@epilot/sdk 2.0.0-beta.3 → 2.0.0-beta.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 +13 -84
- package/dist/apis/access-token.js +11 -82
- package/dist/apis/address-suggestions.cjs +13 -127
- package/dist/apis/address-suggestions.js +11 -125
- package/dist/apis/address.cjs +13 -79
- package/dist/apis/address.js +11 -77
- package/dist/apis/ai-agents.cjs +13 -210
- package/dist/apis/ai-agents.js +11 -208
- package/dist/apis/app.cjs +13 -568
- package/dist/apis/app.js +11 -566
- package/dist/apis/audit-logs.cjs +13 -50
- package/dist/apis/audit-logs.js +11 -48
- package/dist/apis/automation.cjs +13 -277
- package/dist/apis/automation.js +11 -275
- package/dist/apis/billing.cjs +13 -170
- package/dist/apis/billing.js +11 -168
- package/dist/apis/blueprint-manifest.cjs +13 -499
- package/dist/apis/blueprint-manifest.js +11 -497
- package/dist/apis/consent.cjs +13 -79
- package/dist/apis/consent.js +11 -77
- package/dist/apis/customer-portal.cjs +13 -2247
- package/dist/apis/customer-portal.js +11 -2245
- package/dist/apis/dashboard.cjs +13 -79
- package/dist/apis/dashboard.js +11 -77
- package/dist/apis/data-management.cjs +13 -235
- package/dist/apis/data-management.js +11 -233
- package/dist/apis/deduplication.cjs +13 -37
- package/dist/apis/deduplication.js +11 -35
- package/dist/apis/design.cjs +13 -214
- package/dist/apis/design.js +11 -212
- package/dist/apis/document.cjs +13 -73
- package/dist/apis/document.js +11 -71
- package/dist/apis/email-settings.cjs +13 -528
- package/dist/apis/email-settings.js +11 -526
- package/dist/apis/email-template.cjs +13 -117
- package/dist/apis/email-template.js +11 -115
- package/dist/apis/entity-mapping.cjs +13 -210
- package/dist/apis/entity-mapping.js +11 -208
- package/dist/apis/entity.cjs +13 -1595
- package/dist/apis/entity.js +11 -1593
- package/dist/apis/environments.cjs +13 -66
- package/dist/apis/environments.js +11 -64
- package/dist/apis/erp-integration.cjs +13 -581
- package/dist/apis/erp-integration.js +11 -579
- package/dist/apis/event-catalog.cjs +13 -125
- package/dist/apis/event-catalog.js +11 -123
- package/dist/apis/file.cjs +13 -568
- package/dist/apis/file.js +11 -566
- package/dist/apis/iban.cjs +13 -38
- package/dist/apis/iban.js +11 -36
- package/dist/apis/journey.cjs +13 -265
- package/dist/apis/journey.js +11 -263
- package/dist/apis/kanban.cjs +13 -159
- package/dist/apis/kanban.js +11 -157
- package/dist/apis/message.cjs +13 -668
- package/dist/apis/message.js +11 -666
- package/dist/apis/metering.cjs +13 -394
- package/dist/apis/metering.js +11 -392
- package/dist/apis/notes.cjs +13 -214
- package/dist/apis/notes.js +11 -212
- package/dist/apis/notification.cjs +13 -232
- package/dist/apis/notification.js +11 -230
- package/dist/apis/organization.cjs +13 -113
- package/dist/apis/organization.js +11 -111
- package/dist/apis/partner-directory.cjs +13 -277
- package/dist/apis/partner-directory.js +11 -275
- package/dist/apis/permissions.cjs +13 -173
- package/dist/apis/permissions.js +11 -171
- package/dist/apis/pricing-tier.cjs +14 -32
- package/dist/apis/pricing-tier.js +11 -29
- package/dist/apis/pricing.cjs +13 -434
- package/dist/apis/pricing.js +11 -432
- package/dist/apis/purpose.cjs +13 -175
- package/dist/apis/purpose.js +11 -173
- package/dist/apis/sandbox.cjs +13 -95
- package/dist/apis/sandbox.js +11 -93
- package/dist/apis/submission.cjs +13 -50
- package/dist/apis/submission.js +11 -48
- package/dist/apis/targeting.cjs +13 -270
- package/dist/apis/targeting.js +11 -268
- package/dist/apis/template-variables.cjs +13 -154
- package/dist/apis/template-variables.js +11 -152
- package/dist/apis/user.cjs +13 -483
- package/dist/apis/user.js +11 -481
- package/dist/apis/validation-rules.cjs +13 -115
- package/dist/apis/validation-rules.js +11 -113
- package/dist/apis/webhooks.cjs +13 -247
- package/dist/apis/webhooks.js +11 -245
- package/dist/apis/workflow-definition.cjs +13 -337
- package/dist/apis/workflow-definition.js +11 -335
- package/dist/apis/workflow.cjs +13 -397
- package/dist/apis/workflow.js +11 -395
- package/dist/{chunk-D7ICL3AM.cjs → chunk-5LXNSDG2.cjs} +51 -2
- package/dist/{chunk-DGCGLG7G.js → chunk-QMQNMCOC.js} +49 -0
- package/dist/index.cjs +56 -54
- package/dist/index.js +53 -51
- package/package.json +50 -3
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.3",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Sandbox API",
|
|
5
|
+
"version": "0.0.1",
|
|
6
|
+
"description": "API to set up pipeline connections between epilot orgs to sync and promote configurations (from sandbox to production and vice-versa)\n"
|
|
7
|
+
},
|
|
8
|
+
"tags": [
|
|
9
|
+
{
|
|
10
|
+
"name": "Pipelines",
|
|
11
|
+
"description": "Manage Sandbox Pipelines"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"security": [
|
|
15
|
+
{
|
|
16
|
+
"EpilotAuth": []
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/v1/sandbox/pipelines": {
|
|
21
|
+
"get": {
|
|
22
|
+
"operationId": "listPipelines",
|
|
23
|
+
"summary": "listPipelines",
|
|
24
|
+
"description": "List pipelines the current organization is part of",
|
|
25
|
+
"tags": [
|
|
26
|
+
"Pipelines"
|
|
27
|
+
],
|
|
28
|
+
"responses": {
|
|
29
|
+
"200": {
|
|
30
|
+
"description": "List of pipelines the current organization is part of",
|
|
31
|
+
"content": {
|
|
32
|
+
"application/json": {
|
|
33
|
+
"schema": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"results": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"$ref": "#/components/schemas/Pipeline"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"total": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"example": 1
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"post": {
|
|
54
|
+
"operationId": "createPipeline",
|
|
55
|
+
"summary": "createPipeline",
|
|
56
|
+
"description": "Create a new pipeline by passing an api token from another organization.\n\nNote: The API token should have administrator role access for the other org.\n",
|
|
57
|
+
"tags": [
|
|
58
|
+
"Pipelines"
|
|
59
|
+
],
|
|
60
|
+
"requestBody": {
|
|
61
|
+
"content": {
|
|
62
|
+
"application/json": {
|
|
63
|
+
"schema": {
|
|
64
|
+
"$ref": "#/components/schemas/CreatePipelineRequest"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"responses": {
|
|
70
|
+
"201": {
|
|
71
|
+
"description": "The created pipeline",
|
|
72
|
+
"content": {
|
|
73
|
+
"application/json": {
|
|
74
|
+
"schema": {
|
|
75
|
+
"$ref": "#/components/schemas/Pipeline"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"/v1/sandbox/pipelines/{pipeline_id}": {
|
|
84
|
+
"get": {
|
|
85
|
+
"operationId": "getPipeline",
|
|
86
|
+
"summary": "getPipeline",
|
|
87
|
+
"description": "Get pipeline by ID",
|
|
88
|
+
"tags": [
|
|
89
|
+
"Pipelines"
|
|
90
|
+
],
|
|
91
|
+
"parameters": [
|
|
92
|
+
{
|
|
93
|
+
"name": "pipeline_id",
|
|
94
|
+
"in": "path",
|
|
95
|
+
"required": true,
|
|
96
|
+
"schema": {
|
|
97
|
+
"$ref": "#/components/schemas/PipelineId"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"responses": {
|
|
102
|
+
"200": {
|
|
103
|
+
"description": "The returned pipeline",
|
|
104
|
+
"content": {
|
|
105
|
+
"application/json": {
|
|
106
|
+
"schema": {
|
|
107
|
+
"$ref": "#/components/schemas/Pipeline"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"delete": {
|
|
115
|
+
"operationId": "deletePipeline",
|
|
116
|
+
"summary": "deletePipeline",
|
|
117
|
+
"description": "Delete a pipeline by ID",
|
|
118
|
+
"tags": [
|
|
119
|
+
"Pipelines"
|
|
120
|
+
],
|
|
121
|
+
"parameters": [
|
|
122
|
+
{
|
|
123
|
+
"name": "pipeline_id",
|
|
124
|
+
"in": "path",
|
|
125
|
+
"required": true,
|
|
126
|
+
"schema": {
|
|
127
|
+
"$ref": "#/components/schemas/PipelineId"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"responses": {
|
|
132
|
+
"200": {
|
|
133
|
+
"description": "The deleted pipeline",
|
|
134
|
+
"content": {
|
|
135
|
+
"application/json": {
|
|
136
|
+
"schema": {
|
|
137
|
+
"$ref": "#/components/schemas/Pipeline"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"/v1/sandbox/pipelines/{pipeline_id}/token": {
|
|
146
|
+
"get": {
|
|
147
|
+
"operationId": "generatePipelineToken",
|
|
148
|
+
"summary": "generatePipelineToken",
|
|
149
|
+
"description": "Generate a temporary pipeline access token to access the other org from the pipeline",
|
|
150
|
+
"tags": [
|
|
151
|
+
"Pipelines"
|
|
152
|
+
],
|
|
153
|
+
"parameters": [
|
|
154
|
+
{
|
|
155
|
+
"name": "pipeline_id",
|
|
156
|
+
"in": "path",
|
|
157
|
+
"required": true,
|
|
158
|
+
"schema": {
|
|
159
|
+
"$ref": "#/components/schemas/PipelineId"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"responses": {
|
|
164
|
+
"200": {
|
|
165
|
+
"description": "The generated temporary pipeline token",
|
|
166
|
+
"content": {
|
|
167
|
+
"application/json": {
|
|
168
|
+
"schema": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"pipeline_token": {
|
|
172
|
+
"$ref": "#/components/schemas/PipelineToken"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"/v1/sandbox:request": {
|
|
183
|
+
"post": {
|
|
184
|
+
"operationId": "requestSandbox",
|
|
185
|
+
"summary": "requestSandbox",
|
|
186
|
+
"description": "Request a sandbox account for a user",
|
|
187
|
+
"tags": [
|
|
188
|
+
"Sandbox Requests"
|
|
189
|
+
],
|
|
190
|
+
"security": [
|
|
191
|
+
{},
|
|
192
|
+
{
|
|
193
|
+
"EpilotAuth": []
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"requestBody": {
|
|
197
|
+
"content": {
|
|
198
|
+
"application/json": {
|
|
199
|
+
"schema": {
|
|
200
|
+
"$ref": "#/components/schemas/SandboxRequest"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"responses": {
|
|
206
|
+
"201": {
|
|
207
|
+
"description": "The created sandbox request",
|
|
208
|
+
"content": {
|
|
209
|
+
"application/json": {
|
|
210
|
+
"schema": {
|
|
211
|
+
"$ref": "#/components/schemas/SandboxRequest"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"/v1/sandbox/requests": {
|
|
220
|
+
"get": {
|
|
221
|
+
"operationId": "listSandboxRequests",
|
|
222
|
+
"summary": "listSandboxRequests",
|
|
223
|
+
"description": "List sandbox requests from users",
|
|
224
|
+
"tags": [
|
|
225
|
+
"Sandbox Requests"
|
|
226
|
+
],
|
|
227
|
+
"responses": {
|
|
228
|
+
"200": {
|
|
229
|
+
"description": "List of sandbox requests made by users",
|
|
230
|
+
"content": {
|
|
231
|
+
"application/json": {
|
|
232
|
+
"schema": {
|
|
233
|
+
"type": "object",
|
|
234
|
+
"properties": {
|
|
235
|
+
"results": {
|
|
236
|
+
"type": "array",
|
|
237
|
+
"items": {
|
|
238
|
+
"$ref": "#/components/schemas/SandboxRequest"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"total": {
|
|
242
|
+
"type": "integer",
|
|
243
|
+
"example": 1
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"components": {
|
|
255
|
+
"securitySchemes": {
|
|
256
|
+
"EpilotAuth": {
|
|
257
|
+
"type": "http",
|
|
258
|
+
"scheme": "bearer",
|
|
259
|
+
"description": "Authorization header with epilot OAuth2 bearer token",
|
|
260
|
+
"bearerFormat": "JWT"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"schemas": {
|
|
264
|
+
"OrgId": {
|
|
265
|
+
"description": "Epilot Tenant Organization ID",
|
|
266
|
+
"type": "string",
|
|
267
|
+
"example": "54321"
|
|
268
|
+
},
|
|
269
|
+
"PipelineId": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"description": "Unique identifier for a pipeline.\n\nThe format for a pipeline is: `<sandbox_org>::<production_org>`\n",
|
|
272
|
+
"example": "12345::54321"
|
|
273
|
+
},
|
|
274
|
+
"PipelineRole": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"description": "The role of the other organization in the pipeline from the perspective of the caller's organization",
|
|
277
|
+
"enum": [
|
|
278
|
+
"sandbox",
|
|
279
|
+
"production"
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
"PipelineItem": {
|
|
283
|
+
"type": "object",
|
|
284
|
+
"properties": {
|
|
285
|
+
"pipeline_id": {
|
|
286
|
+
"$ref": "#/components/schemas/PipelineId"
|
|
287
|
+
},
|
|
288
|
+
"sandbox_org_id": {
|
|
289
|
+
"allOf": [
|
|
290
|
+
{
|
|
291
|
+
"$ref": "#/components/schemas/OrgId"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"example": "12345"
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"sandbox_org_name": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"example": "Sandbox"
|
|
301
|
+
},
|
|
302
|
+
"production_org_id": {
|
|
303
|
+
"$ref": "#/components/schemas/OrgId"
|
|
304
|
+
},
|
|
305
|
+
"production_org_name": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"example": "Production"
|
|
308
|
+
},
|
|
309
|
+
"created_at": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"format": "date-time",
|
|
312
|
+
"readOnly": true
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"Pipeline": {
|
|
317
|
+
"allOf": [
|
|
318
|
+
{
|
|
319
|
+
"properties": {
|
|
320
|
+
"pipeline_role": {
|
|
321
|
+
"$ref": "#/components/schemas/PipelineRole"
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"$ref": "#/components/schemas/PipelineItem"
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
"CreatePipelineRequest": {
|
|
331
|
+
"type": "object",
|
|
332
|
+
"properties": {
|
|
333
|
+
"pipeline_role": {
|
|
334
|
+
"$ref": "#/components/schemas/PipelineRole"
|
|
335
|
+
},
|
|
336
|
+
"api_token": {
|
|
337
|
+
"$ref": "#/components/schemas/SandboxToken"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"required": [
|
|
341
|
+
"pipeline_role",
|
|
342
|
+
"api_token"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"AccessToken": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"description": "An epilot access token",
|
|
348
|
+
"example": "eyJhbGciOiJIUzI1NiIs..."
|
|
349
|
+
},
|
|
350
|
+
"SandboxToken": {
|
|
351
|
+
"allOf": [
|
|
352
|
+
{
|
|
353
|
+
"$ref": "#/components/schemas/AccessToken"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"description": "An API token generated from the sandbox org"
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"PipelineToken": {
|
|
361
|
+
"allOf": [
|
|
362
|
+
{
|
|
363
|
+
"$ref": "#/components/schemas/AccessToken"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"description": "A temporary access token"
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"SandboxRequest": {
|
|
371
|
+
"type": "object",
|
|
372
|
+
"properties": {
|
|
373
|
+
"id": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"description": "Unique identifier for the request",
|
|
376
|
+
"example": 12345,
|
|
377
|
+
"readOnly": true
|
|
378
|
+
},
|
|
379
|
+
"fullname": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"description": "The user who made the request",
|
|
382
|
+
"example": "John Doe"
|
|
383
|
+
},
|
|
384
|
+
"company_name": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"description": "The company name of the user who made the request",
|
|
387
|
+
"example": "Company Name"
|
|
388
|
+
},
|
|
389
|
+
"position": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"description": "The position of the user who made the request",
|
|
392
|
+
"example": "Software Engineer"
|
|
393
|
+
},
|
|
394
|
+
"email": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"format": "email",
|
|
397
|
+
"description": "The email of the user who made the request",
|
|
398
|
+
"example": "user@example.com"
|
|
399
|
+
},
|
|
400
|
+
"sandbox_usecase": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"description": "The usecase for the request",
|
|
403
|
+
"example": "Build a payment integration"
|
|
404
|
+
},
|
|
405
|
+
"status": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"description": "The status of the request",
|
|
408
|
+
"example": "pending",
|
|
409
|
+
"enum": [
|
|
410
|
+
"pending",
|
|
411
|
+
"created",
|
|
412
|
+
"rejected"
|
|
413
|
+
],
|
|
414
|
+
"readOnly": true
|
|
415
|
+
},
|
|
416
|
+
"connected_to_existing_epilot_customer": {
|
|
417
|
+
"type": "boolean",
|
|
418
|
+
"description": "Whether the user is in contact with an existing epilot customer"
|
|
419
|
+
},
|
|
420
|
+
"requested_at": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"format": "date-time",
|
|
423
|
+
"description": "The time the request was made",
|
|
424
|
+
"example": "2022-01-01T00:00:00Z",
|
|
425
|
+
"readOnly": true
|
|
426
|
+
},
|
|
427
|
+
"sandbox_request_category": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"description": "The category of the sandbox requested",
|
|
430
|
+
"enum": [
|
|
431
|
+
"APP_DEVELOPER_ACCOUNT",
|
|
432
|
+
"BLUEPRINT_SANDBOX",
|
|
433
|
+
"OTHER"
|
|
434
|
+
]
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"required": [
|
|
438
|
+
"fullname",
|
|
439
|
+
"company_name",
|
|
440
|
+
"position",
|
|
441
|
+
"email",
|
|
442
|
+
"sandbox_usecase",
|
|
443
|
+
"connected_to_existing_epilot_customer"
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"servers": [
|
|
449
|
+
{
|
|
450
|
+
"url": "https://sandbox.sls.epilot.io"
|
|
451
|
+
}
|
|
452
|
+
]
|
|
453
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"s":"https://submission.sls.epilot.io","o":[["createSubmission","post","/v1/submission/submissions",null,1],["getNonce","get","/v1/submission/nonce/{nonce_id}",[["nonce_id","p",true]]]]}
|