@epilot/sdk 2.0.0-beta.6 → 2.0.3

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 (134) hide show
  1. package/LICENSE +21 -0
  2. package/dist/apis/automation.d.cts +2 -2
  3. package/dist/apis/automation.d.ts +2 -2
  4. package/dist/apis/customer-portal.cjs +1 -1
  5. package/dist/apis/customer-portal.d.cts +2 -2
  6. package/dist/apis/customer-portal.d.ts +2 -2
  7. package/dist/apis/customer-portal.js +1 -1
  8. package/dist/apis/erp-integration.cjs +1 -1
  9. package/dist/apis/erp-integration.d.cts +2 -2
  10. package/dist/apis/erp-integration.d.ts +2 -2
  11. package/dist/apis/erp-integration.js +1 -1
  12. package/dist/apis/journey.d.cts +2 -2
  13. package/dist/apis/journey.d.ts +2 -2
  14. package/dist/apis/kanban.d.cts +2 -2
  15. package/dist/apis/kanban.d.ts +2 -2
  16. package/dist/apis/organization.cjs +1 -1
  17. package/dist/apis/organization.d.cts +2 -2
  18. package/dist/apis/organization.d.ts +2 -2
  19. package/dist/apis/organization.js +1 -1
  20. package/dist/apis/workflow.d.cts +2 -2
  21. package/dist/apis/workflow.d.ts +2 -2
  22. package/dist/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
  23. package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
  24. package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
  25. package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
  26. package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
  27. package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
  28. package/dist/index.d.cts +7 -7
  29. package/dist/index.d.ts +7 -7
  30. package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.cts} +122 -4
  31. package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.ts} +122 -4
  32. package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
  33. package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
  34. package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
  35. package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
  36. package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
  37. package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
  38. package/package.json +10 -11
  39. package/definitions/access-token-runtime.json +0 -1
  40. package/definitions/access-token.json +0 -663
  41. package/definitions/address-runtime.json +0 -1
  42. package/definitions/address-suggestions-runtime.json +0 -1
  43. package/definitions/address-suggestions.json +0 -582
  44. package/definitions/address.json +0 -578
  45. package/definitions/ai-agents-runtime.json +0 -1
  46. package/definitions/ai-agents.json +0 -1711
  47. package/definitions/app-runtime.json +0 -1
  48. package/definitions/app.json +0 -4443
  49. package/definitions/audit-logs-runtime.json +0 -1
  50. package/definitions/audit-logs.json +0 -305
  51. package/definitions/automation-runtime.json +0 -1
  52. package/definitions/automation.json +0 -4850
  53. package/definitions/billing-runtime.json +0 -1
  54. package/definitions/billing.json +0 -837
  55. package/definitions/blueprint-manifest-runtime.json +0 -1
  56. package/definitions/blueprint-manifest.json +0 -3376
  57. package/definitions/consent-runtime.json +0 -1
  58. package/definitions/consent.json +0 -344
  59. package/definitions/customer-portal-runtime.json +0 -1
  60. package/definitions/customer-portal.json +0 -15000
  61. package/definitions/dashboard-runtime.json +0 -1
  62. package/definitions/dashboard.json +0 -484
  63. package/definitions/data-management-runtime.json +0 -1
  64. package/definitions/data-management.json +0 -962
  65. package/definitions/deduplication-runtime.json +0 -1
  66. package/definitions/deduplication.json +0 -183
  67. package/definitions/design-runtime.json +0 -1
  68. package/definitions/design.json +0 -1423
  69. package/definitions/document-runtime.json +0 -1
  70. package/definitions/document.json +0 -758
  71. package/definitions/email-settings-runtime.json +0 -1
  72. package/definitions/email-settings.json +0 -2627
  73. package/definitions/email-template-runtime.json +0 -1
  74. package/definitions/email-template.json +0 -1419
  75. package/definitions/entity-mapping-runtime.json +0 -1
  76. package/definitions/entity-mapping.json +0 -1642
  77. package/definitions/entity-runtime.json +0 -1
  78. package/definitions/entity.json +0 -10074
  79. package/definitions/environments-runtime.json +0 -1
  80. package/definitions/environments.json +0 -363
  81. package/definitions/erp-integration-runtime.json +0 -1
  82. package/definitions/erp-integration.json +0 -5845
  83. package/definitions/event-catalog-runtime.json +0 -1
  84. package/definitions/event-catalog.json +0 -1051
  85. package/definitions/file-runtime.json +0 -1
  86. package/definitions/file.json +0 -2842
  87. package/definitions/iban-runtime.json +0 -1
  88. package/definitions/iban.json +0 -132
  89. package/definitions/journey-runtime.json +0 -1
  90. package/definitions/journey.json +0 -2341
  91. package/definitions/kanban-runtime.json +0 -1
  92. package/definitions/kanban.json +0 -929
  93. package/definitions/message-runtime.json +0 -1
  94. package/definitions/message.json +0 -2660
  95. package/definitions/metering-runtime.json +0 -1
  96. package/definitions/metering.json +0 -2321
  97. package/definitions/notes-runtime.json +0 -1
  98. package/definitions/notes.json +0 -1531
  99. package/definitions/notification-runtime.json +0 -1
  100. package/definitions/notification.json +0 -1425
  101. package/definitions/organization-runtime.json +0 -1
  102. package/definitions/organization.json +0 -629
  103. package/definitions/partner-directory-runtime.json +0 -1
  104. package/definitions/partner-directory.json +0 -1718
  105. package/definitions/permissions-runtime.json +0 -1
  106. package/definitions/permissions.json +0 -1480
  107. package/definitions/pricing-runtime.json +0 -1
  108. package/definitions/pricing-tier-runtime.json +0 -1
  109. package/definitions/pricing-tier.json +0 -105
  110. package/definitions/pricing.json +0 -9884
  111. package/definitions/purpose-runtime.json +0 -1
  112. package/definitions/purpose.json +0 -524
  113. package/definitions/sandbox-runtime.json +0 -1
  114. package/definitions/sandbox.json +0 -453
  115. package/definitions/submission-runtime.json +0 -1
  116. package/definitions/submission.json +0 -313
  117. package/definitions/targeting-runtime.json +0 -1
  118. package/definitions/targeting.json +0 -1474
  119. package/definitions/template-variables-runtime.json +0 -1
  120. package/definitions/template-variables.json +0 -1408
  121. package/definitions/user-runtime.json +0 -1
  122. package/definitions/user.json +0 -2408
  123. package/definitions/validation-rules-runtime.json +0 -1
  124. package/definitions/validation-rules.json +0 -1491
  125. package/definitions/webhooks-runtime.json +0 -1
  126. package/definitions/webhooks.json +0 -1525
  127. package/definitions/workflow-definition-runtime.json +0 -1
  128. package/definitions/workflow-definition.json +0 -3417
  129. package/definitions/workflow-runtime.json +0 -1
  130. package/definitions/workflow.json +0 -4106
  131. package/dist/kanban.d-DUClxyBG.d.cts +0 -630
  132. package/dist/kanban.d-DUClxyBG.d.ts +0 -630
  133. package/dist/organization.d-BOLK3v9o.d.cts +0 -628
  134. package/dist/organization.d-BOLK3v9o.d.ts +0 -628
