@epilot/sdk 2.1.9 → 2.2.0

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 (202) hide show
  1. package/dist/apis/access-token.cjs +6 -6
  2. package/dist/apis/access-token.js +1 -1
  3. package/dist/apis/address-suggestions.cjs +6 -6
  4. package/dist/apis/address-suggestions.js +1 -1
  5. package/dist/apis/address.cjs +6 -6
  6. package/dist/apis/address.js +1 -1
  7. package/dist/apis/ai-agents.cjs +6 -6
  8. package/dist/apis/ai-agents.js +1 -1
  9. package/dist/apis/app.cjs +6 -6
  10. package/dist/apis/app.js +1 -1
  11. package/dist/apis/audit-logs.cjs +6 -6
  12. package/dist/apis/audit-logs.js +1 -1
  13. package/dist/apis/automation.cjs +6 -6
  14. package/dist/apis/automation.js +1 -1
  15. package/dist/apis/billing.cjs +6 -6
  16. package/dist/apis/billing.js +1 -1
  17. package/dist/apis/blueprint-manifest.cjs +6 -6
  18. package/dist/apis/blueprint-manifest.js +1 -1
  19. package/dist/apis/consent.cjs +6 -6
  20. package/dist/apis/consent.js +1 -1
  21. package/dist/apis/customer-portal.cjs +6 -6
  22. package/dist/apis/customer-portal.js +1 -1
  23. package/dist/apis/dashboard.cjs +6 -6
  24. package/dist/apis/dashboard.js +1 -1
  25. package/dist/apis/data-management.cjs +6 -6
  26. package/dist/apis/data-management.js +1 -1
  27. package/dist/apis/deduplication.cjs +6 -6
  28. package/dist/apis/deduplication.js +1 -1
  29. package/dist/apis/design.cjs +6 -6
  30. package/dist/apis/design.js +1 -1
  31. package/dist/apis/document.cjs +6 -6
  32. package/dist/apis/document.js +1 -1
  33. package/dist/apis/email-settings.cjs +6 -6
  34. package/dist/apis/email-settings.js +1 -1
  35. package/dist/apis/email-template.cjs +6 -6
  36. package/dist/apis/email-template.js +1 -1
  37. package/dist/apis/entity-mapping.cjs +6 -6
  38. package/dist/apis/entity-mapping.js +1 -1
  39. package/dist/apis/entity.cjs +6 -6
  40. package/dist/apis/entity.js +1 -1
  41. package/dist/apis/environments.cjs +6 -6
  42. package/dist/apis/environments.js +1 -1
  43. package/dist/apis/erp-integration.cjs +6 -6
  44. package/dist/apis/erp-integration.js +1 -1
  45. package/dist/apis/event-catalog.cjs +6 -6
  46. package/dist/apis/event-catalog.js +1 -1
  47. package/dist/apis/file.cjs +6 -6
  48. package/dist/apis/file.js +1 -1
  49. package/dist/apis/iban.cjs +6 -6
  50. package/dist/apis/iban.js +1 -1
  51. package/dist/apis/journey.cjs +6 -6
  52. package/dist/apis/journey.d.cts +2 -2
  53. package/dist/apis/journey.d.ts +2 -2
  54. package/dist/apis/journey.js +1 -1
  55. package/dist/apis/kanban.cjs +6 -6
  56. package/dist/apis/kanban.js +1 -1
  57. package/dist/apis/message.cjs +6 -6
  58. package/dist/apis/message.js +1 -1
  59. package/dist/apis/metering.cjs +6 -6
  60. package/dist/apis/metering.js +1 -1
  61. package/dist/apis/notes.cjs +6 -6
  62. package/dist/apis/notes.js +1 -1
  63. package/dist/apis/notification.cjs +6 -6
  64. package/dist/apis/notification.js +1 -1
  65. package/dist/apis/organization.cjs +6 -6
  66. package/dist/apis/organization.js +1 -1
  67. package/dist/apis/partner-directory.cjs +6 -6
  68. package/dist/apis/partner-directory.js +1 -1
  69. package/dist/apis/permissions.cjs +6 -6
  70. package/dist/apis/permissions.js +1 -1
  71. package/dist/apis/pricing-tier.cjs +6 -6
  72. package/dist/apis/pricing-tier.js +1 -1
  73. package/dist/apis/pricing.cjs +6 -6
  74. package/dist/apis/pricing.js +1 -1
  75. package/dist/apis/purpose.cjs +6 -6
  76. package/dist/apis/purpose.js +1 -1
  77. package/dist/apis/sandbox.cjs +6 -6
  78. package/dist/apis/sandbox.js +1 -1
  79. package/dist/apis/submission.cjs +6 -6
  80. package/dist/apis/submission.js +1 -1
  81. package/dist/apis/targeting.cjs +6 -6
  82. package/dist/apis/targeting.js +1 -1
  83. package/dist/apis/template-variables.cjs +6 -6
  84. package/dist/apis/template-variables.js +1 -1
  85. package/dist/apis/user.cjs +6 -6
  86. package/dist/apis/user.js +1 -1
  87. package/dist/apis/validation-rules.cjs +6 -6
  88. package/dist/apis/validation-rules.js +1 -1
  89. package/dist/apis/webhooks.cjs +6 -6
  90. package/dist/apis/webhooks.js +1 -1
  91. package/dist/apis/workflow-definition.cjs +6 -6
  92. package/dist/apis/workflow-definition.js +1 -1
  93. package/dist/apis/workflow.cjs +6 -6
  94. package/dist/apis/workflow.js +1 -1
  95. package/dist/bin/cli.js +35 -11
  96. package/dist/{chunk-FXN6IHCZ.cjs → chunk-6TKKEGYU.cjs} +1 -1
  97. package/dist/{chunk-6D5AZZ2F.js → chunk-G33CBNJD.js} +1 -1
  98. package/dist/index.cjs +8 -8
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.ts +1 -1
  101. package/dist/index.js +1 -1
  102. package/dist/journey-KDR5EU3W.js +7 -0
  103. package/dist/journey-REBN4TGQ.cjs +7 -0
  104. package/dist/{journey.d-C4N4t1Rh.d.ts → journey.d-ClXO0xK8.d.cts} +20 -0
  105. package/dist/{journey.d-C4N4t1Rh.d.cts → journey.d-ClXO0xK8.d.ts} +20 -0
  106. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  107. package/docs/journey.md +21 -2
  108. package/package.json +1 -1
  109. package/definitions/access-token-runtime.json +0 -1
  110. package/definitions/access-token.json +0 -663
  111. package/definitions/address-runtime.json +0 -1
  112. package/definitions/address-suggestions-runtime.json +0 -1
  113. package/definitions/address-suggestions.json +0 -582
  114. package/definitions/address.json +0 -578
  115. package/definitions/ai-agents-runtime.json +0 -1
  116. package/definitions/ai-agents.json +0 -1711
  117. package/definitions/app-runtime.json +0 -1
  118. package/definitions/app.json +0 -4493
  119. package/definitions/audit-logs-runtime.json +0 -1
  120. package/definitions/audit-logs.json +0 -305
  121. package/definitions/automation-runtime.json +0 -1
  122. package/definitions/automation.json +0 -4815
  123. package/definitions/billing-runtime.json +0 -1
  124. package/definitions/billing.json +0 -837
  125. package/definitions/blueprint-manifest-runtime.json +0 -1
  126. package/definitions/blueprint-manifest.json +0 -3490
  127. package/definitions/consent-runtime.json +0 -1
  128. package/definitions/consent.json +0 -344
  129. package/definitions/customer-portal-runtime.json +0 -1
  130. package/definitions/customer-portal.json +0 -15676
  131. package/definitions/dashboard-runtime.json +0 -1
  132. package/definitions/dashboard.json +0 -484
  133. package/definitions/data-management-runtime.json +0 -1
  134. package/definitions/data-management.json +0 -972
  135. package/definitions/deduplication-runtime.json +0 -1
  136. package/definitions/deduplication.json +0 -183
  137. package/definitions/design-runtime.json +0 -1
  138. package/definitions/design.json +0 -1423
  139. package/definitions/document-runtime.json +0 -1
  140. package/definitions/document.json +0 -758
  141. package/definitions/email-settings-runtime.json +0 -1
  142. package/definitions/email-settings.json +0 -2748
  143. package/definitions/email-template-runtime.json +0 -1
  144. package/definitions/email-template.json +0 -1441
  145. package/definitions/entity-mapping-runtime.json +0 -1
  146. package/definitions/entity-mapping.json +0 -1642
  147. package/definitions/entity-runtime.json +0 -1
  148. package/definitions/entity.json +0 -10276
  149. package/definitions/environments-runtime.json +0 -1
  150. package/definitions/environments.json +0 -363
  151. package/definitions/erp-integration-runtime.json +0 -1
  152. package/definitions/erp-integration.json +0 -6304
  153. package/definitions/event-catalog-runtime.json +0 -1
  154. package/definitions/event-catalog.json +0 -1051
  155. package/definitions/file-runtime.json +0 -1
  156. package/definitions/file.json +0 -2842
  157. package/definitions/iban-runtime.json +0 -1
  158. package/definitions/iban.json +0 -132
  159. package/definitions/journey-runtime.json +0 -1
  160. package/definitions/journey.json +0 -2586
  161. package/definitions/kanban-runtime.json +0 -1
  162. package/definitions/kanban.json +0 -1505
  163. package/definitions/message-runtime.json +0 -1
  164. package/definitions/message.json +0 -2660
  165. package/definitions/metering-runtime.json +0 -1
  166. package/definitions/metering.json +0 -2321
  167. package/definitions/notes-runtime.json +0 -1
  168. package/definitions/notes.json +0 -1531
  169. package/definitions/notification-runtime.json +0 -1
  170. package/definitions/notification.json +0 -1425
  171. package/definitions/organization-runtime.json +0 -1
  172. package/definitions/organization.json +0 -1192
  173. package/definitions/partner-directory-runtime.json +0 -1
  174. package/definitions/partner-directory.json +0 -2284
  175. package/definitions/permissions-runtime.json +0 -1
  176. package/definitions/permissions.json +0 -1515
  177. package/definitions/pricing-runtime.json +0 -1
  178. package/definitions/pricing-tier-runtime.json +0 -1
  179. package/definitions/pricing-tier.json +0 -105
  180. package/definitions/pricing.json +0 -9884
  181. package/definitions/purpose-runtime.json +0 -1
  182. package/definitions/purpose.json +0 -524
  183. package/definitions/sandbox-runtime.json +0 -1
  184. package/definitions/sandbox.json +0 -453
  185. package/definitions/submission-runtime.json +0 -1
  186. package/definitions/submission.json +0 -313
  187. package/definitions/targeting-runtime.json +0 -1
  188. package/definitions/targeting.json +0 -1474
  189. package/definitions/template-variables-runtime.json +0 -1
  190. package/definitions/template-variables.json +0 -1408
  191. package/definitions/user-runtime.json +0 -1
  192. package/definitions/user.json +0 -2408
  193. package/definitions/validation-rules-runtime.json +0 -1
  194. package/definitions/validation-rules.json +0 -1491
  195. package/definitions/webhooks-runtime.json +0 -1
  196. package/definitions/webhooks.json +0 -1634
  197. package/definitions/workflow-definition-runtime.json +0 -1
  198. package/definitions/workflow-definition.json +0 -3417
  199. package/definitions/workflow-runtime.json +0 -1
  200. package/definitions/workflow.json +0 -4146
  201. package/dist/journey-7CKX67M7.js +0 -7
  202. package/dist/journey-EUZ6MVHG.cjs +0 -7
