@hautechai/sdk 1.1.0 → 1.2.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- # [1.1.0](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.0.6...@hautechai/sdk@1.1.0) (2025-07-20)
1
+ # [1.2.0](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.1.1...@hautechai/sdk@1.2.0) (2025-07-22)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * Add creatomate operation ([c79eb48](https://github.com/HautechAI/sdk/commit/c79eb4821c030ee4b7a328caffe6a1b70b170852))
6
+ * add workflow entity and onecompiler operation support ([12027ef](https://github.com/HautechAI/sdk/commit/12027ef5734e19f805421d7b21e1b94e86399e73))
@@ -198,11 +198,16 @@ export interface AddItemsToStackParamsDto {
198
198
  export interface AnimateCreatomateV1Input {
199
199
  /**
200
200
  *
201
- * @type {object}
201
+ * @type {AnimateCreatomateV1InputTemplate}
202
202
  * @memberof AnimateCreatomateV1Input
203
203
  */
204
- 'template': object;
204
+ 'template': AnimateCreatomateV1InputTemplate;
205
205
  }
206
+ /**
207
+ * @type AnimateCreatomateV1InputTemplate
208
+ * @export
209
+ */
210
+ export type AnimateCreatomateV1InputTemplate = object | string;
206
211
  /**
207
212
  *
208
213
  * @export
@@ -702,6 +707,7 @@ export declare const CollectionEntityKindEnum: {
702
707
  readonly Pose: "pose";
703
708
  readonly Storage: "storage";
704
709
  readonly Pipeline: "pipeline";
710
+ readonly Workflow: "workflow";
705
711
  };
706
712
  export type CollectionEntityKindEnum = typeof CollectionEntityKindEnum[keyof typeof CollectionEntityKindEnum];
707
713
  /**
@@ -1118,6 +1124,31 @@ export interface CreateStorageRecordParamsDto {
1118
1124
  */
1119
1125
  'value': object;
1120
1126
  }
1127
+ /**
1128
+ *
1129
+ * @export
1130
+ * @interface CreateWorkflowParamsDto
1131
+ */
1132
+ export interface CreateWorkflowParamsDto {
1133
+ /**
1134
+ *
1135
+ * @type {object}
1136
+ * @memberof CreateWorkflowParamsDto
1137
+ */
1138
+ 'data': object;
1139
+ /**
1140
+ *
1141
+ * @type {string}
1142
+ * @memberof CreateWorkflowParamsDto
1143
+ */
1144
+ 'version': string;
1145
+ /**
1146
+ *
1147
+ * @type {object}
1148
+ * @memberof CreateWorkflowParamsDto
1149
+ */
1150
+ 'metadata'?: object;
1151
+ }
1121
1152
  /**
1122
1153
  *
1123
1154
  * @export
@@ -2907,6 +2938,7 @@ export declare const ImageEntityKindEnum: {
2907
2938
  readonly Pose: "pose";
2908
2939
  readonly Storage: "storage";
2909
2940
  readonly Pipeline: "pipeline";
2941
+ readonly Workflow: "workflow";
2910
2942
  };
2911
2943
  export type ImageEntityKindEnum = typeof ImageEntityKindEnum[keyof typeof ImageEntityKindEnum];
2912
2944
  /**
@@ -3567,6 +3599,7 @@ export declare const ListCollectionItemsParamsDtoKindEnum: {
3567
3599
  readonly Pose: "pose";
3568
3600
  readonly Storage: "storage";
3569
3601
  readonly Pipeline: "pipeline";
3602
+ readonly Workflow: "workflow";
3570
3603
  };
3571
3604
  export type ListCollectionItemsParamsDtoKindEnum = typeof ListCollectionItemsParamsDtoKindEnum[keyof typeof ListCollectionItemsParamsDtoKindEnum];
3572
3605
  /**
@@ -3803,6 +3836,56 @@ export declare const ListStacksParamsDtoOrderByEnum: {
3803
3836
  readonly UpdatedAtDesc: "updatedAt_DESC";
3804
3837
  };
3805
3838
  export type ListStacksParamsDtoOrderByEnum = typeof ListStacksParamsDtoOrderByEnum[keyof typeof ListStacksParamsDtoOrderByEnum];
3839
+ /**
3840
+ *
3841
+ * @export
3842
+ * @interface ListWorkflowsDto
3843
+ */
3844
+ export interface ListWorkflowsDto {
3845
+ /**
3846
+ *
3847
+ * @type {Array<WorkflowDto>}
3848
+ * @memberof ListWorkflowsDto
3849
+ */
3850
+ 'data': Array<WorkflowDto>;
3851
+ /**
3852
+ *
3853
+ * @type {ListWorkflowsDtoPageInfo}
3854
+ * @memberof ListWorkflowsDto
3855
+ */
3856
+ 'pageInfo': ListWorkflowsDtoPageInfo;
3857
+ }
3858
+ /**
3859
+ *
3860
+ * @export
3861
+ * @interface ListWorkflowsDtoPageInfo
3862
+ */
3863
+ export interface ListWorkflowsDtoPageInfo {
3864
+ /**
3865
+ *
3866
+ * @type {number}
3867
+ * @memberof ListWorkflowsDtoPageInfo
3868
+ */
3869
+ 'total': number;
3870
+ /**
3871
+ *
3872
+ * @type {number}
3873
+ * @memberof ListWorkflowsDtoPageInfo
3874
+ */
3875
+ 'limit': number;
3876
+ /**
3877
+ *
3878
+ * @type {number}
3879
+ * @memberof ListWorkflowsDtoPageInfo
3880
+ */
3881
+ 'offset': number;
3882
+ /**
3883
+ *
3884
+ * @type {boolean}
3885
+ * @memberof ListWorkflowsDtoPageInfo
3886
+ */
3887
+ 'hasMore': boolean;
3888
+ }
3806
3889
  /**
3807
3890
  *
3808
3891
  * @export
@@ -4419,6 +4502,144 @@ export declare const ObjectDetectionV1ResponseStatusEnum: {
4419
4502
  readonly Failed: "failed";
4420
4503
  };
4421
4504
  export type ObjectDetectionV1ResponseStatusEnum = typeof ObjectDetectionV1ResponseStatusEnum[keyof typeof ObjectDetectionV1ResponseStatusEnum];
4505
+ /**
4506
+ *
4507
+ * @export
4508
+ * @interface OneCompilerV1Input
4509
+ */
4510
+ export interface OneCompilerV1Input {
4511
+ /**
4512
+ *
4513
+ * @type {string}
4514
+ * @memberof OneCompilerV1Input
4515
+ */
4516
+ 'code': string;
4517
+ /**
4518
+ *
4519
+ * @type {object}
4520
+ * @memberof OneCompilerV1Input
4521
+ */
4522
+ 'input'?: object;
4523
+ /**
4524
+ *
4525
+ * @type {string}
4526
+ * @memberof OneCompilerV1Input
4527
+ */
4528
+ 'language'?: OneCompilerV1InputLanguageEnum;
4529
+ /**
4530
+ *
4531
+ * @type {Array<SupportFile>}
4532
+ * @memberof OneCompilerV1Input
4533
+ */
4534
+ 'supportFiles'?: Array<SupportFile>;
4535
+ }
4536
+ export declare const OneCompilerV1InputLanguageEnum: {
4537
+ readonly Typescript: "typescript";
4538
+ readonly Python: "python";
4539
+ };
4540
+ export type OneCompilerV1InputLanguageEnum = typeof OneCompilerV1InputLanguageEnum[keyof typeof OneCompilerV1InputLanguageEnum];
4541
+ /**
4542
+ *
4543
+ * @export
4544
+ * @interface OnecompilerV1Request
4545
+ */
4546
+ export interface OnecompilerV1Request {
4547
+ /**
4548
+ *
4549
+ * @type {OneCompilerV1Input}
4550
+ * @memberof OnecompilerV1Request
4551
+ */
4552
+ 'input': OneCompilerV1Input;
4553
+ /**
4554
+ *
4555
+ * @type {object}
4556
+ * @memberof OnecompilerV1Request
4557
+ */
4558
+ 'metadata'?: object;
4559
+ }
4560
+ /**
4561
+ *
4562
+ * @export
4563
+ * @interface OnecompilerV1Response
4564
+ */
4565
+ export interface OnecompilerV1Response {
4566
+ /**
4567
+ *
4568
+ * @type {string}
4569
+ * @memberof OnecompilerV1Response
4570
+ */
4571
+ 'kind': OnecompilerV1ResponseKindEnum;
4572
+ /**
4573
+ *
4574
+ * @type {OperationOutputJSON}
4575
+ * @memberof OnecompilerV1Response
4576
+ */
4577
+ 'output': OperationOutputJSON;
4578
+ /**
4579
+ *
4580
+ * @type {object}
4581
+ * @memberof OnecompilerV1Response
4582
+ */
4583
+ 'input': object;
4584
+ /**
4585
+ *
4586
+ * @type {string}
4587
+ * @memberof OnecompilerV1Response
4588
+ */
4589
+ 'status': OnecompilerV1ResponseStatusEnum;
4590
+ /**
4591
+ *
4592
+ * @type {string}
4593
+ * @memberof OnecompilerV1Response
4594
+ */
4595
+ 'type': string;
4596
+ /**
4597
+ *
4598
+ * @type {string}
4599
+ * @memberof OnecompilerV1Response
4600
+ */
4601
+ 'price'?: string;
4602
+ /**
4603
+ *
4604
+ * @type {string}
4605
+ * @memberof OnecompilerV1Response
4606
+ */
4607
+ 'id': string;
4608
+ /**
4609
+ *
4610
+ * @type {string}
4611
+ * @memberof OnecompilerV1Response
4612
+ */
4613
+ 'creatorId': string;
4614
+ /**
4615
+ *
4616
+ * @type {object}
4617
+ * @memberof OnecompilerV1Response
4618
+ */
4619
+ 'metadata': object;
4620
+ /**
4621
+ *
4622
+ * @type {string}
4623
+ * @memberof OnecompilerV1Response
4624
+ */
4625
+ 'createdAt': string;
4626
+ /**
4627
+ *
4628
+ * @type {string}
4629
+ * @memberof OnecompilerV1Response
4630
+ */
4631
+ 'updatedAt': string;
4632
+ }
4633
+ export declare const OnecompilerV1ResponseKindEnum: {
4634
+ readonly Operation: "operation";
4635
+ };
4636
+ export type OnecompilerV1ResponseKindEnum = typeof OnecompilerV1ResponseKindEnum[keyof typeof OnecompilerV1ResponseKindEnum];
4637
+ export declare const OnecompilerV1ResponseStatusEnum: {
4638
+ readonly Pending: "pending";
4639
+ readonly Finished: "finished";
4640
+ readonly Failed: "failed";
4641
+ };
4642
+ export type OnecompilerV1ResponseStatusEnum = typeof OnecompilerV1ResponseStatusEnum[keyof typeof OnecompilerV1ResponseStatusEnum];
4422
4643
  /**
4423
4644
  *
4424
4645
  * @export
@@ -5270,6 +5491,7 @@ export declare const ResourceEntityKindEnum: {
5270
5491
  readonly Pose: "pose";
5271
5492
  readonly Storage: "storage";
5272
5493
  readonly Pipeline: "pipeline";
5494
+ readonly Workflow: "workflow";
5273
5495
  };
5274
5496
  export type ResourceEntityKindEnum = typeof ResourceEntityKindEnum[keyof typeof ResourceEntityKindEnum];
5275
5497
  /**
@@ -5871,6 +6093,25 @@ export declare const StringsTemplateV1ResponseStatusEnum: {
5871
6093
  readonly Failed: "failed";
5872
6094
  };
5873
6095
  export type StringsTemplateV1ResponseStatusEnum = typeof StringsTemplateV1ResponseStatusEnum[keyof typeof StringsTemplateV1ResponseStatusEnum];
6096
+ /**
6097
+ *
6098
+ * @export
6099
+ * @interface SupportFile
6100
+ */
6101
+ export interface SupportFile {
6102
+ /**
6103
+ *
6104
+ * @type {string}
6105
+ * @memberof SupportFile
6106
+ */
6107
+ 'name': string;
6108
+ /**
6109
+ *
6110
+ * @type {string}
6111
+ * @memberof SupportFile
6112
+ */
6113
+ 'content': string;
6114
+ }
5874
6115
  /**
5875
6116
  *
5876
6117
  * @export
@@ -6302,6 +6543,7 @@ export declare const VideoEntityKindEnum: {
6302
6543
  readonly Pose: "pose";
6303
6544
  readonly Storage: "storage";
6304
6545
  readonly Pipeline: "pipeline";
6546
+ readonly Workflow: "workflow";
6305
6547
  };
6306
6548
  export type VideoEntityKindEnum = typeof VideoEntityKindEnum[keyof typeof VideoEntityKindEnum];
6307
6549
  /**
@@ -6438,6 +6680,55 @@ export interface WaitOperationParamsDto {
6438
6680
  */
6439
6681
  'id': string;
6440
6682
  }
6683
+ /**
6684
+ *
6685
+ * @export
6686
+ * @interface WorkflowDto
6687
+ */
6688
+ export interface WorkflowDto {
6689
+ /**
6690
+ *
6691
+ * @type {string}
6692
+ * @memberof WorkflowDto
6693
+ */
6694
+ 'id': string;
6695
+ /**
6696
+ *
6697
+ * @type {string}
6698
+ * @memberof WorkflowDto
6699
+ */
6700
+ 'creatorId': string;
6701
+ /**
6702
+ *
6703
+ * @type {object}
6704
+ * @memberof WorkflowDto
6705
+ */
6706
+ 'data': object;
6707
+ /**
6708
+ *
6709
+ * @type {string}
6710
+ * @memberof WorkflowDto
6711
+ */
6712
+ 'version': string;
6713
+ /**
6714
+ *
6715
+ * @type {object}
6716
+ * @memberof WorkflowDto
6717
+ */
6718
+ 'metadata': object;
6719
+ /**
6720
+ *
6721
+ * @type {string}
6722
+ * @memberof WorkflowDto
6723
+ */
6724
+ 'createdAt': string;
6725
+ /**
6726
+ *
6727
+ * @type {string}
6728
+ * @memberof WorkflowDto
6729
+ */
6730
+ 'updatedAt': string;
6731
+ }
6441
6732
  /**
6442
6733
  * AccessApi - axios parameter creator
6443
6734
  * @export
@@ -7259,6 +7550,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
7259
7550
  * @throws {RequiredError}
7260
7551
  */
7261
7552
  callControllerCallOperationsRunObjectDetectionV1V1: (objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7553
+ /**
7554
+ *
7555
+ * @param {OnecompilerV1Request} onecompilerV1Request
7556
+ * @param {*} [options] Override http request option.
7557
+ * @throws {RequiredError}
7558
+ */
7559
+ callControllerCallOperationsRunOnecompilerV1V1: (onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7262
7560
  /**
7263
7561
  *
7264
7562
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -7769,6 +8067,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
7769
8067
  * @throws {RequiredError}
7770
8068
  */
7771
8069
  callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectDetectionV1Response>>;
8070
+ /**
8071
+ *
8072
+ * @param {OnecompilerV1Request} onecompilerV1Request
8073
+ * @param {*} [options] Override http request option.
8074
+ * @throws {RequiredError}
8075
+ */
8076
+ callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnecompilerV1Response>>;
7772
8077
  /**
7773
8078
  *
7774
8079
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -8279,6 +8584,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
8279
8584
  * @throws {RequiredError}
8280
8585
  */
8281
8586
  callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig): AxiosPromise<ObjectDetectionV1Response>;
8587
+ /**
8588
+ *
8589
+ * @param {OnecompilerV1Request} onecompilerV1Request
8590
+ * @param {*} [options] Override http request option.
8591
+ * @throws {RequiredError}
8592
+ */
8593
+ callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig): AxiosPromise<OnecompilerV1Response>;
8282
8594
  /**
8283
8595
  *
8284
8596
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -8838,6 +9150,14 @@ export declare class CallApi extends BaseAPI {
8838
9150
  * @memberof CallApi
8839
9151
  */
8840
9152
  callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectDetectionV1Response, any>>;
9153
+ /**
9154
+ *
9155
+ * @param {OnecompilerV1Request} onecompilerV1Request
9156
+ * @param {*} [options] Override http request option.
9157
+ * @throws {RequiredError}
9158
+ * @memberof CallApi
9159
+ */
9160
+ callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnecompilerV1Response, any>>;
8841
9161
  /**
8842
9162
  *
8843
9163
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -9336,6 +9656,7 @@ export declare const CollectionsControllerListItemsV1KindEnum: {
9336
9656
  readonly Pose: "pose";
9337
9657
  readonly Storage: "storage";
9338
9658
  readonly Pipeline: "pipeline";
9659
+ readonly Workflow: "workflow";
9339
9660
  };
9340
9661
  export type CollectionsControllerListItemsV1KindEnum = typeof CollectionsControllerListItemsV1KindEnum[keyof typeof CollectionsControllerListItemsV1KindEnum];
9341
9662
  /**
@@ -9845,6 +10166,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
9845
10166
  * @throws {RequiredError}
9846
10167
  */
9847
10168
  operationsControllerRunObjectDetectionV1V1: (objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10169
+ /**
10170
+ *
10171
+ * @param {OnecompilerV1Request} onecompilerV1Request
10172
+ * @param {*} [options] Override http request option.
10173
+ * @throws {RequiredError}
10174
+ */
10175
+ operationsControllerRunOnecompilerV1V1: (onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9848
10176
  /**
9849
10177
  *
9850
10178
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -10071,6 +10399,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
10071
10399
  * @throws {RequiredError}
10072
10400
  */
10073
10401
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectDetectionV1Response>>;
10402
+ /**
10403
+ *
10404
+ * @param {OnecompilerV1Request} onecompilerV1Request
10405
+ * @param {*} [options] Override http request option.
10406
+ * @throws {RequiredError}
10407
+ */
10408
+ operationsControllerRunOnecompilerV1V1(onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnecompilerV1Response>>;
10074
10409
  /**
10075
10410
  *
10076
10411
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -10297,6 +10632,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
10297
10632
  * @throws {RequiredError}
10298
10633
  */
10299
10634
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig): AxiosPromise<ObjectDetectionV1Response>;
10635
+ /**
10636
+ *
10637
+ * @param {OnecompilerV1Request} onecompilerV1Request
10638
+ * @param {*} [options] Override http request option.
10639
+ * @throws {RequiredError}
10640
+ */
10641
+ operationsControllerRunOnecompilerV1V1(onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig): AxiosPromise<OnecompilerV1Response>;
10300
10642
  /**
10301
10643
  *
10302
10644
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -10547,6 +10889,14 @@ export declare class OperationsApi extends BaseAPI {
10547
10889
  * @memberof OperationsApi
10548
10890
  */
10549
10891
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request: ObjectDetectionV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectDetectionV1Response, any>>;
10892
+ /**
10893
+ *
10894
+ * @param {OnecompilerV1Request} onecompilerV1Request
10895
+ * @param {*} [options] Override http request option.
10896
+ * @throws {RequiredError}
10897
+ * @memberof OperationsApi
10898
+ */
10899
+ operationsControllerRunOnecompilerV1V1(onecompilerV1Request: OnecompilerV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnecompilerV1Response, any>>;
10550
10900
  /**
10551
10901
  *
10552
10902
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -11514,6 +11864,35 @@ export declare class WebsocketApi extends BaseAPI {
11514
11864
  * @export
11515
11865
  */
11516
11866
  export declare const WorkflowsApiAxiosParamCreator: (configuration?: Configuration) => {
11867
+ /**
11868
+ *
11869
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11870
+ * @param {*} [options] Override http request option.
11871
+ * @throws {RequiredError}
11872
+ */
11873
+ workflowsControllerCreateWorkflowV1: (createWorkflowParamsDto: CreateWorkflowParamsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11874
+ /**
11875
+ *
11876
+ * @param {string} id
11877
+ * @param {*} [options] Override http request option.
11878
+ * @throws {RequiredError}
11879
+ */
11880
+ workflowsControllerDeleteWorkflowV1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11881
+ /**
11882
+ *
11883
+ * @param {string} id
11884
+ * @param {*} [options] Override http request option.
11885
+ * @throws {RequiredError}
11886
+ */
11887
+ workflowsControllerGetWorkflowV1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11888
+ /**
11889
+ *
11890
+ * @param {number} [limit]
11891
+ * @param {number} [offset]
11892
+ * @param {*} [options] Override http request option.
11893
+ * @throws {RequiredError}
11894
+ */
11895
+ workflowsControllerListWorkflowsV1: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11517
11896
  /**
11518
11897
  *
11519
11898
  * @param {string} workflowId
@@ -11522,12 +11901,48 @@ export declare const WorkflowsApiAxiosParamCreator: (configuration?: Configurati
11522
11901
  * @throws {RequiredError}
11523
11902
  */
11524
11903
  workflowsControllerRunWorkflowV1: (workflowId: string, runWorkflowParamsDto: RunWorkflowParamsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11904
+ /**
11905
+ *
11906
+ * @param {string} id
11907
+ * @param {*} [options] Override http request option.
11908
+ * @throws {RequiredError}
11909
+ */
11910
+ workflowsControllerUpdateWorkflowV1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11525
11911
  };
11526
11912
  /**
11527
11913
  * WorkflowsApi - functional programming interface
11528
11914
  * @export
11529
11915
  */
11530
11916
  export declare const WorkflowsApiFp: (configuration?: Configuration) => {
11917
+ /**
11918
+ *
11919
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11920
+ * @param {*} [options] Override http request option.
11921
+ * @throws {RequiredError}
11922
+ */
11923
+ workflowsControllerCreateWorkflowV1(createWorkflowParamsDto: CreateWorkflowParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowDto>>;
11924
+ /**
11925
+ *
11926
+ * @param {string} id
11927
+ * @param {*} [options] Override http request option.
11928
+ * @throws {RequiredError}
11929
+ */
11930
+ workflowsControllerDeleteWorkflowV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
11931
+ /**
11932
+ *
11933
+ * @param {string} id
11934
+ * @param {*} [options] Override http request option.
11935
+ * @throws {RequiredError}
11936
+ */
11937
+ workflowsControllerGetWorkflowV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowDto>>;
11938
+ /**
11939
+ *
11940
+ * @param {number} [limit]
11941
+ * @param {number} [offset]
11942
+ * @param {*} [options] Override http request option.
11943
+ * @throws {RequiredError}
11944
+ */
11945
+ workflowsControllerListWorkflowsV1(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkflowsDto>>;
11531
11946
  /**
11532
11947
  *
11533
11948
  * @param {string} workflowId
@@ -11536,12 +11951,48 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
11536
11951
  * @throws {RequiredError}
11537
11952
  */
11538
11953
  workflowsControllerRunWorkflowV1(workflowId: string, runWorkflowParamsDto: RunWorkflowParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunWorkflowResponseDto>>;
11954
+ /**
11955
+ *
11956
+ * @param {string} id
11957
+ * @param {*} [options] Override http request option.
11958
+ * @throws {RequiredError}
11959
+ */
11960
+ workflowsControllerUpdateWorkflowV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowDto>>;
11539
11961
  };
11540
11962
  /**
11541
11963
  * WorkflowsApi - factory interface
11542
11964
  * @export
11543
11965
  */
11544
11966
  export declare const WorkflowsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11967
+ /**
11968
+ *
11969
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11970
+ * @param {*} [options] Override http request option.
11971
+ * @throws {RequiredError}
11972
+ */
11973
+ workflowsControllerCreateWorkflowV1(createWorkflowParamsDto: CreateWorkflowParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowDto>;
11974
+ /**
11975
+ *
11976
+ * @param {string} id
11977
+ * @param {*} [options] Override http request option.
11978
+ * @throws {RequiredError}
11979
+ */
11980
+ workflowsControllerDeleteWorkflowV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11981
+ /**
11982
+ *
11983
+ * @param {string} id
11984
+ * @param {*} [options] Override http request option.
11985
+ * @throws {RequiredError}
11986
+ */
11987
+ workflowsControllerGetWorkflowV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowDto>;
11988
+ /**
11989
+ *
11990
+ * @param {number} [limit]
11991
+ * @param {number} [offset]
11992
+ * @param {*} [options] Override http request option.
11993
+ * @throws {RequiredError}
11994
+ */
11995
+ workflowsControllerListWorkflowsV1(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListWorkflowsDto>;
11545
11996
  /**
11546
11997
  *
11547
11998
  * @param {string} workflowId
@@ -11550,6 +12001,13 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
11550
12001
  * @throws {RequiredError}
11551
12002
  */
11552
12003
  workflowsControllerRunWorkflowV1(workflowId: string, runWorkflowParamsDto: RunWorkflowParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<RunWorkflowResponseDto>;
12004
+ /**
12005
+ *
12006
+ * @param {string} id
12007
+ * @param {*} [options] Override http request option.
12008
+ * @throws {RequiredError}
12009
+ */
12010
+ workflowsControllerUpdateWorkflowV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowDto>;
11553
12011
  };
11554
12012
  /**
11555
12013
  * WorkflowsApi - object-oriented interface
@@ -11558,6 +12016,39 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
11558
12016
  * @extends {BaseAPI}
11559
12017
  */
11560
12018
  export declare class WorkflowsApi extends BaseAPI {
12019
+ /**
12020
+ *
12021
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
12022
+ * @param {*} [options] Override http request option.
12023
+ * @throws {RequiredError}
12024
+ * @memberof WorkflowsApi
12025
+ */
12026
+ workflowsControllerCreateWorkflowV1(createWorkflowParamsDto: CreateWorkflowParamsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowDto, any>>;
12027
+ /**
12028
+ *
12029
+ * @param {string} id
12030
+ * @param {*} [options] Override http request option.
12031
+ * @throws {RequiredError}
12032
+ * @memberof WorkflowsApi
12033
+ */
12034
+ workflowsControllerDeleteWorkflowV1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
12035
+ /**
12036
+ *
12037
+ * @param {string} id
12038
+ * @param {*} [options] Override http request option.
12039
+ * @throws {RequiredError}
12040
+ * @memberof WorkflowsApi
12041
+ */
12042
+ workflowsControllerGetWorkflowV1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowDto, any>>;
12043
+ /**
12044
+ *
12045
+ * @param {number} [limit]
12046
+ * @param {number} [offset]
12047
+ * @param {*} [options] Override http request option.
12048
+ * @throws {RequiredError}
12049
+ * @memberof WorkflowsApi
12050
+ */
12051
+ workflowsControllerListWorkflowsV1(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWorkflowsDto, any>>;
11561
12052
  /**
11562
12053
  *
11563
12054
  * @param {string} workflowId
@@ -11567,4 +12058,12 @@ export declare class WorkflowsApi extends BaseAPI {
11567
12058
  * @memberof WorkflowsApi
11568
12059
  */
11569
12060
  workflowsControllerRunWorkflowV1(workflowId: string, runWorkflowParamsDto: RunWorkflowParamsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunWorkflowResponseDto, any>>;
12061
+ /**
12062
+ *
12063
+ * @param {string} id
12064
+ * @param {*} [options] Override http request option.
12065
+ * @throws {RequiredError}
12066
+ * @memberof WorkflowsApi
12067
+ */
12068
+ workflowsControllerUpdateWorkflowV1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowDto, any>>;
11570
12069
  }
@@ -72,7 +72,8 @@ export const CollectionEntityKindEnum = {
72
72
  Video: 'video',
73
73
  Pose: 'pose',
74
74
  Storage: 'storage',
75
- Pipeline: 'pipeline'
75
+ Pipeline: 'pipeline',
76
+ Workflow: 'workflow'
76
77
  };
77
78
  export const CompositeElementBlendEnum = {
78
79
  Over: 'over',
@@ -233,7 +234,8 @@ export const ImageEntityKindEnum = {
233
234
  Video: 'video',
234
235
  Pose: 'pose',
235
236
  Storage: 'storage',
236
- Pipeline: 'pipeline'
237
+ Pipeline: 'pipeline',
238
+ Workflow: 'workflow'
237
239
  };
238
240
  export const ImagineKateV1ResponseKindEnum = {
239
241
  Operation: 'operation'
@@ -312,7 +314,8 @@ export const ListCollectionItemsParamsDtoKindEnum = {
312
314
  Video: 'video',
313
315
  Pose: 'pose',
314
316
  Storage: 'storage',
315
- Pipeline: 'pipeline'
317
+ Pipeline: 'pipeline',
318
+ Workflow: 'workflow'
316
319
  };
317
320
  export const ListCollectionsParamsDtoOrderByEnum = {
318
321
  CreatedAtAsc: 'createdAt_ASC',
@@ -376,6 +379,18 @@ export const ObjectDetectionV1ResponseStatusEnum = {
376
379
  Finished: 'finished',
377
380
  Failed: 'failed'
378
381
  };
382
+ export const OneCompilerV1InputLanguageEnum = {
383
+ Typescript: 'typescript',
384
+ Python: 'python'
385
+ };
386
+ export const OnecompilerV1ResponseKindEnum = {
387
+ Operation: 'operation'
388
+ };
389
+ export const OnecompilerV1ResponseStatusEnum = {
390
+ Pending: 'pending',
391
+ Finished: 'finished',
392
+ Failed: 'failed'
393
+ };
379
394
  export const OperationEntityKindEnum = {
380
395
  Operation: 'operation'
381
396
  };
@@ -457,7 +472,8 @@ export const ResourceEntityKindEnum = {
457
472
  Video: 'video',
458
473
  Pose: 'pose',
459
474
  Storage: 'storage',
460
- Pipeline: 'pipeline'
475
+ Pipeline: 'pipeline',
476
+ Workflow: 'workflow'
461
477
  };
462
478
  export const RevokeAccessControllerParamsDtoPrincipalTypeEnum = {
463
479
  Account: 'account',
@@ -517,7 +533,8 @@ export const VideoEntityKindEnum = {
517
533
  Video: 'video',
518
534
  Pose: 'pose',
519
535
  Storage: 'storage',
520
- Pipeline: 'pipeline'
536
+ Pipeline: 'pipeline',
537
+ Workflow: 'workflow'
521
538
  };
522
539
  export const VtonGiseleV1ResponseKindEnum = {
523
540
  Operation: 'operation'
@@ -2997,6 +3014,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
2997
3014
  options: localVarRequestOptions,
2998
3015
  };
2999
3016
  },
3017
+ /**
3018
+ *
3019
+ * @param {OnecompilerV1Request} onecompilerV1Request
3020
+ * @param {*} [options] Override http request option.
3021
+ * @throws {RequiredError}
3022
+ */
3023
+ callControllerCallOperationsRunOnecompilerV1V1: async (onecompilerV1Request, options = {}) => {
3024
+ // verify required parameter 'onecompilerV1Request' is not null or undefined
3025
+ assertParamExists('callControllerCallOperationsRunOnecompilerV1V1', 'onecompilerV1Request', onecompilerV1Request);
3026
+ const localVarPath = `/v1/call/operations.run.onecompiler.v1`;
3027
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3028
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3029
+ let baseOptions;
3030
+ if (configuration) {
3031
+ baseOptions = configuration.baseOptions;
3032
+ }
3033
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3034
+ const localVarHeaderParameter = {};
3035
+ const localVarQueryParameter = {};
3036
+ // authentication bearer required
3037
+ // http bearer authentication required
3038
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
3039
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3040
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3041
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3042
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3043
+ localVarRequestOptions.data = serializeDataIfNeeded(onecompilerV1Request, localVarRequestOptions, configuration);
3044
+ return {
3045
+ url: toPathString(localVarUrlObj),
3046
+ options: localVarRequestOptions,
3047
+ };
3048
+ },
3000
3049
  /**
3001
3050
  *
3002
3051
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -4370,6 +4419,18 @@ export const CallApiFp = function (configuration) {
4370
4419
  const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunObjectDetectionV1V1']?.[localVarOperationServerIndex]?.url;
4371
4420
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4372
4421
  },
4422
+ /**
4423
+ *
4424
+ * @param {OnecompilerV1Request} onecompilerV1Request
4425
+ * @param {*} [options] Override http request option.
4426
+ * @throws {RequiredError}
4427
+ */
4428
+ async callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options) {
4429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options);
4430
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4431
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunOnecompilerV1V1']?.[localVarOperationServerIndex]?.url;
4432
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4433
+ },
4373
4434
  /**
4374
4435
  *
4375
4436
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -5102,6 +5163,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
5102
5163
  callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options) {
5103
5164
  return localVarFp.callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(axios, basePath));
5104
5165
  },
5166
+ /**
5167
+ *
5168
+ * @param {OnecompilerV1Request} onecompilerV1Request
5169
+ * @param {*} [options] Override http request option.
5170
+ * @throws {RequiredError}
5171
+ */
5172
+ callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options) {
5173
+ return localVarFp.callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(axios, basePath));
5174
+ },
5105
5175
  /**
5106
5176
  *
5107
5177
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -5806,6 +5876,16 @@ export class CallApi extends BaseAPI {
5806
5876
  callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options) {
5807
5877
  return CallApiFp(this.configuration).callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(this.axios, this.basePath));
5808
5878
  }
5879
+ /**
5880
+ *
5881
+ * @param {OnecompilerV1Request} onecompilerV1Request
5882
+ * @param {*} [options] Override http request option.
5883
+ * @throws {RequiredError}
5884
+ * @memberof CallApi
5885
+ */
5886
+ callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options) {
5887
+ return CallApiFp(this.configuration).callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(this.axios, this.basePath));
5888
+ }
5809
5889
  /**
5810
5890
  *
5811
5891
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -6621,7 +6701,8 @@ export const CollectionsControllerListItemsV1KindEnum = {
6621
6701
  Video: 'video',
6622
6702
  Pose: 'pose',
6623
6703
  Storage: 'storage',
6624
- Pipeline: 'pipeline'
6704
+ Pipeline: 'pipeline',
6705
+ Workflow: 'workflow'
6625
6706
  };
6626
6707
  /**
6627
6708
  * GroupsApi - axios parameter creator
@@ -8038,6 +8119,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
8038
8119
  options: localVarRequestOptions,
8039
8120
  };
8040
8121
  },
8122
+ /**
8123
+ *
8124
+ * @param {OnecompilerV1Request} onecompilerV1Request
8125
+ * @param {*} [options] Override http request option.
8126
+ * @throws {RequiredError}
8127
+ */
8128
+ operationsControllerRunOnecompilerV1V1: async (onecompilerV1Request, options = {}) => {
8129
+ // verify required parameter 'onecompilerV1Request' is not null or undefined
8130
+ assertParamExists('operationsControllerRunOnecompilerV1V1', 'onecompilerV1Request', onecompilerV1Request);
8131
+ const localVarPath = `/v1/operations/run/onecompiler.v1`;
8132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8133
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8134
+ let baseOptions;
8135
+ if (configuration) {
8136
+ baseOptions = configuration.baseOptions;
8137
+ }
8138
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
8139
+ const localVarHeaderParameter = {};
8140
+ const localVarQueryParameter = {};
8141
+ // authentication bearer required
8142
+ // http bearer authentication required
8143
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
8144
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8147
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
8148
+ localVarRequestOptions.data = serializeDataIfNeeded(onecompilerV1Request, localVarRequestOptions, configuration);
8149
+ return {
8150
+ url: toPathString(localVarUrlObj),
8151
+ options: localVarRequestOptions,
8152
+ };
8153
+ },
8041
8154
  /**
8042
8155
  *
8043
8156
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -8605,6 +8718,18 @@ export const OperationsApiFp = function (configuration) {
8605
8718
  const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunObjectDetectionV1V1']?.[localVarOperationServerIndex]?.url;
8606
8719
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8607
8720
  },
8721
+ /**
8722
+ *
8723
+ * @param {OnecompilerV1Request} onecompilerV1Request
8724
+ * @param {*} [options] Override http request option.
8725
+ * @throws {RequiredError}
8726
+ */
8727
+ async operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options) {
8728
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options);
8729
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8730
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunOnecompilerV1V1']?.[localVarOperationServerIndex]?.url;
8731
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8732
+ },
8608
8733
  /**
8609
8734
  *
8610
8735
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -8923,6 +9048,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
8923
9048
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options) {
8924
9049
  return localVarFp.operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(axios, basePath));
8925
9050
  },
9051
+ /**
9052
+ *
9053
+ * @param {OnecompilerV1Request} onecompilerV1Request
9054
+ * @param {*} [options] Override http request option.
9055
+ * @throws {RequiredError}
9056
+ */
9057
+ operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options) {
9058
+ return localVarFp.operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(axios, basePath));
9059
+ },
8926
9060
  /**
8927
9061
  *
8928
9062
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -9236,6 +9370,16 @@ export class OperationsApi extends BaseAPI {
9236
9370
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options) {
9237
9371
  return OperationsApiFp(this.configuration).operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(this.axios, this.basePath));
9238
9372
  }
9373
+ /**
9374
+ *
9375
+ * @param {OnecompilerV1Request} onecompilerV1Request
9376
+ * @param {*} [options] Override http request option.
9377
+ * @throws {RequiredError}
9378
+ * @memberof OperationsApi
9379
+ */
9380
+ operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options) {
9381
+ return OperationsApiFp(this.configuration).operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(this.axios, this.basePath));
9382
+ }
9239
9383
  /**
9240
9384
  *
9241
9385
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -11036,6 +11180,135 @@ export class WebsocketApi extends BaseAPI {
11036
11180
  */
11037
11181
  export const WorkflowsApiAxiosParamCreator = function (configuration) {
11038
11182
  return {
11183
+ /**
11184
+ *
11185
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11186
+ * @param {*} [options] Override http request option.
11187
+ * @throws {RequiredError}
11188
+ */
11189
+ workflowsControllerCreateWorkflowV1: async (createWorkflowParamsDto, options = {}) => {
11190
+ // verify required parameter 'createWorkflowParamsDto' is not null or undefined
11191
+ assertParamExists('workflowsControllerCreateWorkflowV1', 'createWorkflowParamsDto', createWorkflowParamsDto);
11192
+ const localVarPath = `/v1/workflows`;
11193
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11194
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11195
+ let baseOptions;
11196
+ if (configuration) {
11197
+ baseOptions = configuration.baseOptions;
11198
+ }
11199
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
11200
+ const localVarHeaderParameter = {};
11201
+ const localVarQueryParameter = {};
11202
+ // authentication bearer required
11203
+ // http bearer authentication required
11204
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11205
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11206
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11207
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11208
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11209
+ localVarRequestOptions.data = serializeDataIfNeeded(createWorkflowParamsDto, localVarRequestOptions, configuration);
11210
+ return {
11211
+ url: toPathString(localVarUrlObj),
11212
+ options: localVarRequestOptions,
11213
+ };
11214
+ },
11215
+ /**
11216
+ *
11217
+ * @param {string} id
11218
+ * @param {*} [options] Override http request option.
11219
+ * @throws {RequiredError}
11220
+ */
11221
+ workflowsControllerDeleteWorkflowV1: async (id, options = {}) => {
11222
+ // verify required parameter 'id' is not null or undefined
11223
+ assertParamExists('workflowsControllerDeleteWorkflowV1', 'id', id);
11224
+ const localVarPath = `/v1/workflows/{id}`
11225
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
11226
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11227
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11228
+ let baseOptions;
11229
+ if (configuration) {
11230
+ baseOptions = configuration.baseOptions;
11231
+ }
11232
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
11233
+ const localVarHeaderParameter = {};
11234
+ const localVarQueryParameter = {};
11235
+ // authentication bearer required
11236
+ // http bearer authentication required
11237
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11238
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11239
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11240
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11241
+ return {
11242
+ url: toPathString(localVarUrlObj),
11243
+ options: localVarRequestOptions,
11244
+ };
11245
+ },
11246
+ /**
11247
+ *
11248
+ * @param {string} id
11249
+ * @param {*} [options] Override http request option.
11250
+ * @throws {RequiredError}
11251
+ */
11252
+ workflowsControllerGetWorkflowV1: async (id, options = {}) => {
11253
+ // verify required parameter 'id' is not null or undefined
11254
+ assertParamExists('workflowsControllerGetWorkflowV1', 'id', id);
11255
+ const localVarPath = `/v1/workflows/{id}`
11256
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
11257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11259
+ let baseOptions;
11260
+ if (configuration) {
11261
+ baseOptions = configuration.baseOptions;
11262
+ }
11263
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11264
+ const localVarHeaderParameter = {};
11265
+ const localVarQueryParameter = {};
11266
+ // authentication bearer required
11267
+ // http bearer authentication required
11268
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11269
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11270
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11271
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11272
+ return {
11273
+ url: toPathString(localVarUrlObj),
11274
+ options: localVarRequestOptions,
11275
+ };
11276
+ },
11277
+ /**
11278
+ *
11279
+ * @param {number} [limit]
11280
+ * @param {number} [offset]
11281
+ * @param {*} [options] Override http request option.
11282
+ * @throws {RequiredError}
11283
+ */
11284
+ workflowsControllerListWorkflowsV1: async (limit, offset, options = {}) => {
11285
+ const localVarPath = `/v1/workflows`;
11286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11288
+ let baseOptions;
11289
+ if (configuration) {
11290
+ baseOptions = configuration.baseOptions;
11291
+ }
11292
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11293
+ const localVarHeaderParameter = {};
11294
+ const localVarQueryParameter = {};
11295
+ // authentication bearer required
11296
+ // http bearer authentication required
11297
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11298
+ if (limit !== undefined) {
11299
+ localVarQueryParameter['limit'] = limit;
11300
+ }
11301
+ if (offset !== undefined) {
11302
+ localVarQueryParameter['offset'] = offset;
11303
+ }
11304
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11305
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11306
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11307
+ return {
11308
+ url: toPathString(localVarUrlObj),
11309
+ options: localVarRequestOptions,
11310
+ };
11311
+ },
11039
11312
  /**
11040
11313
  *
11041
11314
  * @param {string} workflowId
@@ -11072,6 +11345,37 @@ export const WorkflowsApiAxiosParamCreator = function (configuration) {
11072
11345
  options: localVarRequestOptions,
11073
11346
  };
11074
11347
  },
11348
+ /**
11349
+ *
11350
+ * @param {string} id
11351
+ * @param {*} [options] Override http request option.
11352
+ * @throws {RequiredError}
11353
+ */
11354
+ workflowsControllerUpdateWorkflowV1: async (id, options = {}) => {
11355
+ // verify required parameter 'id' is not null or undefined
11356
+ assertParamExists('workflowsControllerUpdateWorkflowV1', 'id', id);
11357
+ const localVarPath = `/v1/workflows/{id}`
11358
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
11359
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11360
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11361
+ let baseOptions;
11362
+ if (configuration) {
11363
+ baseOptions = configuration.baseOptions;
11364
+ }
11365
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
11366
+ const localVarHeaderParameter = {};
11367
+ const localVarQueryParameter = {};
11368
+ // authentication bearer required
11369
+ // http bearer authentication required
11370
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11371
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11372
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11373
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11374
+ return {
11375
+ url: toPathString(localVarUrlObj),
11376
+ options: localVarRequestOptions,
11377
+ };
11378
+ },
11075
11379
  };
11076
11380
  };
11077
11381
  /**
@@ -11081,6 +11385,55 @@ export const WorkflowsApiAxiosParamCreator = function (configuration) {
11081
11385
  export const WorkflowsApiFp = function (configuration) {
11082
11386
  const localVarAxiosParamCreator = WorkflowsApiAxiosParamCreator(configuration);
11083
11387
  return {
11388
+ /**
11389
+ *
11390
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11391
+ * @param {*} [options] Override http request option.
11392
+ * @throws {RequiredError}
11393
+ */
11394
+ async workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options) {
11395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options);
11396
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11397
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerCreateWorkflowV1']?.[localVarOperationServerIndex]?.url;
11398
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11399
+ },
11400
+ /**
11401
+ *
11402
+ * @param {string} id
11403
+ * @param {*} [options] Override http request option.
11404
+ * @throws {RequiredError}
11405
+ */
11406
+ async workflowsControllerDeleteWorkflowV1(id, options) {
11407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerDeleteWorkflowV1(id, options);
11408
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11409
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerDeleteWorkflowV1']?.[localVarOperationServerIndex]?.url;
11410
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11411
+ },
11412
+ /**
11413
+ *
11414
+ * @param {string} id
11415
+ * @param {*} [options] Override http request option.
11416
+ * @throws {RequiredError}
11417
+ */
11418
+ async workflowsControllerGetWorkflowV1(id, options) {
11419
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerGetWorkflowV1(id, options);
11420
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11421
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerGetWorkflowV1']?.[localVarOperationServerIndex]?.url;
11422
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11423
+ },
11424
+ /**
11425
+ *
11426
+ * @param {number} [limit]
11427
+ * @param {number} [offset]
11428
+ * @param {*} [options] Override http request option.
11429
+ * @throws {RequiredError}
11430
+ */
11431
+ async workflowsControllerListWorkflowsV1(limit, offset, options) {
11432
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerListWorkflowsV1(limit, offset, options);
11433
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11434
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerListWorkflowsV1']?.[localVarOperationServerIndex]?.url;
11435
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11436
+ },
11084
11437
  /**
11085
11438
  *
11086
11439
  * @param {string} workflowId
@@ -11094,6 +11447,18 @@ export const WorkflowsApiFp = function (configuration) {
11094
11447
  const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerRunWorkflowV1']?.[localVarOperationServerIndex]?.url;
11095
11448
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11096
11449
  },
11450
+ /**
11451
+ *
11452
+ * @param {string} id
11453
+ * @param {*} [options] Override http request option.
11454
+ * @throws {RequiredError}
11455
+ */
11456
+ async workflowsControllerUpdateWorkflowV1(id, options) {
11457
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerUpdateWorkflowV1(id, options);
11458
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11459
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerUpdateWorkflowV1']?.[localVarOperationServerIndex]?.url;
11460
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11461
+ },
11097
11462
  };
11098
11463
  };
11099
11464
  /**
@@ -11103,6 +11468,43 @@ export const WorkflowsApiFp = function (configuration) {
11103
11468
  export const WorkflowsApiFactory = function (configuration, basePath, axios) {
11104
11469
  const localVarFp = WorkflowsApiFp(configuration);
11105
11470
  return {
11471
+ /**
11472
+ *
11473
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11474
+ * @param {*} [options] Override http request option.
11475
+ * @throws {RequiredError}
11476
+ */
11477
+ workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options) {
11478
+ return localVarFp.workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options).then((request) => request(axios, basePath));
11479
+ },
11480
+ /**
11481
+ *
11482
+ * @param {string} id
11483
+ * @param {*} [options] Override http request option.
11484
+ * @throws {RequiredError}
11485
+ */
11486
+ workflowsControllerDeleteWorkflowV1(id, options) {
11487
+ return localVarFp.workflowsControllerDeleteWorkflowV1(id, options).then((request) => request(axios, basePath));
11488
+ },
11489
+ /**
11490
+ *
11491
+ * @param {string} id
11492
+ * @param {*} [options] Override http request option.
11493
+ * @throws {RequiredError}
11494
+ */
11495
+ workflowsControllerGetWorkflowV1(id, options) {
11496
+ return localVarFp.workflowsControllerGetWorkflowV1(id, options).then((request) => request(axios, basePath));
11497
+ },
11498
+ /**
11499
+ *
11500
+ * @param {number} [limit]
11501
+ * @param {number} [offset]
11502
+ * @param {*} [options] Override http request option.
11503
+ * @throws {RequiredError}
11504
+ */
11505
+ workflowsControllerListWorkflowsV1(limit, offset, options) {
11506
+ return localVarFp.workflowsControllerListWorkflowsV1(limit, offset, options).then((request) => request(axios, basePath));
11507
+ },
11106
11508
  /**
11107
11509
  *
11108
11510
  * @param {string} workflowId
@@ -11113,6 +11515,15 @@ export const WorkflowsApiFactory = function (configuration, basePath, axios) {
11113
11515
  workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options) {
11114
11516
  return localVarFp.workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options).then((request) => request(axios, basePath));
11115
11517
  },
11518
+ /**
11519
+ *
11520
+ * @param {string} id
11521
+ * @param {*} [options] Override http request option.
11522
+ * @throws {RequiredError}
11523
+ */
11524
+ workflowsControllerUpdateWorkflowV1(id, options) {
11525
+ return localVarFp.workflowsControllerUpdateWorkflowV1(id, options).then((request) => request(axios, basePath));
11526
+ },
11116
11527
  };
