@nirvana-labs/nirvana 1.46.2 → 1.47.0

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.
Files changed (186) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/client.d.mts +5 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +12 -5
  7. package/client.js.map +1 -1
  8. package/client.mjs +12 -5
  9. package/client.mjs.map +1 -1
  10. package/internal/tslib.js +6 -6
  11. package/package.json +1 -1
  12. package/resources/api-keys/api-keys.d.mts +168 -0
  13. package/resources/api-keys/api-keys.d.mts.map +1 -0
  14. package/resources/api-keys/api-keys.d.ts +168 -0
  15. package/resources/api-keys/api-keys.d.ts.map +1 -0
  16. package/resources/api-keys/api-keys.js +76 -0
  17. package/resources/api-keys/api-keys.js.map +1 -0
  18. package/resources/api-keys/api-keys.mjs +72 -0
  19. package/resources/api-keys/api-keys.mjs.map +1 -0
  20. package/resources/api-keys/index.d.mts +2 -0
  21. package/resources/api-keys/index.d.mts.map +1 -0
  22. package/resources/api-keys/index.d.ts +2 -0
  23. package/resources/api-keys/index.d.ts.map +1 -0
  24. package/resources/api-keys/index.js +7 -0
  25. package/resources/api-keys/index.js.map +1 -0
  26. package/resources/api-keys/index.mjs +3 -0
  27. package/resources/api-keys/index.mjs.map +1 -0
  28. package/resources/api-keys.d.mts +1 -167
  29. package/resources/api-keys.d.mts.map +1 -1
  30. package/resources/api-keys.d.ts +1 -167
  31. package/resources/api-keys.d.ts.map +1 -1
  32. package/resources/api-keys.js +2 -72
  33. package/resources/api-keys.js.map +1 -1
  34. package/resources/api-keys.mjs +1 -70
  35. package/resources/api-keys.mjs.map +1 -1
  36. package/resources/compute/vms/vms.d.mts +1 -1
  37. package/resources/compute/vms/vms.d.mts.map +1 -1
  38. package/resources/compute/vms/vms.d.ts +1 -1
  39. package/resources/compute/vms/vms.d.ts.map +1 -1
  40. package/resources/compute/volumes/volumes.d.mts +1 -1
  41. package/resources/compute/volumes/volumes.d.mts.map +1 -1
  42. package/resources/compute/volumes/volumes.d.ts +1 -1
  43. package/resources/compute/volumes/volumes.d.ts.map +1 -1
  44. package/resources/networking/connect/connections.d.mts +1 -1
  45. package/resources/networking/connect/connections.d.mts.map +1 -1
  46. package/resources/networking/connect/connections.d.ts +1 -1
  47. package/resources/networking/connect/connections.d.ts.map +1 -1
  48. package/resources/networking/firewall-rules.d.mts +1 -1
  49. package/resources/networking/firewall-rules.d.mts.map +1 -1
  50. package/resources/networking/firewall-rules.d.ts +1 -1
  51. package/resources/networking/firewall-rules.d.ts.map +1 -1
  52. package/resources/networking/vpcs/vpcs.d.mts +1 -1
  53. package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
  54. package/resources/networking/vpcs/vpcs.d.ts +1 -1
  55. package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
  56. package/resources/operations/index.d.mts +2 -0
  57. package/resources/operations/index.d.mts.map +1 -0
  58. package/resources/operations/index.d.ts +2 -0
  59. package/resources/operations/index.d.ts.map +1 -0
  60. package/resources/operations/index.js +7 -0
  61. package/resources/operations/index.js.map +1 -0
  62. package/resources/operations/index.mjs +3 -0
  63. package/resources/operations/index.mjs.map +1 -0
  64. package/resources/operations/operations.d.mts +82 -0
  65. package/resources/operations/operations.d.mts.map +1 -0
  66. package/resources/operations/operations.d.ts +82 -0
  67. package/resources/operations/operations.d.ts.map +1 -0
  68. package/resources/operations/operations.js +23 -0
  69. package/resources/operations/operations.js.map +1 -0
  70. package/resources/operations/operations.mjs +19 -0
  71. package/resources/operations/operations.mjs.map +1 -0
  72. package/resources/operations.d.mts +1 -81
  73. package/resources/operations.d.mts.map +1 -1
  74. package/resources/operations.d.ts +1 -81
  75. package/resources/operations.d.ts.map +1 -1
  76. package/resources/operations.js +2 -19
  77. package/resources/operations.js.map +1 -1
  78. package/resources/operations.mjs +1 -17
  79. package/resources/operations.mjs.map +1 -1
  80. package/resources/organizations/index.d.mts +2 -0
  81. package/resources/organizations/index.d.mts.map +1 -0
  82. package/resources/organizations/index.d.ts +2 -0
  83. package/resources/organizations/index.d.ts.map +1 -0
  84. package/resources/organizations/index.js +7 -0
  85. package/resources/organizations/index.js.map +1 -0
  86. package/resources/organizations/index.mjs +3 -0
  87. package/resources/organizations/index.mjs.map +1 -0
  88. package/resources/organizations/organizations.d.mts +103 -0
  89. package/resources/organizations/organizations.d.mts.map +1 -0
  90. package/resources/organizations/organizations.d.ts +103 -0
  91. package/resources/organizations/organizations.d.ts.map +1 -0
  92. package/resources/organizations/organizations.js +64 -0
  93. package/resources/organizations/organizations.js.map +1 -0
  94. package/resources/organizations/organizations.mjs +60 -0
  95. package/resources/organizations/organizations.mjs.map +1 -0
  96. package/resources/organizations.d.mts +1 -102
  97. package/resources/organizations.d.mts.map +1 -1
  98. package/resources/organizations.d.ts +1 -102
  99. package/resources/organizations.d.ts.map +1 -1
  100. package/resources/organizations.js +2 -60
  101. package/resources/organizations.js.map +1 -1
  102. package/resources/organizations.mjs +1 -58
  103. package/resources/organizations.mjs.map +1 -1
  104. package/resources/projects/index.d.mts +2 -0
  105. package/resources/projects/index.d.mts.map +1 -0
  106. package/resources/projects/index.d.ts +2 -0
  107. package/resources/projects/index.d.ts.map +1 -0
  108. package/resources/projects/index.js +7 -0
  109. package/resources/projects/index.js.map +1 -0
  110. package/resources/projects/index.mjs +3 -0
  111. package/resources/projects/index.mjs.map +1 -0
  112. package/resources/projects/projects.d.mts +171 -0
  113. package/resources/projects/projects.d.mts.map +1 -0
  114. package/resources/projects/projects.d.ts +171 -0
  115. package/resources/projects/projects.d.ts.map +1 -0
  116. package/resources/projects/projects.js +75 -0
  117. package/resources/projects/projects.js.map +1 -0
  118. package/resources/projects/projects.mjs +71 -0
  119. package/resources/projects/projects.mjs.map +1 -0
  120. package/resources/projects.d.mts +1 -174
  121. package/resources/projects.d.mts.map +1 -1
  122. package/resources/projects.d.ts +1 -174
  123. package/resources/projects.d.ts.map +1 -1
  124. package/resources/projects.js +2 -71
  125. package/resources/projects.js.map +1 -1
  126. package/resources/projects.mjs +1 -69
  127. package/resources/projects.mjs.map +1 -1
  128. package/resources/regions/index.d.mts +2 -0
  129. package/resources/regions/index.d.mts.map +1 -0
  130. package/resources/regions/index.d.ts +2 -0
  131. package/resources/regions/index.d.ts.map +1 -0
  132. package/resources/regions/index.js +7 -0
  133. package/resources/regions/index.js.map +1 -0
  134. package/resources/regions/index.mjs +3 -0
  135. package/resources/regions/index.mjs.map +1 -0
  136. package/resources/regions/regions.d.mts +108 -0
  137. package/resources/regions/regions.d.mts.map +1 -0
  138. package/resources/regions/regions.d.ts +108 -0
  139. package/resources/regions/regions.d.ts.map +1 -0
  140. package/resources/regions/regions.js +36 -0
  141. package/resources/regions/regions.js.map +1 -0
  142. package/resources/regions/regions.mjs +32 -0
  143. package/resources/regions/regions.mjs.map +1 -0
  144. package/resources/regions.d.mts +1 -107
  145. package/resources/regions.d.mts.map +1 -1
  146. package/resources/regions.d.ts +1 -107
  147. package/resources/regions.d.ts.map +1 -1
  148. package/resources/regions.js +2 -32
  149. package/resources/regions.js.map +1 -1
  150. package/resources/regions.mjs +1 -30
  151. package/resources/regions.mjs.map +1 -1
  152. package/src/client.ts +13 -5
  153. package/src/resources/api-keys/api-keys.ts +223 -0
  154. package/src/resources/api-keys/api.md +14 -0
  155. package/src/resources/api-keys/index.ts +3 -0
  156. package/src/resources/api-keys.ts +1 -221
  157. package/src/resources/compute/api.md +68 -0
  158. package/src/resources/compute/vms/vms.ts +1 -1
  159. package/src/resources/compute/volumes/volumes.ts +1 -1
  160. package/src/resources/networking/api.md +67 -0
  161. package/src/resources/networking/connect/connections.ts +1 -1
  162. package/src/resources/networking/firewall-rules.ts +1 -1
  163. package/src/resources/networking/vpcs/vpcs.ts +1 -1
  164. package/src/resources/operations/api.md +14 -0
  165. package/src/resources/operations/index.ts +3 -0
  166. package/src/resources/operations/operations.ts +114 -0
  167. package/src/resources/operations.ts +1 -112
  168. package/src/resources/organizations/api.md +13 -0
  169. package/src/resources/organizations/index.ts +3 -0
  170. package/src/resources/organizations/organizations.ts +142 -0
  171. package/src/resources/organizations.ts +1 -140
  172. package/src/resources/projects/api.md +14 -0
  173. package/src/resources/projects/index.ts +3 -0
  174. package/src/resources/projects/projects.ts +224 -0
  175. package/src/resources/projects.ts +1 -227
  176. package/src/resources/regions/api.md +12 -0
  177. package/src/resources/regions/index.ts +3 -0
  178. package/src/resources/regions/regions.ts +140 -0
  179. package/src/resources/regions.ts +1 -138
  180. package/src/resources/rpc-nodes/api.md +44 -0
  181. package/src/resources/user/api.md +20 -0
  182. package/src/version.ts +1 -1
  183. package/version.d.mts +1 -1
  184. package/version.d.ts +1 -1
  185. package/version.js +1 -1
  186. package/version.mjs +1 -1
