@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.
Files changed (227) hide show
  1. package/dist/cjs/accountAccess.js +6 -5
  2. package/dist/cjs/accountEmail.js +13 -5
  3. package/dist/cjs/accountGraph.js +10 -9
  4. package/dist/cjs/accountName.js +3 -2
  5. package/dist/cjs/agency.js +91 -34
  6. package/dist/cjs/agentKeys.js +21 -17
  7. package/dist/cjs/appAssertions.js +14 -13
  8. package/dist/cjs/applicationRoles.js +19 -12
  9. package/dist/cjs/civic.js +10 -9
  10. package/dist/cjs/client/check.js +61 -53
  11. package/dist/cjs/client/consoleOnboarding.js +24 -0
  12. package/dist/cjs/client/index.js +7 -3
  13. package/dist/cjs/client/safety.js +9 -1
  14. package/dist/cjs/consoleOnboarding.js +56 -0
  15. package/dist/cjs/contentClaims.js +23 -14
  16. package/dist/cjs/deviceDirectory.js +11 -9
  17. package/dist/cjs/deviceSession.js +27 -25
  18. package/dist/cjs/email/messages.js +20 -18
  19. package/dist/cjs/emailAgentContext.js +11 -9
  20. package/dist/cjs/externalIdentity.js +15 -11
  21. package/dist/cjs/federationInstanceFetch.js +12 -7
  22. package/dist/cjs/identity.js +19 -17
  23. package/dist/cjs/identityLink.js +6 -4
  24. package/dist/cjs/identityProof.js +6 -4
  25. package/dist/cjs/inboxPush.js +5 -4
  26. package/dist/cjs/index.js +16 -6
  27. package/dist/cjs/inference/accountBilling.js +35 -33
  28. package/dist/cjs/inference/aliaModelRelease.js +9 -7
  29. package/dist/cjs/inference/attribution.js +14 -12
  30. package/dist/cjs/inference/catalogue.js +35 -29
  31. package/dist/cjs/inference/economics.js +24 -19
  32. package/dist/cjs/inference/embeddings.js +9 -7
  33. package/dist/cjs/inference/entitlement.js +17 -15
  34. package/dist/cjs/inference/errors.js +15 -8
  35. package/dist/cjs/inference/identifiers.js +33 -21
  36. package/dist/cjs/inference/inbox.js +37 -35
  37. package/dist/cjs/inference/modelDocumentation.js +16 -14
  38. package/dist/cjs/inference/money.js +5 -4
  39. package/dist/cjs/inference/priceVersion.js +10 -5
  40. package/dist/cjs/inference/providerConnection.js +21 -14
  41. package/dist/cjs/inference/realtime.js +88 -47
  42. package/dist/cjs/inference/request.js +27 -25
  43. package/dist/cjs/inference/routingPolicy.js +12 -10
  44. package/dist/cjs/inference/streamEvents.js +22 -16
  45. package/dist/cjs/inference/usage.js +32 -15
  46. package/dist/cjs/keyRecovery.js +8 -6
  47. package/dist/cjs/keyRotation.js +5 -4
  48. package/dist/cjs/linkedAccounts.js +22 -18
  49. package/dist/cjs/moderationReputation.js +29 -27
  50. package/dist/cjs/notifications.js +25 -9
  51. package/dist/cjs/numberChecks.js +45 -0
  52. package/dist/cjs/oauth.js +14 -12
  53. package/dist/cjs/organizations.js +23 -21
  54. package/dist/cjs/products/access.js +10 -8
  55. package/dist/cjs/products/billing.js +10 -8
  56. package/dist/cjs/products/checkout.js +22 -10
  57. package/dist/cjs/products/plans.js +15 -10
  58. package/dist/cjs/protocol.js +6 -5
  59. package/dist/cjs/recommendations.js +27 -19
  60. package/dist/cjs/reputation.js +15 -13
  61. package/dist/cjs/safety.js +46 -29
  62. package/dist/cjs/serviceToken.js +81 -2
  63. package/dist/cjs/sessionRevocation.js +8 -6
  64. package/dist/cjs/signIn.js +42 -24
  65. package/dist/cjs/stickers.js +19 -15
  66. package/dist/cjs/stringChecks.js +70 -0
  67. package/dist/cjs/transparency.js +14 -12
  68. package/dist/cjs/updates.js +24 -22
  69. package/dist/cjs/userInvalidation.js +7 -5
  70. package/dist/cjs/userResponse.js +8 -7
  71. package/dist/cjs/username.js +7 -6
  72. package/dist/esm/accountAccess.js +4 -3
  73. package/dist/esm/accountEmail.js +13 -5
  74. package/dist/esm/accountGraph.js +8 -7
  75. package/dist/esm/accountName.js +3 -2
  76. package/dist/esm/agency.js +90 -33
  77. package/dist/esm/agentKeys.js +21 -17
  78. package/dist/esm/appAssertions.js +11 -10
  79. package/dist/esm/applicationRoles.js +16 -9
  80. package/dist/esm/civic.js +8 -7
  81. package/dist/esm/client/check.js +61 -53
  82. package/dist/esm/client/consoleOnboarding.js +21 -0
  83. package/dist/esm/client/index.js +2 -1
  84. package/dist/esm/client/safety.js +8 -0
  85. package/dist/esm/consoleOnboarding.js +51 -0
  86. package/dist/esm/contentClaims.js +23 -14
  87. package/dist/esm/deviceDirectory.js +11 -9
  88. package/dist/esm/deviceSession.js +27 -25
  89. package/dist/esm/email/messages.js +18 -16
  90. package/dist/esm/emailAgentContext.js +11 -9
  91. package/dist/esm/externalIdentity.js +15 -11
  92. package/dist/esm/federationInstanceFetch.js +10 -5
  93. package/dist/esm/identity.js +17 -15
  94. package/dist/esm/identityLink.js +6 -4
  95. package/dist/esm/identityProof.js +6 -4
  96. package/dist/esm/inboxPush.js +3 -2
  97. package/dist/esm/index.js +5 -2
  98. package/dist/esm/inference/accountBilling.js +33 -31
  99. package/dist/esm/inference/aliaModelRelease.js +7 -5
  100. package/dist/esm/inference/attribution.js +14 -12
  101. package/dist/esm/inference/catalogue.js +33 -27
  102. package/dist/esm/inference/economics.js +22 -17
  103. package/dist/esm/inference/embeddings.js +9 -7
  104. package/dist/esm/inference/entitlement.js +15 -13
  105. package/dist/esm/inference/errors.js +13 -6
  106. package/dist/esm/inference/identifiers.js +31 -19
  107. package/dist/esm/inference/inbox.js +37 -35
  108. package/dist/esm/inference/modelDocumentation.js +14 -12
  109. package/dist/esm/inference/money.js +3 -2
  110. package/dist/esm/inference/priceVersion.js +8 -3
  111. package/dist/esm/inference/providerConnection.js +19 -12
  112. package/dist/esm/inference/realtime.js +85 -44
  113. package/dist/esm/inference/request.js +25 -23
  114. package/dist/esm/inference/routingPolicy.js +9 -7
  115. package/dist/esm/inference/streamEvents.js +20 -14
  116. package/dist/esm/inference/usage.js +30 -13
  117. package/dist/esm/keyRecovery.js +8 -6
  118. package/dist/esm/keyRotation.js +5 -4
  119. package/dist/esm/linkedAccounts.js +20 -16
  120. package/dist/esm/moderationReputation.js +27 -25
  121. package/dist/esm/notifications.js +23 -7
  122. package/dist/esm/numberChecks.js +41 -0
  123. package/dist/esm/oauth.js +14 -12
  124. package/dist/esm/organizations.js +23 -21
  125. package/dist/esm/products/access.js +10 -8
  126. package/dist/esm/products/billing.js +10 -8
  127. package/dist/esm/products/checkout.js +22 -10
  128. package/dist/esm/products/plans.js +15 -10
  129. package/dist/esm/protocol.js +4 -3
  130. package/dist/esm/recommendations.js +25 -17
  131. package/dist/esm/reputation.js +13 -11
  132. package/dist/esm/safety.js +45 -29
  133. package/dist/esm/serviceToken.js +80 -1
  134. package/dist/esm/sessionRevocation.js +6 -4
  135. package/dist/esm/signIn.js +42 -24
  136. package/dist/esm/stickers.js +17 -13
  137. package/dist/esm/stringChecks.js +63 -0
  138. package/dist/esm/transparency.js +14 -12
  139. package/dist/esm/updates.js +22 -20
  140. package/dist/esm/userInvalidation.js +4 -2
  141. package/dist/esm/userResponse.js +4 -3
  142. package/dist/esm/username.js +3 -2
  143. package/dist/types/accountAccess.d.ts +29 -70
  144. package/dist/types/accountEmail.d.ts +2 -14
  145. package/dist/types/accountGraph.d.ts +179 -171
  146. package/dist/types/accountName.d.ts +1 -1
  147. package/dist/types/accountSubject.d.ts +20 -93
  148. package/dist/types/agency.d.ts +528 -2924
  149. package/dist/types/agentKeys.d.ts +48 -421
  150. package/dist/types/appAssertions.d.ts +56 -210
  151. package/dist/types/applicationRoles.d.ts +30 -276
  152. package/dist/types/avatarCharacter.d.ts +1 -1
  153. package/dist/types/civic.d.ts +1 -13
  154. package/dist/types/client/agentKeys.d.ts +18 -18
  155. package/dist/types/client/appAssertions.d.ts +3 -3
  156. package/dist/types/client/check.d.ts +13 -13
  157. package/dist/types/client/consoleOnboarding.d.ts +16 -0
  158. package/dist/types/client/deviceDirectory.d.ts +51 -51
  159. package/dist/types/client/deviceSession.d.ts +14 -14
  160. package/dist/types/client/index.d.ts +2 -1
  161. package/dist/types/client/organizations.d.ts +25 -25
  162. package/dist/types/client/products.d.ts +33 -33
  163. package/dist/types/client/recommendations.d.ts +2 -2
  164. package/dist/types/client/safety.d.ts +53 -45
  165. package/dist/types/client/sessionStatus.d.ts +4 -4
  166. package/dist/types/client/signIn.d.ts +1 -1
  167. package/dist/types/commonsSignIn.d.ts +4 -1
  168. package/dist/types/consoleOnboarding.d.ts +57 -0
  169. package/dist/types/contentClaims.d.ts +24 -180
  170. package/dist/types/deviceDirectory.d.ts +109 -1040
  171. package/dist/types/deviceSession.d.ts +36 -298
  172. package/dist/types/email/messages.d.ts +212 -1793
  173. package/dist/types/emailAgentContext.d.ts +10 -194
  174. package/dist/types/externalIdentity.d.ts +121 -615
  175. package/dist/types/federationInstanceFetch.d.ts +3 -32
  176. package/dist/types/identity.d.ts +15 -92
  177. package/dist/types/identityLink.d.ts +6 -84
  178. package/dist/types/identityProof.d.ts +5 -17
  179. package/dist/types/inboxPush.d.ts +1 -9
  180. package/dist/types/index.d.ts +6 -3
  181. package/dist/types/inference/accountBilling.d.ts +151 -488
  182. package/dist/types/inference/aliaModelRelease.d.ts +42 -439
  183. package/dist/types/inference/attribution.d.ts +75 -104
  184. package/dist/types/inference/catalogue.d.ts +417 -1599
  185. package/dist/types/inference/economics.d.ts +69 -276
  186. package/dist/types/inference/embeddings.d.ts +110 -406
  187. package/dist/types/inference/entitlement.d.ts +80 -335
  188. package/dist/types/inference/errors.d.ts +90 -102
  189. package/dist/types/inference/identifiers.d.ts +12 -4
  190. package/dist/types/inference/inbox.d.ts +105 -420
  191. package/dist/types/inference/modelDocumentation.d.ts +201 -1390
  192. package/dist/types/inference/money.d.ts +65 -32
  193. package/dist/types/inference/priceVersion.d.ts +53 -120
  194. package/dist/types/inference/providerConnection.d.ts +253 -710
  195. package/dist/types/inference/realtime.d.ts +954 -6825
  196. package/dist/types/inference/request.d.ts +300 -2572
  197. package/dist/types/inference/routingPolicy.d.ts +95 -503
  198. package/dist/types/inference/streamEvents.d.ts +253 -721
  199. package/dist/types/inference/usage.d.ts +317 -950
  200. package/dist/types/keyRecovery.d.ts +3 -51
  201. package/dist/types/keyRotation.d.ts +3 -38
  202. package/dist/types/linkedAccounts.d.ts +50 -236
  203. package/dist/types/moderationReputation.d.ts +81 -14
  204. package/dist/types/notifications.d.ts +19 -51
  205. package/dist/types/numberChecks.d.ts +9 -0
  206. package/dist/types/oauth.d.ts +101 -809
  207. package/dist/types/organizations.d.ts +268 -921
  208. package/dist/types/oxyRecordTypes.d.ts +11 -1
  209. package/dist/types/products/access.d.ts +125 -775
  210. package/dist/types/products/billing.d.ts +67 -503
  211. package/dist/types/products/checkout.d.ts +16 -69
  212. package/dist/types/products/plans.d.ts +33 -366
  213. package/dist/types/recommendations.d.ts +76 -389
  214. package/dist/types/reputation.d.ts +37 -5
  215. package/dist/types/safety.d.ts +410 -2050
  216. package/dist/types/serviceToken.d.ts +247 -7
  217. package/dist/types/sessionRevocation.d.ts +2 -17
  218. package/dist/types/sessionStatus.d.ts +27 -115
  219. package/dist/types/signIn.d.ts +53 -553
  220. package/dist/types/stickers.d.ts +67 -819
  221. package/dist/types/stringChecks.d.ts +16 -0
  222. package/dist/types/transparency.d.ts +14 -302
  223. package/dist/types/updates.d.ts +60 -316
  224. package/dist/types/userInvalidation.d.ts +4 -13
  225. package/dist/types/userResponse.d.ts +302 -2400
  226. package/dist/types/username.d.ts +3 -3
  227. 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<["activitypub", "atproto", "instagram-graph"]>;
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<["activitypub", "atproto", "instagram-graph"]>;
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
- }, "strip", z.ZodTypeAny, {
16
- canonicalAcct: string;
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<["activitypub", "atproto", "instagram-graph"]>>;
35
- }, "strip", z.ZodTypeAny, {
36
- protocol?: "activitypub" | "atproto" | "instagram-graph" | undefined;
37
- actorUri?: string | undefined;
38
- transportAcct?: string | undefined;
39
- handle?: string | undefined;
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.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
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.ZodTypeDef, import("./userResponse").UserNameResponse>;
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, "many">>;
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.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
73
- kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
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">, ("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")[]>>;
75
- character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
76
- relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
77
- userPreferences: z.ZodOptional<z.ZodObject<{
78
- displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
79
- }, "strip", z.ZodUnknown, z.objectOutputType<{
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
- id: z.ZodString;
109
- username: z.ZodString;
110
- bio: z.ZodOptional<z.ZodString>;
111
- externalIdentities: z.ZodArray<z.ZodObject<{
112
- canonicalAcct: z.ZodString;
113
- network: z.ZodString;
114
- protocol: z.ZodEnum<["activitypub", "atproto", "instagram-graph"]>;
115
- actorUri: z.ZodString;
116
- transportAcct: z.ZodString;
117
- sourceUserId: z.ZodString;
118
- }, "strip", z.ZodTypeAny, {
119
- canonicalAcct: string;
120
- network: string;
121
- protocol: "activitypub" | "atproto" | "instagram-graph";
122
- actorUri: string;
123
- transportAcct: string;
124
- sourceUserId: string;
125
- }, {
126
- canonicalAcct: string;
127
- network: string;
128
- protocol: "activitypub" | "atproto" | "instagram-graph";
129
- actorUri: string;
130
- transportAcct: string;
131
- sourceUserId: string;
132
- }>, "many">;
133
- redirectedUserIds: z.ZodArray<z.ZodString, "many">;
134
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
135
- _id: z.ZodOptional<z.ZodString>;
136
- publicKey: z.ZodOptional<z.ZodString>;
137
- email: z.ZodOptional<z.ZodString>;
138
- phone: z.ZodOptional<z.ZodString>;
139
- address: z.ZodOptional<z.ZodString>;
140
- birthday: z.ZodOptional<z.ZodString>;
141
- dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
142
- isAdult: z.ZodOptional<z.ZodBoolean>;
143
- avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
- name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
146
- verified: z.ZodOptional<z.ZodBoolean>;
147
- languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
148
- did: z.ZodOptional<z.ZodString>;
149
- verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
150
- kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
151
- 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")[]>>;
152
- character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
153
- relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
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<["USD", "EUR", "FAIR"]>>;
156
- }, "strip", z.ZodUnknown, z.objectOutputType<{
157
- displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
158
- }, z.ZodUnknown, "strip">, z.objectInputType<{
159
- displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
160
- }, z.ZodUnknown, "strip">>>;
161
- themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
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
- }, "strict", z.ZodTypeAny, {
167
- expiresAt: string | null;
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<["activitypub", "atproto", "instagram-graph"]>;
192
- actorUri: z.ZodString;
193
- transportAcct: z.ZodString;
194
- sourceUserId: z.ZodString;
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
- }, "strip", z.ZodTypeAny, {
273
- canonicalAcct: string;
274
- network: string;
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<["activitypub", "atproto", "instagram-graph"]>;
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
- }, "strip", z.ZodTypeAny, {
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<["activitypub", "atproto", "instagram-graph"]>;
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
- }, "strip", z.ZodTypeAny, {
323
- canonicalAcct: string;
324
- network: string;
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, "many">;
597
- }, "strip", z.ZodTypeAny, {
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<["activitypub", "atproto", "instagram-graph"]>;
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
- }, "strip", z.ZodTypeAny, {
614
- canonicalAcct: string;
615
- network: string;
616
- protocol: "activitypub" | "atproto" | "instagram-graph";
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>;