@epilot/sdk 2.4.0 → 2.4.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 (221) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4493 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +5028 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +4846 -0
  19. package/definitions/configuration-hub-runtime.json +1 -0
  20. package/definitions/configuration-hub.json +611 -0
  21. package/definitions/consent-runtime.json +1 -0
  22. package/definitions/consent.json +344 -0
  23. package/definitions/customer-portal-runtime.json +1 -0
  24. package/definitions/customer-portal.json +16045 -0
  25. package/definitions/dashboard-runtime.json +1 -0
  26. package/definitions/dashboard.json +484 -0
  27. package/definitions/data-governance-runtime.json +1 -0
  28. package/definitions/data-governance.json +1126 -0
  29. package/definitions/deduplication-runtime.json +1 -0
  30. package/definitions/deduplication.json +314 -0
  31. package/definitions/design-runtime.json +1 -0
  32. package/definitions/design.json +1722 -0
  33. package/definitions/document-runtime.json +1 -0
  34. package/definitions/document.json +758 -0
  35. package/definitions/email-settings-runtime.json +1 -0
  36. package/definitions/email-settings.json +2777 -0
  37. package/definitions/email-template-runtime.json +1 -0
  38. package/definitions/email-template.json +1441 -0
  39. package/definitions/entity-mapping-runtime.json +1 -0
  40. package/definitions/entity-mapping.json +1642 -0
  41. package/definitions/entity-runtime.json +1 -0
  42. package/definitions/entity.json +10861 -0
  43. package/definitions/environments-runtime.json +1 -0
  44. package/definitions/environments.json +539 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/integration-toolkit-runtime.json +1 -0
  52. package/definitions/integration-toolkit.json +7998 -0
  53. package/definitions/journey-runtime.json +1 -0
  54. package/definitions/journey.json +2603 -0
  55. package/definitions/kanban-runtime.json +1 -0
  56. package/definitions/kanban.json +1506 -0
  57. package/definitions/message-runtime.json +1 -0
  58. package/definitions/message.json +2872 -0
  59. package/definitions/metering-runtime.json +1 -0
  60. package/definitions/metering.json +2321 -0
  61. package/definitions/notes-runtime.json +1 -0
  62. package/definitions/notes.json +1531 -0
  63. package/definitions/notification-runtime.json +1 -0
  64. package/definitions/notification.json +1425 -0
  65. package/definitions/organization-runtime.json +1 -0
  66. package/definitions/organization.json +1192 -0
  67. package/definitions/partner-directory-runtime.json +1 -0
  68. package/definitions/partner-directory.json +2284 -0
  69. package/definitions/permissions-runtime.json +1 -0
  70. package/definitions/permissions.json +1515 -0
  71. package/definitions/pricing-runtime.json +1 -0
  72. package/definitions/pricing-tier-runtime.json +1 -0
  73. package/definitions/pricing-tier.json +105 -0
  74. package/definitions/pricing.json +9884 -0
  75. package/definitions/purpose-runtime.json +1 -0
  76. package/definitions/purpose.json +524 -0
  77. package/definitions/query-runtime.json +1 -0
  78. package/definitions/query.json +3178 -0
  79. package/definitions/sandbox-runtime.json +1 -0
  80. package/definitions/sandbox.json +453 -0
  81. package/definitions/sharing-runtime.json +1 -0
  82. package/definitions/sharing.json +956 -0
  83. package/definitions/submission-runtime.json +1 -0
  84. package/definitions/submission.json +313 -0
  85. package/definitions/targeting-runtime.json +1 -0
  86. package/definitions/targeting.json +1474 -0
  87. package/definitions/template-variables-runtime.json +1 -0
  88. package/definitions/template-variables.json +1416 -0
  89. package/definitions/user-runtime.json +1 -0
  90. package/definitions/user.json +2460 -0
  91. package/definitions/validation-rules-runtime.json +1 -0
  92. package/definitions/validation-rules.json +1491 -0
  93. package/definitions/webhooks-runtime.json +1 -0
  94. package/definitions/webhooks.json +1634 -0
  95. package/definitions/workflow-definition-runtime.json +1 -0
  96. package/definitions/workflow-definition.json +3354 -0
  97. package/definitions/workflow-runtime.json +1 -0
  98. package/definitions/workflow.json +4272 -0
  99. package/dist/apis/access-token.cjs +6 -6
  100. package/dist/apis/access-token.js +1 -1
  101. package/dist/apis/address-suggestions.cjs +6 -6
  102. package/dist/apis/address-suggestions.js +1 -1
  103. package/dist/apis/address.cjs +6 -6
  104. package/dist/apis/address.js +1 -1
  105. package/dist/apis/ai-agents.cjs +6 -6
  106. package/dist/apis/ai-agents.js +1 -1
  107. package/dist/apis/app.cjs +6 -6
  108. package/dist/apis/app.js +1 -1
  109. package/dist/apis/audit-logs.cjs +6 -6
  110. package/dist/apis/audit-logs.js +1 -1
  111. package/dist/apis/automation.cjs +6 -6
  112. package/dist/apis/automation.js +1 -1
  113. package/dist/apis/billing.cjs +6 -6
  114. package/dist/apis/billing.js +1 -1
  115. package/dist/apis/blueprint-manifest.cjs +6 -6
  116. package/dist/apis/blueprint-manifest.js +1 -1
  117. package/dist/apis/configuration-hub.cjs +6 -6
  118. package/dist/apis/configuration-hub.js +1 -1
  119. package/dist/apis/consent.cjs +6 -6
  120. package/dist/apis/consent.js +1 -1
  121. package/dist/apis/customer-portal.cjs +6 -6
  122. package/dist/apis/customer-portal.js +1 -1
  123. package/dist/apis/dashboard.cjs +6 -6
  124. package/dist/apis/dashboard.js +1 -1
  125. package/dist/apis/data-governance.cjs +6 -6
  126. package/dist/apis/data-governance.js +1 -1
  127. package/dist/apis/deduplication.cjs +6 -6
  128. package/dist/apis/deduplication.js +1 -1
  129. package/dist/apis/design.cjs +6 -6
  130. package/dist/apis/design.js +1 -1
  131. package/dist/apis/document.cjs +6 -6
  132. package/dist/apis/document.js +1 -1
  133. package/dist/apis/email-settings.cjs +6 -6
  134. package/dist/apis/email-settings.js +1 -1
  135. package/dist/apis/email-template.cjs +6 -6
  136. package/dist/apis/email-template.js +1 -1
  137. package/dist/apis/entity-mapping.cjs +6 -6
  138. package/dist/apis/entity-mapping.js +1 -1
  139. package/dist/apis/entity.cjs +6 -6
  140. package/dist/apis/entity.d.cts +2 -2
  141. package/dist/apis/entity.d.ts +2 -2
  142. package/dist/apis/entity.js +1 -1
  143. package/dist/apis/environments.cjs +6 -6
  144. package/dist/apis/environments.js +1 -1
  145. package/dist/apis/event-catalog.cjs +6 -6
  146. package/dist/apis/event-catalog.js +1 -1
  147. package/dist/apis/file.cjs +6 -6
  148. package/dist/apis/file.js +1 -1
  149. package/dist/apis/iban.cjs +6 -6
  150. package/dist/apis/iban.js +1 -1
  151. package/dist/apis/integration-toolkit.cjs +6 -6
  152. package/dist/apis/integration-toolkit.js +1 -1
  153. package/dist/apis/journey.cjs +6 -6
  154. package/dist/apis/journey.js +1 -1
  155. package/dist/apis/kanban.cjs +6 -6
  156. package/dist/apis/kanban.d.cts +2 -2
  157. package/dist/apis/kanban.d.ts +2 -2
  158. package/dist/apis/kanban.js +1 -1
  159. package/dist/apis/message.cjs +6 -6
  160. package/dist/apis/message.js +1 -1
  161. package/dist/apis/metering.cjs +6 -6
  162. package/dist/apis/metering.js +1 -1
  163. package/dist/apis/notes.cjs +6 -6
  164. package/dist/apis/notes.js +1 -1
  165. package/dist/apis/notification.cjs +6 -6
  166. package/dist/apis/notification.js +1 -1
  167. package/dist/apis/organization.cjs +6 -6
  168. package/dist/apis/organization.js +1 -1
  169. package/dist/apis/partner-directory.cjs +6 -6
  170. package/dist/apis/partner-directory.js +1 -1
  171. package/dist/apis/permissions.cjs +6 -6
  172. package/dist/apis/permissions.js +1 -1
  173. package/dist/apis/pricing-tier.cjs +6 -6
  174. package/dist/apis/pricing-tier.js +1 -1
  175. package/dist/apis/pricing.cjs +6 -6
  176. package/dist/apis/pricing.js +1 -1
  177. package/dist/apis/purpose.cjs +6 -6
  178. package/dist/apis/purpose.js +1 -1
  179. package/dist/apis/query.cjs +6 -6
  180. package/dist/apis/query.js +1 -1
  181. package/dist/apis/sandbox.cjs +6 -6
  182. package/dist/apis/sandbox.js +1 -1
  183. package/dist/apis/sharing.cjs +6 -6
  184. package/dist/apis/sharing.js +1 -1
  185. package/dist/apis/submission.cjs +6 -6
  186. package/dist/apis/submission.js +1 -1
  187. package/dist/apis/target.cjs +6 -6
  188. package/dist/apis/target.js +1 -1
  189. package/dist/apis/targeting.cjs +6 -6
  190. package/dist/apis/targeting.js +1 -1
  191. package/dist/apis/template-variables.cjs +6 -6
  192. package/dist/apis/template-variables.js +1 -1
  193. package/dist/apis/user.cjs +6 -6
  194. package/dist/apis/user.js +1 -1
  195. package/dist/apis/validation-rules.cjs +6 -6
  196. package/dist/apis/validation-rules.js +1 -1
  197. package/dist/apis/webhooks.cjs +6 -6
  198. package/dist/apis/webhooks.js +1 -1
  199. package/dist/apis/workflow-definition.cjs +6 -6
  200. package/dist/apis/workflow-definition.js +1 -1
  201. package/dist/apis/workflow.cjs +6 -6
  202. package/dist/apis/workflow.js +1 -1
  203. package/dist/{chunk-DAFBUTK6.js → chunk-CQ3AKMIJ.js} +2 -2
  204. package/dist/{chunk-Z33PZNHV.cjs → chunk-YLJD7G7H.cjs} +2 -2
  205. package/dist/entity-H6ESUH3Y.js +7 -0
  206. package/dist/entity-ZVDKWQSF.cjs +7 -0
  207. package/dist/{entity.d-B43ezu-V.d.cts → entity.d-BHR9dEon.d.cts} +843 -165
  208. package/dist/{entity.d-B43ezu-V.d.ts → entity.d-BHR9dEon.d.ts} +843 -165
  209. package/dist/index.cjs +8 -8
  210. package/dist/index.d.cts +2 -2
  211. package/dist/index.d.ts +2 -2
  212. package/dist/index.js +1 -1
  213. package/dist/{kanban-PMG5TXE5.js → kanban-F22JXYCG.js} +1 -1
  214. package/dist/{kanban-E2UOBVBK.cjs → kanban-FSATKIGH.cjs} +1 -1
  215. package/dist/{kanban.d-B99GucT_.d.cts → kanban.d-BHnSRCYW.d.cts} +1 -1
  216. package/dist/{kanban.d-B99GucT_.d.ts → kanban.d-BHnSRCYW.d.ts} +1 -1
  217. package/docs/entity.md +202 -12
  218. package/docs/kanban.md +2 -2
  219. package/package.json +1 -1
  220. package/dist/entity-VDUN7SYC.cjs +0 -7
  221. package/dist/entity-WWM2Z7BU.js +0 -7
