@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.
Files changed (173) hide show
  1. package/dist/client.d.ts +3 -0
  2. package/dist/environment.d.ts +1 -1
  3. package/dist/environment.js +1 -1
  4. package/dist/index.d.ts +3 -0
  5. package/dist/index.js +3 -0
  6. package/dist/resources/agent/build/index.d.ts +3 -0
  7. package/dist/resources/agent/build/index.js +3 -0
  8. package/dist/resources/agent/build/resource-client.d.ts +3 -0
  9. package/dist/resources/agent/build/resource-client.js +3 -0
  10. package/dist/resources/agent/build/workflow/index.d.ts +3 -0
  11. package/dist/resources/agent/build/workflow/index.js +3 -0
  12. package/dist/resources/agent/build/workflow/resource-client.d.ts +3 -0
  13. package/dist/resources/agent/build/workflow/resource-client.js +3 -0
  14. package/dist/resources/agent/history/index.d.ts +3 -0
  15. package/dist/resources/agent/history/index.js +3 -0
  16. package/dist/resources/agent/history/resource-client.d.ts +3 -0
  17. package/dist/resources/agent/history/resource-client.js +3 -0
  18. package/dist/resources/agent/index.d.ts +3 -0
  19. package/dist/resources/agent/index.js +3 -0
  20. package/dist/resources/agent/resource-client.d.ts +3 -0
  21. package/dist/resources/agent/resource-client.js +3 -0
  22. package/dist/resources/auth/index.d.ts +3 -0
  23. package/dist/resources/auth/index.js +3 -0
  24. package/dist/resources/auth/login/index.d.ts +3 -0
  25. package/dist/resources/auth/login/index.js +3 -0
  26. package/dist/resources/auth/login/resource-client.d.ts +3 -0
  27. package/dist/resources/auth/login/resource-client.js +3 -0
  28. package/dist/resources/auth/refresh/index.d.ts +3 -0
  29. package/dist/resources/auth/refresh/index.js +3 -0
  30. package/dist/resources/auth/refresh/resource-client.d.ts +3 -0
  31. package/dist/resources/auth/refresh/resource-client.js +3 -0
  32. package/dist/resources/auth/resource-client.d.ts +3 -0
  33. package/dist/resources/auth/resource-client.js +3 -0
  34. package/dist/resources/chats/index.d.ts +3 -0
  35. package/dist/resources/chats/index.js +3 -0
  36. package/dist/resources/chats/resource-client.d.ts +3 -0
  37. package/dist/resources/chats/resource-client.js +3 -0
  38. package/dist/resources/feeds/index.d.ts +3 -0
  39. package/dist/resources/feeds/index.js +3 -0
  40. package/dist/resources/feeds/items/index.d.ts +3 -0
  41. package/dist/resources/feeds/items/index.js +3 -0
  42. package/dist/resources/feeds/items/resource-client.d.ts +3 -0
  43. package/dist/resources/feeds/items/resource-client.js +3 -0
  44. package/dist/resources/feeds/resource-client.d.ts +3 -0
  45. package/dist/resources/feeds/resource-client.js +3 -0
  46. package/dist/resources/integrations/api/index.d.ts +3 -0
  47. package/dist/resources/integrations/api/index.js +3 -0
  48. package/dist/resources/integrations/api/operations/index.d.ts +3 -0
  49. package/dist/resources/integrations/api/operations/index.js +3 -0
  50. package/dist/resources/integrations/api/operations/resource-client.d.ts +3 -0
  51. package/dist/resources/integrations/api/operations/resource-client.js +3 -0
  52. package/dist/resources/integrations/api/resource-client.d.ts +3 -0
  53. package/dist/resources/integrations/api/resource-client.js +3 -0
  54. package/dist/resources/integrations/api/secrets/index.d.ts +3 -0
  55. package/dist/resources/integrations/api/secrets/index.js +3 -0
  56. package/dist/resources/integrations/api/secrets/resource-client.d.ts +3 -0
  57. package/dist/resources/integrations/api/secrets/resource-client.js +3 -0
  58. package/dist/resources/integrations/index.d.ts +3 -0
  59. package/dist/resources/integrations/index.js +3 -0
  60. package/dist/resources/integrations/resource-client.d.ts +3 -0
  61. package/dist/resources/integrations/resource-client.js +3 -0
  62. package/dist/resources/memory/index.d.ts +3 -0
  63. package/dist/resources/memory/index.js +3 -0
  64. package/dist/resources/memory/resource-client.d.ts +3 -0
  65. package/dist/resources/memory/resource-client.js +3 -0
  66. package/dist/resources/memory/tables/index.d.ts +3 -0
  67. package/dist/resources/memory/tables/index.js +3 -0
  68. package/dist/resources/memory/tables/mutate/index.d.ts +3 -0
  69. package/dist/resources/memory/tables/mutate/index.js +3 -0
  70. package/dist/resources/memory/tables/mutate/resource-client.d.ts +3 -0
  71. package/dist/resources/memory/tables/mutate/resource-client.js +3 -0
  72. package/dist/resources/memory/tables/query/index.d.ts +3 -0
  73. package/dist/resources/memory/tables/query/index.js +3 -0
  74. package/dist/resources/memory/tables/query/resource-client.d.ts +3 -0
  75. package/dist/resources/memory/tables/query/resource-client.js +3 -0
  76. package/dist/resources/memory/tables/resource-client.d.ts +3 -0
  77. package/dist/resources/memory/tables/resource-client.js +3 -0
  78. package/dist/resources/search-groups/index.d.ts +3 -0
  79. package/dist/resources/search-groups/index.js +3 -0
  80. package/dist/resources/search-groups/items/index.d.ts +3 -0
  81. package/dist/resources/search-groups/items/index.js +3 -0
  82. package/dist/resources/search-groups/items/resource-client.d.ts +3 -0
  83. package/dist/resources/search-groups/items/resource-client.js +3 -0
  84. package/dist/resources/search-groups/resource-client.d.ts +3 -0
  85. package/dist/resources/search-groups/resource-client.js +3 -0
  86. package/dist/resources/subscriptions/events/index.d.ts +3 -0
  87. package/dist/resources/subscriptions/events/index.js +3 -0
  88. package/dist/resources/subscriptions/events/resource-client.d.ts +3 -0
  89. package/dist/resources/subscriptions/events/resource-client.js +3 -0
  90. package/dist/resources/subscriptions/index.d.ts +3 -0
  91. package/dist/resources/subscriptions/index.js +3 -0
  92. package/dist/resources/subscriptions/resource-client.d.ts +3 -0
  93. package/dist/resources/subscriptions/resource-client.js +3 -0
  94. package/dist/resources/tools/code-execution/index.d.ts +3 -0
  95. package/dist/resources/tools/code-execution/index.js +3 -0
  96. package/dist/resources/tools/code-execution/resource-client.d.ts +3 -0
  97. package/dist/resources/tools/code-execution/resource-client.js +3 -0
  98. package/dist/resources/tools/dictionary-search/index.d.ts +3 -0
  99. package/dist/resources/tools/dictionary-search/index.js +3 -0
  100. package/dist/resources/tools/dictionary-search/resource-client.d.ts +3 -0
  101. package/dist/resources/tools/dictionary-search/resource-client.js +3 -0
  102. package/dist/resources/tools/format/index.d.ts +3 -0
  103. package/dist/resources/tools/format/index.js +3 -0
  104. package/dist/resources/tools/format/resource-client.d.ts +3 -0
  105. package/dist/resources/tools/format/resource-client.js +3 -0
  106. package/dist/resources/tools/index.d.ts +3 -0
  107. package/dist/resources/tools/index.js +3 -0
  108. package/dist/resources/tools/internet-search/index.d.ts +3 -0
  109. package/dist/resources/tools/internet-search/index.js +3 -0
  110. package/dist/resources/tools/internet-search/resource-client.d.ts +3 -0
  111. package/dist/resources/tools/internet-search/resource-client.js +3 -0
  112. package/dist/resources/tools/memory-query/index.d.ts +3 -0
  113. package/dist/resources/tools/memory-query/index.js +3 -0
  114. package/dist/resources/tools/memory-query/resource-client.d.ts +3 -0
  115. package/dist/resources/tools/memory-query/resource-client.js +3 -0
  116. package/dist/resources/tools/meta-tagger/index.d.ts +3 -0
  117. package/dist/resources/tools/meta-tagger/index.js +3 -0
  118. package/dist/resources/tools/meta-tagger/resource-client.d.ts +3 -0
  119. package/dist/resources/tools/meta-tagger/resource-client.js +3 -0
  120. package/dist/resources/tools/resource-client.d.ts +3 -0
  121. package/dist/resources/tools/resource-client.js +3 -0
  122. package/dist/resources/tools/standard-llm/index.d.ts +3 -0
  123. package/dist/resources/tools/standard-llm/index.js +3 -0
  124. package/dist/resources/tools/standard-llm/resource-client.d.ts +3 -0
  125. package/dist/resources/tools/standard-llm/resource-client.js +3 -0
  126. package/dist/resources/tools/structured-output/index.d.ts +3 -0
  127. package/dist/resources/tools/structured-output/index.js +3 -0
  128. package/dist/resources/tools/structured-output/resource-client.d.ts +3 -0
  129. package/dist/resources/tools/structured-output/resource-client.js +3 -0
  130. package/dist/resources/workflows/dispatch/index.d.ts +3 -0
  131. package/dist/resources/workflows/dispatch/index.js +3 -0
  132. package/dist/resources/workflows/dispatch/resource-client.d.ts +3 -0
  133. package/dist/resources/workflows/dispatch/resource-client.js +3 -0
  134. package/dist/resources/workflows/index.d.ts +3 -0
  135. package/dist/resources/workflows/index.js +3 -0
  136. package/dist/resources/workflows/invoke/index.d.ts +3 -0
  137. package/dist/resources/workflows/invoke/index.js +3 -0
  138. package/dist/resources/workflows/invoke/resource-client.d.ts +3 -0
  139. package/dist/resources/workflows/invoke/resource-client.js +3 -0
  140. package/dist/resources/workflows/resource-client.d.ts +3 -0
  141. package/dist/resources/workflows/resource-client.js +3 -0
  142. package/dist/resources/workflows/runs/dispatch/index.d.ts +3 -0
  143. package/dist/resources/workflows/runs/dispatch/index.js +3 -0
  144. package/dist/resources/workflows/runs/dispatch/resource-client.d.ts +3 -0
  145. package/dist/resources/workflows/runs/dispatch/resource-client.js +3 -0
  146. package/dist/resources/workflows/runs/index.d.ts +3 -0
  147. package/dist/resources/workflows/runs/index.js +3 -0
  148. package/dist/resources/workflows/runs/resource-client.d.ts +3 -0
  149. package/dist/resources/workflows/runs/resource-client.js +3 -0
  150. package/dist/resources/workflows/versions/index.d.ts +3 -0
  151. package/dist/resources/workflows/versions/index.js +3 -0
  152. package/dist/resources/workflows/versions/resource-client.d.ts +3 -0
  153. package/dist/resources/workflows/versions/resource-client.js +3 -0
  154. package/dist/resources/workflows/versions/tasks/index.d.ts +3 -0
  155. package/dist/resources/workflows/versions/tasks/index.js +3 -0
  156. package/dist/resources/workflows/versions/tasks/resource-client.d.ts +3 -0
  157. package/dist/resources/workflows/versions/tasks/resource-client.js +3 -0
  158. package/dist/resources/workspace/index.d.ts +3 -0
  159. package/dist/resources/workspace/index.js +3 -0
  160. package/dist/resources/workspace/resource-client.d.ts +3 -0
  161. package/dist/resources/workspace/resource-client.js +3 -0
  162. package/dist/resources/workspace/variables/index.d.ts +3 -0
  163. package/dist/resources/workspace/variables/index.js +3 -0
  164. package/dist/resources/workspace/variables/resource-client.d.ts +3 -0
  165. package/dist/resources/workspace/variables/resource-client.js +3 -0
  166. package/dist/types/index.d.ts +3 -0
  167. package/dist/types/index.js +3 -0
  168. package/dist/types/workflows-dispatch-create-body.d.ts +20 -2
  169. package/dist/types/workflows-dispatch-create-body.js +14 -2
  170. package/dist/types/workflows-dispatch-create-response.d.ts +3 -0
  171. package/dist/types/workflows-invoke-create-body.d.ts +18 -0
  172. package/dist/types/workflows-invoke-create-body.js +12 -0
  173. 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);
