@timardex/cluemart-shared 1.3.85 → 1.3.87
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/graphql/index.cjs +44 -1
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +10 -2
- package/dist/graphql/index.d.ts +10 -2
- package/dist/graphql/index.mjs +43 -1
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/index.cjs +44 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +35 -1
- package/dist/index.d.ts +35 -1
- package/dist/index.mjs +43 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DmxMsfXG.d.mts → post-B7e2qDFb.d.mts} +27 -1
- package/dist/{post-JtNQUMC3.d.ts → post-ZCrdgakX.d.ts} +27 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -123,6 +123,32 @@ type SubscriptionStatusData = {
|
|
|
123
123
|
priceId: string | null;
|
|
124
124
|
currentPlan: EnumUserLicence | null;
|
|
125
125
|
};
|
|
126
|
+
type SubscriptionPricingData = {
|
|
127
|
+
basePrice: number;
|
|
128
|
+
discountedPrice: number | null;
|
|
129
|
+
hasDiscount: boolean;
|
|
130
|
+
discountPercent: number | null;
|
|
131
|
+
discountAmount: number | null;
|
|
132
|
+
currency: string;
|
|
133
|
+
formattedBasePrice: string;
|
|
134
|
+
formattedDiscountedPrice: string | null;
|
|
135
|
+
};
|
|
136
|
+
type SubscriptionPlanData = {
|
|
137
|
+
name: string;
|
|
138
|
+
description: string | null;
|
|
139
|
+
licenceType: EnumUserLicence;
|
|
140
|
+
billingPeriod: string;
|
|
141
|
+
stripeProductId: string;
|
|
142
|
+
stripePriceId: string;
|
|
143
|
+
isEligibleForDiscount: boolean;
|
|
144
|
+
pricing: SubscriptionPricingData;
|
|
145
|
+
};
|
|
146
|
+
type SubscriptionPlansResponse = {
|
|
147
|
+
plans: SubscriptionPlanData[];
|
|
148
|
+
isNewUser: boolean;
|
|
149
|
+
isTester: boolean;
|
|
150
|
+
appliedDiscountType: string;
|
|
151
|
+
};
|
|
126
152
|
type UserActivity = {
|
|
127
153
|
favourites: {
|
|
128
154
|
events: string[];
|
|
@@ -306,4 +332,4 @@ type PostType = Omit<PostFormData, "content"> & {
|
|
|
306
332
|
updatedAt: Date | null;
|
|
307
333
|
};
|
|
308
334
|
|
|
309
|
-
export { type AdType as A,
|
|
335
|
+
export { type AdType as A, EnumPostContentType as B, type CreateUserFormData as C, type PostFileInput as D, EnumAdStatus as E, type PostContentCover as F, type PostContentTextarea as G, type PostContentImage as H, type PostContentVideo as I, type PostContentList as J, type PostContentData as K, type PostContentFormData as L, type PostContentType as M, OrganizedMarketCount as O, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, VendorSellingFrequency as V, type SubscriptionPlansResponse as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type UserFormData as e, type PartnerFormData as f, type TesterFormData as g, type CreateTesterFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, OrganizerMarketFrequency as p, type TesterVendor as q, type TesterEvent as r, type UserActivityEvent as s, type StripeSubscription as t, type SubscriptionPricingData as u, type SubscriptionPlanData as v, type UserActivity as w, EnumAdShowOn as x, EnumAdType as y, EnumAdStyle as z };
|
|
@@ -123,6 +123,32 @@ type SubscriptionStatusData = {
|
|
|
123
123
|
priceId: string | null;
|
|
124
124
|
currentPlan: EnumUserLicence | null;
|
|
125
125
|
};
|
|
126
|
+
type SubscriptionPricingData = {
|
|
127
|
+
basePrice: number;
|
|
128
|
+
discountedPrice: number | null;
|
|
129
|
+
hasDiscount: boolean;
|
|
130
|
+
discountPercent: number | null;
|
|
131
|
+
discountAmount: number | null;
|
|
132
|
+
currency: string;
|
|
133
|
+
formattedBasePrice: string;
|
|
134
|
+
formattedDiscountedPrice: string | null;
|
|
135
|
+
};
|
|
136
|
+
type SubscriptionPlanData = {
|
|
137
|
+
name: string;
|
|
138
|
+
description: string | null;
|
|
139
|
+
licenceType: EnumUserLicence;
|
|
140
|
+
billingPeriod: string;
|
|
141
|
+
stripeProductId: string;
|
|
142
|
+
stripePriceId: string;
|
|
143
|
+
isEligibleForDiscount: boolean;
|
|
144
|
+
pricing: SubscriptionPricingData;
|
|
145
|
+
};
|
|
146
|
+
type SubscriptionPlansResponse = {
|
|
147
|
+
plans: SubscriptionPlanData[];
|
|
148
|
+
isNewUser: boolean;
|
|
149
|
+
isTester: boolean;
|
|
150
|
+
appliedDiscountType: string;
|
|
151
|
+
};
|
|
126
152
|
type UserActivity = {
|
|
127
153
|
favourites: {
|
|
128
154
|
events: string[];
|
|
@@ -306,4 +332,4 @@ type PostType = Omit<PostFormData, "content"> & {
|
|
|
306
332
|
updatedAt: Date | null;
|
|
307
333
|
};
|
|
308
334
|
|
|
309
|
-
export { type AdType as A,
|
|
335
|
+
export { type AdType as A, EnumPostContentType as B, type CreateUserFormData as C, type PostFileInput as D, EnumAdStatus as E, type PostContentCover as F, type PostContentTextarea as G, type PostContentImage as H, type PostContentVideo as I, type PostContentList as J, type PostContentData as K, type PostContentFormData as L, type PostContentType as M, OrganizedMarketCount as O, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, VendorSellingFrequency as V, type SubscriptionPlansResponse as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type UserFormData as e, type PartnerFormData as f, type TesterFormData as g, type CreateTesterFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, OrganizerMarketFrequency as p, type TesterVendor as q, type TesterEvent as r, type UserActivityEvent as s, type StripeSubscription as t, type SubscriptionPricingData as u, type SubscriptionPlanData as v, type UserActivity as w, EnumAdShowOn as x, EnumAdType as y, EnumAdStyle as z };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginF
|
|
|
3
3
|
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-CJRTZROh.mjs';
|
|
4
4
|
import { q as ResourceImageType, D as DateTimeType, L as LocationType, r as RelationDate } from '../global-Dv9q0tt9.mjs';
|
|
5
5
|
export { A as AssociateType, w as BaseResourceType, B as BaseResourceTypeFormData, C as Category, m as CreateEventFormData, o as CreateEventInfoFormData, H as CreateFormData, Z as CreateUnregisteredVendorFormData, i as CreateVendorFormData, k as CreateVendorInfoFormData, J as DateTimeWithPriceType, s as DeviceInfo, l as EventFormData, n as EventInfoFormData, c as EventInfoType, E as EventListItemType, b as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, M as MapMultiLocation, N as Nullable, O as OptionItem, v as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, d as RelationType, R as Requirement, e as ResourceConnectionsType, t as ResourceContactDetailsType, u as SocialMediaType, S as StallType, z as Subcategory, y as SubcategoryItems, T as TermsAgreement, p as UnregisteredVendorFormData, Y as UnregisteredVendorInvitationType, U as UnregisteredVendorType, g as UserLicenceType, X as VendorAttributes, h as VendorFormData, j as VendorInfoFormData, f as VendorInfoType, Q as VendorLocation, W as VendorMenuType, V as VendorType } from '../global-Dv9q0tt9.mjs';
|
|
6
|
-
export {
|
|
6
|
+
export { i as AdFormData, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, h as CreateTesterFormData, C as CreateUserFormData, x as EnumAdShowOn, E as EnumAdStatus, z as EnumAdStyle, y as EnumAdType, B as EnumPostContentType, c as EnumPostType, O as OrganizedMarketCount, p as OrganizerMarketFrequency, f as PartnerFormData, P as PartnerType, F as PostContentCover, K as PostContentData, L as PostContentFormData, H as PostContentImage, J as PostContentList, G as PostContentTextarea, M as PostContentType, I as PostContentVideo, D as PostFileInput, l as PostFormData, b as PostType, t as StripeSubscription, v as SubscriptionPlanData, a as SubscriptionPlansResponse, u as SubscriptionPricingData, S as SubscriptionStatusData, r as TesterEvent, g as TesterFormData, T as TesterType, q as TesterVendor, w as UserActivity, s as UserActivityEvent, e as UserFormData, U as UserType, V as VendorSellingFrequency } from '../post-B7e2qDFb.mjs';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
interface AdminUpdateResourceType {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginF
|
|
|
3
3
|
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-CVwxvGeC.js';
|
|
4
4
|
import { q as ResourceImageType, D as DateTimeType, L as LocationType, r as RelationDate } from '../global-CnAaM_PF.js';
|
|
5
5
|
export { A as AssociateType, w as BaseResourceType, B as BaseResourceTypeFormData, C as Category, m as CreateEventFormData, o as CreateEventInfoFormData, H as CreateFormData, Z as CreateUnregisteredVendorFormData, i as CreateVendorFormData, k as CreateVendorInfoFormData, J as DateTimeWithPriceType, s as DeviceInfo, l as EventFormData, n as EventInfoFormData, c as EventInfoType, E as EventListItemType, b as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, M as MapMultiLocation, N as Nullable, O as OptionItem, v as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, d as RelationType, R as Requirement, e as ResourceConnectionsType, t as ResourceContactDetailsType, u as SocialMediaType, S as StallType, z as Subcategory, y as SubcategoryItems, T as TermsAgreement, p as UnregisteredVendorFormData, Y as UnregisteredVendorInvitationType, U as UnregisteredVendorType, g as UserLicenceType, X as VendorAttributes, h as VendorFormData, j as VendorInfoFormData, f as VendorInfoType, Q as VendorLocation, W as VendorMenuType, V as VendorType } from '../global-CnAaM_PF.js';
|
|
6
|
-
export {
|
|
6
|
+
export { i as AdFormData, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, h as CreateTesterFormData, C as CreateUserFormData, x as EnumAdShowOn, E as EnumAdStatus, z as EnumAdStyle, y as EnumAdType, B as EnumPostContentType, c as EnumPostType, O as OrganizedMarketCount, p as OrganizerMarketFrequency, f as PartnerFormData, P as PartnerType, F as PostContentCover, K as PostContentData, L as PostContentFormData, H as PostContentImage, J as PostContentList, G as PostContentTextarea, M as PostContentType, I as PostContentVideo, D as PostFileInput, l as PostFormData, b as PostType, t as StripeSubscription, v as SubscriptionPlanData, a as SubscriptionPlansResponse, u as SubscriptionPricingData, S as SubscriptionStatusData, r as TesterEvent, g as TesterFormData, T as TesterType, q as TesterVendor, w as UserActivity, s as UserActivityEvent, e as UserFormData, U as UserType, V as VendorSellingFrequency } from '../post-ZCrdgakX.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
interface AdminUpdateResourceType {
|