@kestra-io/kestra-sdk 2.0.1 → 2.0.2

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 (188) hide show
  1. package/README.md +104 -12
  2. package/dist/Ai.gen--rKF8Qf5.d.ts +54 -0
  3. package/dist/AiAdmin.gen-BIR4eNgZ.d.ts +30 -0
  4. package/dist/Apps.gen-BqubzTRF.d.ts +157 -0
  5. package/dist/Assets.gen-DIzY6Tm2.d.ts +102 -0
  6. package/dist/AuditLogs.gen-nAem0Cy6.d.ts +39 -0
  7. package/dist/Auths.gen-DLDwlEsE.d.ts +42 -0
  8. package/dist/{Banners.gen-4KOBOSkY.d.ts → Banners.gen-e0HHbnSf.d.ts} +2 -2
  9. package/dist/Bindings.gen-Q0JXlAH-.d.ts +36 -0
  10. package/dist/BlueprintTags.gen-C6ktyk5W.d.ts +18 -0
  11. package/dist/Blueprints.gen-6hHpfbVq.d.ts +112 -0
  12. package/dist/Cases.gen-DgvI88ve.d.ts +246 -0
  13. package/dist/CasesAdmin.gen-DDxiJyKp.d.ts +36 -0
  14. package/dist/Cluster.gen-DVrp3X7k.d.ts +13 -0
  15. package/dist/Dashboards.gen-1XIKOm-m.d.ts +80 -0
  16. package/dist/DashboardsAdmin.gen-D6nUobjU.d.ts +12 -0
  17. package/dist/Executions.gen-YpDDV1xm.d.ts +374 -0
  18. package/dist/Expressions.gen-BOr6l06_.d.ts +12 -0
  19. package/dist/Files.gen-Ck5kAB-X.d.ts +66 -0
  20. package/dist/Groups.gen-CSf79gJt.d.ts +72 -0
  21. package/dist/Invitations.gen-CqJh2qF3.d.ts +37 -0
  22. package/dist/{KillSwitches.gen-DYX2j3BA.d.ts → KillSwitches.gen-Dz-QAjn1.d.ts} +2 -2
  23. package/dist/Kv.gen-Bji8BGtY.d.ts +42 -0
  24. package/dist/{LoginAdmin.gen-C9qXub43.d.ts → LoginAdmin.gen-DZn4JSXi.d.ts} +2 -2
  25. package/dist/Logs.gen-DQWS8XMg.d.ts +42 -0
  26. package/dist/Mcp.gen-CFTNfNtn.d.ts +49 -0
  27. package/dist/Metrics.gen-InF3TYN0.d.ts +42 -0
  28. package/dist/Misc.gen-BYpr9phU.d.ts +132 -0
  29. package/dist/Namespaces.gen-BFscn7y9.d.ts +78 -0
  30. package/dist/Notifications.gen-CC7Hhx-x.d.ts +12 -0
  31. package/dist/Outputs.gen-Cl5Eo3oS.d.ts +28 -0
  32. package/dist/Plugins.gen-CZFsDbgQ.d.ts +69 -0
  33. package/dist/Policies.gen-B3uNaqc6.d.ts +142 -0
  34. package/dist/Promote.gen-BJtdf605.d.ts +90 -0
  35. package/dist/Quotas.gen-DHqZQQMI.d.ts +18 -0
  36. package/dist/ReusableInputs.gen-DE8h03fZ.d.ts +24 -0
  37. package/dist/ReusableInputsAdmin.gen-CgaKjhhI.d.ts +24 -0
  38. package/dist/Roles.gen-4eqeWo4f.d.ts +48 -0
  39. package/dist/ScimConfiguration.gen-AvlTEQqy.d.ts +21 -0
  40. package/dist/{ScimGroups.gen-DYvChSKu.d.ts → ScimGroups.gen-BYo59KTQ.d.ts} +2 -2
  41. package/dist/{ScimUsers.gen-XDM5vHHF.d.ts → ScimUsers.gen-DPbjpoE0.d.ts} +2 -2
  42. package/dist/Secrets.gen-D0gqCCPR.d.ts +12 -0
  43. package/dist/SecurityIntegrations.gen-UQD7Z9dH.d.ts +60 -0
  44. package/dist/ServiceAccount.gen-B2J1_RJh.d.ts +91 -0
  45. package/dist/Services.gen-BuGR7Yjk.d.ts +10 -0
  46. package/dist/TenantAccess.gen-DJjhqqxv.d.ts +30 -0
  47. package/dist/{TenantAccessAdmin.gen-DQW-cqxq.d.ts → TenantAccessAdmin.gen-ColEHdKm.d.ts} +1 -1
  48. package/dist/Tenants.gen-DXIBszMy.d.ts +33 -0
  49. package/dist/{TenantsAdmin.gen-Dwrs1oo2.d.ts → TenantsAdmin.gen-kSTjqZNp.d.ts} +2 -2
  50. package/dist/TestSuites.gen-C7EdmZDf.d.ts +92 -0
  51. package/dist/Triggers.gen--Qkw4ERo.d.ts +144 -0
  52. package/dist/Users.gen-BeRreH1s.d.ts +67 -0
  53. package/dist/WorkerAuth.gen--roqj_9q.d.ts +7 -0
  54. package/dist/WorkerAuthAdmin.gen-Dp_oDKPg.d.ts +8 -0
  55. package/dist/WorkerGroups.gen-DiBc6luB.d.ts +36 -0
  56. package/dist/WorkerQueues.gen-Ci7lo36K.d.ts +7 -0
  57. package/dist/WorkerQueuesAdmin.gen-B5FrTgQV.d.ts +17 -0
  58. package/dist/ai-admin.d.ts +1 -1
  59. package/dist/ai-admin.js +1 -1
  60. package/dist/ai.d.ts +1 -1
  61. package/dist/ai.js +1 -1
  62. package/dist/all.d.ts +3399 -11
  63. package/dist/all.js +1210 -1200
  64. package/dist/apps.d.ts +1 -1
  65. package/dist/apps.js +1 -1
  66. package/dist/assets.d.ts +2 -2
  67. package/dist/assets.js +22 -2
  68. package/dist/audit-logs.d.ts +1 -1
  69. package/dist/audit-logs.js +1 -1
  70. package/dist/auths.d.ts +1 -1
  71. package/dist/auths.js +1 -1
  72. package/dist/banners.d.ts +1 -1
  73. package/dist/banners.js +1 -1
  74. package/dist/bindings.d.ts +1 -1
  75. package/dist/bindings.js +1 -1
  76. package/dist/blueprint-tags.d.ts +1 -1
  77. package/dist/blueprint-tags.js +1 -1
  78. package/dist/blueprints.d.ts +1 -1
  79. package/dist/blueprints.js +1 -1
  80. package/dist/cases-admin.d.ts +1 -1
  81. package/dist/cases-admin.js +1 -1
  82. package/dist/cases.d.ts +1 -1
  83. package/dist/cases.js +1 -1
  84. package/dist/client.d.ts +1 -1
  85. package/dist/cluster.d.ts +1 -1
  86. package/dist/cluster.js +1 -1
  87. package/dist/dashboards-admin.d.ts +1 -1
  88. package/dist/dashboards-admin.js +1 -1
  89. package/dist/dashboards.d.ts +1 -1
  90. package/dist/dashboards.js +1 -1
  91. package/dist/enterprise-only-routes.d.ts +2 -0
  92. package/dist/enterprise-only-routes.js +4 -0
  93. package/dist/enterpriseOnlyRoutes.gen-C_uAW4dS.d.ts +4 -0
  94. package/dist/executions.d.ts +1 -1
  95. package/dist/executions.js +13 -4
  96. package/dist/expressions.d.ts +1 -1
  97. package/dist/expressions.js +1 -1
  98. package/dist/files.d.ts +1 -1
  99. package/dist/files.js +1 -1
  100. package/dist/flow-from-object-QRQgo2C4.d.ts +294 -0
  101. package/dist/flow-from-object-p045taB2.js +367 -0
  102. package/dist/flows.d.ts +2 -2
  103. package/dist/flows.js +2 -270
  104. package/dist/groups.d.ts +1 -1
  105. package/dist/groups.js +1 -1
  106. package/dist/index-Df3oXFWk.d.ts +101 -0
  107. package/dist/index.d.ts +3 -58
  108. package/dist/index.js +270 -25
  109. package/dist/invitations.d.ts +1 -1
  110. package/dist/invitations.js +1 -1
  111. package/dist/kill-switches.d.ts +1 -1
  112. package/dist/kill-switches.js +1 -1
  113. package/dist/kv.d.ts +1 -1
  114. package/dist/kv.js +1 -1
  115. package/dist/login-admin.d.ts +1 -1
  116. package/dist/login-admin.js +1 -1
  117. package/dist/logs.d.ts +1 -1
  118. package/dist/logs.js +1 -1
  119. package/dist/mcp.d.ts +1 -1
  120. package/dist/mcp.js +1 -1
  121. package/dist/metrics.d.ts +1 -1
  122. package/dist/metrics.js +1 -1
  123. package/dist/misc.d.ts +1 -1
  124. package/dist/misc.js +2 -5
  125. package/dist/namespaces.d.ts +1 -1
  126. package/dist/namespaces.js +2 -2
  127. package/dist/notifications.d.ts +1 -1
  128. package/dist/notifications.js +1 -1
  129. package/dist/outputs.d.ts +1 -1
  130. package/dist/outputs.js +1 -1
  131. package/dist/plugins.d.ts +1 -1
  132. package/dist/plugins.js +1 -1
  133. package/dist/policies.d.ts +1 -1
  134. package/dist/policies.js +6 -21
  135. package/dist/promote.d.ts +1 -1
  136. package/dist/promote.js +1 -1
  137. package/dist/quotas.d.ts +1 -1
  138. package/dist/quotas.js +1 -1
  139. package/dist/reusable-inputs-admin.d.ts +1 -1
  140. package/dist/reusable-inputs-admin.js +1 -1
  141. package/dist/reusable-inputs.d.ts +1 -1
  142. package/dist/reusable-inputs.js +1 -1
  143. package/dist/roles.d.ts +1 -1
  144. package/dist/roles.js +1 -1
  145. package/dist/scim-configuration.d.ts +1 -1
  146. package/dist/scim-configuration.js +1 -1
  147. package/dist/scim-groups.d.ts +1 -1
  148. package/dist/scim-groups.js +1 -1
  149. package/dist/scim-users.d.ts +1 -1
  150. package/dist/scim-users.js +1 -1
  151. package/dist/{sdk.gen-C2tIOMuW.js → sdk.gen-D0N05hnd.js} +104 -5
  152. package/dist/{sdk.gen-BtNjZbjt.d.ts → sdk.gen-DtyzJiuU.d.ts} +39 -14
  153. package/dist/secrets.d.ts +1 -1
  154. package/dist/secrets.js +1 -1
  155. package/dist/security-integrations.d.ts +1 -1
  156. package/dist/security-integrations.js +1 -1
  157. package/dist/service-account.d.ts +1 -1
  158. package/dist/service-account.js +2 -2
  159. package/dist/services.d.ts +1 -1
  160. package/dist/services.js +1 -1
  161. package/dist/tenant-access-admin.d.ts +1 -1
  162. package/dist/tenant-access-admin.js +1 -1
  163. package/dist/tenant-access.d.ts +1 -1
  164. package/dist/tenant-access.js +1 -1
  165. package/dist/tenants-admin.d.ts +1 -1
  166. package/dist/tenants-admin.js +1 -1
  167. package/dist/tenants.d.ts +2 -2
  168. package/dist/tenants.js +5 -2
  169. package/dist/test-suites.d.ts +1 -1
  170. package/dist/test-suites.js +1 -1
  171. package/dist/triggers.d.ts +1 -1
  172. package/dist/triggers.js +1 -1
  173. package/dist/{types.gen-z_AB2inl.d.ts → types.gen-DVT5DQ0q.d.ts} +337 -105
  174. package/dist/users.d.ts +1 -1
  175. package/dist/users.js +1 -1
  176. package/dist/worker-auth-admin.d.ts +1 -1
  177. package/dist/worker-auth-admin.js +1 -1
  178. package/dist/worker-auth.d.ts +1 -1
  179. package/dist/worker-auth.js +1 -1
  180. package/dist/worker-groups.d.ts +1 -1
  181. package/dist/worker-groups.js +1 -1
  182. package/dist/worker-queues-admin.d.ts +1 -1
  183. package/dist/worker-queues-admin.js +1 -1
  184. package/dist/worker-queues.d.ts +1 -1
  185. package/dist/worker-queues.js +1 -1
  186. package/package.json +6 -4
  187. package/dist/index-CPjbMU9J.d.ts +0 -3066
  188. package/dist/rolldown-runtime-D7D4PA-g.js +0 -13
