@cosmotech/api-ts 5.0.0-beta4 → 5.0.0-beta6

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.
Files changed (60) hide show
  1. package/.github/workflows/publish.yaml +13 -12
  2. package/.github/workflows/track_dependencies.yml +31 -0
  3. package/.openapi-generator/FILES +1 -5
  4. package/README.md +5 -15
  5. package/api.ts +218 -777
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +240 -524
  10. package/dist/api.js +194 -819
  11. package/dist/base.d.ts +1 -1
  12. package/dist/base.js +1 -1
  13. package/dist/common.d.ts +1 -1
  14. package/dist/common.js +1 -1
  15. package/dist/configuration.d.ts +1 -1
  16. package/dist/configuration.js +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/docs/Connector.md +41 -0
  20. package/docs/ConnectorApi.md +218 -0
  21. package/docs/ConnectorParameter.md +31 -0
  22. package/docs/ConnectorParameterGroup.md +25 -0
  23. package/docs/DatasetApi.md +110 -28
  24. package/docs/DatasetCompatibility.md +25 -0
  25. package/docs/DatasetConnector.md +27 -0
  26. package/docs/DatasetCopyParameters.md +25 -0
  27. package/docs/DatasetPartTypeEnum.md +1 -1
  28. package/docs/DatasetSearch.md +21 -0
  29. package/docs/DatasetSourceType.md +19 -0
  30. package/docs/DatasetTwinGraphHash.md +21 -0
  31. package/docs/DatasetTwinGraphInfo.md +25 -0
  32. package/docs/DatasetTwinGraphQuery.md +21 -0
  33. package/docs/DeleteHistoricalData.md +25 -0
  34. package/docs/FileUploadMetadata.md +22 -0
  35. package/docs/FileUploadValidation.md +23 -0
  36. package/docs/GraphProperties.md +28 -0
  37. package/docs/IngestionStatusEnum.md +15 -0
  38. package/docs/IoTypesEnum.md +11 -0
  39. package/docs/RunApi.md +0 -129
  40. package/docs/RunData.md +1 -1
  41. package/docs/RunLogs.md +23 -0
  42. package/docs/RunLogsEntry.md +21 -0
  43. package/docs/RunTemplateOrchestrator.md +11 -0
  44. package/docs/RunTemplateStepSource.md +15 -0
  45. package/docs/Runner.md +2 -2
  46. package/docs/RunnerApi.md +4 -4
  47. package/docs/RunnerCreateRequest.md +4 -4
  48. package/docs/RunnerDatasets.md +24 -0
  49. package/docs/RunnerRunTemplateParameterValue.md +1 -1
  50. package/docs/RunnerUpdateRequest.md +2 -2
  51. package/docs/SendRunDataRequest.md +2 -3
  52. package/docs/SolutionApi.md +0 -290
  53. package/docs/SourceInfo.md +27 -0
  54. package/docs/SubDatasetGraphQuery.md +27 -0
  55. package/docs/TwinGraphBatchResult.md +25 -0
  56. package/docs/TwincacheStatusEnum.md +11 -0
  57. package/docs/WorkspaceSolution.md +4 -0
  58. package/git_push.sh +2 -2
  59. package/index.ts +1 -1
  60. package/package.json +2 -2
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.0.0-beta4
7
+ * The version of the OpenAPI document: 5.0.0-beta6
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -431,7 +431,7 @@ export interface DatasetPartCreateRequest {
431
431
 
432
432
  export const DatasetPartTypeEnum = {
433
433
  File: 'File',
434
- Relational: 'Relational'
434
+ Db: 'DB'
435
435
  } as const;
436
436
 
437
437
  export type DatasetPartTypeEnum = typeof DatasetPartTypeEnum[keyof typeof DatasetPartTypeEnum];
@@ -719,19 +719,6 @@ export interface OrganizationUpdateRequest {
719
719
  */
720
720
  'name'?: string;
721
721
  }
722
- /**
723
- * the result of a SQL Query
724
- * @export
725
- * @interface QueryResult
726
- */
727
- export interface QueryResult {
728
- /**
729
- * the list of results
730
- * @type {Array<{ [key: string]: any; }>}
731
- * @memberof QueryResult
732
- */
733
- 'result'?: Array<{ [key: string]: any; }>;
734
- }
735
722
  /**
736
723
  * define cpus and memory needs
737
724
  * @export
@@ -941,44 +928,6 @@ export interface RunContainer {
941
928
  */
942
929
  'runSizing'?: ContainerResourceSizing;
943
930
  }
944
- /**
945
- * Run Data stored
946
- * @export
947
- * @interface RunData
948
- */
949
- export interface RunData {
950
- /**
951
- * Database name
952
- * @type {string}
953
- * @memberof RunData
954
- */
955
- 'database_name'?: string;
956
- /**
957
- * Table name
958
- * @type {string}
959
- * @memberof RunData
960
- */
961
- 'table_name'?: string;
962
- /**
963
- *
964
- * @type {Array<{ [key: string]: any; }>}
965
- * @memberof RunData
966
- */
967
- 'data'?: Array<{ [key: string]: any; }>;
968
- }
969
- /**
970
- * a data result query in SQL
971
- * @export
972
- * @interface RunDataQuery
973
- */
974
- export interface RunDataQuery {
975
- /**
976
- * the query in SQL
977
- * @type {string}
978
- * @memberof RunDataQuery
979
- */
980
- 'query': string;
981
- }
982
931
  /**
983
932
  *
984
933
  * @export
@@ -1848,11 +1797,11 @@ export interface Runner {
1848
1797
  */
1849
1798
  'runTemplateName'?: string;
1850
1799
  /**
1851
- * the list of Dataset Id associated to this Runner Run Template
1852
- * @type {Array<string>}
1800
+ *
1801
+ * @type {RunnerDatasets}
1853
1802
  * @memberof Runner
1854
1803
  */
1855
- 'datasetList': Array<string>;
1804
+ 'datasets': RunnerDatasets;
1856
1805
  /**
1857
1806
  *
1858
1807
  * @type {RunnerResourceSizing}
@@ -1990,6 +1939,31 @@ export interface RunnerCreateRequest {
1990
1939
  */
1991
1940
  'security'?: RunnerSecurity;
1992
1941
  }
1942
+ /**
1943
+ *
1944
+ * @export
1945
+ * @interface RunnerDatasets
1946
+ */
1947
+ export interface RunnerDatasets {
1948
+ /**
1949
+ * a list of Dataset Id used to build the Runner
1950
+ * @type {Array<string>}
1951
+ * @memberof RunnerDatasets
1952
+ */
1953
+ 'bases': Array<string>;
1954
+ /**
1955
+ * The dataset id used for dataset parameters on current Runner
1956
+ * @type {string}
1957
+ * @memberof RunnerDatasets
1958
+ */
1959
+ 'parameter': string;
1960
+ /**
1961
+ * The dataset parts retrieved from the parameter property (programmatically fulfilled)
1962
+ * @type {Array<object>}
1963
+ * @memberof RunnerDatasets
1964
+ */
1965
+ 'parameters'?: Array<object>;
1966
+ }
1993
1967
  /**
1994
1968
  *
1995
1969
  * @export
@@ -2174,25 +2148,6 @@ export const RunnerValidationStatus = {
2174
2148
  export type RunnerValidationStatus = typeof RunnerValidationStatus[keyof typeof RunnerValidationStatus];
2175
2149
 
2176
2150
 
2177
- /**
2178
- * Run Data to send
2179
- * @export
2180
- * @interface SendRunDataRequest
2181
- */
2182
- export interface SendRunDataRequest {
2183
- /**
2184
- *
2185
- * @type {string}
2186
- * @memberof SendRunDataRequest
2187
- */
2188
- 'id': string;
2189
- /**
2190
- *
2191
- * @type {Array<{ [key: string]: any; }>}
2192
- * @memberof SendRunDataRequest
2193
- */
2194
- 'data': Array<{ [key: string]: any; }>;
2195
- }
2196
2151
  /**
2197
2152
  * A version of a Solution
2198
2153
  * @export
@@ -2419,19 +2374,6 @@ export interface SolutionEditInfo {
2419
2374
  */
