@nirvana-labs/nirvana 1.93.0 → 1.93.2
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/CHANGELOG.md +14 -0
- package/client.d.mts +1 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -0
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/nks/clusters/pools/availability.d.mts +0 -17
- package/resources/nks/clusters/pools/availability.d.mts.map +1 -1
- package/resources/nks/clusters/pools/availability.d.ts +0 -17
- package/resources/nks/clusters/pools/availability.d.ts.map +1 -1
- package/resources/nks/clusters/pools/cost.d.mts +0 -17
- package/resources/nks/clusters/pools/cost.d.mts.map +1 -1
- package/resources/nks/clusters/pools/cost.d.ts +0 -17
- package/resources/nks/clusters/pools/cost.d.ts.map +1 -1
- package/resources/nks/clusters/pools/pools.d.mts +3 -19
- package/resources/nks/clusters/pools/pools.d.mts.map +1 -1
- package/resources/nks/clusters/pools/pools.d.ts +3 -19
- package/resources/nks/clusters/pools/pools.d.ts.map +1 -1
- package/resources/nks/clusters/pools/pools.js.map +1 -1
- package/resources/nks/clusters/pools/pools.mjs.map +1 -1
- package/resources/organizations/billing.d.mts +2 -36
- package/resources/organizations/billing.d.mts.map +1 -1
- package/resources/organizations/billing.d.ts +2 -36
- package/resources/organizations/billing.d.ts.map +1 -1
- package/resources/organizations/billing.js.map +1 -1
- package/resources/organizations/billing.mjs.map +1 -1
- package/resources/organizations/index.d.mts +1 -1
- package/resources/organizations/index.d.mts.map +1 -1
- package/resources/organizations/index.d.ts +1 -1
- package/resources/organizations/index.d.ts.map +1 -1
- package/resources/organizations/index.js.map +1 -1
- package/resources/organizations/index.mjs.map +1 -1
- package/resources/organizations/organizations.d.mts +14 -2
- package/resources/organizations/organizations.d.mts.map +1 -1
- package/resources/organizations/organizations.d.ts +14 -2
- package/resources/organizations/organizations.d.ts.map +1 -1
- package/resources/organizations/organizations.js.map +1 -1
- package/resources/organizations/organizations.mjs.map +1 -1
- package/resources/shared.d.mts +62 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +62 -3
- package/resources/shared.d.ts.map +1 -1
- package/src/client.ts +1 -0
- package/src/resources/nks/clusters/pools/availability.ts +0 -19
- package/src/resources/nks/clusters/pools/cost.ts +0 -19
- package/src/resources/nks/clusters/pools/pools.ts +3 -21
- package/src/resources/organizations/api.md +0 -4
- package/src/resources/organizations/billing.ts +2 -43
- package/src/resources/organizations/index.ts +1 -1
- package/src/resources/organizations/organizations.ts +17 -2
- package/src/resources/shared.ts +72 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/shared.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Cost quote returned by POST /cost.
|
|
4
|
+
* Cost quote returned by POST /cost. current_summary and updated_summary hold the
|
|
5
|
+
* org billing summary now and with this resource; omitted when the caller cannot
|
|
6
|
+
* view billing.
|
|
5
7
|
*/
|
|
6
8
|
export interface CostQuote {
|
|
7
9
|
/**
|
|
@@ -23,6 +25,20 @@ export interface CostQuote {
|
|
|
23
25
|
* Priced rows, one per usage dimension emitted by the resource.
|
|
24
26
|
*/
|
|
25
27
|
usage_dimensions: Array<CostQuote.UsageDimension>;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
31
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
32
|
+
* usage").
|
|
33
|
+
*/
|
|
34
|
+
current_summary?: OrganizationBillingSummary;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
38
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
39
|
+
* usage").
|
|
40
|
+
*/
|
|
41
|
+
updated_summary?: OrganizationBillingSummary;
|
|
26
42
|
}
|
|
27
43
|
|
|
28
44
|
export namespace CostQuote {
|
|
@@ -58,8 +74,9 @@ export namespace CostQuote {
|
|
|
58
74
|
}
|
|
59
75
|
|
|
60
76
|
/**
|
|
61
|
-
* Cost quote returned by PATCH /:id/cost:
|
|
62
|
-
*
|
|
77
|
+
* Cost quote returned by PATCH /:id/cost: current-state quote, post-update quote,
|
|
78
|
+
* and signed diff. current_summary and updated_summary omitted when the caller
|
|
79
|
+
* cannot view billing.
|
|
63
80
|
*/
|
|
64
81
|
export interface CostQuoteUpdate {
|
|
65
82
|
/**
|
|
@@ -86,6 +103,20 @@ export interface CostQuoteUpdate {
|
|
|
86
103
|
* Timestamp the quote was priced at.
|
|
87
104
|
*/
|
|
88
105
|
priced_at: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
109
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
110
|
+
* usage").
|
|
111
|
+
*/
|
|
112
|
+
current_summary?: OrganizationBillingSummary;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
116
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
117
|
+
* usage").
|
|
118
|
+
*/
|
|
119
|
+
updated_summary?: OrganizationBillingSummary;
|
|
89
120
|
}
|
|
90
121
|
|
|
91
122
|
export namespace CostQuoteUpdate {
|
|
@@ -267,6 +298,44 @@ export namespace CostQuoteUpdate {
|
|
|
267
298
|
}
|
|
268
299
|
}
|
|
269
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
303
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
304
|
+
* usage").
|
|
305
|
+
*/
|
|
306
|
+
export interface OrganizationBillingSummary {
|
|
307
|
+
/**
|
|
308
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
309
|
+
*/
|
|
310
|
+
daily_cost: string;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
314
|
+
*/
|
|
315
|
+
effective_balance: string;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
319
|
+
*/
|
|
320
|
+
monthly_cost: string;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
324
|
+
*/
|
|
325
|
+
recharge_threshold_fraction: string;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Projected date the balance reaches the recharge threshold at the current
|
|
329
|
+
* run-rate. Null when there is no active usage (never charges).
|
|
330
|
+
*/
|
|
331
|
+
estimated_next_charge_at?: string | null;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
335
|
+
*/
|
|
336
|
+
runway_months?: string | null;
|
|
337
|
+
}
|
|
338
|
+
|
|
270
339
|
/**
|
|
271
340
|
* Pagination response details.
|
|
272
341
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.93.
|
|
1
|
+
export const VERSION = '1.93.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.93.
|
|
1
|
+
export declare const VERSION = "1.93.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.93.
|
|
1
|
+
export declare const VERSION = "1.93.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.93.
|
|
1
|
+
export const VERSION = '1.93.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|