@nirvana-labs/nirvana 1.19.0 → 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 +10 -0
- package/README.md +7 -7
- package/package.json +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 +2 -216
- package/resources/connect/flux/flux.d.mts.map +1 -1
- package/resources/connect/flux/flux.d.ts +2 -216
- package/resources/connect/flux/flux.d.ts.map +1 -1
- package/resources/connect/flux/flux.js +4 -70
- package/resources/connect/flux/flux.js.map +1 -1
- package/resources/connect/flux/flux.mjs +2 -68
- package/resources/connect/flux/flux.mjs.map +1 -1
- package/resources/connect/flux/index.d.mts +1 -1
- package/resources/connect/flux/index.d.mts.map +1 -1
- package/resources/connect/flux/index.d.ts +1 -1
- package/resources/connect/flux/index.d.ts.map +1 -1
- package/resources/connect/flux/index.js +2 -2
- package/resources/connect/flux/index.js.map +1 -1
- package/resources/connect/flux/index.mjs +1 -1
- package/resources/connect/flux/index.mjs.map +1 -1
- package/resources/connect/flux/routes.d.mts +0 -13
- package/resources/connect/flux/routes.d.mts.map +1 -1
- package/resources/connect/flux/routes.d.ts +0 -13
- package/resources/connect/flux/routes.d.ts.map +1 -1
- package/resources/connect/flux/routes.js +0 -12
- package/resources/connect/flux/routes.js.map +1 -1
- package/resources/connect/flux/routes.mjs +0 -12
- package/resources/connect/flux/routes.mjs.map +1 -1
- 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/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/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 +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +13 -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 +70 -1
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +70 -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/connect/connect.ts +4 -26
- package/src/resources/connect/flux/flux.ts +3 -281
- package/src/resources/connect/flux/index.ts +1 -12
- package/src/resources/connect/flux/routes.ts +1 -17
- 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/index.ts +10 -0
- package/src/resources/networking/networking.ts +24 -0
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +13 -0
- package/src/resources/rpc-nodes/flex/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/flex/flex.ts +90 -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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,cAAc;OACnB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,WAAW,EAAE;OAC/D,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,GAAG,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAEvC;;OAEG;IACH,cAAc,EAAE,oBAAoB,CAAC;IAErC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC;IAE1B;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,UAAU,CAAC;IAElC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC5B;AAKD,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 ConnectionsAPI = tslib_1.__importStar(require("./connections.js"));
|
|
8
|
+
const connections_1 = require("./connections.js");
|
|
9
|
+
const RoutesAPI = tslib_1.__importStar(require("./routes.js"));
|
|
10
|
+
const routes_1 = require("./routes.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,yEAAgD;AAChD,kDAA4F;AAC5F,+DAAsC;AACtC,wCAAkC;AAElC,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;AA4ID,OAAO,CAAC,WAAW,GAAG,yBAAW,CAAC;AAClC,OAAO,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ConnectionsAPI from "./connections.mjs";
|
|
4
|
+
import { Connections } from "./connections.mjs";
|
|
5
|
+
import * as RoutesAPI from "./routes.mjs";
|
|
6
|
+
import { Routes } from "./routes.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,cAAc;OACnB,EAAkD,WAAW,EAAE;OAC/D,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,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;AA4ID,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AAClC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as OperationsAPI from "../../operations.mjs";
|
|
3
|
+
import * as Shared from "../../shared.mjs";
|
|
4
|
+
import * as ConnectAPI from "./connect.mjs";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
|
+
export declare class Connections extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a Connect Connection
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const operation =
|
|
14
|
+
* await client.networking.connect.connections.create({
|
|
15
|
+
* bandwidth_mbps: 50,
|
|
16
|
+
* cidrs: ['10.0.0.0/16'],
|
|
17
|
+
* name: 'my-connect-connection',
|
|
18
|
+
* provider_cidrs: ['172.16.0.0/16'],
|
|
19
|
+
* region: 'us-wdc-1',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(body: ConnectionCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
24
|
+
/**
|
|
25
|
+
* Update Connect Connection details
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const operation =
|
|
30
|
+
* await client.networking.connect.connections.update(
|
|
31
|
+
* 'connection_id',
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
update(connectionID: string, body: ConnectionUpdateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
36
|
+
/**
|
|
37
|
+
* List all Connect Connections
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const connectConnectionList =
|
|
42
|
+
* await client.networking.connect.connections.list();
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
list(options?: RequestOptions): APIPromise<ConnectAPI.ConnectConnectionList>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete Connect Connection
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const operation =
|
|
52
|
+
* await client.networking.connect.connections.delete(
|
|
53
|
+
* 'connection_id',
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
delete(connectionID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
58
|
+
/**
|
|
59
|
+
* Get Connect Connection details
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const connectConnection =
|
|
64
|
+
* await client.networking.connect.connections.get(
|
|
65
|
+
* 'connection_id',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
get(connectionID: string, options?: RequestOptions): APIPromise<ConnectAPI.ConnectConnection>;
|
|
70
|
+
}
|
|
71
|
+
export interface ConnectionCreateParams {
|
|
72
|
+
/**
|
|
73
|
+
* Connect Connection speed in Mbps
|
|
74
|
+
*/
|
|
75
|
+
bandwidth_mbps: ConnectAPI.ConnectBandwidthMbps;
|
|
76
|
+
/**
|
|
77
|
+
* CIDRs for the Connect Connection
|
|
78
|
+
*/
|
|
79
|
+
cidrs: Array<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Name of the Connect Connection
|
|
82
|
+
*/
|
|
83
|
+
name: string;
|
|
84
|
+
/**
|
|
85
|
+
* Provider CIDRs
|
|
86
|
+
*/
|
|
87
|
+
provider_cidrs: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Region the resource is in.
|
|
90
|
+
*/
|
|
91
|
+
region: Shared.RegionName;
|
|
92
|
+
/**
|
|
93
|
+
* AWS provider configuration
|
|
94
|
+
*/
|
|
95
|
+
aws?: ConnectAPI.ConnectConnectionAWSConfigRequest;
|
|
96
|
+
/**
|
|
97
|
+
* Tags to attach to the Connect Connection
|
|
98
|
+
*/
|
|
99
|
+
tags?: Array<string>;
|
|
100
|
+
}
|
|
101
|
+
export interface ConnectionUpdateParams {
|
|
102
|
+
/**
|
|
103
|
+
* Name of the Connect Connection.
|
|
104
|
+
*/
|
|
105
|
+
name?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Tags to attach to the Connect Connection
|
|
108
|
+
*/
|
|
109
|
+
tags?: Array<string>;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace Connections {
|
|
112
|
+
export { type ConnectionCreateParams as ConnectionCreateParams, type ConnectionUpdateParams as ConnectionUpdateParams, };
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=connections.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAInG;;;;;;;;;;OAUG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAItC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAI5E;;;;;;;;;;OAUG;IACH,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAI3F;;;;;;;;;;OAUG;IACH,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAG9F;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,cAAc,EAAE,UAAU,CAAC,oBAAoB,CAAC;IAEhD;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC;IAE1B;;OAEG;IACH,GAAG,CAAC,EAAE,UAAU,CAAC,iCAAiC,CAAC;IAEnD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as OperationsAPI from "../../operations.js";
|
|
3
|
+
import * as Shared from "../../shared.js";
|
|
4
|
+
import * as ConnectAPI from "./connect.js";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
|
+
export declare class Connections extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a Connect Connection
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const operation =
|
|
14
|
+
* await client.networking.connect.connections.create({
|
|
15
|
+
* bandwidth_mbps: 50,
|
|
16
|
+
* cidrs: ['10.0.0.0/16'],
|
|
17
|
+
* name: 'my-connect-connection',
|
|
18
|
+
* provider_cidrs: ['172.16.0.0/16'],
|
|
19
|
+
* region: 'us-wdc-1',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(body: ConnectionCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
24
|
+
/**
|
|
25
|
+
* Update Connect Connection details
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const operation =
|
|
30
|
+
* await client.networking.connect.connections.update(
|
|
31
|
+
* 'connection_id',
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
update(connectionID: string, body: ConnectionUpdateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
36
|
+
/**
|
|
37
|
+
* List all Connect Connections
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const connectConnectionList =
|
|
42
|
+
* await client.networking.connect.connections.list();
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
list(options?: RequestOptions): APIPromise<ConnectAPI.ConnectConnectionList>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete Connect Connection
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const operation =
|
|
52
|
+
* await client.networking.connect.connections.delete(
|
|
53
|
+
* 'connection_id',
|
|
54
|
+
* );
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
delete(connectionID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
58
|
+
/**
|
|
59
|
+
* Get Connect Connection details
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const connectConnection =
|
|
64
|
+
* await client.networking.connect.connections.get(
|
|
65
|
+
* 'connection_id',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
get(connectionID: string, options?: RequestOptions): APIPromise<ConnectAPI.ConnectConnection>;
|
|
70
|
+
}
|
|
71
|
+
export interface ConnectionCreateParams {
|
|
72
|
+
/**
|
|
73
|
+
* Connect Connection speed in Mbps
|
|
74
|
+
*/
|
|
75
|
+
bandwidth_mbps: ConnectAPI.ConnectBandwidthMbps;
|
|
76
|
+
/**
|
|
77
|
+
* CIDRs for the Connect Connection
|
|
78
|
+
*/
|
|
79
|
+
cidrs: Array<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Name of the Connect Connection
|
|
82
|
+
*/
|
|
83
|
+
name: string;
|
|
84
|
+
/**
|
|
85
|
+
* Provider CIDRs
|
|
86
|
+
*/
|
|
87
|
+
provider_cidrs: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Region the resource is in.
|
|
90
|
+
*/
|
|
91
|
+
region: Shared.RegionName;
|
|
92
|
+
/**
|
|
93
|
+
* AWS provider configuration
|
|
94
|
+
*/
|
|
95
|
+
aws?: ConnectAPI.ConnectConnectionAWSConfigRequest;
|
|
96
|
+
/**
|
|
97
|
+
* Tags to attach to the Connect Connection
|
|
98
|
+
*/
|
|
99
|
+
tags?: Array<string>;
|
|
100
|
+
}
|
|
101
|
+
export interface ConnectionUpdateParams {
|
|
102
|
+
/**
|
|
103
|
+
* Name of the Connect Connection.
|
|
104
|
+
*/
|
|
105
|
+
name?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Tags to attach to the Connect Connection
|
|
108
|
+
*/
|
|
109
|
+
tags?: Array<string>;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace Connections {
|
|
112
|
+
export { type ConnectionCreateParams as ConnectionCreateParams, type ConnectionUpdateParams as ConnectionUpdateParams, };
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAInG;;;;;;;;;;OAUG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAItC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAI5E;;;;;;;;;;OAUG;IACH,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAI3F;;;;;;;;;;OAUG;IACH,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAG9F;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,cAAc,EAAE,UAAU,CAAC,oBAAoB,CAAC;IAEhD;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC;IAE1B;;OAEG;IACH,GAAG,CAAC,EAAE,UAAU,CAAC,iCAAiC,CAAC;IAEnD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.Connections = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
7
|
+
class Connections extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a Connect Connection
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const operation =
|
|
14
|
+
* await client.networking.connect.connections.create({
|
|
15
|
+
* bandwidth_mbps: 50,
|
|
16
|
+
* cidrs: ['10.0.0.0/16'],
|
|
17
|
+
* name: 'my-connect-connection',
|
|
18
|
+
* provider_cidrs: ['172.16.0.0/16'],
|
|
19
|
+
* region: 'us-wdc-1',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(body, options) {
|
|
24
|
+
return this._client.post('/v1/networking/connect/connections', { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Update Connect Connection details
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const operation =
|
|
32
|
+
* await client.networking.connect.connections.update(
|
|
33
|
+
* 'connection_id',
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
update(connectionID, body, options) {
|
|
38
|
+
return this._client.patch((0, path_1.path) `/v1/networking/connect/connections/${connectionID}`, { body, ...options });
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* List all Connect Connections
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const connectConnectionList =
|
|
46
|
+
* await client.networking.connect.connections.list();
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
list(options) {
|
|
50
|
+
return this._client.get('/v1/networking/connect/connections', options);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Delete Connect Connection
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const operation =
|
|
58
|
+
* await client.networking.connect.connections.delete(
|
|
59
|
+
* 'connection_id',
|
|
60
|
+
* );
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
delete(connectionID, options) {
|
|
64
|
+
return this._client.delete((0, path_1.path) `/v1/networking/connect/connections/${connectionID}`, options);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get Connect Connection details
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```ts
|
|
71
|
+
* const connectConnection =
|
|
72
|
+
* await client.networking.connect.connections.get(
|
|
73
|
+
* 'connection_id',
|
|
74
|
+
* );
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
get(connectionID, options) {
|
|
78
|
+
return this._client.get((0, path_1.path) `/v1/networking/connect/connections/${connectionID}`, options);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.Connections = Connections;
|
|
82
|
+
//# sourceMappingURL=connections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAMrD,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,sCAAsC,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,YAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,sCAAsC,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,YAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sCAAsC,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;CACF;AAjFD,kCAiFC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
4
|
+
export class Connections extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Create a Connect Connection
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const operation =
|
|
11
|
+
* await client.networking.connect.connections.create({
|
|
12
|
+
* bandwidth_mbps: 50,
|
|
13
|
+
* cidrs: ['10.0.0.0/16'],
|
|
14
|
+
* name: 'my-connect-connection',
|
|
15
|
+
* provider_cidrs: ['172.16.0.0/16'],
|
|
16
|
+
* region: 'us-wdc-1',
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
create(body, options) {
|
|
21
|
+
return this._client.post('/v1/networking/connect/connections', { body, ...options });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Update Connect Connection details
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const operation =
|
|
29
|
+
* await client.networking.connect.connections.update(
|
|
30
|
+
* 'connection_id',
|
|
31
|
+
* );
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
update(connectionID, body, options) {
|
|
35
|
+
return this._client.patch(path `/v1/networking/connect/connections/${connectionID}`, { body, ...options });
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* List all Connect Connections
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const connectConnectionList =
|
|
43
|
+
* await client.networking.connect.connections.list();
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
list(options) {
|
|
47
|
+
return this._client.get('/v1/networking/connect/connections', options);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Delete Connect Connection
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const operation =
|
|
55
|
+
* await client.networking.connect.connections.delete(
|
|
56
|
+
* 'connection_id',
|
|
57
|
+
* );
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
delete(connectionID, options) {
|
|
61
|
+
return this._client.delete(path `/v1/networking/connect/connections/${connectionID}`, options);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get Connect Connection details
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const connectConnection =
|
|
69
|
+
* await client.networking.connect.connections.get(
|
|
70
|
+
* 'connection_id',
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
get(connectionID, options) {
|
|
75
|
+
return this._client.get(path `/v1/networking/connect/connections/${connectionID}`, options);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=connections.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAMf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,sCAAsC,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,YAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,sCAAsC,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,YAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sCAAsC,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;CACF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Connect, type ConnectBandwidthMbps, type ConnectConnection, type ConnectConnectionAWSConfig, type ConnectConnectionAWSConfigRequest, type ConnectConnectionList, type ConnectRoute, type ConnectRouteList, } from "./connect.mjs";
|
|
2
|
+
export { Connections, type ConnectionCreateParams, type ConnectionUpdateParams } from "./connections.mjs";
|
|
3
|
+
export { Routes } from "./routes.mjs";
|
|
4
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,gBAAgB,GACtB;OACM,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,sBAAsB,EAAE;OACzE,EAAE,MAAM,EAAE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Connect, type ConnectBandwidthMbps, type ConnectConnection, type ConnectConnectionAWSConfig, type ConnectConnectionAWSConfigRequest, type ConnectConnectionList, type ConnectRoute, type ConnectRouteList, } from "./connect.js";
|
|
2
|
+
export { Connections, type ConnectionCreateParams, type ConnectionUpdateParams } from "./connections.js";
|
|
3
|
+
export { Routes } from "./routes.js";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,gBAAgB,GACtB;OACM,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,sBAAsB,EAAE;OACzE,EAAE,MAAM,EAAE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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.Routes = exports.Connections = exports.Connect = void 0;
|
|
5
|
+
var connect_1 = require("./connect.js");
|
|
6
|
+
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
7
|
+
var connections_1 = require("./connections.js");
|
|
8
|
+
Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
|
|
9
|
+
var routes_1 = require("./routes.js");
|
|
10
|
+
Object.defineProperty(exports, "Routes", { enumerable: true, get: function () { return routes_1.Routes; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCASmB;AARjB,kGAAA,OAAO,OAAA;AAST,gDAAsG;AAA7F,0GAAA,WAAW,OAAA;AACpB,sCAAkC;AAAzB,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAQR;OACM,EAAE,WAAW,EAA4D;OACzE,EAAE,MAAM,EAAE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as ConnectAPI from "./connect.mjs";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
+
export declare class Routes extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all supported routes with regions for Connect.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const connectRouteList =
|
|
12
|
+
* await client.networking.connect.routes.list();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(options?: RequestOptions): APIPromise<ConnectAPI.ConnectRouteList>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=routes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.mts","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,gBAAgB,CAAC;CAGxE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as ConnectAPI from "./connect.js";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
+
export declare class Routes extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all supported routes with regions for Connect.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const connectRouteList =
|
|
12
|
+
* await client.networking.connect.routes.list();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(options?: RequestOptions): APIPromise<ConnectAPI.ConnectRouteList>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,gBAAgB,CAAC;CAGxE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.Routes = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
class Routes extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List all supported routes with regions for Connect.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const connectRouteList =
|
|
13
|
+
* await client.networking.connect.routes.list();
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
list(options) {
|
|
17
|
+
return this._client.get('/v1/networking/connect/routes', options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.Routes = Routes;
|
|
21
|
+
//# sourceMappingURL=routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AAbD,wBAaC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
export class Routes extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* List all supported routes with regions for Connect.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const connectRouteList =
|
|
10
|
+
* await client.networking.connect.routes.list();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
list(options) {
|
|
14
|
+
return this._client.get('/v1/networking/connect/routes', options);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=routes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./connect/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Connect, type ConnectBandwidthMbps, type ConnectConnection, type ConnectConnectionAWSConfig, type ConnectConnectionAWSConfigRequest, type ConnectConnectionList, type ConnectRoute, type ConnectRouteList, } from "./connect/index.mjs";
|
|
1
2
|
export { FirewallRules, type FirewallRule, type FirewallRuleList, type FirewallRuleCreateParams, type FirewallRuleUpdateParams, type FirewallRuleDeleteParams, type FirewallRuleGetParams, } from "./firewall-rules.mjs";
|
|
2
3
|
export { Networking } from "./networking.mjs";
|
|
3
4
|
export { VPCs, type Subnet, type VPC, type VPCList, type VPCCreateParams, type VPCUpdateParams, } from "./vpcs/index.mjs";
|