@epilot/sdk 2.3.7 → 2.3.9

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 (235) hide show
  1. package/dist/apis/access-token.cjs +6 -6
  2. package/dist/apis/access-token.js +1 -1
  3. package/dist/apis/address-suggestions.cjs +6 -6
  4. package/dist/apis/address-suggestions.js +1 -1
  5. package/dist/apis/address.cjs +6 -6
  6. package/dist/apis/address.js +1 -1
  7. package/dist/apis/ai-agents.cjs +6 -6
  8. package/dist/apis/ai-agents.js +1 -1
  9. package/dist/apis/app.cjs +6 -6
  10. package/dist/apis/app.js +1 -1
  11. package/dist/apis/audit-logs.cjs +6 -6
  12. package/dist/apis/audit-logs.js +1 -1
  13. package/dist/apis/automation.cjs +6 -6
  14. package/dist/apis/automation.js +1 -1
  15. package/dist/apis/billing.cjs +6 -6
  16. package/dist/apis/billing.js +1 -1
  17. package/dist/apis/blueprint-manifest.cjs +6 -6
  18. package/dist/apis/blueprint-manifest.js +1 -1
  19. package/dist/apis/configuration-hub.cjs +8 -8
  20. package/dist/apis/configuration-hub.d.cts +2 -2
  21. package/dist/apis/configuration-hub.d.ts +2 -2
  22. package/dist/apis/configuration-hub.js +2 -2
  23. package/dist/apis/consent.cjs +6 -6
  24. package/dist/apis/consent.js +1 -1
  25. package/dist/apis/customer-portal.cjs +6 -6
  26. package/dist/apis/customer-portal.js +1 -1
  27. package/dist/apis/dashboard.cjs +6 -6
  28. package/dist/apis/dashboard.js +1 -1
  29. package/dist/apis/data-governance.cjs +6 -6
  30. package/dist/apis/data-governance.js +1 -1
  31. package/dist/apis/deduplication.cjs +6 -6
  32. package/dist/apis/deduplication.js +1 -1
  33. package/dist/apis/design.cjs +6 -6
  34. package/dist/apis/design.js +1 -1
  35. package/dist/apis/document.cjs +6 -6
  36. package/dist/apis/document.js +1 -1
  37. package/dist/apis/email-settings.cjs +6 -6
  38. package/dist/apis/email-settings.js +1 -1
  39. package/dist/apis/email-template.cjs +6 -6
  40. package/dist/apis/email-template.js +1 -1
  41. package/dist/apis/entity-mapping.cjs +6 -6
  42. package/dist/apis/entity-mapping.js +1 -1
  43. package/dist/apis/entity.cjs +6 -6
  44. package/dist/apis/entity.js +1 -1
  45. package/dist/apis/environments.cjs +6 -6
  46. package/dist/apis/environments.js +1 -1
  47. package/dist/apis/event-catalog.cjs +6 -6
  48. package/dist/apis/event-catalog.js +1 -1
  49. package/dist/apis/file.cjs +6 -6
  50. package/dist/apis/file.js +1 -1
  51. package/dist/apis/iban.cjs +6 -6
  52. package/dist/apis/iban.js +1 -1
  53. package/dist/apis/integration-toolkit.cjs +6 -6
  54. package/dist/apis/integration-toolkit.js +1 -1
  55. package/dist/apis/journey.cjs +6 -6
  56. package/dist/apis/journey.js +1 -1
  57. package/dist/apis/kanban.cjs +6 -6
  58. package/dist/apis/kanban.js +1 -1
  59. package/dist/apis/message.cjs +8 -8
  60. package/dist/apis/message.d.cts +2 -2
  61. package/dist/apis/message.d.ts +2 -2
  62. package/dist/apis/message.js +2 -2
  63. package/dist/apis/metering.cjs +6 -6
  64. package/dist/apis/metering.js +1 -1
  65. package/dist/apis/notes.cjs +6 -6
  66. package/dist/apis/notes.js +1 -1
  67. package/dist/apis/notification.cjs +6 -6
  68. package/dist/apis/notification.js +1 -1
  69. package/dist/apis/organization.cjs +6 -6
  70. package/dist/apis/organization.js +1 -1
  71. package/dist/apis/partner-directory.cjs +6 -6
  72. package/dist/apis/partner-directory.js +1 -1
  73. package/dist/apis/permissions.cjs +6 -6
  74. package/dist/apis/permissions.js +1 -1
  75. package/dist/apis/pricing-tier.cjs +6 -6
  76. package/dist/apis/pricing-tier.js +1 -1
  77. package/dist/apis/pricing.cjs +6 -6
  78. package/dist/apis/pricing.js +1 -1
  79. package/dist/apis/purpose.cjs +6 -6
  80. package/dist/apis/purpose.js +1 -1
  81. package/dist/apis/query.cjs +6 -6
  82. package/dist/apis/query.js +1 -1
  83. package/dist/apis/sandbox.cjs +6 -6
  84. package/dist/apis/sandbox.js +1 -1
  85. package/dist/apis/sharing.cjs +6 -6
  86. package/dist/apis/sharing.js +1 -1
  87. package/dist/apis/submission.cjs +6 -6
  88. package/dist/apis/submission.js +1 -1
  89. package/dist/apis/target.cjs +6 -6
  90. package/dist/apis/target.js +1 -1
  91. package/dist/apis/targeting.cjs +6 -6
  92. package/dist/apis/targeting.js +1 -1
  93. package/dist/apis/template-variables.cjs +6 -6
  94. package/dist/apis/template-variables.js +1 -1
  95. package/dist/apis/user.cjs +6 -6
  96. package/dist/apis/user.js +1 -1
  97. package/dist/apis/validation-rules.cjs +6 -6
  98. package/dist/apis/validation-rules.js +1 -1
  99. package/dist/apis/webhooks.cjs +6 -6
  100. package/dist/apis/webhooks.js +1 -1
  101. package/dist/apis/workflow-definition.cjs +6 -6
  102. package/dist/apis/workflow-definition.js +1 -1
  103. package/dist/apis/workflow.cjs +6 -6
  104. package/dist/apis/workflow.js +1 -1
  105. package/dist/chunk-AOFZDDXN.js +14 -0
  106. package/dist/{chunk-77JS7NDM.cjs → chunk-DUHAG5CO.cjs} +1 -1
  107. package/dist/{chunk-DLYPVF4U.js → chunk-FAZ63FEX.js} +1 -1
  108. package/dist/{chunk-NOYX4W47.cjs → chunk-L37V2R32.cjs} +4 -4
  109. package/dist/{chunk-KY7TIDRJ.js → chunk-OMNMMMRJ.js} +4 -4
  110. package/dist/chunk-VFCH5IEL.cjs +14 -0
  111. package/dist/configuration-hub-2F636SNK.js +7 -0
  112. package/dist/configuration-hub-XQGJK2JA.cjs +7 -0
  113. package/dist/{configuration-hub-runtime-TEDEKI7E.js → configuration-hub-runtime-5R6Y4KF7.js} +1 -1
  114. package/dist/{configuration-hub-runtime-B7KKIHHY.cjs → configuration-hub-runtime-TY2X2ECO.cjs} +2 -2
  115. package/dist/configuration-hub.d-DZE3wTQE.d.cts +375 -0
  116. package/dist/configuration-hub.d-DZE3wTQE.d.ts +375 -0
  117. package/dist/index.cjs +12 -12
  118. package/dist/index.d.cts +2 -2
  119. package/dist/index.d.ts +2 -2
  120. package/dist/index.js +3 -3
  121. package/dist/message-6IFCB7GH.js +7 -0
  122. package/dist/message-7LNAFKKV.cjs +7 -0
  123. package/dist/{message-runtime-CGFCT6FU.cjs → message-runtime-JSZCNCNU.cjs} +2 -2
  124. package/dist/{message-runtime-XDCFFLYK.js → message-runtime-XOQ5EJN6.js} +1 -1
  125. package/dist/{message.d-D3QUkBjg.d.ts → message.d-B5UuSqgw.d.cts} +9 -3
  126. package/dist/{message.d-D3QUkBjg.d.cts → message.d-B5UuSqgw.d.ts} +9 -3
  127. package/docs/configuration-hub.md +52 -1
  128. package/docs/message.md +2 -1
  129. package/package.json +1 -1
  130. package/definitions/access-token-runtime.json +0 -1
  131. package/definitions/access-token.json +0 -663
  132. package/definitions/address-runtime.json +0 -1
  133. package/definitions/address-suggestions-runtime.json +0 -1
  134. package/definitions/address-suggestions.json +0 -582
  135. package/definitions/address.json +0 -578
  136. package/definitions/ai-agents-runtime.json +0 -1
  137. package/definitions/ai-agents.json +0 -1711
  138. package/definitions/app-runtime.json +0 -1
  139. package/definitions/app.json +0 -4493
  140. package/definitions/audit-logs-runtime.json +0 -1
  141. package/definitions/audit-logs.json +0 -305
  142. package/definitions/automation-runtime.json +0 -1
  143. package/definitions/automation.json +0 -5028
  144. package/definitions/billing-runtime.json +0 -1
  145. package/definitions/billing.json +0 -837
  146. package/definitions/blueprint-manifest-runtime.json +0 -1
  147. package/definitions/blueprint-manifest.json +0 -4846
  148. package/definitions/configuration-hub-runtime.json +0 -1
  149. package/definitions/configuration-hub.json +0 -399
  150. package/definitions/consent-runtime.json +0 -1
  151. package/definitions/consent.json +0 -344
  152. package/definitions/customer-portal-runtime.json +0 -1
  153. package/definitions/customer-portal.json +0 -16045
  154. package/definitions/dashboard-runtime.json +0 -1
  155. package/definitions/dashboard.json +0 -484
  156. package/definitions/data-governance-runtime.json +0 -1
  157. package/definitions/data-governance.json +0 -1126
  158. package/definitions/deduplication-runtime.json +0 -1
  159. package/definitions/deduplication.json +0 -314
  160. package/definitions/design-runtime.json +0 -1
  161. package/definitions/design.json +0 -1722
  162. package/definitions/document-runtime.json +0 -1
  163. package/definitions/document.json +0 -758
  164. package/definitions/email-settings-runtime.json +0 -1
  165. package/definitions/email-settings.json +0 -2777
  166. package/definitions/email-template-runtime.json +0 -1
  167. package/definitions/email-template.json +0 -1441
  168. package/definitions/entity-mapping-runtime.json +0 -1
  169. package/definitions/entity-mapping.json +0 -1642
  170. package/definitions/entity-runtime.json +0 -1
  171. package/definitions/entity.json +0 -10474
  172. package/definitions/environments-runtime.json +0 -1
  173. package/definitions/environments.json +0 -539
  174. package/definitions/event-catalog-runtime.json +0 -1
  175. package/definitions/event-catalog.json +0 -1051
  176. package/definitions/file-runtime.json +0 -1
  177. package/definitions/file.json +0 -2842
  178. package/definitions/iban-runtime.json +0 -1
  179. package/definitions/iban.json +0 -132
  180. package/definitions/integration-toolkit-runtime.json +0 -1
  181. package/definitions/integration-toolkit.json +0 -7998
  182. package/definitions/journey-runtime.json +0 -1
  183. package/definitions/journey.json +0 -2603
  184. package/definitions/kanban-runtime.json +0 -1
  185. package/definitions/kanban.json +0 -1505
  186. package/definitions/message-runtime.json +0 -1
  187. package/definitions/message.json +0 -2862
  188. package/definitions/metering-runtime.json +0 -1
  189. package/definitions/metering.json +0 -2321
  190. package/definitions/notes-runtime.json +0 -1
  191. package/definitions/notes.json +0 -1531
  192. package/definitions/notification-runtime.json +0 -1
  193. package/definitions/notification.json +0 -1425
  194. package/definitions/organization-runtime.json +0 -1
  195. package/definitions/organization.json +0 -1192
  196. package/definitions/partner-directory-runtime.json +0 -1
  197. package/definitions/partner-directory.json +0 -2284
  198. package/definitions/permissions-runtime.json +0 -1
  199. package/definitions/permissions.json +0 -1515
  200. package/definitions/pricing-runtime.json +0 -1
  201. package/definitions/pricing-tier-runtime.json +0 -1
  202. package/definitions/pricing-tier.json +0 -105
  203. package/definitions/pricing.json +0 -9884
  204. package/definitions/purpose-runtime.json +0 -1
  205. package/definitions/purpose.json +0 -524
  206. package/definitions/query-runtime.json +0 -1
  207. package/definitions/query.json +0 -3178
  208. package/definitions/sandbox-runtime.json +0 -1
  209. package/definitions/sandbox.json +0 -453
  210. package/definitions/sharing-runtime.json +0 -1
  211. package/definitions/sharing.json +0 -956
  212. package/definitions/submission-runtime.json +0 -1
  213. package/definitions/submission.json +0 -313
  214. package/definitions/targeting-runtime.json +0 -1
  215. package/definitions/targeting.json +0 -1474
  216. package/definitions/template-variables-runtime.json +0 -1
  217. package/definitions/template-variables.json +0 -1416
  218. package/definitions/user-runtime.json +0 -1
  219. package/definitions/user.json +0 -2460
  220. package/definitions/validation-rules-runtime.json +0 -1
  221. package/definitions/validation-rules.json +0 -1491
  222. package/definitions/webhooks-runtime.json +0 -1
  223. package/definitions/webhooks.json +0 -1634
  224. package/definitions/workflow-definition-runtime.json +0 -1
  225. package/definitions/workflow-definition.json +0 -3302
  226. package/definitions/workflow-runtime.json +0 -1
  227. package/definitions/workflow.json +0 -4248
  228. package/dist/chunk-4JAOFRYX.js +0 -14
  229. package/dist/chunk-Q7OKRNUG.cjs +0 -14
  230. package/dist/configuration-hub-LKSRCGYT.cjs +0 -7
  231. package/dist/configuration-hub-TZ2ULWV4.js +0 -7
  232. package/dist/configuration-hub.d-CqvhcMOn.d.cts +0 -166
  233. package/dist/configuration-hub.d-CqvhcMOn.d.ts +0 -166
  234. package/dist/message-HCA2KSH6.js +0 -7
  235. package/dist/message-J2SFQJNB.cjs +0 -7
