@epilot/sdk 2.3.8 → 2.3.10

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 (146) hide show
  1. package/definitions/configuration-hub-runtime.json +1 -1
  2. package/definitions/configuration-hub.json +220 -8
  3. package/definitions/workflow-definition.json +52 -0
  4. package/definitions/workflow.json +24 -0
  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.js +1 -1
  15. package/dist/apis/audit-logs.cjs +6 -6
  16. package/dist/apis/audit-logs.js +1 -1
  17. package/dist/apis/automation.cjs +6 -6
  18. package/dist/apis/automation.js +1 -1
  19. package/dist/apis/billing.cjs +6 -6
  20. package/dist/apis/billing.js +1 -1
  21. package/dist/apis/blueprint-manifest.cjs +6 -6
  22. package/dist/apis/blueprint-manifest.js +1 -1
  23. package/dist/apis/configuration-hub.cjs +8 -8
  24. package/dist/apis/configuration-hub.d.cts +2 -2
  25. package/dist/apis/configuration-hub.d.ts +2 -2
  26. package/dist/apis/configuration-hub.js +2 -2
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/file.cjs +6 -6
  54. package/dist/apis/file.js +1 -1
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/integration-toolkit.cjs +6 -6
  58. package/dist/apis/integration-toolkit.js +1 -1
  59. package/dist/apis/journey.cjs +6 -6
  60. package/dist/apis/journey.js +1 -1
  61. package/dist/apis/kanban.cjs +6 -6
  62. package/dist/apis/kanban.js +1 -1
  63. package/dist/apis/message.cjs +6 -6
  64. package/dist/apis/message.js +1 -1
  65. package/dist/apis/metering.cjs +6 -6
  66. package/dist/apis/metering.js +1 -1
  67. package/dist/apis/notes.cjs +6 -6
  68. package/dist/apis/notes.js +1 -1
  69. package/dist/apis/notification.cjs +6 -6
  70. package/dist/apis/notification.js +1 -1
  71. package/dist/apis/organization.cjs +6 -6
  72. package/dist/apis/organization.js +1 -1
  73. package/dist/apis/partner-directory.cjs +6 -6
  74. package/dist/apis/partner-directory.js +1 -1
  75. package/dist/apis/permissions.cjs +6 -6
  76. package/dist/apis/permissions.js +1 -1
  77. package/dist/apis/pricing-tier.cjs +6 -6
  78. package/dist/apis/pricing-tier.js +1 -1
  79. package/dist/apis/pricing.cjs +6 -6
  80. package/dist/apis/pricing.js +1 -1
  81. package/dist/apis/purpose.cjs +6 -6
  82. package/dist/apis/purpose.js +1 -1
  83. package/dist/apis/query.cjs +6 -6
  84. package/dist/apis/query.js +1 -1
  85. package/dist/apis/sandbox.cjs +6 -6
  86. package/dist/apis/sandbox.js +1 -1
  87. package/dist/apis/sharing.cjs +6 -6
  88. package/dist/apis/sharing.js +1 -1
  89. package/dist/apis/submission.cjs +6 -6
  90. package/dist/apis/submission.js +1 -1
  91. package/dist/apis/target.cjs +6 -6
  92. package/dist/apis/target.js +1 -1
  93. package/dist/apis/targeting.cjs +6 -6
  94. package/dist/apis/targeting.js +1 -1
  95. package/dist/apis/template-variables.cjs +6 -6
  96. package/dist/apis/template-variables.js +1 -1
  97. package/dist/apis/user.cjs +6 -6
  98. package/dist/apis/user.js +1 -1
  99. package/dist/apis/validation-rules.cjs +6 -6
  100. package/dist/apis/validation-rules.js +1 -1
  101. package/dist/apis/webhooks.cjs +6 -6
  102. package/dist/apis/webhooks.js +1 -1
  103. package/dist/apis/workflow-definition.cjs +6 -6
  104. package/dist/apis/workflow-definition.d.cts +2 -2
  105. package/dist/apis/workflow-definition.d.ts +2 -2
  106. package/dist/apis/workflow-definition.js +1 -1
  107. package/dist/apis/workflow.cjs +6 -6
  108. package/dist/apis/workflow.d.cts +2 -2
  109. package/dist/apis/workflow.d.ts +2 -2
  110. package/dist/apis/workflow.js +1 -1
  111. package/dist/{chunk-6DZXWV2A.cjs → chunk-MDLNRFJV.cjs} +4 -4
  112. package/dist/chunk-ONOGGR6Q.js +14 -0
  113. package/dist/{chunk-7TFVO6SP.js → chunk-W7YCS4FU.js} +4 -4
  114. package/dist/chunk-ZSONBZIF.cjs +14 -0
  115. package/dist/configuration-hub-A3S6ND6R.cjs +7 -0
  116. package/dist/configuration-hub-PMAW44U5.js +7 -0
  117. package/dist/{configuration-hub-runtime-B7KKIHHY.cjs → configuration-hub-runtime-I5Y67CXD.cjs} +2 -2
  118. package/dist/{configuration-hub-runtime-TEDEKI7E.js → configuration-hub-runtime-L6IOERSP.js} +1 -1
  119. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +478 -0
  120. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +478 -0
  121. package/dist/index.cjs +10 -10
  122. package/dist/index.d.cts +3 -3
  123. package/dist/index.d.ts +3 -3
  124. package/dist/index.js +2 -2
  125. package/dist/workflow-3WBD74WR.js +7 -0
  126. package/dist/workflow-WIUZ5TOX.cjs +7 -0
  127. package/dist/workflow-definition-2VF7S23G.js +7 -0
  128. package/dist/workflow-definition-U6YXD42W.cjs +7 -0
  129. package/dist/{workflow-definition.d-ByCJK9_x.d.ts → workflow-definition.d-DOeb0KVV.d.cts} +37 -1
  130. package/dist/{workflow-definition.d-ByCJK9_x.d.cts → workflow-definition.d-DOeb0KVV.d.ts} +37 -1
  131. package/dist/{workflow.d-pD8ISOg-.d.ts → workflow.d-CMSKt8oN.d.cts} +22 -1
  132. package/dist/{workflow.d-pD8ISOg-.d.cts → workflow.d-CMSKt8oN.d.ts} +22 -1
  133. package/docs/configuration-hub.md +159 -11
  134. package/docs/workflow-definition.md +40 -8
  135. package/docs/workflow.md +57 -11
  136. package/package.json +1 -1
  137. package/dist/chunk-4JAOFRYX.js +0 -14
  138. package/dist/chunk-Q7OKRNUG.cjs +0 -14
  139. package/dist/configuration-hub-LKSRCGYT.cjs +0 -7
  140. package/dist/configuration-hub-TZ2ULWV4.js +0 -7
  141. package/dist/configuration-hub.d-CqvhcMOn.d.cts +0 -166
  142. package/dist/configuration-hub.d-CqvhcMOn.d.ts +0 -166
  143. package/dist/workflow-CQOBZ25C.cjs +0 -7
  144. package/dist/workflow-G7VFCXY7.js +0 -7
  145. package/dist/workflow-definition-CVBYKAUY.cjs +0 -7
  146. package/dist/workflow-definition-GNAKDNG7.js +0 -7
