@scaleway/sdk-vpc 2.14.0 → 2.15.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,21 @@
1
+ import type { AclRuleProtocol, Action, ListIngressRulesRequestOrderBy, ListPrivateNetworksRequestOrderBy, ListSubnetOverlapsRequestOrderBy, ListSubnetsRequestOrderBy, ListVPCConnectorsRequestOrderBy, ListVPCsRequestOrderBy, RouteType, VPCConnectorStatus } from './types.gen.js';
2
+ /** Lists all values of the enum {@link AclRuleProtocol}. */
3
+ export declare const ACL_RULE_PROTOCOLS: AclRuleProtocol[];
4
+ /** Lists all values of the enum {@link Action}. */
5
+ export declare const ACTIONS: Action[];
6
+ /** Lists all values of the enum {@link ListIngressRulesRequestOrderBy}. */
7
+ export declare const LIST_INGRESS_RULES_REQUEST_ORDER_BIES: ListIngressRulesRequestOrderBy[];
8
+ /** Lists all values of the enum {@link ListPrivateNetworksRequestOrderBy}. */
9
+ export declare const LIST_PRIVATE_NETWORKS_REQUEST_ORDER_BIES: ListPrivateNetworksRequestOrderBy[];
10
+ /** Lists all values of the enum {@link ListSubnetOverlapsRequestOrderBy}. */
11
+ export declare const LIST_SUBNET_OVERLAPS_REQUEST_ORDER_BIES: ListSubnetOverlapsRequestOrderBy[];
12
+ /** Lists all values of the enum {@link ListSubnetsRequestOrderBy}. */
13
+ export declare const LIST_SUBNETS_REQUEST_ORDER_BIES: ListSubnetsRequestOrderBy[];
14
+ /** Lists all values of the enum {@link ListVPCConnectorsRequestOrderBy}. */
15
+ export declare const LIST_VPC_CONNECTORS_REQUEST_ORDER_BIES: ListVPCConnectorsRequestOrderBy[];
16
+ /** Lists all values of the enum {@link ListVPCsRequestOrderBy}. */
17
+ export declare const LIST_VP_CS_REQUEST_ORDER_BIES: ListVPCsRequestOrderBy[];
18
+ /** Lists all values of the enum {@link RouteType}. */
19
+ export declare const ROUTE_TYPES: RouteType[];
20
+ /** Lists all values of the enum {@link VPCConnectorStatus}. */
21
+ export declare const VPC_CONNECTOR_STATUSES: VPCConnectorStatus[];
@@ -0,0 +1,71 @@
1
+ //#region src/v2/constants.gen.ts
2
+ /** Lists all values of the enum {@link AclRuleProtocol}. */
3
+ const ACL_RULE_PROTOCOLS = [
4
+ "ANY",
5
+ "TCP",
6
+ "UDP",
7
+ "ICMP"
8
+ ];
9
+ /** Lists all values of the enum {@link Action}. */
10
+ const ACTIONS = [
11
+ "unknown_action",
12
+ "accept",
13
+ "drop"
14
+ ];
15
+ /** Lists all values of the enum {@link ListIngressRulesRequestOrderBy}. */
16
+ const LIST_INGRESS_RULES_REQUEST_ORDER_BIES = [
17
+ "created_at_asc",
18
+ "created_at_desc",
19
+ "source_asc",
20
+ "source_desc",
21
+ "prefix_len_asc",
22
+ "prefix_len_desc"
23
+ ];
24
+ /** Lists all values of the enum {@link ListPrivateNetworksRequestOrderBy}. */
25
+ const LIST_PRIVATE_NETWORKS_REQUEST_ORDER_BIES = [
26
+ "created_at_asc",
27
+ "created_at_desc",
28
+ "name_asc",
29
+ "name_desc"
30
+ ];
31
+ /** Lists all values of the enum {@link ListSubnetOverlapsRequestOrderBy}. */
32
+ const LIST_SUBNET_OVERLAPS_REQUEST_ORDER_BIES = [
33
+ "subnet_asc",
34
+ "subnet_desc",
35
+ "target_subnet_asc",
36
+ "target_subnet_desc"
37
+ ];
38
+ /** Lists all values of the enum {@link ListSubnetsRequestOrderBy}. */
39
+ const LIST_SUBNETS_REQUEST_ORDER_BIES = ["created_at_asc", "created_at_desc"];
40
+ /** Lists all values of the enum {@link ListVPCConnectorsRequestOrderBy}. */
41
+ const LIST_VPC_CONNECTORS_REQUEST_ORDER_BIES = [
42
+ "created_at_asc",
43
+ "created_at_desc",
44
+ "name_asc",
45
+ "name_desc"
46
+ ];
47
+ /** Lists all values of the enum {@link ListVPCsRequestOrderBy}. */
48
+ const LIST_VP_CS_REQUEST_ORDER_BIES = [
49
+ "created_at_asc",
50
+ "created_at_desc",
51
+ "name_asc",
52
+ "name_desc"
53
+ ];
54
+ /** Lists all values of the enum {@link RouteType}. */
55
+ const ROUTE_TYPES = [
56
+ "unknown_route_type",
57
+ "subnet",
58
+ "default",
59
+ "custom",
60
+ "interlink",
61
+ "s2s_vpn"
62
+ ];
63
+ /** Lists all values of the enum {@link VPCConnectorStatus}. */
64
+ const VPC_CONNECTOR_STATUSES = [
65
+ "unknown_vpc_connector_status",
66
+ "orphan",
67
+ "peered",
68
+ "conflict"
69
+ ];
70
+ //#endregion
71
+ export { ACL_RULE_PROTOCOLS, ACTIONS, LIST_INGRESS_RULES_REQUEST_ORDER_BIES, LIST_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SUBNETS_REQUEST_ORDER_BIES, LIST_SUBNET_OVERLAPS_REQUEST_ORDER_BIES, LIST_VPC_CONNECTORS_REQUEST_ORDER_BIES, LIST_VP_CS_REQUEST_ORDER_BIES, ROUTE_TYPES, VPC_CONNECTOR_STATUSES };
@@ -1,4 +1,5 @@
1
1
  export { API, } from './api.gen.js';
