@deliverart/sdk-js-delivery 2.8.14 → 2.8.15
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 +5108 -2483
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +5108 -2483
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -97,7 +97,7 @@ declare const deliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
97
97
|
settings: z.ZodObject<{
|
|
98
98
|
values: z.ZodArray<z.ZodString>;
|
|
99
99
|
}, z.core.$strip>;
|
|
100
|
-
}, z.core.$strip>]>;
|
|
100
|
+
}, z.core.$strip>], "type">;
|
|
101
101
|
type DeliveryFee = z.infer<typeof deliveryFeeSchema>;
|
|
102
102
|
declare const writableCreateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
103
103
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -125,7 +125,7 @@ declare const writableCreateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
125
125
|
settings: z.ZodObject<{
|
|
126
126
|
values: z.ZodArray<z.ZodString>;
|
|
127
127
|
}, z.core.$strip>;
|
|
128
|
-
}, z.core.$strip>]>;
|
|
128
|
+
}, z.core.$strip>], "type">;
|
|
129
129
|
type WritableCreateDeliveryFee = z.infer<typeof writableCreateDeliveryFeeSchema>;
|
|
130
130
|
declare const writableUpdateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
131
131
|
amount: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -150,7 +150,7 @@ declare const writableUpdateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
150
150
|
settings: z.ZodOptional<z.ZodObject<{
|
|
151
151
|
values: z.ZodArray<z.ZodString>;
|
|
152
152
|
}, z.core.$strip>>;
|
|
153
|
-
}, z.core.$strip>]>;
|
|
153
|
+
}, z.core.$strip>], "type">;
|
|
154
154
|
type WritableUpdateDeliveryFee = z.infer<typeof writableUpdateDeliveryFeeSchema>;
|
|
155
155
|
declare const deliveryFeeDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
156
156
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -193,7 +193,7 @@ declare const deliveryFeeDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
193
193
|
settings: z.ZodObject<{
|
|
194
194
|
values: z.ZodArray<z.ZodString>;
|
|
195
195
|
}, z.core.$strip>;
|
|
196
|
-
}, z.core.$strip>]>;
|
|
196
|
+
}, z.core.$strip>], "type">;
|
|
197
197
|
type DeliveryFeeDetails = z.infer<typeof deliveryFeeDetailsSchema>;
|
|
198
198
|
declare const deliveryFeeListItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
199
199
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -236,7 +236,7 @@ declare const deliveryFeeListItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
236
236
|
settings: z.ZodObject<{
|
|
237
237
|
values: z.ZodArray<z.ZodString>;
|
|
238
238
|
}, z.core.$strip>;
|
|
239
|
-
}, z.core.$strip>]>;
|
|
239
|
+
}, z.core.$strip>], "type">;
|
|
240
240
|
type DeliveryFeeListItem = z.infer<typeof deliveryFeeListItemSchema>;
|
|
241
241
|
declare const deliveriesQuerySchema: z.ZodObject<{
|
|
242
242
|
'bundle.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
@@ -1004,7 +1004,7 @@ declare const createDeliveryFeeInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1004
1004
|
settings: z.ZodObject<{
|
|
1005
1005
|
values: z.ZodArray<z.ZodString>;
|
|
1006
1006
|
}, z.core.$strip>;
|
|
1007
|
-
}, z.core.$strip>]>;
|
|
1007
|
+
}, z.core.$strip>], "type">;
|
|
1008
1008
|
type CreateDeliveryFeeInput = z.input<typeof createDeliveryFeeInputSchema>;
|
|
1009
1009
|
declare const createDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1010
1010
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -1047,7 +1047,7 @@ declare const createDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1047
1047
|
settings: z.ZodObject<{
|
|
1048
1048
|
values: z.ZodArray<z.ZodString>;
|
|
1049
1049
|
}, z.core.$strip>;
|
|
1050
|
-
}, z.core.$strip>]>;
|
|
1050
|
+
}, z.core.$strip>], "type">;
|
|
1051
1051
|
type CreateDeliveryFeeResponse = z.output<typeof createDeliveryFeeResponseSchema>;
|
|
1052
1052
|
declare class CreateDeliveryFee extends AbstractApiRequest<typeof createDeliveryFeeInputSchema, typeof createDeliveryFeeResponseSchema> {
|
|
1053
1053
|
readonly method = "POST";
|
|
@@ -1079,7 +1079,7 @@ declare class CreateDeliveryFee extends AbstractApiRequest<typeof createDelivery
|
|
|
1079
1079
|
settings: z.ZodObject<{
|
|
1080
1080
|
values: z.ZodArray<z.ZodString>;
|
|
1081
1081
|
}, z.core.$strip>;
|
|
1082
|
-
}, z.core.$strip>]>;
|
|
1082
|
+
}, z.core.$strip>], "type">;
|
|
1083
1083
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1084
1084
|
amount: z.ZodDefault<z.ZodString>;
|
|
1085
1085
|
netAmount: z.ZodString;
|
|
@@ -1121,7 +1121,7 @@ declare class CreateDeliveryFee extends AbstractApiRequest<typeof createDelivery
|
|
|
1121
1121
|
settings: z.ZodObject<{
|
|
1122
1122
|
values: z.ZodArray<z.ZodString>;
|
|
1123
1123
|
}, z.core.$strip>;
|
|
1124
|
-
}, z.core.$strip>]>;
|
|
1124
|
+
}, z.core.$strip>], "type">;
|
|
1125
1125
|
readonly querySchema: undefined;
|
|
1126
1126
|
readonly headersSchema: undefined;
|
|
1127
1127
|
constructor(input: CreateDeliveryFeeInput);
|
|
@@ -1186,7 +1186,7 @@ declare const getDeliveryFeeDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
1186
1186
|
settings: z.ZodObject<{
|
|
1187
1187
|
values: z.ZodArray<z.ZodString>;
|
|
1188
1188
|
}, z.core.$strip>;
|
|
1189
|
-
}, z.core.$strip>]>;
|
|
1189
|
+
}, z.core.$strip>], "type">;
|
|
1190
1190
|
type GetDeliveryFeeDetailsResponse = z.output<typeof getDeliveryFeeDetailsResponseSchema>;
|
|
1191
1191
|
declare class GetDeliveryFeeDetails extends AbstractApiRequest<typeof getDeliveryFeeDetailsInputSchema, typeof getDeliveryFeeDetailsResponseSchema> {
|
|
1192
1192
|
readonly method = "GET";
|
|
@@ -1234,7 +1234,7 @@ declare class GetDeliveryFeeDetails extends AbstractApiRequest<typeof getDeliver
|
|
|
1234
1234
|
settings: z.ZodObject<{
|
|
1235
1235
|
values: z.ZodArray<z.ZodString>;
|
|
1236
1236
|
}, z.core.$strip>;
|
|
1237
|
-
}, z.core.$strip>]>;
|
|
1237
|
+
}, z.core.$strip>], "type">;
|
|
1238
1238
|
readonly querySchema: undefined;
|
|
1239
1239
|
readonly headersSchema: undefined;
|
|
1240
1240
|
private readonly deliveryFeeId;
|
|
@@ -1328,7 +1328,7 @@ declare const getDeliveryFeesResponseSchema: z.ZodObject<{
|
|
|
1328
1328
|
settings: z.ZodObject<{
|
|
1329
1329
|
values: z.ZodArray<z.ZodString>;
|
|
1330
1330
|
}, z.core.$strip>;
|
|
1331
|
-
}, z.core.$strip>]>>;
|
|
1331
|
+
}, z.core.$strip>], "type">>;
|
|
1332
1332
|
pagination: z.ZodObject<{
|
|
1333
1333
|
from: z.ZodCoercedNumber<unknown>;
|
|
1334
1334
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1386,7 +1386,7 @@ declare class GetDeliveryFees extends AbstractApiRequest<typeof getDeliveryFeesI
|
|
|
1386
1386
|
settings: z.ZodObject<{
|
|
1387
1387
|
values: z.ZodArray<z.ZodString>;
|
|
1388
1388
|
}, z.core.$strip>;
|
|
1389
|
-
}, z.core.$strip>]>>;
|
|
1389
|
+
}, z.core.$strip>], "type">>;
|
|
1390
1390
|
pagination: z.ZodObject<{
|
|
1391
1391
|
from: z.ZodCoercedNumber<unknown>;
|
|
1392
1392
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1479,7 +1479,7 @@ declare class GetDeliveryFees extends AbstractApiRequest<typeof getDeliveryFeesI
|
|
|
1479
1479
|
settings: z.ZodObject<{
|
|
1480
1480
|
values: z.ZodArray<z.ZodString>;
|
|
1481
1481
|
}, z.core.$strip>;
|
|
1482
|
-
}, z.core.$strip>]>;
|
|
1482
|
+
}, z.core.$strip>], "type">;
|
|
1483
1483
|
readonly paginationDefaultEnabled = true;
|
|
1484
1484
|
constructor(options?: {
|
|
1485
1485
|
query?: DeliveryFeesQueryParams;
|
|
@@ -1572,7 +1572,7 @@ declare const getDeliveryFeesFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
|
|
|
1572
1572
|
settings: z.ZodObject<{
|
|
1573
1573
|
values: z.ZodArray<z.ZodString>;
|
|
1574
1574
|
}, z.core.$strip>;
|
|
1575
|
-
}, z.core.$strip>]>>;
|
|
1575
|
+
}, z.core.$strip>], "type">>;
|
|
1576
1576
|
type GetDeliveryFeesFromPointOfSaleResponse = z.infer<typeof getDeliveryFeesFromPointOfSaleResponseSchema>;
|
|
1577
1577
|
declare class GetDeliveryFeesFromPointOfSale extends AbstractApiRequest<typeof getDeliveryFeesFromPointOfSaleInputSchema, typeof getDeliveryFeesFromPointOfSaleResponseSchema, GetDeliveryFeesFromPointOfSaleQueryParams> {
|
|
1578
1578
|
readonly method: "GET";
|
|
@@ -1620,7 +1620,7 @@ declare class GetDeliveryFeesFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
1620
1620
|
settings: z.ZodObject<{
|
|
1621
1621
|
values: z.ZodArray<z.ZodString>;
|
|
1622
1622
|
}, z.core.$strip>;
|
|
1623
|
-
}, z.core.$strip>]>>;
|
|
1623
|
+
}, z.core.$strip>], "type">>;
|
|
1624
1624
|
readonly querySchema: z.ZodObject<{
|
|
1625
1625
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1626
1626
|
asc: "asc";
|
|
@@ -1704,7 +1704,7 @@ declare class GetDeliveryFeesFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
1704
1704
|
settings: z.ZodObject<{
|
|
1705
1705
|
values: z.ZodArray<z.ZodString>;
|
|
1706
1706
|
}, z.core.$strip>;
|
|
1707
|
-
}, z.core.$strip>]>;
|
|
1707
|
+
}, z.core.$strip>], "type">;
|
|
1708
1708
|
readonly paginationDefaultEnabled = false;
|
|
1709
1709
|
private readonly pointOfSaleId;
|
|
1710
1710
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -1736,7 +1736,7 @@ declare const updateDeliveryFeeInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1736
1736
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1737
1737
|
values: z.ZodArray<z.ZodString>;
|
|
1738
1738
|
}, z.core.$strip>>;
|
|
1739
|
-
}, z.core.$strip>]>;
|
|
1739
|
+
}, z.core.$strip>], "type">;
|
|
1740
1740
|
type UpdateDeliveryFeeInput = z.input<typeof updateDeliveryFeeInputSchema>;
|
|
1741
1741
|
declare const updateDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1742
1742
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -1779,7 +1779,7 @@ declare const updateDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1779
1779
|
settings: z.ZodObject<{
|
|
1780
1780
|
values: z.ZodArray<z.ZodString>;
|
|
1781
1781
|
}, z.core.$strip>;
|
|
1782
|
-
}, z.core.$strip>]>;
|
|
1782
|
+
}, z.core.$strip>], "type">;
|
|
1783
1783
|
type UpdateDeliveryFeeResponse = z.output<typeof updateDeliveryFeeResponseSchema>;
|
|
1784
1784
|
declare class UpdateDeliveryFee extends AbstractApiRequest<typeof updateDeliveryFeeInputSchema, typeof updateDeliveryFeeResponseSchema> {
|
|
1785
1785
|
readonly method = "PATCH";
|
|
@@ -1808,7 +1808,7 @@ declare class UpdateDeliveryFee extends AbstractApiRequest<typeof updateDelivery
|
|
|
1808
1808
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1809
1809
|
values: z.ZodArray<z.ZodString>;
|
|
1810
1810
|
}, z.core.$strip>>;
|
|
1811
|
-
}, z.core.$strip>]>;
|
|
1811
|
+
}, z.core.$strip>], "type">;
|
|
1812
1812
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1813
1813
|
amount: z.ZodDefault<z.ZodString>;
|
|
1814
1814
|
netAmount: z.ZodString;
|
|
@@ -1850,7 +1850,7 @@ declare class UpdateDeliveryFee extends AbstractApiRequest<typeof updateDelivery
|
|
|
1850
1850
|
settings: z.ZodObject<{
|
|
1851
1851
|
values: z.ZodArray<z.ZodString>;
|
|
1852
1852
|
}, z.core.$strip>;
|
|
1853
|
-
}, z.core.$strip>]>;
|
|
1853
|
+
}, z.core.$strip>], "type">;
|
|
1854
1854
|
readonly querySchema: undefined;
|
|
1855
1855
|
readonly headersSchema: undefined;
|
|
1856
1856
|
private readonly deliveryFeeId;
|
package/dist/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ declare const deliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
97
97
|
settings: z.ZodObject<{
|
|
98
98
|
values: z.ZodArray<z.ZodString>;
|
|
99
99
|
}, z.core.$strip>;
|
|
100
|
-
}, z.core.$strip>]>;
|
|
100
|
+
}, z.core.$strip>], "type">;
|
|
101
101
|
type DeliveryFee = z.infer<typeof deliveryFeeSchema>;
|
|
102
102
|
declare const writableCreateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
103
103
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -125,7 +125,7 @@ declare const writableCreateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
125
125
|
settings: z.ZodObject<{
|
|
126
126
|
values: z.ZodArray<z.ZodString>;
|
|
127
127
|
}, z.core.$strip>;
|
|
128
|
-
}, z.core.$strip>]>;
|
|
128
|
+
}, z.core.$strip>], "type">;
|
|
129
129
|
type WritableCreateDeliveryFee = z.infer<typeof writableCreateDeliveryFeeSchema>;
|
|
130
130
|
declare const writableUpdateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
131
131
|
amount: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
@@ -150,7 +150,7 @@ declare const writableUpdateDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
150
150
|
settings: z.ZodOptional<z.ZodObject<{
|
|
151
151
|
values: z.ZodArray<z.ZodString>;
|
|
152
152
|
}, z.core.$strip>>;
|
|
153
|
-
}, z.core.$strip>]>;
|
|
153
|
+
}, z.core.$strip>], "type">;
|
|
154
154
|
type WritableUpdateDeliveryFee = z.infer<typeof writableUpdateDeliveryFeeSchema>;
|
|
155
155
|
declare const deliveryFeeDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
156
156
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -193,7 +193,7 @@ declare const deliveryFeeDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
193
193
|
settings: z.ZodObject<{
|
|
194
194
|
values: z.ZodArray<z.ZodString>;
|
|
195
195
|
}, z.core.$strip>;
|
|
196
|
-
}, z.core.$strip>]>;
|
|
196
|
+
}, z.core.$strip>], "type">;
|
|
197
197
|
type DeliveryFeeDetails = z.infer<typeof deliveryFeeDetailsSchema>;
|
|
198
198
|
declare const deliveryFeeListItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
199
199
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -236,7 +236,7 @@ declare const deliveryFeeListItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
236
236
|
settings: z.ZodObject<{
|
|
237
237
|
values: z.ZodArray<z.ZodString>;
|
|
238
238
|
}, z.core.$strip>;
|
|
239
|
-
}, z.core.$strip>]>;
|
|
239
|
+
}, z.core.$strip>], "type">;
|
|
240
240
|
type DeliveryFeeListItem = z.infer<typeof deliveryFeeListItemSchema>;
|
|
241
241
|
declare const deliveriesQuerySchema: z.ZodObject<{
|
|
242
242
|
'bundle.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
@@ -1004,7 +1004,7 @@ declare const createDeliveryFeeInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1004
1004
|
settings: z.ZodObject<{
|
|
1005
1005
|
values: z.ZodArray<z.ZodString>;
|
|
1006
1006
|
}, z.core.$strip>;
|
|
1007
|
-
}, z.core.$strip>]>;
|
|
1007
|
+
}, z.core.$strip>], "type">;
|
|
1008
1008
|
type CreateDeliveryFeeInput = z.input<typeof createDeliveryFeeInputSchema>;
|
|
1009
1009
|
declare const createDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1010
1010
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -1047,7 +1047,7 @@ declare const createDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1047
1047
|
settings: z.ZodObject<{
|
|
1048
1048
|
values: z.ZodArray<z.ZodString>;
|
|
1049
1049
|
}, z.core.$strip>;
|
|
1050
|
-
}, z.core.$strip>]>;
|
|
1050
|
+
}, z.core.$strip>], "type">;
|
|
1051
1051
|
type CreateDeliveryFeeResponse = z.output<typeof createDeliveryFeeResponseSchema>;
|
|
1052
1052
|
declare class CreateDeliveryFee extends AbstractApiRequest<typeof createDeliveryFeeInputSchema, typeof createDeliveryFeeResponseSchema> {
|
|
1053
1053
|
readonly method = "POST";
|
|
@@ -1079,7 +1079,7 @@ declare class CreateDeliveryFee extends AbstractApiRequest<typeof createDelivery
|
|
|
1079
1079
|
settings: z.ZodObject<{
|
|
1080
1080
|
values: z.ZodArray<z.ZodString>;
|
|
1081
1081
|
}, z.core.$strip>;
|
|
1082
|
-
}, z.core.$strip>]>;
|
|
1082
|
+
}, z.core.$strip>], "type">;
|
|
1083
1083
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1084
1084
|
amount: z.ZodDefault<z.ZodString>;
|
|
1085
1085
|
netAmount: z.ZodString;
|
|
@@ -1121,7 +1121,7 @@ declare class CreateDeliveryFee extends AbstractApiRequest<typeof createDelivery
|
|
|
1121
1121
|
settings: z.ZodObject<{
|
|
1122
1122
|
values: z.ZodArray<z.ZodString>;
|
|
1123
1123
|
}, z.core.$strip>;
|
|
1124
|
-
}, z.core.$strip>]>;
|
|
1124
|
+
}, z.core.$strip>], "type">;
|
|
1125
1125
|
readonly querySchema: undefined;
|
|
1126
1126
|
readonly headersSchema: undefined;
|
|
1127
1127
|
constructor(input: CreateDeliveryFeeInput);
|
|
@@ -1186,7 +1186,7 @@ declare const getDeliveryFeeDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
1186
1186
|
settings: z.ZodObject<{
|
|
1187
1187
|
values: z.ZodArray<z.ZodString>;
|
|
1188
1188
|
}, z.core.$strip>;
|
|
1189
|
-
}, z.core.$strip>]>;
|
|
1189
|
+
}, z.core.$strip>], "type">;
|
|
1190
1190
|
type GetDeliveryFeeDetailsResponse = z.output<typeof getDeliveryFeeDetailsResponseSchema>;
|
|
1191
1191
|
declare class GetDeliveryFeeDetails extends AbstractApiRequest<typeof getDeliveryFeeDetailsInputSchema, typeof getDeliveryFeeDetailsResponseSchema> {
|
|
1192
1192
|
readonly method = "GET";
|
|
@@ -1234,7 +1234,7 @@ declare class GetDeliveryFeeDetails extends AbstractApiRequest<typeof getDeliver
|
|
|
1234
1234
|
settings: z.ZodObject<{
|
|
1235
1235
|
values: z.ZodArray<z.ZodString>;
|
|
1236
1236
|
}, z.core.$strip>;
|
|
1237
|
-
}, z.core.$strip>]>;
|
|
1237
|
+
}, z.core.$strip>], "type">;
|
|
1238
1238
|
readonly querySchema: undefined;
|
|
1239
1239
|
readonly headersSchema: undefined;
|
|
1240
1240
|
private readonly deliveryFeeId;
|
|
@@ -1328,7 +1328,7 @@ declare const getDeliveryFeesResponseSchema: z.ZodObject<{
|
|
|
1328
1328
|
settings: z.ZodObject<{
|
|
1329
1329
|
values: z.ZodArray<z.ZodString>;
|
|
1330
1330
|
}, z.core.$strip>;
|
|
1331
|
-
}, z.core.$strip>]>>;
|
|
1331
|
+
}, z.core.$strip>], "type">>;
|
|
1332
1332
|
pagination: z.ZodObject<{
|
|
1333
1333
|
from: z.ZodCoercedNumber<unknown>;
|
|
1334
1334
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1386,7 +1386,7 @@ declare class GetDeliveryFees extends AbstractApiRequest<typeof getDeliveryFeesI
|
|
|
1386
1386
|
settings: z.ZodObject<{
|
|
1387
1387
|
values: z.ZodArray<z.ZodString>;
|
|
1388
1388
|
}, z.core.$strip>;
|
|
1389
|
-
}, z.core.$strip>]>>;
|
|
1389
|
+
}, z.core.$strip>], "type">>;
|
|
1390
1390
|
pagination: z.ZodObject<{
|
|
1391
1391
|
from: z.ZodCoercedNumber<unknown>;
|
|
1392
1392
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -1479,7 +1479,7 @@ declare class GetDeliveryFees extends AbstractApiRequest<typeof getDeliveryFeesI
|
|
|
1479
1479
|
settings: z.ZodObject<{
|
|
1480
1480
|
values: z.ZodArray<z.ZodString>;
|
|
1481
1481
|
}, z.core.$strip>;
|
|
1482
|
-
}, z.core.$strip>]>;
|
|
1482
|
+
}, z.core.$strip>], "type">;
|
|
1483
1483
|
readonly paginationDefaultEnabled = true;
|
|
1484
1484
|
constructor(options?: {
|
|
1485
1485
|
query?: DeliveryFeesQueryParams;
|
|
@@ -1572,7 +1572,7 @@ declare const getDeliveryFeesFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDisc
|
|
|
1572
1572
|
settings: z.ZodObject<{
|
|
1573
1573
|
values: z.ZodArray<z.ZodString>;
|
|
1574
1574
|
}, z.core.$strip>;
|
|
1575
|
-
}, z.core.$strip>]>>;
|
|
1575
|
+
}, z.core.$strip>], "type">>;
|
|
1576
1576
|
type GetDeliveryFeesFromPointOfSaleResponse = z.infer<typeof getDeliveryFeesFromPointOfSaleResponseSchema>;
|
|
1577
1577
|
declare class GetDeliveryFeesFromPointOfSale extends AbstractApiRequest<typeof getDeliveryFeesFromPointOfSaleInputSchema, typeof getDeliveryFeesFromPointOfSaleResponseSchema, GetDeliveryFeesFromPointOfSaleQueryParams> {
|
|
1578
1578
|
readonly method: "GET";
|
|
@@ -1620,7 +1620,7 @@ declare class GetDeliveryFeesFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
1620
1620
|
settings: z.ZodObject<{
|
|
1621
1621
|
values: z.ZodArray<z.ZodString>;
|
|
1622
1622
|
}, z.core.$strip>;
|
|
1623
|
-
}, z.core.$strip>]>>;
|
|
1623
|
+
}, z.core.$strip>], "type">>;
|
|
1624
1624
|
readonly querySchema: z.ZodObject<{
|
|
1625
1625
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1626
1626
|
asc: "asc";
|
|
@@ -1704,7 +1704,7 @@ declare class GetDeliveryFeesFromPointOfSale extends AbstractApiRequest<typeof g
|
|
|
1704
1704
|
settings: z.ZodObject<{
|
|
1705
1705
|
values: z.ZodArray<z.ZodString>;
|
|
1706
1706
|
}, z.core.$strip>;
|
|
1707
|
-
}, z.core.$strip>]>;
|
|
1707
|
+
}, z.core.$strip>], "type">;
|
|
1708
1708
|
readonly paginationDefaultEnabled = false;
|
|
1709
1709
|
private readonly pointOfSaleId;
|
|
1710
1710
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -1736,7 +1736,7 @@ declare const updateDeliveryFeeInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1736
1736
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1737
1737
|
values: z.ZodArray<z.ZodString>;
|
|
1738
1738
|
}, z.core.$strip>>;
|
|
1739
|
-
}, z.core.$strip>]>;
|
|
1739
|
+
}, z.core.$strip>], "type">;
|
|
1740
1740
|
type UpdateDeliveryFeeInput = z.input<typeof updateDeliveryFeeInputSchema>;
|
|
1741
1741
|
declare const updateDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1742
1742
|
amount: z.ZodDefault<z.ZodString>;
|
|
@@ -1779,7 +1779,7 @@ declare const updateDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1779
1779
|
settings: z.ZodObject<{
|
|
1780
1780
|
values: z.ZodArray<z.ZodString>;
|
|
1781
1781
|
}, z.core.$strip>;
|
|
1782
|
-
}, z.core.$strip>]>;
|
|
1782
|
+
}, z.core.$strip>], "type">;
|
|
1783
1783
|
type UpdateDeliveryFeeResponse = z.output<typeof updateDeliveryFeeResponseSchema>;
|
|
1784
1784
|
declare class UpdateDeliveryFee extends AbstractApiRequest<typeof updateDeliveryFeeInputSchema, typeof updateDeliveryFeeResponseSchema> {
|
|
1785
1785
|
readonly method = "PATCH";
|
|
@@ -1808,7 +1808,7 @@ declare class UpdateDeliveryFee extends AbstractApiRequest<typeof updateDelivery
|
|
|
1808
1808
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1809
1809
|
values: z.ZodArray<z.ZodString>;
|
|
1810
1810
|
}, z.core.$strip>>;
|
|
1811
|
-
}, z.core.$strip>]>;
|
|
1811
|
+
}, z.core.$strip>], "type">;
|
|
1812
1812
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1813
1813
|
amount: z.ZodDefault<z.ZodString>;
|
|
1814
1814
|
netAmount: z.ZodString;
|
|
@@ -1850,7 +1850,7 @@ declare class UpdateDeliveryFee extends AbstractApiRequest<typeof updateDelivery
|
|
|
1850
1850
|
settings: z.ZodObject<{
|
|
1851
1851
|
values: z.ZodArray<z.ZodString>;
|
|
1852
1852
|
}, z.core.$strip>;
|
|
1853
|
-
}, z.core.$strip>]>;
|
|
1853
|
+
}, z.core.$strip>], "type">;
|
|
1854
1854
|
readonly querySchema: undefined;
|
|
1855
1855
|
readonly headersSchema: undefined;
|
|
1856
1856
|
private readonly deliveryFeeId;
|