@human2human/sdk 0.4.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 +9 -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 +6 -0
- package/dist/index.js +6 -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 +6 -0
- package/dist/resources/agent/build/index.js +6 -0
- package/dist/resources/agent/build/resource-client.d.ts +6 -0
- package/dist/resources/agent/build/resource-client.js +6 -0
- package/dist/resources/agent/build/workflow/index.d.ts +6 -0
- package/dist/resources/agent/build/workflow/index.js +6 -0
- package/dist/resources/agent/build/workflow/resource-client.d.ts +6 -0
- package/dist/resources/agent/build/workflow/resource-client.js +6 -0
- package/dist/resources/agent/history/index.d.ts +6 -0
- package/dist/resources/agent/history/index.js +6 -0
- package/dist/resources/agent/history/resource-client.d.ts +6 -0
- package/dist/resources/agent/history/resource-client.js +6 -0
- package/dist/resources/agent/index.d.ts +7 -0
- package/dist/resources/agent/index.js +8 -1
- package/dist/resources/agent/resource-client.d.ts +9 -0
- package/dist/resources/agent/resource-client.js +11 -0
- package/dist/resources/auth/index.d.ts +6 -0
- package/dist/resources/auth/index.js +6 -0
- package/dist/resources/auth/login/index.d.ts +6 -0
- package/dist/resources/auth/login/index.js +6 -0
- package/dist/resources/auth/login/resource-client.d.ts +6 -0
- package/dist/resources/auth/login/resource-client.js +6 -0
- package/dist/resources/auth/refresh/index.d.ts +6 -0
- package/dist/resources/auth/refresh/index.js +6 -0
- package/dist/resources/auth/refresh/resource-client.d.ts +6 -0
- package/dist/resources/auth/refresh/resource-client.js +6 -0
- package/dist/resources/auth/resource-client.d.ts +6 -0
- package/dist/resources/auth/resource-client.js +6 -0
- package/dist/resources/chats/index.d.ts +6 -0
- package/dist/resources/chats/index.js +6 -0
- package/dist/resources/chats/resource-client.d.ts +6 -0
- package/dist/resources/chats/resource-client.js +6 -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 +6 -0
- package/dist/resources/feeds/index.js +6 -0
- package/dist/resources/feeds/items/index.d.ts +6 -0
- package/dist/resources/feeds/items/index.js +6 -0
- package/dist/resources/feeds/items/resource-client.d.ts +6 -0
- package/dist/resources/feeds/items/resource-client.js +6 -0
- package/dist/resources/feeds/resource-client.d.ts +6 -0
- package/dist/resources/feeds/resource-client.js +6 -0
- package/dist/resources/index.d.ts +1 -0
- package/dist/resources/index.js +2 -1
- package/dist/resources/integrations/api/index.d.ts +6 -0
- package/dist/resources/integrations/api/index.js +6 -0
- package/dist/resources/integrations/api/operations/index.d.ts +6 -0
- package/dist/resources/integrations/api/operations/index.js +6 -0
- package/dist/resources/integrations/api/operations/resource-client.d.ts +6 -0
- package/dist/resources/integrations/api/operations/resource-client.js +6 -0
- package/dist/resources/integrations/api/resource-client.d.ts +6 -0
- package/dist/resources/integrations/api/resource-client.js +6 -0
- package/dist/resources/integrations/api/secrets/index.d.ts +6 -0
- package/dist/resources/integrations/api/secrets/index.js +6 -0
- package/dist/resources/integrations/api/secrets/resource-client.d.ts +6 -0
- package/dist/resources/integrations/api/secrets/resource-client.js +6 -0
- package/dist/resources/integrations/index.d.ts +6 -0
- package/dist/resources/integrations/index.js +6 -0
- package/dist/resources/integrations/resource-client.d.ts +6 -0
- package/dist/resources/integrations/resource-client.js +6 -0
- package/dist/resources/memory/index.d.ts +6 -0
- package/dist/resources/memory/index.js +6 -0
- package/dist/resources/memory/resource-client.d.ts +6 -0
- package/dist/resources/memory/resource-client.js +6 -0
- package/dist/resources/memory/tables/index.d.ts +6 -0
- package/dist/resources/memory/tables/index.js +6 -0
- package/dist/resources/memory/tables/mutate/index.d.ts +6 -0
- package/dist/resources/memory/tables/mutate/index.js +6 -0
- package/dist/resources/memory/tables/mutate/resource-client.d.ts +6 -0
- package/dist/resources/memory/tables/mutate/resource-client.js +6 -0
- package/dist/resources/memory/tables/query/index.d.ts +6 -0
- package/dist/resources/memory/tables/query/index.js +6 -0
- package/dist/resources/memory/tables/query/resource-client.d.ts +6 -0
- package/dist/resources/memory/tables/query/resource-client.js +6 -0
- package/dist/resources/memory/tables/resource-client.d.ts +6 -0
- package/dist/resources/memory/tables/resource-client.js +6 -0
- package/dist/resources/search-groups/index.d.ts +6 -0
- package/dist/resources/search-groups/index.js +6 -0
- package/dist/resources/search-groups/items/index.d.ts +6 -0
- package/dist/resources/search-groups/items/index.js +6 -0
- package/dist/resources/search-groups/items/resource-client.d.ts +6 -0
- package/dist/resources/search-groups/items/resource-client.js +6 -0
- package/dist/resources/search-groups/resource-client.d.ts +6 -0
- package/dist/resources/search-groups/resource-client.js +6 -0
- package/dist/resources/subscriptions/events/index.d.ts +6 -0
- package/dist/resources/subscriptions/events/index.js +6 -0
- package/dist/resources/subscriptions/events/resource-client.d.ts +6 -0
- package/dist/resources/subscriptions/events/resource-client.js +6 -0
- package/dist/resources/subscriptions/index.d.ts +6 -0
- package/dist/resources/subscriptions/index.js +6 -0
- package/dist/resources/subscriptions/resource-client.d.ts +6 -0
- package/dist/resources/subscriptions/resource-client.js +6 -0
- package/dist/resources/tools/code-execution/index.d.ts +6 -0
- package/dist/resources/tools/code-execution/index.js +6 -0
- package/dist/resources/tools/code-execution/resource-client.d.ts +6 -0
- package/dist/resources/tools/code-execution/resource-client.js +6 -0
- package/dist/resources/tools/dictionary-search/index.d.ts +6 -0
- package/dist/resources/tools/dictionary-search/index.js +6 -0
- package/dist/resources/tools/dictionary-search/resource-client.d.ts +6 -0
- package/dist/resources/tools/dictionary-search/resource-client.js +6 -0
- package/dist/resources/tools/format/index.d.ts +6 -0
- package/dist/resources/tools/format/index.js +6 -0
- package/dist/resources/tools/format/resource-client.d.ts +6 -0
- package/dist/resources/tools/format/resource-client.js +6 -0
- package/dist/resources/tools/index.d.ts +6 -0
- package/dist/resources/tools/index.js +6 -0
- package/dist/resources/tools/internet-search/index.d.ts +6 -0
- package/dist/resources/tools/internet-search/index.js +6 -0
- package/dist/resources/tools/internet-search/resource-client.d.ts +6 -0
- package/dist/resources/tools/internet-search/resource-client.js +6 -0
- package/dist/resources/tools/memory-query/index.d.ts +6 -0
- package/dist/resources/tools/memory-query/index.js +6 -0
- package/dist/resources/tools/memory-query/resource-client.d.ts +6 -0
- package/dist/resources/tools/memory-query/resource-client.js +6 -0
- package/dist/resources/tools/meta-tagger/index.d.ts +6 -0
- package/dist/resources/tools/meta-tagger/index.js +6 -0
- package/dist/resources/tools/meta-tagger/resource-client.d.ts +6 -0
- package/dist/resources/tools/meta-tagger/resource-client.js +6 -0
- package/dist/resources/tools/resource-client.d.ts +6 -0
- package/dist/resources/tools/resource-client.js +6 -0
- package/dist/resources/tools/standard-llm/index.d.ts +6 -0
- package/dist/resources/tools/standard-llm/index.js +6 -0
- package/dist/resources/tools/standard-llm/resource-client.d.ts +6 -0
- package/dist/resources/tools/standard-llm/resource-client.js +6 -0
- package/dist/resources/tools/structured-output/index.d.ts +6 -0
- package/dist/resources/tools/structured-output/index.js +6 -0
- package/dist/resources/tools/structured-output/resource-client.d.ts +6 -0
- package/dist/resources/tools/structured-output/resource-client.js +6 -0
- package/dist/resources/workflows/dispatch/index.d.ts +6 -0
- package/dist/resources/workflows/dispatch/index.js +6 -0
- package/dist/resources/workflows/dispatch/resource-client.d.ts +6 -0
- package/dist/resources/workflows/dispatch/resource-client.js +6 -0
- package/dist/resources/workflows/index.d.ts +6 -0
- package/dist/resources/workflows/index.js +6 -0
- package/dist/resources/workflows/invoke/index.d.ts +6 -0
- package/dist/resources/workflows/invoke/index.js +6 -0
- package/dist/resources/workflows/invoke/resource-client.d.ts +6 -0
- package/dist/resources/workflows/invoke/resource-client.js +6 -0
- package/dist/resources/workflows/resource-client.d.ts +6 -0
- package/dist/resources/workflows/resource-client.js +6 -0
- package/dist/resources/workflows/runs/dispatch/index.d.ts +6 -0
- package/dist/resources/workflows/runs/dispatch/index.js +6 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.d.ts +6 -0
- package/dist/resources/workflows/runs/dispatch/resource-client.js +6 -0
- package/dist/resources/workflows/runs/index.d.ts +6 -0
- package/dist/resources/workflows/runs/index.js +6 -0
- package/dist/resources/workflows/runs/resource-client.d.ts +6 -0
- package/dist/resources/workflows/runs/resource-client.js +6 -0
- package/dist/resources/workflows/versions/index.d.ts +6 -0
- package/dist/resources/workflows/versions/index.js +6 -0
- package/dist/resources/workflows/versions/resource-client.d.ts +6 -0
- package/dist/resources/workflows/versions/resource-client.js +6 -0
- package/dist/resources/workflows/versions/tasks/index.d.ts +6 -0
- package/dist/resources/workflows/versions/tasks/index.js +6 -0
- package/dist/resources/workflows/versions/tasks/resource-client.d.ts +6 -0
- package/dist/resources/workflows/versions/tasks/resource-client.js +6 -0
- package/dist/resources/workspace/index.d.ts +6 -0
- package/dist/resources/workspace/index.js +6 -0
- package/dist/resources/workspace/resource-client.d.ts +6 -0
- package/dist/resources/workspace/resource-client.js +6 -0
- package/dist/resources/workspace/variables/index.d.ts +6 -0
- package/dist/resources/workspace/variables/index.js +6 -0
- package/dist/resources/workspace/variables/resource-client.d.ts +6 -0
- package/dist/resources/workspace/variables/resource-client.js +6 -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 +30 -0
- package/dist/types/index.js +6 -0
- package/dist/types/workflows-dispatch-create-body.d.ts +20 -2
- package/dist/types/workflows-dispatch-create-body.js +14 -2
- package/dist/types/workflows-dispatch-create-response.d.ts +3 -0
- package/dist/types/workflows-invoke-create-body.d.ts +18 -0
- package/dist/types/workflows-invoke-create-body.js +12 -0
- package/package.json +1 -1
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
|
|
5
5
|
import * as requests from "../../../../resources/workflows/runs/dispatch/request-types";
|
|
6
6
|
import * as types from "../../../../types";
|
|
7
|
+
/**
|
|
8
|
+
* Generated by Sideko (sideko.dev)
|
|
9
|
+
**/
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
7
13
|
/**
|
|
8
14
|
* Generated by Sideko (sideko.dev)
|
|
9
15
|
**/
|
|
@@ -6,6 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.DispatchClient = void 0;
|
|
7
7
|
const make_api_request_js_1 = require("make-api-request-js");
|
|
8
8
|
const workflows_runs_dispatch_create_response_1 = require("../../../../types/workflows-runs-dispatch-create-response");
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
9
15
|
/**
|
|
10
16
|
* Generated by Sideko (sideko.dev)
|
|
11
17
|
**/
|
|
@@ -5,6 +5,12 @@ import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceCli
|
|
|
5
5
|
import { DispatchClient } from "../../../resources/workflows/runs/dispatch";
|
|
6
6
|
import * as requests from "../../../resources/workflows/runs/request-types";
|
|
7
7
|
import * as types from "../../../types";
|
|
8
|
+
/**
|
|
9
|
+
* Generated by Sideko (sideko.dev)
|
|
10
|
+
**/
|
|
11
|
+
/**
|
|
12
|
+
* Generated by Sideko (sideko.dev)
|
|
13
|
+
**/
|
|
8
14
|
/**
|
|
9
15
|
* Generated by Sideko (sideko.dev)
|
|
10
16
|
**/
|
|
@@ -44,6 +44,12 @@ const workflows_runs_create_response_1 = require("../../../types/workflows-runs-
|
|
|
44
44
|
const workflows_runs_delete_response_1 = require("../../../types/workflows-runs-delete-response");
|
|
45
45
|
const workflows_runs_get_response_1 = require("../../../types/workflows-runs-get-response");
|
|
46
46
|
const workflows_runs_list_response_item_1 = require("../../../types/workflows-runs-list-response-item");
|
|
47
|
+
/**
|
|
48
|
+
* Generated by Sideko (sideko.dev)
|
|
49
|
+
**/
|
|
50
|
+
/**
|
|
51
|
+
* Generated by Sideko (sideko.dev)
|
|
52
|
+
**/
|
|
47
53
|
/**
|
|
48
54
|
* Generated by Sideko (sideko.dev)
|
|
49
55
|
**/
|
|
@@ -5,6 +5,12 @@ import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceCli
|
|
|
5
5
|
import * as requests from "../../../resources/workflows/versions/request-types";
|
|
6
6
|
import { TasksClient } from "../../../resources/workflows/versions/tasks";
|
|
7
7
|
import * as types from "../../../types";
|
|
8
|
+
/**
|
|
9
|
+
* Generated by Sideko (sideko.dev)
|
|
10
|
+
**/
|
|
11
|
+
/**
|
|
12
|
+
* Generated by Sideko (sideko.dev)
|
|
13
|
+
**/
|
|
8
14
|
/**
|
|
9
15
|
* Generated by Sideko (sideko.dev)
|
|
10
16
|
**/
|
|
@@ -46,6 +46,12 @@ const workflows_versions_get_response_1 = require("../../../types/workflows-vers
|
|
|
46
46
|
const workflows_versions_list_response_item_1 = require("../../../types/workflows-versions-list-response-item");
|
|
47
47
|
const workflows_versions_patch_body_1 = require("../../../types/workflows-versions-patch-body");
|
|
48
48
|
const workflows_versions_patch_response_1 = require("../../../types/workflows-versions-patch-response");
|
|
49
|
+
/**
|
|
50
|
+
* Generated by Sideko (sideko.dev)
|
|
51
|
+
**/
|
|
52
|
+
/**
|
|
53
|
+
* Generated by Sideko (sideko.dev)
|
|
54
|
+
**/
|
|
49
55
|
/**
|
|
50
56
|
* Generated by Sideko (sideko.dev)
|
|
51
57
|
**/
|
|
@@ -6,3 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.TasksClient = void 0;
|
|
7
7
|
var resource_client_1 = require("./resource-client");
|
|
8
8
|
Object.defineProperty(exports, "TasksClient", { enumerable: true, get: function () { return resource_client_1.TasksClient; } });
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
@@ -4,6 +4,12 @@
|
|
|
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
|
+
**/
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
7
13
|
export declare class TasksClient extends CoreResourceClient {
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
9
15
|
/**
|
|
@@ -11,6 +11,12 @@ 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
|
+
**/
|
|
17
|
+
/**
|
|
18
|
+
* Generated by Sideko (sideko.dev)
|
|
19
|
+
**/
|
|
14
20
|
class TasksClient extends make_api_request_js_1.CoreResourceClient {
|
|
15
21
|
constructor(coreClient, opts) {
|
|
16
22
|
super(coreClient, opts);
|
|
@@ -40,3 +40,9 @@ exports.variables = exports.WorkspaceClient = void 0;
|
|
|
40
40
|
var resource_client_1 = require("./resource-client");
|
|
41
41
|
Object.defineProperty(exports, "WorkspaceClient", { enumerable: true, get: function () { return resource_client_1.WorkspaceClient; } });
|
|
42
42
|
exports.variables = __importStar(require("./variables"));
|
|
43
|
+
/**
|
|
44
|
+
* Generated by Sideko (sideko.dev)
|
|
45
|
+
**/
|
|
46
|
+
/**
|
|
47
|
+
* Generated by Sideko (sideko.dev)
|
|
48
|
+
**/
|
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
**/
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
6
12
|
export declare class WorkspaceClient extends CoreResourceClient {
|
|
7
13
|
private _variablesLazy?;
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
@@ -5,6 +5,12 @@
|
|
|
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
|
+
**/
|
|
11
|
+
/**
|
|
12
|
+
* Generated by Sideko (sideko.dev)
|
|
13
|
+
**/
|
|
8
14
|
class WorkspaceClient extends make_api_request_js_1.CoreResourceClient {
|
|
9
15
|
constructor(coreClient, opts) {
|
|
10
16
|
super(coreClient, opts);
|
|
@@ -6,3 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.VariablesClient = void 0;
|
|
7
7
|
var resource_client_1 = require("./resource-client");
|
|
8
8
|
Object.defineProperty(exports, "VariablesClient", { enumerable: true, get: function () { return resource_client_1.VariablesClient; } });
|
|
9
|
+
/**
|
|
10
|
+
* Generated by Sideko (sideko.dev)
|
|
11
|
+
**/
|
|
12
|
+
/**
|
|
13
|
+
* Generated by Sideko (sideko.dev)
|
|
14
|
+
**/
|
|
@@ -4,6 +4,12 @@
|
|
|
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
|
+
**/
|
|
10
|
+
/**
|
|
11
|
+
* Generated by Sideko (sideko.dev)
|
|
12
|
+
**/
|
|
7
13
|
export declare class VariablesClient extends CoreResourceClient {
|
|
8
14
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
9
15
|
/**
|
|
@@ -46,6 +46,12 @@ 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
|
+
**/
|
|
52
|
+
/**
|
|
53
|
+
* Generated by Sideko (sideko.dev)
|
|
54
|
+
**/
|
|
49
55
|
class VariablesClient extends make_api_request_js_1.CoreResourceClient {
|
|
50
56
|
constructor(coreClient, opts) {
|
|
51
57
|
super(coreClient, opts);
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* AgentAbortCreateResponse
|
|
7
|
+
*/
|
|
8
|
+
export type AgentAbortCreateResponse = {
|
|
9
|
+
chatId: string;
|
|
10
|
+
success: boolean;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* AgentAbortCreateResponse without any key transformation, this is what
|
|
15
|
+
* we expect to come in as network data
|
|
16
|
+
*/
|
|
17
|
+
export type External$AgentAbortCreateResponse = {
|
|
18
|
+
chat_id: string;
|
|
19
|
+
success: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare const Schemas$AgentAbortCreateResponse: {
|
|
22
|
+
in: z.ZodType<AgentAbortCreateResponse, z.ZodTypeDef, unknown>;
|
|
23
|
+
out: z.ZodType<External$AgentAbortCreateResponse, z.ZodTypeDef, AgentAbortCreateResponse>;
|
|
24
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
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$AgentAbortCreateResponse = 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 AgentAbortCreateResponse
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$AgentAbortCreateResponse = z
|
|
46
|
+
.object({
|
|
47
|
+
chat_id: z.string(),
|
|
48
|
+
success: z.boolean(),
|
|
49
|
+
})
|
|
50
|
+
.transform((obj) => {
|
|
51
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
52
|
+
chat_id: "chatId",
|
|
53
|
+
success: "success",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$AgentAbortCreateResponse
|
|
59
|
+
*/
|
|
60
|
+
const SchemaOut$AgentAbortCreateResponse = z
|
|
61
|
+
.object({
|
|
62
|
+
chatId: z.string(),
|
|
63
|
+
success: z.boolean(),
|
|
64
|
+
})
|
|
65
|
+
.transform((obj) => {
|
|
66
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
67
|
+
chatId: "chat_id",
|
|
68
|
+
success: "success",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
exports.Schemas$AgentAbortCreateResponse = {
|
|
72
|
+
in: SchemaIn$AgentAbortCreateResponse,
|
|
73
|
+
out: SchemaOut$AgentAbortCreateResponse,
|
|
74
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Sideko (sideko.dev)
|
|
3
|
+
**/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
/**
|
|
6
|
+
* DatastoreCreateBody
|
|
7
|
+
*/
|
|
8
|
+
export type DatastoreCreateBody = {
|
|
9
|
+
/**
|
|
10
|
+
* Optional config object
|
|
11
|
+
*/
|
|
12
|
+
config?: Record<string, any | undefined> | null | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Description of the datastore
|
|
15
|
+
*/
|
|
16
|
+
description: string;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the datastore
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* JSON Schema (required for DATABASE_* types)
|
|
23
|
+
*/
|
|
24
|
+
schema?: Record<string, any | undefined> | null | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The datastore type
|
|
27
|
+
*/
|
|
28
|
+
type: "DATABASE_COLUMNAR" | "DATABASE_TRADITIONAL" | "FILE_STORE" | "VECTOR_STORE";
|
|
29
|
+
[additionalProperty: string]: (Record<string, any | undefined> | null | undefined) | string | string | (Record<string, any | undefined> | null | undefined) | ("DATABASE_COLUMNAR" | "DATABASE_TRADITIONAL" | "FILE_STORE" | "VECTOR_STORE") | any | null | undefined;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* DatastoreCreateBody without any key transformation, this is what
|
|
34
|
+
* we expect to come in as network data
|
|
35
|
+
*/
|
|
36
|
+
export type External$DatastoreCreateBody = {
|
|
37
|
+
config?: Record<string, any | undefined> | null | undefined;
|
|
38
|
+
description: string;
|
|
39
|
+
name: string;
|
|
40
|
+
schema?: Record<string, any | undefined> | null | undefined;
|
|
41
|
+
type: "DATABASE_COLUMNAR" | "DATABASE_TRADITIONAL" | "FILE_STORE" | "VECTOR_STORE";
|
|
42
|
+
[additionalProperty: string]: (Record<string, any | undefined> | null | undefined) | string | string | (Record<string, any | undefined> | null | undefined) | ("DATABASE_COLUMNAR" | "DATABASE_TRADITIONAL" | "FILE_STORE" | "VECTOR_STORE") | External$DatastoreCreateBody | null | undefined;
|
|
43
|
+
};
|
|
44
|
+
export declare const Schemas$DatastoreCreateBody: {
|
|
45
|
+
in: z.ZodType<DatastoreCreateBody, z.ZodTypeDef, unknown>;
|
|
46
|
+
out: z.ZodType<External$DatastoreCreateBody, z.ZodTypeDef, DatastoreCreateBody>;
|
|
47
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
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$DatastoreCreateBody = 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 DatastoreCreateBody
|
|
44
|
+
*/
|
|
45
|
+
const SchemaIn$DatastoreCreateBody = z
|
|
46
|
+
.object({
|
|
47
|
+
config: z
|
|
48
|
+
.record(z.string(), make_api_request_js_1.zodRequiredAny.optional())
|
|
49
|
+
.nullable()
|
|
50
|
+
.optional(),
|
|
51
|
+
description: z.string(),
|
|
52
|
+
name: z.string(),
|
|
53
|
+
schema: z
|
|
54
|
+
.record(z.string(), make_api_request_js_1.zodRequiredAny.optional())
|
|
55
|
+
.nullable()
|
|
56
|
+
.optional(),
|
|
57
|
+
type: z.enum([
|
|
58
|
+
"DATABASE_COLUMNAR",
|
|
59
|
+
"DATABASE_TRADITIONAL",
|
|
60
|
+
"FILE_STORE",
|
|
61
|
+
"VECTOR_STORE",
|
|
62
|
+
]),
|
|
63
|
+
})
|
|
64
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
65
|
+
.transform((obj) => {
|
|
66
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
67
|
+
config: "config",
|
|
68
|
+
description: "description",
|
|
69
|
+
name: "name",
|
|
70
|
+
schema: "schema",
|
|
71
|
+
type: "type",
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$DatastoreCreateBody
|
|
77
|
+
*/
|
|
78
|
+
const SchemaOut$DatastoreCreateBody = z
|
|
79
|
+
.object({
|
|
80
|
+
config: z
|
|
81
|
+
.record(z.string(), make_api_request_js_1.zodRequiredAny.optional())
|
|
82
|
+
.nullable()
|
|
83
|
+
.optional(),
|
|
84
|
+
description: z.string(),
|
|
85
|
+
name: z.string(),
|
|
86
|
+
schema: z
|
|
87
|
+
.record(z.string(), make_api_request_js_1.zodRequiredAny.optional())
|
|
88
|
+
.nullable()
|
|
89
|
+
.optional(),
|
|
90
|
+
type: z.enum([
|
|
91
|
+
"DATABASE_COLUMNAR",
|
|
92
|
+
"DATABASE_TRADITIONAL",
|
|
93
|
+
"FILE_STORE",
|
|
94
|
+
"VECTOR_STORE",
|
|
95
|
+
]),
|
|
96
|
+
})
|
|
97
|
+
.catchall(make_api_request_js_1.zodRequiredAny)
|
|
98
|
+
.transform((obj) => {
|
|
99
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
100
|
+
config: "config",
|
|
101
|
+
description: "description",
|
|
102
|
+
name: "name",
|
|
103
|
+
schema: "schema",
|
|
104
|
+
type: "type",
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
exports.Schemas$DatastoreCreateBody = {
|
|
108
|
+
in: SchemaIn$DatastoreCreateBody,
|
|
109
|
+
out: SchemaOut$DatastoreCreateBody,
|
|
110
|
+
};
|