@@ -0,0 +1 @@
1
+ {"s":"https://deduplication.sls.epilot.io","o":[["deduplicate","post","/v1/deduplicate",null,1],["deduplicateAsync","post","/v1/deduplicate/job",null,1],["getDeduplicationJob","get","/v1/deduplicate/jobs/{jobId}",[["jobId","p",true]]]]}
@@ -0,0 +1,314 @@
1
+ {
2
+ "openapi": "3.0.2",
3
+ "info": {
4
+ "version": "3.0.0",
5
+ "title": "Deduplication API",
6
+ "description": "Backend for Epilot Deduplication feature"
7
+ },
8
+ "security": [
9
+ {
10
+ "EpilotAuth": []
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/v1/deduplicate": {
15
+ "post": {
16
+ "operationId": "deduplicate",
17
+ "summary": "deduplicate",
18
+ "description": "Deduplicates Entities",
19
+ "tags": [],
20
+ "requestBody": {
21
+ "content": {
22
+ "application/json": {
23
+ "schema": {
24
+ "$ref": "#/components/schemas/DeduplicateRequestBody"
25
+ }
26
+ }
27
+ }
28
+ },
29
+ "responses": {
30
+ "200": {
31
+ "description": "Successful response with Deduplication content",
32
+ "content": {
33
+ "application/json": {
34
+ "schema": {
35
+ "$ref": "#/components/schemas/DeduplicateRequestResponse"
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ },
43
+ "/v1/deduplicate/job": {
44
+ "post": {
45
+ "operationId": "deduplicateAsync",
46
+ "summary": "deduplicateAsync",
47
+ "description": "Submits an async deduplication job. Returns a job ID immediately. Poll GET /v1/deduplicate/jobs/{jobId} for status.",
48
+ "tags": [],
49
+ "requestBody": {
50
+ "content": {
51
+ "application/json": {
52
+ "schema": {
53
+ "$ref": "#/components/schemas/DeduplicateRequestBody"
54
+ }
55
+ }
56
+ }
57
+ },
58
+ "responses": {
59
+ "202": {
60
+ "description": "Job accepted. Use the returned jobId to poll for status.",
61
+ "content": {
62
+ "application/json": {
63
+ "schema": {
64
+ "$ref": "#/components/schemas/DeduplicateAsyncResponse"
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "/v1/deduplicate/jobs/{jobId}": {
73
+ "get": {
74
+ "operationId": "getDeduplicationJob",
75
+ "summary": "getDeduplicationJob",
76
+ "description": "Returns the current status of an async deduplication job",
77
+ "tags": [],
78
+ "parameters": [
79
+ {
80
+ "name": "jobId",
81
+ "in": "path",
82
+ "required": true,
83
+ "schema": {
84
+ "type": "string"
85
+ },
86
+ "description": "The job ID returned by POST /v1/deduplicate/job"
87
+ }
88
+ ],
89
+ "responses": {
90
+ "200": {
91
+ "description": "Current job status",
92
+ "content": {
93
+ "application/json": {
94
+ "schema": {
95
+ "$ref": "#/components/schemas/DeduplicationJob"
96
+ }
97
+ }
98
+ }
99
+ },
100
+ "404": {
101
+ "description": "Job not found"
102
+ }
103
+ }
104
+ }
105
+ }
106
+ },
107
+ "components": {
108
+ "securitySchemes": {
109
+ "EpilotAuth": {
110
+ "type": "http",
111
+ "scheme": "bearer",
112
+ "description": "Authorization header with epilot OAuth2 bearer token",
113
+ "bearerFormat": "JWT"
114
+ }
115
+ },
116
+ "schemas": {
117
+ "DeduplicateRequestBody": {
118
+ "type": "array",
119
+ "items": {
120
+ "type": "object",
121
+ "properties": {
122
+ "toKeep": {
123
+ "type": "string"
124
+ },
125
+ "toDelete": {
126
+ "type": "array",
127
+ "items": {
128
+ "type": "string"
129
+ }
130
+ }
131
+ },
132
+ "required": [
133
+ "toKeep",
134
+ "toDelete"
135
+ ]
136
+ }
137
+ },
138
+ "DeduplicateRequestResponse": {
139
+ "type": "array",
140
+ "items": {
141
+ "$ref": "#/components/schemas/Entity"
142
+ }
143
+ },
144
+ "Entity": {
145
+ "type": "object",
146
+ "properties": {
147
+ "_id": {
148
+ "type": "string",
149
+ "description": "Entity ID of the Deduplication entry"
150
+ },
151
+ "_org": {
152
+ "type": "string",
153
+ "description": "ID of the Organization that owns this Deduplication"
154
+ },
155
+ "_schema": {
156
+ "type": "string",
157
+ "description": "The Entity schema of this Deduplication"
158
+ },
159
+ "_created_at": {
160
+ "type": "string",
161
+ "description": "The timestamp of when this Deduplication was created",
162
+ "format": "date-time"
163
+ },
164
+ "_updated_at": {
165
+ "type": "string",
166
+ "description": "The timestamp of when this Deduplication was last updated",
167
+ "format": "date-time"
168
+ },
169
+ "_created_by": {
170
+ "anyOf": [
171
+ {
172
+ "type": "string"
173
+ },
174
+ {
175
+ "type": "number"
176
+ }
177
+ ],
178
+ "description": "The Entity ID of the User that created this Deduplication"
179
+ },
180
+ "created_by": {
181
+ "anyOf": [
182
+ {
183
+ "type": "string"
184
+ },
185
+ {
186
+ "type": "number"
187
+ }
188
+ ],
189
+ "description": "The Entity ID of the User that created this Deduplication"
190
+ },
191
+ "_tags": {
192
+ "type": "array",
193
+ "items": {
194
+ "type": "string"
195
+ },
196
+ "description": "Tags associated with this Deduplication"
197
+ },
198
+ "_acl": {
199
+ "type": "object",
200
+ "additionalProperties": {
201
+ "type": "array",
202
+ "items": {
203
+ "type": "string"
204
+ }
205
+ },
206
+ "description": "Access Control List for this Deduplication entry"
207
+ },
208
+ "_owners": {
209
+ "type": "array",
210
+ "items": {
211
+ "type": "object",
212
+ "properties": {
213
+ "org_id": {
214
+ "type": "string"
215
+ },
216
+ "user_id": {
217
+ "type": "string"
218
+ }
219
+ },
220
+ "required": [
221
+ "org_id",
222
+ "user_id"
223
+ ]
224
+ }
225
+ },
226
+ "type": {
227
+ "type": "string",
228
+ "description": "Entity ID of the Deduplication entry"
229
+ }
230
+ },
231
+ "required": [
232
+ "_id"
233
+ ],
234
+ "description": "Base Entity schema"
235
+ },
236
+ "DeduplicateAsyncResponse": {
237
+ "type": "object",
238
+ "properties": {
239
+ "jobId": {
240
+ "type": "string",
241
+ "description": "Job ID to poll for status via GET /v1/deduplicate/jobs/{jobId}"
242
+ },
243
+ "status": {
244
+ "$ref": "#/components/schemas/JobStatus"
245
+ },
246
+ "message": {
247
+ "type": "string",
248
+ "description": "Initial status message"
249
+ }
250
+ },
251
+ "required": [
252
+ "jobId",
253
+ "status",
254
+ "message"
255
+ ],
256
+ "description": "Response returned immediately when a deduplication job is submitted"
257
+ },
258
+ "JobStatus": {
259
+ "type": "string",
260
+ "enum": [
261
+ "pending",
262
+ "processing",
263
+ "completed",
264
+ "failed"
265
+ ]
266
+ },
267
+ "DeduplicationJob": {
268
+ "type": "object",
269
+ "properties": {
270
+ "jobId": {
271
+ "type": "string",
272
+ "description": "Unique identifier for the deduplication job"
273
+ },
274
+ "status": {
275
+ "$ref": "#/components/schemas/JobStatus"
276
+ },
277
+ "message": {
278
+ "type": "string",
279
+ "description": "Human-readable status message (e.g. progress info or error details)"
280
+ },
281
+ "result": {
282
+ "type": "array",
283
+ "items": {
284
+ "$ref": "#/components/schemas/Entity"
285
+ },
286
+ "description": "Array of deduplicated entities, present when status is completed"
287
+ },
288
+ "createdAt": {
289
+ "type": "string",
290
+ "description": "ISO 8601 timestamp of job creation",
291
+ "format": "date-time"
292
+ },
293
+ "updatedAt": {
294
+ "type": "string",
295
+ "description": "ISO 8601 timestamp of last update",
296
+ "format": "date-time"
297
+ }
298
+ },
299
+ "required": [
300
+ "jobId",
301
+ "status",
302
+ "createdAt",
303
+ "updatedAt"
304
+ ],
305
+ "description": "Represents an async deduplication job"
306
+ }
307
+ }
308
+ },
309
+ "servers": [
310
+ {
311
+ "url": "https://deduplication.sls.epilot.io"
312
+ }
313
+ ]
314
+ }
@@ -0,0 +1 @@
1
+ {"s":"https://design-builder-api.{environment}.epilot.io","o":[["getAllDesigns","get","/v1/designs"],["addDesign","post","/v1/designs",null,1],["getDesign","get","/v1/designs/{designId}",[["designId","p",true]]],["deleteDesign","delete","/v1/designs/{designId}",[["designId","p",true]]],["updateDesign","put","/v1/designs/{designId}",[["designId","p",true]],1],["getThemeFromDesign","get","/v1/designs/{designId}/parse",[["designId","p",true],["orgId","q"],["theme","q",true]]],["uploadFile","post","/v1/designs/files",null,1],["getFiles","get","/v1/designs/files",[["type","q"]]],["getLimit","get","/v1/designs/limit"],["getBrands","get","/v1/brands"],["getConsumerDesign","get","/v1/designs/consumer/{application}/{consumerId}",[["consumerId","p",true],["application","p",true]]],["addConsumer","put","/v1/designs/addConsumer/{application}/{designId}",[["designId","p",true],["application","p",true]],1],["removeConsumer","put","/v1/designs/removeConsumer/{application}/{designId}",[["designId","p",true],["application","p",true]],1]],"sv":{"environment":{"default":"sls","enum":["sls","dev.sls","staging.sls"]}},"v":"3.0.3"}