@commercelayer/sdk 6.31.0 → 6.32.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
@@ -15978,6 +15978,11 @@ interface Organization extends Resource {
15978
15978
  * @example ```true```
15979
15979
  */
15980
15980
  orders_number_as_reference?: boolean | null;
15981
+ /**
15982
+ * Enables raising of API errors in case the provided coupon code is invalid, default is true.
15983
+ * @example ```true```
15984
+ */
15985
+ orders_invalid_coupon_errors?: boolean | null;
15981
15986
  /**
15982
15987
  * The maximum number of SKUs allowed for bundles, default is 10.
15983
15988
  * @example ```10```
@@ -16736,7 +16741,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
16736
16741
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
16737
16742
  declare class CommerceLayerClient {
16738
16743
  #private;
16739
- readonly openApiSchemaVersion = "7.7.1";
16744
+ readonly openApiSchemaVersion = "7.7.2";
16740
16745
  constructor(config: CommerceLayerInitConfig);
16741
16746
  get addresses(): Addresses;
16742
16747
  get adjustments(): Adjustments;
package/lib/index.d.ts CHANGED
@@ -15978,6 +15978,11 @@ interface Organization extends Resource {
15978
15978
  * @example ```true```
15979
15979
  */
15980
15980
  orders_number_as_reference?: boolean | null;
15981
+ /**
15982
+ * Enables raising of API errors in case the provided coupon code is invalid, default is true.
15983
+ * @example ```true```
15984
+ */
15985
+ orders_invalid_coupon_errors?: boolean | null;
15981
15986
  /**
15982
15987
  * The maximum number of SKUs allowed for bundles, default is 10.
15983
15988
  * @example ```10```
@@ -16736,7 +16741,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
16736
16741
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
16737
16742
  declare class CommerceLayerClient {
16738
16743
  #private;
16739
- readonly openApiSchemaVersion = "7.7.1";
16744
+ readonly openApiSchemaVersion = "7.7.2";
16740
16745
  constructor(config: CommerceLayerInitConfig);
16741
16746
  get addresses(): Addresses;
16742
16747
  get adjustments(): Adjustments;