@hautechai/sdk 0.3.22 → 0.3.24
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 +988 -35
- package/dist/autogenerated/api.js +784 -23
- package/dist/autogenerated/permissions.d.ts +3 -0
- package/dist/sdk/index.d.ts +40 -10
- package/dist/sdk/operations/index.d.ts +10 -2
- package/dist/sdk/operations/index.js +5 -0
- package/dist/sdk/pipelines/index.d.ts +28 -0
- package/dist/sdk/pipelines/index.js +5 -0
- package/package.json +1 -1
|
@@ -27,15 +27,32 @@ export const AddAccountToGroupParamsDtoRoleEnum = {
|
|
|
27
27
|
Member: 'member',
|
|
28
28
|
Owner: 'owner'
|
|
29
29
|
};
|
|
30
|
+
export const AnimateKling16ProV1InputAspectRatioEnum = {
|
|
31
|
+
_11: '1:1',
|
|
32
|
+
_916: '9:16',
|
|
33
|
+
_169: '16:9'
|
|
34
|
+
};
|
|
35
|
+
export const AnimateKling16ProV1InputDurationEnum = {
|
|
36
|
+
_5: '5',
|
|
37
|
+
_10: '10'
|
|
38
|
+
};
|
|
39
|
+
export const AnimateKling16ProV1ResponseKindEnum = {
|
|
40
|
+
Operation: 'operation'
|
|
41
|
+
};
|
|
42
|
+
export const AnimateKling16ProV1ResponseStatusEnum = {
|
|
43
|
+
Pending: 'pending',
|
|
44
|
+
Finished: 'finished',
|
|
45
|
+
Failed: 'failed'
|
|
46
|
+
};
|
|
30
47
|
export const CollectionEntityKindEnum = {
|
|
31
48
|
Collection: 'collection',
|
|
32
49
|
Operation: 'operation',
|
|
33
50
|
Stack: 'stack',
|
|
34
51
|
Image: 'image',
|
|
52
|
+
Video: 'video',
|
|
35
53
|
Pose: 'pose',
|
|
36
54
|
Storage: 'storage',
|
|
37
|
-
Pipeline: 'pipeline'
|
|
38
|
-
Forbidden: 'forbidden'
|
|
55
|
+
Pipeline: 'pipeline'
|
|
39
56
|
};
|
|
40
57
|
export const CompositeElementFitEnum = {
|
|
41
58
|
Cover: 'cover',
|
|
@@ -76,6 +93,14 @@ export const CutV1ResponseStatusEnum = {
|
|
|
76
93
|
Finished: 'finished',
|
|
77
94
|
Failed: 'failed'
|
|
78
95
|
};
|
|
96
|
+
export const EchoV1ResponseKindEnum = {
|
|
97
|
+
Operation: 'operation'
|
|
98
|
+
};
|
|
99
|
+
export const EchoV1ResponseStatusEnum = {
|
|
100
|
+
Pending: 'pending',
|
|
101
|
+
Finished: 'finished',
|
|
102
|
+
Failed: 'failed'
|
|
103
|
+
};
|
|
79
104
|
export const GPTV1InputModelEnum = {
|
|
80
105
|
_4o: 'gpt-4o',
|
|
81
106
|
_41Mini: 'gpt-4.1-mini'
|
|
@@ -121,10 +146,10 @@ export const ImageEntityKindEnum = {
|
|
|
121
146
|
Operation: 'operation',
|
|
122
147
|
Stack: 'stack',
|
|
123
148
|
Image: 'image',
|
|
149
|
+
Video: 'video',
|
|
124
150
|
Pose: 'pose',
|
|
125
151
|
Storage: 'storage',
|
|
126
|
-
Pipeline: 'pipeline'
|
|
127
|
-
Forbidden: 'forbidden'
|
|
152
|
+
Pipeline: 'pipeline'
|
|
128
153
|
};
|
|
129
154
|
export const ImagineKateV1ResponseKindEnum = {
|
|
130
155
|
Operation: 'operation'
|
|
@@ -200,10 +225,10 @@ export const ListCollectionItemsParamsDtoKindEnum = {
|
|
|
200
225
|
Operation: 'operation',
|
|
201
226
|
Stack: 'stack',
|
|
202
227
|
Image: 'image',
|
|
228
|
+
Video: 'video',
|
|
203
229
|
Pose: 'pose',
|
|
204
230
|
Storage: 'storage',
|
|
205
|
-
Pipeline: 'pipeline'
|
|
206
|
-
Forbidden: 'forbidden'
|
|
231
|
+
Pipeline: 'pipeline'
|
|
207
232
|
};
|
|
208
233
|
export const ListCollectionsParamsDtoOrderByEnum = {
|
|
209
234
|
CreatedAtAsc: 'createdAt_ASC',
|
|
@@ -227,6 +252,14 @@ export const ListStacksParamsDtoOrderByEnum = {
|
|
|
227
252
|
UpdatedAtAsc: 'updatedAt_ASC',
|
|
228
253
|
UpdatedAtDesc: 'updatedAt_DESC'
|
|
229
254
|
};
|
|
255
|
+
export const MathV1ResponseKindEnum = {
|
|
256
|
+
Operation: 'operation'
|
|
257
|
+
};
|
|
258
|
+
export const MathV1ResponseStatusEnum = {
|
|
259
|
+
Pending: 'pending',
|
|
260
|
+
Finished: 'finished',
|
|
261
|
+
Failed: 'failed'
|
|
262
|
+
};
|
|
230
263
|
export const ModifyAccessParamsDtoPrincipalTypeEnum = {
|
|
231
264
|
Account: 'account',
|
|
232
265
|
Group: 'group'
|
|
@@ -276,6 +309,12 @@ export const OperationOutputImageSingleKindEnum = {
|
|
|
276
309
|
export const OperationOutputJSONKindEnum = {
|
|
277
310
|
Json: 'json'
|
|
278
311
|
};
|
|
312
|
+
export const OperationOutputTextSingleKindEnum = {
|
|
313
|
+
TextSingle: 'text/single'
|
|
314
|
+
};
|
|
315
|
+
export const OperationOutputVideoSingleKindEnum = {
|
|
316
|
+
VideoSingle: 'video/single'
|
|
317
|
+
};
|
|
279
318
|
export const PipelineEntityKindEnum = {
|
|
280
319
|
Pipeline: 'pipeline'
|
|
281
320
|
};
|
|
@@ -284,6 +323,14 @@ export const PipelineEntityStatusEnum = {
|
|
|
284
323
|
Completed: 'completed',
|
|
285
324
|
Failed: 'failed'
|
|
286
325
|
};
|
|
326
|
+
export const PipelineWithOutputKindEnum = {
|
|
327
|
+
Pipeline: 'pipeline'
|
|
328
|
+
};
|
|
329
|
+
export const PipelineWithOutputStatusEnum = {
|
|
330
|
+
Pending: 'pending',
|
|
331
|
+
Completed: 'completed',
|
|
332
|
+
Failed: 'failed'
|
|
333
|
+
};
|
|
287
334
|
export const PoseEntityKindEnum = {
|
|
288
335
|
Pose: 'pose'
|
|
289
336
|
};
|
|
@@ -318,10 +365,10 @@ export const ResourceEntityKindEnum = {
|
|
|
318
365
|
Operation: 'operation',
|
|
319
366
|
Stack: 'stack',
|
|
320
367
|
Image: 'image',
|
|
368
|
+
Video: 'video',
|
|
321
369
|
Pose: 'pose',
|
|
322
370
|
Storage: 'storage',
|
|
323
|
-
Pipeline: 'pipeline'
|
|
324
|
-
Forbidden: 'forbidden'
|
|
371
|
+
Pipeline: 'pipeline'
|
|
325
372
|
};
|
|
326
373
|
export const RevokeAccessControllerParamsDtoPrincipalTypeEnum = {
|
|
327
374
|
Account: 'account',
|
|
@@ -365,6 +412,16 @@ export const UpscaleV1ResponseStatusEnum = {
|
|
|
365
412
|
Finished: 'finished',
|
|
366
413
|
Failed: 'failed'
|
|
367
414
|
};
|
|
415
|
+
export const VideoEntityKindEnum = {
|
|
416
|
+
Collection: 'collection',
|
|
417
|
+
Operation: 'operation',
|
|
418
|
+
Stack: 'stack',
|
|
419
|
+
Image: 'image',
|
|
420
|
+
Video: 'video',
|
|
421
|
+
Pose: 'pose',
|
|
422
|
+
Storage: 'storage',
|
|
423
|
+
Pipeline: 'pipeline'
|
|
424
|
+
};
|
|
368
425
|
export const VtonGiseleV1ResponseKindEnum = {
|
|
369
426
|
Operation: 'operation'
|
|
370
427
|
};
|
|
@@ -2235,6 +2292,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2235
2292
|
options: localVarRequestOptions,
|
|
2236
2293
|
};
|
|
2237
2294
|
},
|
|
2295
|
+
/**
|
|
2296
|
+
*
|
|
2297
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
2298
|
+
* @param {*} [options] Override http request option.
|
|
2299
|
+
* @throws {RequiredError}
|
|
2300
|
+
*/
|
|
2301
|
+
callControllerCallOperationsRunAnimateKling16ProV1V1: async (animateKling16ProV1Request, options = {}) => {
|
|
2302
|
+
// verify required parameter 'animateKling16ProV1Request' is not null or undefined
|
|
2303
|
+
assertParamExists('callControllerCallOperationsRunAnimateKling16ProV1V1', 'animateKling16ProV1Request', animateKling16ProV1Request);
|
|
2304
|
+
const localVarPath = `/v1/call/operations.run.animate.kling_1_6_pro.v1`;
|
|
2305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2307
|
+
let baseOptions;
|
|
2308
|
+
if (configuration) {
|
|
2309
|
+
baseOptions = configuration.baseOptions;
|
|
2310
|
+
}
|
|
2311
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2312
|
+
const localVarHeaderParameter = {};
|
|
2313
|
+
const localVarQueryParameter = {};
|
|
2314
|
+
// authentication bearer required
|
|
2315
|
+
// http bearer authentication required
|
|
2316
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2317
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2318
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2319
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2320
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2321
|
+
localVarRequestOptions.data = serializeDataIfNeeded(animateKling16ProV1Request, localVarRequestOptions, configuration);
|
|
2322
|
+
return {
|
|
2323
|
+
url: toPathString(localVarUrlObj),
|
|
2324
|
+
options: localVarRequestOptions,
|
|
2325
|
+
};
|
|
2326
|
+
},
|
|
2238
2327
|
/**
|
|
2239
2328
|
*
|
|
2240
2329
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -2363,6 +2452,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2363
2452
|
options: localVarRequestOptions,
|
|
2364
2453
|
};
|
|
2365
2454
|
},
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @param {EchoV1Request} echoV1Request
|
|
2458
|
+
* @param {*} [options] Override http request option.
|
|
2459
|
+
* @throws {RequiredError}
|
|
2460
|
+
*/
|
|
2461
|
+
callControllerCallOperationsRunEchoV1V1: async (echoV1Request, options = {}) => {
|
|
2462
|
+
// verify required parameter 'echoV1Request' is not null or undefined
|
|
2463
|
+
assertParamExists('callControllerCallOperationsRunEchoV1V1', 'echoV1Request', echoV1Request);
|
|
2464
|
+
const localVarPath = `/v1/call/operations.run.echo.v1`;
|
|
2465
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2466
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2467
|
+
let baseOptions;
|
|
2468
|
+
if (configuration) {
|
|
2469
|
+
baseOptions = configuration.baseOptions;
|
|
2470
|
+
}
|
|
2471
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2472
|
+
const localVarHeaderParameter = {};
|
|
2473
|
+
const localVarQueryParameter = {};
|
|
2474
|
+
// authentication bearer required
|
|
2475
|
+
// http bearer authentication required
|
|
2476
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2477
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2478
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2479
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2480
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2481
|
+
localVarRequestOptions.data = serializeDataIfNeeded(echoV1Request, localVarRequestOptions, configuration);
|
|
2482
|
+
return {
|
|
2483
|
+
url: toPathString(localVarUrlObj),
|
|
2484
|
+
options: localVarRequestOptions,
|
|
2485
|
+
};
|
|
2486
|
+
},
|
|
2366
2487
|
/**
|
|
2367
2488
|
*
|
|
2368
2489
|
* @param {GptV1Request} gptV1Request
|
|
@@ -2523,6 +2644,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2523
2644
|
options: localVarRequestOptions,
|
|
2524
2645
|
};
|
|
2525
2646
|
},
|
|
2647
|
+
/**
|
|
2648
|
+
*
|
|
2649
|
+
* @param {MathV1Request} mathV1Request
|
|
2650
|
+
* @param {*} [options] Override http request option.
|
|
2651
|
+
* @throws {RequiredError}
|
|
2652
|
+
*/
|
|
2653
|
+
callControllerCallOperationsRunMathV1V1: async (mathV1Request, options = {}) => {
|
|
2654
|
+
// verify required parameter 'mathV1Request' is not null or undefined
|
|
2655
|
+
assertParamExists('callControllerCallOperationsRunMathV1V1', 'mathV1Request', mathV1Request);
|
|
2656
|
+
const localVarPath = `/v1/call/operations.run.math.v1`;
|
|
2657
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2658
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2659
|
+
let baseOptions;
|
|
2660
|
+
if (configuration) {
|
|
2661
|
+
baseOptions = configuration.baseOptions;
|
|
2662
|
+
}
|
|
2663
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2664
|
+
const localVarHeaderParameter = {};
|
|
2665
|
+
const localVarQueryParameter = {};
|
|
2666
|
+
// authentication bearer required
|
|
2667
|
+
// http bearer authentication required
|
|
2668
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2669
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2670
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2671
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2672
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2673
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mathV1Request, localVarRequestOptions, configuration);
|
|
2674
|
+
return {
|
|
2675
|
+
url: toPathString(localVarUrlObj),
|
|
2676
|
+
options: localVarRequestOptions,
|
|
2677
|
+
};
|
|
2678
|
+
},
|
|
2526
2679
|
/**
|
|
2527
2680
|
*
|
|
2528
2681
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -2939,6 +3092,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2939
3092
|
options: localVarRequestOptions,
|
|
2940
3093
|
};
|
|
2941
3094
|
},
|
|
3095
|
+
/**
|
|
3096
|
+
*
|
|
3097
|
+
* @param {UpdateResourceMetadataDto} updateResourceMetadataDto
|
|
3098
|
+
* @param {*} [options] Override http request option.
|
|
3099
|
+
* @throws {RequiredError}
|
|
3100
|
+
*/
|
|
3101
|
+
callControllerCallPosesMetadataUpdateV1: async (updateResourceMetadataDto, options = {}) => {
|
|
3102
|
+
// verify required parameter 'updateResourceMetadataDto' is not null or undefined
|
|
3103
|
+
assertParamExists('callControllerCallPosesMetadataUpdateV1', 'updateResourceMetadataDto', updateResourceMetadataDto);
|
|
3104
|
+
const localVarPath = `/v1/call/poses.metadata.update`;
|
|
3105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3106
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3107
|
+
let baseOptions;
|
|
3108
|
+
if (configuration) {
|
|
3109
|
+
baseOptions = configuration.baseOptions;
|
|
3110
|
+
}
|
|
3111
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3112
|
+
const localVarHeaderParameter = {};
|
|
3113
|
+
const localVarQueryParameter = {};
|
|
3114
|
+
// authentication bearer required
|
|
3115
|
+
// http bearer authentication required
|
|
3116
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3117
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3118
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3120
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3121
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateResourceMetadataDto, localVarRequestOptions, configuration);
|
|
3122
|
+
return {
|
|
3123
|
+
url: toPathString(localVarUrlObj),
|
|
3124
|
+
options: localVarRequestOptions,
|
|
3125
|
+
};
|
|
3126
|
+
},
|
|
2942
3127
|
/**
|
|
2943
3128
|
*
|
|
2944
3129
|
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
@@ -3636,6 +3821,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3636
3821
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsMetadataUpdateV1']?.[localVarOperationServerIndex]?.url;
|
|
3637
3822
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3638
3823
|
},
|
|
3824
|
+
/**
|
|
3825
|
+
*
|
|
3826
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
3827
|
+
* @param {*} [options] Override http request option.
|
|
3828
|
+
* @throws {RequiredError}
|
|
3829
|
+
*/
|
|
3830
|
+
async callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
3831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options);
|
|
3832
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3833
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunAnimateKling16ProV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3834
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3835
|
+
},
|
|
3639
3836
|
/**
|
|
3640
3837
|
*
|
|
3641
3838
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -3684,6 +3881,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3684
3881
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunCutV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3685
3882
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3686
3883
|
},
|
|
3884
|
+
/**
|
|
3885
|
+
*
|
|
3886
|
+
* @param {EchoV1Request} echoV1Request
|
|
3887
|
+
* @param {*} [options] Override http request option.
|
|
3888
|
+
* @throws {RequiredError}
|
|
3889
|
+
*/
|
|
3890
|
+
async callControllerCallOperationsRunEchoV1V1(echoV1Request, options) {
|
|
3891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunEchoV1V1(echoV1Request, options);
|
|
3892
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3893
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunEchoV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3894
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3895
|
+
},
|
|
3687
3896
|
/**
|
|
3688
3897
|
*
|
|
3689
3898
|
* @param {GptV1Request} gptV1Request
|
|
@@ -3744,6 +3953,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3744
3953
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunInpaintKateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3745
3954
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3746
3955
|
},
|
|
3956
|
+
/**
|
|
3957
|
+
*
|
|
3958
|
+
* @param {MathV1Request} mathV1Request
|
|
3959
|
+
* @param {*} [options] Override http request option.
|
|
3960
|
+
* @throws {RequiredError}
|
|
3961
|
+
*/
|
|
3962
|
+
async callControllerCallOperationsRunMathV1V1(mathV1Request, options) {
|
|
3963
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunMathV1V1(mathV1Request, options);
|
|
3964
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3965
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunMathV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3966
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3967
|
+
},
|
|
3747
3968
|
/**
|
|
3748
3969
|
*
|
|
3749
3970
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -3900,6 +4121,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3900
4121
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallPosesListV1']?.[localVarOperationServerIndex]?.url;
|
|
3901
4122
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3902
4123
|
},
|
|
4124
|
+
/**
|
|
4125
|
+
*
|
|
4126
|
+
* @param {UpdateResourceMetadataDto} updateResourceMetadataDto
|
|
4127
|
+
* @param {*} [options] Override http request option.
|
|
4128
|
+
* @throws {RequiredError}
|
|
4129
|
+
*/
|
|
4130
|
+
async callControllerCallPosesMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
4131
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallPosesMetadataUpdateV1(updateResourceMetadataDto, options);
|
|
4132
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4133
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallPosesMetadataUpdateV1']?.[localVarOperationServerIndex]?.url;
|
|
4134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4135
|
+
},
|
|
3903
4136
|
/**
|
|
3904
4137
|
*
|
|
3905
4138
|
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
@@ -4293,6 +4526,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4293
4526
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
4294
4527
|
return localVarFp.callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(axios, basePath));
|
|
4295
4528
|
},
|
|
4529
|
+
/**
|
|
4530
|
+
*
|
|
4531
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
4532
|
+
* @param {*} [options] Override http request option.
|
|
4533
|
+
* @throws {RequiredError}
|
|
4534
|
+
*/
|
|
4535
|
+
callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
4536
|
+
return localVarFp.callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(axios, basePath));
|
|
4537
|
+
},
|
|
4296
4538
|
/**
|
|
4297
4539
|
*
|
|
4298
4540
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -4329,6 +4571,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4329
4571
|
callControllerCallOperationsRunCutV1V1(cutV1Request, options) {
|
|
4330
4572
|
return localVarFp.callControllerCallOperationsRunCutV1V1(cutV1Request, options).then((request) => request(axios, basePath));
|
|
4331
4573
|
},
|
|
4574
|
+
/**
|
|
4575
|
+
*
|
|
4576
|
+
* @param {EchoV1Request} echoV1Request
|
|
4577
|
+
* @param {*} [options] Override http request option.
|
|
4578
|
+
* @throws {RequiredError}
|
|
4579
|
+
*/
|
|
4580
|
+
callControllerCallOperationsRunEchoV1V1(echoV1Request, options) {
|
|
4581
|
+
return localVarFp.callControllerCallOperationsRunEchoV1V1(echoV1Request, options).then((request) => request(axios, basePath));
|
|
4582
|
+
},
|
|
4332
4583
|
/**
|
|
4333
4584
|
*
|
|
4334
4585
|
* @param {GptV1Request} gptV1Request
|
|
@@ -4374,6 +4625,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4374
4625
|
callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
4375
4626
|
return localVarFp.callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(axios, basePath));
|
|
4376
4627
|
},
|
|
4628
|
+
/**
|
|
4629
|
+
*
|
|
4630
|
+
* @param {MathV1Request} mathV1Request
|
|
4631
|
+
* @param {*} [options] Override http request option.
|
|
4632
|
+
* @throws {RequiredError}
|
|
4633
|
+
*/
|
|
4634
|
+
callControllerCallOperationsRunMathV1V1(mathV1Request, options) {
|
|
4635
|
+
return localVarFp.callControllerCallOperationsRunMathV1V1(mathV1Request, options).then((request) => request(axios, basePath));
|
|
4636
|
+
},
|
|
4377
4637
|
/**
|
|
4378
4638
|
*
|
|
4379
4639
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -4491,6 +4751,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4491
4751
|
callControllerCallPosesListV1(listPosesParamsDto, options) {
|
|
4492
4752
|
return localVarFp.callControllerCallPosesListV1(listPosesParamsDto, options).then((request) => request(axios, basePath));
|
|
4493
4753
|
},
|
|
4754
|
+
/**
|
|
4755
|
+
*
|
|
4756
|
+
* @param {UpdateResourceMetadataDto} updateResourceMetadataDto
|
|
4757
|
+
* @param {*} [options] Override http request option.
|
|
4758
|
+
* @throws {RequiredError}
|
|
4759
|
+
*/
|
|
4760
|
+
callControllerCallPosesMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
4761
|
+
return localVarFp.callControllerCallPosesMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(axios, basePath));
|
|
4762
|
+
},
|
|
4494
4763
|
/**
|
|
4495
4764
|
*
|
|
4496
4765
|
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
@@ -4879,6 +5148,16 @@ export class CallApi extends BaseAPI {
|
|
|
4879
5148
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
4880
5149
|
return CallApiFp(this.configuration).callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(this.axios, this.basePath));
|
|
4881
5150
|
}
|
|
5151
|
+
/**
|
|
5152
|
+
*
|
|
5153
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
5154
|
+
* @param {*} [options] Override http request option.
|
|
5155
|
+
* @throws {RequiredError}
|
|
5156
|
+
* @memberof CallApi
|
|
5157
|
+
*/
|
|
5158
|
+
callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
5159
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5160
|
+
}
|
|
4882
5161
|
/**
|
|
4883
5162
|
*
|
|
4884
5163
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -4919,6 +5198,16 @@ export class CallApi extends BaseAPI {
|
|
|
4919
5198
|
callControllerCallOperationsRunCutV1V1(cutV1Request, options) {
|
|
4920
5199
|
return CallApiFp(this.configuration).callControllerCallOperationsRunCutV1V1(cutV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
4921
5200
|
}
|
|
5201
|
+
/**
|
|
5202
|
+
*
|
|
5203
|
+
* @param {EchoV1Request} echoV1Request
|
|
5204
|
+
* @param {*} [options] Override http request option.
|
|
5205
|
+
* @throws {RequiredError}
|
|
5206
|
+
* @memberof CallApi
|
|
5207
|
+
*/
|
|
5208
|
+
callControllerCallOperationsRunEchoV1V1(echoV1Request, options) {
|
|
5209
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunEchoV1V1(echoV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5210
|
+
}
|
|
4922
5211
|
/**
|
|
4923
5212
|
*
|
|
4924
5213
|
* @param {GptV1Request} gptV1Request
|
|
@@ -4969,6 +5258,16 @@ export class CallApi extends BaseAPI {
|
|
|
4969
5258
|
callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
4970
5259
|
return CallApiFp(this.configuration).callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
4971
5260
|
}
|
|
5261
|
+
/**
|
|
5262
|
+
*
|
|
5263
|
+
* @param {MathV1Request} mathV1Request
|
|
5264
|
+
* @param {*} [options] Override http request option.
|
|
5265
|
+
* @throws {RequiredError}
|
|
5266
|
+
* @memberof CallApi
|
|
5267
|
+
*/
|
|
5268
|
+
callControllerCallOperationsRunMathV1V1(mathV1Request, options) {
|
|
5269
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunMathV1V1(mathV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5270
|
+
}
|
|
4972
5271
|
/**
|
|
4973
5272
|
*
|
|
4974
5273
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -5099,6 +5398,16 @@ export class CallApi extends BaseAPI {
|
|
|
5099
5398
|
callControllerCallPosesListV1(listPosesParamsDto, options) {
|
|
5100
5399
|
return CallApiFp(this.configuration).callControllerCallPosesListV1(listPosesParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
5101
5400
|
}
|
|
5401
|
+
/**
|
|
5402
|
+
*
|
|
5403
|
+
* @param {UpdateResourceMetadataDto} updateResourceMetadataDto
|
|
5404
|
+
* @param {*} [options] Override http request option.
|
|
5405
|
+
* @throws {RequiredError}
|
|
5406
|
+
* @memberof CallApi
|
|
5407
|
+
*/
|
|
5408
|
+
callControllerCallPosesMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
5409
|
+
return CallApiFp(this.configuration).callControllerCallPosesMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(this.axios, this.basePath));
|
|
5410
|
+
}
|
|
5102
5411
|
/**
|
|
5103
5412
|
*
|
|
5104
5413
|
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
@@ -5771,10 +6080,10 @@ export const CollectionsControllerListItemsV1KindEnum = {
|
|
|
5771
6080
|
Operation: 'operation',
|
|
5772
6081
|
Stack: 'stack',
|
|
5773
6082
|
Image: 'image',
|
|
6083
|
+
Video: 'video',
|
|
5774
6084
|
Pose: 'pose',
|
|
5775
6085
|
Storage: 'storage',
|
|
5776
|
-
Pipeline: 'pipeline'
|
|
5777
|
-
Forbidden: 'forbidden'
|
|
6086
|
+
Pipeline: 'pipeline'
|
|
5778
6087
|
};
|
|
5779
6088
|
/**
|
|
5780
6089
|
* GroupsApi - axios parameter creator
|
|
@@ -6585,14 +6894,14 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6585
6894
|
},
|
|
6586
6895
|
/**
|
|
6587
6896
|
*
|
|
6588
|
-
* @param {
|
|
6897
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
6589
6898
|
* @param {*} [options] Override http request option.
|
|
6590
6899
|
* @throws {RequiredError}
|
|
6591
6900
|
*/
|
|
6592
|
-
|
|
6593
|
-
// verify required parameter '
|
|
6594
|
-
assertParamExists('
|
|
6595
|
-
const localVarPath = `/v1/operations/run/
|
|
6901
|
+
operationsControllerRunAnimateKling16ProV1V1: async (animateKling16ProV1Request, options = {}) => {
|
|
6902
|
+
// verify required parameter 'animateKling16ProV1Request' is not null or undefined
|
|
6903
|
+
assertParamExists('operationsControllerRunAnimateKling16ProV1V1', 'animateKling16ProV1Request', animateKling16ProV1Request);
|
|
6904
|
+
const localVarPath = `/v1/operations/run/animate.kling_1_6_pro.v1`;
|
|
6596
6905
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6597
6906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6598
6907
|
let baseOptions;
|
|
@@ -6609,7 +6918,7 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6609
6918
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6610
6919
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6611
6920
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6612
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6921
|
+
localVarRequestOptions.data = serializeDataIfNeeded(animateKling16ProV1Request, localVarRequestOptions, configuration);
|
|
6613
6922
|
return {
|
|
6614
6923
|
url: toPathString(localVarUrlObj),
|
|
6615
6924
|
options: localVarRequestOptions,
|
|
@@ -6617,14 +6926,14 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6617
6926
|
},
|
|
6618
6927
|
/**
|
|
6619
6928
|
*
|
|
6620
|
-
* @param {
|
|
6929
|
+
* @param {CompositeV1Request} compositeV1Request
|
|
6621
6930
|
* @param {*} [options] Override http request option.
|
|
6622
6931
|
* @throws {RequiredError}
|
|
6623
6932
|
*/
|
|
6624
|
-
|
|
6625
|
-
// verify required parameter '
|
|
6626
|
-
assertParamExists('
|
|
6627
|
-
const localVarPath = `/v1/operations/run/
|
|
6933
|
+
operationsControllerRunCompositeV1V1: async (compositeV1Request, options = {}) => {
|
|
6934
|
+
// verify required parameter 'compositeV1Request' is not null or undefined
|
|
6935
|
+
assertParamExists('operationsControllerRunCompositeV1V1', 'compositeV1Request', compositeV1Request);
|
|
6936
|
+
const localVarPath = `/v1/operations/run/composite.v1`;
|
|
6628
6937
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6629
6938
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6630
6939
|
let baseOptions;
|
|
@@ -6641,7 +6950,7 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6641
6950
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6642
6951
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6643
6952
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6644
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6953
|
+
localVarRequestOptions.data = serializeDataIfNeeded(compositeV1Request, localVarRequestOptions, configuration);
|
|
6645
6954
|
return {
|
|
6646
6955
|
url: toPathString(localVarUrlObj),
|
|
6647
6956
|
options: localVarRequestOptions,
|
|
@@ -6649,7 +6958,39 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6649
6958
|
},
|
|
6650
6959
|
/**
|
|
6651
6960
|
*
|
|
6652
|
-
* @param {
|
|
6961
|
+
* @param {ContrastV1Request} contrastV1Request
|
|
6962
|
+
* @param {*} [options] Override http request option.
|
|
6963
|
+
* @throws {RequiredError}
|
|
6964
|
+
*/
|
|
6965
|
+
operationsControllerRunContrastV1V1: async (contrastV1Request, options = {}) => {
|
|
6966
|
+
// verify required parameter 'contrastV1Request' is not null or undefined
|
|
6967
|
+
assertParamExists('operationsControllerRunContrastV1V1', 'contrastV1Request', contrastV1Request);
|
|
6968
|
+
const localVarPath = `/v1/operations/run/contrast.v1`;
|
|
6969
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6970
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6971
|
+
let baseOptions;
|
|
6972
|
+
if (configuration) {
|
|
6973
|
+
baseOptions = configuration.baseOptions;
|
|
6974
|
+
}
|
|
6975
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6976
|
+
const localVarHeaderParameter = {};
|
|
6977
|
+
const localVarQueryParameter = {};
|
|
6978
|
+
// authentication bearer required
|
|
6979
|
+
// http bearer authentication required
|
|
6980
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6981
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6982
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6983
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6984
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6985
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contrastV1Request, localVarRequestOptions, configuration);
|
|
6986
|
+
return {
|
|
6987
|
+
url: toPathString(localVarUrlObj),
|
|
6988
|
+
options: localVarRequestOptions,
|
|
6989
|
+
};
|
|
6990
|
+
},
|
|
6991
|
+
/**
|
|
6992
|
+
*
|
|
6993
|
+
* @param {CropV1Request} cropV1Request
|
|
6653
6994
|
* @param {*} [options] Override http request option.
|
|
6654
6995
|
* @throws {RequiredError}
|
|
6655
6996
|
*/
|
|
@@ -6711,6 +7052,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6711
7052
|
options: localVarRequestOptions,
|
|
6712
7053
|
};
|
|
6713
7054
|
},
|
|
7055
|
+
/**
|
|
7056
|
+
*
|
|
7057
|
+
* @param {EchoV1Request} echoV1Request
|
|
7058
|
+
* @param {*} [options] Override http request option.
|
|
7059
|
+
* @throws {RequiredError}
|
|
7060
|
+
*/
|
|
7061
|
+
operationsControllerRunEchoV1V1: async (echoV1Request, options = {}) => {
|
|
7062
|
+
// verify required parameter 'echoV1Request' is not null or undefined
|
|
7063
|
+
assertParamExists('operationsControllerRunEchoV1V1', 'echoV1Request', echoV1Request);
|
|
7064
|
+
const localVarPath = `/v1/operations/run/echo.v1`;
|
|
7065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7066
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7067
|
+
let baseOptions;
|
|
7068
|
+
if (configuration) {
|
|
7069
|
+
baseOptions = configuration.baseOptions;
|
|
7070
|
+
}
|
|
7071
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7072
|
+
const localVarHeaderParameter = {};
|
|
7073
|
+
const localVarQueryParameter = {};
|
|
7074
|
+
// authentication bearer required
|
|
7075
|
+
// http bearer authentication required
|
|
7076
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7077
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7078
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7079
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7080
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7081
|
+
localVarRequestOptions.data = serializeDataIfNeeded(echoV1Request, localVarRequestOptions, configuration);
|
|
7082
|
+
return {
|
|
7083
|
+
url: toPathString(localVarUrlObj),
|
|
7084
|
+
options: localVarRequestOptions,
|
|
7085
|
+
};
|
|
7086
|
+
},
|
|
6714
7087
|
/**
|
|
6715
7088
|
*
|
|
6716
7089
|
* @param {GptV1Request} gptV1Request
|
|
@@ -6871,6 +7244,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6871
7244
|
options: localVarRequestOptions,
|
|
6872
7245
|
};
|
|
6873
7246
|
},
|
|
7247
|
+
/**
|
|
7248
|
+
*
|
|
7249
|
+
* @param {MathV1Request} mathV1Request
|
|
7250
|
+
* @param {*} [options] Override http request option.
|
|
7251
|
+
* @throws {RequiredError}
|
|
7252
|
+
*/
|
|
7253
|
+
operationsControllerRunMathV1V1: async (mathV1Request, options = {}) => {
|
|
7254
|
+
// verify required parameter 'mathV1Request' is not null or undefined
|
|
7255
|
+
assertParamExists('operationsControllerRunMathV1V1', 'mathV1Request', mathV1Request);
|
|
7256
|
+
const localVarPath = `/v1/operations/run/math.v1`;
|
|
7257
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7258
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7259
|
+
let baseOptions;
|
|
7260
|
+
if (configuration) {
|
|
7261
|
+
baseOptions = configuration.baseOptions;
|
|
7262
|
+
}
|
|
7263
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7264
|
+
const localVarHeaderParameter = {};
|
|
7265
|
+
const localVarQueryParameter = {};
|
|
7266
|
+
// authentication bearer required
|
|
7267
|
+
// http bearer authentication required
|
|
7268
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7269
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7270
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7271
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7272
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7273
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mathV1Request, localVarRequestOptions, configuration);
|
|
7274
|
+
return {
|
|
7275
|
+
url: toPathString(localVarUrlObj),
|
|
7276
|
+
options: localVarRequestOptions,
|
|
7277
|
+
};
|
|
7278
|
+
},
|
|
6874
7279
|
/**
|
|
6875
7280
|
*
|
|
6876
7281
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -7274,6 +7679,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7274
7679
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerListOperationsV1']?.[localVarOperationServerIndex]?.url;
|
|
7275
7680
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7276
7681
|
},
|
|
7682
|
+
/**
|
|
7683
|
+
*
|
|
7684
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
7685
|
+
* @param {*} [options] Override http request option.
|
|
7686
|
+
* @throws {RequiredError}
|
|
7687
|
+
*/
|
|
7688
|
+
async operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
7689
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options);
|
|
7690
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7691
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunAnimateKling16ProV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7692
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7693
|
+
},
|
|
7277
7694
|
/**
|
|
7278
7695
|
*
|
|
7279
7696
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7322,6 +7739,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7322
7739
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunCutV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7323
7740
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7324
7741
|
},
|
|
7742
|
+
/**
|
|
7743
|
+
*
|
|
7744
|
+
* @param {EchoV1Request} echoV1Request
|
|
7745
|
+
* @param {*} [options] Override http request option.
|
|
7746
|
+
* @throws {RequiredError}
|
|
7747
|
+
*/
|
|
7748
|
+
async operationsControllerRunEchoV1V1(echoV1Request, options) {
|
|
7749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunEchoV1V1(echoV1Request, options);
|
|
7750
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7751
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunEchoV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7752
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7753
|
+
},
|
|
7325
7754
|
/**
|
|
7326
7755
|
*
|
|
7327
7756
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7382,6 +7811,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7382
7811
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunInpaintKateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7383
7812
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7384
7813
|
},
|
|
7814
|
+
/**
|
|
7815
|
+
*
|
|
7816
|
+
* @param {MathV1Request} mathV1Request
|
|
7817
|
+
* @param {*} [options] Override http request option.
|
|
7818
|
+
* @throws {RequiredError}
|
|
7819
|
+
*/
|
|
7820
|
+
async operationsControllerRunMathV1V1(mathV1Request, options) {
|
|
7821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunMathV1V1(mathV1Request, options);
|
|
7822
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7823
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunMathV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7824
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7825
|
+
},
|
|
7385
7826
|
/**
|
|
7386
7827
|
*
|
|
7387
7828
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -7553,6 +7994,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7553
7994
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
7554
7995
|
return localVarFp.operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(axios, basePath));
|
|
7555
7996
|
},
|
|
7997
|
+
/**
|
|
7998
|
+
*
|
|
7999
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
8000
|
+
* @param {*} [options] Override http request option.
|
|
8001
|
+
* @throws {RequiredError}
|
|
8002
|
+
*/
|
|
8003
|
+
operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
8004
|
+
return localVarFp.operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(axios, basePath));
|
|
8005
|
+
},
|
|
7556
8006
|
/**
|
|
7557
8007
|
*
|
|
7558
8008
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7589,6 +8039,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7589
8039
|
operationsControllerRunCutV1V1(cutV1Request, options) {
|
|
7590
8040
|
return localVarFp.operationsControllerRunCutV1V1(cutV1Request, options).then((request) => request(axios, basePath));
|
|
7591
8041
|
},
|
|
8042
|
+
/**
|
|
8043
|
+
*
|
|
8044
|
+
* @param {EchoV1Request} echoV1Request
|
|
8045
|
+
* @param {*} [options] Override http request option.
|
|
8046
|
+
* @throws {RequiredError}
|
|
8047
|
+
*/
|
|
8048
|
+
operationsControllerRunEchoV1V1(echoV1Request, options) {
|
|
8049
|
+
return localVarFp.operationsControllerRunEchoV1V1(echoV1Request, options).then((request) => request(axios, basePath));
|
|
8050
|
+
},
|
|
7592
8051
|
/**
|
|
7593
8052
|
*
|
|
7594
8053
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7634,6 +8093,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7634
8093
|
operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
7635
8094
|
return localVarFp.operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(axios, basePath));
|
|
7636
8095
|
},
|
|
8096
|
+
/**
|
|
8097
|
+
*
|
|
8098
|
+
* @param {MathV1Request} mathV1Request
|
|
8099
|
+
* @param {*} [options] Override http request option.
|
|
8100
|
+
* @throws {RequiredError}
|
|
8101
|
+
*/
|
|
8102
|
+
operationsControllerRunMathV1V1(mathV1Request, options) {
|
|
8103
|
+
return localVarFp.operationsControllerRunMathV1V1(mathV1Request, options).then((request) => request(axios, basePath));
|
|
8104
|
+
},
|
|
7637
8105
|
/**
|
|
7638
8106
|
*
|
|
7639
8107
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -7775,6 +8243,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7775
8243
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
7776
8244
|
return OperationsApiFp(this.configuration).operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
7777
8245
|
}
|
|
8246
|
+
/**
|
|
8247
|
+
*
|
|
8248
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
8249
|
+
* @param {*} [options] Override http request option.
|
|
8250
|
+
* @throws {RequiredError}
|
|
8251
|
+
* @memberof OperationsApi
|
|
8252
|
+
*/
|
|
8253
|
+
operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options) {
|
|
8254
|
+
return OperationsApiFp(this.configuration).operationsControllerRunAnimateKling16ProV1V1(animateKling16ProV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8255
|
+
}
|
|
7778
8256
|
/**
|
|
7779
8257
|
*
|
|
7780
8258
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7815,6 +8293,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7815
8293
|
operationsControllerRunCutV1V1(cutV1Request, options) {
|
|
7816
8294
|
return OperationsApiFp(this.configuration).operationsControllerRunCutV1V1(cutV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
7817
8295
|
}
|
|
8296
|
+
/**
|
|
8297
|
+
*
|
|
8298
|
+
* @param {EchoV1Request} echoV1Request
|
|
8299
|
+
* @param {*} [options] Override http request option.
|
|
8300
|
+
* @throws {RequiredError}
|
|
8301
|
+
* @memberof OperationsApi
|
|
8302
|
+
*/
|
|
8303
|
+
operationsControllerRunEchoV1V1(echoV1Request, options) {
|
|
8304
|
+
return OperationsApiFp(this.configuration).operationsControllerRunEchoV1V1(echoV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8305
|
+
}
|
|
7818
8306
|
/**
|
|
7819
8307
|
*
|
|
7820
8308
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7865,6 +8353,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7865
8353
|
operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
7866
8354
|
return OperationsApiFp(this.configuration).operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
7867
8355
|
}
|
|
8356
|
+
/**
|
|
8357
|
+
*
|
|
8358
|
+
* @param {MathV1Request} mathV1Request
|
|
8359
|
+
* @param {*} [options] Override http request option.
|
|
8360
|
+
* @throws {RequiredError}
|
|
8361
|
+
* @memberof OperationsApi
|
|
8362
|
+
*/
|
|
8363
|
+
operationsControllerRunMathV1V1(mathV1Request, options) {
|
|
8364
|
+
return OperationsApiFp(this.configuration).operationsControllerRunMathV1V1(mathV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8365
|
+
}
|
|
7868
8366
|
/**
|
|
7869
8367
|
*
|
|
7870
8368
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -9376,6 +9874,165 @@ export class StorageApi extends BaseAPI {
|
|
|
9376
9874
|
return StorageApiFp(this.configuration).storageControllerUpdateRecordV1(updateStorageRecordParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
9377
9875
|
}
|
|
9378
9876
|
}
|
|
9877
|
+
/**
|
|
9878
|
+
* VideosApi - axios parameter creator
|
|
9879
|
+
* @export
|
|
9880
|
+
*/
|
|
9881
|
+
export const VideosApiAxiosParamCreator = function (configuration) {
|
|
9882
|
+
return {
|
|
9883
|
+
/**
|
|
9884
|
+
*
|
|
9885
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
9886
|
+
* @param {*} [options] Override http request option.
|
|
9887
|
+
* @throws {RequiredError}
|
|
9888
|
+
*/
|
|
9889
|
+
videosControllerGetUrlsV1: async (getUrlsForImagesParamsDto, options = {}) => {
|
|
9890
|
+
// verify required parameter 'getUrlsForImagesParamsDto' is not null or undefined
|
|
9891
|
+
assertParamExists('videosControllerGetUrlsV1', 'getUrlsForImagesParamsDto', getUrlsForImagesParamsDto);
|
|
9892
|
+
const localVarPath = `/v1/videos/many`;
|
|
9893
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9894
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9895
|
+
let baseOptions;
|
|
9896
|
+
if (configuration) {
|
|
9897
|
+
baseOptions = configuration.baseOptions;
|
|
9898
|
+
}
|
|
9899
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9900
|
+
const localVarHeaderParameter = {};
|
|
9901
|
+
const localVarQueryParameter = {};
|
|
9902
|
+
// authentication bearer required
|
|
9903
|
+
// http bearer authentication required
|
|
9904
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9905
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9906
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9907
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9908
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9909
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getUrlsForImagesParamsDto, localVarRequestOptions, configuration);
|
|
9910
|
+
return {
|
|
9911
|
+
url: toPathString(localVarUrlObj),
|
|
9912
|
+
options: localVarRequestOptions,
|
|
9913
|
+
};
|
|
9914
|
+
},
|
|
9915
|
+
/**
|
|
9916
|
+
*
|
|
9917
|
+
* @param {string} id
|
|
9918
|
+
* @param {*} [options] Override http request option.
|
|
9919
|
+
* @throws {RequiredError}
|
|
9920
|
+
*/
|
|
9921
|
+
videosControllerGetVideoV1: async (id, options = {}) => {
|
|
9922
|
+
// verify required parameter 'id' is not null or undefined
|
|
9923
|
+
assertParamExists('videosControllerGetVideoV1', 'id', id);
|
|
9924
|
+
const localVarPath = `/v1/videos/{id}`
|
|
9925
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9926
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9927
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9928
|
+
let baseOptions;
|
|
9929
|
+
if (configuration) {
|
|
9930
|
+
baseOptions = configuration.baseOptions;
|
|
9931
|
+
}
|
|
9932
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
9933
|
+
const localVarHeaderParameter = {};
|
|
9934
|
+
const localVarQueryParameter = {};
|
|
9935
|
+
// authentication bearer required
|
|
9936
|
+
// http bearer authentication required
|
|
9937
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9938
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9939
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9940
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9941
|
+
return {
|
|
9942
|
+
url: toPathString(localVarUrlObj),
|
|
9943
|
+
options: localVarRequestOptions,
|
|
9944
|
+
};
|
|
9945
|
+
},
|
|
9946
|
+
};
|
|
9947
|
+
};
|
|
9948
|
+
/**
|
|
9949
|
+
* VideosApi - functional programming interface
|
|
9950
|
+
* @export
|
|
9951
|
+
*/
|
|
9952
|
+
export const VideosApiFp = function (configuration) {
|
|
9953
|
+
const localVarAxiosParamCreator = VideosApiAxiosParamCreator(configuration);
|
|
9954
|
+
return {
|
|
9955
|
+
/**
|
|
9956
|
+
*
|
|
9957
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
9958
|
+
* @param {*} [options] Override http request option.
|
|
9959
|
+
* @throws {RequiredError}
|
|
9960
|
+
*/
|
|
9961
|
+
async videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options) {
|
|
9962
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options);
|
|
9963
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9964
|
+
const localVarOperationServerBasePath = operationServerMap['VideosApi.videosControllerGetUrlsV1']?.[localVarOperationServerIndex]?.url;
|
|
9965
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9966
|
+
},
|
|
9967
|
+
/**
|
|
9968
|
+
*
|
|
9969
|
+
* @param {string} id
|
|
9970
|
+
* @param {*} [options] Override http request option.
|
|
9971
|
+
* @throws {RequiredError}
|
|
9972
|
+
*/
|
|
9973
|
+
async videosControllerGetVideoV1(id, options) {
|
|
9974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.videosControllerGetVideoV1(id, options);
|
|
9975
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9976
|
+
const localVarOperationServerBasePath = operationServerMap['VideosApi.videosControllerGetVideoV1']?.[localVarOperationServerIndex]?.url;
|
|
9977
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9978
|
+
},
|
|
9979
|
+
};
|
|
9980
|
+
};
|
|
9981
|
+
/**
|
|
9982
|
+
* VideosApi - factory interface
|
|
9983
|
+
* @export
|
|
9984
|
+
*/
|
|
9985
|
+
export const VideosApiFactory = function (configuration, basePath, axios) {
|
|
9986
|
+
const localVarFp = VideosApiFp(configuration);
|
|
9987
|
+
return {
|
|
9988
|
+
/**
|
|
9989
|
+
*
|
|
9990
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
9991
|
+
* @param {*} [options] Override http request option.
|
|
9992
|
+
* @throws {RequiredError}
|
|
9993
|
+
*/
|
|
9994
|
+
videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options) {
|
|
9995
|
+
return localVarFp.videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(axios, basePath));
|
|
9996
|
+
},
|
|
9997
|
+
/**
|
|
9998
|
+
*
|
|
9999
|
+
* @param {string} id
|
|
10000
|
+
* @param {*} [options] Override http request option.
|
|
10001
|
+
* @throws {RequiredError}
|
|
10002
|
+
*/
|
|
10003
|
+
videosControllerGetVideoV1(id, options) {
|
|
10004
|
+
return localVarFp.videosControllerGetVideoV1(id, options).then((request) => request(axios, basePath));
|
|
10005
|
+
},
|
|
10006
|
+
};
|
|
10007
|
+
};
|
|
10008
|
+
/**
|
|
10009
|
+
* VideosApi - object-oriented interface
|
|
10010
|
+
* @export
|
|
10011
|
+
* @class VideosApi
|
|
10012
|
+
* @extends {BaseAPI}
|
|
10013
|
+
*/
|
|
10014
|
+
export class VideosApi extends BaseAPI {
|
|
10015
|
+
/**
|
|
10016
|
+
*
|
|
10017
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
10018
|
+
* @param {*} [options] Override http request option.
|
|
10019
|
+
* @throws {RequiredError}
|
|
10020
|
+
* @memberof VideosApi
|
|
10021
|
+
*/
|
|
10022
|
+
videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options) {
|
|
10023
|
+
return VideosApiFp(this.configuration).videosControllerGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
10024
|
+
}
|
|
10025
|
+
/**
|
|
10026
|
+
*
|
|
10027
|
+
* @param {string} id
|
|
10028
|
+
* @param {*} [options] Override http request option.
|
|
10029
|
+
* @throws {RequiredError}
|
|
10030
|
+
* @memberof VideosApi
|
|
10031
|
+
*/
|
|
10032
|
+
videosControllerGetVideoV1(id, options) {
|
|
10033
|
+
return VideosApiFp(this.configuration).videosControllerGetVideoV1(id, options).then((request) => request(this.axios, this.basePath));
|
|
10034
|
+
}
|
|
10035
|
+
}
|
|
9379
10036
|
/**
|
|
9380
10037
|
* WebsocketApi - axios parameter creator
|
|
9381
10038
|
* @export
|
|
@@ -9520,3 +10177,107 @@ export class WebsocketApi extends BaseAPI {
|
|
|
9520
10177
|
return WebsocketApiFp(this.configuration).websocketControllerRegisterWebsocketV1(options).then((request) => request(this.axios, this.basePath));
|
|
9521
10178
|
}
|
|
9522
10179
|
}
|
|
10180
|
+
/**
|
|
10181
|
+
* WorkflowsApi - axios parameter creator
|
|
10182
|
+
* @export
|
|
10183
|
+
*/
|
|
10184
|
+
export const WorkflowsApiAxiosParamCreator = function (configuration) {
|
|
10185
|
+
return {
|
|
10186
|
+
/**
|
|
10187
|
+
*
|
|
10188
|
+
* @param {string} workflowId
|
|
10189
|
+
* @param {RunWorkflowParamsDto} runWorkflowParamsDto
|
|
10190
|
+
* @param {*} [options] Override http request option.
|
|
10191
|
+
* @throws {RequiredError}
|
|
10192
|
+
*/
|
|
10193
|
+
workflowsControllerRunWorkflowV1: async (workflowId, runWorkflowParamsDto, options = {}) => {
|
|
10194
|
+
// verify required parameter 'workflowId' is not null or undefined
|
|
10195
|
+
assertParamExists('workflowsControllerRunWorkflowV1', 'workflowId', workflowId);
|
|
10196
|
+
// verify required parameter 'runWorkflowParamsDto' is not null or undefined
|
|
10197
|
+
assertParamExists('workflowsControllerRunWorkflowV1', 'runWorkflowParamsDto', runWorkflowParamsDto);
|
|
10198
|
+
const localVarPath = `/v1/workflows/run/{workflowId}`
|
|
10199
|
+
.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
|
|
10200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10202
|
+
let baseOptions;
|
|
10203
|
+
if (configuration) {
|
|
10204
|
+
baseOptions = configuration.baseOptions;
|
|
10205
|
+
}
|
|
10206
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10207
|
+
const localVarHeaderParameter = {};
|
|
10208
|
+
const localVarQueryParameter = {};
|
|
10209
|
+
// authentication bearer required
|
|
10210
|
+
// http bearer authentication required
|
|
10211
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10212
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10213
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10215
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10216
|
+
localVarRequestOptions.data = serializeDataIfNeeded(runWorkflowParamsDto, localVarRequestOptions, configuration);
|
|
10217
|
+
return {
|
|
10218
|
+
url: toPathString(localVarUrlObj),
|
|
10219
|
+
options: localVarRequestOptions,
|
|
10220
|
+
};
|
|
10221
|
+
},
|
|
10222
|
+
};
|
|
10223
|
+
};
|
|
10224
|
+
/**
|
|
10225
|
+
* WorkflowsApi - functional programming interface
|
|
10226
|
+
* @export
|
|
10227
|
+
*/
|
|
10228
|
+
export const WorkflowsApiFp = function (configuration) {
|
|
10229
|
+
const localVarAxiosParamCreator = WorkflowsApiAxiosParamCreator(configuration);
|
|
10230
|
+
return {
|
|
10231
|
+
/**
|
|
10232
|
+
*
|
|
10233
|
+
* @param {string} workflowId
|
|
10234
|
+
* @param {RunWorkflowParamsDto} runWorkflowParamsDto
|
|
10235
|
+
* @param {*} [options] Override http request option.
|
|
10236
|
+
* @throws {RequiredError}
|
|
10237
|
+
*/
|
|
10238
|
+
async workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options) {
|
|
10239
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options);
|
|
10240
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10241
|
+
const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerRunWorkflowV1']?.[localVarOperationServerIndex]?.url;
|
|
10242
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10243
|
+
},
|
|
10244
|
+
};
|
|
10245
|
+
};
|
|
10246
|
+
/**
|
|
10247
|
+
* WorkflowsApi - factory interface
|
|
10248
|
+
* @export
|
|
10249
|
+
*/
|
|
10250
|
+
export const WorkflowsApiFactory = function (configuration, basePath, axios) {
|
|
10251
|
+
const localVarFp = WorkflowsApiFp(configuration);
|
|
10252
|
+
return {
|
|
10253
|
+
/**
|
|
10254
|
+
*
|
|
10255
|
+
* @param {string} workflowId
|
|
10256
|
+
* @param {RunWorkflowParamsDto} runWorkflowParamsDto
|
|
10257
|
+
* @param {*} [options] Override http request option.
|
|
10258
|
+
* @throws {RequiredError}
|
|
10259
|
+
*/
|
|
10260
|
+
workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options) {
|
|
10261
|
+
return localVarFp.workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options).then((request) => request(axios, basePath));
|
|
10262
|
+
},
|
|
10263
|
+
};
|
|
10264
|
+
};
|
|
10265
|
+
/**
|
|
10266
|
+
* WorkflowsApi - object-oriented interface
|
|
10267
|
+
* @export
|
|
10268
|
+
* @class WorkflowsApi
|
|
10269
|
+
* @extends {BaseAPI}
|
|
10270
|
+
*/
|
|
10271
|
+
export class WorkflowsApi extends BaseAPI {
|
|
10272
|
+
/**
|
|
10273
|
+
*
|
|
10274
|
+
* @param {string} workflowId
|
|
10275
|
+
* @param {RunWorkflowParamsDto} runWorkflowParamsDto
|
|
10276
|
+
* @param {*} [options] Override http request option.
|
|
10277
|
+
* @throws {RequiredError}
|
|
10278
|
+
* @memberof WorkflowsApi
|
|
10279
|
+
*/
|
|
10280
|
+
workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options) {
|
|
10281
|
+
return WorkflowsApiFp(this.configuration).workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
10282
|
+
}
|
|
10283
|
+
}
|