@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.
Files changed (137) hide show
  1. package/definitions/entity-mapping.json +189 -2
  2. package/definitions/environments.json +37 -46
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/configuration-hub.cjs +6 -6
  24. package/dist/apis/configuration-hub.js +1 -1
  25. package/dist/apis/consent.cjs +6 -6
  26. package/dist/apis/consent.js +1 -1
  27. package/dist/apis/customer-portal.cjs +6 -6
  28. package/dist/apis/customer-portal.js +1 -1
  29. package/dist/apis/dashboard.cjs +6 -6
  30. package/dist/apis/dashboard.js +1 -1
  31. package/dist/apis/data-governance.cjs +6 -6
  32. package/dist/apis/data-governance.js +1 -1
  33. package/dist/apis/deduplication.cjs +6 -6
  34. package/dist/apis/deduplication.js +1 -1
  35. package/dist/apis/design.cjs +6 -6
  36. package/dist/apis/design.js +1 -1
  37. package/dist/apis/document.cjs +6 -6
  38. package/dist/apis/document.js +1 -1
  39. package/dist/apis/email-settings.cjs +6 -6
  40. package/dist/apis/email-settings.js +1 -1
  41. package/dist/apis/email-template.cjs +6 -6
  42. package/dist/apis/email-template.js +1 -1
  43. package/dist/apis/entity-mapping.cjs +6 -6
  44. package/dist/apis/entity-mapping.d.cts +2 -2
  45. package/dist/apis/entity-mapping.d.ts +2 -2
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +23 -6
  48. package/dist/apis/entity.d.cts +16 -3
  49. package/dist/apis/entity.d.ts +16 -3
  50. package/dist/apis/entity.js +18 -1
  51. package/dist/apis/environments.cjs +6 -6
  52. package/dist/apis/environments.d.cts +2 -2
  53. package/dist/apis/environments.d.ts +2 -2
  54. package/dist/apis/environments.js +1 -1
  55. package/dist/apis/event-catalog.cjs +6 -6
  56. package/dist/apis/event-catalog.js +1 -1
  57. package/dist/apis/file.cjs +6 -6
  58. package/dist/apis/file.js +1 -1
  59. package/dist/apis/iban.cjs +6 -6
  60. package/dist/apis/iban.js +1 -1
  61. package/dist/apis/integration-toolkit.cjs +6 -6
  62. package/dist/apis/integration-toolkit.js +1 -1
  63. package/dist/apis/journey.cjs +6 -6
  64. package/dist/apis/journey.js +1 -1
  65. package/dist/apis/kanban.cjs +6 -6
  66. package/dist/apis/kanban.js +1 -1
  67. package/dist/apis/message.cjs +6 -6
  68. package/dist/apis/message.js +1 -1
  69. package/dist/apis/metering.cjs +6 -6
  70. package/dist/apis/metering.js +1 -1
  71. package/dist/apis/notes.cjs +6 -6
  72. package/dist/apis/notes.js +1 -1
  73. package/dist/apis/notification.cjs +6 -6
  74. package/dist/apis/notification.js +1 -1
  75. package/dist/apis/organization.cjs +6 -6
  76. package/dist/apis/organization.js +1 -1
  77. package/dist/apis/partner-directory.cjs +6 -6
  78. package/dist/apis/partner-directory.js +1 -1
  79. package/dist/apis/permissions.cjs +6 -6
  80. package/dist/apis/permissions.js +1 -1
  81. package/dist/apis/pricing-tier.cjs +6 -6
  82. package/dist/apis/pricing-tier.js +1 -1
  83. package/dist/apis/pricing.cjs +50 -6
  84. package/dist/apis/pricing.d.cts +40 -1
  85. package/dist/apis/pricing.d.ts +40 -1
  86. package/dist/apis/pricing.js +45 -1
  87. package/dist/apis/purpose.cjs +6 -6
  88. package/dist/apis/purpose.js +1 -1
  89. package/dist/apis/query.cjs +6 -6
  90. package/dist/apis/query.js +1 -1
  91. package/dist/apis/sandbox.cjs +6 -6
  92. package/dist/apis/sandbox.js +1 -1
  93. package/dist/apis/sharing.cjs +6 -6
  94. package/dist/apis/sharing.js +1 -1
  95. package/dist/apis/snapshot.cjs +6 -6
  96. package/dist/apis/snapshot.js +1 -1
  97. package/dist/apis/submission.cjs +6 -6
  98. package/dist/apis/submission.js +1 -1
  99. package/dist/apis/target.cjs +6 -6
  100. package/dist/apis/target.js +1 -1
  101. package/dist/apis/targeting.cjs +6 -6
  102. package/dist/apis/targeting.js +1 -1
  103. package/dist/apis/template-variables.cjs +6 -6
  104. package/dist/apis/template-variables.js +1 -1
  105. package/dist/apis/user.cjs +6 -6
  106. package/dist/apis/user.js +1 -1
  107. package/dist/apis/validation-rules.cjs +6 -6
  108. package/dist/apis/validation-rules.js +1 -1
  109. package/dist/apis/webhooks.cjs +6 -6
  110. package/dist/apis/webhooks.js +1 -1
  111. package/dist/apis/workflow-definition.cjs +6 -6
  112. package/dist/apis/workflow-definition.js +1 -1
  113. package/dist/apis/workflow.cjs +6 -6
  114. package/dist/apis/workflow.js +1 -1
  115. package/dist/{chunk-M2O7H6A2.js → chunk-HS4W3GY7.js} +2 -2
  116. package/dist/{chunk-5VKNAAXI.cjs → chunk-YZ2YWRG7.cjs} +2 -2
  117. package/dist/entity-mapping-D67LJE74.js +7 -0
  118. package/dist/entity-mapping-WFPSOXRK.cjs +7 -0
  119. package/dist/{entity-mapping.d-DKSW3sfy.d.ts → entity-mapping.d-CQv75o8M.d.cts} +196 -3
  120. package/dist/{entity-mapping.d-DKSW3sfy.d.cts → entity-mapping.d-CQv75o8M.d.ts} +196 -3
  121. package/dist/{entity.d-C3WddgVt.d.cts → entity.d-CkFElDWZ.d.cts} +1 -1
  122. package/dist/{entity.d-C3WddgVt.d.ts → entity.d-CkFElDWZ.d.ts} +1 -1
  123. package/dist/environments-4YS2MZ3G.js +7 -0
  124. package/dist/environments-EJSSTDDU.cjs +7 -0
  125. package/dist/{environments.d-840_mC07.d.ts → environments.d-DVgvq0wo.d.cts} +59 -28
  126. package/dist/{environments.d-840_mC07.d.cts → environments.d-DVgvq0wo.d.ts} +59 -28
  127. package/dist/index.cjs +8 -8
  128. package/dist/index.d.cts +3 -3
  129. package/dist/index.d.ts +3 -3
  130. package/dist/index.js +1 -1
  131. package/docs/entity-mapping.md +354 -852
  132. package/docs/environments.md +42 -45
  133. package/package.json +1 -1
  134. package/dist/entity-mapping-7J3IAGKQ.js +0 -7
  135. package/dist/entity-mapping-ZNMFCUKK.cjs +0 -7
  136. package/dist/environments-JP2CPDH2.cjs +0 -7
  137. 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 `Options` is an object. Numbers are IEEE 754
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 `Options` is an object. Numbers are IEEE 754
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 | OptionsValue;
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 `Options` may be
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" | "Options";
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 `Options` may be
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 | OptionsValue;
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 `Options` may be
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 `Options` is an object. Numbers are IEEE 754
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 `Options` may be
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 | OptionsValue;
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" | "Options";
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 `Options` is an object. Numbers are IEEE 754
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
- export interface OptionsValue {
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
- EnvironmentOption,
170
- ...EnvironmentOption[]
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 OptionsValue = Components.Schemas.OptionsValue;
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 EnvironmentOption as e, type EnvironmentValue as f, type EnvironmentValueType as g, type EnvironmentVariable as h, type EnvironmentVariableCreateRequest as i, type EnvironmentVariableList as j, type EnvironmentVariableListItem as k, type EnvironmentVariableUpdateRequest as l, type OptionsValue as m };
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 `Options` is an object. Numbers are IEEE 754
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 `Options` is an object. Numbers are IEEE 754
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 | OptionsValue;
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 `Options` may be
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" | "Options";
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 `Options` may be
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 | OptionsValue;
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 `Options` may be
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 `Options` is an object. Numbers are IEEE 754
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 `Options` may be
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 | OptionsValue;
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" | "Options";
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 `Options` is an object. Numbers are IEEE 754
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
- export interface OptionsValue {
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
- EnvironmentOption,
170
- ...EnvironmentOption[]
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 OptionsValue = Components.Schemas.OptionsValue;
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 EnvironmentOption as e, type EnvironmentValue as f, type EnvironmentValueType as g, type EnvironmentVariable as h, type EnvironmentVariableCreateRequest as i, type EnvironmentVariableList as j, type EnvironmentVariableListItem as k, type EnvironmentVariableUpdateRequest as l, type OptionsValue as m };
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 _chunk5VKNAAXIcjs = require('./chunk-5VKNAAXI.cjs');
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 = _chunk5VKNAAXIcjs.createApiClient.call(void 0, {
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) => _chunk5VKNAAXIcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( 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 _chunk5VKNAAXIcjs.createApiHandle.call(void 0, {
604
+ return _chunkYZ2YWRG7cjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunk5VKNAAXIcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
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) => _chunk5VKNAAXIcjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkYZ2YWRG7cjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunk5VKNAAXIcjs.openapi.call(void 0, 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 = _chunk5VKNAAXIcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunk5VKNAAXIcjs.help; exports.openapi = _chunk5VKNAAXIcjs.openapi;
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-C3WddgVt.cjs';
27
- import { C as Client$l } from './entity-mapping.d-DKSW3sfy.cjs';
28
- import { C as Client$m } from './environments.d-840_mC07.cjs';
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-C3WddgVt.js';
27
- import { C as Client$l } from './entity-mapping.d-DKSW3sfy.js';
28
- import { C as Client$m } from './environments.d-840_mC07.js';
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';
package/dist/index.js CHANGED
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-M2O7H6A2.js";
161
+ } from "./chunk-HS4W3GY7.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";