@careflair/common 1.0.22 → 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 = {}));
@@ -4,7 +4,7 @@ exports.getAltCommunicationLabel = exports.getPreferencesLabel = exports.getGend
4
4
  const constants_1 = require("../constants");
5
5
  const enums_1 = require("../enums");
6
6
  const getSupportWorkerServiceLabel = (service) => {
7
- return (constants_1.SupportWorkerServiceLabels[service] || service);
7
+ return constants_1.SupportWorkerServiceLabels[service] || service;
8
8
  };
9
9
  exports.getSupportWorkerServiceLabel = getSupportWorkerServiceLabel;
10
10
  const getGenderLabel = (gender) => {
@@ -14,11 +14,11 @@ const getGenderLabel = (gender) => {
14
14
  exports.getGenderLabel = getGenderLabel;
15
15
  const getPreferencesLabel = (preference) => {
16
16
  const preferences = {
17
- SOLE_TRADER: 'Sole Trader',
18
- ORGANISATION: 'Organisation',
19
- ORGANIZATION: 'Organization',
20
- NDIS_REGISTERED: 'NDIS Registered',
21
- RATE_NEGOTIABLE: 'Rate Negotiable',
17
+ SOLE_TRADER: "Sole Trader",
18
+ ORGANISATION: "Organisation",
19
+ ORGANIZATION: "Organization",
20
+ NDIS_REGISTERED: "NDIS Registered",
21
+ RATE_NEGOTIABLE: "Rate Negotiable",
22
22
  };
23
23
  return preferences[preference] || preference;
24
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careflair/common",
3
- "version": "1.0.22",
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",