@oxy.so/contracts 4.13.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.
Files changed (57) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/accountGraph.js +23 -4
  3. package/dist/cjs/index.js +19 -15
  4. package/dist/cjs/organizations.js +210 -0
  5. package/dist/cjs/products/billing.js +1 -0
  6. package/dist/cjs/products/checkout.js +14 -1
  7. package/dist/cjs/products/plans.js +18 -2
  8. package/dist/cjs/safety.js +15 -0
  9. package/dist/cjs/userResponse.js +8 -1
  10. package/dist/esm/.tsbuildinfo +1 -1
  11. package/dist/esm/accountGraph.js +21 -2
  12. package/dist/esm/index.js +4 -2
  13. package/dist/esm/organizations.js +207 -0
  14. package/dist/esm/products/billing.js +1 -0
  15. package/dist/esm/products/checkout.js +13 -0
  16. package/dist/esm/products/plans.js +17 -1
  17. package/dist/esm/safety.js +12 -0
  18. package/dist/esm/userResponse.js +8 -1
  19. package/dist/types/.tsbuildinfo +1 -1
  20. package/dist/types/accountGraph.d.ts +50 -18
  21. package/dist/types/agency.d.ts +42 -42
  22. package/dist/types/deviceDirectory.d.ts +56 -56
  23. package/dist/types/email/messages.d.ts +56 -56
  24. package/dist/types/externalIdentity.d.ts +56 -23
  25. package/dist/types/index.d.ts +4 -2
  26. package/dist/types/inference/accountBilling.d.ts +36 -36
  27. package/dist/types/inference/catalogue.d.ts +12 -12
  28. package/dist/types/inference/decisions.d.ts +16 -16
  29. package/dist/types/inference/economics.d.ts +6 -6
  30. package/dist/types/inference/embeddings.d.ts +18 -18
  31. package/dist/types/inference/entitlement.d.ts +12 -12
  32. package/dist/types/inference/errors.d.ts +4 -4
  33. package/dist/types/inference/inbox.d.ts +17 -17
  34. package/dist/types/inference/priceVersion.d.ts +8 -8
  35. package/dist/types/inference/privateAutoExecution.d.ts +12 -12
  36. package/dist/types/inference/providerConnection.d.ts +24 -24
  37. package/dist/types/inference/realtime.d.ts +26 -26
  38. package/dist/types/inference/request.d.ts +26 -26
  39. package/dist/types/inference/routingPolicy.d.ts +4 -4
  40. package/dist/types/inference/scopedExecution.d.ts +8 -8
  41. package/dist/types/inference/streamEvents.d.ts +20 -20
  42. package/dist/types/inference/usage.d.ts +8 -8
  43. package/dist/types/keyRecovery.d.ts +4 -4
  44. package/dist/types/linkedAccounts.d.ts +16 -16
  45. package/dist/types/notifications.d.ts +4 -4
  46. package/dist/types/oauth.d.ts +40 -40
  47. package/dist/types/organizations.d.ts +1088 -0
  48. package/dist/types/products/access.d.ts +18 -18
  49. package/dist/types/products/billing.d.ts +32 -24
  50. package/dist/types/products/checkout.d.ts +36 -0
  51. package/dist/types/products/plans.d.ts +108 -11
  52. package/dist/types/recommendations.d.ts +2 -2
  53. package/dist/types/safety.d.ts +24 -0
  54. package/dist/types/sessionStatus.d.ts +6 -6
  55. package/dist/types/stickers.d.ts +32 -32
  56. package/dist/types/userResponse.d.ts +169 -33
  57. package/package.json +1 -1
