@oxy.so/contracts 4.22.0 → 4.24.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 (36) hide show
  1. package/dist/cjs/agency.js +33 -1
  2. package/dist/cjs/appAssertions.js +201 -0
  3. package/dist/cjs/client/appAssertions.js +80 -0
  4. package/dist/cjs/client/index.js +17 -3
  5. package/dist/cjs/client/products.js +33 -11
  6. package/dist/cjs/index.js +10 -3
  7. package/dist/cjs/products/billing.js +1 -0
  8. package/dist/cjs/products/checkout.js +14 -1
  9. package/dist/cjs/products/plans.js +18 -2
  10. package/dist/cjs/userResponse.js +8 -1
  11. package/dist/esm/agency.js +32 -0
  12. package/dist/esm/appAssertions.js +191 -0
  13. package/dist/esm/client/appAssertions.js +77 -0
  14. package/dist/esm/client/index.js +2 -1
  15. package/dist/esm/client/products.js +32 -10
  16. package/dist/esm/index.js +3 -2
  17. package/dist/esm/products/billing.js +1 -0
  18. package/dist/esm/products/checkout.js +13 -0
  19. package/dist/esm/products/plans.js +17 -1
  20. package/dist/esm/userResponse.js +8 -1
  21. package/dist/types/agency.d.ts +64 -0
  22. package/dist/types/appAssertions.d.ts +335 -0
  23. package/dist/types/client/appAssertions.d.ts +60 -0
  24. package/dist/types/client/index.d.ts +2 -1
  25. package/dist/types/client/products.d.ts +43 -10
  26. package/dist/types/externalIdentity.d.ts +33 -0
  27. package/dist/types/index.d.ts +4 -3
  28. package/dist/types/inference/aliaModelRelease.d.ts +8 -8
  29. package/dist/types/inference/modelDocumentation.d.ts +8 -8
  30. package/dist/types/products/billing.d.ts +8 -0
  31. package/dist/types/products/checkout.d.ts +36 -0
  32. package/dist/types/products/plans.d.ts +102 -5
  33. package/dist/types/safety.d.ts +27 -0
  34. package/dist/types/updates.d.ts +6 -6
  35. package/dist/types/userResponse.d.ts +139 -3
  36. package/package.json +1 -1
@@ -140,14 +140,14 @@ export declare const aliaReleaseSignatureSchema: z.ZodObject<{
140
140
  signedAt: z.ZodString;
141
141
  }, "strict", z.ZodTypeAny, {
142
142
  signature: string;
143
- signedAt: string;
144
143
  keyId: string;
144
+ signedAt: string;
145
145
  algorithm: "ed25519";
146
146
  canonicalization: "jcs";
147
147
  }, {
148
148
  signature: string;
149
- signedAt: string;
150
149
  keyId: string;
150
+ signedAt: string;
151
151
  algorithm: "ed25519";
152
152
  canonicalization: "jcs";
153
153
  }>;
@@ -376,14 +376,14 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
376
376
  signedAt: z.ZodString;
377
377
  }, "strict", z.ZodTypeAny, {
378
378
  signature: string;
379
- signedAt: string;
380
379
  keyId: string;
380
+ signedAt: string;
381
381
  algorithm: "ed25519";
382
382
  canonicalization: "jcs";
383
383
  }, {
384
384
  signature: string;
385
- signedAt: string;
386
385
  keyId: string;
386
+ signedAt: string;
387
387
  algorithm: "ed25519";
388
388
  canonicalization: "jcs";
389
389
  }>, "many">;
@@ -416,8 +416,8 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
416
416
  issuedAt: string;
417
417
  signatures: {
418
418
  signature: string;
419
- signedAt: string;
420
419
  keyId: string;
420
+ signedAt: string;
421
421
  algorithm: "ed25519";
422
422
  canonicalization: "jcs";
423
423
  }[];
@@ -470,8 +470,8 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
470
470
  issuedAt: string;
471
471
  signatures: {
472
472
  signature: string;
473
- signedAt: string;
474
473
  keyId: string;
474
+ signedAt: string;
475
475
  algorithm: "ed25519";
476
476
  canonicalization: "jcs";
477
477
  }[];
@@ -524,8 +524,8 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
524
524
  issuedAt: string;
525
525
  signatures: {
526
526
  signature: string;
527
- signedAt: string;
528
527
  keyId: string;
528
+ signedAt: string;
529
529
  algorithm: "ed25519";
530
530
  canonicalization: "jcs";
531
531
  }[];
