@timardex/cluemart-shared 2.0.11 → 2.0.12

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 (59) hide show
  1. package/dist/{ad-DEIR7iSl.d.ts → ad-C0Bj_eGN.d.ts} +2 -2
  2. package/dist/{ad-BFOGqBel.d.mts → ad-CeDLxQL8.d.mts} +2 -2
  3. package/dist/{affiliate-D7kf9GSr.d.ts → affiliate-DLK84S2l.d.ts} +2 -2
  4. package/dist/{affiliate-BQ62c6SE.d.mts → affiliate-uYPfJgBo.d.mts} +2 -2
  5. package/dist/auth/index.cjs +2 -2
  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-ZEFKXKEO.mjs → chunk-73BS32W3.mjs} +2 -2
  11. package/dist/{chunk-JOA6W4SP.mjs → chunk-LLH3ONZD.mjs} +3 -3
  12. package/dist/{chunk-JOA6W4SP.mjs.map → chunk-LLH3ONZD.mjs.map} +1 -1
  13. package/dist/{chunk-L45XTF3X.mjs → chunk-Q2WXGSIP.mjs} +1 -1
  14. package/dist/chunk-Q2WXGSIP.mjs.map +1 -0
  15. package/dist/{chunk-4T3GEF5H.mjs → chunk-ZTSH4DLC.mjs} +2 -2
  16. package/dist/{contactUs-vn3N0CGS.d.mts → contactUs-B5pS4Ujk.d.mts} +1 -1
  17. package/dist/{contactUs-CvqdtHsZ.d.ts → contactUs-BcNiRkKi.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-BGqjRZ1G.d.mts → global-C2HkzCU8.d.ts} +9 -2
  23. package/dist/{global-ABvdHwPj.d.ts → global-Ck3IWQnZ.d.mts} +9 -2
  24. package/dist/graphql/index.cjs +2 -2
  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 +2 -2
  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 -4
  34. package/dist/index.cjs +2 -2
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.d.mts +8 -1
  37. package/dist/index.d.ts +8 -1
  38. package/dist/index.mjs +2 -2
  39. package/dist/index.mjs.map +1 -1
  40. package/dist/map/index.d.mts +1 -1
  41. package/dist/map/index.d.ts +1 -1
  42. package/dist/{resourceActivities-DmhGEr1E.d.mts → resourceActivities-BVBLKeKm.d.mts} +1 -1
  43. package/dist/{resourceActivities-CpDYuKZb.d.ts → resourceActivities-CY2_3DQd.d.ts} +1 -1
  44. package/dist/sharing/index.d.mts +1 -1
  45. package/dist/sharing/index.d.ts +1 -1
  46. package/dist/types/index.cjs.map +1 -1
  47. package/dist/types/index.d.mts +7 -7
  48. package/dist/types/index.d.ts +7 -7
  49. package/dist/types/index.mjs +1 -1
  50. package/dist/{user-zrMQ2GDX.d.ts → user-B8cTGROe.d.ts} +1 -1
  51. package/dist/{user-CqrqqKv2.d.mts → user-CjV_JvEs.d.mts} +1 -1
  52. package/dist/utils/index.cjs.map +1 -1
  53. package/dist/utils/index.d.mts +3 -3
  54. package/dist/utils/index.d.ts +3 -3
  55. package/dist/utils/index.mjs +2 -2
  56. package/package.json +1 -1
  57. package/dist/chunk-L45XTF3X.mjs.map +0 -1
  58. /package/dist/{chunk-ZEFKXKEO.mjs.map → chunk-73BS32W3.mjs.map} +0 -0
  59. /package/dist/{chunk-4T3GEF5H.mjs.map → chunk-ZTSH4DLC.mjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BGqjRZ1G.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-Ck3IWQnZ.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-ABvdHwPj.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-C2HkzCU8.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -46,9 +46,9 @@ import {
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-4T3GEF5H.mjs";
49
+ } from "../chunk-ZTSH4DLC.mjs";
50
50
  import "../chunk-UH6POK3Y.mjs";
51
- import "../chunk-L45XTF3X.mjs";
51
+ import "../chunk-Q2WXGSIP.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-7DQBUZXY.mjs";
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.mjs';
2
+ import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia, EnumUserRole } from './enums/index.js';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -832,9 +832,16 @@ interface PaginationOptions {
832
832
  limit?: number;
833
833
  offset?: number;
834
834
  }
835
+ /** Server-side filter input for the super-admin users list query. */
836
+ interface UserListFilter {
837
+ active?: boolean | null;
838
+ hasLicences?: boolean | null;
839
+ role?: EnumUserRole | null;
840
+ search?: string | null;
841
+ }
835
842
  interface UseGetResourcesByRegionOptions extends PaginationOptions {
836
843
  onlyClaimed?: boolean;
837
844
  skip?: boolean;
838
845
  }
839
846
 
