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,578 +0,0 @@
1
- {
2
- "openapi": "3.1.0",
3
- "info": {
4
- "version": "2.0.0",
5
- "title": "Address API",
6
- "description": "API for address based operations on the Epilot platform",
7
- "termsOfService": "https://epilot.cloud/agb",
8
- "contact": {
9
- "name": "Support",
10
- "email": "info@epilot.cloud",
11
- "url": "https://help.epilot.cloud"
12
- }
13
- },
14
- "security": [
15
- {
16
- "EpilotAuth": []
17
- },
18
- {
19
- "EpilotPublicAuth": []
20
- }
21
- ],
22
- "servers": [
23
- {
24
- "url": "https://address.sls.epilot.io"
25
- }
26
- ],
27
- "tags": [
28
- {
29
- "name": "Availability"
30
- },
31
- {
32
- "name": "Address Suggestion"
33
- }
34
- ],
35
- "paths": {
36
- "/v1/public/suggestions": {
37
- "get": {
38
- "description": "Get address suggestions for the given Availability File",
39
- "parameters": [
40
- {
41
- "in": "query",
42
- "name": "fileRef",
43
- "required": true,
44
- "schema": {
45
- "type": "string",
46
- "maxLength": 255,
47
- "format": "uri"
48
- },
49
- "description": "Reference to the File URL",
50
- "example": "https://epilot-dev-user-content.s3.eu-central-1.amazonaws.com/739224/0a3639af-d4c3-4f96-bfc1-9dcbafdfaa42/availability-file-template%2520(13).csv"
51
- },
52
- {
53
- "in": "query",
54
- "name": "countryCodeSearchTerm",
55
- "required": false,
56
- "schema": {
57
- "type": "string",
58
- "maxLength": 2
59
- },
60
- "description": "Country code search term",
61
- "example": "de"
62
- },
63
- {
64
- "in": "query",
65
- "name": "postalCodeSearchTerm",
66
- "required": false,
67
- "schema": {
68
- "type": "string",
69
- "format": "postal-code",
70
- "maxLength": 10
71
- },
72
- "description": "Postal code search term",
73
- "example": "506"
74
- },
75
- {
76
- "in": "query",
77
- "name": "streetSearchTerm",
78
- "required": false,
79
- "schema": {
80
- "type": "string",
81
- "format": "street-address",
82
- "maxLength": 255
83
- },
84
- "description": "street search term"
85
- }
86
- ],
87
- "operationId": "getAddressSuggestions",
88
- "summary": "getAddressSuggestions",
89
- "tags": [
90
- "Address Suggestion"
91
- ],
92
- "security": [
93
- {
94
- "EpilotAuth": []
95
- }
96
- ],
97
- "responses": {
98
- "200": {
99
- "description": "Suggestions list",
100
- "content": {
101
- "application/json": {
102
- "schema": {
103
- "$ref": "#/components/schemas/AddressSuggestions"
104
- }
105
- }
106
- }
107
- },
108
- "400": {
109
- "description": "Bad Request",
110
- "content": {
111
- "application/json": {
112
- "schema": {
113
- "$ref": "#/components/schemas/ErrorResponse"
114
- }
115
- }
116
- }
117
- },
118
- "401": {
119
- "description": "Unauthorized",
120
- "content": {
121
- "application/json": {
122
- "schema": {
123
- "$ref": "#/components/schemas/ErrorResponse"
124
- }
125
- }
126
- }
127
- },
128
- "429": {
129
- "description": "Too Many Requests",
130
- "content": {
131
- "application/json": {
132
- "schema": {
133
- "$ref": "#/components/schemas/ErrorResponse"
134
- }
135
- }
136
- }
137
- },
138
- "500": {
139
- "description": "Internal Server Error",
140
- "content": {
141
- "application/json": {
142
- "schema": {
143
- "$ref": "#/components/schemas/ErrorResponse"
144
- }
145
- }
146
- }
147
- }
148
- }
149
- }
150
- },
151
- "/v1/public/availability": {
152
- "post": {
153
- "description": "Check for Entities that contain a matching availability range in related availability files.",
154
- "operationId": "availabilityCheck",
155
- "summary": "availabilityCheck",
156
- "security": [
157
- {
158
- "EpilotAuth": []
159
- }
160
- ],
161
- "tags": [
162
- "Availability"
163
- ],
164
- "requestBody": {
165
- "required": true,
166
- "content": {
167
- "application/json": {
168
- "schema": {
169
- "$ref": "#/components/schemas/AvailabilityCheckParams"
170
- }
171
- }
172
- }
173
- },
174
- "responses": {
175
- "200": {
176
- "description": "The availability check result",
177
- "content": {
178
- "application/json": {
179
- "schema": {
180
- "$ref": "#/components/schemas/AvailabilityResult"
181
- }
182
- }
183
- }
184
- },
185
- "400": {
186
- "description": "Bad Request",
187
- "content": {
188
- "application/json": {
189
- "schema": {
190
- "$ref": "#/components/schemas/ErrorResponse"
191
- }
192
- }
193
- }
194
- },
195
- "401": {
196
- "description": "Unauthorized",
197
- "content": {
198
- "application/json": {
199
- "schema": {
200
- "$ref": "#/components/schemas/ErrorResponse"
201
- }
202
- }
203
- }
204
- },
205
- "429": {
206
- "description": "Too Many Requests",
207
- "content": {
208
- "application/json": {
209
- "schema": {
210
- "$ref": "#/components/schemas/ErrorResponse"
211
- }
212
- }
213
- }
214
- },
215
- "500": {
216
- "description": "Internal Server Error",
217
- "content": {
218
- "application/json": {
219
- "schema": {
220
- "$ref": "#/components/schemas/ErrorResponse"
221
- }
222
- }
223
- }
224
- }
225
- }
226
- }
227
- },
228
- "/v1/availability/{id}/validate": {
229
- "get": {
230
- "description": "Validates an already uploaded availability file, it returns an array of errors if any errors are found in the file.",
231
- "operationId": "validateAvailabilityFile",
232
- "summary": "validateAvailabilityFile",
233
- "tags": [
234
- "Availability"
235
- ],
236
- "parameters": [
237
- {
238
- "in": "path",
239
- "name": "id",
240
- "required": true,
241
- "description": "Entity ID of the File Entity with the Availability File. The accepted formats are `.csv` and `.xlsx`.",
242
- "schema": {
243
- "type": "string",
244
- "format": "uuid",
245
- "maxLength": 36
246
- },
247
- "example": "72c803b2-2e5d-4bd6-bffc-fad998bbbe36"
248
- }
249
- ],
250
- "responses": {
251
- "200": {
252
- "description": "Result of the validation",
253
- "content": {
254
- "application/json": {
255
- "schema": {
256
- "$ref": "#/components/schemas/ValidateAvailabilityFileResult"
257
- }
258
- }
259
- }
260
- },
261
- "400": {
262
- "description": "Bad Request",
263
- "content": {
264
- "application/json": {
265
- "schema": {
266
- "$ref": "#/components/schemas/ErrorResponse"
267
- }
268
- }
269
- }
270
- },
271
- "401": {
272
- "description": "Unauthorized",
273
- "content": {
274
- "application/json": {
275
- "schema": {
276
- "$ref": "#/components/schemas/ErrorResponse"
277
- }
278
- }
279
- }
280
- },
281
- "429": {
282
- "description": "Too Many Requests",
283
- "content": {
284
- "application/json": {
285
- "schema": {
286
- "$ref": "#/components/schemas/ErrorResponse"
287
- }
288
- }
289
- }
290
- },
291
- "500": {
292
- "description": "Internal Server Error",
293
- "content": {
294
- "application/json": {
295
- "schema": {
296
- "$ref": "#/components/schemas/ErrorResponse"
297
- }
298
- }
299
- }
300
- }
301
- }
302
- }
303
- }
304
- },
305
- "components": {
306
- "securitySchemes": {
307
- "EpilotAuth": {
308
- "type": "http",
309
- "scheme": "bearer",
310
- "description": "Authorization header with epilot OAuth2 bearer token. Supports RFC8725 for JWT validation.",
311
- "bearerFormat": "JWT"
312
- },
313
- "EpilotPublicAuth": {
314
- "type": "http",
315
- "scheme": "bearer",
316
- "description": "Epilot Public Access Bearer Token. Supports RFC8725 for JWT validation.",
317
- "bearerFormat": "JWT"
318
- }
319
- },
320
- "schemas": {
321
- "AvailabilityCheckParams": {
322
- "properties": {
323
- "entities": {
324
- "description": "Entity ID's to check the availability parameters against",
325
- "type": "array",
326
- "maxItems": 100,
327
- "items": {
328
- "type": "string",
329
- "maxLength": 36,
330
- "format": "uuid"
331
- }
332
- },
333
- "schemas": {
334
- "description": "One or more schemas that should be used to query for the matching Entities. Defaults to all schemas if nore are specified.",
335
- "type": "array",
336
- "example": [
337
- "opportunity",
338
- "offer"
339
- ],
340
- "items": {
341
- "type": "string",
342
- "maxLength": 255
343
- }
344
- },
345
- "filters": {
346
- "$ref": "#/components/schemas/AvailabilityFilters"
347
- }
348
- },
349
- "required": [
350
- "entities",
351
- "filters"
352
- ]
353
- },
354
- "AvailabilityFilters": {
355
- "description": "Availability filters dimensions",
356
- "type": "object",
357
- "properties": {
358
- "location": {
359
- "$ref": "#/components/schemas/AvailabilityLocation"
360
- },
361
- "available_date": {
362
- "$ref": "#/components/schemas/AvailabilityDate"
363
- }
364
- },
365
- "required": [
366
- "location"
367
- ]
368
- },
369
- "AvailabilityDate": {
370
- "type": "string",
371
- "format": "date",
372
- "description": "A value to be matched against the availability window (start & end date)",
373
- "example": "2017-07-21",
374
- "maxLength": 10
375
- },
376
- "AvailabilityLocation": {
377
- "type": "object",
378
- "properties": {
379
- "street": {
380
- "type": "string",
381
- "maxLength": 255,
382
- "description": "Street address or PO Box number.",
383
- "example": "MediaPark"
384
- },
385
- "street_number": {
386
- "type": "string",
387
- "maxLength": 20,
388
- "description": "Apartment, suite, or unit number.",
389
- "example": "8a"
390
- },
391
- "postal_code": {
392
- "type": "string",
393
- "maxLength": 10,
394
- "description": "The postal code for the address.",
395
- "example": "57008"
396
- },
397
- "city": {
398
- "type": "string",
399
- "maxLength": 100,
400
- "description": "The name of the city, district, village, or town.",
401
- "example": "Cologne"
402
- },
403
- "country": {
404
- "type": "string",
405
- "maxLength": 2,
406
- "description": "Country code",
407
- "example": "DE"
408
- }
409
- }
410
- },
411
- "AvailabilityResult": {
412
- "description": "The availability check result payload",
413
- "type": "object",
414
- "properties": {
415
- "available_entities": {
416
- "type": "array",
417
- "items": {
418
- "type": "string",
419
- "description": "Available Entities",
420
- "maxLength": 255
421
- }
422
- },
423
- "check_results": {
424
- "description": "The check result details",
425
- "type": "array",
426
- "items": {
427
- "type": "object",
428
- "properties": {
429
- "entity_id": {
430
- "type": "string",
431
- "format": "uuid",
432
- "maxLength": 36
433
- },
434
- "matching_hits": {
435
- "description": "The number of rules matched",
436
- "type": "number"
437
- },
438
- "matching_error": {
439
- "description": "A set of matching errors when checking availability",
440
- "type": "object"
441
- }
442
- },
443
- "required": [
444
- "entity_id",
445
- "matching_hits"
446
- ]
447
- }
448
- }
449
- },
450
- "required": [
451
- "available_entities",
452
- "check_results"
453
- ],
454
- "example": {
455
- "available_entities": [],
456
- "check_results": [
457
- {
458
- "entity_id": "72c803b2-2e5d-4bd6-bffc-fad998bbbe36",
459
- "matching_hits": 0
460
- },
461
- {
462
- "entity_id": "72c803b2-2e5d-4bd6-bffc-fad998bbbe37",
463
- "matching_hits": 0
464
- }
465
- ]
466
- }
467
- },
468
- "ValidateAvailabilityFileResult": {
469
- "description": "The availability map file result payload",
470
- "type": "object",
471
- "properties": {
472
- "status": {
473
- "description": "The status of the validation",
474
- "type": "string",
475
- "enum": [
476
- "success",
477
- "error"
478
- ]
479
- },
480
- "rules_parsed_count": {
481
- "description": "The number of rules successfully parsed",
482
- "type": "number"
483
- },
484
- "errors": {
485
- "description": "The errors found on the file",
486
- "type": "array",
487
- "items": {
488
- "$ref": "#/components/schemas/ValidateAvailabilityFileError"
489
- }
490
- }
491
- },
492
- "required": [
493
- "status",
494
- "rules_parsed_count",
495
- "errors"
496
- ]
497
- },
498
- "ValidateAvailabilityFileError": {
499
- "description": "The availability rule error",
500
- "type": "object",
501
- "properties": {
502
- "line": {
503
- "description": "The line number where the error was found",
504
- "type": "number"
505
- },
506
- "message": {
507
- "description": "The error message",
508
- "type": "string",
509
- "maxLength": 255
510
- },
511
- "data": {
512
- "description": "Data related to the error",
513
- "type": "string",
514
- "maxLength": 255
515
- }
516
- },
517
- "required": [
518
- "message"
519
- ]
520
- },
521
- "AddressSuggestion": {
522
- "type": "object",
523
- "description": "The address suggestions entity",
524
- "properties": {
525
- "country": {
526
- "type": "string",
527
- "maxLength": 2,
528
- "description": "The country code"
529
- },
530
- "postal_code": {
531
- "type": "string",
532
- "maxLength": 10,
533
- "format": "postal-code",
534
- "description": "The postal code"
535
- },
536
- "city": {
537
- "type": "string",
538
- "maxLength": 100,
539
- "format": "city",
540
- "description": "The city"
541
- },
542
- "street": {
543
- "type": "string",
544
- "maxLength": 255,
545
- "format": "street-address",
546
- "description": "The street"
547
- },
548
- "street_number": {
549
- "type": "string",
550
- "maxLength": 20,
551
- "format": "street-number",
552
- "description": "The street number"
553
- }
554
- }
555
- },
556
- "AddressSuggestions": {
557
- "type": "array",
558
- "description": "The address suggestions entity array",
559
- "items": {
560
- "$ref": "#/components/schemas/AddressSuggestion"
561
- }
562
- },
563
- "ErrorResponse": {
564
- "type": "object",
565
- "properties": {
566
- "error": {
567
- "type": "string",
568
- "maxLength": 255,
569
- "description": "Error message"
570
- }
571
- },
572
- "required": [
573
- "error"
574
- ]
575
- }
576
- }
577
- }
578
- }