@commercelayer/sdk 6.0.0-rc.2 → 6.0.0-rc.3

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
@@ -6506,6 +6506,11 @@ interface OrderSubscription extends Resource {
6506
6506
  * @example ```"true"```
6507
6507
  */
6508
6508
  place_target_order?: boolean | null;
6509
+ /**
6510
+ * Indicates the number of hours the renewal alert will be triggered before the subscription next run..
6511
+ * @example ```"1"```
6512
+ */
6513
+ renewal_alert_period?: number | null;
6509
6514
  /**
6510
6515
  * The email address of the customer, if any, associated to the source order..
6511
6516
  * @example ```"john@example.com"```
@@ -6574,6 +6579,11 @@ interface OrderSubscriptionCreate extends ResourceCreate {
6574
6579
  * @example ```"true"```
6575
6580
  */
6576
6581
  place_target_order?: boolean | null;
6582
+ /**
6583
+ * Indicates the number of hours the renewal alert will be triggered before the subscription next run..
6584
+ * @example ```"1"```
6585
+ */
6586
+ renewal_alert_period?: number | null;
6577
6587
  /**
6578
6588
  * The activation date/time of this subscription..
6579
6589
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -6603,6 +6613,11 @@ interface OrderSubscriptionUpdate extends ResourceUpdate {
6603
6613
  * @example ```"true"```
6604
6614
  */
6605
6615
  place_target_order?: boolean | null;
6616
+ /**
6617
+ * Indicates the number of hours the renewal alert will be triggered before the subscription next run..
6618
+ * @example ```"1"```
6619
+ */
6620
+ renewal_alert_period?: number | null;
6606
6621
  /**
6607
6622
  * The expiration date/time of this subscription (must be after starts_at)..
6608
6623
  * @example ```"2018-01-02T12:00:00.000Z"```
@@ -14789,7 +14804,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
14789
14804
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
14790
14805
  declare class CommerceLayerClient {
14791
14806
  #private;
14792
- readonly openApiSchemaVersion = "5.2.1";
14807
+ readonly openApiSchemaVersion = "5.2.2";
14793
14808
  constructor(config: CommerceLayerInitConfig);
14794
14809
  get addresses(): Addresses;
14795
14810
  get adjustments(): Adjustments;
package/lib/index.d.ts CHANGED
@@ -6506,6 +6506,11 @@ interface OrderSubscription extends Resource {
6506
6506
  * @example ```"true"```
6507
6507
  */
6508
6508
  place_target_order?: boolean | null;
6509
+ /**
6510
+ * Indicates the number of hours the renewal alert will be triggered before the subscription next run..
6511
+ * @example ```"1"```
6512
+ */
6513
+ renewal_alert_period?: number | null;
6509
6514
  /**
6510
6515
  * The email address of the customer, if any, associated to the source order..
6511
6516
  * @example ```"john@example.com"```
@@ -6574,6 +6579,11 @@ interface OrderSubscriptionCreate extends ResourceCreate {
6574
6579
  * @example ```"true"```
6575
6580
  */
6576
6581
  place_target_order?: boolean | null;
6582
+ /**
6583
+ * Indicates the number of hours the renewal alert will be triggered before the subscription next run..
6584
+ * @example ```"1"```
6585
+ */
6586
+ renewal_alert_period?: number | null;
6577
6587
  /**
6578
6588
  * The activation date/time of this subscription..
6579
6589
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -6603,6 +6613,11 @@ interface OrderSubscriptionUpdate extends ResourceUpdate {
6603
6613
  * @example ```"true"```
6604
6614
  */
6605
6615
  place_target_order?: boolean | null;
6616
+ /**
6617
+ * Indicates the number of hours the renewal alert will be triggered before the subscription next run..
6618
+ * @example ```"1"```
6619
+ */
6620
+ renewal_alert_period?: number | null;
6606
6621
  /**
6607
6622
  * The expiration date/time of this subscription (must be after starts_at)..
6608
6623
  * @example ```"2018-01-02T12:00:00.000Z"```
@@ -14789,7 +14804,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
14789
14804
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
14790
14805
  declare class CommerceLayerClient {
14791
14806
  #private;
14792
- readonly openApiSchemaVersion = "5.2.1";
14807
+ readonly openApiSchemaVersion = "5.2.2";
14793
14808
  constructor(config: CommerceLayerInitConfig);
14794
14809
  get addresses(): Addresses;
14795
14810
  get adjustments(): Adjustments;