@epilot/sdk 2.0.0-beta.1 → 2.0.0-beta.2

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.
Files changed (288) hide show
  1. package/README.md +70 -96
  2. package/dist/apis/access-token.cjs +90 -10
  3. package/dist/apis/access-token.d.cts +4 -4
  4. package/dist/apis/access-token.d.ts +4 -4
  5. package/dist/apis/access-token.js +86 -6
  6. package/dist/apis/address-suggestions.cjs +133 -10
  7. package/dist/apis/address-suggestions.d.cts +4 -4
  8. package/dist/apis/address-suggestions.d.ts +4 -4
  9. package/dist/apis/address-suggestions.js +129 -6
  10. package/dist/apis/address.cjs +85 -10
  11. package/dist/apis/address.d.cts +4 -4
  12. package/dist/apis/address.d.ts +4 -4
  13. package/dist/apis/address.js +81 -6
  14. package/dist/apis/ai-agents.cjs +216 -10
  15. package/dist/apis/ai-agents.d.cts +4 -4
  16. package/dist/apis/ai-agents.d.ts +4 -4
  17. package/dist/apis/ai-agents.js +212 -6
  18. package/dist/apis/app.cjs +574 -10
  19. package/dist/apis/app.d.cts +4 -4
  20. package/dist/apis/app.d.ts +4 -4
  21. package/dist/apis/app.js +570 -6
  22. package/dist/apis/audit-logs.cjs +56 -10
  23. package/dist/apis/audit-logs.d.cts +4 -4
  24. package/dist/apis/audit-logs.d.ts +4 -4
  25. package/dist/apis/audit-logs.js +52 -6
  26. package/dist/apis/automation.cjs +283 -10
  27. package/dist/apis/automation.d.cts +4 -4
  28. package/dist/apis/automation.d.ts +4 -4
  29. package/dist/apis/automation.js +279 -6
  30. package/dist/apis/billing.cjs +176 -10
  31. package/dist/apis/billing.d.cts +4 -4
  32. package/dist/apis/billing.d.ts +4 -4
  33. package/dist/apis/billing.js +172 -6
  34. package/dist/apis/blueprint-manifest.cjs +505 -10
  35. package/dist/apis/blueprint-manifest.d.cts +4 -4
  36. package/dist/apis/blueprint-manifest.d.ts +4 -4
  37. package/dist/apis/blueprint-manifest.js +501 -6
  38. package/dist/apis/consent.cjs +85 -10
  39. package/dist/apis/consent.d.cts +4 -4
  40. package/dist/apis/consent.d.ts +4 -4
  41. package/dist/apis/consent.js +81 -6
  42. package/dist/apis/customer-portal.cjs +2253 -10
  43. package/dist/apis/customer-portal.d.cts +4 -4
  44. package/dist/apis/customer-portal.d.ts +4 -4
  45. package/dist/apis/customer-portal.js +2249 -6
  46. package/dist/apis/data-management.cjs +241 -10
  47. package/dist/apis/data-management.d.cts +4 -4
  48. package/dist/apis/data-management.d.ts +4 -4
  49. package/dist/apis/data-management.js +237 -6
  50. package/dist/apis/deduplication.cjs +43 -10
  51. package/dist/apis/deduplication.d.cts +4 -4
  52. package/dist/apis/deduplication.d.ts +4 -4
  53. package/dist/apis/deduplication.js +39 -6
  54. package/dist/apis/design.cjs +220 -10
  55. package/dist/apis/design.d.cts +4 -4
  56. package/dist/apis/design.d.ts +4 -4
  57. package/dist/apis/design.js +216 -6
  58. package/dist/apis/document.cjs +79 -10
  59. package/dist/apis/document.d.cts +4 -4
  60. package/dist/apis/document.d.ts +4 -4
  61. package/dist/apis/document.js +75 -6
  62. package/dist/apis/email-settings.cjs +534 -10
  63. package/dist/apis/email-settings.d.cts +4 -4
  64. package/dist/apis/email-settings.d.ts +4 -4
  65. package/dist/apis/email-settings.js +530 -6
  66. package/dist/apis/email-template.cjs +123 -10
  67. package/dist/apis/email-template.d.cts +4 -4
  68. package/dist/apis/email-template.d.ts +4 -4
  69. package/dist/apis/email-template.js +119 -6
  70. package/dist/apis/entity-mapping.cjs +216 -10
  71. package/dist/apis/entity-mapping.d.cts +4 -4
  72. package/dist/apis/entity-mapping.d.ts +4 -4
  73. package/dist/apis/entity-mapping.js +212 -6
  74. package/dist/apis/entity.cjs +1601 -10
  75. package/dist/apis/entity.d.cts +4 -4
  76. package/dist/apis/entity.d.ts +4 -4
  77. package/dist/apis/entity.js +1597 -6
  78. package/dist/apis/environments.cjs +72 -10
  79. package/dist/apis/environments.d.cts +4 -4
  80. package/dist/apis/environments.d.ts +4 -4
  81. package/dist/apis/environments.js +68 -6
  82. package/dist/apis/erp-integration.cjs +587 -10
  83. package/dist/apis/erp-integration.d.cts +4 -4
  84. package/dist/apis/erp-integration.d.ts +4 -4
  85. package/dist/apis/erp-integration.js +583 -6
  86. package/dist/apis/event-catalog.cjs +131 -10
  87. package/dist/apis/event-catalog.d.cts +4 -4
  88. package/dist/apis/event-catalog.d.ts +4 -4
  89. package/dist/apis/event-catalog.js +127 -6
  90. package/dist/apis/file.cjs +574 -10
  91. package/dist/apis/file.d.cts +4 -4
  92. package/dist/apis/file.d.ts +4 -4
  93. package/dist/apis/file.js +570 -6
  94. package/dist/apis/iban.cjs +44 -10
  95. package/dist/apis/iban.d.cts +4 -4
  96. package/dist/apis/iban.d.ts +4 -4
  97. package/dist/apis/iban.js +40 -6
  98. package/dist/apis/journey.cjs +271 -10
  99. package/dist/apis/journey.d.cts +4 -4
  100. package/dist/apis/journey.d.ts +4 -4
  101. package/dist/apis/journey.js +267 -6
  102. package/dist/apis/kanban.cjs +165 -10
  103. package/dist/apis/kanban.d.cts +4 -4
  104. package/dist/apis/kanban.d.ts +4 -4
  105. package/dist/apis/kanban.js +161 -6
  106. package/dist/apis/message.cjs +674 -10
  107. package/dist/apis/message.d.cts +4 -4
  108. package/dist/apis/message.d.ts +4 -4
  109. package/dist/apis/message.js +670 -6
  110. package/dist/apis/metering.cjs +400 -10
  111. package/dist/apis/metering.d.cts +4 -4
  112. package/dist/apis/metering.d.ts +4 -4
  113. package/dist/apis/metering.js +396 -6
  114. package/dist/apis/notes.cjs +220 -10
  115. package/dist/apis/notes.d.cts +4 -4
  116. package/dist/apis/notes.d.ts +4 -4
  117. package/dist/apis/notes.js +216 -6
  118. package/dist/apis/notification.cjs +238 -10
  119. package/dist/apis/notification.d.cts +4 -4
  120. package/dist/apis/notification.d.ts +4 -4
  121. package/dist/apis/notification.js +234 -6
  122. package/dist/apis/organization.cjs +119 -10
  123. package/dist/apis/organization.d.cts +4 -4
  124. package/dist/apis/organization.d.ts +4 -4
  125. package/dist/apis/organization.js +115 -6
  126. package/dist/apis/partner-directory.cjs +283 -10
  127. package/dist/apis/partner-directory.d.cts +4 -4
  128. package/dist/apis/partner-directory.d.ts +4 -4
  129. package/dist/apis/partner-directory.js +279 -6
  130. package/dist/apis/permissions.cjs +179 -10
  131. package/dist/apis/permissions.d.cts +4 -4
  132. package/dist/apis/permissions.d.ts +4 -4
  133. package/dist/apis/permissions.js +175 -6
  134. package/dist/apis/pricing-tier.cjs +40 -13
  135. package/dist/apis/pricing-tier.d.cts +4 -4
  136. package/dist/apis/pricing-tier.d.ts +4 -4
  137. package/dist/apis/pricing-tier.js +33 -6
  138. package/dist/apis/pricing.cjs +440 -10
  139. package/dist/apis/pricing.d.cts +4 -4
  140. package/dist/apis/pricing.d.ts +4 -4
  141. package/dist/apis/pricing.js +436 -6
  142. package/dist/apis/purpose.cjs +181 -10
  143. package/dist/apis/purpose.d.cts +4 -4
  144. package/dist/apis/purpose.d.ts +4 -4
  145. package/dist/apis/purpose.js +177 -6
  146. package/dist/apis/sandbox.cjs +101 -10
  147. package/dist/apis/sandbox.d.cts +4 -4
  148. package/dist/apis/sandbox.d.ts +4 -4
  149. package/dist/apis/sandbox.js +97 -6
  150. package/dist/apis/submission.cjs +56 -10
  151. package/dist/apis/submission.d.cts +4 -4
  152. package/dist/apis/submission.d.ts +4 -4
  153. package/dist/apis/submission.js +52 -6
  154. package/dist/apis/targeting.cjs +276 -10
  155. package/dist/apis/targeting.d.cts +4 -4
  156. package/dist/apis/targeting.d.ts +4 -4
  157. package/dist/apis/targeting.js +272 -6
  158. package/dist/apis/template-variables.cjs +160 -10
  159. package/dist/apis/template-variables.d.cts +4 -4
  160. package/dist/apis/template-variables.d.ts +4 -4
  161. package/dist/apis/template-variables.js +156 -6
  162. package/dist/apis/user.cjs +489 -10
  163. package/dist/apis/user.d.cts +4 -4
  164. package/dist/apis/user.d.ts +4 -4
  165. package/dist/apis/user.js +485 -6
  166. package/dist/apis/validation-rules.cjs +121 -10
  167. package/dist/apis/validation-rules.d.cts +4 -4
  168. package/dist/apis/validation-rules.d.ts +4 -4
  169. package/dist/apis/validation-rules.js +117 -6
  170. package/dist/apis/webhooks.cjs +253 -10
  171. package/dist/apis/webhooks.d.cts +4 -4
  172. package/dist/apis/webhooks.d.ts +4 -4
  173. package/dist/apis/webhooks.js +249 -6
  174. package/dist/apis/workflow-definition.cjs +343 -10
  175. package/dist/apis/workflow-definition.d.cts +4 -4
  176. package/dist/apis/workflow-definition.d.ts +4 -4
  177. package/dist/apis/workflow-definition.js +339 -6
  178. package/dist/apis/workflow.cjs +403 -10
  179. package/dist/apis/workflow.d.cts +4 -4
  180. package/dist/apis/workflow.d.ts +4 -4
  181. package/dist/apis/workflow.js +399 -6
  182. package/dist/{chunk-YYLPAGF4.cjs → chunk-D7ICL3AM.cjs} +20 -9
  183. package/dist/{chunk-UCDXDIUX.js → chunk-DGCGLG7G.js} +18 -7
  184. package/dist/index.cjs +70 -215
  185. package/dist/index.d.cts +64 -66
  186. package/dist/index.d.ts +64 -66
  187. package/dist/index.js +67 -212
  188. package/dist/{types-DNnaR-86.d.cts → types-BwBvJkY_.d.cts} +2 -2
  189. package/dist/{types-DNnaR-86.d.ts → types-BwBvJkY_.d.ts} +2 -2
  190. package/package.json +2 -6
  191. package/dist/access-token-4WG44JE6.js +0 -87
  192. package/dist/access-token-IWRB3AQC.cjs +0 -87
  193. package/dist/address-RCFHYZ32.cjs +0 -82
  194. package/dist/address-YDZSS2Q2.js +0 -82
  195. package/dist/address-suggestions-44CVMN3H.js +0 -130
  196. package/dist/address-suggestions-RQNIFLF6.cjs +0 -130
  197. package/dist/ai-agents-7WY6J45W.js +0 -213
  198. package/dist/ai-agents-TIBOWGRB.cjs +0 -213
  199. package/dist/apis/discussion.cjs +0 -32
  200. package/dist/apis/discussion.d.cts +0 -18
  201. package/dist/apis/discussion.d.ts +0 -18
  202. package/dist/apis/discussion.js +0 -32
  203. package/dist/app-BUVEXAK3.js +0 -571
  204. package/dist/app-SWOVCSF6.cjs +0 -571
  205. package/dist/audit-logs-EZF74KKE.js +0 -53
  206. package/dist/audit-logs-ZNE4XISB.cjs +0 -53
  207. package/dist/automation-F4AXMRUS.cjs +0 -280
  208. package/dist/automation-NSOLJEPW.js +0 -280
  209. package/dist/billing-FXH4A3ET.cjs +0 -173
  210. package/dist/billing-PW2UJOFR.js +0 -173
  211. package/dist/blueprint-manifest-N4UM55KM.cjs +0 -502
  212. package/dist/blueprint-manifest-U3DMIHGW.js +0 -502
  213. package/dist/consent-NL2FMBRZ.js +0 -82
  214. package/dist/consent-XLVBVWHP.cjs +0 -82
  215. package/dist/customer-portal-6NZR53MJ.cjs +0 -2250
  216. package/dist/customer-portal-PXA64RS2.js +0 -2250
  217. package/dist/data-management-7VCKRRKT.cjs +0 -238
  218. package/dist/data-management-CWNNHKNR.js +0 -238
  219. package/dist/deduplication-AHDZHLWJ.cjs +0 -40
  220. package/dist/deduplication-UNYDU6FC.js +0 -40
  221. package/dist/design-GTK6ERS7.js +0 -217
  222. package/dist/design-HINGIGZM.cjs +0 -217
  223. package/dist/discussion-5AQSWLCJ.js +0 -132
  224. package/dist/discussion-ZHZII3JN.cjs +0 -132
  225. package/dist/discussion.d-DQucoYl_.d.cts +0 -579
  226. package/dist/discussion.d-DQucoYl_.d.ts +0 -579
  227. package/dist/document-3DJGB6C5.cjs +0 -76
  228. package/dist/document-4EBYTKOK.js +0 -76
  229. package/dist/email-settings-37WEBRIE.cjs +0 -531
  230. package/dist/email-settings-WYXVYZA5.js +0 -531
  231. package/dist/email-template-AJGRNOGO.cjs +0 -120
  232. package/dist/email-template-L3LCVGGX.js +0 -120
  233. package/dist/entity-FK3QEH7K.cjs +0 -1598
  234. package/dist/entity-VCBDLBZ5.js +0 -1598
  235. package/dist/entity-mapping-LEEXGKNQ.js +0 -213
  236. package/dist/entity-mapping-OIA23UV2.cjs +0 -213
  237. package/dist/environments-NX2KO6PH.js +0 -69
  238. package/dist/environments-PDN2RNB6.cjs +0 -69
  239. package/dist/erp-integration-C7XAKQOQ.cjs +0 -584
  240. package/dist/erp-integration-TA23TPTK.js +0 -584
  241. package/dist/event-catalog-CXGU2MWM.js +0 -128
  242. package/dist/event-catalog-JHJU3EPR.cjs +0 -128
  243. package/dist/file-FIIYM6KO.cjs +0 -571
  244. package/dist/file-GRLGXATS.js +0 -571
  245. package/dist/iban-IQH45QEI.js +0 -41
  246. package/dist/iban-YHV77AIE.cjs +0 -41
  247. package/dist/journey-B5Q2FQUI.cjs +0 -268
  248. package/dist/journey-XW3RJCI3.js +0 -268
  249. package/dist/kanban-4LZGTSAF.cjs +0 -162
  250. package/dist/kanban-NRSJ6S4X.js +0 -162
  251. package/dist/message-IV6F3CN5.cjs +0 -671
  252. package/dist/message-VYRBWAWQ.js +0 -671
  253. package/dist/metering-BOIQK6LV.js +0 -397
  254. package/dist/metering-WJVI6BHJ.cjs +0 -397
  255. package/dist/notes-XXYAHYEC.js +0 -217
  256. package/dist/notes-ZQR635GX.cjs +0 -217
  257. package/dist/notification-7APLCFR5.cjs +0 -235
  258. package/dist/notification-B634CDPT.js +0 -235
  259. package/dist/organization-BXJ2BPQB.cjs +0 -116
  260. package/dist/organization-WGTTJC22.js +0 -116
  261. package/dist/partner-directory-IHOFVMEK.cjs +0 -280
  262. package/dist/partner-directory-K6CQVWVG.js +0 -280
  263. package/dist/permissions-J7BIGOLO.cjs +0 -176
  264. package/dist/permissions-XRJ6WEZR.js +0 -176
  265. package/dist/pricing-GSIASLCP.cjs +0 -437
  266. package/dist/pricing-VVOEIVQC.js +0 -437
  267. package/dist/pricing-tier-NHXSXS7D.cjs +0 -34
  268. package/dist/pricing-tier-U5KRZDL2.js +0 -34
  269. package/dist/purpose-K655DFAO.js +0 -178
  270. package/dist/purpose-XH2OQHGH.cjs +0 -178
  271. package/dist/sandbox-4DRHKRB6.cjs +0 -98
  272. package/dist/sandbox-PV747LWK.js +0 -98
  273. package/dist/submission-7NPVVBLM.js +0 -53
  274. package/dist/submission-RUDXWIRC.cjs +0 -53
  275. package/dist/targeting-4ID5YPCA.js +0 -273
  276. package/dist/targeting-DOARNZSZ.cjs +0 -273
  277. package/dist/template-variables-HAYGELOR.cjs +0 -157
  278. package/dist/template-variables-XSEX25IR.js +0 -157
  279. package/dist/user-DPU5W4TD.cjs +0 -486
  280. package/dist/user-HJCIYGFV.js +0 -486
  281. package/dist/validation-rules-2Z3W27TI.js +0 -118
  282. package/dist/validation-rules-STLI5T53.cjs +0 -118
  283. package/dist/webhooks-OYG6A7LP.js +0 -250
  284. package/dist/webhooks-QV777IJ3.cjs +0 -250
  285. package/dist/workflow-3PROUTPA.js +0 -400
  286. package/dist/workflow-STQM54XS.cjs +0 -400
  287. package/dist/workflow-definition-3VVAPDSE.cjs +0 -340
  288. package/dist/workflow-definition-WEU344MV.js +0 -340