@@ -1,663 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Access Token API",
5
- "version": "0.4.0",
6
- "description": "Generate Access Tokens for 3rd party applications that need access to epilot APIs.\n"
7
- },
8
- "tags": [
9
- {
10
- "name": "Access Tokens",
11
- "description": "Create Access Tokens for epilot APIs"
12
- },
13
- {
14
- "name": "Public",
15
- "description": "Well known endpoints to verify tokens generated by this API"
16
- }
17
- ],
18
- "security": [
19
- {
20
- "EpilotAuth": []
21
- },
22
- {
23
- "EpilotOrg": []
24
- }
25
- ],
26
- "paths": {
27
- "/v1/access-tokens": {
28
- "post": {
29
- "operationId": "createAccessToken",
30
- "summary": "createAccessToken",
31
- "description": "**Access Token type: `API`** (default if not specified):\n\nGenerates a new Access Token to use for calling epilot APIs.\n\nTakes optionally a list of Roles assigned to the Access Token. Defaults to current user's assignments\n\nSee [Permissions API docs](https://docs.epilot.io/api/permissions)\n\n**Access Token type: `JOURNEY`**:\n\nGenerates a Public Access Token related to a journey.\nThe journey id should be specfied.\n",
32
- "tags": [
33
- "Access Tokens"
34
- ],
35
- "requestBody": {
36
- "description": "Metadata for the Access Token",
37
- "content": {
38
- "application/json": {
39
- "schema": {
40
- "$ref": "#/components/schemas/TokenParameters"
41
- },
42
- "examples": {
43
- "api": {
44
- "value": {
45
- "name": "API Access Token",
46
- "token_type": "api",
47
- "assignments": []
48
- }
49
- },
50
- "journey": {
51
- "value": {
52
- "name": "Journey Access Token",
53
- "token_type": "journey",
54
- "journey_id": "u29g7-97gajsaog-028t02jag-a9a72tk"
55
- }
56
- },
57
- "portal": {
58
- "value": {
59
- "name": "Installer /End Customer Portal Access Token",
60
- "token_type": "portal",
61
- "portal_id": "END_CUSTOMER_PORTAL"
62
- }
63
- },
64
- "assume": {
65
- "value": {
66
- "name": "Assume Token intended for assuming a different role as a user",
67
- "token_type": "assume",
68
- "assignments": [
69
- "739224:employee"
70
- ]
71
- }
72
- },
73
- "app": {
74
- "value": {
75
- "name": "App Access Token",
76
- "token_type": "app",
77
- "assignments": [
78
- "739224:e5c1f9b1-e41d-421d-83c4-c5626e464430"
79
- ]
80
- }
81
- }
82
- }
83
- }
84
- }
85
- },
86
- "responses": {
87
- "201": {
88
- "description": "The new generated Access Token",
89
- "content": {
90
- "application/json": {
91
- "schema": {
92
- "allOf": [
93
- {
94
- "properties": {
95
- "token": {
96
- "$ref": "#/components/schemas/AccessToken"
97
- }
98
- }
99
- },
100
- {
101
- "$ref": "#/components/schemas/AccessTokenItem"
102
- }
103
- ]
104
- }
105
- }
106
- }
107
- },
108
- "400": {
109
- "description": "Bad Request",
110
- "content": {
111
- "application/json": {
112
- "schema": {
113
- "type": "object",
114
- "properties": {
115
- "status": {
116
- "type": "integer"
117
- },
118
- "error": {
119
- "type": "string"
120
- }
121
- }
122
- }
123
- }
124
- }
125
- },
126
- "500": {
127
- "description": "Internal Server Error",
128
- "content": {
129
- "application/json": {
130
- "schema": {
131
- "type": "object",
132
- "properties": {
133
- "status": {
134
- "type": "integer"
135
- },
136
- "error": {
137
- "type": "string"
138
- }
139
- }
140
- }
141
- }
142
- }
143
- }
144
- }
145
- },
146
- "get": {
147
- "operationId": "listAccessTokens",
148
- "summary": "listAccessTokens",
149
- "description": "Lists all Access Tokens for current user (by default excludes system generated tokens)",
150
- "parameters": [
151
- {
152
- "in": "query",
153
- "name": "token_type",
154
- "description": "Filter by token types",
155
- "schema": {
156
- "type": "array",
157
- "items": {
158
- "$ref": "#/components/schemas/AccessTokenType"
159
- }
160
- }
161
- }
162
- ],
163
- "tags": [
164
- "Access Tokens"
165
- ],
166
- "responses": {
167
- "200": {
168
- "description": "List of Access Tokens",
169
- "content": {
170
- "application/json": {
171
- "schema": {
172
- "type": "array",
173
- "items": {
174
- "$ref": "#/components/schemas/AccessTokenItem"
175
- }
176
- }
177
- }
178
- }
179
- }
180
- }
181
- }
182
- },
183
- "/v1/access-tokens/{id}": {
184
- "delete": {
185
- "operationId": "revokeAccessToken",
186
- "summary": "revokeAccessToken",
187
- "description": "Revokes an Access Token so it can't be used anymore.",
188
- "parameters": [
189
- {
190
- "name": "id",
191
- "in": "path",
192
- "schema": {
193
- "$ref": "#/components/schemas/AccessTokenId"
194
- },
195
- "required": true
196
- }
197
- ],
198
- "tags": [
199
- "Access Tokens"
200
- ],
201
- "responses": {
202
- "200": {
203
- "description": "The revoked generated Access Token",
204
- "content": {
205
- "application/json": {
206
- "schema": {
207
- "$ref": "#/components/schemas/AccessTokenItem"
208
- }
209
- }
210
- }
211
- }
212
- }
213
- }
214
- },
215
- "/v1/access-tokens/.well-known/jwks.json": {
216
- "get": {
217
- "operationId": "getAccessTokenJwks",
218
- "summary": "getAccessTokenJwks",
219
- "description": "Get jwks public key set to verify access tokens generated by this API",
220
- "tags": [
221
- "Public"
222
- ],
223
- "security": [],
224
- "responses": {
225
- "200": {
226
- "description": "Set of jwks",
227
- "content": {
228
- "application/json": {
229
- "schema": {
230
- "type": "object",
231
- "properties": {
232
- "keys": {
233
- "type": "array",
234
- "items": {
235
- "type": "object",
236
- "properties": {
237
- "alg": {
238
- "type": "string",
239
- "example": "RS256"
240
- },
241
- "e": {
242
- "type": "string",
243
- "example": "AQAB"
244
- },
245
- "kid": {
246
- "type": "string",
247
- "example": "tXWU5mPMbRPczpbQwi6vbhLF4GgF3wlMDSyqo7pfeiw="
248
- },
249
- "kty": {
250
- "type": "string",
251
- "example": "RSA"
252
- },
253
- "n": {
254
- "type": "string",
255
- "example": "h_QDoCjZ8W_trtYXaP7_S22wf5r5Wd9XBLED78oT44bJjQXn8ddcFV8Hik65_4IYXVX_hTTU4zpxe3H8vx2j7-Zz3O59mYMp5S0MzODNEdf5Y_2o19eis0brmAJniixsNlQ9LlYkdrVamrgaxHu3ZpP_99zkfFybYeuYoQNzb3PyrT8xVnz_USs_nlFMHpGUxvvz7gfKPqxcLvgLJr4cwI9yzaSY9CD4qW181QVcnL_WzpQ8xx6AuhhHZQ1l_3GG4InTk8ahE7U2ZHVu8RrX6d01pMgc3piEcet9RgFLnhbTg3YIiKGoAbN42wJn_x3lgIAC42T9mbmTsHyUdS6nUQ"
256
- },
257
- "use": {
258
- "type": "string",
259
- "example": "sig"
260
- }
261
- }
262
- }
263
- }
264
- }
265
- }
266
- }
267
- }
268
- }
269
- }
270
- }
271
- },
272
- "/v1/access-tokens/.well-known/openid-configuration": {
273
- "get": {
274
- "operationId": "getAccessTokenOIDC",
275
- "summary": "getAccessTokenOIDC",
276
- "description": "OpenID Connect configuration for Access Token API as identity provider\n\nNote: This API is not a fully compliant OAuth2.0 / OIDC identity provider, but this endpoint is useful to\nautomate the process of verifying JWT tokens.\n",
277
- "tags": [
278
- "Public"
279
- ],
280
- "security": [],
281
- "responses": {
282
- "200": {
283
- "description": "OpenID Configuration",
284
- "content": {
285
- "application/json": {
286
- "schema": {
287
- "type": "object",
288
- "properties": {
289
- "issuer": {
290
- "type": "string",
291
- "format": "uri",
292
- "example": "https://access-token.sls.epilot.io/v1/access-tokens"
293
- },
294
- "jwks_uri": {
295
- "type": "string",
296
- "format": "uri",
297
- "example": "https://access-token.sls.epilot.io/v1/access-tokens/.well-known/jwks.json"
298
- }
299
- }
300
- }
301
- }
302
- }
303
- }
304
- }
305
- }
306
- },
307
- "/v1/access-tokens/public/.well-known/jwks.json": {
308
- "get": {
309
- "operationId": "getPublicTokenJwks",
310
- "summary": "getPublicTokenJwks",
311
- "description": "Get jwks public key set to verify public tokens generated by this API",
312
- "tags": [
313
- "Public"
314
- ],
315
- "security": [],
316
- "responses": {
317
- "200": {
318
- "description": "Set of jwks",
319
- "content": {
320
- "application/json": {
321
- "schema": {
322
- "type": "object",
323
- "properties": {
324
- "keys": {
325
- "type": "array",
326
- "items": {
327
- "type": "object",
328
- "properties": {
329
- "alg": {
330
- "type": "string",
331
- "example": "RS256"
332
- },
333
- "e": {
334
- "type": "string",
335
- "example": "AQAB"
336
- },
337
- "kid": {
338
- "type": "string",
339
- "example": "tXWU5mPMbRPczpbQwi6vbhLF4GgF3wlMDSyqo7pfeiw="
340
- },
341
- "kty": {
342
- "type": "string",
343
- "example": "RSA"
344
- },
345
- "n": {
346
- "type": "string",
347
- "example": "h_QDoCjZ8W_trtYXaP7_S22wf5r5Wd9XBLED78oT44bJjQXn8ddcFV8Hik65_4IYXVX_hTTU4zpxe3H8vx2j7-Zz3O59mYMp5S0MzODNEdf5Y_2o19eis0brmAJniixsNlQ9LlYkdrVamrgaxHu3ZpP_99zkfFybYeuYoQNzb3PyrT8xVnz_USs_nlFMHpGUxvvz7gfKPqxcLvgLJr4cwI9yzaSY9CD4qW181QVcnL_WzpQ8xx6AuhhHZQ1l_3GG4InTk8ahE7U2ZHVu8RrX6d01pMgc3piEcet9RgFLnhbTg3YIiKGoAbN42wJn_x3lgIAC42T9mbmTsHyUdS6nUQ"
348
- },
349
- "use": {
350
- "type": "string",
351
- "example": "sig"
352
- }
353
- }
354
- }
355
- }
356
- }
357
- }
358
- }
359
- }
360
- }
361
- }
362
- }
363
- },
364
- "/v1/access-tokens/public/.well-known/openid-configuration": {
365
- "get": {
366
- "operationId": "getPublicTokenOIDC",
367
- "summary": "getPublicTokenOIDC",
368
- "description": "OpenID Connect configuration for Access Token API a a public identity provider\n\nNote: This API is not a fully compliant OAuth2.0 / OIDC identity provider, but this endpoint is useful to\nautomate the process of verifying JWT tokens.\n",
369
- "tags": [
370
- "Public"
371
- ],
372
- "security": [],
373
- "responses": {
374
- "200": {
375
- "description": "OpenID Configuration",
376
- "content": {
377
- "application/json": {
378
- "schema": {
379
- "type": "object",
380
- "properties": {
381
- "issuer": {
382
- "type": "string",
383
- "format": "uri",
384
- "example": "https://access-token.sls.epilot.io/v1/access-tokens"
385
- },
386
- "jwks_uri": {
387
- "type": "string",
388
- "format": "uri",
389
- "example": "https://access-token.sls.epilot.io/v1/access-tokens/.well-known/jwks.json"
390
- }
391
- }
392
- }
393
- }
394
- }
395
- }
396
- }
397
- }
398
- }
399
- },
400
- "components": {
401
- "securitySchemes": {
402
- "EpilotAuth": {
403
- "type": "http",
404
- "scheme": "bearer",
405
- "description": "Authorization header with epilot OAuth2 bearer token",
406
- "bearerFormat": "JWT"
407
- },
408
- "EpilotOrg": {
409
- "description": "Overrides the target organization to allow shared tenantaccess",
410
- "name": "x-epilot-org-id",
411
- "in": "header",
412
- "type": "apiKey"
413
- }
414
- },
415
- "schemas": {
416
- "AccessToken": {
417
- "type": "string",
418
- "description": "A JWT Access Token",
419
- "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp..."
420
- },
421
- "AccessTokenId": {
422
- "type": "string",
423
- "example": "api_5ZugdRXasLfWBypHi93Fk"
424
- },
425
- "AccessTokenName": {
426
- "type": "string",
427
- "description": "Human readable name for access token",
428
- "example": "Postman Access Token"
429
- },
430
- "AccessTokenType": {
431
- "type": "string",
432
- "enum": [
433
- "api",
434
- "journey",
435
- "portal",
436
- "assume",
437
- "app"
438
- ],
439
- "description": "Access token type",
440
- "example": "api"
441
- },
442
- "AccessTokenJourneyId": {
443
- "type": "string",
444
- "description": "Journey ID for access token type \"journey\""
445
- },
446
- "PortalId": {
447
- "type": "string",
448
- "description": "Portal ID for access token type \"portal\""
449
- },
450
- "TokenParameters": {
451
- "anyOf": [
452
- {
453
- "$ref": "#/components/schemas/AccessTokenParameters"
454
- },
455
- {
456
- "$ref": "#/components/schemas/JourneyTokenParameters"
457
- },
458
- {
459
- "$ref": "#/components/schemas/PortalTokenParameters"
460
- },
461
- {
462
- "$ref": "#/components/schemas/AssumeTokenParameters"
463
- },
464
- {
465
- "$ref": "#/components/schemas/AppTokenParameters"
466
- }
467
- ]
468
- },
469
- "ExpiresIn": {
470
- "oneOf": [
471
- {
472
- "type": "integer",
473
- "format": "int32",
474
- "description": "Expiration time in seconds",
475
- "example": 3600,
476
- "minimum": 30,
477
- "maximum": 604800
478
- },
479
- {
480
- "type": "string",
481
- "description": "Expiration time as a string with time units (e.g., '10h', '7d', '2 days')",
482
- "example": "1h",
483
- "pattern": "^[0-9]+ ?(ms|milliseconds?|s|seconds?|m|minutes?|h|hours?|d|days?|w|weeks?|y|years?)?$"
484
- }
485
- ]
486
- },
487
- "AccessTokenParameters": {
488
- "type": "object",
489
- "additionalProperties": false,
490
- "properties": {
491
- "name": {
492
- "$ref": "#/components/schemas/AccessTokenName"
493
- },
494
- "token_type": {
495
- "type": "string",
496
- "enum": [
497
- "api"
498
- ]
499
- },
500
- "assignments": {
501
- "$ref": "#/components/schemas/Assignments"
502
- },
503
- "expires_in": {
504
- "$ref": "#/components/schemas/ExpiresIn"
505
- }
506
- },
507
- "required": [
508
- "name"
509
- ]
510
- },
511
- "JourneyTokenParameters": {
512
- "type": "object",
513
- "additionalProperties": false,
514
- "properties": {
515
- "name": {
516
- "$ref": "#/components/schemas/AccessTokenName"
517
- },
518
- "token_type": {
519
- "type": "string",
520
- "enum": [
521
- "journey"
522
- ]
523
- },
524
- "journey_id": {
525
- "$ref": "#/components/schemas/AccessTokenJourneyId"
526
- },
527
- "expires_in": {
528
- "$ref": "#/components/schemas/ExpiresIn"
529
- }
530
- },
531
- "required": [
532
- "name",
533
- "journey_id"
534
- ]
535
- },
536
- "PortalTokenParameters": {
537
- "type": "object",
538
- "additionalProperties": false,
539
- "properties": {
540
- "name": {
541
- "$ref": "#/components/schemas/AccessTokenName"
542
- },
543
- "token_type": {
544
- "type": "string",
545
- "enum": [
546
- "portal"
547
- ]
548
- },
549
- "portal_id": {
550
- "$ref": "#/components/schemas/PortalId"
551
- },
552
- "expires_in": {
553
- "$ref": "#/components/schemas/ExpiresIn"
554
- }
555
- },
556
- "required": [
557
- "name",
558
- "portal_id"
559
- ]
560
- },
561
- "AssumeTokenParameters": {
562
- "type": "object",
563
- "additionalProperties": false,
564
- "properties": {
565
- "name": {
566
- "$ref": "#/components/schemas/AccessTokenName"
567
- },
568
- "token_type": {
569
- "type": "string",
570
- "enum": [
571
- "assume"
572
- ]
573
- },
574
- "assignments": {
575
- "$ref": "#/components/schemas/Assignments"
576
- }
577
- },
578
- "required": [
579
- "name"
580
- ]
581
- },
582
- "AppTokenParameters": {
583
- "type": "object",
584
- "additionalProperties": false,
585
- "properties": {
586
- "name": {
587
- "$ref": "#/components/schemas/AccessTokenName"
588
- },
589
- "token_type": {
590
- "type": "string",
591
- "enum": [
592
- "app"
593
- ]
594
- },
595
- "assignments": {
596
- "$ref": "#/components/schemas/Assignments"
597
- },
598
- "expires_in": {
599
- "$ref": "#/components/schemas/ExpiresIn"
600
- }
601
- },
602
- "required": [
603
- "name"
604
- ]
605
- },
606
- "AccessTokenItem": {
607
- "type": "object",
608
- "properties": {
609
- "id": {
610
- "$ref": "#/components/schemas/AccessTokenId"
611
- },
612
- "created_at": {
613
- "type": "string",
614
- "format": "date-time"
615
- },
616
- "name": {
617
- "$ref": "#/components/schemas/AccessTokenName"
618
- },
619
- "token_type": {
620
- "$ref": "#/components/schemas/AccessTokenType"
621
- },
622
- "journey_id": {
623
- "$ref": "#/components/schemas/AccessTokenJourneyId"
624
- },
625
- "portal_id": {
626
- "$ref": "#/components/schemas/PortalId"
627
- },
628
- "assignments": {
629
- "$ref": "#/components/schemas/Assignments"
630
- },
631
- "last_used": {
632
- "type": "string",
633
- "format": "date",
634
- "description": "Last date the token was used (YYYY-MM-DD format, 1 day accuracy)",
635
- "example": "2026-02-24"
636
- }
637
- },
638
- "required": [
639
- "id",
640
- "created_at",
641
- "name"
642
- ]
643
- },
644
- "RoleId": {
645
- "type": "string",
646
- "example": "123:owner",
647
- "description": "Format: <organization_id>:<slug>"
648
- },
649
- "Assignments": {
650
- "type": "array",
651
- "description": "List of role ids attached to an user",
652
- "items": {
653
- "$ref": "#/components/schemas/RoleId"
654
- }
655
- }
656
- }
657
- },
658
- "servers": [
659
- {
660
- "url": "https://access-token.sls.epilot.io"
661
- }
662
- ]
663
- }
@@ -1 +0,0 @@
1
- {"s":"https://address.sls.epilot.io","o":[["getAddressSuggestions","get","/v1/public/suggestions",[["fileRef","q",true],["countryCodeSearchTerm","q"],["postalCodeSearchTerm","q"],["streetSearchTerm","q"]]],["availabilityCheck","post","/v1/public/availability",null,1],["validateAvailabilityFile","get","/v1/availability/{id}/validate",[["id","p",true]]]],"v":"3.1.0"}
@@ -1 +0,0 @@
1
- {"s":"https://address-suggestions-api.sls.epilot.io","o":[["getAddresses","get","/v1/public/suggestions",[["X-Epilot-Org-ID","h",true],["s3FileUrl","q"],["fileId","q"],["countryCodeSearchTerm","q"],["postalCodeSearchTerm","q"],["streetSearchTerm","q"]]],["validateAddresses","get","/v1/suggestions:validate",[["s3FileUrl","q"],["fileId","q"]]],["checkAvailability","get","/v1/public/availability:check",[["X-Epilot-Org-ID","h",true],["files","q",true],["countryCode","q",true],["postalCode","q",true],["street","q"],["streetNumber","q"]]],["validateAddressesFile","get","/v1/addresses-files:validate",[["fileId","q"]]]],"v":"3.0.3"}