@epilot/sdk 2.19.12 → 2.19.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 +37 -46
- package/definitions/journey-runtime.json +1 -1
- package/definitions/journey.json +346 -26
- 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 +15 -6
- package/dist/apis/entity.d.cts +9 -3
- package/dist/apis/entity.d.ts +9 -3
- package/dist/apis/entity.js +10 -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 +8 -8
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +2 -2
- 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 +23 -6
- package/dist/apis/pricing.d.cts +9 -1
- package/dist/apis/pricing.d.ts +9 -1
- package/dist/apis/pricing.js +18 -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-2AZIGIR2.cjs → chunk-E4NQOOA3.cjs} +3 -3
- package/dist/{chunk-X3SRAHIZ.js → chunk-G5HHIB4D.js} +3 -3
- package/dist/chunk-HP7PHGTJ.js +14 -0
- package/dist/chunk-T5KE6FXF.cjs +14 -0
- 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.cts → environments.d-DVgvq0wo.d.cts} +59 -28
- package/dist/{environments.d-840_mC07.d.ts → environments.d-DVgvq0wo.d.ts} +59 -28
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/journey-JS7SZKNJ.js +7 -0
- package/dist/journey-N7HRM2JJ.cjs +7 -0
- package/dist/{journey-runtime-G2O5C3N2.cjs → journey-runtime-JICGEAMK.cjs} +2 -2
- package/dist/{journey-runtime-RI2LJO5S.js → journey-runtime-WGTU2NGN.js} +1 -1
- package/dist/{journey.d-B1sOeMHw.d.cts → journey.d-B0Ju_TOw.d.cts} +778 -37
- package/dist/{journey.d-B1sOeMHw.d.ts → journey.d-B0Ju_TOw.d.ts} +778 -37
- package/docs/environments.md +42 -45
- package/docs/journey.md +296 -100
- package/package.json +1 -1
- package/dist/chunk-JOUTFBLN.js +0 -14
- package/dist/chunk-LAWKCWVU.cjs +0 -14
- package/dist/environments-JP2CPDH2.cjs +0 -7
- package/dist/environments-PGRMZY5G.js +0 -7
- package/dist/journey-LHVSSVTG.cjs +0 -7
- package/dist/journey-NXL264XW.js +0 -7
package/docs/environments.md
CHANGED
|
@@ -36,8 +36,9 @@ const { data } = await environmentsClient.listEnvironmentVariables(...)
|
|
|
36
36
|
|
|
37
37
|
**Schemas**
|
|
38
38
|
- [`EnvironmentValueType`](#environmentvaluetype)
|
|
39
|
-
- [`
|
|
40
|
-
- [`
|
|
39
|
+
- [`StringTranslations`](#stringtranslations)
|
|
40
|
+
- [`MapEntry`](#mapentry)
|
|
41
|
+
- [`MapValue`](#mapvalue)
|
|
41
42
|
- [`EnvironmentValue`](#environmentvalue)
|
|
42
43
|
- [`EnvironmentVariable`](#environmentvariable)
|
|
43
44
|
- [`EnvironmentVariableListItem`](#environmentvariablelistitem)
|
|
@@ -291,37 +292,48 @@ const { data } = await client.deleteEnvironmentVariable({
|
|
|
291
292
|
### `EnvironmentValueType`
|
|
292
293
|
|
|
293
294
|
The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
294
|
-
its value is never returned. `Text`, `Number`, `Boolean` and `
|
|
295
|
+
its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
|
|
295
296
|
served to browser-facing consumers; `String` and `SecretString` may not.
|
|
296
297
|
|
|
297
298
|
|
|
298
299
|
```ts
|
|
299
|
-
type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
300
|
+
type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
|
|
300
301
|
```
|
|
301
302
|
|
|
302
|
-
### `
|
|
303
|
+
### `StringTranslations`
|
|
304
|
+
|
|
305
|
+
A string translated per language. Keys are language codes (e.g. `de`,
|
|
306
|
+
`en-US`), matching the hyphen-only BCP-47 form epilot's i18n stack uses
|
|
307
|
+
everywhere else. Must match LANGUAGE_KEY_PATTERN in
|
|
308
|
+
src/core/value-types.ts — the two are not otherwise linked.
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
```ts
|
|
312
|
+
type StringTranslations = Record<string, string>
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### `MapEntry`
|
|
316
|
+
|
|
317
|
+
One entry of a Map. `key` is the token a journey submits; `value` is
|
|
318
|
+
what the customer reads — either one string, or one string per
|
|
319
|
+
language. Every entry of a Map must agree on which of the two it uses.
|
|
320
|
+
|
|
303
321
|
|
|
304
322
|
```ts
|
|
305
|
-
type
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
} | {
|
|
309
|
-
value: string
|
|
310
|
-
labels: Record<string, string>
|
|
323
|
+
type MapEntry = {
|
|
324
|
+
key: string
|
|
325
|
+
value: string | Record<string, string>
|
|
311
326
|
}
|
|
312
327
|
```
|
|
313
328
|
|
|
314
|
-
### `
|
|
329
|
+
### `MapValue`
|
|
315
330
|
|
|
316
331
|
```ts
|
|
317
|
-
type
|
|
332
|
+
type MapValue = {
|
|
318
333
|
fallbackLanguage?: string
|
|
319
334
|
options: Array<{
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
} | {
|
|
323
|
-
value: string
|
|
324
|
-
labels: Record<string, string>
|
|
335
|
+
key: string
|
|
336
|
+
value: string | Record<string, string>
|
|
325
337
|
}>
|
|
326
338
|
}
|
|
327
339
|
```
|
|
@@ -330,7 +342,7 @@ type OptionsValue = {
|
|
|
330
342
|
|
|
331
343
|
A variable's value. The JSON type corresponds to the variable's `type`:
|
|
332
344
|
`String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
333
|
-
`Boolean` is a boolean, and `
|
|
345
|
+
`Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
|
|
334
346
|
doubles; integers above 2^53 may lose precision on round-trip.
|
|
335
347
|
|
|
336
348
|
|
|
@@ -338,11 +350,8 @@ doubles; integers above 2^53 may lose precision on round-trip.
|
|
|
338
350
|
type EnvironmentValue = string | number | boolean | {
|
|
339
351
|
fallbackLanguage?: string
|
|
340
352
|
options: Array<{
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
} | {
|
|
344
|
-
value: string
|
|
345
|
-
labels: Record<string, string>
|
|
353
|
+
key: string
|
|
354
|
+
value: string | Record<string, string>
|
|
346
355
|
}>
|
|
347
356
|
}
|
|
348
357
|
```
|
|
@@ -352,17 +361,14 @@ type EnvironmentValue = string | number | boolean | {
|
|
|
352
361
|
```ts
|
|
353
362
|
type EnvironmentVariable = {
|
|
354
363
|
key: string
|
|
355
|
-
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
364
|
+
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
|
|
356
365
|
description?: string
|
|
357
366
|
group?: string
|
|
358
367
|
value?: string | number | boolean | {
|
|
359
368
|
fallbackLanguage?: string
|
|
360
369
|
options: Array<{
|
|
370
|
+
key: { ... }
|
|
361
371
|
value: { ... }
|
|
362
|
-
label: { ... }
|
|
363
|
-
} | {
|
|
364
|
-
value: { ... }
|
|
365
|
-
labels: { ... }
|
|
366
372
|
}>
|
|
367
373
|
}
|
|
368
374
|
protected?: boolean
|
|
@@ -376,17 +382,14 @@ type EnvironmentVariable = {
|
|
|
376
382
|
```ts
|
|
377
383
|
type EnvironmentVariableListItem = {
|
|
378
384
|
key: string
|
|
379
|
-
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
385
|
+
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
|
|
380
386
|
description?: string
|
|
381
387
|
group?: string
|
|
382
388
|
value?: string | number | boolean | {
|
|
383
389
|
fallbackLanguage?: string
|
|
384
390
|
options: Array<{
|
|
391
|
+
key: { ... }
|
|
385
392
|
value: { ... }
|
|
386
|
-
label: { ... }
|
|
387
|
-
} | {
|
|
388
|
-
value: { ... }
|
|
389
|
-
labels: { ... }
|
|
390
393
|
}>
|
|
391
394
|
}
|
|
392
395
|
protected?: boolean
|
|
@@ -401,7 +404,7 @@ type EnvironmentVariableListItem = {
|
|
|
401
404
|
type EnvironmentVariableList = {
|
|
402
405
|
items: Array<{
|
|
403
406
|
key: string
|
|
404
|
-
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
407
|
+
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
|
|
405
408
|
description?: string
|
|
406
409
|
group?: string
|
|
407
410
|
value?: string | number | boolean | {
|
|
@@ -420,17 +423,14 @@ type EnvironmentVariableList = {
|
|
|
420
423
|
```ts
|
|
421
424
|
type EnvironmentVariableCreateRequest = {
|
|
422
425
|
key: string
|
|
423
|
-
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
426
|
+
type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
|
|
424
427
|
description?: string
|
|
425
428
|
group?: string
|
|
426
429
|
value?: string | number | boolean | {
|
|
427
430
|
fallbackLanguage?: string
|
|
428
431
|
options: Array<{
|
|
432
|
+
key: { ... }
|
|
429
433
|
value: { ... }
|
|
430
|
-
label: { ... }
|
|
431
|
-
} | {
|
|
432
|
-
value: { ... }
|
|
433
|
-
labels: { ... }
|
|
434
434
|
}>
|
|
435
435
|
}
|
|
436
436
|
protected?: boolean
|
|
@@ -441,15 +441,12 @@ type EnvironmentVariableCreateRequest = {
|
|
|
441
441
|
|
|
442
442
|
```ts
|
|
443
443
|
type EnvironmentVariableUpdateRequest = {
|
|
444
|
-
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "
|
|
444
|
+
type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
|
|
445
445
|
value?: string | number | boolean | {
|
|
446
446
|
fallbackLanguage?: string
|
|
447
447
|
options: Array<{
|
|
448
|
+
key: { ... }
|
|
448
449
|
value: { ... }
|
|
449
|
-
label: { ... }
|
|
450
|
-
} | {
|
|
451
|
-
value: { ... }
|
|
452
|
-
labels: { ... }
|
|
453
450
|
}>
|
|
454
451
|
}
|
|
455
452
|
description?: string
|