@oxy.so/contracts 5.8.0 → 6.1.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.
Files changed (231) hide show
  1. package/dist/cjs/accountAccess.js +6 -5
  2. package/dist/cjs/accountEmail.js +13 -5
  3. package/dist/cjs/accountGraph.js +10 -9
  4. package/dist/cjs/accountName.js +3 -2
  5. package/dist/cjs/agency.js +91 -34
  6. package/dist/cjs/agentKeys.js +21 -17
  7. package/dist/cjs/appAssertions.js +14 -13
  8. package/dist/cjs/applicationRoles.js +19 -12
  9. package/dist/cjs/campaignAttribution.js +28 -0
  10. package/dist/cjs/civic.js +10 -9
  11. package/dist/cjs/client/campaignAttribution.js +14 -0
  12. package/dist/cjs/client/check.js +61 -53
  13. package/dist/cjs/client/index.js +7 -1
  14. package/dist/cjs/client/language.js +7 -0
  15. package/dist/cjs/consoleOnboarding.js +9 -4
  16. package/dist/cjs/contentClaims.js +23 -14
  17. package/dist/cjs/deviceDirectory.js +11 -9
  18. package/dist/cjs/deviceSession.js +27 -25
  19. package/dist/cjs/email/messages.js +20 -18
  20. package/dist/cjs/emailAgentContext.js +11 -9
  21. package/dist/cjs/externalIdentity.js +15 -11
  22. package/dist/cjs/federationInstanceFetch.js +12 -7
  23. package/dist/cjs/identity.js +19 -17
  24. package/dist/cjs/identityLink.js +6 -4
  25. package/dist/cjs/identityProof.js +6 -4
  26. package/dist/cjs/inboxPush.js +5 -4
  27. package/dist/cjs/index.js +17 -6
  28. package/dist/cjs/inference/accountBilling.js +35 -33
  29. package/dist/cjs/inference/aliaModelRelease.js +9 -7
  30. package/dist/cjs/inference/attribution.js +14 -12
  31. package/dist/cjs/inference/catalogue.js +35 -29
  32. package/dist/cjs/inference/economics.js +24 -19
  33. package/dist/cjs/inference/embeddings.js +9 -7
  34. package/dist/cjs/inference/entitlement.js +17 -15
  35. package/dist/cjs/inference/errors.js +15 -8
  36. package/dist/cjs/inference/identifiers.js +33 -21
  37. package/dist/cjs/inference/inbox.js +37 -35
  38. package/dist/cjs/inference/modelDocumentation.js +16 -14
  39. package/dist/cjs/inference/money.js +5 -4
  40. package/dist/cjs/inference/priceVersion.js +10 -5
  41. package/dist/cjs/inference/providerConnection.js +21 -14
  42. package/dist/cjs/inference/realtime.js +88 -47
  43. package/dist/cjs/inference/request.js +27 -25
  44. package/dist/cjs/inference/routingPolicy.js +12 -10
  45. package/dist/cjs/inference/streamEvents.js +22 -16
  46. package/dist/cjs/inference/usage.js +32 -15
  47. package/dist/cjs/keyRecovery.js +8 -6
  48. package/dist/cjs/keyRotation.js +5 -4
  49. package/dist/cjs/linkedAccounts.js +22 -18
  50. package/dist/cjs/moderationReputation.js +29 -27
  51. package/dist/cjs/notifications.js +25 -9
  52. package/dist/cjs/numberChecks.js +45 -0
  53. package/dist/cjs/oauth.js +14 -12
  54. package/dist/cjs/organizations.js +23 -21
  55. package/dist/cjs/products/access.js +10 -8
  56. package/dist/cjs/products/billing.js +10 -8
  57. package/dist/cjs/products/checkout.js +22 -10
  58. package/dist/cjs/products/plans.js +15 -10
  59. package/dist/cjs/protocol.js +6 -5
  60. package/dist/cjs/recommendations.js +27 -19
  61. package/dist/cjs/reputation.js +15 -13
  62. package/dist/cjs/safety.js +43 -27
  63. package/dist/cjs/serviceToken.js +81 -2
  64. package/dist/cjs/sessionRevocation.js +8 -6
  65. package/dist/cjs/signIn.js +50 -24
  66. package/dist/cjs/stickers.js +19 -15
  67. package/dist/cjs/stringChecks.js +70 -0
  68. package/dist/cjs/transparency.js +14 -12
  69. package/dist/cjs/updates.js +24 -22
  70. package/dist/cjs/userInvalidation.js +7 -5
  71. package/dist/cjs/userResponse.js +8 -7
  72. package/dist/cjs/username.js +7 -6
  73. package/dist/esm/accountAccess.js +4 -3
  74. package/dist/esm/accountEmail.js +13 -5
  75. package/dist/esm/accountGraph.js +8 -7
  76. package/dist/esm/accountName.js +3 -2
  77. package/dist/esm/agency.js +90 -33
  78. package/dist/esm/agentKeys.js +21 -17
  79. package/dist/esm/appAssertions.js +11 -10
  80. package/dist/esm/applicationRoles.js +16 -9
  81. package/dist/esm/campaignAttribution.js +25 -0
  82. package/dist/esm/civic.js +8 -7
  83. package/dist/esm/client/campaignAttribution.js +10 -0
  84. package/dist/esm/client/check.js +61 -53
  85. package/dist/esm/client/index.js +2 -0
  86. package/dist/esm/client/language.js +4 -0
  87. package/dist/esm/consoleOnboarding.js +7 -2
  88. package/dist/esm/contentClaims.js +23 -14
  89. package/dist/esm/deviceDirectory.js +11 -9
  90. package/dist/esm/deviceSession.js +27 -25
  91. package/dist/esm/email/messages.js +18 -16
  92. package/dist/esm/emailAgentContext.js +11 -9
  93. package/dist/esm/externalIdentity.js +15 -11
  94. package/dist/esm/federationInstanceFetch.js +10 -5
  95. package/dist/esm/identity.js +17 -15
  96. package/dist/esm/identityLink.js +6 -4
  97. package/dist/esm/identityProof.js +6 -4
  98. package/dist/esm/inboxPush.js +3 -2
  99. package/dist/esm/index.js +5 -2
  100. package/dist/esm/inference/accountBilling.js +33 -31
  101. package/dist/esm/inference/aliaModelRelease.js +7 -5
  102. package/dist/esm/inference/attribution.js +14 -12
  103. package/dist/esm/inference/catalogue.js +33 -27
  104. package/dist/esm/inference/economics.js +22 -17
  105. package/dist/esm/inference/embeddings.js +9 -7
  106. package/dist/esm/inference/entitlement.js +15 -13
  107. package/dist/esm/inference/errors.js +13 -6
  108. package/dist/esm/inference/identifiers.js +31 -19
  109. package/dist/esm/inference/inbox.js +37 -35
  110. package/dist/esm/inference/modelDocumentation.js +14 -12
  111. package/dist/esm/inference/money.js +3 -2
  112. package/dist/esm/inference/priceVersion.js +8 -3
  113. package/dist/esm/inference/providerConnection.js +19 -12
  114. package/dist/esm/inference/realtime.js +85 -44
  115. package/dist/esm/inference/request.js +25 -23
  116. package/dist/esm/inference/routingPolicy.js +9 -7
  117. package/dist/esm/inference/streamEvents.js +20 -14
  118. package/dist/esm/inference/usage.js +30 -13
  119. package/dist/esm/keyRecovery.js +8 -6
  120. package/dist/esm/keyRotation.js +5 -4
  121. package/dist/esm/linkedAccounts.js +20 -16
  122. package/dist/esm/moderationReputation.js +27 -25
  123. package/dist/esm/notifications.js +23 -7
  124. package/dist/esm/numberChecks.js +41 -0
  125. package/dist/esm/oauth.js +14 -12
  126. package/dist/esm/organizations.js +23 -21
  127. package/dist/esm/products/access.js +10 -8
  128. package/dist/esm/products/billing.js +10 -8
  129. package/dist/esm/products/checkout.js +22 -10
  130. package/dist/esm/products/plans.js +15 -10
  131. package/dist/esm/protocol.js +4 -3
  132. package/dist/esm/recommendations.js +25 -17
  133. package/dist/esm/reputation.js +13 -11
  134. package/dist/esm/safety.js +43 -27
  135. package/dist/esm/serviceToken.js +80 -1
  136. package/dist/esm/sessionRevocation.js +6 -4
  137. package/dist/esm/signIn.js +50 -24
  138. package/dist/esm/stickers.js +17 -13
  139. package/dist/esm/stringChecks.js +63 -0
  140. package/dist/esm/transparency.js +14 -12
  141. package/dist/esm/updates.js +22 -20
  142. package/dist/esm/userInvalidation.js +4 -2
  143. package/dist/esm/userResponse.js +4 -3
  144. package/dist/esm/username.js +3 -2
  145. package/dist/types/accountAccess.d.ts +29 -70
  146. package/dist/types/accountEmail.d.ts +2 -14
  147. package/dist/types/accountGraph.d.ts +179 -171
  148. package/dist/types/accountName.d.ts +1 -1
  149. package/dist/types/accountSubject.d.ts +20 -93
  150. package/dist/types/agency.d.ts +528 -2924
  151. package/dist/types/agentKeys.d.ts +48 -421
  152. package/dist/types/appAssertions.d.ts +56 -210
  153. package/dist/types/applicationRoles.d.ts +30 -276
  154. package/dist/types/avatarCharacter.d.ts +1 -1
  155. package/dist/types/campaignAttribution.d.ts +10 -0
  156. package/dist/types/civic.d.ts +1 -13
  157. package/dist/types/client/agentKeys.d.ts +18 -18
  158. package/dist/types/client/appAssertions.d.ts +3 -3
  159. package/dist/types/client/campaignAttribution.d.ts +12 -0
  160. package/dist/types/client/check.d.ts +13 -13
  161. package/dist/types/client/deviceDirectory.d.ts +51 -51
  162. package/dist/types/client/deviceSession.d.ts +14 -14
  163. package/dist/types/client/index.d.ts +3 -0
  164. package/dist/types/client/language.d.ts +2 -0
  165. package/dist/types/client/organizations.d.ts +25 -25
  166. package/dist/types/client/products.d.ts +33 -33
  167. package/dist/types/client/recommendations.d.ts +2 -2
  168. package/dist/types/client/safety.d.ts +45 -45
  169. package/dist/types/client/sessionStatus.d.ts +4 -4
  170. package/dist/types/client/signIn.d.ts +1 -1
  171. package/dist/types/commonsSignIn.d.ts +4 -1
  172. package/dist/types/consoleOnboarding.d.ts +24 -44
  173. package/dist/types/contentClaims.d.ts +24 -180
  174. package/dist/types/deviceDirectory.d.ts +109 -1040
  175. package/dist/types/deviceSession.d.ts +36 -298
  176. package/dist/types/email/messages.d.ts +212 -1793
  177. package/dist/types/emailAgentContext.d.ts +10 -194
  178. package/dist/types/externalIdentity.d.ts +121 -615
  179. package/dist/types/federationInstanceFetch.d.ts +3 -32
  180. package/dist/types/identity.d.ts +15 -92
  181. package/dist/types/identityLink.d.ts +6 -84
  182. package/dist/types/identityProof.d.ts +5 -17
  183. package/dist/types/inboxPush.d.ts +1 -9
  184. package/dist/types/index.d.ts +7 -3
  185. package/dist/types/inference/accountBilling.d.ts +151 -488
  186. package/dist/types/inference/aliaModelRelease.d.ts +42 -439
  187. package/dist/types/inference/attribution.d.ts +75 -104
  188. package/dist/types/inference/catalogue.d.ts +417 -1599
  189. package/dist/types/inference/economics.d.ts +69 -276
  190. package/dist/types/inference/embeddings.d.ts +110 -406
  191. package/dist/types/inference/entitlement.d.ts +80 -335
  192. package/dist/types/inference/errors.d.ts +90 -102
  193. package/dist/types/inference/identifiers.d.ts +12 -4
  194. package/dist/types/inference/inbox.d.ts +105 -420
  195. package/dist/types/inference/modelDocumentation.d.ts +201 -1390
  196. package/dist/types/inference/money.d.ts +65 -32
  197. package/dist/types/inference/priceVersion.d.ts +53 -120
  198. package/dist/types/inference/providerConnection.d.ts +253 -710
  199. package/dist/types/inference/realtime.d.ts +954 -6825
  200. package/dist/types/inference/request.d.ts +300 -2572
  201. package/dist/types/inference/routingPolicy.d.ts +95 -503
  202. package/dist/types/inference/streamEvents.d.ts +253 -721
  203. package/dist/types/inference/usage.d.ts +317 -950
  204. package/dist/types/keyRecovery.d.ts +3 -51
  205. package/dist/types/keyRotation.d.ts +3 -38
  206. package/dist/types/linkedAccounts.d.ts +50 -236
  207. package/dist/types/moderationReputation.d.ts +81 -14
  208. package/dist/types/notifications.d.ts +19 -51
  209. package/dist/types/numberChecks.d.ts +9 -0
  210. package/dist/types/oauth.d.ts +101 -809
  211. package/dist/types/organizations.d.ts +268 -921
  212. package/dist/types/oxyRecordTypes.d.ts +11 -1
  213. package/dist/types/products/access.d.ts +125 -775
  214. package/dist/types/products/billing.d.ts +67 -503
  215. package/dist/types/products/checkout.d.ts +16 -69
  216. package/dist/types/products/plans.d.ts +33 -366
  217. package/dist/types/recommendations.d.ts +76 -389
  218. package/dist/types/reputation.d.ts +37 -5
  219. package/dist/types/safety.d.ts +408 -2048
  220. package/dist/types/serviceToken.d.ts +247 -7
  221. package/dist/types/sessionRevocation.d.ts +2 -17
  222. package/dist/types/sessionStatus.d.ts +27 -115
  223. package/dist/types/signIn.d.ts +62 -553
  224. package/dist/types/stickers.d.ts +67 -819
  225. package/dist/types/stringChecks.d.ts +16 -0
  226. package/dist/types/transparency.d.ts +14 -302
  227. package/dist/types/updates.d.ts +60 -316
  228. package/dist/types/userInvalidation.d.ts +4 -13
  229. package/dist/types/userResponse.d.ts +302 -2400
  230. package/dist/types/username.d.ts +3 -3
  231. package/package.json +6 -4