2
+ export * from './constants.gen.js';
2
3
  export * from './marshalling.gen.js';
3
4
  export type { AclRule, AclRuleProtocol, Action, AddPrivateNetworkObjectStoragePrivateAccessRequest, AddPrivateNetworkObjectStoragePrivateAccessResponse, CreateIngressRuleRequest, CreatePrivateNetworkRequest, CreateRouteRequest, CreateVPCConnectorRequest, CreateVPCRequest, DeleteIngressRuleRequest, DeletePrivateNetworkObjectStoragePrivateAccessRequest, DeletePrivateNetworkRequest, DeleteRouteRequest, DeleteVPCConnectorRequest, DeleteVPCRequest, DisableObjectStoragePrivateAccessRequest, EnableCustomRoutesPropagationRequest, EnableDHCPRequest, EnableObjectStoragePrivateAccessRequest, EnableRoutingRequest, GetAclRequest, GetAclResponse, GetIngressRuleRequest, GetPrivateNetworkRequest, GetRouteRequest, GetVPCConnectorRequest, GetVPCRequest, IngressRule, ListIngressRulesRequest, ListIngressRulesRequestOrderBy, ListIngressRulesResponse, ListPrivateNetworksRequest, ListPrivateNetworksRequestOrderBy, ListPrivateNetworksResponse, ListSubnetOverlapsRequest, ListSubnetOverlapsRequestOrderBy, ListSubnetOverlapsResponse, ListSubnetOverlapsResponseSubnetOverlap, ListSubnetsRequest, ListSubnetsRequestOrderBy, ListSubnetsResponse, ListVPCConnectorsRequest, ListVPCConnectorsRequestOrderBy, ListVPCConnectorsResponse, ListVPCsRequest, ListVPCsRequestOrderBy, ListVPCsResponse, PrivateNetwork, Route, RouteType, SetAclRequest, SetAclResponse, SetPrivateNetworksObjectStoragePrivateAccessRequest, SetPrivateNetworksObjectStoragePrivateAccessResponse, Subnet, UpdateIngressRuleRequest, UpdatePrivateNetworkRequest, UpdateRouteRequest, UpdateVPCConnectorRequest, UpdateVPCRequest, VPC, VPCConnector, VPCConnectorPeerInfo, VPCConnectorStatus, } from './types.gen.js';
4
5
  export * as ValidationRules from './validation-rules.gen.js';
@@ -1,10 +1,21 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { marshalAddPrivateNetworkObjectStoragePrivateAccessRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksObjectStoragePrivateAccessRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse, unmarshalVPC, unmarshalVPCConnector } from "./marshalling.gen.js";
3
3
  import { API } from "./api.gen.js";
