@timardex/cluemart-shared 1.4.68 → 1.4.69

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.
@@ -2,7 +2,7 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-C4-l6iF9.mjs';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-FOUmnU7B.mjs';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-D5luLIWV.mjs';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-CUFjCn0p.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -2,7 +2,7 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DoZpH1Fu.js';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-D7zAQcn2.js';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-Dpp6_lCR.js';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-QiqjfkA6.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -120,7 +120,7 @@ import {
120
120
  useUpdateVendor,
121
121
  useUpdateVendorInfo,
122
122
  useValidateVerificationToken
123
- } from "../chunk-USGCDP2Q.mjs";
123
+ } from "../chunk-7FRB62SE.mjs";
124
124
  import "../chunk-LDO4DRWY.mjs";
125
125
  export {
126
126
  useAddParticipantToChat,
@@ -2315,6 +2315,7 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
2315
2315
  partner
2316
2316
  platform
2317
2317
  preferredRegion
2318
+ promoCodes
2318
2319
  refreshToken
2319
2320
  role
2320
2321
  termsAgreement {
@@ -4827,7 +4828,9 @@ var defaultValues3 = {
4827
4828
  firstName: "",
4828
4829
  lastName: "",
4829
4830
  password: "",
4830
- preferredRegion: ""
4831
+ preferredRegion: "",
4832
+ promoCode: "",
4833
+ termsAgreement: null
4831
4834
  };
4832
4835
  function useRegisterForm() {
4833
4836
  const {
@@ -4842,7 +4845,15 @@ function useRegisterForm() {
4842
4845
  defaultValues: defaultValues3,
4843
4846
  resolver: (0, import_yup7.yupResolver)(registerSchema)
4844
4847
  });
4845
- const { email, firstName, lastName, password, preferredRegion } = getValues();
4848
+ const {
4849
+ email,
4850
+ firstName,
4851
+ lastName,
4852
+ password,
4853
+ preferredRegion,
4854
+ promoCode,
4855
+ termsAgreement
4856
+ } = getValues();
4846
4857
  return {
4847
4858
  control,
4848
4859
  fields: {
@@ -4850,7 +4861,9 @@ function useRegisterForm() {
4850
4861
  firstName,
4851
4862
  lastName,
4852
4863
  password,
4853
- preferredRegion
4864
+ preferredRegion,
4865
+ promoCode,
4866
+ termsAgreement
4854
4867
  },
4855
4868
  formState,
4856
4869
  handleSubmit,