@deliverart/sdk-js-point-of-sale 2.1.36 → 2.1.38
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 +10 -0
- package/dist/index.d.cts +163 -1
- package/dist/index.d.ts +163 -1
- package/dist/index.js +9 -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
|
});
|
|
@@ -11922,6 +11931,7 @@ var UpdatePointOfSaleTimeOverride = class extends import_sdk_js_core18.AbstractA
|
|
|
11922
11931
|
getPointOfSalesInputSchema,
|
|
11923
11932
|
getPointOfSalesQuerySchema,
|
|
11924
11933
|
getPointOfSalesResponseSchema,
|
|
11934
|
+
integrationsStatsSchema,
|
|
11925
11935
|
menuVersionDetailsSchema,
|
|
11926
11936
|
menuVersionSchema,
|
|
11927
11937
|
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>>;
|
|
@@ -694,6 +730,13 @@ declare const getPointOfSaleUserDetailsResponseSchema: z.ZodObject<{
|
|
|
694
730
|
}>;
|
|
695
731
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
696
732
|
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>>;
|
|
733
|
+
integrationsStats: z.ZodObject<{
|
|
734
|
+
integrationsCount: z.ZodNumber;
|
|
735
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
736
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
737
|
+
activationRequestsCount: z.ZodNumber;
|
|
738
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
739
|
+
}, z.core.$strip>;
|
|
697
740
|
createdAt: z.ZodString;
|
|
698
741
|
updatedAt: z.ZodString;
|
|
699
742
|
}, z.core.$strip>;
|
|
@@ -787,6 +830,13 @@ declare class GetPointOfSaleUserDetails extends AbstractApiRequest<typeof getPoi
|
|
|
787
830
|
}>;
|
|
788
831
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
789
832
|
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>>;
|
|
833
|
+
integrationsStats: z.ZodObject<{
|
|
834
|
+
integrationsCount: z.ZodNumber;
|
|
835
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
836
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
837
|
+
activationRequestsCount: z.ZodNumber;
|
|
838
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
839
|
+
}, z.core.$strip>;
|
|
790
840
|
createdAt: z.ZodString;
|
|
791
841
|
updatedAt: z.ZodString;
|
|
792
842
|
}, z.core.$strip>;
|
|
@@ -905,6 +955,13 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
905
955
|
}>;
|
|
906
956
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
907
957
|
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>>;
|
|
958
|
+
integrationsStats: z.ZodObject<{
|
|
959
|
+
integrationsCount: z.ZodNumber;
|
|
960
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
961
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
962
|
+
activationRequestsCount: z.ZodNumber;
|
|
963
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
964
|
+
}, z.core.$strip>;
|
|
908
965
|
createdAt: z.ZodString;
|
|
909
966
|
updatedAt: z.ZodString;
|
|
910
967
|
}, z.core.$strip>;
|
|
@@ -1008,6 +1065,13 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1008
1065
|
}>;
|
|
1009
1066
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1010
1067
|
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>>;
|
|
1068
|
+
integrationsStats: z.ZodObject<{
|
|
1069
|
+
integrationsCount: z.ZodNumber;
|
|
1070
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1071
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1072
|
+
activationRequestsCount: z.ZodNumber;
|
|
1073
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1074
|
+
}, z.core.$strip>;
|
|
1011
1075
|
createdAt: z.ZodString;
|
|
1012
1076
|
updatedAt: z.ZodString;
|
|
1013
1077
|
}, z.core.$strip>;
|
|
@@ -1283,6 +1347,13 @@ declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1283
1347
|
}>;
|
|
1284
1348
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1285
1349
|
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>>;
|
|
1350
|
+
integrationsStats: z.ZodObject<{
|
|
1351
|
+
integrationsCount: z.ZodNumber;
|
|
1352
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1353
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1354
|
+
activationRequestsCount: z.ZodNumber;
|
|
1355
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1356
|
+
}, z.core.$strip>;
|
|
1286
1357
|
createdAt: z.ZodString;
|
|
1287
1358
|
updatedAt: z.ZodString;
|
|
1288
1359
|
}, z.core.$strip>;
|
|
@@ -1326,6 +1397,13 @@ declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getP
|
|
|
1326
1397
|
}>;
|
|
1327
1398
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1328
1399
|
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>>;
|
|
1400
|
+
integrationsStats: z.ZodObject<{
|
|
1401
|
+
integrationsCount: z.ZodNumber;
|
|
1402
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1403
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1404
|
+
activationRequestsCount: z.ZodNumber;
|
|
1405
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1406
|
+
}, z.core.$strip>;
|
|
1329
1407
|
createdAt: z.ZodString;
|
|
1330
1408
|
updatedAt: z.ZodString;
|
|
1331
1409
|
}, z.core.$strip>;
|
|
@@ -1447,6 +1525,13 @@ declare const updatePointOfSaleUserResponseSchema: z.ZodObject<{
|
|
|
1447
1525
|
}>;
|
|
1448
1526
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1449
1527
|
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>>;
|
|
1528
|
+
integrationsStats: z.ZodObject<{
|
|
1529
|
+
integrationsCount: z.ZodNumber;
|
|
1530
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1531
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1532
|
+
activationRequestsCount: z.ZodNumber;
|
|
1533
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1534
|
+
}, z.core.$strip>;
|
|
1450
1535
|
createdAt: z.ZodString;
|
|
1451
1536
|
updatedAt: z.ZodString;
|
|
1452
1537
|
}, z.core.$strip>;
|
|
@@ -1545,6 +1630,13 @@ declare class UpdatePointOfSaleUser extends AbstractApiRequest<typeof updatePoin
|
|
|
1545
1630
|
}>;
|
|
1546
1631
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1547
1632
|
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>>;
|
|
1633
|
+
integrationsStats: z.ZodObject<{
|
|
1634
|
+
integrationsCount: z.ZodNumber;
|
|
1635
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1636
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1637
|
+
activationRequestsCount: z.ZodNumber;
|
|
1638
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1639
|
+
}, z.core.$strip>;
|
|
1548
1640
|
createdAt: z.ZodString;
|
|
1549
1641
|
updatedAt: z.ZodString;
|
|
1550
1642
|
}, z.core.$strip>;
|
|
@@ -1665,6 +1757,13 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1665
1757
|
}>;
|
|
1666
1758
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1667
1759
|
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>>;
|
|
1760
|
+
integrationsStats: z.ZodObject<{
|
|
1761
|
+
integrationsCount: z.ZodNumber;
|
|
1762
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1763
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1764
|
+
activationRequestsCount: z.ZodNumber;
|
|
1765
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1766
|
+
}, z.core.$strip>;
|
|
1668
1767
|
createdAt: z.ZodString;
|
|
1669
1768
|
updatedAt: z.ZodString;
|
|
1670
1769
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1834,6 +1933,13 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1834
1933
|
}>;
|
|
1835
1934
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1836
1935
|
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>>;
|
|
1936
|
+
integrationsStats: z.ZodObject<{
|
|
1937
|
+
integrationsCount: z.ZodNumber;
|
|
1938
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1939
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1940
|
+
activationRequestsCount: z.ZodNumber;
|
|
1941
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1942
|
+
}, z.core.$strip>;
|
|
1837
1943
|
createdAt: z.ZodString;
|
|
1838
1944
|
updatedAt: z.ZodString;
|
|
1839
1945
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1968,6 +2074,13 @@ declare const getCompanyPointOfSalesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1968
2074
|
}>;
|
|
1969
2075
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1970
2076
|
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>>;
|
|
2077
|
+
integrationsStats: z.ZodObject<{
|
|
2078
|
+
integrationsCount: z.ZodNumber;
|
|
2079
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2080
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2081
|
+
activationRequestsCount: z.ZodNumber;
|
|
2082
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2083
|
+
}, z.core.$strip>;
|
|
1971
2084
|
createdAt: z.ZodString;
|
|
1972
2085
|
updatedAt: z.ZodString;
|
|
1973
2086
|
}, z.core.$strip>>;
|
|
@@ -2002,6 +2115,13 @@ declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompan
|
|
|
2002
2115
|
}>;
|
|
2003
2116
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2004
2117
|
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>>;
|
|
2118
|
+
integrationsStats: z.ZodObject<{
|
|
2119
|
+
integrationsCount: z.ZodNumber;
|
|
2120
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2121
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2122
|
+
activationRequestsCount: z.ZodNumber;
|
|
2123
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2124
|
+
}, z.core.$strip>;
|
|
2005
2125
|
createdAt: z.ZodString;
|
|
2006
2126
|
updatedAt: z.ZodString;
|
|
2007
2127
|
}, z.core.$strip>>;
|
|
@@ -2064,6 +2184,13 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2064
2184
|
}>;
|
|
2065
2185
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2066
2186
|
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>>;
|
|
2187
|
+
integrationsStats: z.ZodObject<{
|
|
2188
|
+
integrationsCount: z.ZodNumber;
|
|
2189
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2190
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2191
|
+
activationRequestsCount: z.ZodNumber;
|
|
2192
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2193
|
+
}, z.core.$strip>;
|
|
2067
2194
|
createdAt: z.ZodString;
|
|
2068
2195
|
updatedAt: z.ZodString;
|
|
2069
2196
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2157,6 +2284,13 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2157
2284
|
}>;
|
|
2158
2285
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2159
2286
|
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>>;
|
|
2287
|
+
integrationsStats: z.ZodObject<{
|
|
2288
|
+
integrationsCount: z.ZodNumber;
|
|
2289
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2290
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2291
|
+
activationRequestsCount: z.ZodNumber;
|
|
2292
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2293
|
+
}, z.core.$strip>;
|
|
2160
2294
|
createdAt: z.ZodString;
|
|
2161
2295
|
updatedAt: z.ZodString;
|
|
2162
2296
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2278,6 +2412,13 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2278
2412
|
}>;
|
|
2279
2413
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2280
2414
|
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>>;
|
|
2415
|
+
integrationsStats: z.ZodObject<{
|
|
2416
|
+
integrationsCount: z.ZodNumber;
|
|
2417
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2418
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2419
|
+
activationRequestsCount: z.ZodNumber;
|
|
2420
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2421
|
+
}, z.core.$strip>;
|
|
2281
2422
|
createdAt: z.ZodString;
|
|
2282
2423
|
updatedAt: z.ZodString;
|
|
2283
2424
|
}, z.core.$strip>>;
|
|
@@ -2322,6 +2463,13 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2322
2463
|
}>;
|
|
2323
2464
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2324
2465
|
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>>;
|
|
2466
|
+
integrationsStats: z.ZodObject<{
|
|
2467
|
+
integrationsCount: z.ZodNumber;
|
|
2468
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2469
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2470
|
+
activationRequestsCount: z.ZodNumber;
|
|
2471
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2472
|
+
}, z.core.$strip>;
|
|
2325
2473
|
createdAt: z.ZodString;
|
|
2326
2474
|
updatedAt: z.ZodString;
|
|
2327
2475
|
}, z.core.$strip>>;
|
|
@@ -2467,6 +2615,13 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2467
2615
|
}>;
|
|
2468
2616
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2469
2617
|
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>>;
|
|
2618
|
+
integrationsStats: z.ZodObject<{
|
|
2619
|
+
integrationsCount: z.ZodNumber;
|
|
2620
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2621
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2622
|
+
activationRequestsCount: z.ZodNumber;
|
|
2623
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2624
|
+
}, z.core.$strip>;
|
|
2470
2625
|
createdAt: z.ZodString;
|
|
2471
2626
|
updatedAt: z.ZodString;
|
|
2472
2627
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2635,6 +2790,13 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2635
2790
|
}>;
|
|
2636
2791
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2637
2792
|
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>>;
|
|
2793
|
+
integrationsStats: z.ZodObject<{
|
|
2794
|
+
integrationsCount: z.ZodNumber;
|
|
2795
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2796
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2797
|
+
activationRequestsCount: z.ZodNumber;
|
|
2798
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2799
|
+
}, z.core.$strip>;
|
|
2638
2800
|
createdAt: z.ZodString;
|
|
2639
2801
|
updatedAt: z.ZodString;
|
|
2640
2802
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -3230,4 +3392,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
3230
3392
|
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
3393
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
3232
3394
|
|
|
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 };
|
|
3395
|
+
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>>;
|
|
@@ -694,6 +730,13 @@ declare const getPointOfSaleUserDetailsResponseSchema: z.ZodObject<{
|
|
|
694
730
|
}>;
|
|
695
731
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
696
732
|
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>>;
|
|
733
|
+
integrationsStats: z.ZodObject<{
|
|
734
|
+
integrationsCount: z.ZodNumber;
|
|
735
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
736
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
737
|
+
activationRequestsCount: z.ZodNumber;
|
|
738
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
739
|
+
}, z.core.$strip>;
|
|
697
740
|
createdAt: z.ZodString;
|
|
698
741
|
updatedAt: z.ZodString;
|
|
699
742
|
}, z.core.$strip>;
|
|
@@ -787,6 +830,13 @@ declare class GetPointOfSaleUserDetails extends AbstractApiRequest<typeof getPoi
|
|
|
787
830
|
}>;
|
|
788
831
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
789
832
|
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>>;
|
|
833
|
+
integrationsStats: z.ZodObject<{
|
|
834
|
+
integrationsCount: z.ZodNumber;
|
|
835
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
836
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
837
|
+
activationRequestsCount: z.ZodNumber;
|
|
838
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
839
|
+
}, z.core.$strip>;
|
|
790
840
|
createdAt: z.ZodString;
|
|
791
841
|
updatedAt: z.ZodString;
|
|
792
842
|
}, z.core.$strip>;
|
|
@@ -905,6 +955,13 @@ declare const getPointOfSaleUsersResponseSchema: z.ZodObject<{
|
|
|
905
955
|
}>;
|
|
906
956
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
907
957
|
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>>;
|
|
958
|
+
integrationsStats: z.ZodObject<{
|
|
959
|
+
integrationsCount: z.ZodNumber;
|
|
960
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
961
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
962
|
+
activationRequestsCount: z.ZodNumber;
|
|
963
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
964
|
+
}, z.core.$strip>;
|
|
908
965
|
createdAt: z.ZodString;
|
|
909
966
|
updatedAt: z.ZodString;
|
|
910
967
|
}, z.core.$strip>;
|
|
@@ -1008,6 +1065,13 @@ declare class GetPointOfSaleUsers extends AbstractApiRequest<typeof getPointOfSa
|
|
|
1008
1065
|
}>;
|
|
1009
1066
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1010
1067
|
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>>;
|
|
1068
|
+
integrationsStats: z.ZodObject<{
|
|
1069
|
+
integrationsCount: z.ZodNumber;
|
|
1070
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1071
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1072
|
+
activationRequestsCount: z.ZodNumber;
|
|
1073
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1074
|
+
}, z.core.$strip>;
|
|
1011
1075
|
createdAt: z.ZodString;
|
|
1012
1076
|
updatedAt: z.ZodString;
|
|
1013
1077
|
}, z.core.$strip>;
|
|
@@ -1283,6 +1347,13 @@ declare const getPointOfSaleUsersFromUserResponseSchema: z.ZodArray<z.ZodObject<
|
|
|
1283
1347
|
}>;
|
|
1284
1348
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1285
1349
|
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>>;
|
|
1350
|
+
integrationsStats: z.ZodObject<{
|
|
1351
|
+
integrationsCount: z.ZodNumber;
|
|
1352
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1353
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1354
|
+
activationRequestsCount: z.ZodNumber;
|
|
1355
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1356
|
+
}, z.core.$strip>;
|
|
1286
1357
|
createdAt: z.ZodString;
|
|
1287
1358
|
updatedAt: z.ZodString;
|
|
1288
1359
|
}, z.core.$strip>;
|
|
@@ -1326,6 +1397,13 @@ declare class GetPointOfSaleUsersFromUser extends AbstractApiRequest<typeof getP
|
|
|
1326
1397
|
}>;
|
|
1327
1398
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1328
1399
|
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>>;
|
|
1400
|
+
integrationsStats: z.ZodObject<{
|
|
1401
|
+
integrationsCount: z.ZodNumber;
|
|
1402
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1403
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1404
|
+
activationRequestsCount: z.ZodNumber;
|
|
1405
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1406
|
+
}, z.core.$strip>;
|
|
1329
1407
|
createdAt: z.ZodString;
|
|
1330
1408
|
updatedAt: z.ZodString;
|
|
1331
1409
|
}, z.core.$strip>;
|
|
@@ -1447,6 +1525,13 @@ declare const updatePointOfSaleUserResponseSchema: z.ZodObject<{
|
|
|
1447
1525
|
}>;
|
|
1448
1526
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1449
1527
|
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>>;
|
|
1528
|
+
integrationsStats: z.ZodObject<{
|
|
1529
|
+
integrationsCount: z.ZodNumber;
|
|
1530
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1531
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1532
|
+
activationRequestsCount: z.ZodNumber;
|
|
1533
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1534
|
+
}, z.core.$strip>;
|
|
1450
1535
|
createdAt: z.ZodString;
|
|
1451
1536
|
updatedAt: z.ZodString;
|
|
1452
1537
|
}, z.core.$strip>;
|
|
@@ -1545,6 +1630,13 @@ declare class UpdatePointOfSaleUser extends AbstractApiRequest<typeof updatePoin
|
|
|
1545
1630
|
}>;
|
|
1546
1631
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1547
1632
|
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>>;
|
|
1633
|
+
integrationsStats: z.ZodObject<{
|
|
1634
|
+
integrationsCount: z.ZodNumber;
|
|
1635
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1636
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1637
|
+
activationRequestsCount: z.ZodNumber;
|
|
1638
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1639
|
+
}, z.core.$strip>;
|
|
1548
1640
|
createdAt: z.ZodString;
|
|
1549
1641
|
updatedAt: z.ZodString;
|
|
1550
1642
|
}, z.core.$strip>;
|
|
@@ -1665,6 +1757,13 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1665
1757
|
}>;
|
|
1666
1758
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1667
1759
|
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>>;
|
|
1760
|
+
integrationsStats: z.ZodObject<{
|
|
1761
|
+
integrationsCount: z.ZodNumber;
|
|
1762
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1763
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1764
|
+
activationRequestsCount: z.ZodNumber;
|
|
1765
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1766
|
+
}, z.core.$strip>;
|
|
1668
1767
|
createdAt: z.ZodString;
|
|
1669
1768
|
updatedAt: z.ZodString;
|
|
1670
1769
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1834,6 +1933,13 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1834
1933
|
}>;
|
|
1835
1934
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1836
1935
|
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>>;
|
|
1936
|
+
integrationsStats: z.ZodObject<{
|
|
1937
|
+
integrationsCount: z.ZodNumber;
|
|
1938
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
1939
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
1940
|
+
activationRequestsCount: z.ZodNumber;
|
|
1941
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
1942
|
+
}, z.core.$strip>;
|
|
1837
1943
|
createdAt: z.ZodString;
|
|
1838
1944
|
updatedAt: z.ZodString;
|
|
1839
1945
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -1968,6 +2074,13 @@ declare const getCompanyPointOfSalesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1968
2074
|
}>;
|
|
1969
2075
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
1970
2076
|
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>>;
|
|
2077
|
+
integrationsStats: z.ZodObject<{
|
|
2078
|
+
integrationsCount: z.ZodNumber;
|
|
2079
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2080
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2081
|
+
activationRequestsCount: z.ZodNumber;
|
|
2082
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2083
|
+
}, z.core.$strip>;
|
|
1971
2084
|
createdAt: z.ZodString;
|
|
1972
2085
|
updatedAt: z.ZodString;
|
|
1973
2086
|
}, z.core.$strip>>;
|
|
@@ -2002,6 +2115,13 @@ declare class GetCompanyPointOfSales extends AbstractApiRequest<typeof getCompan
|
|
|
2002
2115
|
}>;
|
|
2003
2116
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2004
2117
|
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>>;
|
|
2118
|
+
integrationsStats: z.ZodObject<{
|
|
2119
|
+
integrationsCount: z.ZodNumber;
|
|
2120
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2121
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2122
|
+
activationRequestsCount: z.ZodNumber;
|
|
2123
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2124
|
+
}, z.core.$strip>;
|
|
2005
2125
|
createdAt: z.ZodString;
|
|
2006
2126
|
updatedAt: z.ZodString;
|
|
2007
2127
|
}, z.core.$strip>>;
|
|
@@ -2064,6 +2184,13 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2064
2184
|
}>;
|
|
2065
2185
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2066
2186
|
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>>;
|
|
2187
|
+
integrationsStats: z.ZodObject<{
|
|
2188
|
+
integrationsCount: z.ZodNumber;
|
|
2189
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2190
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2191
|
+
activationRequestsCount: z.ZodNumber;
|
|
2192
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2193
|
+
}, z.core.$strip>;
|
|
2067
2194
|
createdAt: z.ZodString;
|
|
2068
2195
|
updatedAt: z.ZodString;
|
|
2069
2196
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2157,6 +2284,13 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2157
2284
|
}>;
|
|
2158
2285
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2159
2286
|
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>>;
|
|
2287
|
+
integrationsStats: z.ZodObject<{
|
|
2288
|
+
integrationsCount: z.ZodNumber;
|
|
2289
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2290
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2291
|
+
activationRequestsCount: z.ZodNumber;
|
|
2292
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2293
|
+
}, z.core.$strip>;
|
|
2160
2294
|
createdAt: z.ZodString;
|
|
2161
2295
|
updatedAt: z.ZodString;
|
|
2162
2296
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2278,6 +2412,13 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2278
2412
|
}>;
|
|
2279
2413
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2280
2414
|
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>>;
|
|
2415
|
+
integrationsStats: z.ZodObject<{
|
|
2416
|
+
integrationsCount: z.ZodNumber;
|
|
2417
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2418
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2419
|
+
activationRequestsCount: z.ZodNumber;
|
|
2420
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2421
|
+
}, z.core.$strip>;
|
|
2281
2422
|
createdAt: z.ZodString;
|
|
2282
2423
|
updatedAt: z.ZodString;
|
|
2283
2424
|
}, z.core.$strip>>;
|
|
@@ -2322,6 +2463,13 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2322
2463
|
}>;
|
|
2323
2464
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2324
2465
|
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>>;
|
|
2466
|
+
integrationsStats: z.ZodObject<{
|
|
2467
|
+
integrationsCount: z.ZodNumber;
|
|
2468
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2469
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2470
|
+
activationRequestsCount: z.ZodNumber;
|
|
2471
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2472
|
+
}, z.core.$strip>;
|
|
2325
2473
|
createdAt: z.ZodString;
|
|
2326
2474
|
updatedAt: z.ZodString;
|
|
2327
2475
|
}, z.core.$strip>>;
|
|
@@ -2467,6 +2615,13 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2467
2615
|
}>;
|
|
2468
2616
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2469
2617
|
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>>;
|
|
2618
|
+
integrationsStats: z.ZodObject<{
|
|
2619
|
+
integrationsCount: z.ZodNumber;
|
|
2620
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2621
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2622
|
+
activationRequestsCount: z.ZodNumber;
|
|
2623
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2624
|
+
}, z.core.$strip>;
|
|
2470
2625
|
createdAt: z.ZodString;
|
|
2471
2626
|
updatedAt: z.ZodString;
|
|
2472
2627
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -2635,6 +2790,13 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
2635
2790
|
}>;
|
|
2636
2791
|
nextSyncMenuScheduledAt: z.ZodNullable<z.ZodString>;
|
|
2637
2792
|
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>>;
|
|
2793
|
+
integrationsStats: z.ZodObject<{
|
|
2794
|
+
integrationsCount: z.ZodNumber;
|
|
2795
|
+
pendingIntegrationsCount: z.ZodNumber;
|
|
2796
|
+
erroringIntegrationsCount: z.ZodNumber;
|
|
2797
|
+
activationRequestsCount: z.ZodNumber;
|
|
2798
|
+
cancellationRequestsCount: z.ZodNumber;
|
|
2799
|
+
}, z.core.$strip>;
|
|
2638
2800
|
createdAt: z.ZodString;
|
|
2639
2801
|
updatedAt: z.ZodString;
|
|
2640
2802
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, unknown>>;
|
|
@@ -3230,4 +3392,4 @@ type PointOfSaleMenuVersionIri = z.infer<typeof pointOfSaleMenuVersionIriSchema>
|
|
|
3230
3392
|
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
3393
|
type PointOfSaleMenuVersionNullableIri = z.infer<typeof pointOfSaleMenuVersionNullableIriSchema>;
|
|
3232
3394
|
|
|
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 };
|
|
3395
|
+
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
|
});
|
|
@@ -11830,6 +11838,7 @@ export {
|
|
|
11830
11838
|
getPointOfSalesInputSchema,
|
|
11831
11839
|
getPointOfSalesQuerySchema,
|
|
11832
11840
|
getPointOfSalesResponseSchema,
|
|
11841
|
+
integrationsStatsSchema,
|
|
11833
11842
|
menuVersionDetailsSchema,
|
|
11834
11843
|
menuVersionSchema,
|
|
11835
11844
|
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.38",
|
|
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.1.
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-company": "2.1.38",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.1.38",
|
|
23
|
+
"@deliverart/sdk-js-user": "2.1.38",
|
|
24
|
+
"@deliverart/sdk-js-core": "2.1.38"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|