@@ -578,8 +578,8 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
578
578
  issuedAt: string;
579
579
  signatures: {
580
580
  signature: string;
581
- signedAt: string;
582
581
  keyId: string;
582
+ signedAt: string;
583
583
  algorithm: "ed25519";
584
584
  canonicalization: "jcs";
585
585
  }[];
@@ -692,14 +692,14 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
692
692
  signedAt: z.ZodString;
693
693
  }, "strict", z.ZodTypeAny, {
694
694
  signature: string;
695
- signedAt: string;
696
695
  keyId: string;
696
+ signedAt: string;
697
697
  algorithm: "ed25519";
698
698
  canonicalization: "jcs";
699
699
  }, {
700
700
  signature: string;
701
- signedAt: string;
702
701
  keyId: string;
702
+ signedAt: string;
703
703
  algorithm: "ed25519";
704
704
  canonicalization: "jcs";
705
705
  }>, "many">;
@@ -732,8 +732,8 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
732
732
  issuedAt: string;
733
733
  signatures: {
734
734
  signature: string;
735
- signedAt: string;
736
735
  keyId: string;
736
+ signedAt: string;
737
737
  algorithm: "ed25519";
738
738
  canonicalization: "jcs";
739
739
  }[];
@@ -786,8 +786,8 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
786
786
  issuedAt: string;
787
787
  signatures: {
788
788
  signature: string;
789
- signedAt: string;
790
789
  keyId: string;
790
+ signedAt: string;
791
791
  algorithm: "ed25519";
792
792
  canonicalization: "jcs";
793
793
  }[];
@@ -840,8 +840,8 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
840
840
  issuedAt: string;
841
841
  signatures: {
842
842
  signature: string;
843
- signedAt: string;
844
843
  keyId: string;
844
+ signedAt: string;
845
845
  algorithm: "ed25519";
846
846
  canonicalization: "jcs";
847
847
  }[];
@@ -894,8 +894,8 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
894
894
  issuedAt: string;
895
895
  signatures: {
896
896
  signature: string;
897
- signedAt: string;
898
897
  keyId: string;
898
+ signedAt: string;
899
899
  algorithm: "ed25519";
900
900
  canonicalization: "jcs";
901
901
  }[];
@@ -1225,8 +1225,8 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1225
1225
  issuedAt: string;
1226
1226
  signatures: {
1227
1227
  signature: string;
1228
- signedAt: string;
1229
1228
  keyId: string;
1229
+ signedAt: string;
1230
1230
  algorithm: "ed25519";
1231
1231
  canonicalization: "jcs";
1232
1232
  }[];
@@ -1321,8 +1321,8 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1321
1321
  issuedAt: string;
1322
1322
  signatures: {
1323
1323
  signature: string;
1324
- signedAt: string;
1325
1324
  keyId: string;
1325
+ signedAt: string;
1326
1326
  algorithm: "ed25519";
1327
1327
  canonicalization: "jcs";
1328
1328
  }[];
@@ -21,6 +21,7 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
21
21
  }>;
22
22
  cancelAtPeriodEnd: z.ZodBoolean;
23
23
  canCancel: z.ZodBoolean;
24
+ canRenew: z.ZodOptional<z.ZodBoolean>;
24
25
  offers: z.ZodArray<z.ZodObject<{
25
26
  segmentId: z.ZodString;
26
27
  offerId: z.ZodString;
@@ -110,6 +111,7 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
110
111
  displayName: string;
111
112
  }[];
112
113
  }[];
114
+ canRenew?: boolean | undefined;
113
115
  }, {
114
116
  status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
115
117
  sourceId: string;
@@ -135,6 +137,7 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
135
137
  displayName: string;
136
138
  }[];
137
139
  }[];
140
+ canRenew?: boolean | undefined;
138
141
  }>;
139
142
  export declare const productSubscriptionsResponseSchema: z.ZodObject<{
140
143
  subscriptions: z.ZodArray<z.ZodObject<{
@@ -158,6 +161,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
158
161
  }>;
159
162
  cancelAtPeriodEnd: z.ZodBoolean;
160
163
  canCancel: z.ZodBoolean;
164
+ canRenew: z.ZodOptional<z.ZodBoolean>;
161
165
  offers: z.ZodArray<z.ZodObject<{
162
166
  segmentId: z.ZodString;
163
167
  offerId: z.ZodString;
@@ -247,6 +251,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
247
251
  displayName: string;
248
252
  }[];
249
253
  }[];
