@timardex/cluemart-shared 1.5.511 → 1.5.513

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.
Files changed (50) hide show
  1. package/dist/{auth-B5tprOIL.d.ts → auth-BzjaiJG-.d.ts} +1 -1
  2. package/dist/{auth-DtPfNKc4.d.mts → auth-iD4Rqluw.d.mts} +1 -1
  3. package/dist/{chunk-2GSMGPKT.mjs → chunk-3WSV6DBG.mjs} +174 -20
  4. package/dist/chunk-3WSV6DBG.mjs.map +1 -0
  5. package/dist/{chunk-LJJCZVW4.mjs → chunk-TZBKOYFM.mjs} +1 -1
  6. package/dist/{chunk-LJJCZVW4.mjs.map → chunk-TZBKOYFM.mjs.map} +1 -1
  7. package/dist/{chunk-FTEZFZZW.mjs → chunk-U3RFZUPB.mjs} +2 -2
  8. package/dist/{chunk-OMXMDHJ3.mjs → chunk-Z6YIR3MO.mjs} +2 -2
  9. package/dist/formFields/index.d.mts +1 -1
  10. package/dist/formFields/index.d.ts +1 -1
  11. package/dist/formFields/index.mjs +3 -3
  12. package/dist/{game-PMt_jT_7.d.ts → game-BuDAQ4pZ.d.ts} +7 -7
  13. package/dist/{game-65XFYqKi.d.mts → game-muZlkRTN.d.mts} +7 -7
  14. package/dist/{global-B0WdAD-8.d.ts → global-BJxtnZgG.d.ts} +1 -1
  15. package/dist/{global-MMBYi34A.d.mts → global-D2HhYM-3.d.mts} +1 -1
  16. package/dist/graphql/index.cjs +176 -17
  17. package/dist/graphql/index.cjs.map +1 -1
  18. package/dist/graphql/index.d.mts +47 -13
  19. package/dist/graphql/index.d.ts +47 -13
  20. package/dist/graphql/index.mjs +11 -1
  21. package/dist/hooks/index.cjs +203 -19
  22. package/dist/hooks/index.cjs.map +1 -1
  23. package/dist/hooks/index.d.mts +9 -5
  24. package/dist/hooks/index.d.ts +9 -5
  25. package/dist/hooks/index.mjs +98 -6
  26. package/dist/hooks/index.mjs.map +1 -1
  27. package/dist/index.cjs +272 -19
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.mts +72 -15
  30. package/dist/index.d.ts +72 -15
  31. package/dist/index.mjs +265 -19
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/{post-BJHPePwy.d.mts → post-B0FkNm0l.d.mts} +4 -3
  34. package/dist/{post-fnGzMU9c.d.ts → post-CW_37mY1.d.ts} +4 -3
  35. package/dist/{resourceActivities-2FaGRW-i.d.ts → resourceActivities-DtaqfyQY.d.ts} +1 -1
  36. package/dist/{resourceActivities-CqrscA5x.d.mts → resourceActivities-bapPPaIm.d.mts} +1 -1
  37. package/dist/school-B3Hl7Orr.d.ts +23 -0
  38. package/dist/school-CaKcVP6m.d.mts +23 -0
  39. package/dist/types/index.cjs.map +1 -1
  40. package/dist/types/index.d.mts +6 -6
  41. package/dist/types/index.d.ts +6 -6
  42. package/dist/types/index.mjs +1 -1
  43. package/dist/utils/index.cjs.map +1 -1
  44. package/dist/utils/index.d.mts +2 -2
  45. package/dist/utils/index.d.ts +2 -2
  46. package/dist/utils/index.mjs +2 -2
  47. package/package.json +1 -1
  48. package/dist/chunk-2GSMGPKT.mjs.map +0 -1
  49. /package/dist/{chunk-FTEZFZZW.mjs.map → chunk-U3RFZUPB.mjs.map} +0 -0
  50. /package/dist/{chunk-OMXMDHJ3.mjs.map → chunk-Z6YIR3MO.mjs.map} +0 -0
