lago-javascript-client 1.33.1 → 1.33.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/esm/openapi/client.d.ts +193 -117
- package/esm/openapi/client.js +5 -4
- package/package.json +1 -1
- package/script/openapi/client.d.ts +193 -117
- package/script/openapi/client.js +5 -4
package/esm/openapi/client.js
CHANGED
|
@@ -148,7 +148,7 @@ export class HttpClient {
|
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* @title Lago API documentation
|
|
151
|
-
* @version 1.
|
|
151
|
+
* @version 1.33.3
|
|
152
152
|
* @license AGPLv3
|
|
153
153
|
* @baseUrl https://api.getlago.com/api/v1
|
|
154
154
|
* @externalDocs https://github.com/getlago
|
|
@@ -1803,7 +1803,7 @@ export class Api extends HttpClient {
|
|
|
1803
1803
|
...params,
|
|
1804
1804
|
}),
|
|
1805
1805
|
/**
|
|
1806
|
-
* @description This
|
|
1806
|
+
* @description This accepts a list of entitlements to update. If the feature isn't part of the plan yet, it's added with all the privileges from the payload. If the feature is already part of the plan, the privilege and values are updated or added. All privileges must be valid for the feature. All features and privileges not part of the payload are left untouched. To remove privileges or features, use the DELETE endpoints.
|
|
1807
1807
|
*
|
|
1808
1808
|
* @tags entitlements
|
|
1809
1809
|
* @name UpdateEntitlement
|
|
@@ -1931,9 +1931,10 @@ export class Api extends HttpClient {
|
|
|
1931
1931
|
* @request PUT:/subscriptions/{external_id}
|
|
1932
1932
|
* @secure
|
|
1933
1933
|
*/
|
|
1934
|
-
updateSubscription: (externalId, data, params = {}) => this.request({
|
|
1934
|
+
updateSubscription: (externalId, data, query, params = {}) => this.request({
|
|
1935
1935
|
path: `/subscriptions/${externalId}`,
|
|
1936
1936
|
method: "PUT",
|
|
1937
|
+
query: query,
|
|
1937
1938
|
body: data,
|
|
1938
1939
|
secure: true,
|
|
1939
1940
|
type: ContentType.Json,
|
|
@@ -2092,7 +2093,7 @@ export class Api extends HttpClient {
|
|
|
2092
2093
|
...params,
|
|
2093
2094
|
}),
|
|
2094
2095
|
/**
|
|
2095
|
-
* @description This
|
|
2096
|
+
* @description This accepts a list of entitlements to update. If the feature isn't part of the subscription yet, it's added with all the privileges from the payload. If the feature is already part of the subscription (via plan or via override), the privilege and values are updated or added. All privileges must be valid for the feature. All features and privileges not part of the payload are left untouched. To remove privileges or features, use the DELETE endpoints.
|
|
2096
2097
|
*
|
|
2097
2098
|
* @tags entitlements
|
|
2098
2099
|
* @name UpdateSubscriptionEntitlements
|