@brite-future-schools-contracts/contracts 2.0.38 → 2.0.40

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.
@@ -102,6 +102,37 @@ declare const switchBranchContract: _orpc_contract.ContractProcedureBuilderWithI
102
102
  isActive: z.ZodBoolean;
103
103
  mustChangePassword: z.ZodBoolean;
104
104
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
105
+ /** Confirm the current password before a sensitive change (e.g. email change) */
106
+ declare const verifyPasswordContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
107
+ password: z.ZodString;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ valid: z.ZodBoolean;
110
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
111
+ /** Return the full self-service profile for the current user */
112
+ declare const getProfileContract: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, z.ZodObject<{
113
+ id: z.ZodString;
114
+ email: z.ZodEmail;
115
+ firstName: z.ZodString;
116
+ middleName: z.ZodNullable<z.ZodString>;
117
+ lastName: z.ZodString;
118
+ phone: z.ZodNullable<z.ZodString>;
119
+ avatarUrl: z.ZodNullable<z.ZodString>;
120
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
121
+ /** Update the current user's own profile fields (name, phone) */
122
+ declare const updateProfileContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
123
+ firstName: z.ZodString;
124
+ middleName: z.ZodOptional<z.ZodString>;
125
+ lastName: z.ZodString;
126
+ phone: z.ZodString;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ id: z.ZodString;
129
+ email: z.ZodEmail;
130
+ firstName: z.ZodString;
131
+ middleName: z.ZodNullable<z.ZodString>;
132
+ lastName: z.ZodString;
133
+ phone: z.ZodNullable<z.ZodString>;
134
+ avatarUrl: z.ZodNullable<z.ZodString>;
135
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
105
136
  declare const authContract: {
106
137
  login: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
107
138
  email: z.ZodEmail;
@@ -196,6 +227,34 @@ declare const authContract: {
196
227
  isActive: z.ZodBoolean;
197
228
  mustChangePassword: z.ZodBoolean;
198
229
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
230
+ verifyPassword: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
231
+ password: z.ZodString;
232
+ }, z.core.$strip>, z.ZodObject<{
233
+ valid: z.ZodBoolean;
234
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
235
+ profile: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, z.ZodObject<{
236
+ id: z.ZodString;
237
+ email: z.ZodEmail;
238
+ firstName: z.ZodString;
239
+ middleName: z.ZodNullable<z.ZodString>;
240
+ lastName: z.ZodString;
241
+ phone: z.ZodNullable<z.ZodString>;
242
+ avatarUrl: z.ZodNullable<z.ZodString>;
243
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
244
+ updateProfile: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
245
+ firstName: z.ZodString;
246
+ middleName: z.ZodOptional<z.ZodString>;
247
+ lastName: z.ZodString;
248
+ phone: z.ZodString;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ id: z.ZodString;
251
+ email: z.ZodEmail;
252
+ firstName: z.ZodString;
253
+ middleName: z.ZodNullable<z.ZodString>;
254
+ lastName: z.ZodString;
255
+ phone: z.ZodNullable<z.ZodString>;
256
+ avatarUrl: z.ZodNullable<z.ZodString>;
257
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
199
258
  };
200
259
 
201
260
  declare const createStaffContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
@@ -3374,4 +3433,4 @@ declare const blocksContract: {
3374
3433
  }, z.core.$strip>, z.ZodUnknown, Record<never, never>, Record<never, never>>;
3375
3434
  };
3376
3435
 
3377
- export { acknowledgeContract, acknowledgeDiaryEntryContract, approveContract, approveLiftContract, attendanceContract, authContract, bankingContract, blocksContract, bulkUploadStudentsContract, calendarContract, calendarListTermsContract, cancelContract, changePasswordContract, createBankAccountContract, createCategoryContract, createDepartmentContract, createEntryContract, createGradeContract, createNotificationContract, createStaffContract, createStudentContract, createTermContract, createYearContract, deactivateContract, diaryContract, getByClassContract, getByIdContract, getByStudentContract, getEntryContract, getMeContract, getResponseSummaryContract, getStaffByIdContract, getStudentByIdContract, getTemplateContract, gradesContract, hrContract, linkGuardianContract, listAccountsContract, listAcknowledgementsContract, listActiveBlocksContract, listBanksContract, listCategoriesContract, listClassesContract, listDeliveriesContract, listDepartmentsContract, listEntriesContract, listForGuardianContract, listGradesContract, listResponsesContract, listStaffContract, listStudentsContract, listTemplatesContract, listTermsContract, listYearsContract, loginContract, logoutContract, markAttendanceContract, markReadContract, markUnreadContract, notificationsContract, refreshTokenContract, rejectContract, requestLiftContract, requestPasswordResetContract, resetPasswordContract, resolveBlockAltContract, resolveBlockContract, respondContract, respondToBlockContract, respondToDiaryEntryContract, setCurrentTermContract, setCurrentYearContract, setDefaultContract, studentsContract, submitContract, switchBranchContract, updateBankAccountContract, updateCategoryContract, updateStaffStatusContract };
3436
+ export { acknowledgeContract, acknowledgeDiaryEntryContract, approveContract, approveLiftContract, attendanceContract, authContract, bankingContract, blocksContract, bulkUploadStudentsContract, calendarContract, calendarListTermsContract, cancelContract, changePasswordContract, createBankAccountContract, createCategoryContract, createDepartmentContract, createEntryContract, createGradeContract, createNotificationContract, createStaffContract, createStudentContract, createTermContract, createYearContract, deactivateContract, diaryContract, getByClassContract, getByIdContract, getByStudentContract, getEntryContract, getMeContract, getProfileContract, getResponseSummaryContract, getStaffByIdContract, getStudentByIdContract, getTemplateContract, gradesContract, hrContract, linkGuardianContract, listAccountsContract, listAcknowledgementsContract, listActiveBlocksContract, listBanksContract, listCategoriesContract, listClassesContract, listDeliveriesContract, listDepartmentsContract, listEntriesContract, listForGuardianContract, listGradesContract, listResponsesContract, listStaffContract, listStudentsContract, listTemplatesContract, listTermsContract, listYearsContract, loginContract, logoutContract, markAttendanceContract, markReadContract, markUnreadContract, notificationsContract, refreshTokenContract, rejectContract, requestLiftContract, requestPasswordResetContract, resetPasswordContract, resolveBlockAltContract, resolveBlockContract, respondContract, respondToBlockContract, respondToDiaryEntryContract, setCurrentTermContract, setCurrentYearContract, setDefaultContract, studentsContract, submitContract, switchBranchContract, updateBankAccountContract, updateCategoryContract, updateProfileContract, updateStaffStatusContract, verifyPasswordContract };
@@ -102,6 +102,37 @@ declare const switchBranchContract: _orpc_contract.ContractProcedureBuilderWithI
102
102
  isActive: z.ZodBoolean;
103
103
  mustChangePassword: z.ZodBoolean;
104
104
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
105
+ /** Confirm the current password before a sensitive change (e.g. email change) */
106
+ declare const verifyPasswordContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
107
+ password: z.ZodString;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ valid: z.ZodBoolean;
110
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
111
+ /** Return the full self-service profile for the current user */
112
+ declare const getProfileContract: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, z.ZodObject<{
113
+ id: z.ZodString;
114
+ email: z.ZodEmail;
115
+ firstName: z.ZodString;
116
+ middleName: z.ZodNullable<z.ZodString>;
117
+ lastName: z.ZodString;
118
+ phone: z.ZodNullable<z.ZodString>;
119
+ avatarUrl: z.ZodNullable<z.ZodString>;
120
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
121
+ /** Update the current user's own profile fields (name, phone) */
122
+ declare const updateProfileContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
123
+ firstName: z.ZodString;
124
+ middleName: z.ZodOptional<z.ZodString>;
125
+ lastName: z.ZodString;
126
+ phone: z.ZodString;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ id: z.ZodString;
129
+ email: z.ZodEmail;
130
+ firstName: z.ZodString;
131
+ middleName: z.ZodNullable<z.ZodString>;
132
+ lastName: z.ZodString;
133
+ phone: z.ZodNullable<z.ZodString>;
134
+ avatarUrl: z.ZodNullable<z.ZodString>;
135
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
105
136
  declare const authContract: {
106
137
  login: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
107
138
  email: z.ZodEmail;
@@ -196,6 +227,34 @@ declare const authContract: {
196
227
  isActive: z.ZodBoolean;
197
228
  mustChangePassword: z.ZodBoolean;
198
229
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
230
+ verifyPassword: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
231
+ password: z.ZodString;
232
+ }, z.core.$strip>, z.ZodObject<{
233
+ valid: z.ZodBoolean;
234
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
235
+ profile: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, z.ZodObject<{
236
+ id: z.ZodString;
237
+ email: z.ZodEmail;
238
+ firstName: z.ZodString;
239
+ middleName: z.ZodNullable<z.ZodString>;
240
+ lastName: z.ZodString;
241
+ phone: z.ZodNullable<z.ZodString>;
242
+ avatarUrl: z.ZodNullable<z.ZodString>;
243
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
244
+ updateProfile: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
245
+ firstName: z.ZodString;
246
+ middleName: z.ZodOptional<z.ZodString>;
247
+ lastName: z.ZodString;
248
+ phone: z.ZodString;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ id: z.ZodString;
251
+ email: z.ZodEmail;
252
+ firstName: z.ZodString;
253
+ middleName: z.ZodNullable<z.ZodString>;
254
+ lastName: z.ZodString;
255
+ phone: z.ZodNullable<z.ZodString>;
256
+ avatarUrl: z.ZodNullable<z.ZodString>;
257
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
199
258
  };
200
259
 
201
260
  declare const createStaffContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
@@ -3374,4 +3433,4 @@ declare const blocksContract: {
3374
3433
  }, z.core.$strip>, z.ZodUnknown, Record<never, never>, Record<never, never>>;
3375
3434
  };
3376
3435
 
3377
- export { acknowledgeContract, acknowledgeDiaryEntryContract, approveContract, approveLiftContract, attendanceContract, authContract, bankingContract, blocksContract, bulkUploadStudentsContract, calendarContract, calendarListTermsContract, cancelContract, changePasswordContract, createBankAccountContract, createCategoryContract, createDepartmentContract, createEntryContract, createGradeContract, createNotificationContract, createStaffContract, createStudentContract, createTermContract, createYearContract, deactivateContract, diaryContract, getByClassContract, getByIdContract, getByStudentContract, getEntryContract, getMeContract, getResponseSummaryContract, getStaffByIdContract, getStudentByIdContract, getTemplateContract, gradesContract, hrContract, linkGuardianContract, listAccountsContract, listAcknowledgementsContract, listActiveBlocksContract, listBanksContract, listCategoriesContract, listClassesContract, listDeliveriesContract, listDepartmentsContract, listEntriesContract, listForGuardianContract, listGradesContract, listResponsesContract, listStaffContract, listStudentsContract, listTemplatesContract, listTermsContract, listYearsContract, loginContract, logoutContract, markAttendanceContract, markReadContract, markUnreadContract, notificationsContract, refreshTokenContract, rejectContract, requestLiftContract, requestPasswordResetContract, resetPasswordContract, resolveBlockAltContract, resolveBlockContract, respondContract, respondToBlockContract, respondToDiaryEntryContract, setCurrentTermContract, setCurrentYearContract, setDefaultContract, studentsContract, submitContract, switchBranchContract, updateBankAccountContract, updateCategoryContract, updateStaffStatusContract };
3436
+ export { acknowledgeContract, acknowledgeDiaryEntryContract, approveContract, approveLiftContract, attendanceContract, authContract, bankingContract, blocksContract, bulkUploadStudentsContract, calendarContract, calendarListTermsContract, cancelContract, changePasswordContract, createBankAccountContract, createCategoryContract, createDepartmentContract, createEntryContract, createGradeContract, createNotificationContract, createStaffContract, createStudentContract, createTermContract, createYearContract, deactivateContract, diaryContract, getByClassContract, getByIdContract, getByStudentContract, getEntryContract, getMeContract, getProfileContract, getResponseSummaryContract, getStaffByIdContract, getStudentByIdContract, getTemplateContract, gradesContract, hrContract, linkGuardianContract, listAccountsContract, listAcknowledgementsContract, listActiveBlocksContract, listBanksContract, listCategoriesContract, listClassesContract, listDeliveriesContract, listDepartmentsContract, listEntriesContract, listForGuardianContract, listGradesContract, listResponsesContract, listStaffContract, listStudentsContract, listTemplatesContract, listTermsContract, listYearsContract, loginContract, logoutContract, markAttendanceContract, markReadContract, markUnreadContract, notificationsContract, refreshTokenContract, rejectContract, requestLiftContract, requestPasswordResetContract, resetPasswordContract, resolveBlockAltContract, resolveBlockContract, respondContract, respondToBlockContract, respondToDiaryEntryContract, setCurrentTermContract, setCurrentYearContract, setDefaultContract, studentsContract, submitContract, switchBranchContract, updateBankAccountContract, updateCategoryContract, updateProfileContract, updateStaffStatusContract, verifyPasswordContract };
@@ -29,6 +29,7 @@ import {
29
29
  getByStudentContract,
30
30
  getEntryContract,
31
31
  getMeContract,
32
+ getProfileContract,
32
33
  getResponseSummaryContract,
33
34
  getStaffByIdContract,
34
35
  getStudentByIdContract,
@@ -77,9 +78,11 @@ import {
77
78
  switchBranchContract,
78
79
  updateBankAccountContract,
79
80
  updateCategoryContract,
80
- updateStaffStatusContract
81
- } from "../chunk-SJF5H2NM.js";
82
- import "../chunk-2Q7S637J.js";
81
+ updateProfileContract,
82
+ updateStaffStatusContract,
83
+ verifyPasswordContract
84
+ } from "../chunk-KTEC74C2.js";
85
+ import "../chunk-VNZGHQ6T.js";
83
86
  export {
84
87
  acknowledgeContract,
85
88
  acknowledgeDiaryEntryContract,
@@ -111,6 +114,7 @@ export {
111
114
  getByStudentContract,
112
115
  getEntryContract,
113
116
  getMeContract,
117
+ getProfileContract,
114
118
  getResponseSummaryContract,
115
119
  getStaffByIdContract,
116
120
  getStudentByIdContract,
@@ -159,6 +163,8 @@ export {
159
163
  switchBranchContract,
160
164
  updateBankAccountContract,
161
165
  updateCategoryContract,
162
- updateStaffStatusContract
166
+ updateProfileContract,
167
+ updateStaffStatusContract,
168
+ verifyPasswordContract
163
169
  };
164
170
  //# sourceMappingURL=index.js.map
package/dist/index.cjs CHANGED
@@ -103,6 +103,7 @@ __export(src_exports, {
103
103
  PaginationInputSchema: () => PaginationInputSchema,
104
104
  PortalBlockSchema: () => PortalBlockSchema,
105
105
  PortalBlockTypeSchema: () => PortalBlockTypeSchema,
106
+ ProfileOutputSchema: () => ProfileOutputSchema,
106
107
  RefreshTokenInputSchema: () => RefreshTokenInputSchema,
107
108
  RefreshTokenOutputSchema: () => RefreshTokenOutputSchema,
108
109
  RejectNotificationInputSchema: () => RejectNotificationInputSchema,
@@ -130,7 +131,10 @@ __export(src_exports, {
130
131
  TimestampsSchema: () => TimestampsSchema,
131
132
  UpdateBankAccountInputSchema: () => UpdateBankAccountInputSchema,
132
133
  UpdateDiaryCategoryInputSchema: () => UpdateDiaryCategoryInputSchema,
134
+ UpdateProfileInputSchema: () => UpdateProfileInputSchema,
133
135
  UuidSchema: () => UuidSchema,
136
+ VerifyPasswordInputSchema: () => VerifyPasswordInputSchema,
137
+ VerifyPasswordOutputSchema: () => VerifyPasswordOutputSchema,
134
138
  acknowledgeContract: () => acknowledgeContract,
135
139
  acknowledgeDiaryEntryContract: () => acknowledgeDiaryEntryContract,
136
140
  approveContract: () => approveContract,
@@ -198,6 +202,7 @@ __export(src_exports, {
198
202
  getByStudentContract: () => getByStudentContract,
199
203
  getEntryContract: () => getEntryContract,
200
204
  getMeContract: () => getMeContract,
205
+ getProfileContract: () => getProfileContract,
201
206
  getResponseSummaryContract: () => getResponseSummaryContract,
202
207
  getStaffByIdContract: () => getStaffByIdContract,
203
208
  getStudentByIdContract: () => getStudentByIdContract,
@@ -277,7 +282,9 @@ __export(src_exports, {
277
282
  switchBranchContract: () => switchBranchContract,
278
283
  updateBankAccountContract: () => updateBankAccountContract,
279
284
  updateCategoryContract: () => updateCategoryContract,
280
- updateStaffStatusContract: () => updateStaffStatusContract
285
+ updateProfileContract: () => updateProfileContract,
286
+ updateStaffStatusContract: () => updateStaffStatusContract,
287
+ verifyPasswordContract: () => verifyPasswordContract
281
288
  });
282
289
  module.exports = __toCommonJS(src_exports);
283
290
 
@@ -385,6 +392,27 @@ var ResetPasswordInputSchema = z2.object({
385
392
  var SwitchBranchInputSchema = z2.object({
386
393
  branchId: z2.string().uuid().meta({ description: "Branch to switch the active session to" })
387
394
  });
395
+ var VerifyPasswordInputSchema = z2.object({
396
+ password: z2.string().min(1).meta({ description: "User's current password, for step-up confirmation" })
397
+ });
398
+ var VerifyPasswordOutputSchema = z2.object({
399
+ valid: z2.boolean()
400
+ });
401
+ var ProfileOutputSchema = z2.object({
402
+ id: z2.string().uuid(),
403
+ email: z2.email(),
404
+ firstName: z2.string(),
405
+ middleName: z2.string().nullable(),
406
+ lastName: z2.string(),
407
+ phone: z2.string().nullable(),
408
+ avatarUrl: z2.string().nullable()
409
+ });
410
+ var UpdateProfileInputSchema = z2.object({
411
+ firstName: z2.string().min(1),
412
+ middleName: z2.string().optional(),
413
+ lastName: z2.string().min(1),
414
+ phone: z2.string().regex(/^\+[1-9]\d{1,14}$/, { error: "Phone must be in E.164 format, e.g. +254712345678" })
415
+ });
388
416
 
389
417
  // src/schemas/hr.ts
390
418
  var z3 = __toESM(require("zod"), 1);
@@ -1136,6 +1164,9 @@ var changePasswordContract = import_contract.oc.route({ method: "POST", path: "/
1136
1164
  var requestPasswordResetContract = import_contract.oc.route({ method: "POST", path: "/auth/request-password-reset" }).input(RequestPasswordResetInputSchema).output(EmptyOutputSchema);
1137
1165
  var resetPasswordContract = import_contract.oc.route({ method: "POST", path: "/auth/reset-password" }).input(ResetPasswordInputSchema).output(EmptyOutputSchema);
1138
1166
  var switchBranchContract = import_contract.oc.route({ method: "POST", path: "/auth/switch-branch" }).input(SwitchBranchInputSchema).output(SessionUserOutputSchema);
1167
+ var verifyPasswordContract = import_contract.oc.route({ method: "POST", path: "/auth/verify-password" }).input(VerifyPasswordInputSchema).output(VerifyPasswordOutputSchema);
1168
+ var getProfileContract = import_contract.oc.route({ method: "GET", path: "/auth/profile" }).output(ProfileOutputSchema);
1169
+ var updateProfileContract = import_contract.oc.route({ method: "PATCH", path: "/auth/profile" }).input(UpdateProfileInputSchema).output(ProfileOutputSchema);
1139
1170
  var authContract = {
1140
1171
  login: loginContract,
1141
1172
  refreshToken: refreshTokenContract,
@@ -1144,7 +1175,10 @@ var authContract = {
1144
1175
  changePassword: changePasswordContract,
1145
1176
  requestPasswordReset: requestPasswordResetContract,
1146
1177
  resetPassword: resetPasswordContract,
1147
- switchBranch: switchBranchContract
1178
+ switchBranch: switchBranchContract,
1179
+ verifyPassword: verifyPasswordContract,
1180
+ profile: getProfileContract,
1181
+ updateProfile: updateProfileContract
1148
1182
  };
1149
1183
 
1150
1184
  // src/contracts/hr.ts
@@ -1670,6 +1704,7 @@ function isScopedToOwnVehicle(user) {
1670
1704
  PaginationInputSchema,
1671
1705
  PortalBlockSchema,
1672
1706
  PortalBlockTypeSchema,
1707
+ ProfileOutputSchema,
1673
1708
  RefreshTokenInputSchema,
1674
1709
  RefreshTokenOutputSchema,
1675
1710
  RejectNotificationInputSchema,
@@ -1697,7 +1732,10 @@ function isScopedToOwnVehicle(user) {
1697
1732
  TimestampsSchema,
1698
1733
  UpdateBankAccountInputSchema,
1699
1734
  UpdateDiaryCategoryInputSchema,
1735
+ UpdateProfileInputSchema,
1700
1736
  UuidSchema,
1737
+ VerifyPasswordInputSchema,
1738
+ VerifyPasswordOutputSchema,
1701
1739
  acknowledgeContract,
1702
1740
  acknowledgeDiaryEntryContract,
1703
1741
  approveContract,
@@ -1765,6 +1803,7 @@ function isScopedToOwnVehicle(user) {
1765
1803
  getByStudentContract,
1766
1804
  getEntryContract,
1767
1805
  getMeContract,
1806
+ getProfileContract,
1768
1807
  getResponseSummaryContract,
1769
1808
  getStaffByIdContract,
1770
1809
  getStudentByIdContract,
@@ -1844,6 +1883,8 @@ function isScopedToOwnVehicle(user) {
1844
1883
  switchBranchContract,
1845
1884
  updateBankAccountContract,
1846
1885
  updateCategoryContract,
1847
- updateStaffStatusContract
1886
+ updateProfileContract,
1887
+ updateStaffStatusContract,
1888
+ verifyPasswordContract
1848
1889
  });
1849
1890
  //# sourceMappingURL=index.cjs.map