@scaleway/sdk-s2s-vpn 2.12.0 → 2.13.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.
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { BgpSessionStatus, ConnectionDhGroup, ConnectionEncryption, ConnectionInitiationPolicy, ConnectionIntegrity, ConnectionStatus, CreateConnectionRequestInitiationPolicy, ListConnectionsRequestOrderBy, ListCustomerGatewaysRequestOrderBy, ListRoutingPoliciesRequestOrderBy, ListVpnGatewaysRequestOrderBy, TunnelStatus, VpnGatewayStatus } from './types.gen.js';
|
|
2
|
+
/** Lists all values of the enum {@link BgpSessionStatus}. */
|
|
3
|
+
export declare const BGP_SESSION_STATUSES: BgpSessionStatus[];
|
|
4
|
+
/** Lists all values of the enum {@link ConnectionDhGroup}. */
|
|
5
|
+
export declare const CONNECTION_DH_GROUPS: ConnectionDhGroup[];
|
|
6
|
+
/** Lists all values of the enum {@link ConnectionEncryption}. */
|
|
7
|
+
export declare const CONNECTION_ENCRYPTIONS: ConnectionEncryption[];
|
|
8
|
+
/** Lists all values of the enum {@link ConnectionInitiationPolicy}. */
|
|
9
|
+
export declare const CONNECTION_INITIATION_POLICIES: ConnectionInitiationPolicy[];
|
|
10
|
+
/** Lists all values of the enum {@link ConnectionIntegrity}. */
|
|
11
|
+
export declare const CONNECTION_INTEGRITIES: ConnectionIntegrity[];
|
|
12
|
+
/** Lists all values of the enum {@link ConnectionStatus}. */
|
|
13
|
+
export declare const CONNECTION_STATUSES: ConnectionStatus[];
|
|
14
|
+
/** Lists all values of the enum {@link CreateConnectionRequestInitiationPolicy}. */
|
|
15
|
+
export declare const CREATE_CONNECTION_REQUEST_INITIATION_POLICIES: CreateConnectionRequestInitiationPolicy[];
|
|
16
|
+
/** Lists all values of the enum {@link ListConnectionsRequestOrderBy}. */
|
|
17
|
+
export declare const LIST_CONNECTIONS_REQUEST_ORDER_BIES: ListConnectionsRequestOrderBy[];
|
|
18
|
+
/** Lists all values of the enum {@link ListCustomerGatewaysRequestOrderBy}. */
|
|
19
|
+
export declare const LIST_CUSTOMER_GATEWAYS_REQUEST_ORDER_BIES: ListCustomerGatewaysRequestOrderBy[];
|
|
20
|
+
/** Lists all values of the enum {@link ListRoutingPoliciesRequestOrderBy}. */
|
|
21
|
+
export declare const LIST_ROUTING_POLICIES_REQUEST_ORDER_BIES: ListRoutingPoliciesRequestOrderBy[];
|
|
22
|
+
/** Lists all values of the enum {@link ListVpnGatewaysRequestOrderBy}. */
|
|
23
|
+
export declare const LIST_VPN_GATEWAYS_REQUEST_ORDER_BIES: ListVpnGatewaysRequestOrderBy[];
|
|
24
|
+
/** Lists all values of the enum {@link TunnelStatus}. */
|
|
25
|
+
export declare const TUNNEL_STATUSES: TunnelStatus[];
|
|
26
|
+
/** Lists all values of the enum {@link VpnGatewayStatus}. */
|
|
27
|
+
export declare const VPN_GATEWAY_STATUSES: VpnGatewayStatus[];
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
//#region src/v1alpha1/constants.gen.ts
|
|
2
|
+
/** Lists all values of the enum {@link BgpSessionStatus}. */
|
|
3
|
+
const BGP_SESSION_STATUSES = [
|
|
4
|
+
"unknown_status",
|
|
5
|
+
"up",
|
|
6
|
+
"down",
|
|
7
|
+
"disabled"
|
|
8
|
+
];
|
|
9
|
+
/** Lists all values of the enum {@link ConnectionDhGroup}. */
|
|
10
|
+
const CONNECTION_DH_GROUPS = [
|
|
11
|
+
"unknown_dhgroup",
|
|
12
|
+
"modp2048",
|
|
13
|
+
"modp3072",
|
|
14
|
+
"modp4096",
|
|
15
|
+
"ecp256",
|
|
16
|
+
"ecp384",
|
|
17
|
+
"ecp521",
|
|
18
|
+
"curve25519"
|
|
19
|
+
];
|
|
20
|
+
/** Lists all values of the enum {@link ConnectionEncryption}. */
|
|
21
|
+
const CONNECTION_ENCRYPTIONS = [
|
|
22
|
+
"unknown_encryption",
|
|
23
|
+
"aes128",
|
|
24
|
+
"aes192",
|
|
25
|
+
"aes256",
|
|
26
|
+
"aes128gcm",
|
|
27
|
+
"aes192gcm",
|
|
28
|
+
"aes256gcm",
|
|
29
|
+
"aes128ccm",
|
|
30
|
+
"aes256ccm",
|
|
31
|
+
"chacha20poly1305"
|
|
32
|
+
];
|
|
33
|
+
/** Lists all values of the enum {@link ConnectionInitiationPolicy}. */
|
|
34
|
+
const CONNECTION_INITIATION_POLICIES = [
|
|
35
|
+
"unknown_initiation_policy",
|
|
36
|
+
"vpn_gateway",
|
|
37
|
+
"customer_gateway"
|
|
38
|
+
];
|
|
39
|
+
/** Lists all values of the enum {@link ConnectionIntegrity}. */
|
|
40
|
+
const CONNECTION_INTEGRITIES = [
|
|
41
|
+
"unknown_integrity",
|
|
42
|
+
"sha256",
|
|
43
|
+
"sha384",
|
|
44
|
+
"sha512"
|
|
45
|
+
];
|
|
46
|
+
/** Lists all values of the enum {@link ConnectionStatus}. */
|
|
47
|
+
const CONNECTION_STATUSES = [
|
|
48
|
+
"unknown_status",
|
|
49
|
+
"active",
|
|
50
|
+
"limited_connectivity",
|
|
51
|
+
"down",
|
|
52
|
+
"locked"
|
|
53
|
+
];
|
|
54
|
+
/** Lists all values of the enum {@link CreateConnectionRequestInitiationPolicy}. */
|
|
55
|
+
const CREATE_CONNECTION_REQUEST_INITIATION_POLICIES = [
|
|
56
|
+
"unknown_initiation_policy",
|
|
57
|
+
"vpn_gateway",
|
|
58
|
+
"customer_gateway"
|
|
59
|
+
];
|
|
60
|
+
/** Lists all values of the enum {@link ListConnectionsRequestOrderBy}. */
|
|
61
|
+
const LIST_CONNECTIONS_REQUEST_ORDER_BIES = [
|
|
62
|
+
"created_at_asc",
|
|
63
|
+
"created_at_desc",
|
|
64
|
+
"name_asc",
|
|
65
|
+
"name_desc",
|
|
66
|
+
"status_asc",
|
|
67
|
+
"status_desc"
|
|
68
|
+
];
|
|
69
|
+
/** Lists all values of the enum {@link ListCustomerGatewaysRequestOrderBy}. */
|
|
70
|
+
const LIST_CUSTOMER_GATEWAYS_REQUEST_ORDER_BIES = [
|
|
71
|
+
"created_at_asc",
|
|
72
|
+
"created_at_desc",
|
|
73
|
+
"name_asc",
|
|
74
|
+
"name_desc"
|
|
75
|
+
];
|
|
76
|
+
/** Lists all values of the enum {@link ListRoutingPoliciesRequestOrderBy}. */
|
|
77
|
+
const LIST_ROUTING_POLICIES_REQUEST_ORDER_BIES = [
|
|
78
|
+
"created_at_asc",
|
|
79
|
+
"created_at_desc",
|
|
80
|
+
"name_asc",
|
|
81
|
+
"name_desc"
|
|
82
|
+
];
|
|
83
|
+
/** Lists all values of the enum {@link ListVpnGatewaysRequestOrderBy}. */
|
|
84
|
+
const LIST_VPN_GATEWAYS_REQUEST_ORDER_BIES = [
|
|
85
|
+
"created_at_asc",
|
|
86
|
+
"created_at_desc",
|
|
87
|
+
"name_asc",
|
|
88
|
+
"name_desc",
|
|
89
|
+
"type_asc",
|
|
90
|
+
"type_desc",
|
|
91
|
+
"status_asc",
|
|
92
|
+
"status_desc"
|
|
93
|
+
];
|
|
94
|
+
/** Lists all values of the enum {@link TunnelStatus}. */
|
|
95
|
+
const TUNNEL_STATUSES = [
|
|
96
|
+
"unknown_tunnel_status",
|
|
97
|
+
"up",
|
|
98
|
+
"down"
|
|
99
|
+
];
|
|
100
|
+
/** Lists all values of the enum {@link VpnGatewayStatus}. */
|
|
101
|
+
const VPN_GATEWAY_STATUSES = [
|
|
102
|
+
"unknown_status",
|
|
103
|
+
"configuring",
|
|
104
|
+
"failed",
|
|
105
|
+
"provisioning",
|
|
106
|
+
"active",
|
|
107
|
+
"deprovisioning",
|
|
108
|
+
"locked"
|
|
109
|
+
];
|
|
110
|
+
//#endregion
|
|
111
|
+
export { BGP_SESSION_STATUSES, CONNECTION_DH_GROUPS, CONNECTION_ENCRYPTIONS, CONNECTION_INITIATION_POLICIES, CONNECTION_INTEGRITIES, CONNECTION_STATUSES, CREATE_CONNECTION_REQUEST_INITIATION_POLICIES, LIST_CONNECTIONS_REQUEST_ORDER_BIES, LIST_CUSTOMER_GATEWAYS_REQUEST_ORDER_BIES, LIST_ROUTING_POLICIES_REQUEST_ORDER_BIES, LIST_VPN_GATEWAYS_REQUEST_ORDER_BIES, TUNNEL_STATUSES, VPN_GATEWAY_STATUSES };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { API, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
|
+
export * from './constants.gen.js';
|
|
3
4
|
export * from './marshalling.gen.js';
|
|
4
5
|
export type { BgpSession, BgpSessionStatus, ChangeConnectionPskRequest, ChangeConnectionPskRequestSecret, ChangeConnectionPskResponse, Connection, ConnectionCipher, ConnectionDhGroup, ConnectionEncryption, ConnectionInitiationPolicy, ConnectionIntegrity, ConnectionStatus, CreateConnectionRequest, CreateConnectionRequestBgpConfig, CreateConnectionRequestInitiationPolicy, CreateConnectionRequestSecret, CreateConnectionResponse, CreateCustomerGatewayRequest, CreateRoutingPolicyRequest, CreateVpnGatewayRequest, CreateVpnGatewayRequestDualIpTunnel, CreateVpnGatewayRequestPublicConfig, CreateVpnGatewayRequestPublicTunnelConfig, CreateVpnGatewayRequestSingleIpTunnel, CustomerGateway, DeleteConnectionRequest, DeleteCustomerGatewayRequest, DeleteRoutingPolicyRequest, DeleteVpnGatewayRequest, DetachRoutingPolicyRequest, DisableRoutePropagationRequest, EnableRoutePropagationRequest, GatewayType, GetConnectionRequest, GetCustomerGatewayRequest, GetRoutingPolicyRequest, GetVpnGatewayRequest, ListConnectionsRequest, ListConnectionsRequestOrderBy, ListConnectionsResponse, ListCustomerGatewaysRequest, ListCustomerGatewaysRequestOrderBy, ListCustomerGatewaysResponse, ListRoutingPoliciesRequest, ListRoutingPoliciesRequestOrderBy, ListRoutingPoliciesResponse, ListVpnGatewayTypesRequest, ListVpnGatewayTypesResponse, ListVpnGatewaysRequest, ListVpnGatewaysRequestOrderBy, ListVpnGatewaysResponse, RenewConnectionPskRequest, RenewConnectionPskResponse, RoutingPolicy, SetRoutingPolicyRequest, TunnelStatus, UpdateConnectionRequest, UpdateCustomerGatewayRequest, UpdateRoutingPolicyRequest, UpdateVpnGatewayRequest, VpnGateway, VpnGatewayPrivateConfig, VpnGatewayPublicConfig, VpnGatewayStatus, } from './types.gen.js';
|
|
5
6
|
export * as ValidationRules from './validation-rules.gen.js';
|
|
@@ -2,10 +2,24 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { VPN_GATEWAY_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalChangeConnectionPskRequest, marshalCreateConnectionRequest, marshalCreateCustomerGatewayRequest, marshalCreateRoutingPolicyRequest, marshalCreateVpnGatewayRequest, marshalDetachRoutingPolicyRequest, marshalRenewConnectionPskRequest, marshalSetRoutingPolicyRequest, marshalUpdateConnectionRequest, marshalUpdateCustomerGatewayRequest, marshalUpdateRoutingPolicyRequest, marshalUpdateVpnGatewayRequest, unmarshalChangeConnectionPskResponse, unmarshalConnection, unmarshalCreateConnectionResponse, unmarshalCustomerGateway, unmarshalListConnectionsResponse, unmarshalListCustomerGatewaysResponse, unmarshalListRoutingPoliciesResponse, unmarshalListVpnGatewayTypesResponse, unmarshalListVpnGatewaysResponse, unmarshalRenewConnectionPskResponse, unmarshalRoutingPolicy, unmarshalVpnGateway } from "./marshalling.gen.js";
|
|
4
4
|
import { API } from "./api.gen.js";
|
|
5
|
+
import { BGP_SESSION_STATUSES, CONNECTION_DH_GROUPS, CONNECTION_ENCRYPTIONS, CONNECTION_INITIATION_POLICIES, CONNECTION_INTEGRITIES, CONNECTION_STATUSES, CREATE_CONNECTION_REQUEST_INITIATION_POLICIES, LIST_CONNECTIONS_REQUEST_ORDER_BIES, LIST_CUSTOMER_GATEWAYS_REQUEST_ORDER_BIES, LIST_ROUTING_POLICIES_REQUEST_ORDER_BIES, LIST_VPN_GATEWAYS_REQUEST_ORDER_BIES, TUNNEL_STATUSES, VPN_GATEWAY_STATUSES } from "./constants.gen.js";
|
|
5
6
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
7
|
//#region src/v1alpha1/index.gen.ts
|
|
7
8
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
8
9
|
API: () => API,
|
|
10
|
+
BGP_SESSION_STATUSES: () => BGP_SESSION_STATUSES,
|
|
11
|
+
CONNECTION_DH_GROUPS: () => CONNECTION_DH_GROUPS,
|
|
12
|
+
CONNECTION_ENCRYPTIONS: () => CONNECTION_ENCRYPTIONS,
|
|
13
|
+
CONNECTION_INITIATION_POLICIES: () => CONNECTION_INITIATION_POLICIES,
|
|
14
|
+
CONNECTION_INTEGRITIES: () => CONNECTION_INTEGRITIES,
|
|
15
|
+
CONNECTION_STATUSES: () => CONNECTION_STATUSES,
|
|
16
|
+
CREATE_CONNECTION_REQUEST_INITIATION_POLICIES: () => CREATE_CONNECTION_REQUEST_INITIATION_POLICIES,
|
|
17
|
+
LIST_CONNECTIONS_REQUEST_ORDER_BIES: () => LIST_CONNECTIONS_REQUEST_ORDER_BIES,
|
|
18
|
+
LIST_CUSTOMER_GATEWAYS_REQUEST_ORDER_BIES: () => LIST_CUSTOMER_GATEWAYS_REQUEST_ORDER_BIES,
|
|
19
|
+
LIST_ROUTING_POLICIES_REQUEST_ORDER_BIES: () => LIST_ROUTING_POLICIES_REQUEST_ORDER_BIES,
|
|
20
|
+
LIST_VPN_GATEWAYS_REQUEST_ORDER_BIES: () => LIST_VPN_GATEWAYS_REQUEST_ORDER_BIES,
|
|
21
|
+
TUNNEL_STATUSES: () => TUNNEL_STATUSES,
|
|
22
|
+
VPN_GATEWAY_STATUSES: () => VPN_GATEWAY_STATUSES,
|
|
9
23
|
VPN_GATEWAY_TRANSIENT_STATUSES: () => VPN_GATEWAY_TRANSIENT_STATUSES,
|
|
10
24
|
ValidationRules: () => validation_rules_gen_exports,
|
|
11
25
|
marshalChangeConnectionPskRequest: () => marshalChangeConnectionPskRequest,
|
|
@@ -34,4 +48,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
34
48
|
unmarshalVpnGateway: () => unmarshalVpnGateway
|
|
35
49
|
});
|
|
36
50
|
//#endregion
|
|
37
|
-
export { API, VPN_GATEWAY_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalChangeConnectionPskRequest, marshalCreateConnectionRequest, marshalCreateCustomerGatewayRequest, marshalCreateRoutingPolicyRequest, marshalCreateVpnGatewayRequest, marshalDetachRoutingPolicyRequest, marshalRenewConnectionPskRequest, marshalSetRoutingPolicyRequest, marshalUpdateConnectionRequest, marshalUpdateCustomerGatewayRequest, marshalUpdateRoutingPolicyRequest, marshalUpdateVpnGatewayRequest, unmarshalChangeConnectionPskResponse, unmarshalConnection, unmarshalCreateConnectionResponse, unmarshalCustomerGateway, unmarshalListConnectionsResponse, unmarshalListCustomerGatewaysResponse, unmarshalListRoutingPoliciesResponse, unmarshalListVpnGatewayTypesResponse, unmarshalListVpnGatewaysResponse, unmarshalRenewConnectionPskResponse, unmarshalRoutingPolicy, unmarshalVpnGateway };
|
|
51
|
+
export { API, BGP_SESSION_STATUSES, CONNECTION_DH_GROUPS, CONNECTION_ENCRYPTIONS, CONNECTION_INITIATION_POLICIES, CONNECTION_INTEGRITIES, CONNECTION_STATUSES, CREATE_CONNECTION_REQUEST_INITIATION_POLICIES, LIST_CONNECTIONS_REQUEST_ORDER_BIES, LIST_CUSTOMER_GATEWAYS_REQUEST_ORDER_BIES, LIST_ROUTING_POLICIES_REQUEST_ORDER_BIES, LIST_VPN_GATEWAYS_REQUEST_ORDER_BIES, TUNNEL_STATUSES, VPN_GATEWAY_STATUSES, VPN_GATEWAY_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalChangeConnectionPskRequest, marshalCreateConnectionRequest, marshalCreateCustomerGatewayRequest, marshalCreateRoutingPolicyRequest, marshalCreateVpnGatewayRequest, marshalDetachRoutingPolicyRequest, marshalRenewConnectionPskRequest, marshalSetRoutingPolicyRequest, marshalUpdateConnectionRequest, marshalUpdateCustomerGatewayRequest, marshalUpdateRoutingPolicyRequest, marshalUpdateVpnGatewayRequest, unmarshalChangeConnectionPskResponse, unmarshalConnection, unmarshalCreateConnectionResponse, unmarshalCustomerGateway, unmarshalListConnectionsResponse, unmarshalListCustomerGatewaysResponse, unmarshalListRoutingPoliciesResponse, unmarshalListVpnGatewayTypesResponse, unmarshalListVpnGatewaysResponse, unmarshalRenewConnectionPskResponse, unmarshalRoutingPolicy, unmarshalVpnGateway };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-s2s-vpn",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "Scaleway SDK s2s-vpn",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@scaleway/random-name": "6.0.2",
|
|
36
|
-
"@scaleway/sdk-std": "2.
|
|
36
|
+
"@scaleway/sdk-std": "2.7.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@repo/configs": "^0.1.1",
|