@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.
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-D-l25TFP.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-B9QjroGH.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-c2L9vbD0.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-9w0Q97UV.d.ts → ScimGroups.gen-BYo59KTQ.d.ts} +2 -2
  41. package/dist/{ScimUsers.gen-BzaLXJsn.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-DjnRcO7O.d.ts → TenantAccessAdmin.gen-ColEHdKm.d.ts} +1 -1
  48. package/dist/Tenants.gen-DXIBszMy.d.ts +33 -0
  49. package/dist/{TenantsAdmin.gen-zuuhpskW.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 +2 -5
  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 +3 -9
  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 +2 -5
  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 +3 -2
  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-BeCaZ3ce.js → sdk.gen-D0N05hnd.js} +118 -12
  152. package/dist/{sdk.gen-fpaWrDYl.d.ts → sdk.gen-DtyzJiuU.d.ts} +41 -15
  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 +1 -1
  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-DSoptGKe.d.ts → types.gen-DVT5DQ0q.d.ts} +398 -119
  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-Ds2adZAN.d.ts +0 -3066
  188. package/dist/rolldown-runtime-D7D4PA-g.js +0 -13
@@ -1,4 +1,4 @@
1
- import { $c as _5A35A529, Bu as _9Beb7Be, Co as _2B464742, Di as _070Ae25E8, Dt as _02C81F3Ac, Fi as _072B3D08b, Hr as _05978F079, Ja as _197Ff358, Ji as _076D036Df, Kn as _0472E2162, Kt as _0357D5B80, Nc as _536Eebf2, No as _2Eff59C2, Os as _3D8Cecc2, Pt as _02Fbc290f, Sr as _050C2E400, Ti as _06Fa01237, Tt as _02B0Ac8D1, Ul as _67A4E57c, Vi as _0752Adbc4, Wa as _18Dbd36b, Xn as _0486C8476, Xr as _05Ef057Dd, Xu as e446C08, Zc as _59F56586, _t as _027A6Da8, an as _039F8Ba95, bt as _028Ee38A7, du as _71B7280, ed as f43A000, f as _01263C155, fn as _03Cf4A0Ab, fs as _380C1616, fu as _72929E1b, gi as _069531B2c, gt as _0279E8381, hi as _06944349d, hu as _731Fd483, i as _0117D26A6, ic as _489E3513, ju as _7F56E7Dd, ko as _2D63137, kt as _02D1825F2, n as _010C1C295, nl as _5C16Ae66, nn as _038Dcaf51, p as _012672A53, qa as _191Cdebb, r as _011787999, ri as _063170190, rl as _5C609C5f, ts as _349D6C88, u as _011D2C367, vn as _04106F4E8, vu as _736327A7, wr as _051905136, xr as _050Bf82E9, xt as _0299Dd8Df, yt as _028Aeb63d, za as _15Bac3E0, zl as _66Dea7Aa } from "./sdk.gen-BeCaZ3ce.js";
1
+ import { $c as _59F56586, $u as e446C08, Ao as _2D63137, Ba as _15Bac3E0, Di as _070Ae25E8, Dt as _02C81F3Ac, Fc as _536Eebf2, Fi as _072B3D08b, Ga as _18Dbd36b, Gl as _67A4E57c, Hr as _05978F079, Ja as _191Cdebb, Ji as _076D036Df, Kn as _0472E2162, Kt as _0357D5B80, Po as _2Eff59C2, Pt as _02Fbc290f, Pu as _7F56E7Dd, Sr as _050C2E400, Ti as _06Fa01237, Tt as _02B0Ac8D1, Uu as _9Beb7Be, Vi as _0752Adbc4, Vl as _66Dea7Aa, Xn as _0486C8476, Xr as _05Ef057Dd, Ya as _197Ff358, _t as _027A6Da8, _u as _731Fd483, ac as _489E3513, al as _5C609C5f, an as _039F8Ba95, bt as _028Ee38A7, bu as _736327A7, f as _01263C155, fn as _03Cf4A0Ab, gi as _069531B2c, gt as _0279E8381, hi as _06944349d, i as _0117D26A6, il as _5C16Ae66, ks as _3D8Cecc2, kt as _02D1825F2, mu as _72929E1b, n as _010C1C295, nn as _038Dcaf51, ns as _349D6C88, p as _012672A53, ps as _380C1616, pu as _71B7280, r as _011787999, rd as f43A000, ri as _063170190, tl as _5A35A529, u as _011D2C367, vn as _04106F4E8, wo as _2B464742, wr as _051905136, xr as _050Bf82E9, xt as _0299Dd8Df, yt as _028Aeb63d } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow, resolveTenant } from "./shared.js";
3
3
  //#region src/openapi/sdk/Executions.gen.ts
