@everfur/sdk 1.5.0 → 1.5.2
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/{bookingCopy.d-BuDv16WP.d.ts → bookingCopy.d-BL2-URcv.d.ts} +3 -2
- package/dist/{bookingCopy.d-rnBSqOSN.d.cts → bookingCopy.d-Dfew1pjY.d.cts} +3 -2
- package/dist/care/index.cjs +2 -2
- package/dist/care/index.js +2 -2
- package/dist/chat/index.cjs +235 -234
- package/dist/chat/index.js +311 -310
- package/dist/chat/lite/index.cjs +339 -338
- package/dist/chat/lite/index.js +314 -313
- package/dist/{chunk-4KFFE42Z.js → chunk-2T5CB5MW.js} +20 -20
- package/dist/{chunk-HHCGXQJR.js → chunk-ASE36WGP.js} +11 -11
- package/dist/{chunk-6IHY7HS7.js → chunk-CMDCBYUH.js} +1 -1
- package/dist/{chunk-BMYNDBUR.js → chunk-K7YHXFPQ.js} +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +1 -1
- package/dist/core/index.cjs +31 -31
- package/dist/core/index.js +31 -31
- package/dist/health-plan/index.cjs +266 -266
- package/dist/health-plan/index.js +443 -443
- package/dist/{inbox.d-DJ9xgU1Z.d.ts → inbox.d-B2JXK0uI.d.ts} +1 -1
- package/dist/{inbox.d-CPcMMz-Y.d.cts → inbox.d-CwA1ogzV.d.cts} +1 -1
- package/dist/index.cjs +257 -256
- package/dist/index.js +364 -363
- package/dist/{models.d-BULqCO2R.d.ts → models.d-NAWqF1wC.d.ts} +4 -1
- package/dist/{models.d-BKmOfoqV.d.cts → models.d-wJ_Ze4p5.d.cts} +4 -1
- package/dist/notifications/inbox/index.cjs +28 -28
- package/dist/notifications/inbox/index.d.cts +5 -5
- package/dist/notifications/inbox/index.d.ts +5 -5
- package/dist/notifications/inbox/index.js +53 -53
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.d.cts +3 -3
- package/dist/notifications/index.d.ts +3 -3
- package/dist/notifications/index.js +1 -1
- package/dist/{parse.d-Cj3fURer.d.ts → parse.d-QjB2LJCd.d.ts} +19 -10
- package/dist/{parse.d-cH7ZmMeo.d.cts → parse.d-_Ttu2h5g.d.cts} +19 -10
- package/dist/records/depth/index.cjs +80 -80
- package/dist/records/depth/index.js +115 -115
- package/dist/records/index.cjs +653 -653
- package/dist/records/index.js +1074 -1074
- package/dist/{route.d-DSYEd2MR.d.ts → route.d-DtuKY5dM.d.ts} +1 -1
- package/dist/{route.d-DCzQh4ix.d.cts → route.d-Nt-r-7IO.d.cts} +1 -1
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1 -1
- package/dist/shop/index.cjs +188 -188
- package/dist/shop/index.js +386 -386
- package/dist/shop/orders-v2/index.cjs +72 -72
- package/dist/shop/orders-v2/index.js +126 -126
- package/dist/tabs/index.cjs +114 -111
- package/dist/tabs/index.d.cts +19 -6
- package/dist/tabs/index.d.ts +19 -6
- package/dist/tabs/index.js +191 -188
- package/dist/televet/booking/index.cjs +214 -212
- package/dist/televet/booking/index.d.cts +2 -2
- package/dist/televet/booking/index.d.ts +2 -2
- package/dist/televet/booking/index.js +344 -342
- package/dist/televet/call/index.cjs +53 -53
- package/dist/televet/call/index.js +67 -67
- package/dist/{useInboxUnread.d-CXiaR3BZ.d.ts → useInboxUnread.d-0DrQPn7J.d.ts} +1 -1
- package/dist/{useInboxUnread.d-DERpMelw.d.cts → useInboxUnread.d-CRcOTkmu.d.cts} +1 -1
- package/dist/web/health-plan/index.cjs +1 -1
- package/dist/web/health-plan/index.js +1 -1
- package/dist/web/inbox/index.cjs +1 -1
- package/dist/web/inbox/index.d.cts +6 -6
- package/dist/web/inbox/index.d.ts +6 -6
- package/dist/web/inbox/index.js +1 -1
- package/dist/web/index.cjs +184 -184
- package/dist/web/index.js +181 -181
- package/dist/web/notifications/index.cjs +1 -1
- package/dist/web/notifications/index.d.cts +2 -2
- package/dist/web/notifications/index.d.ts +2 -2
- package/dist/web/notifications/index.js +1 -1
- package/dist/web/records-sheet/index.cjs +1 -1
- package/dist/web/records-sheet/index.js +1 -1
- package/dist/web/shop/index.cjs +1 -1
- package/dist/web/shop/index.js +2 -2
- package/dist/web/televet/booking/index.cjs +7 -8
- package/dist/web/televet/booking/index.d.cts +2 -2
- package/dist/web/televet/booking/index.d.ts +2 -2
- package/dist/web/televet/booking/index.js +7 -8
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/ui/index.cjs +1 -1
- package/dist/web/ui/index.js +33 -33
- package/package.json +1 -1
package/dist/tabs/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { EverfurRecordsProps } from '@everfur/sdk/records';
|
|
|
5
5
|
import { ReactNode, ComponentType } from 'react';
|
|
6
6
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
7
7
|
import { P as PetRef } from '../ids.d-B2GAAifq.cjs';
|
|
8
|
-
import { b as EverfurInboxOpen } from '../inbox.d-
|
|
8
|
+
import { b as EverfurInboxOpen } from '../inbox.d-CwA1ogzV.cjs';
|
|
9
9
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.cjs';
|
|
10
10
|
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded, I as IntroText } from '../introEvents.d-B7acmGwf.cjs';
|
|
11
11
|
export { c as EVERFUR_INTRO_COPY, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../introEvents.d-B7acmGwf.cjs';
|
|
@@ -17,7 +17,7 @@ import { EverfurInboxSheetProps } from '@everfur/sdk/notifications/inbox';
|
|
|
17
17
|
import { H as HealthPlanPage } from '../focus.d-CLTjm6In.cjs';
|
|
18
18
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../useIntroSeen.d-BHTJ17FU.cjs';
|
|
19
19
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../useIntroSeen.d-BHTJ17FU.cjs';
|
|
20
|
-
import { e as SdkMembership, g as SdkPetLocation, d as SdkLockable, j as SdkSection } from '../models.d-
|
|
20
|
+
import { e as SdkMembership, g as SdkPetLocation, d as SdkLockable, j as SdkSection } from '../models.d-wJ_Ze4p5.cjs';
|
|
21
21
|
import { S as SdkConfigV3 } from '../parse.d-BDZ7ffgj.cjs';
|
|
22
22
|
import { a as SdkConfigSnapshot } from '../sdkConfigStore.d-C2BAr9kI.cjs';
|
|
23
23
|
export { b as SdkConfigStatus } from '../sdkConfigStore.d-C2BAr9kI.cjs';
|
|
@@ -26,7 +26,7 @@ import '../EverfurError.d-8NHtlgzA.cjs';
|
|
|
26
26
|
import '../ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
27
27
|
import '../identity.d-DDpXOtas.cjs';
|
|
28
28
|
import '../config.d-ClAI2RZ6.cjs';
|
|
29
|
-
import '../parse.d-
|
|
29
|
+
import '../parse.d-_Ttu2h5g.cjs';
|
|
30
30
|
import '../visitIntent.d-CY7mrflo.cjs';
|
|
31
31
|
import '../clinicModels.d-BXgKZqDb.cjs';
|
|
32
32
|
import '../models.d-D75NFs32.cjs';
|
|
@@ -316,10 +316,23 @@ interface EverfurSdkHost {
|
|
|
316
316
|
/** Close: the full-screen × and the chat_first down arrow return to the screen the person was on. */
|
|
317
317
|
readonly onClose?: () => void;
|
|
318
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* A request to open a section: the section alone, or with a `key` you change for each new open. A plain section opens
|
|
321
|
+
* when the value changes; with a `key`, asking for the same section again (a second push for Ask after the member moved
|
|
322
|
+
* to Records) opens it again.
|
|
323
|
+
*/
|
|
324
|
+
type EverfurSdkSectionRequest = SdkSection | {
|
|
325
|
+
readonly section: SdkSection;
|
|
326
|
+
readonly key: string | number;
|
|
327
|
+
};
|
|
319
328
|
interface EverfurSdkAppProps {
|
|
320
329
|
readonly host: EverfurSdkHost;
|
|
321
|
-
/**
|
|
322
|
-
|
|
330
|
+
/**
|
|
331
|
+
* Open a section directly (a notification, the host's own link). A changed section is a new open, and so is a changed
|
|
332
|
+
* `key` on `{ section, key }`, even for the section already asked for. Without a v3 config (the legacy tabs) Ask and
|
|
333
|
+
* Records open the same way; Vet has no legacy tab and opens nothing there.
|
|
334
|
+
*/
|
|
335
|
+
readonly section?: EverfurSdkSectionRequest;
|
|
323
336
|
/** The section on screen changed. */
|
|
324
337
|
readonly onSectionChange?: (section: SdkSection) => void;
|
|
325
338
|
/** Extra props for the chat, under the config's own (the config's look and words win). */
|
|
@@ -382,4 +395,4 @@ interface EverfurSvgModule {
|
|
|
382
395
|
*/
|
|
383
396
|
declare function registerEverfurSvg(load: (() => unknown) | null): boolean;
|
|
384
397
|
|
|
385
|
-
export { EVERFUR_TABS_SHELL_COPY, EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurSdkApp, type EverfurSdkAppProps, type EverfurSdkHost, EverfurSdkLauncher, type EverfurSdkLauncherProps, type EverfurSdkPartnerItem, type EverfurSdkPet, type EverfurSdkPlanReason, type EverfurSvgModule, type EverfurSvgUriProps, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsHeader, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, type EverfurTabsShellCopy, IntroText, RECORDS_BANNER_MS, SdkConfigSnapshot, registerEverfurSvg, useEverfurSdkConfig, useEverfurTabs, useLoadEverfurSdkConfig };
|
|
398
|
+
export { EVERFUR_TABS_SHELL_COPY, EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurSdkApp, type EverfurSdkAppProps, type EverfurSdkHost, EverfurSdkLauncher, type EverfurSdkLauncherProps, type EverfurSdkPartnerItem, type EverfurSdkPet, type EverfurSdkPlanReason, type EverfurSdkSectionRequest, type EverfurSvgModule, type EverfurSvgUriProps, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsHeader, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, type EverfurTabsShellCopy, IntroText, RECORDS_BANNER_MS, SdkConfigSnapshot, registerEverfurSvg, useEverfurSdkConfig, useEverfurTabs, useLoadEverfurSdkConfig };
|
package/dist/tabs/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { EverfurRecordsProps } from '@everfur/sdk/records';
|
|
|
5
5
|
import { ReactNode, ComponentType } from 'react';
|
|
6
6
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
7
7
|
import { P as PetRef } from '../ids.d-B2GAAifq.js';
|
|
8
|
-
import { b as EverfurInboxOpen } from '../inbox.d-
|
|
8
|
+
import { b as EverfurInboxOpen } from '../inbox.d-B2JXK0uI.js';
|
|
9
9
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.js';
|
|
10
10
|
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded, I as IntroText } from '../introEvents.d-DW3gLljE.js';
|
|
11
11
|
export { c as EVERFUR_INTRO_COPY, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../introEvents.d-DW3gLljE.js';
|
|
@@ -17,7 +17,7 @@ import { EverfurInboxSheetProps } from '@everfur/sdk/notifications/inbox';
|
|
|
17
17
|
import { H as HealthPlanPage } from '../focus.d-u-HYvim0.js';
|
|
18
18
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../useIntroSeen.d-BHTJ17FU.js';
|
|
19
19
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../useIntroSeen.d-BHTJ17FU.js';
|
|
20
|
-
import { e as SdkMembership, g as SdkPetLocation, d as SdkLockable, j as SdkSection } from '../models.d-
|
|
20
|
+
import { e as SdkMembership, g as SdkPetLocation, d as SdkLockable, j as SdkSection } from '../models.d-NAWqF1wC.js';
|
|
21
21
|
import { S as SdkConfigV3 } from '../parse.d-BDZ7ffgj.js';
|
|
22
22
|
import { a as SdkConfigSnapshot } from '../sdkConfigStore.d-BNCVVEWC.js';
|
|
23
23
|
export { b as SdkConfigStatus } from '../sdkConfigStore.d-BNCVVEWC.js';
|
|
@@ -26,7 +26,7 @@ import '../EverfurError.d-8NHtlgzA.js';
|
|
|
26
26
|
import '../ErrorPolicyPort.d-BnI5qWg4.js';
|
|
27
27
|
import '../identity.d-D4VtpqRr.js';
|
|
28
28
|
import '../config.d-B7Z-KTGq.js';
|
|
29
|
-
import '../parse.d-
|
|
29
|
+
import '../parse.d-QjB2LJCd.js';
|
|
30
30
|
import '../visitIntent.d-CY7mrflo.js';
|
|
31
31
|
import '../clinicModels.d-CaS64-P-.js';
|
|
32
32
|
import '../models.d-C7d9Li6n.js';
|
|
@@ -316,10 +316,23 @@ interface EverfurSdkHost {
|
|
|
316
316
|
/** Close: the full-screen × and the chat_first down arrow return to the screen the person was on. */
|
|
317
317
|
readonly onClose?: () => void;
|
|
318
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* A request to open a section: the section alone, or with a `key` you change for each new open. A plain section opens
|
|
321
|
+
* when the value changes; with a `key`, asking for the same section again (a second push for Ask after the member moved
|
|
322
|
+
* to Records) opens it again.
|
|
323
|
+
*/
|
|
324
|
+
type EverfurSdkSectionRequest = SdkSection | {
|
|
325
|
+
readonly section: SdkSection;
|
|
326
|
+
readonly key: string | number;
|
|
327
|
+
};
|
|
319
328
|
interface EverfurSdkAppProps {
|
|
320
329
|
readonly host: EverfurSdkHost;
|
|
321
|
-
/**
|
|
322
|
-
|
|
330
|
+
/**
|
|
331
|
+
* Open a section directly (a notification, the host's own link). A changed section is a new open, and so is a changed
|
|
332
|
+
* `key` on `{ section, key }`, even for the section already asked for. Without a v3 config (the legacy tabs) Ask and
|
|
333
|
+
* Records open the same way; Vet has no legacy tab and opens nothing there.
|
|
334
|
+
*/
|
|
335
|
+
readonly section?: EverfurSdkSectionRequest;
|
|
323
336
|
/** The section on screen changed. */
|
|
324
337
|
readonly onSectionChange?: (section: SdkSection) => void;
|
|
325
338
|
/** Extra props for the chat, under the config's own (the config's look and words win). */
|
|
@@ -382,4 +395,4 @@ interface EverfurSvgModule {
|
|
|
382
395
|
*/
|
|
383
396
|
declare function registerEverfurSvg(load: (() => unknown) | null): boolean;
|
|
384
397
|
|
|
385
|
-
export { EVERFUR_TABS_SHELL_COPY, EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurSdkApp, type EverfurSdkAppProps, type EverfurSdkHost, EverfurSdkLauncher, type EverfurSdkLauncherProps, type EverfurSdkPartnerItem, type EverfurSdkPet, type EverfurSdkPlanReason, type EverfurSvgModule, type EverfurSvgUriProps, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsHeader, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, type EverfurTabsShellCopy, IntroText, RECORDS_BANNER_MS, SdkConfigSnapshot, registerEverfurSvg, useEverfurSdkConfig, useEverfurTabs, useLoadEverfurSdkConfig };
|
|
398
|
+
export { EVERFUR_TABS_SHELL_COPY, EverfurChatOpeningCard, EverfurIntro, EverfurIntroBlank, EverfurIntroClose, EverfurIntroCopy, EverfurIntroFrame, EverfurIntroMode, type EverfurIntroProps, type EverfurIntroTabBar, EverfurIntroTabLabels, EverfurRecordsLanded, EverfurRecordsLandedBanner, type EverfurRecordsLandedBannerProps, EverfurRecordsRequested, EverfurSdkApp, type EverfurSdkAppProps, type EverfurSdkHost, EverfurSdkLauncher, type EverfurSdkLauncherProps, type EverfurSdkPartnerItem, type EverfurSdkPet, type EverfurSdkPlanReason, type EverfurSdkSectionRequest, type EverfurSvgModule, type EverfurSvgUriProps, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsHeader, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, type EverfurTabsShellCopy, IntroText, RECORDS_BANNER_MS, SdkConfigSnapshot, registerEverfurSvg, useEverfurSdkConfig, useEverfurTabs, useLoadEverfurSdkConfig };
|