@kestra-io/kestra-sdk 2.0.0 → 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.
- package/README.md +104 -12
- package/dist/Ai.gen--rKF8Qf5.d.ts +54 -0
- package/dist/AiAdmin.gen-BIR4eNgZ.d.ts +30 -0
- package/dist/Apps.gen-BqubzTRF.d.ts +157 -0
- package/dist/Assets.gen-DIzY6Tm2.d.ts +102 -0
- package/dist/AuditLogs.gen-nAem0Cy6.d.ts +39 -0
- package/dist/Auths.gen-DLDwlEsE.d.ts +42 -0
- package/dist/{Banners.gen-D-l25TFP.d.ts → Banners.gen-e0HHbnSf.d.ts} +2 -2
- package/dist/Bindings.gen-Q0JXlAH-.d.ts +36 -0
- package/dist/BlueprintTags.gen-C6ktyk5W.d.ts +18 -0
- package/dist/Blueprints.gen-6hHpfbVq.d.ts +112 -0
- package/dist/Cases.gen-DgvI88ve.d.ts +246 -0
- package/dist/CasesAdmin.gen-DDxiJyKp.d.ts +36 -0
- package/dist/Cluster.gen-DVrp3X7k.d.ts +13 -0
- package/dist/Dashboards.gen-1XIKOm-m.d.ts +80 -0
- package/dist/DashboardsAdmin.gen-D6nUobjU.d.ts +12 -0
- package/dist/Executions.gen-YpDDV1xm.d.ts +374 -0
- package/dist/Expressions.gen-BOr6l06_.d.ts +12 -0
- package/dist/Files.gen-Ck5kAB-X.d.ts +66 -0
- package/dist/Groups.gen-CSf79gJt.d.ts +72 -0
- package/dist/Invitations.gen-CqJh2qF3.d.ts +37 -0
- package/dist/{KillSwitches.gen-B9QjroGH.d.ts → KillSwitches.gen-Dz-QAjn1.d.ts} +2 -2
- package/dist/Kv.gen-Bji8BGtY.d.ts +42 -0
- package/dist/{LoginAdmin.gen-c2L9vbD0.d.ts → LoginAdmin.gen-DZn4JSXi.d.ts} +2 -2
- package/dist/Logs.gen-DQWS8XMg.d.ts +42 -0
- package/dist/Mcp.gen-CFTNfNtn.d.ts +49 -0
- package/dist/Metrics.gen-InF3TYN0.d.ts +42 -0
- package/dist/Misc.gen-BYpr9phU.d.ts +132 -0
- package/dist/Namespaces.gen-BFscn7y9.d.ts +78 -0
- package/dist/Notifications.gen-CC7Hhx-x.d.ts +12 -0
- package/dist/Outputs.gen-Cl5Eo3oS.d.ts +28 -0
- package/dist/Plugins.gen-CZFsDbgQ.d.ts +69 -0
- package/dist/Policies.gen-B3uNaqc6.d.ts +142 -0
- package/dist/Promote.gen-BJtdf605.d.ts +90 -0
- package/dist/Quotas.gen-DHqZQQMI.d.ts +18 -0
- package/dist/ReusableInputs.gen-DE8h03fZ.d.ts +24 -0
- package/dist/ReusableInputsAdmin.gen-CgaKjhhI.d.ts +24 -0
- package/dist/Roles.gen-4eqeWo4f.d.ts +48 -0
- package/dist/ScimConfiguration.gen-AvlTEQqy.d.ts +21 -0
- package/dist/{ScimGroups.gen-9w0Q97UV.d.ts → ScimGroups.gen-BYo59KTQ.d.ts} +2 -2
- package/dist/{ScimUsers.gen-BzaLXJsn.d.ts → ScimUsers.gen-DPbjpoE0.d.ts} +2 -2
- package/dist/Secrets.gen-D0gqCCPR.d.ts +12 -0
- package/dist/SecurityIntegrations.gen-UQD7Z9dH.d.ts +60 -0
- package/dist/ServiceAccount.gen-B2J1_RJh.d.ts +91 -0
- package/dist/Services.gen-BuGR7Yjk.d.ts +10 -0
- package/dist/TenantAccess.gen-DJjhqqxv.d.ts +30 -0
- package/dist/{TenantAccessAdmin.gen-DjnRcO7O.d.ts → TenantAccessAdmin.gen-ColEHdKm.d.ts} +1 -1
- package/dist/Tenants.gen-DXIBszMy.d.ts +33 -0
- package/dist/{TenantsAdmin.gen-zuuhpskW.d.ts → TenantsAdmin.gen-kSTjqZNp.d.ts} +2 -2
- package/dist/TestSuites.gen-C7EdmZDf.d.ts +92 -0
- package/dist/Triggers.gen--Qkw4ERo.d.ts +144 -0
- package/dist/Users.gen-BeRreH1s.d.ts +67 -0
- package/dist/WorkerAuth.gen--roqj_9q.d.ts +7 -0
- package/dist/WorkerAuthAdmin.gen-Dp_oDKPg.d.ts +8 -0
- package/dist/WorkerGroups.gen-DiBc6luB.d.ts +36 -0
- package/dist/WorkerQueues.gen-Ci7lo36K.d.ts +7 -0
- package/dist/WorkerQueuesAdmin.gen-B5FrTgQV.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 +3399 -11
- package/dist/all.js +1210 -1200
- package/dist/apps.d.ts +1 -1
- package/dist/apps.js +2 -5
- 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 +1 -1
- package/dist/cases.js +1 -1
- 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 +3 -9
- package/dist/enterprise-only-routes.d.ts +2 -0
- package/dist/enterprise-only-routes.js +4 -0
- package/dist/enterpriseOnlyRoutes.gen-C_uAW4dS.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 +2 -5
- package/dist/flow-from-object-QRQgo2C4.d.ts +294 -0
- package/dist/flow-from-object-p045taB2.js +367 -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-Df3oXFWk.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 +3 -2
- 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-BeCaZ3ce.js → sdk.gen-D0N05hnd.js} +118 -12
- package/dist/{sdk.gen-fpaWrDYl.d.ts → sdk.gen-DtyzJiuU.d.ts} +41 -15
- 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 +1 -1
- 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-DSoptGKe.d.ts → types.gen-DVT5DQ0q.d.ts} +398 -119
- 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-Ds2adZAN.d.ts +0 -3066
- package/dist/rolldown-runtime-D7D4PA-g.js +0 -13
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { Ai as _0715B9840, Al as _62Bef13d, As as _3De59Ebf, Ft as _030A1703e, Gu as ae43B0, Hc as _562B4060, Ic as _541Dca5a, It as _030B1A670, Iu as _7Fe54Fe8, Ju as d5Ff138, Kc as _579848F4, Ks as _41A7Bacb, Mu as _7D0E1E4, Ta as _0Ec51319, Uc as _5662Ec9d, Vr as _0593C8Eb9, Vs as _407247Bb, Vt as _032E9A671, Wu as a76C0Db, Xl as _69272D79, Z as _02187E7C3, Zn as _0494596B6, bn as _0416C0289, di as _067435Ac4, ht as _026A7705, jr as _0553D009, ka as _0Fe49766, kc as _5196384a, ki as _0715460C9, mc as _4Cc20E8d, ou as _6C34C66c, qi as _07628391b, ra as _07E3Fae4f, rl as _5B713B0f, ro as _1F4344F1, s as _011A9De69, td as e83C44b, uo as _2240B4C9, vi as _06B60682e, zo as _30012e } from "./sdk.gen-D0N05hnd.js";
|
|
2
|
+
import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
|
|
3
|
+
import { Document, Scalar, visit } from "yaml";
|
|
4
|
+
//#region \0rolldown/runtime.js
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __exportAll = (all, no_symbols) => {
|
|
7
|
+
let target = {};
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/openapi/sdk/Flows.gen.ts
|
|
17
|
+
/**
|
|
18
|
+
* Search for flow concurrency limits
|
|
19
|
+
*/
|
|
20
|
+
function searchConcurrencyLimitsAsInstanceOwner(parameters, options) {
|
|
21
|
+
return getDataOrThrow(_2240B4C9(addTenantToParameters(parameters), options));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Get the concurrency limit of a flow
|
|
25
|
+
*/
|
|
26
|
+
function concurrencyLimit(parameters, options) {
|
|
27
|
+
return getDataOrThrow(_7Fe54Fe8(addTenantToParameters(parameters), options));
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Update a flow concurrency limit
|
|
31
|
+
*/
|
|
32
|
+
function updateConcurrencyLimitAsInstanceOwner(parameters, options) {
|
|
33
|
+
return getDataOrThrow(_026A7705({
|
|
34
|
+
...parameters,
|
|
35
|
+
tenant: resolveTenant(parameters?.tenant),
|
|
36
|
+
concurrencyLimit: parameters
|
|
37
|
+
}, options));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Create a flow from yaml source
|
|
41
|
+
*/
|
|
42
|
+
function createFlow(parameters, options) {
|
|
43
|
+
return getDataOrThrow(_5196384a(addTenantToParameters(parameters), options));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Update from multiples yaml sources
|
|
47
|
+
*/
|
|
48
|
+
function bulkUpdateFlows(parameters, options) {
|
|
49
|
+
return getDataOrThrow(_0494596B6(addTenantToParameters(parameters), options));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Delete flows by their IDs.
|
|
53
|
+
*/
|
|
54
|
+
function deleteFlowsByIds(parameters, options) {
|
|
55
|
+
return getDataOrThrow(_0Ec51319(addTenantToParameters(parameters), options));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Delete flows returned by the query parameters.
|
|
59
|
+
*/
|
|
60
|
+
function deleteFlowsByQuery(parameters, options) {
|
|
61
|
+
return getDataOrThrow(_0715460C9(addTenantToParameters(parameters), options));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* List flows containing deprecated tasks
|
|
65
|
+
*/
|
|
66
|
+
function listDeprecated(parameters, options) {
|
|
67
|
+
return getDataOrThrow(_1F4344F1(addTenantToParameters(parameters), options));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Disable flows by their IDs.
|
|
71
|
+
*/
|
|
72
|
+
function disableFlowsByIds(parameters, options) {
|
|
73
|
+
return getDataOrThrow(_7D0E1E4(addTenantToParameters(parameters), options));
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Disable flows returned by the query parameters.
|
|
77
|
+
*/
|
|
78
|
+
function disableFlowsByQuery(parameters, options) {
|
|
79
|
+
return getDataOrThrow(_579848F4(addTenantToParameters(parameters), options));
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* List all distinct namespaces
|
|
83
|
+
*/
|
|
84
|
+
function listDistinctNamespaces(parameters, options) {
|
|
85
|
+
return getDataOrThrow(_06B60682e(addTenantToParameters(parameters), options));
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Enable flows by their IDs.
|
|
89
|
+
*/
|
|
90
|
+
function enableFlowsByIds(parameters, options) {
|
|
91
|
+
return getDataOrThrow(_3De59Ebf(addTenantToParameters(parameters), options));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Enable flows returned by the query parameters.
|
|
95
|
+
*/
|
|
96
|
+
function enableFlowsByQuery(parameters, options) {
|
|
97
|
+
return getDataOrThrow(_5B713B0f(addTenantToParameters(parameters), options));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Export flows as a ZIP archive of yaml sources.
|
|
101
|
+
*/
|
|
102
|
+
function exportFlowsByIds(parameters, options) {
|
|
103
|
+
return getDataOrThrow(ae43B0(addTenantToParameters(parameters), options));
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Export flows as a ZIP archive of yaml sources.
|
|
107
|
+
*/
|
|
108
|
+
function exportFlowsByQuery(parameters, options) {
|
|
109
|
+
return getDataOrThrow(_0715B9840(addTenantToParameters(parameters), options));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Export all flows as a streamed CSV file
|
|
113
|
+
*/
|
|
114
|
+
function exportFlows(parameters, options) {
|
|
115
|
+
return getDataOrThrow(_07E3Fae4f(addTenantToParameters(parameters), options));
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Get available Pebble expressions for a flow
|
|
119
|
+
*/
|
|
120
|
+
function expressions(parameters, options) {
|
|
121
|
+
return getDataOrThrow(a76C0Db(addTenantToParameters(parameters), options));
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Generate a graph for a flow source
|
|
125
|
+
*/
|
|
126
|
+
function generateFlowGraphFromSource(parameters, options) {
|
|
127
|
+
return getDataOrThrow(_030B1A670(addTenantToParameters(parameters), options));
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Batch-compute source hashes for flows by id (drift detection)
|
|
131
|
+
*/
|
|
132
|
+
function flowHashesByIds(parameters, options) {
|
|
133
|
+
return getDataOrThrow(_0553D009(addTenantToParameters(parameters), options));
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Import flows as a ZIP archive of yaml sources or a multi-objects YAML file.
|
|
137
|
+
* When sending a Yaml that contains one or more flows, a list of index is returned.
|
|
138
|
+
* When sending a ZIP archive, a list of files that couldn't be imported is returned.
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
function importFlows(parameters, options) {
|
|
142
|
+
return getDataOrThrow(_562B4060(addTenantToParameters(parameters), options));
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Preview the governance policy effects (mutations + violations) on a flow source
|
|
146
|
+
*/
|
|
147
|
+
function previewPolicies(parameters, options) {
|
|
148
|
+
return getDataOrThrow(d5Ff138({
|
|
149
|
+
tenant: resolveTenant(parameters?.tenant),
|
|
150
|
+
policyPreviewRequest: parameters
|
|
151
|
+
}, options));
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Search for flows
|
|
155
|
+
*/
|
|
156
|
+
function searchFlows(parameters, options) {
|
|
157
|
+
return getDataOrThrow(_02187E7C3(addTenantToParameters(parameters), options));
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Search for flows source code
|
|
161
|
+
*/
|
|
162
|
+
function searchFlowsBySourceCode(parameters, options) {
|
|
163
|
+
return getDataOrThrow(_067435Ac4(addTenantToParameters(parameters), options));
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Apply a Source Search replace-all operation
|
|
167
|
+
*/
|
|
168
|
+
function applyReplaceBySourceCode(parameters, options) {
|
|
169
|
+
return getDataOrThrow(_07628391b({
|
|
170
|
+
tenant: resolveTenant(parameters?.tenant),
|
|
171
|
+
sourceSearchReplaceApplyRequest: parameters
|
|
172
|
+
}, options));
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Apply a Source Search replace on a single match line
|
|
176
|
+
*/
|
|
177
|
+
function replaceLineBySourceCode(parameters, options) {
|
|
178
|
+
return getDataOrThrow(_0593C8Eb9({
|
|
179
|
+
tenant: resolveTenant(parameters?.tenant),
|
|
180
|
+
sourceSearchReplaceLineRequest: parameters
|
|
181
|
+
}, options));
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Preview a Source Search replace-all operation
|
|
185
|
+
*/
|
|
186
|
+
function previewReplaceBySourceCode(parameters, options) {
|
|
187
|
+
return getDataOrThrow(e83C44b({
|
|
188
|
+
tenant: resolveTenant(parameters?.tenant),
|
|
189
|
+
sourceSearchReplacePreviewRequest: parameters
|
|
190
|
+
}, options));
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Validate a list of flows
|
|
194
|
+
*/
|
|
195
|
+
function validateFlows(parameters, options) {
|
|
196
|
+
return getDataOrThrow(_032E9A671(addTenantToParameters(parameters), options));
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Validate a task
|
|
200
|
+
*/
|
|
201
|
+
function validateTask(parameters, options) {
|
|
202
|
+
return getDataOrThrow(_407247Bb(addTenantToParameters(parameters), options));
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Validate trigger
|
|
206
|
+
*/
|
|
207
|
+
function validateTrigger(parameters, options) {
|
|
208
|
+
return getDataOrThrow(_030A1703e(addTenantToParameters(parameters), options));
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Retrieve all flows from a given namespace
|
|
212
|
+
*/
|
|
213
|
+
function listFlowsByNamespace(parameters, options) {
|
|
214
|
+
return getDataOrThrow(_62Bef13d(addTenantToParameters(parameters), options));
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Update a complete namespace from yaml source
|
|
218
|
+
*/
|
|
219
|
+
function updateFlowsInNamespace(parameters, options) {
|
|
220
|
+
return getDataOrThrow(_541Dca5a(addTenantToParameters(parameters), options));
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Delete a flow
|
|
224
|
+
*/
|
|
225
|
+
function deleteFlow(parameters, options) {
|
|
226
|
+
return getDataOrThrow(_69272D79(addTenantToParameters(parameters), options));
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Get a flow
|
|
230
|
+
*/
|
|
231
|
+
function flow(parameters, options) {
|
|
232
|
+
return getDataOrThrow(_30012e(addTenantToParameters(parameters), options));
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Update a flow
|
|
236
|
+
*/
|
|
237
|
+
function updateFlow(parameters, options) {
|
|
238
|
+
return getDataOrThrow(_011A9De69(addTenantToParameters(parameters), options));
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Get flow dependencies
|
|
242
|
+
*/
|
|
243
|
+
function flowDependencies(parameters, options) {
|
|
244
|
+
return getDataOrThrow(_0416C0289(addTenantToParameters(parameters), options));
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Generate a graph for a flow
|
|
248
|
+
*/
|
|
249
|
+
function generateFlowGraph(parameters, options) {
|
|
250
|
+
return getDataOrThrow(_41A7Bacb(addTenantToParameters(parameters), options));
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Delete revisions for a flow
|
|
254
|
+
*/
|
|
255
|
+
function deleteRevisions(parameters, options) {
|
|
256
|
+
return getDataOrThrow(_4Cc20E8d(addTenantToParameters(parameters), options));
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Get revisions for a flow
|
|
260
|
+
*/
|
|
261
|
+
function listFlowRevisions(parameters, options) {
|
|
262
|
+
return getDataOrThrow(_6C34C66c(addTenantToParameters(parameters), options));
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Get a flow task
|
|
266
|
+
*/
|
|
267
|
+
function taskFromFlow(parameters, options) {
|
|
268
|
+
return getDataOrThrow(_5662Ec9d(addTenantToParameters(parameters), options));
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Retrieve flow dependencies
|
|
272
|
+
*/
|
|
273
|
+
function flowDependenciesFromNamespace(parameters, options) {
|
|
274
|
+
return getDataOrThrow(_0Fe49766(addTenantToParameters(parameters), options));
|
|
275
|
+
}
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region src/flow-from-object.ts
|
|
278
|
+
var flow_from_object_exports = /* @__PURE__ */ __exportAll({
|
|
279
|
+
createFlowFromObject: () => createFlowFromObject,
|
|
280
|
+
flowToYaml: () => flowToYaml,
|
|
281
|
+
updateFlowFromObject: () => updateFlowFromObject
|
|
282
|
+
});
|
|
283
|
+
/**
|
|
284
|
+
* Read-only / server-managed flow fields that must never appear in a flow
|
|
285
|
+
* *source* body. `draft` is a query parameter, not a body field.
|
|
286
|
+
*/
|
|
287
|
+
const SERVER_MANAGED_FLOW_FIELDS = [
|
|
288
|
+
"deleted",
|
|
289
|
+
"revision",
|
|
290
|
+
"draft",
|
|
291
|
+
"tenantId",
|
|
292
|
+
"source",
|
|
293
|
+
"updated"
|
|
294
|
+
];
|
|
295
|
+
/**
|
|
296
|
+
* Serialize a flow object to a YAML source string (block style, no anchors,
|
|
297
|
+
* `null` fields omitted). Kestra expressions like `{{ inputs.foo }}` are quoted
|
|
298
|
+
* by the YAML emitter and multi-line strings become literal block scalars.
|
|
299
|
+
* Server-managed top-level fields are stripped so the YAML mirrors what a user
|
|
300
|
+
* writes as flow source.
|
|
301
|
+
*/
|
|
302
|
+
function flowToYaml(flow) {
|
|
303
|
+
if (flow === null || flow === void 0) throw new TypeError("flow must not be null or undefined");
|
|
304
|
+
const source = { ...flow };
|
|
305
|
+
for (const field of SERVER_MANAGED_FLOW_FIELDS) delete source[field];
|
|
306
|
+
const doc = new Document(source, (_key, value) => value === null ? void 0 : value, { aliasDuplicateObjects: false });
|
|
307
|
+
visit(doc, { Scalar(_key, node) {
|
|
308
|
+
if (typeof node.value === "string" && !node.value.includes("\n") && isAmbiguousYamlString(node.value)) node.type = Scalar.QUOTE_DOUBLE;
|
|
309
|
+
} });
|
|
310
|
+
return doc.toString({ lineWidth: 0 });
|
|
311
|
+
}
|
|
312
|
+
/** Plain scalars some YAML reader resolves to a boolean or null (case-insensitive). */
|
|
313
|
+
const AMBIGUOUS_YAML_WORDS = new Set([
|
|
314
|
+
"",
|
|
315
|
+
"~",
|
|
316
|
+
"null",
|
|
317
|
+
"y",
|
|
318
|
+
"yes",
|
|
319
|
+
"n",
|
|
320
|
+
"no",
|
|
321
|
+
"true",
|
|
322
|
+
"false",
|
|
323
|
+
"on",
|
|
324
|
+
"off"
|
|
325
|
+
]);
|
|
326
|
+
/**
|
|
327
|
+
* Strings a YAML 1.1 / 1.2 or Jackson reader may resolve to a number or
|
|
328
|
+
* timestamp: signed ints/floats with underscores and exponents (with or without
|
|
329
|
+
* a dot or exponent sign), hex/octal/binary, .inf/.nan, sexagesimal (12:30) and
|
|
330
|
+
* dates. Deliberately permissive: quoting a string that did not need it is
|
|
331
|
+
* harmless, leaving one plain is not. Same predicate as the Python/Go/Java SDKs,
|
|
332
|
+
* pinned by test-utils/yaml-ambiguous-strings.json.
|
|
333
|
+
*/
|
|
334
|
+
const AMBIGUOUS_YAML_SCALAR = /* @__PURE__ */ new RegExp("^[-+]?(0x[0-9a-f_]+|0o[0-7_]+|0b[01_]+|[0-9][0-9_]*(\\.[0-9_]*)?(e[-+]?[0-9_]+)?|\\.[0-9][0-9_]*(e[-+]?[0-9_]+)?|\\.(inf|nan)|[0-9][0-9_]*(:[0-5]?[0-9])+(\\.[0-9_]*)?)$|^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}", "i");
|
|
335
|
+
function isAmbiguousYamlString(value) {
|
|
336
|
+
return AMBIGUOUS_YAML_WORDS.has(value.toLowerCase()) || AMBIGUOUS_YAML_SCALAR.test(value);
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Create a flow from a native object (typed {@link Flow} model or plain object).
|
|
340
|
+
*
|
|
341
|
+
* The flow-write endpoint is YAML-only (it does not accept JSON), so the object
|
|
342
|
+
* is serialized to a YAML source string client-side and delegated to the
|
|
343
|
+
* generated `createFlow`. `draft` stays a query parameter, not a body field.
|
|
344
|
+
*/
|
|
345
|
+
function createFlowFromObject(parameters, options) {
|
|
346
|
+
const { flow, ...rest } = parameters;
|
|
347
|
+
return createFlow({
|
|
348
|
+
...rest,
|
|
349
|
+
body: flowToYaml(flow)
|
|
350
|
+
}, options);
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Update a flow from a native object (typed {@link Flow} model or plain object).
|
|
354
|
+
*
|
|
355
|
+
* The object is serialized to a YAML source string client-side (the write
|
|
356
|
+
* endpoint is YAML-only) and delegated to the generated `updateFlow`. `draft`
|
|
357
|
+
* stays a query parameter, not a body field.
|
|
358
|
+
*/
|
|
359
|
+
function updateFlowFromObject(parameters, options) {
|
|
360
|
+
const { flow, ...rest } = parameters;
|
|
361
|
+
return updateFlow({
|
|
362
|
+
...rest,
|
|
363
|
+
body: flowToYaml(flow)
|
|
364
|
+
}, options);
|
|
365
|
+
}
|
|
366
|
+
//#endregion
|
|
367
|
+
export { listFlowRevisions as A, updateFlow as B, flowDependenciesFromNamespace as C, importFlows as D, generateFlowGraphFromSource as E, searchConcurrencyLimitsAsInstanceOwner as F, __exportAll as G, validateFlows as H, searchFlows as I, searchFlowsBySourceCode as L, previewPolicies as M, previewReplaceBySourceCode as N, listDeprecated as O, replaceLineBySourceCode as P, taskFromFlow as R, flowDependencies as S, generateFlowGraph as T, validateTask as U, updateFlowsInNamespace as V, validateTrigger as W, exportFlows as _, applyReplaceBySourceCode as a, expressions as b, createFlow as c, deleteFlowsByQuery as d, deleteRevisions as f, enableFlowsByQuery as g, enableFlowsByIds as h, updateFlowFromObject as i, listFlowsByNamespace as j, listDistinctNamespaces as k, deleteFlow as l, disableFlowsByQuery as m, flowToYaml as n, bulkUpdateFlows as o, disableFlowsByIds as p, flow_from_object_exports as r, concurrencyLimit as s, createFlowFromObject as t, deleteFlowsByIds as u, exportFlowsByIds as v, flowHashesByIds as w, flow as x, exportFlowsByQuery as y, updateConcurrencyLimitAsInstanceOwner as z };
|
package/dist/flows.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { applyReplaceBySourceCode, bulkUpdateFlows, concurrencyLimit, createFlow, deleteFlow, deleteFlowsByIds, deleteFlowsByQuery, deleteRevisions, disableFlowsByIds, disableFlowsByQuery, enableFlowsByIds, enableFlowsByQuery, exportFlows, exportFlowsByIds, exportFlowsByQuery, expressions, flow, flowDependencies, flowDependenciesFromNamespace, flowHashesByIds, generateFlowGraph, generateFlowGraphFromSource, importFlows, listDeprecated, listDistinctNamespaces, listFlowRevisions, listFlowsByNamespace, previewPolicies, previewReplaceBySourceCode, replaceLineBySourceCode, searchConcurrencyLimitsAsInstanceOwner, searchFlows, searchFlowsBySourceCode, taskFromFlow, updateConcurrencyLimitAsInstanceOwner, updateFlow, updateFlowsInNamespace, validateFlows, validateTask, validateTrigger };
|
|
1
|
+
import { A as listFlowRevisions, B as updateFlow, C as flowDependenciesFromNamespace, D as importFlows, E as generateFlowGraphFromSource, F as searchConcurrencyLimitsAsInstanceOwner, H as validateFlows, I as searchFlows, L as searchFlowsBySourceCode, M as previewPolicies, N as previewReplaceBySourceCode, O as listDeprecated, P as replaceLineBySourceCode, R as taskFromFlow, S as flowDependencies, T as generateFlowGraph, U as validateTask, V as updateFlowsInNamespace, W as validateTrigger, _ as exportFlows, a as applyReplaceBySourceCode, b as expressions, c as createFlow, d as deleteFlowsByQuery, f as deleteRevisions, g as enableFlowsByQuery, h as enableFlowsByIds, i as updateFlowFromObject, j as listFlowsByNamespace, k as listDistinctNamespaces, l as deleteFlow, m as disableFlowsByQuery, n as createFlowFromObject, o as bulkUpdateFlows, p as disableFlowsByIds, r as flowToYaml, s as concurrencyLimit, t as FlowObjectInput, u as deleteFlowsByIds, v as exportFlowsByIds, w as flowHashesByIds, x as flow, y as exportFlowsByQuery, z as updateConcurrencyLimitAsInstanceOwner } from "./flow-from-object-QRQgo2C4.js";
|
|
2
|
+
export { FlowObjectInput, applyReplaceBySourceCode, bulkUpdateFlows, concurrencyLimit, createFlow, createFlowFromObject, deleteFlow, deleteFlowsByIds, deleteFlowsByQuery, deleteRevisions, disableFlowsByIds, disableFlowsByQuery, enableFlowsByIds, enableFlowsByQuery, exportFlows, exportFlowsByIds, exportFlowsByQuery, expressions, flow, flowDependencies, flowDependenciesFromNamespace, flowHashesByIds, flowToYaml, generateFlowGraph, generateFlowGraphFromSource, importFlows, listDeprecated, listDistinctNamespaces, listFlowRevisions, listFlowsByNamespace, previewPolicies, previewReplaceBySourceCode, replaceLineBySourceCode, searchConcurrencyLimitsAsInstanceOwner, searchFlows, searchFlowsBySourceCode, taskFromFlow, updateConcurrencyLimitAsInstanceOwner, updateFlow, updateFlowFromObject, updateFlowsInNamespace, validateFlows, validateTask, validateTrigger };
|
package/dist/flows.js
CHANGED
|
@@ -1,270 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/openapi/sdk/Flows.gen.ts
|
|
4
|
-
/**
|
|
5
|
-
* Search for flow concurrency limits
|
|
6
|
-
*/
|
|
7
|
-
function searchConcurrencyLimitsAsInstanceOwner(parameters, options) {
|
|
8
|
-
return getDataOrThrow(_2240B4C9(addTenantToParameters(parameters), options));
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Get the concurrency limit of a flow
|
|
12
|
-
*/
|
|
13
|
-
function concurrencyLimit(parameters, options) {
|
|
14
|
-
return getDataOrThrow(_7Fe54Fe8(addTenantToParameters(parameters), options));
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Update a flow concurrency limit
|
|
18
|
-
*/
|
|
19
|
-
function updateConcurrencyLimitAsInstanceOwner(parameters, options) {
|
|
20
|
-
return getDataOrThrow(_026A7705({
|
|
21
|
-
...parameters,
|
|
22
|
-
tenant: resolveTenant(parameters?.tenant),
|
|
23
|
-
concurrencyLimit: parameters
|
|
24
|
-
}, options));
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Create a flow from yaml source
|
|
28
|
-
*/
|
|
29
|
-
function createFlow(parameters, options) {
|
|
30
|
-
return getDataOrThrow(_5196384a(addTenantToParameters(parameters), options));
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Update from multiples yaml sources
|
|
34
|
-
*/
|
|
35
|
-
function bulkUpdateFlows(parameters, options) {
|
|
36
|
-
return getDataOrThrow(_0494596B6(addTenantToParameters(parameters), options));
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Delete flows by their IDs.
|
|
40
|
-
*/
|
|
41
|
-
function deleteFlowsByIds(parameters, options) {
|
|
42
|
-
return getDataOrThrow(_0Ec51319(addTenantToParameters(parameters), options));
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Delete flows returned by the query parameters.
|
|
46
|
-
*/
|
|
47
|
-
function deleteFlowsByQuery(parameters, options) {
|
|
48
|
-
return getDataOrThrow(_0715460C9(addTenantToParameters(parameters), options));
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* List flows containing deprecated tasks
|
|
52
|
-
*/
|
|
53
|
-
function listDeprecated(parameters, options) {
|
|
54
|
-
return getDataOrThrow(_1F4344F1(addTenantToParameters(parameters), options));
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Disable flows by their IDs.
|
|
58
|
-
*/
|
|
59
|
-
function disableFlowsByIds(parameters, options) {
|
|
60
|
-
return getDataOrThrow(_7D0E1E4(addTenantToParameters(parameters), options));
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Disable flows returned by the query parameters.
|
|
64
|
-
*/
|
|
65
|
-
function disableFlowsByQuery(parameters, options) {
|
|
66
|
-
return getDataOrThrow(_579848F4(addTenantToParameters(parameters), options));
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* List all distinct namespaces
|
|
70
|
-
*/
|
|
71
|
-
function listDistinctNamespaces(parameters, options) {
|
|
72
|
-
return getDataOrThrow(_06B60682e(addTenantToParameters(parameters), options));
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Enable flows by their IDs.
|
|
76
|
-
*/
|
|
77
|
-
function enableFlowsByIds(parameters, options) {
|
|
78
|
-
return getDataOrThrow(_3De59Ebf(addTenantToParameters(parameters), options));
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Enable flows returned by the query parameters.
|
|
82
|
-
*/
|
|
83
|
-
function enableFlowsByQuery(parameters, options) {
|
|
84
|
-
return getDataOrThrow(_5B713B0f(addTenantToParameters(parameters), options));
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Export flows as a ZIP archive of yaml sources.
|
|
88
|
-
*/
|
|
89
|
-
function exportFlowsByIds(parameters, options) {
|
|
90
|
-
return getDataOrThrow(ae43B0(addTenantToParameters(parameters), {
|
|
91
|
-
...options,
|
|
92
|
-
parseAs: "text"
|
|
93
|
-
}));
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Export flows as a ZIP archive of yaml sources.
|
|
97
|
-
*/
|
|
98
|
-
function exportFlowsByQuery(parameters, options) {
|
|
99
|
-
return getDataOrThrow(_0715B9840(addTenantToParameters(parameters), {
|
|
100
|
-
...options,
|
|
101
|
-
parseAs: "text"
|
|
102
|
-
}));
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Export all flows as a streamed CSV file
|
|
106
|
-
*/
|
|
107
|
-
function exportFlows(parameters, options) {
|
|
108
|
-
return getDataOrThrow(_07E3Fae4f(addTenantToParameters(parameters), options));
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Get available Pebble expressions for a flow
|
|
112
|
-
*/
|
|
113
|
-
function expressions(parameters, options) {
|
|
114
|
-
return getDataOrThrow(a76C0Db(addTenantToParameters(parameters), options));
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Generate a graph for a flow source
|
|
118
|
-
*/
|
|
119
|
-
function generateFlowGraphFromSource(parameters, options) {
|
|
120
|
-
return getDataOrThrow(_030B1A670(addTenantToParameters(parameters), options));
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Batch-compute source hashes for flows by id (drift detection)
|
|
124
|
-
*/
|
|
125
|
-
function flowHashesByIds(parameters, options) {
|
|
126
|
-
return getDataOrThrow(_0553D009(addTenantToParameters(parameters), options));
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Import flows as a ZIP archive of yaml sources or a multi-objects YAML file.
|
|
130
|
-
* When sending a Yaml that contains one or more flows, a list of index is returned.
|
|
131
|
-
* When sending a ZIP archive, a list of files that couldn't be imported is returned.
|
|
132
|
-
*
|
|
133
|
-
*/
|
|
134
|
-
function importFlows(parameters, options) {
|
|
135
|
-
return getDataOrThrow(_562B4060(addTenantToParameters(parameters), options));
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Preview the governance policy effects (mutations + violations) on a flow source
|
|
139
|
-
*/
|
|
140
|
-
function previewPolicies(parameters, options) {
|
|
141
|
-
return getDataOrThrow(d5Ff138({
|
|
142
|
-
tenant: resolveTenant(parameters?.tenant),
|
|
143
|
-
policyPreviewRequest: parameters
|
|
144
|
-
}, options));
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Search for flows
|
|
148
|
-
*/
|
|
149
|
-
function searchFlows(parameters, options) {
|
|
150
|
-
return getDataOrThrow(_02187E7C3(addTenantToParameters(parameters), options));
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Search for flows source code
|
|
154
|
-
*/
|
|
155
|
-
function searchFlowsBySourceCode(parameters, options) {
|
|
156
|
-
return getDataOrThrow(_067435Ac4(addTenantToParameters(parameters), options));
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Apply a Source Search replace-all operation
|
|
160
|
-
*/
|
|
161
|
-
function applyReplaceBySourceCode(parameters, options) {
|
|
162
|
-
return getDataOrThrow(_07628391b({
|
|
163
|
-
tenant: resolveTenant(parameters?.tenant),
|
|
164
|
-
sourceSearchReplaceApplyRequest: parameters
|
|
165
|
-
}, options));
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Apply a Source Search replace on a single match line
|
|
169
|
-
*/
|
|
170
|
-
function replaceLineBySourceCode(parameters, options) {
|
|
171
|
-
return getDataOrThrow(_0593C8Eb9({
|
|
172
|
-
tenant: resolveTenant(parameters?.tenant),
|
|
173
|
-
sourceSearchReplaceLineRequest: parameters
|
|
174
|
-
}, options));
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Preview a Source Search replace-all operation
|
|
178
|
-
*/
|
|
179
|
-
function previewReplaceBySourceCode(parameters, options) {
|
|
180
|
-
return getDataOrThrow(e83C44b({
|
|
181
|
-
tenant: resolveTenant(parameters?.tenant),
|
|
182
|
-
sourceSearchReplacePreviewRequest: parameters
|
|
183
|
-
}, options));
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* Validate a list of flows
|
|
187
|
-
*/
|
|
188
|
-
function validateFlows(parameters, options) {
|
|
189
|
-
return getDataOrThrow(_032E9A671(addTenantToParameters(parameters), options));
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Validate a task
|
|
193
|
-
*/
|
|
194
|
-
function validateTask(parameters, options) {
|
|
195
|
-
return getDataOrThrow(_407247Bb(addTenantToParameters(parameters), options));
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Validate trigger
|
|
199
|
-
*/
|
|
200
|
-
function validateTrigger(parameters, options) {
|
|
201
|
-
return getDataOrThrow(_030A1703e(addTenantToParameters(parameters), options));
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* Retrieve all flows from a given namespace
|
|
205
|
-
*/
|
|
206
|
-
function listFlowsByNamespace(parameters, options) {
|
|
207
|
-
return getDataOrThrow(_62Bef13d(addTenantToParameters(parameters), options));
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Update a complete namespace from yaml source
|
|
211
|
-
*/
|
|
212
|
-
function updateFlowsInNamespace(parameters, options) {
|
|
213
|
-
return getDataOrThrow(_541Dca5a(addTenantToParameters(parameters), options));
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Delete a flow
|
|
217
|
-
*/
|
|
218
|
-
function deleteFlow(parameters, options) {
|
|
219
|
-
return getDataOrThrow(_69272D79(addTenantToParameters(parameters), options));
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Get a flow
|
|
223
|
-
*/
|
|
224
|
-
function flow(parameters, options) {
|
|
225
|
-
return getDataOrThrow(_30012e(addTenantToParameters(parameters), options));
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Update a flow
|
|
229
|
-
*/
|
|
230
|
-
function updateFlow(parameters, options) {
|
|
231
|
-
return getDataOrThrow(_011A9De69(addTenantToParameters(parameters), options));
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* Get flow dependencies
|
|
235
|
-
*/
|
|
236
|
-
function flowDependencies(parameters, options) {
|
|
237
|
-
return getDataOrThrow(_0416C0289(addTenantToParameters(parameters), options));
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Generate a graph for a flow
|
|
241
|
-
*/
|
|
242
|
-
function generateFlowGraph(parameters, options) {
|
|
243
|
-
return getDataOrThrow(_41A7Bacb(addTenantToParameters(parameters), options));
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Delete revisions for a flow
|
|
247
|
-
*/
|
|
248
|
-
function deleteRevisions(parameters, options) {
|
|
249
|
-
return getDataOrThrow(_4Cc20E8d(addTenantToParameters(parameters), options));
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* Get revisions for a flow
|
|
253
|
-
*/
|
|
254
|
-
function listFlowRevisions(parameters, options) {
|
|
255
|
-
return getDataOrThrow(_6C34C66c(addTenantToParameters(parameters), options));
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* Get a flow task
|
|
259
|
-
*/
|
|
260
|
-
function taskFromFlow(parameters, options) {
|
|
261
|
-
return getDataOrThrow(_5662Ec9d(addTenantToParameters(parameters), options));
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* Retrieve flow dependencies
|
|
265
|
-
*/
|
|
266
|
-
function flowDependenciesFromNamespace(parameters, options) {
|
|
267
|
-
return getDataOrThrow(_0Fe49766(addTenantToParameters(parameters), options));
|
|
268
|
-
}
|
|
269
|
-
//#endregion
|
|
270
|
-
export { applyReplaceBySourceCode, bulkUpdateFlows, concurrencyLimit, createFlow, deleteFlow, deleteFlowsByIds, deleteFlowsByQuery, deleteRevisions, disableFlowsByIds, disableFlowsByQuery, enableFlowsByIds, enableFlowsByQuery, exportFlows, exportFlowsByIds, exportFlowsByQuery, expressions, flow, flowDependencies, flowDependenciesFromNamespace, flowHashesByIds, generateFlowGraph, generateFlowGraphFromSource, importFlows, listDeprecated, listDistinctNamespaces, listFlowRevisions, listFlowsByNamespace, previewPolicies, previewReplaceBySourceCode, replaceLineBySourceCode, searchConcurrencyLimitsAsInstanceOwner, searchFlows, searchFlowsBySourceCode, taskFromFlow, updateConcurrencyLimitAsInstanceOwner, updateFlow, updateFlowsInNamespace, validateFlows, validateTask, validateTrigger };
|
|
1
|
+
import { A as listFlowRevisions, B as updateFlow, C as flowDependenciesFromNamespace, D as importFlows, E as generateFlowGraphFromSource, F as searchConcurrencyLimitsAsInstanceOwner, H as validateFlows, I as searchFlows, L as searchFlowsBySourceCode, M as previewPolicies, N as previewReplaceBySourceCode, O as listDeprecated, P as replaceLineBySourceCode, R as taskFromFlow, S as flowDependencies, T as generateFlowGraph, U as validateTask, V as updateFlowsInNamespace, W as validateTrigger, _ as exportFlows, a as applyReplaceBySourceCode, b as expressions, c as createFlow, d as deleteFlowsByQuery, f as deleteRevisions, g as enableFlowsByQuery, h as enableFlowsByIds, i as updateFlowFromObject, j as listFlowsByNamespace, k as listDistinctNamespaces, l as deleteFlow, m as disableFlowsByQuery, n as flowToYaml, o as bulkUpdateFlows, p as disableFlowsByIds, s as concurrencyLimit, t as createFlowFromObject, u as deleteFlowsByIds, v as exportFlowsByIds, w as flowHashesByIds, x as flow, y as exportFlowsByQuery, z as updateConcurrencyLimitAsInstanceOwner } from "./flow-from-object-p045taB2.js";
|
|
2
|
+
export { applyReplaceBySourceCode, bulkUpdateFlows, concurrencyLimit, createFlow, createFlowFromObject, deleteFlow, deleteFlowsByIds, deleteFlowsByQuery, deleteRevisions, disableFlowsByIds, disableFlowsByQuery, enableFlowsByIds, enableFlowsByQuery, exportFlows, exportFlowsByIds, exportFlowsByQuery, expressions, flow, flowDependencies, flowDependenciesFromNamespace, flowHashesByIds, flowToYaml, generateFlowGraph, generateFlowGraphFromSource, importFlows, listDeprecated, listDistinctNamespaces, listFlowRevisions, listFlowsByNamespace, previewPolicies, previewReplaceBySourceCode, replaceLineBySourceCode, searchConcurrencyLimitsAsInstanceOwner, searchFlows, searchFlowsBySourceCode, taskFromFlow, updateConcurrencyLimitAsInstanceOwner, updateFlow, updateFlowFromObject, updateFlowsInNamespace, validateFlows, validateTask, validateTrigger };
|
package/dist/groups.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as deleteUserFromGroup, c as searchGroupMembers, d as updateGroup, i as deleteGroup, l as searchGroups, n as autocompleteGroups, o as group, r as createGroup, s as listGroupIds, t as addUserToGroup, u as setUserMembershipForGroup } from "./Groups.gen-CSf79gJt.js";
|
|
2
2
|
export { addUserToGroup, autocompleteGroups, createGroup, deleteGroup, deleteUserFromGroup, group, listGroupIds, searchGroupMembers, searchGroups, setUserMembershipForGroup, updateGroup };
|
package/dist/groups.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Lu as _80D6B62, Oi as _070B4Bca7, Rl as _666Ae97f, U as _01Ebe5D1d, Ut as _0331D20E8, at as _023811Cca, fr as _04E18D824, ml as _5E0F67f, vl as _5Ec7Ba77, ya as _0D6Bb264, zn as _04430Ac6c } from "./sdk.gen-D0N05hnd.js";
|
|
2
2
|
import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
|
|
3
3
|
//#region src/openapi/sdk/Groups.gen.ts
|
|
4
4
|
/**
|