@tier0/sdk-v2 0.0.0-stage → 0.2.1
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/LICENSE +21 -0
- package/NOTICE.md +7 -0
- package/README.md +201 -2
- package/dist/cjs/app-identity-contract.generated.d.ts +22 -0
- package/dist/cjs/app-identity-contract.generated.js +51 -0
- package/dist/cjs/app-identity-contract.generated.js.map +1 -0
- package/dist/cjs/capabilities.d.ts +54 -0
- package/dist/cjs/capabilities.js +134 -0
- package/dist/cjs/capabilities.js.map +1 -0
- package/dist/cjs/client.d.ts +604 -0
- package/dist/cjs/client.js +35 -0
- package/dist/cjs/client.js.map +1 -0
- package/dist/cjs/cloud-server.d.ts +31 -0
- package/dist/cjs/cloud-server.js +114 -0
- package/dist/cjs/cloud-server.js.map +1 -0
- package/dist/cjs/cloud-transport.d.ts +67 -0
- package/dist/cjs/cloud-transport.js +272 -0
- package/dist/cjs/cloud-transport.js.map +1 -0
- package/dist/cjs/controls.d.ts +93 -0
- package/dist/cjs/controls.js +169 -0
- package/dist/cjs/controls.js.map +1 -0
- package/dist/cjs/data/bootstrap.d.ts +70 -0
- package/dist/cjs/data/bootstrap.js +291 -0
- package/dist/cjs/data/bootstrap.js.map +1 -0
- package/dist/cjs/data/call.d.ts +33 -0
- package/dist/cjs/data/call.js +216 -0
- package/dist/cjs/data/call.js.map +1 -0
- package/dist/cjs/data/client.d.ts +134 -0
- package/dist/cjs/data/client.js +185 -0
- package/dist/cjs/data/client.js.map +1 -0
- package/dist/cjs/data/collection.d.ts +335 -0
- package/dist/cjs/data/collection.js +601 -0
- package/dist/cjs/data/collection.js.map +1 -0
- package/dist/cjs/data/context.d.ts +12 -0
- package/dist/cjs/data/context.js +50 -0
- package/dist/cjs/data/context.js.map +1 -0
- package/dist/cjs/data/declarations.d.ts +11 -0
- package/dist/cjs/data/declarations.js +18 -0
- package/dist/cjs/data/declarations.js.map +1 -0
- package/dist/cjs/data/define.d.ts +77 -0
- package/dist/cjs/data/define.js +31 -0
- package/dist/cjs/data/define.js.map +1 -0
- package/dist/cjs/data/error.d.ts +78 -0
- package/dist/cjs/data/error.js +182 -0
- package/dist/cjs/data/error.js.map +1 -0
- package/dist/cjs/data/index.d.ts +24 -0
- package/dist/cjs/data/index.js +49 -0
- package/dist/cjs/data/index.js.map +1 -0
- package/dist/cjs/data/schema.d.ts +88 -0
- package/dist/cjs/data/schema.js +657 -0
- package/dist/cjs/data/schema.js.map +1 -0
- package/dist/cjs/data/sort.d.ts +8 -0
- package/dist/cjs/data/sort.js +21 -0
- package/dist/cjs/data/sort.js.map +1 -0
- package/dist/cjs/data/subscribe.d.ts +108 -0
- package/dist/cjs/data/subscribe.js +270 -0
- package/dist/cjs/data/subscribe.js.map +1 -0
- package/dist/cjs/files.d.ts +67 -0
- package/dist/cjs/files.js +119 -0
- package/dist/cjs/files.js.map +1 -0
- package/dist/cjs/framework-scope.d.ts +1 -0
- package/dist/cjs/framework-scope.js +14 -0
- package/dist/cjs/framework-scope.js.map +1 -0
- package/dist/cjs/index.d.ts +14 -0
- package/dist/cjs/index.js +33 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/mq/broker.d.ts +65 -0
- package/dist/cjs/mq/broker.js +115 -0
- package/dist/cjs/mq/broker.js.map +1 -0
- package/dist/cjs/mq/client.d.ts +37 -0
- package/dist/cjs/mq/client.js +321 -0
- package/dist/cjs/mq/client.js.map +1 -0
- package/dist/cjs/mq/index.d.ts +5 -0
- package/dist/cjs/mq/index.js +11 -0
- package/dist/cjs/mq/index.js.map +1 -0
- package/dist/cjs/mq/types.d.ts +48 -0
- package/dist/cjs/mq/types.js +3 -0
- package/dist/cjs/mq/types.js.map +1 -0
- package/dist/cjs/openapi/api.generated.d.ts +820 -0
- package/dist/cjs/openapi/api.generated.js +607 -0
- package/dist/cjs/openapi/api.generated.js.map +1 -0
- package/dist/cjs/openapi/client.d.ts +56 -0
- package/dist/cjs/openapi/client.js +219 -0
- package/dist/cjs/openapi/client.js.map +1 -0
- package/dist/cjs/openapi/codecs.generated.d.ts +2234 -0
- package/dist/cjs/openapi/codecs.generated.js +6 -0
- package/dist/cjs/openapi/codecs.generated.js.map +1 -0
- package/dist/cjs/openapi/index.d.ts +5 -0
- package/dist/cjs/openapi/index.js +12 -0
- package/dist/cjs/openapi/index.js.map +1 -0
- package/dist/cjs/openapi/types.generated.d.ts +3227 -0
- package/dist/cjs/openapi/types.generated.js +3 -0
- package/dist/cjs/openapi/types.generated.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/react.d.ts +9 -0
- package/dist/cjs/react.js +16 -0
- package/dist/cjs/react.js.map +1 -0
- package/dist/cjs/runtime-context.d.ts +9 -0
- package/dist/cjs/runtime-context.js +25 -0
- package/dist/cjs/runtime-context.js.map +1 -0
- package/dist/cjs/runtime-env.d.ts +1 -0
- package/dist/cjs/runtime-env.js +18 -0
- package/dist/cjs/runtime-env.js.map +1 -0
- package/dist/cjs/source.d.ts +39 -0
- package/dist/cjs/source.js +29 -0
- package/dist/cjs/source.js.map +1 -0
- package/dist/cjs/stream.d.ts +40 -0
- package/dist/cjs/stream.js +33 -0
- package/dist/cjs/stream.js.map +1 -0
- package/dist/cjs/uns-v2/client.d.ts +132 -0
- package/dist/cjs/uns-v2/client.js +352 -0
- package/dist/cjs/uns-v2/client.js.map +1 -0
- package/dist/cjs/uns-v2/codec.d.ts +11 -0
- package/dist/cjs/uns-v2/codec.js +290 -0
- package/dist/cjs/uns-v2/codec.js.map +1 -0
- package/dist/cjs/uns-v2/data-client.d.ts +10 -0
- package/dist/cjs/uns-v2/data-client.js +18 -0
- package/dist/cjs/uns-v2/data-client.js.map +1 -0
- package/dist/cjs/uns-v2/generated.d.ts +18178 -0
- package/dist/cjs/uns-v2/generated.js +144 -0
- package/dist/cjs/uns-v2/generated.js.map +1 -0
- package/dist/cjs/uns-v2/index.d.ts +5 -0
- package/dist/cjs/uns-v2/index.js +24 -0
- package/dist/cjs/uns-v2/index.js.map +1 -0
- package/dist/cjs/uns-v2/sse.d.ts +20 -0
- package/dist/cjs/uns-v2/sse.js +65 -0
- package/dist/cjs/uns-v2/sse.js.map +1 -0
- package/dist/cjs/vue.d.ts +9 -0
- package/dist/cjs/vue.js +39 -0
- package/dist/cjs/vue.js.map +1 -0
- package/dist/esm/app-identity-contract.generated.d.ts +22 -0
- package/dist/esm/app-identity-contract.generated.js +48 -0
- package/dist/esm/app-identity-contract.generated.js.map +1 -0
- package/dist/esm/capabilities.d.ts +54 -0
- package/dist/esm/capabilities.js +129 -0
- package/dist/esm/capabilities.js.map +1 -0
- package/dist/esm/client.d.ts +604 -0
- package/dist/esm/client.js +32 -0
- package/dist/esm/client.js.map +1 -0
- package/dist/esm/cloud-server.d.ts +31 -0
- package/dist/esm/cloud-server.js +109 -0
- package/dist/esm/cloud-server.js.map +1 -0
- package/dist/esm/cloud-transport.d.ts +67 -0
- package/dist/esm/cloud-transport.js +267 -0
- package/dist/esm/cloud-transport.js.map +1 -0
- package/dist/esm/controls.d.ts +93 -0
- package/dist/esm/controls.js +163 -0
- package/dist/esm/controls.js.map +1 -0
- package/dist/esm/data/bootstrap.d.ts +70 -0
- package/dist/esm/data/bootstrap.js +286 -0
- package/dist/esm/data/bootstrap.js.map +1 -0
- package/dist/esm/data/call.d.ts +33 -0
- package/dist/esm/data/call.js +211 -0
- package/dist/esm/data/call.js.map +1 -0
- package/dist/esm/data/client.d.ts +134 -0
- package/dist/esm/data/client.js +181 -0
- package/dist/esm/data/client.js.map +1 -0
- package/dist/esm/data/collection.d.ts +335 -0
- package/dist/esm/data/collection.js +594 -0
- package/dist/esm/data/collection.js.map +1 -0
- package/dist/esm/data/context.d.ts +12 -0
- package/dist/esm/data/context.js +44 -0
- package/dist/esm/data/context.js.map +1 -0
- package/dist/esm/data/declarations.d.ts +11 -0
- package/dist/esm/data/declarations.js +10 -0
- package/dist/esm/data/declarations.js.map +1 -0
- package/dist/esm/data/define.d.ts +77 -0
- package/dist/esm/data/define.js +27 -0
- package/dist/esm/data/define.js.map +1 -0
- package/dist/esm/data/error.d.ts +78 -0
- package/dist/esm/data/error.js +176 -0
- package/dist/esm/data/error.js.map +1 -0
- package/dist/esm/data/index.d.ts +24 -0
- package/dist/esm/data/index.js +20 -0
- package/dist/esm/data/index.js.map +1 -0
- package/dist/esm/data/schema.d.ts +88 -0
- package/dist/esm/data/schema.js +646 -0
- package/dist/esm/data/schema.js.map +1 -0
- package/dist/esm/data/sort.d.ts +8 -0
- package/dist/esm/data/sort.js +18 -0
- package/dist/esm/data/sort.js.map +1 -0
- package/dist/esm/data/subscribe.d.ts +108 -0
- package/dist/esm/data/subscribe.js +265 -0
- package/dist/esm/data/subscribe.js.map +1 -0
- package/dist/esm/files.d.ts +67 -0
- package/dist/esm/files.js +113 -0
- package/dist/esm/files.js.map +1 -0
- package/dist/esm/framework-scope.d.ts +1 -0
- package/dist/esm/framework-scope.js +11 -0
- package/dist/esm/framework-scope.js.map +1 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/mq/broker.d.ts +65 -0
- package/dist/esm/mq/broker.js +109 -0
- package/dist/esm/mq/broker.js.map +1 -0
- package/dist/esm/mq/client.d.ts +37 -0
- package/dist/esm/mq/client.js +314 -0
- package/dist/esm/mq/client.js.map +1 -0
- package/dist/esm/mq/index.d.ts +5 -0
- package/dist/esm/mq/index.js +3 -0
- package/dist/esm/mq/index.js.map +1 -0
- package/dist/esm/mq/types.d.ts +48 -0
- package/dist/esm/mq/types.js +2 -0
- package/dist/esm/mq/types.js.map +1 -0
- package/dist/esm/openapi/api.generated.d.ts +820 -0
- package/dist/esm/openapi/api.generated.js +603 -0
- package/dist/esm/openapi/api.generated.js.map +1 -0
- package/dist/esm/openapi/client.d.ts +56 -0
- package/dist/esm/openapi/client.js +210 -0
- package/dist/esm/openapi/client.js.map +1 -0
- package/dist/esm/openapi/codecs.generated.d.ts +2234 -0
- package/dist/esm/openapi/codecs.generated.js +3 -0
- package/dist/esm/openapi/codecs.generated.js.map +1 -0
- package/dist/esm/openapi/index.d.ts +5 -0
- package/dist/esm/openapi/index.js +3 -0
- package/dist/esm/openapi/index.js.map +1 -0
- package/dist/esm/openapi/types.generated.d.ts +3227 -0
- package/dist/esm/openapi/types.generated.js +2 -0
- package/dist/esm/openapi/types.generated.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/react.d.ts +9 -0
- package/dist/esm/react.js +12 -0
- package/dist/esm/react.js.map +1 -0
- package/dist/esm/runtime-context.d.ts +9 -0
- package/dist/esm/runtime-context.js +22 -0
- package/dist/esm/runtime-context.js.map +1 -0
- package/dist/esm/runtime-env.d.ts +1 -0
- package/dist/esm/runtime-env.js +15 -0
- package/dist/esm/runtime-env.js.map +1 -0
- package/dist/esm/source.d.ts +39 -0
- package/dist/esm/source.js +25 -0
- package/dist/esm/source.js.map +1 -0
- package/dist/esm/stream.d.ts +40 -0
- package/dist/esm/stream.js +29 -0
- package/dist/esm/stream.js.map +1 -0
- package/dist/esm/uns-v2/client.d.ts +132 -0
- package/dist/esm/uns-v2/client.js +343 -0
- package/dist/esm/uns-v2/client.js.map +1 -0
- package/dist/esm/uns-v2/codec.d.ts +11 -0
- package/dist/esm/uns-v2/codec.js +284 -0
- package/dist/esm/uns-v2/codec.js.map +1 -0
- package/dist/esm/uns-v2/data-client.d.ts +10 -0
- package/dist/esm/uns-v2/data-client.js +14 -0
- package/dist/esm/uns-v2/data-client.js.map +1 -0
- package/dist/esm/uns-v2/generated.d.ts +18178 -0
- package/dist/esm/uns-v2/generated.js +141 -0
- package/dist/esm/uns-v2/generated.js.map +1 -0
- package/dist/esm/uns-v2/index.d.ts +5 -0
- package/dist/esm/uns-v2/index.js +5 -0
- package/dist/esm/uns-v2/index.js.map +1 -0
- package/dist/esm/uns-v2/sse.d.ts +20 -0
- package/dist/esm/uns-v2/sse.js +60 -0
- package/dist/esm/uns-v2/sse.js.map +1 -0
- package/dist/esm/vue.d.ts +9 -0
- package/dist/esm/vue.js +36 -0
- package/dist/esm/vue.js.map +1 -0
- package/docs/acceptance-2026-10-22.md +88 -0
- package/package.json +243 -4
- package/skills/tier0-sdk-v2/SKILL.md +66 -0
- package/skills/tier0-sdk-v2/references/integration.md +72 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-agent/SKILL.md +73 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-agent/references/results.md +45 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-controls/SKILL.md +63 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/SKILL.md +58 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/consistency.md +70 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/errors.md +82 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/modeling.md +113 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/read-write.md +168 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-data/references/schema-evolution.md +36 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/SKILL.md +85 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/references/delete.md +22 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/references/download.md +49 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/references/multipart.md +42 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/references/upload.md +27 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-files/references/url.md +22 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-members/SKILL.md +56 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-members/references/app-members.md +41 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-members/references/platform-members.md +56 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-mq/SKILL.md +78 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-mq/references/quickstart.md +69 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-notifications/SKILL.md +42 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-notifications/references/get.md +34 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-notifications/references/send.md +72 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/SKILL.md +38 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/changes.md +40 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/create.md +63 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/delete.md +47 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/protocols.md +36 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/read.md +34 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/state.md +37 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-source/references/update.md +62 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/SKILL.md +43 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/create.md +56 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/delete.md +35 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/deploy.md +64 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/lifecycle.md +26 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/read.md +35 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-stream/references/update.md +36 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-system/SKILL.md +64 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-system/references/info.md +23 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-system/references/whoami.md +21 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/SKILL.md +55 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/create.md +56 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/data-workflows.md +69 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/delete.md +53 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/namespace.md +38 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/read.md +34 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/restore.md +39 -0
- package/skills/tier0-sdk-v2/tier0-sdk-v2-uns/references/update.md +62 -0
|
@@ -0,0 +1,604 @@
|
|
|
1
|
+
import { type ClientConfig } from './openapi/client.js';
|
|
2
|
+
import { ControlsClient } from './controls.js';
|
|
3
|
+
import { CapabilitiesClient } from './capabilities.js';
|
|
4
|
+
import { FilesClient } from './files.js';
|
|
5
|
+
import type { CloudTransportConfig } from './cloud-transport.js';
|
|
6
|
+
export interface Tier0ClientConfig extends ClientConfig, CloudTransportConfig {
|
|
7
|
+
}
|
|
8
|
+
/** Use a fresh instance per incoming request when supplying employee data delegation. */
|
|
9
|
+
export declare function createClient(config?: Tier0ClientConfig): Readonly<{
|
|
10
|
+
system: {
|
|
11
|
+
whoami: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
12
|
+
apiKeyName: string;
|
|
13
|
+
email: string;
|
|
14
|
+
keyPrefix: string;
|
|
15
|
+
keyType: string;
|
|
16
|
+
permissions: string[];
|
|
17
|
+
roles: string[];
|
|
18
|
+
userID: number | bigint;
|
|
19
|
+
userName: string;
|
|
20
|
+
workspaceID: number | bigint;
|
|
21
|
+
workspaceName: string;
|
|
22
|
+
}>;
|
|
23
|
+
info: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
24
|
+
name?: string;
|
|
25
|
+
version?: string;
|
|
26
|
+
capabilities?: string[];
|
|
27
|
+
mqttBroker?: string;
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
members: {
|
|
31
|
+
listApp: (body: import("./index.js").components["schemas"]["SdkmembersListAppRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
32
|
+
allActiveMembers: number | bigint;
|
|
33
|
+
appId: string;
|
|
34
|
+
list: import("./index.js").components["schemas"]["AppAccessMemberResp"][];
|
|
35
|
+
page: number | bigint;
|
|
36
|
+
productionVersionId?: string;
|
|
37
|
+
published: number | bigint;
|
|
38
|
+
roles: import("./index.js").components["schemas"]["AppAccessRoleResp"][];
|
|
39
|
+
size: number | bigint;
|
|
40
|
+
total: number | bigint;
|
|
41
|
+
}>;
|
|
42
|
+
listWorkspace: (body?: import("./index.js").components["schemas"]["SdkmembersListWorkspaceRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
43
|
+
list: import("./index.js").components["schemas"]["PlatformMemberResp"][];
|
|
44
|
+
page: number | bigint;
|
|
45
|
+
size: number | bigint;
|
|
46
|
+
total: number | bigint;
|
|
47
|
+
}>;
|
|
48
|
+
};
|
|
49
|
+
notifications: {
|
|
50
|
+
get: (body: import("./index.js").components["schemas"]["SdknotificationsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
51
|
+
completedAt?: string;
|
|
52
|
+
createdAt: string;
|
|
53
|
+
errorCode?: string;
|
|
54
|
+
message?: string;
|
|
55
|
+
messageId: string;
|
|
56
|
+
status: string;
|
|
57
|
+
type: string;
|
|
58
|
+
}>;
|
|
59
|
+
send: (body: import("./index.js").components["schemas"]["SdknotificationsSendRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
60
|
+
createdAt: string;
|
|
61
|
+
messageId: string;
|
|
62
|
+
status: string;
|
|
63
|
+
}>;
|
|
64
|
+
};
|
|
65
|
+
mqttAuth: {
|
|
66
|
+
create: (body: import("./index.js").components["schemas"]["SdkmqttAuthCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
67
|
+
clientID: string;
|
|
68
|
+
clientIDRandomSuffixEnabled: boolean;
|
|
69
|
+
id: number | bigint;
|
|
70
|
+
name: string;
|
|
71
|
+
password: string;
|
|
72
|
+
username: string;
|
|
73
|
+
}>;
|
|
74
|
+
delete: (body: import("./index.js").components["schemas"]["SdkmqttAuthDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
75
|
+
success: boolean;
|
|
76
|
+
}>;
|
|
77
|
+
};
|
|
78
|
+
agent: {
|
|
79
|
+
analyses: {
|
|
80
|
+
dispatch: (body: import("./index.js").components["schemas"]["SdkagentAnalysesDispatchRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
81
|
+
dispatchState: string;
|
|
82
|
+
errorCode: string;
|
|
83
|
+
errorMessage: string;
|
|
84
|
+
runId: string;
|
|
85
|
+
}>;
|
|
86
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentAnalysesGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
87
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
88
|
+
}>;
|
|
89
|
+
};
|
|
90
|
+
canvases: {
|
|
91
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentCanvasesListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
92
|
+
list: import("./index.js").components["schemas"]["AgentCanvasRecord"][];
|
|
93
|
+
page: number | bigint;
|
|
94
|
+
size: number | bigint;
|
|
95
|
+
total: number | bigint;
|
|
96
|
+
}>;
|
|
97
|
+
};
|
|
98
|
+
cards: {
|
|
99
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentCardsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
100
|
+
cardId: string;
|
|
101
|
+
}>;
|
|
102
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentCardsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
103
|
+
canvasId: string;
|
|
104
|
+
cardId: string;
|
|
105
|
+
cardKey: string;
|
|
106
|
+
cardSpec: unknown;
|
|
107
|
+
updatedAt: number | bigint;
|
|
108
|
+
}>;
|
|
109
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentCardsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
110
|
+
list: import("./index.js").components["schemas"]["AgentCardGetResp"][];
|
|
111
|
+
page: number | bigint;
|
|
112
|
+
size: number | bigint;
|
|
113
|
+
total: number | bigint;
|
|
114
|
+
}>;
|
|
115
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentCardsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
116
|
+
cardId: string;
|
|
117
|
+
}>;
|
|
118
|
+
};
|
|
119
|
+
jobRuns: {
|
|
120
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentJobRunsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
121
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
122
|
+
}>;
|
|
123
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentJobRunsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
124
|
+
list: import("./index.js").components["schemas"]["AgentJobRunRecord"][];
|
|
125
|
+
page: number | bigint;
|
|
126
|
+
size: number | bigint;
|
|
127
|
+
total: number | bigint;
|
|
128
|
+
}>;
|
|
129
|
+
};
|
|
130
|
+
jobs: {
|
|
131
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentJobsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
132
|
+
jobId: string;
|
|
133
|
+
}>;
|
|
134
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentJobsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
135
|
+
jobId: string;
|
|
136
|
+
}>;
|
|
137
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentJobsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
138
|
+
job: import("./index.js").components["schemas"]["AgentJobRecord"];
|
|
139
|
+
}>;
|
|
140
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentJobsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
141
|
+
list: import("./index.js").components["schemas"]["AgentJobRecord"][];
|
|
142
|
+
page: number | bigint;
|
|
143
|
+
size: number | bigint;
|
|
144
|
+
total: number | bigint;
|
|
145
|
+
}>;
|
|
146
|
+
pause: (body: import("./index.js").components["schemas"]["SdkagentJobsPauseRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
147
|
+
jobId: string;
|
|
148
|
+
}>;
|
|
149
|
+
resume: (body: import("./index.js").components["schemas"]["SdkagentJobsResumeRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
150
|
+
jobId: string;
|
|
151
|
+
}>;
|
|
152
|
+
trigger: (body: import("./index.js").components["schemas"]["SdkagentJobsTriggerRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
153
|
+
dispatchState: string;
|
|
154
|
+
jobId: string;
|
|
155
|
+
jobRunId: string;
|
|
156
|
+
}>;
|
|
157
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentJobsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
158
|
+
jobId: string;
|
|
159
|
+
}>;
|
|
160
|
+
};
|
|
161
|
+
library: {
|
|
162
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentLibraryCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
163
|
+
libraryItemId: string;
|
|
164
|
+
}>;
|
|
165
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentLibraryDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
166
|
+
libraryItemId: string;
|
|
167
|
+
}>;
|
|
168
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentLibraryGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
169
|
+
item: import("./index.js").components["schemas"]["AgentLibraryItem"];
|
|
170
|
+
}>;
|
|
171
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentLibraryListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
172
|
+
list: import("./index.js").components["schemas"]["AgentLibraryItem"][];
|
|
173
|
+
page: number | bigint;
|
|
174
|
+
size: number | bigint;
|
|
175
|
+
total: number | bigint;
|
|
176
|
+
}>;
|
|
177
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentLibraryUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
178
|
+
libraryItemId: string;
|
|
179
|
+
}>;
|
|
180
|
+
};
|
|
181
|
+
nodes: {
|
|
182
|
+
indexSync: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
183
|
+
durationMs: number | bigint;
|
|
184
|
+
embedded: number | bigint;
|
|
185
|
+
pending: number | bigint;
|
|
186
|
+
skipped: number | bigint;
|
|
187
|
+
total: number | bigint;
|
|
188
|
+
}>;
|
|
189
|
+
searchSemantic: (body: import("./index.js").components["schemas"]["SdkagentNodesSearchSemanticRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
190
|
+
hits: import("./index.js").components["schemas"]["AgentNodeSemanticHit"][];
|
|
191
|
+
indexedCount: number | bigint;
|
|
192
|
+
}>;
|
|
193
|
+
};
|
|
194
|
+
relations: {
|
|
195
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentRelationsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
196
|
+
relations: import("./index.js").components["schemas"]["AgentRelationInfo"][];
|
|
197
|
+
}>;
|
|
198
|
+
teach: (body: import("./index.js").components["schemas"]["SdkagentRelationsTeachRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
199
|
+
created: number | bigint;
|
|
200
|
+
id: string;
|
|
201
|
+
}>;
|
|
202
|
+
};
|
|
203
|
+
results: {
|
|
204
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentResultsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
205
|
+
jobRunId: string;
|
|
206
|
+
resultId: string;
|
|
207
|
+
}>;
|
|
208
|
+
get: (body?: import("./index.js").components["schemas"]["SdkagentResultsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
209
|
+
result: import("./index.js").components["schemas"]["AgentStoredResult"];
|
|
210
|
+
}>;
|
|
211
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentResultsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
212
|
+
list: import("./index.js").components["schemas"]["AgentStoredResult"][];
|
|
213
|
+
page: number | bigint;
|
|
214
|
+
size: number | bigint;
|
|
215
|
+
total: number | bigint;
|
|
216
|
+
}>;
|
|
217
|
+
pin: (body: import("./index.js").components["schemas"]["SdkagentResultsPinRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
218
|
+
cardId: string;
|
|
219
|
+
}>;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
files: FilesClient;
|
|
223
|
+
capabilities: CapabilitiesClient;
|
|
224
|
+
controls: ControlsClient;
|
|
225
|
+
source: Readonly<{
|
|
226
|
+
list: (request: import("./index.js").UnsV2SourceListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceListResponse>;
|
|
227
|
+
get: (request: import("./index.js").UnsV2SourceGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceGetResponse>;
|
|
228
|
+
create: (request: import("./index.js").UnsV2SourceCreateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceCreateResponse>;
|
|
229
|
+
update: (request: import("./index.js").UnsV2SourceUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceUpdateResponse>;
|
|
230
|
+
delete: (request: import("./index.js").CloudSourceDeleteReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceDeleteResponse>;
|
|
231
|
+
validate: (request: import("./index.js").UnsV2SourceValidateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceValidateResponse>;
|
|
232
|
+
probe: (request: import("./index.js").UnsV2SourceProbeReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceProbeResponse>;
|
|
233
|
+
impact: (request: import("./index.js").CloudSourceImpactReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceImpactResponse>;
|
|
234
|
+
history: (request: import("./index.js").CloudSourceHistoryReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceHistoryResponse>;
|
|
235
|
+
protocols: Readonly<{
|
|
236
|
+
list: (request: import("./index.js").UnsV2SourceProtocolsListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceProtocolsListResponse>;
|
|
237
|
+
}>;
|
|
238
|
+
connection: Readonly<{
|
|
239
|
+
update: (request: import("./index.js").UnsV2SourceConnectionUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceConnectionUpdateResponse>;
|
|
240
|
+
}>;
|
|
241
|
+
state: Readonly<{
|
|
242
|
+
update: (request: import("./index.js").UnsV2SourceStateUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceStateUpdateResponse>;
|
|
243
|
+
}>;
|
|
244
|
+
runtime: Readonly<{
|
|
245
|
+
get: (request: import("./index.js").UnsV2SourceRuntimeGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2SourceRuntimeGetResponse>;
|
|
246
|
+
}>;
|
|
247
|
+
observations: Readonly<{
|
|
248
|
+
get: (request: import("./index.js").CloudSourceObservationsGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceObservationsGetResponse>;
|
|
249
|
+
}>;
|
|
250
|
+
documents: Readonly<{
|
|
251
|
+
list: (request: import("./index.js").CloudSourceDocumentListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceDocumentListResponse>;
|
|
252
|
+
get: (request: import("./index.js").CloudSourceDocumentGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceDocumentGetResponse>;
|
|
253
|
+
create: (request: import("./index.js").CloudSourceDocumentCreateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceDocumentCreateResponse>;
|
|
254
|
+
update: (request: import("./index.js").CloudSourceDocumentUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudSourceDocumentUpdateResponse>;
|
|
255
|
+
}>;
|
|
256
|
+
}>;
|
|
257
|
+
stream: Readonly<{
|
|
258
|
+
programs: Readonly<{
|
|
259
|
+
list: (request: import("./index.js").CloudStreamProgramListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamProgramListResponse>;
|
|
260
|
+
get: (request: import("./index.js").UnsV2StreamProgramGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramGetResponse>;
|
|
261
|
+
create: (request: import("./index.js").UnsV2StreamProgramCreateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramCreateResponse>;
|
|
262
|
+
update: (request: import("./index.js").UnsV2StreamProgramUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramUpdateResponse>;
|
|
263
|
+
delete: (request: import("./index.js").CloudStreamProgramDeleteReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamProgramDeleteResponse>;
|
|
264
|
+
validate: (request: import("./index.js").UnsV2StreamProgramValidateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramValidateResponse>;
|
|
265
|
+
deploy: (request: import("./index.js").UnsV2StreamProgramDeployReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramDeployResponse>;
|
|
266
|
+
disable: (request: import("./index.js").UnsV2StreamProgramDisableReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramDisableResponse>;
|
|
267
|
+
rollback: (request: import("./index.js").UnsV2StreamProgramRollbackReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramRollbackResponse>;
|
|
268
|
+
versions: Readonly<{
|
|
269
|
+
list: (request: import("./index.js").UnsV2StreamProgramVersionsListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").UnsV2StreamProgramVersionsListResponse>;
|
|
270
|
+
}>;
|
|
271
|
+
}>;
|
|
272
|
+
documents: Readonly<{
|
|
273
|
+
get: (request: import("./index.js").CloudStreamDocumentGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamDocumentGetResponse>;
|
|
274
|
+
create: (request: import("./index.js").CloudStreamDocumentCreateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamDocumentCreateResponse>;
|
|
275
|
+
update: (request: import("./index.js").CloudStreamDocumentUpdateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamDocumentUpdateResponse>;
|
|
276
|
+
validate: (request: import("./index.js").CloudStreamDocumentValidateReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamDocumentValidateResponse>;
|
|
277
|
+
disable: (request: import("./index.js").CloudStreamDocumentDisableReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamDocumentDisableResponse>;
|
|
278
|
+
}>;
|
|
279
|
+
runtime: Readonly<{
|
|
280
|
+
capabilities: (request: import("./index.js").CloudStreamRuntimeCapabilitiesGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamRuntimeCapabilitiesGetResponse>;
|
|
281
|
+
}>;
|
|
282
|
+
observations: Readonly<{
|
|
283
|
+
get: (request: import("./index.js").CloudStreamObservationGetReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamObservationGetResponse>;
|
|
284
|
+
}>;
|
|
285
|
+
runs: Readonly<{
|
|
286
|
+
list: (request: import("./index.js").CloudStreamRunsListReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamRunsListResponse>;
|
|
287
|
+
}>;
|
|
288
|
+
sampleTest: (request: import("./index.js").CloudStreamSampleTestReq, options?: import("./openapi/client.js").RequestOptions) => Promise<import("./index.js").CloudStreamSampleTestResponse>;
|
|
289
|
+
}>;
|
|
290
|
+
uns: Readonly<Pick<import("./index.js").UnsV2Operations, import("./uns-v2/data-client.js").UnsDataOperationName>>;
|
|
291
|
+
api: {
|
|
292
|
+
agent: {
|
|
293
|
+
analyses: {
|
|
294
|
+
dispatch: (body: import("./index.js").components["schemas"]["SdkagentAnalysesDispatchRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
295
|
+
dispatchState: string;
|
|
296
|
+
errorCode: string;
|
|
297
|
+
errorMessage: string;
|
|
298
|
+
runId: string;
|
|
299
|
+
}>;
|
|
300
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentAnalysesGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
301
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
302
|
+
}>;
|
|
303
|
+
};
|
|
304
|
+
canvases: {
|
|
305
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentCanvasesListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
306
|
+
list: import("./index.js").components["schemas"]["AgentCanvasRecord"][];
|
|
307
|
+
page: number | bigint;
|
|
308
|
+
size: number | bigint;
|
|
309
|
+
total: number | bigint;
|
|
310
|
+
}>;
|
|
311
|
+
};
|
|
312
|
+
cards: {
|
|
313
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentCardsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
314
|
+
cardId: string;
|
|
315
|
+
}>;
|
|
316
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentCardsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
317
|
+
canvasId: string;
|
|
318
|
+
cardId: string;
|
|
319
|
+
cardKey: string;
|
|
320
|
+
cardSpec: unknown;
|
|
321
|
+
updatedAt: number | bigint;
|
|
322
|
+
}>;
|
|
323
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentCardsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
324
|
+
list: import("./index.js").components["schemas"]["AgentCardGetResp"][];
|
|
325
|
+
page: number | bigint;
|
|
326
|
+
size: number | bigint;
|
|
327
|
+
total: number | bigint;
|
|
328
|
+
}>;
|
|
329
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentCardsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
330
|
+
cardId: string;
|
|
331
|
+
}>;
|
|
332
|
+
};
|
|
333
|
+
jobRuns: {
|
|
334
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentJobRunsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
335
|
+
run: import("./index.js").components["schemas"]["AgentJobRunRecord"];
|
|
336
|
+
}>;
|
|
337
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentJobRunsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
338
|
+
list: import("./index.js").components["schemas"]["AgentJobRunRecord"][];
|
|
339
|
+
page: number | bigint;
|
|
340
|
+
size: number | bigint;
|
|
341
|
+
total: number | bigint;
|
|
342
|
+
}>;
|
|
343
|
+
};
|
|
344
|
+
jobs: {
|
|
345
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentJobsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
346
|
+
jobId: string;
|
|
347
|
+
}>;
|
|
348
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentJobsDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
349
|
+
jobId: string;
|
|
350
|
+
}>;
|
|
351
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentJobsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
352
|
+
job: import("./index.js").components["schemas"]["AgentJobRecord"];
|
|
353
|
+
}>;
|
|
354
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentJobsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
355
|
+
list: import("./index.js").components["schemas"]["AgentJobRecord"][];
|
|
356
|
+
page: number | bigint;
|
|
357
|
+
size: number | bigint;
|
|
358
|
+
total: number | bigint;
|
|
359
|
+
}>;
|
|
360
|
+
pause: (body: import("./index.js").components["schemas"]["SdkagentJobsPauseRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
361
|
+
jobId: string;
|
|
362
|
+
}>;
|
|
363
|
+
resume: (body: import("./index.js").components["schemas"]["SdkagentJobsResumeRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
364
|
+
jobId: string;
|
|
365
|
+
}>;
|
|
366
|
+
trigger: (body: import("./index.js").components["schemas"]["SdkagentJobsTriggerRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
367
|
+
dispatchState: string;
|
|
368
|
+
jobId: string;
|
|
369
|
+
jobRunId: string;
|
|
370
|
+
}>;
|
|
371
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentJobsUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
372
|
+
jobId: string;
|
|
373
|
+
}>;
|
|
374
|
+
};
|
|
375
|
+
library: {
|
|
376
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentLibraryCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
377
|
+
libraryItemId: string;
|
|
378
|
+
}>;
|
|
379
|
+
delete: (body: import("./index.js").components["schemas"]["SdkagentLibraryDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
380
|
+
libraryItemId: string;
|
|
381
|
+
}>;
|
|
382
|
+
get: (body: import("./index.js").components["schemas"]["SdkagentLibraryGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
383
|
+
item: import("./index.js").components["schemas"]["AgentLibraryItem"];
|
|
384
|
+
}>;
|
|
385
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentLibraryListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
386
|
+
list: import("./index.js").components["schemas"]["AgentLibraryItem"][];
|
|
387
|
+
page: number | bigint;
|
|
388
|
+
size: number | bigint;
|
|
389
|
+
total: number | bigint;
|
|
390
|
+
}>;
|
|
391
|
+
update: (body: import("./index.js").components["schemas"]["SdkagentLibraryUpdateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
392
|
+
libraryItemId: string;
|
|
393
|
+
}>;
|
|
394
|
+
};
|
|
395
|
+
nodes: {
|
|
396
|
+
indexSync: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
397
|
+
durationMs: number | bigint;
|
|
398
|
+
embedded: number | bigint;
|
|
399
|
+
pending: number | bigint;
|
|
400
|
+
skipped: number | bigint;
|
|
401
|
+
total: number | bigint;
|
|
402
|
+
}>;
|
|
403
|
+
searchSemantic: (body: import("./index.js").components["schemas"]["SdkagentNodesSearchSemanticRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
404
|
+
hits: import("./index.js").components["schemas"]["AgentNodeSemanticHit"][];
|
|
405
|
+
indexedCount: number | bigint;
|
|
406
|
+
}>;
|
|
407
|
+
};
|
|
408
|
+
relations: {
|
|
409
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentRelationsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
410
|
+
relations: import("./index.js").components["schemas"]["AgentRelationInfo"][];
|
|
411
|
+
}>;
|
|
412
|
+
teach: (body: import("./index.js").components["schemas"]["SdkagentRelationsTeachRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
413
|
+
created: number | bigint;
|
|
414
|
+
id: string;
|
|
415
|
+
}>;
|
|
416
|
+
};
|
|
417
|
+
results: {
|
|
418
|
+
create: (body: import("./index.js").components["schemas"]["SdkagentResultsCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
419
|
+
jobRunId: string;
|
|
420
|
+
resultId: string;
|
|
421
|
+
}>;
|
|
422
|
+
get: (body?: import("./index.js").components["schemas"]["SdkagentResultsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
423
|
+
result: import("./index.js").components["schemas"]["AgentStoredResult"];
|
|
424
|
+
}>;
|
|
425
|
+
list: (body: import("./index.js").components["schemas"]["SdkagentResultsListRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
426
|
+
list: import("./index.js").components["schemas"]["AgentStoredResult"][];
|
|
427
|
+
page: number | bigint;
|
|
428
|
+
size: number | bigint;
|
|
429
|
+
total: number | bigint;
|
|
430
|
+
}>;
|
|
431
|
+
pin: (body: import("./index.js").components["schemas"]["SdkagentResultsPinRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
432
|
+
cardId: string;
|
|
433
|
+
}>;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
members: {
|
|
437
|
+
listApp: (body: import("./index.js").components["schemas"]["SdkmembersListAppRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
438
|
+
allActiveMembers: number | bigint;
|
|
439
|
+
appId: string;
|
|
440
|
+
list: import("./index.js").components["schemas"]["AppAccessMemberResp"][];
|
|
441
|
+
page: number | bigint;
|
|
442
|
+
productionVersionId?: string;
|
|
443
|
+
published: number | bigint;
|
|
444
|
+
roles: import("./index.js").components["schemas"]["AppAccessRoleResp"][];
|
|
445
|
+
size: number | bigint;
|
|
446
|
+
total: number | bigint;
|
|
447
|
+
}>;
|
|
448
|
+
listWorkspace: (body?: import("./index.js").components["schemas"]["SdkmembersListWorkspaceRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
449
|
+
list: import("./index.js").components["schemas"]["PlatformMemberResp"][];
|
|
450
|
+
page: number | bigint;
|
|
451
|
+
size: number | bigint;
|
|
452
|
+
total: number | bigint;
|
|
453
|
+
}>;
|
|
454
|
+
};
|
|
455
|
+
assets: {
|
|
456
|
+
files: {
|
|
457
|
+
prepareUpload: (body: import("./index.js").components["schemas"]["SdkassetsFilesPrepareUploadRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
458
|
+
expiresAt?: number | bigint;
|
|
459
|
+
fileId?: number | bigint;
|
|
460
|
+
filePath: string;
|
|
461
|
+
fileUrl?: string;
|
|
462
|
+
postFields: {
|
|
463
|
+
[key: string]: string;
|
|
464
|
+
};
|
|
465
|
+
postUrl: string;
|
|
466
|
+
}>;
|
|
467
|
+
delete: (body: import("./index.js").components["schemas"]["SdkassetsFilesDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
468
|
+
deleted: boolean;
|
|
469
|
+
}>;
|
|
470
|
+
download: (query: import("./index.js").components["schemas"]["SdkassetsFilesDownloadQuery"], options?: import("./openapi/client.js").RequestOptions) => Promise<Response>;
|
|
471
|
+
multipart: {
|
|
472
|
+
abort: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartAbortRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
473
|
+
aborted: number | bigint;
|
|
474
|
+
}>;
|
|
475
|
+
complete: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartCompleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
476
|
+
expiresAt?: number | bigint;
|
|
477
|
+
filePath: string;
|
|
478
|
+
fileUrl?: string;
|
|
479
|
+
sizeBytes: number | bigint;
|
|
480
|
+
}>;
|
|
481
|
+
init: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartInitRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
482
|
+
expiresAt: number | bigint;
|
|
483
|
+
fileKey: string;
|
|
484
|
+
filePath: string;
|
|
485
|
+
partCount: number | bigint;
|
|
486
|
+
partSize: number | bigint;
|
|
487
|
+
uploadId: string;
|
|
488
|
+
}>;
|
|
489
|
+
partUrls: (body: import("./index.js").components["schemas"]["SdkassetsFilesMultipartPartUrlsRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
490
|
+
partUrls: import("./index.js").components["schemas"]["AssetFileMultipartPartUrl"][];
|
|
491
|
+
}>;
|
|
492
|
+
};
|
|
493
|
+
url: (query: import("./index.js").components["schemas"]["SdkassetsFilesUrlQuery"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
494
|
+
expiresAt?: number | bigint;
|
|
495
|
+
fileUrl: string;
|
|
496
|
+
}>;
|
|
497
|
+
};
|
|
498
|
+
upload: (body: import("./index.js").components["schemas"]["SdkassetsUploadRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
499
|
+
filePath: string;
|
|
500
|
+
fileUrl?: string;
|
|
501
|
+
postFields: {
|
|
502
|
+
[key: string]: string;
|
|
503
|
+
};
|
|
504
|
+
postUrl: string;
|
|
505
|
+
}>;
|
|
506
|
+
};
|
|
507
|
+
system: {
|
|
508
|
+
whoami: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
509
|
+
apiKeyName: string;
|
|
510
|
+
email: string;
|
|
511
|
+
keyPrefix: string;
|
|
512
|
+
keyType: string;
|
|
513
|
+
permissions: string[];
|
|
514
|
+
roles: string[];
|
|
515
|
+
userID: number | bigint;
|
|
516
|
+
userName: string;
|
|
517
|
+
workspaceID: number | bigint;
|
|
518
|
+
workspaceName: string;
|
|
519
|
+
}>;
|
|
520
|
+
info: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
521
|
+
name?: string;
|
|
522
|
+
version?: string;
|
|
523
|
+
capabilities?: string[];
|
|
524
|
+
mqttBroker?: string;
|
|
525
|
+
}>;
|
|
526
|
+
};
|
|
527
|
+
capabilities: {
|
|
528
|
+
discover: (options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
529
|
+
apiContractVersions: string[];
|
|
530
|
+
capabilities: import("./index.js").components["schemas"]["PublicCapability"][];
|
|
531
|
+
contractVersion: string;
|
|
532
|
+
deprecations: import("./index.js").components["schemas"]["CapabilityDeprecation"][];
|
|
533
|
+
interpreterContractVersions: string[];
|
|
534
|
+
product: string;
|
|
535
|
+
productVersion?: string;
|
|
536
|
+
sdkContractVersions: string[];
|
|
537
|
+
}>;
|
|
538
|
+
};
|
|
539
|
+
controls: {
|
|
540
|
+
discover: (body?: import("./index.js").components["schemas"]["SdkcontrolsDiscoverRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
541
|
+
list: import("./index.js").components["schemas"]["PublicControl"][];
|
|
542
|
+
total: number | bigint;
|
|
543
|
+
}>;
|
|
544
|
+
describe: (params: {
|
|
545
|
+
"controlCode": string;
|
|
546
|
+
}, options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
547
|
+
code: string;
|
|
548
|
+
contractVersion: string;
|
|
549
|
+
description: string;
|
|
550
|
+
idempotency: string;
|
|
551
|
+
inputSchema: {
|
|
552
|
+
[key: string]: unknown;
|
|
553
|
+
};
|
|
554
|
+
name: string;
|
|
555
|
+
outputSchema: {
|
|
556
|
+
[key: string]: unknown;
|
|
557
|
+
};
|
|
558
|
+
sideEffect: string;
|
|
559
|
+
status: string;
|
|
560
|
+
timeoutMs: number | bigint;
|
|
561
|
+
}>;
|
|
562
|
+
invoke: (params: {
|
|
563
|
+
"controlCode": string;
|
|
564
|
+
}, body: import("./index.js").components["schemas"]["SdkcontrolsInvokeRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
565
|
+
code: string;
|
|
566
|
+
contractVersion: string;
|
|
567
|
+
replayed: boolean;
|
|
568
|
+
result: unknown;
|
|
569
|
+
runID: string;
|
|
570
|
+
status: string;
|
|
571
|
+
}>;
|
|
572
|
+
};
|
|
573
|
+
mqttAuth: {
|
|
574
|
+
create: (body: import("./index.js").components["schemas"]["SdkmqttAuthCreateRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
575
|
+
clientID: string;
|
|
576
|
+
clientIDRandomSuffixEnabled: boolean;
|
|
577
|
+
id: number | bigint;
|
|
578
|
+
name: string;
|
|
579
|
+
password: string;
|
|
580
|
+
username: string;
|
|
581
|
+
}>;
|
|
582
|
+
delete: (body: import("./index.js").components["schemas"]["SdkmqttAuthDeleteRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
583
|
+
success: boolean;
|
|
584
|
+
}>;
|
|
585
|
+
};
|
|
586
|
+
notifications: {
|
|
587
|
+
get: (body: import("./index.js").components["schemas"]["SdknotificationsGetRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
588
|
+
completedAt?: string;
|
|
589
|
+
createdAt: string;
|
|
590
|
+
errorCode?: string;
|
|
591
|
+
message?: string;
|
|
592
|
+
messageId: string;
|
|
593
|
+
status: string;
|
|
594
|
+
type: string;
|
|
595
|
+
}>;
|
|
596
|
+
send: (body: import("./index.js").components["schemas"]["SdknotificationsSendRequest"], options?: import("./openapi/client.js").RequestOptions) => Promise<{
|
|
597
|
+
createdAt: string;
|
|
598
|
+
messageId: string;
|
|
599
|
+
status: string;
|
|
600
|
+
}>;
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
}>;
|
|
604
|
+
export type Tier0Client = ReturnType<typeof createClient>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HttpClient } from './openapi/client.js';
|
|
2
|
+
import { createOpenAPI } from './openapi/api.generated.js';
|
|
3
|
+
import { createUnsV2Client } from './uns-v2/client.js';
|
|
4
|
+
import { bindUnsDataClient } from './uns-v2/data-client.js';
|
|
5
|
+
import { bindSourceClient } from './source.js';
|
|
6
|
+
import { bindStreamClient } from './stream.js';
|
|
7
|
+
import { ControlsClient } from './controls.js';
|
|
8
|
+
import { CapabilitiesClient } from './capabilities.js';
|
|
9
|
+
import { FilesClient } from './files.js';
|
|
10
|
+
/** Use a fresh instance per incoming request when supplying employee data delegation. */
|
|
11
|
+
export function createClient(config = {}) {
|
|
12
|
+
const snapshot = Object.freeze({ ...config });
|
|
13
|
+
const http = new HttpClient(snapshot);
|
|
14
|
+
const api = createOpenAPI(http);
|
|
15
|
+
const resolve = () => http;
|
|
16
|
+
const raw = createUnsV2Client(resolve, snapshot);
|
|
17
|
+
return Object.freeze({
|
|
18
|
+
system: api.system,
|
|
19
|
+
members: api.members,
|
|
20
|
+
notifications: api.notifications,
|
|
21
|
+
mqttAuth: api.mqttAuth,
|
|
22
|
+
agent: api.agent,
|
|
23
|
+
files: new FilesClient(http),
|
|
24
|
+
capabilities: new CapabilitiesClient(resolve, snapshot),
|
|
25
|
+
controls: new ControlsClient(resolve, snapshot),
|
|
26
|
+
source: bindSourceClient(raw),
|
|
27
|
+
stream: bindStreamClient(raw),
|
|
28
|
+
uns: bindUnsDataClient(raw),
|
|
29
|
+
api,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=client.js.map
|