@epilot/sdk 2.3.2 → 2.3.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/README.md +1 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +972 -0
- package/definitions/environments-runtime.json +1 -1
- package/definitions/environments.json +2 -2
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +6780 -0
- package/definitions/query-runtime.json +1 -0
- package/definitions/query.json +3178 -0
- package/definitions/target-runtime.json +1 -0
- package/definitions/target.json +609 -0
- package/dist/README-6UYTPMQO.cjs +7 -0
- package/dist/README-GS3DFP4W.js +7 -0
- package/dist/{_index-O7JDGRSE.cjs → _index-LZFTZV7Z.cjs} +4 -1
- package/dist/{_index-CLT2KTVS.js → _index-X3IADTN2.js} +3 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +8 -8
- package/dist/apis/environments.d.cts +2 -2
- package/dist/apis/environments.d.ts +2 -2
- package/dist/apis/environments.js +2 -2
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +38 -0
- package/dist/apis/query.d.cts +18 -0
- package/dist/apis/query.d.ts +18 -0
- package/dist/apis/query.js +38 -0
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +38 -0
- package/dist/apis/target.d.cts +597 -0
- package/dist/apis/target.d.ts +597 -0
- package/dist/apis/target.js +38 -0
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/bin/cli.js +1 -1
- package/dist/{chunk-6IMAKHA4.js → chunk-2LEEXRJX.js} +1 -1
- package/dist/chunk-EYKEVZME.cjs +14 -0
- package/dist/{chunk-BDKLBHIN.cjs → chunk-I6DG26UJ.cjs} +1 -1
- package/dist/{chunk-VTJQTEQX.cjs → chunk-LS3ISLMD.cjs} +8 -4
- package/dist/chunk-MM5JDJFO.js +14 -0
- package/dist/chunk-RMP2HHCR.js +14 -0
- package/dist/chunk-XDZ2JKJ4.cjs +14 -0
- package/dist/{chunk-5JN243WJ.js → chunk-YVN2SRSQ.js} +8 -4
- package/dist/environments-PXJOTQVM.js +7 -0
- package/dist/environments-QJ4UMJ5C.cjs +7 -0
- package/dist/{environments-runtime-FMSNJF5S.js → environments-runtime-NKHLZJB3.js} +1 -1
- package/dist/{environments-runtime-5DVTRV2Z.cjs → environments-runtime-QC2BUHBW.cjs} +2 -2
- package/dist/{environments.d-H3LK_KuH.d.ts → environments.d-BvqvN-PD.d.cts} +134 -5
- package/dist/{environments.d-H3LK_KuH.d.cts → environments.d-BvqvN-PD.d.ts} +134 -5
- package/dist/index.cjs +26 -18
- package/dist/index.d.cts +23 -21
- package/dist/index.d.ts +23 -21
- package/dist/index.js +19 -11
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/dist/query-JSDB2F2U.cjs +7 -0
- package/dist/query-RJ4M25PA.js +7 -0
- package/dist/query-runtime-NLOSMDAJ.cjs +5 -0
- package/dist/query-runtime-SYJTDUNG.js +5 -0
- package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
- package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
- package/dist/target-3RS5BN2B.cjs +7 -0
- package/dist/target-5MKRXCHX.js +7 -0
- package/dist/target-runtime-BMJ7EARM.cjs +5 -0
- package/dist/target-runtime-PBF3WYL7.js +5 -0
- package/docs/environments.md +3 -5
- package/docs/query.md +1609 -0
- package/docs/target.md +741 -0
- package/package.json +10 -1
- package/dist/README-KX4XC2HB.js +0 -7
- package/dist/README-PTYV6PQI.cjs +0 -7
- package/dist/environments-I6RWPVHA.js +0 -7
- package/dist/environments-TZYXLYXA.cjs +0 -7
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from environments-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
9
7
|
namespace Schemas {
|
|
8
|
+
export interface EnvironmentGroup {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
created_at: string; // date-time
|
|
12
|
+
updated_at: string; // date-time
|
|
13
|
+
}
|
|
14
|
+
export interface EnvironmentGroupList {
|
|
15
|
+
items: EnvironmentGroup[];
|
|
16
|
+
}
|
|
17
|
+
export interface EnvironmentGroupUpsertRequest {
|
|
18
|
+
description?: string;
|
|
19
|
+
}
|
|
10
20
|
export type EnvironmentValueType = "String" | "SecretString";
|
|
11
21
|
export interface EnvironmentVariable {
|
|
12
22
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
13
23
|
type: EnvironmentValueType;
|
|
14
24
|
description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Optional group name for organising variables in the UI
|
|
27
|
+
*/
|
|
28
|
+
group?: string;
|
|
15
29
|
/**
|
|
16
30
|
* Value is returned for String type, omitted for SecretString
|
|
17
31
|
*/
|
|
@@ -23,7 +37,8 @@ declare namespace Components {
|
|
|
23
37
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
24
38
|
type: EnvironmentValueType;
|
|
25
39
|
description?: string;
|
|
26
|
-
|
|
40
|
+
group?: string;
|
|
41
|
+
value?: string;
|
|
27
42
|
}
|
|
28
43
|
export interface EnvironmentVariableList {
|
|
29
44
|
items: EnvironmentVariableListItem[];
|
|
@@ -32,6 +47,10 @@ declare namespace Components {
|
|
|
32
47
|
key: string;
|
|
33
48
|
type: EnvironmentValueType;
|
|
34
49
|
description?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional group name for organising variables in the UI
|
|
52
|
+
*/
|
|
53
|
+
group?: string;
|
|
35
54
|
/**
|
|
36
55
|
* Value is returned for String type, omitted for SecretString
|
|
37
56
|
*/
|
|
@@ -44,8 +63,9 @@ declare namespace Components {
|
|
|
44
63
|
* Type of variable. Used when creating a new variable. Defaults to String.
|
|
45
64
|
*/
|
|
46
65
|
type?: "String" | "SecretString";
|
|
47
|
-
value
|
|
66
|
+
value?: string;
|
|
48
67
|
description?: string;
|
|
68
|
+
group?: string;
|
|
49
69
|
}
|
|
50
70
|
}
|
|
51
71
|
}
|
|
@@ -66,6 +86,20 @@ declare namespace Paths {
|
|
|
66
86
|
}
|
|
67
87
|
}
|
|
68
88
|
}
|
|
89
|
+
namespace DeleteEnvironmentGroup {
|
|
90
|
+
namespace Responses {
|
|
91
|
+
export interface $204 {
|
|
92
|
+
}
|
|
93
|
+
export interface $401 {
|
|
94
|
+
}
|
|
95
|
+
export interface $403 {
|
|
96
|
+
}
|
|
97
|
+
export interface $404 {
|
|
98
|
+
}
|
|
99
|
+
export interface $500 {
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
69
103
|
namespace DeleteEnvironmentVariable {
|
|
70
104
|
namespace Responses {
|
|
71
105
|
export interface $204 {
|
|
@@ -93,6 +127,17 @@ declare namespace Paths {
|
|
|
93
127
|
}
|
|
94
128
|
}
|
|
95
129
|
}
|
|
130
|
+
namespace ListEnvironmentGroups {
|
|
131
|
+
namespace Responses {
|
|
132
|
+
export type $200 = Components.Schemas.EnvironmentGroupList;
|
|
133
|
+
export interface $401 {
|
|
134
|
+
}
|
|
135
|
+
export interface $403 {
|
|
136
|
+
}
|
|
137
|
+
export interface $500 {
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
96
141
|
namespace ListEnvironmentVariables {
|
|
97
142
|
namespace Responses {
|
|
98
143
|
export type $200 = Components.Schemas.EnvironmentVariableList;
|
|
@@ -104,6 +149,19 @@ declare namespace Paths {
|
|
|
104
149
|
}
|
|
105
150
|
}
|
|
106
151
|
}
|
|
152
|
+
namespace PutEnvironmentGroup {
|
|
153
|
+
export type RequestBody = Components.Schemas.EnvironmentGroupUpsertRequest;
|
|
154
|
+
namespace Responses {
|
|
155
|
+
export type $200 = Components.Schemas.EnvironmentGroup;
|
|
156
|
+
export type $201 = Components.Schemas.EnvironmentGroup;
|
|
157
|
+
export interface $401 {
|
|
158
|
+
}
|
|
159
|
+
export interface $403 {
|
|
160
|
+
}
|
|
161
|
+
export interface $500 {
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
107
165
|
namespace UpdateEnvironmentVariable {
|
|
108
166
|
export type RequestBody = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
109
167
|
namespace Responses {
|
|
@@ -127,6 +185,14 @@ declare namespace Paths {
|
|
|
127
185
|
key: Parameters.Key /* ^[a-z0-9][a-z0-9_.\-]{0,127}$ */;
|
|
128
186
|
}
|
|
129
187
|
}
|
|
188
|
+
namespace V1EnvironmentsGroups$Name {
|
|
189
|
+
namespace Parameters {
|
|
190
|
+
export type Name = string;
|
|
191
|
+
}
|
|
192
|
+
export interface PathParameters {
|
|
193
|
+
name: Parameters.Name;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
130
196
|
}
|
|
131
197
|
|
|
132
198
|
|
|
@@ -151,6 +217,34 @@ interface OperationMethods {
|
|
|
151
217
|
data?: Paths.CreateEnvironmentVariable.RequestBody,
|
|
152
218
|
config?: AxiosRequestConfig
|
|
153
219
|
): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
|
|
220
|
+
/**
|
|
221
|
+
* listEnvironmentGroups - List environment groups
|
|
222
|
+
*
|
|
223
|
+
* List all environment groups for the organization.
|
|
224
|
+
*/
|
|
225
|
+
'listEnvironmentGroups'(
|
|
226
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
227
|
+
data?: any,
|
|
228
|
+
config?: AxiosRequestConfig
|
|
229
|
+
): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
|
|
230
|
+
/**
|
|
231
|
+
* putEnvironmentGroup - putEnvironmentGroup
|
|
232
|
+
*/
|
|
233
|
+
'putEnvironmentGroup'(
|
|
234
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
235
|
+
data?: Paths.PutEnvironmentGroup.RequestBody,
|
|
236
|
+
config?: AxiosRequestConfig
|
|
237
|
+
): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
|
|
238
|
+
/**
|
|
239
|
+
* deleteEnvironmentGroup - Delete an environment group
|
|
240
|
+
*
|
|
241
|
+
* Deletes a group. Variables assigned to this group become ungrouped.
|
|
242
|
+
*/
|
|
243
|
+
'deleteEnvironmentGroup'(
|
|
244
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
245
|
+
data?: any,
|
|
246
|
+
config?: AxiosRequestConfig
|
|
247
|
+
): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
|
|
154
248
|
/**
|
|
155
249
|
* getEnvironmentVariable - Get environment variable
|
|
156
250
|
*
|
|
@@ -206,6 +300,38 @@ interface PathsDictionary {
|
|
|
206
300
|
config?: AxiosRequestConfig
|
|
207
301
|
): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
|
|
208
302
|
}
|
|
303
|
+
['/v1/environments/groups']: {
|
|
304
|
+
/**
|
|
305
|
+
* listEnvironmentGroups - List environment groups
|
|
306
|
+
*
|
|
307
|
+
* List all environment groups for the organization.
|
|
308
|
+
*/
|
|
309
|
+
'get'(
|
|
310
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
311
|
+
data?: any,
|
|
312
|
+
config?: AxiosRequestConfig
|
|
313
|
+
): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
|
|
314
|
+
}
|
|
315
|
+
['/v1/environments/groups/{name}']: {
|
|
316
|
+
/**
|
|
317
|
+
* putEnvironmentGroup - putEnvironmentGroup
|
|
318
|
+
*/
|
|
319
|
+
'put'(
|
|
320
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
321
|
+
data?: Paths.PutEnvironmentGroup.RequestBody,
|
|
322
|
+
config?: AxiosRequestConfig
|
|
323
|
+
): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
|
|
324
|
+
/**
|
|
325
|
+
* deleteEnvironmentGroup - Delete an environment group
|
|
326
|
+
*
|
|
327
|
+
* Deletes a group. Variables assigned to this group become ungrouped.
|
|
328
|
+
*/
|
|
329
|
+
'delete'(
|
|
330
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
331
|
+
data?: any,
|
|
332
|
+
config?: AxiosRequestConfig
|
|
333
|
+
): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
|
|
334
|
+
}
|
|
209
335
|
['/v1/environments/{key}']: {
|
|
210
336
|
/**
|
|
211
337
|
* getEnvironmentVariable - Get environment variable
|
|
@@ -243,6 +369,9 @@ interface PathsDictionary {
|
|
|
243
369
|
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
244
370
|
|
|
245
371
|
|
|
372
|
+
type EnvironmentGroup = Components.Schemas.EnvironmentGroup;
|
|
373
|
+
type EnvironmentGroupList = Components.Schemas.EnvironmentGroupList;
|
|
374
|
+
type EnvironmentGroupUpsertRequest = Components.Schemas.EnvironmentGroupUpsertRequest;
|
|
246
375
|
type EnvironmentValueType = Components.Schemas.EnvironmentValueType;
|
|
247
376
|
type EnvironmentVariable = Components.Schemas.EnvironmentVariable;
|
|
248
377
|
type EnvironmentVariableCreateRequest = Components.Schemas.EnvironmentVariableCreateRequest;
|
|
@@ -250,4 +379,4 @@ type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
|
|
|
250
379
|
type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
|
|
251
380
|
type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
252
381
|
|
|
253
|
-
export { type Client as C, type
|
|
382
|
+
export { type Client as C, type EnvironmentGroup as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type EnvironmentValueType as e, type EnvironmentVariable as f, type EnvironmentVariableCreateRequest as g, type EnvironmentVariableList as h, type EnvironmentVariableListItem as i, type EnvironmentVariableUpdateRequest as j };
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from environments-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
9
7
|
namespace Schemas {
|
|
8
|
+
export interface EnvironmentGroup {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
created_at: string; // date-time
|
|
12
|
+
updated_at: string; // date-time
|
|
13
|
+
}
|
|
14
|
+
export interface EnvironmentGroupList {
|
|
15
|
+
items: EnvironmentGroup[];
|
|
16
|
+
}
|
|
17
|
+
export interface EnvironmentGroupUpsertRequest {
|
|
18
|
+
description?: string;
|
|
19
|
+
}
|
|
10
20
|
export type EnvironmentValueType = "String" | "SecretString";
|
|
11
21
|
export interface EnvironmentVariable {
|
|
12
22
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
13
23
|
type: EnvironmentValueType;
|
|
14
24
|
description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Optional group name for organising variables in the UI
|
|
27
|
+
*/
|
|
28
|
+
group?: string;
|
|
15
29
|
/**
|
|
16
30
|
* Value is returned for String type, omitted for SecretString
|
|
17
31
|
*/
|
|
@@ -23,7 +37,8 @@ declare namespace Components {
|
|
|
23
37
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
24
38
|
type: EnvironmentValueType;
|
|
25
39
|
description?: string;
|
|
26
|
-
|
|
40
|
+
group?: string;
|
|
41
|
+
value?: string;
|
|
27
42
|
}
|
|
28
43
|
export interface EnvironmentVariableList {
|
|
29
44
|
items: EnvironmentVariableListItem[];
|
|
@@ -32,6 +47,10 @@ declare namespace Components {
|
|
|
32
47
|
key: string;
|
|
33
48
|
type: EnvironmentValueType;
|
|
34
49
|
description?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional group name for organising variables in the UI
|
|
52
|
+
*/
|
|
53
|
+
group?: string;
|
|
35
54
|
/**
|
|
36
55
|
* Value is returned for String type, omitted for SecretString
|
|
37
56
|
*/
|
|
@@ -44,8 +63,9 @@ declare namespace Components {
|
|
|
44
63
|
* Type of variable. Used when creating a new variable. Defaults to String.
|
|
45
64
|
*/
|
|
46
65
|
type?: "String" | "SecretString";
|
|
47
|
-
value
|
|
66
|
+
value?: string;
|
|
48
67
|
description?: string;
|
|
68
|
+
group?: string;
|
|
49
69
|
}
|
|
50
70
|
}
|
|
51
71
|
}
|
|
@@ -66,6 +86,20 @@ declare namespace Paths {
|
|
|
66
86
|
}
|
|
67
87
|
}
|
|
68
88
|
}
|
|
89
|
+
namespace DeleteEnvironmentGroup {
|
|
90
|
+
namespace Responses {
|
|
91
|
+
export interface $204 {
|
|
92
|
+
}
|
|
93
|
+
export interface $401 {
|
|
94
|
+
}
|
|
95
|
+
export interface $403 {
|
|
96
|
+
}
|
|
97
|
+
export interface $404 {
|
|
98
|
+
}
|
|
99
|
+
export interface $500 {
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
69
103
|
namespace DeleteEnvironmentVariable {
|
|
70
104
|
namespace Responses {
|
|
71
105
|
export interface $204 {
|
|
@@ -93,6 +127,17 @@ declare namespace Paths {
|
|
|
93
127
|
}
|
|
94
128
|
}
|
|
95
129
|
}
|
|
130
|
+
namespace ListEnvironmentGroups {
|
|
131
|
+
namespace Responses {
|
|
132
|
+
export type $200 = Components.Schemas.EnvironmentGroupList;
|
|
133
|
+
export interface $401 {
|
|
134
|
+
}
|
|
135
|
+
export interface $403 {
|
|
136
|
+
}
|
|
137
|
+
export interface $500 {
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
96
141
|
namespace ListEnvironmentVariables {
|
|
97
142
|
namespace Responses {
|
|
98
143
|
export type $200 = Components.Schemas.EnvironmentVariableList;
|
|
@@ -104,6 +149,19 @@ declare namespace Paths {
|
|
|
104
149
|
}
|
|
105
150
|
}
|
|
106
151
|
}
|
|
152
|
+
namespace PutEnvironmentGroup {
|
|
153
|
+
export type RequestBody = Components.Schemas.EnvironmentGroupUpsertRequest;
|
|
154
|
+
namespace Responses {
|
|
155
|
+
export type $200 = Components.Schemas.EnvironmentGroup;
|
|
156
|
+
export type $201 = Components.Schemas.EnvironmentGroup;
|
|
157
|
+
export interface $401 {
|
|
158
|
+
}
|
|
159
|
+
export interface $403 {
|
|
160
|
+
}
|
|
161
|
+
export interface $500 {
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
107
165
|
namespace UpdateEnvironmentVariable {
|
|
108
166
|
export type RequestBody = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
109
167
|
namespace Responses {
|
|
@@ -127,6 +185,14 @@ declare namespace Paths {
|
|
|
127
185
|
key: Parameters.Key /* ^[a-z0-9][a-z0-9_.\-]{0,127}$ */;
|
|
128
186
|
}
|
|
129
187
|
}
|
|
188
|
+
namespace V1EnvironmentsGroups$Name {
|
|
189
|
+
namespace Parameters {
|
|
190
|
+
export type Name = string;
|
|
191
|
+
}
|
|
192
|
+
export interface PathParameters {
|
|
193
|
+
name: Parameters.Name;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
130
196
|
}
|
|
131
197
|
|
|
132
198
|
|
|
@@ -151,6 +217,34 @@ interface OperationMethods {
|
|
|
151
217
|
data?: Paths.CreateEnvironmentVariable.RequestBody,
|
|
152
218
|
config?: AxiosRequestConfig
|
|
153
219
|
): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
|
|
220
|
+
/**
|
|
221
|
+
* listEnvironmentGroups - List environment groups
|
|
222
|
+
*
|
|
223
|
+
* List all environment groups for the organization.
|
|
224
|
+
*/
|
|
225
|
+
'listEnvironmentGroups'(
|
|
226
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
227
|
+
data?: any,
|
|
228
|
+
config?: AxiosRequestConfig
|
|
229
|
+
): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
|
|
230
|
+
/**
|
|
231
|
+
* putEnvironmentGroup - putEnvironmentGroup
|
|
232
|
+
*/
|
|
233
|
+
'putEnvironmentGroup'(
|
|
234
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
235
|
+
data?: Paths.PutEnvironmentGroup.RequestBody,
|
|
236
|
+
config?: AxiosRequestConfig
|
|
237
|
+
): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
|
|
238
|
+
/**
|
|
239
|
+
* deleteEnvironmentGroup - Delete an environment group
|
|
240
|
+
*
|
|
241
|
+
* Deletes a group. Variables assigned to this group become ungrouped.
|
|
242
|
+
*/
|
|
243
|
+
'deleteEnvironmentGroup'(
|
|
244
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
245
|
+
data?: any,
|
|
246
|
+
config?: AxiosRequestConfig
|
|
247
|
+
): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
|
|
154
248
|
/**
|
|
155
249
|
* getEnvironmentVariable - Get environment variable
|
|
156
250
|
*
|
|
@@ -206,6 +300,38 @@ interface PathsDictionary {
|
|
|
206
300
|
config?: AxiosRequestConfig
|
|
207
301
|
): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
|
|
208
302
|
}
|
|
303
|
+
['/v1/environments/groups']: {
|
|
304
|
+
/**
|
|
305
|
+
* listEnvironmentGroups - List environment groups
|
|
306
|
+
*
|
|
307
|
+
* List all environment groups for the organization.
|
|
308
|
+
*/
|
|
309
|
+
'get'(
|
|
310
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
311
|
+
data?: any,
|
|
312
|
+
config?: AxiosRequestConfig
|
|
313
|
+
): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
|
|
314
|
+
}
|
|
315
|
+
['/v1/environments/groups/{name}']: {
|
|
316
|
+
/**
|
|
317
|
+
* putEnvironmentGroup - putEnvironmentGroup
|
|
318
|
+
*/
|
|
319
|
+
'put'(
|
|
320
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
321
|
+
data?: Paths.PutEnvironmentGroup.RequestBody,
|
|
322
|
+
config?: AxiosRequestConfig
|
|
323
|
+
): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
|
|
324
|
+
/**
|
|
325
|
+
* deleteEnvironmentGroup - Delete an environment group
|
|
326
|
+
*
|
|
327
|
+
* Deletes a group. Variables assigned to this group become ungrouped.
|
|
328
|
+
*/
|
|
329
|
+
'delete'(
|
|
330
|
+
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
331
|
+
data?: any,
|
|
332
|
+
config?: AxiosRequestConfig
|
|
333
|
+
): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
|
|
334
|
+
}
|
|
209
335
|
['/v1/environments/{key}']: {
|
|
210
336
|
/**
|
|
211
337
|
* getEnvironmentVariable - Get environment variable
|
|
@@ -243,6 +369,9 @@ interface PathsDictionary {
|
|
|
243
369
|
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
244
370
|
|
|
245
371
|
|
|
372
|
+
type EnvironmentGroup = Components.Schemas.EnvironmentGroup;
|
|
373
|
+
type EnvironmentGroupList = Components.Schemas.EnvironmentGroupList;
|
|
374
|
+
type EnvironmentGroupUpsertRequest = Components.Schemas.EnvironmentGroupUpsertRequest;
|
|
246
375
|
type EnvironmentValueType = Components.Schemas.EnvironmentValueType;
|
|
247
376
|
type EnvironmentVariable = Components.Schemas.EnvironmentVariable;
|
|
248
377
|
type EnvironmentVariableCreateRequest = Components.Schemas.EnvironmentVariableCreateRequest;
|
|
@@ -250,4 +379,4 @@ type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
|
|
|
250
379
|
type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
|
|
251
380
|
type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
252
381
|
|
|
253
|
-
export { type Client as C, type
|
|
382
|
+
export { type Client as C, type EnvironmentGroup as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type EnvironmentValueType as e, type EnvironmentVariable as f, type EnvironmentVariableCreateRequest as g, type EnvironmentVariableList as h, type EnvironmentVariableListItem as i, type EnvironmentVariableUpdateRequest as j };
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
+
var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkQNZPOA54cjs = require('./chunk-QNZPOA54.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkTZQFJ5GXcjs = require('./chunk-TZQFJ5GX.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
3
12
|
var _chunkWWOAKRNGcjs = require('./chunk-WWOAKRNG.cjs');
|
|
4
13
|
|
|
5
14
|
|
|
@@ -18,12 +27,6 @@ var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
|
|
|
18
27
|
var _chunkHHMXS5NCcjs = require('./chunk-HHMXS5NC.cjs');
|
|
19
28
|
|
|
20
29
|
|
|
21
|
-
var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var _chunkQNZPOA54cjs = require('./chunk-QNZPOA54.cjs');
|
|
25
|
-
|
|
26
|
-
|
|
27
30
|
var _chunkQOAWSFXAcjs = require('./chunk-QOAWSFXA.cjs');
|
|
28
31
|
|
|
29
32
|
|
|
@@ -42,10 +45,10 @@ var _chunkJXJC6WEWcjs = require('./chunk-JXJC6WEW.cjs');
|
|
|
42
45
|
var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
|
|
43
46
|
|
|
44
47
|
|
|
45
|
-
var
|
|
48
|
+
var _chunkXDZ2JKJ4cjs = require('./chunk-XDZ2JKJ4.cjs');
|
|
46
49
|
|
|
47
50
|
|
|
48
|
-
var
|
|
51
|
+
var _chunkNEVFKRDUcjs = require('./chunk-NEVFKRDU.cjs');
|
|
49
52
|
|
|
50
53
|
|
|
51
54
|
var _chunkYO4M3BZLcjs = require('./chunk-YO4M3BZL.cjs');
|
|
@@ -87,7 +90,7 @@ var _chunkANN2QTMYcjs = require('./chunk-ANN2QTMY.cjs');
|
|
|
87
90
|
var _chunkQA2OYK7Ncjs = require('./chunk-QA2OYK7N.cjs');
|
|
88
91
|
|
|
89
92
|
|
|
90
|
-
var
|
|
93
|
+
var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
|
|
91
94
|
|
|
92
95
|
|
|
93
96
|
var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
|
|
@@ -146,7 +149,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
146
149
|
|
|
147
150
|
|
|
148
151
|
|
|
149
|
-
var
|
|
152
|
+
var _chunkLS3ISLMDcjs = require('./chunk-LS3ISLMD.cjs');
|
|
150
153
|
|
|
151
154
|
|
|
152
155
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -213,7 +216,7 @@ var resolveClient = (params) => {
|
|
|
213
216
|
}
|
|
214
217
|
if (!entry.instance) {
|
|
215
218
|
const definition = entry.loader();
|
|
216
|
-
entry.instance =
|
|
219
|
+
entry.instance = _chunkLS3ISLMDcjs.createApiClient.call(void 0, {
|
|
217
220
|
definition,
|
|
218
221
|
token: state.token,
|
|
219
222
|
headers: state.globalHeaders,
|
|
@@ -246,7 +249,7 @@ var resetAllClients = (registry) => {
|
|
|
246
249
|
};
|
|
247
250
|
|
|
248
251
|
// src/apis/_registry.ts
|
|
249
|
-
var expandDef = (mod) =>
|
|
252
|
+
var expandDef = (mod) => _chunkLS3ISLMDcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
250
253
|
var registerBuiltinApis = (registry) => {
|
|
251
254
|
registerApi({
|
|
252
255
|
registry,
|
|
@@ -351,7 +354,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
351
354
|
registerApi({
|
|
352
355
|
registry,
|
|
353
356
|
name: "environments",
|
|
354
|
-
loader: () => expandDef(
|
|
357
|
+
loader: () => expandDef(_chunkI6DG26UJcjs.require_environments_runtime.call(void 0, ))
|
|
355
358
|
});
|
|
356
359
|
registerApi({
|
|
357
360
|
registry,
|
|
@@ -433,6 +436,11 @@ var registerBuiltinApis = (registry) => {
|
|
|
433
436
|
name: "purpose",
|
|
434
437
|
loader: () => expandDef(_chunkWQBBB6BNcjs.require_purpose_runtime.call(void 0, ))
|
|
435
438
|
});
|
|
439
|
+
registerApi({
|
|
440
|
+
registry,
|
|
441
|
+
name: "query",
|
|
442
|
+
loader: () => expandDef(_chunkXDZ2JKJ4cjs.require_query_runtime.call(void 0, ))
|
|
443
|
+
});
|
|
436
444
|
registerApi({
|
|
437
445
|
registry,
|
|
438
446
|
name: "sandbox",
|
|
@@ -569,9 +577,9 @@ var createSDK = () => {
|
|
|
569
577
|
const available = [...registry.keys()].join(", ");
|
|
570
578
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
571
579
|
}
|
|
572
|
-
return
|
|
580
|
+
return _chunkLS3ISLMDcjs.createApiHandle.call(void 0, {
|
|
573
581
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
574
|
-
createClient: () =>
|
|
582
|
+
createClient: () => _chunkLS3ISLMDcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
575
583
|
apiName: name
|
|
576
584
|
});
|
|
577
585
|
};
|
|
@@ -619,9 +627,9 @@ var createSDK = () => {
|
|
|
619
627
|
return interceptorUse;
|
|
620
628
|
}
|
|
621
629
|
case "help":
|
|
622
|
-
return (apiName) =>
|
|
630
|
+
return (apiName) => _chunkLS3ISLMDcjs.help.call(void 0, apiName);
|
|
623
631
|
case "openapi":
|
|
624
|
-
return (apiName) =>
|
|
632
|
+
return (apiName) => _chunkLS3ISLMDcjs.openapi.call(void 0, apiName);
|
|
625
633
|
case "then":
|
|
626
634
|
case "catch":
|
|
627
635
|
case "finally":
|
|
@@ -651,4 +659,4 @@ var epilot = createSDK();
|
|
|
651
659
|
|
|
652
660
|
|
|
653
661
|
|
|
654
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
662
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkLS3ISLMDcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkLS3ISLMDcjs.help; exports.openapi = _chunkLS3ISLMDcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -23,7 +23,7 @@ import { C as Client$g } from './email-settings.d-B7Q_xT25.cjs';
|
|
|
23
23
|
import { C as Client$h } from './email-template.d-gtQkdaXM.cjs';
|
|
24
24
|
import { C as Client$i } from './entity.d-ByufVI16.cjs';
|
|
25
25
|
import { C as Client$j } from './entity-mapping.d-DKSW3sfy.cjs';
|
|
26
|
-
import { C as Client$k } from './environments.d-
|
|
26
|
+
import { C as Client$k } from './environments.d-BvqvN-PD.cjs';
|
|
27
27
|
import { C as Client$l } from './event-catalog.d-ENw6HO-w.cjs';
|
|
28
28
|
import { C as Client$m } from './file.d-DcTJxjp7.cjs';
|
|
29
29
|
import { C as Client$n } from './iban.d-BwdiGbxi.cjs';
|
|
@@ -40,16 +40,17 @@ import { C as Client$x } from './permissions.d-l6AT8SYP.cjs';
|
|
|
40
40
|
import { C as Client$y } from './pricing.d-Cv39plGm.cjs';
|
|
41
41
|
import { C as Client$z } from './pricing-tier.d-Cg0jl6n_.cjs';
|
|
42
42
|
import { C as Client$A } from './purpose.d-CbIYfTua.cjs';
|
|
43
|
-
import { C as Client$B } from './
|
|
44
|
-
import { C as Client$C } from './
|
|
45
|
-
import { C as Client$D } from './
|
|
46
|
-
import { C as Client$E } from './
|
|
47
|
-
import { C as Client$F } from './
|
|
48
|
-
import { C as Client$G } from './
|
|
49
|
-
import { C as Client$H } from './
|
|
50
|
-
import { C as Client$I } from './
|
|
51
|
-
import { C as Client$J } from './
|
|
52
|
-
import { C as Client$K } from './workflow
|
|
43
|
+
import { C as Client$B } from './query.d-Cmp78IhZ.cjs';
|
|
44
|
+
import { C as Client$C } from './sandbox.d-BdbOFzDu.cjs';
|
|
45
|
+
import { C as Client$D } from './sharing.d-sOXq-gtz.cjs';
|
|
46
|
+
import { C as Client$E } from './submission.d-BamwfhXw.cjs';
|
|
47
|
+
import { C as Client$F } from './targeting.d-BNmcVsNS.cjs';
|
|
48
|
+
import { C as Client$G } from './template-variables.d-Ble9TSBa.cjs';
|
|
49
|
+
import { C as Client$H } from './user.d-D18fe97W.cjs';
|
|
50
|
+
import { C as Client$I } from './validation-rules.d-Db5c5zTf.cjs';
|
|
51
|
+
import { C as Client$J } from './webhooks.d-pLHIL_io.cjs';
|
|
52
|
+
import { C as Client$K } from './workflow.d-pD8ISOg-.cjs';
|
|
53
|
+
import { C as Client$L } from './workflow-definition.d-ByCJK9_x.cjs';
|
|
53
54
|
|
|
54
55
|
type SDKClientMap = {
|
|
55
56
|
accessToken: Client;
|
|
@@ -89,16 +90,17 @@ type SDKClientMap = {
|
|
|
89
90
|
pricing: Client$y;
|
|
90
91
|
pricingTier: Client$z;
|
|
91
92
|
purpose: Client$A;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
93
|
+
query: Client$B;
|
|
94
|
+
sandbox: Client$C;
|
|
95
|
+
sharing: Client$D;
|
|
96
|
+
submission: Client$E;
|
|
97
|
+
targeting: Client$F;
|
|
98
|
+
templateVariables: Client$G;
|
|
99
|
+
user: Client$H;
|
|
100
|
+
validationRules: Client$I;
|
|
101
|
+
webhooks: Client$J;
|
|
102
|
+
workflow: Client$K;
|
|
103
|
+
workflowDefinition: Client$L;
|
|
102
104
|
};
|
|
103
105
|
|
|
104
106
|
type LargeResponseConfig = {
|