@timardex/cluemart-shared 2.3.10 → 2.3.20

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 (46) hide show
  1. package/dist/{ad-CdehhMyb.d.ts → ad-6lcjOj3X.d.ts} +2 -2
  2. package/dist/{ad-Drhn_Azy.d.mts → ad-8hhGHx6J.d.mts} +2 -2
  3. package/dist/{affiliate-Cd78p2Fz.d.mts → affiliate-DJhVZJ2h.d.mts} +2 -2
  4. package/dist/{affiliate-CdIL0r2o.d.ts → affiliate-DuDoOxK_.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/{chunk-UWMZ6VLV.mjs → chunk-ZZXSAQM6.mjs} +24 -5
  8. package/dist/chunk-ZZXSAQM6.mjs.map +1 -0
  9. package/dist/{contactUs-ITiB1XV4.d.ts → contactUs-6b5g9DV-.d.ts} +1 -1
  10. package/dist/{contactUs-BJPQ5nKc.d.mts → contactUs-BDJutwcx.d.mts} +1 -1
  11. package/dist/formFields/index.d.mts +1 -1
  12. package/dist/formFields/index.d.ts +1 -1
  13. package/dist/{global-XUBcgjNc.d.mts → global-EGbrTMk6.d.mts} +5 -1
  14. package/dist/{global-DlC7W4p7.d.ts → global-LtQJ2t6c.d.ts} +5 -1
  15. package/dist/graphql/index.cjs +23 -4
  16. package/dist/graphql/index.cjs.map +1 -1
  17. package/dist/graphql/index.d.mts +9 -9
  18. package/dist/graphql/index.d.ts +9 -9
  19. package/dist/graphql/index.mjs +1 -1
  20. package/dist/hooks/index.cjs +23 -4
  21. package/dist/hooks/index.cjs.map +1 -1
  22. package/dist/hooks/index.d.mts +5 -5
  23. package/dist/hooks/index.d.ts +5 -5
  24. package/dist/hooks/index.mjs +1 -1
  25. package/dist/index.cjs +23 -4
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.mts +9 -5
  28. package/dist/index.d.ts +9 -5
  29. package/dist/index.mjs +23 -4
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/map/index.d.mts +1 -1
  32. package/dist/map/index.d.ts +1 -1
  33. package/dist/region/index.d.mts +1 -1
  34. package/dist/region/index.d.ts +1 -1
  35. package/dist/{resourceActivities-Ci12UkJU.d.mts → resourceActivities-BytCHUvO.d.mts} +1 -1
  36. package/dist/{resourceActivities-C8eIfpKl.d.ts → resourceActivities-DlUEbCkT.d.ts} +1 -1
  37. package/dist/sharing/index.d.mts +1 -1
  38. package/dist/sharing/index.d.ts +1 -1
  39. package/dist/types/index.d.mts +7 -7
  40. package/dist/types/index.d.ts +7 -7
  41. package/dist/{user-BSFExFvl.d.ts → user-GnrqZmZP.d.ts} +1 -1
  42. package/dist/{user-D31zAVuz.d.mts → user-Znc91Cw5.d.mts} +1 -1
  43. package/dist/utils/index.d.mts +3 -3
  44. package/dist/utils/index.d.ts +3 -3
  45. package/package.json +1 -1
  46. package/dist/chunk-UWMZ6VLV.mjs.map +0 -1
@@ -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-Ci12UkJU.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-XUBcgjNc.mjs';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-D31zAVuz.mjs';
7
- import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-Drhn_Azy.mjs';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BytCHUvO.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 RelationHistoryType, h as ResourceConnectionsType, V as VendorClaimTokenValidation, i as UnregisteredVendorType, j as VendorType, k as VendorInfoType, l as MyPendingVendorClaim, m as UserLicenceType, n as PostType, G as GameDocType, o as GameLeaderboard, p as CouponType, q as CouponTypeList } from '../global-EGbrTMk6.mjs';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-Znc91Cw5.mjs';
7
+ import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-8hhGHx6J.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-Cd78p2Fz.mjs';
10
+ import { A as AffiliateType } from '../affiliate-DJhVZJ2h.mjs';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.mjs';
13
13
 
@@ -572,9 +572,9 @@ declare const useGetRelationHistory: (_id?: string) => {
572
572
  error: _apollo_client.ApolloError | undefined;
573
573
  loading: boolean;
574
574
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
575
- relationHistory: RelationType;
575
+ relationHistory: RelationHistoryType;
576
576
  }>>;
577
- relationHistory: RelationType | undefined;
577
+ relationHistory: RelationHistoryType | undefined;
578
578
  };