254
+ canRenew?: boolean | undefined;
250
255
  }, {
251
256
  status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
252
257
  sourceId: string;
@@ -272,6 +277,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
272
277
  displayName: string;
273
278
  }[];
274
279
  }[];
280
+ canRenew?: boolean | undefined;
275
281
  }>, "many">;
276
282
  }, "strict", z.ZodTypeAny, {
277
283
  subscriptions: {
@@ -299,6 +305,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
299
305
  displayName: string;
300
306
  }[];
301
307
  }[];
308
+ canRenew?: boolean | undefined;
302
309
  }[];
303
310
  }, {
304
311
  subscriptions: {
@@ -326,6 +333,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
326
333
  displayName: string;
327
334
  }[];
328
335
  }[];
336
+ canRenew?: boolean | undefined;
329
337
  }[];
330
338
  }>;
331
339
  export declare const subscriptionCreditGrantSchema: z.ZodEffects<z.ZodObject<{
@@ -58,3 +58,39 @@ export declare const personalPlanCheckoutResultSchema: z.ZodDiscriminatedUnion<"
58
58
  }>]>;
59
59
  export type PersonalPlanCheckoutRequest = z.infer<typeof personalPlanCheckoutRequestSchema>;
60
60
  export type PersonalPlanCheckoutResult = z.infer<typeof personalPlanCheckoutResultSchema>;
