@epilot/sdk 2.0.3 → 2.1.0-rc.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 (214) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4443 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +4850 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +3376 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15000 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-management-runtime.json +1 -0
  26. package/definitions/data-management.json +962 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +183 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1423 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2627 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1419 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10074 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/erp-integration-runtime.json +1 -0
  44. package/definitions/erp-integration.json +5845 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2341 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +929 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2660 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +629 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +1718 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1480 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/submission-runtime.json +1 -0
  78. package/definitions/submission.json +313 -0
  79. package/definitions/targeting-runtime.json +1 -0
  80. package/definitions/targeting.json +1474 -0
  81. package/definitions/template-variables-runtime.json +1 -0
  82. package/definitions/template-variables.json +1408 -0
  83. package/definitions/user-runtime.json +1 -0
  84. package/definitions/user.json +2408 -0
  85. package/definitions/validation-rules-runtime.json +1 -0
  86. package/definitions/validation-rules.json +1491 -0
  87. package/definitions/webhooks-runtime.json +1 -0
  88. package/definitions/webhooks.json +1525 -0
  89. package/definitions/workflow-definition-runtime.json +1 -0
  90. package/definitions/workflow-definition.json +3417 -0
  91. package/definitions/workflow-runtime.json +1 -0
  92. package/definitions/workflow.json +4106 -0
  93. package/dist/apis/access-token.cjs +7 -7
  94. package/dist/apis/access-token.js +1 -1
  95. package/dist/apis/address-suggestions.cjs +7 -7
  96. package/dist/apis/address-suggestions.js +1 -1
  97. package/dist/apis/address.cjs +7 -7
  98. package/dist/apis/address.js +1 -1
  99. package/dist/apis/ai-agents.cjs +7 -7
  100. package/dist/apis/ai-agents.js +1 -1
  101. package/dist/apis/app.cjs +7 -7
  102. package/dist/apis/app.d.cts +2 -2
  103. package/dist/apis/app.d.ts +2 -2
  104. package/dist/apis/app.js +1 -1
  105. package/dist/apis/audit-logs.cjs +7 -7
  106. package/dist/apis/audit-logs.js +1 -1
  107. package/dist/apis/automation.cjs +7 -7
  108. package/dist/apis/automation.js +1 -1
  109. package/dist/apis/billing.cjs +7 -7
  110. package/dist/apis/billing.js +1 -1
  111. package/dist/apis/blueprint-manifest.cjs +8 -8
  112. package/dist/apis/blueprint-manifest.d.cts +2 -2
  113. package/dist/apis/blueprint-manifest.d.ts +2 -2
  114. package/dist/apis/blueprint-manifest.js +2 -2
  115. package/dist/apis/consent.cjs +7 -7
  116. package/dist/apis/consent.js +1 -1
  117. package/dist/apis/customer-portal.cjs +7 -7
  118. package/dist/apis/customer-portal.js +1 -1
  119. package/dist/apis/dashboard.cjs +7 -7
  120. package/dist/apis/dashboard.js +1 -1
  121. package/dist/apis/data-management.cjs +7 -7
  122. package/dist/apis/data-management.d.cts +2 -2
  123. package/dist/apis/data-management.d.ts +2 -2
  124. package/dist/apis/data-management.js +1 -1
  125. package/dist/apis/deduplication.cjs +7 -7
  126. package/dist/apis/deduplication.js +1 -1
  127. package/dist/apis/design.cjs +7 -7
  128. package/dist/apis/design.js +1 -1
  129. package/dist/apis/document.cjs +7 -7
  130. package/dist/apis/document.js +1 -1
  131. package/dist/apis/email-settings.cjs +7 -7
  132. package/dist/apis/email-settings.js +1 -1
  133. package/dist/apis/email-template.cjs +7 -7
  134. package/dist/apis/email-template.d.cts +2 -2
  135. package/dist/apis/email-template.d.ts +2 -2
  136. package/dist/apis/email-template.js +1 -1
  137. package/dist/apis/entity-mapping.cjs +7 -7
  138. package/dist/apis/entity-mapping.js +1 -1
  139. package/dist/apis/entity.cjs +8 -8
  140. package/dist/apis/entity.d.cts +2 -2
  141. package/dist/apis/entity.d.ts +2 -2
  142. package/dist/apis/entity.js +2 -2
  143. package/dist/apis/environments.cjs +7 -7
  144. package/dist/apis/environments.js +1 -1
  145. package/dist/apis/erp-integration.cjs +7 -7
  146. package/dist/apis/erp-integration.js +1 -1
  147. package/dist/apis/event-catalog.cjs +7 -7
  148. package/dist/apis/event-catalog.js +1 -1
  149. package/dist/apis/file.cjs +7 -7
  150. package/dist/apis/file.js +1 -1
  151. package/dist/apis/iban.cjs +7 -7
  152. package/dist/apis/iban.js +1 -1
  153. package/dist/apis/journey.cjs +7 -7
  154. package/dist/apis/journey.js +1 -1
  155. package/dist/apis/kanban.cjs +7 -7
  156. package/dist/apis/kanban.js +1 -1
  157. package/dist/apis/message.cjs +7 -7
  158. package/dist/apis/message.js +1 -1
  159. package/dist/apis/metering.cjs +7 -7
  160. package/dist/apis/metering.js +1 -1
  161. package/dist/apis/notes.cjs +7 -7
  162. package/dist/apis/notes.js +1 -1
  163. package/dist/apis/notification.cjs +7 -7
  164. package/dist/apis/notification.js +1 -1
  165. package/dist/apis/organization.cjs +7 -7
  166. package/dist/apis/organization.js +1 -1
  167. package/dist/apis/partner-directory.cjs +7 -7
  168. package/dist/apis/partner-directory.js +1 -1
  169. package/dist/apis/permissions.cjs +7 -7
  170. package/dist/apis/permissions.js +1 -1
  171. package/dist/apis/pricing-tier.cjs +7 -7
  172. package/dist/apis/pricing-tier.js +1 -1
  173. package/dist/apis/pricing.cjs +7 -7
  174. package/dist/apis/pricing.js +1 -1
  175. package/dist/apis/purpose.cjs +7 -7
  176. package/dist/apis/purpose.js +1 -1
  177. package/dist/apis/sandbox.cjs +7 -7
  178. package/dist/apis/sandbox.js +1 -1
  179. package/dist/apis/submission.cjs +7 -7
  180. package/dist/apis/submission.js +1 -1
  181. package/dist/apis/targeting.cjs +7 -7
  182. package/dist/apis/targeting.js +1 -1
  183. package/dist/apis/template-variables.cjs +7 -7
  184. package/dist/apis/template-variables.js +1 -1
  185. package/dist/apis/user.cjs +7 -7
  186. package/dist/apis/user.js +1 -1
  187. package/dist/apis/validation-rules.cjs +7 -7
  188. package/dist/apis/validation-rules.js +1 -1
  189. package/dist/apis/webhooks.cjs +7 -7
  190. package/dist/apis/webhooks.js +1 -1
  191. package/dist/apis/workflow-definition.cjs +7 -7
  192. package/dist/apis/workflow-definition.js +1 -1
  193. package/dist/apis/workflow.cjs +7 -7
  194. package/dist/apis/workflow.js +1 -1
  195. package/dist/{app.d-Dr03n4J4.d.cts → app.d-BXy_QUym.d.cts} +21 -3
  196. package/dist/{app.d-Dr03n4J4.d.ts → app.d-BXy_QUym.d.ts} +21 -3
  197. package/dist/bin/cli.js +123 -25
  198. package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
  199. package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
  200. package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
  201. package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
  202. package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
  203. package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
  204. package/dist/{email-template.d-BeqkDHtk.d.cts → email-template.d-gtQkdaXM.d.cts} +17 -3
  205. package/dist/{email-template.d-BeqkDHtk.d.ts → email-template.d-gtQkdaXM.d.ts} +17 -3
  206. package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
  207. package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
  208. package/dist/index.cjs +17 -17
  209. package/dist/index.d.cts +5 -5
  210. package/dist/index.d.ts +5 -5
  211. package/dist/index.js +10 -10
  212. package/dist/js-yaml-UPZKYVRY.js +2645 -0
  213. package/package.json +11 -10
  214. package/LICENSE +0 -21
@@ -0,0 +1 @@
1
+ {"s":"https://access-token.sls.epilot.io","o":[["createAccessToken","post","/v1/access-tokens",null,1],["listAccessTokens","get","/v1/access-tokens",[["token_type","q"]]],["revokeAccessToken","delete","/v1/access-tokens/{id}",[["id","p",true]]],["getAccessTokenJwks","get","/v1/access-tokens/.well-known/jwks.json"],["getAccessTokenOIDC","get","/v1/access-tokens/.well-known/openid-configuration"],["getPublicTokenJwks","get","/v1/access-tokens/public/.well-known/jwks.json"],["getPublicTokenOIDC","get","/v1/access-tokens/public/.well-known/openid-configuration"]],"v":"3.0.3"}
@@ -0,0 +1,663 @@
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
+ }
@@ -0,0 +1 @@
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"}
@@ -0,0 +1 @@
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"}