@oxy.so/contracts 1.0.1 → 1.1.1

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.
@@ -0,0 +1,536 @@
1
+ import { z } from 'zod';
2
+ export declare const externalIdentityReferenceSchema: z.ZodObject<{
3
+ canonicalAcct: z.ZodString;
4
+ network: z.ZodString;
5
+ protocol: z.ZodEnum<["activitypub", "atproto"]>;
6
+ actorUri: z.ZodString;
7
+ transportAcct: z.ZodString;
8
+ sourceUserId: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ canonicalAcct: string;
11
+ network: string;
12
+ protocol: "activitypub" | "atproto";
13
+ actorUri: string;
14
+ transportAcct: string;
15
+ sourceUserId: string;
16
+ }, {
17
+ canonicalAcct: string;
18
+ network: string;
19
+ protocol: "activitypub" | "atproto";
20
+ actorUri: string;
21
+ transportAcct: string;
22
+ sourceUserId: string;
23
+ }>;
24
+ export declare const resolveExternalIdentityRequestSchema: z.ZodEffects<z.ZodObject<{
25
+ actorUri: z.ZodOptional<z.ZodString>;
26
+ handle: z.ZodOptional<z.ZodString>;
27
+ transportAcct: z.ZodOptional<z.ZodString>;
28
+ protocol: z.ZodOptional<z.ZodEnum<["activitypub", "atproto"]>>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ handle?: string | undefined;
31
+ protocol?: "activitypub" | "atproto" | undefined;
32
+ actorUri?: string | undefined;
33
+ transportAcct?: string | undefined;
34
+ }, {
35
+ handle?: string | undefined;
36
+ protocol?: "activitypub" | "atproto" | undefined;
37
+ actorUri?: string | undefined;
38
+ transportAcct?: string | undefined;
39
+ }>, {
40
+ handle?: string | undefined;
41
+ protocol?: "activitypub" | "atproto" | undefined;
42
+ actorUri?: string | undefined;
43
+ transportAcct?: string | undefined;
44
+ }, {
45
+ handle?: string | undefined;
46
+ protocol?: "activitypub" | "atproto" | undefined;
47
+ actorUri?: string | undefined;
48
+ transportAcct?: string | undefined;
49
+ }>;
50
+ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodObject<{
51
+ user: z.ZodObject<{
52
+ _id: z.ZodOptional<z.ZodString>;
53
+ publicKey: z.ZodOptional<z.ZodString>;
54
+ email: z.ZodOptional<z.ZodString>;
55
+ phone: z.ZodOptional<z.ZodString>;
56
+ address: z.ZodOptional<z.ZodString>;
57
+ birthday: z.ZodOptional<z.ZodString>;
58
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
61
+ verified: z.ZodOptional<z.ZodBoolean>;
62
+ languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63
+ did: z.ZodOptional<z.ZodString>;
64
+ verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
65
+ kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
66
+ accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
67
+ relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
68
+ themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
69
+ } & {
70
+ id: z.ZodString;
71
+ username: z.ZodString;
72
+ bio: z.ZodOptional<z.ZodString>;
73
+ externalIdentities: z.ZodArray<z.ZodObject<{
74
+ canonicalAcct: z.ZodString;
75
+ network: z.ZodString;
76
+ protocol: z.ZodEnum<["activitypub", "atproto"]>;
77
+ actorUri: z.ZodString;
78
+ transportAcct: z.ZodString;
79
+ sourceUserId: z.ZodString;
80
+ }, "strip", z.ZodTypeAny, {
81
+ canonicalAcct: string;
82
+ network: string;
83
+ protocol: "activitypub" | "atproto";
84
+ actorUri: string;
85
+ transportAcct: string;
86
+ sourceUserId: string;
87
+ }, {
88
+ canonicalAcct: string;
89
+ network: string;
90
+ protocol: "activitypub" | "atproto";
91
+ actorUri: string;
92
+ transportAcct: string;
93
+ sourceUserId: string;
94
+ }>, "many">;
95
+ redirectedUserIds: z.ZodArray<z.ZodString, "many">;
96
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
97
+ _id: z.ZodOptional<z.ZodString>;
98
+ publicKey: z.ZodOptional<z.ZodString>;
99
+ email: z.ZodOptional<z.ZodString>;
100
+ phone: z.ZodOptional<z.ZodString>;
101
+ address: z.ZodOptional<z.ZodString>;
102
+ birthday: z.ZodOptional<z.ZodString>;
103
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
106
+ verified: z.ZodOptional<z.ZodBoolean>;
107
+ languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
108
+ did: z.ZodOptional<z.ZodString>;
109
+ verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
110
+ kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
111
+ accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
112
+ relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
113
+ themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
114
+ } & {
115
+ id: z.ZodString;
116
+ username: z.ZodString;
117
+ bio: z.ZodOptional<z.ZodString>;
118
+ externalIdentities: z.ZodArray<z.ZodObject<{
119
+ canonicalAcct: z.ZodString;
120
+ network: z.ZodString;
121
+ protocol: z.ZodEnum<["activitypub", "atproto"]>;
122
+ actorUri: z.ZodString;
123
+ transportAcct: z.ZodString;
124
+ sourceUserId: z.ZodString;
125
+ }, "strip", z.ZodTypeAny, {
126
+ canonicalAcct: string;
127
+ network: string;
128
+ protocol: "activitypub" | "atproto";
129
+ actorUri: string;
130
+ transportAcct: string;
131
+ sourceUserId: string;
132
+ }, {
133
+ canonicalAcct: string;
134
+ network: string;
135
+ protocol: "activitypub" | "atproto";
136
+ actorUri: string;
137
+ transportAcct: string;
138
+ sourceUserId: string;
139
+ }>, "many">;
140
+ redirectedUserIds: z.ZodArray<z.ZodString, "many">;
141
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
142
+ _id: z.ZodOptional<z.ZodString>;
143
+ publicKey: z.ZodOptional<z.ZodString>;
144
+ email: z.ZodOptional<z.ZodString>;
145
+ phone: z.ZodOptional<z.ZodString>;
146
+ address: z.ZodOptional<z.ZodString>;
147
+ birthday: z.ZodOptional<z.ZodString>;
148
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
149
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
151
+ verified: z.ZodOptional<z.ZodBoolean>;
152
+ languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
153
+ did: z.ZodOptional<z.ZodString>;
154
+ verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
155
+ kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
156
+ accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
157
+ relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
158
+ themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
159
+ } & {
160
+ id: z.ZodString;
161
+ username: z.ZodString;
162
+ bio: z.ZodOptional<z.ZodString>;
163
+ externalIdentities: z.ZodArray<z.ZodObject<{
164
+ canonicalAcct: z.ZodString;
165
+ network: z.ZodString;
166
+ protocol: z.ZodEnum<["activitypub", "atproto"]>;
167
+ actorUri: z.ZodString;
168
+ transportAcct: z.ZodString;
169
+ sourceUserId: z.ZodString;
170
+ }, "strip", z.ZodTypeAny, {
171
+ canonicalAcct: string;
172
+ network: string;
173
+ protocol: "activitypub" | "atproto";
174
+ actorUri: string;
175
+ transportAcct: string;
176
+ sourceUserId: string;
177
+ }, {
178
+ canonicalAcct: string;
179
+ network: string;
180
+ protocol: "activitypub" | "atproto";
181
+ actorUri: string;
182
+ transportAcct: string;
183
+ sourceUserId: string;
184
+ }>, "many">;
185
+ redirectedUserIds: z.ZodArray<z.ZodString, "many">;
186
+ }, z.ZodTypeAny, "passthrough">>;
187
+ externalIdentity: z.ZodObject<{
188
+ canonicalAcct: z.ZodString;
189
+ network: z.ZodString;
190
+ protocol: z.ZodEnum<["activitypub", "atproto"]>;
191
+ actorUri: z.ZodString;
192
+ transportAcct: z.ZodString;
193
+ sourceUserId: z.ZodString;
194
+ } & {
195
+ userId: z.ZodString;
196
+ }, "strip", z.ZodTypeAny, {
197
+ userId: string;
198
+ canonicalAcct: string;
199
+ network: string;
200
+ protocol: "activitypub" | "atproto";
201
+ actorUri: string;
202
+ transportAcct: string;
203
+ sourceUserId: string;
204
+ }, {
205
+ userId: string;
206
+ canonicalAcct: string;
207
+ network: string;
208
+ protocol: "activitypub" | "atproto";
209
+ actorUri: string;
210
+ transportAcct: string;
211
+ sourceUserId: string;
212
+ }>;
213
+ externalIdentities: z.ZodArray<z.ZodObject<{
214
+ canonicalAcct: z.ZodString;
215
+ network: z.ZodString;
216
+ protocol: z.ZodEnum<["activitypub", "atproto"]>;
217
+ actorUri: z.ZodString;
218
+ transportAcct: z.ZodString;
219
+ sourceUserId: z.ZodString;
220
+ }, "strip", z.ZodTypeAny, {
221
+ canonicalAcct: string;
222
+ network: string;
223
+ protocol: "activitypub" | "atproto";
224
+ actorUri: string;
225
+ transportAcct: string;
226
+ sourceUserId: string;
227
+ }, {
228
+ canonicalAcct: string;
229
+ network: string;
230
+ protocol: "activitypub" | "atproto";
231
+ actorUri: string;
232
+ transportAcct: string;
233
+ sourceUserId: string;
234
+ }>, "many">;
235
+ redirectedUserIds: z.ZodArray<z.ZodString, "many">;
236
+ }, "strip", z.ZodTypeAny, {
237
+ user: {
238
+ username: string;
239
+ name: import("./userResponse").UserNameResponse;
240
+ id: string;
241
+ externalIdentities: {
242
+ canonicalAcct: string;
243
+ network: string;
244
+ protocol: "activitypub" | "atproto";
245
+ actorUri: string;
246
+ transportAcct: string;
247
+ sourceUserId: string;
248
+ }[];
249
+ redirectedUserIds: string[];
250
+ kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
251
+ bio?: string | undefined;
252
+ avatar?: string | null | undefined;
253
+ color?: string | null | undefined;
254
+ accountCategories?: ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
255
+ publicKey?: string | undefined;
256
+ verified?: boolean | undefined;
257
+ did?: string | undefined;
258
+ verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
259
+ _id?: string | undefined;
260
+ email?: string | undefined;
261
+ phone?: string | undefined;
262
+ address?: string | undefined;
263
+ birthday?: string | undefined;
264
+ languages?: string[] | undefined;
265
+ relationship?: import("./userResponse").UserRelationship | undefined;
266
+ themePreference?: import("./userResponse").ThemePreference | undefined;
267
+ } & {
268
+ [k: string]: unknown;
269
+ };
270
+ externalIdentities: {
271
+ canonicalAcct: string;
272
+ network: string;
273
+ protocol: "activitypub" | "atproto";
274
+ actorUri: string;
275
+ transportAcct: string;
276
+ sourceUserId: string;
277
+ }[];
278
+ redirectedUserIds: string[];
279
+ externalIdentity: {
280
+ userId: string;
281
+ canonicalAcct: string;
282
+ network: string;
283
+ protocol: "activitypub" | "atproto";
284
+ actorUri: string;
285
+ transportAcct: string;
286
+ sourceUserId: string;
287
+ };
288
+ }, {
289
+ user: {
290
+ username: string;
291
+ name: import("./userResponse").UserNameResponse;
292
+ id: string;
293
+ externalIdentities: {
294
+ canonicalAcct: string;
295
+ network: string;
296
+ protocol: "activitypub" | "atproto";
297
+ actorUri: string;
298
+ transportAcct: string;
299
+ sourceUserId: string;
300
+ }[];
301
+ redirectedUserIds: string[];
302
+ kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
303
+ bio?: string | undefined;
304
+ avatar?: string | null | undefined;
305
+ color?: string | null | undefined;
306
+ accountCategories?: ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
307
+ publicKey?: string | undefined;
308
+ verified?: boolean | undefined;
309
+ did?: string | undefined;
310
+ verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
311
+ _id?: string | undefined;
312
+ email?: string | undefined;
313
+ phone?: string | undefined;
314
+ address?: string | undefined;
315
+ birthday?: string | undefined;
316
+ languages?: string[] | undefined;
317
+ relationship?: import("./userResponse").UserRelationship | undefined;
318
+ themePreference?: import("./userResponse").ThemePreference | undefined;
319
+ } & {
320
+ [k: string]: unknown;
321
+ };
322
+ externalIdentities: {
323
+ canonicalAcct: string;
324
+ network: string;
325
+ protocol: "activitypub" | "atproto";
326
+ actorUri: string;
327
+ transportAcct: string;
328
+ sourceUserId: string;
329
+ }[];
330
+ redirectedUserIds: string[];
331
+ externalIdentity: {
332
+ userId: string;
333
+ canonicalAcct: string;
334
+ network: string;
335
+ protocol: "activitypub" | "atproto";
336
+ actorUri: string;
337
+ transportAcct: string;
338
+ sourceUserId: string;
339
+ };
340
+ }>, {
341
+ user: {
342
+ username: string;
343
+ name: import("./userResponse").UserNameResponse;
344
+ id: string;
345
+ externalIdentities: {
346
+ canonicalAcct: string;
347
+ network: string;
348
+ protocol: "activitypub" | "atproto";
349
+ actorUri: string;
350
+ transportAcct: string;
351
+ sourceUserId: string;
352
+ }[];
353
+ redirectedUserIds: string[];
354
+ kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
355
+ bio?: string | undefined;
356
+ avatar?: string | null | undefined;
357
+ color?: string | null | undefined;
358
+ accountCategories?: ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
359
+ publicKey?: string | undefined;
360
+ verified?: boolean | undefined;
361
+ did?: string | undefined;
362
+ verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
363
+ _id?: string | undefined;
364
+ email?: string | undefined;
365
+ phone?: string | undefined;
366
+ address?: string | undefined;
367
+ birthday?: string | undefined;
368
+ languages?: string[] | undefined;
369
+ relationship?: import("./userResponse").UserRelationship | undefined;
370
+ themePreference?: import("./userResponse").ThemePreference | undefined;
371
+ } & {
372
+ [k: string]: unknown;
373
+ };
374
+ externalIdentities: {
375
+ canonicalAcct: string;
376
+ network: string;
377
+ protocol: "activitypub" | "atproto";
378
+ actorUri: string;
379
+ transportAcct: string;
380
+ sourceUserId: string;
381
+ }[];
382
+ redirectedUserIds: string[];
383
+ externalIdentity: {
384
+ userId: string;
385
+ canonicalAcct: string;
386
+ network: string;
387
+ protocol: "activitypub" | "atproto";
388
+ actorUri: string;
389
+ transportAcct: string;
390
+ sourceUserId: string;
391
+ };
392
+ }, {
393
+ user: {
394
+ username: string;
395
+ name: import("./userResponse").UserNameResponse;
396
+ id: string;
397
+ externalIdentities: {
398
+ canonicalAcct: string;
399
+ network: string;
400
+ protocol: "activitypub" | "atproto";
401
+ actorUri: string;
402
+ transportAcct: string;
403
+ sourceUserId: string;
404
+ }[];
405
+ redirectedUserIds: string[];
406
+ kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
407
+ bio?: string | undefined;
408
+ avatar?: string | null | undefined;
409
+ color?: string | null | undefined;
410
+ accountCategories?: ("news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
411
+ publicKey?: string | undefined;
412
+ verified?: boolean | undefined;
413
+ did?: string | undefined;
414
+ verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
415
+ _id?: string | undefined;
416
+ email?: string | undefined;
417
+ phone?: string | undefined;
418
+ address?: string | undefined;
419
+ birthday?: string | undefined;
420
+ languages?: string[] | undefined;
421
+ relationship?: import("./userResponse").UserRelationship | undefined;
422
+ themePreference?: import("./userResponse").ThemePreference | undefined;
423
+ } & {
424
+ [k: string]: unknown;
425
+ };
426
+ externalIdentities: {
427
+ canonicalAcct: string;
428
+ network: string;
429
+ protocol: "activitypub" | "atproto";
430
+ actorUri: string;
431
+ transportAcct: string;
432
+ sourceUserId: string;
433
+ }[];
434
+ redirectedUserIds: string[];
435
+ externalIdentity: {
436
+ userId: string;
437
+ canonicalAcct: string;
438
+ network: string;
439
+ protocol: "activitypub" | "atproto";
440
+ actorUri: string;
441
+ transportAcct: string;
442
+ sourceUserId: string;
443
+ };
444
+ }>;
445
+ export declare const lookupExternalIdentitiesRequestSchema: z.ZodObject<{
446
+ identifiers: z.ZodArray<z.ZodString, "many">;
447
+ }, "strip", z.ZodTypeAny, {
448
+ identifiers: string[];
449
+ }, {
450
+ identifiers: string[];
451
+ }>;
452
+ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
453
+ identities: z.ZodArray<z.ZodObject<{
454
+ identifier: z.ZodString;
455
+ userId: z.ZodNullable<z.ZodString>;
456
+ externalIdentities: z.ZodArray<z.ZodObject<{
457
+ canonicalAcct: z.ZodString;
458
+ network: z.ZodString;
459
+ protocol: z.ZodEnum<["activitypub", "atproto"]>;
460
+ actorUri: z.ZodString;
461
+ transportAcct: z.ZodString;
462
+ sourceUserId: z.ZodString;
463
+ }, "strip", z.ZodTypeAny, {
464
+ canonicalAcct: string;
465
+ network: string;
466
+ protocol: "activitypub" | "atproto";
467
+ actorUri: string;
468
+ transportAcct: string;
469
+ sourceUserId: string;
470
+ }, {
471
+ canonicalAcct: string;
472
+ network: string;
473
+ protocol: "activitypub" | "atproto";
474
+ actorUri: string;
475
+ transportAcct: string;
476
+ sourceUserId: string;
477
+ }>, "many">;
478
+ redirectedUserIds: z.ZodArray<z.ZodString, "many">;
479
+ }, "strip", z.ZodTypeAny, {
480
+ userId: string | null;
481
+ externalIdentities: {
482
+ canonicalAcct: string;
483
+ network: string;
484
+ protocol: "activitypub" | "atproto";
485
+ actorUri: string;
486
+ transportAcct: string;
487
+ sourceUserId: string;
488
+ }[];
489
+ redirectedUserIds: string[];
490
+ identifier: string;
491
+ }, {
492
+ userId: string | null;
493
+ externalIdentities: {
494
+ canonicalAcct: string;
495
+ network: string;
496
+ protocol: "activitypub" | "atproto";
497
+ actorUri: string;
498
+ transportAcct: string;
499
+ sourceUserId: string;
500
+ }[];
501
+ redirectedUserIds: string[];
502
+ identifier: string;
503
+ }>, "many">;
504
+ }, "strip", z.ZodTypeAny, {
505
+ identities: {
506
+ userId: string | null;
507
+ externalIdentities: {
508
+ canonicalAcct: string;
509
+ network: string;
510
+ protocol: "activitypub" | "atproto";
511
+ actorUri: string;
512
+ transportAcct: string;
513
+ sourceUserId: string;
514
+ }[];
515
+ redirectedUserIds: string[];
516
+ identifier: string;
517
+ }[];
518
+ }, {
519
+ identities: {
520
+ userId: string | null;
521
+ externalIdentities: {
522
+ canonicalAcct: string;
523
+ network: string;
524
+ protocol: "activitypub" | "atproto";
525
+ actorUri: string;
526
+ transportAcct: string;
527
+ sourceUserId: string;
528
+ }[];
529
+ redirectedUserIds: string[];
530
+ identifier: string;
531
+ }[];
532
+ }>;
533
+ export type ExternalIdentityReference = z.infer<typeof externalIdentityReferenceSchema>;
534
+ export type ResolveExternalIdentityRequest = z.infer<typeof resolveExternalIdentityRequestSchema>;
535
+ export type ResolveExternalIdentityResponse = z.infer<typeof resolveExternalIdentityResponseSchema>;
536
+ export type LookupExternalIdentitiesResponse = z.infer<typeof lookupExternalIdentitiesResponseSchema>;
@@ -220,6 +220,44 @@ export declare const domainVerificationRequestSchema: z.ZodObject<{
220
220
  domain: string;
221
221
  }>;