4
+ import { ACL_RULE_PROTOCOLS, ACTIONS, LIST_INGRESS_RULES_REQUEST_ORDER_BIES, LIST_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SUBNETS_REQUEST_ORDER_BIES, LIST_SUBNET_OVERLAPS_REQUEST_ORDER_BIES, LIST_VPC_CONNECTORS_REQUEST_ORDER_BIES, LIST_VP_CS_REQUEST_ORDER_BIES, ROUTE_TYPES, VPC_CONNECTOR_STATUSES } from "./constants.gen.js";
4
5
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
5
6
  //#region src/v2/index.gen.ts
6
7
  var index_gen_exports = /* @__PURE__ */ __exportAll({
8
+ ACL_RULE_PROTOCOLS: () => ACL_RULE_PROTOCOLS,
9
+ ACTIONS: () => ACTIONS,
7
10
  API: () => API,
11
+ LIST_INGRESS_RULES_REQUEST_ORDER_BIES: () => LIST_INGRESS_RULES_REQUEST_ORDER_BIES,
12
+ LIST_PRIVATE_NETWORKS_REQUEST_ORDER_BIES: () => LIST_PRIVATE_NETWORKS_REQUEST_ORDER_BIES,
13
+ LIST_SUBNETS_REQUEST_ORDER_BIES: () => LIST_SUBNETS_REQUEST_ORDER_BIES,
14
+ LIST_SUBNET_OVERLAPS_REQUEST_ORDER_BIES: () => LIST_SUBNET_OVERLAPS_REQUEST_ORDER_BIES,
15
+ LIST_VPC_CONNECTORS_REQUEST_ORDER_BIES: () => LIST_VPC_CONNECTORS_REQUEST_ORDER_BIES,
16
+ LIST_VP_CS_REQUEST_ORDER_BIES: () => LIST_VP_CS_REQUEST_ORDER_BIES,
17
+ ROUTE_TYPES: () => ROUTE_TYPES,
18
+ VPC_CONNECTOR_STATUSES: () => VPC_CONNECTOR_STATUSES,
8
19
  ValidationRules: () => validation_rules_gen_exports,
9
20
  marshalAddPrivateNetworkObjectStoragePrivateAccessRequest: () => marshalAddPrivateNetworkObjectStoragePrivateAccessRequest,
10
21
  marshalCreateIngressRuleRequest: () => marshalCreateIngressRuleRequest,
@@ -36,4 +47,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
36
47
  unmarshalVPCConnector: () => unmarshalVPCConnector
37
48
  });
38
49
  //#endregion
39
- export { API, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddPrivateNetworkObjectStoragePrivateAccessRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksObjectStoragePrivateAccessRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse, unmarshalVPC, unmarshalVPCConnector };
50
+ export { ACL_RULE_PROTOCOLS, ACTIONS, API, LIST_INGRESS_RULES_REQUEST_ORDER_BIES, LIST_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SUBNETS_REQUEST_ORDER_BIES, LIST_SUBNET_OVERLAPS_REQUEST_ORDER_BIES, LIST_VPC_CONNECTORS_REQUEST_ORDER_BIES, LIST_VP_CS_REQUEST_ORDER_BIES, ROUTE_TYPES, VPC_CONNECTOR_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddPrivateNetworkObjectStoragePrivateAccessRequest, marshalCreateIngressRuleRequest, marshalCreatePrivateNetworkRequest, marshalCreateRouteRequest, marshalCreateVPCConnectorRequest, marshalCreateVPCRequest, marshalSetAclRequest, marshalSetPrivateNetworksObjectStoragePrivateAccessRequest, marshalUpdateIngressRuleRequest, marshalUpdatePrivateNetworkRequest, marshalUpdateRouteRequest, marshalUpdateVPCConnectorRequest, marshalUpdateVPCRequest, unmarshalAddPrivateNetworkObjectStoragePrivateAccessResponse, unmarshalGetAclResponse, unmarshalIngressRule, unmarshalListIngressRulesResponse, unmarshalListPrivateNetworksResponse, unmarshalListSubnetOverlapsResponse, unmarshalListSubnetsResponse, unmarshalListVPCConnectorsResponse, unmarshalListVPCsResponse, unmarshalPrivateNetwork, unmarshalRoute, unmarshalSetAclResponse, unmarshalSetPrivateNetworksObjectStoragePrivateAccessResponse, unmarshalVPC, unmarshalVPCConnector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-vpc",
3
- "version": "2.14.0",
3
+ "version": "2.15.0",
4
4
  "description": "Scaleway SDK vpc",
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.6.0"
36
+ "@scaleway/sdk-std": "2.7.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@scaleway/sdk-client": "^2.6.0",