@hautechai/sdk 1.1.1 → 1.3.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.
@@ -72,7 +72,8 @@ export const CollectionEntityKindEnum = {
72
72
  Video: 'video',
73
73
  Pose: 'pose',
74
74
  Storage: 'storage',
75
- Pipeline: 'pipeline'
75
+ Pipeline: 'pipeline',
76
+ Workflow: 'workflow'
76
77
  };
77
78
  export const CompositeElementBlendEnum = {
78
79
  Over: 'over',
@@ -233,7 +234,8 @@ export const ImageEntityKindEnum = {
233
234
  Video: 'video',
234
235
  Pose: 'pose',
235
236
  Storage: 'storage',
236
- Pipeline: 'pipeline'
237
+ Pipeline: 'pipeline',
238
+ Workflow: 'workflow'
237
239
  };
238
240
  export const ImagineKateV1ResponseKindEnum = {
239
241
  Operation: 'operation'
@@ -312,7 +314,8 @@ export const ListCollectionItemsParamsDtoKindEnum = {
312
314
  Video: 'video',
313
315
  Pose: 'pose',
314
316
  Storage: 'storage',
315
- Pipeline: 'pipeline'
317
+ Pipeline: 'pipeline',
318
+ Workflow: 'workflow'
316
319
  };
317
320
  export const ListCollectionsParamsDtoOrderByEnum = {
318
321
  CreatedAtAsc: 'createdAt_ASC',
@@ -376,6 +379,18 @@ export const ObjectDetectionV1ResponseStatusEnum = {
376
379
  Finished: 'finished',
377
380
  Failed: 'failed'
378
381
  };
382
+ export const OneCompilerV1InputLanguageEnum = {
383
+ Typescript: 'typescript',
384
+ Python: 'python'
385
+ };
386
+ export const OnecompilerV1ResponseKindEnum = {
387
+ Operation: 'operation'
388
+ };
389
+ export const OnecompilerV1ResponseStatusEnum = {
390
+ Pending: 'pending',
391
+ Finished: 'finished',
392
+ Failed: 'failed'
393
+ };
379
394
  export const OperationEntityKindEnum = {
380
395
  Operation: 'operation'
381
396
  };
@@ -457,7 +472,8 @@ export const ResourceEntityKindEnum = {
457
472
  Video: 'video',
458
473
  Pose: 'pose',
459
474
  Storage: 'storage',
460
- Pipeline: 'pipeline'
475
+ Pipeline: 'pipeline',
476
+ Workflow: 'workflow'
461
477
  };
462
478
  export const RevokeAccessControllerParamsDtoPrincipalTypeEnum = {
463
479
  Account: 'account',
@@ -517,7 +533,8 @@ export const VideoEntityKindEnum = {
517
533
  Video: 'video',
518
534
  Pose: 'pose',
519
535
  Storage: 'storage',
520
- Pipeline: 'pipeline'
536
+ Pipeline: 'pipeline',
537
+ Workflow: 'workflow'
521
538
  };
522
539
  export const VtonGiseleV1ResponseKindEnum = {
523
540
  Operation: 'operation'
@@ -2997,6 +3014,38 @@ export const CallApiAxiosParamCreator = function (configuration) {
2997
3014
  options: localVarRequestOptions,
2998
3015
  };
2999
3016
  },
3017
+ /**
3018
+ *
3019
+ * @param {OnecompilerV1Request} onecompilerV1Request
3020
+ * @param {*} [options] Override http request option.
3021
+ * @throws {RequiredError}
3022
+ */
3023
+ callControllerCallOperationsRunOnecompilerV1V1: async (onecompilerV1Request, options = {}) => {
3024
+ // verify required parameter 'onecompilerV1Request' is not null or undefined
3025
+ assertParamExists('callControllerCallOperationsRunOnecompilerV1V1', 'onecompilerV1Request', onecompilerV1Request);
3026
+ const localVarPath = `/v1/call/operations.run.onecompiler.v1`;
3027
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3028
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3029
+ let baseOptions;
3030
+ if (configuration) {
3031
+ baseOptions = configuration.baseOptions;
3032
+ }
3033
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3034
+ const localVarHeaderParameter = {};
3035
+ const localVarQueryParameter = {};
3036
+ // authentication bearer required
3037
+ // http bearer authentication required
3038
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
3039
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3040
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3041
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3042
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3043
+ localVarRequestOptions.data = serializeDataIfNeeded(onecompilerV1Request, localVarRequestOptions, configuration);
3044
+ return {
3045
+ url: toPathString(localVarUrlObj),
3046
+ options: localVarRequestOptions,
3047
+ };
3048
+ },
3000
3049
  /**
3001
3050
  *
3002
3051
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -4370,6 +4419,18 @@ export const CallApiFp = function (configuration) {
4370
4419
  const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunObjectDetectionV1V1']?.[localVarOperationServerIndex]?.url;
4371
4420
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4372
4421
  },
4422
+ /**
4423
+ *
4424
+ * @param {OnecompilerV1Request} onecompilerV1Request
4425
+ * @param {*} [options] Override http request option.
4426
+ * @throws {RequiredError}
4427
+ */
4428
+ async callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options) {
4429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options);
4430
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4431
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallOperationsRunOnecompilerV1V1']?.[localVarOperationServerIndex]?.url;
4432
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4433
+ },
4373
4434
  /**
4374
4435
  *
4375
4436
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -5102,6 +5163,15 @@ export const CallApiFactory = function (configuration, basePath, axios) {
5102
5163
  callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options) {
5103
5164
  return localVarFp.callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(axios, basePath));
5104
5165
  },
5166
+ /**
5167
+ *
5168
+ * @param {OnecompilerV1Request} onecompilerV1Request
5169
+ * @param {*} [options] Override http request option.
5170
+ * @throws {RequiredError}
5171
+ */
5172
+ callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options) {
5173
+ return localVarFp.callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(axios, basePath));
5174
+ },
5105
5175
  /**
5106
5176
  *
5107
5177
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -5806,6 +5876,16 @@ export class CallApi extends BaseAPI {
5806
5876
  callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options) {
5807
5877
  return CallApiFp(this.configuration).callControllerCallOperationsRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(this.axios, this.basePath));
5808
5878
  }
5879
+ /**
5880
+ *
5881
+ * @param {OnecompilerV1Request} onecompilerV1Request
5882
+ * @param {*} [options] Override http request option.
5883
+ * @throws {RequiredError}
5884
+ * @memberof CallApi
5885
+ */
5886
+ callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options) {
5887
+ return CallApiFp(this.configuration).callControllerCallOperationsRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(this.axios, this.basePath));
5888
+ }
5809
5889
  /**
5810
5890
  *
5811
5891
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -6621,7 +6701,8 @@ export const CollectionsControllerListItemsV1KindEnum = {
6621
6701
  Video: 'video',
6622
6702
  Pose: 'pose',
6623
6703
  Storage: 'storage',
6624
- Pipeline: 'pipeline'
6704
+ Pipeline: 'pipeline',
6705
+ Workflow: 'workflow'
6625
6706
  };
6626
6707
  /**
6627
6708
  * GroupsApi - axios parameter creator
@@ -8038,6 +8119,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
8038
8119
  options: localVarRequestOptions,
8039
8120
  };
8040
8121
  },
8122
+ /**
8123
+ *
8124
+ * @param {OnecompilerV1Request} onecompilerV1Request
8125
+ * @param {*} [options] Override http request option.
8126
+ * @throws {RequiredError}
8127
+ */
8128
+ operationsControllerRunOnecompilerV1V1: async (onecompilerV1Request, options = {}) => {
8129
+ // verify required parameter 'onecompilerV1Request' is not null or undefined
8130
+ assertParamExists('operationsControllerRunOnecompilerV1V1', 'onecompilerV1Request', onecompilerV1Request);
8131
+ const localVarPath = `/v1/operations/run/onecompiler.v1`;
8132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8133
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8134
+ let baseOptions;
8135
+ if (configuration) {
8136
+ baseOptions = configuration.baseOptions;
8137
+ }
8138
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
8139
+ const localVarHeaderParameter = {};
8140
+ const localVarQueryParameter = {};
8141
+ // authentication bearer required
8142
+ // http bearer authentication required
8143
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
8144
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8147
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
8148
+ localVarRequestOptions.data = serializeDataIfNeeded(onecompilerV1Request, localVarRequestOptions, configuration);
8149
+ return {
8150
+ url: toPathString(localVarUrlObj),
8151
+ options: localVarRequestOptions,
8152
+ };
8153
+ },
8041
8154
  /**
8042
8155
  *
8043
8156
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -8605,6 +8718,18 @@ export const OperationsApiFp = function (configuration) {
8605
8718
  const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunObjectDetectionV1V1']?.[localVarOperationServerIndex]?.url;
8606
8719
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8607
8720
  },
8721
+ /**
8722
+ *
8723
+ * @param {OnecompilerV1Request} onecompilerV1Request
8724
+ * @param {*} [options] Override http request option.
8725
+ * @throws {RequiredError}
8726
+ */
8727
+ async operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options) {
8728
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options);
8729
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8730
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunOnecompilerV1V1']?.[localVarOperationServerIndex]?.url;
8731
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8732
+ },
8608
8733
  /**
8609
8734
  *
8610
8735
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -8923,6 +9048,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
8923
9048
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options) {
8924
9049
  return localVarFp.operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(axios, basePath));
8925
9050
  },
9051
+ /**
9052
+ *
9053
+ * @param {OnecompilerV1Request} onecompilerV1Request
9054
+ * @param {*} [options] Override http request option.
9055
+ * @throws {RequiredError}
9056
+ */
9057
+ operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options) {
9058
+ return localVarFp.operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(axios, basePath));
9059
+ },
8926
9060
  /**
8927
9061
  *
8928
9062
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -9236,6 +9370,16 @@ export class OperationsApi extends BaseAPI {
9236
9370
  operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options) {
9237
9371
  return OperationsApiFp(this.configuration).operationsControllerRunObjectDetectionV1V1(objectDetectionV1Request, options).then((request) => request(this.axios, this.basePath));
9238
9372
  }
9373
+ /**
9374
+ *
9375
+ * @param {OnecompilerV1Request} onecompilerV1Request
9376
+ * @param {*} [options] Override http request option.
9377
+ * @throws {RequiredError}
9378
+ * @memberof OperationsApi
9379
+ */
9380
+ operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options) {
9381
+ return OperationsApiFp(this.configuration).operationsControllerRunOnecompilerV1V1(onecompilerV1Request, options).then((request) => request(this.axios, this.basePath));
9382
+ }
9239
9383
  /**
9240
9384
  *
9241
9385
  * @param {PoseEstimationV1Request} poseEstimationV1Request
@@ -11036,6 +11180,135 @@ export class WebsocketApi extends BaseAPI {
11036
11180
  */
