@scaleway/sdk-vpcgw 2.12.1 → 2.14.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.
@@ -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
  };
@@ -9,12 +9,12 @@ export declare const queriesMetadata: {
9
9
  readonly protoName: 'ListGateways';
10
10
  readonly paramsType: 'ListGatewaysRequest';
11
11
  readonly returnType: 'ListGatewaysResponse';
12
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
12
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
13
13
  readonly isList: true;
14
14
  readonly paginationType: 'offset';
15
15
  readonly pageParamKey: 'page';
16
16
  readonly listItemType: 'Gateway';
17
- readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
17
+ readonly listItemTypeNamespace: '@scaleway/sdk-vpcgw/v2';
18
18
  readonly isPrivate: false;
19
19
  readonly description: '"';
20
20
  }, {
@@ -22,7 +22,7 @@ export declare const queriesMetadata: {
22
22
  readonly protoName: 'GetGateway';
23
23
  readonly paramsType: 'GetGatewayRequest';
24
24
  readonly returnType: 'Gateway';
25
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
25
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
26
26
  readonly isList: false;
27
27
  readonly paginationType: 'none';
28
28
  readonly isPrivate: false;
@@ -33,12 +33,12 @@ export declare const queriesMetadata: {
33
33
  readonly protoName: 'ListGatewayNetworks';
34
34
  readonly paramsType: 'ListGatewayNetworksRequest';
35
35
  readonly returnType: 'ListGatewayNetworksResponse';
36
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
36
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
37
37
  readonly isList: true;
38
38
  readonly paginationType: 'offset';
39
39
  readonly pageParamKey: 'page';
40
40
  readonly listItemType: 'GatewayNetwork';
41
- readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
41
+ readonly listItemTypeNamespace: '@scaleway/sdk-vpcgw/v2';
42
42
  readonly isPrivate: false;
43
43
  readonly description: '"';
44
44
  }, {
@@ -46,7 +46,7 @@ export declare const queriesMetadata: {
46
46
  readonly protoName: 'GetGatewayNetwork';
47
47
  readonly paramsType: 'GetGatewayNetworkRequest';
48
48
  readonly returnType: 'GatewayNetwork';
49
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
49
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
50
50
  readonly isList: false;
51
51
  readonly paginationType: 'none';
52
52
  readonly isPrivate: false;
@@ -57,12 +57,12 @@ export declare const queriesMetadata: {
57
57
  readonly protoName: 'ListPatRules';
58
58
  readonly paramsType: 'ListPatRulesRequest';
59
59
  readonly returnType: 'ListPatRulesResponse';
60
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
60
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
61
61
  readonly isList: true;
62
62
  readonly paginationType: 'offset';
63
63
  readonly pageParamKey: 'page';
64
64
  readonly listItemType: 'PatRule';
65
- readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
65
+ readonly listItemTypeNamespace: '@scaleway/sdk-vpcgw/v2';
66
66
  readonly isPrivate: false;
67
67
  readonly description: '"';
68
68
  }, {
@@ -70,7 +70,7 @@ export declare const queriesMetadata: {
70
70
  readonly protoName: 'GetPatRule';
71
71
  readonly paramsType: 'GetPatRuleRequest';
72
72
  readonly returnType: 'PatRule';
73
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
73
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
74
74
  readonly isList: false;
75
75
  readonly paginationType: 'none';
76
76
  readonly isPrivate: false;
@@ -80,7 +80,7 @@ export declare const queriesMetadata: {
80
80
  readonly protoName: 'ListGatewayTypes';
81
81
  readonly paramsType: 'ListGatewayTypesRequest';
82
82
  readonly returnType: 'ListGatewayTypesResponse';
83
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
83
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
84
84
  readonly isList: false;
85
85
  readonly paginationType: 'none';
86
86
  readonly isPrivate: false;
@@ -90,12 +90,12 @@ export declare const queriesMetadata: {
90
90
  readonly protoName: 'ListIPs';
91
91
  readonly paramsType: 'ListIPsRequest';
92
92
  readonly returnType: 'ListIPsResponse';
93
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
93
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
94
94
  readonly isList: true;
95
95
  readonly paginationType: 'offset';
96
96
  readonly pageParamKey: 'page';
97
97
  readonly listItemType: 'IP';
98
- readonly listItemTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
98
+ readonly listItemTypeNamespace: '@scaleway/sdk-vpcgw/v2';
99
99
  readonly isPrivate: false;
100
100
  readonly description: '"';
101
101
  }, {
@@ -103,7 +103,7 @@ export declare const queriesMetadata: {
103
103
  readonly protoName: 'GetIP';
104
104
  readonly paramsType: 'GetIPRequest';
105
105
  readonly returnType: 'IP';
106
- readonly returnTypeNamespace: '@scaleway-internal/sdk-vpcgw/v2';
106
+ readonly returnTypeNamespace: '@scaleway/sdk-vpcgw/v2';
107
107
  readonly isList: false;
108
108
  readonly paginationType: 'none';
109
109
  readonly isPrivate: false;
@@ -11,12 +11,12 @@ const queriesMetadata = {
11
11
  protoName: "ListGateways",
12
12
  paramsType: "ListGatewaysRequest",
13
13
  returnType: "ListGatewaysResponse",
14
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
14
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
15
15
  isList: true,
16
16
  paginationType: "offset",
17
17
  pageParamKey: "page",
18
18
  listItemType: "Gateway",
19
- listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
19
+ listItemTypeNamespace: "@scaleway/sdk-vpcgw/v2",
20
20
  isPrivate: false,
21
21
  description: "\""
22
22
  },
@@ -25,7 +25,7 @@ const queriesMetadata = {
25
25
  protoName: "GetGateway",
26
26
  paramsType: "GetGatewayRequest",
27
27
  returnType: "Gateway",
28
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
28
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
29
29
  isList: false,
30
30
  paginationType: "none",
31
31
  isPrivate: false,
@@ -37,12 +37,12 @@ const queriesMetadata = {
37
37
  protoName: "ListGatewayNetworks",
38
38
  paramsType: "ListGatewayNetworksRequest",
39
39
  returnType: "ListGatewayNetworksResponse",
40
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
40
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
41
41
  isList: true,
42
42
  paginationType: "offset",
43
43
  pageParamKey: "page",
44
44
  listItemType: "GatewayNetwork",
45
- listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
45
+ listItemTypeNamespace: "@scaleway/sdk-vpcgw/v2",
46
46
  isPrivate: false,
47
47
  description: "\""
48
48
  },
@@ -51,7 +51,7 @@ const queriesMetadata = {
51
51
  protoName: "GetGatewayNetwork",
52
52
  paramsType: "GetGatewayNetworkRequest",
53
53
  returnType: "GatewayNetwork",
54
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
54
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
55
55
  isList: false,
56
56
  paginationType: "none",
57
57
  isPrivate: false,
@@ -63,12 +63,12 @@ const queriesMetadata = {
63
63
  protoName: "ListPatRules",
64
64
  paramsType: "ListPatRulesRequest",
65
65
  returnType: "ListPatRulesResponse",
66
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
66
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
67
67
  isList: true,
68
68
  paginationType: "offset",
69
69
  pageParamKey: "page",
70
70
  listItemType: "PatRule",
71
- listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
71
+ listItemTypeNamespace: "@scaleway/sdk-vpcgw/v2",
72
72
  isPrivate: false,
73
73
  description: "\""
74
74
  },
@@ -77,7 +77,7 @@ const queriesMetadata = {
77
77
  protoName: "GetPatRule",
78
78
  paramsType: "GetPatRuleRequest",
79
79
  returnType: "PatRule",
80
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
80
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
81
81
  isList: false,
82
82
  paginationType: "none",
83
83
  isPrivate: false,
@@ -88,7 +88,7 @@ const queriesMetadata = {
88
88
  protoName: "ListGatewayTypes",
89
89
  paramsType: "ListGatewayTypesRequest",
90
90
  returnType: "ListGatewayTypesResponse",
91
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
91
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
92
92
  isList: false,
93
93
  paginationType: "none",
94
94
  isPrivate: false,
@@ -99,12 +99,12 @@ const queriesMetadata = {
99
99
  protoName: "ListIPs",
100
100
  paramsType: "ListIPsRequest",
101
101
  returnType: "ListIPsResponse",
102
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
102
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
103
103
  isList: true,
104
104
  paginationType: "offset",
105
105
  pageParamKey: "page",
106
106
  listItemType: "IP",
107
- listItemTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
107
+ listItemTypeNamespace: "@scaleway/sdk-vpcgw/v2",
108
108
  isPrivate: false,
109
109
  description: "\""
110
110
  },
@@ -113,7 +113,7 @@ const queriesMetadata = {
113
113
  protoName: "GetIP",
114
114
  paramsType: "GetIPRequest",
115
115
  returnType: "IP",
116
- returnTypeNamespace: "@scaleway-internal/sdk-vpcgw/v2",
116
+ returnTypeNamespace: "@scaleway/sdk-vpcgw/v2",
117
117
  isList: false,
118
118
  paginationType: "none",
119
119
  isPrivate: false,
@@ -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.12.1",
3
+ "version": "2.14.0",
4
4
  "description": "Scaleway SDK vpcgw",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,17 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.7.1"
36
+ "@scaleway/sdk-std": "2.8.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.7.0"
40
+ "@scaleway/sdk-client": "^2.9.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scaleway/sdk-client": "^2.7.0"
44
- },
45
- "engines": {
46
- "node": ">=20.20.2"
43
+ "@scaleway/sdk-client": "^2.9.0"
47
44
  },
48
45
  "scripts": {
49
46
  "package:check": "pnpm publint",