@epilot/sdk 2.20.49 → 2.20.51

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 (169) hide show
  1. package/README.md +1 -0
  2. package/definitions/external-values-runtime.json +1 -0
  3. package/definitions/external-values.json +450 -0
  4. package/definitions/journey-runtime.json +1 -1
  5. package/definitions/journey.json +356 -10
  6. package/definitions/pricing-runtime.json +1 -1
  7. package/definitions/pricing.json +949 -130
  8. package/dist/README-B6X6BXAW.cjs +7 -0
  9. package/dist/README-LE2VBY2Y.js +7 -0
  10. package/dist/{_index-UWRY3DNX.cjs → _index-DEYTKG4Z.cjs} +4 -1
  11. package/dist/{_index-UBUNWMRP.js → _index-HL3HOTXB.js} +3 -0
  12. package/dist/apis/access-token.cjs +6 -6
  13. package/dist/apis/access-token.js +1 -1
  14. package/dist/apis/address-suggestions.cjs +6 -6
  15. package/dist/apis/address-suggestions.js +1 -1
  16. package/dist/apis/address.cjs +6 -6
  17. package/dist/apis/address.js +1 -1
  18. package/dist/apis/ai-agents.cjs +6 -6
  19. package/dist/apis/ai-agents.js +1 -1
  20. package/dist/apis/app.cjs +6 -6
  21. package/dist/apis/app.js +1 -1
  22. package/dist/apis/audit-logs.cjs +6 -6
  23. package/dist/apis/audit-logs.js +1 -1
  24. package/dist/apis/automation.cjs +6 -6
  25. package/dist/apis/automation.js +1 -1
  26. package/dist/apis/billing.cjs +6 -6
  27. package/dist/apis/billing.js +1 -1
  28. package/dist/apis/blueprint-manifest.cjs +6 -6
  29. package/dist/apis/blueprint-manifest.js +1 -1
  30. package/dist/apis/calendar.cjs +6 -6
  31. package/dist/apis/calendar.js +1 -1
  32. package/dist/apis/chat.cjs +6 -6
  33. package/dist/apis/chat.js +1 -1
  34. package/dist/apis/configuration-hub.cjs +6 -6
  35. package/dist/apis/configuration-hub.js +1 -1
  36. package/dist/apis/consent.cjs +6 -6
  37. package/dist/apis/consent.js +1 -1
  38. package/dist/apis/customer-portal.cjs +6 -6
  39. package/dist/apis/customer-portal.js +1 -1
  40. package/dist/apis/dashboard.cjs +6 -6
  41. package/dist/apis/dashboard.js +1 -1
  42. package/dist/apis/data-governance.cjs +6 -6
  43. package/dist/apis/data-governance.js +1 -1
  44. package/dist/apis/deduplication.cjs +6 -6
  45. package/dist/apis/deduplication.js +1 -1
  46. package/dist/apis/design.cjs +6 -6
  47. package/dist/apis/design.js +1 -1
  48. package/dist/apis/document.cjs +6 -6
  49. package/dist/apis/document.js +1 -1
  50. package/dist/apis/email-settings.cjs +6 -6
  51. package/dist/apis/email-settings.js +1 -1
  52. package/dist/apis/email-template.cjs +6 -6
  53. package/dist/apis/email-template.js +1 -1
  54. package/dist/apis/entity-mapping.cjs +6 -6
  55. package/dist/apis/entity-mapping.js +1 -1
  56. package/dist/apis/entity.cjs +6 -6
  57. package/dist/apis/entity.js +1 -1
  58. package/dist/apis/environments.cjs +6 -6
  59. package/dist/apis/environments.js +1 -1
  60. package/dist/apis/event-catalog.cjs +6 -6
  61. package/dist/apis/event-catalog.js +1 -1
  62. package/dist/apis/external-values.cjs +38 -0
  63. package/dist/apis/external-values.d.cts +18 -0
  64. package/dist/apis/external-values.d.ts +18 -0
  65. package/dist/apis/external-values.js +38 -0
  66. package/dist/apis/file.cjs +6 -6
  67. package/dist/apis/file.js +1 -1
  68. package/dist/apis/iban.cjs +6 -6
  69. package/dist/apis/iban.js +1 -1
  70. package/dist/apis/identity.cjs +6 -6
  71. package/dist/apis/identity.js +1 -1
  72. package/dist/apis/integration-toolkit.cjs +6 -6
  73. package/dist/apis/integration-toolkit.js +1 -1
  74. package/dist/apis/journey.cjs +8 -8
  75. package/dist/apis/journey.d.cts +2 -2
  76. package/dist/apis/journey.d.ts +2 -2
  77. package/dist/apis/journey.js +2 -2
  78. package/dist/apis/kanban.cjs +6 -6
  79. package/dist/apis/kanban.js +1 -1
  80. package/dist/apis/message.cjs +6 -6
  81. package/dist/apis/message.js +1 -1
  82. package/dist/apis/metering.cjs +6 -6
  83. package/dist/apis/metering.js +1 -1
  84. package/dist/apis/notes.cjs +6 -6
  85. package/dist/apis/notes.js +1 -1
  86. package/dist/apis/notification.cjs +6 -6
  87. package/dist/apis/notification.js +1 -1
  88. package/dist/apis/organization.cjs +6 -6
  89. package/dist/apis/organization.js +1 -1
  90. package/dist/apis/partner-directory.cjs +6 -6
  91. package/dist/apis/partner-directory.js +1 -1
  92. package/dist/apis/permissions.cjs +6 -6
  93. package/dist/apis/permissions.js +1 -1
  94. package/dist/apis/pricing-tier.cjs +6 -6
  95. package/dist/apis/pricing-tier.js +1 -1
  96. package/dist/apis/pricing.cjs +8 -8
  97. package/dist/apis/pricing.d.cts +2 -2
  98. package/dist/apis/pricing.d.ts +2 -2
  99. package/dist/apis/pricing.js +2 -2
  100. package/dist/apis/purpose.cjs +6 -6
  101. package/dist/apis/purpose.js +1 -1
  102. package/dist/apis/query.cjs +6 -6
  103. package/dist/apis/query.js +1 -1
  104. package/dist/apis/sandbox.cjs +6 -6
  105. package/dist/apis/sandbox.js +1 -1
  106. package/dist/apis/sharing.cjs +6 -6
  107. package/dist/apis/sharing.js +1 -1
  108. package/dist/apis/snapshot.cjs +6 -6
  109. package/dist/apis/snapshot.js +1 -1
  110. package/dist/apis/submission.cjs +6 -6
  111. package/dist/apis/submission.js +1 -1
  112. package/dist/apis/target.cjs +6 -6
  113. package/dist/apis/target.js +1 -1
  114. package/dist/apis/targeting.cjs +6 -6
  115. package/dist/apis/targeting.js +1 -1
  116. package/dist/apis/template-variables.cjs +6 -6
  117. package/dist/apis/template-variables.js +1 -1
  118. package/dist/apis/user.cjs +6 -6
  119. package/dist/apis/user.js +1 -1
  120. package/dist/apis/validation-rules.cjs +6 -6
  121. package/dist/apis/validation-rules.js +1 -1
  122. package/dist/apis/webhooks.cjs +6 -6
  123. package/dist/apis/webhooks.js +1 -1
  124. package/dist/apis/workflow-definition.cjs +6 -6
  125. package/dist/apis/workflow-definition.js +1 -1
  126. package/dist/apis/workflow.cjs +6 -6
  127. package/dist/apis/workflow.js +1 -1
  128. package/dist/{chunk-B3CLGH23.js → chunk-3FRPGY3C.js} +8 -6
  129. package/dist/chunk-BU5DVOFF.cjs +14 -0
  130. package/dist/chunk-CMEMMJ3T.js +14 -0
  131. package/dist/{chunk-SJS5S6Z5.js → chunk-I3ZZES76.js} +1 -1
  132. package/dist/chunk-NC33X2WL.cjs +14 -0
  133. package/dist/{chunk-X7UJYAG5.cjs → chunk-QYHNZLHS.cjs} +1 -1
  134. package/dist/chunk-QZ3FPCEP.js +14 -0
  135. package/dist/{chunk-CFHQ2UJU.cjs → chunk-UVYQFUAO.cjs} +8 -6
  136. package/dist/external-values-DALDMPMB.js +7 -0
  137. package/dist/external-values-XG5LFKZQ.cjs +7 -0
  138. package/dist/external-values-runtime-BPR3H6RL.cjs +5 -0
  139. package/dist/external-values-runtime-VXZRGQCT.js +5 -0
  140. package/dist/external-values.d-DjP9C_-r.d.cts +391 -0
  141. package/dist/external-values.d-DjP9C_-r.d.ts +391 -0
  142. package/dist/index.cjs +26 -18
  143. package/dist/index.d.cts +58 -56
  144. package/dist/index.d.ts +58 -56
  145. package/dist/index.js +17 -9
  146. package/dist/journey-JDIVUY7T.cjs +7 -0
  147. package/dist/journey-PBOMOJ5G.js +7 -0
  148. package/dist/{journey-runtime-S5I3K4NH.js → journey-runtime-AQH7EG4C.js} +1 -1
  149. package/dist/{journey-runtime-BVSPJTYH.cjs → journey-runtime-KZUPV4XH.cjs} +2 -2
  150. package/dist/{journey.d-Dj93v-Lw.d.cts → journey.d-CMtM6U3Y.d.cts} +404 -15
  151. package/dist/{journey.d-Dj93v-Lw.d.ts → journey.d-CMtM6U3Y.d.ts} +404 -15
  152. package/dist/pricing-FYBJTHHN.js +7 -0
  153. package/dist/pricing-M2FG4LZ6.cjs +7 -0
  154. package/dist/{pricing-runtime-NMRZO6J4.cjs → pricing-runtime-PEAN7F5S.cjs} +2 -2
  155. package/dist/{pricing-runtime-MJAIO4AY.js → pricing-runtime-UDUM3AXP.js} +1 -1
  156. package/dist/{pricing.d-B3_8FPCM.d.cts → pricing.d-BMV5QoZ7.d.cts} +5039 -1447
  157. package/dist/{pricing.d-B3_8FPCM.d.ts → pricing.d-BMV5QoZ7.d.ts} +5039 -1447
  158. package/docs/external-values.md +330 -0
  159. package/docs/journey.md +234 -36
  160. package/docs/pricing.md +940 -126
  161. package/package.json +10 -1
  162. package/dist/README-OSHX3IVR.cjs +0 -7
  163. package/dist/README-ZSJDIPZZ.js +0 -7
  164. package/dist/chunk-7Q3JW72Y.js +0 -14
  165. package/dist/chunk-QLWDOKGE.cjs +0 -14
  166. package/dist/journey-IVIBYU5V.js +0 -7
  167. package/dist/journey-ZN46FFPM.cjs +0 -7
  168. package/dist/pricing-JAICFDO5.cjs +0 -7
  169. package/dist/pricing-MYZSVSGK.js +0 -7