@@ -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
- }
@@ -1 +0,0 @@
1
- {"s":"https://ai-agents.sls.epilot.io","o":[["createAgent","post","/v1/agents",null,1],["listAgents","get","/v1/agents",[["source","q"],["availability","q"],["entity_schema","q"]]],["getAgentById","get","/v1/agents/{agent_id}",[["agent_id","p",true]]],["updateAgentById","put","/v1/agents/{agent_id}",[["agent_id","p",true]],1],["deleteAgentById","delete","/v1/agents/{agent_id}",[["agent_id","p",true]]],["executeAgent","post","/v1/agents/{agent_id}/execute",[["agent_id","p",true]],1],["listExecutions","get","/v1/executions",[["agent_id","q"],["status","q"],["limit","q"]]],["getExecution","get","/v1/executions/{execution_id}",[["execution_id","p",true]]],["cancelExecution","delete","/v1/executions/{execution_id}",[["execution_id","p",true]]],["getExecutionTrace","get","/v1/executions/{execution_id}/trace",[["execution_id","p",true]]],["approveExecution","post","/v1/executions/{execution_id}/approve",[["execution_id","p",true]],1],["rejectExecution","post","/v1/executions/{execution_id}/reject",[["execution_id","p",true]],1]],"v":"3.0.0"}