@simitgroup/simpleapp-generator 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/framework.d.ts.map +1 -1
- package/dist/framework.js +3 -2
- package/dist/framework.js.map +1 -1
- package/dist/generate.js +5 -2
- package/dist/generate.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/framework.ts +3 -2
- package/src/generate.ts +7 -3
- package/src/index.ts +1 -1
- package/templates/basic/nest/controller.ts.eta +19 -17
- package/templates/basic/nest/service.ts.eta +39 -2
- package/templates/basic/nuxt/pages.form.vue.eta +117 -84
- package/templates/basic/nuxt/simpleapp.generate.client.ts.eta +7 -4
- package/templates/nest/.env._eta +7 -1
- package/templates/nest/remoteapi/cloudapi.yaml.eta +768 -0
- package/templates/nest/src/app.module.ts.eta +2 -2
- package/templates/nest/src/simpleapp/generate/processors/simpleapp.processor.ts.eta +0 -19
- package/templates/nest/src/simpleapp/services/autoinc.service.ts.eta +1 -1
- package/templates/nest/src/simpleapp/services/branch.service.ts.eta +1 -1
- package/templates/nest/src/simpleapp/services/docno.service.ts.eta +1 -1
- package/templates/nest/src/simpleapp/services/org.service.ts.eta +1 -1
- package/templates/nest/src/simpleapp/services/perm.service.ts.eta +1 -1
- package/templates/nest/src/simpleapp/services/tenant.service.ts.eta +1 -1
- package/templates/nest/src/simpleapp/simpleapp.module.ts.eta +6 -3
- package/templates/nest/src/simpleapp/workflow/appDelegate.ts.eta +194 -0
- package/templates/nest/src/simpleapp/workflow/bpmn/suspendcustomer.bpmn.eta +53 -0
- package/templates/nest/src/simpleapp/workflow/configuration.ts.eta +46 -0
- package/templates/nest/src/simpleapp/workflow/delegates/customer.ts._eta +8 -0
- package/templates/nest/src/simpleapp/workflow/delegates/hello.ts._eta +5 -0
- package/templates/nest/src/simpleapp/workflow/delegates/index.ts._eta +5 -0
- package/templates/nest/src/simpleapp/workflow/delegates/invoice.delegates.ts._eta +9 -0
- package/templates/nest/src/simpleapp/workflow/delegates/usertask.ts._eta +3 -0
- package/templates/nest/src/simpleapp/workflow/formschema/SimpleApproveReject.ts.eta +8 -0
- package/templates/nest/src/simpleapp/workflow/formschema/index.ts.eta +1 -0
- package/templates/nest/src/simpleapp/workflow/workflow.apischema.ts.eta +135 -0
- package/templates/nest/src/simpleapp/workflow/workflow.controller.ts.eta +407 -0
- package/templates/nest/src/simpleapp/workflow/workflow.service.ts.eta +430 -0
- package/templates/nest/src/simpleapp/workflow/workflow.type.ts.eta +56 -0
- package/templates/nuxt/assets/primevue/passthrough.ts._eta +2 -1
- package/templates/nuxt/components/event/EventDecision.vue.eta +1 -1
- package/templates/nuxt/components/event/EventNotification.vue.eta +1 -1
- package/templates/nuxt/components/header/HeaderBar.vue.eta +3 -1
- package/templates/nuxt/components/header/button/task/HeaderButtonTaskItem.vue.eta +21 -0
- package/templates/nuxt/components/header/button/task/HeaderButtonTaskList.vue.eta +126 -0
- package/templates/nuxt/components/simpleApp/SimpleAppJsonSchemaForm.vue.eta +133 -0
- package/templates/nuxt/composables/getOpenApi.generate.ts.eta +27 -8
- package/templates/nuxt/composables/workflow.generate.ts.eta +16 -0
- package/templates/nuxt/lang/df.ts.eta +2 -0
- package/templates/nuxt/pages/[xorg]/index.vue._eta +5 -3
- package/templates/nuxt/types/index.ts.eta +2 -1
- package/templates/nuxt/types/schema.ts.eta +1 -0
- package/templates/nuxt/types/workflow.ts.eta +20 -0
- package/templates/project/jsonschemas/customer.json._eta +13 -9
- package/templates/project/jsonschemas/invoice.json._eta +10 -6
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,768 @@
|
|
|
1
|
+
---
|
|
2
|
+
openapi: 3.0.3
|
|
3
|
+
info:
|
|
4
|
+
title: Cloud API
|
|
5
|
+
description: This is a cloud API
|
|
6
|
+
version: 0.9.3
|
|
7
|
+
servers:
|
|
8
|
+
- url: /
|
|
9
|
+
security:
|
|
10
|
+
- simbizoauth: []
|
|
11
|
+
- xorg: []
|
|
12
|
+
paths:
|
|
13
|
+
/cloudapi/avatar:
|
|
14
|
+
post:
|
|
15
|
+
tags:
|
|
16
|
+
- Avatar Resource
|
|
17
|
+
description: "Upload avatar with email and base64 image (png), size auto scale\
|
|
18
|
+
\ down"
|
|
19
|
+
requestBody:
|
|
20
|
+
content:
|
|
21
|
+
application/json:
|
|
22
|
+
schema:
|
|
23
|
+
type: string
|
|
24
|
+
responses:
|
|
25
|
+
"200":
|
|
26
|
+
description: OK
|
|
27
|
+
/cloudapi/avatar/{emailmd5hash}:
|
|
28
|
+
get:
|
|
29
|
+
tags:
|
|
30
|
+
- Avatar Resource
|
|
31
|
+
description: "Get avatar image from storage, if not exists try get from gravatar"
|
|
32
|
+
parameters:
|
|
33
|
+
- name: emailmd5hash
|
|
34
|
+
in: path
|
|
35
|
+
description: The email MD5 hash of the user
|
|
36
|
+
required: true
|
|
37
|
+
schema:
|
|
38
|
+
default: 3acc837f898bdaa338b7cd7a9ab6dd5b
|
|
39
|
+
type: string
|
|
40
|
+
- name: size
|
|
41
|
+
in: query
|
|
42
|
+
schema:
|
|
43
|
+
format: int32
|
|
44
|
+
default: 60
|
|
45
|
+
type: integer
|
|
46
|
+
responses:
|
|
47
|
+
"200":
|
|
48
|
+
description: OK
|
|
49
|
+
/cloudapi/email:
|
|
50
|
+
post:
|
|
51
|
+
tags:
|
|
52
|
+
- Email Resource
|
|
53
|
+
description: "API for send email, default using mailgun. Support mailgun template"
|
|
54
|
+
requestBody:
|
|
55
|
+
content:
|
|
56
|
+
application/json:
|
|
57
|
+
schema:
|
|
58
|
+
$ref: '#/components/schemas/EmailApiModel'
|
|
59
|
+
responses:
|
|
60
|
+
"200":
|
|
61
|
+
description: OK
|
|
62
|
+
/cloudapi/hotvalue/invitation/{key}:
|
|
63
|
+
post:
|
|
64
|
+
tags:
|
|
65
|
+
- Hotvalue Resource
|
|
66
|
+
description: "Create or replace and invitation hotvalue, trigger kafka and pusher\
|
|
67
|
+
\ channel=invitation and key=[tenant_id]{key}"
|
|
68
|
+
parameters:
|
|
69
|
+
- name: key
|
|
70
|
+
in: path
|
|
71
|
+
description: Identity of the value. Isolated by tenant
|
|
72
|
+
required: true
|
|
73
|
+
schema:
|
|
74
|
+
type: string
|
|
75
|
+
example: invitationvalue1
|
|
76
|
+
requestBody:
|
|
77
|
+
content:
|
|
78
|
+
application/json:
|
|
79
|
+
schema:
|
|
80
|
+
$ref: '#/components/schemas/HotvalueInvitation'
|
|
81
|
+
responses:
|
|
82
|
+
"200":
|
|
83
|
+
description: OK
|
|
84
|
+
/cloudapi/hotvalue/json/{key}:
|
|
85
|
+
post:
|
|
86
|
+
tags:
|
|
87
|
+
- Hotvalue Resource
|
|
88
|
+
description: "Create or replace and text hotvalue, trigger kafka and pusher\
|
|
89
|
+
\ channel=json and key=[tenant_id]{key}"
|
|
90
|
+
parameters:
|
|
91
|
+
- name: key
|
|
92
|
+
in: path
|
|
93
|
+
description: Identity of the value. Isolated by tenant
|
|
94
|
+
required: true
|
|
95
|
+
schema:
|
|
96
|
+
type: string
|
|
97
|
+
example: jsonvalue1
|
|
98
|
+
requestBody:
|
|
99
|
+
content:
|
|
100
|
+
application/json:
|
|
101
|
+
schema:
|
|
102
|
+
type: object
|
|
103
|
+
additionalProperties:
|
|
104
|
+
type: object
|
|
105
|
+
responses:
|
|
106
|
+
"200":
|
|
107
|
+
description: OK
|
|
108
|
+
/cloudapi/hotvalue/setupcompany/{key}:
|
|
109
|
+
post:
|
|
110
|
+
tags:
|
|
111
|
+
- Hotvalue Resource
|
|
112
|
+
description: "Create or replace and setupcompany hotvalue, trigger kafka and\
|
|
113
|
+
\ pusher channel=setupcompany and key=[tenant_id]{key}"
|
|
114
|
+
parameters:
|
|
115
|
+
- name: key
|
|
116
|
+
in: path
|
|
117
|
+
description: Identity of the value. Isolated by tenant
|
|
118
|
+
required: true
|
|
119
|
+
schema:
|
|
120
|
+
type: string
|
|
121
|
+
example: setupcompanyvalue1
|
|
122
|
+
requestBody:
|
|
123
|
+
content:
|
|
124
|
+
application/json:
|
|
125
|
+
schema:
|
|
126
|
+
$ref: '#/components/schemas/HotvalueSetupCompany'
|
|
127
|
+
responses:
|
|
128
|
+
"200":
|
|
129
|
+
description: OK
|
|
130
|
+
/cloudapi/hotvalue/text/{key}:
|
|
131
|
+
post:
|
|
132
|
+
tags:
|
|
133
|
+
- Hotvalue Resource
|
|
134
|
+
description: "Create or replace and text hotvalue, trigger kafka and pusher\
|
|
135
|
+
\ channel=text and key=[tenant_id]{key}"
|
|
136
|
+
parameters:
|
|
137
|
+
- name: key
|
|
138
|
+
in: path
|
|
139
|
+
description: Identity of the value. Isolated by tenant
|
|
140
|
+
required: true
|
|
141
|
+
schema:
|
|
142
|
+
type: string
|
|
143
|
+
example: textvalue1
|
|
144
|
+
requestBody:
|
|
145
|
+
content:
|
|
146
|
+
application/json:
|
|
147
|
+
schema:
|
|
148
|
+
type: string
|
|
149
|
+
responses:
|
|
150
|
+
"200":
|
|
151
|
+
description: OK
|
|
152
|
+
/cloudapi/hotvalue/{channel}:
|
|
153
|
+
get:
|
|
154
|
+
tags:
|
|
155
|
+
- Hotvalue Resource
|
|
156
|
+
parameters:
|
|
157
|
+
- name: channel
|
|
158
|
+
in: path
|
|
159
|
+
description: "hotvalue channel, supported value is text/json/invitation"
|
|
160
|
+
required: true
|
|
161
|
+
schema:
|
|
162
|
+
type: string
|
|
163
|
+
example: text
|
|
164
|
+
responses:
|
|
165
|
+
"200":
|
|
166
|
+
description: OK
|
|
167
|
+
/cloudapi/hotvalue/{channel}/{key}:
|
|
168
|
+
get:
|
|
169
|
+
tags:
|
|
170
|
+
- Hotvalue Resource
|
|
171
|
+
description: "retrieve value of /{channel}/key, it isolated by tenant_id "
|
|
172
|
+
parameters:
|
|
173
|
+
- name: channel
|
|
174
|
+
in: path
|
|
175
|
+
description: "hotvalue channel, supported value is text/json/invitation"
|
|
176
|
+
required: true
|
|
177
|
+
schema:
|
|
178
|
+
type: string
|
|
179
|
+
example: text
|
|
180
|
+
- name: key
|
|
181
|
+
in: path
|
|
182
|
+
description: Identity of the value. Isolated by tenant
|
|
183
|
+
required: true
|
|
184
|
+
schema:
|
|
185
|
+
type: string
|
|
186
|
+
example: value1
|
|
187
|
+
responses:
|
|
188
|
+
"200":
|
|
189
|
+
description: OK
|
|
190
|
+
delete:
|
|
191
|
+
tags:
|
|
192
|
+
- Hotvalue Resource
|
|
193
|
+
description: "delete value of /{channel}/key, it isolated by tenant_id"
|
|
194
|
+
parameters:
|
|
195
|
+
- name: channel
|
|
196
|
+
in: path
|
|
197
|
+
description: "hotvalue channel, supported value is text/json/invitation"
|
|
198
|
+
required: true
|
|
199
|
+
schema:
|
|
200
|
+
type: string
|
|
201
|
+
example: text
|
|
202
|
+
- name: key
|
|
203
|
+
in: path
|
|
204
|
+
description: Identity of the value. Isolated by tenant
|
|
205
|
+
required: true
|
|
206
|
+
schema:
|
|
207
|
+
type: string
|
|
208
|
+
example: value1
|
|
209
|
+
responses:
|
|
210
|
+
"200":
|
|
211
|
+
description: OK
|
|
212
|
+
/cloudapi/notification:
|
|
213
|
+
post:
|
|
214
|
+
tags:
|
|
215
|
+
- Notification Resource
|
|
216
|
+
description: send firebase notification to mobile apps
|
|
217
|
+
requestBody:
|
|
218
|
+
content:
|
|
219
|
+
application/json:
|
|
220
|
+
schema:
|
|
221
|
+
$ref: '#/components/schemas/NotificationApiModel'
|
|
222
|
+
responses:
|
|
223
|
+
"200":
|
|
224
|
+
description: OK
|
|
225
|
+
/cloudapi/sms:
|
|
226
|
+
post:
|
|
227
|
+
tags:
|
|
228
|
+
- SMS Resource
|
|
229
|
+
description: "API for send SMS into mobile device, each SMS come with cost.\
|
|
230
|
+
\ Only support silverstreet at the moment"
|
|
231
|
+
requestBody:
|
|
232
|
+
content:
|
|
233
|
+
application/json:
|
|
234
|
+
schema:
|
|
235
|
+
$ref: '#/components/schemas/SMSApiModel'
|
|
236
|
+
responses:
|
|
237
|
+
"200":
|
|
238
|
+
description: OK
|
|
239
|
+
/cloudapi/storage/{bucketname}:
|
|
240
|
+
get:
|
|
241
|
+
tags:
|
|
242
|
+
- Storage Resource
|
|
243
|
+
parameters:
|
|
244
|
+
- name: bucketname
|
|
245
|
+
in: path
|
|
246
|
+
required: true
|
|
247
|
+
schema:
|
|
248
|
+
default: s3-bucket-name
|
|
249
|
+
type: string
|
|
250
|
+
responses:
|
|
251
|
+
"200":
|
|
252
|
+
description: OK
|
|
253
|
+
post:
|
|
254
|
+
tags:
|
|
255
|
+
- Storage Resource
|
|
256
|
+
description: "Accept multi part file upload using http form post, return json\
|
|
257
|
+
\ result"
|
|
258
|
+
parameters:
|
|
259
|
+
- name: bucketname
|
|
260
|
+
in: path
|
|
261
|
+
required: true
|
|
262
|
+
schema:
|
|
263
|
+
default: s3-bucket-name
|
|
264
|
+
type: string
|
|
265
|
+
requestBody:
|
|
266
|
+
content:
|
|
267
|
+
multipart/form-data:
|
|
268
|
+
schema:
|
|
269
|
+
type: object
|
|
270
|
+
properties:
|
|
271
|
+
file:
|
|
272
|
+
type: array
|
|
273
|
+
items:
|
|
274
|
+
$ref: '#/components/schemas/FileUpload'
|
|
275
|
+
responses:
|
|
276
|
+
"200":
|
|
277
|
+
description: OK
|
|
278
|
+
/cloudapi/storage/{bucketname}/{key}:
|
|
279
|
+
get:
|
|
280
|
+
tags:
|
|
281
|
+
- Storage Resource
|
|
282
|
+
parameters:
|
|
283
|
+
- name: bucketname
|
|
284
|
+
in: path
|
|
285
|
+
required: true
|
|
286
|
+
schema:
|
|
287
|
+
default: s3-bucket-name
|
|
288
|
+
type: string
|
|
289
|
+
- name: key
|
|
290
|
+
in: path
|
|
291
|
+
required: true
|
|
292
|
+
schema:
|
|
293
|
+
type: string
|
|
294
|
+
responses:
|
|
295
|
+
"200":
|
|
296
|
+
description: OK
|
|
297
|
+
/cloudapi/tester:
|
|
298
|
+
get:
|
|
299
|
+
tags:
|
|
300
|
+
- Tester Resource
|
|
301
|
+
responses:
|
|
302
|
+
"200":
|
|
303
|
+
description: OK
|
|
304
|
+
content:
|
|
305
|
+
text/html:
|
|
306
|
+
schema:
|
|
307
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
308
|
+
/cloudapi/tester/avatar/{emailmd5hash}:
|
|
309
|
+
get:
|
|
310
|
+
tags:
|
|
311
|
+
- Tester Resource
|
|
312
|
+
parameters:
|
|
313
|
+
- name: emailmd5hash
|
|
314
|
+
in: path
|
|
315
|
+
required: true
|
|
316
|
+
schema:
|
|
317
|
+
type: string
|
|
318
|
+
- name: size
|
|
319
|
+
in: query
|
|
320
|
+
schema:
|
|
321
|
+
format: int32
|
|
322
|
+
default: 60
|
|
323
|
+
type: integer
|
|
324
|
+
responses:
|
|
325
|
+
"200":
|
|
326
|
+
description: OK
|
|
327
|
+
content:
|
|
328
|
+
application/json:
|
|
329
|
+
schema:
|
|
330
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
331
|
+
/cloudapi/tester/email:
|
|
332
|
+
get:
|
|
333
|
+
tags:
|
|
334
|
+
- Tester Resource
|
|
335
|
+
responses:
|
|
336
|
+
"200":
|
|
337
|
+
description: OK
|
|
338
|
+
content:
|
|
339
|
+
application/json:
|
|
340
|
+
schema:
|
|
341
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
342
|
+
/cloudapi/tester/hotvalue:
|
|
343
|
+
get:
|
|
344
|
+
tags:
|
|
345
|
+
- Tester Resource
|
|
346
|
+
description: Prepare html page for monitor hot value
|
|
347
|
+
responses:
|
|
348
|
+
"200":
|
|
349
|
+
description: OK
|
|
350
|
+
content:
|
|
351
|
+
text/html:
|
|
352
|
+
schema:
|
|
353
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
354
|
+
/cloudapi/tester/notification:
|
|
355
|
+
get:
|
|
356
|
+
tags:
|
|
357
|
+
- Tester Resource
|
|
358
|
+
responses:
|
|
359
|
+
"200":
|
|
360
|
+
description: OK
|
|
361
|
+
content:
|
|
362
|
+
application/json:
|
|
363
|
+
schema:
|
|
364
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
365
|
+
/cloudapi/tester/sms:
|
|
366
|
+
get:
|
|
367
|
+
tags:
|
|
368
|
+
- Tester Resource
|
|
369
|
+
responses:
|
|
370
|
+
"200":
|
|
371
|
+
description: OK
|
|
372
|
+
content:
|
|
373
|
+
application/json:
|
|
374
|
+
schema:
|
|
375
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
376
|
+
/cloudapi/tester/storage:
|
|
377
|
+
get:
|
|
378
|
+
tags:
|
|
379
|
+
- Tester Resource
|
|
380
|
+
responses:
|
|
381
|
+
"200":
|
|
382
|
+
description: OK
|
|
383
|
+
content:
|
|
384
|
+
application/json:
|
|
385
|
+
schema:
|
|
386
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
387
|
+
/cloudapi/tester/tmpfile:
|
|
388
|
+
get:
|
|
389
|
+
tags:
|
|
390
|
+
- Tester Resource
|
|
391
|
+
responses:
|
|
392
|
+
"200":
|
|
393
|
+
description: OK
|
|
394
|
+
content:
|
|
395
|
+
application/json:
|
|
396
|
+
schema:
|
|
397
|
+
$ref: '#/components/schemas/TemplateInstance'
|
|
398
|
+
/cloudapi/tmpfile:
|
|
399
|
+
post:
|
|
400
|
+
tags:
|
|
401
|
+
- Tmpfile Resource
|
|
402
|
+
description: "Accept multi part file upload using http form post, return json\
|
|
403
|
+
\ result"
|
|
404
|
+
requestBody:
|
|
405
|
+
content:
|
|
406
|
+
multipart/form-data:
|
|
407
|
+
schema:
|
|
408
|
+
type: object
|
|
409
|
+
properties:
|
|
410
|
+
file:
|
|
411
|
+
type: array
|
|
412
|
+
items:
|
|
413
|
+
$ref: '#/components/schemas/FileUpload'
|
|
414
|
+
responses:
|
|
415
|
+
"200":
|
|
416
|
+
description: OK
|
|
417
|
+
/cloudapi/tmpfile/{key}:
|
|
418
|
+
get:
|
|
419
|
+
tags:
|
|
420
|
+
- Tmpfile Resource
|
|
421
|
+
parameters:
|
|
422
|
+
- name: key
|
|
423
|
+
in: path
|
|
424
|
+
required: true
|
|
425
|
+
schema:
|
|
426
|
+
type: string
|
|
427
|
+
responses:
|
|
428
|
+
"200":
|
|
429
|
+
description: OK
|
|
430
|
+
components:
|
|
431
|
+
schemas:
|
|
432
|
+
Charset:
|
|
433
|
+
type: object
|
|
434
|
+
properties:
|
|
435
|
+
name:
|
|
436
|
+
type: string
|
|
437
|
+
aliases:
|
|
438
|
+
type: array
|
|
439
|
+
items:
|
|
440
|
+
type: string
|
|
441
|
+
aliasSet:
|
|
442
|
+
uniqueItems: true
|
|
443
|
+
type: array
|
|
444
|
+
items:
|
|
445
|
+
type: string
|
|
446
|
+
registered:
|
|
447
|
+
type: boolean
|
|
448
|
+
EmailApiModel:
|
|
449
|
+
description: Model class for a process that accepts multiple file uploads
|
|
450
|
+
required:
|
|
451
|
+
- subject
|
|
452
|
+
- to
|
|
453
|
+
type: object
|
|
454
|
+
properties:
|
|
455
|
+
subject:
|
|
456
|
+
description: apiuser which is executed by which user
|
|
457
|
+
minLength: 3
|
|
458
|
+
type: string
|
|
459
|
+
example: user1
|
|
460
|
+
to:
|
|
461
|
+
format: email
|
|
462
|
+
description: Email address
|
|
463
|
+
minItems: 1
|
|
464
|
+
type: array
|
|
465
|
+
items:
|
|
466
|
+
type: string
|
|
467
|
+
example:
|
|
468
|
+
- tester@simitgroup.com
|
|
469
|
+
cc:
|
|
470
|
+
format: email
|
|
471
|
+
description: Cc to Emails
|
|
472
|
+
type: array
|
|
473
|
+
items:
|
|
474
|
+
type: string
|
|
475
|
+
example: []
|
|
476
|
+
bcc:
|
|
477
|
+
format: email
|
|
478
|
+
description: Bcc to Emails
|
|
479
|
+
type: array
|
|
480
|
+
items:
|
|
481
|
+
type: string
|
|
482
|
+
example: []
|
|
483
|
+
ishtml:
|
|
484
|
+
description: Decide email body is html
|
|
485
|
+
type: boolean
|
|
486
|
+
example: false
|
|
487
|
+
body:
|
|
488
|
+
description: Email body example
|
|
489
|
+
type: string
|
|
490
|
+
example: example of email body
|
|
491
|
+
template:
|
|
492
|
+
format: ""
|
|
493
|
+
description: Mailgun template name
|
|
494
|
+
type: string
|
|
495
|
+
example: testing
|
|
496
|
+
template_variables:
|
|
497
|
+
format: ""
|
|
498
|
+
description: variables use in mailgun email template
|
|
499
|
+
type: object
|
|
500
|
+
additionalProperties:
|
|
501
|
+
type: string
|
|
502
|
+
example: []
|
|
503
|
+
attachments:
|
|
504
|
+
format: binary
|
|
505
|
+
description: List of file attachments
|
|
506
|
+
type: array
|
|
507
|
+
items:
|
|
508
|
+
$ref: '#/components/schemas/TmpfileModel'
|
|
509
|
+
Expression:
|
|
510
|
+
type: object
|
|
511
|
+
properties:
|
|
512
|
+
namespace:
|
|
513
|
+
type: string
|
|
514
|
+
parts:
|
|
515
|
+
type: array
|
|
516
|
+
items:
|
|
517
|
+
$ref: '#/components/schemas/Part'
|
|
518
|
+
literal:
|
|
519
|
+
type: boolean
|
|
520
|
+
literalValue:
|
|
521
|
+
type: object
|
|
522
|
+
origin:
|
|
523
|
+
$ref: '#/components/schemas/Origin'
|
|
524
|
+
generatedId:
|
|
525
|
+
format: int32
|
|
526
|
+
type: integer
|
|
527
|
+
FileUpload:
|
|
528
|
+
type: object
|
|
529
|
+
HotvalueInvitation:
|
|
530
|
+
type: object
|
|
531
|
+
properties:
|
|
532
|
+
roleArr:
|
|
533
|
+
type: array
|
|
534
|
+
items:
|
|
535
|
+
type: string
|
|
536
|
+
accessArr:
|
|
537
|
+
type: array
|
|
538
|
+
items:
|
|
539
|
+
type: string
|
|
540
|
+
name:
|
|
541
|
+
type: string
|
|
542
|
+
email:
|
|
543
|
+
type: string
|
|
544
|
+
HotvalueSetupCompany:
|
|
545
|
+
type: object
|
|
546
|
+
properties:
|
|
547
|
+
agreement:
|
|
548
|
+
type: boolean
|
|
549
|
+
companyname:
|
|
550
|
+
type: string
|
|
551
|
+
generatesample:
|
|
552
|
+
type: boolean
|
|
553
|
+
industry:
|
|
554
|
+
type: string
|
|
555
|
+
telephone:
|
|
556
|
+
type: string
|
|
557
|
+
Locale:
|
|
558
|
+
type: object
|
|
559
|
+
properties:
|
|
560
|
+
language:
|
|
561
|
+
type: string
|
|
562
|
+
script:
|
|
563
|
+
type: string
|
|
564
|
+
country:
|
|
565
|
+
type: string
|
|
566
|
+
variant:
|
|
567
|
+
type: string
|
|
568
|
+
extensionKeys:
|
|
569
|
+
uniqueItems: true
|
|
570
|
+
type: array
|
|
571
|
+
items:
|
|
572
|
+
format: byte
|
|
573
|
+
type: string
|
|
574
|
+
unicodeLocaleAttributes:
|
|
575
|
+
uniqueItems: true
|
|
576
|
+
type: array
|
|
577
|
+
items:
|
|
578
|
+
type: string
|
|
579
|
+
unicodeLocaleKeys:
|
|
580
|
+
uniqueItems: true
|
|
581
|
+
type: array
|
|
582
|
+
items:
|
|
583
|
+
type: string
|
|
584
|
+
iSO3Language:
|
|
585
|
+
type: string
|
|
586
|
+
iSO3Country:
|
|
587
|
+
type: string
|
|
588
|
+
displayLanguage:
|
|
589
|
+
type: string
|
|
590
|
+
displayScript:
|
|
591
|
+
type: string
|
|
592
|
+
displayCountry:
|
|
593
|
+
type: string
|
|
594
|
+
displayVariant:
|
|
595
|
+
type: string
|
|
596
|
+
displayName:
|
|
597
|
+
type: string
|
|
598
|
+
NotificationApiModel:
|
|
599
|
+
required:
|
|
600
|
+
- tokens
|
|
601
|
+
- body
|
|
602
|
+
type: object
|
|
603
|
+
properties:
|
|
604
|
+
priority:
|
|
605
|
+
description: "Priority status, normal or high"
|
|
606
|
+
type: string
|
|
607
|
+
example: normal
|
|
608
|
+
title:
|
|
609
|
+
description: Push notification title
|
|
610
|
+
type: string
|
|
611
|
+
example: Thanks for using SIMBIZ!
|
|
612
|
+
imageurl:
|
|
613
|
+
description: Image url to show
|
|
614
|
+
type: string
|
|
615
|
+
example: http://wwww.myimage.com/image1.jpg
|
|
616
|
+
sound:
|
|
617
|
+
description: Notification sound
|
|
618
|
+
type: string
|
|
619
|
+
example: default
|
|
620
|
+
data:
|
|
621
|
+
description: Hidden data for mobile apps
|
|
622
|
+
type: object
|
|
623
|
+
additionalProperties:
|
|
624
|
+
type: string
|
|
625
|
+
example: {}
|
|
626
|
+
tokens:
|
|
627
|
+
description: Firebase client tokens
|
|
628
|
+
minItems: 1
|
|
629
|
+
type: array
|
|
630
|
+
items:
|
|
631
|
+
type: string
|
|
632
|
+
example:
|
|
633
|
+
- e8zE9LzSnkYpmatL:APQt...
|
|
634
|
+
body:
|
|
635
|
+
description: Push notification body
|
|
636
|
+
type: string
|
|
637
|
+
example: this is body msg
|
|
638
|
+
Origin:
|
|
639
|
+
type: object
|
|
640
|
+
properties:
|
|
641
|
+
line:
|
|
642
|
+
format: int32
|
|
643
|
+
type: integer
|
|
644
|
+
lineCharacterStart:
|
|
645
|
+
format: int32
|
|
646
|
+
type: integer
|
|
647
|
+
lineCharacterEnd:
|
|
648
|
+
format: int32
|
|
649
|
+
type: integer
|
|
650
|
+
templateId:
|
|
651
|
+
type: string
|
|
652
|
+
templateGeneratedId:
|
|
653
|
+
type: string
|
|
654
|
+
variant:
|
|
655
|
+
type: object
|
|
656
|
+
allOf:
|
|
657
|
+
- $ref: '#/components/schemas/Variant'
|
|
658
|
+
nullable: true
|
|
659
|
+
ParameterDeclaration:
|
|
660
|
+
type: object
|
|
661
|
+
properties:
|
|
662
|
+
typeInfo:
|
|
663
|
+
type: string
|
|
664
|
+
key:
|
|
665
|
+
type: string
|
|
666
|
+
defaultValue:
|
|
667
|
+
$ref: '#/components/schemas/Expression'
|
|
668
|
+
origin:
|
|
669
|
+
$ref: '#/components/schemas/Origin'
|
|
670
|
+
Part:
|
|
671
|
+
type: object
|
|
672
|
+
properties:
|
|
673
|
+
name:
|
|
674
|
+
type: string
|
|
675
|
+
typeInfo:
|
|
676
|
+
type: string
|
|
677
|
+
virtualMethod:
|
|
678
|
+
type: boolean
|
|
679
|
+
SMSApiModel:
|
|
680
|
+
required:
|
|
681
|
+
- recipients
|
|
682
|
+
- body
|
|
683
|
+
- isascii
|
|
684
|
+
type: object
|
|
685
|
+
properties:
|
|
686
|
+
recipients:
|
|
687
|
+
format: mobile
|
|
688
|
+
description: Telephone number
|
|
689
|
+
minItems: 1
|
|
690
|
+
type: array
|
|
691
|
+
items:
|
|
692
|
+
type: string
|
|
693
|
+
example:
|
|
694
|
+
- "601987654321"
|
|
695
|
+
body:
|
|
696
|
+
type: string
|
|
697
|
+
isascii:
|
|
698
|
+
type: boolean
|
|
699
|
+
Template:
|
|
700
|
+
type: object
|
|
701
|
+
properties:
|
|
702
|
+
expressions:
|
|
703
|
+
type: array
|
|
704
|
+
items:
|
|
705
|
+
$ref: '#/components/schemas/Expression'
|
|
706
|
+
generatedId:
|
|
707
|
+
type: string
|
|
708
|
+
id:
|
|
709
|
+
type: string
|
|
710
|
+
variant:
|
|
711
|
+
type: object
|
|
712
|
+
allOf:
|
|
713
|
+
- $ref: '#/components/schemas/Variant'
|
|
714
|
+
nullable: true
|
|
715
|
+
parameterDeclarations:
|
|
716
|
+
type: array
|
|
717
|
+
items:
|
|
718
|
+
$ref: '#/components/schemas/ParameterDeclaration'
|
|
719
|
+
fragment:
|
|
720
|
+
type: boolean
|
|
721
|
+
TemplateInstance:
|
|
722
|
+
type: object
|
|
723
|
+
properties:
|
|
724
|
+
timeout:
|
|
725
|
+
format: int64
|
|
726
|
+
type: integer
|
|
727
|
+
template:
|
|
728
|
+
$ref: '#/components/schemas/Template'
|
|
729
|
+
TmpfileModel:
|
|
730
|
+
type: object
|
|
731
|
+
properties:
|
|
732
|
+
filename:
|
|
733
|
+
description: File name
|
|
734
|
+
type: string
|
|
735
|
+
uuid:
|
|
736
|
+
format: uuid
|
|
737
|
+
description: file uuid from uploadtmpfile service
|
|
738
|
+
type: string
|
|
739
|
+
Variant:
|
|
740
|
+
type: object
|
|
741
|
+
properties:
|
|
742
|
+
locale:
|
|
743
|
+
$ref: '#/components/schemas/Locale'
|
|
744
|
+
contentType:
|
|
745
|
+
type: string
|
|
746
|
+
encoding:
|
|
747
|
+
$ref: '#/components/schemas/Charset'
|
|
748
|
+
hashCode:
|
|
749
|
+
format: int32
|
|
750
|
+
type: integer
|
|
751
|
+
mediaType:
|
|
752
|
+
type: string
|
|
753
|
+
charset:
|
|
754
|
+
$ref: '#/components/schemas/Charset'
|
|
755
|
+
securitySchemes:
|
|
756
|
+
simbizoauth:
|
|
757
|
+
type: oauth2
|
|
758
|
+
description: Authentication
|
|
759
|
+
flows:
|
|
760
|
+
implicit:
|
|
761
|
+
authorizationUrl: https://login.simbiz.cloud/auth/realms/simbiz.cloud/protocol/openid-connect/auth
|
|
762
|
+
tokenUrl: https://login.simbiz.cloud/auth/realms/simbiz.cloud/protocol/openid-connect/token/introspect
|
|
763
|
+
refreshUrl: https://login.simbiz.cloud/auth/realms/simbiz.cloud/protocol/openid-connect/token
|
|
764
|
+
xorg:
|
|
765
|
+
type: apiKey
|
|
766
|
+
description: x-org
|
|
767
|
+
name: x-org
|
|
768
|
+
in: header
|