@openmeter/client 1.0.0-beta-9a09c0a37226 → 1.0.0-beta-ea9f54d35bf3
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/dist/lib/config.d.ts +2 -2
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/schemas.d.ts +1745 -1745
- package/dist/models/types.d.ts +16 -12
- package/package.json +3 -3
package/dist/models/types.d.ts
CHANGED
|
@@ -1568,9 +1568,10 @@ export interface CreateCreditGrantPurchase {
|
|
|
1568
1568
|
/**
|
|
1569
1569
|
* Cost basis per credit unit used to calculate the purchase amount.
|
|
1570
1570
|
*
|
|
1571
|
-
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
1572
|
-
*
|
|
1573
|
-
*
|
|
1571
|
+
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
1572
|
+
* $100.00, the total
|
|
1573
|
+
* charge is $50.00. The value must be greater than 0. If the
|
|
1574
|
+
* cost basis is 0, use `funding_method=none` instead.
|
|
1574
1575
|
*
|
|
1575
1576
|
* Defaults to 1.0.
|
|
1576
1577
|
*/
|
|
@@ -1618,9 +1619,10 @@ export interface CreditGrantPurchase {
|
|
|
1618
1619
|
/**
|
|
1619
1620
|
* Cost basis per credit unit used to calculate the purchase amount.
|
|
1620
1621
|
*
|
|
1621
|
-
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
1622
|
+
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
1623
|
+
* $100.00, the total
|
|
1624
|
+
* charge is $50.00. The value must be greater than 0. If the
|
|
1625
|
+
* cost basis is 0, use `funding_method=none` instead.
|
|
1624
1626
|
*
|
|
1625
1627
|
* Defaults to 1.0.
|
|
1626
1628
|
*/
|
|
@@ -5426,9 +5428,10 @@ export interface CreateCreditGrantPurchaseInput {
|
|
|
5426
5428
|
/**
|
|
5427
5429
|
* Cost basis per credit unit used to calculate the purchase amount.
|
|
5428
5430
|
*
|
|
5429
|
-
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
5430
|
-
*
|
|
5431
|
-
*
|
|
5431
|
+
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
5432
|
+
* $100.00, the total
|
|
5433
|
+
* charge is $50.00. The value must be greater than 0. If the
|
|
5434
|
+
* cost basis is 0, use `funding_method=none` instead.
|
|
5432
5435
|
*
|
|
5433
5436
|
* Defaults to 1.0.
|
|
5434
5437
|
*/
|
|
@@ -5469,9 +5472,10 @@ export interface CreditGrantPurchaseInput {
|
|
|
5469
5472
|
/**
|
|
5470
5473
|
* Cost basis per credit unit used to calculate the purchase amount.
|
|
5471
5474
|
*
|
|
5472
|
-
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
5473
|
-
*
|
|
5474
|
-
*
|
|
5475
|
+
* If `per_unit_cost_basis` is 0.50 and credit amount is
|
|
5476
|
+
* $100.00, the total
|
|
5477
|
+
* charge is $50.00. The value must be greater than 0. If the
|
|
5478
|
+
* cost basis is 0, use `funding_method=none` instead.
|
|
5475
5479
|
*
|
|
5476
5480
|
* Defaults to 1.0.
|
|
5477
5481
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmeter/client",
|
|
3
|
-
"version": "1.0.0-beta-
|
|
3
|
+
"version": "1.0.0-beta-ea9f54d35bf3",
|
|
4
4
|
"description": "Official TypeScript SDK for the OpenMeter API — usage metering and billing",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openmeter",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"zod": "^4.4.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@types/node": "
|
|
33
|
-
"typescript": "
|
|
32
|
+
"@types/node": "26.1.1",
|
|
33
|
+
"typescript": "7.0.2"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|