@wipperoz/common-entities-account 1.3.0 → 1.3.2
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 +7 -5
- package/dist/src/enums/index.d.ts.map +1 -1
- package/dist/src/enums/index.js +7 -5
- package/dist/src/enums/index.js.map +1 -1
- package/dist/src/enums/language.enum.d.ts +1 -1
- package/dist/src/enums/language.enum.d.ts.map +1 -1
- package/dist/src/enums/language.enum.js +2 -2
- package/dist/src/enums/language.enum.js.map +1 -1
- package/dist/src/enums/notificationCategory.enum.d.ts +2 -0
- package/dist/src/enums/notificationCategory.enum.d.ts.map +1 -0
- package/dist/src/enums/notificationCategory.enum.js +7 -0
- package/dist/src/enums/notificationCategory.enum.js.map +1 -0
- package/dist/src/enums/userStatus.enum.d.ts +2 -0
- package/dist/src/enums/userStatus.enum.d.ts.map +1 -0
- package/dist/src/enums/userStatus.enum.js +7 -0
- package/dist/src/enums/userStatus.enum.js.map +1 -0
- package/dist/src/enums/userType.enum.d.ts +2 -0
- package/dist/src/enums/userType.enum.d.ts.map +1 -0
- package/dist/src/enums/userType.enum.js +7 -0
- package/dist/src/enums/userType.enum.js.map +1 -0
- package/dist/src/interfaces/account.interface.d.ts +5 -12
- package/dist/src/interfaces/account.interface.d.ts.map +1 -1
- package/dist/src/interfaces/accountSettings.interface.d.ts +4 -5
- package/dist/src/interfaces/accountSettings.interface.d.ts.map +1 -1
- package/dist/src/interfaces/index.d.ts +6 -8
- package/dist/src/interfaces/index.d.ts.map +1 -1
- package/dist/src/interfaces/index.js +6 -8
- package/dist/src/interfaces/index.js.map +1 -1
- package/dist/src/interfaces/notificationMeans.interface.d.ts +2 -0
- package/dist/src/interfaces/notificationMeans.interface.d.ts.map +1 -0
- package/dist/src/interfaces/notificationMeans.interface.js +5 -0
- package/dist/src/interfaces/notificationMeans.interface.js.map +1 -0
- package/dist/src/interfaces/notificationPreferences.interface.d.ts +2 -0
- package/dist/src/interfaces/notificationPreferences.interface.d.ts.map +1 -0
- package/dist/src/interfaces/notificationPreferences.interface.js +5 -0
- package/dist/src/interfaces/notificationPreferences.interface.js.map +1 -0
- package/dist/src/interfaces/user.interface.d.ts +7 -9
- package/dist/src/interfaces/user.interface.d.ts.map +1 -1
- package/dist/src/interfaces/userAlert.interface.d.ts +2 -2
- package/dist/src/interfaces/userAlert.interface.d.ts.map +1 -1
- package/dist/src/interfaces/userPreferences.interface.d.ts +9 -7
- package/dist/src/interfaces/userPreferences.interface.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/enums/notificationType.enum.d.ts +0 -2
- package/dist/src/enums/notificationType.enum.d.ts.map +0 -1
- package/dist/src/enums/notificationType.enum.js +0 -7
- package/dist/src/enums/notificationType.enum.js.map +0 -1
- package/dist/src/interfaces/notification.interface.d.ts +0 -18
- package/dist/src/interfaces/notification.interface.d.ts.map +0 -1
- package/dist/src/interfaces/notification.interface.js +0 -3
- package/dist/src/interfaces/notification.interface.js.map +0 -1
- package/dist/src/interfaces/subscription.interface.d.ts +0 -70
- package/dist/src/interfaces/subscription.interface.d.ts.map +0 -1
- package/dist/src/interfaces/subscription.interface.js +0 -23
- package/dist/src/interfaces/subscription.interface.js.map +0 -1
- package/dist/src/interfaces/supplierSettings.interface.d.ts +0 -11
- package/dist/src/interfaces/supplierSettings.interface.d.ts.map +0 -1
- package/dist/src/interfaces/supplierSettings.interface.js +0 -3
- package/dist/src/interfaces/supplierSettings.interface.js.map +0 -1
- package/dist/src/interfaces/userRole.interface.d.ts +0 -8
- package/dist/src/interfaces/userRole.interface.d.ts.map +0 -1
- package/dist/src/interfaces/userRole.interface.js +0 -3
- package/dist/src/interfaces/userRole.interface.js.map +0 -1
- package/dist/src/models/account.model.d.ts +0 -27
- package/dist/src/models/account.model.d.ts.map +0 -1
- package/dist/src/models/account.model.js +0 -26
- package/dist/src/models/account.model.js.map +0 -1
- package/dist/src/models/accountDetails.model.d.ts +0 -20
- package/dist/src/models/accountDetails.model.d.ts.map +0 -1
- package/dist/src/models/accountDetails.model.js +0 -15
- package/dist/src/models/accountDetails.model.js.map +0 -1
- package/dist/src/models/accountSettings.model.d.ts +0 -16
- package/dist/src/models/accountSettings.model.d.ts.map +0 -1
- package/dist/src/models/accountSettings.model.js +0 -13
- package/dist/src/models/accountSettings.model.js.map +0 -1
- package/dist/src/models/index.d.ts +0 -9
- package/dist/src/models/index.d.ts.map +0 -1
- package/dist/src/models/index.js +0 -12
- package/dist/src/models/index.js.map +0 -1
- package/dist/src/models/subscription.model.d.ts +0 -27
- package/dist/src/models/subscription.model.d.ts.map +0 -1
- package/dist/src/models/subscription.model.js +0 -28
- package/dist/src/models/subscription.model.js.map +0 -1
- package/dist/src/models/supplierSettings.model.d.ts +0 -22
- package/dist/src/models/supplierSettings.model.d.ts.map +0 -1
- package/dist/src/models/supplierSettings.model.js +0 -13
- package/dist/src/models/supplierSettings.model.js.map +0 -1
- package/dist/src/models/user.model.d.ts +0 -17
- package/dist/src/models/user.model.d.ts.map +0 -1
- package/dist/src/models/user.model.js +0 -14
- package/dist/src/models/user.model.js.map +0 -1
- package/dist/src/models/userAlert.model.d.ts +0 -18
- package/dist/src/models/userAlert.model.d.ts.map +0 -1
- package/dist/src/models/userAlert.model.js +0 -14
- package/dist/src/models/userAlert.model.js.map +0 -1
- package/dist/src/models/userPreferences.model.d.ts +0 -18
- package/dist/src/models/userPreferences.model.d.ts.map +0 -1
- package/dist/src/models/userPreferences.model.js +0 -14
- package/dist/src/models/userPreferences.model.js.map +0 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './accountStatus.enum';
|
|
2
|
+
export * from './accountType.enum';
|
|
3
|
+
export * from './currency.enum';
|
|
3
4
|
export * from './language.enum';
|
|
4
5
|
export * from './measurementSystem.enum';
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
6
|
+
export * from './notificationCategory.enum';
|
|
7
|
+
export * from './notificationMeansType.enum';
|
|
8
|
+
export * from './userStatus.enum';
|
|
9
|
+
export * from './userType.enum';
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
package/dist/src/enums/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./
|
|
5
|
-
tslib_1.__exportStar(require("./
|
|
4
|
+
tslib_1.__exportStar(require("./accountStatus.enum"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./accountType.enum"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./currency.enum"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./language.enum"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./measurementSystem.enum"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./
|
|
9
|
+
tslib_1.__exportStar(require("./notificationCategory.enum"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./notificationMeansType.enum"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./userStatus.enum"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./userType.enum"), exports);
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;AAAA,+DAAqC;AACrC,6DAAmC;AACnC,0DAAgC;AAChC,0DAAgC;AAChC,mEAAyC;AACzC,sEAA4C;AAC5C,uEAA6C;AAC7C,4DAAkC;AAClC,0DAAgC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LanguageEnum,
|
|
1
|
+
export { LanguageEnum, languageEnum, } from '@wipperoz/common-entities/dist/src/enums/language.enum';
|
|
2
2
|
//# sourceMappingURL=language.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/language.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"language.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/language.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,GACb,MAAM,wDAAwD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.languageEnum = exports.LanguageEnum = void 0;
|
|
4
4
|
var language_enum_1 = require("@wipperoz/common-entities/dist/src/enums/language.enum");
|
|
5
5
|
Object.defineProperty(exports, "LanguageEnum", { enumerable: true, get: function () { return language_enum_1.LanguageEnum; } });
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "languageEnum", { enumerable: true, get: function () { return language_enum_1.languageEnum; } });
|
|
7
7
|
//# sourceMappingURL=language.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language.enum.js","sourceRoot":"","sources":["../../../src/enums/language.enum.ts"],"names":[],"mappings":";;;AAAA,wFAGgE;AAF9D,6GAAA,YAAY,OAAA;AACZ,
|
|
1
|
+
{"version":3,"file":"language.enum.js","sourceRoot":"","sources":["../../../src/enums/language.enum.ts"],"names":[],"mappings":";;;AAAA,wFAGgE;AAF9D,6GAAA,YAAY,OAAA;AACZ,6GAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationCategory.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/notificationCategory.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationCategoryEnum = exports.NotificationCategoryEnum = void 0;
|
|
4
|
+
var notificationCategory_enum_1 = require("@wipperoz/common-entities/dist/src/enums/notificationCategory.enum");
|
|
5
|
+
Object.defineProperty(exports, "NotificationCategoryEnum", { enumerable: true, get: function () { return notificationCategory_enum_1.NotificationCategoryEnum; } });
|
|
6
|
+
Object.defineProperty(exports, "notificationCategoryEnum", { enumerable: true, get: function () { return notificationCategory_enum_1.notificationCategoryEnum; } });
|
|
7
|
+
//# sourceMappingURL=notificationCategory.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationCategory.enum.js","sourceRoot":"","sources":["../../../src/enums/notificationCategory.enum.ts"],"names":[],"mappings":";;;AAAA,gHAG4E;AAF1E,qIAAA,wBAAwB,OAAA;AACxB,qIAAA,wBAAwB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userStatus.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/userStatus.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,GACf,MAAM,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userStatusEnum = exports.UserStatusEnum = void 0;
|
|
4
|
+
var userStatus_enum_1 = require("@wipperoz/common-entities/dist/src/enums/userStatus.enum");
|
|
5
|
+
Object.defineProperty(exports, "UserStatusEnum", { enumerable: true, get: function () { return userStatus_enum_1.UserStatusEnum; } });
|
|
6
|
+
Object.defineProperty(exports, "userStatusEnum", { enumerable: true, get: function () { return userStatus_enum_1.userStatusEnum; } });
|
|
7
|
+
//# sourceMappingURL=userStatus.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userStatus.enum.js","sourceRoot":"","sources":["../../../src/enums/userStatus.enum.ts"],"names":[],"mappings":";;;AAAA,4FAGkE;AAFhE,iHAAA,cAAc,OAAA;AACd,iHAAA,cAAc,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userType.enum.d.ts","sourceRoot":"","sources":["../../../src/enums/userType.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,GACb,MAAM,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserTypeEnum = exports.userTypeEnum = void 0;
|
|
4
|
+
var enums_1 = require("@wipperoz/common-entities/dist/src/enums");
|
|
5
|
+
Object.defineProperty(exports, "userTypeEnum", { enumerable: true, get: function () { return enums_1.userTypeEnum; } });
|
|
6
|
+
Object.defineProperty(exports, "UserTypeEnum", { enumerable: true, get: function () { return enums_1.UserTypeEnum; } });
|
|
7
|
+
//# sourceMappingURL=userType.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userType.enum.js","sourceRoot":"","sources":["../../../src/enums/userType.enum.ts"],"names":[],"mappings":";;;AAAA,kEAGkD;AAFhD,qGAAA,YAAY,OAAA;AACZ,qGAAA,YAAY,OAAA"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { IHasItems, IItem } from '@wipperoz/common-entities/dist/src/interfaces//dynamodb.interface';
|
|
2
1
|
import { AccountTypeEnum } from '@wipperoz/common-entities/dist/src/enums/accountType.enum';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export interface IAccountDetails {
|
|
7
|
-
name?: string;
|
|
2
|
+
import { AccountSettings } from './accountSettings.interface';
|
|
3
|
+
export interface Account {
|
|
4
|
+
accountId: string;
|
|
8
5
|
accountType: AccountTypeEnum;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
users: IUser[];
|
|
12
|
-
accountSettings: IAccountSettings;
|
|
6
|
+
name?: string;
|
|
7
|
+
accountSettings: AccountSettings;
|
|
13
8
|
}
|
|
14
|
-
export type IAccounts = IHasItems<IAccountDetails>;
|
|
15
|
-
export type IAccount = IItem<IAccountDetails>;
|
|
16
9
|
//# sourceMappingURL=account.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/account.interface.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"account.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/account.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,2DAA2D,CAAC;AAE1F,OAAO,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAC;AAE5D,MAAM,WAAW,OAAO;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,eAAe,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CurrencyEnum } from '../enums/index.js';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
systemNotifications: ISystemNotification[];
|
|
2
|
+
import { SystemNotification } from '@wipperoz/common-entities/dist/src/interfaces/comms/notification.interface.js';
|
|
3
|
+
export interface AccountSettings {
|
|
4
|
+
systemNotifications: SystemNotification[];
|
|
6
5
|
currency: CurrencyEnum;
|
|
7
|
-
|
|
6
|
+
comissionFee?: number;
|
|
8
7
|
}
|
|
9
8
|
//# sourceMappingURL=accountSettings.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountSettings.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/accountSettings.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"accountSettings.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/accountSettings.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,kBAAkB,EAAC,MAAM,+EAA+E,CAAC;AAEjH,MAAM,WAAW,eAAe;IAC9B,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,QAAQ,EAAE,YAAY,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export * from './account.interface
|
|
2
|
-
export * from './accountSettings.interface
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './userAlert.interface.js';
|
|
8
|
-
export * from './userPreferences.interface.js';
|
|
1
|
+
export * from './account.interface';
|
|
2
|
+
export * from './accountSettings.interface';
|
|
3
|
+
export * from './notificationMeans.interface';
|
|
4
|
+
export * from './user.interface';
|
|
5
|
+
export * from './userAlert.interface';
|
|
6
|
+
export * from './userPreferences.interface';
|
|
9
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./account.interface
|
|
5
|
-
tslib_1.__exportStar(require("./accountSettings.interface
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./userAlert.interface.js"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./userPreferences.interface.js"), exports);
|
|
4
|
+
tslib_1.__exportStar(require("./account.interface"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./accountSettings.interface"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./notificationMeans.interface"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./user.interface"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./userAlert.interface"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./userPreferences.interface"), exports);
|
|
12
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,sEAA4C;AAC5C,wEAA8C;AAC9C,2DAAiC;AACjC,gEAAsC;AACtC,sEAA4C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationMeans.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/notificationMeans.interface.ts"],"names":[],"mappings":"AAAA,cAAc,oFAAoF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("@wipperoz/common-entities/dist/src/interfaces/comms/notificationMeans.interface.js"), exports);
|
|
5
|
+
//# sourceMappingURL=notificationMeans.interface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationMeans.interface.js","sourceRoot":"","sources":["../../../src/interfaces/notificationMeans.interface.ts"],"names":[],"mappings":";;;AAAA,6HAAmG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationPreferences.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/notificationPreferences.interface.ts"],"names":[],"mappings":"AAAA,cAAc,0FAA0F,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("@wipperoz/common-entities/dist/src/interfaces/comms/notificationPreferences.interface.js"), exports);
|
|
5
|
+
//# sourceMappingURL=notificationPreferences.interface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationPreferences.interface.js","sourceRoot":"","sources":["../../../src/interfaces/notificationPreferences.interface.ts"],"names":[],"mappings":";;;AAAA,mIAAyG"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { IUserRole } from './userRole.interface';
|
|
5
|
-
export interface IUser {
|
|
1
|
+
import { UserAlert, UserPreferences } from './';
|
|
2
|
+
import { UserTypeEnum, UserStatusEnum } from '../enums';
|
|
3
|
+
export interface User {
|
|
6
4
|
userId: string;
|
|
7
|
-
userPreferences:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
userPreferences: UserPreferences;
|
|
6
|
+
userType: UserTypeEnum;
|
|
7
|
+
alerts?: UserAlert[];
|
|
8
|
+
userStatus: UserStatusEnum;
|
|
11
9
|
}
|
|
12
10
|
//# sourceMappingURL=user.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/user.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"user.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/user.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;AAEtD,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IACrB,UAAU,EAAE,cAAc,CAAC;CAC5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
1
|
+
import { Alert } from '@wipperoz/common-entities/dist/src/interfaces/comms/alert.interface';
|
|
2
|
+
export interface UserAlert extends Alert {
|
|
3
3
|
alertOnTag: string[];
|
|
4
4
|
alertOnEvent: string[];
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userAlert.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/userAlert.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"userAlert.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/userAlert.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,qEAAqE,CAAC;AAE1F,MAAM,WAAW,SAAU,SAAQ,KAAK;IACtC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { LanguageEnum, MeasurementSystemEnum } from '../enums
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
measurementSystem: MeasurementSystemEnum;
|
|
1
|
+
import { CurrencyEnum, LanguageEnum, MeasurementSystemEnum } from '../enums';
|
|
2
|
+
import { NotificationMeans } from './notificationMeans.interface';
|
|
3
|
+
import { NotificationPreferences } from './notificationPreferences.interface';
|
|
4
|
+
export interface UserPreferences {
|
|
6
5
|
pageLimit: number;
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
language: LanguageEnum;
|
|
7
|
+
measurementSystem?: MeasurementSystemEnum;
|
|
8
|
+
currency?: CurrencyEnum;
|
|
9
|
+
notificationMeans?: NotificationMeans[];
|
|
10
|
+
notificationPreferences?: NotificationPreferences;
|
|
9
11
|
}
|
|
10
12
|
//# sourceMappingURL=userPreferences.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userPreferences.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/userPreferences.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,qBAAqB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"userPreferences.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/userPreferences.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAC,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAC,uBAAuB,EAAC,MAAM,qCAAqC,CAAC;AAE5E,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,YAAY,CAAC;IACvB,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;IAC1C,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACxC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CACnD"}
|