@kestra-io/kestra-sdk 2.0.1 → 2.0.3
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.
- package/README.md +104 -12
- package/dist/Ai.gen-CbXnIJV5.d.ts +54 -0
- package/dist/AiAdmin.gen-Czash1qW.d.ts +30 -0
- package/dist/Apps.gen-c1lpg-nJ.d.ts +157 -0
- package/dist/Assets.gen-qX_xsApU.d.ts +102 -0
- package/dist/AuditLogs.gen-CSfyv3QM.d.ts +39 -0
- package/dist/Auths.gen-DQ9VtulX.d.ts +42 -0
- package/dist/{Banners.gen-4KOBOSkY.d.ts → Banners.gen-CD-77YMw.d.ts} +2 -2
- package/dist/Bindings.gen-D_z6cQzC.d.ts +36 -0
- package/dist/BlueprintTags.gen-DOe0sWXb.d.ts +18 -0
- package/dist/Blueprints.gen-DKQJKty2.d.ts +112 -0
- package/dist/Cases.gen-DAmvmwX5.d.ts +264 -0
- package/dist/CasesAdmin.gen-i86iM0BF.d.ts +36 -0
- package/dist/Cluster.gen-DJ7Wm9b6.d.ts +13 -0
- package/dist/Dashboards.gen-8t9tyM1X.d.ts +80 -0
- package/dist/DashboardsAdmin.gen-_oEOLPOk.d.ts +12 -0
- package/dist/Executions.gen-D6Z1AmqE.d.ts +374 -0
- package/dist/Expressions.gen-kcnNBpUs.d.ts +12 -0
- package/dist/Files.gen-BQiCdEgz.d.ts +66 -0
- package/dist/Groups.gen-Bz4q6OpE.d.ts +72 -0
- package/dist/Invitations.gen-BQLXU-OA.d.ts +37 -0
- package/dist/{KillSwitches.gen-DYX2j3BA.d.ts → KillSwitches.gen-DXajia4l.d.ts} +2 -2
- package/dist/Kv.gen-D_r215dZ.d.ts +42 -0
- package/dist/{LoginAdmin.gen-C9qXub43.d.ts → LoginAdmin.gen-DJWdL7r-.d.ts} +2 -2
- package/dist/Logs.gen-MkdIgniA.d.ts +42 -0
- package/dist/Mcp.gen-B1XjUIJO.d.ts +49 -0
- package/dist/Metrics.gen-M5DzASFu.d.ts +42 -0
- package/dist/Misc.gen-80PUHiSE.d.ts +132 -0
- package/dist/Namespaces.gen-DQSUIT_2.d.ts +78 -0
- package/dist/Notifications.gen-DgJ4EoeX.d.ts +12 -0
- package/dist/Outputs.gen-zYk_Mrxx.d.ts +28 -0
- package/dist/Plugins.gen-DeytuhpL.d.ts +69 -0
- package/dist/Policies.gen-CRkRfJFT.d.ts +142 -0
- package/dist/Promote.gen-CyDk4Zmj.d.ts +90 -0
- package/dist/Quotas.gen-BUfaJOOM.d.ts +18 -0
- package/dist/ReusableInputs.gen-DO1f4wJh.d.ts +24 -0
- package/dist/ReusableInputsAdmin.gen-B4ZgMFry.d.ts +24 -0
- package/dist/Roles.gen-DL-7yzRy.d.ts +48 -0
- package/dist/ScimConfiguration.gen-CIL8IYDs.d.ts +21 -0
- package/dist/{ScimGroups.gen-DYvChSKu.d.ts → ScimGroups.gen-DQ4f4XEJ.d.ts} +2 -2
- package/dist/{ScimUsers.gen-XDM5vHHF.d.ts → ScimUsers.gen-DmixvjbJ.d.ts} +2 -2
- package/dist/Secrets.gen-B9wPFgid.d.ts +12 -0
- package/dist/SecurityIntegrations.gen-BaYKYN-I.d.ts +60 -0
- package/dist/ServiceAccount.gen-D8YLbLqM.d.ts +91 -0
- package/dist/Services.gen-Dg2LdSdA.d.ts +10 -0
- package/dist/TenantAccess.gen-B98XDMPp.d.ts +30 -0
- package/dist/{TenantAccessAdmin.gen-DQW-cqxq.d.ts → TenantAccessAdmin.gen-DUebQ2mf.d.ts} +1 -1
- package/dist/Tenants.gen-CwZWMrHN.d.ts +33 -0
- package/dist/{TenantsAdmin.gen-Dwrs1oo2.d.ts → TenantsAdmin.gen-B9Tk3Hdf.d.ts} +2 -2
- package/dist/TestSuites.gen-CATAct_c.d.ts +92 -0
- package/dist/Triggers.gen-OzPSwXjg.d.ts +144 -0
- package/dist/Users.gen-EUsfHkzC.d.ts +67 -0
- package/dist/WorkerAuth.gen-Bgd7G8cj.d.ts +7 -0
- package/dist/WorkerAuthAdmin.gen-C2pqmRgm.d.ts +8 -0
- package/dist/WorkerGroups.gen-Ca0xjCST.d.ts +36 -0
- package/dist/WorkerQueues.gen-CkRxjt6v.d.ts +7 -0
- package/dist/WorkerQueuesAdmin.gen-DTZrudRC.d.ts +17 -0
- package/dist/ai-admin.d.ts +1 -1
- package/dist/ai-admin.js +1 -1
- package/dist/ai.d.ts +1 -1
- package/dist/ai.js +1 -1
- package/dist/all.d.ts +3421 -11
- package/dist/all.js +1217 -1201
- package/dist/apps.d.ts +1 -1
- package/dist/apps.js +1 -1
- package/dist/assets.d.ts +2 -2
- package/dist/assets.js +22 -2
- package/dist/audit-logs.d.ts +1 -1
- package/dist/audit-logs.js +1 -1
- package/dist/auths.d.ts +1 -1
- package/dist/auths.js +1 -1
- package/dist/banners.d.ts +1 -1
- package/dist/banners.js +1 -1
- package/dist/bindings.d.ts +1 -1
- package/dist/bindings.js +1 -1
- package/dist/blueprint-tags.d.ts +1 -1
- package/dist/blueprint-tags.js +1 -1
- package/dist/blueprints.d.ts +1 -1
- package/dist/blueprints.js +1 -1
- package/dist/cases-admin.d.ts +1 -1
- package/dist/cases-admin.js +1 -1
- package/dist/cases.d.ts +2 -2
- package/dist/cases.js +24 -2
- package/dist/client.d.ts +1 -1
- package/dist/cluster.d.ts +1 -1
- package/dist/cluster.js +1 -1
- package/dist/dashboards-admin.d.ts +1 -1
- package/dist/dashboards-admin.js +1 -1
- package/dist/dashboards.d.ts +1 -1
- package/dist/dashboards.js +1 -1
- package/dist/enterprise-only-routes.d.ts +2 -0
- package/dist/enterprise-only-routes.js +4 -0
- package/dist/enterpriseOnlyRoutes.gen-C_ZBbj1a.d.ts +4 -0
- package/dist/executions.d.ts +1 -1
- package/dist/executions.js +13 -4
- package/dist/expressions.d.ts +1 -1
- package/dist/expressions.js +1 -1
- package/dist/files.d.ts +1 -1
- package/dist/files.js +1 -1
- package/dist/flow-from-object-BkruoRK4.js +367 -0
- package/dist/flow-from-object-CYa9Cumm.d.ts +294 -0
- package/dist/flows.d.ts +2 -2
- package/dist/flows.js +2 -270
- package/dist/groups.d.ts +1 -1
- package/dist/groups.js +1 -1
- package/dist/index-B5w9tNy7.d.ts +101 -0
- package/dist/index.d.ts +3 -58
- package/dist/index.js +270 -25
- package/dist/invitations.d.ts +1 -1
- package/dist/invitations.js +1 -1
- package/dist/kill-switches.d.ts +1 -1
- package/dist/kill-switches.js +1 -1
- package/dist/kv.d.ts +1 -1
- package/dist/kv.js +1 -1
- package/dist/login-admin.d.ts +1 -1
- package/dist/login-admin.js +1 -1
- package/dist/logs.d.ts +1 -1
- package/dist/logs.js +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/metrics.d.ts +1 -1
- package/dist/metrics.js +1 -1
- package/dist/misc.d.ts +1 -1
- package/dist/misc.js +2 -5
- package/dist/namespaces.d.ts +1 -1
- package/dist/namespaces.js +2 -2
- package/dist/notifications.d.ts +1 -1
- package/dist/notifications.js +1 -1
- package/dist/outputs.d.ts +1 -1
- package/dist/outputs.js +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/plugins.js +1 -1
- package/dist/policies.d.ts +1 -1
- package/dist/policies.js +6 -21
- package/dist/promote.d.ts +1 -1
- package/dist/promote.js +1 -1
- package/dist/quotas.d.ts +1 -1
- package/dist/quotas.js +1 -1
- package/dist/reusable-inputs-admin.d.ts +1 -1
- package/dist/reusable-inputs-admin.js +1 -1
- package/dist/reusable-inputs.d.ts +1 -1
- package/dist/reusable-inputs.js +1 -1
- package/dist/roles.d.ts +1 -1
- package/dist/roles.js +1 -1
- package/dist/scim-configuration.d.ts +1 -1
- package/dist/scim-configuration.js +1 -1
- package/dist/scim-groups.d.ts +1 -1
- package/dist/scim-groups.js +1 -1
- package/dist/scim-users.d.ts +1 -1
- package/dist/scim-users.js +1 -1
- package/dist/{sdk.gen-C2tIOMuW.js → sdk.gen-CimQCXb_.js} +217 -5
- package/dist/{sdk.gen-BtNjZbjt.d.ts → sdk.gen-DCDBMnCj.d.ts} +69 -14
- package/dist/secrets.d.ts +1 -1
- package/dist/secrets.js +1 -1
- package/dist/security-integrations.d.ts +1 -1
- package/dist/security-integrations.js +1 -1
- package/dist/service-account.d.ts +1 -1
- package/dist/service-account.js +2 -2
- package/dist/services.d.ts +1 -1
- package/dist/services.js +1 -1
- package/dist/tenant-access-admin.d.ts +1 -1
- package/dist/tenant-access-admin.js +1 -1
- package/dist/tenant-access.d.ts +1 -1
- package/dist/tenant-access.js +1 -1
- package/dist/tenants-admin.d.ts +1 -1
- package/dist/tenants-admin.js +1 -1
- package/dist/tenants.d.ts +2 -2
- package/dist/tenants.js +5 -2
- package/dist/test-suites.d.ts +1 -1
- package/dist/test-suites.js +1 -1
- package/dist/triggers.d.ts +1 -1
- package/dist/triggers.js +1 -1
- package/dist/{types.gen-z_AB2inl.d.ts → types.gen-BSBSS4tY.d.ts} +490 -106
- package/dist/users.d.ts +1 -1
- package/dist/users.js +1 -1
- package/dist/worker-auth-admin.d.ts +1 -1
- package/dist/worker-auth-admin.js +1 -1
- package/dist/worker-auth.d.ts +1 -1
- package/dist/worker-auth.js +1 -1
- package/dist/worker-groups.d.ts +1 -1
- package/dist/worker-groups.js +1 -1
- package/dist/worker-queues-admin.d.ts +1 -1
- package/dist/worker-queues-admin.js +1 -1
- package/dist/worker-queues.d.ts +1 -1
- package/dist/worker-queues.js +1 -1
- package/package.json +6 -4
- package/dist/index-CPjbMU9J.d.ts +0 -3066
- 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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 (
|
|
14
|
-
|
|
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 (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
222
|
+
try {
|
|
223
|
+
serializedFilters = serializeQueryFilterArray(fallbackParam);
|
|
224
|
+
} catch {
|
|
225
|
+
serializedFilters = void 0;
|
|
50
226
|
}
|
|
51
227
|
}
|
|
52
|
-
|
|
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
|
|
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 };
|
package/dist/invitations.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as listInvitationsByEmail, i as invitation, n as deleteInvitation, o as searchInvitations, r as findAllInvitationsForCurrentUser, t as createInvitation } from "./Invitations.gen-BQLXU-OA.js";
|
|
2
2
|
export { createInvitation, deleteInvitation, findAllInvitationsForCurrentUser, invitation, listInvitationsByEmail, searchInvitations };
|
package/dist/invitations.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fn as _043724297, _ as _01367005c, ac as _473F7799, cr as _04Bf1164b, ks as _3Cb22532, nu as _6998Eead } from "./sdk.gen-CimQCXb_.js";
|
|
2
2
|
import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
|
|
3
3
|
//#region src/openapi/sdk/Invitations.gen.ts
|
|
4
4
|
function findAllInvitationsForCurrentUser(options) {
|
package/dist/kill-switches.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as updateKillSwitch, n as deleteKillSwitch, r as searchKillSwitches, t as createKillSwitch } from "./KillSwitches.gen-
|
|
1
|
+
import { i as updateKillSwitch, n as deleteKillSwitch, r as searchKillSwitches, t as createKillSwitch } from "./KillSwitches.gen-DXajia4l.js";
|
|
2
2
|
export { createKillSwitch, deleteKillSwitch, searchKillSwitches, updateKillSwitch };
|
package/dist/kill-switches.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ja as _1013D24e, qc as _56C0Cddb, sc as _489De83d, tn as _0380059D8 } from "./sdk.gen-CimQCXb_.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 {
|
|
1
|
+
import { a as listKeysWithInheritence, i as listAllKeys, n as deleteKeyValues, o as setKeyValue, r as keyValue, t as deleteKeyValue } from "./Kv.gen-D_r215dZ.js";
|
|
2
2
|
export { deleteKeyValue, deleteKeyValues, keyValue, listAllKeys, listKeysWithInheritence, setKeyValue };
|
package/dist/kv.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jr as _05D06Cae3, Lr as _057232872, Rn as _043D2910a, no as _1D572652, st as _023C90349, xi as _06C163B2c } from "./sdk.gen-CimQCXb_.js";
|
|
2
2
|
import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
|
|
3
3
|
//#region src/openapi/sdk/Kv.gen.ts
|
|
4
4
|
/**
|
package/dist/login-admin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as login } from "./LoginAdmin.gen-
|
|
1
|
+
import { t as login } from "./LoginAdmin.gen-DJWdL7r-.js";
|
|
2
2
|
export { login };
|
package/dist/login-admin.js
CHANGED
package/dist/logs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as listLogsFromExecution, i as followLogsFromExecution, n as deleteLogsFromFlow, o as searchLogs, r as downloadLogsFromExecution, t as deleteLogsFromExecution } from "./Logs.gen-MkdIgniA.js";
|
|
2
2
|
export { deleteLogsFromExecution, deleteLogsFromFlow, downloadLogsFromExecution, followLogsFromExecution, listLogsFromExecution, searchLogs };
|
package/dist/logs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as _02A5C7489, Tu as _74Ae0977, bi as _06C136Fdf, co as _21216412, gc as _4Ca5D6B4, rc as _459D2D6e } from "./sdk.gen-CimQCXb_.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 {
|
|
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-B1XjUIJO.js";
|
|
2
2
|
export { createMcp, deleteMcp, listAllMcpServers, listMcps, listTools, mcp, toggleMcp, updateMcp };
|
package/dist/mcp.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qa as _1A59a, Ri as _0742Eabef, Tc as _5031B3D7, er as _049932423, mo as _23Aa1Afe, nt as _023284E7, vs as _382Ac1A6, x as _01561Bc11 } from "./sdk.gen-CimQCXb_.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 {
|
|
1
|
+
import { a as listTasksWithMetrics, i as listTaskMetrics, n as aggregateMetricsFromTask, o as searchByExecution, r as listFlowMetrics, t as aggregateMetricsFromFlow } from "./Metrics.gen-M5DzASFu.js";
|
|
2
2
|
export { aggregateMetricsFromFlow, aggregateMetricsFromTask, listFlowMetrics, listTaskMetrics, listTasksWithMetrics, searchByExecution };
|
package/dist/metrics.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dn as _041C601E4, En as _041Bfcd8d, Ll as _64625D6d, Ts as _3Acedc00, fo as _22F15037, lc as _48B0B9B9 } from "./sdk.gen-CimQCXb_.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 {
|
|
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-80PUHiSE.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
|
|
1
|
+
import { $o as _3294Ffe3, El as _6108Ef36, Et as _02B2002Fa, Gt as _033Ccd4Fe, Ir as _05690531a, Ml as _625Ef69, Oc as _50Eb0692, Oo as _2C5384F6, bl as _5Eadd763, bn as _04167Ea76, ec as _435C395a, hi as _068E39279, hu as _70177F17, lt as _02437E287, mt as _0263Aab71, ns as _3400C80d, rs as _34380E43, su as _6Be81575, uc as _48B8043b, xu as _733374F6, zt as _031D6C90e } from "./sdk.gen-CimQCXb_.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
|
package/dist/namespaces.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
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-DQSUIT_2.js";
|
|
2
2
|
export { autocompleteNamespaces, createNamespace, deleteNamespace, deleteSecret, inheritedSecrets, inheritedVariables, loadNamespace, patchSecret, putSecrets, searchNamespaces, updateNamespace };
|
package/dist/namespaces.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as _01De71843,
|
|
1
|
+
import { B as _01De71843, Bc as _548A6080, Ci as _06D81F16e, Ga as _18B3Cb89, Mi as _071E8524c, Nt as _02E276Bc5, Pu as _79431Ff0, Ui as _0755159C0, ao as _1Fe10518, mc as _4Aa3555b, ya as _0Cb0D041 } from "./sdk.gen-CimQCXb_.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));
|
package/dist/notifications.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as pollSince, i as markUnread, n as markAllRead, o as unreadCount, r as markRead, t as history_ } from "./Notifications.gen-DgJ4EoeX.js";
|
|
2
2
|
export { history_, markAllRead, markRead, markUnread, pollSince, unreadCount };
|
package/dist/notifications.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Si as _06C5Bb0B6, _n as _03Fd61D60, ad as eafa603, bo as _270358Dc, da as _093D9545, ps as _373Fe494 } from "./sdk.gen-CimQCXb_.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 {
|
|
1
|
+
import { n as taskOutputsInformation, r as taskRunOutputs, t as executionOutputs } from "./Outputs.gen-zYk_Mrxx.js";
|
|
2
2
|
export { executionOutputs, taskOutputsInformation, taskRunOutputs };
|
package/dist/outputs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bo as _2F61B1Ec, Hl as _667F809f, fr as _04Dc496A6 } from "./sdk.gen-CimQCXb_.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 {
|
|
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-DeytuhpL.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, $
|
|
1
|
+
import { $ as _0229397B6, $s as _43437585, Ac as _51936Eee, Cc as _4Effe9Ec, Er as _052623492, Fl as _6379A635, L as _01C500B8a, Li as _0739F9723, O as _01716B1B4, R as _01C6847B6, Ro as _2F38C956, Ti as _06Ed786D9, Ua as _17875579, Wn as _046C7F41c, Wo as _30C1Aea6, Wu as _8D0A158, X as _020Ed1B9, cu as _6Bf6A12b, dn as _03C2494Fa, ea as _07Ae22D38, el as _59325214, eo as _1B622107, fa as _09Bfeede, hs as _37F2Df50, is as _34407Ba7, l as _011Bcf8Ea, rr as _04B060Ef4, ti as _05Fc2Bba9, us as _35Ab5422, yo as _260Fc478, yu as _72Dfd523 } from "./sdk.gen-CimQCXb_.js";
|
|
2
2
|
import { getDataOrThrow } from "./shared.js";
|
|
3
3
|
//#region src/openapi/sdk/Plugins.gen.ts
|
|
4
4
|
function listVersionedPlugin(parameters, options) {
|
package/dist/policies.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
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-CRkRfJFT.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 };
|