@epilot/sdk 2.19.11 → 2.19.13
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/entity-mapping.json +189 -2
- package/definitions/environments.json +37 -46
- 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/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.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.d.cts +2 -2
- package/dist/apis/entity-mapping.d.ts +2 -2
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +23 -6
- package/dist/apis/entity.d.cts +16 -3
- package/dist/apis/entity.d.ts +16 -3
- package/dist/apis/entity.js +18 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.d.cts +2 -2
- package/dist/apis/environments.d.ts +2 -2
- package/dist/apis/environments.js +1 -1
- 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 +50 -6
- package/dist/apis/pricing.d.cts +40 -1
- package/dist/apis/pricing.d.ts +40 -1
- package/dist/apis/pricing.js +45 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- 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/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- 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/{chunk-M2O7H6A2.js → chunk-HS4W3GY7.js} +2 -2
- package/dist/{chunk-5VKNAAXI.cjs → chunk-YZ2YWRG7.cjs} +2 -2
- package/dist/entity-mapping-D67LJE74.js +7 -0
- package/dist/entity-mapping-WFPSOXRK.cjs +7 -0
- package/dist/{entity-mapping.d-DKSW3sfy.d.ts → entity-mapping.d-CQv75o8M.d.cts} +196 -3
- package/dist/{entity-mapping.d-DKSW3sfy.d.cts → entity-mapping.d-CQv75o8M.d.ts} +196 -3
- package/dist/{entity.d-C3WddgVt.d.cts → entity.d-CkFElDWZ.d.cts} +1 -1
- package/dist/{entity.d-C3WddgVt.d.ts → entity.d-CkFElDWZ.d.ts} +1 -1
- package/dist/environments-4YS2MZ3G.js +7 -0
- package/dist/environments-EJSSTDDU.cjs +7 -0
- package/dist/{environments.d-840_mC07.d.ts → environments.d-DVgvq0wo.d.cts} +59 -28
- package/dist/{environments.d-840_mC07.d.cts → environments.d-DVgvq0wo.d.ts} +59 -28
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/docs/entity-mapping.md +354 -852
- package/docs/environments.md +42 -45
- package/package.json +1 -1
- package/dist/entity-mapping-7J3IAGKQ.js +0 -7
- package/dist/entity-mapping-ZNMFCUKK.cjs +0 -7
- package/dist/environments-JP2CPDH2.cjs +0 -7
- package/dist/environments-PGRMZY5G.js +0 -7
|
@@ -17,42 +17,33 @@ declare namespace Components {
|
|
|
17
17
|
export interface EnvironmentGroupUpsertRequest {
|
|
18
18
|
description?: string;
|
|
19
19
|
}
|
|
20
|
-
export type EnvironmentOption = {
|
|
21
|
-
value: string;
|
|
22
|
-
label: string;
|
|
23
|
-
} | {
|
|
24
|
-
value: string;
|
|
25
|
-
labels: {
|
|
26
|
-
[name: string]: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
20
|
/**
|
|
30
21
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
31
22
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
32
|
-
* `Boolean` is a boolean, and `
|
|
23
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
33
24
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
34
25
|
*
|
|
35
26
|
*/
|
|
36
27
|
export type EnvironmentValue = /**
|
|
37
28
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
38
29
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
39
|
-
* `Boolean` is a boolean, and `
|
|
30
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
40
31
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
41
32
|
*
|
|
42
33
|
*/
|
|
43
|
-
string | number | boolean |
|
|
34
|
+
string | number | boolean | MapValue;
|
|
44
35
|
/**
|
|
45
36
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
46
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
37
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
47
38
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
48
39
|
*
|
|
49
40
|
*/
|
|
50
|
-
export type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
41
|
+
export type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map";
|
|
51
42
|
export interface EnvironmentVariable {
|
|
52
43
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
53
44
|
type: /**
|
|
54
45
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
55
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
46
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
56
47
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
57
48
|
*
|
|
58
49
|
*/
|
|
@@ -74,7 +65,7 @@ declare namespace Components {
|
|
|
74
65
|
* install, which syncs a variable's key and type but never its value.
|
|
75
66
|
*
|
|
76
67
|
*/
|
|
77
|
-
string | number | boolean |
|
|
68
|
+
string | number | boolean | MapValue;
|
|
78
69
|
/**
|
|
79
70
|
* Whether the variable is protected from editing
|
|
80
71
|
*/
|
|
@@ -86,7 +77,7 @@ declare namespace Components {
|
|
|
86
77
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
87
78
|
type: /**
|
|
88
79
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
89
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
80
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
90
81
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
91
82
|
*
|
|
92
83
|
*/
|
|
@@ -96,7 +87,7 @@ declare namespace Components {
|
|
|
96
87
|
value?: /**
|
|
97
88
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
98
89
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
99
|
-
* `Boolean` is a boolean, and `
|
|
90
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
100
91
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
101
92
|
*
|
|
102
93
|
*/
|
|
@@ -113,7 +104,7 @@ declare namespace Components {
|
|
|
113
104
|
key: string;
|
|
114
105
|
type: /**
|
|
115
106
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
116
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
107
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
117
108
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
118
109
|
*
|
|
119
110
|
*/
|
|
@@ -135,7 +126,7 @@ declare namespace Components {
|
|
|
135
126
|
* install, which syncs a variable's key and type but never its value.
|
|
136
127
|
*
|
|
137
128
|
*/
|
|
138
|
-
string | number | boolean |
|
|
129
|
+
string | number | boolean | MapValue;
|
|
139
130
|
/**
|
|
140
131
|
* Whether the variable is protected from editing
|
|
141
132
|
*/
|
|
@@ -147,11 +138,11 @@ declare namespace Components {
|
|
|
147
138
|
/**
|
|
148
139
|
* Type of variable. Used when creating a new variable. Defaults to String.
|
|
149
140
|
*/
|
|
150
|
-
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
141
|
+
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map";
|
|
151
142
|
value?: /**
|
|
152
143
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
153
144
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
154
|
-
* `Boolean` is a boolean, and `
|
|
145
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
155
146
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
156
147
|
*
|
|
157
148
|
*/
|
|
@@ -163,13 +154,52 @@ declare namespace Components {
|
|
|
163
154
|
*/
|
|
164
155
|
protected?: boolean;
|
|
165
156
|
}
|
|
166
|
-
|
|
157
|
+
/**
|
|
158
|
+
* One entry of a Map. `key` is the token a journey submits; `value` is
|
|
159
|
+
* what the customer reads — either one string, or one string per
|
|
160
|
+
* language. Every entry of a Map must agree on which of the two it uses.
|
|
161
|
+
*
|
|
162
|
+
*/
|
|
163
|
+
export interface MapEntry {
|
|
164
|
+
key: string;
|
|
165
|
+
value: string | /**
|
|
166
|
+
* A string translated per language. Keys are language codes (e.g. `de`,
|
|
167
|
+
* `en-US`), matching the hyphen-only BCP-47 form epilot's i18n stack uses
|
|
168
|
+
* everywhere else. Must match LANGUAGE_KEY_PATTERN in
|
|
169
|
+
* src/core/value-types.ts — the two are not otherwise linked.
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
StringTranslations;
|
|
173
|
+
}
|
|
174
|
+
export interface MapValue {
|
|
167
175
|
fallbackLanguage?: string;
|
|
168
176
|
options: [
|
|
169
|
-
|
|
170
|
-
|
|
177
|
+
/**
|
|
178
|
+
* One entry of a Map. `key` is the token a journey submits; `value` is
|
|
179
|
+
* what the customer reads — either one string, or one string per
|
|
180
|
+
* language. Every entry of a Map must agree on which of the two it uses.
|
|
181
|
+
*
|
|
182
|
+
*/
|
|
183
|
+
MapEntry,
|
|
184
|
+
.../**
|
|
185
|
+
* One entry of a Map. `key` is the token a journey submits; `value` is
|
|
186
|
+
* what the customer reads — either one string, or one string per
|
|
187
|
+
* language. Every entry of a Map must agree on which of the two it uses.
|
|
188
|
+
*
|
|
189
|
+
*/
|
|
190
|
+
MapEntry[]
|
|
171
191
|
];
|
|
172
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* A string translated per language. Keys are language codes (e.g. `de`,
|
|
195
|
+
* `en-US`), matching the hyphen-only BCP-47 form epilot's i18n stack uses
|
|
196
|
+
* everywhere else. Must match LANGUAGE_KEY_PATTERN in
|
|
197
|
+
* src/core/value-types.ts — the two are not otherwise linked.
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
200
|
+
export interface StringTranslations {
|
|
201
|
+
[name: string]: string;
|
|
202
|
+
}
|
|
173
203
|
}
|
|
174
204
|
}
|
|
175
205
|
declare namespace Paths {
|
|
@@ -481,7 +511,6 @@ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
|
481
511
|
type EnvironmentGroup = Components.Schemas.EnvironmentGroup;
|
|
482
512
|
type EnvironmentGroupList = Components.Schemas.EnvironmentGroupList;
|
|
483
513
|
type EnvironmentGroupUpsertRequest = Components.Schemas.EnvironmentGroupUpsertRequest;
|
|
484
|
-
type EnvironmentOption = Components.Schemas.EnvironmentOption;
|
|
485
514
|
type EnvironmentValue = Components.Schemas.EnvironmentValue;
|
|
486
515
|
type EnvironmentValueType = Components.Schemas.EnvironmentValueType;
|
|
487
516
|
type EnvironmentVariable = Components.Schemas.EnvironmentVariable;
|
|
@@ -489,6 +518,8 @@ type EnvironmentVariableCreateRequest = Components.Schemas.EnvironmentVariableCr
|
|
|
489
518
|
type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
|
|
490
519
|
type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
|
|
491
520
|
type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
492
|
-
type
|
|
521
|
+
type MapEntry = Components.Schemas.MapEntry;
|
|
522
|
+
type MapValue = Components.Schemas.MapValue;
|
|
523
|
+
type StringTranslations = Components.Schemas.StringTranslations;
|
|
493
524
|
|
|
494
|
-
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
|
|
525
|
+
export { type Client as C, type EnvironmentGroup as E, type MapEntry as M, type OperationMethods as O, Paths as P, type StringTranslations as S, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type EnvironmentValue as e, type EnvironmentValueType as f, type EnvironmentVariable as g, type EnvironmentVariableCreateRequest as h, type EnvironmentVariableList as i, type EnvironmentVariableListItem as j, type EnvironmentVariableUpdateRequest as k, type MapValue as l };
|
|
@@ -17,42 +17,33 @@ declare namespace Components {
|
|
|
17
17
|
export interface EnvironmentGroupUpsertRequest {
|
|
18
18
|
description?: string;
|
|
19
19
|
}
|
|
20
|
-
export type EnvironmentOption = {
|
|
21
|
-
value: string;
|
|
22
|
-
label: string;
|
|
23
|
-
} | {
|
|
24
|
-
value: string;
|
|
25
|
-
labels: {
|
|
26
|
-
[name: string]: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
20
|
/**
|
|
30
21
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
31
22
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
32
|
-
* `Boolean` is a boolean, and `
|
|
23
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
33
24
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
34
25
|
*
|
|
35
26
|
*/
|
|
36
27
|
export type EnvironmentValue = /**
|
|
37
28
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
38
29
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
39
|
-
* `Boolean` is a boolean, and `
|
|
30
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
40
31
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
41
32
|
*
|
|
42
33
|
*/
|
|
43
|
-
string | number | boolean |
|
|
34
|
+
string | number | boolean | MapValue;
|
|
44
35
|
/**
|
|
45
36
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
46
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
37
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
47
38
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
48
39
|
*
|
|
49
40
|
*/
|
|
50
|
-
export type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
41
|
+
export type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map";
|
|
51
42
|
export interface EnvironmentVariable {
|
|
52
43
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
53
44
|
type: /**
|
|
54
45
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
55
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
46
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
56
47
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
57
48
|
*
|
|
58
49
|
*/
|
|
@@ -74,7 +65,7 @@ declare namespace Components {
|
|
|
74
65
|
* install, which syncs a variable's key and type but never its value.
|
|
75
66
|
*
|
|
76
67
|
*/
|
|
77
|
-
string | number | boolean |
|
|
68
|
+
string | number | boolean | MapValue;
|
|
78
69
|
/**
|
|
79
70
|
* Whether the variable is protected from editing
|
|
80
71
|
*/
|
|
@@ -86,7 +77,7 @@ declare namespace Components {
|
|
|
86
77
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
87
78
|
type: /**
|
|
88
79
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
89
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
80
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
90
81
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
91
82
|
*
|
|
92
83
|
*/
|
|
@@ -96,7 +87,7 @@ declare namespace Components {
|
|
|
96
87
|
value?: /**
|
|
97
88
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
98
89
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
99
|
-
* `Boolean` is a boolean, and `
|
|
90
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
100
91
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
101
92
|
*
|
|
102
93
|
*/
|
|
@@ -113,7 +104,7 @@ declare namespace Components {
|
|
|
113
104
|
key: string;
|
|
114
105
|
type: /**
|
|
115
106
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
116
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
107
|
+
* its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
117
108
|
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
118
109
|
*
|
|
119
110
|
*/
|
|
@@ -135,7 +126,7 @@ declare namespace Components {
|
|
|
135
126
|
* install, which syncs a variable's key and type but never its value.
|
|
136
127
|
*
|
|
137
128
|
*/
|
|
138
|
-
string | number | boolean |
|
|
129
|
+
string | number | boolean | MapValue;
|
|
139
130
|
/**
|
|
140
131
|
* Whether the variable is protected from editing
|
|
141
132
|
*/
|
|
@@ -147,11 +138,11 @@ declare namespace Components {
|
|
|
147
138
|
/**
|
|
148
139
|
* Type of variable. Used when creating a new variable. Defaults to String.
|
|
149
140
|
*/
|
|
150
|
-
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
141
|
+
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map";
|
|
151
142
|
value?: /**
|
|
152
143
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
153
144
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
154
|
-
* `Boolean` is a boolean, and `
|
|
145
|
+
* `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
155
146
|
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
156
147
|
*
|
|
157
148
|
*/
|
|
@@ -163,13 +154,52 @@ declare namespace Components {
|
|
|
163
154
|
*/
|
|
164
155
|
protected?: boolean;
|
|
165
156
|
}
|
|
166
|
-
|
|
157
|
+
/**
|
|
158
|
+
* One entry of a Map. `key` is the token a journey submits; `value` is
|
|
159
|
+
* what the customer reads — either one string, or one string per
|
|
160
|
+
* language. Every entry of a Map must agree on which of the two it uses.
|
|
161
|
+
*
|
|
162
|
+
*/
|
|
163
|
+
export interface MapEntry {
|
|
164
|
+
key: string;
|
|
165
|
+
value: string | /**
|
|
166
|
+
* A string translated per language. Keys are language codes (e.g. `de`,
|
|
167
|
+
* `en-US`), matching the hyphen-only BCP-47 form epilot's i18n stack uses
|
|
168
|
+
* everywhere else. Must match LANGUAGE_KEY_PATTERN in
|
|
169
|
+
* src/core/value-types.ts — the two are not otherwise linked.
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
StringTranslations;
|
|
173
|
+
}
|
|
174
|
+
export interface MapValue {
|
|
167
175
|
fallbackLanguage?: string;
|
|
168
176
|
options: [
|
|
169
|
-
|
|
170
|
-
|
|
177
|
+
/**
|
|
178
|
+
* One entry of a Map. `key` is the token a journey submits; `value` is
|
|
179
|
+
* what the customer reads — either one string, or one string per
|
|
180
|
+
* language. Every entry of a Map must agree on which of the two it uses.
|
|
181
|
+
*
|
|
182
|
+
*/
|
|
183
|
+
MapEntry,
|
|
184
|
+
.../**
|
|
185
|
+
* One entry of a Map. `key` is the token a journey submits; `value` is
|
|
186
|
+
* what the customer reads — either one string, or one string per
|
|
187
|
+
* language. Every entry of a Map must agree on which of the two it uses.
|
|
188
|
+
*
|
|
189
|
+
*/
|
|
190
|
+
MapEntry[]
|
|
171
191
|
];
|
|
172
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* A string translated per language. Keys are language codes (e.g. `de`,
|
|
195
|
+
* `en-US`), matching the hyphen-only BCP-47 form epilot's i18n stack uses
|
|
196
|
+
* everywhere else. Must match LANGUAGE_KEY_PATTERN in
|
|
197
|
+
* src/core/value-types.ts — the two are not otherwise linked.
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
200
|
+
export interface StringTranslations {
|
|
201
|
+
[name: string]: string;
|
|
202
|
+
}
|
|
173
203
|
}
|
|
174
204
|
}
|
|
175
205
|
declare namespace Paths {
|
|
@@ -481,7 +511,6 @@ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
|
481
511
|
type EnvironmentGroup = Components.Schemas.EnvironmentGroup;
|
|
482
512
|
type EnvironmentGroupList = Components.Schemas.EnvironmentGroupList;
|
|
483
513
|
type EnvironmentGroupUpsertRequest = Components.Schemas.EnvironmentGroupUpsertRequest;
|
|
484
|
-
type EnvironmentOption = Components.Schemas.EnvironmentOption;
|
|
485
514
|
type EnvironmentValue = Components.Schemas.EnvironmentValue;
|
|
486
515
|
type EnvironmentValueType = Components.Schemas.EnvironmentValueType;
|
|
487
516
|
type EnvironmentVariable = Components.Schemas.EnvironmentVariable;
|
|
@@ -489,6 +518,8 @@ type EnvironmentVariableCreateRequest = Components.Schemas.EnvironmentVariableCr
|
|
|
489
518
|
type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
|
|
490
519
|
type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
|
|
491
520
|
type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
492
|
-
type
|
|
521
|
+
type MapEntry = Components.Schemas.MapEntry;
|
|
522
|
+
type MapValue = Components.Schemas.MapValue;
|
|
523
|
+
type StringTranslations = Components.Schemas.StringTranslations;
|
|
493
524
|
|
|
494
|
-
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
|
|
525
|
+
export { type Client as C, type EnvironmentGroup as E, type MapEntry as M, type OperationMethods as O, Paths as P, type StringTranslations as S, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type EnvironmentValue as e, type EnvironmentValueType as f, type EnvironmentVariable as g, type EnvironmentVariableCreateRequest as h, type EnvironmentVariableList as i, type EnvironmentVariableListItem as j, type EnvironmentVariableUpdateRequest as k, type MapValue as l };
|
package/dist/index.cjs
CHANGED
|
@@ -158,7 +158,7 @@ var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunkYZ2YWRG7cjs = require('./chunk-YZ2YWRG7.cjs');
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
|
|
|
225
225
|
}
|
|
226
226
|
if (!entry.instance) {
|
|
227
227
|
const definition = entry.loader();
|
|
228
|
-
entry.instance =
|
|
228
|
+
entry.instance = _chunkYZ2YWRG7cjs.createApiClient.call(void 0, {
|
|
229
229
|
definition,
|
|
230
230
|
token: state.token,
|
|
231
231
|
headers: state.globalHeaders,
|
|
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
|
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
// src/apis/_registry.ts
|
|
261
|
-
var expandDef = (mod) =>
|
|
261
|
+
var expandDef = (mod) => _chunkYZ2YWRG7cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -601,9 +601,9 @@ var createSDK = () => {
|
|
|
601
601
|
const available = [...registry.keys()].join(", ");
|
|
602
602
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
603
603
|
}
|
|
604
|
-
return
|
|
604
|
+
return _chunkYZ2YWRG7cjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkYZ2YWRG7cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
607
607
|
apiName: name
|
|
608
608
|
});
|
|
609
609
|
};
|
|
@@ -651,9 +651,9 @@ var createSDK = () => {
|
|
|
651
651
|
return interceptorUse;
|
|
652
652
|
}
|
|
653
653
|
case "help":
|
|
654
|
-
return (apiName) =>
|
|
654
|
+
return (apiName) => _chunkYZ2YWRG7cjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkYZ2YWRG7cjs.openapi.call(void 0, apiName);
|
|
657
657
|
case "then":
|
|
658
658
|
case "catch":
|
|
659
659
|
case "finally":
|
|
@@ -683,4 +683,4 @@ var epilot = createSDK();
|
|
|
683
683
|
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkYZ2YWRG7cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkYZ2YWRG7cjs.help; exports.openapi = _chunkYZ2YWRG7cjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -23,9 +23,9 @@ import { C as Client$g } from './design.d-CYHbiaq_.cjs';
|
|
|
23
23
|
import { C as Client$h } from './document.d-DN37pjdx.cjs';
|
|
24
24
|
import { C as Client$i } from './email-settings.d-DViLYaOl.cjs';
|
|
25
25
|
import { C as Client$j } from './email-template.d-gtQkdaXM.cjs';
|
|
26
|
-
import { C as Client$k } from './entity.d-
|
|
27
|
-
import { C as Client$l } from './entity-mapping.d-
|
|
28
|
-
import { C as Client$m } from './environments.d-
|
|
26
|
+
import { C as Client$k } from './entity.d-CkFElDWZ.cjs';
|
|
27
|
+
import { C as Client$l } from './entity-mapping.d-CQv75o8M.cjs';
|
|
28
|
+
import { C as Client$m } from './environments.d-DVgvq0wo.cjs';
|
|
29
29
|
import { C as Client$n } from './event-catalog.d-QIhhewVH.cjs';
|
|
30
30
|
import { C as Client$o } from './file.d-CBsXF4W8.cjs';
|
|
31
31
|
import { C as Client$p } from './iban.d-BwdiGbxi.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ import { C as Client$g } from './design.d-CYHbiaq_.js';
|
|
|
23
23
|
import { C as Client$h } from './document.d-DN37pjdx.js';
|
|
24
24
|
import { C as Client$i } from './email-settings.d-DViLYaOl.js';
|
|
25
25
|
import { C as Client$j } from './email-template.d-gtQkdaXM.js';
|
|
26
|
-
import { C as Client$k } from './entity.d-
|
|
27
|
-
import { C as Client$l } from './entity-mapping.d-
|
|
28
|
-
import { C as Client$m } from './environments.d-
|
|
26
|
+
import { C as Client$k } from './entity.d-CkFElDWZ.js';
|
|
27
|
+
import { C as Client$l } from './entity-mapping.d-CQv75o8M.js';
|
|
28
|
+
import { C as Client$m } from './environments.d-DVgvq0wo.js';
|
|
29
29
|
import { C as Client$n } from './event-catalog.d-QIhhewVH.js';
|
|
30
30
|
import { C as Client$o } from './file.d-CBsXF4W8.js';
|
|
31
31
|
import { C as Client$p } from './iban.d-BwdiGbxi.js';
|