840
- export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, gameTypeToDisplayName as a$, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostFileInput as aA, type PostResource as aB, type ProductCoupon as aC, type PromoCodeType as aD, type PuzzleAnswer as aE, type PuzzleAnsweredQuestion as aF, type PuzzleBaseGame as aG, type PuzzleGameData as aH, type PuzzleQuestion as aI, type RelatedPostType as aJ, type RelationDate as aK, type RelationInputType as aL, type ResourceContactDetailsType as aM, type ResourceDetails as aN, type ResourceImageType as aO, type SocialMediaType as aP, type SocialShareResourceType as aQ, type Subcategory as aR, type SubcategoryItems as aS, type TermsAgreement as aT, type UnregisteredVendorInvitationType as aU, type VendorAttributes as aV, type VendorAvailability as aW, type VendorCalendarData as aX, type VendorDowngradeSnapshot as aY, type VendorProductList as aZ, gameScreenIdentifierList as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaginationOptions as aq, type PaymentInfoType as ar, type PostContentData as as, type PostContentFormData as at, type PostContentGame as au, type PostContentImage as av, type PostContentList as aw, type PostContentTextarea as ax, type PostContentType as ay, type PostContentVideo as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
847
+ export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, gameScreenIdentifierList as a$, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostFileInput as aA, type PostResource as aB, type ProductCoupon as aC, type PromoCodeType as aD, type PuzzleAnswer as aE, type PuzzleAnsweredQuestion as aF, type PuzzleBaseGame as aG, type PuzzleGameData as aH, type PuzzleQuestion as aI, type RelatedPostType as aJ, type RelationDate as aK, type RelationInputType as aL, type ResourceContactDetailsType as aM, type ResourceDetails as aN, type ResourceImageType as aO, type SocialMediaType as aP, type SocialShareResourceType as aQ, type Subcategory as aR, type SubcategoryItems as aS, type TermsAgreement as aT, type UnregisteredVendorInvitationType as aU, type UserListFilter as aV, type VendorAttributes as aW, type VendorAvailability as aX, type VendorCalendarData as aY, type VendorDowngradeSnapshot as aZ, type VendorProductList as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaginationOptions as aq, type PaymentInfoType as ar, type PostContentData as as, type PostContentFormData as at, type PostContentGame as au, type PostContentImage as av, type PostContentList as aw, type PostContentTextarea as ax, type PostContentType as ay, type PostContentVideo as az, type Requirement as b, gameTypeToDisplayName as b0, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia } from './enums/index.js';
2
+ import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia, EnumUserRole } from './enums/index.mjs';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -832,9 +832,16 @@ interface PaginationOptions {
832
832
  limit?: number;
833
833
  offset?: number;
834
834
  }
835
+ /** Server-side filter input for the super-admin users list query. */
836
+ interface UserListFilter {
837
+ active?: boolean | null;
838
+ hasLicences?: boolean | null;
839
+ role?: EnumUserRole | null;
840
+ search?: string | null;
841
+ }
835
842
  interface UseGetResourcesByRegionOptions extends PaginationOptions {
836
843
  onlyClaimed?: boolean;
837
844
  skip?: boolean;
838
845
  }
839
846
 
840
- export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, gameTypeToDisplayName as a$, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostFileInput as aA, type PostResource as aB, type ProductCoupon as aC, type PromoCodeType as aD, type PuzzleAnswer as aE, type PuzzleAnsweredQuestion as aF, type PuzzleBaseGame as aG, type PuzzleGameData as aH, type PuzzleQuestion as aI, type RelatedPostType as aJ, type RelationDate as aK, type RelationInputType as aL, type ResourceContactDetailsType as aM, type ResourceDetails as aN, type ResourceImageType as aO, type SocialMediaType as aP, type SocialShareResourceType as aQ, type Subcategory as aR, type SubcategoryItems as aS, type TermsAgreement as aT, type UnregisteredVendorInvitationType as aU, type VendorAttributes as aV, type VendorAvailability as aW, type VendorCalendarData as aX, type VendorDowngradeSnapshot as aY, type VendorProductList as aZ, gameScreenIdentifierList as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaginationOptions as aq, type PaymentInfoType as ar, type PostContentData as as, type PostContentFormData as at, type PostContentGame as au, type PostContentImage as av, type PostContentList as aw, type PostContentTextarea as ax, type PostContentType as ay, type PostContentVideo as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
847
+ export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, gameScreenIdentifierList as a$, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostFileInput as aA, type PostResource as aB, type ProductCoupon as aC, type PromoCodeType as aD, type PuzzleAnswer as aE, type PuzzleAnsweredQuestion as aF, type PuzzleBaseGame as aG, type PuzzleGameData as aH, type PuzzleQuestion as aI, type RelatedPostType as aJ, type RelationDate as aK, type RelationInputType as aL, type ResourceContactDetailsType as aM, type ResourceDetails as aN, type ResourceImageType as aO, type SocialMediaType as aP, type SocialShareResourceType as aQ, type Subcategory as aR, type SubcategoryItems as aS, type TermsAgreement as aT, type UnregisteredVendorInvitationType as aU, type UserListFilter as aV, type VendorAttributes as aW, type VendorAvailability as aX, type VendorCalendarData as aY, type VendorDowngradeSnapshot as aZ, type VendorProductList as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventStatusType as ad, type GameDate as ae, type GameHistory as af, type GamePlacement as ag, type GamePlacementClue as ah, type GameType as ai, type GeocodeLocation as aj, type GlobalGameData as ak, type ImageObjectType as al, type LocationGeoType as am, type Nullable as an, type OwnerType as ao, PROMO_CODE_PREFIX as ap, type PaginationOptions as aq, type PaymentInfoType as ar, type PostContentData as as, type PostContentFormData as at, type PostContentGame as au, type PostContentImage as av, type PostContentList as aw, type PostContentTextarea as ax, type PostContentType as ay, type PostContentVideo as az, type Requirement as b, gameTypeToDisplayName as b0, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
@@ -1448,8 +1448,8 @@ var GET_POSTS_BY_TYPE = import_client8.gql`
1448
1448
  // src/graphql/queries/user.ts
1449
1449
  var import_client9 = require("@apollo/client");
1450
1450
  var GET_USERS = import_client9.gql`
1451
- query getUsers($options: PaginationOptions) {
1452
- users(options: $options) {
1451
+ query getUsers($options: PaginationOptions, $filter: UserListFilter) {
1452
+ users(options: $options, filter: $filter) {
1453
1453
  ...UserFields
1454
1454
  }
1455
1455
  }