@timardex/cluemart-shared 1.5.798 → 1.5.799

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 (40) hide show
  1. package/dist/{ad-CnXQqP4h.d.mts → ad-BmEN-ByY.d.mts} +56 -1
  2. package/dist/{ad-jTYE2A1Z.d.ts → ad-DGOhJs69.d.ts} +56 -1
  3. package/dist/{chunk-EJPMEGZW.mjs → chunk-DXR4GYHF.mjs} +2 -42
  4. package/dist/chunk-DXR4GYHF.mjs.map +1 -0
  5. package/dist/{chunk-EWSFVF6C.mjs → chunk-JP57IB7P.mjs} +2 -1
  6. package/dist/{chunk-EWSFVF6C.mjs.map → chunk-JP57IB7P.mjs.map} +1 -1
  7. package/dist/{chunk-BNT4YIYG.mjs → chunk-TDTNL6PH.mjs} +1 -1
  8. package/dist/{chunk-BNT4YIYG.mjs.map → chunk-TDTNL6PH.mjs.map} +1 -1
  9. package/dist/formFields/index.cjs +0 -28
  10. package/dist/formFields/index.cjs.map +1 -1
  11. package/dist/formFields/index.mjs +2 -2
  12. package/dist/graphql/index.cjs +1 -0
  13. package/dist/graphql/index.cjs.map +1 -1
  14. package/dist/graphql/index.d.mts +1 -2
  15. package/dist/graphql/index.d.ts +1 -2
  16. package/dist/graphql/index.mjs +1 -1
  17. package/dist/hooks/index.cjs +1 -28
  18. package/dist/hooks/index.cjs.map +1 -1
  19. package/dist/hooks/index.d.mts +1 -2
  20. package/dist/hooks/index.d.ts +1 -2
  21. package/dist/hooks/index.mjs +3 -3
  22. package/dist/index.cjs +1 -42
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.mts +2 -38
  25. package/dist/index.d.ts +2 -38
  26. package/dist/index.mjs +1 -40
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/types/index.cjs.map +1 -1
  29. package/dist/types/index.d.mts +1 -2
  30. package/dist/types/index.d.ts +1 -2
  31. package/dist/types/index.mjs +1 -1
  32. package/dist/utils/index.cjs +0 -42
  33. package/dist/utils/index.cjs.map +1 -1
  34. package/dist/utils/index.d.mts +1 -39
  35. package/dist/utils/index.d.ts +1 -39
  36. package/dist/utils/index.mjs +2 -6
  37. package/package.json +1 -1
  38. package/dist/affiliate-CIuny52X.d.mts +0 -58
  39. package/dist/affiliate-Slb5tO_6.d.ts +0 -58
  40. package/dist/chunk-EJPMEGZW.mjs.map +0 -1
@@ -1,10 +1,9 @@
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, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-CnXQqP4h.mjs';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-BmEN-ByY.mjs';
5
5
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-lFB7B-Y9.mjs';
6
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-C8npu_7P.mjs';
7
- import { A as AffiliateType } from '../affiliate-CIuny52X.mjs';
8
7
  import '../images/index.mjs';
9
8
  import 'react-hook-form';
10
9
 
@@ -1,10 +1,9 @@
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, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-jTYE2A1Z.js';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType, i as AffiliateType } from '../ad-DGOhJs69.js';
5
5
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CJrM2qDC.js';
6
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-BeBuHWbg.js';
7
- import { A as AffiliateType } from '../affiliate-Slb5tO_6.js';
8
7
  import '../images/index.js';
9
8
  import 'react-hook-form';
10
9
 
@@ -152,7 +152,7 @@ import {
152
152
  useUpdateVendor,
153
153
  useUpdateVendorInfo,
154
154
  useValidateVerificationToken
155
- } from "../chunk-EWSFVF6C.mjs";
155
+ } from "../chunk-JP57IB7P.mjs";
156
156
  import "../chunk-LETM2YHF.mjs";
157
157
  export {
158
158
  GET_EVENT,
@@ -590,34 +590,6 @@ var PostTypeLabels = {
590
590
  var CM_SCHOOL_PROMO_CODE = `${PROMO_CODE_PREFIX}SCHOOL`;
591
591
  var CM_AFFILIATE_PROMO_CODE = `${PROMO_CODE_PREFIX}AFFILIATE`;
592
592
 
593
- // src/utils/affiliate.ts
594
- var AFFILIATE_REWARDS = {
595
- ["NEW_EVENT_REGISTRATION" /* NEW_EVENT_REGISTRATION */]: {
596
- description: "10 points for new event registration (one-time reward)",
597
- value: 10
598
- },
599
- ["NEW_VENDOR_REGISTRATION" /* NEW_VENDOR_REGISTRATION */]: {
600
- description: "5 points for new vendor registration (one-time reward)",
601
- value: 5
602
- },
603
- ["ACTIVE_VENDOR_PRO_SUBSCRIPTION" /* ACTIVE_VENDOR_PRO_SUBSCRIPTION */]: {
604
- description: "3 points for active vendor pro subscription (monthly reward)",
605
- value: 3
606
- },
607
- ["ACTIVE_VENDOR_STANDARD_SUBSCRIPTION" /* ACTIVE_VENDOR_STANDARD_SUBSCRIPTION */]: {
608
- description: "1 point for active vendor standard subscription (monthly reward)",
609
- value: 1
610
- },
611
- ["ACTIVE_VENDOR_BONUS_REWARD" /* ACTIVE_VENDOR_BONUS_REWARD */]: {
612
- description: "5 bonus points for every 10th active vendor (one-time reward)",
613
- value: 5
614
- },
615
- ["ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS" /* ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS */]: {
616
- description: "50 points for active event with vendor registrations (one-time reward)",
617
- value: 50
618
- }
619
- };
620
-
621
593
  // src/utils/school.ts
622
594
  var SCHOOL_MIN_STUDENT_COUNT = 300;
623
595
 
@@ -5072,6 +5044,7 @@ var AFFILIATE_REWARD_FIELDS_FRAGMENT = import_client74.gql`
5072
5044
  var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = import_client74.gql`
5073
5045
  fragment AffiliateResourceFields on AffiliateResourceType {
5074
5046
  resourceActive
5047
+ resourceDeletedAt
5075
5048
  resourceId
5076
5049
  resourceName
5077
5050
  resourceType