4
4
  /**
@@ -290,7 +290,10 @@ function restartExecution(parameters, options) {
290
290
  * Resume a paused execution.
291
291
  */
292
292
  function resumeExecution(parameters, options) {
293
- return getDataOrThrow(_039F8Ba95(addTenantToParameters(parameters), options));
293
+ return getDataOrThrow(_039F8Ba95(addTenantToParameters({
294
+ body: [],
295
+ ...parameters
296
+ }), options));
294
297
  }
295
298
  /**
296
299
  * Resume an execution from a breakpoint (in the 'BREAKPOINT' state).
@@ -302,7 +305,10 @@ function resumeExecutionFromBreakpoint(parameters, options) {
302
305
  * Validate inputs to resume a paused execution.
303
306
  */
304
307
  function validateResumeExecutionInputs(parameters, options) {
305
- return getDataOrThrow(_9Beb7Be(addTenantToParameters(parameters), options));
308
+ return getDataOrThrow(_9Beb7Be(addTenantToParameters({
309
+ body: [],
310
+ ...parameters
311
+ }), options));
306
312
  }
307
313
  /**
308
314
  * Change state for a taskrun in an execution
@@ -375,7 +381,10 @@ function createExecution(parameters, options) {
375
381
  * Validate the creation of a new execution for a flow
376
382
  */
377
383
  function validateNewExecutionInputs(parameters, options) {
378
- return getDataOrThrow(_050Bf82E9(addTenantToParameters(parameters), options));
384
+ return getDataOrThrow(_050Bf82E9(addTenantToParameters({
385
+ body: [],
386
+ ...parameters
387
+ }), options));
379
388
  }
380
389
  //#endregion
381
390
  export { createExecution, deleteExecution, deleteExecutionsByIds, deleteExecutionsByQuery, downloadFileFromExecution, evalExpression, evalTaskRunExpression, execution, executionAverageDuration, executionFlowGraph, exportExecutions, fileMetadatasFromExecution, findDistinctFieldValues, flowFromExecution, flowFromExecutionById, followDependenciesExecutions, followExecution, forceRunByIds, forceRunExecution, forceRunExecutionsByQuery, killExecution, killExecutionsByIds, killExecutionsByQuery, latestExecutions, listExecutableDistinctNamespaces, listFlowExecutionsByNamespace, pauseExecution, pauseExecutionsByIds, pauseExecutionsByQuery, previewFileFromExecution, replayExecution, replayExecutionWithinputs, replayExecutionsByIds, replayExecutionsByQuery, restartExecution, restartExecutionsByIds, restartExecutionsByQuery, resumeExecution, resumeExecutionFromBreakpoint, resumeExecutionsByIds, resumeExecutionsByQuery, searchExecutions, searchExecutionsByFlowId, setLabelsOnTerminatedExecution, setLabelsOnTerminatedExecutionsByIds, setLabelsOnTerminatedExecutionsByQuery, triggerExecutionByGetWebhook, triggerExecutionByGetWebhookWithPath, triggerExecutionByPostWebhook, triggerExecutionByPostWebhookWithPath, triggerExecutionByPutWebhook, triggerExecutionByPutWebhookWithPath, unqueueExecution, unqueueExecutionsByIds, unqueueExecutionsByQuery, updateExecutionStatus, updateExecutionsStatusByIds, updateExecutionsStatusByQuery, updateTaskRunState, validateNewExecutionInputs, validateResumeExecutionInputs };