2420
2375
  'userId': string;
2421
2376
  }
2422
- /**
2423
- * A Solution File resource
2424
- * @export
2425
- * @interface SolutionFile
2426
- */
2427
- export interface SolutionFile {
2428
- /**
2429
- * The Solution File name
2430
- * @type {string}
2431
- * @memberof SolutionFile
2432
- */
2433
- 'fileName': string;
2434
- }
2435
2377
  /**
2436
2378
  * The Solution Role
2437
2379
  * @export
@@ -2778,6 +2720,18 @@ export interface WorkspaceSolution {
2778
2720
  * @memberof WorkspaceSolution
2779
2721
  */
2780
2722
  'solutionId': string;
2723
+ /**
2724
+ * The Dataset Id attached to this workspace. This dataset will be used to store default values for Solution parameters with file\'s varType.
2725
+ * @type {string}
2726
+ * @memberof WorkspaceSolution
2727
+ */
2728
+ 'datasetId'?: string;
2729
+ /**
2730
+ * A map of parameterId/value to set default values for Solution parameters with simple varType (int, string, ...)
2731
+ * @type {{ [key: string]: string; }}
2732
+ * @memberof WorkspaceSolution
2733
+ */
2734
+ 'defaultParameterValues'?: { [key: string]: string; };
2781
2735
  /**
2782
2736
  * The list of Solution Run Template Id to filter
2783
2737
  * @type {Array<string>}
@@ -3546,20 +3500,25 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3546
3500
  },
3547
3501
  /**
3548
3502
  *
3549
- * @summary Get data of a Dataset
3503
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
3550
3504
  * @param {string} organizationId the Organization identifier
3551
3505
  * @param {string} workspaceId the Workspace identifier
3552
3506
  * @param {string} datasetId the Dataset identifier
3553
3507
  * @param {string} datasetPartId the Dataset part identifier
3554
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
3555
- * @param {Array<string>} [sums] Property names to sum by
3556
- * @param {Array<string>} [counts] Property names to count by
3508
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
3509
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
3510
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
3511
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
3512
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
3513
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
3557
3514
  * @param {number} [offset] The query offset
3558
3515
  * @param {number} [limit] The query limit
3516
+ * @param {Array<string>} [groupBys] Column names to group by
3517
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
3559
3518
  * @param {*} [options] Override http request option.
3560
3519
  * @throws {RequiredError}
3561
3520
  */
