@careflair/common 1.0.53 → 1.0.55
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.
- package/dist/enums/index.d.ts +20 -0
- package/dist/enums/index.js +49 -1
- package/package.json +1 -1
package/dist/enums/index.d.ts
CHANGED
|
@@ -374,6 +374,26 @@ 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
|
+
NOT_ENOUGH_PROVIDERS = "not_enough_providers",
|
|
380
|
+
NO_LONGER_PROVIDING_SERVICES = "no_longer_providing_services",
|
|
381
|
+
NOT_ENOUGH_JOBS = "not_enough_jobs",
|
|
382
|
+
FOUND_ANOTHER_PLATFORM = "found_another_platform",
|
|
383
|
+
PRIVACY_CONCERNS = "privacy_concerns",
|
|
384
|
+
DIFFICULT_TO_USE = "difficult_to_use",
|
|
385
|
+
OTHER = "other"
|
|
386
|
+
}
|
|
387
|
+
export declare const AccountDeletionReasonLabels: Record<AccountDeletionReason, string>;
|
|
388
|
+
/** Reasons shown to hirers (participant, support_person) */
|
|
389
|
+
export declare const ACCOUNT_DELETION_REASONS_FOR_HIRER: AccountDeletionReason[];
|
|
390
|
+
/** Reasons shown to workers (support_worker, provider) */
|
|
391
|
+
export declare const ACCOUNT_DELETION_REASONS_FOR_WORKER: AccountDeletionReason[];
|
|
392
|
+
export declare enum AccountDeletionStatus {
|
|
393
|
+
PENDING = "pending",
|
|
394
|
+
APPROVED = "approved",
|
|
395
|
+
WITHDRAWN = "withdrawn"
|
|
396
|
+
}
|
|
377
397
|
export declare enum PushNotificationType {
|
|
378
398
|
CHAT_MESSAGE = "chat_message",
|
|
379
399
|
ONBOARDING_REMINDER = "onboarding_reminder",
|
package/dist/enums/index.js
CHANGED
|
@@ -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.ACCOUNT_DELETION_REASONS_FOR_WORKER = exports.ACCOUNT_DELETION_REASONS_FOR_HIRER = 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,54 @@ 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
|
+
// Hirer (participant/support person)
|
|
450
|
+
AccountDeletionReason["NO_LONGER_NEED_SERVICES"] = "no_longer_need_services";
|
|
451
|
+
AccountDeletionReason["NOT_ENOUGH_PROVIDERS"] = "not_enough_providers";
|
|
452
|
+
// Worker (support worker/provider)
|
|
453
|
+
AccountDeletionReason["NO_LONGER_PROVIDING_SERVICES"] = "no_longer_providing_services";
|
|
454
|
+
AccountDeletionReason["NOT_ENOUGH_JOBS"] = "not_enough_jobs";
|
|
455
|
+
// Both
|
|
456
|
+
AccountDeletionReason["FOUND_ANOTHER_PLATFORM"] = "found_another_platform";
|
|
457
|
+
AccountDeletionReason["PRIVACY_CONCERNS"] = "privacy_concerns";
|
|
458
|
+
AccountDeletionReason["DIFFICULT_TO_USE"] = "difficult_to_use";
|
|
459
|
+
AccountDeletionReason["OTHER"] = "other";
|
|
460
|
+
})(AccountDeletionReason || (exports.AccountDeletionReason = AccountDeletionReason = {}));
|
|
461
|
+
exports.AccountDeletionReasonLabels = {
|
|
462
|
+
[AccountDeletionReason.NO_LONGER_NEED_SERVICES]: "No longer need care services",
|
|
463
|
+
[AccountDeletionReason.NOT_ENOUGH_PROVIDERS]: "Not enough service providers in my area",
|
|
464
|
+
[AccountDeletionReason.NO_LONGER_PROVIDING_SERVICES]: "No longer providing care services",
|
|
465
|
+
[AccountDeletionReason.NOT_ENOUGH_JOBS]: "Not enough job opportunities in my area",
|
|
466
|
+
[AccountDeletionReason.FOUND_ANOTHER_PLATFORM]: "Found another platform",
|
|
467
|
+
[AccountDeletionReason.PRIVACY_CONCERNS]: "Privacy concerns",
|
|
468
|
+
[AccountDeletionReason.DIFFICULT_TO_USE]: "Difficult to use",
|
|
469
|
+
[AccountDeletionReason.OTHER]: "Other",
|
|
470
|
+
};
|
|
471
|
+
/** Reasons shown to hirers (participant, support_person) */
|
|
472
|
+
exports.ACCOUNT_DELETION_REASONS_FOR_HIRER = [
|
|
473
|
+
AccountDeletionReason.NO_LONGER_NEED_SERVICES,
|
|
474
|
+
AccountDeletionReason.NOT_ENOUGH_PROVIDERS,
|
|
475
|
+
AccountDeletionReason.FOUND_ANOTHER_PLATFORM,
|
|
476
|
+
AccountDeletionReason.PRIVACY_CONCERNS,
|
|
477
|
+
AccountDeletionReason.DIFFICULT_TO_USE,
|
|
478
|
+
AccountDeletionReason.OTHER,
|
|
479
|
+
];
|
|
480
|
+
/** Reasons shown to workers (support_worker, provider) */
|
|
481
|
+
exports.ACCOUNT_DELETION_REASONS_FOR_WORKER = [
|
|
482
|
+
AccountDeletionReason.NO_LONGER_PROVIDING_SERVICES,
|
|
483
|
+
AccountDeletionReason.NOT_ENOUGH_JOBS,
|
|
484
|
+
AccountDeletionReason.FOUND_ANOTHER_PLATFORM,
|
|
485
|
+
AccountDeletionReason.PRIVACY_CONCERNS,
|
|
486
|
+
AccountDeletionReason.DIFFICULT_TO_USE,
|
|
487
|
+
AccountDeletionReason.OTHER,
|
|
488
|
+
];
|
|
489
|
+
var AccountDeletionStatus;
|
|
490
|
+
(function (AccountDeletionStatus) {
|
|
491
|
+
AccountDeletionStatus["PENDING"] = "pending";
|
|
492
|
+
AccountDeletionStatus["APPROVED"] = "approved";
|
|
493
|
+
AccountDeletionStatus["WITHDRAWN"] = "withdrawn";
|
|
494
|
+
})(AccountDeletionStatus || (exports.AccountDeletionStatus = AccountDeletionStatus = {}));
|
|
447
495
|
// Push notification types for mobile app navigation
|
|
448
496
|
var PushNotificationType;
|
|
449
497
|
(function (PushNotificationType) {
|