@oxy.so/contracts 4.12.0 → 4.14.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/accountGraph.js +38 -4
- package/dist/cjs/avatarCharacter.js +120 -0
- package/dist/cjs/index.js +25 -14
- package/dist/cjs/organizations.js +210 -0
- package/dist/cjs/recommendations.js +3 -0
- package/dist/cjs/safety.js +15 -0
- package/dist/cjs/userResponse.js +7 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +36 -2
- package/dist/esm/avatarCharacter.js +115 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/organizations.js +207 -0
- package/dist/esm/recommendations.js +3 -0
- package/dist/esm/safety.js +12 -0
- package/dist/esm/userResponse.js +7 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +57 -14
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/avatarCharacter.d.ts +57 -0
- package/dist/types/deviceDirectory.d.ts +246 -246
- package/dist/types/externalIdentity.d.ts +62 -55
- package/dist/types/index.d.ts +5 -1
- package/dist/types/organizations.d.ts +1088 -0
- package/dist/types/recommendations.d.ts +40 -28
- package/dist/types/safety.d.ts +24 -0
- package/dist/types/userResponse.d.ts +200 -102
- package/package.json +1 -1
|
@@ -218,7 +218,13 @@ 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">, ("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")[], ("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")[]>>;
|
|
222
|
+
/**
|
|
223
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
224
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
225
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
226
|
+
*/
|
|
227
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
222
228
|
/**
|
|
223
229
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
224
230
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -237,21 +243,21 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
237
243
|
allowed: z.ZodBoolean;
|
|
238
244
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
239
245
|
}, "strict", z.ZodTypeAny, {
|
|
240
|
-
expiresAt: string | null;
|
|
241
246
|
allowed: boolean;
|
|
242
|
-
}, {
|
|
243
247
|
expiresAt: string | null;
|
|
248
|
+
}, {
|
|
244
249
|
allowed: boolean;
|
|
250
|
+
expiresAt: string | null;
|
|
245
251
|
}>;
|
|
246
252
|
}, "strict", z.ZodTypeAny, {
|
|
247
253
|
mentionMono: {
|
|
248
|
-
expiresAt: string | null;
|
|
249
254
|
allowed: boolean;
|
|
255
|
+
expiresAt: string | null;
|
|
250
256
|
};
|
|
251
257
|
}, {
|
|
252
258
|
mentionMono: {
|
|
253
|
-
expiresAt: string | null;
|
|
254
259
|
allowed: boolean;
|
|
260
|
+
expiresAt: string | null;
|
|
255
261
|
};
|
|
256
262
|
}>>;
|
|
257
263
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -341,7 +347,13 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
341
347
|
* and any non-personal one that has not chosen. A renderer reads
|
|
342
348
|
* `user.accountCategories ?? []`.
|
|
343
349
|
*/
|
|
344
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
351
|
+
/**
|
|
352
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
353
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
354
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
355
|
+
*/
|
|
356
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
345
357
|
/**
|
|
346
358
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
347
359
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -360,21 +372,21 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
360
372
|
allowed: z.ZodBoolean;
|
|
361
373
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
362
374
|
}, "strict", z.ZodTypeAny, {
|
|
363
|
-
expiresAt: string | null;
|
|
364
375
|
allowed: boolean;
|
|
365
|
-
}, {
|
|
366
376
|
expiresAt: string | null;
|
|
377
|
+
}, {
|
|
367
378
|
allowed: boolean;
|
|
379
|
+
expiresAt: string | null;
|
|
368
380
|
}>;
|
|
369
381
|
}, "strict", z.ZodTypeAny, {
|
|
370
382
|
mentionMono: {
|
|
371
|
-
expiresAt: string | null;
|
|
372
383
|
allowed: boolean;
|
|
384
|
+
expiresAt: string | null;
|
|
373
385
|
};
|
|
374
386
|
}, {
|
|
375
387
|
mentionMono: {
|
|
376
|
-
expiresAt: string | null;
|
|
377
388
|
allowed: boolean;
|
|
389
|
+
expiresAt: string | null;
|
|
378
390
|
};
|
|
379
391
|
}>>;
|
|
380
392
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -464,7 +476,13 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
464
476
|
* and any non-personal one that has not chosen. A renderer reads
|
|
465
477
|
* `user.accountCategories ?? []`.
|
|
466
478
|
*/
|
|
467
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
480
|
+
/**
|
|
481
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
482
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
483
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
484
|
+
*/
|
|
485
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
468
486
|
/**
|
|
469
487
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
470
488
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -483,21 +501,21 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
483
501
|
allowed: z.ZodBoolean;
|
|
484
502
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
485
503
|
}, "strict", z.ZodTypeAny, {
|
|
486
|
-
expiresAt: string | null;
|
|
487
504
|
allowed: boolean;
|
|
488
|
-
}, {
|
|
489
505
|
expiresAt: string | null;
|
|
506
|
+
}, {
|
|
490
507
|
allowed: boolean;
|
|
508
|
+
expiresAt: string | null;
|
|
491
509
|
}>;
|
|
492
510
|
}, "strict", z.ZodTypeAny, {
|
|
493
511
|
mentionMono: {
|
|
494
|
-
expiresAt: string | null;
|
|
495
512
|
allowed: boolean;
|
|
513
|
+
expiresAt: string | null;
|
|
496
514
|
};
|
|
497
515
|
}, {
|
|
498
516
|
mentionMono: {
|
|
499
|
-
expiresAt: string | null;
|
|
500
517
|
allowed: boolean;
|
|
518
|
+
expiresAt: string | null;
|
|
501
519
|
};
|
|
502
520
|
}>>;
|
|
503
521
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -816,7 +834,13 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
816
834
|
* and any non-personal one that has not chosen. A renderer reads
|
|
817
835
|
* `user.accountCategories ?? []`.
|
|
818
836
|
*/
|
|
819
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
838
|
+
/**
|
|
839
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
840
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
841
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
842
|
+
*/
|
|
843
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
820
844
|
/**
|
|
821
845
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
822
846
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -835,21 +859,21 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
835
859
|
allowed: z.ZodBoolean;
|
|
836
860
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
837
861
|
}, "strict", z.ZodTypeAny, {
|
|
838
|
-
expiresAt: string | null;
|
|
839
862
|
allowed: boolean;
|
|
840
|
-
}, {
|
|
841
863
|
expiresAt: string | null;
|
|
864
|
+
}, {
|
|
842
865
|
allowed: boolean;
|
|
866
|
+
expiresAt: string | null;
|
|
843
867
|
}>;
|
|
844
868
|
}, "strict", z.ZodTypeAny, {
|
|
845
869
|
mentionMono: {
|
|
846
|
-
expiresAt: string | null;
|
|
847
870
|
allowed: boolean;
|
|
871
|
+
expiresAt: string | null;
|
|
848
872
|
};
|
|
849
873
|
}, {
|
|
850
874
|
mentionMono: {
|
|
851
|
-
expiresAt: string | null;
|
|
852
875
|
allowed: boolean;
|
|
876
|
+
expiresAt: string | null;
|
|
853
877
|
};
|
|
854
878
|
}>>;
|
|
855
879
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -939,7 +963,13 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
939
963
|
* and any non-personal one that has not chosen. A renderer reads
|
|
940
964
|
* `user.accountCategories ?? []`.
|
|
941
965
|
*/
|
|
942
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
967
|
+
/**
|
|
968
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
969
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
970
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
971
|
+
*/
|
|
972
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
943
973
|
/**
|
|
944
974
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
945
975
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -958,21 +988,21 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
958
988
|
allowed: z.ZodBoolean;
|
|
959
989
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
960
990
|
}, "strict", z.ZodTypeAny, {
|
|
961
|
-
expiresAt: string | null;
|
|
962
991
|
allowed: boolean;
|
|
963
|
-
}, {
|
|
964
992
|
expiresAt: string | null;
|
|
993
|
+
}, {
|
|
965
994
|
allowed: boolean;
|
|
995
|
+
expiresAt: string | null;
|
|
966
996
|
}>;
|
|
967
997
|
}, "strict", z.ZodTypeAny, {
|
|
968
998
|
mentionMono: {
|
|
969
|
-
expiresAt: string | null;
|
|
970
999
|
allowed: boolean;
|
|
1000
|
+
expiresAt: string | null;
|
|
971
1001
|
};
|
|
972
1002
|
}, {
|
|
973
1003
|
mentionMono: {
|
|
974
|
-
expiresAt: string | null;
|
|
975
1004
|
allowed: boolean;
|
|
1005
|
+
expiresAt: string | null;
|
|
976
1006
|
};
|
|
977
1007
|
}>>;
|
|
978
1008
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1062,7 +1092,13 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1062
1092
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1063
1093
|
* `user.accountCategories ?? []`.
|
|
1064
1094
|
*/
|
|
1065
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
1096
|
+
/**
|
|
1097
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1098
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
1099
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
1100
|
+
*/
|
|
1101
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
1066
1102
|
/**
|
|
1067
1103
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
1068
1104
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -1081,51 +1117,52 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1081
1117
|
allowed: z.ZodBoolean;
|
|
1082
1118
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1083
1119
|
}, "strict", z.ZodTypeAny, {
|
|
1084
|
-
expiresAt: string | null;
|
|
1085
1120
|
allowed: boolean;
|
|
1086
|
-
}, {
|
|
1087
1121
|
expiresAt: string | null;
|
|
1122
|
+
}, {
|
|
1088
1123
|
allowed: boolean;
|
|
1124
|
+
expiresAt: string | null;
|
|
1089
1125
|
}>;
|
|
1090
1126
|
}, "strict", z.ZodTypeAny, {
|
|
1091
1127
|
mentionMono: {
|
|
1092
|
-
expiresAt: string | null;
|
|
1093
1128
|
allowed: boolean;
|
|
1129
|
+
expiresAt: string | null;
|
|
1094
1130
|
};
|
|
1095
1131
|
}, {
|
|
1096
1132
|
mentionMono: {
|
|
1097
|
-
expiresAt: string | null;
|
|
1098
1133
|
allowed: boolean;
|
|
1134
|
+
expiresAt: string | null;
|
|
1099
1135
|
};
|
|
1100
1136
|
}>>;
|
|
1101
1137
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1102
1138
|
}, "strip", z.ZodTypeAny, {
|
|
1103
1139
|
data: {
|
|
1104
1140
|
name: UserNameResponse;
|
|
1105
|
-
|
|
1106
|
-
kind?: "
|
|
1141
|
+
color?: string | null | undefined;
|
|
1142
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | undefined;
|
|
1107
1143
|
username?: string | undefined;
|
|
1108
1144
|
avatar?: string | null | undefined;
|
|
1109
|
-
|
|
1110
|
-
|
|
1145
|
+
accountCategories?: ("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")[] | undefined;
|
|
1146
|
+
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
1147
|
+
email?: string | undefined;
|
|
1111
1148
|
id?: string | undefined;
|
|
1112
|
-
publicKey?: string | undefined;
|
|
1113
|
-
verified?: boolean | undefined;
|
|
1114
|
-
did?: string | undefined;
|
|
1115
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1116
1149
|
_id?: string | undefined;
|
|
1150
|
+
publicKey?: string | undefined;
|
|
1117
1151
|
phone?: string | undefined;
|
|
1118
1152
|
address?: string | undefined;
|
|
1119
1153
|
birthday?: string | undefined;
|
|
1120
1154
|
dateOfBirth?: string | undefined;
|
|
1121
1155
|
isAdult?: boolean | undefined;
|
|
1156
|
+
verified?: boolean | undefined;
|
|
1122
1157
|
languages?: string[] | undefined;
|
|
1158
|
+
did?: string | undefined;
|
|
1159
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1123
1160
|
relationship?: UserRelationship | undefined;
|
|
1124
1161
|
themePreference?: ThemePreference | undefined;
|
|
1125
1162
|
personalization?: {
|
|
1126
1163
|
mentionMono: {
|
|
1127
|
-
expiresAt: string | null;
|
|
1128
1164
|
allowed: boolean;
|
|
1165
|
+
expiresAt: string | null;
|
|
1129
1166
|
};
|
|
1130
1167
|
} | undefined;
|
|
1131
1168
|
} & {
|
|
@@ -1134,30 +1171,31 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1134
1171
|
}, {
|
|
1135
1172
|
data: {
|
|
1136
1173
|
name: UserNameResponse;
|
|
1137
|
-
|
|
1138
|
-
kind?: "
|
|
1174
|
+
color?: string | null | undefined;
|
|
1175
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | undefined;
|
|
1139
1176
|
username?: string | undefined;
|
|
1140
1177
|
avatar?: string | null | undefined;
|
|
1141
|
-
|
|
1142
|
-
|
|
1178
|
+
accountCategories?: ("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")[] | undefined;
|
|
1179
|
+
character?: unknown;
|
|
1180
|
+
email?: string | undefined;
|
|
1143
1181
|
id?: string | undefined;
|
|
1144
|
-
publicKey?: string | undefined;
|
|
1145
|
-
verified?: boolean | undefined;
|
|
1146
|
-
did?: string | undefined;
|
|
1147
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1148
1182
|
_id?: string | undefined;
|
|
1183
|
+
publicKey?: string | undefined;
|
|
1149
1184
|
phone?: string | undefined;
|
|
1150
1185
|
address?: string | undefined;
|
|
1151
1186
|
birthday?: string | undefined;
|
|
1152
1187
|
dateOfBirth?: string | undefined;
|
|
1153
1188
|
isAdult?: boolean | undefined;
|
|
1189
|
+
verified?: boolean | undefined;
|
|
1154
1190
|
languages?: string[] | undefined;
|
|
1191
|
+
did?: string | undefined;
|
|
1192
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
1155
1193
|
relationship?: UserRelationship | undefined;
|
|
1156
1194
|
themePreference?: ThemePreference | undefined;
|
|
1157
1195
|
personalization?: {
|
|
1158
1196
|
mentionMono: {
|
|
1159
|
-
expiresAt: string | null;
|
|
1160
1197
|
allowed: boolean;
|
|
1198
|
+
expiresAt: string | null;
|
|
1161
1199
|
};
|
|
1162
1200
|
} | undefined;
|
|
1163
1201
|
} & {
|
|
@@ -1261,7 +1299,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1261
1299
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1262
1300
|
* `user.accountCategories ?? []`.
|
|
1263
1301
|
*/
|
|
1264
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
1303
|
+
/**
|
|
1304
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1305
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
1306
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
1307
|
+
*/
|
|
1308
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
1265
1309
|
/**
|
|
1266
1310
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
1267
1311
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -1280,21 +1324,21 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1280
1324
|
allowed: z.ZodBoolean;
|
|
1281
1325
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1282
1326
|
}, "strict", z.ZodTypeAny, {
|
|
1283
|
-
expiresAt: string | null;
|
|
1284
1327
|
allowed: boolean;
|
|
1285
|
-
}, {
|
|
1286
1328
|
expiresAt: string | null;
|
|
1329
|
+
}, {
|
|
1287
1330
|
allowed: boolean;
|
|
1331
|
+
expiresAt: string | null;
|
|
1288
1332
|
}>;
|
|
1289
1333
|
}, "strict", z.ZodTypeAny, {
|
|
1290
1334
|
mentionMono: {
|
|
1291
|
-
expiresAt: string | null;
|
|
1292
1335
|
allowed: boolean;
|
|
1336
|
+
expiresAt: string | null;
|
|
1293
1337
|
};
|
|
1294
1338
|
}, {
|
|
1295
1339
|
mentionMono: {
|
|
1296
|
-
expiresAt: string | null;
|
|
1297
1340
|
allowed: boolean;
|
|
1341
|
+
expiresAt: string | null;
|
|
1298
1342
|
};
|
|
1299
1343
|
}>>;
|
|
1300
1344
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1384,7 +1428,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1384
1428
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1385
1429
|
* `user.accountCategories ?? []`.
|
|
1386
1430
|
*/
|
|
1387
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
1432
|
+
/**
|
|
1433
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1434
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
1435
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
1436
|
+
*/
|
|
1437
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
1388
1438
|
/**
|
|
1389
1439
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
1390
1440
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -1403,21 +1453,21 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1403
1453
|
allowed: z.ZodBoolean;
|
|
1404
1454
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1405
1455
|
}, "strict", z.ZodTypeAny, {
|
|
1406
|
-
expiresAt: string | null;
|
|
1407
1456
|
allowed: boolean;
|
|
1408
|
-
}, {
|
|
1409
1457
|
expiresAt: string | null;
|
|
1458
|
+
}, {
|
|
1410
1459
|
allowed: boolean;
|
|
1460
|
+
expiresAt: string | null;
|
|
1411
1461
|
}>;
|
|
1412
1462
|
}, "strict", z.ZodTypeAny, {
|
|
1413
1463
|
mentionMono: {
|
|
1414
|
-
expiresAt: string | null;
|
|
1415
1464
|
allowed: boolean;
|
|
1465
|
+
expiresAt: string | null;
|
|
1416
1466
|
};
|
|
1417
1467
|
}, {
|
|
1418
1468
|
mentionMono: {
|
|
1419
|
-
expiresAt: string | null;
|
|
1420
1469
|
allowed: boolean;
|
|
1470
|
+
expiresAt: string | null;
|
|
1421
1471
|
};
|
|
1422
1472
|
}>>;
|
|
1423
1473
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1507,7 +1557,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1507
1557
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1508
1558
|
* `user.accountCategories ?? []`.
|
|
1509
1559
|
*/
|
|
1510
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
1561
|
+
/**
|
|
1562
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1563
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
1564
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
1565
|
+
*/
|
|
1566
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
1511
1567
|
/**
|
|
1512
1568
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
1513
1569
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -1526,26 +1582,27 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1526
1582
|
allowed: z.ZodBoolean;
|
|
1527
1583
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1528
1584
|
}, "strict", z.ZodTypeAny, {
|
|
1529
|
-
expiresAt: string | null;
|
|
1530
1585
|
allowed: boolean;
|
|
1531
|
-
}, {
|
|
1532
1586
|
expiresAt: string | null;
|
|
1587
|
+
}, {
|
|
1533
1588
|
allowed: boolean;
|
|
1589
|
+
expiresAt: string | null;
|
|
1534
1590
|
}>;
|
|
1535
1591
|
}, "strict", z.ZodTypeAny, {
|
|
1536
1592
|
mentionMono: {
|
|
1537
|
-
expiresAt: string | null;
|
|
1538
1593
|
allowed: boolean;
|
|
1594
|
+
expiresAt: string | null;
|
|
1539
1595
|
};
|
|
1540
1596
|
}, {
|
|
1541
1597
|
mentionMono: {
|
|
1542
|
-
expiresAt: string | null;
|
|
1543
1598
|
allowed: boolean;
|
|
1599
|
+
expiresAt: string | null;
|
|
1544
1600
|
};
|
|
1545
1601
|
}>>;
|
|
1546
1602
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1547
1603
|
}, "strip", z.ZodTypeAny, {
|
|
1548
1604
|
sessionId: string;
|
|
1605
|
+
isCurrent?: boolean | undefined;
|
|
1549
1606
|
user?: z.objectOutputType<{
|
|
1550
1607
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
1551
1608
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1633,7 +1690,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1633
1690
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1634
1691
|
* `user.accountCategories ?? []`.
|
|
1635
1692
|
*/
|
|
1636
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
1694
|
+
/**
|
|
1695
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1696
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
1697
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
1698
|
+
*/
|
|
1699
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
1637
1700
|
/**
|
|
1638
1701
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
1639
1702
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -1652,27 +1715,27 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1652
1715
|
allowed: z.ZodBoolean;
|
|
1653
1716
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1654
1717
|
}, "strict", z.ZodTypeAny, {
|
|
1655
|
-
expiresAt: string | null;
|
|
1656
1718
|
allowed: boolean;
|
|
1657
|
-
}, {
|
|
1658
1719
|
expiresAt: string | null;
|
|
1720
|
+
}, {
|
|
1659
1721
|
allowed: boolean;
|
|
1722
|
+
expiresAt: string | null;
|
|
1660
1723
|
}>;
|
|
1661
1724
|
}, "strict", z.ZodTypeAny, {
|
|
1662
1725
|
mentionMono: {
|
|
1663
|
-
expiresAt: string | null;
|
|
1664
1726
|
allowed: boolean;
|
|
1727
|
+
expiresAt: string | null;
|
|
1665
1728
|
};
|
|
1666
1729
|
}, {
|
|
1667
1730
|
mentionMono: {
|
|
1668
|
-
expiresAt: string | null;
|
|
1669
1731
|
allowed: boolean;
|
|
1732
|
+
expiresAt: string | null;
|
|
1670
1733
|
};
|
|
1671
1734
|
}>>;
|
|
1672
1735
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1673
|
-
isCurrent?: boolean | undefined;
|
|
1674
1736
|
}, {
|
|
1675
1737
|
sessionId: string;
|
|
1738
|
+
isCurrent?: boolean | undefined;
|
|
1676
1739
|
user?: z.objectInputType<{
|
|
1677
1740
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
1678
1741
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1760,7 +1823,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1760
1823
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1761
1824
|
* `user.accountCategories ?? []`.
|
|
1762
1825
|
*/
|
|
1763
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
1827
|
+
/**
|
|
1828
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1829
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
1830
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
1831
|
+
*/
|
|
1832
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
1764
1833
|
/**
|
|
1765
1834
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
1766
1835
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -1779,25 +1848,24 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1779
1848
|
allowed: z.ZodBoolean;
|
|
1780
1849
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1781
1850
|
}, "strict", z.ZodTypeAny, {
|
|
1782
|
-
expiresAt: string | null;
|
|
1783
1851
|
allowed: boolean;
|
|
1784
|
-
}, {
|
|
1785
1852
|
expiresAt: string | null;
|
|
1853
|
+
}, {
|
|
1786
1854
|
allowed: boolean;
|
|
1855
|
+
expiresAt: string | null;
|
|
1787
1856
|
}>;
|
|
1788
1857
|
}, "strict", z.ZodTypeAny, {
|
|
1789
1858
|
mentionMono: {
|
|
1790
|
-
expiresAt: string | null;
|
|
1791
1859
|
allowed: boolean;
|
|
1860
|
+
expiresAt: string | null;
|
|
1792
1861
|
};
|
|
1793
1862
|
}, {
|
|
1794
1863
|
mentionMono: {
|
|
1795
|
-
expiresAt: string | null;
|
|
1796
1864
|
allowed: boolean;
|
|
1865
|
+
expiresAt: string | null;
|
|
1797
1866
|
};
|
|
1798
1867
|
}>>;
|
|
1799
1868
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1800
|
-
isCurrent?: boolean | undefined;
|
|
1801
1869
|
}>;
|
|
1802
1870
|
export type DeviceLinkedSessionResponse = z.infer<typeof deviceLinkedSessionSchema>;
|
|
1803
1871
|
/** Wire shape of `GET /session/device/sessions/:sessionId` (an array). */
|
|
@@ -1891,7 +1959,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1891
1959
|
* and any non-personal one that has not chosen. A renderer reads
|
|
1892
1960
|
* `user.accountCategories ?? []`.
|
|
1893
1961
|
*/
|
|
1894
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
1963
|
+
/**
|
|
1964
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
1965
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
1966
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
1967
|
+
*/
|
|
1968
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
1895
1969
|
/**
|
|
1896
1970
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
1897
1971
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -1910,21 +1984,21 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1910
1984
|
allowed: z.ZodBoolean;
|
|
1911
1985
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1912
1986
|
}, "strict", z.ZodTypeAny, {
|
|
1913
|
-
expiresAt: string | null;
|
|
1914
1987
|
allowed: boolean;
|
|
1915
|
-
}, {
|
|
1916
1988
|
expiresAt: string | null;
|
|
1989
|
+
}, {
|
|
1917
1990
|
allowed: boolean;
|
|
1991
|
+
expiresAt: string | null;
|
|
1918
1992
|
}>;
|
|
1919
1993
|
}, "strict", z.ZodTypeAny, {
|
|
1920
1994
|
mentionMono: {
|
|
1921
|
-
expiresAt: string | null;
|
|
1922
1995
|
allowed: boolean;
|
|
1996
|
+
expiresAt: string | null;
|
|
1923
1997
|
};
|
|
1924
1998
|
}, {
|
|
1925
1999
|
mentionMono: {
|
|
1926
|
-
expiresAt: string | null;
|
|
1927
2000
|
allowed: boolean;
|
|
2001
|
+
expiresAt: string | null;
|
|
1928
2002
|
};
|
|
1929
2003
|
}>>;
|
|
1930
2004
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2014,7 +2088,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2014
2088
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2015
2089
|
* `user.accountCategories ?? []`.
|
|
2016
2090
|
*/
|
|
2017
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
2092
|
+
/**
|
|
2093
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2094
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
2095
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
2096
|
+
*/
|
|
2097
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2018
2098
|
/**
|
|
2019
2099
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
2020
2100
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -2033,21 +2113,21 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2033
2113
|
allowed: z.ZodBoolean;
|
|
2034
2114
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2035
2115
|
}, "strict", z.ZodTypeAny, {
|
|
2036
|
-
expiresAt: string | null;
|
|
2037
2116
|
allowed: boolean;
|
|
2038
|
-
}, {
|
|
2039
2117
|
expiresAt: string | null;
|
|
2118
|
+
}, {
|
|
2040
2119
|
allowed: boolean;
|
|
2120
|
+
expiresAt: string | null;
|
|
2041
2121
|
}>;
|
|
2042
2122
|
}, "strict", z.ZodTypeAny, {
|
|
2043
2123
|
mentionMono: {
|
|
2044
|
-
expiresAt: string | null;
|
|
2045
2124
|
allowed: boolean;
|
|
2125
|
+
expiresAt: string | null;
|
|
2046
2126
|
};
|
|
2047
2127
|
}, {
|
|
2048
2128
|
mentionMono: {
|
|
2049
|
-
expiresAt: string | null;
|
|
2050
2129
|
allowed: boolean;
|
|
2130
|
+
expiresAt: string | null;
|
|
2051
2131
|
};
|
|
2052
2132
|
}>>;
|
|
2053
2133
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2137,7 +2217,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2137
2217
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2138
2218
|
* `user.accountCategories ?? []`.
|
|
2139
2219
|
*/
|
|
2140
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
2221
|
+
/**
|
|
2222
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2223
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
2224
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
2225
|
+
*/
|
|
2226
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2141
2227
|
/**
|
|
2142
2228
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
2143
2229
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -2156,26 +2242,27 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2156
2242
|
allowed: z.ZodBoolean;
|
|
2157
2243
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2158
2244
|
}, "strict", z.ZodTypeAny, {
|
|
2159
|
-
expiresAt: string | null;
|
|
2160
2245
|
allowed: boolean;
|
|
2161
|
-
}, {
|
|
2162
2246
|
expiresAt: string | null;
|
|
2247
|
+
}, {
|
|
2163
2248
|
allowed: boolean;
|
|
2249
|
+
expiresAt: string | null;
|
|
2164
2250
|
}>;
|
|
2165
2251
|
}, "strict", z.ZodTypeAny, {
|
|
2166
2252
|
mentionMono: {
|
|
2167
|
-
expiresAt: string | null;
|
|
2168
2253
|
allowed: boolean;
|
|
2254
|
+
expiresAt: string | null;
|
|
2169
2255
|
};
|
|
2170
2256
|
}, {
|
|
2171
2257
|
mentionMono: {
|
|
2172
|
-
expiresAt: string | null;
|
|
2173
2258
|
allowed: boolean;
|
|
2259
|
+
expiresAt: string | null;
|
|
2174
2260
|
};
|
|
2175
2261
|
}>>;
|
|
2176
2262
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2177
2263
|
}, "strip", z.ZodTypeAny, {
|
|
2178
2264
|
sessionId: string;
|
|
2265
|
+
isCurrent?: boolean | undefined;
|
|
2179
2266
|
user?: z.objectOutputType<{
|
|
2180
2267
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
2181
2268
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2263,7 +2350,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2263
2350
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2264
2351
|
* `user.accountCategories ?? []`.
|
|
2265
2352
|
*/
|
|
2266
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
2354
|
+
/**
|
|
2355
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2356
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
2357
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
2358
|
+
*/
|
|
2359
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2267
2360
|
/**
|
|
2268
2361
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
2269
2362
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -2282,27 +2375,27 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2282
2375
|
allowed: z.ZodBoolean;
|
|
2283
2376
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2284
2377
|
}, "strict", z.ZodTypeAny, {
|
|
2285
|
-
expiresAt: string | null;
|
|
2286
2378
|
allowed: boolean;
|
|
2287
|
-
}, {
|
|
2288
2379
|
expiresAt: string | null;
|
|
2380
|
+
}, {
|
|
2289
2381
|
allowed: boolean;
|
|
2382
|
+
expiresAt: string | null;
|
|
2290
2383
|
}>;
|
|
2291
2384
|
}, "strict", z.ZodTypeAny, {
|
|
2292
2385
|
mentionMono: {
|
|
2293
|
-
expiresAt: string | null;
|
|
2294
2386
|
allowed: boolean;
|
|
2387
|
+
expiresAt: string | null;
|
|
2295
2388
|
};
|
|
2296
2389
|
}, {
|
|
2297
2390
|
mentionMono: {
|
|
2298
|
-
expiresAt: string | null;
|
|
2299
2391
|
allowed: boolean;
|
|
2392
|
+
expiresAt: string | null;
|
|
2300
2393
|
};
|
|
2301
2394
|
}>>;
|
|
2302
2395
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2303
|
-
isCurrent?: boolean | undefined;
|
|
2304
2396
|
}, {
|
|
2305
2397
|
sessionId: string;
|
|
2398
|
+
isCurrent?: boolean | undefined;
|
|
2306
2399
|
user?: z.objectInputType<{
|
|
2307
2400
|
/** The user id as a string. Present on `formatUserResponse` output. */
|
|
2308
2401
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2390,7 +2483,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2390
2483
|
* and any non-personal one that has not chosen. A renderer reads
|
|
2391
2484
|
* `user.accountCategories ?? []`.
|
|
2392
2485
|
*/
|
|
2393
|
-
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">, ("
|
|
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">, ("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")[], ("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")[]>>;
|
|
2487
|
+
/**
|
|
2488
|
+
* The 3D avatar character of a `kind: 'bot'` account — what Bloom's
|
|
2489
|
+
* `Avatar` draws instead of a picture. Present ONLY on a bot's payload,
|
|
2490
|
+
* never on a person's or an organization's, so those DTOs do not grow.
|
|
2491
|
+
*/
|
|
2492
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2394
2493
|
/**
|
|
2395
2494
|
* The authenticated viewer's relationship to this profile. Present ONLY
|
|
2396
2495
|
* on single-profile fetches (`GET /profiles/username/:username`,
|
|
@@ -2409,25 +2508,24 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2409
2508
|
allowed: z.ZodBoolean;
|
|
2410
2509
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2411
2510
|
}, "strict", z.ZodTypeAny, {
|
|
2412
|
-
expiresAt: string | null;
|
|
2413
2511
|
allowed: boolean;
|
|
2414
|
-
}, {
|
|
2415
2512
|
expiresAt: string | null;
|
|
2513
|
+
}, {
|
|
2416
2514
|
allowed: boolean;
|
|
2515
|
+
expiresAt: string | null;
|
|
2417
2516
|
}>;
|
|
2418
2517
|
}, "strict", z.ZodTypeAny, {
|
|
2419
2518
|
mentionMono: {
|
|
2420
|
-
expiresAt: string | null;
|
|
2421
2519
|
allowed: boolean;
|
|
2520
|
+
expiresAt: string | null;
|
|
2422
2521
|
};
|
|
2423
2522
|
}, {
|
|
2424
2523
|
mentionMono: {
|
|
2425
|
-
expiresAt: string | null;
|
|
2426
2524
|
allowed: boolean;
|
|
2525
|
+
expiresAt: string | null;
|
|
2427
2526
|
};
|
|
2428
2527
|
}>>;
|
|
2429
2528
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2430
|
-
isCurrent?: boolean | undefined;
|
|
2431
2529
|
}>, "many">;
|
|
2432
2530
|
export type DeviceLinkedSessionsResponseContract = z.infer<typeof deviceLinkedSessionsResponseSchema>;
|
|
2433
2531
|
/**
|