@human2human/sdk 0.4.0 → 0.5.0
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/dist/client.d.ts +3 -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/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 +3 -0
- package/dist/resources/agent/index.js +3 -0
- package/dist/resources/agent/resource-client.d.ts +3 -0
- package/dist/resources/agent/resource-client.js +3 -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/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/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/index.d.ts +3 -0
- package/dist/types/index.js +3 -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 +2 -2
|
@@ -16,6 +16,9 @@ const workflows_dispatch_create_response_1 = require("../../../types/workflows-d
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
class DispatchClient extends make_api_request_js_1.CoreResourceClient {
|
|
20
23
|
constructor(coreClient, opts) {
|
|
21
24
|
super(coreClient, opts);
|
|
@@ -13,6 +13,9 @@ import * as types from "../../../types";
|
|
|
13
13
|
/**
|
|
14
14
|
* Generated by Sideko (sideko.dev)
|
|
15
15
|
**/
|
|
16
|
+
/**
|
|
17
|
+
* Generated by Sideko (sideko.dev)
|
|
18
|
+
**/
|
|
16
19
|
export declare class InvokeClient extends CoreResourceClient {
|
|
17
20
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
18
21
|
/**
|
|
@@ -16,6 +16,9 @@ const workflows_invoke_create_response_1 = require("../../../types/workflows-inv
|
|
|
16
16
|
/**
|
|
17
17
|
* Generated by Sideko (sideko.dev)
|
|
18
18
|
**/
|
|
19
|
+
/**
|
|
20
|
+
* Generated by Sideko (sideko.dev)
|
|
21
|
+
**/
|
|
19
22
|
class InvokeClient extends make_api_request_js_1.CoreResourceClient {
|
|
20
23
|
constructor(coreClient, opts) {
|
|
21
24
|
super(coreClient, opts);
|
|
@@ -17,6 +17,9 @@ import * as types from "../../types";
|
|
|
17
17
|
/**
|
|
18
18
|
* Generated by Sideko (sideko.dev)
|
|
19
19
|
**/
|
|
20
|
+
/**
|
|
21
|
+
* Generated by Sideko (sideko.dev)
|
|
22
|
+
**/
|
|
20
23
|
export declare class WorkflowsClient extends CoreResourceClient {
|
|
21
24
|
private _versionsLazy?;
|
|
22
25
|
private _runsLazy?;
|
|
@@ -55,6 +55,9 @@ const workflows_patch_response_1 = require("../../types/workflows-patch-response
|
|
|
55
55
|
/**
|
|
56
56
|
* Generated by Sideko (sideko.dev)
|
|
57
57
|
**/
|
|
58
|
+
/**
|
|
59
|
+
* Generated by Sideko (sideko.dev)
|
|
60
|
+
**/
|
|
58
61
|
class WorkflowsClient extends make_api_request_js_1.CoreResourceClient {
|
|
59
62
|
constructor(coreClient, opts) {
|
|
60
63
|
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/runs/dispatch/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
|
**/
|
|
@@ -6,6 +6,9 @@ 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
|
+
**/
|
|
9
12
|
/**
|
|
10
13
|
* Generated by Sideko (sideko.dev)
|
|
11
14
|
**/
|
|
@@ -5,6 +5,9 @@ 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
|
+
**/
|
|
8
11
|
/**
|
|
9
12
|
* Generated by Sideko (sideko.dev)
|
|
10
13
|
**/
|
|
@@ -44,6 +44,9 @@ 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
|
+
**/
|
|
47
50
|
/**
|
|
48
51
|
* Generated by Sideko (sideko.dev)
|
|
49
52
|
**/
|
|
@@ -5,6 +5,9 @@ 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
|
+
**/
|
|
8
11
|
/**
|
|
9
12
|
* Generated by Sideko (sideko.dev)
|
|
10
13
|
**/
|
|
@@ -46,6 +46,9 @@ 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
|
+
**/
|
|
49
52
|
/**
|
|
50
53
|
* Generated by Sideko (sideko.dev)
|
|
51
54
|
**/
|
|
@@ -6,3 +6,6 @@ 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
|
+
**/
|
|
@@ -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
|
export declare class TasksClient extends CoreResourceClient {
|
|
8
11
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
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
|
class TasksClient extends make_api_request_js_1.CoreResourceClient {
|
|
15
18
|
constructor(coreClient, opts) {
|
|
16
19
|
super(coreClient, opts);
|
|
@@ -40,3 +40,6 @@ 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
|
+
**/
|
|
@@ -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
|
export declare class WorkspaceClient extends CoreResourceClient {
|
|
7
10
|
private _variablesLazy?;
|
|
8
11
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
@@ -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
|
class WorkspaceClient extends make_api_request_js_1.CoreResourceClient {
|
|
9
12
|
constructor(coreClient, opts) {
|
|
10
13
|
super(coreClient, opts);
|
|
@@ -6,3 +6,6 @@ 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
|
+
**/
|
|
@@ -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
|
export declare class VariablesClient extends CoreResourceClient {
|
|
8
11
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
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
|
class VariablesClient extends make_api_request_js_1.CoreResourceClient {
|
|
50
53
|
constructor(coreClient, opts) {
|
|
51
54
|
super(coreClient, opts);
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -6,7 +6,22 @@ import * as z from "zod";
|
|
|
6
6
|
* WorkflowsDispatchCreateBody
|
|
7
7
|
*/
|
|
8
8
|
export type WorkflowsDispatchCreateBody = {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* The input for the workflow run
|
|
11
|
+
*/
|
|
12
|
+
input: Record<string, any | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* The inputs for the workflow run (deprecated, use input instead)
|
|
15
|
+
*/
|
|
16
|
+
inputs?: Record<string, any | undefined> | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Optional: The ID of the workflow run to invoke. Used for re-invoking a workflow run.
|
|
19
|
+
*/
|
|
20
|
+
runId?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Optional: The ID of the task to invoke. Used for re-invoking a workflow run from a specific task.
|
|
23
|
+
*/
|
|
24
|
+
taskId?: string | undefined;
|
|
10
25
|
};
|
|
11
26
|
/**
|
|
12
27
|
* @internal
|
|
@@ -14,7 +29,10 @@ export type WorkflowsDispatchCreateBody = {
|
|
|
14
29
|
* we expect to come in as network data
|
|
15
30
|
*/
|
|
16
31
|
export type External$WorkflowsDispatchCreateBody = {
|
|
17
|
-
|
|
32
|
+
input: Record<string, any | undefined>;
|
|
33
|
+
inputs?: Record<string, any | undefined> | undefined;
|
|
34
|
+
run_id?: string | undefined;
|
|
35
|
+
task_id?: string | undefined;
|
|
18
36
|
};
|
|
19
37
|
export declare const Schemas$WorkflowsDispatchCreateBody: {
|
|
20
38
|
in: z.ZodType<WorkflowsDispatchCreateBody, z.ZodTypeDef, unknown>;
|
|
@@ -44,11 +44,17 @@ const z = __importStar(require("zod"));
|
|
|
44
44
|
*/
|
|
45
45
|
const SchemaIn$WorkflowsDispatchCreateBody = z
|
|
46
46
|
.object({
|
|
47
|
-
|
|
47
|
+
input: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
48
|
+
inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
49
|
+
run_id: z.string().optional(),
|
|
50
|
+
task_id: z.string().optional(),
|
|
48
51
|
})
|
|
49
52
|
.transform((obj) => {
|
|
50
53
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
54
|
+
input: "input",
|
|
51
55
|
inputs: "inputs",
|
|
56
|
+
run_id: "runId",
|
|
57
|
+
task_id: "taskId",
|
|
52
58
|
});
|
|
53
59
|
});
|
|
54
60
|
/**
|
|
@@ -57,11 +63,17 @@ const SchemaIn$WorkflowsDispatchCreateBody = z
|
|
|
57
63
|
*/
|
|
58
64
|
const SchemaOut$WorkflowsDispatchCreateBody = z
|
|
59
65
|
.object({
|
|
60
|
-
|
|
66
|
+
input: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
67
|
+
inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
68
|
+
runId: z.string().optional(),
|
|
69
|
+
taskId: z.string().optional(),
|
|
61
70
|
})
|
|
62
71
|
.transform((obj) => {
|
|
63
72
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
73
|
+
input: "input",
|
|
64
74
|
inputs: "inputs",
|
|
75
|
+
runId: "run_id",
|
|
76
|
+
taskId: "task_id",
|
|
65
77
|
});
|
|
66
78
|
});
|
|
67
79
|
exports.Schemas$WorkflowsDispatchCreateBody = {
|
|
@@ -6,7 +6,22 @@ import * as z from "zod";
|
|
|
6
6
|
* WorkflowsInvokeCreateBody
|
|
7
7
|
*/
|
|
8
8
|
export type WorkflowsInvokeCreateBody = {
|
|
9
|
+
/**
|
|
10
|
+
* The input for the workflow run
|
|
11
|
+
*/
|
|
9
12
|
input: Record<string, any | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* The inputs for the workflow run (deprecated, use input instead)
|
|
15
|
+
*/
|
|
16
|
+
inputs?: Record<string, any | undefined> | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Optional: The ID of the workflow run to invoke. Used for re-invoking a workflow run.
|
|
19
|
+
*/
|
|
20
|
+
runId?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Optional: The ID of the task to invoke. Used for re-invoking a workflow run from a specific task.
|
|
23
|
+
*/
|
|
24
|
+
taskId?: string | undefined;
|
|
10
25
|
};
|
|
11
26
|
/**
|
|
12
27
|
* @internal
|
|
@@ -15,6 +30,9 @@ export type WorkflowsInvokeCreateBody = {
|
|
|
15
30
|
*/
|
|
16
31
|
export type External$WorkflowsInvokeCreateBody = {
|
|
17
32
|
input: Record<string, any | undefined>;
|
|
33
|
+
inputs?: Record<string, any | undefined> | undefined;
|
|
34
|
+
run_id?: string | undefined;
|
|
35
|
+
task_id?: string | undefined;
|
|
18
36
|
};
|
|
19
37
|
export declare const Schemas$WorkflowsInvokeCreateBody: {
|
|
20
38
|
in: z.ZodType<WorkflowsInvokeCreateBody, z.ZodTypeDef, unknown>;
|
|
@@ -45,10 +45,16 @@ const z = __importStar(require("zod"));
|
|
|
45
45
|
const SchemaIn$WorkflowsInvokeCreateBody = z
|
|
46
46
|
.object({
|
|
47
47
|
input: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
48
|
+
inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
49
|
+
run_id: z.string().optional(),
|
|
50
|
+
task_id: z.string().optional(),
|
|
48
51
|
})
|
|
49
52
|
.transform((obj) => {
|
|
50
53
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
51
54
|
input: "input",
|
|
55
|
+
inputs: "inputs",
|
|
56
|
+
run_id: "runId",
|
|
57
|
+
task_id: "taskId",
|
|
52
58
|
});
|
|
53
59
|
});
|
|
54
60
|
/**
|
|
@@ -58,10 +64,16 @@ const SchemaIn$WorkflowsInvokeCreateBody = z
|
|
|
58
64
|
const SchemaOut$WorkflowsInvokeCreateBody = z
|
|
59
65
|
.object({
|
|
60
66
|
input: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
|
|
67
|
+
inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()).optional(),
|
|
68
|
+
runId: z.string().optional(),
|
|
69
|
+
taskId: z.string().optional(),
|
|
61
70
|
})
|
|
62
71
|
.transform((obj) => {
|
|
63
72
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
64
73
|
input: "input",
|
|
74
|
+
inputs: "inputs",
|
|
75
|
+
runId: "run_id",
|
|
76
|
+
taskId: "task_id",
|
|
65
77
|
});
|
|
66
78
|
});
|
|
67
79
|
exports.Schemas$WorkflowsInvokeCreateBody = {
|
package/package.json
CHANGED