@nirvana-labs/nirvana 1.98.9 → 2.0.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 +17 -0
- package/package.json +1 -1
- package/resources/api-keys/api-keys.d.mts +1 -1
- package/resources/api-keys/api-keys.d.mts.map +1 -1
- package/resources/api-keys/api-keys.d.ts +1 -1
- package/resources/api-keys/api-keys.d.ts.map +1 -1
- package/resources/networking/index.d.mts +0 -1
- package/resources/networking/index.d.mts.map +1 -1
- package/resources/networking/index.d.ts +0 -1
- package/resources/networking/index.d.ts.map +1 -1
- package/resources/networking/index.js +3 -5
- package/resources/networking/index.js.map +1 -1
- package/resources/networking/index.mjs +0 -1
- package/resources/networking/index.mjs.map +1 -1
- package/resources/networking/networking.d.mts +0 -4
- package/resources/networking/networking.d.mts.map +1 -1
- package/resources/networking/networking.d.ts +0 -4
- package/resources/networking/networking.d.ts.map +1 -1
- package/resources/networking/networking.js +0 -4
- package/resources/networking/networking.js.map +1 -1
- package/resources/networking/networking.mjs +0 -4
- package/resources/networking/networking.mjs.map +1 -1
- package/resources/projects/projects.d.mts +0 -4
- package/resources/projects/projects.d.mts.map +1 -1
- package/resources/projects/projects.d.ts +0 -4
- package/resources/projects/projects.d.ts.map +1 -1
- package/resources/quotas/quotas.d.mts +0 -4
- package/resources/quotas/quotas.d.mts.map +1 -1
- package/resources/quotas/quotas.d.ts +0 -4
- package/resources/quotas/quotas.d.ts.map +1 -1
- package/resources/regions/regions.d.mts +0 -8
- package/resources/regions/regions.d.mts.map +1 -1
- package/resources/regions/regions.d.ts +0 -8
- package/resources/regions/regions.d.ts.map +1 -1
- package/resources/usage/usage.d.mts +2 -2
- package/resources/usage/usage.d.mts.map +1 -1
- package/resources/usage/usage.d.ts +2 -2
- package/resources/usage/usage.d.ts.map +1 -1
- package/src/resources/api-keys/api-keys.ts +0 -1
- package/src/resources/networking/api.md +0 -35
- package/src/resources/networking/index.ts +0 -12
- package/src/resources/networking/networking.ts +0 -24
- package/src/resources/projects/projects.ts +0 -5
- package/src/resources/quotas/quotas.ts +0 -5
- package/src/resources/regions/regions.ts +0 -10
- package/src/resources/usage/usage.ts +1 -9
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/networking/connect/connect.d.mts +0 -145
- package/resources/networking/connect/connect.d.mts.map +0 -1
- package/resources/networking/connect/connect.d.ts +0 -145
- package/resources/networking/connect/connect.d.ts.map +0 -1
- package/resources/networking/connect/connect.js +0 -21
- package/resources/networking/connect/connect.js.map +0 -1
- package/resources/networking/connect/connect.mjs +0 -16
- package/resources/networking/connect/connect.mjs.map +0 -1
- package/resources/networking/connect/connections/connections.d.mts +0 -170
- package/resources/networking/connect/connections/connections.d.mts.map +0 -1
- package/resources/networking/connect/connections/connections.d.ts +0 -170
- package/resources/networking/connect/connections/connections.d.ts.map +0 -1
- package/resources/networking/connect/connections/connections.js +0 -96
- package/resources/networking/connect/connections/connections.js.map +0 -1
- package/resources/networking/connect/connections/connections.mjs +0 -91
- package/resources/networking/connect/connections/connections.mjs.map +0 -1
- package/resources/networking/connect/connections/cost.d.mts +0 -85
- package/resources/networking/connect/connections/cost.d.mts.map +0 -1
- package/resources/networking/connect/connections/cost.d.ts +0 -85
- package/resources/networking/connect/connections/cost.d.ts.map +0 -1
- package/resources/networking/connect/connections/cost.js +0 -47
- package/resources/networking/connect/connections/cost.js.map +0 -1
- package/resources/networking/connect/connections/cost.mjs +0 -43
- package/resources/networking/connect/connections/cost.mjs.map +0 -1
- package/resources/networking/connect/connections/index.d.mts +0 -3
- package/resources/networking/connect/connections/index.d.mts.map +0 -1
- package/resources/networking/connect/connections/index.d.ts +0 -3
- package/resources/networking/connect/connections/index.d.ts.map +0 -1
- package/resources/networking/connect/connections/index.js +0 -9
- package/resources/networking/connect/connections/index.js.map +0 -1
- package/resources/networking/connect/connections/index.mjs +0 -4
- package/resources/networking/connect/connections/index.mjs.map +0 -1
- package/resources/networking/connect/connections.d.mts +0 -2
- package/resources/networking/connect/connections.d.mts.map +0 -1
- package/resources/networking/connect/connections.d.ts +0 -2
- package/resources/networking/connect/connections.d.ts.map +0 -1
- package/resources/networking/connect/connections.js +0 -6
- package/resources/networking/connect/connections.js.map +0 -1
- package/resources/networking/connect/connections.mjs +0 -3
- package/resources/networking/connect/connections.mjs.map +0 -1
- package/resources/networking/connect/index.d.mts +0 -4
- package/resources/networking/connect/index.d.mts.map +0 -1
- package/resources/networking/connect/index.d.ts +0 -4
- package/resources/networking/connect/index.d.ts.map +0 -1
- package/resources/networking/connect/index.js +0 -11
- package/resources/networking/connect/index.js.map +0 -1
- package/resources/networking/connect/index.mjs +0 -5
- package/resources/networking/connect/index.mjs.map +0 -1
- package/resources/networking/connect/routes.d.mts +0 -43
- package/resources/networking/connect/routes.d.mts.map +0 -1
- package/resources/networking/connect/routes.d.ts +0 -43
- package/resources/networking/connect/routes.d.ts.map +0 -1
- package/resources/networking/connect/routes.js +0 -27
- package/resources/networking/connect/routes.js.map +0 -1
- package/resources/networking/connect/routes.mjs +0 -23
- package/resources/networking/connect/routes.mjs.map +0 -1
- package/resources/networking/connect.d.mts +0 -2
- package/resources/networking/connect.d.mts.map +0 -1
- package/resources/networking/connect.d.ts +0 -2
- package/resources/networking/connect.d.ts.map +0 -1
- package/resources/networking/connect.js +0 -6
- package/resources/networking/connect.js.map +0 -1
- package/resources/networking/connect.mjs +0 -3
- package/resources/networking/connect.mjs.map +0 -1
- package/src/resources/networking/connect/connect.ts +0 -200
- package/src/resources/networking/connect/connections/connections.ts +0 -231
- package/src/resources/networking/connect/connections/cost.ts +0 -111
- package/src/resources/networking/connect/connections/index.ts +0 -9
- package/src/resources/networking/connect/connections.ts +0 -3
- package/src/resources/networking/connect/index.ts +0 -21
- package/src/resources/networking/connect/routes.ts +0 -59
- package/src/resources/networking/connect.ts +0 -3
|
@@ -13,17 +13,6 @@ import {
|
|
|
13
13
|
FirewallRules,
|
|
14
14
|
FirewallRulesCursor,
|
|
15
15
|
} from './firewall-rules';
|
|
16
|
-
import * as ConnectAPI from './connect/connect';
|
|
17
|
-
import {
|
|
18
|
-
Connect,
|
|
19
|
-
ConnectBandwidthMbps,
|
|
20
|
-
ConnectConnection,
|
|
21
|
-
ConnectConnectionAWSConfig,
|
|
22
|
-
ConnectConnectionAWSConfigRequest,
|
|
23
|
-
ConnectConnectionList,
|
|
24
|
-
ConnectRoute,
|
|
25
|
-
ConnectRouteList,
|
|
26
|
-
} from './connect/connect';
|
|
27
16
|
import * as VPCsAPI from './vpcs/vpcs';
|
|
28
17
|
import {
|
|
29
18
|
Subnet,
|
|
@@ -39,12 +28,10 @@ import {
|
|
|
39
28
|
export class Networking extends APIResource {
|
|
40
29
|
vpcs: VPCsAPI.VPCs = new VPCsAPI.VPCs(this._client);
|
|
41
30
|
firewallRules: FirewallRulesAPI.FirewallRules = new FirewallRulesAPI.FirewallRules(this._client);
|
|
42
|
-
connect: ConnectAPI.Connect = new ConnectAPI.Connect(this._client);
|
|
43
31
|
}
|
|
44
32
|
|
|
45
33
|
Networking.VPCs = VPCs;
|
|
46
34
|
Networking.FirewallRules = FirewallRules;
|
|
47
|
-
Networking.Connect = Connect;
|
|
48
35
|
|
|
49
36
|
export declare namespace Networking {
|
|
50
37
|
export {
|
|
@@ -69,15 +56,4 @@ export declare namespace Networking {
|
|
|
69
56
|
type FirewallRuleDeleteParams as FirewallRuleDeleteParams,
|
|
70
57
|
type FirewallRuleListParams as FirewallRuleListParams,
|
|
71
58
|
};
|
|
72
|
-
|
|
73
|
-
export {
|
|
74
|
-
Connect as Connect,
|
|
75
|
-
type ConnectBandwidthMbps as ConnectBandwidthMbps,
|
|
76
|
-
type ConnectConnection as ConnectConnection,
|
|
77
|
-
type ConnectConnectionAWSConfig as ConnectConnectionAWSConfig,
|
|
78
|
-
type ConnectConnectionAWSConfigRequest as ConnectConnectionAWSConfigRequest,
|
|
79
|
-
type ConnectConnectionList as ConnectConnectionList,
|
|
80
|
-
type ConnectRoute as ConnectRoute,
|
|
81
|
-
type ConnectRouteList as ConnectRouteList,
|
|
82
|
-
};
|
|
83
59
|
}
|
|
@@ -137,11 +137,6 @@ export interface ProjectBlockchainResources {
|
|
|
137
137
|
* Cloud infrastructure resources.
|
|
138
138
|
*/
|
|
139
139
|
export interface ProjectCloudResources {
|
|
140
|
-
/**
|
|
141
|
-
* Number of Connect connections in the project.
|
|
142
|
-
*/
|
|
143
|
-
connect_connections: number;
|
|
144
|
-
|
|
145
140
|
/**
|
|
146
141
|
* Number of NKS clusters in the project.
|
|
147
142
|
*/
|
|
@@ -91,11 +91,6 @@ export namespace Region {
|
|
|
91
91
|
* Networking products available in this region.
|
|
92
92
|
*/
|
|
93
93
|
export interface Networking {
|
|
94
|
-
/**
|
|
95
|
-
* Connect indicates if Nirvana Connect is available.
|
|
96
|
-
*/
|
|
97
|
-
connect: boolean;
|
|
98
|
-
|
|
99
94
|
/**
|
|
100
95
|
* VPCs indicates if Virtual Private Clouds are available.
|
|
101
96
|
*/
|
|
@@ -158,11 +153,6 @@ export interface RegionListParams extends CursorParams {
|
|
|
158
153
|
*/
|
|
159
154
|
compute_vms?: boolean;
|
|
160
155
|
|
|
161
|
-
/**
|
|
162
|
-
* Only regions where Nirvana Connect is available
|
|
163
|
-
*/
|
|
164
|
-
networking_connect?: boolean;
|
|
165
|
-
|
|
166
156
|
/**
|
|
167
157
|
* Only regions where VPCs are available
|
|
168
158
|
*/
|
|
@@ -118,7 +118,6 @@ export type UsageResourceType =
|
|
|
118
118
|
| 'vm'
|
|
119
119
|
| 'volume'
|
|
120
120
|
| 'vpc'
|
|
121
|
-
| 'connect_connection'
|
|
122
121
|
| 'nks_cluster'
|
|
123
122
|
| 'nks_node_pool'
|
|
124
123
|
| 'nks_load_balancer';
|
|
@@ -153,14 +152,7 @@ export interface UsageListParams extends CursorParams {
|
|
|
153
152
|
/**
|
|
154
153
|
* Filter by the kind of resource metered
|
|
155
154
|
*/
|
|
156
|
-
resource_type?:
|
|
157
|
-
| 'vm'
|
|
158
|
-
| 'volume'
|
|
159
|
-
| 'vpc'
|
|
160
|
-
| 'connect_connection'
|
|
161
|
-
| 'nks_cluster'
|
|
162
|
-
| 'nks_node_pool'
|
|
163
|
-
| 'nks_load_balancer';
|
|
155
|
+
resource_type?: 'vm' | 'volume' | 'vpc' | 'nks_cluster' | 'nks_node_pool' | 'nks_load_balancer';
|
|
164
156
|
|
|
165
157
|
/**
|
|
166
158
|
* Sort term as field:asc or field:desc. Field: created_at, the resource's earliest
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '
|
|
1
|
+
export const VERSION = '2.0.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "2.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "2.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '
|
|
1
|
+
export const VERSION = '2.0.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as Shared from "../../shared.mjs";
|
|
3
|
-
import * as RoutesAPI from "./routes.mjs";
|
|
4
|
-
import { RouteListParams, Routes } from "./routes.mjs";
|
|
5
|
-
import * as ConnectionsAPI from "./connections/connections.mjs";
|
|
6
|
-
import { ConnectionCreateParams, ConnectionListParams, ConnectionUpdateParams, Connections } from "./connections/connections.mjs";
|
|
7
|
-
import { Cursor } from "../../../core/pagination.mjs";
|
|
8
|
-
export declare class Connect extends APIResource {
|
|
9
|
-
connections: ConnectionsAPI.Connections;
|
|
10
|
-
routes: RoutesAPI.Routes;
|
|
11
|
-
}
|
|
12
|
-
export type ConnectConnectionsCursor = Cursor<ConnectConnection>;
|
|
13
|
-
export type ConnectRoutesCursor = Cursor<ConnectRoute>;
|
|
14
|
-
/**
|
|
15
|
-
* Connect Connection speed in Mbps
|
|
16
|
-
*/
|
|
17
|
-
export type ConnectBandwidthMbps = 50 | 200 | 500 | 1000 | 2000;
|
|
18
|
-
/**
|
|
19
|
-
* Connect Connection details.
|
|
20
|
-
*/
|
|
21
|
-
export interface ConnectConnection {
|
|
22
|
-
/**
|
|
23
|
-
* Unique identifier for the Connect Connection
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
* ASN
|
|
28
|
-
*/
|
|
29
|
-
asn: number | null;
|
|
30
|
-
/**
|
|
31
|
-
* AWS provider configuration
|
|
32
|
-
*/
|
|
33
|
-
aws: ConnectConnectionAWSConfig | null;
|
|
34
|
-
/**
|
|
35
|
-
* Connect Connection speed in Mbps
|
|
36
|
-
*/
|
|
37
|
-
bandwidth_mbps: ConnectBandwidthMbps;
|
|
38
|
-
/**
|
|
39
|
-
* CIDRs for the Connect Connection
|
|
40
|
-
*/
|
|
41
|
-
cidrs: Array<string>;
|
|
42
|
-
/**
|
|
43
|
-
* When the Connect Connection was created
|
|
44
|
-
*/
|
|
45
|
-
created_at: string;
|
|
46
|
-
/**
|
|
47
|
-
* Name of the Connect Connection
|
|
48
|
-
*/
|
|
49
|
-
name: string;
|
|
50
|
-
/**
|
|
51
|
-
* Project ID the Connect Connection belongs to
|
|
52
|
-
*/
|
|
53
|
-
project_id: string;
|
|
54
|
-
/**
|
|
55
|
-
* Provider ASN
|
|
56
|
-
*/
|
|
57
|
-
provider_asn: number | null;
|
|
58
|
-
/**
|
|
59
|
-
* Provider CIDRs for the Connect Connection
|
|
60
|
-
*/
|
|
61
|
-
provider_cidrs: Array<string>;
|
|
62
|
-
/**
|
|
63
|
-
* Provider Router IP for the Connect Connection
|
|
64
|
-
*/
|
|
65
|
-
provider_router_ip: string | null;
|
|
66
|
-
/**
|
|
67
|
-
* Region the resource is in.
|
|
68
|
-
*/
|
|
69
|
-
region: Shared.RegionName;
|
|
70
|
-
/**
|
|
71
|
-
* Router IP
|
|
72
|
-
*/
|
|
73
|
-
router_ip: string | null;
|
|
74
|
-
/**
|
|
75
|
-
* Status of the resource.
|
|
76
|
-
*/
|
|
77
|
-
status: Shared.ResourceStatus;
|
|
78
|
-
/**
|
|
79
|
-
* Tags to attach to the Connect Connection
|
|
80
|
-
*/
|
|
81
|
-
tags: Array<string>;
|
|
82
|
-
/**
|
|
83
|
-
* When the Connect Connection was updated
|
|
84
|
-
*/
|
|
85
|
-
updated_at: string;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* AWS provider configuration
|
|
89
|
-
*/
|
|
90
|
-
export interface ConnectConnectionAWSConfig {
|
|
91
|
-
/**
|
|
92
|
-
* AWS region where the connection is established
|
|
93
|
-
*/
|
|
94
|
-
region: string;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* AWS provider configuration
|
|
98
|
-
*/
|
|
99
|
-
export interface ConnectConnectionAWSConfigRequest {
|
|
100
|
-
/**
|
|
101
|
-
* AWS account id
|
|
102
|
-
*/
|
|
103
|
-
account_id: string;
|
|
104
|
-
/**
|
|
105
|
-
* AWS region where the connection will be established
|
|
106
|
-
*/
|
|
107
|
-
region: string;
|
|
108
|
-
}
|
|
109
|
-
export interface ConnectConnectionList {
|
|
110
|
-
items: Array<ConnectConnection>;
|
|
111
|
-
/**
|
|
112
|
-
* Pagination response details.
|
|
113
|
-
*/
|
|
114
|
-
pagination: Shared.Pagination;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Routes supported for Connect.
|
|
118
|
-
*/
|
|
119
|
-
export interface ConnectRoute {
|
|
120
|
-
/**
|
|
121
|
-
* Region the resource is in.
|
|
122
|
-
*/
|
|
123
|
-
nirvana_region: Shared.RegionName;
|
|
124
|
-
/**
|
|
125
|
-
* Provider name.
|
|
126
|
-
*/
|
|
127
|
-
provider: string;
|
|
128
|
-
/**
|
|
129
|
-
* Provider region name.
|
|
130
|
-
*/
|
|
131
|
-
provider_region: string;
|
|
132
|
-
}
|
|
133
|
-
export interface ConnectRouteList {
|
|
134
|
-
items: Array<ConnectRoute>;
|
|
135
|
-
/**
|
|
136
|
-
* Pagination response details.
|
|
137
|
-
*/
|
|
138
|
-
pagination: Shared.Pagination;
|
|
139
|
-
}
|
|
140
|
-
export declare namespace Connect {
|
|
141
|
-
export { type ConnectBandwidthMbps as ConnectBandwidthMbps, type ConnectConnection as ConnectConnection, type ConnectConnectionAWSConfig as ConnectConnectionAWSConfig, type ConnectConnectionAWSConfigRequest as ConnectConnectionAWSConfigRequest, type ConnectConnectionList as ConnectConnectionList, type ConnectRoute as ConnectRoute, type ConnectRouteList as ConnectRouteList, };
|
|
142
|
-
export { Connections as Connections, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionUpdateParams as ConnectionUpdateParams, type ConnectionListParams as ConnectionListParams, };
|
|
143
|
-
export { Routes as Routes, type RouteListParams as RouteListParams };
|
|
144
|
-
}
|
|
145
|
-
//# sourceMappingURL=connect.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../../src/resources/networking/connect/connect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,qBAAiB;AACnD,OAAO,KAAK,cAAc,sCAAkC;AAC5D,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,WAAW,EACZ,sCAAkC;AACnC,OAAO,EAAE,MAAM,EAAE,qCAAiC;AAElD,qBAAa,OAAQ,SAAQ,WAAW;IACtC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,MAAM,EAAE,SAAS,CAAC,MAAM,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I from "./routes.js";
|
|
4
|
-
import { RouteListParams, Routes } from "./routes.js";
|
|
5
|
-
import * as ConnectionsAPI from "./connections/connections.js";
|
|
6
|
-
import { ConnectionCreateParams, ConnectionListParams, ConnectionUpdateParams, Connections } from "./connections/connections.js";
|
|
7
|
-
import { Cursor } from "../../../core/pagination.js";
|
|
8
|
-
export declare class Connect extends APIResource {
|
|
9
|
-
connections: ConnectionsAPI.Connections;
|
|
10
|
-
routes: RoutesAPI.Routes;
|
|
11
|
-
}
|
|
12
|
-
export type ConnectConnectionsCursor = Cursor<ConnectConnection>;
|
|
13
|
-
export type ConnectRoutesCursor = Cursor<ConnectRoute>;
|
|
14
|
-
/**
|
|
15
|
-
* Connect Connection speed in Mbps
|
|
16
|
-
*/
|
|
17
|
-
export type ConnectBandwidthMbps = 50 | 200 | 500 | 1000 | 2000;
|
|
18
|
-
/**
|
|
19
|
-
* Connect Connection details.
|
|
20
|
-
*/
|
|
21
|
-
export interface ConnectConnection {
|
|
22
|
-
/**
|
|
23
|
-
* Unique identifier for the Connect Connection
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
/**
|
|
27
|
-
* ASN
|
|
28
|
-
*/
|
|
29
|
-
asn: number | null;
|
|
30
|
-
/**
|
|
31
|
-
* AWS provider configuration
|
|
32
|
-
*/
|
|
33
|
-
aws: ConnectConnectionAWSConfig | null;
|
|
34
|
-
/**
|
|
35
|
-
* Connect Connection speed in Mbps
|
|
36
|
-
*/
|
|
37
|
-
bandwidth_mbps: ConnectBandwidthMbps;
|
|
38
|
-
/**
|
|
39
|
-
* CIDRs for the Connect Connection
|
|
40
|
-
*/
|
|
41
|
-
cidrs: Array<string>;
|
|
42
|
-
/**
|
|
43
|
-
* When the Connect Connection was created
|
|
44
|
-
*/
|
|
45
|
-
created_at: string;
|
|
46
|
-
/**
|
|
47
|
-
* Name of the Connect Connection
|
|
48
|
-
*/
|
|
49
|
-
name: string;
|
|
50
|
-
/**
|
|
51
|
-
* Project ID the Connect Connection belongs to
|
|
52
|
-
*/
|
|
53
|
-
project_id: string;
|
|
54
|
-
/**
|
|
55
|
-
* Provider ASN
|
|
56
|
-
*/
|
|
57
|
-
provider_asn: number | null;
|
|
58
|
-
/**
|
|
59
|
-
* Provider CIDRs for the Connect Connection
|
|
60
|
-
*/
|
|
61
|
-
provider_cidrs: Array<string>;
|
|
62
|
-
/**
|
|
63
|
-
* Provider Router IP for the Connect Connection
|
|
64
|
-
*/
|
|
65
|
-
provider_router_ip: string | null;
|
|
66
|
-
/**
|
|
67
|
-
* Region the resource is in.
|
|
68
|
-
*/
|
|
69
|
-
region: Shared.RegionName;
|
|
70
|
-
/**
|
|
71
|
-
* Router IP
|
|
72
|
-
*/
|
|
73
|
-
router_ip: string | null;
|
|
74
|
-
/**
|
|
75
|
-
* Status of the resource.
|
|
76
|
-
*/
|
|
77
|
-
status: Shared.ResourceStatus;
|
|
78
|
-
/**
|
|
79
|
-
* Tags to attach to the Connect Connection
|
|
80
|
-
*/
|
|
81
|
-
tags: Array<string>;
|
|
82
|
-
/**
|
|
83
|
-
* When the Connect Connection was updated
|
|
84
|
-
*/
|
|
85
|
-
updated_at: string;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* AWS provider configuration
|
|
89
|
-
*/
|
|
90
|
-
export interface ConnectConnectionAWSConfig {
|
|
91
|
-
/**
|
|
92
|
-
* AWS region where the connection is established
|
|
93
|
-
*/
|
|
94
|
-
region: string;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* AWS provider configuration
|
|
98
|
-
*/
|
|
99
|
-
export interface ConnectConnectionAWSConfigRequest {
|
|
100
|
-
/**
|
|
101
|
-
* AWS account id
|
|
102
|
-
*/
|
|
103
|
-
account_id: string;
|
|
104
|
-
/**
|
|
105
|
-
* AWS region where the connection will be established
|
|
106
|
-
*/
|
|
107
|
-
region: string;
|
|
108
|
-
}
|
|
109
|
-
export interface ConnectConnectionList {
|
|
110
|
-
items: Array<ConnectConnection>;
|
|
111
|
-
/**
|
|
112
|
-
* Pagination response details.
|
|
113
|
-
*/
|
|
114
|
-
pagination: Shared.Pagination;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Routes supported for Connect.
|
|
118
|
-
*/
|
|
119
|
-
export interface ConnectRoute {
|
|
120
|
-
/**
|
|
121
|
-
* Region the resource is in.
|
|
122
|
-
*/
|
|
123
|
-
nirvana_region: Shared.RegionName;
|
|
124
|
-
/**
|
|
125
|
-
* Provider name.
|
|
126
|
-
*/
|
|
127
|
-
provider: string;
|
|
128
|
-
/**
|
|
129
|
-
* Provider region name.
|
|
130
|
-
*/
|
|
131
|
-
provider_region: string;
|
|
132
|
-
}
|
|
133
|
-
export interface ConnectRouteList {
|
|
134
|
-
items: Array<ConnectRoute>;
|
|
135
|
-
/**
|
|
136
|
-
* Pagination response details.
|
|
137
|
-
*/
|
|
138
|
-
pagination: Shared.Pagination;
|
|
139
|
-
}
|
|
140
|
-
export declare namespace Connect {
|
|
141
|
-
export { type ConnectBandwidthMbps as ConnectBandwidthMbps, type ConnectConnection as ConnectConnection, type ConnectConnectionAWSConfig as ConnectConnectionAWSConfig, type ConnectConnectionAWSConfigRequest as ConnectConnectionAWSConfigRequest, type ConnectConnectionList as ConnectConnectionList, type ConnectRoute as ConnectRoute, type ConnectRouteList as ConnectRouteList, };
|
|
142
|
-
export { Connections as Connections, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionUpdateParams as ConnectionUpdateParams, type ConnectionListParams as ConnectionListParams, };
|
|
143
|
-
export { Routes as Routes, type RouteListParams as RouteListParams };
|
|
144
|
-
}
|
|
145
|
-
//# sourceMappingURL=connect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/connect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,S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I,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACtE"}
|
|
@@ -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.Connect = void 0;
|
|
5
|
-
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
-
const resource_1 = require("../../../core/resource.js");
|
|
7
|
-
const RoutesAPI = tslib_1.__importStar(require("./routes.js"));
|
|
8
|
-
const routes_1 = require("./routes.js");
|
|
9
|
-
const ConnectionsAPI = tslib_1.__importStar(require("./connections/connections.js"));
|
|
10
|
-
const connections_1 = require("./connections/connections.js");
|
|
11
|
-
class Connect extends resource_1.APIResource {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.connections = new ConnectionsAPI.Connections(this._client);
|
|
15
|
-
this.routes = new RoutesAPI.Routes(this._client);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.Connect = Connect;
|
|
19
|
-
Connect.Connections = connections_1.Connections;
|
|
20
|
-
Connect.Routes = routes_1.Routes;
|
|
21
|
-
//# sourceMappingURL=connect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,+DAAsC;AACtC,wCAAmD;AACnD,qFAA4D;AAC5D,8DAKmC;AAGnC,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAHD,0BAGC;AA+JD,OAAO,CAAC,WAAW,GAAG,yBAAW,CAAC;AAClC,OAAO,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import * as RoutesAPI from "./routes.mjs";
|
|
4
|
-
import { Routes } from "./routes.mjs";
|
|
5
|
-
import * as ConnectionsAPI from "./connections/connections.mjs";
|
|
6
|
-
import { Connections, } from "./connections/connections.mjs";
|
|
7
|
-
export class Connect extends APIResource {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.connections = new ConnectionsAPI.Connections(this._client);
|
|
11
|
-
this.routes = new RoutesAPI.Routes(this._client);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
Connect.Connections = Connections;
|
|
15
|
-
Connect.Routes = Routes;
|
|
16
|
-
//# sourceMappingURL=connect.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAmB,MAAM,EAAE,qBAAiB;AACnD,OAAO,KAAK,cAAc,sCAAkC;AAC5D,OAAO,EAIL,WAAW,GACZ,sCAAkC;AAGnC,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AA+JD,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AAClC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC"}
|