@@ -71,9 +71,16 @@ 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">, ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
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<{
@@ -141,9 +148,16 @@ 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">, ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
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<{
@@ -211,9 +225,16 @@ 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">, ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
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<{
@@ -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;
@@ -330,15 +351,15 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
330
351
  redirectedUserIds: string[];
331
352
  email?: string | undefined;
332
353
  color?: string | null | undefined;
333
- kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
334
- bio?: string | undefined;
354
+ kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
335
355
  avatar?: string | null | undefined;
336
- accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
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;
337
359
  character?: import("./avatarCharacter").AvatarCharacter | undefined;
338
360
  publicKey?: string | undefined;
339
361
  verified?: boolean | undefined;
340
362
  did?: string | undefined;
341
- verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
342
363
  _id?: string | undefined;
343
364
  phone?: string | undefined;
344
365
  address?: string | undefined;
@@ -347,6 +368,9 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
347
368
  isAdult?: boolean | undefined;
348
369
  languages?: string[] | 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: {
@@ -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;
@@ -391,15 +415,15 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
391
415
  redirectedUserIds: string[];
392
416
  email?: string | undefined;
393
417
  color?: string | null | undefined;
394
- kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
395
- bio?: string | undefined;
418
+ kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
396
419
  avatar?: string | null | undefined;
397
- accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
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;
398
423
  character?: unknown;
399
424
  publicKey?: string | undefined;
400
425
  verified?: boolean | undefined;
401
426
  did?: string | undefined;
402
- verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
403
427
  _id?: string | undefined;
404
428
  phone?: string | undefined;
405
429
  address?: string | undefined;
@@ -408,6 +432,9 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
408
432
  isAdult?: boolean | undefined;
409
433
  languages?: string[] | 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: {
@@ -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;
@@ -452,15 +479,15 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
452
479
  redirectedUserIds: string[];
453
480
  email?: string | undefined;
454
481
  color?: string | null | undefined;
455
- kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
456
- bio?: string | undefined;
482
+ kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
457
483
  avatar?: string | null | undefined;
458
- accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
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;
459
487
  character?: import("./avatarCharacter").AvatarCharacter | undefined;
460
488
  publicKey?: string | undefined;
461
489
  verified?: boolean | undefined;
462
490
  did?: string | undefined;
463
- verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
464
491
  _id?: string | undefined;
465
492
  phone?: string | undefined;
466
493
  address?: string | undefined;
@@ -469,6 +496,9 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
469
496
  isAdult?: boolean | undefined;
470
497
  languages?: string[] | 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: {
@@ -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;
@@ -513,15 +543,15 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
513
543
  redirectedUserIds: string[];
514
544
  email?: string | undefined;
515
545
  color?: string | null | undefined;
516
- kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
517
- bio?: string | undefined;
546
+ kind?: "organization" | "bot" | "personal" | "project" | "channel" | undefined;
518
547
  avatar?: string | null | undefined;
519
- accountCategories?: ("security" | "news" | "politics" | "business" | "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" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
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;
520
551
  character?: unknown;
521
552
  publicKey?: string | undefined;
522
553
  verified?: boolean | undefined;
523
554
  did?: string | undefined;
524
- verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
525
555
  _id?: string | undefined;
526
556
  phone?: string | undefined;
527
557
  address?: string | undefined;
@@ -530,6 +560,9 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
530
560
  isAdult?: boolean | undefined;
531
561
  languages?: string[] | 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: {
@@ -9,7 +9,7 @@
9
9
  * Platform-agnostic — zod is the only runtime dependency. No react/react-native/
10
10
  * expo, no `require()` in the ESM build.
11
11
  */
12
- export { ACCOUNT_KINDS, accountKindSchema, CHILD_ACCOUNT_KINDS, childAccountKindSchema, isAccountKind, isDelegatedActAsEligibleKind, isOperatorSwitchTargetKind, ACCOUNT_CATEGORY_IDS, ACCOUNT_CATEGORY_KINDS, accountCategoriesSchema, accountCategoryIdSchema, isSelectableAccountCategoryId, kindAcceptsAccountCategories, MAX_ACCOUNT_CATEGORIES, newlyAddedRetiredCategories, RETIRED_ACCOUNT_CATEGORY_IDS, SELECTABLE_ACCOUNT_CATEGORY_IDS, createAccountRequestSchema, } from './accountGraph';
12
+ export { ACCOUNT_KINDS, accountKindSchema, CHILD_ACCOUNT_KINDS, childAccountKindSchema, isAccountKind, isDelegatedActAsEligibleKind, isOperatorSwitchTargetKind, ACCOUNT_CATEGORY_IDS, ACCOUNT_CATEGORY_KINDS, accountCategoriesSchema, accountCategoryIdSchema, isSelectableAccountCategoryId, kindAcceptsAccountCategories, MAX_ACCOUNT_CATEGORIES, newlyAddedRetiredCategories, RETIRED_ACCOUNT_CATEGORY_IDS, SELECTABLE_ACCOUNT_CATEGORY_IDS, createAccountRequestSchema, accountNameSchema, } from './accountGraph';
13
13
  export type { AccountKind, AccountCategoryId, AccountCategoryKind, ChildAccountKind, CreateAccountRequest, } from './accountGraph';
14
14
  export { AVATAR_EYE_SPACING, AVATAR_PICKABLE_COLORS, AVATAR_PICKABLE_SHAPES, avatarCharacterFor, avatarCharacterSchema, parseAvatarCharacter, } from './avatarCharacter';
15
15
  export type { AvatarCharacter } from './avatarCharacter';
@@ -132,5 +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
+ export * from './organizations';
138
+ export * from './safety';
@@ -133,10 +133,10 @@ export declare const billingProfileSchema: z.ZodObject<{
133
133
  updatedAt: z.ZodString;
134
134
  }, "strict", z.ZodTypeAny, {
135
135
  status: "active" | "suspended" | "closed";
136
- schemaVersion: 1;
137
136
  accountId: string & z.BRAND<"OxyAccountId">;
138
137
  createdAt: string;
139
138
  updatedAt: string;
139
+ schemaVersion: 1;
140
140
  currency: string;
141
141
  billingMode: "prepaid" | "invoiced";
142
142
  creditLimit: string & z.BRAND<"ExactDecimal">;
@@ -147,10 +147,10 @@ export declare const billingProfileSchema: z.ZodObject<{
147
147
  };
148
148
  }, {
149
149
  status: "active" | "suspended" | "closed";
150
- schemaVersion: 1;
151
150
  accountId: string;
152
151
  createdAt: string;
153
152
  updatedAt: string;
153
+ schemaVersion: 1;
154
154
  currency: string;
155
155
  billingMode: "prepaid" | "invoiced";
156
156
  creditLimit: string;
@@ -222,10 +222,10 @@ export declare const accountBillingStateSchema: z.ZodObject<{
222
222
  updatedAt: z.ZodString;
223
223
  }, "strict", z.ZodTypeAny, {
224
224
  status: "active" | "suspended" | "closed";
225
- schemaVersion: 1;
226
225
  accountId: string & z.BRAND<"OxyAccountId">;
227
226
  createdAt: string;
228
227
  updatedAt: string;
228
+ schemaVersion: 1;
229
229
  currency: string;
230
230
  billingMode: "prepaid" | "invoiced";
231
231
  creditLimit: string & z.BRAND<"ExactDecimal">;
@@ -236,10 +236,10 @@ export declare const accountBillingStateSchema: z.ZodObject<{
236
236
  };
237
237
  }, {
238
238
  status: "active" | "suspended" | "closed";
239
- schemaVersion: 1;
240
239
  accountId: string;
241
240
  createdAt: string;
242
241
  updatedAt: string;
242
+ schemaVersion: 1;
243
243
  currency: string;
244
244
  billingMode: "prepaid" | "invoiced";
245
245
  creditLimit: string;
@@ -250,14 +250,14 @@ export declare const accountBillingStateSchema: z.ZodObject<{
250
250
  };
251
251
  }>;
252
252
  }, "strict", z.ZodTypeAny, {
253
- schemaVersion: 1;
254
253
  accountId: string & z.BRAND<"OxyAccountId">;
254
+ schemaVersion: 1;
255
255
  profile: {
256
256
  status: "active" | "suspended" | "closed";
257
- schemaVersion: 1;
258
257
  accountId: string & z.BRAND<"OxyAccountId">;
259
258
  createdAt: string;
260
259
  updatedAt: string;
260
+ schemaVersion: 1;
261
261
  currency: string;
262
262
  billingMode: "prepaid" | "invoiced";
263
263
  creditLimit: string & z.BRAND<"ExactDecimal">;
@@ -270,14 +270,14 @@ export declare const accountBillingStateSchema: z.ZodObject<{
270
270
  billingAccountId: string & z.BRAND<"OxyAccountId">;
271
271
  inherited: boolean;
272
272
  }, {
273
- schemaVersion: 1;
274
273
  accountId: string;
274
+ schemaVersion: 1;
275
275
  profile: {
276
276
  status: "active" | "suspended" | "closed";
277
- schemaVersion: 1;
278
277
  accountId: string;
279
278
  createdAt: string;
280
279
  updatedAt: string;
280
+ schemaVersion: 1;
281
281
  currency: string;
282
282
  billingMode: "prepaid" | "invoiced";
283
283
  creditLimit: string;
@@ -323,9 +323,9 @@ export declare const billingInvoiceSchema: z.ZodObject<{
323
323
  receiptCount: z.ZodNumber;
324
324
  }, "strict", z.ZodTypeAny, {
325
325
  status: "void" | "paid" | "draft" | "open";
326
- schemaVersion: 1;
327
326
  accountId: string & z.BRAND<"OxyAccountId">;
328
327
  id: string;
328
+ schemaVersion: 1;
329
329
  currency: string;
330
330
  periodEnd: string;
331
331
  periodStart: string;
@@ -338,9 +338,9 @@ export declare const billingInvoiceSchema: z.ZodObject<{
338
338
  paidAt?: string | undefined;
339
339
  }, {
340
340
  status: "void" | "paid" | "draft" | "open";
341
- schemaVersion: 1;
342
341
  accountId: string;
343
342
  id: string;
343
+ schemaVersion: 1;
344
344
  currency: string;
345
345
  periodEnd: string;
346
346
  periodStart: string;
@@ -385,8 +385,8 @@ export declare const externalPaymentSchema: z.ZodObject<{
385
385
  createdAt: z.ZodString;
386
386
  }, "strict", z.ZodTypeAny, {
387
387
  accountId: string & z.BRAND<"OxyAccountId">;
388
- id: string;
389
388
  createdAt: string;
389
+ id: string;
390
390
  occurredAt: string;
391
391
  currency: string;
392
392
  amount: string & z.BRAND<"ExactDecimal">;
@@ -396,8 +396,8 @@ export declare const externalPaymentSchema: z.ZodObject<{
396
396
  ledgerEntryId: string;
397
397
  }, {
398
398
  accountId: string;
399
- id: string;
400
399
  createdAt: string;
400
+ id: string;
401
401
  occurredAt: string;
402
402
  currency: string;
403
403
  amount: string;
@@ -433,24 +433,24 @@ export declare const autoRechargeAttemptSchema: z.ZodObject<{
433
433
  createdAt: z.ZodString;
434
434
  updatedAt: z.ZodString;
435
435
  }, "strict", z.ZodTypeAny, {
436
- status: "succeeded" | "failed" | "pending";
437
- schemaVersion: 1;
436
+ status: "pending" | "succeeded" | "failed";
438
437
  accountId: string & z.BRAND<"OxyAccountId">;
439
- id: string;
440
438
  createdAt: string;
441
439
  updatedAt: string;
440
+ id: string;
441
+ schemaVersion: 1;
442
442
  currency: string;
443
443
  requestedAmount: string & z.BRAND<"ExactDecimal">;
444
444
  balanceAtTrigger: string & z.BRAND<"ExactDecimal">;
445
445
  failureCode?: string | undefined;
446
446
  externalRef?: string | undefined;
447
447
  }, {
448
- status: "succeeded" | "failed" | "pending";
449
- schemaVersion: 1;
448
+ status: "pending" | "succeeded" | "failed";
450
449
  accountId: string;
451
- id: string;
452
450
  createdAt: string;
453
451
  updatedAt: string;
452
+ id: string;
453
+ schemaVersion: 1;
454
454
  currency: string;
455
455
  requestedAmount: string;
456
456
  balanceAtTrigger: string;
@@ -494,10 +494,10 @@ export declare const reconciliationDiscrepancySchema: z.ZodObject<{
494
494
  createdAt: z.ZodString;
495
495
  }, "strict", z.ZodTypeAny, {
496
496
  kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
497
+ createdAt: string;
498
+ id: string;
497
499
  schemaVersion: 1;
498
500
  runId: string;
499
- id: string;
500
- createdAt: string;
501
501
  currency: string;
502
502
  accountId?: (string & z.BRAND<"OxyAccountId">) | undefined;
503
503
  externalRef?: string | undefined;
@@ -506,10 +506,10 @@ export declare const reconciliationDiscrepancySchema: z.ZodObject<{
506
506
  externalAmount?: (string & z.BRAND<"ExactDecimal">) | undefined;
507
507
  }, {
508
508
  kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
509
+ createdAt: string;
510
+ id: string;
509
511
  schemaVersion: 1;
510
512
  runId: string;
511
- id: string;
512
- createdAt: string;
513
513
  currency: string;
514
514
  accountId?: string | undefined;
515
515
  externalRef?: string | undefined;
@@ -543,8 +543,8 @@ export declare const reconciliationRunSchema: z.ZodObject<{
543
543
  completedAt: z.ZodOptional<z.ZodString>;
544
544
  }, "strict", z.ZodTypeAny, {
545
545
  status: "failed" | "completed" | "running";
546
- schemaVersion: 1;
547
546
  id: string;
547
+ schemaVersion: 1;
548
548
  currency: string;
549
549
  periodEnd: string;
550
550
  provider: "stripe";
@@ -557,8 +557,8 @@ export declare const reconciliationRunSchema: z.ZodObject<{
557
557
  completedAt?: string | undefined;
558
558
  }, {
559
559
  status: "failed" | "completed" | "running";
560
- schemaVersion: 1;
561
560
  id: string;
561
+ schemaVersion: 1;
562
562
  currency: string;
563
563
  periodEnd: string;
564
564
  provider: "stripe";
@@ -591,8 +591,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
591
591
  completedAt: z.ZodOptional<z.ZodString>;
592
592
  }, "strict", z.ZodTypeAny, {
593
593
  status: "failed" | "completed" | "running";
594
- schemaVersion: 1;
595
594
  id: string;
595
+ schemaVersion: 1;
596
596
  currency: string;
597
597
  periodEnd: string;
598
598
  provider: "stripe";
@@ -605,8 +605,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
605
605
  completedAt?: string | undefined;
606
606
  }, {
607
607
  status: "failed" | "completed" | "running";
608
- schemaVersion: 1;
609
608
  id: string;
609
+ schemaVersion: 1;
610
610
  currency: string;
611
611
  periodEnd: string;
612
612
  provider: "stripe";
@@ -635,10 +635,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
635
635
  createdAt: z.ZodString;
636
636
  }, "strict", z.ZodTypeAny, {
637
637
  kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
638
+ createdAt: string;
639
+ id: string;
638
640
  schemaVersion: 1;
639
641
  runId: string;
640
- id: string;
641
- createdAt: string;
642
642
  currency: string;
643
643
  accountId?: (string & z.BRAND<"OxyAccountId">) | undefined;
644
644
  externalRef?: string | undefined;
@@ -647,10 +647,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
647
647
  externalAmount?: (string & z.BRAND<"ExactDecimal">) | undefined;
648
648
  }, {
649
649
  kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
650
+ createdAt: string;
651
+ id: string;
650
652
  schemaVersion: 1;
651
653
  runId: string;
652
- id: string;
653
- createdAt: string;
654
654
  currency: string;
655
655
  accountId?: string | undefined;
656
656
  externalRef?: string | undefined;
@@ -662,8 +662,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
662
662
  schemaVersion: 1;
663
663
  run: {
664
664
  status: "failed" | "completed" | "running";
665
- schemaVersion: 1;
666
665
  id: string;
666
+ schemaVersion: 1;
667
667
  currency: string;
668
668
  periodEnd: string;
669
669
  provider: "stripe";
@@ -677,10 +677,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
677
677
  };
678
678
  discrepancies: {
679
679
  kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
680
+ createdAt: string;
681
+ id: string;
680
682
  schemaVersion: 1;
681
683
  runId: string;
682
- id: string;
683
- createdAt: string;
684
684
  currency: string;
685
685
  accountId?: (string & z.BRAND<"OxyAccountId">) | undefined;
686
686
  externalRef?: string | undefined;
@@ -692,8 +692,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
692
692
  schemaVersion: 1;
693
693
  run: {
694
694
  status: "failed" | "completed" | "running";
695
- schemaVersion: 1;
696
695
  id: string;
696
+ schemaVersion: 1;
697
697
  currency: string;
698
698
  periodEnd: string;
699
699
  provider: "stripe";
@@ -707,10 +707,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
707
707
  };
708
708
  discrepancies: {
709
709
  kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
710
+ createdAt: string;
711
+ id: string;
710
712
  schemaVersion: 1;
711
713
  runId: string;
712
- id: string;
713
- createdAt: string;
714
714
  currency: string;
715
715
  accountId?: string | undefined;
716
716
  externalRef?: string | undefined;