lago-javascript-client 1.52.1 → 1.53.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 +541 -325
- package/esm/openapi/client.js +21 -5
- package/esm/openapi/webhooks.d.ts +1256 -421
- package/package.json +1 -1
- package/script/openapi/client.d.ts +541 -325
- package/script/openapi/client.js +21 -5
- package/script/openapi/webhooks.d.ts +1256 -421
package/esm/openapi/client.js
CHANGED
|
@@ -156,7 +156,7 @@ export class HttpClient {
|
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* @title Lago API documentation
|
|
159
|
-
* @version 1.
|
|
159
|
+
* @version 1.53.0
|
|
160
160
|
* @license AGPLv3 (https://github.com/getlago/lago-openapi/blob/main/LICENSE)
|
|
161
161
|
* @baseUrl https://api.getlago.com/api/v1
|
|
162
162
|
* @externalDocs https://github.com/getlago
|
|
@@ -1255,7 +1255,7 @@ export class Api extends HttpClient {
|
|
|
1255
1255
|
...params,
|
|
1256
1256
|
}),
|
|
1257
1257
|
/**
|
|
1258
|
-
* @description This endpoint is used to update an existing wallet with prepaid credits.
|
|
1258
|
+
* @description This endpoint is used to update an existing wallet with prepaid credits. A terminated wallet cannot be updated and returns a `422` error.
|
|
1259
1259
|
*
|
|
1260
1260
|
* @tags wallets
|
|
1261
1261
|
* @name UpdateCustomerWallet
|
|
@@ -1715,7 +1715,7 @@ export class Api extends HttpClient {
|
|
|
1715
1715
|
};
|
|
1716
1716
|
fees = {
|
|
1717
1717
|
/**
|
|
1718
|
-
* @description This endpoint is used for retrieving all fees that
|
|
1718
|
+
* @description This endpoint is used for retrieving all fees that have been issued.
|
|
1719
1719
|
*
|
|
1720
1720
|
* @tags fees
|
|
1721
1721
|
* @name FindAllFees
|
|
@@ -1819,7 +1819,7 @@ export class Api extends HttpClient {
|
|
|
1819
1819
|
...params,
|
|
1820
1820
|
}),
|
|
1821
1821
|
/**
|
|
1822
|
-
* @description This endpoint is used for updating an existing invoice.
|
|
1822
|
+
* @description This endpoint is used for updating an existing invoice. A voided invoice cannot be updated and returns a `405` error.
|
|
1823
1823
|
*
|
|
1824
1824
|
* @tags invoices
|
|
1825
1825
|
* @name UpdateInvoice
|
|
@@ -2141,6 +2141,22 @@ export class Api extends HttpClient {
|
|
|
2141
2141
|
}),
|
|
2142
2142
|
};
|
|
2143
2143
|
organizations = {
|
|
2144
|
+
/**
|
|
2145
|
+
* @description This endpoint retrieves your own organization's settings.
|
|
2146
|
+
*
|
|
2147
|
+
* @tags organizations
|
|
2148
|
+
* @name FindOrganization
|
|
2149
|
+
* @summary Retrieve your organization
|
|
2150
|
+
* @request GET:/organizations
|
|
2151
|
+
* @secure
|
|
2152
|
+
*/
|
|
2153
|
+
findOrganization: (params = {}) => this.request({
|
|
2154
|
+
path: `/organizations`,
|
|
2155
|
+
method: "GET",
|
|
2156
|
+
secure: true,
|
|
2157
|
+
format: "json",
|
|
2158
|
+
...params,
|
|
2159
|
+
}),
|
|
2144
2160
|
/**
|
|
2145
2161
|
* @description This endpoint is used to update your own organization's settings.
|
|
2146
2162
|
*
|
|
@@ -3555,7 +3571,7 @@ export class Api extends HttpClient {
|
|
|
3555
3571
|
...params,
|
|
3556
3572
|
}),
|
|
3557
3573
|
/**
|
|
3558
|
-
* @description This endpoint is used to update an existing wallet with prepaid credits.
|
|
3574
|
+
* @description This endpoint is used to update an existing wallet with prepaid credits. A terminated wallet cannot be updated and returns a `422` error.
|
|
3559
3575
|
*
|
|
3560
3576
|
* @tags wallets
|
|
3561
3577
|
* @name UpdateWallet
|