@timardex/cluemart-shared 1.2.72 → 1.2.74

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/index.cjs CHANGED
@@ -2377,7 +2377,7 @@ var partnerBasicInfoFields = [
2377
2377
  ];
2378
2378
 
2379
2379
  // src/graphql/hooks/admin/hooksMutation.ts
2380
- var import_react = require("@apollo/client/react");
2380
+ var import_client5 = require("@apollo/client");
2381
2381
 
2382
2382
  // src/graphql/mutations/admin.ts
2383
2383
  var import_client = require("@apollo/client");
@@ -2459,7 +2459,7 @@ var TERMS_AGREEMENT_FIELDS_FRAGMENT = import_client2.gql`
2459
2459
  }
2460
2460
  `;
2461
2461
  var LICENCE_FIELDS_FRAGMENT = import_client2.gql`
2462
- fragment LicenceFields on LicenceType {
2462
+ fragment LicenceFields on UserLicenceType {
2463
2463
  expiryDate
2464
2464
  issuedDate
2465
2465
  licenceType
@@ -2953,7 +2953,7 @@ var GET_VENDOR_INFO = import_client4.gql`
2953
2953
 
2954
2954
  // src/graphql/hooks/admin/hooksMutation.ts
2955
2955
  var useAdminUpdateResourceType = () => {
2956
- const [adminUpdateResourceType, { loading, error }] = (0, import_react.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
2956
+ const [adminUpdateResourceType, { loading, error }] = (0, import_client5.useMutation)(ADMIN_UPDATE_RESOURCE_TYPE_MUTATION, {
2957
2957
  awaitRefetchQueries: true,
2958
2958
  refetchQueries: (mutationResult) => {
2959
2959
  const adminUpdateResourceType2 = mutationResult?.data?.adminUpdateResourceType;
@@ -2977,11 +2977,11 @@ var useAdminUpdateResourceType = () => {
2977
2977
  };
2978
2978
 
2979
2979
  // src/graphql/hooks/auth.ts
2980
- var import_react2 = require("@apollo/client/react");
2980
+ var import_client7 = require("@apollo/client");
2981
2981
 
2982
2982
  // src/graphql/mutations/auth.ts
2983
- var import_client5 = require("@apollo/client");
2984
- var REGISTER_MUTATION = import_client5.gql`
2983
+ var import_client6 = require("@apollo/client");
2984
+ var REGISTER_MUTATION = import_client6.gql`
2985
2985
  mutation register($input: RegisterInputType!) {
2986
2986
  register(input: $input) {
2987
2987
  message
@@ -2994,7 +2994,7 @@ var REGISTER_MUTATION = import_client5.gql`
2994
2994
  }
2995
2995
  ${USER_FIELDS_FRAGMENT}
2996
2996
  `;
2997
- var LOGIN_MUTATION = import_client5.gql`
2997
+ var LOGIN_MUTATION = import_client6.gql`
2998
2998
  mutation login($input: LoginInputType!) {
2999
2999
  login(input: $input) {
3000
3000
  message
@@ -3007,14 +3007,14 @@ var LOGIN_MUTATION = import_client5.gql`
3007
3007
  }
3008
3008
  ${USER_FIELDS_FRAGMENT}
3009
3009
  `;
3010
- var LOGOUT_MUTATION = import_client5.gql`
3010
+ var LOGOUT_MUTATION = import_client6.gql`
3011
3011
  mutation logout {
3012
3012
  logout {
3013
3013
  message
3014
3014
  }
3015
3015
  }
3016
3016
  `;
3017
- var REFRESH_TOKEN_MUTATION = import_client5.gql`
3017
+ var REFRESH_TOKEN_MUTATION = import_client6.gql`
3018
3018
  mutation refreshToken($input: RefreshTokenInputType!) {
3019
3019
  refreshToken(input: $input) {
3020
3020
  refreshToken
@@ -3022,21 +3022,21 @@ var REFRESH_TOKEN_MUTATION = import_client5.gql`
3022
3022
  }
3023
3023
  }
3024
3024
  `;
3025
- var RESET_PASSWORD_MUTATION = import_client5.gql`
3025
+ var RESET_PASSWORD_MUTATION = import_client6.gql`
3026
3026
  mutation resetPassword($input: ResetPasswordInputType!) {
3027
3027
  resetPassword(input: $input) {
3028
3028
  message
3029
3029
  }
3030
3030
  }
3031
3031
  `;
3032
- var REQUEST_PASSWORD_RESET_MUTATION = import_client5.gql`
3032
+ var REQUEST_PASSWORD_RESET_MUTATION = import_client6.gql`
3033
3033
  mutation requestPasswordReset($input: RequestPasswordResetInputType!) {
3034
3034
  requestPasswordReset(input: $input) {
3035
3035
  message
3036
3036
  }
3037
3037
  }
3038
3038
  `;
3039
- var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client5.gql`
3039
+ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client6.gql`
3040
3040
  mutation validateVerificationToken(
3041
3041
  $input: ValidateVerificationTokenInputType!
3042
3042
  ) {
@@ -3048,51 +3048,51 @@ var VALIDATE_VERIFICATION_TOKEN_MUTATION = import_client5.gql`
3048
3048
 
3049
3049
  // src/graphql/hooks/auth.ts
3050
3050
  var useRegister = () => {
3051
- const [register, { loading, error }] = (0, import_react2.useMutation)(REGISTER_MUTATION);
3051
+ const [register, { loading, error }] = (0, import_client7.useMutation)(REGISTER_MUTATION);
3052
3052
  return { error, loading, register };
3053
3053
  };
3054
3054
  var useLogin = () => {
3055
- const [login, { loading, error }] = (0, import_react2.useMutation)(LOGIN_MUTATION);
3055
+ const [login, { loading, error }] = (0, import_client7.useMutation)(LOGIN_MUTATION);
3056
3056
  return { error, loading, login };
3057
3057
  };
3058
3058
  var useLogout = () => {
3059
- const [logout, { loading, error }] = (0, import_react2.useMutation)(LOGOUT_MUTATION);
3059
+ const [logout, { loading, error }] = (0, import_client7.useMutation)(LOGOUT_MUTATION);
3060
3060
  return { error, loading, logout };
3061
3061
  };
3062
3062
  var useRefreshToken = () => {
3063
- const [refreshToken, { loading, error }] = (0, import_react2.useMutation)(
3063
+ const [refreshToken, { loading, error }] = (0, import_client7.useMutation)(
3064
3064
  REFRESH_TOKEN_MUTATION
3065
3065
  );
3066
3066
  return { error, loading, refreshToken };
3067
3067
  };
3068
3068
  var useRequestPasswordReset = () => {
3069
- const [requestPasswordReset, { loading, error }] = (0, import_react2.useMutation)(
3069
+ const [requestPasswordReset, { loading, error }] = (0, import_client7.useMutation)(
3070
3070
  REQUEST_PASSWORD_RESET_MUTATION
3071
3071
  );
3072
3072
  return { error, loading, requestPasswordReset };
3073
3073
  };
3074
3074
  var useValidateVerificationToken = () => {
3075
- const [validateVerificationToken, { loading, error }] = (0, import_react2.useMutation)(
3075
+ const [validateVerificationToken, { loading, error }] = (0, import_client7.useMutation)(
3076
3076
  VALIDATE_VERIFICATION_TOKEN_MUTATION
3077
3077
  );
3078
3078
  return { error, loading, validateVerificationToken };
3079
3079
  };
3080
3080
  var useResetPassword = () => {
3081
- const [resetPassword, { loading, error }] = (0, import_react2.useMutation)(
3081
+ const [resetPassword, { loading, error }] = (0, import_client7.useMutation)(
3082
3082
  RESET_PASSWORD_MUTATION
3083
3083
  );
3084
3084
  return { error, loading, resetPassword };
3085
3085
  };
3086
3086
 
3087
3087
  // src/graphql/hooks/chat/hooksMutation.ts
3088
- var import_react3 = require("@apollo/client/react");
3088
+ var import_client10 = require("@apollo/client");
3089
3089
 
3090
3090
  // src/graphql/mutations/chat.ts
3091
- var import_client7 = require("@apollo/client");
3091
+ var import_client9 = require("@apollo/client");
3092
3092
 
3093
3093
  // src/graphql/queries/chat.ts
3094
- var import_client6 = require("@apollo/client");
3095
- var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client6.gql`
3094
+ var import_client8 = require("@apollo/client");
3095
+ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client8.gql`
3096
3096
  fragment ChatMessageFields on ChatMessageType {
3097
3097
  _id
3098
3098
  content
@@ -3101,7 +3101,7 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client6.gql`
3101
3101
  updatedAt
3102
3102
  }
3103
3103
  `;
3104
- var CHAT_PARTICIPANT = import_client6.gql`
3104
+ var CHAT_PARTICIPANT = import_client8.gql`
3105
3105
  fragment ChatParticipantFields on ChatParticipantType {
3106
3106
  active
3107
3107
  userAvatar
@@ -3110,7 +3110,7 @@ var CHAT_PARTICIPANT = import_client6.gql`
3110
3110
  userName
3111
3111
  }
3112
3112
  `;
3113
- var CHAT_FIELDS_FRAGMENT = import_client6.gql`
3113
+ var CHAT_FIELDS_FRAGMENT = import_client8.gql`
3114
3114
  fragment ChatFields on ChatType {
3115
3115
  _id
3116
3116
  active
@@ -3134,7 +3134,7 @@ var CHAT_FIELDS_FRAGMENT = import_client6.gql`
3134
3134
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
3135
3135
  ${CHAT_PARTICIPANT}
3136
3136
  `;
3137
- var CHAT = import_client6.gql`
3137
+ var CHAT = import_client8.gql`
3138
3138
  query chat($_id: ID!) {
3139
3139
  chat(_id: $_id) {
3140
3140
  ...ChatFields
@@ -3142,7 +3142,7 @@ var CHAT = import_client6.gql`
3142
3142
  }
3143
3143
  ${CHAT_FIELDS_FRAGMENT}
3144
3144
  `;
3145
- var USER_CHATS = import_client6.gql`
3145
+ var USER_CHATS = import_client8.gql`
3146
3146
  query userChats {
3147
3147
  userChats {
3148
3148
  ...ChatFields
@@ -3152,7 +3152,7 @@ var USER_CHATS = import_client6.gql`
3152
3152
  `;
3153
3153
 
3154
3154
  // src/graphql/mutations/chat.ts
3155
- var SEND_CHAT_MESSAGE_MUTATION = import_client7.gql`
3155
+ var SEND_CHAT_MESSAGE_MUTATION = import_client9.gql`
3156
3156
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
3157
3157
  sendChatMessage(_id: $_id, input: $input) {
3158
3158
  ...ChatFields
@@ -3160,12 +3160,12 @@ var SEND_CHAT_MESSAGE_MUTATION = import_client7.gql`
3160
3160
  }
3161
3161
  ${CHAT_FIELDS_FRAGMENT}
3162
3162
  `;
3163
- var DELETE_CHAT_MUTATION = import_client7.gql`
3163
+ var DELETE_CHAT_MUTATION = import_client9.gql`
3164
3164
  mutation deleteChat($_id: ID!) {
3165
3165
  deleteChat(_id: $_id)
3166
3166
  }
3167
3167
  `;
3168
- var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client7.gql`
3168
+ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client9.gql`
3169
3169
  mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
3170
3170
  addParticipantToChat(chatId: $chatId, userId: $userId) {
3171
3171
  ...ChatFields
@@ -3173,7 +3173,7 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = import_client7.gql`
3173
3173
  }
3174
3174
  ${CHAT_FIELDS_FRAGMENT}
3175
3175
  `;
3176
- var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client7.gql`
3176
+ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client9.gql`
3177
3177
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
3178
3178
  removeParticipantFromChat(chatId: $chatId, userId: $userId)
3179
3179
  }
@@ -3181,7 +3181,7 @@ var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = import_client7.gql`
3181
3181
 
3182
3182
  // src/graphql/hooks/chat/hooksMutation.ts
3183
3183
  var useSendChatMessage = () => {
3184
- const [sendChatMessage, { loading, error }] = (0, import_react3.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
3184
+ const [sendChatMessage, { loading, error }] = (0, import_client10.useMutation)(SEND_CHAT_MESSAGE_MUTATION, {
3185
3185
  awaitRefetchQueries: true,
3186
3186
  refetchQueries: (mutationResult) => {
3187
3187
  const chatId = mutationResult?.data?.sendChatMessage?._id;
@@ -3196,14 +3196,14 @@ var useSendChatMessage = () => {
3196
3196
  return { error, loading, sendChatMessage };
3197
3197
  };
3198
3198
  var useDeleteChat = () => {
3199
- const [deleteChat, { loading, error }] = (0, import_react3.useMutation)(DELETE_CHAT_MUTATION, {
3199
+ const [deleteChat, { loading, error }] = (0, import_client10.useMutation)(DELETE_CHAT_MUTATION, {
3200
3200
  awaitRefetchQueries: true,
3201
3201
  refetchQueries: [{ query: USER_CHATS }]
3202
3202
  });
3203
3203
  return { deleteChat, error, loading };
3204
3204
  };
3205
3205
  var useAddParticipantToChat = () => {
3206
- const [addParticipantToChat, { loading, error }] = (0, import_react3.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
3206
+ const [addParticipantToChat, { loading, error }] = (0, import_client10.useMutation)(ADD_PARTICIPANT_TO_CHAT_MUTATION, {
3207
3207
  awaitRefetchQueries: true,
3208
3208
  refetchQueries: (mutationResult) => {
3209
3209
  const chatId = mutationResult?.data?.addParticipantToChat?._id;
@@ -3221,7 +3221,7 @@ var useAddParticipantToChat = () => {
3221
3221
  return { addParticipantToChat, error, loading };
3222
3222
  };
3223
3223
  var useRemoveParticipantFromChat = () => {
3224
- const [removeParticipantFromChat, { loading, error }] = (0, import_react3.useMutation)(
3224
+ const [removeParticipantFromChat, { loading, error }] = (0, import_client10.useMutation)(
3225
3225
  REMOVE_PARTICIPANT_FROM_CHAT_MUTATION,
3226
3226
  {
3227
3227
  awaitRefetchQueries: true,
@@ -3232,11 +3232,11 @@ var useRemoveParticipantFromChat = () => {
3232
3232
  };
3233
3233
 
3234
3234
  // src/graphql/hooks/chat/hooksQuery.ts
3235
- var import_react4 = require("@apollo/client/react");
3235
+ var import_client12 = require("@apollo/client");
3236
3236
 
3237
3237
  // src/graphql/subscriptions/chat.ts
3238
- var import_client8 = require("@apollo/client");
3239
- var GET_CHAT_MESSAGE = import_client8.gql`
3238
+ var import_client11 = require("@apollo/client");
3239
+ var GET_CHAT_MESSAGE = import_client11.gql`
3240
3240
  subscription {
3241
3241
  getChatMessage {
3242
3242
  ...ChatFields
@@ -3247,7 +3247,7 @@ var GET_CHAT_MESSAGE = import_client8.gql`
3247
3247
 
3248
3248
  // src/graphql/hooks/chat/hooksQuery.ts
3249
3249
  var useGetChat = (_id) => {
3250
- const { loading, error, data, refetch } = (0, import_react4.useQuery)(CHAT, {
3250
+ const { loading, error, data, refetch } = (0, import_client12.useQuery)(CHAT, {
3251
3251
  fetchPolicy: "network-only",
3252
3252
  skip: !_id,
3253
3253
  variables: { _id }
@@ -3256,7 +3256,7 @@ var useGetChat = (_id) => {
3256
3256
  return { chat, error, loading, refetch };
3257
3257
  };
3258
3258
  var useGetUserChats = () => {
3259
- const { loading, error, data, refetch } = (0, import_react4.useQuery)(
3259
+ const { loading, error, data, refetch } = (0, import_client12.useQuery)(
3260
3260
  USER_CHATS,
3261
3261
  {
3262
3262
  fetchPolicy: "network-only"
@@ -3266,7 +3266,7 @@ var useGetUserChats = () => {
3266
3266
  return { error, loading, refetch, userChats };
3267
3267
  };
3268
3268
  var useGetChatSubscription = () => {
3269
- const { data, loading, error } = (0, import_react4.useSubscription)(
3269
+ const { data, loading, error } = (0, import_client12.useSubscription)(
3270
3270
  GET_CHAT_MESSAGE
3271
3271
  );
3272
3272
  const chat = data?.getChat;
@@ -3274,11 +3274,11 @@ var useGetChatSubscription = () => {
3274
3274
  };
3275
3275
 
3276
3276
  // src/graphql/hooks/contactUs.ts
3277
- var import_react5 = require("@apollo/client/react");
3277
+ var import_client14 = require("@apollo/client");
3278
3278
 
3279
3279
  // src/graphql/mutations/contactUs.ts
3280
- var import_client9 = require("@apollo/client");
3281
- var CONTACT_US_MUTATION = import_client9.gql`
3280
+ var import_client13 = require("@apollo/client");
3281
+ var CONTACT_US_MUTATION = import_client13.gql`
3282
3282
  mutation contactUs($input: ContactUsInputType!) {
3283
3283
  contactUs(input: $input) {
3284
3284
  message
@@ -3288,16 +3288,16 @@ var CONTACT_US_MUTATION = import_client9.gql`
3288
3288
 
3289
3289
  // src/graphql/hooks/contactUs.ts
3290
3290
  var useContactUs = () => {
3291
- const [contactUs, { loading, error }] = (0, import_react5.useMutation)(CONTACT_US_MUTATION);
3291
+ const [contactUs, { loading, error }] = (0, import_client14.useMutation)(CONTACT_US_MUTATION);
3292
3292
  return { contactUs, error, loading };
3293
3293
  };
3294
3294
 
3295
3295
  // src/graphql/hooks/event/hooksMutation.ts
3296
- var import_react6 = require("@apollo/client/react");
3296
+ var import_client18 = require("@apollo/client");
3297
3297
 
3298
3298
  // src/graphql/mutations/event.ts
3299
- var import_client10 = require("@apollo/client");
3300
- var CREATE_EVENT_MUTATION = import_client10.gql`
3299
+ var import_client15 = require("@apollo/client");
3300
+ var CREATE_EVENT_MUTATION = import_client15.gql`
3301
3301
  mutation createEvent($input: EventInputType!) {
3302
3302
  createEvent(input: $input) {
3303
3303
  ...EventFields
@@ -3305,7 +3305,7 @@ var CREATE_EVENT_MUTATION = import_client10.gql`
3305
3305
  }
3306
3306
  ${EVENT}
3307
3307
  `;
3308
- var UPDATE_EVENT_MUTATION = import_client10.gql`
3308
+ var UPDATE_EVENT_MUTATION = import_client15.gql`
3309
3309
  mutation updateEvent($_id: ID!, $input: EventInputType!) {
3310
3310
  updateEvent(_id: $_id, input: $input) {
3311
3311
  ...EventFields
@@ -3313,12 +3313,12 @@ var UPDATE_EVENT_MUTATION = import_client10.gql`
3313
3313
  }
3314
3314
  ${EVENT}
3315
3315
  `;
3316
- var DELETE_EVENT_MUTATION = import_client10.gql`
3316
+ var DELETE_EVENT_MUTATION = import_client15.gql`
3317
3317
  mutation deleteEvent($_id: ID!) {
3318
3318
  deleteEvent(_id: $_id)
3319
3319
  }
3320
3320
  `;
3321
- var CREATE_EVENT_INFO_MUTATION = import_client10.gql`
3321
+ var CREATE_EVENT_INFO_MUTATION = import_client15.gql`
3322
3322
  mutation createEventInfo($input: EventInfoInputType!) {
3323
3323
  createEventInfo(input: $input) {
3324
3324
  ...EventInfoFields
@@ -3326,7 +3326,7 @@ var CREATE_EVENT_INFO_MUTATION = import_client10.gql`
3326
3326
  }
3327
3327
  ${EVENT_INFO}
3328
3328
  `;
3329
- var UPDATE_EVENT_INFO_MUTATION = import_client10.gql`
3329
+ var UPDATE_EVENT_INFO_MUTATION = import_client15.gql`
3330
3330
  mutation updateEventInfo($_id: ID!, $input: EventInfoInputType!) {
3331
3331
  updateEventInfo(_id: $_id, input: $input) {
3332
3332
  ...EventInfoFields
@@ -3336,11 +3336,11 @@ var UPDATE_EVENT_INFO_MUTATION = import_client10.gql`
3336
3336
  `;
3337
3337
 
3338
3338
  // src/graphql/queries/user.ts
3339
- var import_client12 = require("@apollo/client");
3339
+ var import_client17 = require("@apollo/client");
3340
3340
 
3341
3341
  // src/graphql/queries/partner.ts
3342
- var import_client11 = require("@apollo/client");
3343
- var PARTNER = import_client11.gql`
3342
+ var import_client16 = require("@apollo/client");
3343
+ var PARTNER = import_client16.gql`
3344
3344
  fragment PartnerFields on PartnerType {
3345
3345
  _id
3346
3346
  active
@@ -3394,7 +3394,7 @@ var PARTNER = import_client11.gql`
3394
3394
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
3395
3395
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
3396
3396
  `;
3397
- var GET_PARTNERS = import_client11.gql`
3397
+ var GET_PARTNERS = import_client16.gql`
3398
3398
  query getPartners {
3399
3399
  partners {
3400
3400
  ...PartnerFields
@@ -3402,7 +3402,7 @@ var GET_PARTNERS = import_client11.gql`
3402
3402
  }
3403
3403
  ${PARTNER}
3404
3404
  `;
3405
- var GET_PARTNER = import_client11.gql`
3405
+ var GET_PARTNER = import_client16.gql`
3406
3406
  query getPartner($_id: ID!) {
3407
3407
  partner(_id: $_id) {
3408
3408
  ...PartnerFields
@@ -3410,7 +3410,7 @@ var GET_PARTNER = import_client11.gql`
3410
3410
  }
3411
3411
  ${PARTNER}
3412
3412
  `;
3413
- var GET_PARTNERS_BY_REGION = import_client11.gql`
3413
+ var GET_PARTNERS_BY_REGION = import_client16.gql`
3414
3414
  query getPartnersByRegion($region: String!) {
3415
3415
  partnersByRegion(region: $region) {
3416
3416
  ...PartnerFields
@@ -3418,7 +3418,7 @@ var GET_PARTNERS_BY_REGION = import_client11.gql`
3418
3418
  }
3419
3419
  ${PARTNER}
3420
3420
  `;
3421
- var SEARCH_PARTNERS = import_client11.gql`
3421
+ var SEARCH_PARTNERS = import_client16.gql`
3422
3422
  query searchPartners($search: String!, $region: String) {
3423
3423
  partnersSearch(search: $search, region: $region) {
3424
3424
  ...PartnerFields
@@ -3428,7 +3428,7 @@ var SEARCH_PARTNERS = import_client11.gql`
3428
3428
  `;
3429
3429
 
3430
3430
  // src/graphql/queries/user.ts
3431
- var GET_USERS = import_client12.gql`
3431
+ var GET_USERS = import_client17.gql`
3432
3432
  query getUsers {
3433
3433
  users {
3434
3434
  ...UserFields
@@ -3436,7 +3436,7 @@ var GET_USERS = import_client12.gql`
3436
3436
  }
3437
3437
  ${USER_FIELDS_FRAGMENT}
3438
3438
  `;
3439
- var GET_USER = import_client12.gql`
3439
+ var GET_USER = import_client17.gql`
3440
3440
  query getUser($_id: ID!) {
3441
3441
  user(_id: $_id) {
3442
3442
  ...UserFields
@@ -3444,7 +3444,7 @@ var GET_USER = import_client12.gql`
3444
3444
  }
3445
3445
  ${USER_FIELDS_FRAGMENT}
3446
3446
  `;
3447
- var GET_USER_EVENTS = import_client12.gql`
3447
+ var GET_USER_EVENTS = import_client17.gql`
3448
3448
  query getUserEvents {
3449
3449
  userEvents {
3450
3450
  ...EventFields
@@ -3452,7 +3452,7 @@ var GET_USER_EVENTS = import_client12.gql`
3452
3452
  }
3453
3453
  ${EVENT}
3454
3454
  `;
3455
- var GET_USER_VENDORS = import_client12.gql`
3455
+ var GET_USER_VENDORS = import_client17.gql`
3456
3456
  query getUserVendors {
3457
3457
  userVendors {
3458
3458
  ...VendorFields
@@ -3460,7 +3460,7 @@ var GET_USER_VENDORS = import_client12.gql`
3460
3460
  }
3461
3461
  ${VENDOR}
3462
3462
  `;
3463
- var GET_USER_PARTNERS = import_client12.gql`
3463
+ var GET_USER_PARTNERS = import_client17.gql`
3464
3464
  query getUserPartners {
3465
3465
  userPartners {
3466
3466
  ...PartnerFields
@@ -3468,7 +3468,7 @@ var GET_USER_PARTNERS = import_client12.gql`
3468
3468
  }
3469
3469
  ${PARTNER}
3470
3470
  `;
3471
- var GET_USER_ACTIVITIES = import_client12.gql`
3471
+ var GET_USER_ACTIVITIES = import_client17.gql`
3472
3472
  query getUserActivities {
3473
3473
  userActivities {
3474
3474
  favourites {
@@ -3502,28 +3502,28 @@ var GET_USER_ACTIVITIES = import_client12.gql`
3502
3502
 
3503
3503
  // src/graphql/hooks/event/hooksMutation.ts
3504
3504
  var useCreateEvent = () => {
3505
- const [createEvent, { loading, error }] = (0, import_react6.useMutation)(CREATE_EVENT_MUTATION, {
3505
+ const [createEvent, { loading, error }] = (0, import_client18.useMutation)(CREATE_EVENT_MUTATION, {
3506
3506
  awaitRefetchQueries: true,
3507
3507
  refetchQueries: [{ query: GET_USER_EVENTS }]
3508
3508
  });
3509
3509
  return { createEvent, error, loading };
3510
3510
  };
3511
3511
  var useUpdateEvent = () => {
3512
- const [updateEvent, { loading, error }] = (0, import_react6.useMutation)(UPDATE_EVENT_MUTATION, {
3512
+ const [updateEvent, { loading, error }] = (0, import_client18.useMutation)(UPDATE_EVENT_MUTATION, {
3513
3513
  awaitRefetchQueries: true,
3514
3514
  refetchQueries: [{ query: GET_USER_EVENTS }]
3515
3515
  });
3516
3516
  return { error, loading, updateEvent };
3517
3517
  };
3518
3518
  var useDeleteEvent = () => {
3519
- const [deleteEvent, { loading, error }] = (0, import_react6.useMutation)(DELETE_EVENT_MUTATION, {
3519
+ const [deleteEvent, { loading, error }] = (0, import_client18.useMutation)(DELETE_EVENT_MUTATION, {
3520
3520
  awaitRefetchQueries: true,
3521
3521
  refetchQueries: [{ query: GET_USER_EVENTS }]
3522
3522
  });
3523
3523
  return { deleteEvent, error, loading };
3524
3524
  };
3525
3525
  var useCreateEventInfo = () => {
3526
- const [createEventInfo, { loading, error }] = (0, import_react6.useMutation)(CREATE_EVENT_INFO_MUTATION, {
3526
+ const [createEventInfo, { loading, error }] = (0, import_client18.useMutation)(CREATE_EVENT_INFO_MUTATION, {
3527
3527
  awaitRefetchQueries: true,
3528
3528
  refetchQueries: (mutationResult) => {
3529
3529
  const eventId = mutationResult?.data?.createEventInfo?.eventId;
@@ -3547,7 +3547,7 @@ var useCreateEventInfo = () => {
3547
3547
  return { createEventInfo, error, loading };
3548
3548
  };
3549
3549
  var useUpdateEventInfo = () => {
3550
- const [updateEventInfo, { loading, error }] = (0, import_react6.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
3550
+ const [updateEventInfo, { loading, error }] = (0, import_client18.useMutation)(UPDATE_EVENT_INFO_MUTATION, {
3551
3551
  awaitRefetchQueries: true,
3552
3552
  refetchQueries: (mutationResult) => {
3553
3553
  const eventId = mutationResult?.data?.updateEventInfo?.eventId;
@@ -3570,9 +3570,9 @@ var useUpdateEventInfo = () => {
3570
3570
  };
3571
3571
 
3572
3572
  // src/graphql/hooks/event/hooksQuery.ts
3573
- var import_react7 = require("@apollo/client/react");
3573
+ var import_client19 = require("@apollo/client");
3574
3574
  var useGetEvents = () => {
3575
- const { loading, error, data, refetch } = (0, import_react7.useQuery)(
3575
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(
3576
3576
  GET_EVENTS,
3577
3577
  {
3578
3578
  fetchPolicy: "network-only"
@@ -3582,7 +3582,7 @@ var useGetEvents = () => {
3582
3582
  return { error, events, loading, refetch };
3583
3583
  };
3584
3584
  var useGetEvent = (_id) => {
3585
- const { loading, error, data, refetch } = (0, import_react7.useQuery)(
3585
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(
3586
3586
  GET_EVENT,
3587
3587
  {
3588
3588
  fetchPolicy: "network-only",
@@ -3594,7 +3594,7 @@ var useGetEvent = (_id) => {
3594
3594
  return { error, event, loading, refetch };
3595
3595
  };
3596
3596
  var useGetEventsByRegion = (region) => {
3597
- const { loading, error, data, refetch } = (0, import_react7.useQuery)(GET_EVENTS_BY_REGION, {
3597
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENTS_BY_REGION, {
3598
3598
  fetchPolicy: "no-cache",
3599
3599
  skip: !region,
3600
3600
  variables: { region }
@@ -3603,7 +3603,7 @@ var useGetEventsByRegion = (region) => {
3603
3603
  return { error, eventsByRegion, loading, refetch };
3604
3604
  };
3605
3605
  var useSearchEvents = (search, region) => {
3606
- const { loading, error, data, refetch } = (0, import_react7.useQuery)(SEARCH_EVENTS, {
3606
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(SEARCH_EVENTS, {
3607
3607
  fetchPolicy: "network-only",
3608
3608
  skip: search.length < 3,
3609
3609
  variables: { region, search }
@@ -3612,7 +3612,7 @@ var useSearchEvents = (search, region) => {
3612
3612
  return { error, eventsSearch, loading, refetch };
3613
3613
  };
3614
3614
  var useGetEventsNearMe = (location) => {
3615
- const { loading, error, data, refetch } = (0, import_react7.useQuery)(GET_EVENTS_NEAR_ME, {
3615
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENTS_NEAR_ME, {
3616
3616
  fetchPolicy: "network-only",
3617
3617
  skip: !location.latitude || !location.longitude,
3618
3618
  variables: {
@@ -3626,7 +3626,7 @@ var useGetEventsNearMe = (location) => {
3626
3626
  return { error, eventsNearMe, loading, refetch };
3627
3627
  };
3628
3628
  var useGetEventInfo = (eventId) => {
3629
- const { loading, error, data, refetch } = (0, import_react7.useQuery)(GET_EVENT_INFO, {
3629
+ const { loading, error, data, refetch } = (0, import_client19.useQuery)(GET_EVENT_INFO, {
3630
3630
  fetchPolicy: "network-only",
3631
3631
  skip: !eventId,
3632
3632
  variables: { eventId }
@@ -3636,14 +3636,14 @@ var useGetEventInfo = (eventId) => {
3636
3636
  };
3637
3637
 
3638
3638
  // src/graphql/hooks/notifications/hooksMutation.ts
3639
- var import_react8 = require("@apollo/client/react");
3639
+ var import_client22 = require("@apollo/client");
3640
3640
 
3641
3641
  // src/graphql/mutations/notification.ts
3642
- var import_client14 = require("@apollo/client");
3642
+ var import_client21 = require("@apollo/client");
3643
3643
 
3644
3644
  // src/graphql/queries/notification.ts
3645
- var import_client13 = require("@apollo/client");
3646
- var NOTIFICATION_FRAGMENT = import_client13.gql`
3645
+ var import_client20 = require("@apollo/client");
3646
+ var NOTIFICATION_FRAGMENT = import_client20.gql`
3647
3647
  fragment NotificationFields on Notification {
3648
3648
  _id
3649
3649
  userId
@@ -3660,7 +3660,7 @@ var NOTIFICATION_FRAGMENT = import_client13.gql`
3660
3660
  updatedAt
3661
3661
  }
3662
3662
  `;
3663
- var GET_USER_NOTIFICATIONS = import_client13.gql`
3663
+ var GET_USER_NOTIFICATIONS = import_client20.gql`
3664
3664
  query getUserNotifications($limit: Int, $offset: Int) {
3665
3665
  userNotifications(limit: $limit, offset: $offset) {
3666
3666
  ...NotificationFields
@@ -3668,7 +3668,7 @@ var GET_USER_NOTIFICATIONS = import_client13.gql`
3668
3668
  }
3669
3669
  ${NOTIFICATION_FRAGMENT}
3670
3670
  `;
3671
- var GET_NOTIFICATION_COUNT = import_client13.gql`
3671
+ var GET_NOTIFICATION_COUNT = import_client20.gql`
3672
3672
  query getNotificationCount {
3673
3673
  notificationCount {
3674
3674
  total
@@ -3678,7 +3678,7 @@ var GET_NOTIFICATION_COUNT = import_client13.gql`
3678
3678
  `;
3679
3679
 
3680
3680
  // src/graphql/mutations/notification.ts
3681
- var CREATE_BULK_NOTIFICATIONS = import_client14.gql`
3681
+ var CREATE_BULK_NOTIFICATIONS = import_client21.gql`
3682
3682
  mutation createBulkNotifications($input: CreateBulkNotificationInput!) {
3683
3683
  createBulkNotifications(input: $input) {
3684
3684
  ...NotificationFields
@@ -3686,7 +3686,7 @@ var CREATE_BULK_NOTIFICATIONS = import_client14.gql`
3686
3686
  }
3687
3687
  ${NOTIFICATION_FRAGMENT}
3688
3688
  `;
3689
- var MARK_NOTIFICATION_READ = import_client14.gql`
3689
+ var MARK_NOTIFICATION_READ = import_client21.gql`
3690
3690
  mutation markNotificationRead($_id: ID!) {
3691
3691
  markNotificationRead(_id: $_id) {
3692
3692
  ...NotificationFields
@@ -3694,17 +3694,17 @@ var MARK_NOTIFICATION_READ = import_client14.gql`
3694
3694
  }
3695
3695
  ${NOTIFICATION_FRAGMENT}
3696
3696
  `;
3697
- var MARK_ALL_NOTIFICATIONS_READ = import_client14.gql`
3697
+ var MARK_ALL_NOTIFICATIONS_READ = import_client21.gql`
3698
3698
  mutation markAllNotificationsRead {
3699
3699
  markAllNotificationsRead
3700
3700
  }
3701
3701
  `;
3702
- var DELETE_NOTIFICATION = import_client14.gql`
3702
+ var DELETE_NOTIFICATION = import_client21.gql`
3703
3703
  mutation deleteNotification($_id: ID!) {
3704
3704
  deleteNotification(_id: $_id)
3705
3705
  }
3706
3706
  `;
3707
- var DELETE_ALL_NOTIFICATIONS = import_client14.gql`
3707
+ var DELETE_ALL_NOTIFICATIONS = import_client21.gql`
3708
3708
  mutation deleteAllNotifications {
3709
3709
  deleteAllNotifications
3710
3710
  }
@@ -3712,13 +3712,13 @@ var DELETE_ALL_NOTIFICATIONS = import_client14.gql`
3712
3712
 
3713
3713
  // src/graphql/hooks/notifications/hooksMutation.ts
3714
3714
  var useCreateBulkNotifications = () => {
3715
- const [createBulkNotifications, { loading, error }] = (0, import_react8.useMutation)(
3715
+ const [createBulkNotifications, { loading, error }] = (0, import_client22.useMutation)(
3716
3716
  CREATE_BULK_NOTIFICATIONS
3717
3717
  );
3718
3718
  return { createBulkNotifications, error, loading };
3719
3719
  };
3720
3720
  var useMarkNotificationRead = () => {
3721
- const [markNotificationRead, { loading, error }] = (0, import_react8.useMutation)(
3721
+ const [markNotificationRead, { loading, error }] = (0, import_client22.useMutation)(
3722
3722
  MARK_NOTIFICATION_READ,
3723
3723
  {
3724
3724
  refetchQueries: [
@@ -3734,7 +3734,7 @@ var useMarkNotificationRead = () => {
3734
3734
  return { error, loading, markNotificationRead };
3735
3735
  };
3736
3736
  var useMarkAllNotificationsRead = () => {
3737
- const [markAllNotificationsRead, { loading, error }] = (0, import_react8.useMutation)(
3737
+ const [markAllNotificationsRead, { loading, error }] = (0, import_client22.useMutation)(
3738
3738
  MARK_ALL_NOTIFICATIONS_READ,
3739
3739
  {
3740
3740
  refetchQueries: [
@@ -3750,7 +3750,7 @@ var useMarkAllNotificationsRead = () => {
3750
3750
  return { error, loading, markAllNotificationsRead };
3751
3751
  };
3752
3752
  var useDeleteNotification = () => {
3753
- const [deleteNotification, { loading, error }] = (0, import_react8.useMutation)(
3753
+ const [deleteNotification, { loading, error }] = (0, import_client22.useMutation)(
3754
3754
  DELETE_NOTIFICATION,
3755
3755
  {
3756
3756
  refetchQueries: [
@@ -3766,7 +3766,7 @@ var useDeleteNotification = () => {
3766
3766
  return { deleteNotification, error, loading };
3767
3767
  };
3768
3768
  var useDeleteAllNotifications = () => {
3769
- const [deleteAllNotifications, { loading, error }] = (0, import_react8.useMutation)(
3769
+ const [deleteAllNotifications, { loading, error }] = (0, import_client22.useMutation)(
3770
3770
  DELETE_ALL_NOTIFICATIONS,
3771
3771
  {
3772
3772
  refetchQueries: [
@@ -3783,9 +3783,9 @@ var useDeleteAllNotifications = () => {
3783
3783
  };
3784
3784
 
3785
3785
  // src/graphql/hooks/notifications/hooksQuery.ts
3786
- var import_react9 = require("@apollo/client/react");
3786
+ var import_client23 = require("@apollo/client");
3787
3787
  var useGetUserNotifications = (limit, offset) => {
3788
- const { data, loading, error, refetch } = (0, import_react9.useQuery)(GET_USER_NOTIFICATIONS, {
3788
+ const { data, loading, error, refetch } = (0, import_client23.useQuery)(GET_USER_NOTIFICATIONS, {
3789
3789
  fetchPolicy: "no-cache",
3790
3790
  variables: { limit, offset }
3791
3791
  });
@@ -3797,7 +3797,7 @@ var useGetUserNotifications = (limit, offset) => {
3797
3797
  };
3798
3798
  };
3799
3799
  var useGetNotificationCount = () => {
3800
- const { data, loading, error, refetch } = (0, import_react9.useQuery)(GET_NOTIFICATION_COUNT, {
3800
+ const { data, loading, error, refetch } = (0, import_client23.useQuery)(GET_NOTIFICATION_COUNT, {
3801
3801
  fetchPolicy: "no-cache"
3802
3802
  });
3803
3803
  return {
@@ -3809,11 +3809,11 @@ var useGetNotificationCount = () => {
3809
3809
  };
3810
3810
 
3811
3811
  // src/graphql/hooks/notifications/hooksSubscription.ts
3812
- var import_react10 = require("@apollo/client/react");
3812
+ var import_client25 = require("@apollo/client");
3813
3813
 
3814
3814
  // src/graphql/subscriptions/notification.ts
3815
- var import_client15 = require("@apollo/client");
3816
- var GET_NOTIFICATIONS_SUBSCRIPTION = import_client15.gql`
3815
+ var import_client24 = require("@apollo/client");
3816
+ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client24.gql`
3817
3817
  subscription {
3818
3818
  getUserNotifications {
3819
3819
  ...NotificationFields
@@ -3821,7 +3821,7 @@ var GET_NOTIFICATIONS_SUBSCRIPTION = import_client15.gql`
3821
3821
  }
3822
3822
  ${NOTIFICATION_FRAGMENT}
3823
3823
  `;
3824
- var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client15.gql`
3824
+ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client24.gql`
3825
3825
  subscription {
3826
3826
  getNotificationCount {
3827
3827
  total
@@ -3832,7 +3832,7 @@ var GET_NOTIFICATION_COUNT_SUBSCRIPTION = import_client15.gql`
3832
3832
 
3833
3833
  // src/graphql/hooks/notifications/hooksSubscription.ts
3834
3834
  var useGetUserNotificationsSubscription = () => {
3835
- const { data, loading, error } = (0, import_react10.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
3835
+ const { data, loading, error } = (0, import_client25.useSubscription)(GET_NOTIFICATIONS_SUBSCRIPTION, {
3836
3836
  fetchPolicy: "no-cache",
3837
3837
  shouldResubscribe: true
3838
3838
  });
@@ -3843,7 +3843,7 @@ var useGetUserNotificationsSubscription = () => {
3843
3843
  };
3844
3844
  };
3845
3845
  var useGetNotificationCountSubscription = () => {
3846
- const { data, loading, error } = (0, import_react10.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
3846
+ const { data, loading, error } = (0, import_client25.useSubscription)(GET_NOTIFICATION_COUNT_SUBSCRIPTION, {
3847
3847
  fetchPolicy: "no-cache",
3848
3848
  shouldResubscribe: true
3849
3849
  });
@@ -3855,11 +3855,11 @@ var useGetNotificationCountSubscription = () => {
3855
3855
  };
3856
3856
 
3857
3857
  // src/graphql/hooks/poster.ts
3858
- var import_react11 = require("@apollo/client/react");
3858
+ var import_client27 = require("@apollo/client");
3859
3859
 
3860
3860
  // src/graphql/mutations/poster.ts
3861
- var import_client16 = require("@apollo/client");
3862
- var CREATE_POSTER_MUTATION = import_client16.gql`
3861
+ var import_client26 = require("@apollo/client");
3862
+ var CREATE_POSTER_MUTATION = import_client26.gql`
3863
3863
  mutation createPoster($input: PosterInputType!) {
3864
3864
  createPoster(input: $input) {
3865
3865
  message
@@ -3873,7 +3873,7 @@ var CREATE_POSTER_MUTATION = import_client16.gql`
3873
3873
 
3874
3874
  // src/graphql/hooks/poster.ts
3875
3875
  var useCreatePoster = () => {
3876
- const [createPoster, { loading, error }] = (0, import_react11.useMutation)(
3876
+ const [createPoster, { loading, error }] = (0, import_client27.useMutation)(
3877
3877
  CREATE_POSTER_MUTATION,
3878
3878
  {
3879
3879
  refetchQueries: [{ query: GET_USER_EVENTS }, { query: GET_USER_VENDORS }]
@@ -3883,11 +3883,11 @@ var useCreatePoster = () => {
3883
3883
  };
3884
3884
 
3885
3885
  // src/graphql/hooks/pushToken.ts
3886
- var import_react12 = require("@apollo/client/react");
3886
+ var import_client29 = require("@apollo/client");
3887
3887
 
3888
3888
  // src/graphql/mutations/pushToken.ts
3889
- var import_client17 = require("@apollo/client");
3890
- var CREATE_PUSH_TOKEN_MUTATION = import_client17.gql`
3889
+ var import_client28 = require("@apollo/client");
3890
+ var CREATE_PUSH_TOKEN_MUTATION = import_client28.gql`
3891
3891
  mutation createPushToken($input: PushTokenInput!) {
3892
3892
  createPushToken(input: $input) {
3893
3893
  success
@@ -3897,21 +3897,21 @@ var CREATE_PUSH_TOKEN_MUTATION = import_client17.gql`
3897
3897
 
3898
3898
  // src/graphql/hooks/pushToken.ts
3899
3899
  var useCreatePushToken = () => {
3900
- const [createPushToken, { loading, error }] = (0, import_react12.useMutation)(
3900
+ const [createPushToken, { loading, error }] = (0, import_client29.useMutation)(
3901
3901
  CREATE_PUSH_TOKEN_MUTATION
3902
3902
  );
3903
3903
  return { createPushToken, error, loading };
3904
3904
  };
3905
3905
 
3906
3906
  // src/graphql/hooks/relation/hooksMutation.ts
3907
- var import_react13 = require("@apollo/client/react");
3907
+ var import_client32 = require("@apollo/client");
3908
3908
 
3909
3909
  // src/graphql/mutations/relation.ts
3910
- var import_client19 = require("@apollo/client");
3910
+ var import_client31 = require("@apollo/client");
3911
3911
 
3912
3912
  // src/graphql/queries/relation.ts
3913
- var import_client18 = require("@apollo/client");
3914
- var RELATION_FIELDS_FRAGMENT = import_client18.gql`
3913
+ var import_client30 = require("@apollo/client");
3914
+ var RELATION_FIELDS_FRAGMENT = import_client30.gql`
3915
3915
  fragment RelationFields on RelationType {
3916
3916
  _id
3917
3917
  active
@@ -3928,7 +3928,7 @@ var RELATION_FIELDS_FRAGMENT = import_client18.gql`
3928
3928
  }
3929
3929
  ${RELATION_DATES_FRAGMENT}
3930
3930
  `;
3931
- var GET_RELATION = import_client18.gql`
3931
+ var GET_RELATION = import_client30.gql`
3932
3932
  query getRelation($_id: ID!) {
3933
3933
  relation(_id: $_id) {
3934
3934
  ...RelationFields
@@ -3936,7 +3936,7 @@ var GET_RELATION = import_client18.gql`
3936
3936
  }
3937
3937
  ${RELATION_FIELDS_FRAGMENT}
3938
3938
  `;
3939
- var GET_RELATION_BY_EVENT_AND_VENDOR = import_client18.gql`
3939
+ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client30.gql`
3940
3940
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {
3941
3941
  relationByEventAndVendor(eventId: $eventId, vendorId: $vendorId) {
3942
3942
  ...RelationFields
@@ -3944,7 +3944,7 @@ var GET_RELATION_BY_EVENT_AND_VENDOR = import_client18.gql`
3944
3944
  }
3945
3945
  ${RELATION_FIELDS_FRAGMENT}
3946
3946
  `;
3947
- var GET_EVENT_RELATIONS = import_client18.gql`
3947
+ var GET_EVENT_RELATIONS = import_client30.gql`
3948
3948
  query getEventRelations($eventId: ID!) {
3949
3949
  eventRelations(eventId: $eventId) {
3950
3950
  ...RelationFields
@@ -3952,7 +3952,7 @@ var GET_EVENT_RELATIONS = import_client18.gql`
3952
3952
  }
3953
3953
  ${RELATION_FIELDS_FRAGMENT}
3954
3954
  `;
3955
- var GET_VENDOR_RELATIONS = import_client18.gql`
3955
+ var GET_VENDOR_RELATIONS = import_client30.gql`
3956
3956
  query getVendorRelations($vendorId: ID!) {
3957
3957
  vendorRelations(vendorId: $vendorId) {
3958
3958
  ...RelationFields
@@ -3960,7 +3960,7 @@ var GET_VENDOR_RELATIONS = import_client18.gql`
3960
3960
  }
3961
3961
  ${RELATION_FIELDS_FRAGMENT}
3962
3962
  `;
3963
- var GET_RESOURCE_CONNECTIONS = import_client18.gql`
3963
+ var GET_RESOURCE_CONNECTIONS = import_client30.gql`
3964
3964
  query getResourceConnections(
3965
3965
  $resourceId: ID!
3966
3966
  $resourceType: ResourceTypeEnum!
@@ -3979,7 +3979,7 @@ var GET_RESOURCE_CONNECTIONS = import_client18.gql`
3979
3979
  `;
3980
3980
 
3981
3981
  // src/graphql/mutations/relation.ts
3982
- var CREATE_RELATION_MUTATION = import_client19.gql`
3982
+ var CREATE_RELATION_MUTATION = import_client31.gql`
3983
3983
  mutation createRelation($input: RelationInputType!) {
3984
3984
  createRelation(input: $input) {
3985
3985
  ...RelationFields
@@ -3987,7 +3987,7 @@ var CREATE_RELATION_MUTATION = import_client19.gql`
3987
3987
  }
3988
3988
  ${RELATION_FIELDS_FRAGMENT}
3989
3989
  `;
3990
- var UPDATE_RELATION_MUTATION = import_client19.gql`
3990
+ var UPDATE_RELATION_MUTATION = import_client31.gql`
3991
3991
  mutation updateRelation($_id: ID!, $input: RelationInputType!) {
3992
3992
  updateRelation(_id: $_id, input: $input) {
3993
3993
  ...RelationFields
@@ -3995,7 +3995,7 @@ var UPDATE_RELATION_MUTATION = import_client19.gql`
3995
3995
  }
3996
3996
  ${RELATION_FIELDS_FRAGMENT}
3997
3997
  `;
3998
- var DELETE_RELATION_MUTATION = import_client19.gql`
3998
+ var DELETE_RELATION_MUTATION = import_client31.gql`
3999
3999
  mutation deleteRelation($_id: ID!) {
4000
4000
  deleteRelation(_id: $_id) {
4001
4001
  ...RelationFields
@@ -4006,7 +4006,7 @@ var DELETE_RELATION_MUTATION = import_client19.gql`
4006
4006
 
4007
4007
  // src/graphql/hooks/relation/hooksMutation.ts
4008
4008
  var useCreateRelation = () => {
4009
- const [createRelation, { loading, error }] = (0, import_react13.useMutation)(CREATE_RELATION_MUTATION, {
4009
+ const [createRelation, { loading, error }] = (0, import_client32.useMutation)(CREATE_RELATION_MUTATION, {
4010
4010
  awaitRefetchQueries: true,
4011
4011
  refetchQueries: (mutationResult) => {
4012
4012
  const createRelation2 = mutationResult?.data?.createRelation;
@@ -4052,7 +4052,7 @@ var useCreateRelation = () => {
4052
4052
  return { createRelation, error, loading };
4053
4053
  };
4054
4054
  var useUpdateRelation = () => {
4055
- const [updateRelation, { loading, error }] = (0, import_react13.useMutation)(UPDATE_RELATION_MUTATION, {
4055
+ const [updateRelation, { loading, error }] = (0, import_client32.useMutation)(UPDATE_RELATION_MUTATION, {
4056
4056
  awaitRefetchQueries: true,
4057
4057
  refetchQueries: (mutationResult) => {
4058
4058
  const updateRelation2 = mutationResult?.data?.updateRelation;
@@ -4095,7 +4095,7 @@ var useUpdateRelation = () => {
4095
4095
  return { error, loading, updateRelation };
4096
4096
  };
4097
4097
  var useDeleteRelation = () => {
4098
- const [deleteRelation, { loading, error }] = (0, import_react13.useMutation)(DELETE_RELATION_MUTATION, {
4098
+ const [deleteRelation, { loading, error }] = (0, import_client32.useMutation)(DELETE_RELATION_MUTATION, {
4099
4099
  awaitRefetchQueries: true,
4100
4100
  refetchQueries: (mutationResult) => {
4101
4101
  const deleteRelation2 = mutationResult?.data?.deleteRelation;
@@ -4134,9 +4134,9 @@ var useDeleteRelation = () => {
4134
4134
  };
4135
4135
 
4136
4136
  // src/graphql/hooks/relation/hooksQuery.ts
4137
- var import_react14 = require("@apollo/client/react");
4137
+ var import_client33 = require("@apollo/client");
4138
4138
  var useGetRelation = (_id) => {
4139
- const { loading, error, data, refetch } = (0, import_react14.useQuery)(GET_RELATION, {
4139
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_RELATION, {
4140
4140
  fetchPolicy: "network-only",
4141
4141
  skip: !_id,
4142
4142
  variables: { _id }
@@ -4145,7 +4145,7 @@ var useGetRelation = (_id) => {
4145
4145
  return { error, loading, refetch, relation };
4146
4146
  };
4147
4147
  var useGetRelationByEventAndVendor = (eventId, vendorId) => {
4148
- const { loading, error, data, refetch } = (0, import_react14.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
4148
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_RELATION_BY_EVENT_AND_VENDOR, {
4149
4149
  fetchPolicy: "network-only",
4150
4150
  skip: !eventId || !vendorId,
4151
4151
  variables: { eventId, vendorId }
@@ -4154,7 +4154,7 @@ var useGetRelationByEventAndVendor = (eventId, vendorId) => {
4154
4154
  return { error, loading, refetch, relationByEventAndVendor };
4155
4155
  };
4156
4156
  var useGetEventRelations = (eventId) => {
4157
- const { loading, error, data, refetch } = (0, import_react14.useQuery)(GET_EVENT_RELATIONS, {
4157
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_EVENT_RELATIONS, {
4158
4158
  fetchPolicy: "network-only",
4159
4159
  skip: !eventId,
4160
4160
  variables: { eventId }
@@ -4163,7 +4163,7 @@ var useGetEventRelations = (eventId) => {
4163
4163
  return { error, eventRelations, loading, refetch };
4164
4164
  };
4165
4165
  var useGetVendorRelations = (vendorId) => {
4166
- const { loading, error, data, refetch } = (0, import_react14.useQuery)(GET_VENDOR_RELATIONS, {
4166
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_VENDOR_RELATIONS, {
4167
4167
  fetchPolicy: "network-only",
4168
4168
  skip: !vendorId,
4169
4169
  variables: { vendorId }
@@ -4172,7 +4172,7 @@ var useGetVendorRelations = (vendorId) => {
4172
4172
  return { error, loading, refetch, vendorRelations };
4173
4173
  };
4174
4174
  var useGetResourceConnections = (resourceId, resourceType) => {
4175
- const { loading, error, data, refetch } = (0, import_react14.useQuery)(GET_RESOURCE_CONNECTIONS, {
4175
+ const { loading, error, data, refetch } = (0, import_client33.useQuery)(GET_RESOURCE_CONNECTIONS, {
4176
4176
  fetchPolicy: "network-only",
4177
4177
  variables: { resourceId, resourceType }
4178
4178
  });
@@ -4181,11 +4181,11 @@ var useGetResourceConnections = (resourceId, resourceType) => {
4181
4181
  };
4182
4182
 
4183
4183
  // src/graphql/hooks/vendor/hooksMutation.ts
4184
- var import_react15 = require("@apollo/client/react");
4184
+ var import_client35 = require("@apollo/client");
4185
4185
 
4186
4186
  // src/graphql/mutations/vendor.ts
4187
- var import_client20 = require("@apollo/client");
4188
- var CREATE_VENDOR_MUTATION = import_client20.gql`
4187
+ var import_client34 = require("@apollo/client");
4188
+ var CREATE_VENDOR_MUTATION = import_client34.gql`
4189
4189
  mutation createVendor($input: VendorInputType!) {
4190
4190
  createVendor(input: $input) {
4191
4191
  ...VendorFields
@@ -4193,7 +4193,7 @@ var CREATE_VENDOR_MUTATION = import_client20.gql`
4193
4193
  }
4194
4194
  ${VENDOR}
4195
4195
  `;
4196
- var UPDATE_VENDOR_MUTATION = import_client20.gql`
4196
+ var UPDATE_VENDOR_MUTATION = import_client34.gql`
4197
4197
  mutation updateVendor($_id: ID!, $input: VendorInputType!) {
4198
4198
  updateVendor(_id: $_id, input: $input) {
4199
4199
  ...VendorFields
@@ -4201,12 +4201,12 @@ var UPDATE_VENDOR_MUTATION = import_client20.gql`
4201
4201
  }
4202
4202
  ${VENDOR}
4203
4203
  `;
4204
- var DELETE_VENDOR_MUTATION = import_client20.gql`
4204
+ var DELETE_VENDOR_MUTATION = import_client34.gql`
4205
4205
  mutation deleteVendor($_id: ID!) {
4206
4206
  deleteVendor(_id: $_id)
4207
4207
  }
4208
4208
  `;
4209
- var CREATE_VENDOR_INFO_MUTATION = import_client20.gql`
4209
+ var CREATE_VENDOR_INFO_MUTATION = import_client34.gql`
4210
4210
  mutation createVendorInfo($input: VendorInfoInputType!) {
4211
4211
  createVendorInfo(input: $input) {
4212
4212
  ...VendorInfoFields
@@ -4214,7 +4214,7 @@ var CREATE_VENDOR_INFO_MUTATION = import_client20.gql`
4214
4214
  }
4215
4215
  ${VENDOR_INFO}
4216
4216
  `;
4217
- var UPDATE_VENDOR_INFO_MUTATION = import_client20.gql`
4217
+ var UPDATE_VENDOR_INFO_MUTATION = import_client34.gql`
4218
4218
  mutation updateVendorInfo($_id: ID!, $input: VendorInfoInputType!) {
4219
4219
  updateVendorInfo(_id: $_id, input: $input) {
4220
4220
  ...VendorInfoFields
@@ -4225,7 +4225,7 @@ var UPDATE_VENDOR_INFO_MUTATION = import_client20.gql`
4225
4225
 
4226
4226
  // src/graphql/hooks/vendor/hooksMutation.ts
4227
4227
  var useCreateVendor = () => {
4228
- const [createVendor, { loading, error }] = (0, import_react15.useMutation)(
4228
+ const [createVendor, { loading, error }] = (0, import_client35.useMutation)(
4229
4229
  CREATE_VENDOR_MUTATION,
4230
4230
  {
4231
4231
  awaitRefetchQueries: true,
@@ -4235,7 +4235,7 @@ var useCreateVendor = () => {
4235
4235
  return { createVendor, error, loading };
4236
4236
  };
4237
4237
  var useUpdateVendor = () => {
4238
- const [updateVendor, { loading, error }] = (0, import_react15.useMutation)(
4238
+ const [updateVendor, { loading, error }] = (0, import_client35.useMutation)(
4239
4239
  UPDATE_VENDOR_MUTATION,
4240
4240
  {
4241
4241
  awaitRefetchQueries: true,
@@ -4245,7 +4245,7 @@ var useUpdateVendor = () => {
4245
4245
  return { error, loading, updateVendor };
4246
4246
  };
4247
4247
  var useDeleteVendor = () => {
4248
- const [deleteVendor, { loading, error }] = (0, import_react15.useMutation)(
4248
+ const [deleteVendor, { loading, error }] = (0, import_client35.useMutation)(
4249
4249
  DELETE_VENDOR_MUTATION,
4250
4250
  {
4251
4251
  awaitRefetchQueries: true,
@@ -4255,7 +4255,7 @@ var useDeleteVendor = () => {
4255
4255
  return { deleteVendor, error, loading };
4256
4256
  };
4257
4257
  var useCreateVendorInfo = () => {
4258
- const [createVendorInfo, { loading, error }] = (0, import_react15.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
4258
+ const [createVendorInfo, { loading, error }] = (0, import_client35.useMutation)(CREATE_VENDOR_INFO_MUTATION, {
4259
4259
  awaitRefetchQueries: true,
4260
4260
  refetchQueries: (mutationResult) => {
4261
4261
  const vendorId = mutationResult?.data?.createVendorInfo?.vendorId;
@@ -4279,7 +4279,7 @@ var useCreateVendorInfo = () => {
4279
4279
  return { createVendorInfo, error, loading };
4280
4280
  };
4281
4281
  var useUpdateVendorInfo = () => {
4282
- const [updateVendorInfo, { loading, error }] = (0, import_react15.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
4282
+ const [updateVendorInfo, { loading, error }] = (0, import_client35.useMutation)(UPDATE_VENDOR_INFO_MUTATION, {
4283
4283
  awaitRefetchQueries: true,
4284
4284
  refetchQueries: (mutationResult) => {
4285
4285
  const vendorId = mutationResult?.data?.updateVendorInfo?.vendorId;
@@ -4297,9 +4297,9 @@ var useUpdateVendorInfo = () => {
4297
4297
  };
4298
4298
 
4299
4299
  // src/graphql/hooks/vendor/hooksQuery.ts
4300
- var import_react16 = require("@apollo/client/react");
4300
+ var import_client36 = require("@apollo/client");
4301
4301
  var useGetVendors = () => {
4302
- const { loading, error, data, refetch } = (0, import_react16.useQuery)(
4302
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(
4303
4303
  GET_VENDORS,
4304
4304
  {
4305
4305
  fetchPolicy: "network-only"
@@ -4314,7 +4314,7 @@ var useGetVendors = () => {
4314
4314
  };
4315
4315
  };
4316
4316
  var useGetVendor = (_id) => {
4317
- const { loading, error, data, refetch } = (0, import_react16.useQuery)(
4317
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(
4318
4318
  GET_VENDOR,
4319
4319
  {
4320
4320
  fetchPolicy: "network-only",
@@ -4326,7 +4326,7 @@ var useGetVendor = (_id) => {
4326
4326
  return { error, loading, refetch, vendor };
4327
4327
  };
4328
4328
  var useGetVendorsByRegion = (region) => {
4329
- const { loading, error, data, refetch } = (0, import_react16.useQuery)(GET_VENDORS_BY_REGION, {
4329
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_VENDORS_BY_REGION, {
4330
4330
  fetchPolicy: "no-cache",
4331
4331
  skip: !region,
4332
4332
  variables: { region }
@@ -4335,7 +4335,7 @@ var useGetVendorsByRegion = (region) => {
4335
4335
  return { error, loading, refetch, vendorsByRegion };
4336
4336
  };
4337
4337
  var useSearchVendors = (search, region) => {
4338
- const { loading, error, data, refetch } = (0, import_react16.useQuery)(SEARCH_VENDORS, {
4338
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(SEARCH_VENDORS, {
4339
4339
  fetchPolicy: "network-only",
4340
4340
  skip: search.length < 3,
4341
4341
  variables: { region, search }
@@ -4344,7 +4344,7 @@ var useSearchVendors = (search, region) => {
4344
4344
  return { error, loading, refetch, vendorSearch };
4345
4345
  };
4346
4346
  var useGetVendorInfo = (vendorId) => {
4347
- const { loading, error, data, refetch } = (0, import_react16.useQuery)(GET_VENDOR_INFO, {
4347
+ const { loading, error, data, refetch } = (0, import_client36.useQuery)(GET_VENDOR_INFO, {
4348
4348
  fetchPolicy: "network-only",
4349
4349
  skip: !vendorId,
4350
4350
  variables: { vendorId }
@@ -4359,14 +4359,14 @@ var useGetVendorInfo = (vendorId) => {
4359
4359
  };
4360
4360
 
4361
4361
  // src/graphql/hooks/tester/hooksMutation.ts
4362
- var import_react17 = require("@apollo/client/react");
4362
+ var import_client39 = require("@apollo/client");
4363
4363
 
4364
4364
  // src/graphql/mutations/tester.ts
4365
- var import_client22 = require("@apollo/client");
4365
+ var import_client38 = require("@apollo/client");
4366
4366
 
4367
4367
  // src/graphql/queries/tester.ts
4368
- var import_client21 = require("@apollo/client");
4369
- var TESTER_FIELDS_FRAGMENT = import_client21.gql`
4368
+ var import_client37 = require("@apollo/client");
4369
+ var TESTER_FIELDS_FRAGMENT = import_client37.gql`
4370
4370
  fragment TesterFields on TesterType {
4371
4371
  _id
4372
4372
  active
@@ -4386,7 +4386,7 @@ var TESTER_FIELDS_FRAGMENT = import_client21.gql`
4386
4386
  }
4387
4387
  ${CATEGORY_FIELDS_FRAGMENT}
4388
4388
  `;
4389
- var GET_TESTERS = import_client21.gql`
4389
+ var GET_TESTERS = import_client37.gql`
4390
4390
  query getTesters {
4391
4391
  testers {
4392
4392
  ...TesterFields
@@ -4394,7 +4394,7 @@ var GET_TESTERS = import_client21.gql`
4394
4394
  }
4395
4395
  ${TESTER_FIELDS_FRAGMENT}
4396
4396
  `;
4397
- var GET_TESTER = import_client21.gql`
4397
+ var GET_TESTER = import_client37.gql`
4398
4398
  query getTester($_id: ID!) {
4399
4399
  tester(_id: $_id) {
4400
4400
  ...TesterFields
@@ -4404,7 +4404,7 @@ var GET_TESTER = import_client21.gql`
4404
4404
  `;
4405
4405
 
4406
4406
  // src/graphql/mutations/tester.ts
4407
- var CREATE_TESTER_MUTATION = import_client22.gql`
4407
+ var CREATE_TESTER_MUTATION = import_client38.gql`
4408
4408
  mutation createTester($input: TesterInputType!) {
4409
4409
  createTester(input: $input) {
4410
4410
  ...TesterFields
@@ -4412,7 +4412,7 @@ var CREATE_TESTER_MUTATION = import_client22.gql`
4412
4412
  }
4413
4413
  ${TESTER_FIELDS_FRAGMENT}
4414
4414
  `;
4415
- var UPDATE_TESTER_MUTATION = import_client22.gql`
4415
+ var UPDATE_TESTER_MUTATION = import_client38.gql`
4416
4416
  mutation updateTester($_id: ID!, $input: TesterInputType!) {
4417
4417
  updateTester(_id: $_id, input: $input) {
4418
4418
  ...TesterFields
@@ -4420,7 +4420,7 @@ var UPDATE_TESTER_MUTATION = import_client22.gql`
4420
4420
  }
4421
4421
  ${TESTER_FIELDS_FRAGMENT}
4422
4422
  `;
4423
- var DELETE_TESTER_MUTATION = import_client22.gql`
4423
+ var DELETE_TESTER_MUTATION = import_client38.gql`
4424
4424
  mutation deleteTester($_id: ID!) {
4425
4425
  deleteTester(_id: $_id)
4426
4426
  }
@@ -4428,7 +4428,7 @@ var DELETE_TESTER_MUTATION = import_client22.gql`
4428
4428
 
4429
4429
  // src/graphql/hooks/tester/hooksMutation.ts
4430
4430
  var useCreateTester = () => {
4431
- const [createTester, { data, loading, error }] = (0, import_react17.useMutation)(
4431
+ const [createTester, { data, loading, error }] = (0, import_client39.useMutation)(
4432
4432
  CREATE_TESTER_MUTATION
4433
4433
  );
4434
4434
  return {
@@ -4439,7 +4439,7 @@ var useCreateTester = () => {
4439
4439
  };
4440
4440
  };
4441
4441
  var useUpdateTester = () => {
4442
- const [updateTester, { data, loading, error }] = (0, import_react17.useMutation)(
4442
+ const [updateTester, { data, loading, error }] = (0, import_client39.useMutation)(
4443
4443
  UPDATE_TESTER_MUTATION
4444
4444
  );
4445
4445
  return {
@@ -4450,16 +4450,16 @@ var useUpdateTester = () => {
4450
4450
  };
4451
4451
  };
4452
4452
  var useDeleteTester = () => {
4453
- const [deleteTester, { loading, error }] = (0, import_react17.useMutation)(
4453
+ const [deleteTester, { loading, error }] = (0, import_client39.useMutation)(
4454
4454
  DELETE_TESTER_MUTATION
4455
4455
  );
4456
4456
  return { deleteTester, error, loading };
4457
4457
  };
4458
4458
 
4459
4459
  // src/graphql/hooks/tester/hooksQuery.ts
4460
- var import_react18 = require("@apollo/client/react");
4460
+ var import_client40 = require("@apollo/client");
4461
4461
  var useGetTesters = () => {
4462
- const { data, loading, error, refetch } = (0, import_react18.useQuery)(
4462
+ const { data, loading, error, refetch } = (0, import_client40.useQuery)(
4463
4463
  GET_TESTERS
4464
4464
  );
4465
4465
  const testers = data?.testers || [];
@@ -4471,7 +4471,7 @@ var useGetTesters = () => {
4471
4471
  };
4472
4472
  };
4473
4473
  var useGetTester = (_id) => {
4474
- const { data, loading, error, refetch } = (0, import_react18.useQuery)(
4474
+ const { data, loading, error, refetch } = (0, import_client40.useQuery)(
4475
4475
  GET_TESTER,
4476
4476
  {
4477
4477
  skip: !_id,
@@ -4483,11 +4483,11 @@ var useGetTester = (_id) => {
4483
4483
  };
4484
4484
 
4485
4485
  // src/graphql/hooks/user/hooksMutation.ts
4486
- var import_react19 = require("@apollo/client/react");
4486
+ var import_client42 = require("@apollo/client");
4487
4487
 
4488
4488
  // src/graphql/mutations/user.ts
4489
- var import_client23 = require("@apollo/client");
4490
- var CREATE_USER_MUTATION = import_client23.gql`
4489
+ var import_client41 = require("@apollo/client");
4490
+ var CREATE_USER_MUTATION = import_client41.gql`
4491
4491
  mutation createUser($input: UserInputType!) {
4492
4492
  createUser(input: $input) {
4493
4493
  ...UserFields
@@ -4495,7 +4495,7 @@ var CREATE_USER_MUTATION = import_client23.gql`
4495
4495
  }
4496
4496
  ${USER_FIELDS_FRAGMENT}
4497
4497
  `;
4498
- var UPDATE_USER_MUTATION = import_client23.gql`
4498
+ var UPDATE_USER_MUTATION = import_client41.gql`
4499
4499
  mutation updateUser($_id: ID!, $input: UserInputType!) {
4500
4500
  updateUser(_id: $_id, input: $input) {
4501
4501
  ...UserFields
@@ -4503,12 +4503,12 @@ var UPDATE_USER_MUTATION = import_client23.gql`
4503
4503
  }
4504
4504
  ${USER_FIELDS_FRAGMENT}
4505
4505
  `;
4506
- var DELETE_USER_MUTATION = import_client23.gql`
4506
+ var DELETE_USER_MUTATION = import_client41.gql`
4507
4507
  mutation deleteUser($email: String!) {
4508
4508
  deleteUser(email: $email)
4509
4509
  }
4510
4510
  `;
4511
- var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client23.gql`
4511
+ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
4512
4512
  mutation addUserFavouriteResource(
4513
4513
  $resourceId: ID!
4514
4514
  $resourceType: ResourceTypeEnum!
@@ -4522,7 +4522,7 @@ var ADD_USER_FAVOURITE_RESOURCE_MUTATION = import_client23.gql`
4522
4522
  }
4523
4523
  ${USER_FIELDS_FRAGMENT}
4524
4524
  `;
4525
- var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client23.gql`
4525
+ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client41.gql`
4526
4526
  mutation removeUserFavouriteResource(
4527
4527
  $resourceId: ID!
4528
4528
  $resourceType: ResourceTypeEnum!
@@ -4536,7 +4536,7 @@ var REMOVE_USER_FAVOURITE_RESOURCE_MUTATION = import_client23.gql`
4536
4536
  }
4537
4537
  ${USER_FIELDS_FRAGMENT}
4538
4538
  `;
4539
- var SELECT_PACKAGE_MUTATION = import_client23.gql`
4539
+ var SELECT_PACKAGE_MUTATION = import_client41.gql`
4540
4540
  mutation selectPackage(
4541
4541
  $selectedLicence: LicencesEnumType!
4542
4542
  $removedLicence: LicencesEnumType
@@ -4553,7 +4553,7 @@ var SELECT_PACKAGE_MUTATION = import_client23.gql`
4553
4553
  }
4554
4554
  ${LICENCE_FIELDS_FRAGMENT}
4555
4555
  `;
4556
- var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client23.gql`
4556
+ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
4557
4557
  mutation addUserInterestResource($input: UserActivityInputType!) {
4558
4558
  addUserInterestResource(input: $input) {
4559
4559
  ...UserFields
@@ -4561,7 +4561,7 @@ var ADD_USER_INTEREST_RESOURCE_MUTATION = import_client23.gql`
4561
4561
  }
4562
4562
  ${USER_FIELDS_FRAGMENT}
4563
4563
  `;
4564
- var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client23.gql`
4564
+ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client41.gql`
4565
4565
  mutation removeUserInterestResource($input: UserActivityInputType!) {
4566
4566
  removeUserInterestResource(input: $input) {
4567
4567
  ...UserFields
@@ -4569,7 +4569,7 @@ var REMOVE_USER_INTEREST_RESOURCE_MUTATION = import_client23.gql`
4569
4569
  }
4570
4570
  ${USER_FIELDS_FRAGMENT}
4571
4571
  `;
4572
- var ADD_USER_GOING_RESOURCE_MUTATION = import_client23.gql`
4572
+ var ADD_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
4573
4573
  mutation addUserGoingResource($input: UserActivityInputType!) {
4574
4574
  addUserGoingResource(input: $input) {
4575
4575
  ...UserFields
@@ -4577,7 +4577,7 @@ var ADD_USER_GOING_RESOURCE_MUTATION = import_client23.gql`
4577
4577
  }
4578
4578
  ${USER_FIELDS_FRAGMENT}
4579
4579
  `;
4580
- var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client23.gql`
4580
+ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client41.gql`
4581
4581
  mutation removeUserGoingResource($input: UserActivityInputType!) {
4582
4582
  removeUserGoingResource(input: $input) {
4583
4583
  ...UserFields
@@ -4585,7 +4585,7 @@ var REMOVE_USER_GOING_RESOURCE_MUTATION = import_client23.gql`
4585
4585
  }
4586
4586
  ${USER_FIELDS_FRAGMENT}
4587
4587
  `;
4588
- var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client23.gql`
4588
+ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
4589
4589
  mutation addUserPresentResource($input: UserActivityInputType!) {
4590
4590
  addUserPresentResource(input: $input) {
4591
4591
  ...UserFields
@@ -4593,7 +4593,7 @@ var ADD_USER_PRESENT_RESOURCE_MUTATION = import_client23.gql`
4593
4593
  }
4594
4594
  ${USER_FIELDS_FRAGMENT}
4595
4595
  `;
4596
- var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client23.gql`
4596
+ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client41.gql`
4597
4597
  mutation removeUserPresentResource($input: UserActivityInputType!) {
4598
4598
  removeUserPresentResource(input: $input) {
4599
4599
  ...UserFields
@@ -4604,11 +4604,11 @@ var REMOVE_USER_PRESENT_RESOURCE_MUTATION = import_client23.gql`
4604
4604
 
4605
4605
  // src/graphql/hooks/user/hooksMutation.ts
4606
4606
  var useCreateUser = () => {
4607
- const [createUser, { loading, error }] = (0, import_react19.useMutation)(CREATE_USER_MUTATION);
4607
+ const [createUser, { loading, error }] = (0, import_client42.useMutation)(CREATE_USER_MUTATION);
4608
4608
  return { createUser, error, loading };
4609
4609
  };
4610
4610
  var useUpdateUser = () => {
4611
- const [updateUser, { loading, error }] = (0, import_react19.useMutation)(UPDATE_USER_MUTATION, {
4611
+ const [updateUser, { loading, error }] = (0, import_client42.useMutation)(UPDATE_USER_MUTATION, {
4612
4612
  awaitRefetchQueries: true,
4613
4613
  refetchQueries: (mutationResult) => {
4614
4614
  const userId = mutationResult?.data?.updateUser?._id;
@@ -4619,11 +4619,11 @@ var useUpdateUser = () => {
4619
4619
  return { error, loading, updateUser };
4620
4620
  };
4621
4621
  var useDeleteUser = () => {
4622
- const [deleteUser, { loading, error }] = (0, import_react19.useMutation)(DELETE_USER_MUTATION);
4622
+ const [deleteUser, { loading, error }] = (0, import_client42.useMutation)(DELETE_USER_MUTATION);
4623
4623
  return { deleteUser, error, loading };
4624
4624
  };
4625
4625
  var useAddUserFavouriteResource = () => {
4626
- const [addUserFavouriteResource, { loading, error }] = (0, import_react19.useMutation)(
4626
+ const [addUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
4627
4627
  ADD_USER_FAVOURITE_RESOURCE_MUTATION,
4628
4628
  {
4629
4629
  awaitRefetchQueries: true,
@@ -4633,7 +4633,7 @@ var useAddUserFavouriteResource = () => {
4633
4633
  return { addUserFavouriteResource, error, loading };
4634
4634
  };
4635
4635
  var useRemoveUserFavouriteResource = () => {
4636
- const [removeUserFavouriteResource, { loading, error }] = (0, import_react19.useMutation)(
4636
+ const [removeUserFavouriteResource, { loading, error }] = (0, import_client42.useMutation)(
4637
4637
  REMOVE_USER_FAVOURITE_RESOURCE_MUTATION,
4638
4638
  {
4639
4639
  awaitRefetchQueries: true,
@@ -4643,7 +4643,7 @@ var useRemoveUserFavouriteResource = () => {
4643
4643
  return { error, loading, removeUserFavouriteResource };
4644
4644
  };
4645
4645
  var useSelectPackage = () => {
4646
- const [selectPackage, { loading, error }] = (0, import_react19.useMutation)(SELECT_PACKAGE_MUTATION, {
4646
+ const [selectPackage, { loading, error }] = (0, import_client42.useMutation)(SELECT_PACKAGE_MUTATION, {
4647
4647
  awaitRefetchQueries: true,
4648
4648
  refetchQueries: (mutationResult) => {
4649
4649
  const userId = mutationResult?.data?.selectPackage?.userId;
@@ -4658,7 +4658,7 @@ var useSelectPackage = () => {
4658
4658
  return { error, loading, selectPackage };
4659
4659
  };
4660
4660
  var useAddUserInterestResource = () => {
4661
- const [addUserInterestResource, { loading, error }] = (0, import_react19.useMutation)(
4661
+ const [addUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
4662
4662
  ADD_USER_INTEREST_RESOURCE_MUTATION,
4663
4663
  {
4664
4664
  awaitRefetchQueries: true,
@@ -4668,7 +4668,7 @@ var useAddUserInterestResource = () => {
4668
4668
  return { addUserInterestResource, error, loading };
4669
4669
  };
4670
4670
  var useRemoveUserInterestResource = () => {
4671
- const [removeUserInterestResource, { loading, error }] = (0, import_react19.useMutation)(
4671
+ const [removeUserInterestResource, { loading, error }] = (0, import_client42.useMutation)(
4672
4672
  REMOVE_USER_INTEREST_RESOURCE_MUTATION,
4673
4673
  {
4674
4674
  awaitRefetchQueries: true,
@@ -4678,7 +4678,7 @@ var useRemoveUserInterestResource = () => {
4678
4678
  return { error, loading, removeUserInterestResource };
4679
4679
  };
4680
4680
  var useAddUserGoingResource = () => {
4681
- const [addUserGoingResource, { loading, error }] = (0, import_react19.useMutation)(
4681
+ const [addUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
4682
4682
  ADD_USER_GOING_RESOURCE_MUTATION,
4683
4683
  {
4684
4684
  awaitRefetchQueries: true,
@@ -4688,7 +4688,7 @@ var useAddUserGoingResource = () => {
4688
4688
  return { addUserGoingResource, error, loading };
4689
4689
  };
4690
4690
  var useRemoveUserGoingResource = () => {
4691
- const [removeUserGoingResource, { loading, error }] = (0, import_react19.useMutation)(
4691
+ const [removeUserGoingResource, { loading, error }] = (0, import_client42.useMutation)(
4692
4692
  REMOVE_USER_GOING_RESOURCE_MUTATION,
4693
4693
  {
4694
4694
  awaitRefetchQueries: true,
@@ -4698,7 +4698,7 @@ var useRemoveUserGoingResource = () => {
4698
4698
  return { error, loading, removeUserGoingResource };
4699
4699
  };
4700
4700
  var useAddUserPresentResource = () => {
4701
- const [addUserPresentResource, { loading, error }] = (0, import_react19.useMutation)(
4701
+ const [addUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
4702
4702
  ADD_USER_PRESENT_RESOURCE_MUTATION,
4703
4703
  {
4704
4704
  awaitRefetchQueries: true,
@@ -4708,7 +4708,7 @@ var useAddUserPresentResource = () => {
4708
4708
  return { addUserPresentResource, error, loading };
4709
4709
  };
4710
4710
  var useRemoveUserPresentResource = () => {
4711
- const [removeUserPresentResource, { loading, error }] = (0, import_react19.useMutation)(
4711
+ const [removeUserPresentResource, { loading, error }] = (0, import_client42.useMutation)(
4712
4712
  REMOVE_USER_PRESENT_RESOURCE_MUTATION,
4713
4713
  {
4714
4714
  awaitRefetchQueries: true,
@@ -4719,9 +4719,9 @@ var useRemoveUserPresentResource = () => {
4719
4719
  };
4720
4720
 
4721
4721
  // src/graphql/hooks/user/hooksQuery.ts
4722
- var import_react20 = require("@apollo/client/react");
4722
+ var import_client43 = require("@apollo/client");
4723
4723
  var useGetUsers = () => {
4724
- const { loading, error, data, refetch } = (0, import_react20.useQuery)(
4724
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(
4725
4725
  GET_USERS,
4726
4726
  {
4727
4727
  fetchPolicy: "network-only"
@@ -4731,7 +4731,7 @@ var useGetUsers = () => {
4731
4731
  return { error, loading, refetch, users };
4732
4732
  };
4733
4733
  var useGetUser = (_id) => {
4734
- const { loading, error, data, refetch } = (0, import_react20.useQuery)(
4734
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(
4735
4735
  GET_USER,
4736
4736
  {
4737
4737
  variables: { _id }
@@ -4741,21 +4741,21 @@ var useGetUser = (_id) => {
4741
4741
  return { error, loading, refetch, user };
4742
4742
  };
4743
4743
  var useGetUserEvents = () => {
4744
- const { loading, error, data, refetch } = (0, import_react20.useQuery)(GET_USER_EVENTS, {
4744
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_EVENTS, {
4745
4745
  fetchPolicy: "network-only"
4746
4746
  });
4747
4747
  const userEvents = data?.userEvents || [];
4748
4748
  return { error, loading, refetch, userEvents };
4749
4749
  };
4750
4750
  var useGetUserVendors = () => {
4751
- const { loading, error, data, refetch } = (0, import_react20.useQuery)(GET_USER_VENDORS, {
4751
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_VENDORS, {
4752
4752
  fetchPolicy: "network-only"
4753
4753
  });
4754
4754
  const userVendors = data?.userVendors || [];
4755
4755
  return { error, loading, refetch, userVendors };
4756
4756
  };
4757
4757
  var useGetUserActivities = () => {
4758
- const { loading, error, data, refetch } = (0, import_react20.useQuery)(GET_USER_ACTIVITIES, {
4758
+ const { loading, error, data, refetch } = (0, import_client43.useQuery)(GET_USER_ACTIVITIES, {
4759
4759
  fetchPolicy: "network-only"
4760
4760
  });
4761
4761
  const userActivities = {
@@ -4777,14 +4777,14 @@ var useGetUserActivities = () => {
4777
4777
  };
4778
4778
 
4779
4779
  // src/graphql/hooks/ad/hooksMutation.ts
4780
- var import_react21 = require("@apollo/client/react");
4780
+ var import_client46 = require("@apollo/client");
4781
4781
 
4782
4782
  // src/graphql/mutations/ad.ts
4783
- var import_client25 = require("@apollo/client");
4783
+ var import_client45 = require("@apollo/client");
4784
4784
 
4785
4785
  // src/graphql/queries/ad.ts
4786
- var import_client24 = require("@apollo/client");
4787
- var AD_FIELDS_FRAGMENT = import_client24.gql`
4786
+ var import_client44 = require("@apollo/client");
4787
+ var AD_FIELDS_FRAGMENT = import_client44.gql`
4788
4788
  fragment AdFields on AdType {
4789
4789
  _id
4790
4790
  active
@@ -4812,7 +4812,7 @@ var AD_FIELDS_FRAGMENT = import_client24.gql`
4812
4812
  }
4813
4813
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
4814
4814
  `;
4815
- var GET_ADS = import_client24.gql`
4815
+ var GET_ADS = import_client44.gql`
4816
4816
  query getAds {
4817
4817
  ads {
4818
4818
  ...AdFields
@@ -4820,7 +4820,7 @@ var GET_ADS = import_client24.gql`
4820
4820
  }
4821
4821
  ${AD_FIELDS_FRAGMENT}
4822
4822
  `;
4823
- var GET_AD = import_client24.gql`
4823
+ var GET_AD = import_client44.gql`
4824
4824
  query getAd($_id: ID!) {
4825
4825
  ad(_id: $_id) {
4826
4826
  ...AdFields
@@ -4828,7 +4828,7 @@ var GET_AD = import_client24.gql`
4828
4828
  }
4829
4829
  ${AD_FIELDS_FRAGMENT}
4830
4830
  `;
4831
- var GET_ADS_BY_REGION = import_client24.gql`
4831
+ var GET_ADS_BY_REGION = import_client44.gql`
4832
4832
  query getAdsByRegion($region: String!, $status: AdStatusTypeEnum) {
4833
4833
  adsByRegion(region: $region, status: $status) {
4834
4834
  ...AdFields
@@ -4838,7 +4838,7 @@ var GET_ADS_BY_REGION = import_client24.gql`
4838
4838
  `;
4839
4839
 
4840
4840
  // src/graphql/mutations/ad.ts
4841
- var CREATE_AD_MUTATION = import_client25.gql`
4841
+ var CREATE_AD_MUTATION = import_client45.gql`
4842
4842
  mutation createAd($input: AdInputType!) {
4843
4843
  createAd(input: $input) {
4844
4844
  ...AdFields
@@ -4846,7 +4846,7 @@ var CREATE_AD_MUTATION = import_client25.gql`
4846
4846
  }
4847
4847
  ${AD_FIELDS_FRAGMENT}
4848
4848
  `;
4849
- var UPDATE_AD_MUTATION = import_client25.gql`
4849
+ var UPDATE_AD_MUTATION = import_client45.gql`
4850
4850
  mutation updateAd($_id: ID!, $input: AdInputType!) {
4851
4851
  updateAd(_id: $_id, input: $input) {
4852
4852
  ...AdFields
@@ -4854,7 +4854,7 @@ var UPDATE_AD_MUTATION = import_client25.gql`
4854
4854
  }
4855
4855
  ${AD_FIELDS_FRAGMENT}
4856
4856
  `;
4857
- var DELETE_AD_MUTATION = import_client25.gql`
4857
+ var DELETE_AD_MUTATION = import_client45.gql`
4858
4858
  mutation deleteAd($_id: ID!) {
4859
4859
  deleteAd(_id: $_id)
4860
4860
  }
@@ -4862,7 +4862,7 @@ var DELETE_AD_MUTATION = import_client25.gql`
4862
4862
 
4863
4863
  // src/graphql/hooks/ad/hooksMutation.ts
4864
4864
  var useCreateAd = () => {
4865
- const [createAd, { loading, error }] = (0, import_react21.useMutation)(CREATE_AD_MUTATION, {
4865
+ const [createAd, { loading, error }] = (0, import_client46.useMutation)(CREATE_AD_MUTATION, {
4866
4866
  awaitRefetchQueries: true,
4867
4867
  refetchQueries: [{ query: GET_ADS }]
4868
4868
  });
@@ -4873,7 +4873,7 @@ var useCreateAd = () => {
4873
4873
  };
4874
4874
  };
4875
4875
  var useUpdateAd = () => {
4876
- const [updateAd, { loading, error }] = (0, import_react21.useMutation)(UPDATE_AD_MUTATION, {
4876
+ const [updateAd, { loading, error }] = (0, import_client46.useMutation)(UPDATE_AD_MUTATION, {
4877
4877
  awaitRefetchQueries: true,
4878
4878
  refetchQueries: [{ query: GET_ADS }]
4879
4879
  });
@@ -4884,7 +4884,7 @@ var useUpdateAd = () => {
4884
4884
  };
4885
4885
  };
4886
4886
  var useDeleteAd = () => {
4887
- const [deleteAd, { loading, error }] = (0, import_react21.useMutation)(DELETE_AD_MUTATION, {
4887
+ const [deleteAd, { loading, error }] = (0, import_client46.useMutation)(DELETE_AD_MUTATION, {
4888
4888
  awaitRefetchQueries: true,
4889
4889
  refetchQueries: [{ query: GET_ADS }]
4890
4890
  });
@@ -4896,9 +4896,9 @@ var useDeleteAd = () => {
4896
4896
  };
4897
4897
 
4898
4898
  // src/graphql/hooks/ad/hooksQuery.ts
4899
- var import_react22 = require("@apollo/client/react");
4899
+ var import_client47 = require("@apollo/client");
4900
4900
  var useGetAds = () => {
4901
- const { data, loading, error, refetch } = (0, import_react22.useQuery)(
4901
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(
4902
4902
  GET_ADS,
4903
4903
  {
4904
4904
  fetchPolicy: "no-cache"
@@ -4912,7 +4912,7 @@ var useGetAds = () => {
4912
4912
  };
4913
4913
  };
4914
4914
  var useGetAd = (_id) => {
4915
- const { data, loading, error, refetch } = (0, import_react22.useQuery)(GET_AD, {
4915
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_AD, {
4916
4916
  fetchPolicy: "no-cache",
4917
4917
  skip: !_id,
4918
4918
  variables: { _id }
@@ -4925,7 +4925,7 @@ var useGetAd = (_id) => {
4925
4925
  };
4926
4926
  };
4927
4927
  var useGetAdsByRegion = (region, status) => {
4928
- const { data, loading, error, refetch } = (0, import_react22.useQuery)(GET_ADS_BY_REGION, {
4928
+ const { data, loading, error, refetch } = (0, import_client47.useQuery)(GET_ADS_BY_REGION, {
4929
4929
  fetchPolicy: "no-cache",
4930
4930
  skip: !region,
4931
4931
  variables: { region, status }
@@ -4939,11 +4939,11 @@ var useGetAdsByRegion = (region, status) => {
4939
4939
  };
4940
4940
 
4941
4941
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
4942
- var import_react23 = require("@apollo/client/react");
4942
+ var import_client49 = require("@apollo/client");
4943
4943
 
4944
4944
  // src/graphql/mutations/resourceActivities.ts
4945
- var import_client26 = require("@apollo/client");
4946
- var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client26.gql`
4945
+ var import_client48 = require("@apollo/client");
4946
+ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client48.gql`
4947
4947
  mutation createResourceActivity($input: ResourceActivityInputType!) {
4948
4948
  createResourceActivity(input: $input)
4949
4949
  }
@@ -4951,18 +4951,18 @@ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client26.gql`
4951
4951
 
4952
4952
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
4953
4953
  var useCreateResourceActivity = () => {
4954
- const [createResourceActivity, { loading, error }] = (0, import_react23.useMutation)(
4954
+ const [createResourceActivity, { loading, error }] = (0, import_client49.useMutation)(
4955
4955
  CREATE_RESOURCE_ACTIVITY_MUTATION
4956
4956
  );
4957
4957
  return { createResourceActivity, error, loading };
4958
4958
  };
4959
4959
 
4960
4960
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
4961
- var import_react24 = require("@apollo/client/react");
4961
+ var import_client51 = require("@apollo/client");
4962
4962
 
4963
4963
  // src/graphql/queries/resourceActivities.ts
4964
- var import_client27 = require("@apollo/client");
4965
- var RESOURCE_ACTIVITIES_FIELDS_FRAGMENT = import_client27.gql`
4964
+ var import_client50 = require("@apollo/client");
4965
+ var RESOURCE_ACTIVITIES_FIELDS_FRAGMENT = import_client50.gql`
4966
4966
  fragment ResourceActivitiesFields on ResourceActivitiesType {
4967
4967
  resourceId
4968
4968
  resourceType
@@ -4981,7 +4981,7 @@ var RESOURCE_ACTIVITIES_FIELDS_FRAGMENT = import_client27.gql`
4981
4981
  }
4982
4982
  }
4983
4983
  `;
4984
- var GET_RESOURCE_ACTIVITIES = import_client27.gql`
4984
+ var GET_RESOURCE_ACTIVITIES = import_client50.gql`
4985
4985
  query getResourceActivities(
4986
4986
  $resourceType: ResourceTypeEnum!
4987
4987
  $resourceId: ID!
@@ -4995,7 +4995,7 @@ var GET_RESOURCE_ACTIVITIES = import_client27.gql`
4995
4995
 
4996
4996
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
4997
4997
  var useGetResourceActivities = (resourceId, resourceType) => {
4998
- const { data, loading, error, refetch } = (0, import_react24.useQuery)(GET_RESOURCE_ACTIVITIES, {
4998
+ const { data, loading, error, refetch } = (0, import_client51.useQuery)(GET_RESOURCE_ACTIVITIES, {
4999
4999
  fetchPolicy: "network-only",
5000
5000
  variables: { resourceId, resourceType }
5001
5001
  });
@@ -5008,11 +5008,11 @@ var useGetResourceActivities = (resourceId, resourceType) => {
5008
5008
  };
5009
5009
 
5010
5010
  // src/graphql/hooks/stripe/hooksMutation.ts
5011
- var import_react25 = require("@apollo/client/react");
5011
+ var import_client53 = require("@apollo/client");
5012
5012
 
5013
5013
  // src/graphql/mutations/stripe.ts
5014
- var import_client28 = require("@apollo/client");
5015
- var CREATE_CHECKOUT_SESSION_MUTATION = import_client28.gql`
5014
+ var import_client52 = require("@apollo/client");
5015
+ var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
5016
5016
  mutation createCheckoutSession($planId: LicencesEnumType!) {
5017
5017
  createCheckoutSession(planId: $planId) {
5018
5018
  sessionId
@@ -5020,12 +5020,12 @@ var CREATE_CHECKOUT_SESSION_MUTATION = import_client28.gql`
5020
5020
  }
5021
5021
  }
5022
5022
  `;
5023
- var CANCEL_SUBSCRIPTION_MUTATION = import_client28.gql`
5023
+ var CANCEL_SUBSCRIPTION_MUTATION = import_client52.gql`
5024
5024
  mutation cancelSubscription {
5025
5025
  cancelSubscription
5026
5026
  }
5027
5027
  `;
5028
- var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client28.gql`
5028
+ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
5029
5029
  mutation updateSubscriptionPlan($newPlanId: LicencesEnumType!) {
5030
5030
  updateSubscriptionPlan(newPlanId: $newPlanId) {
5031
5031
  subscriptionId
@@ -5038,30 +5038,30 @@ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client28.gql`
5038
5038
 
5039
5039
  // src/graphql/hooks/stripe/hooksMutation.ts
5040
5040
  var useCreateCheckoutSession = () => {
5041
- const [createCheckoutSession, { loading, error }] = (0, import_react25.useMutation)(
5041
+ const [createCheckoutSession, { loading, error }] = (0, import_client53.useMutation)(
5042
5042
  CREATE_CHECKOUT_SESSION_MUTATION
5043
5043
  );
5044
5044
  return { createCheckoutSession, error, loading };
5045
5045
  };
5046
5046
  var useCancelSubscription = () => {
5047
- const [cancelSubscription, { loading, error }] = (0, import_react25.useMutation)(
5047
+ const [cancelSubscription, { loading, error }] = (0, import_client53.useMutation)(
5048
5048
  CANCEL_SUBSCRIPTION_MUTATION
5049
5049
  );
5050
5050
  return { cancelSubscription, error, loading };
5051
5051
  };
5052
5052
  var useUpdateSubscriptionPlan = () => {
5053
- const [updateSubscriptionPlan, { loading, error }] = (0, import_react25.useMutation)(
5053
+ const [updateSubscriptionPlan, { loading, error }] = (0, import_client53.useMutation)(
5054
5054
  UPDATE_SUBSCRIPTION_PLAN_MUTATION
5055
5055
  );
5056
5056
  return { error, loading, updateSubscriptionPlan };
5057
5057
  };
5058
5058
 
5059
5059
  // src/graphql/hooks/stripe/hooksQuery.ts
5060
- var import_react26 = require("@apollo/client/react");
5060
+ var import_client55 = require("@apollo/client");
5061
5061
 
5062
5062
  // src/graphql/queries/stripe.ts
5063
- var import_client29 = require("@apollo/client");
5064
- var GET_SUBSCRIPTION_STATUS = import_client29.gql`
5063
+ var import_client54 = require("@apollo/client");
5064
+ var GET_SUBSCRIPTION_STATUS = import_client54.gql`
5065
5065
  query getSubscriptionStatus {
5066
5066
  getSubscriptionStatus {
5067
5067
  subscriptionId
@@ -5074,7 +5074,7 @@ var GET_SUBSCRIPTION_STATUS = import_client29.gql`
5074
5074
 
5075
5075
  // src/graphql/hooks/stripe/hooksQuery.ts
5076
5076
  var useGetSubscriptionStatus = () => {
5077
- const { data, loading, error, refetch } = (0, import_react26.useQuery)(GET_SUBSCRIPTION_STATUS);
5077
+ const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_STATUS);
5078
5078
  return {
5079
5079
  data: data?.getSubscriptionStatus,
5080
5080
  error,
@@ -5084,11 +5084,11 @@ var useGetSubscriptionStatus = () => {
5084
5084
  };
5085
5085
 
5086
5086
  // src/graphql/hooks/partner/hooksMutation.ts
5087
- var import_react27 = require("@apollo/client/react");
5087
+ var import_client57 = require("@apollo/client");
5088
5088
 
5089
5089
  // src/graphql/mutations/partner.ts
5090
- var import_client30 = require("@apollo/client");
5091
- var CREATE_PARTNER_MUTATION = import_client30.gql`
5090
+ var import_client56 = require("@apollo/client");
5091
+ var CREATE_PARTNER_MUTATION = import_client56.gql`
5092
5092
  mutation createPartner($input: PartnerInputType!) {
5093
5093
  createPartner(input: $input) {
5094
5094
  ...PartnerFields
@@ -5096,7 +5096,7 @@ var CREATE_PARTNER_MUTATION = import_client30.gql`
5096
5096
  }
5097
5097
  ${PARTNER}
5098
5098
  `;
5099
- var UPDATE_PARTNER_MUTATION = import_client30.gql`
5099
+ var UPDATE_PARTNER_MUTATION = import_client56.gql`
5100
5100
  mutation updatePartner($_id: ID!, $input: PartnerInputType!) {
5101
5101
  updatePartner(_id: $_id, input: $input) {
5102
5102
  ...PartnerFields
@@ -5104,7 +5104,7 @@ var UPDATE_PARTNER_MUTATION = import_client30.gql`
5104
5104
  }
5105
5105
  ${PARTNER}
5106
5106
  `;
5107
- var DELETE_PARTNER_MUTATION = import_client30.gql`
5107
+ var DELETE_PARTNER_MUTATION = import_client56.gql`
5108
5108
  mutation deletePartner($_id: ID!) {
5109
5109
  deletePartner(_id: $_id)
5110
5110
  }
@@ -5112,7 +5112,7 @@ var DELETE_PARTNER_MUTATION = import_client30.gql`
5112
5112
 
5113
5113
  // src/graphql/hooks/partner/hooksMutation.ts
5114
5114
  var useCreatePartner = () => {
5115
- const [createPartner, { loading, error }] = (0, import_react27.useMutation)(
5115
+ const [createPartner, { loading, error }] = (0, import_client57.useMutation)(
5116
5116
  CREATE_PARTNER_MUTATION,
5117
5117
  {
5118
5118
  awaitRefetchQueries: true,
@@ -5122,7 +5122,7 @@ var useCreatePartner = () => {
5122
5122
  return { createPartner, error, loading };
5123
5123
  };
5124
5124
  var useUpdatePartner = () => {
5125
- const [updatePartner, { loading, error }] = (0, import_react27.useMutation)(
5125
+ const [updatePartner, { loading, error }] = (0, import_client57.useMutation)(
5126
5126
  UPDATE_PARTNER_MUTATION,
5127
5127
  {
5128
5128
  awaitRefetchQueries: true,
@@ -5132,7 +5132,7 @@ var useUpdatePartner = () => {
5132
5132
  return { error, loading, updatePartner };
5133
5133
  };
5134
5134
  var useDeletePartner = () => {
5135
- const [deletePartner, { loading, error }] = (0, import_react27.useMutation)(
5135
+ const [deletePartner, { loading, error }] = (0, import_client57.useMutation)(
5136
5136
  DELETE_PARTNER_MUTATION,
5137
5137
  {
5138
5138
  awaitRefetchQueries: true,
@@ -5143,9 +5143,9 @@ var useDeletePartner = () => {
5143
5143
  };
5144
5144
 
5145
5145
  // src/graphql/hooks/partner/hooksQuery.ts
5146
- var import_react28 = require("@apollo/client/react");
5146
+ var import_client58 = require("@apollo/client");
5147
5147
  var useGetPartners = () => {
5148
- const { loading, error, data, refetch } = (0, import_react28.useQuery)(GET_PARTNERS, {
5148
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(GET_PARTNERS, {
5149
5149
  fetchPolicy: "network-only"
5150
5150
  });
5151
5151
  const partners = data?.partners || [];
@@ -5157,7 +5157,7 @@ var useGetPartners = () => {
5157
5157
  };
5158
5158
  };
5159
5159
  var useGetPartner = (_id) => {
5160
- const { loading, error, data, refetch } = (0, import_react28.useQuery)(
5160
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(
5161
5161
  GET_PARTNER,
5162
5162
  {
5163
5163
  fetchPolicy: "network-only",
@@ -5169,7 +5169,7 @@ var useGetPartner = (_id) => {
5169
5169
  return { error, loading, partner, refetch };
5170
5170
  };
5171
5171
  var useGetPartnersByRegion = (region) => {
5172
- const { loading, error, data, refetch } = (0, import_react28.useQuery)(GET_PARTNERS_BY_REGION, {
5172
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(GET_PARTNERS_BY_REGION, {
5173
5173
  fetchPolicy: "no-cache",
5174
5174
  skip: !region,
5175
5175
  variables: { region }
@@ -5178,7 +5178,7 @@ var useGetPartnersByRegion = (region) => {
5178
5178
  return { error, loading, partnersByRegion, refetch };
5179
5179
  };
5180
5180
  var useSearchPartners = (search, region) => {
5181
- const { loading, error, data, refetch } = (0, import_react28.useQuery)(SEARCH_PARTNERS, {
5181
+ const { loading, error, data, refetch } = (0, import_client58.useQuery)(SEARCH_PARTNERS, {
5182
5182
  fetchPolicy: "network-only",
5183
5183
  skip: search.length < 3,
5184
5184
  variables: { region, search }
@@ -6445,7 +6445,7 @@ function useResetPasswordForm() {
6445
6445
 
6446
6446
  // src/hooks/useTesterForm.ts
6447
6447
  var import_yup11 = require("@hookform/resolvers/yup");
6448
- var import_react29 = __toESM(require("react"));
6448
+ var import_react = __toESM(require("react"));
6449
6449
  var import_react_hook_form11 = require("react-hook-form");
6450
6450
  var defaultValues7 = {
6451
6451
  approved: false,
@@ -6471,7 +6471,7 @@ function useTesterForm(data) {
6471
6471
  defaultValues: defaultValues7,
6472
6472
  resolver: (0, import_yup11.yupResolver)(testerSchema)
6473
6473
  });
6474
- import_react29.default.useEffect(() => {
6474
+ import_react.default.useEffect(() => {
6475
6475
  if (data) {
6476
6476
  reset({
6477
6477
  approved: data.approved,
@@ -6522,7 +6522,7 @@ function useTesterForm(data) {
6522
6522
 
6523
6523
  // src/hooks/useContactUsForm.ts
6524
6524
  var import_yup12 = require("@hookform/resolvers/yup");
6525
- var import_react30 = __toESM(require("react"));
6525
+ var import_react2 = __toESM(require("react"));
6526
6526
  var import_react_hook_form12 = require("react-hook-form");
6527
6527
 
6528
6528
  // src/yupSchema/contactUs.ts
@@ -6554,7 +6554,7 @@ function useContactUsForm(data) {
6554
6554
  defaultValues: defaultValues8,
6555
6555
  resolver: (0, import_yup12.yupResolver)(contactUsSchema)
6556
6556
  });
6557
- import_react30.default.useEffect(() => {
6557
+ import_react2.default.useEffect(() => {
6558
6558
  if (data) {
6559
6559
  reset({
6560
6560
  email: data.email,
@@ -6585,7 +6585,7 @@ function useContactUsForm(data) {
6585
6585
 
6586
6586
  // src/hooks/useAdForm.ts
6587
6587
  var import_yup13 = require("@hookform/resolvers/yup");
6588
- var import_react31 = __toESM(require("react"));
6588
+ var import_react3 = __toESM(require("react"));
6589
6589
  var import_react_hook_form13 = require("react-hook-form");
6590
6590
  var defaultValues9 = {
6591
6591
  active: true,
@@ -6624,7 +6624,7 @@ function useAdForm(data) {
6624
6624
  defaultValues: defaultValues9,
6625
6625
  resolver: (0, import_yup13.yupResolver)(adSchema)
6626
6626
  });
6627
- import_react31.default.useEffect(() => {
6627
+ import_react3.default.useEffect(() => {
6628
6628
  if (data) {
6629
6629
  reset({
6630
6630
  active: data.active,