/
component.json
79 lines (79 loc) · 2.35 KB
/
component.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"title": "openHandwerk",
"description": "openHandwerk component for the elastic.io platform",
"docsUrl": "https://openhandwerk.de",
"credentials": {
"fields": {
"email": {
"label": "Your email",
"required": true,
"viewClass": "TextFieldView",
"note": "Use your email registerd in <b>openHandwerk</b>",
"placeholder": "youremail@mail.com"
},
"password": {
"label": "Your password",
"required": true,
"viewClass": "PasswordFieldView",
"note": "Use your password for <b>openHandwerk</b>"
},
"apiBaseUrl": {
"label": "openHandwerk API URL",
"required": true,
"viewClass": "TextFieldView",
"note": "Use the openHandwerk API URL",
"placeholder": "https://api1.openhandwerk.de/v1"
},
"apiKey": {
"label": "openHandwerk API Key",
"required": true,
"viewClass": "TextFieldView",
"note": "Use the openHandwerk API Key got by /login",
"placeholder": "Bearer token"
},
"applicationUid": {
"label": "Application uid",
"required": false,
"viewClass": "TextFieldView",
"note": "Application uid",
"placeholder": "application123456"
},
"schema": {
"label": "Schema",
"required": false,
"viewClass": "TextFieldView",
"note": "Schema from Meta Data Repository",
"placeholder": "address"
},
"domainId": {
"label": "Domain Id",
"required": false,
"viewClass": "TextFieldView",
"note": "Domain Id from Meta Data Repository",
"placeholder": "5d3031a20cbe7c00115c7d8f"
}
}
},
"triggers": {
"getCustomersPolling": {
"main": "./lib/triggers/getCustomersPolling.js",
"title": "Get Customers Polling",
"description": "Get Customers from OpenHandwerk",
"type": "polling",
"metadata": {
"out": "./lib/schemas/getCustomers.out.json"
}
}
},
"actions": {
"createCustomer": {
"main": "./lib/actions/createCustomer.js",
"title": "New customer",
"description": "Create new customer for openhandwerk account",
"metadata": {
"in": "./lib/schemas/createCustomer.in.json",
"out": "./lib/schemas/createCustomer.out.json"
}
}
}
}