@deliverart/sdk-js-order 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +141 -141
- package/dist/index.d.ts +141 -141
- package/dist/index.js +4 -4
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ declare const orderMenuItemSchema: z.ZodObject<{
|
|
|
81
81
|
text: z.ZodString;
|
|
82
82
|
}, z.core.$strip>>>;
|
|
83
83
|
countable: z.ZodBoolean;
|
|
84
|
-
quantity: z.ZodNullable<z.
|
|
84
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
85
85
|
notes: z.ZodNullable<z.ZodString>;
|
|
86
86
|
unitPrice: z.ZodString;
|
|
87
87
|
unitNetPrice: z.ZodString;
|
|
@@ -129,7 +129,7 @@ declare const orderMenuItemDetailsSchema: z.ZodObject<{
|
|
|
129
129
|
text: z.ZodString;
|
|
130
130
|
}, z.core.$strip>>>;
|
|
131
131
|
countable: z.ZodBoolean;
|
|
132
|
-
quantity: z.ZodNullable<z.
|
|
132
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
133
133
|
notes: z.ZodNullable<z.ZodString>;
|
|
134
134
|
unitPrice: z.ZodString;
|
|
135
135
|
unitNetPrice: z.ZodString;
|
|
@@ -294,7 +294,7 @@ declare const orderSchema: z.ZodObject<{
|
|
|
294
294
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
295
295
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
296
296
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
297
|
-
totalCountableItems: z.
|
|
297
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
298
298
|
amount: z.ZodString;
|
|
299
299
|
netAmount: z.ZodString;
|
|
300
300
|
taxAmount: z.ZodString;
|
|
@@ -404,7 +404,7 @@ declare const orderDetailsSchema: z.ZodObject<{
|
|
|
404
404
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
405
405
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
406
406
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
407
|
-
totalCountableItems: z.
|
|
407
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
408
408
|
amount: z.ZodString;
|
|
409
409
|
netAmount: z.ZodString;
|
|
410
410
|
taxAmount: z.ZodString;
|
|
@@ -459,7 +459,7 @@ declare const orderDetailsSchema: z.ZodObject<{
|
|
|
459
459
|
text: z.ZodString;
|
|
460
460
|
}, z.core.$strip>>>;
|
|
461
461
|
countable: z.ZodBoolean;
|
|
462
|
-
quantity: z.ZodNullable<z.
|
|
462
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
463
463
|
notes: z.ZodNullable<z.ZodString>;
|
|
464
464
|
unitPrice: z.ZodString;
|
|
465
465
|
unitNetPrice: z.ZodString;
|
|
@@ -608,7 +608,7 @@ declare const bundleSchema: z.ZodObject<{
|
|
|
608
608
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
609
609
|
startTime: z.ZodNullable<z.ZodString>;
|
|
610
610
|
endTime: z.ZodNullable<z.ZodString>;
|
|
611
|
-
totalCountableItems: z.
|
|
611
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
612
612
|
orders: z.ZodArray<z.ZodObject<{
|
|
613
613
|
id: z.ZodString;
|
|
614
614
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -697,7 +697,7 @@ declare const bundleSchema: z.ZodObject<{
|
|
|
697
697
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
698
698
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
699
699
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
700
|
-
totalCountableItems: z.
|
|
700
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
701
701
|
amount: z.ZodString;
|
|
702
702
|
netAmount: z.ZodString;
|
|
703
703
|
taxAmount: z.ZodString;
|
|
@@ -742,7 +742,7 @@ declare const bundleDetailsSchema: z.ZodObject<{
|
|
|
742
742
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
743
743
|
startTime: z.ZodNullable<z.ZodString>;
|
|
744
744
|
endTime: z.ZodNullable<z.ZodString>;
|
|
745
|
-
totalCountableItems: z.
|
|
745
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
746
746
|
orders: z.ZodArray<z.ZodObject<{
|
|
747
747
|
id: z.ZodString;
|
|
748
748
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -831,7 +831,7 @@ declare const bundleDetailsSchema: z.ZodObject<{
|
|
|
831
831
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
832
832
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
833
833
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
834
|
-
totalCountableItems: z.
|
|
834
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
835
835
|
amount: z.ZodString;
|
|
836
836
|
netAmount: z.ZodString;
|
|
837
837
|
taxAmount: z.ZodString;
|
|
@@ -1291,7 +1291,7 @@ declare const createBundleResponseSchema: z.ZodObject<{
|
|
|
1291
1291
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
1292
1292
|
startTime: z.ZodNullable<z.ZodString>;
|
|
1293
1293
|
endTime: z.ZodNullable<z.ZodString>;
|
|
1294
|
-
totalCountableItems: z.
|
|
1294
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1295
1295
|
orders: z.ZodArray<z.ZodObject<{
|
|
1296
1296
|
id: z.ZodString;
|
|
1297
1297
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -1380,7 +1380,7 @@ declare const createBundleResponseSchema: z.ZodObject<{
|
|
|
1380
1380
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1381
1381
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1382
1382
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
1383
|
-
totalCountableItems: z.
|
|
1383
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1384
1384
|
amount: z.ZodString;
|
|
1385
1385
|
netAmount: z.ZodString;
|
|
1386
1386
|
taxAmount: z.ZodString;
|
|
@@ -1435,7 +1435,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
1435
1435
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
1436
1436
|
startTime: z.ZodNullable<z.ZodString>;
|
|
1437
1437
|
endTime: z.ZodNullable<z.ZodString>;
|
|
1438
|
-
totalCountableItems: z.
|
|
1438
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1439
1439
|
orders: z.ZodArray<z.ZodObject<{
|
|
1440
1440
|
id: z.ZodString;
|
|
1441
1441
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -1524,7 +1524,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
1524
1524
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1525
1525
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1526
1526
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
1527
|
-
totalCountableItems: z.
|
|
1527
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1528
1528
|
amount: z.ZodString;
|
|
1529
1529
|
netAmount: z.ZodString;
|
|
1530
1530
|
taxAmount: z.ZodString;
|
|
@@ -1592,7 +1592,7 @@ declare const getBundleDetailsResponseSchema: z.ZodObject<{
|
|
|
1592
1592
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
1593
1593
|
startTime: z.ZodNullable<z.ZodString>;
|
|
1594
1594
|
endTime: z.ZodNullable<z.ZodString>;
|
|
1595
|
-
totalCountableItems: z.
|
|
1595
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1596
1596
|
orders: z.ZodArray<z.ZodObject<{
|
|
1597
1597
|
id: z.ZodString;
|
|
1598
1598
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -1681,7 +1681,7 @@ declare const getBundleDetailsResponseSchema: z.ZodObject<{
|
|
|
1681
1681
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1682
1682
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1683
1683
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
1684
|
-
totalCountableItems: z.
|
|
1684
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1685
1685
|
amount: z.ZodString;
|
|
1686
1686
|
netAmount: z.ZodString;
|
|
1687
1687
|
taxAmount: z.ZodString;
|
|
@@ -1732,7 +1732,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
1732
1732
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
1733
1733
|
startTime: z.ZodNullable<z.ZodString>;
|
|
1734
1734
|
endTime: z.ZodNullable<z.ZodString>;
|
|
1735
|
-
totalCountableItems: z.
|
|
1735
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1736
1736
|
orders: z.ZodArray<z.ZodObject<{
|
|
1737
1737
|
id: z.ZodString;
|
|
1738
1738
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -1821,7 +1821,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
1821
1821
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1822
1822
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1823
1823
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
1824
|
-
totalCountableItems: z.
|
|
1824
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1825
1825
|
amount: z.ZodString;
|
|
1826
1826
|
netAmount: z.ZodString;
|
|
1827
1827
|
taxAmount: z.ZodString;
|
|
@@ -1954,7 +1954,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
1954
1954
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
1955
1955
|
startTime: z.ZodNullable<z.ZodString>;
|
|
1956
1956
|
endTime: z.ZodNullable<z.ZodString>;
|
|
1957
|
-
totalCountableItems: z.
|
|
1957
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1958
1958
|
orders: z.ZodArray<z.ZodObject<{
|
|
1959
1959
|
id: z.ZodString;
|
|
1960
1960
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -2043,7 +2043,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
2043
2043
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2044
2044
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2045
2045
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2046
|
-
totalCountableItems: z.
|
|
2046
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2047
2047
|
amount: z.ZodString;
|
|
2048
2048
|
netAmount: z.ZodString;
|
|
2049
2049
|
taxAmount: z.ZodString;
|
|
@@ -2068,12 +2068,12 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
2068
2068
|
updatedAt: z.ZodString;
|
|
2069
2069
|
}, z.core.$strip>>;
|
|
2070
2070
|
pagination: z.ZodObject<{
|
|
2071
|
-
from: z.
|
|
2072
|
-
to: z.
|
|
2073
|
-
itemsPerPage: z.
|
|
2074
|
-
totalItems: z.
|
|
2075
|
-
currentPage: z.
|
|
2076
|
-
lastPage: z.
|
|
2071
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2072
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2073
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2074
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2075
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2076
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2077
2077
|
}, z.core.$strip>;
|
|
2078
2078
|
}, z.core.$strip>;
|
|
2079
2079
|
type GetBundlesResponse = z.infer<typeof getBundlesResponseSchema>;
|
|
@@ -2103,7 +2103,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
2103
2103
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2104
2104
|
startTime: z.ZodNullable<z.ZodString>;
|
|
2105
2105
|
endTime: z.ZodNullable<z.ZodString>;
|
|
2106
|
-
totalCountableItems: z.
|
|
2106
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2107
2107
|
orders: z.ZodArray<z.ZodObject<{
|
|
2108
2108
|
id: z.ZodString;
|
|
2109
2109
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -2192,7 +2192,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
2192
2192
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2193
2193
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2194
2194
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2195
|
-
totalCountableItems: z.
|
|
2195
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2196
2196
|
amount: z.ZodString;
|
|
2197
2197
|
netAmount: z.ZodString;
|
|
2198
2198
|
taxAmount: z.ZodString;
|
|
@@ -2217,12 +2217,12 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
2217
2217
|
updatedAt: z.ZodString;
|
|
2218
2218
|
}, z.core.$strip>>;
|
|
2219
2219
|
pagination: z.ZodObject<{
|
|
2220
|
-
from: z.
|
|
2221
|
-
to: z.
|
|
2222
|
-
itemsPerPage: z.
|
|
2223
|
-
totalItems: z.
|
|
2224
|
-
currentPage: z.
|
|
2225
|
-
lastPage: z.
|
|
2220
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2221
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2222
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2223
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2224
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2225
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2226
2226
|
}, z.core.$strip>;
|
|
2227
2227
|
}, z.core.$strip>;
|
|
2228
2228
|
readonly querySchema: z.ZodObject<{
|
|
@@ -2411,7 +2411,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2411
2411
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2412
2412
|
startTime: z.ZodNullable<z.ZodString>;
|
|
2413
2413
|
endTime: z.ZodNullable<z.ZodString>;
|
|
2414
|
-
totalCountableItems: z.
|
|
2414
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2415
2415
|
orders: z.ZodArray<z.ZodObject<{
|
|
2416
2416
|
id: z.ZodString;
|
|
2417
2417
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -2500,7 +2500,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2500
2500
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2501
2501
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2502
2502
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2503
|
-
totalCountableItems: z.
|
|
2503
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2504
2504
|
amount: z.ZodString;
|
|
2505
2505
|
netAmount: z.ZodString;
|
|
2506
2506
|
taxAmount: z.ZodString;
|
|
@@ -2525,12 +2525,12 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
2525
2525
|
updatedAt: z.ZodString;
|
|
2526
2526
|
}, z.core.$strip>>;
|
|
2527
2527
|
pagination: z.ZodObject<{
|
|
2528
|
-
from: z.
|
|
2529
|
-
to: z.
|
|
2530
|
-
itemsPerPage: z.
|
|
2531
|
-
totalItems: z.
|
|
2532
|
-
currentPage: z.
|
|
2533
|
-
lastPage: z.
|
|
2528
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2529
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2530
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2531
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2532
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2533
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2534
2534
|
}, z.core.$strip>;
|
|
2535
2535
|
}, z.core.$strip>;
|
|
2536
2536
|
type GetBundlesFromPointOfSaleResponse = z.infer<typeof getBundlesFromPointOfSaleResponseSchema>;
|
|
@@ -2560,7 +2560,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
2560
2560
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2561
2561
|
startTime: z.ZodNullable<z.ZodString>;
|
|
2562
2562
|
endTime: z.ZodNullable<z.ZodString>;
|
|
2563
|
-
totalCountableItems: z.
|
|
2563
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2564
2564
|
orders: z.ZodArray<z.ZodObject<{
|
|
2565
2565
|
id: z.ZodString;
|
|
2566
2566
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -2649,7 +2649,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
2649
2649
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2650
2650
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2651
2651
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2652
|
-
totalCountableItems: z.
|
|
2652
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2653
2653
|
amount: z.ZodString;
|
|
2654
2654
|
netAmount: z.ZodString;
|
|
2655
2655
|
taxAmount: z.ZodString;
|
|
@@ -2674,12 +2674,12 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
2674
2674
|
updatedAt: z.ZodString;
|
|
2675
2675
|
}, z.core.$strip>>;
|
|
2676
2676
|
pagination: z.ZodObject<{
|
|
2677
|
-
from: z.
|
|
2678
|
-
to: z.
|
|
2679
|
-
itemsPerPage: z.
|
|
2680
|
-
totalItems: z.
|
|
2681
|
-
currentPage: z.
|
|
2682
|
-
lastPage: z.
|
|
2677
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2678
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2679
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2680
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2681
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2682
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2683
2683
|
}, z.core.$strip>;
|
|
2684
2684
|
}, z.core.$strip>;
|
|
2685
2685
|
readonly querySchema: z.ZodObject<{
|
|
@@ -2793,7 +2793,7 @@ declare const updateBundleResponseSchema: z.ZodObject<{
|
|
|
2793
2793
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2794
2794
|
startTime: z.ZodNullable<z.ZodString>;
|
|
2795
2795
|
endTime: z.ZodNullable<z.ZodString>;
|
|
2796
|
-
totalCountableItems: z.
|
|
2796
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2797
2797
|
orders: z.ZodArray<z.ZodObject<{
|
|
2798
2798
|
id: z.ZodString;
|
|
2799
2799
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -2882,7 +2882,7 @@ declare const updateBundleResponseSchema: z.ZodObject<{
|
|
|
2882
2882
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2883
2883
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
2884
2884
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
2885
|
-
totalCountableItems: z.
|
|
2885
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2886
2886
|
amount: z.ZodString;
|
|
2887
2887
|
netAmount: z.ZodString;
|
|
2888
2888
|
taxAmount: z.ZodString;
|
|
@@ -2936,7 +2936,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
2936
2936
|
preparationTime: z.ZodNullable<z.ZodString>;
|
|
2937
2937
|
startTime: z.ZodNullable<z.ZodString>;
|
|
2938
2938
|
endTime: z.ZodNullable<z.ZodString>;
|
|
2939
|
-
totalCountableItems: z.
|
|
2939
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
2940
2940
|
orders: z.ZodArray<z.ZodObject<{
|
|
2941
2941
|
id: z.ZodString;
|
|
2942
2942
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -3025,7 +3025,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
3025
3025
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3026
3026
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3027
3027
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
3028
|
-
totalCountableItems: z.
|
|
3028
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3029
3029
|
amount: z.ZodString;
|
|
3030
3030
|
netAmount: z.ZodString;
|
|
3031
3031
|
taxAmount: z.ZodString;
|
|
@@ -3166,12 +3166,12 @@ declare const getOrderMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
|
3166
3166
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
3167
3167
|
}, z.core.$strip>>;
|
|
3168
3168
|
pagination: z.ZodObject<{
|
|
3169
|
-
from: z.
|
|
3170
|
-
to: z.
|
|
3171
|
-
itemsPerPage: z.
|
|
3172
|
-
totalItems: z.
|
|
3173
|
-
currentPage: z.
|
|
3174
|
-
lastPage: z.
|
|
3169
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3170
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3171
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3172
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3173
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3174
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3175
3175
|
}, z.core.$strip>;
|
|
3176
3176
|
}, z.core.$strip>;
|
|
3177
3177
|
type GetOrderMenuItemModifiersResponse = z.infer<typeof getOrderMenuItemModifiersResponseSchema>;
|
|
@@ -3199,12 +3199,12 @@ declare class GetOrderMenuItemModifierMenuItemModifiers extends AbstractApiReque
|
|
|
3199
3199
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
3200
3200
|
}, z.core.$strip>>;
|
|
3201
3201
|
pagination: z.ZodObject<{
|
|
3202
|
-
from: z.
|
|
3203
|
-
to: z.
|
|
3204
|
-
itemsPerPage: z.
|
|
3205
|
-
totalItems: z.
|
|
3206
|
-
currentPage: z.
|
|
3207
|
-
lastPage: z.
|
|
3202
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3203
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3204
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3205
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3206
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3207
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3208
3208
|
}, z.core.$strip>;
|
|
3209
3209
|
}, z.core.$strip>;
|
|
3210
3210
|
readonly querySchema: z.ZodObject<{
|
|
@@ -3275,7 +3275,7 @@ declare const getOrderMenuItemDetailsResponseSchema: z.ZodObject<{
|
|
|
3275
3275
|
text: z.ZodString;
|
|
3276
3276
|
}, z.core.$strip>>>;
|
|
3277
3277
|
countable: z.ZodBoolean;
|
|
3278
|
-
quantity: z.ZodNullable<z.
|
|
3278
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3279
3279
|
notes: z.ZodNullable<z.ZodString>;
|
|
3280
3280
|
unitPrice: z.ZodString;
|
|
3281
3281
|
unitNetPrice: z.ZodString;
|
|
@@ -3334,7 +3334,7 @@ declare class GetOrderMenuItemDetails extends AbstractApiRequest<typeof getOrder
|
|
|
3334
3334
|
text: z.ZodString;
|
|
3335
3335
|
}, z.core.$strip>>>;
|
|
3336
3336
|
countable: z.ZodBoolean;
|
|
3337
|
-
quantity: z.ZodNullable<z.
|
|
3337
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3338
3338
|
notes: z.ZodNullable<z.ZodString>;
|
|
3339
3339
|
unitPrice: z.ZodString;
|
|
3340
3340
|
unitNetPrice: z.ZodString;
|
|
@@ -3473,7 +3473,7 @@ declare const getOrderMenuItemsResponseSchema: z.ZodObject<{
|
|
|
3473
3473
|
text: z.ZodString;
|
|
3474
3474
|
}, z.core.$strip>>>;
|
|
3475
3475
|
countable: z.ZodBoolean;
|
|
3476
|
-
quantity: z.ZodNullable<z.
|
|
3476
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3477
3477
|
notes: z.ZodNullable<z.ZodString>;
|
|
3478
3478
|
unitPrice: z.ZodString;
|
|
3479
3479
|
unitNetPrice: z.ZodString;
|
|
@@ -3497,12 +3497,12 @@ declare const getOrderMenuItemsResponseSchema: z.ZodObject<{
|
|
|
3497
3497
|
mainLevel: z.ZodBoolean;
|
|
3498
3498
|
}, z.core.$strip>>;
|
|
3499
3499
|
pagination: z.ZodObject<{
|
|
3500
|
-
from: z.
|
|
3501
|
-
to: z.
|
|
3502
|
-
itemsPerPage: z.
|
|
3503
|
-
totalItems: z.
|
|
3504
|
-
currentPage: z.
|
|
3505
|
-
lastPage: z.
|
|
3500
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3501
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3502
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3503
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3504
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3505
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3506
3506
|
}, z.core.$strip>;
|
|
3507
3507
|
}, z.core.$strip>;
|
|
3508
3508
|
type GetOrderMenuItemsResponse = z.infer<typeof getOrderMenuItemsResponseSchema>;
|
|
@@ -3536,7 +3536,7 @@ declare class GetOrderMenuItemMenuItems extends AbstractApiRequest<typeof getOrd
|
|
|
3536
3536
|
text: z.ZodString;
|
|
3537
3537
|
}, z.core.$strip>>>;
|
|
3538
3538
|
countable: z.ZodBoolean;
|
|
3539
|
-
quantity: z.ZodNullable<z.
|
|
3539
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3540
3540
|
notes: z.ZodNullable<z.ZodString>;
|
|
3541
3541
|
unitPrice: z.ZodString;
|
|
3542
3542
|
unitNetPrice: z.ZodString;
|
|
@@ -3560,12 +3560,12 @@ declare class GetOrderMenuItemMenuItems extends AbstractApiRequest<typeof getOrd
|
|
|
3560
3560
|
mainLevel: z.ZodBoolean;
|
|
3561
3561
|
}, z.core.$strip>>;
|
|
3562
3562
|
pagination: z.ZodObject<{
|
|
3563
|
-
from: z.
|
|
3564
|
-
to: z.
|
|
3565
|
-
itemsPerPage: z.
|
|
3566
|
-
totalItems: z.
|
|
3567
|
-
currentPage: z.
|
|
3568
|
-
lastPage: z.
|
|
3563
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3564
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3565
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3566
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3567
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3568
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3569
3569
|
}, z.core.$strip>;
|
|
3570
3570
|
}, z.core.$strip>;
|
|
3571
3571
|
readonly querySchema: z.ZodObject<{
|
|
@@ -3741,7 +3741,7 @@ declare const advanceOrderPreparationStatusResponseSchema: z.ZodObject<{
|
|
|
3741
3741
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3742
3742
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3743
3743
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
3744
|
-
totalCountableItems: z.
|
|
3744
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3745
3745
|
amount: z.ZodString;
|
|
3746
3746
|
netAmount: z.ZodString;
|
|
3747
3747
|
taxAmount: z.ZodString;
|
|
@@ -3796,7 +3796,7 @@ declare const advanceOrderPreparationStatusResponseSchema: z.ZodObject<{
|
|
|
3796
3796
|
text: z.ZodString;
|
|
3797
3797
|
}, z.core.$strip>>>;
|
|
3798
3798
|
countable: z.ZodBoolean;
|
|
3799
|
-
quantity: z.ZodNullable<z.
|
|
3799
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3800
3800
|
notes: z.ZodNullable<z.ZodString>;
|
|
3801
3801
|
unitPrice: z.ZodString;
|
|
3802
3802
|
unitNetPrice: z.ZodString;
|
|
@@ -3931,7 +3931,7 @@ declare class AdvanceOrderPreparationStatus extends AbstractApiRequest<typeof ad
|
|
|
3931
3931
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3932
3932
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
3933
3933
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
3934
|
-
totalCountableItems: z.
|
|
3934
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
3935
3935
|
amount: z.ZodString;
|
|
3936
3936
|
netAmount: z.ZodString;
|
|
3937
3937
|
taxAmount: z.ZodString;
|
|
@@ -3986,7 +3986,7 @@ declare class AdvanceOrderPreparationStatus extends AbstractApiRequest<typeof ad
|
|
|
3986
3986
|
text: z.ZodString;
|
|
3987
3987
|
}, z.core.$strip>>>;
|
|
3988
3988
|
countable: z.ZodBoolean;
|
|
3989
|
-
quantity: z.ZodNullable<z.
|
|
3989
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3990
3990
|
notes: z.ZodNullable<z.ZodString>;
|
|
3991
3991
|
unitPrice: z.ZodString;
|
|
3992
3992
|
unitNetPrice: z.ZodString;
|
|
@@ -4304,7 +4304,7 @@ declare const confirmOrderResponseSchema: z.ZodObject<{
|
|
|
4304
4304
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
4305
4305
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
4306
4306
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
4307
|
-
totalCountableItems: z.
|
|
4307
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
4308
4308
|
amount: z.ZodString;
|
|
4309
4309
|
netAmount: z.ZodString;
|
|
4310
4310
|
taxAmount: z.ZodString;
|
|
@@ -4359,7 +4359,7 @@ declare const confirmOrderResponseSchema: z.ZodObject<{
|
|
|
4359
4359
|
text: z.ZodString;
|
|
4360
4360
|
}, z.core.$strip>>>;
|
|
4361
4361
|
countable: z.ZodBoolean;
|
|
4362
|
-
quantity: z.ZodNullable<z.
|
|
4362
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4363
4363
|
notes: z.ZodNullable<z.ZodString>;
|
|
4364
4364
|
unitPrice: z.ZodString;
|
|
4365
4365
|
unitNetPrice: z.ZodString;
|
|
@@ -4494,7 +4494,7 @@ declare class ConfirmOrder extends AbstractApiRequest<typeof confirmOrderInputSc
|
|
|
4494
4494
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
4495
4495
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
4496
4496
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
4497
|
-
totalCountableItems: z.
|
|
4497
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
4498
4498
|
amount: z.ZodString;
|
|
4499
4499
|
netAmount: z.ZodString;
|
|
4500
4500
|
taxAmount: z.ZodString;
|
|
@@ -4549,7 +4549,7 @@ declare class ConfirmOrder extends AbstractApiRequest<typeof confirmOrderInputSc
|
|
|
4549
4549
|
text: z.ZodString;
|
|
4550
4550
|
}, z.core.$strip>>>;
|
|
4551
4551
|
countable: z.ZodBoolean;
|
|
4552
|
-
quantity: z.ZodNullable<z.
|
|
4552
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4553
4553
|
notes: z.ZodNullable<z.ZodString>;
|
|
4554
4554
|
unitPrice: z.ZodString;
|
|
4555
4555
|
unitNetPrice: z.ZodString;
|
|
@@ -4758,7 +4758,7 @@ declare const createOrderResponseSchema: z.ZodObject<{
|
|
|
4758
4758
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
4759
4759
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
4760
4760
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
4761
|
-
totalCountableItems: z.
|
|
4761
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
4762
4762
|
amount: z.ZodString;
|
|
4763
4763
|
netAmount: z.ZodString;
|
|
4764
4764
|
taxAmount: z.ZodString;
|
|
@@ -4813,7 +4813,7 @@ declare const createOrderResponseSchema: z.ZodObject<{
|
|
|
4813
4813
|
text: z.ZodString;
|
|
4814
4814
|
}, z.core.$strip>>>;
|
|
4815
4815
|
countable: z.ZodBoolean;
|
|
4816
|
-
quantity: z.ZodNullable<z.
|
|
4816
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4817
4817
|
notes: z.ZodNullable<z.ZodString>;
|
|
4818
4818
|
unitPrice: z.ZodString;
|
|
4819
4819
|
unitNetPrice: z.ZodString;
|
|
@@ -5019,7 +5019,7 @@ declare class CreateOrder extends AbstractApiRequest<typeof createOrderInputSche
|
|
|
5019
5019
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5020
5020
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5021
5021
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
5022
|
-
totalCountableItems: z.
|
|
5022
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
5023
5023
|
amount: z.ZodString;
|
|
5024
5024
|
netAmount: z.ZodString;
|
|
5025
5025
|
taxAmount: z.ZodString;
|
|
@@ -5074,7 +5074,7 @@ declare class CreateOrder extends AbstractApiRequest<typeof createOrderInputSche
|
|
|
5074
5074
|
text: z.ZodString;
|
|
5075
5075
|
}, z.core.$strip>>>;
|
|
5076
5076
|
countable: z.ZodBoolean;
|
|
5077
|
-
quantity: z.ZodNullable<z.
|
|
5077
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
5078
5078
|
notes: z.ZodNullable<z.ZodString>;
|
|
5079
5079
|
unitPrice: z.ZodString;
|
|
5080
5080
|
unitNetPrice: z.ZodString;
|
|
@@ -5226,7 +5226,7 @@ declare const getOrderDetailsResponseSchema: z.ZodObject<{
|
|
|
5226
5226
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5227
5227
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5228
5228
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
5229
|
-
totalCountableItems: z.
|
|
5229
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
5230
5230
|
amount: z.ZodString;
|
|
5231
5231
|
netAmount: z.ZodString;
|
|
5232
5232
|
taxAmount: z.ZodString;
|
|
@@ -5281,7 +5281,7 @@ declare const getOrderDetailsResponseSchema: z.ZodObject<{
|
|
|
5281
5281
|
text: z.ZodString;
|
|
5282
5282
|
}, z.core.$strip>>>;
|
|
5283
5283
|
countable: z.ZodBoolean;
|
|
5284
|
-
quantity: z.ZodNullable<z.
|
|
5284
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
5285
5285
|
notes: z.ZodNullable<z.ZodString>;
|
|
5286
5286
|
unitPrice: z.ZodString;
|
|
5287
5287
|
unitNetPrice: z.ZodString;
|
|
@@ -5416,7 +5416,7 @@ declare class GetOrderDetails extends AbstractApiRequest<typeof getOrderDetailsI
|
|
|
5416
5416
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5417
5417
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5418
5418
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
5419
|
-
totalCountableItems: z.
|
|
5419
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
5420
5420
|
amount: z.ZodString;
|
|
5421
5421
|
netAmount: z.ZodString;
|
|
5422
5422
|
taxAmount: z.ZodString;
|
|
@@ -5471,7 +5471,7 @@ declare class GetOrderDetails extends AbstractApiRequest<typeof getOrderDetailsI
|
|
|
5471
5471
|
text: z.ZodString;
|
|
5472
5472
|
}, z.core.$strip>>>;
|
|
5473
5473
|
countable: z.ZodBoolean;
|
|
5474
|
-
quantity: z.ZodNullable<z.
|
|
5474
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
5475
5475
|
notes: z.ZodNullable<z.ZodString>;
|
|
5476
5476
|
unitPrice: z.ZodString;
|
|
5477
5477
|
unitNetPrice: z.ZodString;
|
|
@@ -5823,7 +5823,7 @@ declare const getOrdersResponseSchema: z.ZodObject<{
|
|
|
5823
5823
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5824
5824
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5825
5825
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
5826
|
-
totalCountableItems: z.
|
|
5826
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
5827
5827
|
amount: z.ZodString;
|
|
5828
5828
|
netAmount: z.ZodString;
|
|
5829
5829
|
taxAmount: z.ZodString;
|
|
@@ -5845,12 +5845,12 @@ declare const getOrdersResponseSchema: z.ZodObject<{
|
|
|
5845
5845
|
updatedAt: z.ZodString;
|
|
5846
5846
|
}, z.core.$strip>>;
|
|
5847
5847
|
pagination: z.ZodObject<{
|
|
5848
|
-
from: z.
|
|
5849
|
-
to: z.
|
|
5850
|
-
itemsPerPage: z.
|
|
5851
|
-
totalItems: z.
|
|
5852
|
-
currentPage: z.
|
|
5853
|
-
lastPage: z.
|
|
5848
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5849
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5850
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5851
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5852
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5853
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5854
5854
|
}, z.core.$strip>;
|
|
5855
5855
|
}, z.core.$strip>;
|
|
5856
5856
|
type GetOrdersResponse = z.infer<typeof getOrdersResponseSchema>;
|
|
@@ -5948,7 +5948,7 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
5948
5948
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5949
5949
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
5950
5950
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
5951
|
-
totalCountableItems: z.
|
|
5951
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
5952
5952
|
amount: z.ZodString;
|
|
5953
5953
|
netAmount: z.ZodString;
|
|
5954
5954
|
taxAmount: z.ZodString;
|
|
@@ -5970,12 +5970,12 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
5970
5970
|
updatedAt: z.ZodString;
|
|
5971
5971
|
}, z.core.$strip>>;
|
|
5972
5972
|
pagination: z.ZodObject<{
|
|
5973
|
-
from: z.
|
|
5974
|
-
to: z.
|
|
5975
|
-
itemsPerPage: z.
|
|
5976
|
-
totalItems: z.
|
|
5977
|
-
currentPage: z.
|
|
5978
|
-
lastPage: z.
|
|
5973
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5974
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5975
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5976
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5977
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5978
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5979
5979
|
}, z.core.$strip>;
|
|
5980
5980
|
}, z.core.$strip>;
|
|
5981
5981
|
readonly querySchema: z.ZodObject<{
|
|
@@ -6502,7 +6502,7 @@ declare const getPointOfSaleOrdersResponseSchema: z.ZodObject<{
|
|
|
6502
6502
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6503
6503
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6504
6504
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
6505
|
-
totalCountableItems: z.
|
|
6505
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
6506
6506
|
amount: z.ZodString;
|
|
6507
6507
|
netAmount: z.ZodString;
|
|
6508
6508
|
taxAmount: z.ZodString;
|
|
@@ -6524,12 +6524,12 @@ declare const getPointOfSaleOrdersResponseSchema: z.ZodObject<{
|
|
|
6524
6524
|
updatedAt: z.ZodString;
|
|
6525
6525
|
}, z.core.$strip>>;
|
|
6526
6526
|
pagination: z.ZodObject<{
|
|
6527
|
-
from: z.
|
|
6528
|
-
to: z.
|
|
6529
|
-
itemsPerPage: z.
|
|
6530
|
-
totalItems: z.
|
|
6531
|
-
currentPage: z.
|
|
6532
|
-
lastPage: z.
|
|
6527
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
6528
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
6529
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6530
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6531
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6532
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6533
6533
|
}, z.core.$strip>;
|
|
6534
6534
|
}, z.core.$strip>;
|
|
6535
6535
|
type GetPointOfSaleOrdersResponse = z.infer<typeof getPointOfSaleOrdersResponseSchema>;
|
|
@@ -6627,7 +6627,7 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
6627
6627
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6628
6628
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6629
6629
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
6630
|
-
totalCountableItems: z.
|
|
6630
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
6631
6631
|
amount: z.ZodString;
|
|
6632
6632
|
netAmount: z.ZodString;
|
|
6633
6633
|
taxAmount: z.ZodString;
|
|
@@ -6649,12 +6649,12 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
6649
6649
|
updatedAt: z.ZodString;
|
|
6650
6650
|
}, z.core.$strip>>;
|
|
6651
6651
|
pagination: z.ZodObject<{
|
|
6652
|
-
from: z.
|
|
6653
|
-
to: z.
|
|
6654
|
-
itemsPerPage: z.
|
|
6655
|
-
totalItems: z.
|
|
6656
|
-
currentPage: z.
|
|
6657
|
-
lastPage: z.
|
|
6652
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
6653
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
6654
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6655
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6656
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6657
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6658
6658
|
}, z.core.$strip>;
|
|
6659
6659
|
}, z.core.$strip>;
|
|
6660
6660
|
readonly querySchema: z.ZodObject<{
|
|
@@ -6968,7 +6968,7 @@ declare const markOrderAsCollectedResponseSchema: z.ZodObject<{
|
|
|
6968
6968
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6969
6969
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6970
6970
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
6971
|
-
totalCountableItems: z.
|
|
6971
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
6972
6972
|
amount: z.ZodString;
|
|
6973
6973
|
netAmount: z.ZodString;
|
|
6974
6974
|
taxAmount: z.ZodString;
|
|
@@ -7023,7 +7023,7 @@ declare const markOrderAsCollectedResponseSchema: z.ZodObject<{
|
|
|
7023
7023
|
text: z.ZodString;
|
|
7024
7024
|
}, z.core.$strip>>>;
|
|
7025
7025
|
countable: z.ZodBoolean;
|
|
7026
|
-
quantity: z.ZodNullable<z.
|
|
7026
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7027
7027
|
notes: z.ZodNullable<z.ZodString>;
|
|
7028
7028
|
unitPrice: z.ZodString;
|
|
7029
7029
|
unitNetPrice: z.ZodString;
|
|
@@ -7158,7 +7158,7 @@ declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAs
|
|
|
7158
7158
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7159
7159
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7160
7160
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7161
|
-
totalCountableItems: z.
|
|
7161
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7162
7162
|
amount: z.ZodString;
|
|
7163
7163
|
netAmount: z.ZodString;
|
|
7164
7164
|
taxAmount: z.ZodString;
|
|
@@ -7213,7 +7213,7 @@ declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAs
|
|
|
7213
7213
|
text: z.ZodString;
|
|
7214
7214
|
}, z.core.$strip>>>;
|
|
7215
7215
|
countable: z.ZodBoolean;
|
|
7216
|
-
quantity: z.ZodNullable<z.
|
|
7216
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7217
7217
|
notes: z.ZodNullable<z.ZodString>;
|
|
7218
7218
|
unitPrice: z.ZodString;
|
|
7219
7219
|
unitNetPrice: z.ZodString;
|
|
@@ -7351,7 +7351,7 @@ declare const markOrderAsReadResponseSchema: z.ZodObject<{
|
|
|
7351
7351
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7352
7352
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7353
7353
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7354
|
-
totalCountableItems: z.
|
|
7354
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7355
7355
|
amount: z.ZodString;
|
|
7356
7356
|
netAmount: z.ZodString;
|
|
7357
7357
|
taxAmount: z.ZodString;
|
|
@@ -7406,7 +7406,7 @@ declare const markOrderAsReadResponseSchema: z.ZodObject<{
|
|
|
7406
7406
|
text: z.ZodString;
|
|
7407
7407
|
}, z.core.$strip>>>;
|
|
7408
7408
|
countable: z.ZodBoolean;
|
|
7409
|
-
quantity: z.ZodNullable<z.
|
|
7409
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7410
7410
|
notes: z.ZodNullable<z.ZodString>;
|
|
7411
7411
|
unitPrice: z.ZodString;
|
|
7412
7412
|
unitNetPrice: z.ZodString;
|
|
@@ -7541,7 +7541,7 @@ declare class MarkOrderAsRead extends AbstractApiRequest<typeof markOrderAsReadI
|
|
|
7541
7541
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7542
7542
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7543
7543
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7544
|
-
totalCountableItems: z.
|
|
7544
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7545
7545
|
amount: z.ZodString;
|
|
7546
7546
|
netAmount: z.ZodString;
|
|
7547
7547
|
taxAmount: z.ZodString;
|
|
@@ -7596,7 +7596,7 @@ declare class MarkOrderAsRead extends AbstractApiRequest<typeof markOrderAsReadI
|
|
|
7596
7596
|
text: z.ZodString;
|
|
7597
7597
|
}, z.core.$strip>>>;
|
|
7598
7598
|
countable: z.ZodBoolean;
|
|
7599
|
-
quantity: z.ZodNullable<z.
|
|
7599
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7600
7600
|
notes: z.ZodNullable<z.ZodString>;
|
|
7601
7601
|
unitPrice: z.ZodString;
|
|
7602
7602
|
unitNetPrice: z.ZodString;
|
|
@@ -7734,7 +7734,7 @@ declare const rejectOrderResponseSchema: z.ZodObject<{
|
|
|
7734
7734
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7735
7735
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7736
7736
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7737
|
-
totalCountableItems: z.
|
|
7737
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7738
7738
|
amount: z.ZodString;
|
|
7739
7739
|
netAmount: z.ZodString;
|
|
7740
7740
|
taxAmount: z.ZodString;
|
|
@@ -7789,7 +7789,7 @@ declare const rejectOrderResponseSchema: z.ZodObject<{
|
|
|
7789
7789
|
text: z.ZodString;
|
|
7790
7790
|
}, z.core.$strip>>>;
|
|
7791
7791
|
countable: z.ZodBoolean;
|
|
7792
|
-
quantity: z.ZodNullable<z.
|
|
7792
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7793
7793
|
notes: z.ZodNullable<z.ZodString>;
|
|
7794
7794
|
unitPrice: z.ZodString;
|
|
7795
7795
|
unitNetPrice: z.ZodString;
|
|
@@ -7924,7 +7924,7 @@ declare class RejectOrder extends AbstractApiRequest<typeof rejectOrderInputSche
|
|
|
7924
7924
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7925
7925
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7926
7926
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7927
|
-
totalCountableItems: z.
|
|
7927
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
7928
7928
|
amount: z.ZodString;
|
|
7929
7929
|
netAmount: z.ZodString;
|
|
7930
7930
|
taxAmount: z.ZodString;
|
|
@@ -7979,7 +7979,7 @@ declare class RejectOrder extends AbstractApiRequest<typeof rejectOrderInputSche
|
|
|
7979
7979
|
text: z.ZodString;
|
|
7980
7980
|
}, z.core.$strip>>>;
|
|
7981
7981
|
countable: z.ZodBoolean;
|
|
7982
|
-
quantity: z.ZodNullable<z.
|
|
7982
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7983
7983
|
notes: z.ZodNullable<z.ZodString>;
|
|
7984
7984
|
unitPrice: z.ZodString;
|
|
7985
7985
|
unitNetPrice: z.ZodString;
|
|
@@ -8173,7 +8173,7 @@ declare const updateOrderResponseSchema: z.ZodObject<{
|
|
|
8173
8173
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8174
8174
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8175
8175
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
8176
|
-
totalCountableItems: z.
|
|
8176
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
8177
8177
|
amount: z.ZodString;
|
|
8178
8178
|
netAmount: z.ZodString;
|
|
8179
8179
|
taxAmount: z.ZodString;
|
|
@@ -8228,7 +8228,7 @@ declare const updateOrderResponseSchema: z.ZodObject<{
|
|
|
8228
8228
|
text: z.ZodString;
|
|
8229
8229
|
}, z.core.$strip>>>;
|
|
8230
8230
|
countable: z.ZodBoolean;
|
|
8231
|
-
quantity: z.ZodNullable<z.
|
|
8231
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
8232
8232
|
notes: z.ZodNullable<z.ZodString>;
|
|
8233
8233
|
unitPrice: z.ZodString;
|
|
8234
8234
|
unitNetPrice: z.ZodString;
|
|
@@ -8419,7 +8419,7 @@ declare class UpdateOrder extends AbstractApiRequest<typeof updateOrderInputSche
|
|
|
8419
8419
|
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8420
8420
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
8421
8421
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
8422
|
-
totalCountableItems: z.
|
|
8422
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
8423
8423
|
amount: z.ZodString;
|
|
8424
8424
|
netAmount: z.ZodString;
|
|
8425
8425
|
taxAmount: z.ZodString;
|
|
@@ -8474,7 +8474,7 @@ declare class UpdateOrder extends AbstractApiRequest<typeof updateOrderInputSche
|
|
|
8474
8474
|
text: z.ZodString;
|
|
8475
8475
|
}, z.core.$strip>>>;
|
|
8476
8476
|
countable: z.ZodBoolean;
|
|
8477
|
-
quantity: z.ZodNullable<z.
|
|
8477
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
8478
8478
|
notes: z.ZodNullable<z.ZodString>;
|
|
8479
8479
|
unitPrice: z.ZodString;
|
|
8480
8480
|
unitNetPrice: z.ZodString;
|