@@ -1,400 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/definitions/workflow.json
2
- var openapi = "3.0.0";
3
- var info = {
4
- title: "",
5
- version: ""
6
- };
7
- var servers = [
8
- {
9
- url: "https://workflows-execution.sls.epilot.io"
10
- }
11
- ];
12
- var paths = {
13
- "/v1/workflows/executions": {
14
- get: {
15
- operationId: "getExecutions",
16
- parameters: [
17
- {
18
- in: "query",
19
- name: "context",
20
- required: false
21
- },
22
- {
23
- in: "query",
24
- name: "schema",
25
- required: false
26
- }
27
- ],
28
- responses: {}
29
- },
30
- post: {
31
- operationId: "createExecution",
32
- requestBody: {
33
- required: true,
34
- content: {
35
- "application/json": {}
36
- }
37
- },
38
- responses: {}
39
- }
40
- },
41
- "/v1/workflows/executions/{executionId}": {
42
- get: {
43
- operationId: "getExecution",
44
- parameters: [
45
- {
46
- in: "path",
47
- name: "executionId",
48
- required: true
49
- }
50
- ],
51
- responses: {}
52
- },
53
- patch: {
54
- operationId: "updateExecution",
55
- parameters: [
56
- {
57
- in: "path",
58
- name: "executionId",
59
- required: true
60
- }
61
- ],
62
- requestBody: {
63
- required: true,
64
- content: {
65
- "application/json": {}
66
- }
67
- },
68
- responses: {}
69
- },
70
- delete: {
71
- operationId: "deleteExecution",
72
- parameters: [
73
- {
74
- in: "path",
75
- name: "executionId",
76
- required: true
77
- }
78
- ],
79
- responses: {}
80
- }
81
- },
82
- "/v1/workflows/executions/{executionId}/steps": {
83
- post: {
84
- operationId: "createStep",
85
- parameters: [
86
- {
87
- in: "path",
88
- name: "executionId",
89
- required: true
90
- }
91
- ],
92
- requestBody: {
93
- required: true,
94
- content: {
95
- "application/json": {}
96
- }
97
- },
98
- responses: {}
99
- }
100
- },
101
- "/v1/workflows/executions/{executionId}/steps/{stepId}": {
102
- patch: {
103
- operationId: "updateStep",
104
- parameters: [
105
- {
106
- in: "path",
107
- name: "executionId",
108
- required: true
109
- },
110
- {
111
- in: "path",
112
- name: "stepId",
113
- required: true
114
- }
115
- ],
116
- requestBody: {
117
- required: true,
118
- content: {
119
- "application/json": {}
120
- }
121
- },
122
- responses: {}
123
- },
124
- delete: {
125
- operationId: "deleteStep",
126
- parameters: [
127
- {
128
- in: "path",
129
- name: "executionId",
130
- required: true
131
- },
132
- {
133
- in: "path",
134
- name: "stepId",
135
- required: true
136
- }
137
- ],
138
- responses: {}
139
- }
140
- },
141
- "/v1/workflows/executions/search": {
142
- post: {
143
- deprecated: true,
144
- operationId: "searchExecutions",
145
- requestBody: {
146
- required: true,
147
- content: {
148
- "application/json": {}
149
- }
150
- },
151
- responses: {}
152
- }
153
- },
154
- "/v1/workflows/executions/steps/search": {
155
- post: {
156
- deprecated: true,
157
- operationId: "searchSteps",
158
- requestBody: {
159
- required: true,
160
- content: {
161
- "application/json": {}
162
- }
163
- },
164
- responses: {}
165
- }
166
- },
167
- "/v1/workflows/executions/{executionId}/closing-reasons": {
168
- get: {
169
- operationId: "getClosingReasonExecution",
170
- parameters: [
171
- {
172
- in: "path",
173
- name: "executionId",
174
- required: true
175
- }
176
- ],
177
- responses: {}
178
- }
179
- },
180
- "/v2/flows/executions": {
181
- post: {
182
- operationId: "startFlowExecution",
183
- requestBody: {
184
- required: true,
185
- content: {
186
- "application/json": {}
187
- }
188
- },
189
- responses: {}
190
- }
191
- },
192
- "/v2/flows/executions/{execution_id}": {
193
- get: {
194
- operationId: "getFlowExecution",
195
- parameters: [
196
- {
197
- $ref: "#/components/parameters/ExecutionIdParam"
198
- }
199
- ],
200
- responses: {}
201
- },
202
- patch: {
203
- operationId: "patchFlowExecution",
204
- parameters: [
205
- {
206
- $ref: "#/components/parameters/ExecutionIdParam"
207
- }
208
- ],
209
- requestBody: {
210
- required: true,
211
- content: {
212
- "application/json": {}
213
- }
214
- },
215
- responses: {}
216
- },
217
- delete: {
218
- operationId: "deleteFlowExecution",
219
- parameters: [
220
- {
221
- $ref: "#/components/parameters/ExecutionIdParam"
222
- },
223
- {
224
- $ref: "#/components/parameters/SoftDeleteParam"
225
- }
226
- ],
227
- responses: {}
228
- }
229
- },
230
- "/v2/flows/executions:search": {
231
- post: {
232
- operationId: "searchFlowExecutions",
233
- requestBody: {
234
- required: true,
235
- content: {
236
- "application/json": {}
237
- }
238
- },
239
- responses: {}
240
- }
241
- },
242
- "/v2/flows/executions/{execution_id}/tasks/{task_id}": {
243
- patch: {
244
- operationId: "patchTask",
245
- parameters: [
246
- {
247
- $ref: "#/components/parameters/ExecutionIdParam"
248
- },
249
- {
250
- $ref: "#/components/parameters/TaskIdParam"
251
- }
252
- ],
253
- requestBody: {
254
- required: true,
255
- content: {
256
- "application/json": {}
257
- }
258
- },
259
- responses: {}
260
- }
261
- },
262
- "/v2/flows/executions/{execution_id}/tasks/{task_id}/automation:run": {
263
- post: {
264
- operationId: "runTaskAutomation",
265
- parameters: [
266
- {
267
- $ref: "#/components/parameters/ExecutionIdParam"
268
- },
269
- {
270
- $ref: "#/components/parameters/TaskIdParam"
271
- }
272
- ],
273
- responses: {}
274
- }
275
- },
276
- "/v2/flows/executions/{execution_id}/tasks/{task_id}/execute": {
277
- post: {
278
- operationId: "executeTask",
279
- parameters: [
280
- {
281
- $ref: "#/components/parameters/ExecutionIdParam"
282
- },
283
- {
284
- $ref: "#/components/parameters/TaskIdParam"
285
- }
286
- ],
287
- responses: {}
288
- }
289
- },
290
- "/v2/flows/executions/{execution_id}/phases/{phase_id}": {
291
- patch: {
292
- operationId: "patchPhase",
293
- parameters: [
294
- {
295
- $ref: "#/components/parameters/ExecutionIdParam"
296
- },
297
- {
298
- $ref: "#/components/parameters/PhaseIdParam"
299
- }
300
- ],
301
- requestBody: {
302
- required: true,
303
- content: {
304
- "application/json": {}
305
- }
306
- },
307
- responses: {}
308
- }
309
- },
310
- "/v2/flows/executions/{execution_id}/tasks": {
311
- post: {
312
- operationId: "addTask",
313
- parameters: [
314
- {
315
- $ref: "#/components/parameters/ExecutionIdParam"
316
- }
317
- ],
318
- requestBody: {
319
- required: true,
320
- content: {
321
- "application/json": {}
322
- }
323
- },
324
- responses: {}
325
- }
326
- },
327
- "/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule": {
328
- delete: {
329
- operationId: "cancelTaskSchedule",
330
- parameters: [
331
- {
332
- $ref: "#/components/parameters/ExecutionIdParam"
333
- },
334
- {
335
- $ref: "#/components/parameters/TaskIdParam"
336
- }
337
- ],
338
- responses: {}
339
- }
340
- },
341
- "/v2/flows/executions/{execution_id}/schedules/{schedule_id}": {
342
- post: {
343
- operationId: "cancelSchedule",
344
- deprecated: true,
345
- parameters: [
346
- {
347
- $ref: "#/components/parameters/ExecutionIdParam"
348
- },
349
- {
350
- $ref: "#/components/parameters/ScheduleIdParam"
351
- }
352
- ],
353
- responses: {}
354
- }
355
- }
356
- };
357
- var components = {
358
- parameters: {
359
- ExecutionIdParam: {
360
- in: "path",
361
- name: "execution_id",
362
- required: true
363
- },
364
- TaskIdParam: {
365
- in: "path",
366
- name: "task_id",
367
- required: true
368
- },
369
- PhaseIdParam: {
370
- in: "path",
371
- name: "phase_id",
372
- required: true
373
- },
374
- ScheduleIdParam: {
375
- in: "path",
376
- name: "schedule_id",
377
- required: true
378
- },
379
- SoftDeleteParam: {
380
- in: "query",
381
- name: "soft",
382
- required: false
383
- }
384
- }
385
- };
386
- var workflow_default = {
387
- openapi,
388
- info,
389
- servers,
390
- paths,
391
- components
392
- };
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
- exports.components = components; exports.default = workflow_default; exports.info = info; exports.openapi = openapi; exports.paths = paths; exports.servers = servers;
@@ -1,340 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/definitions/workflow-definition.json
2
- var openapi = "3.0.0";
3
- var info = {
4
- title: "",
5
- version: ""
6
- };
7
- var servers = [
8
- {
9
- url: "https://workflows-definition.sls.epilot.io"
10
- }
11
- ];
12
- var paths = {
13
- "/v1/workflows/limits/max-allowed": {
14
- get: {
15
- operationId: "getMaxAllowedLimit",
16
- responses: {}
17
- }
18
- },
19
- "/v1/workflows/definitions": {
20
- get: {
21
- operationId: "getDefinitions",
22
- responses: {}
23
- },
24
- post: {
25
- operationId: "createDefinition",
26
- requestBody: {
27
- required: true,
28
- content: {
29
- "application/json": {}
30
- }
31
- },
32
- responses: {}
33
- }
34
- },
35
- "/v2/flows/templates": {
36
- get: {
37
- operationId: "listFlowTemplates",
38
- parameters: [
39
- {
40
- in: "query",
41
- name: "trigger_type",
42
- required: false
43
- },
44
- {
45
- in: "query",
46
- name: "trigger_source_id",
47
- required: false
48
- },
49
- {
50
- in: "query",
51
- name: "trigger_schema",
52
- required: false
53
- }
54
- ],
55
- responses: {}
56
- },
57
- post: {
58
- operationId: "createFlowTemplate",
59
- requestBody: {
60
- required: true,
61
- content: {
62
- "application/json": {}
63
- }
64
- },
65
- responses: {}
66
- }
67
- },
68
- "/v2/flows/templates:search": {
69
- post: {
70
- operationId: "searchFlowTemplates",
71
- requestBody: {
72
- required: true,
73
- content: {
74
- "application/json": {}
75
- }
76
- },
77
- responses: {}
78
- }
79
- },
80
- "/v2/flows/templates/{flowId}": {
81
- get: {
82
- operationId: "getFlowTemplate",
83
- parameters: [
84
- {
85
- in: "path",
86
- name: "flowId",
87
- required: true
88
- }
89
- ],
90
- responses: {}
91
- },
92
- put: {
93
- operationId: "updateFlowTemplate",
94
- parameters: [
95
- {
96
- in: "path",
97
- name: "flowId",
98
- required: true
99
- }
100
- ],
101
- requestBody: {
102
- required: true,
103
- content: {
104
- "application/json": {}
105
- }
106
- },
107
- responses: {}
108
- },
109
- delete: {
110
- operationId: "deleteFlowTemplate",
111
- parameters: [
112
- {
113
- in: "path",
114
- name: "flowId",
115
- required: true
116
- }
117
- ],
118
- responses: {}
119
- }
120
- },
121
- "/v2/flows/templates/{flowId}/duplicate": {
122
- post: {
123
- operationId: "duplicateFlowTemplate",
124
- parameters: [
125
- {
126
- in: "path",
127
- name: "flowId",
128
- required: true
129
- }
130
- ],
131
- responses: {}
132
- }
133
- },
134
- "/v2/flows/templates/{flowId}/export": {
135
- get: {
136
- operationId: "exportFlowTemplate",
137
- parameters: [
138
- {
139
- in: "path",
140
- name: "flowId",
141
- required: true
142
- }
143
- ],
144
- responses: {}
145
- }
146
- },
147
- "/v2/flows/templates/import": {
148
- post: {
149
- operationId: "importFlowTemplate",
150
- requestBody: {
151
- required: true,
152
- content: {
153
- "application/json": {}
154
- }
155
- },
156
- responses: {}
157
- }
158
- },
159
- "/v1/workflows/definitions/{definitionId}": {
160
- get: {
161
- operationId: "getDefinition",
162
- parameters: [
163
- {
164
- in: "path",
165
- name: "definitionId",
166
- required: true
167
- }
168
- ],
169
- responses: {}
170
- },
171
- put: {
172
- operationId: "updateDefinition",
173
- parameters: [
174
- {
175
- in: "path",
176
- name: "definitionId",
177
- required: true
178
- }
179
- ],
180
- requestBody: {
181
- required: true,
182
- content: {
183
- "application/json": {}
184
- }
185
- },
186
- responses: {}
187
- },
188
- delete: {
189
- operationId: "deleteDefinition",
190
- parameters: [
191
- {
192
- in: "path",
193
- name: "definitionId",
194
- required: true
195
- }
196
- ],
197
- responses: {}
198
- }
199
- },
200
- "/v1/workflows/closing-reasons": {
201
- get: {
202
- operationId: "getAllClosingReasons",
203
- parameters: [
204
- {
205
- in: "query",
206
- name: "includeInactive",
207
- required: false
208
- }
209
- ],
210
- responses: {}
211
- },
212
- post: {
213
- operationId: "createClosingReason",
214
- requestBody: {
215
- required: true,
216
- content: {
217
- "application/json": {}
218
- }
219
- },
220
- responses: {}
221
- }
222
- },
223
- "/v2/workflows/closing-reasons/{reasonId}": {
224
- get: {
225
- operationId: "getClosingReason",
226
- parameters: [
227
- {
228
- in: "path",
229
- name: "reasonId",
230
- required: true
231
- }
232
- ],
233
- responses: {}
234
- },
235
- patch: {
236
- operationId: "updateClosingReason",
237
- parameters: [
238
- {
239
- in: "path",
240
- name: "reasonId",
241
- required: true
242
- }
243
- ],
244
- requestBody: {
245
- required: true,
246
- content: {
247
- "application/json": {}
248
- }
249
- },
250
- responses: {}
251
- },
252
- delete: {
253
- operationId: "deleteClosingReason",
254
- parameters: [
255
- {
256
- in: "path",
257
- name: "reasonId",
258
- required: true
259
- }
260
- ],
261
- responses: {}
262
- }
263
- },
264
- "/v1/workflows/closing-reasons/{reasonId}": {
265
- get: {
266
- deprecated: true,
267
- operationId: "getClosingReasonV1",
268
- parameters: [
269
- {
270
- in: "path",
271
- name: "reasonId",
272
- required: true
273
- }
274
- ],
275
- responses: {}
276
- },
277
- patch: {
278
- operationId: "changeReasonStatus",
279
- parameters: [
280
- {
281
- in: "path",
282
- name: "reasonId",
283
- required: true
284
- }
285
- ],
286
- requestBody: {
287
- content: {
288
- "application/json": {}
289
- }
290
- },
291
- responses: {}
292
- }
293
- },
294
- "/v1/workflows/definitions/{definitionId}/closing-reasons": {
295
- get: {
296
- operationId: "getWorkflowClosingReasons",
297
- parameters: [
298
- {
299
- in: "path",
300
- name: "definitionId",
301
- required: true
302
- }
303
- ],
304
- responses: {}
305
- },
306
- patch: {
307
- operationId: "setWorkflowClosingReasons",
308
- parameters: [
309
- {
310
- in: "path",
311
- name: "definitionId",
312
- required: true
313
- }
314
- ],
315
- requestBody: {
316
- required: true,
317
- content: {
318
- "application/json": {}
319
- }
320
- },
321
- responses: {}
322
- }
323
- }
324
- };
325
- var components = {};
326
- var workflow_definition_default = {
327
- openapi,
328
- info,
329
- servers,
330
- paths,
331
- components
332
- };
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
- exports.components = components; exports.default = workflow_definition_default; exports.info = info; exports.openapi = openapi; exports.paths = paths; exports.servers = servers;