@wipperoz/common-entities-account 1.0.2 → 1.0.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/src/enums/index.d.ts +4 -0
- package/dist/src/enums/index.d.ts.map +1 -0
- package/dist/src/enums/index.js +5 -17
- package/dist/src/enums/index.js.map +1 -0
- package/dist/src/enums/measurementSystem.enum.d.ts +6 -0
- package/dist/src/enums/measurementSystem.enum.d.ts.map +1 -0
- package/dist/src/enums/measurementSystem.enum.js +1 -0
- package/dist/src/enums/measurementSystem.enum.js.map +1 -0
- package/dist/src/enums/notificationMeansType.enum.d.ts +6 -0
- package/dist/src/enums/notificationMeansType.enum.d.ts.map +1 -0
- package/dist/src/enums/notificationMeansType.enum.js +1 -0
- package/dist/src/enums/notificationMeansType.enum.js.map +1 -0
- package/dist/src/enums/notificationType.enum.d.ts +7 -0
- package/dist/src/enums/notificationType.enum.d.ts.map +1 -0
- package/dist/src/enums/notificationType.enum.js +1 -0
- package/dist/src/enums/notificationType.enum.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +4 -16
- package/dist/src/index.js.map +1 -0
- package/dist/src/interfaces/account-settings.interface.d.ts +12 -0
- package/dist/src/interfaces/account-settings.interface.d.ts.map +1 -0
- package/dist/src/interfaces/account-settings.interface.js +1 -0
- package/dist/src/interfaces/account-settings.interface.js.map +1 -0
- package/dist/src/interfaces/index.d.ts +3 -0
- package/dist/src/interfaces/index.d.ts.map +1 -0
- package/dist/src/interfaces/index.js +4 -16
- package/dist/src/interfaces/index.js.map +1 -0
- package/dist/src/interfaces/wipperoz-notification.interface.d.ts +7 -0
- package/dist/src/interfaces/wipperoz-notification.interface.d.ts.map +1 -0
- package/dist/src/interfaces/wipperoz-notification.interface.js +1 -0
- package/dist/src/interfaces/wipperoz-notification.interface.js.map +1 -0
- package/dist/src/models/account-settings.model.d.ts +22 -0
- package/dist/src/models/account-settings.model.d.ts.map +1 -0
- package/dist/src/models/account-settings.model.js +22 -1
- package/dist/src/models/account-settings.model.js.map +1 -0
- package/dist/src/models/wipperoz-notification.model.d.ts +9 -0
- package/dist/src/models/wipperoz-notification.model.d.ts.map +1 -0
- package/dist/src/models/wipperoz-notification.model.js +1 -0
- package/dist/src/models/wipperoz-notification.model.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/dist/src/enums/measurementSystem.enum.test.js +0 -12
- package/dist/src/enums/notificatioMeansType.enum.test.js +0 -12
- package/dist/src/enums/notificationType.enum.test.js +0 -29
- package/dist/src/interfaces/account-settings.interface.test.js +0 -53
- package/dist/src/interfaces/wipperoz-notification.interface.test.js +0 -24
- package/dist/src/models/account-settings.model.test.js +0 -43
- package/dist/src/models/wipperoz-notification.model.test.js +0 -45
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
|
package/dist/src/enums/index.js
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./measurementSystem.enum"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./notificationMeansType.enum"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./notificationType.enum"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;AAAA,mEAAyC;AACzC,uEAA6C;AAC7C,kEAAwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measurementSystem.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/measurementSystem.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,qBAAqB,yBAAuC,CAAC"}
|
|
@@ -7,3 +7,4 @@ var MeasurementSystemEnum;
|
|
|
7
7
|
MeasurementSystemEnum["METRIC"] = "Metric";
|
|
8
8
|
})(MeasurementSystemEnum || (exports.MeasurementSystemEnum = MeasurementSystemEnum = {}));
|
|
9
9
|
exports.measurementSystemEnum = Object.values(MeasurementSystemEnum);
|
|
10
|
+
//# sourceMappingURL=measurementSystem.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measurementSystem.enum.js","sourceRoot":"","sources":["../../../src/enums/measurementSystem.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,0CAAiB,CAAA;AACnB,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC;AAEY,QAAA,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationMeansType.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/notificationMeansType.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACnC,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,yBAAyB,6BAErC,CAAC"}
|
|
@@ -7,3 +7,4 @@ var NotificationMeansTypeEnum;
|
|
|
7
7
|
NotificationMeansTypeEnum["SMS"] = "SMS";
|
|
8
8
|
})(NotificationMeansTypeEnum || (exports.NotificationMeansTypeEnum = NotificationMeansTypeEnum = {}));
|
|
9
9
|
exports.notificationMeansTypeEnum = Object.values(NotificationMeansTypeEnum);
|
|
10
|
+
//# sourceMappingURL=notificationMeansType.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationMeansType.enum.js","sourceRoot":"","sources":["../../../src/enums/notificationMeansType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,4CAAe,CAAA;IACf,wCAAW,CAAA;AACb,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AAEY,QAAA,yBAAyB,GAAG,MAAM,CAAC,MAAM,CACpD,yBAAyB,CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationType.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/notificationType.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,OAAO,YAAY;IACnB,gBAAgB,qBAAqB;IACrC,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,oBAAoB,wBAAsC,CAAC"}
|
|
@@ -8,3 +8,4 @@ var NotificationTypeEnum;
|
|
|
8
8
|
NotificationTypeEnum["MARKETING"] = "Marketing";
|
|
9
9
|
})(NotificationTypeEnum || (exports.NotificationTypeEnum = NotificationTypeEnum = {}));
|
|
10
10
|
exports.notificationTypeEnum = Object.values(NotificationTypeEnum);
|
|
11
|
+
//# sourceMappingURL=notificationType.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationType.enum.js","sourceRoot":"","sources":["../../../src/enums/notificationType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,6DAAqC,CAAA;IACrC,+CAAuB,CAAA;AACzB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAEY,QAAA,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./enums"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./interfaces"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,kDAAwB;AACxB,uDAA6B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IWipperozNotification } from './wipperoz-notification.interface';
|
|
2
|
+
export interface IDetails {
|
|
3
|
+
wipperozNotifications: IWipperozNotification[];
|
|
4
|
+
}
|
|
5
|
+
export interface IAccountSettings {
|
|
6
|
+
Items: {
|
|
7
|
+
Pkey: string;
|
|
8
|
+
Skey: string;
|
|
9
|
+
Details?: IDetails;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=account-settings.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-settings.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/account-settings.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,mCAAmC,CAAC;AAExE,MAAM,WAAW,QAAQ;IACvB,qBAAqB,EAAE,qBAAqB,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,QAAQ,CAAA;KAAC,EAAE,CAAC;CAC3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-settings.interface.js","sourceRoot":"","sources":["../../../src/interfaces/account-settings.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC"}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("./
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./account-settings.interface.js"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./wipperoz-notification.interface.js"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,0EAAgD;AAChD,+EAAqD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wipperoz-notification.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/wipperoz-notification.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AAEvD,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,EAAE,oBAAoB,CAAC;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wipperoz-notification.interface.js","sourceRoot":"","sources":["../../../src/interfaces/wipperoz-notification.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IAccountSettings, IDetails } from '../interfaces/account-settings.interface';
|
|
2
|
+
export declare class AccountSettings implements IAccountSettings {
|
|
3
|
+
Items: {
|
|
4
|
+
Pkey: string;
|
|
5
|
+
Skey: string;
|
|
6
|
+
Details: IDetails;
|
|
7
|
+
}[];
|
|
8
|
+
constructor(data: IAccountSettings);
|
|
9
|
+
addItem(item: {
|
|
10
|
+
Pkey: string;
|
|
11
|
+
Skey: string;
|
|
12
|
+
Details: IDetails;
|
|
13
|
+
}): void;
|
|
14
|
+
removeItem(pkey: string, skey: string): void;
|
|
15
|
+
getItem(pkey: string, skey: string): {
|
|
16
|
+
Pkey: string;
|
|
17
|
+
Skey: string;
|
|
18
|
+
Details: IDetails;
|
|
19
|
+
} | undefined;
|
|
20
|
+
updateItem(pkey: string, skey: string, details: IDetails): void;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=account-settings.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-settings.model.d.ts","sourceRoot":"","sources":["../../../src/models/account-settings.model.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACT,MAAM,0CAA0C,CAAC;AAElD,qBAAa,eAAgB,YAAW,gBAAgB;IACtD,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,QAAQ,CAAC;KACnB,EAAE,CAAM;gBAEG,IAAI,EAAE,gBAAgB;IAUlC,OAAO,CAAC,IAAI,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAA;KAAC,GAAG,IAAI;IAIpE,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAM5C,OAAO,CACL,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GACX;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAA;KAAC,GAAG,SAAS;IAI9D,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,GAAG,IAAI;CAMhE"}
|
|
@@ -3,9 +3,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AccountSettings = void 0;
|
|
4
4
|
class AccountSettings {
|
|
5
5
|
constructor(data) {
|
|
6
|
+
this.Items = [];
|
|
6
7
|
if (data) {
|
|
7
|
-
this.Items = data.Items
|
|
8
|
+
this.Items = data.Items?.map(item => ({
|
|
9
|
+
Pkey: item.Pkey,
|
|
10
|
+
Skey: item.Skey,
|
|
11
|
+
Details: item.Details ?? {},
|
|
12
|
+
}));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
addItem(item) {
|
|
16
|
+
this.Items.push(item);
|
|
17
|
+
}
|
|
18
|
+
removeItem(pkey, skey) {
|
|
19
|
+
this.Items = this.Items.filter(item => item.Pkey !== pkey || item.Skey !== skey);
|
|
20
|
+
}
|
|
21
|
+
getItem(pkey, skey) {
|
|
22
|
+
return this.Items.find(item => item.Pkey === pkey && item.Skey === skey);
|
|
23
|
+
}
|
|
24
|
+
updateItem(pkey, skey, details) {
|
|
25
|
+
const item = this.getItem(pkey, skey);
|
|
26
|
+
if (item) {
|
|
27
|
+
item.Details = details;
|
|
8
28
|
}
|
|
9
29
|
}
|
|
10
30
|
}
|
|
11
31
|
exports.AccountSettings = AccountSettings;
|
|
32
|
+
//# sourceMappingURL=account-settings.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-settings.model.js","sourceRoot":"","sources":["../../../src/models/account-settings.model.ts"],"names":[],"mappings":";;;AAKA,MAAa,eAAe;IAO1B,YAAY,IAAsB;QANlC,UAAK,GAIC,EAAE,CAAC;QAGP,IAAI,IAAI,EAAE,CAAC;YACT,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACpC,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,OAAO,EAAE,IAAI,CAAC,OAAO,IAAK,EAAe;aAC1C,CAAC,CAAC,CAAC;QACN,CAAC;IACH,CAAC;IAED,OAAO,CAAC,IAAqD;QAC3D,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,UAAU,CAAC,IAAY,EAAE,IAAY;QACnC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAC5B,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CACjD,CAAC;IACJ,CAAC;IAED,OAAO,CACL,IAAY,EACZ,IAAY;QAEZ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IAC3E,CAAC;IAED,UAAU,CAAC,IAAY,EAAE,IAAY,EAAE,OAAiB;QACtD,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtC,IAAI,IAAI,EAAE,CAAC;YACT,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACzB,CAAC;IACH,CAAC;CACF;AAxCD,0CAwCC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IWipperozNotification } from '../interfaces/wipperoz-notification.interface';
|
|
2
|
+
import { NotificationTypeEnum } from '../enums/notificationType.enum';
|
|
3
|
+
export declare class WipperozNotification implements IWipperozNotification {
|
|
4
|
+
notificationType: NotificationTypeEnum;
|
|
5
|
+
allowChange: boolean;
|
|
6
|
+
notificationActive: boolean;
|
|
7
|
+
constructor(data: IWipperozNotification);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=wipperoz-notification.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wipperoz-notification.model.d.ts","sourceRoot":"","sources":["../../../src/models/wipperoz-notification.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,+CAA+C,CAAC;AACpF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,qBAAa,oBAAqB,YAAW,qBAAqB;IAChE,gBAAgB,EAAE,oBAAoB,CAAC;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;gBAEhB,IAAI,EAAE,qBAAqB;CAKxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wipperoz-notification.model.js","sourceRoot":"","sources":["../../../src/models/wipperoz-notification.model.ts"],"names":[],"mappings":";;;AAGA,MAAa,oBAAoB;IAK/B,YAAY,IAA2B;QACrC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;QAC9C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC;IACpD,CAAC;CACF;AAVD,oDAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.es2023.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/tslib/tslib.d.ts","../src/enums/measurementSystem.enum.ts","../src/enums/notificationMeansType.enum.ts","../src/enums/notificationType.enum.ts","../src/enums/index.ts","../src/interfaces/wipperoz-notification.interface.ts","../src/interfaces/account-settings.interface.ts","../src/interfaces/index.ts","../src/index.ts","../src/models/account-settings.model.ts","../src/models/wipperoz-notification.model.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@jest/expect-utils/build/index.d.ts","../node_modules/chalk/index.d.ts","../node_modules/@sinclair/typebox/typebox.d.ts","../node_modules/@jest/schemas/build/index.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/jest-matcher-utils/build/index.d.ts","../node_modules/expect/build/index.d.ts","../node_modules/@types/jest/index.d.ts"],"fileIdsList":[[78,121],[78,121,174],[78,121,176,179],[78,118,121],[78,120,121],[121],[78,121,126,156],[78,121,122,127,133,134,141,153,164],[78,121,122,123,133,141],[73,74,75,78,121],[78,121,124,165],[78,121,125,126,134,142],[78,121,126,153,161],[78,121,127,129,133,141],[78,120,121,128],[78,121,129,130],[78,121,133],[78,121,131,133],[78,120,121,133],[78,121,133,134,135,153,164],[78,121,133,134,135,148,153,156],[78,116,121,169],[78,116,121,129,133,136,141,153,164],[78,121,133,134,136,137,141,153,161,164],[78,121,136,138,153,161,164],[76,77,78,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170],[78,121,133,139],[78,121,140,164],[78,121,129,133,141,153],[78,121,142],[78,121,143],[78,120,121,144],[78,118,119,120,121,122,123,124,125,126,127,128,129,130,131,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170],[78,121,146],[78,121,147],[78,121,133,148,149],[78,121,148,150,165,167],[78,121,133,153,154,155,156],[78,121,153,155],[78,121,153,154],[78,121,156],[78,121,157],[78,118,121,153],[78,121,133,159,160],[78,121,159,160],[78,121,126,141,153,161],[78,121,162],[78,121,141,163],[78,121,136,147,164],[78,121,126,165],[78,121,153,166],[78,121,140,167],[78,121,168],[78,121,126,133,135,144,153,164,167,169],[78,121,153,170],[78,121,172,178],[78,121,176],[78,121,173,177],[78,121,175],[78,88,92,121,164],[78,88,121,153,164],[78,83,121],[78,85,88,121,161,164],[78,121,141,161],[78,121,171],[78,83,121,171],[78,85,88,121,141,164],[78,80,81,84,87,121,133,153,164],[78,88,95,121],[78,80,86,121],[78,88,109,110,121],[78,84,88,121,156,164,171],[78,109,121,171],[78,82,83,121,171],[78,88,121],[78,82,83,84,85,86,87,88,89,90,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,114,115,121],[78,88,103,121],[78,88,95,96,121],[78,86,88,96,97,121],[78,87,121],[78,80,83,88,121],[78,88,92,96,97,121],[78,92,121],[78,86,88,91,121,164],[78,80,85,88,95,121],[78,121,153],[78,83,88,109,121,169,171],[62,63,64,65,78,121],[62,78,121],[62,66,69,78,121],[62,67,78,121],[62,67,68,78,121],[62,66,78,121],[62,68,78,121],[62,65,67,78,121]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"bab26767638ab3557de12c900f0b91f710c7dc40ee9793d5a27d32c04f0bf646","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"525eed524a69cc124239ae23444f3b8efb02410e694d9f9d6869976b944667ab","signature":"05a90b97521f76a9b24433cfab44f4d80c28803e19bf0f1cc4f0efae5433f48a"},{"version":"c3f93584224646c5386725328ffeca4fca3e80a26eb6c333877f26574b2d56e0","signature":"cd0a5fd8ae1f8f4025ddb18223746b16a32f512efab53999c62798e88d5ede38"},{"version":"37e73f8a6cf00bcfffe8e0b955c33f7312057bb67481c12635176fc63ffe71fe","signature":"e15367a36c11cbb8e1501ff214f68f870ef64f1aac1b674e6be5950f3b8649da"},"fd3cf6970d38bf313a885b97a5abaa0076e46379f20d093ba18857425b8266b7",{"version":"889387c6276f4bf6d2b50fcee7545c03fbfea8ee4c6690269defe21e48850b30","signature":"ffdb4ffd31933699ed6df7c0705616ce928c0c2d16d22e633b9aca5d041ab7f5"},{"version":"8c200e974d0c9fd1ec601b005b050276be4670986b3ab1882f4b7c47e97869c5","signature":"9894aa6cdd57d551e1340ea52247d8f5289879060a7959af46f0102e5087ec9b"},"d74f5afdebf71f68fb73dc8001e55207f242486392a3a16996f404c2a77fd13c","e25c106c38f036654ec2ab4787a7d7eef0f0b48faf2e266174e4ebe321d3d673",{"version":"69d93d30e53859250f53e62e0fe76c2fcc4d6a1a8c6f69b6fc85737361108f5b","signature":"2d7f0218d1302f9b6688f54050544497e76fa675ad6709274520d25a2bae3360"},{"version":"9846e595b1f05917b6121dd46fb9b481fc1f1615740c0ce3b862607a4dbffac2","signature":"9819b788e48d8c57e3bcd80823a1f8ff75ed4011586bc71530d6295a431aadd2"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"13af9e8fb6757946c48117315866177b95e554d1e773577bb6ca6e40083b6d73","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","impliedFormat":1},{"version":"1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","impliedFormat":1},{"version":"2ea254f944dfe131df1264d1fb96e4b1f7d110195b21f1f5dbb68fdd394e5518","impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","impliedFormat":1},{"version":"4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"b11cb909327c874a4e81bfb390bf0d231e5bf9439052689ab80ba8afa50da17b","affectsGlobalScope":true,"impliedFormat":1},{"version":"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f6f1d54779d0b9ed152b0516b0958cd34889764c1190434bbf18e7a8bb884cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"f7b1df115dbd1b8522cba4f404a9f4fdcd5169e2137129187ffeee9d287e4fd1","impliedFormat":1},{"version":"b52d379b4939681f3781d1cfd5b2c3cbb35e7e76f2425172e165782f8a08228c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"993985beef40c7d113f6dd8f0ba26eed63028b691fbfeb6a5b63f26408dd2c6d","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb094bb347d7df3380299eb69836c2c8758626ecf45917577707c03cf816b6f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","impliedFormat":1},{"version":"b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1}],"root":[[63,72]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"module":1,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":7},"referencedMap":[[172,1],[175,2],[174,1],[180,3],[118,4],[119,4],[120,5],[78,6],[121,7],[122,8],[123,9],[73,1],[76,10],[74,1],[75,1],[124,11],[125,12],[126,13],[127,14],[128,15],[129,16],[130,16],[132,17],[131,18],[133,19],[134,20],[135,21],[117,22],[77,1],[136,23],[137,24],[138,25],[171,26],[139,27],[140,28],[141,29],[142,30],[143,31],[144,32],[145,33],[146,34],[147,35],[148,36],[149,36],[150,37],[151,1],[152,1],[153,38],[155,39],[154,40],[156,41],[157,42],[158,43],[159,44],[160,45],[161,46],[162,47],[163,48],[164,49],[165,50],[166,51],[167,52],[168,53],[169,54],[170,55],[79,1],[173,1],[179,56],[177,57],[178,58],[176,59],[62,1],[60,1],[61,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[21,1],[22,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[56,1],[55,1],[57,1],[58,1],[10,1],[59,1],[1,1],[95,60],[105,61],[94,60],[115,62],[86,63],[85,64],[114,65],[108,66],[113,67],[88,68],[102,69],[87,70],[111,71],[83,72],[82,65],[112,73],[84,74],[89,75],[90,1],[93,75],[80,1],[116,76],[106,77],[97,78],[98,79],[100,80],[96,81],[99,82],[109,65],[91,83],[92,84],[101,85],[81,86],[104,77],[103,75],[107,1],[110,87],[66,88],[63,89],[64,89],[65,89],[70,90],[68,91],[69,92],[67,93],[71,94],[72,95]],"version":"5.7.3"}
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const measurementSystem_enum_1 = require("./measurementSystem.enum");
|
|
4
|
-
describe('MeasurementSystemEnum', () => {
|
|
5
|
-
it('should have IMPERIAL and METRIC values', () => {
|
|
6
|
-
expect(measurementSystem_enum_1.MeasurementSystemEnum.IMPERIAL).toBe('Imperial');
|
|
7
|
-
expect(measurementSystem_enum_1.MeasurementSystemEnum.METRIC).toBe('Metric');
|
|
8
|
-
});
|
|
9
|
-
it('should have an array of enum values', () => {
|
|
10
|
-
expect(measurementSystem_enum_1.measurementSystemEnum).toEqual(['Imperial', 'Metric']);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const notificationMeansType_enum_1 = require("./notificationMeansType.enum");
|
|
4
|
-
describe('NotificationMeansTypeEnum', () => {
|
|
5
|
-
it('should have EMAIL and SMS values', () => {
|
|
6
|
-
expect(notificationMeansType_enum_1.NotificationMeansTypeEnum.EMAIL).toBe('Email');
|
|
7
|
-
expect(notificationMeansType_enum_1.NotificationMeansTypeEnum.SMS).toBe('SMS');
|
|
8
|
-
});
|
|
9
|
-
it('should have an array of enum values', () => {
|
|
10
|
-
expect(notificationMeansType_enum_1.notificationMeansTypeEnum).toEqual(['Email', 'SMS']);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const notificationType_enum_1 = require("./notificationType.enum");
|
|
4
|
-
describe('NotificationTypeEnum', () => {
|
|
5
|
-
it('should have BILLING, WIP_TRANSACTIONS, and MARKETING values', () => {
|
|
6
|
-
expect(notificationType_enum_1.NotificationTypeEnum.BILLING).toBe('Billing');
|
|
7
|
-
expect(notificationType_enum_1.NotificationTypeEnum.WIP_TRANSACTIONS).toBe('WIP Transactions');
|
|
8
|
-
expect(notificationType_enum_1.NotificationTypeEnum.MARKETING).toBe('Marketing');
|
|
9
|
-
});
|
|
10
|
-
it('should have an array of enum values', () => {
|
|
11
|
-
expect(notificationType_enum_1.notificationTypeEnum).toEqual([
|
|
12
|
-
'Billing',
|
|
13
|
-
'WIP Transactions',
|
|
14
|
-
'Marketing',
|
|
15
|
-
]);
|
|
16
|
-
});
|
|
17
|
-
it('should contain all enum keys', () => {
|
|
18
|
-
const keys = Object.keys(notificationType_enum_1.NotificationTypeEnum);
|
|
19
|
-
expect(keys).toContain('BILLING');
|
|
20
|
-
expect(keys).toContain('WIP_TRANSACTIONS');
|
|
21
|
-
expect(keys).toContain('MARKETING');
|
|
22
|
-
});
|
|
23
|
-
it('should contain all enum values', () => {
|
|
24
|
-
const values = Object.values(notificationType_enum_1.NotificationTypeEnum);
|
|
25
|
-
expect(values).toContain('Billing');
|
|
26
|
-
expect(values).toContain('WIP Transactions');
|
|
27
|
-
expect(values).toContain('Marketing');
|
|
28
|
-
});
|
|
29
|
-
});
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const index_js_1 = require("../enums/index.js");
|
|
4
|
-
describe('IAccountSettings Interface', () => {
|
|
5
|
-
it('should allow an empty Items array', () => {
|
|
6
|
-
const accountSettings = {};
|
|
7
|
-
expect(accountSettings.Items).toBeUndefined();
|
|
8
|
-
});
|
|
9
|
-
it('should allow Items with Pkey, Skey, and Details', () => {
|
|
10
|
-
const notification = {
|
|
11
|
-
notificationType: index_js_1.NotificationTypeEnum.BILLING,
|
|
12
|
-
allowChange: true,
|
|
13
|
-
notificationActive: true,
|
|
14
|
-
};
|
|
15
|
-
const accountSettings = {
|
|
16
|
-
Items: [
|
|
17
|
-
{
|
|
18
|
-
Pkey: 'user-id:123',
|
|
19
|
-
Skey: 'account-settings-id:456',
|
|
20
|
-
Details: {
|
|
21
|
-
wipperozNotifications: [notification],
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
};
|
|
26
|
-
expect(accountSettings.Items).toHaveLength(1);
|
|
27
|
-
expect(accountSettings.Items?.[0].Pkey).toBe('user-id:123');
|
|
28
|
-
expect(accountSettings.Items?.[0].Skey).toBe('account-settings-id:456');
|
|
29
|
-
expect(accountSettings.Items?.[0].Details?.wipperozNotifications).toHaveLength(1);
|
|
30
|
-
expect(accountSettings.Items?.[0].Details?.wipperozNotifications[0]).toEqual(notification);
|
|
31
|
-
});
|
|
32
|
-
it('should allow Items without Pkey and Skey', () => {
|
|
33
|
-
const notification = {
|
|
34
|
-
notificationType: index_js_1.NotificationTypeEnum.BILLING,
|
|
35
|
-
allowChange: true,
|
|
36
|
-
notificationActive: true,
|
|
37
|
-
};
|
|
38
|
-
const accountSettings = {
|
|
39
|
-
Items: [
|
|
40
|
-
{
|
|
41
|
-
Details: {
|
|
42
|
-
wipperozNotifications: [notification],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
};
|
|
47
|
-
expect(accountSettings.Items).toHaveLength(1);
|
|
48
|
-
expect(accountSettings.Items?.[0].Pkey).toBeUndefined();
|
|
49
|
-
expect(accountSettings.Items?.[0].Skey).toBeUndefined();
|
|
50
|
-
expect(accountSettings.Items?.[0].Details?.wipperozNotifications).toHaveLength(1);
|
|
51
|
-
expect(accountSettings.Items?.[0].Details?.wipperozNotifications[0]).toEqual(notification);
|
|
52
|
-
});
|
|
53
|
-
});
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const index_js_1 = require("../enums/index.js");
|
|
4
|
-
describe('IWipperozNotification Interface', () => {
|
|
5
|
-
it('should create a valid IWipperozNotification object', () => {
|
|
6
|
-
const notification = {
|
|
7
|
-
notificationType: index_js_1.NotificationTypeEnum.BILLING,
|
|
8
|
-
allowChange: true,
|
|
9
|
-
notificationActive: true,
|
|
10
|
-
};
|
|
11
|
-
expect(notification.notificationType).toBe(index_js_1.NotificationTypeEnum.BILLING);
|
|
12
|
-
expect(notification.allowChange).toBe(true);
|
|
13
|
-
expect(notification.notificationActive).toBe(true);
|
|
14
|
-
});
|
|
15
|
-
it('should allow changing notificationActive property', () => {
|
|
16
|
-
const notification = {
|
|
17
|
-
notificationType: index_js_1.NotificationTypeEnum.MARKETING,
|
|
18
|
-
allowChange: true,
|
|
19
|
-
notificationActive: false,
|
|
20
|
-
};
|
|
21
|
-
notification.notificationActive = true;
|
|
22
|
-
expect(notification.notificationActive).toBe(true);
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const account_settings_model_1 = require("./account-settings.model");
|
|
4
|
-
const enums_1 = require("../enums");
|
|
5
|
-
describe('AccountSettings Model', () => {
|
|
6
|
-
it('should create an AccountSettings instance with data', () => {
|
|
7
|
-
const data = {
|
|
8
|
-
Items: [
|
|
9
|
-
{
|
|
10
|
-
Pkey: 'user-id:123',
|
|
11
|
-
Skey: 'account-settings-id:456',
|
|
12
|
-
Details: {
|
|
13
|
-
wipperozNotifications: [
|
|
14
|
-
{
|
|
15
|
-
notificationType: enums_1.NotificationTypeEnum.BILLING,
|
|
16
|
-
allowChange: true,
|
|
17
|
-
notificationActive: true,
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
const accountSettings = new account_settings_model_1.AccountSettings(data);
|
|
25
|
-
expect(accountSettings.Items).toEqual(data.Items);
|
|
26
|
-
});
|
|
27
|
-
it('should create an AccountSettings instance without data', () => {
|
|
28
|
-
const accountSettings = new account_settings_model_1.AccountSettings();
|
|
29
|
-
expect(accountSettings.Items).toBeUndefined();
|
|
30
|
-
});
|
|
31
|
-
it('should handle undefined Items property', () => {
|
|
32
|
-
const data = {};
|
|
33
|
-
const accountSettings = new account_settings_model_1.AccountSettings(data);
|
|
34
|
-
expect(accountSettings.Items).toBeUndefined();
|
|
35
|
-
});
|
|
36
|
-
it('should handle empty Items array', () => {
|
|
37
|
-
const data = {
|
|
38
|
-
Items: [],
|
|
39
|
-
};
|
|
40
|
-
const accountSettings = new account_settings_model_1.AccountSettings(data);
|
|
41
|
-
expect(accountSettings.Items).toEqual([]);
|
|
42
|
-
});
|
|
43
|
-
});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const wipperoz_notification_model_1 = require("./wipperoz-notification.model");
|
|
4
|
-
const notificationType_enum_1 = require("../enums/notificationType.enum");
|
|
5
|
-
describe('WipperozNotification Model', () => {
|
|
6
|
-
it('should create a WipperozNotification instance with data', () => {
|
|
7
|
-
const data = {
|
|
8
|
-
notificationType: notificationType_enum_1.NotificationTypeEnum.BILLING,
|
|
9
|
-
allowChange: true,
|
|
10
|
-
notificationActive: true,
|
|
11
|
-
};
|
|
12
|
-
const notification = new wipperoz_notification_model_1.WipperozNotification(data);
|
|
13
|
-
expect(notification.notificationType).toBe(notificationType_enum_1.NotificationTypeEnum.BILLING);
|
|
14
|
-
expect(notification.allowChange).toBe(true);
|
|
15
|
-
expect(notification.notificationActive).toBe(true);
|
|
16
|
-
});
|
|
17
|
-
it('should allow changing notificationActive property', () => {
|
|
18
|
-
const data = {
|
|
19
|
-
notificationType: notificationType_enum_1.NotificationTypeEnum.MARKETING,
|
|
20
|
-
allowChange: true,
|
|
21
|
-
notificationActive: false,
|
|
22
|
-
};
|
|
23
|
-
const notification = new wipperoz_notification_model_1.WipperozNotification(data);
|
|
24
|
-
notification.notificationActive = true;
|
|
25
|
-
expect(notification.notificationActive).toBe(true);
|
|
26
|
-
});
|
|
27
|
-
it('should handle allowChange property correctly', () => {
|
|
28
|
-
const data = {
|
|
29
|
-
notificationType: notificationType_enum_1.NotificationTypeEnum.BILLING,
|
|
30
|
-
allowChange: false,
|
|
31
|
-
notificationActive: true,
|
|
32
|
-
};
|
|
33
|
-
const notification = new wipperoz_notification_model_1.WipperozNotification(data);
|
|
34
|
-
expect(notification.allowChange).toBe(false);
|
|
35
|
-
});
|
|
36
|
-
it('should handle notificationType property correctly', () => {
|
|
37
|
-
const data = {
|
|
38
|
-
notificationType: notificationType_enum_1.NotificationTypeEnum.MARKETING,
|
|
39
|
-
allowChange: true,
|
|
40
|
-
notificationActive: false,
|
|
41
|
-
};
|
|
42
|
-
const notification = new wipperoz_notification_model_1.WipperozNotification(data);
|
|
43
|
-
expect(notification.notificationType).toBe(notificationType_enum_1.NotificationTypeEnum.MARKETING);
|
|
44
|
-
});
|
|
45
|
-
});
|