@vendit-dev/thirdparty-adapters 0.3.25 → 0.3.26
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.
|
@@ -121,7 +121,10 @@ var SmartAccessAdapter = /** @class */ (function () {
|
|
|
121
121
|
this.checkSmartAccessIntegration = function (_a) {
|
|
122
122
|
var accommodationId = _a.accommodationId;
|
|
123
123
|
return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_b) {
|
|
124
|
-
|
|
124
|
+
switch (_b.label) {
|
|
125
|
+
case 0: return [4 /*yield*/, this.getAccommodationAuthInfo({ accommodationId: accommodationId })];
|
|
126
|
+
case 1: return [2 /*return*/, !!(_b.sent())];
|
|
127
|
+
}
|
|
125
128
|
}); });
|
|
126
129
|
};
|
|
127
130
|
this.getAccommodationAuthInfo = function (_a) {
|