@deliverart/sdk-js-point-of-sale 2.6.0 → 2.6.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/dist/index.cjs +5 -5
- package/dist/index.d.cts +362 -20
- package/dist/index.d.ts +362 -20
- package/dist/index.js +10 -10
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -11577,7 +11577,7 @@ var import_sdk_js_core3 = require("@deliverart/sdk-js-core");
|
|
|
11577
11577
|
var import_sdk_js_global_types4 = require("@deliverart/sdk-js-global-types");
|
|
11578
11578
|
var getPointOfSaleUsersQuerySchema = pointOfSaleUsersQuerySchema;
|
|
11579
11579
|
var getPointOfSaleUsersInputSchema = external_exports.undefined();
|
|
11580
|
-
var getPointOfSaleUsersResponseSchema = (0, import_sdk_js_global_types4.
|
|
11580
|
+
var getPointOfSaleUsersResponseSchema = (0, import_sdk_js_global_types4.mixedPaginationSchema)(pointOfSaleUserSchema);
|
|
11581
11581
|
var GetPointOfSaleUsers = class extends import_sdk_js_core3.AbstractApiRequest {
|
|
11582
11582
|
constructor(options) {
|
|
11583
11583
|
super(void 0, options);
|
|
@@ -11839,7 +11839,7 @@ var getPointOfSaleMenuVersionsQuerySchema = external_exports.object({
|
|
|
11839
11839
|
page: external_exports.coerce.number().optional()
|
|
11840
11840
|
});
|
|
11841
11841
|
var getPointOfSaleMenuVersionsInputSchema = external_exports.undefined();
|
|
11842
|
-
var getPointOfSaleMenuVersionsResponseSchema = (0, import_sdk_js_global_types6.
|
|
11842
|
+
var getPointOfSaleMenuVersionsResponseSchema = (0, import_sdk_js_global_types6.mixedPaginationSchema)(menuVersionSchema);
|
|
11843
11843
|
var GetPointOfSaleMenuVersions = class extends import_sdk_js_core14.AbstractApiRequest {
|
|
11844
11844
|
constructor(pointOfSaleId, options) {
|
|
11845
11845
|
super(void 0, options);
|
|
@@ -11865,7 +11865,7 @@ var import_sdk_js_core15 = require("@deliverart/sdk-js-core");
|
|
|
11865
11865
|
var import_sdk_js_global_types7 = require("@deliverart/sdk-js-global-types");
|
|
11866
11866
|
var getPointOfSalesQuerySchema = pointOfSalesQuerySchema;
|
|
11867
11867
|
var getPointOfSalesInputSchema = external_exports.undefined();
|
|
11868
|
-
var getPointOfSalesResponseSchema = (0, import_sdk_js_global_types7.
|
|
11868
|
+
var getPointOfSalesResponseSchema = (0, import_sdk_js_global_types7.mixedPaginationSchema)(pointOfSaleSchema);
|
|
11869
11869
|
var GetPointOfSales = class extends import_sdk_js_core15.AbstractApiRequest {
|
|
11870
11870
|
constructor(options) {
|
|
11871
11871
|
super(void 0, options);
|
|
@@ -11974,7 +11974,7 @@ var import_sdk_js_core20 = require("@deliverart/sdk-js-core");
|
|
|
11974
11974
|
var import_sdk_js_global_types9 = require("@deliverart/sdk-js-global-types");
|
|
11975
11975
|
var getPointOfSaleTimeOverridesQuerySchema = pointOfSaleTimeOverridesQuerySchema;
|
|
11976
11976
|
var getPointOfSaleTimeOverridesInputSchema = external_exports.undefined();
|
|
11977
|
-
var getPointOfSaleTimeOverridesResponseSchema = (0, import_sdk_js_global_types9.
|
|
11977
|
+
var getPointOfSaleTimeOverridesResponseSchema = (0, import_sdk_js_global_types9.mixedPaginationSchema)(
|
|
11978
11978
|
pointOfSaleTimeOverrideSchema
|
|
11979
11979
|
);
|
|
11980
11980
|
var GetPointOfSaleTimeOverrides = class extends import_sdk_js_core20.AbstractApiRequest {
|
|
@@ -12000,7 +12000,7 @@ var import_sdk_js_core21 = require("@deliverart/sdk-js-core");
|
|
|
12000
12000
|
var import_sdk_js_global_types10 = require("@deliverart/sdk-js-global-types");
|
|
12001
12001
|
var getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema = pointOfSaleTimeOverridesQuerySchema;
|
|
12002
12002
|
var getPointOfSaleTimeOverridesFromPointOfSaleInputSchema = external_exports.undefined();
|
|
12003
|
-
var getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema = (0, import_sdk_js_global_types10.
|
|
12003
|
+
var getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema = (0, import_sdk_js_global_types10.mixedPaginationSchema)(
|
|
12004
12004
|
pointOfSaleTimeOverrideSchema
|
|
12005
12005
|
);
|
|
12006
12006
|
var GetPointOfSaleTimeOverridesFromPointOfSale = class extends import_sdk_js_core21.AbstractApiRequest {
|
package/dist/index.d.cts
CHANGED
|
@@ -1038,7 +1038,7 @@ declare const getPointOfSaleUsersQuerySchema: z.ZodObject<{
|
|
|
1038
1038
|
type GetPointOfSaleUsersQueryParams = z.infer<typeof getPointOfSaleUsersQuerySchema>;
|
|
1039
1039
|
declare const getPointOfSaleUsersInputSchema: z.ZodUndefined;
|
|
1040
1040
|
type GetPointOfSaleUsersInput = z.input<typeof getPointOfSaleUsersInputSchema>;
|
|
1041
|
-
declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
1041
|
+
declare const getPointOfSaleUsersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1042
1042
|
data: z.ZodArray<z.ZodObject<{
|
|
1043
1043
|
id: z.ZodString;
|
|
1044
1044
|
user: z.ZodObject<{
|
|
@@ -1143,14 +1143,109 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
1143
1143
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1144
1144
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1145
1145
|
}, z.core.$strip>;
|
|
1146
|
-
}, z.core.$strip
|
|
1146
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1147
|
+
id: z.ZodString;
|
|
1148
|
+
user: z.ZodObject<{
|
|
1149
|
+
id: z.ZodString;
|
|
1150
|
+
firstName: z.ZodString;
|
|
1151
|
+
lastName: z.ZodString;
|
|
1152
|
+
email: z.ZodEmail;
|
|
1153
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1154
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1155
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1156
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1157
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1158
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1159
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1160
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1161
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1162
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1163
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1164
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1165
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1166
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1167
|
+
ROLE_DEV_ACCESS: "ROLE_DEV_ACCESS";
|
|
1168
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1169
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1170
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1171
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1172
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1173
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1174
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1175
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1176
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1177
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1178
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1179
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1180
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1181
|
+
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1182
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1183
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1184
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1185
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1186
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1187
|
+
ROLE_USER: "ROLE_USER";
|
|
1188
|
+
}>>;
|
|
1189
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1190
|
+
registration: "registration";
|
|
1191
|
+
verify_email: "verify_email";
|
|
1192
|
+
create_company: "create_company";
|
|
1193
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1194
|
+
}>>;
|
|
1195
|
+
emailVerified: z.ZodBoolean;
|
|
1196
|
+
suspended: z.ZodBoolean;
|
|
1197
|
+
createdAt: z.ZodString;
|
|
1198
|
+
updatedAt: z.ZodString;
|
|
1199
|
+
}, z.core.$strip>;
|
|
1200
|
+
pointOfSale: z.ZodObject<{
|
|
1201
|
+
id: z.ZodString;
|
|
1202
|
+
name: z.ZodString;
|
|
1203
|
+
address: z.ZodObject<{
|
|
1204
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1205
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1206
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1207
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1208
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1209
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1210
|
+
}, z.core.$strip>;
|
|
1211
|
+
timezone: z.ZodString;
|
|
1212
|
+
location: z.ZodObject<{
|
|
1213
|
+
latitude: z.ZodNumber;
|
|
1214
|
+
longitude: z.ZodNumber;
|
|
1215
|
+
}, z.core.$strip>;
|
|
1216
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1217
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1218
|
+
}>>;
|
|
1219
|
+
openingStatus: z.ZodEnum<{
|
|
1220
|
+
OPEN: "OPEN";
|
|
1221
|
+
CLOSED: "CLOSED";
|
|
1222
|
+
}>;
|
|
1223
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1224
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
1225
|
+
integrationsStats: z.ZodObject<{
|
|
1226
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1227
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1228
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1229
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1230
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1231
|
+
}, z.core.$strip>;
|
|
1232
|
+
createdAt: z.ZodString;
|
|
1233
|
+
updatedAt: z.ZodString;
|
|
1234
|
+
}, z.core.$strip>;
|
|
1235
|
+
role: z.ZodEnum<{
|
|
1236
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1237
|
+
ROLE_READER: "ROLE_READER";
|
|
1238
|
+
}>;
|
|
1239
|
+
createdAt: z.ZodString;
|
|
1240
|
+
updatedAt: z.ZodString;
|
|
1241
|
+
}, z.core.$strip>>]>;
|
|
1147
1242
|
type GetPointOfSaleUsersResponse = z.infer<typeof getPointOfSaleUsersResponseSchema>;
|
|
1148
1243
|
declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSaleUsersInputSchema, typeof getPointOfSaleUsersResponseSchema, GetPointOfSaleUsersQueryParams> {
|
|
1149
1244
|
readonly method: "GET";
|
|
1150
1245
|
readonly contentType: "application/json";
|
|
1151
1246
|
readonly accept: "application/json";
|
|
1152
1247
|
readonly inputSchema: z.ZodUndefined;
|
|
1153
|
-
readonly outputSchema: z.ZodObject<{
|
|
1248
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1154
1249
|
data: z.ZodArray<z.ZodObject<{
|
|
1155
1250
|
id: z.ZodString;
|
|
1156
1251
|
user: z.ZodObject<{
|
|
@@ -1255,7 +1350,102 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1255
1350
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1256
1351
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1257
1352
|
}, z.core.$strip>;
|
|
1258
|
-
}, z.core.$strip
|
|
1353
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1354
|
+
id: z.ZodString;
|
|
1355
|
+
user: z.ZodObject<{
|
|
1356
|
+
id: z.ZodString;
|
|
1357
|
+
firstName: z.ZodString;
|
|
1358
|
+
lastName: z.ZodString;
|
|
1359
|
+
email: z.ZodEmail;
|
|
1360
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1361
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1362
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1363
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1364
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1365
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1366
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1367
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1368
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1369
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1370
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1371
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1372
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1373
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1374
|
+
ROLE_DEV_ACCESS: "ROLE_DEV_ACCESS";
|
|
1375
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1376
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1377
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1378
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1379
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1380
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1381
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1382
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1383
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1384
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1385
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1386
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1387
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1388
|
+
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1389
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1390
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1391
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1392
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1393
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1394
|
+
ROLE_USER: "ROLE_USER";
|
|
1395
|
+
}>>;
|
|
1396
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1397
|
+
registration: "registration";
|
|
1398
|
+
verify_email: "verify_email";
|
|
1399
|
+
create_company: "create_company";
|
|
1400
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1401
|
+
}>>;
|
|
1402
|
+
emailVerified: z.ZodBoolean;
|
|
1403
|
+
suspended: z.ZodBoolean;
|
|
1404
|
+
createdAt: z.ZodString;
|
|
1405
|
+
updatedAt: z.ZodString;
|
|
1406
|
+
}, z.core.$strip>;
|
|
1407
|
+
pointOfSale: z.ZodObject<{
|
|
1408
|
+
id: z.ZodString;
|
|
1409
|
+
name: z.ZodString;
|
|
1410
|
+
address: z.ZodObject<{
|
|
1411
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1412
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1413
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1414
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1415
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1416
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1417
|
+
}, z.core.$strip>;
|
|
1418
|
+
timezone: z.ZodString;
|
|
1419
|
+
location: z.ZodObject<{
|
|
1420
|
+
latitude: z.ZodNumber;
|
|
1421
|
+
longitude: z.ZodNumber;
|
|
1422
|
+
}, z.core.$strip>;
|
|
1423
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1424
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1425
|
+
}>>;
|
|
1426
|
+
openingStatus: z.ZodEnum<{
|
|
1427
|
+
OPEN: "OPEN";
|
|
1428
|
+
CLOSED: "CLOSED";
|
|
1429
|
+
}>;
|
|
1430
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1431
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
1432
|
+
integrationsStats: z.ZodObject<{
|
|
1433
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1434
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1435
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1436
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1437
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1438
|
+
}, z.core.$strip>;
|
|
1439
|
+
createdAt: z.ZodString;
|
|
1440
|
+
updatedAt: z.ZodString;
|
|
1441
|
+
}, z.core.$strip>;
|
|
1442
|
+
role: z.ZodEnum<{
|
|
1443
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1444
|
+
ROLE_READER: "ROLE_READER";
|
|
1445
|
+
}>;
|
|
1446
|
+
createdAt: z.ZodString;
|
|
1447
|
+
updatedAt: z.ZodString;
|
|
1448
|
+
}, z.core.$strip>>]>;
|
|
1259
1449
|
readonly querySchema: z.ZodObject<{
|
|
1260
1450
|
availableForDelivery: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1261
1451
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -3017,7 +3207,7 @@ declare const getPointOfSaleMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
3017
3207
|
type GetPointOfSaleMenuVersionsQueryParams = z.infer<typeof getPointOfSaleMenuVersionsQuerySchema>;
|
|
3018
3208
|
declare const getPointOfSaleMenuVersionsInputSchema: z.ZodUndefined;
|
|
3019
3209
|
type GetPointOfSaleMenuVersionsInput = z.infer<typeof getPointOfSaleMenuVersionsInputSchema>;
|
|
3020
|
-
declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodObject<{
|
|
3210
|
+
declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3021
3211
|
data: z.ZodArray<z.ZodObject<{
|
|
3022
3212
|
id: z.ZodString;
|
|
3023
3213
|
contentUrl: z.ZodString;
|
|
@@ -3033,14 +3223,20 @@ declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
3033
3223
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3034
3224
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3035
3225
|
}, z.core.$strip>;
|
|
3036
|
-
}, z.core.$strip
|
|
3226
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3227
|
+
id: z.ZodString;
|
|
3228
|
+
contentUrl: z.ZodString;
|
|
3229
|
+
filePath: z.ZodString;
|
|
3230
|
+
createdAt: z.ZodString;
|
|
3231
|
+
updatedAt: z.ZodString;
|
|
3232
|
+
}, z.core.$strip>>]>;
|
|
3037
3233
|
type GetPointOfSaleMenuVersionsResponse = z.infer<typeof getPointOfSaleMenuVersionsResponseSchema>;
|
|
3038
3234
|
declare class GetPointOfSaleMenuVersions extends AbstractApiRequest<typeof getPointOfSaleMenuVersionsInputSchema, typeof getPointOfSaleMenuVersionsResponseSchema, GetPointOfSaleMenuVersionsQueryParams> {
|
|
3039
3235
|
readonly method: "GET";
|
|
3040
3236
|
readonly contentType: "application/json";
|
|
3041
3237
|
readonly accept: "application/json";
|
|
3042
3238
|
readonly inputSchema: z.ZodUndefined;
|
|
3043
|
-
readonly outputSchema: z.ZodObject<{
|
|
3239
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3044
3240
|
data: z.ZodArray<z.ZodObject<{
|
|
3045
3241
|
id: z.ZodString;
|
|
3046
3242
|
contentUrl: z.ZodString;
|
|
@@ -3056,7 +3252,13 @@ declare class GetPointOfSaleMenuVersions extends AbstractApiRequest<typeof getPo
|
|
|
3056
3252
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3057
3253
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3058
3254
|
}, z.core.$strip>;
|
|
3059
|
-
}, z.core.$strip
|
|
3255
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3256
|
+
id: z.ZodString;
|
|
3257
|
+
contentUrl: z.ZodString;
|
|
3258
|
+
filePath: z.ZodString;
|
|
3259
|
+
createdAt: z.ZodString;
|
|
3260
|
+
updatedAt: z.ZodString;
|
|
3261
|
+
}, z.core.$strip>>]>;
|
|
3060
3262
|
readonly querySchema: z.ZodObject<{
|
|
3061
3263
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3062
3264
|
}, z.core.$strip>;
|
|
@@ -3102,7 +3304,7 @@ declare const getPointOfSalesQuerySchema: z.ZodObject<{
|
|
|
3102
3304
|
type GetPointOfSalesQueryParams = z.infer<typeof getPointOfSalesQuerySchema>;
|
|
3103
3305
|
declare const getPointOfSalesInputSchema: z.ZodUndefined;
|
|
3104
3306
|
type GetPointOfSalesInput = z.input<typeof getPointOfSalesInputSchema>;
|
|
3105
|
-
declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
3307
|
+
declare const getPointOfSalesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3106
3308
|
data: z.ZodArray<z.ZodObject<{
|
|
3107
3309
|
id: z.ZodString;
|
|
3108
3310
|
name: z.ZodString;
|
|
@@ -3146,14 +3348,48 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
3146
3348
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3147
3349
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3148
3350
|
}, z.core.$strip>;
|
|
3149
|
-
}, z.core.$strip
|
|
3351
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3352
|
+
id: z.ZodString;
|
|
3353
|
+
name: z.ZodString;
|
|
3354
|
+
address: z.ZodObject<{
|
|
3355
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3356
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3357
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3358
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3359
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3360
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3361
|
+
}, z.core.$strip>;
|
|
3362
|
+
timezone: z.ZodString;
|
|
3363
|
+
location: z.ZodObject<{
|
|
3364
|
+
latitude: z.ZodNumber;
|
|
3365
|
+
longitude: z.ZodNumber;
|
|
3366
|
+
}, z.core.$strip>;
|
|
3367
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
3368
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
3369
|
+
}>>;
|
|
3370
|
+
openingStatus: z.ZodEnum<{
|
|
3371
|
+
OPEN: "OPEN";
|
|
3372
|
+
CLOSED: "CLOSED";
|
|
3373
|
+
}>;
|
|
3374
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
3375
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
3376
|
+
integrationsStats: z.ZodObject<{
|
|
3377
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3378
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3379
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3380
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3381
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3382
|
+
}, z.core.$strip>;
|
|
3383
|
+
createdAt: z.ZodString;
|
|
3384
|
+
updatedAt: z.ZodString;
|
|
3385
|
+
}, z.core.$strip>>]>;
|
|
3150
3386
|
type GetPointOfSalesResponse = z.infer<typeof getPointOfSalesResponseSchema>;
|
|
3151
3387
|
declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesInputSchema, typeof getPointOfSalesResponseSchema, GetPointOfSalesQueryParams> {
|
|
3152
3388
|
readonly method: "GET";
|
|
3153
3389
|
readonly contentType: "application/json";
|
|
3154
3390
|
readonly accept: "application/json";
|
|
3155
3391
|
readonly inputSchema: z.ZodUndefined;
|
|
3156
|
-
readonly outputSchema: z.ZodObject<{
|
|
3392
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3157
3393
|
data: z.ZodArray<z.ZodObject<{
|
|
3158
3394
|
id: z.ZodString;
|
|
3159
3395
|
name: z.ZodString;
|
|
@@ -3197,7 +3433,41 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
3197
3433
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3198
3434
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3199
3435
|
}, z.core.$strip>;
|
|
3200
|
-
}, z.core.$strip
|
|
3436
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3437
|
+
id: z.ZodString;
|
|
3438
|
+
name: z.ZodString;
|
|
3439
|
+
address: z.ZodObject<{
|
|
3440
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3441
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3442
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3443
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3444
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3445
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3446
|
+
}, z.core.$strip>;
|
|
3447
|
+
timezone: z.ZodString;
|
|
3448
|
+
location: z.ZodObject<{
|
|
3449
|
+
latitude: z.ZodNumber;
|
|
3450
|
+
longitude: z.ZodNumber;
|
|
3451
|
+
}, z.core.$strip>;
|
|
3452
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
3453
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
3454
|
+
}>>;
|
|
3455
|
+
openingStatus: z.ZodEnum<{
|
|
3456
|
+
OPEN: "OPEN";
|
|
3457
|
+
CLOSED: "CLOSED";
|
|
3458
|
+
}>;
|
|
3459
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
3460
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
3461
|
+
integrationsStats: z.ZodObject<{
|
|
3462
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3463
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3464
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3465
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3466
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3467
|
+
}, z.core.$strip>;
|
|
3468
|
+
createdAt: z.ZodString;
|
|
3469
|
+
updatedAt: z.ZodString;
|
|
3470
|
+
}, z.core.$strip>>]>;
|
|
3201
3471
|
readonly querySchema: z.ZodObject<{
|
|
3202
3472
|
name: z.ZodOptional<z.ZodString>;
|
|
3203
3473
|
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3835,7 +4105,7 @@ declare const getPointOfSaleTimeOverridesQuerySchema: z.ZodObject<{
|
|
|
3835
4105
|
type GetPointOfSaleTimeOverridesQueryParams = z.infer<typeof getPointOfSaleTimeOverridesQuerySchema>;
|
|
3836
4106
|
declare const getPointOfSaleTimeOverridesInputSchema: z.ZodUndefined;
|
|
3837
4107
|
type GetPointOfSaleTimeOverridesInput = z.input<typeof getPointOfSaleTimeOverridesInputSchema>;
|
|
3838
|
-
declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodObject<{
|
|
4108
|
+
declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3839
4109
|
data: z.ZodArray<z.ZodObject<{
|
|
3840
4110
|
id: z.ZodString;
|
|
3841
4111
|
date: z.ZodString;
|
|
@@ -3863,14 +4133,32 @@ declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodObject<{
|
|
|
3863
4133
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3864
4134
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3865
4135
|
}, z.core.$strip>;
|
|
3866
|
-
}, z.core.$strip
|
|
4136
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4137
|
+
id: z.ZodString;
|
|
4138
|
+
date: z.ZodString;
|
|
4139
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4140
|
+
startTime: z.ZodString;
|
|
4141
|
+
endTime: z.ZodString;
|
|
4142
|
+
}, z.core.$strip>>;
|
|
4143
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4144
|
+
startTime: z.ZodString;
|
|
4145
|
+
endTime: z.ZodString;
|
|
4146
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4147
|
+
}, z.core.$strip>>;
|
|
4148
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4149
|
+
startTime: z.ZodString;
|
|
4150
|
+
endTime: z.ZodString;
|
|
4151
|
+
}, z.core.$strip>>;
|
|
4152
|
+
createdAt: z.ZodString;
|
|
4153
|
+
updatedAt: z.ZodString;
|
|
4154
|
+
}, z.core.$strip>>]>;
|
|
3867
4155
|
type GetPointOfSaleTimeOverridesResponse = z.infer<typeof getPointOfSaleTimeOverridesResponseSchema>;
|
|
3868
4156
|
declare class GetPointOfSaleTimeOverrides extends AbstractApiRequest<typeof getPointOfSaleTimeOverridesInputSchema, typeof getPointOfSaleTimeOverridesResponseSchema, GetPointOfSaleTimeOverridesQueryParams> {
|
|
3869
4157
|
readonly method: "GET";
|
|
3870
4158
|
readonly contentType: "application/json";
|
|
3871
4159
|
readonly accept: "application/json";
|
|
3872
4160
|
readonly inputSchema: z.ZodUndefined;
|
|
3873
|
-
readonly outputSchema: z.ZodObject<{
|
|
4161
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3874
4162
|
data: z.ZodArray<z.ZodObject<{
|
|
3875
4163
|
id: z.ZodString;
|
|
3876
4164
|
date: z.ZodString;
|
|
@@ -3898,7 +4186,25 @@ declare class GetPointOfSaleTimeOverrides extends AbstractApiRequest<typeof getP
|
|
|
3898
4186
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3899
4187
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3900
4188
|
}, z.core.$strip>;
|
|
3901
|
-
}, z.core.$strip
|
|
4189
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4190
|
+
id: z.ZodString;
|
|
4191
|
+
date: z.ZodString;
|
|
4192
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4193
|
+
startTime: z.ZodString;
|
|
4194
|
+
endTime: z.ZodString;
|
|
4195
|
+
}, z.core.$strip>>;
|
|
4196
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4197
|
+
startTime: z.ZodString;
|
|
4198
|
+
endTime: z.ZodString;
|
|
4199
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4200
|
+
}, z.core.$strip>>;
|
|
4201
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4202
|
+
startTime: z.ZodString;
|
|
4203
|
+
endTime: z.ZodString;
|
|
4204
|
+
}, z.core.$strip>>;
|
|
4205
|
+
createdAt: z.ZodString;
|
|
4206
|
+
updatedAt: z.ZodString;
|
|
4207
|
+
}, z.core.$strip>>]>;
|
|
3902
4208
|
readonly querySchema: z.ZodObject<{
|
|
3903
4209
|
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
3904
4210
|
asc: "asc";
|
|
@@ -3983,7 +4289,7 @@ declare const getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema: z.ZodObject
|
|
|
3983
4289
|
type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams = z.infer<typeof getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema>;
|
|
3984
4290
|
declare const getPointOfSaleTimeOverridesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
3985
4291
|
type GetPointOfSaleTimeOverridesFromPointOfSaleInput = z.input<typeof getPointOfSaleTimeOverridesFromPointOfSaleInputSchema>;
|
|
3986
|
-
declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
4292
|
+
declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3987
4293
|
data: z.ZodArray<z.ZodObject<{
|
|
3988
4294
|
id: z.ZodString;
|
|
3989
4295
|
date: z.ZodString;
|
|
@@ -4011,14 +4317,32 @@ declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodObj
|
|
|
4011
4317
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4012
4318
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4013
4319
|
}, z.core.$strip>;
|
|
4014
|
-
}, z.core.$strip
|
|
4320
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4321
|
+
id: z.ZodString;
|
|
4322
|
+
date: z.ZodString;
|
|
4323
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4324
|
+
startTime: z.ZodString;
|
|
4325
|
+
endTime: z.ZodString;
|
|
4326
|
+
}, z.core.$strip>>;
|
|
4327
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4328
|
+
startTime: z.ZodString;
|
|
4329
|
+
endTime: z.ZodString;
|
|
4330
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4331
|
+
}, z.core.$strip>>;
|
|
4332
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4333
|
+
startTime: z.ZodString;
|
|
4334
|
+
endTime: z.ZodString;
|
|
4335
|
+
}, z.core.$strip>>;
|
|
4336
|
+
createdAt: z.ZodString;
|
|
4337
|
+
updatedAt: z.ZodString;
|
|
4338
|
+
}, z.core.$strip>>]>;
|
|
4015
4339
|
type GetPointOfSaleTimeOverridesFromPointOfSaleResponse = z.infer<typeof getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema>;
|
|
4016
4340
|
declare class GetPointOfSaleTimeOverridesFromPointOfSale extends AbstractApiRequest<typeof getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, typeof getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams> {
|
|
4017
4341
|
readonly method: "GET";
|
|
4018
4342
|
readonly contentType: "application/json";
|
|
4019
4343
|
readonly accept: "application/json";
|
|
4020
4344
|
readonly inputSchema: z.ZodUndefined;
|
|
4021
|
-
readonly outputSchema: z.ZodObject<{
|
|
4345
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4022
4346
|
data: z.ZodArray<z.ZodObject<{
|
|
4023
4347
|
id: z.ZodString;
|
|
4024
4348
|
date: z.ZodString;
|
|
@@ -4046,7 +4370,25 @@ declare class GetPointOfSaleTimeOverridesFromPointOfSale extends AbstractApiRequ
|
|
|
4046
4370
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4047
4371
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4048
4372
|
}, z.core.$strip>;
|
|
4049
|
-
}, z.core.$strip
|
|
4373
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4374
|
+
id: z.ZodString;
|
|
4375
|
+
date: z.ZodString;
|
|
4376
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4377
|
+
startTime: z.ZodString;
|
|
4378
|
+
endTime: z.ZodString;
|
|
4379
|
+
}, z.core.$strip>>;
|
|
4380
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4381
|
+
startTime: z.ZodString;
|
|
4382
|
+
endTime: z.ZodString;
|
|
4383
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4384
|
+
}, z.core.$strip>>;
|
|
4385
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4386
|
+
startTime: z.ZodString;
|
|
4387
|
+
endTime: z.ZodString;
|
|
4388
|
+
}, z.core.$strip>>;
|
|
4389
|
+
createdAt: z.ZodString;
|
|
4390
|
+
updatedAt: z.ZodString;
|
|
4391
|
+
}, z.core.$strip>>]>;
|
|
4050
4392
|
readonly querySchema: z.ZodObject<{
|
|
4051
4393
|
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
4052
4394
|
asc: "asc";
|
package/dist/index.d.ts
CHANGED
|
@@ -1038,7 +1038,7 @@ declare const getPointOfSaleUsersQuerySchema: z.ZodObject<{
|
|
|
1038
1038
|
type GetPointOfSaleUsersQueryParams = z.infer<typeof getPointOfSaleUsersQuerySchema>;
|
|
1039
1039
|
declare const getPointOfSaleUsersInputSchema: z.ZodUndefined;
|
|
1040
1040
|
type GetPointOfSaleUsersInput = z.input<typeof getPointOfSaleUsersInputSchema>;
|
|
1041
|
-
declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
1041
|
+
declare const getPointOfSaleUsersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1042
1042
|
data: z.ZodArray<z.ZodObject<{
|
|
1043
1043
|
id: z.ZodString;
|
|
1044
1044
|
user: z.ZodObject<{
|
|
@@ -1143,14 +1143,109 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
1143
1143
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1144
1144
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1145
1145
|
}, z.core.$strip>;
|
|
1146
|
-
}, z.core.$strip
|
|
1146
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1147
|
+
id: z.ZodString;
|
|
1148
|
+
user: z.ZodObject<{
|
|
1149
|
+
id: z.ZodString;
|
|
1150
|
+
firstName: z.ZodString;
|
|
1151
|
+
lastName: z.ZodString;
|
|
1152
|
+
email: z.ZodEmail;
|
|
1153
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1154
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1155
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1156
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1157
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1158
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1159
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1160
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1161
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1162
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1163
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1164
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1165
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1166
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1167
|
+
ROLE_DEV_ACCESS: "ROLE_DEV_ACCESS";
|
|
1168
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1169
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1170
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1171
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1172
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1173
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1174
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1175
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1176
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1177
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1178
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1179
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1180
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1181
|
+
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1182
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1183
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1184
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1185
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1186
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1187
|
+
ROLE_USER: "ROLE_USER";
|
|
1188
|
+
}>>;
|
|
1189
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1190
|
+
registration: "registration";
|
|
1191
|
+
verify_email: "verify_email";
|
|
1192
|
+
create_company: "create_company";
|
|
1193
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1194
|
+
}>>;
|
|
1195
|
+
emailVerified: z.ZodBoolean;
|
|
1196
|
+
suspended: z.ZodBoolean;
|
|
1197
|
+
createdAt: z.ZodString;
|
|
1198
|
+
updatedAt: z.ZodString;
|
|
1199
|
+
}, z.core.$strip>;
|
|
1200
|
+
pointOfSale: z.ZodObject<{
|
|
1201
|
+
id: z.ZodString;
|
|
1202
|
+
name: z.ZodString;
|
|
1203
|
+
address: z.ZodObject<{
|
|
1204
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1205
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1206
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1207
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1208
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1209
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1210
|
+
}, z.core.$strip>;
|
|
1211
|
+
timezone: z.ZodString;
|
|
1212
|
+
location: z.ZodObject<{
|
|
1213
|
+
latitude: z.ZodNumber;
|
|
1214
|
+
longitude: z.ZodNumber;
|
|
1215
|
+
}, z.core.$strip>;
|
|
1216
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1217
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1218
|
+
}>>;
|
|
1219
|
+
openingStatus: z.ZodEnum<{
|
|
1220
|
+
OPEN: "OPEN";
|
|
1221
|
+
CLOSED: "CLOSED";
|
|
1222
|
+
}>;
|
|
1223
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1224
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
1225
|
+
integrationsStats: z.ZodObject<{
|
|
1226
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1227
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1228
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1229
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1230
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1231
|
+
}, z.core.$strip>;
|
|
1232
|
+
createdAt: z.ZodString;
|
|
1233
|
+
updatedAt: z.ZodString;
|
|
1234
|
+
}, z.core.$strip>;
|
|
1235
|
+
role: z.ZodEnum<{
|
|
1236
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1237
|
+
ROLE_READER: "ROLE_READER";
|
|
1238
|
+
}>;
|
|
1239
|
+
createdAt: z.ZodString;
|
|
1240
|
+
updatedAt: z.ZodString;
|
|
1241
|
+
}, z.core.$strip>>]>;
|
|
1147
1242
|
type GetPointOfSaleUsersResponse = z.infer<typeof getPointOfSaleUsersResponseSchema>;
|
|
1148
1243
|
declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSaleUsersInputSchema, typeof getPointOfSaleUsersResponseSchema, GetPointOfSaleUsersQueryParams> {
|
|
1149
1244
|
readonly method: "GET";
|
|
1150
1245
|
readonly contentType: "application/json";
|
|
1151
1246
|
readonly accept: "application/json";
|
|
1152
1247
|
readonly inputSchema: z.ZodUndefined;
|
|
1153
|
-
readonly outputSchema: z.ZodObject<{
|
|
1248
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1154
1249
|
data: z.ZodArray<z.ZodObject<{
|
|
1155
1250
|
id: z.ZodString;
|
|
1156
1251
|
user: z.ZodObject<{
|
|
@@ -1255,7 +1350,102 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1255
1350
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1256
1351
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1257
1352
|
}, z.core.$strip>;
|
|
1258
|
-
}, z.core.$strip
|
|
1353
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1354
|
+
id: z.ZodString;
|
|
1355
|
+
user: z.ZodObject<{
|
|
1356
|
+
id: z.ZodString;
|
|
1357
|
+
firstName: z.ZodString;
|
|
1358
|
+
lastName: z.ZodString;
|
|
1359
|
+
email: z.ZodEmail;
|
|
1360
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1361
|
+
ROLE_CUSTOMER_ACCESS: "ROLE_CUSTOMER_ACCESS";
|
|
1362
|
+
ROLE_BUNDLE_ACCESS: "ROLE_BUNDLE_ACCESS";
|
|
1363
|
+
ROLE_DELIVERY_ACCESS: "ROLE_DELIVERY_ACCESS";
|
|
1364
|
+
ROLE_POINT_OF_SALE_ACCESS: "ROLE_POINT_OF_SALE_ACCESS";
|
|
1365
|
+
ROLE_MENU_ACCESS: "ROLE_MENU_ACCESS";
|
|
1366
|
+
ROLE_INTEGRATION_ACCESS: "ROLE_INTEGRATION_ACCESS";
|
|
1367
|
+
ROLE_ORDER_ACCESS: "ROLE_ORDER_ACCESS";
|
|
1368
|
+
ROLE_LEAD_ACCESS: "ROLE_LEAD_ACCESS";
|
|
1369
|
+
ROLE_COMPANY_ACCESS: "ROLE_COMPANY_ACCESS";
|
|
1370
|
+
ROLE_USER_ACCESS: "ROLE_USER_ACCESS";
|
|
1371
|
+
ROLE_SUBSCRIPTION_ACCESS: "ROLE_SUBSCRIPTION_ACCESS";
|
|
1372
|
+
ROLE_PAYMENT_ACCESS: "ROLE_PAYMENT_ACCESS";
|
|
1373
|
+
ROLE_PAYMENT_CONFIG_ACCESS: "ROLE_PAYMENT_CONFIG_ACCESS";
|
|
1374
|
+
ROLE_DEV_ACCESS: "ROLE_DEV_ACCESS";
|
|
1375
|
+
ROLE_CUSTOMER_ADMIN: "ROLE_CUSTOMER_ADMIN";
|
|
1376
|
+
ROLE_BUNDLE_ADMIN: "ROLE_BUNDLE_ADMIN";
|
|
1377
|
+
ROLE_DELIVERY_ADMIN: "ROLE_DELIVERY_ADMIN";
|
|
1378
|
+
ROLE_POINT_OF_SALE_ADMIN: "ROLE_POINT_OF_SALE_ADMIN";
|
|
1379
|
+
ROLE_MENU_ADMIN: "ROLE_MENU_ADMIN";
|
|
1380
|
+
ROLE_INTEGRATION_ADMIN: "ROLE_INTEGRATION_ADMIN";
|
|
1381
|
+
ROLE_ORDER_ADMIN: "ROLE_ORDER_ADMIN";
|
|
1382
|
+
ROLE_LEAD_ADMIN: "ROLE_LEAD_ADMIN";
|
|
1383
|
+
ROLE_COMPANY_ADMIN: "ROLE_COMPANY_ADMIN";
|
|
1384
|
+
ROLE_USER_ADMIN: "ROLE_USER_ADMIN";
|
|
1385
|
+
ROLE_SUBSCRIPTION_ADMIN: "ROLE_SUBSCRIPTION_ADMIN";
|
|
1386
|
+
ROLE_PAYMENT_ADMIN: "ROLE_PAYMENT_ADMIN";
|
|
1387
|
+
ROLE_PAYMENT_CONFIG_ADMIN: "ROLE_PAYMENT_CONFIG_ADMIN";
|
|
1388
|
+
ROLE_DEV_ADMIN: "ROLE_DEV_ADMIN";
|
|
1389
|
+
ROLE_COURIER: "ROLE_COURIER";
|
|
1390
|
+
ROLE_CUSTOMER: "ROLE_CUSTOMER";
|
|
1391
|
+
ROLE_MANAGER: "ROLE_MANAGER";
|
|
1392
|
+
ROLE_SUPER_ADMIN: "ROLE_SUPER_ADMIN";
|
|
1393
|
+
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1394
|
+
ROLE_USER: "ROLE_USER";
|
|
1395
|
+
}>>;
|
|
1396
|
+
completedSteps: z.ZodArray<z.ZodEnum<{
|
|
1397
|
+
registration: "registration";
|
|
1398
|
+
verify_email: "verify_email";
|
|
1399
|
+
create_company: "create_company";
|
|
1400
|
+
create_point_of_sale: "create_point_of_sale";
|
|
1401
|
+
}>>;
|
|
1402
|
+
emailVerified: z.ZodBoolean;
|
|
1403
|
+
suspended: z.ZodBoolean;
|
|
1404
|
+
createdAt: z.ZodString;
|
|
1405
|
+
updatedAt: z.ZodString;
|
|
1406
|
+
}, z.core.$strip>;
|
|
1407
|
+
pointOfSale: z.ZodObject<{
|
|
1408
|
+
id: z.ZodString;
|
|
1409
|
+
name: z.ZodString;
|
|
1410
|
+
address: z.ZodObject<{
|
|
1411
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1412
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1413
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1414
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1415
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1416
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1417
|
+
}, z.core.$strip>;
|
|
1418
|
+
timezone: z.ZodString;
|
|
1419
|
+
location: z.ZodObject<{
|
|
1420
|
+
latitude: z.ZodNumber;
|
|
1421
|
+
longitude: z.ZodNumber;
|
|
1422
|
+
}, z.core.$strip>;
|
|
1423
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1424
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
1425
|
+
}>>;
|
|
1426
|
+
openingStatus: z.ZodEnum<{
|
|
1427
|
+
OPEN: "OPEN";
|
|
1428
|
+
CLOSED: "CLOSED";
|
|
1429
|
+
}>;
|
|
1430
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1431
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
1432
|
+
integrationsStats: z.ZodObject<{
|
|
1433
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1434
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1435
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
1436
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1437
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
1438
|
+
}, z.core.$strip>;
|
|
1439
|
+
createdAt: z.ZodString;
|
|
1440
|
+
updatedAt: z.ZodString;
|
|
1441
|
+
}, z.core.$strip>;
|
|
1442
|
+
role: z.ZodEnum<{
|
|
1443
|
+
ROLE_ADMIN: "ROLE_ADMIN";
|
|
1444
|
+
ROLE_READER: "ROLE_READER";
|
|
1445
|
+
}>;
|
|
1446
|
+
createdAt: z.ZodString;
|
|
1447
|
+
updatedAt: z.ZodString;
|
|
1448
|
+
}, z.core.$strip>>]>;
|
|
1259
1449
|
readonly querySchema: z.ZodObject<{
|
|
1260
1450
|
availableForDelivery: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1261
1451
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -3017,7 +3207,7 @@ declare const getPointOfSaleMenuVersionsQuerySchema: z.ZodObject<{
|
|
|
3017
3207
|
type GetPointOfSaleMenuVersionsQueryParams = z.infer<typeof getPointOfSaleMenuVersionsQuerySchema>;
|
|
3018
3208
|
declare const getPointOfSaleMenuVersionsInputSchema: z.ZodUndefined;
|
|
3019
3209
|
type GetPointOfSaleMenuVersionsInput = z.infer<typeof getPointOfSaleMenuVersionsInputSchema>;
|
|
3020
|
-
declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodObject<{
|
|
3210
|
+
declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3021
3211
|
data: z.ZodArray<z.ZodObject<{
|
|
3022
3212
|
id: z.ZodString;
|
|
3023
3213
|
contentUrl: z.ZodString;
|
|
@@ -3033,14 +3223,20 @@ declare const getPointOfSaleMenuVersionsResponseSchema: z.ZodObject<{
|
|
|
3033
3223
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3034
3224
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3035
3225
|
}, z.core.$strip>;
|
|
3036
|
-
}, z.core.$strip
|
|
3226
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3227
|
+
id: z.ZodString;
|
|
3228
|
+
contentUrl: z.ZodString;
|
|
3229
|
+
filePath: z.ZodString;
|
|
3230
|
+
createdAt: z.ZodString;
|
|
3231
|
+
updatedAt: z.ZodString;
|
|
3232
|
+
}, z.core.$strip>>]>;
|
|
3037
3233
|
type GetPointOfSaleMenuVersionsResponse = z.infer<typeof getPointOfSaleMenuVersionsResponseSchema>;
|
|
3038
3234
|
declare class GetPointOfSaleMenuVersions extends AbstractApiRequest<typeof getPointOfSaleMenuVersionsInputSchema, typeof getPointOfSaleMenuVersionsResponseSchema, GetPointOfSaleMenuVersionsQueryParams> {
|
|
3039
3235
|
readonly method: "GET";
|
|
3040
3236
|
readonly contentType: "application/json";
|
|
3041
3237
|
readonly accept: "application/json";
|
|
3042
3238
|
readonly inputSchema: z.ZodUndefined;
|
|
3043
|
-
readonly outputSchema: z.ZodObject<{
|
|
3239
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3044
3240
|
data: z.ZodArray<z.ZodObject<{
|
|
3045
3241
|
id: z.ZodString;
|
|
3046
3242
|
contentUrl: z.ZodString;
|
|
@@ -3056,7 +3252,13 @@ declare class GetPointOfSaleMenuVersions extends AbstractApiRequest<typeof getPo
|
|
|
3056
3252
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3057
3253
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3058
3254
|
}, z.core.$strip>;
|
|
3059
|
-
}, z.core.$strip
|
|
3255
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3256
|
+
id: z.ZodString;
|
|
3257
|
+
contentUrl: z.ZodString;
|
|
3258
|
+
filePath: z.ZodString;
|
|
3259
|
+
createdAt: z.ZodString;
|
|
3260
|
+
updatedAt: z.ZodString;
|
|
3261
|
+
}, z.core.$strip>>]>;
|
|
3060
3262
|
readonly querySchema: z.ZodObject<{
|
|
3061
3263
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3062
3264
|
}, z.core.$strip>;
|
|
@@ -3102,7 +3304,7 @@ declare const getPointOfSalesQuerySchema: z.ZodObject<{
|
|
|
3102
3304
|
type GetPointOfSalesQueryParams = z.infer<typeof getPointOfSalesQuerySchema>;
|
|
3103
3305
|
declare const getPointOfSalesInputSchema: z.ZodUndefined;
|
|
3104
3306
|
type GetPointOfSalesInput = z.input<typeof getPointOfSalesInputSchema>;
|
|
3105
|
-
declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
3307
|
+
declare const getPointOfSalesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3106
3308
|
data: z.ZodArray<z.ZodObject<{
|
|
3107
3309
|
id: z.ZodString;
|
|
3108
3310
|
name: z.ZodString;
|
|
@@ -3146,14 +3348,48 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
3146
3348
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3147
3349
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3148
3350
|
}, z.core.$strip>;
|
|
3149
|
-
}, z.core.$strip
|
|
3351
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3352
|
+
id: z.ZodString;
|
|
3353
|
+
name: z.ZodString;
|
|
3354
|
+
address: z.ZodObject<{
|
|
3355
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3356
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3357
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3358
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3359
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3360
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3361
|
+
}, z.core.$strip>;
|
|
3362
|
+
timezone: z.ZodString;
|
|
3363
|
+
location: z.ZodObject<{
|
|
3364
|
+
latitude: z.ZodNumber;
|
|
3365
|
+
longitude: z.ZodNumber;
|
|
3366
|
+
}, z.core.$strip>;
|
|
3367
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
3368
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
3369
|
+
}>>;
|
|
3370
|
+
openingStatus: z.ZodEnum<{
|
|
3371
|
+
OPEN: "OPEN";
|
|
3372
|
+
CLOSED: "CLOSED";
|
|
3373
|
+
}>;
|
|
3374
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
3375
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
3376
|
+
integrationsStats: z.ZodObject<{
|
|
3377
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3378
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3379
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3380
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3381
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3382
|
+
}, z.core.$strip>;
|
|
3383
|
+
createdAt: z.ZodString;
|
|
3384
|
+
updatedAt: z.ZodString;
|
|
3385
|
+
}, z.core.$strip>>]>;
|
|
3150
3386
|
type GetPointOfSalesResponse = z.infer<typeof getPointOfSalesResponseSchema>;
|
|
3151
3387
|
declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesInputSchema, typeof getPointOfSalesResponseSchema, GetPointOfSalesQueryParams> {
|
|
3152
3388
|
readonly method: "GET";
|
|
3153
3389
|
readonly contentType: "application/json";
|
|
3154
3390
|
readonly accept: "application/json";
|
|
3155
3391
|
readonly inputSchema: z.ZodUndefined;
|
|
3156
|
-
readonly outputSchema: z.ZodObject<{
|
|
3392
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3157
3393
|
data: z.ZodArray<z.ZodObject<{
|
|
3158
3394
|
id: z.ZodString;
|
|
3159
3395
|
name: z.ZodString;
|
|
@@ -3197,7 +3433,41 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
3197
3433
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3198
3434
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3199
3435
|
}, z.core.$strip>;
|
|
3200
|
-
}, z.core.$strip
|
|
3436
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3437
|
+
id: z.ZodString;
|
|
3438
|
+
name: z.ZodString;
|
|
3439
|
+
address: z.ZodObject<{
|
|
3440
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3441
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3442
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3443
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3444
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3445
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3446
|
+
}, z.core.$strip>;
|
|
3447
|
+
timezone: z.ZodString;
|
|
3448
|
+
location: z.ZodObject<{
|
|
3449
|
+
latitude: z.ZodNumber;
|
|
3450
|
+
longitude: z.ZodNumber;
|
|
3451
|
+
}, z.core.$strip>;
|
|
3452
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
3453
|
+
DELIVERY_OPTIMIZATION: "DELIVERY_OPTIMIZATION";
|
|
3454
|
+
}>>;
|
|
3455
|
+
openingStatus: z.ZodEnum<{
|
|
3456
|
+
OPEN: "OPEN";
|
|
3457
|
+
CLOSED: "CLOSED";
|
|
3458
|
+
}>;
|
|
3459
|
+
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
3460
|
+
currentMenuVersion: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id/menu_versions/:menuVersionId"> | null, unknown>>;
|
|
3461
|
+
integrationsStats: z.ZodObject<{
|
|
3462
|
+
integrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3463
|
+
pendingIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3464
|
+
erroringIntegrationsCount: z.ZodCoercedNumber<unknown>;
|
|
3465
|
+
activationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3466
|
+
cancellationRequestsCount: z.ZodCoercedNumber<unknown>;
|
|
3467
|
+
}, z.core.$strip>;
|
|
3468
|
+
createdAt: z.ZodString;
|
|
3469
|
+
updatedAt: z.ZodString;
|
|
3470
|
+
}, z.core.$strip>>]>;
|
|
3201
3471
|
readonly querySchema: z.ZodObject<{
|
|
3202
3472
|
name: z.ZodOptional<z.ZodString>;
|
|
3203
3473
|
openingStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3835,7 +4105,7 @@ declare const getPointOfSaleTimeOverridesQuerySchema: z.ZodObject<{
|
|
|
3835
4105
|
type GetPointOfSaleTimeOverridesQueryParams = z.infer<typeof getPointOfSaleTimeOverridesQuerySchema>;
|
|
3836
4106
|
declare const getPointOfSaleTimeOverridesInputSchema: z.ZodUndefined;
|
|
3837
4107
|
type GetPointOfSaleTimeOverridesInput = z.input<typeof getPointOfSaleTimeOverridesInputSchema>;
|
|
3838
|
-
declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodObject<{
|
|
4108
|
+
declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3839
4109
|
data: z.ZodArray<z.ZodObject<{
|
|
3840
4110
|
id: z.ZodString;
|
|
3841
4111
|
date: z.ZodString;
|
|
@@ -3863,14 +4133,32 @@ declare const getPointOfSaleTimeOverridesResponseSchema: z.ZodObject<{
|
|
|
3863
4133
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3864
4134
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3865
4135
|
}, z.core.$strip>;
|
|
3866
|
-
}, z.core.$strip
|
|
4136
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4137
|
+
id: z.ZodString;
|
|
4138
|
+
date: z.ZodString;
|
|
4139
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4140
|
+
startTime: z.ZodString;
|
|
4141
|
+
endTime: z.ZodString;
|
|
4142
|
+
}, z.core.$strip>>;
|
|
4143
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4144
|
+
startTime: z.ZodString;
|
|
4145
|
+
endTime: z.ZodString;
|
|
4146
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4147
|
+
}, z.core.$strip>>;
|
|
4148
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4149
|
+
startTime: z.ZodString;
|
|
4150
|
+
endTime: z.ZodString;
|
|
4151
|
+
}, z.core.$strip>>;
|
|
4152
|
+
createdAt: z.ZodString;
|
|
4153
|
+
updatedAt: z.ZodString;
|
|
4154
|
+
}, z.core.$strip>>]>;
|
|
3867
4155
|
type GetPointOfSaleTimeOverridesResponse = z.infer<typeof getPointOfSaleTimeOverridesResponseSchema>;
|
|
3868
4156
|
declare class GetPointOfSaleTimeOverrides extends AbstractApiRequest<typeof getPointOfSaleTimeOverridesInputSchema, typeof getPointOfSaleTimeOverridesResponseSchema, GetPointOfSaleTimeOverridesQueryParams> {
|
|
3869
4157
|
readonly method: "GET";
|
|
3870
4158
|
readonly contentType: "application/json";
|
|
3871
4159
|
readonly accept: "application/json";
|
|
3872
4160
|
readonly inputSchema: z.ZodUndefined;
|
|
3873
|
-
readonly outputSchema: z.ZodObject<{
|
|
4161
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3874
4162
|
data: z.ZodArray<z.ZodObject<{
|
|
3875
4163
|
id: z.ZodString;
|
|
3876
4164
|
date: z.ZodString;
|
|
@@ -3898,7 +4186,25 @@ declare class GetPointOfSaleTimeOverrides extends AbstractApiRequest<typeof getP
|
|
|
3898
4186
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3899
4187
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3900
4188
|
}, z.core.$strip>;
|
|
3901
|
-
}, z.core.$strip
|
|
4189
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4190
|
+
id: z.ZodString;
|
|
4191
|
+
date: z.ZodString;
|
|
4192
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4193
|
+
startTime: z.ZodString;
|
|
4194
|
+
endTime: z.ZodString;
|
|
4195
|
+
}, z.core.$strip>>;
|
|
4196
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4197
|
+
startTime: z.ZodString;
|
|
4198
|
+
endTime: z.ZodString;
|
|
4199
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4200
|
+
}, z.core.$strip>>;
|
|
4201
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4202
|
+
startTime: z.ZodString;
|
|
4203
|
+
endTime: z.ZodString;
|
|
4204
|
+
}, z.core.$strip>>;
|
|
4205
|
+
createdAt: z.ZodString;
|
|
4206
|
+
updatedAt: z.ZodString;
|
|
4207
|
+
}, z.core.$strip>>]>;
|
|
3902
4208
|
readonly querySchema: z.ZodObject<{
|
|
3903
4209
|
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
3904
4210
|
asc: "asc";
|
|
@@ -3983,7 +4289,7 @@ declare const getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema: z.ZodObject
|
|
|
3983
4289
|
type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams = z.infer<typeof getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema>;
|
|
3984
4290
|
declare const getPointOfSaleTimeOverridesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
3985
4291
|
type GetPointOfSaleTimeOverridesFromPointOfSaleInput = z.input<typeof getPointOfSaleTimeOverridesFromPointOfSaleInputSchema>;
|
|
3986
|
-
declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
4292
|
+
declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3987
4293
|
data: z.ZodArray<z.ZodObject<{
|
|
3988
4294
|
id: z.ZodString;
|
|
3989
4295
|
date: z.ZodString;
|
|
@@ -4011,14 +4317,32 @@ declare const getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema: z.ZodObj
|
|
|
4011
4317
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4012
4318
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4013
4319
|
}, z.core.$strip>;
|
|
4014
|
-
}, z.core.$strip
|
|
4320
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4321
|
+
id: z.ZodString;
|
|
4322
|
+
date: z.ZodString;
|
|
4323
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4324
|
+
startTime: z.ZodString;
|
|
4325
|
+
endTime: z.ZodString;
|
|
4326
|
+
}, z.core.$strip>>;
|
|
4327
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4328
|
+
startTime: z.ZodString;
|
|
4329
|
+
endTime: z.ZodString;
|
|
4330
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4331
|
+
}, z.core.$strip>>;
|
|
4332
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4333
|
+
startTime: z.ZodString;
|
|
4334
|
+
endTime: z.ZodString;
|
|
4335
|
+
}, z.core.$strip>>;
|
|
4336
|
+
createdAt: z.ZodString;
|
|
4337
|
+
updatedAt: z.ZodString;
|
|
4338
|
+
}, z.core.$strip>>]>;
|
|
4015
4339
|
type GetPointOfSaleTimeOverridesFromPointOfSaleResponse = z.infer<typeof getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema>;
|
|
4016
4340
|
declare class GetPointOfSaleTimeOverridesFromPointOfSale extends AbstractApiRequest<typeof getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, typeof getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams> {
|
|
4017
4341
|
readonly method: "GET";
|
|
4018
4342
|
readonly contentType: "application/json";
|
|
4019
4343
|
readonly accept: "application/json";
|
|
4020
4344
|
readonly inputSchema: z.ZodUndefined;
|
|
4021
|
-
readonly outputSchema: z.ZodObject<{
|
|
4345
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4022
4346
|
data: z.ZodArray<z.ZodObject<{
|
|
4023
4347
|
id: z.ZodString;
|
|
4024
4348
|
date: z.ZodString;
|
|
@@ -4046,7 +4370,25 @@ declare class GetPointOfSaleTimeOverridesFromPointOfSale extends AbstractApiRequ
|
|
|
4046
4370
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4047
4371
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4048
4372
|
}, z.core.$strip>;
|
|
4049
|
-
}, z.core.$strip
|
|
4373
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4374
|
+
id: z.ZodString;
|
|
4375
|
+
date: z.ZodString;
|
|
4376
|
+
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4377
|
+
startTime: z.ZodString;
|
|
4378
|
+
endTime: z.ZodString;
|
|
4379
|
+
}, z.core.$strip>>;
|
|
4380
|
+
deliveryTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4381
|
+
startTime: z.ZodString;
|
|
4382
|
+
endTime: z.ZodString;
|
|
4383
|
+
availableCouriers: z.ZodCoercedNumber<unknown>;
|
|
4384
|
+
}, z.core.$strip>>;
|
|
4385
|
+
takeAwayTimeSettings: z.ZodArray<z.ZodObject<{
|
|
4386
|
+
startTime: z.ZodString;
|
|
4387
|
+
endTime: z.ZodString;
|
|
4388
|
+
}, z.core.$strip>>;
|
|
4389
|
+
createdAt: z.ZodString;
|
|
4390
|
+
updatedAt: z.ZodString;
|
|
4391
|
+
}, z.core.$strip>>]>;
|
|
4050
4392
|
readonly querySchema: z.ZodObject<{
|
|
4051
4393
|
'order[date]': z.ZodOptional<z.ZodEnum<{
|
|
4052
4394
|
asc: "asc";
|
package/dist/index.js
CHANGED
|
@@ -11447,10 +11447,10 @@ var GetPointOfSaleUserDetails = class extends AbstractApiRequest2 {
|
|
|
11447
11447
|
|
|
11448
11448
|
// src/requests/point-of-sale-users/GetPointOfSaleUsers.ts
|
|
11449
11449
|
import { AbstractApiRequest as AbstractApiRequest3 } from "@deliverart/sdk-js-core";
|
|
11450
|
-
import {
|
|
11450
|
+
import { mixedPaginationSchema } from "@deliverart/sdk-js-global-types";
|
|
11451
11451
|
var getPointOfSaleUsersQuerySchema = pointOfSaleUsersQuerySchema;
|
|
11452
11452
|
var getPointOfSaleUsersInputSchema = external_exports.undefined();
|
|
11453
|
-
var getPointOfSaleUsersResponseSchema =
|
|
11453
|
+
var getPointOfSaleUsersResponseSchema = mixedPaginationSchema(pointOfSaleUserSchema);
|
|
11454
11454
|
var GetPointOfSaleUsers = class extends AbstractApiRequest3 {
|
|
11455
11455
|
constructor(options) {
|
|
11456
11456
|
super(void 0, options);
|
|
@@ -11707,12 +11707,12 @@ var GetPointOfSaleMenuVersionDetails = class extends AbstractApiRequest13 {
|
|
|
11707
11707
|
|
|
11708
11708
|
// src/requests/point-of-sales/GetPointOfSaleMenuVersions.ts
|
|
11709
11709
|
import { AbstractApiRequest as AbstractApiRequest14 } from "@deliverart/sdk-js-core";
|
|
11710
|
-
import {
|
|
11710
|
+
import { mixedPaginationSchema as mixedPaginationSchema2 } from "@deliverart/sdk-js-global-types";
|
|
11711
11711
|
var getPointOfSaleMenuVersionsQuerySchema = external_exports.object({
|
|
11712
11712
|
page: external_exports.coerce.number().optional()
|
|
11713
11713
|
});
|
|
11714
11714
|
var getPointOfSaleMenuVersionsInputSchema = external_exports.undefined();
|
|
11715
|
-
var getPointOfSaleMenuVersionsResponseSchema =
|
|
11715
|
+
var getPointOfSaleMenuVersionsResponseSchema = mixedPaginationSchema2(menuVersionSchema);
|
|
11716
11716
|
var GetPointOfSaleMenuVersions = class extends AbstractApiRequest14 {
|
|
11717
11717
|
constructor(pointOfSaleId, options) {
|
|
11718
11718
|
super(void 0, options);
|
|
@@ -11735,10 +11735,10 @@ var GetPointOfSaleMenuVersions = class extends AbstractApiRequest14 {
|
|
|
11735
11735
|
|
|
11736
11736
|
// src/requests/point-of-sales/GetPointOfSales.ts
|
|
11737
11737
|
import { AbstractApiRequest as AbstractApiRequest15 } from "@deliverart/sdk-js-core";
|
|
11738
|
-
import {
|
|
11738
|
+
import { mixedPaginationSchema as mixedPaginationSchema3 } from "@deliverart/sdk-js-global-types";
|
|
11739
11739
|
var getPointOfSalesQuerySchema = pointOfSalesQuerySchema;
|
|
11740
11740
|
var getPointOfSalesInputSchema = external_exports.undefined();
|
|
11741
|
-
var getPointOfSalesResponseSchema =
|
|
11741
|
+
var getPointOfSalesResponseSchema = mixedPaginationSchema3(pointOfSaleSchema);
|
|
11742
11742
|
var GetPointOfSales = class extends AbstractApiRequest15 {
|
|
11743
11743
|
constructor(options) {
|
|
11744
11744
|
super(void 0, options);
|
|
@@ -11844,10 +11844,10 @@ var GetPointOfSaleTimeOverrideDetails = class extends AbstractApiRequest19 {
|
|
|
11844
11844
|
|
|
11845
11845
|
// src/requests/point-of-time-overrides/GetPointOfSaleTimeOverrides.ts
|
|
11846
11846
|
import { AbstractApiRequest as AbstractApiRequest20 } from "@deliverart/sdk-js-core";
|
|
11847
|
-
import {
|
|
11847
|
+
import { mixedPaginationSchema as mixedPaginationSchema4 } from "@deliverart/sdk-js-global-types";
|
|
11848
11848
|
var getPointOfSaleTimeOverridesQuerySchema = pointOfSaleTimeOverridesQuerySchema;
|
|
11849
11849
|
var getPointOfSaleTimeOverridesInputSchema = external_exports.undefined();
|
|
11850
|
-
var getPointOfSaleTimeOverridesResponseSchema =
|
|
11850
|
+
var getPointOfSaleTimeOverridesResponseSchema = mixedPaginationSchema4(
|
|
11851
11851
|
pointOfSaleTimeOverrideSchema
|
|
11852
11852
|
);
|
|
11853
11853
|
var GetPointOfSaleTimeOverrides = class extends AbstractApiRequest20 {
|
|
@@ -11870,10 +11870,10 @@ var GetPointOfSaleTimeOverrides = class extends AbstractApiRequest20 {
|
|
|
11870
11870
|
|
|
11871
11871
|
// src/requests/point-of-time-overrides/GetPointOfSaleTimeOverridesFromPointOfSale.ts
|
|
11872
11872
|
import { AbstractApiRequest as AbstractApiRequest21 } from "@deliverart/sdk-js-core";
|
|
11873
|
-
import {
|
|
11873
|
+
import { mixedPaginationSchema as mixedPaginationSchema5 } from "@deliverart/sdk-js-global-types";
|
|
11874
11874
|
var getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema = pointOfSaleTimeOverridesQuerySchema;
|
|
11875
11875
|
var getPointOfSaleTimeOverridesFromPointOfSaleInputSchema = external_exports.undefined();
|
|
11876
|
-
var getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema =
|
|
11876
|
+
var getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema = mixedPaginationSchema5(
|
|
11877
11877
|
pointOfSaleTimeOverrideSchema
|
|
11878
11878
|
);
|
|
11879
11879
|
var GetPointOfSaleTimeOverridesFromPointOfSale = class extends AbstractApiRequest21 {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-point-of-sale",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Point of Sale Management",
|
|
4
|
-
"version": "2.6.
|
|
4
|
+
"version": "2.6.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-company": "2.6.
|
|
22
|
-
"@deliverart/sdk-js-core": "2.6.
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-company": "2.6.1",
|
|
22
|
+
"@deliverart/sdk-js-core": "2.6.1",
|
|
23
|
+
"@deliverart/sdk-js-global-types": "2.6.1",
|
|
24
|
+
"@deliverart/sdk-js-user": "2.6.1"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|