@wipperoz/common-entities-account 1.2.0 → 1.3.1

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.
Files changed (108) hide show
  1. package/dist/src/enums/accountStatus.enum.d.ts +2 -0
  2. package/dist/src/enums/accountStatus.enum.d.ts.map +1 -0
  3. package/dist/src/enums/accountStatus.enum.js +7 -0
  4. package/dist/src/enums/accountStatus.enum.js.map +1 -0
  5. package/dist/src/enums/accountType.enum.d.ts +2 -0
  6. package/dist/src/enums/accountType.enum.d.ts.map +1 -0
  7. package/dist/src/enums/accountType.enum.js +7 -0
  8. package/dist/src/enums/accountType.enum.js.map +1 -0
  9. package/dist/src/enums/index.d.ts +7 -3
  10. package/dist/src/enums/index.d.ts.map +1 -1
  11. package/dist/src/enums/index.js +7 -3
  12. package/dist/src/enums/index.js.map +1 -1
  13. package/dist/src/enums/language.enum.d.ts +1 -1
  14. package/dist/src/enums/language.enum.d.ts.map +1 -1
  15. package/dist/src/enums/language.enum.js +2 -2
  16. package/dist/src/enums/language.enum.js.map +1 -1
  17. package/dist/src/enums/notificationCategory.enum.d.ts +2 -0
  18. package/dist/src/enums/notificationCategory.enum.d.ts.map +1 -0
  19. package/dist/src/enums/notificationCategory.enum.js +7 -0
  20. package/dist/src/enums/notificationCategory.enum.js.map +1 -0
  21. package/dist/src/enums/userStatus.enum.d.ts +2 -0
  22. package/dist/src/enums/userStatus.enum.d.ts.map +1 -0
  23. package/dist/src/enums/userStatus.enum.js +7 -0
  24. package/dist/src/enums/userStatus.enum.js.map +1 -0
  25. package/dist/src/enums/userType.enum.d.ts +2 -0
  26. package/dist/src/enums/userType.enum.d.ts.map +1 -0
  27. package/dist/src/enums/userType.enum.js +7 -0
  28. package/dist/src/enums/userType.enum.js.map +1 -0
  29. package/dist/src/interfaces/account.interface.d.ts +5 -12
  30. package/dist/src/interfaces/account.interface.d.ts.map +1 -1
  31. package/dist/src/interfaces/accountSettings.interface.d.ts +4 -5
  32. package/dist/src/interfaces/accountSettings.interface.d.ts.map +1 -1
  33. package/dist/src/interfaces/index.d.ts +6 -8
  34. package/dist/src/interfaces/index.d.ts.map +1 -1
  35. package/dist/src/interfaces/index.js +6 -8
  36. package/dist/src/interfaces/index.js.map +1 -1
  37. package/dist/src/interfaces/notificationMeans.interface.d.ts +2 -0
  38. package/dist/src/interfaces/notificationMeans.interface.d.ts.map +1 -0
  39. package/dist/src/interfaces/notificationMeans.interface.js +5 -0
  40. package/dist/src/interfaces/notificationMeans.interface.js.map +1 -0
  41. package/dist/src/interfaces/notificationPreferences.interface.d.ts +2 -0
  42. package/dist/src/interfaces/notificationPreferences.interface.d.ts.map +1 -0
  43. package/dist/src/interfaces/notificationPreferences.interface.js +5 -0
  44. package/dist/src/interfaces/notificationPreferences.interface.js.map +1 -0
  45. package/dist/src/interfaces/user.interface.d.ts +7 -9
  46. package/dist/src/interfaces/user.interface.d.ts.map +1 -1
  47. package/dist/src/interfaces/userAlert.interface.d.ts +2 -2
  48. package/dist/src/interfaces/userAlert.interface.d.ts.map +1 -1
  49. package/dist/src/interfaces/userPreferences.interface.d.ts +9 -7
  50. package/dist/src/interfaces/userPreferences.interface.d.ts.map +1 -1
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/package.json +16 -6
  53. package/dist/src/enums/notificationType.enum.d.ts +0 -2
  54. package/dist/src/enums/notificationType.enum.d.ts.map +0 -1
  55. package/dist/src/enums/notificationType.enum.js +0 -7
  56. package/dist/src/enums/notificationType.enum.js.map +0 -1
  57. package/dist/src/interfaces/notification.interface.d.ts +0 -18
  58. package/dist/src/interfaces/notification.interface.d.ts.map +0 -1
  59. package/dist/src/interfaces/notification.interface.js +0 -3
  60. package/dist/src/interfaces/notification.interface.js.map +0 -1
  61. package/dist/src/interfaces/subscription.interface.d.ts +0 -70
  62. package/dist/src/interfaces/subscription.interface.d.ts.map +0 -1
  63. package/dist/src/interfaces/subscription.interface.js +0 -23
  64. package/dist/src/interfaces/subscription.interface.js.map +0 -1
  65. package/dist/src/interfaces/supplierSettings.interface.d.ts +0 -11
  66. package/dist/src/interfaces/supplierSettings.interface.d.ts.map +0 -1
  67. package/dist/src/interfaces/supplierSettings.interface.js +0 -3
  68. package/dist/src/interfaces/supplierSettings.interface.js.map +0 -1
  69. package/dist/src/interfaces/userRole.interface.d.ts +0 -8
  70. package/dist/src/interfaces/userRole.interface.d.ts.map +0 -1
  71. package/dist/src/interfaces/userRole.interface.js +0 -3
  72. package/dist/src/interfaces/userRole.interface.js.map +0 -1
  73. package/dist/src/models/account.model.d.ts +0 -27
  74. package/dist/src/models/account.model.d.ts.map +0 -1
  75. package/dist/src/models/account.model.js +0 -26
  76. package/dist/src/models/account.model.js.map +0 -1
  77. package/dist/src/models/accountDetails.model.d.ts +0 -20
  78. package/dist/src/models/accountDetails.model.d.ts.map +0 -1
  79. package/dist/src/models/accountDetails.model.js +0 -15
  80. package/dist/src/models/accountDetails.model.js.map +0 -1
  81. package/dist/src/models/accountSettings.model.d.ts +0 -16
  82. package/dist/src/models/accountSettings.model.d.ts.map +0 -1
  83. package/dist/src/models/accountSettings.model.js +0 -13
  84. package/dist/src/models/accountSettings.model.js.map +0 -1
  85. package/dist/src/models/index.d.ts +0 -9
  86. package/dist/src/models/index.d.ts.map +0 -1
  87. package/dist/src/models/index.js +0 -12
  88. package/dist/src/models/index.js.map +0 -1
  89. package/dist/src/models/subscription.model.d.ts +0 -27
  90. package/dist/src/models/subscription.model.d.ts.map +0 -1
  91. package/dist/src/models/subscription.model.js +0 -28
  92. package/dist/src/models/subscription.model.js.map +0 -1
  93. package/dist/src/models/supplierSettings.model.d.ts +0 -22
  94. package/dist/src/models/supplierSettings.model.d.ts.map +0 -1
  95. package/dist/src/models/supplierSettings.model.js +0 -13
  96. package/dist/src/models/supplierSettings.model.js.map +0 -1
  97. package/dist/src/models/user.model.d.ts +0 -17
  98. package/dist/src/models/user.model.d.ts.map +0 -1
  99. package/dist/src/models/user.model.js +0 -14
  100. package/dist/src/models/user.model.js.map +0 -1
  101. package/dist/src/models/userAlert.model.d.ts +0 -18
  102. package/dist/src/models/userAlert.model.d.ts.map +0 -1
  103. package/dist/src/models/userAlert.model.js +0 -14
  104. package/dist/src/models/userAlert.model.js.map +0 -1
  105. package/dist/src/models/userPreferences.model.d.ts +0 -18
  106. package/dist/src/models/userPreferences.model.d.ts.map +0 -1
  107. package/dist/src/models/userPreferences.model.js +0 -14
  108. package/dist/src/models/userPreferences.model.js.map +0 -1
