'use strict';
import { billingIntervals } from '../../../meta/core/resources/enums/payment-enums.js';
import { dayjsUnitType } from '../../../../fd-toolbox/dates/date-time.js';
import { ciJobStatuses } from '../../../../base-repo/constants/ci-constants.js';
import { commonStateWords } from '../../../../base-repo/constants/internal-common-strings.js';

const stripeErrorConstants={'paymentIntentError':'PaymentIntent\x20is\x20missing\x20or\x20is\x20a\x20string\x20ID','noLatestInvoice':'No\x20latest\x20invoice\x20found\x20in\x20subscription','noAssociatedSubscription':'No\x20subscription\x20associated\x20with\x20this\x20invoice','paymentProcessError':'An\x20error\x20occurred\x20during\x20the\x20payment\x20process','missingSignature':'Missing\x20\x27stripe-signature\x27\x20header','signatureFailed':'Signature\x20verification\x20failed','processingEventFailed':'Error\x20processing\x20event','emailAlreadyInUse':'Email\x20already\x20in\x20use'};const paymentStatus={'requiresAction':'requires_action','succeeded':'succeeded'};const stripeSubscriptionStatuses={'active':'active','canceled':ciJobStatuses['canceled'],'paused':commonStateWords['paused']};const stripeSubscriptionBehaviors={'defaultIncomplete':'default_incomplete','latestInvoicePaymentIntent':'latest_invoice.payment_intent','noProration':commonStateWords['none']};const billingIntervalsToStripeBillingIntervals={[billingIntervals['day']]:dayjsUnitType['day'],[billingIntervals['week']]:dayjsUnitType['week'],[billingIntervals['month']]:dayjsUnitType['month'],[billingIntervals['year']]:dayjsUnitType['year']};const stripePriceIds={'launchId':'price_1RIotTQqF1vu19lr8jllWE6n','professionalId':'price_1RIottQqF1vu19lriluKSdyq','launchAnnualId':'price_1RIp0xQqF1vu19lrvpXix0xD','professionalAnnualId':'price_1RIp1cQqF1vu19lrQGfm8AMr','trialId':'price_1R2ViIGhETZb3GBbB73TB2rB'};const stripeProductIds={'launch':'prod_SDFOtdnfWXzAxp','professional':'prod_SDFOgATK1PAa6M'};

export { billingIntervalsToStripeBillingIntervals, paymentStatus, stripeErrorConstants, stripePriceIds, stripeProductIds, stripeSubscriptionBehaviors, stripeSubscriptionStatuses };
