clarion-shared-types 1.0.37 → 1.0.39

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 (67) hide show
  1. package/dist/cjs/index.js +1 -0
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/modules/sms/constants/sms-templates.config.js +57 -0
  4. package/dist/cjs/modules/sms/constants/sms-templates.config.js.map +1 -0
  5. package/dist/cjs/modules/sms/enums/sms-notification-status.enum.js +12 -0
  6. package/dist/cjs/modules/sms/enums/sms-notification-status.enum.js.map +1 -0
  7. package/dist/cjs/modules/sms/enums/sms-template.enum.js +15 -0
  8. package/dist/cjs/modules/sms/enums/sms-template.enum.js.map +1 -0
  9. package/dist/cjs/modules/sms/index.js +25 -0
  10. package/dist/cjs/modules/sms/index.js.map +1 -0
  11. package/dist/cjs/modules/sms/interfaces/sms-notification.js +3 -0
  12. package/dist/cjs/modules/sms/interfaces/sms-notification.js.map +1 -0
  13. package/dist/cjs/modules/sms/interfaces/sms-options.js +3 -0
  14. package/dist/cjs/modules/sms/interfaces/sms-options.js.map +1 -0
  15. package/dist/cjs/modules/sms/interfaces/sms-request.js +3 -0
  16. package/dist/cjs/modules/sms/interfaces/sms-request.js.map +1 -0
  17. package/dist/cjs/modules/sms/interfaces/sms-response.js +3 -0
  18. package/dist/cjs/modules/sms/interfaces/sms-response.js.map +1 -0
  19. package/dist/cjs/modules/sms/interfaces/sms-template.interface.js +3 -0
  20. package/dist/cjs/modules/sms/interfaces/sms-template.interface.js.map +1 -0
  21. package/dist/cjs/modules/user/enums/guardian-relationship.enum.js +17 -0
  22. package/dist/cjs/modules/user/enums/guardian-relationship.enum.js.map +1 -0
  23. package/dist/cjs/modules/user/index.js +2 -0
  24. package/dist/cjs/modules/user/index.js.map +1 -1
  25. package/dist/cjs/modules/user/interfaces/guardian.js +3 -0
  26. package/dist/cjs/modules/user/interfaces/guardian.js.map +1 -0
  27. package/dist/esm/index.js +1 -0
  28. package/dist/esm/index.js.map +1 -1
  29. package/dist/esm/modules/sms/constants/sms-templates.config.js +54 -0
  30. package/dist/esm/modules/sms/constants/sms-templates.config.js.map +1 -0
  31. package/dist/esm/modules/sms/enums/sms-notification-status.enum.js +9 -0
  32. package/dist/esm/modules/sms/enums/sms-notification-status.enum.js.map +1 -0
  33. package/dist/esm/modules/sms/enums/sms-template.enum.js +12 -0
  34. package/dist/esm/modules/sms/enums/sms-template.enum.js.map +1 -0
  35. package/dist/esm/modules/sms/index.js +9 -0
  36. package/dist/esm/modules/sms/index.js.map +1 -0
  37. package/dist/esm/modules/sms/interfaces/sms-notification.js +2 -0
  38. package/dist/esm/modules/sms/interfaces/sms-notification.js.map +1 -0
  39. package/dist/esm/modules/sms/interfaces/sms-options.js +2 -0
  40. package/dist/esm/modules/sms/interfaces/sms-options.js.map +1 -0
  41. package/dist/esm/modules/sms/interfaces/sms-request.js +2 -0
  42. package/dist/esm/modules/sms/interfaces/sms-request.js.map +1 -0
  43. package/dist/esm/modules/sms/interfaces/sms-response.js +2 -0
  44. package/dist/esm/modules/sms/interfaces/sms-response.js.map +1 -0
  45. package/dist/esm/modules/sms/interfaces/sms-template.interface.js +2 -0
  46. package/dist/esm/modules/sms/interfaces/sms-template.interface.js.map +1 -0
  47. package/dist/esm/modules/user/enums/guardian-relationship.enum.js +14 -0
  48. package/dist/esm/modules/user/enums/guardian-relationship.enum.js.map +1 -0
  49. package/dist/esm/modules/user/index.js +2 -0
  50. package/dist/esm/modules/user/index.js.map +1 -1
  51. package/dist/esm/modules/user/interfaces/guardian.js +2 -0
  52. package/dist/esm/modules/user/interfaces/guardian.js.map +1 -0
  53. package/dist/types/index.d.ts +1 -0
  54. package/dist/types/modules/sms/constants/sms-templates.config.d.ts +2 -0
  55. package/dist/types/modules/sms/enums/sms-notification-status.enum.d.ts +7 -0
  56. package/dist/types/modules/sms/enums/sms-template.enum.d.ts +10 -0
  57. package/dist/types/modules/sms/index.d.ts +8 -0
  58. package/dist/types/modules/sms/interfaces/sms-notification.d.ts +23 -0
  59. package/dist/types/modules/sms/interfaces/sms-options.d.ts +7 -0
  60. package/dist/types/modules/sms/interfaces/sms-request.d.ts +10 -0
  61. package/dist/types/modules/sms/interfaces/sms-response.d.ts +12 -0
  62. package/dist/types/modules/sms/interfaces/sms-template.interface.d.ts +12 -0
  63. package/dist/types/modules/user/enums/guardian-relationship.enum.d.ts +12 -0
  64. package/dist/types/modules/user/index.d.ts +2 -0
  65. package/dist/types/modules/user/interfaces/guardian.d.ts +9 -0
  66. package/dist/types/modules/user/interfaces/user.d.ts +3 -0
  67. package/package.json +1 -1