@@ -62,13 +62,7 @@ export type EmailDeliveryErrorCode = (typeof EMAIL_DELIVERY_ERROR_CODES)[number]
62
62
  export declare const emailMessageAddressSchema: z.ZodObject<{
63
63
  name: z.ZodString;
64
64
  address: z.ZodString;
65
- }, "strip", z.ZodTypeAny, {
66
- name: string;
67
- address: string;
68
- }, {
69
- name: string;
70
- address: string;
71
- }>;
65
+ }, z.core.$strip>;
72
66
  export type EmailMessageAddressWire = z.infer<typeof emailMessageAddressSchema>;
73
67
  /**
74
68
  * One attached file. `contentId` is `null` — present, not absent — when the
@@ -81,21 +75,7 @@ export declare const emailAttachmentSchema: z.ZodObject<{
81
75
  size: z.ZodNumber;
82
76
  contentId: z.ZodNullable<z.ZodString>;
83
77
  isInline: z.ZodBoolean;
84
- }, "strip", z.ZodTypeAny, {
85
- name: string;
86
- contentType: string;
87
- size: number;
88
- fileId: string;
89
- contentId: string | null;
90
- isInline: boolean;
91
- }, {
92
- name: string;
93
- contentType: string;
94
- size: number;
95
- fileId: string;
96
- contentId: string | null;
97
- isInline: boolean;
98
- }>;
78
+ }, z.core.$strip>;
99
79
  export type EmailAttachmentWire = z.infer<typeof emailAttachmentSchema>;
100
80
  export declare const emailMessageFlagsSchema: z.ZodObject<{
101
81
  seen: z.ZodBoolean;
@@ -104,54 +84,28 @@ export declare const emailMessageFlagsSchema: z.ZodObject<{
104
84
  forwarded: z.ZodBoolean;
105
85
  draft: z.ZodBoolean;
106
86
  pinned: z.ZodBoolean;
107
- }, "strip", z.ZodTypeAny, {
108
- draft: boolean;
109
- seen: boolean;
110
- answered: boolean;
111
- starred: boolean;
112
- forwarded: boolean;
113
- pinned: boolean;
114
- }, {
115
- draft: boolean;
116
- seen: boolean;
117
- answered: boolean;
118
- starred: boolean;
119
- forwarded: boolean;
120
- pinned: boolean;
121
- }>;
87
+ }, z.core.$strip>;
122
88
  export type EmailMessageFlagsWire = z.infer<typeof emailMessageFlagsSchema>;
123
89
  /** The AI-extracted card. Every field but `type` may be unknown. */
124
90
  export declare const emailMessageCardSchema: z.ZodObject<{
125
- type: z.ZodEnum<["trip", "purchase", "event", "bill", "package"]>;
91
+ type: z.ZodEnum<{
92
+ event: "event";
93
+ purchase: "purchase";
94
+ trip: "trip";
95
+ bill: "bill";
96
+ package: "package";
97
+ }>;
126
98
  data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
127
99
  confidence: z.ZodNullable<z.ZodNumber>;
128
100
  extractedAt: z.ZodNullable<z.ZodString>;
129
- }, "strip", z.ZodTypeAny, {
130
- type: "event" | "purchase" | "trip" | "bill" | "package";
131
- data: Record<string, unknown> | null;
132
- confidence: number | null;
133
- extractedAt: string | null;
134
- }, {
135
- type: "event" | "purchase" | "trip" | "bill" | "package";
136
- data: Record<string, unknown> | null;
137
- confidence: number | null;
138
- extractedAt: string | null;
139
- }>;
101
+ }, z.core.$strip>;
140
102
  export type EmailMessageCardWire = z.infer<typeof emailMessageCardSchema>;
141
103
  /** One extracted key/value rendered as a chip. */
142
104
  export declare const emailMessageHighlightSchema: z.ZodObject<{
143
105
  type: z.ZodString;
144
106
  value: z.ZodString;
145
107
  label: z.ZodString;
146
- }, "strip", z.ZodTypeAny, {
147
- value: string;
148
- type: string;
149
- label: string;
150
- }, {
151
- value: string;
152
- type: string;
153
- label: string;
154
- }>;
108
+ }, z.core.$strip>;
155
109
  export type EmailMessageHighlightWire = z.infer<typeof emailMessageHighlightSchema>;
156
110
  /**
157
111
  * The delivery of a message the user sent. `error` is the relay's own words;
@@ -161,30 +115,27 @@ export type EmailMessageHighlightWire = z.infer<typeof emailMessageHighlightSche
161
115
  * `nextAttemptAt` is set only while `retrying`.
162
116
  */
163
117
  export declare const emailMessageDeliverySchema: z.ZodObject<{
164
- state: z.ZodEnum<["sending", "retrying", "sent", "failed"]>;
118
+ state: z.ZodEnum<{
119
+ failed: "failed";
120
+ sent: "sent";
121
+ sending: "sending";
122
+ retrying: "retrying";
123
+ }>;
165
124
  attempts: z.ZodNumber;
166
125
  maxAttempts: z.ZodNumber;
167
126
  nextAttemptAt: z.ZodNullable<z.ZodString>;
168
127
  error: z.ZodNullable<z.ZodString>;
169
- errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<["relay_unavailable", "relay_unconfigured", "relay_auth", "rejected", "retries_exhausted", "bounced", "cancelled"]>>>;
128
+ errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<{
129
+ rejected: "rejected";
130
+ cancelled: "cancelled";
131
+ relay_unavailable: "relay_unavailable";
132
+ relay_unconfigured: "relay_unconfigured";
133
+ relay_auth: "relay_auth";
134
+ retries_exhausted: "retries_exhausted";
135
+ bounced: "bounced";
136
+ }>>>;
170
137
  updatedAt: z.ZodString;
171
- }, "strip", z.ZodTypeAny, {
172
- updatedAt: string;
173
- error: string | null;
174
- state: "failed" | "sent" | "sending" | "retrying";
175
- attempts: number;
176
- maxAttempts: number;
177
- nextAttemptAt: string | null;
178
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
179
- }, {
180
- updatedAt: string;
181
- error: string | null;
182
- state: "failed" | "sent" | "sending" | "retrying";
183
- attempts: number;
184
- maxAttempts: number;
185
- nextAttemptAt: string | null;
186
- errorCode?: unknown;
187
- }>;
138
+ }, z.core.$strip>;
188
139
  export type EmailMessageDeliveryWire = z.infer<typeof emailMessageDeliverySchema>;
