@vindentech/api-client 0.3.0-next.56 → 0.3.0-next.57
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.
|
@@ -665,8 +665,10 @@ export type OrderItemInputMetadata = {
|
|
|
665
665
|
export interface OrderItemInput {
|
|
666
666
|
/** Present = adjust this existing live line; absent = add a new line. */
|
|
667
667
|
salesOrderProductId?: string;
|
|
668
|
-
/**
|
|
669
|
-
|
|
668
|
+
/** An existing product this line stands for — a CONCRETE line materialised against that product, the same distinction `CartItemInputDto.productId` draws before placement. Must belong to the order's organization. Add-only: a placed line's product is immutable, so it cannot be combined with `salesOrderProductId`. Omit it to mint a placeholder product from `productReference` instead. */
|
|
669
|
+
productId?: string;
|
|
670
|
+
/** Product reference. On an add without `productId` it becomes the placeholder product's name (matching placement), and is required; alongside `productId` it is ignored — the product carries its own name. */
|
|
671
|
+
productReference?: string;
|
|
670
672
|
/**
|
|
671
673
|
* Requested (demand) quantity.
|
|
672
674
|
* @minimum 1
|
|
@@ -2406,6 +2408,10 @@ export interface CartLocationDto {
|
|
|
2406
2408
|
isBackyardHouse: boolean | null;
|
|
2407
2409
|
/** @nullable */
|
|
2408
2410
|
extraStorageM2: number | null;
|
|
2411
|
+
/** @nullable */
|
|
2412
|
+
latitude: string | null;
|
|
2413
|
+
/** @nullable */
|
|
2414
|
+
longitude: string | null;
|
|
2409
2415
|
}
|
|
2410
2416
|
/**
|
|
2411
2417
|
* @nullable
|
|
@@ -2438,6 +2444,10 @@ export interface CartDeliveryLocationDto {
|
|
|
2438
2444
|
/** @nullable */
|
|
2439
2445
|
extraStorageM2: number | null;
|
|
2440
2446
|
/** @nullable */
|
|
2447
|
+
latitude: string | null;
|
|
2448
|
+
/** @nullable */
|
|
2449
|
+
longitude: string | null;
|
|
2450
|
+
/** @nullable */
|
|
2441
2451
|
servicePointId: string | null;
|
|
2442
2452
|
/** @nullable */
|
|
2443
2453
|
servicePointProvider: CartDeliveryLocationDtoServicePointProvider;
|
|
@@ -2868,6 +2878,20 @@ export interface CartLocationInputDto {
|
|
|
2868
2878
|
isBackyardHouse?: CartLocationInputDtoIsBackyardHouse;
|
|
2869
2879
|
/** @nullable */
|
|
2870
2880
|
extraStorageM2?: CartLocationInputDtoExtraStorageM2;
|
|
2881
|
+
/**
|
|
2882
|
+
* WGS84 latitude of the address. Not derived from the address text — send it alongside, paired with longitude. Copied onto this side's transport legs at placement.
|
|
2883
|
+
* @minimum -90
|
|
2884
|
+
* @maximum 90
|
|
2885
|
+
* @nullable
|
|
2886
|
+
*/
|
|
2887
|
+
latitude?: number | null;
|
|
2888
|
+
/**
|
|
2889
|
+
* WGS84 longitude of the address. Same derivation caveat as latitude; required alongside it — exactly one of the pair is 422 invalid_coordinates.
|
|
2890
|
+
* @minimum -180
|
|
2891
|
+
* @maximum 180
|
|
2892
|
+
* @nullable
|
|
2893
|
+
*/
|
|
2894
|
+
longitude?: number | null;
|
|
2871
2895
|
}
|
|
2872
2896
|
/**
|
|
2873
2897
|
* @nullable
|
|
@@ -2981,6 +3005,20 @@ export interface CartDeliveryLocationInputDto {
|
|
|
2981
3005
|
isBackyardHouse?: CartDeliveryLocationInputDtoIsBackyardHouse;
|
|
2982
3006
|
/** @nullable */
|
|
2983
3007
|
extraStorageM2?: CartDeliveryLocationInputDtoExtraStorageM2;
|
|
3008
|
+
/**
|
|
3009
|
+
* WGS84 latitude of the address. Not derived from the address text — send it alongside, paired with longitude. Copied onto this side's transport legs at placement.
|
|
3010
|
+
* @minimum -90
|
|
3011
|
+
* @maximum 90
|
|
3012
|
+
* @nullable
|
|
3013
|
+
*/
|
|
3014
|
+
latitude?: number | null;
|
|
3015
|
+
/**
|
|
3016
|
+
* WGS84 longitude of the address. Same derivation caveat as latitude; required alongside it — exactly one of the pair is 422 invalid_coordinates.
|
|
3017
|
+
* @minimum -180
|
|
3018
|
+
* @maximum 180
|
|
3019
|
+
* @nullable
|
|
3020
|
+
*/
|
|
3021
|
+
longitude?: number | null;
|
|
2984
3022
|
/**
|
|
2985
3023
|
* Opaque provider-specific id; requires servicePointProvider alongside it.
|
|
2986
3024
|
* @nullable
|