@epilot/cli 0.1.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.
- package/LICENSE +21 -0
- package/README.md +354 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app.json +4443 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation.json +4815 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest.json +3376 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal.json +15000 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management.json +962 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design.json +1423 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings.json +2627 -0
- package/definitions/email-template.json +1419 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity.json +10074 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration.json +5845 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey.json +2341 -0
- package/definitions/kanban.json +929 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization.json +629 -0
- package/definitions/partner-directory.json +1718 -0
- package/definitions/permissions.json +1480 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks.json +1525 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow.json +4106 -0
- package/dist/access-token-OG5AR7UB.js +51 -0
- package/dist/address-QUSMK5GV.js +51 -0
- package/dist/address-suggestions-E5SQNUS5.js +51 -0
- package/dist/ai-agents-PM42SJY3.js +51 -0
- package/dist/app-YTM3XAJL.js +51 -0
- package/dist/audit-logs-NXP7GFKX.js +51 -0
- package/dist/auth-CCBTXH5U.js +113 -0
- package/dist/auth-login-2ZIXM47J.js +137 -0
- package/dist/auth-token-OS4BEEVZ.js +43 -0
- package/dist/automation-TDJASTEV.js +51 -0
- package/dist/billing-M4MRBLEK.js +51 -0
- package/dist/bin/epilot.js +104 -0
- package/dist/blueprint-manifest-NQL7NRMV.js +51 -0
- package/dist/chunk-57PPARIW.js +715 -0
- package/dist/chunk-5WUPDZ5D.js +76 -0
- package/dist/chunk-IST42ZNL.js +78 -0
- package/dist/chunk-RC3GCXCI.js +76 -0
- package/dist/chunk-TKZLQD2B.js +72 -0
- package/dist/chunk-UJ6TU34M.js +56 -0
- package/dist/completion-GRQM2FJQ.js +168 -0
- package/dist/consent-KQ7MJAS6.js +51 -0
- package/dist/customer-portal-VUVSKWAQ.js +51 -0
- package/dist/dashboard-GVR4XNGR.js +51 -0
- package/dist/data-management-2RD3DLOS.js +51 -0
- package/dist/deduplication-PY77EINR.js +51 -0
- package/dist/design-M4FP2K5R.js +51 -0
- package/dist/document-P4QA7LEZ.js +51 -0
- package/dist/email-settings-7HGGRCCM.js +51 -0
- package/dist/email-template-3HXQI4CH.js +51 -0
- package/dist/entity-XUESZBPJ.js +51 -0
- package/dist/entity-mapping-JBKWWBH2.js +51 -0
- package/dist/environments-KKOS7ONY.js +51 -0
- package/dist/erp-integration-YTOWHCAW.js +51 -0
- package/dist/event-catalog-UKLZUGC4.js +51 -0
- package/dist/file-IFZNZ547.js +51 -0
- package/dist/iban-X2IW2NWU.js +51 -0
- package/dist/interactive-46ICLQKL.js +16 -0
- package/dist/journey-JU6X2KMX.js +51 -0
- package/dist/kanban-VHUU44PM.js +51 -0
- package/dist/message-AOUWJ4YX.js +51 -0
- package/dist/metering-RDS3XBD5.js +51 -0
- package/dist/notes-WE2UC75B.js +51 -0
- package/dist/notification-FKFNBHYZ.js +51 -0
- package/dist/organization-LMNFF6BX.js +51 -0
- package/dist/partner-directory-IIZVQDXJ.js +51 -0
- package/dist/permissions-AYCMVM7Y.js +51 -0
- package/dist/pricing-PS26FWBS.js +51 -0
- package/dist/pricing-tier-FBXWQ6T3.js +51 -0
- package/dist/profile-5Q5YARG7.js +135 -0
- package/dist/purpose-HE4E4SVU.js +51 -0
- package/dist/sandbox-Z7BU4UAD.js +51 -0
- package/dist/submission-MWVDF2ZB.js +51 -0
- package/dist/targeting-7NM5GDJ6.js +51 -0
- package/dist/template-variables-AJAR7PAV.js +51 -0
- package/dist/user-A26XQXG3.js +51 -0
- package/dist/validation-rules-VZTISEG2.js +51 -0
- package/dist/webhooks-RXH67WZ3.js +51 -0
- package/dist/workflow-G4FUUGZQ.js +51 -0
- package/dist/workflow-definition-LJYLMMGD.js +51 -0
- package/package.json +62 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.3",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Environments API",
|
|
5
|
+
"description": "API for managing organization environment variables and secrets",
|
|
6
|
+
"version": "1.0.0"
|
|
7
|
+
},
|
|
8
|
+
"tags": [
|
|
9
|
+
{
|
|
10
|
+
"name": "environments",
|
|
11
|
+
"description": "Environment variables and secrets management"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"security": [
|
|
15
|
+
{
|
|
16
|
+
"EpilotAuth": []
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/v1/environments": {
|
|
21
|
+
"get": {
|
|
22
|
+
"operationId": "listEnvironmentVariables",
|
|
23
|
+
"summary": "List environment variables",
|
|
24
|
+
"description": "List all environment variables for the organization. Returns metadata only, no secret values.",
|
|
25
|
+
"tags": [
|
|
26
|
+
"environments"
|
|
27
|
+
],
|
|
28
|
+
"responses": {
|
|
29
|
+
"200": {
|
|
30
|
+
"description": "List of environment variables",
|
|
31
|
+
"content": {
|
|
32
|
+
"application/json": {
|
|
33
|
+
"schema": {
|
|
34
|
+
"$ref": "#/components/schemas/EnvironmentVariableList"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"401": {
|
|
40
|
+
"description": "Unauthorized"
|
|
41
|
+
},
|
|
42
|
+
"403": {
|
|
43
|
+
"description": "Forbidden"
|
|
44
|
+
},
|
|
45
|
+
"500": {
|
|
46
|
+
"description": "Internal server error"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"post": {
|
|
51
|
+
"operationId": "createEnvironmentVariable",
|
|
52
|
+
"summary": "Create environment variable",
|
|
53
|
+
"description": "Create a new environment variable or secret for the organization.",
|
|
54
|
+
"tags": [
|
|
55
|
+
"environments"
|
|
56
|
+
],
|
|
57
|
+
"requestBody": {
|
|
58
|
+
"required": true,
|
|
59
|
+
"content": {
|
|
60
|
+
"application/json": {
|
|
61
|
+
"schema": {
|
|
62
|
+
"$ref": "#/components/schemas/EnvironmentVariableCreateRequest"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"responses": {
|
|
68
|
+
"201": {
|
|
69
|
+
"description": "Created environment variable",
|
|
70
|
+
"content": {
|
|
71
|
+
"application/json": {
|
|
72
|
+
"schema": {
|
|
73
|
+
"$ref": "#/components/schemas/EnvironmentVariable"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"400": {
|
|
79
|
+
"description": "Invalid request"
|
|
80
|
+
},
|
|
81
|
+
"401": {
|
|
82
|
+
"description": "Unauthorized"
|
|
83
|
+
},
|
|
84
|
+
"403": {
|
|
85
|
+
"description": "Forbidden"
|
|
86
|
+
},
|
|
87
|
+
"409": {
|
|
88
|
+
"description": "Environment variable with this key already exists"
|
|
89
|
+
},
|
|
90
|
+
"500": {
|
|
91
|
+
"description": "Internal server error"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"/v1/environments/{key}": {
|
|
97
|
+
"parameters": [
|
|
98
|
+
{
|
|
99
|
+
"name": "key",
|
|
100
|
+
"in": "path",
|
|
101
|
+
"required": true,
|
|
102
|
+
"description": "Environment variable key",
|
|
103
|
+
"schema": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"pattern": "^[a-z0-9][a-z0-9_.\\-]{0,127}$"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"get": {
|
|
110
|
+
"operationId": "getEnvironmentVariable",
|
|
111
|
+
"summary": "Get environment variable",
|
|
112
|
+
"description": "Get an environment variable by key. Returns value only for String type, omitted for SecretString.",
|
|
113
|
+
"tags": [
|
|
114
|
+
"environments"
|
|
115
|
+
],
|
|
116
|
+
"responses": {
|
|
117
|
+
"200": {
|
|
118
|
+
"description": "Environment variable",
|
|
119
|
+
"content": {
|
|
120
|
+
"application/json": {
|
|
121
|
+
"schema": {
|
|
122
|
+
"$ref": "#/components/schemas/EnvironmentVariable"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"401": {
|
|
128
|
+
"description": "Unauthorized"
|
|
129
|
+
},
|
|
130
|
+
"403": {
|
|
131
|
+
"description": "Forbidden"
|
|
132
|
+
},
|
|
133
|
+
"404": {
|
|
134
|
+
"description": "Environment variable not found"
|
|
135
|
+
},
|
|
136
|
+
"500": {
|
|
137
|
+
"description": "Internal server error"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"put": {
|
|
142
|
+
"operationId": "updateEnvironmentVariable",
|
|
143
|
+
"summary": "Update environment variable",
|
|
144
|
+
"description": "Create or update an environment variable. Acts as an upsert — creates the variable if it does not exist.",
|
|
145
|
+
"tags": [
|
|
146
|
+
"environments"
|
|
147
|
+
],
|
|
148
|
+
"requestBody": {
|
|
149
|
+
"required": true,
|
|
150
|
+
"content": {
|
|
151
|
+
"application/json": {
|
|
152
|
+
"schema": {
|
|
153
|
+
"$ref": "#/components/schemas/EnvironmentVariableUpdateRequest"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"responses": {
|
|
159
|
+
"200": {
|
|
160
|
+
"description": "Updated environment variable",
|
|
161
|
+
"content": {
|
|
162
|
+
"application/json": {
|
|
163
|
+
"schema": {
|
|
164
|
+
"$ref": "#/components/schemas/EnvironmentVariable"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"201": {
|
|
170
|
+
"description": "Created environment variable",
|
|
171
|
+
"content": {
|
|
172
|
+
"application/json": {
|
|
173
|
+
"schema": {
|
|
174
|
+
"$ref": "#/components/schemas/EnvironmentVariable"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"400": {
|
|
180
|
+
"description": "Invalid request"
|
|
181
|
+
},
|
|
182
|
+
"401": {
|
|
183
|
+
"description": "Unauthorized"
|
|
184
|
+
},
|
|
185
|
+
"403": {
|
|
186
|
+
"description": "Forbidden"
|
|
187
|
+
},
|
|
188
|
+
"500": {
|
|
189
|
+
"description": "Internal server error"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"delete": {
|
|
194
|
+
"operationId": "deleteEnvironmentVariable",
|
|
195
|
+
"summary": "Delete environment variable",
|
|
196
|
+
"description": "Delete an environment variable by key.",
|
|
197
|
+
"tags": [
|
|
198
|
+
"environments"
|
|
199
|
+
],
|
|
200
|
+
"responses": {
|
|
201
|
+
"204": {
|
|
202
|
+
"description": "Environment variable deleted"
|
|
203
|
+
},
|
|
204
|
+
"401": {
|
|
205
|
+
"description": "Unauthorized"
|
|
206
|
+
},
|
|
207
|
+
"403": {
|
|
208
|
+
"description": "Forbidden"
|
|
209
|
+
},
|
|
210
|
+
"404": {
|
|
211
|
+
"description": "Environment variable not found"
|
|
212
|
+
},
|
|
213
|
+
"500": {
|
|
214
|
+
"description": "Internal server error"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"components": {
|
|
221
|
+
"securitySchemes": {
|
|
222
|
+
"EpilotAuth": {
|
|
223
|
+
"type": "http",
|
|
224
|
+
"scheme": "bearer",
|
|
225
|
+
"bearerFormat": "JWT"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"schemas": {
|
|
229
|
+
"EnvironmentValueType": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"enum": [
|
|
232
|
+
"String",
|
|
233
|
+
"SecretString"
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
"EnvironmentVariable": {
|
|
237
|
+
"type": "object",
|
|
238
|
+
"required": [
|
|
239
|
+
"key",
|
|
240
|
+
"type",
|
|
241
|
+
"created_at",
|
|
242
|
+
"updated_at"
|
|
243
|
+
],
|
|
244
|
+
"properties": {
|
|
245
|
+
"key": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"pattern": "^[a-z0-9][a-z0-9_.\\-]{0,127}$"
|
|
248
|
+
},
|
|
249
|
+
"type": {
|
|
250
|
+
"$ref": "#/components/schemas/EnvironmentValueType"
|
|
251
|
+
},
|
|
252
|
+
"description": {
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
"value": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "Value is returned for String type, omitted for SecretString"
|
|
258
|
+
},
|
|
259
|
+
"created_at": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"format": "date-time"
|
|
262
|
+
},
|
|
263
|
+
"updated_at": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"format": "date-time"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"EnvironmentVariableListItem": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"required": [
|
|
272
|
+
"key",
|
|
273
|
+
"type",
|
|
274
|
+
"created_at",
|
|
275
|
+
"updated_at"
|
|
276
|
+
],
|
|
277
|
+
"properties": {
|
|
278
|
+
"key": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
"type": {
|
|
282
|
+
"$ref": "#/components/schemas/EnvironmentValueType"
|
|
283
|
+
},
|
|
284
|
+
"description": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
},
|
|
287
|
+
"value": {
|
|
288
|
+
"type": "string",
|
|
289
|
+
"description": "Value is returned for String type, omitted for SecretString"
|
|
290
|
+
},
|
|
291
|
+
"created_at": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"format": "date-time"
|
|
294
|
+
},
|
|
295
|
+
"updated_at": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"format": "date-time"
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"EnvironmentVariableList": {
|
|
302
|
+
"type": "object",
|
|
303
|
+
"required": [
|
|
304
|
+
"items"
|
|
305
|
+
],
|
|
306
|
+
"properties": {
|
|
307
|
+
"items": {
|
|
308
|
+
"type": "array",
|
|
309
|
+
"items": {
|
|
310
|
+
"$ref": "#/components/schemas/EnvironmentVariableListItem"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"EnvironmentVariableCreateRequest": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"required": [
|
|
318
|
+
"key",
|
|
319
|
+
"type",
|
|
320
|
+
"value"
|
|
321
|
+
],
|
|
322
|
+
"properties": {
|
|
323
|
+
"key": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"pattern": "^[a-z0-9][a-z0-9_.\\-]{0,127}$"
|
|
326
|
+
},
|
|
327
|
+
"type": {
|
|
328
|
+
"$ref": "#/components/schemas/EnvironmentValueType"
|
|
329
|
+
},
|
|
330
|
+
"description": {
|
|
331
|
+
"type": "string"
|
|
332
|
+
},
|
|
333
|
+
"value": {
|
|
334
|
+
"type": "string"
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"EnvironmentVariableUpdateRequest": {
|
|
339
|
+
"type": "object",
|
|
340
|
+
"required": [
|
|
341
|
+
"value"
|
|
342
|
+
],
|
|
343
|
+
"properties": {
|
|
344
|
+
"type": {
|
|
345
|
+
"description": "Type of variable. Used when creating a new variable. Defaults to String.",
|
|
346
|
+
"allOf": [
|
|
347
|
+
{
|
|
348
|
+
"$ref": "#/components/schemas/EnvironmentValueType"
|
|
349
|
+
}
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
"value": {
|
|
353
|
+
"type": "string"
|
|
354
|
+
},
|
|
355
|
+
"description": {
|
|
356
|
+
"type": "string"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"servers": [{"url":"https://environments.sls.epilot.io"}]
|
|
363
|
+
}
|