@everfur/sdk 0.5.4 → 0.5.6

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 (105) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/README.md +8 -8
  3. package/dist/{Chat-Dfjegpf2.d.cts → Chat-CTaTvrqS.d.cts} +20 -3
  4. package/dist/{Chat-DXDS-MiC.d.ts → Chat-Cx1uzrA-.d.ts} +20 -3
  5. package/dist/{DepthViews-ru9SaVXz.d.ts → DepthViews-BHYIBGnp.d.ts} +1 -1
  6. package/dist/{DepthViews-BhBA6qiu.d.cts → DepthViews-DlbKAz68.d.cts} +1 -1
  7. package/dist/{DepthViews-meuqwdBv.d.cts → DepthViews-DzQzEExo.d.cts} +1 -1
  8. package/dist/{DepthViews-DFODLIM2.d.ts → DepthViews-ur07Hq_P.d.ts} +1 -1
  9. package/dist/animations/index.d.cts +3 -3
  10. package/dist/animations/index.d.ts +3 -3
  11. package/dist/{attachments-DN0VDOBG.d.cts → attachments-6hmoUkvy.d.cts} +5 -5
  12. package/dist/{attachments-D3i4WG5V.d.ts → attachments-B_GAqTjr.d.ts} +2 -2
  13. package/dist/{attachments-hAjG4YGo.d.cts → attachments-KztjuqEm.d.cts} +2 -2
  14. package/dist/{attachments-Cnz4Zqxq.d.ts → attachments-wmvixnyA.d.ts} +5 -5
  15. package/dist/{bookingCopy-DP3k0iBn.d.cts → bookingCopy-BKSeqMDM.d.cts} +2 -2
  16. package/dist/{bookingCopy-Bu1pMPh1.d.ts → bookingCopy-CqWo_GyT.d.ts} +2 -2
  17. package/dist/{casesRepository-Bf8QDDPM.d.ts → casesRepository-B7Ah6oSZ.d.ts} +1 -1
  18. package/dist/{casesRepository-BIV6eQxW.d.cts → casesRepository-BDeWO1yJ.d.cts} +1 -1
  19. package/dist/chat/index.cjs +1 -1
  20. package/dist/chat/index.d.cts +9 -9
  21. package/dist/chat/index.d.ts +9 -9
  22. package/dist/chat/index.js +1 -1
  23. package/dist/client/index.cjs +2 -2
  24. package/dist/client/index.d.cts +6 -6
  25. package/dist/client/index.d.ts +6 -6
  26. package/dist/client/index.js +2 -2
  27. package/dist/{config-3jJR8fVC.d.cts → config--kkZJez-.d.cts} +1 -1
  28. package/dist/{config-FhlcRHRe.d.ts → config-rIHi30JL.d.ts} +1 -1
  29. package/dist/consent/index.d.cts +5 -5
  30. package/dist/consent/index.d.ts +5 -5
  31. package/dist/{context-BqfAkCov.d.ts → context-BS10sSPF.d.ts} +5 -5
  32. package/dist/{context-BVGuiYob.d.cts → context-rU61RLs9.d.cts} +5 -5
  33. package/dist/{copy-DBbgO9g4.d.cts → copy-Cm1q62aL.d.cts} +2 -2
  34. package/dist/{copy-BDfIOo5Z.d.ts → copy-DrKn5IgK.d.ts} +2 -2
  35. package/dist/core/index.cjs +7 -7
  36. package/dist/core/index.d.cts +15 -13
  37. package/dist/core/index.d.ts +15 -13
  38. package/dist/core/index.js +7 -7
  39. package/dist/{depth-Cwmumplg.d.cts → depth-Dv2UlD9y.d.cts} +2 -2
  40. package/dist/{depth-VpVaDj5I.d.ts → depth-oWtASKxN.d.ts} +2 -2
  41. package/dist/{entitlementRepository-Cys2DfuQ.d.ts → entitlementRepository-B1Fm5AA4.d.ts} +9 -2
  42. package/dist/{entitlementRepository-CCIj0Z0c.d.cts → entitlementRepository-DWHjARFl.d.cts} +9 -2
  43. package/dist/{identity-DkVFMcyL.d.cts → identity-CiVwtY6G.d.cts} +1 -1
  44. package/dist/{identity-BMPu-Kg6.d.ts → identity-p2Z0zYj_.d.ts} +1 -1
  45. package/dist/index.cjs +6 -6
  46. package/dist/index.d.cts +12 -12
  47. package/dist/index.d.ts +12 -12
  48. package/dist/index.js +6 -6
  49. package/dist/notifications/index.d.cts +2 -2
  50. package/dist/notifications/index.d.ts +2 -2
  51. package/dist/{pets-BCgVJlJD.d.ts → pets-DdL6yobd.d.ts} +1 -1
  52. package/dist/{pets-B6QnvZi2.d.cts → pets-vEwYZ_T8.d.cts} +1 -1
  53. package/dist/{petsRepository-CwIyiIvt.d.cts → petsRepository-BttHgj7K.d.cts} +1 -1
  54. package/dist/{petsRepository-I9vZvRpE.d.ts → petsRepository-z1qI9CxD.d.ts} +1 -1
  55. package/dist/{ports-BtrM61nV.d.ts → ports-BYiZ0blT.d.ts} +4 -4
  56. package/dist/{ports-D0DaSL3j.d.cts → ports-BaFPnkNc.d.cts} +4 -4
  57. package/dist/records/depth/index.d.cts +7 -7
  58. package/dist/records/depth/index.d.ts +7 -7
  59. package/dist/records/index.d.cts +9 -9
  60. package/dist/records/index.d.ts +9 -9
  61. package/dist/{requestFunnel-CR8wGfpV.d.cts → requestFunnel-D4vmhvg3.d.cts} +2 -2
  62. package/dist/{requestFunnel-C1Fp7waD.d.ts → requestFunnel-DWuQPb2z.d.ts} +2 -2
  63. package/dist/{runtimeTypes-BCXujmD6.d.cts → runtimeTypes-BBTiRo2s.d.cts} +12 -4
  64. package/dist/{runtimeTypes-CuwgMArF.d.ts → runtimeTypes-GWyTWcAh.d.ts} +12 -4
  65. package/dist/server/events/index.cjs +1 -1
  66. package/dist/server/events/index.d.cts +2 -2
  67. package/dist/server/events/index.d.ts +2 -2
  68. package/dist/server/events/index.js +1 -1
  69. package/dist/server/index.cjs +2 -2
  70. package/dist/server/index.d.cts +3 -3
  71. package/dist/server/index.d.ts +3 -3
  72. package/dist/server/index.js +2 -2
  73. package/dist/televet/booking/index.cjs +1 -1
  74. package/dist/televet/booking/index.d.cts +6 -6
  75. package/dist/televet/booking/index.d.ts +6 -6
  76. package/dist/televet/booking/index.js +1 -1
  77. package/dist/testing/index.d.cts +1 -1
  78. package/dist/testing/index.d.ts +1 -1
  79. package/dist/testing/rn/index.d.cts +7 -7
  80. package/dist/testing/rn/index.d.ts +7 -7
  81. package/dist/testing/web/index.d.cts +7 -7
  82. package/dist/testing/web/index.d.ts +7 -7
  83. package/dist/{timelineRows-DFmwWHyj.d.ts → timelineRows-A_oiZIEc.d.ts} +1 -1
  84. package/dist/{timelineRows-EaAqBcX2.d.cts → timelineRows-r1GNQvDK.d.cts} +1 -1
  85. package/dist/{useRecordsDepth-Bo2d27fm.d.ts → useRecordsDepth-CINiIa4K.d.ts} +1 -1
  86. package/dist/{useRecordsDepth-DgQrho7p.d.cts → useRecordsDepth-CIUHwHh6.d.cts} +1 -1
  87. package/dist/{view-DwYhyFC2.d.cts → view-2jP--TYM.d.cts} +2 -2
  88. package/dist/{view-DGIjZtq8.d.ts → view-DAFHeTle.d.ts} +2 -2
  89. package/dist/web/consent/index.d.cts +5 -5
  90. package/dist/web/consent/index.d.ts +5 -5
  91. package/dist/web/index.cjs +7 -7
  92. package/dist/web/index.d.cts +14 -14
  93. package/dist/web/index.d.ts +14 -14
  94. package/dist/web/index.js +7 -7
  95. package/dist/web/notifications/index.d.cts +3 -3
  96. package/dist/web/notifications/index.d.ts +3 -3
  97. package/dist/web/records/depth/index.d.cts +7 -7
  98. package/dist/web/records/depth/index.d.ts +7 -7
  99. package/dist/web/records/index.d.cts +9 -9
  100. package/dist/web/records/index.d.ts +9 -9
  101. package/dist/web/televet/booking/index.cjs +2 -2
  102. package/dist/web/televet/booking/index.d.cts +6 -6
  103. package/dist/web/televet/booking/index.d.ts +6 -6
  104. package/dist/web/televet/booking/index.js +2 -2
  105. package/package.json +5 -4
