@careflair/common 1.0.23 → 1.0.24

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.
@@ -410,3 +410,17 @@ export declare enum screeningAndChildrenCheckStatus {
410
410
  DECLINED = "declined",
411
411
  EXPIRED = "expired"
412
412
  }
413
+ export declare enum PushNotificationType {
414
+ CHAT_MESSAGE = "chat_message",
415
+ ID_VERIFICATION_REMINDER = "id_verification_reminder",
416
+ NDIS_SCREENING_REMINDER = "ndis_screening_reminder",
417
+ WWCC_REMINDER = "wwcc_reminder",
418
+ NEW_JOB_OPPORTUNITY = "new_job_opportunity",
419
+ ID_VERIFICATION_SUCCESS = "id_verification_success",
420
+ ID_VERIFICATION_RESUBMISSION_REQUESTED = "id_verification_resubmission_requested",
421
+ ID_VERIFICATION_DECLINED = "id_verification_declined",
422
+ NDIS_SCREENING_APPROVED = "ndis_screening_approved",
423
+ NDIS_SCREENING_DECLINED = "ndis_screening_declined",
424
+ WWCC_APPROVED = "wwcc_approved",
425
+ WWCC_DECLINED = "wwcc_declined"
426
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.screeningAndChildrenCheckStatus = exports.veriffStatuses = exports.ContractTypeEnum = exports.OnboardingSteps = exports.DocumentType = exports.JOB_TABS = exports.BOOKING_ACTIVITY_TYPE = exports.JOB_WORKER_TYPE = exports.SupportWorkerService = exports.AltCommunication = exports.NotificationType = exports.JobScheduleFrequencyEnum = exports.FileContentType = exports.MessageStatus = exports.MessageType = exports.PostUpvoteTypes = exports.PostTypes = exports.CommunityMembersStatuses = exports.AttachmentFilesEnum = exports.ProviderInterestEnum = exports.ProviderPreferenceEnum = exports.ParticipantInterestEnum = exports.ParticipantPreferenceEnum = exports.DaysOfWeek = exports.ProfileAllStepsEnum = exports.BusinessClassTypes = exports.BusinessType = exports.OtpType = exports.UserRole = exports.EducationTypeEnum = exports.ComplexNeedsSupportedEnum = exports.AgesSupportedEnum = exports.GenderOfAttendanceEnum = exports.DeliveryEnum = exports.LanguageEnum = exports.StatesEnum = exports.CategoryEnum = void 0;
3
+ exports.PushNotificationType = exports.screeningAndChildrenCheckStatus = exports.veriffStatuses = exports.ContractTypeEnum = exports.OnboardingSteps = exports.DocumentType = exports.JOB_TABS = exports.BOOKING_ACTIVITY_TYPE = exports.JOB_WORKER_TYPE = exports.SupportWorkerService = exports.AltCommunication = exports.NotificationType = exports.JobScheduleFrequencyEnum = exports.FileContentType = exports.MessageStatus = exports.MessageType = exports.PostUpvoteTypes = exports.PostTypes = exports.CommunityMembersStatuses = exports.AttachmentFilesEnum = exports.ProviderInterestEnum = exports.ProviderPreferenceEnum = exports.ParticipantInterestEnum = exports.ParticipantPreferenceEnum = exports.DaysOfWeek = exports.ProfileAllStepsEnum = exports.BusinessClassTypes = exports.BusinessType = exports.OtpType = exports.UserRole = exports.EducationTypeEnum = exports.ComplexNeedsSupportedEnum = exports.AgesSupportedEnum = exports.GenderOfAttendanceEnum = exports.DeliveryEnum = exports.LanguageEnum = exports.StatesEnum = exports.CategoryEnum = void 0;
4
4
  var CategoryEnum;
5
5
  (function (CategoryEnum) {
6
6
  CategoryEnum["SUPPORT_WORKER"] = "Support Worker";
@@ -479,3 +479,19 @@ var screeningAndChildrenCheckStatus;
479
479
  screeningAndChildrenCheckStatus["DECLINED"] = "declined";
480
480
  screeningAndChildrenCheckStatus["EXPIRED"] = "expired";
481
481
  })(screeningAndChildrenCheckStatus || (exports.screeningAndChildrenCheckStatus = screeningAndChildrenCheckStatus = {}));
482
+ // Push notification types for mobile app navigation
483
+ var PushNotificationType;
484
+ (function (PushNotificationType) {
485
+ PushNotificationType["CHAT_MESSAGE"] = "chat_message";
486
+ PushNotificationType["ID_VERIFICATION_REMINDER"] = "id_verification_reminder";
487
+ PushNotificationType["NDIS_SCREENING_REMINDER"] = "ndis_screening_reminder";
488
+ PushNotificationType["WWCC_REMINDER"] = "wwcc_reminder";
489
+ PushNotificationType["NEW_JOB_OPPORTUNITY"] = "new_job_opportunity";
490
+ PushNotificationType["ID_VERIFICATION_SUCCESS"] = "id_verification_success";
491
+ PushNotificationType["ID_VERIFICATION_RESUBMISSION_REQUESTED"] = "id_verification_resubmission_requested";
492
+ PushNotificationType["ID_VERIFICATION_DECLINED"] = "id_verification_declined";
493
+ PushNotificationType["NDIS_SCREENING_APPROVED"] = "ndis_screening_approved";
494
+ PushNotificationType["NDIS_SCREENING_DECLINED"] = "ndis_screening_declined";
495
+ PushNotificationType["WWCC_APPROVED"] = "wwcc_approved";
496
+ PushNotificationType["WWCC_DECLINED"] = "wwcc_declined";
497
+ })(PushNotificationType || (exports.PushNotificationType = PushNotificationType = {}));
@@ -6,4 +6,4 @@ export * from "./enum";
6
6
  export * from "./video";
7
7
  export * from "./onboarding";
8
8
  export * from "./html";
9
- export { getSupportWorkerServiceLabel, getGenderLabel, getPreferencesLabel, getAltCommunicationLabel, } from "./labels";
9
+ export * from "./labels";
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.getAltCommunicationLabel = exports.getPreferencesLabel = exports.getGenderLabel = exports.getSupportWorkerServiceLabel = void 0;
18
17
  // Phone validation utilities
19
18
  __exportStar(require("./phone"), exports);
20
19
  // Date formatting utilities
@@ -32,8 +31,4 @@ __exportStar(require("./onboarding"), exports);
32
31
  // HTML sanitization utilities
33
32
  __exportStar(require("./html"), exports);
34
33
  // Label helper utilities
35
- var labels_1 = require("./labels");
36
- Object.defineProperty(exports, "getSupportWorkerServiceLabel", { enumerable: true, get: function () { return labels_1.getSupportWorkerServiceLabel; } });
37
- Object.defineProperty(exports, "getGenderLabel", { enumerable: true, get: function () { return labels_1.getGenderLabel; } });
38
- Object.defineProperty(exports, "getPreferencesLabel", { enumerable: true, get: function () { return labels_1.getPreferencesLabel; } });
39
- Object.defineProperty(exports, "getAltCommunicationLabel", { enumerable: true, get: function () { return labels_1.getAltCommunicationLabel; } });
34
+ __exportStar(require("./labels"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careflair/common",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Shared assets for CareFlair",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",