@careflair/common 1.0.53 → 1.0.54

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.
@@ -374,6 +374,20 @@ export declare enum JobApplicationStatus {
374
374
  HIRED = "hired",
375
375
  WITHDRAWN = "withdrawn"
376
376
  }
377
+ export declare enum AccountDeletionReason {
378
+ NO_LONGER_NEED_SERVICES = "no_longer_need_services",
379
+ FOUND_ANOTHER_PLATFORM = "found_another_platform",
380
+ PRIVACY_CONCERNS = "privacy_concerns",
381
+ DIFFICULT_TO_USE = "difficult_to_use",
382
+ NOT_ENOUGH_PROVIDERS = "not_enough_providers",
383
+ OTHER = "other"
384
+ }
385
+ export declare const AccountDeletionReasonLabels: Record<AccountDeletionReason, string>;
386
+ export declare enum AccountDeletionStatus {
387
+ PENDING = "pending",
388
+ APPROVED = "approved",
389
+ WITHDRAWN = "withdrawn"
390
+ }
377
391
  export declare enum PushNotificationType {
378
392
  CHAT_MESSAGE = "chat_message",
379
393
  ONBOARDING_REMINDER = "onboarding_reminder",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PushNotificationType = exports.JobApplicationStatus = 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 = void 0;
3
+ exports.PushNotificationType = exports.AccountDeletionStatus = exports.AccountDeletionReasonLabels = exports.AccountDeletionReason = exports.JobApplicationStatus = 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 = void 0;
4
4
  var StatesEnum;
5
5
  (function (StatesEnum) {
6
6
  StatesEnum["NEW_SOUTH_WALES_NSW"] = "New South Wales (NSW)";
@@ -444,6 +444,29 @@ var JobApplicationStatus;
444
444
  JobApplicationStatus["HIRED"] = "hired";
445
445
  JobApplicationStatus["WITHDRAWN"] = "withdrawn";
446
446
  })(JobApplicationStatus || (exports.JobApplicationStatus = JobApplicationStatus = {}));
447
+ var AccountDeletionReason;
448
+ (function (AccountDeletionReason) {
449
+ AccountDeletionReason["NO_LONGER_NEED_SERVICES"] = "no_longer_need_services";
450
+ AccountDeletionReason["FOUND_ANOTHER_PLATFORM"] = "found_another_platform";
451
+ AccountDeletionReason["PRIVACY_CONCERNS"] = "privacy_concerns";
452
+ AccountDeletionReason["DIFFICULT_TO_USE"] = "difficult_to_use";
453
+ AccountDeletionReason["NOT_ENOUGH_PROVIDERS"] = "not_enough_providers";
454
+ AccountDeletionReason["OTHER"] = "other";
455
+ })(AccountDeletionReason || (exports.AccountDeletionReason = AccountDeletionReason = {}));
456
+ exports.AccountDeletionReasonLabels = {
457
+ [AccountDeletionReason.NO_LONGER_NEED_SERVICES]: "No longer need care services",
458
+ [AccountDeletionReason.FOUND_ANOTHER_PLATFORM]: "Found another platform",
459
+ [AccountDeletionReason.PRIVACY_CONCERNS]: "Privacy concerns",
460
+ [AccountDeletionReason.DIFFICULT_TO_USE]: "Difficult to use",
461
+ [AccountDeletionReason.NOT_ENOUGH_PROVIDERS]: "Not enough service providers in my area",
462
+ [AccountDeletionReason.OTHER]: "Other",
463
+ };
464
+ var AccountDeletionStatus;
465
+ (function (AccountDeletionStatus) {
466
+ AccountDeletionStatus["PENDING"] = "pending";
467
+ AccountDeletionStatus["APPROVED"] = "approved";
468
+ AccountDeletionStatus["WITHDRAWN"] = "withdrawn";
469
+ })(AccountDeletionStatus || (exports.AccountDeletionStatus = AccountDeletionStatus = {}));
447
470
  // Push notification types for mobile app navigation
448
471
  var PushNotificationType;
449
472
  (function (PushNotificationType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careflair/common",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "Shared assets for CareFlair",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",