11037
11181
  export const WorkflowsApiAxiosParamCreator = function (configuration) {
11038
11182
  return {
11183
+ /**
11184
+ *
11185
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11186
+ * @param {*} [options] Override http request option.
11187
+ * @throws {RequiredError}
11188
+ */
11189
+ workflowsControllerCreateWorkflowV1: async (createWorkflowParamsDto, options = {}) => {
11190
+ // verify required parameter 'createWorkflowParamsDto' is not null or undefined
11191
+ assertParamExists('workflowsControllerCreateWorkflowV1', 'createWorkflowParamsDto', createWorkflowParamsDto);
11192
+ const localVarPath = `/v1/workflows`;
11193
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11194
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11195
+ let baseOptions;
11196
+ if (configuration) {
11197
+ baseOptions = configuration.baseOptions;
11198
+ }
11199
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
11200
+ const localVarHeaderParameter = {};
11201
+ const localVarQueryParameter = {};
11202
+ // authentication bearer required
11203
+ // http bearer authentication required
11204
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11205
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11206
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11207
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11208
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11209
+ localVarRequestOptions.data = serializeDataIfNeeded(createWorkflowParamsDto, localVarRequestOptions, configuration);
11210
+ return {
11211
+ url: toPathString(localVarUrlObj),
11212
+ options: localVarRequestOptions,
11213
+ };
11214
+ },
11215
+ /**
11216
+ *
11217
+ * @param {string} id
11218
+ * @param {*} [options] Override http request option.
11219
+ * @throws {RequiredError}
11220
+ */
11221
+ workflowsControllerDeleteWorkflowV1: async (id, options = {}) => {
11222
+ // verify required parameter 'id' is not null or undefined
11223
+ assertParamExists('workflowsControllerDeleteWorkflowV1', 'id', id);
11224
+ const localVarPath = `/v1/workflows/{id}`
11225
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
11226
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11227
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11228
+ let baseOptions;
11229
+ if (configuration) {
11230
+ baseOptions = configuration.baseOptions;
11231
+ }
11232
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
11233
+ const localVarHeaderParameter = {};
11234
+ const localVarQueryParameter = {};
11235
+ // authentication bearer required
11236
+ // http bearer authentication required
11237
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11238
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11239
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11240
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11241
+ return {
11242
+ url: toPathString(localVarUrlObj),
11243
+ options: localVarRequestOptions,
11244
+ };
11245
+ },
11246
+ /**
11247
+ *
11248
+ * @param {string} id
11249
+ * @param {*} [options] Override http request option.
11250
+ * @throws {RequiredError}
11251
+ */
11252
+ workflowsControllerGetWorkflowV1: async (id, options = {}) => {
11253
+ // verify required parameter 'id' is not null or undefined
11254
+ assertParamExists('workflowsControllerGetWorkflowV1', 'id', id);
11255
+ const localVarPath = `/v1/workflows/{id}`
11256
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
11257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11259
+ let baseOptions;
11260
+ if (configuration) {
11261
+ baseOptions = configuration.baseOptions;
11262
+ }
11263
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11264
+ const localVarHeaderParameter = {};
11265
+ const localVarQueryParameter = {};
11266
+ // authentication bearer required
11267
+ // http bearer authentication required
11268
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11269
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11270
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11271
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11272
+ return {
11273
+ url: toPathString(localVarUrlObj),
11274
+ options: localVarRequestOptions,
11275
+ };
11276
+ },
11277
+ /**
11278
+ *
11279
+ * @param {number} [limit]
11280
+ * @param {number} [offset]
11281
+ * @param {*} [options] Override http request option.
11282
+ * @throws {RequiredError}
11283
+ */
11284
+ workflowsControllerListWorkflowsV1: async (limit, offset, options = {}) => {
11285
+ const localVarPath = `/v1/workflows`;
11286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11288
+ let baseOptions;
11289
+ if (configuration) {
11290
+ baseOptions = configuration.baseOptions;
11291
+ }
11292
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
11293
+ const localVarHeaderParameter = {};
11294
+ const localVarQueryParameter = {};
11295
+ // authentication bearer required
11296
+ // http bearer authentication required
11297
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11298
+ if (limit !== undefined) {
11299
+ localVarQueryParameter['limit'] = limit;
11300
+ }
11301
+ if (offset !== undefined) {
11302
+ localVarQueryParameter['offset'] = offset;
11303
+ }
11304
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11305
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11306
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11307
+ return {
11308
+ url: toPathString(localVarUrlObj),
11309
+ options: localVarRequestOptions,
11310
+ };
11311
+ },
11039
11312
  /**
11040
11313
  *
11041
11314
  * @param {string} workflowId
@@ -11072,6 +11345,37 @@ export const WorkflowsApiAxiosParamCreator = function (configuration) {
11072
11345
  options: localVarRequestOptions,
11073
11346
  };
11074
11347
  },
11348
+ /**
11349
+ *
11350
+ * @param {string} id
11351
+ * @param {*} [options] Override http request option.
11352
+ * @throws {RequiredError}
11353
+ */
11354
+ workflowsControllerUpdateWorkflowV1: async (id, options = {}) => {
11355
+ // verify required parameter 'id' is not null or undefined
11356
+ assertParamExists('workflowsControllerUpdateWorkflowV1', 'id', id);
11357
+ const localVarPath = `/v1/workflows/{id}`
11358
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
11359
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11360
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11361
+ let baseOptions;
11362
+ if (configuration) {
11363
+ baseOptions = configuration.baseOptions;
11364
+ }
11365
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
11366
+ const localVarHeaderParameter = {};
11367
+ const localVarQueryParameter = {};
11368
+ // authentication bearer required
11369
+ // http bearer authentication required
11370
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
11371
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11372
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11373
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
11374
+ return {
11375
+ url: toPathString(localVarUrlObj),
11376
+ options: localVarRequestOptions,
11377
+ };
11378
+ },
11075
11379
  };
11076
11380
  };