@@ -1,16 +0,0 @@
1
- import { IAccountSettings, ISystemNotification, ISupplierSettings } from '../interfaces/index.js';
2
- import { CurrencyEnum } from '../enums/index.js';
3
- import { INotificationMeans } from '@wipperoz/common-entities/dist/src/interfaces/notificationMeans.interface.js';
4
- export declare class AccountSettings implements IAccountSettings {
5
- systemNotifications: ISystemNotification[];
6
- currency: CurrencyEnum;
7
- supplierSettings?: ISupplierSettings[];
8
- notificationMeans?: INotificationMeans[];
9
- constructor(details: {
10
- systemNotifications: ISystemNotification[];
11
- currency: CurrencyEnum;
12
- supplierSettings?: ISupplierSettings[];
13
- notificationMeans?: INotificationMeans[];
14
- });
15
- }
16
- //# sourceMappingURL=accountSettings.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountSettings.model.d.ts","sourceRoot":"","sources":["../../../src/models/accountSettings.model.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,kBAAkB,EAAC,MAAM,8EAA8E,CAAC;AAEhH,qBAAa,eAAgB,YAAW,gBAAgB;IACtD,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,QAAQ,EAAE,YAAY,CAAC;IACvB,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACvC,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,CAAC;gBAE7B,OAAO,EAAE;QACnB,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;QAC3C,QAAQ,EAAE,YAAY,CAAC;QACvB,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;QACvC,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,CAAC;KAC1C;CAMF"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountSettings = void 0;
4
- class AccountSettings {
5
- constructor(details) {
6
- this.systemNotifications = details.systemNotifications;
7
- this.currency = details.currency;
8
- this.supplierSettings = details.supplierSettings;
9
- this.notificationMeans = details.notificationMeans;
10
- }
11
- }
12
- exports.AccountSettings = AccountSettings;
13
- //# sourceMappingURL=accountSettings.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountSettings.model.js","sourceRoot":"","sources":["../../../src/models/accountSettings.model.ts"],"names":[],"mappings":";;;AAQA,MAAa,eAAe;IAM1B,YAAY,OAKX;QACC,IAAI,CAAC,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC;QACvD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;QACjD,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IACrD,CAAC;CACF;AAjBD,0CAiBC"}
@@ -1,9 +0,0 @@
1
- export * from './account.model';
2
- export * from './accountDetails.model';
3
- export * from './accountSettings.model';
4
- export * from './subscription.model';
5
- export * from './supplierSettings.model';
6
- export * from './user.model';
7
- export * from './userAlert.model';
8
- export * from './userPreferences.model';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC"}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./account.model"), exports);
5
- tslib_1.__exportStar(require("./accountDetails.model"), exports);
6
- tslib_1.__exportStar(require("./accountSettings.model"), exports);
7
- tslib_1.__exportStar(require("./subscription.model"), exports);
8
- tslib_1.__exportStar(require("./supplierSettings.model"), exports);
9
- tslib_1.__exportStar(require("./user.model"), exports);
10
- tslib_1.__exportStar(require("./userAlert.model"), exports);
11
- tslib_1.__exportStar(require("./userPreferences.model"), exports);
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,iEAAuC;AACvC,kEAAwC;AACxC,+DAAqC;AACrC,mEAAyC;AACzC,uDAA6B;AAC7B,4DAAkC;AAClC,kEAAwC"}
@@ -1,27 +0,0 @@
1
- import { CurrencyEnum } from '../enums/index.js';
2
- import { ISubscription, ISubscriptionItem, ISubscriptionProductMetadata, ISubscriptionRecurring, SubscriptionStatusEnum } from '../interfaces/index.js';
3
- export declare class Subscription implements ISubscription {
4
- id: string;
5
- customer: string;
6
- status: SubscriptionStatusEnum;
7
- cancel_at_period_end: boolean;
8
- canceled_at: number | null;
9
- current_period_start: number;
10
- current_period_end: number;
11
- start_date: number;
12
- ended_at: number | null;
13
- trial_start: number | null;
14
- trial_end: number | null;
15
- items: {
16
- data: ISubscriptionItem[];
17
- };
18
- price_id: string;
19
- metadata: Record<string, string>;
20
- currency: CurrencyEnum;
21
- description: string;
22
- subscription_product_metadata: ISubscriptionProductMetadata;
23
- recurring: ISubscriptionRecurring;
24
- unit_amount: number;
25
- constructor(details: ISubscription);
26
- }
27
- //# sourceMappingURL=subscription.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscription.model.d.ts","sourceRoot":"","sources":["../../../src/models/subscription.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAEhC,qBAAa,YAAa,YAAW,aAAa;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB,EAAE,CAAC;KAC3B,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,QAAQ,EAAE,YAAY,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,6BAA6B,EAAE,4BAA4B,CAAC;IAC5D,SAAS,EAAE,sBAAsB,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;gBAER,OAAO,EAAE,aAAa;CAqBnC"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Subscription = void 0;
4
- class Subscription {
5
- constructor(details) {
6
- this.id = details.id;
7
- this.customer = details.customer;
8
- this.status = details.status;
9
- this.cancel_at_period_end = details.cancel_at_period_end;
10
- this.canceled_at = details.canceled_at;
11
- this.current_period_start = details.current_period_start;
12
- this.current_period_end = details.current_period_end;
13
- this.start_date = details.start_date;
14
- this.ended_at = details.ended_at;
15
- this.trial_start = details.trial_start;
16
- this.trial_end = details.trial_end;
17
- this.items = details.items;
18
- this.price_id = details.price_id;
19
- this.metadata = details.metadata;
20
- this.currency = details.currency;
21
- this.description = details.description;
22
- this.subscription_product_metadata = details.subscription_product_metadata;
23
- this.recurring = details.recurring;
24
- this.unit_amount = details.unit_amount;
25
- }
26
- }
27
- exports.Subscription = Subscription;
28
- //# sourceMappingURL=subscription.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscription.model.js","sourceRoot":"","sources":["../../../src/models/subscription.model.ts"],"names":[],"mappings":";;;AASA,MAAa,YAAY;IAuBvB,YAAY,OAAsB;QAChC,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC;QACzD,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACvC,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC;QACzD,IAAI,CAAC,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACvC,IAAI,CAAC,6BAA6B,GAAG,OAAO,CAAC,6BAA6B,CAAC;QAC3E,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IACzC,CAAC;CACF;AA5CD,oCA4CC"}
@@ -1,22 +0,0 @@
1
- import { ISupplierSettings } from '../interfaces/index.js';
2
- export declare class SupplierSettings implements ISupplierSettings {
3
- coverage: number;
4
- isOnline: boolean;
5
- isActive: boolean;
6
- location?: {
7
- formattedAddress: string;
8
- lat: number;
9
- lng: number;
10
- };
11
- constructor(details: {
12
- coverage: number;
13
- isOnline: boolean;
14
- isActive: boolean;
15
- location?: {
16
- formattedAddress: string;
17
- lat: number;
18
- lng: number;
19
- };
20
- });
21
- }
22
- //# sourceMappingURL=supplierSettings.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"supplierSettings.model.d.ts","sourceRoot":"","sources":["../../../src/models/supplierSettings.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AAEzD,qBAAa,gBAAiB,YAAW,iBAAiB;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE;QACT,gBAAgB,EAAE,MAAM,CAAC;QACzB,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;gBAEU,OAAO,EAAE;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,OAAO,CAAC;QAClB,QAAQ,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE;YACT,gBAAgB,EAAE,MAAM,CAAC;YACzB,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;KACH;CAMF"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SupplierSettings = void 0;
4
- class SupplierSettings {
5
- constructor(details) {
6
- this.coverage = details.coverage;
7
- this.isOnline = details.isOnline;
8
- this.isActive = details.isActive;
9
- this.location = details.location;
10
- }
11
- }
12
- exports.SupplierSettings = SupplierSettings;
13
- //# sourceMappingURL=supplierSettings.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"supplierSettings.model.js","sourceRoot":"","sources":["../../../src/models/supplierSettings.model.ts"],"names":[],"mappings":";;;AAEA,MAAa,gBAAgB;IAU3B,YAAY,OASX;QACC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IACnC,CAAC;CACF;AAzBD,4CAyBC"}
@@ -1,17 +0,0 @@
1
- import { IUserRole } from 'interfaces/userRole.interface.js';
2
- import { IUser, IUserAlert, IUserNotification, IUserPreferences } from '../interfaces/index.js';
3
- export declare class User implements IUser {
4
- userId: string;
5
- userPreferences: IUserPreferences;
6
- notifications?: IUserNotification[];
7
- alerts?: IUserAlert[];
8
- userRole: IUserRole;
9
- constructor(details: {
10
- userId: string;
11
- userPreferences: IUserPreferences;
12
- notifications?: IUserNotification[];
13
- alerts?: IUserAlert[];
14
- userRole: IUserRole;
15
- });
16
- }
17
- //# sourceMappingURL=user.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.model.d.ts","sourceRoot":"","sources":["../../../src/models/user.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EACL,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,wBAAwB,CAAC;AAEhC,qBAAa,IAAK,YAAW,KAAK;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,gBAAgB,CAAC;IAClC,aAAa,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACpC,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;gBAER,OAAO,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,eAAe,EAAE,gBAAgB,CAAC;QAClC,aAAa,CAAC,EAAE,iBAAiB,EAAE,CAAC;QACpC,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;QACtB,QAAQ,EAAE,SAAS,CAAC;KACrB;CAOF"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.User = void 0;
4
- class User {
5
- constructor(details) {
6
- this.userId = details.userId;
7
- this.userPreferences = details.userPreferences;
8
- this.notifications = details.notifications;
9
- this.alerts = details.alerts;
10
- this.userRole = details.userRole;
11
- }
12
- }
13
- exports.User = User;
14
- //# sourceMappingURL=user.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.model.js","sourceRoot":"","sources":["../../../src/models/user.model.ts"],"names":[],"mappings":";;;AAQA,MAAa,IAAI;IAOf,YAAY,OAMX;QACC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;QAC/C,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IACnC,CAAC;CACF;AApBD,oBAoBC"}
@@ -1,18 +0,0 @@
1
- import { NotificationMeansTypeEnum } from '../enums/index.js';
2
- import { Email, PhoneNumber } from '@wipperoz/common-entities/dist/src/interfaces/notificationMeans.interface.js';
3
- import { IUserAlert } from '../interfaces/index.js';
4
- export declare class UserAlert implements IUserAlert {
5
- meansType: NotificationMeansTypeEnum;
6
- meansValue: Email | PhoneNumber;
7
- isActive: boolean;
8
- alertOnTag: string[];
9
- alertOnEvent: string[];
10
- constructor(details: {
11
- meansType: NotificationMeansTypeEnum;
12
- meansValue: Email | PhoneNumber;
13
- isActive: boolean;
14
- alertOnTag: string[];
15
- alertOnEvent: string[];
16
- });
17
- }
18
- //# sourceMappingURL=userAlert.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"userAlert.model.d.ts","sourceRoot":"","sources":["../../../src/models/userAlert.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EACL,KAAK,EACL,WAAW,EACZ,MAAM,8EAA8E,CAAC;AACtF,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAElD,qBAAa,SAAU,YAAW,UAAU;IAC1C,SAAS,EAAE,yBAAyB,CAAC;IACrC,UAAU,EAAE,KAAK,GAAG,WAAW,CAAC;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;gBAEX,OAAO,EAAE;QACnB,SAAS,EAAE,yBAAyB,CAAC;QACrC,UAAU,EAAE,KAAK,GAAG,WAAW,CAAC;QAChC,QAAQ,EAAE,OAAO,CAAC;QAClB,UAAU,EAAE,MAAM,EAAE,CAAC;QACrB,YAAY,EAAE,MAAM,EAAE,CAAC;KACxB;CAOF"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserAlert = void 0;
4
- class UserAlert {
5
- constructor(details) {
6
- this.meansType = details.meansType;
7
- this.meansValue = details.meansValue;
8
- this.isActive = details.isActive;
9
- this.alertOnTag = details.alertOnTag;
10
- this.alertOnEvent = details.alertOnEvent;
11
- }
12
- }
13
- exports.UserAlert = UserAlert;
14
- //# sourceMappingURL=userAlert.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"userAlert.model.js","sourceRoot":"","sources":["../../../src/models/userAlert.model.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAOpB,YAAY,OAMX;QACC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAC3C,CAAC;CACF;AApBD,8BAoBC"}
@@ -1,18 +0,0 @@
1
- import { IUserPreferences } from '../interfaces/index.js';
2
- import { LanguageEnum, MeasurementSystemEnum } from '../enums/index.js';
3
- import { INotificationMeans } from '@wipperoz/common-entities/dist/src/interfaces/notificationMeans.interface.js';
4
- export declare class UserPreferences implements IUserPreferences {
5
- language: LanguageEnum;
6
- measurementSystem: MeasurementSystemEnum;
7
- pageLimit: number;
8
- startingPage: string;
9
- notificationMeans?: INotificationMeans[];
10
- constructor(details: {
11
- language: LanguageEnum;
12
- measurementSystem: MeasurementSystemEnum;
13
- pageLimit: number;
14
- startingPage: string;
15
- notificationMeans?: INotificationMeans[];
16
- });
17
- }
18
- //# sourceMappingURL=userPreferences.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"userPreferences.model.d.ts","sourceRoot":"","sources":["../../../src/models/userPreferences.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAC,YAAY,EAAE,qBAAqB,EAAC,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAC,kBAAkB,EAAC,MAAM,8EAA8E,CAAC;AAEhH,qBAAa,eAAgB,YAAW,gBAAgB;IACtD,QAAQ,EAAE,YAAY,CAAC;IACvB,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,CAAC;gBAE7B,OAAO,EAAE;QACnB,QAAQ,EAAE,YAAY,CAAC;QACvB,iBAAiB,EAAE,qBAAqB,CAAC;QACzC,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,CAAC;KAC1C;CAOF"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserPreferences = void 0;
4
- class UserPreferences {
5
- constructor(details) {
6
- this.language = details.language;
7
- this.measurementSystem = details.measurementSystem;
8
- this.pageLimit = details.pageLimit;
9
- this.startingPage = details.startingPage;
10
- this.notificationMeans = details.notificationMeans;
11
- }
12
- }
13
- exports.UserPreferences = UserPreferences;
14
- //# sourceMappingURL=userPreferences.model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"userPreferences.model.js","sourceRoot":"","sources":["../../../src/models/userPreferences.model.ts"],"names":[],"mappings":";;;AAIA,MAAa,eAAe;IAO1B,YAAY,OAMX;QACC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACnD,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACnC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IACrD,CAAC;CACF;AApBD,0CAoBC"}