@@ -0,0 +1,391 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from external-values-client */
4
+
5
+
6
+ declare namespace Components {
7
+ namespace Parameters {
8
+ export type AppId = string;
9
+ export type HookId = string; // ^[a-zA-Z0-9_-]{1,100}$
10
+ }
11
+ export interface PathParameters {
12
+ AppId?: Parameters.AppId;
13
+ HookId?: Parameters.HookId /* ^[a-zA-Z0-9_-]{1,100}$ */;
14
+ }
15
+ namespace Schemas {
16
+ export interface ExternalValueError {
17
+ /**
18
+ * Set for per-result errors; absent for hook-level failures
19
+ */
20
+ result_id?: string;
21
+ code: /**
22
+ * - `timeout`: the third-party call exceeded `timeout_ms`
23
+ * - `upstream_error`: the third-party call failed or returned a non-2xx status
24
+ * - `auth_failed`: the `auth` pre-call failed
25
+ * - `extraction_failed`: template/path/jsonata threw or yielded null / empty
26
+ * - `coercion_failed`: the extracted value could not be coerced to the result type
27
+ *
28
+ */
29
+ ExternalValueErrorCode;
30
+ message: string;
31
+ }
32
+ /**
33
+ * - `timeout`: the third-party call exceeded `timeout_ms`
34
+ * - `upstream_error`: the third-party call failed or returned a non-2xx status
35
+ * - `auth_failed`: the `auth` pre-call failed
36
+ * - `extraction_failed`: template/path/jsonata threw or yielded null / empty
37
+ * - `coercion_failed`: the extracted value could not be coerced to the result type
38
+ *
39
+ */
40
+ export type ExternalValueErrorCode = "timeout" | "upstream_error" | "auth_failed" | "extraction_failed" | "coercion_failed";
41
+ export interface ExternalValueHookList {
42
+ hooks: ExternalValueHookSummary[];
43
+ }
44
+ export interface ExternalValueHookSummary {
45
+ app_id: string;
46
+ app_name: string;
47
+ hook_id: string;
48
+ name: TranslatedString;
49
+ description?: TranslatedString;
50
+ results: ExternalValueResultSummary[];
51
+ }
52
+ export interface ExternalValueResultSummary {
53
+ id: string;
54
+ type: ExternalValueType;
55
+ name: TranslatedString;
56
+ }
57
+ export type ExternalValueType = "number" | "text" | "date" | "boolean";
58
+ /**
59
+ * example:
60
+ * {
61
+ * "context": {
62
+ * "input": "123,45",
63
+ * "contract": {
64
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
65
+ * "installment_amount": 110
66
+ * }
67
+ * },
68
+ * "consumer": {
69
+ * "type": "validation_rule",
70
+ * "rule_id": "6c0a9e1e-2f4b-4e6a-8f8e-2b2b2b2b2b2b"
71
+ * }
72
+ * }
73
+ */
74
+ export interface ResolveExternalValueRequest {
75
+ /**
76
+ * Everything the consumer supplies for interpolation, as one name → value map.
77
+ * Exposed to the hook's Liquid templates as `Context` / `context`, e.g.
78
+ * `{{ context.input }}`, `{{ context.contract.installment_amount }}`.
79
+ *
80
+ * The names are up to the consumer; this API does not interpret them. By
81
+ * convention the journey runtime passes the validated value of a validation
82
+ * rule as `input` and every configured context binding under its own name.
83
+ *
84
+ */
85
+ context: {
86
+ [name: string]: any;
87
+ };
88
+ /**
89
+ * Who is resolving the value. Forwarded to the hook as `Consumer`.
90
+ */
91
+ consumer?: {
92
+ [name: string]: any;
93
+ /**
94
+ * example:
95
+ * validation_rule
96
+ */
97
+ type?: string;
98
+ rule_id?: string;
99
+ journey_id?: string;
100
+ };
101
+ }
102
+ /**
103
+ * example:
104
+ * {
105
+ * "values": {
106
+ * "predicted": 132
107
+ * },
108
+ * "errors": [
109
+ * {
110
+ * "result_id": "limit",
111
+ * "code": "coercion_failed",
112
+ * "message": "Cannot coerce \"n/a\" to number"
113
+ * }
114
+ * ],
115
+ * "policy": {
116
+ * "on_unavailable": "skip"
117
+ * }
118
+ * }
119
+ */
120
+ export interface ResolveExternalValueResponse {
121
+ /**
122
+ * Successfully extracted and coerced results, keyed by result id
123
+ */
124
+ values: {
125
+ [name: string]: number | string | boolean;
126
+ };
127
+ errors: ExternalValueError[];
128
+ policy: {
129
+ /**
130
+ * What the consumer should do when the values are unavailable
131
+ */
132
+ on_unavailable: "skip" | "block";
133
+ };
134
+ /**
135
+ * True when `values` were served from the hook's result cache
136
+ */
137
+ cached?: boolean;
138
+ }
139
+ export interface TranslatedString {
140
+ /**
141
+ * German translation
142
+ */
143
+ de: string;
144
+ /**
145
+ * English translation
146
+ */
147
+ en?: string | null;
148
+ }
149
+ }
150
+ }
151
+ declare namespace Paths {
152
+ namespace ListExternalValues {
153
+ namespace Responses {
154
+ export type $200 = Components.Schemas.ExternalValueHookList;
155
+ export interface $401 {
156
+ }
157
+ export interface $403 {
158
+ }
159
+ export interface $500 {
160
+ }
161
+ }
162
+ }
163
+ namespace ResolveExternalValue {
164
+ export type RequestBody = /**
165
+ * example:
166
+ * {
167
+ * "context": {
168
+ * "input": "123,45",
169
+ * "contract": {
170
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
171
+ * "installment_amount": 110
172
+ * }
173
+ * },
174
+ * "consumer": {
175
+ * "type": "validation_rule",
176
+ * "rule_id": "6c0a9e1e-2f4b-4e6a-8f8e-2b2b2b2b2b2b"
177
+ * }
178
+ * }
179
+ */
180
+ Components.Schemas.ResolveExternalValueRequest;
181
+ namespace Responses {
182
+ export type $200 = /**
183
+ * example:
184
+ * {
185
+ * "values": {
186
+ * "predicted": 132
187
+ * },
188
+ * "errors": [
189
+ * {
190
+ * "result_id": "limit",
191
+ * "code": "coercion_failed",
192
+ * "message": "Cannot coerce \"n/a\" to number"
193
+ * }
194
+ * ],
195
+ * "policy": {
196
+ * "on_unavailable": "skip"
197
+ * }
198
+ * }
199
+ */
200
+ Components.Schemas.ResolveExternalValueResponse;
201
+ export interface $400 {
202
+ }
203
+ export interface $401 {
204
+ }
205
+ export interface $403 {
206
+ }
207
+ export interface $404 {
208
+ }
209
+ export interface $422 {
210
+ }
211
+ export interface $500 {
212
+ }
213
+ }
214
+ }
215
+ namespace ResolvePortalExternalValue {
216
+ export type RequestBody = /**
217
+ * example:
218
+ * {
219
+ * "context": {
220
+ * "input": "123,45",
221
+ * "contract": {
222
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
223
+ * "installment_amount": 110
224
+ * }
225
+ * },
226
+ * "consumer": {
227
+ * "type": "validation_rule",
228
+ * "rule_id": "6c0a9e1e-2f4b-4e6a-8f8e-2b2b2b2b2b2b"
229
+ * }
230
+ * }
231
+ */
232
+ Components.Schemas.ResolveExternalValueRequest;
233
+ namespace Responses {
234
+ export type $200 = /**
235
+ * example:
236
+ * {
237
+ * "values": {
238
+ * "predicted": 132
239
+ * },
240
+ * "errors": [
241
+ * {
242
+ * "result_id": "limit",
243
+ * "code": "coercion_failed",
244
+ * "message": "Cannot coerce \"n/a\" to number"
245
+ * }
246
+ * ],
247
+ * "policy": {
248
+ * "on_unavailable": "skip"
249
+ * }
250
+ * }
251
+ */
252
+ Components.Schemas.ResolveExternalValueResponse;
253
+ export interface $400 {
254
+ }
255
+ export interface $401 {
256
+ }
257
+ export interface $403 {
258
+ }
259
+ export interface $404 {
260
+ }
261
+ export interface $422 {
262
+ }
263
+ export interface $500 {
264
+ }
265
+ }
266
+ }
267
+ namespace V1ExternalValues$AppIdHooks$HookIdResolve {
268
+ namespace Parameters {
269
+ export type $0 = Components.Parameters.AppId;
270
+ export type $1 = Components.Parameters.HookId /* ^[a-zA-Z0-9_-]{1,100}$ */;
271
+ }
272
+ }
273
+ namespace V1PortalExternalValues$AppIdHooks$HookIdResolve {
274
+ namespace Parameters {
275
+ export type $0 = Components.Parameters.AppId;
276
+ export type $1 = Components.Parameters.HookId /* ^[a-zA-Z0-9_-]{1,100}$ */;
277
+ }
278
+ }
279
+ }
280
+
281
+
282
+ interface OperationMethods {
283
+ /**
284
+ * listExternalValues - listExternalValues
285
+ *
286
+ * List hooks and their results of all enabled installed apps that declare an
287
+ * `EXTERNAL_VALUES` component. Intended for pickers (e.g. the validation-rules builder).
288
+ *
289
+ */
290
+ 'listExternalValues'(
291
+ parameters?: Parameters<UnknownParamsObject> | null,
292
+ data?: any,
293
+ config?: AxiosRequestConfig
294
+ ): OperationResponse<Paths.ListExternalValues.Responses.$200>
295
+ /**
296
+ * resolveExternalValue - resolveExternalValue
297
+ *
298
+ * Resolve an external value hook for an epilot 360 user (builder preview, entity-attribute
299
+ * rules). The organization is taken from the caller's token.
300
+ *
301
+ * Returns HTTP 200 whenever the hook configuration was found and executed — including
302
+ * upstream failures, which are reported in `errors` so clients can apply `policy`.
303
+ *
304
+ */
305
+ 'resolveExternalValue'(
306
+ parameters?: Parameters<UnknownParamsObject> | null,
307
+ data?: Paths.ResolveExternalValue.RequestBody,
308
+ config?: AxiosRequestConfig
309
+ ): OperationResponse<Paths.ResolveExternalValue.Responses.$200>
310
+ /**
311
+ * resolvePortalExternalValue - resolvePortalExternalValue
312
+ *
313
+ * Resolve an external value hook for a portal end customer (private journeys, portal).
314
+ * The organization is taken from the portal token claims.
315
+ *
316
+ * Returns HTTP 200 whenever the hook configuration was found and executed — including
317
+ * upstream failures, which are reported in `errors` so clients can apply `policy`.
318
+ *
319
+ */
320
+ 'resolvePortalExternalValue'(
321
+ parameters?: Parameters<UnknownParamsObject> | null,
322
+ data?: Paths.ResolvePortalExternalValue.RequestBody,
323
+ config?: AxiosRequestConfig
324
+ ): OperationResponse<Paths.ResolvePortalExternalValue.Responses.$200>
325
+ }
326
+
327
+ interface PathsDictionary {
328
+ ['/v1/external-values']: {
329
+ /**
330
+ * listExternalValues - listExternalValues
331
+ *
332
+ * List hooks and their results of all enabled installed apps that declare an
333
+ * `EXTERNAL_VALUES` component. Intended for pickers (e.g. the validation-rules builder).
334
+ *
335
+ */
336
+ 'get'(
337
+ parameters?: Parameters<UnknownParamsObject> | null,
338
+ data?: any,
339
+ config?: AxiosRequestConfig
340
+ ): OperationResponse<Paths.ListExternalValues.Responses.$200>
341
+ }
342
+ ['/v1/external-values/{app_id}/hooks/{hook_id}:resolve']: {
343
+ /**
344
+ * resolveExternalValue - resolveExternalValue
345
+ *
346
+ * Resolve an external value hook for an epilot 360 user (builder preview, entity-attribute
347
+ * rules). The organization is taken from the caller's token.
348
+ *
349
+ * Returns HTTP 200 whenever the hook configuration was found and executed — including
350
+ * upstream failures, which are reported in `errors` so clients can apply `policy`.
351
+ *
352
+ */
353
+ 'post'(
354
+ parameters?: Parameters<UnknownParamsObject> | null,
355
+ data?: Paths.ResolveExternalValue.RequestBody,
356
+ config?: AxiosRequestConfig
357
+ ): OperationResponse<Paths.ResolveExternalValue.Responses.$200>
358
+ }
359
+ ['/v1/portal/external-values/{app_id}/hooks/{hook_id}:resolve']: {
360
+ /**
361
+ * resolvePortalExternalValue - resolvePortalExternalValue
362
+ *
363
+ * Resolve an external value hook for a portal end customer (private journeys, portal).
364
+ * The organization is taken from the portal token claims.
365
+ *
366
+ * Returns HTTP 200 whenever the hook configuration was found and executed — including
367
+ * upstream failures, which are reported in `errors` so clients can apply `policy`.
368
+ *
369
+ */
370
+ 'post'(
371
+ parameters?: Parameters<UnknownParamsObject> | null,
372
+ data?: Paths.ResolvePortalExternalValue.RequestBody,
373
+ config?: AxiosRequestConfig
374
+ ): OperationResponse<Paths.ResolvePortalExternalValue.Responses.$200>
375
+ }
376
+ }
377
+
378
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
379
+
380
+
381
+ type ExternalValueError = Components.Schemas.ExternalValueError;
382
+ type ExternalValueErrorCode = Components.Schemas.ExternalValueErrorCode;
383
+ type ExternalValueHookList = Components.Schemas.ExternalValueHookList;
384
+ type ExternalValueHookSummary = Components.Schemas.ExternalValueHookSummary;
385
+ type ExternalValueResultSummary = Components.Schemas.ExternalValueResultSummary;
386
+ type ExternalValueType = Components.Schemas.ExternalValueType;
387
+ type ResolveExternalValueRequest = Components.Schemas.ResolveExternalValueRequest;
388
+ type ResolveExternalValueResponse = Components.Schemas.ResolveExternalValueResponse;
389
+ type TranslatedString = Components.Schemas.TranslatedString;
390
+
391
+ export { type Client as C, type ExternalValueError as E, type OperationMethods as O, Paths as P, type ResolveExternalValueRequest as R, type TranslatedString as T, Components as a, type PathsDictionary as b, type ExternalValueErrorCode as c, type ExternalValueHookList as d, type ExternalValueHookSummary as e, type ExternalValueResultSummary as f, type ExternalValueType as g, type ResolveExternalValueResponse as h };
package/dist/index.cjs CHANGED
@@ -21,7 +21,10 @@ var _chunkADX7IYB3cjs = require('./chunk-ADX7IYB3.cjs');
21
21
  var _chunkPM25LLETcjs = require('./chunk-PM25LLET.cjs');
