@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
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/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
package/lib/services/vpn.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
7
5
|
import { UnknownStackitError } from "../errors.js";
|
|
6
|
+
import { StackitProtocol } from "../protocol.js";
|
|
8
7
|
import * as Retry from "../retry.js";
|
|
8
|
+
import * as T from "../traits.js";
|
|
9
9
|
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
10
10
|
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
11
11
|
code: S.Number,
|
|
@@ -30,27 +30,24 @@ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
|
30
30
|
message: S.String,
|
|
31
31
|
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
32
32
|
}
|
|
33
|
-
export const CreateGatewayRequestRegion =
|
|
33
|
+
export const CreateGatewayRequestRegion = S.String;
|
|
34
34
|
export const CreateGatewayRequestAvailabilityZones = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
35
35
|
tunnel1: S.String,
|
|
36
36
|
tunnel2: S.String,
|
|
37
37
|
})).annotate({
|
|
38
38
|
identifier: "CreateGatewayRequestAvailabilityZones",
|
|
39
39
|
});
|
|
40
|
-
export const BGPGatewayConfigOverrideAdvertisedRoutesList =
|
|
41
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
40
|
+
export const BGPGatewayConfigOverrideAdvertisedRoutesList = /*@__PURE__*/ S.Array(S.String);
|
|
42
41
|
export const BGPGatewayConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
43
42
|
localAsn: S.Number,
|
|
44
43
|
overrideAdvertisedRoutes: S.optional(BGPGatewayConfigOverrideAdvertisedRoutesList),
|
|
45
|
-
})).annotate({
|
|
46
|
-
identifier: "BGPGatewayConfig",
|
|
47
|
-
});
|
|
44
|
+
})).annotate({ identifier: "BGPGatewayConfig" });
|
|
48
45
|
export const Label = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
49
46
|
export const NetworkConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
50
47
|
predefinedNetworkPrefix: S.optional(S.String),
|
|
51
48
|
routingTableId: S.optional(S.String),
|
|
52
49
|
})).annotate({ identifier: "NetworkConfig" });
|
|
53
|
-
export const RoutingType =
|
|
50
|
+
export const RoutingType = S.String;
|
|
54
51
|
export const CreateGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
55
52
|
projectId: S.String.pipe(T.Label()),
|
|
56
53
|
region: CreateGatewayRequestRegion.pipe(T.Label()),
|
|
@@ -66,11 +63,9 @@ export const CreateGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
66
63
|
uri: "/v1/projects/{projectId}/regions/{region}/gateways",
|
|
67
64
|
code: 200,
|
|
68
65
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
69
|
-
}))).annotate({
|
|
70
|
-
identifier: "CreateGatewayRequest",
|
|
71
|
-
});
|
|
66
|
+
}))).annotate({ identifier: "CreateGatewayRequest" });
|
|
72
67
|
export const CreateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
73
|
-
export const GatewayStatus =
|
|
68
|
+
export const GatewayStatus = S.String;
|
|
74
69
|
export const CreateGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
75
70
|
availabilityZones: CreateGatewayRequestAvailabilityZones,
|
|
76
71
|
bgp: S.optional(BGPGatewayConfig),
|
|
@@ -81,10 +76,8 @@ export const CreateGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
81
76
|
routingType: RoutingType,
|
|
82
77
|
id: S.optional(S.String),
|
|
83
78
|
state: S.optional(GatewayStatus),
|
|
84
|
-
})).annotate({
|
|
85
|
-
|
|
86
|
-
});
|
|
87
|
-
export const CreateGatewayBGPFilterRequestRegion = /*@__PURE__*/ S.String;
|
|
79
|
+
})).annotate({ identifier: "CreateGatewayResponse" });
|
|
80
|
+
export const CreateGatewayBGPFilterRequestRegion = S.String;
|
|
88
81
|
export const CreateGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
89
82
|
projectId: S.String.pipe(T.Label()),
|
|
90
83
|
region: CreateGatewayBGPFilterRequestRegion.pipe(T.Label()),
|
|
@@ -102,14 +95,11 @@ export const BGPFilter = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
102
95
|
displayName: S.String,
|
|
103
96
|
id: S.optional(S.String),
|
|
104
97
|
})).annotate({ identifier: "BGPFilter" });
|
|
105
|
-
export const CreateGatewayBGPFilterRuleRequestRegion =
|
|
106
|
-
export const CreateGatewayBGPFilterRuleRequestAction =
|
|
107
|
-
export const CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList =
|
|
108
|
-
/*@__PURE__*/ S.Array(S.
|
|
109
|
-
export const
|
|
110
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
111
|
-
export const CreateGatewayBGPFilterRuleRequestMatchPrefixesList =
|
|
112
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
98
|
+
export const CreateGatewayBGPFilterRuleRequestRegion = S.String;
|
|
99
|
+
export const CreateGatewayBGPFilterRuleRequestAction = S.String;
|
|
100
|
+
export const CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = /*@__PURE__*/ S.Array(S.Number);
|
|
101
|
+
export const CreateGatewayBGPFilterRuleRequestMatchCommunitiesList = /*@__PURE__*/ S.Array(S.String);
|
|
102
|
+
export const CreateGatewayBGPFilterRuleRequestMatchPrefixesList = /*@__PURE__*/ S.Array(S.String);
|
|
113
103
|
export const CreateGatewayBGPFilterRuleRequestMatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
114
104
|
asPathContainsAny: S.optional(CreateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList),
|
|
115
105
|
communities: S.optional(CreateGatewayBGPFilterRuleRequestMatchCommunitiesList),
|
|
@@ -143,7 +133,7 @@ export const CreateGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() => S
|
|
|
143
133
|
}))).annotate({
|
|
144
134
|
identifier: "CreateGatewayBGPFilterRuleRequest",
|
|
145
135
|
});
|
|
146
|
-
export const BGPFilterRuleAction =
|
|
136
|
+
export const BGPFilterRuleAction = S.String;
|
|
147
137
|
export const BGPFilterRuleMatchAsPathContainsAnyList = /*@__PURE__*/ S.Array(S.Number);
|
|
148
138
|
export const BGPFilterRuleMatchCommunitiesList = /*@__PURE__*/ S.Array(S.String);
|
|
149
139
|
export const BGPFilterRuleMatchPrefixesList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -155,9 +145,7 @@ export const BGPFilterRuleMatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
155
145
|
minPrefixLength: S.optional(S.Number),
|
|
156
146
|
peer: S.optional(S.String),
|
|
157
147
|
prefixes: S.optional(BGPFilterRuleMatchPrefixesList),
|
|
158
|
-
})).annotate({
|
|
159
|
-
identifier: "BGPFilterRuleMatch",
|
|
160
|
-
});
|
|
148
|
+
})).annotate({ identifier: "BGPFilterRuleMatch" });
|
|
161
149
|
export const BGPFilterRuleSet = CreateGatewayBGPFilterRuleRequestSet;
|
|
162
150
|
export const BGPFilterRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
163
151
|
action: BGPFilterRuleAction,
|
|
@@ -166,33 +154,24 @@ export const BGPFilterRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
166
154
|
sequence: S.optional(S.Number),
|
|
167
155
|
set: S.optional(CreateGatewayBGPFilterRuleRequestSet),
|
|
168
156
|
})).annotate({ identifier: "BGPFilterRule" });
|
|
169
|
-
export const CreateGatewayConnectionRequestRegion =
|
|
170
|
-
export const CreateGatewayConnectionRequestLocalSubnetsList =
|
|
171
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
172
|
-
export const
|
|
173
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
174
|
-
export const CreateGatewayConnectionRequestStaticRoutesList =
|
|
175
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
157
|
+
export const CreateGatewayConnectionRequestRegion = S.String;
|
|
158
|
+
export const CreateGatewayConnectionRequestLocalSubnetsList = /*@__PURE__*/ S.Array(S.String);
|
|
159
|
+
export const CreateGatewayConnectionRequestRemoteSubnetsList = /*@__PURE__*/ S.Array(S.String);
|
|
160
|
+
export const CreateGatewayConnectionRequestStaticRoutesList = /*@__PURE__*/ S.Array(S.String);
|
|
176
161
|
export const BGPTunnelConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
177
162
|
inboundFilterId: S.optional(S.NullOr(S.String)),
|
|
178
163
|
remoteAsn: S.Number,
|
|
179
|
-
})).annotate({
|
|
180
|
-
identifier: "BGPTunnelConfig",
|
|
181
|
-
});
|
|
164
|
+
})).annotate({ identifier: "BGPTunnelConfig" });
|
|
182
165
|
export const PeeringConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
183
166
|
localAddress: S.optional(S.String),
|
|
184
167
|
remoteAddress: S.optional(S.String),
|
|
185
168
|
})).annotate({ identifier: "PeeringConfig" });
|
|
186
|
-
export const TunnelConfigurationPhase1DhGroupsItem =
|
|
169
|
+
export const TunnelConfigurationPhase1DhGroupsItem = S.String;
|
|
187
170
|
export const TunnelConfigurationPhase1DhGroupsList = /*@__PURE__*/ S.Array(TunnelConfigurationPhase1DhGroupsItem);
|
|
188
|
-
export const TunnelConfigurationPhase1EncryptionAlgorithmsItem =
|
|
189
|
-
/*@__PURE__*/ S.
|
|
190
|
-
export const
|
|
191
|
-
/*@__PURE__*/ S.Array(
|
|
192
|
-
export const TunnelConfigurationPhase1IntegrityAlgorithmsItem =
|
|
193
|
-
/*@__PURE__*/ S.String;
|
|
194
|
-
export const TunnelConfigurationPhase1IntegrityAlgorithmsList =
|
|
195
|
-
/*@__PURE__*/ S.Array(TunnelConfigurationPhase1IntegrityAlgorithmsItem);
|
|
171
|
+
export const TunnelConfigurationPhase1EncryptionAlgorithmsItem = S.String;
|
|
172
|
+
export const TunnelConfigurationPhase1EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationPhase1EncryptionAlgorithmsItem);
|
|
173
|
+
export const TunnelConfigurationPhase1IntegrityAlgorithmsItem = S.String;
|
|
174
|
+
export const TunnelConfigurationPhase1IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationPhase1IntegrityAlgorithmsItem);
|
|
196
175
|
export const TunnelConfigurationPhase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
197
176
|
dhGroups: S.optional(TunnelConfigurationPhase1DhGroupsList),
|
|
198
177
|
encryptionAlgorithms: TunnelConfigurationPhase1EncryptionAlgorithmsList,
|
|
@@ -201,18 +180,14 @@ export const TunnelConfigurationPhase1 = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
201
180
|
})).annotate({
|
|
202
181
|
identifier: "TunnelConfigurationPhase1",
|
|
203
182
|
});
|
|
204
|
-
export const TunnelConfigurationPhase2DhGroupsItem =
|
|
183
|
+
export const TunnelConfigurationPhase2DhGroupsItem = S.String;
|
|
205
184
|
export const TunnelConfigurationPhase2DhGroupsList = /*@__PURE__*/ S.Array(TunnelConfigurationPhase2DhGroupsItem);
|
|
206
|
-
export const TunnelConfigurationPhase2EncryptionAlgorithmsItem =
|
|
207
|
-
/*@__PURE__*/ S.
|
|
208
|
-
export const
|
|
209
|
-
/*@__PURE__*/ S.Array(
|
|
210
|
-
export const
|
|
211
|
-
|
|
212
|
-
export const TunnelConfigurationPhase2IntegrityAlgorithmsList =
|
|
213
|
-
/*@__PURE__*/ S.Array(TunnelConfigurationPhase2IntegrityAlgorithmsItem);
|
|
214
|
-
export const TunnelConfigurationPhase2DpdAction = /*@__PURE__*/ S.String;
|
|
215
|
-
export const TunnelConfigurationPhase2StartAction = /*@__PURE__*/ S.String;
|
|
185
|
+
export const TunnelConfigurationPhase2EncryptionAlgorithmsItem = S.String;
|
|
186
|
+
export const TunnelConfigurationPhase2EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationPhase2EncryptionAlgorithmsItem);
|
|
187
|
+
export const TunnelConfigurationPhase2IntegrityAlgorithmsItem = S.String;
|
|
188
|
+
export const TunnelConfigurationPhase2IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationPhase2IntegrityAlgorithmsItem);
|
|
189
|
+
export const TunnelConfigurationPhase2DpdAction = S.String;
|
|
190
|
+
export const TunnelConfigurationPhase2StartAction = S.String;
|
|
216
191
|
export const TunnelConfigurationPhase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
217
192
|
dhGroups: S.optional(TunnelConfigurationPhase2DhGroupsList),
|
|
218
193
|
encryptionAlgorithms: TunnelConfigurationPhase2EncryptionAlgorithmsList,
|
|
@@ -230,9 +205,7 @@ export const TunnelConfiguration = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
230
205
|
phase2: TunnelConfigurationPhase2,
|
|
231
206
|
preSharedKey: S.optional(S.String),
|
|
232
207
|
remoteAddress: S.String,
|
|
233
|
-
})).annotate({
|
|
234
|
-
identifier: "TunnelConfiguration",
|
|
235
|
-
});
|
|
208
|
+
})).annotate({ identifier: "TunnelConfiguration" });
|
|
236
209
|
export const CreateGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
237
210
|
projectId: S.String.pipe(T.Label()),
|
|
238
211
|
region: CreateGatewayConnectionRequestRegion.pipe(T.Label()),
|
|
@@ -256,18 +229,12 @@ export const CreateGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
256
229
|
export const ConnectionResponseOutputLocalSubnetsList = /*@__PURE__*/ S.Array(S.String);
|
|
257
230
|
export const ConnectionResponseOutputRemoteSubnetsList = /*@__PURE__*/ S.Array(S.String);
|
|
258
231
|
export const ConnectionResponseOutputStaticRoutesList = /*@__PURE__*/ S.Array(S.String);
|
|
259
|
-
export const TunnelConfigurationOutputPhase1DhGroupsItem =
|
|
260
|
-
/*@__PURE__*/ S.
|
|
261
|
-
export const
|
|
262
|
-
/*@__PURE__*/ S.Array(
|
|
263
|
-
export const
|
|
264
|
-
/*@__PURE__*/ S.
|
|
265
|
-
export const TunnelConfigurationOutputPhase1EncryptionAlgorithmsList =
|
|
266
|
-
/*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem);
|
|
267
|
-
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem =
|
|
268
|
-
/*@__PURE__*/ S.String;
|
|
269
|
-
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsList =
|
|
270
|
-
/*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem);
|
|
232
|
+
export const TunnelConfigurationOutputPhase1DhGroupsItem = S.String;
|
|
233
|
+
export const TunnelConfigurationOutputPhase1DhGroupsList = /*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase1DhGroupsItem);
|
|
234
|
+
export const TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem = S.String;
|
|
235
|
+
export const TunnelConfigurationOutputPhase1EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase1EncryptionAlgorithmsItem);
|
|
236
|
+
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem = S.String;
|
|
237
|
+
export const TunnelConfigurationOutputPhase1IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase1IntegrityAlgorithmsItem);
|
|
271
238
|
export const TunnelConfigurationOutputPhase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
272
239
|
dhGroups: S.optional(TunnelConfigurationOutputPhase1DhGroupsList),
|
|
273
240
|
encryptionAlgorithms: TunnelConfigurationOutputPhase1EncryptionAlgorithmsList,
|
|
@@ -276,21 +243,14 @@ export const TunnelConfigurationOutputPhase1 = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
276
243
|
})).annotate({
|
|
277
244
|
identifier: "TunnelConfigurationOutputPhase1",
|
|
278
245
|
});
|
|
279
|
-
export const TunnelConfigurationOutputPhase2DhGroupsItem =
|
|
280
|
-
/*@__PURE__*/ S.
|
|
281
|
-
export const
|
|
282
|
-
/*@__PURE__*/ S.Array(
|
|
283
|
-
export const
|
|
284
|
-
/*@__PURE__*/ S.
|
|
285
|
-
export const
|
|
286
|
-
|
|
287
|
-
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem =
|
|
288
|
-
/*@__PURE__*/ S.String;
|
|
289
|
-
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsList =
|
|
290
|
-
/*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem);
|
|
291
|
-
export const TunnelConfigurationOutputPhase2DpdAction = /*@__PURE__*/ S.String;
|
|
292
|
-
export const TunnelConfigurationOutputPhase2StartAction =
|
|
293
|
-
/*@__PURE__*/ S.String;
|
|
246
|
+
export const TunnelConfigurationOutputPhase2DhGroupsItem = S.String;
|
|
247
|
+
export const TunnelConfigurationOutputPhase2DhGroupsList = /*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase2DhGroupsItem);
|
|
248
|
+
export const TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem = S.String;
|
|
249
|
+
export const TunnelConfigurationOutputPhase2EncryptionAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase2EncryptionAlgorithmsItem);
|
|
250
|
+
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem = S.String;
|
|
251
|
+
export const TunnelConfigurationOutputPhase2IntegrityAlgorithmsList = /*@__PURE__*/ S.Array(TunnelConfigurationOutputPhase2IntegrityAlgorithmsItem);
|
|
252
|
+
export const TunnelConfigurationOutputPhase2DpdAction = S.String;
|
|
253
|
+
export const TunnelConfigurationOutputPhase2StartAction = S.String;
|
|
294
254
|
export const TunnelConfigurationOutputPhase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
295
255
|
dhGroups: S.optional(TunnelConfigurationOutputPhase2DhGroupsList),
|
|
296
256
|
encryptionAlgorithms: TunnelConfigurationOutputPhase2EncryptionAlgorithmsList,
|
|
@@ -320,10 +280,8 @@ export const ConnectionResponseOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
320
280
|
staticRoutes: S.optional(ConnectionResponseOutputStaticRoutesList),
|
|
321
281
|
tunnel1: TunnelConfigurationOutput,
|
|
322
282
|
tunnel2: TunnelConfigurationOutput,
|
|
323
|
-
})).annotate({
|
|
324
|
-
|
|
325
|
-
});
|
|
326
|
-
export const DeleteGatewayRequestRegion = /*@__PURE__*/ S.String;
|
|
283
|
+
})).annotate({ identifier: "ConnectionResponseOutput" });
|
|
284
|
+
export const DeleteGatewayRequestRegion = S.String;
|
|
327
285
|
export const DeleteGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
328
286
|
projectId: S.String.pipe(T.Label()),
|
|
329
287
|
region: DeleteGatewayRequestRegion.pipe(T.Label()),
|
|
@@ -333,13 +291,11 @@ export const DeleteGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
333
291
|
uri: "/v1/projects/{projectId}/regions/{region}/gateways/{gatewayId}",
|
|
334
292
|
code: 200,
|
|
335
293
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
336
|
-
}))).annotate({
|
|
337
|
-
identifier: "DeleteGatewayRequest",
|
|
338
|
-
});
|
|
294
|
+
}))).annotate({ identifier: "DeleteGatewayRequest" });
|
|
339
295
|
export const DeleteGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
340
296
|
identifier: "DeleteGatewayResponse",
|
|
341
297
|
});
|
|
342
|
-
export const DeleteGatewayBGPFilterRequestRegion =
|
|
298
|
+
export const DeleteGatewayBGPFilterRequestRegion = S.String;
|
|
343
299
|
export const DeleteGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
344
300
|
projectId: S.String.pipe(T.Label()),
|
|
345
301
|
region: DeleteGatewayBGPFilterRequestRegion.pipe(T.Label()),
|
|
@@ -356,7 +312,7 @@ export const DeleteGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
356
312
|
export const DeleteGatewayBGPFilterResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
357
313
|
identifier: "DeleteGatewayBGPFilterResponse",
|
|
358
314
|
});
|
|
359
|
-
export const DeleteGatewayBGPFilterRuleRequestRegion =
|
|
315
|
+
export const DeleteGatewayBGPFilterRuleRequestRegion = S.String;
|
|
360
316
|
export const DeleteGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
361
317
|
projectId: S.String.pipe(T.Label()),
|
|
362
318
|
region: DeleteGatewayBGPFilterRuleRequestRegion.pipe(T.Label()),
|
|
@@ -374,7 +330,7 @@ export const DeleteGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() => S
|
|
|
374
330
|
export const DeleteGatewayBGPFilterRuleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
375
331
|
identifier: "DeleteGatewayBGPFilterRuleResponse",
|
|
376
332
|
});
|
|
377
|
-
export const DeleteGatewayConnectionRequestRegion =
|
|
333
|
+
export const DeleteGatewayConnectionRequestRegion = S.String;
|
|
378
334
|
export const DeleteGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
379
335
|
projectId: S.String.pipe(T.Label()),
|
|
380
336
|
region: DeleteGatewayConnectionRequestRegion.pipe(T.Label()),
|
|
@@ -388,10 +344,8 @@ export const DeleteGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
388
344
|
}))).annotate({
|
|
389
345
|
identifier: "DeleteGatewayConnectionRequest",
|
|
390
346
|
});
|
|
391
|
-
export const DeleteGatewayConnectionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
392
|
-
|
|
393
|
-
});
|
|
394
|
-
export const GetGatewayRequestRegion = /*@__PURE__*/ S.String;
|
|
347
|
+
export const DeleteGatewayConnectionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteGatewayConnectionResponse" });
|
|
348
|
+
export const GetGatewayRequestRegion = S.String;
|
|
395
349
|
export const GetGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
396
350
|
projectId: S.String.pipe(T.Label()),
|
|
397
351
|
region: GetGatewayRequestRegion.pipe(T.Label()),
|
|
@@ -401,9 +355,7 @@ export const GetGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
401
355
|
uri: "/v1/projects/{projectId}/regions/{region}/gateways/{gatewayId}",
|
|
402
356
|
code: 200,
|
|
403
357
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
404
|
-
}))).annotate({
|
|
405
|
-
identifier: "GetGatewayRequest",
|
|
406
|
-
});
|
|
358
|
+
}))).annotate({ identifier: "GetGatewayRequest" });
|
|
407
359
|
export const GetGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
408
360
|
export const GetGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
409
361
|
availabilityZones: CreateGatewayRequestAvailabilityZones,
|
|
@@ -415,10 +367,8 @@ export const GetGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
415
367
|
routingType: RoutingType,
|
|
416
368
|
id: S.optional(S.String),
|
|
417
369
|
state: S.optional(GatewayStatus),
|
|
418
|
-
})).annotate({
|
|
419
|
-
|
|
420
|
-
});
|
|
421
|
-
export const GetGatewayBGPFilterRequestRegion = /*@__PURE__*/ S.String;
|
|
370
|
+
})).annotate({ identifier: "GetGatewayResponse" });
|
|
371
|
+
export const GetGatewayBGPFilterRequestRegion = S.String;
|
|
422
372
|
export const GetGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
423
373
|
projectId: S.String.pipe(T.Label()),
|
|
424
374
|
region: GetGatewayBGPFilterRequestRegion.pipe(T.Label()),
|
|
@@ -432,7 +382,7 @@ export const GetGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
432
382
|
}))).annotate({
|
|
433
383
|
identifier: "GetGatewayBGPFilterRequest",
|
|
434
384
|
});
|
|
435
|
-
export const GetGatewayBGPFilterRuleRequestRegion =
|
|
385
|
+
export const GetGatewayBGPFilterRuleRequestRegion = S.String;
|
|
436
386
|
export const GetGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
437
387
|
projectId: S.String.pipe(T.Label()),
|
|
438
388
|
region: GetGatewayBGPFilterRuleRequestRegion.pipe(T.Label()),
|
|
@@ -447,7 +397,7 @@ export const GetGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
447
397
|
}))).annotate({
|
|
448
398
|
identifier: "GetGatewayBGPFilterRuleRequest",
|
|
449
399
|
});
|
|
450
|
-
export const GetGatewayConnectionRequestRegion =
|
|
400
|
+
export const GetGatewayConnectionRequestRegion = S.String;
|
|
451
401
|
export const GetGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
452
402
|
projectId: S.String.pipe(T.Label()),
|
|
453
403
|
region: GetGatewayConnectionRequestRegion.pipe(T.Label()),
|
|
@@ -461,7 +411,7 @@ export const GetGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
461
411
|
}))).annotate({
|
|
462
412
|
identifier: "GetGatewayConnectionRequest",
|
|
463
413
|
});
|
|
464
|
-
export const GetGatewayConnectionStatusRequestRegion =
|
|
414
|
+
export const GetGatewayConnectionStatusRequestRegion = S.String;
|
|
465
415
|
export const GetGatewayConnectionStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
466
416
|
projectId: S.String.pipe(T.Label()),
|
|
467
417
|
region: GetGatewayConnectionStatusRequestRegion.pipe(T.Label()),
|
|
@@ -475,7 +425,7 @@ export const GetGatewayConnectionStatusRequest = /*@__PURE__*/ S.suspend(() => S
|
|
|
475
425
|
}))).annotate({
|
|
476
426
|
identifier: "GetGatewayConnectionStatusRequest",
|
|
477
427
|
});
|
|
478
|
-
export const TunnelStatusName =
|
|
428
|
+
export const TunnelStatusName = S.String;
|
|
479
429
|
export const Phase1Status = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
480
430
|
dhGroup: S.optional(S.String),
|
|
481
431
|
encryptionAlgorithm: S.optional(S.String),
|
|
@@ -506,10 +456,8 @@ export const ConnectionStatusResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
506
456
|
enabled: S.optional(S.Boolean),
|
|
507
457
|
id: S.optional(S.String),
|
|
508
458
|
tunnels: S.optional(ConnectionStatusResponseTunnelsList),
|
|
509
|
-
})).annotate({
|
|
510
|
-
|
|
511
|
-
});
|
|
512
|
-
export const GetGatewayStatusRequestRegion = /*@__PURE__*/ S.String;
|
|
459
|
+
})).annotate({ identifier: "ConnectionStatusResponse" });
|
|
460
|
+
export const GetGatewayStatusRequestRegion = S.String;
|
|
513
461
|
export const GetGatewayStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
514
462
|
projectId: S.String.pipe(T.Label()),
|
|
515
463
|
region: GetGatewayStatusRequestRegion.pipe(T.Label()),
|
|
@@ -519,9 +467,7 @@ export const GetGatewayStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
519
467
|
uri: "/v1/projects/{projectId}/regions/{region}/gateways/{gatewayId}/status",
|
|
520
468
|
code: 200,
|
|
521
469
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
522
|
-
}))).annotate({
|
|
523
|
-
identifier: "GetGatewayStatusRequest",
|
|
524
|
-
});
|
|
470
|
+
}))).annotate({ identifier: "GetGatewayStatusRequest" });
|
|
525
471
|
export const GatewayStatusResponseConnectionsList = /*@__PURE__*/ S.Array(ConnectionStatusResponse);
|
|
526
472
|
export const BGPStatusPeers = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
527
473
|
localAs: S.Number,
|
|
@@ -539,15 +485,13 @@ export const BGPStatusRoutes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
539
485
|
path: S.String,
|
|
540
486
|
peerId: S.String,
|
|
541
487
|
weight: S.Number,
|
|
542
|
-
})).annotate({
|
|
543
|
-
identifier: "BGPStatusRoutes",
|
|
544
|
-
});
|
|
488
|
+
})).annotate({ identifier: "BGPStatusRoutes" });
|
|
545
489
|
export const BGPStatusRoutesList = /*@__PURE__*/ S.Array(BGPStatusRoutes);
|
|
546
490
|
export const BGPStatus = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
547
491
|
peers: S.optional(BGPStatusPeersList),
|
|
548
492
|
routes: S.optional(BGPStatusRoutesList),
|
|
549
493
|
})).annotate({ identifier: "BGPStatus" });
|
|
550
|
-
export const VPNTunnelsName =
|
|
494
|
+
export const VPNTunnelsName = S.String;
|
|
551
495
|
export const VPNTunnels = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
552
496
|
bgpStatus: S.optional(S.NullOr(BGPStatus)),
|
|
553
497
|
instanceState: S.optional(GatewayStatus),
|
|
@@ -563,10 +507,8 @@ export const GatewayStatusResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
563
507
|
gatewayStatus: S.optional(GatewayStatus),
|
|
564
508
|
id: S.optional(S.String),
|
|
565
509
|
tunnels: S.optional(GatewayStatusResponseTunnelsList),
|
|
566
|
-
})).annotate({
|
|
567
|
-
|
|
568
|
-
});
|
|
569
|
-
export const ListGatewayBGPFilterRulesRequestRegion = /*@__PURE__*/ S.String;
|
|
510
|
+
})).annotate({ identifier: "GatewayStatusResponse" });
|
|
511
|
+
export const ListGatewayBGPFilterRulesRequestRegion = S.String;
|
|
570
512
|
export const ListGatewayBGPFilterRulesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
571
513
|
projectId: S.String.pipe(T.Label()),
|
|
572
514
|
region: ListGatewayBGPFilterRulesRequestRegion.pipe(T.Label()),
|
|
@@ -583,10 +525,8 @@ export const ListGatewayBGPFilterRulesRequest = /*@__PURE__*/ S.suspend(() => S.
|
|
|
583
525
|
export const BGPFilterRuleListRulesList = /*@__PURE__*/ S.Array(BGPFilterRule);
|
|
584
526
|
export const BGPFilterRuleList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
585
527
|
rules: BGPFilterRuleListRulesList,
|
|
586
|
-
})).annotate({
|
|
587
|
-
|
|
588
|
-
});
|
|
589
|
-
export const ListGatewayBGPFiltersRequestRegion = /*@__PURE__*/ S.String;
|
|
528
|
+
})).annotate({ identifier: "BGPFilterRuleList" });
|
|
529
|
+
export const ListGatewayBGPFiltersRequestRegion = S.String;
|
|
590
530
|
export const ListGatewayBGPFiltersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
591
531
|
projectId: S.String.pipe(T.Label()),
|
|
592
532
|
region: ListGatewayBGPFiltersRequestRegion.pipe(T.Label()),
|
|
@@ -603,7 +543,7 @@ export const BGPFilterListBgpFiltersList = /*@__PURE__*/ S.Array(BGPFilter);
|
|
|
603
543
|
export const BGPFilterList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
604
544
|
bgpFilters: BGPFilterListBgpFiltersList,
|
|
605
545
|
})).annotate({ identifier: "BGPFilterList" });
|
|
606
|
-
export const ListGatewayConnectionsRequestRegion =
|
|
546
|
+
export const ListGatewayConnectionsRequestRegion = S.String;
|
|
607
547
|
export const LabelSelector = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
608
548
|
export const ListGatewayConnectionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
609
549
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -621,10 +561,8 @@ export const ListGatewayConnectionsRequest = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
621
561
|
export const ConnectionListOutputConnectionsList = /*@__PURE__*/ S.Array(ConnectionResponseOutput);
|
|
622
562
|
export const ConnectionListOutput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
623
563
|
connections: ConnectionListOutputConnectionsList,
|
|
624
|
-
})).annotate({
|
|
625
|
-
|
|
626
|
-
});
|
|
627
|
-
export const ListGatewaysRequestRegion = /*@__PURE__*/ S.String;
|
|
564
|
+
})).annotate({ identifier: "ConnectionListOutput" });
|
|
565
|
+
export const ListGatewaysRequestRegion = S.String;
|
|
628
566
|
export const ListGatewaysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
629
567
|
projectId: S.String.pipe(T.Label()),
|
|
630
568
|
region: ListGatewaysRequestRegion.pipe(T.Label()),
|
|
@@ -634,9 +572,7 @@ export const ListGatewaysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
634
572
|
uri: "/v1/projects/{projectId}/regions/{region}/gateways",
|
|
635
573
|
code: 200,
|
|
636
574
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
637
|
-
}))).annotate({
|
|
638
|
-
identifier: "ListGatewaysRequest",
|
|
639
|
-
});
|
|
575
|
+
}))).annotate({ identifier: "ListGatewaysRequest" });
|
|
640
576
|
export const GatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
641
577
|
export const GatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
642
578
|
availabilityZones: CreateGatewayRequestAvailabilityZones,
|
|
@@ -648,14 +584,12 @@ export const GatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
648
584
|
routingType: RoutingType,
|
|
649
585
|
id: S.optional(S.String),
|
|
650
586
|
state: S.optional(GatewayStatus),
|
|
651
|
-
})).annotate({
|
|
652
|
-
identifier: "GatewayResponse",
|
|
653
|
-
});
|
|
587
|
+
})).annotate({ identifier: "GatewayResponse" });
|
|
654
588
|
export const GatewayListGatewaysList = /*@__PURE__*/ S.Array(GatewayResponse);
|
|
655
589
|
export const GatewayList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
656
590
|
gateways: GatewayListGatewaysList,
|
|
657
591
|
})).annotate({ identifier: "GatewayList" });
|
|
658
|
-
export const ListPlansRequestRegion =
|
|
592
|
+
export const ListPlansRequestRegion = S.String;
|
|
659
593
|
export const ListPlansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
660
594
|
region: ListPlansRequestRegion.pipe(T.Label()),
|
|
661
595
|
}).pipe(T.Http({
|
|
@@ -663,9 +597,7 @@ export const ListPlansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
663
597
|
uri: "/v1/regions/{region}/plans",
|
|
664
598
|
code: 200,
|
|
665
599
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
666
|
-
}))).annotate({
|
|
667
|
-
identifier: "ListPlansRequest",
|
|
668
|
-
});
|
|
600
|
+
}))).annotate({ identifier: "ListPlansRequest" });
|
|
669
601
|
export const Plan = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
670
602
|
maxBandwidth: S.optional(S.Number),
|
|
671
603
|
maxConnections: S.optional(S.Number),
|
|
@@ -678,7 +610,7 @@ export const PlanList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
678
610
|
defaultPlanId: S.optional(S.String),
|
|
679
611
|
plans: S.optional(PlanListPlansList),
|
|
680
612
|
})).annotate({ identifier: "PlanList" });
|
|
681
|
-
export const ListQuotasRequestRegion =
|
|
613
|
+
export const ListQuotasRequestRegion = S.String;
|
|
682
614
|
export const ListQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
683
615
|
projectId: S.String.pipe(T.Label()),
|
|
684
616
|
region: ListQuotasRequestRegion.pipe(T.Label()),
|
|
@@ -687,9 +619,7 @@ export const ListQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
687
619
|
uri: "/v1/projects/{projectId}/regions/{region}/quotas",
|
|
688
620
|
code: 200,
|
|
689
621
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
690
|
-
}))).annotate({
|
|
691
|
-
identifier: "ListQuotasRequest",
|
|
692
|
-
});
|
|
622
|
+
}))).annotate({ identifier: "ListQuotasRequest" });
|
|
693
623
|
export const Quota = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
694
624
|
limit: S.Number,
|
|
695
625
|
usage: S.Number,
|
|
@@ -699,10 +629,8 @@ export const QuotaList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
699
629
|
})).annotate({ identifier: "QuotaList" });
|
|
700
630
|
export const QuotaListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
701
631
|
quotas: QuotaList,
|
|
702
|
-
})).annotate({
|
|
703
|
-
|
|
704
|
-
});
|
|
705
|
-
export const UpdateGatewayRequestRegion = /*@__PURE__*/ S.String;
|
|
632
|
+
})).annotate({ identifier: "QuotaListResponse" });
|
|
633
|
+
export const UpdateGatewayRequestRegion = S.String;
|
|
706
634
|
export const UpdateGatewayRequestAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
707
635
|
export const UpdateGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
708
636
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -720,9 +648,7 @@ export const UpdateGatewayRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
720
648
|
uri: "/v1/projects/{projectId}/regions/{region}/gateways/{gatewayId}",
|
|
721
649
|
code: 200,
|
|
722
650
|
baseUrl: "https://vpn.api.stackit.cloud",
|
|
723
|
-
}))).annotate({
|
|
724
|
-
identifier: "UpdateGatewayRequest",
|
|
725
|
-
});
|
|
651
|
+
}))).annotate({ identifier: "UpdateGatewayRequest" });
|
|
726
652
|
export const UpdateGatewayResponseAvailabilityZones = CreateGatewayRequestAvailabilityZones;
|
|
727
653
|
export const UpdateGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
728
654
|
availabilityZones: CreateGatewayRequestAvailabilityZones,
|
|
@@ -734,10 +660,8 @@ export const UpdateGatewayResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
734
660
|
routingType: RoutingType,
|
|
735
661
|
id: S.optional(S.String),
|
|
736
662
|
state: S.optional(GatewayStatus),
|
|
737
|
-
})).annotate({
|
|
738
|
-
|
|
739
|
-
});
|
|
740
|
-
export const UpdateGatewayBGPFilterRequestRegion = /*@__PURE__*/ S.String;
|
|
663
|
+
})).annotate({ identifier: "UpdateGatewayResponse" });
|
|
664
|
+
export const UpdateGatewayBGPFilterRequestRegion = S.String;
|
|
741
665
|
export const UpdateGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
742
666
|
projectId: S.String.pipe(T.Label()),
|
|
743
667
|
region: UpdateGatewayBGPFilterRequestRegion.pipe(T.Label()),
|
|
@@ -752,14 +676,11 @@ export const UpdateGatewayBGPFilterRequest = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
752
676
|
}))).annotate({
|
|
753
677
|
identifier: "UpdateGatewayBGPFilterRequest",
|
|
754
678
|
});
|
|
755
|
-
export const UpdateGatewayBGPFilterRuleRequestRegion =
|
|
756
|
-
export const UpdateGatewayBGPFilterRuleRequestAction =
|
|
757
|
-
export const UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList =
|
|
758
|
-
/*@__PURE__*/ S.Array(S.
|
|
759
|
-
export const
|
|
760
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
761
|
-
export const UpdateGatewayBGPFilterRuleRequestMatchPrefixesList =
|
|
762
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
679
|
+
export const UpdateGatewayBGPFilterRuleRequestRegion = S.String;
|
|
680
|
+
export const UpdateGatewayBGPFilterRuleRequestAction = S.String;
|
|
681
|
+
export const UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList = /*@__PURE__*/ S.Array(S.Number);
|
|
682
|
+
export const UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList = /*@__PURE__*/ S.Array(S.String);
|
|
683
|
+
export const UpdateGatewayBGPFilterRuleRequestMatchPrefixesList = /*@__PURE__*/ S.Array(S.String);
|
|
763
684
|
export const UpdateGatewayBGPFilterRuleRequestMatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
764
685
|
asPathContainsAny: S.optional(UpdateGatewayBGPFilterRuleRequestMatchAsPathContainsAnyList),
|
|
765
686
|
communities: S.optional(UpdateGatewayBGPFilterRuleRequestMatchCommunitiesList),
|
|
@@ -790,13 +711,10 @@ export const UpdateGatewayBGPFilterRuleRequest = /*@__PURE__*/ S.suspend(() => S
|
|
|
790
711
|
}))).annotate({
|
|
791
712
|
identifier: "UpdateGatewayBGPFilterRuleRequest",
|
|
792
713
|
});
|
|
793
|
-
export const UpdateGatewayConnectionRequestRegion =
|
|
794
|
-
export const UpdateGatewayConnectionRequestLocalSubnetsList =
|
|
795
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
796
|
-
export const
|
|
797
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
798
|
-
export const UpdateGatewayConnectionRequestStaticRoutesList =
|
|
799
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
714
|
+
export const UpdateGatewayConnectionRequestRegion = S.String;
|
|
715
|
+
export const UpdateGatewayConnectionRequestLocalSubnetsList = /*@__PURE__*/ S.Array(S.String);
|
|
716
|
+
export const UpdateGatewayConnectionRequestRemoteSubnetsList = /*@__PURE__*/ S.Array(S.String);
|
|
717
|
+
export const UpdateGatewayConnectionRequestStaticRoutesList = /*@__PURE__*/ S.Array(S.String);
|
|
800
718
|
export const UpdateGatewayConnectionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
801
719
|
projectId: S.String.pipe(T.Label()),
|
|
802
720
|
region: UpdateGatewayConnectionRequestRegion.pipe(T.Label()),
|