@hautechai/sdk 0.3.35 → 0.3.37
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 +180 -1
- package/dist/autogenerated/api.js +134 -0
- package/dist/sdk/index.d.ts +41 -4
- package/dist/sdk/operations/index.d.ts +9 -1
- package/dist/sdk/operations/index.js +5 -0
- package/dist/sdk/pipelines/index.d.ts +33 -4
- package/dist/sdk/pipelines/index.js +6 -0
- package/package.json +2 -2
|
@@ -934,12 +934,18 @@ export interface CreatePipelineParamsDto {
|
|
|
934
934
|
* @memberof CreatePipelineParamsDto
|
|
935
935
|
*/
|
|
936
936
|
'metadata'?: object;
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @type {Array<TaskDto>}
|
|
940
|
+
* @memberof CreatePipelineParamsDto
|
|
941
|
+
*/
|
|
942
|
+
'tasks': Array<TaskDto>;
|
|
937
943
|
/**
|
|
938
944
|
*
|
|
939
945
|
* @type {object}
|
|
940
946
|
* @memberof CreatePipelineParamsDto
|
|
941
947
|
*/
|
|
942
|
-
'
|
|
948
|
+
'state'?: object;
|
|
943
949
|
}
|
|
944
950
|
/**
|
|
945
951
|
*
|
|
@@ -1369,6 +1375,121 @@ export declare const EchoV1ResponseStatusEnum: {
|
|
|
1369
1375
|
readonly Failed: "failed";
|
|
1370
1376
|
};
|
|
1371
1377
|
export type EchoV1ResponseStatusEnum = typeof EchoV1ResponseStatusEnum[keyof typeof EchoV1ResponseStatusEnum];
|
|
1378
|
+
/**
|
|
1379
|
+
*
|
|
1380
|
+
* @export
|
|
1381
|
+
* @interface EditFluxKontextDevV1Input
|
|
1382
|
+
*/
|
|
1383
|
+
export interface EditFluxKontextDevV1Input {
|
|
1384
|
+
/**
|
|
1385
|
+
*
|
|
1386
|
+
* @type {string}
|
|
1387
|
+
* @memberof EditFluxKontextDevV1Input
|
|
1388
|
+
*/
|
|
1389
|
+
'prompt': string;
|
|
1390
|
+
/**
|
|
1391
|
+
*
|
|
1392
|
+
* @type {string}
|
|
1393
|
+
* @memberof EditFluxKontextDevV1Input
|
|
1394
|
+
*/
|
|
1395
|
+
'imageId'?: string;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
*
|
|
1399
|
+
* @export
|
|
1400
|
+
* @interface EditFluxKontextDevV1Request
|
|
1401
|
+
*/
|
|
1402
|
+
export interface EditFluxKontextDevV1Request {
|
|
1403
|
+
/**
|
|
1404
|
+
*
|
|
1405
|
+
* @type {EditFluxKontextDevV1Input}
|
|
1406
|
+
* @memberof EditFluxKontextDevV1Request
|
|
1407
|
+
*/
|
|
1408
|
+
'input': EditFluxKontextDevV1Input;
|
|
1409
|
+
/**
|
|
1410
|
+
*
|
|
1411
|
+
* @type {object}
|
|
1412
|
+
* @memberof EditFluxKontextDevV1Request
|
|
1413
|
+
*/
|
|
1414
|
+
'metadata'?: object;
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @export
|
|
1419
|
+
* @interface EditFluxKontextDevV1Response
|
|
1420
|
+
*/
|
|
1421
|
+
export interface EditFluxKontextDevV1Response {
|
|
1422
|
+
/**
|
|
1423
|
+
*
|
|
1424
|
+
* @type {string}
|
|
1425
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1426
|
+
*/
|
|
1427
|
+
'kind': EditFluxKontextDevV1ResponseKindEnum;
|
|
1428
|
+
/**
|
|
1429
|
+
*
|
|
1430
|
+
* @type {OperationOutputImageSingle}
|
|
1431
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1432
|
+
*/
|
|
1433
|
+
'output': OperationOutputImageSingle;
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
* @type {object}
|
|
1437
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1438
|
+
*/
|
|
1439
|
+
'input': object;
|
|
1440
|
+
/**
|
|
1441
|
+
*
|
|
1442
|
+
* @type {string}
|
|
1443
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1444
|
+
*/
|
|
1445
|
+
'status': EditFluxKontextDevV1ResponseStatusEnum;
|
|
1446
|
+
/**
|
|
1447
|
+
*
|
|
1448
|
+
* @type {string}
|
|
1449
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1450
|
+
*/
|
|
1451
|
+
'type': string;
|
|
1452
|
+
/**
|
|
1453
|
+
*
|
|
1454
|
+
* @type {string}
|
|
1455
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1456
|
+
*/
|
|
1457
|
+
'id': string;
|
|
1458
|
+
/**
|
|
1459
|
+
*
|
|
1460
|
+
* @type {string}
|
|
1461
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1462
|
+
*/
|
|
1463
|
+
'creatorId': string;
|
|
1464
|
+
/**
|
|
1465
|
+
*
|
|
1466
|
+
* @type {object}
|
|
1467
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1468
|
+
*/
|
|
1469
|
+
'metadata': object;
|
|
1470
|
+
/**
|
|
1471
|
+
*
|
|
1472
|
+
* @type {string}
|
|
1473
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1474
|
+
*/
|
|
1475
|
+
'createdAt': string;
|
|
1476
|
+
/**
|
|
1477
|
+
*
|
|
1478
|
+
* @type {string}
|
|
1479
|
+
* @memberof EditFluxKontextDevV1Response
|
|
1480
|
+
*/
|
|
1481
|
+
'updatedAt': string;
|
|
1482
|
+
}
|
|
1483
|
+
export declare const EditFluxKontextDevV1ResponseKindEnum: {
|
|
1484
|
+
readonly Operation: "operation";
|
|
1485
|
+
};
|
|
1486
|
+
export type EditFluxKontextDevV1ResponseKindEnum = typeof EditFluxKontextDevV1ResponseKindEnum[keyof typeof EditFluxKontextDevV1ResponseKindEnum];
|
|
1487
|
+
export declare const EditFluxKontextDevV1ResponseStatusEnum: {
|
|
1488
|
+
readonly Pending: "pending";
|
|
1489
|
+
readonly Finished: "finished";
|
|
1490
|
+
readonly Failed: "failed";
|
|
1491
|
+
};
|
|
1492
|
+
export type EditFluxKontextDevV1ResponseStatusEnum = typeof EditFluxKontextDevV1ResponseStatusEnum[keyof typeof EditFluxKontextDevV1ResponseStatusEnum];
|
|
1372
1493
|
/**
|
|
1373
1494
|
*
|
|
1374
1495
|
* @export
|
|
@@ -6206,6 +6327,13 @@ export declare const CallApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6206
6327
|
* @throws {RequiredError}
|
|
6207
6328
|
*/
|
|
6208
6329
|
callControllerCallOperationsRunEchoV1V1: (echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6330
|
+
/**
|
|
6331
|
+
*
|
|
6332
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
6333
|
+
* @param {*} [options] Override http request option.
|
|
6334
|
+
* @throws {RequiredError}
|
|
6335
|
+
*/
|
|
6336
|
+
callControllerCallOperationsRunEditFluxKontextDevV1V1: (editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6209
6337
|
/**
|
|
6210
6338
|
*
|
|
6211
6339
|
* @param {GptV1Request} gptV1Request
|
|
@@ -6695,6 +6823,13 @@ export declare const CallApiFp: (configuration?: Configuration) => {
|
|
|
6695
6823
|
* @throws {RequiredError}
|
|
6696
6824
|
*/
|
|
6697
6825
|
callControllerCallOperationsRunEchoV1V1(echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EchoV1Response>>;
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
6829
|
+
* @param {*} [options] Override http request option.
|
|
6830
|
+
* @throws {RequiredError}
|
|
6831
|
+
*/
|
|
6832
|
+
callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EditFluxKontextDevV1Response>>;
|
|
6698
6833
|
/**
|
|
6699
6834
|
*
|
|
6700
6835
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7184,6 +7319,13 @@ export declare const CallApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7184
7319
|
* @throws {RequiredError}
|
|
7185
7320
|
*/
|
|
7186
7321
|
callControllerCallOperationsRunEchoV1V1(echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig): AxiosPromise<EchoV1Response>;
|
|
7322
|
+
/**
|
|
7323
|
+
*
|
|
7324
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
7325
|
+
* @param {*} [options] Override http request option.
|
|
7326
|
+
* @throws {RequiredError}
|
|
7327
|
+
*/
|
|
7328
|
+
callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig): AxiosPromise<EditFluxKontextDevV1Response>;
|
|
7187
7329
|
/**
|
|
7188
7330
|
*
|
|
7189
7331
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7710,6 +7852,14 @@ export declare class CallApi extends BaseAPI {
|
|
|
7710
7852
|
* @memberof CallApi
|
|
7711
7853
|
*/
|
|
7712
7854
|
callControllerCallOperationsRunEchoV1V1(echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EchoV1Response, any>>;
|
|
7855
|
+
/**
|
|
7856
|
+
*
|
|
7857
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
7858
|
+
* @param {*} [options] Override http request option.
|
|
7859
|
+
* @throws {RequiredError}
|
|
7860
|
+
* @memberof CallApi
|
|
7861
|
+
*/
|
|
7862
|
+
callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EditFluxKontextDevV1Response, any>>;
|
|
7713
7863
|
/**
|
|
7714
7864
|
*
|
|
7715
7865
|
* @param {GptV1Request} gptV1Request
|
|
@@ -8705,6 +8855,13 @@ export declare const OperationsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
8705
8855
|
* @throws {RequiredError}
|
|
8706
8856
|
*/
|
|
8707
8857
|
operationsControllerRunEchoV1V1: (echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8858
|
+
/**
|
|
8859
|
+
*
|
|
8860
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
8861
|
+
* @param {*} [options] Override http request option.
|
|
8862
|
+
* @throws {RequiredError}
|
|
8863
|
+
*/
|
|
8864
|
+
operationsControllerRunEditFluxKontextDevV1V1: (editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8708
8865
|
/**
|
|
8709
8866
|
*
|
|
8710
8867
|
* @param {GptV1Request} gptV1Request
|
|
@@ -8910,6 +9067,13 @@ export declare const OperationsApiFp: (configuration?: Configuration) => {
|
|
|
8910
9067
|
* @throws {RequiredError}
|
|
8911
9068
|
*/
|
|
8912
9069
|
operationsControllerRunEchoV1V1(echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EchoV1Response>>;
|
|
9070
|
+
/**
|
|
9071
|
+
*
|
|
9072
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
9073
|
+
* @param {*} [options] Override http request option.
|
|
9074
|
+
* @throws {RequiredError}
|
|
9075
|
+
*/
|
|
9076
|
+
operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EditFluxKontextDevV1Response>>;
|
|
8913
9077
|
/**
|
|
8914
9078
|
*
|
|
8915
9079
|
* @param {GptV1Request} gptV1Request
|
|
@@ -9115,6 +9279,13 @@ export declare const OperationsApiFactory: (configuration?: Configuration, baseP
|
|
|
9115
9279
|
* @throws {RequiredError}
|
|
9116
9280
|
*/
|
|
9117
9281
|
operationsControllerRunEchoV1V1(echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig): AxiosPromise<EchoV1Response>;
|
|
9282
|
+
/**
|
|
9283
|
+
*
|
|
9284
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
9285
|
+
* @param {*} [options] Override http request option.
|
|
9286
|
+
* @throws {RequiredError}
|
|
9287
|
+
*/
|
|
9288
|
+
operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig): AxiosPromise<EditFluxKontextDevV1Response>;
|
|
9118
9289
|
/**
|
|
9119
9290
|
*
|
|
9120
9291
|
* @param {GptV1Request} gptV1Request
|
|
@@ -9332,6 +9503,14 @@ export declare class OperationsApi extends BaseAPI {
|
|
|
9332
9503
|
* @memberof OperationsApi
|
|
9333
9504
|
*/
|
|
9334
9505
|
operationsControllerRunEchoV1V1(echoV1Request: EchoV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EchoV1Response, any>>;
|
|
9506
|
+
/**
|
|
9507
|
+
*
|
|
9508
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
9509
|
+
* @param {*} [options] Override http request option.
|
|
9510
|
+
* @throws {RequiredError}
|
|
9511
|
+
* @memberof OperationsApi
|
|
9512
|
+
*/
|
|
9513
|
+
operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request: EditFluxKontextDevV1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EditFluxKontextDevV1Response, any>>;
|
|
9335
9514
|
/**
|
|
9336
9515
|
*
|
|
9337
9516
|
* @param {GptV1Request} gptV1Request
|
|
@@ -119,6 +119,14 @@ export const EchoV1ResponseStatusEnum = {
|
|
|
119
119
|
Finished: 'finished',
|
|
120
120
|
Failed: 'failed'
|
|
121
121
|
};
|
|
122
|
+
export const EditFluxKontextDevV1ResponseKindEnum = {
|
|
123
|
+
Operation: 'operation'
|
|
124
|
+
};
|
|
125
|
+
export const EditFluxKontextDevV1ResponseStatusEnum = {
|
|
126
|
+
Pending: 'pending',
|
|
127
|
+
Finished: 'finished',
|
|
128
|
+
Failed: 'failed'
|
|
129
|
+
};
|
|
122
130
|
export const GPTV1InputModelEnum = {
|
|
123
131
|
_4o: 'gpt-4o',
|
|
124
132
|
_41Mini: 'gpt-4.1-mini'
|
|
@@ -2547,6 +2555,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
2547
2555
|
options: localVarRequestOptions,
|
|
2548
2556
|
};
|
|
2549
2557
|
},
|
|
2558
|
+
/**
|
|
2559
|
+
*
|
|
2560
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
2561
|
+
* @param {*} [options] Override http request option.
|
|
2562
|
+
* @throws {RequiredError}
|
|
2563
|
+
*/
|
|
2564
|
+
callControllerCallOperationsRunEditFluxKontextDevV1V1: async (editFluxKontextDevV1Request, options = {}) => {
|
|
2565
|
+
// verify required parameter 'editFluxKontextDevV1Request' is not null or undefined
|
|
2566
|
+
assertParamExists('callControllerCallOperationsRunEditFluxKontextDevV1V1', 'editFluxKontextDevV1Request', editFluxKontextDevV1Request);
|
|
2567
|
+
const localVarPath = `/v1/call/operations.run.edit.flux_kontext_dev.v1`;
|
|
2568
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2569
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2570
|
+
let baseOptions;
|
|
2571
|
+
if (configuration) {
|
|
2572
|
+
baseOptions = configuration.baseOptions;
|
|
2573
|
+
}
|
|
2574
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2575
|
+
const localVarHeaderParameter = {};
|
|
2576
|
+
const localVarQueryParameter = {};
|
|
2577
|
+
// authentication bearer required
|
|
2578
|
+
// http bearer authentication required
|
|
2579
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2580
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2581
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2583
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2584
|
+
localVarRequestOptions.data = serializeDataIfNeeded(editFluxKontextDevV1Request, localVarRequestOptions, configuration);
|
|
2585
|
+
return {
|
|
2586
|
+
url: toPathString(localVarUrlObj),
|
|
2587
|
+
options: localVarRequestOptions,
|
|
2588
|
+
};
|
|
2589
|
+
},
|
|
2550
2590
|
/**
|
|
2551
2591
|
*
|
|
2552
2592
|
* @param {GptV1Request} gptV1Request
|
|
@@ -4064,6 +4104,18 @@ export const CallApiFp = function (configuration) {
|
|
|
4064
4104
|
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunEchoV1V1']?.[localVarOperationServerIndex]?.url;
|
|
4065
4105
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4066
4106
|
},
|
|
4107
|
+
/**
|
|
4108
|
+
*
|
|
4109
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
4110
|
+
* @param {*} [options] Override http request option.
|
|
4111
|
+
* @throws {RequiredError}
|
|
4112
|
+
*/
|
|
4113
|
+
async callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options) {
|
|
4114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options);
|
|
4115
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4116
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunEditFluxKontextDevV1V1']?.[localVarOperationServerIndex]?.url;
|
|
4117
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4118
|
+
},
|
|
4067
4119
|
/**
|
|
4068
4120
|
*
|
|
4069
4121
|
* @param {GptV1Request} gptV1Request
|
|
@@ -4796,6 +4848,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
4796
4848
|
callControllerCallOperationsRunEchoV1V1(echoV1Request, options) {
|
|
4797
4849
|
return localVarFp.callControllerCallOperationsRunEchoV1V1(echoV1Request, options).then((request) => request(axios, basePath));
|
|
4798
4850
|
},
|
|
4851
|
+
/**
|
|
4852
|
+
*
|
|
4853
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
4854
|
+
* @param {*} [options] Override http request option.
|
|
4855
|
+
* @throws {RequiredError}
|
|
4856
|
+
*/
|
|
4857
|
+
callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options) {
|
|
4858
|
+
return localVarFp.callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options).then((request) => request(axios, basePath));
|
|
4859
|
+
},
|
|
4799
4860
|
/**
|
|
4800
4861
|
*
|
|
4801
4862
|
* @param {GptV1Request} gptV1Request
|
|
@@ -5461,6 +5522,16 @@ export class CallApi extends BaseAPI {
|
|
|
5461
5522
|
callControllerCallOperationsRunEchoV1V1(echoV1Request, options) {
|
|
5462
5523
|
return CallApiFp(this.configuration).callControllerCallOperationsRunEchoV1V1(echoV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5463
5524
|
}
|
|
5525
|
+
/**
|
|
5526
|
+
*
|
|
5527
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
5528
|
+
* @param {*} [options] Override http request option.
|
|
5529
|
+
* @throws {RequiredError}
|
|
5530
|
+
* @memberof CallApi
|
|
5531
|
+
*/
|
|
5532
|
+
callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options) {
|
|
5533
|
+
return CallApiFp(this.configuration).callControllerCallOperationsRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
5534
|
+
}
|
|
5464
5535
|
/**
|
|
5465
5536
|
*
|
|
5466
5537
|
* @param {GptV1Request} gptV1Request
|
|
@@ -7399,6 +7470,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
7399
7470
|
options: localVarRequestOptions,
|
|
7400
7471
|
};
|
|
7401
7472
|
},
|
|
7473
|
+
/**
|
|
7474
|
+
*
|
|
7475
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
7476
|
+
* @param {*} [options] Override http request option.
|
|
7477
|
+
* @throws {RequiredError}
|
|
7478
|
+
*/
|
|
7479
|
+
operationsControllerRunEditFluxKontextDevV1V1: async (editFluxKontextDevV1Request, options = {}) => {
|
|
7480
|
+
// verify required parameter 'editFluxKontextDevV1Request' is not null or undefined
|
|
7481
|
+
assertParamExists('operationsControllerRunEditFluxKontextDevV1V1', 'editFluxKontextDevV1Request', editFluxKontextDevV1Request);
|
|
7482
|
+
const localVarPath = `/v1/operations/run/edit.flux_kontext_dev.v1`;
|
|
7483
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7484
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7485
|
+
let baseOptions;
|
|
7486
|
+
if (configuration) {
|
|
7487
|
+
baseOptions = configuration.baseOptions;
|
|
7488
|
+
}
|
|
7489
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7490
|
+
const localVarHeaderParameter = {};
|
|
7491
|
+
const localVarQueryParameter = {};
|
|
7492
|
+
// authentication bearer required
|
|
7493
|
+
// http bearer authentication required
|
|
7494
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7495
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7496
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7497
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7498
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7499
|
+
localVarRequestOptions.data = serializeDataIfNeeded(editFluxKontextDevV1Request, localVarRequestOptions, configuration);
|
|
7500
|
+
return {
|
|
7501
|
+
url: toPathString(localVarUrlObj),
|
|
7502
|
+
options: localVarRequestOptions,
|
|
7503
|
+
};
|
|
7504
|
+
},
|
|
7402
7505
|
/**
|
|
7403
7506
|
*
|
|
7404
7507
|
* @param {GptV1Request} gptV1Request
|
|
@@ -8110,6 +8213,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
8110
8213
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunEchoV1V1']?.[localVarOperationServerIndex]?.url;
|
|
8111
8214
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8112
8215
|
},
|
|
8216
|
+
/**
|
|
8217
|
+
*
|
|
8218
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
8219
|
+
* @param {*} [options] Override http request option.
|
|
8220
|
+
* @throws {RequiredError}
|
|
8221
|
+
*/
|
|
8222
|
+
async operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options) {
|
|
8223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options);
|
|
8224
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8225
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunEditFluxKontextDevV1V1']?.[localVarOperationServerIndex]?.url;
|
|
8226
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8227
|
+
},
|
|
8113
8228
|
/**
|
|
8114
8229
|
*
|
|
8115
8230
|
* @param {GptV1Request} gptV1Request
|
|
@@ -8428,6 +8543,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
8428
8543
|
operationsControllerRunEchoV1V1(echoV1Request, options) {
|
|
8429
8544
|
return localVarFp.operationsControllerRunEchoV1V1(echoV1Request, options).then((request) => request(axios, basePath));
|
|
8430
8545
|
},
|
|
8546
|
+
/**
|
|
8547
|
+
*
|
|
8548
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
8549
|
+
* @param {*} [options] Override http request option.
|
|
8550
|
+
* @throws {RequiredError}
|
|
8551
|
+
*/
|
|
8552
|
+
operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options) {
|
|
8553
|
+
return localVarFp.operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options).then((request) => request(axios, basePath));
|
|
8554
|
+
},
|
|
8431
8555
|
/**
|
|
8432
8556
|
*
|
|
8433
8557
|
* @param {GptV1Request} gptV1Request
|
|
@@ -8702,6 +8826,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
8702
8826
|
operationsControllerRunEchoV1V1(echoV1Request, options) {
|
|
8703
8827
|
return OperationsApiFp(this.configuration).operationsControllerRunEchoV1V1(echoV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8704
8828
|
}
|
|
8829
|
+
/**
|
|
8830
|
+
*
|
|
8831
|
+
* @param {EditFluxKontextDevV1Request} editFluxKontextDevV1Request
|
|
8832
|
+
* @param {*} [options] Override http request option.
|
|
8833
|
+
* @throws {RequiredError}
|
|
8834
|
+
* @memberof OperationsApi
|
|
8835
|
+
*/
|
|
8836
|
+
operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options) {
|
|
8837
|
+
return OperationsApiFp(this.configuration).operationsControllerRunEditFluxKontextDevV1V1(editFluxKontextDevV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
8838
|
+
}
|
|
8705
8839
|
/**
|
|
8706
8840
|
*
|
|
8707
8841
|
* @param {GptV1Request} gptV1Request
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -131,6 +131,14 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
131
131
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
+
edit: {
|
|
135
|
+
flux_kontext_dev: {
|
|
136
|
+
v1: (props: {
|
|
137
|
+
input: import("../autogenerated").EditFluxKontextDevV1Input;
|
|
138
|
+
metadata?: any;
|
|
139
|
+
}) => Promise<import("../autogenerated").EditFluxKontextDevV1Response>;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
134
142
|
haute: {
|
|
135
143
|
linda: {
|
|
136
144
|
v1: (props: {
|
|
@@ -413,6 +421,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
413
421
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
414
422
|
};
|
|
415
423
|
};
|
|
424
|
+
edit: {
|
|
425
|
+
flux_kontext_dev: {
|
|
426
|
+
v1: (params: import("../autogenerated").EditFluxKontextDevV1Request & {
|
|
427
|
+
__taskOutput__?: never;
|
|
428
|
+
}) => Promise<import("../autogenerated").EditFluxKontextDevV1Response>;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
416
431
|
haute: {
|
|
417
432
|
linda: {
|
|
418
433
|
v1: (params: import("../autogenerated").HauteLindaV1Request & {
|
|
@@ -574,7 +589,7 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
574
589
|
__taskOutput__?: never;
|
|
575
590
|
}) => Promise<import("../types").StorageEntity>;
|
|
576
591
|
};
|
|
577
|
-
}>) => import("@hautechai/pipelines").Pipeline<{
|
|
592
|
+
}, any>) => import("@hautechai/pipelines").Pipeline<{
|
|
578
593
|
access: {
|
|
579
594
|
attach: (params: import("../autogenerated").AttachAccessParamsDto & {
|
|
580
595
|
__taskOutput__?: never;
|
|
@@ -688,6 +703,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
688
703
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
689
704
|
};
|
|
690
705
|
};
|
|
706
|
+
edit: {
|
|
707
|
+
flux_kontext_dev: {
|
|
708
|
+
v1: (params: import("../autogenerated").EditFluxKontextDevV1Request & {
|
|
709
|
+
__taskOutput__?: never;
|
|
710
|
+
}) => Promise<import("../autogenerated").EditFluxKontextDevV1Response>;
|
|
711
|
+
};
|
|
712
|
+
};
|
|
691
713
|
haute: {
|
|
692
714
|
linda: {
|
|
693
715
|
v1: (params: import("../autogenerated").HauteLindaV1Request & {
|
|
@@ -849,7 +871,7 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
849
871
|
__taskOutput__?: never;
|
|
850
872
|
}) => Promise<import("../types").StorageEntity>;
|
|
851
873
|
};
|
|
852
|
-
}>) => import("@hautechai/pipelines").Pipeline<{
|
|
874
|
+
}, any>) => import("@hautechai/pipelines").Pipeline<{
|
|
853
875
|
access: {
|
|
854
876
|
attach: (params: import("../autogenerated").AttachAccessParamsDto & {
|
|
855
877
|
__taskOutput__?: never;
|
|
@@ -963,6 +985,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
963
985
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
964
986
|
};
|
|
965
987
|
};
|
|
988
|
+
edit: {
|
|
989
|
+
flux_kontext_dev: {
|
|
990
|
+
v1: (params: import("../autogenerated").EditFluxKontextDevV1Request & {
|
|
991
|
+
__taskOutput__?: never;
|
|
992
|
+
}) => Promise<import("../autogenerated").EditFluxKontextDevV1Response>;
|
|
993
|
+
};
|
|
994
|
+
};
|
|
966
995
|
haute: {
|
|
967
996
|
linda: {
|
|
968
997
|
v1: (params: import("../autogenerated").HauteLindaV1Request & {
|
|
@@ -1124,7 +1153,7 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1124
1153
|
__taskOutput__?: never;
|
|
1125
1154
|
}) => Promise<import("../types").StorageEntity>;
|
|
1126
1155
|
};
|
|
1127
|
-
}>;
|
|
1156
|
+
}, any>;
|
|
1128
1157
|
create: (props: {
|
|
1129
1158
|
metadata?: PipelineMetadata;
|
|
1130
1159
|
template: import("@hautechai/pipelines").Pipeline<{
|
|
@@ -1241,6 +1270,13 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1241
1270
|
}) => Promise<import("../autogenerated").AnimateKling21V1Response>;
|
|
1242
1271
|
};
|
|
1243
1272
|
};
|
|
1273
|
+
edit: {
|
|
1274
|
+
flux_kontext_dev: {
|
|
1275
|
+
v1: (params: import("../autogenerated").EditFluxKontextDevV1Request & {
|
|
1276
|
+
__taskOutput__?: never;
|
|
1277
|
+
}) => Promise<import("../autogenerated").EditFluxKontextDevV1Response>;
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1244
1280
|
haute: {
|
|
1245
1281
|
linda: {
|
|
1246
1282
|
v1: (params: import("../autogenerated").HauteLindaV1Request & {
|
|
@@ -1402,7 +1438,8 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1402
1438
|
__taskOutput__?: never;
|
|
1403
1439
|
}) => Promise<import("../types").StorageEntity>;
|
|
1404
1440
|
};
|
|
1405
|
-
}>;
|
|
1441
|
+
}, any>;
|
|
1442
|
+
state?: Record<string, any>;
|
|
1406
1443
|
}) => Promise<Omit<import("../types").PipelineDto, "metadata"> & {
|
|
1407
1444
|
metadata: PipelineMetadata;
|
|
1408
1445
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, 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 { AnimateKling16ProV1Input, AnimateKling16ProV1Response, AnimateKling21V1Input, AnimateKling21V1Response, CompositeV1Input, CompositeV1Response, ContrastV1Input, ContrastV1Response, CropV1Input, CropV1Response, CutV1Input, CutV1Response, EditFluxKontextDevV1Input, EditFluxKontextDevV1Response, GiseleVtonV1Input, GPTV1Input, GptV1Response, HauteLindaV1Response, HauteNaomiV1Response, ImagineKateV1Response, KateImagineV1Input, KateInpaintV1Input, LindaHauteV1Input, 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';
|
|
@@ -30,6 +30,14 @@ declare const operations: (options: SDKOptions, operationsListener: OperationsLi
|
|
|
30
30
|
}) => Promise<AnimateKling21V1Response>;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
+
edit: {
|
|
34
|
+
flux_kontext_dev: {
|
|
35
|
+
v1: (props: {
|
|
36
|
+
input: EditFluxKontextDevV1Input;
|
|
37
|
+
metadata?: any;
|
|
38
|
+
}) => Promise<EditFluxKontextDevV1Response>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
33
41
|
haute: {
|
|
34
42
|
linda: {
|
|
35
43
|
v1: (props: {
|
|
@@ -15,6 +15,11 @@ const operations = (options, operationsListener) => {
|
|
|
15
15
|
v1: createOperation((methods, props) => methods.operationsControllerRunAnimateKling21V1V1(props)),
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
|
+
edit: {
|
|
19
|
+
flux_kontext_dev: {
|
|
20
|
+
v1: createOperation((methods, props) => methods.operationsControllerRunEditFluxKontextDevV1V1(props)),
|
|
21
|
+
},
|
|
22
|
+
},
|
|
18
23
|
haute: {
|
|
19
24
|
linda: {
|
|
20
25
|
v1: createOperation((methods, props) => methods.operationsControllerRunHauteLindaV1V1(props)),
|
|
@@ -120,6 +120,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
120
120
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
+
edit: {
|
|
124
|
+
flux_kontext_dev: {
|
|
125
|
+
v1: (params: import("../../autogenerated").EditFluxKontextDevV1Request & {
|
|
126
|
+
__taskOutput__?: never;
|
|
127
|
+
}) => Promise<import("../../autogenerated").EditFluxKontextDevV1Response>;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
123
130
|
haute: {
|
|
124
131
|
linda: {
|
|
125
132
|
v1: (params: import("../../autogenerated").HauteLindaV1Request & {
|
|
@@ -281,7 +288,7 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
281
288
|
__taskOutput__?: never;
|
|
282
289
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
283
290
|
};
|
|
284
|
-
}>) => Pipeline<{
|
|
291
|
+
}, any>) => Pipeline<{
|
|
285
292
|
access: {
|
|
286
293
|
attach: (params: import("../../autogenerated").AttachAccessParamsDto & {
|
|
287
294
|
__taskOutput__?: never;
|
|
@@ -395,6 +402,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
395
402
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
396
403
|
};
|
|
397
404
|
};
|
|
405
|
+
edit: {
|
|
406
|
+
flux_kontext_dev: {
|
|
407
|
+
v1: (params: import("../../autogenerated").EditFluxKontextDevV1Request & {
|
|
408
|
+
__taskOutput__?: never;
|
|
409
|
+
}) => Promise<import("../../autogenerated").EditFluxKontextDevV1Response>;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
398
412
|
haute: {
|
|
399
413
|
linda: {
|
|
400
414
|
v1: (params: import("../../autogenerated").HauteLindaV1Request & {
|
|
@@ -556,7 +570,7 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
556
570
|
__taskOutput__?: never;
|
|
557
571
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
558
572
|
};
|
|
559
|
-
}>) => Pipeline<{
|
|
573
|
+
}, any>) => Pipeline<{
|
|
560
574
|
access: {
|
|
561
575
|
attach: (params: import("../../autogenerated").AttachAccessParamsDto & {
|
|
562
576
|
__taskOutput__?: never;
|
|
@@ -670,6 +684,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
670
684
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
671
685
|
};
|
|
672
686
|
};
|
|
687
|
+
edit: {
|
|
688
|
+
flux_kontext_dev: {
|
|
689
|
+
v1: (params: import("../../autogenerated").EditFluxKontextDevV1Request & {
|
|
690
|
+
__taskOutput__?: never;
|
|
691
|
+
}) => Promise<import("../../autogenerated").EditFluxKontextDevV1Response>;
|
|
692
|
+
};
|
|
693
|
+
};
|
|
673
694
|
haute: {
|
|
674
695
|
linda: {
|
|
675
696
|
v1: (params: import("../../autogenerated").HauteLindaV1Request & {
|
|
@@ -831,7 +852,7 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
831
852
|
__taskOutput__?: never;
|
|
832
853
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
833
854
|
};
|
|
834
|
-
}>;
|
|
855
|
+
}, any>;
|
|
835
856
|
create: (props: {
|
|
836
857
|
metadata?: PipelineMetadata;
|
|
837
858
|
template: Pipeline<{
|
|
@@ -948,6 +969,13 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
948
969
|
}) => Promise<import("../../autogenerated").AnimateKling21V1Response>;
|
|
949
970
|
};
|
|
950
971
|
};
|
|
972
|
+
edit: {
|
|
973
|
+
flux_kontext_dev: {
|
|
974
|
+
v1: (params: import("../../autogenerated").EditFluxKontextDevV1Request & {
|
|
975
|
+
__taskOutput__?: never;
|
|
976
|
+
}) => Promise<import("../../autogenerated").EditFluxKontextDevV1Response>;
|
|
977
|
+
};
|
|
978
|
+
};
|
|
951
979
|
haute: {
|
|
952
980
|
linda: {
|
|
953
981
|
v1: (params: import("../../autogenerated").HauteLindaV1Request & {
|
|
@@ -1109,7 +1137,8 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
1109
1137
|
__taskOutput__?: never;
|
|
1110
1138
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
1111
1139
|
};
|
|
1112
|
-
}>;
|
|
1140
|
+
}, any>;
|
|
1141
|
+
state?: Record<string, any>;
|
|
1113
1142
|
}) => Promise<PipelineDtoWithMetadata>;
|
|
1114
1143
|
get: (props: {
|
|
1115
1144
|
id: string;
|
|
@@ -66,6 +66,11 @@ const pipelines = (options) => {
|
|
|
66
66
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunAnimateKling21V1V1),
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
|
+
edit: {
|
|
70
|
+
flux_kontext_dev: {
|
|
71
|
+
v1: callMethod((methods) => methods.callControllerCallOperationsRunEditFluxKontextDevV1V1),
|
|
72
|
+
},
|
|
73
|
+
},
|
|
69
74
|
haute: {
|
|
70
75
|
linda: {
|
|
71
76
|
v1: callMethod((methods) => methods.callControllerCallOperationsRunHauteLindaV1V1),
|
|
@@ -168,6 +173,7 @@ const pipelines = (options) => {
|
|
|
168
173
|
run: (methods) => methods.pipelinesControllerCreatePipelineV1({
|
|
169
174
|
metadata: props.metadata,
|
|
170
175
|
tasks: props.template.tasks,
|
|
176
|
+
state: props.state,
|
|
171
177
|
}),
|
|
172
178
|
}),
|
|
173
179
|
get: async (props) => api.callWithReturningUndefinedOn404({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hautechai/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.37",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"description": "Hautech SDK",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@hautechai/pipelines": "0.
|
|
13
|
+
"@hautechai/pipelines": "0.5.0",
|
|
14
14
|
"axios": "1.7.9",
|
|
15
15
|
"jose": "5.9.6",
|
|
16
16
|
"websocket": "^1.0.35"
|