@oxy.so/contracts 4.15.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/index.js +15 -10
- package/dist/cjs/inference/money.js +10 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/cjs/products/billing.js +0 -1
- package/dist/cjs/products/checkout.js +1 -14
- package/dist/cjs/products/plans.js +2 -18
- package/dist/cjs/signIn.js +40 -1
- package/dist/cjs/userResponse.js +1 -8
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/inference/money.js +10 -0
- package/dist/esm/inference/version.js +1 -1
- package/dist/esm/products/billing.js +0 -1
- package/dist/esm/products/checkout.js +0 -13
- package/dist/esm/products/plans.js +1 -17
- package/dist/esm/signIn.js +38 -0
- package/dist/esm/userResponse.js +1 -8
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/externalIdentity.d.ts +0 -33
- package/dist/types/index.d.ts +3 -3
- package/dist/types/inference/catalogue.d.ts +7 -7
- package/dist/types/inference/decisions.d.ts +31 -31
- package/dist/types/inference/economics.d.ts +5 -5
- package/dist/types/inference/money.d.ts +17 -8
- package/dist/types/inference/priceVersion.d.ts +12 -12
- package/dist/types/inference/realtime.d.ts +24 -24
- package/dist/types/inference/routingPolicy.d.ts +7 -7
- package/dist/types/inference/streamEvents.d.ts +10 -10
- package/dist/types/inference/usage.d.ts +28 -28
- package/dist/types/inference/version.d.ts +1 -1
- package/dist/types/products/billing.d.ts +0 -8
- package/dist/types/products/checkout.d.ts +0 -36
- package/dist/types/products/plans.d.ts +5 -102
- package/dist/types/signIn.d.ts +82 -1
- package/dist/types/userResponse.d.ts +3 -139
- package/package.json +1 -1
|
@@ -237,13 +237,6 @@ 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">>>;
|
|
247
240
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
248
241
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
249
242
|
mentionMono: z.ZodObject<{
|
|
@@ -373,13 +366,6 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
373
366
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
374
367
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
375
368
|
*/
|
|
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">>>;
|
|
383
369
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
384
370
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
385
371
|
mentionMono: z.ZodObject<{
|
|
@@ -509,13 +495,6 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
509
495
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
510
496
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
511
497
|
*/
|
|
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">>>;
|
|
519
498
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
520
499
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
521
500
|
mentionMono: z.ZodObject<{
|
|
@@ -605,13 +584,7 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
605
584
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
606
585
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
607
586
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
608
|
-
userPreferences: z.ZodOptional<z.
|
|
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">>>;
|
|
587
|
+
userPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
615
588
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
616
589
|
/**
|
|
617
590
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -682,13 +655,7 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
682
655
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
683
656
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
684
657
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
685
|
-
userPreferences: z.ZodOptional<z.
|
|
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">>>;
|
|
658
|
+
userPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
692
659
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
693
660
|
/**
|
|
694
661
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -759,13 +726,7 @@ export declare const userProfileUpdateSchema: z.ZodObject<{
|
|
|
759
726
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
760
727
|
accountExpiresAfterInactivityDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
761
728
|
notificationPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
762
|
-
userPreferences: z.ZodOptional<z.
|
|
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">>>;
|
|
729
|
+
userPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
769
730
|
privacySettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
770
731
|
/**
|
|
771
732
|
* Portable theme preference. Written through the same `PUT /users/me`
|
|
@@ -892,13 +853,6 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
892
853
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
893
854
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
894
855
|
*/
|
|
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">>>;
|
|
902
856
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
903
857
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
904
858
|
mentionMono: z.ZodObject<{
|
|
@@ -1028,13 +982,6 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1028
982
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1029
983
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1030
984
|
*/
|
|
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">>>;
|
|
1038
985
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1039
986
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1040
987
|
mentionMono: z.ZodObject<{
|
|
@@ -1164,13 +1111,6 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1164
1111
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1165
1112
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1166
1113
|
*/
|
|
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">>>;
|
|
1174
1114
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1175
1115
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1176
1116
|
mentionMono: z.ZodObject<{
|
|
@@ -1218,9 +1158,6 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1218
1158
|
isAdult?: boolean | undefined;
|
|
1219
1159
|
languages?: string[] | undefined;
|
|
1220
1160
|
relationship?: UserRelationship | undefined;
|
|
1221
|
-
userPreferences?: z.objectOutputType<{
|
|
1222
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1223
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
1224
1161
|
themePreference?: ThemePreference | undefined;
|
|
1225
1162
|
personalization?: {
|
|
1226
1163
|
mentionMono: {
|
|
@@ -1254,9 +1191,6 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
1254
1191
|
isAdult?: boolean | undefined;
|
|
1255
1192
|
languages?: string[] | undefined;
|
|
1256
1193
|
relationship?: UserRelationship | undefined;
|
|
1257
|
-
userPreferences?: z.objectInputType<{
|
|
1258
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
1259
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
1260
1194
|
themePreference?: ThemePreference | undefined;
|
|
1261
1195
|
personalization?: {
|
|
1262
1196
|
mentionMono: {
|
|
@@ -1384,13 +1318,6 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1384
1318
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1385
1319
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1386
1320
|
*/
|
|
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">>>;
|
|
1394
1321
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1395
1322
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1396
1323
|
mentionMono: z.ZodObject<{
|
|
@@ -1520,13 +1447,6 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1520
1447
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1521
1448
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1522
1449
|
*/
|
|
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">>>;
|
|
1530
1450
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1531
1451
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1532
1452
|
mentionMono: z.ZodObject<{
|
|
@@ -1656,13 +1576,6 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1656
1576
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1657
1577
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1658
1578
|
*/
|
|
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">>>;
|
|
1666
1579
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1667
1580
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1668
1581
|
mentionMono: z.ZodObject<{
|
|
@@ -1795,13 +1708,6 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1795
1708
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1796
1709
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1797
1710
|
*/
|
|
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">>>;
|
|
1805
1711
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1806
1712
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1807
1713
|
mentionMono: z.ZodObject<{
|
|
@@ -1935,13 +1841,6 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
|
|
|
1935
1841
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
1936
1842
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
1937
1843
|
*/
|
|
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">>>;
|
|
1945
1844
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
1946
1845
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
1947
1846
|
mentionMono: z.ZodObject<{
|
|
@@ -2079,13 +1978,6 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2079
1978
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2080
1979
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2081
1980
|
*/
|
|
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">>>;
|
|
2089
1981
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2090
1982
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2091
1983
|
mentionMono: z.ZodObject<{
|
|
@@ -2215,13 +2107,6 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2215
2107
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2216
2108
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2217
2109
|
*/
|
|
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">>>;
|
|
2225
2110
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2226
2111
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2227
2112
|
mentionMono: z.ZodObject<{
|
|
@@ -2351,13 +2236,6 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2351
2236
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2352
2237
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2353
2238
|
*/
|
|
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">>>;
|
|
2361
2239
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2362
2240
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2363
2241
|
mentionMono: z.ZodObject<{
|
|
@@ -2490,13 +2368,6 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2490
2368
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2491
2369
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2492
2370
|
*/
|
|
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">>>;
|
|
2500
2371
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2501
2372
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2502
2373
|
mentionMono: z.ZodObject<{
|
|
@@ -2630,13 +2501,6 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
2630
2501
|
* so it is present on the current-user DTO (`GET /users/me`,
|
|
2631
2502
|
* `GET /session/user/:sessionId`) and absent until the user sets it.
|
|
2632
2503
|
*/
|
|
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">>>;
|
|
2640
2504
|
themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
|
|
2641
2505
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2642
2506
|
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.16.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",
|