@shapediver/sdk.geometry-api-sdk-v2 2.3.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/UtilsApi.d.ts +2 -2
- package/dist/UtilsApi.d.ts.map +1 -1
- package/dist/UtilsApi.js +4 -4
- package/dist/UtilsApi.js.map +1 -1
- package/dist/client/api.d.ts +28 -26
- package/dist/client/api.d.ts.map +1 -1
- package/dist/client/api.js +60 -42
- package/dist/client/api.js.map +1 -1
- package/dist/client/configuration.d.ts.map +1 -1
- package/dist/client/configuration.js +2 -1
- package/dist/client/configuration.js.map +1 -1
- package/package.json +1 -1
- package/src/UtilsApi.ts +20 -2
- package/src/client/api.ts +293 -233
- package/src/client/base.ts +1 -1
- package/src/client/common.ts +1 -1
- package/src/client/configuration.ts +7 -2
- package/src/client/index.ts +1 -1
package/dist/client/api.js
CHANGED
|
@@ -1017,7 +1017,7 @@ class AuthGroupApi extends base_2.BaseAPI {
|
|
|
1017
1017
|
exports.AuthGroupApi = AuthGroupApi;
|
|
1018
1018
|
const ExportApiAxiosParamCreator = function (configuration) {
|
|
1019
1019
|
return {
|
|
1020
|
-
computeExports: (sessionId_1, reqExport_1, ...args_1) => __awaiter(this, [sessionId_1, reqExport_1, ...args_1], void 0, function* (sessionId, reqExport, options = {}) {
|
|
1020
|
+
computeExports: (sessionId_1, reqExport_1, ignoreUnknownParams_1, ...args_1) => __awaiter(this, [sessionId_1, reqExport_1, ignoreUnknownParams_1, ...args_1], void 0, function* (sessionId, reqExport, ignoreUnknownParams, options = {}) {
|
|
1021
1021
|
(0, common_1.assertParamExists)('computeExports', 'sessionId', sessionId);
|
|
1022
1022
|
(0, common_1.assertParamExists)('computeExports', 'reqExport', reqExport);
|
|
1023
1023
|
const localVarPath = `/api/v2/session/{sessionId}/export`
|
|
@@ -1031,6 +1031,9 @@ const ExportApiAxiosParamCreator = function (configuration) {
|
|
|
1031
1031
|
const localVarHeaderParameter = {};
|
|
1032
1032
|
const localVarQueryParameter = {};
|
|
1033
1033
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1034
|
+
if (ignoreUnknownParams !== undefined) {
|
|
1035
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
1036
|
+
}
|
|
1034
1037
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1035
1038
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1036
1039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1127,10 +1130,10 @@ exports.ExportApiAxiosParamCreator = ExportApiAxiosParamCreator;
|
|
|
1127
1130
|
const ExportApiFp = function (configuration) {
|
|
1128
1131
|
const localVarAxiosParamCreator = (0, exports.ExportApiAxiosParamCreator)(configuration);
|
|
1129
1132
|
return {
|
|
1130
|
-
computeExports(sessionId, reqExport, options) {
|
|
1133
|
+
computeExports(sessionId, reqExport, ignoreUnknownParams, options) {
|
|
1131
1134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1132
1135
|
var _a, _b, _c;
|
|
1133
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.computeExports(sessionId, reqExport, options);
|
|
1136
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.computeExports(sessionId, reqExport, ignoreUnknownParams, options);
|
|
1134
1137
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1135
1138
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExportApi.computeExports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1136
1139
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1169,8 +1172,8 @@ exports.ExportApiFp = ExportApiFp;
|
|
|
1169
1172
|
const ExportApiFactory = function (configuration, basePath, axios) {
|
|
1170
1173
|
const localVarFp = (0, exports.ExportApiFp)(configuration);
|
|
1171
1174
|
return {
|
|
1172
|
-
computeExports(sessionId, reqExport, options) {
|
|
1173
|
-
return localVarFp.computeExports(sessionId, reqExport, options).then((request) => request(axios, basePath));
|
|
1175
|
+
computeExports(sessionId, reqExport, ignoreUnknownParams, options) {
|
|
1176
|
+
return localVarFp.computeExports(sessionId, reqExport, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
1174
1177
|
},
|
|
1175
1178
|
getCachedExports(sessionId, reqExportOrCache, options) {
|
|
1176
1179
|
return localVarFp.getCachedExports(sessionId, reqExportOrCache, options).then((request) => request(axios, basePath));
|
|
@@ -1185,8 +1188,8 @@ const ExportApiFactory = function (configuration, basePath, axios) {
|
|
|
1185
1188
|
};
|
|
1186
1189
|
exports.ExportApiFactory = ExportApiFactory;
|
|
1187
1190
|
class ExportApi extends base_2.BaseAPI {
|
|
1188
|
-
computeExports(sessionId, reqExport, options) {
|
|
1189
|
-
return (0, exports.ExportApiFp)(this.configuration).computeExports(sessionId, reqExport, options).then((request) => request(this.axios, this.basePath));
|
|
1191
|
+
computeExports(sessionId, reqExport, ignoreUnknownParams, options) {
|
|
1192
|
+
return (0, exports.ExportApiFp)(this.configuration).computeExports(sessionId, reqExport, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
1190
1193
|
}
|
|
1191
1194
|
getCachedExports(sessionId, reqExportOrCache, options) {
|
|
1192
1195
|
return (0, exports.ExportApiFp)(this.configuration).getCachedExports(sessionId, reqExportOrCache, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1907,7 +1910,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1907
1910
|
options: localVarRequestOptions,
|
|
1908
1911
|
};
|
|
1909
1912
|
}),
|
|
1910
|
-
updateParameterDefaultValues: (modelId_1, reqCustomization_1, ...args_1) => __awaiter(this, [modelId_1, reqCustomization_1, ...args_1], void 0, function* (modelId, reqCustomization, options = {}) {
|
|
1913
|
+
updateParameterDefaultValues: (modelId_1, reqCustomization_1, ignoreUnknownParams_1, ...args_1) => __awaiter(this, [modelId_1, reqCustomization_1, ignoreUnknownParams_1, ...args_1], void 0, function* (modelId, reqCustomization, ignoreUnknownParams, options = {}) {
|
|
1911
1914
|
(0, common_1.assertParamExists)('updateParameterDefaultValues', 'modelId', modelId);
|
|
1912
1915
|
(0, common_1.assertParamExists)('updateParameterDefaultValues', 'reqCustomization', reqCustomization);
|
|
1913
1916
|
const localVarPath = `/api/v2/model/{modelId}/parameter/defval`
|
|
@@ -1921,6 +1924,9 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1921
1924
|
const localVarHeaderParameter = {};
|
|
1922
1925
|
const localVarQueryParameter = {};
|
|
1923
1926
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1927
|
+
if (ignoreUnknownParams !== undefined) {
|
|
1928
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
1929
|
+
}
|
|
1924
1930
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1925
1931
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1926
1932
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2096,10 +2102,10 @@ const ModelApiFp = function (configuration) {
|
|
|
2096
2102
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2097
2103
|
});
|
|
2098
2104
|
},
|
|
2099
|
-
updateParameterDefaultValues(modelId, reqCustomization, options) {
|
|
2105
|
+
updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options) {
|
|
2100
2106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2101
2107
|
var _a, _b, _c;
|
|
2102
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateParameterDefaultValues(modelId, reqCustomization, options);
|
|
2108
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options);
|
|
2103
2109
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2104
2110
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ModelApi.updateParameterDefaultValues']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2105
2111
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2165,8 +2171,8 @@ const ModelApiFactory = function (configuration, basePath, axios) {
|
|
|
2165
2171
|
updateModelConfig(modelId, reqConfigure, options) {
|
|
2166
2172
|
return localVarFp.updateModelConfig(modelId, reqConfigure, options).then((request) => request(axios, basePath));
|
|
2167
2173
|
},
|
|
2168
|
-
updateParameterDefaultValues(modelId, reqCustomization, options) {
|
|
2169
|
-
return localVarFp.updateParameterDefaultValues(modelId, reqCustomization, options).then((request) => request(axios, basePath));
|
|
2174
|
+
updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options) {
|
|
2175
|
+
return localVarFp.updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
2170
2176
|
},
|
|
2171
2177
|
updateParameterDefinitions(modelId, reqParameterDefinitions, options) {
|
|
2172
2178
|
return localVarFp.updateParameterDefinitions(modelId, reqParameterDefinitions, options).then((request) => request(axios, basePath));
|
|
@@ -2220,8 +2226,8 @@ class ModelApi extends base_2.BaseAPI {
|
|
|
2220
2226
|
updateModelConfig(modelId, reqConfigure, options) {
|
|
2221
2227
|
return (0, exports.ModelApiFp)(this.configuration).updateModelConfig(modelId, reqConfigure, options).then((request) => request(this.axios, this.basePath));
|
|
2222
2228
|
}
|
|
2223
|
-
updateParameterDefaultValues(modelId, reqCustomization, options) {
|
|
2224
|
-
return (0, exports.ModelApiFp)(this.configuration).updateParameterDefaultValues(modelId, reqCustomization, options).then((request) => request(this.axios, this.basePath));
|
|
2229
|
+
updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options) {
|
|
2230
|
+
return (0, exports.ModelApiFp)(this.configuration).updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
2225
2231
|
}
|
|
2226
2232
|
updateParameterDefinitions(modelId, reqParameterDefinitions, options) {
|
|
2227
2233
|
return (0, exports.ModelApiFp)(this.configuration).updateParameterDefinitions(modelId, reqParameterDefinitions, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2230,7 +2236,7 @@ class ModelApi extends base_2.BaseAPI {
|
|
|
2230
2236
|
exports.ModelApi = ModelApi;
|
|
2231
2237
|
const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
2232
2238
|
return {
|
|
2233
|
-
createModelState: (sessionId_1, reqModelState_1, ...args_1) => __awaiter(this, [sessionId_1, reqModelState_1, ...args_1], void 0, function* (sessionId, reqModelState, options = {}) {
|
|
2239
|
+
createModelState: (sessionId_1, reqModelState_1, ignoreUnknownParams_1, ...args_1) => __awaiter(this, [sessionId_1, reqModelState_1, ignoreUnknownParams_1, ...args_1], void 0, function* (sessionId, reqModelState, ignoreUnknownParams, options = {}) {
|
|
2234
2240
|
(0, common_1.assertParamExists)('createModelState', 'sessionId', sessionId);
|
|
2235
2241
|
(0, common_1.assertParamExists)('createModelState', 'reqModelState', reqModelState);
|
|
2236
2242
|
const localVarPath = `/api/v2/session/{sessionId}/model-state`
|
|
@@ -2244,6 +2250,9 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2244
2250
|
const localVarHeaderParameter = {};
|
|
2245
2251
|
const localVarQueryParameter = {};
|
|
2246
2252
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2253
|
+
if (ignoreUnknownParams !== undefined) {
|
|
2254
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
2255
|
+
}
|
|
2247
2256
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2248
2257
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2249
2258
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2406,10 +2415,10 @@ exports.ModelStateApiAxiosParamCreator = ModelStateApiAxiosParamCreator;
|
|
|
2406
2415
|
const ModelStateApiFp = function (configuration) {
|
|
2407
2416
|
const localVarAxiosParamCreator = (0, exports.ModelStateApiAxiosParamCreator)(configuration);
|
|
2408
2417
|
return {
|
|
2409
|
-
createModelState(sessionId, reqModelState, options) {
|
|
2418
|
+
createModelState(sessionId, reqModelState, ignoreUnknownParams, options) {
|
|
2410
2419
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2411
2420
|
var _a, _b, _c;
|
|
2412
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createModelState(sessionId, reqModelState, options);
|
|
2421
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createModelState(sessionId, reqModelState, ignoreUnknownParams, options);
|
|
2413
2422
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2414
2423
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ModelStateApi.createModelState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2415
2424
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2484,8 +2493,8 @@ exports.ModelStateApiFp = ModelStateApiFp;
|
|
|
2484
2493
|
const ModelStateApiFactory = function (configuration, basePath, axios) {
|
|
2485
2494
|
const localVarFp = (0, exports.ModelStateApiFp)(configuration);
|
|
2486
2495
|
return {
|
|
2487
|
-
createModelState(sessionId, reqModelState, options) {
|
|
2488
|
-
return localVarFp.createModelState(sessionId, reqModelState, options).then((request) => request(axios, basePath));
|
|
2496
|
+
createModelState(sessionId, reqModelState, ignoreUnknownParams, options) {
|
|
2497
|
+
return localVarFp.createModelState(sessionId, reqModelState, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
2489
2498
|
},
|
|
2490
2499
|
deleteModelState(modelStateId, options) {
|
|
2491
2500
|
return localVarFp.deleteModelState(modelStateId, options).then((request) => request(axios, basePath));
|
|
@@ -2512,8 +2521,8 @@ const ModelStateApiFactory = function (configuration, basePath, axios) {
|
|
|
2512
2521
|
};
|
|
2513
2522
|
exports.ModelStateApiFactory = ModelStateApiFactory;
|
|
2514
2523
|
class ModelStateApi extends base_2.BaseAPI {
|
|
2515
|
-
createModelState(sessionId, reqModelState, options) {
|
|
2516
|
-
return (0, exports.ModelStateApiFp)(this.configuration).createModelState(sessionId, reqModelState, options).then((request) => request(this.axios, this.basePath));
|
|
2524
|
+
createModelState(sessionId, reqModelState, ignoreUnknownParams, options) {
|
|
2525
|
+
return (0, exports.ModelStateApiFp)(this.configuration).createModelState(sessionId, reqModelState, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
2517
2526
|
}
|
|
2518
2527
|
deleteModelState(modelStateId, options) {
|
|
2519
2528
|
return (0, exports.ModelStateApiFp)(this.configuration).deleteModelState(modelStateId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2540,7 +2549,7 @@ class ModelStateApi extends base_2.BaseAPI {
|
|
|
2540
2549
|
exports.ModelStateApi = ModelStateApi;
|
|
2541
2550
|
const OutputApiAxiosParamCreator = function (configuration) {
|
|
2542
2551
|
return {
|
|
2543
|
-
computeOutputs: (sessionId_1, reqCustomization_1, ...args_1) => __awaiter(this, [sessionId_1, reqCustomization_1, ...args_1], void 0, function* (sessionId, reqCustomization, options = {}) {
|
|
2552
|
+
computeOutputs: (sessionId_1, reqCustomization_1, ignoreUnknownParams_1, ...args_1) => __awaiter(this, [sessionId_1, reqCustomization_1, ignoreUnknownParams_1, ...args_1], void 0, function* (sessionId, reqCustomization, ignoreUnknownParams, options = {}) {
|
|
2544
2553
|
(0, common_1.assertParamExists)('computeOutputs', 'sessionId', sessionId);
|
|
2545
2554
|
(0, common_1.assertParamExists)('computeOutputs', 'reqCustomization', reqCustomization);
|
|
2546
2555
|
const localVarPath = `/api/v2/session/{sessionId}/output`
|
|
@@ -2554,6 +2563,9 @@ const OutputApiAxiosParamCreator = function (configuration) {
|
|
|
2554
2563
|
const localVarHeaderParameter = {};
|
|
2555
2564
|
const localVarQueryParameter = {};
|
|
2556
2565
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2566
|
+
if (ignoreUnknownParams !== undefined) {
|
|
2567
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
2568
|
+
}
|
|
2557
2569
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2558
2570
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2559
2571
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2650,10 +2662,10 @@ exports.OutputApiAxiosParamCreator = OutputApiAxiosParamCreator;
|
|
|
2650
2662
|
const OutputApiFp = function (configuration) {
|
|
2651
2663
|
const localVarAxiosParamCreator = (0, exports.OutputApiAxiosParamCreator)(configuration);
|
|
2652
2664
|
return {
|
|
2653
|
-
computeOutputs(sessionId, reqCustomization, options) {
|
|
2665
|
+
computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options) {
|
|
2654
2666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2655
2667
|
var _a, _b, _c;
|
|
2656
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.computeOutputs(sessionId, reqCustomization, options);
|
|
2668
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options);
|
|
2657
2669
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2658
2670
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OutputApi.computeOutputs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2659
2671
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2692,8 +2704,8 @@ exports.OutputApiFp = OutputApiFp;
|
|
|
2692
2704
|
const OutputApiFactory = function (configuration, basePath, axios) {
|
|
2693
2705
|
const localVarFp = (0, exports.OutputApiFp)(configuration);
|
|
2694
2706
|
return {
|
|
2695
|
-
computeOutputs(sessionId, reqCustomization, options) {
|
|
2696
|
-
return localVarFp.computeOutputs(sessionId, reqCustomization, options).then((request) => request(axios, basePath));
|
|
2707
|
+
computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options) {
|
|
2708
|
+
return localVarFp.computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
2697
2709
|
},
|
|
2698
2710
|
getCachedOutputs(sessionId, reqCacheReqCustomization, options) {
|
|
2699
2711
|
return localVarFp.getCachedOutputs(sessionId, reqCacheReqCustomization, options).then((request) => request(axios, basePath));
|
|
@@ -2708,8 +2720,8 @@ const OutputApiFactory = function (configuration, basePath, axios) {
|
|
|
2708
2720
|
};
|
|
2709
2721
|
exports.OutputApiFactory = OutputApiFactory;
|
|
2710
2722
|
class OutputApi extends base_2.BaseAPI {
|
|
2711
|
-
computeOutputs(sessionId, reqCustomization, options) {
|
|
2712
|
-
return (0, exports.OutputApiFp)(this.configuration).computeOutputs(sessionId, reqCustomization, options).then((request) => request(this.axios, this.basePath));
|
|
2723
|
+
computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options) {
|
|
2724
|
+
return (0, exports.OutputApiFp)(this.configuration).computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
2713
2725
|
}
|
|
2714
2726
|
getCachedOutputs(sessionId, reqCacheReqCustomization, options) {
|
|
2715
2727
|
return (0, exports.OutputApiFp)(this.configuration).getCachedOutputs(sessionId, reqCacheReqCustomization, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3017,7 +3029,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3017
3029
|
options: localVarRequestOptions,
|
|
3018
3030
|
};
|
|
3019
3031
|
}),
|
|
3020
|
-
createSessionByModel: (modelId_1, modelStateId_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1) => __awaiter(this, [modelId_1, modelStateId_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1], void 0, function* (modelId, modelStateId, strictValidation, reqCustomizationOrExport, options = {}) {
|
|
3032
|
+
createSessionByModel: (modelId_1, modelStateId_1, ignoreUnknownParams_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1) => __awaiter(this, [modelId_1, modelStateId_1, ignoreUnknownParams_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1], void 0, function* (modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options = {}) {
|
|
3021
3033
|
(0, common_1.assertParamExists)('createSessionByModel', 'modelId', modelId);
|
|
3022
3034
|
const localVarPath = `/api/v2/model/{modelId}/session`
|
|
3023
3035
|
.replace(`{${"modelId"}}`, encodeURIComponent(String(modelId)));
|
|
@@ -3033,6 +3045,9 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3033
3045
|
if (modelStateId !== undefined) {
|
|
3034
3046
|
localVarQueryParameter['modelStateId'] = modelStateId;
|
|
3035
3047
|
}
|
|
3048
|
+
if (ignoreUnknownParams !== undefined) {
|
|
3049
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
3050
|
+
}
|
|
3036
3051
|
if (strictValidation !== undefined) {
|
|
3037
3052
|
localVarQueryParameter['strictValidation'] = strictValidation;
|
|
3038
3053
|
}
|
|
@@ -3046,7 +3061,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3046
3061
|
options: localVarRequestOptions,
|
|
3047
3062
|
};
|
|
3048
3063
|
}),
|
|
3049
|
-
createSessionByTicket: (ticketId_1, modelStateId_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1) => __awaiter(this, [ticketId_1, modelStateId_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1], void 0, function* (ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options = {}) {
|
|
3064
|
+
createSessionByTicket: (ticketId_1, modelStateId_1, ignoreUnknownParams_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1) => __awaiter(this, [ticketId_1, modelStateId_1, ignoreUnknownParams_1, strictValidation_1, reqCustomizationOrExport_1, ...args_1], void 0, function* (ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options = {}) {
|
|
3050
3065
|
(0, common_1.assertParamExists)('createSessionByTicket', 'ticketId', ticketId);
|
|
3051
3066
|
const localVarPath = `/api/v2/ticket/{ticketId}`
|
|
3052
3067
|
.replace(`{${"ticketId"}}`, encodeURIComponent(String(ticketId)));
|
|
@@ -3061,6 +3076,9 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3061
3076
|
if (modelStateId !== undefined) {
|
|
3062
3077
|
localVarQueryParameter['modelStateId'] = modelStateId;
|
|
3063
3078
|
}
|
|
3079
|
+
if (ignoreUnknownParams !== undefined) {
|
|
3080
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
3081
|
+
}
|
|
3064
3082
|
if (strictValidation !== undefined) {
|
|
3065
3083
|
localVarQueryParameter['strictValidation'] = strictValidation;
|
|
3066
3084
|
}
|
|
@@ -3155,19 +3173,19 @@ const SessionApiFp = function (configuration) {
|
|
|
3155
3173
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3156
3174
|
});
|
|
3157
3175
|
},
|
|
3158
|
-
createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options) {
|
|
3176
|
+
createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options) {
|
|
3159
3177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3160
3178
|
var _a, _b, _c;
|
|
3161
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options);
|
|
3179
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options);
|
|
3162
3180
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3163
3181
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SessionApi.createSessionByModel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3164
3182
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3165
3183
|
});
|
|
3166
3184
|
},
|
|
3167
|
-
createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options) {
|
|
3185
|
+
createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options) {
|
|
3168
3186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3169
3187
|
var _a, _b, _c;
|
|
3170
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options);
|
|
3188
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options);
|
|
3171
3189
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3172
3190
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SessionApi.createSessionByTicket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3173
3191
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3209,11 +3227,11 @@ const SessionApiFactory = function (configuration, basePath, axios) {
|
|
|
3209
3227
|
closeSession(sessionId, options) {
|
|
3210
3228
|
return localVarFp.closeSession(sessionId, options).then((request) => request(axios, basePath));
|
|
3211
3229
|
},
|
|
3212
|
-
createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options) {
|
|
3213
|
-
return localVarFp.createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
3230
|
+
createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options) {
|
|
3231
|
+
return localVarFp.createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
3214
3232
|
},
|
|
3215
|
-
createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options) {
|
|
3216
|
-
return localVarFp.createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
3233
|
+
createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options) {
|
|
3234
|
+
return localVarFp.createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
3217
3235
|
},
|
|
3218
3236
|
createTicket(modelId, reqTicket, options) {
|
|
3219
3237
|
return localVarFp.createTicket(modelId, reqTicket, options).then((request) => request(axios, basePath));
|
|
@@ -3231,11 +3249,11 @@ class SessionApi extends base_2.BaseAPI {
|
|
|
3231
3249
|
closeSession(sessionId, options) {
|
|
3232
3250
|
return (0, exports.SessionApiFp)(this.configuration).closeSession(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3233
3251
|
}
|
|
3234
|
-
createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options) {
|
|
3235
|
-
return (0, exports.SessionApiFp)(this.configuration).createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
3252
|
+
createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options) {
|
|
3253
|
+
return (0, exports.SessionApiFp)(this.configuration).createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
3236
3254
|
}
|
|
3237
|
-
createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options) {
|
|
3238
|
-
return (0, exports.SessionApiFp)(this.configuration).createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
3255
|
+
createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options) {
|
|
3256
|
+
return (0, exports.SessionApiFp)(this.configuration).createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
3239
3257
|
}
|
|
3240
3258
|
createTicket(modelId, reqTicket, options) {
|
|
3241
3259
|
return (0, exports.SessionApiFp)(this.configuration).createTicket(modelId, reqTicket, options).then((request) => request(this.axios, this.basePath));
|