@epilot/sdk 2.0.0-beta.3 → 2.0.0-beta.4
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/definitions/access-token-runtime.json +1 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-runtime.json +1 -0
- package/definitions/address-suggestions-runtime.json +1 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents-runtime.json +1 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app-runtime.json +1 -0
- package/definitions/app.json +4443 -0
- package/definitions/audit-logs-runtime.json +1 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation-runtime.json +1 -0
- package/definitions/automation.json +4850 -0
- package/definitions/billing-runtime.json +1 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest-runtime.json +1 -0
- package/definitions/blueprint-manifest.json +3376 -0
- package/definitions/consent-runtime.json +1 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal-runtime.json +1 -0
- package/definitions/customer-portal.json +15000 -0
- package/definitions/dashboard-runtime.json +1 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +962 -0
- package/definitions/deduplication-runtime.json +1 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design-runtime.json +1 -0
- package/definitions/design.json +1423 -0
- package/definitions/document-runtime.json +1 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings-runtime.json +1 -0
- package/definitions/email-settings.json +2627 -0
- package/definitions/email-template-runtime.json +1 -0
- package/definitions/email-template.json +1419 -0
- package/definitions/entity-mapping-runtime.json +1 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity-runtime.json +1 -0
- package/definitions/entity.json +10074 -0
- package/definitions/environments-runtime.json +1 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +5845 -0
- package/definitions/event-catalog-runtime.json +1 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file-runtime.json +1 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban-runtime.json +1 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey-runtime.json +1 -0
- package/definitions/journey.json +2341 -0
- package/definitions/kanban-runtime.json +1 -0
- package/definitions/kanban.json +929 -0
- package/definitions/message-runtime.json +1 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering-runtime.json +1 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes-runtime.json +1 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification-runtime.json +1 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization-runtime.json +1 -0
- package/definitions/organization.json +629 -0
- package/definitions/partner-directory-runtime.json +1 -0
- package/definitions/partner-directory.json +1718 -0
- package/definitions/permissions-runtime.json +1 -0
- package/definitions/permissions.json +1480 -0
- package/definitions/pricing-runtime.json +1 -0
- package/definitions/pricing-tier-runtime.json +1 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose-runtime.json +1 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox-runtime.json +1 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission-runtime.json +1 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting-runtime.json +1 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables-runtime.json +1 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user-runtime.json +1 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules-runtime.json +1 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks-runtime.json +1 -0
- package/definitions/webhooks.json +1525 -0
- package/definitions/workflow-definition-runtime.json +1 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow-runtime.json +1 -0
- package/definitions/workflow.json +4106 -0
- package/dist/apis/access-token.cjs +13 -84
- package/dist/apis/access-token.js +11 -82
- package/dist/apis/address-suggestions.cjs +13 -127
- package/dist/apis/address-suggestions.js +11 -125
- package/dist/apis/address.cjs +13 -79
- package/dist/apis/address.js +11 -77
- package/dist/apis/ai-agents.cjs +13 -210
- package/dist/apis/ai-agents.js +11 -208
- package/dist/apis/app.cjs +13 -568
- package/dist/apis/app.js +11 -566
- package/dist/apis/audit-logs.cjs +13 -50
- package/dist/apis/audit-logs.js +11 -48
- package/dist/apis/automation.cjs +13 -277
- package/dist/apis/automation.js +11 -275
- package/dist/apis/billing.cjs +13 -170
- package/dist/apis/billing.js +11 -168
- package/dist/apis/blueprint-manifest.cjs +13 -499
- package/dist/apis/blueprint-manifest.js +11 -497
- package/dist/apis/consent.cjs +13 -79
- package/dist/apis/consent.js +11 -77
- package/dist/apis/customer-portal.cjs +13 -2247
- package/dist/apis/customer-portal.js +11 -2245
- package/dist/apis/dashboard.cjs +13 -79
- package/dist/apis/dashboard.js +11 -77
- package/dist/apis/data-management.cjs +13 -235
- package/dist/apis/data-management.js +11 -233
- package/dist/apis/deduplication.cjs +13 -37
- package/dist/apis/deduplication.js +11 -35
- package/dist/apis/design.cjs +13 -214
- package/dist/apis/design.js +11 -212
- package/dist/apis/document.cjs +13 -73
- package/dist/apis/document.js +11 -71
- package/dist/apis/email-settings.cjs +13 -528
- package/dist/apis/email-settings.js +11 -526
- package/dist/apis/email-template.cjs +13 -117
- package/dist/apis/email-template.js +11 -115
- package/dist/apis/entity-mapping.cjs +13 -210
- package/dist/apis/entity-mapping.js +11 -208
- package/dist/apis/entity.cjs +13 -1595
- package/dist/apis/entity.js +11 -1593
- package/dist/apis/environments.cjs +13 -66
- package/dist/apis/environments.js +11 -64
- package/dist/apis/erp-integration.cjs +13 -581
- package/dist/apis/erp-integration.js +11 -579
- package/dist/apis/event-catalog.cjs +13 -125
- package/dist/apis/event-catalog.js +11 -123
- package/dist/apis/file.cjs +13 -568
- package/dist/apis/file.js +11 -566
- package/dist/apis/iban.cjs +13 -38
- package/dist/apis/iban.js +11 -36
- package/dist/apis/journey.cjs +13 -265
- package/dist/apis/journey.js +11 -263
- package/dist/apis/kanban.cjs +13 -159
- package/dist/apis/kanban.js +11 -157
- package/dist/apis/message.cjs +13 -668
- package/dist/apis/message.js +11 -666
- package/dist/apis/metering.cjs +13 -394
- package/dist/apis/metering.js +11 -392
- package/dist/apis/notes.cjs +13 -214
- package/dist/apis/notes.js +11 -212
- package/dist/apis/notification.cjs +13 -232
- package/dist/apis/notification.js +11 -230
- package/dist/apis/organization.cjs +13 -113
- package/dist/apis/organization.js +11 -111
- package/dist/apis/partner-directory.cjs +13 -277
- package/dist/apis/partner-directory.js +11 -275
- package/dist/apis/permissions.cjs +13 -173
- package/dist/apis/permissions.js +11 -171
- package/dist/apis/pricing-tier.cjs +14 -32
- package/dist/apis/pricing-tier.js +11 -29
- package/dist/apis/pricing.cjs +13 -434
- package/dist/apis/pricing.js +11 -432
- package/dist/apis/purpose.cjs +13 -175
- package/dist/apis/purpose.js +11 -173
- package/dist/apis/sandbox.cjs +13 -95
- package/dist/apis/sandbox.js +11 -93
- package/dist/apis/submission.cjs +13 -50
- package/dist/apis/submission.js +11 -48
- package/dist/apis/targeting.cjs +13 -270
- package/dist/apis/targeting.js +11 -268
- package/dist/apis/template-variables.cjs +13 -154
- package/dist/apis/template-variables.js +11 -152
- package/dist/apis/user.cjs +13 -483
- package/dist/apis/user.js +11 -481
- package/dist/apis/validation-rules.cjs +13 -115
- package/dist/apis/validation-rules.js +11 -113
- package/dist/apis/webhooks.cjs +13 -247
- package/dist/apis/webhooks.js +11 -245
- package/dist/apis/workflow-definition.cjs +13 -337
- package/dist/apis/workflow-definition.js +11 -335
- package/dist/apis/workflow.cjs +13 -397
- package/dist/apis/workflow.js +11 -395
- package/dist/{chunk-D7ICL3AM.cjs → chunk-5LXNSDG2.cjs} +51 -2
- package/dist/{chunk-DGCGLG7G.js → chunk-QMQNMCOC.js} +49 -0
- package/dist/index.cjs +56 -54
- package/dist/index.js +53 -51
- package/package.json +50 -3
|
@@ -3,356 +3,32 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var _chunkD7ICL3AMcjs = require('../chunk-D7ICL3AM.cjs');
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
title: "",
|
|
15
|
-
version: ""
|
|
16
|
-
},
|
|
17
|
-
servers: [
|
|
18
|
-
{
|
|
19
|
-
url: "https://workflows-definition.sls.epilot.io"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
paths: {
|
|
23
|
-
"/v1/workflows/limits/max-allowed": {
|
|
24
|
-
get: {
|
|
25
|
-
operationId: "getMaxAllowedLimit",
|
|
26
|
-
responses: {}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"/v1/workflows/definitions": {
|
|
30
|
-
get: {
|
|
31
|
-
operationId: "getDefinitions",
|
|
32
|
-
responses: {}
|
|
33
|
-
},
|
|
34
|
-
post: {
|
|
35
|
-
operationId: "createDefinition",
|
|
36
|
-
requestBody: {
|
|
37
|
-
required: true,
|
|
38
|
-
content: {
|
|
39
|
-
"application/json": {}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
responses: {}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"/v2/flows/templates": {
|
|
46
|
-
get: {
|
|
47
|
-
operationId: "listFlowTemplates",
|
|
48
|
-
parameters: [
|
|
49
|
-
{
|
|
50
|
-
in: "query",
|
|
51
|
-
name: "trigger_type",
|
|
52
|
-
required: false
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
in: "query",
|
|
56
|
-
name: "trigger_source_id",
|
|
57
|
-
required: false
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
in: "query",
|
|
61
|
-
name: "trigger_schema",
|
|
62
|
-
required: false
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
responses: {}
|
|
66
|
-
},
|
|
67
|
-
post: {
|
|
68
|
-
operationId: "createFlowTemplate",
|
|
69
|
-
requestBody: {
|
|
70
|
-
required: true,
|
|
71
|
-
content: {
|
|
72
|
-
"application/json": {}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
responses: {}
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"/v2/flows/templates:search": {
|
|
79
|
-
post: {
|
|
80
|
-
operationId: "searchFlowTemplates",
|
|
81
|
-
requestBody: {
|
|
82
|
-
required: true,
|
|
83
|
-
content: {
|
|
84
|
-
"application/json": {}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
responses: {}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"/v2/flows/templates/{flowId}": {
|
|
91
|
-
get: {
|
|
92
|
-
operationId: "getFlowTemplate",
|
|
93
|
-
parameters: [
|
|
94
|
-
{
|
|
95
|
-
in: "path",
|
|
96
|
-
name: "flowId",
|
|
97
|
-
required: true
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
responses: {}
|
|
101
|
-
},
|
|
102
|
-
put: {
|
|
103
|
-
operationId: "updateFlowTemplate",
|
|
104
|
-
parameters: [
|
|
105
|
-
{
|
|
106
|
-
in: "path",
|
|
107
|
-
name: "flowId",
|
|
108
|
-
required: true
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
requestBody: {
|
|
112
|
-
required: true,
|
|
113
|
-
content: {
|
|
114
|
-
"application/json": {}
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
responses: {}
|
|
118
|
-
},
|
|
119
|
-
delete: {
|
|
120
|
-
operationId: "deleteFlowTemplate",
|
|
121
|
-
parameters: [
|
|
122
|
-
{
|
|
123
|
-
in: "path",
|
|
124
|
-
name: "flowId",
|
|
125
|
-
required: true
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
responses: {}
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"/v2/flows/templates/{flowId}/duplicate": {
|
|
132
|
-
post: {
|
|
133
|
-
operationId: "duplicateFlowTemplate",
|
|
134
|
-
parameters: [
|
|
135
|
-
{
|
|
136
|
-
in: "path",
|
|
137
|
-
name: "flowId",
|
|
138
|
-
required: true
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
responses: {}
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"/v2/flows/templates/{flowId}/export": {
|
|
145
|
-
get: {
|
|
146
|
-
operationId: "exportFlowTemplate",
|
|
147
|
-
parameters: [
|
|
148
|
-
{
|
|
149
|
-
in: "path",
|
|
150
|
-
name: "flowId",
|
|
151
|
-
required: true
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
responses: {}
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
"/v2/flows/templates/import": {
|
|
158
|
-
post: {
|
|
159
|
-
operationId: "importFlowTemplate",
|
|
160
|
-
requestBody: {
|
|
161
|
-
required: true,
|
|
162
|
-
content: {
|
|
163
|
-
"application/json": {}
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
responses: {}
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"/v1/workflows/definitions/{definitionId}": {
|
|
170
|
-
get: {
|
|
171
|
-
operationId: "getDefinition",
|
|
172
|
-
parameters: [
|
|
173
|
-
{
|
|
174
|
-
in: "path",
|
|
175
|
-
name: "definitionId",
|
|
176
|
-
required: true
|
|
177
|
-
}
|
|
178
|
-
],
|
|
179
|
-
responses: {}
|
|
180
|
-
},
|
|
181
|
-
put: {
|
|
182
|
-
operationId: "updateDefinition",
|
|
183
|
-
parameters: [
|
|
184
|
-
{
|
|
185
|
-
in: "path",
|
|
186
|
-
name: "definitionId",
|
|
187
|
-
required: true
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
requestBody: {
|
|
191
|
-
required: true,
|
|
192
|
-
content: {
|
|
193
|
-
"application/json": {}
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
responses: {}
|
|
197
|
-
},
|
|
198
|
-
delete: {
|
|
199
|
-
operationId: "deleteDefinition",
|
|
200
|
-
parameters: [
|
|
201
|
-
{
|
|
202
|
-
in: "path",
|
|
203
|
-
name: "definitionId",
|
|
204
|
-
required: true
|
|
205
|
-
}
|
|
206
|
-
],
|
|
207
|
-
responses: {}
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"/v1/workflows/closing-reasons": {
|
|
211
|
-
get: {
|
|
212
|
-
operationId: "getAllClosingReasons",
|
|
213
|
-
parameters: [
|
|
214
|
-
{
|
|
215
|
-
in: "query",
|
|
216
|
-
name: "includeInactive",
|
|
217
|
-
required: false
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
responses: {}
|
|
221
|
-
},
|
|
222
|
-
post: {
|
|
223
|
-
operationId: "createClosingReason",
|
|
224
|
-
requestBody: {
|
|
225
|
-
required: true,
|
|
226
|
-
content: {
|
|
227
|
-
"application/json": {}
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
responses: {}
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
"/v2/workflows/closing-reasons/{reasonId}": {
|
|
234
|
-
get: {
|
|
235
|
-
operationId: "getClosingReason",
|
|
236
|
-
parameters: [
|
|
237
|
-
{
|
|
238
|
-
in: "path",
|
|
239
|
-
name: "reasonId",
|
|
240
|
-
required: true
|
|
241
|
-
}
|
|
242
|
-
],
|
|
243
|
-
responses: {}
|
|
244
|
-
},
|
|
245
|
-
patch: {
|
|
246
|
-
operationId: "updateClosingReason",
|
|
247
|
-
parameters: [
|
|
248
|
-
{
|
|
249
|
-
in: "path",
|
|
250
|
-
name: "reasonId",
|
|
251
|
-
required: true
|
|
252
|
-
}
|
|
253
|
-
],
|
|
254
|
-
requestBody: {
|
|
255
|
-
required: true,
|
|
256
|
-
content: {
|
|
257
|
-
"application/json": {}
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
responses: {}
|
|
261
|
-
},
|
|
262
|
-
delete: {
|
|
263
|
-
operationId: "deleteClosingReason",
|
|
264
|
-
parameters: [
|
|
265
|
-
{
|
|
266
|
-
in: "path",
|
|
267
|
-
name: "reasonId",
|
|
268
|
-
required: true
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
responses: {}
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
"/v1/workflows/closing-reasons/{reasonId}": {
|
|
275
|
-
get: {
|
|
276
|
-
deprecated: true,
|
|
277
|
-
operationId: "getClosingReasonV1",
|
|
278
|
-
parameters: [
|
|
279
|
-
{
|
|
280
|
-
in: "path",
|
|
281
|
-
name: "reasonId",
|
|
282
|
-
required: true
|
|
283
|
-
}
|
|
284
|
-
],
|
|
285
|
-
responses: {}
|
|
286
|
-
},
|
|
287
|
-
patch: {
|
|
288
|
-
operationId: "changeReasonStatus",
|
|
289
|
-
parameters: [
|
|
290
|
-
{
|
|
291
|
-
in: "path",
|
|
292
|
-
name: "reasonId",
|
|
293
|
-
required: true
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
requestBody: {
|
|
297
|
-
content: {
|
|
298
|
-
"application/json": {}
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
responses: {}
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"/v1/workflows/definitions/{definitionId}/closing-reasons": {
|
|
305
|
-
get: {
|
|
306
|
-
operationId: "getWorkflowClosingReasons",
|
|
307
|
-
parameters: [
|
|
308
|
-
{
|
|
309
|
-
in: "path",
|
|
310
|
-
name: "definitionId",
|
|
311
|
-
required: true
|
|
312
|
-
}
|
|
313
|
-
],
|
|
314
|
-
responses: {}
|
|
315
|
-
},
|
|
316
|
-
patch: {
|
|
317
|
-
operationId: "setWorkflowClosingReasons",
|
|
318
|
-
parameters: [
|
|
319
|
-
{
|
|
320
|
-
in: "path",
|
|
321
|
-
name: "definitionId",
|
|
322
|
-
required: true
|
|
323
|
-
}
|
|
324
|
-
],
|
|
325
|
-
requestBody: {
|
|
326
|
-
required: true,
|
|
327
|
-
content: {
|
|
328
|
-
"application/json": {}
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
responses: {}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
components: {}
|
|
336
|
-
};
|
|
7
|
+
var _chunk5LXNSDG2cjs = require('../chunk-5LXNSDG2.cjs');
|
|
8
|
+
|
|
9
|
+
// src/definitions/workflow-definition-runtime.json
|
|
10
|
+
var require_workflow_definition_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
11
|
+
"src/definitions/workflow-definition-runtime.json"(exports, module) {
|
|
12
|
+
module.exports = { s: "https://workflows-definition.sls.epilot.io", o: [["getMaxAllowedLimit", "get", "/v1/workflows/limits/max-allowed"], ["getDefinitions", "get", "/v1/workflows/definitions"], ["createDefinition", "post", "/v1/workflows/definitions", null, 1], ["listFlowTemplates", "get", "/v2/flows/templates", [["trigger_type", "q"], ["trigger_source_id", "q"], ["trigger_schema", "q"]]], ["createFlowTemplate", "post", "/v2/flows/templates", null, 1], ["searchFlowTemplates", "post", "/v2/flows/templates:search", null, 1], ["getFlowTemplate", "get", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["updateFlowTemplate", "put", "/v2/flows/templates/{flowId}", [["flowId", "p", true]], 1], ["deleteFlowTemplate", "delete", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["duplicateFlowTemplate", "post", "/v2/flows/templates/{flowId}/duplicate", [["flowId", "p", true]]], ["exportFlowTemplate", "get", "/v2/flows/templates/{flowId}/export", [["flowId", "p", true]]], ["importFlowTemplate", "post", "/v2/flows/templates/import", null, 1], ["getDefinition", "get", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["updateDefinition", "put", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]], 1], ["deleteDefinition", "delete", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["getAllClosingReasons", "get", "/v1/workflows/closing-reasons", [["includeInactive", "q"]]], ["createClosingReason", "post", "/v1/workflows/closing-reasons", null, 1], ["getClosingReason", "get", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["updateClosingReason", "patch", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["deleteClosingReason", "delete", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["getClosingReasonV1", "get", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["changeReasonStatus", "patch", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["getWorkflowClosingReasons", "get", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]]], ["setWorkflowClosingReasons", "patch", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]], 1]], v: "3.0.0" };
|
|
337
13
|
}
|
|
338
14
|
});
|
|
339
15
|
|
|
340
16
|
// src/apis/workflow-definition.ts
|
|
341
17
|
var loadDefinition = () => {
|
|
342
|
-
const mod =
|
|
343
|
-
return _nullishCoalesce(mod.default, () => ( mod));
|
|
18
|
+
const mod = require_workflow_definition_runtime();
|
|
19
|
+
return _chunk5LXNSDG2cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
344
20
|
};
|
|
345
21
|
var _instance = null;
|
|
346
22
|
var resolve = () => {
|
|
347
23
|
if (!_instance) {
|
|
348
|
-
const
|
|
349
|
-
_instance =
|
|
24
|
+
const def = loadDefinition();
|
|
25
|
+
_instance = _chunk5LXNSDG2cjs.createApiClient.call(void 0, { definition: def });
|
|
350
26
|
}
|
|
351
27
|
return _instance;
|
|
352
28
|
};
|
|
353
|
-
var _handle =
|
|
29
|
+
var _handle = _chunk5LXNSDG2cjs.createApiHandle.call(void 0, {
|
|
354
30
|
resolveClient: resolve,
|
|
355
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunk5LXNSDG2cjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
356
32
|
});
|
|
357
33
|
var getClient = _handle.getClient;
|
|
358
34
|
var createClient = _handle.createClient;
|
|
@@ -362,4 +38,4 @@ var workflowDefinition = _handle;
|
|
|
362
38
|
|
|
363
39
|
|
|
364
40
|
|
|
365
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunk5LXNSDG2cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflowDefinition = workflowDefinition;
|