@epilot/sdk 2.0.0-beta.6 → 2.0.3

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 (134) hide show
  1. package/LICENSE +21 -0
  2. package/dist/apis/automation.d.cts +2 -2
  3. package/dist/apis/automation.d.ts +2 -2
  4. package/dist/apis/customer-portal.cjs +1 -1
  5. package/dist/apis/customer-portal.d.cts +2 -2
  6. package/dist/apis/customer-portal.d.ts +2 -2
  7. package/dist/apis/customer-portal.js +1 -1
  8. package/dist/apis/erp-integration.cjs +1 -1
  9. package/dist/apis/erp-integration.d.cts +2 -2
  10. package/dist/apis/erp-integration.d.ts +2 -2
  11. package/dist/apis/erp-integration.js +1 -1
  12. package/dist/apis/journey.d.cts +2 -2
  13. package/dist/apis/journey.d.ts +2 -2
  14. package/dist/apis/kanban.d.cts +2 -2
  15. package/dist/apis/kanban.d.ts +2 -2
  16. package/dist/apis/organization.cjs +1 -1
  17. package/dist/apis/organization.d.cts +2 -2
  18. package/dist/apis/organization.d.ts +2 -2
  19. package/dist/apis/organization.js +1 -1
  20. package/dist/apis/workflow.d.cts +2 -2
  21. package/dist/apis/workflow.d.ts +2 -2
  22. package/dist/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
  23. package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
  24. package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
  25. package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
  26. package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
  27. package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
  28. package/dist/index.d.cts +7 -7
  29. package/dist/index.d.ts +7 -7
  30. package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.cts} +122 -4
  31. package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.ts} +122 -4
  32. package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
  33. package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
  34. package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
  35. package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
  36. package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
  37. package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
  38. package/package.json +10 -11
  39. package/definitions/access-token-runtime.json +0 -1
  40. package/definitions/access-token.json +0 -663
  41. package/definitions/address-runtime.json +0 -1
  42. package/definitions/address-suggestions-runtime.json +0 -1
  43. package/definitions/address-suggestions.json +0 -582
  44. package/definitions/address.json +0 -578
  45. package/definitions/ai-agents-runtime.json +0 -1
  46. package/definitions/ai-agents.json +0 -1711
  47. package/definitions/app-runtime.json +0 -1
  48. package/definitions/app.json +0 -4443
  49. package/definitions/audit-logs-runtime.json +0 -1
  50. package/definitions/audit-logs.json +0 -305
  51. package/definitions/automation-runtime.json +0 -1
  52. package/definitions/automation.json +0 -4850
  53. package/definitions/billing-runtime.json +0 -1
  54. package/definitions/billing.json +0 -837
  55. package/definitions/blueprint-manifest-runtime.json +0 -1
  56. package/definitions/blueprint-manifest.json +0 -3376
  57. package/definitions/consent-runtime.json +0 -1
  58. package/definitions/consent.json +0 -344
  59. package/definitions/customer-portal-runtime.json +0 -1
  60. package/definitions/customer-portal.json +0 -15000
  61. package/definitions/dashboard-runtime.json +0 -1
  62. package/definitions/dashboard.json +0 -484
  63. package/definitions/data-management-runtime.json +0 -1
  64. package/definitions/data-management.json +0 -962
  65. package/definitions/deduplication-runtime.json +0 -1
  66. package/definitions/deduplication.json +0 -183
  67. package/definitions/design-runtime.json +0 -1
  68. package/definitions/design.json +0 -1423
  69. package/definitions/document-runtime.json +0 -1
  70. package/definitions/document.json +0 -758
  71. package/definitions/email-settings-runtime.json +0 -1
  72. package/definitions/email-settings.json +0 -2627
  73. package/definitions/email-template-runtime.json +0 -1
  74. package/definitions/email-template.json +0 -1419
  75. package/definitions/entity-mapping-runtime.json +0 -1
  76. package/definitions/entity-mapping.json +0 -1642
  77. package/definitions/entity-runtime.json +0 -1
  78. package/definitions/entity.json +0 -10074
  79. package/definitions/environments-runtime.json +0 -1
  80. package/definitions/environments.json +0 -363
  81. package/definitions/erp-integration-runtime.json +0 -1
  82. package/definitions/erp-integration.json +0 -5845
  83. package/definitions/event-catalog-runtime.json +0 -1
  84. package/definitions/event-catalog.json +0 -1051
  85. package/definitions/file-runtime.json +0 -1
  86. package/definitions/file.json +0 -2842
  87. package/definitions/iban-runtime.json +0 -1
  88. package/definitions/iban.json +0 -132
  89. package/definitions/journey-runtime.json +0 -1
  90. package/definitions/journey.json +0 -2341
  91. package/definitions/kanban-runtime.json +0 -1
  92. package/definitions/kanban.json +0 -929
  93. package/definitions/message-runtime.json +0 -1
  94. package/definitions/message.json +0 -2660
  95. package/definitions/metering-runtime.json +0 -1
  96. package/definitions/metering.json +0 -2321
  97. package/definitions/notes-runtime.json +0 -1
  98. package/definitions/notes.json +0 -1531
  99. package/definitions/notification-runtime.json +0 -1
  100. package/definitions/notification.json +0 -1425
  101. package/definitions/organization-runtime.json +0 -1
  102. package/definitions/organization.json +0 -629
  103. package/definitions/partner-directory-runtime.json +0 -1
  104. package/definitions/partner-directory.json +0 -1718
  105. package/definitions/permissions-runtime.json +0 -1
  106. package/definitions/permissions.json +0 -1480
  107. package/definitions/pricing-runtime.json +0 -1
  108. package/definitions/pricing-tier-runtime.json +0 -1
  109. package/definitions/pricing-tier.json +0 -105
  110. package/definitions/pricing.json +0 -9884
  111. package/definitions/purpose-runtime.json +0 -1
  112. package/definitions/purpose.json +0 -524
  113. package/definitions/sandbox-runtime.json +0 -1
  114. package/definitions/sandbox.json +0 -453
  115. package/definitions/submission-runtime.json +0 -1
  116. package/definitions/submission.json +0 -313
  117. package/definitions/targeting-runtime.json +0 -1
  118. package/definitions/targeting.json +0 -1474
  119. package/definitions/template-variables-runtime.json +0 -1
  120. package/definitions/template-variables.json +0 -1408
  121. package/definitions/user-runtime.json +0 -1
  122. package/definitions/user.json +0 -2408
  123. package/definitions/validation-rules-runtime.json +0 -1
  124. package/definitions/validation-rules.json +0 -1491
  125. package/definitions/webhooks-runtime.json +0 -1
  126. package/definitions/webhooks.json +0 -1525
  127. package/definitions/workflow-definition-runtime.json +0 -1
  128. package/definitions/workflow-definition.json +0 -3417
  129. package/definitions/workflow-runtime.json +0 -1
  130. package/definitions/workflow.json +0 -4106
  131. package/dist/kanban.d-DUClxyBG.d.cts +0 -630
  132. package/dist/kanban.d-DUClxyBG.d.ts +0 -630
  133. package/dist/organization.d-BOLK3v9o.d.cts +0 -628
  134. package/dist/organization.d-BOLK3v9o.d.ts +0 -628
