@commercelayer/sdk 6.32.0 → 6.33.0

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/lib/index.d.mts CHANGED
@@ -3633,6 +3633,16 @@ interface StockLineItem extends Resource {
3633
3633
  * @example ```4```
3634
3634
  */
3635
3635
  quantity: number;
3636
+ /**
3637
+ * The internal name of the associated line item.
3638
+ * @example ```"Men's Black T-shirt with White Logo (XL)"```
3639
+ */
3640
+ name?: string | null;
3641
+ /**
3642
+ * The image_url of the associated line item.
3643
+ * @example ```"https://img.yourdomain.com/skus/xYZkjABcde.png"```
3644
+ */
3645
+ image_url?: string | null;
3636
3646
  shipment?: Shipment | null;
3637
3647
  line_item?: LineItem | null;
3638
3648
  stock_item?: StockItem | null;
@@ -10254,7 +10264,7 @@ interface OrderUpdate extends ResourceUpdate {
10254
10264
  */
10255
10265
  _refund?: boolean | null;
10256
10266
  /**
10257
- * Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered). Cannot be passed by sales channels.
10267
+ * Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.
10258
10268
  * @example ```true```
10259
10269
  */
10260
10270
  _fulfill?: boolean | null;
@@ -10679,7 +10689,7 @@ interface ParcelLineItem extends Resource {
10679
10689
  * The internal name of the associated line item.
10680
10690
  * @example ```"Men's Black T-shirt with White Logo (XL)"```
10681
10691
  */
10682
- name: string;
10692
+ name?: string | null;
10683
10693
  /**
10684
10694
  * The image_url of the associated line item.
10685
10695
  * @example ```"https://img.yourdomain.com/skus/xYZkjABcde.png"```
@@ -16741,7 +16751,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
16741
16751
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
16742
16752
  declare class CommerceLayerClient {
16743
16753
  #private;
16744
- readonly openApiSchemaVersion = "7.7.2";
16754
+ readonly openApiSchemaVersion = "7.7.3";
16745
16755
  constructor(config: CommerceLayerInitConfig);
16746
16756
  get addresses(): Addresses;
16747
16757
  get adjustments(): Adjustments;
package/lib/index.d.ts CHANGED
@@ -3633,6 +3633,16 @@ interface StockLineItem extends Resource {
3633
3633
  * @example ```4```
3634
3634
  */
3635
3635
  quantity: number;
3636
+ /**
3637
+ * The internal name of the associated line item.
3638
+ * @example ```"Men's Black T-shirt with White Logo (XL)"```
3639
+ */
3640
+ name?: string | null;
3641
+ /**
3642
+ * The image_url of the associated line item.
3643
+ * @example ```"https://img.yourdomain.com/skus/xYZkjABcde.png"```
3644
+ */
3645
+ image_url?: string | null;
3636
3646
  shipment?: Shipment | null;
3637
3647
  line_item?: LineItem | null;
3638
3648
  stock_item?: StockItem | null;
@@ -10254,7 +10264,7 @@ interface OrderUpdate extends ResourceUpdate {
10254
10264
  */
10255
10265
  _refund?: boolean | null;
10256
10266
  /**
10257
- * Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered). Cannot be passed by sales channels.
10267
+ * Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.
10258
10268
  * @example ```true```
10259
10269
  */
10260
10270
  _fulfill?: boolean | null;
@@ -10679,7 +10689,7 @@ interface ParcelLineItem extends Resource {
10679
10689
  * The internal name of the associated line item.
10680
10690
  * @example ```"Men's Black T-shirt with White Logo (XL)"```
10681
10691
  */
10682
- name: string;
10692
+ name?: string | null;
10683
10693
  /**
10684
10694
  * The image_url of the associated line item.
10685
10695
  * @example ```"https://img.yourdomain.com/skus/xYZkjABcde.png"```
@@ -16741,7 +16751,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
16741
16751
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
16742
16752
  declare class CommerceLayerClient {
16743
16753
  #private;
16744
- readonly openApiSchemaVersion = "7.7.2";
16754
+ readonly openApiSchemaVersion = "7.7.3";
16745
16755
  constructor(config: CommerceLayerInitConfig);
16746
16756
  get addresses(): Addresses;
16747
16757
  get adjustments(): Adjustments;