@oxy.so/contracts 4.14.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/index.js +15 -9
- package/dist/cjs/inference/money.js +10 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/cjs/signIn.js +40 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/inference/money.js +10 -0
- package/dist/esm/inference/version.js +1 -1
- package/dist/esm/signIn.js +38 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +22 -22
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +86 -86
- package/dist/types/deviceDirectory.d.ts +180 -180
- package/dist/types/email/messages.d.ts +78 -78
- package/dist/types/externalIdentity.d.ts +59 -59
- package/dist/types/index.d.ts +2 -2
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +19 -19
- package/dist/types/inference/decisions.d.ts +47 -47
- package/dist/types/inference/economics.d.ts +11 -11
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/money.d.ts +17 -8
- package/dist/types/inference/priceVersion.d.ts +20 -20
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +50 -50
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +11 -11
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +30 -30
- package/dist/types/inference/usage.d.ts +36 -36
- package/dist/types/inference/version.d.ts +1 -1
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +24 -24
- package/dist/types/products/plans.d.ts +6 -6
- package/dist/types/recommendations.d.ts +30 -30
- package/dist/types/safety.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/signIn.d.ts +82 -1
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +108 -108
- package/package.json +1 -1
|
@@ -71,7 +71,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
71
71
|
did: z.ZodOptional<z.ZodString>;
|
|
72
72
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
73
73
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
74
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
74
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
75
75
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
76
76
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
77
77
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
@@ -80,21 +80,21 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
80
80
|
allowed: z.ZodBoolean;
|
|
81
81
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
82
82
|
}, "strict", z.ZodTypeAny, {
|
|
83
|
-
allowed: boolean;
|
|
84
83
|
expiresAt: string | null;
|
|
85
|
-
}, {
|
|
86
84
|
allowed: boolean;
|
|
85
|
+
}, {
|
|
87
86
|
expiresAt: string | null;
|
|
87
|
+
allowed: boolean;
|
|
88
88
|
}>;
|
|
89
89
|
}, "strict", z.ZodTypeAny, {
|
|
90
90
|
mentionMono: {
|
|
91
|
-
allowed: boolean;
|
|
92
91
|
expiresAt: string | null;
|
|
92
|
+
allowed: boolean;
|
|
93
93
|
};
|
|
94
94
|
}, {
|
|
95
95
|
mentionMono: {
|
|
96
|
-
allowed: boolean;
|
|
97
96
|
expiresAt: string | null;
|
|
97
|
+
allowed: boolean;
|
|
98
98
|
};
|
|
99
99
|
}>>;
|
|
100
100
|
} & {
|
|
@@ -141,7 +141,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
141
141
|
did: z.ZodOptional<z.ZodString>;
|
|
142
142
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
143
143
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
144
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
144
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
145
145
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
146
146
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
147
147
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
@@ -150,21 +150,21 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
150
150
|
allowed: z.ZodBoolean;
|
|
151
151
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
152
152
|
}, "strict", z.ZodTypeAny, {
|
|
153
|
-
allowed: boolean;
|
|
154
153
|
expiresAt: string | null;
|
|
155
|
-
}, {
|
|
156
154
|
allowed: boolean;
|
|
155
|
+
}, {
|
|
157
156
|
expiresAt: string | null;
|
|
157
|
+
allowed: boolean;
|
|
158
158
|
}>;
|
|
159
159
|
}, "strict", z.ZodTypeAny, {
|
|
160
160
|
mentionMono: {
|
|
161
|
-
allowed: boolean;
|
|
162
161
|
expiresAt: string | null;
|
|
162
|
+
allowed: boolean;
|
|
163
163
|
};
|
|
164
164
|
}, {
|
|
165
165
|
mentionMono: {
|
|
166
|
-
allowed: boolean;
|
|
167
166
|
expiresAt: string | null;
|
|
167
|
+
allowed: boolean;
|
|
168
168
|
};
|
|
169
169
|
}>>;
|
|
170
170
|
} & {
|
|
@@ -211,7 +211,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
211
211
|
did: z.ZodOptional<z.ZodString>;
|
|
212
212
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
213
213
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
214
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
214
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
215
215
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
216
216
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
217
217
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
@@ -220,21 +220,21 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
220
220
|
allowed: z.ZodBoolean;
|
|
221
221
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
222
222
|
}, "strict", z.ZodTypeAny, {
|
|
223
|
-
allowed: boolean;
|
|
224
223
|
expiresAt: string | null;
|
|
225
|
-
}, {
|
|
226
224
|
allowed: boolean;
|
|
225
|
+
}, {
|
|
227
226
|
expiresAt: string | null;
|
|
227
|
+
allowed: boolean;
|
|
228
228
|
}>;
|
|
229
229
|
}, "strict", z.ZodTypeAny, {
|
|
230
230
|
mentionMono: {
|
|
231
|
-
allowed: boolean;
|
|
232
231
|
expiresAt: string | null;
|
|
232
|
+
allowed: boolean;
|
|
233
233
|
};
|
|
234
234
|
}, {
|
|
235
235
|
mentionMono: {
|
|
236
|
-
allowed: boolean;
|
|
237
236
|
expiresAt: string | null;
|
|
237
|
+
allowed: boolean;
|
|
238
238
|
};
|
|
239
239
|
}>>;
|
|
240
240
|
} & {
|
|
@@ -316,8 +316,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
316
316
|
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
318
|
user: {
|
|
319
|
-
username: string;
|
|
320
319
|
name: import("./userResponse").UserNameResponse;
|
|
320
|
+
username: string;
|
|
321
321
|
id: string;
|
|
322
322
|
externalIdentities: {
|
|
323
323
|
canonicalAcct: string;
|
|
@@ -328,30 +328,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
328
328
|
sourceUserId: string;
|
|
329
329
|
}[];
|
|
330
330
|
redirectedUserIds: string[];
|
|
331
|
+
email?: string | undefined;
|
|
331
332
|
color?: string | null | undefined;
|
|
332
|
-
kind?: "
|
|
333
|
-
bio?: string | undefined;
|
|
333
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
334
334
|
avatar?: string | null | undefined;
|
|
335
|
-
|
|
335
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
336
|
+
bio?: string | undefined;
|
|
337
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
336
338
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
337
|
-
email?: string | undefined;
|
|
338
|
-
_id?: string | undefined;
|
|
339
339
|
publicKey?: string | undefined;
|
|
340
|
+
verified?: boolean | undefined;
|
|
341
|
+
did?: string | undefined;
|
|
342
|
+
_id?: string | undefined;
|
|
340
343
|
phone?: string | undefined;
|
|
341
344
|
address?: string | undefined;
|
|
342
345
|
birthday?: string | undefined;
|
|
343
346
|
dateOfBirth?: string | undefined;
|
|
344
347
|
isAdult?: boolean | undefined;
|
|
345
|
-
verified?: boolean | undefined;
|
|
346
348
|
languages?: string[] | undefined;
|
|
347
|
-
did?: string | undefined;
|
|
348
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
349
349
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
350
350
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
351
351
|
personalization?: {
|
|
352
352
|
mentionMono: {
|
|
353
|
-
allowed: boolean;
|
|
354
353
|
expiresAt: string | null;
|
|
354
|
+
allowed: boolean;
|
|
355
355
|
};
|
|
356
356
|
} | undefined;
|
|
357
357
|
} & {
|
|
@@ -377,8 +377,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
377
377
|
};
|
|
378
378
|
}, {
|
|
379
379
|
user: {
|
|
380
|
-
username: string;
|
|
381
380
|
name: import("./userResponse").UserNameResponse;
|
|
381
|
+
username: string;
|
|
382
382
|
id: string;
|
|
383
383
|
externalIdentities: {
|
|
384
384
|
canonicalAcct: string;
|
|
@@ -389,30 +389,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
389
389
|
sourceUserId: string;
|
|
390
390
|
}[];
|
|
391
391
|
redirectedUserIds: string[];
|
|
392
|
+
email?: string | undefined;
|
|
392
393
|
color?: string | null | undefined;
|
|
393
|
-
kind?: "
|
|
394
|
-
bio?: string | undefined;
|
|
394
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
395
395
|
avatar?: string | null | undefined;
|
|
396
|
-
|
|
396
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
397
|
+
bio?: string | undefined;
|
|
398
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
397
399
|
character?: unknown;
|
|
398
|
-
email?: string | undefined;
|
|
399
|
-
_id?: string | undefined;
|
|
400
400
|
publicKey?: string | undefined;
|
|
401
|
+
verified?: boolean | undefined;
|
|
402
|
+
did?: string | undefined;
|
|
403
|
+
_id?: string | undefined;
|
|
401
404
|
phone?: string | undefined;
|
|
402
405
|
address?: string | undefined;
|
|
403
406
|
birthday?: string | undefined;
|
|
404
407
|
dateOfBirth?: string | undefined;
|
|
405
408
|
isAdult?: boolean | undefined;
|
|
406
|
-
verified?: boolean | undefined;
|
|
407
409
|
languages?: string[] | undefined;
|
|
408
|
-
did?: string | undefined;
|
|
409
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
410
410
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
411
411
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
412
412
|
personalization?: {
|
|
413
413
|
mentionMono: {
|
|
414
|
-
allowed: boolean;
|
|
415
414
|
expiresAt: string | null;
|
|
415
|
+
allowed: boolean;
|
|
416
416
|
};
|
|
417
417
|
} | undefined;
|
|
418
418
|
} & {
|
|
@@ -438,8 +438,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
438
438
|
};
|
|
439
439
|
}>, {
|
|
440
440
|
user: {
|
|
441
|
-
username: string;
|
|
442
441
|
name: import("./userResponse").UserNameResponse;
|
|
442
|
+
username: string;
|
|
443
443
|
id: string;
|
|
444
444
|
externalIdentities: {
|
|
445
445
|
canonicalAcct: string;
|
|
@@ -450,30 +450,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
450
450
|
sourceUserId: string;
|
|
451
451
|
}[];
|
|
452
452
|
redirectedUserIds: string[];
|
|
453
|
+
email?: string | undefined;
|
|
453
454
|
color?: string | null | undefined;
|
|
454
|
-
kind?: "
|
|
455
|
-
bio?: string | undefined;
|
|
455
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
456
456
|
avatar?: string | null | undefined;
|
|
457
|
-
|
|
457
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
458
|
+
bio?: string | undefined;
|
|
459
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
458
460
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
459
|
-
email?: string | undefined;
|
|
460
|
-
_id?: string | undefined;
|
|
461
461
|
publicKey?: string | undefined;
|
|
462
|
+
verified?: boolean | undefined;
|
|
463
|
+
did?: string | undefined;
|
|
464
|
+
_id?: string | undefined;
|
|
462
465
|
phone?: string | undefined;
|
|
463
466
|
address?: string | undefined;
|
|
464
467
|
birthday?: string | undefined;
|
|
465
468
|
dateOfBirth?: string | undefined;
|
|
466
469
|
isAdult?: boolean | undefined;
|
|
467
|
-
verified?: boolean | undefined;
|
|
468
470
|
languages?: string[] | undefined;
|
|
469
|
-
did?: string | undefined;
|
|
470
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
471
471
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
472
472
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
473
473
|
personalization?: {
|
|
474
474
|
mentionMono: {
|
|
475
|
-
allowed: boolean;
|
|
476
475
|
expiresAt: string | null;
|
|
476
|
+
allowed: boolean;
|
|
477
477
|
};
|
|
478
478
|
} | undefined;
|
|
479
479
|
} & {
|
|
@@ -499,8 +499,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
499
499
|
};
|
|
500
500
|
}, {
|
|
501
501
|
user: {
|
|
502
|
-
username: string;
|
|
503
502
|
name: import("./userResponse").UserNameResponse;
|
|
503
|
+
username: string;
|
|
504
504
|
id: string;
|
|
505
505
|
externalIdentities: {
|
|
506
506
|
canonicalAcct: string;
|
|
@@ -511,30 +511,30 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
511
511
|
sourceUserId: string;
|
|
512
512
|
}[];
|
|
513
513
|
redirectedUserIds: string[];
|
|
514
|
+
email?: string | undefined;
|
|
514
515
|
color?: string | null | undefined;
|
|
515
|
-
kind?: "
|
|
516
|
-
bio?: string | undefined;
|
|
516
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
517
517
|
avatar?: string | null | undefined;
|
|
518
|
-
|
|
518
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
519
|
+
bio?: string | undefined;
|
|
520
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
519
521
|
character?: unknown;
|
|
520
|
-
email?: string | undefined;
|
|
521
|
-
_id?: string | undefined;
|
|
522
522
|
publicKey?: string | undefined;
|
|
523
|
+
verified?: boolean | undefined;
|
|
524
|
+
did?: string | undefined;
|
|
525
|
+
_id?: string | undefined;
|
|
523
526
|
phone?: string | undefined;
|
|
524
527
|
address?: string | undefined;
|
|
525
528
|
birthday?: string | undefined;
|
|
526
529
|
dateOfBirth?: string | undefined;
|
|
527
530
|
isAdult?: boolean | undefined;
|
|
528
|
-
verified?: boolean | undefined;
|
|
529
531
|
languages?: string[] | undefined;
|
|
530
|
-
did?: string | undefined;
|
|
531
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
532
532
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
533
533
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
534
534
|
personalization?: {
|
|
535
535
|
mentionMono: {
|
|
536
|
-
allowed: boolean;
|
|
537
536
|
expiresAt: string | null;
|
|
537
|
+
allowed: boolean;
|
|
538
538
|
};
|
|
539
539
|
} | undefined;
|
|
540
540
|
} & {
|
|
@@ -595,6 +595,7 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
595
595
|
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
597
|
userId: string | null;
|
|
598
|
+
identifier: string;
|
|
598
599
|
externalIdentities: {
|
|
599
600
|
canonicalAcct: string;
|
|
600
601
|
network: string;
|
|
@@ -604,9 +605,9 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
604
605
|
sourceUserId: string;
|
|
605
606
|
}[];
|
|
606
607
|
redirectedUserIds: string[];
|
|
607
|
-
identifier: string;
|
|
608
608
|
}, {
|
|
609
609
|
userId: string | null;
|
|
610
|
+
identifier: string;
|
|
610
611
|
externalIdentities: {
|
|
611
612
|
canonicalAcct: string;
|
|
612
613
|
network: string;
|
|
@@ -616,11 +617,11 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
616
617
|
sourceUserId: string;
|
|
617
618
|
}[];
|
|
618
619
|
redirectedUserIds: string[];
|
|
619
|
-
identifier: string;
|
|
620
620
|
}>, "many">;
|
|
621
621
|
}, "strip", z.ZodTypeAny, {
|
|
622
622
|
identities: {
|
|
623
623
|
userId: string | null;
|
|
624
|
+
identifier: string;
|
|
624
625
|
externalIdentities: {
|
|
625
626
|
canonicalAcct: string;
|
|
626
627
|
network: string;
|
|
@@ -630,11 +631,11 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
630
631
|
sourceUserId: string;
|
|
631
632
|
}[];
|
|
632
633
|
redirectedUserIds: string[];
|
|
633
|
-
identifier: string;
|
|
634
634
|
}[];
|
|
635
635
|
}, {
|
|
636
636
|
identities: {
|
|
637
637
|
userId: string | null;
|
|
638
|
+
identifier: string;
|
|
638
639
|
externalIdentities: {
|
|
639
640
|
canonicalAcct: string;
|
|
640
641
|
network: string;
|
|
@@ -644,7 +645,6 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
644
645
|
sourceUserId: string;
|
|
645
646
|
}[];
|
|
646
647
|
redirectedUserIds: string[];
|
|
647
|
-
identifier: string;
|
|
648
648
|
}[];
|
|
649
649
|
}>;
|
|
650
650
|
export type ExternalIdentityProtocol = z.infer<typeof externalIdentityProtocolSchema>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -58,8 +58,8 @@ export type { IdentityProofAction, IdentityErrorCode, IdentityProofClaims, Ident
|
|
|
58
58
|
export { updatePlatformSchema, updateStatusSchema, updateAssetStatusSchema, sha256HexSchema, channelNameSchema, runtimeVersionSchema, rolloutPercentSchema, assetInitItemSchema, assetInitRequestSchema, assetUploadTicketSchema, assetInitResponseSchema, assetCompleteRequestSchema, assetCompleteResultItemSchema, assetCompleteResponseSchema, updateAssetRefSchema, createUpdateRequestSchema, updateSchema, createUpdateResponseSchema, rollbackToEmbeddedEntrySchema, channelSchema, channelListResponseSchema, updateListResponseSchema, rollbackRequestSchema, rollbackToEmbeddedRequestSchema, promoteRequestSchema, updateRolloutPatchSchema, } from './updates';
|
|
59
59
|
export type { UpdatePlatform, UpdateStatus, UpdateAssetStatus, AssetInitItem, AssetInitRequest, AssetUploadTicket, AssetInitResponse, AssetCompleteRequest, AssetCompleteResultItem, AssetCompleteResponse, UpdateAssetRef, CreateUpdateRequest, Update, CreateUpdateResponse, RollbackToEmbeddedEntry, Channel, ChannelListResponse, UpdateListResponse, RollbackRequest, RollbackToEmbeddedRequest, PromoteRequest, UpdateRolloutPatch, } from './updates';
|
|
60
60
|
export { EMAIL_VERIFICATION_PURPOSES, EMAIL_CODE_LENGTH, EMAIL_CODE_TTL_MS, EMAIL_CODE_MAX_ATTEMPTS, EMAIL_TICKET_TTL_MS, EMAIL_VERIFICATION_ERROR_CODES, emailAddressSchema, emailTicketSchema, emailVerificationStartRequestSchema, emailVerificationStartResponseSchema, emailVerificationConfirmRequestSchema, emailVerificationConfirmResponseSchema, } from './accountEmail';
|
|
61
|
-
export { EMAIL_SIGNIN_LINK_TTL_MS, SIGNIN_SECOND_FACTOR_TTL_MS, SIGNIN_SECOND_FACTOR_MAX_ATTEMPTS, PASSWORD_MIN_LENGTH, PASSWORD_MAX_LENGTH, TOTP_DIGITS, TOTP_PERIOD_SECONDS, TOTP_BACKUP_CODE_COUNT, SIGN_IN_ERROR_CODES, signInIdentifierSchema, passwordInputSchema, newPasswordSchema, secondFactorCodeSchema, emailSignInStartRequestSchema, emailSignInStartResponseSchema, emailSignInConfirmRequestSchema, emailSignInCodeSchema, normalizeEmailSignInCode, EMAIL_SIGNIN_LONG_CODE_ALPHABET, EMAIL_SIGNIN_LONG_CODE_LENGTH, emailSignInCollectRequestSchema, emailSignInLinkRequestSchema, emailSignInLinkResponseSchema, emailSignInPendingSchema, passwordSignInRequestSchema, secondFactorSignInRequestSchema, secondFactorRequiredSchema, signUpRequestSchema, isSecondFactorRequired, reauthProofSchema, emailReauthProofSchema, REAUTH_ACTIONS, reauthEmailStartRequestSchema, passwordSetRequestSchema, signInMethodsSchema, totpEnrollResponseSchema, totpConfirmRequestSchema, totpReauthRequestSchema, totpBackupCodesResponseSchema, } from './signIn';
|
|
62
|
-
export type { EmailSignInStartRequest, EmailSignInStartResponse, EmailSignInConfirmRequest, EmailSignInCollectRequest, EmailSignInLinkRequest, EmailSignInLinkResponse, EmailSignInPending, PasswordSignInRequest, SecondFactorSignInRequest, SecondFactorRequired, SignInStepResult, SignUpRequest, ReauthProof, EmailReauthProof, ReauthAction, ReauthEmailStartRequest, PasswordSetRequest, SignInMethods, TotpEnrollResponse, TotpConfirmRequest, TotpReauthRequest, TotpBackupCodesResponse, SignInErrorCode, } from './signIn';
|
|
61
|
+
export { EMAIL_SIGNIN_LINK_TTL_MS, SIGNIN_SECOND_FACTOR_TTL_MS, SIGNIN_SECOND_FACTOR_MAX_ATTEMPTS, PASSWORD_MIN_LENGTH, PASSWORD_MAX_LENGTH, TOTP_DIGITS, TOTP_PERIOD_SECONDS, TOTP_BACKUP_CODE_COUNT, SIGN_IN_ERROR_CODES, signInIdentifierSchema, passwordInputSchema, newPasswordSchema, secondFactorCodeSchema, emailSignInStartRequestSchema, emailSignInStartResponseSchema, emailSignInConfirmRequestSchema, emailSignInCodeSchema, normalizeEmailSignInCode, EMAIL_SIGNIN_LONG_CODE_ALPHABET, EMAIL_SIGNIN_LONG_CODE_LENGTH, emailSignInCollectRequestSchema, emailSignInLinkRequestSchema, emailSignInLinkResponseSchema, emailSignInPendingSchema, EMAIL_SIGNIN_CHOICE_TTL_MS, EMAIL_ACCOUNTS_MAX, emailSignInAccountOptionSchema, emailSignInChooseAccountSchema, emailSignInChooseRequestSchema, isEmailSignInChooseAccount, passwordSignInRequestSchema, secondFactorSignInRequestSchema, secondFactorRequiredSchema, signUpRequestSchema, isSecondFactorRequired, reauthProofSchema, emailReauthProofSchema, REAUTH_ACTIONS, reauthEmailStartRequestSchema, passwordSetRequestSchema, signInMethodsSchema, totpEnrollResponseSchema, totpConfirmRequestSchema, totpReauthRequestSchema, totpBackupCodesResponseSchema, } from './signIn';
|
|
62
|
+
export type { EmailSignInStartRequest, EmailSignInStartResponse, EmailSignInConfirmRequest, EmailSignInCollectRequest, EmailSignInLinkRequest, EmailSignInLinkResponse, EmailSignInPending, EmailSignInAccountOption, EmailSignInChooseAccount, EmailSignInChooseRequest, EmailSignInStepResult, PasswordSignInRequest, SecondFactorSignInRequest, SecondFactorRequired, SignInStepResult, SignUpRequest, ReauthProof, EmailReauthProof, ReauthAction, ReauthEmailStartRequest, PasswordSetRequest, SignInMethods, TotpEnrollResponse, TotpConfirmRequest, TotpReauthRequest, TotpBackupCodesResponse, SignInErrorCode, } from './signIn';
|
|
63
63
|
export { IDENTITY_LINK_STATUSES, IDENTITY_LINK_QR_PREFIX, identityLinkIdSchema, buildIdentityLinkQrPayload, parseIdentityLinkQrPayload, identityLinkCreateResponseSchema, identityLinkStateSchema, identityLinkProofRequestSchema, identityLinkCompleteRequestSchema, } from './identityLink';
|
|
64
64
|
export type { IdentityLinkStatus, IdentityLinkCreateResponse, IdentityLinkState, IdentityLinkProofRequest, IdentityLinkCompleteRequest, } from './identityLink';
|
|
65
65
|
export type { EmailVerificationPurpose, EmailVerificationStartRequest, EmailVerificationStartResponse, EmailVerificationConfirmRequest, EmailVerificationConfirmResponse, EmailVerificationErrorCode, } from './accountEmail';
|