@@ -0,0 +1,375 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from configuration-hub-client */
4
+
5
+
6
+ declare namespace Components {
7
+ namespace Parameters {
8
+ export type ConfigId = string;
9
+ export type ConfigType = /**
10
+ * Configuration resource type identifier.
11
+ * Matches blueprint-manifest-api V3 naming conventions.
12
+ *
13
+ */
14
+ Schemas.ResourceType;
15
+ export type CursorParam = string;
16
+ export type SizeParam = number;
17
+ }
18
+ export interface PathParameters {
19
+ ConfigType?: Parameters.ConfigType;
20
+ ConfigId?: Parameters.ConfigId;
21
+ }
22
+ export interface QueryParameters {
23
+ CursorParam?: Parameters.CursorParam;
24
+ SizeParam?: Parameters.SizeParam;
25
+ }
26
+ namespace Schemas {
27
+ /**
28
+ * Cursor-paginated list of configs referenced by a given config
29
+ */
30
+ export interface ConfigDependenciesResponse {
31
+ /**
32
+ * Total number of dependencies found (if known)
33
+ */
34
+ total?: number;
35
+ /**
36
+ * Cursor for fetching the next page. Absent when no more pages.
37
+ */
38
+ next_cursor?: string;
39
+ results: /* Summary metadata for a single configuration item in the tree */ ConfigNode[];
40
+ }
41
+ /**
42
+ * Cursor-paginated list of configs for a specific type
43
+ */
44
+ export interface ConfigListResponse {
45
+ type: /**
46
+ * Configuration resource type identifier.
47
+ * Matches blueprint-manifest-api V3 naming conventions.
48
+ *
49
+ */
50
+ ResourceType;
51
+ label: string;
52
+ icon: string;
53
+ /**
54
+ * Total number of configs of this type (if known)
55
+ */
56
+ total?: number;
57
+ /**
58
+ * Cursor for fetching the next page. Absent when no more pages.
59
+ */
60
+ next_cursor?: string;
61
+ items: /* Summary metadata for a single configuration item in the tree */ ConfigNode[];
62
+ }
63
+ /**
64
+ * Summary metadata for a single configuration item in the tree
65
+ */
66
+ export interface ConfigNode {
67
+ type: /**
68
+ * Configuration resource type identifier.
69
+ * Matches blueprint-manifest-api V3 naming conventions.
70
+ *
71
+ */
72
+ ResourceType;
73
+ /**
74
+ * Unique identifier
75
+ */
76
+ id: string;
77
+ /**
78
+ * Display name
79
+ */
80
+ title: string;
81
+ /**
82
+ * Last modified timestamp
83
+ */
84
+ updated_at?: string; // date-time
85
+ /**
86
+ * User who last modified this config
87
+ */
88
+ updated_by?: string;
89
+ /**
90
+ * Tags / labels
91
+ */
92
+ tags?: string[];
93
+ /**
94
+ * Business purposes
95
+ */
96
+ purposes?: string[];
97
+ /**
98
+ * Direct link to open this config in epilot
99
+ */
100
+ link?: string; // uri
101
+ }
102
+ /**
103
+ * Static metadata for a config type folder in the tree.
104
+ * No downstream API calls — just type + label + icon + source API info.
105
+ *
106
+ */
107
+ export interface ConfigTypeInfo {
108
+ type: /**
109
+ * Configuration resource type identifier.
110
+ * Matches blueprint-manifest-api V3 naming conventions.
111
+ *
112
+ */
113
+ ResourceType;
114
+ /**
115
+ * Display label
116
+ * example:
117
+ * Journeys
118
+ */
119
+ label: string;
120
+ /**
121
+ * Frontend icon name
122
+ * example:
123
+ * Route
124
+ */
125
+ icon: string;
126
+ /**
127
+ * Base URL of the epilot API that owns this resource type
128
+ * example:
129
+ * https://journey.sls.epilot.io
130
+ */
131
+ source_api: string;
132
+ /**
133
+ * @epilot/sdk subpath for fetching full config payloads
134
+ * example:
135
+ * @epilot/sdk/journey
136
+ */
137
+ sdk_client: string;
138
+ }
139
+ export interface ErrorResponse {
140
+ status: number;
141
+ error: string;
142
+ }
143
+ /**
144
+ * Result of an index rebuild operation
145
+ */
146
+ export interface IndexRebuildResponse {
147
+ status: "ready" | "building" | "failed" | "already_building";
148
+ last_built_at?: string; // date-time
149
+ total_items?: number;
150
+ build_duration_ms?: number;
151
+ failed_types?: string[];
152
+ }
153
+ /**
154
+ * Configuration resource type identifier.
155
+ * Matches blueprint-manifest-api V3 naming conventions.
156
+ *
157
+ */
158
+ export type ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation";
159
+ }
160
+ }
161
+ declare namespace Paths {
162
+ namespace GetConfigDependencies {
163
+ namespace Parameters {
164
+ export type Cursor = string;
165
+ export type Id = string;
166
+ export type Size = number;
167
+ export type Type = /**
168
+ * Configuration resource type identifier.
169
+ * Matches blueprint-manifest-api V3 naming conventions.
170
+ *
171
+ */
172
+ Components.Schemas.ResourceType;
173
+ }
174
+ export interface PathParameters {
175
+ type: Parameters.Type;
176
+ id: Parameters.Id;
177
+ }
178
+ export interface QueryParameters {
179
+ cursor?: Parameters.Cursor;
180
+ size?: Parameters.Size;
181
+ }
182
+ namespace Responses {
183
+ export type $200 = /* Cursor-paginated list of configs referenced by a given config */ Components.Schemas.ConfigDependenciesResponse;
184
+ export type $404 = Components.Schemas.ErrorResponse;
185
+ }
186
+ }
187
+ namespace ListConfigTypes {
188
+ namespace Responses {
189
+ export interface $200 {
190
+ results: /**
191
+ * Static metadata for a config type folder in the tree.
192
+ * No downstream API calls — just type + label + icon + source API info.
193
+ *
194
+ */
195
+ Components.Schemas.ConfigTypeInfo[];
196
+ }
197
+ }
198
+ }
199
+ namespace ListConfigs {
200
+ namespace Parameters {
201
+ export type Cursor = string;
202
+ export type Purposes = string;
203
+ export type Q = string;
204
+ export type Size = number;
205
+ export type Type = /**
206
+ * Configuration resource type identifier.
207
+ * Matches blueprint-manifest-api V3 naming conventions.
208
+ *
209
+ */
210
+ Components.Schemas.ResourceType;
211
+ export type UpdatedAfter = string; // date-time
212
+ export type UpdatedBefore = string; // date-time
213
+ }
214
+ export interface PathParameters {
215
+ type: Parameters.Type;
216
+ }
217
+ export interface QueryParameters {
218
+ cursor?: Parameters.Cursor;
219
+ size?: Parameters.Size;
220
+ q?: Parameters.Q;
221
+ updated_after?: Parameters.UpdatedAfter /* date-time */;
222
+ updated_before?: Parameters.UpdatedBefore /* date-time */;
223
+ purposes?: Parameters.Purposes;
224
+ }
225
+ namespace Responses {
226
+ export type $200 = /* Cursor-paginated list of configs for a specific type */ Components.Schemas.ConfigListResponse;
227
+ export type $400 = Components.Schemas.ErrorResponse;
228
+ }
229
+ }
230
+ namespace RebuildIndex {
231
+ namespace Responses {
232
+ export type $200 = /* Result of an index rebuild operation */ Components.Schemas.IndexRebuildResponse;
233
+ }
234
+ }
235
+ }
236
+
237
+
238
+ interface OperationMethods {
239
+ /**
240
+ * listConfigTypes - listConfigTypes
241
+ *
242
+ * Returns the static list of available configuration types with display metadata.
243
+ * This is a cheap call — no fan-out to downstream APIs. Returns all known types
244
+ * with labels and icons. The frontend should then call `listConfigs` separately
245
+ * for each type it wants to load.
246
+ *
247
+ */
248
+ 'listConfigTypes'(
249
+ parameters?: Parameters<UnknownParamsObject> | null,
250
+ data?: any,
251
+ config?: AxiosRequestConfig
252
+ ): OperationResponse<Paths.ListConfigTypes.Responses.$200>
253
+ /**
254
+ * listConfigs - listConfigs
255
+ *
256
+ * List configs of a given type with pagination. Returns summary metadata only
257
+ * (not full payloads). The frontend calls this per type folder when expanding.
258
+ *
259
+ * Supports offset-based pagination via `from` and `size` parameters.
260
+ *
261
+ */
262
+ 'listConfigs'(
263
+ parameters?: Parameters<Paths.ListConfigs.QueryParameters & Paths.ListConfigs.PathParameters> | null,
264
+ data?: any,
265
+ config?: AxiosRequestConfig
266
+ ): OperationResponse<Paths.ListConfigs.Responses.$200>
267
+ /**
268
+ * getConfigDependencies - getConfigDependencies
269
+ *
270
+ * Get configs that are referenced by the given config.
271
+ * Used to render children when expanding a config node in the tree.
272
+ *
273
+ * Resolves dependencies by fetching the config payload server-side and scanning
274
+ * for references (UUIDs, source IDs, slug-based references).
275
+ *
276
+ */
277
+ 'getConfigDependencies'(
278
+ parameters?: Parameters<Paths.GetConfigDependencies.QueryParameters & Paths.GetConfigDependencies.PathParameters> | null,
279
+ data?: any,
280
+ config?: AxiosRequestConfig
281
+ ): OperationResponse<Paths.GetConfigDependencies.Responses.$200>
282
+ /**
283
+ * rebuildIndex - rebuildIndex
284
+ *
285
+ * Rebuild the configuration index for the caller's organization.
286
+ * Calls all adapter APIs in parallel and stores results in DynamoDB.
287
+ * If a build is already in progress (within 60s), returns immediately.
288
+ *
289
+ */
290
+ 'rebuildIndex'(
291
+ parameters?: Parameters<UnknownParamsObject> | null,
292
+ data?: any,
293
+ config?: AxiosRequestConfig
294
+ ): OperationResponse<Paths.RebuildIndex.Responses.$200>
295
+ }
296
+
297
+ interface PathsDictionary {
298
+ ['/v1/configs/types']: {
299
+ /**
300
+ * listConfigTypes - listConfigTypes
301
+ *
302
+ * Returns the static list of available configuration types with display metadata.
303
+ * This is a cheap call — no fan-out to downstream APIs. Returns all known types
304
+ * with labels and icons. The frontend should then call `listConfigs` separately
305
+ * for each type it wants to load.
306
+ *
307
+ */
308
+ 'get'(
309
+ parameters?: Parameters<UnknownParamsObject> | null,
310
+ data?: any,
311
+ config?: AxiosRequestConfig
312
+ ): OperationResponse<Paths.ListConfigTypes.Responses.$200>
313
+ }
314
+ ['/v1/configs/{type}']: {
315
+ /**
316
+ * listConfigs - listConfigs
317
+ *
318
+ * List configs of a given type with pagination. Returns summary metadata only
319
+ * (not full payloads). The frontend calls this per type folder when expanding.
320
+ *
321
+ * Supports offset-based pagination via `from` and `size` parameters.
322
+ *
323
+ */
324
+ 'get'(
325
+ parameters?: Parameters<Paths.ListConfigs.QueryParameters & Paths.ListConfigs.PathParameters> | null,
326
+ data?: any,
327
+ config?: AxiosRequestConfig
328
+ ): OperationResponse<Paths.ListConfigs.Responses.$200>
329
+ }
330
+ ['/v1/configs/{type}/{id}/dependencies']: {
331
+ /**
332
+ * getConfigDependencies - getConfigDependencies
333
+ *
334
+ * Get configs that are referenced by the given config.
335
+ * Used to render children when expanding a config node in the tree.
336
+ *
337
+ * Resolves dependencies by fetching the config payload server-side and scanning
338
+ * for references (UUIDs, source IDs, slug-based references).
339
+ *
340
+ */
341
+ 'get'(
342
+ parameters?: Parameters<Paths.GetConfigDependencies.QueryParameters & Paths.GetConfigDependencies.PathParameters> | null,
343
+ data?: any,
344
+ config?: AxiosRequestConfig
345
+ ): OperationResponse<Paths.GetConfigDependencies.Responses.$200>
346
+ }
347
+ ['/v1/index/rebuild']: {
348
+ /**
349
+ * rebuildIndex - rebuildIndex
350
+ *
351
+ * Rebuild the configuration index for the caller's organization.
352
+ * Calls all adapter APIs in parallel and stores results in DynamoDB.
353
+ * If a build is already in progress (within 60s), returns immediately.
354
+ *
355
+ */
356
+ 'post'(
357
+ parameters?: Parameters<UnknownParamsObject> | null,
358
+ data?: any,
359
+ config?: AxiosRequestConfig
360
+ ): OperationResponse<Paths.RebuildIndex.Responses.$200>
361
+ }
362
+ }
363
+
364
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
365
+
366
+
367
+ type ConfigDependenciesResponse = Components.Schemas.ConfigDependenciesResponse;
368
+ type ConfigListResponse = Components.Schemas.ConfigListResponse;
369
+ type ConfigNode = Components.Schemas.ConfigNode;
370
+ type ConfigTypeInfo = Components.Schemas.ConfigTypeInfo;
371
+ type ErrorResponse = Components.Schemas.ErrorResponse;
372
+ type IndexRebuildResponse = Components.Schemas.IndexRebuildResponse;
373
+ type ResourceType = Components.Schemas.ResourceType;
374
+
375
+ export { type Client as C, type ErrorResponse as E, type IndexRebuildResponse as I, type OperationMethods as O, Paths as P, type ResourceType as R, Components as a, type PathsDictionary as b, type ConfigDependenciesResponse as c, type ConfigListResponse as d, type ConfigNode as e, type ConfigTypeInfo as f };
package/dist/index.cjs CHANGED
@@ -69,7 +69,7 @@ var _chunkMB6NKETAcjs = require('./chunk-MB6NKETA.cjs');
69
69
  var _chunkG3VDRMOHcjs = require('./chunk-G3VDRMOH.cjs');
