@everfur/sdk 0.6.0 → 0.7.1
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/CHANGELOG.md +228 -0
- package/dist/{Chat-CHqcgMyw.d.ts → Chat-CFi5cNUF.d.ts} +4 -4
- package/dist/{Chat-BoAvCWhI.d.cts → Chat-DQOsAumH.d.cts} +4 -4
- package/dist/{DepthViews-B0g83e_N.d.cts → DepthViews-C409ubw-.d.cts} +1 -1
- package/dist/{DepthViews-7Y8Ur058.d.ts → DepthViews-D81c95Ra.d.cts} +1 -1
- package/dist/{DepthViews-Dg2bIon_.d.ts → DepthViews-es8mIK0w.d.ts} +1 -1
- package/dist/{DepthViews-CT5mQld9.d.cts → DepthViews-uilL1NJZ.d.ts} +1 -1
- package/dist/IntakeMedia-BcjjUizr.d.ts +103 -0
- package/dist/IntakeMedia-CL_S2tZE.d.cts +103 -0
- package/dist/animations/index.cjs +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/animations/index.js +1 -1
- package/dist/{attachments-C3HJNYQ7.d.cts → attachments-B2GjBgvF.d.cts} +2 -2
- package/dist/{attachments-rkox0ewd.d.cts → attachments-DI710no4.d.cts} +5 -5
- package/dist/{attachments-CfxsVg7W.d.ts → attachments-DNaSbmA3.d.ts} +2 -2
- package/dist/{attachments-CThFsH4b.d.ts → attachments-SF88N654.d.ts} +5 -5
- package/dist/{bookingCopy-Y3OGdoMT.d.ts → bookingCopy-D2N3RhsV.d.ts} +451 -50
- package/dist/{bookingCopy-Do3zMeXb.d.cts → bookingCopy-xlXxORCA.d.cts} +451 -50
- package/dist/{bookingTypes-DCs8mmBb.d.cts → bookingTypes-D4pD3tHs.d.cts} +13 -1
- package/dist/{bookingTypes-DCs8mmBb.d.ts → bookingTypes-D4pD3tHs.d.ts} +13 -1
- package/dist/{branding-DYWma2il.d.ts → branding-Bio5MM6g.d.cts} +3 -3
- package/dist/{branding-ChXm8gxI.d.cts → branding-ytH4jJq1.d.ts} +3 -3
- package/dist/{callCopy-CPe9mbwG.d.cts → callCopy-DHjem0R-.d.cts} +12 -1
- package/dist/{callCopy-CPe9mbwG.d.ts → callCopy-DHjem0R-.d.ts} +12 -1
- package/dist/{casesRepository-Jj6t60AY.d.cts → casesRepository-B-md8h1S.d.cts} +1 -1
- package/dist/{casesRepository-BbgXYPxa.d.ts → casesRepository-CC6951TK.d.ts} +1 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.d.cts +9 -9
- package/dist/chat/index.d.ts +9 -9
- package/dist/chat/index.js +1 -1
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +2 -2
- package/dist/{config-Dfbj5mlx.d.ts → config-BM0sv5jx.d.ts} +1 -1
- package/dist/{config-BZX97FmW.d.cts → config-Daa1plhQ.d.cts} +1 -1
- package/dist/consent/index.cjs +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +1 -1
- package/dist/{context-Cbe0zYym.d.ts → context-CDV2pwGI.d.ts} +7 -7
- package/dist/{context-DJXnZ1Mx.d.cts → context-DQHtwcHN.d.cts} +7 -7
- package/dist/{copy-dKK5KoAQ.d.cts → copy-BEx5F71o.d.cts} +2 -2
- package/dist/{copy-DHekqSKE.d.ts → copy-Cl1l-qmY.d.ts} +2 -2
- package/dist/core/index.cjs +7 -7
- package/dist/core/index.d.cts +21 -21
- package/dist/core/index.d.ts +21 -21
- package/dist/core/index.js +7 -7
- package/dist/{depth-NmWSbvfi.d.cts → depth-CAAwiStc.d.cts} +132 -38
- package/dist/{depth-CrpRjWGB.d.ts → depth-DfNRVtrV.d.ts} +132 -38
- package/dist/{entitlementRepository-tVNazi8R.d.ts → entitlementRepository-CVWvND1P.d.ts} +3 -3
- package/dist/{entitlementRepository-iL-9vS1i.d.cts → entitlementRepository-DPvWjV-N.d.cts} +3 -3
- package/dist/{identity-B8rp0L9G.d.ts → identity-BhT7oJDS.d.ts} +1 -1
- package/dist/{identity-D7PO5s9m.d.cts → identity-DUlshgow.d.cts} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +6 -6
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/{pets-BWx9BKea.d.cts → pets-Bneph9m1.d.cts} +1 -1
- package/dist/{pets-BQbXmICf.d.ts → pets-DjcLmRrW.d.ts} +1 -1
- package/dist/{petsRepository-SqIvEMiT.d.cts → petsRepository-BnVre3q7.d.cts} +1 -1
- package/dist/{petsRepository-0oBVydl6.d.ts → petsRepository-BwxmfX_s.d.ts} +1 -1
- package/dist/photo/index.cjs +1 -1
- package/dist/photo/index.js +1 -1
- package/dist/{ports-ChnzSy4E.d.cts → ports-BPKxFOSe.d.cts} +10 -9
- package/dist/{ports-iXPWd7Vt.d.ts → ports-Di9rdLO9.d.ts} +10 -9
- package/dist/records/depth/index.cjs +2 -2
- package/dist/records/depth/index.d.cts +7 -7
- package/dist/records/depth/index.d.ts +7 -7
- package/dist/records/depth/index.js +2 -2
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +19 -10
- package/dist/records/index.d.ts +19 -10
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel-CQzz2DIW.d.ts → requestFunnel-CiSX2pun.d.ts} +2 -2
- package/dist/{requestFunnel-DAwb7haa.d.cts → requestFunnel-DMR_1T3O.d.cts} +2 -2
- package/dist/{runtimeTypes-DB9-kigO.d.cts → runtimeTypes-2gJ5hYoE.d.cts} +5 -5
- package/dist/{runtimeTypes-BNOxfmfg.d.ts → runtimeTypes-CkMFCbHW.d.ts} +5 -5
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/televet/booking/index.cjs +4 -1
- package/dist/televet/booking/index.d.cts +116 -29
- package/dist/televet/booking/index.d.ts +116 -29
- package/dist/televet/booking/index.js +4 -1
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.d.cts +1 -1
- package/dist/televet/call/index.d.ts +1 -1
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.js +1 -1
- package/dist/testing/index.cjs +3 -3
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -3
- package/dist/testing/rn/index.cjs +1 -1
- package/dist/testing/rn/index.d.cts +14 -12
- package/dist/testing/rn/index.d.ts +14 -12
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.d.cts +9 -9
- package/dist/testing/web/index.d.ts +9 -9
- package/dist/{timelineRows-Dll2IGFg.d.ts → timelineRows-D3171ksh.d.ts} +1 -1
- package/dist/{timelineRows-BuNhzDbH.d.cts → timelineRows-DDnz4gx2.d.cts} +1 -1
- package/dist/{tokens-ARWZtMOU.d.cts → tokens-BYtbKwFh.d.cts} +6 -3
- package/dist/{tokens-ARWZtMOU.d.ts → tokens-BYtbKwFh.d.ts} +6 -3
- package/dist/{typeStyle-YCS8dt19.d.cts → typeStyle-BqfwxZH4.d.cts} +2 -2
- package/dist/{typeStyle-8iEqQmP_.d.ts → typeStyle-DKz02DGU.d.ts} +2 -2
- package/dist/{uploadTransport-C1p8FuG8.d.cts → uploadTransport-BM_pnEWj.d.cts} +5 -0
- package/dist/{uploadTransport-bZIKBTyK.d.ts → uploadTransport-C6kGP1Kd.d.ts} +5 -0
- package/dist/{useRecordsDepth-CNEHZJtj.d.cts → useRecordsDepth-COJ0wSYK.d.cts} +1 -1
- package/dist/{useRecordsDepth-CuNdne6E.d.ts → useRecordsDepth-Z9FF5X4E.d.ts} +1 -1
- package/dist/video/index.cjs +1 -1
- package/dist/video/index.js +1 -1
- package/dist/{view-DFy8EDwf.d.ts → view-DoQEHXJR.d.ts} +47 -5
- package/dist/{view-BhqWlYrZ.d.cts → view-nRy6SitU.d.cts} +47 -5
- package/dist/web/consent/index.cjs +1 -1
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/consent/index.js +1 -1
- package/dist/web/index.cjs +7 -7
- package/dist/web/index.d.cts +23 -22
- package/dist/web/index.d.ts +23 -22
- package/dist/web/index.js +7 -7
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.cjs +2 -2
- package/dist/web/records/depth/index.d.cts +7 -7
- package/dist/web/records/depth/index.d.ts +7 -7
- package/dist/web/records/depth/index.js +2 -2
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +28 -17
- package/dist/web/records/index.d.ts +28 -17
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +4 -2
- package/dist/web/televet/booking/index.d.cts +227 -123
- package/dist/web/televet/booking/index.d.ts +227 -123
- package/dist/web/televet/booking/index.js +4 -2
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +1 -1
- package/dist/web/televet/call/index.d.ts +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +3 -3
- package/dist/web/televet/index.d.cts +12 -4
- package/dist/web/televet/index.d.ts +12 -4
- package/dist/web/televet/index.js +3 -3
- package/package.json +1 -1
- package/dist/BookedScreen-BJPbXLCG.d.ts +0 -54
- package/dist/BookedScreen-Cnld-jB_.d.cts +0 -54
|
@@ -1,11 +1,117 @@
|
|
|
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-
|
|
4
|
-
import { A as AuthContext } from './identity-
|
|
3
|
+
import { R as RequestFunnel } from './requestFunnel-DMR_1T3O.cjs';
|
|
4
|
+
import { A as AuthContext } from './identity-DUlshgow.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';
|
|
8
8
|
|
|
9
|
+
/** Who a share link is for, while the server's audience switch is on (V819), in the order it offers them. */
|
|
10
|
+
type RecordShareAudience = 'vet' | 'groomer' | 'boarding';
|
|
11
|
+
/** Every audience this package can name, in the design's order. */
|
|
12
|
+
declare const RECORD_SHARE_AUDIENCES: readonly RecordShareAudience[];
|
|
13
|
+
/** Who an emailed record goes to: an audience, or `other` (the neutral email wording and no audience). */
|
|
14
|
+
type RecordShareRecipientKind = RecordShareAudience | 'other';
|
|
15
|
+
/**
|
|
16
|
+
* What a link minted for one audience carries (`ShareAudienceScope` on the wire): the content `sections` of the
|
|
17
|
+
* shared record and, for a care handoff that is not a vet, the only `entityTypes` it keeps (null: every type).
|
|
18
|
+
*/
|
|
19
|
+
interface RecordShareAudienceScope {
|
|
20
|
+
readonly audience: RecordShareAudience;
|
|
21
|
+
readonly sections: readonly string[];
|
|
22
|
+
readonly entityTypes: readonly string[] | null;
|
|
23
|
+
}
|
|
24
|
+
/** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
|
|
25
|
+
interface RecordShareLink {
|
|
26
|
+
readonly shareId: string;
|
|
27
|
+
readonly shareUrl: string;
|
|
28
|
+
readonly expiresAt: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The audience the link was stamped with; null for a link minted without one (or with the switch off). Always
|
|
31
|
+
* set by this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
|
|
32
|
+
*/
|
|
33
|
+
readonly audience?: RecordShareAudience | null;
|
|
34
|
+
}
|
|
35
|
+
/** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
|
|
36
|
+
interface RecordShare {
|
|
37
|
+
readonly shareId: string;
|
|
38
|
+
readonly expiresAt: string | null;
|
|
39
|
+
readonly createdAt: string | null;
|
|
40
|
+
readonly viewCount: number;
|
|
41
|
+
readonly lastViewedAt: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The audience the link was stamped with; null for none, an unknown one, or with the switch off. Always set by
|
|
44
|
+
* this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
|
|
45
|
+
*/
|
|
46
|
+
readonly audience?: RecordShareAudience | null;
|
|
47
|
+
}
|
|
48
|
+
/** Email the record: the recipient's address and who they are (which picks the email's wording). */
|
|
49
|
+
interface RecordShareEmailInput {
|
|
50
|
+
readonly recipientEmail: string;
|
|
51
|
+
readonly recipientKind: RecordShareRecipientKind;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The emailed link's receipt: the id to turn it off by and the date it dies. NO URL, by design: the server never
|
|
55
|
+
* returns the link for an email send, and this shape has nowhere to put one.
|
|
56
|
+
*/
|
|
57
|
+
interface RecordShareEmailReceipt {
|
|
58
|
+
readonly shareId: string;
|
|
59
|
+
readonly expiresAt: string | null;
|
|
60
|
+
readonly audience: RecordShareAudience | null;
|
|
61
|
+
}
|
|
62
|
+
/** The presigned PDF download. */
|
|
63
|
+
interface RecordPdfLink {
|
|
64
|
+
readonly downloadUrl: string;
|
|
65
|
+
readonly expiresAt: string | null;
|
|
66
|
+
}
|
|
67
|
+
/** The longest address the email route accepts (`recipient_email: Field(max_length=254)`). */
|
|
68
|
+
declare const SHARE_RECIPIENT_EMAIL_MAX = 254;
|
|
69
|
+
/**
|
|
70
|
+
* The email route's own lenient address check (records_router.py `_EMAIL_RE`, which the widget route imports), so
|
|
71
|
+
* an address the server would refuse is refused here before a request is spent. Not an RFC 5322 parser.
|
|
72
|
+
*/
|
|
73
|
+
declare function isShareRecipientEmail(value: string): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* `share_audiences` off the features read, FAIL CLOSED: absent, not a list, or any entry off the documented shape
|
|
76
|
+
* is NO audiences, so a surface never claims a scope it cannot read. An audience this package cannot name (a
|
|
77
|
+
* newer server's) and a repeat are dropped; the rest keep the server's order.
|
|
78
|
+
*/
|
|
79
|
+
declare function mapShareAudiences(wire: unknown): readonly RecordShareAudienceScope[];
|
|
80
|
+
/**
|
|
81
|
+
* The share link as an absolute https URL. The consumer route returns the RELATIVE form
|
|
82
|
+
* (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
|
|
83
|
+
* client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
|
|
84
|
+
* relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
|
|
85
|
+
*/
|
|
86
|
+
declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
|
|
87
|
+
/** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
|
|
88
|
+
declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
|
|
89
|
+
/** The list response to frozen rows, or null when malformed. */
|
|
90
|
+
declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
|
|
91
|
+
/** The email send's answer to a frozen receipt, or null when malformed. Only the named keys survive: never a URL. */
|
|
92
|
+
declare function mapRecordShareEmailReceipt(wire: unknown): RecordShareEmailReceipt | null;
|
|
93
|
+
/** The PDF link response to a frozen link, or null when malformed or not https. */
|
|
94
|
+
declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
|
|
95
|
+
|
|
96
|
+
/** A photo type `uploads/initiate` accepts while photo upload is armed. */
|
|
97
|
+
type RecordsPhotoContentType = 'image/jpeg' | 'image/png' | 'image/heic' | 'image/heif';
|
|
98
|
+
/** A content type `uploads/initiate` can be asked for. */
|
|
99
|
+
type RecordsUploadContentType = 'application/pdf' | RecordsPhotoContentType;
|
|
100
|
+
/** The records features read, mapped. */
|
|
101
|
+
interface RecordsFeatures {
|
|
102
|
+
/** Every feature the server named, by its wire name (`markers`, `sharing`, ...). Empty when the read failed. */
|
|
103
|
+
readonly features: Readonly<Record<string, boolean>>;
|
|
104
|
+
/** What an upload may declare. Always starts with `application/pdf`; photo types only while armed. */
|
|
105
|
+
readonly uploadContentTypes: readonly RecordsUploadContentType[];
|
|
106
|
+
/**
|
|
107
|
+
* Who a share link can be for, in the server's order, each with the scope its link carries. Served only while
|
|
108
|
+
* the audience switch is on; empty otherwise, and when the list is malformed.
|
|
109
|
+
*/
|
|
110
|
+
readonly shareAudiences: readonly RecordShareAudienceScope[];
|
|
111
|
+
}
|
|
112
|
+
/** True when an upload may be a photo. An absent list (a host-built state) is PDF only. */
|
|
113
|
+
declare function acceptsPhotos(types: readonly string[] | undefined): boolean;
|
|
114
|
+
|
|
9
115
|
/** Directory contact details only. The server intentionally does not expose clinic email addresses. */
|
|
10
116
|
interface RecordsClinic {
|
|
11
117
|
readonly id: string;
|
|
@@ -276,39 +382,6 @@ interface RecordsRequestDocument {
|
|
|
276
382
|
readonly expiresInSeconds: number;
|
|
277
383
|
}
|
|
278
384
|
|
|
279
|
-
/** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
|
|
280
|
-
interface RecordShareLink {
|
|
281
|
-
readonly shareId: string;
|
|
282
|
-
readonly shareUrl: string;
|
|
283
|
-
readonly expiresAt: string | null;
|
|
284
|
-
}
|
|
285
|
-
/** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
|
|
286
|
-
interface RecordShare {
|
|
287
|
-
readonly shareId: string;
|
|
288
|
-
readonly expiresAt: string | null;
|
|
289
|
-
readonly createdAt: string | null;
|
|
290
|
-
readonly viewCount: number;
|
|
291
|
-
readonly lastViewedAt: string | null;
|
|
292
|
-
}
|
|
293
|
-
/** The presigned PDF download. */
|
|
294
|
-
interface RecordPdfLink {
|
|
295
|
-
readonly downloadUrl: string;
|
|
296
|
-
readonly expiresAt: string | null;
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* The share link as an absolute https URL. The consumer route returns the RELATIVE form
|
|
300
|
-
* (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
|
|
301
|
-
* client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
|
|
302
|
-
* relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
|
|
303
|
-
*/
|
|
304
|
-
declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
|
|
305
|
-
/** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
|
|
306
|
-
declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
|
|
307
|
-
/** The list response to frozen rows, or null when malformed. */
|
|
308
|
-
declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
|
|
309
|
-
/** The PDF link response to a frozen link, or null when malformed or not https. */
|
|
310
|
-
declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
|
|
311
|
-
|
|
312
385
|
interface RecordsSignatureSuggestion {
|
|
313
386
|
readonly signatureId: string;
|
|
314
387
|
/** A short-lived presigned https URL of the signature PNG. */
|
|
@@ -503,8 +576,29 @@ interface RecordsDepthClient {
|
|
|
503
576
|
getDocumentContributions(petRef: PetRef, docId: string): Promise<EverfurResult<RecordDocumentContributionsView>>;
|
|
504
577
|
/** The consumer dashboard's lab markers with the BE-computed donut summary (`markers.ts`). */
|
|
505
578
|
getMarkers(petRef: PetRef): Promise<EverfurResult<RecordMarkersView>>;
|
|
506
|
-
/**
|
|
507
|
-
|
|
579
|
+
/**
|
|
580
|
+
* Mint a public, expiring share link to the pet's record. The URL is returned ONCE. `audience` stamps who the
|
|
581
|
+
* link is for and is sent ONLY when given: pass it only while the features read serves `shareAudiences`, because
|
|
582
|
+
* with the server's audience switch off an `audience` key is refused (400).
|
|
583
|
+
*/
|
|
584
|
+
createShare(petRef: PetRef, opts?: {
|
|
585
|
+
readonly audience?: RecordShareAudience;
|
|
586
|
+
}): Promise<EverfurResult<RecordShareLink>>;
|
|
587
|
+
/**
|
|
588
|
+
* Mint a link and EMAIL it to `recipientEmail` (`POST .../everfur_record/share/email`). The link is never
|
|
589
|
+
* returned: the receipt is the id to turn it off by and its expiry. Gated like the mint (the sharing feature, the
|
|
590
|
+
* `records.record.share` capability, the typed 409 without records consent, the tenant's daily quota) plus the
|
|
591
|
+
* member's hourly email budget (429); a mail that fails after the mint is a retryable 502, and that link stays
|
|
592
|
+
* listed and revocable. An address the server would refuse is `validationFailed` with no request spent.
|
|
593
|
+
*/
|
|
594
|
+
emailShare(petRef: PetRef, input: RecordShareEmailInput): Promise<EverfurResult<RecordShareEmailReceipt>>;
|
|
595
|
+
/**
|
|
596
|
+
* `GET /widget/v1/records/features`, mapped (`mapRecordsFeatures`): which records features are live and, while
|
|
597
|
+
* the audience switch is on, the share audiences. NEVER rejects: a failed or malformed read is the fail-closed
|
|
598
|
+
* answer (no feature known, no audiences). OPTIONAL so a host-built client still satisfies this interface; a
|
|
599
|
+
* surface given one without it offers no audience.
|
|
600
|
+
*/
|
|
601
|
+
readFeatures?(): Promise<RecordsFeatures>;
|
|
508
602
|
/** The pet's live share links (never the URLs). */
|
|
509
603
|
listShares(petRef: PetRef): Promise<EverfurResult<readonly RecordShare[]>>;
|
|
510
604
|
/** Turn a link off. A link already off (404) settles as the ordinary not-found error. */
|
|
@@ -531,4 +625,4 @@ interface RecordsDepthClient {
|
|
|
531
625
|
/** The depth client, over the same auth, funnel and error policy as the records repository. */
|
|
532
626
|
declare function createRecordsDepthClient(deps: HttpRecordsRepositoryDeps): RecordsDepthClient;
|
|
533
627
|
|
|
534
|
-
export {
|
|
628
|
+
export { type RecordsSignatureSuggestion as $, type HttpRecordsRepositoryDeps as A, RECORDS_CLINIC_BATCH_MAX as B, type CreateClinicRequestBatchInput as C, RECORD_SHARE_AUDIENCES as D, type RecordFactEditInput as E, FACT_FIELD_BY_KIND as F, type RecordFactRemoveInput as G, type HttpRecordsClinicRepositoryDeps as H, type RecordMarker as I, type RecordMarkerLatest as J, type RecordMarkerPoint as K, type RecordMarkerSummary as L, type RecordMarkersView as M, type RecordPdfLink as N, type RecordShare as O, type RecordShareAudienceScope as P, type RecordShareEmailInput as Q, type RecordClinicianNote as R, type RecordShareEmailReceipt as S, type RecordShareLink as T, type RecordShareRecipientKind as U, type RecordsAuthorizationSignature as V, type RecordsClinicBatch as W, type RecordsClinicBatchClient as X, type RecordsClinicBatchItem as Y, type RecordsClinicBatchResult as Z, type RecordsClinicTarget as _, type RecordClinicianNoteSection as a, SHARE_RECIPIENT_EMAIL_MAX as a0, createRecordsClinicBatchClient as a1, createRecordsDepthClient as a2, factCorrectionFor as a3, factValueCorrection as a4, inferFactValueKind as a5, isFactReviewerLocked as a6, isShareRecipientEmail as a7, mapRecordMarkers as a8, mapRecordPdfLink as a9, mapRecordShareEmailReceipt as aa, mapRecordShareLink as ab, mapRecordShareList as ac, mapShareAudiences as ad, mapSignatureSuggestions as ae, resolveShareUrl as af, type RecordsClinicSearchInput as ag, type RecordsClinicSearchPage as ah, type RecordsRecentClinicsInput as ai, type RecordsAuthorizationCopy as aj, type CreateClinicRequestInput as ak, type RecordsSignatureUploadPolicy as al, type RecordsFeatures as am, type RecordsUploadContentType as an, type RecordsPhotoContentType as ao, acceptsPhotos as ap, type RecordCompleteness as b, type RecordConflict as c, type RecordConflictCandidate as d, type RecordDepthView as e, type RecordDocumentContributionsView as f, type RecordEncounter as g, type RecordExamSystem as h, type RecordLabMarker as i, type RecordLabPoint as j, type RecordPhysicalExam as k, type RecordShareAudience as l, type RecordsClinic as m, type RecordsDepthClient as n, type RecordsRequestDocument as o, type RecordsTimelineMedication as p, type RecordsTimelineVaccine as q, type RecordsTimelineView as r, type RecordsTimelineVisit as s, type RecordsTimelineWeight as t, mapDocumentContributions as u, mapRecordDepth as v, mapRecordsTimeline as w, FACT_VALUE_FIELD as x, type FactFieldValue as y, type FactValueKind as z };
|
|
@@ -1,11 +1,117 @@
|
|
|
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-
|
|
4
|
-
import { A as AuthContext } from './identity-
|
|
3
|
+
import { R as RequestFunnel } from './requestFunnel-CiSX2pun.js';
|
|
4
|
+
import { A as AuthContext } from './identity-BhT7oJDS.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';
|
|
8
8
|
|
|
9
|
+
/** Who a share link is for, while the server's audience switch is on (V819), in the order it offers them. */
|
|
10
|
+
type RecordShareAudience = 'vet' | 'groomer' | 'boarding';
|
|
11
|
+
/** Every audience this package can name, in the design's order. */
|
|
12
|
+
declare const RECORD_SHARE_AUDIENCES: readonly RecordShareAudience[];
|
|
13
|
+
/** Who an emailed record goes to: an audience, or `other` (the neutral email wording and no audience). */
|
|
14
|
+
type RecordShareRecipientKind = RecordShareAudience | 'other';
|
|
15
|
+
/**
|
|
16
|
+
* What a link minted for one audience carries (`ShareAudienceScope` on the wire): the content `sections` of the
|
|
17
|
+
* shared record and, for a care handoff that is not a vet, the only `entityTypes` it keeps (null: every type).
|
|
18
|
+
*/
|
|
19
|
+
interface RecordShareAudienceScope {
|
|
20
|
+
readonly audience: RecordShareAudience;
|
|
21
|
+
readonly sections: readonly string[];
|
|
22
|
+
readonly entityTypes: readonly string[] | null;
|
|
23
|
+
}
|
|
24
|
+
/** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
|
|
25
|
+
interface RecordShareLink {
|
|
26
|
+
readonly shareId: string;
|
|
27
|
+
readonly shareUrl: string;
|
|
28
|
+
readonly expiresAt: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The audience the link was stamped with; null for a link minted without one (or with the switch off). Always
|
|
31
|
+
* set by this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
|
|
32
|
+
*/
|
|
33
|
+
readonly audience?: RecordShareAudience | null;
|
|
34
|
+
}
|
|
35
|
+
/** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
|
|
36
|
+
interface RecordShare {
|
|
37
|
+
readonly shareId: string;
|
|
38
|
+
readonly expiresAt: string | null;
|
|
39
|
+
readonly createdAt: string | null;
|
|
40
|
+
readonly viewCount: number;
|
|
41
|
+
readonly lastViewedAt: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The audience the link was stamped with; null for none, an unknown one, or with the switch off. Always set by
|
|
44
|
+
* this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
|
|
45
|
+
*/
|
|
46
|
+
readonly audience?: RecordShareAudience | null;
|
|
47
|
+
}
|
|
48
|
+
/** Email the record: the recipient's address and who they are (which picks the email's wording). */
|
|
49
|
+
interface RecordShareEmailInput {
|
|
50
|
+
readonly recipientEmail: string;
|
|
51
|
+
readonly recipientKind: RecordShareRecipientKind;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The emailed link's receipt: the id to turn it off by and the date it dies. NO URL, by design: the server never
|
|
55
|
+
* returns the link for an email send, and this shape has nowhere to put one.
|
|
56
|
+
*/
|
|
57
|
+
interface RecordShareEmailReceipt {
|
|
58
|
+
readonly shareId: string;
|
|
59
|
+
readonly expiresAt: string | null;
|
|
60
|
+
readonly audience: RecordShareAudience | null;
|
|
61
|
+
}
|
|
62
|
+
/** The presigned PDF download. */
|
|
63
|
+
interface RecordPdfLink {
|
|
64
|
+
readonly downloadUrl: string;
|
|
65
|
+
readonly expiresAt: string | null;
|
|
66
|
+
}
|
|
67
|
+
/** The longest address the email route accepts (`recipient_email: Field(max_length=254)`). */
|
|
68
|
+
declare const SHARE_RECIPIENT_EMAIL_MAX = 254;
|
|
69
|
+
/**
|
|
70
|
+
* The email route's own lenient address check (records_router.py `_EMAIL_RE`, which the widget route imports), so
|
|
71
|
+
* an address the server would refuse is refused here before a request is spent. Not an RFC 5322 parser.
|
|
72
|
+
*/
|
|
73
|
+
declare function isShareRecipientEmail(value: string): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* `share_audiences` off the features read, FAIL CLOSED: absent, not a list, or any entry off the documented shape
|
|
76
|
+
* is NO audiences, so a surface never claims a scope it cannot read. An audience this package cannot name (a
|
|
77
|
+
* newer server's) and a repeat are dropped; the rest keep the server's order.
|
|
78
|
+
*/
|
|
79
|
+
declare function mapShareAudiences(wire: unknown): readonly RecordShareAudienceScope[];
|
|
80
|
+
/**
|
|
81
|
+
* The share link as an absolute https URL. The consumer route returns the RELATIVE form
|
|
82
|
+
* (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
|
|
83
|
+
* client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
|
|
84
|
+
* relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
|
|
85
|
+
*/
|
|
86
|
+
declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
|
|
87
|
+
/** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
|
|
88
|
+
declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
|
|
89
|
+
/** The list response to frozen rows, or null when malformed. */
|
|
90
|
+
declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
|
|
91
|
+
/** The email send's answer to a frozen receipt, or null when malformed. Only the named keys survive: never a URL. */
|
|
92
|
+
declare function mapRecordShareEmailReceipt(wire: unknown): RecordShareEmailReceipt | null;
|
|
93
|
+
/** The PDF link response to a frozen link, or null when malformed or not https. */
|
|
94
|
+
declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
|
|
95
|
+
|
|
96
|
+
/** A photo type `uploads/initiate` accepts while photo upload is armed. */
|
|
97
|
+
type RecordsPhotoContentType = 'image/jpeg' | 'image/png' | 'image/heic' | 'image/heif';
|
|
98
|
+
/** A content type `uploads/initiate` can be asked for. */
|
|
99
|
+
type RecordsUploadContentType = 'application/pdf' | RecordsPhotoContentType;
|
|
100
|
+
/** The records features read, mapped. */
|
|
101
|
+
interface RecordsFeatures {
|
|
102
|
+
/** Every feature the server named, by its wire name (`markers`, `sharing`, ...). Empty when the read failed. */
|
|
103
|
+
readonly features: Readonly<Record<string, boolean>>;
|
|
104
|
+
/** What an upload may declare. Always starts with `application/pdf`; photo types only while armed. */
|
|
105
|
+
readonly uploadContentTypes: readonly RecordsUploadContentType[];
|
|
106
|
+
/**
|
|
107
|
+
* Who a share link can be for, in the server's order, each with the scope its link carries. Served only while
|
|
108
|
+
* the audience switch is on; empty otherwise, and when the list is malformed.
|
|
109
|
+
*/
|
|
110
|
+
readonly shareAudiences: readonly RecordShareAudienceScope[];
|
|
111
|
+
}
|
|
112
|
+
/** True when an upload may be a photo. An absent list (a host-built state) is PDF only. */
|
|
113
|
+
declare function acceptsPhotos(types: readonly string[] | undefined): boolean;
|
|
114
|
+
|
|
9
115
|
/** Directory contact details only. The server intentionally does not expose clinic email addresses. */
|
|
10
116
|
interface RecordsClinic {
|
|
11
117
|
readonly id: string;
|
|
@@ -276,39 +382,6 @@ interface RecordsRequestDocument {
|
|
|
276
382
|
readonly expiresInSeconds: number;
|
|
277
383
|
}
|
|
278
384
|
|
|
279
|
-
/** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
|
|
280
|
-
interface RecordShareLink {
|
|
281
|
-
readonly shareId: string;
|
|
282
|
-
readonly shareUrl: string;
|
|
283
|
-
readonly expiresAt: string | null;
|
|
284
|
-
}
|
|
285
|
-
/** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
|
|
286
|
-
interface RecordShare {
|
|
287
|
-
readonly shareId: string;
|
|
288
|
-
readonly expiresAt: string | null;
|
|
289
|
-
readonly createdAt: string | null;
|
|
290
|
-
readonly viewCount: number;
|
|
291
|
-
readonly lastViewedAt: string | null;
|
|
292
|
-
}
|
|
293
|
-
/** The presigned PDF download. */
|
|
294
|
-
interface RecordPdfLink {
|
|
295
|
-
readonly downloadUrl: string;
|
|
296
|
-
readonly expiresAt: string | null;
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* The share link as an absolute https URL. The consumer route returns the RELATIVE form
|
|
300
|
-
* (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
|
|
301
|
-
* client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
|
|
302
|
-
* relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
|
|
303
|
-
*/
|
|
304
|
-
declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
|
|
305
|
-
/** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
|
|
306
|
-
declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
|
|
307
|
-
/** The list response to frozen rows, or null when malformed. */
|
|
308
|
-
declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
|
|
309
|
-
/** The PDF link response to a frozen link, or null when malformed or not https. */
|
|
310
|
-
declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
|
|
311
|
-
|
|
312
385
|
interface RecordsSignatureSuggestion {
|
|
313
386
|
readonly signatureId: string;
|
|
314
387
|
/** A short-lived presigned https URL of the signature PNG. */
|
|
@@ -503,8 +576,29 @@ interface RecordsDepthClient {
|
|
|
503
576
|
getDocumentContributions(petRef: PetRef, docId: string): Promise<EverfurResult<RecordDocumentContributionsView>>;
|
|
504
577
|
/** The consumer dashboard's lab markers with the BE-computed donut summary (`markers.ts`). */
|
|
505
578
|
getMarkers(petRef: PetRef): Promise<EverfurResult<RecordMarkersView>>;
|
|
506
|
-
/**
|
|
507
|
-
|
|
579
|
+
/**
|
|
580
|
+
* Mint a public, expiring share link to the pet's record. The URL is returned ONCE. `audience` stamps who the
|
|
581
|
+
* link is for and is sent ONLY when given: pass it only while the features read serves `shareAudiences`, because
|
|
582
|
+
* with the server's audience switch off an `audience` key is refused (400).
|
|
583
|
+
*/
|
|
584
|
+
createShare(petRef: PetRef, opts?: {
|
|
585
|
+
readonly audience?: RecordShareAudience;
|
|
586
|
+
}): Promise<EverfurResult<RecordShareLink>>;
|
|
587
|
+
/**
|
|
588
|
+
* Mint a link and EMAIL it to `recipientEmail` (`POST .../everfur_record/share/email`). The link is never
|
|
589
|
+
* returned: the receipt is the id to turn it off by and its expiry. Gated like the mint (the sharing feature, the
|
|
590
|
+
* `records.record.share` capability, the typed 409 without records consent, the tenant's daily quota) plus the
|
|
591
|
+
* member's hourly email budget (429); a mail that fails after the mint is a retryable 502, and that link stays
|
|
592
|
+
* listed and revocable. An address the server would refuse is `validationFailed` with no request spent.
|
|
593
|
+
*/
|
|
594
|
+
emailShare(petRef: PetRef, input: RecordShareEmailInput): Promise<EverfurResult<RecordShareEmailReceipt>>;
|
|
595
|
+
/**
|
|
596
|
+
* `GET /widget/v1/records/features`, mapped (`mapRecordsFeatures`): which records features are live and, while
|
|
597
|
+
* the audience switch is on, the share audiences. NEVER rejects: a failed or malformed read is the fail-closed
|
|
598
|
+
* answer (no feature known, no audiences). OPTIONAL so a host-built client still satisfies this interface; a
|
|
599
|
+
* surface given one without it offers no audience.
|
|
600
|
+
*/
|
|
601
|
+
readFeatures?(): Promise<RecordsFeatures>;
|
|
508
602
|
/** The pet's live share links (never the URLs). */
|
|
509
603
|
listShares(petRef: PetRef): Promise<EverfurResult<readonly RecordShare[]>>;
|
|
510
604
|
/** Turn a link off. A link already off (404) settles as the ordinary not-found error. */
|
|
@@ -531,4 +625,4 @@ interface RecordsDepthClient {
|
|
|
531
625
|
/** The depth client, over the same auth, funnel and error policy as the records repository. */
|
|
532
626
|
declare function createRecordsDepthClient(deps: HttpRecordsRepositoryDeps): RecordsDepthClient;
|
|
533
627
|
|
|
534
|
-
export {
|
|
628
|
+
export { type RecordsSignatureSuggestion as $, type HttpRecordsRepositoryDeps as A, RECORDS_CLINIC_BATCH_MAX as B, type CreateClinicRequestBatchInput as C, RECORD_SHARE_AUDIENCES as D, type RecordFactEditInput as E, FACT_FIELD_BY_KIND as F, type RecordFactRemoveInput as G, type HttpRecordsClinicRepositoryDeps as H, type RecordMarker as I, type RecordMarkerLatest as J, type RecordMarkerPoint as K, type RecordMarkerSummary as L, type RecordMarkersView as M, type RecordPdfLink as N, type RecordShare as O, type RecordShareAudienceScope as P, type RecordShareEmailInput as Q, type RecordClinicianNote as R, type RecordShareEmailReceipt as S, type RecordShareLink as T, type RecordShareRecipientKind as U, type RecordsAuthorizationSignature as V, type RecordsClinicBatch as W, type RecordsClinicBatchClient as X, type RecordsClinicBatchItem as Y, type RecordsClinicBatchResult as Z, type RecordsClinicTarget as _, type RecordClinicianNoteSection as a, SHARE_RECIPIENT_EMAIL_MAX as a0, createRecordsClinicBatchClient as a1, createRecordsDepthClient as a2, factCorrectionFor as a3, factValueCorrection as a4, inferFactValueKind as a5, isFactReviewerLocked as a6, isShareRecipientEmail as a7, mapRecordMarkers as a8, mapRecordPdfLink as a9, mapRecordShareEmailReceipt as aa, mapRecordShareLink as ab, mapRecordShareList as ac, mapShareAudiences as ad, mapSignatureSuggestions as ae, resolveShareUrl as af, type RecordsClinicSearchInput as ag, type RecordsClinicSearchPage as ah, type RecordsRecentClinicsInput as ai, type RecordsAuthorizationCopy as aj, type CreateClinicRequestInput as ak, type RecordsSignatureUploadPolicy as al, type RecordsFeatures as am, type RecordsUploadContentType as an, type RecordsPhotoContentType as ao, acceptsPhotos as ap, type RecordCompleteness as b, type RecordConflict as c, type RecordConflictCandidate as d, type RecordDepthView as e, type RecordDocumentContributionsView as f, type RecordEncounter as g, type RecordExamSystem as h, type RecordLabMarker as i, type RecordLabPoint as j, type RecordPhysicalExam as k, type RecordShareAudience as l, type RecordsClinic as m, type RecordsDepthClient as n, type RecordsRequestDocument as o, type RecordsTimelineMedication as p, type RecordsTimelineVaccine as q, type RecordsTimelineView as r, type RecordsTimelineVisit as s, type RecordsTimelineWeight as t, mapDocumentContributions as u, mapRecordDepth as v, mapRecordsTimeline as w, FACT_VALUE_FIELD as x, type FactFieldValue as y, type FactValueKind as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as EverfurError } from './EverfurError-DmELDpXp.js';
|
|
2
|
-
import { R as RequestFunnel } from './requestFunnel-
|
|
3
|
-
import { A as AuthContext } from './identity-
|
|
4
|
-
import { C as ClientBranding } from './branding-
|
|
2
|
+
import { R as RequestFunnel } from './requestFunnel-CiSX2pun.js';
|
|
3
|
+
import { A as AuthContext } from './identity-BhT7oJDS.js';
|
|
4
|
+
import { C as ClientBranding } from './branding-ytH4jJq1.js';
|
|
5
5
|
import { E as EntitlementDecision } from './resolve-D4Ywz5OS.js';
|
|
6
6
|
|
|
7
7
|
/** The conditional-GET endpoint (SPEC-00 §5.3). Relative; the transport prefixes the resolved base URL. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as EverfurError } from './EverfurError-DmELDpXp.cjs';
|
|
2
|
-
import { R as RequestFunnel } from './requestFunnel-
|
|
3
|
-
import { A as AuthContext } from './identity-
|
|
4
|
-
import { C as ClientBranding } from './branding-
|
|
2
|
+
import { R as RequestFunnel } from './requestFunnel-DMR_1T3O.cjs';
|
|
3
|
+
import { A as AuthContext } from './identity-DUlshgow.cjs';
|
|
4
|
+
import { C as ClientBranding } from './branding-Bio5MM6g.cjs';
|
|
5
5
|
import { E as EntitlementDecision } from './resolve-D4Ywz5OS.cjs';
|
|
6
6
|
|
|
7
7
|
/** The conditional-GET endpoint (SPEC-00 §5.3). Relative; the transport prefixes the resolved base URL. */
|
|
@@ -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-
|
|
3
|
+
import { T as TransportPort, d as EverfurRequest } from './config-BM0sv5jx.js';
|
|
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-ZtH-YV1h.cjs';
|
|
2
2
|
import { U as UserRef } from './ids-B2GAAifq.cjs';
|
|
3
|
-
import { T as TransportPort, d as EverfurRequest } from './config-
|
|
3
|
+
import { T as TransportPort, d as EverfurRequest } from './config-Daa1plhQ.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A minted session token with the expiry the minter knows. `expiresAt` is what `mintPartnerSession` returns
|