@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15
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/cdn.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
1
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
4
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
5
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import * as API from "@distilled.cloud/core/api";
|
|
5
|
-
import * as C from "@distilled.cloud/core/category";
|
|
6
|
-
import * as T from "../traits.js";
|
|
7
|
-
import { StackitProtocol, } from "../protocol.js";
|
|
8
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
|
+
import { StackitProtocol } from "../protocol.js";
|
|
9
8
|
import * as Retry from "../retry.js";
|
|
9
|
+
import * as T from "../traits.js";
|
|
10
10
|
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
11
11
|
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
12
12
|
code: S.Number,
|
|
@@ -28,68 +28,54 @@ export class UnprocessableEntity extends /*@__PURE__*/ /*@__PURE__*/ T.applyErro
|
|
|
28
28
|
export const HttpBackendCreateGeofencingValueList = /*@__PURE__*/ S.Array(S.String);
|
|
29
29
|
export const HttpBackendCreateGeofencingMap = /*@__PURE__*/ S.Record(S.String, HttpBackendCreateGeofencingValueList);
|
|
30
30
|
export const HttpBackendCreateOriginRequestHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
31
|
-
export const HttpBackendCreateType =
|
|
31
|
+
export const HttpBackendCreateType = S.String;
|
|
32
32
|
export const HttpBackendCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
33
33
|
geofencing: S.optional(HttpBackendCreateGeofencingMap),
|
|
34
34
|
originRequestHeaders: S.optional(HttpBackendCreateOriginRequestHeadersMap),
|
|
35
35
|
originUrl: S.String,
|
|
36
36
|
type: HttpBackendCreateType,
|
|
37
|
-
})).annotate({
|
|
38
|
-
identifier: "HttpBackendCreate",
|
|
39
|
-
});
|
|
37
|
+
})).annotate({ identifier: "HttpBackendCreate" });
|
|
40
38
|
export const BucketCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
41
39
|
accessKeyId: S.String.pipe(T.SensitiveValue({})),
|
|
42
40
|
secretAccessKey: S.String.pipe(T.SensitiveValue({})),
|
|
43
|
-
})).annotate({
|
|
44
|
-
|
|
45
|
-
});
|
|
46
|
-
export const BucketBackendCreateType = /*@__PURE__*/ S.String;
|
|
41
|
+
})).annotate({ identifier: "BucketCredentials" });
|
|
42
|
+
export const BucketBackendCreateType = S.String;
|
|
47
43
|
export const BucketBackendCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
48
44
|
bucketUrl: S.String,
|
|
49
45
|
credentials: BucketCredentials,
|
|
50
46
|
region: S.String,
|
|
51
47
|
type: BucketBackendCreateType,
|
|
52
|
-
})).annotate({
|
|
53
|
-
identifier: "BucketBackendCreate",
|
|
54
|
-
});
|
|
48
|
+
})).annotate({ identifier: "BucketBackendCreate" });
|
|
55
49
|
export const CreateDistributionRequestBackend =
|
|
56
50
|
/*@__PURE__*/ S.Unknown;
|
|
57
|
-
export const CreateDistributionRequestBlockedCountriesList =
|
|
58
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
51
|
+
export const CreateDistributionRequestBlockedCountriesList = /*@__PURE__*/ S.Array(S.String);
|
|
59
52
|
export const CreateDistributionRequestBlockedIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
60
53
|
export const CacheConfigCreateCacheKeyHeadersList = /*@__PURE__*/ S.Array(S.String);
|
|
61
|
-
export const CacheConfigCreateQueryStringVaryParametersList =
|
|
62
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
54
|
+
export const CacheConfigCreateQueryStringVaryParametersList = /*@__PURE__*/ S.Array(S.String);
|
|
63
55
|
export const CacheConfigCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
64
56
|
cacheKeyHeaders: S.optional(CacheConfigCreateCacheKeyHeadersList),
|
|
65
57
|
queryStringVaryEnabled: S.optional(S.Boolean),
|
|
66
58
|
queryStringVaryParameters: S.optional(CacheConfigCreateQueryStringVaryParametersList),
|
|
67
|
-
})).annotate({
|
|
68
|
-
identifier: "CacheConfigCreate",
|
|
69
|
-
});
|
|
59
|
+
})).annotate({ identifier: "CacheConfigCreate" });
|
|
70
60
|
export const CreateDistributionRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
71
61
|
export const LokiLogSinkCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
72
62
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
73
63
|
username: S.String,
|
|
74
|
-
})).annotate({
|
|
75
|
-
|
|
76
|
-
});
|
|
77
|
-
export const LokiLogSinkCreateType = /*@__PURE__*/ S.String;
|
|
64
|
+
})).annotate({ identifier: "LokiLogSinkCredentials" });
|
|
65
|
+
export const LokiLogSinkCreateType = S.String;
|
|
78
66
|
export const LokiLogSinkCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
79
67
|
credentials: LokiLogSinkCredentials,
|
|
80
68
|
pushUrl: S.String,
|
|
81
69
|
type: LokiLogSinkCreateType,
|
|
82
|
-
})).annotate({
|
|
83
|
-
|
|
84
|
-
});
|
|
85
|
-
export const OtlpLogSinkBearerCredentialsType = /*@__PURE__*/ S.String;
|
|
70
|
+
})).annotate({ identifier: "LokiLogSinkCreate" });
|
|
71
|
+
export const OtlpLogSinkBearerCredentialsType = S.String;
|
|
86
72
|
export const OtlpLogSinkBearerCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
87
73
|
token: S.String,
|
|
88
74
|
type: OtlpLogSinkBearerCredentialsType,
|
|
89
75
|
})).annotate({
|
|
90
76
|
identifier: "OtlpLogSinkBearerCredentials",
|
|
91
77
|
});
|
|
92
|
-
export const OtlpLogSinkBasicCredentialsType =
|
|
78
|
+
export const OtlpLogSinkBasicCredentialsType = S.String;
|
|
93
79
|
export const OtlpLogSinkBasicCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
94
80
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
95
81
|
type: OtlpLogSinkBasicCredentialsType,
|
|
@@ -99,27 +85,25 @@ export const OtlpLogSinkBasicCredentials = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
99
85
|
});
|
|
100
86
|
export const OtlpLogSinkCreateCredentials =
|
|
101
87
|
/*@__PURE__*/ S.Unknown;
|
|
102
|
-
export const OtlpLogSinkCreateType =
|
|
88
|
+
export const OtlpLogSinkCreateType = S.String;
|
|
103
89
|
export const OtlpLogSinkCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
104
90
|
credentials: OtlpLogSinkCreateCredentials,
|
|
105
91
|
pushUrl: S.String,
|
|
106
92
|
type: OtlpLogSinkCreateType,
|
|
107
|
-
})).annotate({
|
|
108
|
-
identifier: "OtlpLogSinkCreate",
|
|
109
|
-
});
|
|
93
|
+
})).annotate({ identifier: "OtlpLogSinkCreate" });
|
|
110
94
|
export const CreateDistributionRequestLogSink =
|
|
111
95
|
/*@__PURE__*/ S.Unknown;
|
|
112
96
|
export const Optimizer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
113
97
|
enabled: S.Boolean,
|
|
114
98
|
})).annotate({ identifier: "Optimizer" });
|
|
115
|
-
export const MatchCondition =
|
|
99
|
+
export const MatchCondition = S.String;
|
|
116
100
|
export const MatcherValuesList = /*@__PURE__*/ S.Array(S.String);
|
|
117
101
|
export const Matcher = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
118
102
|
valueMatchCondition: S.optional(MatchCondition),
|
|
119
103
|
values: MatcherValuesList,
|
|
120
104
|
})).annotate({ identifier: "Matcher" });
|
|
121
105
|
export const RedirectRuleMatchersList = /*@__PURE__*/ S.Array(Matcher);
|
|
122
|
-
export const RedirectRuleStatusCode =
|
|
106
|
+
export const RedirectRuleStatusCode = S.Number;
|
|
123
107
|
export const RedirectRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
124
108
|
description: S.optional(S.String),
|
|
125
109
|
enabled: S.optional(S.Boolean),
|
|
@@ -132,7 +116,7 @@ export const RedirectConfigRulesList = /*@__PURE__*/ S.Array(RedirectRule);
|
|
|
132
116
|
export const RedirectConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
133
117
|
rules: S.optional(RedirectConfigRulesList),
|
|
134
118
|
})).annotate({ identifier: "RedirectConfig" });
|
|
135
|
-
export const Region =
|
|
119
|
+
export const Region = S.String;
|
|
136
120
|
export const CreateDistributionRequestRegionsList = /*@__PURE__*/ S.Array(Region);
|
|
137
121
|
export const TlsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
138
122
|
enableTls10: S.Boolean,
|
|
@@ -150,9 +134,9 @@ export const WafConfigEnabledRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
|
150
134
|
export const WafConfigLogOnlyRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
151
135
|
export const WafConfigLogOnlyRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
152
136
|
export const WafConfigLogOnlyRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
153
|
-
export const WafMode =
|
|
154
|
-
export const WafParanoiaLevel =
|
|
155
|
-
export const WafType =
|
|
137
|
+
export const WafMode = S.String;
|
|
138
|
+
export const WafParanoiaLevel = S.String;
|
|
139
|
+
export const WafType = S.String;
|
|
156
140
|
export const WafConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
157
141
|
allowedHttpMethods: S.optional(WafConfigAllowedHttpMethodsList),
|
|
158
142
|
allowedHttpVersions: S.optional(WafConfigAllowedHttpVersionsList),
|
|
@@ -199,21 +183,20 @@ export const CreateDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
199
183
|
export const HttpBackendGeofencingValueList = /*@__PURE__*/ S.Array(S.String);
|
|
200
184
|
export const HttpBackendGeofencingMap = /*@__PURE__*/ S.Record(S.String, HttpBackendGeofencingValueList);
|
|
201
185
|
export const HttpBackendOriginRequestHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
202
|
-
export const HttpBackendType =
|
|
186
|
+
export const HttpBackendType = S.String;
|
|
203
187
|
export const HttpBackend = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
204
188
|
geofencing: HttpBackendGeofencingMap,
|
|
205
189
|
originRequestHeaders: HttpBackendOriginRequestHeadersMap,
|
|
206
190
|
originUrl: S.String,
|
|
207
191
|
type: HttpBackendType,
|
|
208
192
|
})).annotate({ identifier: "HttpBackend" });
|
|
209
|
-
export const BucketBackendType =
|
|
193
|
+
export const BucketBackendType = S.String;
|
|
210
194
|
export const BucketBackend = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
211
195
|
bucketUrl: S.String,
|
|
212
196
|
region: S.String,
|
|
213
197
|
type: BucketBackendType,
|
|
214
198
|
})).annotate({ identifier: "BucketBackend" });
|
|
215
|
-
export const ConfigBackend =
|
|
216
|
-
/*@__PURE__*/ S.Unknown;
|
|
199
|
+
export const ConfigBackend = /*@__PURE__*/ S.Unknown;
|
|
217
200
|
export const ConfigBlockedCountriesList = /*@__PURE__*/ S.Array(S.String);
|
|
218
201
|
export const ConfigBlockedIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
219
202
|
export const CacheConfigCacheKeyHeadersList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -224,18 +207,17 @@ export const CacheConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
224
207
|
queryStringVaryParameters: CacheConfigQueryStringVaryParametersList,
|
|
225
208
|
})).annotate({ identifier: "CacheConfig" });
|
|
226
209
|
export const ConfigLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
227
|
-
export const LokiLogSinkType =
|
|
210
|
+
export const LokiLogSinkType = S.String;
|
|
228
211
|
export const LokiLogSink = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
229
212
|
pushUrl: S.String,
|
|
230
213
|
type: LokiLogSinkType,
|
|
231
214
|
})).annotate({ identifier: "LokiLogSink" });
|
|
232
|
-
export const OtlpLogSinkType =
|
|
215
|
+
export const OtlpLogSinkType = S.String;
|
|
233
216
|
export const OtlpLogSink = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
234
217
|
pushUrl: S.String,
|
|
235
218
|
type: OtlpLogSinkType,
|
|
236
219
|
})).annotate({ identifier: "OtlpLogSink" });
|
|
237
|
-
export const ConfigLogSink =
|
|
238
|
-
/*@__PURE__*/ S.Unknown;
|
|
220
|
+
export const ConfigLogSink = /*@__PURE__*/ S.Unknown;
|
|
239
221
|
export const ConfigRegionsList = /*@__PURE__*/ S.Array(Region);
|
|
240
222
|
export const Config = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
241
223
|
backend: ConfigBackend,
|
|
@@ -254,16 +236,16 @@ export const Config = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
254
236
|
tls: TlsConfig,
|
|
255
237
|
waf: WafConfig,
|
|
256
238
|
})).annotate({ identifier: "Config" });
|
|
257
|
-
export const DomainCertificateType =
|
|
258
|
-
export const StatusErrorKey =
|
|
239
|
+
export const DomainCertificateType = S.String;
|
|
240
|
+
export const StatusErrorKey = S.String;
|
|
259
241
|
export const StatusError = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
260
242
|
de: S.optional(S.String),
|
|
261
243
|
en: S.String,
|
|
262
244
|
key: StatusErrorKey,
|
|
263
245
|
})).annotate({ identifier: "StatusError" });
|
|
264
246
|
export const DomainErrorsList = /*@__PURE__*/ S.Array(StatusError);
|
|
265
|
-
export const DomainStatus =
|
|
266
|
-
export const DomainType =
|
|
247
|
+
export const DomainStatus = S.String;
|
|
248
|
+
export const DomainType = S.String;
|
|
267
249
|
export const Domain = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
268
250
|
certificateType: DomainCertificateType,
|
|
269
251
|
errors: S.optional(DomainErrorsList),
|
|
@@ -273,7 +255,7 @@ export const Domain = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
273
255
|
})).annotate({ identifier: "Domain" });
|
|
274
256
|
export const DistributionDomainsList = /*@__PURE__*/ S.Array(Domain);
|
|
275
257
|
export const DistributionErrorsList = /*@__PURE__*/ S.Array(StatusError);
|
|
276
|
-
export const DistributionStatus =
|
|
258
|
+
export const DistributionStatus = S.String;
|
|
277
259
|
export const WafStatusRuleBlockReasonNeverDefined = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
278
260
|
type: S.String,
|
|
279
261
|
})).annotate({
|
|
@@ -284,23 +266,20 @@ export const WafStatusRuleBlockReasonDirectlyDefined = /*@__PURE__*/ S.suspend((
|
|
|
284
266
|
})).annotate({
|
|
285
267
|
identifier: "WafStatusRuleBlockReasonDirectlyDefined",
|
|
286
268
|
});
|
|
287
|
-
export const WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList =
|
|
288
|
-
/*@__PURE__*/ S.Array(WafType);
|
|
269
|
+
export const WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList = /*@__PURE__*/ S.Array(WafType);
|
|
289
270
|
export const WafStatusRuleBlockReasonInvalidWafType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
290
271
|
allowedWafTypes: WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList,
|
|
291
272
|
type: S.String,
|
|
292
273
|
})).annotate({
|
|
293
274
|
identifier: "WafStatusRuleBlockReasonInvalidWafType",
|
|
294
275
|
});
|
|
295
|
-
export const WafStatusRuleBlockReasonInheritedFromCollection =
|
|
296
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
276
|
+
export const WafStatusRuleBlockReasonInheritedFromCollection = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
297
277
|
collectionId: S.String,
|
|
298
278
|
type: S.String,
|
|
299
279
|
})).annotate({
|
|
300
280
|
identifier: "WafStatusRuleBlockReasonInheritedFromCollection",
|
|
301
281
|
});
|
|
302
|
-
export const WafStatusRuleBlockReasonInheritedFromGroup =
|
|
303
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
282
|
+
export const WafStatusRuleBlockReasonInheritedFromGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
304
283
|
groupId: S.String,
|
|
305
284
|
type: S.String,
|
|
306
285
|
})).annotate({
|
|
@@ -311,9 +290,7 @@ export const WafStatusRuleBlockReason =
|
|
|
311
290
|
export const WafStatusRuleBlock = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
312
291
|
id: S.String,
|
|
313
292
|
reason: WafStatusRuleBlockReason,
|
|
314
|
-
})).annotate({
|
|
315
|
-
identifier: "WafStatusRuleBlock",
|
|
316
|
-
});
|
|
293
|
+
})).annotate({ identifier: "WafStatusRuleBlock" });
|
|
317
294
|
export const DistributionWafDisabledRulesList = /*@__PURE__*/ S.Array(WafStatusRuleBlock);
|
|
318
295
|
export const DistributionWafEnabledRulesList = /*@__PURE__*/ S.Array(WafStatusRuleBlock);
|
|
319
296
|
export const DistributionWafLogOnlyRulesList = /*@__PURE__*/ S.Array(WafStatusRuleBlock);
|
|
@@ -321,9 +298,7 @@ export const DistributionWaf = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
321
298
|
disabledRules: DistributionWafDisabledRulesList,
|
|
322
299
|
enabledRules: DistributionWafEnabledRulesList,
|
|
323
300
|
logOnlyRules: DistributionWafLogOnlyRulesList,
|
|
324
|
-
})).annotate({
|
|
325
|
-
identifier: "DistributionWaf",
|
|
326
|
-
});
|
|
301
|
+
})).annotate({ identifier: "DistributionWaf" });
|
|
327
302
|
export const Distribution = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
328
303
|
config: Config,
|
|
329
304
|
createdAt: S.String,
|
|
@@ -390,9 +365,7 @@ export const FindCachePathsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
390
365
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}/cache/paths",
|
|
391
366
|
code: 200,
|
|
392
367
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
393
|
-
}))).annotate({
|
|
394
|
-
identifier: "FindCachePathsRequest",
|
|
395
|
-
});
|
|
368
|
+
}))).annotate({ identifier: "FindCachePathsRequest" });
|
|
396
369
|
export const FindCachePathsResponseEntry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
397
370
|
path: S.String,
|
|
398
371
|
})).annotate({
|
|
@@ -401,9 +374,7 @@ export const FindCachePathsResponseEntry = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
401
374
|
export const FindCachePathsResponseResponseList = /*@__PURE__*/ S.Array(FindCachePathsResponseEntry);
|
|
402
375
|
export const FindCachePathsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
403
376
|
response: FindCachePathsResponseResponseList,
|
|
404
|
-
})).annotate({
|
|
405
|
-
identifier: "FindCachePathsResponse",
|
|
406
|
-
});
|
|
377
|
+
})).annotate({ identifier: "FindCachePathsResponse" });
|
|
407
378
|
export const GetCacheInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
408
379
|
projectId: S.String.pipe(T.Label()),
|
|
409
380
|
distributionId: S.String.pipe(T.Label()),
|
|
@@ -413,10 +384,8 @@ export const GetCacheInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
413
384
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}/cache",
|
|
414
385
|
code: 200,
|
|
415
386
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
416
|
-
}))).annotate({
|
|
417
|
-
|
|
418
|
-
});
|
|
419
|
-
export const GetCacheInfoResponseHistoryEntryType = /*@__PURE__*/ S.String;
|
|
387
|
+
}))).annotate({ identifier: "GetCacheInfoRequest" });
|
|
388
|
+
export const GetCacheInfoResponseHistoryEntryType = S.String;
|
|
420
389
|
export const GetCacheInfoResponseHistoryEntry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
421
390
|
occurredAt: S.String,
|
|
422
391
|
type: GetCacheInfoResponseHistoryEntryType,
|
|
@@ -427,9 +396,7 @@ export const GetCacheInfoResponseHistoryList = /*@__PURE__*/ S.Array(GetCacheInf
|
|
|
427
396
|
export const GetCacheInfoResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
428
397
|
history: GetCacheInfoResponseHistoryList,
|
|
429
398
|
lastPurgeTime: S.NullOr(S.String),
|
|
430
|
-
})).annotate({
|
|
431
|
-
identifier: "GetCacheInfoResponse",
|
|
432
|
-
});
|
|
399
|
+
})).annotate({ identifier: "GetCacheInfoResponse" });
|
|
433
400
|
export const GetCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
434
401
|
projectId: S.String.pipe(T.Label()),
|
|
435
402
|
distributionId: S.String.pipe(T.Label()),
|
|
@@ -439,9 +406,7 @@ export const GetCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
439
406
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
440
407
|
code: 200,
|
|
441
408
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
442
|
-
}))).annotate({
|
|
443
|
-
identifier: "GetCustomDomainRequest",
|
|
444
|
-
});
|
|
409
|
+
}))).annotate({ identifier: "GetCustomDomainRequest" });
|
|
445
410
|
export const GetCustomDomainManagedCertificate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
446
411
|
type: S.String,
|
|
447
412
|
})).annotate({
|
|
@@ -459,9 +424,7 @@ export const GetCustomDomainResponseCertificate =
|
|
|
459
424
|
export const GetCustomDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
460
425
|
certificate: GetCustomDomainResponseCertificate,
|
|
461
426
|
customDomain: CustomDomain,
|
|
462
|
-
})).annotate({
|
|
463
|
-
identifier: "GetCustomDomainResponse",
|
|
464
|
-
});
|
|
427
|
+
})).annotate({ identifier: "GetCustomDomainResponse" });
|
|
465
428
|
export const GetDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
466
429
|
projectId: S.String.pipe(T.Label()),
|
|
467
430
|
distributionId: S.String.pipe(T.Label()),
|
|
@@ -471,17 +434,13 @@ export const GetDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
471
434
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}",
|
|
472
435
|
code: 200,
|
|
473
436
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
474
|
-
}))).annotate({
|
|
475
|
-
identifier: "GetDistributionRequest",
|
|
476
|
-
});
|
|
437
|
+
}))).annotate({ identifier: "GetDistributionRequest" });
|
|
477
438
|
export const GetDistributionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
478
439
|
distribution: Distribution,
|
|
479
|
-
})).annotate({
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
export const
|
|
483
|
-
export const GetLogsRequestSortOrder = /*@__PURE__*/ S.String;
|
|
484
|
-
export const WAFRuleAction = /*@__PURE__*/ S.String;
|
|
440
|
+
})).annotate({ identifier: "GetDistributionResponse" });
|
|
441
|
+
export const GetLogsRequestSortBy = S.String;
|
|
442
|
+
export const GetLogsRequestSortOrder = S.String;
|
|
443
|
+
export const WAFRuleAction = S.String;
|
|
485
444
|
export const GetLogsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
486
445
|
projectId: S.String.pipe(T.Label()),
|
|
487
446
|
distributionId: S.String.pipe(T.Label()),
|
|
@@ -522,16 +481,12 @@ export const DistributionLogsRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
522
481
|
statusCode: S.Number,
|
|
523
482
|
timestamp: S.String,
|
|
524
483
|
wafViolation: S.optional(WAFViolation),
|
|
525
|
-
})).annotate({
|
|
526
|
-
identifier: "DistributionLogsRecord",
|
|
527
|
-
});
|
|
484
|
+
})).annotate({ identifier: "DistributionLogsRecord" });
|
|
528
485
|
export const GetLogsResponseLogsList = /*@__PURE__*/ S.Array(DistributionLogsRecord);
|
|
529
486
|
export const GetLogsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
530
487
|
logs: GetLogsResponseLogsList,
|
|
531
488
|
nextPageIdentifier: S.optional(S.String),
|
|
532
|
-
})).annotate({
|
|
533
|
-
identifier: "GetLogsResponse",
|
|
534
|
-
});
|
|
489
|
+
})).annotate({ identifier: "GetLogsResponse" });
|
|
535
490
|
export const GetLogsSearchFiltersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
536
491
|
projectId: S.String.pipe(T.Label()),
|
|
537
492
|
distributionId: S.String.pipe(T.Label()),
|
|
@@ -544,27 +499,20 @@ export const GetLogsSearchFiltersRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
544
499
|
}))).annotate({
|
|
545
500
|
identifier: "GetLogsSearchFiltersRequest",
|
|
546
501
|
});
|
|
547
|
-
export const GetLogsSearchFiltersResponseCacheItem =
|
|
502
|
+
export const GetLogsSearchFiltersResponseCacheItem = S.String;
|
|
548
503
|
export const GetLogsSearchFiltersResponseCacheList = /*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseCacheItem);
|
|
549
|
-
export const GetLogsSearchFiltersResponseDatacenterBlockItem =
|
|
550
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
504
|
+
export const GetLogsSearchFiltersResponseDatacenterBlockItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
551
505
|
displayName: S.String,
|
|
552
506
|
id: S.String,
|
|
553
507
|
})).annotate({
|
|
554
508
|
identifier: "GetLogsSearchFiltersResponseDatacenterBlockItem",
|
|
555
509
|
});
|
|
556
|
-
export const GetLogsSearchFiltersResponseDatacenterBlockAFList =
|
|
557
|
-
/*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
558
|
-
export const
|
|
559
|
-
/*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
560
|
-
export const
|
|
561
|
-
/*@__PURE__*/ S.
|
|
562
|
-
export const GetLogsSearchFiltersResponseDatacenterBlockNAList =
|
|
563
|
-
/*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
564
|
-
export const GetLogsSearchFiltersResponseDatacenterBlockSAList =
|
|
565
|
-
/*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
566
|
-
export const GetLogsSearchFiltersResponseDatacenterBlock =
|
|
567
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
510
|
+
export const GetLogsSearchFiltersResponseDatacenterBlockAFList = /*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
511
|
+
export const GetLogsSearchFiltersResponseDatacenterBlockASIAList = /*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
512
|
+
export const GetLogsSearchFiltersResponseDatacenterBlockEUList = /*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
513
|
+
export const GetLogsSearchFiltersResponseDatacenterBlockNAList = /*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
514
|
+
export const GetLogsSearchFiltersResponseDatacenterBlockSAList = /*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseDatacenterBlockItem);
|
|
515
|
+
export const GetLogsSearchFiltersResponseDatacenterBlock = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
568
516
|
AF: GetLogsSearchFiltersResponseDatacenterBlockAFList,
|
|
569
517
|
ASIA: GetLogsSearchFiltersResponseDatacenterBlockASIAList,
|
|
570
518
|
EU: GetLogsSearchFiltersResponseDatacenterBlockEUList,
|
|
@@ -573,8 +521,7 @@ export const GetLogsSearchFiltersResponseDatacenterBlock =
|
|
|
573
521
|
})).annotate({
|
|
574
522
|
identifier: "GetLogsSearchFiltersResponseDatacenterBlock",
|
|
575
523
|
});
|
|
576
|
-
export const GetLogsSearchFiltersResponseRemoteCountryList =
|
|
577
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
524
|
+
export const GetLogsSearchFiltersResponseRemoteCountryList = /*@__PURE__*/ S.Array(S.String);
|
|
578
525
|
export const GetLogsSearchFiltersResponseStatusList = /*@__PURE__*/ S.Array(S.Number);
|
|
579
526
|
export const GetLogsSearchFiltersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
580
527
|
cache: GetLogsSearchFiltersResponseCacheList,
|
|
@@ -584,7 +531,7 @@ export const GetLogsSearchFiltersResponse = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
584
531
|
})).annotate({
|
|
585
532
|
identifier: "GetLogsSearchFiltersResponse",
|
|
586
533
|
});
|
|
587
|
-
export const GetStatisticsRequestInterval =
|
|
534
|
+
export const GetStatisticsRequestInterval = S.String;
|
|
588
535
|
export const GetStatisticsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
589
536
|
projectId: S.String.pipe(T.Label()),
|
|
590
537
|
distributionId: S.String.pipe(T.Label()),
|
|
@@ -596,9 +543,7 @@ export const GetStatisticsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
596
543
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}/statistics",
|
|
597
544
|
code: 200,
|
|
598
545
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
599
|
-
}))).annotate({
|
|
600
|
-
identifier: "GetStatisticsRequest",
|
|
601
|
-
});
|
|
546
|
+
}))).annotate({ identifier: "GetStatisticsRequest" });
|
|
602
547
|
export const DistributionStatisticsRecordEntry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
603
548
|
cachedRequests: S.Number,
|
|
604
549
|
totalRequests: S.Number,
|
|
@@ -628,11 +573,9 @@ export const DistributionStatisticsRecord = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
628
573
|
export const GetStatisticsResponseRecordsList = /*@__PURE__*/ S.Array(DistributionStatisticsRecord);
|
|
629
574
|
export const GetStatisticsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
630
575
|
records: GetStatisticsResponseRecordsList,
|
|
631
|
-
})).annotate({
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
export const ListDistributionsRequestSortBy = /*@__PURE__*/ S.String;
|
|
635
|
-
export const ListDistributionsRequestSortOrder = /*@__PURE__*/ S.String;
|
|
576
|
+
})).annotate({ identifier: "GetStatisticsResponse" });
|
|
577
|
+
export const ListDistributionsRequestSortBy = S.String;
|
|
578
|
+
export const ListDistributionsRequestSortOrder = S.String;
|
|
636
579
|
export const ListDistributionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
637
580
|
projectId: S.String.pipe(T.Label()),
|
|
638
581
|
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
@@ -645,9 +588,7 @@ export const ListDistributionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
645
588
|
uri: "/v1/projects/{projectId}/distributions",
|
|
646
589
|
code: 200,
|
|
647
590
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
648
|
-
}))).annotate({
|
|
649
|
-
identifier: "ListDistributionsRequest",
|
|
650
|
-
});
|
|
591
|
+
}))).annotate({ identifier: "ListDistributionsRequest" });
|
|
651
592
|
export const ListDistributionsResponseDistributionsList = /*@__PURE__*/ S.Array(Distribution);
|
|
652
593
|
export const ListDistributionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
653
594
|
distributions: ListDistributionsResponseDistributionsList,
|
|
@@ -682,9 +623,7 @@ export const WafRuleCollection = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
682
623
|
groups: WafRuleCollectionGroupsList,
|
|
683
624
|
id: S.String,
|
|
684
625
|
name: LocalizedString,
|
|
685
|
-
})).annotate({
|
|
686
|
-
identifier: "WafRuleCollection",
|
|
687
|
-
});
|
|
626
|
+
})).annotate({ identifier: "WafRuleCollection" });
|
|
688
627
|
export const ListWafCollectionsResponseCollectionsList = /*@__PURE__*/ S.Array(WafRuleCollection);
|
|
689
628
|
export const ListWafCollectionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
690
629
|
collections: ListWafCollectionsResponseCollectionsList,
|
|
@@ -694,59 +633,46 @@ export const ListWafCollectionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
694
633
|
export const HttpBackendPatchGeofencingValueList = /*@__PURE__*/ S.Array(S.String);
|
|
695
634
|
export const HttpBackendPatchGeofencingMap = /*@__PURE__*/ S.Record(S.String, HttpBackendPatchGeofencingValueList);
|
|
696
635
|
export const HttpBackendPatchOriginRequestHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
697
|
-
export const HttpBackendPatchType =
|
|
636
|
+
export const HttpBackendPatchType = S.String;
|
|
698
637
|
export const HttpBackendPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
699
638
|
geofencing: S.optional(HttpBackendPatchGeofencingMap),
|
|
700
639
|
originRequestHeaders: S.optional(HttpBackendPatchOriginRequestHeadersMap),
|
|
701
640
|
originUrl: S.optional(S.String),
|
|
702
641
|
type: HttpBackendPatchType,
|
|
703
|
-
})).annotate({
|
|
704
|
-
|
|
705
|
-
});
|
|
706
|
-
export const BucketBackendPatchType = /*@__PURE__*/ S.String;
|
|
642
|
+
})).annotate({ identifier: "HttpBackendPatch" });
|
|
643
|
+
export const BucketBackendPatchType = S.String;
|
|
707
644
|
export const BucketBackendPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
708
645
|
bucketUrl: S.optional(S.String),
|
|
709
646
|
credentials: S.optional(BucketCredentials),
|
|
710
647
|
region: S.optional(S.String),
|
|
711
648
|
type: BucketBackendPatchType,
|
|
712
|
-
})).annotate({
|
|
713
|
-
|
|
714
|
-
});
|
|
715
|
-
export const ConfigPatchBackend =
|
|
716
|
-
/*@__PURE__*/ S.Unknown;
|
|
649
|
+
})).annotate({ identifier: "BucketBackendPatch" });
|
|
650
|
+
export const ConfigPatchBackend = /*@__PURE__*/ S.Unknown;
|
|
717
651
|
export const ConfigPatchBlockedCountriesList = /*@__PURE__*/ S.Array(S.String);
|
|
718
652
|
export const ConfigPatchBlockedIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
719
653
|
export const CacheConfigPatchCacheKeyHeadersList = /*@__PURE__*/ S.Array(S.String);
|
|
720
|
-
export const CacheConfigPatchQueryStringVaryParametersList =
|
|
721
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
654
|
+
export const CacheConfigPatchQueryStringVaryParametersList = /*@__PURE__*/ S.Array(S.String);
|
|
722
655
|
export const CacheConfigPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
723
656
|
cacheKeyHeaders: S.optional(CacheConfigPatchCacheKeyHeadersList),
|
|
724
657
|
queryStringVaryEnabled: S.optional(S.Boolean),
|
|
725
658
|
queryStringVaryParameters: S.optional(CacheConfigPatchQueryStringVaryParametersList),
|
|
726
|
-
})).annotate({
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
export const ConfigPatchLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
730
|
-
export const LokiLogSinkPatchType = /*@__PURE__*/ S.String;
|
|
659
|
+
})).annotate({ identifier: "CacheConfigPatch" });
|
|
660
|
+
export const ConfigPatchLabelsMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
661
|
+
export const LokiLogSinkPatchType = S.String;
|
|
731
662
|
export const LokiLogSinkPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
732
663
|
credentials: S.optional(LokiLogSinkCredentials),
|
|
733
664
|
pushUrl: S.optional(S.String),
|
|
734
665
|
type: LokiLogSinkPatchType,
|
|
735
|
-
})).annotate({
|
|
736
|
-
identifier: "LokiLogSinkPatch",
|
|
737
|
-
});
|
|
666
|
+
})).annotate({ identifier: "LokiLogSinkPatch" });
|
|
738
667
|
export const OtlpLogSinkPatchCredentials =
|
|
739
668
|
/*@__PURE__*/ S.Unknown;
|
|
740
|
-
export const OtlpLogSinkPatchType =
|
|
669
|
+
export const OtlpLogSinkPatchType = S.String;
|
|
741
670
|
export const OtlpLogSinkPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
742
671
|
credentials: S.optional(OtlpLogSinkPatchCredentials),
|
|
743
672
|
pushUrl: S.optional(S.String),
|
|
744
673
|
type: OtlpLogSinkPatchType,
|
|
745
|
-
})).annotate({
|
|
746
|
-
|
|
747
|
-
});
|
|
748
|
-
export const ConfigPatchLogSink =
|
|
749
|
-
/*@__PURE__*/ S.Unknown;
|
|
674
|
+
})).annotate({ identifier: "OtlpLogSinkPatch" });
|
|
675
|
+
export const ConfigPatchLogSink = /*@__PURE__*/ S.Unknown;
|
|
750
676
|
export const OptimizerPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
751
677
|
enabled: S.optional(S.Boolean),
|
|
752
678
|
})).annotate({ identifier: "OptimizerPatch" });
|
|
@@ -757,10 +683,8 @@ export const TlsConfigPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
757
683
|
})).annotate({ identifier: "TlsConfigPatch" });
|
|
758
684
|
export const WafConfigPatchAllowedHttpMethodsList = /*@__PURE__*/ S.Array(S.String);
|
|
759
685
|
export const WafConfigPatchAllowedHttpVersionsList = /*@__PURE__*/ S.Array(S.String);
|
|
760
|
-
export const WafConfigPatchAllowedRequestContentTypesList =
|
|
761
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
762
|
-
export const WafConfigPatchDisabledRuleCollectionIdsList =
|
|
763
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
686
|
+
export const WafConfigPatchAllowedRequestContentTypesList = /*@__PURE__*/ S.Array(S.String);
|
|
687
|
+
export const WafConfigPatchDisabledRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
764
688
|
export const WafConfigPatchDisabledRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
765
689
|
export const WafConfigPatchDisabledRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
766
690
|
export const WafConfigPatchEnabledRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -813,9 +737,7 @@ export const PatchDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
813
737
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}",
|
|
814
738
|
code: 200,
|
|
815
739
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
816
|
-
}))).annotate({
|
|
817
|
-
identifier: "PatchDistributionRequest",
|
|
818
|
-
});
|
|
740
|
+
}))).annotate({ identifier: "PatchDistributionRequest" });
|
|
819
741
|
export const PatchDistributionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
820
742
|
distribution: Distribution,
|
|
821
743
|
})).annotate({
|
|
@@ -830,12 +752,8 @@ export const PurgeCacheRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
830
752
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}/cache/purge",
|
|
831
753
|
code: 200,
|
|
832
754
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
833
|
-
}))).annotate({
|
|
834
|
-
|
|
835
|
-
});
|
|
836
|
-
export const PurgeCacheResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
|
|
837
|
-
identifier: "PurgeCacheResponse2",
|
|
838
|
-
});
|
|
755
|
+
}))).annotate({ identifier: "PurgeCacheRequest" });
|
|
756
|
+
export const PurgeCacheResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "PurgeCacheResponse2" });
|
|
839
757
|
export const PutCustomDomainManagedCertificate = GetCustomDomainManagedCertificate;
|
|
840
758
|
export const PutCustomDomainCustomCertificate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
841
759
|
certificate: S.String,
|
|
@@ -858,17 +776,13 @@ export const PutCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
858
776
|
uri: "/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
859
777
|
code: 200,
|
|
860
778
|
baseUrl: "https://cdn.api.stackit.cloud",
|
|
861
|
-
}))).annotate({
|
|
862
|
-
identifier: "PutCustomDomainRequest",
|
|
863
|
-
});
|
|
779
|
+
}))).annotate({ identifier: "PutCustomDomainRequest" });
|
|
864
780
|
export const PutCustomDomainResponseCertificate =
|
|
865
781
|
/*@__PURE__*/ S.Unknown;
|
|
866
782
|
export const PutCustomDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
867
783
|
certificate: S.optional(PutCustomDomainResponseCertificate),
|
|
868
784
|
customDomain: CustomDomain,
|
|
869
|
-
})).annotate({
|
|
870
|
-
identifier: "PutCustomDomainResponse",
|
|
871
|
-
});
|
|
785
|
+
})).annotate({ identifier: "PutCustomDomainResponse" });
|
|
872
786
|
/** Create new distribution CreateDistribution will create a new CDN distribution */
|
|
873
787
|
export const createDistribution = /*@__PURE__*/ API.make(() => ({
|
|
874
788
|
input: CreateDistributionRequest,
|