epilot 0.1.0 → 0.1.1

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,629 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Organization API",
5
- "description": "Manage epilot tenant organizations",
6
- "version": "1.0.0"
7
- },
8
- "tags": [
9
- {
10
- "name": "Organization",
11
- "description": "Organization info"
12
- },
13
- {
14
- "name": "Organization Settings",
15
- "description": "Organization Settings"
16
- },
17
- {
18
- "name": "Cleanup",
19
- "description": "Internal Cleanup endpoints"
20
- },
21
- {
22
- "name": "Internal",
23
- "description": "Internal endpoints"
24
- }
25
- ],
26
- "security": [
27
- {
28
- "EpilotAuth": []
29
- }
30
- ],
31
- "paths": {
32
- "/v2/organization/current": {
33
- "get": {
34
- "operationId": "getCurrentOrganization",
35
- "summary": "getCurrentOrganization",
36
- "description": "Get caller's current organization",
37
- "tags": [
38
- "Organization"
39
- ],
40
- "responses": {
41
- "200": {
42
- "description": "Current organization",
43
- "content": {
44
- "application/json": {
45
- "schema": {
46
- "$ref": "#/components/schemas/Organization"
47
- }
48
- }
49
- }
50
- }
51
- }
52
- }
53
- },
54
- "/v2/organization/{org_id}": {
55
- "get": {
56
- "operationId": "getOrganization",
57
- "summary": "getOrganization",
58
- "description": "Get an organization",
59
- "tags": [
60
- "Organization"
61
- ],
62
- "parameters": [
63
- {
64
- "in": "path",
65
- "name": "org_id",
66
- "schema": {
67
- "$ref": "#/components/schemas/OrganizationId"
68
- },
69
- "required": true,
70
- "description": "The Id of the organization."
71
- }
72
- ],
73
- "responses": {
74
- "200": {
75
- "description": "The returned organization",
76
- "content": {
77
- "application/json": {
78
- "schema": {
79
- "$ref": "#/components/schemas/Organization"
80
- }
81
- }
82
- }
83
- }
84
- }
85
- },
86
- "patch": {
87
- "operationId": "updateOrganization",
88
- "summary": "updateOrganization",
89
- "description": "Updates an organization",
90
- "tags": [
91
- "Organization"
92
- ],
93
- "parameters": [
94
- {
95
- "in": "path",
96
- "name": "org_id",
97
- "schema": {
98
- "$ref": "#/components/schemas/OrganizationId"
99
- },
100
- "required": true,
101
- "description": "The Id of the organization."
102
- }
103
- ],
104
- "requestBody": {
105
- "content": {
106
- "application/json": {
107
- "schema": {
108
- "$ref": "#/components/schemas/Organization"
109
- }
110
- }
111
- }
112
- },
113
- "responses": {
114
- "200": {
115
- "description": "The updated organization",
116
- "content": {
117
- "application/json": {
118
- "schema": {
119
- "$ref": "#/components/schemas/Organization"
120
- }
121
- }
122
- }
123
- }
124
- }
125
- }
126
- },
127
- "/v2/organization/{org_id}/settings": {
128
- "get": {
129
- "description": "Get full organization settings object",
130
- "operationId": "getSettings",
131
- "summary": "getSettings",
132
- "tags": [
133
- "Organization Settings"
134
- ],
135
- "parameters": [
136
- {
137
- "in": "path",
138
- "name": "org_id",
139
- "schema": {
140
- "$ref": "#/components/schemas/OrganizationId"
141
- },
142
- "required": true,
143
- "description": "The Id of the organization."
144
- }
145
- ],
146
- "responses": {
147
- "200": {
148
- "description": "Returns the organization settings",
149
- "content": {
150
- "application/json": {
151
- "schema": {
152
- "$ref": "#/components/schemas/Settings"
153
- }
154
- }
155
- }
156
- }
157
- }
158
- }
159
- },
160
- "/v2/organization/{org_id}/settings/{key}": {
161
- "put": {
162
- "description": "Updates an organization setting",
163
- "operationId": "putSettingsValue",
164
- "summary": "putSettingsValue",
165
- "tags": [
166
- "Organization Settings"
167
- ],
168
- "parameters": [
169
- {
170
- "in": "path",
171
- "name": "org_id",
172
- "schema": {
173
- "$ref": "#/components/schemas/OrganizationId"
174
- },
175
- "required": true,
176
- "description": "The Id of the organization."
177
- },
178
- {
179
- "in": "path",
180
- "name": "key",
181
- "schema": {
182
- "type": "string"
183
- },
184
- "required": true,
185
- "description": "Organization setting key"
186
- }
187
- ],
188
- "requestBody": {
189
- "description": "Value to set",
190
- "content": {
191
- "application/json": {
192
- "schema": {
193
- "$ref": "#/components/schemas/SettingsValue"
194
- }
195
- }
196
- }
197
- },
198
- "responses": {
199
- "200": {
200
- "description": "Returns the value of the setting",
201
- "content": {
202
- "application/json": {
203
- "schema": {
204
- "$ref": "#/components/schemas/SettingsValue"
205
- }
206
- }
207
- }
208
- }
209
- }
210
- },
211
- "delete": {
212
- "description": "Updates an organization nsetting",
213
- "operationId": "deleteSettingsValue",
214
- "summary": "deleteSettingsValue",
215
- "tags": [
216
- "Organization Settings"
217
- ],
218
- "parameters": [
219
- {
220
- "in": "path",
221
- "name": "org_id",
222
- "schema": {
223
- "$ref": "#/components/schemas/OrganizationId"
224
- },
225
- "required": true,
226
- "description": "The Id of the organization."
227
- },
228
- {
229
- "in": "path",
230
- "name": "key",
231
- "schema": {
232
- "type": "string"
233
- },
234
- "required": true,
235
- "description": "Organization setting key"
236
- }
237
- ],
238
- "responses": {
239
- "200": {
240
- "description": "Delete successful"
241
- }
242
- }
243
- }
244
- }
245
- },
246
- "components": {
247
- "securitySchemes": {
248
- "EpilotAuth": {
249
- "type": "http",
250
- "scheme": "bearer",
251
- "description": "Authorization header with epilot OAuth2 bearer token",
252
- "bearerFormat": "JWT"
253
- }
254
- },
255
- "schemas": {
256
- "OrganizationId": {
257
- "type": "string",
258
- "example": "739224"
259
- },
260
- "Organization": {
261
- "type": "object",
262
- "properties": {
263
- "id": {
264
- "$ref": "#/components/schemas/OrganizationId"
265
- },
266
- "name": {
267
- "type": "string",
268
- "description": "Organization name",
269
- "example": "Epilot",
270
- "nullable": true
271
- },
272
- "email": {
273
- "type": "string",
274
- "description": "Organization contact email",
275
- "example": "someone@epilot.cloud",
276
- "nullable": true
277
- },
278
- "phone": {
279
- "description": "Organization contact phone",
280
- "type": "string",
281
- "example": "+49123123123",
282
- "nullable": true
283
- },
284
- "website": {
285
- "description": "Organization website",
286
- "type": "string",
287
- "example": "https://epilot.cloud",
288
- "nullable": true
289
- },
290
- "address": {
291
- "description": "Organization postal address",
292
- "type": "object",
293
- "additionalProperties": true,
294
- "properties": {
295
- "country": {
296
- "type": "string",
297
- "nullable": true
298
- },
299
- "city": {
300
- "type": "string",
301
- "nullable": true
302
- },
303
- "postal_code": {
304
- "type": "string",
305
- "nullable": true
306
- },
307
- "street": {
308
- "type": "string",
309
- "nullable": true
310
- },
311
- "street_number": {
312
- "type": "string",
313
- "nullable": true
314
- }
315
- }
316
- },
317
- "organization_use": {
318
- "type": "string",
319
- "enum": [
320
- "Production",
321
- "Sandbox"
322
- ],
323
- "nullable": true
324
- },
325
- "parent_production_org_id": {
326
- "type": "string",
327
- "nullable": true
328
- },
329
- "created_date": {
330
- "type": "string",
331
- "format": "date-time",
332
- "description": "Organization created date"
333
- },
334
- "logo_url": {
335
- "description": "Organization logo URL",
336
- "type": "string",
337
- "example": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
338
- "nullable": true
339
- },
340
- "logo_thumbnail_url": {
341
- "description": "Organization logo thumbnail URL",
342
- "type": "string",
343
- "example": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
344
- "nullable": true
345
- },
346
- "signature": {
347
- "type": "string",
348
- "description": "Default email signature of organization",
349
- "example": "<p>Thanks</p>",
350
- "nullable": true
351
- },
352
- "is_unlicensed_org": {
353
- "type": "boolean",
354
- "example": false,
355
- "nullable": true,
356
- "deprecated": true
357
- },
358
- "style": {
359
- "type": "object",
360
- "description": "Organization style setting (e.g. font setting)",
361
- "additionalProperties": true,
362
- "nullable": true,
363
- "deprecated": true
364
- },
365
- "type": {
366
- "type": "string",
367
- "deprecated": true,
368
- "enum": [
369
- "Vendor",
370
- "Partner"
371
- ],
372
- "nullable": true
373
- },
374
- "symbol": {
375
- "deprecated": true,
376
- "type": "string",
377
- "example": "EPI",
378
- "nullable": true
379
- },
380
- "pricing_tier": {
381
- "deprecated": true,
382
- "description": "Deprecated - Please use pricing tier api",
383
- "type": "string",
384
- "example": "professional",
385
- "nullable": true
386
- },
387
- "free_user_limit": {
388
- "deprecated": true,
389
- "type": "number",
390
- "example": 50,
391
- "nullable": true
392
- }
393
- }
394
- },
395
- "InternalOrganization": {
396
- "allOf": [
397
- {
398
- "$ref": "#/components/schemas/Organization"
399
- }
400
- ]
401
- },
402
- "SettingKey": {
403
- "type": "string",
404
- "example": "double_opt_in"
405
- },
406
- "Settings": {
407
- "type": "object",
408
- "additionalProperties": true,
409
- "example": {
410
- "double_opt_in": {
411
- "enabled": true
412
- }
413
- }
414
- },
415
- "SettingsValue": {
416
- "anyOf": [
417
- {
418
- "type": "string"
419
- },
420
- {
421
- "type": "number"
422
- },
423
- {
424
- "type": "boolean"
425
- },
426
- {
427
- "type": "array",
428
- "items": {
429
- "type": "object",
430
- "additionalProperties": true
431
- }
432
- },
433
- {
434
- "type": "object",
435
- "additionalProperties": true
436
- }
437
- ],
438
- "example": {
439
- "enabled": true
440
- }
441
- },
442
- "CreateOrganizationRequest": {
443
- "type": "object",
444
- "properties": {
445
- "organization_detail": {
446
- "description": "Organization detail",
447
- "type": "object",
448
- "required": [
449
- "name",
450
- "type",
451
- "pricing_tier_id"
452
- ],
453
- "properties": {
454
- "name": {
455
- "description": "Organization name",
456
- "type": "string",
457
- "example": "epilot"
458
- },
459
- "email_address": {
460
- "description": "Organization email address",
461
- "type": "string",
462
- "example": "epilot@epilot.cloud"
463
- },
464
- "type": {
465
- "description": "type",
466
- "type": "string",
467
- "example": "Vendor"
468
- },
469
- "organization_use": {
470
- "type": "string",
471
- "enum": [
472
- "Production",
473
- "Sandbox"
474
- ]
475
- },
476
- "pricing_tier_id": {
477
- "description": "Pricing tier ID",
478
- "type": "string",
479
- "example": "01GEKHZHSN19KK10ZS92Y3WY9B"
480
- }
481
- }
482
- },
483
- "owner_user": {
484
- "description": "Owner user will receive invitation",
485
- "type": "object",
486
- "required": [
487
- "email_address"
488
- ],
489
- "properties": {
490
- "full_name": {
491
- "type": "string",
492
- "example": "Ny Huynh"
493
- },
494
- "email_address": {
495
- "type": "string",
496
- "example": "ny.huynhthi@axonactive.com"
497
- }
498
- }
499
- }
500
- }
501
- },
502
- "DataPointsResponse": {
503
- "type": "array",
504
- "items": {
505
- "$ref": "#/components/schemas/DataPoint"
506
- }
507
- },
508
- "DataPoint": {
509
- "type": "object",
510
- "properties": {
511
- "id": {
512
- "description": "Organization id",
513
- "type": "number",
514
- "example": 206801
515
- },
516
- "max_customer": {
517
- "description": "Max customer data points last month",
518
- "type": "number",
519
- "example": 10
520
- },
521
- "actual_customer": {
522
- "description": "Actual customer data points",
523
- "type": "number",
524
- "example": 10
525
- }
526
- }
527
- },
528
- "OrganizationToCleanup": {
529
- "type": "object",
530
- "required": [
531
- "org_id",
532
- "deleted_at",
533
- "deleted_by"
534
- ],
535
- "properties": {
536
- "org_id": {
537
- "$ref": "#/components/schemas/OrganizationId"
538
- },
539
- "deleted_at": {
540
- "type": "string",
541
- "format": "date-time",
542
- "example": "2021-06-01T00:00:00Z"
543
- },
544
- "deleted_by": {
545
- "type": "string",
546
- "example": "123456"
547
- }
548
- }
549
- },
550
- "OrganizationCleanupStatus": {
551
- "type": "object",
552
- "required": [
553
- "org_id",
554
- "service_name"
555
- ],
556
- "properties": {
557
- "org_id": {
558
- "$ref": "#/components/schemas/OrganizationId"
559
- },
560
- "service_name": {
561
- "type": "string",
562
- "example": "organization-api"
563
- },
564
- "operations": {
565
- "example": [
566
- {
567
- "action": "Delete",
568
- "resource": "OrgTable",
569
- "extra_info": "pk: ORG#739224"
570
- },
571
- {
572
- "action": "Archive",
573
- "resource": "s3://my-bucket",
574
- "extra_info": "my-bucket/my-key.txt"
575
- }
576
- ],
577
- "type": "array",
578
- "items": {
579
- "type": "object",
580
- "additionalProperties": true,
581
- "properties": {
582
- "action": {
583
- "type": "string",
584
- "example": "Delete"
585
- },
586
- "resource": {
587
- "type": "string",
588
- "example": "OrgTable"
589
- },
590
- "extra_info": {
591
- "anyOf": [
592
- {
593
- "type": "string"
594
- },
595
- {
596
- "type": "number"
597
- },
598
- {
599
- "type": "boolean"
600
- },
601
- {
602
- "type": "array",
603
- "items": {
604
- "type": "object",
605
- "additionalProperties": true
606
- }
607
- },
608
- {
609
- "type": "object",
610
- "additionalProperties": true
611
- }
612
- ]
613
- }
614
- }
615
- }
616
- }
617
- }
618
- }
619
- }
620
- },
621
- "servers": [
622
- {
623
- "url": "https://organization-v2.sls.epilot.io"
624
- },
625
- {
626
- "url": "https://organization-v2.sls.epilot.io"
627
- }
628
- ]
629
- }