@oxy.so/contracts 4.13.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 +23 -4
- package/dist/cjs/index.js +18 -15
- package/dist/cjs/organizations.js +210 -0
- package/dist/cjs/safety.js +15 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +21 -2
- package/dist/esm/index.js +3 -1
- package/dist/esm/organizations.js +207 -0
- package/dist/esm/safety.js +12 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +42 -10
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +44 -44
- package/dist/types/deviceDirectory.d.ts +180 -180
- package/dist/types/email/messages.d.ts +22 -22
- package/dist/types/externalIdentity.d.ts +51 -51
- package/dist/types/index.d.ts +3 -1
- package/dist/types/organizations.d.ts +1088 -0
- package/dist/types/recommendations.d.ts +28 -28
- package/dist/types/safety.d.ts +24 -0
- package/dist/types/userResponse.d.ts +100 -100
- 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;
|
|
607
606
|
system: false;
|
|
608
607
|
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;
|
|
617
616
|
system: false;
|
|
618
617
|
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;
|
|
636
635
|
system: true;
|
|
637
636
|
name: string;
|
|
637
|
+
color: string;
|
|
638
638
|
_id: string;
|
|
639
639
|
order: number;
|
|
640
640
|
}, {
|
|
641
|
-
color: string;
|
|
642
641
|
system: true;
|
|
643
642
|
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;
|
|
660
659
|
system: false;
|
|
661
660
|
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;
|
|
670
669
|
system: false;
|
|
671
670
|
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;
|
|
686
685
|
system: true;
|
|
687
686
|
name: string;
|
|
687
|
+
color: string;
|
|
688
688
|
_id: string;
|
|
689
689
|
order: number;
|
|
690
690
|
}, {
|
|
691
|
-
color: string;
|
|
692
691
|
system: true;
|
|
693
692
|
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: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
|
|
718
718
|
value?: string | undefined;
|
|
719
719
|
}, {
|
|
720
|
-
type: "
|
|
720
|
+
type: "label" | "archive" | "move" | "star" | "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: "label" | "archive" | "move" | "star" | "mark-read" | "delete" | "forward";
|
|
750
750
|
value?: string | undefined;
|
|
751
751
|
}, {
|
|
752
|
-
type: "
|
|
752
|
+
type: "label" | "archive" | "move" | "star" | "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: "label" | "archive" | "move" | "star" | "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: "label" | "archive" | "move" | "star" | "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
|
-
color: string;
|
|
812
811
|
name: string;
|
|
812
|
+
color: 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
|
-
color: string;
|
|
825
824
|
name: string;
|
|
825
|
+
color: 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
|
-
color: string;
|
|
1212
1211
|
name: string;
|
|
1212
|
+
color: 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
|
-
color: string;
|
|
1225
1224
|
name: string;
|
|
1225
|
+
color: 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
|
-
color: string;
|
|
1686
1685
|
name: string;
|
|
1686
|
+
color: 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
|
-
color: string;
|
|
1783
1782
|
name: string;
|
|
1783
|
+
color: 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
|
-
color: string;
|
|
1981
1980
|
name: string;
|
|
1981
|
+
color: 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
|
-
color: string;
|
|
2162
2161
|
name: string;
|
|
2162
|
+
color: string;
|
|
2163
2163
|
id: string;
|
|
2164
2164
|
createdAt: string;
|
|
2165
2165
|
updatedAt: string;
|
|
@@ -71,7 +71,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
71
71
|
did: z.ZodOptional<z.ZodString>;
|
|
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
|
-
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">, ("
|
|
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">, ("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")[]>>;
|
|
75
75
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
76
76
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
77
77
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
@@ -80,21 +80,21 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
80
80
|
allowed: z.ZodBoolean;
|
|
81
81
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
82
82
|
}, "strict", z.ZodTypeAny, {
|
|
83
|
-
expiresAt: string | null;
|
|
84
83
|
allowed: boolean;
|
|
85
|
-
}, {
|
|
86
84
|
expiresAt: string | null;
|
|
85
|
+
}, {
|
|
87
86
|
allowed: boolean;
|
|
87
|
+
expiresAt: string | null;
|
|
88
88
|
}>;
|
|
89
89
|
}, "strict", z.ZodTypeAny, {
|
|
90
90
|
mentionMono: {
|
|
91
|
-
expiresAt: string | null;
|
|
92
91
|
allowed: boolean;
|
|
92
|
+
expiresAt: string | null;
|
|
93
93
|
};
|
|
94
94
|
}, {
|
|
95
95
|
mentionMono: {
|
|
96
|
-
expiresAt: string | null;
|
|
97
96
|
allowed: boolean;
|
|
97
|
+
expiresAt: string | null;
|
|
98
98
|
};
|
|
99
99
|
}>>;
|
|
100
100
|
} & {
|
|
@@ -141,7 +141,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
141
141
|
did: z.ZodOptional<z.ZodString>;
|
|
142
142
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
143
143
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
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">, ("
|
|
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">, ("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")[]>>;
|
|
145
145
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
146
146
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
147
147
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
@@ -150,21 +150,21 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
150
150
|
allowed: z.ZodBoolean;
|
|
151
151
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
152
152
|
}, "strict", z.ZodTypeAny, {
|
|
153
|
-
expiresAt: string | null;
|
|
154
153
|
allowed: boolean;
|
|
155
|
-
}, {
|
|
156
154
|
expiresAt: string | null;
|
|
155
|
+
}, {
|
|
157
156
|
allowed: boolean;
|
|
157
|
+
expiresAt: string | null;
|
|
158
158
|
}>;
|
|
159
159
|
}, "strict", z.ZodTypeAny, {
|
|
160
160
|
mentionMono: {
|
|
161
|
-
expiresAt: string | null;
|
|
162
161
|
allowed: boolean;
|
|
162
|
+
expiresAt: string | null;
|
|
163
163
|
};
|
|
164
164
|
}, {
|
|
165
165
|
mentionMono: {
|
|
166
|
-
expiresAt: string | null;
|
|
167
166
|
allowed: boolean;
|
|
167
|
+
expiresAt: string | null;
|
|
168
168
|
};
|
|
169
169
|
}>>;
|
|
170
170
|
} & {
|
|
@@ -211,7 +211,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
211
211
|
did: z.ZodOptional<z.ZodString>;
|
|
212
212
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
213
213
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
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">, ("
|
|
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">, ("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")[]>>;
|
|
215
215
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
216
216
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
217
217
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
@@ -220,21 +220,21 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
220
220
|
allowed: z.ZodBoolean;
|
|
221
221
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
222
222
|
}, "strict", z.ZodTypeAny, {
|
|
223
|
-
expiresAt: string | null;
|
|
224
223
|
allowed: boolean;
|
|
225
|
-
}, {
|
|
226
224
|
expiresAt: string | null;
|
|
225
|
+
}, {
|
|
227
226
|
allowed: boolean;
|
|
227
|
+
expiresAt: string | null;
|
|
228
228
|
}>;
|
|
229
229
|
}, "strict", z.ZodTypeAny, {
|
|
230
230
|
mentionMono: {
|
|
231
|
-
expiresAt: string | null;
|
|
232
231
|
allowed: boolean;
|
|
232
|
+
expiresAt: string | null;
|
|
233
233
|
};
|
|
234
234
|
}, {
|
|
235
235
|
mentionMono: {
|
|
236
|
-
expiresAt: string | null;
|
|
237
236
|
allowed: boolean;
|
|
237
|
+
expiresAt: string | null;
|
|
238
238
|
};
|
|
239
239
|
}>>;
|
|
240
240
|
} & {
|
|
@@ -328,30 +328,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
328
328
|
sourceUserId: string;
|
|
329
329
|
}[];
|
|
330
330
|
redirectedUserIds: string[];
|
|
331
|
-
email?: string | undefined;
|
|
332
331
|
color?: string | null | undefined;
|
|
333
|
-
kind?: "
|
|
332
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | undefined;
|
|
334
333
|
bio?: string | undefined;
|
|
335
334
|
avatar?: string | null | undefined;
|
|
336
|
-
accountCategories?: ("
|
|
335
|
+
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;
|
|
337
336
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
338
|
-
|
|
339
|
-
verified?: boolean | undefined;
|
|
340
|
-
did?: string | undefined;
|
|
341
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
337
|
+
email?: string | undefined;
|
|
342
338
|
_id?: string | undefined;
|
|
339
|
+
publicKey?: string | undefined;
|
|
343
340
|
phone?: string | undefined;
|
|
344
341
|
address?: string | undefined;
|
|
345
342
|
birthday?: string | undefined;
|
|
346
343
|
dateOfBirth?: string | undefined;
|
|
347
344
|
isAdult?: boolean | undefined;
|
|
345
|
+
verified?: boolean | undefined;
|
|
348
346
|
languages?: string[] | undefined;
|
|
347
|
+
did?: string | undefined;
|
|
348
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
349
349
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
350
350
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
351
351
|
personalization?: {
|
|
352
352
|
mentionMono: {
|
|
353
|
-
expiresAt: string | null;
|
|
354
353
|
allowed: boolean;
|
|
354
|
+
expiresAt: string | null;
|
|
355
355
|
};
|
|
356
356
|
} | undefined;
|
|
357
357
|
} & {
|
|
@@ -389,30 +389,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
389
389
|
sourceUserId: string;
|
|
390
390
|
}[];
|
|
391
391
|
redirectedUserIds: string[];
|
|
392
|
-
email?: string | undefined;
|
|
393
392
|
color?: string | null | undefined;
|
|
394
|
-
kind?: "
|
|
393
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | undefined;
|
|
395
394
|
bio?: string | undefined;
|
|
396
395
|
avatar?: string | null | undefined;
|
|
397
|
-
accountCategories?: ("
|
|
396
|
+
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;
|
|
398
397
|
character?: unknown;
|
|
399
|
-
|
|
400
|
-
verified?: boolean | undefined;
|
|
401
|
-
did?: string | undefined;
|
|
402
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
398
|
+
email?: string | undefined;
|
|
403
399
|
_id?: string | undefined;
|
|
400
|
+
publicKey?: string | undefined;
|
|
404
401
|
phone?: string | undefined;
|
|
405
402
|
address?: string | undefined;
|
|
406
403
|
birthday?: string | undefined;
|
|
407
404
|
dateOfBirth?: string | undefined;
|
|
408
405
|
isAdult?: boolean | undefined;
|
|
406
|
+
verified?: boolean | undefined;
|
|
409
407
|
languages?: string[] | undefined;
|
|
408
|
+
did?: string | undefined;
|
|
409
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
410
410
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
411
411
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
412
412
|
personalization?: {
|
|
413
413
|
mentionMono: {
|
|
414
|
-
expiresAt: string | null;
|
|
415
414
|
allowed: boolean;
|
|
415
|
+
expiresAt: string | null;
|
|
416
416
|
};
|
|
417
417
|
} | undefined;
|
|
418
418
|
} & {
|
|
@@ -450,30 +450,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
450
450
|
sourceUserId: string;
|
|
451
451
|
}[];
|
|
452
452
|
redirectedUserIds: string[];
|
|
453
|
-
email?: string | undefined;
|
|
454
453
|
color?: string | null | undefined;
|
|
455
|
-
kind?: "
|
|
454
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | undefined;
|
|
456
455
|
bio?: string | undefined;
|
|
457
456
|
avatar?: string | null | undefined;
|
|
458
|
-
accountCategories?: ("
|
|
457
|
+
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;
|
|
459
458
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
460
|
-
|
|
461
|
-
verified?: boolean | undefined;
|
|
462
|
-
did?: string | undefined;
|
|
463
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
459
|
+
email?: string | undefined;
|
|
464
460
|
_id?: string | undefined;
|
|
461
|
+
publicKey?: string | undefined;
|
|
465
462
|
phone?: string | undefined;
|
|
466
463
|
address?: string | undefined;
|
|
467
464
|
birthday?: string | undefined;
|
|
468
465
|
dateOfBirth?: string | undefined;
|
|
469
466
|
isAdult?: boolean | undefined;
|
|
467
|
+
verified?: boolean | undefined;
|
|
470
468
|
languages?: string[] | undefined;
|
|
469
|
+
did?: string | undefined;
|
|
470
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
471
471
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
472
472
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
473
473
|
personalization?: {
|
|
474
474
|
mentionMono: {
|
|
475
|
-
expiresAt: string | null;
|
|
476
475
|
allowed: boolean;
|
|
476
|
+
expiresAt: string | null;
|
|
477
477
|
};
|
|
478
478
|
} | undefined;
|
|
479
479
|
} & {
|
|
@@ -511,30 +511,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
511
511
|
sourceUserId: string;
|
|
512
512
|
}[];
|
|
513
513
|
redirectedUserIds: string[];
|
|
514
|
-
email?: string | undefined;
|
|
515
514
|
color?: string | null | undefined;
|
|
516
|
-
kind?: "
|
|
515
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | undefined;
|
|
517
516
|
bio?: string | undefined;
|
|
518
517
|
avatar?: string | null | undefined;
|
|
519
|
-
accountCategories?: ("
|
|
518
|
+
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;
|
|
520
519
|
character?: unknown;
|
|
521
|
-
|
|
522
|
-
verified?: boolean | undefined;
|
|
523
|
-
did?: string | undefined;
|
|
524
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
520
|
+
email?: string | undefined;
|
|
525
521
|
_id?: string | undefined;
|
|
522
|
+
publicKey?: string | undefined;
|
|
526
523
|
phone?: string | undefined;
|
|
527
524
|
address?: string | undefined;
|
|
528
525
|
birthday?: string | undefined;
|
|
529
526
|
dateOfBirth?: string | undefined;
|
|
530
527
|
isAdult?: boolean | undefined;
|
|
528
|
+
verified?: boolean | undefined;
|
|
531
529
|
languages?: string[] | undefined;
|
|
530
|
+
did?: string | undefined;
|
|
531
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
532
532
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
533
533
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
534
534
|
personalization?: {
|
|
535
535
|
mentionMono: {
|
|
536
|
-
expiresAt: string | null;
|
|
537
536
|
allowed: boolean;
|
|
537
|
+
expiresAt: string | null;
|
|
538
538
|
};
|
|
539
539
|
} | undefined;
|
|
540
540
|
} & {
|
|
@@ -595,7 +595,6 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
595
595
|
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
597
|
userId: string | null;
|
|
598
|
-
identifier: string;
|
|
599
598
|
externalIdentities: {
|
|
600
599
|
canonicalAcct: string;
|
|
601
600
|
network: string;
|
|
@@ -605,9 +604,9 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
605
604
|
sourceUserId: string;
|
|
606
605
|
}[];
|
|
607
606
|
redirectedUserIds: string[];
|
|
607
|
+
identifier: string;
|
|
608
608
|
}, {
|
|
609
609
|
userId: string | null;
|
|
610
|
-
identifier: string;
|
|
611
610
|
externalIdentities: {
|
|
612
611
|
canonicalAcct: string;
|
|
613
612
|
network: string;
|
|
@@ -617,11 +616,11 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
617
616
|
sourceUserId: string;
|
|
618
617
|
}[];
|
|
619
618
|
redirectedUserIds: string[];
|
|
619
|
+
identifier: string;
|
|
620
620
|
}>, "many">;
|
|
621
621
|
}, "strip", z.ZodTypeAny, {
|
|
622
622
|
identities: {
|
|
623
623
|
userId: string | null;
|
|
624
|
-
identifier: string;
|
|
625
624
|
externalIdentities: {
|
|
626
625
|
canonicalAcct: string;
|
|
627
626
|
network: string;
|
|
@@ -631,11 +630,11 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
631
630
|
sourceUserId: string;
|
|
632
631
|
}[];
|
|
633
632
|
redirectedUserIds: string[];
|
|
633
|
+
identifier: string;
|
|
634
634
|
}[];
|
|
635
635
|
}, {
|
|
636
636
|
identities: {
|
|
637
637
|
userId: string | null;
|
|
638
|
-
identifier: string;
|
|
639
638
|
externalIdentities: {
|
|
640
639
|
canonicalAcct: string;
|
|
641
640
|
network: string;
|
|
@@ -645,6 +644,7 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
645
644
|
sourceUserId: string;
|
|
646
645
|
}[];
|
|
647
646
|
redirectedUserIds: string[];
|
|
647
|
+
identifier: string;
|
|
648
648
|
}[];
|
|
649
649
|
}>;
|
|
650
650
|
export type ExternalIdentityProtocol = z.infer<typeof externalIdentityProtocolSchema>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Platform-agnostic — zod is the only runtime dependency. No react/react-native/
|
|
10
10
|
* expo, no `require()` in the ESM build.
|
|
11
11
|
*/
|
|
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';
|
|
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, accountNameSchema, } from './accountGraph';
|
|
13
13
|
export type { AccountKind, AccountCategoryId, AccountCategoryKind, ChildAccountKind, CreateAccountRequest, } from './accountGraph';
|
|
14
14
|
export { AVATAR_EYE_SPACING, AVATAR_PICKABLE_COLORS, AVATAR_PICKABLE_SHAPES, avatarCharacterFor, avatarCharacterSchema, parseAvatarCharacter, } from './avatarCharacter';
|
|
15
15
|
export type { AvatarCharacter } from './avatarCharacter';
|
|
@@ -134,3 +134,5 @@ export * from './agentKeys';
|
|
|
134
134
|
export { productSubscriptionSummarySchema, productSubscriptionsResponseSchema, subscriptionCreditGrantSchema, subscriptionCreditGrantsResponseSchema, cancelProductSubscriptionSchema, productSubscriptionCancellationResultSchema, type ProductSubscriptionSummary, type SubscriptionCreditGrant, type ProductSubscriptionCancellationResult, } from './products/billing';
|
|
135
135
|
export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, type PersonalPlanCatalogue, } from './products/plans';
|
|
136
136
|
export * from './products/checkout';
|
|
137
|
+
export * from './organizations';
|
|
138
|
+
export * from './safety';
|