@careflair/common 1.0.45 → 1.0.47
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/constants/index.d.ts +38 -24
- package/dist/constants/index.js +40 -302
- package/dist/enums/index.d.ts +2 -47
- package/dist/enums/index.js +3 -48
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/schemas/businessServicesValidation.d.ts +2 -4
- package/dist/schemas/businessServicesValidation.js +3 -11
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +1 -3
- package/dist/utils/labels.d.ts +1 -0
- package/dist/utils/labels.js +6 -4
- package/dist/utils/role-fields.utils.d.ts +1 -1
- package/dist/utils/role-fields.utils.js +1 -0
- package/package.json +1 -1
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
};
|
|
5
|
-
type NestedOptions = readonly {
|
|
6
|
-
label: string;
|
|
7
|
-
options: readonly Option[];
|
|
8
|
-
}[];
|
|
9
|
-
import { AltCommunication, CategoryEnum, ContractTypeEnum, DocumentType, GenderOfAttendanceEnum, OnboardingSteps, ProfileAllStepsEnum, SupportWorkerService } from "../enums";
|
|
10
|
-
export declare const categoryOptions: NestedOptions;
|
|
11
|
-
export declare const serviceCategoriesMap: {
|
|
12
|
-
readonly Support: readonly [CategoryEnum.SUPPORT_WORKER, CategoryEnum.ACCESSING_THE_COMMUNITY, CategoryEnum.NURSE, CategoryEnum.MENTOR, CategoryEnum.SOCIAL_WORKER];
|
|
13
|
-
readonly "Allied Health (Therapies)": readonly [CategoryEnum.ART_THERAPY, CategoryEnum.COUNSELLING, CategoryEnum.DEVELOPMENTAL_EDUCATOR, CategoryEnum.DIETICIAN, CategoryEnum.KEY_WORKER, CategoryEnum.MUSIC_THERAPY, CategoryEnum.EXERCISE_PHYSIOLOGY, CategoryEnum.OCCUPATIONAL_THERAPY, CategoryEnum.PHYSIOTHERAPY, CategoryEnum.PODIATRY, CategoryEnum.PSYCHOLOGY, CategoryEnum.PSYCHOTHERAPY, CategoryEnum.SOCIAL_WORKER, CategoryEnum.SPEECH_THERAPY, CategoryEnum.THERAPY_ASSISTANT, CategoryEnum.OTHER_SAND_ANIMAL_PLAY];
|
|
14
|
-
readonly "Plan Support": readonly [CategoryEnum.PLAN_MANAGER, CategoryEnum.SUPPORT_COORDINATOR, CategoryEnum.SPECIALIST_SUPPORT_COORDINATOR, CategoryEnum.RECOVERY_COACH_PRS];
|
|
15
|
-
readonly "Skills Development": readonly [CategoryEnum.SUPPORT_IN_EMPLOYMENT, CategoryEnum.LIFE_SKILLS, CategoryEnum.MENTORING, CategoryEnum.TRAVEL_TRAINING];
|
|
16
|
-
readonly "Home Maintenance": readonly [CategoryEnum.CLEANING, CategoryEnum.GARDENING, CategoryEnum.YARD_MAINTENANCE, CategoryEnum.HANDYPERSON_AND_REPAIRS];
|
|
17
|
-
readonly Housing: readonly [CategoryEnum.ILO, CategoryEnum.SPECIALIST_DISABILITY_ACCOMMODATION_SDA, CategoryEnum.MEDIUM_TERM_ACCOMMODATION, CategoryEnum.RESPITE_SHORT_TERM_ACCOMMODATION, CategoryEnum.SUPPORTED_INDEPENDENT_LIVING_SIL];
|
|
18
|
-
readonly "Social, Health and Wellbeing": readonly [CategoryEnum.SOCIAL_PROGRAMS_AND_ACTIVITIES, CategoryEnum.PERSONAL_TRAINING, CategoryEnum.FAMILY_AND_PEER_SUPPORT_GROUPS];
|
|
19
|
-
readonly Children: readonly [CategoryEnum.EARLY_INTERVENTION_AND_CHILDREN];
|
|
20
|
-
readonly Employment: readonly [CategoryEnum.FINDING_AND_KEEPING_A_JOB, CategoryEnum.SLES];
|
|
21
|
-
readonly Equipment: readonly [CategoryEnum.DISABILITY_AIDS];
|
|
22
|
-
};
|
|
1
|
+
import { AltCommunication, ContractTypeEnum, DocumentType, GenderOfAttendanceEnum, OnboardingSteps, ProfileAllStepsEnum, SupportWorkerService } from "../enums";
|
|
23
2
|
export declare const statesOptions: {
|
|
24
3
|
label: string;
|
|
25
4
|
value: string;
|
|
@@ -85,7 +64,7 @@ export declare const StateShortToFull: {
|
|
|
85
64
|
readonly ACT: "Australian Capital Territory (ACT)";
|
|
86
65
|
readonly NT: "Northern Territory (NT)";
|
|
87
66
|
};
|
|
88
|
-
export declare const
|
|
67
|
+
export declare const ServiceLabels: Record<SupportWorkerService, string>;
|
|
89
68
|
export declare const SUPPORT_WORKER_SERVICES_FILTERS: {
|
|
90
69
|
label: string;
|
|
91
70
|
options: {
|
|
@@ -93,6 +72,41 @@ export declare const SUPPORT_WORKER_SERVICES_FILTERS: {
|
|
|
93
72
|
value: SupportWorkerService;
|
|
94
73
|
}[];
|
|
95
74
|
}[];
|
|
75
|
+
export declare const PROVIDER_SERVICES_FILTERS: readonly [...{
|
|
76
|
+
label: string;
|
|
77
|
+
options: {
|
|
78
|
+
label: string;
|
|
79
|
+
value: SupportWorkerService;
|
|
80
|
+
}[];
|
|
81
|
+
}[], {
|
|
82
|
+
readonly label: "Provider Specific";
|
|
83
|
+
readonly options: readonly [{
|
|
84
|
+
readonly label: string;
|
|
85
|
+
readonly value: SupportWorkerService.SupportedIndependentLivingSIL;
|
|
86
|
+
}];
|
|
87
|
+
}];
|
|
88
|
+
export declare const serviceTooltip: {
|
|
89
|
+
readonly showeringToiletingDressing: "Assistance with personal hygiene tasks, including showering, toileting, and dressing";
|
|
90
|
+
readonly continenceAidAssistance: "e.g., changing pads, incontinence management";
|
|
91
|
+
readonly pressureCare: "For bed-bound clients to prevent pressure sores";
|
|
92
|
+
readonly hoistLifting: "For clients requiring mechanical transfer support";
|
|
93
|
+
readonly overnightCare: "Active or inactive overnight support";
|
|
94
|
+
readonly generalEatingSupport: "e.g., cutting food, feeding assistance, mealtime supervision";
|
|
95
|
+
readonly pegFeeding: "Providing support for clients requiring percutaneous endoscopic gastrostomy (PEG) feeding.";
|
|
96
|
+
readonly medicationAssistance: "Including blister packs, PRN medications, and reminders";
|
|
97
|
+
readonly stomaCare: "e.g., emptying or changing colostomy/urostomy bags";
|
|
98
|
+
readonly basicDressingChanges: "For minor, non-infected wounds and simple adhesive dressings, as per care plan";
|
|
99
|
+
readonly cookingMealPrep: "Meal planning, batch cooking, and food storage. Does not include cooking for individuals with swallowing difficulties, texture-modified diets, or medically complex meal plans.";
|
|
100
|
+
readonly householdCleaning: "Vacuuming, dusting, laundry, bathroom cleaning, and general tidying";
|
|
101
|
+
readonly lightGardening: "Weeding, lawn cutting, planting, minor yard upkeep";
|
|
102
|
+
readonly appointmentManagement: "Reminders, calendar management, booking medical appointments, correspondence support";
|
|
103
|
+
readonly paperworkAdminHelp: "Form-filling, organizing personal documents, bill reminders – non-financial advice";
|
|
104
|
+
readonly communityAccess: "Accompanying clients to events, social groups, recreational activities, or appointments";
|
|
105
|
+
readonly standardVehicle: "Driving clients to appointments, social events, or community activities";
|
|
106
|
+
readonly wheelchairAccessibleVehicle: "For participants requiring a vehicle with a ramp or hoist";
|
|
107
|
+
readonly supportedIndependentLivingSIL: "24/7 support for people with disability to live independently in their own home";
|
|
108
|
+
};
|
|
109
|
+
export declare const SupportWorkerServiceLabels: Record<SupportWorkerService, string>;
|
|
96
110
|
export declare const supportWorkerServiceTooltip: {
|
|
97
111
|
readonly showeringToiletingDressing: "Assistance with personal hygiene tasks, including showering, toileting, and dressing";
|
|
98
112
|
readonly continenceAidAssistance: "e.g., changing pads, incontinence management";
|
|
@@ -112,6 +126,7 @@ export declare const supportWorkerServiceTooltip: {
|
|
|
112
126
|
readonly communityAccess: "Accompanying clients to events, social groups, recreational activities, or appointments";
|
|
113
127
|
readonly standardVehicle: "Driving clients to appointments, social events, or community activities";
|
|
114
128
|
readonly wheelchairAccessibleVehicle: "For participants requiring a vehicle with a ramp or hoist";
|
|
129
|
+
readonly supportedIndependentLivingSIL: "24/7 support for people with disability to live independently in their own home";
|
|
115
130
|
};
|
|
116
131
|
export declare const commonLabels: {
|
|
117
132
|
GenderOfAttendanceEnum: typeof GenderOfAttendanceEnum;
|
|
@@ -248,4 +263,3 @@ export declare const flagCodeByLanguage: {
|
|
|
248
263
|
readonly Kannada: "in";
|
|
249
264
|
readonly Nepali: "np";
|
|
250
265
|
};
|
|
251
|
-
export {};
|
package/dist/constants/index.js
CHANGED
|
@@ -1,288 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.flagCodeByLanguage = exports.daysOfWeek = exports.contractTypeDetails = exports.onboardingStepsDetails = exports.DocumentTypeLabels = exports.altCommunicationOptions = exports.altCommunicationLabels = exports.commonLabels = exports.supportWorkerServiceTooltip = exports.SUPPORT_WORKER_SERVICES_FILTERS = exports.
|
|
3
|
+
exports.flagCodeByLanguage = exports.daysOfWeek = exports.contractTypeDetails = exports.onboardingStepsDetails = exports.DocumentTypeLabels = exports.altCommunicationOptions = exports.altCommunicationLabels = exports.commonLabels = exports.supportWorkerServiceTooltip = exports.SupportWorkerServiceLabels = exports.serviceTooltip = exports.PROVIDER_SERVICES_FILTERS = exports.SUPPORT_WORKER_SERVICES_FILTERS = exports.ServiceLabels = exports.StateShortToFull = exports.StateFullToShort = exports.ProfileAllSteps = exports.educationTypeOptions = exports.providerInterestOptions = exports.providerPreferenceOptions = exports.participantInterestOptions = exports.participantPreferenceOptions = exports.complexNeedsSupportedOptions = exports.agesSupportedOptions = exports.genderOfAttendanceOptions = exports.deliveryOptions = exports.languageOptions = exports.statesOptions = void 0;
|
|
4
4
|
const enums_1 = require("../enums");
|
|
5
5
|
const utils_1 = require("../utils/utils");
|
|
6
|
-
exports.categoryOptions = [
|
|
7
|
-
{
|
|
8
|
-
label: "Support",
|
|
9
|
-
options: [
|
|
10
|
-
{
|
|
11
|
-
value: enums_1.CategoryEnum.SUPPORT_WORKER,
|
|
12
|
-
label: enums_1.CategoryEnum.SUPPORT_WORKER,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
value: enums_1.CategoryEnum.ACCESSING_THE_COMMUNITY,
|
|
16
|
-
label: enums_1.CategoryEnum.ACCESSING_THE_COMMUNITY,
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
value: enums_1.CategoryEnum.NURSE,
|
|
20
|
-
label: enums_1.CategoryEnum.NURSE,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
value: enums_1.CategoryEnum.MENTOR,
|
|
24
|
-
label: enums_1.CategoryEnum.MENTOR,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
value: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
28
|
-
label: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
label: "Allied Health (Therapies)",
|
|
34
|
-
options: [
|
|
35
|
-
{
|
|
36
|
-
value: enums_1.CategoryEnum.ART_THERAPY,
|
|
37
|
-
label: enums_1.CategoryEnum.ART_THERAPY,
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
value: enums_1.CategoryEnum.COUNSELLING,
|
|
41
|
-
label: enums_1.CategoryEnum.COUNSELLING,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
value: enums_1.CategoryEnum.DEVELOPMENTAL_EDUCATOR,
|
|
45
|
-
label: enums_1.CategoryEnum.DEVELOPMENTAL_EDUCATOR,
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
value: enums_1.CategoryEnum.DIETICIAN,
|
|
49
|
-
label: enums_1.CategoryEnum.DIETICIAN,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
value: enums_1.CategoryEnum.KEY_WORKER,
|
|
53
|
-
label: enums_1.CategoryEnum.KEY_WORKER,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
value: enums_1.CategoryEnum.MUSIC_THERAPY,
|
|
57
|
-
label: enums_1.CategoryEnum.MUSIC_THERAPY,
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
value: enums_1.CategoryEnum.EXERCISE_PHYSIOLOGY,
|
|
61
|
-
label: enums_1.CategoryEnum.EXERCISE_PHYSIOLOGY,
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
value: enums_1.CategoryEnum.OCCUPATIONAL_THERAPY,
|
|
65
|
-
label: enums_1.CategoryEnum.OCCUPATIONAL_THERAPY,
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
value: enums_1.CategoryEnum.PHYSIOTHERAPY,
|
|
69
|
-
label: enums_1.CategoryEnum.PHYSIOTHERAPY,
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
value: enums_1.CategoryEnum.PODIATRY,
|
|
73
|
-
label: enums_1.CategoryEnum.PODIATRY,
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
value: enums_1.CategoryEnum.PSYCHOLOGY,
|
|
77
|
-
label: enums_1.CategoryEnum.PSYCHOLOGY,
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
value: enums_1.CategoryEnum.PSYCHOTHERAPY,
|
|
81
|
-
label: enums_1.CategoryEnum.PSYCHOTHERAPY,
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
value: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
85
|
-
label: enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
value: enums_1.CategoryEnum.SPEECH_THERAPY,
|
|
89
|
-
label: enums_1.CategoryEnum.SPEECH_THERAPY,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
value: enums_1.CategoryEnum.THERAPY_ASSISTANT,
|
|
93
|
-
label: enums_1.CategoryEnum.THERAPY_ASSISTANT,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
value: enums_1.CategoryEnum.OTHER_SAND_ANIMAL_PLAY,
|
|
97
|
-
label: enums_1.CategoryEnum.OTHER_SAND_ANIMAL_PLAY,
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
label: "Plan Support",
|
|
103
|
-
options: [
|
|
104
|
-
{
|
|
105
|
-
value: enums_1.CategoryEnum.PLAN_MANAGER,
|
|
106
|
-
label: enums_1.CategoryEnum.PLAN_MANAGER,
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
value: enums_1.CategoryEnum.SUPPORT_COORDINATOR,
|
|
110
|
-
label: enums_1.CategoryEnum.SUPPORT_COORDINATOR,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
value: enums_1.CategoryEnum.SPECIALIST_SUPPORT_COORDINATOR,
|
|
114
|
-
label: enums_1.CategoryEnum.SPECIALIST_SUPPORT_COORDINATOR,
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
value: enums_1.CategoryEnum.RECOVERY_COACH_PRS,
|
|
118
|
-
label: enums_1.CategoryEnum.RECOVERY_COACH_PRS,
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
label: "Skills Development",
|
|
124
|
-
options: [
|
|
125
|
-
{
|
|
126
|
-
value: enums_1.CategoryEnum.SUPPORT_IN_EMPLOYMENT,
|
|
127
|
-
label: enums_1.CategoryEnum.SUPPORT_IN_EMPLOYMENT,
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
value: enums_1.CategoryEnum.LIFE_SKILLS,
|
|
131
|
-
label: enums_1.CategoryEnum.LIFE_SKILLS,
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
value: enums_1.CategoryEnum.MENTORING,
|
|
135
|
-
label: enums_1.CategoryEnum.MENTORING,
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
value: enums_1.CategoryEnum.TRAVEL_TRAINING,
|
|
139
|
-
label: enums_1.CategoryEnum.TRAVEL_TRAINING,
|
|
140
|
-
},
|
|
141
|
-
],
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
label: "Home Maintenance",
|
|
145
|
-
options: [
|
|
146
|
-
{ label: enums_1.CategoryEnum.CLEANING, value: enums_1.CategoryEnum.CLEANING },
|
|
147
|
-
{ label: enums_1.CategoryEnum.GARDENING, value: enums_1.CategoryEnum.GARDENING },
|
|
148
|
-
{
|
|
149
|
-
label: enums_1.CategoryEnum.YARD_MAINTENANCE,
|
|
150
|
-
value: enums_1.CategoryEnum.YARD_MAINTENANCE,
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
label: enums_1.CategoryEnum.HANDYPERSON_AND_REPAIRS,
|
|
154
|
-
value: enums_1.CategoryEnum.HANDYPERSON_AND_REPAIRS,
|
|
155
|
-
},
|
|
156
|
-
],
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
label: "Housing",
|
|
160
|
-
options: [
|
|
161
|
-
{ label: enums_1.CategoryEnum.ILO, value: enums_1.CategoryEnum.ILO },
|
|
162
|
-
{
|
|
163
|
-
label: enums_1.CategoryEnum.SPECIALIST_DISABILITY_ACCOMMODATION_SDA,
|
|
164
|
-
value: enums_1.CategoryEnum.SPECIALIST_DISABILITY_ACCOMMODATION_SDA,
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
label: enums_1.CategoryEnum.MEDIUM_TERM_ACCOMMODATION,
|
|
168
|
-
value: enums_1.CategoryEnum.MEDIUM_TERM_ACCOMMODATION,
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
label: enums_1.CategoryEnum.RESPITE_SHORT_TERM_ACCOMMODATION,
|
|
172
|
-
value: enums_1.CategoryEnum.RESPITE_SHORT_TERM_ACCOMMODATION,
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
label: enums_1.CategoryEnum.SUPPORTED_INDEPENDENT_LIVING_SIL,
|
|
176
|
-
value: enums_1.CategoryEnum.SUPPORTED_INDEPENDENT_LIVING_SIL,
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
label: "Social, Health and Wellbeing",
|
|
182
|
-
options: [
|
|
183
|
-
{
|
|
184
|
-
label: enums_1.CategoryEnum.SOCIAL_PROGRAMS_AND_ACTIVITIES,
|
|
185
|
-
value: enums_1.CategoryEnum.SOCIAL_PROGRAMS_AND_ACTIVITIES,
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
label: enums_1.CategoryEnum.PERSONAL_TRAINING,
|
|
189
|
-
value: enums_1.CategoryEnum.PERSONAL_TRAINING,
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
label: enums_1.CategoryEnum.FAMILY_AND_PEER_SUPPORT_GROUPS,
|
|
193
|
-
value: enums_1.CategoryEnum.FAMILY_AND_PEER_SUPPORT_GROUPS,
|
|
194
|
-
},
|
|
195
|
-
],
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
label: "Children",
|
|
199
|
-
options: [
|
|
200
|
-
{
|
|
201
|
-
label: enums_1.CategoryEnum.EARLY_INTERVENTION_AND_CHILDREN,
|
|
202
|
-
value: enums_1.CategoryEnum.EARLY_INTERVENTION_AND_CHILDREN,
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
label: "Employment",
|
|
208
|
-
options: [
|
|
209
|
-
{
|
|
210
|
-
label: enums_1.CategoryEnum.FINDING_AND_KEEPING_A_JOB,
|
|
211
|
-
value: enums_1.CategoryEnum.FINDING_AND_KEEPING_A_JOB,
|
|
212
|
-
},
|
|
213
|
-
{ label: enums_1.CategoryEnum.SLES, value: enums_1.CategoryEnum.SLES },
|
|
214
|
-
],
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
label: "Equipment",
|
|
218
|
-
options: [
|
|
219
|
-
{
|
|
220
|
-
label: enums_1.CategoryEnum.DISABILITY_AIDS,
|
|
221
|
-
value: enums_1.CategoryEnum.DISABILITY_AIDS,
|
|
222
|
-
},
|
|
223
|
-
],
|
|
224
|
-
},
|
|
225
|
-
];
|
|
226
|
-
exports.serviceCategoriesMap = {
|
|
227
|
-
Support: [
|
|
228
|
-
enums_1.CategoryEnum.SUPPORT_WORKER,
|
|
229
|
-
enums_1.CategoryEnum.ACCESSING_THE_COMMUNITY,
|
|
230
|
-
enums_1.CategoryEnum.NURSE,
|
|
231
|
-
enums_1.CategoryEnum.MENTOR,
|
|
232
|
-
enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
233
|
-
],
|
|
234
|
-
"Allied Health (Therapies)": [
|
|
235
|
-
enums_1.CategoryEnum.ART_THERAPY,
|
|
236
|
-
enums_1.CategoryEnum.COUNSELLING,
|
|
237
|
-
enums_1.CategoryEnum.DEVELOPMENTAL_EDUCATOR,
|
|
238
|
-
enums_1.CategoryEnum.DIETICIAN,
|
|
239
|
-
enums_1.CategoryEnum.KEY_WORKER,
|
|
240
|
-
enums_1.CategoryEnum.MUSIC_THERAPY,
|
|
241
|
-
enums_1.CategoryEnum.EXERCISE_PHYSIOLOGY,
|
|
242
|
-
enums_1.CategoryEnum.OCCUPATIONAL_THERAPY,
|
|
243
|
-
enums_1.CategoryEnum.PHYSIOTHERAPY,
|
|
244
|
-
enums_1.CategoryEnum.PODIATRY,
|
|
245
|
-
enums_1.CategoryEnum.PSYCHOLOGY,
|
|
246
|
-
enums_1.CategoryEnum.PSYCHOTHERAPY,
|
|
247
|
-
enums_1.CategoryEnum.SOCIAL_WORKER,
|
|
248
|
-
enums_1.CategoryEnum.SPEECH_THERAPY,
|
|
249
|
-
enums_1.CategoryEnum.THERAPY_ASSISTANT,
|
|
250
|
-
enums_1.CategoryEnum.OTHER_SAND_ANIMAL_PLAY,
|
|
251
|
-
],
|
|
252
|
-
"Plan Support": [
|
|
253
|
-
enums_1.CategoryEnum.PLAN_MANAGER,
|
|
254
|
-
enums_1.CategoryEnum.SUPPORT_COORDINATOR,
|
|
255
|
-
enums_1.CategoryEnum.SPECIALIST_SUPPORT_COORDINATOR,
|
|
256
|
-
enums_1.CategoryEnum.RECOVERY_COACH_PRS,
|
|
257
|
-
],
|
|
258
|
-
"Skills Development": [
|
|
259
|
-
enums_1.CategoryEnum.SUPPORT_IN_EMPLOYMENT,
|
|
260
|
-
enums_1.CategoryEnum.LIFE_SKILLS,
|
|
261
|
-
enums_1.CategoryEnum.MENTORING,
|
|
262
|
-
enums_1.CategoryEnum.TRAVEL_TRAINING,
|
|
263
|
-
],
|
|
264
|
-
"Home Maintenance": [
|
|
265
|
-
enums_1.CategoryEnum.CLEANING,
|
|
266
|
-
enums_1.CategoryEnum.GARDENING,
|
|
267
|
-
enums_1.CategoryEnum.YARD_MAINTENANCE,
|
|
268
|
-
enums_1.CategoryEnum.HANDYPERSON_AND_REPAIRS,
|
|
269
|
-
],
|
|
270
|
-
Housing: [
|
|
271
|
-
enums_1.CategoryEnum.ILO,
|
|
272
|
-
enums_1.CategoryEnum.SPECIALIST_DISABILITY_ACCOMMODATION_SDA,
|
|
273
|
-
enums_1.CategoryEnum.MEDIUM_TERM_ACCOMMODATION,
|
|
274
|
-
enums_1.CategoryEnum.RESPITE_SHORT_TERM_ACCOMMODATION,
|
|
275
|
-
enums_1.CategoryEnum.SUPPORTED_INDEPENDENT_LIVING_SIL,
|
|
276
|
-
],
|
|
277
|
-
"Social, Health and Wellbeing": [
|
|
278
|
-
enums_1.CategoryEnum.SOCIAL_PROGRAMS_AND_ACTIVITIES,
|
|
279
|
-
enums_1.CategoryEnum.PERSONAL_TRAINING,
|
|
280
|
-
enums_1.CategoryEnum.FAMILY_AND_PEER_SUPPORT_GROUPS,
|
|
281
|
-
],
|
|
282
|
-
Children: [enums_1.CategoryEnum.EARLY_INTERVENTION_AND_CHILDREN],
|
|
283
|
-
Employment: [enums_1.CategoryEnum.FINDING_AND_KEEPING_A_JOB, enums_1.CategoryEnum.SLES],
|
|
284
|
-
Equipment: [enums_1.CategoryEnum.DISABILITY_AIDS],
|
|
285
|
-
};
|
|
286
6
|
exports.statesOptions = (0, utils_1.enumToOptions)(enums_1.StatesEnum);
|
|
287
7
|
exports.languageOptions = (0, utils_1.enumToOptions)(enums_1.LanguageEnum);
|
|
288
8
|
exports.deliveryOptions = (0, utils_1.enumToOptions)(enums_1.DeliveryEnum);
|
|
@@ -317,7 +37,7 @@ exports.StateShortToFull = {
|
|
|
317
37
|
ACT: "Australian Capital Territory (ACT)",
|
|
318
38
|
NT: "Northern Territory (NT)",
|
|
319
39
|
};
|
|
320
|
-
exports.
|
|
40
|
+
exports.ServiceLabels = {
|
|
321
41
|
[enums_1.SupportWorkerService.ShoweringToiletingDressing]: "Showering, toileting, and dressing assistance",
|
|
322
42
|
[enums_1.SupportWorkerService.ContinenceAidAssistance]: "Assistance with continence aids",
|
|
323
43
|
[enums_1.SupportWorkerService.PressureCare]: "Pressure care & repositioning",
|
|
@@ -342,29 +62,30 @@ exports.SupportWorkerServiceLabels = {
|
|
|
342
62
|
// [SupportWorkerService.TravelTraining]: "Travel training", // STOPPED
|
|
343
63
|
[enums_1.SupportWorkerService.StandardVehicle]: "Transport in a standard vehicle",
|
|
344
64
|
[enums_1.SupportWorkerService.WheelchairAccessibleVehicle]: "Transport in a wheelchair-accessible vehicle",
|
|
65
|
+
[enums_1.SupportWorkerService.SupportedIndependentLivingSIL]: "Supported Independent Living (SIL)",
|
|
345
66
|
};
|
|
346
67
|
exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
347
68
|
{
|
|
348
69
|
label: "Personal Care & Daily Living",
|
|
349
70
|
options: [
|
|
350
71
|
{
|
|
351
|
-
label: exports.
|
|
72
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.ShoweringToiletingDressing],
|
|
352
73
|
value: enums_1.SupportWorkerService.ShoweringToiletingDressing,
|
|
353
74
|
},
|
|
354
75
|
{
|
|
355
|
-
label: exports.
|
|
76
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.ContinenceAidAssistance],
|
|
356
77
|
value: enums_1.SupportWorkerService.ContinenceAidAssistance,
|
|
357
78
|
},
|
|
358
79
|
{
|
|
359
|
-
label: exports.
|
|
80
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.PressureCare],
|
|
360
81
|
value: enums_1.SupportWorkerService.PressureCare,
|
|
361
82
|
},
|
|
362
83
|
{
|
|
363
|
-
label: exports.
|
|
84
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.HoistLifting],
|
|
364
85
|
value: enums_1.SupportWorkerService.HoistLifting,
|
|
365
86
|
},
|
|
366
87
|
{
|
|
367
|
-
label: exports.
|
|
88
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.OvernightCare],
|
|
368
89
|
value: enums_1.SupportWorkerService.OvernightCare,
|
|
369
90
|
},
|
|
370
91
|
],
|
|
@@ -373,7 +94,7 @@ exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
|
373
94
|
label: "Community & Social Participation",
|
|
374
95
|
options: [
|
|
375
96
|
{
|
|
376
|
-
label: exports.
|
|
97
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.CommunityAccess],
|
|
377
98
|
value: enums_1.SupportWorkerService.CommunityAccess,
|
|
378
99
|
},
|
|
379
100
|
],
|
|
@@ -382,11 +103,11 @@ exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
|
382
103
|
label: "Eating & Mealtime Assistance",
|
|
383
104
|
options: [
|
|
384
105
|
{
|
|
385
|
-
label: exports.
|
|
106
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.GeneralEatingSupport],
|
|
386
107
|
value: enums_1.SupportWorkerService.GeneralEatingSupport,
|
|
387
108
|
},
|
|
388
109
|
{
|
|
389
|
-
label: exports.
|
|
110
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.PegFeeding],
|
|
390
111
|
value: enums_1.SupportWorkerService.PegFeeding,
|
|
391
112
|
},
|
|
392
113
|
],
|
|
@@ -395,15 +116,15 @@ exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
|
395
116
|
label: "Medical & Health-Related Assistance",
|
|
396
117
|
options: [
|
|
397
118
|
{
|
|
398
|
-
label: exports.
|
|
119
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.MedicationAssistance],
|
|
399
120
|
value: enums_1.SupportWorkerService.MedicationAssistance,
|
|
400
121
|
},
|
|
401
122
|
{
|
|
402
|
-
label: exports.
|
|
123
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.StomaCare],
|
|
403
124
|
value: enums_1.SupportWorkerService.StomaCare,
|
|
404
125
|
},
|
|
405
126
|
{
|
|
406
|
-
label: exports.
|
|
127
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.BasicDressingChanges],
|
|
407
128
|
value: enums_1.SupportWorkerService.BasicDressingChanges,
|
|
408
129
|
},
|
|
409
130
|
],
|
|
@@ -412,15 +133,15 @@ exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
|
412
133
|
label: "Household & Domestic Support",
|
|
413
134
|
options: [
|
|
414
135
|
{
|
|
415
|
-
label: exports.
|
|
136
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.CookingMealPrep],
|
|
416
137
|
value: enums_1.SupportWorkerService.CookingMealPrep,
|
|
417
138
|
},
|
|
418
139
|
{
|
|
419
|
-
label: exports.
|
|
140
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.HouseholdCleaning],
|
|
420
141
|
value: enums_1.SupportWorkerService.HouseholdCleaning,
|
|
421
142
|
},
|
|
422
143
|
{
|
|
423
|
-
label: exports.
|
|
144
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.LightGardening],
|
|
424
145
|
value: enums_1.SupportWorkerService.LightGardening,
|
|
425
146
|
},
|
|
426
147
|
],
|
|
@@ -429,11 +150,11 @@ exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
|
429
150
|
label: "Personal Admin & Organization",
|
|
430
151
|
options: [
|
|
431
152
|
{
|
|
432
|
-
label: exports.
|
|
153
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.AppointmentManagement],
|
|
433
154
|
value: enums_1.SupportWorkerService.AppointmentManagement,
|
|
434
155
|
},
|
|
435
156
|
{
|
|
436
|
-
label: exports.
|
|
157
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.PaperworkAdminHelp],
|
|
437
158
|
value: enums_1.SupportWorkerService.PaperworkAdminHelp,
|
|
438
159
|
},
|
|
439
160
|
],
|
|
@@ -442,18 +163,31 @@ exports.SUPPORT_WORKER_SERVICES_FILTERS = [
|
|
|
442
163
|
label: "Transportation",
|
|
443
164
|
options: [
|
|
444
165
|
{
|
|
445
|
-
label: exports.
|
|
166
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.StandardVehicle],
|
|
446
167
|
value: enums_1.SupportWorkerService.StandardVehicle,
|
|
447
168
|
},
|
|
448
169
|
{
|
|
449
|
-
label: exports.
|
|
170
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.WheelchairAccessibleVehicle],
|
|
450
171
|
value: enums_1.SupportWorkerService.WheelchairAccessibleVehicle,
|
|
451
172
|
},
|
|
452
173
|
],
|
|
453
174
|
},
|
|
454
175
|
];
|
|
455
|
-
//
|
|
456
|
-
exports.
|
|
176
|
+
// Provider services - includes all support worker services + provider-specific services
|
|
177
|
+
exports.PROVIDER_SERVICES_FILTERS = [
|
|
178
|
+
...exports.SUPPORT_WORKER_SERVICES_FILTERS,
|
|
179
|
+
{
|
|
180
|
+
label: "Provider Specific",
|
|
181
|
+
options: [
|
|
182
|
+
{
|
|
183
|
+
label: exports.ServiceLabels[enums_1.SupportWorkerService.SupportedIndependentLivingSIL],
|
|
184
|
+
value: enums_1.SupportWorkerService.SupportedIndependentLivingSIL,
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
},
|
|
188
|
+
];
|
|
189
|
+
// Service Tooltips (used by both support workers and providers)
|
|
190
|
+
exports.serviceTooltip = {
|
|
457
191
|
[enums_1.SupportWorkerService.ShoweringToiletingDressing]: "Assistance with personal hygiene tasks, including showering, toileting, and dressing",
|
|
458
192
|
[enums_1.SupportWorkerService.ContinenceAidAssistance]: "e.g., changing pads, incontinence management",
|
|
459
193
|
[enums_1.SupportWorkerService.PressureCare]: "For bed-bound clients to prevent pressure sores",
|
|
@@ -472,7 +206,11 @@ exports.supportWorkerServiceTooltip = {
|
|
|
472
206
|
[enums_1.SupportWorkerService.CommunityAccess]: "Accompanying clients to events, social groups, recreational activities, or appointments",
|
|
473
207
|
[enums_1.SupportWorkerService.StandardVehicle]: "Driving clients to appointments, social events, or community activities",
|
|
474
208
|
[enums_1.SupportWorkerService.WheelchairAccessibleVehicle]: "For participants requiring a vehicle with a ramp or hoist",
|
|
209
|
+
[enums_1.SupportWorkerService.SupportedIndependentLivingSIL]: "24/7 support for people with disability to live independently in their own home",
|
|
475
210
|
};
|
|
211
|
+
// Legacy exports for backward compatibility (deprecated - use new names instead)
|
|
212
|
+
exports.SupportWorkerServiceLabels = exports.ServiceLabels;
|
|
213
|
+
exports.supportWorkerServiceTooltip = exports.serviceTooltip;
|
|
476
214
|
// common labels
|
|
477
215
|
exports.commonLabels = {
|
|
478
216
|
GenderOfAttendanceEnum: enums_1.GenderOfAttendanceEnum,
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -1,49 +1,3 @@
|
|
|
1
|
-
export declare enum CategoryEnum {
|
|
2
|
-
SUPPORT_WORKER = "Support Worker",
|
|
3
|
-
ACCESSING_THE_COMMUNITY = "Accessing the Community",
|
|
4
|
-
NURSE = "Nurse",
|
|
5
|
-
MENTOR = "Mentor",
|
|
6
|
-
SOCIAL_WORKER = "Social Worker",
|
|
7
|
-
ART_THERAPY = "Art Therapy",
|
|
8
|
-
COUNSELLING = "Counselling",
|
|
9
|
-
DEVELOPMENTAL_EDUCATOR = "Developmental Educator",
|
|
10
|
-
DIETICIAN = "Dietician",
|
|
11
|
-
KEY_WORKER = "Key Worker",
|
|
12
|
-
MUSIC_THERAPY = "Music Therapy",
|
|
13
|
-
EXERCISE_PHYSIOLOGY = "Exercise Physiology",
|
|
14
|
-
OCCUPATIONAL_THERAPY = "Occupational Therapy",
|
|
15
|
-
PHYSIOTHERAPY = "Physiotherapy",
|
|
16
|
-
PODIATRY = "Podiatry",
|
|
17
|
-
PSYCHOLOGY = "Psychology",
|
|
18
|
-
PSYCHOTHERAPY = "Psychotherapy",
|
|
19
|
-
SPEECH_THERAPY = "Speech Therapy",
|
|
20
|
-
THERAPY_ASSISTANT = "Therapy Assistant",
|
|
21
|
-
OTHER_SAND_ANIMAL_PLAY = "Other (Sand, Animal, Play)",
|
|
22
|
-
PLAN_MANAGER = "Plan Manager",
|
|
23
|
-
SUPPORT_COORDINATOR = "Support Coordinator",
|
|
24
|
-
SPECIALIST_SUPPORT_COORDINATOR = "Specialist Support Coordinator",
|
|
25
|
-
RECOVERY_COACH_PRS = "Recovery Coach (PRS)",
|
|
26
|
-
SUPPORT_IN_EMPLOYMENT = "Support in Employment",
|
|
27
|
-
LIFE_SKILLS = "Life Skills",
|
|
28
|
-
MENTORING = "Mentoring",
|
|
29
|
-
TRAVEL_TRAINING = "Travel Training",
|
|
30
|
-
CLEANING = "Cleaning",
|
|
31
|
-
GARDENING = "Gardening",
|
|
32
|
-
YARD_MAINTENANCE = "Yard Maintenance",
|
|
33
|
-
HANDYPERSON_AND_REPAIRS = "Handyperson and Repairs",
|
|
34
|
-
ILO = "ILO",
|
|
35
|
-
SPECIALIST_DISABILITY_ACCOMMODATION_SDA = "Specialist Disability Accommodation (SDA)",
|
|
36
|
-
MEDIUM_TERM_ACCOMMODATION = "Medium Term Accommodation",
|
|
37
|
-
RESPITE_SHORT_TERM_ACCOMMODATION = "Respite/Short Term Accommodation",
|
|
38
|
-
SUPPORTED_INDEPENDENT_LIVING_SIL = "Supported Independent Living (SIL)",
|
|
39
|
-
SOCIAL_PROGRAMS_AND_ACTIVITIES = "Social Programs and Activities",
|
|
40
|
-
PERSONAL_TRAINING = "Personal Training",
|
|
41
|
-
FAMILY_AND_PEER_SUPPORT_GROUPS = "Family and Peer Support Groups",
|
|
42
|
-
EARLY_INTERVENTION_AND_CHILDREN = "Early Intervention and Children",
|
|
43
|
-
FINDING_AND_KEEPING_A_JOB = "Finding and Keeping a Job",
|
|
44
|
-
SLES = "SLES",
|
|
45
|
-
DISABILITY_AIDS = "Disability Aids"
|
|
46
|
-
}
|
|
47
1
|
export declare enum StatesEnum {
|
|
48
2
|
NEW_SOUTH_WALES_NSW = "New South Wales (NSW)",
|
|
49
3
|
QUEENSLAND_QLD = "Queensland (QLD)",
|
|
@@ -340,7 +294,8 @@ export declare enum SupportWorkerService {
|
|
|
340
294
|
PaperworkAdminHelp = "paperworkAdminHelp",
|
|
341
295
|
CommunityAccess = "communityAccess",
|
|
342
296
|
StandardVehicle = "standardVehicle",
|
|
343
|
-
WheelchairAccessibleVehicle = "wheelchairAccessibleVehicle"
|
|
297
|
+
WheelchairAccessibleVehicle = "wheelchairAccessibleVehicle",
|
|
298
|
+
SupportedIndependentLivingSIL = "supportedIndependentLivingSIL"
|
|
344
299
|
}
|
|
345
300
|
export declare enum JOB_WORKER_TYPE {
|
|
346
301
|
SUPPORT_WORKER = "supportWorker",
|
package/dist/enums/index.js
CHANGED
|
@@ -1,53 +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 =
|
|
4
|
-
var CategoryEnum;
|
|
5
|
-
(function (CategoryEnum) {
|
|
6
|
-
CategoryEnum["SUPPORT_WORKER"] = "Support Worker";
|
|
7
|
-
CategoryEnum["ACCESSING_THE_COMMUNITY"] = "Accessing the Community";
|
|
8
|
-
CategoryEnum["NURSE"] = "Nurse";
|
|
9
|
-
CategoryEnum["MENTOR"] = "Mentor";
|
|
10
|
-
CategoryEnum["SOCIAL_WORKER"] = "Social Worker";
|
|
11
|
-
CategoryEnum["ART_THERAPY"] = "Art Therapy";
|
|
12
|
-
CategoryEnum["COUNSELLING"] = "Counselling";
|
|
13
|
-
CategoryEnum["DEVELOPMENTAL_EDUCATOR"] = "Developmental Educator";
|
|
14
|
-
CategoryEnum["DIETICIAN"] = "Dietician";
|
|
15
|
-
CategoryEnum["KEY_WORKER"] = "Key Worker";
|
|
16
|
-
CategoryEnum["MUSIC_THERAPY"] = "Music Therapy";
|
|
17
|
-
CategoryEnum["EXERCISE_PHYSIOLOGY"] = "Exercise Physiology";
|
|
18
|
-
CategoryEnum["OCCUPATIONAL_THERAPY"] = "Occupational Therapy";
|
|
19
|
-
CategoryEnum["PHYSIOTHERAPY"] = "Physiotherapy";
|
|
20
|
-
CategoryEnum["PODIATRY"] = "Podiatry";
|
|
21
|
-
CategoryEnum["PSYCHOLOGY"] = "Psychology";
|
|
22
|
-
CategoryEnum["PSYCHOTHERAPY"] = "Psychotherapy";
|
|
23
|
-
CategoryEnum["SPEECH_THERAPY"] = "Speech Therapy";
|
|
24
|
-
CategoryEnum["THERAPY_ASSISTANT"] = "Therapy Assistant";
|
|
25
|
-
CategoryEnum["OTHER_SAND_ANIMAL_PLAY"] = "Other (Sand, Animal, Play)";
|
|
26
|
-
CategoryEnum["PLAN_MANAGER"] = "Plan Manager";
|
|
27
|
-
CategoryEnum["SUPPORT_COORDINATOR"] = "Support Coordinator";
|
|
28
|
-
CategoryEnum["SPECIALIST_SUPPORT_COORDINATOR"] = "Specialist Support Coordinator";
|
|
29
|
-
CategoryEnum["RECOVERY_COACH_PRS"] = "Recovery Coach (PRS)";
|
|
30
|
-
CategoryEnum["SUPPORT_IN_EMPLOYMENT"] = "Support in Employment";
|
|
31
|
-
CategoryEnum["LIFE_SKILLS"] = "Life Skills";
|
|
32
|
-
CategoryEnum["MENTORING"] = "Mentoring";
|
|
33
|
-
CategoryEnum["TRAVEL_TRAINING"] = "Travel Training";
|
|
34
|
-
CategoryEnum["CLEANING"] = "Cleaning";
|
|
35
|
-
CategoryEnum["GARDENING"] = "Gardening";
|
|
36
|
-
CategoryEnum["YARD_MAINTENANCE"] = "Yard Maintenance";
|
|
37
|
-
CategoryEnum["HANDYPERSON_AND_REPAIRS"] = "Handyperson and Repairs";
|
|
38
|
-
CategoryEnum["ILO"] = "ILO";
|
|
39
|
-
CategoryEnum["SPECIALIST_DISABILITY_ACCOMMODATION_SDA"] = "Specialist Disability Accommodation (SDA)";
|
|
40
|
-
CategoryEnum["MEDIUM_TERM_ACCOMMODATION"] = "Medium Term Accommodation";
|
|
41
|
-
CategoryEnum["RESPITE_SHORT_TERM_ACCOMMODATION"] = "Respite/Short Term Accommodation";
|
|
42
|
-
CategoryEnum["SUPPORTED_INDEPENDENT_LIVING_SIL"] = "Supported Independent Living (SIL)";
|
|
43
|
-
CategoryEnum["SOCIAL_PROGRAMS_AND_ACTIVITIES"] = "Social Programs and Activities";
|
|
44
|
-
CategoryEnum["PERSONAL_TRAINING"] = "Personal Training";
|
|
45
|
-
CategoryEnum["FAMILY_AND_PEER_SUPPORT_GROUPS"] = "Family and Peer Support Groups";
|
|
46
|
-
CategoryEnum["EARLY_INTERVENTION_AND_CHILDREN"] = "Early Intervention and Children";
|
|
47
|
-
CategoryEnum["FINDING_AND_KEEPING_A_JOB"] = "Finding and Keeping a Job";
|
|
48
|
-
CategoryEnum["SLES"] = "SLES";
|
|
49
|
-
CategoryEnum["DISABILITY_AIDS"] = "Disability Aids";
|
|
50
|
-
})(CategoryEnum || (exports.CategoryEnum = CategoryEnum = {}));
|
|
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;
|
|
51
4
|
var StatesEnum;
|
|
52
5
|
(function (StatesEnum) {
|
|
53
6
|
StatesEnum["NEW_SOUTH_WALES_NSW"] = "New South Wales (NSW)";
|
|
@@ -392,6 +345,8 @@ var SupportWorkerService;
|
|
|
392
345
|
// TravelTraining = "travelTraining", // STOPPED
|
|
393
346
|
SupportWorkerService["StandardVehicle"] = "standardVehicle";
|
|
394
347
|
SupportWorkerService["WheelchairAccessibleVehicle"] = "wheelchairAccessibleVehicle";
|
|
348
|
+
// Provider-specific service
|
|
349
|
+
SupportWorkerService["SupportedIndependentLivingSIL"] = "supportedIndependentLivingSIL";
|
|
395
350
|
})(SupportWorkerService || (exports.SupportWorkerService = SupportWorkerService = {}));
|
|
396
351
|
var JOB_WORKER_TYPE;
|
|
397
352
|
(function (JOB_WORKER_TYPE) {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { EducationAndTrainingInputValidation, EducationAndTrainingSchema, } from
|
|
|
3
3
|
export { WorkHistoryInputValidation, WorkHistorySchema, } from "./schemas/workHistorySchema";
|
|
4
4
|
export { AvailabilitiesSchemaZod, AvailabilityZodInput, } from "./schemas/availabilitySchemaValidation";
|
|
5
5
|
export { HourlyRateInputZod, HourlyRateInputZodType, } from "./schemas/hourlyRateSchemaValidation";
|
|
6
|
-
export {
|
|
6
|
+
export { SupportWorkerServicesSchema, validateSupportWorkerServices, } from "./schemas/businessServicesValidation";
|
|
7
7
|
export { detectVideoProvider, extractYouTubeVideoId, isValidCommunityVideoUrl, isValidYouTubeOrVimeoUrl, normalizeYouTubeUrl, validateVideoLink, VideoProvider, VideoValidationResult, } from "./utils/videoValidation";
|
|
8
8
|
export { ApplicationFormValues, applicationSchema, isValidVideoUrl, } from "./schemas/applicationSchema";
|
|
9
9
|
export { defineAbilitiesFor, type Actions, type AppAbility, type Subjects, type UserForAbility, } from "./abilities";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defineAbilitiesFor = exports.isValidVideoUrl = exports.applicationSchema = exports.validateVideoLink = exports.normalizeYouTubeUrl = exports.isValidYouTubeOrVimeoUrl = exports.isValidCommunityVideoUrl = exports.extractYouTubeVideoId = exports.detectVideoProvider = exports.
|
|
3
|
+
exports.defineAbilitiesFor = exports.isValidVideoUrl = exports.applicationSchema = exports.validateVideoLink = exports.normalizeYouTubeUrl = exports.isValidYouTubeOrVimeoUrl = exports.isValidCommunityVideoUrl = exports.extractYouTubeVideoId = exports.detectVideoProvider = exports.validateSupportWorkerServices = exports.SupportWorkerServicesSchema = exports.HourlyRateInputZod = exports.AvailabilitiesSchemaZod = exports.WorkHistorySchema = exports.EducationAndTrainingSchema = exports.UserRegistrationSchema = void 0;
|
|
4
4
|
var userValiationSchema_1 = require("./schemas/userValiationSchema");
|
|
5
5
|
Object.defineProperty(exports, "UserRegistrationSchema", { enumerable: true, get: function () { return userValiationSchema_1.UserRegistrationSchema; } });
|
|
6
6
|
var educationSchemas_1 = require("./schemas/educationSchemas");
|
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "AvailabilitiesSchemaZod", { enumerable: true, ge
|
|
|
12
12
|
var hourlyRateSchemaValidation_1 = require("./schemas/hourlyRateSchemaValidation");
|
|
13
13
|
Object.defineProperty(exports, "HourlyRateInputZod", { enumerable: true, get: function () { return hourlyRateSchemaValidation_1.HourlyRateInputZod; } });
|
|
14
14
|
var businessServicesValidation_1 = require("./schemas/businessServicesValidation");
|
|
15
|
-
Object.defineProperty(exports, "
|
|
16
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "SupportWorkerServicesSchema", { enumerable: true, get: function () { return businessServicesValidation_1.SupportWorkerServicesSchema; } });
|
|
16
|
+
Object.defineProperty(exports, "validateSupportWorkerServices", { enumerable: true, get: function () { return businessServicesValidation_1.validateSupportWorkerServices; } });
|
|
17
17
|
var videoValidation_1 = require("./utils/videoValidation");
|
|
18
18
|
Object.defineProperty(exports, "detectVideoProvider", { enumerable: true, get: function () { return videoValidation_1.detectVideoProvider; } });
|
|
19
19
|
Object.defineProperty(exports, "extractYouTubeVideoId", { enumerable: true, get: function () { return videoValidation_1.extractYouTubeVideoId; } });
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import {
|
|
3
|
-
export declare const ServicesSchema: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof CategoryEnum>, "many">>, CategoryEnum[] | undefined, CategoryEnum[] | undefined>;
|
|
4
|
-
export declare const validateServices: (services?: string[]) => boolean;
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { SupportWorkerService } from "../enums";
|
|
5
3
|
export declare const SupportWorkerServicesSchema: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof SupportWorkerService>, "many">>, SupportWorkerService[] | undefined, SupportWorkerService[] | undefined>;
|
|
6
4
|
export declare const validateSupportWorkerServices: (services?: string[]) => boolean;
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateSupportWorkerServices = exports.SupportWorkerServicesSchema =
|
|
3
|
+
exports.validateSupportWorkerServices = exports.SupportWorkerServicesSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const enums_1 = require("../enums");
|
|
6
|
-
exports.ServicesSchema = zod_1.z
|
|
7
|
-
.array(zod_1.z.nativeEnum(enums_1.CategoryEnum))
|
|
8
|
-
.optional()
|
|
9
|
-
.refine((services) => !services || services.every((service) => Object.values(enums_1.CategoryEnum).includes(service)), { message: 'Invalid services provided.' });
|
|
10
|
-
const validateServices = (services) => {
|
|
11
|
-
const result = exports.ServicesSchema.safeParse(services);
|
|
12
|
-
return result.success;
|
|
13
|
-
};
|
|
14
|
-
exports.validateServices = validateServices;
|
|
15
6
|
exports.SupportWorkerServicesSchema = zod_1.z
|
|
16
7
|
.array(zod_1.z.nativeEnum(enums_1.SupportWorkerService))
|
|
17
8
|
.optional()
|
|
18
|
-
.refine((services) => !services ||
|
|
9
|
+
.refine((services) => !services ||
|
|
10
|
+
services.every((service) => Object.values(enums_1.SupportWorkerService).includes(service)), { message: "Invalid services provided." });
|
|
19
11
|
const validateSupportWorkerServices = (services) => {
|
|
20
12
|
const result = exports.SupportWorkerServicesSchema.safeParse(services);
|
|
21
13
|
return result.success;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export { EducationAndTrainingInputValidation, EducationAndTrainingSchema } from
|
|
|
3
3
|
export { WorkHistoryInputValidation, WorkHistorySchema } from "./workHistorySchema";
|
|
4
4
|
export { AvailabilitiesSchemaZod, AvailabilityZodInput } from "./availabilitySchemaValidation";
|
|
5
5
|
export { HourlyRateInputZod, HourlyRateInputZodType } from "./hourlyRateSchemaValidation";
|
|
6
|
-
export {
|
|
6
|
+
export { SupportWorkerServicesSchema, validateSupportWorkerServices } from "./businessServicesValidation";
|
|
7
7
|
export { ResetPasswordSchema, generalOTPSchema, pinSchema } from "./otp";
|
|
8
8
|
export { ApplicationFormValues, applicationSchema, isValidVideoUrl } from "./applicationSchema";
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isValidVideoUrl = exports.applicationSchema = exports.pinSchema = exports.generalOTPSchema = exports.ResetPasswordSchema = exports.validateSupportWorkerServices = exports.
|
|
3
|
+
exports.isValidVideoUrl = exports.applicationSchema = exports.pinSchema = exports.generalOTPSchema = exports.ResetPasswordSchema = exports.validateSupportWorkerServices = exports.SupportWorkerServicesSchema = exports.HourlyRateInputZod = exports.AvailabilitiesSchemaZod = exports.WorkHistorySchema = exports.EducationAndTrainingSchema = exports.UserRegistrationSchema = void 0;
|
|
4
4
|
var userValiationSchema_1 = require("./userValiationSchema");
|
|
5
5
|
Object.defineProperty(exports, "UserRegistrationSchema", { enumerable: true, get: function () { return userValiationSchema_1.UserRegistrationSchema; } });
|
|
6
6
|
var educationSchemas_1 = require("./educationSchemas");
|
|
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "AvailabilitiesSchemaZod", { enumerable: true, ge
|
|
|
12
12
|
var hourlyRateSchemaValidation_1 = require("./hourlyRateSchemaValidation");
|
|
13
13
|
Object.defineProperty(exports, "HourlyRateInputZod", { enumerable: true, get: function () { return hourlyRateSchemaValidation_1.HourlyRateInputZod; } });
|
|
14
14
|
var businessServicesValidation_1 = require("./businessServicesValidation");
|
|
15
|
-
Object.defineProperty(exports, "ServicesSchema", { enumerable: true, get: function () { return businessServicesValidation_1.ServicesSchema; } });
|
|
16
15
|
Object.defineProperty(exports, "SupportWorkerServicesSchema", { enumerable: true, get: function () { return businessServicesValidation_1.SupportWorkerServicesSchema; } });
|
|
17
|
-
Object.defineProperty(exports, "validateServices", { enumerable: true, get: function () { return businessServicesValidation_1.validateServices; } });
|
|
18
16
|
Object.defineProperty(exports, "validateSupportWorkerServices", { enumerable: true, get: function () { return businessServicesValidation_1.validateSupportWorkerServices; } });
|
|
19
17
|
var otp_1 = require("./otp");
|
|
20
18
|
Object.defineProperty(exports, "ResetPasswordSchema", { enumerable: true, get: function () { return otp_1.ResetPasswordSchema; } });
|
package/dist/utils/labels.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const getServiceLabel: (service: string) => string;
|
|
1
2
|
export declare const getSupportWorkerServiceLabel: (service: string) => string;
|
|
2
3
|
export declare const getGenderLabel: (gender: string) => string;
|
|
3
4
|
export declare const getPreferencesLabel: (preference: string) => string;
|
package/dist/utils/labels.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAltCommunicationLabel = exports.getPreferencesLabel = exports.getGenderLabel = exports.getSupportWorkerServiceLabel = void 0;
|
|
3
|
+
exports.getAltCommunicationLabel = exports.getPreferencesLabel = exports.getGenderLabel = exports.getSupportWorkerServiceLabel = exports.getServiceLabel = void 0;
|
|
4
4
|
const constants_1 = require("../constants");
|
|
5
5
|
const enums_1 = require("../enums");
|
|
6
|
-
const
|
|
7
|
-
return constants_1.
|
|
6
|
+
const getServiceLabel = (service) => {
|
|
7
|
+
return constants_1.ServiceLabels[service] || service;
|
|
8
8
|
};
|
|
9
|
-
exports.
|
|
9
|
+
exports.getServiceLabel = getServiceLabel;
|
|
10
|
+
// Legacy export for backward compatibility (deprecated - use getServiceLabel instead)
|
|
11
|
+
exports.getSupportWorkerServiceLabel = exports.getServiceLabel;
|
|
10
12
|
const getGenderLabel = (gender) => {
|
|
11
13
|
return (enums_1.GenderOfAttendanceEnum[gender] ||
|
|
12
14
|
gender);
|
|
@@ -3,7 +3,7 @@ import { UserRole } from "../enums";
|
|
|
3
3
|
* Fields that are restricted for PROVIDER role
|
|
4
4
|
* These fields are only applicable to SUPPORT_WORKER
|
|
5
5
|
*/
|
|
6
|
-
export declare const PROVIDER_RESTRICTED_FIELDS: readonly ["yearsOfExperience", "hourlyRate", "genderOfAttendants", "languages", "availabilities"];
|
|
6
|
+
export declare const PROVIDER_RESTRICTED_FIELDS: readonly ["yearsOfExperience", "hourlyRate", "genderOfAttendants", "languages", "availabilities", "altCommunication"];
|
|
7
7
|
/**
|
|
8
8
|
* Onboarding steps that are restricted for PROVIDER role
|
|
9
9
|
* These steps should be skipped in the onboarding flow for providers
|