@hautechai/sdk 1.0.6 → 1.1.1
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/CHANGELOG.md +6 -1
- package/dist/autogenerated/api.d.ts +178 -0
- package/dist/autogenerated/api.js +134 -0
- package/dist/sdk/index.d.ts +26 -0
- package/dist/sdk/operations/index.d.ts +7 -1
- package/dist/sdk/operations/index.js +3 -0
- package/dist/sdk/pipelines/index.d.ts +20 -0
- package/dist/sdk/pipelines/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [1.
|
|
1
|
+
## [1.1.1](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.1.0...@hautechai/sdk@1.1.1) (2025-07-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Allow string inputs for creatomate ([a99563f](https://github.com/HautechAI/sdk/commit/a99563fd679f37edbfb0fb59fc406d7eac828d45))
|
|
@@ -190,6 +190,126 @@ export interface AddItemsToStackParamsDto {
|
|
|
190
190
|
*/
|
|
191
191
|
'itemIds': Array<string>;
|
|
192
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @export
|
|
196
|
+
* @interface AnimateCreatomateV1Input
|
|
197
|
+
*/
|
|
198
|
+
export interface AnimateCreatomateV1Input {
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {AnimateCreatomateV1InputTemplate}
|
|
202
|
+
* @memberof AnimateCreatomateV1Input
|
|
203
|
+
*/
|
|
204
|
+
'template': AnimateCreatomateV1InputTemplate;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* @type AnimateCreatomateV1InputTemplate
|
|
208
|
+
* @export
|
|
209
|
+
*/
|
|
210
|
+
export type AnimateCreatomateV1InputTemplate = object | string;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @export
|
|
214
|
+
* @interface AnimateCreatomateV1Request
|
|
215
|
+
*/
|
|
216
|
+
export interface AnimateCreatomateV1Request {
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {AnimateCreatomateV1Input}
|
|
220
|
+
* @memberof AnimateCreatomateV1Request
|
|
221
|
+
*/
|
|
222
|
+
'input': AnimateCreatomateV1Input;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {object}
|
|
226
|
+
* @memberof AnimateCreatomateV1Request
|
|
227
|
+
*/
|
|
228
|
+
'metadata'?: object;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @export
|
|
233
|
+
* @interface AnimateCreatomateV1Response
|
|
234
|
+
*/
|
|
235
|
+
export interface AnimateCreatomateV1Response {
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof AnimateCreatomateV1Response
|
|
240
|
+
*/
|
|
241
|
+
'kind': AnimateCreatomateV1ResponseKindEnum;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @type {OperationOutputVideoSingle}
|
|
245
|
+
* @memberof AnimateCreatomateV1Response
|
|
246
|
+
*/
|
|
247
|
+
'output': OperationOutputVideoSingle;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {object}
|
|
251
|
+
* @memberof AnimateCreatomateV1Response
|
|
252
|
+
*/
|
|
253
|
+
'input': object;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof AnimateCreatomateV1Response
|
|
258
|
+
*/
|
|
259
|
+
'status': AnimateCreatomateV1ResponseStatusEnum;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof AnimateCreatomateV1Response
|
|
264
|
+
*/
|
|
265
|
+
'type': string;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @type {string}
|
|
269
|
+
* @memberof AnimateCreatomateV1Response
|
|
270
|
+
*/
|
|
271
|
+
'price'?: string;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {string}
|
|
275
|
+
* @memberof AnimateCreatomateV1Response
|
|
276
|
+
*/
|
|
277
|
+
'id': string;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @memberof AnimateCreatomateV1Response
|
|
282
|
+
*/
|
|
283
|
+
'creatorId': string;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {object}
|
|
287
|
+
* @memberof AnimateCreatomateV1Response
|
|
288
|
+
*/
|
|
289
|
+
'metadata': object;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {string}
|
|
293
|
+
* @memberof AnimateCreatomateV1Response
|
|
294
|
+
*/
|
|
295
|
+
'createdAt': string;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof AnimateCreatomateV1Response
|
|
300
|
+
*/
|
|
301
|
+
'updatedAt': string;
|
|
302
|
+
}
|
|
303
|
+
export declare const AnimateCreatomateV1ResponseKindEnum: {
|
|
304
|
+
readonly Operation: "operation";
|
|
305
|
+
};
|
|
306
|
+
export type AnimateCreatomateV1ResponseKindEnum = typeof AnimateCreatomateV1ResponseKindEnum[keyof typeof AnimateCreatomateV1ResponseKindEnum];
|
|
307
|
+
export declare const AnimateCreatomateV1ResponseStatusEnum: {
|
|
308
|
+
readonly Pending: "pending";
|
|
309
|
+
readonly Finished: "finished";
|
|
310
|
+
readonly Failed: "failed";
|
|
311
|
+
};
|
|
312
|
+
export type AnimateCreatomateV1ResponseStatusEnum = typeof AnimateCreatomateV1ResponseStatusEnum[keyof typeof AnimateCreatomateV1ResponseStatusEnum];
|
|
193
313
|
/**
|
|
194
314
|
*
|
|
195
315
|
* @export
|
|
@@ -7011,6 +7131,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
7011
7131
|
* @throws {RequiredError}
|
|
7012
7132
|
*/
|
|
7013
7133
|
callControllerCallOperationsMetadataUpdateV1: (updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7134
|
+
/**
|
|
7135
|
+
*
|
|
7136
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
7137
|
+
* @param {*} [options] Override http request option.
|
|
7138
|
+
* @throws {RequiredError}
|
|
7139
|
+
*/
|
|
7140
|
+
callControllerCallOperationsRunAnimateCreatomateV1V1: (animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7014
7141
|
/**
|
|
7015
7142
|
*
|
|
7016
7143
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -7514,6 +7641,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
|
|
|
7514
7641
|
* @throws {RequiredError}
|
|
7515
7642
|
*/
|
|
7516
7643
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
|
|
7644
|
+
/**
|
|
7645
|
+
*
|
|
7646
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
7647
|
+
* @param {*} [options] Override http request option.
|
|
7648
|
+
* @throws {RequiredError}
|
|
7649
|
+
*/
|
|
7650
|
+
callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateCreatomateV1Response>>;
|
|
7517
7651
|
/**
|
|
7518
7652
|
*
|
|
7519
7653
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -8017,6 +8151,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
|
|
|
8017
8151
|
* @throws {RequiredError}
|
|
8018
8152
|
*/
|
|
8019
8153
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
|
|
8154
|
+
/**
|
|
8155
|
+
*
|
|
8156
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
8157
|
+
* @param {*} [options] Override http request option.
|
|
8158
|
+
* @throws {RequiredError}
|
|
8159
|
+
*/
|
|
8160
|
+
callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateCreatomateV1Response>;
|
|
8020
8161
|
/**
|
|
8021
8162
|
*
|
|
8022
8163
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -8550,6 +8691,14 @@ export declare class CallApi extends BaseAPI {
|
|
|
8550
8691
|
* @memberof CallApi
|
|
8551
8692
|
*/
|
|
8552
8693
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
|
|
8694
|
+
/**
|
|
8695
|
+
*
|
|
8696
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
8697
|
+
* @param {*} [options] Override http request option.
|
|
8698
|
+
* @throws {RequiredError}
|
|
8699
|
+
* @memberof CallApi
|
|
8700
|
+
*/
|
|
8701
|
+
callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateCreatomateV1Response, any>>;
|
|
8553
8702
|
/**
|
|
8554
8703
|
*
|
|
8555
8704
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -9568,6 +9717,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
9568
9717
|
* @throws {RequiredError}
|
|
9569
9718
|
*/
|
|
9570
9719
|
operationsControllerListOperationsV1: (orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9720
|
+
/**
|
|
9721
|
+
*
|
|
9722
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
9723
|
+
* @param {*} [options] Override http request option.
|
|
9724
|
+
* @throws {RequiredError}
|
|
9725
|
+
*/
|
|
9726
|
+
operationsControllerRunAnimateCreatomateV1V1: (animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9571
9727
|
/**
|
|
9572
9728
|
*
|
|
9573
9729
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -9787,6 +9943,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
|
|
|
9787
9943
|
* @throws {RequiredError}
|
|
9788
9944
|
*/
|
|
9789
9945
|
operationsControllerListOperationsV1(orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOperationsDto>>;
|
|
9946
|
+
/**
|
|
9947
|
+
*
|
|
9948
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
9949
|
+
* @param {*} [options] Override http request option.
|
|
9950
|
+
* @throws {RequiredError}
|
|
9951
|
+
*/
|
|
9952
|
+
operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateCreatomateV1Response>>;
|
|
9790
9953
|
/**
|
|
9791
9954
|
*
|
|
9792
9955
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -10006,6 +10169,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
|
|
|
10006
10169
|
* @throws {RequiredError}
|
|
10007
10170
|
*/
|
|
10008
10171
|
operationsControllerListOperationsV1(orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListOperationsDto>;
|
|
10172
|
+
/**
|
|
10173
|
+
*
|
|
10174
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
10175
|
+
* @param {*} [options] Override http request option.
|
|
10176
|
+
* @throws {RequiredError}
|
|
10177
|
+
*/
|
|
10178
|
+
operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateCreatomateV1Response>;
|
|
10009
10179
|
/**
|
|
10010
10180
|
*
|
|
10011
10181
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -10230,6 +10400,14 @@ export declare class OperationsApi extends BaseAPI {
|
|
|
10230
10400
|
* @memberof OperationsApi
|
|
10231
10401
|
*/
|
|
10232
10402
|
operationsControllerListOperationsV1(orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOperationsDto, any>>;
|
|
10403
|
+
/**
|
|
10404
|
+
*
|
|
10405
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
10406
|
+
* @param {*} [options] Override http request option.
|
|
10407
|
+
* @throws {RequiredError}
|
|
10408
|
+
* @memberof OperationsApi
|
|
10409
|
+
*/
|
|
10410
|
+
operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateCreatomateV1Response, any>>;
|
|
10233
10411
|
/**
|
|
10234
10412
|
*
|
|
10235
10413
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -27,6 +27,14 @@ export const AddAccountToGroupParamsDtoRoleEnum = {
|
|
|
27
27
|
Member: 'member',
|
|
28
28
|
Owner: 'owner'
|
|
29
29
|
};
|
|
30
|
+
export const AnimateCreatomateV1ResponseKindEnum = {
|
|
31
|
+
Operation: 'operation'
|
|
32
|
+
};
|
|
33
|
+
export const AnimateCreatomateV1ResponseStatusEnum = {
|
|
34
|
+
Pending: 'pending',
|
|
35
|
+
Finished: 'finished',
|
|
36
|
+
Failed: 'failed'
|
|
37
|
+
};
|
|
30
38
|
export const AnimateKling16ProV1InputAspectRatioEnum = {
|
|
31
39
|
_11: '1:1',
|
|
32
40
|
_916: '9:16',
|
|
@@ -2381,6 +2389,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2381
2389
|
options: localVarRequestOptions,
|
|
2382
2390
|
};
|
|
2383
2391
|
},
|
|
2392
|
+
/**
|
|
2393
|
+
*
|
|
2394
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
2395
|
+
* @param {*} [options] Override http request option.
|
|
2396
|
+
* @throws {RequiredError}
|
|
2397
|
+
*/
|
|
2398
|
+
callControllerCallOperationsRunAnimateCreatomateV1V1: async (animateCreatomateV1Request, options = {}) => {
|
|
2399
|
+
// verify required parameter 'animateCreatomateV1Request' is not null or undefined
|
|
2400
|
+
assertParamExists('callControllerCallOperationsRunAnimateCreatomateV1V1', 'animateCreatomateV1Request', animateCreatomateV1Request);
|
|
2401
|
+
const localVarPath = `/v1/call/operations.run.animate.creatomate.v1`;
|
|
2402
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2403
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2404
|
+
let baseOptions;
|
|
2405
|
+
if (configuration) {
|
|
2406
|
+
baseOptions = configuration.baseOptions;
|
|
2407
|
+
}
|
|
2408
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2409
|
+
const localVarHeaderParameter = {};
|
|
2410
|
+
const localVarQueryParameter = {};
|
|
2411
|
+
// authentication bearer required
|
|
2412
|
+
// http bearer authentication required
|
|
2413
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2414
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2417
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2418
|
+
localVarRequestOptions.data = serializeDataIfNeeded(animateCreatomateV1Request, localVarRequestOptions, configuration);
|
|
2419
|
+
return {
|
|
2420
|
+
url: toPathString(localVarUrlObj),
|
|
2421
|
+
options: localVarRequestOptions,
|
|
2422
|
+
};
|
|
2423
|
+
},
|
|
2384
2424
|
/**
|
|
2385
2425
|
*
|
|
2386
2426
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -4102,6 +4142,18 @@ export const CallApiFp = function (configuration) {
|
|
|
4102
4142
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsMetadataUpdateV1']?.[localVarOperationServerIndex]?.url;
|
|
4103
4143
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4104
4144
|
},
|
|
4145
|
+
/**
|
|
4146
|
+
*
|
|
4147
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
4148
|
+
* @param {*} [options] Override http request option.
|
|
4149
|
+
* @throws {RequiredError}
|
|
4150
|
+
*/
|
|
4151
|
+
async callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request, options) {
|
|
4152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request, options);
|
|
4153
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4154
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunAnimateCreatomateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
4155
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4156
|
+
},
|
|
4105
4157
|
/**
|
|
4106
4158
|
*
|
|
4107
4159
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -4879,6 +4931,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4879
4931
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
4880
4932
|
return localVarFp.callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(axios, basePath));
|
|
4881
4933
|
},
|
|
4934
|
+
/**
|
|
4935
|
+
*
|
|
4936
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
4937
|
+
* @param {*} [options] Override http request option.
|
|
4938
|
+
* @throws {RequiredError}
|
|
4939
|
+
*/
|
|
4940
|
+
callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request, options) {
|
|
4941
|
+
return localVarFp.callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request, options).then((request) => request(axios, basePath));
|
|
4942
|
+
},
|
|
4882
4943
|
/**
|
|
4883
4944
|
*
|
|
4884
4945
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -5555,6 +5616,16 @@ export class CallApi extends BaseAPI {
|
|
|
5555
5616
|
callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options) {
|
|
5556
5617
|
return CallApiFp(this.configuration).callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto, options).then((request) => request(this.axios, this.basePath));
|
|
5557
5618
|
}
|
|
5619
|
+
/**
|
|
5620
|
+
*
|
|
5621
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
5622
|
+
* @param {*} [options] Override http request option.
|
|
5623
|
+
* @throws {RequiredError}
|
|
5624
|
+
* @memberof CallApi
|
|
5625
|
+
*/
|
|
5626
|
+
callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request, options) {
|
|
5627
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5628
|
+
}
|
|
5558
5629
|
/**
|
|
5559
5630
|
*
|
|
5560
5631
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -7359,6 +7430,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
7359
7430
|
options: localVarRequestOptions,
|
|
7360
7431
|
};
|
|
7361
7432
|
},
|
|
7433
|
+
/**
|
|
7434
|
+
*
|
|
7435
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
7436
|
+
* @param {*} [options] Override http request option.
|
|
7437
|
+
* @throws {RequiredError}
|
|
7438
|
+
*/
|
|
7439
|
+
operationsControllerRunAnimateCreatomateV1V1: async (animateCreatomateV1Request, options = {}) => {
|
|
7440
|
+
// verify required parameter 'animateCreatomateV1Request' is not null or undefined
|
|
7441
|
+
assertParamExists('operationsControllerRunAnimateCreatomateV1V1', 'animateCreatomateV1Request', animateCreatomateV1Request);
|
|
7442
|
+
const localVarPath = `/v1/operations/run/animate.creatomate.v1`;
|
|
7443
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7444
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7445
|
+
let baseOptions;
|
|
7446
|
+
if (configuration) {
|
|
7447
|
+
baseOptions = configuration.baseOptions;
|
|
7448
|
+
}
|
|
7449
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7450
|
+
const localVarHeaderParameter = {};
|
|
7451
|
+
const localVarQueryParameter = {};
|
|
7452
|
+
// authentication bearer required
|
|
7453
|
+
// http bearer authentication required
|
|
7454
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7455
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7456
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7457
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7458
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7459
|
+
localVarRequestOptions.data = serializeDataIfNeeded(animateCreatomateV1Request, localVarRequestOptions, configuration);
|
|
7460
|
+
return {
|
|
7461
|
+
url: toPathString(localVarUrlObj),
|
|
7462
|
+
options: localVarRequestOptions,
|
|
7463
|
+
};
|
|
7464
|
+
},
|
|
7362
7465
|
/**
|
|
7363
7466
|
*
|
|
7364
7467
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -8274,6 +8377,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
8274
8377
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerListOperationsV1']?.[localVarOperationServerIndex]?.url;
|
|
8275
8378
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8276
8379
|
},
|
|
8380
|
+
/**
|
|
8381
|
+
*
|
|
8382
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
8383
|
+
* @param {*} [options] Override http request option.
|
|
8384
|
+
* @throws {RequiredError}
|
|
8385
|
+
*/
|
|
8386
|
+
async operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request, options) {
|
|
8387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request, options);
|
|
8388
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8389
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunAnimateCreatomateV1V1']?.[localVarOperationServerIndex]?.url;
|
|
8390
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8391
|
+
},
|
|
8277
8392
|
/**
|
|
8278
8393
|
*
|
|
8279
8394
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -8637,6 +8752,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
8637
8752
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
8638
8753
|
return localVarFp.operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(axios, basePath));
|
|
8639
8754
|
},
|
|
8755
|
+
/**
|
|
8756
|
+
*
|
|
8757
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
8758
|
+
* @param {*} [options] Override http request option.
|
|
8759
|
+
* @throws {RequiredError}
|
|
8760
|
+
*/
|
|
8761
|
+
operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request, options) {
|
|
8762
|
+
return localVarFp.operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request, options).then((request) => request(axios, basePath));
|
|
8763
|
+
},
|
|
8640
8764
|
/**
|
|
8641
8765
|
*
|
|
8642
8766
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
|
@@ -8922,6 +9046,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
8922
9046
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
8923
9047
|
return OperationsApiFp(this.configuration).operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
8924
9048
|
}
|
|
9049
|
+
/**
|
|
9050
|
+
*
|
|
9051
|
+
* @param {AnimateCreatomateV1Request} animateCreatomateV1Request
|
|
9052
|
+
* @param {*} [options] Override http request option.
|
|
9053
|
+
* @throws {RequiredError}
|
|
9054
|
+
* @memberof OperationsApi
|
|
9055
|
+
*/
|
|
9056
|
+
operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request, options) {
|
|
9057
|
+
return OperationsApiFp(this.configuration).operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
9058
|
+
}
|
|
8925
9059
|
/**
|
|
8926
9060
|
*
|
|
8927
9061
|
* @param {AnimateKling16ProV1Request} animateKling16ProV1Request
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -131,6 +131,12 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
131
131
|
metadata?: any;
|
|
132
132
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
133
133
|
};
|
|
134
|
+
creatomate: {
|
|
135
|
+
v1: (props: {
|
|
136
|
+
input: import("../autogenerated").AnimateCreatomateV1Input;
|
|
137
|
+
metadata?: any;
|
|
138
|
+
}) => Promise<import("../autogenerated").AnimateCreatomateV1Response>;
|
|
139
|
+
};
|
|
134
140
|
};
|
|
135
141
|
edit: {
|
|
136
142
|
flux_kontext_dev: {
|
|
@@ -431,6 +437,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
431
437
|
__taskOutput__?: never;
|
|
432
438
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
433
439
|
};
|
|
440
|
+
creatomate: {
|
|
441
|
+
v1: (params: import("../autogenerated").AnimateCreatomateV1Request & {
|
|
442
|
+
__taskOutput__?: never;
|
|
443
|
+
}) => Promise<import("../autogenerated").AnimateCreatomateV1Response>;
|
|
444
|
+
};
|
|
434
445
|
};
|
|
435
446
|
edit: {
|
|
436
447
|
flux_kontext_dev: {
|
|
@@ -721,6 +732,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
721
732
|
__taskOutput__?: never;
|
|
722
733
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
723
734
|
};
|
|
735
|
+
creatomate: {
|
|
736
|
+
v1: (params: import("../autogenerated").AnimateCreatomateV1Request & {
|
|
737
|
+
__taskOutput__?: never;
|
|
738
|
+
}) => Promise<import("../autogenerated").AnimateCreatomateV1Response>;
|
|
739
|
+
};
|
|
724
740
|
};
|
|
725
741
|
edit: {
|
|
726
742
|
flux_kontext_dev: {
|
|
@@ -1011,6 +1027,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1011
1027
|
__taskOutput__?: never;
|
|
1012
1028
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
1013
1029
|
};
|
|
1030
|
+
creatomate: {
|
|
1031
|
+
v1: (params: import("../autogenerated").AnimateCreatomateV1Request & {
|
|
1032
|
+
__taskOutput__?: never;
|
|
1033
|
+
}) => Promise<import("../autogenerated").AnimateCreatomateV1Response>;
|
|
1034
|
+
};
|
|
1014
1035
|
};
|
|
1015
1036
|
edit: {
|
|
1016
1037
|
flux_kontext_dev: {
|
|
@@ -1304,6 +1325,11 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1304
1325
|
__taskOutput__?: never;
|
|
1305
1326
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
1306
1327
|
};
|
|
1328
|
+
creatomate: {
|
|
1329
|
+
v1: (params: import("../autogenerated").AnimateCreatomateV1Request & {
|
|
1330
|
+
__taskOutput__?: never;
|
|
1331
|
+
}) => Promise<import("../autogenerated").AnimateCreatomateV1Response>;
|
|
1332
|
+
};
|
|
1307
1333
|
};
|
|
1308
1334
|
edit: {
|
|
1309
1335
|
flux_kontext_dev: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, EditFluxKontextDevV1Input, EditFluxKontextDevV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, GPTV2Input, GptV2Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, MathV1Input, MathV1Response, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, ResizeV1Input, ResizeV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, StringsTemplateV1Input, StringsTemplateV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
1
|
+
import { AnimateCreatomateV1Input, AnimateCreatomateV1Response, AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, EditFluxKontextDevV1Input, EditFluxKontextDevV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, GPTV2Input, GptV2Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, MathV1Input, MathV1Response, NaomiHauteV1Input, NegateImageV1Input, NegateImageV1Response, NoiseV1Input, NoiseV1Response, ObjectDetectionV1Input, ObjectDetectionV1Response, OperationEntity, OperationEntityStatusEnum, PoseEstimationV1Input, PoseEstimationV1Response, ResizeV1Input, ResizeV1Response, SegmentAnythingEmbeddingsV1Input, SegmentAnythingEmbeddingsV1Response, SegmentAnythingMaskV1Input, SegmentAnythingMaskV1Response, StringsTemplateV1Input, StringsTemplateV1Response, TranslateV1Input, TranslateV1Response, UpscaleV1Input, UpscaleV1Response, VtonGiseleV1Response } from '../../autogenerated';
|
|
2
2
|
import { ListProps, ListResponse, SDKOptions } from '../../types';
|
|
3
3
|
import { OperationMetadata } from '../index';
|
|
4
4
|
import { OperationsListener } from '../listeners';
|
|
@@ -29,6 +29,12 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
|
|
|
29
29
|
metadata?: any;
|
|
30
30
|
}) => Promise<AnimateKling21V1Response>;
|
|
31
31
|
};
|
|
32
|
+
creatomate: {
|
|
33
|
+
v1: (props: {
|
|
34
|
+
input: AnimateCreatomateV1Input;
|
|
35
|
+
metadata?: any;
|
|
36
|
+
}) => Promise<AnimateCreatomateV1Response>;
|
|
37
|
+
};
|
|
32
38
|
};
|
|
33
39
|
edit: {
|
|
34
40
|
flux_kontext_dev: {
|
|
@@ -14,6 +14,9 @@ const operations = (options, operationsListener) => {
|
|
|
14
14
|
kling_2_1: {
|
|
15
15
|
v1: createOperation((methods, props) => methods.operationsControllerRunAnimateKling21V1V1(props)),
|
|
16
16
|
},
|
|
17
|
+
creatomate: {
|
|
18
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunAnimateCreatomateV1V1(props)),
|
|
19
|
+
},
|
|
17
20
|
},
|
|
18
21
|
edit: {
|
|
19
22
|
flux_kontext_dev: {
|
|
@@ -119,6 +119,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
119
119
|
__taskOutput__?: never;
|
|
120
120
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
121
121
|
};
|
|
122
|
+
creatomate: {
|
|
123
|
+
v1: (params: import("../../autogenerated").AnimateCreatomateV1Request & {
|
|
124
|
+
__taskOutput__?: never;
|
|
125
|
+
}) => Promise<import("../../autogenerated").AnimateCreatomateV1Response>;
|
|
126
|
+
};
|
|
122
127
|
};
|
|
123
128
|
edit: {
|
|
124
129
|
flux_kontext_dev: {
|
|
@@ -409,6 +414,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
409
414
|
__taskOutput__?: never;
|
|
410
415
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
411
416
|
};
|
|
417
|
+
creatomate: {
|
|
418
|
+
v1: (params: import("../../autogenerated").AnimateCreatomateV1Request & {
|
|
419
|
+
__taskOutput__?: never;
|
|
420
|
+
}) => Promise<import("../../autogenerated").AnimateCreatomateV1Response>;
|
|
421
|
+
};
|
|
412
422
|
};
|
|
413
423
|
edit: {
|
|
414
424
|
flux_kontext_dev: {
|
|
@@ -699,6 +709,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
699
709
|
__taskOutput__?: never;
|
|
700
710
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
701
711
|
};
|
|
712
|
+
creatomate: {
|
|
713
|
+
v1: (params: import("../../autogenerated").AnimateCreatomateV1Request & {
|
|
714
|
+
__taskOutput__?: never;
|
|
715
|
+
}) => Promise<import("../../autogenerated").AnimateCreatomateV1Response>;
|
|
716
|
+
};
|
|
702
717
|
};
|
|
703
718
|
edit: {
|
|
704
719
|
flux_kontext_dev: {
|
|
@@ -992,6 +1007,11 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
992
1007
|
__taskOutput__?: never;
|
|
993
1008
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
994
1009
|
};
|
|
1010
|
+
creatomate: {
|
|
1011
|
+
v1: (params: import("../../autogenerated").AnimateCreatomateV1Request & {
|
|
1012
|
+
__taskOutput__?: never;
|
|
1013
|
+
}) => Promise<import("../../autogenerated").AnimateCreatomateV1Response>;
|
|
1014
|
+
};
|
|
995
1015
|
};
|
|
996
1016
|
edit: {
|
|
997
1017
|
flux_kontext_dev: {
|
|
@@ -65,6 +65,9 @@ const pipelines = (options) => {
|
|
|
65
65
|
kling_2_1: {
|
|
66
66
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunAnimateKling21V1V1),
|
|
67
67
|
},
|
|
68
|
+
creatomate: {
|
|
69
|
+
v1: callMethod((methods) => methods.callControllerCallOperationsRunAnimateCreatomateV1V1),
|
|
70
|
+
},
|
|
68
71
|
},
|
|
69
72
|
edit: {
|
|
70
73
|
flux_kontext_dev: {
|