bruce-models 7.1.84 → 7.1.85

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.
@@ -14942,6 +14942,25 @@
14942
14942
  return null;
14943
14943
  }
14944
14944
  ImportAssembly.ParseAnalysisResult = ParseAnalysisResult;
14945
+ /**
14946
+ * Returns the analysis itself, wherever the API decided to put it.
14947
+ */
14948
+ function ResolveAnalysisResult(params) {
14949
+ return __awaiter(this, void 0, void 0, function* () {
14950
+ let { api, paResult, req: reqParams } = params;
14951
+ const parsed = ParseAnalysisResult(paResult);
14952
+ const tempFileId = parsed === null || parsed === void 0 ? void 0 : parsed["Analysis.TempFile.ID"];
14953
+ if (!parsed || !tempFileId) {
14954
+ return parsed;
14955
+ }
14956
+ if (!api) {
14957
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
14958
+ }
14959
+ const analysis = yield api.GET("tempfile/" + tempFileId, exports.Api.PrepReqParams(reqParams));
14960
+ return typeof analysis === "string" ? ParseAnalysisResult(analysis) : analysis;
14961
+ });
14962
+ }
14963
+ ImportAssembly.ResolveAnalysisResult = ResolveAnalysisResult;
14945
14964
  })(exports.ImportAssembly || (exports.ImportAssembly = {}));
14946
14965
 
14947
14966
  (function (ImportCad) {
@@ -20358,7 +20377,7 @@
20358
20377
  })(exports.UrlUtils || (exports.UrlUtils = {}));
20359
20378
 
20360
20379
  // This is updated with the package.json version on build.
20361
- const VERSION = "7.1.84";
20380
+ const VERSION = "7.1.85";
20362
20381
 
20363
20382
  exports.VERSION = VERSION;
20364
20383
  exports.AbstractApi = AbstractApi;