@everfur/sdk 1.5.1 → 1.5.3

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 (101) hide show
  1. package/dist/{bookingCopy.d-BL2-URcv.d.ts → bookingCopy.d-Bn8bdo89.d.ts} +4 -4
  2. package/dist/{bookingCopy.d-Dfew1pjY.d.cts → bookingCopy.d-Dg7bPM-U.d.cts} +4 -4
  3. package/dist/care/index.cjs +2 -2
  4. package/dist/care/index.js +2 -2
  5. package/dist/chat/index.cjs +235 -234
  6. package/dist/chat/index.js +311 -310
  7. package/dist/chat/lite/index.cjs +339 -338
  8. package/dist/chat/lite/index.js +314 -313
  9. package/dist/{chunk-ZYHPCQVM.js → chunk-CFEHTNKX.js} +1 -1
  10. package/dist/{chunk-NBAOR5TJ.js → chunk-OU5RMGKD.js} +21 -21
  11. package/dist/{chunk-RD6ZGYEJ.js → chunk-XGF2HYNN.js} +16 -16
  12. package/dist/{chunk-IO4CGYHT.js → chunk-ZGL2GEEI.js} +1 -1
  13. package/dist/client/index.cjs +1 -1
  14. package/dist/client/index.d.cts +1 -1
  15. package/dist/client/index.d.ts +1 -1
  16. package/dist/client/index.js +1 -1
  17. package/dist/core/index.cjs +31 -31
  18. package/dist/core/index.js +31 -31
  19. package/dist/health-plan/index.cjs +266 -266
  20. package/dist/health-plan/index.js +443 -443
  21. package/dist/{idempotency.d-dOFfV91-.d.ts → idempotency.d-CbB07p64.d.ts} +10 -8
  22. package/dist/{idempotency.d-CFVMhWcv.d.cts → idempotency.d-DrxKLPPe.d.cts} +10 -8
  23. package/dist/{inbox.d-DJ9xgU1Z.d.ts → inbox.d-B2JXK0uI.d.ts} +1 -1
  24. package/dist/{inbox.d-CPcMMz-Y.d.cts → inbox.d-CwA1ogzV.d.cts} +1 -1
  25. package/dist/index.cjs +257 -256
  26. package/dist/index.js +364 -363
  27. package/dist/notifications/inbox/index.cjs +28 -28
  28. package/dist/notifications/inbox/index.d.cts +5 -5
  29. package/dist/notifications/inbox/index.d.ts +5 -5
  30. package/dist/notifications/inbox/index.js +53 -53
  31. package/dist/notifications/index.cjs +1 -1
  32. package/dist/notifications/index.d.cts +3 -3
  33. package/dist/notifications/index.d.ts +3 -3
  34. package/dist/notifications/index.js +1 -1
  35. package/dist/{optInView.d-ByDJMrMv.d.cts → optInView.d-ChJyJMBA.d.cts} +4 -1
  36. package/dist/{optInView.d-DVshLxbD.d.ts → optInView.d-Cps7aLQN.d.ts} +4 -1
  37. package/dist/{parse.d-Cj3fURer.d.ts → parse.d-QjB2LJCd.d.ts} +19 -10
  38. package/dist/{parse.d-cH7ZmMeo.d.cts → parse.d-_Ttu2h5g.d.cts} +19 -10
  39. package/dist/records/depth/index.cjs +80 -80
  40. package/dist/records/depth/index.js +115 -115
  41. package/dist/records/index.cjs +653 -653
  42. package/dist/records/index.js +1074 -1074
  43. package/dist/{route.d-DSYEd2MR.d.ts → route.d-DtuKY5dM.d.ts} +1 -1
  44. package/dist/{route.d-DCzQh4ix.d.cts → route.d-Nt-r-7IO.d.cts} +1 -1
  45. package/dist/server/events/index.cjs +1 -1
  46. package/dist/server/events/index.js +1 -1
  47. package/dist/server/index.cjs +1 -1
  48. package/dist/server/index.js +1 -1
  49. package/dist/shop/index.cjs +188 -188
  50. package/dist/shop/index.d.cts +2 -2
  51. package/dist/shop/index.d.ts +2 -2
  52. package/dist/shop/index.js +386 -386
  53. package/dist/shop/orders-v2/index.cjs +72 -72
  54. package/dist/shop/orders-v2/index.js +126 -126
  55. package/dist/tabs/index.cjs +114 -111
  56. package/dist/tabs/index.d.cts +18 -5
  57. package/dist/tabs/index.d.ts +18 -5
  58. package/dist/tabs/index.js +191 -188
  59. package/dist/televet/booking/index.cjs +214 -211
  60. package/dist/televet/booking/index.d.cts +2 -2
  61. package/dist/televet/booking/index.d.ts +2 -2
  62. package/dist/televet/booking/index.js +344 -341
  63. package/dist/televet/call/index.cjs +53 -53
  64. package/dist/televet/call/index.js +67 -67
  65. package/dist/texting/index.cjs +8 -8
  66. package/dist/texting/index.d.cts +2 -2
  67. package/dist/texting/index.d.ts +2 -2
  68. package/dist/texting/index.js +8 -8
  69. package/dist/{useInboxUnread.d-CXiaR3BZ.d.ts → useInboxUnread.d-0DrQPn7J.d.ts} +1 -1
  70. package/dist/{useInboxUnread.d-DERpMelw.d.cts → useInboxUnread.d-CRcOTkmu.d.cts} +1 -1
  71. package/dist/web/health-plan/index.cjs +1 -1
  72. package/dist/web/health-plan/index.js +1 -1
  73. package/dist/web/inbox/index.cjs +1 -1
  74. package/dist/web/inbox/index.d.cts +6 -6
  75. package/dist/web/inbox/index.d.ts +6 -6
  76. package/dist/web/inbox/index.js +1 -1
  77. package/dist/web/index.cjs +184 -184
  78. package/dist/web/index.js +181 -181
  79. package/dist/web/notifications/index.cjs +1 -1
  80. package/dist/web/notifications/index.d.cts +2 -2
  81. package/dist/web/notifications/index.d.ts +2 -2
  82. package/dist/web/notifications/index.js +1 -1
  83. package/dist/web/records-sheet/index.cjs +1 -1
  84. package/dist/web/records-sheet/index.js +1 -1
  85. package/dist/web/shop/index.cjs +2 -2
  86. package/dist/web/shop/index.d.cts +2 -2
  87. package/dist/web/shop/index.d.ts +2 -2
  88. package/dist/web/shop/index.js +3 -3
  89. package/dist/web/televet/booking/index.cjs +185 -185
  90. package/dist/web/televet/booking/index.d.cts +2 -2
  91. package/dist/web/televet/booking/index.d.ts +2 -2
  92. package/dist/web/televet/booking/index.js +185 -185
  93. package/dist/web/televet/call/index.cjs +1 -1
  94. package/dist/web/televet/call/index.js +1 -1
  95. package/dist/web/texting/index.cjs +3 -4
  96. package/dist/web/texting/index.d.cts +2 -2
  97. package/dist/web/texting/index.d.ts +2 -2
  98. package/dist/web/texting/index.js +3 -4
  99. package/dist/web/ui/index.cjs +1 -1
  100. package/dist/web/ui/index.js +33 -33
  101. package/package.json +1 -1
@@ -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-CPcMMz-Y.cjs';
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';
@@ -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-cH7ZmMeo.cjs';
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
- /** Open a section directly (a notification, the host's own link). A new value is a new open. */
322
- readonly section?: SdkSection;
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 };
@@ -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-DJ9xgU1Z.js';
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';
@@ -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-Cj3fURer.js';
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
- /** Open a section directly (a notification, the host's own link). A new value is a new open. */
322
- readonly section?: SdkSection;
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 };