@apextelemed/partner-core 0.19.0-dev.61 → 0.19.0
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/api/index.d.ts +23 -2
- package/dist/api/index.js +4 -4
- package/dist/api/index.jsx +8 -4
- package/dist/chunk/{HEQLEGHI.js → BTDK3J34.js} +51 -3
- package/dist/chunk/BTDK3J34.js.map +1 -0
- package/dist/chunk/ESNAWOHG.jsx +1 -0
- package/dist/chunk/{TFJKTKZ3.jsx → FKEDRIA7.jsx} +2986 -2099
- package/dist/chunk/{CDRUVUTJ.js → FZ4LIOG2.js} +18 -8
- package/dist/chunk/FZ4LIOG2.js.map +1 -0
- package/dist/chunk/{OZHJ5IGL.jsx → HEXXZYK4.jsx} +370 -131
- package/dist/chunk/{ZWAZNB4Y.jsx → HSBATWVL.jsx} +2 -2
- package/dist/chunk/{WTHAR2P2.js → LJAMZMRF.js} +3 -3
- package/dist/chunk/{WTHAR2P2.js.map → LJAMZMRF.js.map} +1 -1
- package/dist/chunk/{33BDC6MT.jsx → MVWCKLRH.jsx} +2 -2
- package/dist/chunk/{GJSE37VN.js → O2VF7KNG.js} +3 -3
- package/dist/chunk/{GJSE37VN.js.map → O2VF7KNG.js.map} +1 -1
- package/dist/chunk/{UZ2K7HBG.js → P6YCW73X.js} +2475 -1202
- package/dist/chunk/P6YCW73X.js.map +1 -0
- package/dist/chunk/{X6WJQ47H.jsx → PZ4BRSEK.jsx} +50 -2
- package/dist/chunk/{EED3KNR7.jsx → UAZK2UTR.jsx} +41 -3
- package/dist/chunk/{VGF2LLAD.js → WM5KNUNX.js} +240 -14
- package/dist/chunk/WM5KNUNX.js.map +1 -0
- package/dist/chunk/{OOMMZESR.js → WUVYCWKW.js} +40 -4
- package/dist/chunk/WUVYCWKW.js.map +1 -0
- package/dist/chunk/XZVVZIRZ.js +3 -0
- package/dist/chunk/XZVVZIRZ.js.map +1 -0
- package/dist/chunk/{LA6F37YV.jsx → ZEQ5TNDM.jsx} +20 -7
- package/dist/{client-CMbSYUam.d.ts → client-C0MG1mOg.d.ts} +178 -2
- package/dist/flows/index.d.ts +113 -2
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +14 -6
- package/dist/index/index.d.ts +26 -5
- package/dist/index/index.js +8 -8
- package/dist/index/index.jsx +22 -8
- package/dist/pages/index.d.ts +2 -2
- package/dist/pages/index.js +5 -5
- package/dist/pages/index.jsx +5 -5
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +2 -2
- package/dist/stores/index.jsx +2 -2
- package/dist/theme/admin.css +3 -0
- package/dist/theme/member-portal.css +43 -0
- package/package.json +1 -1
- package/dist/chunk/ACE7M2YA.jsx +0 -1
- package/dist/chunk/CDRUVUTJ.js.map +0 -1
- package/dist/chunk/HEQLEGHI.js.map +0 -1
- package/dist/chunk/JSHO46VZ.js +0 -3
- package/dist/chunk/JSHO46VZ.js.map +0 -1
- package/dist/chunk/OOMMZESR.js.map +0 -1
- package/dist/chunk/UZ2K7HBG.js.map +0 -1
- package/dist/chunk/VGF2LLAD.js.map +0 -1
package/dist/flows/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Accessor, Resource } from 'solid-js';
|
|
2
|
-
import { l as AddressVerifyResult,
|
|
2
|
+
import { l as AddressVerifyResult, bn as CheckoutAddress, aU as CatalogAvailabilityResult, cw as User, bB as DeliveryInfo, c1 as RenewalStatus, bV as PendingRenewalSurvey, K as AdminLifecycleBucket, y as AdminCustomerOverview, an as AdminSubscriptionDetail, B as AdminCustomerRequest, cj as SupportThreadCategory, ce as SupportChannel, bk as CatalogProduct, az as AffiliateConversion, aD as AffiliateDownlineMember, aA as AffiliateDashboardLinks, aC as AffiliateDashboardStats, bZ as PromoValidationResponse, bG as MemberOffer, aV as CatalogClassification, ba as CatalogDoseModel, U as AdminOrphanedDosePrice, X as AdminProduct, bg as CatalogItem, bb as CatalogDoseSuggestion, bi as CatalogMappableDrug, bd as CatalogEquivalentSuggestions, bl as CatalogReadiness, b7 as CatalogConversionUndoResult, b1 as CatalogConversionPreview, aZ as CatalogConversionDoseMatch, b3 as CatalogConversionSource, aY as CatalogConversionDose, b6 as CatalogConversionUndoOptions, aX as CatalogConversionCommitResult, a_ as CatalogConversionFinding, aW as CatalogConversionChoice, g as AddPharmacyPlan, i as AddPharmacyResult, f as AddPharmacyMatchSource, a as AddPharmacyBody, d as AddPharmacyFinding, cy as UserSmsState, cx as UserSmsEvent } from '../client-C0MG1mOg.js';
|
|
3
3
|
import { C as CartItem } from '../cart-o6DpAu5y.js';
|
|
4
4
|
export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
|
|
5
5
|
import { EmbedEvent } from '@apextelemed/survey-solid';
|
|
@@ -451,6 +451,44 @@ interface CartCheckoutFlow {
|
|
|
451
451
|
*/
|
|
452
452
|
declare function useCartCheckoutFlow(): CartCheckoutFlow;
|
|
453
453
|
|
|
454
|
+
interface SmsConsentOffer {
|
|
455
|
+
/** The consent wording, verbatim. */
|
|
456
|
+
text: string;
|
|
457
|
+
/** Version of `text`; goes back with the grant. */
|
|
458
|
+
textVersion: string;
|
|
459
|
+
/** Sender name the wording refers to, when the tenant set one. */
|
|
460
|
+
brandName?: string;
|
|
461
|
+
termsUrl?: string;
|
|
462
|
+
privacyUrl?: string;
|
|
463
|
+
}
|
|
464
|
+
/** What flows put on the register / register-and-subscribe / PATCH /users/me wire. */
|
|
465
|
+
interface SmsConsentGrant {
|
|
466
|
+
granted: true;
|
|
467
|
+
textVersion: string;
|
|
468
|
+
}
|
|
469
|
+
interface SmsConsent {
|
|
470
|
+
/**
|
|
471
|
+
* The wording to show beside the checkbox. null while the tenant's config is
|
|
472
|
+
* loading, when texts are off, or when it couldn't be loaded — render nothing.
|
|
473
|
+
*/
|
|
474
|
+
offer: Accessor<SmsConsentOffer | null>;
|
|
475
|
+
/** True when the person has ticked the box. Always false while `enabled()` is false. */
|
|
476
|
+
checked: Accessor<boolean>;
|
|
477
|
+
setChecked: (v: boolean) => void;
|
|
478
|
+
/** False while the phone is empty or invalid: show the box disabled, with `hint()`. */
|
|
479
|
+
enabled: Accessor<boolean>;
|
|
480
|
+
/** Why the box is disabled; null when it isn't. */
|
|
481
|
+
hint: Accessor<string | null>;
|
|
482
|
+
/** The grant to send, or undefined to send nothing (unchecked / disabled / no offer). */
|
|
483
|
+
grant: () => SmsConsentGrant | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* What to persist in the flow's draft: the version of the wording the person
|
|
486
|
+
* ticked, or undefined. A version rather than a boolean so a restored draft
|
|
487
|
+
* only re-ticks the box when the wording is still the one they agreed to.
|
|
488
|
+
*/
|
|
489
|
+
draftVersion: Accessor<string | undefined>;
|
|
490
|
+
}
|
|
491
|
+
|
|
454
492
|
type SignupOutcome = {
|
|
455
493
|
kind: 'in_progress';
|
|
456
494
|
}
|
|
@@ -528,6 +566,12 @@ interface SignupFlow {
|
|
|
528
566
|
setDateOfBirth: (v: string) => void;
|
|
529
567
|
phone: Accessor<string>;
|
|
530
568
|
setPhone: (v: string) => void;
|
|
569
|
+
/**
|
|
570
|
+
* Optional opt-in to text messages. `smsConsent.offer()` is null unless the
|
|
571
|
+
* tenant texts customers; render the checkbox only when it isn't. Never
|
|
572
|
+
* required — leaving it unticked sends nothing and signup proceeds.
|
|
573
|
+
*/
|
|
574
|
+
smsConsent: SmsConsent;
|
|
531
575
|
street: Accessor<string>;
|
|
532
576
|
setStreet: (v: string) => void;
|
|
533
577
|
city: Accessor<string>;
|
|
@@ -594,6 +638,12 @@ interface RegisterFlow {
|
|
|
594
638
|
setDateOfBirth: (v: string) => void;
|
|
595
639
|
phone: Accessor<string>;
|
|
596
640
|
setPhone: (v: string) => void;
|
|
641
|
+
/**
|
|
642
|
+
* Optional opt-in to text messages. `smsConsent.offer()` is null unless the
|
|
643
|
+
* tenant texts customers; render the checkbox only when it isn't. Never
|
|
644
|
+
* required — leaving it unticked sends nothing and registration proceeds.
|
|
645
|
+
*/
|
|
646
|
+
smsConsent: SmsConsent;
|
|
597
647
|
street: Accessor<string>;
|
|
598
648
|
setStreet: (v: string) => void;
|
|
599
649
|
city: Accessor<string>;
|
|
@@ -1682,6 +1732,14 @@ interface SubscriptionIntakeFlow {
|
|
|
1682
1732
|
setDateOfBirth: (v: string) => void;
|
|
1683
1733
|
phone: Accessor<string>;
|
|
1684
1734
|
setPhone: (v: string) => void;
|
|
1735
|
+
/**
|
|
1736
|
+
* Optional opt-in to text messages. `smsConsent.offer()` is null unless the
|
|
1737
|
+
* tenant texts customers; render the checkbox only when it isn't. Never
|
|
1738
|
+
* required — leaving it unticked sends nothing and the purchase proceeds. A
|
|
1739
|
+
* guest's grant rides the register-and-subscribe call; a signed-in member's
|
|
1740
|
+
* rides the profile PATCH the intake already makes.
|
|
1741
|
+
*/
|
|
1742
|
+
smsConsent: SmsConsent;
|
|
1685
1743
|
address: AddressPair;
|
|
1686
1744
|
/** Per-item deliverability for `medication.productId` in the address's
|
|
1687
1745
|
* shipping state — a catalog item routed to a pharmacy that doesn't serve
|
|
@@ -2742,4 +2800,57 @@ declare function restoreCartFromLink(): Promise<ResumedCart | null>;
|
|
|
2742
2800
|
*/
|
|
2743
2801
|
declare function startCartCapture(opts?: CartCaptureOptions): () => void;
|
|
2744
2802
|
|
|
2745
|
-
|
|
2803
|
+
declare const PHONE_ERROR = "Enter a valid 10-digit US phone number.";
|
|
2804
|
+
declare function isValidUsPhone(raw: string): boolean;
|
|
2805
|
+
/**
|
|
2806
|
+
* "(512) 555-1234" for a US number (E.164 or as typed); anything else comes
|
|
2807
|
+
* back untouched. Display only — never send the result anywhere.
|
|
2808
|
+
*/
|
|
2809
|
+
declare function formatUsPhone(raw: string): string;
|
|
2810
|
+
|
|
2811
|
+
type SmsNoticeKind = 'needs_consent' | 'stale_text' | 'no_phone' | 'unavailable';
|
|
2812
|
+
/** Something the member should be told that isn't an error: what just happened to their consent. */
|
|
2813
|
+
interface SmsNotice {
|
|
2814
|
+
kind: SmsNoticeKind;
|
|
2815
|
+
message: string;
|
|
2816
|
+
}
|
|
2817
|
+
interface SmsPreferencesFlow {
|
|
2818
|
+
/** True until the first load settles. */
|
|
2819
|
+
loading: Accessor<boolean>;
|
|
2820
|
+
/** The member's state, or null before it loads or when it could not be loaded. */
|
|
2821
|
+
state: Accessor<UserSmsState | null>;
|
|
2822
|
+
/** Render the section only when this is true — the tenant texts customers and the state loaded. */
|
|
2823
|
+
available: Accessor<boolean>;
|
|
2824
|
+
/** The member's number (E.164), or null when none is on file. */
|
|
2825
|
+
phone: Accessor<string | null>;
|
|
2826
|
+
consented: Accessor<boolean>;
|
|
2827
|
+
/** The member replied STOP. A carrier-level block: the site can't lift it, only explain it. */
|
|
2828
|
+
optedOutByStop: Accessor<boolean>;
|
|
2829
|
+
/** The number texts come from — what a STOP-ed member texts START to. */
|
|
2830
|
+
fromNumber: Accessor<string | undefined>;
|
|
2831
|
+
/** The events the tenant switched on, with this member's setting for each. */
|
|
2832
|
+
events: Accessor<UserSmsEvent[]>;
|
|
2833
|
+
/** Per-event switches apply only while the member is consented and hasn't STOP-ed. */
|
|
2834
|
+
showEvents: Accessor<boolean>;
|
|
2835
|
+
/**
|
|
2836
|
+
* The consent wording to show beside the "turn on" switch, or null when the
|
|
2837
|
+
* tenant's config is unavailable (then turning on is not offered at all).
|
|
2838
|
+
* Replaced with the new words after a stale-text refusal.
|
|
2839
|
+
*/
|
|
2840
|
+
consentOffer: Accessor<SmsConsentOffer | null>;
|
|
2841
|
+
/** An action is in flight. */
|
|
2842
|
+
busy: Accessor<boolean>;
|
|
2843
|
+
error: Accessor<string | null>;
|
|
2844
|
+
notice: Accessor<SmsNotice | null>;
|
|
2845
|
+
reload: () => Promise<void>;
|
|
2846
|
+
/** Change the number. Ends consent for the old one, so the member is told to turn texts on again. */
|
|
2847
|
+
setPhone: (raw: string) => Promise<boolean>;
|
|
2848
|
+
/** Turn texts on, agreeing to `consentOffer()` as shown. */
|
|
2849
|
+
optIn: () => Promise<boolean>;
|
|
2850
|
+
optOut: () => Promise<boolean>;
|
|
2851
|
+
/** Switch ONE event; every other event is left exactly as it is. */
|
|
2852
|
+
setEvent: (key: string, enabled: boolean) => Promise<boolean>;
|
|
2853
|
+
}
|
|
2854
|
+
declare function useSmsPreferences(): SmsPreferencesFlow;
|
|
2855
|
+
|
|
2856
|
+
export { type AccountSource, type AddPharmacy, type AddPharmacyFailure, type AddPharmacyNotice, type AddPharmacyState, type AddStrengthInput, type AddStrengthOutcome, type AddedPharmacy, type AddressErrors, type AddressPair, type AddressValue, type AffiliateConversionsFlow, type AffiliateDownlineFlow, type AffiliateLinksFlow, type AffiliateStatsFlow, type AnswerValue, type ApexBlockCode, type AttentionAction, type AttentionActionKind, type AttentionItem, type CartCaptureOptions, type CartCheckoutFlow, type CartCheckoutOutcome, type CartCheckoutPricing, type CartDropReason, type CartReconcileState, type CartReconciliation, type CartSource, type CatalogAvailabilityDecision, type CatalogAvailabilityState, type CatalogConversion, type CatalogFailure, type CatalogFlow, CatalogProduct, type CategoryColorOpts, type CheckoutFlow, type CheckoutOutcome, type Conversation, type ConversionConverted, type ConversionFailure, type ConversionNotice, type ConversionState, type ConversionSummary, type CreateCatalogProductOutcome, DEFAULT_COLOR_PALETTE, type DashboardActivityItem, type DashboardData, type DashboardRxListItem, type DashboardRxStatus, type DashboardSubscription, type DroppedCartLine, type DrugResult, type FindingCopy, type FlatStep, type FulfillmentRow, type FulfillmentStage, type FunnelTelemetry, type JourneyState, type JourneyStep, type JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, type MatchChoice, type MatchProblem, type MatchRecord, type MatchRow, type MatrixView, type MedicationPricing, type MedicationSelectFlow, type MemberPortalData, type MemberPortalRx, type MemberPortalSubscription, type MessagesChannel, type MessagesIntent, type MessagesThread, type NewCatalogProductInput, OFFER_BEATS_PROMO_NOTICE, ORPHAN_REASON, type OfferDiscount, PHONE_ERROR, type PricingBreakdown, type ProductCatalogEditor, type ProductDetailFlow, type PromoPricing, READINESS_LABEL, type ReadinessStatus, type ReconcileOptions, type RefillEvent, type RefillView, type RegisterFlow, type RegisterOutcome, type RequestStatus, type ResolvedStrength, type RxRequestStatus, SOURCE_FIELD_NOTE, type Severity, type ShipmentInfo, type SignupFlow, type SignupOutcome, type SmsConsent, type SmsConsentGrant, type SmsConsentOffer, type SmsNotice, type SmsNoticeKind, type SmsPreferencesFlow, type StageState, type StoredDosePrice, type StrengthComparison, type StrengthRow, type StructureState, type SubscribeFlow, type SubscribeOutcome, type SubscriptionIntakeFlow, type SubscriptionIntakeOutcome, type SurveyFlow, type SurveyOption, type SurveyOutcome, type SurveyQuestion, type SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, type ThreadMessage, type TimelineEvent, type TimelineKind, type Tone, type TrackerRequest, type TrackerRequestStatus, type TrackerSubscription, type TrackerSubscriptionStatus, type TrackerView, type TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, type UpdatePaymentMethodFlow, type UseAddPharmacyOptions, type UseAddressPairOptions, type UseCatalogConversionOptions, type UseCheckoutFlowOptions, type UseMedicationSelectOptions, type UseMessagesThreadOptions, type UseProductCatalogEditorOptions, type UseSignupFlowOptions, type UseSubscribeFlowOptions, type UseSubscriptionIntakeFlowOptions, type UseSurveyFlowOptions, type ValidateAddressOptions, type ValidatedResumedPromo, type VisibilityCondition, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, restoreCartFromLink, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, startCartCapture, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo, visibleWarnings };
|
package/dist/flows/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
2
|
-
import '../chunk/
|
|
3
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/
|
|
4
|
-
import '../chunk/
|
|
5
|
-
import '../chunk/
|
|
6
|
-
import '../chunk/
|
|
1
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/FZ4LIOG2.js';
|
|
2
|
+
import '../chunk/LJAMZMRF.js';
|
|
3
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/WM5KNUNX.js';
|
|
4
|
+
import '../chunk/WUVYCWKW.js';
|
|
5
|
+
import '../chunk/O2VF7KNG.js';
|
|
6
|
+
import '../chunk/BTDK3J34.js';
|
|
7
7
|
import '../chunk/2IFPDU4D.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/flows/index.jsx
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
startCartCapture,
|
|
5
5
|
useSubscriptionIntakeFlow,
|
|
6
6
|
validateResumedPromo
|
|
7
|
-
} from "../chunk/
|
|
8
|
-
import "../chunk/
|
|
7
|
+
} from "../chunk/ZEQ5TNDM.jsx";
|
|
8
|
+
import "../chunk/MVWCKLRH.jsx";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_COLOR_PALETTE,
|
|
11
11
|
LIFECYCLE_BUCKETS,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
MATCH_DEPENDENT_WARNINGS,
|
|
16
16
|
MATCH_HOW_LABEL,
|
|
17
17
|
ORPHAN_REASON,
|
|
18
|
+
PHONE_ERROR,
|
|
18
19
|
READINESS_LABEL,
|
|
19
20
|
SOURCE_FIELD_NOTE,
|
|
20
21
|
TERMINAL_SUBSCRIPTION_STATUSES,
|
|
@@ -61,6 +62,7 @@ import {
|
|
|
61
62
|
formatMessageTime,
|
|
62
63
|
formatRelativeTime,
|
|
63
64
|
formatStageDate,
|
|
65
|
+
formatUsPhone,
|
|
64
66
|
groupDrugsByPharmacy,
|
|
65
67
|
hasBlockers,
|
|
66
68
|
hasConversion,
|
|
@@ -71,6 +73,7 @@ import {
|
|
|
71
73
|
isLive,
|
|
72
74
|
isQuestionVisible,
|
|
73
75
|
isReconcilable,
|
|
76
|
+
isValidUsPhone,
|
|
74
77
|
lifecycleReason,
|
|
75
78
|
liveDoses,
|
|
76
79
|
lowestPrice,
|
|
@@ -127,16 +130,17 @@ import {
|
|
|
127
130
|
useProductDetail,
|
|
128
131
|
useRegisterFlow,
|
|
129
132
|
useSignupFlow,
|
|
133
|
+
useSmsPreferences,
|
|
130
134
|
useSubscribeFlow,
|
|
131
135
|
useSurveyFlow,
|
|
132
136
|
useSurveyV2Flow,
|
|
133
137
|
useUpdatePaymentMethodFlow,
|
|
134
138
|
validateAddress,
|
|
135
139
|
visibleWarnings
|
|
136
|
-
} from "../chunk/
|
|
137
|
-
import "../chunk/
|
|
138
|
-
import "../chunk/
|
|
139
|
-
import "../chunk/
|
|
140
|
+
} from "../chunk/HEXXZYK4.jsx";
|
|
141
|
+
import "../chunk/UAZK2UTR.jsx";
|
|
142
|
+
import "../chunk/HSBATWVL.jsx";
|
|
143
|
+
import "../chunk/PZ4BRSEK.jsx";
|
|
140
144
|
import "../chunk/QVZ7BRNO.jsx";
|
|
141
145
|
export {
|
|
142
146
|
DEFAULT_COLOR_PALETTE,
|
|
@@ -148,6 +152,7 @@ export {
|
|
|
148
152
|
MATCH_HOW_LABEL,
|
|
149
153
|
OFFER_BEATS_PROMO_NOTICE,
|
|
150
154
|
ORPHAN_REASON,
|
|
155
|
+
PHONE_ERROR,
|
|
151
156
|
READINESS_LABEL,
|
|
152
157
|
SOURCE_FIELD_NOTE,
|
|
153
158
|
TERMINAL_SUBSCRIPTION_STATUSES,
|
|
@@ -194,6 +199,7 @@ export {
|
|
|
194
199
|
formatMessageTime,
|
|
195
200
|
formatRelativeTime,
|
|
196
201
|
formatStageDate,
|
|
202
|
+
formatUsPhone,
|
|
197
203
|
groupDrugsByPharmacy,
|
|
198
204
|
hasBlockers,
|
|
199
205
|
hasConversion,
|
|
@@ -204,6 +210,7 @@ export {
|
|
|
204
210
|
isLive,
|
|
205
211
|
isQuestionVisible,
|
|
206
212
|
isReconcilable,
|
|
213
|
+
isValidUsPhone,
|
|
207
214
|
lifecycleReason,
|
|
208
215
|
liveDoses,
|
|
209
216
|
lowestPrice,
|
|
@@ -262,6 +269,7 @@ export {
|
|
|
262
269
|
useProductDetail,
|
|
263
270
|
useRegisterFlow,
|
|
264
271
|
useSignupFlow,
|
|
272
|
+
useSmsPreferences,
|
|
265
273
|
useSubscribeFlow,
|
|
266
274
|
useSubscriptionIntakeFlow,
|
|
267
275
|
useSurveyFlow,
|
package/dist/index/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
export { PortalConfig, configure, getConfig } from '../config/index.js';
|
|
2
2
|
export { BannerProps, BannerVariant, ButtonProps, ButtonSize, ButtonVariant, CardProps, CheckboxGroupProps, ChoiceOption, HeadingProps, Primitives, PrimitivesProvider, RadioGroupProps, SelectOption, SelectProps, SpinnerProps, Status, StatusPillProps, StepIndicatorProps, TextFieldProps, TextareaProps, usePrimitives } from '../primitives/index.js';
|
|
3
3
|
export { defaultPrimitives } from '../primitives/default/index.js';
|
|
4
|
-
export { A as ADMIN_ROLES, a as AddPharmacyBody, b as AddPharmacyDoseMatch, c as AddPharmacyDoseOption, d as AddPharmacyFinding, e as AddPharmacyMatchQuestion, f as AddPharmacyMatchSource, g as AddPharmacyPlan, h as AddPharmacyPrice, i as AddPharmacyResult, j as AddPharmacyStrengthAfter, k as AddPharmacyStrengthBefore, l as AddressVerifyResult, m as AdminApexDrug, n as AdminApexItemStatus, o as AdminBillingAttempt, p as
|
|
4
|
+
export { A as ADMIN_ROLES, a as AddPharmacyBody, b as AddPharmacyDoseMatch, c as AddPharmacyDoseOption, d as AddPharmacyFinding, e as AddPharmacyMatchQuestion, f as AddPharmacyMatchSource, g as AddPharmacyPlan, h as AddPharmacyPrice, i as AddPharmacyResult, j as AddPharmacyStrengthAfter, k as AddPharmacyStrengthBefore, l as AddressVerifyResult, m as AdminApexDrug, n as AdminApexItemStatus, o as AdminBillingAttempt, p as AdminBillingForecast, q as AdminBillingForecastDay, r as AdminCategory, s as AdminCategoryInput, t as AdminCategoryUpdate, u as AdminCustomer, v as AdminCustomerFacts, w as AdminCustomerFunnel, x as AdminCustomerListParams, y as AdminCustomerOverview, z as AdminCustomerProfile, B as AdminCustomerRequest, C as AdminCustomerRow, D as AdminCustomerSupport, E as AdminCustomerSupportThread, F as AdminDashboardStats, G as AdminFillAnchor, H as AdminFillSchedule, I as AdminInviteResult, J as AdminLifecycle, K as AdminLifecycleBucket, L as AdminListParams, M as AdminMe, N as AdminOffer, O as AdminOfferBase, P as AdminOfferGrant, Q as AdminOfferGrantBase, R as AdminOfferInput, S as AdminOrderSummary, T as AdminOrphanReason, U as AdminOrphanedDosePrice, V as AdminPayment, W as AdminPaymentDetail, X as AdminProduct, Y as AdminProductOverlayField, Z as AdminProductPharmacy, _ as AdminProductStrength, $ as AdminPromoCode, a0 as AdminPromoCodeInput, a1 as AdminRecurringPricePoint, a2 as AdminRecurringRevenue, a3 as AdminRefundResult, a4 as AdminRetimeFillBody, a5 as AdminRetimeFillResult, a6 as AdminRetimeSnapshot, a7 as AdminRole, a8 as AdminSale, a9 as AdminSaleInput, aa as AdminScheduledRefund, ab as AdminScheduledRefundProblem, ac as AdminSmsMessage, ad as AdminSmsMessagesParams, ae as AdminSmsNotReadyReason, af as AdminSmsSegmentInfo, ag as AdminSmsSettings, ah as AdminSmsTemplate, ai as AdminSmsTemplateChange, aj as AdminSmsTemplateChanges, ak as AdminSmsTestResult, al as AdminSmsTestStatus, am as AdminSubscription, an as AdminSubscriptionDetail, ao as AdminSubscriptionPatch, ap as AdminSubscriptionWriteResult, aq as AdminSupportCustomer, ar as AdminSupportStats, as as AdminSupportThread, at as AdminTeamInvite, au as AdminTeamMember, av as AdminWebhookEvent, aw as Affiliate, ax as AffiliateAuthTokens, ay as AffiliateClickRecord, az as AffiliateConversion, aA as AffiliateDashboardLinks, aB as AffiliateDashboardProfile, aC as AffiliateDashboardStats, aD as AffiliateDownlineMember, aE as AffiliateEarningsBreakdown, aF as AffiliatePaymentMethod, aG as AffiliateProgram, aH as AffiliateRegisterInput, aI as AffiliateRegisterResponse, aJ as AffiliateSession, aK as AffiliateStatsResponse, aL as AffiliateStatus, aM as AffiliateTrackResponse, aN as ApiError, aO as ApiResponse, aP as AttributionMethod, aQ as AuthTokens, aR as BillingReminderSettings, aS as CatalogAvailabilityItem, aT as CatalogAvailabilityReason, aU as CatalogAvailabilityResult, aV as CatalogClassification, aW as CatalogConversionChoice, aX as CatalogConversionCommitResult, aY as CatalogConversionDose, aZ as CatalogConversionDoseMatch, a_ as CatalogConversionFinding, a$ as CatalogConversionPointers, b0 as CatalogConversionPrepareResult, b1 as CatalogConversionPreview, b2 as CatalogConversionRun, b3 as CatalogConversionSource, b4 as CatalogConversionStage, b5 as CatalogConversionTarget, b6 as CatalogConversionUndoOptions, b7 as CatalogConversionUndoResult, b8 as CatalogDose, b9 as CatalogDoseInput, ba as CatalogDoseModel, bb as CatalogDoseSuggestion, bc as CatalogDoseSuggestions, bd as CatalogEquivalentSuggestions, be as CatalogFulfillment, bf as CatalogFulfillmentInput, bg as CatalogItem, bh as CatalogItemInput, bi as CatalogMappableDrug, bj as CatalogMatrixCell, bk as CatalogProduct, bl as CatalogReadiness, bm as CategoryMetadata, bn as CheckoutAddress, bo as CheckoutPayload, bp as CheckoutResult, bq as CommissionConfig, br as CommissionStatus, bs as CompleteSurveyPayload, bt as CreateAffiliatePayload, bu as CreateAffiliateProgramPayload, bv as CreateOrderPayload, bw as CreateRequestPayload, bx as CreateSubscriptionPayload, by as CustomTemplate, bz as CustomTemplateInput, bA as CustomerDiscountConfig, bB as DeliveryInfo, bC as DiscountType, bD as EmailNotificationSettings, bE as EmailTemplatesMap, bF as LoginPayload, bG as MemberOffer, bH as MemberPrescriptionRequest, bI as MemberSurveyMode, bJ as MemberSurveyResponseSummary, bK as MemberSurveyTranscript, bL as MemberSurveyTranscriptItem, bM as MemberSurveyTranscriptSection, bN as MembersMeResponse, bO as OfferGrantState, bP as Order, bQ as OrderItemInput, bR as PaginationParams, bS as PaymentCallbackPayload, bT as PaymentInitiatePayload, bU as PaymentType, bV as PendingRenewalSurvey, bW as Placeholder, bX as PlaceholderKind, bY as ProductSaleSummary, bZ as PromoValidationResponse, b_ as PublicCategory, b$ as RegisterAndSubscribePayload, c0 as RegisterPayload, c1 as RenewalStatus, c2 as SUPPORT_ATTACHMENT_MAX_BYTES, c3 as SUPPORT_ATTACHMENT_MIME_TYPES, c4 as SelectDrugPayload, c5 as SendMessagePayload, c6 as SendToPharmacyPayload, c7 as SmsConsentResult, c8 as SmsConsentStatus, c9 as SmsRefusalReason, ca as SubscriptionPreview, cb as SubscriptionPreviewLine, cc as SubscriptionPreviewPayload, cd as SupportAttachment, ce as SupportChannel, cf as SupportChannelSettings, cg as SupportMessage, ch as SupportRealtimeToken, ci as SupportThread, cj as SupportThreadCategory, ck as SupportThreadStatus, cl as SurveySubmitPayload, cm as TemplatePlaceholdersMap, cn as TemplateText, co as TenantFeature, cp as TenantFeatureAccess, cq as TokenTrackName, cr as UpdateAffiliatePayload, cs as UpdateAffiliateProgramPayload, ct as UpdatePaymentMethodPayload, cu as UpdateProfilePayload, cv as UpdateProfileResponse, cw as User, cx as UserSmsEvent, cy as UserSmsState, cz as addressesApi, cA as adminAffiliatesApi, cB as adminApi, cC as adminCatalogApi, cD as adminCatalogConversionApi, cE as adminProductPharmaciesApi, cF as affiliateAuthStorageKey, cG as affiliatePortalApi, cH as apexApi, cI as apiFetch, cJ as authApi, cK as authStorageKey, cL as catalogApi, cM as clearAffiliateTokens, cN as clearTokens, cO as getAffiliateTokens, cP as getTokens, cQ as membersApi, cR as messagesApi, cS as newIdempotencyKey, cT as offersApi, cU as onTokensCleared, cV as ordersApi, cW as paymentsApi, cX as productsApi, cY as promoCodesApi, cZ as setAffiliateTokens, c_ as setTokens, c$ as subscriptionsApi, d0 as supportApi, d1 as usersApi } from '../client-C0MG1mOg.js';
|
|
5
5
|
export { EmbedApiError as ApexV2ApiError, EmbedApiClient, EmbedApiClientOptions, EmbedApiError, EmbedEvent, EmbedEventType, FetchLike, PatientInfo, V2Answer, V2ComposedSurvey, V2DrugResult, V2QualificationResult, V2Question, V2QuestionOption, V2Section, V2Step, V2SubmitResult, V2VisibilityCondition, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '@apextelemed/survey-core';
|
|
6
|
-
export { captureAffiliateRef, capturePromoCode, clearAffiliateRef, clearPromoCode, readAffiliateRef, readPromoCode } from '../api/index.js';
|
|
6
|
+
export { SmsConfig, captureAffiliateRef, capturePromoCode, clearAffiliateRef, clearPromoCode, fetchSmsConfig, readAffiliateRef, readPromoCode, resetSmsConfigCache } from '../api/index.js';
|
|
7
7
|
export { C as CartCaptureConfig, a as CartSnapshotLine, F as FunnelConfig, b as FunnelDraftPayload, R as ResumedCart, c as ResumedCartLine, d as ResumedDraft, e as adoptCartId, f as adoptFunnelSessionId, g as captureAuthHeader, h as cartId, i as fetchCartConfig, j as fetchFunnelConfig, k as fetchResumedCart, l as fetchResumedDraft, m as funnelSessionId, p as peekFunnelSessionId, n as postCartSnapshot, o as postFunnelEvent, r as readCartToken, q as readResumeToken, s as resetCartConfigCache, t as resetCartId, u as resetFunnelConfigCache, v as saveFunnelDraft, w as stripCartToken, x as stripResumeToken } from '../cart-BwUwSzWh.js';
|
|
8
8
|
export { MedicationSelection, affiliateAuthStore, authStore, medicationStore } from '../stores/index.js';
|
|
9
9
|
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
|
|
10
|
-
import { AddressPair } from '../flows/index.js';
|
|
11
|
-
export { AccountSource, AddPharmacy, AddPharmacyFailure, AddPharmacyNotice, AddPharmacyState, AddStrengthInput, AddStrengthOutcome, AddedPharmacy, AddressErrors, AddressValue, AffiliateConversionsFlow, AffiliateDownlineFlow, AffiliateLinksFlow, AffiliateStatsFlow, AnswerValue, ApexBlockCode, AttentionAction, AttentionActionKind, AttentionItem, CartCaptureOptions, CartCheckoutFlow, CartCheckoutOutcome, CartCheckoutPricing, CartDropReason, CartReconcileState, CartReconciliation, CartSource, CatalogAvailabilityDecision, CatalogAvailabilityState, CatalogConversion, CatalogFailure, CatalogFlow, CategoryColorOpts, CheckoutFlow, CheckoutOutcome, Conversation, ConversionConverted, ConversionFailure, ConversionNotice, ConversionState, ConversionSummary, CreateCatalogProductOutcome, DEFAULT_COLOR_PALETTE, DashboardActivityItem, DashboardData, DashboardRxListItem, DashboardRxStatus, DashboardSubscription, DroppedCartLine, DrugResult, FindingCopy, FlatStep, FulfillmentRow, FulfillmentStage, FunnelTelemetry, JourneyState, JourneyStep, JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, MatchChoice, MatchProblem, MatchRecord, MatchRow, MatrixView, MedicationPricing, MedicationSelectFlow, MemberPortalData, MemberPortalRx, MemberPortalSubscription, MessagesChannel, MessagesIntent, MessagesThread, NewCatalogProductInput, OFFER_BEATS_PROMO_NOTICE, ORPHAN_REASON, OfferDiscount, PricingBreakdown, ProductCatalogEditor, ProductDetailFlow, PromoPricing, READINESS_LABEL, ReadinessStatus, ReconcileOptions, RefillEvent, RefillView, RegisterFlow, RegisterOutcome, RequestStatus, ResolvedStrength, RxRequestStatus, SOURCE_FIELD_NOTE, Severity, ShipmentInfo, SignupFlow, SignupOutcome, StageState, StoredDosePrice, StrengthComparison, StrengthRow, StructureState, SubscribeFlow, SubscribeOutcome, SubscriptionIntakeFlow, SubscriptionIntakeOutcome, SurveyFlow, SurveyOption, SurveyOutcome, SurveyQuestion, SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, ThreadMessage, TimelineEvent, TimelineKind, Tone, TrackerRequest, TrackerRequestStatus, TrackerSubscription, TrackerSubscriptionStatus, TrackerView, TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, UpdatePaymentMethodFlow, UseAddPharmacyOptions, UseAddressPairOptions, UseCatalogConversionOptions, UseCheckoutFlowOptions, UseMedicationSelectOptions, UseMessagesThreadOptions, UseProductCatalogEditorOptions, UseSignupFlowOptions, UseSubscribeFlowOptions, UseSubscriptionIntakeFlowOptions, UseSurveyFlowOptions, ValidateAddressOptions, ValidatedResumedPromo, VisibilityCondition, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, restoreCartFromLink, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, startCartCapture, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo, visibleWarnings } from '../flows/index.js';
|
|
10
|
+
import { AddressPair, SmsConsent } from '../flows/index.js';
|
|
11
|
+
export { AccountSource, AddPharmacy, AddPharmacyFailure, AddPharmacyNotice, AddPharmacyState, AddStrengthInput, AddStrengthOutcome, AddedPharmacy, AddressErrors, AddressValue, AffiliateConversionsFlow, AffiliateDownlineFlow, AffiliateLinksFlow, AffiliateStatsFlow, AnswerValue, ApexBlockCode, AttentionAction, AttentionActionKind, AttentionItem, CartCaptureOptions, CartCheckoutFlow, CartCheckoutOutcome, CartCheckoutPricing, CartDropReason, CartReconcileState, CartReconciliation, CartSource, CatalogAvailabilityDecision, CatalogAvailabilityState, CatalogConversion, CatalogFailure, CatalogFlow, CategoryColorOpts, CheckoutFlow, CheckoutOutcome, Conversation, ConversionConverted, ConversionFailure, ConversionNotice, ConversionState, ConversionSummary, CreateCatalogProductOutcome, DEFAULT_COLOR_PALETTE, DashboardActivityItem, DashboardData, DashboardRxListItem, DashboardRxStatus, DashboardSubscription, DroppedCartLine, DrugResult, FindingCopy, FlatStep, FulfillmentRow, FulfillmentStage, FunnelTelemetry, JourneyState, JourneyStep, JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, MatchChoice, MatchProblem, MatchRecord, MatchRow, MatrixView, MedicationPricing, MedicationSelectFlow, MemberPortalData, MemberPortalRx, MemberPortalSubscription, MessagesChannel, MessagesIntent, MessagesThread, NewCatalogProductInput, OFFER_BEATS_PROMO_NOTICE, ORPHAN_REASON, OfferDiscount, PHONE_ERROR, PricingBreakdown, ProductCatalogEditor, ProductDetailFlow, PromoPricing, READINESS_LABEL, ReadinessStatus, ReconcileOptions, RefillEvent, RefillView, RegisterFlow, RegisterOutcome, RequestStatus, ResolvedStrength, RxRequestStatus, SOURCE_FIELD_NOTE, Severity, ShipmentInfo, SignupFlow, SignupOutcome, SmsConsentGrant, SmsConsentOffer, SmsNotice, SmsNoticeKind, SmsPreferencesFlow, StageState, StoredDosePrice, StrengthComparison, StrengthRow, StructureState, SubscribeFlow, SubscribeOutcome, SubscriptionIntakeFlow, SubscriptionIntakeOutcome, SurveyFlow, SurveyOption, SurveyOutcome, SurveyQuestion, SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, ThreadMessage, TimelineEvent, TimelineKind, Tone, TrackerRequest, TrackerRequestStatus, TrackerSubscription, TrackerSubscriptionStatus, TrackerView, TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, UpdatePaymentMethodFlow, UseAddPharmacyOptions, UseAddressPairOptions, UseCatalogConversionOptions, UseCheckoutFlowOptions, UseMedicationSelectOptions, UseMessagesThreadOptions, UseProductCatalogEditorOptions, UseSignupFlowOptions, UseSubscribeFlowOptions, UseSubscriptionIntakeFlowOptions, UseSurveyFlowOptions, ValidateAddressOptions, ValidatedResumedPromo, VisibilityCondition, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, restoreCartFromLink, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, startCartCapture, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo, visibleWarnings } from '../flows/index.js';
|
|
12
12
|
export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
|
|
13
13
|
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AcceptAdminInvitePageProps, AdminAuthAdapter, AdminDashboard, AdminDashboardProps, AdminTab, AdminTabGroup, AdminToast, AffiliateAuthAdapter, AffiliateForgotPassword, AffiliateForgotPasswordProps, AffiliateLogin, AffiliateLoginProps, AffiliatePortal, AffiliatePortalProps, AffiliatePortalTab, AffiliateRegister, AffiliateRegisterProps, AffiliateResetPassword, AffiliateResetPasswordProps, AffiliateSubTab, AffiliatesProps, CartCheckoutPage, CartCheckoutPageProps, CheckoutPage, CheckoutPageProps, EmailTemplates, ForgotPasswordPage, ForgotPasswordPageProps, LegalLink, MedicationGuideContent, MedicationGuideResolver, MemberAuthAdapter, MemberPortal, MemberPortalBrand, MemberPortalProps, MemberPortalRoutes, PatientDashboardPreview, PatientDashboardPreviewProps, RegisterPage, RegisterPageProps, ResetPasswordPage, ResetPasswordPageProps, SignupPage, SignupPageProps, SubscribePage, SubscribePageProps, SurveyPage, SurveyPageProps, SurveyV2Page, SurveyV2PageProps, UpdatePaymentMethod, UpdatePaymentMethodProps, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../pages/index.js';
|
|
14
|
+
import * as solid_js from 'solid-js';
|
|
14
15
|
import { JSX } from 'solid-js';
|
|
15
16
|
export { SurveyV2Flow, SurveyV2Outcome } from '@apextelemed/survey-solid';
|
|
16
17
|
|
|
@@ -68,4 +69,24 @@ interface AddressFieldsProps {
|
|
|
68
69
|
*/
|
|
69
70
|
declare function AddressFields(props: AddressFieldsProps): JSX.Element;
|
|
70
71
|
|
|
71
|
-
|
|
72
|
+
interface SmsConsentFieldProps {
|
|
73
|
+
/** The flow's `smsConsent` (register, signup, subscription intake). */
|
|
74
|
+
consent: SmsConsent;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The optional "text me" checkbox. Renders nothing unless the tenant texts
|
|
78
|
+
* customers, so it can sit unconditionally under any phone field.
|
|
79
|
+
*
|
|
80
|
+
* Unchecked by default and never required. The label is the tenant's consent
|
|
81
|
+
* wording verbatim, with the terms/privacy links beside it. While the phone
|
|
82
|
+
* number is empty or invalid the box is disabled and says why.
|
|
83
|
+
*
|
|
84
|
+
* Built on `CheckboxGroup` with one option rather than a new primitive: every
|
|
85
|
+
* member of `Primitives` is a contract each site must implement. The primitive
|
|
86
|
+
* has no `disabled` prop, so the group sits inside a native `<fieldset
|
|
87
|
+
* disabled>`, which disables every control within it — the site's checkbox
|
|
88
|
+
* included, whatever it renders.
|
|
89
|
+
*/
|
|
90
|
+
declare function SmsConsentField(props: SmsConsentFieldProps): solid_js.JSX.Element;
|
|
91
|
+
|
|
92
|
+
export { AddressFields, type AddressFieldsProps, AddressPair, SmsConsent, SmsConsentField, type SmsConsentFieldProps };
|
package/dist/index/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import '../chunk/
|
|
2
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
3
|
-
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/
|
|
4
|
-
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/
|
|
1
|
+
import '../chunk/XZVVZIRZ.js';
|
|
2
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/FZ4LIOG2.js';
|
|
3
|
+
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/LJAMZMRF.js';
|
|
4
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/P6YCW73X.js';
|
|
5
5
|
export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
|
|
6
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/
|
|
7
|
-
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/
|
|
6
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/WM5KNUNX.js';
|
|
7
|
+
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, fetchSmsConfig, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, resetSmsConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/WUVYCWKW.js';
|
|
8
8
|
export { PrimitivesProvider, usePrimitives } from '../chunk/67KHO66G.js';
|
|
9
9
|
export { defaultPrimitives } from '../chunk/EXXI5Y7I.js';
|
|
10
10
|
import '../chunk/NVRAOAVV.js';
|
|
11
|
-
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/
|
|
12
|
-
export { ADMIN_ROLES, ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, adminCatalogConversionApi, adminProductPharmaciesApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, offersApi, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/
|
|
11
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/O2VF7KNG.js';
|
|
12
|
+
export { ADMIN_ROLES, ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, adminCatalogConversionApi, adminProductPharmaciesApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, offersApi, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/BTDK3J34.js';
|
|
13
13
|
export { configure, getConfig } from '../chunk/2IFPDU4D.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index/index.jsx
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../chunk/
|
|
1
|
+
import "../chunk/ESNAWOHG.jsx";
|
|
2
2
|
import {
|
|
3
3
|
OFFER_BEATS_PROMO_NOTICE,
|
|
4
4
|
restoreCartFromLink,
|
|
5
5
|
startCartCapture,
|
|
6
6
|
useSubscriptionIntakeFlow,
|
|
7
7
|
validateResumedPromo
|
|
8
|
-
} from "../chunk/
|
|
8
|
+
} from "../chunk/ZEQ5TNDM.jsx";
|
|
9
9
|
import {
|
|
10
10
|
adoptCartId,
|
|
11
11
|
capturePromoCode,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resetCartConfigCache,
|
|
20
20
|
resetCartId,
|
|
21
21
|
stripCartToken
|
|
22
|
-
} from "../chunk/
|
|
22
|
+
} from "../chunk/MVWCKLRH.jsx";
|
|
23
23
|
import {
|
|
24
24
|
ADMIN_TAB_SEGMENTS,
|
|
25
25
|
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
RegisterPage,
|
|
41
41
|
ResetPasswordPage,
|
|
42
42
|
SignupPage,
|
|
43
|
+
SmsConsentField,
|
|
43
44
|
SubscribePage,
|
|
44
45
|
SurveyPage,
|
|
45
46
|
SurveyV2Page,
|
|
@@ -48,7 +49,7 @@ import {
|
|
|
48
49
|
adminTabPath,
|
|
49
50
|
affiliateSubTabFromPath,
|
|
50
51
|
affiliateSubTabPath
|
|
51
|
-
} from "../chunk/
|
|
52
|
+
} from "../chunk/FKEDRIA7.jsx";
|
|
52
53
|
import {
|
|
53
54
|
EmbedApiError,
|
|
54
55
|
EmbedApiError2,
|
|
@@ -66,6 +67,7 @@ import {
|
|
|
66
67
|
MATCH_DEPENDENT_WARNINGS,
|
|
67
68
|
MATCH_HOW_LABEL,
|
|
68
69
|
ORPHAN_REASON,
|
|
70
|
+
PHONE_ERROR,
|
|
69
71
|
READINESS_LABEL,
|
|
70
72
|
SOURCE_FIELD_NOTE,
|
|
71
73
|
TERMINAL_SUBSCRIPTION_STATUSES,
|
|
@@ -112,6 +114,7 @@ import {
|
|
|
112
114
|
formatMessageTime,
|
|
113
115
|
formatRelativeTime,
|
|
114
116
|
formatStageDate,
|
|
117
|
+
formatUsPhone,
|
|
115
118
|
groupDrugsByPharmacy,
|
|
116
119
|
hasBlockers,
|
|
117
120
|
hasConversion,
|
|
@@ -122,6 +125,7 @@ import {
|
|
|
122
125
|
isLive,
|
|
123
126
|
isQuestionVisible,
|
|
124
127
|
isReconcilable,
|
|
128
|
+
isValidUsPhone,
|
|
125
129
|
lifecycleReason,
|
|
126
130
|
liveDoses,
|
|
127
131
|
lowestPrice,
|
|
@@ -178,26 +182,29 @@ import {
|
|
|
178
182
|
useProductDetail,
|
|
179
183
|
useRegisterFlow,
|
|
180
184
|
useSignupFlow,
|
|
185
|
+
useSmsPreferences,
|
|
181
186
|
useSubscribeFlow,
|
|
182
187
|
useSurveyFlow,
|
|
183
188
|
useSurveyV2Flow,
|
|
184
189
|
useUpdatePaymentMethodFlow,
|
|
185
190
|
validateAddress,
|
|
186
191
|
visibleWarnings
|
|
187
|
-
} from "../chunk/
|
|
192
|
+
} from "../chunk/HEXXZYK4.jsx";
|
|
188
193
|
import {
|
|
189
194
|
adoptFunnelSessionId,
|
|
190
195
|
captureAuthHeader,
|
|
191
196
|
fetchFunnelConfig,
|
|
192
197
|
fetchResumedDraft,
|
|
198
|
+
fetchSmsConfig,
|
|
193
199
|
funnelSessionId,
|
|
194
200
|
peekFunnelSessionId,
|
|
195
201
|
postFunnelEvent,
|
|
196
202
|
readResumeToken,
|
|
197
203
|
resetFunnelConfigCache,
|
|
204
|
+
resetSmsConfigCache,
|
|
198
205
|
saveFunnelDraft,
|
|
199
206
|
stripResumeToken
|
|
200
|
-
} from "../chunk/
|
|
207
|
+
} from "../chunk/UAZK2UTR.jsx";
|
|
201
208
|
import {
|
|
202
209
|
PrimitivesProvider,
|
|
203
210
|
usePrimitives
|
|
@@ -211,7 +218,7 @@ import {
|
|
|
211
218
|
auth_default,
|
|
212
219
|
cart_default,
|
|
213
220
|
medication_default
|
|
214
|
-
} from "../chunk/
|
|
221
|
+
} from "../chunk/HSBATWVL.jsx";
|
|
215
222
|
import {
|
|
216
223
|
ADMIN_ROLES,
|
|
217
224
|
ApiError,
|
|
@@ -251,7 +258,7 @@ import {
|
|
|
251
258
|
subscriptionsApi,
|
|
252
259
|
supportApi,
|
|
253
260
|
usersApi
|
|
254
|
-
} from "../chunk/
|
|
261
|
+
} from "../chunk/PZ4BRSEK.jsx";
|
|
255
262
|
import {
|
|
256
263
|
configure,
|
|
257
264
|
getConfig
|
|
@@ -285,6 +292,7 @@ export {
|
|
|
285
292
|
MemberPortal,
|
|
286
293
|
OFFER_BEATS_PROMO_NOTICE,
|
|
287
294
|
ORPHAN_REASON,
|
|
295
|
+
PHONE_ERROR,
|
|
288
296
|
PatientDashboardPreview,
|
|
289
297
|
PrimitivesProvider,
|
|
290
298
|
READINESS_LABEL,
|
|
@@ -294,6 +302,7 @@ export {
|
|
|
294
302
|
SUPPORT_ATTACHMENT_MAX_BYTES,
|
|
295
303
|
SUPPORT_ATTACHMENT_MIME_TYPES,
|
|
296
304
|
SignupPage,
|
|
305
|
+
SmsConsentField,
|
|
297
306
|
SubscribePage,
|
|
298
307
|
SurveyPage,
|
|
299
308
|
SurveyV2Page,
|
|
@@ -371,6 +380,7 @@ export {
|
|
|
371
380
|
fetchFunnelConfig,
|
|
372
381
|
fetchResumedCart,
|
|
373
382
|
fetchResumedDraft,
|
|
383
|
+
fetchSmsConfig,
|
|
374
384
|
findStoredDosePrice,
|
|
375
385
|
flaggedSubscribers,
|
|
376
386
|
formatCardNumber,
|
|
@@ -381,6 +391,7 @@ export {
|
|
|
381
391
|
formatMessageTime,
|
|
382
392
|
formatRelativeTime,
|
|
383
393
|
formatStageDate,
|
|
394
|
+
formatUsPhone,
|
|
384
395
|
funnelSessionId,
|
|
385
396
|
getAffiliateTokens,
|
|
386
397
|
getConfig,
|
|
@@ -395,6 +406,7 @@ export {
|
|
|
395
406
|
isLive,
|
|
396
407
|
isQuestionVisible,
|
|
397
408
|
isReconcilable,
|
|
409
|
+
isValidUsPhone,
|
|
398
410
|
lifecycleReason,
|
|
399
411
|
liveDoses,
|
|
400
412
|
lowestPrice,
|
|
@@ -441,6 +453,7 @@ export {
|
|
|
441
453
|
resetCartId,
|
|
442
454
|
resetFunnelConfigCache,
|
|
443
455
|
resetResumeRedemption,
|
|
456
|
+
resetSmsConfigCache,
|
|
444
457
|
resolveCategoryColor,
|
|
445
458
|
resolveStrengthPrices,
|
|
446
459
|
restoreCartFromLink,
|
|
@@ -482,6 +495,7 @@ export {
|
|
|
482
495
|
useProductDetail,
|
|
483
496
|
useRegisterFlow,
|
|
484
497
|
useSignupFlow,
|
|
498
|
+
useSmsPreferences,
|
|
485
499
|
useSubscribeFlow,
|
|
486
500
|
useSubscriptionIntakeFlow,
|
|
487
501
|
useSurveyFlow,
|
package/dist/pages/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as solid_js from 'solid-js';
|
|
|
2
2
|
import { JSX } from 'solid-js';
|
|
3
3
|
import { U as UseSurveyV2FlowOptions } from '../surveyV2-BgQHK0GE.js';
|
|
4
4
|
import { V2SubmitResult, PatientInfo, V2DrugResult } from '@apextelemed/survey-core';
|
|
5
|
-
import {
|
|
5
|
+
import { K as AdminLifecycleBucket, X as AdminProduct } from '../client-C0MG1mOg.js';
|
|
6
6
|
import '@apextelemed/survey-solid';
|
|
7
7
|
|
|
8
8
|
interface SurveyPageProps {
|
|
@@ -317,7 +317,7 @@ interface AdminAuthAdapter {
|
|
|
317
317
|
}
|
|
318
318
|
type AdminTab = 'dashboard' | 'customers' | 'payments'
|
|
319
319
|
/** @deprecated Subscriptions live in the customer 360; this id renders the Customers tab filtered to active subscribers. */
|
|
320
|
-
| 'subscriptions' | 'products' | 'categories' | 'sales' | 'promo-codes' | 'offers' | 'affiliates' | 'support' | 'webhooks' | 'email-templates' | 'funnel' | 'sequences' | 'sequence-results' | 'email-notifications' | 'features' | 'admins';
|
|
320
|
+
| 'subscriptions' | 'products' | 'categories' | 'sales' | 'promo-codes' | 'offers' | 'affiliates' | 'support' | 'webhooks' | 'email-templates' | 'funnel' | 'sequences' | 'sequence-results' | 'email-notifications' | 'sms' | 'features' | 'admins';
|
|
321
321
|
interface AdminTabGroup {
|
|
322
322
|
/** Section header rendered above the items (uppercase, muted). */
|
|
323
323
|
label: string;
|
package/dist/pages/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/
|
|
1
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/P6YCW73X.js';
|
|
2
2
|
import '../chunk/LZWA44KD.js';
|
|
3
|
-
import '../chunk/
|
|
4
|
-
import '../chunk/
|
|
3
|
+
import '../chunk/WM5KNUNX.js';
|
|
4
|
+
import '../chunk/WUVYCWKW.js';
|
|
5
5
|
import '../chunk/67KHO66G.js';
|
|
6
|
-
import '../chunk/
|
|
7
|
-
import '../chunk/
|
|
6
|
+
import '../chunk/O2VF7KNG.js';
|
|
7
|
+
import '../chunk/BTDK3J34.js';
|
|
8
8
|
import '../chunk/2IFPDU4D.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|