package/dist/cjs/index.js CHANGED
@@ -26,6 +26,7 @@ __exportStar(require("./modules/response-unit/index"), exports);
26
26
  __exportStar(require("./modules/incident/index"), exports);
27
27
  __exportStar(require("./modules/workflow/index"), exports);
28
28
  __exportStar(require("./modules/dms/index"), exports);
29
+ __exportStar(require("./modules/sms/index"), exports);
29
30
  // Interfaces
30
31
  __exportStar(require("./modules/common/interfaces/server-message"), exports);
31
32
  __exportStar(require("./modules/common/interfaces/pagination"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,UAAU;AACV,uDAAqC;AACrC,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,uDAAqC;AACrC,uDAAqC;AACrC,iEAA+C;AAC/C,gEAA8C;AAC9C,2DAAyC;AACzC,2DAAyC;AACzC,sDAAoC;AAEpC,aAAa;AACb,6EAA2D;AAC3D,yEAAuD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,UAAU;AACV,uDAAqC;AACrC,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,uDAAqC;AACrC,uDAAqC;AACrC,iEAA+C;AAC/C,gEAA8C;AAC9C,2DAAyC;AACzC,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AAEpC,aAAa;AACb,6EAA2D;AAC3D,yEAAuD"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SMS_TEMPLATES = void 0;
4
+ const sms_template_enum_1 = require("../enums/sms-template.enum");
5
+ exports.SMS_TEMPLATES = {
6
+ templates: {
7
+ [sms_template_enum_1.SmsTemplateType.OTP_VERIFICATION]: {
8
+ name: 'OTP Verification',
9
+ content: 'Your verification code is {{OTP}}. Use this code to complete your account verification. Code expires in {{EXPIRY_MINUTES}} minutes.',
10
+ variables: ['OTP', 'EXPIRY_MINUTES'],
11
+ description: 'Template for sending OTP verification codes'
12
+ },
13
+ [sms_template_enum_1.SmsTemplateType.PASSWORD_RESET]: {
14
+ name: 'Password Reset',
15
+ content: 'Your password reset code is {{OTP}}. Use this code to reset your password. Code expires in {{EXPIRY_MINUTES}} minutes. If you did not request this, please ignore.',
16
+ variables: ['OTP', 'EXPIRY_MINUTES'],
17
+ description: 'Template for password reset verification codes'
18
+ },
19
+ [sms_template_enum_1.SmsTemplateType.WELCOME]: {
20
+ name: 'Welcome Message',
21
+ content: 'Welcome to {{ORGANIZATION_NAME}}, {{NAME}}! Your account has been successfully created. Start exploring our platform today.',
22
+ variables: ['ORGANIZATION_NAME', 'NAME'],
23
+ description: 'Welcome message for new users'
24
+ },
25
+ [sms_template_enum_1.SmsTemplateType.ACCOUNT_ACTIVATION]: {
26
+ name: 'Account Activation',
27
+ content: 'Hi {{NAME}}, your account activation code is {{OTP}}. Use this code to activate your account. Code expires in {{EXPIRY_MINUTES}} minutes.',
28
+ variables: ['NAME', 'OTP', 'EXPIRY_MINUTES'],
29
+ description: 'Template for account activation codes'
30
+ },
31
+ [sms_template_enum_1.SmsTemplateType.SECURITY_ALERT]: {
32
+ name: 'Security Alert',
33
+ content: 'Security Alert: {{ALERT_MESSAGE}}. If this was not you, please contact support immediately. Time: {{TIMESTAMP}}',
34
+ variables: ['ALERT_MESSAGE', 'TIMESTAMP'],
35
+ description: 'Template for security alerts and notifications'
36
+ },
37
+ [sms_template_enum_1.SmsTemplateType.INCIDENT_NOTIFICATION]: {
38
+ name: 'Incident Notification',
39
+ content: 'Incident Alert: {{INCIDENT_TITLE}}. Priority: {{PRIORITY}}. Please check your dashboard for details. Ref: {{INCIDENT_ID}}',
40
+ variables: ['INCIDENT_TITLE', 'PRIORITY', 'INCIDENT_ID'],
41
+ description: 'Template for incident notifications'
42
+ },
43
+ [sms_template_enum_1.SmsTemplateType.APPOINTMENT_REMINDER]: {
44
+ name: 'Appointment Reminder',
45
+ content: 'Reminder: You have an appointment on {{DATE}} at {{TIME}} for {{PURPOSE}}. Location: {{LOCATION}}. Contact us if you need to reschedule.',
46
+ variables: ['DATE', 'TIME', 'PURPOSE', 'LOCATION'],
47
+ description: 'Template for appointment reminders'
48
+ },
49
+ [sms_template_enum_1.SmsTemplateType.GENERAL_NOTIFICATION]: {
50
+ name: 'General Notification',
51
+ content: '{{MESSAGE}}',
52
+ variables: ['MESSAGE'],
53
+ description: 'General purpose notification template'
54
+ }
55
+ }
56
+ };
57
+ //# sourceMappingURL=sms-templates.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-templates.config.js","sourceRoot":"","sources":["../../../../../src/modules/sms/constants/sms-templates.config.ts"],"names":[],"mappings":";;;AACA,kEAA6D;AAEhD,QAAA,aAAa,GAAsB;IAC5C,SAAS,EAAE;QACP,CAAC,mCAAe,CAAC,gBAAgB,CAAC,EAAE;YAChC,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE,qIAAqI;YAC9I,SAAS,EAAE,CAAC,KAAK,EAAE,gBAAgB,CAAC;YACpC,WAAW,EAAE,6CAA6C;SAC7D;QACD,CAAC,mCAAe,CAAC,cAAc,CAAC,EAAE;YAC9B,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,oKAAoK;YAC7K,SAAS,EAAE,CAAC,KAAK,EAAE,gBAAgB,CAAC;YACpC,WAAW,EAAE,gDAAgD;SAChE;QACD,CAAC,mCAAe,CAAC,OAAO,CAAC,EAAE;YACvB,IAAI,EAAE,iBAAiB;YACvB,OAAO,EAAE,6HAA6H;YACtI,SAAS,EAAE,CAAC,mBAAmB,EAAE,MAAM,CAAC;YACxC,WAAW,EAAE,+BAA+B;SAC/C;QACD,CAAC,mCAAe,CAAC,kBAAkB,CAAC,EAAE;YAClC,IAAI,EAAE,oBAAoB;YAC1B,OAAO,EAAE,2IAA2I;YACpJ,SAAS,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,gBAAgB,CAAC;YAC5C,WAAW,EAAE,uCAAuC;SACvD;QACD,CAAC,mCAAe,CAAC,cAAc,CAAC,EAAE;YAC9B,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,iHAAiH;YAC1H,SAAS,EAAE,CAAC,eAAe,EAAE,WAAW,CAAC;YACzC,WAAW,EAAE,gDAAgD;SAChE;QACD,CAAC,mCAAe,CAAC,qBAAqB,CAAC,EAAE;YACrC,IAAI,EAAE,uBAAuB;YAC7B,OAAO,EAAE,2HAA2H;YACpI,SAAS,EAAE,CAAC,gBAAgB,EAAE,UAAU,EAAE,aAAa,CAAC;YACxD,WAAW,EAAE,qCAAqC;SACrD;QACD,CAAC,mCAAe,CAAC,oBAAoB,CAAC,EAAE;YACpC,IAAI,EAAE,sBAAsB;YAC5B,OAAO,EAAE,0IAA0I;YACnJ,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,CAAC;YAClD,WAAW,EAAE,oCAAoC;SACpD;QACD,CAAC,mCAAe,CAAC,oBAAoB,CAAC,EAAE;YACpC,IAAI,EAAE,sBAAsB;YAC5B,OAAO,EAAE,aAAa;YACtB,SAAS,EAAE,CAAC,SAAS,CAAC;YACtB,WAAW,EAAE,uCAAuC;SACvD;KACJ;CACJ,CAAC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SMSNotificationStatus = void 0;
4
+ var SMSNotificationStatus;
5
+ (function (SMSNotificationStatus) {
6
+ SMSNotificationStatus["PENDING"] = "pending";
7
+ SMSNotificationStatus["SENT"] = "sent";
8
+ SMSNotificationStatus["DELIVERED"] = "delivered";
9
+ SMSNotificationStatus["FAILED"] = "failed";
10
+ SMSNotificationStatus["CANCELLED"] = "cancelled";
11
+ })(SMSNotificationStatus || (exports.SMSNotificationStatus = SMSNotificationStatus = {}));
12
+ //# sourceMappingURL=sms-notification-status.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-notification-status.enum.js","sourceRoot":"","sources":["../../../../../src/modules/sms/enums/sms-notification-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,sCAAa,CAAA;IACb,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;AAC3B,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SmsTemplateType = void 0;
4
+ var SmsTemplateType;
5
+ (function (SmsTemplateType) {
6
+ SmsTemplateType["OTP_VERIFICATION"] = "otp_verification";
7
+ SmsTemplateType["PASSWORD_RESET"] = "password_reset";
8
+ SmsTemplateType["WELCOME"] = "welcome";
9
+ SmsTemplateType["ACCOUNT_ACTIVATION"] = "account_activation";
10
+ SmsTemplateType["SECURITY_ALERT"] = "security_alert";
11
+ SmsTemplateType["INCIDENT_NOTIFICATION"] = "incident_notification";
12
+ SmsTemplateType["APPOINTMENT_REMINDER"] = "appointment_reminder";
13
+ SmsTemplateType["GENERAL_NOTIFICATION"] = "general_notification";
14
+ })(SmsTemplateType || (exports.SmsTemplateType = SmsTemplateType = {}));
15
+ //# sourceMappingURL=sms-template.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-template.enum.js","sourceRoot":"","sources":["../../../../../src/modules/sms/enums/sms-template.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eASX;AATD,WAAY,eAAe;IACvB,wDAAqC,CAAA;IACrC,oDAAiC,CAAA;IACjC,sCAAmB,CAAA;IACnB,4DAAyC,CAAA;IACzC,oDAAiC,CAAA;IACjC,kEAA+C,CAAA;IAC/C,gEAA6C,CAAA;IAC7C,gEAA6C,CAAA;AACjD,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B"}
@@ -0,0 +1,25 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./interfaces/sms-request"), exports);
18
+ __exportStar(require("./interfaces/sms-response"), exports);
19
+ __exportStar(require("./interfaces/sms-notification"), exports);
20
+ __exportStar(require("./interfaces/sms-options"), exports);
21
+ __exportStar(require("./interfaces/sms-template.interface"), exports);
22
+ __exportStar(require("./enums/sms-notification-status.enum"), exports);
23
+ __exportStar(require("./enums/sms-template.enum"), exports);
24
+ __exportStar(require("./constants/sms-templates.config"), exports);
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/sms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,sEAAoD;AACpD,uEAAqD;AACrD,4DAA0C;AAC1C,mEAAiD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sms-notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-notification.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-notification.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sms-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-options.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sms-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-request.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sms-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-response.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=sms-template.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-template.interface.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-template.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GuardianRelationship = void 0;
4
+ var GuardianRelationship;
5
+ (function (GuardianRelationship) {
6
+ GuardianRelationship["PARENT"] = "parent";
7
+ GuardianRelationship["SIBLING"] = "sibling";
8
+ GuardianRelationship["GRANDPARENT"] = "grandparent";
9
+ GuardianRelationship["AUNT"] = "aunt";
10
+ GuardianRelationship["UNCLE"] = "uncle";
11
+ GuardianRelationship["OTHER_RELATIVE"] = "other relative";
12
+ GuardianRelationship["GUARDIAN"] = "guardian";
13
+ GuardianRelationship["FRIEND"] = "friend";
14
+ GuardianRelationship["EMERGENCY_CONTACT"] = "emergency contact";
15
+ GuardianRelationship["OTHER"] = "other";
16
+ })(GuardianRelationship || (exports.GuardianRelationship = GuardianRelationship = {}));
17
+ //# sourceMappingURL=guardian-relationship.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardian-relationship.enum.js","sourceRoot":"","sources":["../../../../../src/modules/user/enums/guardian-relationship.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC5B,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,mDAA2B,CAAA;IAC3B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,yDAAiC,CAAA;IACjC,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+DAAuC,CAAA;IACvC,uCAAe,CAAA;AACnB,CAAC,EAXW,oBAAoB,oCAApB,oBAAoB,QAW/B"}
@@ -15,7 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./enums/user-status.enum"), exports);
18
+ __exportStar(require("./enums/guardian-relationship.enum"), exports);
18
19
  __exportStar(require("./interfaces/user"), exports);
19
20
  __exportStar(require("./interfaces/user-context"), exports);
20
21
  __exportStar(require("./interfaces/access-scope"), exports);
22
+ __exportStar(require("./interfaces/guardian"), exports);
21
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,qEAAmD;AACnD,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=guardian.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardian.js","sourceRoot":"","sources":["../../../../../src/modules/user/interfaces/guardian.ts"],"names":[],"mappings":""}
package/dist/esm/index.js CHANGED
@@ -10,6 +10,7 @@ export * from './modules/response-unit/index';
10
10
  export * from './modules/incident/index';
11
11
  export * from './modules/workflow/index';
12
12
  export * from './modules/dms/index';
13
+ export * from './modules/sms/index';
13
14
  // Interfaces
14
15
  export * from './modules/common/interfaces/server-message';
15
16
  export * from './modules/common/interfaces/pagination';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AAEpC,aAAa;AACb,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AAEpC,aAAa;AACb,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC"}
@@ -0,0 +1,54 @@
1
+ import { SmsTemplateType } from '../enums/sms-template.enum';
2
+ export const SMS_TEMPLATES = {
3
+ templates: {
4
+ [SmsTemplateType.OTP_VERIFICATION]: {
5
+ name: 'OTP Verification',
6
+ content: 'Your verification code is {{OTP}}. Use this code to complete your account verification. Code expires in {{EXPIRY_MINUTES}} minutes.',
7
+ variables: ['OTP', 'EXPIRY_MINUTES'],
8
+ description: 'Template for sending OTP verification codes'
9
+ },
10
+ [SmsTemplateType.PASSWORD_RESET]: {
11
+ name: 'Password Reset',
12
+ content: 'Your password reset code is {{OTP}}. Use this code to reset your password. Code expires in {{EXPIRY_MINUTES}} minutes. If you did not request this, please ignore.',
13
+ variables: ['OTP', 'EXPIRY_MINUTES'],
14
+ description: 'Template for password reset verification codes'
15
+ },
16
+ [SmsTemplateType.WELCOME]: {
17
+ name: 'Welcome Message',
18
+ content: 'Welcome to {{ORGANIZATION_NAME}}, {{NAME}}! Your account has been successfully created. Start exploring our platform today.',
19
+ variables: ['ORGANIZATION_NAME', 'NAME'],
20
+ description: 'Welcome message for new users'
21
+ },
22
+ [SmsTemplateType.ACCOUNT_ACTIVATION]: {
23
+ name: 'Account Activation',
24
+ content: 'Hi {{NAME}}, your account activation code is {{OTP}}. Use this code to activate your account. Code expires in {{EXPIRY_MINUTES}} minutes.',
25
+ variables: ['NAME', 'OTP', 'EXPIRY_MINUTES'],
26
+ description: 'Template for account activation codes'
27
+ },
28
+ [SmsTemplateType.SECURITY_ALERT]: {
29
+ name: 'Security Alert',
30
+ content: 'Security Alert: {{ALERT_MESSAGE}}. If this was not you, please contact support immediately. Time: {{TIMESTAMP}}',
31
+ variables: ['ALERT_MESSAGE', 'TIMESTAMP'],
32
+ description: 'Template for security alerts and notifications'
33
+ },
34
+ [SmsTemplateType.INCIDENT_NOTIFICATION]: {
35
+ name: 'Incident Notification',
36
+ content: 'Incident Alert: {{INCIDENT_TITLE}}. Priority: {{PRIORITY}}. Please check your dashboard for details. Ref: {{INCIDENT_ID}}',
37
+ variables: ['INCIDENT_TITLE', 'PRIORITY', 'INCIDENT_ID'],
38
+ description: 'Template for incident notifications'
39
+ },
40
+ [SmsTemplateType.APPOINTMENT_REMINDER]: {
41
+ name: 'Appointment Reminder',
42
+ content: 'Reminder: You have an appointment on {{DATE}} at {{TIME}} for {{PURPOSE}}. Location: {{LOCATION}}. Contact us if you need to reschedule.',
43
+ variables: ['DATE', 'TIME', 'PURPOSE', 'LOCATION'],
44
+ description: 'Template for appointment reminders'
45
+ },
46
+ [SmsTemplateType.GENERAL_NOTIFICATION]: {
47
+ name: 'General Notification',
48
+ content: '{{MESSAGE}}',
49
+ variables: ['MESSAGE'],
50
+ description: 'General purpose notification template'
51
+ }
52
+ }
53
+ };
54
+ //# sourceMappingURL=sms-templates.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-templates.config.js","sourceRoot":"","sources":["../../../../../src/modules/sms/constants/sms-templates.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,CAAC,MAAM,aAAa,GAAsB;IAC5C,SAAS,EAAE;QACP,CAAC,eAAe,CAAC,gBAAgB,CAAC,EAAE;YAChC,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE,qIAAqI;YAC9I,SAAS,EAAE,CAAC,KAAK,EAAE,gBAAgB,CAAC;YACpC,WAAW,EAAE,6CAA6C;SAC7D;QACD,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE;YAC9B,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,oKAAoK;YAC7K,SAAS,EAAE,CAAC,KAAK,EAAE,gBAAgB,CAAC;YACpC,WAAW,EAAE,gDAAgD;SAChE;QACD,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE;YACvB,IAAI,EAAE,iBAAiB;YACvB,OAAO,EAAE,6HAA6H;YACtI,SAAS,EAAE,CAAC,mBAAmB,EAAE,MAAM,CAAC;YACxC,WAAW,EAAE,+BAA+B;SAC/C;QACD,CAAC,eAAe,CAAC,kBAAkB,CAAC,EAAE;YAClC,IAAI,EAAE,oBAAoB;YAC1B,OAAO,EAAE,2IAA2I;YACpJ,SAAS,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,gBAAgB,CAAC;YAC5C,WAAW,EAAE,uCAAuC;SACvD;QACD,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE;YAC9B,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,iHAAiH;YAC1H,SAAS,EAAE,CAAC,eAAe,EAAE,WAAW,CAAC;YACzC,WAAW,EAAE,gDAAgD;SAChE;QACD,CAAC,eAAe,CAAC,qBAAqB,CAAC,EAAE;YACrC,IAAI,EAAE,uBAAuB;YAC7B,OAAO,EAAE,2HAA2H;YACpI,SAAS,EAAE,CAAC,gBAAgB,EAAE,UAAU,EAAE,aAAa,CAAC;YACxD,WAAW,EAAE,qCAAqC;SACrD;QACD,CAAC,eAAe,CAAC,oBAAoB,CAAC,EAAE;YACpC,IAAI,EAAE,sBAAsB;YAC5B,OAAO,EAAE,0IAA0I;YACnJ,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,CAAC;YAClD,WAAW,EAAE,oCAAoC;SACpD;QACD,CAAC,eAAe,CAAC,oBAAoB,CAAC,EAAE;YACpC,IAAI,EAAE,sBAAsB;YAC5B,OAAO,EAAE,aAAa;YACtB,SAAS,EAAE,CAAC,SAAS,CAAC;YACtB,WAAW,EAAE,uCAAuC;SACvD;KACJ;CACJ,CAAC"}
@@ -0,0 +1,9 @@
1
+ export var SMSNotificationStatus;
2
+ (function (SMSNotificationStatus) {
3
+ SMSNotificationStatus["PENDING"] = "pending";
4
+ SMSNotificationStatus["SENT"] = "sent";
5
+ SMSNotificationStatus["DELIVERED"] = "delivered";
6
+ SMSNotificationStatus["FAILED"] = "failed";
7
+ SMSNotificationStatus["CANCELLED"] = "cancelled";
8
+ })(SMSNotificationStatus || (SMSNotificationStatus = {}));
9
+ //# sourceMappingURL=sms-notification-status.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-notification-status.enum.js","sourceRoot":"","sources":["../../../../../src/modules/sms/enums/sms-notification-status.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,sCAAa,CAAA;IACb,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;AAC3B,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC"}
@@ -0,0 +1,12 @@
1
+ export var SmsTemplateType;
2
+ (function (SmsTemplateType) {
3
+ SmsTemplateType["OTP_VERIFICATION"] = "otp_verification";
4
+ SmsTemplateType["PASSWORD_RESET"] = "password_reset";
5
+ SmsTemplateType["WELCOME"] = "welcome";
6
+ SmsTemplateType["ACCOUNT_ACTIVATION"] = "account_activation";
7
+ SmsTemplateType["SECURITY_ALERT"] = "security_alert";
8
+ SmsTemplateType["INCIDENT_NOTIFICATION"] = "incident_notification";
9
+ SmsTemplateType["APPOINTMENT_REMINDER"] = "appointment_reminder";
10
+ SmsTemplateType["GENERAL_NOTIFICATION"] = "general_notification";
11
+ })(SmsTemplateType || (SmsTemplateType = {}));
12
+ //# sourceMappingURL=sms-template.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-template.enum.js","sourceRoot":"","sources":["../../../../../src/modules/sms/enums/sms-template.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACvB,wDAAqC,CAAA;IACrC,oDAAiC,CAAA;IACjC,sCAAmB,CAAA;IACnB,4DAAyC,CAAA;IACzC,oDAAiC,CAAA;IACjC,kEAA+C,CAAA;IAC/C,gEAA6C,CAAA;IAC7C,gEAA6C,CAAA;AACjD,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B"}
@@ -0,0 +1,9 @@
1
+ export * from './interfaces/sms-request';
2
+ export * from './interfaces/sms-response';
3
+ export * from './interfaces/sms-notification';
4
+ export * from './interfaces/sms-options';
5
+ export * from './interfaces/sms-template.interface';
6
+ export * from './enums/sms-notification-status.enum';
7
+ export * from './enums/sms-template.enum';
8
+ export * from './constants/sms-templates.config';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/sms/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sms-notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-notification.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-notification.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sms-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-options.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sms-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-request.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sms-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-response.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sms-template.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms-template.interface.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-template.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export var GuardianRelationship;
2
+ (function (GuardianRelationship) {
3
+ GuardianRelationship["PARENT"] = "parent";
4
+ GuardianRelationship["SIBLING"] = "sibling";
5
+ GuardianRelationship["GRANDPARENT"] = "grandparent";
6
+ GuardianRelationship["AUNT"] = "aunt";
7
+ GuardianRelationship["UNCLE"] = "uncle";
8
+ GuardianRelationship["OTHER_RELATIVE"] = "other relative";
9
+ GuardianRelationship["GUARDIAN"] = "guardian";
10
+ GuardianRelationship["FRIEND"] = "friend";
11
+ GuardianRelationship["EMERGENCY_CONTACT"] = "emergency contact";
12
+ GuardianRelationship["OTHER"] = "other";
13
+ })(GuardianRelationship || (GuardianRelationship = {}));
14
+ //# sourceMappingURL=guardian-relationship.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardian-relationship.enum.js","sourceRoot":"","sources":["../../../../../src/modules/user/enums/guardian-relationship.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC5B,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,mDAA2B,CAAA;IAC3B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,yDAAiC,CAAA;IACjC,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+DAAuC,CAAA;IACvC,uCAAe,CAAA;AACnB,CAAC,EAXW,oBAAoB,KAApB,oBAAoB,QAW/B"}
@@ -1,5 +1,7 @@
1
1
  export * from './enums/user-status.enum';
2
+ export * from './enums/guardian-relationship.enum';
2
3
  export * from './interfaces/user';
3
4
  export * from './interfaces/user-context';
4
5
  export * from './interfaces/access-scope';
6
+ export * from './interfaces/guardian';
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=guardian.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardian.js","sourceRoot":"","sources":["../../../../../src/modules/user/interfaces/guardian.ts"],"names":[],"mappings":""}
@@ -9,5 +9,6 @@ export * from './modules/response-unit/index';
9
9
  export * from './modules/incident/index';
10
10
  export * from './modules/workflow/index';
11
11
  export * from './modules/dms/index';
12
+ export * from './modules/sms/index';
12
13
  export * from './modules/common/interfaces/server-message';
13
14
  export * from './modules/common/interfaces/pagination';
@@ -0,0 +1,2 @@
1
+ import { SmsTemplateConfig } from '../interfaces/sms-template.interface';
2
+ export declare const SMS_TEMPLATES: SmsTemplateConfig;
@@ -0,0 +1,7 @@
1
+ export declare enum SMSNotificationStatus {
2
+ PENDING = "pending",
3
+ SENT = "sent",
4
+ DELIVERED = "delivered",
5
+ FAILED = "failed",
6
+ CANCELLED = "cancelled"
7
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum SmsTemplateType {
2
+ OTP_VERIFICATION = "otp_verification",
3
+ PASSWORD_RESET = "password_reset",
4
+ WELCOME = "welcome",
5
+ ACCOUNT_ACTIVATION = "account_activation",
6
+ SECURITY_ALERT = "security_alert",
7
+ INCIDENT_NOTIFICATION = "incident_notification",
8
+ APPOINTMENT_REMINDER = "appointment_reminder",
9
+ GENERAL_NOTIFICATION = "general_notification"
10
+ }
@@ -0,0 +1,8 @@
1
+ export * from './interfaces/sms-request';
2
+ export * from './interfaces/sms-response';
3
+ export * from './interfaces/sms-notification';
4
+ export * from './interfaces/sms-options';
5
+ export * from './interfaces/sms-template.interface';
6
+ export * from './enums/sms-notification-status.enum';
7
+ export * from './enums/sms-template.enum';
8
+ export * from './constants/sms-templates.config';
@@ -0,0 +1,23 @@
1
+ import { SMSNotificationStatus } from "../enums/sms-notification-status.enum";
2
+ export interface SMSNotification {
3
+ id: string;
4
+ recipients: string[];
5
+ senderID: string;
6
+ message: string;
7
+ status: SMSNotificationStatus;
8
+ externalId?: string;
9
+ providerResponse?: string;
10
+ errorMessage?: string;
11
+ retryCount?: number;
12
+ cost?: number;
13
+ currency?: string;
14
+ sentAt?: string;
15
+ deliveredAt?: string;
16
+ failedAt?: string;
17
+ createdAt?: string;
18
+ updatedAt?: string;
19
+ metadata?: Record<string, any>;
20
+ incidentId?: number;
21
+ userId?: number;
22
+ organizationId?: number;
23
+ }
@@ -0,0 +1,7 @@
1
+ export interface SMSOptions {
2
+ incidentId?: number;
3
+ userId?: number;
4
+ organizationId?: number;
5
+ metadata?: Record<string, any>;
6
+ chunkSize?: number;
7
+ }
@@ -0,0 +1,10 @@
1
+ export interface SMSRequest {
2
+ number: string[];
3
+ senderID: string;
4
+ text: string;
5
+ type?: string;
6
+ beginDate?: string;
7
+ beginTime?: string;
8
+ lifetime?: number;
9
+ delivery?: boolean;
10
+ }
@@ -0,0 +1,12 @@
1
+ export interface SMSResponse {
2
+ status: boolean;
3
+ data: [
4
+ {
5
+ id: [
6
+ {
7
+ id_state: string;
8
+ }
9
+ ];
10
+ }
11
+ ];
12
+ }
@@ -0,0 +1,12 @@
1
+ export interface SmsTemplateContext {
2
+ [key: string]: string | number | undefined;
3
+ }
4
+ export interface SmsTemplate {
5
+ name: string;
6
+ content: string;
7
+ variables: string[];
8
+ description?: string;
9
+ }
10
+ export interface SmsTemplateConfig {
11
+ templates: Record<string, SmsTemplate>;
12
+ }
@@ -0,0 +1,12 @@
1
+ export declare enum GuardianRelationship {
2
+ PARENT = "parent",
3
+ SIBLING = "sibling",
4
+ GRANDPARENT = "grandparent",
5
+ AUNT = "aunt",
6
+ UNCLE = "uncle",
7
+ OTHER_RELATIVE = "other relative",
8
+ GUARDIAN = "guardian",
9
+ FRIEND = "friend",
10
+ EMERGENCY_CONTACT = "emergency contact",
11
+ OTHER = "other"
12
+ }
@@ -1,4 +1,6 @@
1
1
  export * from './enums/user-status.enum';
2
+ export * from './enums/guardian-relationship.enum';
2
3
  export * from './interfaces/user';
3
4
  export * from './interfaces/user-context';
4
5
  export * from './interfaces/access-scope';
6
+ export * from './interfaces/guardian';
@@ -0,0 +1,9 @@
1
+ import { GuardianRelationship } from "../enums/guardian-relationship.enum";
2
+ export interface Guardian {
3
+ userId?: number;
4
+ name: string;
5
+ phoneNumber: string;
6
+ isPrimary?: boolean;
7
+ relationship?: GuardianRelationship;
8
+ email?: string;
9
+ }
@@ -1,4 +1,5 @@
1
1
  import { Roles } from "../../role";
2
+ import { Guardian } from "./guardian";
2
3
  export interface User {
3
4
  id?: number;
4
5
  name: string;
@@ -9,6 +10,8 @@ export interface User {
9
10
  avatar?: string;
10
11
  designation?: string;
11
12
  status?: string;
13
+ guardians?: Guardian[];
14
+ dependantIds?: number[];
12
15
  isTermsAccepted?: boolean;
13
16
  isIdentityVerified?: boolean;
14
17
  otp?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",