@hautechai/sdk 0.3.28 → 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 +182 -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}
|
|
@@ -3572,21 +3585,125 @@ export type OperationOutputVideoSingleKindEnum = typeof OperationOutputVideoSing
|
|
|
3572
3585
|
/**
|
|
3573
3586
|
*
|
|
3574
3587
|
* @export
|
|
3575
|
-
* @interface
|
|
3588
|
+
* @interface PipelineDto
|
|
3576
3589
|
*/
|
|
3577
|
-
export interface
|
|
3590
|
+
export interface PipelineDto {
|
|
3578
3591
|
/**
|
|
3579
3592
|
*
|
|
3580
3593
|
* @type {string}
|
|
3581
|
-
* @memberof
|
|
3594
|
+
* @memberof PipelineDto
|
|
3582
3595
|
*/
|
|
3583
|
-
'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 {
|
|
3584
3676
|
/**
|
|
3585
3677
|
*
|
|
3678
|
+
* @type {string}
|
|
3679
|
+
* @memberof PipelineDtoStateValue
|
|
3680
|
+
*/
|
|
3681
|
+
'status'?: PipelineDtoStateValueStatusEnum;
|
|
3682
|
+
/**
|
|
3683
|
+
* Output of the task
|
|
3586
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}
|
|
3587
3704
|
* @memberof PipelineEntity
|
|
3588
3705
|
*/
|
|
3589
|
-
'
|
|
3706
|
+
'kind': PipelineEntityKindEnum;
|
|
3590
3707
|
/**
|
|
3591
3708
|
*
|
|
3592
3709
|
* @type {string}
|
|
@@ -3637,74 +3754,68 @@ export type PipelineEntityStatusEnum = typeof PipelineEntityStatusEnum[keyof typ
|
|
|
3637
3754
|
/**
|
|
3638
3755
|
*
|
|
3639
3756
|
* @export
|
|
3640
|
-
* @interface
|
|
3757
|
+
* @interface PipelinePreviewDto
|
|
3641
3758
|
*/
|
|
3642
|
-
export interface
|
|
3759
|
+
export interface PipelinePreviewDto {
|
|
3643
3760
|
/**
|
|
3644
3761
|
*
|
|
3645
3762
|
* @type {string}
|
|
3646
|
-
* @memberof
|
|
3763
|
+
* @memberof PipelinePreviewDto
|
|
3647
3764
|
*/
|
|
3648
|
-
'kind':
|
|
3649
|
-
/**
|
|
3650
|
-
*
|
|
3651
|
-
* @type {object}
|
|
3652
|
-
* @memberof PipelineWithOutput
|
|
3653
|
-
*/
|
|
3654
|
-
'output': object | null;
|
|
3655
|
-
/**
|
|
3656
|
-
*
|
|
3657
|
-
* @type {object}
|
|
3658
|
-
* @memberof PipelineWithOutput
|
|
3659
|
-
*/
|
|
3660
|
-
'permissions': object;
|
|
3765
|
+
'kind': PipelinePreviewDtoKindEnum;
|
|
3661
3766
|
/**
|
|
3662
3767
|
*
|
|
3663
3768
|
* @type {string}
|
|
3664
|
-
* @memberof
|
|
3769
|
+
* @memberof PipelinePreviewDto
|
|
3665
3770
|
*/
|
|
3666
|
-
'
|
|
3771
|
+
'id': string;
|
|
3667
3772
|
/**
|
|
3668
3773
|
*
|
|
3669
3774
|
* @type {string}
|
|
3670
|
-
* @memberof
|
|
3775
|
+
* @memberof PipelinePreviewDto
|
|
3671
3776
|
*/
|
|
3672
|
-
'
|
|
3777
|
+
'creatorId': string;
|
|
3673
3778
|
/**
|
|
3674
3779
|
*
|
|
3675
|
-
* @type {
|
|
3676
|
-
* @memberof
|
|
3780
|
+
* @type {number}
|
|
3781
|
+
* @memberof PipelinePreviewDto
|
|
3677
3782
|
*/
|
|
3678
|
-
'
|
|
3783
|
+
'tasksAmount': number;
|
|
3679
3784
|
/**
|
|
3680
3785
|
*
|
|
3681
3786
|
* @type {object}
|
|
3682
|
-
* @memberof
|
|
3787
|
+
* @memberof PipelinePreviewDto
|
|
3683
3788
|
*/
|
|
3684
3789
|
'metadata': object;
|
|
3685
3790
|
/**
|
|
3686
3791
|
*
|
|
3687
3792
|
* @type {string}
|
|
3688
|
-
* @memberof
|
|
3793
|
+
* @memberof PipelinePreviewDto
|
|
3689
3794
|
*/
|
|
3690
3795
|
'createdAt': string;
|
|
3691
3796
|
/**
|
|
3692
3797
|
*
|
|
3693
3798
|
* @type {string}
|
|
3694
|
-
* @memberof
|
|
3799
|
+
* @memberof PipelinePreviewDto
|
|
3695
3800
|
*/
|
|
3696
3801
|
'updatedAt': string;
|
|
3802
|
+
/**
|
|
3803
|
+
*
|
|
3804
|
+
* @type {string}
|
|
3805
|
+
* @memberof PipelinePreviewDto
|
|
3806
|
+
*/
|
|
3807
|
+
'status': PipelinePreviewDtoStatusEnum;
|
|
3697
3808
|
}
|
|
3698
|
-
export declare const
|
|
3809
|
+
export declare const PipelinePreviewDtoKindEnum: {
|
|
3699
3810
|
readonly Pipeline: "pipeline";
|
|
3700
3811
|
};
|
|
3701
|
-
export type
|
|
3702
|
-
export declare const
|
|
3812
|
+
export type PipelinePreviewDtoKindEnum = typeof PipelinePreviewDtoKindEnum[keyof typeof PipelinePreviewDtoKindEnum];
|
|
3813
|
+
export declare const PipelinePreviewDtoStatusEnum: {
|
|
3703
3814
|
readonly Pending: "pending";
|
|
3704
3815
|
readonly Completed: "completed";
|
|
3705
3816
|
readonly Failed: "failed";
|
|
3706
3817
|
};
|
|
3707
|
-
export type
|
|
3818
|
+
export type PipelinePreviewDtoStatusEnum = typeof PipelinePreviewDtoStatusEnum[keyof typeof PipelinePreviewDtoStatusEnum];
|
|
3708
3819
|
/**
|
|
3709
3820
|
*
|
|
3710
3821
|
* @export
|
|
@@ -4627,6 +4738,37 @@ export interface StorageRecordsResultDto {
|
|
|
4627
4738
|
*/
|
|
4628
4739
|
'value': object;
|
|
4629
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
|
+
}
|
|
4630
4772
|
/**
|
|
4631
4773
|
*
|
|
4632
4774
|
* @export
|
|
@@ -9121,7 +9263,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
|
|
|
9121
9263
|
* @param {*} [options] Override http request option.
|
|
9122
9264
|
* @throws {RequiredError}
|
|
9123
9265
|
*/
|
|
9124
|
-
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
9266
|
+
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PipelineDto>>;
|
|
9125
9267
|
/**
|
|
9126
9268
|
*
|
|
9127
9269
|
* @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
|
|
@@ -9150,7 +9292,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
|
|
|
9150
9292
|
* @param {*} [options] Override http request option.
|
|
9151
9293
|
* @throws {RequiredError}
|
|
9152
9294
|
*/
|
|
9153
|
-
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
9295
|
+
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<PipelineDto>;
|
|
9154
9296
|
/**
|
|
9155
9297
|
*
|
|
9156
9298
|
* @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
|
|
@@ -9183,7 +9325,7 @@ export declare class PipelinesApi extends BaseAPI {
|
|
|
9183
9325
|
* @throws {RequiredError}
|
|
9184
9326
|
* @memberof PipelinesApi
|
|
9185
9327
|
*/
|
|
9186
|
-
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
9328
|
+
pipelinesControllerGetPipelineV1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PipelineDto, any>>;
|
|
9187
9329
|
/**
|
|
9188
9330
|
*
|
|
9189
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'
|