@shapediver/sdk.geometry-api-sdk-v2 3.4.2 → 3.5.1
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 -53
- 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 +122 -355
- 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/src/client/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Geometry Backend API v2
|
|
5
5
|
* The ShapeDiver Geometry Backend system is used to: * host Grasshopper models in a secure, reliable, scalable, and performant way, * run computations of Grasshopper models, * and cache and output the results of computations and exports.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,7 +18,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
18
18
|
import globalAxios from 'axios';
|
|
19
19
|
// Some imports not used depending on template conditions
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
|
|
22
22
|
import type { RequestArgs } from './base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, RequiredError, operationServerMap } from './base';
|
|
@@ -61,7 +61,7 @@ export const CommonsComputationStatus = {
|
|
|
61
61
|
UNRECOVERABLE_ERROR: 'unrecoverableerror',
|
|
62
62
|
NO_OUTPUT_DATA_FOR_DEFAULT_PARAMETER_VALUES: 'nooutputdatafordefaultparametervalues',
|
|
63
63
|
MODEL_WITHOUT_GEOMETRY_OUTPUT: 'modelwithoutgeometryoutput',
|
|
64
|
-
UNKNOWN: 'unknown'
|
|
64
|
+
UNKNOWN: 'unknown',
|
|
65
65
|
} as const;
|
|
66
66
|
|
|
67
67
|
export type CommonsComputationStatus = typeof CommonsComputationStatus[keyof typeof CommonsComputationStatus];
|
|
@@ -102,7 +102,7 @@ export const CommonsModelStatus = {
|
|
|
102
102
|
PENDING: 'pending',
|
|
103
103
|
CONFIRMED: 'confirmed',
|
|
104
104
|
DENIED: 'denied',
|
|
105
|
-
DELETED: 'deleted'
|
|
105
|
+
DELETED: 'deleted',
|
|
106
106
|
} as const;
|
|
107
107
|
|
|
108
108
|
export type CommonsModelStatus = typeof CommonsModelStatus[keyof typeof CommonsModelStatus];
|
|
@@ -162,7 +162,7 @@ export interface CommonsTicket {
|
|
|
162
162
|
|
|
163
163
|
export const CommonsTicketType = {
|
|
164
164
|
BACKEND: 'backend',
|
|
165
|
-
NONE: ''
|
|
165
|
+
NONE: '',
|
|
166
166
|
} as const;
|
|
167
167
|
|
|
168
168
|
export type CommonsTicketType = typeof CommonsTicketType[keyof typeof CommonsTicketType];
|
|
@@ -185,7 +185,7 @@ export const QueryComputationStatisticsStatus = {
|
|
|
185
185
|
SUCCESS: 'success',
|
|
186
186
|
TIMEOUT: 'timeout',
|
|
187
187
|
OTHER: 'other',
|
|
188
|
-
ALL: '*'
|
|
188
|
+
ALL: '*',
|
|
189
189
|
} as const;
|
|
190
190
|
|
|
191
191
|
export type QueryComputationStatisticsStatus = typeof QueryComputationStatisticsStatus[keyof typeof QueryComputationStatisticsStatus];
|
|
@@ -212,7 +212,7 @@ export const QueryComputationStatus = {
|
|
|
212
212
|
UNRECOVERABLE_ERROR: 'unrecoverableerror',
|
|
213
213
|
NO_OUTPUT_DATA_FOR_DEFAULT_PARAMETER_VALUES: 'nooutputdatafordefaultparametervalues',
|
|
214
214
|
MODEL_WITHOUT_GEOMETRY_OUTPUT: 'modelwithoutgeometryoutput',
|
|
215
|
-
UNKNOWN: 'unknown'
|
|
215
|
+
UNKNOWN: 'unknown',
|
|
216
216
|
} as const;
|
|
217
217
|
|
|
218
218
|
export type QueryComputationStatus = typeof QueryComputationStatus[keyof typeof QueryComputationStatus];
|
|
@@ -226,7 +226,7 @@ export const QueryComputationType = {
|
|
|
226
226
|
COMPUTATION: 'computation',
|
|
227
227
|
EXPORT: 'export',
|
|
228
228
|
LOAD: 'load',
|
|
229
|
-
ALL: '*'
|
|
229
|
+
ALL: '*',
|
|
230
230
|
} as const;
|
|
231
231
|
|
|
232
232
|
export type QueryComputationType = typeof QueryComputationType[keyof typeof QueryComputationType];
|
|
@@ -239,7 +239,7 @@ export type QueryComputationType = typeof QueryComputationType[keyof typeof Quer
|
|
|
239
239
|
export const QueryGltfConversion = {
|
|
240
240
|
NONE: 'none',
|
|
241
241
|
SCENE: 'scene',
|
|
242
|
-
USDZ: 'usdz'
|
|
242
|
+
USDZ: 'usdz',
|
|
243
243
|
} as const;
|
|
244
244
|
|
|
245
245
|
export type QueryGltfConversion = typeof QueryGltfConversion[keyof typeof QueryGltfConversion];
|
|
@@ -256,7 +256,7 @@ export const QueryModelStatus = {
|
|
|
256
256
|
PENDING: 'pending',
|
|
257
257
|
CONFIRMED: 'confirmed',
|
|
258
258
|
DENIED: 'denied',
|
|
259
|
-
DELETED: 'deleted'
|
|
259
|
+
DELETED: 'deleted',
|
|
260
260
|
} as const;
|
|
261
261
|
|
|
262
262
|
export type QueryModelStatus = typeof QueryModelStatus[keyof typeof QueryModelStatus];
|
|
@@ -268,7 +268,7 @@ export type QueryModelStatus = typeof QueryModelStatus[keyof typeof QueryModelSt
|
|
|
268
268
|
|
|
269
269
|
export const QueryOrder = {
|
|
270
270
|
ASC: 'asc',
|
|
271
|
-
DESC: 'desc'
|
|
271
|
+
DESC: 'desc',
|
|
272
272
|
} as const;
|
|
273
273
|
|
|
274
274
|
export type QueryOrder = typeof QueryOrder[keyof typeof QueryOrder];
|
|
@@ -450,7 +450,7 @@ export interface ReqGroup {
|
|
|
450
450
|
export const ReqLogLevel = {
|
|
451
451
|
INFO: '0',
|
|
452
452
|
WARN: '1',
|
|
453
|
-
ERROR: '2'
|
|
453
|
+
ERROR: '2',
|
|
454
454
|
} as const;
|
|
455
455
|
|
|
456
456
|
export type ReqLogLevel = typeof ReqLogLevel[keyof typeof ReqLogLevel];
|
|
@@ -633,7 +633,7 @@ export interface ReqModelCreditMetricId {
|
|
|
633
633
|
|
|
634
634
|
export const ReqModelFileType = {
|
|
635
635
|
GRASSHOPPER_BINARY: 'gh',
|
|
636
|
-
GRASSHOPPER_XML: 'ghx'
|
|
636
|
+
GRASSHOPPER_XML: 'ghx',
|
|
637
637
|
} as const;
|
|
638
638
|
|
|
639
639
|
export type ReqModelFileType = typeof ReqModelFileType[keyof typeof ReqModelFileType];
|
|
@@ -664,30 +664,6 @@ export interface ReqModelState {
|
|
|
664
664
|
*/
|
|
665
665
|
'arSceneId'?: string;
|
|
666
666
|
}
|
|
667
|
-
/**
|
|
668
|
-
* Parameters of a single model-session analytics request. When multiple model IDs or timestamps are requested, the resulting response-item represents an aggregation of the requested data.
|
|
669
|
-
*/
|
|
670
|
-
export interface ReqModelStatistic {
|
|
671
|
-
'modelid': Array<string>;
|
|
672
|
-
/**
|
|
673
|
-
* Either a single extended date or an array of extended dates. Multiple timestamps are aggregated and result in a single statistic object.
|
|
674
|
-
*/
|
|
675
|
-
'timestamp'?: Array<string>;
|
|
676
|
-
/**
|
|
677
|
-
* Allows to define the beginning of a time range, instead of specifying individual timestamps.
|
|
678
|
-
*/
|
|
679
|
-
'timestamp_from'?: string;
|
|
680
|
-
/**
|
|
681
|
-
* Allows to define the ending of a time range, instead of specifying individual timestamps.
|
|
682
|
-
*/
|
|
683
|
-
'timestamp_to'?: string;
|
|
684
|
-
}
|
|
685
|
-
/**
|
|
686
|
-
* Body of a model statistics request. Every request-item results in exactly one response-item, whereby the order of response-items corresponds to the order of the request-items.
|
|
687
|
-
*/
|
|
688
|
-
export interface ReqModelStatistics {
|
|
689
|
-
'parameters': Array<ReqModelStatistic>;
|
|
690
|
-
}
|
|
691
667
|
/**
|
|
692
668
|
* Model-User metrics
|
|
693
669
|
*/
|
|
@@ -830,7 +806,7 @@ export interface ReqSdtfDefinition {
|
|
|
830
806
|
*/
|
|
831
807
|
|
|
832
808
|
export const ReqSdtfType = {
|
|
833
|
-
MODEL_SDTF: 'model/vnd.sdtf'
|
|
809
|
+
MODEL_SDTF: 'model/vnd.sdtf',
|
|
834
810
|
} as const;
|
|
835
811
|
|
|
836
812
|
export type ReqSdtfType = typeof ReqSdtfType[keyof typeof ReqSdtfType];
|
|
@@ -886,7 +862,7 @@ export interface ReqTicket {
|
|
|
886
862
|
|
|
887
863
|
export const ReqTicketType = {
|
|
888
864
|
BACKEND: 'backend',
|
|
889
|
-
NONE: ''
|
|
865
|
+
NONE: '',
|
|
890
866
|
} as const;
|
|
891
867
|
|
|
892
868
|
export type ReqTicketType = typeof ReqTicketType[keyof typeof ReqTicketType];
|
|
@@ -899,7 +875,7 @@ export type ReqTicketType = typeof ReqTicketType[keyof typeof ReqTicketType];
|
|
|
899
875
|
export const ReqTrustLevel = {
|
|
900
876
|
UNDEFINED: '',
|
|
901
877
|
NONE: 'none',
|
|
902
|
-
FULL: 'full'
|
|
878
|
+
FULL: 'full',
|
|
903
879
|
} as const;
|
|
904
880
|
|
|
905
881
|
export type ReqTrustLevel = typeof ReqTrustLevel[keyof typeof ReqTrustLevel];
|
|
@@ -997,7 +973,6 @@ export interface ResAllowedWorkerPlugin {
|
|
|
997
973
|
* Analytics components.
|
|
998
974
|
*/
|
|
999
975
|
export interface ResAnalytics {
|
|
1000
|
-
'models': Array<ResModelStatistic>;
|
|
1001
976
|
'creditMetrics': Array<ResAnyCreditMetric>;
|
|
1002
977
|
}
|
|
1003
978
|
/**
|
|
@@ -1070,7 +1045,7 @@ export interface ResBase {
|
|
|
1070
1045
|
*/
|
|
1071
1046
|
'actions'?: Array<ResAction>;
|
|
1072
1047
|
/**
|
|
1073
|
-
*
|
|
1048
|
+
* Analytics information.
|
|
1074
1049
|
*/
|
|
1075
1050
|
'analytics'?: ResAnalytics;
|
|
1076
1051
|
/**
|
|
@@ -1292,7 +1267,7 @@ export const ResComputationStatus = {
|
|
|
1292
1267
|
UNRECOVERABLE_ERROR: 'unrecoverableerror',
|
|
1293
1268
|
NO_OUTPUT_DATA_FOR_DEFAULT_PARAMETER_VALUES: 'nooutputdatafordefaultparametervalues',
|
|
1294
1269
|
MODEL_WITHOUT_GEOMETRY_OUTPUT: 'modelwithoutgeometryoutput',
|
|
1295
|
-
UNKNOWN: 'unknown'
|
|
1270
|
+
UNKNOWN: 'unknown',
|
|
1296
1271
|
} as const;
|
|
1297
1272
|
|
|
1298
1273
|
export type ResComputationStatus = typeof ResComputationStatus[keyof typeof ResComputationStatus];
|
|
@@ -1847,7 +1822,7 @@ export const ResErrorType = {
|
|
|
1847
1822
|
TOKEN_MISSING_ERROR: 'SdTokenMissingError',
|
|
1848
1823
|
TRANSFORM_CONTENT_ARRAY_ERROR: 'SdTransformContentArrayError',
|
|
1849
1824
|
UNCONFIRMED_MODEL_ERROR: 'SdUnconfirmedModelError',
|
|
1850
|
-
UNKNOWN: ''
|
|
1825
|
+
UNKNOWN: '',
|
|
1851
1826
|
} as const;
|
|
1852
1827
|
|
|
1853
1828
|
export type ResErrorType = typeof ResErrorType[keyof typeof ResErrorType];
|
|
@@ -2026,7 +2001,7 @@ export const ResExportDefinitionType = {
|
|
|
2026
2001
|
UNKNOWN: 'unknown',
|
|
2027
2002
|
DOWNLOAD: 'download',
|
|
2028
2003
|
EMAIL: 'email',
|
|
2029
|
-
SHAPEWAYS: 'shapeways'
|
|
2004
|
+
SHAPEWAYS: 'shapeways',
|
|
2030
2005
|
} as const;
|
|
2031
2006
|
|
|
2032
2007
|
export type ResExportDefinitionType = typeof ResExportDefinitionType[keyof typeof ResExportDefinitionType];
|
|
@@ -2227,7 +2202,7 @@ export interface ResGetCleanupStatus {
|
|
|
2227
2202
|
}
|
|
2228
2203
|
export interface ResGetCreditMetrics {
|
|
2229
2204
|
/**
|
|
2230
|
-
*
|
|
2205
|
+
* Analytics information.
|
|
2231
2206
|
*/
|
|
2232
2207
|
'analytics': ResAnalytics;
|
|
2233
2208
|
/**
|
|
@@ -2315,7 +2290,7 @@ export interface ResGetModelConfig {
|
|
|
2315
2290
|
}
|
|
2316
2291
|
export interface ResGetModelOrganizationCreditMetrics {
|
|
2317
2292
|
/**
|
|
2318
|
-
*
|
|
2293
|
+
* Analytics information.
|
|
2319
2294
|
*/
|
|
2320
2295
|
'analytics': ResAnalytics;
|
|
2321
2296
|
/**
|
|
@@ -2343,23 +2318,9 @@ export interface ResGetModelStateData {
|
|
|
2343
2318
|
*/
|
|
2344
2319
|
'version': string;
|
|
2345
2320
|
}
|
|
2346
|
-
export interface ResGetModelStatistics {
|
|
2347
|
-
/**
|
|
2348
|
-
* Statistics of the model for the given timespan.
|
|
2349
|
-
*/
|
|
2350
|
-
'analytics': ResAnalytics;
|
|
2351
|
-
/**
|
|
2352
|
-
* Contains urgent information about the system.
|
|
2353
|
-
*/
|
|
2354
|
-
'message'?: string;
|
|
2355
|
-
/**
|
|
2356
|
-
* Version of the Geometry Backend API.
|
|
2357
|
-
*/
|
|
2358
|
-
'version': string;
|
|
2359
|
-
}
|
|
2360
2321
|
export interface ResGetModelUserCreditMetrics {
|
|
2361
2322
|
/**
|
|
2362
|
-
*
|
|
2323
|
+
* Analytics information.
|
|
2363
2324
|
*/
|
|
2364
2325
|
'analytics': ResAnalytics;
|
|
2365
2326
|
/**
|
|
@@ -2369,7 +2330,7 @@ export interface ResGetModelUserCreditMetrics {
|
|
|
2369
2330
|
}
|
|
2370
2331
|
export interface ResGetOrganizationCreditMetrics {
|
|
2371
2332
|
/**
|
|
2372
|
-
*
|
|
2333
|
+
* Analytics information.
|
|
2373
2334
|
*/
|
|
2374
2335
|
'analytics': ResAnalytics;
|
|
2375
2336
|
/**
|
|
@@ -2436,7 +2397,7 @@ export interface ResGetSessionDefaults {
|
|
|
2436
2397
|
}
|
|
2437
2398
|
export interface ResGetUserCreditMetrics {
|
|
2438
2399
|
/**
|
|
2439
|
-
*
|
|
2400
|
+
* Analytics information.
|
|
2440
2401
|
*/
|
|
2441
2402
|
'analytics': ResAnalytics;
|
|
2442
2403
|
/**
|
|
@@ -2848,7 +2809,7 @@ export interface ResModelCleanupProcess {
|
|
|
2848
2809
|
export const ResModelCleanupProcessType = {
|
|
2849
2810
|
DELETE_EXPORT_VERSION: 'delete_export_version',
|
|
2850
2811
|
DELETE_MODEL_TEXTURE: 'delete_model_texture',
|
|
2851
|
-
DELETE_OUTPUT_VERSION: 'delete_output_version'
|
|
2812
|
+
DELETE_OUTPUT_VERSION: 'delete_output_version',
|
|
2852
2813
|
} as const;
|
|
2853
2814
|
|
|
2854
2815
|
export type ResModelCleanupProcessType = typeof ResModelCleanupProcessType[keyof typeof ResModelCleanupProcessType];
|
|
@@ -3248,59 +3209,6 @@ export interface ResModelStateList {
|
|
|
3248
3209
|
*/
|
|
3249
3210
|
export type ResModelStateOrData = ResModelState | ResModelStateData;
|
|
3250
3211
|
|
|
3251
|
-
/**
|
|
3252
|
-
* Aggregated model session statistics.
|
|
3253
|
-
*/
|
|
3254
|
-
export interface ResModelStatistic {
|
|
3255
|
-
/**
|
|
3256
|
-
* Requested model ID.
|
|
3257
|
-
*/
|
|
3258
|
-
'modelid': string;
|
|
3259
|
-
/**
|
|
3260
|
-
* Either an extended date-time or a \'merged\'-specifier.
|
|
3261
|
-
*/
|
|
3262
|
-
'timestamp': string;
|
|
3263
|
-
/**
|
|
3264
|
-
* Aggregation for this timestamp has finished.
|
|
3265
|
-
*/
|
|
3266
|
-
'isCompilationDone': boolean;
|
|
3267
|
-
/**
|
|
3268
|
-
* Number of (technical) sessions for the given model and timestamp. A technical session may last up to two hours, after which it will get cancelled by the backend. CAUTION: Not to be confused with credits!
|
|
3269
|
-
*/
|
|
3270
|
-
'count': number;
|
|
3271
|
-
/**
|
|
3272
|
-
* Billable duration-based credit count, based on maximum duration of 10 minutes per credit.
|
|
3273
|
-
*/
|
|
3274
|
-
'billableCount': number;
|
|
3275
|
-
/**
|
|
3276
|
-
* Statistics on the duration of all sessions.
|
|
3277
|
-
*/
|
|
3278
|
-
'duration': ResOnDurationStatistic;
|
|
3279
|
-
/**
|
|
3280
|
-
* Statistics on the duration of app sessions.
|
|
3281
|
-
*/
|
|
3282
|
-
'app': ResOnDurationStatistic;
|
|
3283
|
-
/**
|
|
3284
|
-
* Statistics on the duration of backend sessions.
|
|
3285
|
-
*/
|
|
3286
|
-
'backend': ResOnDurationStatistic;
|
|
3287
|
-
/**
|
|
3288
|
-
* Statistics on the duration of embedded sessions.
|
|
3289
|
-
*/
|
|
3290
|
-
'embedded': ResOnDurationStatistic;
|
|
3291
|
-
/**
|
|
3292
|
-
* Statistics on the duration of desktop sessions.
|
|
3293
|
-
*/
|
|
3294
|
-
'desktop': ResOnDurationStatistic;
|
|
3295
|
-
/**
|
|
3296
|
-
* Statistics on customization requests per session.
|
|
3297
|
-
*/
|
|
3298
|
-
'customize': ResOnActionStatistic;
|
|
3299
|
-
/**
|
|
3300
|
-
* Statistics on export requests per session.
|
|
3301
|
-
*/
|
|
3302
|
-
'export': ResOnActionStatistic;
|
|
3303
|
-
}
|
|
3304
3212
|
/**
|
|
3305
3213
|
* Status of the model.
|
|
3306
3214
|
*/
|
|
@@ -3312,7 +3220,7 @@ export const ResModelStatus = {
|
|
|
3312
3220
|
PENDING: 'pending',
|
|
3313
3221
|
CONFIRMED: 'confirmed',
|
|
3314
3222
|
DENIED: 'denied',
|
|
3315
|
-
DELETED: 'deleted'
|
|
3223
|
+
DELETED: 'deleted',
|
|
3316
3224
|
} as const;
|
|
3317
3225
|
|
|
3318
3226
|
export type ResModelStatus = typeof ResModelStatus[keyof typeof ResModelStatus];
|
|
@@ -3343,74 +3251,6 @@ export interface ResModelUserCreditMetric {
|
|
|
3343
3251
|
*/
|
|
3344
3252
|
'userId': string;
|
|
3345
3253
|
}
|
|
3346
|
-
export interface ResOnActionStatistic {
|
|
3347
|
-
/**
|
|
3348
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Number of (technical) sessions from all sources (duration) or from one specific source (app, embedded, backend, desktop), for the given model and timestamp. * `export`, `customize`: Number of sessions which have export requests.
|
|
3349
|
-
*/
|
|
3350
|
-
'count': number;
|
|
3351
|
-
/**
|
|
3352
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Billable duration-based credit count for all sessions, based on maximum duration of 10 minutes per credit. * `export`, `customize`: Billable duration-based credit count for sessions which have export requests, based on maximum duration of 10 minutes per credit.
|
|
3353
|
-
*/
|
|
3354
|
-
'billableCount': number;
|
|
3355
|
-
/**
|
|
3356
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3357
|
-
*/
|
|
3358
|
-
'min': number;
|
|
3359
|
-
/**
|
|
3360
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3361
|
-
*/
|
|
3362
|
-
'max': number;
|
|
3363
|
-
/**
|
|
3364
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Average duration of all sessions for the given model and timestamp. * `export`, `customize`: Average number of export requests per session, for sessions which have export requests.
|
|
3365
|
-
*/
|
|
3366
|
-
'avg': number;
|
|
3367
|
-
/**
|
|
3368
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Total duration of all sessions for the given model and timestamp. * `export`, `customize`: Total number of export requests for all sessions which have export requests.
|
|
3369
|
-
*/
|
|
3370
|
-
'sum': number;
|
|
3371
|
-
/**
|
|
3372
|
-
* `customize`: Total number of actions, for ShapeDiver Platform sessions for which the type of action happened. Note: New property - will contain `0` for entries before November 2019.
|
|
3373
|
-
*/
|
|
3374
|
-
'sumApp': number;
|
|
3375
|
-
/**
|
|
3376
|
-
* `customize`: Total number of customization requests for backend sessions which have customization requests. `export`: Total number of export requests for backend sessions which have export requests. Note: New property - will contain `0` for entries before November 2019.
|
|
3377
|
-
*/
|
|
3378
|
-
'sumBackend': number;
|
|
3379
|
-
/**
|
|
3380
|
-
* `customize`: Total number of customization requests for embedded sessions which have customization requests. `export`: Total number of export requests for embedded sessions which have export requests. Note: New property - will contain `0` for entries before November 2019.
|
|
3381
|
-
*/
|
|
3382
|
-
'sumEmbedded': number;
|
|
3383
|
-
/**
|
|
3384
|
-
* `customize`: Total number of actions, for desktop client sessions for which the type of action happened. Note: New property - will contain `0` for entries before January 2021.
|
|
3385
|
-
*/
|
|
3386
|
-
'sumDesktop': number;
|
|
3387
|
-
}
|
|
3388
|
-
export interface ResOnDurationStatistic {
|
|
3389
|
-
/**
|
|
3390
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Number of (technical) sessions from all sources (duration) or from one specific source (app, embedded, backend, desktop), for the given model and timestamp. * `export`, `customize`: Number of sessions which have export requests.
|
|
3391
|
-
*/
|
|
3392
|
-
'count': number;
|
|
3393
|
-
/**
|
|
3394
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Billable duration-based credit count for all sessions, based on maximum duration of 10 minutes per credit. * `export`, `customize`: Billable duration-based credit count for sessions which have export requests, based on maximum duration of 10 minutes per credit.
|
|
3395
|
-
*/
|
|
3396
|
-
'billableCount': number;
|
|
3397
|
-
/**
|
|
3398
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3399
|
-
*/
|
|
3400
|
-
'min': number;
|
|
3401
|
-
/**
|
|
3402
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3403
|
-
*/
|
|
3404
|
-
'max': number;
|
|
3405
|
-
/**
|
|
3406
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Average duration of all sessions for the given model and timestamp. * `export`, `customize`: Average number of export requests per session, for sessions which have export requests.
|
|
3407
|
-
*/
|
|
3408
|
-
'avg': number;
|
|
3409
|
-
/**
|
|
3410
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Total duration of all sessions for the given model and timestamp. * `export`, `customize`: Total number of export requests for all sessions which have export requests.
|
|
3411
|
-
*/
|
|
3412
|
-
'sum': number;
|
|
3413
|
-
}
|
|
3414
3254
|
/**
|
|
3415
3255
|
* Aggregated credit metrics for a organization.
|
|
3416
3256
|
*/
|
|
@@ -3846,7 +3686,7 @@ export const ResParameterType = {
|
|
|
3846
3686
|
STRING: 'String',
|
|
3847
3687
|
STRINGLIST: 'StringList',
|
|
3848
3688
|
TIME: 'Time',
|
|
3849
|
-
UNKNOWN: 'unknown'
|
|
3689
|
+
UNKNOWN: 'unknown',
|
|
3850
3690
|
} as const;
|
|
3851
3691
|
|
|
3852
3692
|
export type ResParameterType = typeof ResParameterType[keyof typeof ResParameterType];
|
|
@@ -3866,7 +3706,7 @@ export interface ResPartActions {
|
|
|
3866
3706
|
}
|
|
3867
3707
|
export interface ResPartAnalytics {
|
|
3868
3708
|
/**
|
|
3869
|
-
*
|
|
3709
|
+
* Analytics information.
|
|
3870
3710
|
*/
|
|
3871
3711
|
'analytics'?: ResAnalytics;
|
|
3872
3712
|
}
|
|
@@ -4244,7 +4084,7 @@ export interface ResStatistic {
|
|
|
4244
4084
|
export const ResStructureType = {
|
|
4245
4085
|
ITEM: 'item',
|
|
4246
4086
|
LIST: 'list',
|
|
4247
|
-
TREE: 'tree'
|
|
4087
|
+
TREE: 'tree',
|
|
4248
4088
|
} as const;
|
|
4249
4089
|
|
|
4250
4090
|
export type ResStructureType = typeof ResStructureType[keyof typeof ResStructureType];
|
|
@@ -4423,7 +4263,7 @@ export interface ResTicketAuthorization {
|
|
|
4423
4263
|
|
|
4424
4264
|
export const ResTicketType = {
|
|
4425
4265
|
BACKEND: 'backend',
|
|
4426
|
-
NONE: ''
|
|
4266
|
+
NONE: '',
|
|
4427
4267
|
} as const;
|
|
4428
4268
|
|
|
4429
4269
|
export type ResTicketType = typeof ResTicketType[keyof typeof ResTicketType];
|
|
@@ -4582,7 +4422,7 @@ export const ResVisualizationType = {
|
|
|
4582
4422
|
SLIDER: 'slider',
|
|
4583
4423
|
SWATCH: 'swatch',
|
|
4584
4424
|
TEXT: 'text',
|
|
4585
|
-
TOGGLE: 'toggle'
|
|
4425
|
+
TOGGLE: 'toggle',
|
|
4586
4426
|
} as const;
|
|
4587
4427
|
|
|
4588
4428
|
export type ResVisualizationType = typeof ResVisualizationType[keyof typeof ResVisualizationType];
|
|
@@ -4750,8 +4590,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4750
4590
|
// verify required parameter 'orgId' is not null or undefined
|
|
4751
4591
|
assertParamExists('getModelOrganizationCreditMetrics', 'orgId', orgId)
|
|
4752
4592
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/org/{orgId}`
|
|
4753
|
-
.replace(
|
|
4754
|
-
.replace(
|
|
4593
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)))
|
|
4594
|
+
.replace('{orgId}', encodeURIComponent(String(orgId)));
|
|
4755
4595
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4756
4596
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4757
4597
|
let baseOptions;
|
|
@@ -4778,45 +4618,6 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4778
4618
|
options: localVarRequestOptions,
|
|
4779
4619
|
};
|
|
4780
4620
|
},
|
|
4781
|
-
/**
|
|
4782
|
-
* Permissions: * `analytics.model.get.*` - __required__.
|
|
4783
|
-
* @summary Get model session analytics.
|
|
4784
|
-
* @param {ReqModelStatistics} reqModelStatistics
|
|
4785
|
-
* @param {*} [options] Override http request option.
|
|
4786
|
-
* @throws {RequiredError}
|
|
4787
|
-
*/
|
|
4788
|
-
getModelStatistics: async (reqModelStatistics: ReqModelStatistics, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4789
|
-
// verify required parameter 'reqModelStatistics' is not null or undefined
|
|
4790
|
-
assertParamExists('getModelStatistics', 'reqModelStatistics', reqModelStatistics)
|
|
4791
|
-
const localVarPath = `/api/v2/analytics/session/model`;
|
|
4792
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4793
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4794
|
-
let baseOptions;
|
|
4795
|
-
if (configuration) {
|
|
4796
|
-
baseOptions = configuration.baseOptions;
|
|
4797
|
-
}
|
|
4798
|
-
|
|
4799
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4800
|
-
const localVarHeaderParameter = {} as any;
|
|
4801
|
-
const localVarQueryParameter = {} as any;
|
|
4802
|
-
|
|
4803
|
-
// authentication JwtAuth required
|
|
4804
|
-
// http bearer authentication required
|
|
4805
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4806
|
-
|
|
4807
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4808
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4809
|
-
|
|
4810
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4811
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4812
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4813
|
-
localVarRequestOptions.data = serializeDataIfNeeded(reqModelStatistics, localVarRequestOptions, configuration)
|
|
4814
|
-
|
|
4815
|
-
return {
|
|
4816
|
-
url: toPathString(localVarUrlObj),
|
|
4817
|
-
options: localVarRequestOptions,
|
|
4818
|
-
};
|
|
4819
|
-
},
|
|
4820
4621
|
/**
|
|
4821
4622
|
* Permissions: * `analytics.model.get.*` - __required__.
|
|
4822
4623
|
* @summary Get model credit metrics of the user at timestamp.
|
|
@@ -4831,8 +4632,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4831
4632
|
// verify required parameter 'userId' is not null or undefined
|
|
4832
4633
|
assertParamExists('getModelUserCreditMetrics', 'userId', userId)
|
|
4833
4634
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/user/{userId}`
|
|
4834
|
-
.replace(
|
|
4835
|
-
.replace(
|
|
4635
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)))
|
|
4636
|
+
.replace('{userId}', encodeURIComponent(String(userId)));
|
|
4836
4637
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4837
4638
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4838
4639
|
let baseOptions;
|
|
@@ -4870,7 +4671,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4870
4671
|
// verify required parameter 'timestamp' is not null or undefined
|
|
4871
4672
|
assertParamExists('getOrganizationCreditMetrics', 'timestamp', timestamp)
|
|
4872
4673
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/org`
|
|
4873
|
-
.replace(
|
|
4674
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)));
|
|
4874
4675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4875
4676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4876
4677
|
let baseOptions;
|
|
@@ -4908,7 +4709,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4908
4709
|
// verify required parameter 'timestamp' is not null or undefined
|
|
4909
4710
|
assertParamExists('getUserCreditMetrics', 'timestamp', timestamp)
|
|
4910
4711
|
const localVarPath = `/api/v2/analytics/credit-metrics/timestamp/{timestamp}/user`
|
|
4911
|
-
.replace(
|
|
4712
|
+
.replace('{timestamp}', encodeURIComponent(String(timestamp)));
|
|
4912
4713
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4913
4714
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4914
4715
|
let baseOptions;
|
|
@@ -4971,19 +4772,6 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
4971
4772
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.getModelOrganizationCreditMetrics']?.[localVarOperationServerIndex]?.url;
|
|
4972
4773
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4973
4774
|
},
|
|
4974
|
-
/**
|
|
4975
|
-
* Permissions: * `analytics.model.get.*` - __required__.
|
|
4976
|
-
* @summary Get model session analytics.
|
|
4977
|
-
* @param {ReqModelStatistics} reqModelStatistics
|
|
4978
|
-
* @param {*} [options] Override http request option.
|
|
4979
|
-
* @throws {RequiredError}
|
|
4980
|
-
*/
|
|
4981
|
-
async getModelStatistics(reqModelStatistics: ReqModelStatistics, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResGetModelStatistics>> {
|
|
4982
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getModelStatistics(reqModelStatistics, options);
|
|
4983
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4984
|
-
const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.getModelStatistics']?.[localVarOperationServerIndex]?.url;
|
|
4985
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4986
|
-
},
|
|
4987
4775
|
/**
|
|
4988
4776
|
* Permissions: * `analytics.model.get.*` - __required__.
|
|
4989
4777
|
* @summary Get model credit metrics of the user at timestamp.
|
|
@@ -5054,16 +4842,6 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
5054
4842
|
getModelOrganizationCreditMetrics(timestamp: string, orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<ResGetModelOrganizationCreditMetrics> {
|
|
5055
4843
|
return localVarFp.getModelOrganizationCreditMetrics(timestamp, orgId, options).then((request) => request(axios, basePath));
|
|
5056
4844
|
},
|
|
5057
|
-
/**
|
|
5058
|
-
* Permissions: * `analytics.model.get.*` - __required__.
|
|
5059
|
-
* @summary Get model session analytics.
|
|
5060
|
-
* @param {ReqModelStatistics} reqModelStatistics
|
|
5061
|
-
* @param {*} [options] Override http request option.
|
|
5062
|
-
* @throws {RequiredError}
|
|
5063
|
-
*/
|
|
5064
|
-
getModelStatistics(reqModelStatistics: ReqModelStatistics, options?: RawAxiosRequestConfig): AxiosPromise<ResGetModelStatistics> {
|
|
5065
|
-
return localVarFp.getModelStatistics(reqModelStatistics, options).then((request) => request(axios, basePath));
|
|
5066
|
-
},
|
|
5067
4845
|
/**
|
|
5068
4846
|
* Permissions: * `analytics.model.get.*` - __required__.
|
|
5069
4847
|
* @summary Get model credit metrics of the user at timestamp.
|
|
@@ -5125,17 +4903,6 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
5125
4903
|
return AnalyticsApiFp(this.configuration).getModelOrganizationCreditMetrics(timestamp, orgId, options).then((request) => request(this.axios, this.basePath));
|
|
5126
4904
|
}
|
|
5127
4905
|
|
|
5128
|
-
/**
|
|
5129
|
-
* Permissions: * `analytics.model.get.*` - __required__.
|
|
5130
|
-
* @summary Get model session analytics.
|
|
5131
|
-
* @param {ReqModelStatistics} reqModelStatistics
|
|
5132
|
-
* @param {*} [options] Override http request option.
|
|
5133
|
-
* @throws {RequiredError}
|
|
5134
|
-
*/
|
|
5135
|
-
public getModelStatistics(reqModelStatistics: ReqModelStatistics, options?: RawAxiosRequestConfig) {
|
|
5136
|
-
return AnalyticsApiFp(this.configuration).getModelStatistics(reqModelStatistics, options).then((request) => request(this.axios, this.basePath));
|
|
5137
|
-
}
|
|
5138
|
-
|
|
5139
4906
|
/**
|
|
5140
4907
|
* Permissions: * `analytics.model.get.*` - __required__.
|
|
5141
4908
|
* @summary Get model credit metrics of the user at timestamp.
|
|
@@ -5189,7 +4956,7 @@ export const ArSceneApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5189
4956
|
// verify required parameter 'sceneId' is not null or undefined
|
|
5190
4957
|
assertParamExists('downloadArSceneGltf', 'sceneId', sceneId)
|
|
5191
4958
|
const localVarPath = `/api/v2/ar-scene/{sceneId}/gltf`
|
|
5192
|
-
.replace(
|
|
4959
|
+
.replace('{sceneId}', encodeURIComponent(String(sceneId)));
|
|
5193
4960
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5194
4961
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5195
4962
|
let baseOptions;
|
|
@@ -5223,7 +4990,7 @@ export const ArSceneApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5223
4990
|
// verify required parameter 'sceneId' is not null or undefined
|
|
5224
4991
|
assertParamExists('downloadArSceneUsdz', 'sceneId', sceneId)
|
|
5225
4992
|
const localVarPath = `/api/v2/ar-scene/{sceneId}/usdz`
|
|
5226
|
-
.replace(
|
|
4993
|
+
.replace('{sceneId}', encodeURIComponent(String(sceneId)));
|
|
5227
4994
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5228
4995
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5229
4996
|
let baseOptions;
|
|
@@ -5257,7 +5024,7 @@ export const ArSceneApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5257
5024
|
// verify required parameter 'sceneId' is not null or undefined
|
|
5258
5025
|
assertParamExists('getArSceneMetadata', 'sceneId', sceneId)
|
|
5259
5026
|
const localVarPath = `/api/v2/ar-scene/{sceneId}`
|
|
5260
|
-
.replace(
|
|
5027
|
+
.replace('{sceneId}', encodeURIComponent(String(sceneId)));
|
|
5261
5028
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5262
5029
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5263
5030
|
let baseOptions;
|
|
@@ -5426,7 +5193,7 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5426
5193
|
// verify required parameter 'assetDataEncrypted' is not null or undefined
|
|
5427
5194
|
assertParamExists('downloadAsset', 'assetDataEncrypted', assetDataEncrypted)
|
|
5428
5195
|
const localVarPath = `/api/v2/download/{assetDataEncrypted}`
|
|
5429
|
-
.replace(
|
|
5196
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
5430
5197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5431
5198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5432
5199
|
let baseOptions;
|
|
@@ -5463,8 +5230,8 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5463
5230
|
// verify required parameter 'assetDataEncrypted' is not null or undefined
|
|
5464
5231
|
assertParamExists('downloadExport', 'assetDataEncrypted', assetDataEncrypted)
|
|
5465
5232
|
const localVarPath = `/api/v2/session/{sessionId}/export/{assetDataEncrypted}`
|
|
5466
|
-
.replace(
|
|
5467
|
-
.replace(
|
|
5233
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
5234
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
5468
5235
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5469
5236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5470
5237
|
let baseOptions;
|
|
@@ -5505,8 +5272,8 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5505
5272
|
// verify required parameter 'assetDataEncrypted' is not null or undefined
|
|
5506
5273
|
assertParamExists('downloadGltf', 'assetDataEncrypted', assetDataEncrypted)
|
|
5507
5274
|
const localVarPath = `/api/v2/session/{sessionId}/gltf/{assetDataEncrypted}`
|
|
5508
|
-
.replace(
|
|
5509
|
-
.replace(
|
|
5275
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
5276
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
5510
5277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5511
5278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5512
5279
|
let baseOptions;
|
|
@@ -5547,7 +5314,7 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5547
5314
|
// verify required parameter 'url' is not null or undefined
|
|
5548
5315
|
assertParamExists('downloadImage', 'url', url)
|
|
5549
5316
|
const localVarPath = `/api/v2/session/{sessionId}/image`
|
|
5550
|
-
.replace(
|
|
5317
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
5551
5318
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5552
5319
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5553
5320
|
let baseOptions;
|
|
@@ -5592,8 +5359,8 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5592
5359
|
// verify required parameter 'assetDataEncrypted' is not null or undefined
|
|
5593
5360
|
assertParamExists('downloadOutput', 'assetDataEncrypted', assetDataEncrypted)
|
|
5594
5361
|
const localVarPath = `/api/v2/session/{sessionId}/output/{assetDataEncrypted}`
|
|
5595
|
-
.replace(
|
|
5596
|
-
.replace(
|
|
5362
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
5363
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
5597
5364
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5598
5365
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5599
5366
|
let baseOptions;
|
|
@@ -5634,8 +5401,8 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5634
5401
|
// verify required parameter 'assetDataEncrypted' is not null or undefined
|
|
5635
5402
|
assertParamExists('downloadTexture', 'assetDataEncrypted', assetDataEncrypted)
|
|
5636
5403
|
const localVarPath = `/api/v2/session/{sessionId}/texture/{assetDataEncrypted}`
|
|
5637
|
-
.replace(
|
|
5638
|
-
.replace(
|
|
5404
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
5405
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
5639
5406
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5640
5407
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5641
5408
|
let baseOptions;
|
|
@@ -5676,8 +5443,8 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5676
5443
|
// verify required parameter 'assetDataEncrypted' is not null or undefined
|
|
5677
5444
|
assertParamExists('downloadUsdz', 'assetDataEncrypted', assetDataEncrypted)
|
|
5678
5445
|
const localVarPath = `/api/v2/session/{sessionId}/usdz/{assetDataEncrypted}`
|
|
5679
|
-
.replace(
|
|
5680
|
-
.replace(
|
|
5446
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
5447
|
+
.replace('{assetDataEncrypted}', encodeURIComponent(String(assetDataEncrypted)));
|
|
5681
5448
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5682
5449
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5683
5450
|
let baseOptions;
|
|
@@ -6208,7 +5975,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6208
5975
|
// verify required parameter 'reqExport' is not null or undefined
|
|
6209
5976
|
assertParamExists('computeExports', 'reqExport', reqExport)
|
|
6210
5977
|
const localVarPath = `/api/v2/session/{sessionId}/export`
|
|
6211
|
-
.replace(
|
|
5978
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
6212
5979
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6213
5980
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6214
5981
|
let baseOptions;
|
|
@@ -6255,7 +6022,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6255
6022
|
// verify required parameter 'reqExportOrCache' is not null or undefined
|
|
6256
6023
|
assertParamExists('getCachedExports', 'reqExportOrCache', reqExportOrCache)
|
|
6257
6024
|
const localVarPath = `/api/v2/session/{sessionId}/export/cache`
|
|
6258
|
-
.replace(
|
|
6025
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
6259
6026
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6260
6027
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6261
6028
|
let baseOptions;
|
|
@@ -6301,8 +6068,8 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6301
6068
|
// verify required parameter 'exportId' is not null or undefined
|
|
6302
6069
|
assertParamExists('listExportVersions', 'exportId', exportId)
|
|
6303
6070
|
const localVarPath = `/api/v2/session/{sessionId}/export/{exportId}/list`
|
|
6304
|
-
.replace(
|
|
6305
|
-
.replace(
|
|
6071
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
6072
|
+
.replace('{exportId}', encodeURIComponent(String(exportId)));
|
|
6306
6073
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6307
6074
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6308
6075
|
let baseOptions;
|
|
@@ -6355,7 +6122,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6355
6122
|
// verify required parameter 'reqExportDefinitions' is not null or undefined
|
|
6356
6123
|
assertParamExists('updateExportDefinitions', 'reqExportDefinitions', reqExportDefinitions)
|
|
6357
6124
|
const localVarPath = `/api/v2/model/{modelId}/export`
|
|
6358
|
-
.replace(
|
|
6125
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
6359
6126
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6360
6127
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6361
6128
|
let baseOptions;
|
|
@@ -6594,9 +6361,9 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6594
6361
|
// verify required parameter 'fileId' is not null or undefined
|
|
6595
6362
|
assertParamExists('deleteFile', 'fileId', fileId)
|
|
6596
6363
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/{fileId}`
|
|
6597
|
-
.replace(
|
|
6598
|
-
.replace(
|
|
6599
|
-
.replace(
|
|
6364
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
6365
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)))
|
|
6366
|
+
.replace('{fileId}', encodeURIComponent(String(fileId)));
|
|
6600
6367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6601
6368
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6602
6369
|
let baseOptions;
|
|
@@ -6640,9 +6407,9 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6640
6407
|
// verify required parameter 'fileId' is not null or undefined
|
|
6641
6408
|
assertParamExists('downloadFile', 'fileId', fileId)
|
|
6642
6409
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/{fileId}`
|
|
6643
|
-
.replace(
|
|
6644
|
-
.replace(
|
|
6645
|
-
.replace(
|
|
6410
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
6411
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)))
|
|
6412
|
+
.replace('{fileId}', encodeURIComponent(String(fileId)));
|
|
6646
6413
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6647
6414
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6648
6415
|
let baseOptions;
|
|
@@ -6686,9 +6453,9 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6686
6453
|
// verify required parameter 'fileId' is not null or undefined
|
|
6687
6454
|
assertParamExists('getFileMetadata', 'fileId', fileId)
|
|
6688
6455
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/{fileId}`
|
|
6689
|
-
.replace(
|
|
6690
|
-
.replace(
|
|
6691
|
-
.replace(
|
|
6456
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
6457
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)))
|
|
6458
|
+
.replace('{fileId}', encodeURIComponent(String(fileId)));
|
|
6692
6459
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6693
6460
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6694
6461
|
let baseOptions;
|
|
@@ -6730,8 +6497,8 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6730
6497
|
// verify required parameter 'paramId' is not null or undefined
|
|
6731
6498
|
assertParamExists('listFiles', 'paramId', paramId)
|
|
6732
6499
|
const localVarPath = `/api/v2/session/{sessionId}/file/{paramId}/list`
|
|
6733
|
-
.replace(
|
|
6734
|
-
.replace(
|
|
6500
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
6501
|
+
.replace('{paramId}', encodeURIComponent(String(paramId)));
|
|
6735
6502
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6736
6503
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6737
6504
|
let baseOptions;
|
|
@@ -6776,7 +6543,7 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6776
6543
|
// verify required parameter 'reqFileUpload' is not null or undefined
|
|
6777
6544
|
assertParamExists('uploadFile', 'reqFileUpload', reqFileUpload)
|
|
6778
6545
|
const localVarPath = `/api/v2/session/{sessionId}/file/upload`
|
|
6779
|
-
.replace(
|
|
6546
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
6780
6547
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6781
6548
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6782
6549
|
let baseOptions;
|
|
@@ -7050,7 +6817,7 @@ export const GltfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7050
6817
|
// verify required parameter 'body' is not null or undefined
|
|
7051
6818
|
assertParamExists('uploadGltf', 'body', body)
|
|
7052
6819
|
const localVarPath = `/api/v2/session/{sessionId}/gltf`
|
|
7053
|
-
.replace(
|
|
6820
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
7054
6821
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7055
6822
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7056
6823
|
let baseOptions;
|
|
@@ -7170,7 +6937,7 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7170
6937
|
// verify required parameter 'reqLogMessage' is not null or undefined
|
|
7171
6938
|
assertParamExists('logMessage', 'reqLogMessage', reqLogMessage)
|
|
7172
6939
|
const localVarPath = `/api/v2/session/{sessionId}/log/message`
|
|
7173
|
-
.replace(
|
|
6940
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
7174
6941
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7175
6942
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7176
6943
|
let baseOptions;
|
|
@@ -7283,7 +7050,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7283
7050
|
// verify required parameter 'untilLastSeen' is not null or undefined
|
|
7284
7051
|
assertParamExists('cleanupExports', 'untilLastSeen', untilLastSeen)
|
|
7285
7052
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/export`
|
|
7286
|
-
.replace(
|
|
7053
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7287
7054
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7288
7055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7289
7056
|
let baseOptions;
|
|
@@ -7328,7 +7095,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7328
7095
|
// verify required parameter 'untilLastSeen' is not null or undefined
|
|
7329
7096
|
assertParamExists('cleanupOutputs', 'untilLastSeen', untilLastSeen)
|
|
7330
7097
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/output`
|
|
7331
|
-
.replace(
|
|
7098
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7332
7099
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7333
7100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7334
7101
|
let baseOptions;
|
|
@@ -7373,7 +7140,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7373
7140
|
// verify required parameter 'untilLastSeen' is not null or undefined
|
|
7374
7141
|
assertParamExists('cleanupTextures', 'untilLastSeen', untilLastSeen)
|
|
7375
7142
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/texture`
|
|
7376
|
-
.replace(
|
|
7143
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7377
7144
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7378
7145
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7379
7146
|
let baseOptions;
|
|
@@ -7457,7 +7224,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7457
7224
|
// verify required parameter 'reqConfigure' is not null or undefined
|
|
7458
7225
|
assertParamExists('createModelConfig', 'reqConfigure', reqConfigure)
|
|
7459
7226
|
const localVarPath = `/api/v2/model/{modelId}/config`
|
|
7460
|
-
.replace(
|
|
7227
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7461
7228
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7462
7229
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7463
7230
|
let baseOptions;
|
|
@@ -7497,7 +7264,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7497
7264
|
// verify required parameter 'modelId' is not null or undefined
|
|
7498
7265
|
assertParamExists('deleteModel', 'modelId', modelId)
|
|
7499
7266
|
const localVarPath = `/api/v2/model/{modelId}`
|
|
7500
|
-
.replace(
|
|
7267
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7501
7268
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7502
7269
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7503
7270
|
let baseOptions;
|
|
@@ -7535,7 +7302,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7535
7302
|
// verify required parameter 'modelId' is not null or undefined
|
|
7536
7303
|
assertParamExists('downloadModelFile', 'modelId', modelId)
|
|
7537
7304
|
const localVarPath = `/api/v2/model/{modelId}/file/download`
|
|
7538
|
-
.replace(
|
|
7305
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7539
7306
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7540
7307
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7541
7308
|
let baseOptions;
|
|
@@ -7573,7 +7340,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7573
7340
|
// verify required parameter 'modelId' is not null or undefined
|
|
7574
7341
|
assertParamExists('getCleanupStatus', 'modelId', modelId)
|
|
7575
7342
|
const localVarPath = `/api/v2/model/{modelId}/cleanup/status`
|
|
7576
|
-
.replace(
|
|
7343
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7577
7344
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7578
7345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7579
7346
|
let baseOptions;
|
|
@@ -7611,7 +7378,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7611
7378
|
// verify required parameter 'modelId' is not null or undefined
|
|
7612
7379
|
assertParamExists('getModel', 'modelId', modelId)
|
|
7613
7380
|
const localVarPath = `/api/v2/model/{modelId}`
|
|
7614
|
-
.replace(
|
|
7381
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7615
7382
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7616
7383
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7617
7384
|
let baseOptions;
|
|
@@ -7657,7 +7424,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7657
7424
|
// verify required parameter 'modelId' is not null or undefined
|
|
7658
7425
|
assertParamExists('getModelComputations', 'modelId', modelId)
|
|
7659
7426
|
const localVarPath = `/api/v2/model/{modelId}/computations`
|
|
7660
|
-
.replace(
|
|
7427
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7661
7428
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7662
7429
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7663
7430
|
let baseOptions;
|
|
@@ -7730,7 +7497,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7730
7497
|
// verify required parameter 'modelId' is not null or undefined
|
|
7731
7498
|
assertParamExists('getModelConfig', 'modelId', modelId)
|
|
7732
7499
|
const localVarPath = `/api/v2/model/{modelId}/config`
|
|
7733
|
-
.replace(
|
|
7500
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7734
7501
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7735
7502
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7736
7503
|
let baseOptions;
|
|
@@ -7751,7 +7518,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7751
7518
|
if (xShapediverNoconvert != null) {
|
|
7752
7519
|
localVarHeaderParameter['x-shapediver-noconvert'] = typeof xShapediverNoconvert === 'string'
|
|
7753
7520
|
? xShapediverNoconvert
|
|
7754
|
-
: JSON.stringify(xShapediverNoconvert);
|
|
7521
|
+
: JSON.stringify(xShapediverNoconvert, replaceWithSerializableTypeIfNeeded);
|
|
7755
7522
|
}
|
|
7756
7523
|
if (xShapediverUseconfigversion != null) {
|
|
7757
7524
|
localVarHeaderParameter['x-shapediver-useconfigversion'] = String(xShapediverUseconfigversion);
|
|
@@ -7823,7 +7590,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7823
7590
|
// verify required parameter 'modelId' is not null or undefined
|
|
7824
7591
|
assertParamExists('restoreModel', 'modelId', modelId)
|
|
7825
7592
|
const localVarPath = `/api/v2/model/{modelId}/restore`
|
|
7826
|
-
.replace(
|
|
7593
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7827
7594
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7828
7595
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7829
7596
|
let baseOptions;
|
|
@@ -7864,7 +7631,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7864
7631
|
// verify required parameter 'reqModel' is not null or undefined
|
|
7865
7632
|
assertParamExists('updateModel', 'reqModel', reqModel)
|
|
7866
7633
|
const localVarPath = `/api/v2/model/{modelId}`
|
|
7867
|
-
.replace(
|
|
7634
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7868
7635
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7869
7636
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7870
7637
|
let baseOptions;
|
|
@@ -7907,7 +7674,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7907
7674
|
// verify required parameter 'reqConfigure' is not null or undefined
|
|
7908
7675
|
assertParamExists('updateModelConfig', 'reqConfigure', reqConfigure)
|
|
7909
7676
|
const localVarPath = `/api/v2/model/{modelId}/config`
|
|
7910
|
-
.replace(
|
|
7677
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7911
7678
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7912
7679
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7913
7680
|
let baseOptions;
|
|
@@ -7951,7 +7718,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7951
7718
|
// verify required parameter 'reqCustomization' is not null or undefined
|
|
7952
7719
|
assertParamExists('updateParameterDefaultValues', 'reqCustomization', reqCustomization)
|
|
7953
7720
|
const localVarPath = `/api/v2/model/{modelId}/parameter/defval`
|
|
7954
|
-
.replace(
|
|
7721
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
7955
7722
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7956
7723
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7957
7724
|
let baseOptions;
|
|
@@ -7998,7 +7765,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
7998
7765
|
// verify required parameter 'reqParameterDefinitions' is not null or undefined
|
|
7999
7766
|
assertParamExists('updateParameterDefinitions', 'reqParameterDefinitions', reqParameterDefinitions)
|
|
8000
7767
|
const localVarPath = `/api/v2/model/{modelId}/parameter`
|
|
8001
|
-
.replace(
|
|
7768
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
8002
7769
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8003
7770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8004
7771
|
let baseOptions;
|
|
@@ -8716,7 +8483,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8716
8483
|
// verify required parameter 'reqModelState' is not null or undefined
|
|
8717
8484
|
assertParamExists('createModelState', 'reqModelState', reqModelState)
|
|
8718
8485
|
const localVarPath = `/api/v2/session/{sessionId}/model-state`
|
|
8719
|
-
.replace(
|
|
8486
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
8720
8487
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8721
8488
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8722
8489
|
let baseOptions;
|
|
@@ -8760,7 +8527,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8760
8527
|
// verify required parameter 'modelStateId' is not null or undefined
|
|
8761
8528
|
assertParamExists('deleteModelState', 'modelStateId', modelStateId)
|
|
8762
8529
|
const localVarPath = `/api/v2/model-state/{modelStateId}`
|
|
8763
|
-
.replace(
|
|
8530
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
8764
8531
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8765
8532
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8766
8533
|
let baseOptions;
|
|
@@ -8798,7 +8565,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8798
8565
|
// verify required parameter 'modelStateId' is not null or undefined
|
|
8799
8566
|
assertParamExists('downloadModelStateImage', 'modelStateId', modelStateId)
|
|
8800
8567
|
const localVarPath = `/api/v2/model-state/{modelStateId}/image`
|
|
8801
|
-
.replace(
|
|
8568
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
8802
8569
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8803
8570
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8804
8571
|
let baseOptions;
|
|
@@ -8832,7 +8599,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8832
8599
|
// verify required parameter 'modelStateId' is not null or undefined
|
|
8833
8600
|
assertParamExists('getModelState', 'modelStateId', modelStateId)
|
|
8834
8601
|
const localVarPath = `/api/v2/model-state/{modelStateId}`
|
|
8835
|
-
.replace(
|
|
8602
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
8836
8603
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8837
8604
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8838
8605
|
let baseOptions;
|
|
@@ -8870,7 +8637,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8870
8637
|
// verify required parameter 'modelStateId' is not null or undefined
|
|
8871
8638
|
assertParamExists('getModelStateData', 'modelStateId', modelStateId)
|
|
8872
8639
|
const localVarPath = `/api/v2/model-state/{modelStateId}/data`
|
|
8873
|
-
.replace(
|
|
8640
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
8874
8641
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8875
8642
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8876
8643
|
let baseOptions;
|
|
@@ -8904,7 +8671,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8904
8671
|
// verify required parameter 'modelStateId' is not null or undefined
|
|
8905
8672
|
assertParamExists('getModelStateImageMetadata', 'modelStateId', modelStateId)
|
|
8906
8673
|
const localVarPath = `/api/v2/model-state/{modelStateId}/image`
|
|
8907
|
-
.replace(
|
|
8674
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
8908
8675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8909
8676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8910
8677
|
let baseOptions;
|
|
@@ -8938,7 +8705,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8938
8705
|
// verify required parameter 'modelStateId' is not null or undefined
|
|
8939
8706
|
assertParamExists('getModelStateMetadata', 'modelStateId', modelStateId)
|
|
8940
8707
|
const localVarPath = `/api/v2/model-state/{modelStateId}`
|
|
8941
|
-
.replace(
|
|
8708
|
+
.replace('{modelStateId}', encodeURIComponent(String(modelStateId)));
|
|
8942
8709
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8943
8710
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8944
8711
|
let baseOptions;
|
|
@@ -8973,7 +8740,7 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
8973
8740
|
// verify required parameter 'modelId' is not null or undefined
|
|
8974
8741
|
assertParamExists('listModelStates', 'modelId', modelId)
|
|
8975
8742
|
const localVarPath = `/api/v2/model-state/model/{modelId}/list`
|
|
8976
|
-
.replace(
|
|
8743
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
8977
8744
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8978
8745
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8979
8746
|
let baseOptions;
|
|
@@ -9333,7 +9100,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9333
9100
|
// verify required parameter 'reqCustomization' is not null or undefined
|
|
9334
9101
|
assertParamExists('computeOutputs', 'reqCustomization', reqCustomization)
|
|
9335
9102
|
const localVarPath = `/api/v2/session/{sessionId}/output`
|
|
9336
|
-
.replace(
|
|
9103
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
9337
9104
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9338
9105
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9339
9106
|
let baseOptions;
|
|
@@ -9380,7 +9147,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9380
9147
|
// verify required parameter 'reqCacheReqCustomization' is not null or undefined
|
|
9381
9148
|
assertParamExists('getCachedOutputs', 'reqCacheReqCustomization', reqCacheReqCustomization)
|
|
9382
9149
|
const localVarPath = `/api/v2/session/{sessionId}/output/cache`
|
|
9383
|
-
.replace(
|
|
9150
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
9384
9151
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9385
9152
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9386
9153
|
let baseOptions;
|
|
@@ -9426,8 +9193,8 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9426
9193
|
// verify required parameter 'outputId' is not null or undefined
|
|
9427
9194
|
assertParamExists('listOutputVersions', 'outputId', outputId)
|
|
9428
9195
|
const localVarPath = `/api/v2/session/{sessionId}/output/{outputId}/list`
|
|
9429
|
-
.replace(
|
|
9430
|
-
.replace(
|
|
9196
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
9197
|
+
.replace('{outputId}', encodeURIComponent(String(outputId)));
|
|
9431
9198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9432
9199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9433
9200
|
let baseOptions;
|
|
@@ -9480,7 +9247,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9480
9247
|
// verify required parameter 'reqOutputDefinitions' is not null or undefined
|
|
9481
9248
|
assertParamExists('updateOutputDefinitions', 'reqOutputDefinitions', reqOutputDefinitions)
|
|
9482
9249
|
const localVarPath = `/api/v2/model/{modelId}/output`
|
|
9483
|
-
.replace(
|
|
9250
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
9484
9251
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9485
9252
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9486
9253
|
let baseOptions;
|
|
@@ -9713,7 +9480,7 @@ export const ScriptApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9713
9480
|
// verify required parameter 'scriptId' is not null or undefined
|
|
9714
9481
|
assertParamExists('confirmScript', 'scriptId', scriptId)
|
|
9715
9482
|
const localVarPath = `/api/v2/script/{scriptId}/confirm`
|
|
9716
|
-
.replace(
|
|
9483
|
+
.replace('{scriptId}', encodeURIComponent(String(scriptId)));
|
|
9717
9484
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9718
9485
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9719
9486
|
let baseOptions;
|
|
@@ -9751,7 +9518,7 @@ export const ScriptApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9751
9518
|
// verify required parameter 'scriptId' is not null or undefined
|
|
9752
9519
|
assertParamExists('denyScript', 'scriptId', scriptId)
|
|
9753
9520
|
const localVarPath = `/api/v2/script/{scriptId}/deny`
|
|
9754
|
-
.replace(
|
|
9521
|
+
.replace('{scriptId}', encodeURIComponent(String(scriptId)));
|
|
9755
9522
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9756
9523
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9757
9524
|
let baseOptions;
|
|
@@ -9896,9 +9663,9 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9896
9663
|
// verify required parameter 'sdtfId' is not null or undefined
|
|
9897
9664
|
assertParamExists('deleteSdtf', 'sdtfId', sdtfId)
|
|
9898
9665
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/{namespace}/{sdtfId}`
|
|
9899
|
-
.replace(
|
|
9900
|
-
.replace(
|
|
9901
|
-
.replace(
|
|
9666
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
9667
|
+
.replace('{namespace}', encodeURIComponent(String(namespace)))
|
|
9668
|
+
.replace('{sdtfId}', encodeURIComponent(String(sdtfId)));
|
|
9902
9669
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9903
9670
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9904
9671
|
let baseOptions;
|
|
@@ -9942,9 +9709,9 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9942
9709
|
// verify required parameter 'sdtfId' is not null or undefined
|
|
9943
9710
|
assertParamExists('downloadSdtf', 'sdtfId', sdtfId)
|
|
9944
9711
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/{namespace}/{sdtfId}`
|
|
9945
|
-
.replace(
|
|
9946
|
-
.replace(
|
|
9947
|
-
.replace(
|
|
9712
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
9713
|
+
.replace('{namespace}', encodeURIComponent(String(namespace)))
|
|
9714
|
+
.replace('{sdtfId}', encodeURIComponent(String(sdtfId)));
|
|
9948
9715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9949
9716
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9950
9717
|
let baseOptions;
|
|
@@ -9986,8 +9753,8 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9986
9753
|
// verify required parameter 'namespace' is not null or undefined
|
|
9987
9754
|
assertParamExists('listSdtfs', 'namespace', namespace)
|
|
9988
9755
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/{namespace}/list`
|
|
9989
|
-
.replace(
|
|
9990
|
-
.replace(
|
|
9756
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
9757
|
+
.replace('{namespace}', encodeURIComponent(String(namespace)));
|
|
9991
9758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9992
9759
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9993
9760
|
let baseOptions;
|
|
@@ -10032,7 +9799,7 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
10032
9799
|
// verify required parameter 'reqSdtfDefinition' is not null or undefined
|
|
10033
9800
|
assertParamExists('uploadSdtf', 'reqSdtfDefinition', reqSdtfDefinition)
|
|
10034
9801
|
const localVarPath = `/api/v2/session/{sessionId}/sdtf/upload`
|
|
10035
|
-
.replace(
|
|
9802
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
10036
9803
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10037
9804
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10038
9805
|
let baseOptions;
|
|
@@ -10262,7 +10029,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10262
10029
|
// verify required parameter 'sessionId' is not null or undefined
|
|
10263
10030
|
assertParamExists('closeSession', 'sessionId', sessionId)
|
|
10264
10031
|
const localVarPath = `/api/v2/session/{sessionId}/close`
|
|
10265
|
-
.replace(
|
|
10032
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
10266
10033
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10267
10034
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10268
10035
|
let baseOptions;
|
|
@@ -10304,7 +10071,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10304
10071
|
// verify required parameter 'modelId' is not null or undefined
|
|
10305
10072
|
assertParamExists('createSessionByModel', 'modelId', modelId)
|
|
10306
10073
|
const localVarPath = `/api/v2/model/{modelId}/session`
|
|
10307
|
-
.replace(
|
|
10074
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
10308
10075
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10309
10076
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10310
10077
|
let baseOptions;
|
|
@@ -10360,7 +10127,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10360
10127
|
// verify required parameter 'ticketId' is not null or undefined
|
|
10361
10128
|
assertParamExists('createSessionByTicket', 'ticketId', ticketId)
|
|
10362
10129
|
const localVarPath = `/api/v2/ticket/{ticketId}`
|
|
10363
|
-
.replace(
|
|
10130
|
+
.replace('{ticketId}', encodeURIComponent(String(ticketId)));
|
|
10364
10131
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10365
10132
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10366
10133
|
let baseOptions;
|
|
@@ -10415,7 +10182,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10415
10182
|
// verify required parameter 'reqTicket' is not null or undefined
|
|
10416
10183
|
assertParamExists('createTicket', 'reqTicket', reqTicket)
|
|
10417
10184
|
const localVarPath = `/api/v2/model/{modelId}/ticket`
|
|
10418
|
-
.replace(
|
|
10185
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
10419
10186
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10420
10187
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10421
10188
|
let baseOptions;
|
|
@@ -10455,7 +10222,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10455
10222
|
// verify required parameter 'ticketEncrypted' is not null or undefined
|
|
10456
10223
|
assertParamExists('decryptTicket', 'ticketEncrypted', ticketEncrypted)
|
|
10457
10224
|
const localVarPath = `/api/v2/ticket/{ticketEncrypted}`
|
|
10458
|
-
.replace(
|
|
10225
|
+
.replace('{ticketEncrypted}', encodeURIComponent(String(ticketEncrypted)));
|
|
10459
10226
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10460
10227
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10461
10228
|
let baseOptions;
|
|
@@ -10493,7 +10260,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10493
10260
|
// verify required parameter 'sessionId' is not null or undefined
|
|
10494
10261
|
assertParamExists('getSessionDefaults', 'sessionId', sessionId)
|
|
10495
10262
|
const localVarPath = `/api/v2/session/{sessionId}/default`
|
|
10496
|
-
.replace(
|
|
10263
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
10497
10264
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10498
10265
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10499
10266
|
let baseOptions;
|
|
@@ -10798,8 +10565,8 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10798
10565
|
// verify required parameter 'encodedUri' is not null or undefined
|
|
10799
10566
|
assertParamExists('createSignedUrl', 'encodedUri', encodedUri)
|
|
10800
10567
|
const localVarPath = `/api/v2/system/sign/cdn/{endpoint}/{encodedUri}`
|
|
10801
|
-
.replace(
|
|
10802
|
-
.replace(
|
|
10568
|
+
.replace('{endpoint}', encodeURIComponent(String(endpoint)))
|
|
10569
|
+
.replace('{encodedUri}', encodeURIComponent(String(encodedUri)));
|
|
10803
10570
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10804
10571
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10805
10572
|
let baseOptions;
|
|
@@ -10837,7 +10604,7 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10837
10604
|
// verify required parameter 'modelId' is not null or undefined
|
|
10838
10605
|
assertParamExists('eraseModel', 'modelId', modelId)
|
|
10839
10606
|
const localVarPath = `/api/v2/system/model/{modelId}`
|
|
10840
|
-
.replace(
|
|
10607
|
+
.replace('{modelId}', encodeURIComponent(String(modelId)));
|
|
10841
10608
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10842
10609
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10843
10610
|
let baseOptions;
|
|
@@ -11183,7 +10950,7 @@ export const TextureApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11183
10950
|
// verify required parameter 'sessionId' is not null or undefined
|
|
11184
10951
|
assertParamExists('listTextures', 'sessionId', sessionId)
|
|
11185
10952
|
const localVarPath = `/api/v2/session/{sessionId}/texture/list`
|
|
11186
|
-
.replace(
|
|
10953
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)));
|
|
11187
10954
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11188
10955
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11189
10956
|
let baseOptions;
|