@scaleway/sdk-vpcgw 2.13.0 → 2.14.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/dist/v2/marshalling.gen.js +4 -0
- package/dist/v2/types.gen.d.ts +16 -0
- package/package.json +4 -4
|
@@ -12,6 +12,7 @@ const unmarshalGatewayNetwork = (data) => {
|
|
|
12
12
|
masqueradeEnabled: data.masquerade_enabled,
|
|
13
13
|
privateNetworkId: data.private_network_id,
|
|
14
14
|
pushDefaultRoute: data.push_default_route,
|
|
15
|
+
srn: data.srn,
|
|
15
16
|
status: data.status,
|
|
16
17
|
updatedAt: unmarshalDate(data.updated_at),
|
|
17
18
|
zone: data.zone
|
|
@@ -27,6 +28,7 @@ const unmarshalIP = (data) => {
|
|
|
27
28
|
organizationId: data.organization_id,
|
|
28
29
|
projectId: data.project_id,
|
|
29
30
|
reverse: data.reverse,
|
|
31
|
+
srn: data.srn,
|
|
30
32
|
tags: data.tags,
|
|
31
33
|
updatedAt: unmarshalDate(data.updated_at),
|
|
32
34
|
zone: data.zone
|
|
@@ -49,6 +51,7 @@ const unmarshalGateway = (data) => {
|
|
|
49
51
|
organizationId: data.organization_id,
|
|
50
52
|
projectId: data.project_id,
|
|
51
53
|
smtpEnabled: data.smtp_enabled,
|
|
54
|
+
srn: data.srn,
|
|
52
55
|
status: data.status,
|
|
53
56
|
tags: data.tags,
|
|
54
57
|
type: data.type,
|
|
@@ -67,6 +70,7 @@ const unmarshalPatRule = (data) => {
|
|
|
67
70
|
privatePort: data.private_port,
|
|
68
71
|
protocol: data.protocol,
|
|
69
72
|
publicPort: data.public_port,
|
|
73
|
+
srn: data.srn,
|
|
70
74
|
updatedAt: unmarshalDate(data.updated_at),
|
|
71
75
|
zone: data.zone
|
|
72
76
|
};
|
package/dist/v2/types.gen.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ export interface GatewayNetwork {
|
|
|
11
11
|
* ID of the Public Gateway-Private Network connection.
|
|
12
12
|
*/
|
|
13
13
|
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* The SRN of the gateway network.
|
|
16
|
+
*/
|
|
17
|
+
srn: string;
|
|
14
18
|
/**
|
|
15
19
|
* Connection creation date.
|
|
16
20
|
*/
|
|
@@ -57,6 +61,10 @@ export interface IP {
|
|
|
57
61
|
* IP address ID.
|
|
58
62
|
*/
|
|
59
63
|
id: string;
|
|
64
|
+
/**
|
|
65
|
+
* The SRN of the ip.
|
|
66
|
+
*/
|
|
67
|
+
srn: string;
|
|
60
68
|
/**
|
|
61
69
|
* Owning Organization.
|
|
62
70
|
*/
|
|
@@ -113,6 +121,10 @@ export interface Gateway {
|
|
|
113
121
|
* ID of the gateway.
|
|
114
122
|
*/
|
|
115
123
|
id: string;
|
|
124
|
+
/**
|
|
125
|
+
* The SRN of the gateway.
|
|
126
|
+
*/
|
|
127
|
+
srn: string;
|
|
116
128
|
/**
|
|
117
129
|
* Owning Organization.
|
|
118
130
|
*/
|
|
@@ -195,6 +207,10 @@ export interface PatRule {
|
|
|
195
207
|
* PAT rule ID.
|
|
196
208
|
*/
|
|
197
209
|
id: string;
|
|
210
|
+
/**
|
|
211
|
+
* The SRN of the PAT rule.
|
|
212
|
+
*/
|
|
213
|
+
srn: string;
|
|
198
214
|
/**
|
|
199
215
|
* Gateway the PAT rule applies to.
|
|
200
216
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-vpcgw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "Scaleway SDK vpcgw",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@scaleway/random-name": "6.0.2",
|
|
36
|
-
"@scaleway/sdk-std": "2.8.
|
|
36
|
+
"@scaleway/sdk-std": "2.8.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@repo/configs": "^0.1.1",
|
|
40
|
-
"@scaleway/sdk-client": "^2.
|
|
40
|
+
"@scaleway/sdk-client": "^2.10.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@scaleway/sdk-client": "^2.
|
|
43
|
+
"@scaleway/sdk-client": "^2.10.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"package:check": "pnpm publint",
|