@epilot/sdk 2.1.10 → 2.2.0

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 (95) hide show
  1. package/dist/bin/cli.js +35 -11
  2. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  3. package/package.json +1 -1
  4. package/definitions/access-token-runtime.json +0 -1
  5. package/definitions/access-token.json +0 -663
  6. package/definitions/address-runtime.json +0 -1
  7. package/definitions/address-suggestions-runtime.json +0 -1
  8. package/definitions/address-suggestions.json +0 -582
  9. package/definitions/address.json +0 -578
  10. package/definitions/ai-agents-runtime.json +0 -1
  11. package/definitions/ai-agents.json +0 -1711
  12. package/definitions/app-runtime.json +0 -1
  13. package/definitions/app.json +0 -4493
  14. package/definitions/audit-logs-runtime.json +0 -1
  15. package/definitions/audit-logs.json +0 -305
  16. package/definitions/automation-runtime.json +0 -1
  17. package/definitions/automation.json +0 -4815
  18. package/definitions/billing-runtime.json +0 -1
  19. package/definitions/billing.json +0 -837
  20. package/definitions/blueprint-manifest-runtime.json +0 -1
  21. package/definitions/blueprint-manifest.json +0 -3490
  22. package/definitions/consent-runtime.json +0 -1
  23. package/definitions/consent.json +0 -344
  24. package/definitions/customer-portal-runtime.json +0 -1
  25. package/definitions/customer-portal.json +0 -15676
  26. package/definitions/dashboard-runtime.json +0 -1
  27. package/definitions/dashboard.json +0 -484
  28. package/definitions/data-management-runtime.json +0 -1
  29. package/definitions/data-management.json +0 -972
  30. package/definitions/deduplication-runtime.json +0 -1
  31. package/definitions/deduplication.json +0 -183
  32. package/definitions/design-runtime.json +0 -1
  33. package/definitions/design.json +0 -1423
  34. package/definitions/document-runtime.json +0 -1
  35. package/definitions/document.json +0 -758
  36. package/definitions/email-settings-runtime.json +0 -1
  37. package/definitions/email-settings.json +0 -2748
  38. package/definitions/email-template-runtime.json +0 -1
  39. package/definitions/email-template.json +0 -1441
  40. package/definitions/entity-mapping-runtime.json +0 -1
  41. package/definitions/entity-mapping.json +0 -1642
  42. package/definitions/entity-runtime.json +0 -1
  43. package/definitions/entity.json +0 -10276
  44. package/definitions/environments-runtime.json +0 -1
  45. package/definitions/environments.json +0 -363
  46. package/definitions/erp-integration-runtime.json +0 -1
  47. package/definitions/erp-integration.json +0 -6304
  48. package/definitions/event-catalog-runtime.json +0 -1
  49. package/definitions/event-catalog.json +0 -1051
  50. package/definitions/file-runtime.json +0 -1
  51. package/definitions/file.json +0 -2842
  52. package/definitions/iban-runtime.json +0 -1
  53. package/definitions/iban.json +0 -132
  54. package/definitions/journey-runtime.json +0 -1
  55. package/definitions/journey.json +0 -2603
  56. package/definitions/kanban-runtime.json +0 -1
  57. package/definitions/kanban.json +0 -1505
  58. package/definitions/message-runtime.json +0 -1
  59. package/definitions/message.json +0 -2660
  60. package/definitions/metering-runtime.json +0 -1
  61. package/definitions/metering.json +0 -2321
  62. package/definitions/notes-runtime.json +0 -1
  63. package/definitions/notes.json +0 -1531
  64. package/definitions/notification-runtime.json +0 -1
  65. package/definitions/notification.json +0 -1425
  66. package/definitions/organization-runtime.json +0 -1
  67. package/definitions/organization.json +0 -1192
  68. package/definitions/partner-directory-runtime.json +0 -1
  69. package/definitions/partner-directory.json +0 -2284
  70. package/definitions/permissions-runtime.json +0 -1
  71. package/definitions/permissions.json +0 -1515
  72. package/definitions/pricing-runtime.json +0 -1
  73. package/definitions/pricing-tier-runtime.json +0 -1
  74. package/definitions/pricing-tier.json +0 -105
  75. package/definitions/pricing.json +0 -9884
  76. package/definitions/purpose-runtime.json +0 -1
  77. package/definitions/purpose.json +0 -524
  78. package/definitions/sandbox-runtime.json +0 -1
  79. package/definitions/sandbox.json +0 -453
  80. package/definitions/submission-runtime.json +0 -1
  81. package/definitions/submission.json +0 -313
  82. package/definitions/targeting-runtime.json +0 -1
  83. package/definitions/targeting.json +0 -1474
  84. package/definitions/template-variables-runtime.json +0 -1
  85. package/definitions/template-variables.json +0 -1408
  86. package/definitions/user-runtime.json +0 -1
  87. package/definitions/user.json +0 -2408
  88. package/definitions/validation-rules-runtime.json +0 -1
  89. package/definitions/validation-rules.json +0 -1491
  90. package/definitions/webhooks-runtime.json +0 -1
  91. package/definitions/webhooks.json +0 -1634
  92. package/definitions/workflow-definition-runtime.json +0 -1
  93. package/definitions/workflow-definition.json +0 -3417
  94. package/definitions/workflow-runtime.json +0 -1
  95. package/definitions/workflow.json +0 -4146
@@ -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"}