11077
11381
  /**
@@ -11081,6 +11385,55 @@ export const WorkflowsApiAxiosParamCreator = function (configuration) {
11081
11385
  export const WorkflowsApiFp = function (configuration) {
11082
11386
  const localVarAxiosParamCreator = WorkflowsApiAxiosParamCreator(configuration);
11083
11387
  return {
11388
+ /**
11389
+ *
11390
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11391
+ * @param {*} [options] Override http request option.
11392
+ * @throws {RequiredError}
11393
+ */
11394
+ async workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options) {
11395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options);
11396
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11397
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerCreateWorkflowV1']?.[localVarOperationServerIndex]?.url;
11398
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11399
+ },
11400
+ /**
11401
+ *
11402
+ * @param {string} id
11403
+ * @param {*} [options] Override http request option.
11404
+ * @throws {RequiredError}
11405
+ */
11406
+ async workflowsControllerDeleteWorkflowV1(id, options) {
11407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerDeleteWorkflowV1(id, options);
11408
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11409
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerDeleteWorkflowV1']?.[localVarOperationServerIndex]?.url;
11410
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11411
+ },
11412
+ /**
11413
+ *
11414
+ * @param {string} id
11415
+ * @param {*} [options] Override http request option.
11416
+ * @throws {RequiredError}
11417
+ */
11418
+ async workflowsControllerGetWorkflowV1(id, options) {
11419
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerGetWorkflowV1(id, options);
11420
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11421
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerGetWorkflowV1']?.[localVarOperationServerIndex]?.url;
11422
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11423
+ },
11424
+ /**
11425
+ *
11426
+ * @param {number} [limit]
11427
+ * @param {number} [offset]
11428
+ * @param {*} [options] Override http request option.
11429
+ * @throws {RequiredError}
11430
+ */
11431
+ async workflowsControllerListWorkflowsV1(limit, offset, options) {
11432
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerListWorkflowsV1(limit, offset, options);
11433
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11434
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerListWorkflowsV1']?.[localVarOperationServerIndex]?.url;
11435
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11436
+ },
11084
11437
  /**
11085
11438
  *
11086
11439
  * @param {string} workflowId
@@ -11094,6 +11447,18 @@ export const WorkflowsApiFp = function (configuration) {
11094
11447
  const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerRunWorkflowV1']?.[localVarOperationServerIndex]?.url;
11095
11448
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11096
11449
  },
11450
+ /**
11451
+ *
11452
+ * @param {string} id
11453
+ * @param {*} [options] Override http request option.
11454
+ * @throws {RequiredError}
11455
+ */
11456
+ async workflowsControllerUpdateWorkflowV1(id, options) {
11457
+ const localVarAxiosArgs = await localVarAxiosParamCreator.workflowsControllerUpdateWorkflowV1(id, options);
11458
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11459
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.workflowsControllerUpdateWorkflowV1']?.[localVarOperationServerIndex]?.url;
11460
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11461
+ },
11097
11462
  };
