@nirvana-labs/nirvana 1.42.0 → 1.44.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.
- package/CHANGELOG.md +16 -0
- package/README.md +9 -2
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/compute/vms/availability.d.mts +5 -4
- package/resources/compute/vms/availability.d.mts.map +1 -1
- package/resources/compute/vms/availability.d.ts +5 -4
- package/resources/compute/vms/availability.d.ts.map +1 -1
- package/resources/compute/vms/availability.js +1 -0
- package/resources/compute/vms/availability.js.map +1 -1
- package/resources/compute/vms/availability.mjs +1 -0
- package/resources/compute/vms/availability.mjs.map +1 -1
- package/resources/compute/vms/vms.d.mts +10 -7
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +10 -7
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js +5 -2
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs +5 -2
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/volumes/availability.d.mts +5 -4
- package/resources/compute/volumes/availability.d.mts.map +1 -1
- package/resources/compute/volumes/availability.d.ts +5 -4
- package/resources/compute/volumes/availability.d.ts.map +1 -1
- package/resources/compute/volumes/availability.js +1 -0
- package/resources/compute/volumes/availability.js.map +1 -1
- package/resources/compute/volumes/availability.mjs +1 -0
- package/resources/compute/volumes/availability.mjs.map +1 -1
- package/resources/compute/volumes/volumes.d.mts +10 -7
- package/resources/compute/volumes/volumes.d.mts.map +1 -1
- package/resources/compute/volumes/volumes.d.ts +10 -7
- package/resources/compute/volumes/volumes.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.js +5 -2
- package/resources/compute/volumes/volumes.js.map +1 -1
- package/resources/compute/volumes/volumes.mjs +5 -2
- package/resources/compute/volumes/volumes.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/networking/connect/connections.d.mts +10 -7
- package/resources/networking/connect/connections.d.mts.map +1 -1
- package/resources/networking/connect/connections.d.ts +10 -7
- package/resources/networking/connect/connections.d.ts.map +1 -1
- package/resources/networking/connect/connections.js +5 -2
- package/resources/networking/connect/connections.js.map +1 -1
- package/resources/networking/connect/connections.mjs +5 -2
- package/resources/networking/connect/connections.mjs.map +1 -1
- package/resources/networking/vpcs/availability.d.mts +5 -4
- package/resources/networking/vpcs/availability.d.mts.map +1 -1
- package/resources/networking/vpcs/availability.d.ts +5 -4
- package/resources/networking/vpcs/availability.d.ts.map +1 -1
- package/resources/networking/vpcs/availability.js +1 -0
- package/resources/networking/vpcs/availability.js.map +1 -1
- package/resources/networking/vpcs/availability.mjs +1 -0
- package/resources/networking/vpcs/availability.mjs.map +1 -1
- package/resources/networking/vpcs/vpcs.d.mts +10 -7
- package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.ts +10 -7
- package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.js +5 -2
- package/resources/networking/vpcs/vpcs.js.map +1 -1
- package/resources/networking/vpcs/vpcs.mjs +5 -2
- package/resources/networking/vpcs/vpcs.mjs.map +1 -1
- package/resources/operations.d.mts +6 -6
- package/resources/operations.d.mts.map +1 -1
- package/resources/operations.d.ts +6 -6
- package/resources/operations.d.ts.map +1 -1
- package/resources/operations.js +1 -1
- package/resources/operations.js.map +1 -1
- package/resources/operations.mjs +1 -1
- package/resources/operations.mjs.map +1 -1
- package/resources/organizations.d.mts +50 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +50 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +23 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +19 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +5 -3
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +5 -3
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +4 -2
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +4 -2
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +5 -3
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +5 -3
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +4 -2
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +4 -2
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/src/client.ts +5 -0
- package/src/resources/compute/vms/availability.ts +6 -5
- package/src/resources/compute/vms/vms.ts +11 -8
- package/src/resources/compute/volumes/availability.ts +6 -5
- package/src/resources/compute/volumes/volumes.ts +11 -11
- package/src/resources/index.ts +1 -0
- package/src/resources/networking/connect/connections.ts +11 -8
- package/src/resources/networking/vpcs/availability.ts +6 -5
- package/src/resources/networking/vpcs/vpcs.ts +11 -8
- package/src/resources/operations.ts +7 -10
- package/src/resources/organizations.ts +74 -0
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +5 -6
- package/src/resources/rpc-nodes/flex/flex.ts +5 -6
- 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
|
@@ -26,6 +26,7 @@ export class Volumes extends APIResource {
|
|
|
26
26
|
* ```ts
|
|
27
27
|
* const operation = await client.compute.volumes.create({
|
|
28
28
|
* name: 'my-data-volume',
|
|
29
|
+
* project_id: '123e4567-e89b-12d3-a456-426614174000',
|
|
29
30
|
* region: 'us-wdc-1',
|
|
30
31
|
* size: 100,
|
|
31
32
|
* type: 'nvme',
|
|
@@ -60,15 +61,14 @@ export class Volumes extends APIResource {
|
|
|
60
61
|
* @example
|
|
61
62
|
* ```ts
|
|
62
63
|
* // Automatically fetches more pages as needed.
|
|
63
|
-
* for await (const volume of client.compute.volumes.list(
|
|
64
|
+
* for await (const volume of client.compute.volumes.list({
|
|
65
|
+
* project_id: 'project_id',
|
|
66
|
+
* })) {
|
|
64
67
|
* // ...
|
|
65
68
|
* }
|
|
66
69
|
* ```
|
|
67
70
|
*/
|
|
68
|
-
list(
|
|
69
|
-
query: VolumeListParams | null | undefined = {},
|
|
70
|
-
options?: RequestOptions,
|
|
71
|
-
): PagePromise<VolumesCursor, Volume> {
|
|
71
|
+
list(query: VolumeListParams, options?: RequestOptions): PagePromise<VolumesCursor, Volume> {
|
|
72
72
|
return this._client.getAPIList('/v1/compute/volumes', Cursor<Volume>, { query, ...options });
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -231,6 +231,11 @@ export interface VolumeCreateParams {
|
|
|
231
231
|
*/
|
|
232
232
|
name: string;
|
|
233
233
|
|
|
234
|
+
/**
|
|
235
|
+
* Project ID the Volume belongs to.
|
|
236
|
+
*/
|
|
237
|
+
project_id: string;
|
|
238
|
+
|
|
234
239
|
/**
|
|
235
240
|
* Region the resource is in.
|
|
236
241
|
*/
|
|
@@ -246,11 +251,6 @@ export interface VolumeCreateParams {
|
|
|
246
251
|
*/
|
|
247
252
|
type: VolumeType;
|
|
248
253
|
|
|
249
|
-
/**
|
|
250
|
-
* Project ID the Volume belongs to.
|
|
251
|
-
*/
|
|
252
|
-
project_id?: string;
|
|
253
|
-
|
|
254
254
|
/**
|
|
255
255
|
* Tags to attach to the Volume.
|
|
256
256
|
*/
|
|
@@ -283,7 +283,7 @@ export interface VolumeListParams extends CursorParams {
|
|
|
283
283
|
/**
|
|
284
284
|
* Project ID of resources to request
|
|
285
285
|
*/
|
|
286
|
-
project_id
|
|
286
|
+
project_id: string;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
export interface VolumeAttachParams {
|
package/src/resources/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { APIKeys } from './api-keys';
|
|
|
5
5
|
export { Compute } from './compute/compute';
|
|
6
6
|
export { Networking } from './networking/networking';
|
|
7
7
|
export { Operations } from './operations';
|
|
8
|
+
export { Organizations } from './organizations';
|
|
8
9
|
export { Projects } from './projects';
|
|
9
10
|
export { RPCNodes } from './rpc-nodes/rpc-nodes';
|
|
10
11
|
export { Regions } from './regions';
|
|
@@ -21,6 +21,7 @@ export class Connections extends APIResource {
|
|
|
21
21
|
* bandwidth_mbps: 50,
|
|
22
22
|
* cidrs: ['10.0.0.0/16'],
|
|
23
23
|
* name: 'my-connect-connection',
|
|
24
|
+
* project_id: '123e4567-e89b-12d3-a456-426614174000',
|
|
24
25
|
* provider_cidrs: ['172.16.0.0/16'],
|
|
25
26
|
* region: 'us-wdc-1',
|
|
26
27
|
* });
|
|
@@ -55,13 +56,15 @@ export class Connections extends APIResource {
|
|
|
55
56
|
* @example
|
|
56
57
|
* ```ts
|
|
57
58
|
* // Automatically fetches more pages as needed.
|
|
58
|
-
* for await (const connectConnection of client.networking.connect.connections.list(
|
|
59
|
+
* for await (const connectConnection of client.networking.connect.connections.list(
|
|
60
|
+
* { project_id: 'project_id' },
|
|
61
|
+
* )) {
|
|
59
62
|
* // ...
|
|
60
63
|
* }
|
|
61
64
|
* ```
|
|
62
65
|
*/
|
|
63
66
|
list(
|
|
64
|
-
query: ConnectionListParams
|
|
67
|
+
query: ConnectionListParams,
|
|
65
68
|
options?: RequestOptions,
|
|
66
69
|
): PagePromise<ConnectConnectionsCursor, ConnectAPI.ConnectConnection> {
|
|
67
70
|
return this._client.getAPIList(
|
|
@@ -118,6 +121,11 @@ export interface ConnectionCreateParams {
|
|
|
118
121
|
*/
|
|
119
122
|
name: string;
|
|
120
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Project ID the Connect Connection belongs to
|
|
126
|
+
*/
|
|
127
|
+
project_id: string;
|
|
128
|
+
|
|
121
129
|
/**
|
|
122
130
|
* Provider CIDRs. Must be in network-aligned/canonical form.
|
|
123
131
|
*/
|
|
@@ -133,11 +141,6 @@ export interface ConnectionCreateParams {
|
|
|
133
141
|
*/
|
|
134
142
|
aws?: ConnectAPI.ConnectConnectionAWSConfigRequest;
|
|
135
143
|
|
|
136
|
-
/**
|
|
137
|
-
* Project ID the Connect Connection belongs to
|
|
138
|
-
*/
|
|
139
|
-
project_id?: string;
|
|
140
|
-
|
|
141
144
|
/**
|
|
142
145
|
* Tags to attach to the Connect Connection
|
|
143
146
|
*/
|
|
@@ -160,7 +163,7 @@ export interface ConnectionListParams extends CursorParams {
|
|
|
160
163
|
/**
|
|
161
164
|
* Project ID of resources to request
|
|
162
165
|
*/
|
|
163
|
-
project_id
|
|
166
|
+
project_id: string;
|
|
164
167
|
}
|
|
165
168
|
|
|
166
169
|
export declare namespace Connections {
|
|
@@ -16,6 +16,7 @@ export class Availability extends APIResource {
|
|
|
16
16
|
* const availability =
|
|
17
17
|
* await client.networking.vpcs.availability.create({
|
|
18
18
|
* name: 'my-vpc',
|
|
19
|
+
* project_id: '123e4567-e89b-12d3-a456-426614174000',
|
|
19
20
|
* region: 'us-wdc-1',
|
|
20
21
|
* subnet_name: 'my-subnet',
|
|
21
22
|
* });
|
|
@@ -59,6 +60,11 @@ export interface AvailabilityCreateParams {
|
|
|
59
60
|
*/
|
|
60
61
|
name: string;
|
|
61
62
|
|
|
63
|
+
/**
|
|
64
|
+
* Project ID the VPC belongs to.
|
|
65
|
+
*/
|
|
66
|
+
project_id: string;
|
|
67
|
+
|
|
62
68
|
/**
|
|
63
69
|
* Region the resource is in.
|
|
64
70
|
*/
|
|
@@ -69,11 +75,6 @@ export interface AvailabilityCreateParams {
|
|
|
69
75
|
*/
|
|
70
76
|
subnet_name: string;
|
|
71
77
|
|
|
72
|
-
/**
|
|
73
|
-
* Project ID the VPC belongs to.
|
|
74
|
-
*/
|
|
75
|
-
project_id?: string;
|
|
76
|
-
|
|
77
78
|
/**
|
|
78
79
|
* Tags to attach to the VPC.
|
|
79
80
|
*/
|
|
@@ -26,6 +26,7 @@ export class VPCs extends APIResource {
|
|
|
26
26
|
* ```ts
|
|
27
27
|
* const operation = await client.networking.vpcs.create({
|
|
28
28
|
* name: 'my-vpc',
|
|
29
|
+
* project_id: '123e4567-e89b-12d3-a456-426614174000',
|
|
29
30
|
* region: 'us-wdc-1',
|
|
30
31
|
* subnet_name: 'my-subnet',
|
|
31
32
|
* });
|
|
@@ -59,12 +60,14 @@ export class VPCs extends APIResource {
|
|
|
59
60
|
* @example
|
|
60
61
|
* ```ts
|
|
61
62
|
* // Automatically fetches more pages as needed.
|
|
62
|
-
* for await (const vpc of client.networking.vpcs.list(
|
|
63
|
+
* for await (const vpc of client.networking.vpcs.list({
|
|
64
|
+
* project_id: 'project_id',
|
|
65
|
+
* })) {
|
|
63
66
|
* // ...
|
|
64
67
|
* }
|
|
65
68
|
* ```
|
|
66
69
|
*/
|
|
67
|
-
list(query: VPCListParams
|
|
70
|
+
list(query: VPCListParams, options?: RequestOptions): PagePromise<VPCsCursor, VPC> {
|
|
68
71
|
return this._client.getAPIList('/v1/networking/vpcs', Cursor<VPC>, { query, ...options });
|
|
69
72
|
}
|
|
70
73
|
|
|
@@ -197,6 +200,11 @@ export interface VPCCreateParams {
|
|
|
197
200
|
*/
|
|
198
201
|
name: string;
|
|
199
202
|
|
|
203
|
+
/**
|
|
204
|
+
* Project ID the VPC belongs to.
|
|
205
|
+
*/
|
|
206
|
+
project_id: string;
|
|
207
|
+
|
|
200
208
|
/**
|
|
201
209
|
* Region the resource is in.
|
|
202
210
|
*/
|
|
@@ -207,11 +215,6 @@ export interface VPCCreateParams {
|
|
|
207
215
|
*/
|
|
208
216
|
subnet_name: string;
|
|
209
217
|
|
|
210
|
-
/**
|
|
211
|
-
* Project ID the VPC belongs to.
|
|
212
|
-
*/
|
|
213
|
-
project_id?: string;
|
|
214
|
-
|
|
215
218
|
/**
|
|
216
219
|
* Tags to attach to the VPC.
|
|
217
220
|
*/
|
|
@@ -239,7 +242,7 @@ export interface VPCListParams extends CursorParams {
|
|
|
239
242
|
/**
|
|
240
243
|
* Project ID of resources to request
|
|
241
244
|
*/
|
|
242
|
-
project_id
|
|
245
|
+
project_id: string;
|
|
243
246
|
}
|
|
244
247
|
|
|
245
248
|
VPCs.Availability = Availability;
|
|
@@ -11,10 +11,7 @@ export class Operations extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* List all operations
|
|
13
13
|
*/
|
|
14
|
-
list(
|
|
15
|
-
query: OperationListParams | null | undefined = {},
|
|
16
|
-
options?: RequestOptions,
|
|
17
|
-
): PagePromise<OperationsCursor, Operation> {
|
|
14
|
+
list(query: OperationListParams, options?: RequestOptions): PagePromise<OperationsCursor, Operation> {
|
|
18
15
|
return this._client.getAPIList('/v1/operations', Cursor<Operation>, { query, ...options });
|
|
19
16
|
}
|
|
20
17
|
|
|
@@ -47,6 +44,11 @@ export interface Operation {
|
|
|
47
44
|
*/
|
|
48
45
|
kind: OperationKind;
|
|
49
46
|
|
|
47
|
+
/**
|
|
48
|
+
* Project ID the Operation belongs to.
|
|
49
|
+
*/
|
|
50
|
+
project_id: string;
|
|
51
|
+
|
|
50
52
|
/**
|
|
51
53
|
* ID of the resource that the Operation is acting on.
|
|
52
54
|
*/
|
|
@@ -66,11 +68,6 @@ export interface Operation {
|
|
|
66
68
|
* When the Operation was updated.
|
|
67
69
|
*/
|
|
68
70
|
updated_at: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Project ID the Operation belongs to.
|
|
72
|
-
*/
|
|
73
|
-
project_id?: string;
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
/**
|
|
@@ -101,7 +98,7 @@ export interface OperationListParams extends CursorParams {
|
|
|
101
98
|
/**
|
|
102
99
|
* Project ID of resources to request
|
|
103
100
|
*/
|
|
104
|
-
project_id
|
|
101
|
+
project_id: string;
|
|
105
102
|
}
|
|
106
103
|
|
|
107
104
|
export declare namespace Operations {
|
|
@@ -0,0 +1,74 @@
|
|
|
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 Organizations extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* List all Organizations
|
|
13
|
+
*/
|
|
14
|
+
list(
|
|
15
|
+
query: OrganizationListParams | null | undefined = {},
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): PagePromise<OrganizationsCursor, Organization> {
|
|
18
|
+
return this._client.getAPIList('/v1/organizations', Cursor<Organization>, { query, ...options });
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Get details about an Organization
|
|
23
|
+
*/
|
|
24
|
+
get(organizationID: string, options?: RequestOptions): APIPromise<Organization> {
|
|
25
|
+
return this._client.get(path`/v1/organizations/${organizationID}`, options);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type OrganizationsCursor = Cursor<Organization>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Organization response.
|
|
33
|
+
*/
|
|
34
|
+
export interface Organization {
|
|
35
|
+
/**
|
|
36
|
+
* Organization ID.
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* When the Organization was created.
|
|
42
|
+
*/
|
|
43
|
+
created_at: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Organization name.
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* When the Organization was updated.
|
|
52
|
+
*/
|
|
53
|
+
updated_at: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface OrganizationList {
|
|
57
|
+
items: Array<Organization>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Pagination response details.
|
|
61
|
+
*/
|
|
62
|
+
pagination: Shared.Pagination;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface OrganizationListParams extends CursorParams {}
|
|
66
|
+
|
|
67
|
+
export declare namespace Organizations {
|
|
68
|
+
export {
|
|
69
|
+
type Organization as Organization,
|
|
70
|
+
type OrganizationList as OrganizationList,
|
|
71
|
+
type OrganizationsCursor as OrganizationsCursor,
|
|
72
|
+
type OrganizationListParams as OrganizationListParams,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -18,15 +18,14 @@ export class DedicatedResource extends APIResource {
|
|
|
18
18
|
* @example
|
|
19
19
|
* ```ts
|
|
20
20
|
* // Automatically fetches more pages as needed.
|
|
21
|
-
* for await (const dedicated of client.rpcNodes.dedicated.list(
|
|
21
|
+
* for await (const dedicated of client.rpcNodes.dedicated.list(
|
|
22
|
+
* { project_id: 'project_id' },
|
|
23
|
+
* )) {
|
|
22
24
|
* // ...
|
|
23
25
|
* }
|
|
24
26
|
* ```
|
|
25
27
|
*/
|
|
26
|
-
list(
|
|
27
|
-
query: DedicatedListParams | null | undefined = {},
|
|
28
|
-
options?: RequestOptions,
|
|
29
|
-
): PagePromise<DedicatedsCursor, Dedicated> {
|
|
28
|
+
list(query: DedicatedListParams, options?: RequestOptions): PagePromise<DedicatedsCursor, Dedicated> {
|
|
30
29
|
return this._client.getAPIList('/v1/rpc_nodes/dedicated', Cursor<Dedicated>, { query, ...options });
|
|
31
30
|
}
|
|
32
31
|
|
|
@@ -136,7 +135,7 @@ export interface DedicatedListParams extends CursorParams {
|
|
|
136
135
|
/**
|
|
137
136
|
* Project ID of resources to request
|
|
138
137
|
*/
|
|
139
|
-
project_id
|
|
138
|
+
project_id: string;
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
DedicatedResource.Blockchains = Blockchains;
|
|
@@ -48,15 +48,14 @@ export class FlexResource extends APIResource {
|
|
|
48
48
|
* @example
|
|
49
49
|
* ```ts
|
|
50
50
|
* // Automatically fetches more pages as needed.
|
|
51
|
-
* for await (const flex of client.rpcNodes.flex.list(
|
|
51
|
+
* for await (const flex of client.rpcNodes.flex.list({
|
|
52
|
+
* project_id: 'project_id',
|
|
53
|
+
* })) {
|
|
52
54
|
* // ...
|
|
53
55
|
* }
|
|
54
56
|
* ```
|
|
55
57
|
*/
|
|
56
|
-
list(
|
|
57
|
-
query: FlexListParams | null | undefined = {},
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): PagePromise<FlexesCursor, Flex> {
|
|
58
|
+
list(query: FlexListParams, options?: RequestOptions): PagePromise<FlexesCursor, Flex> {
|
|
60
59
|
return this._client.getAPIList('/v1/rpc_nodes/flex', Cursor<Flex>, { query, ...options });
|
|
61
60
|
}
|
|
62
61
|
|
|
@@ -218,7 +217,7 @@ export interface FlexListParams extends CursorParams {
|
|
|
218
217
|
/**
|
|
219
218
|
* Project ID of resources to request
|
|
220
219
|
*/
|
|
221
|
-
project_id
|
|
220
|
+
project_id: string;
|
|
222
221
|
}
|
|
223
222
|
|
|
224
223
|
FlexResource.Blockchains = Blockchains;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.44.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.44.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.44.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.44.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|