@apextelemed/partner-core 0.24.0-dev.86 → 0.24.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.
Files changed (41) hide show
  1. package/dist/api/index.d.ts +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/api/index.jsx +3 -3
  4. package/dist/chunk/{CHLMWPRS.jsx → 5EC6C4IQ.jsx} +3047 -2105
  5. package/dist/chunk/{3PC2Z2QD.jsx → DZTBMDZ6.jsx} +2 -2
  6. package/dist/chunk/{XWGLSZKD.jsx → FC4ITYM7.jsx} +44 -1
  7. package/dist/chunk/{TUIMLDLN.js → HDHO7WV2.js} +3 -3
  8. package/dist/chunk/{TUIMLDLN.js.map → HDHO7WV2.js.map} +1 -1
  9. package/dist/chunk/{GGAM2AJR.jsx → HGKZ6FBS.jsx} +4 -4
  10. package/dist/chunk/{SHSR6S3O.jsx → IKLXSGDE.jsx} +5 -5
  11. package/dist/chunk/{OLCMHH3R.js → OJV5HNJM.js} +6 -6
  12. package/dist/chunk/{OLCMHH3R.js.map → OJV5HNJM.js.map} +1 -1
  13. package/dist/chunk/{FFHPVSPW.js → PNQNOYWY.js} +45 -2
  14. package/dist/chunk/PNQNOYWY.js.map +1 -0
  15. package/dist/chunk/{Y3KQOUKX.js → POF64TCZ.js} +5 -5
  16. package/dist/chunk/{Y3KQOUKX.js.map → POF64TCZ.js.map} +1 -1
  17. package/dist/chunk/{UWWII3GE.jsx → UWV5PZX3.jsx} +2 -2
  18. package/dist/chunk/{JQIEY5VS.js → WCBIY4IC.js} +3 -3
  19. package/dist/chunk/{JQIEY5VS.js.map → WCBIY4IC.js.map} +1 -1
  20. package/dist/chunk/{DFZFYIME.js → X4YVV27O.js} +3 -3
  21. package/dist/chunk/{DFZFYIME.js.map → X4YVV27O.js.map} +1 -1
  22. package/dist/chunk/{XRFUHRLK.jsx → ZHLNFCF7.jsx} +2 -2
  23. package/dist/chunk/{Z62HCCQ7.js → ZXEK75T7.js} +3332 -1717
  24. package/dist/chunk/ZXEK75T7.js.map +1 -0
  25. package/dist/{client-C-0_UTAb.d.ts → client-BsSc6e_K.d.ts} +154 -1
  26. package/dist/flows/index.d.ts +1 -1
  27. package/dist/flows/index.js +6 -6
  28. package/dist/flows/index.jsx +6 -6
  29. package/dist/index/index.d.ts +1 -1
  30. package/dist/index/index.js +7 -7
  31. package/dist/index/index.jsx +7 -7
  32. package/dist/pages/index.d.ts +16 -1
  33. package/dist/pages/index.js +5 -5
  34. package/dist/pages/index.jsx +5 -5
  35. package/dist/stores/index.d.ts +1 -1
  36. package/dist/stores/index.js +2 -2
  37. package/dist/stores/index.jsx +2 -2
  38. package/dist/theme/admin.css +120 -0
  39. package/package.json +1 -1
  40. package/dist/chunk/FFHPVSPW.js.map +0 -1
  41. package/dist/chunk/Z62HCCQ7.js.map +0 -1
@@ -1080,6 +1080,49 @@ var adminApi = {
1080
1080
  last_name: name.lastName
1081
1081
  });
1082
1082
  },
1083
+ /**
1084
+ * Edit any patient field but email. Every field is validated server-side and
1085
+ * mirrored to the prescriber system; `warnings` say what the agent should tell
1086
+ * the patient (an order already at the pharmacy, a new number needing opt-in).
1087
+ */
1088
+ updateCustomerProfile(uid, body) {
1089
+ return patch(`/admin/customers/${uid}`, body);
1090
+ },
1091
+ /** The card the account bills from, and the refused-card count against the hourly limit. */
1092
+ getCustomerCard(uid) {
1093
+ return apiFetch(`/admin/customers/${uid}/card`);
1094
+ },
1095
+ /**
1096
+ * Replace the card on every plan, from a token the agent's browser made. A
1097
+ * refused card throws (402) with the gateway's reason and changes nothing.
1098
+ */
1099
+ replaceCustomerCard(uid, body) {
1100
+ return post(`/admin/customers/${uid}/card`, body);
1101
+ },
1102
+ /** Run a due plan's charge now. A decline throws (402) and is not counted as a missed payment. */
1103
+ chargeSubscriptionNow(id, reason) {
1104
+ return post(`/admin/subscriptions/${id}/charge-now`, reason ? { reason } : {});
1105
+ },
1106
+ /** Whether a cancelled plan can be reactivated, and what to offer. */
1107
+ getReactivation(id) {
1108
+ return apiFetch(`/admin/subscriptions/${id}/reactivation`);
1109
+ },
1110
+ /** Reactivate a cancelled plan. With start 'now', a declined charge throws (402) and nothing changes. */
1111
+ reactivateSubscription(id, body) {
1112
+ return post(`/admin/subscriptions/${id}/reactivate`, body);
1113
+ },
1114
+ /** Whether a text can go to this customer now, and why not. */
1115
+ getContactOptions(uid) {
1116
+ return apiFetch(`/admin/customers/${uid}/contact-options`);
1117
+ },
1118
+ /**
1119
+ * Text or email the customer a link. `url` is the site's page for it (must be
1120
+ * on the tenant's domains); password_reset falls back to the tenant default.
1121
+ * A text that can't go (no consent, opted out) throws (409) saying why.
1122
+ */
1123
+ sendCustomerLink(uid, body) {
1124
+ return post(`/admin/customers/${uid}/send-link`, body);
1125
+ },
1083
1126
  // `redirectUrl` is the absolute URL of the host site's password-reset page;
1084
1127
  // the backend appends `?token=…&email=…` before emailing the customer. When
1085
1128
  // omitted, the backend builds the link from the tenant's configured domains
@@ -1623,5 +1666,5 @@ var affiliatePortalApi = {
1623
1666
  };
1624
1667
 
1625
1668
  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 };
1626
- //# sourceMappingURL=FFHPVSPW.js.map
1627
- //# sourceMappingURL=FFHPVSPW.js.map
1669
+ //# sourceMappingURL=PNQNOYWY.js.map
1670
+ //# sourceMappingURL=PNQNOYWY.js.map