@hautechai/sdk 0.3.30 → 0.3.32
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/autogenerated/api.d.ts +195 -62
- package/dist/autogenerated/api.js +134 -8
- package/dist/sdk/index.d.ts +40 -4
- package/dist/sdk/operations/index.d.ts +9 -1
- package/dist/sdk/operations/index.js +5 -0
- package/dist/sdk/pipelines/index.d.ts +35 -6
- package/dist/sdk/pipelines/index.js +6 -1
- package/dist/sdk/poses/index.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3692,65 +3692,6 @@ export declare const PipelineDtoStateValueStatusEnum: {
|
|
|
3692
3692
|
readonly Failed: "failed";
|
|
3693
3693
|
};
|
|
3694
3694
|
export type PipelineDtoStateValueStatusEnum = typeof PipelineDtoStateValueStatusEnum[keyof typeof PipelineDtoStateValueStatusEnum];
|
|
3695
|
-
/**
|
|
3696
|
-
*
|
|
3697
|
-
* @export
|
|
3698
|
-
* @interface PipelineEntity
|
|
3699
|
-
*/
|
|
3700
|
-
export interface PipelineEntity {
|
|
3701
|
-
/**
|
|
3702
|
-
*
|
|
3703
|
-
* @type {string}
|
|
3704
|
-
* @memberof PipelineEntity
|
|
3705
|
-
*/
|
|
3706
|
-
'kind': PipelineEntityKindEnum;
|
|
3707
|
-
/**
|
|
3708
|
-
*
|
|
3709
|
-
* @type {string}
|
|
3710
|
-
* @memberof PipelineEntity
|
|
3711
|
-
*/
|
|
3712
|
-
'status': PipelineEntityStatusEnum;
|
|
3713
|
-
/**
|
|
3714
|
-
*
|
|
3715
|
-
* @type {string}
|
|
3716
|
-
* @memberof PipelineEntity
|
|
3717
|
-
*/
|
|
3718
|
-
'id': string;
|
|
3719
|
-
/**
|
|
3720
|
-
*
|
|
3721
|
-
* @type {string}
|
|
3722
|
-
* @memberof PipelineEntity
|
|
3723
|
-
*/
|
|
3724
|
-
'creatorId': string;
|
|
3725
|
-
/**
|
|
3726
|
-
*
|
|
3727
|
-
* @type {object}
|
|
3728
|
-
* @memberof PipelineEntity
|
|
3729
|
-
*/
|
|
3730
|
-
'metadata': object;
|
|
3731
|
-
/**
|
|
3732
|
-
*
|
|
3733
|
-
* @type {string}
|
|
3734
|
-
* @memberof PipelineEntity
|
|
3735
|
-
*/
|
|
3736
|
-
'createdAt': string;
|
|
3737
|
-
/**
|
|
3738
|
-
*
|
|
3739
|
-
* @type {string}
|
|
3740
|
-
* @memberof PipelineEntity
|
|
3741
|
-
*/
|
|
3742
|
-
'updatedAt': string;
|
|
3743
|
-
}
|
|
3744
|
-
export declare const PipelineEntityKindEnum: {
|
|
3745
|
-
readonly Pipeline: "pipeline";
|
|
3746
|
-
};
|
|
3747
|
-
export type PipelineEntityKindEnum = typeof PipelineEntityKindEnum[keyof typeof PipelineEntityKindEnum];
|
|
3748
|
-
export declare const PipelineEntityStatusEnum: {
|
|
3749
|
-
readonly Pending: "pending";
|
|
3750
|
-
readonly Completed: "completed";
|
|
3751
|
-
readonly Failed: "failed";
|
|
3752
|
-
};
|
|
3753
|
-
export type PipelineEntityStatusEnum = typeof PipelineEntityStatusEnum[keyof typeof PipelineEntityStatusEnum];
|
|
3754
3695
|
/**
|
|
3755
3696
|
*
|
|
3756
3697
|
* @export
|
|
@@ -4738,6 +4679,121 @@ export interface StorageRecordsResultDto {
|
|
|
4738
4679
|
*/
|
|
4739
4680
|
'value': object;
|
|
4740
4681
|
}
|
|
4682
|
+
/**
|
|
4683
|
+
*
|
|
4684
|
+
* @export
|
|
4685
|
+
* @interface StringsTemplateV1Input
|
|
4686
|
+
*/
|
|
4687
|
+
export interface StringsTemplateV1Input {
|
|
4688
|
+
/**
|
|
4689
|
+
*
|
|
4690
|
+
* @type {string}
|
|
4691
|
+
* @memberof StringsTemplateV1Input
|
|
4692
|
+
*/
|
|
4693
|
+
'template': string;
|
|
4694
|
+
/**
|
|
4695
|
+
*
|
|
4696
|
+
* @type {Array<VariableDto>}
|
|
4697
|
+
* @memberof StringsTemplateV1Input
|
|
4698
|
+
*/
|
|
4699
|
+
'variables': Array<VariableDto>;
|
|
4700
|
+
}
|
|
4701
|
+
/**
|
|
4702
|
+
*
|
|
4703
|
+
* @export
|
|
4704
|
+
* @interface StringsTemplateV1Request
|
|
4705
|
+
*/
|
|
4706
|
+
export interface StringsTemplateV1Request {
|
|
4707
|
+
/**
|
|
4708
|
+
*
|
|
4709
|
+
* @type {StringsTemplateV1Input}
|
|
4710
|
+
* @memberof StringsTemplateV1Request
|
|
4711
|
+
*/
|
|
4712
|
+
'input': StringsTemplateV1Input;
|
|
4713
|
+
/**
|
|
4714
|
+
*
|
|
4715
|
+
* @type {object}
|
|
4716
|
+
* @memberof StringsTemplateV1Request
|
|
4717
|
+
*/
|
|
4718
|
+
'metadata'?: object;
|
|
4719
|
+
}
|
|
4720
|
+
/**
|
|
4721
|
+
*
|
|
4722
|
+
* @export
|
|
4723
|
+
* @interface StringsTemplateV1Response
|
|
4724
|
+
*/
|
|
4725
|
+
export interface StringsTemplateV1Response {
|
|
4726
|
+
/**
|
|
4727
|
+
*
|
|
4728
|
+
* @type {string}
|
|
4729
|
+
* @memberof StringsTemplateV1Response
|
|
4730
|
+
*/
|
|
4731
|
+
'kind': StringsTemplateV1ResponseKindEnum;
|
|
4732
|
+
/**
|
|
4733
|
+
*
|
|
4734
|
+
* @type {OperationOutputTextSingle}
|
|
4735
|
+
* @memberof StringsTemplateV1Response
|
|
4736
|
+
*/
|
|
4737
|
+
'output': OperationOutputTextSingle;
|
|
4738
|
+
/**
|
|
4739
|
+
*
|
|
4740
|
+
* @type {object}
|
|
4741
|
+
* @memberof StringsTemplateV1Response
|
|
4742
|
+
*/
|
|
4743
|
+
'input': object;
|
|
4744
|
+
/**
|
|
4745
|
+
*
|
|
4746
|
+
* @type {string}
|
|
4747
|
+
* @memberof StringsTemplateV1Response
|
|
4748
|
+
*/
|
|
4749
|
+
'status': StringsTemplateV1ResponseStatusEnum;
|
|
4750
|
+
/**
|
|
4751
|
+
*
|
|
4752
|
+
* @type {string}
|
|
4753
|
+
* @memberof StringsTemplateV1Response
|
|
4754
|
+
*/
|
|
4755
|
+
'type': string;
|
|
4756
|
+
/**
|
|
4757
|
+
*
|
|
4758
|
+
* @type {string}
|
|
4759
|
+
* @memberof StringsTemplateV1Response
|
|
4760
|
+
*/
|
|
4761
|
+
'id': string;
|
|
4762
|
+
/**
|
|
4763
|
+
*
|
|
4764
|
+
* @type {string}
|
|
4765
|
+
* @memberof StringsTemplateV1Response
|
|
4766
|
+
*/
|
|
4767
|
+
'creatorId': string;
|
|
4768
|
+
/**
|
|
4769
|
+
*
|
|
4770
|
+
* @type {object}
|
|
4771
|
+
* @memberof StringsTemplateV1Response
|
|
4772
|
+
*/
|
|
4773
|
+
'metadata': object;
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @type {string}
|
|
4777
|
+
* @memberof StringsTemplateV1Response
|
|
4778
|
+
*/
|
|
4779
|
+
'createdAt': string;
|
|
4780
|
+
/**
|
|
4781
|
+
*
|
|
4782
|
+
* @type {string}
|
|
4783
|
+
* @memberof StringsTemplateV1Response
|
|
4784
|
+
*/
|
|
4785
|
+
'updatedAt': string;
|
|
4786
|
+
}
|
|
4787
|
+
export declare const StringsTemplateV1ResponseKindEnum: {
|
|
4788
|
+
readonly Operation: "operation";
|
|
4789
|
+
};
|
|
4790
|
+
export type StringsTemplateV1ResponseKindEnum = typeof StringsTemplateV1ResponseKindEnum[keyof typeof StringsTemplateV1ResponseKindEnum];
|
|
4791
|
+
export declare const StringsTemplateV1ResponseStatusEnum: {
|
|
4792
|
+
readonly Pending: "pending";
|
|
4793
|
+
readonly Finished: "finished";
|
|
4794
|
+
readonly Failed: "failed";
|
|
4795
|
+
};
|
|
4796
|
+
export type StringsTemplateV1ResponseStatusEnum = typeof StringsTemplateV1ResponseStatusEnum[keyof typeof StringsTemplateV1ResponseStatusEnum];
|
|
4741
4797
|
/**
|
|
4742
4798
|
*
|
|
4743
4799
|
* @export
|
|
@@ -5044,6 +5100,25 @@ export declare const UpscaleV1ResponseStatusEnum: {
|
|
|
5044
5100
|
readonly Failed: "failed";
|
|
5045
5101
|
};
|
|
5046
5102
|
export type UpscaleV1ResponseStatusEnum = typeof UpscaleV1ResponseStatusEnum[keyof typeof UpscaleV1ResponseStatusEnum];
|
|
5103
|
+
/**
|
|
5104
|
+
*
|
|
5105
|
+
* @export
|
|
5106
|
+
* @interface VariableDto
|
|
5107
|
+
*/
|
|
5108
|
+
export interface VariableDto {
|
|
5109
|
+
/**
|
|
5110
|
+
*
|
|
5111
|
+
* @type {string}
|
|
5112
|
+
* @memberof VariableDto
|
|
5113
|
+
*/
|
|
5114
|
+
'name': string;
|
|
5115
|
+
/**
|
|
5116
|
+
*
|
|
5117
|
+
* @type {string}
|
|
5118
|
+
* @memberof VariableDto
|
|
5119
|
+
*/
|
|
5120
|
+
'value': string;
|
|
5121
|
+
}
|
|
5047
5122
|
/**
|
|
5048
5123
|
*
|
|
5049
5124
|
* @export
|
|
@@ -6083,6 +6158,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6083
6158
|
* @throws {RequiredError}
|
|
6084
6159
|
*/
|
|
6085
6160
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1: (segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6161
|
+
/**
|
|
6162
|
+
*
|
|
6163
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
6164
|
+
* @param {*} [options] Override http request option.
|
|
6165
|
+
* @throws {RequiredError}
|
|
6166
|
+
*/
|
|
6167
|
+
callControllerCallOperationsRunStringsTemplateV1V1: (stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6086
6168
|
/**
|
|
6087
6169
|
*
|
|
6088
6170
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -6558,6 +6640,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
|
|
|
6558
6640
|
* @throws {RequiredError}
|
|
6559
6641
|
*/
|
|
6560
6642
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SegmentAnythingMaskV1Response>>;
|
|
6643
|
+
/**
|
|
6644
|
+
*
|
|
6645
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
6646
|
+
* @param {*} [options] Override http request option.
|
|
6647
|
+
* @throws {RequiredError}
|
|
6648
|
+
*/
|
|
6649
|
+
callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringsTemplateV1Response>>;
|
|
6561
6650
|
/**
|
|
6562
6651
|
*
|
|
6563
6652
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -7033,6 +7122,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7033
7122
|
* @throws {RequiredError}
|
|
7034
7123
|
*/
|
|
7035
7124
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): AxiosPromise<SegmentAnythingMaskV1Response>;
|
|
7125
|
+
/**
|
|
7126
|
+
*
|
|
7127
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
7128
|
+
* @param {*} [options] Override http request option.
|
|
7129
|
+
* @throws {RequiredError}
|
|
7130
|
+
*/
|
|
7131
|
+
callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<StringsTemplateV1Response>;
|
|
7036
7132
|
/**
|
|
7037
7133
|
*
|
|
7038
7134
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -7557,6 +7653,14 @@ export declare class CallApi extends BaseAPI {
|
|
|
7557
7653
|
* @memberof CallApi
|
|
7558
7654
|
*/
|
|
7559
7655
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SegmentAnythingMaskV1Response, any>>;
|
|
7656
|
+
/**
|
|
7657
|
+
*
|
|
7658
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
7659
|
+
* @param {*} [options] Override http request option.
|
|
7660
|
+
* @throws {RequiredError}
|
|
7661
|
+
* @memberof CallApi
|
|
7662
|
+
*/
|
|
7663
|
+
callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StringsTemplateV1Response, any>>;
|
|
7560
7664
|
/**
|
|
7561
7665
|
*
|
|
7562
7666
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -8524,6 +8628,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
8524
8628
|
* @throws {RequiredError}
|
|
8525
8629
|
*/
|
|
8526
8630
|
operationsControllerRunSegmentAnythingMaskV1V1: (segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8631
|
+
/**
|
|
8632
|
+
*
|
|
8633
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
8634
|
+
* @param {*} [options] Override http request option.
|
|
8635
|
+
* @throws {RequiredError}
|
|
8636
|
+
*/
|
|
8637
|
+
operationsControllerRunStringsTemplateV1V1: (stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8527
8638
|
/**
|
|
8528
8639
|
*
|
|
8529
8640
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -8715,6 +8826,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
|
|
|
8715
8826
|
* @throws {RequiredError}
|
|
8716
8827
|
*/
|
|
8717
8828
|
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SegmentAnythingMaskV1Response>>;
|
|
8829
|
+
/**
|
|
8830
|
+
*
|
|
8831
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
8832
|
+
* @param {*} [options] Override http request option.
|
|
8833
|
+
* @throws {RequiredError}
|
|
8834
|
+
*/
|
|
8835
|
+
operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringsTemplateV1Response>>;
|
|
8718
8836
|
/**
|
|
8719
8837
|
*
|
|
8720
8838
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -8906,6 +9024,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
|
|
|
8906
9024
|
* @throws {RequiredError}
|
|
8907
9025
|
*/
|
|
8908
9026
|
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): AxiosPromise<SegmentAnythingMaskV1Response>;
|
|
9027
|
+
/**
|
|
9028
|
+
*
|
|
9029
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
9030
|
+
* @param {*} [options] Override http request option.
|
|
9031
|
+
* @throws {RequiredError}
|
|
9032
|
+
*/
|
|
9033
|
+
operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<StringsTemplateV1Response>;
|
|
8909
9034
|
/**
|
|
8910
9035
|
*
|
|
8911
9036
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -9121,6 +9246,14 @@ export declare class OperationsApi extends BaseAPI {
|
|
|
9121
9246
|
* @memberof OperationsApi
|
|
9122
9247
|
*/
|
|
9123
9248
|
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request: SegmentAnythingMaskV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SegmentAnythingMaskV1Response, any>>;
|
|
9249
|
+
/**
|
|
9250
|
+
*
|
|
9251
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
9252
|
+
* @param {*} [options] Override http request option.
|
|
9253
|
+
* @throws {RequiredError}
|
|
9254
|
+
* @memberof OperationsApi
|
|
9255
|
+
*/
|
|
9256
|
+
operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request: StringsTemplateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StringsTemplateV1Response, any>>;
|
|
9124
9257
|
/**
|
|
9125
9258
|
*
|
|
9126
9259
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -9256,7 +9389,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
|
|
|
9256
9389
|
* @param {*} [options] Override http request option.
|
|
9257
9390
|
* @throws {RequiredError}
|
|
9258
9391
|
*/
|
|
9259
|
-
pipelinesControllerCreatePipelineV1(createPipelineParamsDto: CreatePipelineParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
9392
|
+
pipelinesControllerCreatePipelineV1(createPipelineParamsDto: CreatePipelineParamsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PipelineDto>>;
|
|
9260
9393
|
/**
|
|
9261
9394
|
*
|
|
9262
9395
|
* @param {string} id
|
|
@@ -9285,7 +9418,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
|
|
|
9285
9418
|
* @param {*} [options] Override http request option.
|
|
9286
9419
|
* @throws {RequiredError}
|
|
9287
9420
|
*/
|
|
9288
|
-
pipelinesControllerCreatePipelineV1(createPipelineParamsDto: CreatePipelineParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
9421
|
+
pipelinesControllerCreatePipelineV1(createPipelineParamsDto: CreatePipelineParamsDto, options?: RawAxiosRequestConfig): AxiosPromise<PipelineDto>;
|
|
9289
9422
|
/**
|
|
9290
9423
|
*
|
|
9291
9424
|
* @param {string} id
|
|
@@ -9317,7 +9450,7 @@ export declare class PipelinesApi extends BaseAPI {
|
|
|
9317
9450
|
* @throws {RequiredError}
|
|
9318
9451
|
* @memberof PipelinesApi
|
|
9319
9452
|
*/
|
|
9320
|
-
pipelinesControllerCreatePipelineV1(createPipelineParamsDto: CreatePipelineParamsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
9453
|
+
pipelinesControllerCreatePipelineV1(createPipelineParamsDto: CreatePipelineParamsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PipelineDto, any>>;
|
|
9321
9454
|
/**
|
|
9322
9455
|
*
|
|
9323
9456
|
* @param {string} id
|
|
@@ -334,14 +334,6 @@ export const PipelineDtoStateValueStatusEnum = {
|
|
|
334
334
|
Completed: 'completed',
|
|
335
335
|
Failed: 'failed'
|
|
336
336
|
};
|
|
337
|
-
export const PipelineEntityKindEnum = {
|
|
338
|
-
Pipeline: 'pipeline'
|
|
339
|
-
};
|
|
340
|
-
export const PipelineEntityStatusEnum = {
|
|
341
|
-
Pending: 'pending',
|
|
342
|
-
Completed: 'completed',
|
|
343
|
-
Failed: 'failed'
|
|
344
|
-
};
|
|
345
337
|
export const PipelinePreviewDtoKindEnum = {
|
|
346
338
|
Pipeline: 'pipeline'
|
|
347
339
|
};
|
|
@@ -415,6 +407,14 @@ export const StackEntityKindEnum = {
|
|
|
415
407
|
export const StorageEntityKindEnum = {
|
|
416
408
|
Storage: 'storage'
|
|
417
409
|
};
|
|
410
|
+
export const StringsTemplateV1ResponseKindEnum = {
|
|
411
|
+
Operation: 'operation'
|
|
412
|
+
};
|
|
413
|
+
export const StringsTemplateV1ResponseStatusEnum = {
|
|
414
|
+
Pending: 'pending',
|
|
415
|
+
Finished: 'finished',
|
|
416
|
+
Failed: 'failed'
|
|
417
|
+
};
|
|
418
418
|
export const TranslateV1ResponseKindEnum = {
|
|
419
419
|
Operation: 'operation'
|
|
420
420
|
};
|
|
@@ -2919,6 +2919,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2919
2919
|
options: localVarRequestOptions,
|
|
2920
2920
|
};
|
|
2921
2921
|
},
|
|
2922
|
+
/**
|
|
2923
|
+
*
|
|
2924
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
2925
|
+
* @param {*} [options] Override http request option.
|
|
2926
|
+
* @throws {RequiredError}
|
|
2927
|
+
*/
|
|
2928
|
+
callControllerCallOperationsRunStringsTemplateV1V1: async (stringsTemplateV1Request, options = {}) => {
|
|
2929
|
+
// verify required parameter 'stringsTemplateV1Request' is not null or undefined
|
|
2930
|
+
assertParamExists('callControllerCallOperationsRunStringsTemplateV1V1', 'stringsTemplateV1Request', stringsTemplateV1Request);
|
|
2931
|
+
const localVarPath = `/v1/call/operations.run.strings.template.v1`;
|
|
2932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2934
|
+
let baseOptions;
|
|
2935
|
+
if (configuration) {
|
|
2936
|
+
baseOptions = configuration.baseOptions;
|
|
2937
|
+
}
|
|
2938
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2939
|
+
const localVarHeaderParameter = {};
|
|
2940
|
+
const localVarQueryParameter = {};
|
|
2941
|
+
// authentication bearer required
|
|
2942
|
+
// http bearer authentication required
|
|
2943
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2944
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2947
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2948
|
+
localVarRequestOptions.data = serializeDataIfNeeded(stringsTemplateV1Request, localVarRequestOptions, configuration);
|
|
2949
|
+
return {
|
|
2950
|
+
url: toPathString(localVarUrlObj),
|
|
2951
|
+
options: localVarRequestOptions,
|
|
2952
|
+
};
|
|
2953
|
+
},
|
|
2922
2954
|
/**
|
|
2923
2955
|
*
|
|
2924
2956
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -4132,6 +4164,18 @@ export const CallApiFp = function (configuration) {
|
|
|
4132
4164
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunSegmentAnythingMaskV1V1']?.[localVarOperationServerIndex]?.url;
|
|
4133
4165
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4134
4166
|
},
|
|
4167
|
+
/**
|
|
4168
|
+
*
|
|
4169
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
4170
|
+
* @param {*} [options] Override http request option.
|
|
4171
|
+
* @throws {RequiredError}
|
|
4172
|
+
*/
|
|
4173
|
+
async callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request, options) {
|
|
4174
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request, options);
|
|
4175
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4176
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunStringsTemplateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
4177
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4178
|
+
},
|
|
4135
4179
|
/**
|
|
4136
4180
|
*
|
|
4137
4181
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -4804,6 +4848,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4804
4848
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
4805
4849
|
return localVarFp.callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(axios, basePath));
|
|
4806
4850
|
},
|
|
4851
|
+
/**
|
|
4852
|
+
*
|
|
4853
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
4854
|
+
* @param {*} [options] Override http request option.
|
|
4855
|
+
* @throws {RequiredError}
|
|
4856
|
+
*/
|
|
4857
|
+
callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request, options) {
|
|
4858
|
+
return localVarFp.callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request, options).then((request) => request(axios, basePath));
|
|
4859
|
+
},
|
|
4807
4860
|
/**
|
|
4808
4861
|
*
|
|
4809
4862
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -5463,6 +5516,16 @@ export class CallApi extends BaseAPI {
|
|
|
5463
5516
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
5464
5517
|
return CallApiFp(this.configuration).callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5465
5518
|
}
|
|
5519
|
+
/**
|
|
5520
|
+
*
|
|
5521
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
5522
|
+
* @param {*} [options] Override http request option.
|
|
5523
|
+
* @throws {RequiredError}
|
|
5524
|
+
* @memberof CallApi
|
|
5525
|
+
*/
|
|
5526
|
+
callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request, options) {
|
|
5527
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunStringsTemplateV1V1(stringsTemplateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5528
|
+
}
|
|
5466
5529
|
/**
|
|
5467
5530
|
*
|
|
5468
5531
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -7645,6 +7708,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
7645
7708
|
options: localVarRequestOptions,
|
|
7646
7709
|
};
|
|
7647
7710
|
},
|
|
7711
|
+
/**
|
|
7712
|
+
*
|
|
7713
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
7714
|
+
* @param {*} [options] Override http request option.
|
|
7715
|
+
* @throws {RequiredError}
|
|
7716
|
+
*/
|
|
7717
|
+
operationsControllerRunStringsTemplateV1V1: async (stringsTemplateV1Request, options = {}) => {
|
|
7718
|
+
// verify required parameter 'stringsTemplateV1Request' is not null or undefined
|
|
7719
|
+
assertParamExists('operationsControllerRunStringsTemplateV1V1', 'stringsTemplateV1Request', stringsTemplateV1Request);
|
|
7720
|
+
const localVarPath = `/v1/operations/run/strings.template.v1`;
|
|
7721
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7722
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7723
|
+
let baseOptions;
|
|
7724
|
+
if (configuration) {
|
|
7725
|
+
baseOptions = configuration.baseOptions;
|
|
7726
|
+
}
|
|
7727
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7728
|
+
const localVarHeaderParameter = {};
|
|
7729
|
+
const localVarQueryParameter = {};
|
|
7730
|
+
// authentication bearer required
|
|
7731
|
+
// http bearer authentication required
|
|
7732
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7733
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7734
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7735
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7736
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7737
|
+
localVarRequestOptions.data = serializeDataIfNeeded(stringsTemplateV1Request, localVarRequestOptions, configuration);
|
|
7738
|
+
return {
|
|
7739
|
+
url: toPathString(localVarUrlObj),
|
|
7740
|
+
options: localVarRequestOptions,
|
|
7741
|
+
};
|
|
7742
|
+
},
|
|
7648
7743
|
/**
|
|
7649
7744
|
*
|
|
7650
7745
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -8052,6 +8147,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
8052
8147
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunSegmentAnythingMaskV1V1']?.[localVarOperationServerIndex]?.url;
|
|
8053
8148
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8054
8149
|
},
|
|
8150
|
+
/**
|
|
8151
|
+
*
|
|
8152
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
8153
|
+
* @param {*} [options] Override http request option.
|
|
8154
|
+
* @throws {RequiredError}
|
|
8155
|
+
*/
|
|
8156
|
+
async operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request, options) {
|
|
8157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request, options);
|
|
8158
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8159
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunStringsTemplateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
8160
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8161
|
+
},
|
|
8055
8162
|
/**
|
|
8056
8163
|
*
|
|
8057
8164
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -8310,6 +8417,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
8310
8417
|
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
8311
8418
|
return localVarFp.operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(axios, basePath));
|
|
8312
8419
|
},
|
|
8420
|
+
/**
|
|
8421
|
+
*
|
|
8422
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
8423
|
+
* @param {*} [options] Override http request option.
|
|
8424
|
+
* @throws {RequiredError}
|
|
8425
|
+
*/
|
|
8426
|
+
operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request, options) {
|
|
8427
|
+
return localVarFp.operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request, options).then((request) => request(axios, basePath));
|
|
8428
|
+
},
|
|
8313
8429
|
/**
|
|
8314
8430
|
*
|
|
8315
8431
|
* @param {TranslateV1Request} translateV1Request
|
|
@@ -8578,6 +8694,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
8578
8694
|
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
8579
8695
|
return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8580
8696
|
}
|
|
8697
|
+
/**
|
|
8698
|
+
*
|
|
8699
|
+
* @param {StringsTemplateV1Request} stringsTemplateV1Request
|
|
8700
|
+
* @param {*} [options] Override http request option.
|
|
8701
|
+
* @throws {RequiredError}
|
|
8702
|
+
* @memberof OperationsApi
|
|
8703
|
+
*/
|
|
8704
|
+
operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request, options) {
|
|
8705
|
+
return OperationsApiFp(this.configuration).operationsControllerRunStringsTemplateV1V1(stringsTemplateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8706
|
+
}
|
|
8581
8707
|
/**
|
|
8582
8708
|
*
|
|
8583
8709
|
* @param {TranslateV1Request} translateV1Request
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -249,6 +249,14 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
249
249
|
metadata?: any;
|
|
250
250
|
}) => Promise<import("../autogenerated").ResizeV1Response>;
|
|
251
251
|
};
|
|
252
|
+
strings: {
|
|
253
|
+
template: {
|
|
254
|
+
v1: (props: {
|
|
255
|
+
input: import("../autogenerated").StringsTemplateV1Input;
|
|
256
|
+
metadata?: any;
|
|
257
|
+
}) => Promise<import("../autogenerated").StringsTemplateV1Response>;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
252
260
|
};
|
|
253
261
|
get: (props: {
|
|
254
262
|
id: string;
|
|
@@ -499,6 +507,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
499
507
|
__taskOutput__?: never;
|
|
500
508
|
}) => Promise<import("../autogenerated").ResizeV1Response>;
|
|
501
509
|
};
|
|
510
|
+
strings: {
|
|
511
|
+
template: {
|
|
512
|
+
v1: (params: import("../autogenerated").StringsTemplateV1Request & {
|
|
513
|
+
__taskOutput__?: never;
|
|
514
|
+
}) => Promise<import("../autogenerated").StringsTemplateV1Response>;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
502
517
|
};
|
|
503
518
|
wait: (params: import("../autogenerated").WaitOperationParamsDto & {
|
|
504
519
|
__taskOutput__?: never;
|
|
@@ -762,6 +777,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
762
777
|
__taskOutput__?: never;
|
|
763
778
|
}) => Promise<import("../autogenerated").ResizeV1Response>;
|
|
764
779
|
};
|
|
780
|
+
strings: {
|
|
781
|
+
template: {
|
|
782
|
+
v1: (params: import("../autogenerated").StringsTemplateV1Request & {
|
|
783
|
+
__taskOutput__?: never;
|
|
784
|
+
}) => Promise<import("../autogenerated").StringsTemplateV1Response>;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
765
787
|
};
|
|
766
788
|
wait: (params: import("../autogenerated").WaitOperationParamsDto & {
|
|
767
789
|
__taskOutput__?: never;
|
|
@@ -1025,6 +1047,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1025
1047
|
__taskOutput__?: never;
|
|
1026
1048
|
}) => Promise<import("../autogenerated").ResizeV1Response>;
|
|
1027
1049
|
};
|
|
1050
|
+
strings: {
|
|
1051
|
+
template: {
|
|
1052
|
+
v1: (params: import("../autogenerated").StringsTemplateV1Request & {
|
|
1053
|
+
__taskOutput__?: never;
|
|
1054
|
+
}) => Promise<import("../autogenerated").StringsTemplateV1Response>;
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1028
1057
|
};
|
|
1029
1058
|
wait: (params: import("../autogenerated").WaitOperationParamsDto & {
|
|
1030
1059
|
__taskOutput__?: never;
|
|
@@ -1291,6 +1320,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1291
1320
|
__taskOutput__?: never;
|
|
1292
1321
|
}) => Promise<import("../autogenerated").ResizeV1Response>;
|
|
1293
1322
|
};
|
|
1323
|
+
strings: {
|
|
1324
|
+
template: {
|
|
1325
|
+
v1: (params: import("../autogenerated").StringsTemplateV1Request & {
|
|
1326
|
+
__taskOutput__?: never;
|
|
1327
|
+
}) => Promise<import("../autogenerated").StringsTemplateV1Response>;
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1294
1330
|
};
|
|
1295
1331
|
wait: (params: import("../autogenerated").WaitOperationParamsDto & {
|
|
1296
1332
|
__taskOutput__?: never;
|
|
@@ -1341,25 +1377,25 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1341
1377
|
}) => Promise<import("../types").StorageEntity>;
|
|
1342
1378
|
};
|
|
1343
1379
|
}>;
|
|
1344
|
-
}) => Promise<Omit<import("../types").
|
|
1380
|
+
}) => Promise<Omit<import("../types").PipelineDto, "metadata"> & {
|
|
1345
1381
|
metadata: PipelineMetadata;
|
|
1346
1382
|
}>;
|
|
1347
1383
|
get: (props: {
|
|
1348
1384
|
id: string;
|
|
1349
|
-
}) => Promise<(Omit<import("../types").
|
|
1385
|
+
}) => Promise<(Omit<import("../types").PipelineDto, "metadata"> & {
|
|
1350
1386
|
metadata: PipelineMetadata;
|
|
1351
1387
|
}) | undefined>;
|
|
1352
1388
|
list: (props?: {
|
|
1353
1389
|
orderBy?: import("../autogenerated").PipelinesControllerListPipelinesV1OrderByEnum;
|
|
1354
1390
|
limit?: number;
|
|
1355
1391
|
cursor?: string;
|
|
1356
|
-
}) => Promise<import("../types").ListResponse<Omit<import("../types").
|
|
1392
|
+
}) => Promise<import("../types").ListResponse<Omit<import("../types").PipelinePreviewDto, "metadata"> & {
|
|
1357
1393
|
metadata: PipelineMetadata;
|
|
1358
1394
|
}>>;
|
|
1359
1395
|
wait: (props: {
|
|
1360
1396
|
id: string;
|
|
1361
1397
|
timeoutInSeconds?: number;
|
|
1362
|
-
}) => Promise<Omit<import("../types").
|
|
1398
|
+
}) => Promise<Omit<import("../types").PipelineDto, "metadata"> & {
|
|
1363
1399
|
metadata: PipelineMetadata;
|
|
1364
1400
|
}>;
|
|
1365
1401
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimateKling16ProV1Input, AnimateKling16ProV1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, ResizeV1Input, ResizeV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
1
|
+
import { AnimateKling16ProV1Input, AnimateKling16ProV1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, ResizeV1Input, ResizeV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, StringsTemplateV1Input, StringsTemplateV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
2
2
|
import { ListProps, ListResponse, SDKOptions } from '../../types';
|
|
3
3
|
import { OperationMetadata } from '../index';
|
|
4
4
|
import { OperationsListener } from '../listeners';
|
|
@@ -148,6 +148,14 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
|
|
|
148
148
|
metadata?: any;
|
|
149
149
|
}) => Promise<ResizeV1Response>;
|
|
150
150
|
};
|
|
151
|
+
strings: {
|
|
152
|
+
template: {
|
|
153
|
+
v1: (props: {
|
|
154
|
+
input: StringsTemplateV1Input;
|
|
155
|
+
metadata?: any;
|
|
156
|
+
}) => Promise<StringsTemplateV1Response>;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
151
159
|
};
|
|
152
160
|
get: (props: {
|
|
153
161
|
id: string;
|
|
@@ -79,6 +79,11 @@ const operations = (options, operationsListener) => {
|
|
|
79
79
|
resize: {
|
|
80
80
|
v1: createOperation((methods, props) => methods.operationsControllerRunResizeV1V1(props)),
|
|
81
81
|
},
|
|
82
|
+
strings: {
|
|
83
|
+
template: {
|
|
84
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunStringsTemplateV1V1(props)),
|
|
85
|
+
},
|
|
86
|
+
},
|
|
82
87
|
},
|
|
83
88
|
get: (props) => api.callWithReturningUndefinedOn404({
|
|
84
89
|
run: (methods) => methods.operationsControllerGetOperationV1(props.id),
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { PipelineEntity, PipelinesControllerListPipelinesV1OrderByEnum } from '../../autogenerated';
|
|
2
1
|
import { Pipeline } from '@hautechai/pipelines';
|
|
2
|
+
import { PipelineDto, PipelinePreviewDto, PipelinesControllerListPipelinesV1OrderByEnum } from '../../autogenerated';
|
|
3
3
|
import { ListResponse, SDKOptions } from '../../types';
|
|
4
4
|
import { PipelineMetadata } from '../index';
|
|
5
5
|
import { AddMetadata } from '../utils';
|
|
6
|
-
type
|
|
6
|
+
type PipelineDtoWithMetadata = AddMetadata<PipelineDto, PipelineMetadata>;
|
|
7
|
+
type PipelinePreviewDtoWithMetadata = AddMetadata<PipelinePreviewDto, PipelineMetadata>;
|
|
7
8
|
declare const pipelines: (options: SDKOptions) => {
|
|
8
9
|
constructTemplate: (consructPipeline: (pipeline: Pipeline<{
|
|
9
10
|
access: {
|
|
@@ -219,6 +220,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
219
220
|
__taskOutput__?: never;
|
|
220
221
|
}) => Promise<import("../../autogenerated").ResizeV1Response>;
|
|
221
222
|
};
|
|
223
|
+
strings: {
|
|
224
|
+
template: {
|
|
225
|
+
v1: (params: import("../../autogenerated").StringsTemplateV1Request & {
|
|
226
|
+
__taskOutput__?: never;
|
|
227
|
+
}) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
222
230
|
};
|
|
223
231
|
wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
|
|
224
232
|
__taskOutput__?: never;
|
|
@@ -482,6 +490,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
482
490
|
__taskOutput__?: never;
|
|
483
491
|
}) => Promise<import("../../autogenerated").ResizeV1Response>;
|
|
484
492
|
};
|
|
493
|
+
strings: {
|
|
494
|
+
template: {
|
|
495
|
+
v1: (params: import("../../autogenerated").StringsTemplateV1Request & {
|
|
496
|
+
__taskOutput__?: never;
|
|
497
|
+
}) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
485
500
|
};
|
|
486
501
|
wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
|
|
487
502
|
__taskOutput__?: never;
|
|
@@ -745,6 +760,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
745
760
|
__taskOutput__?: never;
|
|
746
761
|
}) => Promise<import("../../autogenerated").ResizeV1Response>;
|
|
747
762
|
};
|
|
763
|
+
strings: {
|
|
764
|
+
template: {
|
|
765
|
+
v1: (params: import("../../autogenerated").StringsTemplateV1Request & {
|
|
766
|
+
__taskOutput__?: never;
|
|
767
|
+
}) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
|
|
768
|
+
};
|
|
769
|
+
};
|
|
748
770
|
};
|
|
749
771
|
wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
|
|
750
772
|
__taskOutput__?: never;
|
|
@@ -1011,6 +1033,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
1011
1033
|
__taskOutput__?: never;
|
|
1012
1034
|
}) => Promise<import("../../autogenerated").ResizeV1Response>;
|
|
1013
1035
|
};
|
|
1036
|
+
strings: {
|
|
1037
|
+
template: {
|
|
1038
|
+
v1: (params: import("../../autogenerated").StringsTemplateV1Request & {
|
|
1039
|
+
__taskOutput__?: never;
|
|
1040
|
+
}) => Promise<import("../../autogenerated").StringsTemplateV1Response>;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1014
1043
|
};
|
|
1015
1044
|
wait: (params: import("../../autogenerated").WaitOperationParamsDto & {
|
|
1016
1045
|
__taskOutput__?: never;
|
|
@@ -1061,18 +1090,18 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
1061
1090
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
1062
1091
|
};
|
|
1063
1092
|
}>;
|
|
1064
|
-
}) => Promise<
|
|
1093
|
+
}) => Promise<PipelineDtoWithMetadata>;
|
|
1065
1094
|
get: (props: {
|
|
1066
1095
|
id: string;
|
|
1067
|
-
}) => Promise<
|
|
1096
|
+
}) => Promise<PipelineDtoWithMetadata | undefined>;
|
|
1068
1097
|
list: (props?: {
|
|
1069
1098
|
orderBy?: PipelinesControllerListPipelinesV1OrderByEnum;
|
|
1070
1099
|
limit?: number;
|
|
1071
1100
|
cursor?: string;
|
|
1072
|
-
}) => Promise<ListResponse<
|
|
1101
|
+
}) => Promise<ListResponse<PipelinePreviewDtoWithMetadata>>;
|
|
1073
1102
|
wait: (props: {
|
|
1074
1103
|
id: string;
|
|
1075
1104
|
timeoutInSeconds?: number;
|
|
1076
|
-
}) => Promise<
|
|
1105
|
+
}) => Promise<PipelineDtoWithMetadata>;
|
|
1077
1106
|
};
|
|
1078
1107
|
export default pipelines;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CallApi, PipelinesApi, } from '../../autogenerated';
|
|
2
1
|
import { Pipeline } from '@hautechai/pipelines';
|
|
2
|
+
import { CallApi, PipelinesApi, } from '../../autogenerated';
|
|
3
3
|
import { useAutogeneratedAPI } from '../api';
|
|
4
4
|
import { transformToListResponse } from '../transformers';
|
|
5
5
|
const pipelines = (options) => {
|
|
@@ -130,6 +130,11 @@ const pipelines = (options) => {
|
|
|
130
130
|
resize: {
|
|
131
131
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunResizeV1V1),
|
|
132
132
|
},
|
|
133
|
+
strings: {
|
|
134
|
+
template: {
|
|
135
|
+
v1: callMethod((methods) => methods.callControllerCallOperationsRunStringsTemplateV1V1),
|
|
136
|
+
},
|
|
137
|
+
},
|
|
133
138
|
},
|
|
134
139
|
wait: callMethod((methods) => methods.callControllerCallOperationsWaitV1),
|
|
135
140
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ListResponse, SDKOptions } from '../../types';
|
|
2
1
|
import { ListPosesParamsDto, PoseEntity } from '../../autogenerated';
|
|
2
|
+
import { ListResponse, SDKOptions } from '../../types';
|
|
3
3
|
import { PoseMetadata } from '../index';
|
|
4
4
|
import { AddMetadata } from '../utils';
|
|
5
5
|
type PoseEntityWithMetadata = AddMetadata<PoseEntity, PoseMetadata>;
|
package/dist/types.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export type ListProps = {
|
|
|
12
12
|
export declare class ListResponse<T> extends Array<T> {
|
|
13
13
|
nextCursor?: string;
|
|
14
14
|
}
|
|
15
|
-
export { AccountEntity, CollectionEntity, GroupEntity, ImageEntity, OperationEntity,
|
|
15
|
+
export { AccountEntity, CollectionEntity, GroupEntity, ImageEntity, OperationEntity, PipelineDto, PipelinePreviewDto, ResourceEntity, StackEntity, StorageEntity, } from './autogenerated/api';
|