package/dist/index.cjs CHANGED
@@ -83,6 +83,7 @@ __export(index_exports, {
83
83
  dateFormat: () => dateFormat,
84
84
  defaultEventFormValues: () => defaultEventFormValues,
85
85
  defaultEventInfoFormValues: () => defaultEventInfoFormValues,
86
+ defaultLocation: () => defaultLocation,
86
87
  defaultPartnerFormValues: () => defaultPartnerFormValues,
87
88
  defaultUnregisteredVendorFormValues: () => defaultUnregisteredVendorFormValues,
88
89
  defaultVendorFormValues: () => defaultVendorFormValues,
@@ -159,6 +160,7 @@ __export(index_exports, {
159
160
  useCreatePushToken: () => useCreatePushToken,
160
161
  useCreateRelation: () => useCreateRelation,
161
162
  useCreateResourceActivity: () => useCreateResourceActivity,
163
+ useCreateSchool: () => useCreateSchool,
162
164
  useCreateUnregisteredVendor: () => useCreateUnregisteredVendor,
163
165
  useCreateUser: () => useCreateUser,
164
166
  useCreateVendor: () => useCreateVendor,
@@ -171,6 +173,7 @@ __export(index_exports, {
171
173
  useDeletePartner: () => useDeletePartner,
172
174
  useDeletePost: () => useDeletePost,
173
175
  useDeleteRelation: () => useDeleteRelation,
176
+ useDeleteSchool: () => useDeleteSchool,
174
177
  useDeleteUnregisteredVendor: () => useDeleteUnregisteredVendor,
175
178
  useDeleteUser: () => useDeleteUser,
176
179
  useDeleteVendor: () => useDeleteVendor,
@@ -206,6 +209,8 @@ __export(index_exports, {
206
209
  useGetReportedChatUsers: () => useGetReportedChatUsers,
207
210
  useGetResourceActivity: () => useGetResourceActivity,
208
211
  useGetResourceConnections: () => useGetResourceConnections,
212
+ useGetSchool: () => useGetSchool,
213
+ useGetSchools: () => useGetSchools,
209
214
  useGetSubscriptionPlans: () => useGetSubscriptionPlans,
210
215
  useGetSubscriptionStatus: () => useGetSubscriptionStatus,
211
216
  useGetUnregisteredVendor: () => useGetUnregisteredVendor,
@@ -248,6 +253,7 @@ __export(index_exports, {
248
253
  useRequestPasswordResetForm: () => useRequestPasswordResetForm,
249
254
  useResetPassword: () => useResetPassword,
250
255
  useResetPasswordForm: () => useResetPasswordForm,
256
+ useSchoolForm: () => useSchoolForm,
251
257
  useSearchEvents: () => useSearchEvents,
252
258
  useSearchPartners: () => useSearchPartners,
253
259
  useSearchVendors: () => useSearchVendors,
@@ -265,6 +271,7 @@ __export(index_exports, {
265
271
  useUpdatePartner: () => useUpdatePartner,
266
272
  useUpdatePost: () => useUpdatePost,
267
273
  useUpdateRelation: () => useUpdateRelation,
274
+ useUpdateSchool: () => useUpdateSchool,
268
275
  useUpdateSubscriptionPlan: () => useUpdateSubscriptionPlan,
269
276
  useUpdateUnregisteredVendor: () => useUpdateUnregisteredVendor,
270
277
  useUpdateUser: () => useUpdateUser,
@@ -2957,6 +2964,7 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
2957
2964
  promoCodes
2958
2965
  refreshToken
2959
2966
  role
2967
+ school
2960
2968
  termsAgreement {
2961
2969
  ...TermsAgreementFields
2962
2970
  }
@@ -6019,12 +6027,18 @@ var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
6019
6027
  `;
6020
6028
  var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
6021
6029
  fragment GameDataFields on GameDataType {
6030
+ dailyClue {
6031
+ ...DailyClueGameDataFields
6032
+ }
6033
+ }
6034
+ ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
6035
+ `;
6036
+ var GAME_FIELDS_FRAGMENT = import_client55.gql`
6037
+ fragment GameFields on GameType {
6022
6038
  active
6023
6039
  createdAt
6024
6040
  gameData {
6025
- dailyClue {
6026
- ...DailyClueGameDataFields
6027
- }
6041
+ ...GameDataFields
6028
6042
  }
6029
6043
  gameHistory {
6030
6044
  ...GameHistoryFields
@@ -6032,17 +6046,17 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
6032
6046
  gameType
6033
6047
  updatedAt
6034
6048
  }
6035
- ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
6049
+ ${GAME_DATA_FIELDS_FRAGMENT}
6036
6050
  ${GAME_HISTORY_FIELDS_FRAGMENT}
6037
6051
  `;
6038
- var GAME_FIELDS_FRAGMENT = import_client55.gql`
6039
- fragment GameFields on GameType {
6052
+ var GAME_DOC_FIELDS_FRAGMENT = import_client55.gql`
6053
+ fragment GameDocFields on GameDocType {
6040
6054
  _id
6041
6055
  active
6042
6056
  createdAt
6043
6057
  deletedAt
6044
- game {
6045
- ...GameDataFields
6058
+ games {
6059
+ ...GameFields
6046
6060
  }
6047
6061
  owner {
6048
6062
  ...OwnerFields
@@ -6051,23 +6065,23 @@ var GAME_FIELDS_FRAGMENT = import_client55.gql`
6051
6065
  updatedAt
6052
6066
  }
6053
6067
  ${OWNER_FIELDS_FRAGMENT}
6054
- ${GAME_DATA_FIELDS_FRAGMENT}
6068
+ ${GAME_FIELDS_FRAGMENT}
6055
6069
  `;
6056
6070
  var GET_GAMES = import_client55.gql`
6057
6071
  query getGames {
6058
6072
  games {
6059
- ...GameFields
6073
+ ...GameDocFields
6060
6074
  }
6061
6075
  }
6062
- ${GAME_FIELDS_FRAGMENT}
6076
+ ${GAME_DOC_FIELDS_FRAGMENT}
6063
6077
  `;
6064
6078
  var GET_GAME = import_client55.gql`
6065
6079
  query getGame($_id: ID!) {
6066
6080
  game(_id: $_id) {
6067
- ...GameFields
6081
+ ...GameDocFields
6068
6082
  }
6069
6083
  }
6070
- ${GAME_FIELDS_FRAGMENT}
6084
+ ${GAME_DOC_FIELDS_FRAGMENT}
6071
6085
  `;
6072
6086
  var GET_GAME_LEADERBOARD = import_client55.gql`
6073
6087
  query getGameLeaderboard {
@@ -6327,10 +6341,10 @@ var import_client64 = require("@apollo/client");
6327
6341
  var START_GAME_MUTATION = import_client64.gql`
6328
6342
  mutation startGame($input: BaseGameInputType!) {
6329
6343
  startGame(input: $input) {
6330
- ...GameFields
6344
+ ...GameDocFields
6331
6345
  }
6332
6346
  }
6333
- ${GAME_FIELDS_FRAGMENT}
6347
+ ${GAME_DOC_FIELDS_FRAGMENT}
6334
6348
  `;
6335
6349
  var LEAVE_GAME_MUTATION = import_client64.gql`
6336
6350
  mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
@@ -6340,10 +6354,10 @@ var LEAVE_GAME_MUTATION = import_client64.gql`
6340
6354
  var UPDATE_DAILY_CLUE_MUTATION = import_client64.gql`
6341
6355
  mutation updateDailyClueGame($_id: ID!, $foundLetter: String!) {
6342
6356
  updateDailyClueGame(_id: $_id, foundLetter: $foundLetter) {
6343
- ...GameFields
6357
+ ...GameDocFields
6344
6358
  }
6345
6359
  }
6346
- ${GAME_FIELDS_FRAGMENT}
6360
+ ${GAME_DOC_FIELDS_FRAGMENT}
6347
6361
  `;
6348
6362
 
6349
6363
  // src/graphql/hooks/game/hooksMutation.ts
@@ -6425,6 +6439,148 @@ var useGetGameLeaderboard = () => {
6425
6439
  return { error, gameLeaderboard, loading, refetch };
6426
6440
  };
6427
6441
 
6442
+ // src/graphql/hooks/school/hooksMutation.ts
6443
+ var import_client69 = require("@apollo/client");
6444
+
6445
+ // src/graphql/mutations/school.ts
6446
+ var import_client68 = require("@apollo/client");
6447
+
6448
+ // src/graphql/queries/school.ts
6449
+ var import_client67 = require("@apollo/client");
6450
+ var SCHOOL = import_client67.gql`
6451
+ fragment SchoolFields on SchoolType {
6452
+ _id
6453
+ active
6454
+ contactDetails {
6455
+ ...ContactDetailsFields
6456
+ }
6457
+ location {
6458
+ ...LocationFields
6459
+ }
6460
+ createdAt
6461
+ deletedAt
6462
+ logo {
6463
+ ...ResourceImageFields
6464
+ }
6465
+ name
6466
+ owner {
6467
+ ...OwnerFields
6468
+ }
6469
+ region
6470
+ studentCount
6471
+ termsAgreement {
6472
+ ...TermsAgreementFields
6473
+ }
6474
+ updatedAt
6475
+ }
6476
+ ${OWNER_FIELDS_FRAGMENT}
6477
+ ${LOCATION_FIELDS_FRAGMENT}
6478
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
6479
+ ${CONTACT_DETAILS_FIELDS_FRAGMENT}
6480
+ ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
6481
+ `;
6482
+ var GET_SCHOOL = import_client67.gql`
6483
+ query getSchool($_id: ID!) {
6484
+ school(_id: $_id) {
6485
+ ...SchoolFields
6486
+ }
6487
+ }
6488
+ ${SCHOOL}
6489
+ `;
6490
+ var GET_SCHOOLS = import_client67.gql`
6491
+ query getSchools {
6492
+ schools {
6493
+ ...SchoolFields
6494
+ }
6495
+ }
6496
+ ${SCHOOL}
6497
+ `;
6498
+
6499
+ // src/graphql/mutations/school.ts
6500
+ var CREATE_SCHOOL_MUTATION = import_client68.gql`
6501
+ mutation createSchool($input: SchoolInputType!) {
6502
+ createSchool(input: $input) {
6503
+ ...SchoolFields
6504
+ }
6505
+ }
6506
+ ${SCHOOL}
6507
+ `;
6508
+ var UPDATE_SCHOOL_MUTATION = import_client68.gql`
6509
+ mutation updateSchool($_id: ID!, $input: SchoolInputType!) {
6510
+ updateSchool(_id: $_id, input: $input) {
6511
+ ...SchoolFields
6512
+ }
6513
+ }
6514
+ ${SCHOOL}
6515
+ `;
6516
+ var DELETE_SCHOOL_MUTATION = import_client68.gql`
6517
+ mutation deleteSchool($_id: ID!) {
6518
+ deleteSchool(_id: $_id)
6519
+ }
6520
+ `;
6521
+
6522
+ // src/graphql/hooks/school/hooksMutation.ts
6523
+ var useCreateSchool = () => {
6524
+ const [createSchool, { loading, error }] = (0, import_client69.useMutation)(
6525
+ CREATE_SCHOOL_MUTATION,
6526
+ {
6527
+ awaitRefetchQueries: true,
6528
+ refetchQueries: [{ query: GET_SCHOOLS }]
6529
+ }
6530
+ );
6531
+ return { createSchool, error, loading };
6532
+ };
6533
+ var useUpdateSchool = () => {
6534
+ const [updateSchool, { loading, error }] = (0, import_client69.useMutation)(
6535
+ UPDATE_SCHOOL_MUTATION,
6536
+ {
6537
+ awaitRefetchQueries: true,
6538
+ refetchQueries: [{ query: GET_SCHOOLS }]
6539
+ }
6540
+ );
6541
+ return { error, loading, updateSchool };
6542
+ };
6543
+ var useDeleteSchool = () => {
6544
+ const [deleteSchool, { loading, error }] = (0, import_client69.useMutation)(
6545
+ DELETE_SCHOOL_MUTATION,
6546
+ {
6547
+ awaitRefetchQueries: true,
6548
+ refetchQueries: [{ query: GET_SCHOOLS }]
6549
+ }
6550
+ );
6551
+ return { deleteSchool, error, loading };
6552
+ };
6553
+
6554
+ // src/graphql/hooks/school/hooksQuery.ts
6555
+ var import_client70 = require("@apollo/client");
6556
+ var useGetSchools = () => {
6557
+ const { data, loading, error, refetch } = (0, import_client70.useQuery)(
6558
+ GET_SCHOOLS,
6559
+ {
6560
+ fetchPolicy: "network-only"
6561
+ }
6562
+ );
6563
+ return {
6564
+ error,
6565
+ loading,
6566
+ refetch,
6567
+ schools: data?.schools || []
6568
+ };
6569
+ };
6570
+ var useGetSchool = (_id) => {
6571
+ const { data, loading, error, refetch } = (0, import_client70.useQuery)(GET_SCHOOL, {
6572
+ fetchPolicy: "network-only",
6573
+ skip: !_id,
6574
+ variables: { _id }
6575
+ });
6576
+ return {
6577
+ error,
6578
+ loading,
6579
+ refetch,
6580
+ school: data?.school || null
6581
+ };
6582
+ };
6583
+
6428
6584
  // src/hooks/useLocationSearch.ts
6429
6585
  var handleApiError = (error, message) => {
6430
6586
  console.error(message, error);
@@ -6935,8 +7091,8 @@ var yup4 = __toESM(require("yup"));
6935
7091
  var userSchema = yup4.object().shape({
6936
7092
  active: yup4.boolean().required("Active is required"),
6937
7093
  email: emailRequiredSchema,
6938
- firstName: yup4.string().label("First Name").required("First name is required"),
6939
- lastName: yup4.string().label("Last Name").required("Last name is required"),
7094
+ firstName: yup4.string().label("First Name").trim().required("First name is required"),
7095
+ lastName: yup4.string().label("Last Name").trim().required("Last name is required"),
6940
7096
  isTester: yup4.boolean().required("Tester status is required"),
6941
7097
  password: yup4.string().nullable().trim().label("Password").min(8, "Password must be at least 8 characters long").notRequired(),
6942
7098
  preferredRegion: yup4.string().label("Preferred Region").required("Preferred region is required"),
@@ -8182,6 +8338,96 @@ function useAppSettingsForm(data) {
8182
8338
  };
8183
8339
  }
8184
8340
 
8341
+ // src/hooks/useSchoolForm.ts
8342
+ var import_yup16 = require("@hookform/resolvers/yup");
8343
+ var import_react5 = require("react");
8344
+ var import_react_hook_form16 = require("react-hook-form");
8345
+
8346
+ // src/yupSchema/school.ts
8347
+ var yup11 = __toESM(require("yup"));
8348
+ var schoolSchema = yup11.object().shape({
8349
+ active: yup11.boolean().required("Active is required"),
8350
+ contactDetails: contactDetailsSchema,
8351
+ location: locationSchema,
8352
+ name: yup11.string().trim().required("Name is required"),
8353
+ region: yup11.string().trim().required("Region is required"),
8354
+ studentCount: yup11.number().label("Student Count").min(0, "Student count cannot be negative").required("Student count is required").test("no-leading-zeros", "", noLeadingZeros("Student Count"))
8355
+ });
8356
+
8357
+ // src/hooks/useSchoolForm.ts
8358
+ var defaultSchoolFormValues = {
8359
+ active: false,
8360
+ contactDetails: null,
8361
+ location: defaultLocation,
8362
+ logo: null,
8363
+ logoUpload: null,
8364
+ name: "",
8365
+ region: "",
8366
+ studentCount: 0,
8367
+ termsAgreement: null
8368
+ };
8369
+ function useSchoolForm(data) {
8370
+ const {
8371
+ control,
8372
+ formState,
8373
+ getValues,
8374
+ handleSubmit,
8375
+ reset,
8376
+ setValue,
8377
+ watch
8378
+ } = (0, import_react_hook_form16.useForm)({
8379
+ defaultValues: defaultSchoolFormValues,
8380
+ resolver: (0, import_yup16.yupResolver)(schoolSchema)
8381
+ });
8382
+ (0, import_react5.useEffect)(() => {
8383
+ if (data) {
8384
+ reset({
8385
+ active: data.active,
8386
+ contactDetails: data.contactDetails,
8387
+ location: data.location,
8388
+ logo: data.logo,
8389
+ logoUpload: data.logoUpload,
8390
+ name: data.name,
8391
+ region: data.region,
8392
+ studentCount: data.studentCount,
8393
+ termsAgreement: data.termsAgreement
8394
+ });
8395
+ } else {
8396
+ reset(defaultSchoolFormValues);
8397
+ }
8398
+ }, [data]);
8399
+ const {
8400
+ active,
8401
+ contactDetails,
8402
+ location,
8403
+ logo,
8404
+ logoUpload,
8405
+ name,
8406
+ region,
8407
+ studentCount,
8408
+ termsAgreement
8409
+ } = getValues();
8410
+ return {
8411
+ control,
8412
+ fields: {
8413
+ active,
8414
+ contactDetails,
8415
+ location,
8416
+ logo,
8417
+ logoUpload,
8418
+ name,
8419
+ region,
8420
+ studentCount,
8421
+ termsAgreement
8422
+ },
8423
+ formState,
8424
+ handleSubmit,
8425
+ reset,
8426
+ setValue,
8427
+ watch
8428
+ };
8429
+ }
8430
+
8185
8431
  // src/storage/index.ts
8186
8432
  var SAVED_PASSWORD_KEY = "savedPassword";
8187
8433
  var SAVED_EMAIL_KEY = "savedEmail";
@@ -8298,6 +8544,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8298
8544
  dateFormat,
8299
8545
  defaultEventFormValues,
8300
8546
  defaultEventInfoFormValues,
8547
+ defaultLocation,
8301
8548
  defaultPartnerFormValues,
8302
8549
  defaultUnregisteredVendorFormValues,
8303
8550
  defaultVendorFormValues,
@@ -8374,6 +8621,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8374
8621
  useCreatePushToken,
8375
8622
  useCreateRelation,
8376
8623
  useCreateResourceActivity,
8624
+ useCreateSchool,
8377
8625
  useCreateUnregisteredVendor,
8378
8626
  useCreateUser,
8379
8627
  useCreateVendor,
@@ -8386,6 +8634,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8386
8634
  useDeletePartner,
8387
8635
  useDeletePost,
8388
8636
  useDeleteRelation,
8637
+ useDeleteSchool,
8389
8638
  useDeleteUnregisteredVendor,
8390
8639
  useDeleteUser,
8391
8640
  useDeleteVendor,
@@ -8421,6 +8670,8 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8421
8670
  useGetReportedChatUsers,
8422
8671
  useGetResourceActivity,
8423
8672
  useGetResourceConnections,
8673
+ useGetSchool,
8674
+ useGetSchools,
8424
8675
  useGetSubscriptionPlans,
8425
8676
  useGetSubscriptionStatus,
8426
8677
  useGetUnregisteredVendor,
@@ -8463,6 +8714,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8463
8714
  useRequestPasswordResetForm,
8464
8715
  useResetPassword,
8465
8716
  useResetPasswordForm,
8717
+ useSchoolForm,
8466
8718
  useSearchEvents,
8467
8719
  useSearchPartners,
8468
8720
  useSearchVendors,
@@ -8480,6 +8732,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
8480
8732
  useUpdatePartner,
8481
8733
  useUpdatePost,
8482
8734
  useUpdateRelation,
8735
+ useUpdateSchool,
8483
8736
  useUpdateSubscriptionPlan,
8484
8737
  useUpdateUnregisteredVendor,
8485
8738
  useUpdateUser,