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,344 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Consent API",
5
- "version": "1.0.0",
6
- "description": "Consent Management for epilot customer entities\n"
7
- },
8
- "tags": [
9
- {
10
- "name": "consent",
11
- "description": "Consent Management"
12
- }
13
- ],
14
- "security": [
15
- {
16
- "EpilotAuth": []
17
- }
18
- ],
19
- "paths": {
20
- "/v1/consent/publish": {
21
- "post": {
22
- "operationId": "publishConsentEvent",
23
- "summary": "publishConsentEvent",
24
- "description": "Publishes consent event on event bus, which appends to consent store\n",
25
- "tags": [
26
- "consent"
27
- ],
28
- "requestBody": {
29
- "content": {
30
- "application/json": {
31
- "schema": {
32
- "$ref": "#/components/schemas/ConsentEventRequestBody"
33
- },
34
- "examples": {
35
- "OptInEmailMarketing": {
36
- "$ref": "#/components/examples/ConsentOptInEmailMarketing"
37
- },
38
- "OptInSMSMarketing": {
39
- "$ref": "#/components/examples/ConsentOptInSMSMarketing"
40
- },
41
- "OptInPhoneCallMarketing": {
42
- "$ref": "#/components/examples/ConsentOptInPhoneCallMarketing"
43
- },
44
- "OptOutEmailMarketing": {
45
- "$ref": "#/components/examples/ConsentOptOutEmailMarketing"
46
- }
47
- }
48
- }
49
- }
50
- },
51
- "responses": {
52
- "201": {
53
- "description": "The created opt-in",
54
- "content": {
55
- "application/json": {
56
- "schema": {
57
- "$ref": "#/components/schemas/ConsentEvent"
58
- }
59
- }
60
- }
61
- }
62
- }
63
- }
64
- },
65
- "/v1/consent/{identifier}": {
66
- "get": {
67
- "operationId": "listConsentEvents",
68
- "summary": "listConsentEvents",
69
- "description": "List opt-ins and opt-outs by customer identifier\n",
70
- "tags": [
71
- "consent"
72
- ],
73
- "parameters": [
74
- {
75
- "name": "identifier",
76
- "in": "path",
77
- "required": true,
78
- "schema": {
79
- "$ref": "#/components/schemas/ConsentIdentifier"
80
- }
81
- },
82
- {
83
- "name": "topic",
84
- "in": "query",
85
- "required": false,
86
- "schema": {
87
- "$ref": "#/components/schemas/ConsentTopic"
88
- }
89
- },
90
- {
91
- "name": "limit",
92
- "in": "query",
93
- "required": false,
94
- "schema": {
95
- "type": "integer",
96
- "default": 50,
97
- "minimum": 1,
98
- "maximum": 100
99
- }
100
- },
101
- {
102
- "name": "from",
103
- "in": "query",
104
- "required": false,
105
- "schema": {
106
- "type": "integer",
107
- "default": 0,
108
- "minimum": 0
109
- }
110
- }
111
- ],
112
- "responses": {
113
- "200": {
114
- "description": "list of opt-ins and opt-outs",
115
- "content": {
116
- "application/json": {
117
- "schema": {
118
- "type": "object",
119
- "properties": {
120
- "events": {
121
- "type": "array",
122
- "items": {
123
- "$ref": "#/components/schemas/ConsentEvent"
124
- }
125
- },
126
- "total": {
127
- "type": "integer",
128
- "example": 1
129
- }
130
- }
131
- }
132
- }
133
- }
134
- }
135
- }
136
- }
137
- },
138
- "/v1/opt-in/{token}": {
139
- "get": {
140
- "operationId": "handleOptInWithToken",
141
- "summary": "handleOptInWithToken",
142
- "security": [],
143
- "description": "Endpoint to handle opt-in links\n",
144
- "tags": [
145
- "consent"
146
- ],
147
- "parameters": [
148
- {
149
- "name": "token",
150
- "in": "path",
151
- "required": true,
152
- "schema": {
153
- "type": "string"
154
- }
155
- },
156
- {
157
- "name": "lang",
158
- "in": "query",
159
- "schema": {
160
- "type": "string",
161
- "default": "de"
162
- }
163
- }
164
- ],
165
- "responses": {
166
- "200": {
167
- "description": "Handler page for opt in links",
168
- "content": {
169
- "text/html": {
170
- "example": "<p>You are subscribed!</p>\n"
171
- }
172
- }
173
- }
174
- }
175
- }
176
- }
177
- },
178
- "components": {
179
- "securitySchemes": {
180
- "EpilotAuth": {
181
- "type": "http",
182
- "scheme": "bearer",
183
- "description": "Epilot Id Token\n"
184
- }
185
- },
186
- "schemas": {
187
- "ConsentIdentifier": {
188
- "type": "string",
189
- "description": "Unique identifier for consent source (e.g. customer email or phone)",
190
- "example": "exampleuser@epilot.cloud"
191
- },
192
- "ConsentTopic": {
193
- "type": "string",
194
- "description": "Consent Topic (what the person is opting into)",
195
- "example": "EMAIL_MARKETING"
196
- },
197
- "ConsentSource": {
198
- "type": "string",
199
- "description": "Consent Source (Origin of the Consent Event)",
200
- "example": "www.frontend.epilot.cloud"
201
- },
202
- "ConsentMeta": {
203
- "type": "object",
204
- "additionalProperties": true,
205
- "example": {
206
- "double_opt_in": true,
207
- "source_type": "journey",
208
- "source_id": "0e4f2a26-14f0-4ada-9294-a7d7a0b9b214",
209
- "ip_address": "1.1.1.1",
210
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
211
- }
212
- },
213
- "ConsentEventRequestBody": {
214
- "type": "object",
215
- "properties": {
216
- "type": {
217
- "type": "string",
218
- "enum": [
219
- "OPT_IN",
220
- "OPT_OUT"
221
- ]
222
- },
223
- "topic": {
224
- "$ref": "#/components/schemas/ConsentTopic"
225
- },
226
- "source": {
227
- "$ref": "#/components/schemas/ConsentSource"
228
- },
229
- "identifier": {
230
- "$ref": "#/components/schemas/ConsentIdentifier"
231
- },
232
- "meta": {
233
- "$ref": "#/components/schemas/ConsentMeta"
234
- }
235
- },
236
- "required": [
237
- "type",
238
- "topic",
239
- "identifier"
240
- ]
241
- },
242
- "ConsentEvent": {
243
- "type": "object",
244
- "properties": {
245
- "type": {
246
- "type": "string",
247
- "enum": [
248
- "OPT_IN",
249
- "OPT_OUT",
250
- "DOUBLE_OPT_IN_REQUESTED",
251
- "DOUBLE_OPT_IN"
252
- ]
253
- },
254
- "created_at": {
255
- "type": "string",
256
- "format": "date-time"
257
- },
258
- "topic": {
259
- "$ref": "#/components/schemas/ConsentTopic"
260
- },
261
- "source": {
262
- "$ref": "#/components/schemas/ConsentSource"
263
- },
264
- "organization_id": {
265
- "$ref": "#/components/schemas/OrganizationId"
266
- },
267
- "identifier": {
268
- "$ref": "#/components/schemas/ConsentIdentifier"
269
- },
270
- "meta": {
271
- "$ref": "#/components/schemas/ConsentMeta"
272
- }
273
- },
274
- "required": [
275
- "type",
276
- "topic",
277
- "identifier"
278
- ]
279
- },
280
- "OrganizationId": {
281
- "type": "string",
282
- "example": "123"
283
- }
284
- },
285
- "examples": {
286
- "ConsentOptInEmailMarketing": {
287
- "value": {
288
- "type": "OPT_IN",
289
- "topic": "EMAIL_MARKETING",
290
- "identifier": "exampleuser@epilot.cloud",
291
- "source": "frontend.epilot.cloud",
292
- "meta": {
293
- "ip_address": "1.1.1.1",
294
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
295
- }
296
- }
297
- },
298
- "ConsentOptOutEmailMarketing": {
299
- "value": {
300
- "type": "OPT_OUT",
301
- "topic": "EMAIL_MARKETING",
302
- "identifier": "exampleuser@epilot.cloud",
303
- "source": "unsubscribe via email",
304
- "meta": {
305
- "ip_address": "1.1.1.1",
306
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
307
- }
308
- }
309
- },
310
- "ConsentOptInSMSMarketing": {
311
- "value": {
312
- "type": "OPT_IN",
313
- "topic": "SMS_MARKETING",
314
- "identifier": "+49 123 1234567",
315
- "source": "frontend.epilot.cloud",
316
- "meta": {
317
- "ip_address": "1.1.1.1",
318
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
319
- }
320
- }
321
- },
322
- "ConsentOptInPhoneCallMarketing": {
323
- "value": {
324
- "type": "OPT_IN",
325
- "topic": "PHONE_CALL_MARKETING",
326
- "identifier": "+49 123 1234567",
327
- "source": "frontend.epilot.cloud",
328
- "meta": {
329
- "ip_address": "1.1.1.1",
330
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
331
- }
332
- }
333
- }
334
- }
335
- },
336
- "servers": [
337
- {
338
- "url": "https://consent.sls.epilot.io"
339
- },
340
- {
341
- "url": "https://consent.sls.epilot.io"
342
- }
343
- ]
344
- }