189
140
  /**
190
141
  * A stored message as every `/email` read returns it.
@@ -203,53 +154,23 @@ export declare const emailMessageSchema: z.ZodObject<{
203
154
  from: z.ZodObject<{
204
155
  name: z.ZodString;
205
156
  address: z.ZodString;
206
- }, "strip", z.ZodTypeAny, {
207
- name: string;
208
- address: string;
209
- }, {
210
- name: string;
211
- address: string;
212
- }>;
157
+ }, z.core.$strip>;
213
158
  to: z.ZodArray<z.ZodObject<{
214
159
  name: z.ZodString;
215
160
  address: z.ZodString;
216
- }, "strip", z.ZodTypeAny, {
217
- name: string;
218
- address: string;
219
- }, {
220
- name: string;
221
- address: string;
222
- }>, "many">;
161
+ }, z.core.$strip>>;
223
162
  cc: z.ZodArray<z.ZodObject<{
224
163
  name: z.ZodString;
225
164
  address: z.ZodString;
226
- }, "strip", z.ZodTypeAny, {
227
- name: string;
228
- address: string;
229
- }, {
230
- name: string;
231
- address: string;
232
- }>, "many">;
165
+ }, z.core.$strip>>;
233
166
  bcc: z.ZodArray<z.ZodObject<{
234
167
  name: z.ZodString;
235
168
  address: z.ZodString;
236
- }, "strip", z.ZodTypeAny, {
237
- name: string;
238
- address: string;
239
- }, {
240
- name: string;
241
- address: string;
242
- }>, "many">;
169
+ }, z.core.$strip>>;
243
170
  replyTo: z.ZodOptional<z.ZodObject<{
244
171
  name: z.ZodString;
245
172
  address: z.ZodString;
246
- }, "strip", z.ZodTypeAny, {
247
- name: string;
248
- address: string;
249
- }, {
250
- name: string;
251
- address: string;
252
- }>>;
173
+ }, z.core.$strip>>;
253
174
  subject: z.ZodString;
254
175
  attachments: z.ZodArray<z.ZodObject<{
255
176
  fileId: z.ZodString;
@@ -258,21 +179,7 @@ export declare const emailMessageSchema: z.ZodObject<{
258
179
  size: z.ZodNumber;
259
180
  contentId: z.ZodNullable<z.ZodString>;
260
181
  isInline: z.ZodBoolean;
261
- }, "strip", z.ZodTypeAny, {
262
- name: string;
263
- contentType: string;
264
- size: number;
265
- fileId: string;
266
- contentId: string | null;
267
- isInline: boolean;
268
- }, {
269
- name: string;
270
- contentType: string;
271
- size: number;
272
- fileId: string;
273
- contentId: string | null;
274
- isInline: boolean;
275
- }>, "many">;
182
+ }, z.core.$strip>>;
276
183
  flags: z.ZodObject<{
277
184
  seen: z.ZodBoolean;
278
185
  starred: z.ZodBoolean;
@@ -280,57 +187,31 @@ export declare const emailMessageSchema: z.ZodObject<{
280
187
  forwarded: z.ZodBoolean;
281
188
  draft: z.ZodBoolean;
282
189
  pinned: z.ZodBoolean;
283
- }, "strip", z.ZodTypeAny, {
284
- draft: boolean;
285
- seen: boolean;
286
- answered: boolean;
287
- starred: boolean;
288
- forwarded: boolean;
289
- pinned: boolean;
290
- }, {
291
- draft: boolean;
292
- seen: boolean;
293
- answered: boolean;
294
- starred: boolean;
295
- forwarded: boolean;
296
- pinned: boolean;
297
- }>;
298
- labels: z.ZodArray<z.ZodString, "many">;
190
+ }, z.core.$strip>;
191
+ labels: z.ZodArray<z.ZodString>;
299
192
  card: z.ZodOptional<z.ZodObject<{
300
- type: z.ZodEnum<["trip", "purchase", "event", "bill", "package"]>;
193
+ type: z.ZodEnum<{
194
+ event: "event";
195
+ purchase: "purchase";
196
+ trip: "trip";
197
+ bill: "bill";
198
+ package: "package";
199
+ }>;
301
200
  data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
302
201
  confidence: z.ZodNullable<z.ZodNumber>;
303
202
  extractedAt: z.ZodNullable<z.ZodString>;
304
- }, "strip", z.ZodTypeAny, {
305
- type: "event" | "purchase" | "trip" | "bill" | "package";
306
- data: Record<string, unknown> | null;
307
- confidence: number | null;
308
- extractedAt: string | null;
309
- }, {
310
- type: "event" | "purchase" | "trip" | "bill" | "package";
311
- data: Record<string, unknown> | null;
312
- confidence: number | null;
313
- extractedAt: string | null;
314
- }>>;
203
+ }, z.core.$strip>>;
315
204
  highlights: z.ZodArray<z.ZodObject<{
316
205
  type: z.ZodString;
317
206
  value: z.ZodString;
318
207
  label: z.ZodString;
319
- }, "strip", z.ZodTypeAny, {
320
- value: string;
321
- type: string;
322
- label: string;
323
- }, {
324
- value: string;
325
- type: string;
326
- label: string;
327
- }>, "many">;
208
+ }, z.core.$strip>>;
328
209
  encrypted: z.ZodBoolean;
329
210
  spamScore: z.ZodNullable<z.ZodNumber>;
330
211
  spamAction: z.ZodNullable<z.ZodString>;
331
212
  size: z.ZodNumber;
332
213
  inReplyTo: z.ZodNullable<z.ZodString>;
333
- references: z.ZodArray<z.ZodString, "many">;
214
+ references: z.ZodArray<z.ZodString>;
334
215
  aliasTag: z.ZodNullable<z.ZodString>;
335
216
  snoozedUntil: z.ZodNullable<z.ZodString>;
336
217
  snoozedFromMailbox: z.ZodNullable<z.ZodString>;
@@ -342,213 +223,35 @@ export declare const emailMessageSchema: z.ZodObject<{
342
223
  createdAt: z.ZodString;
343
224
  updatedAt: z.ZodString;
344
225
  draftRevision: z.ZodNumber;
345
- /** Present only on the reads that return bodies (single message, thread). */
346
226
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
347
227
  html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
228
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
349
229
  senderAvatarPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
- /** Present only on list reads that walked the thread. */
351
230
  threadCount: z.ZodOptional<z.ZodNumber>;
352
- threadParticipants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
353
- /**
354
- * Present only on a message the user sent through Oxy since delivery was
355
- * tracked; absent on received mail. A delivery this client cannot read is
356
- * dropped rather than allowed to drop the message with it.
357
- */
231
+ threadParticipants: z.ZodOptional<z.ZodArray<z.ZodString>>;
358
232
  delivery: z.ZodCatch<z.ZodOptional<z.ZodObject<{
359
- state: z.ZodEnum<["sending", "retrying", "sent", "failed"]>;
233
+ state: z.ZodEnum<{
234
+ failed: "failed";
235
+ sent: "sent";
236
+ sending: "sending";
237
+ retrying: "retrying";
238
+ }>;
360
239
  attempts: z.ZodNumber;
361
240
  maxAttempts: z.ZodNumber;
362
241
  nextAttemptAt: z.ZodNullable<z.ZodString>;
363
242
  error: z.ZodNullable<z.ZodString>;
364
- errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<["relay_unavailable", "relay_unconfigured", "relay_auth", "rejected", "retries_exhausted", "bounced", "cancelled"]>>>;
243
+ errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<{
244
+ rejected: "rejected";
245
+ cancelled: "cancelled";
246
+ relay_unavailable: "relay_unavailable";
247
+ relay_unconfigured: "relay_unconfigured";
248
+ relay_auth: "relay_auth";
249
+ retries_exhausted: "retries_exhausted";
250
+ bounced: "bounced";
251
+ }>>>;
365
252
  updatedAt: z.ZodString;
366
- }, "strip", z.ZodTypeAny, {
367
- updatedAt: string;
368
- error: string | null;
369
- state: "failed" | "sent" | "sending" | "retrying";
370
- attempts: number;
371
- maxAttempts: number;
372
- nextAttemptAt: string | null;
373
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
374
- }, {
375
- updatedAt: string;
376
- error: string | null;
377
- state: "failed" | "sent" | "sending" | "retrying";
378
- attempts: number;
379
- maxAttempts: number;
380
- nextAttemptAt: string | null;
381
- errorCode?: unknown;
382
- }>>>;
383
- }, "strip", z.ZodTypeAny, {
384
- date: string;
385
- createdAt: string;
386
- updatedAt: string;
387
- id: string;
388
- subject: string;
389
- userId: string;
390
- _id: string;
391
- mailboxId: string;
392
- messageId: string;
393
- from: {
394
- name: string;
395
- address: string;
396
- };
397
- receivedAt: string;
398
- size: number;
399
- labels: string[];
400
- to: {
401
- name: string;
402
- address: string;
403
- }[];
404
- threadId: string;
405
- cc: {
406
- name: string;
407
- address: string;
408
- }[];
409
- bcc: {
410
- name: string;
411
- address: string;
412
- }[];
413
- attachments: {
414
- name: string;
415
- contentType: string;
416
- size: number;
417
- fileId: string;
418
- contentId: string | null;
419
- isInline: boolean;
420
- }[];
421
- flags: {
422
- draft: boolean;
423
- seen: boolean;
424
- answered: boolean;
425
- starred: boolean;
426
- forwarded: boolean;
427
- pinned: boolean;
428
- };
429
- highlights: {
430
- value: string;
431
- type: string;
432
- label: string;
433
- }[];
434
- encrypted: boolean;
435
- spamScore: number | null;
436
- spamAction: string | null;
437
- inReplyTo: string | null;
438
- references: string[];
439
- aliasTag: string | null;
440
- snoozedUntil: string | null;
441
- snoozedFromMailbox: string | null;
442
- scheduledAt: string | null;
443
- readReceiptRequested: boolean;
444
- readReceiptSent: boolean;
445
- draftRevision: number;
446
- card?: {
447
- type: "event" | "purchase" | "trip" | "bill" | "package";
448
- data: Record<string, unknown> | null;
449
- confidence: number | null;
450
- extractedAt: string | null;
451
- } | undefined;
452
- headers?: Record<string, string> | undefined;
453
- text?: string | null | undefined;
454
- replyTo?: {
455
- name: string;
456
- address: string;
457
- } | undefined;
458
- html?: string | null | undefined;
459
- senderAvatarPath?: string | null | undefined;
460
- threadCount?: number | undefined;
461
- threadParticipants?: string[] | undefined;
462
- delivery?: {
463
- updatedAt: string;
464
- error: string | null;
465
- state: "failed" | "sent" | "sending" | "retrying";
466
- attempts: number;
467
- maxAttempts: number;
468
- nextAttemptAt: string | null;
469
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
470
- } | undefined;
471
- }, {
472
- date: string;
473
- createdAt: string;
474
- updatedAt: string;
475
- id: string;
476
- subject: string;
477
- userId: string;
478
- _id: string;
479
- mailboxId: string;
480
- messageId: string;
481
- from: {
482
- name: string;
483
- address: string;
484
- };
485
- receivedAt: string;
486
- size: number;
487
- labels: string[];
488
- to: {
489
- name: string;
490
- address: string;
491
- }[];
492
- threadId: string;
493
- cc: {
494
- name: string;
495
- address: string;
496
- }[];
497
- bcc: {
498
- name: string;
499
- address: string;
500
- }[];
501
- attachments: {
502
- name: string;
503
- contentType: string;
504
- size: number;
505
- fileId: string;
506
- contentId: string | null;
507
- isInline: boolean;
508
- }[];
509
- flags: {
510
- draft: boolean;
511
- seen: boolean;
512
- answered: boolean;
513
- starred: boolean;
514
- forwarded: boolean;
515
- pinned: boolean;
516
- };
517
- highlights: {
518
- value: string;
519
- type: string;
520
- label: string;
521
- }[];
522
- encrypted: boolean;
523
- spamScore: number | null;
524
- spamAction: string | null;
525
- inReplyTo: string | null;
526
- references: string[];
527
- aliasTag: string | null;
528
- snoozedUntil: string | null;
529
- snoozedFromMailbox: string | null;
530
- scheduledAt: string | null;
531
- readReceiptRequested: boolean;
532
- readReceiptSent: boolean;
533
- draftRevision: number;
534
- card?: {
535
- type: "event" | "purchase" | "trip" | "bill" | "package";
536
- data: Record<string, unknown> | null;
537
- confidence: number | null;
538
- extractedAt: string | null;
539
- } | undefined;
540
- headers?: Record<string, string> | undefined;
541
- text?: string | null | undefined;
542
- replyTo?: {
543
- name: string;
544
- address: string;
545
- } | undefined;
546
- html?: string | null | undefined;
547
- senderAvatarPath?: string | null | undefined;
548
- threadCount?: number | undefined;
549
- threadParticipants?: string[] | undefined;
550
- delivery?: unknown;
551
- }>;
253
+ }, z.core.$strip>>>;
254
+ }, z.core.$strip>;
552
255
  export type EmailMessageWire = z.infer<typeof emailMessageSchema>;
553
256
  export declare const emailMailboxSchema: z.ZodObject<{
554
257
  _id: z.ZodString;
@@ -563,33 +266,7 @@ export declare const emailMailboxSchema: z.ZodObject<{
563
266
  size: z.ZodNumber;
564
267
  createdAt: z.ZodString;
565
268
  updatedAt: z.ZodString;
566
- }, "strip", z.ZodTypeAny, {
567
- path: string;
568
- name: string;
569
- createdAt: string;
570
- updatedAt: string;
571
- id: string;
572
- userId: string;
573
- _id: string;
574
- totalMessages: number;
575
- unseenMessages: number;
576
- size: number;
577
- retentionDays: number | null;
578
- specialUse: string | null;
579
- }, {
580
- path: string;
581
- name: string;
582
- createdAt: string;
583
- updatedAt: string;
584
- id: string;
585
- userId: string;
586
- _id: string;
587
- totalMessages: number;
588
- unseenMessages: number;
589
- size: number;
590
- retentionDays: number | null;
591
- specialUse: string | null;
592
- }>;
269
+ }, z.core.$strip>;
593
270
  export type EmailMailboxWire = z.infer<typeof emailMailboxSchema>;
594
271
  /** A label the user made. */
595
272
  export declare const emailUserLabelSchema: z.ZodObject<{
@@ -602,27 +279,7 @@ export declare const emailUserLabelSchema: z.ZodObject<{
602
279
  system: z.ZodLiteral<false>;
603
280
  createdAt: z.ZodString;
604
281
  updatedAt: z.ZodString;
605
- }, "strip", z.ZodTypeAny, {
606
- color: string;
607
- name: string;
608
- createdAt: string;
609
- updatedAt: string;
610
- id: string;
611
- system: false;
612
- userId: string;
613
- _id: string;
614
- order: number;
615
- }, {
616
- color: string;
617
- name: string;
618
- createdAt: string;
619
- updatedAt: string;
620
- id: string;
621
- system: false;
622
- userId: string;
623
- _id: string;
624
- order: number;
625
- }>;
282
+ }, z.core.$strip>;
626
283
  export type EmailUserLabelWire = z.infer<typeof emailUserLabelSchema>;
