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.
- package/esm/openapi/client.d.ts +377 -64
- package/esm/openapi/client.js +4 -4
- package/esm/openapi/webhooks.d.ts +549 -64
- package/package.json +1 -1
- package/script/openapi/client.d.ts +377 -64
- package/script/openapi/client.js +4 -4
- package/script/openapi/webhooks.d.ts +549 -64
package/script/openapi/client.js
CHANGED
|
@@ -152,7 +152,7 @@ class HttpClient {
|
|
|
152
152
|
exports.HttpClient = HttpClient;
|
|
153
153
|
/**
|
|
154
154
|
* @title Lago API documentation
|
|
155
|
-
* @version 1.
|
|
155
|
+
* @version 1.49.0
|
|
156
156
|
* @license AGPLv3 (https://github.com/getlago/lago-openapi/blob/main/LICENSE)
|
|
157
157
|
* @baseUrl https://api.getlago.com/api/v1
|
|
158
158
|
* @externalDocs https://github.com/getlago
|
|
@@ -2974,7 +2974,7 @@ class Api extends HttpClient {
|
|
|
2974
2974
|
...params,
|
|
2975
2975
|
}),
|
|
2976
2976
|
/**
|
|
2977
|
-
* @description This endpoint retrieves all effective fixed charges for a specific subscription.
|
|
2977
|
+
* @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.
|
|
2978
2978
|
*
|
|
2979
2979
|
* @tags subscriptions
|
|
2980
2980
|
* @name FindAllSubscriptionFixedCharges
|
|
@@ -3133,7 +3133,7 @@ class Api extends HttpClient {
|
|
|
3133
3133
|
...params,
|
|
3134
3134
|
}),
|
|
3135
3135
|
/**
|
|
3136
|
-
* @description This endpoint retrieves a specific effective fixed charge for a subscription.
|
|
3136
|
+
* @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.
|
|
3137
3137
|
*
|
|
3138
3138
|
* @tags subscriptions
|
|
3139
3139
|
* @name FindSubscriptionFixedCharge
|
|
@@ -3150,7 +3150,7 @@ class Api extends HttpClient {
|
|
|
3150
3150
|
...params,
|
|
3151
3151
|
}),
|
|
3152
3152
|
/**
|
|
3153
|
-
* @description This endpoint creates or updates a fixed charge override for a
|
|
3153
|
+
* @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.
|
|
3154
3154
|
*
|
|
3155
3155
|
* @tags subscriptions
|
|
3156
3156
|
* @name OverrideSubscriptionFixedCharge
|