@hautechai/sdk 0.3.27 → 0.3.30
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 +194 -40
- package/dist/autogenerated/api.js +21 -2
- package/package.json +1 -1
|
@@ -451,6 +451,12 @@ export type CollectionEntityKindEnum = typeof CollectionEntityKindEnum[keyof typ
|
|
|
451
451
|
* @interface CompositeElement
|
|
452
452
|
*/
|
|
453
453
|
export interface CompositeElement {
|
|
454
|
+
/**
|
|
455
|
+
* libvips blending mode
|
|
456
|
+
* @type {string}
|
|
457
|
+
* @memberof CompositeElement
|
|
458
|
+
*/
|
|
459
|
+
'blend': CompositeElementBlendEnum;
|
|
454
460
|
/**
|
|
455
461
|
*
|
|
456
462
|
* @type {string}
|
|
@@ -488,6 +494,13 @@ export interface CompositeElement {
|
|
|
488
494
|
*/
|
|
489
495
|
'fit': CompositeElementFitEnum;
|
|
490
496
|
}
|
|
497
|
+
export declare const CompositeElementBlendEnum: {
|
|
498
|
+
readonly Over: "over";
|
|
499
|
+
readonly Screen: "screen";
|
|
500
|
+
readonly Difference: "difference";
|
|
501
|
+
readonly Multiply: "multiply";
|
|
502
|
+
};
|
|
503
|
+
export type CompositeElementBlendEnum = typeof CompositeElementBlendEnum[keyof typeof CompositeElementBlendEnum];
|
|
491
504
|
export declare const CompositeElementFitEnum: {
|
|
492
505
|
readonly Cover: "cover";
|
|
493
506
|
readonly Contain: "contain";
|
|
@@ -2674,10 +2687,10 @@ export type ListOperationsParamsDtoOrderByEnum = typeof ListOperationsParamsDtoO
|
|
|
2674
2687
|
export interface ListPipelinesDto {
|
|
2675
2688
|
/**
|
|
2676
2689
|
*
|
|
2677
|
-
* @type {Array<
|
|
2690
|
+
* @type {Array<PipelinePreviewDto>}
|
|
2678
2691
|
* @memberof ListPipelinesDto
|
|
2679
2692
|
*/
|
|
2680
|
-
'data': Array<
|
|
2693
|
+
'data': Array<PipelinePreviewDto>;
|
|
2681
2694
|
/**
|
|
2682
2695
|
*
|
|
2683
2696
|
* @type {ListAccountsDtoPageInfo}
|
|
@@ -2942,6 +2955,18 @@ export type ModifyAccessParamsDtoPrincipalTypeEnum = typeof ModifyAccessParamsDt
|
|
|
2942
2955
|
* @interface NaomiHauteV1Input
|
|
2943
2956
|
*/
|
|
2944
2957
|
export interface NaomiHauteV1Input {
|
|
2958
|
+
/**
|
|
2959
|
+
* The category of the second garment
|
|
2960
|
+
* @type {string}
|
|
2961
|
+
* @memberof NaomiHauteV1Input
|
|
2962
|
+
*/
|
|
2963
|
+
'secondaryCategory'?: string;
|
|
2964
|
+
/**
|
|
2965
|
+
* The image of the second garment
|
|
2966
|
+
* @type {string}
|
|
2967
|
+
* @memberof NaomiHauteV1Input
|
|
2968
|
+
*/
|
|
2969
|
+
'secondaryGarmentImageId'?: string;
|
|
2945
2970
|
/**
|
|
2946
2971
|
* UNSTABLE
|
|
2947
2972
|
* @type {Array<string>}
|
|
@@ -3560,21 +3585,125 @@ export type OperationOutputVideoSingleKindEnum = typeof OperationOutputVideoSing
|
|
|
3560
3585
|
/**
|
|
3561
3586
|
*
|
|
3562
3587
|
* @export
|
|
3563
|
-
* @interface
|
|
3588
|
+
* @interface PipelineDto
|
|
3564
3589
|
*/
|
|
3565
|
-
export interface
|
|
3590
|
+
export interface PipelineDto {
|
|
3566
3591
|
/**
|
|
3567
3592
|
*
|
|
3568
3593
|
* @type {string}
|
|
3569
|
-
* @memberof
|
|
3594
|
+
* @memberof PipelineDto
|
|
3570
3595
|
*/
|
|
3571
|
-
'kind':
|
|
3596
|
+
'kind': PipelineDtoKindEnum;
|
|
3597
|
+
/**
|
|
3598
|
+
* State of the pipeline tasks
|
|
3599
|
+
* @type {{ [key: string]: PipelineDtoStateValue; }}
|
|
3600
|
+
* @memberof PipelineDto
|
|
3601
|
+
*/
|
|
3602
|
+
'state': {
|
|
3603
|
+
[key: string]: PipelineDtoStateValue;
|
|
3604
|
+
};
|
|
3605
|
+
/**
|
|
3606
|
+
*
|
|
3607
|
+
* @type {object}
|
|
3608
|
+
* @memberof PipelineDto
|
|
3609
|
+
*/
|
|
3610
|
+
'output'?: object;
|
|
3611
|
+
/**
|
|
3612
|
+
*
|
|
3613
|
+
* @type {Array<TaskDto>}
|
|
3614
|
+
* @memberof PipelineDto
|
|
3615
|
+
*/
|
|
3616
|
+
'tasks': Array<TaskDto>;
|
|
3617
|
+
/**
|
|
3618
|
+
*
|
|
3619
|
+
* @type {string}
|
|
3620
|
+
* @memberof PipelineDto
|
|
3621
|
+
*/
|
|
3622
|
+
'id': string;
|
|
3623
|
+
/**
|
|
3624
|
+
*
|
|
3625
|
+
* @type {string}
|
|
3626
|
+
* @memberof PipelineDto
|
|
3627
|
+
*/
|
|
3628
|
+
'creatorId': string;
|
|
3629
|
+
/**
|
|
3630
|
+
*
|
|
3631
|
+
* @type {number}
|
|
3632
|
+
* @memberof PipelineDto
|
|
3633
|
+
*/
|
|
3634
|
+
'tasksAmount': number;
|
|
3635
|
+
/**
|
|
3636
|
+
*
|
|
3637
|
+
* @type {object}
|
|
3638
|
+
* @memberof PipelineDto
|
|
3639
|
+
*/
|
|
3640
|
+
'metadata': object;
|
|
3641
|
+
/**
|
|
3642
|
+
*
|
|
3643
|
+
* @type {string}
|
|
3644
|
+
* @memberof PipelineDto
|
|
3645
|
+
*/
|
|
3646
|
+
'createdAt': string;
|
|
3647
|
+
/**
|
|
3648
|
+
*
|
|
3649
|
+
* @type {string}
|
|
3650
|
+
* @memberof PipelineDto
|
|
3651
|
+
*/
|
|
3652
|
+
'updatedAt': string;
|
|
3653
|
+
/**
|
|
3654
|
+
*
|
|
3655
|
+
* @type {string}
|
|
3656
|
+
* @memberof PipelineDto
|
|
3657
|
+
*/
|
|
3658
|
+
'status': PipelineDtoStatusEnum;
|
|
3659
|
+
}
|
|
3660
|
+
export declare const PipelineDtoKindEnum: {
|
|
3661
|
+
readonly Pipeline: "pipeline";
|
|
3662
|
+
};
|
|
3663
|
+
export type PipelineDtoKindEnum = typeof PipelineDtoKindEnum[keyof typeof PipelineDtoKindEnum];
|
|
3664
|
+
export declare const PipelineDtoStatusEnum: {
|
|
3665
|
+
readonly Pending: "pending";
|
|
3666
|
+
readonly Completed: "completed";
|
|
3667
|
+
readonly Failed: "failed";
|
|
3668
|
+
};
|
|
3669
|
+
export type PipelineDtoStatusEnum = typeof PipelineDtoStatusEnum[keyof typeof PipelineDtoStatusEnum];
|
|
3670
|
+
/**
|
|
3671
|
+
*
|
|
3672
|
+
* @export
|
|
3673
|
+
* @interface PipelineDtoStateValue
|
|
3674
|
+
*/
|
|
3675
|
+
export interface PipelineDtoStateValue {
|
|
3572
3676
|
/**
|
|
3573
3677
|
*
|
|
3678
|
+
* @type {string}
|
|
3679
|
+
* @memberof PipelineDtoStateValue
|
|
3680
|
+
*/
|
|
3681
|
+
'status'?: PipelineDtoStateValueStatusEnum;
|
|
3682
|
+
/**
|
|
3683
|
+
* Output of the task
|
|
3574
3684
|
* @type {object}
|
|
3685
|
+
* @memberof PipelineDtoStateValue
|
|
3686
|
+
*/
|
|
3687
|
+
'output'?: object;
|
|
3688
|
+
}
|
|
3689
|
+
export declare const PipelineDtoStateValueStatusEnum: {
|
|
3690
|
+
readonly Pending: "pending";
|
|
3691
|
+
readonly Completed: "completed";
|
|
3692
|
+
readonly Failed: "failed";
|
|
3693
|
+
};
|
|
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}
|
|
3575
3704
|
* @memberof PipelineEntity
|
|
3576
3705
|
*/
|
|
3577
|
-
'
|
|
3706
|
+
'kind': PipelineEntityKindEnum;
|
|
3578
3707
|
/**
|
|
3579
3708
|
*
|
|
3580
3709
|
* @type {string}
|
|
@@ -3625,74 +3754,68 @@ export type PipelineEntityStatusEnum = typeof PipelineEntityStatusEnum[keyof typ
|
|
|
3625
3754
|
/**
|
|
3626
3755
|
*
|
|
3627
3756
|
* @export
|
|
3628
|
-
* @interface
|
|
3757
|
+
* @interface PipelinePreviewDto
|
|
3629
3758
|
*/
|
|
3630
|
-
export interface
|
|
3759
|
+
export interface PipelinePreviewDto {
|
|
3631
3760
|
/**
|
|
3632
3761
|
*
|
|
3633
3762
|
* @type {string}
|
|
3634
|
-
* @memberof
|
|
3635
|
-
*/
|
|
3636
|
-
'kind': PipelineWithOutputKindEnum;
|
|
3637
|
-
/**
|
|
3638
|
-
*
|
|
3639
|
-
* @type {object}
|
|
3640
|
-
* @memberof PipelineWithOutput
|
|
3641
|
-
*/
|
|
3642
|
-
'output': object | null;
|
|
3643
|
-
/**
|
|
3644
|
-
*
|
|
3645
|
-
* @type {object}
|
|
3646
|
-
* @memberof PipelineWithOutput
|
|
3763
|
+
* @memberof PipelinePreviewDto
|
|
3647
3764
|
*/
|
|
3648
|
-
'
|
|
3765
|
+
'kind': PipelinePreviewDtoKindEnum;
|
|
3649
3766
|
/**
|
|
3650
3767
|
*
|
|
3651
3768
|
* @type {string}
|
|
3652
|
-
* @memberof
|
|
3769
|
+
* @memberof PipelinePreviewDto
|
|
3653
3770
|
*/
|
|
3654
|
-
'
|
|
3771
|
+
'id': string;
|
|
3655
3772
|
/**
|
|
3656
3773
|
*
|
|
3657
3774
|
* @type {string}
|
|
3658
|
-
* @memberof
|
|
3775
|
+
* @memberof PipelinePreviewDto
|
|
3659
3776
|
*/
|
|
3660
|
-
'
|
|
3777
|
+
'creatorId': string;
|
|
3661
3778
|
/**
|
|
3662
3779
|
*
|
|
3663
|
-
* @type {
|
|
3664
|
-
* @memberof
|
|
3780
|
+
* @type {number}
|
|
3781
|
+
* @memberof PipelinePreviewDto
|
|
3665
3782
|
*/
|
|
3666
|
-
'
|
|
3783
|
+
'tasksAmount': number;
|
|
3667
3784
|
/**
|
|
3668
3785
|
*
|
|
3669
3786
|
* @type {object}
|
|
3670
|
-
* @memberof
|
|
3787
|
+
* @memberof PipelinePreviewDto
|
|
3671
3788
|
*/
|
|
3672
3789
|
'metadata': object;
|
|
3673
3790
|
/**
|
|
3674
3791
|
*
|
|
3675
3792
|
* @type {string}
|
|
3676
|
-
* @memberof
|
|
3793
|
+
* @memberof PipelinePreviewDto
|
|
3677
3794
|
*/
|
|
3678
3795
|
'createdAt': string;
|
|
3679
3796
|
/**
|
|
3680
3797
|
*
|
|
3681
3798
|
* @type {string}
|
|
3682
|
-
* @memberof
|
|
3799
|
+
* @memberof PipelinePreviewDto
|
|
3683
3800
|
*/
|
|
3684
3801
|
'updatedAt': string;
|
|
3802
|
+
/**
|
|
3803
|
+
*
|
|
3804
|
+
* @type {string}
|
|
3805
|
+
* @memberof PipelinePreviewDto
|
|
3806
|
+
*/
|
|
3807
|
+
'status': PipelinePreviewDtoStatusEnum;
|
|
3685
3808
|
}
|
|
3686
|
-
export declare const
|
|
3809
|
+
export declare const PipelinePreviewDtoKindEnum: {
|
|
3687
3810
|
readonly Pipeline: "pipeline";
|
|
3688
3811
|
};
|
|
3689
|
-
export type
|
|
3690
|
-
export declare const
|
|
3812
|
+
export type PipelinePreviewDtoKindEnum = typeof PipelinePreviewDtoKindEnum[keyof typeof PipelinePreviewDtoKindEnum];
|
|
3813
|
+
export declare const PipelinePreviewDtoStatusEnum: {
|
|
3691
3814
|
readonly Pending: "pending";
|
|
3692
3815
|
readonly Completed: "completed";
|
|
3693
3816
|
readonly Failed: "failed";
|
|
3694
3817
|
};
|
|
3695
|
-
export type
|
|
3818
|
+
export type PipelinePreviewDtoStatusEnum = typeof PipelinePreviewDtoStatusEnum[keyof typeof PipelinePreviewDtoStatusEnum];
|
|
3696
3819
|
/**
|
|
3697
3820
|
*
|
|
3698
3821
|
* @export
|
|
@@ -4615,6 +4738,37 @@ export interface StorageRecordsResultDto {
|
|
|
4615
4738
|
*/
|
|
4616
4739
|
'value': object;
|
|
4617
4740
|
}
|
|
4741
|
+
/**
|
|
4742
|
+
*
|
|
4743
|
+
* @export
|
|
4744
|
+
* @interface TaskDto
|
|
4745
|
+
*/
|
|
4746
|
+
export interface TaskDto {
|
|
4747
|
+
/**
|
|
4748
|
+
*
|
|
4749
|
+
* @type {string}
|
|
4750
|
+
* @memberof TaskDto
|
|
4751
|
+
*/
|
|
4752
|
+
'id': string;
|
|
4753
|
+
/**
|
|
4754
|
+
*
|
|
4755
|
+
* @type {Array<string>}
|
|
4756
|
+
* @memberof TaskDto
|
|
4757
|
+
*/
|
|
4758
|
+
'method': Array<string>;
|
|
4759
|
+
/**
|
|
4760
|
+
*
|
|
4761
|
+
* @type {Array<object>}
|
|
4762
|
+
* @memberof TaskDto
|
|
4763
|
+
*/
|
|
4764
|
+
'args': Array<object>;
|
|
4765
|
+
/**
|
|
4766
|
+
*
|
|
4767
|
+
* @type {Array<string>}
|
|
4768
|
+
* @memberof TaskDto
|
|
4769
|
+
*/
|
|
4770
|
+
'dependencies': Array<string>;
|
|
4771
|
+
}
|
|
4618
4772
|
/**
|
|
4619
4773
|
*
|
|
4620
4774
|
* @export
|
|
@@ -9109,7 +9263,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
|
|
|
9109
9263
|
* @param {*} [options] Override http request option.
|
|
9110
9264
|
* @throws {RequiredError}
|
|
9111
9265
|
*/
|
|
9112
|
-
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
9266
|
+
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PipelineDto>>;
|
|
9113
9267
|
/**
|
|
9114
9268
|
*
|
|
9115
9269
|
* @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
|
|
@@ -9138,7 +9292,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
|
|
|
9138
9292
|
* @param {*} [options] Override http request option.
|
|
9139
9293
|
* @throws {RequiredError}
|
|
9140
9294
|
*/
|
|
9141
|
-
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
9295
|
+
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<PipelineDto>;
|
|
9142
9296
|
/**
|
|
9143
9297
|
*
|
|
9144
9298
|
* @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
|
|
@@ -9171,7 +9325,7 @@ export declare class PipelinesApi extends BaseAPI {
|
|
|
9171
9325
|
* @throws {RequiredError}
|
|
9172
9326
|
* @memberof PipelinesApi
|
|
9173
9327
|
*/
|
|
9174
|
-
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
9328
|
+
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PipelineDto, any>>;
|
|
9175
9329
|
/**
|
|
9176
9330
|
*
|
|
9177
9331
|
* @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
|
|
@@ -54,6 +54,12 @@ export const CollectionEntityKindEnum = {
|
|
|
54
54
|
Storage: 'storage',
|
|
55
55
|
Pipeline: 'pipeline'
|
|
56
56
|
};
|
|
57
|
+
export const CompositeElementBlendEnum = {
|
|
58
|
+
Over: 'over',
|
|
59
|
+
Screen: 'screen',
|
|
60
|
+
Difference: 'difference',
|
|
61
|
+
Multiply: 'multiply'
|
|
62
|
+
};
|
|
57
63
|
export const CompositeElementFitEnum = {
|
|
58
64
|
Cover: 'cover',
|
|
59
65
|
Contain: 'contain',
|
|
@@ -315,6 +321,19 @@ export const OperationOutputTextSingleKindEnum = {
|
|
|
315
321
|
export const OperationOutputVideoSingleKindEnum = {
|
|
316
322
|
VideoSingle: 'video/single'
|
|
317
323
|
};
|
|
324
|
+
export const PipelineDtoKindEnum = {
|
|
325
|
+
Pipeline: 'pipeline'
|
|
326
|
+
};
|
|
327
|
+
export const PipelineDtoStatusEnum = {
|
|
328
|
+
Pending: 'pending',
|
|
329
|
+
Completed: 'completed',
|
|
330
|
+
Failed: 'failed'
|
|
331
|
+
};
|
|
332
|
+
export const PipelineDtoStateValueStatusEnum = {
|
|
333
|
+
Pending: 'pending',
|
|
334
|
+
Completed: 'completed',
|
|
335
|
+
Failed: 'failed'
|
|
336
|
+
};
|
|
318
337
|
export const PipelineEntityKindEnum = {
|
|
319
338
|
Pipeline: 'pipeline'
|
|
320
339
|
};
|
|
@@ -323,10 +342,10 @@ export const PipelineEntityStatusEnum = {
|
|
|
323
342
|
Completed: 'completed',
|
|
324
343
|
Failed: 'failed'
|
|
325
344
|
};
|
|
326
|
-
export const
|
|
345
|
+
export const PipelinePreviewDtoKindEnum = {
|
|
327
346
|
Pipeline: 'pipeline'
|
|
328
347
|
};
|
|
329
|
-
export const
|
|
348
|
+
export const PipelinePreviewDtoStatusEnum = {
|
|
330
349
|
Pending: 'pending',
|
|
331
350
|
Completed: 'completed',
|
|
332
351
|
Failed: 'failed'
|