@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
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ The SDK is organized into domain-specific modules (e.g. `flows`, `executions`, `
|
|
|
21
21
|
| --- | --- |
|
|
22
22
|
| `@kestra-io/kestra-sdk` | `useClient` / `configureClient` / `setMockClient`, and every generated **type** |
|
|
23
23
|
| `@kestra-io/kestra-sdk/client` | the shared HTTP client |
|
|
24
|
-
| `@kestra-io/kestra-sdk/<module>` | the operations of one module, e.g. `/flows`, `/executions` |
|
|
24
|
+
| `@kestra-io/kestra-sdk/<module>` | the operations of one module, e.g. `/flows`, `/executions` (`/flows` also carries the hand-written `createFlowFromObject` / `updateFlowFromObject` / `flowToYaml`) |
|
|
25
25
|
| `@kestra-io/kestra-sdk/all` | every operation at once — named exports, plus the namespace as `default` |
|
|
26
26
|
|
|
27
27
|
The root entry exports no operations. Reach an operation through its module (the tree-shakeable
|
|
@@ -29,23 +29,26 @@ form used throughout this guide), or through `/all` if one import is preferable
|
|
|
29
29
|
|
|
30
30
|
### Configure the client
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Configure the shared HTTP client once, at the entry point of your application.
|
|
33
|
+
`configureClient` also installs the SDK's body/query serializers and error interceptors:
|
|
33
34
|
|
|
34
35
|
```ts
|
|
35
|
-
import {
|
|
36
|
+
import { configureClient } from "@kestra-io/kestra-sdk";
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
configureClient({
|
|
39
|
+
baseUrl: "https://<your-kestra-host>",
|
|
39
40
|
auth: () => "<username>:<password>",
|
|
40
41
|
});
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
For token-based authentication,
|
|
44
|
+
For token-based authentication (service-account API token / JWT), return the token only for
|
|
45
|
+
the `bearer` scheme. Every operation declares both `bearer` and `basic` security, and the
|
|
46
|
+
`basic` pass would otherwise overwrite the header with `Basic base64(<token>)`:
|
|
44
47
|
|
|
45
48
|
```ts
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
auth: () => "<your-api-token>",
|
|
49
|
+
configureClient({
|
|
50
|
+
baseUrl: "https://<your-kestra-host>",
|
|
51
|
+
auth: (auth) => (auth.scheme === "bearer" ? "<your-api-token>" : undefined),
|
|
49
52
|
});
|
|
50
53
|
```
|
|
51
54
|
|
|
@@ -102,18 +105,31 @@ import * as WorkerAuthAPI from "@kestra-io/kestra-sdk/worker-auth";
|
|
|
102
105
|
import * as WorkerGroupsAPI from "@kestra-io/kestra-sdk/worker-groups";
|
|
103
106
|
```
|
|
104
107
|
|
|
108
|
+
### Enterprise-only routes
|
|
109
|
+
|
|
110
|
+
A 404 on a route that only exists in Kestra EE throws `EnterpriseFeatureError`
|
|
111
|
+
(feature unavailable on this server) or `SdkVersionMismatchError` (server is EE
|
|
112
|
+
but doesn't have this route — likely an SDK/server version mismatch), both
|
|
113
|
+
exported from `@kestra-io/kestra-sdk`.
|
|
114
|
+
|
|
115
|
+
`EnterpriseFeatureError` carries `feature`, `docsUrl` and `contactSalesUrl` so
|
|
116
|
+
you can render your own "upgrade to unlock X" message. The two URLs are
|
|
117
|
+
UTM-tagged (`utm_source=sdk&utm_medium=referral&utm_campaign=ee-feature-error`,
|
|
118
|
+
with the feature key in `utm_content`); strip the query string if you'd rather
|
|
119
|
+
not pass it through.
|
|
120
|
+
|
|
105
121
|
### Example: a flow lifecycle
|
|
106
122
|
|
|
107
123
|
Configure the client once (see [Configure the client](#configure-the-client)), pick a tenant, then
|
|
108
124
|
call the domain modules:
|
|
109
125
|
|
|
110
126
|
```ts
|
|
111
|
-
import {
|
|
127
|
+
import { configureClient } from "@kestra-io/kestra-sdk";
|
|
112
128
|
import * as FlowsAPI from "@kestra-io/kestra-sdk/flows";
|
|
113
129
|
import * as ExecutionsAPI from "@kestra-io/kestra-sdk/executions";
|
|
114
130
|
|
|
115
|
-
|
|
116
|
-
|
|
131
|
+
configureClient({
|
|
132
|
+
baseUrl: "https://<your-kestra-host>",
|
|
117
133
|
auth: () => "root@root.com:Root!1234",
|
|
118
134
|
});
|
|
119
135
|
|
|
@@ -157,3 +173,79 @@ const execution = await ExecutionsAPI.createExecution({
|
|
|
157
173
|
console.log(`Execution ${execution.id} finished in state ${execution.state?.current}`);
|
|
158
174
|
```
|
|
159
175
|
<!-- /snippet -->
|
|
176
|
+
|
|
177
|
+
## Create or update a flow from an object
|
|
178
|
+
|
|
179
|
+
The flow-write endpoints only accept YAML source. `createFlowFromObject` / `updateFlowFromObject`
|
|
180
|
+
take a flow as a plain object (or the typed `Flow` model), serialize it to YAML client-side and call
|
|
181
|
+
`createFlow` / `updateFlow`. They live on the `/flows` subpath with the other flow operations
|
|
182
|
+
(`flowToYaml` is exported there too, if you only want the YAML):
|
|
183
|
+
|
|
184
|
+
```typescript
|
|
185
|
+
import * as FlowsAPI from "@kestra-io/kestra-sdk/flows";
|
|
186
|
+
|
|
187
|
+
const created = await FlowsAPI.createFlowFromObject({
|
|
188
|
+
tenant,
|
|
189
|
+
flow: {
|
|
190
|
+
id: "hello_from_object",
|
|
191
|
+
namespace: "company.team",
|
|
192
|
+
tasks: [
|
|
193
|
+
{
|
|
194
|
+
id: "hello",
|
|
195
|
+
type: "io.kestra.plugin.core.log.Log",
|
|
196
|
+
// Plugin-specific properties are carried through verbatim.
|
|
197
|
+
message: "Hello {{ flow.id }}!",
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
await FlowsAPI.updateFlowFromObject({
|
|
204
|
+
tenant,
|
|
205
|
+
namespace: created.namespace,
|
|
206
|
+
id: created.id,
|
|
207
|
+
flow: { ...created, description: "Updated from an object" },
|
|
208
|
+
});
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Server-managed fields (`revision`, `deleted`, `draft`, `tenantId`, `source`, `updated`) are stripped
|
|
212
|
+
from the serialized source, and `null` fields are omitted. `draft` is passed as a parameter, not in
|
|
213
|
+
`flow`.
|
|
214
|
+
|
|
215
|
+
## Complex queries (AND / OR filters)
|
|
216
|
+
|
|
217
|
+
Every `*ByQuery` / search endpoint accepts grouped filters. Build them as typed `QueryFilter`
|
|
218
|
+
objects — a **leaf** is `{ field, operation, value }`; a **group** is `{ logical: 'and' | 'or',
|
|
219
|
+
children: [...] }` (one level of nesting):
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import * as FlowsAPI from "@kestra-io/kestra-sdk/flows";
|
|
223
|
+
|
|
224
|
+
// namespace = company.team AND (labels.tier = gold OR labels.tier = silver)
|
|
225
|
+
const flows = await FlowsAPI.searchFlows({
|
|
226
|
+
filters: [
|
|
227
|
+
{
|
|
228
|
+
logical: "and",
|
|
229
|
+
children: [
|
|
230
|
+
{ field: "namespace", operation: "EQUALS", value: "company.team" },
|
|
231
|
+
{
|
|
232
|
+
logical: "or",
|
|
233
|
+
children: [
|
|
234
|
+
{ field: "labels", operation: "EQUALS", value: { tier: "gold" } },
|
|
235
|
+
{ field: "labels", operation: "EQUALS", value: { tier: "silver" } },
|
|
236
|
+
],
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
});
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
- **Backward compatible:** a flat `QueryFilter[]` serializes to the same `filters[field][OP]=value`
|
|
245
|
+
wire format as before.
|
|
246
|
+
- The serialization lives in the shared `@kestra-io/hey-api-plugin` `querySerializer` (also used by
|
|
247
|
+
the Kestra UI SDKs), so JS has no separate `where/and/or` DSL — build the objects directly; the
|
|
248
|
+
types give you autocompletion.
|
|
249
|
+
- Notes vs. the other SDKs' DSLs (all backend-valid): an explicit top-level `{ logical: 'and' }`
|
|
250
|
+
group of leaves serializes to `filters[and][0]...` rather than the flattened bare form (a flat
|
|
251
|
+
array stays flat); a single-child group and an empty group are not normalized away.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Dt as ApiConfirmActionRequest, Et as ApiChatTurnRequest, Fn as AppGenerationPrompt, Ms as ChatResponses, Rnt as ServerSentEventsResult, Tn as ApiThreadSummary, dt as AiControllerFlowGenerationPrompt, fn as ApiRenameThreadRequest, g3 as TestSuiteGenerationPrompt, lt as AiControllerAiProviderResponse, tc as ConfirmResponses, ut as AiControllerDashboardGenerationPrompt } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { J as _020A3475e, Po as _2E9358, Rl as _6667C843, Vc as _55628B91, en as _037B4C8C2, is as _34D9Fc6c, ml as _5Ded489f, vs as _38B0E6C0 } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/Ai.gen.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Generate or regenerate an app based on a prompt (EE only)
|
|
7
|
+
*/
|
|
8
|
+
declare function generateApp(parameters: AppGenerationPrompt & {
|
|
9
|
+
tenant?: string;
|
|
10
|
+
}, options?: Omit<Parameters<typeof _34D9Fc6c>[1], 'throwOnError'>): Promise<string>;
|
|
11
|
+
/**
|
|
12
|
+
* Generate or regenerate a dashboard based on a prompt (EE only)
|
|
13
|
+
*/
|
|
14
|
+
declare function generateDashboard(parameters: AiControllerDashboardGenerationPrompt & {
|
|
15
|
+
tenant?: string;
|
|
16
|
+
}, options?: Omit<Parameters<typeof _5Ded489f>[1], 'throwOnError'>): Promise<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Generate or regenerate a flow based on a prompt
|
|
19
|
+
*/
|
|
20
|
+
declare function generateFlow(parameters: AiControllerFlowGenerationPrompt & {
|
|
21
|
+
tenant?: string;
|
|
22
|
+
}, options?: Omit<Parameters<typeof _6667C843>[1], 'throwOnError'>): Promise<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Generate or regenerate a test suite based on a prompt (EE only)
|
|
25
|
+
*/
|
|
26
|
+
declare function generateTestSuite(parameters: TestSuiteGenerationPrompt & {
|
|
27
|
+
tenant?: string;
|
|
28
|
+
}, options?: Omit<Parameters<typeof _55628B91>[1], 'throwOnError'>): Promise<string>;
|
|
29
|
+
/**
|
|
30
|
+
* List available AI providers
|
|
31
|
+
*/
|
|
32
|
+
declare function providers(parameters?: Omit<Parameters<typeof _020A3475e>[0], 'tenant'> & {
|
|
33
|
+
tenant?: string;
|
|
34
|
+
}, options?: Omit<Parameters<typeof _020A3475e>[1], 'throwOnError'>): Promise<AiControllerAiProviderResponse[]>;
|
|
35
|
+
/**
|
|
36
|
+
* Open a streaming agent chat turn (SSE)
|
|
37
|
+
*/
|
|
38
|
+
declare function chat(parameters: Omit<Parameters<typeof _2E9358>[0], 'apiChatTurnRequest' | 'tenant'> & ApiChatTurnRequest & {
|
|
39
|
+
tenant?: string;
|
|
40
|
+
}, options?: Omit<Parameters<typeof _2E9358>[1], 'throwOnError'>): Promise<ServerSentEventsResult<ChatResponses>>;
|
|
41
|
+
/**
|
|
42
|
+
* Confirm a proposed action and stream the resumed turn (SSE)
|
|
43
|
+
*/
|
|
44
|
+
declare function confirm(parameters: Omit<Parameters<typeof _38B0E6C0>[0], 'apiConfirmActionRequest' | 'tenant'> & ApiConfirmActionRequest & {
|
|
45
|
+
tenant?: string;
|
|
46
|
+
}, options?: Omit<Parameters<typeof _38B0E6C0>[1], 'throwOnError'>): Promise<ServerSentEventsResult<ConfirmResponses>>;
|
|
47
|
+
/**
|
|
48
|
+
* Rename a Copilot conversation thread (EE)
|
|
49
|
+
*/
|
|
50
|
+
declare function rename(parameters: Omit<Parameters<typeof _037B4C8C2>[0], 'apiRenameThreadRequest' | 'tenant'> & ApiRenameThreadRequest & {
|
|
51
|
+
tenant?: string;
|
|
52
|
+
}, options?: Omit<Parameters<typeof _037B4C8C2>[1], 'throwOnError'>): Promise<ApiThreadSummary>;
|
|
53
|
+
//#endregion
|
|
54
|
+
export { generateFlow as a, rename as c, generateDashboard as i, confirm as n, generateTestSuite as o, generateApp as r, providers as s, chat as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Tn as ApiThreadSummary, kt as ApiCreateThreadRequest, wn as ApiThreadDetail } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { Cn as _041B6F32e, Go as _30Dbd29f, dl as _5Db1D8b, uu as _6C815Db0 } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/AiAdmin.gen.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* List the caller's Copilot conversation threads (EE)
|
|
7
|
+
*/
|
|
8
|
+
declare function list(parameters?: Omit<Parameters<typeof _041B6F32e>[0], 'tenant'> & {
|
|
9
|
+
tenant?: string;
|
|
10
|
+
}, options?: Omit<Parameters<typeof _041B6F32e>[1], 'throwOnError'>): Promise<ApiThreadSummary[]>;
|
|
11
|
+
/**
|
|
12
|
+
* Create a Copilot conversation thread
|
|
13
|
+
*/
|
|
14
|
+
declare function create(parameters: ApiCreateThreadRequest & {
|
|
15
|
+
tenant?: string;
|
|
16
|
+
}, options?: Omit<Parameters<typeof _6C815Db0>[1], 'throwOnError'>): Promise<ApiThreadSummary>;
|
|
17
|
+
/**
|
|
18
|
+
* Soft-delete a Copilot conversation thread (EE)
|
|
19
|
+
*/
|
|
20
|
+
declare function deleteAI(parameters: Omit<Parameters<typeof _30Dbd29f>[0], 'tenant'> & {
|
|
21
|
+
tenant?: string;
|
|
22
|
+
}, options?: Omit<Parameters<typeof _30Dbd29f>[1], 'throwOnError'>): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Fetch a Copilot thread with its full message history
|
|
25
|
+
*/
|
|
26
|
+
declare function get(parameters: Omit<Parameters<typeof _5Db1D8b>[0], 'tenant'> & {
|
|
27
|
+
tenant?: string;
|
|
28
|
+
}, options?: Omit<Parameters<typeof _5Db1D8b>[1], 'throwOnError'>): Promise<ApiThreadDetail>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { list as i, deleteAI as n, get as r, create as t };
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { FT as FileMetas, In as AppResponse, Qn as AppsControllerApiAppCatalog, Rnt as ServerSentEventsResult, T2 as StreamEventsFromAppResponses, Zn as AppsControllerApiApp, ar as AppsControllerApiBulkOperationResponse, er as AppsControllerApiAppSource, ir as AppsControllerApiBulkOperationRequest, nr as AppsControllerApiBulkImportResponse, tr as AppsControllerApiAppTags, zB as PagedResultsAppsControllerApiApp } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { A as _017382997, Ba as _15B9Fc40, C as _01561E78a, Co as _2Aee0508, Dl as _6214D18d, Is as _3F88B347, Sc as _4F085C75, Tc as _5034D9D7, Tt as _02A616Fc6, Wa as _17A21, dt as _0250C96B9, ft as _025A6B662, ir as _04B4B4089, kt as _02Cb78A91, ku as _7692D6F8, lc as _4956Ca5f, ni as _0607Ee9E7, po as _23A9Ef85, un as _03Be212Fb, vi as _06A967170, ws as _3B58Db1e, xl as _5F5A0682, yt as _027Bd6C7, zi as _0742Ed768 } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/Apps.gen.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Delete existing apps
|
|
7
|
+
*/
|
|
8
|
+
declare function bulkDeleteApps(parameters: AppsControllerApiBulkOperationRequest & {
|
|
9
|
+
tenant?: string;
|
|
10
|
+
}, options?: Omit<Parameters<typeof _02Cb78A91>[1], 'throwOnError'>): Promise<AppsControllerApiBulkOperationResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Create a new app
|
|
13
|
+
*/
|
|
14
|
+
declare function createApp(parameters: Omit<Parameters<typeof _23A9Ef85>[0], 'tenant'> & {
|
|
15
|
+
tenant?: string;
|
|
16
|
+
}, options?: Omit<Parameters<typeof _23A9Ef85>[1], 'throwOnError'>): Promise<AppsControllerApiAppSource>;
|
|
17
|
+
/**
|
|
18
|
+
* Search for apps from catalog
|
|
19
|
+
*/
|
|
20
|
+
declare function searchAppsFromCatalog(parameters?: Omit<Parameters<typeof _4F085C75>[0], 'tenant'> & {
|
|
21
|
+
tenant?: string;
|
|
22
|
+
}, options?: Omit<Parameters<typeof _4F085C75>[1], 'throwOnError'>): Promise<AppsControllerApiAppCatalog>;
|
|
23
|
+
/**
|
|
24
|
+
* Disable existing apps
|
|
25
|
+
*/
|
|
26
|
+
declare function bulkDisableApps(parameters: AppsControllerApiBulkOperationRequest & {
|
|
27
|
+
tenant?: string;
|
|
28
|
+
}, options?: Omit<Parameters<typeof _2Aee0508>[1], 'throwOnError'>): Promise<AppsControllerApiBulkOperationResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Enable existing apps
|
|
31
|
+
*/
|
|
32
|
+
declare function bulkEnableApps(parameters: AppsControllerApiBulkOperationRequest & {
|
|
33
|
+
tenant?: string;
|
|
34
|
+
}, options?: Omit<Parameters<typeof _0250C96B9>[1], 'throwOnError'>): Promise<AppsControllerApiBulkOperationResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Export apps as a ZIP archive of YAML sources.
|
|
37
|
+
*/
|
|
38
|
+
declare function bulkExportApps(parameters: AppsControllerApiBulkOperationRequest & {
|
|
39
|
+
tenant?: string;
|
|
40
|
+
}, options?: Omit<Parameters<typeof _7692D6F8>[1], 'throwOnError'>): Promise<Blob | File>;
|
|
41
|
+
/**
|
|
42
|
+
* Import apps as a ZIP archive of yaml sources or a multi-objects YAML file.
|
|
43
|
+
* When sending a Yaml that contains one or more apps, a list of index is returned.
|
|
44
|
+
* When sending a ZIP archive, a list of files that couldn't be imported is returned.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
declare function bulkImportApps(parameters: Omit<Parameters<typeof _017382997>[0], 'tenant'> & {
|
|
48
|
+
tenant?: string;
|
|
49
|
+
}, options?: Omit<Parameters<typeof _017382997>[1], 'throwOnError'>): Promise<AppsControllerApiBulkImportResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Open the app for the given source
|
|
52
|
+
*/
|
|
53
|
+
declare function previewApp(parameters: Omit<Parameters<typeof _027Bd6C7>[0], 'tenant'> & {
|
|
54
|
+
tenant?: string;
|
|
55
|
+
}, options?: Omit<Parameters<typeof _027Bd6C7>[1], 'throwOnError'>): Promise<AppResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Dispatch for the given app source (preview).
|
|
58
|
+
*/
|
|
59
|
+
declare function previewDispatchApp(parameters: Omit<Parameters<typeof _4956Ca5f>[0], 'tenant'> & {
|
|
60
|
+
tenant?: string;
|
|
61
|
+
}, options?: Omit<Parameters<typeof _4956Ca5f>[1], 'throwOnError'>): Promise<AppResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Search for apps
|
|
64
|
+
*/
|
|
65
|
+
declare function searchApps(parameters?: Omit<Parameters<typeof _02A616Fc6>[0], 'tenant'> & {
|
|
66
|
+
tenant?: string;
|
|
67
|
+
}, options?: Omit<Parameters<typeof _02A616Fc6>[1], 'throwOnError'>): Promise<PagedResultsAppsControllerApiApp>;
|
|
68
|
+
/**
|
|
69
|
+
* List the execution layout states available in the app builder
|
|
70
|
+
*/
|
|
71
|
+
declare function listStates(parameters?: Omit<Parameters<typeof _15B9Fc40>[0], 'tenant'> & {
|
|
72
|
+
tenant?: string;
|
|
73
|
+
}, options?: Omit<Parameters<typeof _15B9Fc40>[1], 'throwOnError'>): Promise<string[]>;
|
|
74
|
+
/**
|
|
75
|
+
* Get all the app tags
|
|
76
|
+
*/
|
|
77
|
+
declare function listTags(parameters?: Omit<Parameters<typeof _5034D9D7>[0], 'tenant'> & {
|
|
78
|
+
tenant?: string;
|
|
79
|
+
}, options?: Omit<Parameters<typeof _5034D9D7>[1], 'throwOnError'>): Promise<AppsControllerApiAppTags>;
|
|
80
|
+
/**
|
|
81
|
+
* Dispatch for a given app.
|
|
82
|
+
*/
|
|
83
|
+
declare function dispatchApp(parameters: Omit<Parameters<typeof _3F88B347>[0], 'tenant'> & {
|
|
84
|
+
tenant?: string;
|
|
85
|
+
}, options?: Omit<Parameters<typeof _3F88B347>[1], 'throwOnError'>): Promise<AppResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Download file from an app execution
|
|
88
|
+
*/
|
|
89
|
+
declare function downloadFileFromAppExecution(parameters: Omit<Parameters<typeof _03Be212Fb>[0], 'tenant'> & {
|
|
90
|
+
tenant?: string;
|
|
91
|
+
}, options?: Omit<Parameters<typeof _03Be212Fb>[1], 'throwOnError'>): Promise<Blob | File>;
|
|
92
|
+
/**
|
|
93
|
+
* Get file meta information from an app execution
|
|
94
|
+
*/
|
|
95
|
+
declare function fileMetaFromAppExecution(parameters: Omit<Parameters<typeof _5F5A0682>[0], 'tenant'> & {
|
|
96
|
+
tenant?: string;
|
|
97
|
+
}, options?: Omit<Parameters<typeof _5F5A0682>[1], 'throwOnError'>): Promise<FileMetas>;
|
|
98
|
+
/**
|
|
99
|
+
* Get file preview from an app execution
|
|
100
|
+
*/
|
|
101
|
+
declare function filePreviewFromAppExecution(parameters: Omit<Parameters<typeof _6214D18d>[0], 'tenant'> & {
|
|
102
|
+
tenant?: string;
|
|
103
|
+
}, options?: Omit<Parameters<typeof _6214D18d>[1], 'throwOnError'>): Promise<{
|
|
104
|
+
[key: string]: unknown;
|
|
105
|
+
}>;
|
|
106
|
+
/**
|
|
107
|
+
* Get an event stream from a given app.
|
|
108
|
+
*/
|
|
109
|
+
declare function streamEventsFromApp(parameters: Omit<Parameters<typeof _3B58Db1e>[0], 'tenant'> & {
|
|
110
|
+
tenant?: string;
|
|
111
|
+
}, options?: Omit<Parameters<typeof _3B58Db1e>[1], 'throwOnError'>): Promise<ServerSentEventsResult<StreamEventsFromAppResponses>>;
|
|
112
|
+
/**
|
|
113
|
+
* Open an app
|
|
114
|
+
*/
|
|
115
|
+
declare function openApp(parameters: Omit<Parameters<typeof _04B4B4089>[0], 'tenant'> & {
|
|
116
|
+
tenant?: string;
|
|
117
|
+
}, options?: Omit<Parameters<typeof _04B4B4089>[1], 'throwOnError'>): Promise<AppResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* Download logs for an app execution
|
|
120
|
+
*/
|
|
121
|
+
declare function logsFromAppExecution(parameters: Omit<Parameters<typeof _06A967170>[0], 'tenant'> & {
|
|
122
|
+
tenant?: string;
|
|
123
|
+
}, options?: Omit<Parameters<typeof _06A967170>[1], 'throwOnError'>): Promise<Blob | File>;
|
|
124
|
+
/**
|
|
125
|
+
* Delete an existing app
|
|
126
|
+
*/
|
|
127
|
+
declare function deleteApp(parameters: Omit<Parameters<typeof _01561E78a>[0], 'tenant'> & {
|
|
128
|
+
tenant?: string;
|
|
129
|
+
}, options?: Omit<Parameters<typeof _01561E78a>[1], 'throwOnError'>): Promise<{
|
|
130
|
+
[key: string]: unknown;
|
|
131
|
+
}>;
|
|
132
|
+
/**
|
|
133
|
+
* Retrieve an app
|
|
134
|
+
*/
|
|
135
|
+
declare function app(parameters: Omit<Parameters<typeof _17A21>[0], 'tenant'> & {
|
|
136
|
+
tenant?: string;
|
|
137
|
+
}, options?: Omit<Parameters<typeof _17A21>[1], 'throwOnError'>): Promise<AppsControllerApiAppSource>;
|
|
138
|
+
/**
|
|
139
|
+
* Update an existing app
|
|
140
|
+
*/
|
|
141
|
+
declare function updateApp(parameters: Omit<Parameters<typeof _0742Ed768>[0], 'tenant'> & {
|
|
142
|
+
tenant?: string;
|
|
143
|
+
}, options?: Omit<Parameters<typeof _0742Ed768>[1], 'throwOnError'>): Promise<AppsControllerApiAppSource>;
|
|
144
|
+
/**
|
|
145
|
+
* Disable the app.
|
|
146
|
+
*/
|
|
147
|
+
declare function disableApp(parameters: Omit<Parameters<typeof _0607Ee9E7>[0], 'tenant'> & {
|
|
148
|
+
tenant?: string;
|
|
149
|
+
}, options?: Omit<Parameters<typeof _0607Ee9E7>[1], 'throwOnError'>): Promise<AppsControllerApiApp>;
|
|
150
|
+
/**
|
|
151
|
+
* Enable the app.
|
|
152
|
+
*/
|
|
153
|
+
declare function enableApp(parameters: Omit<Parameters<typeof _025A6B662>[0], 'tenant'> & {
|
|
154
|
+
tenant?: string;
|
|
155
|
+
}, options?: Omit<Parameters<typeof _025A6B662>[1], 'throwOnError'>): Promise<AppsControllerApiApp>;
|
|
156
|
+
//#endregion
|
|
157
|
+
export { streamEventsFromApp as C, searchAppsFromCatalog as S, logsFromAppExecution as _, bulkExportApps as a, previewDispatchApp as b, deleteApp as c, downloadFileFromAppExecution as d, enableApp as f, listTags as g, listStates as h, bulkEnableApps as i, disableApp as l, filePreviewFromAppExecution as m, bulkDeleteApps as n, bulkImportApps as o, fileMetaFromAppExecution as p, bulkDisableApps as r, createApp as s, app as t, dispatchApp as u, openApp as v, updateApp as w, searchApps as x, previewApp as y };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { BB as PagedResultsAssetsControllerApiAsset, Fr as AssetsControllerRunAssetActionRequest, HB as PagedResultsAssetsControllerApiAssetUsage, Ir as AssetsControllerRunAssetActionResponse, Nr as AssetsControllerAssetLockRequest, Pr as AssetsControllerPatchAsset, VB as PagedResultsAssetsControllerApiAssetLineageEvent, fo as BulkResponse, jr as AssetsControllerApiAssetLock, kr as AssetsControllerApiAsset, wr as AssetTopologyGraph } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { G as _01F1268Ac, Hc as _55B26Dc3, Kt as _03500F9F4, M as _0179918B5, Qt as _03765E0A6, Su as _7385D9Bb, Vn as _04484B7Fb, Yc as _58Ceaf0, an as _03915477b, bu as _735A5032, ci as _065D9Abc7, lt as _023D52859, na as _07B84118d, to as _1C95E03c, uc as _4A62C788, w as _015E23Cc6 } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/Assets.gen.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Create a new asset
|
|
7
|
+
*/
|
|
8
|
+
declare function createAsset(parameters: Omit<Parameters<typeof _01F1268Ac>[0], 'tenant'> & {
|
|
9
|
+
tenant?: string;
|
|
10
|
+
}, options?: Omit<Parameters<typeof _01F1268Ac>[1], 'throwOnError'>): Promise<AssetsControllerApiAsset>;
|
|
11
|
+
/**
|
|
12
|
+
* Delete assets by asset ids
|
|
13
|
+
*/
|
|
14
|
+
declare function deleteAssetsByIds(parameters: Omit<Parameters<typeof _07B84118d>[0], 'tenant'> & {
|
|
15
|
+
tenant?: string;
|
|
16
|
+
}, options?: Omit<Parameters<typeof _07B84118d>[1], 'throwOnError'>): Promise<BulkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Delete assets by query
|
|
19
|
+
*/
|
|
20
|
+
declare function deleteAssetsByQuery(parameters?: Omit<Parameters<typeof _55B26Dc3>[0], 'tenant'> & {
|
|
21
|
+
tenant?: string;
|
|
22
|
+
}, options?: Omit<Parameters<typeof _55B26Dc3>[1], 'throwOnError'>): Promise<BulkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete asset lineage events by query, hard-delete (purge) only
|
|
25
|
+
*/
|
|
26
|
+
declare function deleteAssetLineageEventsByQuery(parameters?: Omit<Parameters<typeof _735A5032>[0], 'tenant'> & {
|
|
27
|
+
tenant?: string;
|
|
28
|
+
}, options?: Omit<Parameters<typeof _735A5032>[1], 'throwOnError'>): Promise<BulkResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Search for asset lineage events
|
|
31
|
+
*/
|
|
32
|
+
declare function searchAssetLineageEvents(parameters?: Omit<Parameters<typeof _1C95E03c>[0], 'tenant'> & {
|
|
33
|
+
tenant?: string;
|
|
34
|
+
}, options?: Omit<Parameters<typeof _1C95E03c>[1], 'throwOnError'>): Promise<PagedResultsAssetsControllerApiAssetLineageEvent>;
|
|
35
|
+
/**
|
|
36
|
+
* Search for assets
|
|
37
|
+
*/
|
|
38
|
+
declare function searchAssets(parameters?: Omit<Parameters<typeof _0179918B5>[0], 'tenant'> & {
|
|
39
|
+
tenant?: string;
|
|
40
|
+
}, options?: Omit<Parameters<typeof _0179918B5>[1], 'throwOnError'>): Promise<PagedResultsAssetsControllerApiAsset>;
|
|
41
|
+
/**
|
|
42
|
+
* Delete asset usages by query, hard-delete (purge) only
|
|
43
|
+
*/
|
|
44
|
+
declare function deleteAssetUsagesByQuery(parameters?: Omit<Parameters<typeof _03765E0A6>[0], 'tenant'> & {
|
|
45
|
+
tenant?: string;
|
|
46
|
+
}, options?: Omit<Parameters<typeof _03765E0A6>[1], 'throwOnError'>): Promise<BulkResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Search for asset usages
|
|
49
|
+
*/
|
|
50
|
+
declare function searchAssetUsages(parameters?: Omit<Parameters<typeof _015E23Cc6>[0], 'tenant'> & {
|
|
51
|
+
tenant?: string;
|
|
52
|
+
}, options?: Omit<Parameters<typeof _015E23Cc6>[1], 'throwOnError'>): Promise<PagedResultsAssetsControllerApiAssetUsage>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete an asset
|
|
55
|
+
*/
|
|
56
|
+
declare function deleteAsset(parameters: Omit<Parameters<typeof _04484B7Fb>[0], 'tenant'> & {
|
|
57
|
+
tenant?: string;
|
|
58
|
+
}, options?: Omit<Parameters<typeof _04484B7Fb>[1], 'throwOnError'>): Promise<unknown>;
|
|
59
|
+
/**
|
|
60
|
+
* Retrieve an asset
|
|
61
|
+
*/
|
|
62
|
+
declare function asset(parameters: Omit<Parameters<typeof _58Ceaf0>[0], 'tenant'> & {
|
|
63
|
+
tenant?: string;
|
|
64
|
+
}, options?: Omit<Parameters<typeof _58Ceaf0>[1], 'throwOnError'>): Promise<AssetsControllerApiAsset>;
|
|
65
|
+
/**
|
|
66
|
+
* Partially update an asset
|
|
67
|
+
*/
|
|
68
|
+
declare function patchAsset(parameters: Omit<Parameters<typeof _4A62C788>[0], 'assetsControllerPatchAsset' | 'tenant'> & AssetsControllerPatchAsset & {
|
|
69
|
+
tenant?: string;
|
|
70
|
+
}, options?: Omit<Parameters<typeof _4A62C788>[1], 'throwOnError'>): Promise<AssetsControllerApiAsset>;
|
|
71
|
+
/**
|
|
72
|
+
* Update an existing asset
|
|
73
|
+
*/
|
|
74
|
+
declare function updateAsset(parameters: Omit<Parameters<typeof _023D52859>[0], 'tenant'> & {
|
|
75
|
+
tenant?: string;
|
|
76
|
+
}, options?: Omit<Parameters<typeof _023D52859>[1], 'throwOnError'>): Promise<AssetsControllerApiAsset>;
|
|
77
|
+
/**
|
|
78
|
+
* Run one of an asset's attached flow actions
|
|
79
|
+
*/
|
|
80
|
+
declare function runAssetAction(parameters: Omit<Parameters<typeof _7385D9Bb>[0], 'assetsControllerRunAssetActionRequest' | 'tenant'> & AssetsControllerRunAssetActionRequest & {
|
|
81
|
+
tenant?: string;
|
|
82
|
+
}, options?: Omit<Parameters<typeof _7385D9Bb>[1], 'throwOnError'>): Promise<AssetsControllerRunAssetActionResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Get an asset dependencies
|
|
85
|
+
*/
|
|
86
|
+
declare function assetDependencies(parameters: Omit<Parameters<typeof _065D9Abc7>[0], 'tenant'> & {
|
|
87
|
+
tenant?: string;
|
|
88
|
+
}, options?: Omit<Parameters<typeof _065D9Abc7>[1], 'throwOnError'>): Promise<AssetTopologyGraph>;
|
|
89
|
+
/**
|
|
90
|
+
* Unlock an asset (forced manual unlock, or an execution releasing its own lock when executionId is set)
|
|
91
|
+
*/
|
|
92
|
+
declare function unlockAsset(parameters: Omit<Parameters<typeof _03500F9F4>[0], 'tenant'> & {
|
|
93
|
+
tenant?: string;
|
|
94
|
+
}, options?: Omit<Parameters<typeof _03500F9F4>[1], 'throwOnError'>): Promise<unknown>;
|
|
95
|
+
/**
|
|
96
|
+
* Lock an asset (manual user lock, or an execution lock when executionId is set)
|
|
97
|
+
*/
|
|
98
|
+
declare function lockAsset(parameters: Omit<Parameters<typeof _03915477b>[0], 'assetsControllerAssetLockRequest' | 'tenant'> & AssetsControllerAssetLockRequest & {
|
|
99
|
+
tenant?: string;
|
|
100
|
+
}, options?: Omit<Parameters<typeof _03915477b>[1], 'throwOnError'>): Promise<AssetsControllerApiAssetLock>;
|
|
101
|
+
//#endregion
|
|
102
|
+
export { deleteAssetLineageEventsByQuery as a, deleteAssetsByQuery as c, runAssetAction as d, searchAssetLineageEvents as f, updateAsset as g, unlockAsset as h, deleteAsset as i, lockAsset as l, searchAssets as m, assetDependencies as n, deleteAssetUsagesByQuery as o, searchAssetUsages as p, createAsset as r, deleteAssetsByIds as s, asset as t, patchAsset as u };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UB as PagedResultsAuditLogControllerApiAuditLogItem, fi as AuditLogControllerApiAuditLogItem, hi as AuditLogControllerFindRequest, mi as AuditLogControllerAuditLogOption, pi as AuditLogControllerAuditLogDiff } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { $o as _330B4Ac9, Jc as _58A63A9b, Oo as _2Cac1C06, Tu as _757Add8f, Ys as _42E6Ce42, oi as _063F9F89e, ql as _67B2B91a, ta as _07B13992a } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/AuditLogs.gen.d.ts
|
|
5
|
+
declare function exportAuditLogsForAllTenants(parameters?: Parameters<typeof _58A63A9b>[0], options?: Omit<Parameters<typeof _58A63A9b>[1], 'throwOnError'>): Promise<string>;
|
|
6
|
+
declare function searchAuditLogsForAllTenants(parameters?: Parameters<typeof _757Add8f>[0], options?: Omit<Parameters<typeof _757Add8f>[1], 'throwOnError'>): Promise<PagedResultsAuditLogControllerApiAuditLogItem>;
|
|
7
|
+
declare function globalResourceDiffFromAuditLog(parameters: Parameters<typeof _330B4Ac9>[0], options?: Omit<Parameters<typeof _330B4Ac9>[1], 'throwOnError'>): Promise<AuditLogControllerAuditLogDiff>;
|
|
8
|
+
/**
|
|
9
|
+
* Export all audit logs as a streamed CSV file
|
|
10
|
+
*/
|
|
11
|
+
declare function exportAuditLogs(parameters?: Omit<Parameters<typeof _07B13992a>[0], 'tenant'> & {
|
|
12
|
+
tenant?: string;
|
|
13
|
+
}, options?: Omit<Parameters<typeof _07B13992a>[1], 'throwOnError'>): Promise<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Find a specific audit log
|
|
16
|
+
*/
|
|
17
|
+
declare function findAuditLog(parameters: AuditLogControllerFindRequest & {
|
|
18
|
+
tenant?: string;
|
|
19
|
+
}, options?: Omit<Parameters<typeof _42E6Ce42>[1], 'throwOnError'>): Promise<AuditLogControllerApiAuditLogItem>;
|
|
20
|
+
/**
|
|
21
|
+
* Find all audit logs about a specific resource.
|
|
22
|
+
*/
|
|
23
|
+
declare function listAuditLogFromResourceId(parameters: Omit<Parameters<typeof _67B2B91a>[0], 'tenant'> & {
|
|
24
|
+
tenant?: string;
|
|
25
|
+
}, options?: Omit<Parameters<typeof _67B2B91a>[1], 'throwOnError'>): Promise<AuditLogControllerAuditLogOption[]>;
|
|
26
|
+
/**
|
|
27
|
+
* Search for audit logs
|
|
28
|
+
*/
|
|
29
|
+
declare function searchAuditLogs(parameters?: Omit<Parameters<typeof _063F9F89e>[0], 'tenant'> & {
|
|
30
|
+
tenant?: string;
|
|
31
|
+
}, options?: Omit<Parameters<typeof _063F9F89e>[1], 'throwOnError'>): Promise<PagedResultsAuditLogControllerApiAuditLogItem>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve the diff between audit logs
|
|
34
|
+
*/
|
|
35
|
+
declare function resourceDiffFromAuditLog(parameters: Omit<Parameters<typeof _2Cac1C06>[0], 'tenant'> & {
|
|
36
|
+
tenant?: string;
|
|
37
|
+
}, options?: Omit<Parameters<typeof _2Cac1C06>[1], 'throwOnError'>): Promise<AuditLogControllerAuditLogDiff>;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { listAuditLogFromResourceId as a, searchAuditLogsForAllTenants as c, globalResourceDiffFromAuditLog as i, exportAuditLogsForAllTenants as n, resourceDiffFromAuditLog as o, findAuditLog as r, searchAuditLogs as s, exportAuditLogs as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Dn as ApiTokenList, Nc as CreateApiTokenRequest, Pc as CreateApiTokenResponse, bi as AuthControllerInvitationUserRequest, mz as MeControllerApiMe, vi as AuthControllerAuth, xi as AuthControllerResetPasswordRequest, yi as AuthControllerForgottenPasswordRequest, yz as MeControllerApiUserDetailsRequest } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { $s as _4485351c, Cl as _5Fb28D2, Ms as _3E005Ec1, Pl as _638062Ff, Xi as _07753C84, _a as _0B6464Af, ho as _23D6B8E4, j as _017482F6, mi as _0686Bb52b, qu as b65C1D1, sn as _03Ab0B9Aa, x as _0154B123b } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/Auths.gen.d.ts
|
|
5
|
+
declare function index(options?: Omit<Parameters<typeof _5Fb28D2>[0], 'throwOnError'>): Promise<AuthControllerAuth>;
|
|
6
|
+
/**
|
|
7
|
+
* Sends an email to reset a password.
|
|
8
|
+
*/
|
|
9
|
+
declare function forgottenPassword(parameters: AuthControllerForgottenPasswordRequest, options?: Omit<Parameters<typeof _0686Bb52b>[1], 'throwOnError'>): Promise<{
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}>;
|
|
12
|
+
declare function acceptInvitation(parameters: Parameters<typeof _3E005Ec1>[0], options?: Omit<Parameters<typeof _3E005Ec1>[1], 'throwOnError'>): Promise<{
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
declare function createFromInvitation(parameters: Omit<Parameters<typeof _638062Ff>[0], 'authControllerInvitationUserRequest'> & AuthControllerInvitationUserRequest, options?: Omit<Parameters<typeof _638062Ff>[1], 'throwOnError'>): Promise<{
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}>;
|
|
18
|
+
declare function currentUser(options?: Omit<Parameters<typeof _23D6B8E4>[0], 'throwOnError'>): Promise<MeControllerApiMe>;
|
|
19
|
+
/**
|
|
20
|
+
* Update authenticated user details
|
|
21
|
+
*/
|
|
22
|
+
declare function patchCurrentUser(parameters: MeControllerApiUserDetailsRequest, options?: Omit<Parameters<typeof _07753C84>[1], 'throwOnError'>): Promise<MeControllerApiMe>;
|
|
23
|
+
declare function listApiTokensForCurrentUser(options?: Omit<Parameters<typeof _0B6464Af>[0], 'throwOnError'>): Promise<ApiTokenList>;
|
|
24
|
+
/**
|
|
25
|
+
* Create API token for the authenticated user
|
|
26
|
+
*/
|
|
27
|
+
declare function createApiTokenForCurrentUser(parameters: CreateApiTokenRequest, options?: Omit<Parameters<typeof _03Ab0B9Aa>[1], 'throwOnError'>): Promise<CreateApiTokenResponse>;
|
|
28
|
+
declare function deleteApiTokenForCurrentUser(parameters: Parameters<typeof _0154B123b>[0], options?: Omit<Parameters<typeof _0154B123b>[1], 'throwOnError'>): Promise<{
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}>;
|
|
31
|
+
declare function requestCode(parameters: Parameters<typeof _4485351c>[0], options?: Omit<Parameters<typeof _4485351c>[1], 'throwOnError'>): Promise<{
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Change a password for given token.
|
|
36
|
+
*/
|
|
37
|
+
declare function resetPassword(parameters: AuthControllerResetPasswordRequest, options?: Omit<Parameters<typeof _017482F6>[1], 'throwOnError'>): Promise<{
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
}>;
|
|
40
|
+
declare function validatePassword(parameters: Parameters<typeof b65C1D1>[0], options?: Omit<Parameters<typeof b65C1D1>[1], 'throwOnError'>): Promise<unknown>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { deleteApiTokenForCurrentUser as a, listApiTokensForCurrentUser as c, resetPassword as d, validatePassword as f, currentUser as i, patchCurrentUser as l, createApiTokenForCurrentUser as n, forgottenPassword as o, createFromInvitation as r, index as s, acceptInvitation as t, requestCode as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Wi as Banner } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { Pr as _0561Ad6Ab, ar as _04B5D3B49, ks as _3D7A5F48, xs as _3A626Bff } from "./sdk.gen-DtyzJiuU.js";
|
|
3
3
|
|
|
4
4
|
//#region src/openapi/sdk/Banners.gen.d.ts
|
|
5
5
|
/**
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { dA as IamBindingControllerApiBindingDetail, mA as IamBindingControllerApiCreateBindingRequest, nV as PagedResultsIamBindingControllerApiBindingDetail } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { Iu as _7F73D1E9, Xn as _0476E3Baa, di as _0673517b, g as _012A7E5A6, sa as _07F78209 } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/Bindings.gen.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Create a binding
|
|
7
|
+
*/
|
|
8
|
+
declare function createBinding(parameters: IamBindingControllerApiCreateBindingRequest & {
|
|
9
|
+
tenant?: string;
|
|
10
|
+
}, options?: Omit<Parameters<typeof _7F73D1E9>[1], 'throwOnError'>): Promise<IamBindingControllerApiBindingDetail>;
|
|
11
|
+
/**
|
|
12
|
+
* Create multiple bindings
|
|
13
|
+
*/
|
|
14
|
+
declare function bulkCreateBinding(parameters: Omit<Parameters<typeof _07F78209>[0], 'tenant'> & {
|
|
15
|
+
tenant?: string;
|
|
16
|
+
}, options?: Omit<Parameters<typeof _07F78209>[1], 'throwOnError'>): Promise<IamBindingControllerApiBindingDetail[]>;
|
|
17
|
+
/**
|
|
18
|
+
* Search for bindings
|
|
19
|
+
*/
|
|
20
|
+
declare function searchBindings(parameters?: Omit<Parameters<typeof _0476E3Baa>[0], 'tenant'> & {
|
|
21
|
+
tenant?: string;
|
|
22
|
+
}, options?: Omit<Parameters<typeof _0476E3Baa>[1], 'throwOnError'>): Promise<PagedResultsIamBindingControllerApiBindingDetail>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete a binding
|
|
25
|
+
*/
|
|
26
|
+
declare function deleteBinding(parameters: Omit<Parameters<typeof _012A7E5A6>[0], 'tenant'> & {
|
|
27
|
+
tenant?: string;
|
|
28
|
+
}, options?: Omit<Parameters<typeof _012A7E5A6>[1], 'throwOnError'>): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve a binding
|
|
31
|
+
*/
|
|
32
|
+
declare function binding(parameters: Omit<Parameters<typeof _0673517b>[0], 'tenant'> & {
|
|
33
|
+
tenant?: string;
|
|
34
|
+
}, options?: Omit<Parameters<typeof _0673517b>[1], 'throwOnError'>): Promise<IamBindingControllerApiBindingDetail>;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { searchBindings as a, deleteBinding as i, bulkCreateBinding as n, createBinding as r, binding as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { fa as BlueprintControllerApiBlueprintTagItem } from "./types.gen-DVT5DQ0q.js";
|
|
2
|
+
import { $a as _1Aac14e, _l as _5E2Cd58f } from "./sdk.gen-DtyzJiuU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/openapi/sdk/BlueprintTags.gen.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* List blueprint tags matching the filter
|
|
7
|
+
*/
|
|
8
|
+
declare function listBlueprintTags(parameters: Omit<Parameters<typeof _1Aac14e>[0], 'tenant'> & {
|
|
9
|
+
tenant?: string;
|
|
10
|
+
}, options?: Omit<Parameters<typeof _1Aac14e>[1], 'throwOnError'>): Promise<BlueprintControllerApiBlueprintTagItem[]>;
|
|
11
|
+
/**
|
|
12
|
+
* List all internal blueprint tags
|
|
13
|
+
*/
|
|
14
|
+
declare function internalBlueprintTags(parameters?: Omit<Parameters<typeof _5E2Cd58f>[0], 'tenant'> & {
|
|
15
|
+
tenant?: string;
|
|
16
|
+
}, options?: Omit<Parameters<typeof _5E2Cd58f>[1], 'throwOnError'>): Promise<string[]>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { listBlueprintTags as n, internalBlueprintTags as t };
|