@vindentech/api-client 0.3.0-next.65 → 0.3.0-next.66
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.
|
@@ -11637,6 +11637,26 @@ export interface TenantGoodsDto {
|
|
|
11637
11637
|
isActive: boolean;
|
|
11638
11638
|
/** @nullable */
|
|
11639
11639
|
metadata?: TenantGoodsDtoMetadata;
|
|
11640
|
+
/**
|
|
11641
|
+
* Weight of one unit in grams, as stocked. A merchandise delivery is booked with the carrier as freight, which needs weight and volume per parcel, so a SKU missing this or any dimension cannot be booked. null = not recorded.
|
|
11642
|
+
* @nullable
|
|
11643
|
+
*/
|
|
11644
|
+
unitWeightG?: number | null;
|
|
11645
|
+
/**
|
|
11646
|
+
* Width of one unit in millimetres, as stocked. null = not recorded.
|
|
11647
|
+
* @nullable
|
|
11648
|
+
*/
|
|
11649
|
+
unitWidthMm?: number | null;
|
|
11650
|
+
/**
|
|
11651
|
+
* Height of one unit in millimetres, as stocked. null = not recorded.
|
|
11652
|
+
* @nullable
|
|
11653
|
+
*/
|
|
11654
|
+
unitHeightMm?: number | null;
|
|
11655
|
+
/**
|
|
11656
|
+
* Depth of one unit in millimetres, as stocked. null = not recorded.
|
|
11657
|
+
* @nullable
|
|
11658
|
+
*/
|
|
11659
|
+
unitDepthMm?: number | null;
|
|
11640
11660
|
createdAt: string;
|
|
11641
11661
|
updatedAt: string;
|
|
11642
11662
|
}
|
|
@@ -11667,6 +11687,26 @@ export interface CreateTenantGoodsDto {
|
|
|
11667
11687
|
isActive?: boolean;
|
|
11668
11688
|
/** Operational hints only. */
|
|
11669
11689
|
metadata?: CreateTenantGoodsDtoMetadata;
|
|
11690
|
+
/**
|
|
11691
|
+
* Weight of one unit in grams, as stocked. Optional: a good never carried as freight needs none, but a merchandise delivery cannot be booked with the carrier until its SKU has a weight and all three dimensions.
|
|
11692
|
+
* @minimum 1
|
|
11693
|
+
*/
|
|
11694
|
+
unitWeightG?: number;
|
|
11695
|
+
/**
|
|
11696
|
+
* Width of one unit in millimetres, as stocked.
|
|
11697
|
+
* @minimum 1
|
|
11698
|
+
*/
|
|
11699
|
+
unitWidthMm?: number;
|
|
11700
|
+
/**
|
|
11701
|
+
* Height of one unit in millimetres, as stocked.
|
|
11702
|
+
* @minimum 1
|
|
11703
|
+
*/
|
|
11704
|
+
unitHeightMm?: number;
|
|
11705
|
+
/**
|
|
11706
|
+
* Depth of one unit in millimetres, as stocked.
|
|
11707
|
+
* @minimum 1
|
|
11708
|
+
*/
|
|
11709
|
+
unitDepthMm?: number;
|
|
11670
11710
|
}
|
|
11671
11711
|
export type UpdateTenantGoodsDtoMetadata = {
|
|
11672
11712
|
[key: string]: unknown;
|
|
@@ -11685,6 +11725,30 @@ export interface UpdateTenantGoodsDto {
|
|
|
11685
11725
|
/** Offered at checkout. Setting false hides the SKU and leaves its pricing rule active on purpose, so an order already placed still bills on delivery. */
|
|
11686
11726
|
isActive?: boolean;
|
|
11687
11727
|
metadata?: UpdateTenantGoodsDtoMetadata;
|
|
11728
|
+
/**
|
|
11729
|
+
* Weight of one unit in grams, as stocked. null clears the recorded value; omitted leaves it alone.
|
|
11730
|
+
* @minimum 1
|
|
11731
|
+
* @nullable
|
|
11732
|
+
*/
|
|
11733
|
+
unitWeightG?: number | null;
|
|
11734
|
+
/**
|
|
11735
|
+
* Width of one unit in millimetres, as stocked. null clears it.
|
|
11736
|
+
* @minimum 1
|
|
11737
|
+
* @nullable
|
|
11738
|
+
*/
|
|
11739
|
+
unitWidthMm?: number | null;
|
|
11740
|
+
/**
|
|
11741
|
+
* Height of one unit in millimetres, as stocked. null clears it.
|
|
11742
|
+
* @minimum 1
|
|
11743
|
+
* @nullable
|
|
11744
|
+
*/
|
|
11745
|
+
unitHeightMm?: number | null;
|
|
11746
|
+
/**
|
|
11747
|
+
* Depth of one unit in millimetres, as stocked. null clears it.
|
|
11748
|
+
* @minimum 1
|
|
11749
|
+
* @nullable
|
|
11750
|
+
*/
|
|
11751
|
+
unitDepthMm?: number | null;
|
|
11688
11752
|
/** Recorded on the pricing rule when the price changes. */
|
|
11689
11753
|
changeReason?: string;
|
|
11690
11754
|
}
|