@deliverart/sdk-js-menu 2.6.1 → 2.6.2
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/index.cjs +9 -9
- package/dist/index.d.cts +36 -310
- package/dist/index.d.ts +36 -310
- package/dist/index.js +18 -18
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -997,7 +997,7 @@ declare const getMenuItemCategoriesQuerySchema: z.ZodObject<{
|
|
|
997
997
|
type GetMenuItemCategoriesQueryParams = z.infer<typeof getMenuItemCategoriesQuerySchema>;
|
|
998
998
|
declare const getMenuItemCategoriesInputSchema: z.ZodUndefined;
|
|
999
999
|
type GetMenuItemCategoriesInput = z.input<typeof getMenuItemCategoriesInputSchema>;
|
|
1000
|
-
declare const getMenuItemCategoriesResponseSchema: z.
|
|
1000
|
+
declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
1001
1001
|
data: z.ZodArray<z.ZodObject<{
|
|
1002
1002
|
id: z.ZodString;
|
|
1003
1003
|
name: z.ZodArray<z.ZodObject<{
|
|
@@ -1039,46 +1039,14 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
1039
1039
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1040
1040
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1041
1041
|
}, z.core.$strip>;
|
|
1042
|
-
}, z.core.$strip
|
|
1043
|
-
id: z.ZodString;
|
|
1044
|
-
name: z.ZodArray<z.ZodObject<{
|
|
1045
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1046
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1047
|
-
}, z.core.$strip>>;
|
|
1048
|
-
description: z.ZodArray<z.ZodObject<{
|
|
1049
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1050
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1051
|
-
}, z.core.$strip>>;
|
|
1052
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
1053
|
-
suspended: z.ZodBoolean;
|
|
1054
|
-
images: z.ZodArray<z.ZodObject<{
|
|
1055
|
-
id: z.ZodString;
|
|
1056
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1057
|
-
contentUrl: z.ZodURL;
|
|
1058
|
-
filePath: z.ZodString;
|
|
1059
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1060
|
-
createdAt: z.ZodString;
|
|
1061
|
-
updatedAt: z.ZodString;
|
|
1062
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1063
|
-
id: z.ZodString;
|
|
1064
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1065
|
-
contentUrl: z.ZodURL;
|
|
1066
|
-
filePath: z.ZodString;
|
|
1067
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1068
|
-
createdAt: z.ZodString;
|
|
1069
|
-
updatedAt: z.ZodString;
|
|
1070
|
-
}, z.core.$strip>>>;
|
|
1071
|
-
}, z.core.$strip>>;
|
|
1072
|
-
createdAt: z.ZodString;
|
|
1073
|
-
updatedAt: z.ZodString;
|
|
1074
|
-
}, z.core.$strip>>]>;
|
|
1042
|
+
}, z.core.$strip>;
|
|
1075
1043
|
type GetMenuItemCategoriesResponse = z.infer<typeof getMenuItemCategoriesResponseSchema>;
|
|
1076
1044
|
declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuItemCategoriesInputSchema, typeof getMenuItemCategoriesResponseSchema, GetMenuItemCategoriesQueryParams> {
|
|
1077
1045
|
readonly method: "GET";
|
|
1078
1046
|
readonly contentType: "application/json";
|
|
1079
1047
|
readonly accept: "application/json";
|
|
1080
1048
|
readonly inputSchema: z.ZodUndefined;
|
|
1081
|
-
readonly outputSchema: z.
|
|
1049
|
+
readonly outputSchema: z.ZodObject<{
|
|
1082
1050
|
data: z.ZodArray<z.ZodObject<{
|
|
1083
1051
|
id: z.ZodString;
|
|
1084
1052
|
name: z.ZodArray<z.ZodObject<{
|
|
@@ -1120,39 +1088,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1120
1088
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1121
1089
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1122
1090
|
}, z.core.$strip>;
|
|
1123
|
-
}, z.core.$strip
|
|
1124
|
-
id: z.ZodString;
|
|
1125
|
-
name: z.ZodArray<z.ZodObject<{
|
|
1126
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1127
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1128
|
-
}, z.core.$strip>>;
|
|
1129
|
-
description: z.ZodArray<z.ZodObject<{
|
|
1130
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1131
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1132
|
-
}, z.core.$strip>>;
|
|
1133
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
1134
|
-
suspended: z.ZodBoolean;
|
|
1135
|
-
images: z.ZodArray<z.ZodObject<{
|
|
1136
|
-
id: z.ZodString;
|
|
1137
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1138
|
-
contentUrl: z.ZodURL;
|
|
1139
|
-
filePath: z.ZodString;
|
|
1140
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1141
|
-
createdAt: z.ZodString;
|
|
1142
|
-
updatedAt: z.ZodString;
|
|
1143
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1144
|
-
id: z.ZodString;
|
|
1145
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1146
|
-
contentUrl: z.ZodURL;
|
|
1147
|
-
filePath: z.ZodString;
|
|
1148
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1149
|
-
createdAt: z.ZodString;
|
|
1150
|
-
updatedAt: z.ZodString;
|
|
1151
|
-
}, z.core.$strip>>>;
|
|
1152
|
-
}, z.core.$strip>>;
|
|
1153
|
-
createdAt: z.ZodString;
|
|
1154
|
-
updatedAt: z.ZodString;
|
|
1155
|
-
}, z.core.$strip>>]>;
|
|
1091
|
+
}, z.core.$strip>;
|
|
1156
1092
|
readonly querySchema: z.ZodObject<{
|
|
1157
1093
|
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1158
1094
|
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -1237,7 +1173,7 @@ declare const getMenuItemCategoriesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
|
1237
1173
|
type GetMenuItemCategoriesFromPointOfSaleQueryParams = z.infer<typeof getMenuItemCategoriesFromPointOfSaleQuerySchema>;
|
|
1238
1174
|
declare const getMenuItemCategoriesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
1239
1175
|
type GetMenuItemCategoriesFromPointOfSaleInput = z.input<typeof getMenuItemCategoriesFromPointOfSaleInputSchema>;
|
|
1240
|
-
declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.
|
|
1176
|
+
declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
1241
1177
|
data: z.ZodArray<z.ZodObject<{
|
|
1242
1178
|
id: z.ZodString;
|
|
1243
1179
|
name: z.ZodArray<z.ZodObject<{
|
|
@@ -1279,46 +1215,14 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodUnion<rea
|
|
|
1279
1215
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1280
1216
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1281
1217
|
}, z.core.$strip>;
|
|
1282
|
-
}, z.core.$strip
|
|
1283
|
-
id: z.ZodString;
|
|
1284
|
-
name: z.ZodArray<z.ZodObject<{
|
|
1285
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1286
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1287
|
-
}, z.core.$strip>>;
|
|
1288
|
-
description: z.ZodArray<z.ZodObject<{
|
|
1289
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1290
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1291
|
-
}, z.core.$strip>>;
|
|
1292
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
1293
|
-
suspended: z.ZodBoolean;
|
|
1294
|
-
images: z.ZodArray<z.ZodObject<{
|
|
1295
|
-
id: z.ZodString;
|
|
1296
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1297
|
-
contentUrl: z.ZodURL;
|
|
1298
|
-
filePath: z.ZodString;
|
|
1299
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1300
|
-
createdAt: z.ZodString;
|
|
1301
|
-
updatedAt: z.ZodString;
|
|
1302
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1303
|
-
id: z.ZodString;
|
|
1304
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1305
|
-
contentUrl: z.ZodURL;
|
|
1306
|
-
filePath: z.ZodString;
|
|
1307
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1308
|
-
createdAt: z.ZodString;
|
|
1309
|
-
updatedAt: z.ZodString;
|
|
1310
|
-
}, z.core.$strip>>>;
|
|
1311
|
-
}, z.core.$strip>>;
|
|
1312
|
-
createdAt: z.ZodString;
|
|
1313
|
-
updatedAt: z.ZodString;
|
|
1314
|
-
}, z.core.$strip>>]>;
|
|
1218
|
+
}, z.core.$strip>;
|
|
1315
1219
|
type GetMenuItemCategoriesFromPointOfSaleResponse = z.infer<typeof getMenuItemCategoriesFromPointOfSaleResponseSchema>;
|
|
1316
1220
|
declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<typeof getMenuItemCategoriesFromPointOfSaleInputSchema, typeof getMenuItemCategoriesFromPointOfSaleResponseSchema, GetMenuItemCategoriesFromPointOfSaleQueryParams> {
|
|
1317
1221
|
readonly method: "GET";
|
|
1318
1222
|
readonly contentType: "application/json";
|
|
1319
1223
|
readonly accept: "application/json";
|
|
1320
1224
|
readonly inputSchema: z.ZodUndefined;
|
|
1321
|
-
readonly outputSchema: z.
|
|
1225
|
+
readonly outputSchema: z.ZodObject<{
|
|
1322
1226
|
data: z.ZodArray<z.ZodObject<{
|
|
1323
1227
|
id: z.ZodString;
|
|
1324
1228
|
name: z.ZodArray<z.ZodObject<{
|
|
@@ -1360,39 +1264,7 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1360
1264
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1361
1265
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1362
1266
|
}, z.core.$strip>;
|
|
1363
|
-
}, z.core.$strip
|
|
1364
|
-
id: z.ZodString;
|
|
1365
|
-
name: z.ZodArray<z.ZodObject<{
|
|
1366
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1367
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1368
|
-
}, z.core.$strip>>;
|
|
1369
|
-
description: z.ZodArray<z.ZodObject<{
|
|
1370
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1371
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1372
|
-
}, z.core.$strip>>;
|
|
1373
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
1374
|
-
suspended: z.ZodBoolean;
|
|
1375
|
-
images: z.ZodArray<z.ZodObject<{
|
|
1376
|
-
id: z.ZodString;
|
|
1377
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1378
|
-
contentUrl: z.ZodURL;
|
|
1379
|
-
filePath: z.ZodString;
|
|
1380
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1381
|
-
createdAt: z.ZodString;
|
|
1382
|
-
updatedAt: z.ZodString;
|
|
1383
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1384
|
-
id: z.ZodString;
|
|
1385
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
1386
|
-
contentUrl: z.ZodURL;
|
|
1387
|
-
filePath: z.ZodString;
|
|
1388
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1389
|
-
createdAt: z.ZodString;
|
|
1390
|
-
updatedAt: z.ZodString;
|
|
1391
|
-
}, z.core.$strip>>>;
|
|
1392
|
-
}, z.core.$strip>>;
|
|
1393
|
-
createdAt: z.ZodString;
|
|
1394
|
-
updatedAt: z.ZodString;
|
|
1395
|
-
}, z.core.$strip>>]>;
|
|
1267
|
+
}, z.core.$strip>;
|
|
1396
1268
|
readonly querySchema: z.ZodObject<{
|
|
1397
1269
|
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1398
1270
|
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -1870,7 +1742,7 @@ declare const getMenuItemModifiersQuerySchema: z.ZodObject<{
|
|
|
1870
1742
|
type GetMenuItemModifiersQueryParams = z.infer<typeof getMenuItemModifiersQuerySchema>;
|
|
1871
1743
|
declare const getMenuItemModifiersInputSchema: z.ZodUndefined;
|
|
1872
1744
|
type GetMenuItemModifiersInput = z.input<typeof getMenuItemModifiersInputSchema>;
|
|
1873
|
-
declare const getMenuItemModifiersResponseSchema: z.
|
|
1745
|
+
declare const getMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
1874
1746
|
data: z.ZodArray<z.ZodObject<{
|
|
1875
1747
|
id: z.ZodString;
|
|
1876
1748
|
targetItemType: z.ZodEnum<{
|
|
@@ -1904,38 +1776,14 @@ declare const getMenuItemModifiersResponseSchema: z.ZodUnion<readonly [z.ZodObje
|
|
|
1904
1776
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1905
1777
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1906
1778
|
}, z.core.$strip>;
|
|
1907
|
-
}, z.core.$strip
|
|
1908
|
-
id: z.ZodString;
|
|
1909
|
-
targetItemType: z.ZodEnum<{
|
|
1910
|
-
ITEM: "ITEM";
|
|
1911
|
-
BUNDLE: "BUNDLE";
|
|
1912
|
-
}>;
|
|
1913
|
-
name: z.ZodArray<z.ZodObject<{
|
|
1914
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1915
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1916
|
-
}, z.core.$strip>>;
|
|
1917
|
-
description: z.ZodArray<z.ZodObject<{
|
|
1918
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1919
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1920
|
-
}, z.core.$strip>>;
|
|
1921
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
1922
|
-
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1923
|
-
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1924
|
-
repeatable: z.ZodBoolean;
|
|
1925
|
-
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1926
|
-
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1927
|
-
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1928
|
-
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1929
|
-
createdAt: z.ZodString;
|
|
1930
|
-
updatedAt: z.ZodString;
|
|
1931
|
-
}, z.core.$strip>>]>;
|
|
1779
|
+
}, z.core.$strip>;
|
|
1932
1780
|
type GetMenuItemModifiersResponse = z.infer<typeof getMenuItemModifiersResponseSchema>;
|
|
1933
1781
|
declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItemModifiersInputSchema, typeof getMenuItemModifiersResponseSchema, GetMenuItemModifiersQueryParams> {
|
|
1934
1782
|
readonly method: "GET";
|
|
1935
1783
|
readonly contentType: "application/json";
|
|
1936
1784
|
readonly accept: "application/json";
|
|
1937
1785
|
readonly inputSchema: z.ZodUndefined;
|
|
1938
|
-
readonly outputSchema: z.
|
|
1786
|
+
readonly outputSchema: z.ZodObject<{
|
|
1939
1787
|
data: z.ZodArray<z.ZodObject<{
|
|
1940
1788
|
id: z.ZodString;
|
|
1941
1789
|
targetItemType: z.ZodEnum<{
|
|
@@ -1969,31 +1817,7 @@ declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItem
|
|
|
1969
1817
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1970
1818
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1971
1819
|
}, z.core.$strip>;
|
|
1972
|
-
}, z.core.$strip
|
|
1973
|
-
id: z.ZodString;
|
|
1974
|
-
targetItemType: z.ZodEnum<{
|
|
1975
|
-
ITEM: "ITEM";
|
|
1976
|
-
BUNDLE: "BUNDLE";
|
|
1977
|
-
}>;
|
|
1978
|
-
name: z.ZodArray<z.ZodObject<{
|
|
1979
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1980
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1981
|
-
}, z.core.$strip>>;
|
|
1982
|
-
description: z.ZodArray<z.ZodObject<{
|
|
1983
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
1984
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
1985
|
-
}, z.core.$strip>>;
|
|
1986
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
1987
|
-
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1988
|
-
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1989
|
-
repeatable: z.ZodBoolean;
|
|
1990
|
-
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1991
|
-
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1992
|
-
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1993
|
-
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1994
|
-
createdAt: z.ZodString;
|
|
1995
|
-
updatedAt: z.ZodString;
|
|
1996
|
-
}, z.core.$strip>>]>;
|
|
1820
|
+
}, z.core.$strip>;
|
|
1997
1821
|
readonly querySchema: z.ZodObject<{
|
|
1998
1822
|
repeatable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1999
1823
|
'minSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -2090,7 +1914,7 @@ declare const getMenuItemModifiersFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
|
2090
1914
|
type GetMenuItemModifiersFromPointOfSaleQueryParams = z.infer<typeof getMenuItemModifiersFromPointOfSaleQuerySchema>;
|
|
2091
1915
|
declare const getMenuItemModifiersFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
2092
1916
|
type GetMenuItemModifiersFromPointOfSaleInput = z.input<typeof getMenuItemModifiersFromPointOfSaleInputSchema>;
|
|
2093
|
-
declare const getMenuItemModifiersFromPointOfSaleResponseSchema: z.
|
|
1917
|
+
declare const getMenuItemModifiersFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
2094
1918
|
data: z.ZodArray<z.ZodObject<{
|
|
2095
1919
|
id: z.ZodString;
|
|
2096
1920
|
targetItemType: z.ZodEnum<{
|
|
@@ -2124,38 +1948,14 @@ declare const getMenuItemModifiersFromPointOfSaleResponseSchema: z.ZodUnion<read
|
|
|
2124
1948
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2125
1949
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2126
1950
|
}, z.core.$strip>;
|
|
2127
|
-
}, z.core.$strip
|
|
2128
|
-
id: z.ZodString;
|
|
2129
|
-
targetItemType: z.ZodEnum<{
|
|
2130
|
-
ITEM: "ITEM";
|
|
2131
|
-
BUNDLE: "BUNDLE";
|
|
2132
|
-
}>;
|
|
2133
|
-
name: z.ZodArray<z.ZodObject<{
|
|
2134
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
2135
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
2136
|
-
}, z.core.$strip>>;
|
|
2137
|
-
description: z.ZodArray<z.ZodObject<{
|
|
2138
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
2139
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
2140
|
-
}, z.core.$strip>>;
|
|
2141
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
2142
|
-
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2143
|
-
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2144
|
-
repeatable: z.ZodBoolean;
|
|
2145
|
-
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2146
|
-
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2147
|
-
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2148
|
-
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2149
|
-
createdAt: z.ZodString;
|
|
2150
|
-
updatedAt: z.ZodString;
|
|
2151
|
-
}, z.core.$strip>>]>;
|
|
1951
|
+
}, z.core.$strip>;
|
|
2152
1952
|
type GetMenuItemModifiersFromPointOfSaleResponse = z.infer<typeof getMenuItemModifiersFromPointOfSaleResponseSchema>;
|
|
2153
1953
|
declare class GetMenuItemModifiersFromPointOfSale extends AbstractApiRequest<typeof getMenuItemModifiersFromPointOfSaleInputSchema, typeof getMenuItemModifiersFromPointOfSaleResponseSchema, GetMenuItemModifiersFromPointOfSaleQueryParams> {
|
|
2154
1954
|
readonly method: "GET";
|
|
2155
1955
|
readonly contentType: "application/json";
|
|
2156
1956
|
readonly accept: "application/json";
|
|
2157
1957
|
readonly inputSchema: z.ZodUndefined;
|
|
2158
|
-
readonly outputSchema: z.
|
|
1958
|
+
readonly outputSchema: z.ZodObject<{
|
|
2159
1959
|
data: z.ZodArray<z.ZodObject<{
|
|
2160
1960
|
id: z.ZodString;
|
|
2161
1961
|
targetItemType: z.ZodEnum<{
|
|
@@ -2189,31 +1989,7 @@ declare class GetMenuItemModifiersFromPointOfSale extends AbstractApiRequest<typ
|
|
|
2189
1989
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2190
1990
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2191
1991
|
}, z.core.$strip>;
|
|
2192
|
-
}, z.core.$strip
|
|
2193
|
-
id: z.ZodString;
|
|
2194
|
-
targetItemType: z.ZodEnum<{
|
|
2195
|
-
ITEM: "ITEM";
|
|
2196
|
-
BUNDLE: "BUNDLE";
|
|
2197
|
-
}>;
|
|
2198
|
-
name: z.ZodArray<z.ZodObject<{
|
|
2199
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
2200
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
2201
|
-
}, z.core.$strip>>;
|
|
2202
|
-
description: z.ZodArray<z.ZodObject<{
|
|
2203
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
2204
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
2205
|
-
}, z.core.$strip>>;
|
|
2206
|
-
sorting: z.ZodCoercedNumber<unknown>;
|
|
2207
|
-
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2208
|
-
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2209
|
-
repeatable: z.ZodBoolean;
|
|
2210
|
-
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2211
|
-
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2212
|
-
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2213
|
-
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2214
|
-
createdAt: z.ZodString;
|
|
2215
|
-
updatedAt: z.ZodString;
|
|
2216
|
-
}, z.core.$strip>>]>;
|
|
1992
|
+
}, z.core.$strip>;
|
|
2217
1993
|
readonly querySchema: z.ZodObject<{
|
|
2218
1994
|
repeatable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2219
1995
|
'minSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -2560,7 +2336,7 @@ declare const getMenuItemPriceOverridesQuerySchema: z.ZodObject<{
|
|
|
2560
2336
|
type GetMenuItemPriceOverridesQueryParams = z.infer<typeof getMenuItemPriceOverridesQuerySchema>;
|
|
2561
2337
|
declare const getMenuItemPriceOverridesInputSchema: z.ZodUndefined;
|
|
2562
2338
|
type GetMenuItemPriceOverridesInput = z.input<typeof getMenuItemPriceOverridesInputSchema>;
|
|
2563
|
-
declare const getMenuItemPriceOverridesResponseSchema: z.
|
|
2339
|
+
declare const getMenuItemPriceOverridesResponseSchema: z.ZodObject<{
|
|
2564
2340
|
data: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2565
2341
|
type: z.ZodLiteral<"ITEM">;
|
|
2566
2342
|
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
@@ -2588,32 +2364,14 @@ declare const getMenuItemPriceOverridesResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
2588
2364
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2589
2365
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2590
2366
|
}, z.core.$strip>;
|
|
2591
|
-
}, z.core.$strip
|
|
2592
|
-
type: z.ZodLiteral<"ITEM">;
|
|
2593
|
-
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2594
|
-
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2595
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2596
|
-
type: z.ZodLiteral<"MODIFIER">;
|
|
2597
|
-
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2598
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
2599
|
-
id: z.ZodString;
|
|
2600
|
-
price: z.ZodString;
|
|
2601
|
-
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2602
|
-
suspended: z.ZodBoolean;
|
|
2603
|
-
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2604
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2605
|
-
price: z.ZodString;
|
|
2606
|
-
}, z.core.$strip>>;
|
|
2607
|
-
createdAt: z.ZodString;
|
|
2608
|
-
updatedAt: z.ZodString;
|
|
2609
|
-
}, z.core.$strip>>>]>;
|
|
2367
|
+
}, z.core.$strip>;
|
|
2610
2368
|
type GetMenuItemPriceOverridesResponse = z.infer<typeof getMenuItemPriceOverridesResponseSchema>;
|
|
2611
2369
|
declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMenuItemPriceOverridesInputSchema, typeof getMenuItemPriceOverridesResponseSchema, GetMenuItemPriceOverridesQueryParams> {
|
|
2612
2370
|
readonly method: "GET";
|
|
2613
2371
|
readonly contentType: "application/json";
|
|
2614
2372
|
readonly accept: "application/json";
|
|
2615
2373
|
readonly inputSchema: z.ZodUndefined;
|
|
2616
|
-
readonly outputSchema: z.
|
|
2374
|
+
readonly outputSchema: z.ZodObject<{
|
|
2617
2375
|
data: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2618
2376
|
type: z.ZodLiteral<"ITEM">;
|
|
2619
2377
|
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
@@ -2641,25 +2399,7 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
2641
2399
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2642
2400
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2643
2401
|
}, z.core.$strip>;
|
|
2644
|
-
}, z.core.$strip
|
|
2645
|
-
type: z.ZodLiteral<"ITEM">;
|
|
2646
|
-
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2647
|
-
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2648
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2649
|
-
type: z.ZodLiteral<"MODIFIER">;
|
|
2650
|
-
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2651
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
2652
|
-
id: z.ZodString;
|
|
2653
|
-
price: z.ZodString;
|
|
2654
|
-
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2655
|
-
suspended: z.ZodBoolean;
|
|
2656
|
-
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2657
|
-
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2658
|
-
price: z.ZodString;
|
|
2659
|
-
}, z.core.$strip>>;
|
|
2660
|
-
createdAt: z.ZodString;
|
|
2661
|
-
updatedAt: z.ZodString;
|
|
2662
|
-
}, z.core.$strip>>>]>;
|
|
2402
|
+
}, z.core.$strip>;
|
|
2663
2403
|
readonly querySchema: z.ZodObject<{
|
|
2664
2404
|
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2665
2405
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -3447,7 +3187,7 @@ declare const getMenuItemsQuerySchema: z.ZodObject<{
|
|
|
3447
3187
|
type GetMenuItemsQueryParams = z.infer<typeof getMenuItemsQuerySchema>;
|
|
3448
3188
|
declare const getMenuItemsInputSchema: z.ZodUndefined;
|
|
3449
3189
|
type GetMenuItemsInput = z.input<typeof getMenuItemsInputSchema>;
|
|
3450
|
-
declare const getMenuItemsResponseSchema: z.
|
|
3190
|
+
declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
3451
3191
|
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3452
3192
|
pagination: z.ZodObject<{
|
|
3453
3193
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -3457,14 +3197,14 @@ declare const getMenuItemsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3457
3197
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3458
3198
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3459
3199
|
}, z.core.$strip>;
|
|
3460
|
-
}, z.core.$strip
|
|
3200
|
+
}, z.core.$strip>;
|
|
3461
3201
|
type GetMenuItemsResponse = z.infer<typeof getMenuItemsResponseSchema>;
|
|
3462
3202
|
declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSchema, typeof getMenuItemsResponseSchema, GetMenuItemsQueryParams> {
|
|
3463
3203
|
readonly method: "GET";
|
|
3464
3204
|
readonly contentType: "application/json";
|
|
3465
3205
|
readonly accept: "application/json";
|
|
3466
3206
|
readonly inputSchema: z.ZodUndefined;
|
|
3467
|
-
readonly outputSchema: z.
|
|
3207
|
+
readonly outputSchema: z.ZodObject<{
|
|
3468
3208
|
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3469
3209
|
pagination: z.ZodObject<{
|
|
3470
3210
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -3474,7 +3214,7 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
3474
3214
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3475
3215
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3476
3216
|
}, z.core.$strip>;
|
|
3477
|
-
}, z.core.$strip
|
|
3217
|
+
}, z.core.$strip>;
|
|
3478
3218
|
readonly querySchema: z.ZodObject<{
|
|
3479
3219
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3480
3220
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -3752,7 +3492,7 @@ declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
|
3752
3492
|
type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFromMenuItemCategoryQuerySchema>;
|
|
3753
3493
|
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
3754
3494
|
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
3755
|
-
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.
|
|
3495
|
+
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
3756
3496
|
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3757
3497
|
pagination: z.ZodObject<{
|
|
3758
3498
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -3762,14 +3502,14 @@ declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodUnion<readonl
|
|
|
3762
3502
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3763
3503
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3764
3504
|
}, z.core.$strip>;
|
|
3765
|
-
}, z.core.$strip
|
|
3505
|
+
}, z.core.$strip>;
|
|
3766
3506
|
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
3767
3507
|
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
3768
3508
|
readonly method: "GET";
|
|
3769
3509
|
readonly contentType: "application/json";
|
|
3770
3510
|
readonly accept: "application/json";
|
|
3771
3511
|
readonly inputSchema: z.ZodUndefined;
|
|
3772
|
-
readonly outputSchema: z.
|
|
3512
|
+
readonly outputSchema: z.ZodObject<{
|
|
3773
3513
|
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3774
3514
|
pagination: z.ZodObject<{
|
|
3775
3515
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -3779,7 +3519,7 @@ declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof
|
|
|
3779
3519
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3780
3520
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3781
3521
|
}, z.core.$strip>;
|
|
3782
|
-
}, z.core.$strip
|
|
3522
|
+
}, z.core.$strip>;
|
|
3783
3523
|
readonly querySchema: z.ZodObject<{
|
|
3784
3524
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3785
3525
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -4058,7 +3798,7 @@ declare const getMenuItemsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
|
4058
3798
|
type GetMenuItemsFromPointOfSaleQueryParams = z.infer<typeof getMenuItemsFromPointOfSaleQuerySchema>;
|
|
4059
3799
|
declare const getMenuItemsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
4060
3800
|
type GetMenuItemsFromPointOfSaleInput = z.input<typeof getMenuItemsFromPointOfSaleInputSchema>;
|
|
4061
|
-
declare const getMenuItemsFromPointOfSaleResponseSchema: z.
|
|
3801
|
+
declare const getMenuItemsFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
4062
3802
|
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
4063
3803
|
pagination: z.ZodObject<{
|
|
4064
3804
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -4068,14 +3808,14 @@ declare const getMenuItemsFromPointOfSaleResponseSchema: z.ZodUnion<readonly [z.
|
|
|
4068
3808
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4069
3809
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4070
3810
|
}, z.core.$strip>;
|
|
4071
|
-
}, z.core.$strip
|
|
3811
|
+
}, z.core.$strip>;
|
|
4072
3812
|
type GetMenuItemsFromPointOfSaleResponse = z.infer<typeof getMenuItemsFromPointOfSaleResponseSchema>;
|
|
4073
3813
|
declare class GetMenuItemsFromPointOfSale extends AbstractApiRequest<typeof getMenuItemsFromPointOfSaleInputSchema, typeof getMenuItemsFromPointOfSaleResponseSchema, GetMenuItemsFromPointOfSaleQueryParams> {
|
|
4074
3814
|
readonly method: "GET";
|
|
4075
3815
|
readonly contentType: "application/json";
|
|
4076
3816
|
readonly accept: "application/json";
|
|
4077
3817
|
readonly inputSchema: z.ZodUndefined;
|
|
4078
|
-
readonly outputSchema: z.
|
|
3818
|
+
readonly outputSchema: z.ZodObject<{
|
|
4079
3819
|
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
4080
3820
|
pagination: z.ZodObject<{
|
|
4081
3821
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -4085,7 +3825,7 @@ declare class GetMenuItemsFromPointOfSale extends AbstractApiRequest<typeof getM
|
|
|
4085
3825
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4086
3826
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4087
3827
|
}, z.core.$strip>;
|
|
4088
|
-
}, z.core.$strip
|
|
3828
|
+
}, z.core.$strip>;
|
|
4089
3829
|
readonly querySchema: z.ZodObject<{
|
|
4090
3830
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
4091
3831
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -4343,7 +4083,7 @@ declare const getMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
4343
4083
|
type GetMenuVersionsQueryParams = z.infer<typeof getMenuVersionsQuerySchema>;
|
|
4344
4084
|
declare const getMenuVersionsInputSchema: z.ZodUndefined;
|
|
4345
4085
|
type GetMenuVersionsInput = z.input<typeof getMenuVersionsInputSchema>;
|
|
4346
|
-
declare const getMenuVersionsResponseSchema: z.
|
|
4086
|
+
declare const getMenuVersionsResponseSchema: z.ZodObject<{
|
|
4347
4087
|
data: z.ZodArray<z.ZodObject<{
|
|
4348
4088
|
id: z.ZodString;
|
|
4349
4089
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4360,21 +4100,14 @@ declare const getMenuVersionsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4360
4100
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4361
4101
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4362
4102
|
}, z.core.$strip>;
|
|
4363
|
-
}, z.core.$strip
|
|
4364
|
-
id: z.ZodString;
|
|
4365
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4366
|
-
contentUrl: z.ZodURL;
|
|
4367
|
-
filePath: z.ZodString;
|
|
4368
|
-
createdAt: z.ZodString;
|
|
4369
|
-
updatedAt: z.ZodString;
|
|
4370
|
-
}, z.core.$strip>>]>;
|
|
4103
|
+
}, z.core.$strip>;
|
|
4371
4104
|
type GetMenuVersionsResponse = z.infer<typeof getMenuVersionsResponseSchema>;
|
|
4372
4105
|
declare class GetMenuVersions extends AbstractApiRequest<typeof getMenuVersionsInputSchema, typeof getMenuVersionsResponseSchema> {
|
|
4373
4106
|
readonly method: "GET";
|
|
4374
4107
|
readonly contentType: "application/json";
|
|
4375
4108
|
readonly accept: "application/json";
|
|
4376
4109
|
readonly inputSchema: z.ZodUndefined;
|
|
4377
|
-
readonly outputSchema: z.
|
|
4110
|
+
readonly outputSchema: z.ZodObject<{
|
|
4378
4111
|
data: z.ZodArray<z.ZodObject<{
|
|
4379
4112
|
id: z.ZodString;
|
|
4380
4113
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -4391,14 +4124,7 @@ declare class GetMenuVersions extends AbstractApiRequest<typeof getMenuVersionsI
|
|
|
4391
4124
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4392
4125
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4393
4126
|
}, z.core.$strip>;
|
|
4394
|
-
}, z.core.$strip
|
|
4395
|
-
id: z.ZodString;
|
|
4396
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4397
|
-
contentUrl: z.ZodURL;
|
|
4398
|
-
filePath: z.ZodString;
|
|
4399
|
-
createdAt: z.ZodString;
|
|
4400
|
-
updatedAt: z.ZodString;
|
|
4401
|
-
}, z.core.$strip>>]>;
|
|
4127
|
+
}, z.core.$strip>;
|
|
4402
4128
|
readonly querySchema: z.ZodObject<{
|
|
4403
4129
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4404
4130
|
}, z.core.$strip>;
|