627
284
  /** One of the product's built-in labels; `_id` is `system:<name>`. */
628
285
  export declare const emailSystemLabelSchema: z.ZodObject<{
@@ -631,21 +288,9 @@ export declare const emailSystemLabelSchema: z.ZodObject<{
631
288
  color: z.ZodString;
632
289
  order: z.ZodNumber;
633
290
  system: z.ZodLiteral<true>;
634
- }, "strip", z.ZodTypeAny, {
635
- color: string;
636
- name: string;
637
- system: true;
638
- _id: string;
639
- order: number;
640
- }, {
641
- color: string;
642
- name: string;
643
- system: true;
644
- _id: string;
645
- order: number;
646
- }>;
291
+ }, z.core.$strip>;
647
292
  export type EmailSystemLabelWire = z.infer<typeof emailSystemLabelSchema>;
648
- export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodObject<{
293
+ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
649
294
  _id: z.ZodString;
650
295
  id: z.ZodString;
651
296
  userId: z.ZodString;
@@ -655,71 +300,47 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
655
300
  system: z.ZodLiteral<false>;
656
301
  createdAt: z.ZodString;
657
302
  updatedAt: z.ZodString;
658
- }, "strip", z.ZodTypeAny, {
659
- color: string;
660
- name: string;
661
- createdAt: string;
662
- updatedAt: string;
663
- id: string;
664
- system: false;
665
- userId: string;
666
- _id: string;
667
- order: number;
668
- }, {
669
- color: string;
670
- name: string;
671
- createdAt: string;
672
- updatedAt: string;
673
- id: string;
674
- system: false;
675
- userId: string;
676
- _id: string;
677
- order: number;
678
- }>, z.ZodObject<{
303
+ }, z.core.$strip>, z.ZodObject<{
679
304
  _id: z.ZodString;
680
305
  name: z.ZodString;
681
306
  color: z.ZodString;
682
307
  order: z.ZodNumber;
683
308
  system: z.ZodLiteral<true>;
684
- }, "strip", z.ZodTypeAny, {
685
- color: string;
686
- name: string;
687
- system: true;
688
- _id: string;
689
- order: number;
690
- }, {
691
- color: string;
692
- name: string;
693
- system: true;
694
- _id: string;
695
- order: number;
696
- }>]>;
309
+ }, z.core.$strip>], "system">;
697
310
  export type EmailLabelWire = z.infer<typeof emailLabelSchema>;
698
311
  export declare const emailFilterConditionSchema: z.ZodObject<{
699
- field: z.ZodEnum<["from", "to", "subject", "has-attachment", "size"]>;
700
- operator: z.ZodEnum<["contains", "equals", "not-contains", "starts-with", "ends-with", "greater-than", "less-than"]>;
312
+ field: z.ZodEnum<{
313
+ subject: "subject";
314
+ from: "from";
315
+ size: "size";
316
+ to: "to";
317
+ "has-attachment": "has-attachment";
318
+ }>;
319
+ operator: z.ZodEnum<{
320
+ contains: "contains";
321
+ equals: "equals";
322
+ "not-contains": "not-contains";
323
+ "starts-with": "starts-with";
324
+ "ends-with": "ends-with";
325
+ "greater-than": "greater-than";
326
+ "less-than": "less-than";
327
+ }>;
701
328
  value: z.ZodString;
702
- }, "strip", z.ZodTypeAny, {
703
- value: string;
704
- field: "subject" | "from" | "size" | "to" | "has-attachment";
705
- operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
706
- }, {
707
- value: string;
708
- field: "subject" | "from" | "size" | "to" | "has-attachment";
709
- operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
710
- }>;
329
+ }, z.core.$strip>;
711
330
  export type EmailFilterConditionWire = z.infer<typeof emailFilterConditionSchema>;
712
331
  /** `value` is absent for the actions that take none. */
713
332
  export declare const emailFilterActionSchema: z.ZodObject<{
714
- type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
333
+ type: z.ZodEnum<{
334
+ star: "star";
335
+ label: "label";
336
+ archive: "archive";
337
+ move: "move";
338
+ "mark-read": "mark-read";
339
+ delete: "delete";
340
+ forward: "forward";
341
+ }>;
715
342
  value: z.ZodOptional<z.ZodString>;
716
- }, "strip", z.ZodTypeAny, {
717
- type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
718
- value?: string | undefined;
719
- }, {
720
- type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
721
- value?: string | undefined;
722
- }>;
343
+ }, z.core.$strip>;
723
344
  export type EmailFilterActionWire = z.infer<typeof emailFilterActionSchema>;
724
345
  export declare const emailFilterSchema: z.ZodObject<{
725
346
  _id: z.ZodString;
@@ -730,69 +351,39 @@ export declare const emailFilterSchema: z.ZodObject<{
730
351
  matchAll: z.ZodBoolean;
731
352
  order: z.ZodNumber;
732
353
  conditions: z.ZodArray<z.ZodObject<{
733
- field: z.ZodEnum<["from", "to", "subject", "has-attachment", "size"]>;
734
- operator: z.ZodEnum<["contains", "equals", "not-contains", "starts-with", "ends-with", "greater-than", "less-than"]>;
354
+ field: z.ZodEnum<{
355
+ subject: "subject";
356
+ from: "from";
357
+ size: "size";
358
+ to: "to";
359
+ "has-attachment": "has-attachment";
360
+ }>;
361
+ operator: z.ZodEnum<{
362
+ contains: "contains";
363
+ equals: "equals";
364
+ "not-contains": "not-contains";
365
+ "starts-with": "starts-with";
366
+ "ends-with": "ends-with";
367
+ "greater-than": "greater-than";
368
+ "less-than": "less-than";
369
+ }>;
735
370
  value: z.ZodString;
736
- }, "strip", z.ZodTypeAny, {
737
- value: string;
738
- field: "subject" | "from" | "size" | "to" | "has-attachment";
739
- operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
740
- }, {
741
- value: string;
742
- field: "subject" | "from" | "size" | "to" | "has-attachment";
743
- operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
744
- }>, "many">;
371
+ }, z.core.$strip>>;
745
372
  actions: z.ZodArray<z.ZodObject<{
746
- type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
373
+ type: z.ZodEnum<{
374
+ star: "star";
375
+ label: "label";
376
+ archive: "archive";
377
+ move: "move";
378
+ "mark-read": "mark-read";
379
+ delete: "delete";
380
+ forward: "forward";
381
+ }>;
747
382
  value: z.ZodOptional<z.ZodString>;
748
- }, "strip", z.ZodTypeAny, {
749
- type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
750
- value?: string | undefined;
751
- }, {
752
- type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
753
- value?: string | undefined;
754
- }>, "many">;
383
+ }, z.core.$strip>>;
755
384
  createdAt: z.ZodString;
756
385
  updatedAt: z.ZodString;
757
- }, "strip", z.ZodTypeAny, {
758
- name: string;
759
- createdAt: string;
760
- updatedAt: string;
761
- id: string;
762
- enabled: boolean;
763
- userId: string;
764
- matchAll: boolean;
765
- _id: string;
766
- actions: {
767
- type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
768
- value?: string | undefined;
769
- }[];
770
- order: number;
771
- conditions: {
772
- value: string;
773
- field: "subject" | "from" | "size" | "to" | "has-attachment";
774
- operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
775
- }[];
776
- }, {
777
- name: string;
778
- createdAt: string;
779
- updatedAt: string;
780
- id: string;
781
- enabled: boolean;
782
- userId: string;
783
- matchAll: boolean;
784
- _id: string;
785
- actions: {
786
- type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
787
- value?: string | undefined;
788
- }[];
789
- order: number;
790
- conditions: {
791
- value: string;
792
- field: "subject" | "from" | "size" | "to" | "has-attachment";
793
- operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
794
- }[];
795
- }>;
386
+ }, z.core.$strip>;
796
387
  export type EmailFilterWire = z.infer<typeof emailFilterSchema>;
797
388
  export declare const emailBundleSchema: z.ZodObject<{
798
389
  _id: z.ZodString;
@@ -801,39 +392,13 @@ export declare const emailBundleSchema: z.ZodObject<{
801
392
  name: z.ZodString;
802
393
  icon: z.ZodString;
803
394
  color: z.ZodString;
804
- matchLabels: z.ZodArray<z.ZodString, "many">;
395
+ matchLabels: z.ZodArray<z.ZodString>;
805
396
  enabled: z.ZodBoolean;
806
397
  collapsed: z.ZodBoolean;
807
398
  order: z.ZodNumber;
808
399
  createdAt: z.ZodString;
809
400
  updatedAt: z.ZodString;
810
- }, "strip", z.ZodTypeAny, {
811
- color: string;
812
- name: string;
813
- createdAt: string;
814
- updatedAt: string;
815
- id: string;
816
- enabled: boolean;
817
- userId: string;
818
- _id: string;
819
- icon: string;
820
- order: number;
821
- matchLabels: string[];
822
- collapsed: boolean;
823
- }, {
824
- color: string;
825
- name: string;
826
- createdAt: string;
827
- updatedAt: string;
828
- id: string;
829
- enabled: boolean;
830
- userId: string;
831
- _id: string;
832
- icon: string;
833
- order: number;
834
- matchLabels: string[];
835
- collapsed: boolean;
836
- }>;
401
+ }, z.core.$strip>;
837
402
  export type EmailBundleWire = z.infer<typeof emailBundleSchema>;
838
403
  /** `GET /email/messages?bundled=true` — the inbox split into primary and bundles. */
839
404
  export declare const emailBundledInboxSchema: z.ZodObject<{
@@ -847,53 +412,23 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
847
412
  from: z.ZodObject<{
848
413
  name: z.ZodString;
849
414
  address: z.ZodString;
850
- }, "strip", z.ZodTypeAny, {
851
- name: string;
852
- address: string;
853
- }, {
854
- name: string;
855
- address: string;
856
- }>;
415
+ }, z.core.$strip>;
857
416
  to: z.ZodArray<z.ZodObject<{
858
417
  name: z.ZodString;
859
418
  address: z.ZodString;
860
- }, "strip", z.ZodTypeAny, {
861
- name: string;
862
- address: string;
863
- }, {
864
- name: string;
865
- address: string;
866
- }>, "many">;
419
+ }, z.core.$strip>>;
867
420
  cc: z.ZodArray<z.ZodObject<{
868
421
  name: z.ZodString;
869
422
  address: z.ZodString;
870
- }, "strip", z.ZodTypeAny, {
871
- name: string;
872
- address: string;
873
- }, {
874
- name: string;
875
- address: string;
876
- }>, "many">;
423
+ }, z.core.$strip>>;
877
424
  bcc: z.ZodArray<z.ZodObject<{
878
425
  name: z.ZodString;
879
426
  address: z.ZodString;
880
- }, "strip", z.ZodTypeAny, {
881
- name: string;
882
- address: string;
883
- }, {
884
- name: string;
885
- address: string;
886
- }>, "many">;
427
+ }, z.core.$strip>>;
887
428
  replyTo: z.ZodOptional<z.ZodObject<{
888
429
  name: z.ZodString;
889
430
  address: z.ZodString;
890
- }, "strip", z.ZodTypeAny, {
891
- name: string;
892
- address: string;
893
- }, {
894
- name: string;
895
- address: string;
896
- }>>;
431
+ }, z.core.$strip>>;
897
432
  subject: z.ZodString;
