@timardex/cluemart-shared 1.7.90 → 1.7.91
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.
- package/dist/{ad-MA6buSLw.d.mts → ad-DjHlreUH.d.mts} +1 -1
- package/dist/{ad-BX_Da-0Q.d.ts → ad-DzAxJcWT.d.ts} +1 -1
- package/dist/{affiliate-DXpSgV4o.d.ts → affiliate-BVLyYY70.d.ts} +1 -1
- package/dist/{affiliate-Cb8BLoQc.d.mts → affiliate-BpjRWPUA.d.mts} +1 -1
- package/dist/auth/index.cjs +7 -0
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +2 -2
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.mjs +1 -1
- package/dist/{billingCatalog-Bca0IZG_.d.mts → billingCatalog-DDAU9BWV.d.mts} +1 -1
- package/dist/{billingCatalog-Rh9yvue3.d.ts → billingCatalog-oWAfZX95.d.ts} +1 -1
- package/dist/{chunk-D3U4LBOQ.mjs → chunk-3ZPHXVUT.mjs} +2 -2
- package/dist/{chunk-GA6E5NK3.mjs → chunk-PSKWWPLY.mjs} +8 -1
- package/dist/chunk-PSKWWPLY.mjs.map +1 -0
- package/dist/{chunk-TD52IH52.mjs → chunk-STNE7PMX.mjs} +1 -1
- package/dist/chunk-STNE7PMX.mjs.map +1 -0
- package/dist/{chunk-6VTX7IPF.mjs → chunk-ZW4M5EGZ.mjs} +37 -17
- package/dist/chunk-ZW4M5EGZ.mjs.map +1 -0
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +42 -15
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +9 -19
- package/dist/graphql/index.d.ts +9 -19
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +42 -15
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +4 -4
- package/dist/index.cjs +42 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +23 -19
- package/dist/index.d.ts +23 -19
- package/dist/index.mjs +42 -15
- package/dist/index.mjs.map +1 -1
- package/dist/{resourceActivities-e3GkUqTN.d.mts → resourceActivities-BDp-h5yH.d.mts} +1 -1
- package/dist/{resourceActivities-CAr2chXT.d.ts → resourceActivities-C14qOL7_.d.ts} +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.mjs +1 -1
- package/dist/{user-D6Mt35k0.d.ts → user-C1yYa8oa.d.ts} +19 -5
- package/dist/{user-BTzwLwJl.d.mts → user-DCpVFB6K.d.mts} +19 -5
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-6VTX7IPF.mjs.map +0 -1
- package/dist/chunk-GA6E5NK3.mjs.map +0 -1
- package/dist/chunk-TD52IH52.mjs.map +0 -1
- /package/dist/{chunk-D3U4LBOQ.mjs.map → chunk-3ZPHXVUT.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
3
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BDp-h5yH.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-CDYmiqmd.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-
|
|
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-DjHlreUH.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
|
|
8
|
-
import { B as BillingCatalogEntryType } from '../billingCatalog-
|
|
9
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-DCpVFB6K.mjs';
|
|
8
|
+
import { B as BillingCatalogEntryType } from '../billingCatalog-DDAU9BWV.mjs';
|
|
9
|
+
import { A as AffiliateType } from '../affiliate-BpjRWPUA.mjs';
|
|
10
10
|
import 'react-hook-form';
|
|
11
11
|
import '../images/index.mjs';
|
|
12
12
|
|
|
@@ -1064,9 +1064,9 @@ declare const useCreateCheckoutSession: () => {
|
|
|
1064
1064
|
};
|
|
1065
1065
|
declare const useCancelSubscription: () => {
|
|
1066
1066
|
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1067
|
-
cancelSubscription: MutationResponse<
|
|
1067
|
+
cancelSubscription: MutationResponse<SubscriptionStatusData>;
|
|
1068
1068
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1069
|
-
cancelSubscription: MutationResponse<
|
|
1069
|
+
cancelSubscription: MutationResponse<SubscriptionStatusData>;
|
|
1070
1070
|
}>>;
|
|
1071
1071
|
error: _apollo_client.ApolloError | undefined;
|
|
1072
1072
|
loading: boolean;
|
|
@@ -1075,19 +1075,9 @@ declare const useUpdateSubscriptionPlan: () => {
|
|
|
1075
1075
|
error: _apollo_client.ApolloError | undefined;
|
|
1076
1076
|
loading: boolean;
|
|
1077
1077
|
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1078
|
-
updateSubscriptionPlan: MutationResponse<
|
|
1079
|
-
subscriptionId: string;
|
|
1080
|
-
status: string;
|
|
1081
|
-
priceId: string;
|
|
1082
|
-
currentPlan: string;
|
|
1083
|
-
}>;
|
|
1078
|
+
updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
|
|
1084
1079
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1085
|
-
updateSubscriptionPlan: MutationResponse<
|
|
1086
|
-
subscriptionId: string;
|
|
1087
|
-
status: string;
|
|
1088
|
-
priceId: string;
|
|
1089
|
-
currentPlan: string;
|
|
1090
|
-
}>;
|
|
1080
|
+
updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
|
|
1091
1081
|
}>>;
|
|
1092
1082
|
};
|
|
1093
1083
|
declare const useCreateCustomerPortal: () => {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { DocumentNode } from 'graphql';
|
|
3
|
-
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-
|
|
3
|
+
import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-C14qOL7_.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-DTXnm4Ok.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-
|
|
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-DzAxJcWT.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
|
|
8
|
-
import { B as BillingCatalogEntryType } from '../billingCatalog-
|
|
9
|
-
import { A as AffiliateType } from '../affiliate-
|
|
7
|
+
import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, U as UsersByPromoCode, c as SubscriptionStatusData, d as SubscriptionPlansResponse } from '../user-C1yYa8oa.js';
|
|
8
|
+
import { B as BillingCatalogEntryType } from '../billingCatalog-oWAfZX95.js';
|
|
9
|
+
import { A as AffiliateType } from '../affiliate-BVLyYY70.js';
|
|
10
10
|
import 'react-hook-form';
|
|
11
11
|
import '../images/index.js';
|
|
12
12
|
|
|
@@ -1064,9 +1064,9 @@ declare const useCreateCheckoutSession: () => {
|
|
|
1064
1064
|
};
|
|
1065
1065
|
declare const useCancelSubscription: () => {
|
|
1066
1066
|
cancelSubscription: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1067
|
-
cancelSubscription: MutationResponse<
|
|
1067
|
+
cancelSubscription: MutationResponse<SubscriptionStatusData>;
|
|
1068
1068
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1069
|
-
cancelSubscription: MutationResponse<
|
|
1069
|
+
cancelSubscription: MutationResponse<SubscriptionStatusData>;
|
|
1070
1070
|
}>>;
|
|
1071
1071
|
error: _apollo_client.ApolloError | undefined;
|
|
1072
1072
|
loading: boolean;
|
|
@@ -1075,19 +1075,9 @@ declare const useUpdateSubscriptionPlan: () => {
|
|
|
1075
1075
|
error: _apollo_client.ApolloError | undefined;
|
|
1076
1076
|
loading: boolean;
|
|
1077
1077
|
updateSubscriptionPlan: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1078
|
-
updateSubscriptionPlan: MutationResponse<
|
|
1079
|
-
subscriptionId: string;
|
|
1080
|
-
status: string;
|
|
1081
|
-
priceId: string;
|
|
1082
|
-
currentPlan: string;
|
|
1083
|
-
}>;
|
|
1078
|
+
updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
|
|
1084
1079
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1085
|
-
updateSubscriptionPlan: MutationResponse<
|
|
1086
|
-
subscriptionId: string;
|
|
1087
|
-
status: string;
|
|
1088
|
-
priceId: string;
|
|
1089
|
-
currentPlan: string;
|
|
1090
|
-
}>;
|
|
1080
|
+
updateSubscriptionPlan: MutationResponse<SubscriptionStatusData>;
|
|
1091
1081
|
}>>;
|
|
1092
1082
|
};
|
|
1093
1083
|
declare const useCreateCustomerPortal: () => {
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
useUpdateUser,
|
|
152
152
|
useUpdateVendor,
|
|
153
153
|
useUpdateVendorInfo
|
|
154
|
-
} from "../chunk-
|
|
154
|
+
} from "../chunk-ZW4M5EGZ.mjs";
|
|
155
155
|
import {
|
|
156
156
|
GET_EVENT,
|
|
157
157
|
GET_EVENT_INFO,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
useRequestPasswordReset,
|
|
176
176
|
useResetPassword,
|
|
177
177
|
useValidateVerificationToken
|
|
178
|
-
} from "../chunk-
|
|
178
|
+
} from "../chunk-PSKWWPLY.mjs";
|
|
179
179
|
import "../chunk-P4NLBWEJ.mjs";
|
|
180
180
|
export {
|
|
181
181
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -2725,12 +2725,19 @@ var REDEEMED_REWARD_FIELDS_FRAGMENT = import_client.gql`
|
|
|
2725
2725
|
`;
|
|
2726
2726
|
var STRIPE_FIELDS_FRAGMENT = import_client.gql`
|
|
2727
2727
|
fragment StripeSubscriptionFields on StripeSubscriptionType {
|
|
2728
|
+
billingPeriod
|
|
2729
|
+
cancelAtPeriodEnd
|
|
2728
2730
|
customerId
|
|
2729
2731
|
subscriptionId
|
|
2730
2732
|
status
|
|
2731
2733
|
currentPlan
|
|
2732
2734
|
startDate
|
|
2733
2735
|
endDate
|
|
2736
|
+
pendingPlan
|
|
2737
|
+
pendingBillingPeriod
|
|
2738
|
+
pendingChangeEffectiveAt
|
|
2739
|
+
priceId
|
|
2740
|
+
scheduleId
|
|
2734
2741
|
}
|
|
2735
2742
|
`;
|
|
2736
2743
|
var USER_FIELDS_FRAGMENT = import_client.gql`
|
|
@@ -4943,25 +4950,38 @@ var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
|
|
|
4943
4950
|
var CANCEL_SUBSCRIPTION_MUTATION = import_client52.gql`
|
|
4944
4951
|
mutation cancelSubscription {
|
|
4945
4952
|
cancelSubscription {
|
|
4946
|
-
data
|
|
4953
|
+
data {
|
|
4954
|
+
billingPeriod
|
|
4955
|
+
cancelAtPeriodEnd
|
|
4956
|
+
currentPlan
|
|
4957
|
+
endDate
|
|
4958
|
+
pendingBillingPeriod
|
|
4959
|
+
pendingChangeEffectiveAt
|
|
4960
|
+
pendingPlan
|
|
4961
|
+
priceId
|
|
4962
|
+
scheduleId
|
|
4963
|
+
status
|
|
4964
|
+
subscriptionId
|
|
4965
|
+
}
|
|
4947
4966
|
message
|
|
4948
4967
|
}
|
|
4949
4968
|
}
|
|
4950
4969
|
`;
|
|
4951
4970
|
var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
|
|
4952
|
-
mutation updateSubscriptionPlan(
|
|
4953
|
-
|
|
4954
|
-
$billingPeriod: BillingPeriodEnumType
|
|
4955
|
-
) {
|
|
4956
|
-
updateSubscriptionPlan(
|
|
4957
|
-
newPlanId: $newPlanId
|
|
4958
|
-
billingPeriod: $billingPeriod
|
|
4959
|
-
) {
|
|
4971
|
+
mutation updateSubscriptionPlan($input: UpdateSubscriptionPlanInputType!) {
|
|
4972
|
+
updateSubscriptionPlan(input: $input) {
|
|
4960
4973
|
data {
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
priceId
|
|
4974
|
+
billingPeriod
|
|
4975
|
+
cancelAtPeriodEnd
|
|
4964
4976
|
currentPlan
|
|
4977
|
+
endDate
|
|
4978
|
+
pendingBillingPeriod
|
|
4979
|
+
pendingChangeEffectiveAt
|
|
4980
|
+
pendingPlan
|
|
4981
|
+
priceId
|
|
4982
|
+
scheduleId
|
|
4983
|
+
status
|
|
4984
|
+
subscriptionId
|
|
4965
4985
|
}
|
|
4966
4986
|
message
|
|
4967
4987
|
}
|
|
@@ -4986,10 +5006,17 @@ var import_client54 = require("@apollo/client");
|
|
|
4986
5006
|
var GET_SUBSCRIPTION_STATUS = import_client54.gql`
|
|
4987
5007
|
query getSubscriptionStatus {
|
|
4988
5008
|
getSubscriptionStatus {
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
priceId
|
|
5009
|
+
billingPeriod
|
|
5010
|
+
cancelAtPeriodEnd
|
|
4992
5011
|
currentPlan
|
|
5012
|
+
endDate
|
|
5013
|
+
pendingBillingPeriod
|
|
5014
|
+
pendingChangeEffectiveAt
|
|
5015
|
+
pendingPlan
|
|
5016
|
+
priceId
|
|
5017
|
+
scheduleId
|
|
5018
|
+
status
|
|
5019
|
+
subscriptionId
|
|
4993
5020
|
}
|
|
4994
5021
|
}
|
|
4995
5022
|
`;
|