22
22
 
23
23
 
24
- var _chunkQLWDOKGEcjs = require('./chunk-QLWDOKGE.cjs');
24
+ var _chunkN5NFJW7Ycjs = require('./chunk-N5NFJW7Y.cjs');
25
+
26
+
27
+ var _chunkBU5DVOFFcjs = require('./chunk-BU5DVOFF.cjs');
25
28
 
26
29
 
27
30
  var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
@@ -42,6 +45,9 @@ var _chunkVDMPIKANcjs = require('./chunk-VDMPIKAN.cjs');
42
45
  var _chunkWWOAKRNGcjs = require('./chunk-WWOAKRNG.cjs');
43
46
 
44
47
 
48
+ var _chunkG3VDRMOHcjs = require('./chunk-G3VDRMOH.cjs');
49
+
50
+
45
51
  var _chunkEHLNSFCUcjs = require('./chunk-EHLNSFCU.cjs');
46
52
 
47
53
 
@@ -63,15 +69,15 @@ var _chunkBFUNXZRXcjs = require('./chunk-BFUNXZRX.cjs');
63
69
  var _chunkWTMV77T2cjs = require('./chunk-WTMV77T2.cjs');
64
70
 
65
71
 
66
- var _chunkN5NFJW7Ycjs = require('./chunk-N5NFJW7Y.cjs');
67
-
68
-
69
72
  var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