@@ -0,0 +1,478 @@
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
+ results: /* 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
+ * Alternative identifiers (short IDs, slugs, variable keys) used in cross-references
95
+ */
96
+ aliases?: string[];
97
+ /**
98
+ * Business purposes
99
+ */
100
+ purposes?: string[];
101
+ /**
102
+ * Direct link to open this config in epilot
103
+ */
104
+ link?: string; // uri
105
+ /**
106
+ * Type-specific metadata (e.g., submission count for journeys)
107
+ */
108
+ metadata?: {
109
+ [name: string]: any;
110
+ };
111
+ }
112
+ /**
113
+ * Static metadata for a config type folder in the tree.
114
+ * No downstream API calls — just type + label + icon + source API info.
115
+ *
116
+ */
117
+ export interface ConfigTypeInfo {
118
+ type: /**
119
+ * Configuration resource type identifier.
120
+ * Matches blueprint-manifest-api V3 naming conventions.
121
+ *
122
+ */
123
+ ResourceType;
124
+ /**
125
+ * Display label
126
+ * example:
127
+ * Journeys
128
+ */
129
+ label: string;
130
+ /**
131
+ * Frontend icon name
132
+ * example:
133
+ * Route
134
+ */
135
+ icon: string;
136
+ /**
137
+ * Base URL of the epilot API that owns this resource type
138
+ * example:
139
+ * https://journey.sls.epilot.io
140
+ */
141
+ source_api: string;
142
+ /**
143
+ * @epilot/sdk subpath for fetching full config payloads
144
+ * example:
145
+ * @epilot/sdk/journey
146
+ */
147
+ sdk_client: string;
148
+ }
149
+ export interface ErrorResponse {
150
+ status: number;
151
+ error: string;
152
+ }
153
+ /**
154
+ * Result of an index rebuild operation
155
+ */
156
+ export interface IndexRebuildResponse {
157
+ status: "ready" | "building" | "failed" | "already_building";
158
+ last_built_at?: string; // date-time
159
+ total_items?: number;
160
+ build_duration_ms?: number;
161
+ failed_types?: string[];
162
+ }
163
+ /**
164
+ * Current index build state
165
+ */
166
+ export interface IndexStatusResponse {
167
+ status: "missing" | "building" | "ready" | "failed";
168
+ last_built_at?: string; // date-time
169
+ total_items?: number;
170
+ build_duration_ms?: number;
171
+ }
172
+ /**
173
+ * Configuration resource type identifier.
174
+ * Matches blueprint-manifest-api V3 naming conventions.
175
+ *
176
+ */
177
+ export type ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "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" | "access_token";
178
+ }
179
+ }
180
+ declare namespace Paths {
181
+ namespace GetConfigDependencies {
182
+ namespace Parameters {
183
+ export type Cursor = string;
184
+ export type Id = string;
185
+ export type Size = number;
186
+ export type Type = /**
187
+ * Configuration resource type identifier.
188
+ * Matches blueprint-manifest-api V3 naming conventions.
189
+ *
190
+ */
191
+ Components.Schemas.ResourceType;
192
+ }
193
+ export interface PathParameters {
194
+ type: Parameters.Type;
195
+ id: Parameters.Id;
196
+ }
197
+ export interface QueryParameters {
198
+ cursor?: Parameters.Cursor;
199
+ size?: Parameters.Size;
200
+ }
201
+ namespace Responses {
202
+ export type $200 = /* Cursor-paginated list of configs referenced by a given config */ Components.Schemas.ConfigDependenciesResponse;
203
+ export type $404 = Components.Schemas.ErrorResponse;
204
+ }
205
+ }
206
+ namespace GetConfigUsedBy {
207
+ namespace Parameters {
208
+ export type Id = string;
209
+ export type Type = /**
210
+ * Configuration resource type identifier.
211
+ * Matches blueprint-manifest-api V3 naming conventions.
212
+ *
213
+ */
214
+ Components.Schemas.ResourceType;
215
+ }
216
+ export interface PathParameters {
217
+ type: Parameters.Type;
218
+ id: Parameters.Id;
219
+ }
220
+ namespace Responses {
221
+ export type $200 = /* Cursor-paginated list of configs referenced by a given config */ Components.Schemas.ConfigDependenciesResponse;
222
+ }
223
+ }
224
+ namespace GetIndex {
225
+ namespace Responses {
226
+ export type $200 = /* Current index build state */ Components.Schemas.IndexStatusResponse;
227
+ }
228
+ }
229
+ namespace ListConfigTypes {
230
+ namespace Responses {
231
+ export interface $200 {
232
+ results: /**
233
+ * Static metadata for a config type folder in the tree.
234
+ * No downstream API calls — just type + label + icon + source API info.
235
+ *
236
+ */
237
+ Components.Schemas.ConfigTypeInfo[];
238
+ }
239
+ }
240
+ }
241
+ namespace ListConfigs {
242
+ namespace Parameters {
243
+ export type ActiveOnly = boolean;
244
+ export type BlueprintIds = string;
245
+ export type Cursor = string;
246
+ export type Purposes = string;
247
+ export type Q = string;
248
+ export type Size = number;
249
+ export type Sort = "updated_at" | "usage";
250
+ export type Type = /**
251
+ * Configuration resource type identifier.
252
+ * Matches blueprint-manifest-api V3 naming conventions.
253
+ *
254
+ */
255
+ Components.Schemas.ResourceType;
256
+ export type UpdatedAfter = string; // date-time
257
+ export type UpdatedBefore = string; // date-time
258
+ }
259
+ export interface PathParameters {
260
+ type: Parameters.Type;
261
+ }
262
+ export interface QueryParameters {
263
+ cursor?: Parameters.Cursor;
264
+ size?: Parameters.Size;
265
+ q?: Parameters.Q;
266
+ updated_after?: Parameters.UpdatedAfter /* date-time */;
267
+ updated_before?: Parameters.UpdatedBefore /* date-time */;
268
+ purposes?: Parameters.Purposes;
269
+ blueprint_ids?: Parameters.BlueprintIds;
270
+ sort?: Parameters.Sort;
271
+ active_only?: Parameters.ActiveOnly;
272
+ }
273
+ namespace Responses {
274
+ export type $200 = /* Cursor-paginated list of configs for a specific type */ Components.Schemas.ConfigListResponse;
275
+ export type $400 = Components.Schemas.ErrorResponse;
276
+ }
277
+ }
278
+ namespace RebuildIndex {
279
+ namespace Responses {
280
+ export type $200 = /* Result of an index rebuild operation */ Components.Schemas.IndexRebuildResponse;
281
+ }
282
+ }
283
+ }
284
+
285
+
286
+ interface OperationMethods {
287
+ /**
288
+ * listConfigTypes - listConfigTypes
289
+ *
290
+ * Returns the static list of available configuration types with display metadata.
291
+ * This is a cheap call — no fan-out to downstream APIs. Returns all known types
292
+ * with labels and icons. The frontend should then call `listConfigs` separately
293
+ * for each type it wants to load.
294
+ *
295
+ */
296
+ 'listConfigTypes'(
297
+ parameters?: Parameters<UnknownParamsObject> | null,
298
+ data?: any,
299
+ config?: AxiosRequestConfig
300
+ ): OperationResponse<Paths.ListConfigTypes.Responses.$200>
301
+ /**
302
+ * listConfigs - listConfigs
303
+ *
304
+ * List configs of a given type with pagination. Returns summary metadata only
305
+ * (not full payloads). The frontend calls this per type folder when expanding.
306
+ *
307
+ * Supports offset-based pagination via `from` and `size` parameters.
308
+ *
309
+ */
310
+ 'listConfigs'(
311
+ parameters?: Parameters<Paths.ListConfigs.QueryParameters & Paths.ListConfigs.PathParameters> | null,
312
+ data?: any,
313
+ config?: AxiosRequestConfig
314
+ ): OperationResponse<Paths.ListConfigs.Responses.$200>
315
+ /**
316
+ * getConfigDependencies - getConfigDependencies
317
+ *
318
+ * Get configs that are referenced by the given config.
319
+ * Used to render children when expanding a config node in the tree.
320
+ *
321
+ * Resolves dependencies by fetching the config payload server-side and scanning
322
+ * for references (UUIDs, source IDs, slug-based references).
323
+ *
324
+ */
325
+ 'getConfigDependencies'(
326
+ parameters?: Parameters<Paths.GetConfigDependencies.QueryParameters & Paths.GetConfigDependencies.PathParameters> | null,
327
+ data?: any,
328
+ config?: AxiosRequestConfig
329
+ ): OperationResponse<Paths.GetConfigDependencies.Responses.$200>
330
+ /**
331
+ * getConfigUsedBy - getConfigUsedBy
332
+ *
333
+ * Get configs that reference the given config (reverse dependencies).
334
+ * Scans the indexed config items for references to this config's ID or aliases.
335
+ *
336
+ */
337
+ 'getConfigUsedBy'(
338
+ parameters?: Parameters<Paths.GetConfigUsedBy.PathParameters> | null,
339
+ data?: any,
340
+ config?: AxiosRequestConfig
341
+ ): OperationResponse<Paths.GetConfigUsedBy.Responses.$200>
342
+ /**
343
+ * getIndex - getIndex
344
+ *
345
+ * Return the current index build state for the caller's organization.
346
+ * Clients poll this to decide whether to show a "building" indicator
347
+ * and when to refetch data.
348
+ *
349
+ */
350
+ 'getIndex'(
351
+ parameters?: Parameters<UnknownParamsObject> | null,
352
+ data?: any,
353
+ config?: AxiosRequestConfig
354
+ ): OperationResponse<Paths.GetIndex.Responses.$200>
355
+ /**
356
+ * rebuildIndex - rebuildIndex
357
+ *
358
+ * Rebuild the configuration index for the caller's organization.
359
+ * Fire-and-forget: invokes the async worker and returns immediately.
360
+ * A new rebuild will cancel any in-flight build (see `build_token`).
361
+ *
362
+ */
363
+ 'rebuildIndex'(
364
+ parameters?: Parameters<UnknownParamsObject> | null,
365
+ data?: any,
366
+ config?: AxiosRequestConfig
367
+ ): OperationResponse<Paths.RebuildIndex.Responses.$200>
368
+ }
369
+
370
+ interface PathsDictionary {
371
+ ['/v1/configs/types']: {
372
+ /**
373
+ * listConfigTypes - listConfigTypes
374
+ *
375
+ * Returns the static list of available configuration types with display metadata.
376
+ * This is a cheap call — no fan-out to downstream APIs. Returns all known types
377
+ * with labels and icons. The frontend should then call `listConfigs` separately
378
+ * for each type it wants to load.
379
+ *
380
+ */
381
+ 'get'(
382
+ parameters?: Parameters<UnknownParamsObject> | null,
383
+ data?: any,
384
+ config?: AxiosRequestConfig
385
+ ): OperationResponse<Paths.ListConfigTypes.Responses.$200>
386
+ }
387
+ ['/v1/configs/{type}']: {
388
+ /**
389
+ * listConfigs - listConfigs
390
+ *
391
+ * List configs of a given type with pagination. Returns summary metadata only
392
+ * (not full payloads). The frontend calls this per type folder when expanding.
393
+ *
394
+ * Supports offset-based pagination via `from` and `size` parameters.
395
+ *
396
+ */
397
+ 'get'(
398
+ parameters?: Parameters<Paths.ListConfigs.QueryParameters & Paths.ListConfigs.PathParameters> | null,
399
+ data?: any,
400
+ config?: AxiosRequestConfig
401
+ ): OperationResponse<Paths.ListConfigs.Responses.$200>
402
+ }
403
+ ['/v1/configs/{type}/{id}/dependencies']: {
404
+ /**
405
+ * getConfigDependencies - getConfigDependencies
406
+ *
407
+ * Get configs that are referenced by the given config.
408
+ * Used to render children when expanding a config node in the tree.
409
+ *
410
+ * Resolves dependencies by fetching the config payload server-side and scanning
411
+ * for references (UUIDs, source IDs, slug-based references).
412
+ *
413
+ */
414
+ 'get'(
415
+ parameters?: Parameters<Paths.GetConfigDependencies.QueryParameters & Paths.GetConfigDependencies.PathParameters> | null,
416
+ data?: any,
417
+ config?: AxiosRequestConfig
418
+ ): OperationResponse<Paths.GetConfigDependencies.Responses.$200>
419
+ }
420
+ ['/v1/configs/{type}/{id}/used_by']: {
421
+ /**
422
+ * getConfigUsedBy - getConfigUsedBy
423
+ *
424
+ * Get configs that reference the given config (reverse dependencies).
425
+ * Scans the indexed config items for references to this config's ID or aliases.
426
+ *
427
+ */
428
+ 'get'(
429
+ parameters?: Parameters<Paths.GetConfigUsedBy.PathParameters> | null,
430
+ data?: any,
431
+ config?: AxiosRequestConfig
432
+ ): OperationResponse<Paths.GetConfigUsedBy.Responses.$200>
433
+ }
434
+ ['/v1/configs/index']: {
435
+ /**
436
+ * getIndex - getIndex
437
+ *
438
+ * Return the current index build state for the caller's organization.
439
+ * Clients poll this to decide whether to show a "building" indicator
440
+ * and when to refetch data.
441
+ *
442
+ */
443
+ 'get'(
444
+ parameters?: Parameters<UnknownParamsObject> | null,
445
+ data?: any,
446
+ config?: AxiosRequestConfig
447
+ ): OperationResponse<Paths.GetIndex.Responses.$200>
448
+ }
449
+ ['/v1/configs/index:rebuild']: {
450
+ /**
451
+ * rebuildIndex - rebuildIndex
452
+ *
453
+ * Rebuild the configuration index for the caller's organization.
454
+ * Fire-and-forget: invokes the async worker and returns immediately.
455
+ * A new rebuild will cancel any in-flight build (see `build_token`).
456
+ *
457
+ */
458
+ 'post'(
459
+ parameters?: Parameters<UnknownParamsObject> | null,
460
+ data?: any,
461
+ config?: AxiosRequestConfig
462
+ ): OperationResponse<Paths.RebuildIndex.Responses.$200>
463
+ }
464
+ }
465
+
466
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
467
+
468
+
469
+ type ConfigDependenciesResponse = Components.Schemas.ConfigDependenciesResponse;
470
+ type ConfigListResponse = Components.Schemas.ConfigListResponse;
471
+ type ConfigNode = Components.Schemas.ConfigNode;
472
+ type ConfigTypeInfo = Components.Schemas.ConfigTypeInfo;
473
+ type ErrorResponse = Components.Schemas.ErrorResponse;
474
+ type IndexRebuildResponse = Components.Schemas.IndexRebuildResponse;
475
+ type IndexStatusResponse = Components.Schemas.IndexStatusResponse;
476
+ type ResourceType = Components.Schemas.ResourceType;
477
+
478
+ 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, type IndexStatusResponse as g };
package/dist/index.cjs CHANGED
@@ -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 _chunkZSONBZIFcjs = require('./chunk-ZSONBZIF.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 _chunk6DZXWV2Acjs = require('./chunk-6DZXWV2A.cjs');
155
+ var _chunkMDLNRFJVcjs = require('./chunk-MDLNRFJV.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 = _chunk6DZXWV2Acjs.createApiClient.call(void 0, {
222
+ entry.instance = _chunkMDLNRFJVcjs.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) => _chunk6DZXWV2Acjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
255
+ var expandDef = (mod) => _chunkMDLNRFJVcjs.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(_chunkZSONBZIFcjs.require_configuration_hub_runtime.call(void 0, ))
306
306
  });