@@ -1 +0,0 @@
1
- {"s":"https://purpose.sls.epilot.io","o":[["createPurpose","post","/v1/purpose",null,1],["searchPurposes","get","/v1/purpose:search",[["QueryParam"],["SizeParam"]]],["batchGetPurposes","post","/v1/purpose:batchGet",null,1],["getPurpose","get","/v1/purpose/{purposeId}",[["PurposeIdPathParam"]]],["updatePurpose","put","/v1/purpose/{purposeId}",[["PurposeIdPathParam"]],1],["deletePurpose","delete","/v1/purpose/{purposeId}",[["PurposeIdPathParam"]]]],"v":"3.0.3","cp":{"PurposeIdPathParam":["purposeId","p",true],"QueryParam":["query","q"],"SizeParam":["size","q"]}}
@@ -1,524 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Purpose API",
5
- "version": "1.0.0",
6
- "description": "Purpose API - enables the management of purposes for the epilot platform. \n\nepilot 'Purposes' are a special system taxonomy used to tag and organize resources (entities, attributes, groups, automations, templates, etc.) across the platform.\nIn essence, purposes are deeply connected to what information users can see or not on epilot360 UIs based on the \"purpose\" of the tasks they have at hand.\n",
7
- "contact": {
8
- "name": "Support",
9
- "email": "info@epilot.cloud",
10
- "url": "https://help.epilot.cloud"
11
- }
12
- },
13
- "tags": [
14
- {
15
- "name": "Purpose",
16
- "description": "Purpose operations"
17
- },
18
- {
19
- "name": "purpose_schema",
20
- "x-displayName": "Purpose",
21
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/Purpose\" />\n"
22
- }
23
- ],
24
- "x-tagGroups": [
25
- {
26
- "name": "APIs",
27
- "tags": [
28
- "Purpose"
29
- ]
30
- },
31
- {
32
- "name": "Schemas",
33
- "tags": [
34
- "purpose_schema"
35
- ]
36
- }
37
- ],
38
- "security": [
39
- {
40
- "EpilotAuth": []
41
- },
42
- {
43
- "EpilotOrg": []
44
- }
45
- ],
46
- "servers": [
47
- {
48
- "url": "https://purpose.sls.epilot.io"
49
- },
50
- {
51
- "url": "https://purpose.sls.epilot.io",
52
- "description": "Production server"
53
- }
54
- ],
55
- "paths": {
56
- "/v1/purpose": {
57
- "post": {
58
- "operationId": "createPurpose",
59
- "summary": "Create Purpose",
60
- "description": "Create a new purpose",
61
- "tags": [
62
- "Purpose"
63
- ],
64
- "requestBody": {
65
- "$ref": "#/components/requestBodies/CreatePurposeRequest"
66
- },
67
- "responses": {
68
- "201": {
69
- "$ref": "#/components/responses/PurposeResponse"
70
- },
71
- "400": {
72
- "$ref": "#/components/responses/ClientErrorResponse"
73
- },
74
- "401": {
75
- "$ref": "#/components/responses/UnauthorizedResponse"
76
- },
77
- "403": {
78
- "$ref": "#/components/responses/ForbiddenResponse"
79
- },
80
- "409": {
81
- "$ref": "#/components/responses/ConflictResponse"
82
- },
83
- "500": {
84
- "$ref": "#/components/responses/ServerErrorResponse"
85
- }
86
- }
87
- }
88
- },
89
- "/v1/purpose:search": {
90
- "get": {
91
- "operationId": "searchPurposes",
92
- "summary": "Search Purposes",
93
- "description": "Search purposes using fuzzy matching.\n",
94
- "tags": [
95
- "Purpose"
96
- ],
97
- "parameters": [
98
- {
99
- "$ref": "#/components/parameters/QueryParam"
100
- },
101
- {
102
- "$ref": "#/components/parameters/SizeParam"
103
- }
104
- ],
105
- "responses": {
106
- "200": {
107
- "$ref": "#/components/responses/PurposeSearchResponse"
108
- },
109
- "401": {
110
- "$ref": "#/components/responses/UnauthorizedResponse"
111
- },
112
- "500": {
113
- "$ref": "#/components/responses/ServerErrorResponse"
114
- }
115
- }
116
- }
117
- },
118
- "/v1/purpose:batchGet": {
119
- "post": {
120
- "operationId": "batchGetPurposes",
121
- "summary": "Batch Get Purposes",
122
- "description": "Fetch multiple purposes by their known IDs in a single request.\n\n**Use this for:**\n- Hydrating purpose references from entities\n- Resolving a list of purpose IDs to full objects\n\n**Do NOT use this for:**\n- Browsing/discovering purposes (use `searchPurposes` instead)\n- Autocomplete (use `searchPurposes` instead)\n\n**Examples:**\n- Entity has `_purposes: [\"uuid-1\", \"uuid-2\"]` → fetch full purpose objects\n- Display purpose names for a list of tagged entities\n",
123
- "tags": [
124
- "Purpose"
125
- ],
126
- "requestBody": {
127
- "$ref": "#/components/requestBodies/BatchGetPurposesRequest"
128
- },
129
- "responses": {
130
- "200": {
131
- "$ref": "#/components/responses/PurposeListResponse"
132
- },
133
- "400": {
134
- "$ref": "#/components/responses/ClientErrorResponse"
135
- },
136
- "401": {
137
- "$ref": "#/components/responses/UnauthorizedResponse"
138
- },
139
- "500": {
140
- "$ref": "#/components/responses/ServerErrorResponse"
141
- }
142
- }
143
- }
144
- },
145
- "/v1/purpose/{purposeId}": {
146
- "get": {
147
- "operationId": "getPurpose",
148
- "summary": "Get Purpose",
149
- "description": "Get a single purpose by ID",
150
- "tags": [
151
- "Purpose"
152
- ],
153
- "parameters": [
154
- {
155
- "$ref": "#/components/parameters/PurposeIdPathParam"
156
- }
157
- ],
158
- "responses": {
159
- "200": {
160
- "$ref": "#/components/responses/PurposeResponse"
161
- },
162
- "401": {
163
- "$ref": "#/components/responses/UnauthorizedResponse"
164
- },
165
- "404": {
166
- "$ref": "#/components/responses/NotFoundResponse"
167
- },
168
- "500": {
169
- "$ref": "#/components/responses/ServerErrorResponse"
170
- }
171
- }
172
- },
173
- "put": {
174
- "operationId": "updatePurpose",
175
- "summary": "Update Purpose",
176
- "description": "Update an existing purpose",
177
- "tags": [
178
- "Purpose"
179
- ],
180
- "parameters": [
181
- {
182
- "$ref": "#/components/parameters/PurposeIdPathParam"
183
- }
184
- ],
185
- "requestBody": {
186
- "$ref": "#/components/requestBodies/UpdatePurposeRequest"
187
- },
188
- "responses": {
189
- "200": {
190
- "$ref": "#/components/responses/PurposeResponse"
191
- },
192
- "400": {
193
- "$ref": "#/components/responses/ClientErrorResponse"
194
- },
195
- "401": {
196
- "$ref": "#/components/responses/UnauthorizedResponse"
197
- },
198
- "403": {
199
- "$ref": "#/components/responses/ForbiddenResponse"
200
- },
201
- "404": {
202
- "$ref": "#/components/responses/NotFoundResponse"
203
- },
204
- "500": {
205
- "$ref": "#/components/responses/ServerErrorResponse"
206
- }
207
- }
208
- },
209
- "delete": {
210
- "operationId": "deletePurpose",
211
- "summary": "Delete Purpose",
212
- "description": "Permanently delete a purpose",
213
- "tags": [
214
- "Purpose"
215
- ],
216
- "parameters": [
217
- {
218
- "$ref": "#/components/parameters/PurposeIdPathParam"
219
- }
220
- ],
221
- "responses": {
222
- "200": {
223
- "$ref": "#/components/responses/PurposeResponse"
224
- },
225
- "401": {
226
- "$ref": "#/components/responses/UnauthorizedResponse"
227
- },
228
- "403": {
229
- "$ref": "#/components/responses/ForbiddenResponse"
230
- },
231
- "404": {
232
- "$ref": "#/components/responses/NotFoundResponse"
233
- },
234
- "500": {
235
- "$ref": "#/components/responses/ServerErrorResponse"
236
- }
237
- }
238
- }
239
- }
240
- },
241
- "components": {
242
- "securitySchemes": {
243
- "EpilotAuth": {
244
- "type": "http",
245
- "scheme": "bearer",
246
- "bearerFormat": "JWT",
247
- "description": "Epilot Bearer token"
248
- },
249
- "EpilotOrg": {
250
- "type": "apiKey",
251
- "in": "header",
252
- "name": "x-epilot-org-id",
253
- "description": "Epilot Organization ID"
254
- }
255
- },
256
- "parameters": {
257
- "PurposeIdPathParam": {
258
- "name": "purposeId",
259
- "in": "path",
260
- "required": true,
261
- "description": "Purpose ID (UUID)",
262
- "schema": {
263
- "type": "string"
264
- },
265
- "example": "1fdc8f66-0e2b-4e20-a347-9cbdbf6a7217"
266
- },
267
- "QueryParam": {
268
- "name": "query",
269
- "in": "query",
270
- "required": false,
271
- "description": "Search query string",
272
- "schema": {
273
- "type": "string"
274
- },
275
- "example": "electricity"
276
- },
277
- "SizeParam": {
278
- "name": "size",
279
- "in": "query",
280
- "required": false,
281
- "description": "Maximum number of results to return",
282
- "schema": {
283
- "type": "integer",
284
- "minimum": 1,
285
- "maximum": 100,
286
- "default": 50
287
- }
288
- }
289
- },
290
- "schemas": {
291
- "Purpose": {
292
- "type": "object",
293
- "description": "A purpose used to tag and organize entities",
294
- "required": [
295
- "id",
296
- "name"
297
- ],
298
- "properties": {
299
- "id": {
300
- "type": "string",
301
- "format": "uuid",
302
- "description": "Unique identifier",
303
- "example": "123e4567-e89b-12d3-a456-426614174000"
304
- },
305
- "name": {
306
- "type": "string",
307
- "description": "Human-readable name",
308
- "example": "Electricity Contract"
309
- },
310
- "created_at": {
311
- "type": "string",
312
- "format": "date-time",
313
- "description": "ISO timestamp of creation"
314
- },
315
- "updated_at": {
316
- "type": "string",
317
- "format": "date-time",
318
- "description": "ISO timestamp of last update"
319
- }
320
- }
321
- },
322
- "CreatePurposeInput": {
323
- "type": "object",
324
- "description": "Input for creating a new purpose",
325
- "required": [
326
- "name"
327
- ],
328
- "properties": {
329
- "name": {
330
- "type": "string",
331
- "description": "Human-readable name",
332
- "example": "Electricity Contract"
333
- }
334
- }
335
- },
336
- "UpdatePurposeInput": {
337
- "type": "object",
338
- "description": "Input for updating an existing purpose",
339
- "properties": {
340
- "name": {
341
- "type": "string",
342
- "description": "Human-readable name"
343
- }
344
- }
345
- },
346
- "BatchGetPurposesInput": {
347
- "type": "object",
348
- "description": "Input for batch getting purposes",
349
- "required": [
350
- "purposeIds"
351
- ],
352
- "properties": {
353
- "purposeIds": {
354
- "type": "array",
355
- "items": {
356
- "type": "string"
357
- },
358
- "description": "List of purpose IDs to fetch",
359
- "example": [
360
- "123e4567-e89b-12d3-a456-426614174000"
361
- ]
362
- }
363
- }
364
- },
365
- "Error": {
366
- "type": "object",
367
- "properties": {
368
- "status": {
369
- "type": "integer",
370
- "description": "HTTP status code"
371
- },
372
- "error": {
373
- "type": "string",
374
- "description": "Error message"
375
- }
376
- }
377
- }
378
- },
379
- "requestBodies": {
380
- "CreatePurposeRequest": {
381
- "required": true,
382
- "content": {
383
- "application/json": {
384
- "schema": {
385
- "$ref": "#/components/schemas/CreatePurposeInput"
386
- }
387
- }
388
- }
389
- },
390
- "UpdatePurposeRequest": {
391
- "required": true,
392
- "content": {
393
- "application/json": {
394
- "schema": {
395
- "$ref": "#/components/schemas/UpdatePurposeInput"
396
- }
397
- }
398
- }
399
- },
400
- "BatchGetPurposesRequest": {
401
- "required": true,
402
- "content": {
403
- "application/json": {
404
- "schema": {
405
- "$ref": "#/components/schemas/BatchGetPurposesInput"
406
- }
407
- }
408
- }
409
- }
410
- },
411
- "responses": {
412
- "PurposeResponse": {
413
- "description": "Single purpose response",
414
- "content": {
415
- "application/json": {
416
- "schema": {
417
- "$ref": "#/components/schemas/Purpose"
418
- }
419
- }
420
- }
421
- },
422
- "PurposeListResponse": {
423
- "description": "List of purposes",
424
- "content": {
425
- "application/json": {
426
- "schema": {
427
- "type": "object",
428
- "properties": {
429
- "results": {
430
- "type": "array",
431
- "items": {
432
- "$ref": "#/components/schemas/Purpose"
433
- }
434
- },
435
- "hits": {
436
- "type": "integer",
437
- "description": "Total number of results"
438
- }
439
- }
440
- }
441
- }
442
- }
443
- },
444
- "PurposeSearchResponse": {
445
- "description": "Search results",
446
- "content": {
447
- "application/json": {
448
- "schema": {
449
- "type": "object",
450
- "properties": {
451
- "results": {
452
- "type": "array",
453
- "items": {
454
- "$ref": "#/components/schemas/Purpose"
455
- }
456
- }
457
- }
458
- }
459
- }
460
- }
461
- },
462
- "ClientErrorResponse": {
463
- "description": "Client error",
464
- "content": {
465
- "application/json": {
466
- "schema": {
467
- "$ref": "#/components/schemas/Error"
468
- }
469
- }
470
- }
471
- },
472
- "UnauthorizedResponse": {
473
- "description": "Unauthorized",
474
- "content": {
475
- "application/json": {
476
- "schema": {
477
- "$ref": "#/components/schemas/Error"
478
- }
479
- }
480
- }
481
- },
482
- "ForbiddenResponse": {
483
- "description": "Forbidden",
484
- "content": {
485
- "application/json": {
486
- "schema": {
487
- "$ref": "#/components/schemas/Error"
488
- }
489
- }
490
- }
491
- },
492
- "NotFoundResponse": {
493
- "description": "Not found",
494
- "content": {
495
- "application/json": {
496
- "schema": {
497
- "$ref": "#/components/schemas/Error"
498
- }
499
- }
500
- }
501
- },
502
- "ConflictResponse": {
503
- "description": "Conflict - resource already exists",
504
- "content": {
505
- "application/json": {
506
- "schema": {
507
- "$ref": "#/components/schemas/Error"
508
- }
509
- }
510
- }
511
- },
512
- "ServerErrorResponse": {
513
- "description": "Server error",
514
- "content": {
515
- "application/json": {
516
- "schema": {
517
- "$ref": "#/components/schemas/Error"
518
- }
519
- }
520
- }
521
- }
522
- }
523
- }
524
- }
@@ -1 +0,0 @@
1
- {"s":"https://sandbox.sls.epilot.io","o":[["listPipelines","get","/v1/sandbox/pipelines"],["createPipeline","post","/v1/sandbox/pipelines",null,1],["getPipeline","get","/v1/sandbox/pipelines/{pipeline_id}",[["pipeline_id","p",true]]],["deletePipeline","delete","/v1/sandbox/pipelines/{pipeline_id}",[["pipeline_id","p",true]]],["generatePipelineToken","get","/v1/sandbox/pipelines/{pipeline_id}/token",[["pipeline_id","p",true]]],["requestSandbox","post","/v1/sandbox:request",null,1],["listSandboxRequests","get","/v1/sandbox/requests"]],"v":"3.0.3"}