@human2human/sdk 0.5.0 → 0.5.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/README.md +21 -0
- package/dist/client.d.ts +6 -0
- package/dist/client.js +6 -0
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/resources/agent/abort/index.d.ts +5 -0
- package/dist/resources/agent/abort/index.js +8 -0
- package/dist/resources/agent/abort/request-types.d.ts +27 -0
- package/dist/resources/agent/abort/request-types.js +72 -0
- package/dist/resources/agent/abort/resource-client.d.ts +17 -0
- package/dist/resources/agent/abort/resource-client.js +33 -0
- package/dist/resources/agent/build/index.d.ts +3 -0
- package/dist/resources/agent/build/index.js +3 -0
- package/dist/resources/agent/build/resource-client.d.ts +3 -0
- package/dist/resources/agent/build/resource-client.js +3 -0
- package/dist/resources/agent/build/workflow/index.d.ts +3 -0
- package/dist/resources/agent/build/workflow/index.js +3 -0
- package/dist/resources/agent/build/workflow/resource-client.d.ts +3 -0
- package/dist/resources/agent/build/workflow/resource-client.js +3 -0
- package/dist/resources/agent/history/index.d.ts +3 -0
- package/dist/resources/agent/history/index.js +3 -0
- package/dist/resources/agent/history/resource-client.d.ts +3 -0
- package/dist/resources/agent/history/resource-client.js +3 -0
- package/dist/resources/agent/index.d.ts +4 -0
- package/dist/resources/agent/index.js +5 -1
- package/dist/resources/agent/resource-client.d.ts +6 -0
- package/dist/resources/agent/resource-client.js +8 -0
- package/dist/resources/auth/index.d.ts +3 -0
- package/dist/resources/auth/index.js +3 -0
- package/dist/resources/auth/login/index.d.ts +3 -0
- package/dist/resources/auth/login/index.js +3 -0
- package/dist/resources/auth/login/resource-client.d.ts +3 -0
- package/dist/resources/auth/login/resource-client.js +3 -0
- package/dist/resources/auth/refresh/index.d.ts +3 -0
- package/dist/resources/auth/refresh/index.js +3 -0
- package/dist/resources/auth/refresh/resource-client.d.ts +3 -0
- package/dist/resources/auth/refresh/resource-client.js +3 -0
- package/dist/resources/auth/resource-client.d.ts +3 -0
- package/dist/resources/auth/resource-client.js +3 -0
- package/dist/resources/chats/index.d.ts +3 -0
- package/dist/resources/chats/index.js +3 -0
- package/dist/resources/chats/resource-client.d.ts +3 -0
- package/dist/resources/chats/resource-client.js +3 -0
- package/dist/resources/datastore/index.d.ts +7 -0
- package/dist/resources/datastore/index.js +43 -0
- package/dist/resources/datastore/items/index.d.ts +5 -0
- package/dist/resources/datastore/items/index.js +8 -0
- package/dist/resources/datastore/items/request-types.d.ts +130 -0
- package/dist/resources/datastore/items/request-types.js +191 -0
- package/dist/resources/datastore/items/resource-client.d.ts +41 -0
- package/dist/resources/datastore/items/resource-client.js +130 -0
- package/dist/resources/datastore/query/index.d.ts +5 -0
- package/dist/resources/datastore/query/index.js +8 -0
- package/dist/resources/datastore/query/request-types.d.ts +43 -0
- package/dist/resources/datastore/query/request-types.js +85 -0
- package/dist/resources/datastore/query/resource-client.d.ts +17 -0
- package/dist/resources/datastore/query/resource-client.js +33 -0
- package/dist/resources/datastore/request-types.d.ts +99 -0
- package/dist/resources/datastore/request-types.js +190 -0
- package/dist/resources/datastore/resource-client.d.ts +39 -0
- package/dist/resources/datastore/resource-client.js +141 -0
- package/dist/resources/feeds/index.d.ts +3 -0
- package/dist/resources/feeds/index.js +3 -0
- package/dist/resources/feeds/items/index.d.ts +3 -0
- package/dist/resources/feeds/items/index.js +3 -0
- package/dist/resources/feeds/items/resource-client.d.ts +3 -0
- package/dist/resources/feeds/items/resource-client.js +3 -0
- package/dist/resources/feeds/resource-client.d.ts +3 -0
- package/dist/resources/feeds/resource-client.js +3 -0
- package/dist/resources/index.d.ts +1 -0
- package/dist/resources/index.js +2 -1
- package/dist/resources/integrations/api/index.d.ts +3 -0
- package/dist/resources/integrations/api/index.js +3 -0
- package/dist/resources/integrations/api/operations/index.d.ts +3 -0
- package/dist/resources/integrations/api/operations/index.js +3 -0
- package/dist/resources/integrations/api/operations/resource-client.d.ts +3 -0
- package/dist/resources/integrations/api/operations/resource-client.js +3 -0
- package/dist/resources/integrations/api/resource-client.d.ts +3 -0
- package/dist/resources/integrations/api/resource-client.js +3 -0
- package/dist/resources/integrations/api/secrets/index.d.ts +3 -0
- package/dist/resources/integrations/api/secrets/index.js +3 -0
- package/dist/resources/integrations/api/secrets/resource-client.d.ts +3 -0
- package/dist/resources/integrations/api/secrets/resource-client.js +3 -0
- package/dist/resources/integrations/index.d.ts +3 -0
- package/dist/resources/integrations/index.js +3 -0
- package/dist/resources/integrations/resource-client.d.ts +3 -0
- package/dist/resources/integrations/resource-client.js +3 -0
- package/dist/resources/memory/index.d.ts +3 -0
- package/dist/resources/memory/index.js +3 -0
- package/dist/resources/memory/resource-client.d.ts +3 -0
- package/dist/resources/memory/resource-client.js +3 -0
- package/dist/resources/memory/tables/index.d.ts +3 -0
- package/dist/resources/memory/tables/index.js +3 -0
- package/dist/resources/memory/tables/mutate/index.d.ts +3 -0
- package/dist/resources/memory/tables/mutate/index.js +3 -0
- package/dist/resources/memory/tables/mutate/resource-client.d.ts +3 -0
- package/dist/resources/memory/tables/mutate/resource-client.js +3 -0
- package/dist/resources/memory/tables/query/index.d.ts +3 -0
- package/dist/resources/memory/tables/query/index.js +3 -0
- package/dist/resources/memory/tables/query/resource-client.d.ts +3 -0
- package/dist/resources/memory/tables/query/resource-client.js +3 -0
- package/dist/resources/memory/tables/resource-client.d.ts +3 -0
- package/dist/resources/memory/tables/resource-client.js +3 -0
- package/dist/resources/search-groups/index.d.ts +3 -0
- package/dist/resources/search-groups/index.js +3 -0
- package/dist/resources/search-groups/items/index.d.ts +3 -0
- package/dist/resources/search-groups/items/index.js +3 -0
- package/dist/resources/search-groups/items/resource-client.d.ts +3 -0
- package/dist/resources/search-groups/items/resource-client.js +3 -0
- package/dist/resources/search-groups/resource-client.d.ts +3 -0
- package/dist/resources/search-groups/resource-client.js +3 -0
- package/dist/resources/subscriptions/events/index.d.ts +3 -0
- package/dist/resources/subscriptions/events/index.js +3 -0
- package/dist/resources/subscriptions/events/resource-client.d.ts +3 -0
- package/dist/resources/subscriptions/events/resource-client.js +3 -0
- package/dist/resources/subscriptions/index.d.ts +3 -0
- package/dist/resources/subscriptions/index.js +3 -0
- package/dist/resources/subscriptions/resource-client.d.ts +3 -0
- package/dist/resources/subscriptions/resource-client.js +3 -0
- package/dist/resources/tools/code-execution/index.d.ts +3 -0
- package/dist/resources/tools/code-execution/index.js +3 -0
- package/dist/resources/tools/code-execution/resource-client.d.ts +3 -0
- package/dist/resources/tools/code-execution/resource-client.js +3 -0
- package/dist/resources/tools/dictionary-search/index.d.ts +3 -0
- package/dist/resources/tools/dictionary-search/index.js +3 -0
- package/dist/resources/tools/dictionary-search/resource-client.d.ts +3 -0
- package/dist/resources/tools/dictionary-search/resource-client.js +3 -0
- package/dist/resources/tools/format/index.d.ts +3 -0
- package/dist/resources/tools/format/index.js +3 -0
- package/dist/resources/tools/format/resource-client.d.ts +3 -0
- package/dist/resources/tools/format/resource-client.js +3 -0
- package/dist/resources/tools/index.d.ts +3 -0
- package/dist/resources/tools/index.js +3 -0
- package/dist/resources/tools/internet-search/index.d.ts +3 -0
- package/dist/resources/tools/internet-search/index.js +3 -0
- package/dist/resources/tools/internet-search/resource-client.d.ts +3 -0
- package/dist/resources/tools/internet-search/resource-client.js +3 -0
- package/dist/resources/tools/memory-query/index.d.ts +3 -0
- package/dist/resources/tools/memory-query/index.js +3 -0
- package/dist/resources/tools/memory-query/resource-client.d.ts +3 -0
- package/dist/resources/tools/memory-query/resource-client.js +3 -0
- package/dist/resources/tools/meta-tagger/index.d.ts +3 -0
- package/dist/resources/tools/meta-tagger/index.js +3 -0
- package/dist/resources/tools/meta-tagger/resource-client.d.ts +3 -0
- package/dist/resources/tools/meta-tagger/resource-client.js +3 -0
- package/dist/resources/tools/resource-client.d.ts +3 -0
- package/dist/resources/tools/resource-client.js +3 -0
- package/dist/resources/tools/standard-llm/index.d.ts +3 -0
- package/dist/resources/tools/standard-llm/index.js +3 -0
- package/dist/resources/tools/standard-llm/resource-client.d.ts +3 -0
- package/dist/resources/tools/standard-llm/resource-client.js +3 -0
- package/dist/resources/tools/structured-output/index.d.ts +3 -0
- package/dist/resources/tools/structured-output/index.js +3 -0
- package/dist/resources/tools/structured-output/resource-client.d.ts +3 -0
- package/dist/resources/tools/structured-output/resource-client.js +3 -0
- package/dist/resources/workflows/dispatch/index.d.ts +3 -0
- package/dist/resources/workflows/dispatch/index.js +3 -0
- package/dist/resources/workflows/dispatch/resource-client.d.ts +3 -0
- package/dist/resources/workflows/dispatch/resource-client.js +3 -0
- package/dist/resources/workflows/index.d.ts +3 -0
- package/dist/resources/workflows/index.js +3 -0
- package/dist/resources/workflows/invoke/index.d.ts +3 -0
- package/dist/resources/workflows/invoke/index.js +3 -0
- package/dist/resources/workflows/invoke/resource-client.d.ts +3 -0
- package/dist/resources/workflows/invoke/resource-client.js +3 -0
- package/dist/resources/workflows/resource-client.d.ts +3 -0
- package/dist/resources/workflows/resource-client.js +3 -0
- package/dist/resources/workflows/runs/dispatch/index.d.ts +3 -0
- package/dist/resources/workflows/runs/dispatch/index.js +3 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.d.ts +3 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.js +3 -0
- package/dist/resources/workflows/runs/index.d.ts +3 -0
- package/dist/resources/workflows/runs/index.js +3 -0
- package/dist/resources/workflows/runs/resource-client.d.ts +3 -0
- package/dist/resources/workflows/runs/resource-client.js +3 -0
- package/dist/resources/workflows/versions/index.d.ts +3 -0
- package/dist/resources/workflows/versions/index.js +3 -0
- package/dist/resources/workflows/versions/resource-client.d.ts +3 -0
- package/dist/resources/workflows/versions/resource-client.js +3 -0
- package/dist/resources/workflows/versions/tasks/index.d.ts +3 -0
- package/dist/resources/workflows/versions/tasks/index.js +3 -0
- package/dist/resources/workflows/versions/tasks/resource-client.d.ts +3 -0
- package/dist/resources/workflows/versions/tasks/resource-client.js +3 -0
- package/dist/resources/workspace/index.d.ts +3 -0
- package/dist/resources/workspace/index.js +3 -0
- package/dist/resources/workspace/resource-client.d.ts +3 -0
- package/dist/resources/workspace/resource-client.js +3 -0
- package/dist/resources/workspace/variables/index.d.ts +3 -0
- package/dist/resources/workspace/variables/index.js +3 -0
- package/dist/resources/workspace/variables/resource-client.d.ts +3 -0
- package/dist/resources/workspace/variables/resource-client.js +3 -0
- package/dist/types/agent-abort-create-body.d.ts +27 -0
- package/dist/types/agent-abort-create-body.js +72 -0
- package/dist/types/agent-abort-create-response.d.ts +24 -0
- package/dist/types/agent-abort-create-response.js +74 -0
- package/dist/types/datastore-create-body-type-enum.d.ts +7 -0
- package/dist/types/datastore-create-body-type-enum.js +5 -0
- package/dist/types/datastore-create-body.d.ts +47 -0
- package/dist/types/datastore-create-body.js +110 -0
- package/dist/types/datastore-create-response-type-enum.d.ts +7 -0
- package/dist/types/datastore-create-response-type-enum.js +5 -0
- package/dist/types/datastore-create-response.d.ts +41 -0
- package/dist/types/datastore-create-response.js +122 -0
- package/dist/types/datastore-get-response-type-enum.d.ts +7 -0
- package/dist/types/datastore-get-response-type-enum.js +5 -0
- package/dist/types/datastore-get-response.d.ts +41 -0
- package/dist/types/datastore-get-response.js +122 -0
- package/dist/types/datastore-items-create-body-encoding-enum.d.ts +7 -0
- package/dist/types/datastore-items-create-body-encoding-enum.js +5 -0
- package/dist/types/datastore-items-create-body.d.ts +57 -0
- package/dist/types/datastore-items-create-body.js +96 -0
- package/dist/types/datastore-items-create-response.d.ts +36 -0
- package/dist/types/datastore-items-create-response.js +102 -0
- package/dist/types/datastore-items-delete-response.d.ts +36 -0
- package/dist/types/datastore-items-delete-response.js +102 -0
- package/dist/types/datastore-items-get-response-encoding-enum.d.ts +7 -0
- package/dist/types/datastore-items-get-response-encoding-enum.js +5 -0
- package/dist/types/datastore-items-get-response.d.ts +43 -0
- package/dist/types/datastore-items-get-response.js +110 -0
- package/dist/types/datastore-items-list-response-item-obj0-type-enum.d.ts +7 -0
- package/dist/types/datastore-items-list-response-item-obj0-type-enum.js +5 -0
- package/dist/types/datastore-items-list-response-item-obj0.d.ts +28 -0
- package/dist/types/datastore-items-list-response-item-obj0.js +80 -0
- package/dist/types/datastore-items-list-response-item-obj1-type-enum.d.ts +7 -0
- package/dist/types/datastore-items-list-response-item-obj1-type-enum.js +5 -0
- package/dist/types/datastore-items-list-response-item-obj1.d.ts +38 -0
- package/dist/types/datastore-items-list-response-item-obj1.js +106 -0
- package/dist/types/datastore-list-response-item-type-enum.d.ts +7 -0
- package/dist/types/datastore-list-response-item-type-enum.js +5 -0
- package/dist/types/datastore-list-response-item.d.ts +41 -0
- package/dist/types/datastore-list-response-item.js +122 -0
- package/dist/types/datastore-list-type-enum.d.ts +7 -0
- package/dist/types/datastore-list-type-enum.js +5 -0
- package/dist/types/datastore-query-create-body-filters.d.ts +30 -0
- package/dist/types/datastore-query-create-body-filters.js +84 -0
- package/dist/types/datastore-query-create-body.d.ts +38 -0
- package/dist/types/datastore-query-create-body.js +81 -0
- package/dist/types/datastore-query-create-response.d.ts +24 -0
- package/dist/types/datastore-query-create-response.js +78 -0
- package/dist/types/index.d.ts +27 -0
- package/dist/types/index.js +3 -0
- package/package.json +2 -2
|
@@ -16,6 +16,9 @@ import * as types from "../../../types";
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
export declare class InternetSearchClient extends CoreResourceClient {
|
|
20
23
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
21
24
|
/**
|
|
@@ -19,6 +19,9 @@ const tools_internet_search_create_response_1 = require("../../../types/tools-in
|
|
|
19
19
|
/**
|
|
20
20
|
* Generated by Sideko (sideko.dev)
|
|
21
21
|
**/
|
|
22
|
+
/**
|
|
23
|
+
* Generated by Sideko (sideko.dev)
|
|
24
|
+
**/
|
|
22
25
|
class InternetSearchClient extends make_api_request_js_1.CoreResourceClient {
|
|
23
26
|
constructor(coreClient, opts) {
|
|
24
27
|
super(coreClient, opts);
|
|
@@ -16,6 +16,9 @@ import * as types from "../../../types";
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
export declare class MemoryQueryClient extends CoreResourceClient {
|
|
20
23
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
21
24
|
/**
|
|
@@ -54,6 +54,9 @@ const tools_memory_query_create_response_1 = require("../../../types/tools-memor
|
|
|
54
54
|
/**
|
|
55
55
|
* Generated by Sideko (sideko.dev)
|
|
56
56
|
**/
|
|
57
|
+
/**
|
|
58
|
+
* Generated by Sideko (sideko.dev)
|
|
59
|
+
**/
|
|
57
60
|
class MemoryQueryClient extends make_api_request_js_1.CoreResourceClient {
|
|
58
61
|
constructor(coreClient, opts) {
|
|
59
62
|
super(coreClient, opts);
|
|
@@ -16,6 +16,9 @@ import * as types from "../../../types";
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
export declare class MetaTaggerClient extends CoreResourceClient {
|
|
20
23
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
21
24
|
/**
|
|
@@ -53,6 +53,9 @@ const tools_meta_tagger_create_response_item_1 = require("../../../types/tools-m
|
|
|
53
53
|
/**
|
|
54
54
|
* Generated by Sideko (sideko.dev)
|
|
55
55
|
**/
|
|
56
|
+
/**
|
|
57
|
+
* Generated by Sideko (sideko.dev)
|
|
58
|
+
**/
|
|
56
59
|
class MetaTaggerClient extends make_api_request_js_1.CoreResourceClient {
|
|
57
60
|
constructor(coreClient, opts) {
|
|
58
61
|
super(coreClient, opts);
|
|
@@ -23,6 +23,9 @@ import * as types from "../../types";
|
|
|
23
23
|
/**
|
|
24
24
|
* Generated by Sideko (sideko.dev)
|
|
25
25
|
**/
|
|
26
|
+
/**
|
|
27
|
+
* Generated by Sideko (sideko.dev)
|
|
28
|
+
**/
|
|
26
29
|
export declare class ToolsClient extends CoreResourceClient {
|
|
27
30
|
private _structuredOutputLazy?;
|
|
28
31
|
private _standardLlmLazy?;
|
|
@@ -18,6 +18,9 @@ const tools_list_response_1 = require("../../types/tools-list-response");
|
|
|
18
18
|
/**
|
|
19
19
|
* Generated by Sideko (sideko.dev)
|
|
20
20
|
**/
|
|
21
|
+
/**
|
|
22
|
+
* Generated by Sideko (sideko.dev)
|
|
23
|
+
**/
|
|
21
24
|
class ToolsClient extends make_api_request_js_1.CoreResourceClient {
|
|
22
25
|
constructor(coreClient, opts) {
|
|
23
26
|
super(coreClient, opts);
|
|
@@ -16,6 +16,9 @@ import * as types from "../../../types";
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
export declare class StandardLlmClient extends CoreResourceClient {
|
|
20
23
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
21
24
|
/**
|
|
@@ -53,6 +53,9 @@ const tools_standard_llm_create_response_item_1 = require("../../../types/tools-
|
|
|
53
53
|
/**
|
|
54
54
|
* Generated by Sideko (sideko.dev)
|
|
55
55
|
**/
|
|
56
|
+
/**
|
|
57
|
+
* Generated by Sideko (sideko.dev)
|
|
58
|
+
**/
|
|
56
59
|
class StandardLlmClient extends make_api_request_js_1.CoreResourceClient {
|
|
57
60
|
constructor(coreClient, opts) {
|
|
58
61
|
super(coreClient, opts);
|
|
@@ -15,6 +15,9 @@ import * as requests from "../../../resources/tools/structured-output/request-ty
|
|
|
15
15
|
/**
|
|
16
16
|
* Generated by Sideko (sideko.dev)
|
|
17
17
|
**/
|
|
18
|
+
/**
|
|
19
|
+
* Generated by Sideko (sideko.dev)
|
|
20
|
+
**/
|
|
18
21
|
export declare class StructuredOutputClient extends CoreResourceClient {
|
|
19
22
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
20
23
|
/**
|
|
@@ -52,6 +52,9 @@ const tools_structured_output_create_body_1 = require("../../../types/tools-stru
|
|
|
52
52
|
/**
|
|
53
53
|
* Generated by Sideko (sideko.dev)
|
|
54
54
|
**/
|
|
55
|
+
/**
|
|
56
|
+
* Generated by Sideko (sideko.dev)
|
|
57
|
+
**/
|
|
55
58
|
class StructuredOutputClient extends make_api_request_js_1.CoreResourceClient {
|
|
56
59
|
constructor(coreClient, opts) {
|
|
57
60
|
super(coreClient, opts);
|
|
@@ -16,6 +16,9 @@ import * as types from "../../../types";
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
export declare class DispatchClient extends CoreResourceClient {
|
|
20
23
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
21
24
|
/**
|
|
@@ -19,6 +19,9 @@ const workflows_dispatch_create_response_1 = require("../../../types/workflows-d
|
|
|
19
19
|
/**
|
|
20
20
|
* Generated by Sideko (sideko.dev)
|
|
21
21
|
**/
|
|
22
|
+
/**
|
|
23
|
+
* Generated by Sideko (sideko.dev)
|
|
24
|
+
**/
|
|
22
25
|
class DispatchClient extends make_api_request_js_1.CoreResourceClient {
|
|
23
26
|
constructor(coreClient, opts) {
|
|
24
27
|
super(coreClient, opts);
|
|
@@ -16,6 +16,9 @@ import * as types from "../../../types";
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
export declare class InvokeClient extends CoreResourceClient {
|
|
20
23
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
21
24
|
/**
|
|
@@ -19,6 +19,9 @@ const workflows_invoke_create_response_1 = require("../../../types/workflows-inv
|
|
|
19
19
|
/**
|
|
20
20
|
* Generated by Sideko (sideko.dev)
|
|
21
21
|
**/
|
|
22
|
+
/**
|
|
23
|
+
* Generated by Sideko (sideko.dev)
|
|
24
|
+
**/
|
|
22
25
|
class InvokeClient extends make_api_request_js_1.CoreResourceClient {
|
|
23
26
|
constructor(coreClient, opts) {
|
|
24
27
|
super(coreClient, opts);
|
|
@@ -20,6 +20,9 @@ import * as types from "../../types";
|
|
|
20
20
|
/**
|
|
21
21
|
* Generated by Sideko (sideko.dev)
|
|
22
22
|
**/
|
|
23
|
+
/**
|
|
24
|
+
* Generated by Sideko (sideko.dev)
|
|
25
|
+
**/
|
|
23
26
|
export declare class WorkflowsClient extends CoreResourceClient {
|
|
24
27
|
private _versionsLazy?;
|
|
25
28
|
private _runsLazy?;
|
|
@@ -58,6 +58,9 @@ const workflows_patch_response_1 = require("../../types/workflows-patch-response
|
|
|
58
58
|
/**
|
|
59
59
|
* Generated by Sideko (sideko.dev)
|
|
60
60
|
**/
|
|
61
|
+
/**
|
|
62
|
+
* Generated by Sideko (sideko.dev)
|
|
63
|
+
**/
|
|
61
64
|
class WorkflowsClient extends make_api_request_js_1.CoreResourceClient {
|
|
62
65
|
constructor(coreClient, opts) {
|
|
63
66
|
super(coreClient, opts);
|
|
@@ -10,6 +10,9 @@ import * as types from "../../../../types";
|
|
|
10
10
|
/**
|
|
11
11
|
* Generated by Sideko (sideko.dev)
|
|
12
12
|
**/
|
|
13
|
+
/**
|
|
14
|
+
* Generated by Sideko (sideko.dev)
|
|
15
|
+
**/
|
|
13
16
|
export declare class DispatchClient extends CoreResourceClient {
|
|
14
17
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
15
18
|
/**
|
|
@@ -12,6 +12,9 @@ const workflows_runs_dispatch_create_response_1 = require("../../../../types/wor
|
|
|
12
12
|
/**
|
|
13
13
|
* Generated by Sideko (sideko.dev)
|
|
14
14
|
**/
|
|
15
|
+
/**
|
|
16
|
+
* Generated by Sideko (sideko.dev)
|
|
17
|
+
**/
|
|
15
18
|
class DispatchClient extends make_api_request_js_1.CoreResourceClient {
|
|
16
19
|
constructor(coreClient, opts) {
|
|
17
20
|
super(coreClient, opts);
|
|
@@ -11,6 +11,9 @@ import * as types from "../../../types";
|
|
|
11
11
|
/**
|
|
12
12
|
* Generated by Sideko (sideko.dev)
|
|
13
13
|
**/
|
|
14
|
+
/**
|
|
15
|
+
* Generated by Sideko (sideko.dev)
|
|
16
|
+
**/
|
|
14
17
|
export declare class RunsClient extends CoreResourceClient {
|
|
15
18
|
private _dispatchLazy?;
|
|
16
19
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
@@ -50,6 +50,9 @@ const workflows_runs_list_response_item_1 = require("../../../types/workflows-ru
|
|
|
50
50
|
/**
|
|
51
51
|
* Generated by Sideko (sideko.dev)
|
|
52
52
|
**/
|
|
53
|
+
/**
|
|
54
|
+
* Generated by Sideko (sideko.dev)
|
|
55
|
+
**/
|
|
53
56
|
class RunsClient extends make_api_request_js_1.CoreResourceClient {
|
|
54
57
|
constructor(coreClient, opts) {
|
|
55
58
|
super(coreClient, opts);
|
|
@@ -11,6 +11,9 @@ import * as types from "../../../types";
|
|
|
11
11
|
/**
|
|
12
12
|
* Generated by Sideko (sideko.dev)
|
|
13
13
|
**/
|
|
14
|
+
/**
|
|
15
|
+
* Generated by Sideko (sideko.dev)
|
|
16
|
+
**/
|
|
14
17
|
export declare class VersionsClient extends CoreResourceClient {
|
|
15
18
|
private _tasksLazy?;
|
|
16
19
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
@@ -52,6 +52,9 @@ const workflows_versions_patch_response_1 = require("../../../types/workflows-ve
|
|
|
52
52
|
/**
|
|
53
53
|
* Generated by Sideko (sideko.dev)
|
|
54
54
|
**/
|
|
55
|
+
/**
|
|
56
|
+
* Generated by Sideko (sideko.dev)
|
|
57
|
+
**/
|
|
55
58
|
class VersionsClient extends make_api_request_js_1.CoreResourceClient {
|
|
56
59
|
constructor(coreClient, opts) {
|
|
57
60
|
super(coreClient, opts);
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../../resources/workflows/versions/tasks/request-types";
|
|
6
6
|
import * as types from "../../../../types";
|
|
7
|
+
/**
|
|
8
|
+
* Generated by Sideko (sideko.dev)
|
|
9
|
+
**/
|
|
7
10
|
/**
|
|
8
11
|
* Generated by Sideko (sideko.dev)
|
|
9
12
|
**/
|
|
@@ -11,6 +11,9 @@ const workflows_versions_tasks_delete_response_1 = require("../../../../types/wo
|
|
|
11
11
|
const workflows_versions_tasks_get_response_1 = require("../../../../types/workflows-versions-tasks-get-response");
|
|
12
12
|
const workflows_versions_tasks_patch_body_1 = require("../../../../types/workflows-versions-tasks-patch-body");
|
|
13
13
|
const workflows_versions_tasks_patch_response_1 = require("../../../../types/workflows-versions-tasks-patch-response");
|
|
14
|
+
/**
|
|
15
|
+
* Generated by Sideko (sideko.dev)
|
|
16
|
+
**/
|
|
14
17
|
/**
|
|
15
18
|
* Generated by Sideko (sideko.dev)
|
|
16
19
|
**/
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
**/
|
|
4
4
|
import { CoreClient, CoreResourceClient, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import { VariablesClient } from "../../resources/workspace/variables";
|
|
6
|
+
/**
|
|
7
|
+
* Generated by Sideko (sideko.dev)
|
|
8
|
+
**/
|
|
6
9
|
/**
|
|
7
10
|
* Generated by Sideko (sideko.dev)
|
|
8
11
|
**/
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.WorkspaceClient = void 0;
|
|
7
7
|
const make_api_request_js_1 = require("make-api-request-js");
|
|
8
|
+
/**
|
|
9
|
+
* Generated by Sideko (sideko.dev)
|
|
10
|
+
**/
|
|
8
11
|
/**
|
|
9
12
|
* Generated by Sideko (sideko.dev)
|
|
10
13
|
**/
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../resources/workspace/variables/request-types";
|
|
6
6
|
import * as types from "../../../types";
|
|
7
|
+
/**
|
|
8
|
+
* Generated by Sideko (sideko.dev)
|
|
9
|
+
**/
|
|
7
10
|
/**
|
|
8
11
|
* Generated by Sideko (sideko.dev)
|
|
9
12
|
**/
|
|
@@ -46,6 +46,9 @@ const workspace_variables_delete_response_1 = require("../../../types/workspace-
|
|
|
46
46
|
const workspace_variables_list_response_item_1 = require("../../../types/workspace-variables-list-response-item");
|
|
47
47
|
const workspace_variables_patch_body_1 = require("../../../types/workspace-variables-patch-body");
|
|
48
48
|
const workspace_variables_patch_response_1 = require("../../../types/workspace-variables-patch-response");
|
|
49
|
+
/**
|
|
50
|
+
* Generated by Sideko (sideko.dev)
|
|
51
|
+
**/
|
|
49
52
|
/**
|
|
50
53
|
* Generated by Sideko (sideko.dev)
|
|
51
54
|
**/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* AgentAbortCreateBody
|
|
7
|
+
*/
|
|
8
|
+
export type AgentAbortCreateBody = {
|
|
9
|
+
/**
|
|
10
|
+
* The chat session ID to abort.
|
|
11
|
+
*/
|
|
12
|
+
chatId: string;
|
|
13
|
+
[additionalProperty: string]: string | any | null | undefined;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
* AgentAbortCreateBody without any key transformation, this is what
|
|
18
|
+
* we expect to come in as network data
|
|
19
|
+
*/
|
|
20
|
+
export type External$AgentAbortCreateBody = {
|
|
21
|
+
chat_id: string;
|
|
22
|
+
[additionalProperty: string]: string | External$AgentAbortCreateBody | null | undefined;
|
|
23
|
+
};
|
|
24
|
+
export declare const Schemas$AgentAbortCreateBody: {
|
|
25
|
+
in: z.ZodType<AgentAbortCreateBody, z.ZodTypeDef, unknown>;
|
|
26
|
+
out: z.ZodType<External$AgentAbortCreateBody, z.ZodTypeDef, AgentAbortCreateBody>;
|
|
27
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by Sideko (sideko.dev)
|
|
4
|
+
**/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Schemas$AgentAbortCreateBody = void 0;
|
|
40
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
41
|
+
const z = __importStar(require("zod"));
|
|
42
|
+
/**
|
|
43
|
+
* Takes network data, validates it, and transforms keys to match typescript object AgentAbortCreateBody
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$AgentAbortCreateBody = z
|
|
46
|
+
.object({
|
|
47
|
+
chat_id: z.string(),
|
|
48
|
+
})
|
|
49
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
50
|
+
.transform((obj) => {
|
|
51
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
52
|
+
chat_id: "chatId",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$AgentAbortCreateBody
|
|
58
|
+
*/
|
|
59
|
+
const SchemaOut$AgentAbortCreateBody = z
|
|
60
|
+
.object({
|
|
61
|
+
chatId: z.string(),
|
|
62
|
+
})
|
|
63
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
64
|
+
.transform((obj) => {
|
|
65
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
66
|
+
chatId: "chat_id",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
exports.Schemas$AgentAbortCreateBody = {
|
|
70
|
+
in: SchemaIn$AgentAbortCreateBody,
|
|
71
|
+
out: SchemaOut$AgentAbortCreateBody,
|
|
72
|
+
};
|