lago-javascript-client 1.47.1 → 1.49.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.
@@ -148,7 +148,7 @@ export class HttpClient {
148
148
  }
149
149
  /**
150
150
  * @title Lago API documentation
151
- * @version 1.45.2
151
+ * @version 1.49.0
152
152
  * @license AGPLv3 (https://github.com/getlago/lago-openapi/blob/main/LICENSE)
153
153
  * @baseUrl https://api.getlago.com/api/v1
154
154
  * @externalDocs https://github.com/getlago
@@ -2970,7 +2970,7 @@ export class Api extends HttpClient {
2970
2970
  ...params,
2971
2971
  }),
2972
2972
  /**
2973
- * @description This endpoint retrieves all effective fixed charges for a specific subscription. If the subscription has plan overrides with fixed charge overrides, the overridden fixed charges are returned.
2973
+ * @description This endpoint retrieves all effective fixed charges for a specific subscription. The `units` of each fixed charge reflect any per-subscription unit override applied to the subscription; when no override exists, the plan-level units are returned.
2974
2974
  *
2975
2975
  * @tags subscriptions
2976
2976
  * @name FindAllSubscriptionFixedCharges
@@ -3129,7 +3129,7 @@ export class Api extends HttpClient {
3129
3129
  ...params,
3130
3130
  }),
3131
3131
  /**
3132
- * @description This endpoint retrieves a specific effective fixed charge for a subscription. If the subscription has a plan override with a fixed charge override, the overridden fixed charge is returned.
3132
+ * @description This endpoint retrieves a specific effective fixed charge for a subscription. The `units` reflect any per-subscription unit override applied to the subscription; when no override exists, the plan-level units are returned.
3133
3133
  *
3134
3134
  * @tags subscriptions
3135
3135
  * @name FindSubscriptionFixedCharge
@@ -3146,7 +3146,7 @@ export class Api extends HttpClient {
3146
3146
  ...params,
3147
3147
  }),
3148
3148
  /**
3149
- * @description This endpoint creates or updates a fixed charge override for a specific subscription. If the subscription does not have a plan override yet, one will be created automatically. The fixed charge override allows customizing specific fixed charge properties (invoice_display_name, units, properties, taxes) without affecting the original plan fixed charge. This is a premium feature.
3149
+ * @description This endpoint creates or updates a fixed charge override for a subscription, without affecting the original plan fixed charge. When the body contains only `units` (and optionally `apply_units_immediately`), the change is recorded as a per-subscription unit override. When the body also sets `invoice_display_name`, `properties`, or `tax_codes`, it is applied as a full plan override for the subscription instead. With `apply_units_immediately: true` on a pay-in-advance fixed charge the change is billed mid-period; otherwise it takes effect at the next billing period. This is a premium feature.
3150
3150
  *
3151
3151
  * @tags subscriptions
3152
3152
  * @name OverrideSubscriptionFixedCharge