11117
11528
  };
11118
11529
  /**
@@ -11122,6 +11533,47 @@ export const WorkflowsApiFactory = function (configuration, basePath, axios) {
11122
11533
  * @extends {BaseAPI}
11123
11534
  */
11124
11535
  export class WorkflowsApi extends BaseAPI {
11536
+ /**
11537
+ *
11538
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11539
+ * @param {*} [options] Override http request option.
11540
+ * @throws {RequiredError}
11541
+ * @memberof WorkflowsApi
11542
+ */
11543
+ workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options) {
11544
+ return WorkflowsApiFp(this.configuration).workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options).then((request) => request(this.axios, this.basePath));
11545
+ }
11546
+ /**
11547
+ *
11548
+ * @param {string} id
11549
+ * @param {*} [options] Override http request option.
11550
+ * @throws {RequiredError}
11551
+ * @memberof WorkflowsApi
11552
+ */
11553
+ workflowsControllerDeleteWorkflowV1(id, options) {
11554
+ return WorkflowsApiFp(this.configuration).workflowsControllerDeleteWorkflowV1(id, options).then((request) => request(this.axios, this.basePath));
11555
+ }
11556
+ /**
11557
+ *
11558
+ * @param {string} id
11559
+ * @param {*} [options] Override http request option.
11560
+ * @throws {RequiredError}
11561
+ * @memberof WorkflowsApi
11562
+ */
11563
+ workflowsControllerGetWorkflowV1(id, options) {
11564
+ return WorkflowsApiFp(this.configuration).workflowsControllerGetWorkflowV1(id, options).then((request) => request(this.axios, this.basePath));
11565
+ }
11566
+ /**
11567
+ *
11568
+ * @param {number} [limit]
11569
+ * @param {number} [offset]
11570
+ * @param {*} [options] Override http request option.
11571
+ * @throws {RequiredError}
11572
+ * @memberof WorkflowsApi
11573
+ */
11574
+ workflowsControllerListWorkflowsV1(limit, offset, options) {
11575
+ return WorkflowsApiFp(this.configuration).workflowsControllerListWorkflowsV1(limit, offset, options).then((request) => request(this.axios, this.basePath));
11576
+ }
11125
11577
  /**
11126
11578
  *
11127
11579
  * @param {string} workflowId
@@ -11133,4 +11585,14 @@ export class WorkflowsApi extends BaseAPI {
11133
11585
  workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options) {
11134
11586
  return WorkflowsApiFp(this.configuration).workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options).then((request) => request(this.axios, this.basePath));
11135
11587
  }
11588
+ /**
11589
+ *
11590
+ * @param {string} id
11591
+ * @param {*} [options] Override http request option.
11592
+ * @throws {RequiredError}
11593
+ * @memberof WorkflowsApi
11594
+ */
11595
+ workflowsControllerUpdateWorkflowV1(id, options) {
11596
+ return WorkflowsApiFp(this.configuration).workflowsControllerUpdateWorkflowV1(id, options).then((request) => request(this.axios, this.basePath));
11597
+ }
11136
11598
  }
@@ -52,6 +52,12 @@ export type MethodsPermissions = {
52
52
  create: boolean;
53
53
  read: boolean;
54
54
  };
55
+ workflows: {
56
+ create: boolean;
57
+ read: boolean;
58
+ update: boolean;
59
+ delete: boolean;
60
+ };
55
61
  poses: {
56
62
  create: boolean;
57
63
  read: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {