@scaleway/sdk-vpcgw 2.11.0 → 2.12.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/dist/v2/constants.gen.d.ts +15 -0
- package/dist/v2/constants.gen.js +65 -0
- package/dist/v2/index.gen.d.ts +1 -0
- package/dist/v2/index.gen.js +9 -1
- package/package.json +2 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { GatewayNetworkStatus, GatewayStatus, ListGatewayNetworksRequestOrderBy, ListGatewaysRequestOrderBy, ListIPsRequestOrderBy, ListPatRulesRequestOrderBy, PatRuleProtocol } from './types.gen.js';
|
|
2
|
+
/** Lists all values of the enum {@link GatewayNetworkStatus}. */
|
|
3
|
+
export declare const GATEWAY_NETWORK_STATUSES: GatewayNetworkStatus[];
|
|
4
|
+
/** Lists all values of the enum {@link GatewayStatus}. */
|
|
5
|
+
export declare const GATEWAY_STATUSES: GatewayStatus[];
|
|
6
|
+
/** Lists all values of the enum {@link ListGatewayNetworksRequestOrderBy}. */
|
|
7
|
+
export declare const LIST_GATEWAY_NETWORKS_REQUEST_ORDER_BIES: ListGatewayNetworksRequestOrderBy[];
|
|
8
|
+
/** Lists all values of the enum {@link ListGatewaysRequestOrderBy}. */
|
|
9
|
+
export declare const LIST_GATEWAYS_REQUEST_ORDER_BIES: ListGatewaysRequestOrderBy[];
|
|
10
|
+
/** Lists all values of the enum {@link ListIPsRequestOrderBy}. */
|
|
11
|
+
export declare const LIST_I_PS_REQUEST_ORDER_BIES: ListIPsRequestOrderBy[];
|
|
12
|
+
/** Lists all values of the enum {@link ListPatRulesRequestOrderBy}. */
|
|
13
|
+
export declare const LIST_PAT_RULES_REQUEST_ORDER_BIES: ListPatRulesRequestOrderBy[];
|
|
14
|
+
/** Lists all values of the enum {@link PatRuleProtocol}. */
|
|
15
|
+
export declare const PAT_RULE_PROTOCOLS: PatRuleProtocol[];
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
//#region src/v2/constants.gen.ts
|
|
2
|
+
/** Lists all values of the enum {@link GatewayNetworkStatus}. */
|
|
3
|
+
const GATEWAY_NETWORK_STATUSES = [
|
|
4
|
+
"unknown_status",
|
|
5
|
+
"created",
|
|
6
|
+
"attaching",
|
|
7
|
+
"configuring",
|
|
8
|
+
"ready",
|
|
9
|
+
"detaching"
|
|
10
|
+
];
|
|
11
|
+
/** Lists all values of the enum {@link GatewayStatus}. */
|
|
12
|
+
const GATEWAY_STATUSES = [
|
|
13
|
+
"unknown_status",
|
|
14
|
+
"stopped",
|
|
15
|
+
"allocating",
|
|
16
|
+
"configuring",
|
|
17
|
+
"running",
|
|
18
|
+
"stopping",
|
|
19
|
+
"failed",
|
|
20
|
+
"deleting",
|
|
21
|
+
"locked"
|
|
22
|
+
];
|
|
23
|
+
/** Lists all values of the enum {@link ListGatewayNetworksRequestOrderBy}. */
|
|
24
|
+
const LIST_GATEWAY_NETWORKS_REQUEST_ORDER_BIES = [
|
|
25
|
+
"created_at_asc",
|
|
26
|
+
"created_at_desc",
|
|
27
|
+
"status_asc",
|
|
28
|
+
"status_desc"
|
|
29
|
+
];
|
|
30
|
+
/** Lists all values of the enum {@link ListGatewaysRequestOrderBy}. */
|
|
31
|
+
const LIST_GATEWAYS_REQUEST_ORDER_BIES = [
|
|
32
|
+
"created_at_asc",
|
|
33
|
+
"created_at_desc",
|
|
34
|
+
"name_asc",
|
|
35
|
+
"name_desc",
|
|
36
|
+
"type_asc",
|
|
37
|
+
"type_desc",
|
|
38
|
+
"status_asc",
|
|
39
|
+
"status_desc"
|
|
40
|
+
];
|
|
41
|
+
/** Lists all values of the enum {@link ListIPsRequestOrderBy}. */
|
|
42
|
+
const LIST_I_PS_REQUEST_ORDER_BIES = [
|
|
43
|
+
"created_at_asc",
|
|
44
|
+
"created_at_desc",
|
|
45
|
+
"address_asc",
|
|
46
|
+
"address_desc",
|
|
47
|
+
"reverse_asc",
|
|
48
|
+
"reverse_desc"
|
|
49
|
+
];
|
|
50
|
+
/** Lists all values of the enum {@link ListPatRulesRequestOrderBy}. */
|
|
51
|
+
const LIST_PAT_RULES_REQUEST_ORDER_BIES = [
|
|
52
|
+
"created_at_asc",
|
|
53
|
+
"created_at_desc",
|
|
54
|
+
"public_port_asc",
|
|
55
|
+
"public_port_desc"
|
|
56
|
+
];
|
|
57
|
+
/** Lists all values of the enum {@link PatRuleProtocol}. */
|
|
58
|
+
const PAT_RULE_PROTOCOLS = [
|
|
59
|
+
"unknown_protocol",
|
|
60
|
+
"both",
|
|
61
|
+
"tcp",
|
|
62
|
+
"udp"
|
|
63
|
+
];
|
|
64
|
+
//#endregion
|
|
65
|
+
export { GATEWAY_NETWORK_STATUSES, GATEWAY_STATUSES, LIST_GATEWAYS_REQUEST_ORDER_BIES, LIST_GATEWAY_NETWORKS_REQUEST_ORDER_BIES, LIST_I_PS_REQUEST_ORDER_BIES, LIST_PAT_RULES_REQUEST_ORDER_BIES, PAT_RULE_PROTOCOLS };
|
package/dist/v2/index.gen.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
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 { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, CreateGatewayNetworkRequest, CreateGatewayRequest, CreateIPRequest, CreatePatRuleRequest, DeleteBastionAllowedIPsRequest, DeleteGatewayNetworkRequest, DeleteGatewayRequest, DeleteIPRequest, DeletePatRuleRequest, Gateway, GatewayNetwork, GatewayNetworkStatus, GatewayStatus, GatewayType, GetGatewayNetworkRequest, GetGatewayRequest, GetIPRequest, GetPatRuleRequest, IP, ListGatewayNetworksRequest, ListGatewayNetworksRequestOrderBy, ListGatewayNetworksResponse, ListGatewayTypesRequest, ListGatewayTypesResponse, ListGatewaysRequest, ListGatewaysRequestOrderBy, ListGatewaysResponse, ListIPsRequest, ListIPsRequestOrderBy, ListIPsResponse, ListPatRulesRequest, ListPatRulesRequestOrderBy, ListPatRulesResponse, PatRule, PatRuleProtocol, RefreshSSHKeysRequest, SetBastionAllowedIPsRequest, SetBastionAllowedIPsResponse, SetPatRulesRequest, SetPatRulesRequestRule, SetPatRulesResponse, UpdateGatewayNetworkRequest, UpdateGatewayRequest, UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest, } from './types.gen.js';
|
package/dist/v2/index.gen.js
CHANGED
|
@@ -2,11 +2,19 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { GATEWAY_NETWORK_TRANSIENT_STATUSES, GATEWAY_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalAddBastionAllowedIPsRequest, marshalCreateGatewayNetworkRequest, marshalCreateGatewayRequest, marshalCreateIPRequest, marshalCreatePatRuleRequest, marshalSetBastionAllowedIPsRequest, marshalSetPatRulesRequest, marshalUpdateGatewayNetworkRequest, marshalUpdateGatewayRequest, marshalUpdateIPRequest, marshalUpdatePatRuleRequest, marshalUpgradeGatewayRequest, unmarshalAddBastionAllowedIPsResponse, unmarshalGateway, unmarshalGatewayNetwork, unmarshalIP, unmarshalListGatewayNetworksResponse, unmarshalListGatewayTypesResponse, unmarshalListGatewaysResponse, unmarshalListIPsResponse, unmarshalListPatRulesResponse, unmarshalPatRule, unmarshalSetBastionAllowedIPsResponse, unmarshalSetPatRulesResponse } from "./marshalling.gen.js";
|
|
4
4
|
import { API } from "./api.gen.js";
|
|
5
|
+
import { GATEWAY_NETWORK_STATUSES, GATEWAY_STATUSES, LIST_GATEWAYS_REQUEST_ORDER_BIES, LIST_GATEWAY_NETWORKS_REQUEST_ORDER_BIES, LIST_I_PS_REQUEST_ORDER_BIES, LIST_PAT_RULES_REQUEST_ORDER_BIES, PAT_RULE_PROTOCOLS } from "./constants.gen.js";
|
|
5
6
|
//#region src/v2/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
API: () => API,
|
|
9
|
+
GATEWAY_NETWORK_STATUSES: () => GATEWAY_NETWORK_STATUSES,
|
|
8
10
|
GATEWAY_NETWORK_TRANSIENT_STATUSES: () => GATEWAY_NETWORK_TRANSIENT_STATUSES,
|
|
11
|
+
GATEWAY_STATUSES: () => GATEWAY_STATUSES,
|
|
9
12
|
GATEWAY_TRANSIENT_STATUSES: () => GATEWAY_TRANSIENT_STATUSES,
|
|
13
|
+
LIST_GATEWAYS_REQUEST_ORDER_BIES: () => LIST_GATEWAYS_REQUEST_ORDER_BIES,
|
|
14
|
+
LIST_GATEWAY_NETWORKS_REQUEST_ORDER_BIES: () => LIST_GATEWAY_NETWORKS_REQUEST_ORDER_BIES,
|
|
15
|
+
LIST_I_PS_REQUEST_ORDER_BIES: () => LIST_I_PS_REQUEST_ORDER_BIES,
|
|
16
|
+
LIST_PAT_RULES_REQUEST_ORDER_BIES: () => LIST_PAT_RULES_REQUEST_ORDER_BIES,
|
|
17
|
+
PAT_RULE_PROTOCOLS: () => PAT_RULE_PROTOCOLS,
|
|
10
18
|
marshalAddBastionAllowedIPsRequest: () => marshalAddBastionAllowedIPsRequest,
|
|
11
19
|
marshalCreateGatewayNetworkRequest: () => marshalCreateGatewayNetworkRequest,
|
|
12
20
|
marshalCreateGatewayRequest: () => marshalCreateGatewayRequest,
|
|
@@ -33,4 +41,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
33
41
|
unmarshalSetPatRulesResponse: () => unmarshalSetPatRulesResponse
|
|
34
42
|
});
|
|
35
43
|
//#endregion
|
|
36
|
-
export { API, GATEWAY_NETWORK_TRANSIENT_STATUSES, GATEWAY_TRANSIENT_STATUSES, index_gen_exports, marshalAddBastionAllowedIPsRequest, marshalCreateGatewayNetworkRequest, marshalCreateGatewayRequest, marshalCreateIPRequest, marshalCreatePatRuleRequest, marshalSetBastionAllowedIPsRequest, marshalSetPatRulesRequest, marshalUpdateGatewayNetworkRequest, marshalUpdateGatewayRequest, marshalUpdateIPRequest, marshalUpdatePatRuleRequest, marshalUpgradeGatewayRequest, unmarshalAddBastionAllowedIPsResponse, unmarshalGateway, unmarshalGatewayNetwork, unmarshalIP, unmarshalListGatewayNetworksResponse, unmarshalListGatewayTypesResponse, unmarshalListGatewaysResponse, unmarshalListIPsResponse, unmarshalListPatRulesResponse, unmarshalPatRule, unmarshalSetBastionAllowedIPsResponse, unmarshalSetPatRulesResponse };
|
|
44
|
+
export { API, GATEWAY_NETWORK_STATUSES, GATEWAY_NETWORK_TRANSIENT_STATUSES, GATEWAY_STATUSES, GATEWAY_TRANSIENT_STATUSES, LIST_GATEWAYS_REQUEST_ORDER_BIES, LIST_GATEWAY_NETWORKS_REQUEST_ORDER_BIES, LIST_I_PS_REQUEST_ORDER_BIES, LIST_PAT_RULES_REQUEST_ORDER_BIES, PAT_RULE_PROTOCOLS, index_gen_exports, marshalAddBastionAllowedIPsRequest, marshalCreateGatewayNetworkRequest, marshalCreateGatewayRequest, marshalCreateIPRequest, marshalCreatePatRuleRequest, marshalSetBastionAllowedIPsRequest, marshalSetPatRulesRequest, marshalUpdateGatewayNetworkRequest, marshalUpdateGatewayRequest, marshalUpdateIPRequest, marshalUpdatePatRuleRequest, marshalUpgradeGatewayRequest, unmarshalAddBastionAllowedIPsResponse, unmarshalGateway, unmarshalGatewayNetwork, unmarshalIP, unmarshalListGatewayNetworksResponse, unmarshalListGatewayTypesResponse, unmarshalListGatewaysResponse, unmarshalListIPsResponse, unmarshalListPatRulesResponse, unmarshalPatRule, unmarshalSetBastionAllowedIPsResponse, unmarshalSetPatRulesResponse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-vpcgw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "Scaleway SDK vpcgw",
|
|
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",
|