@oxy.so/contracts 5.7.0 → 6.0.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/accountAccess.js +6 -5
- package/dist/cjs/accountEmail.js +13 -5
- package/dist/cjs/accountGraph.js +10 -9
- package/dist/cjs/accountName.js +3 -2
- package/dist/cjs/agency.js +91 -34
- package/dist/cjs/agentKeys.js +21 -17
- package/dist/cjs/appAssertions.js +14 -13
- package/dist/cjs/applicationRoles.js +19 -12
- package/dist/cjs/civic.js +10 -9
- package/dist/cjs/client/check.js +61 -53
- package/dist/cjs/client/consoleOnboarding.js +24 -0
- package/dist/cjs/client/index.js +7 -3
- package/dist/cjs/client/safety.js +9 -1
- package/dist/cjs/consoleOnboarding.js +56 -0
- package/dist/cjs/contentClaims.js +23 -14
- package/dist/cjs/deviceDirectory.js +11 -9
- package/dist/cjs/deviceSession.js +27 -25
- package/dist/cjs/email/messages.js +20 -18
- package/dist/cjs/emailAgentContext.js +11 -9
- package/dist/cjs/externalIdentity.js +15 -11
- package/dist/cjs/federationInstanceFetch.js +12 -7
- package/dist/cjs/identity.js +19 -17
- package/dist/cjs/identityLink.js +6 -4
- package/dist/cjs/identityProof.js +6 -4
- package/dist/cjs/inboxPush.js +5 -4
- package/dist/cjs/index.js +16 -6
- package/dist/cjs/inference/accountBilling.js +35 -33
- package/dist/cjs/inference/aliaModelRelease.js +9 -7
- package/dist/cjs/inference/attribution.js +14 -12
- package/dist/cjs/inference/catalogue.js +35 -29
- package/dist/cjs/inference/economics.js +24 -19
- package/dist/cjs/inference/embeddings.js +9 -7
- package/dist/cjs/inference/entitlement.js +17 -15
- package/dist/cjs/inference/errors.js +15 -8
- package/dist/cjs/inference/identifiers.js +33 -21
- package/dist/cjs/inference/inbox.js +37 -35
- package/dist/cjs/inference/modelDocumentation.js +16 -14
- package/dist/cjs/inference/money.js +5 -4
- package/dist/cjs/inference/priceVersion.js +10 -5
- package/dist/cjs/inference/providerConnection.js +21 -14
- package/dist/cjs/inference/realtime.js +88 -47
- package/dist/cjs/inference/request.js +27 -25
- package/dist/cjs/inference/routingPolicy.js +12 -10
- package/dist/cjs/inference/streamEvents.js +22 -16
- package/dist/cjs/inference/usage.js +32 -15
- package/dist/cjs/keyRecovery.js +8 -6
- package/dist/cjs/keyRotation.js +5 -4
- package/dist/cjs/linkedAccounts.js +22 -18
- package/dist/cjs/moderationReputation.js +29 -27
- package/dist/cjs/notifications.js +25 -9
- package/dist/cjs/numberChecks.js +45 -0
- package/dist/cjs/oauth.js +14 -12
- package/dist/cjs/organizations.js +23 -21
- package/dist/cjs/products/access.js +10 -8
- package/dist/cjs/products/billing.js +10 -8
- package/dist/cjs/products/checkout.js +22 -10
- package/dist/cjs/products/plans.js +15 -10
- package/dist/cjs/protocol.js +6 -5
- package/dist/cjs/recommendations.js +27 -19
- package/dist/cjs/reputation.js +15 -13
- package/dist/cjs/safety.js +46 -29
- package/dist/cjs/serviceToken.js +81 -2
- package/dist/cjs/sessionRevocation.js +8 -6
- package/dist/cjs/signIn.js +42 -24
- package/dist/cjs/stickers.js +19 -15
- package/dist/cjs/stringChecks.js +70 -0
- package/dist/cjs/transparency.js +14 -12
- package/dist/cjs/updates.js +24 -22
- package/dist/cjs/userInvalidation.js +7 -5
- package/dist/cjs/userResponse.js +8 -7
- package/dist/cjs/username.js +7 -6
- package/dist/esm/accountAccess.js +4 -3
- package/dist/esm/accountEmail.js +13 -5
- package/dist/esm/accountGraph.js +8 -7
- package/dist/esm/accountName.js +3 -2
- package/dist/esm/agency.js +90 -33
- package/dist/esm/agentKeys.js +21 -17
- package/dist/esm/appAssertions.js +11 -10
- package/dist/esm/applicationRoles.js +16 -9
- package/dist/esm/civic.js +8 -7
- package/dist/esm/client/check.js +61 -53
- package/dist/esm/client/consoleOnboarding.js +21 -0
- package/dist/esm/client/index.js +2 -1
- package/dist/esm/client/safety.js +8 -0
- package/dist/esm/consoleOnboarding.js +51 -0
- package/dist/esm/contentClaims.js +23 -14
- package/dist/esm/deviceDirectory.js +11 -9
- package/dist/esm/deviceSession.js +27 -25
- package/dist/esm/email/messages.js +18 -16
- package/dist/esm/emailAgentContext.js +11 -9
- package/dist/esm/externalIdentity.js +15 -11
- package/dist/esm/federationInstanceFetch.js +10 -5
- package/dist/esm/identity.js +17 -15
- package/dist/esm/identityLink.js +6 -4
- package/dist/esm/identityProof.js +6 -4
- package/dist/esm/inboxPush.js +3 -2
- package/dist/esm/index.js +5 -2
- package/dist/esm/inference/accountBilling.js +33 -31
- package/dist/esm/inference/aliaModelRelease.js +7 -5
- package/dist/esm/inference/attribution.js +14 -12
- package/dist/esm/inference/catalogue.js +33 -27
- package/dist/esm/inference/economics.js +22 -17
- package/dist/esm/inference/embeddings.js +9 -7
- package/dist/esm/inference/entitlement.js +15 -13
- package/dist/esm/inference/errors.js +13 -6
- package/dist/esm/inference/identifiers.js +31 -19
- package/dist/esm/inference/inbox.js +37 -35
- package/dist/esm/inference/modelDocumentation.js +14 -12
- package/dist/esm/inference/money.js +3 -2
- package/dist/esm/inference/priceVersion.js +8 -3
- package/dist/esm/inference/providerConnection.js +19 -12
- package/dist/esm/inference/realtime.js +85 -44
- package/dist/esm/inference/request.js +25 -23
- package/dist/esm/inference/routingPolicy.js +9 -7
- package/dist/esm/inference/streamEvents.js +20 -14
- package/dist/esm/inference/usage.js +30 -13
- package/dist/esm/keyRecovery.js +8 -6
- package/dist/esm/keyRotation.js +5 -4
- package/dist/esm/linkedAccounts.js +20 -16
- package/dist/esm/moderationReputation.js +27 -25
- package/dist/esm/notifications.js +23 -7
- package/dist/esm/numberChecks.js +41 -0
- package/dist/esm/oauth.js +14 -12
- package/dist/esm/organizations.js +23 -21
- package/dist/esm/products/access.js +10 -8
- package/dist/esm/products/billing.js +10 -8
- package/dist/esm/products/checkout.js +22 -10
- package/dist/esm/products/plans.js +15 -10
- package/dist/esm/protocol.js +4 -3
- package/dist/esm/recommendations.js +25 -17
- package/dist/esm/reputation.js +13 -11
- package/dist/esm/safety.js +45 -29
- package/dist/esm/serviceToken.js +80 -1
- package/dist/esm/sessionRevocation.js +6 -4
- package/dist/esm/signIn.js +42 -24
- package/dist/esm/stickers.js +17 -13
- package/dist/esm/stringChecks.js +63 -0
- package/dist/esm/transparency.js +14 -12
- package/dist/esm/updates.js +22 -20
- package/dist/esm/userInvalidation.js +4 -2
- package/dist/esm/userResponse.js +4 -3
- package/dist/esm/username.js +3 -2
- package/dist/types/accountAccess.d.ts +29 -70
- package/dist/types/accountEmail.d.ts +2 -14
- package/dist/types/accountGraph.d.ts +179 -171
- package/dist/types/accountName.d.ts +1 -1
- package/dist/types/accountSubject.d.ts +20 -93
- package/dist/types/agency.d.ts +528 -2924
- package/dist/types/agentKeys.d.ts +48 -421
- package/dist/types/appAssertions.d.ts +56 -210
- package/dist/types/applicationRoles.d.ts +30 -276
- package/dist/types/avatarCharacter.d.ts +1 -1
- package/dist/types/civic.d.ts +1 -13
- package/dist/types/client/agentKeys.d.ts +18 -18
- package/dist/types/client/appAssertions.d.ts +3 -3
- package/dist/types/client/check.d.ts +13 -13
- package/dist/types/client/consoleOnboarding.d.ts +16 -0
- package/dist/types/client/deviceDirectory.d.ts +51 -51
- package/dist/types/client/deviceSession.d.ts +14 -14
- package/dist/types/client/index.d.ts +2 -1
- package/dist/types/client/organizations.d.ts +25 -25
- package/dist/types/client/products.d.ts +33 -33
- package/dist/types/client/recommendations.d.ts +2 -2
- package/dist/types/client/safety.d.ts +53 -45
- package/dist/types/client/sessionStatus.d.ts +4 -4
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/commonsSignIn.d.ts +4 -1
- package/dist/types/consoleOnboarding.d.ts +57 -0
- package/dist/types/contentClaims.d.ts +24 -180
- package/dist/types/deviceDirectory.d.ts +109 -1040
- package/dist/types/deviceSession.d.ts +36 -298
- package/dist/types/email/messages.d.ts +212 -1793
- package/dist/types/emailAgentContext.d.ts +10 -194
- package/dist/types/externalIdentity.d.ts +121 -615
- package/dist/types/federationInstanceFetch.d.ts +3 -32
- package/dist/types/identity.d.ts +15 -92
- package/dist/types/identityLink.d.ts +6 -84
- package/dist/types/identityProof.d.ts +5 -17
- package/dist/types/inboxPush.d.ts +1 -9
- package/dist/types/index.d.ts +6 -3
- package/dist/types/inference/accountBilling.d.ts +151 -488
- package/dist/types/inference/aliaModelRelease.d.ts +42 -439
- package/dist/types/inference/attribution.d.ts +75 -104
- package/dist/types/inference/catalogue.d.ts +417 -1599
- package/dist/types/inference/economics.d.ts +69 -276
- package/dist/types/inference/embeddings.d.ts +110 -406
- package/dist/types/inference/entitlement.d.ts +80 -335
- package/dist/types/inference/errors.d.ts +90 -102
- package/dist/types/inference/identifiers.d.ts +12 -4
- package/dist/types/inference/inbox.d.ts +105 -420
- package/dist/types/inference/modelDocumentation.d.ts +201 -1390
- package/dist/types/inference/money.d.ts +65 -32
- package/dist/types/inference/priceVersion.d.ts +53 -120
- package/dist/types/inference/providerConnection.d.ts +253 -710
- package/dist/types/inference/realtime.d.ts +954 -6825
- package/dist/types/inference/request.d.ts +300 -2572
- package/dist/types/inference/routingPolicy.d.ts +95 -503
- package/dist/types/inference/streamEvents.d.ts +253 -721
- package/dist/types/inference/usage.d.ts +317 -950
- package/dist/types/keyRecovery.d.ts +3 -51
- package/dist/types/keyRotation.d.ts +3 -38
- package/dist/types/linkedAccounts.d.ts +50 -236
- package/dist/types/moderationReputation.d.ts +81 -14
- package/dist/types/notifications.d.ts +19 -51
- package/dist/types/numberChecks.d.ts +9 -0
- package/dist/types/oauth.d.ts +101 -809
- package/dist/types/organizations.d.ts +268 -921
- package/dist/types/oxyRecordTypes.d.ts +11 -1
- package/dist/types/products/access.d.ts +125 -775
- package/dist/types/products/billing.d.ts +67 -503
- package/dist/types/products/checkout.d.ts +16 -69
- package/dist/types/products/plans.d.ts +33 -366
- package/dist/types/recommendations.d.ts +76 -389
- package/dist/types/reputation.d.ts +37 -5
- package/dist/types/safety.d.ts +410 -2050
- package/dist/types/serviceToken.d.ts +247 -7
- package/dist/types/sessionRevocation.d.ts +2 -17
- package/dist/types/sessionStatus.d.ts +27 -115
- package/dist/types/signIn.d.ts +53 -553
- package/dist/types/stickers.d.ts +67 -819
- package/dist/types/stringChecks.d.ts +16 -0
- package/dist/types/transparency.d.ts +14 -302
- package/dist/types/updates.d.ts +60 -316
- package/dist/types/userInvalidation.d.ts +4 -13
- package/dist/types/userResponse.d.ts +302 -2400
- package/dist/types/username.d.ts +3 -3
- package/package.json +3 -4
|
@@ -4,56 +4,34 @@ import { z } from 'zod';
|
|
|
4
4
|
* Business Discovery, a fallback transport for Business/Creator Instagram
|
|
5
5
|
* accounts when the ActivityPub bridge is unavailable.
|
|
6
6
|
*/
|
|
7
|
-
export declare const externalIdentityProtocolSchema: z.ZodEnum<
|
|
7
|
+
export declare const externalIdentityProtocolSchema: z.ZodEnum<{
|
|
8
|
+
activitypub: "activitypub";
|
|
9
|
+
atproto: "atproto";
|
|
10
|
+
"instagram-graph": "instagram-graph";
|
|
11
|
+
}>;
|
|
8
12
|
export declare const externalIdentityReferenceSchema: z.ZodObject<{
|
|
9
13
|
canonicalAcct: z.ZodString;
|
|
10
14
|
network: z.ZodString;
|
|
11
|
-
protocol: z.ZodEnum<
|
|
15
|
+
protocol: z.ZodEnum<{
|
|
16
|
+
activitypub: "activitypub";
|
|
17
|
+
atproto: "atproto";
|
|
18
|
+
"instagram-graph": "instagram-graph";
|
|
19
|
+
}>;
|
|
12
20
|
actorUri: z.ZodString;
|
|
13
21
|
transportAcct: z.ZodString;
|
|
14
22
|
sourceUserId: z.ZodString;
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
network: string;
|
|
18
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
19
|
-
actorUri: string;
|
|
20
|
-
transportAcct: string;
|
|
21
|
-
sourceUserId: string;
|
|
22
|
-
}, {
|
|
23
|
-
canonicalAcct: string;
|
|
24
|
-
network: string;
|
|
25
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
26
|
-
actorUri: string;
|
|
27
|
-
transportAcct: string;
|
|
28
|
-
sourceUserId: string;
|
|
29
|
-
}>;
|
|
30
|
-
export declare const resolveExternalIdentityRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export declare const resolveExternalIdentityRequestSchema: z.ZodObject<{
|
|
31
25
|
actorUri: z.ZodOptional<z.ZodString>;
|
|
32
26
|
handle: z.ZodOptional<z.ZodString>;
|
|
33
27
|
transportAcct: z.ZodOptional<z.ZodString>;
|
|
34
|
-
protocol: z.ZodOptional<z.ZodEnum<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
protocol?: "activitypub" | "atproto" | "instagram-graph" | undefined;
|
|
42
|
-
actorUri?: string | undefined;
|
|
43
|
-
transportAcct?: string | undefined;
|
|
44
|
-
handle?: string | undefined;
|
|
45
|
-
}>, {
|
|
46
|
-
protocol?: "activitypub" | "atproto" | "instagram-graph" | undefined;
|
|
47
|
-
actorUri?: string | undefined;
|
|
48
|
-
transportAcct?: string | undefined;
|
|
49
|
-
handle?: string | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
protocol?: "activitypub" | "atproto" | "instagram-graph" | undefined;
|
|
52
|
-
actorUri?: string | undefined;
|
|
53
|
-
transportAcct?: string | undefined;
|
|
54
|
-
handle?: string | undefined;
|
|
55
|
-
}>;
|
|
56
|
-
export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
28
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
activitypub: "activitypub";
|
|
30
|
+
atproto: "atproto";
|
|
31
|
+
"instagram-graph": "instagram-graph";
|
|
32
|
+
}>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export declare const resolveExternalIdentityResponseSchema: z.ZodObject<{
|
|
57
35
|
user: z.ZodObject<{
|
|
58
36
|
_id: z.ZodOptional<z.ZodString>;
|
|
59
37
|
publicKey: z.ZodOptional<z.ZodString>;
|
|
@@ -61,544 +39,134 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
61
39
|
phone: z.ZodOptional<z.ZodString>;
|
|
62
40
|
address: z.ZodOptional<z.ZodString>;
|
|
63
41
|
birthday: z.ZodOptional<z.ZodString>;
|
|
64
|
-
dateOfBirth: z.ZodOptional<z.
|
|
42
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
65
43
|
isAdult: z.ZodOptional<z.ZodBoolean>;
|
|
66
44
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
45
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
-
name: z.ZodType<import("./userResponse").UserNameResponse, z.
|
|
46
|
+
name: z.ZodType<import("./userResponse").UserNameResponse, unknown, z.core.$ZodTypeInternals<import("./userResponse").UserNameResponse, unknown>>;
|
|
69
47
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
-
languages: z.ZodOptional<z.ZodArray<z.ZodString
|
|
48
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
49
|
did: z.ZodOptional<z.ZodString>;
|
|
72
|
-
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.
|
|
73
|
-
kind: z.ZodOptional<z.ZodEnum<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
81
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
82
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
83
|
-
}, z.ZodUnknown, "strip">>>;
|
|
84
|
-
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
85
|
-
personalization: z.ZodOptional<z.ZodObject<{
|
|
86
|
-
mentionMono: z.ZodObject<{
|
|
87
|
-
allowed: z.ZodBoolean;
|
|
88
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
89
|
-
}, "strict", z.ZodTypeAny, {
|
|
90
|
-
expiresAt: string | null;
|
|
91
|
-
allowed: boolean;
|
|
92
|
-
}, {
|
|
93
|
-
expiresAt: string | null;
|
|
94
|
-
allowed: boolean;
|
|
95
|
-
}>;
|
|
96
|
-
}, "strict", z.ZodTypeAny, {
|
|
97
|
-
mentionMono: {
|
|
98
|
-
expiresAt: string | null;
|
|
99
|
-
allowed: boolean;
|
|
100
|
-
};
|
|
101
|
-
}, {
|
|
102
|
-
mentionMono: {
|
|
103
|
-
expiresAt: string | null;
|
|
104
|
-
allowed: boolean;
|
|
105
|
-
};
|
|
50
|
+
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, unknown, z.core.$ZodTypeInternals<import("./identity").VerifiedDomain, unknown>>>>;
|
|
51
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
personal: "personal";
|
|
53
|
+
organization: "organization";
|
|
54
|
+
project: "project";
|
|
55
|
+
bot: "bot";
|
|
56
|
+
channel: "channel";
|
|
57
|
+
community: "community";
|
|
106
58
|
}>>;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
59
|
+
accountCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
60
|
+
community: "community";
|
|
61
|
+
news: "news";
|
|
62
|
+
politics: "politics";
|
|
63
|
+
business: "business";
|
|
64
|
+
startup: "startup";
|
|
65
|
+
finance: "finance";
|
|
66
|
+
crypto: "crypto";
|
|
67
|
+
marketplace: "marketplace";
|
|
68
|
+
retail: "retail";
|
|
69
|
+
real_estate: "real_estate";
|
|
70
|
+
agency: "agency";
|
|
71
|
+
landlord: "landlord";
|
|
72
|
+
cooperative: "cooperative";
|
|
73
|
+
architecture: "architecture";
|
|
74
|
+
technology: "technology";
|
|
75
|
+
software: "software";
|
|
76
|
+
ai: "ai";
|
|
77
|
+
security: "security";
|
|
78
|
+
automation: "automation";
|
|
79
|
+
science: "science";
|
|
80
|
+
education: "education";
|
|
81
|
+
books: "books";
|
|
82
|
+
health: "health";
|
|
83
|
+
fitness: "fitness";
|
|
84
|
+
sports: "sports";
|
|
85
|
+
gaming: "gaming";
|
|
86
|
+
music: "music";
|
|
87
|
+
film: "film";
|
|
88
|
+
podcast: "podcast";
|
|
89
|
+
art: "art";
|
|
90
|
+
photography: "photography";
|
|
91
|
+
comedy: "comedy";
|
|
92
|
+
food: "food";
|
|
93
|
+
travel: "travel";
|
|
94
|
+
fashion: "fashion";
|
|
95
|
+
home_garden: "home_garden";
|
|
96
|
+
diy: "diy";
|
|
97
|
+
automotive: "automotive";
|
|
98
|
+
animals: "animals";
|
|
99
|
+
family: "family";
|
|
100
|
+
nonprofit: "nonprofit";
|
|
101
|
+
government: "government";
|
|
102
|
+
activism: "activism";
|
|
103
|
+
environment: "environment";
|
|
104
|
+
religion: "religion";
|
|
105
|
+
other: "other";
|
|
106
|
+
}>>>;
|
|
107
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, unknown, z.core.$ZodTypeInternals<import("./avatarCharacter").AvatarCharacter, unknown>>>;
|
|
108
|
+
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, unknown, z.core.$ZodTypeInternals<import("./userResponse").UserRelationship, unknown>>>;
|
|
154
109
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
155
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}, z.ZodUnknown
|
|
161
|
-
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.
|
|
110
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<{
|
|
111
|
+
USD: "USD";
|
|
112
|
+
EUR: "EUR";
|
|
113
|
+
FAIR: "FAIR";
|
|
114
|
+
}>>;
|
|
115
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
116
|
+
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, unknown, z.core.$ZodTypeInternals<import("./userResponse").ThemePreference, unknown>>>;
|
|
162
117
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
163
118
|
mentionMono: z.ZodObject<{
|
|
164
119
|
allowed: z.ZodBoolean;
|
|
165
120
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
166
|
-
},
|
|
167
|
-
|
|
168
|
-
allowed: boolean;
|
|
169
|
-
}, {
|
|
170
|
-
expiresAt: string | null;
|
|
171
|
-
allowed: boolean;
|
|
172
|
-
}>;
|
|
173
|
-
}, "strict", z.ZodTypeAny, {
|
|
174
|
-
mentionMono: {
|
|
175
|
-
expiresAt: string | null;
|
|
176
|
-
allowed: boolean;
|
|
177
|
-
};
|
|
178
|
-
}, {
|
|
179
|
-
mentionMono: {
|
|
180
|
-
expiresAt: string | null;
|
|
181
|
-
allowed: boolean;
|
|
182
|
-
};
|
|
183
|
-
}>>;
|
|
184
|
-
} & {
|
|
121
|
+
}, z.core.$strict>;
|
|
122
|
+
}, z.core.$strict>>;
|
|
185
123
|
id: z.ZodString;
|
|
186
124
|
username: z.ZodString;
|
|
187
125
|
bio: z.ZodOptional<z.ZodString>;
|
|
188
126
|
externalIdentities: z.ZodArray<z.ZodObject<{
|
|
189
127
|
canonicalAcct: z.ZodString;
|
|
190
128
|
network: z.ZodString;
|
|
191
|
-
protocol: z.ZodEnum<
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
canonicalAcct: string;
|
|
197
|
-
network: string;
|
|
198
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
199
|
-
actorUri: string;
|
|
200
|
-
transportAcct: string;
|
|
201
|
-
sourceUserId: string;
|
|
202
|
-
}, {
|
|
203
|
-
canonicalAcct: string;
|
|
204
|
-
network: string;
|
|
205
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
206
|
-
actorUri: string;
|
|
207
|
-
transportAcct: string;
|
|
208
|
-
sourceUserId: string;
|
|
209
|
-
}>, "many">;
|
|
210
|
-
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
211
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
212
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
213
|
-
publicKey: z.ZodOptional<z.ZodString>;
|
|
214
|
-
email: z.ZodOptional<z.ZodString>;
|
|
215
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
216
|
-
address: z.ZodOptional<z.ZodString>;
|
|
217
|
-
birthday: z.ZodOptional<z.ZodString>;
|
|
218
|
-
dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
219
|
-
isAdult: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
-
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
-
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
-
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
223
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
224
|
-
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
225
|
-
did: z.ZodOptional<z.ZodString>;
|
|
226
|
-
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
227
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
228
|
-
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">, ("community" | "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" | "activism" | "environment" | "religion" | "other")[], ("community" | "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" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
229
|
-
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
230
|
-
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
231
|
-
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
232
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
233
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
234
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
235
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
236
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
237
|
-
}, z.ZodUnknown, "strip">>>;
|
|
238
|
-
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
239
|
-
personalization: z.ZodOptional<z.ZodObject<{
|
|
240
|
-
mentionMono: z.ZodObject<{
|
|
241
|
-
allowed: z.ZodBoolean;
|
|
242
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
243
|
-
}, "strict", z.ZodTypeAny, {
|
|
244
|
-
expiresAt: string | null;
|
|
245
|
-
allowed: boolean;
|
|
246
|
-
}, {
|
|
247
|
-
expiresAt: string | null;
|
|
248
|
-
allowed: boolean;
|
|
129
|
+
protocol: z.ZodEnum<{
|
|
130
|
+
activitypub: "activitypub";
|
|
131
|
+
atproto: "atproto";
|
|
132
|
+
"instagram-graph": "instagram-graph";
|
|
249
133
|
}>;
|
|
250
|
-
}, "strict", z.ZodTypeAny, {
|
|
251
|
-
mentionMono: {
|
|
252
|
-
expiresAt: string | null;
|
|
253
|
-
allowed: boolean;
|
|
254
|
-
};
|
|
255
|
-
}, {
|
|
256
|
-
mentionMono: {
|
|
257
|
-
expiresAt: string | null;
|
|
258
|
-
allowed: boolean;
|
|
259
|
-
};
|
|
260
|
-
}>>;
|
|
261
|
-
} & {
|
|
262
|
-
id: z.ZodString;
|
|
263
|
-
username: z.ZodString;
|
|
264
|
-
bio: z.ZodOptional<z.ZodString>;
|
|
265
|
-
externalIdentities: z.ZodArray<z.ZodObject<{
|
|
266
|
-
canonicalAcct: z.ZodString;
|
|
267
|
-
network: z.ZodString;
|
|
268
|
-
protocol: z.ZodEnum<["activitypub", "atproto", "instagram-graph"]>;
|
|
269
134
|
actorUri: z.ZodString;
|
|
270
135
|
transportAcct: z.ZodString;
|
|
271
136
|
sourceUserId: z.ZodString;
|
|
272
|
-
},
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
276
|
-
actorUri: string;
|
|
277
|
-
transportAcct: string;
|
|
278
|
-
sourceUserId: string;
|
|
279
|
-
}, {
|
|
280
|
-
canonicalAcct: string;
|
|
281
|
-
network: string;
|
|
282
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
283
|
-
actorUri: string;
|
|
284
|
-
transportAcct: string;
|
|
285
|
-
sourceUserId: string;
|
|
286
|
-
}>, "many">;
|
|
287
|
-
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
288
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
redirectedUserIds: z.ZodArray<z.ZodString>;
|
|
139
|
+
}, z.core.$loose>;
|
|
289
140
|
externalIdentity: z.ZodObject<{
|
|
290
141
|
canonicalAcct: z.ZodString;
|
|
291
142
|
network: z.ZodString;
|
|
292
|
-
protocol: z.ZodEnum<
|
|
143
|
+
protocol: z.ZodEnum<{
|
|
144
|
+
activitypub: "activitypub";
|
|
145
|
+
atproto: "atproto";
|
|
146
|
+
"instagram-graph": "instagram-graph";
|
|
147
|
+
}>;
|
|
293
148
|
actorUri: z.ZodString;
|
|
294
149
|
transportAcct: z.ZodString;
|
|
295
150
|
sourceUserId: z.ZodString;
|
|
296
|
-
} & {
|
|
297
151
|
userId: z.ZodString;
|
|
298
|
-
},
|
|
299
|
-
userId: string;
|
|
300
|
-
canonicalAcct: string;
|
|
301
|
-
network: string;
|
|
302
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
303
|
-
actorUri: string;
|
|
304
|
-
transportAcct: string;
|
|
305
|
-
sourceUserId: string;
|
|
306
|
-
}, {
|
|
307
|
-
userId: string;
|
|
308
|
-
canonicalAcct: string;
|
|
309
|
-
network: string;
|
|
310
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
311
|
-
actorUri: string;
|
|
312
|
-
transportAcct: string;
|
|
313
|
-
sourceUserId: string;
|
|
314
|
-
}>;
|
|
152
|
+
}, z.core.$strip>;
|
|
315
153
|
externalIdentities: z.ZodArray<z.ZodObject<{
|
|
316
154
|
canonicalAcct: z.ZodString;
|
|
317
155
|
network: z.ZodString;
|
|
318
|
-
protocol: z.ZodEnum<
|
|
156
|
+
protocol: z.ZodEnum<{
|
|
157
|
+
activitypub: "activitypub";
|
|
158
|
+
atproto: "atproto";
|
|
159
|
+
"instagram-graph": "instagram-graph";
|
|
160
|
+
}>;
|
|
319
161
|
actorUri: z.ZodString;
|
|
320
162
|
transportAcct: z.ZodString;
|
|
321
163
|
sourceUserId: z.ZodString;
|
|
322
|
-
},
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
326
|
-
actorUri: string;
|
|
327
|
-
transportAcct: string;
|
|
328
|
-
sourceUserId: string;
|
|
329
|
-
}, {
|
|
330
|
-
canonicalAcct: string;
|
|
331
|
-
network: string;
|
|
332
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
333
|
-
actorUri: string;
|
|
334
|
-
transportAcct: string;
|
|
335
|
-
sourceUserId: string;
|
|
336
|
-
}>, "many">;
|
|
337
|
-
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
338
|
-
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
user: {
|
|
340
|
-
name: import("./userResponse").UserNameResponse;
|
|
341
|
-
username: string;
|
|
342
|
-
id: string;
|
|
343
|
-
externalIdentities: {
|
|
344
|
-
canonicalAcct: string;
|
|
345
|
-
network: string;
|
|
346
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
347
|
-
actorUri: string;
|
|
348
|
-
transportAcct: string;
|
|
349
|
-
sourceUserId: string;
|
|
350
|
-
}[];
|
|
351
|
-
redirectedUserIds: string[];
|
|
352
|
-
color?: string | null | undefined;
|
|
353
|
-
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
354
|
-
avatar?: string | null | undefined;
|
|
355
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
356
|
-
bio?: string | undefined;
|
|
357
|
-
accountCategories?: ("community" | "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" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
358
|
-
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
359
|
-
email?: string | undefined;
|
|
360
|
-
publicKey?: string | undefined;
|
|
361
|
-
verified?: boolean | undefined;
|
|
362
|
-
did?: string | undefined;
|
|
363
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
364
|
-
address?: string | undefined;
|
|
365
|
-
phone?: string | undefined;
|
|
366
|
-
_id?: string | undefined;
|
|
367
|
-
birthday?: string | undefined;
|
|
368
|
-
dateOfBirth?: string | undefined;
|
|
369
|
-
isAdult?: boolean | undefined;
|
|
370
|
-
languages?: string[] | undefined;
|
|
371
|
-
userPreferences?: z.objectOutputType<{
|
|
372
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
373
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
374
|
-
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
375
|
-
personalization?: {
|
|
376
|
-
mentionMono: {
|
|
377
|
-
expiresAt: string | null;
|
|
378
|
-
allowed: boolean;
|
|
379
|
-
};
|
|
380
|
-
} | undefined;
|
|
381
|
-
} & {
|
|
382
|
-
[k: string]: unknown;
|
|
383
|
-
};
|
|
384
|
-
externalIdentities: {
|
|
385
|
-
canonicalAcct: string;
|
|
386
|
-
network: string;
|
|
387
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
388
|
-
actorUri: string;
|
|
389
|
-
transportAcct: string;
|
|
390
|
-
sourceUserId: string;
|
|
391
|
-
}[];
|
|
392
|
-
redirectedUserIds: string[];
|
|
393
|
-
externalIdentity: {
|
|
394
|
-
userId: string;
|
|
395
|
-
canonicalAcct: string;
|
|
396
|
-
network: string;
|
|
397
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
398
|
-
actorUri: string;
|
|
399
|
-
transportAcct: string;
|
|
400
|
-
sourceUserId: string;
|
|
401
|
-
};
|
|
402
|
-
}, {
|
|
403
|
-
user: {
|
|
404
|
-
name: import("./userResponse").UserNameResponse;
|
|
405
|
-
username: string;
|
|
406
|
-
id: string;
|
|
407
|
-
externalIdentities: {
|
|
408
|
-
canonicalAcct: string;
|
|
409
|
-
network: string;
|
|
410
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
411
|
-
actorUri: string;
|
|
412
|
-
transportAcct: string;
|
|
413
|
-
sourceUserId: string;
|
|
414
|
-
}[];
|
|
415
|
-
redirectedUserIds: string[];
|
|
416
|
-
color?: string | null | undefined;
|
|
417
|
-
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
418
|
-
avatar?: string | null | undefined;
|
|
419
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
420
|
-
bio?: string | undefined;
|
|
421
|
-
accountCategories?: ("community" | "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" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
422
|
-
character?: unknown;
|
|
423
|
-
email?: string | undefined;
|
|
424
|
-
publicKey?: string | undefined;
|
|
425
|
-
verified?: boolean | undefined;
|
|
426
|
-
did?: string | undefined;
|
|
427
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
428
|
-
address?: string | undefined;
|
|
429
|
-
phone?: string | undefined;
|
|
430
|
-
_id?: string | undefined;
|
|
431
|
-
birthday?: string | undefined;
|
|
432
|
-
dateOfBirth?: string | undefined;
|
|
433
|
-
isAdult?: boolean | undefined;
|
|
434
|
-
languages?: string[] | undefined;
|
|
435
|
-
userPreferences?: z.objectInputType<{
|
|
436
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
437
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
438
|
-
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
439
|
-
personalization?: {
|
|
440
|
-
mentionMono: {
|
|
441
|
-
expiresAt: string | null;
|
|
442
|
-
allowed: boolean;
|
|
443
|
-
};
|
|
444
|
-
} | undefined;
|
|
445
|
-
} & {
|
|
446
|
-
[k: string]: unknown;
|
|
447
|
-
};
|
|
448
|
-
externalIdentities: {
|
|
449
|
-
canonicalAcct: string;
|
|
450
|
-
network: string;
|
|
451
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
452
|
-
actorUri: string;
|
|
453
|
-
transportAcct: string;
|
|
454
|
-
sourceUserId: string;
|
|
455
|
-
}[];
|
|
456
|
-
redirectedUserIds: string[];
|
|
457
|
-
externalIdentity: {
|
|
458
|
-
userId: string;
|
|
459
|
-
canonicalAcct: string;
|
|
460
|
-
network: string;
|
|
461
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
462
|
-
actorUri: string;
|
|
463
|
-
transportAcct: string;
|
|
464
|
-
sourceUserId: string;
|
|
465
|
-
};
|
|
466
|
-
}>, {
|
|
467
|
-
user: {
|
|
468
|
-
name: import("./userResponse").UserNameResponse;
|
|
469
|
-
username: string;
|
|
470
|
-
id: string;
|
|
471
|
-
externalIdentities: {
|
|
472
|
-
canonicalAcct: string;
|
|
473
|
-
network: string;
|
|
474
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
475
|
-
actorUri: string;
|
|
476
|
-
transportAcct: string;
|
|
477
|
-
sourceUserId: string;
|
|
478
|
-
}[];
|
|
479
|
-
redirectedUserIds: string[];
|
|
480
|
-
color?: string | null | undefined;
|
|
481
|
-
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
482
|
-
avatar?: string | null | undefined;
|
|
483
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
484
|
-
bio?: string | undefined;
|
|
485
|
-
accountCategories?: ("community" | "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" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
486
|
-
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
487
|
-
email?: string | undefined;
|
|
488
|
-
publicKey?: string | undefined;
|
|
489
|
-
verified?: boolean | undefined;
|
|
490
|
-
did?: string | undefined;
|
|
491
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
492
|
-
address?: string | undefined;
|
|
493
|
-
phone?: string | undefined;
|
|
494
|
-
_id?: string | undefined;
|
|
495
|
-
birthday?: string | undefined;
|
|
496
|
-
dateOfBirth?: string | undefined;
|
|
497
|
-
isAdult?: boolean | undefined;
|
|
498
|
-
languages?: string[] | undefined;
|
|
499
|
-
userPreferences?: z.objectOutputType<{
|
|
500
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
501
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
502
|
-
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
503
|
-
personalization?: {
|
|
504
|
-
mentionMono: {
|
|
505
|
-
expiresAt: string | null;
|
|
506
|
-
allowed: boolean;
|
|
507
|
-
};
|
|
508
|
-
} | undefined;
|
|
509
|
-
} & {
|
|
510
|
-
[k: string]: unknown;
|
|
511
|
-
};
|
|
512
|
-
externalIdentities: {
|
|
513
|
-
canonicalAcct: string;
|
|
514
|
-
network: string;
|
|
515
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
516
|
-
actorUri: string;
|
|
517
|
-
transportAcct: string;
|
|
518
|
-
sourceUserId: string;
|
|
519
|
-
}[];
|
|
520
|
-
redirectedUserIds: string[];
|
|
521
|
-
externalIdentity: {
|
|
522
|
-
userId: string;
|
|
523
|
-
canonicalAcct: string;
|
|
524
|
-
network: string;
|
|
525
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
526
|
-
actorUri: string;
|
|
527
|
-
transportAcct: string;
|
|
528
|
-
sourceUserId: string;
|
|
529
|
-
};
|
|
530
|
-
}, {
|
|
531
|
-
user: {
|
|
532
|
-
name: import("./userResponse").UserNameResponse;
|
|
533
|
-
username: string;
|
|
534
|
-
id: string;
|
|
535
|
-
externalIdentities: {
|
|
536
|
-
canonicalAcct: string;
|
|
537
|
-
network: string;
|
|
538
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
539
|
-
actorUri: string;
|
|
540
|
-
transportAcct: string;
|
|
541
|
-
sourceUserId: string;
|
|
542
|
-
}[];
|
|
543
|
-
redirectedUserIds: string[];
|
|
544
|
-
color?: string | null | undefined;
|
|
545
|
-
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
546
|
-
avatar?: string | null | undefined;
|
|
547
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
548
|
-
bio?: string | undefined;
|
|
549
|
-
accountCategories?: ("community" | "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" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
550
|
-
character?: unknown;
|
|
551
|
-
email?: string | undefined;
|
|
552
|
-
publicKey?: string | undefined;
|
|
553
|
-
verified?: boolean | undefined;
|
|
554
|
-
did?: string | undefined;
|
|
555
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
556
|
-
address?: string | undefined;
|
|
557
|
-
phone?: string | undefined;
|
|
558
|
-
_id?: string | undefined;
|
|
559
|
-
birthday?: string | undefined;
|
|
560
|
-
dateOfBirth?: string | undefined;
|
|
561
|
-
isAdult?: boolean | undefined;
|
|
562
|
-
languages?: string[] | undefined;
|
|
563
|
-
userPreferences?: z.objectInputType<{
|
|
564
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
565
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
566
|
-
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
567
|
-
personalization?: {
|
|
568
|
-
mentionMono: {
|
|
569
|
-
expiresAt: string | null;
|
|
570
|
-
allowed: boolean;
|
|
571
|
-
};
|
|
572
|
-
} | undefined;
|
|
573
|
-
} & {
|
|
574
|
-
[k: string]: unknown;
|
|
575
|
-
};
|
|
576
|
-
externalIdentities: {
|
|
577
|
-
canonicalAcct: string;
|
|
578
|
-
network: string;
|
|
579
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
580
|
-
actorUri: string;
|
|
581
|
-
transportAcct: string;
|
|
582
|
-
sourceUserId: string;
|
|
583
|
-
}[];
|
|
584
|
-
redirectedUserIds: string[];
|
|
585
|
-
externalIdentity: {
|
|
586
|
-
userId: string;
|
|
587
|
-
canonicalAcct: string;
|
|
588
|
-
network: string;
|
|
589
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
590
|
-
actorUri: string;
|
|
591
|
-
transportAcct: string;
|
|
592
|
-
sourceUserId: string;
|
|
593
|
-
};
|
|
594
|
-
}>;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
redirectedUserIds: z.ZodArray<z.ZodString>;
|
|
166
|
+
}, z.core.$strip>;
|
|
595
167
|
export declare const lookupExternalIdentitiesRequestSchema: z.ZodObject<{
|
|
596
|
-
identifiers: z.ZodArray<z.ZodString
|
|
597
|
-
},
|
|
598
|
-
identifiers: string[];
|
|
599
|
-
}, {
|
|
600
|
-
identifiers: string[];
|
|
601
|
-
}>;
|
|
168
|
+
identifiers: z.ZodArray<z.ZodString>;
|
|
169
|
+
}, z.core.$strip>;
|
|
602
170
|
export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
603
171
|
identities: z.ZodArray<z.ZodObject<{
|
|
604
172
|
identifier: z.ZodString;
|
|
@@ -606,80 +174,18 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
606
174
|
externalIdentities: z.ZodArray<z.ZodObject<{
|
|
607
175
|
canonicalAcct: z.ZodString;
|
|
608
176
|
network: z.ZodString;
|
|
609
|
-
protocol: z.ZodEnum<
|
|
177
|
+
protocol: z.ZodEnum<{
|
|
178
|
+
activitypub: "activitypub";
|
|
179
|
+
atproto: "atproto";
|
|
180
|
+
"instagram-graph": "instagram-graph";
|
|
181
|
+
}>;
|
|
610
182
|
actorUri: z.ZodString;
|
|
611
183
|
transportAcct: z.ZodString;
|
|
612
184
|
sourceUserId: z.ZodString;
|
|
613
|
-
},
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
actorUri: string;
|
|
618
|
-
transportAcct: string;
|
|
619
|
-
sourceUserId: string;
|
|
620
|
-
}, {
|
|
621
|
-
canonicalAcct: string;
|
|
622
|
-
network: string;
|
|
623
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
624
|
-
actorUri: string;
|
|
625
|
-
transportAcct: string;
|
|
626
|
-
sourceUserId: string;
|
|
627
|
-
}>, "many">;
|
|
628
|
-
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
629
|
-
}, "strip", z.ZodTypeAny, {
|
|
630
|
-
userId: string | null;
|
|
631
|
-
identifier: string;
|
|
632
|
-
externalIdentities: {
|
|
633
|
-
canonicalAcct: string;
|
|
634
|
-
network: string;
|
|
635
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
636
|
-
actorUri: string;
|
|
637
|
-
transportAcct: string;
|
|
638
|
-
sourceUserId: string;
|
|
639
|
-
}[];
|
|
640
|
-
redirectedUserIds: string[];
|
|
641
|
-
}, {
|
|
642
|
-
userId: string | null;
|
|
643
|
-
identifier: string;
|
|
644
|
-
externalIdentities: {
|
|
645
|
-
canonicalAcct: string;
|
|
646
|
-
network: string;
|
|
647
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
648
|
-
actorUri: string;
|
|
649
|
-
transportAcct: string;
|
|
650
|
-
sourceUserId: string;
|
|
651
|
-
}[];
|
|
652
|
-
redirectedUserIds: string[];
|
|
653
|
-
}>, "many">;
|
|
654
|
-
}, "strip", z.ZodTypeAny, {
|
|
655
|
-
identities: {
|
|
656
|
-
userId: string | null;
|
|
657
|
-
identifier: string;
|
|
658
|
-
externalIdentities: {
|
|
659
|
-
canonicalAcct: string;
|
|
660
|
-
network: string;
|
|
661
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
662
|
-
actorUri: string;
|
|
663
|
-
transportAcct: string;
|
|
664
|
-
sourceUserId: string;
|
|
665
|
-
}[];
|
|
666
|
-
redirectedUserIds: string[];
|
|
667
|
-
}[];
|
|
668
|
-
}, {
|
|
669
|
-
identities: {
|
|
670
|
-
userId: string | null;
|
|
671
|
-
identifier: string;
|
|
672
|
-
externalIdentities: {
|
|
673
|
-
canonicalAcct: string;
|
|
674
|
-
network: string;
|
|
675
|
-
protocol: "activitypub" | "atproto" | "instagram-graph";
|
|
676
|
-
actorUri: string;
|
|
677
|
-
transportAcct: string;
|
|
678
|
-
sourceUserId: string;
|
|
679
|
-
}[];
|
|
680
|
-
redirectedUserIds: string[];
|
|
681
|
-
}[];
|
|
682
|
-
}>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
redirectedUserIds: z.ZodArray<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
}, z.core.$strip>;
|
|
683
189
|
export type ExternalIdentityProtocol = z.infer<typeof externalIdentityProtocolSchema>;
|
|
684
190
|
export type ExternalIdentityReference = z.infer<typeof externalIdentityReferenceSchema>;
|
|
685
191
|
export type ResolveExternalIdentityRequest = z.infer<typeof resolveExternalIdentityRequestSchema>;
|