579
579
  /**
580
580
  * Every relation linked to an event or vendor with past relation dates only.
@@ -584,9 +584,9 @@ declare const useGetRelationHistories: (resourceId?: string, resourceType?: Enum
584
584
  error: _apollo_client.ApolloError | undefined;
585
585
  loading: boolean;
586
586
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
587
- relationHistories: RelationType[];
587
+ relationHistories: RelationHistoryType[];
588
588
  }>>;
589
- relationHistories: RelationType[];
589
+ relationHistories: RelationHistoryType[];
590
590
  };
591
591
  declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
592
592
  error: _apollo_client.ApolloError | undefined;
@@ -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-C8eIfpKl.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-DlC7W4p7.js';
6
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-BSFExFvl.js';
7
- import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-CdehhMyb.js';
4
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-DlUEbCkT.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 RelationHistoryType, h as ResourceConnectionsType, V as VendorClaimTokenValidation, i as UnregisteredVendorType, j as VendorType, k as VendorInfoType, l as MyPendingVendorClaim, m as UserLicenceType, n as PostType, G as GameDocType, o as GameLeaderboard, p as CouponType, q as CouponTypeList } from '../global-LtQJ2t6c.js';
6
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-GnrqZmZP.js';
7
+ import { A as AuthMutationResponse, R as RefreshImpersonationMutationResponse, a as RefreshTokenMutationResponse, S as StartImpersonationMutationResponse, P as PartnerType, b as AdType, E as EnumAdPlatform, c as EnumAdShowOn, d as AppSettingsType, e as SchoolType, f as SchoolReturnType } from '../ad-6lcjOj3X.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-CdIL0r2o.js';
10
+ import { A as AffiliateType } from '../affiliate-DuDoOxK_.js';
11
11
  import 'react-hook-form';
12
12
  import '../images/index.js';
13
13
 
@@ -572,9 +572,9 @@ declare const useGetRelationHistory: (_id?: string) => {
572
572
  error: _apollo_client.ApolloError | undefined;
573
573
  loading: boolean;
574
574
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
575
- relationHistory: RelationType;
575
+ relationHistory: RelationHistoryType;
576
576
  }>>;
577
- relationHistory: RelationType | undefined;
577
+ relationHistory: RelationHistoryType | undefined;
578
578
  };
579
579
  /**
580
580
  * Every relation linked to an event or vendor with past relation dates only.
@@ -584,9 +584,9 @@ declare const useGetRelationHistories: (resourceId?: string, resourceType?: Enum
584
584
  error: _apollo_client.ApolloError | undefined;
585
585
  loading: boolean;
586
586
  refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
587
- relationHistories: RelationType[];
587
+ relationHistories: RelationHistoryType[];
588
588
  }>>;
589
- relationHistories: RelationType[];
589
+ relationHistories: RelationHistoryType[];
590
590
  };
591
591
  declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
592
592
  error: _apollo_client.ApolloError | undefined;
@@ -164,7 +164,7 @@ import {
164
164
  useUpdateUser,
165
165
  useUpdateVendor,
166
166
  useUpdateVendorInfo
167
- } from "../chunk-UWMZ6VLV.mjs";
167
+ } from "../chunk-ZZXSAQM6.mjs";
168
168
  import {
169
169
  GET_EVENT,
170
170
  GET_EVENTS,
@@ -4093,6 +4093,25 @@ var RELATION_FIELDS_FRAGMENT = import_client11.gql`
4093
4093
  }
4094
4094
  ${RELATION_DATES_FRAGMENT}
4095
4095
  `;
4096
+ var RELATION_HISTORY_FIELDS_FRAGMENT = import_client11.gql`
4097
+ fragment RelationHistoryFields on RelationHistoryType {
4098
+ _id
4099
+ active
4100
+ chatId
4101
+ createdAt
4102
+ eventId
4103
+ eventName
4104
+ lastUpdateBy
4105
+ relationDates {
4106
+ ...RelationDates
4107
+ }
4108
+ relationType
4109
+ updatedAt
4110
+ vendorId
4111
+ vendorName
4112
+ }
4113
+ ${RELATION_DATES_FRAGMENT}
4114
+ `;
4096
4115
  var GET_RELATION = import_client11.gql`
4097
4116
  query getRelation($_id: ID!) {
4098
4117
  relation(_id: $_id) {
@@ -4104,10 +4123,10 @@ var GET_RELATION = import_client11.gql`
4104
4123
  var GET_RELATION_HISTORY = import_client11.gql`
4105
4124
  query getRelationHistory($_id: ID!) {
4106
4125
  relationHistory(_id: $_id) {
4107
- ...RelationFields
4126
+ ...RelationHistoryFields
4108
4127
  }
4109
4128
  }
4110
- ${RELATION_FIELDS_FRAGMENT}
4129
+ ${RELATION_HISTORY_FIELDS_FRAGMENT}
4111
4130
  `;
4112
4131
  var GET_RELATION_HISTORIES = import_client11.gql`
4113
4132
  query getRelationHistories(
@@ -4115,10 +4134,10 @@ var GET_RELATION_HISTORIES = import_client11.gql`
4115
4134
  $resourceType: ResourceTypeEnum!
4116
4135
  ) {
4117
4136
  relationHistories(resourceId: $resourceId, resourceType: $resourceType) {
4118
- ...RelationFields
4137
+ ...RelationHistoryFields
4119
4138
  }
4120
4139
  }
4121
- ${RELATION_FIELDS_FRAGMENT}
4140
+ ${RELATION_HISTORY_FIELDS_FRAGMENT}
4122
4141
  `;
4123
4142
  var GET_RELATION_BY_EVENT_AND_VENDOR = import_client11.gql`
4124
4143
  query getRelationByEventAndVendor($eventId: ID!, $vendorId: ID!) {