@shapediver/sdk.geometry-api-sdk-v2 2.0.1 → 2.1.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.
@@ -17,6 +17,7 @@ exports.TextureApi = exports.TextureApiFactory = exports.TextureApiFp = exports.
17
17
  const axios_1 = __importDefault(require("axios"));
18
18
  const common_1 = require("./common");
19
19
  const base_1 = require("./base");
20
+ const base_2 = require("../base");
20
21
  exports.CommonsComputationStatus = {
21
22
  SUCCESS: 'success',
22
23
  TIMEOUT: 'timeout',
@@ -473,7 +474,7 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
473
474
  };
474
475
  };
475
476
  exports.AnalyticsApiFactory = AnalyticsApiFactory;
476
- class AnalyticsApi extends base_1.BaseAPI {
477
+ class AnalyticsApi extends base_2.BaseAPI {
477
478
  getCreditMetrics(reqCreditMetrics, options) {
478
479
  return (0, exports.AnalyticsApiFp)(this.configuration).getCreditMetrics(reqCreditMetrics, options).then((request) => request(this.axios, this.basePath));
479
480
  }
@@ -607,7 +608,7 @@ const ArSceneApiFactory = function (configuration, basePath, axios) {
607
608
  };
608
609
  };
609
610
  exports.ArSceneApiFactory = ArSceneApiFactory;
610
- class ArSceneApi extends base_1.BaseAPI {
611
+ class ArSceneApi extends base_2.BaseAPI {
611
612
  downloadArSceneGltf(sceneId, options) {
612
613
  return (0, exports.ArSceneApiFp)(this.configuration).downloadArSceneGltf(sceneId, options).then((request) => request(this.axios, this.basePath));
613
614
  }
@@ -880,7 +881,7 @@ const AssetsApiFactory = function (configuration, basePath, axios) {
880
881
  };
881
882
  };
882
883
  exports.AssetsApiFactory = AssetsApiFactory;
883
- class AssetsApi extends base_1.BaseAPI {
884
+ class AssetsApi extends base_2.BaseAPI {
884
885
  downloadAsset(assetDataEncrypted, options) {
885
886
  return (0, exports.AssetsApiFp)(this.configuration).downloadAsset(assetDataEncrypted, options).then((request) => request(this.axios, this.basePath));
886
887
  }
@@ -951,7 +952,7 @@ const AuthApiFactory = function (configuration, basePath, axios) {
951
952
  };
952
953
  };
953
954
  exports.AuthApiFactory = AuthApiFactory;
954
- class AuthApi extends base_1.BaseAPI {
955
+ class AuthApi extends base_2.BaseAPI {
955
956
  getJsonWebKeySets(options) {
956
957
  return (0, exports.AuthApiFp)(this.configuration).getJsonWebKeySets(options).then((request) => request(this.axios, this.basePath));
957
958
  }
@@ -1008,7 +1009,7 @@ const AuthGroupApiFactory = function (configuration, basePath, axios) {
1008
1009
  };
1009
1010
  };
1010
1011
  exports.AuthGroupApiFactory = AuthGroupApiFactory;
1011
- class AuthGroupApi extends base_1.BaseAPI {
1012
+ class AuthGroupApi extends base_2.BaseAPI {
1012
1013
  createAuthorizationGroup(reqAuthorizationGroup, options) {
1013
1014
  return (0, exports.AuthGroupApiFp)(this.configuration).createAuthorizationGroup(reqAuthorizationGroup, options).then((request) => request(this.axios, this.basePath));
1014
1015
  }
@@ -1183,7 +1184,7 @@ const ExportApiFactory = function (configuration, basePath, axios) {
1183
1184
  };
1184
1185
  };
1185
1186
  exports.ExportApiFactory = ExportApiFactory;
1186
- class ExportApi extends base_1.BaseAPI {
1187
+ class ExportApi extends base_2.BaseAPI {
1187
1188
  computeExports(sessionId, reqExport, options) {
1188
1189
  return (0, exports.ExportApiFp)(this.configuration).computeExports(sessionId, reqExport, options).then((request) => request(this.axios, this.basePath));
1189
1190
  }
@@ -1400,7 +1401,7 @@ const FileApiFactory = function (configuration, basePath, axios) {
1400
1401
  };
1401
1402
  };
1402
1403
  exports.FileApiFactory = FileApiFactory;
1403
- class FileApi extends base_1.BaseAPI {
1404
+ class FileApi extends base_2.BaseAPI {
1404
1405
  deleteFile(sessionId, paramId, fileId, options) {
1405
1406
  return (0, exports.FileApiFp)(this.configuration).deleteFile(sessionId, paramId, fileId, options).then((request) => request(this.axios, this.basePath));
1406
1407
  }
@@ -1474,7 +1475,7 @@ const GltfApiFactory = function (configuration, basePath, axios) {
1474
1475
  };
1475
1476
  };
1476
1477
  exports.GltfApiFactory = GltfApiFactory;
1477
- class GltfApi extends base_1.BaseAPI {
1478
+ class GltfApi extends base_2.BaseAPI {
1478
1479
  uploadGltf(sessionId, body, conversion, options) {
1479
1480
  return (0, exports.GltfApiFp)(this.configuration).uploadGltf(sessionId, body, conversion, options).then((request) => request(this.axios, this.basePath));
1480
1481
  }
@@ -1533,7 +1534,7 @@ const LogApiFactory = function (configuration, basePath, axios) {
1533
1534
  };
1534
1535
  };
1535
1536
  exports.LogApiFactory = LogApiFactory;
1536
- class LogApi extends base_1.BaseAPI {
1537
+ class LogApi extends base_2.BaseAPI {
1537
1538
  logMessage(sessionId, reqLogMessage, options) {
1538
1539
  return (0, exports.LogApiFp)(this.configuration).logMessage(sessionId, reqLogMessage, options).then((request) => request(this.axios, this.basePath));
1539
1540
  }
@@ -2173,7 +2174,7 @@ const ModelApiFactory = function (configuration, basePath, axios) {
2173
2174
  };
2174
2175
  };
2175
2176
  exports.ModelApiFactory = ModelApiFactory;
2176
- class ModelApi extends base_1.BaseAPI {
2177
+ class ModelApi extends base_2.BaseAPI {
2177
2178
  cleanupExports(modelId, untilLastSeen, options) {
2178
2179
  return (0, exports.ModelApiFp)(this.configuration).cleanupExports(modelId, untilLastSeen, options).then((request) => request(this.axios, this.basePath));
2179
2180
  }
@@ -2510,7 +2511,7 @@ const ModelStateApiFactory = function (configuration, basePath, axios) {
2510
2511
  };
2511
2512
  };
2512
2513
  exports.ModelStateApiFactory = ModelStateApiFactory;
2513
- class ModelStateApi extends base_1.BaseAPI {
2514
+ class ModelStateApi extends base_2.BaseAPI {
2514
2515
  createModelState(sessionId, reqModelState, options) {
2515
2516
  return (0, exports.ModelStateApiFp)(this.configuration).createModelState(sessionId, reqModelState, options).then((request) => request(this.axios, this.basePath));
2516
2517
  }
@@ -2706,7 +2707,7 @@ const OutputApiFactory = function (configuration, basePath, axios) {
2706
2707
  };
2707
2708
  };
2708
2709
  exports.OutputApiFactory = OutputApiFactory;
2709
- class OutputApi extends base_1.BaseAPI {
2710
+ class OutputApi extends base_2.BaseAPI {
2710
2711
  computeOutputs(sessionId, reqCustomization, options) {
2711
2712
  return (0, exports.OutputApiFp)(this.configuration).computeOutputs(sessionId, reqCustomization, options).then((request) => request(this.axios, this.basePath));
2712
2713
  }
@@ -2804,7 +2805,7 @@ const ScriptApiFactory = function (configuration, basePath, axios) {
2804
2805
  };
2805
2806
  };
2806
2807
  exports.ScriptApiFactory = ScriptApiFactory;
2807
- class ScriptApi extends base_1.BaseAPI {
2808
+ class ScriptApi extends base_2.BaseAPI {
2808
2809
  confirmScript(scriptId, options) {
2809
2810
  return (0, exports.ScriptApiFp)(this.configuration).confirmScript(scriptId, options).then((request) => request(this.axios, this.basePath));
2810
2811
  }
@@ -2978,7 +2979,7 @@ const SdtfApiFactory = function (configuration, basePath, axios) {
2978
2979
  };
2979
2980
  };
2980
2981
  exports.SdtfApiFactory = SdtfApiFactory;
2981
- class SdtfApi extends base_1.BaseAPI {
2982
+ class SdtfApi extends base_2.BaseAPI {
2982
2983
  deleteSdtf(sessionId, namespace, sdtfId, options) {
2983
2984
  return (0, exports.SdtfApiFp)(this.configuration).deleteSdtf(sessionId, namespace, sdtfId, options).then((request) => request(this.axios, this.basePath));
2984
2985
  }
@@ -3226,7 +3227,7 @@ const SessionApiFactory = function (configuration, basePath, axios) {
3226
3227
  };
3227
3228
  };
3228
3229
  exports.SessionApiFactory = SessionApiFactory;
3229
- class SessionApi extends base_1.BaseAPI {
3230
+ class SessionApi extends base_2.BaseAPI {
3230
3231
  closeSession(sessionId, options) {
3231
3232
  return (0, exports.SessionApiFp)(this.configuration).closeSession(sessionId, options).then((request) => request(this.axios, this.basePath));
3232
3233
  }
@@ -3396,7 +3397,7 @@ const SystemApiFactory = function (configuration, basePath, axios) {
3396
3397
  };
3397
3398
  };
3398
3399
  exports.SystemApiFactory = SystemApiFactory;
3399
- class SystemApi extends base_1.BaseAPI {
3400
+ class SystemApi extends base_2.BaseAPI {
3400
3401
  createSignedUrl(endpoint, encodedUri, options) {
3401
3402
  return (0, exports.SystemApiFp)(this.configuration).createSignedUrl(endpoint, encodedUri, options).then((request) => request(this.axios, this.basePath));
3402
3403
  }
@@ -3464,7 +3465,7 @@ const TextureApiFactory = function (configuration, basePath, axios) {
3464
3465
  };
3465
3466
  };
3466
3467
  exports.TextureApiFactory = TextureApiFactory;
3467
- class TextureApi extends base_1.BaseAPI {
3468
+ class TextureApi extends base_2.BaseAPI {
3468
3469
  listTextures(sessionId, offset, options) {
3469
3470
  return (0, exports.TextureApiFp)(this.configuration).listTextures(sessionId, offset, options).then((request) => request(this.axios, this.basePath));
3470
3471
  }