@everfur/sdk 0.1.1 → 0.4.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/CHANGELOG.md +703 -4
- package/README.md +63 -23
- package/consent/package.json +8 -0
- package/dist/Chat-BZZ-Py5l.d.ts +128 -0
- package/dist/Chat-Dq4fffIO.d.cts +128 -0
- package/dist/DepthViews-BG3E25MD.d.ts +16 -0
- package/dist/DepthViews-B_hIypI6.d.cts +19 -0
- package/dist/DepthViews-CL75jyRA.d.cts +16 -0
- package/dist/DepthViews-CkYri51q.d.ts +19 -0
- package/dist/ErrorPolicyPort-CNf4uQZP.d.cts +22 -0
- package/dist/ErrorPolicyPort-CwbfmxzJ.d.ts +22 -0
- package/dist/{EverfurResult-D92-uL82.d.cts → EverfurResult-DN9pL2Ab.d.cts} +11 -10
- package/dist/{EverfurResult-D92-uL82.d.ts → EverfurResult-DN9pL2Ab.d.ts} +11 -10
- package/dist/{PhotoController-BItt5M7u.d.cts → PhotoController-3l7MT9jA.d.cts} +1 -1
- package/dist/{PhotoController-D8zMTdcW.d.ts → PhotoController-vzY5bfY_.d.ts} +1 -1
- package/dist/animations/index.cjs +1 -1997
- package/dist/animations/index.d.cts +35 -35
- package/dist/animations/index.d.ts +35 -35
- package/dist/animations/index.js +1 -1972
- package/dist/attachments-BorG422I.d.cts +146 -0
- package/dist/attachments-BrUWQYNK.d.ts +257 -0
- package/dist/attachments-D_SECjr1.d.cts +257 -0
- package/dist/attachments-DpldrvIW.d.ts +146 -0
- package/dist/bookingCopy-CqtDYvCR.d.ts +732 -0
- package/dist/bookingCopy-SREvkG19.d.cts +732 -0
- package/dist/branding-CsRdeNwK.d.cts +566 -0
- package/dist/branding-CsRdeNwK.d.ts +566 -0
- package/dist/callCopy-DoQKG3-L.d.cts +40 -0
- package/dist/callCopy-DoQKG3-L.d.ts +40 -0
- package/dist/casesRepository-DwtZVsbj.d.cts +51 -0
- package/dist/casesRepository-v6QczS9N.d.ts +51 -0
- package/dist/chat/index.cjs +1 -1170
- package/dist/chat/index.d.cts +32 -53
- package/dist/chat/index.d.ts +32 -53
- package/dist/chat/index.js +1 -1167
- package/dist/client/index.cjs +9 -2315
- package/dist/client/index.d.cts +80 -16
- package/dist/client/index.d.ts +80 -16
- package/dist/client/index.js +9 -2215
- package/dist/{config-CiJ0PVBB.d.ts → config--Wu1Umhd.d.cts} +64 -26
- package/dist/{config-BSjBdxrZ.d.cts → config-C7eb_IMD.d.ts} +64 -26
- package/dist/consent/index.cjs +1 -0
- package/dist/consent/index.d.cts +33 -0
- package/dist/consent/index.d.ts +33 -0
- package/dist/consent/index.js +1 -0
- package/dist/context-CL3lyuy1.d.cts +159 -0
- package/dist/context-CahAEha8.d.ts +159 -0
- package/dist/copy-DdVFDL01.d.ts +198 -0
- package/dist/copy-UeUJVk8X.d.cts +198 -0
- package/dist/core/index.cjs +13 -3178
- package/dist/core/index.d.cts +164 -29
- package/dist/core/index.d.ts +164 -29
- package/dist/core/index.js +13 -3166
- package/dist/depth-D5HwcvKC.d.cts +533 -0
- package/dist/depth-DvPwPuT_.d.ts +533 -0
- package/dist/entitlementRepository-B7egEdW6.d.ts +43 -0
- package/dist/entitlementRepository-BpJ7tiwl.d.cts +43 -0
- package/dist/{identity-Brl-lDd6.d.cts → identity-C2-08BZW.d.cts} +20 -7
- package/dist/{identity-DK9zORrG.d.ts → identity-CEi9GRFZ.d.ts} +20 -7
- package/dist/{ids-CJ1S6adf.d.cts → ids-B2GAAifq.d.cts} +1 -1
- package/dist/{ids-CJ1S6adf.d.ts → ids-B2GAAifq.d.ts} +1 -1
- package/dist/index.cjs +12 -4494
- package/dist/index.d.cts +30 -121
- package/dist/index.d.ts +30 -121
- package/dist/index.js +12 -4470
- package/dist/models-B-Uh2LTf.d.ts +214 -0
- package/dist/models-D2EUxPZY.d.cts +214 -0
- package/dist/notifications/index.cjs +2 -0
- package/dist/notifications/index.d.cts +17 -0
- package/dist/notifications/index.d.ts +17 -0
- package/dist/notifications/index.js +2 -0
- package/dist/optionalModule-DbJmsq5f.d.cts +21 -0
- package/dist/optionalModule-DbJmsq5f.d.ts +21 -0
- package/dist/pets-DJv2sj2H.d.ts +92 -0
- package/dist/pets-JVCXgRgR.d.cts +92 -0
- package/dist/petsRepository-B_gKbAzJ.d.cts +142 -0
- package/dist/petsRepository-Bk6GDwLs.d.ts +142 -0
- package/dist/photo/index.cjs +1 -2189
- package/dist/photo/index.d.cts +6 -6
- package/dist/photo/index.d.ts +6 -6
- package/dist/photo/index.js +1 -2186
- package/dist/ports-BN6RHF9W.d.cts +48 -0
- package/dist/ports-BN6RHF9W.d.ts +48 -0
- package/dist/ports-BY2ph0_y.d.cts +376 -0
- package/dist/ports-D7YW8qz9.d.ts +376 -0
- package/dist/profile-CSs1wlXT.d.cts +93 -0
- package/dist/profile-CSs1wlXT.d.ts +93 -0
- package/dist/records/depth/index.cjs +2 -0
- package/dist/records/depth/index.d.cts +13 -0
- package/dist/records/depth/index.d.ts +13 -0
- package/dist/records/depth/index.js +2 -0
- package/dist/records/index.cjs +3 -2839
- package/dist/records/index.d.cts +137 -203
- package/dist/records/index.d.ts +137 -203
- package/dist/records/index.js +3 -2833
- package/dist/requestFunnel-BjDpqqvm.d.cts +110 -0
- package/dist/requestFunnel-DFMGcluw.d.ts +110 -0
- package/dist/{resolve-Dq_4_agU.d.ts → resolve-D4Ywz5OS.d.cts} +10 -4
- package/dist/{resolve-Dq_4_agU.d.cts → resolve-D4Ywz5OS.d.ts} +10 -4
- package/dist/{runtime-Bvr8yqXm.d.cts → runtimeTypes-gZEJu-da.d.cts} +104 -132
- package/dist/{runtime-BIYzf9cK.d.ts → runtimeTypes-w5KqBMcs.d.ts} +104 -132
- package/dist/server/events/index.cjs +2 -0
- package/dist/server/events/index.d.cts +550 -0
- package/dist/server/events/index.d.ts +550 -0
- package/dist/server/events/index.js +2 -0
- package/dist/server/index.cjs +2 -533
- package/dist/server/index.d.cts +73 -18
- package/dist/server/index.d.ts +73 -18
- package/dist/server/index.js +2 -530
- package/dist/species-BXAIMh7I.d.cts +9 -0
- package/dist/species-BXAIMh7I.d.ts +9 -0
- package/dist/televet/booking/index.cjs +1 -0
- package/dist/televet/booking/index.d.cts +294 -0
- package/dist/televet/booking/index.d.ts +294 -0
- package/dist/televet/booking/index.js +1 -0
- package/dist/televet/call/index.cjs +1 -0
- package/dist/televet/call/index.d.cts +141 -0
- package/dist/televet/call/index.d.ts +141 -0
- package/dist/televet/call/index.js +1 -0
- package/dist/televet/index.cjs +1 -0
- package/dist/televet/index.d.cts +142 -0
- package/dist/televet/index.d.ts +142 -0
- package/dist/televet/index.js +1 -0
- package/dist/testing/index.cjs +5 -823
- package/dist/testing/index.d.cts +18 -4
- package/dist/testing/index.d.ts +18 -4
- package/dist/testing/index.js +5 -820
- package/dist/testing/rn/index.cjs +1 -449
- package/dist/testing/rn/index.d.cts +18 -29
- package/dist/testing/rn/index.d.ts +18 -29
- package/dist/testing/rn/index.js +1 -444
- package/dist/testing/web/index.cjs +1 -0
- package/dist/testing/web/index.d.cts +132 -0
- package/dist/testing/web/index.d.ts +132 -0
- package/dist/testing/web/index.js +1 -0
- package/dist/timelineRows-C15jxFFH.d.ts +19 -0
- package/dist/timelineRows-odO8g9r2.d.cts +19 -0
- package/dist/typeStyle-CKqVYD6L.d.cts +111 -0
- package/dist/typeStyle-DmoyacDG.d.ts +111 -0
- package/dist/uploadTransport-D0M0T4hN.d.ts +38 -0
- package/dist/uploadTransport-DKJHs3Yj.d.cts +38 -0
- package/dist/useRecordsDepth-C6rjEaLn.d.cts +237 -0
- package/dist/useRecordsDepth-crhBllQK.d.ts +237 -0
- package/dist/useVetVisit-Bc84hWUU.d.cts +187 -0
- package/dist/useVetVisit-CjmMa896.d.ts +187 -0
- package/dist/video/index.cjs +1 -1941
- package/dist/video/index.d.cts +4 -4
- package/dist/video/index.d.ts +4 -4
- package/dist/video/index.js +1 -1938
- package/dist/view-Bxwxp4xD.d.ts +310 -0
- package/dist/view-DyitEO0m.d.cts +310 -0
- package/dist/visitIntent-D7_yVp1I.d.cts +8 -0
- package/dist/visitIntent-D7_yVp1I.d.ts +8 -0
- package/dist/web/consent/index.cjs +1 -0
- package/dist/web/consent/index.d.cts +34 -0
- package/dist/web/consent/index.d.ts +34 -0
- package/dist/web/consent/index.js +1 -0
- package/dist/web/index.cjs +14 -0
- package/dist/web/index.d.cts +218 -0
- package/dist/web/index.d.ts +218 -0
- package/dist/web/index.js +14 -0
- package/dist/web/notifications/index.cjs +2 -0
- package/dist/web/notifications/index.d.cts +213 -0
- package/dist/web/notifications/index.d.ts +213 -0
- package/dist/web/notifications/index.js +2 -0
- package/dist/web/records/depth/index.cjs +2 -0
- package/dist/web/records/depth/index.d.cts +12 -0
- package/dist/web/records/depth/index.d.ts +12 -0
- package/dist/web/records/depth/index.js +2 -0
- package/dist/web/records/index.cjs +4 -0
- package/dist/web/records/index.d.cts +285 -0
- package/dist/web/records/index.d.ts +285 -0
- package/dist/web/records/index.js +4 -0
- package/dist/web/televet/booking/index.cjs +1 -0
- package/dist/web/televet/booking/index.d.cts +349 -0
- package/dist/web/televet/booking/index.d.ts +349 -0
- package/dist/web/televet/booking/index.js +1 -0
- package/dist/web/televet/call/index.cjs +1 -0
- package/dist/web/televet/call/index.d.cts +142 -0
- package/dist/web/televet/call/index.d.ts +142 -0
- package/dist/web/televet/call/index.js +1 -0
- package/dist/web/televet/index.cjs +1 -0
- package/dist/web/televet/index.d.cts +136 -0
- package/dist/web/televet/index.d.ts +136 -0
- package/dist/web/televet/index.js +1 -0
- package/notifications/package.json +8 -0
- package/package.json +266 -10
- package/records/depth/package.json +8 -0
- package/server/events/device-blocked.cjs +15 -0
- package/server/events/package.json +9 -0
- package/televet/booking/package.json +8 -0
- package/televet/call/package.json +8 -0
- package/televet/package.json +8 -0
- package/testing/web/native-blocked.cjs +12 -0
- package/testing/web/package.json +8 -0
- package/web/consent/native-blocked.cjs +12 -0
- package/web/consent/package.json +8 -0
- package/web/native-blocked.cjs +12 -0
- package/web/notifications/native-blocked.cjs +12 -0
- package/web/notifications/package.json +8 -0
- package/web/package.json +8 -0
- package/web/records/depth/native-blocked.cjs +12 -0
- package/web/records/depth/package.json +8 -0
- package/web/records/native-blocked.cjs +12 -0
- package/web/records/package.json +8 -0
- package/web/televet/booking/native-blocked.cjs +12 -0
- package/web/televet/booking/package.json +8 -0
- package/web/televet/call/native-blocked.cjs +12 -0
- package/web/televet/call/package.json +8 -0
- package/web/televet/native-blocked.cjs +12 -0
- package/web/televet/package.json +8 -0
- package/dist/ChatController-CKdBvPj2.d.ts +0 -146
- package/dist/ChatController-CpUMvvZf.d.cts +0 -146
- package/dist/FilePort-BabWrv7I.d.cts +0 -22
- package/dist/FilePort-BabWrv7I.d.ts +0 -22
- package/dist/petsRepository-BEGb97M9.d.cts +0 -326
- package/dist/petsRepository-Bu18r2kK.d.ts +0 -326
- package/dist/requestFunnel-DuUH-kAe.d.cts +0 -28
- package/dist/requestFunnel-dio5OmR9.d.ts +0 -28
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { A as AuthContext } from '../identity-
|
|
6
|
-
export { I as IdentityProvider, n as newSessionId } from '../identity-
|
|
7
|
-
import { P as PetRef } from '../ids-
|
|
8
|
-
export { B as Brand, U as UserRef, _ as __brand } from '../ids-
|
|
3
|
+
import { c as EverfurResult, E as EverfurError } from '../EverfurResult-DN9pL2Ab.cjs';
|
|
4
|
+
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurResult-DN9pL2Ab.cjs';
|
|
5
|
+
import { A as AuthContext } from '../identity-C2-08BZW.cjs';
|
|
6
|
+
export { I as IdentityProvider, n as newSessionId } from '../identity-C2-08BZW.cjs';
|
|
7
|
+
import { P as PetRef } from '../ids-B2GAAifq.cjs';
|
|
8
|
+
export { B as Brand, U as UserRef, _ as __brand } from '../ids-B2GAAifq.cjs';
|
|
9
9
|
import { z } from 'zod';
|
|
10
10
|
import { K as KvPort, C as CacheEpochGuard, I as ImageCachePort } from '../cacheEpoch-DknKn3S0.cjs';
|
|
11
11
|
export { a as CACHE_EPOCH_STORAGE_KEY, c as createCacheEpochGuard } from '../cacheEpoch-DknKn3S0.cjs';
|
|
12
12
|
import { T as TelemetryPort } from '../TelemetryPort-BDNr00hu.cjs';
|
|
13
|
-
import {
|
|
14
|
-
export {
|
|
15
|
-
export { A as AcceptedFrame,
|
|
13
|
+
import { D as DisabledLevel, a as CapabilityDecision } from '../resolve-D4Ywz5OS.cjs';
|
|
14
|
+
export { b as CapabilityDisabled, C as CapabilityName } from '../resolve-D4Ywz5OS.cjs';
|
|
15
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config--Wu1Umhd.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* The full /state payload. `degraded` + `cache_epoch` + `cache_key` are additive fields an older backend
|
|
@@ -28,15 +28,15 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
28
28
|
expires_at: z.ZodString;
|
|
29
29
|
cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
kind: "webp" | "video";
|
|
32
31
|
url: string;
|
|
32
|
+
kind: "video" | "webp";
|
|
33
33
|
expires_at: string;
|
|
34
34
|
loop_duration_ms?: number | null | undefined;
|
|
35
35
|
cache_key?: string | null | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
url: string;
|
|
38
38
|
expires_at: string;
|
|
39
|
-
kind?: "
|
|
39
|
+
kind?: "video" | "webp" | undefined;
|
|
40
40
|
loop_duration_ms?: number | null | undefined;
|
|
41
41
|
cache_key?: string | null | undefined;
|
|
42
42
|
}>>;
|
|
@@ -47,45 +47,45 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
47
47
|
expires_at: z.ZodString;
|
|
48
48
|
cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
kind: "webp" | "video";
|
|
51
50
|
url: string;
|
|
51
|
+
kind: "video" | "webp";
|
|
52
52
|
expires_at: string;
|
|
53
53
|
loop_duration_ms?: number | null | undefined;
|
|
54
54
|
cache_key?: string | null | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
url: string;
|
|
57
57
|
expires_at: string;
|
|
58
|
-
kind?: "
|
|
58
|
+
kind?: "video" | "webp" | undefined;
|
|
59
59
|
loop_duration_ms?: number | null | undefined;
|
|
60
60
|
cache_key?: string | null | undefined;
|
|
61
61
|
}>>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
|
|
64
|
-
kind: "webp" | "video";
|
|
63
|
+
image?: {
|
|
65
64
|
url: string;
|
|
65
|
+
kind: "video" | "webp";
|
|
66
66
|
expires_at: string;
|
|
67
67
|
loop_duration_ms?: number | null | undefined;
|
|
68
68
|
cache_key?: string | null | undefined;
|
|
69
69
|
} | undefined;
|
|
70
|
-
|
|
71
|
-
kind: "webp" | "video";
|
|
70
|
+
animation?: {
|
|
72
71
|
url: string;
|
|
72
|
+
kind: "video" | "webp";
|
|
73
73
|
expires_at: string;
|
|
74
74
|
loop_duration_ms?: number | null | undefined;
|
|
75
75
|
cache_key?: string | null | undefined;
|
|
76
76
|
} | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
|
|
78
|
+
image?: {
|
|
79
79
|
url: string;
|
|
80
80
|
expires_at: string;
|
|
81
|
-
kind?: "
|
|
81
|
+
kind?: "video" | "webp" | undefined;
|
|
82
82
|
loop_duration_ms?: number | null | undefined;
|
|
83
83
|
cache_key?: string | null | undefined;
|
|
84
84
|
} | undefined;
|
|
85
|
-
|
|
85
|
+
animation?: {
|
|
86
86
|
url: string;
|
|
87
87
|
expires_at: string;
|
|
88
|
-
kind?: "
|
|
88
|
+
kind?: "video" | "webp" | undefined;
|
|
89
89
|
loop_duration_ms?: number | null | undefined;
|
|
90
90
|
cache_key?: string | null | undefined;
|
|
91
91
|
} | undefined;
|
|
@@ -98,22 +98,22 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
98
98
|
expires_at: z.ZodString;
|
|
99
99
|
cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
kind: "webp" | "video";
|
|
102
101
|
url: string;
|
|
102
|
+
kind: "video" | "webp";
|
|
103
103
|
expires_at: string;
|
|
104
104
|
loop_duration_ms?: number | null | undefined;
|
|
105
105
|
cache_key?: string | null | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
url: string;
|
|
108
108
|
expires_at: string;
|
|
109
|
-
kind?: "
|
|
109
|
+
kind?: "video" | "webp" | undefined;
|
|
110
110
|
loop_duration_ms?: number | null | undefined;
|
|
111
111
|
cache_key?: string | null | undefined;
|
|
112
112
|
}>>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
weather_alert?: {
|
|
115
|
-
kind: "webp" | "video";
|
|
116
115
|
url: string;
|
|
116
|
+
kind: "video" | "webp";
|
|
117
117
|
expires_at: string;
|
|
118
118
|
loop_duration_ms?: number | null | undefined;
|
|
119
119
|
cache_key?: string | null | undefined;
|
|
@@ -122,7 +122,7 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
122
122
|
weather_alert?: {
|
|
123
123
|
url: string;
|
|
124
124
|
expires_at: string;
|
|
125
|
-
kind?: "
|
|
125
|
+
kind?: "video" | "webp" | undefined;
|
|
126
126
|
loop_duration_ms?: number | null | undefined;
|
|
127
127
|
cache_key?: string | null | undefined;
|
|
128
128
|
} | undefined;
|
|
@@ -135,16 +135,16 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
135
135
|
category: "health" | "attention" | "moment" | "activity" | "mood" | "idle";
|
|
136
136
|
idle: "bundled";
|
|
137
137
|
tiers: {
|
|
138
|
-
|
|
139
|
-
kind: "webp" | "video";
|
|
138
|
+
image?: {
|
|
140
139
|
url: string;
|
|
140
|
+
kind: "video" | "webp";
|
|
141
141
|
expires_at: string;
|
|
142
142
|
loop_duration_ms?: number | null | undefined;
|
|
143
143
|
cache_key?: string | null | undefined;
|
|
144
144
|
} | undefined;
|
|
145
|
-
|
|
146
|
-
kind: "webp" | "video";
|
|
145
|
+
animation?: {
|
|
147
146
|
url: string;
|
|
147
|
+
kind: "video" | "webp";
|
|
148
148
|
expires_at: string;
|
|
149
149
|
loop_duration_ms?: number | null | undefined;
|
|
150
150
|
cache_key?: string | null | undefined;
|
|
@@ -152,8 +152,8 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
152
152
|
};
|
|
153
153
|
overlays: {
|
|
154
154
|
weather_alert?: {
|
|
155
|
-
kind: "webp" | "video";
|
|
156
155
|
url: string;
|
|
156
|
+
kind: "video" | "webp";
|
|
157
157
|
expires_at: string;
|
|
158
158
|
loop_duration_ms?: number | null | undefined;
|
|
159
159
|
cache_key?: string | null | undefined;
|
|
@@ -167,17 +167,17 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
167
167
|
ttl_seconds: number;
|
|
168
168
|
idle?: "bundled" | undefined;
|
|
169
169
|
tiers?: {
|
|
170
|
-
|
|
170
|
+
image?: {
|
|
171
171
|
url: string;
|
|
172
172
|
expires_at: string;
|
|
173
|
-
kind?: "
|
|
173
|
+
kind?: "video" | "webp" | undefined;
|
|
174
174
|
loop_duration_ms?: number | null | undefined;
|
|
175
175
|
cache_key?: string | null | undefined;
|
|
176
176
|
} | undefined;
|
|
177
|
-
|
|
177
|
+
animation?: {
|
|
178
178
|
url: string;
|
|
179
179
|
expires_at: string;
|
|
180
|
-
kind?: "
|
|
180
|
+
kind?: "video" | "webp" | undefined;
|
|
181
181
|
loop_duration_ms?: number | null | undefined;
|
|
182
182
|
cache_key?: string | null | undefined;
|
|
183
183
|
} | undefined;
|
|
@@ -186,7 +186,7 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
186
186
|
weather_alert?: {
|
|
187
187
|
url: string;
|
|
188
188
|
expires_at: string;
|
|
189
|
-
kind?: "
|
|
189
|
+
kind?: "video" | "webp" | undefined;
|
|
190
190
|
loop_duration_ms?: number | null | undefined;
|
|
191
191
|
cache_key?: string | null | undefined;
|
|
192
192
|
} | undefined;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { A as AuthContext } from '../identity-
|
|
6
|
-
export { I as IdentityProvider, n as newSessionId } from '../identity-
|
|
7
|
-
import { P as PetRef } from '../ids-
|
|
8
|
-
export { B as Brand, U as UserRef, _ as __brand } from '../ids-
|
|
3
|
+
import { c as EverfurResult, E as EverfurError } from '../EverfurResult-DN9pL2Ab.js';
|
|
4
|
+
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurResult-DN9pL2Ab.js';
|
|
5
|
+
import { A as AuthContext } from '../identity-CEi9GRFZ.js';
|
|
6
|
+
export { I as IdentityProvider, n as newSessionId } from '../identity-CEi9GRFZ.js';
|
|
7
|
+
import { P as PetRef } from '../ids-B2GAAifq.js';
|
|
8
|
+
export { B as Brand, U as UserRef, _ as __brand } from '../ids-B2GAAifq.js';
|
|
9
9
|
import { z } from 'zod';
|
|
10
10
|
import { K as KvPort, C as CacheEpochGuard, I as ImageCachePort } from '../cacheEpoch-DknKn3S0.js';
|
|
11
11
|
export { a as CACHE_EPOCH_STORAGE_KEY, c as createCacheEpochGuard } from '../cacheEpoch-DknKn3S0.js';
|
|
12
12
|
import { T as TelemetryPort } from '../TelemetryPort-BDNr00hu.js';
|
|
13
|
-
import {
|
|
14
|
-
export {
|
|
15
|
-
export { A as AcceptedFrame,
|
|
13
|
+
import { D as DisabledLevel, a as CapabilityDecision } from '../resolve-D4Ywz5OS.js';
|
|
14
|
+
export { b as CapabilityDisabled, C as CapabilityName } from '../resolve-D4Ywz5OS.js';
|
|
15
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config-C7eb_IMD.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* The full /state payload. `degraded` + `cache_epoch` + `cache_key` are additive fields an older backend
|
|
@@ -28,15 +28,15 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
28
28
|
expires_at: z.ZodString;
|
|
29
29
|
cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
kind: "webp" | "video";
|
|
32
31
|
url: string;
|
|
32
|
+
kind: "video" | "webp";
|
|
33
33
|
expires_at: string;
|
|
34
34
|
loop_duration_ms?: number | null | undefined;
|
|
35
35
|
cache_key?: string | null | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
url: string;
|
|
38
38
|
expires_at: string;
|
|
39
|
-
kind?: "
|
|
39
|
+
kind?: "video" | "webp" | undefined;
|
|
40
40
|
loop_duration_ms?: number | null | undefined;
|
|
41
41
|
cache_key?: string | null | undefined;
|
|
42
42
|
}>>;
|
|
@@ -47,45 +47,45 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
47
47
|
expires_at: z.ZodString;
|
|
48
48
|
cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
kind: "webp" | "video";
|
|
51
50
|
url: string;
|
|
51
|
+
kind: "video" | "webp";
|
|
52
52
|
expires_at: string;
|
|
53
53
|
loop_duration_ms?: number | null | undefined;
|
|
54
54
|
cache_key?: string | null | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
url: string;
|
|
57
57
|
expires_at: string;
|
|
58
|
-
kind?: "
|
|
58
|
+
kind?: "video" | "webp" | undefined;
|
|
59
59
|
loop_duration_ms?: number | null | undefined;
|
|
60
60
|
cache_key?: string | null | undefined;
|
|
61
61
|
}>>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
|
|
64
|
-
kind: "webp" | "video";
|
|
63
|
+
image?: {
|
|
65
64
|
url: string;
|
|
65
|
+
kind: "video" | "webp";
|
|
66
66
|
expires_at: string;
|
|
67
67
|
loop_duration_ms?: number | null | undefined;
|
|
68
68
|
cache_key?: string | null | undefined;
|
|
69
69
|
} | undefined;
|
|
70
|
-
|
|
71
|
-
kind: "webp" | "video";
|
|
70
|
+
animation?: {
|
|
72
71
|
url: string;
|
|
72
|
+
kind: "video" | "webp";
|
|
73
73
|
expires_at: string;
|
|
74
74
|
loop_duration_ms?: number | null | undefined;
|
|
75
75
|
cache_key?: string | null | undefined;
|
|
76
76
|
} | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
|
|
78
|
+
image?: {
|
|
79
79
|
url: string;
|
|
80
80
|
expires_at: string;
|
|
81
|
-
kind?: "
|
|
81
|
+
kind?: "video" | "webp" | undefined;
|
|
82
82
|
loop_duration_ms?: number | null | undefined;
|
|
83
83
|
cache_key?: string | null | undefined;
|
|
84
84
|
} | undefined;
|
|
85
|
-
|
|
85
|
+
animation?: {
|
|
86
86
|
url: string;
|
|
87
87
|
expires_at: string;
|
|
88
|
-
kind?: "
|
|
88
|
+
kind?: "video" | "webp" | undefined;
|
|
89
89
|
loop_duration_ms?: number | null | undefined;
|
|
90
90
|
cache_key?: string | null | undefined;
|
|
91
91
|
} | undefined;
|
|
@@ -98,22 +98,22 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
98
98
|
expires_at: z.ZodString;
|
|
99
99
|
cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
kind: "webp" | "video";
|
|
102
101
|
url: string;
|
|
102
|
+
kind: "video" | "webp";
|
|
103
103
|
expires_at: string;
|
|
104
104
|
loop_duration_ms?: number | null | undefined;
|
|
105
105
|
cache_key?: string | null | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
url: string;
|
|
108
108
|
expires_at: string;
|
|
109
|
-
kind?: "
|
|
109
|
+
kind?: "video" | "webp" | undefined;
|
|
110
110
|
loop_duration_ms?: number | null | undefined;
|
|
111
111
|
cache_key?: string | null | undefined;
|
|
112
112
|
}>>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
weather_alert?: {
|
|
115
|
-
kind: "webp" | "video";
|
|
116
115
|
url: string;
|
|
116
|
+
kind: "video" | "webp";
|
|
117
117
|
expires_at: string;
|
|
118
118
|
loop_duration_ms?: number | null | undefined;
|
|
119
119
|
cache_key?: string | null | undefined;
|
|
@@ -122,7 +122,7 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
122
122
|
weather_alert?: {
|
|
123
123
|
url: string;
|
|
124
124
|
expires_at: string;
|
|
125
|
-
kind?: "
|
|
125
|
+
kind?: "video" | "webp" | undefined;
|
|
126
126
|
loop_duration_ms?: number | null | undefined;
|
|
127
127
|
cache_key?: string | null | undefined;
|
|
128
128
|
} | undefined;
|
|
@@ -135,16 +135,16 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
135
135
|
category: "health" | "attention" | "moment" | "activity" | "mood" | "idle";
|
|
136
136
|
idle: "bundled";
|
|
137
137
|
tiers: {
|
|
138
|
-
|
|
139
|
-
kind: "webp" | "video";
|
|
138
|
+
image?: {
|
|
140
139
|
url: string;
|
|
140
|
+
kind: "video" | "webp";
|
|
141
141
|
expires_at: string;
|
|
142
142
|
loop_duration_ms?: number | null | undefined;
|
|
143
143
|
cache_key?: string | null | undefined;
|
|
144
144
|
} | undefined;
|
|
145
|
-
|
|
146
|
-
kind: "webp" | "video";
|
|
145
|
+
animation?: {
|
|
147
146
|
url: string;
|
|
147
|
+
kind: "video" | "webp";
|
|
148
148
|
expires_at: string;
|
|
149
149
|
loop_duration_ms?: number | null | undefined;
|
|
150
150
|
cache_key?: string | null | undefined;
|
|
@@ -152,8 +152,8 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
152
152
|
};
|
|
153
153
|
overlays: {
|
|
154
154
|
weather_alert?: {
|
|
155
|
-
kind: "webp" | "video";
|
|
156
155
|
url: string;
|
|
156
|
+
kind: "video" | "webp";
|
|
157
157
|
expires_at: string;
|
|
158
158
|
loop_duration_ms?: number | null | undefined;
|
|
159
159
|
cache_key?: string | null | undefined;
|
|
@@ -167,17 +167,17 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
167
167
|
ttl_seconds: number;
|
|
168
168
|
idle?: "bundled" | undefined;
|
|
169
169
|
tiers?: {
|
|
170
|
-
|
|
170
|
+
image?: {
|
|
171
171
|
url: string;
|
|
172
172
|
expires_at: string;
|
|
173
|
-
kind?: "
|
|
173
|
+
kind?: "video" | "webp" | undefined;
|
|
174
174
|
loop_duration_ms?: number | null | undefined;
|
|
175
175
|
cache_key?: string | null | undefined;
|
|
176
176
|
} | undefined;
|
|
177
|
-
|
|
177
|
+
animation?: {
|
|
178
178
|
url: string;
|
|
179
179
|
expires_at: string;
|
|
180
|
-
kind?: "
|
|
180
|
+
kind?: "video" | "webp" | undefined;
|
|
181
181
|
loop_duration_ms?: number | null | undefined;
|
|
182
182
|
cache_key?: string | null | undefined;
|
|
183
183
|
} | undefined;
|
|
@@ -186,7 +186,7 @@ declare const petStateResponseWireSchema: z.ZodObject<{
|
|
|
186
186
|
weather_alert?: {
|
|
187
187
|
url: string;
|
|
188
188
|
expires_at: string;
|
|
189
|
-
kind?: "
|
|
189
|
+
kind?: "video" | "webp" | undefined;
|
|
190
190
|
loop_duration_ms?: number | null | undefined;
|
|
191
191
|
cache_key?: string | null | undefined;
|
|
192
192
|
} | undefined;
|