@epilot/sdk 2.20.58 → 2.20.60

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 (154) hide show
  1. package/definitions/app.json +203 -5
  2. package/definitions/external-values.json +50 -6
  3. package/definitions/integration-toolkit-runtime.json +1 -1
  4. package/definitions/integration-toolkit.json +183 -1
  5. package/dist/apis/access-token.cjs +6 -6
  6. package/dist/apis/access-token.js +1 -1
  7. package/dist/apis/address-suggestions.cjs +6 -6
  8. package/dist/apis/address-suggestions.js +1 -1
  9. package/dist/apis/address.cjs +6 -6
  10. package/dist/apis/address.js +1 -1
  11. package/dist/apis/ai-agents.cjs +6 -6
  12. package/dist/apis/ai-agents.js +1 -1
  13. package/dist/apis/app.cjs +6 -6
  14. package/dist/apis/app.d.cts +2 -2
  15. package/dist/apis/app.d.ts +2 -2
  16. package/dist/apis/app.js +1 -1
  17. package/dist/apis/audit-logs.cjs +6 -6
  18. package/dist/apis/audit-logs.js +1 -1
  19. package/dist/apis/automation.cjs +6 -6
  20. package/dist/apis/automation.js +1 -1
  21. package/dist/apis/billing.cjs +6 -6
  22. package/dist/apis/billing.js +1 -1
  23. package/dist/apis/blueprint-manifest.cjs +6 -6
  24. package/dist/apis/blueprint-manifest.js +1 -1
  25. package/dist/apis/calendar.cjs +6 -6
  26. package/dist/apis/calendar.js +1 -1
  27. package/dist/apis/chat.cjs +6 -6
  28. package/dist/apis/chat.js +1 -1
  29. package/dist/apis/configuration-hub.cjs +6 -6
  30. package/dist/apis/configuration-hub.js +1 -1
  31. package/dist/apis/consent.cjs +6 -6
  32. package/dist/apis/consent.js +1 -1
  33. package/dist/apis/customer-portal.cjs +6 -6
  34. package/dist/apis/customer-portal.js +1 -1
  35. package/dist/apis/dashboard.cjs +6 -6
  36. package/dist/apis/dashboard.js +1 -1
  37. package/dist/apis/data-governance.cjs +6 -6
  38. package/dist/apis/data-governance.js +1 -1
  39. package/dist/apis/deduplication.cjs +6 -6
  40. package/dist/apis/deduplication.js +1 -1
  41. package/dist/apis/design.cjs +6 -6
  42. package/dist/apis/design.js +1 -1
  43. package/dist/apis/document.cjs +6 -6
  44. package/dist/apis/document.js +1 -1
  45. package/dist/apis/email-settings.cjs +6 -6
  46. package/dist/apis/email-settings.js +1 -1
  47. package/dist/apis/email-template.cjs +6 -6
  48. package/dist/apis/email-template.js +1 -1
  49. package/dist/apis/entity-mapping.cjs +6 -6
  50. package/dist/apis/entity-mapping.js +1 -1
  51. package/dist/apis/entity.cjs +6 -6
  52. package/dist/apis/entity.js +1 -1
  53. package/dist/apis/environments.cjs +6 -6
  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/external-values.cjs +6 -6
  58. package/dist/apis/external-values.d.cts +2 -2
  59. package/dist/apis/external-values.d.ts +2 -2
  60. package/dist/apis/external-values.js +1 -1
  61. package/dist/apis/file.cjs +6 -6
  62. package/dist/apis/file.js +1 -1
  63. package/dist/apis/iban.cjs +6 -6
  64. package/dist/apis/iban.js +1 -1
  65. package/dist/apis/identity.cjs +6 -6
  66. package/dist/apis/identity.js +1 -1
  67. package/dist/apis/integration-toolkit.cjs +8 -8
  68. package/dist/apis/integration-toolkit.d.cts +2 -2
  69. package/dist/apis/integration-toolkit.d.ts +2 -2
  70. package/dist/apis/integration-toolkit.js +2 -2
  71. package/dist/apis/journey.cjs +6 -6
  72. package/dist/apis/journey.js +1 -1
  73. package/dist/apis/kanban.cjs +6 -6
  74. package/dist/apis/kanban.js +1 -1
  75. package/dist/apis/message.cjs +6 -6
  76. package/dist/apis/message.js +1 -1
  77. package/dist/apis/metering.cjs +6 -6
  78. package/dist/apis/metering.js +1 -1
  79. package/dist/apis/notes.cjs +6 -6
  80. package/dist/apis/notes.js +1 -1
  81. package/dist/apis/notification.cjs +6 -6
  82. package/dist/apis/notification.js +1 -1
  83. package/dist/apis/organization.cjs +6 -6
  84. package/dist/apis/organization.js +1 -1
  85. package/dist/apis/partner-directory.cjs +6 -6
  86. package/dist/apis/partner-directory.js +1 -1
  87. package/dist/apis/permissions.cjs +6 -6
  88. package/dist/apis/permissions.js +1 -1
  89. package/dist/apis/phone-integration.cjs +6 -6
  90. package/dist/apis/phone-integration.js +1 -1
  91. package/dist/apis/pricing-tier.cjs +6 -6
  92. package/dist/apis/pricing-tier.js +1 -1
  93. package/dist/apis/pricing.cjs +6 -6
  94. package/dist/apis/pricing.js +1 -1
  95. package/dist/apis/purpose.cjs +6 -6
  96. package/dist/apis/purpose.js +1 -1
  97. package/dist/apis/query.cjs +6 -6
  98. package/dist/apis/query.js +1 -1
  99. package/dist/apis/sandbox.cjs +6 -6
  100. package/dist/apis/sandbox.js +1 -1
  101. package/dist/apis/sharing.cjs +6 -6
  102. package/dist/apis/sharing.js +1 -1
  103. package/dist/apis/snapshot.cjs +6 -6
  104. package/dist/apis/snapshot.js +1 -1
  105. package/dist/apis/submission.cjs +6 -6
  106. package/dist/apis/submission.js +1 -1
  107. package/dist/apis/target.cjs +6 -6
  108. package/dist/apis/target.js +1 -1
  109. package/dist/apis/targeting.cjs +6 -6
  110. package/dist/apis/targeting.js +1 -1
  111. package/dist/apis/template-variables.cjs +6 -6
  112. package/dist/apis/template-variables.js +1 -1
  113. package/dist/apis/user.cjs +6 -6
  114. package/dist/apis/user.js +1 -1
  115. package/dist/apis/validation-rules.cjs +6 -6
  116. package/dist/apis/validation-rules.js +1 -1
  117. package/dist/apis/webhooks.cjs +6 -6
  118. package/dist/apis/webhooks.js +1 -1
  119. package/dist/apis/workflow-definition.cjs +6 -6
  120. package/dist/apis/workflow-definition.js +1 -1
  121. package/dist/apis/workflow.cjs +6 -6
  122. package/dist/apis/workflow.js +1 -1
  123. package/dist/app-R2RDF74T.js +7 -0
  124. package/dist/app-YIP3MOGW.cjs +7 -0
  125. package/dist/{app.d-CqXqNLxq.d.cts → app.d-DbOr4uIC.d.cts} +34 -6
  126. package/dist/{app.d-CqXqNLxq.d.ts → app.d-DbOr4uIC.d.ts} +34 -6
  127. package/dist/{chunk-VAC7N66U.js → chunk-4MDOL6ZZ.js} +4 -4
  128. package/dist/{chunk-6JWMDS4Z.js → chunk-MBWCGRCK.js} +1 -1
  129. package/dist/{chunk-S5K3TLPQ.cjs → chunk-RBSTI4X4.cjs} +4 -4
  130. package/dist/{chunk-EPZ3JT2W.cjs → chunk-Y7KWK5H2.cjs} +1 -1
  131. package/dist/external-values-7BS76RVR.js +7 -0
  132. package/dist/external-values-R2XB2ALG.cjs +7 -0
  133. package/dist/{external-values.d-DjP9C_-r.d.cts → external-values.d-23q55J5P.d.cts} +74 -20
  134. package/dist/{external-values.d-DjP9C_-r.d.ts → external-values.d-23q55J5P.d.ts} +74 -20
  135. package/dist/index.cjs +10 -10
  136. package/dist/index.d.cts +3 -3
  137. package/dist/index.d.ts +3 -3
  138. package/dist/index.js +2 -2
  139. package/dist/integration-toolkit-AB3GZDWM.cjs +7 -0
  140. package/dist/integration-toolkit-L745CJ5G.js +7 -0
  141. package/dist/{integration-toolkit-runtime-FT2J5NFV.js → integration-toolkit-runtime-3LKW4ORQ.js} +1 -1
  142. package/dist/{integration-toolkit-runtime-GDJVWSKC.cjs → integration-toolkit-runtime-3PM3MBEF.cjs} +2 -2
  143. package/dist/{integration-toolkit.d-DWslwG3c.d.cts → integration-toolkit.d-oORkWs_H.d.cts} +150 -1
  144. package/dist/{integration-toolkit.d-DWslwG3c.d.ts → integration-toolkit.d-oORkWs_H.d.ts} +150 -1
  145. package/docs/app.md +35 -1
  146. package/docs/external-values.md +57 -10
  147. package/docs/integration-toolkit.md +138 -3
  148. package/package.json +1 -1
  149. package/dist/app-B3TAEVS4.js +0 -7
  150. package/dist/app-C5H6RLZ5.cjs +0 -7
  151. package/dist/external-values-DALDMPMB.js +0 -7
  152. package/dist/external-values-XG5LFKZQ.cjs +0 -7
  153. package/dist/integration-toolkit-3J7KVCK7.cjs +0 -7
  154. package/dist/integration-toolkit-CV2AU2R7.js +0 -7