61
+ /** Explicit individual product offer; still owned and paid through Oxy. */
62
+ export declare const productPlanCheckoutRequestSchema: z.ZodObject<{
63
+ expectedSubjectAccountId: z.ZodBranded<z.ZodString, "OxyAccountId">;
64
+ offerId: z.ZodString;
65
+ offerVersion: z.ZodNumber;
66
+ idempotencyKey: z.ZodString;
67
+ } & {
68
+ productId: z.ZodString;
69
+ }, "strict", z.ZodTypeAny, {
70
+ idempotencyKey: string;
71
+ productId: string;
72
+ offerId: string;
73
+ offerVersion: number;
74
+ expectedSubjectAccountId: string & z.BRAND<"OxyAccountId">;
75
+ }, {
76
+ idempotencyKey: string;
77
+ productId: string;
78
+ offerId: string;
79
+ offerVersion: number;
80
+ expectedSubjectAccountId: string;
81
+ }>;
82
+ export type ProductPlanCheckoutRequest = z.infer<typeof productPlanCheckoutRequestSchema>;
83
+ export declare const productSubscriptionRenewalRequestSchema: z.ZodObject<{
84
+ expectedSubjectAccountId: z.ZodBranded<z.ZodString, "OxyAccountId">;
85
+ sourceId: z.ZodString;
86
+ idempotencyKey: z.ZodString;
87
+ }, "strict", z.ZodTypeAny, {
88
+ sourceId: string;
89
+ idempotencyKey: string;
90
+ expectedSubjectAccountId: string & z.BRAND<"OxyAccountId">;
91
+ }, {
92
+ sourceId: string;
93
+ idempotencyKey: string;
94
+ expectedSubjectAccountId: string;
95
+ }>;
96
+ export type ProductSubscriptionRenewalRequest = z.infer<typeof productSubscriptionRenewalRequestSchema>;
@@ -26,7 +26,7 @@ export declare const personalPlanDisplayPriceSchema: z.ZodObject<{
26
26
  export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
27
27
  schemaVersion: z.ZodLiteral<1>;
28
28
  state: z.ZodEnum<["unconfigured", "configured"]>;
29
- purchase: z.ZodLiteral<"unavailable">;
29
+ purchase: z.ZodEnum<["unavailable", "available"]>;
30
30
  plans: z.ZodArray<z.ZodObject<{
31
31
  offerId: z.ZodString;
32
32
  offerVersion: z.ZodNumber;
@@ -182,7 +182,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
182
182
  }, "strict", z.ZodTypeAny, {
183
183
  schemaVersion: 1;
184
184
  state: "unconfigured" | "configured";
185
- purchase: "unavailable";
185
+ purchase: "unavailable" | "available";
186
186
  plans: {
187
187
  kind: "oxy_one";
188
188
  displayName: string;
@@ -216,7 +216,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
216
216
  }, {
217
217
  schemaVersion: 1;
218
218
  state: "unconfigured" | "configured";
219
- purchase: "unavailable";
219
+ purchase: "unavailable" | "available";
220
220
  plans: {
221
221
  kind: "oxy_one";
222
222
  displayName: string;
@@ -250,7 +250,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
250
250
  }>, {
251
251
  schemaVersion: 1;
252
252
  state: "unconfigured" | "configured";
253
- purchase: "unavailable";
253
+ purchase: "unavailable" | "available";
254
254
  plans: {
255
255
  kind: "oxy_one";
256
256
  displayName: string;
@@ -284,7 +284,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
284
284
  }, {
285
285
  schemaVersion: 1;
286
286
  state: "unconfigured" | "configured";
287
- purchase: "unavailable";
287
+ purchase: "unavailable" | "available";
288
288
  plans: {
289
289
  kind: "oxy_one";
290
290
  displayName: string;
@@ -317,3 +317,100 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
317
317
  }[];
318
318
  }>;
319
319
  export type PersonalPlanCatalogue = z.infer<typeof personalPlanCatalogueSchema>;
320
+ export declare const productPlanCatalogueSchema: z.ZodObject<{
321
+ schemaVersion: z.ZodLiteral<1>;
322
+ productId: z.ZodString;
323
+ purchase: z.ZodEnum<["unavailable", "available"]>;
324
+ plans: z.ZodArray<z.ZodObject<{
325
+ productId: z.ZodString;
326
+ offerId: z.ZodString;
327
+ offerVersion: z.ZodNumber;
328
+ displayName: z.ZodString;
329
+ price: z.ZodObject<{
330
+ currency: z.ZodString;
331
+ amountMinorUnits: z.ZodNumber;
332
+ trial: z.ZodLiteral<"none">;
333
+ taxTreatment: z.ZodLiteral<"inclusive">;
334
+ merchantTotal: z.ZodLiteral<"final">;
335
+ } & {
336
+ interval: z.ZodEnum<["month", "year"]>;
337
+ }, "strict", z.ZodTypeAny, {
338
+ currency: string;
339
+ amountMinorUnits: number;
340
+ interval: "year" | "month";
341
+ trial: "none";
342
+ taxTreatment: "inclusive";
343
+ merchantTotal: "final";
344
+ }, {
345
+ currency: string;
346
+ amountMinorUnits: number;
347
+ interval: "year" | "month";
348
+ trial: "none";
349
+ taxTreatment: "inclusive";
350
+ merchantTotal: "final";
351
+ }>;
352
+ }, "strict", z.ZodTypeAny, {
353
+ displayName: string;
354
+ price: {
355
+ currency: string;
356
+ amountMinorUnits: number;
357
+ interval: "year" | "month";
358
+ trial: "none";
359
+ taxTreatment: "inclusive";
360
+ merchantTotal: "final";
361
+ };
362
+ productId: string;
363
+ offerId: string;
364
+ offerVersion: number;
365
+ }, {
366
+ displayName: string;
367
+ price: {
368
+ currency: string;
369
+ amountMinorUnits: number;
370
+ interval: "year" | "month";
371
+ trial: "none";
372
+ taxTreatment: "inclusive";
373
+ merchantTotal: "final";
374
+ };
375
+ productId: string;
376
+ offerId: string;
377
+ offerVersion: number;
378
+ }>, "many">;
379
+ }, "strict", z.ZodTypeAny, {
380
+ schemaVersion: 1;
381
+ purchase: "unavailable" | "available";
382
+ productId: string;
383
+ plans: {
384
+ displayName: string;
385
+ price: {
386
+ currency: string;
387
+ amountMinorUnits: number;
388
+ interval: "year" | "month";
389
+ trial: "none";
390
+ taxTreatment: "inclusive";
391
+ merchantTotal: "final";
392
+ };
393
+ productId: string;
394
+ offerId: string;
395
+ offerVersion: number;
396
+ }[];
397
+ }, {
398
+ schemaVersion: 1;
399
+ purchase: "unavailable" | "available";
400
+ productId: string;
401
+ plans: {
402
+ displayName: string;
403
+ price: {
404
+ currency: string;
405
+ amountMinorUnits: number;
406
+ interval: "year" | "month";
407
+ trial: "none";
408
+ taxTreatment: "inclusive";
409
+ merchantTotal: "final";
410
+ };
411
+ productId: string;
412
+ offerId: string;
413
+ offerVersion: number;
414
+ }[];
415
+ }>;
416
+ export type ProductPlanCatalogue = z.infer<typeof productPlanCatalogueSchema>;
@@ -2014,6 +2014,13 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
2014
2014
  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" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[]>>;
2015
2015
  character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
2016
2016
  relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
2017
+ userPreferences: z.ZodOptional<z.ZodObject<{
2018
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2019
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
2020
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2021
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
2022
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2023
+ }, z.ZodUnknown, "strip">>>;
2017
2024
  themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
2018
2025
  personalization: z.ZodOptional<z.ZodObject<{
2019
2026
  mentionMono: z.ZodObject<{
@@ -2059,6 +2066,13 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
2059
2066
  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" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[]>>;
2060
2067
  character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
2061
2068
  relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
2069
+ userPreferences: z.ZodOptional<z.ZodObject<{
2070
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2071
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
2072
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2073
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
2074
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2075
+ }, z.ZodUnknown, "strip">>>;
2062
2076
  themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
2063
2077
  personalization: z.ZodOptional<z.ZodObject<{
2064
2078
  mentionMono: z.ZodObject<{
@@ -2104,6 +2118,13 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
2104
2118
  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" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[]>>;
2105
2119
  character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
2106
2120
  relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
2121
+ userPreferences: z.ZodOptional<z.ZodObject<{
2122
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2123
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
2124
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2125
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
2126
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2127
+ }, z.ZodUnknown, "strip">>>;
2107
2128
  themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
2108
2129
  personalization: z.ZodOptional<z.ZodObject<{
2109
2130
  mentionMono: z.ZodObject<{
@@ -2186,6 +2207,9 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
2186
2207
  dateOfBirth?: string | undefined;
2187
2208
  isAdult?: boolean | undefined;
2188
2209
  languages?: string[] | undefined;
2210
+ userPreferences?: z.objectOutputType<{
2211
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2212
+ }, z.ZodUnknown, "strip"> | undefined;
2189
2213
  themePreference?: import("./userResponse").ThemePreference | undefined;
2190
2214
  personalization?: {
2191
2215
  mentionMono: {
@@ -2229,6 +2253,9 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
2229
2253
  dateOfBirth?: string | undefined;
2230
2254
  isAdult?: boolean | undefined;
2231
2255
  languages?: string[] | undefined;
2256
+ userPreferences?: z.objectInputType<{
2257
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
2258
+ }, z.ZodUnknown, "strip"> | undefined;
2232
2259
  themePreference?: import("./userResponse").ThemePreference | undefined;
2233
2260
  personalization?: {
2234
2261
  mentionMono: {
@@ -349,7 +349,7 @@ export declare const createUpdateRequestSchema: z.ZodObject<{
349
349
  }, "strip", z.ZodTypeAny, {
350
350
  channel: string;
351
351
  applicationId: string;
352
- platform: "ios" | "android";
352
+ platform: "android" | "ios";
353
353
  assets: {
354
354
  key: string;
355
355
  sha256: string;
@@ -376,7 +376,7 @@ export declare const createUpdateRequestSchema: z.ZodObject<{
376
376
  }, {
377
377
  channel: string;
378
378
  applicationId: string;
379
- platform: "ios" | "android";
379
+ platform: "android" | "ios";
380
380
  assets: {
381
381
  key: string;
382
382
  sha256: string;
@@ -480,11 +480,11 @@ export declare const rollbackRequestSchema: z.ZodObject<{
480
480
  platform: z.ZodEnum<["ios", "android"]>;
481
481
  }, "strip", z.ZodTypeAny, {
482
482
  applicationId: string;
483
- platform: "ios" | "android";
483
+ platform: "android" | "ios";
484
484
  runtimeVersion: string;
485
485
  }, {
486
486
  applicationId: string;
487
- platform: "ios" | "android";
487
+ platform: "android" | "ios";
488
488
  runtimeVersion: string;
489
489
  }>;
490
490
  export type RollbackRequest = z.infer<typeof rollbackRequestSchema>;
@@ -499,11 +499,11 @@ export declare const rollbackToEmbeddedRequestSchema: z.ZodObject<{
499
499
  platform: z.ZodEnum<["ios", "android"]>;
500
500
  }, "strip", z.ZodTypeAny, {
501
501
  applicationId: string;
502
- platform: "ios" | "android";
502
+ platform: "android" | "ios";
503
503
  runtimeVersion: string;
504
504
  }, {
505
505
  applicationId: string;
506
- platform: "ios" | "android";
506
+ platform: "android" | "ios";
507
507
  runtimeVersion: string;
508
508
  }>;
509
509
  export type RollbackToEmbeddedRequest = z.infer<typeof rollbackToEmbeddedRequestSchema>;