@oxy.so/contracts 4.22.0 → 4.23.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/client/index.js +6 -3
- package/dist/cjs/client/products.js +33 -11
- 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/client/index.js +1 -1
- package/dist/esm/client/products.js +32 -10
- 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/client/index.d.ts +1 -1
- package/dist/types/client/products.d.ts +43 -10
- package/dist/types/externalIdentity.d.ts +33 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/products/billing.d.ts +8 -0
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +102 -5
- package/dist/types/safety.d.ts +27 -0
- package/dist/types/userResponse.d.ts +139 -3
- package/package.json +1 -1
|
@@ -237,6 +237,13 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
237
237
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
238
238
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
239
239
|
*/
|
|
240
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
242
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
243
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
244
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
245
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
246
|
+
}, z.ZodUnknown, "strip">>>;
|
|
240
247
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
241
248
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
242
249
|
mentionMono: z.ZodObject<{
|
|
@@ -366,6 +373,13 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
366
373
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
367
374
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
368
375
|
*/
|
|
376
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
377
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
378
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
379
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
380
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
381
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
382
|
+
}, z.ZodUnknown, "strip">>>;
|
|
369
383
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
370
384
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
371
385
|
mentionMono: z.ZodObject<{
|
|
@@ -495,6 +509,13 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
495
509
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
496
510
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
497
511
|
*/
|
|
512
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
513
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
514
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
515
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
516
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
517
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
518
|
+
}, z.ZodUnknown, "strip">>>;
|
|
498
519
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
499
520
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
500
521
|
mentionMono: z.ZodObject<{
|
|
@@ -584,7 +605,13 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
584
605
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
585
606
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
586
607
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
587
|
-
userPreferences: z.ZodOptional<z.
|
|
608
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
609
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
610
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
611
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
612
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
613
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
614
|
+
}, z.ZodUnknown, "strip">>>;
|
|
588
615
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
589
616
|
/**
|
|
590
617
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -655,7 +682,13 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
655
682
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
656
683
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
657
684
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
658
|
-
userPreferences: z.ZodOptional<z.
|
|
685
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
687
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
688
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
689
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
690
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
691
|
+
}, z.ZodUnknown, "strip">>>;
|
|
659
692
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
660
693
|
/**
|
|
661
694
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -726,7 +759,13 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
726
759
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
727
760
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
728
761
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
729
|
-
userPreferences: z.ZodOptional<z.
|
|
762
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
764
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
765
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
766
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
767
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
768
|
+
}, z.ZodUnknown, "strip">>>;
|
|
730
769
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
731
770
|
/**
|
|
732
771
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -853,6 +892,13 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
853
892
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
854
893
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
855
894
|
*/
|
|
895
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
896
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
897
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
898
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
899
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
900
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
901
|
+
}, z.ZodUnknown, "strip">>>;
|
|
856
902
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
857
903
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
858
904
|
mentionMono: z.ZodObject<{
|
|
@@ -982,6 +1028,13 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
982
1028
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
983
1029
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
984
1030
|
*/
|
|
1031
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1032
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1033
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1034
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1035
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1036
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1037
|
+
}, z.ZodUnknown, "strip">>>;
|
|
985
1038
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
986
1039
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
987
1040
|
mentionMono: z.ZodObject<{
|
|
@@ -1111,6 +1164,13 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1111
1164
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1112
1165
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1113
1166
|
*/
|
|
1167
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1168
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1169
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1170
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1171
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1172
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1173
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1114
1174
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1115
1175
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1116
1176
|
mentionMono: z.ZodObject<{
|
|
@@ -1158,6 +1218,9 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1158
1218
|
dateOfBirth?: string | undefined;
|
|
1159
1219
|
isAdult?: boolean | undefined;
|
|
1160
1220
|
languages?: string[] | undefined;
|
|
1221
|
+
userPreferences?: z.objectOutputType<{
|
|
1222
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1223
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
1161
1224
|
themePreference?: ThemePreference | undefined;
|
|
1162
1225
|
personalization?: {
|
|
1163
1226
|
mentionMono: {
|
|
@@ -1191,6 +1254,9 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1191
1254
|
dateOfBirth?: string | undefined;
|
|
1192
1255
|
isAdult?: boolean | undefined;
|
|
1193
1256
|
languages?: string[] | undefined;
|
|
1257
|
+
userPreferences?: z.objectInputType<{
|
|
1258
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1259
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
1194
1260
|
themePreference?: ThemePreference | undefined;
|
|
1195
1261
|
personalization?: {
|
|
1196
1262
|
mentionMono: {
|
|
@@ -1318,6 +1384,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1318
1384
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1319
1385
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1320
1386
|
*/
|
|
1387
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1388
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1389
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1390
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1391
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1392
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1393
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1321
1394
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1322
1395
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1323
1396
|
mentionMono: z.ZodObject<{
|
|
@@ -1447,6 +1520,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1447
1520
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1448
1521
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1449
1522
|
*/
|
|
1523
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1524
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1525
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1526
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1527
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1528
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1529
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1450
1530
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1451
1531
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1452
1532
|
mentionMono: z.ZodObject<{
|
|
@@ -1576,6 +1656,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1576
1656
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1577
1657
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1578
1658
|
*/
|
|
1659
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1660
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1661
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1662
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1663
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1664
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1665
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1579
1666
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1580
1667
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1581
1668
|
mentionMono: z.ZodObject<{
|
|
@@ -1708,6 +1795,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1708
1795
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1709
1796
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1710
1797
|
*/
|
|
1798
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1799
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1800
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1801
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1802
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1803
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1804
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1711
1805
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1712
1806
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1713
1807
|
mentionMono: z.ZodObject<{
|
|
@@ -1841,6 +1935,13 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1841
1935
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1842
1936
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1843
1937
|
*/
|
|
1938
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
1939
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1940
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1941
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1942
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1943
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1944
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1844
1945
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1845
1946
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1846
1947
|
mentionMono: z.ZodObject<{
|
|
@@ -1978,6 +2079,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1978
2079
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1979
2080
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1980
2081
|
*/
|
|
2082
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2083
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2084
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2085
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2086
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2087
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2088
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1981
2089
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1982
2090
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1983
2091
|
mentionMono: z.ZodObject<{
|
|
@@ -2107,6 +2215,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2107
2215
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2108
2216
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2109
2217
|
*/
|
|
2218
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2219
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2220
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2221
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2222
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2223
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2224
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2110
2225
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2111
2226
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2112
2227
|
mentionMono: z.ZodObject<{
|
|
@@ -2236,6 +2351,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2236
2351
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2237
2352
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2238
2353
|
*/
|
|
2354
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2355
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2356
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2357
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2358
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2359
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2360
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2239
2361
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2240
2362
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2241
2363
|
mentionMono: z.ZodObject<{
|
|
@@ -2368,6 +2490,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2368
2490
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2369
2491
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2370
2492
|
*/
|
|
2493
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2494
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2495
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2496
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2497
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2498
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2499
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2371
2500
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2372
2501
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2373
2502
|
mentionMono: z.ZodObject<{
|
|
@@ -2501,6 +2630,13 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2501
2630
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2502
2631
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2503
2632
|
*/
|
|
2633
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2634
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2635
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2636
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2637
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2638
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2639
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2504
2640
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2505
2641
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2506
2642
|
mentionMono: z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/contracts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.23.0",
|
|
4
4
|
"description": "OxyHQ API contracts — single source of truth for request/response Zod schemas and inferred types, shared by the backend and the client SDKs",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|