@nirvana-labs/nirvana 1.98.9 → 2.0.1
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 +24 -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
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../../core/resource.js";
|
|
2
|
-
import * as Shared from "../../../shared.js";
|
|
3
|
-
import * as ConnectAPI from "../connect.js";
|
|
4
|
-
import { APIPromise } from "../../../../core/api-promise.js";
|
|
5
|
-
import { RequestOptions } from "../../../../internal/request-options.js";
|
|
6
|
-
export declare class Cost extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Return a priced cost quote for the proposed Connect Connection.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const costQuote =
|
|
13
|
-
* await client.networking.connect.connections.cost.create({
|
|
14
|
-
* bandwidth_mbps: 50,
|
|
15
|
-
* cidrs: ['10.0.0.0/16'],
|
|
16
|
-
* name: 'my-connect-connection',
|
|
17
|
-
* project_id: '123e4567-e89b-12d3-a456-426614174000',
|
|
18
|
-
* provider_cidrs: ['172.16.0.0/16'],
|
|
19
|
-
* region: 'us-sva-2',
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
create(body: CostCreateParams, options?: RequestOptions): APIPromise<Shared.CostQuote>;
|
|
24
|
-
/**
|
|
25
|
-
* Return a priced cost quote for the proposed Connect Connection update plus a
|
|
26
|
-
* diff against the current state.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* const costQuoteUpdate =
|
|
31
|
-
* await client.networking.connect.connections.cost.update(
|
|
32
|
-
* 'connection_id',
|
|
33
|
-
* );
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
update(connectionID: string, body: CostUpdateParams, options?: RequestOptions): APIPromise<Shared.CostQuoteUpdate>;
|
|
37
|
-
}
|
|
38
|
-
export interface CostCreateParams {
|
|
39
|
-
/**
|
|
40
|
-
* Connect Connection speed in Mbps
|
|
41
|
-
*/
|
|
42
|
-
bandwidth_mbps: ConnectAPI.ConnectBandwidthMbps;
|
|
43
|
-
/**
|
|
44
|
-
* CIDRs for the Connect Connection. Must be in network-aligned/canonical form.
|
|
45
|
-
*/
|
|
46
|
-
cidrs: Array<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Name of the Connect Connection
|
|
49
|
-
*/
|
|
50
|
-
name: string;
|
|
51
|
-
/**
|
|
52
|
-
* Project ID the Connect Connection belongs to
|
|
53
|
-
*/
|
|
54
|
-
project_id: string;
|
|
55
|
-
/**
|
|
56
|
-
* Provider CIDRs. Must be in network-aligned/canonical form.
|
|
57
|
-
*/
|
|
58
|
-
provider_cidrs: Array<string>;
|
|
59
|
-
/**
|
|
60
|
-
* Region the resource is in.
|
|
61
|
-
*/
|
|
62
|
-
region: Shared.RegionName;
|
|
63
|
-
/**
|
|
64
|
-
* AWS provider configuration
|
|
65
|
-
*/
|
|
66
|
-
aws?: ConnectAPI.ConnectConnectionAWSConfigRequest;
|
|
67
|
-
/**
|
|
68
|
-
* Tags to attach to the Connect Connection
|
|
69
|
-
*/
|
|
70
|
-
tags?: Array<string>;
|
|
71
|
-
}
|
|
72
|
-
export interface CostUpdateParams {
|
|
73
|
-
/**
|
|
74
|
-
* Name of the Connect Connection.
|
|
75
|
-
*/
|
|
76
|
-
name?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Tags to attach to the Connect Connection
|
|
79
|
-
*/
|
|
80
|
-
tags?: Array<string>;
|
|
81
|
-
}
|
|
82
|
-
export declare namespace Cost {
|
|
83
|
-
export { type CostCreateParams as CostCreateParams, type CostUpdateParams as CostUpdateParams };
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=cost.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cost.d.ts","sourceRoot":"","sources":["../../../../src/resources/networking/connect/connections/cost.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,MAAM,2BAAwB;AAC1C,OAAO,KAAK,UAAU,sBAAmB;AACzC,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC;IAItF;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,eAAe,CAAC;CAMtC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;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,UAAU,EAAE,MAAM,CAAC;IAEnB;;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,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACjG"}
|
|
@@ -1,47 +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.Cost = void 0;
|
|
5
|
-
const resource_1 = require("../../../../core/resource.js");
|
|
6
|
-
const path_1 = require("../../../../internal/utils/path.js");
|
|
7
|
-
class Cost extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Return a priced cost quote for the proposed Connect Connection.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* const costQuote =
|
|
14
|
-
* await client.networking.connect.connections.cost.create({
|
|
15
|
-
* bandwidth_mbps: 50,
|
|
16
|
-
* cidrs: ['10.0.0.0/16'],
|
|
17
|
-
* name: 'my-connect-connection',
|
|
18
|
-
* project_id: '123e4567-e89b-12d3-a456-426614174000',
|
|
19
|
-
* provider_cidrs: ['172.16.0.0/16'],
|
|
20
|
-
* region: 'us-sva-2',
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
create(body, options) {
|
|
25
|
-
return this._client.post('/v1/networking/connect/connections/cost', { body, ...options });
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Return a priced cost quote for the proposed Connect Connection update plus a
|
|
29
|
-
* diff against the current state.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* const costQuoteUpdate =
|
|
34
|
-
* await client.networking.connect.connections.cost.update(
|
|
35
|
-
* 'connection_id',
|
|
36
|
-
* );
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
update(connectionID, body, options) {
|
|
40
|
-
return this._client.patch((0, path_1.path) `/v1/networking/connect/connections/${connectionID}/cost`, {
|
|
41
|
-
body,
|
|
42
|
-
...options,
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.Cost = Cost;
|
|
47
|
-
//# sourceMappingURL=cost.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cost.js","sourceRoot":"","sources":["../../../../src/resources/networking/connect/connections/cost.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAKxD,6DAAuD;AAEvD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yCAAyC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,sCAAsC,YAAY,OAAO,EAAE;YACvF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3CD,oBA2CC"}
|
|
@@ -1,43 +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 { path } from "../../../../internal/utils/path.mjs";
|
|
4
|
-
export class Cost extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Return a priced cost quote for the proposed Connect Connection.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* const costQuote =
|
|
11
|
-
* await client.networking.connect.connections.cost.create({
|
|
12
|
-
* bandwidth_mbps: 50,
|
|
13
|
-
* cidrs: ['10.0.0.0/16'],
|
|
14
|
-
* name: 'my-connect-connection',
|
|
15
|
-
* project_id: '123e4567-e89b-12d3-a456-426614174000',
|
|
16
|
-
* provider_cidrs: ['172.16.0.0/16'],
|
|
17
|
-
* region: 'us-sva-2',
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
create(body, options) {
|
|
22
|
-
return this._client.post('/v1/networking/connect/connections/cost', { body, ...options });
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Return a priced cost quote for the proposed Connect Connection update plus a
|
|
26
|
-
* diff against the current state.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* const costQuoteUpdate =
|
|
31
|
-
* await client.networking.connect.connections.cost.update(
|
|
32
|
-
* 'connection_id',
|
|
33
|
-
* );
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
update(connectionID, body, options) {
|
|
37
|
-
return this._client.patch(path `/v1/networking/connect/connections/${connectionID}/cost`, {
|
|
38
|
-
body,
|
|
39
|
-
...options,
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=cost.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cost.mjs","sourceRoot":"","sources":["../../../../src/resources/networking/connect/connections/cost.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AAKxD,OAAO,EAAE,IAAI,EAAE,4CAAwC;AAEvD,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yCAAyC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,sCAAsC,YAAY,OAAO,EAAE;YACvF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/networking/connect/connections/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,0BAAsB;AACvB,OAAO,EAAE,IAAI,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,mBAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/networking/connect/connections/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,yBAAsB;AACvB,OAAO,EAAE,IAAI,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,kBAAe"}
|
|
@@ -1,9 +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.Cost = exports.Connections = void 0;
|
|
5
|
-
var connections_1 = require("./connections.js");
|
|
6
|
-
Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
|
|
7
|
-
var cost_1 = require("./cost.js");
|
|
8
|
-
Object.defineProperty(exports, "Cost", { enumerable: true, get: function () { return cost_1.Cost; } });
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/networking/connect/connections/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,kCAA4E;AAAnE,4FAAA,IAAI,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/networking/connect/connections/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAIZ,0BAAsB;AACvB,OAAO,EAAE,IAAI,EAAgD,mBAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":"AAEA,wCAAoC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":"AAEA,uCAAoC"}
|
|
@@ -1,6 +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
|
-
const tslib_1 = require("../../../internal/tslib.js");
|
|
5
|
-
tslib_1.__exportStar(require("./connections/index.js"), exports);
|
|
6
|
-
//# sourceMappingURL=connections.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iEAAoC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,wCAAoC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Connect, type ConnectBandwidthMbps, type ConnectConnection, type ConnectConnectionAWSConfig, type ConnectConnectionAWSConfigRequest, type ConnectConnectionList, type ConnectRoute, type ConnectRouteList, type ConnectConnectionsCursor, type ConnectRoutesCursor, } from "./connect.mjs";
|
|
2
|
-
export { Connections, type ConnectionCreateParams, type ConnectionUpdateParams, type ConnectionListParams, } from "./connections/index.mjs";
|
|
3
|
-
export { Routes, type RouteListParams } from "./routes.mjs";
|
|
4
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,GACzB,sBAAkB;AACnB,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,gCAA4B;AAC7B,OAAO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE,qBAAiB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Connect, type ConnectBandwidthMbps, type ConnectConnection, type ConnectConnectionAWSConfig, type ConnectConnectionAWSConfigRequest, type ConnectConnectionList, type ConnectRoute, type ConnectRouteList, type ConnectConnectionsCursor, type ConnectRoutesCursor, } from "./connect.js";
|
|
2
|
-
export { Connections, type ConnectionCreateParams, type ConnectionUpdateParams, type ConnectionListParams, } from "./connections/index.js";
|
|
3
|
-
export { Routes, type RouteListParams } from "./routes.js";
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,GACzB,qBAAkB;AACnB,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,+BAA4B;AAC7B,OAAO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE,oBAAiB"}
|
|
@@ -1,11 +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.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 index_1 = require("./connections/index.js");
|
|
8
|
-
Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return index_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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAWmB;AAVjB,kGAAA,OAAO,OAAA;AAWT,gDAK6B;AAJ3B,oGAAA,WAAW,OAAA;AAKb,sCAAwD;AAA/C,gGAAA,MAAM,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,OAAO,GAUR,sBAAkB;AACnB,OAAO,EACL,WAAW,GAIZ,gCAA4B;AAC7B,OAAO,EAAE,MAAM,EAAwB,qBAAiB"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as ConnectAPI from "./connect.mjs";
|
|
3
|
-
import { ConnectRoutesCursor } from "./connect.mjs";
|
|
4
|
-
import { type CursorParams, PagePromise } from "../../../core/pagination.mjs";
|
|
5
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
-
export declare class Routes extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List all supported routes with regions for Connect.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* // Automatically fetches more pages as needed.
|
|
13
|
-
* for await (const connectRoute of client.networking.connect.routes.list()) {
|
|
14
|
-
* // ...
|
|
15
|
-
* }
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
list(query?: RouteListParams | null | undefined, options?: RequestOptions): PagePromise<ConnectRoutesCursor, ConnectAPI.ConnectRoute>;
|
|
19
|
-
}
|
|
20
|
-
export interface RouteListParams extends CursorParams {
|
|
21
|
-
/**
|
|
22
|
-
* Filter by provider
|
|
23
|
-
*/
|
|
24
|
-
provider?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Filter by the provider's own region
|
|
27
|
-
*/
|
|
28
|
-
provider_region?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Filter by the Nirvana region the route reaches
|
|
31
|
-
*/
|
|
32
|
-
region?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
35
|
-
* Fields: created_at, provider_region, region
|
|
36
|
-
*/
|
|
37
|
-
sort?: string;
|
|
38
|
-
}
|
|
39
|
-
export declare namespace Routes {
|
|
40
|
-
export { type RouteListParams as RouteListParams };
|
|
41
|
-
}
|
|
42
|
-
export { type ConnectRoutesCursor };
|
|
43
|
-
//# sourceMappingURL=routes.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.mts","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,mBAAmB,EAAE,sBAAkB;AAChD,OAAO,EAAU,KAAK,YAAY,EAAE,WAAW,EAAE,qCAAiC;AAClF,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,mBAAmB,EAAE,UAAU,CAAC,YAAY,CAAC;CAM7D;AAED,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACpD;AAED,OAAO,EAAE,KAAK,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as ConnectAPI from "./connect.js";
|
|
3
|
-
import { ConnectRoutesCursor } from "./connect.js";
|
|
4
|
-
import { type CursorParams, PagePromise } from "../../../core/pagination.js";
|
|
5
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
|
-
export declare class Routes extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List all supported routes with regions for Connect.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* // Automatically fetches more pages as needed.
|
|
13
|
-
* for await (const connectRoute of client.networking.connect.routes.list()) {
|
|
14
|
-
* // ...
|
|
15
|
-
* }
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
list(query?: RouteListParams | null | undefined, options?: RequestOptions): PagePromise<ConnectRoutesCursor, ConnectAPI.ConnectRoute>;
|
|
19
|
-
}
|
|
20
|
-
export interface RouteListParams extends CursorParams {
|
|
21
|
-
/**
|
|
22
|
-
* Filter by provider
|
|
23
|
-
*/
|
|
24
|
-
provider?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Filter by the provider's own region
|
|
27
|
-
*/
|
|
28
|
-
provider_region?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Filter by the Nirvana region the route reaches
|
|
31
|
-
*/
|
|
32
|
-
region?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
35
|
-
* Fields: created_at, provider_region, region
|
|
36
|
-
*/
|
|
37
|
-
sort?: string;
|
|
38
|
-
}
|
|
39
|
-
export declare namespace Routes {
|
|
40
|
-
export { type RouteListParams as RouteListParams };
|
|
41
|
-
}
|
|
42
|
-
export { type ConnectRoutesCursor };
|
|
43
|
-
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,mBAAmB,EAAE,qBAAkB;AAChD,OAAO,EAAU,KAAK,YAAY,EAAE,WAAW,EAAE,oCAAiC;AAClF,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,mBAAmB,EAAE,UAAU,CAAC,YAAY,CAAC;CAM7D;AAED,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACpD;AAED,OAAO,EAAE,KAAK,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,27 +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.Routes = void 0;
|
|
5
|
-
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const pagination_1 = require("../../../core/pagination.js");
|
|
7
|
-
class Routes extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* List all supported routes with regions for Connect.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* // Automatically fetches more pages as needed.
|
|
14
|
-
* for await (const connectRoute of client.networking.connect.routes.list()) {
|
|
15
|
-
* // ...
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
list(query = {}, options) {
|
|
20
|
-
return this._client.getAPIList('/v1/networking/connect/routes', (pagination_1.Cursor), {
|
|
21
|
-
query,
|
|
22
|
-
...options,
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.Routes = Routes;
|
|
27
|
-
//# sourceMappingURL=routes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,4DAAkF;AAGlF,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE,CAAA,mBAA+B,CAAA,EAAE;YAC/F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AArBD,wBAqBC"}
|
|
@@ -1,23 +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 { Cursor } from "../../../core/pagination.mjs";
|
|
4
|
-
export class Routes extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* List all supported routes with regions for Connect.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* // Automatically fetches more pages as needed.
|
|
11
|
-
* for await (const connectRoute of client.networking.connect.routes.list()) {
|
|
12
|
-
* // ...
|
|
13
|
-
* }
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
list(query = {}, options) {
|
|
17
|
-
return this._client.getAPIList('/v1/networking/connect/routes', (Cursor), {
|
|
18
|
-
query,
|
|
19
|
-
...options,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=routes.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routes.mjs","sourceRoot":"","sources":["../../../src/resources/networking/connect/routes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,MAAM,EAAkC,qCAAiC;AAGlF,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE,CAAA,MAA+B,CAAA,EAAE;YAC/F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":"AAEA,oCAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":"AAEA,mCAAgC"}
|
|
@@ -1,6 +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
|
-
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
-
tslib_1.__exportStar(require("./connect/index.js"), exports);
|
|
6
|
-
//# sourceMappingURL=connect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/networking/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,oCAAgC"}
|