@epilot/sdk 2.0.3 → 2.0.4
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.
- package/definitions/access-token-runtime.json +1 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-runtime.json +1 -0
- package/definitions/address-suggestions-runtime.json +1 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents-runtime.json +1 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app-runtime.json +1 -0
- package/definitions/app.json +4443 -0
- package/definitions/audit-logs-runtime.json +1 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation-runtime.json +1 -0
- package/definitions/automation.json +4850 -0
- package/definitions/billing-runtime.json +1 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest-runtime.json +1 -0
- package/definitions/blueprint-manifest.json +3376 -0
- package/definitions/consent-runtime.json +1 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal-runtime.json +1 -0
- package/definitions/customer-portal.json +15000 -0
- package/definitions/dashboard-runtime.json +1 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +962 -0
- package/definitions/deduplication-runtime.json +1 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design-runtime.json +1 -0
- package/definitions/design.json +1423 -0
- package/definitions/document-runtime.json +1 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings-runtime.json +1 -0
- package/definitions/email-settings.json +2627 -0
- package/definitions/email-template-runtime.json +1 -0
- package/definitions/email-template.json +1419 -0
- package/definitions/entity-mapping-runtime.json +1 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity-runtime.json +1 -0
- package/definitions/entity.json +10074 -0
- package/definitions/environments-runtime.json +1 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +5845 -0
- package/definitions/event-catalog-runtime.json +1 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file-runtime.json +1 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban-runtime.json +1 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey-runtime.json +1 -0
- package/definitions/journey.json +2341 -0
- package/definitions/kanban-runtime.json +1 -0
- package/definitions/kanban.json +929 -0
- package/definitions/message-runtime.json +1 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering-runtime.json +1 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes-runtime.json +1 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification-runtime.json +1 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization-runtime.json +1 -0
- package/definitions/organization.json +629 -0
- package/definitions/partner-directory-runtime.json +1 -0
- package/definitions/partner-directory.json +1718 -0
- package/definitions/permissions-runtime.json +1 -0
- package/definitions/permissions.json +1480 -0
- package/definitions/pricing-runtime.json +1 -0
- package/definitions/pricing-tier-runtime.json +1 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose-runtime.json +1 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox-runtime.json +1 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission-runtime.json +1 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting-runtime.json +1 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables-runtime.json +1 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user-runtime.json +1 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules-runtime.json +1 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks-runtime.json +1 -0
- package/definitions/webhooks.json +1525 -0
- package/definitions/workflow-definition-runtime.json +1 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow-runtime.json +1 -0
- package/definitions/workflow.json +4106 -0
- package/dist/apis/access-token.cjs +7 -7
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +7 -7
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +7 -7
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +7 -7
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +7 -7
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +7 -7
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +7 -7
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +7 -7
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +7 -7
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +7 -7
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +7 -7
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +7 -7
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +7 -7
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +7 -7
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +7 -7
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +7 -7
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +7 -7
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +7 -7
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +7 -7
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +7 -7
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +7 -7
- package/dist/apis/erp-integration.js +1 -1
- package/dist/apis/event-catalog.cjs +7 -7
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +7 -7
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +7 -7
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +7 -7
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +7 -7
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +7 -7
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +7 -7
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +7 -7
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +7 -7
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +7 -7
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +7 -7
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +7 -7
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +7 -7
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +7 -7
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +7 -7
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +7 -7
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +7 -7
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +7 -7
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +7 -7
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +7 -7
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +7 -7
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +7 -7
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +7 -7
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +7 -7
- package/dist/apis/workflow.js +1 -1
- package/dist/bin/cli.js +123 -25
- package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
- package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
- package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.cts} +1 -2
- package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.ts} +1 -2
- package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
- package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/js-yaml-UPZKYVRY.js +2645 -0
- package/package.json +11 -10
- package/LICENSE +0 -21
|
@@ -0,0 +1,578 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|