3562
- queryData: async (organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, filters?: Array<string>, sums?: Array<string>, counts?: Array<string>, offset?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3521
+ queryData: async (organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3563
3522
  // verify required parameter 'organizationId' is not null or undefined
3564
3523
  assertParamExists('queryData', 'organizationId', organizationId)
3565
3524
  // verify required parameter 'workspaceId' is not null or undefined
@@ -3588,18 +3547,30 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3588
3547
  // oauth required
3589
3548
  await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
3590
3549
 
3591
- if (filters) {
3592
- localVarQueryParameter['filters'] = filters;
3550
+ if (selects) {
3551
+ localVarQueryParameter['selects'] = selects;
3593
3552
  }
3594
3553
 
3595
3554
  if (sums) {
3596
3555
  localVarQueryParameter['sums'] = sums;
3597
3556
  }
3598
3557
 
3558
+ if (avgs) {
3559
+ localVarQueryParameter['avgs'] = avgs;
3560
+ }
3561
+
3599
3562
  if (counts) {
3600
3563
  localVarQueryParameter['counts'] = counts;
3601
3564
  }
3602
3565
 
3566
+ if (mins) {
3567
+ localVarQueryParameter['mins'] = mins;
3568
+ }
3569
+
3570
+ if (maxs) {
3571
+ localVarQueryParameter['maxs'] = maxs;
3572
+ }
3573
+
3603
3574
  if (offset !== undefined) {
3604
3575
  localVarQueryParameter['offset'] = offset;
3605
3576
  }
@@ -3608,6 +3579,14 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3608
3579
  localVarQueryParameter['limit'] = limit;
3609
3580
  }
3610
3581
 
3582
+ if (groupBys) {
3583
+ localVarQueryParameter['groupBys'] = groupBys;
3584
+ }
3585
+
3586
+ if (orderBys) {
3587
+ localVarQueryParameter['orderBys'] = orderBys;
3588
+ }
3589
+
3611
3590
 
3612
3591
 
3613
3592
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3972,6 +3951,62 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
3972
3951
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3973
3952
  localVarRequestOptions.data = serializeDataIfNeeded(datasetRole, localVarRequestOptions, configuration)
3974
3953
 
3954
+ return {
3955
+ url: toPathString(localVarUrlObj),
3956
+ options: localVarRequestOptions,
3957
+ };
3958
+ },
3959
+ /**
3960
+ *
3961
+ * @summary Update existing dataset parts information of a Dataset
3962
+ * @param {string} organizationId the Organization identifier
3963
+ * @param {string} workspaceId the Workspace identifier
3964
+ * @param {string} datasetId the Dataset identifier
3965
+ * @param {string} datasetPartId the Dataset part identifier
3966
+ * @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
3967
+ * @param {*} [options] Override http request option.
3968
+ * @throws {RequiredError}
3969
+ */
3970
+ updateDatasetPart: async (organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3971
+ // verify required parameter 'organizationId' is not null or undefined
3972
+ assertParamExists('updateDatasetPart', 'organizationId', organizationId)
3973
+ // verify required parameter 'workspaceId' is not null or undefined
3974
+ assertParamExists('updateDatasetPart', 'workspaceId', workspaceId)
3975
+ // verify required parameter 'datasetId' is not null or undefined
3976
+ assertParamExists('updateDatasetPart', 'datasetId', datasetId)
3977
+ // verify required parameter 'datasetPartId' is not null or undefined
3978
+ assertParamExists('updateDatasetPart', 'datasetPartId', datasetPartId)
3979
+ // verify required parameter 'datasetPartUpdateRequest' is not null or undefined
3980
+ assertParamExists('updateDatasetPart', 'datasetPartUpdateRequest', datasetPartUpdateRequest)
3981
+ const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}`
3982
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
3983
+ .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
3984
+ .replace(`{${"dataset_id"}}`, encodeURIComponent(String(datasetId)))
3985
+ .replace(`{${"dataset_part_id"}}`, encodeURIComponent(String(datasetPartId)));
3986
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3987
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3988
+ let baseOptions;
3989
+ if (configuration) {
3990
+ baseOptions = configuration.baseOptions;
3991
+ }
3992
+
3993
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
3994
+ const localVarHeaderParameter = {} as any;
3995
+ const localVarQueryParameter = {} as any;
3996
+
3997
+ // authentication oAuth2AuthCode required
3998
+ // oauth required
3999
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
4000
+
4001
+
4002
+
4003
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4004
+
4005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4008
+ localVarRequestOptions.data = serializeDataIfNeeded(datasetPartUpdateRequest, localVarRequestOptions, configuration)
4009
+
3975
4010
  return {
3976
4011
  url: toPathString(localVarUrlObj),
3977
4012
  options: localVarRequestOptions,
@@ -4196,21 +4231,26 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4196
4231
  },
4197
4232
  /**
4198
4233
  *
4199
- * @summary Get data of a Dataset
4234
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
4200
4235
  * @param {string} organizationId the Organization identifier
4201
4236
  * @param {string} workspaceId the Workspace identifier
4202
4237
  * @param {string} datasetId the Dataset identifier
4203
4238
  * @param {string} datasetPartId the Dataset part identifier
4204
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
4205
- * @param {Array<string>} [sums] Property names to sum by
4206
- * @param {Array<string>} [counts] Property names to count by
4239
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4240
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4241
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4242
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4243
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4244
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4207
4245
  * @param {number} [offset] The query offset
4208
4246
  * @param {number} [limit] The query limit
4247
+ * @param {Array<string>} [groupBys] Column names to group by
4248
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
4209
4249
  * @param {*} [options] Override http request option.
4210
4250
  * @throws {RequiredError}
4211
4251
  */
4212
- async queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, filters?: Array<string>, sums?: Array<string>, counts?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>> {
4213
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options);
4252
+ async queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
4253
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options);
4214
4254
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4215
4255
  const localVarOperationServerBasePath = operationServerMap['DatasetApi.queryData']?.[localVarOperationServerIndex]?.url;
4216
4256
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4318,6 +4358,23 @@ export const DatasetApiFp = function(configuration?: Configuration) {
4318
4358
  const localVarOperationServerBasePath = operationServerMap['DatasetApi.updateDatasetDefaultSecurity']?.[localVarOperationServerIndex]?.url;
4319
4359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4320
4360
  },
4361
+ /**
4362
+ *
4363
+ * @summary Update existing dataset parts information of a Dataset
4364
+ * @param {string} organizationId the Organization identifier
4365
+ * @param {string} workspaceId the Workspace identifier
4366
+ * @param {string} datasetId the Dataset identifier
4367
+ * @param {string} datasetPartId the Dataset part identifier
4368
+ * @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
4369
+ * @param {*} [options] Override http request option.
4370
+ * @throws {RequiredError}
4371
+ */
4372
+ async updateDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetPart>> {
4373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options);
4374
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4375
+ const localVarOperationServerBasePath = operationServerMap['DatasetApi.updateDatasetPart']?.[localVarOperationServerIndex]?.url;
4376
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4377
+ },
4321
4378
  }
4322
4379
  };
4323
4380
 
@@ -4498,21 +4555,26 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
4498
4555
  },
4499
4556
  /**
4500
4557
  *
4501
- * @summary Get data of a Dataset
4558
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
4502
4559
  * @param {string} organizationId the Organization identifier
4503
4560
  * @param {string} workspaceId the Workspace identifier
4504
4561
  * @param {string} datasetId the Dataset identifier
4505
4562
  * @param {string} datasetPartId the Dataset part identifier
4506
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
4507
- * @param {Array<string>} [sums] Property names to sum by
4508
- * @param {Array<string>} [counts] Property names to count by
4563
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4564
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4565
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4566
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4567
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4568
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4509
4569
  * @param {number} [offset] The query offset
4510
4570
  * @param {number} [limit] The query limit
4571
+ * @param {Array<string>} [groupBys] Column names to group by
4572
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
4511
4573
  * @param {*} [options] Override http request option.
4512
4574
  * @throws {RequiredError}
4513
4575
  */
4514
- queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, filters?: Array<string>, sums?: Array<string>, counts?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<object>> {
4515
- return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options).then((request) => request(axios, basePath));
4576
+ queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<File> {
4577
+ return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then((request) => request(axios, basePath));
4516
4578
  },
4517
4579
  /**
4518
4580
  *
@@ -4599,6 +4661,20 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
4599
4661
  updateDatasetDefaultSecurity(organizationId: string, workspaceId: string, datasetId: string, datasetRole: DatasetRole, options?: RawAxiosRequestConfig): AxiosPromise<DatasetSecurity> {
4600
4662
  return localVarFp.updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then((request) => request(axios, basePath));
4601
4663
  },
4664
+ /**
4665
+ *
4666
+ * @summary Update existing dataset parts information of a Dataset
4667
+ * @param {string} organizationId the Organization identifier
4668
+ * @param {string} workspaceId the Workspace identifier
4669
+ * @param {string} datasetId the Dataset identifier
4670
+ * @param {string} datasetPartId the Dataset part identifier
4671
+ * @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
4672
+ * @param {*} [options] Override http request option.
4673
+ * @throws {RequiredError}
4674
+ */
4675
+ updateDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatasetPart> {
4676
+ return localVarFp.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then((request) => request(axios, basePath));
4677
+ },
4602
4678
  };
4603
4679
  };
4604
4680
 
@@ -4805,22 +4881,27 @@ export class DatasetApi extends BaseAPI {
4805
4881
 
4806
4882
  /**
4807
4883
  *
4808
- * @summary Get data of a Dataset
4884
+ * @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
4809
4885
  * @param {string} organizationId the Organization identifier
4810
4886
  * @param {string} workspaceId the Workspace identifier
4811
4887
  * @param {string} datasetId the Dataset identifier
4812
4888
  * @param {string} datasetPartId the Dataset part identifier
4813
- * @param {Array<string>} [filters] Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ...
4814
- * @param {Array<string>} [sums] Property names to sum by
4815
- * @param {Array<string>} [counts] Property names to count by
4889
+ * @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4890
+ * @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4891
+ * @param {Array<string>} [avgs] Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4892
+ * @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4893
+ * @param {Array<string>} [mins] Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4894
+ * @param {Array<string>} [maxs] Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*).
4816
4895
  * @param {number} [offset] The query offset
4817
4896
  * @param {number} [limit] The query limit
4897
+ * @param {Array<string>} [groupBys] Column names to group by
4898
+ * @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock).
4818
4899
  * @param {*} [options] Override http request option.
4819
4900
  * @throws {RequiredError}
4820
4901
  * @memberof DatasetApi
4821
4902
  */
4822
- public queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, filters?: Array<string>, sums?: Array<string>, counts?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig) {
4823
- return DatasetApiFp(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId, filters, sums, counts, offset, limit, options).then((request) => request(this.axios, this.basePath));
4903
+ public queryData(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, selects?: Array<string>, sums?: Array<string>, avgs?: Array<string>, counts?: Array<string>, mins?: Array<string>, maxs?: Array<string>, offset?: number, limit?: number, groupBys?: Array<string>, orderBys?: Array<string>, options?: RawAxiosRequestConfig) {
4904
+ return DatasetApiFp(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then((request) => request(this.axios, this.basePath));
4824
4905
  }
4825
4906
 
4826
4907
  /**
@@ -4919,6 +5000,22 @@ export class DatasetApi extends BaseAPI {
4919
5000
  public updateDatasetDefaultSecurity(organizationId: string, workspaceId: string, datasetId: string, datasetRole: DatasetRole, options?: RawAxiosRequestConfig) {
4920
5001
  return DatasetApiFp(this.configuration).updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then((request) => request(this.axios, this.basePath));
4921
5002
  }
5003
+
5004
+ /**
5005
+ *
5006
+ * @summary Update existing dataset parts information of a Dataset
5007
+ * @param {string} organizationId the Organization identifier
5008
+ * @param {string} workspaceId the Workspace identifier
5009
+ * @param {string} datasetId the Dataset identifier
5010
+ * @param {string} datasetPartId the Dataset part identifier
5011
+ * @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
5012
+ * @param {*} [options] Override http request option.
5013
+ * @throws {RequiredError}
5014
+ * @memberof DatasetApi
5015
+ */
5016
+ public updateDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options?: RawAxiosRequestConfig) {
5017
+ return DatasetApiFp(this.configuration).updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then((request) => request(this.axios, this.basePath));
5018
+ }
4922
5019
  }
4923
5020
 
4924
5021
 
@@ -6414,118 +6511,6 @@ export const RunApiAxiosParamCreator = function (configuration?: Configuration)
6414
6511
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6415
6512
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6416
6513
 
6417
- return {
6418
- url: toPathString(localVarUrlObj),
6419
- options: localVarRequestOptions,
6420
- };
6421
- },
6422
- /**
6423
- *
6424
- * @summary query the run data
6425
- * @param {string} organizationId the Organization identifier
6426
- * @param {string} workspaceId the Workspace identifier
6427
- * @param {string} runnerId the Runner identifier
6428
- * @param {string} runId the Run identifier
6429
- * @param {RunDataQuery} runDataQuery the query to run
6430
- * @param {*} [options] Override http request option.
6431
- * @throws {RequiredError}
6432
- */
6433
- queryRunData: async (organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6434
- // verify required parameter 'organizationId' is not null or undefined
6435
- assertParamExists('queryRunData', 'organizationId', organizationId)
6436
- // verify required parameter 'workspaceId' is not null or undefined
6437
- assertParamExists('queryRunData', 'workspaceId', workspaceId)
6438
- // verify required parameter 'runnerId' is not null or undefined
6439
- assertParamExists('queryRunData', 'runnerId', runnerId)
6440
- // verify required parameter 'runId' is not null or undefined
6441
- assertParamExists('queryRunData', 'runId', runId)
6442
- // verify required parameter 'runDataQuery' is not null or undefined
6443
- assertParamExists('queryRunData', 'runDataQuery', runDataQuery)
6444
- const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/query`
6445
- .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
6446
- .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
6447
- .replace(`{${"runner_id"}}`, encodeURIComponent(String(runnerId)))
6448
- .replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
6449
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6450
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6451
- let baseOptions;
6452
- if (configuration) {
6453
- baseOptions = configuration.baseOptions;
6454
- }
6455
-
6456
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6457
- const localVarHeaderParameter = {} as any;
6458
- const localVarQueryParameter = {} as any;
6459
-
6460
- // authentication oAuth2AuthCode required
6461
- // oauth required
6462
- await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
6463
-
6464
-
6465
-
6466
- localVarHeaderParameter['Content-Type'] = 'application/json';
6467
-
6468
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6469
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6470
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6471
- localVarRequestOptions.data = serializeDataIfNeeded(runDataQuery, localVarRequestOptions, configuration)
6472
-
6473
- return {
6474
- url: toPathString(localVarUrlObj),
6475
- options: localVarRequestOptions,
6476
- };
6477
- },
6478
- /**
6479
- *
6480
- * @summary Send data associated to a run
6481
- * @param {string} organizationId the Organization identifier
6482
- * @param {string} workspaceId the Workspace identifier
6483
- * @param {string} runnerId the Runner identifier
6484
- * @param {string} runId the Run identifier
6485
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
6486
- * @param {*} [options] Override http request option.
6487
- * @throws {RequiredError}
6488
- */
6489
- sendRunData: async (organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6490
- // verify required parameter 'organizationId' is not null or undefined
6491
- assertParamExists('sendRunData', 'organizationId', organizationId)
6492
- // verify required parameter 'workspaceId' is not null or undefined
6493
- assertParamExists('sendRunData', 'workspaceId', workspaceId)
6494
- // verify required parameter 'runnerId' is not null or undefined
6495
- assertParamExists('sendRunData', 'runnerId', runnerId)
6496
- // verify required parameter 'runId' is not null or undefined
6497
- assertParamExists('sendRunData', 'runId', runId)
6498
- // verify required parameter 'sendRunDataRequest' is not null or undefined
6499
- assertParamExists('sendRunData', 'sendRunDataRequest', sendRunDataRequest)
6500
- const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/send`
6501
- .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
6502
- .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
6503
- .replace(`{${"runner_id"}}`, encodeURIComponent(String(runnerId)))
6504
- .replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
6505
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6506
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6507
- let baseOptions;
6508
- if (configuration) {
6509
- baseOptions = configuration.baseOptions;
6510
- }
6511
-
6512
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6513
- const localVarHeaderParameter = {} as any;
6514
- const localVarQueryParameter = {} as any;
6515
-
6516
- // authentication oAuth2AuthCode required
6517
- // oauth required
6518
- await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
6519
-
6520
-
6521
-
6522
- localVarHeaderParameter['Content-Type'] = 'application/json';
6523
-
6524
- setSearchParams(localVarUrlObj, localVarQueryParameter);
6525
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6526
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6527
- localVarRequestOptions.data = serializeDataIfNeeded(sendRunDataRequest, localVarRequestOptions, configuration)
6528
-
6529
6514
  return {
6530
6515
  url: toPathString(localVarUrlObj),
6531
6516
  options: localVarRequestOptions,
@@ -6622,40 +6607,6 @@ export const RunApiFp = function(configuration?: Configuration) {
6622
6607
  const localVarOperationServerBasePath = operationServerMap['RunApi.listRuns']?.[localVarOperationServerIndex]?.url;
6623
6608
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6624
6609
  },
6625
- /**
6626
- *
6627
- * @summary query the run data
6628
- * @param {string} organizationId the Organization identifier
6629
- * @param {string} workspaceId the Workspace identifier
6630
- * @param {string} runnerId the Runner identifier
6631
- * @param {string} runId the Run identifier
6632
- * @param {RunDataQuery} runDataQuery the query to run
6633
- * @param {*} [options] Override http request option.
6634
- * @throws {RequiredError}
6635
- */
6636
- async queryRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryResult>> {
6637
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options);
6638
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6639
- const localVarOperationServerBasePath = operationServerMap['RunApi.queryRunData']?.[localVarOperationServerIndex]?.url;
6640
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6641
- },
6642
- /**
6643
- *
6644
- * @summary Send data associated to a run
6645
- * @param {string} organizationId the Organization identifier
6646
- * @param {string} workspaceId the Workspace identifier
6647
- * @param {string} runnerId the Runner identifier
6648
- * @param {string} runId the Run identifier
6649
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
6650
- * @param {*} [options] Override http request option.
6651
- * @throws {RequiredError}
6652
- */
6653
- async sendRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunData>> {
6654
- const localVarAxiosArgs = await localVarAxiosParamCreator.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options);
6655
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6656
- const localVarOperationServerBasePath = operationServerMap['RunApi.sendRunData']?.[localVarOperationServerIndex]?.url;
6657
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6658
- },
6659
6610
  }
6660
6611
  };
6661
6612
 
@@ -6732,34 +6683,6 @@ export const RunApiFactory = function (configuration?: Configuration, basePath?:
6732
6683
  listRuns(organizationId: string, workspaceId: string, runnerId: string, page?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<Run>> {
6733
6684
  return localVarFp.listRuns(organizationId, workspaceId, runnerId, page, size, options).then((request) => request(axios, basePath));
6734
6685
  },
6735
- /**
6736
- *
6737
- * @summary query the run data
6738
- * @param {string} organizationId the Organization identifier
6739
- * @param {string} workspaceId the Workspace identifier
6740
- * @param {string} runnerId the Runner identifier
6741
- * @param {string} runId the Run identifier
6742
- * @param {RunDataQuery} runDataQuery the query to run
6743
- * @param {*} [options] Override http request option.
6744
- * @throws {RequiredError}
6745
- */
6746
- queryRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options?: RawAxiosRequestConfig): AxiosPromise<QueryResult> {
6747
- return localVarFp.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then((request) => request(axios, basePath));
6748
- },
6749
- /**
6750
- *
6751
- * @summary Send data associated to a run
6752
- * @param {string} organizationId the Organization identifier
6753
- * @param {string} workspaceId the Workspace identifier
6754
- * @param {string} runnerId the Runner identifier
6755
- * @param {string} runId the Run identifier
6756
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
6757
- * @param {*} [options] Override http request option.
6758
- * @throws {RequiredError}
6759
- */
6760
- sendRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<RunData> {
6761
- return localVarFp.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then((request) => request(axios, basePath));
6762
- },
6763
6686
  };
6764
6687
  };
6765
6688
 
@@ -6845,38 +6768,6 @@ export class RunApi extends BaseAPI {
6845
6768
  public listRuns(organizationId: string, workspaceId: string, runnerId: string, page?: number, size?: number, options?: RawAxiosRequestConfig) {
6846
6769
  return RunApiFp(this.configuration).listRuns(organizationId, workspaceId, runnerId, page, size, options).then((request) => request(this.axios, this.basePath));
6847
6770
  }
6848
-
6849
- /**
6850
- *
6851
- * @summary query the run data
6852
- * @param {string} organizationId the Organization identifier
6853
- * @param {string} workspaceId the Workspace identifier
6854
- * @param {string} runnerId the Runner identifier
6855
- * @param {string} runId the Run identifier
6856
- * @param {RunDataQuery} runDataQuery the query to run
6857
- * @param {*} [options] Override http request option.
6858
- * @throws {RequiredError}
6859
- * @memberof RunApi
6860
- */
6861
- public queryRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, runDataQuery: RunDataQuery, options?: RawAxiosRequestConfig) {
6862
- return RunApiFp(this.configuration).queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then((request) => request(this.axios, this.basePath));
6863
- }
6864
-
6865
- /**
6866
- *
6867
- * @summary Send data associated to a run
6868
- * @param {string} organizationId the Organization identifier
6869
- * @param {string} workspaceId the Workspace identifier
6870
- * @param {string} runnerId the Runner identifier
6871
- * @param {string} runId the Run identifier
6872
- * @param {SendRunDataRequest} sendRunDataRequest Custom data to register
6873
- * @param {*} [options] Override http request option.
6874
- * @throws {RequiredError}
6875
- * @memberof RunApi
6876
- */
6877
- public sendRunData(organizationId: string, workspaceId: string, runnerId: string, runId: string, sendRunDataRequest: SendRunDataRequest, options?: RawAxiosRequestConfig) {
6878
- return RunApiFp(this.configuration).sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then((request) => request(this.axios, this.basePath));
6879
- }
6880
6771
  }
6881
6772
 
6882
6773
 
@@ -7326,8 +7217,8 @@ export const RunnerApiAxiosParamCreator = function (configuration?: Configuratio
7326
7217
  * @summary List all Runners
7327
7218
  * @param {string} organizationId the Organization identifier
7328
7219
  * @param {string} workspaceId the Workspace identifier
7329
- * @param {number} [page] page number to query (first page is at index 0)
7330
- * @param {number} [size] amount of result by page
7220
+ * @param {number} [page] Page number to query (first page is at index 0)
7221
+ * @param {number} [size] Amount of result by page
7331
7222
  * @param {*} [options] Override http request option.
7332
7223
  * @throws {RequiredError}
7333
7224
  */
@@ -7779,8 +7670,8 @@ export const RunnerApiFp = function(configuration?: Configuration) {
7779
7670
  * @summary List all Runners
7780
7671
  * @param {string} organizationId the Organization identifier
7781
7672
  * @param {string} workspaceId the Workspace identifier
7782
- * @param {number} [page] page number to query (first page is at index 0)
7783
- * @param {number} [size] amount of result by page
7673
+ * @param {number} [page] Page number to query (first page is at index 0)
7674
+ * @param {number} [size] Amount of result by page
7784
7675
  * @param {*} [options] Override http request option.
7785
7676
  * @throws {RequiredError}
7786
7677
  */
@@ -7996,8 +7887,8 @@ export const RunnerApiFactory = function (configuration?: Configuration, basePat
7996
7887
  * @summary List all Runners
7997
7888
  * @param {string} organizationId the Organization identifier
7998
7889
  * @param {string} workspaceId the Workspace identifier
7999
- * @param {number} [page] page number to query (first page is at index 0)
8000
- * @param {number} [size] amount of result by page
7890
+ * @param {number} [page] Page number to query (first page is at index 0)
7891
+ * @param {number} [size] Amount of result by page
8001
7892
  * @param {*} [options] Override http request option.
8002
7893
  * @throws {RequiredError}
8003
7894
  */
@@ -8213,8 +8104,8 @@ export class RunnerApi extends BaseAPI {
8213
8104
  * @summary List all Runners
8214
8105
  * @param {string} organizationId the Organization identifier
8215
8106
  * @param {string} workspaceId the Workspace identifier
8216
- * @param {number} [page] page number to query (first page is at index 0)
8217
- * @param {number} [size] amount of result by page
8107
+ * @param {number} [page] Page number to query (first page is at index 0)
8108
+ * @param {number} [size] Amount of result by page
8218
8109
  * @param {*} [options] Override http request option.
8219
8110
  * @throws {RequiredError}
8220
8111
  * @memberof RunnerApi
@@ -8398,69 +8289,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
8398
8289
  options: localVarRequestOptions,
8399
8290
  };
8400
8291
  },
8401
- /**
8402
- *
8403
- * @summary Upload a file for the Solution
8404
- * @param {string} organizationId the Organization identifier
8405
- * @param {string} solutionId the Solution identifier
8406
- * @param {File} file The file to upload
8407
- * @param {boolean} [overwrite] Whether to overwrite an existing file
8408
- * @param {string} [destination] Destination path. Must end with a \\\&#39;/\\\&#39; if specifying a folder. Note that paths may or may not start with a \\\&#39;/\\\&#39;, but they are always treated as relative to the Solution root location.
8409
- * @param {*} [options] Override http request option.
8410
- * @throws {RequiredError}
8411
- */
8412
- createSolutionFile: async (organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8413
- // verify required parameter 'organizationId' is not null or undefined
8414
- assertParamExists('createSolutionFile', 'organizationId', organizationId)
8415
- // verify required parameter 'solutionId' is not null or undefined
8416
- assertParamExists('createSolutionFile', 'solutionId', solutionId)
8417
- // verify required parameter 'file' is not null or undefined
8418
- assertParamExists('createSolutionFile', 'file', file)
8419
- const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files`
8420
- .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
8421
- .replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
8422
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8423
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8424
- let baseOptions;
8425
- if (configuration) {
8426
- baseOptions = configuration.baseOptions;
8427
- }
8428
-
8429
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8430
- const localVarHeaderParameter = {} as any;
8431
- const localVarQueryParameter = {} as any;
8432
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
8433
-
8434
- // authentication oAuth2AuthCode required
8435
- // oauth required
8436
- await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
8437
-
8438
-
8439
- if (overwrite !== undefined) {
8440
- localVarFormParams.append('overwrite', String(overwrite) as any);
8441
- }
8442
-
8443
- if (destination !== undefined) {
8444
- localVarFormParams.append('destination', destination as any);
8445
- }
8446
-
8447
- if (file !== undefined) {
8448
- localVarFormParams.append('file', file as any);
8449
- }
8450
-
8451
-
8452
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
8453
-
8454
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8455
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8456
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8457
- localVarRequestOptions.data = localVarFormParams;
8458
-
8459
- return {
8460
- url: toPathString(localVarUrlObj),
8461
- options: localVarRequestOptions,
8462
- };
8463
- },
8464
8292
  /**
8465
8293
  *
8466
8294
  * @summary Create solution parameter for a solution
@@ -8684,97 +8512,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
8684
8512
 
8685
8513
 
8686
8514
 
8687
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8688
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8689
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8690
-
8691
- return {
8692
- url: toPathString(localVarUrlObj),
8693
- options: localVarRequestOptions,
8694
- };
8695
- },
8696
- /**
8697
- *
8698
- * @summary Delete a solution file
8699
- * @param {string} organizationId the Organization identifier
8700
- * @param {string} solutionId the Solution identifier
8701
- * @param {string} fileName The file name
8702
- * @param {*} [options] Override http request option.
8703
- * @throws {RequiredError}
8704
- */
8705
- deleteSolutionFile: async (organizationId: string, solutionId: string, fileName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8706
- // verify required parameter 'organizationId' is not null or undefined
8707
- assertParamExists('deleteSolutionFile', 'organizationId', organizationId)
8708
- // verify required parameter 'solutionId' is not null or undefined
8709
- assertParamExists('deleteSolutionFile', 'solutionId', solutionId)
8710
- // verify required parameter 'fileName' is not null or undefined
8711
- assertParamExists('deleteSolutionFile', 'fileName', fileName)
8712
- const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files/delete`
8713
- .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
8714
- .replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
8715
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8716
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8717
- let baseOptions;
8718
- if (configuration) {
8719
- baseOptions = configuration.baseOptions;
8720
- }
8721
-
8722
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
8723
- const localVarHeaderParameter = {} as any;
8724
- const localVarQueryParameter = {} as any;
8725
-
8726
- // authentication oAuth2AuthCode required
8727
- // oauth required
8728
- await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
8729
-
8730
- if (fileName !== undefined) {
8731
- localVarQueryParameter['file_name'] = fileName;
8732
- }
8733
-
8734
-
8735
-
8736
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8737
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8738
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8739
-
8740
- return {
8741
- url: toPathString(localVarUrlObj),
8742
- options: localVarRequestOptions,
8743
- };
8744
- },
8745
- /**
8746
- *
8747
- * @summary Delete all Solution files
8748
- * @param {string} organizationId the Organization identifier
8749
- * @param {string} solutionId the Solution identifier
8750
- * @param {*} [options] Override http request option.
8751
- * @throws {RequiredError}
8752
- */
8753
- deleteSolutionFiles: async (organizationId: string, solutionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8754
- // verify required parameter 'organizationId' is not null or undefined
8755
- assertParamExists('deleteSolutionFiles', 'organizationId', organizationId)
8756
- // verify required parameter 'solutionId' is not null or undefined
8757
- assertParamExists('deleteSolutionFiles', 'solutionId', solutionId)
8758
- const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files`
8759
- .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
8760
- .replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
8761
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8762
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8763
- let baseOptions;
8764
- if (configuration) {
8765
- baseOptions = configuration.baseOptions;
8766
- }
8767
-
8768
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
8769
- const localVarHeaderParameter = {} as any;
8770
- const localVarQueryParameter = {} as any;
8771
-
8772
- // authentication oAuth2AuthCode required
8773
- // oauth required
8774
- await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
8775
-
8776
-
8777
-
8778
8515
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8779
8516
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8780
8517
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9047,55 +8784,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
9047
8784
 
9048
8785
 
9049
8786
 
9050
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9051
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9052
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9053
-
9054
- return {
9055
- url: toPathString(localVarUrlObj),
9056
- options: localVarRequestOptions,
9057
- };
9058
- },
9059
- /**
9060
- *
9061
- * @summary Download the Solution File specified
9062
- * @param {string} organizationId the Organization identifier
9063
- * @param {string} solutionId the Solution identifier
9064
- * @param {string} fileName The file name
9065
- * @param {*} [options] Override http request option.
9066
- * @throws {RequiredError}
9067
- */
9068
- getSolutionFile: async (organizationId: string, solutionId: string, fileName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9069
- // verify required parameter 'organizationId' is not null or undefined
9070
- assertParamExists('getSolutionFile', 'organizationId', organizationId)
9071
- // verify required parameter 'solutionId' is not null or undefined
9072
- assertParamExists('getSolutionFile', 'solutionId', solutionId)
9073
- // verify required parameter 'fileName' is not null or undefined
9074
- assertParamExists('getSolutionFile', 'fileName', fileName)
9075
- const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files/download`
9076
- .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
9077
- .replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
9078
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9079
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9080
- let baseOptions;
9081
- if (configuration) {
9082
- baseOptions = configuration.baseOptions;
9083
- }
9084
-
9085
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9086
- const localVarHeaderParameter = {} as any;
9087
- const localVarQueryParameter = {} as any;
9088
-
9089
- // authentication oAuth2AuthCode required
9090
- // oauth required
9091
- await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
9092
-
9093
- if (fileName !== undefined) {
9094
- localVarQueryParameter['file_name'] = fileName;
9095
- }
9096
-
9097
-
9098
-
9099
8787
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9100
8788
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9101
8789
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9272,48 +8960,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
9272
8960
 
9273
8961
 
9274
8962
 
9275
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9276
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9277
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9278
-
9279
- return {
9280
- url: toPathString(localVarUrlObj),
9281
- options: localVarRequestOptions,
9282
- };
9283
- },
9284
- /**
9285
- *
9286
- * @summary List all Solution files
9287
- * @param {string} organizationId the Organization identifier
9288
- * @param {string} solutionId the Solution identifier
9289
- * @param {*} [options] Override http request option.
9290
- * @throws {RequiredError}
9291
- */
9292
- listSolutionFiles: async (organizationId: string, solutionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9293
- // verify required parameter 'organizationId' is not null or undefined
9294
- assertParamExists('listSolutionFiles', 'organizationId', organizationId)
9295
- // verify required parameter 'solutionId' is not null or undefined
9296
- assertParamExists('listSolutionFiles', 'solutionId', solutionId)
9297
- const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files`
9298
- .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
9299
- .replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
9300
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9301
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9302
- let baseOptions;
9303
- if (configuration) {
9304
- baseOptions = configuration.baseOptions;
9305
- }
9306
-
9307
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9308
- const localVarHeaderParameter = {} as any;
9309
- const localVarQueryParameter = {} as any;
9310
-
9311
- // authentication oAuth2AuthCode required
9312
- // oauth required
9313
- await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
9314
-
9315
-
9316
-
9317
8963
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9318
8964
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9319
8965
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9840,23 +9486,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
9840
9486
  const localVarOperationServerBasePath = operationServerMap['SolutionApi.createSolutionAccessControl']?.[localVarOperationServerIndex]?.url;
9841
9487
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9842
9488
  },