222
222
  export type DomainVerificationRequest = z.infer<typeof domainVerificationRequestSchema>;
223
+ /** Clarity resource-server request to bind a site to Oxy domain authority. */
224
+ export declare const resourceDomainOwnershipRequestSchema: z.ZodObject<{
225
+ accountId: z.ZodString;
226
+ verifiedDomainId: z.ZodString;
227
+ originHost: z.ZodPipeline<z.ZodString, z.ZodString>;
228
+ }, "strict", z.ZodTypeAny, {
229
+ accountId: string;
230
+ verifiedDomainId: string;
231
+ originHost: string;
232
+ }, {
233
+ accountId: string;
234
+ verifiedDomainId: string;
235
+ originHost: string;
236
+ }>;
237
+ export declare const resourceDomainOwnershipResponseSchema: z.ZodObject<{
238
+ verified: z.ZodBoolean;
239
+ accountId: z.ZodString;
240
+ verifiedDomainId: z.ZodString;
241
+ originHost: z.ZodPipeline<z.ZodString, z.ZodString>;
242
+ verifiedAt: z.ZodOptional<z.ZodString>;
243
+ method: z.ZodOptional<z.ZodEnum<["dns-txt", "well-known"]>>;
244
+ }, "strict", z.ZodTypeAny, {
245
+ accountId: string;
246
+ verifiedDomainId: string;
247
+ originHost: string;
248
+ verified: boolean;
249
+ method?: "dns-txt" | "well-known" | undefined;
250
+ verifiedAt?: string | undefined;
251
+ }, {
252
+ accountId: string;
253
+ verifiedDomainId: string;
254
+ originHost: string;
255
+ verified: boolean;
256
+ method?: "dns-txt" | "well-known" | undefined;
257
+ verifiedAt?: string | undefined;
258
+ }>;
259
+ export type ResourceDomainOwnershipRequest = z.infer<typeof resourceDomainOwnershipRequestSchema>;
260
+ export type ResourceDomainOwnershipResponse = z.infer<typeof resourceDomainOwnershipResponseSchema>;
223
261
  /**
224
262
  * The instructions the API returns when a domain verification is requested. The
225
263
  * caller may prove ownership EITHER by publishing the `dns` TXT record OR by
@@ -24,8 +24,8 @@ export { OXY_USER_INVALIDATION_CHANNEL, OXY_USER_CHANGE_REASONS, OXY_PUBLISHED_U
24
24
  export type { OxyUserChangeReason, PublishedOxyUserChangeReason, OxyUserInvalidationEvent, } from './userInvalidation';
25
25
  export { recommendationExcludeTypeSchema, recommendationBoostSchema, recommendationSignalWeightsSchema, recommendationRequestSchema, recommendationCountSchema, recommendationItemSchema, recommendationResponseSchema, appEndorsementInputSchema, appInterestInputSchema, appUserSignalIngestSchema, appAffinityEventTypeSchema, appAffinityEventSchema, appAffinityEventsIngestSchema, } from './recommendations';
26
26
  export type { RecommendationExcludeType, RecommendationBoost, RecommendationSignalWeights, RecommendationRequest, RecommendationCount, RecommendationItem, RecommendationResponse, AppEndorsementInput, AppInterestInput, AppUserSignalIngest, AppAffinityEventType, AppAffinityEvent, AppAffinityEventsIngest, } from './recommendations';
27
- export { verificationMethodSchema, didServiceSchema, didDocumentSchema, signedRecordEnvelopeSchema, verifiedDomainSchema, domainVerificationRequestSchema, domainVerificationInstructionsSchema, authMethodEntrySchema, authMethodsResponseSchema, exportAttestationSchema, exportUsageReceiptSchema, exportLedgerEntrySchema, exportUsageReservationSchema, exportFinancialSectionSchema, exportBundleSchema, } from './identity';
28
- export type { VerificationMethod, Secp256k1VerificationMethod, MultikeyVerificationMethod, DidService, DidDocument, SignedRecordEnvelope, VerifiedDomain, DomainVerificationRequest, DomainVerificationInstructions, AuthMethodEntry, AuthMethodsResponse, ExportAttestation, ExportUsageReceipt, ExportLedgerEntry, ExportUsageReservation, ExportFinancialSection, ExportBundle, } from './identity';
27
+ export { verificationMethodSchema, didServiceSchema, didDocumentSchema, signedRecordEnvelopeSchema, verifiedDomainSchema, domainVerificationRequestSchema, resourceDomainOwnershipRequestSchema, resourceDomainOwnershipResponseSchema, domainVerificationInstructionsSchema, authMethodEntrySchema, authMethodsResponseSchema, exportAttestationSchema, exportUsageReceiptSchema, exportLedgerEntrySchema, exportUsageReservationSchema, exportFinancialSectionSchema, exportBundleSchema, } from './identity';
28
+ export type { VerificationMethod, Secp256k1VerificationMethod, MultikeyVerificationMethod, DidService, DidDocument, SignedRecordEnvelope, VerifiedDomain, DomainVerificationRequest, ResourceDomainOwnershipRequest, ResourceDomainOwnershipResponse, DomainVerificationInstructions, AuthMethodEntry, AuthMethodsResponse, ExportAttestation, ExportUsageReceipt, ExportLedgerEntry, ExportUsageReservation, ExportFinancialSection, ExportBundle, } from './identity';
29
29
  export { oxySignedRecordTypeSchema, } from './oxyRecordTypes';
30
30
  export type { OxySignedRecordType } from './oxyRecordTypes';
31
31
  export { chainHeadResponseSchema, logPageResponseSchema, } from './protocol';
@@ -36,15 +36,13 @@ export { REPUTATION_CATEGORIES, REPUTATION_TRANSACTION_STATUSES, TRUST_TIERS, RE
36
36
  export type { ReputationCategory, ReputationTransactionStatus, TrustTier, ReputationTargetEntityType, ReputationDisputeStatus, ReputationInfluenceContext, ReputationTransaction, ReputationBalanceBreakdown, ReputationInfluence, ReputationReliability, ReputationBalanceSummary, ReputationBalance, ReputationBalanceView, ReputationDispute, ReputationRule, ReputationLeaderboardUser, ReputationLeaderboardEntry, ReputationInfluenceResult, ReverseReputationTransactionResult, AwardReputationInput, CreateReputationDisputeInput, ResolveReputationDisputeInput, UpsertReputationRuleInput, UpsertReputationRuleRequest, ReverseReputationTransactionInput, } from './reputation';
37
37
  export { MODERATION_SEVERITIES, MODERATION_FINDING_SCOPES, MODERATION_ATTRIBUTIONS, MODERATION_DECISION_STATUSES, MODERATION_EFFECT_TYPES, MODERATION_EFFECT_STATUSES, MODERATION_EFFECT_SKIP_REASONS, CONDUCT_STRIKE_STATUSES, CONDUCT_STANDINGS, CONTRIBUTION_TIERS, PERSONHOOD_STATUSES, IDENTITY_BINDING_TYPES, IDENTITY_BINDING_STATUSES, APPLICATION_MODERATION_STANDINGS, moderationSeveritySchema, moderationFindingScopeSchema, moderationAttributionSchema, moderationDecisionStatusSchema, moderationEffectTypeSchema, moderationEffectStatusSchema, moderationEffectSkipReasonSchema, conductStrikeStatusSchema, conductStandingSchema, contributionTierSchema, personhoodStatusSchema, identityBindingTypeSchema, identityBindingStatusSchema, applicationModerationStandingSchema, moderationFindingSchema, moderationDecisionEventSubjectSchema, moderationPolicyVersionsSchema, moderationDecisionEventSchema, finalizeModerationDecisionSchema, reverseModerationEffectSchema, moderationEffectSchema, applyModerationDecisionResultSchema, reverseModerationEffectResultSchema, registerIdentityBindingSchema, identityBindingSchema, reputationPersonhoodSchema, reputationContributionSchema, reputationConductSchema, reputationReportingSchema, reputationReviewingSchema, reputationContextualInfluenceSchema, applicationModerationTrustSchema, } from './moderationReputation';
38
38
  export type { ModerationSeverity, ModerationFindingScope, ModerationAttribution, ModerationDecisionStatus, ModerationEffectType, ModerationEffectStatus, ModerationEffectSkipReason, ConductStrikeStatus, ConductStanding, ContributionTier, PersonhoodStatusValue, IdentityBindingType, IdentityBindingStatus, ApplicationModerationStanding, ModerationFinding, ModerationDecisionEventSubject, ModerationPolicyVersions, ModerationDecisionEvent, FinalizeModerationDecisionInput, ReverseModerationEffectInput, ModerationEffect, ApplyModerationDecisionResult, ReverseModerationEffectResult, RegisterIdentityBindingInput, IdentityBinding, ReputationPersonhood, ReputationContribution, ReputationConduct, ReputationReporting, ReputationReviewing, ReputationContextualInfluence, ApplicationModerationTrust, } from './moderationReputation';
39
- export { linkPreviewSchema, linkPreviewBatchRequestSchema, linkPreviewBatchResponseSchema, linkPreviewResponseSchema, } from './links';
40
- export type { LinkPreviewStatus, LinkPreview, LinkPreviewBatchRequest, LinkPreviewBatchResponse, } from './links';
41
39
  export type { FollowTargetKind, FollowState, FollowEffectiveState, FollowApplicationMode, FollowTarget, FollowRecord, FollowStatus, FollowMutation, UnfollowMutation, FollowListPage, FollowOptions, } from './followGraph';
42
40
  export { sessionAccountSchema, deviceSessionStateSchema, activeTokenSchema, deviceSessionSyncSchema, deviceTokenMintRequestSchema, deviceTokenMintResponseSchema, deviceBackgroundCredentialResponseSchema, deviceBackgroundTokenRequestSchema, deviceBackgroundTokenResponseSchema, SESSION_ACCOUNTS_CHANGED_EVENT, sessionAccountsChangedReasonSchema, sessionAccountsChangedEventSchema, } from './deviceSession';
43
41
  export type { SessionAccount, DeviceSessionState, ActiveToken, DeviceSessionSync, DeviceTokenMintRequest, DeviceTokenMintResponse, DeviceBackgroundCredentialResponse, DeviceBackgroundTokenRequest, DeviceBackgroundTokenResponse, SessionAccountsChangedReason, SessionAccountsChangedEvent, } from './deviceSession';
44
42
  export { deviceContextRelationshipSchema, deviceDirectoryProfileSchema, deviceAccountContextSchema, devicePrincipalSchema, deviceDirectorySchema, deviceActivateRequestSchema, deviceActivateResponseSchema, deviceDirectorySyncSchema, } from './deviceDirectory';
45
43
  export type { DeviceContextRelationship, DeviceDirectoryProfile, DeviceAccountContext, DevicePrincipal, DeviceDirectory, DeviceActivateRequest, DeviceActivateResponse, DeviceDirectorySync, } from './deviceDirectory';
46
- export { oauthConsentDecisionSchema, oauthAuthorizeCodeResponseSchema } from './oauth';
47
- export type { OauthConsentDecision, OauthAuthorizeCodeResponse } from './oauth';
44
+ export { oauthConsentDecisionSchema, oauthAuthorizeCodeResponseSchema, mcpOAuthClientApplicationSchema, mcpOAuthWriteActionSchema, mcpOAuthConsentContextSchema, mcpOAuthClientInfoResponseSchema, mcpOAuthConsentResponseSchema, } from './oauth';
45
+ export type { OauthConsentDecision, OauthAuthorizeCodeResponse, McpOAuthClientApplication, McpOAuthWriteAction, McpOAuthConsentContext, McpOAuthClientInfoResponse, McpOAuthConsentResponse, } from './oauth';
48
46
  export { BROWSER_HUB_COOKIE_NAME, BROWSER_HUB_COOKIE_ATTRIBUTES, BROWSER_HUB_HANDLE_TTL_MS, browserHubHandleSchema, browserHubHandleRequestSchema, browserHubHandleResponseSchema, browserHubResolveResponseSchema, browserHubErrorSchema, browserHubRevokeResponseSchema, hubSessionSchema, hubClaimRequestSchema, hubActivateRequestSchema, hubAuthorizeRequestSchema, hubAuthorizeResultSchema, } from './browserHub';
49
47
  export type { BrowserHubHandleRequest, BrowserHubHandleResponse, BrowserHubResolveResponse, BrowserHubError, BrowserHubRevokeResponse, HubSession, HubClaimRequest, HubActivateRequest, HubAuthorizeRequest, HubAuthorizeResult, } from './browserHub';
50
48
  export { loginResultSchema, } from './deviceBoot';
@@ -94,9 +92,10 @@ export { BILLING_MODES, billingModeSchema, BILLING_PROFILE_STATUSES, billingProf
94
92
  export type { BillingMode, BillingProfileStatus, AutoRecharge, BillingProfile, AccountBillingState, BillingInvoiceStatus, BillingInvoice, ExternalPaymentProvider, ExternalPaymentKind, ExternalPayment, AutoRechargeStatus, AutoRechargeAttempt, ReconciliationDiscrepancyKind, ReconciliationRunStatus, ReconciliationDiscrepancy, ReconciliationRun, ReconciliationReport, } from './inference/accountBilling';
95
93
  export { PRODUCT_PLAN_STATUSES, productPlanStatusSchema, LIVE_PRODUCT_PLAN_STATUSES, planAllowanceSchema, productPlanSchema, payAsYouGoEntitlementSchema, COST_CENTER_STATUSES, costCenterStatusSchema, costCenterSchema, costCenterSpendSchema, productEntitlementSchema, } from './inference/entitlement';
96
94
  export type { ProductPlanStatus, PlanAllowance, ProductPlan, PayAsYouGoEntitlement, CostCenterStatus, CostCenter, CostCenterSpend, ProductEntitlement, } from './inference/entitlement';
97
- export { AUTONOMY_LEVELS, CAPABILITY_PACKAGES, autonomyLevelSchema, capabilityPackageSchema, actorRefSchema, resourceRefSchema, toolGrantOverrideSchema, grantLimitSchema, executionAuthorizationRefSchema, capabilityCoordinatorSchema, delegationGrantSchema, automationTriggerSchema, automationActorSelectionSchema, automationDataFlowSchema, automationDefinitionSchema, capabilityTicketClaimsSchema, policyDecisionSchema, auditResultSchema, auditEventSchema, catalogToolSchema, catalogEventSchema, appCapabilityCatalogSchema, catalogRegistrationSchema, normalizedAppEventSchema, } from './agency';
98
- export type { AutonomyLevel, CapabilityPackage, ActorRef, ResourceRef, ToolGrantOverride, GrantLimit, ExecutionAuthorizationRef, CapabilityCoordinator, DelegationGrant, AutomationTrigger, AutomationActorSelection, AutomationDefinition, CapabilityTicketClaims, PolicyDecision, AuditEvent, CatalogTool, CatalogEvent, AppCapabilityCatalog, CatalogRegistration, NormalizedAppEvent, } from './agency';
95
+ export { AUTONOMY_LEVELS, CAPABILITY_PACKAGES, autonomyLevelSchema, capabilityPackageSchema, actorRefSchema, resourceRefSchema, toolGrantOverrideSchema, grantLimitSchema, capabilityCatalogBindingSchema, executionAuthorizationRefSchema, capabilityCoordinatorSchema, delegationGrantSchema, automationTriggerSchema, automationActorSelectionSchema, automationDataFlowSchema, automationDefinitionSchema, capabilityTicketClaimsSchema, policyDecisionSchema, auditResultSchema, auditEventSchema, catalogToolSchema, catalogEventSchema, appCapabilityCatalogSchema, catalogRegistrationSchema, normalizedAppEventSchema, } from './agency';
96
+ export type { AutonomyLevel, CapabilityPackage, ActorRef, ResourceRef, ToolGrantOverride, GrantLimit, CapabilityCatalogBinding, ExecutionAuthorizationRef, CapabilityCoordinator, DelegationGrant, AutomationTrigger, AutomationActorSelection, AutomationDefinition, CapabilityTicketClaims, PolicyDecision, AuditEvent, CatalogTool, CatalogEvent, AppCapabilityCatalog, CatalogRegistration, NormalizedAppEvent, } from './agency';
99
97
  export { emailContextAddressSchema, emailContextMailboxSchema, emailContextMessageSchema, emailAgentContextSchema, } from './emailAgentContext';
100
98
  export type { EmailContextAddress, EmailContextMailbox, EmailContextMessage, EmailAgentContext, } from './emailAgentContext';
101
99
  export { inboxComposeRequestSchema, inboxDailyBriefRequestSchema, inboxNaturalSearchRequestSchema, inboxMessageInferenceParamsSchema, inboxInferenceTextResponseSchema, inboxNaturalSearchResponseSchema, inboxSmartRepliesResponseSchema, inboxThreadSummaryResponseSchema, inboxInferenceStreamEventSchema, } from './inference/inbox';
102
100
  export type { InboxComposeRequest, InboxDailyBriefRequest, InboxInferenceTextResponse, InboxNaturalSearchResponse, InboxSmartRepliesResponse, InboxThreadSummaryResponse, InboxInferenceStreamEvent, } from './inference/inbox';
101
+ export * from './externalIdentity';