11098
11463
  };
11099
11464
  /**
@@ -11103,6 +11468,43 @@ export const WorkflowsApiFp = function (configuration) {
11103
11468
  export const WorkflowsApiFactory = function (configuration, basePath, axios) {
11104
11469
  const localVarFp = WorkflowsApiFp(configuration);
11105
11470
  return {
11471
+ /**
11472
+ *
11473
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11474
+ * @param {*} [options] Override http request option.
11475
+ * @throws {RequiredError}
11476
+ */
11477
+ workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options) {
11478
+ return localVarFp.workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options).then((request) => request(axios, basePath));
11479
+ },
11480
+ /**
11481
+ *
11482
+ * @param {string} id
11483
+ * @param {*} [options] Override http request option.
11484
+ * @throws {RequiredError}
11485
+ */
11486
+ workflowsControllerDeleteWorkflowV1(id, options) {
11487
+ return localVarFp.workflowsControllerDeleteWorkflowV1(id, options).then((request) => request(axios, basePath));
11488
+ },
11489
+ /**
11490
+ *
11491
+ * @param {string} id
11492
+ * @param {*} [options] Override http request option.
11493
+ * @throws {RequiredError}
11494
+ */
11495
+ workflowsControllerGetWorkflowV1(id, options) {
11496
+ return localVarFp.workflowsControllerGetWorkflowV1(id, options).then((request) => request(axios, basePath));
11497
+ },
11498
+ /**
11499
+ *
11500
+ * @param {number} [limit]
11501
+ * @param {number} [offset]
11502
+ * @param {*} [options] Override http request option.
11503
+ * @throws {RequiredError}
11504
+ */
11505
+ workflowsControllerListWorkflowsV1(limit, offset, options) {
11506
+ return localVarFp.workflowsControllerListWorkflowsV1(limit, offset, options).then((request) => request(axios, basePath));
11507
+ },
11106
11508
  /**
11107
11509
  *
11108
11510
  * @param {string} workflowId
@@ -11113,6 +11515,15 @@ export const WorkflowsApiFactory = function (configuration, basePath, axios) {
11113
11515
  workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options) {
11114
11516
  return localVarFp.workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options).then((request) => request(axios, basePath));
11115
11517
  },
11518
+ /**
11519
+ *
11520
+ * @param {string} id
11521
+ * @param {*} [options] Override http request option.
11522
+ * @throws {RequiredError}
11523
+ */
11524
+ workflowsControllerUpdateWorkflowV1(id, options) {
11525
+ return localVarFp.workflowsControllerUpdateWorkflowV1(id, options).then((request) => request(axios, basePath));
11526
+ },
11116
11527
  };
