@timardex/cluemart-shared 1.7.70 → 1.7.72

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 (36) hide show
  1. package/dist/{ad-Diu-U5pX.d.ts → ad-CQ-1QWtc.d.ts} +1 -1
  2. package/dist/{ad-qYFQNWmk.d.mts → ad-qouAxMhY.d.mts} +1 -1
  3. package/dist/{affiliate-CELcBsj1.d.ts → affiliate-Bnxzi6ff.d.ts} +1 -1
  4. package/dist/{affiliate-BFiXC5wR.d.mts → affiliate-XmdvhiyX.d.mts} +1 -1
  5. package/dist/auth/index.cjs +2 -2
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +2 -2
  8. package/dist/auth/index.d.ts +2 -2
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-ZLSM7HEU.mjs → chunk-5MB4DIEP.mjs} +9 -5
  11. package/dist/{chunk-ZLSM7HEU.mjs.map → chunk-5MB4DIEP.mjs.map} +1 -1
  12. package/dist/{chunk-5K35SL2Z.mjs → chunk-ERNBPEQO.mjs} +2 -2
  13. package/dist/graphql/index.cjs +8 -4
  14. package/dist/graphql/index.cjs.map +1 -1
  15. package/dist/graphql/index.d.mts +7 -4
  16. package/dist/graphql/index.d.ts +7 -4
  17. package/dist/graphql/index.mjs +2 -2
  18. package/dist/hooks/index.cjs +2 -2
  19. package/dist/hooks/index.cjs.map +1 -1
  20. package/dist/hooks/index.d.mts +3 -3
  21. package/dist/hooks/index.d.ts +3 -3
  22. package/dist/hooks/index.mjs +2 -2
  23. package/dist/index.cjs +8 -4
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.mts +5 -2
  26. package/dist/index.d.ts +5 -2
  27. package/dist/index.mjs +8 -4
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/types/index.d.mts +3 -3
  30. package/dist/types/index.d.ts +3 -3
  31. package/dist/{user-BtuhHFYm.d.ts → user-BWqTgtUy.d.ts} +1 -1
  32. package/dist/{user-C-CD89aZ.d.mts → user-sSUFZOcq.d.mts} +1 -1
  33. package/dist/utils/index.d.mts +2 -2
  34. package/dist/utils/index.d.ts +2 -2
  35. package/package.json +1 -1
  36. /package/dist/{chunk-5K35SL2Z.mjs.map → chunk-ERNBPEQO.mjs.map} +0 -0
@@ -2,10 +2,10 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-kmePhBMr.mjs';
4
4
  import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-CG2xlh2k.mjs';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-qYFQNWmk.mjs';
5
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-qouAxMhY.mjs';
6
6
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-C-CD89aZ.mjs';
8
- import { A as AffiliateType } from '../affiliate-BFiXC5wR.mjs';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-sSUFZOcq.mjs';
8
+ import { A as AffiliateType } from '../affiliate-XmdvhiyX.mjs';
9
9
  import 'react-hook-form';
10
10
  import '../images/index.mjs';
11
11
 
@@ -953,7 +953,10 @@ declare const useGetUserResources: (userId: string) => {
953
953
  }>>;
954
954
  userResources: ResourceByUser[];
955
955
  };
956
- declare const useGetUsersByPromoCode: (promoCode: string) => {
956
+ declare const useGetUsersByPromoCode: (promoCode: string, options?: {
957
+ limit?: number;
958
+ offset?: number;
959
+ }) => {
957
960
  error: _apollo_client.ApolloError | undefined;
958
961
  loading: boolean;
959
962
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
@@ -2,10 +2,10 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-B2EqmRwK.js';
4
4
  import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-BjtC8RIp.js';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-Diu-U5pX.js';
5
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-CQ-1QWtc.js';
6
6
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-BtuhHFYm.js';
8
- import { A as AffiliateType } from '../affiliate-CELcBsj1.js';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-BWqTgtUy.js';
8
+ import { A as AffiliateType } from '../affiliate-Bnxzi6ff.js';
9
9
  import 'react-hook-form';
10
10
  import '../images/index.js';
11
11
 
@@ -953,7 +953,10 @@ declare const useGetUserResources: (userId: string) => {
953
953
  }>>;
954
954
  userResources: ResourceByUser[];
955
955
  };
956
- declare const useGetUsersByPromoCode: (promoCode: string) => {
956
+ declare const useGetUsersByPromoCode: (promoCode: string, options?: {
957
+ limit?: number;
958
+ offset?: number;
959
+ }) => {
957
960
  error: _apollo_client.ApolloError | undefined;
958
961
  loading: boolean;
959
962
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
@@ -148,7 +148,7 @@ import {
148
148
  useUpdateUser,
149
149
  useUpdateVendor,
150
150
  useUpdateVendorInfo
151
- } from "../chunk-5K35SL2Z.mjs";
151
+ } from "../chunk-ERNBPEQO.mjs";
152
152
  import {
153
153
  GET_EVENT,
154
154
  GET_EVENT_INFO,
@@ -171,7 +171,7 @@ import {
171
171
  useRequestPasswordReset,
172
172
  useResetPassword,
173
173
  useValidateVerificationToken
174
- } from "../chunk-ZLSM7HEU.mjs";
174
+ } from "../chunk-5MB4DIEP.mjs";
175
175
  import "../chunk-X3OLM35T.mjs";
176
176
  export {
177
177
  ACTIVATE_VENDOR_CLAIM_MUTATION,
@@ -4325,8 +4325,8 @@ var GET_USER_RESOURCES = import_client23.gql`
4325
4325
  }
4326
4326
  `;
4327
4327
  var GET_USERS_BY_PROMO_CODE = import_client23.gql`
4328
- query getUsersByPromoCode($promoCode: String!) {
4329
- usersByPromoCode(promoCode: $promoCode) {
4328
+ query getUsersByPromoCode($promoCode: String!, $limit: Int, $offset: Int) {
4329
+ usersByPromoCode(promoCode: $promoCode, limit: $limit, offset: $offset) {
4330
4330
  avatar {
4331
4331
  ...ResourceImageFields
4332
4332
  }