@timardex/cluemart-shared 2.0.17 → 2.1.0

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 (69) hide show
  1. package/dist/{ad-BaKxf-Rj.d.ts → ad-CUckkB7I.d.ts} +3 -3
  2. package/dist/{ad-B4hhLfL-.d.mts → ad-sqc3JME-.d.mts} +3 -3
  3. package/dist/{affiliate-Bv4PXBXC.d.mts → affiliate-7SDCo04C.d.mts} +2 -2
  4. package/dist/{affiliate-xDFlLdJI.d.ts → affiliate-C03r7ssL.d.ts} +2 -2
  5. package/dist/auth/index.d.mts +3 -3
  6. package/dist/auth/index.d.ts +3 -3
  7. package/dist/auth/index.mjs +4 -15
  8. package/dist/auth/index.mjs.map +1 -1
  9. package/dist/{chunk-RNHDFZIC.mjs → chunk-KUC252SN.mjs} +9 -5
  10. package/dist/chunk-KUC252SN.mjs.map +1 -0
  11. package/dist/chunk-N46DFZ3R.mjs +20 -0
  12. package/dist/chunk-N46DFZ3R.mjs.map +1 -0
  13. package/dist/{chunk-JESR7H4R.mjs → chunk-PIEXGXTD.mjs} +1 -1
  14. package/dist/chunk-PIEXGXTD.mjs.map +1 -0
  15. package/dist/chunk-RE4NZPYY.mjs +43 -0
  16. package/dist/chunk-RE4NZPYY.mjs.map +1 -0
  17. package/dist/{chunk-5G3MQXQX.mjs → chunk-YPT2VOTM.mjs} +2 -2
  18. package/dist/{contactUs-DtKFwekV.d.ts → contactUs-BG3sJ6gc.d.ts} +1 -1
  19. package/dist/{contactUs-0IhAsiDW.d.mts → contactUs-CWFP59_0.d.mts} +1 -1
  20. package/dist/formFields/index.cjs.map +1 -1
  21. package/dist/formFields/index.d.mts +1 -1
  22. package/dist/formFields/index.d.ts +1 -1
  23. package/dist/formFields/index.mjs +3 -2
  24. package/dist/{global-C6w0hQ5Y.d.mts → global-BqeTWrvk.d.ts} +4 -1
  25. package/dist/{global-Coz5Jgi2.d.ts → global-CWo-hWKZ.d.mts} +4 -1
  26. package/dist/graphql/index.cjs +8 -4
  27. package/dist/graphql/index.cjs.map +1 -1
  28. package/dist/graphql/index.d.mts +6 -6
  29. package/dist/graphql/index.d.ts +6 -6
  30. package/dist/graphql/index.mjs +1 -1
  31. package/dist/hooks/index.cjs +6 -2
  32. package/dist/hooks/index.cjs.map +1 -1
  33. package/dist/hooks/index.d.mts +5 -5
  34. package/dist/hooks/index.d.ts +5 -5
  35. package/dist/hooks/index.mjs +4 -3
  36. package/dist/hooks/index.mjs.map +1 -1
  37. package/dist/index.cjs +51 -4
  38. package/dist/index.cjs.map +1 -1
  39. package/dist/index.d.mts +9 -2
  40. package/dist/index.d.ts +9 -2
  41. package/dist/index.mjs +48 -4
  42. package/dist/index.mjs.map +1 -1
  43. package/dist/map/index.d.mts +1 -1
  44. package/dist/map/index.d.ts +1 -1
  45. package/dist/region/index.cjs +290 -0
  46. package/dist/region/index.cjs.map +1 -0
  47. package/dist/region/index.d.mts +36 -0
  48. package/dist/region/index.d.ts +36 -0
  49. package/dist/region/index.mjs +220 -0
  50. package/dist/region/index.mjs.map +1 -0
  51. package/dist/{resourceActivities-DScv6fiM.d.ts → resourceActivities-BbhGFtZA.d.ts} +1 -1
  52. package/dist/{resourceActivities-DIK3bwZg.d.mts → resourceActivities-D81u7Mu0.d.mts} +1 -1
  53. package/dist/sharing/index.d.mts +1 -1
  54. package/dist/sharing/index.d.ts +1 -1
  55. package/dist/types/index.cjs.map +1 -1
  56. package/dist/types/index.d.mts +7 -7
  57. package/dist/types/index.d.ts +7 -7
  58. package/dist/types/index.mjs +1 -1
  59. package/dist/{user-DhxdbFT7.d.ts → user-2peJoOeK.d.ts} +1 -1
  60. package/dist/{user-BwcVKK-h.d.mts → user-DKcyf8gn.d.mts} +1 -1
  61. package/dist/utils/index.cjs +43 -0
  62. package/dist/utils/index.cjs.map +1 -1
  63. package/dist/utils/index.d.mts +8 -4
  64. package/dist/utils/index.d.ts +8 -4
  65. package/dist/utils/index.mjs +10 -2
  66. package/package.json +6 -1
  67. package/dist/chunk-JESR7H4R.mjs.map +0 -1
  68. package/dist/chunk-RNHDFZIC.mjs.map +0 -1
  69. /package/dist/{chunk-5G3MQXQX.mjs.map → chunk-YPT2VOTM.mjs.map} +0 -0
