-
Notifications
You must be signed in to change notification settings - Fork 5
/
manifest.json
199 lines (199 loc) · 8.1 KB
/
manifest.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"name": "smslink",
"vendor": "vtex",
"version": "0.3.0",
"title": "SMSLink",
"description": "This application allows the sending of transactional SMS messages to customers using SMSLink SMS Gateway",
"categories": [],
"dependencies": {
"vtex.styleguide": "9.x"
},
"builders": {
"node": "6.x",
"docs": "0.x",
"messages": "1.x"
},
"scripts": {
"prereleasy": "bash lint.sh"
},
"credentialType": "absolute",
"policies": [
{
"name": "colossus-fire-event"
},
{
"name": "colossus-write-logs"
},
{
"name": "outbound-access",
"attrs": {
"host": "{{account}}.vtexcommercestable.com.br",
"path": "/api/*"
}
},
{
"name": "outbound-access",
"attrs": {
"host": "portal.vtexcommercestable.com.br",
"path": "/api/*"
}
},
{
"name": "outbound-access",
"attrs": {
"host": "api.vtex.com",
"path": "/dataentities/*"
}
},
{
"name": "outbound-access",
"attrs": {
"host": "splunk-heavyforwarder-public.vtex.com",
"path": "*"
}
},
{
"name": "OMSViewer"
},
{
"name": "ListOrders"
},
{
"name": "outbound-access",
"attrs": {
"host": "secure.smslink.ro",
"path": "/*"
}
}
],
"settingsSchema": {
"title": "VTEX SMSLink",
"type": "object",
"properties": {
"enableSandbox": {
"title": "Enable Test Mode",
"type": "boolean",
"default": false
},
"connectionID": {
"title": "Connection ID",
"type": "string",
"description": "Connection ID key"
},
"password": {
"title": "Password",
"type": "string",
"description": "Connection password"
},
"allowSendOrderReceivedSMS": {
"title": "Send Order received SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent on receiving the Order"
},
"orderReceivedText": {
"title": "Order received SMS message",
"type": "string",
"default": "We received your order {order_id}",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"description": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
},
"allowPaymentAuthorizedSMS": {
"title": "Send Online payment authorized SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent on receiving the Order Payment confirmation"
},
"onlinePaymentAuthorizedText": {
"title": "Online payment Authorized SMS message",
"type": "string",
"default": "Order {order_id} payment authorized",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"description": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
},
"allowPaymentErrorSMS": {
"title": "Send Online payment error SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent on Payment failure"
},
"onlinePaymentErrorText": {
"title": "Online payment error SMS message",
"type": "string",
"default": "Order {order_id} payment error",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"description": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
},
"allowCancelledOrderSMS": {
"title": "Send Order cancelled SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent on cancelling an Order"
},
"orderCancelledText": {
"title": "Order cancelled SMS message",
"type": "string",
"default": "Order {order_id} cancelled",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"description": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
},
"allowSendReturnRequestSMS": {
"title": "Send Return request SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent when a Return request is received."
},
"sendReturnRequestText": {
"title": "Return request received SMS message",
"type": "string",
"default": "New return request {request_id} received",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"decription": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
},
"allowSendReturnedParcelReceivedSMS": {
"title": "Send Returned parcel received by store SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent when a Return parcel is received."
},
"sendReturnedParcelReceivedText": {
"title": "Send Returned parcel received by store SMS message",
"type": "string",
"default": "Returned parcel {request_id} received by store",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"decription": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
},
"allowSendReturnRequestFinalizedSMS": {
"title": "Return request finalized SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent when a Return request is finalized."
},
"sendReturnRequestFinalizedText": {
"title": "Return request finalized SMS message",
"type": "string",
"default": "Return request {request_id} finalized",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"decription": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
},
"allowSendReturnRequestDeniedSMS": {
"title": "Return request denied SMS",
"type": "boolean",
"default": true,
"description": "If active a SMS will be sent when a Return request is denied."
},
"sendReturnRequestDeniedText": {
"title": "Return request denied SMS message",
"type": "string",
"default": "Return request {request_id} denied",
"pattern": "[a-zA-Z0-9 \\!\\@\\#\\$\\%\\&\\*\\(\\)\\_\\+\\-\\=\\;\\:\\,\\.\\<\\>\\/\\?\\[\\]\\{\\}\\|\\^\\~\\\\\"\\'\\`\\{\\}\\\r\\\n\\\t]$",
"decription": "The <message> string can only contain: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%&*()_+--+=;:,.<>/?[]{}|^~\\\"'` and \r (carriage return), \n (line feed), \t (tab)."
}
},
"required": [
"connectionID",
"password"
]
},
"$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema"
}