@@ -1,7 +1,7 @@
1
1
  import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
2
2
  import { P as PetRef } from './ids-B2GAAifq.cjs';
3
- import { R as RequestFunnel } from './requestFunnel-CR8wGfpV.cjs';
4
- import { A as AuthContext } from './identity-DkVFMcyL.cjs';
3
+ import { R as RequestFunnel } from './requestFunnel-D4vmhvg3.cjs';
4
+ import { A as AuthContext } from './identity-CiVwtY6G.cjs';
5
5
  import { E as ErrorPolicyPort } from './ErrorPolicyPort-D6CybiqJ.cjs';
6
6
  import { d as RecordsRequestView, R as RecordDocumentMeta, a as RecordEntity } from './models-Bn2z0NNo.cjs';
7
7
  import { E as EverfurError } from './EverfurError-DmELDpXp.cjs';
@@ -1,7 +1,7 @@
1
1
  import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
2
2
  import { P as PetRef } from './ids-B2GAAifq.js';
3
- import { R as RequestFunnel } from './requestFunnel-C1Fp7waD.js';
4
- import { A as AuthContext } from './identity-BMPu-Kg6.js';
3
+ import { R as RequestFunnel } from './requestFunnel-DWuQPb2z.js';
4
+ import { A as AuthContext } from './identity-p2Z0zYj_.js';
5
5
  import { E as ErrorPolicyPort } from './ErrorPolicyPort-D22LUVrK.js';
