lago-javascript-client 0.29.0-beta → 0.30.0-beta
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.js
CHANGED
|
@@ -148,7 +148,7 @@ export class HttpClient {
|
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* @title Lago API documentation
|
|
151
|
-
* @version 0.
|
|
151
|
+
* @version 0.29.0-beta
|
|
152
152
|
* @baseUrl https://api.getlago.com/api/v1
|
|
153
153
|
* @externalDocs https://github.com/getlago
|
|
154
154
|
* @contact <tech@getlago.com>
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"types": "./types/mod.d.ts",
|
|
5
5
|
"name": "lago-javascript-client",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"version": "v0.
|
|
7
|
+
"version": "v0.30.0-beta",
|
|
8
8
|
"description": "Lago JavaScript API Client",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"Lovro Colic",
|
|
21
21
|
"Jérémy Denquin",
|
|
22
22
|
"Arjun Yelamanchili",
|
|
23
|
-
"Vincent Pochet"
|
|
23
|
+
"Vincent Pochet",
|
|
24
|
+
"Romain Sempé"
|
|
24
25
|
],
|
|
25
26
|
"license": "MIT",
|
|
26
27
|
"bugs": {
|
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 0.
|
|
155
|
+
* @version 0.29.0-beta
|
|
156
156
|
* @baseUrl https://api.getlago.com/api/v1
|
|
157
157
|
* @externalDocs https://github.com/getlago
|
|
158
158
|
* @contact <tech@getlago.com>
|
|
@@ -568,6 +568,8 @@ export interface ChargeUsageObject {
|
|
|
568
568
|
/** Charge model type */
|
|
569
569
|
charge_model?: "standard" | "graduated" | "package" | "percentage" | "volume";
|
|
570
570
|
instant?: boolean;
|
|
571
|
+
/** @example 1200 */
|
|
572
|
+
min_amount_cents?: number;
|
|
571
573
|
};
|
|
572
574
|
billable_metric: {
|
|
573
575
|
/**
|
|
@@ -749,6 +751,8 @@ export interface ChargeObject {
|
|
|
749
751
|
charge_model: "standard" | "graduated" | "package" | "percentage" | "volume";
|
|
750
752
|
/** @example true */
|
|
751
753
|
instant?: boolean;
|
|
754
|
+
/** @example 1200 */
|
|
755
|
+
min_amount_cents?: number;
|
|
752
756
|
properties?: object;
|
|
753
757
|
group_properties?: GroupPropertiesObject[];
|
|
754
758
|
}
|
|
@@ -828,6 +832,7 @@ export interface PlanInput {
|
|
|
828
832
|
/** Charge model type */
|
|
829
833
|
charge_model?: "standard" | "graduated" | "package" | "percentage" | "volume";
|
|
830
834
|
instant?: boolean;
|
|
835
|
+
min_amount_cents?: number;
|
|
831
836
|
properties?: object;
|
|
832
837
|
group_properties?: {
|
|
833
838
|
/** @example "123456" */
|
|
@@ -980,6 +985,16 @@ export interface FeeObject {
|
|
|
980
985
|
* @example "1a901a90-1a90-1a90-1a90-1a901a901a90"
|
|
981
986
|
*/
|
|
982
987
|
lago_invoice_id?: string;
|
|
988
|
+
/**
|
|
989
|
+
* @format uuid
|
|
990
|
+
* @example "1a901a90-1a90-1a90-1a90-1a901a901a90"
|
|
991
|
+
*/
|
|
992
|
+
lago_true_up_fee_id?: string;
|
|
993
|
+
/**
|
|
994
|
+
* @format uuid
|
|
995
|
+
* @example "1a901a90-1a90-1a90-1a90-1a901a901a90"
|
|
996
|
+
*/
|
|
997
|
+
lago_true_up_parent_fee_id?: string;
|
|
983
998
|
/** @example "54321" */
|
|
984
999
|
external_subscription_id?: string;
|
|
985
1000
|
/** @example 1000 */
|
|
@@ -1540,7 +1555,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
1540
1555
|
}
|
|
1541
1556
|
/**
|
|
1542
1557
|
* @title Lago API documentation
|
|
1543
|
-
* @version 0.
|
|
1558
|
+
* @version 0.29.0-beta
|
|
1544
1559
|
* @baseUrl https://api.getlago.com/api/v1
|
|
1545
1560
|
* @externalDocs https://github.com/getlago
|
|
1546
1561
|
* @contact <tech@getlago.com>
|