@oxy.so/contracts 4.14.0 → 4.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/products/billing.js +1 -0
- package/dist/cjs/products/checkout.js +14 -1
- package/dist/cjs/products/plans.js +18 -2
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/products/billing.js +1 -0
- package/dist/esm/products/checkout.js +13 -0
- package/dist/esm/products/plans.js +17 -1
- package/dist/esm/userResponse.js +8 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +22 -22
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +86 -86
- package/dist/types/deviceDirectory.d.ts +180 -180
- package/dist/types/email/messages.d.ts +78 -78
- package/dist/types/externalIdentity.d.ts +92 -59
- package/dist/types/index.d.ts +1 -1
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +12 -12
- package/dist/types/inference/decisions.d.ts +16 -16
- package/dist/types/inference/economics.d.ts +6 -6
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/priceVersion.d.ts +8 -8
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +26 -26
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/inference/usage.d.ts +8 -8
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +32 -24
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +108 -11
- package/dist/types/recommendations.d.ts +30 -30
- package/dist/types/safety.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +247 -111
- package/package.json +1 -1
|
@@ -218,7 +218,7 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
218
218
|
* and any non-personal one that has not chosen. A renderer reads
|
|
219
219
|
* `user.accountCategories ?? []`.
|
|
220
220
|
*/
|
|
221
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
221
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
222
222
|
/**
|
|
223
223
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
224
224
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -237,27 +237,34 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
237
237
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
238
238
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
239
239
|
*/
|
|
240
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
242
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
243
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
244
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
245
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
246
|
+
}, z.ZodUnknown, "strip">>>;
|
|
240
247
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
241
248
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
242
249
|
mentionMono: z.ZodObject<{
|
|
243
250
|
allowed: z.ZodBoolean;
|
|
244
251
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
245
252
|
}, "strict", z.ZodTypeAny, {
|
|
246
|
-
allowed: boolean;
|
|
247
253
|
expiresAt: string | null;
|
|
248
|
-
}, {
|
|
249
254
|
allowed: boolean;
|
|
255
|
+
}, {
|
|
250
256
|
expiresAt: string | null;
|
|
257
|
+
allowed: boolean;
|
|
251
258
|
}>;
|
|
252
259
|
}, "strict", z.ZodTypeAny, {
|
|
253
260
|
mentionMono: {
|
|
254
|
-
allowed: boolean;
|
|
255
261
|
expiresAt: string | null;
|
|
262
|
+
allowed: boolean;
|
|
256
263
|
};
|
|
257
264
|
}, {
|
|
258
265
|
mentionMono: {
|
|
259
|
-
allowed: boolean;
|
|
260
266
|
expiresAt: string | null;
|
|
267
|
+
allowed: boolean;
|
|
261
268
|
};
|
|
262
269
|
}>>;
|
|
263
270
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -347,7 +354,7 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
347
354
|
* and any non-personal one that has not chosen. A renderer reads
|
|
348
355
|
* `user.accountCategories ?? []`.
|
|
349
356
|
*/
|
|
350
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
357
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
351
358
|
/**
|
|
352
359
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
353
360
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -366,27 +373,34 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
366
373
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
367
374
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
368
375
|
*/
|
|
376
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
377
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
378
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
379
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
380
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
381
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
382
|
+
}, z.ZodUnknown, "strip">>>;
|
|
369
383
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
370
384
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
371
385
|
mentionMono: z.ZodObject<{
|
|
372
386
|
allowed: z.ZodBoolean;
|
|
373
387
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
374
388
|
}, "strict", z.ZodTypeAny, {
|
|
375
|
-
allowed: boolean;
|
|
376
389
|
expiresAt: string | null;
|
|
377
|
-
}, {
|
|
378
390
|
allowed: boolean;
|
|
391
|
+
}, {
|
|
379
392
|
expiresAt: string | null;
|
|
393
|
+
allowed: boolean;
|
|
380
394
|
}>;
|
|
381
395
|
}, "strict", z.ZodTypeAny, {
|
|
382
396
|
mentionMono: {
|
|
383
|
-
allowed: boolean;
|
|
384
397
|
expiresAt: string | null;
|
|
398
|
+
allowed: boolean;
|
|
385
399
|
};
|
|
386
400
|
}, {
|
|
387
401
|
mentionMono: {
|
|
388
|
-
allowed: boolean;
|
|
389
402
|
expiresAt: string | null;
|
|
403
|
+
allowed: boolean;
|
|
390
404
|
};
|
|
391
405
|
}>>;
|
|
392
406
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -476,7 +490,7 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
476
490
|
* and any non-personal one that has not chosen. A renderer reads
|
|
477
491
|
* `user.accountCategories ?? []`.
|
|
478
492
|
*/
|
|
479
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
493
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
480
494
|
/**
|
|
481
495
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
482
496
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -495,27 +509,34 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
495
509
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
496
510
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
497
511
|
*/
|
|
512
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
513
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
514
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
515
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
516
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
517
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
518
|
+
}, z.ZodUnknown, "strip">>>;
|
|
498
519
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
499
520
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
500
521
|
mentionMono: z.ZodObject<{
|
|
501
522
|
allowed: z.ZodBoolean;
|
|
502
523
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
503
524
|
}, "strict", z.ZodTypeAny, {
|
|
504
|
-
allowed: boolean;
|
|
505
525
|
expiresAt: string | null;
|
|
506
|
-
}, {
|
|
507
526
|
allowed: boolean;
|
|
527
|
+
}, {
|
|
508
528
|
expiresAt: string | null;
|
|
529
|
+
allowed: boolean;
|
|
509
530
|
}>;
|
|
510
531
|
}, "strict", z.ZodTypeAny, {
|
|
511
532
|
mentionMono: {
|
|
512
|
-
allowed: boolean;
|
|
513
533
|
expiresAt: string | null;
|
|
534
|
+
allowed: boolean;
|
|
514
535
|
};
|
|
515
536
|
}, {
|
|
516
537
|
mentionMono: {
|
|
517
|
-
allowed: boolean;
|
|
518
538
|
expiresAt: string | null;
|
|
539
|
+
allowed: boolean;
|
|
519
540
|
};
|
|
520
541
|
}>>;
|
|
521
542
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -565,14 +586,14 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
565
586
|
id: z.ZodOptional<z.ZodString>;
|
|
566
587
|
}, "strip", z.ZodTypeAny, {
|
|
567
588
|
url: string;
|
|
568
|
-
description?: string | undefined;
|
|
569
589
|
id?: string | undefined;
|
|
590
|
+
description?: string | undefined;
|
|
570
591
|
title?: string | undefined;
|
|
571
592
|
image?: string | undefined;
|
|
572
593
|
}, {
|
|
573
594
|
url: string;
|
|
574
|
-
description?: string | undefined;
|
|
575
595
|
id?: string | undefined;
|
|
596
|
+
description?: string | undefined;
|
|
576
597
|
title?: string | undefined;
|
|
577
598
|
image?: string | undefined;
|
|
578
599
|
}>, "many">>;
|
|
@@ -584,7 +605,13 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
584
605
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
585
606
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
586
607
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
587
|
-
userPreferences: z.ZodOptional<z.
|
|
608
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
609
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
610
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
611
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
612
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
613
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
614
|
+
}, z.ZodUnknown, "strip">>>;
|
|
588
615
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
589
616
|
/**
|
|
590
617
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -636,14 +663,14 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
636
663
|
id: z.ZodOptional<z.ZodString>;
|
|
637
664
|
}, "strip", z.ZodTypeAny, {
|
|
638
665
|
url: string;
|
|
639
|
-
description?: string | undefined;
|
|
640
666
|
id?: string | undefined;
|
|
667
|
+
description?: string | undefined;
|
|
641
668
|
title?: string | undefined;
|
|
642
669
|
image?: string | undefined;
|
|
643
670
|
}, {
|
|
644
671
|
url: string;
|
|
645
|
-
description?: string | undefined;
|
|
646
672
|
id?: string | undefined;
|
|
673
|
+
description?: string | undefined;
|
|
647
674
|
title?: string | undefined;
|
|
648
675
|
image?: string | undefined;
|
|
649
676
|
}>, "many">>;
|
|
@@ -655,7 +682,13 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
655
682
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
656
683
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
657
684
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
658
|
-
userPreferences: z.ZodOptional<z.
|
|
685
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
687
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
688
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
689
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
690
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
691
|
+
}, z.ZodUnknown, "strip">>>;
|
|
659
692
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
660
693
|
/**
|
|
661
694
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -707,14 +740,14 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
707
740
|
id: z.ZodOptional<z.ZodString>;
|
|
708
741
|
}, "strip", z.ZodTypeAny, {
|
|
709
742
|
url: string;
|
|
710
|
-
description?: string | undefined;
|
|
711
743
|
id?: string | undefined;
|
|
744
|
+
description?: string | undefined;
|
|
712
745
|
title?: string | undefined;
|
|
713
746
|
image?: string | undefined;
|
|
714
747
|
}, {
|
|
715
748
|
url: string;
|
|
716
|
-
description?: string | undefined;
|
|
717
749
|
id?: string | undefined;
|
|
750
|
+
description?: string | undefined;
|
|
718
751
|
title?: string | undefined;
|
|
719
752
|
image?: string | undefined;
|
|
720
753
|
}>, "many">>;
|
|
@@ -726,7 +759,13 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
726
759
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
727
760
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
728
761
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
729
|
-
userPreferences: z.ZodOptional<z.
|
|
762
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
764
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
765
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
766
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
767
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
768
|
+
}, z.ZodUnknown, "strip">>>;
|
|
730
769
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
731
770
|
/**
|
|
732
771
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -834,7 +873,7 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
834
873
|
* and any non-personal one that has not chosen. A renderer reads
|
|
835
874
|
* `user.accountCategories ?? []`.
|
|
836
875
|
*/
|
|
837
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
876
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
838
877
|
/**
|
|
839
878
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
840
879
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -853,27 +892,34 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
853
892
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
854
893
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
855
894
|
*/
|
|
895
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
896
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
897
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
898
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
899
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
900
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
901
|
+
}, z.ZodUnknown, "strip">>>;
|
|
856
902
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
857
903
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
858
904
|
mentionMono: z.ZodObject<{
|
|
859
905
|
allowed: z.ZodBoolean;
|
|
860
906
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
861
907
|
}, "strict", z.ZodTypeAny, {
|
|
862
|
-
allowed: boolean;
|
|
863
908
|
expiresAt: string | null;
|
|
864
|
-
}, {
|
|
865
909
|
allowed: boolean;
|
|
910
|
+
}, {
|
|
866
911
|
expiresAt: string | null;
|
|
912
|
+
allowed: boolean;
|
|
867
913
|
}>;
|
|
868
914
|
}, "strict", z.ZodTypeAny, {
|
|
869
915
|
mentionMono: {
|
|
870
|
-
allowed: boolean;
|
|
871
916
|
expiresAt: string | null;
|
|
917
|
+
allowed: boolean;
|
|
872
918
|
};
|
|
873
919
|
}, {
|
|
874
920
|
mentionMono: {
|
|
875
|
-
allowed: boolean;
|
|
876
921
|
expiresAt: string | null;
|
|
922
|
+
allowed: boolean;
|
|
877
923
|
};
|
|
878
924
|
}>>;
|
|
879
925
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -963,7 +1009,7 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
963
1009
|
* and any non-personal one that has not chosen. A renderer reads
|
|
964
1010
|
* `user.accountCategories ?? []`.
|
|
965
1011
|
*/
|
|
966
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
1012
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
967
1013
|
/**
|
|
968
1014
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
969
1015
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -982,27 +1028,34 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
982
1028
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
983
1029
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
984
1030
|
*/
|
|
1031
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1032
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1033
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1034
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1035
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1036
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1037
|
+
}, z.ZodUnknown, "strip">>>;
|
|
985
1038
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
986
1039
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
987
1040
|
mentionMono: z.ZodObject<{
|
|
988
1041
|
allowed: z.ZodBoolean;
|
|
989
1042
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
990
1043
|
}, "strict", z.ZodTypeAny, {
|
|
991
|
-
allowed: boolean;
|
|
992
1044
|
expiresAt: string | null;
|
|
993
|
-
}, {
|
|
994
1045
|
allowed: boolean;
|
|
1046
|
+
}, {
|
|
995
1047
|
expiresAt: string | null;
|
|
1048
|
+
allowed: boolean;
|
|
996
1049
|
}>;
|
|
997
1050
|
}, "strict", z.ZodTypeAny, {
|
|
998
1051
|
mentionMono: {
|
|
999
|
-
allowed: boolean;
|
|
1000
1052
|
expiresAt: string | null;
|
|
1053
|
+
allowed: boolean;
|
|
1001
1054
|
};
|
|
1002
1055
|
}, {
|
|
1003
1056
|
mentionMono: {
|
|
1004
|
-
allowed: boolean;
|
|
1005
1057
|
expiresAt: string | null;
|
|
1058
|
+
allowed: boolean;
|
|
1006
1059
|
};
|
|
1007
1060
|
}>>;
|
|
1008
1061
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1092,7 +1145,7 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1092
1145
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1093
1146
|
* `user.accountCategories ?? []`.
|
|
1094
1147
|
*/
|
|
1095
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
1148
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
1096
1149
|
/**
|
|
1097
1150
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1098
1151
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -1111,58 +1164,68 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1111
1164
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1112
1165
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1113
1166
|
*/
|
|
1167
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1168
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1169
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1170
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1171
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1172
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1173
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1114
1174
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1115
1175
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1116
1176
|
mentionMono: z.ZodObject<{
|
|
1117
1177
|
allowed: z.ZodBoolean;
|
|
1118
1178
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1119
1179
|
}, "strict", z.ZodTypeAny, {
|
|
1120
|
-
allowed: boolean;
|
|
1121
1180
|
expiresAt: string | null;
|
|
1122
|
-
}, {
|
|
1123
1181
|
allowed: boolean;
|
|
1182
|
+
}, {
|
|
1124
1183
|
expiresAt: string | null;
|
|
1184
|
+
allowed: boolean;
|
|
1125
1185
|
}>;
|
|
1126
1186
|
}, "strict", z.ZodTypeAny, {
|
|
1127
1187
|
mentionMono: {
|
|
1128
|
-
allowed: boolean;
|
|
1129
1188
|
expiresAt: string | null;
|
|
1189
|
+
allowed: boolean;
|
|
1130
1190
|
};
|
|
1131
1191
|
}, {
|
|
1132
1192
|
mentionMono: {
|
|
1133
|
-
allowed: boolean;
|
|
1134
1193
|
expiresAt: string | null;
|
|
1194
|
+
allowed: boolean;
|
|
1135
1195
|
};
|
|
1136
1196
|
}>>;
|
|
1137
1197
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1138
1198
|
}, "strip", z.ZodTypeAny, {
|
|
1139
1199
|
data: {
|
|
1140
1200
|
name: UserNameResponse;
|
|
1201
|
+
email?: string | undefined;
|
|
1141
1202
|
color?: string | null | undefined;
|
|
1142
|
-
kind?: "
|
|
1203
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
1143
1204
|
username?: string | undefined;
|
|
1144
1205
|
avatar?: string | null | undefined;
|
|
1145
|
-
|
|
1146
|
-
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
1147
|
-
email?: string | undefined;
|
|
1206
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1148
1207
|
id?: string | undefined;
|
|
1149
|
-
|
|
1208
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
1209
|
+
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
1150
1210
|
publicKey?: string | undefined;
|
|
1211
|
+
verified?: boolean | undefined;
|
|
1212
|
+
did?: string | undefined;
|
|
1213
|
+
_id?: string | undefined;
|
|
1151
1214
|
phone?: string | undefined;
|
|
1152
1215
|
address?: string | undefined;
|
|
1153
1216
|
birthday?: string | undefined;
|
|
1154
1217
|
dateOfBirth?: string | undefined;
|
|
1155
1218
|
isAdult?: boolean | undefined;
|
|
1156
|
-
verified?: boolean | undefined;
|
|
1157
1219
|
languages?: string[] | undefined;
|
|
1158
|
-
did?: string | undefined;
|
|
1159
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1160
1220
|
relationship?: UserRelationship | undefined;
|
|
1221
|
+
userPreferences?: z.objectOutputType<{
|
|
1222
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1223
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
1161
1224
|
themePreference?: ThemePreference | undefined;
|
|
1162
1225
|
personalization?: {
|
|
1163
1226
|
mentionMono: {
|
|
1164
|
-
allowed: boolean;
|
|
1165
1227
|
expiresAt: string | null;
|
|
1228
|
+
allowed: boolean;
|
|
1166
1229
|
};
|
|
1167
1230
|
} | undefined;
|
|
1168
1231
|
} & {
|
|
@@ -1171,31 +1234,34 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1171
1234
|
}, {
|
|
1172
1235
|
data: {
|
|
1173
1236
|
name: UserNameResponse;
|
|
1237
|
+
email?: string | undefined;
|
|
1174
1238
|
color?: string | null | undefined;
|
|
1175
|
-
kind?: "
|
|
1239
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
1176
1240
|
username?: string | undefined;
|
|
1177
1241
|
avatar?: string | null | undefined;
|
|
1178
|
-
|
|
1179
|
-
character?: unknown;
|
|
1180
|
-
email?: string | undefined;
|
|
1242
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1181
1243
|
id?: string | undefined;
|
|
1182
|
-
|
|
1244
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
1245
|
+
character?: unknown;
|
|
1183
1246
|
publicKey?: string | undefined;
|
|
1247
|
+
verified?: boolean | undefined;
|
|
1248
|
+
did?: string | undefined;
|
|
1249
|
+
_id?: string | undefined;
|
|
1184
1250
|
phone?: string | undefined;
|
|
1185
1251
|
address?: string | undefined;
|
|
1186
1252
|
birthday?: string | undefined;
|
|
1187
1253
|
dateOfBirth?: string | undefined;
|
|
1188
1254
|
isAdult?: boolean | undefined;
|
|
1189
|
-
verified?: boolean | undefined;
|
|
1190
1255
|
languages?: string[] | undefined;
|
|
1191
|
-
did?: string | undefined;
|
|
1192
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1193
1256
|
relationship?: UserRelationship | undefined;
|
|
1257
|
+
userPreferences?: z.objectInputType<{
|
|
1258
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1259
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
1194
1260
|
themePreference?: ThemePreference | undefined;
|
|
1195
1261
|
personalization?: {
|
|
1196
1262
|
mentionMono: {
|
|
1197
|
-
allowed: boolean;
|
|
1198
1263
|
expiresAt: string | null;
|
|
1264
|
+
allowed: boolean;
|
|
1199
1265
|
};
|
|
1200
1266
|
} | undefined;
|
|
1201
1267
|
} & {
|
|
@@ -1299,7 +1365,7 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1299
1365
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1300
1366
|
* `user.accountCategories ?? []`.
|
|
1301
1367
|
*/
|
|
1302
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
1368
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
1303
1369
|
/**
|
|
1304
1370
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1305
1371
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -1318,27 +1384,34 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1318
1384
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1319
1385
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1320
1386
|
*/
|
|
1387
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1388
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1389
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1390
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1391
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1392
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1393
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1321
1394
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1322
1395
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1323
1396
|
mentionMono: z.ZodObject<{
|
|
1324
1397
|
allowed: z.ZodBoolean;
|
|
1325
1398
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1326
1399
|
}, "strict", z.ZodTypeAny, {
|
|
1327
|
-
allowed: boolean;
|
|
1328
1400
|
expiresAt: string | null;
|
|
1329
|
-
}, {
|
|
1330
1401
|
allowed: boolean;
|
|
1402
|
+
}, {
|
|
1331
1403
|
expiresAt: string | null;
|
|
1404
|
+
allowed: boolean;
|
|
1332
1405
|
}>;
|
|
1333
1406
|
}, "strict", z.ZodTypeAny, {
|
|
1334
1407
|
mentionMono: {
|
|
1335
|
-
allowed: boolean;
|
|
1336
1408
|
expiresAt: string | null;
|
|
1409
|
+
allowed: boolean;
|
|
1337
1410
|
};
|
|
1338
1411
|
}, {
|
|
1339
1412
|
mentionMono: {
|
|
1340
|
-
allowed: boolean;
|
|
1341
1413
|
expiresAt: string | null;
|
|
1414
|
+
allowed: boolean;
|
|
1342
1415
|
};
|
|
1343
1416
|
}>>;
|
|
1344
1417
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1428,7 +1501,7 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1428
1501
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1429
1502
|
* `user.accountCategories ?? []`.
|
|
1430
1503
|
*/
|
|
1431
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
1504
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
1432
1505
|
/**
|
|
1433
1506
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1434
1507
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -1447,27 +1520,34 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1447
1520
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1448
1521
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1449
1522
|
*/
|
|
1523
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1524
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1525
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1526
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1527
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1528
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1529
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1450
1530
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1451
1531
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1452
1532
|
mentionMono: z.ZodObject<{
|
|
1453
1533
|
allowed: z.ZodBoolean;
|
|
1454
1534
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1455
1535
|
}, "strict", z.ZodTypeAny, {
|
|
1456
|
-
allowed: boolean;
|
|
1457
1536
|
expiresAt: string | null;
|
|
1458
|
-
}, {
|
|
1459
1537
|
allowed: boolean;
|
|
1538
|
+
}, {
|
|
1460
1539
|
expiresAt: string | null;
|
|
1540
|
+
allowed: boolean;
|
|
1461
1541
|
}>;
|
|
1462
1542
|
}, "strict", z.ZodTypeAny, {
|
|
1463
1543
|
mentionMono: {
|
|
1464
|
-
allowed: boolean;
|
|
1465
1544
|
expiresAt: string | null;
|
|
1545
|
+
allowed: boolean;
|
|
1466
1546
|
};
|
|
1467
1547
|
}, {
|
|
1468
1548
|
mentionMono: {
|
|
1469
|
-
allowed: boolean;
|
|
1470
1549
|
expiresAt: string | null;
|
|
1550
|
+
allowed: boolean;
|
|
1471
1551
|
};
|
|
1472
1552
|
}>>;
|
|
1473
1553
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1557,7 +1637,7 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1557
1637
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1558
1638
|
* `user.accountCategories ?? []`.
|
|
1559
1639
|
*/
|
|
1560
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
1640
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
1561
1641
|
/**
|
|
1562
1642
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1563
1643
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -1576,33 +1656,39 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1576
1656
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1577
1657
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1578
1658
|
*/
|
|
1659
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1660
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1661
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1662
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1663
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1664
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1665
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1579
1666
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1580
1667
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1581
1668
|
mentionMono: z.ZodObject<{
|
|
1582
1669
|
allowed: z.ZodBoolean;
|
|
1583
1670
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1584
1671
|
}, "strict", z.ZodTypeAny, {
|
|
1585
|
-
allowed: boolean;
|
|
1586
1672
|
expiresAt: string | null;
|
|
1587
|
-
}, {
|
|
1588
1673
|
allowed: boolean;
|
|
1674
|
+
}, {
|
|
1589
1675
|
expiresAt: string | null;
|
|
1676
|
+
allowed: boolean;
|
|
1590
1677
|
}>;
|
|
1591
1678
|
}, "strict", z.ZodTypeAny, {
|
|
1592
1679
|
mentionMono: {
|
|
1593
|
-
allowed: boolean;
|
|
1594
1680
|
expiresAt: string | null;
|
|
1681
|
+
allowed: boolean;
|
|
1595
1682
|
};
|
|
1596
1683
|
}, {
|
|
1597
1684
|
mentionMono: {
|
|
1598
|
-
allowed: boolean;
|
|
1599
1685
|
expiresAt: string | null;
|
|
1686
|
+
allowed: boolean;
|
|
1600
1687
|
};
|
|
1601
1688
|
}>>;
|
|
1602
1689
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1603
1690
|
}, "strip", z.ZodTypeAny, {
|
|
1604
1691
|
sessionId: string;
|
|
1605
|
-
isCurrent?: boolean | undefined;
|
|
1606
1692
|
user?: z.objectOutputType<{
|
|
1607
1693
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
1608
1694
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1690,7 +1776,7 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1690
1776
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1691
1777
|
* `user.accountCategories ?? []`.
|
|
1692
1778
|
*/
|
|
1693
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
1779
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
1694
1780
|
/**
|
|
1695
1781
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1696
1782
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -1709,33 +1795,40 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1709
1795
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1710
1796
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1711
1797
|
*/
|
|
1798
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1799
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1800
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1801
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1802
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1803
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1804
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1712
1805
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1713
1806
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1714
1807
|
mentionMono: z.ZodObject<{
|
|
1715
1808
|
allowed: z.ZodBoolean;
|
|
1716
1809
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1717
1810
|
}, "strict", z.ZodTypeAny, {
|
|
1718
|
-
allowed: boolean;
|
|
1719
1811
|
expiresAt: string | null;
|
|
1720
|
-
}, {
|
|
1721
1812
|
allowed: boolean;
|
|
1813
|
+
}, {
|
|
1722
1814
|
expiresAt: string | null;
|
|
1815
|
+
allowed: boolean;
|
|
1723
1816
|
}>;
|
|
1724
1817
|
}, "strict", z.ZodTypeAny, {
|
|
1725
1818
|
mentionMono: {
|
|
1726
|
-
allowed: boolean;
|
|
1727
1819
|
expiresAt: string | null;
|
|
1820
|
+
allowed: boolean;
|
|
1728
1821
|
};
|
|
1729
1822
|
}, {
|
|
1730
1823
|
mentionMono: {
|
|
1731
|
-
allowed: boolean;
|
|
1732
1824
|
expiresAt: string | null;
|
|
1825
|
+
allowed: boolean;
|
|
1733
1826
|
};
|
|
1734
1827
|
}>>;
|
|
1735
1828
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1829
|
+
isCurrent?: boolean | undefined;
|
|
1736
1830
|
}, {
|
|
1737
1831
|
sessionId: string;
|
|
1738
|
-
isCurrent?: boolean | undefined;
|
|
1739
1832
|
user?: z.objectInputType<{
|
|
1740
1833
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
1741
1834
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1823,7 +1916,7 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1823
1916
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1824
1917
|
* `user.accountCategories ?? []`.
|
|
1825
1918
|
*/
|
|
1826
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
1919
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
1827
1920
|
/**
|
|
1828
1921
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1829
1922
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -1842,30 +1935,38 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1842
1935
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1843
1936
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1844
1937
|
*/
|
|
1938
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1939
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1940
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1941
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1942
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1943
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1944
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1845
1945
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1846
1946
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1847
1947
|
mentionMono: z.ZodObject<{
|
|
1848
1948
|
allowed: z.ZodBoolean;
|
|
1849
1949
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1850
1950
|
}, "strict", z.ZodTypeAny, {
|
|
1851
|
-
allowed: boolean;
|
|
1852
1951
|
expiresAt: string | null;
|
|
1853
|
-
}, {
|
|
1854
1952
|
allowed: boolean;
|
|
1953
|
+
}, {
|
|
1855
1954
|
expiresAt: string | null;
|
|
1955
|
+
allowed: boolean;
|
|
1856
1956
|
}>;
|
|
1857
1957
|
}, "strict", z.ZodTypeAny, {
|
|
1858
1958
|
mentionMono: {
|
|
1859
|
-
allowed: boolean;
|
|
1860
1959
|
expiresAt: string | null;
|
|
1960
|
+
allowed: boolean;
|
|
1861
1961
|
};
|
|
1862
1962
|
}, {
|
|
1863
1963
|
mentionMono: {
|
|
1864
|
-
allowed: boolean;
|
|
1865
1964
|
expiresAt: string | null;
|
|
1965
|
+
allowed: boolean;
|
|
1866
1966
|
};
|
|
1867
1967
|
}>>;
|
|
1868
1968
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1969
|
+
isCurrent?: boolean | undefined;
|
|
1869
1970
|
}>;
|
|
1870
1971
|
export type DeviceLinkedSessionResponse = z.infer<typeof deviceLinkedSessionSchema>;
|
|
1871
1972
|
/** Wire shape of `GET /session/device/sessions/:sessionId` (an array). */
|
|
@@ -1959,7 +2060,7 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1959
2060
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1960
2061
|
* `user.accountCategories ?? []`.
|
|
1961
2062
|
*/
|
|
1962
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2063
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
1963
2064
|
/**
|
|
1964
2065
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1965
2066
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -1978,27 +2079,34 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1978
2079
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1979
2080
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1980
2081
|
*/
|
|
2082
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2083
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2084
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2085
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2086
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2087
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2088
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1981
2089
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1982
2090
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1983
2091
|
mentionMono: z.ZodObject<{
|
|
1984
2092
|
allowed: z.ZodBoolean;
|
|
1985
2093
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1986
2094
|
}, "strict", z.ZodTypeAny, {
|
|
1987
|
-
allowed: boolean;
|
|
1988
2095
|
expiresAt: string | null;
|
|
1989
|
-
}, {
|
|
1990
2096
|
allowed: boolean;
|
|
2097
|
+
}, {
|
|
1991
2098
|
expiresAt: string | null;
|
|
2099
|
+
allowed: boolean;
|
|
1992
2100
|
}>;
|
|
1993
2101
|
}, "strict", z.ZodTypeAny, {
|
|
1994
2102
|
mentionMono: {
|
|
1995
|
-
allowed: boolean;
|
|
1996
2103
|
expiresAt: string | null;
|
|
2104
|
+
allowed: boolean;
|
|
1997
2105
|
};
|
|
1998
2106
|
}, {
|
|
1999
2107
|
mentionMono: {
|
|
2000
|
-
allowed: boolean;
|
|
2001
2108
|
expiresAt: string | null;
|
|
2109
|
+
allowed: boolean;
|
|
2002
2110
|
};
|
|
2003
2111
|
}>>;
|
|
2004
2112
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2088,7 +2196,7 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2088
2196
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2089
2197
|
* `user.accountCategories ?? []`.
|
|
2090
2198
|
*/
|
|
2091
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2199
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
2092
2200
|
/**
|
|
2093
2201
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2094
2202
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -2107,27 +2215,34 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2107
2215
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2108
2216
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2109
2217
|
*/
|
|
2218
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2219
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2220
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2221
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2222
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2223
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2224
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2110
2225
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2111
2226
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2112
2227
|
mentionMono: z.ZodObject<{
|
|
2113
2228
|
allowed: z.ZodBoolean;
|
|
2114
2229
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2115
2230
|
}, "strict", z.ZodTypeAny, {
|
|
2116
|
-
allowed: boolean;
|
|
2117
2231
|
expiresAt: string | null;
|
|
2118
|
-
}, {
|
|
2119
2232
|
allowed: boolean;
|
|
2233
|
+
}, {
|
|
2120
2234
|
expiresAt: string | null;
|
|
2235
|
+
allowed: boolean;
|
|
2121
2236
|
}>;
|
|
2122
2237
|
}, "strict", z.ZodTypeAny, {
|
|
2123
2238
|
mentionMono: {
|
|
2124
|
-
allowed: boolean;
|
|
2125
2239
|
expiresAt: string | null;
|
|
2240
|
+
allowed: boolean;
|
|
2126
2241
|
};
|
|
2127
2242
|
}, {
|
|
2128
2243
|
mentionMono: {
|
|
2129
|
-
allowed: boolean;
|
|
2130
2244
|
expiresAt: string | null;
|
|
2245
|
+
allowed: boolean;
|
|
2131
2246
|
};
|
|
2132
2247
|
}>>;
|
|
2133
2248
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2217,7 +2332,7 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2217
2332
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2218
2333
|
* `user.accountCategories ?? []`.
|
|
2219
2334
|
*/
|
|
2220
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2335
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
2221
2336
|
/**
|
|
2222
2337
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2223
2338
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -2236,33 +2351,39 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2236
2351
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2237
2352
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2238
2353
|
*/
|
|
2354
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2355
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2356
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2357
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2358
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2359
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2360
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2239
2361
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2240
2362
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2241
2363
|
mentionMono: z.ZodObject<{
|
|
2242
2364
|
allowed: z.ZodBoolean;
|
|
2243
2365
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2244
2366
|
}, "strict", z.ZodTypeAny, {
|
|
2245
|
-
allowed: boolean;
|
|
2246
2367
|
expiresAt: string | null;
|
|
2247
|
-
}, {
|
|
2248
2368
|
allowed: boolean;
|
|
2369
|
+
}, {
|
|
2249
2370
|
expiresAt: string | null;
|
|
2371
|
+
allowed: boolean;
|
|
2250
2372
|
}>;
|
|
2251
2373
|
}, "strict", z.ZodTypeAny, {
|
|
2252
2374
|
mentionMono: {
|
|
2253
|
-
allowed: boolean;
|
|
2254
2375
|
expiresAt: string | null;
|
|
2376
|
+
allowed: boolean;
|
|
2255
2377
|
};
|
|
2256
2378
|
}, {
|
|
2257
2379
|
mentionMono: {
|
|
2258
|
-
allowed: boolean;
|
|
2259
2380
|
expiresAt: string | null;
|
|
2381
|
+
allowed: boolean;
|
|
2260
2382
|
};
|
|
2261
2383
|
}>>;
|
|
2262
2384
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2263
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2264
2386
|
sessionId: string;
|
|
2265
|
-
isCurrent?: boolean | undefined;
|
|
2266
2387
|
user?: z.objectOutputType<{
|
|
2267
2388
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
2268
2389
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2350,7 +2471,7 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2350
2471
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2351
2472
|
* `user.accountCategories ?? []`.
|
|
2352
2473
|
*/
|
|
2353
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2474
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
2354
2475
|
/**
|
|
2355
2476
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2356
2477
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -2369,33 +2490,40 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2369
2490
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2370
2491
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2371
2492
|
*/
|
|
2493
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2494
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2495
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2496
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2497
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2498
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2499
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2372
2500
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2373
2501
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2374
2502
|
mentionMono: z.ZodObject<{
|
|
2375
2503
|
allowed: z.ZodBoolean;
|
|
2376
2504
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2377
2505
|
}, "strict", z.ZodTypeAny, {
|
|
2378
|
-
allowed: boolean;
|
|
2379
2506
|
expiresAt: string | null;
|
|
2380
|
-
}, {
|
|
2381
2507
|
allowed: boolean;
|
|
2508
|
+
}, {
|
|
2382
2509
|
expiresAt: string | null;
|
|
2510
|
+
allowed: boolean;
|
|
2383
2511
|
}>;
|
|
2384
2512
|
}, "strict", z.ZodTypeAny, {
|
|
2385
2513
|
mentionMono: {
|
|
2386
|
-
allowed: boolean;
|
|
2387
2514
|
expiresAt: string | null;
|
|
2515
|
+
allowed: boolean;
|
|
2388
2516
|
};
|
|
2389
2517
|
}, {
|
|
2390
2518
|
mentionMono: {
|
|
2391
|
-
allowed: boolean;
|
|
2392
2519
|
expiresAt: string | null;
|
|
2520
|
+
allowed: boolean;
|
|
2393
2521
|
};
|
|
2394
2522
|
}>>;
|
|
2395
2523
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2524
|
+
isCurrent?: boolean | undefined;
|
|
2396
2525
|
}, {
|
|
2397
2526
|
sessionId: string;
|
|
2398
|
-
isCurrent?: boolean | undefined;
|
|
2399
2527
|
user?: z.objectInputType<{
|
|
2400
2528
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
2401
2529
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2483,7 +2611,7 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2483
2611
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2484
2612
|
* `user.accountCategories ?? []`.
|
|
2485
2613
|
*/
|
|
2486
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2614
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
2487
2615
|
/**
|
|
2488
2616
|
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2489
2617
|
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
@@ -2502,30 +2630,38 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2502
2630
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2503
2631
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2504
2632
|
*/
|
|
2633
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2634
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2635
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2636
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2637
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2638
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2639
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2505
2640
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2506
2641
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2507
2642
|
mentionMono: z.ZodObject<{
|
|
2508
2643
|
allowed: z.ZodBoolean;
|
|
2509
2644
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2510
2645
|
}, "strict", z.ZodTypeAny, {
|
|
2511
|
-
allowed: boolean;
|
|
2512
2646
|
expiresAt: string | null;
|
|
2513
|
-
}, {
|
|
2514
2647
|
allowed: boolean;
|
|
2648
|
+
}, {
|
|
2515
2649
|
expiresAt: string | null;
|
|
2650
|
+
allowed: boolean;
|
|
2516
2651
|
}>;
|
|
2517
2652
|
}, "strict", z.ZodTypeAny, {
|
|
2518
2653
|
mentionMono: {
|
|
2519
|
-
allowed: boolean;
|
|
2520
2654
|
expiresAt: string | null;
|
|
2655
|
+
allowed: boolean;
|
|
2521
2656
|
};
|
|
2522
2657
|
}, {
|
|
2523
2658
|
mentionMono: {
|
|
2524
|
-
allowed: boolean;
|
|
2525
2659
|
expiresAt: string | null;
|
|
2660
|
+
allowed: boolean;
|
|
2526
2661
|
};
|
|
2527
2662
|
}>>;
|
|
2528
2663
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2664
|
+
isCurrent?: boolean | undefined;
|
|
2529
2665
|
}>, "many">;
|
|
2530
2666
|
export type DeviceLinkedSessionsResponseContract = z.infer<typeof deviceLinkedSessionsResponseSchema>;
|
|
2531
2667
|
/**
|