saasco-sdk 0.1.13 → 0.1.15
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/README.md +19 -7
- package/index.cjs.js +146 -50
- package/index.esm.js +141 -51
- package/package.json +1 -1
- package/src/index.d.ts +2 -0
- package/src/lib/analytics.d.ts +6 -1
- package/src/lib/getBrowserContext.d.ts +2 -0
- package/src/lib/tracking/index.d.ts +1 -0
- package/src/lib/tracking/types.d.ts +2798 -0
- package/src/lib/types.d.ts +207 -47
package/src/lib/types.d.ts
CHANGED
|
@@ -156,14 +156,20 @@ export declare const latestEventsRequestSchema: z.ZodObject<{
|
|
|
156
156
|
projectId: z.ZodString;
|
|
157
157
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
158
158
|
payload: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
distinctId: z.ZodOptional<z.ZodString>;
|
|
160
|
+
action: z.ZodOptional<z.ZodString>;
|
|
159
161
|
}, "strip", z.ZodTypeAny, {
|
|
160
162
|
projectId: string;
|
|
161
163
|
limit?: number | undefined;
|
|
162
164
|
payload?: boolean | undefined;
|
|
165
|
+
distinctId?: string | undefined;
|
|
166
|
+
action?: string | undefined;
|
|
163
167
|
}, {
|
|
164
168
|
projectId: string;
|
|
165
169
|
limit?: number | undefined;
|
|
166
170
|
payload?: boolean | undefined;
|
|
171
|
+
distinctId?: string | undefined;
|
|
172
|
+
action?: string | undefined;
|
|
167
173
|
}>;
|
|
168
174
|
export type LatestEventsRequest = z.infer<typeof latestEventsRequestSchema>;
|
|
169
175
|
export declare const latestEventItemSchema: z.ZodObject<{
|
|
@@ -176,26 +182,32 @@ export declare const latestEventItemSchema: z.ZodObject<{
|
|
|
176
182
|
device: z.ZodString;
|
|
177
183
|
browser: z.ZodString;
|
|
178
184
|
payload: z.ZodOptional<z.ZodString>;
|
|
185
|
+
distinctId: z.ZodOptional<z.ZodString>;
|
|
186
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
179
187
|
}, "strip", z.ZodTypeAny, {
|
|
180
188
|
id: string;
|
|
181
|
-
timestamp: string;
|
|
182
189
|
action: string;
|
|
190
|
+
timestamp: string;
|
|
183
191
|
location: string;
|
|
184
192
|
referrer: string;
|
|
185
193
|
href: string;
|
|
186
194
|
device: string;
|
|
187
195
|
browser: string;
|
|
188
196
|
payload?: string | undefined;
|
|
197
|
+
distinctId?: string | undefined;
|
|
198
|
+
unique?: boolean | undefined;
|
|
189
199
|
}, {
|
|
190
200
|
id: string;
|
|
191
|
-
timestamp: string;
|
|
192
201
|
action: string;
|
|
202
|
+
timestamp: string;
|
|
193
203
|
location: string;
|
|
194
204
|
referrer: string;
|
|
195
205
|
href: string;
|
|
196
206
|
device: string;
|
|
197
207
|
browser: string;
|
|
198
208
|
payload?: string | undefined;
|
|
209
|
+
distinctId?: string | undefined;
|
|
210
|
+
unique?: boolean | undefined;
|
|
199
211
|
}>;
|
|
200
212
|
export type LatestEventItem = z.infer<typeof latestEventItemSchema>;
|
|
201
213
|
export declare const latestEventsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -234,26 +246,32 @@ export declare const latestEventsResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
|
234
246
|
device: z.ZodString;
|
|
235
247
|
browser: z.ZodString;
|
|
236
248
|
payload: z.ZodOptional<z.ZodString>;
|
|
249
|
+
distinctId: z.ZodOptional<z.ZodString>;
|
|
250
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
237
251
|
}, "strip", z.ZodTypeAny, {
|
|
238
252
|
id: string;
|
|
239
|
-
timestamp: string;
|
|
240
253
|
action: string;
|
|
254
|
+
timestamp: string;
|
|
241
255
|
location: string;
|
|
242
256
|
referrer: string;
|
|
243
257
|
href: string;
|
|
244
258
|
device: string;
|
|
245
259
|
browser: string;
|
|
246
260
|
payload?: string | undefined;
|
|
261
|
+
distinctId?: string | undefined;
|
|
262
|
+
unique?: boolean | undefined;
|
|
247
263
|
}, {
|
|
248
264
|
id: string;
|
|
249
|
-
timestamp: string;
|
|
250
265
|
action: string;
|
|
266
|
+
timestamp: string;
|
|
251
267
|
location: string;
|
|
252
268
|
referrer: string;
|
|
253
269
|
href: string;
|
|
254
270
|
device: string;
|
|
255
271
|
browser: string;
|
|
256
272
|
payload?: string | undefined;
|
|
273
|
+
distinctId?: string | undefined;
|
|
274
|
+
unique?: boolean | undefined;
|
|
257
275
|
}>, "many">;
|
|
258
276
|
}>, "strip", z.ZodTypeAny, {
|
|
259
277
|
meta: {
|
|
@@ -268,14 +286,16 @@ export declare const latestEventsResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
|
268
286
|
rows: number;
|
|
269
287
|
data: {
|
|
270
288
|
id: string;
|
|
271
|
-
timestamp: string;
|
|
272
289
|
action: string;
|
|
290
|
+
timestamp: string;
|
|
273
291
|
location: string;
|
|
274
292
|
referrer: string;
|
|
275
293
|
href: string;
|
|
276
294
|
device: string;
|
|
277
295
|
browser: string;
|
|
278
296
|
payload?: string | undefined;
|
|
297
|
+
distinctId?: string | undefined;
|
|
298
|
+
unique?: boolean | undefined;
|
|
279
299
|
}[];
|
|
280
300
|
}, {
|
|
281
301
|
meta: {
|
|
@@ -290,14 +310,16 @@ export declare const latestEventsResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
|
290
310
|
rows: number;
|
|
291
311
|
data: {
|
|
292
312
|
id: string;
|
|
293
|
-
timestamp: string;
|
|
294
313
|
action: string;
|
|
314
|
+
timestamp: string;
|
|
295
315
|
location: string;
|
|
296
316
|
referrer: string;
|
|
297
317
|
href: string;
|
|
298
318
|
device: string;
|
|
299
319
|
browser: string;
|
|
300
320
|
payload?: string | undefined;
|
|
321
|
+
distinctId?: string | undefined;
|
|
322
|
+
unique?: boolean | undefined;
|
|
301
323
|
}[];
|
|
302
324
|
}>;
|
|
303
325
|
export type LatestEventsResponse = z.infer<typeof latestEventsResponseSchema>;
|
|
@@ -991,21 +1013,21 @@ export declare const analyticsEventSchema: z.ZodObject<{
|
|
|
991
1013
|
id: string;
|
|
992
1014
|
projectId: string;
|
|
993
1015
|
payload: string;
|
|
994
|
-
|
|
1016
|
+
distinctId: string | null;
|
|
995
1017
|
action: string;
|
|
1018
|
+
timestamp: string;
|
|
996
1019
|
anonymousId: string;
|
|
997
1020
|
sessionId: string;
|
|
998
|
-
distinctId: string | null;
|
|
999
1021
|
version: string;
|
|
1000
1022
|
}, {
|
|
1001
1023
|
id: string;
|
|
1002
1024
|
projectId: string;
|
|
1003
1025
|
payload: string;
|
|
1004
|
-
|
|
1026
|
+
distinctId: string | null;
|
|
1005
1027
|
action: string;
|
|
1028
|
+
timestamp: string;
|
|
1006
1029
|
anonymousId: string;
|
|
1007
1030
|
sessionId: string;
|
|
1008
|
-
distinctId: string | null;
|
|
1009
1031
|
version: string;
|
|
1010
1032
|
}>;
|
|
1011
1033
|
export type AnalyticsEvent = z.infer<typeof analyticsEventSchema>;
|
|
@@ -1049,21 +1071,21 @@ export declare const userEventsResponseSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1049
1071
|
id: string;
|
|
1050
1072
|
projectId: string;
|
|
1051
1073
|
payload: string;
|
|
1052
|
-
|
|
1074
|
+
distinctId: string | null;
|
|
1053
1075
|
action: string;
|
|
1076
|
+
timestamp: string;
|
|
1054
1077
|
anonymousId: string;
|
|
1055
1078
|
sessionId: string;
|
|
1056
|
-
distinctId: string | null;
|
|
1057
1079
|
version: string;
|
|
1058
1080
|
}, {
|
|
1059
1081
|
id: string;
|
|
1060
1082
|
projectId: string;
|
|
1061
1083
|
payload: string;
|
|
1062
|
-
|
|
1084
|
+
distinctId: string | null;
|
|
1063
1085
|
action: string;
|
|
1086
|
+
timestamp: string;
|
|
1064
1087
|
anonymousId: string;
|
|
1065
1088
|
sessionId: string;
|
|
1066
|
-
distinctId: string | null;
|
|
1067
1089
|
version: string;
|
|
1068
1090
|
}>, "many">;
|
|
1069
1091
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1081,11 +1103,11 @@ export declare const userEventsResponseSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1081
1103
|
id: string;
|
|
1082
1104
|
projectId: string;
|
|
1083
1105
|
payload: string;
|
|
1084
|
-
|
|
1106
|
+
distinctId: string | null;
|
|
1085
1107
|
action: string;
|
|
1108
|
+
timestamp: string;
|
|
1086
1109
|
anonymousId: string;
|
|
1087
1110
|
sessionId: string;
|
|
1088
|
-
distinctId: string | null;
|
|
1089
1111
|
version: string;
|
|
1090
1112
|
}[];
|
|
1091
1113
|
}, {
|
|
@@ -1103,11 +1125,11 @@ export declare const userEventsResponseSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1103
1125
|
id: string;
|
|
1104
1126
|
projectId: string;
|
|
1105
1127
|
payload: string;
|
|
1106
|
-
|
|
1128
|
+
distinctId: string | null;
|
|
1107
1129
|
action: string;
|
|
1130
|
+
timestamp: string;
|
|
1108
1131
|
anonymousId: string;
|
|
1109
1132
|
sessionId: string;
|
|
1110
|
-
distinctId: string | null;
|
|
1111
1133
|
version: string;
|
|
1112
1134
|
}[];
|
|
1113
1135
|
}>;
|
|
@@ -1193,7 +1215,7 @@ export declare const currentUsersResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
|
1193
1215
|
}>;
|
|
1194
1216
|
export type CurrentUsersResponse = z.infer<typeof currentUsersResponseSchema>;
|
|
1195
1217
|
export declare const reservedPropertiesSchema: z.ZodObject<{
|
|
1196
|
-
age: z.ZodOptional<z.ZodNullable<z.
|
|
1218
|
+
age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1197
1219
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1198
1220
|
birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1199
1221
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1210,10 +1232,16 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
|
|
|
1210
1232
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1211
1233
|
$id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1212
1234
|
$lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1235
|
+
$unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1236
|
+
$unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
|
|
1237
|
+
$stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1238
|
+
$stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1239
|
+
$stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1240
|
+
$_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1213
1241
|
}, "strip", z.ZodTypeAny, {
|
|
1214
1242
|
name?: string | null | undefined;
|
|
1215
1243
|
id?: string | null | undefined;
|
|
1216
|
-
age?:
|
|
1244
|
+
age?: number | null | undefined;
|
|
1217
1245
|
avatar?: string | null | undefined;
|
|
1218
1246
|
birthday?: string | null | undefined;
|
|
1219
1247
|
createdAt?: string | null | undefined;
|
|
@@ -1228,10 +1256,16 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
|
|
|
1228
1256
|
website?: string | null | undefined;
|
|
1229
1257
|
$id?: string | null | undefined;
|
|
1230
1258
|
$lastSeen?: string | null | undefined;
|
|
1259
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1260
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1261
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1262
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1263
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1264
|
+
$_toDelete?: boolean | null | undefined;
|
|
1231
1265
|
}, {
|
|
1232
1266
|
name?: string | null | undefined;
|
|
1233
1267
|
id?: string | null | undefined;
|
|
1234
|
-
age?:
|
|
1268
|
+
age?: number | null | undefined;
|
|
1235
1269
|
avatar?: string | null | undefined;
|
|
1236
1270
|
birthday?: string | null | undefined;
|
|
1237
1271
|
createdAt?: string | null | undefined;
|
|
@@ -1246,10 +1280,16 @@ export declare const reservedPropertiesSchema: z.ZodObject<{
|
|
|
1246
1280
|
website?: string | null | undefined;
|
|
1247
1281
|
$id?: string | null | undefined;
|
|
1248
1282
|
$lastSeen?: string | null | undefined;
|
|
1283
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1284
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1285
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1286
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1287
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1288
|
+
$_toDelete?: boolean | null | undefined;
|
|
1249
1289
|
}>;
|
|
1250
1290
|
export type ReservedProperties = z.infer<typeof reservedPropertiesSchema>;
|
|
1251
1291
|
export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
|
|
1252
|
-
age: z.ZodOptional<z.ZodNullable<z.
|
|
1292
|
+
age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1253
1293
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1254
1294
|
birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1255
1295
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1266,10 +1306,16 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
|
|
|
1266
1306
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1267
1307
|
$id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
1308
|
$lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1309
|
+
$unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1310
|
+
$unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
|
|
1311
|
+
$stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
|
+
$stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1313
|
+
$stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1314
|
+
$_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1269
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1270
1316
|
name?: string | null | undefined;
|
|
1271
1317
|
id?: string | null | undefined;
|
|
1272
|
-
age?:
|
|
1318
|
+
age?: number | null | undefined;
|
|
1273
1319
|
avatar?: string | null | undefined;
|
|
1274
1320
|
birthday?: string | null | undefined;
|
|
1275
1321
|
createdAt?: string | null | undefined;
|
|
@@ -1284,10 +1330,16 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
|
|
|
1284
1330
|
website?: string | null | undefined;
|
|
1285
1331
|
$id?: string | null | undefined;
|
|
1286
1332
|
$lastSeen?: string | null | undefined;
|
|
1333
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1334
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1335
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1336
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1337
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1338
|
+
$_toDelete?: boolean | null | undefined;
|
|
1287
1339
|
}, {
|
|
1288
1340
|
name?: string | null | undefined;
|
|
1289
1341
|
id?: string | null | undefined;
|
|
1290
|
-
age?:
|
|
1342
|
+
age?: number | null | undefined;
|
|
1291
1343
|
avatar?: string | null | undefined;
|
|
1292
1344
|
birthday?: string | null | undefined;
|
|
1293
1345
|
createdAt?: string | null | undefined;
|
|
@@ -1302,6 +1354,12 @@ export declare const contactPropertiesSchema: z.ZodIntersection<z.ZodOptional<z.
|
|
|
1302
1354
|
website?: string | null | undefined;
|
|
1303
1355
|
$id?: string | null | undefined;
|
|
1304
1356
|
$lastSeen?: string | null | undefined;
|
|
1357
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1358
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1359
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1360
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1361
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1362
|
+
$_toDelete?: boolean | null | undefined;
|
|
1305
1363
|
}>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull]>, "many">]>>>;
|
|
1306
1364
|
export type ContactProperties = z.infer<typeof contactPropertiesSchema>;
|
|
1307
1365
|
export declare const analyticsUserRawSchema: z.ZodObject<{
|
|
@@ -1312,13 +1370,13 @@ export declare const analyticsUserRawSchema: z.ZodObject<{
|
|
|
1312
1370
|
}, "strip", z.ZodTypeAny, {
|
|
1313
1371
|
projectId: string;
|
|
1314
1372
|
payload: string;
|
|
1315
|
-
timestamp: string;
|
|
1316
1373
|
distinctId: string;
|
|
1374
|
+
timestamp: string;
|
|
1317
1375
|
}, {
|
|
1318
1376
|
projectId: string;
|
|
1319
1377
|
payload: string;
|
|
1320
|
-
timestamp: string;
|
|
1321
1378
|
distinctId: string;
|
|
1379
|
+
timestamp: string;
|
|
1322
1380
|
}>;
|
|
1323
1381
|
export type AnalyticsUserRaw = z.infer<typeof analyticsUserRawSchema>;
|
|
1324
1382
|
export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
@@ -1328,15 +1386,15 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
1328
1386
|
payload: z.ZodString;
|
|
1329
1387
|
}, "payload">, "strip", z.ZodTypeAny, {
|
|
1330
1388
|
projectId: string;
|
|
1331
|
-
timestamp: string;
|
|
1332
1389
|
distinctId: string;
|
|
1390
|
+
timestamp: string;
|
|
1333
1391
|
}, {
|
|
1334
1392
|
projectId: string;
|
|
1335
|
-
timestamp: string;
|
|
1336
1393
|
distinctId: string;
|
|
1394
|
+
timestamp: string;
|
|
1337
1395
|
}>, z.ZodObject<{
|
|
1338
1396
|
properties: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
|
|
1339
|
-
age: z.ZodOptional<z.ZodNullable<z.
|
|
1397
|
+
age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1340
1398
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1341
1399
|
birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1342
1400
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1353,10 +1411,16 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
1353
1411
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1354
1412
|
$id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1355
1413
|
$lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1414
|
+
$unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1415
|
+
$unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
|
|
1416
|
+
$stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1417
|
+
$stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1418
|
+
$stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1419
|
+
$_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1356
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1357
1421
|
name?: string | null | undefined;
|
|
1358
1422
|
id?: string | null | undefined;
|
|
1359
|
-
age?:
|
|
1423
|
+
age?: number | null | undefined;
|
|
1360
1424
|
avatar?: string | null | undefined;
|
|
1361
1425
|
birthday?: string | null | undefined;
|
|
1362
1426
|
createdAt?: string | null | undefined;
|
|
@@ -1371,10 +1435,16 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
1371
1435
|
website?: string | null | undefined;
|
|
1372
1436
|
$id?: string | null | undefined;
|
|
1373
1437
|
$lastSeen?: string | null | undefined;
|
|
1438
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1439
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1440
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1441
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1442
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1443
|
+
$_toDelete?: boolean | null | undefined;
|
|
1374
1444
|
}, {
|
|
1375
1445
|
name?: string | null | undefined;
|
|
1376
1446
|
id?: string | null | undefined;
|
|
1377
|
-
age?:
|
|
1447
|
+
age?: number | null | undefined;
|
|
1378
1448
|
avatar?: string | null | undefined;
|
|
1379
1449
|
birthday?: string | null | undefined;
|
|
1380
1450
|
createdAt?: string | null | undefined;
|
|
@@ -1389,12 +1459,18 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
1389
1459
|
website?: string | null | undefined;
|
|
1390
1460
|
$id?: string | null | undefined;
|
|
1391
1461
|
$lastSeen?: string | null | undefined;
|
|
1462
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1463
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1464
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1465
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1466
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1467
|
+
$_toDelete?: boolean | null | undefined;
|
|
1392
1468
|
}>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull]>, "many">]>>>;
|
|
1393
1469
|
}, "strip", z.ZodTypeAny, {
|
|
1394
1470
|
properties: {
|
|
1395
1471
|
name?: string | null | undefined;
|
|
1396
1472
|
id?: string | null | undefined;
|
|
1397
|
-
age?:
|
|
1473
|
+
age?: number | null | undefined;
|
|
1398
1474
|
avatar?: string | null | undefined;
|
|
1399
1475
|
birthday?: string | null | undefined;
|
|
1400
1476
|
createdAt?: string | null | undefined;
|
|
@@ -1409,12 +1485,18 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
1409
1485
|
website?: string | null | undefined;
|
|
1410
1486
|
$id?: string | null | undefined;
|
|
1411
1487
|
$lastSeen?: string | null | undefined;
|
|
1488
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1489
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1490
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1491
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1492
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1493
|
+
$_toDelete?: boolean | null | undefined;
|
|
1412
1494
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1413
1495
|
}, {
|
|
1414
1496
|
properties: {
|
|
1415
1497
|
name?: string | null | undefined;
|
|
1416
1498
|
id?: string | null | undefined;
|
|
1417
|
-
age?:
|
|
1499
|
+
age?: number | null | undefined;
|
|
1418
1500
|
avatar?: string | null | undefined;
|
|
1419
1501
|
birthday?: string | null | undefined;
|
|
1420
1502
|
createdAt?: string | null | undefined;
|
|
@@ -1429,6 +1511,12 @@ export declare const analyticsUserSchema: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
1429
1511
|
website?: string | null | undefined;
|
|
1430
1512
|
$id?: string | null | undefined;
|
|
1431
1513
|
$lastSeen?: string | null | undefined;
|
|
1514
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1515
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1516
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1517
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1518
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1519
|
+
$_toDelete?: boolean | null | undefined;
|
|
1432
1520
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1433
1521
|
}>>;
|
|
1434
1522
|
export type AnalyticsUser = z.infer<typeof analyticsUserSchema>;
|
|
@@ -1462,7 +1550,7 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1462
1550
|
anonymousId: z.ZodString;
|
|
1463
1551
|
version: z.ZodString;
|
|
1464
1552
|
payload: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
|
|
1465
|
-
age: z.ZodOptional<z.ZodNullable<z.
|
|
1553
|
+
age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1466
1554
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1467
1555
|
birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1468
1556
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1479,10 +1567,16 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1479
1567
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1480
1568
|
$id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1481
1569
|
$lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1570
|
+
$unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1571
|
+
$unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
|
|
1572
|
+
$stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1573
|
+
$stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1574
|
+
$stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1575
|
+
$_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1482
1576
|
}, "strip", z.ZodTypeAny, {
|
|
1483
1577
|
name?: string | null | undefined;
|
|
1484
1578
|
id?: string | null | undefined;
|
|
1485
|
-
age?:
|
|
1579
|
+
age?: number | null | undefined;
|
|
1486
1580
|
avatar?: string | null | undefined;
|
|
1487
1581
|
birthday?: string | null | undefined;
|
|
1488
1582
|
createdAt?: string | null | undefined;
|
|
@@ -1497,10 +1591,16 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1497
1591
|
website?: string | null | undefined;
|
|
1498
1592
|
$id?: string | null | undefined;
|
|
1499
1593
|
$lastSeen?: string | null | undefined;
|
|
1594
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1595
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1596
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1597
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1598
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1599
|
+
$_toDelete?: boolean | null | undefined;
|
|
1500
1600
|
}, {
|
|
1501
1601
|
name?: string | null | undefined;
|
|
1502
1602
|
id?: string | null | undefined;
|
|
1503
|
-
age?:
|
|
1603
|
+
age?: number | null | undefined;
|
|
1504
1604
|
avatar?: string | null | undefined;
|
|
1505
1605
|
birthday?: string | null | undefined;
|
|
1506
1606
|
createdAt?: string | null | undefined;
|
|
@@ -1515,6 +1615,12 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1515
1615
|
website?: string | null | undefined;
|
|
1516
1616
|
$id?: string | null | undefined;
|
|
1517
1617
|
$lastSeen?: string | null | undefined;
|
|
1618
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1619
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1620
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1621
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1622
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1623
|
+
$_toDelete?: boolean | null | undefined;
|
|
1518
1624
|
}>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull]>, "many">]>>>;
|
|
1519
1625
|
context: z.ZodOptional<z.ZodObject<{
|
|
1520
1626
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1529,7 +1635,7 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1529
1635
|
payload: {
|
|
1530
1636
|
name?: string | null | undefined;
|
|
1531
1637
|
id?: string | null | undefined;
|
|
1532
|
-
age?:
|
|
1638
|
+
age?: number | null | undefined;
|
|
1533
1639
|
avatar?: string | null | undefined;
|
|
1534
1640
|
birthday?: string | null | undefined;
|
|
1535
1641
|
createdAt?: string | null | undefined;
|
|
@@ -1544,10 +1650,16 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1544
1650
|
website?: string | null | undefined;
|
|
1545
1651
|
$id?: string | null | undefined;
|
|
1546
1652
|
$lastSeen?: string | null | undefined;
|
|
1653
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1654
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1655
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1656
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1657
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1658
|
+
$_toDelete?: boolean | null | undefined;
|
|
1547
1659
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1660
|
+
distinctId: string;
|
|
1548
1661
|
timestamp: string;
|
|
1549
1662
|
anonymousId: string;
|
|
1550
|
-
distinctId: string;
|
|
1551
1663
|
version: string;
|
|
1552
1664
|
context?: {
|
|
1553
1665
|
active?: boolean | undefined;
|
|
@@ -1558,7 +1670,7 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1558
1670
|
payload: {
|
|
1559
1671
|
name?: string | null | undefined;
|
|
1560
1672
|
id?: string | null | undefined;
|
|
1561
|
-
age?:
|
|
1673
|
+
age?: number | null | undefined;
|
|
1562
1674
|
avatar?: string | null | undefined;
|
|
1563
1675
|
birthday?: string | null | undefined;
|
|
1564
1676
|
createdAt?: string | null | undefined;
|
|
@@ -1573,10 +1685,16 @@ export declare const idenfitySchema: z.ZodObject<{
|
|
|
1573
1685
|
website?: string | null | undefined;
|
|
1574
1686
|
$id?: string | null | undefined;
|
|
1575
1687
|
$lastSeen?: string | null | undefined;
|
|
1688
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1689
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1690
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1691
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1692
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1693
|
+
$_toDelete?: boolean | null | undefined;
|
|
1576
1694
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1695
|
+
distinctId: string;
|
|
1577
1696
|
timestamp: string;
|
|
1578
1697
|
anonymousId: string;
|
|
1579
|
-
distinctId: string;
|
|
1580
1698
|
version: string;
|
|
1581
1699
|
context?: {
|
|
1582
1700
|
active?: boolean | undefined;
|
|
@@ -1625,7 +1743,7 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1625
1743
|
}, {
|
|
1626
1744
|
data: z.ZodArray<z.ZodObject<{
|
|
1627
1745
|
properties: z.ZodIntersection<z.ZodOptional<z.ZodObject<{
|
|
1628
|
-
age: z.ZodOptional<z.ZodNullable<z.
|
|
1746
|
+
age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1629
1747
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1630
1748
|
birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1631
1749
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1642,10 +1760,16 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1642
1760
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1643
1761
|
$id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1644
1762
|
$lastSeen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1763
|
+
$unsubscribed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1764
|
+
$unsubscribeReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["manual", "complained", "bounced"]>>>;
|
|
1765
|
+
$stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1766
|
+
$stripeTotalPayments: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1767
|
+
$stripeTotalSpent: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
1768
|
+
$_toDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1645
1769
|
}, "strip", z.ZodTypeAny, {
|
|
1646
1770
|
name?: string | null | undefined;
|
|
1647
1771
|
id?: string | null | undefined;
|
|
1648
|
-
age?:
|
|
1772
|
+
age?: number | null | undefined;
|
|
1649
1773
|
avatar?: string | null | undefined;
|
|
1650
1774
|
birthday?: string | null | undefined;
|
|
1651
1775
|
createdAt?: string | null | undefined;
|
|
@@ -1660,10 +1784,16 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1660
1784
|
website?: string | null | undefined;
|
|
1661
1785
|
$id?: string | null | undefined;
|
|
1662
1786
|
$lastSeen?: string | null | undefined;
|
|
1787
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1788
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1789
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1790
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1791
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1792
|
+
$_toDelete?: boolean | null | undefined;
|
|
1663
1793
|
}, {
|
|
1664
1794
|
name?: string | null | undefined;
|
|
1665
1795
|
id?: string | null | undefined;
|
|
1666
|
-
age?:
|
|
1796
|
+
age?: number | null | undefined;
|
|
1667
1797
|
avatar?: string | null | undefined;
|
|
1668
1798
|
birthday?: string | null | undefined;
|
|
1669
1799
|
createdAt?: string | null | undefined;
|
|
@@ -1678,12 +1808,18 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1678
1808
|
website?: string | null | undefined;
|
|
1679
1809
|
$id?: string | null | undefined;
|
|
1680
1810
|
$lastSeen?: string | null | undefined;
|
|
1811
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1812
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1813
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1814
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1815
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1816
|
+
$_toDelete?: boolean | null | undefined;
|
|
1681
1817
|
}>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull]>, "many">]>>>;
|
|
1682
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1683
1819
|
properties: {
|
|
1684
1820
|
name?: string | null | undefined;
|
|
1685
1821
|
id?: string | null | undefined;
|
|
1686
|
-
age?:
|
|
1822
|
+
age?: number | null | undefined;
|
|
1687
1823
|
avatar?: string | null | undefined;
|
|
1688
1824
|
birthday?: string | null | undefined;
|
|
1689
1825
|
createdAt?: string | null | undefined;
|
|
@@ -1698,12 +1834,18 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1698
1834
|
website?: string | null | undefined;
|
|
1699
1835
|
$id?: string | null | undefined;
|
|
1700
1836
|
$lastSeen?: string | null | undefined;
|
|
1837
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1838
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1839
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1840
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1841
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1842
|
+
$_toDelete?: boolean | null | undefined;
|
|
1701
1843
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1702
1844
|
}, {
|
|
1703
1845
|
properties: {
|
|
1704
1846
|
name?: string | null | undefined;
|
|
1705
1847
|
id?: string | null | undefined;
|
|
1706
|
-
age?:
|
|
1848
|
+
age?: number | null | undefined;
|
|
1707
1849
|
avatar?: string | null | undefined;
|
|
1708
1850
|
birthday?: string | null | undefined;
|
|
1709
1851
|
createdAt?: string | null | undefined;
|
|
@@ -1718,6 +1860,12 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1718
1860
|
website?: string | null | undefined;
|
|
1719
1861
|
$id?: string | null | undefined;
|
|
1720
1862
|
$lastSeen?: string | null | undefined;
|
|
1863
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1864
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1865
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1866
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1867
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1868
|
+
$_toDelete?: boolean | null | undefined;
|
|
1721
1869
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1722
1870
|
}>, "many">;
|
|
1723
1871
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1735,7 +1883,7 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1735
1883
|
properties: {
|
|
1736
1884
|
name?: string | null | undefined;
|
|
1737
1885
|
id?: string | null | undefined;
|
|
1738
|
-
age?:
|
|
1886
|
+
age?: number | null | undefined;
|
|
1739
1887
|
avatar?: string | null | undefined;
|
|
1740
1888
|
birthday?: string | null | undefined;
|
|
1741
1889
|
createdAt?: string | null | undefined;
|
|
@@ -1750,6 +1898,12 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1750
1898
|
website?: string | null | undefined;
|
|
1751
1899
|
$id?: string | null | undefined;
|
|
1752
1900
|
$lastSeen?: string | null | undefined;
|
|
1901
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1902
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1903
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1904
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1905
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1906
|
+
$_toDelete?: boolean | null | undefined;
|
|
1753
1907
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1754
1908
|
}[];
|
|
1755
1909
|
}, {
|
|
@@ -1767,7 +1921,7 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1767
1921
|
properties: {
|
|
1768
1922
|
name?: string | null | undefined;
|
|
1769
1923
|
id?: string | null | undefined;
|
|
1770
|
-
age?:
|
|
1924
|
+
age?: number | null | undefined;
|
|
1771
1925
|
avatar?: string | null | undefined;
|
|
1772
1926
|
birthday?: string | null | undefined;
|
|
1773
1927
|
createdAt?: string | null | undefined;
|
|
@@ -1782,6 +1936,12 @@ export declare const latestIdentifiesResponseSchema: z.ZodObject<z.objectUtil.ex
|
|
|
1782
1936
|
website?: string | null | undefined;
|
|
1783
1937
|
$id?: string | null | undefined;
|
|
1784
1938
|
$lastSeen?: string | null | undefined;
|
|
1939
|
+
$unsubscribed?: boolean | null | undefined;
|
|
1940
|
+
$unsubscribeReason?: "manual" | "complained" | "bounced" | null | undefined;
|
|
1941
|
+
$stripeCustomerId?: string | null | undefined;
|
|
1942
|
+
$stripeTotalPayments?: string | number | null | undefined;
|
|
1943
|
+
$stripeTotalSpent?: string | number | null | undefined;
|
|
1944
|
+
$_toDelete?: boolean | null | undefined;
|
|
1785
1945
|
} & Record<string, string | number | boolean | Date | (string | number | boolean | Date | null)[] | null>;
|
|
1786
1946
|
}[];
|
|
1787
1947
|
}>;
|