@wix/auto_sdk_ecom_delivery-solutions 1.0.14 → 1.0.16
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/build/{internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts → gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.d.mts} +127 -66
- package/build/{cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts → gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.d.ts} +127 -66
- package/build/index.d.mts +18 -0
- package/build/index.d.ts +18 -0
- package/build/index.js +268 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +237 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts → gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.d.mts} +127 -66
- package/build/{es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts → internal/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.d.ts} +127 -66
- package/build/internal/index.d.mts +18 -0
- package/build/internal/index.d.ts +18 -0
- package/build/internal/index.js +268 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +237 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts → internal/meta.d.mts} +55 -75
- package/build/{es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts → internal/meta.d.ts} +55 -75
- package/build/internal/meta.js +127 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +100 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts → meta.d.mts} +55 -75
- package/build/{internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts → meta.d.ts} +55 -75
- package/build/meta.js +127 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +100 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +0 -5
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +0 -14
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +0 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.d.ts +0 -3
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js +0 -79
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js.map +0 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.d.ts +0 -13
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js +0 -47
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js.map +0 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +0 -16
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +0 -19
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +0 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +0 -72
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +0 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +0 -173
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +0 -5
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +0 -5
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +0 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.d.ts +0 -3
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js +0 -75
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js.map +0 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.d.ts +0 -13
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js +0 -20
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js.map +0 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +0 -16
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +0 -9
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +0 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +0 -69
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +0 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +0 -146
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +0 -5
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +0 -14
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +0 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.d.ts +0 -3
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js +0 -79
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js.map +0 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.d.ts +0 -13
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js +0 -47
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js.map +0 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +0 -16
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +0 -19
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +0 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +0 -72
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +0 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +0 -173
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +0 -5
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +0 -5
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +0 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.d.ts +0 -3
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js +0 -75
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js.map +0 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.d.ts +0 -13
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js +0 -20
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.meta.js.map +0 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +0 -16
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +0 -9
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +0 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +0 -69
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +0 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +0 -146
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +0 -1
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @readonly
|
|
5
|
-
*/
|
|
6
|
-
id?: string | null;
|
|
7
|
-
}
|
|
8
|
-
export interface GetDeliverySolutionsRequest {
|
|
1
|
+
import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.mjs';
|
|
2
|
+
|
|
3
|
+
interface GetDeliverySolutionsRequest {
|
|
9
4
|
/**
|
|
10
5
|
* list of items to delivery that each of them points to delivery profile and delivery rule.
|
|
11
6
|
* @minSize 1
|
|
@@ -46,7 +41,7 @@ export interface GetDeliverySolutionsRequest {
|
|
|
46
41
|
*/
|
|
47
42
|
externalReferences?: ExternalReference[];
|
|
48
43
|
}
|
|
49
|
-
|
|
44
|
+
interface DeliverableItem {
|
|
50
45
|
/**
|
|
51
46
|
* The ID of the line item.
|
|
52
47
|
* @minLength 1
|
|
@@ -100,7 +95,7 @@ export interface DeliverableItem {
|
|
|
100
95
|
taxIncludedInPrice?: boolean | null;
|
|
101
96
|
}
|
|
102
97
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
103
|
-
|
|
98
|
+
interface CatalogReference {
|
|
104
99
|
/**
|
|
105
100
|
* ID of the item within the catalog it belongs to.
|
|
106
101
|
* @minLength 1
|
|
@@ -126,7 +121,7 @@ export interface CatalogReference {
|
|
|
126
121
|
*/
|
|
127
122
|
options?: Record<string, any> | null;
|
|
128
123
|
}
|
|
129
|
-
|
|
124
|
+
interface PhysicalProperties {
|
|
130
125
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
131
126
|
weight?: number | null;
|
|
132
127
|
/**
|
|
@@ -138,7 +133,7 @@ export interface PhysicalProperties {
|
|
|
138
133
|
shippable?: boolean;
|
|
139
134
|
}
|
|
140
135
|
/** Physical address */
|
|
141
|
-
|
|
136
|
+
interface Address extends AddressStreetOneOf {
|
|
142
137
|
/** Street name and number. */
|
|
143
138
|
streetAddress?: StreetAddress;
|
|
144
139
|
/** Main address line, usually street and number as free text. */
|
|
@@ -158,49 +153,20 @@ export interface Address extends AddressStreetOneOf {
|
|
|
158
153
|
addressLine2?: string | null;
|
|
159
154
|
}
|
|
160
155
|
/** @oneof */
|
|
161
|
-
|
|
156
|
+
interface AddressStreetOneOf {
|
|
162
157
|
/** Street name and number. */
|
|
163
158
|
streetAddress?: StreetAddress;
|
|
164
159
|
/** Main address line, usually street and number as free text. */
|
|
165
160
|
addressLine?: string | null;
|
|
166
161
|
}
|
|
167
|
-
|
|
162
|
+
interface StreetAddress {
|
|
168
163
|
/** Street number. */
|
|
169
164
|
number?: string;
|
|
170
165
|
/** Street name. */
|
|
171
166
|
name?: string;
|
|
172
167
|
}
|
|
173
|
-
export interface AddressLocation {
|
|
174
|
-
/** Address latitude. */
|
|
175
|
-
latitude?: number | null;
|
|
176
|
-
/** Address longitude. */
|
|
177
|
-
longitude?: number | null;
|
|
178
|
-
}
|
|
179
|
-
export interface Subdivision {
|
|
180
|
-
/** Short subdivision code. */
|
|
181
|
-
code?: string;
|
|
182
|
-
/** Subdivision full name. */
|
|
183
|
-
name?: string;
|
|
184
|
-
}
|
|
185
|
-
export declare enum SubdivisionType {
|
|
186
|
-
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
187
|
-
/** State */
|
|
188
|
-
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
189
|
-
/** County */
|
|
190
|
-
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
191
|
-
/** City/town */
|
|
192
|
-
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
193
|
-
/** Neighborhood/quarter */
|
|
194
|
-
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
195
|
-
/** Street/block */
|
|
196
|
-
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
197
|
-
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
198
|
-
COUNTRY = "COUNTRY"
|
|
199
|
-
}
|
|
200
|
-
/** @enumType */
|
|
201
|
-
export type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
|
|
202
168
|
/** Full contact details for an address */
|
|
203
|
-
|
|
169
|
+
interface FullAddressContactDetails {
|
|
204
170
|
/** Contact's first name. */
|
|
205
171
|
firstName?: string | null;
|
|
206
172
|
/** Contact's last name. */
|
|
@@ -220,7 +186,7 @@ export interface FullAddressContactDetails {
|
|
|
220
186
|
/** Tax info. Currently usable only in Brazil. */
|
|
221
187
|
vatId?: VatId;
|
|
222
188
|
}
|
|
223
|
-
|
|
189
|
+
interface VatId {
|
|
224
190
|
/** Customer's tax ID. */
|
|
225
191
|
id?: string;
|
|
226
192
|
/**
|
|
@@ -233,7 +199,7 @@ export interface VatId {
|
|
|
233
199
|
type?: VatTypeWithLiterals;
|
|
234
200
|
}
|
|
235
201
|
/** tax info types */
|
|
236
|
-
|
|
202
|
+
declare enum VatType {
|
|
237
203
|
UNSPECIFIED = "UNSPECIFIED",
|
|
238
204
|
/** CPF - for individual tax payers. */
|
|
239
205
|
CPF = "CPF",
|
|
@@ -241,8 +207,8 @@ export declare enum VatType {
|
|
|
241
207
|
CNPJ = "CNPJ"
|
|
242
208
|
}
|
|
243
209
|
/** @enumType */
|
|
244
|
-
|
|
245
|
-
|
|
210
|
+
type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ';
|
|
211
|
+
declare enum WeightUnit {
|
|
246
212
|
/** Weight unit can't be classified due to an error. */
|
|
247
213
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
248
214
|
/** Kilograms. */
|
|
@@ -251,8 +217,8 @@ export declare enum WeightUnit {
|
|
|
251
217
|
LB = "LB"
|
|
252
218
|
}
|
|
253
219
|
/** @enumType */
|
|
254
|
-
|
|
255
|
-
|
|
220
|
+
type WeightUnitWithLiterals = WeightUnit | 'UNSPECIFIED_WEIGHT_UNIT' | 'KG' | 'LB';
|
|
221
|
+
interface UserPreference {
|
|
256
222
|
/**
|
|
257
223
|
* The delivery carrier app id
|
|
258
224
|
* @format GUID
|
|
@@ -264,7 +230,7 @@ export interface UserPreference {
|
|
|
264
230
|
*/
|
|
265
231
|
code?: string;
|
|
266
232
|
}
|
|
267
|
-
|
|
233
|
+
interface ExternalReference {
|
|
268
234
|
/**
|
|
269
235
|
* ID of the app associated with the purchase flow.
|
|
270
236
|
* For example, the Wix Pay Links app ID.
|
|
@@ -285,7 +251,7 @@ export interface ExternalReference {
|
|
|
285
251
|
* Each delivery option has a list of items that can be delivered by it - the chosen one
|
|
286
252
|
* on Errors throw a business error from TC to catch and trigger destination completion
|
|
287
253
|
*/
|
|
288
|
-
|
|
254
|
+
interface GetDeliverySolutionsResponse {
|
|
289
255
|
/**
|
|
290
256
|
* Delivery Options with their associated items
|
|
291
257
|
* @maxSize 300
|
|
@@ -297,7 +263,7 @@ export interface GetDeliverySolutionsResponse {
|
|
|
297
263
|
*/
|
|
298
264
|
errors?: DeliveryCarrierError[];
|
|
299
265
|
}
|
|
300
|
-
|
|
266
|
+
interface DeliverySolution {
|
|
301
267
|
/**
|
|
302
268
|
* Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`.
|
|
303
269
|
* @maxLength 250
|
|
@@ -321,7 +287,7 @@ export interface DeliverySolution {
|
|
|
321
287
|
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
322
288
|
partial?: boolean | null;
|
|
323
289
|
}
|
|
324
|
-
|
|
290
|
+
interface DeliveryLogistics {
|
|
325
291
|
/**
|
|
326
292
|
* When the item is expected to be delivered in free text. For example, `"3-5 business days"`.
|
|
327
293
|
* @maxLength 1000
|
|
@@ -337,7 +303,7 @@ export interface DeliveryLogistics {
|
|
|
337
303
|
/** Date and Time of the delivery option */
|
|
338
304
|
deliveryTimeSlot?: DeliveryTimeSlot;
|
|
339
305
|
}
|
|
340
|
-
|
|
306
|
+
interface PickupDetails {
|
|
341
307
|
/** Pickup address. */
|
|
342
308
|
address?: Address;
|
|
343
309
|
/**
|
|
@@ -349,20 +315,20 @@ export interface PickupDetails {
|
|
|
349
315
|
*/
|
|
350
316
|
pickupMethod?: PickupMethodWithLiterals;
|
|
351
317
|
}
|
|
352
|
-
|
|
318
|
+
declare enum PickupMethod {
|
|
353
319
|
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
354
320
|
STORE_PICKUP = "STORE_PICKUP",
|
|
355
321
|
PICKUP_POINT = "PICKUP_POINT"
|
|
356
322
|
}
|
|
357
323
|
/** @enumType */
|
|
358
|
-
|
|
359
|
-
|
|
324
|
+
type PickupMethodWithLiterals = PickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
325
|
+
interface DeliveryTimeSlot {
|
|
360
326
|
/** starting time of the delivery time slot */
|
|
361
327
|
from?: Date | null;
|
|
362
328
|
/** ending time of the delivery time slot */
|
|
363
329
|
to?: Date | null;
|
|
364
330
|
}
|
|
365
|
-
|
|
331
|
+
interface DeliveryCost {
|
|
366
332
|
/**
|
|
367
333
|
* The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).
|
|
368
334
|
* @format DECIMAL_VALUE
|
|
@@ -380,7 +346,7 @@ export interface DeliveryCost {
|
|
|
380
346
|
*/
|
|
381
347
|
additionalCharges?: AdditionalCharge[];
|
|
382
348
|
}
|
|
383
|
-
|
|
349
|
+
interface AdditionalCharge {
|
|
384
350
|
/** Additional charge type. */
|
|
385
351
|
type?: ChargeTypeWithLiterals;
|
|
386
352
|
/**
|
|
@@ -395,12 +361,12 @@ export interface AdditionalCharge {
|
|
|
395
361
|
*/
|
|
396
362
|
price?: string;
|
|
397
363
|
}
|
|
398
|
-
|
|
364
|
+
declare enum ChargeType {
|
|
399
365
|
HANDLING_FEE = "HANDLING_FEE"
|
|
400
366
|
}
|
|
401
367
|
/** @enumType */
|
|
402
|
-
|
|
403
|
-
|
|
368
|
+
type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
|
|
369
|
+
interface DeliveryAllocation {
|
|
404
370
|
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
405
371
|
deliveryCarrier?: Carrier;
|
|
406
372
|
/** The delivery region that are relevant for this delivery solution. */
|
|
@@ -408,7 +374,7 @@ export interface DeliveryAllocation {
|
|
|
408
374
|
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
409
375
|
applicableLineItems?: ApplicableLineItems;
|
|
410
376
|
}
|
|
411
|
-
|
|
377
|
+
interface Carrier {
|
|
412
378
|
/**
|
|
413
379
|
* The carrier app id
|
|
414
380
|
* @format GUID
|
|
@@ -420,7 +386,7 @@ export interface Carrier {
|
|
|
420
386
|
*/
|
|
421
387
|
code?: string;
|
|
422
388
|
}
|
|
423
|
-
|
|
389
|
+
interface Region {
|
|
424
390
|
/**
|
|
425
391
|
* The delivery region id.
|
|
426
392
|
* @format GUID
|
|
@@ -432,7 +398,7 @@ export interface Region {
|
|
|
432
398
|
*/
|
|
433
399
|
name?: string | null;
|
|
434
400
|
}
|
|
435
|
-
|
|
401
|
+
interface ApplicableLineItems {
|
|
436
402
|
/**
|
|
437
403
|
* Line items that the delivery solution is for.
|
|
438
404
|
* @maxSize 300
|
|
@@ -441,7 +407,7 @@ export interface ApplicableLineItems {
|
|
|
441
407
|
*/
|
|
442
408
|
lineItemIds?: string[];
|
|
443
409
|
}
|
|
444
|
-
|
|
410
|
+
interface DeliveryCarrierError {
|
|
445
411
|
/**
|
|
446
412
|
* The carrier app id
|
|
447
413
|
* @format GUID
|
|
@@ -450,7 +416,7 @@ export interface DeliveryCarrierError {
|
|
|
450
416
|
/** The error details */
|
|
451
417
|
errorDetails?: Details;
|
|
452
418
|
}
|
|
453
|
-
|
|
419
|
+
interface Details extends DetailsKindOneOf {
|
|
454
420
|
applicationError?: ApplicationError;
|
|
455
421
|
validationError?: ValidationError;
|
|
456
422
|
systemError?: SystemError;
|
|
@@ -461,12 +427,12 @@ export interface Details extends DetailsKindOneOf {
|
|
|
461
427
|
tracing?: Record<string, string>;
|
|
462
428
|
}
|
|
463
429
|
/** @oneof */
|
|
464
|
-
|
|
430
|
+
interface DetailsKindOneOf {
|
|
465
431
|
applicationError?: ApplicationError;
|
|
466
432
|
validationError?: ValidationError;
|
|
467
433
|
systemError?: SystemError;
|
|
468
434
|
}
|
|
469
|
-
|
|
435
|
+
interface ApplicationError {
|
|
470
436
|
/** Error code. */
|
|
471
437
|
code?: string;
|
|
472
438
|
/** Description of the error. */
|
|
@@ -506,10 +472,10 @@ export interface ApplicationError {
|
|
|
506
472
|
* ]
|
|
507
473
|
* }
|
|
508
474
|
*/
|
|
509
|
-
|
|
475
|
+
interface ValidationError {
|
|
510
476
|
fieldViolations?: FieldViolation[];
|
|
511
477
|
}
|
|
512
|
-
|
|
478
|
+
declare enum RuleType {
|
|
513
479
|
VALIDATION = "VALIDATION",
|
|
514
480
|
OTHER = "OTHER",
|
|
515
481
|
MAX = "MAX",
|
|
@@ -533,8 +499,8 @@ export declare enum RuleType {
|
|
|
533
499
|
REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD"
|
|
534
500
|
}
|
|
535
501
|
/** @enumType */
|
|
536
|
-
|
|
537
|
-
|
|
502
|
+
type RuleTypeWithLiterals = RuleType | 'VALIDATION' | 'OTHER' | 'MAX' | 'MIN' | 'MAX_LENGTH' | 'MIN_LENGTH' | 'MAX_SIZE' | 'MIN_SIZE' | 'FORMAT' | 'DECIMAL_LTE' | 'DECIMAL_GTE' | 'DECIMAL_LT' | 'DECIMAL_GT' | 'DECIMAL_MAX_SCALE' | 'INVALID_ENUM_VALUE' | 'REQUIRED_FIELD' | 'FIELD_NOT_ALLOWED' | 'ONE_OF_ALIGNMENT' | 'EXACT_LENGTH' | 'EXACT_SIZE' | 'REQUIRED_ONE_OF_FIELD';
|
|
503
|
+
interface FieldViolation {
|
|
538
504
|
field?: string;
|
|
539
505
|
description?: string;
|
|
540
506
|
violatedRule?: RuleTypeWithLiterals;
|
|
@@ -542,7 +508,21 @@ export interface FieldViolation {
|
|
|
542
508
|
ruleName?: string | null;
|
|
543
509
|
data?: Record<string, any> | null;
|
|
544
510
|
}
|
|
545
|
-
|
|
511
|
+
interface SystemError {
|
|
546
512
|
/** Error code. */
|
|
547
513
|
errorCode?: string | null;
|
|
548
514
|
}
|
|
515
|
+
|
|
516
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
517
|
+
getUrl: (context: any) => string;
|
|
518
|
+
httpMethod: K;
|
|
519
|
+
path: string;
|
|
520
|
+
pathParams: M;
|
|
521
|
+
__requestType: T;
|
|
522
|
+
__originalRequestType: S;
|
|
523
|
+
__responseType: Q;
|
|
524
|
+
__originalResponseType: R;
|
|
525
|
+
};
|
|
526
|
+
declare function getDeliverySolutions(): __PublicMethodMetaInfo<'POST', {}, GetDeliverySolutionsRequest$1, GetDeliverySolutionsRequest, GetDeliverySolutionsResponse$1, GetDeliverySolutionsResponse>;
|
|
527
|
+
|
|
528
|
+
export { type __PublicMethodMetaInfo, getDeliverySolutions };
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @readonly
|
|
5
|
-
*/
|
|
6
|
-
id?: string | null;
|
|
7
|
-
}
|
|
8
|
-
export interface GetDeliverySolutionsRequest {
|
|
1
|
+
import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.js';
|
|
2
|
+
|
|
3
|
+
interface GetDeliverySolutionsRequest {
|
|
9
4
|
/**
|
|
10
5
|
* list of items to delivery that each of them points to delivery profile and delivery rule.
|
|
11
6
|
* @minSize 1
|
|
@@ -46,7 +41,7 @@ export interface GetDeliverySolutionsRequest {
|
|
|
46
41
|
*/
|
|
47
42
|
externalReferences?: ExternalReference[];
|
|
48
43
|
}
|
|
49
|
-
|
|
44
|
+
interface DeliverableItem {
|
|
50
45
|
/**
|
|
51
46
|
* The ID of the line item.
|
|
52
47
|
* @minLength 1
|
|
@@ -100,7 +95,7 @@ export interface DeliverableItem {
|
|
|
100
95
|
taxIncludedInPrice?: boolean | null;
|
|
101
96
|
}
|
|
102
97
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
103
|
-
|
|
98
|
+
interface CatalogReference {
|
|
104
99
|
/**
|
|
105
100
|
* ID of the item within the catalog it belongs to.
|
|
106
101
|
* @minLength 1
|
|
@@ -126,7 +121,7 @@ export interface CatalogReference {
|
|
|
126
121
|
*/
|
|
127
122
|
options?: Record<string, any> | null;
|
|
128
123
|
}
|
|
129
|
-
|
|
124
|
+
interface PhysicalProperties {
|
|
130
125
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
131
126
|
weight?: number | null;
|
|
132
127
|
/**
|
|
@@ -138,7 +133,7 @@ export interface PhysicalProperties {
|
|
|
138
133
|
shippable?: boolean;
|
|
139
134
|
}
|
|
140
135
|
/** Physical address */
|
|
141
|
-
|
|
136
|
+
interface Address extends AddressStreetOneOf {
|
|
142
137
|
/** Street name and number. */
|
|
143
138
|
streetAddress?: StreetAddress;
|
|
144
139
|
/** Main address line, usually street and number as free text. */
|
|
@@ -158,49 +153,20 @@ export interface Address extends AddressStreetOneOf {
|
|
|
158
153
|
addressLine2?: string | null;
|
|
159
154
|
}
|
|
160
155
|
/** @oneof */
|
|
161
|
-
|
|
156
|
+
interface AddressStreetOneOf {
|
|
162
157
|
/** Street name and number. */
|
|
163
158
|
streetAddress?: StreetAddress;
|
|
164
159
|
/** Main address line, usually street and number as free text. */
|
|
165
160
|
addressLine?: string | null;
|
|
166
161
|
}
|
|
167
|
-
|
|
162
|
+
interface StreetAddress {
|
|
168
163
|
/** Street number. */
|
|
169
164
|
number?: string;
|
|
170
165
|
/** Street name. */
|
|
171
166
|
name?: string;
|
|
172
167
|
}
|
|
173
|
-
export interface AddressLocation {
|
|
174
|
-
/** Address latitude. */
|
|
175
|
-
latitude?: number | null;
|
|
176
|
-
/** Address longitude. */
|
|
177
|
-
longitude?: number | null;
|
|
178
|
-
}
|
|
179
|
-
export interface Subdivision {
|
|
180
|
-
/** Short subdivision code. */
|
|
181
|
-
code?: string;
|
|
182
|
-
/** Subdivision full name. */
|
|
183
|
-
name?: string;
|
|
184
|
-
}
|
|
185
|
-
export declare enum SubdivisionType {
|
|
186
|
-
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
187
|
-
/** State */
|
|
188
|
-
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
189
|
-
/** County */
|
|
190
|
-
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
191
|
-
/** City/town */
|
|
192
|
-
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
193
|
-
/** Neighborhood/quarter */
|
|
194
|
-
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
195
|
-
/** Street/block */
|
|
196
|
-
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
197
|
-
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
198
|
-
COUNTRY = "COUNTRY"
|
|
199
|
-
}
|
|
200
|
-
/** @enumType */
|
|
201
|
-
export type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
|
|
202
168
|
/** Full contact details for an address */
|
|
203
|
-
|
|
169
|
+
interface FullAddressContactDetails {
|
|
204
170
|
/** Contact's first name. */
|
|
205
171
|
firstName?: string | null;
|
|
206
172
|
/** Contact's last name. */
|
|
@@ -220,7 +186,7 @@ export interface FullAddressContactDetails {
|
|
|
220
186
|
/** Tax info. Currently usable only in Brazil. */
|
|
221
187
|
vatId?: VatId;
|
|
222
188
|
}
|
|
223
|
-
|
|
189
|
+
interface VatId {
|
|
224
190
|
/** Customer's tax ID. */
|
|
225
191
|
id?: string;
|
|
226
192
|
/**
|
|
@@ -233,7 +199,7 @@ export interface VatId {
|
|
|
233
199
|
type?: VatTypeWithLiterals;
|
|
234
200
|
}
|
|
235
201
|
/** tax info types */
|
|
236
|
-
|
|
202
|
+
declare enum VatType {
|
|
237
203
|
UNSPECIFIED = "UNSPECIFIED",
|
|
238
204
|
/** CPF - for individual tax payers. */
|
|
239
205
|
CPF = "CPF",
|
|
@@ -241,8 +207,8 @@ export declare enum VatType {
|
|
|
241
207
|
CNPJ = "CNPJ"
|
|
242
208
|
}
|
|
243
209
|
/** @enumType */
|
|
244
|
-
|
|
245
|
-
|
|
210
|
+
type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ';
|
|
211
|
+
declare enum WeightUnit {
|
|
246
212
|
/** Weight unit can't be classified due to an error. */
|
|
247
213
|
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
248
214
|
/** Kilograms. */
|
|
@@ -251,8 +217,8 @@ export declare enum WeightUnit {
|
|
|
251
217
|
LB = "LB"
|
|
252
218
|
}
|
|
253
219
|
/** @enumType */
|
|
254
|
-
|
|
255
|
-
|
|
220
|
+
type WeightUnitWithLiterals = WeightUnit | 'UNSPECIFIED_WEIGHT_UNIT' | 'KG' | 'LB';
|
|
221
|
+
interface UserPreference {
|
|
256
222
|
/**
|
|
257
223
|
* The delivery carrier app id
|
|
258
224
|
* @format GUID
|
|
@@ -264,7 +230,7 @@ export interface UserPreference {
|
|
|
264
230
|
*/
|
|
265
231
|
code?: string;
|
|
266
232
|
}
|
|
267
|
-
|
|
233
|
+
interface ExternalReference {
|
|
268
234
|
/**
|
|
269
235
|
* ID of the app associated with the purchase flow.
|
|
270
236
|
* For example, the Wix Pay Links app ID.
|
|
@@ -285,7 +251,7 @@ export interface ExternalReference {
|
|
|
285
251
|
* Each delivery option has a list of items that can be delivered by it - the chosen one
|
|
286
252
|
* on Errors throw a business error from TC to catch and trigger destination completion
|
|
287
253
|
*/
|
|
288
|
-
|
|
254
|
+
interface GetDeliverySolutionsResponse {
|
|
289
255
|
/**
|
|
290
256
|
* Delivery Options with their associated items
|
|
291
257
|
* @maxSize 300
|
|
@@ -297,7 +263,7 @@ export interface GetDeliverySolutionsResponse {
|
|
|
297
263
|
*/
|
|
298
264
|
errors?: DeliveryCarrierError[];
|
|
299
265
|
}
|
|
300
|
-
|
|
266
|
+
interface DeliverySolution {
|
|
301
267
|
/**
|
|
302
268
|
* Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`.
|
|
303
269
|
* @maxLength 250
|
|
@@ -321,7 +287,7 @@ export interface DeliverySolution {
|
|
|
321
287
|
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
322
288
|
partial?: boolean | null;
|
|
323
289
|
}
|
|
324
|
-
|
|
290
|
+
interface DeliveryLogistics {
|
|
325
291
|
/**
|
|
326
292
|
* When the item is expected to be delivered in free text. For example, `"3-5 business days"`.
|
|
327
293
|
* @maxLength 1000
|
|
@@ -337,7 +303,7 @@ export interface DeliveryLogistics {
|
|
|
337
303
|
/** Date and Time of the delivery option */
|
|
338
304
|
deliveryTimeSlot?: DeliveryTimeSlot;
|
|
339
305
|
}
|
|
340
|
-
|
|
306
|
+
interface PickupDetails {
|
|
341
307
|
/** Pickup address. */
|
|
342
308
|
address?: Address;
|
|
343
309
|
/**
|
|
@@ -349,20 +315,20 @@ export interface PickupDetails {
|
|
|
349
315
|
*/
|
|
350
316
|
pickupMethod?: PickupMethodWithLiterals;
|
|
351
317
|
}
|
|
352
|
-
|
|
318
|
+
declare enum PickupMethod {
|
|
353
319
|
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
354
320
|
STORE_PICKUP = "STORE_PICKUP",
|
|
355
321
|
PICKUP_POINT = "PICKUP_POINT"
|
|
356
322
|
}
|
|
357
323
|
/** @enumType */
|
|
358
|
-
|
|
359
|
-
|
|
324
|
+
type PickupMethodWithLiterals = PickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
325
|
+
interface DeliveryTimeSlot {
|
|
360
326
|
/** starting time of the delivery time slot */
|
|
361
327
|
from?: Date | null;
|
|
362
328
|
/** ending time of the delivery time slot */
|
|
363
329
|
to?: Date | null;
|
|
364
330
|
}
|
|
365
|
-
|
|
331
|
+
interface DeliveryCost {
|
|
366
332
|
/**
|
|
367
333
|
* The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).
|
|
368
334
|
* @format DECIMAL_VALUE
|
|
@@ -380,7 +346,7 @@ export interface DeliveryCost {
|
|
|
380
346
|
*/
|
|
381
347
|
additionalCharges?: AdditionalCharge[];
|
|
382
348
|
}
|
|
383
|
-
|
|
349
|
+
interface AdditionalCharge {
|
|
384
350
|
/** Additional charge type. */
|
|
385
351
|
type?: ChargeTypeWithLiterals;
|
|
386
352
|
/**
|
|
@@ -395,12 +361,12 @@ export interface AdditionalCharge {
|
|
|
395
361
|
*/
|
|
396
362
|
price?: string;
|
|
397
363
|
}
|
|
398
|
-
|
|
364
|
+
declare enum ChargeType {
|
|
399
365
|
HANDLING_FEE = "HANDLING_FEE"
|
|
400
366
|
}
|
|
401
367
|
/** @enumType */
|
|
402
|
-
|
|
403
|
-
|
|
368
|
+
type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
|
|
369
|
+
interface DeliveryAllocation {
|
|
404
370
|
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
405
371
|
deliveryCarrier?: Carrier;
|
|
406
372
|
/** The delivery region that are relevant for this delivery solution. */
|
|
@@ -408,7 +374,7 @@ export interface DeliveryAllocation {
|
|
|
408
374
|
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
409
375
|
applicableLineItems?: ApplicableLineItems;
|
|
410
376
|
}
|
|
411
|
-
|
|
377
|
+
interface Carrier {
|
|
412
378
|
/**
|
|
413
379
|
* The carrier app id
|
|
414
380
|
* @format GUID
|
|
@@ -420,7 +386,7 @@ export interface Carrier {
|
|
|
420
386
|
*/
|
|
421
387
|
code?: string;
|
|
422
388
|
}
|
|
423
|
-
|
|
389
|
+
interface Region {
|
|
424
390
|
/**
|
|
425
391
|
* The delivery region id.
|
|
426
392
|
* @format GUID
|
|
@@ -432,7 +398,7 @@ export interface Region {
|
|
|
432
398
|
*/
|
|
433
399
|
name?: string | null;
|
|
434
400
|
}
|
|
435
|
-
|
|
401
|
+
interface ApplicableLineItems {
|
|
436
402
|
/**
|
|
437
403
|
* Line items that the delivery solution is for.
|
|
438
404
|
* @maxSize 300
|
|
@@ -441,7 +407,7 @@ export interface ApplicableLineItems {
|
|
|
441
407
|
*/
|
|
442
408
|
lineItemIds?: string[];
|
|
443
409
|
}
|
|
444
|
-
|
|
410
|
+
interface DeliveryCarrierError {
|
|
445
411
|
/**
|
|
446
412
|
* The carrier app id
|
|
447
413
|
* @format GUID
|
|
@@ -450,7 +416,7 @@ export interface DeliveryCarrierError {
|
|
|
450
416
|
/** The error details */
|
|
451
417
|
errorDetails?: Details;
|
|
452
418
|
}
|
|
453
|
-
|
|
419
|
+
interface Details extends DetailsKindOneOf {
|
|
454
420
|
applicationError?: ApplicationError;
|
|
455
421
|
validationError?: ValidationError;
|
|
456
422
|
systemError?: SystemError;
|
|
@@ -461,12 +427,12 @@ export interface Details extends DetailsKindOneOf {
|
|
|
461
427
|
tracing?: Record<string, string>;
|
|
462
428
|
}
|
|
463
429
|
/** @oneof */
|
|
464
|
-
|
|
430
|
+
interface DetailsKindOneOf {
|
|
465
431
|
applicationError?: ApplicationError;
|
|
466
432
|
validationError?: ValidationError;
|
|
467
433
|
systemError?: SystemError;
|
|
468
434
|
}
|
|
469
|
-
|
|
435
|
+
interface ApplicationError {
|
|
470
436
|
/** Error code. */
|
|
471
437
|
code?: string;
|
|
472
438
|
/** Description of the error. */
|
|
@@ -506,10 +472,10 @@ export interface ApplicationError {
|
|
|
506
472
|
* ]
|
|
507
473
|
* }
|
|
508
474
|
*/
|
|
509
|
-
|
|
475
|
+
interface ValidationError {
|
|
510
476
|
fieldViolations?: FieldViolation[];
|
|
511
477
|
}
|
|
512
|
-
|
|
478
|
+
declare enum RuleType {
|
|
513
479
|
VALIDATION = "VALIDATION",
|
|
514
480
|
OTHER = "OTHER",
|
|
515
481
|
MAX = "MAX",
|
|
@@ -533,8 +499,8 @@ export declare enum RuleType {
|
|
|
533
499
|
REQUIRED_ONE_OF_FIELD = "REQUIRED_ONE_OF_FIELD"
|
|
534
500
|
}
|
|
535
501
|
/** @enumType */
|
|
536
|
-
|
|
537
|
-
|
|
502
|
+
type RuleTypeWithLiterals = RuleType | 'VALIDATION' | 'OTHER' | 'MAX' | 'MIN' | 'MAX_LENGTH' | 'MIN_LENGTH' | 'MAX_SIZE' | 'MIN_SIZE' | 'FORMAT' | 'DECIMAL_LTE' | 'DECIMAL_GTE' | 'DECIMAL_LT' | 'DECIMAL_GT' | 'DECIMAL_MAX_SCALE' | 'INVALID_ENUM_VALUE' | 'REQUIRED_FIELD' | 'FIELD_NOT_ALLOWED' | 'ONE_OF_ALIGNMENT' | 'EXACT_LENGTH' | 'EXACT_SIZE' | 'REQUIRED_ONE_OF_FIELD';
|
|
503
|
+
interface FieldViolation {
|
|
538
504
|
field?: string;
|
|
539
505
|
description?: string;
|
|
540
506
|
violatedRule?: RuleTypeWithLiterals;
|
|
@@ -542,7 +508,21 @@ export interface FieldViolation {
|
|
|
542
508
|
ruleName?: string | null;
|
|
543
509
|
data?: Record<string, any> | null;
|
|
544
510
|
}
|
|
545
|
-
|
|
511
|
+
interface SystemError {
|
|
546
512
|
/** Error code. */
|
|
547
513
|
errorCode?: string | null;
|
|
548
514
|
}
|
|
515
|
+
|
|
516
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
517
|
+
getUrl: (context: any) => string;
|
|
518
|
+
httpMethod: K;
|
|
519
|
+
path: string;
|
|
520
|
+
pathParams: M;
|
|
521
|
+
__requestType: T;
|
|
522
|
+
__originalRequestType: S;
|
|
523
|
+
__responseType: Q;
|
|
524
|
+
__originalResponseType: R;
|
|
525
|
+
};
|
|
526
|
+
declare function getDeliverySolutions(): __PublicMethodMetaInfo<'POST', {}, GetDeliverySolutionsRequest$1, GetDeliverySolutionsRequest, GetDeliverySolutionsResponse$1, GetDeliverySolutionsResponse>;
|
|
527
|
+
|
|
528
|
+
export { type __PublicMethodMetaInfo, getDeliverySolutions };
|