70
70
 
71
71
 
72
- var _chunk77JS7NDMcjs = require('./chunk-77JS7NDM.cjs');
72
+ var _chunkDUHAG5COcjs = require('./chunk-DUHAG5CO.cjs');
73
73
 
74
74
 
75
75
  var _chunk4ZMLRFDXcjs = require('./chunk-4ZMLRFDX.cjs');
@@ -108,7 +108,7 @@ var _chunkG5FKTWUCcjs = require('./chunk-G5FKTWUC.cjs');
108
108
  var _chunkL544VG3Bcjs = require('./chunk-L544VG3B.cjs');
109
109
 
110
110
 
111
- var _chunkQ7OKRNUGcjs = require('./chunk-Q7OKRNUG.cjs');
111
+ var _chunkVFCH5IELcjs = require('./chunk-VFCH5IEL.cjs');
112
112
 
113
113
 
114
114
  var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
@@ -152,7 +152,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
152
152
 
153
153
 
154
154
 
155
- var _chunkNOYX4W47cjs = require('./chunk-NOYX4W47.cjs');
155
+ var _chunkL37V2R32cjs = require('./chunk-L37V2R32.cjs');
156
156
 
157
157
 
158
158
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -219,7 +219,7 @@ var resolveClient = (params) => {
219
219
  }