898
433
  attachments: z.ZodArray<z.ZodObject<{
899
434
  fileId: z.ZodString;
@@ -902,21 +437,7 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
902
437
  size: z.ZodNumber;
903
438
  contentId: z.ZodNullable<z.ZodString>;
904
439
  isInline: z.ZodBoolean;
905
- }, "strip", z.ZodTypeAny, {
906
- name: string;
907
- contentType: string;
908
- size: number;
909
- fileId: string;
910
- contentId: string | null;
911
- isInline: boolean;
912
- }, {
913
- name: string;
914
- contentType: string;
915
- size: number;
916
- fileId: string;
917
- contentId: string | null;
918
- isInline: boolean;
919
- }>, "many">;
440
+ }, z.core.$strip>>;
920
441
  flags: z.ZodObject<{
921
442
  seen: z.ZodBoolean;
922
443
  starred: z.ZodBoolean;
@@ -924,57 +445,31 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
924
445
  forwarded: z.ZodBoolean;
925
446
  draft: z.ZodBoolean;
926
447
  pinned: z.ZodBoolean;
927
- }, "strip", z.ZodTypeAny, {
928
- draft: boolean;
929
- seen: boolean;
930
- answered: boolean;
931
- starred: boolean;
932
- forwarded: boolean;
933
- pinned: boolean;
934
- }, {
935
- draft: boolean;
936
- seen: boolean;
937
- answered: boolean;
938
- starred: boolean;
939
- forwarded: boolean;
940
- pinned: boolean;
941
- }>;
942
- labels: z.ZodArray<z.ZodString, "many">;
448
+ }, z.core.$strip>;
449
+ labels: z.ZodArray<z.ZodString>;
943
450
  card: z.ZodOptional<z.ZodObject<{
944
- type: z.ZodEnum<["trip", "purchase", "event", "bill", "package"]>;
451
+ type: z.ZodEnum<{
452
+ event: "event";
453
+ purchase: "purchase";
454
+ trip: "trip";
455
+ bill: "bill";
456
+ package: "package";
457
+ }>;
945
458
  data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
946
459
  confidence: z.ZodNullable<z.ZodNumber>;
947
460
  extractedAt: z.ZodNullable<z.ZodString>;
948
- }, "strip", z.ZodTypeAny, {
949
- type: "event" | "purchase" | "trip" | "bill" | "package";
950
- data: Record<string, unknown> | null;
951
- confidence: number | null;
952
- extractedAt: string | null;
953
- }, {
954
- type: "event" | "purchase" | "trip" | "bill" | "package";
955
- data: Record<string, unknown> | null;
956
- confidence: number | null;
957
- extractedAt: string | null;
958
- }>>;
461
+ }, z.core.$strip>>;
959
462
  highlights: z.ZodArray<z.ZodObject<{
960
463
  type: z.ZodString;
961
464
  value: z.ZodString;
962
465
  label: z.ZodString;
963
- }, "strip", z.ZodTypeAny, {
964
- value: string;
965
- type: string;
966
- label: string;
967
- }, {
968
- value: string;
969
- type: string;
970
- label: string;
971
- }>, "many">;
466
+ }, z.core.$strip>>;
972
467
  encrypted: z.ZodBoolean;
973
468
  spamScore: z.ZodNullable<z.ZodNumber>;
974
469
  spamAction: z.ZodNullable<z.ZodString>;
975
470
  size: z.ZodNumber;
976
471
  inReplyTo: z.ZodNullable<z.ZodString>;
977
- references: z.ZodArray<z.ZodString, "many">;
472
+ references: z.ZodArray<z.ZodString>;
978
473
  aliasTag: z.ZodNullable<z.ZodString>;
979
474
  snoozedUntil: z.ZodNullable<z.ZodString>;
980
475
  snoozedFromMailbox: z.ZodNullable<z.ZodString>;
@@ -986,213 +481,35 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
986
481
  createdAt: z.ZodString;
987
482
  updatedAt: z.ZodString;
988
483
  draftRevision: z.ZodNumber;
989
- /** Present only on the reads that return bodies (single message, thread). */
990
484
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
991
485
  html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
992
486
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
993
487
  senderAvatarPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
994
- /** Present only on list reads that walked the thread. */
995
488
  threadCount: z.ZodOptional<z.ZodNumber>;
996
- threadParticipants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
997
- /**
998
- * Present only on a message the user sent through Oxy since delivery was
999
- * tracked; absent on received mail. A delivery this client cannot read is
1000
- * dropped rather than allowed to drop the message with it.
1001
- */
489
+ threadParticipants: z.ZodOptional<z.ZodArray<z.ZodString>>;
1002
490
  delivery: z.ZodCatch<z.ZodOptional<z.ZodObject<{
1003
- state: z.ZodEnum<["sending", "retrying", "sent", "failed"]>;
491
+ state: z.ZodEnum<{
492
+ failed: "failed";
493
+ sent: "sent";
494
+ sending: "sending";
495
+ retrying: "retrying";
496
+ }>;
1004
497
  attempts: z.ZodNumber;
1005
498
  maxAttempts: z.ZodNumber;
1006
499
  nextAttemptAt: z.ZodNullable<z.ZodString>;
1007
500
  error: z.ZodNullable<z.ZodString>;
1008
- errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<["relay_unavailable", "relay_unconfigured", "relay_auth", "rejected", "retries_exhausted", "bounced", "cancelled"]>>>;
501
+ errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<{
502
+ rejected: "rejected";
503
+ cancelled: "cancelled";
504
+ relay_unavailable: "relay_unavailable";
505
+ relay_unconfigured: "relay_unconfigured";
506
+ relay_auth: "relay_auth";
507
+ retries_exhausted: "retries_exhausted";
508
+ bounced: "bounced";
509
+ }>>>;
1009
510
  updatedAt: z.ZodString;
1010
- }, "strip", z.ZodTypeAny, {
1011
- updatedAt: string;
1012
- error: string | null;
1013
- state: "failed" | "sent" | "sending" | "retrying";
1014
- attempts: number;
1015
- maxAttempts: number;
1016
- nextAttemptAt: string | null;
1017
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1018
- }, {
1019
- updatedAt: string;
1020
- error: string | null;
1021
- state: "failed" | "sent" | "sending" | "retrying";
1022
- attempts: number;
1023
- maxAttempts: number;
1024
- nextAttemptAt: string | null;
1025
- errorCode?: unknown;
1026
- }>>>;
1027
- }, "strip", z.ZodTypeAny, {
1028
- date: string;
1029
- createdAt: string;
1030
- updatedAt: string;
1031
- id: string;
1032
- subject: string;
1033
- userId: string;
1034
- _id: string;
1035
- mailboxId: string;
1036
- messageId: string;
1037
- from: {
1038
- name: string;
1039
- address: string;
1040
- };
1041
- receivedAt: string;
1042
- size: number;
1043
- labels: string[];
1044
- to: {
1045
- name: string;
1046
- address: string;
1047
- }[];
1048
- threadId: string;
1049
- cc: {
1050
- name: string;
1051
- address: string;
1052
- }[];
1053
- bcc: {
1054
- name: string;
1055
- address: string;
1056
- }[];
1057
- attachments: {
1058
- name: string;
1059
- contentType: string;
1060
- size: number;
1061
- fileId: string;
1062
- contentId: string | null;
1063
- isInline: boolean;
1064
- }[];
1065
- flags: {
1066
- draft: boolean;
1067
- seen: boolean;
1068
- answered: boolean;
1069
- starred: boolean;
1070
- forwarded: boolean;
1071
- pinned: boolean;
1072
- };
1073
- highlights: {
1074
- value: string;
1075
- type: string;
1076
- label: string;
1077
- }[];
1078
- encrypted: boolean;
1079
- spamScore: number | null;
1080
- spamAction: string | null;
1081
- inReplyTo: string | null;
1082
- references: string[];
1083
- aliasTag: string | null;
1084
- snoozedUntil: string | null;
1085
- snoozedFromMailbox: string | null;
1086
- scheduledAt: string | null;
1087
- readReceiptRequested: boolean;
1088
- readReceiptSent: boolean;
1089
- draftRevision: number;
1090
- card?: {
1091
- type: "event" | "purchase" | "trip" | "bill" | "package";
1092
- data: Record<string, unknown> | null;
1093
- confidence: number | null;
1094
- extractedAt: string | null;
1095
- } | undefined;
1096
- headers?: Record<string, string> | undefined;
1097
- text?: string | null | undefined;
1098
- replyTo?: {
1099
- name: string;
1100
- address: string;
1101
- } | undefined;
1102
- html?: string | null | undefined;
1103
- senderAvatarPath?: string | null | undefined;
1104
- threadCount?: number | undefined;
1105
- threadParticipants?: string[] | undefined;
1106
- delivery?: {
1107
- updatedAt: string;
1108
- error: string | null;
1109
- state: "failed" | "sent" | "sending" | "retrying";
1110
- attempts: number;
1111
- maxAttempts: number;
1112
- nextAttemptAt: string | null;
1113
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1114
- } | undefined;
1115
- }, {
1116
- date: string;
1117
- createdAt: string;
1118
- updatedAt: string;
1119
- id: string;
1120
- subject: string;
1121
- userId: string;
1122
- _id: string;
1123
- mailboxId: string;
1124
- messageId: string;
1125
- from: {
1126
- name: string;
1127
- address: string;
1128
- };
1129
- receivedAt: string;
1130
- size: number;
1131
- labels: string[];
1132
- to: {
1133
- name: string;
1134
- address: string;
1135
- }[];
1136
- threadId: string;
1137
- cc: {
1138
- name: string;
1139
- address: string;
1140
- }[];
1141
- bcc: {
1142
- name: string;
1143
- address: string;
1144
- }[];
1145
- attachments: {
1146
- name: string;
1147
- contentType: string;
1148
- size: number;
1149
- fileId: string;
1150
- contentId: string | null;
1151
- isInline: boolean;
1152
- }[];
1153
- flags: {
1154
- draft: boolean;
1155
- seen: boolean;
1156
- answered: boolean;
1157
- starred: boolean;
1158
- forwarded: boolean;
1159
- pinned: boolean;
1160
- };
1161
- highlights: {
1162
- value: string;
1163
- type: string;
1164
- label: string;
1165
- }[];
1166
- encrypted: boolean;
1167
- spamScore: number | null;
1168
- spamAction: string | null;
1169
- inReplyTo: string | null;
1170
- references: string[];
1171
- aliasTag: string | null;
1172
- snoozedUntil: string | null;
1173
- snoozedFromMailbox: string | null;
1174
- scheduledAt: string | null;
1175
- readReceiptRequested: boolean;
1176
- readReceiptSent: boolean;
1177
- draftRevision: number;
1178
- card?: {
1179
- type: "event" | "purchase" | "trip" | "bill" | "package";
1180
- data: Record<string, unknown> | null;
1181
- confidence: number | null;
1182
- extractedAt: string | null;
1183
- } | undefined;
1184
- headers?: Record<string, string> | undefined;
1185
- text?: string | null | undefined;
1186
- replyTo?: {
1187
- name: string;
1188
- address: string;
1189
- } | undefined;
1190
- html?: string | null | undefined;
1191
- senderAvatarPath?: string | null | undefined;
1192
- threadCount?: number | undefined;
1193
- threadParticipants?: string[] | undefined;
1194
- delivery?: unknown;
1195
- }>, "many">;
511
+ }, z.core.$strip>>>;
512
+ }, z.core.$strip>>;
1196
513
  bundles: z.ZodArray<z.ZodObject<{
1197
514
  bundle: z.ZodObject<{
1198
515
  _id: z.ZodString;
@@ -1201,39 +518,13 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1201
518
  name: z.ZodString;
1202
519
  icon: z.ZodString;
1203
520
  color: z.ZodString;
1204
- matchLabels: z.ZodArray<z.ZodString, "many">;
521
+ matchLabels: z.ZodArray<z.ZodString>;
1205
522
  enabled: z.ZodBoolean;
1206
523
  collapsed: z.ZodBoolean;
1207
524
  order: z.ZodNumber;
1208
525
  createdAt: z.ZodString;
1209
526
  updatedAt: z.ZodString;
1210
- }, "strip", z.ZodTypeAny, {
1211
- color: string;
1212
- name: string;
1213
- createdAt: string;
1214
- updatedAt: string;
1215
- id: string;
1216
- enabled: boolean;
1217
- userId: string;
1218
- _id: string;
1219
- icon: string;
1220
- order: number;
1221
- matchLabels: string[];
1222
- collapsed: boolean;
1223
- }, {
1224
- color: string;
1225
- name: string;
1226
- createdAt: string;
1227
- updatedAt: string;
1228
- id: string;
1229
- enabled: boolean;
1230
- userId: string;
1231
- _id: string;
1232
- icon: string;
1233
- order: number;
1234
- matchLabels: string[];
1235
- collapsed: boolean;
1236
- }>;
527
+ }, z.core.$strip>;
1237
528
  messages: z.ZodArray<z.ZodObject<{
1238
529
  _id: z.ZodString;
1239
530
  id: z.ZodString;
@@ -1244,53 +535,23 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1244
535
  from: z.ZodObject<{
1245
536
  name: z.ZodString;
1246
537
  address: z.ZodString;
1247
- }, "strip", z.ZodTypeAny, {
1248
- name: string;
1249
- address: string;
1250
- }, {
1251
- name: string;
1252
- address: string;
1253
- }>;
538
+ }, z.core.$strip>;
1254
539
  to: z.ZodArray<z.ZodObject<{
1255
540
  name: z.ZodString;
1256
541
  address: z.ZodString;
1257
- }, "strip", z.ZodTypeAny, {
1258
- name: string;
1259
- address: string;
1260
- }, {
1261
- name: string;
1262
- address: string;
1263
- }>, "many">;
542
+ }, z.core.$strip>>;
1264
543
  cc: z.ZodArray<z.ZodObject<{
1265
544
  name: z.ZodString;
1266
545
  address: z.ZodString;
1267
- }, "strip", z.ZodTypeAny, {
1268
- name: string;
1269
- address: string;
1270
- }, {
1271
- name: string;
1272
- address: string;
1273
- }>, "many">;
546
+ }, z.core.$strip>>;
1274
547
  bcc: z.ZodArray<z.ZodObject<{
1275
548
  name: z.ZodString;
1276
549
  address: z.ZodString;
1277
- }, "strip", z.ZodTypeAny, {
1278
- name: string;
1279
- address: string;
1280
- }, {
1281
- name: string;
1282
- address: string;
1283
- }>, "many">;
550
+ }, z.core.$strip>>;
1284
551
  replyTo: z.ZodOptional<z.ZodObject<{
1285
552
  name: z.ZodString;
1286
553
  address: z.ZodString;
1287
- }, "strip", z.ZodTypeAny, {
1288
- name: string;
1289
- address: string;
1290
- }, {
1291
- name: string;
1292
- address: string;
1293
- }>>;
554
+ }, z.core.$strip>>;
1294
555
  subject: z.ZodString;