@@ -1,2 +1,2 @@
1
- import { ko as renderExpressions } from "./index-Ds2adZAN.js";
1
+ import { t as renderExpressions } from "./Expressions.gen-BOr6l06_.js";
2
2
  export { renderExpressions };
@@ -1,4 +1,4 @@
1
- import { er as _04A36929b } from "./sdk.gen-BeCaZ3ce.js";
1
+ import { er as _04A36929b } from "./sdk.gen-D0N05hnd.js";
2
2
  import { getDataOrThrow, resolveTenant } from "./shared.js";
3
3
  //#region src/openapi/sdk/Expressions.gen.ts
4
4
  /**
package/dist/files.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Co as fileContent, Do as moveFileDirectory, Eo as listNamespaceDirectoryFiles, Oo as searchNamespaceFiles, So as exportNamespaceFiles, To as fileRevisions, bo as createNamespaceFile, wo as fileMetadatas, xo as deleteFileDirectory, yo as createNamespaceDirectory } from "./index-Ds2adZAN.js";
1
+ import { a as fileContent, c as listNamespaceDirectoryFiles, i as exportNamespaceFiles, l as moveFileDirectory, n as createNamespaceFile, o as fileMetadatas, r as deleteFileDirectory, s as fileRevisions, t as createNamespaceDirectory, u as searchNamespaceFiles } from "./Files.gen-Ck5kAB-X.js";
2
2
  export { createNamespaceDirectory, createNamespaceFile, deleteFileDirectory, exportNamespaceFiles, fileContent, fileMetadatas, fileRevisions, listNamespaceDirectoryFiles, moveFileDirectory, searchNamespaceFiles };
package/dist/files.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Au as _7D6E2400, Lc as _54C4A1Db, Ni as _07288D39a, Pr as _0561C0Ca3, Rr as _057D73E5c, Us as _4157Eab0, Wi as _075B6Dc39, ca as _08E52624, ci as _066857Ef8, jc as _5233556e } from "./sdk.gen-BeCaZ3ce.js";
1
+ import { Nc as _5233556e, Ni as _07288D39a, Nu as _7D6E2400, Pr as _0561C0Ca3, Rr as _057D73E5c, Wi as _075B6Dc39, Ws as _4157Eab0, ca as _08E52624, ci as _066857Ef8, zc as _54C4A1Db } from "./sdk.gen-D0N05hnd.js";
2
2
  import { addTenantToParameters, getDataOrThrow } from "./shared.js";
3
3
  //#region src/openapi/sdk/Files.gen.ts
4
4
  /**
@@ -41,10 +41,7 @@ function createNamespaceDirectory(parameters, options) {
41
41
  * Export namespace files as a ZIP
42
42
  */
43
43
  function exportNamespaceFiles(parameters, options) {
44
- return getDataOrThrow(_4157Eab0(addTenantToParameters(parameters), {
45
- ...options,
46
- parseAs: "text"
47
- }));
44
+ return getDataOrThrow(_4157Eab0(addTenantToParameters(parameters), options));
48
45
  }
