bruce-models 7.1.2 → 7.1.3

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.
@@ -13793,11 +13793,15 @@
13793
13793
  */
13794
13794
  function GetByCode(params) {
13795
13795
  return __awaiter(this, void 0, void 0, function* () {
13796
- let { api, code, req } = params;
13796
+ let { api, code, req, expand } = params;
13797
13797
  if (!api) {
13798
13798
  api = exports.ENVIRONMENT.Api().GetGuardianApi();
13799
13799
  }
13800
- const invite = yield api.GET(`v3/accountInvite?InviteCode=${code}`, exports.Api.PrepReqParams(req));
13800
+ let url = `v3/accountInvite?InviteCode=${code}`;
13801
+ if (expand) {
13802
+ url += "&Expand=" + expand;
13803
+ }
13804
+ const invite = yield api.GET(url, exports.Api.PrepReqParams(req));
13801
13805
  return {
13802
13806
  invite: invite
13803
13807
  };
@@ -16650,7 +16654,7 @@
16650
16654
  })(exports.ChangeSet || (exports.ChangeSet = {}));
16651
16655
 
16652
16656
  // This is updated with the package.json version on build.
16653
- const VERSION = "7.1.2";
16657
+ const VERSION = "7.1.3";
16654
16658
 
16655
16659
  exports.VERSION = VERSION;
16656
16660
  exports.AbstractApi = AbstractApi;