@nirvana-labs/nirvana 1.18.3 → 1.20.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 +26 -0
- package/README.md +7 -7
- package/package.json +1 -1
- package/resources/compute/vms/availability.d.mts +17 -1
- package/resources/compute/vms/availability.d.mts.map +1 -1
- package/resources/compute/vms/availability.d.ts +17 -1
- package/resources/compute/vms/availability.d.ts.map +1 -1
- package/resources/compute/vms/availability.js +1 -1
- package/resources/compute/vms/availability.mjs +1 -1
- package/resources/compute/vms/vms.d.mts +21 -1
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +21 -1
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js +1 -1
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs +1 -1
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/volumes/availability.d.mts +8 -0
- package/resources/compute/volumes/availability.d.mts.map +1 -1
- package/resources/compute/volumes/availability.d.ts +8 -0
- package/resources/compute/volumes/availability.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.d.mts +12 -0
- package/resources/compute/volumes/volumes.d.mts.map +1 -1
- package/resources/compute/volumes/volumes.d.ts +12 -0
- package/resources/compute/volumes/volumes.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.js.map +1 -1
- package/resources/compute/volumes/volumes.mjs.map +1 -1
- package/resources/connect/connect.d.mts +3 -3
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +3 -3
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js +2 -2
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs +3 -3
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/flux/flux.d.mts +6 -204
- package/resources/connect/flux/flux.d.mts.map +1 -1
- package/resources/connect/flux/flux.d.ts +6 -204
- package/resources/connect/flux/flux.d.ts.map +1 -1
- package/resources/connect/flux/flux.js +7 -73
- package/resources/connect/flux/flux.js.map +1 -1
- package/resources/connect/flux/flux.mjs +5 -71
- package/resources/connect/flux/flux.mjs.map +1 -1
- package/resources/connect/flux/index.d.mts +2 -2
- package/resources/connect/flux/index.d.mts.map +1 -1
- package/resources/connect/flux/index.d.ts +2 -2
- package/resources/connect/flux/index.d.ts.map +1 -1
- package/resources/connect/flux/index.js +4 -4
- package/resources/connect/flux/index.js.map +1 -1
- package/resources/connect/flux/index.mjs +2 -2
- package/resources/connect/flux/index.mjs.map +1 -1
- package/resources/connect/flux/routes.d.mts +4 -0
- package/resources/connect/flux/routes.d.mts.map +1 -0
- package/resources/connect/flux/routes.d.ts +4 -0
- package/resources/connect/flux/routes.d.ts.map +1 -0
- package/resources/connect/flux/routes.js +9 -0
- package/resources/connect/flux/routes.js.map +1 -0
- package/resources/connect/flux/routes.mjs +5 -0
- package/resources/connect/flux/routes.mjs.map +1 -0
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js +2 -2
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/networking/connect/connect.d.mts +130 -0
- package/resources/networking/connect/connect.d.mts.map +1 -0
- package/resources/networking/connect/connect.d.ts +130 -0
- package/resources/networking/connect/connect.d.ts.map +1 -0
- package/resources/networking/connect/connect.js +21 -0
- package/resources/networking/connect/connect.js.map +1 -0
- package/resources/networking/connect/connect.mjs +16 -0
- package/resources/networking/connect/connect.mjs.map +1 -0
- package/resources/networking/connect/connections.d.mts +114 -0
- package/resources/networking/connect/connections.d.mts.map +1 -0
- package/resources/networking/connect/connections.d.ts +114 -0
- package/resources/networking/connect/connections.d.ts.map +1 -0
- package/resources/networking/connect/connections.js +82 -0
- package/resources/networking/connect/connections.js.map +1 -0
- package/resources/networking/connect/connections.mjs +78 -0
- package/resources/networking/connect/connections.mjs.map +1 -0
- package/resources/networking/connect/index.d.mts +4 -0
- package/resources/networking/connect/index.d.mts.map +1 -0
- package/resources/networking/connect/index.d.ts +4 -0
- package/resources/networking/connect/index.d.ts.map +1 -0
- package/resources/networking/connect/index.js +11 -0
- package/resources/networking/connect/index.js.map +1 -0
- package/resources/networking/connect/index.mjs +5 -0
- package/resources/networking/connect/index.mjs.map +1 -0
- package/resources/networking/connect/routes.d.mts +17 -0
- package/resources/networking/connect/routes.d.mts.map +1 -0
- package/resources/networking/connect/routes.d.ts +17 -0
- package/resources/networking/connect/routes.d.ts.map +1 -0
- package/resources/networking/connect/routes.js +21 -0
- package/resources/networking/connect/routes.js.map +1 -0
- package/resources/networking/connect/routes.mjs +17 -0
- package/resources/networking/connect/routes.mjs.map +1 -0
- package/resources/networking/connect.d.mts +2 -0
- package/resources/networking/connect.d.mts.map +1 -0
- package/resources/networking/connect.d.ts +2 -0
- package/resources/networking/connect.d.ts.map +1 -0
- package/resources/networking/connect.js +6 -0
- package/resources/networking/connect.js.map +1 -0
- package/resources/networking/connect.mjs +3 -0
- package/resources/networking/connect.mjs.map +1 -0
- package/resources/networking/firewall-rules.d.mts +12 -0
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +12 -0
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/index.d.mts +1 -0
- package/resources/networking/index.d.mts.map +1 -1
- package/resources/networking/index.d.ts +1 -0
- package/resources/networking/index.d.ts.map +1 -1
- package/resources/networking/index.js +5 -3
- package/resources/networking/index.js.map +1 -1
- package/resources/networking/index.mjs +1 -0
- package/resources/networking/index.mjs.map +1 -1
- package/resources/networking/networking.d.mts +4 -0
- package/resources/networking/networking.d.mts.map +1 -1
- package/resources/networking/networking.d.ts +4 -0
- package/resources/networking/networking.d.ts.map +1 -1
- package/resources/networking/networking.js +4 -0
- package/resources/networking/networking.js.map +1 -1
- package/resources/networking/networking.mjs +4 -0
- package/resources/networking/networking.mjs.map +1 -1
- package/resources/networking/vpcs/availability.d.mts +8 -0
- package/resources/networking/vpcs/availability.d.mts.map +1 -1
- package/resources/networking/vpcs/availability.d.ts +8 -0
- package/resources/networking/vpcs/availability.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.mts +12 -0
- package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.ts +12 -0
- package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.js.map +1 -1
- package/resources/networking/vpcs/vpcs.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.mts +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.js +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.js.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.mjs +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +17 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +17 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts +6 -0
- package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts +6 -0
- package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.js +6 -0
- package/resources/rpc-nodes/flex/blockchains.js.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.mjs +6 -0
- package/resources/rpc-nodes/flex/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +74 -1
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +74 -1
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +51 -0
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +51 -0
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/rpc-nodes/flex/index.d.mts +1 -1
- package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/index.d.ts +1 -1
- package/resources/rpc-nodes/flex/index.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/index.js.map +1 -1
- package/resources/rpc-nodes/flex/index.mjs +1 -1
- package/resources/rpc-nodes/flex/index.mjs.map +1 -1
- package/resources/rpc-nodes/index.d.mts +1 -1
- package/resources/rpc-nodes/index.d.mts.map +1 -1
- package/resources/rpc-nodes/index.d.ts +1 -1
- package/resources/rpc-nodes/index.d.ts.map +1 -1
- package/resources/rpc-nodes/index.js.map +1 -1
- package/resources/rpc-nodes/index.mjs.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.mts +2 -2
- package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.ts +2 -2
- package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs.map +1 -1
- package/src/resources/compute/vms/availability.ts +21 -1
- package/src/resources/compute/vms/vms.ts +26 -1
- package/src/resources/compute/volumes/availability.ts +10 -0
- package/src/resources/compute/volumes/volumes.ts +15 -0
- package/src/resources/connect/connect.ts +4 -26
- package/src/resources/connect/flux/flux.ts +7 -265
- package/src/resources/connect/flux/index.ts +2 -13
- package/src/resources/connect/flux/routes.ts +5 -0
- package/src/resources/connect/index.ts +1 -12
- package/src/resources/networking/connect/connect.ts +174 -0
- package/src/resources/networking/connect/connections.ts +148 -0
- package/src/resources/networking/connect/index.ts +14 -0
- package/src/resources/networking/connect/routes.ts +21 -0
- package/src/resources/networking/connect.ts +3 -0
- package/src/resources/networking/firewall-rules.ts +15 -0
- package/src/resources/networking/index.ts +10 -0
- package/src/resources/networking/networking.ts +24 -0
- package/src/resources/networking/vpcs/availability.ts +10 -0
- package/src/resources/networking/vpcs/vpcs.ts +15 -0
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +18 -0
- package/src/resources/rpc-nodes/flex/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/flex/flex.ts +95 -0
- package/src/resources/rpc-nodes/flex/index.ts +9 -1
- package/src/resources/rpc-nodes/index.ts +2 -0
- package/src/resources/rpc-nodes/rpc-nodes.ts +11 -1
- 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/resources/connect/flux/providers.d.mts +0 -17
- package/resources/connect/flux/providers.d.mts.map +0 -1
- package/resources/connect/flux/providers.d.ts +0 -17
- package/resources/connect/flux/providers.d.ts.map +0 -1
- package/resources/connect/flux/providers.js +0 -21
- package/resources/connect/flux/providers.js.map +0 -1
- package/resources/connect/flux/providers.mjs +0 -17
- package/resources/connect/flux/providers.mjs.map +0 -1
- package/src/resources/connect/flux/providers.ts +0 -21
|
@@ -4,21 +4,75 @@ import { APIResource } from '../../../core/resource';
|
|
|
4
4
|
import * as BlockchainsAPI from './blockchains';
|
|
5
5
|
import { Blockchains } from './blockchains';
|
|
6
6
|
import { APIPromise } from '../../../core/api-promise';
|
|
7
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
7
8
|
import { RequestOptions } from '../../../internal/request-options';
|
|
8
9
|
import { path } from '../../../internal/utils/path';
|
|
9
10
|
|
|
10
11
|
export class FlexResource extends APIResource {
|
|
11
12
|
blockchains: BlockchainsAPI.Blockchains = new BlockchainsAPI.Blockchains(this._client);
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Create a new RPC Node Flex
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const flex = await client.rpcNodes.flex.create({
|
|
20
|
+
* blockchain: 'ethereum',
|
|
21
|
+
* name: 'my-ethereum-node',
|
|
22
|
+
* network: 'mainnet',
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
create(body: FlexCreateParams, options?: RequestOptions): APIPromise<Flex> {
|
|
27
|
+
return this._client.post('/v1/rpc_nodes/flex', { body, ...options });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Update an existing RPC Node Flex
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
update(nodeID: string, body: FlexUpdateParams, options?: RequestOptions): APIPromise<Flex> {
|
|
39
|
+
return this._client.patch(path`/v1/rpc_nodes/flex/${nodeID}`, { body, ...options });
|
|
40
|
+
}
|
|
41
|
+
|
|
13
42
|
/**
|
|
14
43
|
* List all RPC Node Flex you created
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const flexList = await client.rpcNodes.flex.list();
|
|
48
|
+
* ```
|
|
15
49
|
*/
|
|
16
50
|
list(options?: RequestOptions): APIPromise<FlexList> {
|
|
17
51
|
return this._client.get('/v1/rpc_nodes/flex', options);
|
|
18
52
|
}
|
|
19
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Delete an RPC Node Flex
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* await client.rpcNodes.flex.delete('node_id');
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
delete(nodeID: string, options?: RequestOptions): APIPromise<void> {
|
|
63
|
+
return this._client.delete(path`/v1/rpc_nodes/flex/${nodeID}`, {
|
|
64
|
+
...options,
|
|
65
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
20
69
|
/**
|
|
21
70
|
* Get details about an RPC Node Flex
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
75
|
+
* ```
|
|
22
76
|
*/
|
|
23
77
|
get(nodeID: string, options?: RequestOptions): APIPromise<Flex> {
|
|
24
78
|
return this._client.get(path`/v1/rpc_nodes/flex/${nodeID}`, options);
|
|
@@ -59,6 +113,11 @@ export interface Flex {
|
|
|
59
113
|
*/
|
|
60
114
|
network: string;
|
|
61
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Tags to attach to the RPC Node Flex.
|
|
118
|
+
*/
|
|
119
|
+
tags: Array<string>;
|
|
120
|
+
|
|
62
121
|
/**
|
|
63
122
|
* When the RPC Node Flex was updated.
|
|
64
123
|
*/
|
|
@@ -88,6 +147,40 @@ export interface FlexList {
|
|
|
88
147
|
items: Array<Flex>;
|
|
89
148
|
}
|
|
90
149
|
|
|
150
|
+
export interface FlexCreateParams {
|
|
151
|
+
/**
|
|
152
|
+
* Blockchain.
|
|
153
|
+
*/
|
|
154
|
+
blockchain: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Name of the RPC Node Flex.
|
|
158
|
+
*/
|
|
159
|
+
name: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Network type (e.g., mainnet, testnet).
|
|
163
|
+
*/
|
|
164
|
+
network: string;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Tags to attach to the RPC Node Flex (optional, max 50).
|
|
168
|
+
*/
|
|
169
|
+
tags?: Array<string>;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface FlexUpdateParams {
|
|
173
|
+
/**
|
|
174
|
+
* Name of the RPC Node Flex.
|
|
175
|
+
*/
|
|
176
|
+
name?: string;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Tags to attach to the RPC Node Flex (optional, max 50).
|
|
180
|
+
*/
|
|
181
|
+
tags?: Array<string>;
|
|
182
|
+
}
|
|
183
|
+
|
|
91
184
|
FlexResource.Blockchains = Blockchains;
|
|
92
185
|
|
|
93
186
|
export declare namespace FlexResource {
|
|
@@ -96,6 +189,8 @@ export declare namespace FlexResource {
|
|
|
96
189
|
type FlexBlockchain as FlexBlockchain,
|
|
97
190
|
type FlexBlockchainList as FlexBlockchainList,
|
|
98
191
|
type FlexList as FlexList,
|
|
192
|
+
type FlexCreateParams as FlexCreateParams,
|
|
193
|
+
type FlexUpdateParams as FlexUpdateParams,
|
|
99
194
|
};
|
|
100
195
|
|
|
101
196
|
export { Blockchains as Blockchains };
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export { Blockchains } from './blockchains';
|
|
4
|
-
export {
|
|
4
|
+
export {
|
|
5
|
+
FlexResource,
|
|
6
|
+
type Flex,
|
|
7
|
+
type FlexBlockchain,
|
|
8
|
+
type FlexBlockchainList,
|
|
9
|
+
type FlexList,
|
|
10
|
+
type FlexCreateParams,
|
|
11
|
+
type FlexUpdateParams,
|
|
12
|
+
} from './flex';
|
|
@@ -10,7 +10,15 @@ import {
|
|
|
10
10
|
DedicatedResource,
|
|
11
11
|
} from './dedicated/dedicated';
|
|
12
12
|
import * as FlexAPI from './flex/flex';
|
|
13
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
Flex,
|
|
15
|
+
FlexBlockchain,
|
|
16
|
+
FlexBlockchainList,
|
|
17
|
+
FlexCreateParams,
|
|
18
|
+
FlexList,
|
|
19
|
+
FlexResource,
|
|
20
|
+
FlexUpdateParams,
|
|
21
|
+
} from './flex/flex';
|
|
14
22
|
|
|
15
23
|
export class RPCNodes extends APIResource {
|
|
16
24
|
flex: FlexAPI.FlexResource = new FlexAPI.FlexResource(this._client);
|
|
@@ -27,6 +35,8 @@ export declare namespace RPCNodes {
|
|
|
27
35
|
type FlexBlockchain as FlexBlockchain,
|
|
28
36
|
type FlexBlockchainList as FlexBlockchainList,
|
|
29
37
|
type FlexList as FlexList,
|
|
38
|
+
type FlexCreateParams as FlexCreateParams,
|
|
39
|
+
type FlexUpdateParams as FlexUpdateParams,
|
|
30
40
|
};
|
|
31
41
|
|
|
32
42
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.20.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.20.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.20.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.20.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as FluxAPI from "./flux.mjs";
|
|
3
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
-
export declare class Providers extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* List all supported providers with regions for Connect Flux.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const fluxProviderList =
|
|
12
|
-
* await client.connect.flux.providers.list();
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=providers.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"providers.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;CAGrE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as FluxAPI from "./flux.js";
|
|
3
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
-
export declare class Providers extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* List all supported providers with regions for Connect Flux.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const fluxProviderList =
|
|
12
|
-
* await client.connect.flux.providers.list();
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=providers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;CAGrE"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Providers = void 0;
|
|
5
|
-
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
class Providers extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List all supported providers with regions for Connect Flux.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const fluxProviderList =
|
|
13
|
-
* await client.connect.flux.providers.list();
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
list(options) {
|
|
17
|
-
return this._client.get('/v1/connect/flux/providers', options);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.Providers = Providers;
|
|
21
|
-
//# sourceMappingURL=providers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AAbD,8BAaC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
export class Providers extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* List all supported providers with regions for Connect Flux.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```ts
|
|
9
|
-
* const fluxProviderList =
|
|
10
|
-
* await client.connect.flux.providers.list();
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
list(options) {
|
|
14
|
-
return this._client.get('/v1/connect/flux/providers', options);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=providers.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"providers.mjs","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import * as FluxAPI from './flux';
|
|
5
|
-
import { APIPromise } from '../../../core/api-promise';
|
|
6
|
-
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
-
|
|
8
|
-
export class Providers extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* List all supported providers with regions for Connect Flux.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* const fluxProviderList =
|
|
15
|
-
* await client.connect.flux.providers.list();
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList> {
|
|
19
|
-
return this._client.get('/v1/connect/flux/providers', options);
|
|
20
|
-
}
|
|
21
|
-
}
|