1295
556
  attachments: z.ZodArray<z.ZodObject<{
1296
557
  fileId: z.ZodString;
@@ -1299,21 +560,7 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1299
560
  size: z.ZodNumber;
1300
561
  contentId: z.ZodNullable<z.ZodString>;
1301
562
  isInline: z.ZodBoolean;
1302
- }, "strip", z.ZodTypeAny, {
1303
- name: string;
1304
- contentType: string;
1305
- size: number;
1306
- fileId: string;
1307
- contentId: string | null;
1308
- isInline: boolean;
1309
- }, {
1310
- name: string;
1311
- contentType: string;
1312
- size: number;
1313
- fileId: string;
1314
- contentId: string | null;
1315
- isInline: boolean;
1316
- }>, "many">;
563
+ }, z.core.$strip>>;
1317
564
  flags: z.ZodObject<{
1318
565
  seen: z.ZodBoolean;
1319
566
  starred: z.ZodBoolean;
@@ -1321,57 +568,31 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1321
568
  forwarded: z.ZodBoolean;
1322
569
  draft: z.ZodBoolean;
1323
570
  pinned: z.ZodBoolean;
1324
- }, "strip", z.ZodTypeAny, {
1325
- draft: boolean;
1326
- seen: boolean;
1327
- answered: boolean;
1328
- starred: boolean;
1329
- forwarded: boolean;
1330
- pinned: boolean;
1331
- }, {
1332
- draft: boolean;
1333
- seen: boolean;
1334
- answered: boolean;
1335
- starred: boolean;
1336
- forwarded: boolean;
1337
- pinned: boolean;
1338
- }>;
1339
- labels: z.ZodArray<z.ZodString, "many">;
571
+ }, z.core.$strip>;
572
+ labels: z.ZodArray<z.ZodString>;
1340
573
  card: z.ZodOptional<z.ZodObject<{
1341
- type: z.ZodEnum<["trip", "purchase", "event", "bill", "package"]>;
574
+ type: z.ZodEnum<{
575
+ event: "event";
576
+ purchase: "purchase";
577
+ trip: "trip";
578
+ bill: "bill";
579
+ package: "package";
580
+ }>;
1342
581
  data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1343
582
  confidence: z.ZodNullable<z.ZodNumber>;
1344
583
  extractedAt: z.ZodNullable<z.ZodString>;
1345
- }, "strip", z.ZodTypeAny, {
1346
- type: "event" | "purchase" | "trip" | "bill" | "package";
1347
- data: Record<string, unknown> | null;
1348
- confidence: number | null;
1349
- extractedAt: string | null;
1350
- }, {
1351
- type: "event" | "purchase" | "trip" | "bill" | "package";
1352
- data: Record<string, unknown> | null;
1353
- confidence: number | null;
1354
- extractedAt: string | null;
1355
- }>>;
584
+ }, z.core.$strip>>;
1356
585
  highlights: z.ZodArray<z.ZodObject<{
1357
586
  type: z.ZodString;
1358
587
  value: z.ZodString;
1359
588
  label: z.ZodString;
1360
- }, "strip", z.ZodTypeAny, {
1361
- value: string;
1362
- type: string;
1363
- label: string;
1364
- }, {
1365
- value: string;
1366
- type: string;
1367
- label: string;
1368
- }>, "many">;
589
+ }, z.core.$strip>>;
1369
590
  encrypted: z.ZodBoolean;
1370
591
  spamScore: z.ZodNullable<z.ZodNumber>;
1371
592
  spamAction: z.ZodNullable<z.ZodString>;
1372
593
  size: z.ZodNumber;
1373
594
  inReplyTo: z.ZodNullable<z.ZodString>;
1374
- references: z.ZodArray<z.ZodString, "many">;
595
+ references: z.ZodArray<z.ZodString>;
1375
596
  aliasTag: z.ZodNullable<z.ZodString>;
1376
597
  snoozedUntil: z.ZodNullable<z.ZodString>;
1377
598
  snoozedFromMailbox: z.ZodNullable<z.ZodString>;
@@ -1383,797 +604,39 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
1383
604
  createdAt: z.ZodString;
1384
605
  updatedAt: z.ZodString;
1385
606
  draftRevision: z.ZodNumber;
1386
- /** Present only on the reads that return bodies (single message, thread). */
1387
607
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1388
608
  html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1389
609
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1390
610
  senderAvatarPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1391
- /** Present only on list reads that walked the thread. */
1392
611
  threadCount: z.ZodOptional<z.ZodNumber>;
1393
- threadParticipants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1394
- /**
1395
- * Present only on a message the user sent through Oxy since delivery was
1396
- * tracked; absent on received mail. A delivery this client cannot read is
1397
- * dropped rather than allowed to drop the message with it.
1398
- */
612
+ threadParticipants: z.ZodOptional<z.ZodArray<z.ZodString>>;
1399
613
  delivery: z.ZodCatch<z.ZodOptional<z.ZodObject<{
1400
- state: z.ZodEnum<["sending", "retrying", "sent", "failed"]>;
614
+ state: z.ZodEnum<{
615
+ failed: "failed";
616
+ sent: "sent";
617
+ sending: "sending";
618
+ retrying: "retrying";
619
+ }>;
1401
620
  attempts: z.ZodNumber;
1402
621
  maxAttempts: z.ZodNumber;
1403
622
  nextAttemptAt: z.ZodNullable<z.ZodString>;
1404
623
  error: z.ZodNullable<z.ZodString>;
1405
- errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<["relay_unavailable", "relay_unconfigured", "relay_auth", "rejected", "retries_exhausted", "bounced", "cancelled"]>>>;
624
+ errorCode: z.ZodCatch<z.ZodNullable<z.ZodEnum<{
625
+ rejected: "rejected";
626
+ cancelled: "cancelled";
627
+ relay_unavailable: "relay_unavailable";
628
+ relay_unconfigured: "relay_unconfigured";
629
+ relay_auth: "relay_auth";
630
+ retries_exhausted: "retries_exhausted";
631
+ bounced: "bounced";
632
+ }>>>;
1406
633
  updatedAt: z.ZodString;
1407
- }, "strip", z.ZodTypeAny, {
1408
- updatedAt: string;
1409
- error: string | null;
1410
- state: "failed" | "sent" | "sending" | "retrying";
1411
- attempts: number;
1412
- maxAttempts: number;
1413
- nextAttemptAt: string | null;
1414
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1415
- }, {
1416
- updatedAt: string;
1417
- error: string | null;
1418
- state: "failed" | "sent" | "sending" | "retrying";
1419
- attempts: number;
1420
- maxAttempts: number;
1421
- nextAttemptAt: string | null;
1422
- errorCode?: unknown;
1423
- }>>>;
1424
- }, "strip", z.ZodTypeAny, {
1425
- date: string;
1426
- createdAt: string;
1427
- updatedAt: string;
1428
- id: string;
1429
- subject: string;
1430
- userId: string;
1431
- _id: string;
1432
- mailboxId: string;
1433
- messageId: string;
1434
- from: {
1435
- name: string;
1436
- address: string;
1437
- };
1438
- receivedAt: string;
1439
- size: number;
1440
- labels: string[];
1441
- to: {
1442
- name: string;
1443
- address: string;
1444
- }[];
1445
- threadId: string;
1446
- cc: {
1447
- name: string;
1448
- address: string;
1449
- }[];
1450
- bcc: {
1451
- name: string;
1452
- address: string;
1453
- }[];
1454
- attachments: {
1455
- name: string;
1456
- contentType: string;
1457
- size: number;
1458
- fileId: string;
1459
- contentId: string | null;
1460
- isInline: boolean;
1461
- }[];
1462
- flags: {
1463
- draft: boolean;
1464
- seen: boolean;
1465
- answered: boolean;
1466
- starred: boolean;
1467
- forwarded: boolean;
1468
- pinned: boolean;
1469
- };
1470
- highlights: {
1471
- value: string;
1472
- type: string;
1473
- label: string;
1474
- }[];
1475
- encrypted: boolean;
1476
- spamScore: number | null;
1477
- spamAction: string | null;
1478
- inReplyTo: string | null;
1479
- references: string[];
1480
- aliasTag: string | null;
1481
- snoozedUntil: string | null;
1482
- snoozedFromMailbox: string | null;
1483
- scheduledAt: string | null;
1484
- readReceiptRequested: boolean;
1485
- readReceiptSent: boolean;
1486
- draftRevision: number;
1487
- card?: {
1488
- type: "event" | "purchase" | "trip" | "bill" | "package";
1489
- data: Record<string, unknown> | null;
1490
- confidence: number | null;
1491
- extractedAt: string | null;
1492
- } | undefined;
1493
- headers?: Record<string, string> | undefined;
1494
- text?: string | null | undefined;
1495
- replyTo?: {
1496
- name: string;
1497
- address: string;
1498
- } | undefined;
1499
- html?: string | null | undefined;
1500
- senderAvatarPath?: string | null | undefined;
1501
- threadCount?: number | undefined;
1502
- threadParticipants?: string[] | undefined;
1503
- delivery?: {
1504
- updatedAt: string;
1505
- error: string | null;
1506
- state: "failed" | "sent" | "sending" | "retrying";
1507
- attempts: number;
1508
- maxAttempts: number;
1509
- nextAttemptAt: string | null;
1510
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1511
- } | undefined;
1512
- }, {
1513
- date: string;
1514
- createdAt: string;
1515
- updatedAt: string;
1516
- id: string;
1517
- subject: string;
1518
- userId: string;
1519
- _id: string;
1520
- mailboxId: string;
1521
- messageId: string;
1522
- from: {
1523
- name: string;
1524
- address: string;
1525
- };
1526
- receivedAt: string;
1527
- size: number;
1528
- labels: string[];
1529
- to: {
1530
- name: string;
1531
- address: string;
1532
- }[];
1533
- threadId: string;
1534
- cc: {
1535
- name: string;
1536
- address: string;
1537
- }[];
1538
- bcc: {
1539
- name: string;
1540
- address: string;
1541
- }[];
1542
- attachments: {
1543
- name: string;
1544
- contentType: string;
1545
- size: number;
1546
- fileId: string;
1547
- contentId: string | null;
1548
- isInline: boolean;
1549
- }[];
1550
- flags: {
1551
- draft: boolean;
1552
- seen: boolean;
1553
- answered: boolean;
1554
- starred: boolean;
1555
- forwarded: boolean;
1556
- pinned: boolean;
1557
- };
1558
- highlights: {
1559
- value: string;
1560
- type: string;
1561
- label: string;
1562
- }[];
1563
- encrypted: boolean;
1564
- spamScore: number | null;
1565
- spamAction: string | null;
1566
- inReplyTo: string | null;
1567
- references: string[];
1568
- aliasTag: string | null;
1569
- snoozedUntil: string | null;
1570
- snoozedFromMailbox: string | null;
1571
- scheduledAt: string | null;
1572
- readReceiptRequested: boolean;
1573
- readReceiptSent: boolean;
1574
- draftRevision: number;
1575
- card?: {
1576
- type: "event" | "purchase" | "trip" | "bill" | "package";
1577
- data: Record<string, unknown> | null;
1578
- confidence: number | null;
1579
- extractedAt: string | null;
1580
- } | undefined;
1581
- headers?: Record<string, string> | undefined;
1582
- text?: string | null | undefined;
1583
- replyTo?: {
1584
- name: string;
1585
- address: string;
1586
- } | undefined;
1587
- html?: string | null | undefined;
1588
- senderAvatarPath?: string | null | undefined;
1589
- threadCount?: number | undefined;
1590
- threadParticipants?: string[] | undefined;
1591
- delivery?: unknown;
1592
- }>, "many">;
634
+ }, z.core.$strip>>>;
635
+ }, z.core.$strip>>;
1593
636
  unreadCount: z.ZodNumber;