220
220
  if (!entry.instance) {
221
221
  const definition = entry.loader();
222
- entry.instance = _chunkNOYX4W47cjs.createApiClient.call(void 0, {
222
+ entry.instance = _chunkL37V2R32cjs.createApiClient.call(void 0, {
223
223
  definition,
224
224
  token: state.token,
225
225
  headers: state.globalHeaders,
@@ -252,7 +252,7 @@ var resetAllClients = (registry) => {
252
252
  };
253
253
 
254
254
  // src/apis/_registry.ts
255
- var expandDef = (mod) => _chunkNOYX4W47cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
255
+ var expandDef = (mod) => _chunkL37V2R32cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
256
256
  var registerBuiltinApis = (registry) => {
257
257
  registerApi({
258
258
  registry,
@@ -302,7 +302,7 @@ var registerBuiltinApis = (registry) => {
302
302
  registerApi({
303
303
  registry,
304
304
  name: "configurationHub",
305
- loader: () => expandDef(_chunkQ7OKRNUGcjs.require_configuration_hub_runtime.call(void 0, ))
305
+ loader: () => expandDef(_chunkVFCH5IELcjs.require_configuration_hub_runtime.call(void 0, ))
306
306
  });
307
307
  registerApi({
308
308
  registry,
@@ -397,7 +397,7 @@ var registerBuiltinApis = (registry) => {
397
397
  registerApi({
398
398
  registry,
399
399
  name: "message",
400
- loader: () => expandDef(_chunk77JS7NDMcjs.require_message_runtime.call(void 0, ))
400
+ loader: () => expandDef(_chunkDUHAG5COcjs.require_message_runtime.call(void 0, ))
401
401
  });
402
402
  registerApi({
403
403
  registry,
@@ -585,9 +585,9 @@ var createSDK = () => {
585
585
  const available = [...registry.keys()].join(", ");
586
586
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
587
587
  }
588
- return _chunkNOYX4W47cjs.createApiHandle.call(void 0, {
588
+ return _chunkL37V2R32cjs.createApiHandle.call(void 0, {
589
589
  resolveClient: () => resolveClient({ registry, name, state }),
590
- createClient: () => _chunkNOYX4W47cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
590
+ createClient: () => _chunkL37V2R32cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
591
591
  apiName: name
592
592
  });
593
593
  };
@@ -635,9 +635,9 @@ var createSDK = () => {
635
635
  return interceptorUse;
636
636
  }
637
637
  case "help":
638
- return (apiName) => _chunkNOYX4W47cjs.help.call(void 0, apiName);
638
+ return (apiName) => _chunkL37V2R32cjs.help.call(void 0, apiName);
639
639
  case "openapi":
640
- return (apiName) => _chunkNOYX4W47cjs.openapi.call(void 0, apiName);
640
+ return (apiName) => _chunkL37V2R32cjs.openapi.call(void 0, apiName);
641
641
  case "then":
642
642
  case "catch":
643
643
  case "finally":
@@ -667,4 +667,4 @@ var epilot = createSDK();
667
667
 
668
668
 
669
669
 
670
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkNOYX4W47cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkNOYX4W47cjs.help; exports.openapi = _chunkNOYX4W47cjs.openapi;
670
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkL37V2R32cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkL37V2R32cjs.help; exports.openapi = _chunkL37V2R32cjs.openapi;
package/dist/index.d.cts CHANGED
@@ -12,7 +12,7 @@ import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
12
12
  import { C as Client$6 } from './automation.d-CzhG2m4L.cjs';
13
13
  import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
14
14
  import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.cjs';
15
- import { C as Client$9 } from './configuration-hub.d-CqvhcMOn.cjs';
15
+ import { C as Client$9 } from './configuration-hub.d-DZE3wTQE.cjs';
16
16
  import { C as Client$a } from './consent.d-C2PROHhX.cjs';
17
17
  import { C as Client$b } from './customer-portal.d-DyZ2n2dW.cjs';
18
18
  import { C as Client$c } from './dashboard.d-CsGcA74I.cjs';
@@ -31,7 +31,7 @@ import { C as Client$o } from './iban.d-BwdiGbxi.cjs';
31
31
  import { C as Client$p } from './integration-toolkit.d-Ry-KC9ow.cjs';
32
32
  import { C as Client$q } from './journey.d-ClXO0xK8.cjs';
33
33
  import { C as Client$r } from './kanban.d-B99GucT_.cjs';
34
- import { C as Client$s } from './message.d-D3QUkBjg.cjs';
34
+ import { C as Client$s } from './message.d-B5UuSqgw.cjs';
35
35
  import { C as Client$t } from './metering.d-DvtPv7wk.cjs';
36
36
  import { C as Client$u } from './notes.d-BC-scR42.cjs';
37
37
  import { C as Client$v } from './notification.d-BfBL3lga.cjs';
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
12
12
  import { C as Client$6 } from './automation.d-CzhG2m4L.js';
13
13
  import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
14
14
  import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.js';
15
- import { C as Client$9 } from './configuration-hub.d-CqvhcMOn.js';
15
+ import { C as Client$9 } from './configuration-hub.d-DZE3wTQE.js';
16
16
  import { C as Client$a } from './consent.d-C2PROHhX.js';
17
17
  import { C as Client$b } from './customer-portal.d-DyZ2n2dW.js';
18
18
  import { C as Client$c } from './dashboard.d-CsGcA74I.js';
@@ -31,7 +31,7 @@ import { C as Client$o } from './iban.d-BwdiGbxi.js';
31
31
  import { C as Client$p } from './integration-toolkit.d-Ry-KC9ow.js';
32
32
  import { C as Client$q } from './journey.d-ClXO0xK8.js';
33
33
  import { C as Client$r } from './kanban.d-B99GucT_.js';
34
- import { C as Client$s } from './message.d-D3QUkBjg.js';
34
+ import { C as Client$s } from './message.d-B5UuSqgw.js';
35
35
  import { C as Client$t } from './metering.d-DvtPv7wk.js';
36
36
  import { C as Client$u } from './notes.d-BC-scR42.js';
37
37
  import { C as Client$v } from './notification.d-BfBL3lga.js';
package/dist/index.js CHANGED
@@ -69,7 +69,7 @@ import {
69
69
  } from "./chunk-IQOCHPWU.js";
70
70
  import {
71
71
  require_message_runtime
72
- } from "./chunk-DLYPVF4U.js";
72
+ } from "./chunk-FAZ63FEX.js";
73
73
  import {
74
74
  require_metering_runtime
75
75
  } from "./chunk-265TE2OV.js";
@@ -108,7 +108,7 @@ import {
108
108
  } from "./chunk-O2YVXGPZ.js";
109
109
  import {
110
110
  require_configuration_hub_runtime
111
- } from "./chunk-4JAOFRYX.js";
111
+ } from "./chunk-AOFZDDXN.js";
112
112
  import {
113
113
  require_consent_runtime
114
114
  } from "./chunk-2BPBDRRO.js";
@@ -152,7 +152,7 @@ import {
152
152
  expand,
153
153
  help,
154
154
  openapi
155
- } from "./chunk-KY7TIDRJ.js";
155
+ } from "./chunk-OMNMMMRJ.js";
156
156
  import {
157
157
  __require
158
158
  } from "./chunk-YPSWSI3M.js";