epilot 0.1.0 → 0.1.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 (108) hide show
  1. package/README.md +7 -345
  2. package/bin/epilot.js +5 -0
  3. package/package.json +7 -33
  4. package/definitions/access-token.json +0 -663
  5. package/definitions/address-suggestions.json +0 -582
  6. package/definitions/address.json +0 -578
  7. package/definitions/ai-agents.json +0 -1711
  8. package/definitions/app.json +0 -4443
  9. package/definitions/audit-logs.json +0 -305
  10. package/definitions/automation.json +0 -4815
  11. package/definitions/billing.json +0 -837
  12. package/definitions/blueprint-manifest.json +0 -3376
  13. package/definitions/consent.json +0 -344
  14. package/definitions/customer-portal.json +0 -15000
  15. package/definitions/dashboard.json +0 -484
  16. package/definitions/data-management.json +0 -962
  17. package/definitions/deduplication.json +0 -183
  18. package/definitions/design.json +0 -1423
  19. package/definitions/document.json +0 -758
  20. package/definitions/email-settings.json +0 -2627
  21. package/definitions/email-template.json +0 -1419
  22. package/definitions/entity-mapping.json +0 -1642
  23. package/definitions/entity.json +0 -10074
  24. package/definitions/environments.json +0 -363
  25. package/definitions/erp-integration.json +0 -5845
  26. package/definitions/event-catalog.json +0 -1051
  27. package/definitions/file.json +0 -2842
  28. package/definitions/iban.json +0 -132
  29. package/definitions/journey.json +0 -2341
  30. package/definitions/kanban.json +0 -929
  31. package/definitions/message.json +0 -2660
  32. package/definitions/metering.json +0 -2321
  33. package/definitions/notes.json +0 -1531
  34. package/definitions/notification.json +0 -1425
  35. package/definitions/organization.json +0 -629
  36. package/definitions/partner-directory.json +0 -1718
  37. package/definitions/permissions.json +0 -1480
  38. package/definitions/pricing-tier.json +0 -105
  39. package/definitions/pricing.json +0 -9884
  40. package/definitions/purpose.json +0 -524
  41. package/definitions/sandbox.json +0 -453
  42. package/definitions/submission.json +0 -313
  43. package/definitions/targeting.json +0 -1474
  44. package/definitions/template-variables.json +0 -1408
  45. package/definitions/user.json +0 -2408
  46. package/definitions/validation-rules.json +0 -1491
  47. package/definitions/webhooks.json +0 -1525
  48. package/definitions/workflow-definition.json +0 -3417
  49. package/definitions/workflow.json +0 -4106
  50. package/dist/access-token-OG5AR7UB.js +0 -51
  51. package/dist/address-QUSMK5GV.js +0 -51
  52. package/dist/address-suggestions-E5SQNUS5.js +0 -51
  53. package/dist/ai-agents-PM42SJY3.js +0 -51
  54. package/dist/app-YTM3XAJL.js +0 -51
  55. package/dist/audit-logs-NXP7GFKX.js +0 -51
  56. package/dist/auth-CCBTXH5U.js +0 -113
  57. package/dist/auth-login-2ZIXM47J.js +0 -137
  58. package/dist/auth-token-OS4BEEVZ.js +0 -43
  59. package/dist/automation-TDJASTEV.js +0 -51
  60. package/dist/billing-M4MRBLEK.js +0 -51
  61. package/dist/bin/epilot.js +0 -104
  62. package/dist/blueprint-manifest-NQL7NRMV.js +0 -51
  63. package/dist/chunk-57PPARIW.js +0 -715
  64. package/dist/chunk-5WUPDZ5D.js +0 -76
  65. package/dist/chunk-IST42ZNL.js +0 -78
  66. package/dist/chunk-RC3GCXCI.js +0 -76
  67. package/dist/chunk-TKZLQD2B.js +0 -72
  68. package/dist/chunk-UJ6TU34M.js +0 -56
  69. package/dist/completion-GRQM2FJQ.js +0 -168
  70. package/dist/consent-KQ7MJAS6.js +0 -51
  71. package/dist/customer-portal-VUVSKWAQ.js +0 -51
  72. package/dist/dashboard-GVR4XNGR.js +0 -51
  73. package/dist/data-management-2RD3DLOS.js +0 -51
  74. package/dist/deduplication-PY77EINR.js +0 -51
  75. package/dist/design-M4FP2K5R.js +0 -51
  76. package/dist/document-P4QA7LEZ.js +0 -51
  77. package/dist/email-settings-7HGGRCCM.js +0 -51
  78. package/dist/email-template-3HXQI4CH.js +0 -51
  79. package/dist/entity-XUESZBPJ.js +0 -51
  80. package/dist/entity-mapping-JBKWWBH2.js +0 -51
  81. package/dist/environments-KKOS7ONY.js +0 -51
  82. package/dist/erp-integration-YTOWHCAW.js +0 -51
  83. package/dist/event-catalog-UKLZUGC4.js +0 -51
  84. package/dist/file-IFZNZ547.js +0 -51
  85. package/dist/iban-X2IW2NWU.js +0 -51
  86. package/dist/interactive-46ICLQKL.js +0 -16
  87. package/dist/journey-JU6X2KMX.js +0 -51
  88. package/dist/kanban-VHUU44PM.js +0 -51
  89. package/dist/message-AOUWJ4YX.js +0 -51
  90. package/dist/metering-RDS3XBD5.js +0 -51
  91. package/dist/notes-WE2UC75B.js +0 -51
  92. package/dist/notification-FKFNBHYZ.js +0 -51
  93. package/dist/organization-LMNFF6BX.js +0 -51
  94. package/dist/partner-directory-IIZVQDXJ.js +0 -51
  95. package/dist/permissions-AYCMVM7Y.js +0 -51
  96. package/dist/pricing-PS26FWBS.js +0 -51
  97. package/dist/pricing-tier-FBXWQ6T3.js +0 -51
  98. package/dist/profile-5Q5YARG7.js +0 -135
  99. package/dist/purpose-HE4E4SVU.js +0 -51
  100. package/dist/sandbox-Z7BU4UAD.js +0 -51
  101. package/dist/submission-MWVDF2ZB.js +0 -51
  102. package/dist/targeting-7NM5GDJ6.js +0 -51
  103. package/dist/template-variables-AJAR7PAV.js +0 -51
  104. package/dist/user-A26XQXG3.js +0 -51
  105. package/dist/validation-rules-VZTISEG2.js +0 -51
  106. package/dist/webhooks-RXH67WZ3.js +0 -51
  107. package/dist/workflow-G4FUUGZQ.js +0 -51
  108. package/dist/workflow-definition-LJYLMMGD.js +0 -51
@@ -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
- }