49
46
  /**
50
47
  * Get namespace file revisions
@@ -0,0 +1,294 @@
1
+ import { $B as PagedResultsConcurrencyLimit, CE as Flow, DD as FlowTopologyGraph, Det as ValidateConstraintViolation, FE as FlowControllerFlowWithDeprecatedTasks, Jw as ExpressionContext, Lt as ApiFlowHashesResponse, MD as FlowWithSource, RW as PolicyPreviewRequest, Z2 as Task, d2 as SourceSearchReplacePreviewRequest, f2 as SourceSearchReplacePreviewResponse, fD as FlowGraph, fo as BulkResponse, o2 as SourceSearchReplaceApplyRequest, s2 as SourceSearchReplaceApplyResponse, tV as PagedResultsFlow, u2 as SourceSearchReplaceLineRequest, xD as FlowInterface, yV as PagedResultsSourceSearchResult, zW as PolicyPreviewResponse, zs as ConcurrencyLimit } from "./types.gen-DVT5DQ0q.js";
2
+ import { Aa as _0Fe49766, Ac as _5196384a, Ai as _0715460C9, Bo as _30012e, Ea as _0Ec51319, Gu as a76C0Db, Hr as _0593C8Eb9, Hs as _407247Bb, Ht as _032E9A671, It as _030A1703e, Ji as _07628391b, Ku as ae43B0, Lc as _541Dca5a, Lt as _030B1A670, Lu as _7Fe54Fe8, Mr as _0553D009, Nu as _7D0E1E4, Q as _02187E7C3, Qn as _0494596B6, Uc as _562B4060, Wc as _5662Ec9d, Yu as d5Ff138, Zl as _69272D79, c as _011A9De69, do as _2240B4C9, fi as _067435Ac4, gt as _026A7705, hc as _4Cc20E8d, ia as _07E3Fae4f, il as _5B713B0f, io as _1F4344F1, ji as _0715B9840, jl as _62Bef13d, js as _3De59Ebf, nd as e83C44b, qc as _579848F4, qs as _41A7Bacb, su as _6C34C66c, xn as _0416C0289, yi as _06B60682e } from "./sdk.gen-DtyzJiuU.js";
3
+ //#region src/openapi/sdk/Flows.gen.d.ts
4
+ /**
5
+ * Search for flow concurrency limits
6
+ */
7
+ declare function searchConcurrencyLimitsAsInstanceOwner(parameters?: Omit<Parameters<typeof _2240B4C9>[0], 'tenant'> & {
8
+ tenant?: string;
9
+ }, options?: Omit<Parameters<typeof _2240B4C9>[1], 'throwOnError'>): Promise<PagedResultsConcurrencyLimit>;
10
+ /**
11
+ * Get the concurrency limit of a flow
12
+ */
13
+ declare function concurrencyLimit(parameters: Omit<Parameters<typeof _7Fe54Fe8>[0], 'tenant'> & {
14
+ tenant?: string;
15
+ }, options?: Omit<Parameters<typeof _7Fe54Fe8>[1], 'throwOnError'>): Promise<ConcurrencyLimit>;
16
+ /**
17
+ * Update a flow concurrency limit
18
+ */
19
+ declare function updateConcurrencyLimitAsInstanceOwner(parameters: Omit<Parameters<typeof _026A7705>[0], 'concurrencyLimit' | 'tenant'> & ConcurrencyLimit & {
20
+ tenant?: string;
21
+ }, options?: Omit<Parameters<typeof _026A7705>[1], 'throwOnError'>): Promise<ConcurrencyLimit>;
22
+ /**
23
+ * Create a flow from yaml source
24
+ */
25
+ declare function createFlow(parameters: Omit<Parameters<typeof _5196384a>[0], 'tenant'> & {
26
+ tenant?: string;
27
+ }, options?: Omit<Parameters<typeof _5196384a>[1], 'throwOnError'>): Promise<FlowWithSource>;
28
+ /**
29
+ * Update from multiples yaml sources
30
+ */
31
+ declare function bulkUpdateFlows(parameters?: Omit<Parameters<typeof _0494596B6>[0], 'tenant'> & {
32
+ tenant?: string;
33
+ }, options?: Omit<Parameters<typeof _0494596B6>[1], 'throwOnError'>): Promise<FlowInterface[]>;
34
+ /**
35
+ * Delete flows by their IDs.
36
+ */
37
+ declare function deleteFlowsByIds(parameters: Omit<Parameters<typeof _0Ec51319>[0], 'tenant'> & {
38
+ tenant?: string;
39
+ }, options?: Omit<Parameters<typeof _0Ec51319>[1], 'throwOnError'>): Promise<BulkResponse>;
40
+ /**
41
+ * Delete flows returned by the query parameters.
42
+ */
43
+ declare function deleteFlowsByQuery(parameters?: Omit<Parameters<typeof _0715460C9>[0], 'tenant'> & {
44
+ tenant?: string;
45
+ }, options?: Omit<Parameters<typeof _0715460C9>[1], 'throwOnError'>): Promise<BulkResponse>;
46
+ /**
47
+ * List flows containing deprecated tasks
48
+ */
49
+ declare function listDeprecated(parameters?: Omit<Parameters<typeof _1F4344F1>[0], 'tenant'> & {
50
+ tenant?: string;
51
+ }, options?: Omit<Parameters<typeof _1F4344F1>[1], 'throwOnError'>): Promise<FlowControllerFlowWithDeprecatedTasks[]>;
52
+ /**
53
+ * Disable flows by their IDs.
54
+ */
55
+ declare function disableFlowsByIds(parameters: Omit<Parameters<typeof _7D0E1E4>[0], 'tenant'> & {
56
+ tenant?: string;
57
+ }, options?: Omit<Parameters<typeof _7D0E1E4>[1], 'throwOnError'>): Promise<BulkResponse>;
58
+ /**
59
+ * Disable flows returned by the query parameters.
60
+ */
61
+ declare function disableFlowsByQuery(parameters?: Omit<Parameters<typeof _579848F4>[0], 'tenant'> & {
62
+ tenant?: string;
63
+ }, options?: Omit<Parameters<typeof _579848F4>[1], 'throwOnError'>): Promise<BulkResponse>;
64
+ /**
65
+ * List all distinct namespaces
66
+ */
67
+ declare function listDistinctNamespaces(parameters?: Omit<Parameters<typeof _06B60682e>[0], 'tenant'> & {
68
+ tenant?: string;
69
+ }, options?: Omit<Parameters<typeof _06B60682e>[1], 'throwOnError'>): Promise<string[]>;
70
+ /**
71
+ * Enable flows by their IDs.
72
+ */
73
+ declare function enableFlowsByIds(parameters: Omit<Parameters<typeof _3De59Ebf>[0], 'tenant'> & {
74
+ tenant?: string;
75
+ }, options?: Omit<Parameters<typeof _3De59Ebf>[1], 'throwOnError'>): Promise<BulkResponse>;
76
+ /**
77
+ * Enable flows returned by the query parameters.
78
+ */
79
+ declare function enableFlowsByQuery(parameters?: Omit<Parameters<typeof _5B713B0f>[0], 'tenant'> & {
80
+ tenant?: string;
81
+ }, options?: Omit<Parameters<typeof _5B713B0f>[1], 'throwOnError'>): Promise<BulkResponse>;
82
+ /**
83
+ * Export flows as a ZIP archive of yaml sources.
84
+ */
85
+ declare function exportFlowsByIds(parameters: Omit<Parameters<typeof ae43B0>[0], 'tenant'> & {
86
+ tenant?: string;
87
+ }, options?: Omit<Parameters<typeof ae43B0>[1], 'throwOnError'>): Promise<Blob | File>;
88
+ /**
89
+ * Export flows as a ZIP archive of yaml sources.
90
+ */
91
+ declare function exportFlowsByQuery(parameters?: Omit<Parameters<typeof _0715B9840>[0], 'tenant'> & {
92
+ tenant?: string;
93
+ }, options?: Omit<Parameters<typeof _0715B9840>[1], 'throwOnError'>): Promise<Blob | File>;
94
+ /**
95
+ * Export all flows as a streamed CSV file
96
+ */
97
+ declare function exportFlows(parameters?: Omit<Parameters<typeof _07E3Fae4f>[0], 'tenant'> & {
98
+ tenant?: string;
99
+ }, options?: Omit<Parameters<typeof _07E3Fae4f>[1], 'throwOnError'>): Promise<string[]>;
100
+ /**
101
+ * Get available Pebble expressions for a flow
102
+ */
103
+ declare function expressions(parameters: Omit<Parameters<typeof a76C0Db>[0], 'tenant'> & {
104
+ tenant?: string;
105
+ }, options?: Omit<Parameters<typeof a76C0Db>[1], 'throwOnError'>): Promise<ExpressionContext>;
106
+ /**
107
+ * Generate a graph for a flow source
108
+ */
109
+ declare function generateFlowGraphFromSource(parameters: Omit<Parameters<typeof _030B1A670>[0], 'tenant'> & {
110
+ tenant?: string;
111
+ }, options?: Omit<Parameters<typeof _030B1A670>[1], 'throwOnError'>): Promise<FlowGraph>;
112
+ /**
113
+ * Batch-compute source hashes for flows by id (drift detection)
114
+ */
115
+ declare function flowHashesByIds(parameters: Omit<Parameters<typeof _0553D009>[0], 'tenant'> & {
116
+ tenant?: string;
117
+ }, options?: Omit<Parameters<typeof _0553D009>[1], 'throwOnError'>): Promise<ApiFlowHashesResponse>;
118
+ /**
119
+ * Import flows as a ZIP archive of yaml sources or a multi-objects YAML file.
120
+ * When sending a Yaml that contains one or more flows, a list of index is returned.
121
+ * When sending a ZIP archive, a list of files that couldn't be imported is returned.
122
+ *
123
+ */
124
+ declare function importFlows(parameters: Omit<Parameters<typeof _562B4060>[0], 'tenant'> & {
125
+ tenant?: string;
126
+ }, options?: Omit<Parameters<typeof _562B4060>[1], 'throwOnError'>): Promise<string[]>;
127
+ /**
128
+ * Preview the governance policy effects (mutations + violations) on a flow source
129
+ */
130
+ declare function previewPolicies(parameters: PolicyPreviewRequest & {
131
+ tenant?: string;
132
+ }, options?: Omit<Parameters<typeof d5Ff138>[1], 'throwOnError'>): Promise<PolicyPreviewResponse>;
133
+ /**
134
+ * Search for flows
135
+ */
136
+ declare function searchFlows(parameters?: Omit<Parameters<typeof _02187E7C3>[0], 'tenant'> & {
137
+ tenant?: string;
138
+ }, options?: Omit<Parameters<typeof _02187E7C3>[1], 'throwOnError'>): Promise<PagedResultsFlow>;
139
+ /**
140
+ * Search for flows source code
141
+ */
142
+ declare function searchFlowsBySourceCode(parameters?: Omit<Parameters<typeof _067435Ac4>[0], 'tenant'> & {
143
+ tenant?: string;
144
+ }, options?: Omit<Parameters<typeof _067435Ac4>[1], 'throwOnError'>): Promise<PagedResultsSourceSearchResult>;
145
+ /**
146
+ * Apply a Source Search replace-all operation
147
+ */
148
+ declare function applyReplaceBySourceCode(parameters: SourceSearchReplaceApplyRequest & {
149
+ tenant?: string;
150
+ }, options?: Omit<Parameters<typeof _07628391b>[1], 'throwOnError'>): Promise<SourceSearchReplaceApplyResponse>;
151
+ /**
152
+ * Apply a Source Search replace on a single match line
153
+ */
154
+ declare function replaceLineBySourceCode(parameters: SourceSearchReplaceLineRequest & {
155
+ tenant?: string;
156
+ }, options?: Omit<Parameters<typeof _0593C8Eb9>[1], 'throwOnError'>): Promise<SourceSearchReplaceApplyResponse>;
157
+ /**
158
+ * Preview a Source Search replace-all operation
159
+ */
160
+ declare function previewReplaceBySourceCode(parameters: SourceSearchReplacePreviewRequest & {
161
+ tenant?: string;
162
+ }, options?: Omit<Parameters<typeof e83C44b>[1], 'throwOnError'>): Promise<SourceSearchReplacePreviewResponse>;
163
+ /**
164
+ * Validate a list of flows
165
+ */
166
+ declare function validateFlows(parameters: Omit<Parameters<typeof _032E9A671>[0], 'tenant'> & {
167
+ tenant?: string;
168
+ }, options?: Omit<Parameters<typeof _032E9A671>[1], 'throwOnError'>): Promise<ValidateConstraintViolation[]>;
169
+ /**
170
+ * Validate a task
171
+ */
172
+ declare function validateTask(parameters: Omit<Parameters<typeof _407247Bb>[0], 'tenant'> & {
173
+ tenant?: string;
174
+ }, options?: Omit<Parameters<typeof _407247Bb>[1], 'throwOnError'>): Promise<ValidateConstraintViolation>;
175
+ /**
176
+ * Validate trigger
177
+ */
178
+ declare function validateTrigger(parameters: Omit<Parameters<typeof _030A1703e>[0], 'tenant'> & {
179
+ tenant?: string;
180
+ }, options?: Omit<Parameters<typeof _030A1703e>[1], 'throwOnError'>): Promise<ValidateConstraintViolation>;
181
+ /**
182
+ * Retrieve all flows from a given namespace
183
+ */
184
+ declare function listFlowsByNamespace(parameters: Omit<Parameters<typeof _62Bef13d>[0], 'tenant'> & {
185
+ tenant?: string;
186
+ }, options?: Omit<Parameters<typeof _62Bef13d>[1], 'throwOnError'>): Promise<Flow[]>;
187
+ /**
188
+ * Update a complete namespace from yaml source
189
+ */
190
+ declare function updateFlowsInNamespace(parameters: Omit<Parameters<typeof _541Dca5a>[0], 'tenant'> & {
191
+ tenant?: string;
192
+ }, options?: Omit<Parameters<typeof _541Dca5a>[1], 'throwOnError'>): Promise<FlowInterface[]>;
193
+ /**
194
+ * Delete a flow
195
+ */
196
+ declare function deleteFlow(parameters: Omit<Parameters<typeof _69272D79>[0], 'tenant'> & {
197
+ tenant?: string;
198
+ }, options?: Omit<Parameters<typeof _69272D79>[1], 'throwOnError'>): Promise<unknown>;
199
+ /**
200
+ * Get a flow
201
+ */
202
+ declare function flow(parameters: Omit<Parameters<typeof _30012e>[0], 'tenant'> & {
203
+ tenant?: string;
204
+ }, options?: Omit<Parameters<typeof _30012e>[1], 'throwOnError'>): Promise<FlowWithSource>;
205
+ /**
206
+ * Update a flow
207
+ */
208
+ declare function updateFlow(parameters: Omit<Parameters<typeof _011A9De69>[0], 'tenant'> & {
209
+ tenant?: string;
210
+ }, options?: Omit<Parameters<typeof _011A9De69>[1], 'throwOnError'>): Promise<FlowWithSource>;
211
+ /**
212
+ * Get flow dependencies
213
+ */
214
+ declare function flowDependencies(parameters: Omit<Parameters<typeof _0416C0289>[0], 'tenant'> & {
215
+ tenant?: string;
216
+ }, options?: Omit<Parameters<typeof _0416C0289>[1], 'throwOnError'>): Promise<FlowTopologyGraph>;
217
+ /**
218
+ * Generate a graph for a flow
219
+ */
220
+ declare function generateFlowGraph(parameters: Omit<Parameters<typeof _41A7Bacb>[0], 'tenant'> & {
221
+ tenant?: string;
222
+ }, options?: Omit<Parameters<typeof _41A7Bacb>[1], 'throwOnError'>): Promise<FlowGraph>;
223
+ /**
224
+ * Delete revisions for a flow
225
+ */
226
+ declare function deleteRevisions(parameters: Omit<Parameters<typeof _4Cc20E8d>[0], 'tenant'> & {
227
+ tenant?: string;
228
+ }, options?: Omit<Parameters<typeof _4Cc20E8d>[1], 'throwOnError'>): Promise<unknown>;
229
+ /**
230
+ * Get revisions for a flow
231
+ */
232
+ declare function listFlowRevisions(parameters: Omit<Parameters<typeof _6C34C66c>[0], 'tenant'> & {
233
+ tenant?: string;
234
+ }, options?: Omit<Parameters<typeof _6C34C66c>[1], 'throwOnError'>): Promise<FlowWithSource[]>;
235
+ /**
236
+ * Get a flow task
237
+ */
238
+ declare function taskFromFlow(parameters: Omit<Parameters<typeof _5662Ec9d>[0], 'tenant'> & {
239
+ tenant?: string;
240
+ }, options?: Omit<Parameters<typeof _5662Ec9d>[1], 'throwOnError'>): Promise<Task>;
241
+ /**
242
+ * Retrieve flow dependencies
243
+ */
244
+ declare function flowDependenciesFromNamespace(parameters: Omit<Parameters<typeof _0Fe49766>[0], 'tenant'> & {
245
+ tenant?: string;
246
+ }, options?: Omit<Parameters<typeof _0Fe49766>[1], 'throwOnError'>): Promise<FlowTopologyGraph>;
247
+ //#endregion
248
+ //#region src/flow-from-object.d.ts
249
+ /**
250
+ * A flow described as a native object rather than a YAML source string.
251
+ *
252
+ * Accepts the typed {@link Flow} model or a plain object. The loose
253
+ * `Record<string, unknown>` member is deliberate: the generated `Task` type is a
254
+ * closed object with no index signature, so plugin-specific task properties
255
+ * (e.g. `message` on a Log task, `commands` on a Shell task) would otherwise be
256
+ * rejected by TypeScript. They are carried through verbatim into the emitted YAML.
257
+ */
258
+ type FlowObjectInput = Flow | Record<string, unknown>;
259
+ /**
260
+ * Serialize a flow object to a YAML source string (block style, no anchors,
261
+ * `null` fields omitted). Kestra expressions like `{{ inputs.foo }}` are quoted
262
+ * by the YAML emitter and multi-line strings become literal block scalars.
263
+ * Server-managed top-level fields are stripped so the YAML mirrors what a user
264
+ * writes as flow source.
265
+ */
266
+ declare function flowToYaml(flow: FlowObjectInput): string;
267
+ /**
268
+ * Create a flow from a native object (typed {@link Flow} model or plain object).
269
+ *
270
+ * The flow-write endpoint is YAML-only (it does not accept JSON), so the object
271
+ * is serialized to a YAML source string client-side and delegated to the
272
+ * generated `createFlow`. `draft` stays a query parameter, not a body field.
273
+ */
274
+ declare function createFlowFromObject(parameters: {
275
+ flow: FlowObjectInput;
276
+ tenant?: string;
277
+ draft?: boolean;
278
+ }, options?: Parameters<typeof createFlow>[1]): Promise<FlowWithSource>;
279
+ /**
280
+ * Update a flow from a native object (typed {@link Flow} model or plain object).
281
+ *
282
+ * The object is serialized to a YAML source string client-side (the write
283
+ * endpoint is YAML-only) and delegated to the generated `updateFlow`. `draft`
284
+ * stays a query parameter, not a body field.
285
+ */
286
+ declare function updateFlowFromObject(parameters: {
287
+ flow: FlowObjectInput;
288
+ namespace: string;
289
+ id: string;
290
+ tenant?: string;
291
+ draft?: boolean;
292
+ }, options?: Parameters<typeof updateFlow>[1]): Promise<FlowWithSource>;
293
+ //#endregion
294
+ export { listFlowRevisions as A, updateFlow as B, flowDependenciesFromNamespace as C, importFlows as D, generateFlowGraphFromSource as E, searchConcurrencyLimitsAsInstanceOwner as F, 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, createFlowFromObject as n, bulkUpdateFlows as o, disableFlowsByIds as p, flowToYaml as r, concurrencyLimit as s, FlowObjectInput as t, deleteFlowsByIds as u, exportFlowsByIds as v, flowHashesByIds as w, flow as x, exportFlowsByQuery as y, updateConcurrencyLimitAsInstanceOwner as z };