307
307
  registerApi({
308
308
  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 _chunk6DZXWV2Acjs.createApiHandle.call(void 0, {
588
+ return _chunkMDLNRFJVcjs.createApiHandle.call(void 0, {
589
589
  resolveClient: () => resolveClient({ registry, name, state }),
590
- createClient: () => _chunk6DZXWV2Acjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
590
+ createClient: () => _chunkMDLNRFJVcjs.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) => _chunk6DZXWV2Acjs.help.call(void 0, apiName);
638
+ return (apiName) => _chunkMDLNRFJVcjs.help.call(void 0, apiName);
639
639
  case "openapi":
640
- return (apiName) => _chunk6DZXWV2Acjs.openapi.call(void 0, apiName);
640
+ return (apiName) => _chunkMDLNRFJVcjs.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 = _chunk6DZXWV2Acjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunk6DZXWV2Acjs.help; exports.openapi = _chunk6DZXWV2Acjs.openapi;
670
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkMDLNRFJVcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkMDLNRFJVcjs.help; exports.openapi = _chunkMDLNRFJVcjs.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-Cqaq2F-W.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';
@@ -50,8 +50,8 @@ import { C as Client$H } from './template-variables.d-Ble9TSBa.cjs';
50
50
  import { C as Client$I } from './user.d-D18fe97W.cjs';
51
51
  import { C as Client$J } from './validation-rules.d-Db5c5zTf.cjs';
52
52
  import { C as Client$K } from './webhooks.d-pLHIL_io.cjs';
53
- import { C as Client$L } from './workflow.d-pD8ISOg-.cjs';
54
- import { C as Client$M } from './workflow-definition.d-ByCJK9_x.cjs';
53
+ import { C as Client$L } from './workflow.d-CMSKt8oN.cjs';
54
+ import { C as Client$M } from './workflow-definition.d-DOeb0KVV.cjs';
55
55
 
56
56
  type SDKClientMap = {
57
57
  accessToken: Client;
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-Cqaq2F-W.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';
@@ -50,8 +50,8 @@ import { C as Client$H } from './template-variables.d-Ble9TSBa.js';
50
50
  import { C as Client$I } from './user.d-D18fe97W.js';
51
51
  import { C as Client$J } from './validation-rules.d-Db5c5zTf.js';
52
52
  import { C as Client$K } from './webhooks.d-pLHIL_io.js';
53
- import { C as Client$L } from './workflow.d-pD8ISOg-.js';
54
- import { C as Client$M } from './workflow-definition.d-ByCJK9_x.js';
53
+ import { C as Client$L } from './workflow.d-CMSKt8oN.js';
54
+ import { C as Client$M } from './workflow-definition.d-DOeb0KVV.js';
55
55
 
56
56
  type SDKClientMap = {
57
57
  accessToken: Client;
package/dist/index.js CHANGED
@@ -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-ONOGGR6Q.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-7TFVO6SP.js";
155
+ } from "./chunk-W7YCS4FU.js";
156
156
  import {
157
157
  __require
158
158
  } from "./chunk-YPSWSI3M.js";