11117
11528
  };
11118
11529
  /**
@@ -11122,6 +11533,47 @@ export const WorkflowsApiFactory = function (configuration, basePath, axios) {
11122
11533
  * @extends {BaseAPI}
11123
11534
  */
11124
11535
  export class WorkflowsApi extends BaseAPI {
11536
+ /**
11537
+ *
11538
+ * @param {CreateWorkflowParamsDto} createWorkflowParamsDto
11539
+ * @param {*} [options] Override http request option.
11540
+ * @throws {RequiredError}
11541
+ * @memberof WorkflowsApi
11542
+ */
11543
+ workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options) {
11544
+ return WorkflowsApiFp(this.configuration).workflowsControllerCreateWorkflowV1(createWorkflowParamsDto, options).then((request) => request(this.axios, this.basePath));
11545
+ }
11546
+ /**
11547
+ *
11548
+ * @param {string} id
11549
+ * @param {*} [options] Override http request option.
11550
+ * @throws {RequiredError}
11551
+ * @memberof WorkflowsApi
11552
+ */
11553
+ workflowsControllerDeleteWorkflowV1(id, options) {
11554
+ return WorkflowsApiFp(this.configuration).workflowsControllerDeleteWorkflowV1(id, options).then((request) => request(this.axios, this.basePath));
11555
+ }
11556
+ /**
11557
+ *
11558
+ * @param {string} id
11559
+ * @param {*} [options] Override http request option.
11560
+ * @throws {RequiredError}
11561
+ * @memberof WorkflowsApi
11562
+ */
11563
+ workflowsControllerGetWorkflowV1(id, options) {
11564
+ return WorkflowsApiFp(this.configuration).workflowsControllerGetWorkflowV1(id, options).then((request) => request(this.axios, this.basePath));
11565
+ }
11566
+ /**
11567
+ *
11568
+ * @param {number} [limit]
11569
+ * @param {number} [offset]
11570
+ * @param {*} [options] Override http request option.
11571
+ * @throws {RequiredError}
11572
+ * @memberof WorkflowsApi
11573
+ */
11574
+ workflowsControllerListWorkflowsV1(limit, offset, options) {
11575
+ return WorkflowsApiFp(this.configuration).workflowsControllerListWorkflowsV1(limit, offset, options).then((request) => request(this.axios, this.basePath));
11576
+ }
11125
11577
  /**
11126
11578
  *
11127
11579
  * @param {string} workflowId
@@ -11133,4 +11585,14 @@ export class WorkflowsApi extends BaseAPI {
11133
11585
  workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options) {
11134
11586
  return WorkflowsApiFp(this.configuration).workflowsControllerRunWorkflowV1(workflowId, runWorkflowParamsDto, options).then((request) => request(this.axios, this.basePath));
11135
11587
  }
11588
+ /**
11589
+ *
11590
+ * @param {string} id
11591
+ * @param {*} [options] Override http request option.
11592
+ * @throws {RequiredError}
11593
+ * @memberof WorkflowsApi
11594
+ */
11595
+ workflowsControllerUpdateWorkflowV1(id, options) {
11596
+ return WorkflowsApiFp(this.configuration).workflowsControllerUpdateWorkflowV1(id, options).then((request) => request(this.axios, this.basePath));
11597
+ }
11136
11598
  }
@@ -52,6 +52,12 @@ export type MethodsPermissions = {
52
52
  create: boolean;
53
53
  read: boolean;
54
54
  };
55
+ workflows: {
56
+ create: boolean;
57
+ read: boolean;
58
+ update: boolean;
59
+ delete: boolean;
60
+ };
55
61
  poses: {
56
62
  create: boolean;
57
63
  read: boolean;