@shapediver/sdk.geometry-api-sdk-v2 3.4.2 → 3.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/dist/client/api.d.ts +0 -18
- package/dist/client/api.d.ts.map +1 -1
- package/dist/client/api.js +113 -151
- package/dist/client/api.js.map +1 -1
- package/dist/client/common.d.ts +1 -0
- package/dist/client/common.d.ts.map +1 -1
- package/dist/client/common.js +12 -3
- package/dist/client/common.js.map +1 -1
- package/dist/client/configuration.js +2 -2
- package/dist/client/configuration.js.map +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/package.json +5 -5
- package/src/client/api.ts +115 -226
- package/src/client/base.ts +1 -1
- package/src/client/common.ts +17 -3
- package/src/client/configuration.ts +3 -3
- package/src/client/index.ts +1 -1
- package/src/configuration.ts +1 -1
package/dist/client/api.js
CHANGED
|
@@ -35,7 +35,7 @@ exports.CommonsComputationStatus = {
|
|
|
35
35
|
UNRECOVERABLE_ERROR: 'unrecoverableerror',
|
|
36
36
|
NO_OUTPUT_DATA_FOR_DEFAULT_PARAMETER_VALUES: 'nooutputdatafordefaultparametervalues',
|
|
37
37
|
MODEL_WITHOUT_GEOMETRY_OUTPUT: 'modelwithoutgeometryoutput',
|
|
38
|
-
UNKNOWN: 'unknown'
|
|
38
|
+
UNKNOWN: 'unknown',
|
|
39
39
|
};
|
|
40
40
|
exports.CommonsModelStatus = {
|
|
41
41
|
UNKNOWN: 'unknown',
|
|
@@ -44,17 +44,17 @@ exports.CommonsModelStatus = {
|
|
|
44
44
|
PENDING: 'pending',
|
|
45
45
|
CONFIRMED: 'confirmed',
|
|
46
46
|
DENIED: 'denied',
|
|
47
|
-
DELETED: 'deleted'
|
|
47
|
+
DELETED: 'deleted',
|
|
48
48
|
};
|
|
49
49
|
exports.CommonsTicketType = {
|
|
50
50
|
BACKEND: 'backend',
|
|
51
|
-
NONE: ''
|
|
51
|
+
NONE: '',
|
|
52
52
|
};
|
|
53
53
|
exports.QueryComputationStatisticsStatus = {
|
|
54
54
|
SUCCESS: 'success',
|
|
55
55
|
TIMEOUT: 'timeout',
|
|
56
56
|
OTHER: 'other',
|
|
57
|
-
ALL: '*'
|
|
57
|
+
ALL: '*',
|
|
58
58
|
};
|
|
59
59
|
exports.QueryComputationStatus = {
|
|
60
60
|
SUCCESS: 'success',
|
|
@@ -73,18 +73,18 @@ exports.QueryComputationStatus = {
|
|
|
73
73
|
UNRECOVERABLE_ERROR: 'unrecoverableerror',
|
|
74
74
|
NO_OUTPUT_DATA_FOR_DEFAULT_PARAMETER_VALUES: 'nooutputdatafordefaultparametervalues',
|
|
75
75
|
MODEL_WITHOUT_GEOMETRY_OUTPUT: 'modelwithoutgeometryoutput',
|
|
76
|
-
UNKNOWN: 'unknown'
|
|
76
|
+
UNKNOWN: 'unknown',
|
|
77
77
|
};
|
|
78
78
|
exports.QueryComputationType = {
|
|
79
79
|
COMPUTATION: 'computation',
|
|
80
80
|
EXPORT: 'export',
|
|
81
81
|
LOAD: 'load',
|
|
82
|
-
ALL: '*'
|
|
82
|
+
ALL: '*',
|
|
83
83
|
};
|
|
84
84
|
exports.QueryGltfConversion = {
|
|
85
85
|
NONE: 'none',
|
|
86
86
|
SCENE: 'scene',
|
|
87
|
-
USDZ: 'usdz'
|
|
87
|
+
USDZ: 'usdz',
|
|
88
88
|
};
|
|
89
89
|
exports.QueryModelStatus = {
|
|
90
90
|
UNKNOWN: 'unknown',
|
|
@@ -93,32 +93,32 @@ exports.QueryModelStatus = {
|
|
|
93
93
|
PENDING: 'pending',
|
|
94
94
|
CONFIRMED: 'confirmed',
|
|
95
95
|
DENIED: 'denied',
|
|
96
|
-
DELETED: 'deleted'
|
|
96
|
+
DELETED: 'deleted',
|
|
97
97
|
};
|
|
98
98
|
exports.QueryOrder = {
|
|
99
99
|
ASC: 'asc',
|
|
100
|
-
DESC: 'desc'
|
|
100
|
+
DESC: 'desc',
|
|
101
101
|
};
|
|
102
102
|
exports.ReqLogLevel = {
|
|
103
103
|
INFO: '0',
|
|
104
104
|
WARN: '1',
|
|
105
|
-
ERROR: '2'
|
|
105
|
+
ERROR: '2',
|
|
106
106
|
};
|
|
107
107
|
exports.ReqModelFileType = {
|
|
108
108
|
GRASSHOPPER_BINARY: 'gh',
|
|
109
|
-
GRASSHOPPER_XML: 'ghx'
|
|
109
|
+
GRASSHOPPER_XML: 'ghx',
|
|
110
110
|
};
|
|
111
111
|
exports.ReqSdtfType = {
|
|
112
|
-
MODEL_SDTF: 'model/vnd.sdtf'
|
|
112
|
+
MODEL_SDTF: 'model/vnd.sdtf',
|
|
113
113
|
};
|
|
114
114
|
exports.ReqTicketType = {
|
|
115
115
|
BACKEND: 'backend',
|
|
116
|
-
NONE: ''
|
|
116
|
+
NONE: '',
|
|
117
117
|
};
|
|
118
118
|
exports.ReqTrustLevel = {
|
|
119
119
|
UNDEFINED: '',
|
|
120
120
|
NONE: 'none',
|
|
121
|
-
FULL: 'full'
|
|
121
|
+
FULL: 'full',
|
|
122
122
|
};
|
|
123
123
|
exports.ResComputationStatus = {
|
|
124
124
|
SUCCESS: 'success',
|
|
@@ -137,7 +137,7 @@ exports.ResComputationStatus = {
|
|
|
137
137
|
UNRECOVERABLE_ERROR: 'unrecoverableerror',
|
|
138
138
|
NO_OUTPUT_DATA_FOR_DEFAULT_PARAMETER_VALUES: 'nooutputdatafordefaultparametervalues',
|
|
139
139
|
MODEL_WITHOUT_GEOMETRY_OUTPUT: 'modelwithoutgeometryoutput',
|
|
140
|
-
UNKNOWN: 'unknown'
|
|
140
|
+
UNKNOWN: 'unknown',
|
|
141
141
|
};
|
|
142
142
|
exports.ResErrorType = {
|
|
143
143
|
ASSERTION_ERROR: 'SdAssertionError',
|
|
@@ -169,18 +169,18 @@ exports.ResErrorType = {
|
|
|
169
169
|
TOKEN_MISSING_ERROR: 'SdTokenMissingError',
|
|
170
170
|
TRANSFORM_CONTENT_ARRAY_ERROR: 'SdTransformContentArrayError',
|
|
171
171
|
UNCONFIRMED_MODEL_ERROR: 'SdUnconfirmedModelError',
|
|
172
|
-
UNKNOWN: ''
|
|
172
|
+
UNKNOWN: '',
|
|
173
173
|
};
|
|
174
174
|
exports.ResExportDefinitionType = {
|
|
175
175
|
UNKNOWN: 'unknown',
|
|
176
176
|
DOWNLOAD: 'download',
|
|
177
177
|
EMAIL: 'email',
|
|
178
|
-
SHAPEWAYS: 'shapeways'
|
|
178
|
+
SHAPEWAYS: 'shapeways',
|
|
179
179
|
};
|
|
180
180
|
exports.ResModelCleanupProcessType = {
|
|
181
181
|
DELETE_EXPORT_VERSION: 'delete_export_version',
|
|
182
182
|
DELETE_MODEL_TEXTURE: 'delete_model_texture',
|
|
183
|
-
DELETE_OUTPUT_VERSION: 'delete_output_version'
|
|
183
|
+
DELETE_OUTPUT_VERSION: 'delete_output_version',
|
|
184
184
|
};
|
|
185
185
|
exports.ResModelStatus = {
|
|
186
186
|
UNKNOWN: 'unknown',
|
|
@@ -189,7 +189,7 @@ exports.ResModelStatus = {
|
|
|
189
189
|
PENDING: 'pending',
|
|
190
190
|
CONFIRMED: 'confirmed',
|
|
191
191
|
DENIED: 'denied',
|
|
192
|
-
DELETED: 'deleted'
|
|
192
|
+
DELETED: 'deleted',
|
|
193
193
|
};
|
|
194
194
|
exports.ResParameterType = {
|
|
195
195
|
S_BITMAP: 'sBitmap',
|
|
@@ -225,16 +225,16 @@ exports.ResParameterType = {
|
|
|
225
225
|
STRING: 'String',
|
|
226
226
|
STRINGLIST: 'StringList',
|
|
227
227
|
TIME: 'Time',
|
|
228
|
-
UNKNOWN: 'unknown'
|
|
228
|
+
UNKNOWN: 'unknown',
|
|
229
229
|
};
|
|
230
230
|
exports.ResStructureType = {
|
|
231
231
|
ITEM: 'item',
|
|
232
232
|
LIST: 'list',
|
|
233
|
-
TREE: 'tree'
|
|
233
|
+
TREE: 'tree',
|
|
234
234
|
};
|
|
235
235
|
exports.ResTicketType = {
|
|
236
236
|
BACKEND: 'backend',
|
|
237
|
-
NONE: ''
|
|
237
|
+
NONE: '',
|
|
238
238
|
};
|
|
239
239
|
exports.ResVisualizationType = {
|
|
240
240
|
UNKNOWN: 'unknown',
|
|
@@ -251,7 +251,7 @@ exports.ResVisualizationType = {
|
|
|
251
251
|
SLIDER: 'slider',
|
|
252
252
|
SWATCH: 'swatch',
|
|
253
253
|
TEXT: 'text',
|
|
254
|
-
TOGGLE: 'toggle'
|
|
254
|
+
TOGGLE: 'toggle',
|
|
255
255
|
};
|
|
256
256
|
const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
257
257
|
return {
|
|
@@ -282,8 +282,8 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
282
282
|
(0, common_1.assertParamExists)('getModelOrganizationCreditMetrics', 'timestamp', timestamp);
|
|
283
283
|
(0, common_1.assertParamExists)('getModelOrganizationCreditMetrics', 'orgId', orgId);
|
|
284
284
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/org/{orgId}`
|
|
285
|
-
.replace(
|
|
286
|
-
.replace(
|
|
285
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)))
|
|
286
|
+
.replace('{orgId}', encodeURIComponent(String(orgId)));
|
|
287
287
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
288
288
|
let baseOptions;
|
|
289
289
|
if (configuration) {
|
|
@@ -302,35 +302,12 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
302
302
|
options: localVarRequestOptions,
|
|
303
303
|
};
|
|
304
304
|
}),
|
|
305
|
-
getModelStatistics: (reqModelStatistics_1, ...args_1) => __awaiter(this, [reqModelStatistics_1, ...args_1], void 0, function* (reqModelStatistics, options = {}) {
|
|
306
|
-
(0, common_1.assertParamExists)('getModelStatistics', 'reqModelStatistics', reqModelStatistics);
|
|
307
|
-
const localVarPath = `/api/v2/analytics/session/model`;
|
|
308
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
309
|
-
let baseOptions;
|
|
310
|
-
if (configuration) {
|
|
311
|
-
baseOptions = configuration.baseOptions;
|
|
312
|
-
}
|
|
313
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
314
|
-
const localVarHeaderParameter = {};
|
|
315
|
-
const localVarQueryParameter = {};
|
|
316
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
317
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
318
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
319
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
320
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
322
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reqModelStatistics, localVarRequestOptions, configuration);
|
|
323
|
-
return {
|
|
324
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
325
|
-
options: localVarRequestOptions,
|
|
326
|
-
};
|
|
327
|
-
}),
|
|
328
305
|
getModelUserCreditMetrics: (timestamp_1, userId_1, ...args_1) => __awaiter(this, [timestamp_1, userId_1, ...args_1], void 0, function* (timestamp, userId, options = {}) {
|
|
329
306
|
(0, common_1.assertParamExists)('getModelUserCreditMetrics', 'timestamp', timestamp);
|
|
330
307
|
(0, common_1.assertParamExists)('getModelUserCreditMetrics', 'userId', userId);
|
|
331
308
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/user/{userId}`
|
|
332
|
-
.replace(
|
|
333
|
-
.replace(
|
|
309
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)))
|
|
310
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
334
311
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
335
312
|
let baseOptions;
|
|
336
313
|
if (configuration) {
|
|
@@ -352,7 +329,7 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
352
329
|
getOrganizationCreditMetrics: (timestamp_1, ...args_1) => __awaiter(this, [timestamp_1, ...args_1], void 0, function* (timestamp, options = {}) {
|
|
353
330
|
(0, common_1.assertParamExists)('getOrganizationCreditMetrics', 'timestamp', timestamp);
|
|
354
331
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/org`
|
|
355
|
-
.replace(
|
|
332
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)));
|
|
356
333
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
357
334
|
let baseOptions;
|
|
358
335
|
if (configuration) {
|
|
@@ -374,7 +351,7 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
374
351
|
getUserCreditMetrics: (timestamp_1, ...args_1) => __awaiter(this, [timestamp_1, ...args_1], void 0, function* (timestamp, options = {}) {
|
|
375
352
|
(0, common_1.assertParamExists)('getUserCreditMetrics', 'timestamp', timestamp);
|
|
376
353
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/user`
|
|
377
|
-
.replace(
|
|
354
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)));
|
|
378
355
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
379
356
|
let baseOptions;
|
|
380
357
|
if (configuration) {
|
|
@@ -417,15 +394,6 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
417
394
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
418
395
|
});
|
|
419
396
|
},
|
|
420
|
-
getModelStatistics(reqModelStatistics, options) {
|
|
421
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
422
|
-
var _a, _b, _c;
|
|
423
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getModelStatistics(reqModelStatistics, options);
|
|
424
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
425
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.getModelStatistics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
426
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
427
|
-
});
|
|
428
|
-
},
|
|
429
397
|
getModelUserCreditMetrics(timestamp, userId, options) {
|
|
430
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
431
399
|
var _a, _b, _c;
|
|
@@ -465,9 +433,6 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
465
433
|
getModelOrganizationCreditMetrics(timestamp, orgId, options) {
|
|
466
434
|
return localVarFp.getModelOrganizationCreditMetrics(timestamp, orgId, options).then((request) => request(axios, basePath));
|
|
467
435
|
},
|
|
468
|
-
getModelStatistics(reqModelStatistics, options) {
|
|
469
|
-
return localVarFp.getModelStatistics(reqModelStatistics, options).then((request) => request(axios, basePath));
|
|
470
|
-
},
|
|
471
436
|
getModelUserCreditMetrics(timestamp, userId, options) {
|
|
472
437
|
return localVarFp.getModelUserCreditMetrics(timestamp, userId, options).then((request) => request(axios, basePath));
|
|
473
438
|
},
|
|
@@ -487,9 +452,6 @@ class AnalyticsApi extends base_2.BaseAPI {
|
|
|
487
452
|
getModelOrganizationCreditMetrics(timestamp, orgId, options) {
|
|
488
453
|
return (0, exports.AnalyticsApiFp)(this.configuration).getModelOrganizationCreditMetrics(timestamp, orgId, options).then((request) => request(this.axios, this.basePath));
|
|
489
454
|
}
|
|
490
|
-
getModelStatistics(reqModelStatistics, options) {
|
|
491
|
-
return (0, exports.AnalyticsApiFp)(this.configuration).getModelStatistics(reqModelStatistics, options).then((request) => request(this.axios, this.basePath));
|
|
492
|
-
}
|
|
493
455
|
getModelUserCreditMetrics(timestamp, userId, options) {
|
|
494
456
|
return (0, exports.AnalyticsApiFp)(this.configuration).getModelUserCreditMetrics(timestamp, userId, options).then((request) => request(this.axios, this.basePath));
|
|
495
457
|
}
|
|
@@ -506,7 +468,7 @@ const ArSceneApiAxiosParamCreator = function (configuration) {
|
|
|
506
468
|
downloadArSceneGltf: (sceneId_1, ...args_1) => __awaiter(this, [sceneId_1, ...args_1], void 0, function* (sceneId, options = {}) {
|
|
507
469
|
(0, common_1.assertParamExists)('downloadArSceneGltf', 'sceneId', sceneId);
|
|
508
470
|
const localVarPath = `/api/v2/ar-scene/{sceneId}/gltf`
|
|
509
|
-
.replace(
|
|
471
|
+
.replace('{sceneId}', encodeURIComponent(String(sceneId)));
|
|
510
472
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
511
473
|
let baseOptions;
|
|
512
474
|
if (configuration) {
|
|
@@ -527,7 +489,7 @@ const ArSceneApiAxiosParamCreator = function (configuration) {
|
|
|
527
489
|
downloadArSceneUsdz: (sceneId_1, ...args_1) => __awaiter(this, [sceneId_1, ...args_1], void 0, function* (sceneId, options = {}) {
|
|
528
490
|
(0, common_1.assertParamExists)('downloadArSceneUsdz', 'sceneId', sceneId);
|
|
529
491
|
const localVarPath = `/api/v2/ar-scene/{sceneId}/usdz`
|
|
530
|
-
.replace(
|
|
492
|
+
.replace('{sceneId}', encodeURIComponent(String(sceneId)));
|
|
531
493
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
532
494
|
let baseOptions;
|
|
533
495
|
if (configuration) {
|
|
@@ -548,7 +510,7 @@ const ArSceneApiAxiosParamCreator = function (configuration) {
|
|
|
548
510
|
getArSceneMetadata: (sceneId_1, ...args_1) => __awaiter(this, [sceneId_1, ...args_1], void 0, function* (sceneId, options = {}) {
|
|
549
511
|
(0, common_1.assertParamExists)('getArSceneMetadata', 'sceneId', sceneId);
|
|
550
512
|
const localVarPath = `/api/v2/ar-scene/{sceneId}`
|
|
551
|
-
.replace(
|
|
513
|
+
.replace('{sceneId}', encodeURIComponent(String(sceneId)));
|
|
552
514
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
553
515
|
let baseOptions;
|
|
554
516
|
if (configuration) {
|
|
@@ -634,7 +596,7 @@ const AssetsApiAxiosParamCreator = function (configuration) {
|
|
|
634
596
|
downloadAsset: (assetDataEncrypted_1, ...args_1) => __awaiter(this, [assetDataEncrypted_1, ...args_1], void 0, function* (assetDataEncrypted, options = {}) {
|
|
635
597
|
(0, common_1.assertParamExists)('downloadAsset', 'assetDataEncrypted', assetDataEncrypted);
|
|
636
598
|
const localVarPath = `/api/v2/download/{assetDataEncrypted}`
|
|
637
|
-
.replace(
|
|
599
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
638
600
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
639
601
|
let baseOptions;
|
|
640
602
|
if (configuration) {
|
|
@@ -656,8 +618,8 @@ const AssetsApiAxiosParamCreator = function (configuration) {
|
|
|
656
618
|
(0, common_1.assertParamExists)('downloadExport', 'sessionId', sessionId);
|
|
657
619
|
(0, common_1.assertParamExists)('downloadExport', 'assetDataEncrypted', assetDataEncrypted);
|
|
658
620
|
const localVarPath = `/api/v2/session/{sessionId}/export/{assetDataEncrypted}`
|
|
659
|
-
.replace(
|
|
660
|
-
.replace(
|
|
621
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
622
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
661
623
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
662
624
|
let baseOptions;
|
|
663
625
|
if (configuration) {
|
|
@@ -680,8 +642,8 @@ const AssetsApiAxiosParamCreator = function (configuration) {
|
|
|
680
642
|
(0, common_1.assertParamExists)('downloadGltf', 'sessionId', sessionId);
|
|
681
643
|
(0, common_1.assertParamExists)('downloadGltf', 'assetDataEncrypted', assetDataEncrypted);
|
|
682
644
|
const localVarPath = `/api/v2/session/{sessionId}/gltf/{assetDataEncrypted}`
|
|
683
|
-
.replace(
|
|
684
|
-
.replace(
|
|
645
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
646
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
685
647
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
686
648
|
let baseOptions;
|
|
687
649
|
if (configuration) {
|
|
@@ -704,7 +666,7 @@ const AssetsApiAxiosParamCreator = function (configuration) {
|
|
|
704
666
|
(0, common_1.assertParamExists)('downloadImage', 'sessionId', sessionId);
|
|
705
667
|
(0, common_1.assertParamExists)('downloadImage', 'url', url);
|
|
706
668
|
const localVarPath = `/api/v2/session/{sessionId}/image`
|
|
707
|
-
.replace(
|
|
669
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
708
670
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
709
671
|
let baseOptions;
|
|
710
672
|
if (configuration) {
|
|
@@ -730,8 +692,8 @@ const AssetsApiAxiosParamCreator = function (configuration) {
|
|
|
730
692
|
(0, common_1.assertParamExists)('downloadOutput', 'sessionId', sessionId);
|
|
731
693
|
(0, common_1.assertParamExists)('downloadOutput', 'assetDataEncrypted', assetDataEncrypted);
|
|
732
694
|
const localVarPath = `/api/v2/session/{sessionId}/output/{assetDataEncrypted}`
|
|
733
|
-
.replace(
|
|
734
|
-
.replace(
|
|
695
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
696
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
735
697
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
736
698
|
let baseOptions;
|
|
737
699
|
if (configuration) {
|
|
@@ -754,8 +716,8 @@ const AssetsApiAxiosParamCreator = function (configuration) {
|
|
|
754
716
|
(0, common_1.assertParamExists)('downloadTexture', 'sessionId', sessionId);
|
|
755
717
|
(0, common_1.assertParamExists)('downloadTexture', 'assetDataEncrypted', assetDataEncrypted);
|
|
756
718
|
const localVarPath = `/api/v2/session/{sessionId}/texture/{assetDataEncrypted}`
|
|
757
|
-
.replace(
|
|
758
|
-
.replace(
|
|
719
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
720
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
759
721
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
760
722
|
let baseOptions;
|
|
761
723
|
if (configuration) {
|
|
@@ -778,8 +740,8 @@ const AssetsApiAxiosParamCreator = function (configuration) {
|
|
|
778
740
|
(0, common_1.assertParamExists)('downloadUsdz', 'sessionId', sessionId);
|
|
779
741
|
(0, common_1.assertParamExists)('downloadUsdz', 'assetDataEncrypted', assetDataEncrypted);
|
|
780
742
|
const localVarPath = `/api/v2/session/{sessionId}/usdz/{assetDataEncrypted}`
|
|
781
|
-
.replace(
|
|
782
|
-
.replace(
|
|
743
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
744
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
783
745
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
784
746
|
let baseOptions;
|
|
785
747
|
if (configuration) {
|
|
@@ -1039,7 +1001,7 @@ const ExportApiAxiosParamCreator = function (configuration) {
|
|
|
1039
1001
|
(0, common_1.assertParamExists)('computeExports', 'sessionId', sessionId);
|
|
1040
1002
|
(0, common_1.assertParamExists)('computeExports', 'reqExport', reqExport);
|
|
1041
1003
|
const localVarPath = `/api/v2/session/{sessionId}/export`
|
|
1042
|
-
.replace(
|
|
1004
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
1043
1005
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1044
1006
|
let baseOptions;
|
|
1045
1007
|
if (configuration) {
|
|
@@ -1067,7 +1029,7 @@ const ExportApiAxiosParamCreator = function (configuration) {
|
|
|
1067
1029
|
(0, common_1.assertParamExists)('getCachedExports', 'sessionId', sessionId);
|
|
1068
1030
|
(0, common_1.assertParamExists)('getCachedExports', 'reqExportOrCache', reqExportOrCache);
|
|
1069
1031
|
const localVarPath = `/api/v2/session/{sessionId}/export/cache`
|
|
1070
|
-
.replace(
|
|
1032
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
1071
1033
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1072
1034
|
let baseOptions;
|
|
1073
1035
|
if (configuration) {
|
|
@@ -1092,8 +1054,8 @@ const ExportApiAxiosParamCreator = function (configuration) {
|
|
|
1092
1054
|
(0, common_1.assertParamExists)('listExportVersions', 'sessionId', sessionId);
|
|
1093
1055
|
(0, common_1.assertParamExists)('listExportVersions', 'exportId', exportId);
|
|
1094
1056
|
const localVarPath = `/api/v2/session/{sessionId}/export/{exportId}/list`
|
|
1095
|
-
.replace(
|
|
1096
|
-
.replace(
|
|
1057
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
1058
|
+
.replace('{exportId}', encodeURIComponent(String(exportId)));
|
|
1097
1059
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1098
1060
|
let baseOptions;
|
|
1099
1061
|
if (configuration) {
|
|
@@ -1125,7 +1087,7 @@ const ExportApiAxiosParamCreator = function (configuration) {
|
|
|
1125
1087
|
(0, common_1.assertParamExists)('updateExportDefinitions', 'modelId', modelId);
|
|
1126
1088
|
(0, common_1.assertParamExists)('updateExportDefinitions', 'reqExportDefinitions', reqExportDefinitions);
|
|
1127
1089
|
const localVarPath = `/api/v2/model/{modelId}/export`
|
|
1128
|
-
.replace(
|
|
1090
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1129
1091
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1130
1092
|
let baseOptions;
|
|
1131
1093
|
if (configuration) {
|
|
@@ -1231,9 +1193,9 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
1231
1193
|
(0, common_1.assertParamExists)('deleteFile', 'paramId', paramId);
|
|
1232
1194
|
(0, common_1.assertParamExists)('deleteFile', 'fileId', fileId);
|
|
1233
1195
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/{fileId}`
|
|
1234
|
-
.replace(
|
|
1235
|
-
.replace(
|
|
1236
|
-
.replace(
|
|
1196
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
1197
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)))
|
|
1198
|
+
.replace('{fileId}', encodeURIComponent(String(fileId)));
|
|
1237
1199
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1238
1200
|
let baseOptions;
|
|
1239
1201
|
if (configuration) {
|
|
@@ -1257,9 +1219,9 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
1257
1219
|
(0, common_1.assertParamExists)('downloadFile', 'paramId', paramId);
|
|
1258
1220
|
(0, common_1.assertParamExists)('downloadFile', 'fileId', fileId);
|
|
1259
1221
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/{fileId}`
|
|
1260
|
-
.replace(
|
|
1261
|
-
.replace(
|
|
1262
|
-
.replace(
|
|
1222
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
1223
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)))
|
|
1224
|
+
.replace('{fileId}', encodeURIComponent(String(fileId)));
|
|
1263
1225
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1264
1226
|
let baseOptions;
|
|
1265
1227
|
if (configuration) {
|
|
@@ -1283,9 +1245,9 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
1283
1245
|
(0, common_1.assertParamExists)('getFileMetadata', 'paramId', paramId);
|
|
1284
1246
|
(0, common_1.assertParamExists)('getFileMetadata', 'fileId', fileId);
|
|
1285
1247
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/{fileId}`
|
|
1286
|
-
.replace(
|
|
1287
|
-
.replace(
|
|
1288
|
-
.replace(
|
|
1248
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
1249
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)))
|
|
1250
|
+
.replace('{fileId}', encodeURIComponent(String(fileId)));
|
|
1289
1251
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1290
1252
|
let baseOptions;
|
|
1291
1253
|
if (configuration) {
|
|
@@ -1308,8 +1270,8 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
1308
1270
|
(0, common_1.assertParamExists)('listFiles', 'sessionId', sessionId);
|
|
1309
1271
|
(0, common_1.assertParamExists)('listFiles', 'paramId', paramId);
|
|
1310
1272
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/list`
|
|
1311
|
-
.replace(
|
|
1312
|
-
.replace(
|
|
1273
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
1274
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)));
|
|
1313
1275
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1314
1276
|
let baseOptions;
|
|
1315
1277
|
if (configuration) {
|
|
@@ -1335,7 +1297,7 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
1335
1297
|
(0, common_1.assertParamExists)('uploadFile', 'sessionId', sessionId);
|
|
1336
1298
|
(0, common_1.assertParamExists)('uploadFile', 'reqFileUpload', reqFileUpload);
|
|
1337
1299
|
const localVarPath = `/api/v2/session/{sessionId}/file/upload`
|
|
1338
|
-
.replace(
|
|
1300
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
1339
1301
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1340
1302
|
let baseOptions;
|
|
1341
1303
|
if (configuration) {
|
|
@@ -1455,7 +1417,7 @@ const GltfApiAxiosParamCreator = function (configuration) {
|
|
|
1455
1417
|
(0, common_1.assertParamExists)('uploadGltf', 'sessionId', sessionId);
|
|
1456
1418
|
(0, common_1.assertParamExists)('uploadGltf', 'body', body);
|
|
1457
1419
|
const localVarPath = `/api/v2/session/{sessionId}/gltf`
|
|
1458
|
-
.replace(
|
|
1420
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
1459
1421
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1460
1422
|
let baseOptions;
|
|
1461
1423
|
if (configuration) {
|
|
@@ -1518,7 +1480,7 @@ const LogApiAxiosParamCreator = function (configuration) {
|
|
|
1518
1480
|
(0, common_1.assertParamExists)('logMessage', 'sessionId', sessionId);
|
|
1519
1481
|
(0, common_1.assertParamExists)('logMessage', 'reqLogMessage', reqLogMessage);
|
|
1520
1482
|
const localVarPath = `/api/v2/session/{sessionId}/log/message`
|
|
1521
|
-
.replace(
|
|
1483
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
1522
1484
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1523
1485
|
let baseOptions;
|
|
1524
1486
|
if (configuration) {
|
|
@@ -1578,7 +1540,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1578
1540
|
(0, common_1.assertParamExists)('cleanupExports', 'modelId', modelId);
|
|
1579
1541
|
(0, common_1.assertParamExists)('cleanupExports', 'untilLastSeen', untilLastSeen);
|
|
1580
1542
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/export`
|
|
1581
|
-
.replace(
|
|
1543
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1582
1544
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1583
1545
|
let baseOptions;
|
|
1584
1546
|
if (configuration) {
|
|
@@ -1604,7 +1566,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1604
1566
|
(0, common_1.assertParamExists)('cleanupOutputs', 'modelId', modelId);
|
|
1605
1567
|
(0, common_1.assertParamExists)('cleanupOutputs', 'untilLastSeen', untilLastSeen);
|
|
1606
1568
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/output`
|
|
1607
|
-
.replace(
|
|
1569
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1608
1570
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1609
1571
|
let baseOptions;
|
|
1610
1572
|
if (configuration) {
|
|
@@ -1630,7 +1592,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1630
1592
|
(0, common_1.assertParamExists)('cleanupTextures', 'modelId', modelId);
|
|
1631
1593
|
(0, common_1.assertParamExists)('cleanupTextures', 'untilLastSeen', untilLastSeen);
|
|
1632
1594
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/texture`
|
|
1633
|
-
.replace(
|
|
1595
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1634
1596
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1635
1597
|
let baseOptions;
|
|
1636
1598
|
if (configuration) {
|
|
@@ -1679,7 +1641,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1679
1641
|
(0, common_1.assertParamExists)('createModelConfig', 'modelId', modelId);
|
|
1680
1642
|
(0, common_1.assertParamExists)('createModelConfig', 'reqConfigure', reqConfigure);
|
|
1681
1643
|
const localVarPath = `/api/v2/model/{modelId}/config`
|
|
1682
|
-
.replace(
|
|
1644
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1683
1645
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1684
1646
|
let baseOptions;
|
|
1685
1647
|
if (configuration) {
|
|
@@ -1703,7 +1665,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1703
1665
|
deleteModel: (modelId_1, ...args_1) => __awaiter(this, [modelId_1, ...args_1], void 0, function* (modelId, options = {}) {
|
|
1704
1666
|
(0, common_1.assertParamExists)('deleteModel', 'modelId', modelId);
|
|
1705
1667
|
const localVarPath = `/api/v2/model/{modelId}`
|
|
1706
|
-
.replace(
|
|
1668
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1707
1669
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1708
1670
|
let baseOptions;
|
|
1709
1671
|
if (configuration) {
|
|
@@ -1725,7 +1687,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1725
1687
|
downloadModelFile: (modelId_1, ...args_1) => __awaiter(this, [modelId_1, ...args_1], void 0, function* (modelId, options = {}) {
|
|
1726
1688
|
(0, common_1.assertParamExists)('downloadModelFile', 'modelId', modelId);
|
|
1727
1689
|
const localVarPath = `/api/v2/model/{modelId}/file/download`
|
|
1728
|
-
.replace(
|
|
1690
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1729
1691
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1730
1692
|
let baseOptions;
|
|
1731
1693
|
if (configuration) {
|
|
@@ -1747,7 +1709,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1747
1709
|
getCleanupStatus: (modelId_1, ...args_1) => __awaiter(this, [modelId_1, ...args_1], void 0, function* (modelId, options = {}) {
|
|
1748
1710
|
(0, common_1.assertParamExists)('getCleanupStatus', 'modelId', modelId);
|
|
1749
1711
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/status`
|
|
1750
|
-
.replace(
|
|
1712
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1751
1713
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1752
1714
|
let baseOptions;
|
|
1753
1715
|
if (configuration) {
|
|
@@ -1769,7 +1731,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1769
1731
|
getModel: (modelId_1, ...args_1) => __awaiter(this, [modelId_1, ...args_1], void 0, function* (modelId, options = {}) {
|
|
1770
1732
|
(0, common_1.assertParamExists)('getModel', 'modelId', modelId);
|
|
1771
1733
|
const localVarPath = `/api/v2/model/{modelId}`
|
|
1772
|
-
.replace(
|
|
1734
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1773
1735
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1774
1736
|
let baseOptions;
|
|
1775
1737
|
if (configuration) {
|
|
@@ -1791,7 +1753,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1791
1753
|
getModelComputations: (modelId_1, order_1, timestampFrom_1, timestampTo_1, status_1, type_1, limit_1, strictLimit_1, offset_1, ...args_1) => __awaiter(this, [modelId_1, order_1, timestampFrom_1, timestampTo_1, status_1, type_1, limit_1, strictLimit_1, offset_1, ...args_1], void 0, function* (modelId, order, timestampFrom, timestampTo, status, type, limit, strictLimit, offset, options = {}) {
|
|
1792
1754
|
(0, common_1.assertParamExists)('getModelComputations', 'modelId', modelId);
|
|
1793
1755
|
const localVarPath = `/api/v2/model/{modelId}/computations`
|
|
1794
|
-
.replace(
|
|
1756
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1795
1757
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1796
1758
|
let baseOptions;
|
|
1797
1759
|
if (configuration) {
|
|
@@ -1837,7 +1799,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1837
1799
|
getModelConfig: (modelId_1, xShapediverNoconvert_1, xShapediverUseconfigversion_1, xShapediverBuildversion_1, ...args_1) => __awaiter(this, [modelId_1, xShapediverNoconvert_1, xShapediverUseconfigversion_1, xShapediverBuildversion_1, ...args_1], void 0, function* (modelId, xShapediverNoconvert, xShapediverUseconfigversion, xShapediverBuildversion, options = {}) {
|
|
1838
1800
|
(0, common_1.assertParamExists)('getModelConfig', 'modelId', modelId);
|
|
1839
1801
|
const localVarPath = `/api/v2/model/{modelId}/config`
|
|
1840
|
-
.replace(
|
|
1802
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1841
1803
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1842
1804
|
let baseOptions;
|
|
1843
1805
|
if (configuration) {
|
|
@@ -1851,7 +1813,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1851
1813
|
if (xShapediverNoconvert != null) {
|
|
1852
1814
|
localVarHeaderParameter['x-shapediver-noconvert'] = typeof xShapediverNoconvert === 'string'
|
|
1853
1815
|
? xShapediverNoconvert
|
|
1854
|
-
: JSON.stringify(xShapediverNoconvert);
|
|
1816
|
+
: JSON.stringify(xShapediverNoconvert, common_1.replaceWithSerializableTypeIfNeeded);
|
|
1855
1817
|
}
|
|
1856
1818
|
if (xShapediverUseconfigversion != null) {
|
|
1857
1819
|
localVarHeaderParameter['x-shapediver-useconfigversion'] = String(xShapediverUseconfigversion);
|
|
@@ -1896,7 +1858,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1896
1858
|
restoreModel: (modelId_1, ...args_1) => __awaiter(this, [modelId_1, ...args_1], void 0, function* (modelId, options = {}) {
|
|
1897
1859
|
(0, common_1.assertParamExists)('restoreModel', 'modelId', modelId);
|
|
1898
1860
|
const localVarPath = `/api/v2/model/{modelId}/restore`
|
|
1899
|
-
.replace(
|
|
1861
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1900
1862
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1901
1863
|
let baseOptions;
|
|
1902
1864
|
if (configuration) {
|
|
@@ -1919,7 +1881,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1919
1881
|
(0, common_1.assertParamExists)('updateModel', 'modelId', modelId);
|
|
1920
1882
|
(0, common_1.assertParamExists)('updateModel', 'reqModel', reqModel);
|
|
1921
1883
|
const localVarPath = `/api/v2/model/{modelId}`
|
|
1922
|
-
.replace(
|
|
1884
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1923
1885
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1924
1886
|
let baseOptions;
|
|
1925
1887
|
if (configuration) {
|
|
@@ -1944,7 +1906,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1944
1906
|
(0, common_1.assertParamExists)('updateModelConfig', 'modelId', modelId);
|
|
1945
1907
|
(0, common_1.assertParamExists)('updateModelConfig', 'reqConfigure', reqConfigure);
|
|
1946
1908
|
const localVarPath = `/api/v2/model/{modelId}/config`
|
|
1947
|
-
.replace(
|
|
1909
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1948
1910
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1949
1911
|
let baseOptions;
|
|
1950
1912
|
if (configuration) {
|
|
@@ -1969,7 +1931,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1969
1931
|
(0, common_1.assertParamExists)('updateParameterDefaultValues', 'modelId', modelId);
|
|
1970
1932
|
(0, common_1.assertParamExists)('updateParameterDefaultValues', 'reqCustomization', reqCustomization);
|
|
1971
1933
|
const localVarPath = `/api/v2/model/{modelId}/parameter/defval`
|
|
1972
|
-
.replace(
|
|
1934
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
1973
1935
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1974
1936
|
let baseOptions;
|
|
1975
1937
|
if (configuration) {
|
|
@@ -1997,7 +1959,7 @@ const ModelApiAxiosParamCreator = function (configuration) {
|
|
|
1997
1959
|
(0, common_1.assertParamExists)('updateParameterDefinitions', 'modelId', modelId);
|
|
1998
1960
|
(0, common_1.assertParamExists)('updateParameterDefinitions', 'reqParameterDefinitions', reqParameterDefinitions);
|
|
1999
1961
|
const localVarPath = `/api/v2/model/{modelId}/parameter`
|
|
2000
|
-
.replace(
|
|
1962
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
2001
1963
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2002
1964
|
let baseOptions;
|
|
2003
1965
|
if (configuration) {
|
|
@@ -2297,7 +2259,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2297
2259
|
(0, common_1.assertParamExists)('createModelState', 'sessionId', sessionId);
|
|
2298
2260
|
(0, common_1.assertParamExists)('createModelState', 'reqModelState', reqModelState);
|
|
2299
2261
|
const localVarPath = `/api/v2/session/{sessionId}/model-state`
|
|
2300
|
-
.replace(
|
|
2262
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
2301
2263
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2302
2264
|
let baseOptions;
|
|
2303
2265
|
if (configuration) {
|
|
@@ -2324,7 +2286,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2324
2286
|
deleteModelState: (modelStateId_1, ...args_1) => __awaiter(this, [modelStateId_1, ...args_1], void 0, function* (modelStateId, options = {}) {
|
|
2325
2287
|
(0, common_1.assertParamExists)('deleteModelState', 'modelStateId', modelStateId);
|
|
2326
2288
|
const localVarPath = `/api/v2/model-state/{modelStateId}`
|
|
2327
|
-
.replace(
|
|
2289
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
2328
2290
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2329
2291
|
let baseOptions;
|
|
2330
2292
|
if (configuration) {
|
|
@@ -2346,7 +2308,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2346
2308
|
downloadModelStateImage: (modelStateId_1, ...args_1) => __awaiter(this, [modelStateId_1, ...args_1], void 0, function* (modelStateId, options = {}) {
|
|
2347
2309
|
(0, common_1.assertParamExists)('downloadModelStateImage', 'modelStateId', modelStateId);
|
|
2348
2310
|
const localVarPath = `/api/v2/model-state/{modelStateId}/image`
|
|
2349
|
-
.replace(
|
|
2311
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
2350
2312
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2351
2313
|
let baseOptions;
|
|
2352
2314
|
if (configuration) {
|
|
@@ -2367,7 +2329,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2367
2329
|
getModelState: (modelStateId_1, ...args_1) => __awaiter(this, [modelStateId_1, ...args_1], void 0, function* (modelStateId, options = {}) {
|
|
2368
2330
|
(0, common_1.assertParamExists)('getModelState', 'modelStateId', modelStateId);
|
|
2369
2331
|
const localVarPath = `/api/v2/model-state/{modelStateId}`
|
|
2370
|
-
.replace(
|
|
2332
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
2371
2333
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2372
2334
|
let baseOptions;
|
|
2373
2335
|
if (configuration) {
|
|
@@ -2389,7 +2351,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2389
2351
|
getModelStateData: (modelStateId_1, ...args_1) => __awaiter(this, [modelStateId_1, ...args_1], void 0, function* (modelStateId, options = {}) {
|
|
2390
2352
|
(0, common_1.assertParamExists)('getModelStateData', 'modelStateId', modelStateId);
|
|
2391
2353
|
const localVarPath = `/api/v2/model-state/{modelStateId}/data`
|
|
2392
|
-
.replace(
|
|
2354
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
2393
2355
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2394
2356
|
let baseOptions;
|
|
2395
2357
|
if (configuration) {
|
|
@@ -2410,7 +2372,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2410
2372
|
getModelStateImageMetadata: (modelStateId_1, ...args_1) => __awaiter(this, [modelStateId_1, ...args_1], void 0, function* (modelStateId, options = {}) {
|
|
2411
2373
|
(0, common_1.assertParamExists)('getModelStateImageMetadata', 'modelStateId', modelStateId);
|
|
2412
2374
|
const localVarPath = `/api/v2/model-state/{modelStateId}/image`
|
|
2413
|
-
.replace(
|
|
2375
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
2414
2376
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2415
2377
|
let baseOptions;
|
|
2416
2378
|
if (configuration) {
|
|
@@ -2431,7 +2393,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2431
2393
|
getModelStateMetadata: (modelStateId_1, ...args_1) => __awaiter(this, [modelStateId_1, ...args_1], void 0, function* (modelStateId, options = {}) {
|
|
2432
2394
|
(0, common_1.assertParamExists)('getModelStateMetadata', 'modelStateId', modelStateId);
|
|
2433
2395
|
const localVarPath = `/api/v2/model-state/{modelStateId}`
|
|
2434
|
-
.replace(
|
|
2396
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
2435
2397
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2436
2398
|
let baseOptions;
|
|
2437
2399
|
if (configuration) {
|
|
@@ -2452,7 +2414,7 @@ const ModelStateApiAxiosParamCreator = function (configuration) {
|
|
|
2452
2414
|
listModelStates: (modelId_1, offset_1, ...args_1) => __awaiter(this, [modelId_1, offset_1, ...args_1], void 0, function* (modelId, offset, options = {}) {
|
|
2453
2415
|
(0, common_1.assertParamExists)('listModelStates', 'modelId', modelId);
|
|
2454
2416
|
const localVarPath = `/api/v2/model-state/model/{modelId}/list`
|
|
2455
|
-
.replace(
|
|
2417
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
2456
2418
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2457
2419
|
let baseOptions;
|
|
2458
2420
|
if (configuration) {
|
|
@@ -2618,7 +2580,7 @@ const OutputApiAxiosParamCreator = function (configuration) {
|
|
|
2618
2580
|
(0, common_1.assertParamExists)('computeOutputs', 'sessionId', sessionId);
|
|
2619
2581
|
(0, common_1.assertParamExists)('computeOutputs', 'reqCustomization', reqCustomization);
|
|
2620
2582
|
const localVarPath = `/api/v2/session/{sessionId}/output`
|
|
2621
|
-
.replace(
|
|
2583
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
2622
2584
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2623
2585
|
let baseOptions;
|
|
2624
2586
|
if (configuration) {
|
|
@@ -2646,7 +2608,7 @@ const OutputApiAxiosParamCreator = function (configuration) {
|
|
|
2646
2608
|
(0, common_1.assertParamExists)('getCachedOutputs', 'sessionId', sessionId);
|
|
2647
2609
|
(0, common_1.assertParamExists)('getCachedOutputs', 'reqCacheReqCustomization', reqCacheReqCustomization);
|
|
2648
2610
|
const localVarPath = `/api/v2/session/{sessionId}/output/cache`
|
|
2649
|
-
.replace(
|
|
2611
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
2650
2612
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2651
2613
|
let baseOptions;
|
|
2652
2614
|
if (configuration) {
|
|
@@ -2671,8 +2633,8 @@ const OutputApiAxiosParamCreator = function (configuration) {
|
|
|
2671
2633
|
(0, common_1.assertParamExists)('listOutputVersions', 'sessionId', sessionId);
|
|
2672
2634
|
(0, common_1.assertParamExists)('listOutputVersions', 'outputId', outputId);
|
|
2673
2635
|
const localVarPath = `/api/v2/session/{sessionId}/output/{outputId}/list`
|
|
2674
|
-
.replace(
|
|
2675
|
-
.replace(
|
|
2636
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
2637
|
+
.replace('{outputId}', encodeURIComponent(String(outputId)));
|
|
2676
2638
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2677
2639
|
let baseOptions;
|
|
2678
2640
|
if (configuration) {
|
|
@@ -2704,7 +2666,7 @@ const OutputApiAxiosParamCreator = function (configuration) {
|
|
|
2704
2666
|
(0, common_1.assertParamExists)('updateOutputDefinitions', 'modelId', modelId);
|
|
2705
2667
|
(0, common_1.assertParamExists)('updateOutputDefinitions', 'reqOutputDefinitions', reqOutputDefinitions);
|
|
2706
2668
|
const localVarPath = `/api/v2/model/{modelId}/output`
|
|
2707
|
-
.replace(
|
|
2669
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
2708
2670
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2709
2671
|
let baseOptions;
|
|
2710
2672
|
if (configuration) {
|
|
@@ -2808,7 +2770,7 @@ const ScriptApiAxiosParamCreator = function (configuration) {
|
|
|
2808
2770
|
confirmScript: (scriptId_1, ...args_1) => __awaiter(this, [scriptId_1, ...args_1], void 0, function* (scriptId, options = {}) {
|
|
2809
2771
|
(0, common_1.assertParamExists)('confirmScript', 'scriptId', scriptId);
|
|
2810
2772
|
const localVarPath = `/api/v2/script/{scriptId}/confirm`
|
|
2811
|
-
.replace(
|
|
2773
|
+
.replace('{scriptId}', encodeURIComponent(String(scriptId)));
|
|
2812
2774
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2813
2775
|
let baseOptions;
|
|
2814
2776
|
if (configuration) {
|
|
@@ -2830,7 +2792,7 @@ const ScriptApiAxiosParamCreator = function (configuration) {
|
|
|
2830
2792
|
denyScript: (scriptId_1, ...args_1) => __awaiter(this, [scriptId_1, ...args_1], void 0, function* (scriptId, options = {}) {
|
|
2831
2793
|
(0, common_1.assertParamExists)('denyScript', 'scriptId', scriptId);
|
|
2832
2794
|
const localVarPath = `/api/v2/script/{scriptId}/deny`
|
|
2833
|
-
.replace(
|
|
2795
|
+
.replace('{scriptId}', encodeURIComponent(String(scriptId)));
|
|
2834
2796
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2835
2797
|
let baseOptions;
|
|
2836
2798
|
if (configuration) {
|
|
@@ -2904,9 +2866,9 @@ const SdtfApiAxiosParamCreator = function (configuration) {
|
|
|
2904
2866
|
(0, common_1.assertParamExists)('deleteSdtf', 'namespace', namespace);
|
|
2905
2867
|
(0, common_1.assertParamExists)('deleteSdtf', 'sdtfId', sdtfId);
|
|
2906
2868
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/{namespace}/{sdtfId}`
|
|
2907
|
-
.replace(
|
|
2908
|
-
.replace(
|
|
2909
|
-
.replace(
|
|
2869
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
2870
|
+
.replace('{namespace}', encodeURIComponent(String(namespace)))
|
|
2871
|
+
.replace('{sdtfId}', encodeURIComponent(String(sdtfId)));
|
|
2910
2872
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2911
2873
|
let baseOptions;
|
|
2912
2874
|
if (configuration) {
|
|
@@ -2930,9 +2892,9 @@ const SdtfApiAxiosParamCreator = function (configuration) {
|
|
|
2930
2892
|
(0, common_1.assertParamExists)('downloadSdtf', 'namespace', namespace);
|
|
2931
2893
|
(0, common_1.assertParamExists)('downloadSdtf', 'sdtfId', sdtfId);
|
|
2932
2894
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/{namespace}/{sdtfId}`
|
|
2933
|
-
.replace(
|
|
2934
|
-
.replace(
|
|
2935
|
-
.replace(
|
|
2895
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
2896
|
+
.replace('{namespace}', encodeURIComponent(String(namespace)))
|
|
2897
|
+
.replace('{sdtfId}', encodeURIComponent(String(sdtfId)));
|
|
2936
2898
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2937
2899
|
let baseOptions;
|
|
2938
2900
|
if (configuration) {
|
|
@@ -2955,8 +2917,8 @@ const SdtfApiAxiosParamCreator = function (configuration) {
|
|
|
2955
2917
|
(0, common_1.assertParamExists)('listSdtfs', 'sessionId', sessionId);
|
|
2956
2918
|
(0, common_1.assertParamExists)('listSdtfs', 'namespace', namespace);
|
|
2957
2919
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/{namespace}/list`
|
|
2958
|
-
.replace(
|
|
2959
|
-
.replace(
|
|
2920
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
2921
|
+
.replace('{namespace}', encodeURIComponent(String(namespace)));
|
|
2960
2922
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2961
2923
|
let baseOptions;
|
|
2962
2924
|
if (configuration) {
|
|
@@ -2982,7 +2944,7 @@ const SdtfApiAxiosParamCreator = function (configuration) {
|
|
|
2982
2944
|
(0, common_1.assertParamExists)('uploadSdtf', 'sessionId', sessionId);
|
|
2983
2945
|
(0, common_1.assertParamExists)('uploadSdtf', 'reqSdtfDefinition', reqSdtfDefinition);
|
|
2984
2946
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/upload`
|
|
2985
|
-
.replace(
|
|
2947
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
2986
2948
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2987
2949
|
let baseOptions;
|
|
2988
2950
|
if (configuration) {
|
|
@@ -3086,7 +3048,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3086
3048
|
closeSession: (sessionId_1, ...args_1) => __awaiter(this, [sessionId_1, ...args_1], void 0, function* (sessionId, options = {}) {
|
|
3087
3049
|
(0, common_1.assertParamExists)('closeSession', 'sessionId', sessionId);
|
|
3088
3050
|
const localVarPath = `/api/v2/session/{sessionId}/close`
|
|
3089
|
-
.replace(
|
|
3051
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
3090
3052
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3091
3053
|
let baseOptions;
|
|
3092
3054
|
if (configuration) {
|
|
@@ -3108,7 +3070,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3108
3070
|
createSessionByModel: (modelId_1, modelStateId_1, ignoreUnknownParams_1, strictModelStateValidation_1, reqCustomizationOrExport_1, ...args_1) => __awaiter(this, [modelId_1, modelStateId_1, ignoreUnknownParams_1, strictModelStateValidation_1, reqCustomizationOrExport_1, ...args_1], void 0, function* (modelId, modelStateId, ignoreUnknownParams, strictModelStateValidation, reqCustomizationOrExport, options = {}) {
|
|
3109
3071
|
(0, common_1.assertParamExists)('createSessionByModel', 'modelId', modelId);
|
|
3110
3072
|
const localVarPath = `/api/v2/model/{modelId}/session`
|
|
3111
|
-
.replace(
|
|
3073
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
3112
3074
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3113
3075
|
let baseOptions;
|
|
3114
3076
|
if (configuration) {
|
|
@@ -3141,7 +3103,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3141
3103
|
createSessionByTicket: (ticketId_1, modelStateId_1, ignoreUnknownParams_1, strictModelStateValidation_1, reqCustomizationOrExport_1, ...args_1) => __awaiter(this, [ticketId_1, modelStateId_1, ignoreUnknownParams_1, strictModelStateValidation_1, reqCustomizationOrExport_1, ...args_1], void 0, function* (ticketId, modelStateId, ignoreUnknownParams, strictModelStateValidation, reqCustomizationOrExport, options = {}) {
|
|
3142
3104
|
(0, common_1.assertParamExists)('createSessionByTicket', 'ticketId', ticketId);
|
|
3143
3105
|
const localVarPath = `/api/v2/ticket/{ticketId}`
|
|
3144
|
-
.replace(
|
|
3106
|
+
.replace('{ticketId}', encodeURIComponent(String(ticketId)));
|
|
3145
3107
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3146
3108
|
let baseOptions;
|
|
3147
3109
|
if (configuration) {
|
|
@@ -3175,7 +3137,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3175
3137
|
(0, common_1.assertParamExists)('createTicket', 'modelId', modelId);
|
|
3176
3138
|
(0, common_1.assertParamExists)('createTicket', 'reqTicket', reqTicket);
|
|
3177
3139
|
const localVarPath = `/api/v2/model/{modelId}/ticket`
|
|
3178
|
-
.replace(
|
|
3140
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
3179
3141
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3180
3142
|
let baseOptions;
|
|
3181
3143
|
if (configuration) {
|
|
@@ -3199,7 +3161,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3199
3161
|
decryptTicket: (ticketEncrypted_1, ...args_1) => __awaiter(this, [ticketEncrypted_1, ...args_1], void 0, function* (ticketEncrypted, options = {}) {
|
|
3200
3162
|
(0, common_1.assertParamExists)('decryptTicket', 'ticketEncrypted', ticketEncrypted);
|
|
3201
3163
|
const localVarPath = `/api/v2/ticket/{ticketEncrypted}`
|
|
3202
|
-
.replace(
|
|
3164
|
+
.replace('{ticketEncrypted}', encodeURIComponent(String(ticketEncrypted)));
|
|
3203
3165
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3204
3166
|
let baseOptions;
|
|
3205
3167
|
if (configuration) {
|
|
@@ -3221,7 +3183,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
3221
3183
|
getSessionDefaults: (sessionId_1, ...args_1) => __awaiter(this, [sessionId_1, ...args_1], void 0, function* (sessionId, options = {}) {
|
|
3222
3184
|
(0, common_1.assertParamExists)('getSessionDefaults', 'sessionId', sessionId);
|
|
3223
3185
|
const localVarPath = `/api/v2/session/{sessionId}/default`
|
|
3224
|
-
.replace(
|
|
3186
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
3225
3187
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3226
3188
|
let baseOptions;
|
|
3227
3189
|
if (configuration) {
|
|
@@ -3354,8 +3316,8 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
3354
3316
|
(0, common_1.assertParamExists)('createSignedUrl', 'endpoint', endpoint);
|
|
3355
3317
|
(0, common_1.assertParamExists)('createSignedUrl', 'encodedUri', encodedUri);
|
|
3356
3318
|
const localVarPath = `/api/v2/system/sign/cdn/{endpoint}/{encodedUri}`
|
|
3357
|
-
.replace(
|
|
3358
|
-
.replace(
|
|
3319
|
+
.replace('{endpoint}', encodeURIComponent(String(endpoint)))
|
|
3320
|
+
.replace('{encodedUri}', encodeURIComponent(String(encodedUri)));
|
|
3359
3321
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3360
3322
|
let baseOptions;
|
|
3361
3323
|
if (configuration) {
|
|
@@ -3377,7 +3339,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
3377
3339
|
eraseModel: (modelId_1, ...args_1) => __awaiter(this, [modelId_1, ...args_1], void 0, function* (modelId, options = {}) {
|
|
3378
3340
|
(0, common_1.assertParamExists)('eraseModel', 'modelId', modelId);
|
|
3379
3341
|
const localVarPath = `/api/v2/system/model/{modelId}`
|
|
3380
|
-
.replace(
|
|
3342
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
3381
3343
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3382
3344
|
let baseOptions;
|
|
3383
3345
|
if (configuration) {
|
|
@@ -3556,7 +3518,7 @@ const TextureApiAxiosParamCreator = function (configuration) {
|
|
|
3556
3518
|
listTextures: (sessionId_1, offset_1, ...args_1) => __awaiter(this, [sessionId_1, offset_1, ...args_1], void 0, function* (sessionId, offset, options = {}) {
|
|
3557
3519
|
(0, common_1.assertParamExists)('listTextures', 'sessionId', sessionId);
|
|
3558
3520
|
const localVarPath = `/api/v2/session/{sessionId}/texture/list`
|
|
3559
|
-
.replace(
|
|
3521
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
3560
3522
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3561
3523
|
let baseOptions;
|
|
3562
3524
|
if (configuration) {
|