-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.config.json
79 lines (79 loc) · 2.28 KB
/
extension.config.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
{
"id": {
"company": "magaya",
"name": "example"
},
"version": "0.0.1",
"minimumMagayaVersion": "11.0.2",
"type": "httpServer",
"license": {},
"install": {
"engine": "node",
"manager": "npm",
"name": "@magaya/extension-example"
},
"launch": {
"engine": "pm2",
"cluster": true,
"main": "./index.js"
},
"interface": {
"title": "Example Extension",
"sections": {
"config" : {
"menuEntries": [{
"category": "Config",
"title": "Background process",
"selection": "single",
"type": "url",
"method": "GET",
"path": "/config-job.html",
"pathType": "cs-relative",
"launch": "internal"
}]
},
"warehouseReceipt": {
"menuEntries": [
{
"category": "Actions",
"title": "Items of a WHR",
"selection": "single",
"type": "url",
"method": "GET",
"path": "/whr/{operation-guid}/items",
"pathType": "cs-relative"
},
{
"category": "Actions",
"title": "Set Custom Field Value",
"selection": "single",
"type": "url",
"method": "GET",
"path": "/custom_field.html?whr={operation-guid}",
"pathType": "cs-relative"
},
{
"category": "Actions",
"title": "See attachments",
"selection": "single",
"type": "url",
"method": "GET",
"path": "/attachments.html?whr={operation-guid}",
"pathType": "cs-relative"
}
]
},
"invoice": {
"menuEntries": [{
"category": "Actions",
"title": "List invoices",
"selection": "none",
"type": "url",
"method": "GET",
"path": "/list-invoices.html",
"pathType": "cs-relative"
}]
}
}
}
}