@careflair/common 1.0.52 → 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.
@@ -366,6 +366,28 @@ export declare enum screeningAndChildrenCheckStatus {
366
366
  DECLINED = "declined",
367
367
  EXPIRED = "expired"
368
368
  }
369
+ /** Job application (proposal) status – matches Prisma JobApplication.status */
370
+ export declare enum JobApplicationStatus {
371
+ PENDING = "pending",
372
+ SHORTLISTED = "shortlisted",
373
+ ARCHIVED = "archived",
374
+ HIRED = "hired",
375
+ WITHDRAWN = "withdrawn"
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
+ }
369
391
  export declare enum PushNotificationType {
370
392
  CHAT_MESSAGE = "chat_message",
371
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.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)";
@@ -435,6 +435,38 @@ var screeningAndChildrenCheckStatus;
435
435
  screeningAndChildrenCheckStatus["DECLINED"] = "declined";
436
436
  screeningAndChildrenCheckStatus["EXPIRED"] = "expired";
437
437
  })(screeningAndChildrenCheckStatus || (exports.screeningAndChildrenCheckStatus = screeningAndChildrenCheckStatus = {}));
438
+ /** Job application (proposal) status – matches Prisma JobApplication.status */
439
+ var JobApplicationStatus;
440
+ (function (JobApplicationStatus) {
441
+ JobApplicationStatus["PENDING"] = "pending";
442
+ JobApplicationStatus["SHORTLISTED"] = "shortlisted";
443
+ JobApplicationStatus["ARCHIVED"] = "archived";
444
+ JobApplicationStatus["HIRED"] = "hired";
445
+ JobApplicationStatus["WITHDRAWN"] = "withdrawn";
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 = {}));
438
470
  // Push notification types for mobile app navigation
439
471
  var PushNotificationType;
440
472
  (function (PushNotificationType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careflair/common",
3
- "version": "1.0.52",
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",