@epilot/sdk 2.1.10 → 2.2.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 (95) hide show
  1. package/dist/bin/cli.js +66 -12
  2. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  3. package/package.json +1 -1
  4. package/definitions/access-token-runtime.json +0 -1
  5. package/definitions/access-token.json +0 -663
  6. package/definitions/address-runtime.json +0 -1
  7. package/definitions/address-suggestions-runtime.json +0 -1
  8. package/definitions/address-suggestions.json +0 -582
  9. package/definitions/address.json +0 -578
  10. package/definitions/ai-agents-runtime.json +0 -1
  11. package/definitions/ai-agents.json +0 -1711
  12. package/definitions/app-runtime.json +0 -1
  13. package/definitions/app.json +0 -4493
  14. package/definitions/audit-logs-runtime.json +0 -1
  15. package/definitions/audit-logs.json +0 -305
  16. package/definitions/automation-runtime.json +0 -1
  17. package/definitions/automation.json +0 -4815
  18. package/definitions/billing-runtime.json +0 -1
  19. package/definitions/billing.json +0 -837
  20. package/definitions/blueprint-manifest-runtime.json +0 -1
  21. package/definitions/blueprint-manifest.json +0 -3490
  22. package/definitions/consent-runtime.json +0 -1
  23. package/definitions/consent.json +0 -344
  24. package/definitions/customer-portal-runtime.json +0 -1
  25. package/definitions/customer-portal.json +0 -15676
  26. package/definitions/dashboard-runtime.json +0 -1
  27. package/definitions/dashboard.json +0 -484
  28. package/definitions/data-management-runtime.json +0 -1
  29. package/definitions/data-management.json +0 -972
  30. package/definitions/deduplication-runtime.json +0 -1
  31. package/definitions/deduplication.json +0 -183
  32. package/definitions/design-runtime.json +0 -1
  33. package/definitions/design.json +0 -1423
  34. package/definitions/document-runtime.json +0 -1
  35. package/definitions/document.json +0 -758
  36. package/definitions/email-settings-runtime.json +0 -1
  37. package/definitions/email-settings.json +0 -2748
  38. package/definitions/email-template-runtime.json +0 -1
  39. package/definitions/email-template.json +0 -1441
  40. package/definitions/entity-mapping-runtime.json +0 -1
  41. package/definitions/entity-mapping.json +0 -1642
  42. package/definitions/entity-runtime.json +0 -1
  43. package/definitions/entity.json +0 -10276
  44. package/definitions/environments-runtime.json +0 -1
  45. package/definitions/environments.json +0 -363
  46. package/definitions/erp-integration-runtime.json +0 -1
  47. package/definitions/erp-integration.json +0 -6304
  48. package/definitions/event-catalog-runtime.json +0 -1
  49. package/definitions/event-catalog.json +0 -1051
  50. package/definitions/file-runtime.json +0 -1
  51. package/definitions/file.json +0 -2842
  52. package/definitions/iban-runtime.json +0 -1
  53. package/definitions/iban.json +0 -132
  54. package/definitions/journey-runtime.json +0 -1
  55. package/definitions/journey.json +0 -2603
  56. package/definitions/kanban-runtime.json +0 -1
  57. package/definitions/kanban.json +0 -1505
  58. package/definitions/message-runtime.json +0 -1
  59. package/definitions/message.json +0 -2660
  60. package/definitions/metering-runtime.json +0 -1
  61. package/definitions/metering.json +0 -2321
  62. package/definitions/notes-runtime.json +0 -1
  63. package/definitions/notes.json +0 -1531
  64. package/definitions/notification-runtime.json +0 -1
  65. package/definitions/notification.json +0 -1425
  66. package/definitions/organization-runtime.json +0 -1
  67. package/definitions/organization.json +0 -1192
  68. package/definitions/partner-directory-runtime.json +0 -1
  69. package/definitions/partner-directory.json +0 -2284
  70. package/definitions/permissions-runtime.json +0 -1
  71. package/definitions/permissions.json +0 -1515
  72. package/definitions/pricing-runtime.json +0 -1
  73. package/definitions/pricing-tier-runtime.json +0 -1
  74. package/definitions/pricing-tier.json +0 -105
  75. package/definitions/pricing.json +0 -9884
  76. package/definitions/purpose-runtime.json +0 -1
  77. package/definitions/purpose.json +0 -524
  78. package/definitions/sandbox-runtime.json +0 -1
  79. package/definitions/sandbox.json +0 -453
  80. package/definitions/submission-runtime.json +0 -1
  81. package/definitions/submission.json +0 -313
  82. package/definitions/targeting-runtime.json +0 -1
  83. package/definitions/targeting.json +0 -1474
  84. package/definitions/template-variables-runtime.json +0 -1
  85. package/definitions/template-variables.json +0 -1408
  86. package/definitions/user-runtime.json +0 -1
  87. package/definitions/user.json +0 -2408
  88. package/definitions/validation-rules-runtime.json +0 -1
  89. package/definitions/validation-rules.json +0 -1491
  90. package/definitions/webhooks-runtime.json +0 -1
  91. package/definitions/webhooks.json +0 -1634
  92. package/definitions/workflow-definition-runtime.json +0 -1
  93. package/definitions/workflow-definition.json +0 -3417
  94. package/definitions/workflow-runtime.json +0 -1
  95. package/definitions/workflow.json +0 -4146
@@ -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"}