@apextelemed/partner-core 0.4.1 → 0.5.1
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 +2 -2
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +5 -3
- package/dist/{cart-CBH8Em8f.d.ts → cart-BwUwSzWh.d.ts} +25 -2
- package/dist/chunk/{I46Y2J5W.jsx → 2UWULNSX.jsx} +15 -2
- package/dist/chunk/{2XJBOTK5.js → 5D7SGF46.js} +2 -2
- package/dist/chunk/{2XJBOTK5.js.map → 5D7SGF46.js.map} +1 -1
- package/dist/chunk/{DS4E7FAI.js → 7ZESUC4Q.js} +14 -4
- package/dist/chunk/7ZESUC4Q.js.map +1 -0
- package/dist/chunk/{LPERM6T7.jsx → AH3PJBED.jsx} +191 -30
- package/dist/chunk/{YHWX4NMV.js → C7TELVJF.js} +3 -3
- package/dist/chunk/{YHWX4NMV.js.map → C7TELVJF.js.map} +1 -1
- package/dist/chunk/{MEF3FUQB.jsx → DQE4K55D.jsx} +1 -1
- package/dist/chunk/{NP4CMOLW.jsx → FUOUTRAO.jsx} +5 -3
- package/dist/chunk/{STEVQZ6U.jsx → GNG53L37.jsx} +2 -2
- package/dist/chunk/{OJSQZEB3.js → GPVYUP3H.js} +7 -6
- package/dist/chunk/GPVYUP3H.js.map +1 -0
- package/dist/chunk/{NYLIUR7O.jsx → JTG4H4I5.jsx} +6 -5
- package/dist/chunk/{MN4GWQC4.js → JXPPJF2V.js} +408 -228
- package/dist/chunk/JXPPJF2V.js.map +1 -0
- package/dist/chunk/{XMYPS7PT.js → XHOD3HUQ.js} +5 -4
- package/dist/chunk/XHOD3HUQ.js.map +1 -0
- package/dist/chunk/{EIXZJX6R.js → ZD2MMEXL.js} +34 -17
- package/dist/chunk/ZD2MMEXL.js.map +1 -0
- package/dist/chunk/{T6IKS76T.jsx → ZJENZPAM.jsx} +33 -15
- package/dist/{client-DUrhrzOG.d.ts → client-BD9_HCZY.d.ts} +16 -0
- package/dist/flows/index.d.ts +49 -3
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +10 -8
- package/dist/index/index.d.ts +3 -3
- package/dist/index/index.js +7 -7
- package/dist/index/index.jsx +13 -9
- package/dist/pages/index.d.ts +1 -1
- 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/package.json +1 -1
- package/dist/chunk/DS4E7FAI.js.map +0 -1
- package/dist/chunk/EIXZJX6R.js.map +0 -1
- package/dist/chunk/MN4GWQC4.js.map +0 -1
- package/dist/chunk/OJSQZEB3.js.map +0 -1
- package/dist/chunk/XMYPS7PT.js.map +0 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
setAffiliateTokens,
|
|
13
13
|
setTokens,
|
|
14
14
|
usersApi
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./DQE4K55D.jsx";
|
|
16
16
|
import {
|
|
17
17
|
getConfig,
|
|
18
18
|
onConfigured
|
|
@@ -410,4 +410,4 @@ export {
|
|
|
410
410
|
affiliateAuth_default,
|
|
411
411
|
medication_default
|
|
412
412
|
};
|
|
413
|
-
//# sourceMappingURL=
|
|
413
|
+
//# sourceMappingURL=GNG53L37.jsx.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { fetchFunnelConfig, postFunnelEvent, readResumeToken, fetchResumedDraft, stripResumeToken, adoptFunnelSessionId, saveFunnelDraft } from './
|
|
2
|
-
import { cart_default, medication_default, auth_default, affiliateAuth_default } from './
|
|
3
|
-
import { newIdempotencyKey, apexApi, usersApi, addressesApi, paymentsApi, subscriptionsApi, membersApi, affiliatePortalApi, ApiError, ordersApi, supportApi, messagesApi, authApi } from './
|
|
1
|
+
import { fetchFunnelConfig, postFunnelEvent, readResumeToken, fetchResumedDraft, stripResumeToken, adoptFunnelSessionId, saveFunnelDraft } from './7ZESUC4Q.js';
|
|
2
|
+
import { cart_default, medication_default, auth_default, affiliateAuth_default } from './C7TELVJF.js';
|
|
3
|
+
import { newIdempotencyKey, apexApi, usersApi, addressesApi, paymentsApi, subscriptionsApi, membersApi, affiliatePortalApi, ApiError, ordersApi, supportApi, messagesApi, authApi } from './5D7SGF46.js';
|
|
4
4
|
import { getConfig } from './5XGPFYIJ.js';
|
|
5
5
|
import { createSignal, onMount, createEffect, onCleanup, createResource } from 'solid-js';
|
|
6
6
|
import { useSurveyV2Flow as useSurveyV2Flow$1 } from '@apextelemed/survey-solid';
|
|
@@ -2897,11 +2897,12 @@ function buildTimeline(o, limit = 200) {
|
|
|
2897
2897
|
});
|
|
2898
2898
|
}
|
|
2899
2899
|
for (const s of o.subscriptions) {
|
|
2900
|
+
const label = s.medicationName || s.medication;
|
|
2900
2901
|
ev.push({
|
|
2901
2902
|
id: `sub-created-${s.id}`,
|
|
2902
2903
|
at: at(s.createdAt),
|
|
2903
2904
|
kind: "subscription",
|
|
2904
|
-
title: `Subscribed${
|
|
2905
|
+
title: `Subscribed${label ? ` to ${label}` : ""}`,
|
|
2905
2906
|
detail: `${dollars(s.amountCents)} every ${s.intervalDays} days`,
|
|
2906
2907
|
tone: "success"
|
|
2907
2908
|
});
|
|
@@ -3890,5 +3891,5 @@ async function uploadPrescriptionPhoto(file) {
|
|
|
3890
3891
|
}
|
|
3891
3892
|
|
|
3892
3893
|
export { ACCOUNT_SOURCE_LABEL, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, firstAddressError, fmtDay, formatCalendarDate, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, hasStateRestrictions, isImageAttachment, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, resolveSurveyV2DrugIntent, stateAvailabilityNote, toTrackerRequest, uploadPrescriptionPhoto, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCardTokenizer, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress };
|
|
3893
|
-
//# sourceMappingURL=
|
|
3894
|
-
//# sourceMappingURL=
|
|
3894
|
+
//# sourceMappingURL=GPVYUP3H.js.map
|
|
3895
|
+
//# sourceMappingURL=GPVYUP3H.js.map
|