@hautechai/sdk 1.0.6 → 1.1.0

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 CHANGED
@@ -1 +1,6 @@
1
- ## [1.0.6](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.0.5...@hautechai/sdk@1.0.6) (2025-07-18)
1
+ # [1.1.0](https://github.com/HautechAI/sdk/compare/@hautechai/sdk@1.0.6...@hautechai/sdk@1.1.0) (2025-07-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * Add creatomate operation ([c79eb48](https://github.com/HautechAI/sdk/commit/c79eb4821c030ee4b7a328caffe6a1b70b170852))
@@ -190,6 +190,121 @@ 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 {object}
202
+ * @memberof AnimateCreatomateV1Input
203
+ */
204
+ 'template': object;
205
+ }
206
+ /**
207
+ *
208
+ * @export
209
+ * @interface AnimateCreatomateV1Request
210
+ */
211
+ export interface AnimateCreatomateV1Request {
212
+ /**
213
+ *
214
+ * @type {AnimateCreatomateV1Input}
215
+ * @memberof AnimateCreatomateV1Request
216
+ */
217
+ 'input': AnimateCreatomateV1Input;
218
+ /**
219
+ *
220
+ * @type {object}
221
+ * @memberof AnimateCreatomateV1Request
222
+ */
223
+ 'metadata'?: object;
224
+ }
225
+ /**
226
+ *
227
+ * @export
228
+ * @interface AnimateCreatomateV1Response
229
+ */
230
+ export interface AnimateCreatomateV1Response {
231
+ /**
232
+ *
233
+ * @type {string}
234
+ * @memberof AnimateCreatomateV1Response
235
+ */
236
+ 'kind': AnimateCreatomateV1ResponseKindEnum;
237
+ /**
238
+ *
239
+ * @type {OperationOutputVideoSingle}
240
+ * @memberof AnimateCreatomateV1Response
241
+ */
242
+ 'output': OperationOutputVideoSingle;
243
+ /**
244
+ *
245
+ * @type {object}
246
+ * @memberof AnimateCreatomateV1Response
247
+ */
248
+ 'input': object;
249
+ /**
250
+ *
251
+ * @type {string}
252
+ * @memberof AnimateCreatomateV1Response
253
+ */
254
+ 'status': AnimateCreatomateV1ResponseStatusEnum;
255
+ /**
256
+ *
257
+ * @type {string}
258
+ * @memberof AnimateCreatomateV1Response
259
+ */
260
+ 'type': string;
261
+ /**
262
+ *
263
+ * @type {string}
264
+ * @memberof AnimateCreatomateV1Response
265
+ */
266
+ 'price'?: string;
267
+ /**
268
+ *
269
+ * @type {string}
270
+ * @memberof AnimateCreatomateV1Response
271
+ */
272
+ 'id': string;
273
+ /**
274
+ *
275
+ * @type {string}
276
+ * @memberof AnimateCreatomateV1Response
277
+ */
278
+ 'creatorId': string;
279
+ /**
280
+ *
281
+ * @type {object}
282
+ * @memberof AnimateCreatomateV1Response
283
+ */
284
+ 'metadata': object;
285
+ /**
286
+ *
287
+ * @type {string}
288
+ * @memberof AnimateCreatomateV1Response
289
+ */
290
+ 'createdAt': string;
291
+ /**
292
+ *
293
+ * @type {string}
294
+ * @memberof AnimateCreatomateV1Response
295
+ */
296
+ 'updatedAt': string;
297
+ }
298
+ export declare const AnimateCreatomateV1ResponseKindEnum: {
299
+ readonly Operation: "operation";
300
+ };
301
+ export type AnimateCreatomateV1ResponseKindEnum = typeof AnimateCreatomateV1ResponseKindEnum[keyof typeof AnimateCreatomateV1ResponseKindEnum];
302
+ export declare const AnimateCreatomateV1ResponseStatusEnum: {
303
+ readonly Pending: "pending";
304
+ readonly Finished: "finished";
305
+ readonly Failed: "failed";
306
+ };
307
+ export type AnimateCreatomateV1ResponseStatusEnum = typeof AnimateCreatomateV1ResponseStatusEnum[keyof typeof AnimateCreatomateV1ResponseStatusEnum];
193
308
  /**
194
309
  *
195
310
  * @export
@@ -7011,6 +7126,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
7011
7126
  * @throws {RequiredError}
7012
7127
  */
