lago-javascript-client 1.12.3 → 1.15.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.
@@ -2131,6 +2131,12 @@ export interface FeeObject {
2131
2131
  * @example "1a901a90-1a90-1a90-1a90-1a901a901a90"
2132
2132
  */
2133
2133
  lago_id?: string | null;
2134
+ /**
2135
+ * Unique identifier assigned to the charge that the fee belongs to
2136
+ * @format uuid
2137
+ * @example "1a901a90-1a90-1a90-1a90-1a901a901a90"
2138
+ */
2139
+ lago_charge_id?: string | null;
2134
2140
  /**
2135
2141
  * Unique identifier assigned to the charge filter that the fee belongs to
2136
2142
  * @format uuid
@@ -4761,9 +4767,9 @@ export declare class HttpClient<SecurityDataType = unknown> {
4761
4767
  }
4762
4768
  /**
4763
4769
  * @title Lago API documentation
4764
- * @version 1.12.2
4770
+ * @version 1.15.0
4765
4771
  * @license AGPLv3
4766
- * @baseUrl https://api{region}getlago.com/api/v1
4772
+ * @baseUrl https://api.getlago.com/api/v1
4767
4773
  * @externalDocs https://github.com/getlago
4768
4774
  * @contact <tech@getlago.com>
4769
4775
  *
@@ -16,7 +16,7 @@ export var ContentType;
16
16
  ContentType["Text"] = "text/plain";
17
17
  })(ContentType || (ContentType = {}));
18
18
  export class HttpClient {
19
- baseUrl = "https://api{region}getlago.com/api/v1";
19
+ baseUrl = "https://api.getlago.com/api/v1";
20
20
  securityData = null;
21
21
  securityWorker;
22
22
  abortControllers = new Map();
@@ -148,9 +148,9 @@ export class HttpClient {
148
148
  }
149
149
  /**
150
150
  * @title Lago API documentation
151
- * @version 1.12.2
151
+ * @version 1.15.0
152
152
  * @license AGPLv3
153
- * @baseUrl https://api{region}getlago.com/api/v1
153
+ * @baseUrl https://api.getlago.com/api/v1
154
154
  * @externalDocs https://github.com/getlago
155
155
  * @contact <tech@getlago.com>
156
156
  *
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "./script/mod.js",
4
4
  "name": "lago-javascript-client",
5
5
  "sideEffects": false,
6
- "version": "v1.12.3",
6
+ "version": "v1.15.0",
7
7
  "description": "Lago JavaScript API Client",
8
8
  "repository": {
9
9
  "type": "git",
@@ -2131,6 +2131,12 @@ export interface FeeObject {
2131
2131
  * @example "1a901a90-1a90-1a90-1a90-1a901a901a90"
2132
2132
  */
2133
2133
  lago_id?: string | null;
2134
+ /**
2135
+ * Unique identifier assigned to the charge that the fee belongs to
2136
+ * @format uuid
2137
+ * @example "1a901a90-1a90-1a90-1a90-1a901a901a90"
2138
+ */
2139
+ lago_charge_id?: string | null;
2134
2140
  /**
2135
2141
  * Unique identifier assigned to the charge filter that the fee belongs to
2136
2142
  * @format uuid
@@ -4761,9 +4767,9 @@ export declare class HttpClient<SecurityDataType = unknown> {
4761
4767
  }
4762
4768
  /**
4763
4769
  * @title Lago API documentation
4764
- * @version 1.12.2
4770
+ * @version 1.15.0
4765
4771
  * @license AGPLv3
4766
- * @baseUrl https://api{region}getlago.com/api/v1
4772
+ * @baseUrl https://api.getlago.com/api/v1
4767
4773
  * @externalDocs https://github.com/getlago
4768
4774
  * @contact <tech@getlago.com>
4769
4775
  *
@@ -19,7 +19,7 @@ var ContentType;
19
19
  ContentType["Text"] = "text/plain";
20
20
  })(ContentType = exports.ContentType || (exports.ContentType = {}));
21
21
  class HttpClient {
22
- baseUrl = "https://api{region}getlago.com/api/v1";
22
+ baseUrl = "https://api.getlago.com/api/v1";
23
23
  securityData = null;
24
24
  securityWorker;
25
25
  abortControllers = new Map();
@@ -152,9 +152,9 @@ class HttpClient {
152
152
  exports.HttpClient = HttpClient;
153
153
  /**
154
154
  * @title Lago API documentation
155
- * @version 1.12.2
155
+ * @version 1.15.0
156
156
  * @license AGPLv3
157
- * @baseUrl https://api{region}getlago.com/api/v1
157
+ * @baseUrl https://api.getlago.com/api/v1
158
158
  * @externalDocs https://github.com/getlago
159
159
  * @contact <tech@getlago.com>
160
160
  *