@timardex/cluemart-shared 1.2.8 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/{auth-DNveddIQ.d.mts → ad-DIIPz6Cg.d.mts} +2 -51
  2. package/dist/{auth-Cp4zKr5d.d.ts → ad-iOu_E7DP.d.ts} +2 -51
  3. package/dist/auth-b59uXZAI.d.ts +45 -0
  4. package/dist/auth-zj4ldAg5.d.mts +45 -0
  5. package/dist/{chunk-JUZHLSQK.mjs → chunk-GATAI5T6.mjs} +3 -3
  6. package/dist/{chunk-JUZHLSQK.mjs.map → chunk-GATAI5T6.mjs.map} +1 -1
  7. package/dist/{chunk-4RWXISXJ.mjs → chunk-U6WFPNBJ.mjs} +8 -8
  8. package/dist/{chunk-4RWXISXJ.mjs.map → chunk-U6WFPNBJ.mjs.map} +1 -1
  9. package/dist/enums/index.cjs +7 -7
  10. package/dist/enums/index.cjs.map +1 -1
  11. package/dist/enums/index.d.mts +7 -7
  12. package/dist/enums/index.d.ts +7 -7
  13. package/dist/enums/index.mjs +1 -1
  14. package/dist/formFields/index.cjs +1 -1
  15. package/dist/formFields/index.cjs.map +1 -1
  16. package/dist/formFields/index.d.mts +1 -1
  17. package/dist/formFields/index.d.ts +1 -1
  18. package/dist/formFields/index.mjs +2 -2
  19. package/dist/{global-B42Tds9R.d.ts → global-B0ogdRmU.d.ts} +20 -2
  20. package/dist/{global-B87BDXpD.d.mts → global-CAQkxPc3.d.mts} +20 -2
  21. package/dist/graphql/index.cjs +440 -530
  22. package/dist/graphql/index.cjs.map +1 -1
  23. package/dist/graphql/index.d.mts +2 -2
  24. package/dist/graphql/index.d.ts +2 -2
  25. package/dist/graphql/index.mjs +389 -479
  26. package/dist/graphql/index.mjs.map +1 -1
  27. package/dist/hooks/index.cjs +18 -13
  28. package/dist/hooks/index.cjs.map +1 -1
  29. package/dist/hooks/index.d.mts +3 -3
  30. package/dist/hooks/index.d.ts +3 -3
  31. package/dist/hooks/index.mjs +12 -7
  32. package/dist/hooks/index.mjs.map +1 -1
  33. package/dist/index.cjs +458 -543
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.mts +25 -23
  36. package/dist/index.d.ts +25 -23
  37. package/dist/index.mjs +406 -491
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/types/index.d.mts +3 -3
  40. package/dist/types/index.d.ts +3 -3
  41. package/dist/utils/index.cjs +1 -1
  42. package/dist/utils/index.cjs.map +1 -1
  43. package/dist/utils/index.d.mts +1 -1
  44. package/dist/utils/index.d.ts +1 -1
  45. package/dist/utils/index.mjs +2 -2
  46. package/package.json +1 -1
  47. package/dist/contactUs-D4YMyStC.d.mts +0 -11
  48. package/dist/contactUs-gQtGXo7i.d.ts +0 -11
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
- import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
2
+ import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
3
3
 
4
4
  type RelationDate = {
5
5
  lastUpdateBy: {
@@ -173,6 +173,22 @@ interface VendorWithConnectionDatesType extends VendorType {
173
173
  type Nullable<T> = {
174
174
  [K in keyof T]: T[K] | null | undefined;
175
175
  };
176
+ type DeviceInfo = {
177
+ appBuildNumber: string;
178
+ appId: string;
179
+ appVersion: string;
180
+ brand: string;
181
+ deviceName: string;
182
+ installationId: string;
183
+ manufacturer: string;
184
+ modelName: string;
185
+ osName: string;
186
+ osVersion: string;
187
+ timestamp: string;
188
+ };
189
+ type TermsAgreement = DeviceInfo & {
190
+ termVersion: string;
191
+ };
176
192
  type ResourceContactDetailsType = {
177
193
  email?: string | null;
178
194
  landlinePhone?: string | null;
@@ -213,6 +229,7 @@ interface BaseResourceTypeFormData {
213
229
  promoCodes?: string[] | null;
214
230
  region: string;
215
231
  socialMedia?: SocialMediaType[] | null;
232
+ termsAgreement?: TermsAgreement | null;
216
233
  }
217
234
  type PosterUsageType = {
218
235
  month: string;
@@ -225,6 +242,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
225
242
  deletedAt: string | null;
226
243
  owner: OwnerType;
227
244
  posterUsage?: PosterUsageType | null;
245
+ relationDates?: RelationDate[] | null;
228
246
  relationIds: string[] | null;
229
247
  updatedAt: string;
230
248
  };
@@ -315,4 +333,4 @@ interface CreateFormData<T extends FieldValues> {
315
333
  watch: UseFormWatch<T>;
316
334
  }
317
335
 
318
- export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorWithConnectionDatesType as Q, Requirement as R, StallType as S, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, Region as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, DateTimeWithPriceType as x, PaymentInfoType as y, EventWithConnectionDatesType as z };
336
+ export type { EventWithConnectionDatesType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, RelationDate as H, ImageObjectType as I, VendorLocation as J, VendorMenuType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, VendorAttributes as Q, Requirement as R, StallType as S, TermsAgreement as T, VendorWithConnectionDatesType as U, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };