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.
- package/dist/bruce-models.es5.js +7 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +7 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/account/account-invite.js +6 -2
- package/dist/lib/account/account-invite.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/types/account/account-invite.d.ts +1 -0
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
16657
|
+
const VERSION = "7.1.3";
|
|
16654
16658
|
|
|
16655
16659
|
exports.VERSION = VERSION;
|
|
16656
16660
|
exports.AbstractApi = AbstractApi;
|