@deliverart/sdk-js-delivery 2.1.40 → 2.1.42

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.d.cts CHANGED
@@ -62,6 +62,114 @@ declare const writableDeliveryPositionSchema: z.ZodObject<{
62
62
  }, z.core.$strip>;
63
63
  }, z.core.$strip>;
64
64
  type WritableDeliveryPosition = z.infer<typeof writableDeliveryPositionSchema>;
65
+ declare const deliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
66
+ amount: z.ZodString;
67
+ netAmount: z.ZodString;
68
+ taxAmount: z.ZodString;
69
+ taxRate: z.ZodCoercedNumber<unknown>;
70
+ createdAt: z.ZodString;
71
+ updatedAt: z.ZodString;
72
+ type: z.ZodLiteral<"amount">;
73
+ settings: z.ZodObject<{
74
+ min: z.ZodNumber;
75
+ max: z.ZodNumber;
76
+ }, z.core.$strip>;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ amount: z.ZodString;
79
+ netAmount: z.ZodString;
80
+ taxAmount: z.ZodString;
81
+ taxRate: z.ZodCoercedNumber<unknown>;
82
+ createdAt: z.ZodString;
83
+ updatedAt: z.ZodString;
84
+ type: z.ZodLiteral<"distance">;
85
+ settings: z.ZodObject<{
86
+ min: z.ZodNumber;
87
+ max: z.ZodNumber;
88
+ }, z.core.$strip>;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ amount: z.ZodString;
91
+ netAmount: z.ZodString;
92
+ taxAmount: z.ZodString;
93
+ taxRate: z.ZodCoercedNumber<unknown>;
94
+ createdAt: z.ZodString;
95
+ updatedAt: z.ZodString;
96
+ type: z.ZodLiteral<"postal_code">;
97
+ settings: z.ZodObject<{
98
+ values: z.ZodArray<z.ZodString>;
99
+ }, z.core.$strip>;
100
+ }, z.core.$strip>]>;
101
+ type DeliveryFee = z.infer<typeof deliveryFeeSchema>;
102
+ declare const writableDeliveryFeeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
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>>;
104
+ amount: z.ZodDefault<z.ZodString>;
105
+ taxRate: z.ZodCoercedNumber<unknown>;
106
+ type: z.ZodLiteral<"amount">;
107
+ settings: z.ZodObject<{
108
+ min: z.ZodNumber;
109
+ max: z.ZodNumber;
110
+ }, z.core.$strip>;
111
+ }, z.core.$strip>, z.ZodObject<{
112
+ 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>>;
113
+ amount: z.ZodDefault<z.ZodString>;
114
+ taxRate: z.ZodCoercedNumber<unknown>;
115
+ type: z.ZodLiteral<"distance">;
116
+ settings: z.ZodObject<{
117
+ min: z.ZodNumber;
118
+ max: z.ZodNumber;
119
+ }, z.core.$strip>;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ 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>>;
122
+ amount: z.ZodDefault<z.ZodString>;
123
+ taxRate: z.ZodCoercedNumber<unknown>;
124
+ type: z.ZodLiteral<"postal_code">;
125
+ settings: z.ZodObject<{
126
+ values: z.ZodArray<z.ZodString>;
127
+ }, z.core.$strip>;
128
+ }, z.core.$strip>]>;
129
+ type WritableDeliveryFee = z.infer<typeof writableDeliveryFeeSchema>;
130
+ declare const deliveryFeeDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
131
+ amount: z.ZodString;
132
+ netAmount: z.ZodString;
133
+ taxAmount: z.ZodString;
134
+ taxRate: z.ZodCoercedNumber<unknown>;
135
+ createdAt: z.ZodString;
136
+ updatedAt: z.ZodString;
137
+ id: z.ZodString;
138
+ pointOfSale: z.ZodOptional<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>>>;
139
+ type: z.ZodLiteral<"amount">;
140
+ settings: z.ZodObject<{
141
+ min: z.ZodNumber;
142
+ max: z.ZodNumber;
143
+ }, z.core.$strip>;
144
+ }, z.core.$strip>, z.ZodObject<{
145
+ amount: z.ZodString;
146
+ netAmount: z.ZodString;
147
+ taxAmount: z.ZodString;
148
+ taxRate: z.ZodCoercedNumber<unknown>;
149
+ createdAt: z.ZodString;
150
+ updatedAt: z.ZodString;
151
+ id: z.ZodString;
152
+ pointOfSale: z.ZodOptional<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>>>;
153
+ type: z.ZodLiteral<"distance">;
154
+ settings: z.ZodObject<{
155
+ min: z.ZodNumber;
156
+ max: z.ZodNumber;
157
+ }, z.core.$strip>;
158
+ }, z.core.$strip>, z.ZodObject<{
159
+ amount: z.ZodString;
160
+ netAmount: z.ZodString;
161
+ taxAmount: z.ZodString;
162
+ taxRate: z.ZodCoercedNumber<unknown>;
163
+ createdAt: z.ZodString;
164
+ updatedAt: z.ZodString;
165
+ id: z.ZodString;
166
+ pointOfSale: z.ZodOptional<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>>>;
167
+ type: z.ZodLiteral<"postal_code">;
168
+ settings: z.ZodObject<{
169
+ values: z.ZodArray<z.ZodString>;
170
+ }, z.core.$strip>;
171
+ }, z.core.$strip>]>;
172
+ type DeliveryFeeDetails = z.infer<typeof deliveryFeeDetailsSchema>;
65
173
  declare const deliveriesQuerySchema: z.ZodObject<{
66
174
  'bundle.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
67
175
  'exists[startedAt]': z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
@@ -105,6 +213,48 @@ declare const deliveriesQuerySchema: z.ZodObject<{
105
213
  'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
106
214
  }, z.core.$strip>;
107
215
  type DeliveriesQueryParams = z.infer<typeof deliveriesQuerySchema>;
216
+ declare const deliveryFeesQuerySchema: z.ZodObject<{
217
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
218
+ asc: "asc";
219
+ desc: "desc";
220
+ }>>;
221
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
222
+ asc: "asc";
223
+ desc: "desc";
224
+ }>>;
225
+ 'order[amount]': z.ZodOptional<z.ZodEnum<{
226
+ asc: "asc";
227
+ desc: "desc";
228
+ }>>;
229
+ 'order[type]': z.ZodOptional<z.ZodEnum<{
230
+ asc: "asc";
231
+ desc: "desc";
232
+ }>>;
233
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
234
+ amount: "amount";
235
+ distance: "distance";
236
+ postal_code: "postal_code";
237
+ }>, z.ZodArray<z.ZodEnum<{
238
+ amount: "amount";
239
+ distance: "distance";
240
+ postal_code: "postal_code";
241
+ }>>]>>;
242
+ 'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
243
+ 'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
244
+ 'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
245
+ 'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
246
+ 'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
247
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
248
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
249
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
250
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
251
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
252
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
253
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
254
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
255
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strip>;
257
+ type DeliveryFeesQueryParams = z.infer<typeof deliveryFeesQuerySchema>;
108
258
  declare const deliveryPositionsQuerySchema: z.ZodObject<{
109
259
  'order[createdAt]': z.ZodOptional<z.ZodEnum<{
110
260
  asc: "asc";
@@ -730,6 +880,633 @@ declare class UpdateDelivery extends AbstractApiRequest<typeof updateDeliveryInp
730
880
  getPath(): string;
731
881
  }
732
882
 
883
+ declare const createDeliveryFeeInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
884
+ 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>>;
885
+ amount: z.ZodDefault<z.ZodString>;
886
+ taxRate: z.ZodCoercedNumber<unknown>;
887
+ type: z.ZodLiteral<"amount">;
888
+ settings: z.ZodObject<{
889
+ min: z.ZodNumber;
890
+ max: z.ZodNumber;
891
+ }, z.core.$strip>;
892
+ }, z.core.$strip>, z.ZodObject<{
893
+ 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>>;
894
+ amount: z.ZodDefault<z.ZodString>;
895
+ taxRate: z.ZodCoercedNumber<unknown>;
896
+ type: z.ZodLiteral<"distance">;
897
+ settings: z.ZodObject<{
898
+ min: z.ZodNumber;
899
+ max: z.ZodNumber;
900
+ }, z.core.$strip>;
901
+ }, z.core.$strip>, z.ZodObject<{
902
+ 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>>;
903
+ amount: z.ZodDefault<z.ZodString>;
904
+ taxRate: z.ZodCoercedNumber<unknown>;
905
+ type: z.ZodLiteral<"postal_code">;
906
+ settings: z.ZodObject<{
907
+ values: z.ZodArray<z.ZodString>;
908
+ }, z.core.$strip>;
909
+ }, z.core.$strip>]>;
910
+ type CreateDeliveryFeeInput = z.input<typeof createDeliveryFeeInputSchema>;
911
+ declare const createDeliveryFeeResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
912
+ amount: z.ZodString;
913
+ netAmount: z.ZodString;
914
+ taxAmount: z.ZodString;
915
+ taxRate: z.ZodCoercedNumber<unknown>;
916
+ createdAt: z.ZodString;
917
+ updatedAt: z.ZodString;
918
+ id: z.ZodString;
919
+ pointOfSale: z.ZodOptional<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>>>;
920
+ type: z.ZodLiteral<"amount">;
921
+ settings: z.ZodObject<{
922
+ min: z.ZodNumber;
923
+ max: z.ZodNumber;
924
+ }, z.core.$strip>;
925
+ }, z.core.$strip>, z.ZodObject<{
926
+ amount: z.ZodString;
927
+ netAmount: z.ZodString;
928
+ taxAmount: z.ZodString;
929
+ taxRate: z.ZodCoercedNumber<unknown>;
930
+ createdAt: z.ZodString;
931
+ updatedAt: z.ZodString;
932
+ id: z.ZodString;
933
+ pointOfSale: z.ZodOptional<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>>>;
934
+ type: z.ZodLiteral<"distance">;
935
+ settings: z.ZodObject<{
936
+ min: z.ZodNumber;
937
+ max: z.ZodNumber;
938
+ }, z.core.$strip>;
939
+ }, z.core.$strip>, z.ZodObject<{
940
+ amount: z.ZodString;
941
+ netAmount: z.ZodString;
942
+ taxAmount: z.ZodString;
943
+ taxRate: z.ZodCoercedNumber<unknown>;
944
+ createdAt: z.ZodString;
945
+ updatedAt: z.ZodString;
946
+ id: z.ZodString;
947
+ pointOfSale: z.ZodOptional<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>>>;
948
+ type: z.ZodLiteral<"postal_code">;
949
+ settings: z.ZodObject<{
950
+ values: z.ZodArray<z.ZodString>;
951
+ }, z.core.$strip>;
952
+ }, z.core.$strip>]>;
953
+ type CreateDeliveryFeeResponse = z.output<typeof createDeliveryFeeResponseSchema>;
954
+ declare class CreateDeliveryFee extends AbstractApiRequest<typeof createDeliveryFeeInputSchema, typeof createDeliveryFeeResponseSchema> {
955
+ readonly method = "POST";
956
+ readonly contentType = "application/json";
957
+ readonly accept = "application/json";
958
+ readonly inputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
959
+ 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>>;
960
+ amount: z.ZodDefault<z.ZodString>;
961
+ taxRate: z.ZodCoercedNumber<unknown>;
962
+ type: z.ZodLiteral<"amount">;
963
+ settings: z.ZodObject<{
964
+ min: z.ZodNumber;
965
+ max: z.ZodNumber;
966
+ }, z.core.$strip>;
967
+ }, z.core.$strip>, z.ZodObject<{
968
+ 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>>;
969
+ amount: z.ZodDefault<z.ZodString>;
970
+ taxRate: z.ZodCoercedNumber<unknown>;
971
+ type: z.ZodLiteral<"distance">;
972
+ settings: z.ZodObject<{
973
+ min: z.ZodNumber;
974
+ max: z.ZodNumber;
975
+ }, z.core.$strip>;
976
+ }, z.core.$strip>, z.ZodObject<{
977
+ 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>>;
978
+ amount: z.ZodDefault<z.ZodString>;
979
+ taxRate: z.ZodCoercedNumber<unknown>;
980
+ type: z.ZodLiteral<"postal_code">;
981
+ settings: z.ZodObject<{
982
+ values: z.ZodArray<z.ZodString>;
983
+ }, z.core.$strip>;
984
+ }, z.core.$strip>]>;
985
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
986
+ amount: z.ZodString;
987
+ netAmount: z.ZodString;
988
+ taxAmount: z.ZodString;
989
+ taxRate: z.ZodCoercedNumber<unknown>;
990
+ createdAt: z.ZodString;
991
+ updatedAt: z.ZodString;
992
+ id: z.ZodString;
993
+ pointOfSale: z.ZodOptional<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>>>;
994
+ type: z.ZodLiteral<"amount">;
995
+ settings: z.ZodObject<{
996
+ min: z.ZodNumber;
997
+ max: z.ZodNumber;
998
+ }, z.core.$strip>;
999
+ }, z.core.$strip>, z.ZodObject<{
1000
+ amount: z.ZodString;
1001
+ netAmount: z.ZodString;
1002
+ taxAmount: z.ZodString;
1003
+ taxRate: z.ZodCoercedNumber<unknown>;
1004
+ createdAt: z.ZodString;
1005
+ updatedAt: z.ZodString;
1006
+ id: z.ZodString;
1007
+ pointOfSale: z.ZodOptional<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>>>;
1008
+ type: z.ZodLiteral<"distance">;
1009
+ settings: z.ZodObject<{
1010
+ min: z.ZodNumber;
1011
+ max: z.ZodNumber;
1012
+ }, z.core.$strip>;
1013
+ }, z.core.$strip>, z.ZodObject<{
1014
+ amount: z.ZodString;
1015
+ netAmount: z.ZodString;
1016
+ taxAmount: z.ZodString;
1017
+ taxRate: z.ZodCoercedNumber<unknown>;
1018
+ createdAt: z.ZodString;
1019
+ updatedAt: z.ZodString;
1020
+ id: z.ZodString;
1021
+ pointOfSale: z.ZodOptional<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>>>;
1022
+ type: z.ZodLiteral<"postal_code">;
1023
+ settings: z.ZodObject<{
1024
+ values: z.ZodArray<z.ZodString>;
1025
+ }, z.core.$strip>;
1026
+ }, z.core.$strip>]>;
1027
+ readonly querySchema: undefined;
1028
+ readonly headersSchema: undefined;
1029
+ constructor(input: CreateDeliveryFeeInput);
1030
+ getPath(): string;
1031
+ }
1032
+
1033
+ declare const deleteDeliveryFeeInputSchema: z.ZodUndefined;
1034
+ declare const deleteDeliveryFeeResponseSchema: z.ZodUndefined;
1035
+ declare class DeleteDeliveryFee extends AbstractApiRequest<typeof deleteDeliveryFeeInputSchema, typeof deleteDeliveryFeeResponseSchema> {
1036
+ readonly method = "DELETE";
1037
+ readonly contentType = "application/json";
1038
+ readonly accept = "application/json";
1039
+ readonly inputSchema: z.ZodUndefined;
1040
+ readonly outputSchema: z.ZodUndefined;
1041
+ readonly querySchema: undefined;
1042
+ readonly headersSchema: undefined;
1043
+ private readonly deliveryFeeId;
1044
+ constructor(deliveryFeeId: string);
1045
+ getPath(): string;
1046
+ }
1047
+
1048
+ declare const getDeliveryFeeDetailsInputSchema: z.ZodUndefined;
1049
+ type GetDeliveryFeeDetailsInput = z.infer<typeof getDeliveryFeeDetailsInputSchema>;
1050
+ declare const getDeliveryFeeDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1051
+ amount: z.ZodString;
1052
+ netAmount: z.ZodString;
1053
+ taxAmount: z.ZodString;
1054
+ taxRate: z.ZodCoercedNumber<unknown>;
1055
+ createdAt: z.ZodString;
1056
+ updatedAt: z.ZodString;
1057
+ id: z.ZodString;
1058
+ pointOfSale: z.ZodOptional<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>>>;
1059
+ type: z.ZodLiteral<"amount">;
1060
+ settings: z.ZodObject<{
1061
+ min: z.ZodNumber;
1062
+ max: z.ZodNumber;
1063
+ }, z.core.$strip>;
1064
+ }, z.core.$strip>, z.ZodObject<{
1065
+ amount: z.ZodString;
1066
+ netAmount: z.ZodString;
1067
+ taxAmount: z.ZodString;
1068
+ taxRate: z.ZodCoercedNumber<unknown>;
1069
+ createdAt: z.ZodString;
1070
+ updatedAt: z.ZodString;
1071
+ id: z.ZodString;
1072
+ pointOfSale: z.ZodOptional<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>>>;
1073
+ type: z.ZodLiteral<"distance">;
1074
+ settings: z.ZodObject<{
1075
+ min: z.ZodNumber;
1076
+ max: z.ZodNumber;
1077
+ }, z.core.$strip>;
1078
+ }, z.core.$strip>, z.ZodObject<{
1079
+ amount: z.ZodString;
1080
+ netAmount: z.ZodString;
1081
+ taxAmount: z.ZodString;
1082
+ taxRate: z.ZodCoercedNumber<unknown>;
1083
+ createdAt: z.ZodString;
1084
+ updatedAt: z.ZodString;
1085
+ id: z.ZodString;
1086
+ pointOfSale: z.ZodOptional<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>>>;
1087
+ type: z.ZodLiteral<"postal_code">;
1088
+ settings: z.ZodObject<{
1089
+ values: z.ZodArray<z.ZodString>;
1090
+ }, z.core.$strip>;
1091
+ }, z.core.$strip>]>;
1092
+ type GetDeliveryFeeDetailsResponse = z.output<typeof getDeliveryFeeDetailsResponseSchema>;
1093
+ declare class GetDeliveryFeeDetails extends AbstractApiRequest<typeof getDeliveryFeeDetailsInputSchema, typeof getDeliveryFeeDetailsResponseSchema> {
1094
+ readonly method = "GET";
1095
+ readonly contentType = "application/json";
1096
+ readonly accept = "application/json";
1097
+ readonly inputSchema: z.ZodUndefined;
1098
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1099
+ amount: z.ZodString;
1100
+ netAmount: z.ZodString;
1101
+ taxAmount: z.ZodString;
1102
+ taxRate: z.ZodCoercedNumber<unknown>;
1103
+ createdAt: z.ZodString;
1104
+ updatedAt: z.ZodString;
1105
+ id: z.ZodString;
1106
+ pointOfSale: z.ZodOptional<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>>>;
1107
+ type: z.ZodLiteral<"amount">;
1108
+ settings: z.ZodObject<{
1109
+ min: z.ZodNumber;
1110
+ max: z.ZodNumber;
1111
+ }, z.core.$strip>;
1112
+ }, z.core.$strip>, z.ZodObject<{
1113
+ amount: z.ZodString;
1114
+ netAmount: z.ZodString;
1115
+ taxAmount: z.ZodString;
1116
+ taxRate: z.ZodCoercedNumber<unknown>;
1117
+ createdAt: z.ZodString;
1118
+ updatedAt: z.ZodString;
1119
+ id: z.ZodString;
1120
+ pointOfSale: z.ZodOptional<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>>>;
1121
+ type: z.ZodLiteral<"distance">;
1122
+ settings: z.ZodObject<{
1123
+ min: z.ZodNumber;
1124
+ max: z.ZodNumber;
1125
+ }, z.core.$strip>;
1126
+ }, z.core.$strip>, z.ZodObject<{
1127
+ amount: z.ZodString;
1128
+ netAmount: z.ZodString;
1129
+ taxAmount: z.ZodString;
1130
+ taxRate: z.ZodCoercedNumber<unknown>;
1131
+ createdAt: z.ZodString;
1132
+ updatedAt: z.ZodString;
1133
+ id: z.ZodString;
1134
+ pointOfSale: z.ZodOptional<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>>>;
1135
+ type: z.ZodLiteral<"postal_code">;
1136
+ settings: z.ZodObject<{
1137
+ values: z.ZodArray<z.ZodString>;
1138
+ }, z.core.$strip>;
1139
+ }, z.core.$strip>]>;
1140
+ readonly querySchema: undefined;
1141
+ readonly headersSchema: undefined;
1142
+ private readonly deliveryFeeId;
1143
+ constructor(deliveryFeeId: string);
1144
+ getPath(): string;
1145
+ }
1146
+
1147
+ declare const getDeliveryFeesQuerySchema: z.ZodObject<{
1148
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1149
+ asc: "asc";
1150
+ desc: "desc";
1151
+ }>>;
1152
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1153
+ asc: "asc";
1154
+ desc: "desc";
1155
+ }>>;
1156
+ 'order[amount]': z.ZodOptional<z.ZodEnum<{
1157
+ asc: "asc";
1158
+ desc: "desc";
1159
+ }>>;
1160
+ 'order[type]': z.ZodOptional<z.ZodEnum<{
1161
+ asc: "asc";
1162
+ desc: "desc";
1163
+ }>>;
1164
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1165
+ amount: "amount";
1166
+ distance: "distance";
1167
+ postal_code: "postal_code";
1168
+ }>, z.ZodArray<z.ZodEnum<{
1169
+ amount: "amount";
1170
+ distance: "distance";
1171
+ postal_code: "postal_code";
1172
+ }>>]>>;
1173
+ 'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1174
+ 'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1175
+ 'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1176
+ 'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1177
+ 'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1178
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1179
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1180
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1181
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1182
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1183
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1184
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1185
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1186
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1187
+ }, z.core.$strip>;
1188
+ type GetDeliveryFeesQueryParams = z.infer<typeof getDeliveryFeesQuerySchema>;
1189
+ declare const getDeliveryFeesInputSchema: z.ZodUndefined;
1190
+ type GetDeliveryFeesInput = z.infer<typeof getDeliveryFeesInputSchema>;
1191
+ declare const getDeliveryFeesResponseSchema: z.ZodObject<{
1192
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1193
+ amount: z.ZodString;
1194
+ netAmount: z.ZodString;
1195
+ taxAmount: z.ZodString;
1196
+ taxRate: z.ZodCoercedNumber<unknown>;
1197
+ createdAt: z.ZodString;
1198
+ updatedAt: z.ZodString;
1199
+ type: z.ZodLiteral<"amount">;
1200
+ settings: z.ZodObject<{
1201
+ min: z.ZodNumber;
1202
+ max: z.ZodNumber;
1203
+ }, z.core.$strip>;
1204
+ }, z.core.$strip>, z.ZodObject<{
1205
+ amount: z.ZodString;
1206
+ netAmount: z.ZodString;
1207
+ taxAmount: z.ZodString;
1208
+ taxRate: z.ZodCoercedNumber<unknown>;
1209
+ createdAt: z.ZodString;
1210
+ updatedAt: z.ZodString;
1211
+ type: z.ZodLiteral<"distance">;
1212
+ settings: z.ZodObject<{
1213
+ min: z.ZodNumber;
1214
+ max: z.ZodNumber;
1215
+ }, z.core.$strip>;
1216
+ }, z.core.$strip>, z.ZodObject<{
1217
+ amount: z.ZodString;
1218
+ netAmount: z.ZodString;
1219
+ taxAmount: z.ZodString;
1220
+ taxRate: z.ZodCoercedNumber<unknown>;
1221
+ createdAt: z.ZodString;
1222
+ updatedAt: z.ZodString;
1223
+ type: z.ZodLiteral<"postal_code">;
1224
+ settings: z.ZodObject<{
1225
+ values: z.ZodArray<z.ZodString>;
1226
+ }, z.core.$strip>;
1227
+ }, z.core.$strip>]>>;
1228
+ pagination: z.ZodObject<{
1229
+ from: z.ZodNumber;
1230
+ to: z.ZodNumber;
1231
+ itemsPerPage: z.ZodNumber;
1232
+ totalItems: z.ZodNumber;
1233
+ currentPage: z.ZodNumber;
1234
+ lastPage: z.ZodNumber;
1235
+ }, z.core.$strip>;
1236
+ }, z.core.$strip>;
1237
+ type GetDeliveryFeesResponse = z.infer<typeof getDeliveryFeesResponseSchema>;
1238
+ declare class GetDeliveryFees extends AbstractApiRequest<typeof getDeliveryFeesInputSchema, typeof getDeliveryFeesResponseSchema, GetDeliveryFeesQueryParams> {
1239
+ readonly method = "GET";
1240
+ readonly contentType = "application/json";
1241
+ readonly accept = "application/json";
1242
+ readonly inputSchema: z.ZodUndefined;
1243
+ readonly outputSchema: z.ZodObject<{
1244
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1245
+ amount: z.ZodString;
1246
+ netAmount: z.ZodString;
1247
+ taxAmount: z.ZodString;
1248
+ taxRate: z.ZodCoercedNumber<unknown>;
1249
+ createdAt: z.ZodString;
1250
+ updatedAt: z.ZodString;
1251
+ type: z.ZodLiteral<"amount">;
1252
+ settings: z.ZodObject<{
1253
+ min: z.ZodNumber;
1254
+ max: z.ZodNumber;
1255
+ }, z.core.$strip>;
1256
+ }, z.core.$strip>, z.ZodObject<{
1257
+ amount: z.ZodString;
1258
+ netAmount: z.ZodString;
1259
+ taxAmount: z.ZodString;
1260
+ taxRate: z.ZodCoercedNumber<unknown>;
1261
+ createdAt: z.ZodString;
1262
+ updatedAt: z.ZodString;
1263
+ type: z.ZodLiteral<"distance">;
1264
+ settings: z.ZodObject<{
1265
+ min: z.ZodNumber;
1266
+ max: z.ZodNumber;
1267
+ }, z.core.$strip>;
1268
+ }, z.core.$strip>, z.ZodObject<{
1269
+ amount: z.ZodString;
1270
+ netAmount: z.ZodString;
1271
+ taxAmount: z.ZodString;
1272
+ taxRate: z.ZodCoercedNumber<unknown>;
1273
+ createdAt: z.ZodString;
1274
+ updatedAt: z.ZodString;
1275
+ type: z.ZodLiteral<"postal_code">;
1276
+ settings: z.ZodObject<{
1277
+ values: z.ZodArray<z.ZodString>;
1278
+ }, z.core.$strip>;
1279
+ }, z.core.$strip>]>>;
1280
+ pagination: z.ZodObject<{
1281
+ from: z.ZodNumber;
1282
+ to: z.ZodNumber;
1283
+ itemsPerPage: z.ZodNumber;
1284
+ totalItems: z.ZodNumber;
1285
+ currentPage: z.ZodNumber;
1286
+ lastPage: z.ZodNumber;
1287
+ }, z.core.$strip>;
1288
+ }, z.core.$strip>;
1289
+ readonly querySchema: z.ZodObject<{
1290
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1291
+ asc: "asc";
1292
+ desc: "desc";
1293
+ }>>;
1294
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1295
+ asc: "asc";
1296
+ desc: "desc";
1297
+ }>>;
1298
+ 'order[amount]': z.ZodOptional<z.ZodEnum<{
1299
+ asc: "asc";
1300
+ desc: "desc";
1301
+ }>>;
1302
+ 'order[type]': z.ZodOptional<z.ZodEnum<{
1303
+ asc: "asc";
1304
+ desc: "desc";
1305
+ }>>;
1306
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1307
+ amount: "amount";
1308
+ distance: "distance";
1309
+ postal_code: "postal_code";
1310
+ }>, z.ZodArray<z.ZodEnum<{
1311
+ amount: "amount";
1312
+ distance: "distance";
1313
+ postal_code: "postal_code";
1314
+ }>>]>>;
1315
+ 'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1316
+ 'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1317
+ 'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1318
+ 'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1319
+ 'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1320
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1321
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1322
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1323
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1324
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1325
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1326
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1327
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1328
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1329
+ }, z.core.$strip>;
1330
+ readonly headersSchema: undefined;
1331
+ constructor(options?: {
1332
+ query?: DeliveryFeesQueryParams;
1333
+ });
1334
+ getPath(): string;
1335
+ parseResponse(data: unknown, rawResponse: Response): Paginated<DeliveryFee>;
1336
+ }
1337
+
1338
+ declare const getDeliveryFeesFromPointOfSaleQuerySchema: z.ZodObject<{
1339
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1340
+ asc: "asc";
1341
+ desc: "desc";
1342
+ }>>;
1343
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1344
+ asc: "asc";
1345
+ desc: "desc";
1346
+ }>>;
1347
+ 'order[amount]': z.ZodOptional<z.ZodEnum<{
1348
+ asc: "asc";
1349
+ desc: "desc";
1350
+ }>>;
1351
+ 'order[type]': z.ZodOptional<z.ZodEnum<{
1352
+ asc: "asc";
1353
+ desc: "desc";
1354
+ }>>;
1355
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1356
+ amount: "amount";
1357
+ distance: "distance";
1358
+ postal_code: "postal_code";
1359
+ }>, z.ZodArray<z.ZodEnum<{
1360
+ amount: "amount";
1361
+ distance: "distance";
1362
+ postal_code: "postal_code";
1363
+ }>>]>>;
1364
+ 'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1365
+ 'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1366
+ 'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1367
+ 'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1368
+ 'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1369
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1370
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1371
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1372
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1373
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1374
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1375
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1376
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1377
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1378
+ }, z.core.$strip>;
1379
+ type GetDeliveryFeesFromPointOfSaleQueryParams = z.infer<typeof getDeliveryFeesFromPointOfSaleQuerySchema>;
1380
+ declare const getDeliveryFeesFromPointOfSaleInputSchema: z.ZodUndefined;
1381
+ type GetDeliveryFeesFromPointOfSaleInput = z.infer<typeof getDeliveryFeesFromPointOfSaleInputSchema>;
1382
+ declare const getDeliveryFeesFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1383
+ amount: z.ZodString;
1384
+ netAmount: z.ZodString;
1385
+ taxAmount: z.ZodString;
1386
+ taxRate: z.ZodCoercedNumber<unknown>;
1387
+ createdAt: z.ZodString;
1388
+ updatedAt: z.ZodString;
1389
+ type: z.ZodLiteral<"amount">;
1390
+ settings: z.ZodObject<{
1391
+ min: z.ZodNumber;
1392
+ max: z.ZodNumber;
1393
+ }, z.core.$strip>;
1394
+ }, z.core.$strip>, z.ZodObject<{
1395
+ amount: z.ZodString;
1396
+ netAmount: z.ZodString;
1397
+ taxAmount: z.ZodString;
1398
+ taxRate: z.ZodCoercedNumber<unknown>;
1399
+ createdAt: z.ZodString;
1400
+ updatedAt: z.ZodString;
1401
+ type: z.ZodLiteral<"distance">;
1402
+ settings: z.ZodObject<{
1403
+ min: z.ZodNumber;
1404
+ max: z.ZodNumber;
1405
+ }, z.core.$strip>;
1406
+ }, z.core.$strip>, z.ZodObject<{
1407
+ amount: z.ZodString;
1408
+ netAmount: z.ZodString;
1409
+ taxAmount: z.ZodString;
1410
+ taxRate: z.ZodCoercedNumber<unknown>;
1411
+ createdAt: z.ZodString;
1412
+ updatedAt: z.ZodString;
1413
+ type: z.ZodLiteral<"postal_code">;
1414
+ settings: z.ZodObject<{
1415
+ values: z.ZodArray<z.ZodString>;
1416
+ }, z.core.$strip>;
1417
+ }, z.core.$strip>]>>;
1418
+ type GetDeliveryFeesFromPointOfSaleResponse = z.infer<typeof getDeliveryFeesFromPointOfSaleResponseSchema>;
1419
+ declare class GetDeliveryFeesFromPointOfSale extends AbstractApiRequest<typeof getDeliveryFeesFromPointOfSaleInputSchema, typeof getDeliveryFeesFromPointOfSaleResponseSchema, GetDeliveryFeesFromPointOfSaleQueryParams> {
1420
+ readonly method = "GET";
1421
+ readonly contentType = "application/json";
1422
+ readonly accept = "application/json";
1423
+ readonly inputSchema: z.ZodUndefined;
1424
+ readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1425
+ amount: z.ZodString;
1426
+ netAmount: z.ZodString;
1427
+ taxAmount: z.ZodString;
1428
+ taxRate: z.ZodCoercedNumber<unknown>;
1429
+ createdAt: z.ZodString;
1430
+ updatedAt: z.ZodString;
1431
+ type: z.ZodLiteral<"amount">;
1432
+ settings: z.ZodObject<{
1433
+ min: z.ZodNumber;
1434
+ max: z.ZodNumber;
1435
+ }, z.core.$strip>;
1436
+ }, z.core.$strip>, z.ZodObject<{
1437
+ amount: z.ZodString;
1438
+ netAmount: z.ZodString;
1439
+ taxAmount: z.ZodString;
1440
+ taxRate: z.ZodCoercedNumber<unknown>;
1441
+ createdAt: z.ZodString;
1442
+ updatedAt: z.ZodString;
1443
+ type: z.ZodLiteral<"distance">;
1444
+ settings: z.ZodObject<{
1445
+ min: z.ZodNumber;
1446
+ max: z.ZodNumber;
1447
+ }, z.core.$strip>;
1448
+ }, z.core.$strip>, z.ZodObject<{
1449
+ amount: z.ZodString;
1450
+ netAmount: z.ZodString;
1451
+ taxAmount: z.ZodString;
1452
+ taxRate: z.ZodCoercedNumber<unknown>;
1453
+ createdAt: z.ZodString;
1454
+ updatedAt: z.ZodString;
1455
+ type: z.ZodLiteral<"postal_code">;
1456
+ settings: z.ZodObject<{
1457
+ values: z.ZodArray<z.ZodString>;
1458
+ }, z.core.$strip>;
1459
+ }, z.core.$strip>]>>;
1460
+ readonly querySchema: z.ZodObject<{
1461
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1462
+ asc: "asc";
1463
+ desc: "desc";
1464
+ }>>;
1465
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1466
+ asc: "asc";
1467
+ desc: "desc";
1468
+ }>>;
1469
+ 'order[amount]': z.ZodOptional<z.ZodEnum<{
1470
+ asc: "asc";
1471
+ desc: "desc";
1472
+ }>>;
1473
+ 'order[type]': z.ZodOptional<z.ZodEnum<{
1474
+ asc: "asc";
1475
+ desc: "desc";
1476
+ }>>;
1477
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1478
+ amount: "amount";
1479
+ distance: "distance";
1480
+ postal_code: "postal_code";
1481
+ }>, z.ZodArray<z.ZodEnum<{
1482
+ amount: "amount";
1483
+ distance: "distance";
1484
+ postal_code: "postal_code";
1485
+ }>>]>>;
1486
+ 'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1487
+ 'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1488
+ 'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1489
+ 'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1490
+ 'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1491
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1492
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1493
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1494
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1495
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1496
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1497
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1498
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1499
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1500
+ }, z.core.$strip>;
1501
+ readonly headersSchema: undefined;
1502
+ private readonly pointOfSaleId;
1503
+ constructor(pointOfSaleId: string, options?: {
1504
+ query?: DeliveryFeesQueryParams;
1505
+ });
1506
+ getPath(): string;
1507
+ parseResponse(data: unknown): DeliveryFee[];
1508
+ }
1509
+
733
1510
  declare const createDeliveryPositionInputSchema: z.ZodObject<{
734
1511
  delivery: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/deliveries/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/deliveries/:id">, unknown>>>;
735
1512
  positionData: z.ZodNonOptional<z.ZodObject<{
@@ -1001,6 +1778,13 @@ declare class GetDeliveryPositionsFromDelivery extends AbstractApiRequest<typeof
1001
1778
  parseResponse(data: unknown): DeliveryPosition[];
1002
1779
  }
1003
1780
 
1781
+ declare const deliveryFeeTypes: readonly ["amount", "distance", "postal_code"];
1782
+ declare const deliveryFeeTypeSchema: z.ZodEnum<{
1783
+ amount: "amount";
1784
+ distance: "distance";
1785
+ postal_code: "postal_code";
1786
+ }>;
1787
+ type DeliveryFeeType = z.infer<typeof deliveryFeeTypeSchema>;
1004
1788
  declare const deliveryIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/deliveries/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/deliveries/:id">, unknown>>;
1005
1789
  type DeliveryIri = z.infer<typeof deliveryIriSchema>;
1006
1790
  declare const deliveryNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/deliveries/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/deliveries/:id"> | null, unknown>>;
@@ -1010,4 +1794,4 @@ type DeliveryPositionIri = z.infer<typeof deliveryPositionIriSchema>;
1010
1794
  declare const deliveryPositionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/deliveries/positions/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/deliveries/positions/:id"> | null, unknown>>;
1011
1795
  type DeliveryPositionNullableIri = z.infer<typeof deliveryPositionNullableIriSchema>;
1012
1796
 
1013
- export { CreateDelivery, type CreateDeliveryInput, CreateDeliveryPosition, type CreateDeliveryPositionInput, type CreateDeliveryPositionResponse, type CreateDeliveryResponse, DeleteDelivery, DeleteDeliveryPosition, DeliverCurrentOrder, type DeliverCurrentOrderInput, type DeliverCurrentOrderResponse, type DeliveriesQueryParams, type Delivery, type DeliveryDetails, type DeliveryIri, type DeliveryNullableIri, type DeliveryPosition, type DeliveryPositionDetails, type DeliveryPositionIri, type DeliveryPositionNullableIri, type DeliveryPositionsQueryParams, EndDelivery, type EndDeliveryInput, type EndDeliveryResponse, GetDeliveries, GetDeliveriesFromUser, type GetDeliveriesFromUserInput, type GetDeliveriesFromUserQueryParams, type GetDeliveriesFromUserResponse, type GetDeliveriesInput, type GetDeliveriesQueryParams, type GetDeliveriesResponse, GetDeliveryDetails, GetDeliveryDetailsFromBundle, type GetDeliveryDetailsFromBundleInput, type GetDeliveryDetailsFromBundleResponse, type GetDeliveryDetailsInput, type GetDeliveryDetailsResponse, GetDeliveryPositionDetails, type GetDeliveryPositionDetailsInput, type GetDeliveryPositionDetailsResponse, GetDeliveryPositions, GetDeliveryPositionsFromDelivery, type GetDeliveryPositionsFromDeliveryInput, type GetDeliveryPositionsFromDeliveryQueryParams, type GetDeliveryPositionsFromDeliveryResponse, type GetDeliveryPositionsInput, type GetDeliveryPositionsQueryParams, type GetDeliveryPositionsResponse, StartDelivery, type StartDeliveryInput, StartDeliveryOrder, type StartDeliveryOrderInput, type StartDeliveryOrderResponse, type StartDeliveryResponse, UpdateDelivery, type UpdateDeliveryInput, type UpdateDeliveryResponse, type WritableDelivery, type WritableDeliveryPosition, createDeliveryInputSchema, createDeliveryPositionInputSchema, createDeliveryPositionResponseSchema, createDeliveryResponseSchema, deleteDeliveryInputSchema, deleteDeliveryPositionInputSchema, deleteDeliveryPositionResponseSchema, deleteDeliveryResponseSchema, deliverCurrentOrderInputSchema, deliverCurrentOrderResponseSchema, deliveriesQuerySchema, deliveryDetailsSchema, deliveryIriSchema, deliveryNullableIriSchema, deliveryPositionDetailsSchema, deliveryPositionIriSchema, deliveryPositionNullableIriSchema, deliveryPositionSchema, deliveryPositionsQuerySchema, deliverySchema, endDeliveryInputSchema, endDeliveryResponseSchema, getDeliveriesFromUserInputSchema, getDeliveriesFromUserQuerySchema, getDeliveriesFromUserResponseSchema, getDeliveriesInputSchema, getDeliveriesQuerySchema, getDeliveriesResponseSchema, getDeliveryDetailsFromBundleInputSchema, getDeliveryDetailsFromBundleResponseSchema, getDeliveryDetailsInputSchema, getDeliveryDetailsResponseSchema, getDeliveryPositionDetailsInputSchema, getDeliveryPositionDetailsResponseSchema, getDeliveryPositionsFromDeliveryInputSchema, getDeliveryPositionsFromDeliveryQuerySchema, getDeliveryPositionsFromDeliveryResponseSchema, getDeliveryPositionsInputSchema, getDeliveryPositionsQuerySchema, getDeliveryPositionsResponseSchema, startDeliveryInputSchema, startDeliveryOrderInputSchema, startDeliveryOrderResponseSchema, startDeliveryResponseSchema, updateDeliveryInputSchema, updateDeliveryResponseSchema, writableDeliveryPositionSchema, writableDeliverySchema };
1797
+ export { CreateDelivery, CreateDeliveryFee, type CreateDeliveryFeeInput, type CreateDeliveryFeeResponse, type CreateDeliveryInput, CreateDeliveryPosition, type CreateDeliveryPositionInput, type CreateDeliveryPositionResponse, type CreateDeliveryResponse, DeleteDelivery, DeleteDeliveryFee, DeleteDeliveryPosition, DeliverCurrentOrder, type DeliverCurrentOrderInput, type DeliverCurrentOrderResponse, type DeliveriesQueryParams, type Delivery, type DeliveryDetails, type DeliveryFee, type DeliveryFeeDetails, type DeliveryFeeType, type DeliveryFeesQueryParams, type DeliveryIri, type DeliveryNullableIri, type DeliveryPosition, type DeliveryPositionDetails, type DeliveryPositionIri, type DeliveryPositionNullableIri, type DeliveryPositionsQueryParams, EndDelivery, type EndDeliveryInput, type EndDeliveryResponse, GetDeliveries, GetDeliveriesFromUser, type GetDeliveriesFromUserInput, type GetDeliveriesFromUserQueryParams, type GetDeliveriesFromUserResponse, type GetDeliveriesInput, type GetDeliveriesQueryParams, type GetDeliveriesResponse, GetDeliveryDetails, GetDeliveryDetailsFromBundle, type GetDeliveryDetailsFromBundleInput, type GetDeliveryDetailsFromBundleResponse, type GetDeliveryDetailsInput, type GetDeliveryDetailsResponse, GetDeliveryFeeDetails, type GetDeliveryFeeDetailsInput, type GetDeliveryFeeDetailsResponse, GetDeliveryFees, GetDeliveryFeesFromPointOfSale, type GetDeliveryFeesFromPointOfSaleInput, type GetDeliveryFeesFromPointOfSaleQueryParams, type GetDeliveryFeesFromPointOfSaleResponse, type GetDeliveryFeesInput, type GetDeliveryFeesQueryParams, type GetDeliveryFeesResponse, GetDeliveryPositionDetails, type GetDeliveryPositionDetailsInput, type GetDeliveryPositionDetailsResponse, GetDeliveryPositions, GetDeliveryPositionsFromDelivery, type GetDeliveryPositionsFromDeliveryInput, type GetDeliveryPositionsFromDeliveryQueryParams, type GetDeliveryPositionsFromDeliveryResponse, type GetDeliveryPositionsInput, type GetDeliveryPositionsQueryParams, type GetDeliveryPositionsResponse, StartDelivery, type StartDeliveryInput, StartDeliveryOrder, type StartDeliveryOrderInput, type StartDeliveryOrderResponse, type StartDeliveryResponse, UpdateDelivery, type UpdateDeliveryInput, type UpdateDeliveryResponse, type WritableDelivery, type WritableDeliveryFee, type WritableDeliveryPosition, createDeliveryFeeInputSchema, createDeliveryFeeResponseSchema, createDeliveryInputSchema, createDeliveryPositionInputSchema, createDeliveryPositionResponseSchema, createDeliveryResponseSchema, deleteDeliveryFeeInputSchema, deleteDeliveryFeeResponseSchema, deleteDeliveryInputSchema, deleteDeliveryPositionInputSchema, deleteDeliveryPositionResponseSchema, deleteDeliveryResponseSchema, deliverCurrentOrderInputSchema, deliverCurrentOrderResponseSchema, deliveriesQuerySchema, deliveryDetailsSchema, deliveryFeeDetailsSchema, deliveryFeeSchema, deliveryFeeTypeSchema, deliveryFeeTypes, deliveryFeesQuerySchema, deliveryIriSchema, deliveryNullableIriSchema, deliveryPositionDetailsSchema, deliveryPositionIriSchema, deliveryPositionNullableIriSchema, deliveryPositionSchema, deliveryPositionsQuerySchema, deliverySchema, endDeliveryInputSchema, endDeliveryResponseSchema, getDeliveriesFromUserInputSchema, getDeliveriesFromUserQuerySchema, getDeliveriesFromUserResponseSchema, getDeliveriesInputSchema, getDeliveriesQuerySchema, getDeliveriesResponseSchema, getDeliveryDetailsFromBundleInputSchema, getDeliveryDetailsFromBundleResponseSchema, getDeliveryDetailsInputSchema, getDeliveryDetailsResponseSchema, getDeliveryFeeDetailsInputSchema, getDeliveryFeeDetailsResponseSchema, getDeliveryFeesFromPointOfSaleInputSchema, getDeliveryFeesFromPointOfSaleQuerySchema, getDeliveryFeesFromPointOfSaleResponseSchema, getDeliveryFeesInputSchema, getDeliveryFeesQuerySchema, getDeliveryFeesResponseSchema, getDeliveryPositionDetailsInputSchema, getDeliveryPositionDetailsResponseSchema, getDeliveryPositionsFromDeliveryInputSchema, getDeliveryPositionsFromDeliveryQuerySchema, getDeliveryPositionsFromDeliveryResponseSchema, getDeliveryPositionsInputSchema, getDeliveryPositionsQuerySchema, getDeliveryPositionsResponseSchema, startDeliveryInputSchema, startDeliveryOrderInputSchema, startDeliveryOrderResponseSchema, startDeliveryResponseSchema, updateDeliveryInputSchema, updateDeliveryResponseSchema, writableDeliveryFeeSchema, writableDeliveryPositionSchema, writableDeliverySchema };