@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
package/dist/index.d.mts CHANGED
@@ -35,15 +35,15 @@ declare enum EnumResourceType {
35
35
  VENDOR = "vendor"
36
36
  }
37
37
  declare enum EnumEventType {
38
- EXPO = "expo",
39
- FAIR = "fair",
40
- FESTIVAL = "festival",
41
- MARKET = "market"
38
+ EXPO = "Expo",
39
+ FAIR = "Fair",
40
+ FESTIVAL = "Festival",
41
+ MARKET = "Market"
42
42
  }
43
43
  declare enum EnumVendorType {
44
- STALLHOLDER = "stallholder",
45
- SHOP = "shop",
46
- CHARITY = "charity"
44
+ STALLHOLDER = "Stallholder",
45
+ SHOP = "Shop",
46
+ CHARITY = "Charity"
47
47
  }
48
48
  declare enum EnumOSPlatform {
49
49
  ANDROID = "android",
@@ -285,6 +285,22 @@ interface VendorWithConnectionDatesType extends VendorType {
285
285
  type Nullable<T> = {
286
286
  [K in keyof T]: T[K] | null | undefined;
287
287
  };
288
+ type DeviceInfo = {
289
+ appBuildNumber: string;
290
+ appId: string;
291
+ appVersion: string;
292
+ brand: string;
293
+ deviceName: string;
294
+ installationId: string;
295
+ manufacturer: string;
296
+ modelName: string;
297
+ osName: string;
298
+ osVersion: string;
299
+ timestamp: string;
300
+ };
301
+ type TermsAgreement = DeviceInfo & {
302
+ termVersion: string;
303
+ };
288
304
  type ResourceContactDetailsType = {
289
305
  email?: string | null;
290
306
  landlinePhone?: string | null;
@@ -325,6 +341,7 @@ interface BaseResourceTypeFormData {
325
341
  promoCodes?: string[] | null;
326
342
  region: string;
327
343
  socialMedia?: SocialMediaType[] | null;
344
+ termsAgreement?: TermsAgreement | null;
328
345
  }
329
346
  type PosterUsageType = {
330
347
  month: string;
@@ -337,6 +354,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
337
354
  deletedAt: string | null;
338
355
  owner: OwnerType;
339
356
  posterUsage?: PosterUsageType | null;
357
+ relationDates?: RelationDate[] | null;
340
358
  relationIds: string[] | null;
341
359
  updatedAt: string;
342
360
  };
@@ -450,22 +468,6 @@ interface AdminUpdateResourceType {
450
468
  resourceType: EnumResourceType;
451
469
  }
452
470
 
453
- type DeviceInfo = {
454
- appBuildNumber: string;
455
- appId: string;
456
- appVersion: string;
457
- brand: string;
458
- deviceName: string;
459
- installationId: string;
460
- manufacturer: string;
461
- modelName: string;
462
- osName: string;
463
- osVersion: string;
464
- timestamp: string;
465
- };
466
- type TermsAgreement = DeviceInfo & {
467
- termVersion: string;
468
- };
469
471
  type LoginFormData = {
470
472
  email: string;
471
473
  isAdminPage?: boolean;
package/dist/index.d.ts CHANGED
@@ -35,15 +35,15 @@ declare enum EnumResourceType {
35
35
  VENDOR = "vendor"
36
36
  }
37
37
  declare enum EnumEventType {
38
- EXPO = "expo",
39
- FAIR = "fair",
40
- FESTIVAL = "festival",
41
- MARKET = "market"
38
+ EXPO = "Expo",
39
+ FAIR = "Fair",
40
+ FESTIVAL = "Festival",
41
+ MARKET = "Market"
42
42
  }
43
43
  declare enum EnumVendorType {
44
- STALLHOLDER = "stallholder",
45
- SHOP = "shop",
46
- CHARITY = "charity"
44
+ STALLHOLDER = "Stallholder",
45
+ SHOP = "Shop",
46
+ CHARITY = "Charity"
47
47
  }
48
48
  declare enum EnumOSPlatform {
49
49
  ANDROID = "android",
@@ -285,6 +285,22 @@ interface VendorWithConnectionDatesType extends VendorType {
285
285
  type Nullable<T> = {
286
286
  [K in keyof T]: T[K] | null | undefined;
287
287
  };
288
+ type DeviceInfo = {
289
+ appBuildNumber: string;
290
+ appId: string;
291
+ appVersion: string;
292
+ brand: string;
293
+ deviceName: string;
294
+ installationId: string;
295
+ manufacturer: string;
296
+ modelName: string;
297
+ osName: string;
298
+ osVersion: string;
299
+ timestamp: string;
300
+ };
301
+ type TermsAgreement = DeviceInfo & {
302
+ termVersion: string;
303
+ };
288
304
  type ResourceContactDetailsType = {
289
305
  email?: string | null;
290
306
  landlinePhone?: string | null;
@@ -325,6 +341,7 @@ interface BaseResourceTypeFormData {
325
341
  promoCodes?: string[] | null;
326
342
  region: string;
327
343
  socialMedia?: SocialMediaType[] | null;
344
+ termsAgreement?: TermsAgreement | null;
328
345
  }
329
346
  type PosterUsageType = {
330
347
  month: string;
@@ -337,6 +354,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
337
354
  deletedAt: string | null;
338
355
  owner: OwnerType;
339
356
  posterUsage?: PosterUsageType | null;
357
+ relationDates?: RelationDate[] | null;
340
358
  relationIds: string[] | null;
341
359
  updatedAt: string;
342
360
  };
@@ -450,22 +468,6 @@ interface AdminUpdateResourceType {
450
468
  resourceType: EnumResourceType;
451
469
  }
452
470
 
453
- type DeviceInfo = {
454
- appBuildNumber: string;
455
- appId: string;
456
- appVersion: string;
457
- brand: string;
458
- deviceName: string;
459
- installationId: string;
460
- manufacturer: string;
461
- modelName: string;
462
- osName: string;
463
- osVersion: string;
464
- timestamp: string;
465
- };
466
- type TermsAgreement = DeviceInfo & {
467
- termVersion: string;
468
- };
469
471
  type LoginFormData = {
470
472
  email: string;
471
473
  isAdminPage?: boolean;