1594
- }, "strip", z.ZodTypeAny, {
1595
- messages: {
1596
- date: string;
1597
- createdAt: string;
1598
- updatedAt: string;
1599
- id: string;
1600
- subject: string;
1601
- userId: string;
1602
- _id: string;
1603
- mailboxId: string;
1604
- messageId: string;
1605
- from: {
1606
- name: string;
1607
- address: string;
1608
- };
1609
- receivedAt: string;
1610
- size: number;
1611
- labels: string[];
1612
- to: {
1613
- name: string;
1614
- address: string;
1615
- }[];
1616
- threadId: string;
1617
- cc: {
1618
- name: string;
1619
- address: string;
1620
- }[];
1621
- bcc: {
1622
- name: string;
1623
- address: string;
1624
- }[];
1625
- attachments: {
1626
- name: string;
1627
- contentType: string;
1628
- size: number;
1629
- fileId: string;
1630
- contentId: string | null;
1631
- isInline: boolean;
1632
- }[];
1633
- flags: {
1634
- draft: boolean;
1635
- seen: boolean;
1636
- answered: boolean;
1637
- starred: boolean;
1638
- forwarded: boolean;
1639
- pinned: boolean;
1640
- };
1641
- highlights: {
1642
- value: string;
1643
- type: string;
1644
- label: string;
1645
- }[];
1646
- encrypted: boolean;
1647
- spamScore: number | null;
1648
- spamAction: string | null;
1649
- inReplyTo: string | null;
1650
- references: string[];
1651
- aliasTag: string | null;
1652
- snoozedUntil: string | null;
1653
- snoozedFromMailbox: string | null;
1654
- scheduledAt: string | null;
1655
- readReceiptRequested: boolean;
1656
- readReceiptSent: boolean;
1657
- draftRevision: number;
1658
- card?: {
1659
- type: "event" | "purchase" | "trip" | "bill" | "package";
1660
- data: Record<string, unknown> | null;
1661
- confidence: number | null;
1662
- extractedAt: string | null;
1663
- } | undefined;
1664
- headers?: Record<string, string> | undefined;
1665
- text?: string | null | undefined;
1666
- replyTo?: {
1667
- name: string;
1668
- address: string;
1669
- } | undefined;
1670
- html?: string | null | undefined;
1671
- senderAvatarPath?: string | null | undefined;
1672
- threadCount?: number | undefined;
1673
- threadParticipants?: string[] | undefined;
1674
- delivery?: {
1675
- updatedAt: string;
1676
- error: string | null;
1677
- state: "failed" | "sent" | "sending" | "retrying";
1678
- attempts: number;
1679
- maxAttempts: number;
1680
- nextAttemptAt: string | null;
1681
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1682
- } | undefined;
1683
- }[];
1684
- bundle: {
1685
- color: string;
1686
- name: string;
1687
- createdAt: string;
1688
- updatedAt: string;
1689
- id: string;
1690
- enabled: boolean;
1691
- userId: string;
1692
- _id: string;
1693
- icon: string;
1694
- order: number;
1695
- matchLabels: string[];
1696
- collapsed: boolean;
1697
- };
1698
- unreadCount: number;
1699
- }, {
1700
- messages: {
1701
- date: string;
1702
- createdAt: string;
1703
- updatedAt: string;
1704
- id: string;
1705
- subject: string;
1706
- userId: string;
1707
- _id: string;
1708
- mailboxId: string;
1709
- messageId: string;
1710
- from: {
1711
- name: string;
1712
- address: string;
1713
- };
1714
- receivedAt: string;
1715
- size: number;
1716
- labels: string[];
1717
- to: {
1718
- name: string;
1719
- address: string;
1720
- }[];
1721
- threadId: string;
1722
- cc: {
1723
- name: string;
1724
- address: string;
1725
- }[];
1726
- bcc: {
1727
- name: string;
1728
- address: string;
1729
- }[];
1730
- attachments: {
1731
- name: string;
1732
- contentType: string;
1733
- size: number;
1734
- fileId: string;
1735
- contentId: string | null;
1736
- isInline: boolean;
1737
- }[];
1738
- flags: {
1739
- draft: boolean;
1740
- seen: boolean;
1741
- answered: boolean;
1742
- starred: boolean;
1743
- forwarded: boolean;
1744
- pinned: boolean;
1745
- };
1746
- highlights: {
1747
- value: string;
1748
- type: string;
1749
- label: string;
1750
- }[];
1751
- encrypted: boolean;
1752
- spamScore: number | null;
1753
- spamAction: string | null;
1754
- inReplyTo: string | null;
1755
- references: string[];
1756
- aliasTag: string | null;
1757
- snoozedUntil: string | null;
1758
- snoozedFromMailbox: string | null;
1759
- scheduledAt: string | null;
1760
- readReceiptRequested: boolean;
1761
- readReceiptSent: boolean;
1762
- draftRevision: number;
1763
- card?: {
1764
- type: "event" | "purchase" | "trip" | "bill" | "package";
1765
- data: Record<string, unknown> | null;
1766
- confidence: number | null;
1767
- extractedAt: string | null;
1768
- } | undefined;
1769
- headers?: Record<string, string> | undefined;
1770
- text?: string | null | undefined;
1771
- replyTo?: {
1772
- name: string;
1773
- address: string;
1774
- } | undefined;
1775
- html?: string | null | undefined;
1776
- senderAvatarPath?: string | null | undefined;
1777
- threadCount?: number | undefined;
1778
- threadParticipants?: string[] | undefined;
1779
- delivery?: unknown;
1780
- }[];
1781
- bundle: {
1782
- color: string;
1783
- name: string;
1784
- createdAt: string;
1785
- updatedAt: string;
1786
- id: string;
1787
- enabled: boolean;
1788
- userId: string;
1789
- _id: string;
1790
- icon: string;
1791
- order: number;
1792
- matchLabels: string[];
1793
- collapsed: boolean;
1794
- };
1795
- unreadCount: number;
1796
- }>, "many">;
637
+ }, z.core.$strip>>;
1797
638
  total: z.ZodNumber;
