@apextelemed/partner-core 0.7.0 → 0.9.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 +1 -1
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +5 -3
- package/dist/chunk/{4SFB2SS2.jsx → 33QXG46Z.jsx} +2 -2
- package/dist/chunk/{J3IRPONP.js → 35C2PAUI.js} +143 -10
- package/dist/chunk/35C2PAUI.js.map +1 -0
- package/dist/chunk/{J3OK2PQA.js → 65LD7XAZ.js} +3 -3
- package/dist/chunk/{J3OK2PQA.js.map → 65LD7XAZ.js.map} +1 -1
- package/dist/chunk/{UPZPR5TU.js → 75B7QHIN.js} +32 -7
- package/dist/chunk/75B7QHIN.js.map +1 -0
- package/dist/chunk/{64RJJFEH.js → AJR7CBZ3.js} +3 -3
- package/dist/chunk/{64RJJFEH.js.map → AJR7CBZ3.js.map} +1 -1
- package/dist/chunk/{SHXH72AC.jsx → C7RXQWXM.jsx} +24 -5
- package/dist/chunk/{CBOGAYTL.jsx → DEDIHIWD.jsx} +2 -2
- package/dist/chunk/{7AMVRNYX.jsx → IYLVDYRI.jsx} +1591 -819
- package/dist/chunk/{KXO4U2C6.js → JOX6EJMB.js} +23 -6
- package/dist/chunk/JOX6EJMB.js.map +1 -0
- package/dist/chunk/{F34QLV7Z.js → MCSS436N.js} +1816 -754
- package/dist/chunk/MCSS436N.js.map +1 -0
- package/dist/chunk/{4S4MTN2K.jsx → MUEGVUP2.jsx} +2 -2
- package/dist/chunk/{7AFUT5S3.jsx → NTYUIUQO.jsx} +31 -5
- package/dist/chunk/{PA66KUAU.jsx → VKSLQCMA.jsx} +251 -110
- package/dist/chunk/{GODF2NJN.js → Y2VD7NYA.js} +3 -3
- package/dist/chunk/{GODF2NJN.js.map → Y2VD7NYA.js.map} +1 -1
- package/dist/{client-CiHb-dIf.d.ts → client-RY9ghN5Q.d.ts} +80 -5
- package/dist/flows/index.d.ts +91 -7
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +12 -6
- package/dist/index/index.d.ts +2 -2
- package/dist/index/index.js +7 -7
- package/dist/index/index.jsx +15 -7
- 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 +262 -0
- package/package.json +4 -1
- package/dist/chunk/F34QLV7Z.js.map +0 -1
- package/dist/chunk/J3IRPONP.js.map +0 -1
- package/dist/chunk/KXO4U2C6.js.map +0 -1
- package/dist/chunk/UPZPR5TU.js.map +0 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
setAffiliateTokens,
|
|
13
13
|
setTokens,
|
|
14
14
|
usersApi
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./NTYUIUQO.jsx";
|
|
16
16
|
import {
|
|
17
17
|
getConfig,
|
|
18
18
|
onConfigured
|
|
@@ -414,4 +414,4 @@ export {
|
|
|
414
414
|
affiliateAuth_default,
|
|
415
415
|
medication_default
|
|
416
416
|
};
|
|
417
|
-
//# sourceMappingURL=
|
|
417
|
+
//# sourceMappingURL=MUEGVUP2.jsx.map
|
|
@@ -545,6 +545,14 @@ var apexApi = {
|
|
|
545
545
|
return post("/apex/requests", payload, { idempotencyKey: opts?.idempotencyKey });
|
|
546
546
|
}
|
|
547
547
|
};
|
|
548
|
+
var catalogApi = {
|
|
549
|
+
availability(ids, state) {
|
|
550
|
+
return apiFetch(
|
|
551
|
+
`/apex/catalog/availability${qs({ ids: ids.join(","), state })}`,
|
|
552
|
+
{ skipAuth: true }
|
|
553
|
+
);
|
|
554
|
+
}
|
|
555
|
+
};
|
|
548
556
|
var addressesApi = {
|
|
549
557
|
/** Server-side US address deliverability check (Shippo). Fails open: the
|
|
550
558
|
* backend returns `unchecked` when unconfigured/unreachable, never an error. */
|
|
@@ -913,14 +921,16 @@ var adminApi = {
|
|
|
913
921
|
getWebhookEvents(params) {
|
|
914
922
|
return apiFetch(`/admin/webhook-events${qs(params)}`);
|
|
915
923
|
},
|
|
924
|
+
// The email-template calls use the backend's `format=body` shape: one HTML
|
|
925
|
+
// `body` per template rather than greeting / paragraphs / closing.
|
|
916
926
|
getEmailTemplates() {
|
|
917
|
-
return apiFetch("/admin/settings/email-templates");
|
|
927
|
+
return apiFetch("/admin/settings/email-templates?format=body");
|
|
918
928
|
},
|
|
919
929
|
createCustomTemplate(input) {
|
|
920
|
-
return post("/admin/settings/email-templates/custom", input);
|
|
930
|
+
return post("/admin/settings/email-templates/custom?format=body", input);
|
|
921
931
|
},
|
|
922
932
|
updateCustomTemplate(id, input) {
|
|
923
|
-
return put(`/admin/settings/email-templates/custom/${id}`, input);
|
|
933
|
+
return put(`/admin/settings/email-templates/custom/${id}?format=body`, input);
|
|
924
934
|
},
|
|
925
935
|
/** Rejects with the server's message (409) while a sequence still uses it. */
|
|
926
936
|
deleteCustomTemplate(id) {
|
|
@@ -933,11 +943,26 @@ var adminApi = {
|
|
|
933
943
|
return put("/admin/settings/email-templates", { templates });
|
|
934
944
|
},
|
|
935
945
|
resetEmailTemplate(templateKey) {
|
|
936
|
-
return post("/admin/settings/email-templates/reset", { templateKey });
|
|
946
|
+
return post("/admin/settings/email-templates/reset?format=body", { templateKey });
|
|
937
947
|
},
|
|
938
948
|
sendTestEmail(templateKey) {
|
|
939
949
|
return post("/admin/settings/email-templates/test", { templateKey });
|
|
940
950
|
},
|
|
951
|
+
/** Every optional feature of this tenant, with its state and any pending request. */
|
|
952
|
+
getFeatures() {
|
|
953
|
+
return apiFetch("/admin/features");
|
|
954
|
+
},
|
|
955
|
+
/** Switch a self-serve feature. Returns the whole list: dependents can change with it. */
|
|
956
|
+
setFeature(key, enabled) {
|
|
957
|
+
return put(`/admin/features/${encodeURIComponent(key)}`, { enabled });
|
|
958
|
+
},
|
|
959
|
+
/** Ask the platform team to turn a feature on. `emailed` is false when the ask was saved but no email went out. */
|
|
960
|
+
requestFeature(key, note) {
|
|
961
|
+
return post(
|
|
962
|
+
`/admin/features/${encodeURIComponent(key)}/request`,
|
|
963
|
+
note ? { note } : {}
|
|
964
|
+
);
|
|
965
|
+
},
|
|
941
966
|
getEmailNotifications() {
|
|
942
967
|
return apiFetch("/admin/settings/email-notifications");
|
|
943
968
|
},
|
|
@@ -1313,6 +1338,7 @@ export {
|
|
|
1313
1338
|
apiFetch,
|
|
1314
1339
|
authApi,
|
|
1315
1340
|
apexApi,
|
|
1341
|
+
catalogApi,
|
|
1316
1342
|
addressesApi,
|
|
1317
1343
|
paymentsApi,
|
|
1318
1344
|
subscriptionsApi,
|
|
@@ -1333,4 +1359,4 @@ export {
|
|
|
1333
1359
|
clearAffiliateTokens,
|
|
1334
1360
|
affiliatePortalApi
|
|
1335
1361
|
};
|
|
1336
|
-
//# sourceMappingURL=
|
|
1362
|
+
//# sourceMappingURL=NTYUIUQO.jsx.map
|