@deliverart/sdk-js-point-of-sale 2.1.37 → 2.1.39
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 +12 -0
- package/dist/index.d.cts +177 -1
- package/dist/index.d.ts +177 -1
- package/dist/index.js +11 -0
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -76,6 +76,7 @@ __export(index_exports, {
|
|
|
76
76
|
getPointOfSalesInputSchema: () => getPointOfSalesInputSchema,
|
|
77
77
|
getPointOfSalesQuerySchema: () => getPointOfSalesQuerySchema,
|
|
78
78
|
getPointOfSalesResponseSchema: () => getPointOfSalesResponseSchema,
|
|
79
|
+
integrationsStatsSchema: () => integrationsStatsSchema,
|
|
79
80
|
menuVersionDetailsSchema: () => menuVersionDetailsSchema,
|
|
80
81
|
menuVersionSchema: () => menuVersionSchema,
|
|
81
82
|
pointOfSaleAutoAcceptOrderValues: () => pointOfSaleAutoAcceptOrderValues,
|
|
@@ -11294,6 +11295,13 @@ var deliveryTimeSettingSchema = external_exports.object({
|
|
|
11294
11295
|
availableCouriers: external_exports.coerce.number().nonnegative()
|
|
11295
11296
|
}).array()
|
|
11296
11297
|
});
|
|
11298
|
+
var integrationsStatsSchema = external_exports.object({
|
|
11299
|
+
integrationsCount: external_exports.number().nonnegative(),
|
|
11300
|
+
pendingIntegrationsCount: external_exports.number().nonnegative(),
|
|
11301
|
+
erroringIntegrationsCount: external_exports.number().nonnegative(),
|
|
11302
|
+
activationRequestsCount: external_exports.number().nonnegative(),
|
|
11303
|
+
cancellationRequestsCount: external_exports.number().nonnegative()
|
|
11304
|
+
});
|
|
11297
11305
|
var pointOfSaleSchema = external_exports.object({
|
|
11298
11306
|
id: external_exports.string(),
|
|
11299
11307
|
name: external_exports.string(),
|
|
@@ -11307,6 +11315,7 @@ var pointOfSaleSchema = external_exports.object({
|
|
|
11307
11315
|
openingStatus: pointOfSaleOpeningStatusSchema,
|
|
11308
11316
|
nextSyncMenuScheduledAt: import_sdk_js_global_types2.datetimeSchema.nullable(),
|
|
11309
11317
|
currentMenuVersion: pointOfSaleMenuVersionNullableIriSchema,
|
|
11318
|
+
integrationsStats: integrationsStatsSchema,
|
|
11310
11319
|
createdAt: import_sdk_js_global_types2.datetimeSchema,
|
|
11311
11320
|
updatedAt: import_sdk_js_global_types2.datetimeSchema
|
|
11312
11321
|
});
|
|
@@ -11347,6 +11356,8 @@ var pointOfSaleDetailsSchema = pointOfSaleSchema.extend({
|
|
|
11347
11356
|
preventOrderTakingIfTheMaxCountableItemsExceeded: external_exports.boolean(),
|
|
11348
11357
|
numberMinutesBeforeAutoAcceptOrder: external_exports.coerce.number().nonnegative().refine((value) => pointOfSaleAutoAcceptOrderValues.includes(value))
|
|
11349
11358
|
}),
|
|
11359
|
+
customersIndexManifestUrl: external_exports.url().nullable(),
|
|
11360
|
+
customersIndexFileUrl: external_exports.url().nullable(),
|
|
11350
11361
|
openingTimeSettings: timeSettingSchema.array(),
|
|
11351
11362
|
deliveryTimeSettings: deliveryTimeSettingSchema.array(),
|
|
11352
11363
|
takeAwayTimeSettings: timeSettingSchema.array(),
|
|
@@ -11922,6 +11933,7 @@ var UpdatePointOfSaleTimeOverride = class extends import_sdk_js_core18.AbstractA
|
|
|
11922
11933
|
getPointOfSalesInputSchema,
|
|
11923
11934
|
getPointOfSalesQuerySchema,
|
|
11924
11935
|
getPointOfSalesResponseSchema,
|
|
11936
|
+
integrationsStatsSchema,
|
|
11925
11937
|
menuVersionDetailsSchema,
|
|
11926
11938
|
menuVersionSchema,
|
|
11927
11939
|
pointOfSaleAutoAcceptOrderValues,
|
package/dist/index.d.cts
CHANGED
|
@@ -36,6 +36,14 @@ declare const deliveryTimeSettingSchema: z.ZodObject<{
|
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
type DeliveryTimeSetting = z.infer<typeof deliveryTimeSettingSchema>;
|
|
39
|
+
declare const integrationsStatsSchema: z.ZodObject<{
|
|
40
|
+
integrationsCount: z.ZodNumber;
|
|
41
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
42
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
43
|
+
activationRequestsCount: z.ZodNumber;
|
|
44
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
type IntegrationsStats = z.infer<typeof integrationsStatsSchema>;
|
|
39
47
|
declare const pointOfSaleSchema: z.ZodObject<{
|
|
40
48
|
id: z.ZodString;
|
|
41
49
|
name: z.ZodString;
|
|
@@ -61,6 +69,13 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
61
69
|
}>;
|
|
62
70
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
63
71
|
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>>;
|
|
72
|
+
integrationsStats: z.ZodObject<{
|
|
73
|
+
integrationsCount: z.ZodNumber;
|
|
74
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
75
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
76
|
+
activationRequestsCount: z.ZodNumber;
|
|
77
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
78
|
+
}, z.core.$strip>;
|
|
64
79
|
createdAt: z.ZodString;
|
|
65
80
|
updatedAt: z.ZodString;
|
|
66
81
|
}, z.core.$strip>;
|
|
@@ -91,6 +106,13 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
91
106
|
}>;
|
|
92
107
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
93
108
|
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>>;
|
|
109
|
+
integrationsStats: z.ZodObject<{
|
|
110
|
+
integrationsCount: z.ZodNumber;
|
|
111
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
112
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
113
|
+
activationRequestsCount: z.ZodNumber;
|
|
114
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
115
|
+
}, z.core.$strip>;
|
|
94
116
|
createdAt: z.ZodString;
|
|
95
117
|
updatedAt: z.ZodString;
|
|
96
118
|
}, z.core.$strip>;
|
|
@@ -177,6 +199,13 @@ declare const pointOfSaleUserSchema: z.ZodObject<{
|
|
|
177
199
|
}>;
|
|
178
200
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
179
201
|
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>>;
|
|
202
|
+
integrationsStats: z.ZodObject<{
|
|
203
|
+
integrationsCount: z.ZodNumber;
|
|
204
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
205
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
206
|
+
activationRequestsCount: z.ZodNumber;
|
|
207
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
208
|
+
}, z.core.$strip>;
|
|
180
209
|
createdAt: z.ZodString;
|
|
181
210
|
updatedAt: z.ZodString;
|
|
182
211
|
}, z.core.$strip>;
|
|
@@ -232,6 +261,13 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
232
261
|
}>;
|
|
233
262
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
234
263
|
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>>;
|
|
264
|
+
integrationsStats: z.ZodObject<{
|
|
265
|
+
integrationsCount: z.ZodNumber;
|
|
266
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
267
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
268
|
+
activationRequestsCount: z.ZodNumber;
|
|
269
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
270
|
+
}, z.core.$strip>;
|
|
235
271
|
createdAt: z.ZodString;
|
|
236
272
|
updatedAt: z.ZodString;
|
|
237
273
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -246,6 +282,8 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
246
282
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
247
283
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
248
284
|
}, z.core.$strip>;
|
|
285
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
286
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
249
287
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
250
288
|
dayOfWeek: z.ZodEnum<{
|
|
251
289
|
monday: "monday";
|
|
@@ -694,6 +732,13 @@ declare const getPointOfSaleUserDetailsResponseSchema: z.ZodObject<{
|
|
|
694
732
|
}>;
|
|
695
733
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
696
734
|
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>>;
|
|
735
|
+
integrationsStats: z.ZodObject<{
|
|
736
|
+
integrationsCount: z.ZodNumber;
|
|
737
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
738
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
739
|
+
activationRequestsCount: z.ZodNumber;
|
|
740
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
741
|
+
}, z.core.$strip>;
|
|
697
742
|
createdAt: z.ZodString;
|
|
698
743
|
updatedAt: z.ZodString;
|
|
699
744
|
}, z.core.$strip>;
|
|
@@ -787,6 +832,13 @@ declare class GetPointOfSaleUserDetails extends AbstractApiRequest<typeof getPoi
|
|
|
787
832
|
}>;
|
|
788
833
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
789
834
|
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>>;
|
|
835
|
+
integrationsStats: z.ZodObject<{
|
|
836
|
+
integrationsCount: z.ZodNumber;
|
|
837
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
838
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
839
|
+
activationRequestsCount: z.ZodNumber;
|
|
840
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
841
|
+
}, z.core.$strip>;
|
|
790
842
|
createdAt: z.ZodString;
|
|
791
843
|
updatedAt: z.ZodString;
|
|
792
844
|
}, z.core.$strip>;
|
|
@@ -905,6 +957,13 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
905
957
|
}>;
|
|
906
958
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
907
959
|
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>>;
|
|
960
|
+
integrationsStats: z.ZodObject<{
|
|
961
|
+
integrationsCount: z.ZodNumber;
|
|
962
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
963
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
964
|
+
activationRequestsCount: z.ZodNumber;
|
|
965
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
966
|
+
}, z.core.$strip>;
|
|
908
967
|
createdAt: z.ZodString;
|
|
909
968
|
updatedAt: z.ZodString;
|
|
910
969
|
}, z.core.$strip>;
|
|
@@ -1008,6 +1067,13 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1008
1067
|
}>;
|
|
1009
1068
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1010
1069
|
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>>;
|
|
1070
|
+
integrationsStats: z.ZodObject<{
|
|
1071
|
+
integrationsCount: z.ZodNumber;
|
|
1072
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1073
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1074
|
+
activationRequestsCount: z.ZodNumber;
|
|
1075
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1076
|
+
}, z.core.$strip>;
|
|
1011
1077
|
createdAt: z.ZodString;
|
|
1012
1078
|
updatedAt: z.ZodString;
|
|
1013
1079
|
}, z.core.$strip>;
|
|
@@ -1283,6 +1349,13 @@ declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1283
1349
|
}>;
|
|
1284
1350
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1285
1351
|
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>>;
|
|
1352
|
+
integrationsStats: z.ZodObject<{
|
|
1353
|
+
integrationsCount: z.ZodNumber;
|
|
1354
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1355
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1356
|
+
activationRequestsCount: z.ZodNumber;
|
|
1357
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1358
|
+
}, z.core.$strip>;
|
|
1286
1359
|
createdAt: z.ZodString;
|
|
1287
1360
|
updatedAt: z.ZodString;
|
|
1288
1361
|
}, z.core.$strip>;
|
|
@@ -1326,6 +1399,13 @@ declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getP
|
|
|
1326
1399
|
}>;
|
|
1327
1400
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1328
1401
|
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>>;
|
|
1402
|
+
integrationsStats: z.ZodObject<{
|
|
1403
|
+
integrationsCount: z.ZodNumber;
|
|
1404
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1405
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1406
|
+
activationRequestsCount: z.ZodNumber;
|
|
1407
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1408
|
+
}, z.core.$strip>;
|
|
1329
1409
|
createdAt: z.ZodString;
|
|
1330
1410
|
updatedAt: z.ZodString;
|
|
1331
1411
|
}, z.core.$strip>;
|
|
@@ -1447,6 +1527,13 @@ declare const updatePointOfSaleUserResponseSchema: z.ZodObject<{
|
|
|
1447
1527
|
}>;
|
|
1448
1528
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1449
1529
|
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>>;
|
|
1530
|
+
integrationsStats: z.ZodObject<{
|
|
1531
|
+
integrationsCount: z.ZodNumber;
|
|
1532
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1533
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1534
|
+
activationRequestsCount: z.ZodNumber;
|
|
1535
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1536
|
+
}, z.core.$strip>;
|
|
1450
1537
|
createdAt: z.ZodString;
|
|
1451
1538
|
updatedAt: z.ZodString;
|
|
1452
1539
|
}, z.core.$strip>;
|
|
@@ -1545,6 +1632,13 @@ declare class UpdatePointOfSaleUser extends AbstractApiRequest<typeof updatePoin
|
|
|
1545
1632
|
}>;
|
|
1546
1633
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1547
1634
|
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>>;
|
|
1635
|
+
integrationsStats: z.ZodObject<{
|
|
1636
|
+
integrationsCount: z.ZodNumber;
|
|
1637
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1638
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1639
|
+
activationRequestsCount: z.ZodNumber;
|
|
1640
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1641
|
+
}, z.core.$strip>;
|
|
1548
1642
|
createdAt: z.ZodString;
|
|
1549
1643
|
updatedAt: z.ZodString;
|
|
1550
1644
|
}, z.core.$strip>;
|
|
@@ -1665,6 +1759,13 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1665
1759
|
}>;
|
|
1666
1760
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1667
1761
|
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>>;
|
|
1762
|
+
integrationsStats: z.ZodObject<{
|
|
1763
|
+
integrationsCount: z.ZodNumber;
|
|
1764
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1765
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1766
|
+
activationRequestsCount: z.ZodNumber;
|
|
1767
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1768
|
+
}, z.core.$strip>;
|
|
1668
1769
|
createdAt: z.ZodString;
|
|
1669
1770
|
updatedAt: z.ZodString;
|
|
1670
1771
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1679,6 +1780,8 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1679
1780
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1680
1781
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1681
1782
|
}, z.core.$strip>;
|
|
1783
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
1784
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1682
1785
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1683
1786
|
dayOfWeek: z.ZodEnum<{
|
|
1684
1787
|
monday: "monday";
|
|
@@ -1834,6 +1937,13 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1834
1937
|
}>;
|
|
1835
1938
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1836
1939
|
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>>;
|
|
1940
|
+
integrationsStats: z.ZodObject<{
|
|
1941
|
+
integrationsCount: z.ZodNumber;
|
|
1942
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1943
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1944
|
+
activationRequestsCount: z.ZodNumber;
|
|
1945
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1946
|
+
}, z.core.$strip>;
|
|
1837
1947
|
createdAt: z.ZodString;
|
|
1838
1948
|
updatedAt: z.ZodString;
|
|
1839
1949
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1848,6 +1958,8 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1848
1958
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1849
1959
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1850
1960
|
}, z.core.$strip>;
|
|
1961
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
1962
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1851
1963
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1852
1964
|
dayOfWeek: z.ZodEnum<{
|
|
1853
1965
|
monday: "monday";
|
|
@@ -1968,6 +2080,13 @@ declare const getCompanyPointOfSalesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1968
2080
|
}>;
|
|
1969
2081
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1970
2082
|
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>>;
|
|
2083
|
+
integrationsStats: z.ZodObject<{
|
|
2084
|
+
integrationsCount: z.ZodNumber;
|
|
2085
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2086
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2087
|
+
activationRequestsCount: z.ZodNumber;
|
|
2088
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2089
|
+
}, z.core.$strip>;
|
|
1971
2090
|
createdAt: z.ZodString;
|
|
1972
2091
|
updatedAt: z.ZodString;
|
|
1973
2092
|
}, z.core.$strip>>;
|
|
@@ -2002,6 +2121,13 @@ declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompan
|
|
|
2002
2121
|
}>;
|
|
2003
2122
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2004
2123
|
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>>;
|
|
2124
|
+
integrationsStats: z.ZodObject<{
|
|
2125
|
+
integrationsCount: z.ZodNumber;
|
|
2126
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2127
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2128
|
+
activationRequestsCount: z.ZodNumber;
|
|
2129
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2130
|
+
}, z.core.$strip>;
|
|
2005
2131
|
createdAt: z.ZodString;
|
|
2006
2132
|
updatedAt: z.ZodString;
|
|
2007
2133
|
}, z.core.$strip>>;
|
|
@@ -2064,6 +2190,13 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2064
2190
|
}>;
|
|
2065
2191
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2066
2192
|
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>>;
|
|
2193
|
+
integrationsStats: z.ZodObject<{
|
|
2194
|
+
integrationsCount: z.ZodNumber;
|
|
2195
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2196
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2197
|
+
activationRequestsCount: z.ZodNumber;
|
|
2198
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2199
|
+
}, z.core.$strip>;
|
|
2067
2200
|
createdAt: z.ZodString;
|
|
2068
2201
|
updatedAt: z.ZodString;
|
|
2069
2202
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2078,6 +2211,8 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2078
2211
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2079
2212
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2080
2213
|
}, z.core.$strip>;
|
|
2214
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2215
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2081
2216
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2082
2217
|
dayOfWeek: z.ZodEnum<{
|
|
2083
2218
|
monday: "monday";
|
|
@@ -2157,6 +2292,13 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2157
2292
|
}>;
|
|
2158
2293
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2159
2294
|
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>>;
|
|
2295
|
+
integrationsStats: z.ZodObject<{
|
|
2296
|
+
integrationsCount: z.ZodNumber;
|
|
2297
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2298
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2299
|
+
activationRequestsCount: z.ZodNumber;
|
|
2300
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2301
|
+
}, z.core.$strip>;
|
|
2160
2302
|
createdAt: z.ZodString;
|
|
2161
2303
|
updatedAt: z.ZodString;
|
|
2162
2304
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2171,6 +2313,8 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2171
2313
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2172
2314
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2173
2315
|
}, z.core.$strip>;
|
|
2316
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2317
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2174
2318
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2175
2319
|
dayOfWeek: z.ZodEnum<{
|
|
2176
2320
|
monday: "monday";
|
|
@@ -2278,6 +2422,13 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2278
2422
|
}>;
|
|
2279
2423
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2280
2424
|
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>>;
|
|
2425
|
+
integrationsStats: z.ZodObject<{
|
|
2426
|
+
integrationsCount: z.ZodNumber;
|
|
2427
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2428
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2429
|
+
activationRequestsCount: z.ZodNumber;
|
|
2430
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2431
|
+
}, z.core.$strip>;
|
|
2281
2432
|
createdAt: z.ZodString;
|
|
2282
2433
|
updatedAt: z.ZodString;
|
|
2283
2434
|
}, z.core.$strip>>;
|
|
@@ -2322,6 +2473,13 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2322
2473
|
}>;
|
|
2323
2474
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2324
2475
|
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>>;
|
|
2476
|
+
integrationsStats: z.ZodObject<{
|
|
2477
|
+
integrationsCount: z.ZodNumber;
|
|
2478
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2479
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2480
|
+
activationRequestsCount: z.ZodNumber;
|
|
2481
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2482
|
+
}, z.core.$strip>;
|
|
2325
2483
|
createdAt: z.ZodString;
|
|
2326
2484
|
updatedAt: z.ZodString;
|
|
2327
2485
|
}, z.core.$strip>>;
|
|
@@ -2467,6 +2625,13 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2467
2625
|
}>;
|
|
2468
2626
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2469
2627
|
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>>;
|
|
2628
|
+
integrationsStats: z.ZodObject<{
|
|
2629
|
+
integrationsCount: z.ZodNumber;
|
|
2630
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2631
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2632
|
+
activationRequestsCount: z.ZodNumber;
|
|
2633
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2634
|
+
}, z.core.$strip>;
|
|
2470
2635
|
createdAt: z.ZodString;
|
|
2471
2636
|
updatedAt: z.ZodString;
|
|
2472
2637
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2481,6 +2646,8 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2481
2646
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2482
2647
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2483
2648
|
}, z.core.$strip>;
|
|
2649
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2650
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2484
2651
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2485
2652
|
dayOfWeek: z.ZodEnum<{
|
|
2486
2653
|
monday: "monday";
|
|
@@ -2635,6 +2802,13 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2635
2802
|
}>;
|
|
2636
2803
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2637
2804
|
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>>;
|
|
2805
|
+
integrationsStats: z.ZodObject<{
|
|
2806
|
+
integrationsCount: z.ZodNumber;
|
|
2807
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2808
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2809
|
+
activationRequestsCount: z.ZodNumber;
|
|
2810
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2811
|
+
}, z.core.$strip>;
|
|
2638
2812
|
createdAt: z.ZodString;
|
|
2639
2813
|
updatedAt: z.ZodString;
|
|
2640
2814
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2649,6 +2823,8 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2649
2823
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2650
2824
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2651
2825
|
}, z.core.$strip>;
|
|
2826
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2827
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2652
2828
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2653
2829
|
dayOfWeek: z.ZodEnum<{
|
|
2654
2830
|
monday: "monday";
|
|
@@ -3230,4 +3406,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
3230
3406
|
declare const pointOfSaleMenuVersionNullableIriSchema: 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>>;
|
|
3231
3407
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
3232
3408
|
|
|
3233
|
-
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, CreatePointOfSaleTimeOverride, type CreatePointOfSaleTimeOverrideInput, type CreatePointOfSaleTimeOverrideResponse, DeletePointOfSale, DeletePointOfSaleTimeOverride, DeletePointOfSaleUser, type DeliveryTimeSetting, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSaleTimeOverrideDetails, type GetPointOfSaleTimeOverrideDetailsInput, type GetPointOfSaleTimeOverrideDetailsResponse, GetPointOfSaleTimeOverrides, GetPointOfSaleTimeOverridesFromPointOfSale, type GetPointOfSaleTimeOverridesFromPointOfSaleInput, type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams, type GetPointOfSaleTimeOverridesFromPointOfSaleResponse, type GetPointOfSaleTimeOverridesInput, type GetPointOfSaleTimeOverridesQueryParams, type GetPointOfSaleTimeOverridesResponse, GetPointOfSaleUserDetails, type GetPointOfSaleUserDetailsInput, type GetPointOfSaleUserDetailsResponse, GetPointOfSaleUsers, GetPointOfSaleUsersFromPointOfSale, type GetPointOfSaleUsersFromPointOfSaleInput, type GetPointOfSaleUsersFromPointOfSaleQueryParams, type GetPointOfSaleUsersFromPointOfSaleResponse, GetPointOfSaleUsersFromUser, type GetPointOfSaleUsersFromUserInput, type GetPointOfSaleUsersFromUserQueryParams, type GetPointOfSaleUsersFromUserResponse, type GetPointOfSaleUsersInput, type GetPointOfSaleUsersQueryParams, type GetPointOfSaleUsersResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type MenuVersion, type MenuVersionDetails, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleMenuVersionIri, type PointOfSaleMenuVersionNullableIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleTimeOverride, type PointOfSaleTimeOverrideDetails, type PointOfSaleTimeOverridesQueryParams, type PointOfSaleUser, type PointOfSaleUserRole, type PointOfSaleUsersQueryParams, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, UpdatePointOfSaleTimeOverride, type UpdatePointOfSaleTimeOverrideInput, type UpdatePointOfSaleTimeOverrideResponse, UpdatePointOfSaleUser, type UpdatePointOfSaleUserInput, type UpdatePointOfSaleUserResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritableCreatePointOfSaleTimeOverride, type WritablePointOfSale, type WritablePointOfSaleTimeOverride, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, createPointOfSaleTimeOverrideInputSchema, createPointOfSaleTimeOverrideResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deletePointOfSaleTimeOverrideInputSchema, deletePointOfSaleTimeOverrideResponseSchema, deletePointOfSaleUserInputSchema, deletePointOfSaleUserResponseSchema, deliveryTimeSettingSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSaleTimeOverrideDetailsInputSchema, getPointOfSaleTimeOverrideDetailsResponseSchema, getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema, getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, getPointOfSaleTimeOverridesInputSchema, getPointOfSaleTimeOverridesQuerySchema, getPointOfSaleTimeOverridesResponseSchema, getPointOfSaleUserDetailsInputSchema, getPointOfSaleUserDetailsResponseSchema, getPointOfSaleUsersFromPointOfSaleInputSchema, getPointOfSaleUsersFromPointOfSaleQuerySchema, getPointOfSaleUsersFromPointOfSaleResponseSchema, getPointOfSaleUsersFromUserInputSchema, getPointOfSaleUsersFromUserQuerySchema, getPointOfSaleUsersFromUserResponseSchema, getPointOfSaleUsersInputSchema, getPointOfSaleUsersQuerySchema, getPointOfSaleUsersResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, menuVersionDetailsSchema, menuVersionSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleMenuVersionIriSchema, pointOfSaleMenuVersionNullableIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleTimeOverrideDetailsSchema, pointOfSaleTimeOverrideSchema, pointOfSaleTimeOverridesQuerySchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSaleUserSchema, pointOfSaleUsersQuerySchema, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, updatePointOfSaleTimeOverrideInputSchema, updatePointOfSaleTimeOverrideResponseSchema, updatePointOfSaleUserInputSchema, updatePointOfSaleUserResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writableCreatePointOfSaleTimeOverrideSchema, writablePointOfSaleSchema, writablePointOfSaleTimeOverrideSchema };
|
|
3409
|
+
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, CreatePointOfSaleTimeOverride, type CreatePointOfSaleTimeOverrideInput, type CreatePointOfSaleTimeOverrideResponse, DeletePointOfSale, DeletePointOfSaleTimeOverride, DeletePointOfSaleUser, type DeliveryTimeSetting, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSaleTimeOverrideDetails, type GetPointOfSaleTimeOverrideDetailsInput, type GetPointOfSaleTimeOverrideDetailsResponse, GetPointOfSaleTimeOverrides, GetPointOfSaleTimeOverridesFromPointOfSale, type GetPointOfSaleTimeOverridesFromPointOfSaleInput, type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams, type GetPointOfSaleTimeOverridesFromPointOfSaleResponse, type GetPointOfSaleTimeOverridesInput, type GetPointOfSaleTimeOverridesQueryParams, type GetPointOfSaleTimeOverridesResponse, GetPointOfSaleUserDetails, type GetPointOfSaleUserDetailsInput, type GetPointOfSaleUserDetailsResponse, GetPointOfSaleUsers, GetPointOfSaleUsersFromPointOfSale, type GetPointOfSaleUsersFromPointOfSaleInput, type GetPointOfSaleUsersFromPointOfSaleQueryParams, type GetPointOfSaleUsersFromPointOfSaleResponse, GetPointOfSaleUsersFromUser, type GetPointOfSaleUsersFromUserInput, type GetPointOfSaleUsersFromUserQueryParams, type GetPointOfSaleUsersFromUserResponse, type GetPointOfSaleUsersInput, type GetPointOfSaleUsersQueryParams, type GetPointOfSaleUsersResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type IntegrationsStats, type MenuVersion, type MenuVersionDetails, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleMenuVersionIri, type PointOfSaleMenuVersionNullableIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleTimeOverride, type PointOfSaleTimeOverrideDetails, type PointOfSaleTimeOverridesQueryParams, type PointOfSaleUser, type PointOfSaleUserRole, type PointOfSaleUsersQueryParams, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, UpdatePointOfSaleTimeOverride, type UpdatePointOfSaleTimeOverrideInput, type UpdatePointOfSaleTimeOverrideResponse, UpdatePointOfSaleUser, type UpdatePointOfSaleUserInput, type UpdatePointOfSaleUserResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritableCreatePointOfSaleTimeOverride, type WritablePointOfSale, type WritablePointOfSaleTimeOverride, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, createPointOfSaleTimeOverrideInputSchema, createPointOfSaleTimeOverrideResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deletePointOfSaleTimeOverrideInputSchema, deletePointOfSaleTimeOverrideResponseSchema, deletePointOfSaleUserInputSchema, deletePointOfSaleUserResponseSchema, deliveryTimeSettingSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSaleTimeOverrideDetailsInputSchema, getPointOfSaleTimeOverrideDetailsResponseSchema, getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema, getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, getPointOfSaleTimeOverridesInputSchema, getPointOfSaleTimeOverridesQuerySchema, getPointOfSaleTimeOverridesResponseSchema, getPointOfSaleUserDetailsInputSchema, getPointOfSaleUserDetailsResponseSchema, getPointOfSaleUsersFromPointOfSaleInputSchema, getPointOfSaleUsersFromPointOfSaleQuerySchema, getPointOfSaleUsersFromPointOfSaleResponseSchema, getPointOfSaleUsersFromUserInputSchema, getPointOfSaleUsersFromUserQuerySchema, getPointOfSaleUsersFromUserResponseSchema, getPointOfSaleUsersInputSchema, getPointOfSaleUsersQuerySchema, getPointOfSaleUsersResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, integrationsStatsSchema, menuVersionDetailsSchema, menuVersionSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleMenuVersionIriSchema, pointOfSaleMenuVersionNullableIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleTimeOverrideDetailsSchema, pointOfSaleTimeOverrideSchema, pointOfSaleTimeOverridesQuerySchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSaleUserSchema, pointOfSaleUsersQuerySchema, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, updatePointOfSaleTimeOverrideInputSchema, updatePointOfSaleTimeOverrideResponseSchema, updatePointOfSaleUserInputSchema, updatePointOfSaleUserResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writableCreatePointOfSaleTimeOverrideSchema, writablePointOfSaleSchema, writablePointOfSaleTimeOverrideSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,14 @@ declare const deliveryTimeSettingSchema: z.ZodObject<{
|
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
type DeliveryTimeSetting = z.infer<typeof deliveryTimeSettingSchema>;
|
|
39
|
+
declare const integrationsStatsSchema: z.ZodObject<{
|
|
40
|
+
integrationsCount: z.ZodNumber;
|
|
41
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
42
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
43
|
+
activationRequestsCount: z.ZodNumber;
|
|
44
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
type IntegrationsStats = z.infer<typeof integrationsStatsSchema>;
|
|
39
47
|
declare const pointOfSaleSchema: z.ZodObject<{
|
|
40
48
|
id: z.ZodString;
|
|
41
49
|
name: z.ZodString;
|
|
@@ -61,6 +69,13 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
61
69
|
}>;
|
|
62
70
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
63
71
|
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>>;
|
|
72
|
+
integrationsStats: z.ZodObject<{
|
|
73
|
+
integrationsCount: z.ZodNumber;
|
|
74
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
75
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
76
|
+
activationRequestsCount: z.ZodNumber;
|
|
77
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
78
|
+
}, z.core.$strip>;
|
|
64
79
|
createdAt: z.ZodString;
|
|
65
80
|
updatedAt: z.ZodString;
|
|
66
81
|
}, z.core.$strip>;
|
|
@@ -91,6 +106,13 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
91
106
|
}>;
|
|
92
107
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
93
108
|
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>>;
|
|
109
|
+
integrationsStats: z.ZodObject<{
|
|
110
|
+
integrationsCount: z.ZodNumber;
|
|
111
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
112
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
113
|
+
activationRequestsCount: z.ZodNumber;
|
|
114
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
115
|
+
}, z.core.$strip>;
|
|
94
116
|
createdAt: z.ZodString;
|
|
95
117
|
updatedAt: z.ZodString;
|
|
96
118
|
}, z.core.$strip>;
|
|
@@ -177,6 +199,13 @@ declare const pointOfSaleUserSchema: z.ZodObject<{
|
|
|
177
199
|
}>;
|
|
178
200
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
179
201
|
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>>;
|
|
202
|
+
integrationsStats: z.ZodObject<{
|
|
203
|
+
integrationsCount: z.ZodNumber;
|
|
204
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
205
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
206
|
+
activationRequestsCount: z.ZodNumber;
|
|
207
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
208
|
+
}, z.core.$strip>;
|
|
180
209
|
createdAt: z.ZodString;
|
|
181
210
|
updatedAt: z.ZodString;
|
|
182
211
|
}, z.core.$strip>;
|
|
@@ -232,6 +261,13 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
232
261
|
}>;
|
|
233
262
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
234
263
|
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>>;
|
|
264
|
+
integrationsStats: z.ZodObject<{
|
|
265
|
+
integrationsCount: z.ZodNumber;
|
|
266
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
267
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
268
|
+
activationRequestsCount: z.ZodNumber;
|
|
269
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
270
|
+
}, z.core.$strip>;
|
|
235
271
|
createdAt: z.ZodString;
|
|
236
272
|
updatedAt: z.ZodString;
|
|
237
273
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -246,6 +282,8 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
246
282
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
247
283
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
248
284
|
}, z.core.$strip>;
|
|
285
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
286
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
249
287
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
250
288
|
dayOfWeek: z.ZodEnum<{
|
|
251
289
|
monday: "monday";
|
|
@@ -694,6 +732,13 @@ declare const getPointOfSaleUserDetailsResponseSchema: z.ZodObject<{
|
|
|
694
732
|
}>;
|
|
695
733
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
696
734
|
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>>;
|
|
735
|
+
integrationsStats: z.ZodObject<{
|
|
736
|
+
integrationsCount: z.ZodNumber;
|
|
737
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
738
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
739
|
+
activationRequestsCount: z.ZodNumber;
|
|
740
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
741
|
+
}, z.core.$strip>;
|
|
697
742
|
createdAt: z.ZodString;
|
|
698
743
|
updatedAt: z.ZodString;
|
|
699
744
|
}, z.core.$strip>;
|
|
@@ -787,6 +832,13 @@ declare class GetPointOfSaleUserDetails extends AbstractApiRequest<typeof getPoi
|
|
|
787
832
|
}>;
|
|
788
833
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
789
834
|
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>>;
|
|
835
|
+
integrationsStats: z.ZodObject<{
|
|
836
|
+
integrationsCount: z.ZodNumber;
|
|
837
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
838
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
839
|
+
activationRequestsCount: z.ZodNumber;
|
|
840
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
841
|
+
}, z.core.$strip>;
|
|
790
842
|
createdAt: z.ZodString;
|
|
791
843
|
updatedAt: z.ZodString;
|
|
792
844
|
}, z.core.$strip>;
|
|
@@ -905,6 +957,13 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
905
957
|
}>;
|
|
906
958
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
907
959
|
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>>;
|
|
960
|
+
integrationsStats: z.ZodObject<{
|
|
961
|
+
integrationsCount: z.ZodNumber;
|
|
962
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
963
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
964
|
+
activationRequestsCount: z.ZodNumber;
|
|
965
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
966
|
+
}, z.core.$strip>;
|
|
908
967
|
createdAt: z.ZodString;
|
|
909
968
|
updatedAt: z.ZodString;
|
|
910
969
|
}, z.core.$strip>;
|
|
@@ -1008,6 +1067,13 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1008
1067
|
}>;
|
|
1009
1068
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1010
1069
|
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>>;
|
|
1070
|
+
integrationsStats: z.ZodObject<{
|
|
1071
|
+
integrationsCount: z.ZodNumber;
|
|
1072
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1073
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1074
|
+
activationRequestsCount: z.ZodNumber;
|
|
1075
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1076
|
+
}, z.core.$strip>;
|
|
1011
1077
|
createdAt: z.ZodString;
|
|
1012
1078
|
updatedAt: z.ZodString;
|
|
1013
1079
|
}, z.core.$strip>;
|
|
@@ -1283,6 +1349,13 @@ declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1283
1349
|
}>;
|
|
1284
1350
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1285
1351
|
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>>;
|
|
1352
|
+
integrationsStats: z.ZodObject<{
|
|
1353
|
+
integrationsCount: z.ZodNumber;
|
|
1354
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1355
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1356
|
+
activationRequestsCount: z.ZodNumber;
|
|
1357
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1358
|
+
}, z.core.$strip>;
|
|
1286
1359
|
createdAt: z.ZodString;
|
|
1287
1360
|
updatedAt: z.ZodString;
|
|
1288
1361
|
}, z.core.$strip>;
|
|
@@ -1326,6 +1399,13 @@ declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getP
|
|
|
1326
1399
|
}>;
|
|
1327
1400
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1328
1401
|
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>>;
|
|
1402
|
+
integrationsStats: z.ZodObject<{
|
|
1403
|
+
integrationsCount: z.ZodNumber;
|
|
1404
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1405
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1406
|
+
activationRequestsCount: z.ZodNumber;
|
|
1407
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1408
|
+
}, z.core.$strip>;
|
|
1329
1409
|
createdAt: z.ZodString;
|
|
1330
1410
|
updatedAt: z.ZodString;
|
|
1331
1411
|
}, z.core.$strip>;
|
|
@@ -1447,6 +1527,13 @@ declare const updatePointOfSaleUserResponseSchema: z.ZodObject<{
|
|
|
1447
1527
|
}>;
|
|
1448
1528
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1449
1529
|
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>>;
|
|
1530
|
+
integrationsStats: z.ZodObject<{
|
|
1531
|
+
integrationsCount: z.ZodNumber;
|
|
1532
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1533
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1534
|
+
activationRequestsCount: z.ZodNumber;
|
|
1535
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1536
|
+
}, z.core.$strip>;
|
|
1450
1537
|
createdAt: z.ZodString;
|
|
1451
1538
|
updatedAt: z.ZodString;
|
|
1452
1539
|
}, z.core.$strip>;
|
|
@@ -1545,6 +1632,13 @@ declare class UpdatePointOfSaleUser extends AbstractApiRequest<typeof updatePoin
|
|
|
1545
1632
|
}>;
|
|
1546
1633
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1547
1634
|
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>>;
|
|
1635
|
+
integrationsStats: z.ZodObject<{
|
|
1636
|
+
integrationsCount: z.ZodNumber;
|
|
1637
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1638
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1639
|
+
activationRequestsCount: z.ZodNumber;
|
|
1640
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1641
|
+
}, z.core.$strip>;
|
|
1548
1642
|
createdAt: z.ZodString;
|
|
1549
1643
|
updatedAt: z.ZodString;
|
|
1550
1644
|
}, z.core.$strip>;
|
|
@@ -1665,6 +1759,13 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1665
1759
|
}>;
|
|
1666
1760
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1667
1761
|
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>>;
|
|
1762
|
+
integrationsStats: z.ZodObject<{
|
|
1763
|
+
integrationsCount: z.ZodNumber;
|
|
1764
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1765
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1766
|
+
activationRequestsCount: z.ZodNumber;
|
|
1767
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1768
|
+
}, z.core.$strip>;
|
|
1668
1769
|
createdAt: z.ZodString;
|
|
1669
1770
|
updatedAt: z.ZodString;
|
|
1670
1771
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1679,6 +1780,8 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1679
1780
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1680
1781
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1681
1782
|
}, z.core.$strip>;
|
|
1783
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
1784
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1682
1785
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1683
1786
|
dayOfWeek: z.ZodEnum<{
|
|
1684
1787
|
monday: "monday";
|
|
@@ -1834,6 +1937,13 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1834
1937
|
}>;
|
|
1835
1938
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1836
1939
|
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>>;
|
|
1940
|
+
integrationsStats: z.ZodObject<{
|
|
1941
|
+
integrationsCount: z.ZodNumber;
|
|
1942
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1943
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1944
|
+
activationRequestsCount: z.ZodNumber;
|
|
1945
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1946
|
+
}, z.core.$strip>;
|
|
1837
1947
|
createdAt: z.ZodString;
|
|
1838
1948
|
updatedAt: z.ZodString;
|
|
1839
1949
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1848,6 +1958,8 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1848
1958
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
1849
1959
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
1850
1960
|
}, z.core.$strip>;
|
|
1961
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
1962
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
1851
1963
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
1852
1964
|
dayOfWeek: z.ZodEnum<{
|
|
1853
1965
|
monday: "monday";
|
|
@@ -1968,6 +2080,13 @@ declare const getCompanyPointOfSalesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1968
2080
|
}>;
|
|
1969
2081
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1970
2082
|
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>>;
|
|
2083
|
+
integrationsStats: z.ZodObject<{
|
|
2084
|
+
integrationsCount: z.ZodNumber;
|
|
2085
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2086
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2087
|
+
activationRequestsCount: z.ZodNumber;
|
|
2088
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2089
|
+
}, z.core.$strip>;
|
|
1971
2090
|
createdAt: z.ZodString;
|
|
1972
2091
|
updatedAt: z.ZodString;
|
|
1973
2092
|
}, z.core.$strip>>;
|
|
@@ -2002,6 +2121,13 @@ declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompan
|
|
|
2002
2121
|
}>;
|
|
2003
2122
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2004
2123
|
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>>;
|
|
2124
|
+
integrationsStats: z.ZodObject<{
|
|
2125
|
+
integrationsCount: z.ZodNumber;
|
|
2126
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2127
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2128
|
+
activationRequestsCount: z.ZodNumber;
|
|
2129
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2130
|
+
}, z.core.$strip>;
|
|
2005
2131
|
createdAt: z.ZodString;
|
|
2006
2132
|
updatedAt: z.ZodString;
|
|
2007
2133
|
}, z.core.$strip>>;
|
|
@@ -2064,6 +2190,13 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2064
2190
|
}>;
|
|
2065
2191
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2066
2192
|
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>>;
|
|
2193
|
+
integrationsStats: z.ZodObject<{
|
|
2194
|
+
integrationsCount: z.ZodNumber;
|
|
2195
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2196
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2197
|
+
activationRequestsCount: z.ZodNumber;
|
|
2198
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2199
|
+
}, z.core.$strip>;
|
|
2067
2200
|
createdAt: z.ZodString;
|
|
2068
2201
|
updatedAt: z.ZodString;
|
|
2069
2202
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2078,6 +2211,8 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2078
2211
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2079
2212
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2080
2213
|
}, z.core.$strip>;
|
|
2214
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2215
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2081
2216
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2082
2217
|
dayOfWeek: z.ZodEnum<{
|
|
2083
2218
|
monday: "monday";
|
|
@@ -2157,6 +2292,13 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2157
2292
|
}>;
|
|
2158
2293
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2159
2294
|
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>>;
|
|
2295
|
+
integrationsStats: z.ZodObject<{
|
|
2296
|
+
integrationsCount: z.ZodNumber;
|
|
2297
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2298
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2299
|
+
activationRequestsCount: z.ZodNumber;
|
|
2300
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2301
|
+
}, z.core.$strip>;
|
|
2160
2302
|
createdAt: z.ZodString;
|
|
2161
2303
|
updatedAt: z.ZodString;
|
|
2162
2304
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2171,6 +2313,8 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2171
2313
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2172
2314
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2173
2315
|
}, z.core.$strip>;
|
|
2316
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2317
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2174
2318
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2175
2319
|
dayOfWeek: z.ZodEnum<{
|
|
2176
2320
|
monday: "monday";
|
|
@@ -2278,6 +2422,13 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2278
2422
|
}>;
|
|
2279
2423
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2280
2424
|
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>>;
|
|
2425
|
+
integrationsStats: z.ZodObject<{
|
|
2426
|
+
integrationsCount: z.ZodNumber;
|
|
2427
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2428
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2429
|
+
activationRequestsCount: z.ZodNumber;
|
|
2430
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2431
|
+
}, z.core.$strip>;
|
|
2281
2432
|
createdAt: z.ZodString;
|
|
2282
2433
|
updatedAt: z.ZodString;
|
|
2283
2434
|
}, z.core.$strip>>;
|
|
@@ -2322,6 +2473,13 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2322
2473
|
}>;
|
|
2323
2474
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2324
2475
|
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>>;
|
|
2476
|
+
integrationsStats: z.ZodObject<{
|
|
2477
|
+
integrationsCount: z.ZodNumber;
|
|
2478
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2479
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2480
|
+
activationRequestsCount: z.ZodNumber;
|
|
2481
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2482
|
+
}, z.core.$strip>;
|
|
2325
2483
|
createdAt: z.ZodString;
|
|
2326
2484
|
updatedAt: z.ZodString;
|
|
2327
2485
|
}, z.core.$strip>>;
|
|
@@ -2467,6 +2625,13 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2467
2625
|
}>;
|
|
2468
2626
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2469
2627
|
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>>;
|
|
2628
|
+
integrationsStats: z.ZodObject<{
|
|
2629
|
+
integrationsCount: z.ZodNumber;
|
|
2630
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2631
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2632
|
+
activationRequestsCount: z.ZodNumber;
|
|
2633
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2634
|
+
}, z.core.$strip>;
|
|
2470
2635
|
createdAt: z.ZodString;
|
|
2471
2636
|
updatedAt: z.ZodString;
|
|
2472
2637
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2481,6 +2646,8 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2481
2646
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2482
2647
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2483
2648
|
}, z.core.$strip>;
|
|
2649
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2650
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2484
2651
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2485
2652
|
dayOfWeek: z.ZodEnum<{
|
|
2486
2653
|
monday: "monday";
|
|
@@ -2635,6 +2802,13 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2635
2802
|
}>;
|
|
2636
2803
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2637
2804
|
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>>;
|
|
2805
|
+
integrationsStats: z.ZodObject<{
|
|
2806
|
+
integrationsCount: z.ZodNumber;
|
|
2807
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2808
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2809
|
+
activationRequestsCount: z.ZodNumber;
|
|
2810
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2811
|
+
}, z.core.$strip>;
|
|
2638
2812
|
createdAt: z.ZodString;
|
|
2639
2813
|
updatedAt: z.ZodString;
|
|
2640
2814
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2649,6 +2823,8 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2649
2823
|
preventOrderTakingIfTheMaxCountableItemsExceeded: z.ZodBoolean;
|
|
2650
2824
|
numberMinutesBeforeAutoAcceptOrder: z.ZodCoercedNumber<unknown>;
|
|
2651
2825
|
}, z.core.$strip>;
|
|
2826
|
+
customersIndexManifestUrl: z.ZodNullable<z.ZodURL>;
|
|
2827
|
+
customersIndexFileUrl: z.ZodNullable<z.ZodURL>;
|
|
2652
2828
|
openingTimeSettings: z.ZodArray<z.ZodObject<{
|
|
2653
2829
|
dayOfWeek: z.ZodEnum<{
|
|
2654
2830
|
monday: "monday";
|
|
@@ -3230,4 +3406,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
3230
3406
|
declare const pointOfSaleMenuVersionNullableIriSchema: 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>>;
|
|
3231
3407
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
3232
3408
|
|
|
3233
|
-
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, CreatePointOfSaleTimeOverride, type CreatePointOfSaleTimeOverrideInput, type CreatePointOfSaleTimeOverrideResponse, DeletePointOfSale, DeletePointOfSaleTimeOverride, DeletePointOfSaleUser, type DeliveryTimeSetting, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSaleTimeOverrideDetails, type GetPointOfSaleTimeOverrideDetailsInput, type GetPointOfSaleTimeOverrideDetailsResponse, GetPointOfSaleTimeOverrides, GetPointOfSaleTimeOverridesFromPointOfSale, type GetPointOfSaleTimeOverridesFromPointOfSaleInput, type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams, type GetPointOfSaleTimeOverridesFromPointOfSaleResponse, type GetPointOfSaleTimeOverridesInput, type GetPointOfSaleTimeOverridesQueryParams, type GetPointOfSaleTimeOverridesResponse, GetPointOfSaleUserDetails, type GetPointOfSaleUserDetailsInput, type GetPointOfSaleUserDetailsResponse, GetPointOfSaleUsers, GetPointOfSaleUsersFromPointOfSale, type GetPointOfSaleUsersFromPointOfSaleInput, type GetPointOfSaleUsersFromPointOfSaleQueryParams, type GetPointOfSaleUsersFromPointOfSaleResponse, GetPointOfSaleUsersFromUser, type GetPointOfSaleUsersFromUserInput, type GetPointOfSaleUsersFromUserQueryParams, type GetPointOfSaleUsersFromUserResponse, type GetPointOfSaleUsersInput, type GetPointOfSaleUsersQueryParams, type GetPointOfSaleUsersResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type MenuVersion, type MenuVersionDetails, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleMenuVersionIri, type PointOfSaleMenuVersionNullableIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleTimeOverride, type PointOfSaleTimeOverrideDetails, type PointOfSaleTimeOverridesQueryParams, type PointOfSaleUser, type PointOfSaleUserRole, type PointOfSaleUsersQueryParams, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, UpdatePointOfSaleTimeOverride, type UpdatePointOfSaleTimeOverrideInput, type UpdatePointOfSaleTimeOverrideResponse, UpdatePointOfSaleUser, type UpdatePointOfSaleUserInput, type UpdatePointOfSaleUserResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritableCreatePointOfSaleTimeOverride, type WritablePointOfSale, type WritablePointOfSaleTimeOverride, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, createPointOfSaleTimeOverrideInputSchema, createPointOfSaleTimeOverrideResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deletePointOfSaleTimeOverrideInputSchema, deletePointOfSaleTimeOverrideResponseSchema, deletePointOfSaleUserInputSchema, deletePointOfSaleUserResponseSchema, deliveryTimeSettingSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSaleTimeOverrideDetailsInputSchema, getPointOfSaleTimeOverrideDetailsResponseSchema, getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema, getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, getPointOfSaleTimeOverridesInputSchema, getPointOfSaleTimeOverridesQuerySchema, getPointOfSaleTimeOverridesResponseSchema, getPointOfSaleUserDetailsInputSchema, getPointOfSaleUserDetailsResponseSchema, getPointOfSaleUsersFromPointOfSaleInputSchema, getPointOfSaleUsersFromPointOfSaleQuerySchema, getPointOfSaleUsersFromPointOfSaleResponseSchema, getPointOfSaleUsersFromUserInputSchema, getPointOfSaleUsersFromUserQuerySchema, getPointOfSaleUsersFromUserResponseSchema, getPointOfSaleUsersInputSchema, getPointOfSaleUsersQuerySchema, getPointOfSaleUsersResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, menuVersionDetailsSchema, menuVersionSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleMenuVersionIriSchema, pointOfSaleMenuVersionNullableIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleTimeOverrideDetailsSchema, pointOfSaleTimeOverrideSchema, pointOfSaleTimeOverridesQuerySchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSaleUserSchema, pointOfSaleUsersQuerySchema, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, updatePointOfSaleTimeOverrideInputSchema, updatePointOfSaleTimeOverrideResponseSchema, updatePointOfSaleUserInputSchema, updatePointOfSaleUserResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writableCreatePointOfSaleTimeOverrideSchema, writablePointOfSaleSchema, writablePointOfSaleTimeOverrideSchema };
|
|
3409
|
+
export { CreatePointOfSale, type CreatePointOfSaleInput, type CreatePointOfSaleResponse, CreatePointOfSaleTimeOverride, type CreatePointOfSaleTimeOverrideInput, type CreatePointOfSaleTimeOverrideResponse, DeletePointOfSale, DeletePointOfSaleTimeOverride, DeletePointOfSaleUser, type DeliveryTimeSetting, GetCompanyPointOfSales, type GetCompanyPointOfSalesInput, type GetCompanyPointOfSalesQueryParams, type GetCompanyPointOfSalesResponse, GetPointOfSaleDetails, type GetPointOfSaleDetailsInput, type GetPointOfSaleDetailsResponse, GetPointOfSaleTimeOverrideDetails, type GetPointOfSaleTimeOverrideDetailsInput, type GetPointOfSaleTimeOverrideDetailsResponse, GetPointOfSaleTimeOverrides, GetPointOfSaleTimeOverridesFromPointOfSale, type GetPointOfSaleTimeOverridesFromPointOfSaleInput, type GetPointOfSaleTimeOverridesFromPointOfSaleQueryParams, type GetPointOfSaleTimeOverridesFromPointOfSaleResponse, type GetPointOfSaleTimeOverridesInput, type GetPointOfSaleTimeOverridesQueryParams, type GetPointOfSaleTimeOverridesResponse, GetPointOfSaleUserDetails, type GetPointOfSaleUserDetailsInput, type GetPointOfSaleUserDetailsResponse, GetPointOfSaleUsers, GetPointOfSaleUsersFromPointOfSale, type GetPointOfSaleUsersFromPointOfSaleInput, type GetPointOfSaleUsersFromPointOfSaleQueryParams, type GetPointOfSaleUsersFromPointOfSaleResponse, GetPointOfSaleUsersFromUser, type GetPointOfSaleUsersFromUserInput, type GetPointOfSaleUsersFromUserQueryParams, type GetPointOfSaleUsersFromUserResponse, type GetPointOfSaleUsersInput, type GetPointOfSaleUsersQueryParams, type GetPointOfSaleUsersResponse, GetPointOfSales, type GetPointOfSalesInput, type GetPointOfSalesQueryParams, type GetPointOfSalesResponse, type IntegrationsStats, type MenuVersion, type MenuVersionDetails, type PointOfSale, type PointOfSaleCapability, type PointOfSaleDetails, type PointOfSaleIri, type PointOfSaleMenuVersionIri, type PointOfSaleMenuVersionNullableIri, type PointOfSaleNullableIri, type PointOfSaleOpeningStatus, type PointOfSaleTimeOverride, type PointOfSaleTimeOverrideDetails, type PointOfSaleTimeOverridesQueryParams, type PointOfSaleUser, type PointOfSaleUserRole, type PointOfSaleUsersQueryParams, type PointOfSalesQueryParams, type TimeSetting, UpdatePointOfSale, type UpdatePointOfSaleInput, type UpdatePointOfSaleResponse, UpdatePointOfSaleTimeOverride, type UpdatePointOfSaleTimeOverrideInput, type UpdatePointOfSaleTimeOverrideResponse, UpdatePointOfSaleUser, type UpdatePointOfSaleUserInput, type UpdatePointOfSaleUserResponse, type UserPointOfSale, type WritableCreatePointOfSale, type WritableCreatePointOfSaleTimeOverride, type WritablePointOfSale, type WritablePointOfSaleTimeOverride, createPointOfSaleInputSchema, createPointOfSaleResponseSchema, createPointOfSaleTimeOverrideInputSchema, createPointOfSaleTimeOverrideResponseSchema, deletePointOfSaleInputSchema, deletePointOfSaleResponseSchema, deletePointOfSaleTimeOverrideInputSchema, deletePointOfSaleTimeOverrideResponseSchema, deletePointOfSaleUserInputSchema, deletePointOfSaleUserResponseSchema, deliveryTimeSettingSchema, getCompanyPointOfSalesInputSchema, getCompanyPointOfSalesQuerySchema, getCompanyPointOfSalesResponseSchema, getPointOfSaleDetailsInputSchema, getPointOfSaleDetailsResponseSchema, getPointOfSaleTimeOverrideDetailsInputSchema, getPointOfSaleTimeOverrideDetailsResponseSchema, getPointOfSaleTimeOverridesFromPointOfSaleInputSchema, getPointOfSaleTimeOverridesFromPointOfSaleQuerySchema, getPointOfSaleTimeOverridesFromPointOfSaleResponseSchema, getPointOfSaleTimeOverridesInputSchema, getPointOfSaleTimeOverridesQuerySchema, getPointOfSaleTimeOverridesResponseSchema, getPointOfSaleUserDetailsInputSchema, getPointOfSaleUserDetailsResponseSchema, getPointOfSaleUsersFromPointOfSaleInputSchema, getPointOfSaleUsersFromPointOfSaleQuerySchema, getPointOfSaleUsersFromPointOfSaleResponseSchema, getPointOfSaleUsersFromUserInputSchema, getPointOfSaleUsersFromUserQuerySchema, getPointOfSaleUsersFromUserResponseSchema, getPointOfSaleUsersInputSchema, getPointOfSaleUsersQuerySchema, getPointOfSaleUsersResponseSchema, getPointOfSalesInputSchema, getPointOfSalesQuerySchema, getPointOfSalesResponseSchema, integrationsStatsSchema, menuVersionDetailsSchema, menuVersionSchema, pointOfSaleAutoAcceptOrderValues, pointOfSaleCapabilities, pointOfSaleCapabilitySchema, pointOfSaleDetailsSchema, pointOfSaleIntervalValues, pointOfSaleIriSchema, pointOfSaleMenuVersionIriSchema, pointOfSaleMenuVersionNullableIriSchema, pointOfSaleNullableIriSchema, pointOfSaleOpeningStatusSchema, pointOfSaleOpeningStatuses, pointOfSaleSchema, pointOfSaleTimeOverrideDetailsSchema, pointOfSaleTimeOverrideSchema, pointOfSaleTimeOverridesQuerySchema, pointOfSaleUserRoleSchema, pointOfSaleUserRoles, pointOfSaleUserSchema, pointOfSaleUsersQuerySchema, pointOfSalesQuerySchema, timeSettingSchema, updatePointOfSaleInputSchema, updatePointOfSaleResponseSchema, updatePointOfSaleTimeOverrideInputSchema, updatePointOfSaleTimeOverrideResponseSchema, updatePointOfSaleUserInputSchema, updatePointOfSaleUserResponseSchema, userPointOfSaleSchema, writableCreatePointOfSaleSchema, writableCreatePointOfSaleTimeOverrideSchema, writablePointOfSaleSchema, writablePointOfSaleTimeOverrideSchema };
|
package/dist/index.js
CHANGED
|
@@ -11191,6 +11191,13 @@ var deliveryTimeSettingSchema = external_exports.object({
|
|
|
11191
11191
|
availableCouriers: external_exports.coerce.number().nonnegative()
|
|
11192
11192
|
}).array()
|
|
11193
11193
|
});
|
|
11194
|
+
var integrationsStatsSchema = external_exports.object({
|
|
11195
|
+
integrationsCount: external_exports.number().nonnegative(),
|
|
11196
|
+
pendingIntegrationsCount: external_exports.number().nonnegative(),
|
|
11197
|
+
erroringIntegrationsCount: external_exports.number().nonnegative(),
|
|
11198
|
+
activationRequestsCount: external_exports.number().nonnegative(),
|
|
11199
|
+
cancellationRequestsCount: external_exports.number().nonnegative()
|
|
11200
|
+
});
|
|
11194
11201
|
var pointOfSaleSchema = external_exports.object({
|
|
11195
11202
|
id: external_exports.string(),
|
|
11196
11203
|
name: external_exports.string(),
|
|
@@ -11204,6 +11211,7 @@ var pointOfSaleSchema = external_exports.object({
|
|
|
11204
11211
|
openingStatus: pointOfSaleOpeningStatusSchema,
|
|
11205
11212
|
nextSyncMenuScheduledAt: datetimeSchema.nullable(),
|
|
11206
11213
|
currentMenuVersion: pointOfSaleMenuVersionNullableIriSchema,
|
|
11214
|
+
integrationsStats: integrationsStatsSchema,
|
|
11207
11215
|
createdAt: datetimeSchema,
|
|
11208
11216
|
updatedAt: datetimeSchema
|
|
11209
11217
|
});
|
|
@@ -11244,6 +11252,8 @@ var pointOfSaleDetailsSchema = pointOfSaleSchema.extend({
|
|
|
11244
11252
|
preventOrderTakingIfTheMaxCountableItemsExceeded: external_exports.boolean(),
|
|
11245
11253
|
numberMinutesBeforeAutoAcceptOrder: external_exports.coerce.number().nonnegative().refine((value) => pointOfSaleAutoAcceptOrderValues.includes(value))
|
|
11246
11254
|
}),
|
|
11255
|
+
customersIndexManifestUrl: external_exports.url().nullable(),
|
|
11256
|
+
customersIndexFileUrl: external_exports.url().nullable(),
|
|
11247
11257
|
openingTimeSettings: timeSettingSchema.array(),
|
|
11248
11258
|
deliveryTimeSettings: deliveryTimeSettingSchema.array(),
|
|
11249
11259
|
takeAwayTimeSettings: timeSettingSchema.array(),
|
|
@@ -11830,6 +11840,7 @@ export {
|
|
|
11830
11840
|
getPointOfSalesInputSchema,
|
|
11831
11841
|
getPointOfSalesQuerySchema,
|
|
11832
11842
|
getPointOfSalesResponseSchema,
|
|
11843
|
+
integrationsStatsSchema,
|
|
11833
11844
|
menuVersionDetailsSchema,
|
|
11834
11845
|
menuVersionSchema,
|
|
11835
11846
|
pointOfSaleAutoAcceptOrderValues,
|
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.1.
|
|
4
|
+
"version": "2.1.39",
|
|
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-core": "2.1.
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.1.39",
|
|
22
|
+
"@deliverart/sdk-js-company": "2.1.39",
|
|
23
|
+
"@deliverart/sdk-js-user": "2.1.39",
|
|
24
|
+
"@deliverart/sdk-js-global-types": "2.1.39"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|