@@ -1,13 +1,13 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
3
3
  import { DocumentNode } from 'graphql';
4
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DIK3bwZg.mjs';
5
- import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-C6w0hQ5Y.mjs';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BwcVKK-h.mjs';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-B4hhLfL-.mjs';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-D81u7Mu0.mjs';
5
+ import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-CWo-hWKZ.mjs';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-DKcyf8gn.mjs';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-sqc3JME-.mjs';
8
8
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
10
- import { A as AffiliateType } from '../affiliate-Bv4PXBXC.mjs';
10
+ import { A as AffiliateType } from '../affiliate-7SDCo04C.mjs';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.mjs';
13
13
 
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
1012
1012
  ad: AdType;
1013
1013
  }>>;
1014
1014
  };
1015
- declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform) => {
1015
+ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, showOn?: EnumAdShowOn) => {
1016
1016
  adsByRegion: AdType[];
1017
1017
  error: _apollo_client.ApolloError | undefined;
1018
1018
  loading: boolean;
@@ -1,13 +1,13 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode as DocumentNode$1, ApolloError } from '@apollo/client';
3
3
  import { DocumentNode } from 'graphql';
4
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DScv6fiM.js';
5
- import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-Coz5Jgi2.js';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-DhxdbFT7.js';
7
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-BaKxf-Rj.js';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BbhGFtZA.js';
5
+ import { M as MutationResponse, E as EventType, d as EventListItemType, e as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, f as RelationType, g as ResourceConnectionsType, V as VendorClaimTokenValidation, h as UnregisteredVendorType, i as VendorType, j as VendorInfoType, k as MyPendingVendorClaim, l as UserLicenceType, m as PostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-BqeTWrvk.js';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-2peJoOeK.js';
7
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdPlatform, b as EnumAdShowOn, c as AppSettingsType, S as SchoolType, d as SchoolReturnType } from '../ad-CUckkB7I.js';
8
8
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
9
9
  import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
10
- import { A as AffiliateType } from '../affiliate-xDFlLdJI.js';
10
+ import { A as AffiliateType } from '../affiliate-C03r7ssL.js';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.js';
13
13
 
@@ -1012,7 +1012,7 @@ declare const useGetAd: (_id: string) => {
1012
1012
  ad: AdType;
1013
1013
  }>>;
1014
1014
  };
1015
- declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform) => {
1015
+ declare const useGetAdsByRegion: (region: string, platform: EnumAdPlatform, showOn?: EnumAdShowOn) => {
1016
1016
  adsByRegion: AdType[];
1017
1017
  error: _apollo_client.ApolloError | undefined;
1018
1018
  loading: boolean;
@@ -163,7 +163,7 @@ import {
163
163
  useUpdateUser,
164
164
  useUpdateVendor,
165
165
  useUpdateVendorInfo
166
- } from "../chunk-RNHDFZIC.mjs";
166
+ } from "../chunk-KUC252SN.mjs";
167
167
  import {
168
168
  GET_EVENT,
169
169
  GET_EVENTS,
@@ -4894,8 +4894,12 @@ var GET_AD = import_client44.gql`
4894
4894
  ${AD_FIELDS_FRAGMENT}
4895
4895
  `;
4896
4896
  var GET_ADS_BY_REGION = import_client44.gql`
4897
- query getAdsByRegion($region: String!, $platform: AdPlatformEnum!) {
4898
- adsByRegion(region: $region, platform: $platform) {
4897
+ query getAdsByRegion(
4898
+ $region: String!
4899
+ $platform: AdPlatformEnum!
4900
+ $showOn: AdShowOnEnum
4901
+ ) {
4902
+ adsByRegion(region: $region, platform: $platform, showOn: $showOn) {
4899
4903
  ...AdFields
4900
4904
  }
4901
4905
  }