lago-javascript-client 0.26.0-beta → 0.26.1-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/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.26.
|
|
7
|
+
"version": "v0.26.1-beta",
|
|
8
8
|
"description": "Lago JavaScript API Client",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
31
|
"import": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"types": "./types/mod.d.ts",
|
|
33
|
+
"default": "./esm/mod.js"
|
|
34
34
|
},
|
|
35
35
|
"require": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"types": "./types/mod.d.ts",
|
|
37
|
+
"default": "./script/mod.js"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^18.11.9",
|
|
46
46
|
"chalk": "^4.1.2",
|
|
47
|
-
"@deno/shim-deno": "~0.
|
|
47
|
+
"@deno/shim-deno": "~0.12.0",
|
|
48
48
|
"urlpattern-polyfill": "^6.0.2"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -744,16 +744,20 @@ export interface FeeObject {
|
|
|
744
744
|
lago_id: string;
|
|
745
745
|
/** @example "183da83c-c007-4fbb-afcd-b00c07c41ffe" */
|
|
746
746
|
lago_group_id?: string;
|
|
747
|
-
/** @example
|
|
747
|
+
/** @example 1000 */
|
|
748
748
|
amount_cents: number;
|
|
749
749
|
/** @example "EUR" */
|
|
750
750
|
amount_currency: string;
|
|
751
|
-
/** @example
|
|
751
|
+
/** @example 200 */
|
|
752
752
|
vat_amount_cents: number;
|
|
753
753
|
/** @example "EUR" */
|
|
754
754
|
vat_amount_currency: string;
|
|
755
755
|
/** @example 2.5 */
|
|
756
756
|
units: number;
|
|
757
|
+
/** @example 1200 */
|
|
758
|
+
total_amount_cents?: number;
|
|
759
|
+
/** @example "EUR" */
|
|
760
|
+
total_amount_currency?: string;
|
|
757
761
|
/** @example 5 */
|
|
758
762
|
events_count?: number;
|
|
759
763
|
item: {
|