@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.17
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/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -49
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -26
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -24
- package/lib/index.lazy.js +7 -0
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +1 -45
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -147
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -31
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +28 -512
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +9 -82
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +33 -520
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -322
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +1 -362
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -905
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -178
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -176
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -725
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -316
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +1 -356
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +1 -398
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +35 -519
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -3542
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/index.js +0 -2
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +29 -474
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -662
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +9 -25
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -153
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +10 -81
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +29 -496
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +33 -573
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -474
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +34 -550
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +9 -48
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -335
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +7 -47
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -286
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +8 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +42 -802
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +12 -59
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +38 -539
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -3157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +34 -562
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -735
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +14 -136
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -852
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +37 -518
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +35 -573
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -197
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +9 -61
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +36 -472
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +5 -28
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -184
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +25 -444
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -669
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +8 -61
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +42 -612
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +7 -50
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +29 -453
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +7 -35
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -351
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +10 -68
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +30 -505
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +7 -29
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -156
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -789
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +26 -557
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -935
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +9 -38
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +26 -378
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +8 -61
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -531
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +8 -72
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +29 -483
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -278
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +34 -566
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -930
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +27 -507
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +4 -0
- package/lib/services.lazy/alb_waf.js +4 -0
- package/lib/services.lazy/authorization.js +1 -0
- package/lib/services.lazy/automation.js +1 -0
- package/lib/services.lazy/cdn.js +4 -0
- package/lib/services.lazy/certificates.js +1 -0
- package/lib/services.lazy/cost.js +1 -0
- package/lib/services.lazy/dns.js +4 -0
- package/lib/services.lazy/dremio.js +1 -0
- package/lib/services.lazy/edge.js +1 -0
- package/lib/services.lazy/functions.js +1 -0
- package/lib/services.lazy/git.js +4 -0
- package/lib/services.lazy/iaas.js +4 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/intake.js +4 -0
- package/lib/services.lazy/kms.js +4 -0
- package/lib/services.lazy/lb_ip_lists.js +1 -0
- package/lib/services.lazy/load_balancer.js +4 -0
- package/lib/services.lazy/logme.js +4 -0
- package/lib/services.lazy/logs.js +4 -0
- package/lib/services.lazy/mariadb.js +4 -0
- package/lib/services.lazy/model_experiments.js +1 -0
- package/lib/services.lazy/model_serving.js +1 -0
- package/lib/services.lazy/mongodb_flex.js +4 -0
- package/lib/services.lazy/object_storage.js +4 -0
- package/lib/services.lazy/observability.js +4 -0
- package/lib/services.lazy/opensearch.js +4 -0
- package/lib/services.lazy/pim.js +4 -0
- package/lib/services.lazy/postgres_flex.js +4 -0
- package/lib/services.lazy/pubsub.js +4 -0
- package/lib/services.lazy/rabbitmq.js +4 -0
- package/lib/services.lazy/registry.js +1 -0
- package/lib/services.lazy/resource_manager.js +4 -0
- package/lib/services.lazy/run_command.js +1 -0
- package/lib/services.lazy/sca.js +4 -0
- package/lib/services.lazy/scf.js +4 -0
- package/lib/services.lazy/secrets_manager.js +4 -0
- package/lib/services.lazy/server_backup.js +4 -0
- package/lib/services.lazy/server_update.js +1 -0
- package/lib/services.lazy/service_account.js +4 -0
- package/lib/services.lazy/service_enablement.js +1 -0
- package/lib/services.lazy/sfs.js +4 -0
- package/lib/services.lazy/ske.js +4 -0
- package/lib/services.lazy/sqlserverflex.js +4 -0
- package/lib/services.lazy/stackit_marketplace.js +4 -0
- package/lib/services.lazy/telemetry_link.js +4 -0
- package/lib/services.lazy/telemetry_router.js +4 -0
- package/lib/services.lazy/ufw.js +1 -0
- package/lib/services.lazy/valkey.js +4 -0
- package/lib/services.lazy/vpn.js +4 -0
- package/lib/services.lazy/workflows.js +4 -0
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +1 -15
- package/package.json +9 -7
- package/src/credentials.ts +21 -18
- package/src/errors.ts +10 -14
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +12 -9
- package/src/retry.ts +6 -4
- package/src/services/alb.ts +599 -655
- package/src/services/alb_waf.ts +597 -637
- package/src/services/authorization.ts +400 -383
- package/src/services/automation.ts +422 -405
- package/src/services/cdn.ts +817 -1375
- package/src/services/certificates.ts +209 -190
- package/src/services/cost.ts +100 -207
- package/src/services/dns.ts +793 -833
- package/src/services/dremio.ts +356 -349
- package/src/services/edge.ts +406 -366
- package/src/services/functions.ts +465 -463
- package/src/services/git.ts +602 -547
- package/src/services/iaas.ts +3931 -3821
- package/src/services/intake.ts +521 -549
- package/src/services/kms.ts +715 -692
- package/src/services/lb_ip_lists.ts +173 -152
- package/src/services/load_balancer.ts +576 -619
- package/src/services/logme.ts +696 -641
- package/src/services/logs.ts +510 -493
- package/src/services/mariadb.ts +671 -604
- package/src/services/model_experiments.ts +343 -356
- package/src/services/model_serving.ts +337 -328
- package/src/services/mongodb_flex.ts +955 -1007
- package/src/services/object_storage.ts +614 -557
- package/src/services/observability.ts +3469 -3866
- package/src/services/opensearch.ts +679 -628
- package/src/services/pim.ts +672 -909
- package/src/services/postgres_flex.ts +966 -986
- package/src/services/pubsub.ts +524 -546
- package/src/services/rabbitmq.ts +693 -654
- package/src/services/registry.ts +227 -194
- package/src/services/resource_manager.ts +520 -517
- package/src/services/run_command.ts +219 -211
- package/src/services/sca.ts +543 -570
- package/src/services/scf.ts +790 -716
- package/src/services/secrets_manager.ts +707 -622
- package/src/services/server_backup.ts +490 -475
- package/src/services/server_update.ts +353 -356
- package/src/services/service_account.ts +515 -553
- package/src/services/service_enablement.ts +162 -166
- package/src/services/sfs.ts +879 -958
- package/src/services/ske.ts +694 -769
- package/src/services/sqlserverflex.ts +1042 -1117
- package/src/services/stackit_marketplace.ts +377 -372
- package/src/services/telemetry_link.ts +530 -531
- package/src/services/telemetry_router.ts +509 -534
- package/src/services/ufw.ts +305 -307
- package/src/services/valkey.ts +684 -629
- package/src/services/vpn.ts +935 -1195
- package/src/services/workflows.ts +426 -586
- package/src/traits.ts +1 -1
- package/lib/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -181
- package/lib/protocol.test.js.map +0 -1
- package/lib/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- package/src/protocol.test.ts +0 -304
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
package/lib/services/cdn.js
CHANGED
|
@@ -1,906 +1,32 @@
|
|
|
1
|
-
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export const HttpBackendCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
33
|
-
geofencing: S.optional(HttpBackendCreateGeofencingMap),
|
|
34
|
-
originRequestHeaders: S.optional(HttpBackendCreateOriginRequestHeadersMap),
|
|
35
|
-
originUrl: S.String,
|
|
36
|
-
type: HttpBackendCreateType,
|
|
37
|
-
})).annotate({ identifier: "HttpBackendCreate" });
|
|
38
|
-
export const BucketCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
39
|
-
accessKeyId: S.String.pipe(T.SensitiveValue({})),
|
|
40
|
-
secretAccessKey: S.String.pipe(T.SensitiveValue({})),
|
|
41
|
-
})).annotate({ identifier: "BucketCredentials" });
|
|
42
|
-
export const BucketBackendCreateType = S.String;
|
|
43
|
-
export const BucketBackendCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
44
|
-
bucketUrl: S.String,
|
|
45
|
-
credentials: BucketCredentials,
|
|
46
|
-
region: S.String,
|
|
47
|
-
type: BucketBackendCreateType,
|
|
48
|
-
})).annotate({ identifier: "BucketBackendCreate" });
|
|
49
|
-
export const CreateDistributionRequestBackend =
|
|
50
|
-
/*@__PURE__*/ S.Unknown;
|
|
51
|
-
export const CreateDistributionRequestBlockedCountriesList = /*@__PURE__*/ S.Array(S.String);
|
|
52
|
-
export const CreateDistributionRequestBlockedIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
53
|
-
export const CacheConfigCreateCacheKeyHeadersList = /*@__PURE__*/ S.Array(S.String);
|
|
54
|
-
export const CacheConfigCreateQueryStringVaryParametersList = /*@__PURE__*/ S.Array(S.String);
|
|
55
|
-
export const CacheConfigCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
56
|
-
cacheKeyHeaders: S.optional(CacheConfigCreateCacheKeyHeadersList),
|
|
57
|
-
queryStringVaryEnabled: S.optional(S.Boolean),
|
|
58
|
-
queryStringVaryParameters: S.optional(CacheConfigCreateQueryStringVaryParametersList),
|
|
59
|
-
})).annotate({ identifier: "CacheConfigCreate" });
|
|
60
|
-
export const CreateDistributionRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
61
|
-
export const LokiLogSinkCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
62
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
63
|
-
username: S.String,
|
|
64
|
-
})).annotate({ identifier: "LokiLogSinkCredentials" });
|
|
65
|
-
export const LokiLogSinkCreateType = S.String;
|
|
66
|
-
export const LokiLogSinkCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
67
|
-
credentials: LokiLogSinkCredentials,
|
|
68
|
-
pushUrl: S.String,
|
|
69
|
-
type: LokiLogSinkCreateType,
|
|
70
|
-
})).annotate({ identifier: "LokiLogSinkCreate" });
|
|
71
|
-
export const OtlpLogSinkBearerCredentialsType = S.String;
|
|
72
|
-
export const OtlpLogSinkBearerCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
73
|
-
token: S.String,
|
|
74
|
-
type: OtlpLogSinkBearerCredentialsType,
|
|
75
|
-
})).annotate({
|
|
76
|
-
identifier: "OtlpLogSinkBearerCredentials",
|
|
77
|
-
});
|
|
78
|
-
export const OtlpLogSinkBasicCredentialsType = S.String;
|
|
79
|
-
export const OtlpLogSinkBasicCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
80
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
81
|
-
type: OtlpLogSinkBasicCredentialsType,
|
|
82
|
-
username: S.String,
|
|
83
|
-
})).annotate({
|
|
84
|
-
identifier: "OtlpLogSinkBasicCredentials",
|
|
85
|
-
});
|
|
86
|
-
export const OtlpLogSinkCreateCredentials =
|
|
87
|
-
/*@__PURE__*/ S.Unknown;
|
|
88
|
-
export const OtlpLogSinkCreateType = S.String;
|
|
89
|
-
export const OtlpLogSinkCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
90
|
-
credentials: OtlpLogSinkCreateCredentials,
|
|
91
|
-
pushUrl: S.String,
|
|
92
|
-
type: OtlpLogSinkCreateType,
|
|
93
|
-
})).annotate({ identifier: "OtlpLogSinkCreate" });
|
|
94
|
-
export const CreateDistributionRequestLogSink =
|
|
95
|
-
/*@__PURE__*/ S.Unknown;
|
|
96
|
-
export const Optimizer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
97
|
-
enabled: S.Boolean,
|
|
98
|
-
})).annotate({ identifier: "Optimizer" });
|
|
99
|
-
export const MatchCondition = S.String;
|
|
100
|
-
export const MatcherValuesList = /*@__PURE__*/ S.Array(S.String);
|
|
101
|
-
export const Matcher = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
102
|
-
valueMatchCondition: S.optional(MatchCondition),
|
|
103
|
-
values: MatcherValuesList,
|
|
104
|
-
})).annotate({ identifier: "Matcher" });
|
|
105
|
-
export const RedirectRuleMatchersList = /*@__PURE__*/ S.Array(Matcher);
|
|
106
|
-
export const RedirectRuleStatusCode = S.Number;
|
|
107
|
-
export const RedirectRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
108
|
-
description: S.optional(S.String),
|
|
109
|
-
enabled: S.optional(S.Boolean),
|
|
110
|
-
matchers: RedirectRuleMatchersList,
|
|
111
|
-
ruleMatchCondition: S.optional(MatchCondition),
|
|
112
|
-
statusCode: RedirectRuleStatusCode,
|
|
113
|
-
targetUrl: S.String,
|
|
114
|
-
})).annotate({ identifier: "RedirectRule" });
|
|
115
|
-
export const RedirectConfigRulesList = /*@__PURE__*/ S.Array(RedirectRule);
|
|
116
|
-
export const RedirectConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
117
|
-
rules: S.optional(RedirectConfigRulesList),
|
|
118
|
-
})).annotate({ identifier: "RedirectConfig" });
|
|
119
|
-
export const Region = S.String;
|
|
120
|
-
export const CreateDistributionRequestRegionsList = /*@__PURE__*/ S.Array(Region);
|
|
121
|
-
export const TlsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
122
|
-
enableTls10: S.Boolean,
|
|
123
|
-
enableTls11: S.Boolean,
|
|
124
|
-
})).annotate({ identifier: "TlsConfig" });
|
|
125
|
-
export const WafConfigAllowedHttpMethodsList = /*@__PURE__*/ S.Array(S.String);
|
|
126
|
-
export const WafConfigAllowedHttpVersionsList = /*@__PURE__*/ S.Array(S.String);
|
|
127
|
-
export const WafConfigAllowedRequestContentTypesList = /*@__PURE__*/ S.Array(S.String);
|
|
128
|
-
export const WafConfigDisabledRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
129
|
-
export const WafConfigDisabledRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
130
|
-
export const WafConfigDisabledRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
131
|
-
export const WafConfigEnabledRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
132
|
-
export const WafConfigEnabledRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
133
|
-
export const WafConfigEnabledRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
134
|
-
export const WafConfigLogOnlyRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
135
|
-
export const WafConfigLogOnlyRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
136
|
-
export const WafConfigLogOnlyRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
137
|
-
export const WafMode = S.String;
|
|
138
|
-
export const WafParanoiaLevel = S.String;
|
|
139
|
-
export const WafType = S.String;
|
|
140
|
-
export const WafConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
141
|
-
allowedHttpMethods: S.optional(WafConfigAllowedHttpMethodsList),
|
|
142
|
-
allowedHttpVersions: S.optional(WafConfigAllowedHttpVersionsList),
|
|
143
|
-
allowedRequestContentTypes: S.optional(WafConfigAllowedRequestContentTypesList),
|
|
144
|
-
disabledRuleCollectionIds: S.optional(WafConfigDisabledRuleCollectionIdsList),
|
|
145
|
-
disabledRuleGroupIds: S.optional(WafConfigDisabledRuleGroupIdsList),
|
|
146
|
-
disabledRuleIds: S.optional(WafConfigDisabledRuleIdsList),
|
|
147
|
-
enabledRuleCollectionIds: S.optional(WafConfigEnabledRuleCollectionIdsList),
|
|
148
|
-
enabledRuleGroupIds: S.optional(WafConfigEnabledRuleGroupIdsList),
|
|
149
|
-
enabledRuleIds: WafConfigEnabledRuleIdsList,
|
|
150
|
-
logOnlyRuleCollectionIds: S.optional(WafConfigLogOnlyRuleCollectionIdsList),
|
|
151
|
-
logOnlyRuleGroupIds: S.optional(WafConfigLogOnlyRuleGroupIdsList),
|
|
152
|
-
logOnlyRuleIds: S.optional(WafConfigLogOnlyRuleIdsList),
|
|
153
|
-
mode: WafMode,
|
|
154
|
-
paranoiaLevel: S.optional(WafParanoiaLevel),
|
|
155
|
-
type: WafType,
|
|
156
|
-
})).annotate({ identifier: "WafConfig" });
|
|
157
|
-
export const CreateDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
158
|
-
projectId: S.String.pipe(T.Label()),
|
|
159
|
-
backend: CreateDistributionRequestBackend,
|
|
160
|
-
blockedCountries: S.optional(CreateDistributionRequestBlockedCountriesList),
|
|
161
|
-
blockedIps: S.optional(CreateDistributionRequestBlockedIpsList),
|
|
162
|
-
cacheConfig: S.optional(CacheConfigCreate),
|
|
163
|
-
defaultCacheDuration: S.optional(S.String),
|
|
164
|
-
forwardHostHeader: S.optional(S.Boolean),
|
|
165
|
-
intentId: S.optional(S.String),
|
|
166
|
-
labels: S.optional(CreateDistributionRequestLabelsMap),
|
|
167
|
-
logSink: S.optional(CreateDistributionRequestLogSink),
|
|
168
|
-
monthlyLimitBytes: S.optional(S.Number),
|
|
169
|
-
optimizer: S.optional(Optimizer),
|
|
170
|
-
redirects: S.optional(RedirectConfig),
|
|
171
|
-
regions: CreateDistributionRequestRegionsList,
|
|
172
|
-
stripResponseCookies: S.optional(S.Boolean),
|
|
173
|
-
tls: S.optional(TlsConfig),
|
|
174
|
-
waf: S.optional(WafConfig),
|
|
175
|
-
}).pipe(T.Http({
|
|
176
|
-
method: "POST",
|
|
177
|
-
uri: "/v1/projects/{projectId}/distributions",
|
|
178
|
-
code: 200,
|
|
179
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
180
|
-
}))).annotate({
|
|
181
|
-
identifier: "CreateDistributionRequest",
|
|
182
|
-
});
|
|
183
|
-
export const HttpBackendGeofencingValueList = /*@__PURE__*/ S.Array(S.String);
|
|
184
|
-
export const HttpBackendGeofencingMap = /*@__PURE__*/ S.Record(S.String, HttpBackendGeofencingValueList);
|
|
185
|
-
export const HttpBackendOriginRequestHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
186
|
-
export const HttpBackendType = S.String;
|
|
187
|
-
export const HttpBackend = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
188
|
-
geofencing: HttpBackendGeofencingMap,
|
|
189
|
-
originRequestHeaders: HttpBackendOriginRequestHeadersMap,
|
|
190
|
-
originUrl: S.String,
|
|
191
|
-
type: HttpBackendType,
|
|
192
|
-
})).annotate({ identifier: "HttpBackend" });
|
|
193
|
-
export const BucketBackendType = S.String;
|
|
194
|
-
export const BucketBackend = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
195
|
-
bucketUrl: S.String,
|
|
196
|
-
region: S.String,
|
|
197
|
-
type: BucketBackendType,
|
|
198
|
-
})).annotate({ identifier: "BucketBackend" });
|
|
199
|
-
export const ConfigBackend = /*@__PURE__*/ S.Unknown;
|
|
200
|
-
export const ConfigBlockedCountriesList = /*@__PURE__*/ S.Array(S.String);
|
|
201
|
-
export const ConfigBlockedIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
202
|
-
export const CacheConfigCacheKeyHeadersList = /*@__PURE__*/ S.Array(S.String);
|
|
203
|
-
export const CacheConfigQueryStringVaryParametersList = /*@__PURE__*/ S.Array(S.String);
|
|
204
|
-
export const CacheConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
205
|
-
cacheKeyHeaders: CacheConfigCacheKeyHeadersList,
|
|
206
|
-
queryStringVaryEnabled: S.Boolean,
|
|
207
|
-
queryStringVaryParameters: CacheConfigQueryStringVaryParametersList,
|
|
208
|
-
})).annotate({ identifier: "CacheConfig" });
|
|
209
|
-
export const ConfigLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
210
|
-
export const LokiLogSinkType = S.String;
|
|
211
|
-
export const LokiLogSink = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
212
|
-
pushUrl: S.String,
|
|
213
|
-
type: LokiLogSinkType,
|
|
214
|
-
})).annotate({ identifier: "LokiLogSink" });
|
|
215
|
-
export const OtlpLogSinkType = S.String;
|
|
216
|
-
export const OtlpLogSink = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
217
|
-
pushUrl: S.String,
|
|
218
|
-
type: OtlpLogSinkType,
|
|
219
|
-
})).annotate({ identifier: "OtlpLogSink" });
|
|
220
|
-
export const ConfigLogSink = /*@__PURE__*/ S.Unknown;
|
|
221
|
-
export const ConfigRegionsList = /*@__PURE__*/ S.Array(Region);
|
|
222
|
-
export const Config = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
223
|
-
backend: ConfigBackend,
|
|
224
|
-
blockedCountries: ConfigBlockedCountriesList,
|
|
225
|
-
blockedIps: ConfigBlockedIpsList,
|
|
226
|
-
cacheConfig: CacheConfig,
|
|
227
|
-
defaultCacheDuration: S.optional(S.NullOr(S.String)),
|
|
228
|
-
forwardHostHeader: S.Boolean,
|
|
229
|
-
labels: S.optional(ConfigLabelsMap),
|
|
230
|
-
logSink: S.optional(ConfigLogSink),
|
|
231
|
-
monthlyLimitBytes: S.optional(S.NullOr(S.Number)),
|
|
232
|
-
optimizer: S.optional(Optimizer),
|
|
233
|
-
redirects: S.optional(RedirectConfig),
|
|
234
|
-
regions: ConfigRegionsList,
|
|
235
|
-
stripResponseCookies: S.Boolean,
|
|
236
|
-
tls: TlsConfig,
|
|
237
|
-
waf: WafConfig,
|
|
238
|
-
})).annotate({ identifier: "Config" });
|
|
239
|
-
export const DomainCertificateType = S.String;
|
|
240
|
-
export const StatusErrorKey = S.String;
|
|
241
|
-
export const StatusError = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
242
|
-
de: S.optional(S.String),
|
|
243
|
-
en: S.String,
|
|
244
|
-
key: StatusErrorKey,
|
|
245
|
-
})).annotate({ identifier: "StatusError" });
|
|
246
|
-
export const DomainErrorsList = /*@__PURE__*/ S.Array(StatusError);
|
|
247
|
-
export const DomainStatus = S.String;
|
|
248
|
-
export const DomainType = S.String;
|
|
249
|
-
export const Domain = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
250
|
-
certificateType: DomainCertificateType,
|
|
251
|
-
errors: S.optional(DomainErrorsList),
|
|
252
|
-
name: S.String,
|
|
253
|
-
status: DomainStatus,
|
|
254
|
-
type: DomainType,
|
|
255
|
-
})).annotate({ identifier: "Domain" });
|
|
256
|
-
export const DistributionDomainsList = /*@__PURE__*/ S.Array(Domain);
|
|
257
|
-
export const DistributionErrorsList = /*@__PURE__*/ S.Array(StatusError);
|
|
258
|
-
export const DistributionStatus = S.String;
|
|
259
|
-
export const WafStatusRuleBlockReasonNeverDefined = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
260
|
-
type: S.String,
|
|
261
|
-
})).annotate({
|
|
262
|
-
identifier: "WafStatusRuleBlockReasonNeverDefined",
|
|
263
|
-
});
|
|
264
|
-
export const WafStatusRuleBlockReasonDirectlyDefined = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
265
|
-
type: S.String,
|
|
266
|
-
})).annotate({
|
|
267
|
-
identifier: "WafStatusRuleBlockReasonDirectlyDefined",
|
|
268
|
-
});
|
|
269
|
-
export const WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList = /*@__PURE__*/ S.Array(WafType);
|
|
270
|
-
export const WafStatusRuleBlockReasonInvalidWafType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
271
|
-
allowedWafTypes: WafStatusRuleBlockReasonInvalidWafTypeAllowedWafTypesList,
|
|
272
|
-
type: S.String,
|
|
273
|
-
})).annotate({
|
|
274
|
-
identifier: "WafStatusRuleBlockReasonInvalidWafType",
|
|
275
|
-
});
|
|
276
|
-
export const WafStatusRuleBlockReasonInheritedFromCollection = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
277
|
-
collectionId: S.String,
|
|
278
|
-
type: S.String,
|
|
279
|
-
})).annotate({
|
|
280
|
-
identifier: "WafStatusRuleBlockReasonInheritedFromCollection",
|
|
281
|
-
});
|
|
282
|
-
export const WafStatusRuleBlockReasonInheritedFromGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
283
|
-
groupId: S.String,
|
|
284
|
-
type: S.String,
|
|
285
|
-
})).annotate({
|
|
286
|
-
identifier: "WafStatusRuleBlockReasonInheritedFromGroup",
|
|
287
|
-
});
|
|
288
|
-
export const WafStatusRuleBlockReason =
|
|
289
|
-
/*@__PURE__*/ S.Unknown;
|
|
290
|
-
export const WafStatusRuleBlock = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
291
|
-
id: S.String,
|
|
292
|
-
reason: WafStatusRuleBlockReason,
|
|
293
|
-
})).annotate({ identifier: "WafStatusRuleBlock" });
|
|
294
|
-
export const DistributionWafDisabledRulesList = /*@__PURE__*/ S.Array(WafStatusRuleBlock);
|
|
295
|
-
export const DistributionWafEnabledRulesList = /*@__PURE__*/ S.Array(WafStatusRuleBlock);
|
|
296
|
-
export const DistributionWafLogOnlyRulesList = /*@__PURE__*/ S.Array(WafStatusRuleBlock);
|
|
297
|
-
export const DistributionWaf = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
298
|
-
disabledRules: DistributionWafDisabledRulesList,
|
|
299
|
-
enabledRules: DistributionWafEnabledRulesList,
|
|
300
|
-
logOnlyRules: DistributionWafLogOnlyRulesList,
|
|
301
|
-
})).annotate({ identifier: "DistributionWaf" });
|
|
302
|
-
export const Distribution = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
303
|
-
config: Config,
|
|
304
|
-
createdAt: S.String,
|
|
305
|
-
domains: DistributionDomainsList,
|
|
306
|
-
errors: S.optional(DistributionErrorsList),
|
|
307
|
-
id: S.String,
|
|
308
|
-
projectId: S.String,
|
|
309
|
-
status: DistributionStatus,
|
|
310
|
-
updatedAt: S.String,
|
|
311
|
-
waf: S.optional(DistributionWaf),
|
|
312
|
-
})).annotate({ identifier: "Distribution" });
|
|
313
|
-
export const CreateDistributionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
314
|
-
distribution: Distribution,
|
|
315
|
-
})).annotate({
|
|
316
|
-
identifier: "CreateDistributionResponse",
|
|
317
|
-
});
|
|
318
|
-
export const DeleteCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
319
|
-
projectId: S.String.pipe(T.Label()),
|
|
320
|
-
distributionId: S.String.pipe(T.Label()),
|
|
321
|
-
domain: S.String.pipe(T.Label()),
|
|
322
|
-
intentId: S.optional(S.String.pipe(T.Query())),
|
|
323
|
-
}).pipe(T.Http({
|
|
324
|
-
method: "DELETE",
|
|
325
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
326
|
-
code: 200,
|
|
327
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
328
|
-
}))).annotate({
|
|
329
|
-
identifier: "DeleteCustomDomainRequest",
|
|
330
|
-
});
|
|
331
|
-
export const CustomDomainErrorsList = /*@__PURE__*/ S.Array(StatusError);
|
|
332
|
-
export const CustomDomain = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
333
|
-
errors: S.optional(CustomDomainErrorsList),
|
|
334
|
-
name: S.String,
|
|
335
|
-
status: DomainStatus,
|
|
336
|
-
})).annotate({ identifier: "CustomDomain" });
|
|
337
|
-
export const DeleteCustomDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
338
|
-
customDomain: S.optional(CustomDomain),
|
|
339
|
-
})).annotate({
|
|
340
|
-
identifier: "DeleteCustomDomainResponse",
|
|
341
|
-
});
|
|
342
|
-
export const DeleteDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
343
|
-
projectId: S.String.pipe(T.Label()),
|
|
344
|
-
distributionId: S.String.pipe(T.Label()),
|
|
345
|
-
intentId: S.optional(S.String.pipe(T.Query())),
|
|
346
|
-
}).pipe(T.Http({
|
|
347
|
-
method: "DELETE",
|
|
348
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}",
|
|
349
|
-
code: 200,
|
|
350
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
351
|
-
}))).annotate({
|
|
352
|
-
identifier: "DeleteDistributionRequest",
|
|
353
|
-
});
|
|
354
|
-
export const DeleteDistributionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
355
|
-
distribution: S.optional(Distribution),
|
|
356
|
-
})).annotate({
|
|
357
|
-
identifier: "DeleteDistributionResponse",
|
|
358
|
-
});
|
|
359
|
-
export const FindCachePathsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
360
|
-
projectId: S.String.pipe(T.Label()),
|
|
361
|
-
distributionId: S.String.pipe(T.Label()),
|
|
362
|
-
path: S.String.pipe(T.Query()),
|
|
363
|
-
}).pipe(T.Http({
|
|
364
|
-
method: "GET",
|
|
365
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/cache/paths",
|
|
366
|
-
code: 200,
|
|
367
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
368
|
-
}))).annotate({ identifier: "FindCachePathsRequest" });
|
|
369
|
-
export const FindCachePathsResponseEntry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
370
|
-
path: S.String,
|
|
371
|
-
})).annotate({
|
|
372
|
-
identifier: "FindCachePathsResponseEntry",
|
|
373
|
-
});
|
|
374
|
-
export const FindCachePathsResponseResponseList = /*@__PURE__*/ S.Array(FindCachePathsResponseEntry);
|
|
375
|
-
export const FindCachePathsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
376
|
-
response: FindCachePathsResponseResponseList,
|
|
377
|
-
})).annotate({ identifier: "FindCachePathsResponse" });
|
|
378
|
-
export const GetCacheInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
379
|
-
projectId: S.String.pipe(T.Label()),
|
|
380
|
-
distributionId: S.String.pipe(T.Label()),
|
|
381
|
-
purgePath: S.optional(S.String.pipe(T.Query())),
|
|
382
|
-
}).pipe(T.Http({
|
|
383
|
-
method: "GET",
|
|
384
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/cache",
|
|
385
|
-
code: 200,
|
|
386
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
387
|
-
}))).annotate({ identifier: "GetCacheInfoRequest" });
|
|
388
|
-
export const GetCacheInfoResponseHistoryEntryType = S.String;
|
|
389
|
-
export const GetCacheInfoResponseHistoryEntry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
390
|
-
occurredAt: S.String,
|
|
391
|
-
type: GetCacheInfoResponseHistoryEntryType,
|
|
392
|
-
})).annotate({
|
|
393
|
-
identifier: "GetCacheInfoResponseHistoryEntry",
|
|
394
|
-
});
|
|
395
|
-
export const GetCacheInfoResponseHistoryList = /*@__PURE__*/ S.Array(GetCacheInfoResponseHistoryEntry);
|
|
396
|
-
export const GetCacheInfoResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
397
|
-
history: GetCacheInfoResponseHistoryList,
|
|
398
|
-
lastPurgeTime: S.NullOr(S.String),
|
|
399
|
-
})).annotate({ identifier: "GetCacheInfoResponse" });
|
|
400
|
-
export const GetCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
401
|
-
projectId: S.String.pipe(T.Label()),
|
|
402
|
-
distributionId: S.String.pipe(T.Label()),
|
|
403
|
-
domain: S.String.pipe(T.Label()),
|
|
404
|
-
}).pipe(T.Http({
|
|
405
|
-
method: "GET",
|
|
406
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
407
|
-
code: 200,
|
|
408
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
409
|
-
}))).annotate({ identifier: "GetCustomDomainRequest" });
|
|
410
|
-
export const GetCustomDomainManagedCertificate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
411
|
-
type: S.String,
|
|
412
|
-
})).annotate({
|
|
413
|
-
identifier: "GetCustomDomainManagedCertificate",
|
|
414
|
-
});
|
|
415
|
-
export const GetCustomDomainCustomCertificate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
416
|
-
skipDnsCheck: S.Boolean,
|
|
417
|
-
type: S.String,
|
|
418
|
-
version: S.Number,
|
|
419
|
-
})).annotate({
|
|
420
|
-
identifier: "GetCustomDomainCustomCertificate",
|
|
421
|
-
});
|
|
422
|
-
export const GetCustomDomainResponseCertificate =
|
|
423
|
-
/*@__PURE__*/ S.Unknown;
|
|
424
|
-
export const GetCustomDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
425
|
-
certificate: GetCustomDomainResponseCertificate,
|
|
426
|
-
customDomain: CustomDomain,
|
|
427
|
-
})).annotate({ identifier: "GetCustomDomainResponse" });
|
|
428
|
-
export const GetDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
429
|
-
projectId: S.String.pipe(T.Label()),
|
|
430
|
-
distributionId: S.String.pipe(T.Label()),
|
|
431
|
-
withWafStatus: S.optional(S.Boolean.pipe(T.Query())),
|
|
432
|
-
}).pipe(T.Http({
|
|
433
|
-
method: "GET",
|
|
434
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}",
|
|
435
|
-
code: 200,
|
|
436
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
437
|
-
}))).annotate({ identifier: "GetDistributionRequest" });
|
|
438
|
-
export const GetDistributionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
439
|
-
distribution: Distribution,
|
|
440
|
-
})).annotate({ identifier: "GetDistributionResponse" });
|
|
441
|
-
export const GetLogsRequestSortBy = S.String;
|
|
442
|
-
export const GetLogsRequestSortOrder = S.String;
|
|
443
|
-
export const WAFRuleAction = S.String;
|
|
444
|
-
export const GetLogsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
445
|
-
projectId: S.String.pipe(T.Label()),
|
|
446
|
-
distributionId: S.String.pipe(T.Label()),
|
|
447
|
-
from: S.optional(S.String.pipe(T.Query())),
|
|
448
|
-
to: S.optional(S.String.pipe(T.Query())),
|
|
449
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
450
|
-
pageIdentifier: S.optional(S.String.pipe(T.Query())),
|
|
451
|
-
sortBy: S.optional(GetLogsRequestSortBy.pipe(T.Query())),
|
|
452
|
-
sortOrder: S.optional(GetLogsRequestSortOrder.pipe(T.Query())),
|
|
453
|
-
wafAction: S.optional(WAFRuleAction.pipe(T.Query())),
|
|
454
|
-
dataCenterRegion: S.optional(S.String.pipe(T.Query())),
|
|
455
|
-
requestCountryCode: S.optional(S.String.pipe(T.Query())),
|
|
456
|
-
statusCode: S.optional(S.Number.pipe(T.Query())),
|
|
457
|
-
cacheHit: S.optional(S.Boolean.pipe(T.Query())),
|
|
458
|
-
}).pipe(T.Http({
|
|
459
|
-
method: "GET",
|
|
460
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/logs",
|
|
461
|
-
code: 200,
|
|
462
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
463
|
-
}))).annotate({ identifier: "GetLogsRequest" });
|
|
464
|
-
export const WAFViolationRequestHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
465
|
-
export const WAFViolation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
466
|
-
action: WAFRuleAction,
|
|
467
|
-
asn: S.String,
|
|
468
|
-
message: S.String,
|
|
469
|
-
method: S.String,
|
|
470
|
-
requestHeaders: WAFViolationRequestHeadersMap,
|
|
471
|
-
ruleId: S.String,
|
|
472
|
-
})).annotate({ identifier: "WAFViolation" });
|
|
473
|
-
export const DistributionLogsRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
474
|
-
cacheHit: S.Boolean,
|
|
475
|
-
dataCenterRegion: S.String,
|
|
476
|
-
distributionId: S.String,
|
|
477
|
-
host: S.String,
|
|
478
|
-
path: S.String,
|
|
479
|
-
requestCountryCode: S.String,
|
|
480
|
-
size: S.Number,
|
|
481
|
-
statusCode: S.Number,
|
|
482
|
-
timestamp: S.String,
|
|
483
|
-
wafViolation: S.optional(WAFViolation),
|
|
484
|
-
})).annotate({ identifier: "DistributionLogsRecord" });
|
|
485
|
-
export const GetLogsResponseLogsList = /*@__PURE__*/ S.Array(DistributionLogsRecord);
|
|
486
|
-
export const GetLogsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
487
|
-
logs: GetLogsResponseLogsList,
|
|
488
|
-
nextPageIdentifier: S.optional(S.String),
|
|
489
|
-
})).annotate({ identifier: "GetLogsResponse" });
|
|
490
|
-
export const GetLogsSearchFiltersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
491
|
-
projectId: S.String.pipe(T.Label()),
|
|
492
|
-
distributionId: S.String.pipe(T.Label()),
|
|
493
|
-
filter: S.optional(S.String.pipe(T.Query())),
|
|
494
|
-
}).pipe(T.Http({
|
|
495
|
-
method: "GET",
|
|
496
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/logs/searchFilters",
|
|
497
|
-
code: 200,
|
|
498
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
499
|
-
}))).annotate({
|
|
500
|
-
identifier: "GetLogsSearchFiltersRequest",
|
|
501
|
-
});
|
|
502
|
-
export const GetLogsSearchFiltersResponseCacheItem = S.String;
|
|
503
|
-
export const GetLogsSearchFiltersResponseCacheList = /*@__PURE__*/ S.Array(GetLogsSearchFiltersResponseCacheItem);
|
|
504
|
-
export const GetLogsSearchFiltersResponseDatacenterBlockItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
505
|
-
displayName: S.String,
|
|
506
|
-
id: S.String,
|
|
507
|
-
})).annotate({
|
|
508
|
-
identifier: "GetLogsSearchFiltersResponseDatacenterBlockItem",
|
|
509
|
-
});
|
|
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({
|
|
516
|
-
AF: GetLogsSearchFiltersResponseDatacenterBlockAFList,
|
|
517
|
-
ASIA: GetLogsSearchFiltersResponseDatacenterBlockASIAList,
|
|
518
|
-
EU: GetLogsSearchFiltersResponseDatacenterBlockEUList,
|
|
519
|
-
NA: GetLogsSearchFiltersResponseDatacenterBlockNAList,
|
|
520
|
-
SA: GetLogsSearchFiltersResponseDatacenterBlockSAList,
|
|
521
|
-
})).annotate({
|
|
522
|
-
identifier: "GetLogsSearchFiltersResponseDatacenterBlock",
|
|
523
|
-
});
|
|
524
|
-
export const GetLogsSearchFiltersResponseRemoteCountryList = /*@__PURE__*/ S.Array(S.String);
|
|
525
|
-
export const GetLogsSearchFiltersResponseStatusList = /*@__PURE__*/ S.Array(S.Number);
|
|
526
|
-
export const GetLogsSearchFiltersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
527
|
-
cache: GetLogsSearchFiltersResponseCacheList,
|
|
528
|
-
dataCenter: GetLogsSearchFiltersResponseDatacenterBlock,
|
|
529
|
-
remoteCountry: GetLogsSearchFiltersResponseRemoteCountryList,
|
|
530
|
-
status: GetLogsSearchFiltersResponseStatusList,
|
|
531
|
-
})).annotate({
|
|
532
|
-
identifier: "GetLogsSearchFiltersResponse",
|
|
533
|
-
});
|
|
534
|
-
export const GetStatisticsRequestInterval = S.String;
|
|
535
|
-
export const GetStatisticsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
536
|
-
projectId: S.String.pipe(T.Label()),
|
|
537
|
-
distributionId: S.String.pipe(T.Label()),
|
|
538
|
-
from: S.String.pipe(T.Query()),
|
|
539
|
-
to: S.optional(S.String.pipe(T.Query())),
|
|
540
|
-
interval: S.optional(GetStatisticsRequestInterval.pipe(T.Query())),
|
|
541
|
-
}).pipe(T.Http({
|
|
542
|
-
method: "GET",
|
|
543
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/statistics",
|
|
544
|
-
code: 200,
|
|
545
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
546
|
-
}))).annotate({ identifier: "GetStatisticsRequest" });
|
|
547
|
-
export const DistributionStatisticsRecordEntry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
548
|
-
cachedRequests: S.Number,
|
|
549
|
-
totalRequests: S.Number,
|
|
550
|
-
totalTrafficBytes: S.Number,
|
|
551
|
-
})).annotate({
|
|
552
|
-
identifier: "DistributionStatisticsRecordEntry",
|
|
553
|
-
});
|
|
554
|
-
export const DistributionStatisticsRecordRegions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
555
|
-
AF: DistributionStatisticsRecordEntry,
|
|
556
|
-
ASIA: DistributionStatisticsRecordEntry,
|
|
557
|
-
EU: DistributionStatisticsRecordEntry,
|
|
558
|
-
SA: DistributionStatisticsRecordEntry,
|
|
559
|
-
US: DistributionStatisticsRecordEntry,
|
|
560
|
-
})).annotate({
|
|
561
|
-
identifier: "DistributionStatisticsRecordRegions",
|
|
562
|
-
});
|
|
563
|
-
export const DistributionStatisticsRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
564
|
-
cachedRequests: S.Number,
|
|
565
|
-
totalRequests: S.Number,
|
|
566
|
-
totalTrafficBytes: S.Number,
|
|
567
|
-
end: S.String,
|
|
568
|
-
regions: DistributionStatisticsRecordRegions,
|
|
569
|
-
start: S.String,
|
|
570
|
-
})).annotate({
|
|
571
|
-
identifier: "DistributionStatisticsRecord",
|
|
572
|
-
});
|
|
573
|
-
export const GetStatisticsResponseRecordsList = /*@__PURE__*/ S.Array(DistributionStatisticsRecord);
|
|
574
|
-
export const GetStatisticsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
575
|
-
records: GetStatisticsResponseRecordsList,
|
|
576
|
-
})).annotate({ identifier: "GetStatisticsResponse" });
|
|
577
|
-
export const ListDistributionsRequestSortBy = S.String;
|
|
578
|
-
export const ListDistributionsRequestSortOrder = S.String;
|
|
579
|
-
export const ListDistributionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
580
|
-
projectId: S.String.pipe(T.Label()),
|
|
581
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
582
|
-
withWafStatus: S.optional(S.Boolean.pipe(T.Query())),
|
|
583
|
-
pageIdentifier: S.optional(S.String.pipe(T.Query())),
|
|
584
|
-
sortBy: S.optional(ListDistributionsRequestSortBy.pipe(T.Query())),
|
|
585
|
-
sortOrder: S.optional(ListDistributionsRequestSortOrder.pipe(T.Query())),
|
|
586
|
-
}).pipe(T.Http({
|
|
587
|
-
method: "GET",
|
|
588
|
-
uri: "/v1/projects/{projectId}/distributions",
|
|
589
|
-
code: 200,
|
|
590
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
591
|
-
}))).annotate({ identifier: "ListDistributionsRequest" });
|
|
592
|
-
export const ListDistributionsResponseDistributionsList = /*@__PURE__*/ S.Array(Distribution);
|
|
593
|
-
export const ListDistributionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
594
|
-
distributions: ListDistributionsResponseDistributionsList,
|
|
595
|
-
nextPageIdentifier: S.optional(S.String),
|
|
596
|
-
})).annotate({
|
|
597
|
-
identifier: "ListDistributionsResponse",
|
|
598
|
-
});
|
|
599
|
-
export const ListWafCollectionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
600
|
-
projectId: S.String.pipe(T.Label()),
|
|
601
|
-
}).pipe(T.Http({
|
|
602
|
-
method: "GET",
|
|
603
|
-
uri: "/v1/projects/{projectId}/waf/collections",
|
|
604
|
-
code: 200,
|
|
605
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
606
|
-
}))).annotate({
|
|
607
|
-
identifier: "ListWafCollectionsRequest",
|
|
608
|
-
});
|
|
609
|
-
export const LocalizedString = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
610
|
-
export const WafRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
611
|
-
code: S.optional(S.String),
|
|
612
|
-
description: LocalizedString,
|
|
613
|
-
id: S.String,
|
|
614
|
-
})).annotate({ identifier: "WafRule" });
|
|
615
|
-
export const WafRuleGroupRulesList = /*@__PURE__*/ S.Array(WafRule);
|
|
616
|
-
export const WafRuleGroup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
617
|
-
description: LocalizedString,
|
|
618
|
-
name: LocalizedString,
|
|
619
|
-
rules: WafRuleGroupRulesList,
|
|
620
|
-
})).annotate({ identifier: "WafRuleGroup" });
|
|
621
|
-
export const WafRuleCollectionGroupsList = /*@__PURE__*/ S.Array(WafRuleGroup);
|
|
622
|
-
export const WafRuleCollection = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
623
|
-
groups: WafRuleCollectionGroupsList,
|
|
624
|
-
id: S.String,
|
|
625
|
-
name: LocalizedString,
|
|
626
|
-
})).annotate({ identifier: "WafRuleCollection" });
|
|
627
|
-
export const ListWafCollectionsResponseCollectionsList = /*@__PURE__*/ S.Array(WafRuleCollection);
|
|
628
|
-
export const ListWafCollectionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
629
|
-
collections: ListWafCollectionsResponseCollectionsList,
|
|
630
|
-
})).annotate({
|
|
631
|
-
identifier: "ListWafCollectionsResponse",
|
|
632
|
-
});
|
|
633
|
-
export const HttpBackendPatchGeofencingValueList = /*@__PURE__*/ S.Array(S.String);
|
|
634
|
-
export const HttpBackendPatchGeofencingMap = /*@__PURE__*/ S.Record(S.String, HttpBackendPatchGeofencingValueList);
|
|
635
|
-
export const HttpBackendPatchOriginRequestHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
636
|
-
export const HttpBackendPatchType = S.String;
|
|
637
|
-
export const HttpBackendPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
638
|
-
geofencing: S.optional(HttpBackendPatchGeofencingMap),
|
|
639
|
-
originRequestHeaders: S.optional(HttpBackendPatchOriginRequestHeadersMap),
|
|
640
|
-
originUrl: S.optional(S.String),
|
|
641
|
-
type: HttpBackendPatchType,
|
|
642
|
-
})).annotate({ identifier: "HttpBackendPatch" });
|
|
643
|
-
export const BucketBackendPatchType = S.String;
|
|
644
|
-
export const BucketBackendPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
645
|
-
bucketUrl: S.optional(S.String),
|
|
646
|
-
credentials: S.optional(BucketCredentials),
|
|
647
|
-
region: S.optional(S.String),
|
|
648
|
-
type: BucketBackendPatchType,
|
|
649
|
-
})).annotate({ identifier: "BucketBackendPatch" });
|
|
650
|
-
export const ConfigPatchBackend = /*@__PURE__*/ S.Unknown;
|
|
651
|
-
export const ConfigPatchBlockedCountriesList = /*@__PURE__*/ S.Array(S.String);
|
|
652
|
-
export const ConfigPatchBlockedIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
653
|
-
export const CacheConfigPatchCacheKeyHeadersList = /*@__PURE__*/ S.Array(S.String);
|
|
654
|
-
export const CacheConfigPatchQueryStringVaryParametersList = /*@__PURE__*/ S.Array(S.String);
|
|
655
|
-
export const CacheConfigPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
656
|
-
cacheKeyHeaders: S.optional(CacheConfigPatchCacheKeyHeadersList),
|
|
657
|
-
queryStringVaryEnabled: S.optional(S.Boolean),
|
|
658
|
-
queryStringVaryParameters: S.optional(CacheConfigPatchQueryStringVaryParametersList),
|
|
659
|
-
})).annotate({ identifier: "CacheConfigPatch" });
|
|
660
|
-
export const ConfigPatchLabelsMap = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
661
|
-
export const LokiLogSinkPatchType = S.String;
|
|
662
|
-
export const LokiLogSinkPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
663
|
-
credentials: S.optional(LokiLogSinkCredentials),
|
|
664
|
-
pushUrl: S.optional(S.String),
|
|
665
|
-
type: LokiLogSinkPatchType,
|
|
666
|
-
})).annotate({ identifier: "LokiLogSinkPatch" });
|
|
667
|
-
export const OtlpLogSinkPatchCredentials =
|
|
668
|
-
/*@__PURE__*/ S.Unknown;
|
|
669
|
-
export const OtlpLogSinkPatchType = S.String;
|
|
670
|
-
export const OtlpLogSinkPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
671
|
-
credentials: S.optional(OtlpLogSinkPatchCredentials),
|
|
672
|
-
pushUrl: S.optional(S.String),
|
|
673
|
-
type: OtlpLogSinkPatchType,
|
|
674
|
-
})).annotate({ identifier: "OtlpLogSinkPatch" });
|
|
675
|
-
export const ConfigPatchLogSink = /*@__PURE__*/ S.Unknown;
|
|
676
|
-
export const OptimizerPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
677
|
-
enabled: S.optional(S.Boolean),
|
|
678
|
-
})).annotate({ identifier: "OptimizerPatch" });
|
|
679
|
-
export const ConfigPatchRegionsList = /*@__PURE__*/ S.Array(Region);
|
|
680
|
-
export const TlsConfigPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
681
|
-
enableTls10: S.optional(S.Boolean),
|
|
682
|
-
enableTls11: S.optional(S.Boolean),
|
|
683
|
-
})).annotate({ identifier: "TlsConfigPatch" });
|
|
684
|
-
export const WafConfigPatchAllowedHttpMethodsList = /*@__PURE__*/ S.Array(S.String);
|
|
685
|
-
export const WafConfigPatchAllowedHttpVersionsList = /*@__PURE__*/ S.Array(S.String);
|
|
686
|
-
export const WafConfigPatchAllowedRequestContentTypesList = /*@__PURE__*/ S.Array(S.String);
|
|
687
|
-
export const WafConfigPatchDisabledRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
688
|
-
export const WafConfigPatchDisabledRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
689
|
-
export const WafConfigPatchDisabledRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
690
|
-
export const WafConfigPatchEnabledRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
691
|
-
export const WafConfigPatchEnabledRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
692
|
-
export const WafConfigPatchEnabledRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
693
|
-
export const WafConfigPatchLogOnlyRuleCollectionIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
694
|
-
export const WafConfigPatchLogOnlyRuleGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
695
|
-
export const WafConfigPatchLogOnlyRuleIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
696
|
-
export const WafConfigPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
697
|
-
allowedHttpMethods: S.optional(WafConfigPatchAllowedHttpMethodsList),
|
|
698
|
-
allowedHttpVersions: S.optional(WafConfigPatchAllowedHttpVersionsList),
|
|
699
|
-
allowedRequestContentTypes: S.optional(WafConfigPatchAllowedRequestContentTypesList),
|
|
700
|
-
disabledRuleCollectionIds: S.optional(WafConfigPatchDisabledRuleCollectionIdsList),
|
|
701
|
-
disabledRuleGroupIds: S.optional(WafConfigPatchDisabledRuleGroupIdsList),
|
|
702
|
-
disabledRuleIds: S.optional(WafConfigPatchDisabledRuleIdsList),
|
|
703
|
-
enabledRuleCollectionIds: S.optional(WafConfigPatchEnabledRuleCollectionIdsList),
|
|
704
|
-
enabledRuleGroupIds: S.optional(WafConfigPatchEnabledRuleGroupIdsList),
|
|
705
|
-
enabledRuleIds: S.optional(WafConfigPatchEnabledRuleIdsList),
|
|
706
|
-
logOnlyRuleCollectionIds: S.optional(WafConfigPatchLogOnlyRuleCollectionIdsList),
|
|
707
|
-
logOnlyRuleGroupIds: S.optional(WafConfigPatchLogOnlyRuleGroupIdsList),
|
|
708
|
-
logOnlyRuleIds: S.optional(WafConfigPatchLogOnlyRuleIdsList),
|
|
709
|
-
mode: S.optional(WafMode),
|
|
710
|
-
paranoiaLevel: S.optional(WafParanoiaLevel),
|
|
711
|
-
type: S.optional(WafType),
|
|
712
|
-
})).annotate({ identifier: "WafConfigPatch" });
|
|
713
|
-
export const ConfigPatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
714
|
-
backend: S.optional(ConfigPatchBackend),
|
|
715
|
-
blockedCountries: S.optional(ConfigPatchBlockedCountriesList),
|
|
716
|
-
blockedIps: S.optional(ConfigPatchBlockedIpsList),
|
|
717
|
-
cacheConfig: S.optional(CacheConfigPatch),
|
|
718
|
-
defaultCacheDuration: S.optional(S.NullOr(S.String)),
|
|
719
|
-
forwardHostHeader: S.optional(S.Boolean),
|
|
720
|
-
labels: S.optional(ConfigPatchLabelsMap),
|
|
721
|
-
logSink: S.optional(S.NullOr(ConfigPatchLogSink)),
|
|
722
|
-
monthlyLimitBytes: S.optional(S.NullOr(S.Number)),
|
|
723
|
-
optimizer: S.optional(OptimizerPatch),
|
|
724
|
-
redirects: S.optional(RedirectConfig),
|
|
725
|
-
regions: S.optional(ConfigPatchRegionsList),
|
|
726
|
-
stripResponseCookies: S.optional(S.Boolean),
|
|
727
|
-
tls: S.optional(TlsConfigPatch),
|
|
728
|
-
waf: S.optional(WafConfigPatch),
|
|
729
|
-
})).annotate({ identifier: "ConfigPatch" });
|
|
730
|
-
export const PatchDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
731
|
-
projectId: S.String.pipe(T.Label()),
|
|
732
|
-
distributionId: S.String.pipe(T.Label()),
|
|
733
|
-
config: S.optional(ConfigPatch),
|
|
734
|
-
intentId: S.optional(S.String),
|
|
735
|
-
}).pipe(T.Http({
|
|
736
|
-
method: "PATCH",
|
|
737
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}",
|
|
738
|
-
code: 200,
|
|
739
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
740
|
-
}))).annotate({ identifier: "PatchDistributionRequest" });
|
|
741
|
-
export const PatchDistributionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
742
|
-
distribution: Distribution,
|
|
743
|
-
})).annotate({
|
|
744
|
-
identifier: "PatchDistributionResponse",
|
|
745
|
-
});
|
|
746
|
-
export const PurgeCacheRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
747
|
-
projectId: S.String.pipe(T.Label()),
|
|
748
|
-
distributionId: S.String.pipe(T.Label()),
|
|
749
|
-
path: S.optional(S.String),
|
|
750
|
-
}).pipe(T.Http({
|
|
751
|
-
method: "POST",
|
|
752
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/cache/purge",
|
|
753
|
-
code: 200,
|
|
754
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
755
|
-
}))).annotate({ identifier: "PurgeCacheRequest" });
|
|
756
|
-
export const PurgeCacheResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "PurgeCacheResponse2" });
|
|
757
|
-
export const PutCustomDomainManagedCertificate = GetCustomDomainManagedCertificate;
|
|
758
|
-
export const PutCustomDomainCustomCertificate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
759
|
-
certificate: S.String,
|
|
760
|
-
key: S.String,
|
|
761
|
-
skipDnsCheck: S.optional(S.Boolean),
|
|
762
|
-
type: S.String,
|
|
763
|
-
})).annotate({
|
|
764
|
-
identifier: "PutCustomDomainCustomCertificate",
|
|
765
|
-
});
|
|
766
|
-
export const PutCustomDomainRequestCertificate =
|
|
767
|
-
/*@__PURE__*/ S.Unknown;
|
|
768
|
-
export const PutCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
769
|
-
projectId: S.String.pipe(T.Label()),
|
|
770
|
-
distributionId: S.String.pipe(T.Label()),
|
|
771
|
-
domain: S.String.pipe(T.Label()),
|
|
772
|
-
certificate: S.optional(PutCustomDomainRequestCertificate),
|
|
773
|
-
intentId: S.optional(S.String),
|
|
774
|
-
}).pipe(T.Http({
|
|
775
|
-
method: "PUT",
|
|
776
|
-
uri: "/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}",
|
|
777
|
-
code: 200,
|
|
778
|
-
baseUrl: "https://cdn.api.stackit.cloud",
|
|
779
|
-
}))).annotate({ identifier: "PutCustomDomainRequest" });
|
|
780
|
-
export const PutCustomDomainResponseCertificate =
|
|
781
|
-
/*@__PURE__*/ S.Unknown;
|
|
782
|
-
export const PutCustomDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
783
|
-
certificate: S.optional(PutCustomDomainResponseCertificate),
|
|
784
|
-
customDomain: CustomDomain,
|
|
785
|
-
})).annotate({ identifier: "PutCustomDomainResponse" });
|
|
786
|
-
/** Create new distribution CreateDistribution will create a new CDN distribution */
|
|
787
|
-
export const createDistribution = /*@__PURE__*/ API.make(() => ({
|
|
788
|
-
input: CreateDistributionRequest,
|
|
789
|
-
output: CreateDistributionResponse,
|
|
790
|
-
errors: [BadRequest, UnprocessableEntity, UnknownStackitError],
|
|
791
|
-
protocol: StackitProtocol,
|
|
792
|
-
retry: Retry.Retry,
|
|
793
|
-
}));
|
|
794
|
-
/** Delete a custom domain Removes a custom domain */
|
|
795
|
-
export const deleteCustomDomain = /*@__PURE__*/ API.make(() => ({
|
|
796
|
-
input: DeleteCustomDomainRequest,
|
|
797
|
-
output: DeleteCustomDomainResponse,
|
|
798
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
799
|
-
protocol: StackitProtocol,
|
|
800
|
-
retry: Retry.Retry,
|
|
801
|
-
}));
|
|
802
|
-
/** Delete distribution DeleteDistribution accepts a project- and distribution-Id and will delete a distribution. */
|
|
803
|
-
export const deleteDistribution = /*@__PURE__*/ API.make(() => ({
|
|
804
|
-
input: DeleteDistributionRequest,
|
|
805
|
-
output: DeleteDistributionResponse,
|
|
806
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
807
|
-
protocol: StackitProtocol,
|
|
808
|
-
retry: Retry.Retry,
|
|
809
|
-
}));
|
|
810
|
-
/** Return Paths that were purged This returns paths that are present in the cache purging history. Only substrings of the provided input are returned. The response is sorted in descending order by the most recent purge. So, assuming you have have the following purged for a distribution - `/test/1` at `2025-01-01` - `/test/2` at `2025-01-02` - `/someOtherPath/1` at `2025-01-03` - `/test/1` at `2025-01-04` - `/test/3` at `2025-01-05`, this would return the following paths, in the following order, assuming `/te` was the search parameter: - `/test/3` - `/test/1` - `/test/2` */
|
|
811
|
-
export const findCachePaths = /*@__PURE__*/ API.make(() => ({
|
|
812
|
-
input: FindCachePathsRequest,
|
|
813
|
-
output: FindCachePathsResponse,
|
|
814
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
815
|
-
protocol: StackitProtocol,
|
|
816
|
-
retry: Retry.Retry,
|
|
817
|
-
}));
|
|
818
|
-
/** Get Infos about the Caching State Return caching info metadata, which contains the last cache purging time and a history of the most recent *full* purges. If (and only if) you provide the path query parameter, the history will also contain granular cache purges. The request will not fail if no data about a path is found. */
|
|
819
|
-
export const getCacheInfo = /*@__PURE__*/ API.make(() => ({
|
|
820
|
-
input: GetCacheInfoRequest,
|
|
821
|
-
output: GetCacheInfoResponse,
|
|
822
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
823
|
-
protocol: StackitProtocol,
|
|
824
|
-
retry: Retry.Retry,
|
|
825
|
-
}));
|
|
826
|
-
/** Retrieve a specific custom domain Returns a 200 and the custom domain if this custom domain was associated to this distribution, else 404 */
|
|
827
|
-
export const getCustomDomain = /*@__PURE__*/ API.make(() => ({
|
|
828
|
-
input: GetCustomDomainRequest,
|
|
829
|
-
output: GetCustomDomainResponse,
|
|
830
|
-
errors: [NotFound, UnprocessableEntity, UnknownStackitError],
|
|
831
|
-
protocol: StackitProtocol,
|
|
832
|
-
retry: Retry.Retry,
|
|
833
|
-
}));
|
|
834
|
-
/** Get distribution by Id This returns a specific distribution by its Id. If no distribution with the given Id exists the endpoint returns 404. Trying to get a deleted distributions also return 404. */
|
|
835
|
-
export const getDistribution = /*@__PURE__*/ API.make(() => ({
|
|
836
|
-
input: GetDistributionRequest,
|
|
837
|
-
output: GetDistributionResponse,
|
|
838
|
-
errors: [NotFound, UnprocessableEntity, UnknownStackitError],
|
|
839
|
-
protocol: StackitProtocol,
|
|
840
|
-
retry: Retry.Retry,
|
|
841
|
-
}));
|
|
842
|
-
/** Retrieve distribution logs */
|
|
843
|
-
export const getLogs = /*@__PURE__*/ API.make(() => ({
|
|
844
|
-
input: GetLogsRequest,
|
|
845
|
-
output: GetLogsResponse,
|
|
846
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
847
|
-
protocol: StackitProtocol,
|
|
848
|
-
retry: Retry.Retry,
|
|
849
|
-
}));
|
|
850
|
-
/** Get relevant search filters for this distribution based on user input. */
|
|
851
|
-
export const getLogsSearchFilters = /*@__PURE__*/ API.make(() => ({
|
|
852
|
-
input: GetLogsSearchFiltersRequest,
|
|
853
|
-
output: GetLogsSearchFiltersResponse,
|
|
854
|
-
errors: [BadRequest, UnprocessableEntity, UnknownStackitError],
|
|
855
|
-
protocol: StackitProtocol,
|
|
856
|
-
retry: Retry.Retry,
|
|
857
|
-
}));
|
|
858
|
-
/** Retrieve the statistics of a distribution Returns the statistics of the distribution in the given time range. The response is a list of statistics records. Each record aggregates the statistics for its time interval. In case no statistics for a time interval exist, no record is returned. The time range for which statistics should be returned can be configured using query parameters. Timestamps are assumed to be UTC. This is especially important for the "buckets" when you, for example, return daily information. A day always starts and ends at 00:00Z. **Important Note:** Lower bounds are inclusive, upper bounds are exclusive. If you, for example, want a daily grouped which starts on the 1st Jan and also contains the full 10th Jan day, you would define `2025-01-01T00:00:00Z` as the lower and `2025-01-11T00:00:00Z` as the upper bound. The upper bound is optional. If you omit it, the API will use the start of the next interval as the upper bound. Example: if `interval` is `hourly`, `from` would default to the start of the next hour, if it's `daily`, `from` would default to the start of the next day, etc. */
|
|
859
|
-
export const getStatistics = /*@__PURE__*/ API.make(() => ({
|
|
860
|
-
input: GetStatisticsRequest,
|
|
861
|
-
output: GetStatisticsResponse,
|
|
862
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
863
|
-
protocol: StackitProtocol,
|
|
864
|
-
retry: Retry.Retry,
|
|
865
|
-
}));
|
|
866
|
-
/** List all distributions belonging to a specific project ListDistributions returns a list of all CDN distributions associated with a given project, ordered by their distribution Id. */
|
|
867
|
-
export const listDistributions = /*@__PURE__*/ API.make(() => ({
|
|
868
|
-
input: ListDistributionsRequest,
|
|
869
|
-
output: ListDistributionsResponse,
|
|
870
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
871
|
-
protocol: StackitProtocol,
|
|
872
|
-
retry: Retry.Retry,
|
|
873
|
-
}));
|
|
874
|
-
/** List all WAF rule collections of the project Returns all WAF rule collections available to the project */
|
|
875
|
-
export const listWafCollections = /*@__PURE__*/ API.make(() => ({
|
|
876
|
-
input: ListWafCollectionsRequest,
|
|
877
|
-
output: ListWafCollectionsResponse,
|
|
878
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
879
|
-
protocol: StackitProtocol,
|
|
880
|
-
retry: Retry.Retry,
|
|
881
|
-
}));
|
|
882
|
-
/** Update existing distribution Modify a CDN distribution with a partial update. Only the fields specified in the request will be modified. */
|
|
883
|
-
export const patchDistribution = /*@__PURE__*/ API.make(() => ({
|
|
884
|
-
input: PatchDistributionRequest,
|
|
885
|
-
output: PatchDistributionResponse,
|
|
886
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
887
|
-
protocol: StackitProtocol,
|
|
888
|
-
retry: Retry.Retry,
|
|
889
|
-
}));
|
|
890
|
-
/** Clear distribution cache Clear the cache for this distribution. All content, regardless of its staleness, will get refetched from the host. */
|
|
891
|
-
export const purgeCache = /*@__PURE__*/ API.make(() => ({
|
|
892
|
-
input: PurgeCacheRequest,
|
|
893
|
-
output: PurgeCacheResponse2,
|
|
894
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
895
|
-
protocol: StackitProtocol,
|
|
896
|
-
retry: Retry.Retry,
|
|
897
|
-
}));
|
|
898
|
-
/** Create or update a custom domain Creates a new custom domain. If it already exists, this will overwrite the previous custom domain's properties. */
|
|
899
|
-
export const putCustomDomain = /*@__PURE__*/ API.make(() => ({
|
|
900
|
-
input: PutCustomDomainRequest,
|
|
901
|
-
output: PutCustomDomainResponse,
|
|
902
|
-
errors: [UnprocessableEntity, UnknownStackitError],
|
|
903
|
-
protocol: StackitProtocol,
|
|
904
|
-
retry: Retry.Retry,
|
|
905
|
-
}));
|
|
1
|
+
import{_ as e,a as t,c as n,d as r,errors$UnknownStackitError as i,f as a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,protocol$StackitProtocol as m,r as h,retry$Retry as g,s as _,t as v,traits$Http as y,traits$Label as b,traits$Query as x,traits$RawResponseRoot as S,traits$applyErrorMatchers as C,u as w,v as T,x as E}from"../_bundle/sdk.js";const D=/*@__PURE__*/ s(function BadRequest(t){return e(t,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[w,E,c,f,n,C]])});const O=/*@__PURE__*/ s(function NotFound(t){return e(t,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[w,E,c,f,n,C]])});const k=/*@__PURE__*/ s(function UnprocessableEntity(t){return e(t,new.target,[`$5($4()("UnprocessableEntity",{code:$2,message:$3}).pipe($1),[{status:422}])`,[w,E,c,f,n,C]])});const A=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#14:0,errors:[$15,$16,$17],protocol:$18,retry:$19};$13(>2)@"CreateDistributionRequest";$12({projectId:$3.pipe($2()),backend:$4,blockedCountries:$6(#5:0),blockedIps:$6(#5:0),cacheConfig:$6(#7:0),defaultCacheDuration:$6($3),forwardHostHeader:$6($8),intentId:$6($3),labels:$6(#9:0),logSink:$6($4),monthlyLimitBytes:$6($10),optimizer:$6(#11:0),redirects:$6(#11:5),regions:#5:1,stripResponseCookies:$6($8),tls:$6(#11:6),waf:$6(#11:7)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/distributions",code:200,baseUrl:"https://cdn.api.stackit.cloud"}))`,[w,y,b,f,l,__d3,r,__d0,d,__d2,c,__d4,_,a,__d5,D,k,i,m,g]]:u(A,e));const j=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$8(>3)@"DeleteCustomDomainRequest";$8(>4)@"DeleteCustomDomainResponse";$7({projectId:$4.pipe($3()),distributionId:$4.pipe($3()),domain:$4.pipe($3()),intentId:$6($4.pipe($5()))}).pipe($2({method:"DELETE",uri:~1:1,code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$7({customDomain:$6(#1:0)})`,[w,__d6,y,b,f,x,r,_,a,k,i,m,g]]:u(j,e));const M=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$7(>3)@"DeleteDistributionRequest";$7(>4)@"DeleteDistributionResponse";$6({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),intentId:$5($3.pipe($4()))}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/distributions/{distributionId}",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$6({distribution:$5(#8:15)})`,[w,y,b,f,x,r,_,a,__d4,k,i,m,g]]:u(M,e));const N=/*@__PURE__*/ T(e=>e===p?o(`FindCachePathsResponse`,`{input:#1,output:#4,errors:[$8,$9],protocol:$10,retry:$11};$6(>5)@"FindCachePathsRequest";$6(>6)@"%Entry";$7(#2);$6(>7)@"%";$5({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),path:$3.pipe($4())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/distributions/{distributionId}/cache/paths",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$5({path:$3});$5({response:#3})`,[w,y,b,f,x,_,a,v,k,i,m,g]):u(N,e));const P=/*@__PURE__*/ T(e=>e===p?o(`GetCacheInfoResponse`,`{input:#1,output:#4,errors:[$10,$11],protocol:$12,retry:$13};$7(>5)@"GetCacheInfoRequest";$7(>6)@"%HistoryEntry";$8(#2);$7(>7)@"%";$6({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),purgePath:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/distributions/{distributionId}/cache",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$6({occurredAt:$3,type:$3});$6({history:#3,lastPurgeTime:$9($3)})`,[w,y,b,f,x,r,_,a,v,h,k,i,m,g]):u(P,e));const F=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>3)@"GetCustomDomainRequest";$6(>4)@"GetCustomDomainResponse";$5({projectId:$4.pipe($3()),distributionId:$4.pipe($3()),domain:$4.pipe($3())}).pipe($2({method:"GET",uri:~1:1,code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$5({certificate:$7,customDomain:#1:0})`,[w,__d6,y,b,f,_,a,l,O,k,i,m,g]]:u(F,e));const I=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"GetDistributionRequest";$7({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),withWafStatus:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/distributions/{distributionId}",code:200,baseUrl:"https://cdn.api.stackit.cloud"}))`,[w,y,b,f,x,d,r,_,a,__d5,O,k,i,m,g]]:u(I,e));const L=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#5,errors:[$12,$13],protocol:$14,retry:$15};$9(>6)@"GetLogsRequest";$9(>7)@"WAFViolation";$9(>8)@"DistributionLogsRecord";$11(#3);$9(>9)@"GetLogsResponse";$8({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),from:$5($3.pipe($4())),to:$5($3.pipe($4())),pageSize:$5($6.pipe($4())),pageIdentifier:$5($3.pipe($4())),sortBy:$5($3.pipe($4())),sortOrder:$5($3.pipe($4())),wafAction:$5($3.pipe($4())),dataCenterRegion:$5($3.pipe($4())),requestCountryCode:$5($3.pipe($4())),statusCode:$5($6.pipe($4())),cacheHit:$5($7.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/distributions/{distributionId}/logs",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$8({action:$3,asn:$3,message:$3,method:$3,requestHeaders:#10:0,ruleId:$3});$8({cacheHit:$7,dataCenterRegion:$3,distributionId:$3,host:$3,path:$3,requestCountryCode:$3,size:$6,statusCode:$6,timestamp:$3,wafViolation:$5(#2)});$8({logs:#4,nextPageIdentifier:$5($3)})`,[w,y,b,f,x,r,c,d,_,a,__d2,v,k,i,m,g]]:u(L,e));const R=/*@__PURE__*/ T(e=>e===p?o(`GetLogsSearchFiltersResponse`,`{input:#1,output:#6,errors:[$11,$12,$13],protocol:$14,retry:$15};$7(>7)@"GetLogsSearchFiltersRequest";$7(>8)@"%DatacenterBlockItem";$8(#2);$7(>9)@"%DatacenterBlock";$8($9);$7(>10)@"%";$6({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),filter:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/distributions/{distributionId}/logs/searchFilters",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$6({displayName:$3,id:$3});$6({AF:#3,ASIA:#3,EU:#3,NA:#3,SA:#3});$6({cache:#10:1,dataCenter:#4,remoteCountry:#10:0,status:#5})`,[w,y,b,f,x,r,_,a,v,c,__d3,D,k,i,m,g]):u(R,e));const z=/*@__PURE__*/ T(e=>e===p?o(`DistributionStatisticsRecord`,`{input:#1,output:#6,errors:[$10,$11],protocol:$12,retry:$13};$7(>7)@"GetStatisticsRequest";$7(>8)@"%Entry";$7(>9)@"%Regions";$7(>10)@"%";$9(#4);$7(>11)@"GetStatisticsResponse";$6({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),from:$3.pipe($4()),to:$5($3.pipe($4())),interval:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/distributions/{distributionId}/statistics",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$6({cachedRequests:$8,totalRequests:$8,totalTrafficBytes:$8});$6({AF:#2,ASIA:#2,EU:#2,SA:#2,US:#2});$6({cachedRequests:$8,totalRequests:$8,totalTrafficBytes:$8,end:$3,regions:#3,start:$3});$6({records:#5})`,[w,y,b,f,x,r,_,a,c,v,k,i,m,g]):u(z,e));const B=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$12,$13],protocol:$14,retry:$15};$9(>4)@"ListDistributionsRequest";$11(#10:15);$9(>5)@"ListDistributionsResponse";$8({projectId:$3.pipe($2()),pageSize:$6($5.pipe($4())),withWafStatus:$6($7.pipe($4())),pageIdentifier:$6($3.pipe($4())),sortBy:$6($3.pipe($4())),sortOrder:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/distributions",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$8({distributions:#2,nextPageIdentifier:$6($3)})`,[w,y,b,f,x,c,r,d,_,a,__d4,v,k,i,m,g]]:u(B,e));const V=/*@__PURE__*/ T(e=>e===p?o(`WafRule`,`{input:#1,output:#8,errors:[$9,$10],protocol:$11,retry:$12};$5(>9)@"ListWafCollectionsRequest";$5(>10)@"%";$8(#2);$5(>11)@"%Group";$8(#4);$5(>12)@"%Collection";$8(#6);$5(>13)@"ListWafCollectionsResponse";$4({projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/waf/collections",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$4({code:$6($3),description:#7:0,id:$3});$4({description:#7:0,name:#7:0,rules:#3});$4({groups:#5,id:$3,name:#7:0});$4({collections:#7})`,[w,y,b,f,_,a,r,__d2,v,k,i,m,g]):u(V,e));const H=/*@__PURE__*/ T(e=>e===p?o(`ConfigPatch`,`{input:#6,output:#15:0,errors:[$16,$17],protocol:$18,retry:$19};$3($1,$2($1));$7(>7)@"OptimizerPatch";$7(>8)@"Tls%";$7(>9)@"Waf%";$7(>10)@"%";$7(>11)@"PatchDistributionRequest";$6({enabled:$5($4)});$6({enableTls10:$5($4),enableTls11:$5($4)});$6({allowedHttpMethods:$5(#8:0),allowedHttpVersions:$5(#8:0),allowedRequestContentTypes:$5(#8:0),disabledRuleCollectionIds:$5(#8:0),disabledRuleGroupIds:$5(#8:0),disabledRuleIds:$5(#8:0),enabledRuleCollectionIds:$5(#8:0),enabledRuleGroupIds:$5(#8:0),enabledRuleIds:$5(#8:0),logOnlyRuleCollectionIds:$5(#8:0),logOnlyRuleGroupIds:$5(#8:0),logOnlyRuleIds:$5(#8:0),mode:$5($1),paranoiaLevel:$5($1),type:$5($1)});$6({backend:$5($9),blockedCountries:$5(#8:0),blockedIps:$5(#8:0),cacheConfig:$5(#10:0),defaultCacheDuration:$5($2($1)),forwardHostHeader:$5($4),labels:$5(#1),logSink:$5($2($9)),monthlyLimitBytes:$5($2($11)),optimizer:$5(#2),redirects:$5(#12:5),regions:$5(#8:1),stripResponseCookies:$5($4),tls:$5(#3),waf:$5(#4)});$6({projectId:$1.pipe($14()),distributionId:$1.pipe($14()),config:$5(#5),intentId:$5($1)}).pipe($13({method:"PATCH",uri:"/v1/projects/{projectId}/distributions/{distributionId}",code:200,baseUrl:"https://cdn.api.stackit.cloud"}))`,[w,f,h,t,d,r,_,a,__d3,l,__d0,c,__d4,y,b,__d5,k,i,m,g]):u(H,e));const U=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$6(>3)@"PurgeCacheRequest";$6(>4)@"PurgeCacheResponse2";$5({projectId:$3.pipe($2()),distributionId:$3.pipe($2()),path:$4($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/distributions/{distributionId}/cache/purge",code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$8.pipe($7())`,[w,y,b,f,r,_,a,S,l,k,i,m,g]]:u(U,e));const W=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12};$8(>3)@"PutCustomDomainRequest";$8(>4)@"PutCustomDomainResponse";$7({projectId:$4.pipe($3()),distributionId:$4.pipe($3()),domain:$4.pipe($3()),certificate:$6($5),intentId:$6($4)}).pipe($2({method:"PUT",uri:~1:1,code:200,baseUrl:"https://cdn.api.stackit.cloud"}));$7({certificate:$6($5),customDomain:#1:0})`,[w,__d6,y,b,f,l,r,_,a,k,i,m,g]]:u(W,e));function __d0(){return[`$5(>1)@"CacheConfigCreate";$4({cacheKeyHeaders:$2(#1:0),queryStringVaryEnabled:$2($3),queryStringVaryParameters:$2(#1:0)})`,[w,__d3,r,d,_,a]]}function __d1(){return[`$4(>2)@"StatusError";$5(#0);$3({de:$2($1),en:$1,key:$1})`,[w,f,r,_,a,v]]}function __d2(){return[`$2($1,$1)`,[w,f,t]]}function __d3(){return[`$2($1);$2($1)`,[w,f,v]]}function __d4(){return[`$3(>16)@"Optimizer";$3(>17)@"Matcher";$7(#1);$3(>18)@"RedirectRule";$7(#3);$3(>19)@"RedirectConfig";$3(>20)@"TlsConfig";$3(>21)@"WafConfig";$3(>22)@"CacheConfig";$3(>23)@"Config";$3(>24)@"Domain";$7(#10);$3(>25)@"WafStatusRuleBlock";$7(#12);$3(>26)@"DistributionWaf";$3(>27)@"Distribution";$2({enabled:$1});$2({valueMatchCondition:$5($4),values:#6:0});$2({description:$5($4),enabled:$5($1),matchers:#2,ruleMatchCondition:$5($4),statusCode:$8,targetUrl:$4});$2({rules:$5(#4)});$2({enableTls10:$1,enableTls11:$1});$2({allowedHttpMethods:$5(#6:0),allowedHttpVersions:$5(#6:0),allowedRequestContentTypes:$5(#6:0),disabledRuleCollectionIds:$5(#6:0),disabledRuleGroupIds:$5(#6:0),disabledRuleIds:$5(#6:0),enabledRuleCollectionIds:$5(#6:0),enabledRuleGroupIds:$5(#6:0),enabledRuleIds:#6:0,logOnlyRuleCollectionIds:$5(#6:0),logOnlyRuleGroupIds:$5(#6:0),logOnlyRuleIds:$5(#6:0),mode:$4,paranoiaLevel:$5($4),type:$4});$2({cacheKeyHeaders:#6:0,queryStringVaryEnabled:$1,queryStringVaryParameters:#6:0});$2({backend:$9,blockedCountries:#6:0,blockedIps:#6:0,cacheConfig:#8,defaultCacheDuration:$5($10($4)),forwardHostHeader:$1,labels:$5(#11:0),logSink:$5($9),monthlyLimitBytes:$5($10($8)),optimizer:$5(#0),redirects:$5(#5),regions:#6:1,stripResponseCookies:$1,tls:#6,waf:#7});$2({certificateType:$4,errors:$5(#12:1),name:$4,status:$4,type:$4});$2({id:$4,reason:$9});$2({disabledRules:#13,enabledRules:#13,logOnlyRules:#13});$2({config:#9,createdAt:$4,domains:#11,errors:$5(#12:1),id:$4,projectId:$4,status:$4,updatedAt:$4,waf:$5(#14)})`,[w,d,_,a,f,r,__d3,v,c,l,h,__d2,__d1]]}function __d5(){return[`$3(>1)@"CreateDistributionResponse";$2({distribution:#1:15})`,[w,__d4,_,a]]}function __d6(){return[`$5(>2)@"CustomDomain";"/v1/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}";$4({errors:$2(#1:1),name:$3,status:$3})`,[w,__d1,r,f,_,a]]}export{D as BadRequest,O as NotFound,k as UnprocessableEntity,A as createDistribution,j as deleteCustomDomain,M as deleteDistribution,N as findCachePaths,P as getCacheInfo,F as getCustomDomain,I as getDistribution,L as getLogs,R as getLogsSearchFilters,z as getStatistics,B as listDistributions,V as listWafCollections,H as patchDistribution,U as purgeCache,W as putCustomDomain};
|
|
2
|
+
/*
|
|
3
|
+
27 25
|
|
4
|
+
e:0:_ t:0:a n:0:c r:0:d i:0:errors$UnknownStackitError a:0:f o:0:g s:0:h c:0:i l:0:l u:0:m d:0:n f:0:o p:0:p m:0:protocol$StackitProtocol h:0:r g:0:retry$Retry _:0:s v:0:t y:0:traits$Http b:0:traits$Label x:0:traits$Query S:0:traits$RawResponseRoot C:0:traits$applyErrorMatchers w:0:u T:0:v E:0:x
|
|
5
|
+
000000001v000390004n0006k0008j0009y000bh000d1000fe000hl000j5000kq000mw000o9000pn000qh000rb000s5000t7000u8000v3000vy000xg000ye000zg
|
|
6
|
+
2 nt 15p A|=;o4 13v;o,j,k,c,9,1c,3,19,b,1b,8,1d,h,5,1e,16,18,4,e,g
|
|
7
|
+
2 16f 1hl j|=;16q 1gh;o,1f,j,k,c,l,3,h,5,18,4,e,g
|
|
8
|
+
2 1ib 1ue M|=;1im 1ta;o,j,k,c,l,3,h,5,1d,18,4,e,g
|
|
9
|
+
2 1v4 27p N|=FindCachePathsResponse;1w5 26q;o,j,k,c,l,h,5,i,18,4,e,g
|
|
10
|
+
2 28f 2ma P|=GetCacheInfoResponse;29e 2l7;o,j,k,c,l,3,h,5,i,f,18,4,e,g
|
|
11
|
+
2 2n0 2xk F|=;2nb 2wg;o,1f,j,k,c,h,5,9,17,18,4,e,g
|
|
12
|
+
2 2ya 38u I|=;2yl 37m;o,j,k,c,l,b,3,h,5,1e,17,18,4,e,g
|
|
13
|
+
2 39k 41h L|=;39v 407;o,j,k,c,l,3,8,b,h,5,1b,i,18,4,e,g
|
|
14
|
+
2 427 4jx R|=GetLogsSearchFiltersResponse;43e 4in;o,j,k,c,l,3,h,5,i,8,1c,16,18,4,e,g
|
|
15
|
+
2 4kn 553 z|=DistributionStatisticsRecord;4lu 540;o,j,k,c,l,3,h,5,8,i,18,4,e,g
|
|
16
|
+
2 55t 5ku B|=;564 5jk;o,j,k,c,l,8,3,b,h,5,1d,i,18,4,e,g
|
|
17
|
+
2 5lk 60w V|=WafRule;5m6 5zs;o,j,k,c,h,5,3,1b,i,18,4,e,g
|
|
18
|
+
2 61m 717 H|=ConfigPatch;62c 6zg;o,c,f,1,b,3,h,5,1c,9,19,8,1d,j,k,1e,18,4,e,g
|
|
19
|
+
2 71x 7cy U|=;728 7bx;o,j,k,c,3,h,5,m,9,18,4,e,g
|
|
20
|
+
2 7do 7p8 W|=;7dz 7o4;o,1f,j,k,c,9,3,h,5,18,4,e,g
|
|
21
|
+
3 a9 dx D|=;bk df;o,q,8,c,2,n
|
|
22
|
+
3 en i7 O|=;fw hp;o,q,8,c,2,n
|
|
23
|
+
3 ix n3 k|=;kh ml;o,q,8,c,2,n
|
|
24
|
+
1 7pa 7tw __d0|=;7py 7tc;o,1c,3,b,h,5
|
|
25
|
+
1 7tw 7wl __d1|=;7uk 7w4;o,c,3,h,5,i
|
|
26
|
+
1 7wl 7xt __d2|=;7x9 7xi;o,c,1
|
|
27
|
+
1 7xt 7z5 __d3|=;7yh 7yu;o,c,i
|
|
28
|
+
1 7z5 977 __d4|=;7zt 963;o,b,h,5,c,3,1c,i,8,9,f,1b,1a
|
|
29
|
+
1 977 99z __d5|=;97v 99j;o,1d,h,5
|
|
30
|
+
1 99z 9f5 __d6|=;9an 9el;o,1a,3,c,h,5
|
|
31
|
+
*/
|
|
906
32
|
//# sourceMappingURL=cdn.js.map
|