@hautechai/sdk 2.10.0 → 2.11.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/dist/index.d.mts +39 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.js +25 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10522,17 +10522,6 @@ var useVideosApi = () => {
|
|
|
10522
10522
|
|
|
10523
10523
|
// src/autogenerated/workflows/workflows.ts
|
|
10524
10524
|
var getWorkflows = () => {
|
|
10525
|
-
const workflowsControllerRunWorkflowV1 = (workflowId, runWorkflowParamsDto, options) => {
|
|
10526
|
-
return axiosMutator(
|
|
10527
|
-
{
|
|
10528
|
-
url: `/v1/workflows/run/${workflowId}`,
|
|
10529
|
-
method: "POST",
|
|
10530
|
-
headers: { "Content-Type": "application/json" },
|
|
10531
|
-
data: runWorkflowParamsDto
|
|
10532
|
-
},
|
|
10533
|
-
options
|
|
10534
|
-
);
|
|
10535
|
-
};
|
|
10536
10525
|
const workflowsControllerCreateWorkflowV1 = (createWorkflowParamsDto, options) => {
|
|
10537
10526
|
return axiosMutator(
|
|
10538
10527
|
{
|
|
@@ -10583,7 +10572,27 @@ var getWorkflows = () => {
|
|
|
10583
10572
|
options
|
|
10584
10573
|
);
|
|
10585
10574
|
};
|
|
10586
|
-
|
|
10575
|
+
const workflowsControllerRunWorkflowV1 = (id, runWorkflowParamsDto, options) => {
|
|
10576
|
+
return axiosMutator(
|
|
10577
|
+
{
|
|
10578
|
+
url: `/v1/workflows/${id}/run`,
|
|
10579
|
+
method: "POST",
|
|
10580
|
+
headers: { "Content-Type": "application/json" },
|
|
10581
|
+
data: runWorkflowParamsDto
|
|
10582
|
+
},
|
|
10583
|
+
options
|
|
10584
|
+
);
|
|
10585
|
+
};
|
|
10586
|
+
const workflowsControllerGetWorkflowSchemaV1 = (id, options) => {
|
|
10587
|
+
return axiosMutator(
|
|
10588
|
+
{
|
|
10589
|
+
url: `/v1/workflows/${id}/schema`,
|
|
10590
|
+
method: "GET"
|
|
10591
|
+
},
|
|
10592
|
+
options
|
|
10593
|
+
);
|
|
10594
|
+
};
|
|
10595
|
+
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1 };
|
|
10587
10596
|
};
|
|
10588
10597
|
|
|
10589
10598
|
// src/sdk/api-definitions/workflows.ts
|
|
@@ -10593,7 +10602,10 @@ var useWorkflowsApi = () => {
|
|
|
10593
10602
|
create: hautechApi.workflowsControllerCreateWorkflowV1,
|
|
10594
10603
|
get: wrapApiCallNullable(hautechApi.workflowsControllerGetWorkflowV1),
|
|
10595
10604
|
list: hautechApi.workflowsControllerListWorkflowsV1,
|
|
10596
|
-
update: hautechApi.workflowsControllerUpdateWorkflowV1
|
|
10605
|
+
update: hautechApi.workflowsControllerUpdateWorkflowV1,
|
|
10606
|
+
delete: hautechApi.workflowsControllerDeleteWorkflowV1,
|
|
10607
|
+
getSchema: hautechApi.workflowsControllerGetWorkflowSchemaV1,
|
|
10608
|
+
run: hautechApi.workflowsControllerRunWorkflowV1
|
|
10597
10609
|
});
|
|
10598
10610
|
};
|
|
10599
10611
|
|