@epilot/sdk 2.4.4-alpha.0 → 2.4.4

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 (222) hide show
  1. package/dist/access-token.d-CnmUTOlq.d.cts +552 -0
  2. package/dist/access-token.d-CnmUTOlq.d.ts +552 -0
  3. package/dist/address-suggestions.d-_YwTOR-9.d.cts +339 -0
  4. package/dist/address-suggestions.d-_YwTOR-9.d.ts +339 -0
  5. package/dist/address.d-CwAPOVxa.d.cts +437 -0
  6. package/dist/address.d-CwAPOVxa.d.ts +437 -0
  7. package/dist/ai-agents.d-OkXfr2bz.d.cts +1339 -0
  8. package/dist/ai-agents.d-OkXfr2bz.d.ts +1339 -0
  9. package/dist/apis/access-token.d.cts +18 -0
  10. package/dist/apis/access-token.d.ts +12 -9
  11. package/dist/apis/address-suggestions.d.cts +18 -0
  12. package/dist/apis/address-suggestions.d.ts +12 -9
  13. package/dist/apis/address.d.cts +18 -0
  14. package/dist/apis/address.d.ts +12 -9
  15. package/dist/apis/ai-agents.d.cts +18 -0
  16. package/dist/apis/ai-agents.d.ts +12 -9
  17. package/dist/apis/app.d.cts +18 -0
  18. package/dist/apis/app.d.ts +12 -9
  19. package/dist/apis/audit-logs.d.cts +18 -0
  20. package/dist/apis/audit-logs.d.ts +12 -9
  21. package/dist/apis/automation.d.cts +18 -0
  22. package/dist/apis/automation.d.ts +12 -9
  23. package/dist/apis/billing.d.cts +18 -0
  24. package/dist/apis/billing.d.ts +12 -9
  25. package/dist/apis/blueprint-manifest.d.cts +18 -0
  26. package/dist/apis/blueprint-manifest.d.ts +12 -9
  27. package/dist/apis/calendar.d.cts +18 -0
  28. package/dist/apis/calendar.d.ts +12 -9
  29. package/dist/apis/configuration-hub.d.cts +18 -0
  30. package/dist/apis/configuration-hub.d.ts +12 -9
  31. package/dist/apis/consent.d.cts +18 -0
  32. package/dist/apis/consent.d.ts +12 -9
  33. package/dist/apis/customer-portal.d.cts +18 -0
  34. package/dist/apis/customer-portal.d.ts +12 -9
  35. package/dist/apis/dashboard.d.cts +18 -0
  36. package/dist/apis/dashboard.d.ts +12 -9
  37. package/dist/apis/data-governance.d.cts +18 -0
  38. package/dist/apis/data-governance.d.ts +12 -9
  39. package/dist/apis/deduplication.d.cts +18 -0
  40. package/dist/apis/deduplication.d.ts +12 -9
  41. package/dist/apis/design.d.cts +18 -0
  42. package/dist/apis/design.d.ts +12 -9
  43. package/dist/apis/document.d.cts +18 -0
  44. package/dist/apis/document.d.ts +12 -9
  45. package/dist/apis/email-settings.d.cts +18 -0
  46. package/dist/apis/email-settings.d.ts +12 -9
  47. package/dist/apis/email-template.d.cts +18 -0
  48. package/dist/apis/email-template.d.ts +12 -9
  49. package/dist/apis/entity-mapping.d.cts +18 -0
  50. package/dist/apis/entity-mapping.d.ts +12 -9
  51. package/dist/apis/entity.d.cts +18 -0
  52. package/dist/apis/entity.d.ts +12 -9
  53. package/dist/apis/environments.d.cts +18 -0
  54. package/dist/apis/environments.d.ts +12 -9
  55. package/dist/apis/event-catalog.d.cts +18 -0
  56. package/dist/apis/event-catalog.d.ts +12 -9
  57. package/dist/apis/file.d.cts +18 -0
  58. package/dist/apis/file.d.ts +12 -9
  59. package/dist/apis/iban.d.cts +18 -0
  60. package/dist/apis/iban.d.ts +12 -9
  61. package/dist/apis/integration-toolkit.d.cts +18 -0
  62. package/dist/apis/integration-toolkit.d.ts +12 -9
  63. package/dist/apis/journey.d.cts +18 -0
  64. package/dist/apis/journey.d.ts +12 -9
  65. package/dist/apis/kanban.d.cts +18 -0
  66. package/dist/apis/kanban.d.ts +12 -9
  67. package/dist/apis/message.d.cts +18 -0
  68. package/dist/apis/message.d.ts +12 -9
  69. package/dist/apis/metering.d.cts +18 -0
  70. package/dist/apis/metering.d.ts +12 -9
  71. package/dist/apis/notes.d.cts +18 -0
  72. package/dist/apis/notes.d.ts +12 -9
  73. package/dist/apis/notification.d.cts +18 -0
  74. package/dist/apis/notification.d.ts +12 -9
  75. package/dist/apis/organization.d.cts +18 -0
  76. package/dist/apis/organization.d.ts +12 -9
  77. package/dist/apis/partner-directory.d.cts +18 -0
  78. package/dist/apis/partner-directory.d.ts +12 -9
  79. package/dist/apis/permissions.d.cts +18 -0
  80. package/dist/apis/permissions.d.ts +12 -9
  81. package/dist/apis/pricing-tier.d.cts +18 -0
  82. package/dist/apis/pricing-tier.d.ts +12 -9
  83. package/dist/apis/pricing.d.cts +18 -0
  84. package/dist/apis/pricing.d.ts +12 -9
  85. package/dist/apis/purpose.d.cts +18 -0
  86. package/dist/apis/purpose.d.ts +12 -9
  87. package/dist/apis/query.d.cts +18 -0
  88. package/dist/apis/query.d.ts +12 -9
  89. package/dist/apis/sandbox.d.cts +18 -0
  90. package/dist/apis/sandbox.d.ts +12 -9
  91. package/dist/apis/sharing.d.cts +18 -0
  92. package/dist/apis/sharing.d.ts +12 -9
  93. package/dist/apis/submission.d.cts +18 -0
  94. package/dist/apis/submission.d.ts +12 -9
  95. package/dist/apis/target.d.cts +597 -0
  96. package/dist/apis/target.d.ts +591 -9
  97. package/dist/apis/targeting.d.cts +18 -0
  98. package/dist/apis/targeting.d.ts +12 -9
  99. package/dist/apis/template-variables.d.cts +18 -0
  100. package/dist/apis/template-variables.d.ts +12 -9
  101. package/dist/apis/user.d.cts +18 -0
  102. package/dist/apis/user.d.ts +12 -9
  103. package/dist/apis/validation-rules.d.cts +18 -0
  104. package/dist/apis/validation-rules.d.ts +12 -9
  105. package/dist/apis/webhooks.d.cts +18 -0
  106. package/dist/apis/webhooks.d.ts +12 -9
  107. package/dist/apis/workflow-definition.d.cts +18 -0
  108. package/dist/apis/workflow-definition.d.ts +12 -9
  109. package/dist/apis/workflow.d.cts +18 -0
  110. package/dist/apis/workflow.d.ts +12 -9
  111. package/dist/app.d-u7Dq42kU.d.cts +3391 -0
  112. package/dist/app.d-u7Dq42kU.d.ts +3391 -0
  113. package/dist/audit-logs.d-BRToFqeX.d.cts +287 -0
  114. package/dist/audit-logs.d-BRToFqeX.d.ts +287 -0
  115. package/dist/automation.d-Du6-uiz5.d.cts +5283 -0
  116. package/dist/automation.d-Du6-uiz5.d.ts +5283 -0
  117. package/dist/billing.d-Bs8Ku9qE.d.cts +993 -0
  118. package/dist/billing.d-Bs8Ku9qE.d.ts +993 -0
  119. package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +4343 -0
  120. package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +4343 -0
  121. package/dist/calendar.d-BEjLDagH.d.cts +353 -0
  122. package/dist/calendar.d-BEjLDagH.d.ts +353 -0
  123. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +478 -0
  124. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +478 -0
  125. package/dist/consent.d-C2PROHhX.d.cts +265 -0
  126. package/dist/consent.d-C2PROHhX.d.ts +265 -0
  127. package/dist/customer-portal.d-DyZ2n2dW.d.cts +16728 -0
  128. package/dist/customer-portal.d-DyZ2n2dW.d.ts +16728 -0
  129. package/dist/dashboard.d-CsGcA74I.d.cts +440 -0
  130. package/dist/dashboard.d-CsGcA74I.d.ts +440 -0
  131. package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
  132. package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
  133. package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
  134. package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
  135. package/dist/design.d-BRre8iLg.d.cts +2346 -0
  136. package/dist/design.d-BRre8iLg.d.ts +2346 -0
  137. package/dist/document.d-DN37pjdx.d.cts +648 -0
  138. package/dist/document.d-DN37pjdx.d.ts +648 -0
  139. package/dist/email-settings.d-B7Q_xT25.d.cts +2417 -0
  140. package/dist/email-settings.d-B7Q_xT25.d.ts +2417 -0
  141. package/dist/email-template.d-gtQkdaXM.d.cts +1188 -0
  142. package/dist/email-template.d-gtQkdaXM.d.ts +1188 -0
  143. package/dist/entity-mapping.d-DKSW3sfy.d.cts +1092 -0
  144. package/dist/entity-mapping.d-DKSW3sfy.d.ts +1092 -0
  145. package/dist/entity.d-BHR9dEon.d.cts +18479 -0
  146. package/dist/entity.d-BHR9dEon.d.ts +18479 -0
  147. package/dist/environments.d-BvqvN-PD.d.cts +382 -0
  148. package/dist/environments.d-BvqvN-PD.d.ts +382 -0
  149. package/dist/event-catalog.d-ENw6HO-w.d.cts +1511 -0
  150. package/dist/event-catalog.d-ENw6HO-w.d.ts +1511 -0
  151. package/dist/file.d-DcTJxjp7.d.cts +2992 -0
  152. package/dist/file.d-DcTJxjp7.d.ts +2992 -0
  153. package/dist/iban.d-BwdiGbxi.d.cts +70 -0
  154. package/dist/iban.d-BwdiGbxi.d.ts +70 -0
  155. package/dist/index.d.cts +182 -0
  156. package/dist/index.d.ts +182 -12
  157. package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +5796 -0
  158. package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +5796 -0
  159. package/dist/journey.d-ClXO0xK8.d.cts +1931 -0
  160. package/dist/journey.d-ClXO0xK8.d.ts +1931 -0
  161. package/dist/kanban.d-BHnSRCYW.d.cts +760 -0
  162. package/dist/kanban.d-BHnSRCYW.d.ts +760 -0
  163. package/dist/message.d-B5UuSqgw.d.cts +3811 -0
  164. package/dist/message.d-B5UuSqgw.d.ts +3811 -0
  165. package/dist/metering.d-DvtPv7wk.d.cts +1841 -0
  166. package/dist/metering.d-DvtPv7wk.d.ts +1841 -0
  167. package/dist/notes.d-BC-scR42.d.cts +1046 -0
  168. package/dist/notes.d-BC-scR42.d.ts +1046 -0
  169. package/dist/notification.d-BfBL3lga.d.cts +1147 -0
  170. package/dist/notification.d-BfBL3lga.d.ts +1147 -0
  171. package/dist/organization.d-DqwnNxMg.d.cts +1271 -0
  172. package/dist/organization.d-DqwnNxMg.d.ts +1271 -0
  173. package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
  174. package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
  175. package/dist/permissions.d-l6AT8SYP.d.cts +1279 -0
  176. package/dist/permissions.d-l6AT8SYP.d.ts +1279 -0
  177. package/dist/pricing-tier.d-Cg0jl6n_.d.cts +81 -0
  178. package/dist/pricing-tier.d-Cg0jl6n_.d.ts +81 -0
  179. package/dist/pricing.d-BHpMU4KU.d.cts +12255 -0
  180. package/dist/pricing.d-BHpMU4KU.d.ts +12255 -0
  181. package/dist/purpose.d-CbIYfTua.d.cts +372 -0
  182. package/dist/purpose.d-CbIYfTua.d.ts +372 -0
  183. package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
  184. package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
  185. package/dist/sandbox.d-BdbOFzDu.d.cts +465 -0
  186. package/dist/sandbox.d-BdbOFzDu.d.ts +465 -0
  187. package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
  188. package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
  189. package/dist/submission.d-BamwfhXw.d.cts +469 -0
  190. package/dist/submission.d-BamwfhXw.d.ts +469 -0
  191. package/dist/targeting.d-BNmcVsNS.d.cts +2057 -0
  192. package/dist/targeting.d-BNmcVsNS.d.ts +2057 -0
  193. package/dist/template-variables.d-Ble9TSBa.d.cts +1320 -0
  194. package/dist/template-variables.d-Ble9TSBa.d.ts +1320 -0
  195. package/dist/types-ChU9Acbv.d.cts +37 -0
  196. package/dist/types-ChU9Acbv.d.ts +37 -0
  197. package/dist/user.d-D18fe97W.d.cts +2270 -0
  198. package/dist/user.d-D18fe97W.d.ts +2270 -0
  199. package/dist/validation-rules.d-Db5c5zTf.d.cts +807 -0
  200. package/dist/validation-rules.d-Db5c5zTf.d.ts +807 -0
  201. package/dist/webhooks.d-pLHIL_io.d.cts +1256 -0
  202. package/dist/webhooks.d-pLHIL_io.d.ts +1256 -0
  203. package/dist/workflow-definition.d-DOeb0KVV.d.cts +1922 -0
  204. package/dist/workflow-definition.d-DOeb0KVV.d.ts +1922 -0
  205. package/dist/workflow.d-CMSKt8oN.d.cts +3151 -0
  206. package/dist/workflow.d-CMSKt8oN.d.ts +3151 -0
  207. package/package.json +1 -1
  208. package/dist/apis/_registry.d.ts +0 -8
  209. package/dist/authorize.d.ts +0 -3
  210. package/dist/bin/cli.d.ts +0 -1
  211. package/dist/client-factory.d.ts +0 -9
  212. package/dist/client-map.d.ts +0 -102
  213. package/dist/compact.d.ts +0 -22
  214. package/dist/help.d.ts +0 -12
  215. package/dist/large-response.d.ts +0 -9
  216. package/dist/openapi.d.ts +0 -12
  217. package/dist/overrides.d.ts +0 -9
  218. package/dist/proxy.d.ts +0 -14
  219. package/dist/registry.d.ts +0 -19
  220. package/dist/retry.d.ts +0 -11
  221. package/dist/sdk.d.ts +0 -29
  222. package/dist/types.d.ts +0 -53
@@ -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 };