package/dist/index.js CHANGED
@@ -1,17 +1,97 @@
1
1
  import { r as formDataBodySerializer, t as client } from "./client.gen-DsMlsyw3.js";
2
+ import { ENTERPRISE_ONLY_ROUTES_JSON } from "./enterprise-only-routes.js";
2
3
  //#region ../node_modules/@kestra-io/hey-api-plugin/dist/runtime.js
3
- function canBeJsonified(str) {
4
- if (typeof str !== "string" && typeof str !== "object") return false;
5
- try {
6
- const type = str.toString();
7
- return type === "[object Object]" || type === "[object Array]";
8
- } catch {
9
- return false;
4
+ /**
5
+ * Thrown by `createConfigureClient`'s error interceptor instead of a generic normalized `Error`
6
+ * when a request 404s against a route that only exists in Kestra Enterprise Edition — e.g. an
7
+ * EE-only SDK method (`listAuditLogs`, `listApps`, ...) called against an OSS server.
8
+ *
9
+ * Carries structured fields (not just a message) so a caller can render its own "Upgrade to
10
+ * unlock X" UI — a CLI, an internal dashboard, a bot — without parsing `error.message`.
11
+ */
12
+ var EnterpriseFeatureError = class extends Error {
13
+ /** HTTP status of the underlying response. Always 404: the route genuinely doesn't exist on an OSS server. */
14
+ status;
15
+ /** Feature identifier supplied by the matching `EnterpriseFeatureConfig`, e.g. "audit-logs". */
16
+ feature;
17
+ /** Kestra Enterprise Edition docs page for this feature. */
18
+ docsUrl;
19
+ /** Contact-sales / start-a-trial link for this feature. */
20
+ contactSalesUrl;
21
+ constructor(options) {
22
+ super(`'${options.feature}' is a Kestra Enterprise Edition feature and is not available on this server. Docs: ${options.docsUrl} — Talk to us: ${options.contactSalesUrl}`);
23
+ this.name = "EnterpriseFeatureError";
24
+ this.status = options.status ?? 404;
25
+ this.feature = options.feature;
26
+ this.docsUrl = options.docsUrl;
27
+ this.contactSalesUrl = options.contactSalesUrl;
28
+ }
29
+ };
30
+ /**
31
+ * Thrown instead of {@link EnterpriseFeatureError} when a matched EE-only route 404s on a server
32
+ * that confirms it's EE — an SDK/server version mismatch, not a licensing issue.
33
+ */
34
+ var SdkVersionMismatchError = class extends Error {
35
+ /** HTTP status of the underlying response. Always 404. */
36
+ status;
37
+ /** Feature identifier supplied by the matching `EnterpriseFeatureConfig`, e.g. "audit-logs". */
38
+ feature;
39
+ constructor(options) {
40
+ super(`Route for the '${options.feature}' feature was not found on this server, but the server reports itself as Kestra Enterprise Edition. This usually means your Kestra SDK and server versions are out of sync — check that both are on compatible versions.`);
41
+ this.name = "SdkVersionMismatchError";
42
+ this.status = options.status ?? 404;
43
+ this.feature = options.feature;
10
44
  }
45
+ };
46
+ /**
47
+ * The error thrown for any `application/problem+json` response.
48
+ *
49
+ * `message` is `detail ?? title` — the most useful human string available, and deliberately not prefixed
50
+ * with the status, so a call site that surfaces `err.message` shows something a user can act on.
51
+ */
52
+ var KestraProblemError = class extends Error {
53
+ type;
54
+ title;
55
+ status;
56
+ detail;
57
+ instance;
58
+ errors;
59
+ traceId;
60
+ /** The raw body, including any extension member this interface does not declare. */
61
+ problem;
62
+ constructor(body, httpStatus) {
63
+ super(body.detail ?? body.title);
64
+ this.name = "KestraProblemError";
65
+ this.type = body.type;
66
+ this.title = body.title;
67
+ this.status = body.status ?? httpStatus ?? 0;
68
+ this.detail = body.detail;
69
+ this.instance = body.instance;
70
+ this.errors = body.errors;
71
+ this.traceId = body.traceId;
72
+ this.problem = body;
73
+ }
74
+ };
75
+ /** Whether a parsed body is a problem document. Used when the content type is unavailable or rewritten. */
76
+ function isProblemDetail(body) {
77
+ if (body === null || typeof body !== "object") return false;
78
+ const candidate = body;
79
+ return typeof candidate.type === "string" && typeof candidate.title === "string";
11
80
  }
81
+ /** Response header set by a Kestra server on every 404, naming its edition ("OSS" or "EE"). */
82
+ const EDITION_HEADER = "X-Kestra-Edition";
83
+ /**
84
+ * Response header set by a Kestra server on every 404, telling whether the request matched a route
85
+ * that exists on this server ("true") or matched no route at all ("false"). A matched route means the
86
+ * 404 came from application code running a genuine lookup, never from a route/feature that is simply
87
+ * absent — so it can never be an EE-only-route mismatch, regardless of {@link EnterpriseFeatureConfig.matchRoute}.
88
+ */
89
+ const ROUTE_MATCHED_HEADER = "X-Kestra-Route-Matched";
12
90
  function serializeQueryValue(val) {
13
- if (canBeJsonified(val)) return JSON.stringify(val);
14
- return val?.toString();
91
+ if (val == null) return void 0;
92
+ const serialized = val.toString();
93
+ if (serialized === "[object Object]" || serialized === "[object Array]") return JSON.stringify(val);
94
+ return serialized;
15
95
  }
16
96
  /**
17
97
  * Build the shared `configureClient` for a @hey-api/client-fetch `client`.
@@ -19,9 +99,13 @@ function serializeQueryValue(val) {
19
99
  * @param client the SDK's fetch client singleton (from its generated `client.gen`)
20
100
  * @param formDataBodySerializer the SDK's own multipart serializer (from its generated core), used
21
101
  * to detect multipart endpoints by identity so we don't force `application/json` on them
102
+ * @param enterpriseFeature optional — when set, a 404 whose route matches
103
+ * `enterpriseFeature.matchRoute` throws an {@link EnterpriseFeatureError} instead of the
104
+ * generic normalized error below. Only the SDK that spans both editions (client-sdk) needs
105
+ * this; the OSS/EE UI SDKs can omit it entirely and behavior is unchanged.
22
106
  * @returns a `configureClient(clientConfig?)` that installs the Kestra setup and returns `client`
23
107
  */
24
- function createConfigureClient(client, formDataBodySerializer) {
108
+ function createConfigureClient(client, formDataBodySerializer, enterpriseFeature) {
25
109
  return function configureClient(clientConfig = {}) {
26
110
  client.interceptors.request.clear();
27
111
  client.interceptors.response.clear();
@@ -34,22 +118,116 @@ function createConfigureClient(client, formDataBodySerializer) {
34
118
  },
35
119
  querySerializer(query) {
36
120
  const queryParameters = new URLSearchParams();
121
+ const isObjectRecord = (input) => {
122
+ const prototype = Object.getPrototypeOf(input);
123
+ return prototype === null || prototype === Object.prototype || !Object.getOwnPropertyDescriptor(prototype, "constructor");
124
+ };
125
+ const snapshotQueryValue = (input, seen = /* @__PURE__ */ new WeakMap(), active = /* @__PURE__ */ new WeakSet(), snapshotCustomObject = false) => {
126
+ if (input == null || typeof input !== "object") return input;
127
+ const prototype = Object.getPrototypeOf(input);
128
+ if (!snapshotCustomObject && !Array.isArray(input) && !isObjectRecord(input)) return input;
129
+ if (active.has(input)) throw new TypeError("Invalid QueryFilter array");
130
+ const existing = seen.get(input);
131
+ if (existing) return existing;
132
+ active.add(input);
133
+ try {
134
+ if (Array.isArray(input)) {
135
+ const lengthDescriptor = Object.getOwnPropertyDescriptor(input, "length");
136
+ const length = lengthDescriptor && "value" in lengthDescriptor ? lengthDescriptor.value : void 0;
137
+ if (!Number.isSafeInteger(length) || length < 0) throw new TypeError("Invalid QueryFilter array");
138
+ const snapshot = new Array(length);
139
+ seen.set(input, snapshot);
140
+ for (let index = 0; index < length; index++) {
141
+ const descriptor = Object.getOwnPropertyDescriptor(input, String(index));
142
+ if (!descriptor || !("value" in descriptor) || !descriptor.enumerable) throw new TypeError("Invalid QueryFilter array");
143
+ snapshot[index] = snapshotQueryValue(descriptor.value, seen, active, snapshotCustomObject);
144
+ }
145
+ return snapshot;
146
+ }
147
+ const snapshot = Object.create(snapshotCustomObject ? null : prototype);
148
+ seen.set(input, snapshot);
149
+ for (const key of Object.keys(input)) {
150
+ const descriptor = Object.getOwnPropertyDescriptor(input, key);
151
+ if (!descriptor || !("value" in descriptor)) throw new TypeError("Invalid QueryFilter array");
152
+ Object.defineProperty(snapshot, key, {
153
+ value: snapshotQueryValue(descriptor.value, seen, active, snapshotCustomObject && key === "children"),
154
+ enumerable: true,
155
+ configurable: true,
156
+ writable: true
157
+ });
158
+ }
159
+ return snapshot;
160
+ } finally {
161
+ active.delete(input);
162
+ }
163
+ };
164
+ const serializeQueryFilterArray = (filters, prefix = "filters", indexed = false) => {
165
+ if (filters.length === 0) return void 0;
166
+ const parameters = [];
167
+ for (let index = 0; index < filters.length; index++) {
168
+ if (!(index in filters)) return void 0;
169
+ const serialized = serializeQueryFilter(filters[index], indexed ? `${prefix}[${index}]` : prefix);
170
+ if (!serialized) return void 0;
171
+ parameters.push(...serialized);
172
+ }
173
+ return parameters;
174
+ };
175
+ const serializeQueryFilter = (filter, prefix) => {
176
+ if (filter == null || typeof filter !== "object") return void 0;
177
+ const { field, operation, value, logical, children } = filter;
178
+ if (logical === "and" || logical === "or") {
179
+ if (field !== void 0 || operation !== void 0 || value !== void 0 || !Array.isArray(children)) return void 0;
180
+ return serializeQueryFilterArray(children, `${prefix}[${logical}]`, true);
181
+ }
182
+ if (typeof field !== "string" || typeof operation !== "string" || logical !== void 0 || children !== void 0) return void 0;
183
+ if (Array.isArray(value)) {
184
+ if (value.length === 0) return void 0;
185
+ const serializedValues = [];
186
+ for (let index = 0; index < value.length; index++) {
187
+ if (!(index in value)) return void 0;
188
+ const serialized = serializeQueryValue(value[index]);
189
+ if (serialized === void 0 || serialized === "") return void 0;
190
+ serializedValues.push(serialized);
191
+ }
192
+ return [[`${prefix}[${field}][${operation}]`, serializedValues.join(",")]];
193
+ }
194
+ if (typeof value === "object" && value != null && !Array.isArray(value) && isObjectRecord(value)) {
195
+ const entries = Object.entries(value);
196
+ if (entries.length === 0) return void 0;
197
+ const parameters = [];
198
+ for (const [key, entryValue] of entries) {
199
+ const serialized = serializeQueryValue(entryValue);
200
+ if (serialized === void 0) return void 0;
201
+ parameters.push([`${prefix}[${field}][${operation}][${key}]`, serialized]);
202
+ }
203
+ return parameters;
204
+ }
205
+ const serialized = serializeQueryValue(value);
206
+ if (serialized === void 0 && !(operation === "IS_NULL" || operation === "IS_NOT_NULL")) return void 0;
207
+ return [[`${prefix}[${field}][${operation}]`, serialized ?? ""]];
208
+ };
37
209
  for (const key in query) {
38
210
  const param = query[key];
39
211
  if (param === void 0) continue;
40
- if (Array.isArray(param) && param.length > 0 && typeof param[0] === "object" && param[0] != null && "field" in param[0] && "operation" in param[0] && "value" in param[0]) for (const qf of param) {
41
- const keyField = String(qf.field);
42
- const op = String(qf.operation);
43
- if (typeof qf.value === "object" && qf.value != null && !Array.isArray(qf.value)) for (const [k, v] of Object.entries(qf.value)) {
44
- const ser = serializeQueryValue(v);
45
- if (ser !== void 0) queryParameters.append(`filters[${keyField}][${op}][${k}]`, ser);
212
+ if (key === "filters" && param !== null && !Array.isArray(param)) throw new TypeError("Invalid QueryFilter array");
213
+ let serializedFilters;
214
+ let fallbackParam = param;
215
+ if (key === "filters" && Array.isArray(param)) {
216
+ fallbackParam = snapshotQueryValue(param, /* @__PURE__ */ new WeakMap(), /* @__PURE__ */ new WeakSet(), true);
217
+ try {
218
+ structuredClone(param);
219
+ } catch {
220
+ throw new TypeError("Invalid QueryFilter array");
46
221
  }
47
- else {
48
- const ser = serializeQueryValue(qf.value);
49
- if (ser !== void 0) queryParameters.append(`filters[${keyField}][${op}]`, ser);
222
+ try {
223
+ serializedFilters = serializeQueryFilterArray(fallbackParam);
224
+ } catch {
225
+ serializedFilters = void 0;
50
226
  }
51
227
  }
52
- else if (param instanceof Array) param.forEach((value) => {
228
+ if (serializedFilters) for (const [filterKey, filterValue] of serializedFilters) queryParameters.append(filterKey, filterValue);
229
+ else if (key === "filters" && Array.isArray(param) && fallbackParam.length > 0) throw new TypeError("Invalid QueryFilter array");
230
+ else if (fallbackParam instanceof Array) fallbackParam.forEach((value) => {
53
231
  const ser = serializeQueryValue(value);
54
232
  if (ser !== void 0) queryParameters.append(key, ser);
55
233
  });
@@ -77,18 +255,34 @@ function createConfigureClient(client, formDataBodySerializer) {
77
255
  }
78
256
  if (!headers.has("accept")) {
79
257
  if (opts.parseAs === "blob") {
80
- headers.set("accept", "application/octet-stream");
258
+ headers.set("accept", "application/octet-stream, application/problem+json");
81
259
  modified = true;
82
260
  } else if (opts.parseAs === "text") {
83
- headers.set("accept", "text/csv, text/plain, text/json, application/json, application/octet-stream");
261
+ headers.set("accept", "text/csv, text/plain, text/json, application/json, application/octet-stream, application/problem+json");
84
262
  modified = true;
85
263
  }
86
264
  }
87
265
  return modified ? new Request(request, { headers }) : request;
88
266
  });
89
- client.interceptors.error.use((error, response) => {
267
+ client.interceptors.error.use((error, response, request, opts) => {
90
268
  if (!response) return error;
91
269
  const status = response.status;
270
+ if (status === 404 && enterpriseFeature && request && opts?.url && response.headers.get(ROUTE_MATCHED_HEADER) !== "true") {
271
+ const match = enterpriseFeature.matchRoute(request.method, opts.url);
272
+ if (match) {
273
+ if (response.headers.get(EDITION_HEADER) === "EE") return new SdkVersionMismatchError({
274
+ feature: match.feature,
275
+ status
276
+ });
277
+ return new EnterpriseFeatureError({
278
+ feature: match.feature,
279
+ docsUrl: enterpriseFeature.docsUrl(match.feature),
280
+ contactSalesUrl: enterpriseFeature.contactSalesUrl(match.feature),
281
+ status
282
+ });
283
+ }
284
+ }
285
+ if (response.headers.get("content-type")?.includes("application/problem+json") || isProblemDetail(error)) return new KestraProblemError(error, status);
92
286
  const asObject = error !== null && typeof error === "object" ? error : void 0;
93
287
  const rawMessage = error instanceof Error && error.message || (typeof error === "string" ? error : void 0) || (typeof asObject?.message === "string" ? asObject.message : void 0) || (typeof asObject?.detail === "string" ? asObject.detail : void 0) || (typeof asObject?.title === "string" ? asObject.title : void 0) || response.statusText || "Request failed";
94
288
  const message = rawMessage === String(status) || rawMessage.startsWith(`${status} `) || rawMessage.startsWith(`${status}:`) ? rawMessage : `${status} ${rawMessage}`;
@@ -193,7 +387,58 @@ const axiosLikeClient = {
193
387
  delete: (url, config) => axiosLikeRequest("DELETE", url, void 0, config),
194
388
  patch: (url, data, config) => axiosLikeRequest("PATCH", url, data, config)
195
389
  };
196
- const configureClient = createConfigureClient(client, formDataBodySerializer);
390
+ const enterpriseOnlyRoutes = JSON.parse(ENTERPRISE_ONLY_ROUTES_JSON);
391
+ const featureToSlugMap = {
392
+ "audit-logs": "/governance/audit-logs",
393
+ "bindings": "/auth/rbac",
394
+ "auths": "/auth/authentication",
395
+ "banners": "/instance/announcements",
396
+ "cluster": "/instance/maintenance-mode",
397
+ "mcp": "",
398
+ "services": "",
399
+ "policies": "/governance",
400
+ "plugins": "/instance/versioned-plugins",
401
+ "worker-groups": "/scalability/worker-group",
402
+ "worker-queues": "",
403
+ "worker-auth": "/auth/credentials",
404
+ "kill-switches": "/instance/kill-switch",
405
+ "misc": "",
406
+ "invitations": "/auth/invitations",
407
+ "users": "/auth/rbac",
408
+ "notifications": "",
409
+ "service-account": "/auth/service-accounts",
410
+ "tenants": "/governance/tenants",
411
+ "ai": "",
412
+ "apps": "/scalability/apps",
413
+ "assets": "/governance/assets",
414
+ "cases": "/governance/cases",
415
+ "promote": "/governance/promote",
416
+ "dashboards": "",
417
+ "blueprints": "/governance/custom-blueprints",
418
+ "blueprint-tags": "/governance/custom-blueprints",
419
+ "flows": "/governance",
420
+ "groups": "/auth/rbac",
421
+ "scim-groups": "/auth/scim",
422
+ "scim-configuration": "/auth/scim",
423
+ "scim-users": "/auth/scim",
424
+ "namespaces": "/governance/namespace-management",
425
+ "reusable-inputs": "",
426
+ "quotas": "",
427
+ "roles": "/auth/rbac",
428
+ "security-integrations": "/auth/sso",
429
+ "tenant-access": "/auth/rbac",
430
+ "test-suites": "/governance/unit-tests",
431
+ "login": "/auth/authentication"
432
+ };
433
+ const UTM_CAMPAIGN = "utm_source=sdk&utm_medium=referral&utm_campaign=ee-feature-error";
434
+ function withUtm(url, feature) {
435
+ return `${url}?${UTM_CAMPAIGN}&utm_content=${encodeURIComponent(feature)}`;
436
+ }
437
+ const configureClient = createConfigureClient(client, formDataBodySerializer, {
438
+ matchRoute: (method, path) => enterpriseOnlyRoutes[`${method} ${path}`],
439
+ docsUrl: (feature) => withUtm(`https://kestra.io/docs/enterprise${featureToSlugMap[feature] ?? ""}`, feature),
440
+ contactSalesUrl: (feature) => withUtm("https://kestra.io/demo", feature)
441
+ });
197
442
  /**
198
443
  * Set a mock client instance controlled in tests
199
444
  */
@@ -213,4 +458,4 @@ function useClient() {
213
458
  return axiosLikeClient;
214
459
  }
215
460
  //#endregion
216
- export { configureClient, setMockClient, useClient };
461
+ export { EnterpriseFeatureError, SdkVersionMismatchError, configureClient, featureToSlugMap, setMockClient, useClient };
@@ -1,2 +1,2 @@
1
- import { _a as deleteInvitation, ba as listInvitationsByEmail, ga as createInvitation, va as findAllInvitationsForCurrentUser, xa as searchInvitations, ya as invitation } from "./index-CPjbMU9J.js";
1
+ import { a as listInvitationsByEmail, i as invitation, n as deleteInvitation, o as searchInvitations, r as findAllInvitationsForCurrentUser, t as createInvitation } from "./Invitations.gen-CqJh2qF3.js";
2
2
  export { createInvitation, deleteInvitation, findAllInvitationsForCurrentUser, invitation, listInvitationsByEmail, searchInvitations };
@@ -1,4 +1,4 @@
1
- import { Pn as _043724297, Ts as _3Cb22532, Zl as _6998Eead, _ as _01367005c, sr as _04Bf1164b, tc as _473F7799 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { $l as _6998Eead, Es as _3Cb22532, Pn as _043724297, _ as _01367005c, nc as _473F7799, sr as _04Bf1164b } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
3
3
  //#region src/openapi/sdk/Invitations.gen.ts
4
4
  function findAllInvitationsForCurrentUser(options) {
@@ -1,2 +1,2 @@
1
- import { i as updateKillSwitch, n as deleteKillSwitch, r as searchKillSwitches, t as createKillSwitch } from "./KillSwitches.gen-DYX2j3BA.js";
1
+ import { i as updateKillSwitch, n as deleteKillSwitch, r as searchKillSwitches, t as createKillSwitch } from "./KillSwitches.gen-Dz-QAjn1.js";
2
2
  export { createKillSwitch, deleteKillSwitch, searchKillSwitches, updateKillSwitch };
@@ -1,4 +1,4 @@
1
- import { Aa as _1013D24e, Hc as _56C0Cddb, en as _0380059D8, rc as _489De83d } from "./sdk.gen-C2tIOMuW.js";
1
+ import { Aa as _1013D24e, Wc as _56C0Cddb, en as _0380059D8, ic as _489De83d } from "./sdk.gen-D0N05hnd.js";
2
2
  import { getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/KillSwitches.gen.ts
4
4
  /**
package/dist/kv.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { da as deleteKeyValues, fa as keyValue, ha as setKeyValue, ma as listKeysWithInheritence, pa as listAllKeys, ua as deleteKeyValue } from "./index-CPjbMU9J.js";
1
+ import { a as listKeysWithInheritence, i as listAllKeys, n as deleteKeyValues, o as setKeyValue, r as keyValue, t as deleteKeyValue } from "./Kv.gen-Bji8BGtY.js";
2
2
  export { deleteKeyValue, deleteKeyValues, keyValue, listAllKeys, listKeysWithInheritence, setKeyValue };
package/dist/kv.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Ir as _057232872, Ln as _043D2910a, bi as _06C163B2c, eo as _1D572652, qr as _05D06Cae3, st as _023C90349 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { Ir as _057232872, Ln as _043D2910a, bi as _06C163B2c, qr as _05D06Cae3, st as _023C90349, to as _1D572652 } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
3
3
  //#region src/openapi/sdk/Kv.gen.ts
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { t as login } from "./LoginAdmin.gen-C9qXub43.js";
1
+ import { t as login } from "./LoginAdmin.gen-DZn4JSXi.js";
2
2
  export { login };
@@ -1,4 +1,4 @@
1
- import { Ia as _1467C4Db } from "./sdk.gen-C2tIOMuW.js";
1
+ import { Ia as _1467C4Db } from "./sdk.gen-D0N05hnd.js";
2
2
  import { getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/LoginAdmin.gen.ts
4
4
  function login(parameters, options) {
package/dist/logs.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { aa as deleteLogsFromFlow, ca as listLogsFromExecution, ia as deleteLogsFromExecution, la as searchLogs, oa as downloadLogsFromExecution, sa as followLogsFromExecution } from "./index-CPjbMU9J.js";
1
+ import { a as listLogsFromExecution, i as followLogsFromExecution, n as deleteLogsFromFlow, o as searchLogs, r as downloadLogsFromExecution, t as deleteLogsFromExecution } from "./Logs.gen-DQWS8XMg.js";
2
2
  export { deleteLogsFromExecution, deleteLogsFromFlow, downloadLogsFromExecution, followLogsFromExecution, listLogsFromExecution, searchLogs };
package/dist/logs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $s as _459D2D6e, Ct as _02A5C7489, dc as _4Ca5D6B4, oo as _21216412, yi as _06C136Fdf, yu as _74Ae0977 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { Ct as _02A5C7489, Su as _74Ae0977, ec as _459D2D6e, pc as _4Ca5D6B4, so as _21216412, yi as _06C136Fdf } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/Logs.gen.ts
4
4
  /**
package/dist/mcp.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $i as listMcps, Qi as listAllMcpServers, Xi as createMcp, Zi as deleteMcp, ea as listTools, na as toggleMcp, ra as updateMcp, ta as mcp } from "./index-CPjbMU9J.js";
1
+ import { a as listTools, c as updateMcp, i as listMcps, n as deleteMcp, o as mcp, r as listAllMcpServers, s as toggleMcp, t as createMcp } from "./Mcp.gen-CFTNfNtn.js";
2
2
  export { createMcp, deleteMcp, listAllMcpServers, listMcps, listTools, mcp, toggleMcp, updateMcp };
package/dist/mcp.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $n as _049932423, Li as _0742Eabef, Xa as _1A59a, bc as _5031B3D7, fo as _23Aa1Afe, ms as _382Ac1A6, nt as _023284E7, x as _01561Bc11 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { $n as _049932423, Li as _0742Eabef, Sc as _5031B3D7, Za as _1A59a, hs as _382Ac1A6, nt as _023284E7, po as _23Aa1Afe, x as _01561Bc11 } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
3
3
  //#region src/openapi/sdk/Mcp.gen.ts
4
4
  function listAllMcpServers(parameters, options) {
package/dist/metrics.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Gi as aggregateMetricsFromTask, Ji as listTasksWithMetrics, Ki as listFlowMetrics, Wi as aggregateMetricsFromFlow, Yi as searchByExecution, qi as listTaskMetrics } from "./index-CPjbMU9J.js";
1
+ import { a as listTasksWithMetrics, i as listTaskMetrics, n as aggregateMetricsFromTask, o as searchByExecution, r as listFlowMetrics, t as aggregateMetricsFromFlow } from "./Metrics.gen-InF3TYN0.js";
2
2
  export { aggregateMetricsFromFlow, aggregateMetricsFromTask, listFlowMetrics, listTaskMetrics, listTasksWithMetrics, searchByExecution };
package/dist/metrics.js CHANGED
@@ -1,4 +1,4 @@
1
- import { En as _041C601E4, Ml as _64625D6d, Tn as _041Bfcd8d, ac as _48B0B9B9, uo as _22F15037, xs as _3Acedc00 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { En as _041C601E4, Pl as _64625D6d, Ss as _3Acedc00, Tn as _041Bfcd8d, do as _22F15037, oc as _48B0B9B9 } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/Metrics.gen.ts
4
4
  /**
package/dist/misc.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Ai as licenseInfo, Bi as supportDebugInfo, Ci as basicAuthConfigErrors, Di as expressionFunctions, Ei as expressionFilters, Fi as logout, Hi as usages, Ii as mainTenantFlows, Li as refreshLicense, Mi as listTemplates, Ni as login, Oi as forwardSupportTicket, Pi as loginConfiguration, Ri as setupConfiguration, Ti as createBasicAuth, Ui as workerSelectorTags, Vi as tenantUsage, ji as listPermissions, ki as generate, wi as configuration, zi as setupKestra } from "./index-CPjbMU9J.js";
1
+ import { _ as setupKestra, a as expressionFunctions, b as usages, c as licenseInfo, d as login, f as loginConfiguration, g as setupConfiguration, h as refreshLicense, i as expressionFilters, l as listPermissions, m as mainTenantFlows, n as configuration, o as forwardSupportTicket, p as logout, r as createBasicAuth, s as generate, t as basicAuthConfigErrors, u as listTemplates, v as supportDebugInfo, x as workerSelectorTags, y as tenantUsage } from "./Misc.gen-BYpr9phU.js";
2
2
  export { basicAuthConfigErrors, configuration, createBasicAuth, expressionFilters, expressionFunctions, forwardSupportTicket, generate, licenseInfo, listPermissions, listTemplates, login, loginConfiguration, logout, mainTenantFlows, refreshLicense, setupConfiguration, setupKestra, supportDebugInfo, tenantUsage, usages, workerSelectorTags };
package/dist/misc.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $o as _34380E43, Cc as _50Eb0692, Dl as _625Ef69, Et as _02B2002Fa, Fr as _05690531a, Qo as _3400C80d, Rt as _031D6C90e, To as _2C5384F6, Wt as _033Ccd4Fe, Xs as _435C395a, Yo as _3294Ffe3, gu as _733374F6, hl as _5Eadd763, lt as _02437E287, mi as _068E39279, mt as _0263Aab71, nu as _6Be81575, oc as _48B8043b, uu as _70177F17, xl as _6108Ef36, yn as _04167Ea76 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { $o as _3400C80d, Cl as _6108Ef36, Eo as _2C5384F6, Et as _02B2002Fa, Fr as _05690531a, Rt as _031D6C90e, Tc as _50Eb0692, Wt as _033Ccd4Fe, Xo as _3294Ffe3, Zs as _435C395a, _l as _5Eadd763, es as _34380E43, fu as _70177F17, iu as _6Be81575, kl as _625Ef69, lt as _02437E287, mi as _068E39279, mt as _0263Aab71, sc as _48B8043b, vu as _733374F6, yn as _04167Ea76 } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
3
3
  //#region src/openapi/sdk/Misc.gen.ts
4
4
  function basicAuthConfigErrors(options) {
@@ -65,10 +65,7 @@ function createBasicAuth(parameters, options) {
65
65
  }, options));
66
66
  }
67
67
  function generate(parameters, options) {
68
- return getDataOrThrow(_6Be81575(addTenantToParameters(parameters), {
69
- ...options,
70
- parseAs: "text"
71
- }));
68
+ return getDataOrThrow(_6Be81575(addTenantToParameters(parameters), options));
72
69
  }
73
70
  /**
74
71
  * Retrieve debug information for a support ticket
@@ -1,2 +1,2 @@
1
- import { Si as updateNamespace, _i as inheritedVariables, bi as putSecrets, fi as autocompleteNamespaces, gi as inheritedSecrets, hi as deleteSecret, mi as deleteNamespace, pi as createNamespace, vi as loadNamespace, xi as searchNamespaces, yi as patchSecret } from "./index-CPjbMU9J.js";
1
+ import { a as inheritedSecrets, c as patchSecret, d as updateNamespace, i as deleteSecret, l as putSecrets, n as createNamespace, o as inheritedVariables, r as deleteNamespace, s as loadNamespace, t as autocompleteNamespaces, u as searchNamespaces } from "./Namespaces.gen-BFscn7y9.js";
2
2
  export { autocompleteNamespaces, createNamespace, deleteNamespace, deleteSecret, inheritedSecrets, inheritedVariables, loadNamespace, patchSecret, putSecrets, searchNamespaces, updateNamespace };
@@ -1,4 +1,4 @@
1
- import { B as _01De71843, Fc as _548A6080, Hi as _0755159C0, Mt as _02E276Bc5, Ou as _79431Ff0, Si as _06D81F16e, Ua as _18B3Cb89, ji as _071E8524c, lc as _4Aa3555b, ro as _1Fe10518, va as _0Cb0D041 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { B as _01De71843, Hi as _0755159C0, Lc as _548A6080, Mt as _02E276Bc5, Si as _06D81F16e, Wa as _18B3Cb89, dc as _4Aa3555b, io as _1Fe10518, ji as _071E8524c, ju as _79431Ff0, va as _0Cb0D041 } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
3
3
  //#region src/openapi/sdk/Namespaces.gen.ts
4
4
  /**
@@ -26,7 +26,7 @@ function searchNamespaces(parameters, options) {
26
26
  return getDataOrThrow(_0755159C0(addTenantToParameters(parameters), options));
27
27
  }
28
28
  /**
29
- * Delete a namespace
29
+ * Delete a namespace and its child namespaces
30
30
  */
31
31
  function deleteNamespace(parameters, options) {
32
32
  return getDataOrThrow(_79431Ff0(addTenantToParameters(parameters), options));
@@ -1,2 +1,2 @@
1
- import { ci as markRead, di as unreadCount, li as markUnread, oi as history_, si as markAllRead, ui as pollSince } from "./index-CPjbMU9J.js";
1
+ import { a as pollSince, i as markUnread, n as markAllRead, o as unreadCount, r as markRead, t as history_ } from "./Notifications.gen-CC7Hhx-x.js";
2
2
  export { history_, markAllRead, markRead, markUnread, pollSince, unreadCount };
@@ -1,4 +1,4 @@
1
- import { $u as eafa603, _o as _270358Dc, gn as _03Fd61D60, ls as _373Fe494, ua as _093D9545, xi as _06C5Bb0B6 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { gn as _03Fd61D60, nd as eafa603, ua as _093D9545, us as _373Fe494, vo as _270358Dc, xi as _06C5Bb0B6 } from "./sdk.gen-D0N05hnd.js";
2
2
  import { getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/Notifications.gen.ts
4
4
  function history_(parameters, options) {
package/dist/outputs.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { ai as taskRunOutputs, ii as taskOutputsInformation, ri as executionOutputs } from "./index-CPjbMU9J.js";
1
+ import { n as taskOutputsInformation, r as taskRunOutputs, t as executionOutputs } from "./Outputs.gen-Cl5Eo3oS.js";
2
2
  export { executionOutputs, taskOutputsInformation, taskRunOutputs };
package/dist/outputs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Io as _2F61B1Ec, Ll as _667F809f, dr as _04Dc496A6 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { Lo as _2F61B1Ec, dr as _04Dc496A6, zl as _667F809f } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/Outputs.gen.ts
4
4
  /**
package/dist/plugins.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $r as uploadVersionedPlugins, Ar as installVersionedPlugins, Br as pluginGroupIcons, Dr as detectMissingPlugins, Er as allInputTypes, Fr as listTriggerPlugins, Gr as pluginUi, Hr as pluginIconSvg, Ir as listVersionedPlugin, Jr as propertiesFromType, Kr as pluginUiManifest, Lr as pluginBySubgroups, Mr as listAvailableVersionedPluginsForSecretManager, Nr as listAvailableVersionedPluginsForStorage, Or as installJob, Pr as listPlugins, Qr as uninstallVersionedPlugins, Rr as pluginDocumentation, Ur as pluginIcons, Vr as pluginIcon, Wr as pluginReleaseNotesContent, Xr as schemaFromInputType, Yr as resolveVersionedPlugins, Zr as schemasFromType, ei as versionedPluginDetails, jr as listAvailableVersionedPlugins, kr as installPlugins, ni as versionedPluginIcon, qr as pluginVersions, ti as versionedPluginDetailsFromVersion, zr as pluginDocumentationFromVersion } from "./index-CPjbMU9J.js";
1
+ import { A as versionedPluginDetailsFromVersion, C as propertiesFromType, D as uninstallVersionedPlugins, E as schemasFromType, O as uploadVersionedPlugins, S as pluginVersions, T as schemaFromInputType, _ as pluginIconSvg, a as installVersionedPlugins, b as pluginUi, c as listAvailableVersionedPluginsForStorage, d as listVersionedPlugin, f as pluginBySubgroups, g as pluginIcon, h as pluginGroupIcons, i as installPlugins, j as versionedPluginIcon, k as versionedPluginDetails, l as listPlugins, m as pluginDocumentationFromVersion, n as detectMissingPlugins, o as listAvailableVersionedPlugins, p as pluginDocumentation, r as installJob, s as listAvailableVersionedPluginsForSecretManager, t as allInputTypes, u as listTriggerPlugins, v as pluginIcons, w as resolveVersionedPlugins, x as pluginUiManifest, y as pluginReleaseNotesContent } from "./Plugins.gen-CZFsDbgQ.js";
2
2
  export { allInputTypes, detectMissingPlugins, installJob, installPlugins, installVersionedPlugins, listAvailableVersionedPlugins, listAvailableVersionedPluginsForSecretManager, listAvailableVersionedPluginsForStorage, listPlugins, listTriggerPlugins, listVersionedPlugin, pluginBySubgroups, pluginDocumentation, pluginDocumentationFromVersion, pluginGroupIcons, pluginIcon, pluginIconSvg, pluginIcons, pluginReleaseNotesContent, pluginUi, pluginUiManifest, pluginVersions, propertiesFromType, resolveVersionedPlugins, schemaFromInputType, schemasFromType, uninstallVersionedPlugins, uploadVersionedPlugins, versionedPluginDetails, versionedPluginDetailsFromVersion, versionedPluginIcon };
package/dist/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as _0229397B6, $i as _07Ae22D38, Al as _6379A635, Bo as _30C1Aea6, Ii as _0739F9723, L as _01C500B8a, O as _01716B1B4, Po as _2F38C956, Qa as _1B622107, R as _01C6847B6, Ru as _8D0A158, Tc as _51936Eee, Tr as _052623492, Un as _046C7F41c, Va as _17875579, X as _020Ed1B9, Yc as _59325214, Ys as _43437585, da as _09Bfeede, ds as _37F2Df50, ei as _05Fc2Bba9, es as _34407Ba7, go as _260Fc478, l as _011Bcf8Ea, mu as _72Dfd523, nr as _04B060Ef4, os as _35Ab5422, ru as _6Bf6A12b, un as _03C2494Fa, vc as _4Effe9Ec, wi as _06Ed786D9 } from "./sdk.gen-C2tIOMuW.js";
1
+ import { $ as _0229397B6, $a as _1B622107, $i as _07Ae22D38, Dc as _51936Eee, Fo as _2F38C956, Ha as _17875579, Ii as _0739F9723, L as _01C500B8a, Ml as _6379A635, O as _01716B1B4, R as _01C6847B6, Tr as _052623492, Un as _046C7F41c, Vo as _30C1Aea6, Vu as _8D0A158, X as _020Ed1B9, Xs as _43437585, Zc as _59325214, _o as _260Fc478, au as _6Bf6A12b, bc as _4Effe9Ec, da as _09Bfeede, ei as _05Fc2Bba9, fs as _37F2Df50, gu as _72Dfd523, l as _011Bcf8Ea, nr as _04B060Ef4, ss as _35Ab5422, ts as _34407Ba7, un as _03C2494Fa, wi as _06Ed786D9 } from "./sdk.gen-D0N05hnd.js";
2
2
  import { getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/Plugins.gen.ts
4
4
  function listVersionedPlugin(parameters, options) {
@@ -1,2 +1,2 @@
1
- import { $n as deleteInstancePolicy, Cr as validateInstancePolicy, Qn as deleteInstancePoliciesByIds, Sr as updateTenantPolicy, Tr as validateTenantPolicy, Xn as createNamespacePolicy, Yn as createInstancePolicy, Zn as createTenantPolicy, _r as searchNamespacePolicies, ar as evaluateNamespacePolicy, br as updateInstancePolicy, cr as exportInstancePoliciesByIds, dr as exportTenantPolicies, er as deleteNamespacePoliciesByIds, fr as exportTenantPoliciesByIds, gr as searchInstancePolicies, hr as namespacePolicy, ir as evaluateInstancePolicy, lr as exportNamespacePolicies, mr as instancePolicy, nr as deleteTenantPoliciesByIds, or as evaluateTenantPolicy, pr as importPolicies, rr as deleteTenantPolicy, sr as exportInstancePolicies, tr as deleteNamespacePolicy, ur as exportNamespacePoliciesByIds, vr as searchPolicies, wr as validateNamespacePolicy, xr as updateNamespacePolicy, yr as tenantPolicy } from "./index-CPjbMU9J.js";
1
+ import { A as validateNamespacePolicy, C as searchNamespacePolicies, D as updateNamespacePolicy, E as updateInstancePolicy, O as updateTenantPolicy, S as searchInstancePolicies, T as tenantPolicy, _ as exportTenantPolicies, a as deleteInstancePolicy, b as instancePolicy, c as deleteTenantPoliciesByIds, d as evaluateNamespacePolicy, f as evaluateTenantPolicy, g as exportNamespacePoliciesByIds, h as exportNamespacePolicies, i as deleteInstancePoliciesByIds, j as validateTenantPolicy, k as validateInstancePolicy, l as deleteTenantPolicy, m as exportInstancePoliciesByIds, n as createNamespacePolicy, o as deleteNamespacePoliciesByIds, p as exportInstancePolicies, r as createTenantPolicy, s as deleteNamespacePolicy, t as createInstancePolicy, u as evaluateInstancePolicy, v as exportTenantPoliciesByIds, w as searchPolicies, x as namespacePolicy, y as importPolicies } from "./Policies.gen-B3uNaqc6.js";
2
2
  export { createInstancePolicy, createNamespacePolicy, createTenantPolicy, deleteInstancePoliciesByIds, deleteInstancePolicy, deleteNamespacePoliciesByIds, deleteNamespacePolicy, deleteTenantPoliciesByIds, deleteTenantPolicy, evaluateInstancePolicy, evaluateNamespacePolicy, evaluateTenantPolicy, exportInstancePolicies, exportInstancePoliciesByIds, exportNamespacePolicies, exportNamespacePoliciesByIds, exportTenantPolicies, exportTenantPoliciesByIds, importPolicies, instancePolicy, namespacePolicy, searchInstancePolicies, searchNamespacePolicies, searchPolicies, tenantPolicy, updateInstancePolicy, updateNamespacePolicy, updateTenantPolicy, validateInstancePolicy, validateNamespacePolicy, validateTenantPolicy };