@@ -16,3 +16,6 @@ export * as versions from "./versions";
16
16
  /**
17
17
  * Generated by Sideko (sideko.dev)
18
18
  **/
19
+ /**
20
+ * Generated by Sideko (sideko.dev)
21
+ **/
@@ -52,3 +52,6 @@ exports.versions = __importStar(require("./versions"));
52
52
  /**
53
53
  * Generated by Sideko (sideko.dev)
54
54
  **/
55
+ /**
56
+ * Generated by Sideko (sideko.dev)
57
+ **/
@@ -12,3 +12,6 @@ export { InvokeClient } from "./resource-client";
12
12
  /**
13
13
  * Generated by Sideko (sideko.dev)
14
14
  **/
15
+ /**
16
+ * Generated by Sideko (sideko.dev)
17
+ **/
@@ -15,3 +15,6 @@ Object.defineProperty(exports, "InvokeClient", { enumerable: true, get: function
15
15
  /**
16
16
  * Generated by Sideko (sideko.dev)
17
17
  **/
18
+ /**
19
+ * Generated by Sideko (sideko.dev)
20
+ **/
@@ -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);
@@ -6,3 +6,6 @@ export { DispatchClient } from "./resource-client";
6
6
  /**
7
7
  * Generated by Sideko (sideko.dev)
8
8
  **/
9
+ /**
10
+ * Generated by Sideko (sideko.dev)
11
+ **/
@@ -9,3 +9,6 @@ Object.defineProperty(exports, "DispatchClient", { enumerable: true, get: functi
9
9
  /**
10
10
  * Generated by Sideko (sideko.dev)
11
11
  **/
12
+ /**
13
+ * Generated by Sideko (sideko.dev)
14
+ **/
@@ -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
  **/
@@ -7,3 +7,6 @@ export { RunsClient } from "./resource-client";
7
7
  /**
8
8
  * Generated by Sideko (sideko.dev)
9
9
  **/
10
+ /**
11
+ * Generated by Sideko (sideko.dev)
12
+ **/
@@ -43,3 +43,6 @@ Object.defineProperty(exports, "RunsClient", { enumerable: true, get: function (
43
43
  /**
44
44
  * Generated by Sideko (sideko.dev)
45
45
  **/
46
+ /**
47
+ * Generated by Sideko (sideko.dev)
48
+ **/
@@ -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
  **/
@@ -7,3 +7,6 @@ export * as tasks from "./tasks";
7
7
  /**
8
8
  * Generated by Sideko (sideko.dev)
9
9
  **/
10
+ /**
11
+ * Generated by Sideko (sideko.dev)
12
+ **/
@@ -43,3 +43,6 @@ exports.tasks = __importStar(require("./tasks"));
43
43
  /**
44
44
  * Generated by Sideko (sideko.dev)
45
45
  **/
46
+ /**
47
+ * Generated by Sideko (sideko.dev)
48
+ **/
@@ -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
  **/
@@ -3,3 +3,6 @@
3
3
  **/
4
4
  export { CreateRequest, DeleteRequest, GetRequest, PatchRequest, } from "./request-types";
5
5
  export { TasksClient } from "./resource-client";
6
+ /**
7
+ * Generated by Sideko (sideko.dev)
8
+ **/
@@ -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);
@@ -3,3 +3,6 @@
3
3
  **/
4
4
  export { WorkspaceClient } from "./resource-client";
5
5
  export * as variables from "./variables";
6
+ /**
7
+ * Generated by Sideko (sideko.dev)
8
+ **/
@@ -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);
@@ -3,3 +3,6 @@
3
3
  **/
4
4
  export { CreateRequest, DeleteRequest, ListRequest, PatchRequest, } from "./request-types";
5
5
  export { VariablesClient } from "./resource-client";
6
+ /**
7
+ * Generated by Sideko (sideko.dev)
8
+ **/
@@ -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);
@@ -230,3 +230,6 @@ export { WorkspaceVariablesPatchResponse } from "./workspace-variables-patch-res
230
230
  /**
231
231
  * Generated by Sideko (sideko.dev)
232
232
  **/
233
+ /**
234
+ * Generated by Sideko (sideko.dev)
235
+ **/
@@ -12,3 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  /**
13
13
  * Generated by Sideko (sideko.dev)
14
14
  **/
15
+ /**
16
+ * Generated by Sideko (sideko.dev)
17
+ **/
@@ -6,7 +6,22 @@ import * as z from "zod";
6
6
  * WorkflowsDispatchCreateBody
7
7
  */
8
8
  export type WorkflowsDispatchCreateBody = {
9
- inputs: Record<string, any | undefined>;
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
- inputs: Record<string, any | undefined>;
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
- inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
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
- inputs: z.record(z.string(), make_api_request_js_1.zodRequiredAny.optional()),
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,6 +6,9 @@ import * as z from "zod";
6
6
  * WorkflowsDispatchCreateResponse
7
7
  */
8
8
  export type WorkflowsDispatchCreateResponse = {
9
+ /**
10
+ * The workflow run ID
11
+ */
9
12
  id: string;
10
13
  };
11
14
  /**
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@human2human/sdk",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -40,4 +40,4 @@
40
40
  "tsc-alias": "^1.8.10",
41
41
  "typescript": "^5.2.0"
42
42
  }
43
- }
43
+ }