@cosmotech/api-ts 0.0.1 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yaml +20 -0
- package/LICENSE +12 -4
- package/README.md +2 -2
- package/api.ts +1554 -757
- package/base.ts +3 -3
- package/common.ts +5 -5
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1105 -637
- package/dist/api.js +966 -281
- package/dist/base.d.ts +3 -3
- package/dist/base.js +1 -1
- package/dist/common.d.ts +3 -3
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/git_push.sh +3 -4
- package/index.ts +1 -1
- package/package-lock.json +33 -0
- package/package.json +3 -3
- package/scripts/git_push.sh +24 -20
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Cosmo Tech Plaform API
|
|
6
6
|
* Cosmo Tech Platform API
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.0.
|
|
8
|
+
* The version of the OpenAPI document: 0.0.13-SNAPSHOT
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -73,124 +73,115 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
76
|
-
exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.ValidatorApi = exports.ValidatorApiFactory = exports.ValidatorApiFp = exports.ValidatorApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SolutionApi = exports.SolutionApiFactory = exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.ScenariorunApi = exports.ScenariorunApiFactory = exports.ScenariorunApiFp = exports.ScenariorunApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.ConnectorApi = exports.ConnectorApiFactory = exports.ConnectorApiFp = exports.ConnectorApiAxiosParamCreator = exports.WorkspaceUserRolesEnum = exports.ValidatorRunStateEnum = exports.UserPlatformRolesEnum = exports.ScenarioUserRolesEnum = exports.ScenarioRunSearchStateEnum = exports.
|
|
76
|
+
exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.ValidatorApi = exports.ValidatorApiFactory = exports.ValidatorApiFp = exports.ValidatorApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SolutionApi = exports.SolutionApiFactory = exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.ScenariorunApi = exports.ScenariorunApiFactory = exports.ScenariorunApiFp = exports.ScenariorunApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.ConnectorApi = exports.ConnectorApiFactory = exports.ConnectorApiFp = exports.ConnectorApiAxiosParamCreator = exports.WorkspaceUserRolesEnum = exports.ValidatorRunStateEnum = exports.UserPlatformRolesEnum = exports.ScenarioValidationStatus = exports.ScenarioUserRolesEnum = exports.ScenarioRunState = exports.ScenarioRunSearchStateEnum = exports.ScenarioJobState = exports.RunTemplateStepSource = exports.RunTemplateHandlerId = exports.OrganizationUserRolesEnum = exports.ConnectorIoTypesEnum = void 0;
|
|
77
77
|
var axios_1 = require("axios");
|
|
78
78
|
// Some imports not used depending on template conditions
|
|
79
79
|
// @ts-ignore
|
|
80
80
|
var common_1 = require("./common");
|
|
81
81
|
// @ts-ignore
|
|
82
82
|
var base_1 = require("./base");
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
* @export
|
|
94
|
-
* @enum {string}
|
|
95
|
-
*/
|
|
96
|
-
var OrganizationUserRolesEnum;
|
|
97
|
-
(function (OrganizationUserRolesEnum) {
|
|
98
|
-
OrganizationUserRolesEnum["Admin"] = "Admin";
|
|
99
|
-
OrganizationUserRolesEnum["User"] = "User";
|
|
100
|
-
OrganizationUserRolesEnum["Viewer"] = "Viewer";
|
|
101
|
-
OrganizationUserRolesEnum["Developer"] = "Developer";
|
|
102
|
-
})(OrganizationUserRolesEnum = exports.OrganizationUserRolesEnum || (exports.OrganizationUserRolesEnum = {}));
|
|
83
|
+
exports.ConnectorIoTypesEnum = {
|
|
84
|
+
Read: 'read',
|
|
85
|
+
Write: 'write'
|
|
86
|
+
};
|
|
87
|
+
exports.OrganizationUserRolesEnum = {
|
|
88
|
+
Admin: 'Admin',
|
|
89
|
+
User: 'User',
|
|
90
|
+
Viewer: 'Viewer',
|
|
91
|
+
Developer: 'Developer'
|
|
92
|
+
};
|
|
103
93
|
/**
|
|
104
94
|
* the Run Template step handler identifier
|
|
105
95
|
* @export
|
|
106
96
|
* @enum {string}
|
|
107
97
|
*/
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
98
|
+
exports.RunTemplateHandlerId = {
|
|
99
|
+
ParametersHandler: 'parameters_handler',
|
|
100
|
+
Validator: 'validator',
|
|
101
|
+
Prerun: 'prerun',
|
|
102
|
+
Engine: 'engine',
|
|
103
|
+
Postrun: 'postrun',
|
|
104
|
+
ScenariodataTransform: 'scenariodata_transform'
|
|
105
|
+
};
|
|
116
106
|
/**
|
|
117
|
-
* the source local or
|
|
107
|
+
* the source local, cloud or git repository
|
|
118
108
|
* @export
|
|
119
109
|
* @enum {string}
|
|
120
110
|
*/
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
* @export
|
|
128
|
-
* @enum {string}
|
|
129
|
-
*/
|
|
130
|
-
var ScenarioStateEnum;
|
|
131
|
-
(function (ScenarioStateEnum) {
|
|
132
|
-
ScenarioStateEnum["Created"] = "Created";
|
|
133
|
-
ScenarioStateEnum["Running"] = "Running";
|
|
134
|
-
ScenarioStateEnum["Successful"] = "Successful";
|
|
135
|
-
ScenarioStateEnum["Failed"] = "Failed";
|
|
136
|
-
ScenarioStateEnum["Unknown"] = "Unknown";
|
|
137
|
-
})(ScenarioStateEnum = exports.ScenarioStateEnum || (exports.ScenarioStateEnum = {}));
|
|
138
|
-
/**
|
|
139
|
-
* @export
|
|
140
|
-
* @enum {string}
|
|
141
|
-
*/
|
|
142
|
-
var ScenarioRunSearchStateEnum;
|
|
143
|
-
(function (ScenarioRunSearchStateEnum) {
|
|
144
|
-
ScenarioRunSearchStateEnum["FetchingDatasets"] = "FetchingDatasets";
|
|
145
|
-
ScenarioRunSearchStateEnum["FetchingScenarioParameters"] = "FetchingScenarioParameters";
|
|
146
|
-
ScenarioRunSearchStateEnum["ApplyingScenarioParameters"] = "ApplyingScenarioParameters";
|
|
147
|
-
ScenarioRunSearchStateEnum["ValidatingScenarioData"] = "ValidatingScenarioData";
|
|
148
|
-
ScenarioRunSearchStateEnum["SendingScenarioDataToDataWarehouse"] = "SendingScenarioDataToDataWarehouse";
|
|
149
|
-
ScenarioRunSearchStateEnum["PreRun"] = "PreRun";
|
|
150
|
-
ScenarioRunSearchStateEnum["Running"] = "Running";
|
|
151
|
-
ScenarioRunSearchStateEnum["PostRun"] = "PostRun";
|
|
152
|
-
ScenarioRunSearchStateEnum["Success"] = "Success";
|
|
153
|
-
ScenarioRunSearchStateEnum["Failed"] = "Failed";
|
|
154
|
-
})(ScenarioRunSearchStateEnum = exports.ScenarioRunSearchStateEnum || (exports.ScenarioRunSearchStateEnum = {}));
|
|
155
|
-
/**
|
|
156
|
-
* @export
|
|
157
|
-
* @enum {string}
|
|
158
|
-
*/
|
|
159
|
-
var ScenarioUserRolesEnum;
|
|
160
|
-
(function (ScenarioUserRolesEnum) {
|
|
161
|
-
ScenarioUserRolesEnum["Viewer"] = "Viewer";
|
|
162
|
-
ScenarioUserRolesEnum["Editor"] = "Editor";
|
|
163
|
-
})(ScenarioUserRolesEnum = exports.ScenarioUserRolesEnum || (exports.ScenarioUserRolesEnum = {}));
|
|
111
|
+
exports.RunTemplateStepSource = {
|
|
112
|
+
Cloud: 'cloud',
|
|
113
|
+
Git: 'git',
|
|
114
|
+
Local: 'local',
|
|
115
|
+
Platform: 'platform'
|
|
116
|
+
};
|
|
164
117
|
/**
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
118
|
+
* the Scenario job state
|
|
119
|
+
* @export
|
|
120
|
+
* @enum {string}
|
|
121
|
+
*/
|
|
122
|
+
exports.ScenarioJobState = {
|
|
123
|
+
Created: 'Created',
|
|
124
|
+
Running: 'Running',
|
|
125
|
+
Successful: 'Successful',
|
|
126
|
+
Failed: 'Failed',
|
|
127
|
+
Unknown: 'Unknown',
|
|
128
|
+
DataIngestionInProgress: 'DataIngestionInProgress'
|
|
129
|
+
};
|
|
130
|
+
exports.ScenarioRunSearchStateEnum = {
|
|
131
|
+
FetchingDatasets: 'FetchingDatasets',
|
|
132
|
+
FetchingScenarioParameters: 'FetchingScenarioParameters',
|
|
133
|
+
ApplyingScenarioParameters: 'ApplyingScenarioParameters',
|
|
134
|
+
ValidatingScenarioData: 'ValidatingScenarioData',
|
|
135
|
+
SendingScenarioDataToDataWarehouse: 'SendingScenarioDataToDataWarehouse',
|
|
136
|
+
PreRun: 'PreRun',
|
|
137
|
+
Running: 'Running',
|
|
138
|
+
PostRun: 'PostRun',
|
|
139
|
+
Success: 'Success',
|
|
140
|
+
Failed: 'Failed'
|
|
141
|
+
};
|
|
174
142
|
/**
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
143
|
+
* the ScenarioRun end-to-end state
|
|
144
|
+
* @export
|
|
145
|
+
* @enum {string}
|
|
146
|
+
*/
|
|
147
|
+
exports.ScenarioRunState = {
|
|
148
|
+
Running: 'Running',
|
|
149
|
+
Successful: 'Successful',
|
|
150
|
+
Failed: 'Failed',
|
|
151
|
+
Unknown: 'Unknown',
|
|
152
|
+
DataIngestionInProgress: 'DataIngestionInProgress',
|
|
153
|
+
DataIngestionFailure: 'DataIngestionFailure'
|
|
154
|
+
};
|
|
155
|
+
exports.ScenarioUserRolesEnum = {
|
|
156
|
+
Viewer: 'Viewer',
|
|
157
|
+
Editor: 'Editor'
|
|
158
|
+
};
|
|
184
159
|
/**
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
160
|
+
* the validation status of the scenario
|
|
161
|
+
* @export
|
|
162
|
+
* @enum {string}
|
|
163
|
+
*/
|
|
164
|
+
exports.ScenarioValidationStatus = {
|
|
165
|
+
Draft: 'Draft',
|
|
166
|
+
Rejected: 'Rejected',
|
|
167
|
+
Unknown: 'Unknown',
|
|
168
|
+
Validated: 'Validated'
|
|
169
|
+
};
|
|
170
|
+
exports.UserPlatformRolesEnum = {
|
|
171
|
+
Admin: 'Admin',
|
|
172
|
+
User: 'User',
|
|
173
|
+
ConnectorDeveloper: 'ConnectorDeveloper'
|
|
174
|
+
};
|
|
175
|
+
exports.ValidatorRunStateEnum = {
|
|
176
|
+
Running: 'Running',
|
|
177
|
+
Finished: 'Finished',
|
|
178
|
+
OnError: 'OnError'
|
|
179
|
+
};
|
|
180
|
+
exports.WorkspaceUserRolesEnum = {
|
|
181
|
+
Admin: 'Admin',
|
|
182
|
+
User: 'User',
|
|
183
|
+
Viewer: 'Viewer'
|
|
184
|
+
};
|
|
194
185
|
/**
|
|
195
186
|
* ConnectorApi - axios parameter creator
|
|
196
187
|
* @export
|
|
@@ -226,7 +217,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
226
217
|
// authentication oAuth2AuthCode required
|
|
227
218
|
// oauth required
|
|
228
219
|
_a.sent();
|
|
229
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
220
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
221
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
222
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
232
223
|
return [2 /*return*/, {
|
|
@@ -269,7 +260,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
269
260
|
// authentication oAuth2AuthCode required
|
|
270
261
|
// oauth required
|
|
271
262
|
_a.sent();
|
|
272
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
263
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
264
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
265
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
275
266
|
return [2 /*return*/, {
|
|
@@ -312,7 +303,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
312
303
|
// oauth required
|
|
313
304
|
_a.sent();
|
|
314
305
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
315
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
306
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
316
307
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
317
308
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
318
309
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(connector, localVarRequestOptions, configuration);
|
|
@@ -356,7 +347,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
356
347
|
// authentication oAuth2AuthCode required
|
|
357
348
|
// oauth required
|
|
358
349
|
_a.sent();
|
|
359
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
350
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
360
351
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
361
352
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
362
353
|
return [2 /*return*/, {
|
|
@@ -613,7 +604,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
613
604
|
// oauth required
|
|
614
605
|
_a.sent();
|
|
615
606
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
616
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
607
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
617
608
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
618
609
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
619
610
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(datasetCompatibility, localVarRequestOptions, configuration);
|
|
@@ -661,7 +652,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
661
652
|
// oauth required
|
|
662
653
|
_a.sent();
|
|
663
654
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
664
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
655
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
665
656
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
666
657
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
667
658
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(datasetCopyParameters, localVarRequestOptions, configuration);
|
|
@@ -709,7 +700,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
709
700
|
// oauth required
|
|
710
701
|
_a.sent();
|
|
711
702
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
712
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
703
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
713
704
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
714
705
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
715
706
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(dataset, localVarRequestOptions, configuration);
|
|
@@ -757,7 +748,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
757
748
|
// authentication oAuth2AuthCode required
|
|
758
749
|
// oauth required
|
|
759
750
|
_a.sent();
|
|
760
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
751
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
761
752
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
762
753
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
763
754
|
return [2 /*return*/, {
|
|
@@ -800,7 +791,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
800
791
|
// authentication oAuth2AuthCode required
|
|
801
792
|
// oauth required
|
|
802
793
|
_a.sent();
|
|
803
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
794
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
804
795
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
805
796
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
806
797
|
return [2 /*return*/, {
|
|
@@ -847,7 +838,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
847
838
|
// authentication oAuth2AuthCode required
|
|
848
839
|
// oauth required
|
|
849
840
|
_a.sent();
|
|
850
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
841
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
851
842
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
852
843
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
853
844
|
return [2 /*return*/, {
|
|
@@ -894,9 +885,57 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
894
885
|
// authentication oAuth2AuthCode required
|
|
895
886
|
// oauth required
|
|
896
887
|
_a.sent();
|
|
897
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
888
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
889
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
890
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
891
|
+
return [2 /*return*/, {
|
|
892
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
893
|
+
options: localVarRequestOptions,
|
|
894
|
+
}];
|
|
895
|
+
}
|
|
896
|
+
});
|
|
897
|
+
});
|
|
898
|
+
},
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @summary Search Datasets
|
|
902
|
+
* @param {string} organizationId the Organization identifier
|
|
903
|
+
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
904
|
+
* @param {*} [options] Override http request option.
|
|
905
|
+
* @throws {RequiredError}
|
|
906
|
+
*/
|
|
907
|
+
searchDatasets: function (organizationId, datasetSearch, options) {
|
|
908
|
+
if (options === void 0) { options = {}; }
|
|
909
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
910
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
911
|
+
return __generator(this, function (_a) {
|
|
912
|
+
switch (_a.label) {
|
|
913
|
+
case 0:
|
|
914
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
915
|
+
common_1.assertParamExists('searchDatasets', 'organizationId', organizationId);
|
|
916
|
+
// verify required parameter 'datasetSearch' is not null or undefined
|
|
917
|
+
common_1.assertParamExists('searchDatasets', 'datasetSearch', datasetSearch);
|
|
918
|
+
localVarPath = "/organizations/{organization_id}/datasets/search"
|
|
919
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)));
|
|
920
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
921
|
+
if (configuration) {
|
|
922
|
+
baseOptions = configuration.baseOptions;
|
|
923
|
+
}
|
|
924
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
925
|
+
localVarHeaderParameter = {};
|
|
926
|
+
localVarQueryParameter = {};
|
|
927
|
+
// authentication oAuth2AuthCode required
|
|
928
|
+
// oauth required
|
|
929
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
930
|
+
case 1:
|
|
931
|
+
// authentication oAuth2AuthCode required
|
|
932
|
+
// oauth required
|
|
933
|
+
_a.sent();
|
|
934
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
935
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
898
936
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
899
937
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
938
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(datasetSearch, localVarRequestOptions, configuration);
|
|
900
939
|
return [2 /*return*/, {
|
|
901
940
|
url: common_1.toPathString(localVarUrlObj),
|
|
902
941
|
options: localVarRequestOptions,
|
|
@@ -945,7 +984,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
945
984
|
// oauth required
|
|
946
985
|
_a.sent();
|
|
947
986
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
948
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
987
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
949
988
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
950
989
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
951
990
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(dataset, localVarRequestOptions, configuration);
|
|
@@ -1113,6 +1152,27 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
1113
1152
|
});
|
|
1114
1153
|
});
|
|
1115
1154
|
},
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @summary Search Datasets
|
|
1158
|
+
* @param {string} organizationId the Organization identifier
|
|
1159
|
+
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
*/
|
|
1163
|
+
searchDatasets: function (organizationId, datasetSearch, options) {
|
|
1164
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1165
|
+
var localVarAxiosArgs;
|
|
1166
|
+
return __generator(this, function (_a) {
|
|
1167
|
+
switch (_a.label) {
|
|
1168
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.searchDatasets(organizationId, datasetSearch, options)];
|
|
1169
|
+
case 1:
|
|
1170
|
+
localVarAxiosArgs = _a.sent();
|
|
1171
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1172
|
+
}
|
|
1173
|
+
});
|
|
1174
|
+
});
|
|
1175
|
+
},
|
|
1116
1176
|
/**
|
|
1117
1177
|
*
|
|
1118
1178
|
* @summary Update a dataset
|
|
@@ -1221,6 +1281,17 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
1221
1281
|
removeAllDatasetCompatibilityElements: function (organizationId, datasetId, options) {
|
|
1222
1282
|
return localVarFp.removeAllDatasetCompatibilityElements(organizationId, datasetId, options).then(function (request) { return request(axios, basePath); });
|
|
1223
1283
|
},
|
|
1284
|
+
/**
|
|
1285
|
+
*
|
|
1286
|
+
* @summary Search Datasets
|
|
1287
|
+
* @param {string} organizationId the Organization identifier
|
|
1288
|
+
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
1289
|
+
* @param {*} [options] Override http request option.
|
|
1290
|
+
* @throws {RequiredError}
|
|
1291
|
+
*/
|
|
1292
|
+
searchDatasets: function (organizationId, datasetSearch, options) {
|
|
1293
|
+
return localVarFp.searchDatasets(organizationId, datasetSearch, options).then(function (request) { return request(axios, basePath); });
|
|
1294
|
+
},
|
|
1224
1295
|
/**
|
|
1225
1296
|
*
|
|
1226
1297
|
* @summary Update a dataset
|
|
@@ -1337,6 +1408,19 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
1337
1408
|
var _this = this;
|
|
1338
1409
|
return exports.DatasetApiFp(this.configuration).removeAllDatasetCompatibilityElements(organizationId, datasetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1339
1410
|
};
|
|
1411
|
+
/**
|
|
1412
|
+
*
|
|
1413
|
+
* @summary Search Datasets
|
|
1414
|
+
* @param {string} organizationId the Organization identifier
|
|
1415
|
+
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
1416
|
+
* @param {*} [options] Override http request option.
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
* @memberof DatasetApi
|
|
1419
|
+
*/
|
|
1420
|
+
DatasetApi.prototype.searchDatasets = function (organizationId, datasetSearch, options) {
|
|
1421
|
+
var _this = this;
|
|
1422
|
+
return exports.DatasetApiFp(this.configuration).searchDatasets(organizationId, datasetSearch, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1423
|
+
};
|
|
1340
1424
|
/**
|
|
1341
1425
|
*
|
|
1342
1426
|
* @summary Update a dataset
|
|
@@ -1397,7 +1481,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1397
1481
|
// oauth required
|
|
1398
1482
|
_a.sent();
|
|
1399
1483
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1400
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1484
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1401
1485
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1402
1486
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1403
1487
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organizationUser, localVarRequestOptions, configuration);
|
|
@@ -1437,7 +1521,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1437
1521
|
// authentication oAuth2AuthCode required
|
|
1438
1522
|
// oauth required
|
|
1439
1523
|
_a.sent();
|
|
1440
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1524
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1441
1525
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1442
1526
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1443
1527
|
return [2 /*return*/, {
|
|
@@ -1480,7 +1564,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1480
1564
|
// authentication oAuth2AuthCode required
|
|
1481
1565
|
// oauth required
|
|
1482
1566
|
_a.sent();
|
|
1483
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1567
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1484
1568
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1485
1569
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1486
1570
|
return [2 /*return*/, {
|
|
@@ -1523,7 +1607,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1523
1607
|
// oauth required
|
|
1524
1608
|
_a.sent();
|
|
1525
1609
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1526
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1610
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1527
1611
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1528
1612
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1529
1613
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organization, localVarRequestOptions, configuration);
|
|
@@ -1567,7 +1651,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1567
1651
|
// authentication oAuth2AuthCode required
|
|
1568
1652
|
// oauth required
|
|
1569
1653
|
_a.sent();
|
|
1570
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1654
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1571
1655
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1572
1656
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1573
1657
|
return [2 /*return*/, {
|
|
@@ -1614,7 +1698,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1614
1698
|
// authentication oAuth2AuthCode required
|
|
1615
1699
|
// oauth required
|
|
1616
1700
|
_a.sent();
|
|
1617
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1701
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1618
1702
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1619
1703
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1620
1704
|
return [2 /*return*/, {
|
|
@@ -1657,7 +1741,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1657
1741
|
// authentication oAuth2AuthCode required
|
|
1658
1742
|
// oauth required
|
|
1659
1743
|
_a.sent();
|
|
1660
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1744
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1661
1745
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1662
1746
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1663
1747
|
return [2 /*return*/, {
|
|
@@ -1704,7 +1788,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1704
1788
|
// oauth required
|
|
1705
1789
|
_a.sent();
|
|
1706
1790
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1707
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1791
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1708
1792
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1709
1793
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1710
1794
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organization, localVarRequestOptions, configuration);
|
|
@@ -1752,7 +1836,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1752
1836
|
// oauth required
|
|
1753
1837
|
_a.sent();
|
|
1754
1838
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1755
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1839
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1756
1840
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1757
1841
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1758
1842
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organizationService, localVarRequestOptions, configuration);
|
|
@@ -1800,7 +1884,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1800
1884
|
// oauth required
|
|
1801
1885
|
_a.sent();
|
|
1802
1886
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1803
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1887
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1804
1888
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1805
1889
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1806
1890
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organizationService, localVarRequestOptions, configuration);
|
|
@@ -1848,7 +1932,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1848
1932
|
// oauth required
|
|
1849
1933
|
_a.sent();
|
|
1850
1934
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1851
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1935
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1852
1936
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1853
1937
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1854
1938
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
@@ -2422,7 +2506,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2422
2506
|
// oauth required
|
|
2423
2507
|
_a.sent();
|
|
2424
2508
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2425
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2509
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2426
2510
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2427
2511
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2428
2512
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioRunTemplateParameterValue, localVarRequestOptions, configuration);
|
|
@@ -2478,7 +2562,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2478
2562
|
// oauth required
|
|
2479
2563
|
_a.sent();
|
|
2480
2564
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2481
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2565
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2482
2566
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2483
2567
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2484
2568
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioUser, localVarRequestOptions, configuration);
|
|
@@ -2534,7 +2618,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2534
2618
|
// authentication oAuth2AuthCode required
|
|
2535
2619
|
// oauth required
|
|
2536
2620
|
_a.sent();
|
|
2537
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2621
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2538
2622
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2539
2623
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2540
2624
|
return [2 /*return*/, {
|
|
@@ -2585,7 +2669,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2585
2669
|
// oauth required
|
|
2586
2670
|
_a.sent();
|
|
2587
2671
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2588
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2672
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2589
2673
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2590
2674
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2591
2675
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenario, localVarRequestOptions, configuration);
|
|
@@ -2633,7 +2717,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2633
2717
|
// authentication oAuth2AuthCode required
|
|
2634
2718
|
// oauth required
|
|
2635
2719
|
_a.sent();
|
|
2636
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2720
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2637
2721
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2638
2722
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2639
2723
|
return [2 /*return*/, {
|
|
@@ -2688,7 +2772,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2688
2772
|
if (waitRelationshipPropagation !== undefined) {
|
|
2689
2773
|
localVarQueryParameter['wait_relationship_propagation'] = waitRelationshipPropagation;
|
|
2690
2774
|
}
|
|
2691
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2775
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2692
2776
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2693
2777
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2694
2778
|
return [2 /*return*/, {
|
|
@@ -2701,13 +2785,14 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2701
2785
|
},
|
|
2702
2786
|
/**
|
|
2703
2787
|
*
|
|
2704
|
-
* @summary
|
|
2788
|
+
* @summary Download Scenario data
|
|
2705
2789
|
* @param {string} organizationId the Organization identifier
|
|
2706
2790
|
* @param {string} workspaceId the Workspace identifier
|
|
2791
|
+
* @param {string} scenarioId the Scenario identifier
|
|
2707
2792
|
* @param {*} [options] Override http request option.
|
|
2708
2793
|
* @throws {RequiredError}
|
|
2709
2794
|
*/
|
|
2710
|
-
|
|
2795
|
+
downloadScenarioData: function (organizationId, workspaceId, scenarioId, options) {
|
|
2711
2796
|
if (options === void 0) { options = {}; }
|
|
2712
2797
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2713
2798
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2715,17 +2800,20 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2715
2800
|
switch (_a.label) {
|
|
2716
2801
|
case 0:
|
|
2717
2802
|
// verify required parameter 'organizationId' is not null or undefined
|
|
2718
|
-
common_1.assertParamExists('
|
|
2803
|
+
common_1.assertParamExists('downloadScenarioData', 'organizationId', organizationId);
|
|
2719
2804
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
2720
|
-
common_1.assertParamExists('
|
|
2721
|
-
|
|
2805
|
+
common_1.assertParamExists('downloadScenarioData', 'workspaceId', workspaceId);
|
|
2806
|
+
// verify required parameter 'scenarioId' is not null or undefined
|
|
2807
|
+
common_1.assertParamExists('downloadScenarioData', 'scenarioId', scenarioId);
|
|
2808
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/downloads"
|
|
2722
2809
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
2723
|
-
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2810
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2811
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
2724
2812
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2725
2813
|
if (configuration) {
|
|
2726
2814
|
baseOptions = configuration.baseOptions;
|
|
2727
2815
|
}
|
|
2728
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2816
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2729
2817
|
localVarHeaderParameter = {};
|
|
2730
2818
|
localVarQueryParameter = {};
|
|
2731
2819
|
// authentication oAuth2AuthCode required
|
|
@@ -2735,7 +2823,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2735
2823
|
// authentication oAuth2AuthCode required
|
|
2736
2824
|
// oauth required
|
|
2737
2825
|
_a.sent();
|
|
2738
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2826
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2739
2827
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2740
2828
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2741
2829
|
return [2 /*return*/, {
|
|
@@ -2748,14 +2836,13 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2748
2836
|
},
|
|
2749
2837
|
/**
|
|
2750
2838
|
*
|
|
2751
|
-
* @summary
|
|
2839
|
+
* @summary List all Scenarios
|
|
2752
2840
|
* @param {string} organizationId the Organization identifier
|
|
2753
2841
|
* @param {string} workspaceId the Workspace identifier
|
|
2754
|
-
* @param {string} scenarioId the Scenario identifier
|
|
2755
2842
|
* @param {*} [options] Override http request option.
|
|
2756
2843
|
* @throws {RequiredError}
|
|
2757
2844
|
*/
|
|
2758
|
-
|
|
2845
|
+
findAllScenarios: function (organizationId, workspaceId, options) {
|
|
2759
2846
|
if (options === void 0) { options = {}; }
|
|
2760
2847
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2761
2848
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2763,15 +2850,12 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2763
2850
|
switch (_a.label) {
|
|
2764
2851
|
case 0:
|
|
2765
2852
|
// verify required parameter 'organizationId' is not null or undefined
|
|
2766
|
-
common_1.assertParamExists('
|
|
2853
|
+
common_1.assertParamExists('findAllScenarios', 'organizationId', organizationId);
|
|
2767
2854
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
2768
|
-
common_1.assertParamExists('
|
|
2769
|
-
|
|
2770
|
-
common_1.assertParamExists('findScenarioById', 'scenarioId', scenarioId);
|
|
2771
|
-
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}"
|
|
2855
|
+
common_1.assertParamExists('findAllScenarios', 'workspaceId', workspaceId);
|
|
2856
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios"
|
|
2772
2857
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
2773
|
-
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2774
|
-
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
2858
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)));
|
|
2775
2859
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2776
2860
|
if (configuration) {
|
|
2777
2861
|
baseOptions = configuration.baseOptions;
|
|
@@ -2786,7 +2870,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2786
2870
|
// authentication oAuth2AuthCode required
|
|
2787
2871
|
// oauth required
|
|
2788
2872
|
_a.sent();
|
|
2789
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2873
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2790
2874
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2791
2875
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2792
2876
|
return [2 /*return*/, {
|
|
@@ -2799,13 +2883,14 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2799
2883
|
},
|
|
2800
2884
|
/**
|
|
2801
2885
|
*
|
|
2802
|
-
* @summary
|
|
2886
|
+
* @summary List all Scenarios by validation status
|
|
2803
2887
|
* @param {string} organizationId the Organization identifier
|
|
2804
2888
|
* @param {string} workspaceId the Workspace identifier
|
|
2889
|
+
* @param {ScenarioValidationStatus} validationStatus the Scenario Validation Status
|
|
2805
2890
|
* @param {*} [options] Override http request option.
|
|
2806
2891
|
* @throws {RequiredError}
|
|
2807
2892
|
*/
|
|
2808
|
-
|
|
2893
|
+
findAllScenariosByValidationStatus: function (organizationId, workspaceId, validationStatus, options) {
|
|
2809
2894
|
if (options === void 0) { options = {}; }
|
|
2810
2895
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2811
2896
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2813,12 +2898,15 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2813
2898
|
switch (_a.label) {
|
|
2814
2899
|
case 0:
|
|
2815
2900
|
// verify required parameter 'organizationId' is not null or undefined
|
|
2816
|
-
common_1.assertParamExists('
|
|
2901
|
+
common_1.assertParamExists('findAllScenariosByValidationStatus', 'organizationId', organizationId);
|
|
2817
2902
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
2818
|
-
common_1.assertParamExists('
|
|
2819
|
-
|
|
2903
|
+
common_1.assertParamExists('findAllScenariosByValidationStatus', 'workspaceId', workspaceId);
|
|
2904
|
+
// verify required parameter 'validationStatus' is not null or undefined
|
|
2905
|
+
common_1.assertParamExists('findAllScenariosByValidationStatus', 'validationStatus', validationStatus);
|
|
2906
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/{validationStatus}"
|
|
2820
2907
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
2821
|
-
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2908
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2909
|
+
.replace("{" + "validationStatus" + "}", encodeURIComponent(String(validationStatus)));
|
|
2822
2910
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2823
2911
|
if (configuration) {
|
|
2824
2912
|
baseOptions = configuration.baseOptions;
|
|
@@ -2833,7 +2921,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2833
2921
|
// authentication oAuth2AuthCode required
|
|
2834
2922
|
// oauth required
|
|
2835
2923
|
_a.sent();
|
|
2836
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2924
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2837
2925
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2838
2926
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2839
2927
|
return [2 /*return*/, {
|
|
@@ -2846,14 +2934,14 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2846
2934
|
},
|
|
2847
2935
|
/**
|
|
2848
2936
|
*
|
|
2849
|
-
* @summary
|
|
2937
|
+
* @summary Get the details of an scenario
|
|
2850
2938
|
* @param {string} organizationId the Organization identifier
|
|
2851
2939
|
* @param {string} workspaceId the Workspace identifier
|
|
2852
2940
|
* @param {string} scenarioId the Scenario identifier
|
|
2853
2941
|
* @param {*} [options] Override http request option.
|
|
2854
2942
|
* @throws {RequiredError}
|
|
2855
2943
|
*/
|
|
2856
|
-
|
|
2944
|
+
findScenarioById: function (organizationId, workspaceId, scenarioId, options) {
|
|
2857
2945
|
if (options === void 0) { options = {}; }
|
|
2858
2946
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2859
2947
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2861,12 +2949,12 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2861
2949
|
switch (_a.label) {
|
|
2862
2950
|
case 0:
|
|
2863
2951
|
// verify required parameter 'organizationId' is not null or undefined
|
|
2864
|
-
common_1.assertParamExists('
|
|
2952
|
+
common_1.assertParamExists('findScenarioById', 'organizationId', organizationId);
|
|
2865
2953
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
2866
|
-
common_1.assertParamExists('
|
|
2954
|
+
common_1.assertParamExists('findScenarioById', 'workspaceId', workspaceId);
|
|
2867
2955
|
// verify required parameter 'scenarioId' is not null or undefined
|
|
2868
|
-
common_1.assertParamExists('
|
|
2869
|
-
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}
|
|
2956
|
+
common_1.assertParamExists('findScenarioById', 'scenarioId', scenarioId);
|
|
2957
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}"
|
|
2870
2958
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
2871
2959
|
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2872
2960
|
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
@@ -2874,7 +2962,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2874
2962
|
if (configuration) {
|
|
2875
2963
|
baseOptions = configuration.baseOptions;
|
|
2876
2964
|
}
|
|
2877
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2965
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2878
2966
|
localVarHeaderParameter = {};
|
|
2879
2967
|
localVarQueryParameter = {};
|
|
2880
2968
|
// authentication oAuth2AuthCode required
|
|
@@ -2884,7 +2972,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2884
2972
|
// authentication oAuth2AuthCode required
|
|
2885
2973
|
// oauth required
|
|
2886
2974
|
_a.sent();
|
|
2887
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2975
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2888
2976
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2889
2977
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2890
2978
|
return [2 /*return*/, {
|
|
@@ -2897,14 +2985,15 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2897
2985
|
},
|
|
2898
2986
|
/**
|
|
2899
2987
|
*
|
|
2900
|
-
* @summary
|
|
2988
|
+
* @summary Get Scenario data download URL
|
|
2901
2989
|
* @param {string} organizationId the Organization identifier
|
|
2902
2990
|
* @param {string} workspaceId the Workspace identifier
|
|
2903
2991
|
* @param {string} scenarioId the Scenario identifier
|
|
2992
|
+
* @param {string} downloadId the Scenario Download identifier
|
|
2904
2993
|
* @param {*} [options] Override http request option.
|
|
2905
2994
|
* @throws {RequiredError}
|
|
2906
2995
|
*/
|
|
2907
|
-
|
|
2996
|
+
getScenarioDataDownloadJobInfo: function (organizationId, workspaceId, scenarioId, downloadId, options) {
|
|
2908
2997
|
if (options === void 0) { options = {}; }
|
|
2909
2998
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2910
2999
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2912,20 +3001,23 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2912
3001
|
switch (_a.label) {
|
|
2913
3002
|
case 0:
|
|
2914
3003
|
// verify required parameter 'organizationId' is not null or undefined
|
|
2915
|
-
common_1.assertParamExists('
|
|
3004
|
+
common_1.assertParamExists('getScenarioDataDownloadJobInfo', 'organizationId', organizationId);
|
|
2916
3005
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
2917
|
-
common_1.assertParamExists('
|
|
3006
|
+
common_1.assertParamExists('getScenarioDataDownloadJobInfo', 'workspaceId', workspaceId);
|
|
2918
3007
|
// verify required parameter 'scenarioId' is not null or undefined
|
|
2919
|
-
common_1.assertParamExists('
|
|
2920
|
-
|
|
3008
|
+
common_1.assertParamExists('getScenarioDataDownloadJobInfo', 'scenarioId', scenarioId);
|
|
3009
|
+
// verify required parameter 'downloadId' is not null or undefined
|
|
3010
|
+
common_1.assertParamExists('getScenarioDataDownloadJobInfo', 'downloadId', downloadId);
|
|
3011
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/downloads/{download_id}"
|
|
2921
3012
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
2922
3013
|
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2923
|
-
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)))
|
|
3014
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)))
|
|
3015
|
+
.replace("{" + "download_id" + "}", encodeURIComponent(String(downloadId)));
|
|
2924
3016
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2925
3017
|
if (configuration) {
|
|
2926
3018
|
baseOptions = configuration.baseOptions;
|
|
2927
3019
|
}
|
|
2928
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
3020
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2929
3021
|
localVarHeaderParameter = {};
|
|
2930
3022
|
localVarQueryParameter = {};
|
|
2931
3023
|
// authentication oAuth2AuthCode required
|
|
@@ -2935,7 +3027,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2935
3027
|
// authentication oAuth2AuthCode required
|
|
2936
3028
|
// oauth required
|
|
2937
3029
|
_a.sent();
|
|
2938
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3030
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2939
3031
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2940
3032
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2941
3033
|
return [2 /*return*/, {
|
|
@@ -2948,15 +3040,14 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2948
3040
|
},
|
|
2949
3041
|
/**
|
|
2950
3042
|
*
|
|
2951
|
-
* @summary
|
|
3043
|
+
* @summary Get the validation status of an scenario
|
|
2952
3044
|
* @param {string} organizationId the Organization identifier
|
|
2953
3045
|
* @param {string} workspaceId the Workspace identifier
|
|
2954
3046
|
* @param {string} scenarioId the Scenario identifier
|
|
2955
|
-
* @param {string} userId the User identifier
|
|
2956
3047
|
* @param {*} [options] Override http request option.
|
|
2957
3048
|
* @throws {RequiredError}
|
|
2958
3049
|
*/
|
|
2959
|
-
|
|
3050
|
+
getScenarioValidationStatusById: function (organizationId, workspaceId, scenarioId, options) {
|
|
2960
3051
|
if (options === void 0) { options = {}; }
|
|
2961
3052
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2962
3053
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2964,23 +3055,20 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2964
3055
|
switch (_a.label) {
|
|
2965
3056
|
case 0:
|
|
2966
3057
|
// verify required parameter 'organizationId' is not null or undefined
|
|
2967
|
-
common_1.assertParamExists('
|
|
3058
|
+
common_1.assertParamExists('getScenarioValidationStatusById', 'organizationId', organizationId);
|
|
2968
3059
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
2969
|
-
common_1.assertParamExists('
|
|
3060
|
+
common_1.assertParamExists('getScenarioValidationStatusById', 'workspaceId', workspaceId);
|
|
2970
3061
|
// verify required parameter 'scenarioId' is not null or undefined
|
|
2971
|
-
common_1.assertParamExists('
|
|
2972
|
-
|
|
2973
|
-
common_1.assertParamExists('removeUserFromScenario', 'userId', userId);
|
|
2974
|
-
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/users/{user_id}"
|
|
3062
|
+
common_1.assertParamExists('getScenarioValidationStatusById', 'scenarioId', scenarioId);
|
|
3063
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/ValidationStatus"
|
|
2975
3064
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
2976
3065
|
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2977
|
-
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)))
|
|
2978
|
-
.replace("{" + "user_id" + "}", encodeURIComponent(String(userId)));
|
|
3066
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
2979
3067
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2980
3068
|
if (configuration) {
|
|
2981
3069
|
baseOptions = configuration.baseOptions;
|
|
2982
3070
|
}
|
|
2983
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
3071
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2984
3072
|
localVarHeaderParameter = {};
|
|
2985
3073
|
localVarQueryParameter = {};
|
|
2986
3074
|
// authentication oAuth2AuthCode required
|
|
@@ -2990,7 +3078,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2990
3078
|
// authentication oAuth2AuthCode required
|
|
2991
3079
|
// oauth required
|
|
2992
3080
|
_a.sent();
|
|
2993
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3081
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2994
3082
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2995
3083
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2996
3084
|
return [2 /*return*/, {
|
|
@@ -3003,15 +3091,13 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
3003
3091
|
},
|
|
3004
3092
|
/**
|
|
3005
3093
|
*
|
|
3006
|
-
* @summary
|
|
3094
|
+
* @summary Get the Scenarios Tree
|
|
3007
3095
|
* @param {string} organizationId the Organization identifier
|
|
3008
3096
|
* @param {string} workspaceId the Workspace identifier
|
|
3009
|
-
* @param {string} scenarioId the Scenario identifier
|
|
3010
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
3011
3097
|
* @param {*} [options] Override http request option.
|
|
3012
3098
|
* @throws {RequiredError}
|
|
3013
3099
|
*/
|
|
3014
|
-
|
|
3100
|
+
getScenariosTree: function (organizationId, workspaceId, options) {
|
|
3015
3101
|
if (options === void 0) { options = {}; }
|
|
3016
3102
|
return __awaiter(_this, void 0, void 0, function () {
|
|
3017
3103
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3019,22 +3105,17 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
3019
3105
|
switch (_a.label) {
|
|
3020
3106
|
case 0:
|
|
3021
3107
|
// verify required parameter 'organizationId' is not null or undefined
|
|
3022
|
-
common_1.assertParamExists('
|
|
3108
|
+
common_1.assertParamExists('getScenariosTree', 'organizationId', organizationId);
|
|
3023
3109
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
3024
|
-
common_1.assertParamExists('
|
|
3025
|
-
|
|
3026
|
-
common_1.assertParamExists('updateScenario', 'scenarioId', scenarioId);
|
|
3027
|
-
// verify required parameter 'scenario' is not null or undefined
|
|
3028
|
-
common_1.assertParamExists('updateScenario', 'scenario', scenario);
|
|
3029
|
-
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}"
|
|
3110
|
+
common_1.assertParamExists('getScenariosTree', 'workspaceId', workspaceId);
|
|
3111
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/tree"
|
|
3030
3112
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
3031
|
-
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
3032
|
-
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
3113
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)));
|
|
3033
3114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3034
3115
|
if (configuration) {
|
|
3035
3116
|
baseOptions = configuration.baseOptions;
|
|
3036
3117
|
}
|
|
3037
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
3118
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3038
3119
|
localVarHeaderParameter = {};
|
|
3039
3120
|
localVarQueryParameter = {};
|
|
3040
3121
|
// authentication oAuth2AuthCode required
|
|
@@ -3044,11 +3125,9 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
3044
3125
|
// authentication oAuth2AuthCode required
|
|
3045
3126
|
// oauth required
|
|
3046
3127
|
_a.sent();
|
|
3047
|
-
|
|
3048
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
3128
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3049
3129
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3050
3130
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3051
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenario, localVarRequestOptions, configuration);
|
|
3052
3131
|
return [2 /*return*/, {
|
|
3053
3132
|
url: common_1.toPathString(localVarUrlObj),
|
|
3054
3133
|
options: localVarRequestOptions,
|
|
@@ -3057,51 +3136,264 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
3057
3136
|
});
|
|
3058
3137
|
});
|
|
3059
3138
|
},
|
|
3060
|
-
};
|
|
3061
|
-
};
|
|
3062
|
-
/**
|
|
3063
|
-
* ScenarioApi - functional programming interface
|
|
3064
|
-
* @export
|
|
3065
|
-
*/
|
|
3066
|
-
exports.ScenarioApiFp = function (configuration) {
|
|
3067
|
-
var localVarAxiosParamCreator = exports.ScenarioApiAxiosParamCreator(configuration);
|
|
3068
|
-
return {
|
|
3069
3139
|
/**
|
|
3070
3140
|
*
|
|
3071
|
-
* @summary
|
|
3141
|
+
* @summary Remove all Parameter Values from the Scenario specified
|
|
3072
3142
|
* @param {string} organizationId the Organization identifier
|
|
3073
3143
|
* @param {string} workspaceId the Workspace identifier
|
|
3074
3144
|
* @param {string} scenarioId the Scenario identifier
|
|
3075
|
-
* @param {Array<ScenarioRunTemplateParameterValue>} scenarioRunTemplateParameterValue the Parameter Value to add. Any Parameter Value with the same ID is overwritten
|
|
3076
3145
|
* @param {*} [options] Override http request option.
|
|
3077
3146
|
* @throws {RequiredError}
|
|
3078
3147
|
*/
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3148
|
+
removeAllScenarioParameterValues: function (organizationId, workspaceId, scenarioId, options) {
|
|
3149
|
+
if (options === void 0) { options = {}; }
|
|
3150
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3151
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3082
3152
|
return __generator(this, function (_a) {
|
|
3083
3153
|
switch (_a.label) {
|
|
3084
|
-
case 0:
|
|
3154
|
+
case 0:
|
|
3155
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
3156
|
+
common_1.assertParamExists('removeAllScenarioParameterValues', 'organizationId', organizationId);
|
|
3157
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3158
|
+
common_1.assertParamExists('removeAllScenarioParameterValues', 'workspaceId', workspaceId);
|
|
3159
|
+
// verify required parameter 'scenarioId' is not null or undefined
|
|
3160
|
+
common_1.assertParamExists('removeAllScenarioParameterValues', 'scenarioId', scenarioId);
|
|
3161
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/parameterValues"
|
|
3162
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
3163
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
3164
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
3165
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3166
|
+
if (configuration) {
|
|
3167
|
+
baseOptions = configuration.baseOptions;
|
|
3168
|
+
}
|
|
3169
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
3170
|
+
localVarHeaderParameter = {};
|
|
3171
|
+
localVarQueryParameter = {};
|
|
3172
|
+
// authentication oAuth2AuthCode required
|
|
3173
|
+
// oauth required
|
|
3174
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
3085
3175
|
case 1:
|
|
3086
|
-
|
|
3087
|
-
|
|
3176
|
+
// authentication oAuth2AuthCode required
|
|
3177
|
+
// oauth required
|
|
3178
|
+
_a.sent();
|
|
3179
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3180
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3181
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3182
|
+
return [2 /*return*/, {
|
|
3183
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3184
|
+
options: localVarRequestOptions,
|
|
3185
|
+
}];
|
|
3088
3186
|
}
|
|
3089
3187
|
});
|
|
3090
3188
|
});
|
|
3091
3189
|
},
|
|
3092
3190
|
/**
|
|
3093
3191
|
*
|
|
3094
|
-
* @summary
|
|
3192
|
+
* @summary Remove all users from the Scenario specified
|
|
3095
3193
|
* @param {string} organizationId the Organization identifier
|
|
3096
3194
|
* @param {string} workspaceId the Workspace identifier
|
|
3097
3195
|
* @param {string} scenarioId the Scenario identifier
|
|
3098
|
-
* @param {Array<ScenarioUser>} scenarioUser the Users to add. Any User with the same ID is overwritten
|
|
3099
3196
|
* @param {*} [options] Override http request option.
|
|
3100
3197
|
* @throws {RequiredError}
|
|
3101
3198
|
*/
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3199
|
+
removeAllUsersOfScenario: function (organizationId, workspaceId, scenarioId, options) {
|
|
3200
|
+
if (options === void 0) { options = {}; }
|
|
3201
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3202
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3203
|
+
return __generator(this, function (_a) {
|
|
3204
|
+
switch (_a.label) {
|
|
3205
|
+
case 0:
|
|
3206
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
3207
|
+
common_1.assertParamExists('removeAllUsersOfScenario', 'organizationId', organizationId);
|
|
3208
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3209
|
+
common_1.assertParamExists('removeAllUsersOfScenario', 'workspaceId', workspaceId);
|
|
3210
|
+
// verify required parameter 'scenarioId' is not null or undefined
|
|
3211
|
+
common_1.assertParamExists('removeAllUsersOfScenario', 'scenarioId', scenarioId);
|
|
3212
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/users"
|
|
3213
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
3214
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
3215
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
3216
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3217
|
+
if (configuration) {
|
|
3218
|
+
baseOptions = configuration.baseOptions;
|
|
3219
|
+
}
|
|
3220
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
3221
|
+
localVarHeaderParameter = {};
|
|
3222
|
+
localVarQueryParameter = {};
|
|
3223
|
+
// authentication oAuth2AuthCode required
|
|
3224
|
+
// oauth required
|
|
3225
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
3226
|
+
case 1:
|
|
3227
|
+
// authentication oAuth2AuthCode required
|
|
3228
|
+
// oauth required
|
|
3229
|
+
_a.sent();
|
|
3230
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3231
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3232
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3233
|
+
return [2 /*return*/, {
|
|
3234
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3235
|
+
options: localVarRequestOptions,
|
|
3236
|
+
}];
|
|
3237
|
+
}
|
|
3238
|
+
});
|
|
3239
|
+
});
|
|
3240
|
+
},
|
|
3241
|
+
/**
|
|
3242
|
+
*
|
|
3243
|
+
* @summary Remove the specified user from the given Scenario
|
|
3244
|
+
* @param {string} organizationId the Organization identifier
|
|
3245
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3246
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3247
|
+
* @param {string} userId the User identifier
|
|
3248
|
+
* @param {*} [options] Override http request option.
|
|
3249
|
+
* @throws {RequiredError}
|
|
3250
|
+
*/
|
|
3251
|
+
removeUserFromScenario: function (organizationId, workspaceId, scenarioId, userId, options) {
|
|
3252
|
+
if (options === void 0) { options = {}; }
|
|
3253
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3254
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3255
|
+
return __generator(this, function (_a) {
|
|
3256
|
+
switch (_a.label) {
|
|
3257
|
+
case 0:
|
|
3258
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
3259
|
+
common_1.assertParamExists('removeUserFromScenario', 'organizationId', organizationId);
|
|
3260
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3261
|
+
common_1.assertParamExists('removeUserFromScenario', 'workspaceId', workspaceId);
|
|
3262
|
+
// verify required parameter 'scenarioId' is not null or undefined
|
|
3263
|
+
common_1.assertParamExists('removeUserFromScenario', 'scenarioId', scenarioId);
|
|
3264
|
+
// verify required parameter 'userId' is not null or undefined
|
|
3265
|
+
common_1.assertParamExists('removeUserFromScenario', 'userId', userId);
|
|
3266
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/users/{user_id}"
|
|
3267
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
3268
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
3269
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)))
|
|
3270
|
+
.replace("{" + "user_id" + "}", encodeURIComponent(String(userId)));
|
|
3271
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3272
|
+
if (configuration) {
|
|
3273
|
+
baseOptions = configuration.baseOptions;
|
|
3274
|
+
}
|
|
3275
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
3276
|
+
localVarHeaderParameter = {};
|
|
3277
|
+
localVarQueryParameter = {};
|
|
3278
|
+
// authentication oAuth2AuthCode required
|
|
3279
|
+
// oauth required
|
|
3280
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
3281
|
+
case 1:
|
|
3282
|
+
// authentication oAuth2AuthCode required
|
|
3283
|
+
// oauth required
|
|
3284
|
+
_a.sent();
|
|
3285
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3286
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3287
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3288
|
+
return [2 /*return*/, {
|
|
3289
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3290
|
+
options: localVarRequestOptions,
|
|
3291
|
+
}];
|
|
3292
|
+
}
|
|
3293
|
+
});
|
|
3294
|
+
});
|
|
3295
|
+
},
|
|
3296
|
+
/**
|
|
3297
|
+
*
|
|
3298
|
+
* @summary Update a scenario
|
|
3299
|
+
* @param {string} organizationId the Organization identifier
|
|
3300
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3301
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3302
|
+
* @param {Scenario} scenario the new Scenario details.
|
|
3303
|
+
* @param {*} [options] Override http request option.
|
|
3304
|
+
* @throws {RequiredError}
|
|
3305
|
+
*/
|
|
3306
|
+
updateScenario: function (organizationId, workspaceId, scenarioId, scenario, options) {
|
|
3307
|
+
if (options === void 0) { options = {}; }
|
|
3308
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3309
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3310
|
+
return __generator(this, function (_a) {
|
|
3311
|
+
switch (_a.label) {
|
|
3312
|
+
case 0:
|
|
3313
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
3314
|
+
common_1.assertParamExists('updateScenario', 'organizationId', organizationId);
|
|
3315
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3316
|
+
common_1.assertParamExists('updateScenario', 'workspaceId', workspaceId);
|
|
3317
|
+
// verify required parameter 'scenarioId' is not null or undefined
|
|
3318
|
+
common_1.assertParamExists('updateScenario', 'scenarioId', scenarioId);
|
|
3319
|
+
// verify required parameter 'scenario' is not null or undefined
|
|
3320
|
+
common_1.assertParamExists('updateScenario', 'scenario', scenario);
|
|
3321
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}"
|
|
3322
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
3323
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
3324
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
3325
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3326
|
+
if (configuration) {
|
|
3327
|
+
baseOptions = configuration.baseOptions;
|
|
3328
|
+
}
|
|
3329
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
3330
|
+
localVarHeaderParameter = {};
|
|
3331
|
+
localVarQueryParameter = {};
|
|
3332
|
+
// authentication oAuth2AuthCode required
|
|
3333
|
+
// oauth required
|
|
3334
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
3335
|
+
case 1:
|
|
3336
|
+
// authentication oAuth2AuthCode required
|
|
3337
|
+
// oauth required
|
|
3338
|
+
_a.sent();
|
|
3339
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3340
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3341
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3342
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3343
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenario, localVarRequestOptions, configuration);
|
|
3344
|
+
return [2 /*return*/, {
|
|
3345
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3346
|
+
options: localVarRequestOptions,
|
|
3347
|
+
}];
|
|
3348
|
+
}
|
|
3349
|
+
});
|
|
3350
|
+
});
|
|
3351
|
+
},
|
|
3352
|
+
};
|
|
3353
|
+
};
|
|
3354
|
+
/**
|
|
3355
|
+
* ScenarioApi - functional programming interface
|
|
3356
|
+
* @export
|
|
3357
|
+
*/
|
|
3358
|
+
exports.ScenarioApiFp = function (configuration) {
|
|
3359
|
+
var localVarAxiosParamCreator = exports.ScenarioApiAxiosParamCreator(configuration);
|
|
3360
|
+
return {
|
|
3361
|
+
/**
|
|
3362
|
+
*
|
|
3363
|
+
* @summary Add (or replace) Parameter Values for the Scenario specified
|
|
3364
|
+
* @param {string} organizationId the Organization identifier
|
|
3365
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3366
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3367
|
+
* @param {Array<ScenarioRunTemplateParameterValue>} scenarioRunTemplateParameterValue the Parameter Value to add. Any Parameter Value with the same ID is overwritten
|
|
3368
|
+
* @param {*} [options] Override http request option.
|
|
3369
|
+
* @throws {RequiredError}
|
|
3370
|
+
*/
|
|
3371
|
+
addOrReplaceScenarioParameterValues: function (organizationId, workspaceId, scenarioId, scenarioRunTemplateParameterValue, options) {
|
|
3372
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3373
|
+
var localVarAxiosArgs;
|
|
3374
|
+
return __generator(this, function (_a) {
|
|
3375
|
+
switch (_a.label) {
|
|
3376
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.addOrReplaceScenarioParameterValues(organizationId, workspaceId, scenarioId, scenarioRunTemplateParameterValue, options)];
|
|
3377
|
+
case 1:
|
|
3378
|
+
localVarAxiosArgs = _a.sent();
|
|
3379
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3380
|
+
}
|
|
3381
|
+
});
|
|
3382
|
+
});
|
|
3383
|
+
},
|
|
3384
|
+
/**
|
|
3385
|
+
*
|
|
3386
|
+
* @summary Add (or replace) users in the Scenario specified
|
|
3387
|
+
* @param {string} organizationId the Organization identifier
|
|
3388
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3389
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3390
|
+
* @param {Array<ScenarioUser>} scenarioUser the Users to add. Any User with the same ID is overwritten
|
|
3391
|
+
* @param {*} [options] Override http request option.
|
|
3392
|
+
* @throws {RequiredError}
|
|
3393
|
+
*/
|
|
3394
|
+
addOrReplaceUsersInScenario: function (organizationId, workspaceId, scenarioId, scenarioUser, options) {
|
|
3395
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3396
|
+
var localVarAxiosArgs;
|
|
3105
3397
|
return __generator(this, function (_a) {
|
|
3106
3398
|
switch (_a.label) {
|
|
3107
3399
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.addOrReplaceUsersInScenario(organizationId, workspaceId, scenarioId, scenarioUser, options)];
|
|
@@ -3201,6 +3493,28 @@ exports.ScenarioApiFp = function (configuration) {
|
|
|
3201
3493
|
});
|
|
3202
3494
|
});
|
|
3203
3495
|
},
|
|
3496
|
+
/**
|
|
3497
|
+
*
|
|
3498
|
+
* @summary Download Scenario data
|
|
3499
|
+
* @param {string} organizationId the Organization identifier
|
|
3500
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3501
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3502
|
+
* @param {*} [options] Override http request option.
|
|
3503
|
+
* @throws {RequiredError}
|
|
3504
|
+
*/
|
|
3505
|
+
downloadScenarioData: function (organizationId, workspaceId, scenarioId, options) {
|
|
3506
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3507
|
+
var localVarAxiosArgs;
|
|
3508
|
+
return __generator(this, function (_a) {
|
|
3509
|
+
switch (_a.label) {
|
|
3510
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.downloadScenarioData(organizationId, workspaceId, scenarioId, options)];
|
|
3511
|
+
case 1:
|
|
3512
|
+
localVarAxiosArgs = _a.sent();
|
|
3513
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3514
|
+
}
|
|
3515
|
+
});
|
|
3516
|
+
});
|
|
3517
|
+
},
|
|
3204
3518
|
/**
|
|
3205
3519
|
*
|
|
3206
3520
|
* @summary List all Scenarios
|
|
@@ -3222,6 +3536,28 @@ exports.ScenarioApiFp = function (configuration) {
|
|
|
3222
3536
|
});
|
|
3223
3537
|
});
|
|
3224
3538
|
},
|
|
3539
|
+
/**
|
|
3540
|
+
*
|
|
3541
|
+
* @summary List all Scenarios by validation status
|
|
3542
|
+
* @param {string} organizationId the Organization identifier
|
|
3543
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3544
|
+
* @param {ScenarioValidationStatus} validationStatus the Scenario Validation Status
|
|
3545
|
+
* @param {*} [options] Override http request option.
|
|
3546
|
+
* @throws {RequiredError}
|
|
3547
|
+
*/
|
|
3548
|
+
findAllScenariosByValidationStatus: function (organizationId, workspaceId, validationStatus, options) {
|
|
3549
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3550
|
+
var localVarAxiosArgs;
|
|
3551
|
+
return __generator(this, function (_a) {
|
|
3552
|
+
switch (_a.label) {
|
|
3553
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.findAllScenariosByValidationStatus(organizationId, workspaceId, validationStatus, options)];
|
|
3554
|
+
case 1:
|
|
3555
|
+
localVarAxiosArgs = _a.sent();
|
|
3556
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3557
|
+
}
|
|
3558
|
+
});
|
|
3559
|
+
});
|
|
3560
|
+
},
|
|
3225
3561
|
/**
|
|
3226
3562
|
*
|
|
3227
3563
|
* @summary Get the details of an scenario
|
|
@@ -3244,6 +3580,51 @@ exports.ScenarioApiFp = function (configuration) {
|
|
|
3244
3580
|
});
|
|
3245
3581
|
});
|
|
3246
3582
|
},
|
|
3583
|
+
/**
|
|
3584
|
+
*
|
|
3585
|
+
* @summary Get Scenario data download URL
|
|
3586
|
+
* @param {string} organizationId the Organization identifier
|
|
3587
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3588
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3589
|
+
* @param {string} downloadId the Scenario Download identifier
|
|
3590
|
+
* @param {*} [options] Override http request option.
|
|
3591
|
+
* @throws {RequiredError}
|
|
3592
|
+
*/
|
|
3593
|
+
getScenarioDataDownloadJobInfo: function (organizationId, workspaceId, scenarioId, downloadId, options) {
|
|
3594
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3595
|
+
var localVarAxiosArgs;
|
|
3596
|
+
return __generator(this, function (_a) {
|
|
3597
|
+
switch (_a.label) {
|
|
3598
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getScenarioDataDownloadJobInfo(organizationId, workspaceId, scenarioId, downloadId, options)];
|
|
3599
|
+
case 1:
|
|
3600
|
+
localVarAxiosArgs = _a.sent();
|
|
3601
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3602
|
+
}
|
|
3603
|
+
});
|
|
3604
|
+
});
|
|
3605
|
+
},
|
|
3606
|
+
/**
|
|
3607
|
+
*
|
|
3608
|
+
* @summary Get the validation status of an scenario
|
|
3609
|
+
* @param {string} organizationId the Organization identifier
|
|
3610
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3611
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3612
|
+
* @param {*} [options] Override http request option.
|
|
3613
|
+
* @throws {RequiredError}
|
|
3614
|
+
*/
|
|
3615
|
+
getScenarioValidationStatusById: function (organizationId, workspaceId, scenarioId, options) {
|
|
3616
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3617
|
+
var localVarAxiosArgs;
|
|
3618
|
+
return __generator(this, function (_a) {
|
|
3619
|
+
switch (_a.label) {
|
|
3620
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getScenarioValidationStatusById(organizationId, workspaceId, scenarioId, options)];
|
|
3621
|
+
case 1:
|
|
3622
|
+
localVarAxiosArgs = _a.sent();
|
|
3623
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3624
|
+
}
|
|
3625
|
+
});
|
|
3626
|
+
});
|
|
3627
|
+
},
|
|
3247
3628
|
/**
|
|
3248
3629
|
*
|
|
3249
3630
|
* @summary Get the Scenarios Tree
|
|
@@ -3439,6 +3820,18 @@ exports.ScenarioApiFactory = function (configuration, basePath, axios) {
|
|
|
3439
3820
|
deleteScenario: function (organizationId, workspaceId, scenarioId, waitRelationshipPropagation, options) {
|
|
3440
3821
|
return localVarFp.deleteScenario(organizationId, workspaceId, scenarioId, waitRelationshipPropagation, options).then(function (request) { return request(axios, basePath); });
|
|
3441
3822
|
},
|
|
3823
|
+
/**
|
|
3824
|
+
*
|
|
3825
|
+
* @summary Download Scenario data
|
|
3826
|
+
* @param {string} organizationId the Organization identifier
|
|
3827
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3828
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3829
|
+
* @param {*} [options] Override http request option.
|
|
3830
|
+
* @throws {RequiredError}
|
|
3831
|
+
*/
|
|
3832
|
+
downloadScenarioData: function (organizationId, workspaceId, scenarioId, options) {
|
|
3833
|
+
return localVarFp.downloadScenarioData(organizationId, workspaceId, scenarioId, options).then(function (request) { return request(axios, basePath); });
|
|
3834
|
+
},
|
|
3442
3835
|
/**
|
|
3443
3836
|
*
|
|
3444
3837
|
* @summary List all Scenarios
|
|
@@ -3450,6 +3843,18 @@ exports.ScenarioApiFactory = function (configuration, basePath, axios) {
|
|
|
3450
3843
|
findAllScenarios: function (organizationId, workspaceId, options) {
|
|
3451
3844
|
return localVarFp.findAllScenarios(organizationId, workspaceId, options).then(function (request) { return request(axios, basePath); });
|
|
3452
3845
|
},
|
|
3846
|
+
/**
|
|
3847
|
+
*
|
|
3848
|
+
* @summary List all Scenarios by validation status
|
|
3849
|
+
* @param {string} organizationId the Organization identifier
|
|
3850
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3851
|
+
* @param {ScenarioValidationStatus} validationStatus the Scenario Validation Status
|
|
3852
|
+
* @param {*} [options] Override http request option.
|
|
3853
|
+
* @throws {RequiredError}
|
|
3854
|
+
*/
|
|
3855
|
+
findAllScenariosByValidationStatus: function (organizationId, workspaceId, validationStatus, options) {
|
|
3856
|
+
return localVarFp.findAllScenariosByValidationStatus(organizationId, workspaceId, validationStatus, options).then(function (request) { return request(axios, basePath); });
|
|
3857
|
+
},
|
|
3453
3858
|
/**
|
|
3454
3859
|
*
|
|
3455
3860
|
* @summary Get the details of an scenario
|
|
@@ -3462,6 +3867,31 @@ exports.ScenarioApiFactory = function (configuration, basePath, axios) {
|
|
|
3462
3867
|
findScenarioById: function (organizationId, workspaceId, scenarioId, options) {
|
|
3463
3868
|
return localVarFp.findScenarioById(organizationId, workspaceId, scenarioId, options).then(function (request) { return request(axios, basePath); });
|
|
3464
3869
|
},
|
|
3870
|
+
/**
|
|
3871
|
+
*
|
|
3872
|
+
* @summary Get Scenario data download URL
|
|
3873
|
+
* @param {string} organizationId the Organization identifier
|
|
3874
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3875
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3876
|
+
* @param {string} downloadId the Scenario Download identifier
|
|
3877
|
+
* @param {*} [options] Override http request option.
|
|
3878
|
+
* @throws {RequiredError}
|
|
3879
|
+
*/
|
|
3880
|
+
getScenarioDataDownloadJobInfo: function (organizationId, workspaceId, scenarioId, downloadId, options) {
|
|
3881
|
+
return localVarFp.getScenarioDataDownloadJobInfo(organizationId, workspaceId, scenarioId, downloadId, options).then(function (request) { return request(axios, basePath); });
|
|
3882
|
+
},
|
|
3883
|
+
/**
|
|
3884
|
+
*
|
|
3885
|
+
* @summary Get the validation status of an scenario
|
|
3886
|
+
* @param {string} organizationId the Organization identifier
|
|
3887
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3888
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3889
|
+
* @param {*} [options] Override http request option.
|
|
3890
|
+
* @throws {RequiredError}
|
|
3891
|
+
*/
|
|
3892
|
+
getScenarioValidationStatusById: function (organizationId, workspaceId, scenarioId, options) {
|
|
3893
|
+
return localVarFp.getScenarioValidationStatusById(organizationId, workspaceId, scenarioId, options).then(function (request) { return request(axios, basePath); });
|
|
3894
|
+
},
|
|
3465
3895
|
/**
|
|
3466
3896
|
*
|
|
3467
3897
|
* @summary Get the Scenarios Tree
|
|
@@ -3623,6 +4053,20 @@ var ScenarioApi = /** @class */ (function (_super) {
|
|
|
3623
4053
|
var _this = this;
|
|
3624
4054
|
return exports.ScenarioApiFp(this.configuration).deleteScenario(organizationId, workspaceId, scenarioId, waitRelationshipPropagation, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3625
4055
|
};
|
|
4056
|
+
/**
|
|
4057
|
+
*
|
|
4058
|
+
* @summary Download Scenario data
|
|
4059
|
+
* @param {string} organizationId the Organization identifier
|
|
4060
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4061
|
+
* @param {string} scenarioId the Scenario identifier
|
|
4062
|
+
* @param {*} [options] Override http request option.
|
|
4063
|
+
* @throws {RequiredError}
|
|
4064
|
+
* @memberof ScenarioApi
|
|
4065
|
+
*/
|
|
4066
|
+
ScenarioApi.prototype.downloadScenarioData = function (organizationId, workspaceId, scenarioId, options) {
|
|
4067
|
+
var _this = this;
|
|
4068
|
+
return exports.ScenarioApiFp(this.configuration).downloadScenarioData(organizationId, workspaceId, scenarioId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4069
|
+
};
|
|
3626
4070
|
/**
|
|
3627
4071
|
*
|
|
3628
4072
|
* @summary List all Scenarios
|
|
@@ -3636,6 +4080,20 @@ var ScenarioApi = /** @class */ (function (_super) {
|
|
|
3636
4080
|
var _this = this;
|
|
3637
4081
|
return exports.ScenarioApiFp(this.configuration).findAllScenarios(organizationId, workspaceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3638
4082
|
};
|
|
4083
|
+
/**
|
|
4084
|
+
*
|
|
4085
|
+
* @summary List all Scenarios by validation status
|
|
4086
|
+
* @param {string} organizationId the Organization identifier
|
|
4087
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4088
|
+
* @param {ScenarioValidationStatus} validationStatus the Scenario Validation Status
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
* @memberof ScenarioApi
|
|
4092
|
+
*/
|
|
4093
|
+
ScenarioApi.prototype.findAllScenariosByValidationStatus = function (organizationId, workspaceId, validationStatus, options) {
|
|
4094
|
+
var _this = this;
|
|
4095
|
+
return exports.ScenarioApiFp(this.configuration).findAllScenariosByValidationStatus(organizationId, workspaceId, validationStatus, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4096
|
+
};
|
|
3639
4097
|
/**
|
|
3640
4098
|
*
|
|
3641
4099
|
* @summary Get the details of an scenario
|
|
@@ -3650,6 +4108,35 @@ var ScenarioApi = /** @class */ (function (_super) {
|
|
|
3650
4108
|
var _this = this;
|
|
3651
4109
|
return exports.ScenarioApiFp(this.configuration).findScenarioById(organizationId, workspaceId, scenarioId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3652
4110
|
};
|
|
4111
|
+
/**
|
|
4112
|
+
*
|
|
4113
|
+
* @summary Get Scenario data download URL
|
|
4114
|
+
* @param {string} organizationId the Organization identifier
|
|
4115
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4116
|
+
* @param {string} scenarioId the Scenario identifier
|
|
4117
|
+
* @param {string} downloadId the Scenario Download identifier
|
|
4118
|
+
* @param {*} [options] Override http request option.
|
|
4119
|
+
* @throws {RequiredError}
|
|
4120
|
+
* @memberof ScenarioApi
|
|
4121
|
+
*/
|
|
4122
|
+
ScenarioApi.prototype.getScenarioDataDownloadJobInfo = function (organizationId, workspaceId, scenarioId, downloadId, options) {
|
|
4123
|
+
var _this = this;
|
|
4124
|
+
return exports.ScenarioApiFp(this.configuration).getScenarioDataDownloadJobInfo(organizationId, workspaceId, scenarioId, downloadId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4125
|
+
};
|
|
4126
|
+
/**
|
|
4127
|
+
*
|
|
4128
|
+
* @summary Get the validation status of an scenario
|
|
4129
|
+
* @param {string} organizationId the Organization identifier
|
|
4130
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4131
|
+
* @param {string} scenarioId the Scenario identifier
|
|
4132
|
+
* @param {*} [options] Override http request option.
|
|
4133
|
+
* @throws {RequiredError}
|
|
4134
|
+
* @memberof ScenarioApi
|
|
4135
|
+
*/
|
|
4136
|
+
ScenarioApi.prototype.getScenarioValidationStatusById = function (organizationId, workspaceId, scenarioId, options) {
|
|
4137
|
+
var _this = this;
|
|
4138
|
+
return exports.ScenarioApiFp(this.configuration).getScenarioValidationStatusById(organizationId, workspaceId, scenarioId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4139
|
+
};
|
|
3653
4140
|
/**
|
|
3654
4141
|
*
|
|
3655
4142
|
* @summary Get the Scenarios Tree
|
|
@@ -3767,7 +4254,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
3767
4254
|
// authentication oAuth2AuthCode required
|
|
3768
4255
|
// oauth required
|
|
3769
4256
|
_a.sent();
|
|
3770
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4257
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3771
4258
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3772
4259
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3773
4260
|
return [2 /*return*/, {
|
|
@@ -3814,7 +4301,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
3814
4301
|
// authentication oAuth2AuthCode required
|
|
3815
4302
|
// oauth required
|
|
3816
4303
|
_a.sent();
|
|
3817
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4304
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3818
4305
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3819
4306
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3820
4307
|
return [2 /*return*/, {
|
|
@@ -3861,7 +4348,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
3861
4348
|
// authentication oAuth2AuthCode required
|
|
3862
4349
|
// oauth required
|
|
3863
4350
|
_a.sent();
|
|
3864
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4351
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3865
4352
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3866
4353
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3867
4354
|
return [2 /*return*/, {
|
|
@@ -3908,7 +4395,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
3908
4395
|
// authentication oAuth2AuthCode required
|
|
3909
4396
|
// oauth required
|
|
3910
4397
|
_a.sent();
|
|
3911
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4398
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3912
4399
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3913
4400
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3914
4401
|
return [2 /*return*/, {
|
|
@@ -3955,7 +4442,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
3955
4442
|
// authentication oAuth2AuthCode required
|
|
3956
4443
|
// oauth required
|
|
3957
4444
|
_a.sent();
|
|
3958
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4445
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3959
4446
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3960
4447
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3961
4448
|
return [2 /*return*/, {
|
|
@@ -4006,7 +4493,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4006
4493
|
// authentication oAuth2AuthCode required
|
|
4007
4494
|
// oauth required
|
|
4008
4495
|
_a.sent();
|
|
4009
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4496
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4010
4497
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4011
4498
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4012
4499
|
return [2 /*return*/, {
|
|
@@ -4053,7 +4540,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4053
4540
|
// authentication oAuth2AuthCode required
|
|
4054
4541
|
// oauth required
|
|
4055
4542
|
_a.sent();
|
|
4056
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4543
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4057
4544
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4058
4545
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4059
4546
|
return [2 /*return*/, {
|
|
@@ -4104,7 +4591,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4104
4591
|
// authentication oAuth2AuthCode required
|
|
4105
4592
|
// oauth required
|
|
4106
4593
|
_a.sent();
|
|
4107
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4594
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4108
4595
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4109
4596
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4110
4597
|
return [2 /*return*/, {
|
|
@@ -4151,7 +4638,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4151
4638
|
// oauth required
|
|
4152
4639
|
_a.sent();
|
|
4153
4640
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4154
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4641
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4155
4642
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4156
4643
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4157
4644
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioRunSearch, localVarRequestOptions, configuration);
|
|
@@ -4199,7 +4686,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4199
4686
|
// oauth required
|
|
4200
4687
|
_a.sent();
|
|
4201
4688
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4202
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4689
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4203
4690
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4204
4691
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4205
4692
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioRunStartContainers, localVarRequestOptions, configuration);
|
|
@@ -4211,6 +4698,53 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4211
4698
|
});
|
|
4212
4699
|
});
|
|
4213
4700
|
},
|
|
4701
|
+
/**
|
|
4702
|
+
*
|
|
4703
|
+
* @summary stop a ScenarioRun for the Scenario
|
|
4704
|
+
* @param {string} organizationId the Organization identifier
|
|
4705
|
+
* @param {string} scenariorunId the scenariorun identifier
|
|
4706
|
+
* @param {*} [options] Override http request option.
|
|
4707
|
+
* @throws {RequiredError}
|
|
4708
|
+
*/
|
|
4709
|
+
stopScenarioRun: function (organizationId, scenariorunId, options) {
|
|
4710
|
+
if (options === void 0) { options = {}; }
|
|
4711
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
4712
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4713
|
+
return __generator(this, function (_a) {
|
|
4714
|
+
switch (_a.label) {
|
|
4715
|
+
case 0:
|
|
4716
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4717
|
+
common_1.assertParamExists('stopScenarioRun', 'organizationId', organizationId);
|
|
4718
|
+
// verify required parameter 'scenariorunId' is not null or undefined
|
|
4719
|
+
common_1.assertParamExists('stopScenarioRun', 'scenariorunId', scenariorunId);
|
|
4720
|
+
localVarPath = "/organizations/{organization_id}/scenarioruns/{scenariorun_id}/stop"
|
|
4721
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
4722
|
+
.replace("{" + "scenariorun_id" + "}", encodeURIComponent(String(scenariorunId)));
|
|
4723
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4724
|
+
if (configuration) {
|
|
4725
|
+
baseOptions = configuration.baseOptions;
|
|
4726
|
+
}
|
|
4727
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
4728
|
+
localVarHeaderParameter = {};
|
|
4729
|
+
localVarQueryParameter = {};
|
|
4730
|
+
// authentication oAuth2AuthCode required
|
|
4731
|
+
// oauth required
|
|
4732
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
4733
|
+
case 1:
|
|
4734
|
+
// authentication oAuth2AuthCode required
|
|
4735
|
+
// oauth required
|
|
4736
|
+
_a.sent();
|
|
4737
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4738
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4739
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4740
|
+
return [2 /*return*/, {
|
|
4741
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
4742
|
+
options: localVarRequestOptions,
|
|
4743
|
+
}];
|
|
4744
|
+
}
|
|
4745
|
+
});
|
|
4746
|
+
});
|
|
4747
|
+
},
|
|
4214
4748
|
};
|
|
4215
4749
|
};
|
|
4216
4750
|
/**
|
|
@@ -4432,6 +4966,27 @@ exports.ScenariorunApiFp = function (configuration) {
|
|
|
4432
4966
|
});
|
|
4433
4967
|
});
|
|
4434
4968
|
},
|
|
4969
|
+
/**
|
|
4970
|
+
*
|
|
4971
|
+
* @summary stop a ScenarioRun for the Scenario
|
|
4972
|
+
* @param {string} organizationId the Organization identifier
|
|
4973
|
+
* @param {string} scenariorunId the scenariorun identifier
|
|
4974
|
+
* @param {*} [options] Override http request option.
|
|
4975
|
+
* @throws {RequiredError}
|
|
4976
|
+
*/
|
|
4977
|
+
stopScenarioRun: function (organizationId, scenariorunId, options) {
|
|
4978
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4979
|
+
var localVarAxiosArgs;
|
|
4980
|
+
return __generator(this, function (_a) {
|
|
4981
|
+
switch (_a.label) {
|
|
4982
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.stopScenarioRun(organizationId, scenariorunId, options)];
|
|
4983
|
+
case 1:
|
|
4984
|
+
localVarAxiosArgs = _a.sent();
|
|
4985
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4986
|
+
}
|
|
4987
|
+
});
|
|
4988
|
+
});
|
|
4989
|
+
},
|
|
4435
4990
|
};
|
|
4436
4991
|
};
|
|
4437
4992
|
/**
|
|
@@ -4553,6 +5108,17 @@ exports.ScenariorunApiFactory = function (configuration, basePath, axios) {
|
|
|
4553
5108
|
startScenarioRunContainers: function (organizationId, scenarioRunStartContainers, options) {
|
|
4554
5109
|
return localVarFp.startScenarioRunContainers(organizationId, scenarioRunStartContainers, options).then(function (request) { return request(axios, basePath); });
|
|
4555
5110
|
},
|
|
5111
|
+
/**
|
|
5112
|
+
*
|
|
5113
|
+
* @summary stop a ScenarioRun for the Scenario
|
|
5114
|
+
* @param {string} organizationId the Organization identifier
|
|
5115
|
+
* @param {string} scenariorunId the scenariorun identifier
|
|
5116
|
+
* @param {*} [options] Override http request option.
|
|
5117
|
+
* @throws {RequiredError}
|
|
5118
|
+
*/
|
|
5119
|
+
stopScenarioRun: function (organizationId, scenariorunId, options) {
|
|
5120
|
+
return localVarFp.stopScenarioRun(organizationId, scenariorunId, options).then(function (request) { return request(axios, basePath); });
|
|
5121
|
+
},
|
|
4556
5122
|
};
|
|
4557
5123
|
};
|
|
4558
5124
|
/**
|
|
@@ -4698,6 +5264,19 @@ var ScenariorunApi = /** @class */ (function (_super) {
|
|
|
4698
5264
|
var _this = this;
|
|
4699
5265
|
return exports.ScenariorunApiFp(this.configuration).startScenarioRunContainers(organizationId, scenarioRunStartContainers, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4700
5266
|
};
|
|
5267
|
+
/**
|
|
5268
|
+
*
|
|
5269
|
+
* @summary stop a ScenarioRun for the Scenario
|
|
5270
|
+
* @param {string} organizationId the Organization identifier
|
|
5271
|
+
* @param {string} scenariorunId the scenariorun identifier
|
|
5272
|
+
* @param {*} [options] Override http request option.
|
|
5273
|
+
* @throws {RequiredError}
|
|
5274
|
+
* @memberof ScenariorunApi
|
|
5275
|
+
*/
|
|
5276
|
+
ScenariorunApi.prototype.stopScenarioRun = function (organizationId, scenariorunId, options) {
|
|
5277
|
+
var _this = this;
|
|
5278
|
+
return exports.ScenariorunApiFp(this.configuration).stopScenarioRun(organizationId, scenariorunId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5279
|
+
};
|
|
4701
5280
|
return ScenariorunApi;
|
|
4702
5281
|
}(base_1.BaseAPI));
|
|
4703
5282
|
exports.ScenariorunApi = ScenariorunApi;
|
|
@@ -4748,7 +5327,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
4748
5327
|
// oauth required
|
|
4749
5328
|
_a.sent();
|
|
4750
5329
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4751
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5330
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4752
5331
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4753
5332
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4754
5333
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplateParameterGroup, localVarRequestOptions, configuration);
|
|
@@ -4800,7 +5379,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
4800
5379
|
// oauth required
|
|
4801
5380
|
_a.sent();
|
|
4802
5381
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4803
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5382
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4804
5383
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4805
5384
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4806
5385
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplateParameter, localVarRequestOptions, configuration);
|
|
@@ -4852,7 +5431,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
4852
5431
|
// oauth required
|
|
4853
5432
|
_a.sent();
|
|
4854
5433
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4855
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5434
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4856
5435
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4857
5436
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4858
5437
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplate, localVarRequestOptions, configuration);
|
|
@@ -4900,7 +5479,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
4900
5479
|
// oauth required
|
|
4901
5480
|
_a.sent();
|
|
4902
5481
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4903
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5482
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4904
5483
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4905
5484
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4906
5485
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(solution, localVarRequestOptions, configuration);
|
|
@@ -4948,7 +5527,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
4948
5527
|
// authentication oAuth2AuthCode required
|
|
4949
5528
|
// oauth required
|
|
4950
5529
|
_a.sent();
|
|
4951
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5530
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4952
5531
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4953
5532
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4954
5533
|
return [2 /*return*/, {
|
|
@@ -4999,7 +5578,62 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
4999
5578
|
// authentication oAuth2AuthCode required
|
|
5000
5579
|
// oauth required
|
|
5001
5580
|
_a.sent();
|
|
5002
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5581
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5582
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5583
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5584
|
+
return [2 /*return*/, {
|
|
5585
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
5586
|
+
options: localVarRequestOptions,
|
|
5587
|
+
}];
|
|
5588
|
+
}
|
|
5589
|
+
});
|
|
5590
|
+
});
|
|
5591
|
+
},
|
|
5592
|
+
/**
|
|
5593
|
+
*
|
|
5594
|
+
* @summary Download a Run Template step handler zip file
|
|
5595
|
+
* @param {string} organizationId the Organization identifier
|
|
5596
|
+
* @param {string} solutionId the Solution identifier
|
|
5597
|
+
* @param {string} runTemplateId the Run Template identifier
|
|
5598
|
+
* @param {RunTemplateHandlerId} handlerId the Handler identifier
|
|
5599
|
+
* @param {*} [options] Override http request option.
|
|
5600
|
+
* @throws {RequiredError}
|
|
5601
|
+
*/
|
|
5602
|
+
downloadRunTemplateHandler: function (organizationId, solutionId, runTemplateId, handlerId, options) {
|
|
5603
|
+
if (options === void 0) { options = {}; }
|
|
5604
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
5605
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5606
|
+
return __generator(this, function (_a) {
|
|
5607
|
+
switch (_a.label) {
|
|
5608
|
+
case 0:
|
|
5609
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
5610
|
+
common_1.assertParamExists('downloadRunTemplateHandler', 'organizationId', organizationId);
|
|
5611
|
+
// verify required parameter 'solutionId' is not null or undefined
|
|
5612
|
+
common_1.assertParamExists('downloadRunTemplateHandler', 'solutionId', solutionId);
|
|
5613
|
+
// verify required parameter 'runTemplateId' is not null or undefined
|
|
5614
|
+
common_1.assertParamExists('downloadRunTemplateHandler', 'runTemplateId', runTemplateId);
|
|
5615
|
+
// verify required parameter 'handlerId' is not null or undefined
|
|
5616
|
+
common_1.assertParamExists('downloadRunTemplateHandler', 'handlerId', handlerId);
|
|
5617
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/download"
|
|
5618
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
5619
|
+
.replace("{" + "solution_id" + "}", encodeURIComponent(String(solutionId)))
|
|
5620
|
+
.replace("{" + "run_template_id" + "}", encodeURIComponent(String(runTemplateId)))
|
|
5621
|
+
.replace("{" + "handler_id" + "}", encodeURIComponent(String(handlerId)));
|
|
5622
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5623
|
+
if (configuration) {
|
|
5624
|
+
baseOptions = configuration.baseOptions;
|
|
5625
|
+
}
|
|
5626
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5627
|
+
localVarHeaderParameter = {};
|
|
5628
|
+
localVarQueryParameter = {};
|
|
5629
|
+
// authentication oAuth2AuthCode required
|
|
5630
|
+
// oauth required
|
|
5631
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
5632
|
+
case 1:
|
|
5633
|
+
// authentication oAuth2AuthCode required
|
|
5634
|
+
// oauth required
|
|
5635
|
+
_a.sent();
|
|
5636
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5003
5637
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5004
5638
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5005
5639
|
return [2 /*return*/, {
|
|
@@ -5042,7 +5676,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5042
5676
|
// authentication oAuth2AuthCode required
|
|
5043
5677
|
// oauth required
|
|
5044
5678
|
_a.sent();
|
|
5045
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5679
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5046
5680
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5047
5681
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5048
5682
|
return [2 /*return*/, {
|
|
@@ -5089,7 +5723,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5089
5723
|
// authentication oAuth2AuthCode required
|
|
5090
5724
|
// oauth required
|
|
5091
5725
|
_a.sent();
|
|
5092
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5726
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5093
5727
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5094
5728
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5095
5729
|
return [2 /*return*/, {
|
|
@@ -5136,7 +5770,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5136
5770
|
// authentication oAuth2AuthCode required
|
|
5137
5771
|
// oauth required
|
|
5138
5772
|
_a.sent();
|
|
5139
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5773
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5140
5774
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5141
5775
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5142
5776
|
return [2 /*return*/, {
|
|
@@ -5183,7 +5817,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5183
5817
|
// authentication oAuth2AuthCode required
|
|
5184
5818
|
// oauth required
|
|
5185
5819
|
_a.sent();
|
|
5186
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5820
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5187
5821
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5188
5822
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5189
5823
|
return [2 /*return*/, {
|
|
@@ -5230,7 +5864,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5230
5864
|
// authentication oAuth2AuthCode required
|
|
5231
5865
|
// oauth required
|
|
5232
5866
|
_a.sent();
|
|
5233
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5867
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5234
5868
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5235
5869
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5236
5870
|
return [2 /*return*/, {
|
|
@@ -5281,7 +5915,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5281
5915
|
// oauth required
|
|
5282
5916
|
_a.sent();
|
|
5283
5917
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5284
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5918
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5285
5919
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5286
5920
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5287
5921
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(solution, localVarRequestOptions, configuration);
|
|
@@ -5337,7 +5971,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5337
5971
|
// oauth required
|
|
5338
5972
|
_a.sent();
|
|
5339
5973
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5340
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5974
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5341
5975
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5342
5976
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5343
5977
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplate, localVarRequestOptions, configuration);
|
|
@@ -5401,7 +6035,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5401
6035
|
localVarQueryParameter['overwrite'] = overwrite;
|
|
5402
6036
|
}
|
|
5403
6037
|
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
|
|
5404
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6038
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5405
6039
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5406
6040
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5407
6041
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -5552,6 +6186,29 @@ exports.SolutionApiFp = function (configuration) {
|
|
|
5552
6186
|
});
|
|
5553
6187
|
});
|
|
5554
6188
|
},
|
|
6189
|
+
/**
|
|
6190
|
+
*
|
|
6191
|
+
* @summary Download a Run Template step handler zip file
|
|
6192
|
+
* @param {string} organizationId the Organization identifier
|
|
6193
|
+
* @param {string} solutionId the Solution identifier
|
|
6194
|
+
* @param {string} runTemplateId the Run Template identifier
|
|
6195
|
+
* @param {RunTemplateHandlerId} handlerId the Handler identifier
|
|
6196
|
+
* @param {*} [options] Override http request option.
|
|
6197
|
+
* @throws {RequiredError}
|
|
6198
|
+
*/
|
|
6199
|
+
downloadRunTemplateHandler: function (organizationId, solutionId, runTemplateId, handlerId, options) {
|
|
6200
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6201
|
+
var localVarAxiosArgs;
|
|
6202
|
+
return __generator(this, function (_a) {
|
|
6203
|
+
switch (_a.label) {
|
|
6204
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.downloadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, options)];
|
|
6205
|
+
case 1:
|
|
6206
|
+
localVarAxiosArgs = _a.sent();
|
|
6207
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6208
|
+
}
|
|
6209
|
+
});
|
|
6210
|
+
});
|
|
6211
|
+
},
|
|
5555
6212
|
/**
|
|
5556
6213
|
*
|
|
5557
6214
|
* @summary List all Solutions
|
|
@@ -5805,6 +6462,19 @@ exports.SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
5805
6462
|
deleteSolutionRunTemplate: function (organizationId, solutionId, runTemplateId, options) {
|
|
5806
6463
|
return localVarFp.deleteSolutionRunTemplate(organizationId, solutionId, runTemplateId, options).then(function (request) { return request(axios, basePath); });
|
|
5807
6464
|
},
|
|
6465
|
+
/**
|
|
6466
|
+
*
|
|
6467
|
+
* @summary Download a Run Template step handler zip file
|
|
6468
|
+
* @param {string} organizationId the Organization identifier
|
|
6469
|
+
* @param {string} solutionId the Solution identifier
|
|
6470
|
+
* @param {string} runTemplateId the Run Template identifier
|
|
6471
|
+
* @param {RunTemplateHandlerId} handlerId the Handler identifier
|
|
6472
|
+
* @param {*} [options] Override http request option.
|
|
6473
|
+
* @throws {RequiredError}
|
|
6474
|
+
*/
|
|
6475
|
+
downloadRunTemplateHandler: function (organizationId, solutionId, runTemplateId, handlerId, options) {
|
|
6476
|
+
return localVarFp.downloadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, options).then(function (request) { return request(axios, basePath); });
|
|
6477
|
+
},
|
|
5808
6478
|
/**
|
|
5809
6479
|
*
|
|
5810
6480
|
* @summary List all Solutions
|
|
@@ -5994,6 +6664,21 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
5994
6664
|
var _this = this;
|
|
5995
6665
|
return exports.SolutionApiFp(this.configuration).deleteSolutionRunTemplate(organizationId, solutionId, runTemplateId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5996
6666
|
};
|
|
6667
|
+
/**
|
|
6668
|
+
*
|
|
6669
|
+
* @summary Download a Run Template step handler zip file
|
|
6670
|
+
* @param {string} organizationId the Organization identifier
|
|
6671
|
+
* @param {string} solutionId the Solution identifier
|
|
6672
|
+
* @param {string} runTemplateId the Run Template identifier
|
|
6673
|
+
* @param {RunTemplateHandlerId} handlerId the Handler identifier
|
|
6674
|
+
* @param {*} [options] Override http request option.
|
|
6675
|
+
* @throws {RequiredError}
|
|
6676
|
+
* @memberof SolutionApi
|
|
6677
|
+
*/
|
|
6678
|
+
SolutionApi.prototype.downloadRunTemplateHandler = function (organizationId, solutionId, runTemplateId, handlerId, options) {
|
|
6679
|
+
var _this = this;
|
|
6680
|
+
return exports.SolutionApiFp(this.configuration).downloadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6681
|
+
};
|
|
5997
6682
|
/**
|
|
5998
6683
|
*
|
|
5999
6684
|
* @summary List all Solutions
|
|
@@ -6142,7 +6827,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6142
6827
|
// authentication oAuth2AuthCode required
|
|
6143
6828
|
// oauth required
|
|
6144
6829
|
_a.sent();
|
|
6145
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6830
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6146
6831
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6147
6832
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6148
6833
|
return [2 /*return*/, {
|
|
@@ -6181,7 +6866,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6181
6866
|
// authentication oAuth2AuthCode required
|
|
6182
6867
|
// oauth required
|
|
6183
6868
|
_a.sent();
|
|
6184
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6869
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6185
6870
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6186
6871
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6187
6872
|
return [2 /*return*/, {
|
|
@@ -6224,7 +6909,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6224
6909
|
// authentication oAuth2AuthCode required
|
|
6225
6910
|
// oauth required
|
|
6226
6911
|
_a.sent();
|
|
6227
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6912
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6228
6913
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6229
6914
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6230
6915
|
return [2 /*return*/, {
|
|
@@ -6263,7 +6948,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6263
6948
|
// authentication oAuth2AuthCode required
|
|
6264
6949
|
// oauth required
|
|
6265
6950
|
_a.sent();
|
|
6266
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6951
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6267
6952
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6268
6953
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6269
6954
|
return [2 /*return*/, {
|
|
@@ -6306,7 +6991,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6306
6991
|
// authentication oAuth2AuthCode required
|
|
6307
6992
|
// oauth required
|
|
6308
6993
|
_a.sent();
|
|
6309
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6994
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6310
6995
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6311
6996
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6312
6997
|
return [2 /*return*/, {
|
|
@@ -6353,7 +7038,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6353
7038
|
// authentication oAuth2AuthCode required
|
|
6354
7039
|
// oauth required
|
|
6355
7040
|
_a.sent();
|
|
6356
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7041
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6357
7042
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6358
7043
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6359
7044
|
return [2 /*return*/, {
|
|
@@ -6396,7 +7081,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6396
7081
|
// oauth required
|
|
6397
7082
|
_a.sent();
|
|
6398
7083
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6399
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7084
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6400
7085
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6401
7086
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6402
7087
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(user, localVarRequestOptions, configuration);
|
|
@@ -6436,7 +7121,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6436
7121
|
// authentication oAuth2AuthCode required
|
|
6437
7122
|
// oauth required
|
|
6438
7123
|
_a.sent();
|
|
6439
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7124
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6440
7125
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6441
7126
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6442
7127
|
return [2 /*return*/, {
|
|
@@ -6479,7 +7164,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6479
7164
|
// authentication oAuth2AuthCode required
|
|
6480
7165
|
// oauth required
|
|
6481
7166
|
_a.sent();
|
|
6482
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7167
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6483
7168
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6484
7169
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6485
7170
|
return [2 /*return*/, {
|
|
@@ -6526,7 +7211,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6526
7211
|
// oauth required
|
|
6527
7212
|
_a.sent();
|
|
6528
7213
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6529
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7214
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6530
7215
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6531
7216
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6532
7217
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(user, localVarRequestOptions, configuration);
|
|
@@ -7029,7 +7714,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7029
7714
|
// oauth required
|
|
7030
7715
|
_a.sent();
|
|
7031
7716
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7032
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7717
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7033
7718
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7034
7719
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7035
7720
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(validator, localVarRequestOptions, configuration);
|
|
@@ -7081,7 +7766,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7081
7766
|
// oauth required
|
|
7082
7767
|
_a.sent();
|
|
7083
7768
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7084
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7769
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7085
7770
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7086
7771
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7087
7772
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(validatorRun, localVarRequestOptions, configuration);
|
|
@@ -7129,7 +7814,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7129
7814
|
// authentication oAuth2AuthCode required
|
|
7130
7815
|
// oauth required
|
|
7131
7816
|
_a.sent();
|
|
7132
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7817
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7133
7818
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7134
7819
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7135
7820
|
return [2 /*return*/, {
|
|
@@ -7180,7 +7865,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7180
7865
|
// authentication oAuth2AuthCode required
|
|
7181
7866
|
// oauth required
|
|
7182
7867
|
_a.sent();
|
|
7183
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7868
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7184
7869
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7185
7870
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7186
7871
|
return [2 /*return*/, {
|
|
@@ -7227,7 +7912,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7227
7912
|
// authentication oAuth2AuthCode required
|
|
7228
7913
|
// oauth required
|
|
7229
7914
|
_a.sent();
|
|
7230
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7915
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7231
7916
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7232
7917
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7233
7918
|
return [2 /*return*/, {
|
|
@@ -7270,7 +7955,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7270
7955
|
// authentication oAuth2AuthCode required
|
|
7271
7956
|
// oauth required
|
|
7272
7957
|
_a.sent();
|
|
7273
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7958
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7274
7959
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7275
7960
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7276
7961
|
return [2 /*return*/, {
|
|
@@ -7317,7 +8002,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7317
8002
|
// authentication oAuth2AuthCode required
|
|
7318
8003
|
// oauth required
|
|
7319
8004
|
_a.sent();
|
|
7320
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8005
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7321
8006
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7322
8007
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7323
8008
|
return [2 /*return*/, {
|
|
@@ -7368,7 +8053,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7368
8053
|
// authentication oAuth2AuthCode required
|
|
7369
8054
|
// oauth required
|
|
7370
8055
|
_a.sent();
|
|
7371
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8056
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7372
8057
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7373
8058
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7374
8059
|
return [2 /*return*/, {
|
|
@@ -7419,7 +8104,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7419
8104
|
// oauth required
|
|
7420
8105
|
_a.sent();
|
|
7421
8106
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7422
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8107
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7423
8108
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7424
8109
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7425
8110
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(validatorRun, localVarRequestOptions, configuration);
|
|
@@ -7926,7 +8611,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
7926
8611
|
// oauth required
|
|
7927
8612
|
_a.sent();
|
|
7928
8613
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7929
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8614
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7930
8615
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7931
8616
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7932
8617
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(workspaceUser, localVarRequestOptions, configuration);
|
|
@@ -7974,7 +8659,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
7974
8659
|
// oauth required
|
|
7975
8660
|
_a.sent();
|
|
7976
8661
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7977
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8662
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7978
8663
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7979
8664
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7980
8665
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(workspace, localVarRequestOptions, configuration);
|
|
@@ -8022,7 +8707,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8022
8707
|
// authentication oAuth2AuthCode required
|
|
8023
8708
|
// oauth required
|
|
8024
8709
|
_a.sent();
|
|
8025
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8710
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8026
8711
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8027
8712
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8028
8713
|
return [2 /*return*/, {
|
|
@@ -8069,7 +8754,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8069
8754
|
// authentication oAuth2AuthCode required
|
|
8070
8755
|
// oauth required
|
|
8071
8756
|
_a.sent();
|
|
8072
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8757
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8073
8758
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8074
8759
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8075
8760
|
return [2 /*return*/, {
|
|
@@ -8122,7 +8807,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8122
8807
|
if (fileName !== undefined) {
|
|
8123
8808
|
localVarQueryParameter['file_name'] = fileName;
|
|
8124
8809
|
}
|
|
8125
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8810
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8126
8811
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8127
8812
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8128
8813
|
return [2 /*return*/, {
|
|
@@ -8175,7 +8860,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8175
8860
|
if (fileName !== undefined) {
|
|
8176
8861
|
localVarQueryParameter['file_name'] = fileName;
|
|
8177
8862
|
}
|
|
8178
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8863
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8179
8864
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8180
8865
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8181
8866
|
return [2 /*return*/, {
|
|
@@ -8222,7 +8907,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8222
8907
|
// authentication oAuth2AuthCode required
|
|
8223
8908
|
// oauth required
|
|
8224
8909
|
_a.sent();
|
|
8225
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8910
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8226
8911
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8227
8912
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8228
8913
|
return [2 /*return*/, {
|
|
@@ -8265,7 +8950,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8265
8950
|
// authentication oAuth2AuthCode required
|
|
8266
8951
|
// oauth required
|
|
8267
8952
|
_a.sent();
|
|
8268
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8953
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8269
8954
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8270
8955
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8271
8956
|
return [2 /*return*/, {
|
|
@@ -8312,7 +8997,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8312
8997
|
// authentication oAuth2AuthCode required
|
|
8313
8998
|
// oauth required
|
|
8314
8999
|
_a.sent();
|
|
8315
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9000
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8316
9001
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8317
9002
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8318
9003
|
return [2 /*return*/, {
|
|
@@ -8359,7 +9044,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8359
9044
|
// authentication oAuth2AuthCode required
|
|
8360
9045
|
// oauth required
|
|
8361
9046
|
_a.sent();
|
|
8362
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9047
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8363
9048
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8364
9049
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8365
9050
|
return [2 /*return*/, {
|
|
@@ -8410,7 +9095,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8410
9095
|
// authentication oAuth2AuthCode required
|
|
8411
9096
|
// oauth required
|
|
8412
9097
|
_a.sent();
|
|
8413
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9098
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8414
9099
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8415
9100
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8416
9101
|
return [2 /*return*/, {
|
|
@@ -8461,7 +9146,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8461
9146
|
// oauth required
|
|
8462
9147
|
_a.sent();
|
|
8463
9148
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8464
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9149
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8465
9150
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8466
9151
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8467
9152
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(workspace, localVarRequestOptions, configuration);
|
|
@@ -8525,7 +9210,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8525
9210
|
localVarFormParams.append('file', file);
|
|
8526
9211
|
}
|
|
8527
9212
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
8528
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9213
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8529
9214
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8530
9215
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8531
9216
|
localVarRequestOptions.data = localVarFormParams;
|