@cosmotech/api-ts 0.1.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 +3 -3
- package/LICENSE +12 -4
- package/README.md +2 -2
- package/api.ts +1272 -741
- package/base.ts +3 -3
- package/common.ts +5 -5
- package/configuration.ts +1 -1
- package/dist/api.d.ts +938 -647
- package/dist/api.js +671 -193
- 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,126 +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.ScenarioJobState = exports.RunTemplateStepSource = exports.RunTemplateHandlerId = exports.OrganizationUserRolesEnum = exports.ConnectorIoTypesEnum = void 0;
|
|
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
|
-
|
|
116
|
-
})(RunTemplateHandlerId = exports.RunTemplateHandlerId || (exports.RunTemplateHandlerId = {}));
|
|
98
|
+
exports.RunTemplateHandlerId = {
|
|
99
|
+
ParametersHandler: 'parameters_handler',
|
|
100
|
+
Validator: 'validator',
|
|
101
|
+
Prerun: 'prerun',
|
|
102
|
+
Engine: 'engine',
|
|
103
|
+
Postrun: 'postrun',
|
|
104
|
+
ScenariodataTransform: 'scenariodata_transform'
|
|
105
|
+
};
|
|
117
106
|
/**
|
|
118
|
-
* the source local or
|
|
107
|
+
* the source local, cloud or git repository
|
|
119
108
|
* @export
|
|
120
109
|
* @enum {string}
|
|
121
110
|
*/
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
111
|
+
exports.RunTemplateStepSource = {
|
|
112
|
+
Cloud: 'cloud',
|
|
113
|
+
Git: 'git',
|
|
114
|
+
Local: 'local',
|
|
115
|
+
Platform: 'platform'
|
|
116
|
+
};
|
|
127
117
|
/**
|
|
128
118
|
* the Scenario job state
|
|
129
119
|
* @export
|
|
130
120
|
* @enum {string}
|
|
131
121
|
*/
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
ScenarioRunSearchStateEnum["Running"] = "Running";
|
|
153
|
-
ScenarioRunSearchStateEnum["PostRun"] = "PostRun";
|
|
154
|
-
ScenarioRunSearchStateEnum["Success"] = "Success";
|
|
155
|
-
ScenarioRunSearchStateEnum["Failed"] = "Failed";
|
|
156
|
-
})(ScenarioRunSearchStateEnum = exports.ScenarioRunSearchStateEnum || (exports.ScenarioRunSearchStateEnum = {}));
|
|
157
|
-
/**
|
|
158
|
-
* @export
|
|
159
|
-
* @enum {string}
|
|
160
|
-
*/
|
|
161
|
-
var ScenarioUserRolesEnum;
|
|
162
|
-
(function (ScenarioUserRolesEnum) {
|
|
163
|
-
ScenarioUserRolesEnum["Viewer"] = "Viewer";
|
|
164
|
-
ScenarioUserRolesEnum["Editor"] = "Editor";
|
|
165
|
-
})(ScenarioUserRolesEnum = exports.ScenarioUserRolesEnum || (exports.ScenarioUserRolesEnum = {}));
|
|
166
|
-
/**
|
|
167
|
-
* @export
|
|
168
|
-
* @enum {string}
|
|
169
|
-
*/
|
|
170
|
-
var UserPlatformRolesEnum;
|
|
171
|
-
(function (UserPlatformRolesEnum) {
|
|
172
|
-
UserPlatformRolesEnum["Admin"] = "Admin";
|
|
173
|
-
UserPlatformRolesEnum["User"] = "User";
|
|
174
|
-
UserPlatformRolesEnum["ConnectorDeveloper"] = "ConnectorDeveloper";
|
|
175
|
-
})(UserPlatformRolesEnum = exports.UserPlatformRolesEnum || (exports.UserPlatformRolesEnum = {}));
|
|
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
|
+
};
|
|
176
142
|
/**
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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
|
+
};
|
|
186
159
|
/**
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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
|
+
};
|
|
196
185
|
/**
|
|
197
186
|
* ConnectorApi - axios parameter creator
|
|
198
187
|
* @export
|
|
@@ -228,7 +217,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
228
217
|
// authentication oAuth2AuthCode required
|
|
229
218
|
// oauth required
|
|
230
219
|
_a.sent();
|
|
231
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
220
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
232
221
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
233
222
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
234
223
|
return [2 /*return*/, {
|
|
@@ -271,7 +260,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
271
260
|
// authentication oAuth2AuthCode required
|
|
272
261
|
// oauth required
|
|
273
262
|
_a.sent();
|
|
274
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
263
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
275
264
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
265
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
277
266
|
return [2 /*return*/, {
|
|
@@ -314,7 +303,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
314
303
|
// oauth required
|
|
315
304
|
_a.sent();
|
|
316
305
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
317
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
306
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
318
307
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
319
308
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
320
309
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(connector, localVarRequestOptions, configuration);
|
|
@@ -358,7 +347,7 @@ exports.ConnectorApiAxiosParamCreator = function (configuration) {
|
|
|
358
347
|
// authentication oAuth2AuthCode required
|
|
359
348
|
// oauth required
|
|
360
349
|
_a.sent();
|
|
361
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
350
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
362
351
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
363
352
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
364
353
|
return [2 /*return*/, {
|
|
@@ -615,7 +604,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
615
604
|
// oauth required
|
|
616
605
|
_a.sent();
|
|
617
606
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
618
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
607
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
619
608
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
620
609
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
621
610
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(datasetCompatibility, localVarRequestOptions, configuration);
|
|
@@ -663,7 +652,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
663
652
|
// oauth required
|
|
664
653
|
_a.sent();
|
|
665
654
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
666
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
655
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
667
656
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
668
657
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
669
658
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(datasetCopyParameters, localVarRequestOptions, configuration);
|
|
@@ -711,7 +700,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
711
700
|
// oauth required
|
|
712
701
|
_a.sent();
|
|
713
702
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
714
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
703
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
715
704
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
716
705
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
717
706
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(dataset, localVarRequestOptions, configuration);
|
|
@@ -759,7 +748,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
759
748
|
// authentication oAuth2AuthCode required
|
|
760
749
|
// oauth required
|
|
761
750
|
_a.sent();
|
|
762
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
751
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
763
752
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
764
753
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
765
754
|
return [2 /*return*/, {
|
|
@@ -802,7 +791,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
802
791
|
// authentication oAuth2AuthCode required
|
|
803
792
|
// oauth required
|
|
804
793
|
_a.sent();
|
|
805
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
794
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
806
795
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
796
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
808
797
|
return [2 /*return*/, {
|
|
@@ -849,7 +838,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
849
838
|
// authentication oAuth2AuthCode required
|
|
850
839
|
// oauth required
|
|
851
840
|
_a.sent();
|
|
852
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
841
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
853
842
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
854
843
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
855
844
|
return [2 /*return*/, {
|
|
@@ -896,7 +885,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
896
885
|
// authentication oAuth2AuthCode required
|
|
897
886
|
// oauth required
|
|
898
887
|
_a.sent();
|
|
899
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
888
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
900
889
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
901
890
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
902
891
|
return [2 /*return*/, {
|
|
@@ -907,6 +896,54 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
907
896
|
});
|
|
908
897
|
});
|
|
909
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);
|
|
936
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
937
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
938
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(datasetSearch, localVarRequestOptions, configuration);
|
|
939
|
+
return [2 /*return*/, {
|
|
940
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
941
|
+
options: localVarRequestOptions,
|
|
942
|
+
}];
|
|
943
|
+
}
|
|
944
|
+
});
|
|
945
|
+
});
|
|
946
|
+
},
|
|
910
947
|
/**
|
|
911
948
|
*
|
|
912
949
|
* @summary Update a dataset
|
|
@@ -947,7 +984,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
947
984
|
// oauth required
|
|
948
985
|
_a.sent();
|
|
949
986
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
950
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
987
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
951
988
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
952
989
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
953
990
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(dataset, localVarRequestOptions, configuration);
|
|
@@ -1115,6 +1152,27 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
1115
1152
|
});
|
|
1116
1153
|
});
|
|
1117
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
|
+
},
|
|
1118
1176
|
/**
|
|
1119
1177
|
*
|
|
1120
1178
|
* @summary Update a dataset
|
|
@@ -1223,6 +1281,17 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
1223
1281
|
removeAllDatasetCompatibilityElements: function (organizationId, datasetId, options) {
|
|
1224
1282
|
return localVarFp.removeAllDatasetCompatibilityElements(organizationId, datasetId, options).then(function (request) { return request(axios, basePath); });
|
|
1225
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
|
+
},
|
|
1226
1295
|
/**
|
|
1227
1296
|
*
|
|
1228
1297
|
* @summary Update a dataset
|
|
@@ -1339,6 +1408,19 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
1339
1408
|
var _this = this;
|
|
1340
1409
|
return exports.DatasetApiFp(this.configuration).removeAllDatasetCompatibilityElements(organizationId, datasetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1341
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
|
+
};
|
|
1342
1424
|
/**
|
|
1343
1425
|
*
|
|
1344
1426
|
* @summary Update a dataset
|
|
@@ -1399,7 +1481,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1399
1481
|
// oauth required
|
|
1400
1482
|
_a.sent();
|
|
1401
1483
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1402
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1484
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1403
1485
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1404
1486
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1405
1487
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organizationUser, localVarRequestOptions, configuration);
|
|
@@ -1439,7 +1521,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1439
1521
|
// authentication oAuth2AuthCode required
|
|
1440
1522
|
// oauth required
|
|
1441
1523
|
_a.sent();
|
|
1442
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1524
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1443
1525
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1444
1526
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1445
1527
|
return [2 /*return*/, {
|
|
@@ -1482,7 +1564,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1482
1564
|
// authentication oAuth2AuthCode required
|
|
1483
1565
|
// oauth required
|
|
1484
1566
|
_a.sent();
|
|
1485
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1567
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1486
1568
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1487
1569
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1488
1570
|
return [2 /*return*/, {
|
|
@@ -1525,7 +1607,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1525
1607
|
// oauth required
|
|
1526
1608
|
_a.sent();
|
|
1527
1609
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1528
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1610
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1529
1611
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1530
1612
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1531
1613
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organization, localVarRequestOptions, configuration);
|
|
@@ -1569,7 +1651,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1569
1651
|
// authentication oAuth2AuthCode required
|
|
1570
1652
|
// oauth required
|
|
1571
1653
|
_a.sent();
|
|
1572
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1654
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1573
1655
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1574
1656
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1575
1657
|
return [2 /*return*/, {
|
|
@@ -1616,7 +1698,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1616
1698
|
// authentication oAuth2AuthCode required
|
|
1617
1699
|
// oauth required
|
|
1618
1700
|
_a.sent();
|
|
1619
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1701
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1620
1702
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1621
1703
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1622
1704
|
return [2 /*return*/, {
|
|
@@ -1659,7 +1741,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1659
1741
|
// authentication oAuth2AuthCode required
|
|
1660
1742
|
// oauth required
|
|
1661
1743
|
_a.sent();
|
|
1662
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1744
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1663
1745
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1664
1746
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1665
1747
|
return [2 /*return*/, {
|
|
@@ -1706,7 +1788,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1706
1788
|
// oauth required
|
|
1707
1789
|
_a.sent();
|
|
1708
1790
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1709
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1791
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1710
1792
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1711
1793
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1712
1794
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organization, localVarRequestOptions, configuration);
|
|
@@ -1754,7 +1836,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1754
1836
|
// oauth required
|
|
1755
1837
|
_a.sent();
|
|
1756
1838
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1757
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1839
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1758
1840
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1759
1841
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1760
1842
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organizationService, localVarRequestOptions, configuration);
|
|
@@ -1802,7 +1884,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1802
1884
|
// oauth required
|
|
1803
1885
|
_a.sent();
|
|
1804
1886
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1805
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1887
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1806
1888
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1807
1889
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1808
1890
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(organizationService, localVarRequestOptions, configuration);
|
|
@@ -1850,7 +1932,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
1850
1932
|
// oauth required
|
|
1851
1933
|
_a.sent();
|
|
1852
1934
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1853
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
1935
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1854
1936
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1855
1937
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1856
1938
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
@@ -2424,7 +2506,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2424
2506
|
// oauth required
|
|
2425
2507
|
_a.sent();
|
|
2426
2508
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2427
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2509
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2428
2510
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2429
2511
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2430
2512
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioRunTemplateParameterValue, localVarRequestOptions, configuration);
|
|
@@ -2480,7 +2562,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2480
2562
|
// oauth required
|
|
2481
2563
|
_a.sent();
|
|
2482
2564
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2483
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2565
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2484
2566
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2485
2567
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2486
2568
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioUser, localVarRequestOptions, configuration);
|
|
@@ -2536,7 +2618,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2536
2618
|
// authentication oAuth2AuthCode required
|
|
2537
2619
|
// oauth required
|
|
2538
2620
|
_a.sent();
|
|
2539
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2621
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2540
2622
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2541
2623
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2542
2624
|
return [2 /*return*/, {
|
|
@@ -2587,7 +2669,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2587
2669
|
// oauth required
|
|
2588
2670
|
_a.sent();
|
|
2589
2671
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2590
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2672
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2591
2673
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2592
2674
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2593
2675
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenario, localVarRequestOptions, configuration);
|
|
@@ -2635,7 +2717,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2635
2717
|
// authentication oAuth2AuthCode required
|
|
2636
2718
|
// oauth required
|
|
2637
2719
|
_a.sent();
|
|
2638
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2720
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2639
2721
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2640
2722
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2641
2723
|
return [2 /*return*/, {
|
|
@@ -2690,7 +2772,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2690
2772
|
if (waitRelationshipPropagation !== undefined) {
|
|
2691
2773
|
localVarQueryParameter['wait_relationship_propagation'] = waitRelationshipPropagation;
|
|
2692
2774
|
}
|
|
2693
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2775
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2694
2776
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2695
2777
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2696
2778
|
return [2 /*return*/, {
|
|
@@ -2741,7 +2823,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2741
2823
|
// authentication oAuth2AuthCode required
|
|
2742
2824
|
// oauth required
|
|
2743
2825
|
_a.sent();
|
|
2744
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2826
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2745
2827
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2746
2828
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2747
2829
|
return [2 /*return*/, {
|
|
@@ -2788,7 +2870,58 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2788
2870
|
// authentication oAuth2AuthCode required
|
|
2789
2871
|
// oauth required
|
|
2790
2872
|
_a.sent();
|
|
2791
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2873
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2874
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2875
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2876
|
+
return [2 /*return*/, {
|
|
2877
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2878
|
+
options: localVarRequestOptions,
|
|
2879
|
+
}];
|
|
2880
|
+
}
|
|
2881
|
+
});
|
|
2882
|
+
});
|
|
2883
|
+
},
|
|
2884
|
+
/**
|
|
2885
|
+
*
|
|
2886
|
+
* @summary List all Scenarios by validation status
|
|
2887
|
+
* @param {string} organizationId the Organization identifier
|
|
2888
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2889
|
+
* @param {ScenarioValidationStatus} validationStatus the Scenario Validation Status
|
|
2890
|
+
* @param {*} [options] Override http request option.
|
|
2891
|
+
* @throws {RequiredError}
|
|
2892
|
+
*/
|
|
2893
|
+
findAllScenariosByValidationStatus: function (organizationId, workspaceId, validationStatus, options) {
|
|
2894
|
+
if (options === void 0) { options = {}; }
|
|
2895
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
2896
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2897
|
+
return __generator(this, function (_a) {
|
|
2898
|
+
switch (_a.label) {
|
|
2899
|
+
case 0:
|
|
2900
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
2901
|
+
common_1.assertParamExists('findAllScenariosByValidationStatus', 'organizationId', organizationId);
|
|
2902
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
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}"
|
|
2907
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
2908
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
2909
|
+
.replace("{" + "validationStatus" + "}", encodeURIComponent(String(validationStatus)));
|
|
2910
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2911
|
+
if (configuration) {
|
|
2912
|
+
baseOptions = configuration.baseOptions;
|
|
2913
|
+
}
|
|
2914
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2915
|
+
localVarHeaderParameter = {};
|
|
2916
|
+
localVarQueryParameter = {};
|
|
2917
|
+
// authentication oAuth2AuthCode required
|
|
2918
|
+
// oauth required
|
|
2919
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
2920
|
+
case 1:
|
|
2921
|
+
// authentication oAuth2AuthCode required
|
|
2922
|
+
// oauth required
|
|
2923
|
+
_a.sent();
|
|
2924
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2792
2925
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2793
2926
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2794
2927
|
return [2 /*return*/, {
|
|
@@ -2839,7 +2972,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2839
2972
|
// authentication oAuth2AuthCode required
|
|
2840
2973
|
// oauth required
|
|
2841
2974
|
_a.sent();
|
|
2842
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
2975
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2843
2976
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2844
2977
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2845
2978
|
return [2 /*return*/, {
|
|
@@ -2894,7 +3027,58 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2894
3027
|
// authentication oAuth2AuthCode required
|
|
2895
3028
|
// oauth required
|
|
2896
3029
|
_a.sent();
|
|
2897
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3030
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3031
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3032
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3033
|
+
return [2 /*return*/, {
|
|
3034
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3035
|
+
options: localVarRequestOptions,
|
|
3036
|
+
}];
|
|
3037
|
+
}
|
|
3038
|
+
});
|
|
3039
|
+
});
|
|
3040
|
+
},
|
|
3041
|
+
/**
|
|
3042
|
+
*
|
|
3043
|
+
* @summary Get the validation status of an scenario
|
|
3044
|
+
* @param {string} organizationId the Organization identifier
|
|
3045
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3046
|
+
* @param {string} scenarioId the Scenario identifier
|
|
3047
|
+
* @param {*} [options] Override http request option.
|
|
3048
|
+
* @throws {RequiredError}
|
|
3049
|
+
*/
|
|
3050
|
+
getScenarioValidationStatusById: function (organizationId, workspaceId, scenarioId, options) {
|
|
3051
|
+
if (options === void 0) { options = {}; }
|
|
3052
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
3053
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3054
|
+
return __generator(this, function (_a) {
|
|
3055
|
+
switch (_a.label) {
|
|
3056
|
+
case 0:
|
|
3057
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
3058
|
+
common_1.assertParamExists('getScenarioValidationStatusById', 'organizationId', organizationId);
|
|
3059
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3060
|
+
common_1.assertParamExists('getScenarioValidationStatusById', 'workspaceId', workspaceId);
|
|
3061
|
+
// verify required parameter 'scenarioId' is not null or undefined
|
|
3062
|
+
common_1.assertParamExists('getScenarioValidationStatusById', 'scenarioId', scenarioId);
|
|
3063
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/scenarios/{scenario_id}/ValidationStatus"
|
|
3064
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
3065
|
+
.replace("{" + "workspace_id" + "}", encodeURIComponent(String(workspaceId)))
|
|
3066
|
+
.replace("{" + "scenario_id" + "}", encodeURIComponent(String(scenarioId)));
|
|
3067
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3068
|
+
if (configuration) {
|
|
3069
|
+
baseOptions = configuration.baseOptions;
|
|
3070
|
+
}
|
|
3071
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3072
|
+
localVarHeaderParameter = {};
|
|
3073
|
+
localVarQueryParameter = {};
|
|
3074
|
+
// authentication oAuth2AuthCode required
|
|
3075
|
+
// oauth required
|
|
3076
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
3077
|
+
case 1:
|
|
3078
|
+
// authentication oAuth2AuthCode required
|
|
3079
|
+
// oauth required
|
|
3080
|
+
_a.sent();
|
|
3081
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2898
3082
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2899
3083
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2900
3084
|
return [2 /*return*/, {
|
|
@@ -2941,7 +3125,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2941
3125
|
// authentication oAuth2AuthCode required
|
|
2942
3126
|
// oauth required
|
|
2943
3127
|
_a.sent();
|
|
2944
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3128
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2945
3129
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2946
3130
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2947
3131
|
return [2 /*return*/, {
|
|
@@ -2992,7 +3176,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
2992
3176
|
// authentication oAuth2AuthCode required
|
|
2993
3177
|
// oauth required
|
|
2994
3178
|
_a.sent();
|
|
2995
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3179
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2996
3180
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2997
3181
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2998
3182
|
return [2 /*return*/, {
|
|
@@ -3043,7 +3227,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
3043
3227
|
// authentication oAuth2AuthCode required
|
|
3044
3228
|
// oauth required
|
|
3045
3229
|
_a.sent();
|
|
3046
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3230
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3047
3231
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3048
3232
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3049
3233
|
return [2 /*return*/, {
|
|
@@ -3098,7 +3282,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
3098
3282
|
// authentication oAuth2AuthCode required
|
|
3099
3283
|
// oauth required
|
|
3100
3284
|
_a.sent();
|
|
3101
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3285
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3102
3286
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3103
3287
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3104
3288
|
return [2 /*return*/, {
|
|
@@ -3153,7 +3337,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
3153
3337
|
// oauth required
|
|
3154
3338
|
_a.sent();
|
|
3155
3339
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3156
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
3340
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3157
3341
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3158
3342
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3159
3343
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenario, localVarRequestOptions, configuration);
|
|
@@ -3352,6 +3536,28 @@ exports.ScenarioApiFp = function (configuration) {
|
|
|
3352
3536
|
});
|
|
3353
3537
|
});
|
|
3354
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
|
+
},
|
|
3355
3561
|
/**
|
|
3356
3562
|
*
|
|
3357
3563
|
* @summary Get the details of an scenario
|
|
@@ -3397,6 +3603,28 @@ exports.ScenarioApiFp = function (configuration) {
|
|
|
3397
3603
|
});
|
|
3398
3604
|
});
|
|
3399
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
|
+
},
|
|
3400
3628
|
/**
|
|
3401
3629
|
*
|
|
3402
3630
|
* @summary Get the Scenarios Tree
|
|
@@ -3615,6 +3843,18 @@ exports.ScenarioApiFactory = function (configuration, basePath, axios) {
|
|
|
3615
3843
|
findAllScenarios: function (organizationId, workspaceId, options) {
|
|
3616
3844
|
return localVarFp.findAllScenarios(organizationId, workspaceId, options).then(function (request) { return request(axios, basePath); });
|
|
3617
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
|
+
},
|
|
3618
3858
|
/**
|
|
3619
3859
|
*
|
|
3620
3860
|
* @summary Get the details of an scenario
|
|
@@ -3640,6 +3880,18 @@ exports.ScenarioApiFactory = function (configuration, basePath, axios) {
|
|
|
3640
3880
|
getScenarioDataDownloadJobInfo: function (organizationId, workspaceId, scenarioId, downloadId, options) {
|
|
3641
3881
|
return localVarFp.getScenarioDataDownloadJobInfo(organizationId, workspaceId, scenarioId, downloadId, options).then(function (request) { return request(axios, basePath); });
|
|
3642
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
|
+
},
|
|
3643
3895
|
/**
|
|
3644
3896
|
*
|
|
3645
3897
|
* @summary Get the Scenarios Tree
|
|
@@ -3828,6 +4080,20 @@ var ScenarioApi = /** @class */ (function (_super) {
|
|
|
3828
4080
|
var _this = this;
|
|
3829
4081
|
return exports.ScenarioApiFp(this.configuration).findAllScenarios(organizationId, workspaceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3830
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
|
+
};
|
|
3831
4097
|
/**
|
|
3832
4098
|
*
|
|
3833
4099
|
* @summary Get the details of an scenario
|
|
@@ -3857,6 +4123,20 @@ var ScenarioApi = /** @class */ (function (_super) {
|
|
|
3857
4123
|
var _this = this;
|
|
3858
4124
|
return exports.ScenarioApiFp(this.configuration).getScenarioDataDownloadJobInfo(organizationId, workspaceId, scenarioId, downloadId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3859
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
|
+
};
|
|
3860
4140
|
/**
|
|
3861
4141
|
*
|
|
3862
4142
|
* @summary Get the Scenarios Tree
|
|
@@ -3974,7 +4254,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
3974
4254
|
// authentication oAuth2AuthCode required
|
|
3975
4255
|
// oauth required
|
|
3976
4256
|
_a.sent();
|
|
3977
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4257
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3978
4258
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3979
4259
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3980
4260
|
return [2 /*return*/, {
|
|
@@ -4021,7 +4301,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4021
4301
|
// authentication oAuth2AuthCode required
|
|
4022
4302
|
// oauth required
|
|
4023
4303
|
_a.sent();
|
|
4024
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4304
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4025
4305
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4026
4306
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4027
4307
|
return [2 /*return*/, {
|
|
@@ -4068,7 +4348,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4068
4348
|
// authentication oAuth2AuthCode required
|
|
4069
4349
|
// oauth required
|
|
4070
4350
|
_a.sent();
|
|
4071
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4351
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4072
4352
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4073
4353
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4074
4354
|
return [2 /*return*/, {
|
|
@@ -4115,7 +4395,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4115
4395
|
// authentication oAuth2AuthCode required
|
|
4116
4396
|
// oauth required
|
|
4117
4397
|
_a.sent();
|
|
4118
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4398
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4119
4399
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4120
4400
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4121
4401
|
return [2 /*return*/, {
|
|
@@ -4162,7 +4442,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4162
4442
|
// authentication oAuth2AuthCode required
|
|
4163
4443
|
// oauth required
|
|
4164
4444
|
_a.sent();
|
|
4165
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4445
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4166
4446
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4167
4447
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4168
4448
|
return [2 /*return*/, {
|
|
@@ -4213,7 +4493,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4213
4493
|
// authentication oAuth2AuthCode required
|
|
4214
4494
|
// oauth required
|
|
4215
4495
|
_a.sent();
|
|
4216
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4496
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4217
4497
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4218
4498
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4219
4499
|
return [2 /*return*/, {
|
|
@@ -4260,7 +4540,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4260
4540
|
// authentication oAuth2AuthCode required
|
|
4261
4541
|
// oauth required
|
|
4262
4542
|
_a.sent();
|
|
4263
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4543
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4264
4544
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4265
4545
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4266
4546
|
return [2 /*return*/, {
|
|
@@ -4311,7 +4591,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4311
4591
|
// authentication oAuth2AuthCode required
|
|
4312
4592
|
// oauth required
|
|
4313
4593
|
_a.sent();
|
|
4314
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4594
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4315
4595
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4316
4596
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4317
4597
|
return [2 /*return*/, {
|
|
@@ -4358,7 +4638,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4358
4638
|
// oauth required
|
|
4359
4639
|
_a.sent();
|
|
4360
4640
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4361
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4641
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4362
4642
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4363
4643
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4364
4644
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioRunSearch, localVarRequestOptions, configuration);
|
|
@@ -4406,7 +4686,7 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4406
4686
|
// oauth required
|
|
4407
4687
|
_a.sent();
|
|
4408
4688
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4409
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
4689
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4410
4690
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4411
4691
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4412
4692
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(scenarioRunStartContainers, localVarRequestOptions, configuration);
|
|
@@ -4418,6 +4698,53 @@ exports.ScenariorunApiAxiosParamCreator = function (configuration) {
|
|
|
4418
4698
|
});
|
|
4419
4699
|
});
|
|
4420
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
|
+
},
|
|
4421
4748
|
};
|
|
4422
4749
|
};
|
|
4423
4750
|
/**
|
|
@@ -4639,6 +4966,27 @@ exports.ScenariorunApiFp = function (configuration) {
|
|
|
4639
4966
|
});
|
|
4640
4967
|
});
|
|
4641
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
|
+
},
|
|
4642
4990
|
};
|
|
4643
4991
|
};
|
|
4644
4992
|
/**
|
|
@@ -4760,6 +5108,17 @@ exports.ScenariorunApiFactory = function (configuration, basePath, axios) {
|
|
|
4760
5108
|
startScenarioRunContainers: function (organizationId, scenarioRunStartContainers, options) {
|
|
4761
5109
|
return localVarFp.startScenarioRunContainers(organizationId, scenarioRunStartContainers, options).then(function (request) { return request(axios, basePath); });
|
|
4762
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
|
+
},
|
|
4763
5122
|
};
|
|
4764
5123
|
};
|
|
4765
5124
|
/**
|
|
@@ -4905,6 +5264,19 @@ var ScenariorunApi = /** @class */ (function (_super) {
|
|
|
4905
5264
|
var _this = this;
|
|
4906
5265
|
return exports.ScenariorunApiFp(this.configuration).startScenarioRunContainers(organizationId, scenarioRunStartContainers, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4907
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
|
+
};
|
|
4908
5280
|
return ScenariorunApi;
|
|
4909
5281
|
}(base_1.BaseAPI));
|
|
4910
5282
|
exports.ScenariorunApi = ScenariorunApi;
|
|
@@ -4955,7 +5327,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
4955
5327
|
// oauth required
|
|
4956
5328
|
_a.sent();
|
|
4957
5329
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4958
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5330
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4959
5331
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4960
5332
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4961
5333
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplateParameterGroup, localVarRequestOptions, configuration);
|
|
@@ -5007,7 +5379,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5007
5379
|
// oauth required
|
|
5008
5380
|
_a.sent();
|
|
5009
5381
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5010
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5382
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5011
5383
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5012
5384
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5013
5385
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplateParameter, localVarRequestOptions, configuration);
|
|
@@ -5059,7 +5431,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5059
5431
|
// oauth required
|
|
5060
5432
|
_a.sent();
|
|
5061
5433
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5062
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5434
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5063
5435
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5064
5436
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5065
5437
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplate, localVarRequestOptions, configuration);
|
|
@@ -5107,7 +5479,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5107
5479
|
// oauth required
|
|
5108
5480
|
_a.sent();
|
|
5109
5481
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5110
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5482
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5111
5483
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5112
5484
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5113
5485
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(solution, localVarRequestOptions, configuration);
|
|
@@ -5155,7 +5527,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5155
5527
|
// authentication oAuth2AuthCode required
|
|
5156
5528
|
// oauth required
|
|
5157
5529
|
_a.sent();
|
|
5158
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5530
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5159
5531
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5160
5532
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5161
5533
|
return [2 /*return*/, {
|
|
@@ -5206,7 +5578,62 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5206
5578
|
// authentication oAuth2AuthCode required
|
|
5207
5579
|
// oauth required
|
|
5208
5580
|
_a.sent();
|
|
5209
|
-
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);
|
|
5210
5637
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5211
5638
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5212
5639
|
return [2 /*return*/, {
|
|
@@ -5249,7 +5676,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5249
5676
|
// authentication oAuth2AuthCode required
|
|
5250
5677
|
// oauth required
|
|
5251
5678
|
_a.sent();
|
|
5252
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5679
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5253
5680
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5254
5681
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5255
5682
|
return [2 /*return*/, {
|
|
@@ -5296,7 +5723,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5296
5723
|
// authentication oAuth2AuthCode required
|
|
5297
5724
|
// oauth required
|
|
5298
5725
|
_a.sent();
|
|
5299
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5726
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5300
5727
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5301
5728
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5302
5729
|
return [2 /*return*/, {
|
|
@@ -5343,7 +5770,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5343
5770
|
// authentication oAuth2AuthCode required
|
|
5344
5771
|
// oauth required
|
|
5345
5772
|
_a.sent();
|
|
5346
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5773
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5347
5774
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5348
5775
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5349
5776
|
return [2 /*return*/, {
|
|
@@ -5390,7 +5817,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5390
5817
|
// authentication oAuth2AuthCode required
|
|
5391
5818
|
// oauth required
|
|
5392
5819
|
_a.sent();
|
|
5393
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5820
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5394
5821
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5395
5822
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5396
5823
|
return [2 /*return*/, {
|
|
@@ -5437,7 +5864,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5437
5864
|
// authentication oAuth2AuthCode required
|
|
5438
5865
|
// oauth required
|
|
5439
5866
|
_a.sent();
|
|
5440
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5867
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5441
5868
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5442
5869
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5443
5870
|
return [2 /*return*/, {
|
|
@@ -5488,7 +5915,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5488
5915
|
// oauth required
|
|
5489
5916
|
_a.sent();
|
|
5490
5917
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5491
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5918
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5492
5919
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5493
5920
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5494
5921
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(solution, localVarRequestOptions, configuration);
|
|
@@ -5544,7 +5971,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5544
5971
|
// oauth required
|
|
5545
5972
|
_a.sent();
|
|
5546
5973
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5547
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
5974
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5548
5975
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5549
5976
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5550
5977
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(runTemplate, localVarRequestOptions, configuration);
|
|
@@ -5608,7 +6035,7 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
5608
6035
|
localVarQueryParameter['overwrite'] = overwrite;
|
|
5609
6036
|
}
|
|
5610
6037
|
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
|
|
5611
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6038
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5612
6039
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5613
6040
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5614
6041
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -5759,6 +6186,29 @@ exports.SolutionApiFp = function (configuration) {
|
|
|
5759
6186
|
});
|
|
5760
6187
|
});
|
|
5761
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
|
+
},
|
|
5762
6212
|
/**
|
|
5763
6213
|
*
|
|
5764
6214
|
* @summary List all Solutions
|
|
@@ -6012,6 +6462,19 @@ exports.SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
6012
6462
|
deleteSolutionRunTemplate: function (organizationId, solutionId, runTemplateId, options) {
|
|
6013
6463
|
return localVarFp.deleteSolutionRunTemplate(organizationId, solutionId, runTemplateId, options).then(function (request) { return request(axios, basePath); });
|
|
6014
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
|
+
},
|
|
6015
6478
|
/**
|
|
6016
6479
|
*
|
|
6017
6480
|
* @summary List all Solutions
|
|
@@ -6201,6 +6664,21 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
6201
6664
|
var _this = this;
|
|
6202
6665
|
return exports.SolutionApiFp(this.configuration).deleteSolutionRunTemplate(organizationId, solutionId, runTemplateId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6203
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
|
+
};
|
|
6204
6682
|
/**
|
|
6205
6683
|
*
|
|
6206
6684
|
* @summary List all Solutions
|
|
@@ -6349,7 +6827,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6349
6827
|
// authentication oAuth2AuthCode required
|
|
6350
6828
|
// oauth required
|
|
6351
6829
|
_a.sent();
|
|
6352
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6830
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6353
6831
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6354
6832
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6355
6833
|
return [2 /*return*/, {
|
|
@@ -6388,7 +6866,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6388
6866
|
// authentication oAuth2AuthCode required
|
|
6389
6867
|
// oauth required
|
|
6390
6868
|
_a.sent();
|
|
6391
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6869
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6392
6870
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6393
6871
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6394
6872
|
return [2 /*return*/, {
|
|
@@ -6431,7 +6909,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6431
6909
|
// authentication oAuth2AuthCode required
|
|
6432
6910
|
// oauth required
|
|
6433
6911
|
_a.sent();
|
|
6434
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6912
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6435
6913
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6436
6914
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6437
6915
|
return [2 /*return*/, {
|
|
@@ -6470,7 +6948,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6470
6948
|
// authentication oAuth2AuthCode required
|
|
6471
6949
|
// oauth required
|
|
6472
6950
|
_a.sent();
|
|
6473
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6951
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6474
6952
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6475
6953
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6476
6954
|
return [2 /*return*/, {
|
|
@@ -6513,7 +6991,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6513
6991
|
// authentication oAuth2AuthCode required
|
|
6514
6992
|
// oauth required
|
|
6515
6993
|
_a.sent();
|
|
6516
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
6994
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6517
6995
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6518
6996
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6519
6997
|
return [2 /*return*/, {
|
|
@@ -6560,7 +7038,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6560
7038
|
// authentication oAuth2AuthCode required
|
|
6561
7039
|
// oauth required
|
|
6562
7040
|
_a.sent();
|
|
6563
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7041
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6564
7042
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6565
7043
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6566
7044
|
return [2 /*return*/, {
|
|
@@ -6603,7 +7081,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6603
7081
|
// oauth required
|
|
6604
7082
|
_a.sent();
|
|
6605
7083
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6606
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7084
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6607
7085
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6608
7086
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6609
7087
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(user, localVarRequestOptions, configuration);
|
|
@@ -6643,7 +7121,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6643
7121
|
// authentication oAuth2AuthCode required
|
|
6644
7122
|
// oauth required
|
|
6645
7123
|
_a.sent();
|
|
6646
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7124
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6647
7125
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6648
7126
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6649
7127
|
return [2 /*return*/, {
|
|
@@ -6686,7 +7164,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6686
7164
|
// authentication oAuth2AuthCode required
|
|
6687
7165
|
// oauth required
|
|
6688
7166
|
_a.sent();
|
|
6689
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7167
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6690
7168
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6691
7169
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6692
7170
|
return [2 /*return*/, {
|
|
@@ -6733,7 +7211,7 @@ exports.UserApiAxiosParamCreator = function (configuration) {
|
|
|
6733
7211
|
// oauth required
|
|
6734
7212
|
_a.sent();
|
|
6735
7213
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6736
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7214
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6737
7215
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6738
7216
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6739
7217
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(user, localVarRequestOptions, configuration);
|
|
@@ -7236,7 +7714,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7236
7714
|
// oauth required
|
|
7237
7715
|
_a.sent();
|
|
7238
7716
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7239
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7717
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7240
7718
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7241
7719
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7242
7720
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(validator, localVarRequestOptions, configuration);
|
|
@@ -7288,7 +7766,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7288
7766
|
// oauth required
|
|
7289
7767
|
_a.sent();
|
|
7290
7768
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7291
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7769
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7292
7770
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7293
7771
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7294
7772
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(validatorRun, localVarRequestOptions, configuration);
|
|
@@ -7336,7 +7814,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7336
7814
|
// authentication oAuth2AuthCode required
|
|
7337
7815
|
// oauth required
|
|
7338
7816
|
_a.sent();
|
|
7339
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7817
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7340
7818
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7341
7819
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7342
7820
|
return [2 /*return*/, {
|
|
@@ -7387,7 +7865,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7387
7865
|
// authentication oAuth2AuthCode required
|
|
7388
7866
|
// oauth required
|
|
7389
7867
|
_a.sent();
|
|
7390
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7868
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7391
7869
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7392
7870
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7393
7871
|
return [2 /*return*/, {
|
|
@@ -7434,7 +7912,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7434
7912
|
// authentication oAuth2AuthCode required
|
|
7435
7913
|
// oauth required
|
|
7436
7914
|
_a.sent();
|
|
7437
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7915
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7438
7916
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7439
7917
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7440
7918
|
return [2 /*return*/, {
|
|
@@ -7477,7 +7955,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7477
7955
|
// authentication oAuth2AuthCode required
|
|
7478
7956
|
// oauth required
|
|
7479
7957
|
_a.sent();
|
|
7480
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
7958
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7481
7959
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7482
7960
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7483
7961
|
return [2 /*return*/, {
|
|
@@ -7524,7 +8002,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7524
8002
|
// authentication oAuth2AuthCode required
|
|
7525
8003
|
// oauth required
|
|
7526
8004
|
_a.sent();
|
|
7527
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8005
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7528
8006
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7529
8007
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7530
8008
|
return [2 /*return*/, {
|
|
@@ -7575,7 +8053,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7575
8053
|
// authentication oAuth2AuthCode required
|
|
7576
8054
|
// oauth required
|
|
7577
8055
|
_a.sent();
|
|
7578
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8056
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7579
8057
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7580
8058
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7581
8059
|
return [2 /*return*/, {
|
|
@@ -7626,7 +8104,7 @@ exports.ValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
7626
8104
|
// oauth required
|
|
7627
8105
|
_a.sent();
|
|
7628
8106
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7629
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8107
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7630
8108
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7631
8109
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7632
8110
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(validatorRun, localVarRequestOptions, configuration);
|
|
@@ -8133,7 +8611,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8133
8611
|
// oauth required
|
|
8134
8612
|
_a.sent();
|
|
8135
8613
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8136
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8614
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8137
8615
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8138
8616
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8139
8617
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(workspaceUser, localVarRequestOptions, configuration);
|
|
@@ -8181,7 +8659,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8181
8659
|
// oauth required
|
|
8182
8660
|
_a.sent();
|
|
8183
8661
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8184
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8662
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8185
8663
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8186
8664
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8187
8665
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(workspace, localVarRequestOptions, configuration);
|
|
@@ -8229,7 +8707,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8229
8707
|
// authentication oAuth2AuthCode required
|
|
8230
8708
|
// oauth required
|
|
8231
8709
|
_a.sent();
|
|
8232
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8710
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8233
8711
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8234
8712
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8235
8713
|
return [2 /*return*/, {
|
|
@@ -8276,7 +8754,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8276
8754
|
// authentication oAuth2AuthCode required
|
|
8277
8755
|
// oauth required
|
|
8278
8756
|
_a.sent();
|
|
8279
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8757
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8280
8758
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8281
8759
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8282
8760
|
return [2 /*return*/, {
|
|
@@ -8329,7 +8807,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8329
8807
|
if (fileName !== undefined) {
|
|
8330
8808
|
localVarQueryParameter['file_name'] = fileName;
|
|
8331
8809
|
}
|
|
8332
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8810
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8333
8811
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8334
8812
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8335
8813
|
return [2 /*return*/, {
|
|
@@ -8382,7 +8860,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8382
8860
|
if (fileName !== undefined) {
|
|
8383
8861
|
localVarQueryParameter['file_name'] = fileName;
|
|
8384
8862
|
}
|
|
8385
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8863
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8386
8864
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8387
8865
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8388
8866
|
return [2 /*return*/, {
|
|
@@ -8429,7 +8907,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8429
8907
|
// authentication oAuth2AuthCode required
|
|
8430
8908
|
// oauth required
|
|
8431
8909
|
_a.sent();
|
|
8432
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8910
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8433
8911
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8434
8912
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8435
8913
|
return [2 /*return*/, {
|
|
@@ -8472,7 +8950,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8472
8950
|
// authentication oAuth2AuthCode required
|
|
8473
8951
|
// oauth required
|
|
8474
8952
|
_a.sent();
|
|
8475
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
8953
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8476
8954
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8477
8955
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8478
8956
|
return [2 /*return*/, {
|
|
@@ -8519,7 +8997,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8519
8997
|
// authentication oAuth2AuthCode required
|
|
8520
8998
|
// oauth required
|
|
8521
8999
|
_a.sent();
|
|
8522
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9000
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8523
9001
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8524
9002
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8525
9003
|
return [2 /*return*/, {
|
|
@@ -8566,7 +9044,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8566
9044
|
// authentication oAuth2AuthCode required
|
|
8567
9045
|
// oauth required
|
|
8568
9046
|
_a.sent();
|
|
8569
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9047
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8570
9048
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8571
9049
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8572
9050
|
return [2 /*return*/, {
|
|
@@ -8617,7 +9095,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8617
9095
|
// authentication oAuth2AuthCode required
|
|
8618
9096
|
// oauth required
|
|
8619
9097
|
_a.sent();
|
|
8620
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9098
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8621
9099
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8622
9100
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8623
9101
|
return [2 /*return*/, {
|
|
@@ -8668,7 +9146,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8668
9146
|
// oauth required
|
|
8669
9147
|
_a.sent();
|
|
8670
9148
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8671
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9149
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8672
9150
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8673
9151
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8674
9152
|
localVarRequestOptions.data = common_1.serializeDataIfNeeded(workspace, localVarRequestOptions, configuration);
|
|
@@ -8732,7 +9210,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
8732
9210
|
localVarFormParams.append('file', file);
|
|
8733
9211
|
}
|
|
8734
9212
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
8735
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
9213
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8736
9214
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8737
9215
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8738
9216
|
localVarRequestOptions.data = localVarFormParams;
|