@careflair/common 1.0.0
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 +192 -0
- package/dist/constants/index.js +610 -0
- package/dist/constants/limits.d.ts +32 -0
- package/dist/constants/limits.js +41 -0
- package/dist/enums/index.d.ts +412 -0
- package/dist/enums/index.js +481 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +21 -0
- package/dist/interfaces/common-fields.input.d.ts +15 -0
- package/dist/interfaces/common-fields.input.js +2 -0
- package/dist/interfaces/common-fields.output.d.ts +26 -0
- package/dist/interfaces/common-fields.output.js +2 -0
- package/dist/schemas/availabilitySchemaValidation.d.ts +56 -0
- package/dist/schemas/availabilitySchemaValidation.js +79 -0
- package/dist/schemas/businessServicesValidation.d.ts +6 -0
- package/dist/schemas/businessServicesValidation.js +23 -0
- package/dist/schemas/educationSchemas.d.ts +38 -0
- package/dist/schemas/educationSchemas.js +29 -0
- package/dist/schemas/hourlyRateSchemaValidation.d.ts +36 -0
- package/dist/schemas/hourlyRateSchemaValidation.js +25 -0
- package/dist/schemas/index.d.ts +6 -0
- package/dist/schemas/index.js +18 -0
- package/dist/schemas/userValiationSchema.d.ts +30 -0
- package/dist/schemas/userValiationSchema.js +38 -0
- package/dist/schemas/workHistorySchema.d.ts +33 -0
- package/dist/schemas/workHistorySchema.js +28 -0
- package/dist/utils/utils.d.ts +6 -0
- package/dist/utils/utils.js +9 -0
- package/dist/utils/videoValidation.d.ts +31 -0
- package/dist/utils/videoValidation.js +119 -0
- package/package.json +25 -0
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
"use strict";
|
|
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;
|
|
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 = {}));
|
|
51
|
+
var StatesEnum;
|
|
52
|
+
(function (StatesEnum) {
|
|
53
|
+
StatesEnum["NEW_SOUTH_WALES_NSW"] = "New South Wales (NSW)";
|
|
54
|
+
StatesEnum["QUEENSLAND_QLD"] = "Queensland (QLD)";
|
|
55
|
+
StatesEnum["SOUTH_AUSTRALIA_SA"] = "South Australia (SA)";
|
|
56
|
+
StatesEnum["TASMANIA_TAS"] = "Tasmania (TAS)";
|
|
57
|
+
StatesEnum["VICTORIA_VIC"] = "Victoria (VIC)";
|
|
58
|
+
StatesEnum["WESTERN_AUSTRALIA_WA"] = "Western Australia (WA)";
|
|
59
|
+
StatesEnum["AUSTRALIAN_CAPITAL_TERRITORY_ACT"] = "Australian Capital Territory (ACT)";
|
|
60
|
+
StatesEnum["NORTHERN_TERRITORY_NT"] = "Northern Territory (NT)";
|
|
61
|
+
})(StatesEnum || (exports.StatesEnum = StatesEnum = {}));
|
|
62
|
+
var LanguageEnum;
|
|
63
|
+
(function (LanguageEnum) {
|
|
64
|
+
LanguageEnum["ENGLISH"] = "English";
|
|
65
|
+
LanguageEnum["MANDARIN_CHINESE"] = "Mandarin Chinese";
|
|
66
|
+
LanguageEnum["HINDI"] = "Hindi";
|
|
67
|
+
LanguageEnum["SPANISH"] = "Spanish";
|
|
68
|
+
LanguageEnum["FRENCH"] = "French";
|
|
69
|
+
LanguageEnum["ARABIC"] = "Arabic";
|
|
70
|
+
LanguageEnum["BENGALI"] = "Bengali";
|
|
71
|
+
LanguageEnum["RUSSIAN"] = "Russian";
|
|
72
|
+
LanguageEnum["PORTUGUESE"] = "Portuguese";
|
|
73
|
+
LanguageEnum["URDU"] = "Urdu";
|
|
74
|
+
LanguageEnum["INDONESIAN"] = "Indonesian";
|
|
75
|
+
LanguageEnum["GERMAN"] = "German";
|
|
76
|
+
LanguageEnum["JAPANESE"] = "Japanese";
|
|
77
|
+
LanguageEnum["SWAHILI"] = "Swahili";
|
|
78
|
+
LanguageEnum["TURKISH"] = "Turkish";
|
|
79
|
+
LanguageEnum["TAMIL"] = "Tamil";
|
|
80
|
+
LanguageEnum["VIETNAMESE"] = "Vietnamese";
|
|
81
|
+
LanguageEnum["YORUBA"] = "Yoruba";
|
|
82
|
+
LanguageEnum["ITALIAN"] = "Italian";
|
|
83
|
+
LanguageEnum["TELUGU"] = "Telugu";
|
|
84
|
+
LanguageEnum["THAI"] = "Thai";
|
|
85
|
+
LanguageEnum["JAVANESE"] = "Javanese";
|
|
86
|
+
LanguageEnum["KOREAN"] = "Korean";
|
|
87
|
+
LanguageEnum["PERSIAN"] = "Persian";
|
|
88
|
+
LanguageEnum["MALAYALAM"] = "Malayalam";
|
|
89
|
+
LanguageEnum["HAUSA"] = "Hausa";
|
|
90
|
+
LanguageEnum["UKRAINIAN"] = "Ukrainian";
|
|
91
|
+
LanguageEnum["AMHARIC"] = "Amharic";
|
|
92
|
+
LanguageEnum["FARSI"] = "Farsi";
|
|
93
|
+
LanguageEnum["POLISH"] = "Polish";
|
|
94
|
+
LanguageEnum["MALAY"] = "Malay";
|
|
95
|
+
LanguageEnum["XHOSA"] = "Xhosa";
|
|
96
|
+
LanguageEnum["PASHTO"] = "Pashto";
|
|
97
|
+
LanguageEnum["KANNADA"] = "Kannada";
|
|
98
|
+
LanguageEnum["NEPALI"] = "Nepali";
|
|
99
|
+
})(LanguageEnum || (exports.LanguageEnum = LanguageEnum = {}));
|
|
100
|
+
var DeliveryEnum;
|
|
101
|
+
(function (DeliveryEnum) {
|
|
102
|
+
DeliveryEnum["IN_PERSON"] = "In Person";
|
|
103
|
+
DeliveryEnum["MOBILE"] = "Mobile";
|
|
104
|
+
DeliveryEnum["ONLINE_TELEHEALTH"] = "Online/Telehealth";
|
|
105
|
+
})(DeliveryEnum || (exports.DeliveryEnum = DeliveryEnum = {}));
|
|
106
|
+
var GenderOfAttendanceEnum;
|
|
107
|
+
(function (GenderOfAttendanceEnum) {
|
|
108
|
+
GenderOfAttendanceEnum["MALE"] = "Male";
|
|
109
|
+
GenderOfAttendanceEnum["FEMALE"] = "Female";
|
|
110
|
+
GenderOfAttendanceEnum["NON_BINARY"] = "Non-Binary";
|
|
111
|
+
})(GenderOfAttendanceEnum || (exports.GenderOfAttendanceEnum = GenderOfAttendanceEnum = {}));
|
|
112
|
+
var AgesSupportedEnum;
|
|
113
|
+
(function (AgesSupportedEnum) {
|
|
114
|
+
AgesSupportedEnum["EARLY_CHILDHOOD_0_7_YEARS"] = "Early Childhood (0-7 years)";
|
|
115
|
+
AgesSupportedEnum["CHILDREN_7_17_YEARS"] = "Children (7-17 years)";
|
|
116
|
+
AgesSupportedEnum["YOUNG_PEOPLE_18_21_YEARS"] = "Young People (18-21 years)";
|
|
117
|
+
AgesSupportedEnum["ADULTS_22_59_YEARS"] = "Adults (22-59 years)";
|
|
118
|
+
AgesSupportedEnum["MATURE_AGE_60_YEARS"] = "Mature Age (60 years)";
|
|
119
|
+
})(AgesSupportedEnum || (exports.AgesSupportedEnum = AgesSupportedEnum = {}));
|
|
120
|
+
var ComplexNeedsSupportedEnum;
|
|
121
|
+
(function (ComplexNeedsSupportedEnum) {
|
|
122
|
+
ComplexNeedsSupportedEnum["CARE_24HR"] = "24hr Care";
|
|
123
|
+
ComplexNeedsSupportedEnum["SUPPORT_2_1"] = "2:1 Support";
|
|
124
|
+
ComplexNeedsSupportedEnum["BEHAVIORS_OF_CONCERN"] = "Behaviors of concern";
|
|
125
|
+
ComplexNeedsSupportedEnum["CATHETER"] = "Catheter";
|
|
126
|
+
ComplexNeedsSupportedEnum["COLOSTOMY_BAG"] = "Colostomy bag";
|
|
127
|
+
ComplexNeedsSupportedEnum["DIABETES"] = "Diabetes";
|
|
128
|
+
ComplexNeedsSupportedEnum["MEDICAL_ADMINISTRATION"] = "Medical administration";
|
|
129
|
+
ComplexNeedsSupportedEnum["PEG_FEEDING"] = "PEG feeding";
|
|
130
|
+
ComplexNeedsSupportedEnum["REGISTERED_NURSE"] = "Registered nurse";
|
|
131
|
+
ComplexNeedsSupportedEnum["TRACHEA_CARE"] = "Trachea care";
|
|
132
|
+
ComplexNeedsSupportedEnum["WOUND_CARE"] = "Wound care";
|
|
133
|
+
})(ComplexNeedsSupportedEnum || (exports.ComplexNeedsSupportedEnum = ComplexNeedsSupportedEnum = {}));
|
|
134
|
+
var EducationTypeEnum;
|
|
135
|
+
(function (EducationTypeEnum) {
|
|
136
|
+
EducationTypeEnum["EDUCATION"] = "Education";
|
|
137
|
+
EducationTypeEnum["TRAINING"] = "Training";
|
|
138
|
+
})(EducationTypeEnum || (exports.EducationTypeEnum = EducationTypeEnum = {}));
|
|
139
|
+
var UserRole;
|
|
140
|
+
(function (UserRole) {
|
|
141
|
+
UserRole["BUSINESS"] = "business";
|
|
142
|
+
UserRole["PROVIDER"] = "provider";
|
|
143
|
+
UserRole["PARTICIPANT"] = "participant";
|
|
144
|
+
UserRole["SUPPORT_PERSON"] = "support_person";
|
|
145
|
+
UserRole["SUPPORT_WORKER"] = "support_worker";
|
|
146
|
+
})(UserRole || (exports.UserRole = UserRole = {}));
|
|
147
|
+
var OtpType;
|
|
148
|
+
(function (OtpType) {
|
|
149
|
+
OtpType["EMAIL_VERIFICATION"] = "email_verification";
|
|
150
|
+
OtpType["PASSWORD_RESET"] = "password_reset";
|
|
151
|
+
OtpType["EMAIL_CHANGE"] = "email_change";
|
|
152
|
+
OtpType["NDIS_VERIFICATION"] = "ndis_verification";
|
|
153
|
+
})(OtpType || (exports.OtpType = OtpType = {}));
|
|
154
|
+
var BusinessType;
|
|
155
|
+
(function (BusinessType) {
|
|
156
|
+
BusinessType["BUSINESS"] = "business";
|
|
157
|
+
BusinessType["PROVIDER"] = "provider";
|
|
158
|
+
})(BusinessType || (exports.BusinessType = BusinessType = {}));
|
|
159
|
+
var BusinessClassTypes;
|
|
160
|
+
(function (BusinessClassTypes) {
|
|
161
|
+
BusinessClassTypes["SOLE_TRADER"] = "Sole Trader";
|
|
162
|
+
BusinessClassTypes["ORGANIZATION"] = "Organization";
|
|
163
|
+
})(BusinessClassTypes || (exports.BusinessClassTypes = BusinessClassTypes = {}));
|
|
164
|
+
var ProfileAllStepsEnum;
|
|
165
|
+
(function (ProfileAllStepsEnum) {
|
|
166
|
+
ProfileAllStepsEnum["OVERVIEW"] = "Overview";
|
|
167
|
+
ProfileAllStepsEnum["INTRO_VIDEO"] = "IntroVideo";
|
|
168
|
+
ProfileAllStepsEnum["SERVICES"] = "Services";
|
|
169
|
+
ProfileAllStepsEnum["LOCATIONS"] = "Locations";
|
|
170
|
+
// LISTING_CARD = "ListingCard",
|
|
171
|
+
ProfileAllStepsEnum["HOURLY_RATE"] = "HourlyRate";
|
|
172
|
+
ProfileAllStepsEnum["AVAILABILITY"] = "Availability";
|
|
173
|
+
ProfileAllStepsEnum["PREFERENCES_AND_INTERESTS"] = "PreferencesAndInterests";
|
|
174
|
+
ProfileAllStepsEnum["EDUCATION_AND_TRAINING"] = "EducationAndTraining";
|
|
175
|
+
ProfileAllStepsEnum["WORK_HISTORY"] = "WorkHistory";
|
|
176
|
+
ProfileAllStepsEnum["CONTACT_DETAILS"] = "ContactDetails";
|
|
177
|
+
ProfileAllStepsEnum["GENDER"] = "Gender";
|
|
178
|
+
ProfileAllStepsEnum["EXPERIENCE"] = "Experience";
|
|
179
|
+
ProfileAllStepsEnum["ALTERNATIVE_COMMUNICATION"] = "AlternativeCommunication";
|
|
180
|
+
ProfileAllStepsEnum["SUPPORTED_AGES"] = "SupportedAges";
|
|
181
|
+
ProfileAllStepsEnum["LANGUAGES"] = "Languages";
|
|
182
|
+
})(ProfileAllStepsEnum || (exports.ProfileAllStepsEnum = ProfileAllStepsEnum = {}));
|
|
183
|
+
// export enum ProfileCurrentStage {
|
|
184
|
+
// MANDATORY = "Mandatory",
|
|
185
|
+
// OPTIONAL = "Optional",
|
|
186
|
+
// }
|
|
187
|
+
var DaysOfWeek;
|
|
188
|
+
(function (DaysOfWeek) {
|
|
189
|
+
DaysOfWeek["MONDAY"] = "Monday";
|
|
190
|
+
DaysOfWeek["TUESDAY"] = "Tuesday";
|
|
191
|
+
DaysOfWeek["WEDNESDAY"] = "Wednesday";
|
|
192
|
+
DaysOfWeek["THURSDAY"] = "Thursday";
|
|
193
|
+
DaysOfWeek["FRIDAY"] = "Friday";
|
|
194
|
+
DaysOfWeek["SATURDAY"] = "Saturday";
|
|
195
|
+
DaysOfWeek["SUNDAY"] = "Sunday";
|
|
196
|
+
})(DaysOfWeek || (exports.DaysOfWeek = DaysOfWeek = {}));
|
|
197
|
+
var ParticipantPreferenceEnum;
|
|
198
|
+
(function (ParticipantPreferenceEnum) {
|
|
199
|
+
ParticipantPreferenceEnum["NON_SMOKING"] = "Non-Smoking";
|
|
200
|
+
ParticipantPreferenceEnum["PET_FRIENDLY"] = "Pet-Friendly";
|
|
201
|
+
ParticipantPreferenceEnum["OWNS_VEHICLE"] = "Owns a Vehicle";
|
|
202
|
+
ParticipantPreferenceEnum["WORKS_WITH_BEHAVIORAL_CHALLENGES"] = "Works with Behavioral Challenges";
|
|
203
|
+
ParticipantPreferenceEnum["EXPERIENCED_WITH_WHEELCHAIR_USERS"] = "Experienced with Wheelchair Users";
|
|
204
|
+
ParticipantPreferenceEnum["AVAILABLE_FOR_OVERNIGHT_SHIFTS"] = "Available for overnight shifts";
|
|
205
|
+
ParticipantPreferenceEnum["FLEXIBLE_HOURS"] = "Flexible Hours";
|
|
206
|
+
ParticipantPreferenceEnum["FIRST_AID_CERTIFIED"] = "First Aid Certified";
|
|
207
|
+
ParticipantPreferenceEnum["MULTILINGUAL_SUPPORT"] = "Multilingual Support";
|
|
208
|
+
ParticipantPreferenceEnum["CULTURALLY_SENSITIVE"] = "Culturally Sensitive";
|
|
209
|
+
ParticipantPreferenceEnum["EXPERIENCE_WITH_AUTISM"] = "Experience with Autism";
|
|
210
|
+
ParticipantPreferenceEnum["CAN_COOK_MEALS"] = "Can Cook Meals";
|
|
211
|
+
ParticipantPreferenceEnum["PROVIDES_TRANSPORTATION"] = "Provides Transportation";
|
|
212
|
+
ParticipantPreferenceEnum["KNOWLEDGE_OF_MENTAL_HEALTH"] = "Knowledge of Mental Health";
|
|
213
|
+
ParticipantPreferenceEnum["AGE_FRIENDLY"] = "Age-Friendly";
|
|
214
|
+
ParticipantPreferenceEnum["TECHNOLOGY_LITERATE"] = "Technology Literate";
|
|
215
|
+
})(ParticipantPreferenceEnum || (exports.ParticipantPreferenceEnum = ParticipantPreferenceEnum = {}));
|
|
216
|
+
var ParticipantInterestEnum;
|
|
217
|
+
(function (ParticipantInterestEnum) {
|
|
218
|
+
ParticipantInterestEnum["ART_AND_CRAFTS"] = "Art and Crafts";
|
|
219
|
+
ParticipantInterestEnum["MUSIC"] = "Music";
|
|
220
|
+
ParticipantInterestEnum["SPORTS"] = "Sports";
|
|
221
|
+
ParticipantInterestEnum["READING"] = "Reading";
|
|
222
|
+
ParticipantInterestEnum["WRITING"] = "Writing";
|
|
223
|
+
ParticipantInterestEnum["GARDENING"] = "Gardening";
|
|
224
|
+
ParticipantInterestEnum["COOKING"] = "Cooking";
|
|
225
|
+
ParticipantInterestEnum["TECHNOLOGY"] = "Technology";
|
|
226
|
+
ParticipantInterestEnum["MOVIES_AND_THEATER"] = "Movies and Theater";
|
|
227
|
+
ParticipantInterestEnum["TRAVEL"] = "Travel";
|
|
228
|
+
ParticipantInterestEnum["DANCING"] = "Dancing";
|
|
229
|
+
ParticipantInterestEnum["BOARD_GAMES_AND_PUZZLES"] = "Board Games and Puzzles";
|
|
230
|
+
ParticipantInterestEnum["NATURE_AND_OUTDOORS"] = "Nature and Outdoors";
|
|
231
|
+
ParticipantInterestEnum["FITNESS_AND_YOGA"] = "Fitness and Yoga";
|
|
232
|
+
ParticipantInterestEnum["PHOTOGRAPHY"] = "Photography";
|
|
233
|
+
ParticipantInterestEnum["ANIMAL_CARE"] = "Animal Care";
|
|
234
|
+
ParticipantInterestEnum["VOLUNTEERING"] = "Volunteering";
|
|
235
|
+
ParticipantInterestEnum["MEDITATION"] = "Meditation";
|
|
236
|
+
})(ParticipantInterestEnum || (exports.ParticipantInterestEnum = ParticipantInterestEnum = {}));
|
|
237
|
+
var ProviderPreferenceEnum;
|
|
238
|
+
(function (ProviderPreferenceEnum) {
|
|
239
|
+
ProviderPreferenceEnum["NON_SMOKING_PARTICIPANT"] = "Non-Smoking Participant";
|
|
240
|
+
ProviderPreferenceEnum["PET_FRIENDLY_PARTICIPANT"] = "Pet-Friendly Participant";
|
|
241
|
+
ProviderPreferenceEnum["WHEELCHAIR_ACCESSIBLE_ENVIRONMENT"] = "Wheelchair Accessible Environment";
|
|
242
|
+
ProviderPreferenceEnum["CULTURAL_SENSITIVITY"] = "Cultural Sensitivity";
|
|
243
|
+
ProviderPreferenceEnum["CLEAR_COMMUNICATION"] = "Clear Communication";
|
|
244
|
+
ProviderPreferenceEnum["PARTICIPANT_WITH_FIXED_SCHEDULE"] = "Participant with Fixed Schedule";
|
|
245
|
+
ProviderPreferenceEnum["PARTICIPANT_FAMILIAR_WITH_TECHNOLOGY"] = "Participant Familiar with Technology";
|
|
246
|
+
ProviderPreferenceEnum["FAMILY_INVOLVEMENT"] = "Family Involvement in Care";
|
|
247
|
+
ProviderPreferenceEnum["INDEPENDENCE_GOALS"] = "Focus on Independence Goals";
|
|
248
|
+
ProviderPreferenceEnum["MEDICATION_MANAGEMENT_REQUIRED"] = "Medication Management Required";
|
|
249
|
+
ProviderPreferenceEnum["MENTAL_HEALTH_SUPPORT_REQUIRED"] = "Mental Health Support Required";
|
|
250
|
+
ProviderPreferenceEnum["AUTISM_SUPPORT_REQUIRED"] = "Autism Support Required";
|
|
251
|
+
ProviderPreferenceEnum["AGE_SPECIFIC_SUPPORT"] = "Age-Specific Support (e.g., youth, elderly)";
|
|
252
|
+
ProviderPreferenceEnum["OUTDOOR_ACTIVITY_PREFERENCE"] = "Enjoys Outdoor Activities";
|
|
253
|
+
ProviderPreferenceEnum["FLEXIBLE_TIMING_REQUIRED"] = "Flexible Timing Required";
|
|
254
|
+
ProviderPreferenceEnum["SHORT_DISTANCE_TRAVEL"] = "Short Distance Travel Only";
|
|
255
|
+
ProviderPreferenceEnum["PARTICIPANT_WITH_SIMPLE_DIETARY_NEEDS"] = "Simple Dietary Needs";
|
|
256
|
+
})(ProviderPreferenceEnum || (exports.ProviderPreferenceEnum = ProviderPreferenceEnum = {}));
|
|
257
|
+
var ProviderInterestEnum;
|
|
258
|
+
(function (ProviderInterestEnum) {
|
|
259
|
+
ProviderInterestEnum["SKILL_BUILDING"] = "Skill Building";
|
|
260
|
+
ProviderInterestEnum["SOCIAL_ACTIVITIES"] = "Social Activities";
|
|
261
|
+
ProviderInterestEnum["PHYSICAL_FITNESS"] = "Physical Fitness";
|
|
262
|
+
ProviderInterestEnum["ARTS_AND_CRAFTS"] = "Arts and Crafts";
|
|
263
|
+
ProviderInterestEnum["THERAPEUTIC_SUPPORT"] = "Therapeutic Support";
|
|
264
|
+
ProviderInterestEnum["MUSIC_AND_DANCE"] = "Music and Dance";
|
|
265
|
+
ProviderInterestEnum["COOKING_AND_NUTRITION"] = "Cooking and Nutrition";
|
|
266
|
+
ProviderInterestEnum["OUTDOOR_ACTIVITIES"] = "Outdoor Activities";
|
|
267
|
+
ProviderInterestEnum["ANIMAL_ASSISTED_THERAPY"] = "Animal-Assisted Therapy";
|
|
268
|
+
ProviderInterestEnum["TRAVEL_AND_RECREATION"] = "Travel and Recreation";
|
|
269
|
+
ProviderInterestEnum["CULTURAL_EVENTS"] = "Cultural Events";
|
|
270
|
+
ProviderInterestEnum["COMMUNITY_INTEGRATION"] = "Community Integration";
|
|
271
|
+
ProviderInterestEnum["TECHNOLOGY_TRAINING"] = "Technology Training";
|
|
272
|
+
ProviderInterestEnum["LIFE_SKILLS_DEVELOPMENT"] = "Life Skills Development";
|
|
273
|
+
ProviderInterestEnum["VOLUNTEERING_SUPPORT"] = "Volunteering Support";
|
|
274
|
+
ProviderInterestEnum["HOME_CARE_AND_CLEANING"] = "Home Care and Cleaning";
|
|
275
|
+
ProviderInterestEnum["MENTAL_WELLNESS"] = "Mental Wellness";
|
|
276
|
+
ProviderInterestEnum["ASSISTIVE_TECHNOLOGY"] = "Assistive Technology";
|
|
277
|
+
ProviderInterestEnum["BEHAVIORAL_SUPPORT"] = "Behavioral Support";
|
|
278
|
+
ProviderInterestEnum["EDUCATIONAL_SUPPORT"] = "Educational Support";
|
|
279
|
+
})(ProviderInterestEnum || (exports.ProviderInterestEnum = ProviderInterestEnum = {}));
|
|
280
|
+
var AttachmentFilesEnum;
|
|
281
|
+
(function (AttachmentFilesEnum) {
|
|
282
|
+
AttachmentFilesEnum["GIF"] = "gif";
|
|
283
|
+
AttachmentFilesEnum["VIDEO"] = "video";
|
|
284
|
+
AttachmentFilesEnum["IMAGE"] = "image";
|
|
285
|
+
})(AttachmentFilesEnum || (exports.AttachmentFilesEnum = AttachmentFilesEnum = {}));
|
|
286
|
+
var CommunityMembersStatuses;
|
|
287
|
+
(function (CommunityMembersStatuses) {
|
|
288
|
+
CommunityMembersStatuses["INVITED"] = "invited";
|
|
289
|
+
CommunityMembersStatuses["ACCEPTED"] = "accepted";
|
|
290
|
+
CommunityMembersStatuses["REJECTED"] = "rejected";
|
|
291
|
+
})(CommunityMembersStatuses || (exports.CommunityMembersStatuses = CommunityMembersStatuses = {}));
|
|
292
|
+
var PostTypes;
|
|
293
|
+
(function (PostTypes) {
|
|
294
|
+
PostTypes["CONTENT"] = "content";
|
|
295
|
+
PostTypes["POLL"] = "poll";
|
|
296
|
+
})(PostTypes || (exports.PostTypes = PostTypes = {}));
|
|
297
|
+
var PostUpvoteTypes;
|
|
298
|
+
(function (PostUpvoteTypes) {
|
|
299
|
+
PostUpvoteTypes["POST"] = "post";
|
|
300
|
+
PostUpvoteTypes["COMMENT"] = "comment";
|
|
301
|
+
PostUpvoteTypes["REPLY"] = "reply";
|
|
302
|
+
})(PostUpvoteTypes || (exports.PostUpvoteTypes = PostUpvoteTypes = {}));
|
|
303
|
+
var MessageType;
|
|
304
|
+
(function (MessageType) {
|
|
305
|
+
MessageType["TEXT"] = "text";
|
|
306
|
+
MessageType["MEDIA"] = "media";
|
|
307
|
+
})(MessageType || (exports.MessageType = MessageType = {}));
|
|
308
|
+
var MessageStatus;
|
|
309
|
+
(function (MessageStatus) {
|
|
310
|
+
MessageStatus["SENT"] = "sent";
|
|
311
|
+
MessageStatus["DELIVERED"] = "delivered";
|
|
312
|
+
MessageStatus["FAILED"] = "failed";
|
|
313
|
+
})(MessageStatus || (exports.MessageStatus = MessageStatus = {}));
|
|
314
|
+
var FileContentType;
|
|
315
|
+
(function (FileContentType) {
|
|
316
|
+
// Image Types
|
|
317
|
+
FileContentType["IMAGE_JPEG"] = "image/jpeg";
|
|
318
|
+
FileContentType["IMAGE_PNG"] = "image/png";
|
|
319
|
+
FileContentType["IMAGE_GIF"] = "image/gif";
|
|
320
|
+
FileContentType["IMAGE_WEBP"] = "image/webp";
|
|
321
|
+
// Video Types
|
|
322
|
+
FileContentType["VIDEO_MP4"] = "video/mp4";
|
|
323
|
+
FileContentType["VIDEO_MKV"] = "video/x-matroska";
|
|
324
|
+
})(FileContentType || (exports.FileContentType = FileContentType = {}));
|
|
325
|
+
var JobScheduleFrequencyEnum;
|
|
326
|
+
(function (JobScheduleFrequencyEnum) {
|
|
327
|
+
JobScheduleFrequencyEnum["ONE_OFF"] = "one-off";
|
|
328
|
+
JobScheduleFrequencyEnum["WEEKLY"] = "weekly";
|
|
329
|
+
JobScheduleFrequencyEnum["EVERY_4_WEEKS"] = "every 4 weeks";
|
|
330
|
+
JobScheduleFrequencyEnum["FORT_NIGHTLY"] = "fortnightly";
|
|
331
|
+
JobScheduleFrequencyEnum["EVERY_3_WEEKS"] = "every 3 weeks";
|
|
332
|
+
})(JobScheduleFrequencyEnum || (exports.JobScheduleFrequencyEnum = JobScheduleFrequencyEnum = {}));
|
|
333
|
+
var NotificationType;
|
|
334
|
+
(function (NotificationType) {
|
|
335
|
+
NotificationType["NEW_FOLLOWER"] = "newFollower";
|
|
336
|
+
NotificationType["FRIEND_REQUEST"] = "friendRequest";
|
|
337
|
+
NotificationType["ACCEPTED_FRIEND_REQUEST"] = "acceptedFriendRequest";
|
|
338
|
+
NotificationType["NEW_MESSAGE"] = "newMessage";
|
|
339
|
+
NotificationType["COMMENT_ON_POST"] = "commentOnPost";
|
|
340
|
+
NotificationType["REPLY_TO_COMMENT"] = "replyToComment";
|
|
341
|
+
NotificationType["UPVOTE_ON_POST"] = "upvoteOnPost";
|
|
342
|
+
NotificationType["UPVOTE_ON_COMMENT"] = "upvoteOnComment";
|
|
343
|
+
NotificationType["USERNAME_MENTION"] = "usernameMention";
|
|
344
|
+
NotificationType["NEW_PROPOSAL"] = "newProposal";
|
|
345
|
+
NotificationType["ADMIN_ANNOUNCEMENT"] = "adminAnnouncement";
|
|
346
|
+
NotificationType["EVENT_REMINDER"] = "eventReminder";
|
|
347
|
+
NotificationType["POST_FLAGGED"] = "postFlagged";
|
|
348
|
+
NotificationType["POST_DELETED"] = "postDeleted";
|
|
349
|
+
NotificationType["POST_RESTORED"] = "postRestored";
|
|
350
|
+
// Identity Verification Notifications
|
|
351
|
+
NotificationType["IDENTITY_VERIFIED"] = "identityVerified";
|
|
352
|
+
NotificationType["IDENTITY_VERIFICATION_FAILED"] = "identityVerificationFailed";
|
|
353
|
+
NotificationType["IDENTITY_VERIFICATION_DECLINED"] = "identityVerificationDeclined";
|
|
354
|
+
// NDIS Worker Screening Check Notifications
|
|
355
|
+
NotificationType["NDIS_SCREENING_APPROVED"] = "ndisScreeningApproved";
|
|
356
|
+
NotificationType["NDIS_SCREENING_DECLINED"] = "ndisScreeningDeclined";
|
|
357
|
+
// Working with Children Check Notifications
|
|
358
|
+
NotificationType["WORKING_WITH_CHILDREN_APPROVED"] = "workingWithChildrenApproved";
|
|
359
|
+
NotificationType["WORKING_WITH_CHILDREN_DECLINED"] = "workingWithChildrenDeclined";
|
|
360
|
+
// Job Notifications
|
|
361
|
+
NotificationType["NEW_JOB_OPPORTUNITY"] = "newJobOpportunity";
|
|
362
|
+
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
363
|
+
var AltCommunication;
|
|
364
|
+
(function (AltCommunication) {
|
|
365
|
+
// AAC = "aac",
|
|
366
|
+
AltCommunication["AUSLAN"] = "auslan";
|
|
367
|
+
// BRAILLE = "Braille",
|
|
368
|
+
})(AltCommunication || (exports.AltCommunication = AltCommunication = {}));
|
|
369
|
+
var SupportWorkerService;
|
|
370
|
+
(function (SupportWorkerService) {
|
|
371
|
+
SupportWorkerService["ShoweringToiletingDressing"] = "showeringToiletingDressing";
|
|
372
|
+
SupportWorkerService["ContinenceAidAssistance"] = "continenceAidAssistance";
|
|
373
|
+
SupportWorkerService["PressureCare"] = "pressureCare";
|
|
374
|
+
SupportWorkerService["HoistLifting"] = "hoistLifting";
|
|
375
|
+
SupportWorkerService["OvernightCare"] = "overnightCare";
|
|
376
|
+
SupportWorkerService["GeneralEatingSupport"] = "generalEatingSupport";
|
|
377
|
+
SupportWorkerService["PegFeeding"] = "pegFeeding";
|
|
378
|
+
SupportWorkerService["MedicationAssistance"] = "medicationAssistance";
|
|
379
|
+
SupportWorkerService["StomaCare"] = "stomaCare";
|
|
380
|
+
SupportWorkerService["BasicDressingChanges"] = "basicDressingChanges";
|
|
381
|
+
SupportWorkerService["CookingMealPrep"] = "cookingMealPrep";
|
|
382
|
+
SupportWorkerService["HouseholdCleaning"] = "householdCleaning";
|
|
383
|
+
SupportWorkerService["LightGardening"] = "lightGardening";
|
|
384
|
+
// HomeSafetyRepairs = "homeSafetyRepairs", // STOPPED
|
|
385
|
+
// HoardingSupport = "hoardingSupport", // STOPPED
|
|
386
|
+
SupportWorkerService["AppointmentManagement"] = "appointmentManagement";
|
|
387
|
+
SupportWorkerService["PaperworkAdminHelp"] = "paperworkAdminHelp";
|
|
388
|
+
// SocialVisits = "socialVisits", // STOPPED
|
|
389
|
+
SupportWorkerService["CommunityAccess"] = "communityAccess";
|
|
390
|
+
// SkillBuilding = "skillBuilding", // STOPPED
|
|
391
|
+
// SupportForHobbies = "supportForHobbies", // STOPPED
|
|
392
|
+
// TravelTraining = "travelTraining", // STOPPED
|
|
393
|
+
SupportWorkerService["StandardVehicle"] = "standardVehicle";
|
|
394
|
+
SupportWorkerService["WheelchairAccessibleVehicle"] = "wheelchairAccessibleVehicle";
|
|
395
|
+
})(SupportWorkerService || (exports.SupportWorkerService = SupportWorkerService = {}));
|
|
396
|
+
var JOB_WORKER_TYPE;
|
|
397
|
+
(function (JOB_WORKER_TYPE) {
|
|
398
|
+
JOB_WORKER_TYPE["SUPPORT_WORKER"] = "supportWorker";
|
|
399
|
+
JOB_WORKER_TYPE["NDIS_PROVIDER"] = "ndisProvider";
|
|
400
|
+
})(JOB_WORKER_TYPE || (exports.JOB_WORKER_TYPE = JOB_WORKER_TYPE = {}));
|
|
401
|
+
// booking activity
|
|
402
|
+
var BOOKING_ACTIVITY_TYPE;
|
|
403
|
+
(function (BOOKING_ACTIVITY_TYPE) {
|
|
404
|
+
BOOKING_ACTIVITY_TYPE["BOOKING_CREATED"] = "booking_created";
|
|
405
|
+
BOOKING_ACTIVITY_TYPE["BOOKING_UPDATED"] = "booking_updated";
|
|
406
|
+
BOOKING_ACTIVITY_TYPE["BOOKING_CANCELLED"] = "booking_cancelled";
|
|
407
|
+
BOOKING_ACTIVITY_TYPE["DOCUMENT_REQUESTED"] = "document_requested";
|
|
408
|
+
BOOKING_ACTIVITY_TYPE["DOCUMENT_SUBMITTED"] = "document_submitted";
|
|
409
|
+
BOOKING_ACTIVITY_TYPE["COMPLETION_REQUESTED"] = "completion_requested";
|
|
410
|
+
BOOKING_ACTIVITY_TYPE["COMPLETION_REJECTED"] = "completion_rejected";
|
|
411
|
+
BOOKING_ACTIVITY_TYPE["BOOKING_COMPLETED"] = "booking_completed";
|
|
412
|
+
BOOKING_ACTIVITY_TYPE["MESSAGE_SENT"] = "message_sent";
|
|
413
|
+
BOOKING_ACTIVITY_TYPE["REVIEW_HIRER_TO_WORKER"] = "review_hirer_to_worker";
|
|
414
|
+
BOOKING_ACTIVITY_TYPE["REVIEW_WORKER_TO_HIRER"] = "review_worker_to_hirer";
|
|
415
|
+
})(BOOKING_ACTIVITY_TYPE || (exports.BOOKING_ACTIVITY_TYPE = BOOKING_ACTIVITY_TYPE = {}));
|
|
416
|
+
// job tabs
|
|
417
|
+
var JOB_TABS;
|
|
418
|
+
(function (JOB_TABS) {
|
|
419
|
+
JOB_TABS["ALL"] = "all";
|
|
420
|
+
JOB_TABS["MY_JOBS"] = "my-jobs";
|
|
421
|
+
JOB_TABS["APPLIED_JOBS"] = "applied-jobs";
|
|
422
|
+
JOB_TABS["MATCHED_JOBS"] = "matched-jobs";
|
|
423
|
+
})(JOB_TABS || (exports.JOB_TABS = JOB_TABS = {}));
|
|
424
|
+
var DocumentType;
|
|
425
|
+
(function (DocumentType) {
|
|
426
|
+
DocumentType["NDIS_WORKER_SCREENING"] = "NDIS_WORKER_SCREENING";
|
|
427
|
+
DocumentType["WORKING_WITH_CHILDREN"] = "WORKING_WITH_CHILDREN";
|
|
428
|
+
DocumentType["INSURANCE"] = "INSURANCE";
|
|
429
|
+
DocumentType["FIRST_AID"] = "FIRST_AID";
|
|
430
|
+
DocumentType["CAR_INSURANCE"] = "CAR_INSURANCE";
|
|
431
|
+
DocumentType["QUALIFICATION"] = "QUALIFICATION";
|
|
432
|
+
DocumentType["MEDICATION_COMPETENCY"] = "MEDICATION_COMPETENCY";
|
|
433
|
+
DocumentType["VACCINATION_RECORDS"] = "VACCINATION_RECORDS";
|
|
434
|
+
DocumentType["REFERENCES"] = "REFERENCES";
|
|
435
|
+
})(DocumentType || (exports.DocumentType = DocumentType = {}));
|
|
436
|
+
var OnboardingSteps;
|
|
437
|
+
(function (OnboardingSteps) {
|
|
438
|
+
// BUSINESS INFO
|
|
439
|
+
OnboardingSteps["ABN_AND_BUSINESS_NAME"] = "ABN_AND_BUSINESS_NAME";
|
|
440
|
+
OnboardingSteps["SERVICES"] = "SERVICES";
|
|
441
|
+
OnboardingSteps["LOCATIONS"] = "LOCATIONS";
|
|
442
|
+
// CONTRACT_TYPE = "CONTRACT_TYPE",
|
|
443
|
+
OnboardingSteps["SUPPORTED_AGES"] = "SUPPORTED_AGES";
|
|
444
|
+
// PEROSNAL
|
|
445
|
+
OnboardingSteps["EXPERIENCE"] = "EXPERIENCE";
|
|
446
|
+
OnboardingSteps["HOURLY_RATE"] = "HOURLY_RATE";
|
|
447
|
+
OnboardingSteps["GENDER"] = "GENDER";
|
|
448
|
+
OnboardingSteps["LANGUAGES"] = "LANGUAGES";
|
|
449
|
+
// ALTERNATIVE_COMMUNICATION = "ALTERNATIVE_COMMUNICATION",
|
|
450
|
+
OnboardingSteps["PHONE"] = "PHONE";
|
|
451
|
+
OnboardingSteps["OVERVIEW"] = "OVERVIEW";
|
|
452
|
+
// LISTING CARD
|
|
453
|
+
OnboardingSteps["PHOTO"] = "PHOTO";
|
|
454
|
+
// LISTING_CARD_TEXT = "LISTING_CARD_TEXT",
|
|
455
|
+
})(OnboardingSteps || (exports.OnboardingSteps = OnboardingSteps = {}));
|
|
456
|
+
var ContractTypeEnum;
|
|
457
|
+
(function (ContractTypeEnum) {
|
|
458
|
+
ContractTypeEnum["CONTRACT_WORK"] = "contractWork";
|
|
459
|
+
ContractTypeEnum["CASUAL_WORK"] = "casualWork";
|
|
460
|
+
ContractTypeEnum["PERMANENT_WORK"] = "permanentWork";
|
|
461
|
+
})(ContractTypeEnum || (exports.ContractTypeEnum = ContractTypeEnum = {}));
|
|
462
|
+
// verif statuses
|
|
463
|
+
var veriffStatuses;
|
|
464
|
+
(function (veriffStatuses) {
|
|
465
|
+
veriffStatuses["CREATED"] = "created";
|
|
466
|
+
veriffStatuses["STARTED"] = "started";
|
|
467
|
+
veriffStatuses["SUBMITTED"] = "submitted";
|
|
468
|
+
veriffStatuses["APPROVED"] = "approved";
|
|
469
|
+
veriffStatuses["DECLINED"] = "declined";
|
|
470
|
+
veriffStatuses["RESUBMISSION_REQUESTED"] = "resubmission_requested";
|
|
471
|
+
veriffStatuses["EXPIRED"] = "expired";
|
|
472
|
+
veriffStatuses["ABANDONED"] = "abandoned";
|
|
473
|
+
})(veriffStatuses || (exports.veriffStatuses = veriffStatuses = {}));
|
|
474
|
+
// ndis screening scheck and working with children check status
|
|
475
|
+
var screeningAndChildrenCheckStatus;
|
|
476
|
+
(function (screeningAndChildrenCheckStatus) {
|
|
477
|
+
screeningAndChildrenCheckStatus["PENDING"] = "pending";
|
|
478
|
+
screeningAndChildrenCheckStatus["APPROVED"] = "approved";
|
|
479
|
+
screeningAndChildrenCheckStatus["DECLINED"] = "declined";
|
|
480
|
+
screeningAndChildrenCheckStatus["EXPIRED"] = "expired";
|
|
481
|
+
})(screeningAndChildrenCheckStatus || (exports.screeningAndChildrenCheckStatus = screeningAndChildrenCheckStatus = {}));
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { UserRegistrationInput, UserRegistrationSchema, } from "./schemas/userValiationSchema";
|
|
2
|
+
export { EducationAndTrainingInputValidation, EducationAndTrainingSchema, } from "./schemas/educationSchemas";
|
|
3
|
+
export { WorkHistoryInputValidation, WorkHistorySchema, } from "./schemas/workHistorySchema";
|
|
4
|
+
export { AvailabilitiesSchemaZod, AvailabilityZodInput, } from "./schemas/availabilitySchemaValidation";
|
|
5
|
+
export { HourlyRateInputZod, HourlyRateInputZodType, } from "./schemas/hourlyRateSchemaValidation";
|
|
6
|
+
export { ServicesSchema, validateServices, } from "./schemas/businessServicesValidation";
|
|
7
|
+
export { detectVideoProvider, isValidCommunityVideoUrl, isValidYouTubeOrVimeoUrl, validateVideoLink, VideoProvider, VideoValidationResult, } from "./utils/videoValidation";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateVideoLink = exports.isValidYouTubeOrVimeoUrl = exports.isValidCommunityVideoUrl = exports.detectVideoProvider = exports.validateServices = exports.ServicesSchema = exports.HourlyRateInputZod = exports.AvailabilitiesSchemaZod = exports.WorkHistorySchema = exports.EducationAndTrainingSchema = exports.UserRegistrationSchema = void 0;
|
|
4
|
+
var userValiationSchema_1 = require("./schemas/userValiationSchema");
|
|
5
|
+
Object.defineProperty(exports, "UserRegistrationSchema", { enumerable: true, get: function () { return userValiationSchema_1.UserRegistrationSchema; } });
|
|
6
|
+
var educationSchemas_1 = require("./schemas/educationSchemas");
|
|
7
|
+
Object.defineProperty(exports, "EducationAndTrainingSchema", { enumerable: true, get: function () { return educationSchemas_1.EducationAndTrainingSchema; } });
|
|
8
|
+
var workHistorySchema_1 = require("./schemas/workHistorySchema");
|
|
9
|
+
Object.defineProperty(exports, "WorkHistorySchema", { enumerable: true, get: function () { return workHistorySchema_1.WorkHistorySchema; } });
|
|
10
|
+
var availabilitySchemaValidation_1 = require("./schemas/availabilitySchemaValidation");
|
|
11
|
+
Object.defineProperty(exports, "AvailabilitiesSchemaZod", { enumerable: true, get: function () { return availabilitySchemaValidation_1.AvailabilitiesSchemaZod; } });
|
|
12
|
+
var hourlyRateSchemaValidation_1 = require("./schemas/hourlyRateSchemaValidation");
|
|
13
|
+
Object.defineProperty(exports, "HourlyRateInputZod", { enumerable: true, get: function () { return hourlyRateSchemaValidation_1.HourlyRateInputZod; } });
|
|
14
|
+
var businessServicesValidation_1 = require("./schemas/businessServicesValidation");
|
|
15
|
+
Object.defineProperty(exports, "ServicesSchema", { enumerable: true, get: function () { return businessServicesValidation_1.ServicesSchema; } });
|
|
16
|
+
Object.defineProperty(exports, "validateServices", { enumerable: true, get: function () { return businessServicesValidation_1.validateServices; } });
|
|
17
|
+
var videoValidation_1 = require("./utils/videoValidation");
|
|
18
|
+
Object.defineProperty(exports, "detectVideoProvider", { enumerable: true, get: function () { return videoValidation_1.detectVideoProvider; } });
|
|
19
|
+
Object.defineProperty(exports, "isValidCommunityVideoUrl", { enumerable: true, get: function () { return videoValidation_1.isValidCommunityVideoUrl; } });
|
|
20
|
+
Object.defineProperty(exports, "isValidYouTubeOrVimeoUrl", { enumerable: true, get: function () { return videoValidation_1.isValidYouTubeOrVimeoUrl; } });
|
|
21
|
+
Object.defineProperty(exports, "validateVideoLink", { enumerable: true, get: function () { return videoValidation_1.validateVideoLink; } });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface ICommonCategoryFields {
|
|
2
|
+
name: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ICommonCommunityFields {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
slug?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ICommonPostFields {
|
|
11
|
+
title: string;
|
|
12
|
+
content?: string;
|
|
13
|
+
isPinned?: boolean;
|
|
14
|
+
closeComments?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ICommonCategoryFields {
|
|
2
|
+
id?: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
created_at: Date;
|
|
6
|
+
modified_at: Date;
|
|
7
|
+
}
|
|
8
|
+
export interface ICommonPostFields {
|
|
9
|
+
id?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
slug?: string;
|
|
12
|
+
content?: string;
|
|
13
|
+
created_at: Date;
|
|
14
|
+
modified_at: Date;
|
|
15
|
+
postType?: string;
|
|
16
|
+
isPinned?: boolean;
|
|
17
|
+
closeComments?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface ICommonFileFields {
|
|
20
|
+
id?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
fileType: string;
|
|
23
|
+
url: string;
|
|
24
|
+
created_at?: Date;
|
|
25
|
+
modified_at?: Date;
|
|
26
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AvailabilitiesSchemaZod: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3
|
+
day: z.ZodString;
|
|
4
|
+
isEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
5
|
+
shifts: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
6
|
+
startTime: z.ZodEffects<z.ZodString, string, string>;
|
|
7
|
+
endTime: z.ZodEffects<z.ZodString, string, string>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
endTime: string;
|
|
10
|
+
startTime: string;
|
|
11
|
+
}, {
|
|
12
|
+
endTime: string;
|
|
13
|
+
startTime: string;
|
|
14
|
+
}>, {
|
|
15
|
+
endTime: string;
|
|
16
|
+
startTime: string;
|
|
17
|
+
}, {
|
|
18
|
+
endTime: string;
|
|
19
|
+
startTime: string;
|
|
20
|
+
}>, "many">, {
|
|
21
|
+
endTime: string;
|
|
22
|
+
startTime: string;
|
|
23
|
+
}[], {
|
|
24
|
+
endTime: string;
|
|
25
|
+
startTime: string;
|
|
26
|
+
}[]>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
day: string;
|
|
29
|
+
isEnabled: boolean;
|
|
30
|
+
shifts: {
|
|
31
|
+
endTime: string;
|
|
32
|
+
startTime: string;
|
|
33
|
+
}[];
|
|
34
|
+
}, {
|
|
35
|
+
day: string;
|
|
36
|
+
shifts: {
|
|
37
|
+
endTime: string;
|
|
38
|
+
startTime: string;
|
|
39
|
+
}[];
|
|
40
|
+
isEnabled?: boolean | undefined;
|
|
41
|
+
}>, "many">, {
|
|
42
|
+
day: string;
|
|
43
|
+
isEnabled: boolean;
|
|
44
|
+
shifts: {
|
|
45
|
+
endTime: string;
|
|
46
|
+
startTime: string;
|
|
47
|
+
}[];
|
|
48
|
+
}[], {
|
|
49
|
+
day: string;
|
|
50
|
+
shifts: {
|
|
51
|
+
endTime: string;
|
|
52
|
+
startTime: string;
|
|
53
|
+
}[];
|
|
54
|
+
isEnabled?: boolean | undefined;
|
|
55
|
+
}[]>;
|
|
56
|
+
export type AvailabilityZodInput = z.infer<typeof AvailabilitiesSchemaZod>;
|