7013
7128
  callControllerCallOperationsMetadataUpdateV1: (updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7129
+ /**
7130
+ *
7131
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
7132
+ * @param {*} [options] Override http request option.
7133
+ * @throws {RequiredError}
7134
+ */
7135
+ callControllerCallOperationsRunAnimateCreatomateV1V1: (animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7014
7136
  /**
7015
7137
  *
7016
7138
  * @param {AnimateKling16ProV1Request} animateKling16ProV1Request
@@ -7514,6 +7636,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
7514
7636
  * @throws {RequiredError}
7515
7637
  */
7516
7638
  callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OperationEntity>>;
7639
+ /**
7640
+ *
7641
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
7642
+ * @param {*} [options] Override http request option.
7643
+ * @throws {RequiredError}
7644
+ */
7645
+ callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateCreatomateV1Response>>;
7517
7646
  /**
7518
7647
  *
7519
7648
  * @param {AnimateKling16ProV1Request} animateKling16ProV1Request
@@ -8017,6 +8146,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
8017
8146
  * @throws {RequiredError}
8018
8147
  */
8019
8148
  callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig): AxiosPromise<OperationEntity>;
8149
+ /**
8150
+ *
8151
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
8152
+ * @param {*} [options] Override http request option.
8153
+ * @throws {RequiredError}
8154
+ */
8155
+ callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateCreatomateV1Response>;
8020
8156
  /**
8021
8157
  *
8022
8158
  * @param {AnimateKling16ProV1Request} animateKling16ProV1Request
@@ -8550,6 +8686,14 @@ export declare class CallApi extends BaseAPI {
8550
8686
  * @memberof CallApi
8551
8687
  */
8552
8688
  callControllerCallOperationsMetadataUpdateV1(updateResourceMetadataDto: UpdateResourceMetadataDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OperationEntity, any>>;
8689
+ /**
8690
+ *
8691
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
8692
+ * @param {*} [options] Override http request option.
8693
+ * @throws {RequiredError}
8694
+ * @memberof CallApi
8695
+ */
8696
+ callControllerCallOperationsRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateCreatomateV1Response, any>>;
8553
8697
  /**
8554
8698
  *
8555
8699
  * @param {AnimateKling16ProV1Request} animateKling16ProV1Request
@@ -9568,6 +9712,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
9568
9712
  * @throws {RequiredError}
9569
9713
  */
9570
9714
  operationsControllerListOperationsV1: (orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9715
+ /**
9716
+ *
9717
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
9718
+ * @param {*} [options] Override http request option.
9719
+ * @throws {RequiredError}
9720
+ */
9721
+ operationsControllerRunAnimateCreatomateV1V1: (animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9571
9722
  /**
9572
9723
  *
9573
9724
  * @param {AnimateKling16ProV1Request} animateKling16ProV1Request
@@ -9787,6 +9938,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
9787
9938
  * @throws {RequiredError}
9788
9939
  */
9789
9940
  operationsControllerListOperationsV1(orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOperationsDto>>;
9941
+ /**
9942
+ *
9943
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
9944
+ * @param {*} [options] Override http request option.
9945
+ * @throws {RequiredError}
9946
+ */
9947
+ operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnimateCreatomateV1Response>>;
9790
9948
  /**
9791
9949
  *
9792
9950
  * @param {AnimateKling16ProV1Request} animateKling16ProV1Request
@@ -10006,6 +10164,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
10006
10164
  * @throws {RequiredError}
10007
10165
  */
10008
10166
  operationsControllerListOperationsV1(orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListOperationsDto>;
10167
+ /**
10168
+ *
10169
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
10170
+ * @param {*} [options] Override http request option.
10171
+ * @throws {RequiredError}
10172
+ */
10173
+ operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): AxiosPromise<AnimateCreatomateV1Response>;
10009
10174
  /**
10010
10175
  *
10011
10176
  * @param {AnimateKling16ProV1Request} animateKling16ProV1Request
@@ -10230,6 +10395,14 @@ export declare class OperationsApi extends BaseAPI {
10230
10395
  * @memberof OperationsApi
10231
10396
  */
10232
10397
  operationsControllerListOperationsV1(orderBy?: OperationsControllerListOperationsV1OrderByEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOperationsDto, any>>;
10398
+ /**
10399
+ *
10400
+ * @param {AnimateCreatomateV1Request} animateCreatomateV1Request
10401
+ * @param {*} [options] Override http request option.
10402
+ * @throws {RequiredError}
10403
+ * @memberof OperationsApi
10404
+ */
10405
+ operationsControllerRunAnimateCreatomateV1V1(animateCreatomateV1Request: AnimateCreatomateV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnimateCreatomateV1Response, any>>;
10233
10406
  /**
10234
10407
  *
10235
10408
  * @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
@@ -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: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {