@gigapay-dev/contracts 3.13.0 → 3.13.1
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/build/domains/collections/dtos.d.ts +13 -0
- package/build/domains/collections/dtos.d.ts.map +1 -1
- package/build/domains/collections/index.d.ts +13 -0
- package/build/domains/collections/index.d.ts.map +1 -1
- package/build/domains/collections/queries.d.ts +26 -0
- package/build/domains/collections/queries.d.ts.map +1 -1
- package/build/domains/products/dtos.d.ts +26 -0
- package/build/domains/products/dtos.d.ts.map +1 -1
- package/build/domains/products/dtos.js +2 -0
- package/build/domains/products/dtos.js.map +1 -1
- package/build/domains/products/index.d.ts +131 -169
- package/build/domains/products/index.d.ts.map +1 -1
- package/build/domains/products/index.js +3 -0
- package/build/domains/products/index.js.map +1 -1
- package/build/domains/products/queries.d.ts +110 -6
- package/build/domains/products/queries.d.ts.map +1 -1
- package/build/domains/products/reviews.d.ts +286 -0
- package/build/domains/products/reviews.d.ts.map +1 -0
- package/build/domains/products/reviews.js +81 -0
- package/build/domains/products/reviews.js.map +1 -0
- package/build/index.d.ts +143 -169
- package/build/index.d.ts.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -970,6 +970,19 @@ export declare const AllEndpoints: {
|
|
|
970
970
|
kzt: import("zod").ZodString;
|
|
971
971
|
}, import("zod/v4/core").$strip>;
|
|
972
972
|
popularityScore: import("zod").ZodNumber;
|
|
973
|
+
rating: import("zod").ZodObject<{
|
|
974
|
+
average: import("zod").ZodNumber;
|
|
975
|
+
count: import("zod").ZodNumber;
|
|
976
|
+
distribution: import("zod").ZodObject<{
|
|
977
|
+
1: import("zod").ZodNumber;
|
|
978
|
+
2: import("zod").ZodNumber;
|
|
979
|
+
3: import("zod").ZodNumber;
|
|
980
|
+
4: import("zod").ZodNumber;
|
|
981
|
+
5: import("zod").ZodNumber;
|
|
982
|
+
}, import("zod/v4/core").$strip>;
|
|
983
|
+
userRating: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
984
|
+
canRate: import("zod").ZodBoolean;
|
|
985
|
+
}, import("zod/v4/core").$strip>;
|
|
973
986
|
seo: import("zod").ZodObject<{
|
|
974
987
|
metaTitle: import("zod").ZodString;
|
|
975
988
|
metaDescription: import("zod").ZodString;
|
|
@@ -1080,77 +1093,115 @@ export declare const AllEndpoints: {
|
|
|
1080
1093
|
};
|
|
1081
1094
|
};
|
|
1082
1095
|
readonly products: {
|
|
1096
|
+
readonly rating: {
|
|
1097
|
+
readonly method: "GET";
|
|
1098
|
+
readonly path: "/api/products/:slug/rating";
|
|
1099
|
+
readonly params: import("zod").ZodObject<{
|
|
1100
|
+
slug: import("zod").ZodString;
|
|
1101
|
+
}, import("zod/v4/core").$strip>;
|
|
1102
|
+
readonly response: import("zod").ZodObject<{
|
|
1103
|
+
average: import("zod").ZodNumber;
|
|
1104
|
+
count: import("zod").ZodNumber;
|
|
1105
|
+
distribution: import("zod").ZodObject<{
|
|
1106
|
+
1: import("zod").ZodNumber;
|
|
1107
|
+
2: import("zod").ZodNumber;
|
|
1108
|
+
3: import("zod").ZodNumber;
|
|
1109
|
+
4: import("zod").ZodNumber;
|
|
1110
|
+
5: import("zod").ZodNumber;
|
|
1111
|
+
}, import("zod/v4/core").$strip>;
|
|
1112
|
+
userRating: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1113
|
+
canRate: import("zod").ZodBoolean;
|
|
1114
|
+
}, import("zod/v4/core").$strip>;
|
|
1115
|
+
};
|
|
1116
|
+
readonly list: {
|
|
1117
|
+
readonly method: "GET";
|
|
1118
|
+
readonly path: "/api/products/:slug/reviews";
|
|
1119
|
+
readonly params: import("zod").ZodObject<{
|
|
1120
|
+
slug: import("zod").ZodString;
|
|
1121
|
+
}, import("zod/v4/core").$strip>;
|
|
1122
|
+
readonly query: import("zod").ZodObject<{
|
|
1123
|
+
skip: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1124
|
+
take: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1125
|
+
rating: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1126
|
+
sort: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1127
|
+
newest: "newest";
|
|
1128
|
+
highest: "highest";
|
|
1129
|
+
lowest: "lowest";
|
|
1130
|
+
}>>;
|
|
1131
|
+
}, import("zod/v4/core").$strip>;
|
|
1132
|
+
readonly response: import("zod").ZodObject<{
|
|
1133
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1134
|
+
id: import("zod").ZodNumber;
|
|
1135
|
+
author: import("zod").ZodObject<{
|
|
1136
|
+
displayName: import("zod").ZodString;
|
|
1137
|
+
}, import("zod/v4/core").$strip>;
|
|
1138
|
+
rating: import("zod").ZodNumber;
|
|
1139
|
+
text: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1140
|
+
verifiedPurchase: import("zod").ZodLiteral<true>;
|
|
1141
|
+
isMine: import("zod").ZodBoolean;
|
|
1142
|
+
createdAt: import("zod").ZodString;
|
|
1143
|
+
updatedAt: import("zod").ZodString;
|
|
1144
|
+
}, import("zod/v4/core").$strip>>;
|
|
1145
|
+
total: import("zod").ZodNumber;
|
|
1146
|
+
skip: import("zod").ZodNumber;
|
|
1147
|
+
take: import("zod").ZodNumber;
|
|
1148
|
+
}, import("zod/v4/core").$strip>;
|
|
1149
|
+
};
|
|
1083
1150
|
readonly create: {
|
|
1084
1151
|
readonly method: "POST";
|
|
1085
|
-
readonly path: "/api/
|
|
1086
|
-
readonly
|
|
1152
|
+
readonly path: "/api/products/:slug/review";
|
|
1153
|
+
readonly params: import("zod").ZodObject<{
|
|
1087
1154
|
slug: import("zod").ZodString;
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
GAME_GIFT: "GAME_GIFT";
|
|
1093
|
-
TOPUP: "TOPUP";
|
|
1094
|
-
SUBSCRIPTION: "SUBSCRIPTION";
|
|
1095
|
-
IN_GAME_ITEM: "IN_GAME_ITEM";
|
|
1096
|
-
DLC: "DLC";
|
|
1097
|
-
CURRENCY: "CURRENCY";
|
|
1098
|
-
VOUCHER: "VOUCHER";
|
|
1099
|
-
}>;
|
|
1100
|
-
basePriceUsd: import("zod").ZodString;
|
|
1101
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1102
|
-
shortDescription: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1103
|
-
coverImageUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1104
|
-
catalogImageUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1105
|
-
cardImageUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1106
|
-
steamAppId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1107
|
-
metaTitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1108
|
-
metaDescription: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1109
|
-
ogImageUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1110
|
-
categoryId: import("zod").ZodNumber;
|
|
1155
|
+
}, import("zod/v4/core").$strip>;
|
|
1156
|
+
readonly request: import("zod").ZodObject<{
|
|
1157
|
+
rating: import("zod").ZodNumber;
|
|
1158
|
+
text: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1111
1159
|
}, import("zod/v4/core").$strip>;
|
|
1112
1160
|
readonly response: import("zod").ZodObject<{
|
|
1113
1161
|
id: import("zod").ZodNumber;
|
|
1162
|
+
author: import("zod").ZodObject<{
|
|
1163
|
+
displayName: import("zod").ZodString;
|
|
1164
|
+
}, import("zod/v4/core").$strip>;
|
|
1165
|
+
rating: import("zod").ZodNumber;
|
|
1166
|
+
text: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1167
|
+
verifiedPurchase: import("zod").ZodLiteral<true>;
|
|
1168
|
+
isMine: import("zod").ZodBoolean;
|
|
1169
|
+
createdAt: import("zod").ZodString;
|
|
1170
|
+
updatedAt: import("zod").ZodString;
|
|
1114
1171
|
}, import("zod/v4/core").$strip>;
|
|
1115
1172
|
readonly requiresAuth: true;
|
|
1116
|
-
readonly
|
|
1173
|
+
readonly rateLimit: {
|
|
1174
|
+
readonly limit: 5;
|
|
1175
|
+
readonly ttlSec: 60;
|
|
1176
|
+
};
|
|
1117
1177
|
};
|
|
1118
1178
|
readonly update: {
|
|
1119
1179
|
readonly method: "PUT";
|
|
1120
|
-
readonly path: "/api/
|
|
1180
|
+
readonly path: "/api/products/:slug/review";
|
|
1121
1181
|
readonly params: import("zod").ZodObject<{
|
|
1122
|
-
|
|
1182
|
+
slug: import("zod").ZodString;
|
|
1123
1183
|
}, import("zod/v4/core").$strip>;
|
|
1124
1184
|
readonly request: import("zod").ZodObject<{
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1128
|
-
GAME_KEY: "GAME_KEY";
|
|
1129
|
-
GAME_GIFT: "GAME_GIFT";
|
|
1130
|
-
TOPUP: "TOPUP";
|
|
1131
|
-
SUBSCRIPTION: "SUBSCRIPTION";
|
|
1132
|
-
IN_GAME_ITEM: "IN_GAME_ITEM";
|
|
1133
|
-
DLC: "DLC";
|
|
1134
|
-
CURRENCY: "CURRENCY";
|
|
1135
|
-
VOUCHER: "VOUCHER";
|
|
1136
|
-
}>>;
|
|
1137
|
-
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1138
|
-
shortDescription: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1139
|
-
coverImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
1140
|
-
catalogImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
1141
|
-
cardImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
1142
|
-
basePriceUsd: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1143
|
-
steamAppId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
1144
|
-
metaTitle: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1145
|
-
metaDescription: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1146
|
-
ogImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
1147
|
-
categoryId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1185
|
+
rating: import("zod").ZodNumber;
|
|
1186
|
+
text: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1148
1187
|
}, import("zod/v4/core").$strip>;
|
|
1149
1188
|
readonly response: import("zod").ZodObject<{
|
|
1150
1189
|
id: import("zod").ZodNumber;
|
|
1190
|
+
author: import("zod").ZodObject<{
|
|
1191
|
+
displayName: import("zod").ZodString;
|
|
1192
|
+
}, import("zod/v4/core").$strip>;
|
|
1193
|
+
rating: import("zod").ZodNumber;
|
|
1194
|
+
text: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1195
|
+
verifiedPurchase: import("zod").ZodLiteral<true>;
|
|
1196
|
+
isMine: import("zod").ZodBoolean;
|
|
1197
|
+
createdAt: import("zod").ZodString;
|
|
1198
|
+
updatedAt: import("zod").ZodString;
|
|
1151
1199
|
}, import("zod/v4/core").$strip>;
|
|
1152
1200
|
readonly requiresAuth: true;
|
|
1153
|
-
readonly
|
|
1201
|
+
readonly rateLimit: {
|
|
1202
|
+
readonly limit: 5;
|
|
1203
|
+
readonly ttlSec: 60;
|
|
1204
|
+
};
|
|
1154
1205
|
};
|
|
1155
1206
|
readonly replaceMedia: {
|
|
1156
1207
|
readonly method: "PUT";
|
|
@@ -1485,122 +1536,6 @@ export declare const AllEndpoints: {
|
|
|
1485
1536
|
readonly requiresAuth: true;
|
|
1486
1537
|
readonly requiresAdmin: true;
|
|
1487
1538
|
};
|
|
1488
|
-
readonly list: {
|
|
1489
|
-
readonly method: "GET";
|
|
1490
|
-
readonly path: "/api/products";
|
|
1491
|
-
readonly query: import("zod").ZodObject<{
|
|
1492
|
-
skip: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1493
|
-
take: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1494
|
-
showcaseId: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
1495
|
-
subShowcaseId: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
1496
|
-
categoryId: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
1497
|
-
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1498
|
-
GAME_KEY: "GAME_KEY";
|
|
1499
|
-
GAME_GIFT: "GAME_GIFT";
|
|
1500
|
-
TOPUP: "TOPUP";
|
|
1501
|
-
SUBSCRIPTION: "SUBSCRIPTION";
|
|
1502
|
-
IN_GAME_ITEM: "IN_GAME_ITEM";
|
|
1503
|
-
DLC: "DLC";
|
|
1504
|
-
CURRENCY: "CURRENCY";
|
|
1505
|
-
VOUCHER: "VOUCHER";
|
|
1506
|
-
}>>;
|
|
1507
|
-
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1508
|
-
sort: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1509
|
-
popular: "popular";
|
|
1510
|
-
newest: "newest";
|
|
1511
|
-
price_asc: "price_asc";
|
|
1512
|
-
price_desc: "price_desc";
|
|
1513
|
-
}>>;
|
|
1514
|
-
currency: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1515
|
-
USD: "USD";
|
|
1516
|
-
RUB: "RUB";
|
|
1517
|
-
UAH: "UAH";
|
|
1518
|
-
KZT: "KZT";
|
|
1519
|
-
}>>;
|
|
1520
|
-
}, import("zod/v4/core").$strip>;
|
|
1521
|
-
readonly response: import("zod").ZodObject<{
|
|
1522
|
-
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1523
|
-
id: import("zod").ZodNumber;
|
|
1524
|
-
slug: import("zod").ZodString;
|
|
1525
|
-
title: import("zod").ZodString;
|
|
1526
|
-
type: import("zod").ZodEnum<{
|
|
1527
|
-
GAME_KEY: "GAME_KEY";
|
|
1528
|
-
GAME_GIFT: "GAME_GIFT";
|
|
1529
|
-
TOPUP: "TOPUP";
|
|
1530
|
-
SUBSCRIPTION: "SUBSCRIPTION";
|
|
1531
|
-
IN_GAME_ITEM: "IN_GAME_ITEM";
|
|
1532
|
-
DLC: "DLC";
|
|
1533
|
-
CURRENCY: "CURRENCY";
|
|
1534
|
-
VOUCHER: "VOUCHER";
|
|
1535
|
-
}>;
|
|
1536
|
-
status: import("zod").ZodEnum<{
|
|
1537
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
1538
|
-
ACTIVE: "ACTIVE";
|
|
1539
|
-
DRAFT: "DRAFT";
|
|
1540
|
-
ARCHIVED: "ARCHIVED";
|
|
1541
|
-
}>;
|
|
1542
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1543
|
-
shortDescription: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1544
|
-
coverImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1545
|
-
basePrice: import("zod").ZodObject<{
|
|
1546
|
-
usd: import("zod").ZodString;
|
|
1547
|
-
rub: import("zod").ZodString;
|
|
1548
|
-
uah: import("zod").ZodString;
|
|
1549
|
-
kzt: import("zod").ZodString;
|
|
1550
|
-
}, import("zod/v4/core").$strip>;
|
|
1551
|
-
popularityScore: import("zod").ZodNumber;
|
|
1552
|
-
seo: import("zod").ZodObject<{
|
|
1553
|
-
metaTitle: import("zod").ZodString;
|
|
1554
|
-
metaDescription: import("zod").ZodString;
|
|
1555
|
-
ogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1556
|
-
canonicalPath: import("zod").ZodString;
|
|
1557
|
-
breadcrumb: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1558
|
-
id: import("zod").ZodNumber;
|
|
1559
|
-
slug: import("zod").ZodString;
|
|
1560
|
-
name: import("zod").ZodString;
|
|
1561
|
-
}, import("zod/v4/core").$strip>>;
|
|
1562
|
-
}, import("zod/v4/core").$strip>;
|
|
1563
|
-
variants: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1564
|
-
id: import("zod").ZodNumber;
|
|
1565
|
-
name: import("zod").ZodString;
|
|
1566
|
-
sku: import("zod").ZodString;
|
|
1567
|
-
imageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1568
|
-
price: import("zod").ZodObject<{
|
|
1569
|
-
usd: import("zod").ZodString;
|
|
1570
|
-
rub: import("zod").ZodString;
|
|
1571
|
-
uah: import("zod").ZodString;
|
|
1572
|
-
kzt: import("zod").ZodString;
|
|
1573
|
-
}, import("zod/v4/core").$strip>;
|
|
1574
|
-
deliveryType: import("zod").ZodEnum<{
|
|
1575
|
-
AUTOMATIC: "AUTOMATIC";
|
|
1576
|
-
MANUAL: "MANUAL";
|
|
1577
|
-
BOT: "BOT";
|
|
1578
|
-
}>;
|
|
1579
|
-
desslyServiceType: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1580
|
-
VOUCHER: "VOUCHER";
|
|
1581
|
-
STEAM_TOPUP: "STEAM_TOPUP";
|
|
1582
|
-
STEAM_GIFT: "STEAM_GIFT";
|
|
1583
|
-
MOBILE_REFILL: "MOBILE_REFILL";
|
|
1584
|
-
CRYPTO_REFILL: "CRYPTO_REFILL";
|
|
1585
|
-
}>>;
|
|
1586
|
-
isActive: import("zod").ZodBoolean;
|
|
1587
|
-
}, import("zod/v4/core").$strip>>;
|
|
1588
|
-
media: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1589
|
-
id: import("zod").ZodNumber;
|
|
1590
|
-
type: import("zod").ZodEnum<{
|
|
1591
|
-
IMAGE: "IMAGE";
|
|
1592
|
-
VIDEO: "VIDEO";
|
|
1593
|
-
}>;
|
|
1594
|
-
url: import("zod").ZodString;
|
|
1595
|
-
thumbnailUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1596
|
-
sortOrder: import("zod").ZodNumber;
|
|
1597
|
-
}, import("zod/v4/core").$strip>>;
|
|
1598
|
-
}, import("zod/v4/core").$strip>>;
|
|
1599
|
-
total: import("zod").ZodNumber;
|
|
1600
|
-
skip: import("zod").ZodNumber;
|
|
1601
|
-
take: import("zod").ZodNumber;
|
|
1602
|
-
}, import("zod/v4/core").$strip>;
|
|
1603
|
-
};
|
|
1604
1539
|
readonly getBySlug: {
|
|
1605
1540
|
readonly method: "GET";
|
|
1606
1541
|
readonly path: "/api/products/:slug";
|
|
@@ -1645,6 +1580,19 @@ export declare const AllEndpoints: {
|
|
|
1645
1580
|
kzt: import("zod").ZodString;
|
|
1646
1581
|
}, import("zod/v4/core").$strip>;
|
|
1647
1582
|
popularityScore: import("zod").ZodNumber;
|
|
1583
|
+
rating: import("zod").ZodObject<{
|
|
1584
|
+
average: import("zod").ZodNumber;
|
|
1585
|
+
count: import("zod").ZodNumber;
|
|
1586
|
+
distribution: import("zod").ZodObject<{
|
|
1587
|
+
1: import("zod").ZodNumber;
|
|
1588
|
+
2: import("zod").ZodNumber;
|
|
1589
|
+
3: import("zod").ZodNumber;
|
|
1590
|
+
4: import("zod").ZodNumber;
|
|
1591
|
+
5: import("zod").ZodNumber;
|
|
1592
|
+
}, import("zod/v4/core").$strip>;
|
|
1593
|
+
userRating: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1594
|
+
canRate: import("zod").ZodBoolean;
|
|
1595
|
+
}, import("zod/v4/core").$strip>;
|
|
1648
1596
|
seo: import("zod").ZodObject<{
|
|
1649
1597
|
metaTitle: import("zod").ZodString;
|
|
1650
1598
|
metaDescription: import("zod").ZodString;
|
|
@@ -1727,8 +1675,8 @@ export declare const AllEndpoints: {
|
|
|
1727
1675
|
}>>;
|
|
1728
1676
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1729
1677
|
sort: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1730
|
-
popular: "popular";
|
|
1731
1678
|
newest: "newest";
|
|
1679
|
+
popular: "popular";
|
|
1732
1680
|
price_asc: "price_asc";
|
|
1733
1681
|
price_desc: "price_desc";
|
|
1734
1682
|
}>>;
|
|
@@ -1770,6 +1718,19 @@ export declare const AllEndpoints: {
|
|
|
1770
1718
|
kzt: import("zod").ZodString;
|
|
1771
1719
|
}, import("zod/v4/core").$strip>;
|
|
1772
1720
|
popularityScore: import("zod").ZodNumber;
|
|
1721
|
+
rating: import("zod").ZodObject<{
|
|
1722
|
+
average: import("zod").ZodNumber;
|
|
1723
|
+
count: import("zod").ZodNumber;
|
|
1724
|
+
distribution: import("zod").ZodObject<{
|
|
1725
|
+
1: import("zod").ZodNumber;
|
|
1726
|
+
2: import("zod").ZodNumber;
|
|
1727
|
+
3: import("zod").ZodNumber;
|
|
1728
|
+
4: import("zod").ZodNumber;
|
|
1729
|
+
5: import("zod").ZodNumber;
|
|
1730
|
+
}, import("zod/v4/core").$strip>;
|
|
1731
|
+
userRating: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1732
|
+
canRate: import("zod").ZodBoolean;
|
|
1733
|
+
}, import("zod/v4/core").$strip>;
|
|
1773
1734
|
seo: import("zod").ZodObject<{
|
|
1774
1735
|
metaTitle: import("zod").ZodString;
|
|
1775
1736
|
metaDescription: import("zod").ZodString;
|
|
@@ -1911,6 +1872,19 @@ export declare const AllEndpoints: {
|
|
|
1911
1872
|
kzt: import("zod").ZodString;
|
|
1912
1873
|
}, import("zod/v4/core").$strip>;
|
|
1913
1874
|
popularityScore: import("zod").ZodNumber;
|
|
1875
|
+
rating: import("zod").ZodObject<{
|
|
1876
|
+
average: import("zod").ZodNumber;
|
|
1877
|
+
count: import("zod").ZodNumber;
|
|
1878
|
+
distribution: import("zod").ZodObject<{
|
|
1879
|
+
1: import("zod").ZodNumber;
|
|
1880
|
+
2: import("zod").ZodNumber;
|
|
1881
|
+
3: import("zod").ZodNumber;
|
|
1882
|
+
4: import("zod").ZodNumber;
|
|
1883
|
+
5: import("zod").ZodNumber;
|
|
1884
|
+
}, import("zod/v4/core").$strip>;
|
|
1885
|
+
userRating: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1886
|
+
canRate: import("zod").ZodBoolean;
|
|
1887
|
+
}, import("zod/v4/core").$strip>;
|
|
1914
1888
|
seo: import("zod").ZodObject<{
|
|
1915
1889
|
metaTitle: import("zod").ZodString;
|
|
1916
1890
|
metaDescription: import("zod").ZodString;
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AAepC,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,C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