@@ -13,6 +13,38 @@ declare namespace Components {
13
13
  HookId?: Parameters.HookId /* ^[a-zA-Z0-9_-]{1,100}$ */;
14
14
  }
15
15
  namespace Schemas {
16
+ /**
17
+ * Something a hook needs the consumer to supply in `context`, discriminated by `type`.
18
+ * Today only `entity`; more types will follow. Consumers ignore types they do not know.
19
+ *
20
+ */
21
+ export type ContextRequirement = /**
22
+ * Something a hook needs the consumer to supply in `context`, discriminated by `type`.
23
+ * Today only `entity`; more types will follow. Consumers ignore types they do not know.
24
+ *
25
+ */
26
+ /**
27
+ * The consumer supplies the bound entities of `schema` under `Context.<schema>`, e.g. a hook
28
+ * interpolating `{{ Context.contract[0].external_id }}` declares
29
+ * `{ type: entity, schema: contract }`.
30
+ *
31
+ */
32
+ EntityContextRequirement;
33
+ /**
34
+ * The consumer supplies the bound entities of `schema` under `Context.<schema>`, e.g. a hook
35
+ * interpolating `{{ Context.contract[0].external_id }}` declares
36
+ * `{ type: entity, schema: contract }`.
37
+ *
38
+ */
39
+ export interface EntityContextRequirement {
40
+ type: "entity";
41
+ /**
42
+ * Entity schema slug, e.g. `contract`.
43
+ * example:
44
+ * contract
45
+ */
46
+ schema: string;
47
+ }
16
48
  export interface ExternalValueError {
17
49
  /**
18
50
  * Set for per-result errors; absent for hook-level failures
@@ -48,6 +80,19 @@ declare namespace Components {
48
80
  name: TranslatedString;
49
81
  description?: TranslatedString;
50
82
  results: ExternalValueResultSummary[];
83
+ /**
84
+ * What the hook needs the consumer to supply in `context`, as declared in the hook
85
+ * config. Omitted when the hook declares none. A rule builder must require these
86
+ * contexts on any rule that uses the hook, so the caller passes them in `context`.
87
+ * More requirement types will follow; consumers ignore types they do not know.
88
+ *
89
+ */
90
+ contexts?: /**
91
+ * Something a hook needs the consumer to supply in `context`, discriminated by `type`.
92
+ * Today only `entity`; more types will follow. Consumers ignore types they do not know.
93
+ *
94
+ */
95
+ ContextRequirement[];
51
96
  }
52
97
  export interface ExternalValueResultSummary {
53
98
  id: string;
@@ -59,11 +104,13 @@ declare namespace Components {
59
104
  * example:
60
105
  * {
61
106
  * "context": {
62
- * "input": "123,45",
63
- * "contract": {
64
- * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
65
- * "installment_amount": 110
66
- * }
107
+ * "contract": [
108
+ * {
109
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
110
+ * "external_id": "C-1001",
111
+ * "installment_amount": 110
112
+ * }
113
+ * ]
67
114
  * },
68
115
  * "consumer": {
69
116
  * "type": "validation_rule",
@@ -75,11 +122,12 @@ declare namespace Components {
75
122
  /**
76
123
  * Everything the consumer supplies for interpolation, as one name → value map.
77
124
  * Exposed to the hook's Liquid templates as `Context` / `context`, e.g.
78
- * `{{ context.input }}`, `{{ context.contract.installment_amount }}`.
125
+ * `{{ context.contract[0].external_id }}`.
79
126
  *
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.
127
+ * One entry per context requirement the consumer bound (see
128
+ * `ExternalValueHookSummary.contexts`): for an `entity` requirement, the bound
129
+ * entities of that schema under its schema slug. This API gives no name special
130
+ * treatment.
83
131
  *
84
132
  */
85
133
  context: {
@@ -165,11 +213,13 @@ declare namespace Paths {
165
213
  * example:
166
214
  * {
167
215
  * "context": {
168
- * "input": "123,45",
169
- * "contract": {
170
- * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
171
- * "installment_amount": 110
172
- * }
216
+ * "contract": [
217
+ * {
218
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
219
+ * "external_id": "C-1001",
220
+ * "installment_amount": 110
221
+ * }
222
+ * ]
173
223
  * },
174
224
  * "consumer": {
175
225
  * "type": "validation_rule",
@@ -217,11 +267,13 @@ declare namespace Paths {
217
267
  * example:
218
268
  * {
219
269
  * "context": {
220
- * "input": "123,45",
221
- * "contract": {
222
- * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
223
- * "installment_amount": 110
224
- * }
270
+ * "contract": [
271
+ * {
272
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
273
+ * "external_id": "C-1001",
274
+ * "installment_amount": 110
275
+ * }
276
+ * ]
225
277
  * },
226
278
  * "consumer": {
227
279
  * "type": "validation_rule",
@@ -378,6 +430,8 @@ interface PathsDictionary {
378
430
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
379
431
 
380
432
 
433
+ type ContextRequirement = Components.Schemas.ContextRequirement;
434
+ type EntityContextRequirement = Components.Schemas.EntityContextRequirement;
381
435
  type ExternalValueError = Components.Schemas.ExternalValueError;
382
436
  type ExternalValueErrorCode = Components.Schemas.ExternalValueErrorCode;
383
437
  type ExternalValueHookList = Components.Schemas.ExternalValueHookList;
@@ -388,4 +442,4 @@ type ResolveExternalValueRequest = Components.Schemas.ResolveExternalValueReques
388
442
  type ResolveExternalValueResponse = Components.Schemas.ResolveExternalValueResponse;
389
443
  type TranslatedString = Components.Schemas.TranslatedString;
390
444
 
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 };
445
+ export { type Client as C, type EntityContextRequirement 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 ContextRequirement as c, type ExternalValueError as d, type ExternalValueErrorCode as e, type ExternalValueHookList as f, type ExternalValueHookSummary as g, type ExternalValueResultSummary as h, type ExternalValueType as i, type ResolveExternalValueResponse as j };
@@ -13,6 +13,38 @@ declare namespace Components {
13
13
  HookId?: Parameters.HookId /* ^[a-zA-Z0-9_-]{1,100}$ */;
14
14
  }
15
15
  namespace Schemas {
16
+ /**
17
+ * Something a hook needs the consumer to supply in `context`, discriminated by `type`.
18
+ * Today only `entity`; more types will follow. Consumers ignore types they do not know.
19
+ *
20
+ */
21
+ export type ContextRequirement = /**
22
+ * Something a hook needs the consumer to supply in `context`, discriminated by `type`.
23
+ * Today only `entity`; more types will follow. Consumers ignore types they do not know.
24
+ *
25
+ */
26
+ /**
27
+ * The consumer supplies the bound entities of `schema` under `Context.<schema>`, e.g. a hook
28
+ * interpolating `{{ Context.contract[0].external_id }}` declares
29
+ * `{ type: entity, schema: contract }`.
30
+ *
31
+ */
32
+ EntityContextRequirement;
33
+ /**
34
+ * The consumer supplies the bound entities of `schema` under `Context.<schema>`, e.g. a hook
35
+ * interpolating `{{ Context.contract[0].external_id }}` declares
36
+ * `{ type: entity, schema: contract }`.
37
+ *
38
+ */
39
+ export interface EntityContextRequirement {
40
+ type: "entity";
41
+ /**
42
+ * Entity schema slug, e.g. `contract`.
43
+ * example:
44
+ * contract
45
+ */
46
+ schema: string;
47
+ }
16
48
  export interface ExternalValueError {
17
49
  /**
18
50
  * Set for per-result errors; absent for hook-level failures
@@ -48,6 +80,19 @@ declare namespace Components {
48
80
  name: TranslatedString;
49
81
  description?: TranslatedString;
50
82
  results: ExternalValueResultSummary[];
83
+ /**
84
+ * What the hook needs the consumer to supply in `context`, as declared in the hook
85
+ * config. Omitted when the hook declares none. A rule builder must require these
86
+ * contexts on any rule that uses the hook, so the caller passes them in `context`.
87
+ * More requirement types will follow; consumers ignore types they do not know.
88
+ *
89
+ */
90
+ contexts?: /**
91
+ * Something a hook needs the consumer to supply in `context`, discriminated by `type`.
92
+ * Today only `entity`; more types will follow. Consumers ignore types they do not know.
93
+ *
94
+ */
95
+ ContextRequirement[];
51
96
  }
52
97
  export interface ExternalValueResultSummary {
53
98
  id: string;
@@ -59,11 +104,13 @@ declare namespace Components {
59
104
  * example:
60
105
  * {
61
106
  * "context": {
62
- * "input": "123,45",
63
- * "contract": {
64
- * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
65
- * "installment_amount": 110
66
- * }
107
+ * "contract": [
108
+ * {
109
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
110
+ * "external_id": "C-1001",
111
+ * "installment_amount": 110
112
+ * }
113
+ * ]
67
114
  * },
68
115
  * "consumer": {
69
116
  * "type": "validation_rule",
@@ -75,11 +122,12 @@ declare namespace Components {
75
122
  /**
76
123
  * Everything the consumer supplies for interpolation, as one name → value map.
77
124
  * Exposed to the hook's Liquid templates as `Context` / `context`, e.g.
78
- * `{{ context.input }}`, `{{ context.contract.installment_amount }}`.
125
+ * `{{ context.contract[0].external_id }}`.
79
126
  *
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.
127
+ * One entry per context requirement the consumer bound (see
128
+ * `ExternalValueHookSummary.contexts`): for an `entity` requirement, the bound
129
+ * entities of that schema under its schema slug. This API gives no name special
130
+ * treatment.
83
131
  *
84
132
  */
85
133
  context: {
@@ -165,11 +213,13 @@ declare namespace Paths {
165
213
  * example:
166
214
  * {
167
215
  * "context": {
168
- * "input": "123,45",
169
- * "contract": {
170
- * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
171
- * "installment_amount": 110
172
- * }
216
+ * "contract": [
217
+ * {
218
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
219
+ * "external_id": "C-1001",
220
+ * "installment_amount": 110
221
+ * }
222
+ * ]
173
223
  * },
174
224
  * "consumer": {
175
225
  * "type": "validation_rule",
@@ -217,11 +267,13 @@ declare namespace Paths {
217
267
  * example:
218
268
  * {
219
269
  * "context": {
220
- * "input": "123,45",
221
- * "contract": {
222
- * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
223
- * "installment_amount": 110
224
- * }
270
+ * "contract": [
271
+ * {
272
+ * "_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
273
+ * "external_id": "C-1001",
274
+ * "installment_amount": 110
275
+ * }
276
+ * ]
225
277
  * },
226
278
  * "consumer": {
227
279
  * "type": "validation_rule",
@@ -378,6 +430,8 @@ interface PathsDictionary {
378
430
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
379
431
 
380
432
 
433
+ type ContextRequirement = Components.Schemas.ContextRequirement;
434
+ type EntityContextRequirement = Components.Schemas.EntityContextRequirement;
381
435
  type ExternalValueError = Components.Schemas.ExternalValueError;
382
436
  type ExternalValueErrorCode = Components.Schemas.ExternalValueErrorCode;
383
437
  type ExternalValueHookList = Components.Schemas.ExternalValueHookList;
@@ -388,4 +442,4 @@ type ResolveExternalValueRequest = Components.Schemas.ResolveExternalValueReques
388
442
  type ResolveExternalValueResponse = Components.Schemas.ResolveExternalValueResponse;
389
443
  type TranslatedString = Components.Schemas.TranslatedString;
390
444
 
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 };
445
+ export { type Client as C, type EntityContextRequirement 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 ContextRequirement as c, type ExternalValueError as d, type ExternalValueErrorCode as e, type ExternalValueHookList as f, type ExternalValueHookSummary as g, type ExternalValueResultSummary as h, type ExternalValueType as i, type ResolveExternalValueResponse as j };
package/dist/index.cjs CHANGED
@@ -90,7 +90,7 @@ var _chunkYO4M3BZLcjs = require('./chunk-YO4M3BZL.cjs');
90
90
  var _chunkRPWTWCDCcjs = require('./chunk-RPWTWCDC.cjs');
91
91
 
92
92
 
93
- var _chunkEPZ3JT2Wcjs = require('./chunk-EPZ3JT2W.cjs');
93
+ var _chunkY7KWK5H2cjs = require('./chunk-Y7KWK5H2.cjs');
94
94
 
95
95
 
96
96
  var _chunkQYHNZLHScjs = require('./chunk-QYHNZLHS.cjs');
@@ -170,7 +170,7 @@ var _chunkWOUASZJWcjs = require('./chunk-WOUASZJW.cjs');
170
170
 
171
171
 
172
172
 
173
- var _chunkS5K3TLPQcjs = require('./chunk-S5K3TLPQ.cjs');
173
+ var _chunkRBSTI4X4cjs = require('./chunk-RBSTI4X4.cjs');
174
174
 
175
175
 
176
176
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -244,7 +244,7 @@ var resolveClient = (params) => {
244
244
  }
245
245
  if (!entry.instance) {
246
246
  const definition = entry.loader();
247
- entry.instance = _chunkS5K3TLPQcjs.createApiClient.call(void 0, {
247
+ entry.instance = _chunkRBSTI4X4cjs.createApiClient.call(void 0, {
248
248
  definition,
249
249
  token: state.token,
250
250
  headers: state.globalHeaders,
@@ -277,7 +277,7 @@ var resetAllClients = (registry) => {
277
277
  };
278
278
 
279
279
  // src/apis/_registry.ts
280
- var expandDef = (mod) => _chunkS5K3TLPQcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
280
+ var expandDef = (mod) => _chunkRBSTI4X4cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
281
281
  var registerBuiltinApis = (registry) => {
282
282
  registerApi({
283
283
  registry,
@@ -427,7 +427,7 @@ var registerBuiltinApis = (registry) => {
427
427
  registerApi({
428
428
  registry,
429
429
  name: "integrationToolkit",
430
- loader: () => expandDef(_chunkEPZ3JT2Wcjs.require_integration_toolkit_runtime.call(void 0, ))
430
+ loader: () => expandDef(_chunkY7KWK5H2cjs.require_integration_toolkit_runtime.call(void 0, ))
431
431
  });
432
432
  registerApi({
433
433
  registry,
@@ -640,9 +640,9 @@ var createSDK = () => {
640
640
  const available = [...registry.keys()].join(", ");
641
641
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
642
642
  }
643
- return _chunkS5K3TLPQcjs.createApiHandle.call(void 0, {
643
+ return _chunkRBSTI4X4cjs.createApiHandle.call(void 0, {
644
644
  resolveClient: () => resolveClient({ registry, name, state }),
645
- createClient: () => _chunkS5K3TLPQcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
645
+ createClient: () => _chunkRBSTI4X4cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
646
646
  apiName: name
647
647
  });
648
648
  };
@@ -690,9 +690,9 @@ var createSDK = () => {
690
690
  return interceptorUse;
691
691
  }
692
692
  case "help":
693
- return (apiName) => _chunkS5K3TLPQcjs.help.call(void 0, apiName);
693
+ return (apiName) => _chunkRBSTI4X4cjs.help.call(void 0, apiName);
694
694
  case "openapi":
695
- return (apiName) => _chunkS5K3TLPQcjs.openapi.call(void 0, apiName);
695
+ return (apiName) => _chunkRBSTI4X4cjs.openapi.call(void 0, apiName);
696
696
  case "then":
697
697
  case "catch":
698
698
  case "finally":
@@ -722,4 +722,4 @@ var epilot = createSDK();
722
722
 
723
723
 
724
724
 
725
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkS5K3TLPQcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkS5K3TLPQcjs.help; exports.openapi = _chunkS5K3TLPQcjs.openapi;
725
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkRBSTI4X4cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkRBSTI4X4cjs.help; exports.openapi = _chunkRBSTI4X4cjs.openapi;
package/dist/index.d.cts CHANGED
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-Yy-yrft_.cjs';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
9
9
  import { C as Client$3 } from './ai-agents.d-B3TkP4mo.cjs';
10
- import { C as Client$4 } from './app.d-CqXqNLxq.cjs';
10
+ import { C as Client$4 } from './app.d-DbOr4uIC.cjs';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
12
12
  import { C as Client$6 } from './automation.d-B8g3nYp-.cjs';
13
13
  import { C as Client$7 } from './billing.d-DA3sViEF.cjs';
@@ -28,11 +28,11 @@ 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 './external-values.d-DjP9C_-r.cjs';
31
+ import { C as Client$p } from './external-values.d-23q55J5P.cjs';
32
32
  import { C as Client$q } from './file.d-DELNV63w.cjs';
33
33
  import { C as Client$r } from './iban.d-BwdiGbxi.cjs';
34
34
  import { C as Client$s } from './identity.d-BBL0NI_O.cjs';
35
- import { C as Client$t } from './integration-toolkit.d-DWslwG3c.cjs';
35
+ import { C as Client$t } from './integration-toolkit.d-oORkWs_H.cjs';
36
36
  import { C as Client$u } from './journey.d-CMtM6U3Y.cjs';
37
37
  import { C as Client$v } from './kanban.d-BHnSRCYW.cjs';
38
38
  import { C as Client$w } from './message.d-DwnqO-Us.cjs';
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-Yy-yrft_.js';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.js';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
9
9
  import { C as Client$3 } from './ai-agents.d-B3TkP4mo.js';
10
- import { C as Client$4 } from './app.d-CqXqNLxq.js';
10
+ import { C as Client$4 } from './app.d-DbOr4uIC.js';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
12
12
  import { C as Client$6 } from './automation.d-B8g3nYp-.js';
13
13
  import { C as Client$7 } from './billing.d-DA3sViEF.js';
@@ -28,11 +28,11 @@ import { C as Client$l } from './entity.d-BwsBk0Po.js';
28
28
  import { C as Client$m } from './entity-mapping.d-8MtWa2_L.js';
29
29
  import { C as Client$n } from './environments.d-qL1urwAq.js';
30
30
  import { C as Client$o } from './event-catalog.d-BrAxYS9D.js';
31
- import { C as Client$p } from './external-values.d-DjP9C_-r.js';
31
+ import { C as Client$p } from './external-values.d-23q55J5P.js';
32
32
  import { C as Client$q } from './file.d-DELNV63w.js';
33
33
  import { C as Client$r } from './iban.d-BwdiGbxi.js';
34
34
  import { C as Client$s } from './identity.d-BBL0NI_O.js';
35
- import { C as Client$t } from './integration-toolkit.d-DWslwG3c.js';
35
+ import { C as Client$t } from './integration-toolkit.d-oORkWs_H.js';
36
36
  import { C as Client$u } from './journey.d-CMtM6U3Y.js';
37
37
  import { C as Client$v } from './kanban.d-BHnSRCYW.js';
38
38
  import { C as Client$w } from './message.d-DwnqO-Us.js';
package/dist/index.js CHANGED
@@ -90,7 +90,7 @@ import {
90
90
  } from "./chunk-3IBAPVLY.js";
91
91
  import {
92
92
  require_integration_toolkit_runtime
93
- } from "./chunk-6JWMDS4Z.js";
93
+ } from "./chunk-MBWCGRCK.js";
94
94
  import {
95
95
  require_journey_runtime
96
96
  } from "./chunk-I3ZZES76.js";
@@ -170,7 +170,7 @@ import {
170
170
  expand,
171
171
  help,
172
172
  openapi
173
- } from "./chunk-VAC7N66U.js";
173
+ } from "./chunk-4MDOL6ZZ.js";
174
174
  import {
175
175
  __require
176
176
  } from "./chunk-YPSWSI3M.js";