9843
- /**
9844
- *
9845
- * @summary Upload a file for the Solution
9846
- * @param {string} organizationId the Organization identifier
9847
- * @param {string} solutionId the Solution identifier
9848
- * @param {File} file The file to upload
9849
- * @param {boolean} [overwrite] Whether to overwrite an existing file
9850
- * @param {string} [destination] Destination path. Must end with a \\\&#39;/\\\&#39; if specifying a folder. Note that paths may or may not start with a \\\&#39;/\\\&#39;, but they are always treated as relative to the Solution root location.
9851
- * @param {*} [options] Override http request option.
9852
- * @throws {RequiredError}
9853
- */
9854
- async createSolutionFile(organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SolutionFile>> {
9855
- const localVarAxiosArgs = await localVarAxiosParamCreator.createSolutionFile(organizationId, solutionId, file, overwrite, destination, options);
9856
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9857
- const localVarOperationServerBasePath = operationServerMap['SolutionApi.createSolutionFile']?.[localVarOperationServerIndex]?.url;
9858
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9859
- },
9860
9489
  /**
9861
9490
  *
9862
9491
  * @summary Create solution parameter for a solution
@@ -9931,35 +9560,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
9931
9560
  const localVarOperationServerBasePath = operationServerMap['SolutionApi.deleteSolutionAccessControl']?.[localVarOperationServerIndex]?.url;
9932
9561
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9933
9562
  },
9934
- /**
9935
- *
9936
- * @summary Delete a solution file
9937
- * @param {string} organizationId the Organization identifier
9938
- * @param {string} solutionId the Solution identifier
9939
- * @param {string} fileName The file name
9940
- * @param {*} [options] Override http request option.
9941
- * @throws {RequiredError}
9942
- */
9943
- async deleteSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9944
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSolutionFile(organizationId, solutionId, fileName, options);
9945
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9946
- const localVarOperationServerBasePath = operationServerMap['SolutionApi.deleteSolutionFile']?.[localVarOperationServerIndex]?.url;
9947
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9948
- },
9949
- /**
9950
- *
9951
- * @summary Delete all Solution files
9952
- * @param {string} organizationId the Organization identifier
9953
- * @param {string} solutionId the Solution identifier
9954
- * @param {*} [options] Override http request option.
9955
- * @throws {RequiredError}
9956
- */
9957
- async deleteSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9958
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSolutionFiles(organizationId, solutionId, options);
9959
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9960
- const localVarOperationServerBasePath = operationServerMap['SolutionApi.deleteSolutionFiles']?.[localVarOperationServerIndex]?.url;
9961
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9962
- },
9963
9563
  /**
9964
9564
  *
9965
9565
  * @summary Delete specific parameter from the solution
@@ -10049,21 +9649,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
10049
9649
  const localVarOperationServerBasePath = operationServerMap['SolutionApi.getSolutionAccessControl']?.[localVarOperationServerIndex]?.url;
10050
9650
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10051
9651
  },
10052
- /**
10053
- *
10054
- * @summary Download the Solution File specified
10055
- * @param {string} organizationId the Organization identifier
10056
- * @param {string} solutionId the Solution identifier
10057
- * @param {string} fileName The file name
10058
- * @param {*} [options] Override http request option.
10059
- * @throws {RequiredError}
10060
- */
10061
- async getSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
10062
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSolutionFile(organizationId, solutionId, fileName, options);
10063
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10064
- const localVarOperationServerBasePath = operationServerMap['SolutionApi.getSolutionFile']?.[localVarOperationServerIndex]?.url;
10065
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10066
- },
10067
9652
  /**
10068
9653
  *
10069
9654
  * @summary Get the details of a solution parameter
@@ -10122,20 +9707,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
10122
9707
  const localVarOperationServerBasePath = operationServerMap['SolutionApi.listRunTemplates']?.[localVarOperationServerIndex]?.url;
10123
9708
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10124
9709
  },
10125
- /**
10126
- *
10127
- * @summary List all Solution files
10128
- * @param {string} organizationId the Organization identifier
10129
- * @param {string} solutionId the Solution identifier
10130
- * @param {*} [options] Override http request option.
10131
- * @throws {RequiredError}
10132
- */
10133
- async listSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SolutionFile>>> {
10134
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSolutionFiles(organizationId, solutionId, options);
10135
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10136
- const localVarOperationServerBasePath = operationServerMap['SolutionApi.listSolutionFiles']?.[localVarOperationServerIndex]?.url;
10137
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10138
- },
10139
9710
  /**
10140
9711
  *
10141
9712
  * @summary List all solution parameter groups
@@ -10320,20 +9891,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
10320
9891
  createSolutionAccessControl(organizationId: string, solutionId: string, solutionAccessControl: SolutionAccessControl, options?: RawAxiosRequestConfig): AxiosPromise<SolutionAccessControl> {
10321
9892
  return localVarFp.createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then((request) => request(axios, basePath));
10322
9893
  },
10323
- /**
10324
- *
10325
- * @summary Upload a file for the Solution
10326
- * @param {string} organizationId the Organization identifier
10327
- * @param {string} solutionId the Solution identifier
10328
- * @param {File} file The file to upload
10329
- * @param {boolean} [overwrite] Whether to overwrite an existing file
10330
- * @param {string} [destination] Destination path. Must end with a \\\&#39;/\\\&#39; if specifying a folder. Note that paths may or may not start with a \\\&#39;/\\\&#39;, but they are always treated as relative to the Solution root location.
10331
- * @param {*} [options] Override http request option.
10332
- * @throws {RequiredError}
10333
- */
10334
- createSolutionFile(organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options?: RawAxiosRequestConfig): AxiosPromise<SolutionFile> {
10335
- return localVarFp.createSolutionFile(organizationId, solutionId, file, overwrite, destination, options).then((request) => request(axios, basePath));
10336
- },
10337
9894
  /**
10338
9895
  *
10339
9896
  * @summary Create solution parameter for a solution
@@ -10393,29 +9950,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
10393
9950
  deleteSolutionAccessControl(organizationId: string, solutionId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10394
9951
  return localVarFp.deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(axios, basePath));
10395
9952
  },
10396
- /**
10397
- *
10398
- * @summary Delete a solution file
10399
- * @param {string} organizationId the Organization identifier
10400
- * @param {string} solutionId the Solution identifier
10401
- * @param {string} fileName The file name
10402
- * @param {*} [options] Override http request option.
10403
- * @throws {RequiredError}
10404
- */
10405
- deleteSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10406
- return localVarFp.deleteSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(axios, basePath));
10407
- },
10408
- /**
10409
- *
10410
- * @summary Delete all Solution files
10411
- * @param {string} organizationId the Organization identifier
10412
- * @param {string} solutionId the Solution identifier
10413
- * @param {*} [options] Override http request option.
10414
- * @throws {RequiredError}
10415
- */
10416
- deleteSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10417
- return localVarFp.deleteSolutionFiles(organizationId, solutionId, options).then((request) => request(axios, basePath));
10418
- },
10419
9953
  /**
10420
9954
  *
10421
9955
  * @summary Delete specific parameter from the solution
@@ -10487,18 +10021,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
10487
10021
  getSolutionAccessControl(organizationId: string, solutionId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<SolutionAccessControl> {
10488
10022
  return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(axios, basePath));
10489
10023
  },
10490
- /**
10491
- *
10492
- * @summary Download the Solution File specified
10493
- * @param {string} organizationId the Organization identifier
10494
- * @param {string} solutionId the Solution identifier
10495
- * @param {string} fileName The file name
10496
- * @param {*} [options] Override http request option.
10497
- * @throws {RequiredError}
10498
- */
10499
- getSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
10500
- return localVarFp.getSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(axios, basePath));
10501
- },
10502
10024
  /**
10503
10025
  *
10504
10026
  * @summary Get the details of a solution parameter
@@ -10545,17 +10067,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
10545
10067
  listRunTemplates(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<RunTemplate>> {
10546
10068
  return localVarFp.listRunTemplates(organizationId, solutionId, options).then((request) => request(axios, basePath));
10547
10069
  },
10548
- /**
10549
- *
10550
- * @summary List all Solution files
10551
- * @param {string} organizationId the Organization identifier
10552
- * @param {string} solutionId the Solution identifier
10553
- * @param {*} [options] Override http request option.
10554
- * @throws {RequiredError}
10555
- */
10556
- listSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SolutionFile>> {
10557
- return localVarFp.listSolutionFiles(organizationId, solutionId, options).then((request) => request(axios, basePath));
10558
- },
10559
10070
  /**
10560
10071
  *
10561
10072
  * @summary List all solution parameter groups
@@ -10714,22 +10225,6 @@ export class SolutionApi extends BaseAPI {
10714
10225
  return SolutionApiFp(this.configuration).createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then((request) => request(this.axios, this.basePath));
10715
10226
  }
10716
10227
 
10717
- /**
10718
- *
10719
- * @summary Upload a file for the Solution
10720
- * @param {string} organizationId the Organization identifier
10721
- * @param {string} solutionId the Solution identifier
10722
- * @param {File} file The file to upload
10723
- * @param {boolean} [overwrite] Whether to overwrite an existing file
10724
- * @param {string} [destination] Destination path. Must end with a \\\&#39;/\\\&#39; if specifying a folder. Note that paths may or may not start with a \\\&#39;/\\\&#39;, but they are always treated as relative to the Solution root location.
10725
- * @param {*} [options] Override http request option.
10726
- * @throws {RequiredError}
10727
- * @memberof SolutionApi
10728
- */
10729
- public createSolutionFile(organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options?: RawAxiosRequestConfig) {
10730
- return SolutionApiFp(this.configuration).createSolutionFile(organizationId, solutionId, file, overwrite, destination, options).then((request) => request(this.axios, this.basePath));
10731
- }
10732
-
10733
10228
  /**
10734
10229
  *
10735
10230
  * @summary Create solution parameter for a solution
@@ -10799,33 +10294,6 @@ export class SolutionApi extends BaseAPI {
10799
10294
  return SolutionApiFp(this.configuration).deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(this.axios, this.basePath));
10800
10295
  }
10801
10296
 
10802
- /**
10803
- *
10804
- * @summary Delete a solution file
10805
- * @param {string} organizationId the Organization identifier
10806
- * @param {string} solutionId the Solution identifier
10807
- * @param {string} fileName The file name
10808
- * @param {*} [options] Override http request option.
10809
- * @throws {RequiredError}
10810
- * @memberof SolutionApi
10811
- */
10812
- public deleteSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig) {
10813
- return SolutionApiFp(this.configuration).deleteSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(this.axios, this.basePath));
10814
- }
10815
-
10816
- /**
10817
- *
10818
- * @summary Delete all Solution files
10819
- * @param {string} organizationId the Organization identifier
10820
- * @param {string} solutionId the Solution identifier
10821
- * @param {*} [options] Override http request option.
10822
- * @throws {RequiredError}
10823
- * @memberof SolutionApi
10824
- */
10825
- public deleteSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig) {
10826
- return SolutionApiFp(this.configuration).deleteSolutionFiles(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
10827
- }
10828
-
10829
10297
  /**
10830
10298
  *
10831
10299
  * @summary Delete specific parameter from the solution
@@ -10909,20 +10377,6 @@ export class SolutionApi extends BaseAPI {
10909
10377
  return SolutionApiFp(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(this.axios, this.basePath));
10910
10378
  }
10911
10379
 
10912
- /**
10913
- *
10914
- * @summary Download the Solution File specified
10915
- * @param {string} organizationId the Organization identifier
10916
- * @param {string} solutionId the Solution identifier
10917
- * @param {string} fileName The file name
10918
- * @param {*} [options] Override http request option.
10919
- * @throws {RequiredError}
10920
- * @memberof SolutionApi
10921
- */
10922
- public getSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig) {
10923
- return SolutionApiFp(this.configuration).getSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(this.axios, this.basePath));
10924
- }
10925
-
10926
10380
  /**
10927
10381
  *
10928
10382
  * @summary Get the details of a solution parameter
@@ -10977,19 +10431,6 @@ export class SolutionApi extends BaseAPI {
10977
10431
  return SolutionApiFp(this.configuration).listRunTemplates(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
10978
10432
  }
10979
10433
 
10980
- /**
10981
- *
10982
- * @summary List all Solution files
10983
- * @param {string} organizationId the Organization identifier
10984
- * @param {string} solutionId the Solution identifier
10985
- * @param {*} [options] Override http request option.
10986
- * @throws {RequiredError}
10987
- * @memberof SolutionApi
10988
- */
10989
- public listSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig) {
10990
- return SolutionApiFp(this.configuration).listSolutionFiles(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
10991
- }
10992
-
10993
10434
  /**
10994
10435
  *
10995
10436
  * @summary List all solution parameter groups