1798
- }, "strip", z.ZodTypeAny, {
1799
- total: number;
1800
- primary: {
1801
- date: string;
1802
- createdAt: string;
1803
- updatedAt: string;
1804
- id: string;
1805
- subject: string;
1806
- userId: string;
1807
- _id: string;
1808
- mailboxId: string;
1809
- messageId: string;
1810
- from: {
1811
- name: string;
1812
- address: string;
1813
- };
1814
- receivedAt: string;
1815
- size: number;
1816
- labels: string[];
1817
- to: {
1818
- name: string;
1819
- address: string;
1820
- }[];
1821
- threadId: string;
1822
- cc: {
1823
- name: string;
1824
- address: string;
1825
- }[];
1826
- bcc: {
1827
- name: string;
1828
- address: string;
1829
- }[];
1830
- attachments: {
1831
- name: string;
1832
- contentType: string;
1833
- size: number;
1834
- fileId: string;
1835
- contentId: string | null;
1836
- isInline: boolean;
1837
- }[];
1838
- flags: {
1839
- draft: boolean;
1840
- seen: boolean;
1841
- answered: boolean;
1842
- starred: boolean;
1843
- forwarded: boolean;
1844
- pinned: boolean;
1845
- };
1846
- highlights: {
1847
- value: string;
1848
- type: string;
1849
- label: string;
1850
- }[];
1851
- encrypted: boolean;
1852
- spamScore: number | null;
1853
- spamAction: string | null;
1854
- inReplyTo: string | null;
1855
- references: string[];
1856
- aliasTag: string | null;
1857
- snoozedUntil: string | null;
1858
- snoozedFromMailbox: string | null;
1859
- scheduledAt: string | null;
1860
- readReceiptRequested: boolean;
1861
- readReceiptSent: boolean;
1862
- draftRevision: number;
1863
- card?: {
1864
- type: "event" | "purchase" | "trip" | "bill" | "package";
1865
- data: Record<string, unknown> | null;
1866
- confidence: number | null;
1867
- extractedAt: string | null;
1868
- } | undefined;
1869
- headers?: Record<string, string> | undefined;
1870
- text?: string | null | undefined;
1871
- replyTo?: {
1872
- name: string;
1873
- address: string;
1874
- } | undefined;
1875
- html?: string | null | undefined;
1876
- senderAvatarPath?: string | null | undefined;
1877
- threadCount?: number | undefined;
1878
- threadParticipants?: string[] | undefined;
1879
- delivery?: {
1880
- updatedAt: string;
1881
- error: string | null;
1882
- state: "failed" | "sent" | "sending" | "retrying";
1883
- attempts: number;
1884
- maxAttempts: number;
1885
- nextAttemptAt: string | null;
1886
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1887
- } | undefined;
1888
- }[];
1889
- bundles: {
1890
- messages: {
1891
- date: string;
1892
- createdAt: string;
1893
- updatedAt: string;
1894
- id: string;
1895
- subject: string;
1896
- userId: string;
1897
- _id: string;
1898
- mailboxId: string;
1899
- messageId: string;
1900
- from: {
1901
- name: string;
1902
- address: string;
1903
- };
1904
- receivedAt: string;
1905
- size: number;
1906
- labels: string[];
1907
- to: {
1908
- name: string;
1909
- address: string;
1910
- }[];
1911
- threadId: string;
1912
- cc: {
1913
- name: string;
1914
- address: string;
1915
- }[];
1916
- bcc: {
1917
- name: string;
1918
- address: string;
1919
- }[];
1920
- attachments: {
1921
- name: string;
1922
- contentType: string;
1923
- size: number;
1924
- fileId: string;
1925
- contentId: string | null;
1926
- isInline: boolean;
1927
- }[];
1928
- flags: {
1929
- draft: boolean;
1930
- seen: boolean;
1931
- answered: boolean;
1932
- starred: boolean;
1933
- forwarded: boolean;
1934
- pinned: boolean;
1935
- };
1936
- highlights: {
1937
- value: string;
1938
- type: string;
1939
- label: string;
1940
- }[];
1941
- encrypted: boolean;
1942
- spamScore: number | null;
1943
- spamAction: string | null;
1944
- inReplyTo: string | null;
1945
- references: string[];
1946
- aliasTag: string | null;
1947
- snoozedUntil: string | null;
1948
- snoozedFromMailbox: string | null;
1949
- scheduledAt: string | null;
1950
- readReceiptRequested: boolean;
1951
- readReceiptSent: boolean;
1952
- draftRevision: number;
1953
- card?: {
1954
- type: "event" | "purchase" | "trip" | "bill" | "package";
1955
- data: Record<string, unknown> | null;
1956
- confidence: number | null;
1957
- extractedAt: string | null;
1958
- } | undefined;
1959
- headers?: Record<string, string> | undefined;
1960
- text?: string | null | undefined;
1961
- replyTo?: {
1962
- name: string;
1963
- address: string;
1964
- } | undefined;
1965
- html?: string | null | undefined;
1966
- senderAvatarPath?: string | null | undefined;
1967
- threadCount?: number | undefined;
1968
- threadParticipants?: string[] | undefined;
1969
- delivery?: {
1970
- updatedAt: string;
1971
- error: string | null;
1972
- state: "failed" | "sent" | "sending" | "retrying";
1973
- attempts: number;
1974
- maxAttempts: number;
1975
- nextAttemptAt: string | null;
1976
- errorCode: "rejected" | "cancelled" | "relay_unavailable" | "relay_unconfigured" | "relay_auth" | "retries_exhausted" | "bounced" | null;
1977
- } | undefined;
1978
- }[];
1979
- bundle: {
1980
- color: string;
1981
- name: string;
1982
- createdAt: string;
1983
- updatedAt: string;
1984
- id: string;
1985
- enabled: boolean;
1986
- userId: string;
1987
- _id: string;
1988
- icon: string;
1989
- order: number;
1990
- matchLabels: string[];
1991
- collapsed: boolean;
1992
- };
1993
- unreadCount: number;
1994
- }[];
1995
- }, {
1996
- total: number;
1997
- primary: {
1998
- date: string;
1999
- createdAt: string;
2000
- updatedAt: string;
2001
- id: string;
2002
- subject: string;
2003
- userId: string;
2004
- _id: string;
2005
- mailboxId: string;
2006
- messageId: string;
2007
- from: {
2008
- name: string;
2009
- address: string;
2010
- };
2011
- receivedAt: string;
2012
- size: number;
2013
- labels: string[];
2014
- to: {
2015
- name: string;
2016
- address: string;
2017
- }[];
2018
- threadId: string;
2019
- cc: {
2020
- name: string;
2021
- address: string;
2022
- }[];
2023
- bcc: {
2024
- name: string;
2025
- address: string;
2026
- }[];
2027
- attachments: {
2028
- name: string;
2029
- contentType: string;
2030
- size: number;
2031
- fileId: string;
2032
- contentId: string | null;
2033
- isInline: boolean;
2034
- }[];
2035
- flags: {
2036
- draft: boolean;
2037
- seen: boolean;
2038
- answered: boolean;
2039
- starred: boolean;
2040
- forwarded: boolean;
2041
- pinned: boolean;
2042
- };
2043
- highlights: {
2044
- value: string;
2045
- type: string;
2046
- label: string;
2047
- }[];
2048
- encrypted: boolean;
2049
- spamScore: number | null;
2050
- spamAction: string | null;
2051
- inReplyTo: string | null;
2052
- references: string[];
2053
- aliasTag: string | null;
2054
- snoozedUntil: string | null;
2055
- snoozedFromMailbox: string | null;
2056
- scheduledAt: string | null;
2057
- readReceiptRequested: boolean;
2058
- readReceiptSent: boolean;
2059
- draftRevision: number;
2060
- card?: {
2061
- type: "event" | "purchase" | "trip" | "bill" | "package";
2062
- data: Record<string, unknown> | null;
2063
- confidence: number | null;
2064
- extractedAt: string | null;
2065
- } | undefined;
2066
- headers?: Record<string, string> | undefined;
2067
- text?: string | null | undefined;
2068
- replyTo?: {
2069
- name: string;
2070
- address: string;
2071
- } | undefined;
2072
- html?: string | null | undefined;
2073
- senderAvatarPath?: string | null | undefined;
2074
- threadCount?: number | undefined;
2075
- threadParticipants?: string[] | undefined;
2076
- delivery?: unknown;
2077
- }[];
2078
- bundles: {
2079
- messages: {
2080
- date: string;
2081
- createdAt: string;
2082
- updatedAt: string;
2083
- id: string;
2084
- subject: string;
2085
- userId: string;
2086
- _id: string;
2087
- mailboxId: string;
2088
- messageId: string;
2089
- from: {
2090
- name: string;
2091
- address: string;
2092
- };
2093
- receivedAt: string;
2094
- size: number;
2095
- labels: string[];
2096
- to: {
2097
- name: string;
2098
- address: string;
2099
- }[];
2100
- threadId: string;
2101
- cc: {
2102
- name: string;
2103
- address: string;
2104
- }[];
2105
- bcc: {
2106
- name: string;
2107
- address: string;
2108
- }[];
2109
- attachments: {
2110
- name: string;
2111
- contentType: string;
2112
- size: number;
2113
- fileId: string;
2114
- contentId: string | null;
2115
- isInline: boolean;
2116
- }[];
2117
- flags: {
2118
- draft: boolean;
2119
- seen: boolean;
2120
- answered: boolean;
2121
- starred: boolean;
2122
- forwarded: boolean;
2123
- pinned: boolean;
2124
- };
2125
- highlights: {
2126
- value: string;
2127
- type: string;
2128
- label: string;
2129
- }[];
2130
- encrypted: boolean;
2131
- spamScore: number | null;
2132
- spamAction: string | null;
2133
- inReplyTo: string | null;
2134
- references: string[];
2135
- aliasTag: string | null;
2136
- snoozedUntil: string | null;
2137
- snoozedFromMailbox: string | null;
2138
- scheduledAt: string | null;
2139
- readReceiptRequested: boolean;
2140
- readReceiptSent: boolean;
2141
- draftRevision: number;
2142
- card?: {
2143
- type: "event" | "purchase" | "trip" | "bill" | "package";
2144
- data: Record<string, unknown> | null;
2145
- confidence: number | null;
2146
- extractedAt: string | null;
2147
- } | undefined;
2148
- headers?: Record<string, string> | undefined;
2149
- text?: string | null | undefined;
2150
- replyTo?: {
2151
- name: string;
2152
- address: string;
2153
- } | undefined;
2154
- html?: string | null | undefined;
2155
- senderAvatarPath?: string | null | undefined;
2156
- threadCount?: number | undefined;
2157
- threadParticipants?: string[] | undefined;
2158
- delivery?: unknown;
2159
- }[];
2160
- bundle: {
2161
- color: string;
2162
- name: string;
2163
- createdAt: string;
2164
- updatedAt: string;
2165
- id: string;
2166
- enabled: boolean;
2167
- userId: string;
2168
- _id: string;
2169
- icon: string;
2170
- order: number;
2171
- matchLabels: string[];
2172
- collapsed: boolean;
2173
- };
2174
- unreadCount: number;
2175
- }[];
2176
- }>;
639
+ }, z.core.$strip>;
2177
640
  export type EmailBundledInboxWire = z.infer<typeof emailBundledInboxSchema>;
2178
641
  /** An address-book entry. `company` and `notes` are `null` when unset. */
2179
642
  export declare const emailContactSchema: z.ZodObject<{
@@ -2189,33 +652,7 @@ export declare const emailContactSchema: z.ZodObject<{
2189
652
  lastContactedAt: z.ZodNullable<z.ZodString>;
2190
653
  createdAt: z.ZodString;
2191
654
  updatedAt: z.ZodString;
2192
- }, "strip", z.ZodTypeAny, {
2193
- name: string;
2194
- createdAt: string;
2195
- updatedAt: string;
2196
- id: string;
2197
- email: string;
2198
- userId: string;
2199
- _id: string;
2200
- starred: boolean;
2201
- company: string | null;
2202
- notes: string | null;
2203
- autoCollected: boolean;
2204
- lastContactedAt: string | null;
2205
- }, {
2206
- name: string;
2207
- createdAt: string;
2208
- updatedAt: string;
2209
- id: string;
2210
- email: string;
2211
- userId: string;
2212
- _id: string;
2213
- starred: boolean;
2214
- company: string | null;
2215
- notes: string | null;
2216
- autoCollected: boolean;
2217
- lastContactedAt: string | null;
2218
- }>;
655
+ }, z.core.$strip>;
2219
656
  export type EmailContactWire = z.infer<typeof emailContactSchema>;
2220
657
  /**
2221
658
  * One durable outbound delivery. `terminal` means no further attempt will
@@ -2224,7 +661,13 @@ export type EmailContactWire = z.infer<typeof emailContactSchema>;
2224
661
  export declare const emailOutboxSchema: z.ZodObject<{
2225
662
  id: z.ZodString;
2226
663
  messageId: z.ZodString;
2227
- status: z.ZodEnum<["pending", "processing", "sent", "failed", "cancelled"]>;
664
+ status: z.ZodEnum<{
665
+ pending: "pending";
666
+ failed: "failed";
667
+ cancelled: "cancelled";
668
+ sent: "sent";
669
+ processing: "processing";
670
+ }>;
2228
671
  attempts: z.ZodNumber;
2229
672
  maxAttempts: z.ZodNumber;
2230
673
  terminal: z.ZodBoolean;
@@ -2233,31 +676,7 @@ export declare const emailOutboxSchema: z.ZodObject<{
2233
676
  sentAt: z.ZodNullable<z.ZodString>;
2234
677
  createdAt: z.ZodString;
2235
678
  updatedAt: z.ZodString;
2236
- }, "strip", z.ZodTypeAny, {
2237
- status: "pending" | "failed" | "cancelled" | "sent" | "processing";
2238
- createdAt: string;
2239
- updatedAt: string;
2240
- id: string;
2241
- messageId: string;
2242
- attempts: number;
2243
- maxAttempts: number;
2244
- nextAttemptAt: string;
2245
- terminal: boolean;
2246
- lastError: string | null;
2247
- sentAt: string | null;
2248
- }, {
2249
- status: "pending" | "failed" | "cancelled" | "sent" | "processing";
2250
- createdAt: string;
2251
- updatedAt: string;
2252
- id: string;
2253
- messageId: string;
2254
- attempts: number;
2255
- maxAttempts: number;
2256
- nextAttemptAt: string;
2257
- terminal: boolean;
2258
- lastError: string | null;
2259
- sentAt: string | null;
2260
- }>;
679
+ }, z.core.$strip>;
2261
680
  export type EmailOutboxWire = z.infer<typeof emailOutboxSchema>;
2262
681
  /**
2263
682
  * One RFC 5322 `msg-id`: `<left@right>`, no whitespace, no nested brackets.