70
73
 
71
74
 
72
75
  var _chunkULV6ZQQRcjs = require('./chunk-ULV6ZQQR.cjs');
73
76
 
74
77
 
78
+ var _chunkNC33X2WLcjs = require('./chunk-NC33X2WL.cjs');
79
+
80
+
75
81
  var _chunk424JLS5Gcjs = require('./chunk-424JLS5G.cjs');
76
82
 
77
83
 
@@ -84,10 +90,7 @@ var _chunkRPWTWCDCcjs = require('./chunk-RPWTWCDC.cjs');
84
90
  var _chunkEPZ3JT2Wcjs = require('./chunk-EPZ3JT2W.cjs');
85
91
 
86
92
 
87
- var _chunkX7UJYAG5cjs = require('./chunk-X7UJYAG5.cjs');
88
-
89
-
90
- var _chunkG3VDRMOHcjs = require('./chunk-G3VDRMOH.cjs');
93
+ var _chunkQYHNZLHScjs = require('./chunk-QYHNZLHS.cjs');
91
94
 
92
95
 
93
96
  var _chunkZL6KDJFTcjs = require('./chunk-ZL6KDJFT.cjs');
@@ -164,7 +167,7 @@ var _chunkWOUASZJWcjs = require('./chunk-WOUASZJW.cjs');
164
167
 
