@timardex/cluemart-shared 1.5.839 → 1.5.841

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 (61) hide show
  1. package/dist/{ad-_mwYq2Z9.d.ts → ad-OyMRZ4ZE.d.ts} +3 -3
  2. package/dist/{ad-BPb9_tSM.d.mts → ad-bXnDHikm.d.mts} +3 -3
  3. package/dist/{affiliate-DrhbUvqf.d.ts → affiliate-B28f_U7r.d.ts} +2 -2
  4. package/dist/{affiliate-C_2ZuhuU.d.mts → affiliate-C56okox0.d.mts} +2 -2
  5. package/dist/auth/index.cjs +14 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-THXLJFLL.mjs → chunk-27VEKARL.mjs} +2 -2
  11. package/dist/{chunk-2V7QKRQE.mjs → chunk-4VN5M5JO.mjs} +1 -1
  12. package/dist/chunk-4VN5M5JO.mjs.map +1 -0
  13. package/dist/{chunk-P4XULG5P.mjs → chunk-QGEZL577.mjs} +15 -1
  14. package/dist/chunk-QGEZL577.mjs.map +1 -0
  15. package/dist/{chunk-EAO3C6JU.mjs → chunk-ZDYD4VDB.mjs} +2 -2
  16. package/dist/{contactUs-09e9ThN0.d.mts → contactUs-BH5uubk6.d.mts} +1 -1
  17. package/dist/{contactUs-DI70VJ9T.d.ts → contactUs-DKhr1NAC.d.ts} +1 -1
  18. package/dist/formFields/index.cjs.map +1 -1
  19. package/dist/formFields/index.d.mts +1 -1
  20. package/dist/formFields/index.d.ts +1 -1
  21. package/dist/formFields/index.mjs +2 -2
  22. package/dist/{global--iSLy2cE.d.ts → global-B8kHBTPv.d.ts} +1 -1
  23. package/dist/{global-BHwZPjT8.d.mts → global-JPj82Tvl.d.mts} +1 -1
  24. package/dist/graphql/index.cjs +14 -0
  25. package/dist/graphql/index.cjs.map +1 -1
  26. package/dist/graphql/index.d.mts +5 -5
  27. package/dist/graphql/index.d.ts +5 -5
  28. package/dist/graphql/index.mjs +2 -2
  29. package/dist/hooks/index.cjs +14 -7
  30. package/dist/hooks/index.cjs.map +1 -1
  31. package/dist/hooks/index.d.mts +5 -5
  32. package/dist/hooks/index.d.ts +5 -5
  33. package/dist/hooks/index.mjs +4 -11
  34. package/dist/hooks/index.mjs.map +1 -1
  35. package/dist/index.cjs +14 -0
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.mts +6 -6
  38. package/dist/index.d.ts +6 -6
  39. package/dist/index.mjs +14 -0
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/map/index.d.mts +1 -1
  42. package/dist/map/index.d.ts +1 -1
  43. package/dist/{resourceActivities-BDIjVrI4.d.mts → resourceActivities-CZw8My9Z.d.mts} +1 -1
  44. package/dist/{resourceActivities-JNcJxpTh.d.ts → resourceActivities-DV23pl5i.d.ts} +1 -1
  45. package/dist/sharing/index.d.mts +1 -1
  46. package/dist/sharing/index.d.ts +1 -1
  47. package/dist/types/index.cjs.map +1 -1
  48. package/dist/types/index.d.mts +7 -7
  49. package/dist/types/index.d.ts +7 -7
  50. package/dist/types/index.mjs +1 -1
  51. package/dist/{user-Bhkd3l06.d.mts → user-B8Y1_VmG.d.mts} +6 -6
  52. package/dist/{user-C_kCo0Fm.d.ts → user-c_sh7aZ_.d.ts} +6 -6
  53. package/dist/utils/index.cjs.map +1 -1
  54. package/dist/utils/index.d.mts +3 -3
  55. package/dist/utils/index.d.ts +3 -3
  56. package/dist/utils/index.mjs +2 -2
  57. package/package.json +1 -1
  58. package/dist/chunk-2V7QKRQE.mjs.map +0 -1
  59. package/dist/chunk-P4XULG5P.mjs.map +0 -1
  60. /package/dist/{chunk-THXLJFLL.mjs.map → chunk-27VEKARL.mjs.map} +0 -0
  61. /package/dist/{chunk-EAO3C6JU.mjs.map → chunk-ZDYD4VDB.mjs.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-BPb9_tSM.mjs';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BDIjVrI4.mjs';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BHwZPjT8.mjs';
7
- import { S as SafeUserType, R as RedeemRewardResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-Bhkd3l06.mjs';
8
- import { A as AffiliateType } from '../affiliate-C_2ZuhuU.mjs';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-bXnDHikm.mjs';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CZw8My9Z.mjs';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-JPj82Tvl.mjs';
7
+ import { S as SafeUserType, R as RedeemRewardResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-B8Y1_VmG.mjs';
8
+ import { A as AffiliateType } from '../affiliate-C56okox0.mjs';
9
9
  import '../images/index.mjs';
10
10
  import 'react-hook-form';
11
11
 
@@ -1,11 +1,11 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-_mwYq2Z9.js';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-JNcJxpTh.js';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global--iSLy2cE.js';
7
- import { S as SafeUserType, R as RedeemRewardResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-C_kCo0Fm.js';
8
- import { A as AffiliateType } from '../affiliate-DrhbUvqf.js';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolReturnType, c as SchoolType } from '../ad-OyMRZ4ZE.js';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DV23pl5i.js';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-B8kHBTPv.js';
7
+ import { S as SafeUserType, R as RedeemRewardResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-c_sh7aZ_.js';
8
+ import { A as AffiliateType } from '../affiliate-B28f_U7r.js';
9
9
  import '../images/index.js';
10
10
  import 'react-hook-form';
11
11
 
@@ -136,7 +136,7 @@ import {
136
136
  useUpdateUser,
137
137
  useUpdateVendor,
138
138
  useUpdateVendorInfo
139
- } from "../chunk-EAO3C6JU.mjs";
139
+ } from "../chunk-ZDYD4VDB.mjs";
140
140
  import {
141
141
  GET_EVENT,
142
142
  GET_EVENT_INFO,
@@ -157,7 +157,7 @@ import {
157
157
  useRequestPasswordReset,
158
158
  useResetPassword,
159
159
  useValidateVerificationToken
160
- } from "../chunk-P4XULG5P.mjs";
160
+ } from "../chunk-QGEZL577.mjs";
161
161
  import "../chunk-X3OLM35T.mjs";
162
162
  export {
163
163
  GET_EVENT,
@@ -2606,6 +2606,16 @@ var REDEEMED_REWARD_FIELDS_FRAGMENT = import_client.gql`
2606
2606
  redeemedAt
2607
2607
  }
2608
2608
  `;
2609
+ var STRIPE_FIELDS_FRAGMENT = import_client.gql`
2610
+ fragment StripeSubscriptionFields on StripeSubscriptionType {
2611
+ customerId
2612
+ subscriptionId
2613
+ status
2614
+ currentPlan
2615
+ startDate
2616
+ endDate
2617
+ }
2618
+ `;
2609
2619
  var USER_FIELDS_FRAGMENT = import_client.gql`
2610
2620
  fragment UserFields on UserType {
2611
2621
  _id
@@ -2639,6 +2649,9 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
2639
2649
  ...RedeemedRewardFields
2640
2650
  }
2641
2651
  school
2652
+ stripe {
2653
+ ...StripeSubscriptionFields
2654
+ }
2642
2655
  termsAgreement {
2643
2656
  ...TermsAgreementFields
2644
2657
  }
@@ -2654,6 +2667,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
2654
2667
  ${LICENCE_FIELDS_FRAGMENT}
2655
2668
  ${LOCATION_FIELDS_FRAGMENT}
2656
2669
  ${REDEEMED_REWARD_FIELDS_FRAGMENT}
2670
+ ${STRIPE_FIELDS_FRAGMENT}
2657
2671
  `;
2658
2672
  var STALL_TYPE_FIELDS_FRAGMENT = import_client.gql`
2659
2673
  fragment StallTypeFields on StallTypeType {
@@ -5635,7 +5649,6 @@ function mapBaseResourceTypeToFormData(data) {
5635
5649
  logo: data.logo,
5636
5650
  logoUpload: data.logoUpload ?? null,
5637
5651
  name: data.name,
5638
- owner: data.owner,
5639
5652
  promoCodes: data.promoCodes,
5640
5653
  region: data.region,
5641
5654
  socialMedia: data.socialMedia,
@@ -5691,7 +5704,6 @@ function useVendorForm(data) {
5691
5704
  logo,
5692
5705
  logoUpload,
5693
5706
  name,
5694
- owner,
5695
5707
  products,
5696
5708
  promoCodes,
5697
5709
  region,
@@ -5719,7 +5731,6 @@ function useVendorForm(data) {
5719
5731
  logo,
5720
5732
  logoUpload,
5721
5733
  name,
5722
- owner,
5723
5734
  products,
5724
5735
  promoCodes,
5725
5736
  region,
@@ -5905,7 +5916,6 @@ function useEventForm(data) {
5905
5916
  logoUpload,
5906
5917
  name,
5907
5918
  nzbn,
5908
- owner,
5909
5919
  promoCodes,
5910
5920
  provider,
5911
5921
  rainOrShine,
@@ -5934,7 +5944,6 @@ function useEventForm(data) {
5934
5944
  logoUpload,
5935
5945
  name,
5936
5946
  nzbn,
5937
- owner,
5938
5947
  promoCodes,
5939
5948
  provider,
5940
5949
  rainOrShine,
@@ -6488,7 +6497,6 @@ function usePartnerForm(data) {
6488
6497
  logoUpload,
6489
6498
  name,
6490
6499
  nzbn,
6491
- owner,
6492
6500
  partnerType,
6493
6501
  promoCodes,
6494
6502
  region,
@@ -6511,7 +6519,6 @@ function usePartnerForm(data) {
6511
6519
  logoUpload,
6512
6520
  name,
6513
6521
  nzbn,
6514
- owner,
6515
6522
  partnerType,
6516
6523
  promoCodes,
6517
6524
  region,