@@ -1,229 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../core/resource';
4
- import * as Shared from './shared';
5
- import { APIPromise } from '../core/api-promise';
6
- import { Cursor, type CursorParams, PagePromise } from '../core/pagination';
7
- import { buildHeaders } from '../internal/headers';
8
- import { RequestOptions } from '../internal/request-options';
9
- import { path } from '../internal/utils/path';
10
-
11
- export class Projects extends APIResource {
12
- /**
13
- * Create a new project
14
- *
15
- * @example
16
- * ```ts
17
- * const project = await client.projects.create({
18
- * name: 'My Project',
19
- * });
20
- * ```
21
- */
22
- create(body: ProjectCreateParams, options?: RequestOptions): APIPromise<Project> {
23
- return this._client.post('/v1/projects', { body, ...options });
24
- }
25
-
26
- /**
27
- * Update an existing project
28
- *
29
- * @example
30
- * ```ts
31
- * const project = await client.projects.update('project_id');
32
- * ```
33
- */
34
- update(projectID: string, body: ProjectUpdateParams, options?: RequestOptions): APIPromise<Project> {
35
- return this._client.patch(path`/v1/projects/${projectID}`, { body, ...options });
36
- }
37
-
38
- /**
39
- * List all projects for the authenticated user
40
- *
41
- * @example
42
- * ```ts
43
- * // Automatically fetches more pages as needed.
44
- * for await (const project of client.projects.list()) {
45
- * // ...
46
- * }
47
- * ```
48
- */
49
- list(
50
- query: ProjectListParams | null | undefined = {},
51
- options?: RequestOptions,
52
- ): PagePromise<ProjectsCursor, Project> {
53
- return this._client.getAPIList('/v1/projects', Cursor<Project>, { query, ...options });
54
- }
55
-
56
- /**
57
- * Delete a project
58
- *
59
- * @example
60
- * ```ts
61
- * await client.projects.delete('project_id');
62
- * ```
63
- */
64
- delete(projectID: string, options?: RequestOptions): APIPromise<void> {
65
- return this._client.delete(path`/v1/projects/${projectID}`, {
66
- ...options,
67
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
68
- });
69
- }
70
-
71
- /**
72
- * Get details about a project
73
- *
74
- * @example
75
- * ```ts
76
- * const project = await client.projects.get('project_id');
77
- * ```
78
- */
79
- get(projectID: string, options?: RequestOptions): APIPromise<Project> {
80
- return this._client.get(path`/v1/projects/${projectID}`, options);
81
- }
82
- }
83
-
84
- export type ProjectsCursor = Cursor<Project>;
85
-
86
- /**
87
- * Project response.
88
- */
89
- export interface Project {
90
- /**
91
- * Project ID.
92
- */
93
- id: string;
94
-
95
- /**
96
- * When the Project was created.
97
- */
98
- created_at: string;
99
-
100
- /**
101
- * Project name.
102
- */
103
- name: string;
104
-
105
- /**
106
- * Resource counts for the project.
107
- */
108
- resources: Project.Resources;
109
-
110
- /**
111
- * Tags attached to the Project.
112
- */
113
- tags: Array<string>;
114
-
115
- /**
116
- * When the Project was updated.
117
- */
118
- updated_at: string;
119
-
120
- /**
121
- * User ID that owns the project.
122
- */
123
- user_id: string;
124
- }
125
-
126
- export namespace Project {
127
- /**
128
- * Resource counts for the project.
129
- */
130
- export interface Resources {
131
- /**
132
- * Blockchain resources.
133
- */
134
- blockchain: Resources.Blockchain;
135
-
136
- /**
137
- * Cloud infrastructure resources.
138
- */
139
- cloud: Resources.Cloud;
140
- }
141
-
142
- export namespace Resources {
143
- /**
144
- * Blockchain resources.
145
- */
146
- export interface Blockchain {
147
- /**
148
- * Number of dedicated RPC nodes in the project.
149
- */
150
- rpc_nodes_dedicated: number;
151
-
152
- /**
153
- * Number of flex RPC nodes in the project.
154
- */
155
- rpc_nodes_flex: number;
156
- }
157
-
158
- /**
159
- * Cloud infrastructure resources.
160
- */
161
- export interface Cloud {
162
- /**
163
- * Number of Connect connections in the project.
164
- */
165
- connect_connections: number;
166
-
167
- /**
168
- * Number of VMs in the project.
169
- */
170
- vms: number;
171
-
172
- /**
173
- * Number of volumes in the project.
174
- */
175
- volumes: number;
176
-
177
- /**
178
- * Number of VPCs in the project.
179
- */
180
- vpcs: number;
181
- }
182
- }
183
- }
184
-
185
- export interface ProjectList {
186
- items: Array<Project>;
187
-
188
- /**
189
- * Pagination response details.
190
- */
191
- pagination: Shared.Pagination;
192
- }
193
-
194
- export interface ProjectCreateParams {
195
- /**
196
- * Project name.
197
- */
198
- name: string;
199
-
200
- /**
201
- * Tags to attach to the Project.
202
- */
203
- tags?: Array<string>;
204
- }
205
-
206
- export interface ProjectUpdateParams {
207
- /**
208
- * Project name.
209
- */
210
- name?: string;
211
-
212
- /**
213
- * Tags to attach to the Project.
214
- */
215
- tags?: Array<string>;
216
- }
217
-
218
- export interface ProjectListParams extends CursorParams {}
219
-
220
- export declare namespace Projects {
221
- export {
222
- type Project as Project,
223
- type ProjectList as ProjectList,
224
- type ProjectsCursor as ProjectsCursor,
225
- type ProjectCreateParams as ProjectCreateParams,
226
- type ProjectUpdateParams as ProjectUpdateParams,
227
- type ProjectListParams as ProjectListParams,
228
- };
229
- }
3
+ export * from './projects/index';
@@ -0,0 +1,12 @@
1
+ # Regions
2
+
3
+ Types:
4
+
5
+ - <code><a href="./src/resources/regions.ts">Region</a></code>
6
+ - <code><a href="./src/resources/regions.ts">RegionAvailability</a></code>
7
+ - <code><a href="./src/resources/regions.ts">RegionList</a></code>
8
+
9
+ Methods:
10
+
11
+ - <code title="get /v1/regions">client.regions.<a href="./src/resources/regions.ts">list</a>({ ...params }) -> RegionsCursor</code>
12
+ - <code title="get /v1/regions/{name}">client.regions.<a href="./src/resources/regions.ts">get</a>(name) -> Region</code>
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export { Regions } from './regions';
@@ -0,0 +1,140 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as Shared from '../shared';
5
+ import { APIPromise } from '../../core/api-promise';
6
+ import { Cursor, type CursorParams, PagePromise } from '../../core/pagination';
7
+ import { RequestOptions } from '../../internal/request-options';
8
+ import { path } from '../../internal/utils/path';
9
+
10
+ export class Regions extends APIResource {
11
+ /**
12
+ * List all regions
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * // Automatically fetches more pages as needed.
17
+ * for await (const region of client.regions.list()) {
18
+ * // ...
19
+ * }
20
+ * ```
21
+ */
22
+ list(
23
+ query: RegionListParams | null | undefined = {},
24
+ options?: RequestOptions,
25
+ ): PagePromise<RegionsCursor, Region> {
26
+ return this._client.getAPIList('/v1/regions', Cursor<Region>, { query, ...options });
27
+ }
28
+
29
+ /**
30
+ * Get a region by name
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const region = await client.regions.get('us-wdc-1');
35
+ * ```
36
+ */
37
+ get(name: string, options?: RequestOptions): APIPromise<Region> {
38
+ return this._client.get(path`/v1/regions/${name}`, options);
39
+ }
40
+ }
41
+
42
+ export type RegionsCursor = Cursor<Region>;
43
+
44
+ /**
45
+ * Region response with product availability.
46
+ */
47
+ export interface Region {
48
+ /**
49
+ * Availability status of the region.
50
+ */
51
+ availability: RegionAvailability;
52
+
53
+ /**
54
+ * Compute products available in this region.
55
+ */
56
+ compute: Region.Compute;
57
+
58
+ /**
59
+ * Name of the region.
60
+ */
61
+ name: string;
62
+
63
+ /**
64
+ * Networking products available in this region.
65
+ */
66
+ networking: Region.Networking;
67
+
68
+ /**
69
+ * Storage products available in this region.
70
+ */
71
+ storage: Region.Storage;
72
+ }
73
+
74
+ export namespace Region {
75
+ /**
76
+ * Compute products available in this region.
77
+ */
78
+ export interface Compute {
79
+ /**
80
+ * VMs indicates if Virtual Machines are available.
81
+ */
82
+ vms: boolean;
83
+ }
84
+
85
+ /**
86
+ * Networking products available in this region.
87
+ */
88
+ export interface Networking {
89
+ /**
90
+ * Connect indicates if Nirvana Connect is available.
91
+ */
92
+ connect: boolean;
93
+
94
+ /**
95
+ * VPCs indicates if Virtual Private Clouds are available.
96
+ */
97
+ vpcs: boolean;
98
+ }
99
+
100
+ /**
101
+ * Storage products available in this region.
102
+ */
103
+ export interface Storage {
104
+ /**
105
+ * ABS indicates if Accelerated Block Storage is available.
106
+ */
107
+ abs: boolean;
108
+
109
+ /**
110
+ * LocalNVMe indicates if locally-attached NVMe storage is available.
111
+ */
112
+ local_nvme: boolean;
113
+ }
114
+ }
115
+
116
+ /**
117
+ * Availability status of the region.
118
+ */
119
+ export type RegionAvailability = 'live' | 'preview' | 'maintenance' | 'sunset';
120
+
121
+ export interface RegionList {
122
+ items: Array<Region>;
123
+
124
+ /**
125
+ * Pagination response details.
126
+ */
127
+ pagination: Shared.Pagination;
128
+ }
129
+
130
+ export interface RegionListParams extends CursorParams {}
131
+
132
+ export declare namespace Regions {
133
+ export {
134
+ type Region as Region,
135
+ type RegionAvailability as RegionAvailability,
136
+ type RegionList as RegionList,
137
+ type RegionsCursor as RegionsCursor,
138
+ type RegionListParams as RegionListParams,
139
+ };
140
+ }
@@ -1,140 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../core/resource';
4
- import * as Shared from './shared';
5
- import { APIPromise } from '../core/api-promise';
6
- import { Cursor, type CursorParams, PagePromise } from '../core/pagination';
7
- import { RequestOptions } from '../internal/request-options';
8
- import { path } from '../internal/utils/path';
9
-
10
- export class Regions extends APIResource {
11
- /**
12
- * List all regions
13
- *
14
- * @example
15
- * ```ts
16
- * // Automatically fetches more pages as needed.
17
- * for await (const region of client.regions.list()) {
18
- * // ...
19
- * }
20
- * ```
21
- */
22
- list(
23
- query: RegionListParams | null | undefined = {},
24
- options?: RequestOptions,
25
- ): PagePromise<RegionsCursor, Region> {
26
- return this._client.getAPIList('/v1/regions', Cursor<Region>, { query, ...options });
27
- }
28
-
29
- /**
30
- * Get a region by name
31
- *
32
- * @example
33
- * ```ts
34
- * const region = await client.regions.get('us-wdc-1');
35
- * ```
36
- */
37
- get(name: string, options?: RequestOptions): APIPromise<Region> {
38
- return this._client.get(path`/v1/regions/${name}`, options);
39
- }
40
- }
41
-
42
- export type RegionsCursor = Cursor<Region>;
43
-
44
- /**
45
- * Region response with product availability.
46
- */
47
- export interface Region {
48
- /**
49
- * Availability status of the region.
50
- */
51
- availability: RegionAvailability;
52
-
53
- /**
54
- * Compute products available in this region.
55
- */
56
- compute: Region.Compute;
57
-
58
- /**
59
- * Name of the region.
60
- */
61
- name: string;
62
-
63
- /**
64
- * Networking products available in this region.
65
- */
66
- networking: Region.Networking;
67
-
68
- /**
69
- * Storage products available in this region.
70
- */
71
- storage: Region.Storage;
72
- }
73
-
74
- export namespace Region {
75
- /**
76
- * Compute products available in this region.
77
- */
78
- export interface Compute {
79
- /**
80
- * VMs indicates if Virtual Machines are available.
81
- */
82
- vms: boolean;
83
- }
84
-
85
- /**
86
- * Networking products available in this region.
87
- */
88
- export interface Networking {
89
- /**
90
- * Connect indicates if Nirvana Connect is available.
91
- */
92
- connect: boolean;
93
-
94
- /**
95
- * VPCs indicates if Virtual Private Clouds are available.
96
- */
97
- vpcs: boolean;
98
- }
99
-
100
- /**
101
- * Storage products available in this region.
102
- */
103
- export interface Storage {
104
- /**
105
- * ABS indicates if Accelerated Block Storage is available.
106
- */
107
- abs: boolean;
108
-
109
- /**
110
- * LocalNVMe indicates if locally-attached NVMe storage is available.
111
- */
112
- local_nvme: boolean;
113
- }
114
- }
115
-
116
- /**
117
- * Availability status of the region.
118
- */
119
- export type RegionAvailability = 'live' | 'preview' | 'maintenance' | 'sunset';
120
-
121
- export interface RegionList {
122
- items: Array<Region>;
123
-
124
- /**
125
- * Pagination response details.
126
- */
127
- pagination: Shared.Pagination;
128
- }
129
-
130
- export interface RegionListParams extends CursorParams {}
131
-
132
- export declare namespace Regions {
133
- export {
134
- type Region as Region,
135
- type RegionAvailability as RegionAvailability,
136
- type RegionList as RegionList,
137
- type RegionsCursor as RegionsCursor,
138
- type RegionListParams as RegionListParams,
139
- };
140
- }
3
+ export * from './regions/index';
@@ -0,0 +1,44 @@
1
+ # RPCNodes
2
+
3
+ ## Flex
4
+
5
+ Types:
6
+
7
+ - <code><a href="./src/resources/rpc-nodes/flex/flex.ts">Flex</a></code>
8
+ - <code><a href="./src/resources/rpc-nodes/flex/flex.ts">FlexBlockchain</a></code>
9
+ - <code><a href="./src/resources/rpc-nodes/flex/flex.ts">FlexBlockchainList</a></code>
10
+ - <code><a href="./src/resources/rpc-nodes/flex/flex.ts">FlexList</a></code>
11
+
12
+ Methods:
13
+
14
+ - <code title="post /v1/rpc_nodes/flex">client.rpcNodes.flex.<a href="./src/resources/rpc-nodes/flex/flex.ts">create</a>({ ...params }) -> Flex</code>
15
+ - <code title="patch /v1/rpc_nodes/flex/{node_id}">client.rpcNodes.flex.<a href="./src/resources/rpc-nodes/flex/flex.ts">update</a>(nodeID, { ...params }) -> Flex</code>
16
+ - <code title="get /v1/rpc_nodes/flex">client.rpcNodes.flex.<a href="./src/resources/rpc-nodes/flex/flex.ts">list</a>({ ...params }) -> FlexesCursor</code>
17
+ - <code title="delete /v1/rpc_nodes/flex/{node_id}">client.rpcNodes.flex.<a href="./src/resources/rpc-nodes/flex/flex.ts">delete</a>(nodeID) -> void</code>
18
+ - <code title="get /v1/rpc_nodes/flex/{node_id}">client.rpcNodes.flex.<a href="./src/resources/rpc-nodes/flex/flex.ts">get</a>(nodeID) -> Flex</code>
19
+
20
+ ### Blockchains
21
+
22
+ Methods:
23
+
24
+ - <code title="get /v1/rpc_nodes/flex/blockchains">client.rpcNodes.flex.blockchains.<a href="./src/resources/rpc-nodes/flex/blockchains.ts">list</a>({ ...params }) -> FlexBlockchainsCursor</code>
25
+
26
+ ## Dedicated
27
+
28
+ Types:
29
+
30
+ - <code><a href="./src/resources/rpc-nodes/dedicated/dedicated.ts">Dedicated</a></code>
31
+ - <code><a href="./src/resources/rpc-nodes/dedicated/dedicated.ts">DedicatedBlockchain</a></code>
32
+ - <code><a href="./src/resources/rpc-nodes/dedicated/dedicated.ts">DedicatedBlockchainList</a></code>
33
+ - <code><a href="./src/resources/rpc-nodes/dedicated/dedicated.ts">DedicatedList</a></code>
34
+
35
+ Methods:
36
+
37
+ - <code title="get /v1/rpc_nodes/dedicated">client.rpcNodes.dedicated.<a href="./src/resources/rpc-nodes/dedicated/dedicated.ts">list</a>({ ...params }) -> DedicatedsCursor</code>
38
+ - <code title="get /v1/rpc_nodes/dedicated/{node_id}">client.rpcNodes.dedicated.<a href="./src/resources/rpc-nodes/dedicated/dedicated.ts">get</a>(nodeID) -> Dedicated</code>
39
+
40
+ ### Blockchains
41
+
42
+ Methods:
43
+
44
+ - <code title="get /v1/rpc_nodes/dedicated/blockchains">client.rpcNodes.dedicated.blockchains.<a href="./src/resources/rpc-nodes/dedicated/blockchains.ts">list</a>({ ...params }) -> DedicatedBlockchainsCursor</code>
@@ -0,0 +1,20 @@
1
+ # User
2
+
3
+ Types:
4
+
5
+ - <code><a href="./src/resources/user/user.ts">User</a></code>
6
+
7
+ Methods:
8
+
9
+ - <code title="get /v1/user">client.user.<a href="./src/resources/user/user.ts">get</a>() -> User</code>
10
+
11
+ ## Security
12
+
13
+ Types:
14
+
15
+ - <code><a href="./src/resources/user/security.ts">UserSecurity</a></code>
16
+
17
+ Methods:
18
+
19
+ - <code title="patch /v1/user/security">client.user.security.<a href="./src/resources/user/security.ts">update</a>({ ...params }) -> UserSecurity</code>
20
+ - <code title="get /v1/user/security">client.user.security.<a href="./src/resources/user/security.ts">get</a>() -> UserSecurity</code>
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.46.2'; // x-release-please-version
1
+ export const VERSION = '1.47.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.46.2";
1
+ export declare const VERSION = "1.47.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.46.2";
1
+ export declare const VERSION = "1.47.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.46.2'; // x-release-please-version
4
+ exports.VERSION = '1.47.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.46.2'; // x-release-please-version
1
+ export const VERSION = '1.47.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map