@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
|
@@ -3,7 +3,7 @@ import * as Shared from "../shared.mjs";
|
|
|
3
3
|
import * as AddressAPI from "./address.mjs";
|
|
4
4
|
import { Address, AddressCreateParams, AddressUpdateParams, OrganizationAddress } from "./address.mjs";
|
|
5
5
|
import * as BillingAPI from "./billing.mjs";
|
|
6
|
-
import { Billing
|
|
6
|
+
import { Billing } from "./billing.mjs";
|
|
7
7
|
import * as MembershipsAPI from "./memberships.mjs";
|
|
8
8
|
import { MembershipGetParams, MembershipListParams, Memberships, OrganizationMembership, OrganizationMembershipList, OrganizationMembershipsCursor } from "./memberships.mjs";
|
|
9
9
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
@@ -82,6 +82,18 @@ export interface Organization {
|
|
|
82
82
|
* owner's email).
|
|
83
83
|
*/
|
|
84
84
|
billing_email: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* Organization billing lifecycle state.
|
|
87
|
+
*/
|
|
88
|
+
billing_state: 'unfunded' | 'active' | 'requires_action' | 'suspended' | 'closed';
|
|
89
|
+
/**
|
|
90
|
+
* When the organization entered its current billing state.
|
|
91
|
+
*/
|
|
92
|
+
billing_state_since: string;
|
|
93
|
+
/**
|
|
94
|
+
* How the organization is charged for resource usage.
|
|
95
|
+
*/
|
|
96
|
+
charging_model: 'manual' | 'prepaid';
|
|
85
97
|
/**
|
|
86
98
|
* When the Organization was created.
|
|
87
99
|
*/
|
|
@@ -199,6 +211,6 @@ export declare namespace Organizations {
|
|
|
199
211
|
export { type Organization as Organization, type OrganizationDomain as OrganizationDomain, type OrganizationList as OrganizationList, type OrganizationServices as OrganizationServices, type OrganizationType as OrganizationType, type OrganizationsCursor as OrganizationsCursor, type OrganizationCreateParams as OrganizationCreateParams, type OrganizationUpdateParams as OrganizationUpdateParams, type OrganizationListParams as OrganizationListParams, };
|
|
200
212
|
export { Memberships as Memberships, type OrganizationMembership as OrganizationMembership, type OrganizationMembershipList as OrganizationMembershipList, type OrganizationMembershipsCursor as OrganizationMembershipsCursor, type MembershipGetParams as MembershipGetParams, type MembershipListParams as MembershipListParams, };
|
|
201
213
|
export { Address as Address, type OrganizationAddress as OrganizationAddress, type AddressCreateParams as AddressCreateParams, type AddressUpdateParams as AddressUpdateParams, };
|
|
202
|
-
export { Billing as Billing
|
|
214
|
+
export { Billing as Billing };
|
|
203
215
|
}
|
|
204
216
|
//# sourceMappingURL=organizations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,sBAAkB;AACnG,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,UAAU,sBAAkB;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AAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
|
|
@@ -3,7 +3,7 @@ import * as Shared from "../shared.js";
|
|
|
3
3
|
import * as AddressAPI from "./address.js";
|
|
4
4
|
import { Address, AddressCreateParams, AddressUpdateParams, OrganizationAddress } from "./address.js";
|
|
5
5
|
import * as BillingAPI from "./billing.js";
|
|
6
|
-
import { Billing
|
|
6
|
+
import { Billing } from "./billing.js";
|
|
7
7
|
import * as MembershipsAPI from "./memberships.js";
|
|
8
8
|
import { MembershipGetParams, MembershipListParams, Memberships, OrganizationMembership, OrganizationMembershipList, OrganizationMembershipsCursor } from "./memberships.js";
|
|
9
9
|
import { APIPromise } from "../../core/api-promise.js";
|
|
@@ -82,6 +82,18 @@ export interface Organization {
|
|
|
82
82
|
* owner's email).
|
|
83
83
|
*/
|
|
84
84
|
billing_email: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* Organization billing lifecycle state.
|
|
87
|
+
*/
|
|
88
|
+
billing_state: 'unfunded' | 'active' | 'requires_action' | 'suspended' | 'closed';
|
|
89
|
+
/**
|
|
90
|
+
* When the organization entered its current billing state.
|
|
91
|
+
*/
|
|
92
|
+
billing_state_since: string;
|
|
93
|
+
/**
|
|
94
|
+
* How the organization is charged for resource usage.
|
|
95
|
+
*/
|
|
96
|
+
charging_model: 'manual' | 'prepaid';
|
|
85
97
|
/**
|
|
86
98
|
* When the Organization was created.
|
|
87
99
|
*/
|
|
@@ -199,6 +211,6 @@ export declare namespace Organizations {
|
|
|
199
211
|
export { type Organization as Organization, type OrganizationDomain as OrganizationDomain, type OrganizationList as OrganizationList, type OrganizationServices as OrganizationServices, type OrganizationType as OrganizationType, type OrganizationsCursor as OrganizationsCursor, type OrganizationCreateParams as OrganizationCreateParams, type OrganizationUpdateParams as OrganizationUpdateParams, type OrganizationListParams as OrganizationListParams, };
|
|
200
212
|
export { Memberships as Memberships, type OrganizationMembership as OrganizationMembership, type OrganizationMembershipList as OrganizationMembershipList, type OrganizationMembershipsCursor as OrganizationMembershipsCursor, type MembershipGetParams as MembershipGetParams, type MembershipListParams as MembershipListParams, };
|
|
201
213
|
export { Address as Address, type OrganizationAddress as OrganizationAddress, type AddressCreateParams as AddressCreateParams, type AddressUpdateParams as AddressUpdateParams, };
|
|
202
|
-
export { Billing as Billing
|
|
214
|
+
export { Billing as Billing };
|
|
203
215
|
}
|
|
204
216
|
//# sourceMappingURL=organizations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,qBAAkB;AACnG,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,qBAAkB;AACnG,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,qBAAkB;AACpC,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,sBAAsB,EACtB,0BAA0B,EAC1B,6BAA6B,EAC9B,yBAAsB;AACvB,O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;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAuB,SAAQ,YAAY;CAAG;AAM/D,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,iEAAwC;AACxC,0CAAmG;AACnG,iEAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,iEAAwC;AACxC,0CAAmG;AACnG,iEAAwC;AACxC,0CAAoC;AACpC,yEAAgD;AAChD,kDAOuB;AAEvB,yDAA+E;AAC/E,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgFrE,CAAC;IA9EC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,cAAsB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,qBAAqB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,mBAAoB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,cAAsB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,qBAAqB,cAAc,QAAQ,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAnFD,sCAmFC;AA2KD,aAAa,CAAC,WAAW,GAAG,yBAAW,CAAC;AACxC,aAAa,CAAC,OAAO,GAAG,iBAAO,CAAC;AAChC,aAAa,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAAiE,sBAAkB;AACnG,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAAiE,sBAAkB;AACnG,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,sBAAkB;AACpC,OAAO,KAAK,cAAc,0BAAsB;AACh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IACnG,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,cAAsB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,cAAc,QAAQ,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA2KD,aAAa,CAAC,WAAW,GAAG,WAAW,CAAC;AACxC,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC;AAChC,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
package/resources/shared.d.mts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Cost quote returned by POST /cost.
|
|
2
|
+
* Cost quote returned by POST /cost. current_summary and updated_summary hold the
|
|
3
|
+
* org billing summary now and with this resource; omitted when the caller cannot
|
|
4
|
+
* view billing.
|
|
3
5
|
*/
|
|
4
6
|
export interface CostQuote {
|
|
5
7
|
/**
|
|
@@ -18,6 +20,18 @@ export interface CostQuote {
|
|
|
18
20
|
* Priced rows, one per usage dimension emitted by the resource.
|
|
19
21
|
*/
|
|
20
22
|
usage_dimensions: Array<CostQuote.UsageDimension>;
|
|
23
|
+
/**
|
|
24
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
25
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
26
|
+
* usage").
|
|
27
|
+
*/
|
|
28
|
+
current_summary?: OrganizationBillingSummary;
|
|
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
|
+
updated_summary?: OrganizationBillingSummary;
|
|
21
35
|
}
|
|
22
36
|
export declare namespace CostQuote {
|
|
23
37
|
/**
|
|
@@ -47,8 +61,9 @@ export declare namespace CostQuote {
|
|
|
47
61
|
}
|
|
48
62
|
}
|
|
49
63
|
/**
|
|
50
|
-
* Cost quote returned by PATCH /:id/cost:
|
|
51
|
-
*
|
|
64
|
+
* Cost quote returned by PATCH /:id/cost: current-state quote, post-update quote,
|
|
65
|
+
* and signed diff. current_summary and updated_summary omitted when the caller
|
|
66
|
+
* cannot view billing.
|
|
52
67
|
*/
|
|
53
68
|
export interface CostQuoteUpdate {
|
|
54
69
|
/**
|
|
@@ -71,6 +86,18 @@ export interface CostQuoteUpdate {
|
|
|
71
86
|
* Timestamp the quote was priced at.
|
|
72
87
|
*/
|
|
73
88
|
priced_at: string;
|
|
89
|
+
/**
|
|
90
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
91
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
92
|
+
* usage").
|
|
93
|
+
*/
|
|
94
|
+
current_summary?: OrganizationBillingSummary;
|
|
95
|
+
/**
|
|
96
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
97
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
98
|
+
* usage").
|
|
99
|
+
*/
|
|
100
|
+
updated_summary?: OrganizationBillingSummary;
|
|
74
101
|
}
|
|
75
102
|
export declare namespace CostQuoteUpdate {
|
|
76
103
|
/**
|
|
@@ -224,6 +251,38 @@ export declare namespace CostQuoteUpdate {
|
|
|
224
251
|
}
|
|
225
252
|
}
|
|
226
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
256
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
257
|
+
* usage").
|
|
258
|
+
*/
|
|
259
|
+
export interface OrganizationBillingSummary {
|
|
260
|
+
/**
|
|
261
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
262
|
+
*/
|
|
263
|
+
daily_cost: string;
|
|
264
|
+
/**
|
|
265
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
266
|
+
*/
|
|
267
|
+
effective_balance: string;
|
|
268
|
+
/**
|
|
269
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
270
|
+
*/
|
|
271
|
+
monthly_cost: string;
|
|
272
|
+
/**
|
|
273
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
274
|
+
*/
|
|
275
|
+
recharge_threshold_fraction: string;
|
|
276
|
+
/**
|
|
277
|
+
* Projected date the balance reaches the recharge threshold at the current
|
|
278
|
+
* run-rate. Null when there is no active usage (never charges).
|
|
279
|
+
*/
|
|
280
|
+
estimated_next_charge_at?: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
283
|
+
*/
|
|
284
|
+
runway_months?: string | null;
|
|
285
|
+
}
|
|
227
286
|
/**
|
|
228
287
|
* Pagination response details.
|
|
229
288
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.mts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"shared.d.mts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,gBAAgB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAElD;;;;OAIG;IACH,eAAe,CAAC,EAAE,0BAA0B,CAAC;IAE7C;;;;OAIG;IACH,eAAe,CAAC,EAAE,0BAA0B,CAAC;CAC9C;AAED,yBAAiB,SAAS,CAAC;IACzB;;OAEG;IACH,UAAiB,cAAc;QAC7B;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;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IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IAEpC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9G;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB"}
|
package/resources/shared.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Cost quote returned by POST /cost.
|
|
2
|
+
* Cost quote returned by POST /cost. current_summary and updated_summary hold the
|
|
3
|
+
* org billing summary now and with this resource; omitted when the caller cannot
|
|
4
|
+
* view billing.
|
|
3
5
|
*/
|
|
4
6
|
export interface CostQuote {
|
|
5
7
|
/**
|
|
@@ -18,6 +20,18 @@ export interface CostQuote {
|
|
|
18
20
|
* Priced rows, one per usage dimension emitted by the resource.
|
|
19
21
|
*/
|
|
20
22
|
usage_dimensions: Array<CostQuote.UsageDimension>;
|
|
23
|
+
/**
|
|
24
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
25
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
26
|
+
* usage").
|
|
27
|
+
*/
|
|
28
|
+
current_summary?: OrganizationBillingSummary;
|
|
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
|
+
updated_summary?: OrganizationBillingSummary;
|
|
21
35
|
}
|
|
22
36
|
export declare namespace CostQuote {
|
|
23
37
|
/**
|
|
@@ -47,8 +61,9 @@ export declare namespace CostQuote {
|
|
|
47
61
|
}
|
|
48
62
|
}
|
|
49
63
|
/**
|
|
50
|
-
* Cost quote returned by PATCH /:id/cost:
|
|
51
|
-
*
|
|
64
|
+
* Cost quote returned by PATCH /:id/cost: current-state quote, post-update quote,
|
|
65
|
+
* and signed diff. current_summary and updated_summary omitted when the caller
|
|
66
|
+
* cannot view billing.
|
|
52
67
|
*/
|
|
53
68
|
export interface CostQuoteUpdate {
|
|
54
69
|
/**
|
|
@@ -71,6 +86,18 @@ export interface CostQuoteUpdate {
|
|
|
71
86
|
* Timestamp the quote was priced at.
|
|
72
87
|
*/
|
|
73
88
|
priced_at: string;
|
|
89
|
+
/**
|
|
90
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
91
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
92
|
+
* usage").
|
|
93
|
+
*/
|
|
94
|
+
current_summary?: OrganizationBillingSummary;
|
|
95
|
+
/**
|
|
96
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
97
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
98
|
+
* usage").
|
|
99
|
+
*/
|
|
100
|
+
updated_summary?: OrganizationBillingSummary;
|
|
74
101
|
}
|
|
75
102
|
export declare namespace CostQuoteUpdate {
|
|
76
103
|
/**
|
|
@@ -224,6 +251,38 @@ export declare namespace CostQuoteUpdate {
|
|
|
224
251
|
}
|
|
225
252
|
}
|
|
226
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
256
|
+
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
257
|
+
* usage").
|
|
258
|
+
*/
|
|
259
|
+
export interface OrganizationBillingSummary {
|
|
260
|
+
/**
|
|
261
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
262
|
+
*/
|
|
263
|
+
daily_cost: string;
|
|
264
|
+
/**
|
|
265
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
266
|
+
*/
|
|
267
|
+
effective_balance: string;
|
|
268
|
+
/**
|
|
269
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
270
|
+
*/
|
|
271
|
+
monthly_cost: string;
|
|
272
|
+
/**
|
|
273
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
274
|
+
*/
|
|
275
|
+
recharge_threshold_fraction: string;
|
|
276
|
+
/**
|
|
277
|
+
* Projected date the balance reaches the recharge threshold at the current
|
|
278
|
+
* run-rate. Null when there is no active usage (never charges).
|
|
279
|
+
*/
|
|
280
|
+
estimated_next_charge_at?: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
283
|
+
*/
|
|
284
|
+
runway_months?: string | null;
|
|
285
|
+
}
|
|
227
286
|
/**
|
|
228
287
|
* Pagination response details.
|
|
229
288
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA;;;;GAIG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,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB"}
|
package/src/client.ts
CHANGED
|
@@ -836,6 +836,7 @@ export declare namespace NirvanaLabs {
|
|
|
836
836
|
|
|
837
837
|
export type CostQuote = API.CostQuote;
|
|
838
838
|
export type CostQuoteUpdate = API.CostQuoteUpdate;
|
|
839
|
+
export type OrganizationBillingSummary = API.OrganizationBillingSummary;
|
|
839
840
|
export type Pagination = API.Pagination;
|
|
840
841
|
export type RegionName = API.RegionName;
|
|
841
842
|
export type ResourceStatus = API.ResourceStatus;
|
|
@@ -87,11 +87,6 @@ export interface AvailabilityUpdateParams {
|
|
|
87
87
|
*/
|
|
88
88
|
name?: string;
|
|
89
89
|
|
|
90
|
-
/**
|
|
91
|
-
* Body param: Partial node configuration update.
|
|
92
|
-
*/
|
|
93
|
-
node_config?: AvailabilityUpdateParams.NodeConfig;
|
|
94
|
-
|
|
95
90
|
/**
|
|
96
91
|
* Body param: Number of nodes.
|
|
97
92
|
*/
|
|
@@ -103,20 +98,6 @@ export interface AvailabilityUpdateParams {
|
|
|
103
98
|
tags?: Array<string>;
|
|
104
99
|
}
|
|
105
100
|
|
|
106
|
-
export namespace AvailabilityUpdateParams {
|
|
107
|
-
/**
|
|
108
|
-
* Partial node configuration update.
|
|
109
|
-
*/
|
|
110
|
-
export interface NodeConfig {
|
|
111
|
-
/**
|
|
112
|
-
* Kubernetes labels to apply to each node in the pool. Each entry is "key=value".
|
|
113
|
-
* When provided, the list fully replaces the current labels on the pool and on
|
|
114
|
-
* live nodes.
|
|
115
|
-
*/
|
|
116
|
-
labels?: Array<string>;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
101
|
export declare namespace Availability {
|
|
121
102
|
export {
|
|
122
103
|
type AvailabilityCreateParams as AvailabilityCreateParams,
|
|
@@ -88,11 +88,6 @@ export interface CostUpdateParams {
|
|
|
88
88
|
*/
|
|
89
89
|
name?: string;
|
|
90
90
|
|
|
91
|
-
/**
|
|
92
|
-
* Body param: Partial node configuration update.
|
|
93
|
-
*/
|
|
94
|
-
node_config?: CostUpdateParams.NodeConfig;
|
|
95
|
-
|
|
96
91
|
/**
|
|
97
92
|
* Body param: Number of nodes.
|
|
98
93
|
*/
|
|
@@ -104,20 +99,6 @@ export interface CostUpdateParams {
|
|
|
104
99
|
tags?: Array<string>;
|
|
105
100
|
}
|
|
106
101
|
|
|
107
|
-
export namespace CostUpdateParams {
|
|
108
|
-
/**
|
|
109
|
-
* Partial node configuration update.
|
|
110
|
-
*/
|
|
111
|
-
export interface NodeConfig {
|
|
112
|
-
/**
|
|
113
|
-
* Kubernetes labels to apply to each node in the pool. Each entry is "key=value".
|
|
114
|
-
* When provided, the list fully replaces the current labels on the pool and on
|
|
115
|
-
* live nodes.
|
|
116
|
-
*/
|
|
117
|
-
labels?: Array<string>;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
102
|
export declare namespace Cost {
|
|
122
103
|
export { type CostCreateParams as CostCreateParams, type CostUpdateParams as CostUpdateParams };
|
|
123
104
|
}
|
|
@@ -235,20 +235,21 @@ export interface NKSNodePoolNodeConfig {
|
|
|
235
235
|
boot_volume: NKSNodePoolBootVolume;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
|
-
* Instance type name used for worker nodes.
|
|
238
|
+
* Instance type name used for worker nodes. Immutable after pool creation.
|
|
239
239
|
*/
|
|
240
240
|
instance_type: string;
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* Kubernetes labels to apply to each node in the pool. Each entry is "key=value".
|
|
244
244
|
* Keys under kubernetes.io, k8s.io, and nirvanalabs.io prefixes are reserved.
|
|
245
|
+
* Immutable after pool creation.
|
|
245
246
|
*/
|
|
246
247
|
labels?: Array<string>;
|
|
247
248
|
|
|
248
249
|
/**
|
|
249
250
|
* Kubernetes taints to apply to each node in the pool at creation time. Each entry
|
|
250
251
|
* is "key=value:Effect" where Effect is NoSchedule, PreferNoSchedule, or
|
|
251
|
-
* NoExecute.
|
|
252
|
+
* NoExecute. Immutable after pool creation.
|
|
252
253
|
*/
|
|
253
254
|
taints?: Array<string>;
|
|
254
255
|
}
|
|
@@ -319,11 +320,6 @@ export interface PoolUpdateParams {
|
|
|
319
320
|
*/
|
|
320
321
|
name?: string;
|
|
321
322
|
|
|
322
|
-
/**
|
|
323
|
-
* Body param: Partial node configuration update.
|
|
324
|
-
*/
|
|
325
|
-
node_config?: PoolUpdateParams.NodeConfig;
|
|
326
|
-
|
|
327
323
|
/**
|
|
328
324
|
* Body param: Number of nodes.
|
|
329
325
|
*/
|
|
@@ -335,20 +331,6 @@ export interface PoolUpdateParams {
|
|
|
335
331
|
tags?: Array<string>;
|
|
336
332
|
}
|
|
337
333
|
|
|
338
|
-
export namespace PoolUpdateParams {
|
|
339
|
-
/**
|
|
340
|
-
* Partial node configuration update.
|
|
341
|
-
*/
|
|
342
|
-
export interface NodeConfig {
|
|
343
|
-
/**
|
|
344
|
-
* Kubernetes labels to apply to each node in the pool. Each entry is "key=value".
|
|
345
|
-
* When provided, the list fully replaces the current labels on the pool and on
|
|
346
|
-
* live nodes.
|
|
347
|
-
*/
|
|
348
|
-
labels?: Array<string>;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
334
|
export interface PoolDeleteParams {
|
|
353
335
|
/**
|
|
354
336
|
* Cluster ID
|
|
@@ -42,10 +42,6 @@ Methods:
|
|
|
42
42
|
|
|
43
43
|
## Billing
|
|
44
44
|
|
|
45
|
-
Types:
|
|
46
|
-
|
|
47
|
-
- <code><a href="./src/resources/organizations/billing.ts">OrganizationBillingSummary</a></code>
|
|
48
|
-
|
|
49
45
|
Methods:
|
|
50
46
|
|
|
51
47
|
- <code title="get /v1/organizations/{organization_id}/billing/summary">client.organizations.billing.<a href="./src/resources/organizations/billing.ts">summary</a>(organizationID) -> OrganizationBillingSummary</code>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as Shared from '../shared';
|
|
4
5
|
import { APIPromise } from '../../core/api-promise';
|
|
5
6
|
import { RequestOptions } from '../../internal/request-options';
|
|
6
7
|
import { path } from '../../internal/utils/path';
|
|
@@ -19,49 +20,7 @@ export class Billing extends APIResource {
|
|
|
19
20
|
* );
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
summary(organizationID: string, options?: RequestOptions): APIPromise<OrganizationBillingSummary> {
|
|
23
|
+
summary(organizationID: string, options?: RequestOptions): APIPromise<Shared.OrganizationBillingSummary> {
|
|
23
24
|
return this._client.get(path`/v1/organizations/${organizationID}/billing/summary`, options);
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Forward-looking billing summary for an organization. All costs are run-rate
|
|
29
|
-
* projections from the organization's current active usage ("≈ $X/mo at current
|
|
30
|
-
* usage").
|
|
31
|
-
*/
|
|
32
|
-
export interface OrganizationBillingSummary {
|
|
33
|
-
/**
|
|
34
|
-
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
35
|
-
*/
|
|
36
|
-
daily_cost: string;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
40
|
-
*/
|
|
41
|
-
effective_balance: string;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
45
|
-
*/
|
|
46
|
-
monthly_cost: string;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
50
|
-
*/
|
|
51
|
-
recharge_threshold_fraction: string;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Projected date the balance reaches the recharge threshold at the current
|
|
55
|
-
* run-rate. Null when there is no active usage (never charges).
|
|
56
|
-
*/
|
|
57
|
-
estimated_next_charge_at?: string | null;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Arbitrary-precision decimal serialized as a string (e.g. "58.40").
|
|
61
|
-
*/
|
|
62
|
-
runway_months?: string | null;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export declare namespace Billing {
|
|
66
|
-
export { type OrganizationBillingSummary as OrganizationBillingSummary };
|
|
67
|
-
}
|
|
@@ -5,7 +5,7 @@ import * as Shared from '../shared';
|
|
|
5
5
|
import * as AddressAPI from './address';
|
|
6
6
|
import { Address, AddressCreateParams, AddressUpdateParams, OrganizationAddress } from './address';
|
|
7
7
|
import * as BillingAPI from './billing';
|
|
8
|
-
import { Billing
|
|
8
|
+
import { Billing } from './billing';
|
|
9
9
|
import * as MembershipsAPI from './memberships';
|
|
10
10
|
import {
|
|
11
11
|
MembershipGetParams,
|
|
@@ -123,6 +123,21 @@ export interface Organization {
|
|
|
123
123
|
*/
|
|
124
124
|
billing_email: string | null;
|
|
125
125
|
|
|
126
|
+
/**
|
|
127
|
+
* Organization billing lifecycle state.
|
|
128
|
+
*/
|
|
129
|
+
billing_state: 'unfunded' | 'active' | 'requires_action' | 'suspended' | 'closed';
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* When the organization entered its current billing state.
|
|
133
|
+
*/
|
|
134
|
+
billing_state_since: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* How the organization is charged for resource usage.
|
|
138
|
+
*/
|
|
139
|
+
charging_model: 'manual' | 'prepaid';
|
|
140
|
+
|
|
126
141
|
/**
|
|
127
142
|
* When the Organization was created.
|
|
128
143
|
*/
|
|
@@ -293,5 +308,5 @@ export declare namespace Organizations {
|
|
|
293
308
|
type AddressUpdateParams as AddressUpdateParams,
|
|
294
309
|
};
|
|
295
310
|
|
|
296
|
-
export { Billing as Billing
|
|
311
|
+
export { Billing as Billing };
|
|
297
312
|
}
|