@oxy.so/contracts 4.12.0 → 4.13.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 +15 -0
- package/dist/cjs/avatarCharacter.js +120 -0
- package/dist/cjs/index.js +22 -14
- package/dist/cjs/recommendations.js +3 -0
- package/dist/cjs/userResponse.js +7 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +15 -0
- package/dist/esm/avatarCharacter.js +115 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/recommendations.js +3 -0
- package/dist/esm/userResponse.js +7 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +15 -4
- package/dist/types/agency.d.ts +44 -44
- package/dist/types/avatarCharacter.d.ts +57 -0
- package/dist/types/deviceDirectory.d.ts +66 -66
- package/dist/types/email/messages.d.ts +22 -22
- package/dist/types/externalIdentity.d.ts +11 -4
- package/dist/types/index.d.ts +2 -0
- package/dist/types/recommendations.d.ts +12 -0
- package/dist/types/userResponse.d.ts +100 -2
- package/package.json +1 -1
|
@@ -603,9 +603,9 @@ export declare const emailUserLabelSchema: z.ZodObject<{
|
|
|
603
603
|
createdAt: z.ZodString;
|
|
604
604
|
updatedAt: z.ZodString;
|
|
605
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
+
color: string;
|
|
606
607
|
system: false;
|
|
607
608
|
name: string;
|
|
608
|
-
color: string;
|
|
609
609
|
id: string;
|
|
610
610
|
createdAt: string;
|
|
611
611
|
updatedAt: string;
|
|
@@ -613,9 +613,9 @@ export declare const emailUserLabelSchema: z.ZodObject<{
|
|
|
613
613
|
_id: string;
|
|
614
614
|
order: number;
|
|
615
615
|
}, {
|
|
616
|
+
color: string;
|
|
616
617
|
system: false;
|
|
617
618
|
name: string;
|
|
618
|
-
color: string;
|
|
619
619
|
id: string;
|
|
620
620
|
createdAt: string;
|
|
621
621
|
updatedAt: string;
|
|
@@ -632,15 +632,15 @@ export declare const emailSystemLabelSchema: z.ZodObject<{
|
|
|
632
632
|
order: z.ZodNumber;
|
|
633
633
|
system: z.ZodLiteral<true>;
|
|
634
634
|
}, "strip", z.ZodTypeAny, {
|
|
635
|
+
color: string;
|
|
635
636
|
system: true;
|
|
636
637
|
name: string;
|
|
637
|
-
color: string;
|
|
638
638
|
_id: string;
|
|
639
639
|
order: number;
|
|
640
640
|
}, {
|
|
641
|
+
color: string;
|
|
641
642
|
system: true;
|
|
642
643
|
name: string;
|
|
643
|
-
color: string;
|
|
644
644
|
_id: string;
|
|
645
645
|
order: number;
|
|
646
646
|
}>;
|
|
@@ -656,9 +656,9 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
|
|
|
656
656
|
createdAt: z.ZodString;
|
|
657
657
|
updatedAt: z.ZodString;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
+
color: string;
|
|
659
660
|
system: false;
|
|
660
661
|
name: string;
|
|
661
|
-
color: string;
|
|
662
662
|
id: string;
|
|
663
663
|
createdAt: string;
|
|
664
664
|
updatedAt: string;
|
|
@@ -666,9 +666,9 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
|
|
|
666
666
|
_id: string;
|
|
667
667
|
order: number;
|
|
668
668
|
}, {
|
|
669
|
+
color: string;
|
|
669
670
|
system: false;
|
|
670
671
|
name: string;
|
|
671
|
-
color: string;
|
|
672
672
|
id: string;
|
|
673
673
|
createdAt: string;
|
|
674
674
|
updatedAt: string;
|
|
@@ -682,15 +682,15 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
|
|
|
682
682
|
order: z.ZodNumber;
|
|
683
683
|
system: z.ZodLiteral<true>;
|
|
684
684
|
}, "strip", z.ZodTypeAny, {
|
|
685
|
+
color: string;
|
|
685
686
|
system: true;
|
|
686
687
|
name: string;
|
|
687
|
-
color: string;
|
|
688
688
|
_id: string;
|
|
689
689
|
order: number;
|
|
690
690
|
}, {
|
|
691
|
+
color: string;
|
|
691
692
|
system: true;
|
|
692
693
|
name: string;
|
|
693
|
-
color: string;
|
|
694
694
|
_id: string;
|
|
695
695
|
order: number;
|
|
696
696
|
}>]>;
|
|
@@ -714,10 +714,10 @@ export declare const emailFilterActionSchema: z.ZodObject<{
|
|
|
714
714
|
type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
|
|
715
715
|
value: z.ZodOptional<z.ZodString>;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
-
type: "
|
|
717
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
718
718
|
value?: string | undefined;
|
|
719
719
|
}, {
|
|
720
|
-
type: "
|
|
720
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
721
721
|
value?: string | undefined;
|
|
722
722
|
}>;
|
|
723
723
|
export type EmailFilterActionWire = z.infer<typeof emailFilterActionSchema>;
|
|
@@ -746,10 +746,10 @@ export declare const emailFilterSchema: z.ZodObject<{
|
|
|
746
746
|
type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
|
|
747
747
|
value: z.ZodOptional<z.ZodString>;
|
|
748
748
|
}, "strip", z.ZodTypeAny, {
|
|
749
|
-
type: "
|
|
749
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
750
750
|
value?: string | undefined;
|
|
751
751
|
}, {
|
|
752
|
-
type: "
|
|
752
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
753
753
|
value?: string | undefined;
|
|
754
754
|
}>, "many">;
|
|
755
755
|
createdAt: z.ZodString;
|
|
@@ -770,7 +770,7 @@ export declare const emailFilterSchema: z.ZodObject<{
|
|
|
770
770
|
operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
|
|
771
771
|
}[];
|
|
772
772
|
actions: {
|
|
773
|
-
type: "
|
|
773
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
774
774
|
value?: string | undefined;
|
|
775
775
|
}[];
|
|
776
776
|
}, {
|
|
@@ -789,7 +789,7 @@ export declare const emailFilterSchema: z.ZodObject<{
|
|
|
789
789
|
operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
|
|
790
790
|
}[];
|
|
791
791
|
actions: {
|
|
792
|
-
type: "
|
|
792
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
793
793
|
value?: string | undefined;
|
|
794
794
|
}[];
|
|
795
795
|
}>;
|
|
@@ -808,8 +808,8 @@ export declare const emailBundleSchema: z.ZodObject<{
|
|
|
808
808
|
createdAt: z.ZodString;
|
|
809
809
|
updatedAt: z.ZodString;
|
|
810
810
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
name: string;
|
|
812
811
|
color: string;
|
|
812
|
+
name: string;
|
|
813
813
|
id: string;
|
|
814
814
|
createdAt: string;
|
|
815
815
|
updatedAt: string;
|
|
@@ -821,8 +821,8 @@ export declare const emailBundleSchema: z.ZodObject<{
|
|
|
821
821
|
matchLabels: string[];
|
|
822
822
|
collapsed: boolean;
|
|
823
823
|
}, {
|
|
824
|
-
name: string;
|
|
825
824
|
color: string;
|
|
825
|
+
name: string;
|
|
826
826
|
id: string;
|
|
827
827
|
createdAt: string;
|
|
828
828
|
updatedAt: string;
|
|
@@ -1208,8 +1208,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1208
1208
|
createdAt: z.ZodString;
|
|
1209
1209
|
updatedAt: z.ZodString;
|
|
1210
1210
|
}, "strip", z.ZodTypeAny, {
|
|
1211
|
-
name: string;
|
|
1212
1211
|
color: string;
|
|
1212
|
+
name: string;
|
|
1213
1213
|
id: string;
|
|
1214
1214
|
createdAt: string;
|
|
1215
1215
|
updatedAt: string;
|
|
@@ -1221,8 +1221,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1221
1221
|
matchLabels: string[];
|
|
1222
1222
|
collapsed: boolean;
|
|
1223
1223
|
}, {
|
|
1224
|
-
name: string;
|
|
1225
1224
|
color: string;
|
|
1225
|
+
name: string;
|
|
1226
1226
|
id: string;
|
|
1227
1227
|
createdAt: string;
|
|
1228
1228
|
updatedAt: string;
|
|
@@ -1682,8 +1682,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1682
1682
|
} | undefined;
|
|
1683
1683
|
}[];
|
|
1684
1684
|
bundle: {
|
|
1685
|
-
name: string;
|
|
1686
1685
|
color: string;
|
|
1686
|
+
name: string;
|
|
1687
1687
|
id: string;
|
|
1688
1688
|
createdAt: string;
|
|
1689
1689
|
updatedAt: string;
|
|
@@ -1779,8 +1779,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1779
1779
|
delivery?: unknown;
|
|
1780
1780
|
}[];
|
|
1781
1781
|
bundle: {
|
|
1782
|
-
name: string;
|
|
1783
1782
|
color: string;
|
|
1783
|
+
name: string;
|
|
1784
1784
|
id: string;
|
|
1785
1785
|
createdAt: string;
|
|
1786
1786
|
updatedAt: string;
|
|
@@ -1977,8 +1977,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1977
1977
|
} | undefined;
|
|
1978
1978
|
}[];
|
|
1979
1979
|
bundle: {
|
|
1980
|
-
name: string;
|
|
1981
1980
|
color: string;
|
|
1981
|
+
name: string;
|
|
1982
1982
|
id: string;
|
|
1983
1983
|
createdAt: string;
|
|
1984
1984
|
updatedAt: string;
|
|
@@ -2158,8 +2158,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
2158
2158
|
delivery?: unknown;
|
|
2159
2159
|
}[];
|
|
2160
2160
|
bundle: {
|
|
2161
|
-
name: string;
|
|
2162
2161
|
color: string;
|
|
2162
|
+
name: string;
|
|
2163
2163
|
id: string;
|
|
2164
2164
|
createdAt: string;
|
|
2165
2165
|
updatedAt: string;
|
|
@@ -72,6 +72,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
72
72
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
73
73
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
74
74
|
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">, ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
75
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
75
76
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
76
77
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
77
78
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
@@ -141,6 +142,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
141
142
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
142
143
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
143
144
|
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">, ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
145
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
144
146
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
145
147
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
146
148
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
@@ -210,6 +212,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
210
212
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
211
213
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
212
214
|
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">, ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
215
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
213
216
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
214
217
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
215
218
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
@@ -326,11 +329,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
326
329
|
}[];
|
|
327
330
|
redirectedUserIds: string[];
|
|
328
331
|
email?: string | undefined;
|
|
332
|
+
color?: string | null | undefined;
|
|
329
333
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
330
334
|
bio?: string | undefined;
|
|
331
335
|
avatar?: string | null | undefined;
|
|
332
|
-
color?: string | null | undefined;
|
|
333
336
|
accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
337
|
+
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
334
338
|
publicKey?: string | undefined;
|
|
335
339
|
verified?: boolean | undefined;
|
|
336
340
|
did?: string | undefined;
|
|
@@ -386,11 +390,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
386
390
|
}[];
|
|
387
391
|
redirectedUserIds: string[];
|
|
388
392
|
email?: string | undefined;
|
|
393
|
+
color?: string | null | undefined;
|
|
389
394
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
390
395
|
bio?: string | undefined;
|
|
391
396
|
avatar?: string | null | undefined;
|
|
392
|
-
color?: string | null | undefined;
|
|
393
397
|
accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
398
|
+
character?: unknown;
|
|
394
399
|
publicKey?: string | undefined;
|
|
395
400
|
verified?: boolean | undefined;
|
|
396
401
|
did?: string | undefined;
|
|
@@ -446,11 +451,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
446
451
|
}[];
|
|
447
452
|
redirectedUserIds: string[];
|
|
448
453
|
email?: string | undefined;
|
|
454
|
+
color?: string | null | undefined;
|
|
449
455
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
450
456
|
bio?: string | undefined;
|
|
451
457
|
avatar?: string | null | undefined;
|
|
452
|
-
color?: string | null | undefined;
|
|
453
458
|
accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
459
|
+
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
454
460
|
publicKey?: string | undefined;
|
|
455
461
|
verified?: boolean | undefined;
|
|
456
462
|
did?: string | undefined;
|
|
@@ -506,11 +512,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
506
512
|
}[];
|
|
507
513
|
redirectedUserIds: string[];
|
|
508
514
|
email?: string | undefined;
|
|
515
|
+
color?: string | null | undefined;
|
|
509
516
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
510
517
|
bio?: string | undefined;
|
|
511
518
|
avatar?: string | null | undefined;
|
|
512
|
-
color?: string | null | undefined;
|
|
513
519
|
accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
520
|
+
character?: unknown;
|
|
514
521
|
publicKey?: string | undefined;
|
|
515
522
|
verified?: boolean | undefined;
|
|
516
523
|
did?: string | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export { ACCOUNT_KINDS, accountKindSchema, CHILD_ACCOUNT_KINDS, childAccountKindSchema, isAccountKind, isDelegatedActAsEligibleKind, isOperatorSwitchTargetKind, ACCOUNT_CATEGORY_IDS, ACCOUNT_CATEGORY_KINDS, accountCategoriesSchema, accountCategoryIdSchema, isSelectableAccountCategoryId, kindAcceptsAccountCategories, MAX_ACCOUNT_CATEGORIES, newlyAddedRetiredCategories, RETIRED_ACCOUNT_CATEGORY_IDS, SELECTABLE_ACCOUNT_CATEGORY_IDS, createAccountRequestSchema, } from './accountGraph';
|
|
13
13
|
export type { AccountKind, AccountCategoryId, AccountCategoryKind, ChildAccountKind, CreateAccountRequest, } from './accountGraph';
|
|
14
|
+
export { AVATAR_EYE_SPACING, AVATAR_PICKABLE_COLORS, AVATAR_PICKABLE_SHAPES, avatarCharacterFor, avatarCharacterSchema, parseAvatarCharacter, } from './avatarCharacter';
|
|
15
|
+
export type { AvatarCharacter } from './avatarCharacter';
|
|
14
16
|
export { ACCOUNT_ACTOR_NATURES, ACCOUNT_SUBJECT_CONTRACT_VERSION, FINANCIAL_EFFECT_DIRECTIONS, KIND_INDEPENDENT_ACCOUNT_DIMENSIONS, accountActorChainFromSession, accountActorChainSchema, accountActorNatureSchema, accountKindActorNature, accountKindActsAsItself, attributeFinancialEffect, financialEffectAttributionSchema, } from './accountSubject';
|
|
15
17
|
export type { AccountActorChain, AccountActorNature, FinancialEffectAttribution, FinancialEffectDirection, KindIndependentAccountDimension, } from './accountSubject';
|
|
16
18
|
export { usernameSchema, usernameSchemaForAccountKind, isValidUsername, stripDisallowedUsernameCharacters, applyBotUsernameSuffix, USERNAME_MIN_LENGTH, USERNAME_MAX_LENGTH, USERNAME_INVALID_MESSAGE, BOT_USERNAME_INVALID_MESSAGE, RESERVED_USERNAME_MESSAGE, NUMERIC_USERNAME_MESSAGE, } from './username';
|
|
@@ -191,6 +191,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
191
191
|
username: z.ZodOptional<z.ZodString>;
|
|
192
192
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
193
193
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
/** A bot's 3D avatar character; absent for every other kind. */
|
|
195
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
194
196
|
/** The account's accent colour, as on every profile; absent when unset. */
|
|
195
197
|
color: z.ZodOptional<z.ZodString>;
|
|
196
198
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -218,6 +220,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
218
220
|
username: z.ZodOptional<z.ZodString>;
|
|
219
221
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
220
222
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
|
+
/** A bot's 3D avatar character; absent for every other kind. */
|
|
224
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
221
225
|
/** The account's accent colour, as on every profile; absent when unset. */
|
|
222
226
|
color: z.ZodOptional<z.ZodString>;
|
|
223
227
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -245,6 +249,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
245
249
|
username: z.ZodOptional<z.ZodString>;
|
|
246
250
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
247
251
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
252
|
+
/** A bot's 3D avatar character; absent for every other kind. */
|
|
253
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
248
254
|
/** The account's accent colour, as on every profile; absent when unset. */
|
|
249
255
|
color: z.ZodOptional<z.ZodString>;
|
|
250
256
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -275,6 +281,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
275
281
|
username: z.ZodOptional<z.ZodString>;
|
|
276
282
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
277
283
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
|
+
/** A bot's 3D avatar character; absent for every other kind. */
|
|
285
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
278
286
|
/** The account's accent colour, as on every profile; absent when unset. */
|
|
279
287
|
color: z.ZodOptional<z.ZodString>;
|
|
280
288
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -302,6 +310,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
302
310
|
username: z.ZodOptional<z.ZodString>;
|
|
303
311
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
304
312
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
|
+
/** A bot's 3D avatar character; absent for every other kind. */
|
|
314
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
305
315
|
/** The account's accent colour, as on every profile; absent when unset. */
|
|
306
316
|
color: z.ZodOptional<z.ZodString>;
|
|
307
317
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -329,6 +339,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
329
339
|
username: z.ZodOptional<z.ZodString>;
|
|
330
340
|
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
331
341
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
342
|
+
/** A bot's 3D avatar character; absent for every other kind. */
|
|
343
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
332
344
|
/** The account's accent colour, as on every profile; absent when unset. */
|
|
333
345
|
color: z.ZodOptional<z.ZodString>;
|
|
334
346
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|