@timardex/cluemart-shared 1.5.739 → 1.5.740
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/{post-DmsQS24-.d.ts → ad-CqfSmtG_.d.ts} +2 -168
- package/dist/{post-C3-IUdTA.d.mts → ad-sgD-lSbO.d.mts} +2 -168
- package/dist/{chunk-XWOFIZ5F.mjs → chunk-6OBMKN7F.mjs} +8 -8
- package/dist/chunk-6OBMKN7F.mjs.map +1 -0
- package/dist/{chunk-6IEQBYEB.mjs → chunk-6YISZ3OD.mjs} +2 -2
- package/dist/{chunk-5SCGH7UX.mjs → chunk-7VNXO63T.mjs} +108 -6
- package/dist/chunk-7VNXO63T.mjs.map +1 -0
- package/dist/{chunk-HGS6TJTA.mjs → chunk-XWFE6U3E.mjs} +8 -2
- package/dist/chunk-XWFE6U3E.mjs.map +1 -0
- package/dist/formFields/index.cjs +16 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +63 -60
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +11 -12
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +114 -107
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +113 -107
- package/dist/index.mjs.map +1 -1
- package/dist/post-CdLrXuH1.d.mts +279 -0
- package/dist/post-D6n4Vszs.d.ts +279 -0
- package/dist/sharing/index.cjs +22 -6
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +2 -2
- package/dist/sharing/index.d.ts +2 -2
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.cjs +3 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +2 -4
- package/dist/utils/index.cjs +18 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -2
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.mjs +4 -2
- package/package.json +1 -1
- package/dist/chunk-5SCGH7UX.mjs.map +0 -1
- package/dist/chunk-HGS6TJTA.mjs.map +0 -1
- package/dist/chunk-HV5AID7P.mjs +0 -105
- package/dist/chunk-HV5AID7P.mjs.map +0 -1
- package/dist/chunk-XWOFIZ5F.mjs.map +0 -1
- package/dist/dailyClue-CvhLv9hJ.d.mts +0 -111
- package/dist/dailyClue-CvhLv9hJ.d.ts +0 -111
- /package/dist/{chunk-6IEQBYEB.mjs.map → chunk-6YISZ3OD.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1265,9 +1265,9 @@ type GameLeaderboard = {
|
|
|
1265
1265
|
};
|
|
1266
1266
|
|
|
1267
1267
|
declare enum EnumPostType {
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1268
|
+
MARKET_FACES = "market_faces",
|
|
1269
|
+
CLUE_BITES = "clue_bites",
|
|
1270
|
+
PLAY_AND_WIN = "play_and_win"
|
|
1271
1271
|
}
|
|
1272
1272
|
declare enum EnumPostContentType {
|
|
1273
1273
|
GAME = "game",
|
|
@@ -2696,7 +2696,7 @@ type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
|
|
|
2696
2696
|
declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
|
|
2697
2697
|
|
|
2698
2698
|
/** Path segments for public resource share URLs (markets, posts, etc.). */
|
|
2699
|
-
declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "
|
|
2699
|
+
declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "market_faces", "clue_bites", "play_and_win"];
|
|
2700
2700
|
type PublicSharePathType = (typeof PUBLIC_SHARE_PATH_TYPES)[number];
|
|
2701
2701
|
type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_SHARE_APPLICATION;
|
|
2702
2702
|
type ShareType = PublicSharePathType | RelationSharePathType;
|
|
@@ -2744,7 +2744,7 @@ declare const SHARE_MORE_INFO_LINE = "Shared from ClueMart";
|
|
|
2744
2744
|
declare const DEFAULT_SHARE_OG_IMAGE = "https://cluemart.co.nz/assets/logo.webp";
|
|
2745
2745
|
declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner"];
|
|
2746
2746
|
type ResourceShareType = (typeof RESOURCE_SHARE_TYPES)[number];
|
|
2747
|
-
declare const POST_SHARE_RESOURCE_TYPES: readonly ["
|
|
2747
|
+
declare const POST_SHARE_RESOURCE_TYPES: readonly ["market_faces", "clue_bites", "play_and_win"];
|
|
2748
2748
|
type PostShareResourceType = (typeof POST_SHARE_RESOURCE_TYPES)[number];
|
|
2749
2749
|
type ShareResourceType = ResourceShareType | PostShareResourceType | RelationShareResourceType;
|
|
2750
2750
|
declare const SHARE_RESOURCE_LABEL: Record<ShareResourceType, string>;
|
|
@@ -2922,6 +2922,7 @@ declare const rewardNiceNames: Record<EnumReward, {
|
|
|
2922
2922
|
name: string;
|
|
2923
2923
|
points: number;
|
|
2924
2924
|
}>;
|
|
2925
|
+
declare const PostTypeLabels: Record<EnumPostType, string>;
|
|
2925
2926
|
|
|
2926
2927
|
declare const SCHOOL_MIN_STUDENT_COUNT = 300;
|
|
2927
2928
|
declare const SCHOOL_MAX_STUDENT_COUNT = 0;
|
|
@@ -2933,4 +2934,4 @@ declare function filterEventsByDateStatusPeriod<T extends {
|
|
|
2933
2934
|
dateTime?: Pick<DateTimeType, "dateStatus">[] | null;
|
|
2934
2935
|
}>(events: T[], period: EnumEventDateStatus): T[];
|
|
2935
2936
|
|
|
2936
|
-
export { ANDROID_URL, type AdFormData, type AdFormState, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type AuthPayloadType, type BadgeBasename, type BadgeId, type BaseGameMap, type BaseGameType, type BaseResourceType, type BaseResourceTypeFormData, CLUEMART_MAIN_DOMAIN_URL, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, type ContactUsFormData, type CreateAdFormData, type CreateAdFormState, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, DEFAULT_SHARE_OG_IMAGE, type DailyClueBaseGame, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EVENT_DATE_STATUS_PERIOD_MAP, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumReward, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GlobalGameData, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, OG_DESCRIPTION_LINE_BREAK, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, POST_SHARE_RESOURCE_TYPES, PROMO_CODE_PREFIX, PUBLIC_SHARE_PATH_TYPES, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostShareResourceType, type PostType, type PosterAssetId, type PosterImageBasename, type PosterInputType, type PosterUsageType, type PromoCodeType, type PublicSharePathType, type PushTokenType, type PuzzleAnswer, type PuzzleAnsweredQuestion, type PuzzleBaseGame, type PuzzleGameData, type PuzzleQuestion, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, type RedeemRewardInput, type RedeemRewardResponse, type RedeemedReward, type RefreshTokenPayloadType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationInputType, type RelationSharePathType, type RelationShareResourceType, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, type ResourceShareType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type SafeUserType, type SchoolCampaignType, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, TIERS_BY_PRIORITY, TIER_DISPLAY_LABELS, TIER_FROM_LICENCE, type TermsAgreement, type Tier, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetResourcesByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, appendShareMoreInfoLine, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, buildApplicationShareDescription, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventMatchesDateStatusPeriod, eventStartDateFields, filterEventsByDateStatusPeriod, fonts, foodFlavourOptions, formatCategoryLabel, formatDate, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getAllowedEventDateStatuses, getCurrentAndFutureDates, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isIsoDateString, isPostShareResourceType, isRelationShareResourceType, joinShareDescriptionSections, joinShareOgDescriptionSections, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, rewardNiceNames, seededShuffle, shareMessageFooterPlacementForType, socialMediaFields, sortDatesChronologically, splitShareDescriptionSections, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
2937
|
+
export { ANDROID_URL, type AdFormData, type AdFormState, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type AuthPayloadType, type BadgeBasename, type BadgeId, type BaseGameMap, type BaseGameType, type BaseResourceType, type BaseResourceTypeFormData, CLUEMART_MAIN_DOMAIN_URL, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, type ContactUsFormData, type CreateAdFormData, type CreateAdFormState, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, DEFAULT_SHARE_OG_IMAGE, type DailyClueBaseGame, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EVENT_DATE_STATUS_PERIOD_MAP, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumReward, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GlobalGameData, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, OG_DESCRIPTION_LINE_BREAK, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, POST_SHARE_RESOURCE_TYPES, PROMO_CODE_PREFIX, PUBLIC_SHARE_PATH_TYPES, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostShareResourceType, type PostType, PostTypeLabels, type PosterAssetId, type PosterImageBasename, type PosterInputType, type PosterUsageType, type PromoCodeType, type PublicSharePathType, type PushTokenType, type PuzzleAnswer, type PuzzleAnsweredQuestion, type PuzzleBaseGame, type PuzzleGameData, type PuzzleQuestion, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, type RedeemRewardInput, type RedeemRewardResponse, type RedeemedReward, type RefreshTokenPayloadType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationInputType, type RelationSharePathType, type RelationShareResourceType, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, type ResourceShareType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type SafeUserType, type SchoolCampaignType, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, TIERS_BY_PRIORITY, TIER_DISPLAY_LABELS, TIER_FROM_LICENCE, type TermsAgreement, type Tier, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetResourcesByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, appendShareMoreInfoLine, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, buildApplicationShareDescription, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventMatchesDateStatusPeriod, eventStartDateFields, filterEventsByDateStatusPeriod, fonts, foodFlavourOptions, formatCategoryLabel, formatDate, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getAllowedEventDateStatuses, getCurrentAndFutureDates, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isIsoDateString, isPostShareResourceType, isRelationShareResourceType, joinShareDescriptionSections, joinShareOgDescriptionSections, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, rewardNiceNames, seededShuffle, shareMessageFooterPlacementForType, socialMediaFields, sortDatesChronologically, splitShareDescriptionSections, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.d.ts
CHANGED
|
@@ -1265,9 +1265,9 @@ type GameLeaderboard = {
|
|
|
1265
1265
|
};
|
|
1266
1266
|
|
|
1267
1267
|
declare enum EnumPostType {
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1268
|
+
MARKET_FACES = "market_faces",
|
|
1269
|
+
CLUE_BITES = "clue_bites",
|
|
1270
|
+
PLAY_AND_WIN = "play_and_win"
|
|
1271
1271
|
}
|
|
1272
1272
|
declare enum EnumPostContentType {
|
|
1273
1273
|
GAME = "game",
|
|
@@ -2696,7 +2696,7 @@ type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
|
|
|
2696
2696
|
declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
|
|
2697
2697
|
|
|
2698
2698
|
/** Path segments for public resource share URLs (markets, posts, etc.). */
|
|
2699
|
-
declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "
|
|
2699
|
+
declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "market_faces", "clue_bites", "play_and_win"];
|
|
2700
2700
|
type PublicSharePathType = (typeof PUBLIC_SHARE_PATH_TYPES)[number];
|
|
2701
2701
|
type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_SHARE_APPLICATION;
|
|
2702
2702
|
type ShareType = PublicSharePathType | RelationSharePathType;
|
|
@@ -2744,7 +2744,7 @@ declare const SHARE_MORE_INFO_LINE = "Shared from ClueMart";
|
|
|
2744
2744
|
declare const DEFAULT_SHARE_OG_IMAGE = "https://cluemart.co.nz/assets/logo.webp";
|
|
2745
2745
|
declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner"];
|
|
2746
2746
|
type ResourceShareType = (typeof RESOURCE_SHARE_TYPES)[number];
|
|
2747
|
-
declare const POST_SHARE_RESOURCE_TYPES: readonly ["
|
|
2747
|
+
declare const POST_SHARE_RESOURCE_TYPES: readonly ["market_faces", "clue_bites", "play_and_win"];
|
|
2748
2748
|
type PostShareResourceType = (typeof POST_SHARE_RESOURCE_TYPES)[number];
|
|
2749
2749
|
type ShareResourceType = ResourceShareType | PostShareResourceType | RelationShareResourceType;
|
|
2750
2750
|
declare const SHARE_RESOURCE_LABEL: Record<ShareResourceType, string>;
|
|
@@ -2922,6 +2922,7 @@ declare const rewardNiceNames: Record<EnumReward, {
|
|
|
2922
2922
|
name: string;
|
|
2923
2923
|
points: number;
|
|
2924
2924
|
}>;
|
|
2925
|
+
declare const PostTypeLabels: Record<EnumPostType, string>;
|
|
2925
2926
|
|
|
2926
2927
|
declare const SCHOOL_MIN_STUDENT_COUNT = 300;
|
|
2927
2928
|
declare const SCHOOL_MAX_STUDENT_COUNT = 0;
|
|
@@ -2933,4 +2934,4 @@ declare function filterEventsByDateStatusPeriod<T extends {
|
|
|
2933
2934
|
dateTime?: Pick<DateTimeType, "dateStatus">[] | null;
|
|
2934
2935
|
}>(events: T[], period: EnumEventDateStatus): T[];
|
|
2935
2936
|
|
|
2936
|
-
export { ANDROID_URL, type AdFormData, type AdFormState, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type AuthPayloadType, type BadgeBasename, type BadgeId, type BaseGameMap, type BaseGameType, type BaseResourceType, type BaseResourceTypeFormData, CLUEMART_MAIN_DOMAIN_URL, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, type ContactUsFormData, type CreateAdFormData, type CreateAdFormState, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, DEFAULT_SHARE_OG_IMAGE, type DailyClueBaseGame, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EVENT_DATE_STATUS_PERIOD_MAP, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumReward, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GlobalGameData, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, OG_DESCRIPTION_LINE_BREAK, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, POST_SHARE_RESOURCE_TYPES, PROMO_CODE_PREFIX, PUBLIC_SHARE_PATH_TYPES, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostShareResourceType, type PostType, type PosterAssetId, type PosterImageBasename, type PosterInputType, type PosterUsageType, type PromoCodeType, type PublicSharePathType, type PushTokenType, type PuzzleAnswer, type PuzzleAnsweredQuestion, type PuzzleBaseGame, type PuzzleGameData, type PuzzleQuestion, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, type RedeemRewardInput, type RedeemRewardResponse, type RedeemedReward, type RefreshTokenPayloadType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationInputType, type RelationSharePathType, type RelationShareResourceType, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, type ResourceShareType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type SafeUserType, type SchoolCampaignType, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, TIERS_BY_PRIORITY, TIER_DISPLAY_LABELS, TIER_FROM_LICENCE, type TermsAgreement, type Tier, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetResourcesByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, appendShareMoreInfoLine, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, buildApplicationShareDescription, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventMatchesDateStatusPeriod, eventStartDateFields, filterEventsByDateStatusPeriod, fonts, foodFlavourOptions, formatCategoryLabel, formatDate, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getAllowedEventDateStatuses, getCurrentAndFutureDates, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isIsoDateString, isPostShareResourceType, isRelationShareResourceType, joinShareDescriptionSections, joinShareOgDescriptionSections, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, rewardNiceNames, seededShuffle, shareMessageFooterPlacementForType, socialMediaFields, sortDatesChronologically, splitShareDescriptionSections, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
2937
|
+
export { ANDROID_URL, type AdFormData, type AdFormState, type AdResource, type AdType, type AdminUpdateResourceType, type AppSettingsFormData, type AppSettingsType, type AssociateType, type AuthPayloadType, type BadgeBasename, type BadgeId, type BaseGameMap, type BaseGameType, type BaseResourceType, type BaseResourceTypeFormData, CLUEMART_MAIN_DOMAIN_URL, type Category, type ChatMessageInput, type ChatMessageReaction, type ChatMessageReplyPreview, type ChatMessageSeen, type ChatMessageType, type ChatType, type CluiImageBasename, type CluiImageId, type ContactUsFormData, type CreateAdFormData, type CreateAdFormState, type CreateAppSettingsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreatePartnerFormData, type CreatePostFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateSchoolFormData, type CreateUnregisteredVendorFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type CreateVendorFormData, type CreateVendorInfoFormData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, DEFAULT_SHARE_OG_IMAGE, type DailyClueBaseGame, type DailyClueGameData, type DateTimeType, type DateTimeWithPriceType, type DeviceInfo, EVENT_DATE_STATUS_PERIOD_MAP, EnumActivity, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumBillingPeriod, EnumChatReportReason, EnumChatType, EnumEventDateStatus, EnumEventType, EnumFoodFlavor, EnumFoodType, EnumGameStatus, EnumGameType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPartnerType, EnumPaymentMethod, EnumPostContentType, EnumPostType, EnumRegions, EnumRelationResource, EnumResourceType, EnumReward, EnumSocialMedia, EnumSubscriptionStatus, EnumUserLicence, EnumUserRole, EnumVendorType, EnumVerificationType, type EventFormData, type EventInfoFormData, type EventInfoType, type EventListItemType, type EventStatusType, type EventType, type FormDateField, type FormField, type GameDate, type GameDocType, type GameHistory, type GameLeaderboard, type GamePlacement, type GamePlacementClue, type GameType, type GeocodeLocation, type GlobalGameData, type GoogleAddressComponent, type GoogleImportedMarket, IMAGE_EXTENSION, IOS_URL, type IconBasename, type IconId, type ImageObjectType, ImageTypeEnum, type LocationGeoType, type LocationType, type LoginFormData, type LogoBasename, type LogoId, type MarketingMaterialRequestInputType, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, OG_DESCRIPTION_LINE_BREAK, type OptionItem, type OtherImagesBasename, type OtherImagesId, type OwnerType, POST_SHARE_RESOURCE_TYPES, PROMO_CODE_PREFIX, PUBLIC_SHARE_PATH_TYPES, type ParticipantType, type PartnerFormData, type PartnerType, type PaymentInfoType, type PostContentData, type PostContentFormData, type PostContentGame, type PostContentImage, type PostContentList, type PostContentTextarea, type PostContentType, type PostContentVideo, type PostFileInput, type PostFormData, type PostShareResourceType, type PostType, PostTypeLabels, type PosterAssetId, type PosterImageBasename, type PosterInputType, type PosterUsageType, type PromoCodeType, type PublicSharePathType, type PushTokenType, type PuzzleAnswer, type PuzzleAnsweredQuestion, type PuzzleBaseGame, type PuzzleGameData, type PuzzleQuestion, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, type RedeemRewardInput, type RedeemRewardResponse, type RedeemedReward, type RefreshTokenPayloadType, type RefundPolicy, type Region, type RegisterFormData, type RelationDate, type RelationInputType, type RelationSharePathType, type RelationShareResourceType, type RelationType, type ReportChatUser, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceActivityEntry, type ResourceActivityInputType, type ResourceActivityType, type ResourceByUser, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceDetails, type ResourceImageType, type ResourceShareType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type SafeUserType, type SchoolCampaignType, type SchoolFormData, type SchoolRegisteredUserType, type SchoolReturnType, type SchoolType, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, type SocialMediaType, type StallType, type StripeSubscription, type Subcategory, type SubcategoryItems, type SubscriptionPlanData, type SubscriptionPlansResponse, type SubscriptionPricingData, type SubscriptionStatusData, TIERS_BY_PRIORITY, TIER_DISPLAY_LABELS, TIER_FROM_LICENCE, type TermsAgreement, type Tier, USER_STORAGE_KEY, type UnregisteredVendorFormData, type UnregisteredVendorInvitationType, type UnregisteredVendorType, type UseGetResourcesByRegionOptions, type UserActivity, type UserActivityEvent, type UserFormData, type UserLicenceType, type UserType, type ValidateVerificationTokenFormData, type VendorAttributes, type VendorCalendarData, type VendorFormData, type VendorInfoFormData, type VendorInfoType, type VendorProductList, type VendorType, appendShareMoreInfoLine, availableCategories, availableRegionOptions, availableRegionTypes, availableTagTypes, badgeFiles, badgeIds, badges, buildApplicationShareDescription, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, capitalizeFirstLetter, categoryColors, cluemartSocialMedia, cluiFiles, cluiIds, cluiImages, companyContactFields, computeDailyClueState, contactUsFields, darkColors, dateFormat, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventMatchesDateStatusPeriod, eventStartDateFields, filterEventsByDateStatusPeriod, fonts, foodFlavourOptions, formatCategoryLabel, formatDate, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, formatTimestamp, gameScreenIdentifierList, gameTypeToDisplayName, getAllowedEventDateStatuses, getCurrentAndFutureDates, iconFiles, iconIds, icons, isFutureDatesBeforeThreshold, isIsoDateString, isPostShareResourceType, isRelationShareResourceType, joinShareDescriptionSections, joinShareOgDescriptionSections, licenseNiceNames, lightColors, loginFields, logoFiles, logoIds, logos, mapArrayToOptions, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, normalizeUrl, nzStartOfDay, otherImages, otherImagesFiles, otherImagesIds, packagingOptions, partnerBasicInfoFields, paymentMethodOptions, posterFiles, posterIds, posters, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, rewardNiceNames, seededShuffle, shareMessageFooterPlacementForType, socialMediaFields, sortDatesChronologically, splitShareDescriptionSections, stallTypeOptions, statusOptions, tagOptions, timeFormat, toNZTime, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAddUserGoingResource, useAddUserInterestResource, useAddUserPresentResource, useAdminPermanentlyDeleteResource, useAdminResendUserVerificationEmail, useAdminUpdateResourceType, useCancelSubscription, useContactUs, useCrawlGoogleMarkets, useCreateAd, useCreateBulkNotifications, useCreateCheckoutSession, useCreateCustomerPortal, useCreateEvent, useCreateEventInfo, useCreatePartner, useCreatePost, useCreatePoster, useCreatePrivateChat, useCreatePushToken, useCreateRelation, useCreateResourceActivity, useCreateSchool, useCreateUnregisteredVendor, useCreateUser, useCreateVendor, useCreateVendorInfo, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeletePartner, useDeletePost, useDeleteRelation, useDeleteSchool, useDeleteUnregisteredVendor, useDeleteUser, useDeleteVendor, useGetAd, useGetAds, useGetAdsByRegion, useGetAppSettings, useGetChat, useGetChatSubscription, useGetChatsByRegion, useGetEvent, useGetEventByPlaceId, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetGame, useGetGameLeaderboard, useGetGames, useGetNotificationCount, useGetNotificationCountSubscription, useGetPartner, useGetPartners, useGetPartnersByRegion, useGetPost, useGetPosts, useGetPostsByType, useGetRelation, useGetRelationByEventAndVendor, useGetReportedChatUsers, useGetResourceActivity, useGetResourceConnections, useGetSchool, useGetSchools, useGetSubscriptionPlans, useGetSubscriptionStatus, useGetUnregisteredVendor, useGetUnregisteredVendors, useGetUnregisteredVendorsByInviterId, useGetUser, useGetUserActivities, useGetUserChats, useGetUserEvents, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserPartners, useGetUserResources, useGetUserVendors, useGetUsers, useGetVendor, useGetVendorInfo, useGetVendorRelations, useGetVendors, useGetVendorsByRegion, useLeaveGame, useLogin, useLogout, useMarkAllNotificationsRead, useMarkChatMessagesSeen, useMarkNotificationRead, useRedeemReward, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRemoveUserGoingResource, useRemoveUserInterestResource, useRemoveUserPresentResource, useReportChatUser, useRequestMarketingMaterial, useRequestPasswordReset, useResetPassword, useSearchEvents, useSearchPartners, useSearchVendors, useSelectPackage, useSelectStandardPackage, useSendChatMessage, useStartGame, useToggleChatMessageLike, useUnlinkUnregisteredVendorByInviterId, useUpdateAd, useUpdateAppSettings, useUpdateDailyClueGame, useUpdateEvent, useUpdateEventInfo, useUpdateGoogleImportedMarkets, useUpdatePartner, useUpdatePost, useUpdatePuzzleGame, useUpdateRelation, useUpdateSchool, useUpdateSubscriptionPlan, useUpdateUnregisteredVendor, useUpdateUser, useUpdateVendor, useUpdateVendorInfo, useValidateVerificationToken, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
package/dist/index.mjs
CHANGED
|
@@ -695,6 +695,107 @@ function computeDailyClueState(dailyClue) {
|
|
|
695
695
|
};
|
|
696
696
|
}
|
|
697
697
|
|
|
698
|
+
// src/types/auth.ts
|
|
699
|
+
var EnumVerificationType = /* @__PURE__ */ ((EnumVerificationType2) => {
|
|
700
|
+
EnumVerificationType2["REGISTER"] = "register";
|
|
701
|
+
EnumVerificationType2["RESET_PASSWORD"] = "resetPassword";
|
|
702
|
+
return EnumVerificationType2;
|
|
703
|
+
})(EnumVerificationType || {});
|
|
704
|
+
|
|
705
|
+
// src/types/global.ts
|
|
706
|
+
var PROMO_CODE_PREFIX = "CM-";
|
|
707
|
+
|
|
708
|
+
// src/types/ad.ts
|
|
709
|
+
var EnumAdShowOn = /* @__PURE__ */ ((EnumAdShowOn2) => {
|
|
710
|
+
EnumAdShowOn2["EVENTS_PAGE"] = "Events_page";
|
|
711
|
+
EnumAdShowOn2["FRONT_PAGE"] = "Front_page";
|
|
712
|
+
EnumAdShowOn2["PARTNERS_PAGE"] = "Partners_page";
|
|
713
|
+
EnumAdShowOn2["VENDORS_PAGE"] = "Vendors_page";
|
|
714
|
+
return EnumAdShowOn2;
|
|
715
|
+
})(EnumAdShowOn || {});
|
|
716
|
+
var EnumAdStatus = /* @__PURE__ */ ((EnumAdStatus2) => {
|
|
717
|
+
EnumAdStatus2["ACTIVE"] = "Active";
|
|
718
|
+
EnumAdStatus2["PAUSED"] = "Paused";
|
|
719
|
+
EnumAdStatus2["EXPIRED"] = "Expired";
|
|
720
|
+
return EnumAdStatus2;
|
|
721
|
+
})(EnumAdStatus || {});
|
|
722
|
+
var EnumAdType = /* @__PURE__ */ ((EnumAdType2) => {
|
|
723
|
+
EnumAdType2["SPONSORED"] = "Sponsored";
|
|
724
|
+
EnumAdType2["FREE"] = "Free";
|
|
725
|
+
return EnumAdType2;
|
|
726
|
+
})(EnumAdType || {});
|
|
727
|
+
var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
|
|
728
|
+
EnumAdStyle2["BLOOM"] = "Bloom";
|
|
729
|
+
EnumAdStyle2["RISE"] = "Rise";
|
|
730
|
+
return EnumAdStyle2;
|
|
731
|
+
})(EnumAdStyle || {});
|
|
732
|
+
|
|
733
|
+
// src/types/resourceActivities.ts
|
|
734
|
+
var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
|
|
735
|
+
EnumActivity2["FAVORITE"] = "FAVORITE";
|
|
736
|
+
EnumActivity2["GOING"] = "GOING";
|
|
737
|
+
EnumActivity2["INTERESTED"] = "INTERESTED";
|
|
738
|
+
EnumActivity2["PRESENT"] = "PRESENT";
|
|
739
|
+
EnumActivity2["VIEW"] = "VIEW";
|
|
740
|
+
return EnumActivity2;
|
|
741
|
+
})(EnumActivity || {});
|
|
742
|
+
|
|
743
|
+
// src/types/post.ts
|
|
744
|
+
var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
|
|
745
|
+
EnumPostType2["MARKET_FACES"] = "market_faces";
|
|
746
|
+
EnumPostType2["CLUE_BITES"] = "clue_bites";
|
|
747
|
+
EnumPostType2["PLAY_AND_WIN"] = "play_and_win";
|
|
748
|
+
return EnumPostType2;
|
|
749
|
+
})(EnumPostType || {});
|
|
750
|
+
var EnumPostContentType = /* @__PURE__ */ ((EnumPostContentType2) => {
|
|
751
|
+
EnumPostContentType2["GAME"] = "game";
|
|
752
|
+
EnumPostContentType2["IMAGE"] = "image";
|
|
753
|
+
EnumPostContentType2["LIST"] = "list";
|
|
754
|
+
EnumPostContentType2["TEXTAREA"] = "textarea";
|
|
755
|
+
EnumPostContentType2["VIDEO"] = "video";
|
|
756
|
+
return EnumPostContentType2;
|
|
757
|
+
})(EnumPostContentType || {});
|
|
758
|
+
|
|
759
|
+
// src/types/game/index.ts
|
|
760
|
+
var EnumGameStatus = /* @__PURE__ */ ((EnumGameStatus2) => {
|
|
761
|
+
EnumGameStatus2["GAME_COMPLETED"] = "GAME_COMPLETED";
|
|
762
|
+
EnumGameStatus2["GAME_IN_PROGRESS"] = "GAME_IN_PROGRESS";
|
|
763
|
+
EnumGameStatus2["GAME_LEFT"] = "GAME_LEFT";
|
|
764
|
+
EnumGameStatus2["GAME_STARTED"] = "GAME_STARTED";
|
|
765
|
+
return EnumGameStatus2;
|
|
766
|
+
})(EnumGameStatus || {});
|
|
767
|
+
|
|
768
|
+
// src/types/game/global.ts
|
|
769
|
+
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
770
|
+
EnumGameType2["DAILY_CLUE"] = "dailyClue";
|
|
771
|
+
EnumGameType2["MINI_QUIZ"] = "miniQuiz";
|
|
772
|
+
EnumGameType2["ODD_ONE_OUT"] = "oddOneOut";
|
|
773
|
+
return EnumGameType2;
|
|
774
|
+
})(EnumGameType || {});
|
|
775
|
+
var gameTypeToDisplayName = {
|
|
776
|
+
["dailyClue" /* DAILY_CLUE */]: "Daily Clue",
|
|
777
|
+
["miniQuiz" /* MINI_QUIZ */]: "Mini Quiz",
|
|
778
|
+
["oddOneOut" /* ODD_ONE_OUT */]: "Odd One Out"
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
// src/types/subscription.ts
|
|
782
|
+
var TIERS_BY_PRIORITY = ["pro_plus", "pro", "standard"];
|
|
783
|
+
var TIER_DISPLAY_LABELS = {
|
|
784
|
+
pro: "Pro",
|
|
785
|
+
// eslint-disable-next-line camelcase
|
|
786
|
+
pro_plus: "Pro+ Ads",
|
|
787
|
+
standard: "Standard"
|
|
788
|
+
};
|
|
789
|
+
var TIER_FROM_LICENCE = {
|
|
790
|
+
["pro_event" /* PRO_EVENT */]: "pro",
|
|
791
|
+
["pro_plus_event" /* PRO_PLUS_EVENT */]: "pro_plus",
|
|
792
|
+
["pro_plus_vendor" /* PRO_PLUS_VENDOR */]: "pro_plus",
|
|
793
|
+
["pro_vendor" /* PRO_VENDOR */]: "pro",
|
|
794
|
+
["standard_event" /* STANDARD_EVENT */]: "standard",
|
|
795
|
+
["standard_partner" /* STANDARD_PARTNER */]: "standard",
|
|
796
|
+
["standard_vendor" /* STANDARD_VENDOR */]: "standard"
|
|
797
|
+
};
|
|
798
|
+
|
|
698
799
|
// src/utils/utils.ts
|
|
699
800
|
var removeTypename = (obj) => {
|
|
700
801
|
if (obj instanceof Date) {
|
|
@@ -792,6 +893,11 @@ var rewardNiceNames = {
|
|
|
792
893
|
points: 500
|
|
793
894
|
}
|
|
794
895
|
};
|
|
896
|
+
var PostTypeLabels = {
|
|
897
|
+
["market_faces" /* MARKET_FACES */]: "Market Faces",
|
|
898
|
+
["clue_bites" /* CLUE_BITES */]: "Clue Bites",
|
|
899
|
+
["play_and_win" /* PLAY_AND_WIN */]: "Play & Win"
|
|
900
|
+
};
|
|
795
901
|
|
|
796
902
|
// src/utils/school.ts
|
|
797
903
|
var SCHOOL_MIN_STUDENT_COUNT = 300;
|
|
@@ -6785,16 +6891,16 @@ var RESOURCE_SHARE_TYPES = [
|
|
|
6785
6891
|
"partner"
|
|
6786
6892
|
];
|
|
6787
6893
|
var POST_SHARE_RESOURCE_TYPES = [
|
|
6788
|
-
"
|
|
6789
|
-
"
|
|
6790
|
-
"
|
|
6894
|
+
"market_faces",
|
|
6895
|
+
"clue_bites",
|
|
6896
|
+
"play_and_win"
|
|
6791
6897
|
];
|
|
6792
6898
|
var SHARE_RESOURCE_LABEL = {
|
|
6793
6899
|
[RELATION_SHARE_APPLICATION]: "Application",
|
|
6794
6900
|
[RELATION_SHARE_INVITATION]: "Invitation",
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6901
|
+
clue_bites: "Clue Bites",
|
|
6902
|
+
market_faces: "Market Faces",
|
|
6903
|
+
play_and_win: "Play & Win",
|
|
6798
6904
|
market: "Market",
|
|
6799
6905
|
partner: "Partner",
|
|
6800
6906
|
stallholder: "Stallholder"
|
|
@@ -7079,107 +7185,6 @@ var fonts = {
|
|
|
7079
7185
|
fontWeight: "400"
|
|
7080
7186
|
}
|
|
7081
7187
|
};
|
|
7082
|
-
|
|
7083
|
-
// src/types/auth.ts
|
|
7084
|
-
var EnumVerificationType = /* @__PURE__ */ ((EnumVerificationType2) => {
|
|
7085
|
-
EnumVerificationType2["REGISTER"] = "register";
|
|
7086
|
-
EnumVerificationType2["RESET_PASSWORD"] = "resetPassword";
|
|
7087
|
-
return EnumVerificationType2;
|
|
7088
|
-
})(EnumVerificationType || {});
|
|
7089
|
-
|
|
7090
|
-
// src/types/global.ts
|
|
7091
|
-
var PROMO_CODE_PREFIX = "CM-";
|
|
7092
|
-
|
|
7093
|
-
// src/types/ad.ts
|
|
7094
|
-
var EnumAdShowOn = /* @__PURE__ */ ((EnumAdShowOn2) => {
|
|
7095
|
-
EnumAdShowOn2["EVENTS_PAGE"] = "Events_page";
|
|
7096
|
-
EnumAdShowOn2["FRONT_PAGE"] = "Front_page";
|
|
7097
|
-
EnumAdShowOn2["PARTNERS_PAGE"] = "Partners_page";
|
|
7098
|
-
EnumAdShowOn2["VENDORS_PAGE"] = "Vendors_page";
|
|
7099
|
-
return EnumAdShowOn2;
|
|
7100
|
-
})(EnumAdShowOn || {});
|
|
7101
|
-
var EnumAdStatus = /* @__PURE__ */ ((EnumAdStatus2) => {
|
|
7102
|
-
EnumAdStatus2["ACTIVE"] = "Active";
|
|
7103
|
-
EnumAdStatus2["PAUSED"] = "Paused";
|
|
7104
|
-
EnumAdStatus2["EXPIRED"] = "Expired";
|
|
7105
|
-
return EnumAdStatus2;
|
|
7106
|
-
})(EnumAdStatus || {});
|
|
7107
|
-
var EnumAdType = /* @__PURE__ */ ((EnumAdType2) => {
|
|
7108
|
-
EnumAdType2["SPONSORED"] = "Sponsored";
|
|
7109
|
-
EnumAdType2["FREE"] = "Free";
|
|
7110
|
-
return EnumAdType2;
|
|
7111
|
-
})(EnumAdType || {});
|
|
7112
|
-
var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
|
|
7113
|
-
EnumAdStyle2["BLOOM"] = "Bloom";
|
|
7114
|
-
EnumAdStyle2["RISE"] = "Rise";
|
|
7115
|
-
return EnumAdStyle2;
|
|
7116
|
-
})(EnumAdStyle || {});
|
|
7117
|
-
|
|
7118
|
-
// src/types/resourceActivities.ts
|
|
7119
|
-
var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
|
|
7120
|
-
EnumActivity2["FAVORITE"] = "FAVORITE";
|
|
7121
|
-
EnumActivity2["GOING"] = "GOING";
|
|
7122
|
-
EnumActivity2["INTERESTED"] = "INTERESTED";
|
|
7123
|
-
EnumActivity2["PRESENT"] = "PRESENT";
|
|
7124
|
-
EnumActivity2["VIEW"] = "VIEW";
|
|
7125
|
-
return EnumActivity2;
|
|
7126
|
-
})(EnumActivity || {});
|
|
7127
|
-
|
|
7128
|
-
// src/types/post.ts
|
|
7129
|
-
var EnumPostType = /* @__PURE__ */ ((EnumPostType2) => {
|
|
7130
|
-
EnumPostType2["DAILY_MEETS"] = "daily_meets";
|
|
7131
|
-
EnumPostType2["DAILY_TIPS"] = "daily_tips";
|
|
7132
|
-
EnumPostType2["DAILY_GAMES"] = "daily_games";
|
|
7133
|
-
return EnumPostType2;
|
|
7134
|
-
})(EnumPostType || {});
|
|
7135
|
-
var EnumPostContentType = /* @__PURE__ */ ((EnumPostContentType2) => {
|
|
7136
|
-
EnumPostContentType2["GAME"] = "game";
|
|
7137
|
-
EnumPostContentType2["IMAGE"] = "image";
|
|
7138
|
-
EnumPostContentType2["LIST"] = "list";
|
|
7139
|
-
EnumPostContentType2["TEXTAREA"] = "textarea";
|
|
7140
|
-
EnumPostContentType2["VIDEO"] = "video";
|
|
7141
|
-
return EnumPostContentType2;
|
|
7142
|
-
})(EnumPostContentType || {});
|
|
7143
|
-
|
|
7144
|
-
// src/types/game/index.ts
|
|
7145
|
-
var EnumGameStatus = /* @__PURE__ */ ((EnumGameStatus2) => {
|
|
7146
|
-
EnumGameStatus2["GAME_COMPLETED"] = "GAME_COMPLETED";
|
|
7147
|
-
EnumGameStatus2["GAME_IN_PROGRESS"] = "GAME_IN_PROGRESS";
|
|
7148
|
-
EnumGameStatus2["GAME_LEFT"] = "GAME_LEFT";
|
|
7149
|
-
EnumGameStatus2["GAME_STARTED"] = "GAME_STARTED";
|
|
7150
|
-
return EnumGameStatus2;
|
|
7151
|
-
})(EnumGameStatus || {});
|
|
7152
|
-
|
|
7153
|
-
// src/types/game/global.ts
|
|
7154
|
-
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
7155
|
-
EnumGameType2["DAILY_CLUE"] = "dailyClue";
|
|
7156
|
-
EnumGameType2["MINI_QUIZ"] = "miniQuiz";
|
|
7157
|
-
EnumGameType2["ODD_ONE_OUT"] = "oddOneOut";
|
|
7158
|
-
return EnumGameType2;
|
|
7159
|
-
})(EnumGameType || {});
|
|
7160
|
-
var gameTypeToDisplayName = {
|
|
7161
|
-
["dailyClue" /* DAILY_CLUE */]: "Daily Clue",
|
|
7162
|
-
["miniQuiz" /* MINI_QUIZ */]: "Mini Quiz",
|
|
7163
|
-
["oddOneOut" /* ODD_ONE_OUT */]: "Odd One Out"
|
|
7164
|
-
};
|
|
7165
|
-
|
|
7166
|
-
// src/types/subscription.ts
|
|
7167
|
-
var TIERS_BY_PRIORITY = ["pro_plus", "pro", "standard"];
|
|
7168
|
-
var TIER_DISPLAY_LABELS = {
|
|
7169
|
-
pro: "Pro",
|
|
7170
|
-
// eslint-disable-next-line camelcase
|
|
7171
|
-
pro_plus: "Pro+ Ads",
|
|
7172
|
-
standard: "Standard"
|
|
7173
|
-
};
|
|
7174
|
-
var TIER_FROM_LICENCE = {
|
|
7175
|
-
["pro_event" /* PRO_EVENT */]: "pro",
|
|
7176
|
-
["pro_plus_event" /* PRO_PLUS_EVENT */]: "pro_plus",
|
|
7177
|
-
["pro_plus_vendor" /* PRO_PLUS_VENDOR */]: "pro_plus",
|
|
7178
|
-
["pro_vendor" /* PRO_VENDOR */]: "pro",
|
|
7179
|
-
["standard_event" /* STANDARD_EVENT */]: "standard",
|
|
7180
|
-
["standard_partner" /* STANDARD_PARTNER */]: "standard",
|
|
7181
|
-
["standard_vendor" /* STANDARD_VENDOR */]: "standard"
|
|
7182
|
-
};
|
|
7183
7188
|
export {
|
|
7184
7189
|
ANDROID_URL,
|
|
7185
7190
|
CLUEMART_MAIN_DOMAIN_URL,
|
|
@@ -7226,6 +7231,7 @@ export {
|
|
|
7226
7231
|
POST_SHARE_RESOURCE_TYPES,
|
|
7227
7232
|
PROMO_CODE_PREFIX,
|
|
7228
7233
|
PUBLIC_SHARE_PATH_TYPES,
|
|
7234
|
+
PostTypeLabels,
|
|
7229
7235
|
RELATION_OVERLAY_LAYOUT_VERSION,
|
|
7230
7236
|
RELATION_SHARE_APPLICATION,
|
|
7231
7237
|
RELATION_SHARE_INVITATION,
|