6
6
  import { d as RecordsRequestView, R as RecordDocumentMeta, a as RecordEntity } from './models-DSqA5Ahs.js';
7
7
  import { E as EverfurError } from './EverfurError-DmELDpXp.js';
@@ -1,6 +1,6 @@
1
1
  import { E as EverfurError } from './EverfurError-DmELDpXp.js';
2
- import { R as RequestFunnel } from './requestFunnel-C1Fp7waD.js';
3
- import { A as AuthContext } from './identity-BMPu-Kg6.js';
2
+ import { R as RequestFunnel } from './requestFunnel-DWuQPb2z.js';
3
+ import { A as AuthContext } from './identity-p2Z0zYj_.js';
4
4
  import { C as ClientBranding } from './branding-xpQ056sM.js';
5
5
  import { E as EntitlementDecision } from './resolve-D4Ywz5OS.js';
6
6
 
@@ -22,6 +22,13 @@ type EntitlementResolution = {
22
22
  * hand-built resolution (tests / injected resolve) need not supply it.
23
23
  */
24
24
  readonly branding?: ClientBranding | null;
25
+ /**
26
+ * The TENANT's `livemode` from the same body: false only for the literal JSON `false` the server writes for
27
+ * a sandbox tenant (EFBackend `verdict.py`, `livemode=not context.is_sandbox`, read from the tenant's own
28
+ * immutable row, never from anything the caller sends). Absent or any other value reads as LIVE, the safe
29
+ * side. OPTIONAL so a hand-built resolution need not supply it; absent there is live too.
30
+ */
31
+ readonly livemode?: boolean;
25
32
  } | {
26
33
  readonly kind: 'notModified';
27
34
  } | {
@@ -1,6 +1,6 @@
1
1
  import { E as EverfurError } from './EverfurError-DmELDpXp.cjs';
2
- import { R as RequestFunnel } from './requestFunnel-CR8wGfpV.cjs';
3
- import { A as AuthContext } from './identity-DkVFMcyL.cjs';
2
+ import { R as RequestFunnel } from './requestFunnel-D4vmhvg3.cjs';
3
+ import { A as AuthContext } from './identity-CiVwtY6G.cjs';
4
4
  import { C as ClientBranding } from './branding-Xb_wL8N1.cjs';
5
5
  import { E as EntitlementDecision } from './resolve-D4Ywz5OS.cjs';
6
6
 
@@ -22,6 +22,13 @@ type EntitlementResolution = {
22
22
  * hand-built resolution (tests / injected resolve) need not supply it.
23
23
  */
24
24
  readonly branding?: ClientBranding | null;
25
+ /**
26
+ * The TENANT's `livemode` from the same body: false only for the literal JSON `false` the server writes for
27
+ * a sandbox tenant (EFBackend `verdict.py`, `livemode=not context.is_sandbox`, read from the tenant's own
28
+ * immutable row, never from anything the caller sends). Absent or any other value reads as LIVE, the safe
29
+ * side. OPTIONAL so a hand-built resolution need not supply it; absent there is live too.
30
+ */
31
+ readonly livemode?: boolean;
25
32
  } | {
26
33
  readonly kind: 'notModified';
27
34
  } | {
@@ -1,6 +1,6 @@
1
1
  import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
2
2
  import { U as UserRef } from './ids-B2GAAifq.cjs';
3
- import { T as TransportPort, d as EverfurRequest } from './config-3jJR8fVC.cjs';
3
+ import { T as TransportPort, d as EverfurRequest } from './config--kkZJez-.cjs';
4
4
 
5
5
  /**
6
6
  * A minted session token with the expiry the minter knows. `expiresAt` is what `mintPartnerSession` returns
@@ -1,6 +1,6 @@
1
1
  import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
2
2
  import { U as UserRef } from './ids-B2GAAifq.js';
3
- import { T as TransportPort, d as EverfurRequest } from './config-FhlcRHRe.js';
3
+ import { T as TransportPort, d as EverfurRequest } from './config-rIHi30JL.js';
4
4
 
5
5
  /**
6
6
  * A minted session token with the expiry the minter knows. `expiresAt` is what `mintPartnerSession` returns