@hautechai/sdk 0.3.21 → 0.3.23
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 +1393 -69
- package/dist/autogenerated/api.js +1046 -16
- package/dist/autogenerated/permissions.d.ts +3 -0
- package/dist/sdk/index.d.ts +64 -10
- package/dist/sdk/operations/index.d.ts +22 -2
- package/dist/sdk/operations/index.js +11 -0
- package/dist/sdk/pipelines/index.d.ts +40 -0
- package/dist/sdk/pipelines/index.js +6 -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,8 +93,17 @@ 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',
|
|
106
|
+
_41Mini: 'gpt-4.1-mini'
|
|
81
107
|
};
|
|
82
108
|
export const GetImageRepresentationParamsDtoTypeEnum = {
|
|
83
109
|
SamV1: 'sam.v1'
|
|
@@ -120,10 +146,10 @@ export const ImageEntityKindEnum = {
|
|
|
120
146
|
Operation: 'operation',
|
|
121
147
|
Stack: 'stack',
|
|
122
148
|
Image: 'image',
|
|
149
|
+
Video: 'video',
|
|
123
150
|
Pose: 'pose',
|
|
124
151
|
Storage: 'storage',
|
|
125
|
-
Pipeline: 'pipeline'
|
|
126
|
-
Forbidden: 'forbidden'
|
|
152
|
+
Pipeline: 'pipeline'
|
|
127
153
|
};
|
|
128
154
|
export const ImagineKateV1ResponseKindEnum = {
|
|
129
155
|
Operation: 'operation'
|
|
@@ -199,10 +225,10 @@ export const ListCollectionItemsParamsDtoKindEnum = {
|
|
|
199
225
|
Operation: 'operation',
|
|
200
226
|
Stack: 'stack',
|
|
201
227
|
Image: 'image',
|
|
228
|
+
Video: 'video',
|
|
202
229
|
Pose: 'pose',
|
|
203
230
|
Storage: 'storage',
|
|
204
|
-
Pipeline: 'pipeline'
|
|
205
|
-
Forbidden: 'forbidden'
|
|
231
|
+
Pipeline: 'pipeline'
|
|
206
232
|
};
|
|
207
233
|
export const ListCollectionsParamsDtoOrderByEnum = {
|
|
208
234
|
CreatedAtAsc: 'createdAt_ASC',
|
|
@@ -226,6 +252,14 @@ export const ListStacksParamsDtoOrderByEnum = {
|
|
|
226
252
|
UpdatedAtAsc: 'updatedAt_ASC',
|
|
227
253
|
UpdatedAtDesc: 'updatedAt_DESC'
|
|
228
254
|
};
|
|
255
|
+
export const MathV1ResponseKindEnum = {
|
|
256
|
+
Operation: 'operation'
|
|
257
|
+
};
|
|
258
|
+
export const MathV1ResponseStatusEnum = {
|
|
259
|
+
Pending: 'pending',
|
|
260
|
+
Finished: 'finished',
|
|
261
|
+
Failed: 'failed'
|
|
262
|
+
};
|
|
229
263
|
export const ModifyAccessParamsDtoPrincipalTypeEnum = {
|
|
230
264
|
Account: 'account',
|
|
231
265
|
Group: 'group'
|
|
@@ -275,6 +309,12 @@ export const OperationOutputImageSingleKindEnum = {
|
|
|
275
309
|
export const OperationOutputJSONKindEnum = {
|
|
276
310
|
Json: 'json'
|
|
277
311
|
};
|
|
312
|
+
export const OperationOutputTextSingleKindEnum = {
|
|
313
|
+
TextSingle: 'text/single'
|
|
314
|
+
};
|
|
315
|
+
export const OperationOutputVideoSingleKindEnum = {
|
|
316
|
+
VideoSingle: 'video/single'
|
|
317
|
+
};
|
|
278
318
|
export const PipelineEntityKindEnum = {
|
|
279
319
|
Pipeline: 'pipeline'
|
|
280
320
|
};
|
|
@@ -283,6 +323,14 @@ export const PipelineEntityStatusEnum = {
|
|
|
283
323
|
Completed: 'completed',
|
|
284
324
|
Failed: 'failed'
|
|
285
325
|
};
|
|
326
|
+
export const PipelineWithOutputKindEnum = {
|
|
327
|
+
Pipeline: 'pipeline'
|
|
328
|
+
};
|
|
329
|
+
export const PipelineWithOutputStatusEnum = {
|
|
330
|
+
Pending: 'pending',
|
|
331
|
+
Completed: 'completed',
|
|
332
|
+
Failed: 'failed'
|
|
333
|
+
};
|
|
286
334
|
export const PoseEntityKindEnum = {
|
|
287
335
|
Pose: 'pose'
|
|
288
336
|
};
|
|
@@ -304,15 +352,23 @@ export const RemoveAccountFromGroupParamsDtoRoleEnum = {
|
|
|
304
352
|
Member: 'member',
|
|
305
353
|
Owner: 'owner'
|
|
306
354
|
};
|
|
355
|
+
export const ResizeV1ResponseKindEnum = {
|
|
356
|
+
Operation: 'operation'
|
|
357
|
+
};
|
|
358
|
+
export const ResizeV1ResponseStatusEnum = {
|
|
359
|
+
Pending: 'pending',
|
|
360
|
+
Finished: 'finished',
|
|
361
|
+
Failed: 'failed'
|
|
362
|
+
};
|
|
307
363
|
export const ResourceEntityKindEnum = {
|
|
308
364
|
Collection: 'collection',
|
|
309
365
|
Operation: 'operation',
|
|
310
366
|
Stack: 'stack',
|
|
311
367
|
Image: 'image',
|
|
368
|
+
Video: 'video',
|
|
312
369
|
Pose: 'pose',
|
|
313
370
|
Storage: 'storage',
|
|
314
|
-
Pipeline: 'pipeline'
|
|
315
|
-
Forbidden: 'forbidden'
|
|
371
|
+
Pipeline: 'pipeline'
|
|
316
372
|
};
|
|
317
373
|
export const RevokeAccessControllerParamsDtoPrincipalTypeEnum = {
|
|
318
374
|
Account: 'account',
|
|
@@ -340,6 +396,14 @@ export const StackEntityKindEnum = {
|
|
|
340
396
|
export const StorageEntityKindEnum = {
|
|
341
397
|
Storage: 'storage'
|
|
342
398
|
};
|
|
399
|
+
export const TranslateV1ResponseKindEnum = {
|
|
400
|
+
Operation: 'operation'
|
|
401
|
+
};
|
|
402
|
+
export const TranslateV1ResponseStatusEnum = {
|
|
403
|
+
Pending: 'pending',
|
|
404
|
+
Finished: 'finished',
|
|
405
|
+
Failed: 'failed'
|
|
406
|
+
};
|
|
343
407
|
export const UpscaleV1ResponseKindEnum = {
|
|
344
408
|
Operation: 'operation'
|
|
345
409
|
};
|
|
@@ -348,6 +412,16 @@ export const UpscaleV1ResponseStatusEnum = {
|
|
|
348
412
|
Finished: 'finished',
|
|
349
413
|
Failed: 'failed'
|
|
350
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
|
+
};
|
|
351
425
|
export const VtonGiseleV1ResponseKindEnum = {
|
|
352
426
|
Operation: 'operation'
|
|
353
427
|
};
|
|
@@ -2218,6 +2292,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2218
2292
|
options: localVarRequestOptions,
|
|
2219
2293
|
};
|
|
2220
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
|
+
},
|
|
2221
2327
|
/**
|
|
2222
2328
|
*
|
|
2223
2329
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -2346,6 +2452,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2346
2452
|
options: localVarRequestOptions,
|
|
2347
2453
|
};
|
|
2348
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
|
+
},
|
|
2349
2487
|
/**
|
|
2350
2488
|
*
|
|
2351
2489
|
* @param {GptV1Request} gptV1Request
|
|
@@ -2506,6 +2644,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2506
2644
|
options: localVarRequestOptions,
|
|
2507
2645
|
};
|
|
2508
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
|
+
},
|
|
2509
2679
|
/**
|
|
2510
2680
|
*
|
|
2511
2681
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -2634,6 +2804,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2634
2804
|
options: localVarRequestOptions,
|
|
2635
2805
|
};
|
|
2636
2806
|
},
|
|
2807
|
+
/**
|
|
2808
|
+
*
|
|
2809
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
2810
|
+
* @param {*} [options] Override http request option.
|
|
2811
|
+
* @throws {RequiredError}
|
|
2812
|
+
*/
|
|
2813
|
+
callControllerCallOperationsRunResizeV1V1: async (resizeV1Request, options = {}) => {
|
|
2814
|
+
// verify required parameter 'resizeV1Request' is not null or undefined
|
|
2815
|
+
assertParamExists('callControllerCallOperationsRunResizeV1V1', 'resizeV1Request', resizeV1Request);
|
|
2816
|
+
const localVarPath = `/v1/call/operations.run.resize.v1`;
|
|
2817
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2818
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2819
|
+
let baseOptions;
|
|
2820
|
+
if (configuration) {
|
|
2821
|
+
baseOptions = configuration.baseOptions;
|
|
2822
|
+
}
|
|
2823
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2824
|
+
const localVarHeaderParameter = {};
|
|
2825
|
+
const localVarQueryParameter = {};
|
|
2826
|
+
// authentication bearer required
|
|
2827
|
+
// http bearer authentication required
|
|
2828
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2829
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2830
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2831
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2832
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2833
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resizeV1Request, localVarRequestOptions, configuration);
|
|
2834
|
+
return {
|
|
2835
|
+
url: toPathString(localVarUrlObj),
|
|
2836
|
+
options: localVarRequestOptions,
|
|
2837
|
+
};
|
|
2838
|
+
},
|
|
2637
2839
|
/**
|
|
2638
2840
|
*
|
|
2639
2841
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -2698,6 +2900,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2698
2900
|
options: localVarRequestOptions,
|
|
2699
2901
|
};
|
|
2700
2902
|
},
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @param {TranslateV1Request} translateV1Request
|
|
2906
|
+
* @param {*} [options] Override http request option.
|
|
2907
|
+
* @throws {RequiredError}
|
|
2908
|
+
*/
|
|
2909
|
+
callControllerCallOperationsRunTranslateV1V1: async (translateV1Request, options = {}) => {
|
|
2910
|
+
// verify required parameter 'translateV1Request' is not null or undefined
|
|
2911
|
+
assertParamExists('callControllerCallOperationsRunTranslateV1V1', 'translateV1Request', translateV1Request);
|
|
2912
|
+
const localVarPath = `/v1/call/operations.run.translate.v1`;
|
|
2913
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2914
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2915
|
+
let baseOptions;
|
|
2916
|
+
if (configuration) {
|
|
2917
|
+
baseOptions = configuration.baseOptions;
|
|
2918
|
+
}
|
|
2919
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2920
|
+
const localVarHeaderParameter = {};
|
|
2921
|
+
const localVarQueryParameter = {};
|
|
2922
|
+
// authentication bearer required
|
|
2923
|
+
// http bearer authentication required
|
|
2924
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2925
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2926
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2927
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2928
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2929
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateV1Request, localVarRequestOptions, configuration);
|
|
2930
|
+
return {
|
|
2931
|
+
url: toPathString(localVarUrlObj),
|
|
2932
|
+
options: localVarRequestOptions,
|
|
2933
|
+
};
|
|
2934
|
+
},
|
|
2701
2935
|
/**
|
|
2702
2936
|
*
|
|
2703
2937
|
* @param {UpscaleV1Request} upscaleV1Request
|
|
@@ -2858,6 +3092,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2858
3092
|
options: localVarRequestOptions,
|
|
2859
3093
|
};
|
|
2860
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
|
+
},
|
|
2861
3127
|
/**
|
|
2862
3128
|
*
|
|
2863
3129
|
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
@@ -3555,6 +3821,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3555
3821
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsMetadataUpdateV1']?.[localVarOperationServerIndex]?.url;
|
|
3556
3822
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3557
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
|
+
},
|
|
3558
3836
|
/**
|
|
3559
3837
|
*
|
|
3560
3838
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -3603,6 +3881,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3603
3881
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunCutV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3604
3882
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3605
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
|
+
},
|
|
3606
3896
|
/**
|
|
3607
3897
|
*
|
|
3608
3898
|
* @param {GptV1Request} gptV1Request
|
|
@@ -3663,6 +3953,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3663
3953
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunInpaintKateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3664
3954
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3665
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
|
+
},
|
|
3666
3968
|
/**
|
|
3667
3969
|
*
|
|
3668
3970
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -3711,6 +4013,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3711
4013
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunPoseEstimationV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3712
4014
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3713
4015
|
},
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
4019
|
+
* @param {*} [options] Override http request option.
|
|
4020
|
+
* @throws {RequiredError}
|
|
4021
|
+
*/
|
|
4022
|
+
async callControllerCallOperationsRunResizeV1V1(resizeV1Request, options) {
|
|
4023
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunResizeV1V1(resizeV1Request, options);
|
|
4024
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4025
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunResizeV1V1']?.[localVarOperationServerIndex]?.url;
|
|
4026
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4027
|
+
},
|
|
3714
4028
|
/**
|
|
3715
4029
|
*
|
|
3716
4030
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -3735,6 +4049,18 @@ export const CallApiFp = function (configuration) {
|
|
|
3735
4049
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunSegmentAnythingMaskV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3736
4050
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3737
4051
|
},
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @param {TranslateV1Request} translateV1Request
|
|
4055
|
+
* @param {*} [options] Override http request option.
|
|
4056
|
+
* @throws {RequiredError}
|
|
4057
|
+
*/
|
|
4058
|
+
async callControllerCallOperationsRunTranslateV1V1(translateV1Request, options) {
|
|
4059
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunTranslateV1V1(translateV1Request, options);
|
|
4060
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4061
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunTranslateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
4062
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4063
|
+
},
|
|
3738
4064
|
/**
|
|
3739
4065
|
*
|
|
3740
4066
|
* @param {UpscaleV1Request} upscaleV1Request
|
|
@@ -3797,12 +4123,24 @@ export const CallApiFp = function (configuration) {
|
|
|
3797
4123
|
},
|
|
3798
4124
|
/**
|
|
3799
4125
|
*
|
|
3800
|
-
* @param {
|
|
4126
|
+
* @param {UpdateResourceMetadataDto} updateResourceMetadataDto
|
|
3801
4127
|
* @param {*} [options] Override http request option.
|
|
3802
4128
|
* @throws {RequiredError}
|
|
3803
4129
|
*/
|
|
3804
|
-
async
|
|
3805
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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
|
+
},
|
|
4136
|
+
/**
|
|
4137
|
+
*
|
|
4138
|
+
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
4139
|
+
* @param {*} [options] Override http request option.
|
|
4140
|
+
* @throws {RequiredError}
|
|
4141
|
+
*/
|
|
4142
|
+
async callControllerCallPosesPreviewSetV1(setPosePreviewDto, options) {
|
|
4143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallPosesPreviewSetV1(setPosePreviewDto, options);
|
|
3806
4144
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3807
4145
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallPosesPreviewSetV1']?.[localVarOperationServerIndex]?.url;
|
|
3808
4146
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4188,6 +4526,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4188
4526
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
4189
4527
|
return localVarFp.callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(axios, basePath));
|
|
4190
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
|
+
},
|
|
4191
4538
|
/**
|
|
4192
4539
|
*
|
|
4193
4540
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -4224,6 +4571,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4224
4571
|
callControllerCallOperationsRunCutV1V1(cutV1Request, options) {
|
|
4225
4572
|
return localVarFp.callControllerCallOperationsRunCutV1V1(cutV1Request, options).then((request) => request(axios, basePath));
|
|
4226
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
|
+
},
|
|
4227
4583
|
/**
|
|
4228
4584
|
*
|
|
4229
4585
|
* @param {GptV1Request} gptV1Request
|
|
@@ -4269,6 +4625,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4269
4625
|
callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
4270
4626
|
return localVarFp.callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(axios, basePath));
|
|
4271
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
|
+
},
|
|
4272
4637
|
/**
|
|
4273
4638
|
*
|
|
4274
4639
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -4305,6 +4670,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4305
4670
|
callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options) {
|
|
4306
4671
|
return localVarFp.callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(axios, basePath));
|
|
4307
4672
|
},
|
|
4673
|
+
/**
|
|
4674
|
+
*
|
|
4675
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
4676
|
+
* @param {*} [options] Override http request option.
|
|
4677
|
+
* @throws {RequiredError}
|
|
4678
|
+
*/
|
|
4679
|
+
callControllerCallOperationsRunResizeV1V1(resizeV1Request, options) {
|
|
4680
|
+
return localVarFp.callControllerCallOperationsRunResizeV1V1(resizeV1Request, options).then((request) => request(axios, basePath));
|
|
4681
|
+
},
|
|
4308
4682
|
/**
|
|
4309
4683
|
*
|
|
4310
4684
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -4323,6 +4697,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4323
4697
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
4324
4698
|
return localVarFp.callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(axios, basePath));
|
|
4325
4699
|
},
|
|
4700
|
+
/**
|
|
4701
|
+
*
|
|
4702
|
+
* @param {TranslateV1Request} translateV1Request
|
|
4703
|
+
* @param {*} [options] Override http request option.
|
|
4704
|
+
* @throws {RequiredError}
|
|
4705
|
+
*/
|
|
4706
|
+
callControllerCallOperationsRunTranslateV1V1(translateV1Request, options) {
|
|
4707
|
+
return localVarFp.callControllerCallOperationsRunTranslateV1V1(translateV1Request, options).then((request) => request(axios, basePath));
|
|
4708
|
+
},
|
|
4326
4709
|
/**
|
|
4327
4710
|
*
|
|
4328
4711
|
* @param {UpscaleV1Request} upscaleV1Request
|
|
@@ -4368,6 +4751,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4368
4751
|
callControllerCallPosesListV1(listPosesParamsDto, options) {
|
|
4369
4752
|
return localVarFp.callControllerCallPosesListV1(listPosesParamsDto, options).then((request) => request(axios, basePath));
|
|
4370
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
|
+
},
|
|
4371
4763
|
/**
|
|
4372
4764
|
*
|
|
4373
4765
|
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
@@ -4756,6 +5148,16 @@ export class CallApi extends BaseAPI {
|
|
|
4756
5148
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
4757
5149
|
return CallApiFp(this.configuration).callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(this.axios, this.basePath));
|
|
4758
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
|
+
}
|
|
4759
5161
|
/**
|
|
4760
5162
|
*
|
|
4761
5163
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -4796,6 +5198,16 @@ export class CallApi extends BaseAPI {
|
|
|
4796
5198
|
callControllerCallOperationsRunCutV1V1(cutV1Request, options) {
|
|
4797
5199
|
return CallApiFp(this.configuration).callControllerCallOperationsRunCutV1V1(cutV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
4798
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
|
+
}
|
|
4799
5211
|
/**
|
|
4800
5212
|
*
|
|
4801
5213
|
* @param {GptV1Request} gptV1Request
|
|
@@ -4846,6 +5258,16 @@ export class CallApi extends BaseAPI {
|
|
|
4846
5258
|
callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
4847
5259
|
return CallApiFp(this.configuration).callControllerCallOperationsRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
4848
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
|
+
}
|
|
4849
5271
|
/**
|
|
4850
5272
|
*
|
|
4851
5273
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -4886,6 +5308,16 @@ export class CallApi extends BaseAPI {
|
|
|
4886
5308
|
callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options) {
|
|
4887
5309
|
return CallApiFp(this.configuration).callControllerCallOperationsRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
4888
5310
|
}
|
|
5311
|
+
/**
|
|
5312
|
+
*
|
|
5313
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
5314
|
+
* @param {*} [options] Override http request option.
|
|
5315
|
+
* @throws {RequiredError}
|
|
5316
|
+
* @memberof CallApi
|
|
5317
|
+
*/
|
|
5318
|
+
callControllerCallOperationsRunResizeV1V1(resizeV1Request, options) {
|
|
5319
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunResizeV1V1(resizeV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5320
|
+
}
|
|
4889
5321
|
/**
|
|
4890
5322
|
*
|
|
4891
5323
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -4906,6 +5338,16 @@ export class CallApi extends BaseAPI {
|
|
|
4906
5338
|
callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
4907
5339
|
return CallApiFp(this.configuration).callControllerCallOperationsRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
4908
5340
|
}
|
|
5341
|
+
/**
|
|
5342
|
+
*
|
|
5343
|
+
* @param {TranslateV1Request} translateV1Request
|
|
5344
|
+
* @param {*} [options] Override http request option.
|
|
5345
|
+
* @throws {RequiredError}
|
|
5346
|
+
* @memberof CallApi
|
|
5347
|
+
*/
|
|
5348
|
+
callControllerCallOperationsRunTranslateV1V1(translateV1Request, options) {
|
|
5349
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunTranslateV1V1(translateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5350
|
+
}
|
|
4909
5351
|
/**
|
|
4910
5352
|
*
|
|
4911
5353
|
* @param {UpscaleV1Request} upscaleV1Request
|
|
@@ -4956,6 +5398,16 @@ export class CallApi extends BaseAPI {
|
|
|
4956
5398
|
callControllerCallPosesListV1(listPosesParamsDto, options) {
|
|
4957
5399
|
return CallApiFp(this.configuration).callControllerCallPosesListV1(listPosesParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
4958
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
|
+
}
|
|
4959
5411
|
/**
|
|
4960
5412
|
*
|
|
4961
5413
|
* @param {SetPosePreviewDto} setPosePreviewDto
|
|
@@ -5628,10 +6080,10 @@ export const CollectionsControllerListItemsV1KindEnum = {
|
|
|
5628
6080
|
Operation: 'operation',
|
|
5629
6081
|
Stack: 'stack',
|
|
5630
6082
|
Image: 'image',
|
|
6083
|
+
Video: 'video',
|
|
5631
6084
|
Pose: 'pose',
|
|
5632
6085
|
Storage: 'storage',
|
|
5633
|
-
Pipeline: 'pipeline'
|
|
5634
|
-
Forbidden: 'forbidden'
|
|
6086
|
+
Pipeline: 'pipeline'
|
|
5635
6087
|
};
|
|
5636
6088
|
/**
|
|
5637
6089
|
* GroupsApi - axios parameter creator
|
|
@@ -6440,6 +6892,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6440
6892
|
options: localVarRequestOptions,
|
|
6441
6893
|
};
|
|
6442
6894
|
},
|
|
6895
|
+
/**
|
|
6896
|
+
*
|
|
6897
|
+
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
6898
|
+
* @param {*} [options] Override http request option.
|
|
6899
|
+
* @throws {RequiredError}
|
|
6900
|
+
*/
|
|
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`;
|
|
6905
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6906
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6907
|
+
let baseOptions;
|
|
6908
|
+
if (configuration) {
|
|
6909
|
+
baseOptions = configuration.baseOptions;
|
|
6910
|
+
}
|
|
6911
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
6912
|
+
const localVarHeaderParameter = {};
|
|
6913
|
+
const localVarQueryParameter = {};
|
|
6914
|
+
// authentication bearer required
|
|
6915
|
+
// http bearer authentication required
|
|
6916
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6917
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6918
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6919
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6920
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6921
|
+
localVarRequestOptions.data = serializeDataIfNeeded(animateKling16ProV1Request, localVarRequestOptions, configuration);
|
|
6922
|
+
return {
|
|
6923
|
+
url: toPathString(localVarUrlObj),
|
|
6924
|
+
options: localVarRequestOptions,
|
|
6925
|
+
};
|
|
6926
|
+
},
|
|
6443
6927
|
/**
|
|
6444
6928
|
*
|
|
6445
6929
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -6568,6 +7052,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6568
7052
|
options: localVarRequestOptions,
|
|
6569
7053
|
};
|
|
6570
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
|
+
},
|
|
6571
7087
|
/**
|
|
6572
7088
|
*
|
|
6573
7089
|
* @param {GptV1Request} gptV1Request
|
|
@@ -6728,6 +7244,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6728
7244
|
options: localVarRequestOptions,
|
|
6729
7245
|
};
|
|
6730
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
|
+
},
|
|
6731
7279
|
/**
|
|
6732
7280
|
*
|
|
6733
7281
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -6856,6 +7404,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6856
7404
|
options: localVarRequestOptions,
|
|
6857
7405
|
};
|
|
6858
7406
|
},
|
|
7407
|
+
/**
|
|
7408
|
+
*
|
|
7409
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
7410
|
+
* @param {*} [options] Override http request option.
|
|
7411
|
+
* @throws {RequiredError}
|
|
7412
|
+
*/
|
|
7413
|
+
operationsControllerRunResizeV1V1: async (resizeV1Request, options = {}) => {
|
|
7414
|
+
// verify required parameter 'resizeV1Request' is not null or undefined
|
|
7415
|
+
assertParamExists('operationsControllerRunResizeV1V1', 'resizeV1Request', resizeV1Request);
|
|
7416
|
+
const localVarPath = `/v1/operations/run/resize.v1`;
|
|
7417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7418
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7419
|
+
let baseOptions;
|
|
7420
|
+
if (configuration) {
|
|
7421
|
+
baseOptions = configuration.baseOptions;
|
|
7422
|
+
}
|
|
7423
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7424
|
+
const localVarHeaderParameter = {};
|
|
7425
|
+
const localVarQueryParameter = {};
|
|
7426
|
+
// authentication bearer required
|
|
7427
|
+
// http bearer authentication required
|
|
7428
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7429
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7430
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7431
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7432
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7433
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resizeV1Request, localVarRequestOptions, configuration);
|
|
7434
|
+
return {
|
|
7435
|
+
url: toPathString(localVarUrlObj),
|
|
7436
|
+
options: localVarRequestOptions,
|
|
7437
|
+
};
|
|
7438
|
+
},
|
|
6859
7439
|
/**
|
|
6860
7440
|
*
|
|
6861
7441
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -6920,6 +7500,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
6920
7500
|
options: localVarRequestOptions,
|
|
6921
7501
|
};
|
|
6922
7502
|
},
|
|
7503
|
+
/**
|
|
7504
|
+
*
|
|
7505
|
+
* @param {TranslateV1Request} translateV1Request
|
|
7506
|
+
* @param {*} [options] Override http request option.
|
|
7507
|
+
* @throws {RequiredError}
|
|
7508
|
+
*/
|
|
7509
|
+
operationsControllerRunTranslateV1V1: async (translateV1Request, options = {}) => {
|
|
7510
|
+
// verify required parameter 'translateV1Request' is not null or undefined
|
|
7511
|
+
assertParamExists('operationsControllerRunTranslateV1V1', 'translateV1Request', translateV1Request);
|
|
7512
|
+
const localVarPath = `/v1/operations/run/translate.v1`;
|
|
7513
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7514
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7515
|
+
let baseOptions;
|
|
7516
|
+
if (configuration) {
|
|
7517
|
+
baseOptions = configuration.baseOptions;
|
|
7518
|
+
}
|
|
7519
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7520
|
+
const localVarHeaderParameter = {};
|
|
7521
|
+
const localVarQueryParameter = {};
|
|
7522
|
+
// authentication bearer required
|
|
7523
|
+
// http bearer authentication required
|
|
7524
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7525
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7526
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7527
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7528
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7529
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translateV1Request, localVarRequestOptions, configuration);
|
|
7530
|
+
return {
|
|
7531
|
+
url: toPathString(localVarUrlObj),
|
|
7532
|
+
options: localVarRequestOptions,
|
|
7533
|
+
};
|
|
7534
|
+
},
|
|
6923
7535
|
/**
|
|
6924
7536
|
*
|
|
6925
7537
|
* @param {UpscaleV1Request} upscaleV1Request
|
|
@@ -7067,6 +7679,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7067
7679
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerListOperationsV1']?.[localVarOperationServerIndex]?.url;
|
|
7068
7680
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7069
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
|
+
},
|
|
7070
7694
|
/**
|
|
7071
7695
|
*
|
|
7072
7696
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7115,6 +7739,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7115
7739
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunCutV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7116
7740
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7117
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
|
+
},
|
|
7118
7754
|
/**
|
|
7119
7755
|
*
|
|
7120
7756
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7175,6 +7811,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7175
7811
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunInpaintKateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7176
7812
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7177
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
|
+
},
|
|
7178
7826
|
/**
|
|
7179
7827
|
*
|
|
7180
7828
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -7223,6 +7871,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7223
7871
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunPoseEstimationV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7224
7872
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7225
7873
|
},
|
|
7874
|
+
/**
|
|
7875
|
+
*
|
|
7876
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
7877
|
+
* @param {*} [options] Override http request option.
|
|
7878
|
+
* @throws {RequiredError}
|
|
7879
|
+
*/
|
|
7880
|
+
async operationsControllerRunResizeV1V1(resizeV1Request, options) {
|
|
7881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunResizeV1V1(resizeV1Request, options);
|
|
7882
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7883
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunResizeV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7884
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7885
|
+
},
|
|
7226
7886
|
/**
|
|
7227
7887
|
*
|
|
7228
7888
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -7249,11 +7909,23 @@ export const OperationsApiFp = function (configuration) {
|
|
|
7249
7909
|
},
|
|
7250
7910
|
/**
|
|
7251
7911
|
*
|
|
7252
|
-
* @param {
|
|
7912
|
+
* @param {TranslateV1Request} translateV1Request
|
|
7253
7913
|
* @param {*} [options] Override http request option.
|
|
7254
7914
|
* @throws {RequiredError}
|
|
7255
7915
|
*/
|
|
7256
|
-
async
|
|
7916
|
+
async operationsControllerRunTranslateV1V1(translateV1Request, options) {
|
|
7917
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunTranslateV1V1(translateV1Request, options);
|
|
7918
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7919
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunTranslateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
7920
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7921
|
+
},
|
|
7922
|
+
/**
|
|
7923
|
+
*
|
|
7924
|
+
* @param {UpscaleV1Request} upscaleV1Request
|
|
7925
|
+
* @param {*} [options] Override http request option.
|
|
7926
|
+
* @throws {RequiredError}
|
|
7927
|
+
*/
|
|
7928
|
+
async operationsControllerRunUpscaleV1V1(upscaleV1Request, options) {
|
|
7257
7929
|
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunUpscaleV1V1(upscaleV1Request, options);
|
|
7258
7930
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7259
7931
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunUpscaleV1V1']?.[localVarOperationServerIndex]?.url;
|
|
@@ -7322,6 +7994,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7322
7994
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
7323
7995
|
return localVarFp.operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(axios, basePath));
|
|
7324
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
|
+
},
|
|
7325
8006
|
/**
|
|
7326
8007
|
*
|
|
7327
8008
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7358,6 +8039,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7358
8039
|
operationsControllerRunCutV1V1(cutV1Request, options) {
|
|
7359
8040
|
return localVarFp.operationsControllerRunCutV1V1(cutV1Request, options).then((request) => request(axios, basePath));
|
|
7360
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
|
+
},
|
|
7361
8051
|
/**
|
|
7362
8052
|
*
|
|
7363
8053
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7403,6 +8093,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7403
8093
|
operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
7404
8094
|
return localVarFp.operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(axios, basePath));
|
|
7405
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
|
+
},
|
|
7406
8105
|
/**
|
|
7407
8106
|
*
|
|
7408
8107
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -7439,6 +8138,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7439
8138
|
operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options) {
|
|
7440
8139
|
return localVarFp.operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(axios, basePath));
|
|
7441
8140
|
},
|
|
8141
|
+
/**
|
|
8142
|
+
*
|
|
8143
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
8144
|
+
* @param {*} [options] Override http request option.
|
|
8145
|
+
* @throws {RequiredError}
|
|
8146
|
+
*/
|
|
8147
|
+
operationsControllerRunResizeV1V1(resizeV1Request, options) {
|
|
8148
|
+
return localVarFp.operationsControllerRunResizeV1V1(resizeV1Request, options).then((request) => request(axios, basePath));
|
|
8149
|
+
},
|
|
7442
8150
|
/**
|
|
7443
8151
|
*
|
|
7444
8152
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -7457,6 +8165,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7457
8165
|
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
7458
8166
|
return localVarFp.operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(axios, basePath));
|
|
7459
8167
|
},
|
|
8168
|
+
/**
|
|
8169
|
+
*
|
|
8170
|
+
* @param {TranslateV1Request} translateV1Request
|
|
8171
|
+
* @param {*} [options] Override http request option.
|
|
8172
|
+
* @throws {RequiredError}
|
|
8173
|
+
*/
|
|
8174
|
+
operationsControllerRunTranslateV1V1(translateV1Request, options) {
|
|
8175
|
+
return localVarFp.operationsControllerRunTranslateV1V1(translateV1Request, options).then((request) => request(axios, basePath));
|
|
8176
|
+
},
|
|
7460
8177
|
/**
|
|
7461
8178
|
*
|
|
7462
8179
|
* @param {UpscaleV1Request} upscaleV1Request
|
|
@@ -7526,6 +8243,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7526
8243
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
7527
8244
|
return OperationsApiFp(this.configuration).operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
7528
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
|
+
}
|
|
7529
8256
|
/**
|
|
7530
8257
|
*
|
|
7531
8258
|
* @param {CompositeV1Request} compositeV1Request
|
|
@@ -7566,6 +8293,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7566
8293
|
operationsControllerRunCutV1V1(cutV1Request, options) {
|
|
7567
8294
|
return OperationsApiFp(this.configuration).operationsControllerRunCutV1V1(cutV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
7568
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
|
+
}
|
|
7569
8306
|
/**
|
|
7570
8307
|
*
|
|
7571
8308
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7616,6 +8353,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7616
8353
|
operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options) {
|
|
7617
8354
|
return OperationsApiFp(this.configuration).operationsControllerRunInpaintKateV1V1(inpaintKateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
7618
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
|
+
}
|
|
7619
8366
|
/**
|
|
7620
8367
|
*
|
|
7621
8368
|
* @param {NegateImageV1Request} negateImageV1Request
|
|
@@ -7656,6 +8403,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7656
8403
|
operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options) {
|
|
7657
8404
|
return OperationsApiFp(this.configuration).operationsControllerRunPoseEstimationV1V1(poseEstimationV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
7658
8405
|
}
|
|
8406
|
+
/**
|
|
8407
|
+
*
|
|
8408
|
+
* @param {ResizeV1Request} resizeV1Request
|
|
8409
|
+
* @param {*} [options] Override http request option.
|
|
8410
|
+
* @throws {RequiredError}
|
|
8411
|
+
* @memberof OperationsApi
|
|
8412
|
+
*/
|
|
8413
|
+
operationsControllerRunResizeV1V1(resizeV1Request, options) {
|
|
8414
|
+
return OperationsApiFp(this.configuration).operationsControllerRunResizeV1V1(resizeV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8415
|
+
}
|
|
7659
8416
|
/**
|
|
7660
8417
|
*
|
|
7661
8418
|
* @param {SegmentAnythingEmbeddingsV1Request} segmentAnythingEmbeddingsV1Request
|
|
@@ -7676,6 +8433,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
7676
8433
|
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options) {
|
|
7677
8434
|
return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
7678
8435
|
}
|
|
8436
|
+
/**
|
|
8437
|
+
*
|
|
8438
|
+
* @param {TranslateV1Request} translateV1Request
|
|
8439
|
+
* @param {*} [options] Override http request option.
|
|
8440
|
+
* @throws {RequiredError}
|
|
8441
|
+
* @memberof OperationsApi
|
|
8442
|
+
*/
|
|
8443
|
+
operationsControllerRunTranslateV1V1(translateV1Request, options) {
|
|
8444
|
+
return OperationsApiFp(this.configuration).operationsControllerRunTranslateV1V1(translateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8445
|
+
}
|
|
7679
8446
|
/**
|
|
7680
8447
|
*
|
|
7681
8448
|
* @param {UpscaleV1Request} upscaleV1Request
|
|
@@ -9107,6 +9874,165 @@ export class StorageApi extends BaseAPI {
|
|
|
9107
9874
|
return StorageApiFp(this.configuration).storageControllerUpdateRecordV1(updateStorageRecordParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
9108
9875
|
}
|
|
9109
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
|
+
}
|
|
9110
10036
|
/**
|
|
9111
10037
|
* WebsocketApi - axios parameter creator
|
|
9112
10038
|
* @export
|
|
@@ -9251,3 +10177,107 @@ export class WebsocketApi extends BaseAPI {
|
|
|
9251
10177
|
return WebsocketApiFp(this.configuration).websocketControllerRegisterWebsocketV1(options).then((request) => request(this.axios, this.basePath));
|
|
9252
10178
|
}
|
|
9253
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
|
+
}
|