@oxy.so/contracts 4.14.0 → 4.15.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 +2 -1
- package/dist/cjs/products/billing.js +1 -0
- package/dist/cjs/products/checkout.js +14 -1
- package/dist/cjs/products/plans.js +18 -2
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/products/billing.js +1 -0
- package/dist/esm/products/checkout.js +13 -0
- package/dist/esm/products/plans.js +17 -1
- package/dist/esm/userResponse.js +8 -1
- 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 +92 -59
- package/dist/types/index.d.ts +1 -1
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +12 -12
- package/dist/types/inference/decisions.d.ts +16 -16
- package/dist/types/inference/economics.d.ts +6 -6
- 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/priceVersion.d.ts +8 -8
- 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 +26 -26
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/inference/usage.d.ts +8 -8
- 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 +32 -24
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +108 -11
- 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/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +247 -111
- package/package.json +1 -1
|
@@ -71,30 +71,37 @@ 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
|
+
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">>>;
|
|
77
84
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
78
85
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
79
86
|
mentionMono: z.ZodObject<{
|
|
80
87
|
allowed: z.ZodBoolean;
|
|
81
88
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
82
89
|
}, "strict", z.ZodTypeAny, {
|
|
83
|
-
allowed: boolean;
|
|
84
90
|
expiresAt: string | null;
|
|
85
|
-
}, {
|
|
86
91
|
allowed: boolean;
|
|
92
|
+
}, {
|
|
87
93
|
expiresAt: string | null;
|
|
94
|
+
allowed: boolean;
|
|
88
95
|
}>;
|
|
89
96
|
}, "strict", z.ZodTypeAny, {
|
|
90
97
|
mentionMono: {
|
|
91
|
-
allowed: boolean;
|
|
92
98
|
expiresAt: string | null;
|
|
99
|
+
allowed: boolean;
|
|
93
100
|
};
|
|
94
101
|
}, {
|
|
95
102
|
mentionMono: {
|
|
96
|
-
allowed: boolean;
|
|
97
103
|
expiresAt: string | null;
|
|
104
|
+
allowed: boolean;
|
|
98
105
|
};
|
|
99
106
|
}>>;
|
|
100
107
|
} & {
|
|
@@ -141,30 +148,37 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
141
148
|
did: z.ZodOptional<z.ZodString>;
|
|
142
149
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
143
150
|
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">, ("
|
|
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">, ("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
152
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
146
153
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
154
|
+
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">>>;
|
|
147
161
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
148
162
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
149
163
|
mentionMono: z.ZodObject<{
|
|
150
164
|
allowed: z.ZodBoolean;
|
|
151
165
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
152
166
|
}, "strict", z.ZodTypeAny, {
|
|
153
|
-
allowed: boolean;
|
|
154
167
|
expiresAt: string | null;
|
|
155
|
-
}, {
|
|
156
168
|
allowed: boolean;
|
|
169
|
+
}, {
|
|
157
170
|
expiresAt: string | null;
|
|
171
|
+
allowed: boolean;
|
|
158
172
|
}>;
|
|
159
173
|
}, "strict", z.ZodTypeAny, {
|
|
160
174
|
mentionMono: {
|
|
161
|
-
allowed: boolean;
|
|
162
175
|
expiresAt: string | null;
|
|
176
|
+
allowed: boolean;
|
|
163
177
|
};
|
|
164
178
|
}, {
|
|
165
179
|
mentionMono: {
|
|
166
|
-
allowed: boolean;
|
|
167
180
|
expiresAt: string | null;
|
|
181
|
+
allowed: boolean;
|
|
168
182
|
};
|
|
169
183
|
}>>;
|
|
170
184
|
} & {
|
|
@@ -211,30 +225,37 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
211
225
|
did: z.ZodOptional<z.ZodString>;
|
|
212
226
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
213
227
|
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">, ("
|
|
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">, ("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
229
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
216
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">>>;
|
|
217
238
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
218
239
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
219
240
|
mentionMono: z.ZodObject<{
|
|
220
241
|
allowed: z.ZodBoolean;
|
|
221
242
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
222
243
|
}, "strict", z.ZodTypeAny, {
|
|
223
|
-
allowed: boolean;
|
|
224
244
|
expiresAt: string | null;
|
|
225
|
-
}, {
|
|
226
245
|
allowed: boolean;
|
|
246
|
+
}, {
|
|
227
247
|
expiresAt: string | null;
|
|
248
|
+
allowed: boolean;
|
|
228
249
|
}>;
|
|
229
250
|
}, "strict", z.ZodTypeAny, {
|
|
230
251
|
mentionMono: {
|
|
231
|
-
allowed: boolean;
|
|
232
252
|
expiresAt: string | null;
|
|
253
|
+
allowed: boolean;
|
|
233
254
|
};
|
|
234
255
|
}, {
|
|
235
256
|
mentionMono: {
|
|
236
|
-
allowed: boolean;
|
|
237
257
|
expiresAt: string | null;
|
|
258
|
+
allowed: boolean;
|
|
238
259
|
};
|
|
239
260
|
}>>;
|
|
240
261
|
} & {
|
|
@@ -316,8 +337,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
316
337
|
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
317
338
|
}, "strip", z.ZodTypeAny, {
|
|
318
339
|
user: {
|
|
319
|
-
username: string;
|
|
320
340
|
name: import("./userResponse").UserNameResponse;
|
|
341
|
+
username: string;
|
|
321
342
|
id: string;
|
|
322
343
|
externalIdentities: {
|
|
323
344
|
canonicalAcct: string;
|
|
@@ -328,30 +349,33 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
328
349
|
sourceUserId: string;
|
|
329
350
|
}[];
|
|
330
351
|
redirectedUserIds: string[];
|
|
352
|
+
email?: string | undefined;
|
|
331
353
|
color?: string | null | undefined;
|
|
332
|
-
kind?: "
|
|
333
|
-
bio?: string | undefined;
|
|
354
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
334
355
|
avatar?: string | null | undefined;
|
|
335
|
-
|
|
356
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
357
|
+
bio?: string | undefined;
|
|
358
|
+
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
359
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
337
|
-
email?: string | undefined;
|
|
338
|
-
_id?: string | undefined;
|
|
339
360
|
publicKey?: string | undefined;
|
|
361
|
+
verified?: boolean | undefined;
|
|
362
|
+
did?: string | undefined;
|
|
363
|
+
_id?: string | undefined;
|
|
340
364
|
phone?: string | undefined;
|
|
341
365
|
address?: string | undefined;
|
|
342
366
|
birthday?: string | undefined;
|
|
343
367
|
dateOfBirth?: string | undefined;
|
|
344
368
|
isAdult?: boolean | undefined;
|
|
345
|
-
verified?: boolean | undefined;
|
|
346
369
|
languages?: string[] | undefined;
|
|
347
|
-
did?: string | undefined;
|
|
348
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
349
370
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
371
|
+
userPreferences?: z.objectOutputType<{
|
|
372
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
373
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
350
374
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
351
375
|
personalization?: {
|
|
352
376
|
mentionMono: {
|
|
353
|
-
allowed: boolean;
|
|
354
377
|
expiresAt: string | null;
|
|
378
|
+
allowed: boolean;
|
|
355
379
|
};
|
|
356
380
|
} | undefined;
|
|
357
381
|
} & {
|
|
@@ -377,8 +401,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
377
401
|
};
|
|
378
402
|
}, {
|
|
379
403
|
user: {
|
|
380
|
-
username: string;
|
|
381
404
|
name: import("./userResponse").UserNameResponse;
|
|
405
|
+
username: string;
|
|
382
406
|
id: string;
|
|
383
407
|
externalIdentities: {
|
|
384
408
|
canonicalAcct: string;
|
|
@@ -389,30 +413,33 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
389
413
|
sourceUserId: string;
|
|
390
414
|
}[];
|
|
391
415
|
redirectedUserIds: string[];
|
|
416
|
+
email?: string | undefined;
|
|
392
417
|
color?: string | null | undefined;
|
|
393
|
-
kind?: "
|
|
394
|
-
bio?: string | undefined;
|
|
418
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
395
419
|
avatar?: string | null | undefined;
|
|
396
|
-
|
|
420
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
421
|
+
bio?: string | undefined;
|
|
422
|
+
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
423
|
character?: unknown;
|
|
398
|
-
email?: string | undefined;
|
|
399
|
-
_id?: string | undefined;
|
|
400
424
|
publicKey?: string | undefined;
|
|
425
|
+
verified?: boolean | undefined;
|
|
426
|
+
did?: string | undefined;
|
|
427
|
+
_id?: string | undefined;
|
|
401
428
|
phone?: string | undefined;
|
|
402
429
|
address?: string | undefined;
|
|
403
430
|
birthday?: string | undefined;
|
|
404
431
|
dateOfBirth?: string | undefined;
|
|
405
432
|
isAdult?: boolean | undefined;
|
|
406
|
-
verified?: boolean | undefined;
|
|
407
433
|
languages?: string[] | undefined;
|
|
408
|
-
did?: string | undefined;
|
|
409
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
410
434
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
435
|
+
userPreferences?: z.objectInputType<{
|
|
436
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
437
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
411
438
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
412
439
|
personalization?: {
|
|
413
440
|
mentionMono: {
|
|
414
|
-
allowed: boolean;
|
|
415
441
|
expiresAt: string | null;
|
|
442
|
+
allowed: boolean;
|
|
416
443
|
};
|
|
417
444
|
} | undefined;
|
|
418
445
|
} & {
|
|
@@ -438,8 +465,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
438
465
|
};
|
|
439
466
|
}>, {
|
|
440
467
|
user: {
|
|
441
|
-
username: string;
|
|
442
468
|
name: import("./userResponse").UserNameResponse;
|
|
469
|
+
username: string;
|
|
443
470
|
id: string;
|
|
444
471
|
externalIdentities: {
|
|
445
472
|
canonicalAcct: string;
|
|
@@ -450,30 +477,33 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
450
477
|
sourceUserId: string;
|
|
451
478
|
}[];
|
|
452
479
|
redirectedUserIds: string[];
|
|
480
|
+
email?: string | undefined;
|
|
453
481
|
color?: string | null | undefined;
|
|
454
|
-
kind?: "
|
|
455
|
-
bio?: string | undefined;
|
|
482
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
456
483
|
avatar?: string | null | undefined;
|
|
457
|
-
|
|
484
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
485
|
+
bio?: string | undefined;
|
|
486
|
+
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
487
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
459
|
-
email?: string | undefined;
|
|
460
|
-
_id?: string | undefined;
|
|
461
488
|
publicKey?: string | undefined;
|
|
489
|
+
verified?: boolean | undefined;
|
|
490
|
+
did?: string | undefined;
|
|
491
|
+
_id?: string | undefined;
|
|
462
492
|
phone?: string | undefined;
|
|
463
493
|
address?: string | undefined;
|
|
464
494
|
birthday?: string | undefined;
|
|
465
495
|
dateOfBirth?: string | undefined;
|
|
466
496
|
isAdult?: boolean | undefined;
|
|
467
|
-
verified?: boolean | undefined;
|
|
468
497
|
languages?: string[] | undefined;
|
|
469
|
-
did?: string | undefined;
|
|
470
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
471
498
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
499
|
+
userPreferences?: z.objectOutputType<{
|
|
500
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
501
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
472
502
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
473
503
|
personalization?: {
|
|
474
504
|
mentionMono: {
|
|
475
|
-
allowed: boolean;
|
|
476
505
|
expiresAt: string | null;
|
|
506
|
+
allowed: boolean;
|
|
477
507
|
};
|
|
478
508
|
} | undefined;
|
|
479
509
|
} & {
|
|
@@ -499,8 +529,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
499
529
|
};
|
|
500
530
|
}, {
|
|
501
531
|
user: {
|
|
502
|
-
username: string;
|
|
503
532
|
name: import("./userResponse").UserNameResponse;
|
|
533
|
+
username: string;
|
|
504
534
|
id: string;
|
|
505
535
|
externalIdentities: {
|
|
506
536
|
canonicalAcct: string;
|
|
@@ -511,30 +541,33 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
511
541
|
sourceUserId: string;
|
|
512
542
|
}[];
|
|
513
543
|
redirectedUserIds: string[];
|
|
544
|
+
email?: string | undefined;
|
|
514
545
|
color?: string | null | undefined;
|
|
515
|
-
kind?: "
|
|
516
|
-
bio?: string | undefined;
|
|
546
|
+
kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
|
|
517
547
|
avatar?: string | null | undefined;
|
|
518
|
-
|
|
548
|
+
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
549
|
+
bio?: string | undefined;
|
|
550
|
+
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
551
|
character?: unknown;
|
|
520
|
-
email?: string | undefined;
|
|
521
|
-
_id?: string | undefined;
|
|
522
552
|
publicKey?: string | undefined;
|
|
553
|
+
verified?: boolean | undefined;
|
|
554
|
+
did?: string | undefined;
|
|
555
|
+
_id?: string | undefined;
|
|
523
556
|
phone?: string | undefined;
|
|
524
557
|
address?: string | undefined;
|
|
525
558
|
birthday?: string | undefined;
|
|
526
559
|
dateOfBirth?: string | undefined;
|
|
527
560
|
isAdult?: boolean | undefined;
|
|
528
|
-
verified?: boolean | undefined;
|
|
529
561
|
languages?: string[] | undefined;
|
|
530
|
-
did?: string | undefined;
|
|
531
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
532
562
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
563
|
+
userPreferences?: z.objectInputType<{
|
|
564
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
565
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
533
566
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
534
567
|
personalization?: {
|
|
535
568
|
mentionMono: {
|
|
536
|
-
allowed: boolean;
|
|
537
569
|
expiresAt: string | null;
|
|
570
|
+
allowed: boolean;
|
|
538
571
|
};
|
|
539
572
|
} | undefined;
|
|
540
573
|
} & {
|
|
@@ -595,6 +628,7 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
595
628
|
redirectedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
596
629
|
}, "strip", z.ZodTypeAny, {
|
|
597
630
|
userId: string | null;
|
|
631
|
+
identifier: string;
|
|
598
632
|
externalIdentities: {
|
|
599
633
|
canonicalAcct: string;
|
|
600
634
|
network: string;
|
|
@@ -604,9 +638,9 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
604
638
|
sourceUserId: string;
|
|
605
639
|
}[];
|
|
606
640
|
redirectedUserIds: string[];
|
|
607
|
-
identifier: string;
|
|
608
641
|
}, {
|
|
609
642
|
userId: string | null;
|
|
643
|
+
identifier: string;
|
|
610
644
|
externalIdentities: {
|
|
611
645
|
canonicalAcct: string;
|
|
612
646
|
network: string;
|
|
@@ -616,11 +650,11 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
616
650
|
sourceUserId: string;
|
|
617
651
|
}[];
|
|
618
652
|
redirectedUserIds: string[];
|
|
619
|
-
identifier: string;
|
|
620
653
|
}>, "many">;
|
|
621
654
|
}, "strip", z.ZodTypeAny, {
|
|
622
655
|
identities: {
|
|
623
656
|
userId: string | null;
|
|
657
|
+
identifier: string;
|
|
624
658
|
externalIdentities: {
|
|
625
659
|
canonicalAcct: string;
|
|
626
660
|
network: string;
|
|
@@ -630,11 +664,11 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
630
664
|
sourceUserId: string;
|
|
631
665
|
}[];
|
|
632
666
|
redirectedUserIds: string[];
|
|
633
|
-
identifier: string;
|
|
634
667
|
}[];
|
|
635
668
|
}, {
|
|
636
669
|
identities: {
|
|
637
670
|
userId: string | null;
|
|
671
|
+
identifier: string;
|
|
638
672
|
externalIdentities: {
|
|
639
673
|
canonicalAcct: string;
|
|
640
674
|
network: string;
|
|
@@ -644,7 +678,6 @@ export declare const lookupExternalIdentitiesResponseSchema: z.ZodObject<{
|
|
|
644
678
|
sourceUserId: string;
|
|
645
679
|
}[];
|
|
646
680
|
redirectedUserIds: string[];
|
|
647
|
-
identifier: string;
|
|
648
681
|
}[];
|
|
649
682
|
}>;
|
|
650
683
|
export type ExternalIdentityProtocol = z.infer<typeof externalIdentityProtocolSchema>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export { meteredGenerationSchema, type MeteredGeneration } from './inference/eco
|
|
|
132
132
|
export { canonicalCapabilityJson, inputSatisfiesCapabilityLimits, isLoopbackOrigin, } from './capabilityBindings';
|
|
133
133
|
export * from './agentKeys';
|
|
134
134
|
export { productSubscriptionSummarySchema, productSubscriptionsResponseSchema, subscriptionCreditGrantSchema, subscriptionCreditGrantsResponseSchema, cancelProductSubscriptionSchema, productSubscriptionCancellationResultSchema, type ProductSubscriptionSummary, type SubscriptionCreditGrant, type ProductSubscriptionCancellationResult, } from './products/billing';
|
|
135
|
-
export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, type PersonalPlanCatalogue, } from './products/plans';
|
|
135
|
+
export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, productPlanCatalogueSchema, type ProductPlanCatalogue, type PersonalPlanCatalogue, } from './products/plans';
|
|
136
136
|
export * from './products/checkout';
|
|
137
137
|
export * from './organizations';
|
|
138
138
|
export * from './safety';
|