@epilot/sdk 2.20.13-alpha.0 → 2.20.14
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/environments.json +5 -287
- package/definitions/integration-toolkit.json +112 -9
- 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.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -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 +221 -6
- package/dist/apis/integration-toolkit.d.cts +41 -3
- package/dist/apis/integration-toolkit.d.ts +41 -3
- package/dist/apis/integration-toolkit.js +216 -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 +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/bin/cli.js +1 -1
- package/dist/{chunk-3OIZHXWK.cjs → chunk-ELW4V3ID.cjs} +2 -2
- package/dist/{chunk-ARX7EKG7.js → chunk-FONJD6VA.js} +2 -2
- package/dist/environments-EAVUY4FC.cjs +7 -0
- package/dist/environments-RNOROUFZ.js +7 -0
- package/dist/{environments.d-qL1urwAq.d.ts → environments.d-C_BTxz4W.d.cts} +22 -252
- package/dist/{environments.d-qL1urwAq.d.cts → environments.d-C_BTxz4W.d.ts} +22 -252
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/integration-toolkit-GOFVOMNH.js +7 -0
- package/dist/integration-toolkit-XMM5LLK6.cjs +7 -0
- package/dist/{integration-toolkit.d-rpj1kvB_.d.cts → integration-toolkit.d-bhpB79pc.d.cts} +37 -8
- package/dist/{integration-toolkit.d-rpj1kvB_.d.ts → integration-toolkit.d-bhpB79pc.d.ts} +37 -8
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/docs/environments.md +11 -327
- package/docs/integration-toolkit.md +24 -3
- package/package.json +1 -1
- package/dist/environments-OYCH6VUD.js +0 -7
- package/dist/environments-S3O6ASTY.cjs +0 -7
- package/dist/integration-toolkit-BHVL3SDT.js +0 -7
- package/dist/integration-toolkit-WWHOAH3S.cjs +0 -7
|
@@ -20,17 +20,15 @@ declare namespace Components {
|
|
|
20
20
|
/**
|
|
21
21
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
22
22
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
23
|
-
* `Boolean` is a boolean, and `Map`, `JSON
|
|
24
|
-
*
|
|
25
|
-
* round-trip.
|
|
23
|
+
* `Boolean` is a boolean, and `Map`, `JSON` and `Link` are objects. Numbers are
|
|
24
|
+
* IEEE 754 doubles; integers above 2^53 may lose precision on round-trip.
|
|
26
25
|
*
|
|
27
26
|
*/
|
|
28
27
|
export type EnvironmentValue = /**
|
|
29
28
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
30
29
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
31
|
-
* `Boolean` is a boolean, and `Map`, `JSON
|
|
32
|
-
*
|
|
33
|
-
* round-trip.
|
|
30
|
+
* `Boolean` is a boolean, and `Map`, `JSON` and `Link` are objects. Numbers are
|
|
31
|
+
* IEEE 754 doubles; integers above 2^53 may lose precision on round-trip.
|
|
34
32
|
*
|
|
35
33
|
*/
|
|
36
34
|
string | number | boolean | MapValue | /**
|
|
@@ -61,58 +59,36 @@ declare namespace Components {
|
|
|
61
59
|
* does not itself declare it.
|
|
62
60
|
*
|
|
63
61
|
*/
|
|
64
|
-
LinkValue
|
|
65
|
-
* An ordered collection of one declared element type. Items round-trip in
|
|
66
|
-
* the order written; nothing sorts them. Holds at most 100 items.
|
|
67
|
-
*
|
|
68
|
-
* The whole value is limited to 32768 characters when serialised — the
|
|
69
|
-
* server enforces this, and it is not expressible per-property here.
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
ListValue;
|
|
62
|
+
LinkValue;
|
|
73
63
|
/**
|
|
74
64
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
75
65
|
* its value is never returned. `Text`, `Number`, `Boolean`, `Map`, `JSON` and `Link`
|
|
76
|
-
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
77
|
-
* `List` inherits this from its element type: a `List` is served only when its
|
|
78
|
-
* `itemType` is itself client-safe, so a `List<String>` or `List<SecretString>` is not.
|
|
66
|
+
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
79
67
|
*
|
|
80
68
|
*/
|
|
81
|
-
export type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
|
|
69
|
+
export type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link";
|
|
82
70
|
export interface EnvironmentVariable {
|
|
83
71
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
84
72
|
type: /**
|
|
85
73
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
86
74
|
* its value is never returned. `Text`, `Number`, `Boolean`, `Map`, `JSON` and `Link`
|
|
87
|
-
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
88
|
-
* `List` inherits this from its element type: a `List` is served only when its
|
|
89
|
-
* `itemType` is itself client-safe, so a `List<String>` or `List<SecretString>` is not.
|
|
75
|
+
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
90
76
|
*
|
|
91
77
|
*/
|
|
92
78
|
EnvironmentValueType;
|
|
93
|
-
/**
|
|
94
|
-
* Present only for a `List` variable that holds a value, derived from
|
|
95
|
-
* that value at read time and never stored. Returned even when `value`
|
|
96
|
-
* itself is withheld, which is the case for a list of `SecretString` —
|
|
97
|
-
* it is the only way a client learns what such a list holds.
|
|
98
|
-
*
|
|
99
|
-
*/
|
|
100
|
-
item_type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "JSON" | "Link";
|
|
101
79
|
description?: string;
|
|
102
80
|
/**
|
|
103
81
|
* Optional group name for organising variables in the UI
|
|
104
82
|
*/
|
|
105
83
|
group?: string;
|
|
106
84
|
/**
|
|
107
|
-
* Returned for non-secret types, omitted for SecretString
|
|
108
|
-
* List of SecretString. Also omitted when
|
|
85
|
+
* Returned for non-secret types, omitted for SecretString. Also omitted when
|
|
109
86
|
* the variable has been created without a value — for example by a blueprint
|
|
110
87
|
* install, which syncs a variable's key and type but never its value.
|
|
111
88
|
*
|
|
112
89
|
*/
|
|
113
90
|
value?: /**
|
|
114
|
-
* Returned for non-secret types, omitted for SecretString
|
|
115
|
-
* List of SecretString. Also omitted when
|
|
91
|
+
* Returned for non-secret types, omitted for SecretString. Also omitted when
|
|
116
92
|
* the variable has been created without a value — for example by a blueprint
|
|
117
93
|
* install, which syncs a variable's key and type but never its value.
|
|
118
94
|
*
|
|
@@ -145,15 +121,7 @@ declare namespace Components {
|
|
|
145
121
|
* does not itself declare it.
|
|
146
122
|
*
|
|
147
123
|
*/
|
|
148
|
-
LinkValue
|
|
149
|
-
* An ordered collection of one declared element type. Items round-trip in
|
|
150
|
-
* the order written; nothing sorts them. Holds at most 100 items.
|
|
151
|
-
*
|
|
152
|
-
* The whole value is limited to 32768 characters when serialised — the
|
|
153
|
-
* server enforces this, and it is not expressible per-property here.
|
|
154
|
-
*
|
|
155
|
-
*/
|
|
156
|
-
ListValue;
|
|
124
|
+
LinkValue;
|
|
157
125
|
/**
|
|
158
126
|
* Whether the variable is protected from editing
|
|
159
127
|
*/
|
|
@@ -166,9 +134,7 @@ declare namespace Components {
|
|
|
166
134
|
type: /**
|
|
167
135
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
168
136
|
* its value is never returned. `Text`, `Number`, `Boolean`, `Map`, `JSON` and `Link`
|
|
169
|
-
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
170
|
-
* `List` inherits this from its element type: a `List` is served only when its
|
|
171
|
-
* `itemType` is itself client-safe, so a `List<String>` or `List<SecretString>` is not.
|
|
137
|
+
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
172
138
|
*
|
|
173
139
|
*/
|
|
174
140
|
EnvironmentValueType;
|
|
@@ -177,9 +143,8 @@ declare namespace Components {
|
|
|
177
143
|
value?: /**
|
|
178
144
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
179
145
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
180
|
-
* `Boolean` is a boolean, and `Map`, `JSON
|
|
181
|
-
*
|
|
182
|
-
* round-trip.
|
|
146
|
+
* `Boolean` is a boolean, and `Map`, `JSON` and `Link` are objects. Numbers are
|
|
147
|
+
* IEEE 754 doubles; integers above 2^53 may lose precision on round-trip.
|
|
183
148
|
*
|
|
184
149
|
*/
|
|
185
150
|
EnvironmentValue;
|
|
@@ -196,35 +161,23 @@ declare namespace Components {
|
|
|
196
161
|
type: /**
|
|
197
162
|
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
198
163
|
* its value is never returned. `Text`, `Number`, `Boolean`, `Map`, `JSON` and `Link`
|
|
199
|
-
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
200
|
-
* `List` inherits this from its element type: a `List` is served only when its
|
|
201
|
-
* `itemType` is itself client-safe, so a `List<String>` or `List<SecretString>` is not.
|
|
164
|
+
* may be served to browser-facing consumers; `String` and `SecretString` may not.
|
|
202
165
|
*
|
|
203
166
|
*/
|
|
204
167
|
EnvironmentValueType;
|
|
205
|
-
/**
|
|
206
|
-
* Present only for a `List` variable that holds a value, derived from
|
|
207
|
-
* that value at read time and never stored. Returned even when `value`
|
|
208
|
-
* itself is withheld, which is the case for a list of `SecretString` —
|
|
209
|
-
* it is the only way a client learns what such a list holds.
|
|
210
|
-
*
|
|
211
|
-
*/
|
|
212
|
-
item_type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "JSON" | "Link";
|
|
213
168
|
description?: string;
|
|
214
169
|
/**
|
|
215
170
|
* Optional group name for organising variables in the UI
|
|
216
171
|
*/
|
|
217
172
|
group?: string;
|
|
218
173
|
/**
|
|
219
|
-
* Returned for non-secret types, omitted for SecretString
|
|
220
|
-
* List of SecretString. Also omitted when
|
|
174
|
+
* Returned for non-secret types, omitted for SecretString. Also omitted when
|
|
221
175
|
* the variable has been created without a value — for example by a blueprint
|
|
222
176
|
* install, which syncs a variable's key and type but never its value.
|
|
223
177
|
*
|
|
224
178
|
*/
|
|
225
179
|
value?: /**
|
|
226
|
-
* Returned for non-secret types, omitted for SecretString
|
|
227
|
-
* List of SecretString. Also omitted when
|
|
180
|
+
* Returned for non-secret types, omitted for SecretString. Also omitted when
|
|
228
181
|
* the variable has been created without a value — for example by a blueprint
|
|
229
182
|
* install, which syncs a variable's key and type but never its value.
|
|
230
183
|
*
|
|
@@ -257,15 +210,7 @@ declare namespace Components {
|
|
|
257
210
|
* does not itself declare it.
|
|
258
211
|
*
|
|
259
212
|
*/
|
|
260
|
-
LinkValue
|
|
261
|
-
* An ordered collection of one declared element type. Items round-trip in
|
|
262
|
-
* the order written; nothing sorts them. Holds at most 100 items.
|
|
263
|
-
*
|
|
264
|
-
* The whole value is limited to 32768 characters when serialised — the
|
|
265
|
-
* server enforces this, and it is not expressible per-property here.
|
|
266
|
-
*
|
|
267
|
-
*/
|
|
268
|
-
ListValue;
|
|
213
|
+
LinkValue;
|
|
269
214
|
/**
|
|
270
215
|
* Whether the variable is protected from editing
|
|
271
216
|
*/
|
|
@@ -277,13 +222,12 @@ declare namespace Components {
|
|
|
277
222
|
/**
|
|
278
223
|
* Type of variable. Used when creating a new variable. Defaults to String.
|
|
279
224
|
*/
|
|
280
|
-
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
|
|
225
|
+
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link";
|
|
281
226
|
value?: /**
|
|
282
227
|
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
283
228
|
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
284
|
-
* `Boolean` is a boolean, and `Map`, `JSON
|
|
285
|
-
*
|
|
286
|
-
* round-trip.
|
|
229
|
+
* `Boolean` is a boolean, and `Map`, `JSON` and `Link` are objects. Numbers are
|
|
230
|
+
* IEEE 754 doubles; integers above 2^53 may lose precision on round-trip.
|
|
287
231
|
*
|
|
288
232
|
*/
|
|
289
233
|
EnvironmentValue;
|
|
@@ -302,42 +246,6 @@ declare namespace Components {
|
|
|
302
246
|
export interface JsonValue {
|
|
303
247
|
[name: string]: any;
|
|
304
248
|
}
|
|
305
|
-
/**
|
|
306
|
-
* The fields of a link, without a fallback language — the shape a `List`
|
|
307
|
-
* item carries. Inside a list the fallback belongs to the wrapper, which
|
|
308
|
-
* owns the language tabs for every row.
|
|
309
|
-
*
|
|
310
|
-
* Restated rather than composed with `LinkValue`: `allOf` plus
|
|
311
|
-
* `additionalProperties: false` is rejected by most validators, because
|
|
312
|
-
* each branch sees the sibling's properties as unknown. zod composes
|
|
313
|
-
* properly — see LinkFieldsSchema in src/core/value-types.ts.
|
|
314
|
-
*
|
|
315
|
-
*/
|
|
316
|
-
export interface LinkFields {
|
|
317
|
-
url: string;
|
|
318
|
-
label: string | /**
|
|
319
|
-
* A string translated per language. Keys are language codes (e.g. `de`,
|
|
320
|
-
* `en-US`), matching the hyphen-only BCP-47 form epilot's i18n stack uses
|
|
321
|
-
* everywhere else: `^[a-z]{2,3}(-[A-Za-z0-9]+)*$`. The server enforces
|
|
322
|
-
* that with LANGUAGE_KEY_PATTERN in src/core/value-types.ts — the two are
|
|
323
|
-
* not otherwise linked. The pattern is documented rather than declared
|
|
324
|
-
* because `propertyNames` is JSON Schema / OAS 3.1 and this document is
|
|
325
|
-
* 3.0.3, where it fails `spectral lint` (oas3-schema).
|
|
326
|
-
*
|
|
327
|
-
*/
|
|
328
|
-
StringTranslations;
|
|
329
|
-
description?: string | /**
|
|
330
|
-
* A string translated per language. Keys are language codes (e.g. `de`,
|
|
331
|
-
* `en-US`), matching the hyphen-only BCP-47 form epilot's i18n stack uses
|
|
332
|
-
* everywhere else: `^[a-z]{2,3}(-[A-Za-z0-9]+)*$`. The server enforces
|
|
333
|
-
* that with LANGUAGE_KEY_PATTERN in src/core/value-types.ts — the two are
|
|
334
|
-
* not otherwise linked. The pattern is documented rather than declared
|
|
335
|
-
* because `propertyNames` is JSON Schema / OAS 3.1 and this document is
|
|
336
|
-
* 3.0.3, where it fails `spectral lint` (oas3-schema).
|
|
337
|
-
*
|
|
338
|
-
*/
|
|
339
|
-
StringTranslations;
|
|
340
|
-
}
|
|
341
249
|
/**
|
|
342
250
|
* One URL with a label and description a customer reads. `label` and
|
|
343
251
|
* `description` are each either a plain string or one string per language;
|
|
@@ -387,134 +295,6 @@ declare namespace Components {
|
|
|
387
295
|
StringTranslations;
|
|
388
296
|
fallbackLanguage?: string;
|
|
389
297
|
}
|
|
390
|
-
/**
|
|
391
|
-
* The element type a `List` holds — every value type except the
|
|
392
|
-
* containers. `Map` is already a keyed collection and a list of lists has
|
|
393
|
-
* no consumer. A list is exactly as client-safe and exactly as secret as
|
|
394
|
-
* its element type: a list of `SecretString` is encrypted per item and its
|
|
395
|
-
* value is never returned.
|
|
396
|
-
*
|
|
397
|
-
*/
|
|
398
|
-
export type ListItemType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "JSON" | "Link";
|
|
399
|
-
export interface ListOfBoolean {
|
|
400
|
-
itemType: "Boolean";
|
|
401
|
-
items: [
|
|
402
|
-
boolean,
|
|
403
|
-
...boolean[]
|
|
404
|
-
];
|
|
405
|
-
}
|
|
406
|
-
export interface ListOfJson {
|
|
407
|
-
itemType: "JSON";
|
|
408
|
-
items: [
|
|
409
|
-
{
|
|
410
|
-
[name: string]: any;
|
|
411
|
-
},
|
|
412
|
-
...{
|
|
413
|
-
[name: string]: any;
|
|
414
|
-
}[]
|
|
415
|
-
];
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
* A list of links. `fallbackLanguage` applies to every item's translated
|
|
419
|
-
* `label` and `description`; items may mix plain and translated fields
|
|
420
|
-
* freely, since a plain string is a complete answer for any language.
|
|
421
|
-
*
|
|
422
|
-
*/
|
|
423
|
-
export interface ListOfLink {
|
|
424
|
-
itemType: "Link";
|
|
425
|
-
fallbackLanguage?: string;
|
|
426
|
-
items: [
|
|
427
|
-
/**
|
|
428
|
-
* The fields of a link, without a fallback language — the shape a `List`
|
|
429
|
-
* item carries. Inside a list the fallback belongs to the wrapper, which
|
|
430
|
-
* owns the language tabs for every row.
|
|
431
|
-
*
|
|
432
|
-
* Restated rather than composed with `LinkValue`: `allOf` plus
|
|
433
|
-
* `additionalProperties: false` is rejected by most validators, because
|
|
434
|
-
* each branch sees the sibling's properties as unknown. zod composes
|
|
435
|
-
* properly — see LinkFieldsSchema in src/core/value-types.ts.
|
|
436
|
-
*
|
|
437
|
-
*/
|
|
438
|
-
LinkFields,
|
|
439
|
-
.../**
|
|
440
|
-
* The fields of a link, without a fallback language — the shape a `List`
|
|
441
|
-
* item carries. Inside a list the fallback belongs to the wrapper, which
|
|
442
|
-
* owns the language tabs for every row.
|
|
443
|
-
*
|
|
444
|
-
* Restated rather than composed with `LinkValue`: `allOf` plus
|
|
445
|
-
* `additionalProperties: false` is rejected by most validators, because
|
|
446
|
-
* each branch sees the sibling's properties as unknown. zod composes
|
|
447
|
-
* properly — see LinkFieldsSchema in src/core/value-types.ts.
|
|
448
|
-
*
|
|
449
|
-
*/
|
|
450
|
-
LinkFields[]
|
|
451
|
-
];
|
|
452
|
-
}
|
|
453
|
-
export interface ListOfNumber {
|
|
454
|
-
itemType: "Number";
|
|
455
|
-
items: [
|
|
456
|
-
number,
|
|
457
|
-
...number[]
|
|
458
|
-
];
|
|
459
|
-
}
|
|
460
|
-
/**
|
|
461
|
-
* Write-only in effect: the items are encrypted per item at rest and the
|
|
462
|
-
* whole value is omitted from every read response, exactly as a
|
|
463
|
-
* `SecretString` variable's value is. Read `item_type` to learn what a
|
|
464
|
-
* list holds when its value is withheld.
|
|
465
|
-
*
|
|
466
|
-
*/
|
|
467
|
-
export interface ListOfSecretString {
|
|
468
|
-
itemType: "SecretString";
|
|
469
|
-
items: [
|
|
470
|
-
string,
|
|
471
|
-
...string[]
|
|
472
|
-
];
|
|
473
|
-
}
|
|
474
|
-
export interface ListOfString {
|
|
475
|
-
itemType: "String";
|
|
476
|
-
items: [
|
|
477
|
-
string,
|
|
478
|
-
...string[]
|
|
479
|
-
];
|
|
480
|
-
}
|
|
481
|
-
export interface ListOfText {
|
|
482
|
-
itemType: "Text";
|
|
483
|
-
items: [
|
|
484
|
-
string,
|
|
485
|
-
...string[]
|
|
486
|
-
];
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* An ordered collection of one declared element type. Items round-trip in
|
|
490
|
-
* the order written; nothing sorts them. Holds at most 100 items.
|
|
491
|
-
*
|
|
492
|
-
* The whole value is limited to 32768 characters when serialised — the
|
|
493
|
-
* server enforces this, and it is not expressible per-property here.
|
|
494
|
-
*
|
|
495
|
-
*/
|
|
496
|
-
export type ListValue = /**
|
|
497
|
-
* An ordered collection of one declared element type. Items round-trip in
|
|
498
|
-
* the order written; nothing sorts them. Holds at most 100 items.
|
|
499
|
-
*
|
|
500
|
-
* The whole value is limited to 32768 characters when serialised — the
|
|
501
|
-
* server enforces this, and it is not expressible per-property here.
|
|
502
|
-
*
|
|
503
|
-
*/
|
|
504
|
-
ListOfText | ListOfNumber | ListOfBoolean | ListOfJson | /**
|
|
505
|
-
* A list of links. `fallbackLanguage` applies to every item's translated
|
|
506
|
-
* `label` and `description`; items may mix plain and translated fields
|
|
507
|
-
* freely, since a plain string is a complete answer for any language.
|
|
508
|
-
*
|
|
509
|
-
*/
|
|
510
|
-
ListOfLink | ListOfString | /**
|
|
511
|
-
* Write-only in effect: the items are encrypted per item at rest and the
|
|
512
|
-
* whole value is omitted from every read response, exactly as a
|
|
513
|
-
* `SecretString` variable's value is. Read `item_type` to learn what a
|
|
514
|
-
* list holds when its value is withheld.
|
|
515
|
-
*
|
|
516
|
-
*/
|
|
517
|
-
ListOfSecretString;
|
|
518
298
|
/**
|
|
519
299
|
* One entry of a Map. `key` is the token a journey submits; `value` is
|
|
520
300
|
* what the customer reads — either one string, or one string per
|
|
@@ -886,19 +666,9 @@ type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
|
|
|
886
666
|
type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
|
|
887
667
|
type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
888
668
|
type JsonValue = Components.Schemas.JsonValue;
|
|
889
|
-
type LinkFields = Components.Schemas.LinkFields;
|
|
890
669
|
type LinkValue = Components.Schemas.LinkValue;
|
|
891
|
-
type ListItemType = Components.Schemas.ListItemType;
|
|
892
|
-
type ListOfBoolean = Components.Schemas.ListOfBoolean;
|
|
893
|
-
type ListOfJson = Components.Schemas.ListOfJson;
|
|
894
|
-
type ListOfLink = Components.Schemas.ListOfLink;
|
|
895
|
-
type ListOfNumber = Components.Schemas.ListOfNumber;
|
|
896
|
-
type ListOfSecretString = Components.Schemas.ListOfSecretString;
|
|
897
|
-
type ListOfString = Components.Schemas.ListOfString;
|
|
898
|
-
type ListOfText = Components.Schemas.ListOfText;
|
|
899
|
-
type ListValue = Components.Schemas.ListValue;
|
|
900
670
|
type MapEntry = Components.Schemas.MapEntry;
|
|
901
671
|
type MapValue = Components.Schemas.MapValue;
|
|
902
672
|
type StringTranslations = Components.Schemas.StringTranslations;
|
|
903
673
|
|
|
904
|
-
export { type Client as C, type EnvironmentGroup as E, type JsonValue as J, type
|
|
674
|
+
export { type Client as C, type EnvironmentGroup as E, type JsonValue as J, type LinkValue as L, 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 _chunkWOUASZJWcjs = require('./chunk-WOUASZJW.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunkELW4V3IDcjs = require('./chunk-ELW4V3ID.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 = _chunkELW4V3IDcjs.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) => _chunkELW4V3IDcjs.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 _chunkELW4V3IDcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkELW4V3IDcjs.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) => _chunkELW4V3IDcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkELW4V3IDcjs.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 = _chunkELW4V3IDcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkELW4V3IDcjs.help; exports.openapi = _chunkELW4V3IDcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -25,11 +25,11 @@ 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
26
|
import { C as Client$k } from './entity.d-GfKqzFGA.cjs';
|
|
27
27
|
import { C as Client$l } from './entity-mapping.d-CQv75o8M.cjs';
|
|
28
|
-
import { C as Client$m } from './environments.d-
|
|
28
|
+
import { C as Client$m } from './environments.d-C_BTxz4W.cjs';
|
|
29
29
|
import { C as Client$n } from './event-catalog.d-CCE1qmBN.cjs';
|
|
30
30
|
import { C as Client$o } from './file.d-DELNV63w.cjs';
|
|
31
31
|
import { C as Client$p } from './iban.d-BwdiGbxi.cjs';
|
|
32
|
-
import { C as Client$q } from './integration-toolkit.d-
|
|
32
|
+
import { C as Client$q } from './integration-toolkit.d-bhpB79pc.cjs';
|
|
33
33
|
import { C as Client$r } from './journey.d-6Bs1uNLT.cjs';
|
|
34
34
|
import { C as Client$s } from './kanban.d-BHnSRCYW.cjs';
|
|
35
35
|
import { C as Client$t } from './message.d-DwnqO-Us.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -25,11 +25,11 @@ 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
26
|
import { C as Client$k } from './entity.d-GfKqzFGA.js';
|
|
27
27
|
import { C as Client$l } from './entity-mapping.d-CQv75o8M.js';
|
|
28
|
-
import { C as Client$m } from './environments.d-
|
|
28
|
+
import { C as Client$m } from './environments.d-C_BTxz4W.js';
|
|
29
29
|
import { C as Client$n } from './event-catalog.d-CCE1qmBN.js';
|
|
30
30
|
import { C as Client$o } from './file.d-DELNV63w.js';
|
|
31
31
|
import { C as Client$p } from './iban.d-BwdiGbxi.js';
|
|
32
|
-
import { C as Client$q } from './integration-toolkit.d-
|
|
32
|
+
import { C as Client$q } from './integration-toolkit.d-bhpB79pc.js';
|
|
33
33
|
import { C as Client$r } from './journey.d-6Bs1uNLT.js';
|
|
34
34
|
import { C as Client$s } from './kanban.d-BHnSRCYW.js';
|
|
35
35
|
import { C as Client$t } from './message.d-DwnqO-Us.js';
|