165
168
 
166
169
 
167
- var _chunkCFHQ2UJUcjs = require('./chunk-CFHQ2UJU.cjs');
170
+ var _chunkUVYQFUAOcjs = require('./chunk-UVYQFUAO.cjs');
168
171
 
169
172
 
170
173
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -231,7 +234,7 @@ var resolveClient = (params) => {
231
234
  }
232
235
  if (!entry.instance) {
233
236
  const definition = entry.loader();
234
- entry.instance = _chunkCFHQ2UJUcjs.createApiClient.call(void 0, {
237
+ entry.instance = _chunkUVYQFUAOcjs.createApiClient.call(void 0, {
235
238
  definition,
236
239
  token: state.token,
237
240
  headers: state.globalHeaders,
@@ -264,7 +267,7 @@ var resetAllClients = (registry) => {
264
267
  };
265
268
 
266
269
  // src/apis/_registry.ts
267
- var expandDef = (mod) => _chunkCFHQ2UJUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
270
+ var expandDef = (mod) => _chunkUVYQFUAOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
268
271
  var registerBuiltinApis = (registry) => {
269
272
  registerApi({
270
273
  registry,
@@ -391,6 +394,11 @@ var registerBuiltinApis = (registry) => {
391
394
  name: "eventCatalog",
392
395
  loader: () => expandDef(_chunkULV6ZQQRcjs.require_event_catalog_runtime.call(void 0, ))
393
396
  });
397
+ registerApi({
398
+ registry,
399
+ name: "externalValues",
400
+ loader: () => expandDef(_chunkNC33X2WLcjs.require_external_values_runtime.call(void 0, ))
401
+ });
394
402
  registerApi({
395
403
  registry,
396
404
  name: "file",
@@ -414,7 +422,7 @@ var registerBuiltinApis = (registry) => {
414
422
  registerApi({
415
423
  registry,
416
424
  name: "journey",
417
- loader: () => expandDef(_chunkX7UJYAG5cjs.require_journey_runtime.call(void 0, ))
425
+ loader: () => expandDef(_chunkQYHNZLHScjs.require_journey_runtime.call(void 0, ))
418
426
  });
419
427
  registerApi({
420
428
  registry,
@@ -459,7 +467,7 @@ var registerBuiltinApis = (registry) => {
459
467
  registerApi({
460
468
  registry,
461
469
  name: "pricing",
462
- loader: () => expandDef(_chunkQLWDOKGEcjs.require_pricing_runtime.call(void 0, ))
470
+ loader: () => expandDef(_chunkBU5DVOFFcjs.require_pricing_runtime.call(void 0, ))
463
471
  });
464
472
  registerApi({
465
473
  registry,
@@ -617,9 +625,9 @@ var createSDK = () => {
617
625
  const available = [...registry.keys()].join(", ");
618
626
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
619
627
  }
620
- return _chunkCFHQ2UJUcjs.createApiHandle.call(void 0, {
628
+ return _chunkUVYQFUAOcjs.createApiHandle.call(void 0, {
621
629
  resolveClient: () => resolveClient({ registry, name, state }),
622
- createClient: () => _chunkCFHQ2UJUcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
630
+ createClient: () => _chunkUVYQFUAOcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
623
631
  apiName: name
624
632
  });
625
633
  };
@@ -667,9 +675,9 @@ var createSDK = () => {
667
675
  return interceptorUse;
668
676
  }
669
677
  case "help":
670
- return (apiName) => _chunkCFHQ2UJUcjs.help.call(void 0, apiName);
678
+ return (apiName) => _chunkUVYQFUAOcjs.help.call(void 0, apiName);
671
679
  case "openapi":
672
- return (apiName) => _chunkCFHQ2UJUcjs.openapi.call(void 0, apiName);
680
+ return (apiName) => _chunkUVYQFUAOcjs.openapi.call(void 0, apiName);
673
681
  case "then":
674
682
  case "catch":
675
683
  case "finally":
@@ -699,4 +707,4 @@ var epilot = createSDK();
699
707
 
700
708
 
701
709
 
702
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkCFHQ2UJUcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkCFHQ2UJUcjs.help; exports.openapi = _chunkCFHQ2UJUcjs.openapi;
710
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkUVYQFUAOcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkUVYQFUAOcjs.help; exports.openapi = _chunkUVYQFUAOcjs.openapi;
package/dist/index.d.cts CHANGED
@@ -28,34 +28,35 @@ import { C as Client$l } from './entity.d-BwsBk0Po.cjs';
28
28
  import { C as Client$m } from './entity-mapping.d-8MtWa2_L.cjs';
29
29
  import { C as Client$n } from './environments.d-qL1urwAq.cjs';
30
30
  import { C as Client$o } from './event-catalog.d-BrAxYS9D.cjs';
31
- import { C as Client$p } from './file.d-DELNV63w.cjs';
32
- import { C as Client$q } from './iban.d-BwdiGbxi.cjs';
33
- import { C as Client$r } from './identity.d-BBL0NI_O.cjs';
34
- import { C as Client$s } from './integration-toolkit.d-CLlaZx6b.cjs';
35
- import { C as Client$t } from './journey.d-Dj93v-Lw.cjs';
36
- import { C as Client$u } from './kanban.d-BHnSRCYW.cjs';
37
- import { C as Client$v } from './message.d-DwnqO-Us.cjs';
38
- import { C as Client$w } from './metering.d-BP04w-gR.cjs';
39
- import { C as Client$x } from './notes.d-rbcyHfiB.cjs';
40
- import { C as Client$y } from './notification.d-r89Jec85.cjs';
41
- import { C as Client$z } from './organization.d-DqwnNxMg.cjs';
42
- import { C as Client$A } from './partner-directory.d-BCIjHoGs.cjs';
43
- import { C as Client$B } from './permissions.d-BKoyMhU7.cjs';
44
- import { C as Client$C } from './pricing.d-B3_8FPCM.cjs';
45
- import { C as Client$D } from './pricing-tier.d-Cg0jl6n_.cjs';
46
- import { C as Client$E } from './purpose.d-CbIYfTua.cjs';
47
- import { C as Client$F } from './query.d-Cmp78IhZ.cjs';
48
- import { C as Client$G } from './sandbox.d-BdbOFzDu.cjs';
49
- import { C as Client$H } from './sharing.d-sOXq-gtz.cjs';
50
- import { C as Client$I } from './snapshot.d-DT0zg2CS.cjs';
51
- import { C as Client$J } from './submission.d-BamwfhXw.cjs';
52
- import { C as Client$K } from './targeting.d-BYVSahmV.cjs';
53
- import { C as Client$L } from './template-variables.d-Ble9TSBa.cjs';
54
- import { C as Client$M } from './user.d-rqYtwsCz.cjs';
55
- import { C as Client$N } from './validation-rules.d-Bbo90IYn.cjs';
56
- import { C as Client$O } from './webhooks.d-DqOEzFsp.cjs';
57
- import { C as Client$P } from './workflow.d-5cyNJgVQ.cjs';
58
- import { C as Client$Q } from './workflow-definition.d-CweGhhBU.cjs';
31
+ import { C as Client$p } from './external-values.d-DjP9C_-r.cjs';
32
+ import { C as Client$q } from './file.d-DELNV63w.cjs';
33
+ import { C as Client$r } from './iban.d-BwdiGbxi.cjs';
34
+ import { C as Client$s } from './identity.d-BBL0NI_O.cjs';
35
+ import { C as Client$t } from './integration-toolkit.d-CLlaZx6b.cjs';
36
+ import { C as Client$u } from './journey.d-CMtM6U3Y.cjs';
37
+ import { C as Client$v } from './kanban.d-BHnSRCYW.cjs';
38
+ import { C as Client$w } from './message.d-DwnqO-Us.cjs';
39
+ import { C as Client$x } from './metering.d-BP04w-gR.cjs';
40
+ import { C as Client$y } from './notes.d-rbcyHfiB.cjs';
41
+ import { C as Client$z } from './notification.d-r89Jec85.cjs';
42
+ import { C as Client$A } from './organization.d-DqwnNxMg.cjs';
43
+ import { C as Client$B } from './partner-directory.d-BCIjHoGs.cjs';
44
+ import { C as Client$C } from './permissions.d-BKoyMhU7.cjs';
45
+ import { C as Client$D } from './pricing.d-BMV5QoZ7.cjs';
46
+ import { C as Client$E } from './pricing-tier.d-Cg0jl6n_.cjs';
47
+ import { C as Client$F } from './purpose.d-CbIYfTua.cjs';
48
+ import { C as Client$G } from './query.d-Cmp78IhZ.cjs';
49
+ import { C as Client$H } from './sandbox.d-BdbOFzDu.cjs';
50
+ import { C as Client$I } from './sharing.d-sOXq-gtz.cjs';
51
+ import { C as Client$J } from './snapshot.d-DT0zg2CS.cjs';
52
+ import { C as Client$K } from './submission.d-BamwfhXw.cjs';
53
+ import { C as Client$L } from './targeting.d-BYVSahmV.cjs';
54
+ import { C as Client$M } from './template-variables.d-Ble9TSBa.cjs';
55
+ import { C as Client$N } from './user.d-rqYtwsCz.cjs';
56
+ import { C as Client$O } from './validation-rules.d-Bbo90IYn.cjs';
57
+ import { C as Client$P } from './webhooks.d-DqOEzFsp.cjs';
58
+ import { C as Client$Q } from './workflow.d-5cyNJgVQ.cjs';
59
+ import { C as Client$R } from './workflow-definition.d-CweGhhBU.cjs';
59
60
 
60
61
  type SDKClientMap = {
61
62
  accessToken: Client;
@@ -83,34 +84,35 @@ type SDKClientMap = {
83
84
  entityMapping: Client$m;
84
85
  environments: Client$n;
85
86
  eventCatalog: Client$o;
86
- file: Client$p;
87
- iban: Client$q;
88
- identity: Client$r;
89
- integrationToolkit: Client$s;
90
- journey: Client$t;
91
- kanban: Client$u;
92
- message: Client$v;
93
- metering: Client$w;
94
- notes: Client$x;
95
- notification: Client$y;
96
- organization: Client$z;
97
- partnerDirectory: Client$A;
98
- permissions: Client$B;
99
- pricing: Client$C;
100
- pricingTier: Client$D;
101
- purpose: Client$E;
102
- query: Client$F;
103
- sandbox: Client$G;
104
- sharing: Client$H;
105
- snapshot: Client$I;
106
- submission: Client$J;
107
- targeting: Client$K;
108
- templateVariables: Client$L;
109
- user: Client$M;
110
- validationRules: Client$N;
111
- webhooks: Client$O;
112
- workflow: Client$P;
113
- workflowDefinition: Client$Q;
87
+ externalValues: Client$p;
88
+ file: Client$q;
89
+ iban: Client$r;
90
+ identity: Client$s;
91
+ integrationToolkit: Client$t;
92
+ journey: Client$u;
93
+ kanban: Client$v;
94
+ message: Client$w;
95
+ metering: Client$x;
96
+ notes: Client$y;
97
+ notification: Client$z;
98
+ organization: Client$A;
99
+ partnerDirectory: Client$B;
100
+ permissions: Client$C;
101
+ pricing: Client$D;
102
+ pricingTier: Client$E;
103
+ purpose: Client$F;
104
+ query: Client$G;
105
+ sandbox: Client$H;
106
+ sharing: Client$I;
107
+ snapshot: Client$J;
108
+ submission: Client$K;
109
+ targeting: Client$L;
110
+ templateVariables: Client$M;
111
+ user: Client$N;
112
+ validationRules: Client$O;
113
+ webhooks: Client$P;
114
+ workflow: Client$Q;
115
+ workflowDefinition: Client$R;
114
116
  };
115
117
 
116
118
  type LargeResponseConfig = {