@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/src/services/dns.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
11
|
-
import { paginateByTotalPages } from "../pagination.ts";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
12
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { paginateByTotalPages } from "../pagination.ts";
|
|
7
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
13
8
|
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
14
10
|
|
|
15
11
|
export type { StackitOpError, StackitOpContext };
|
|
16
12
|
|
|
@@ -80,15 +76,10 @@ export const CloneZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
80
76
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
81
77
|
}),
|
|
82
78
|
),
|
|
83
|
-
).annotate({
|
|
84
|
-
identifier: "CloneZoneRequest",
|
|
85
|
-
}) as any as S.Schema<CloneZoneRequest>;
|
|
79
|
+
).annotate({ identifier: "CloneZoneRequest" }) as any as S.Schema<CloneZoneRequest>;
|
|
86
80
|
|
|
87
|
-
export type DomainObservabilityExtensionState =
|
|
88
|
-
|
|
89
|
-
| "CREATE_SUCCEEDED"
|
|
90
|
-
| "ERROR";
|
|
91
|
-
export const DomainObservabilityExtensionState = /*@__PURE__*/ S.String;
|
|
81
|
+
export type DomainObservabilityExtensionState = "CREATING" | "CREATE_SUCCEEDED" | "ERROR";
|
|
82
|
+
export const DomainObservabilityExtensionState = S.String;
|
|
92
83
|
|
|
93
84
|
export interface DomainObservabilityExtension {
|
|
94
85
|
observabilityInstanceId: string;
|
|
@@ -110,9 +101,7 @@ export const DomainExtensions = /*@__PURE__*/ S.suspend(() =>
|
|
|
110
101
|
S.Struct({
|
|
111
102
|
observabilityExtension: S.optional(DomainObservabilityExtension),
|
|
112
103
|
}),
|
|
113
|
-
).annotate({
|
|
114
|
-
identifier: "DomainExtensions",
|
|
115
|
-
}) as any as S.Schema<DomainExtensions>;
|
|
104
|
+
).annotate({ identifier: "DomainExtensions" }) as any as S.Schema<DomainExtensions>;
|
|
116
105
|
|
|
117
106
|
export interface Label {
|
|
118
107
|
key: string;
|
|
@@ -126,9 +115,14 @@ export const Label = /*@__PURE__*/ S.suspend(() =>
|
|
|
126
115
|
).annotate({ identifier: "Label" }) as any as S.Schema<Label>;
|
|
127
116
|
|
|
128
117
|
export type ZoneLabelsList = Array<Label>;
|
|
129
|
-
export const ZoneLabelsList = /*@__PURE__*/ S.Array(
|
|
130
|
-
|
|
131
|
-
|
|
118
|
+
export const ZoneLabelsList = /*@__PURE__*/ S.Array(Label) as any as S.Schema<ZoneLabelsList>;
|
|
119
|
+
|
|
120
|
+
/** labels for the zone */
|
|
121
|
+
export type ZoneLabelsMapMap = { [key: string]: string | undefined };
|
|
122
|
+
export const ZoneLabelsMapMap = /*@__PURE__*/ S.Record(
|
|
123
|
+
S.String,
|
|
124
|
+
S.String,
|
|
125
|
+
) as any as S.Schema<ZoneLabelsMapMap>;
|
|
132
126
|
|
|
133
127
|
/** primary name server for secondary zone */
|
|
134
128
|
export type ZonePrimariesList = Array<string>;
|
|
@@ -147,15 +141,15 @@ export type ZoneState =
|
|
|
147
141
|
| "UPDATING"
|
|
148
142
|
| "UPDATE_SUCCEEDED"
|
|
149
143
|
| "UPDATE_FAILED";
|
|
150
|
-
export const ZoneState =
|
|
144
|
+
export const ZoneState = S.String;
|
|
151
145
|
|
|
152
146
|
/** zone type */
|
|
153
147
|
export type ZoneType = "primary" | "secondary";
|
|
154
|
-
export const ZoneType =
|
|
148
|
+
export const ZoneType = S.String;
|
|
155
149
|
|
|
156
150
|
/** visibility of the zone */
|
|
157
151
|
export type ZoneVisibility = "public";
|
|
158
|
-
export const ZoneVisibility =
|
|
152
|
+
export const ZoneVisibility = S.String;
|
|
159
153
|
|
|
160
154
|
/** Zone. */
|
|
161
155
|
export interface Zone {
|
|
@@ -184,6 +178,8 @@ export interface Zone {
|
|
|
184
178
|
/** if the zone is a reverse zone or not */
|
|
185
179
|
isReverseZone?: boolean;
|
|
186
180
|
labels?: ZoneLabelsList;
|
|
181
|
+
/** labels for the zone */
|
|
182
|
+
labelsMap?: ZoneLabelsMapMap;
|
|
187
183
|
/** user given name */
|
|
188
184
|
name: string;
|
|
189
185
|
/** negative caching */
|
|
@@ -227,6 +223,7 @@ export const Zone = /*@__PURE__*/ S.suspend(() =>
|
|
|
227
223
|
id: S.String,
|
|
228
224
|
isReverseZone: S.optional(S.Boolean),
|
|
229
225
|
labels: S.optional(ZoneLabelsList),
|
|
226
|
+
labelsMap: S.optional(ZoneLabelsMapMap),
|
|
230
227
|
name: S.String,
|
|
231
228
|
negativeCache: S.Number,
|
|
232
229
|
primaries: S.optional(ZonePrimariesList),
|
|
@@ -255,46 +252,6 @@ export const ZoneResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
255
252
|
}),
|
|
256
253
|
).annotate({ identifier: "ZoneResponse" }) as any as S.Schema<ZoneResponse>;
|
|
257
254
|
|
|
258
|
-
export interface CreateLabelRequest {
|
|
259
|
-
/** project id */
|
|
260
|
-
projectId: string;
|
|
261
|
-
/** zone id */
|
|
262
|
-
zoneId: string;
|
|
263
|
-
key: string;
|
|
264
|
-
value?: string;
|
|
265
|
-
}
|
|
266
|
-
export const CreateLabelRequest = /*@__PURE__*/ S.suspend(() =>
|
|
267
|
-
S.Struct({
|
|
268
|
-
projectId: S.String.pipe(T.Label()),
|
|
269
|
-
zoneId: S.String.pipe(T.Label()),
|
|
270
|
-
key: S.String,
|
|
271
|
-
value: S.optional(S.String),
|
|
272
|
-
}).pipe(
|
|
273
|
-
T.Http({
|
|
274
|
-
method: "PUT",
|
|
275
|
-
uri: "/v1/projects/{projectId}/zones/{zoneId}/labels",
|
|
276
|
-
code: 200,
|
|
277
|
-
baseUrl: "https://dns.api.stackit.cloud",
|
|
278
|
-
}),
|
|
279
|
-
),
|
|
280
|
-
).annotate({
|
|
281
|
-
identifier: "CreateLabelRequest",
|
|
282
|
-
}) as any as S.Schema<CreateLabelRequest>;
|
|
283
|
-
|
|
284
|
-
/** ResponseUpsertLabel. */
|
|
285
|
-
export interface CreateLabelResponse {
|
|
286
|
-
label?: Label;
|
|
287
|
-
message?: string;
|
|
288
|
-
}
|
|
289
|
-
export const CreateLabelResponse = /*@__PURE__*/ S.suspend(() =>
|
|
290
|
-
S.Struct({
|
|
291
|
-
label: S.optional(Label),
|
|
292
|
-
message: S.optional(S.String),
|
|
293
|
-
}),
|
|
294
|
-
).annotate({
|
|
295
|
-
identifier: "CreateLabelResponse",
|
|
296
|
-
}) as any as S.Schema<CreateLabelResponse>;
|
|
297
|
-
|
|
298
255
|
export interface CreateMoveCodeRequest {
|
|
299
256
|
/** project id */
|
|
300
257
|
projectId: string;
|
|
@@ -316,9 +273,7 @@ export const CreateMoveCodeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
316
273
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
317
274
|
}),
|
|
318
275
|
),
|
|
319
|
-
).annotate({
|
|
320
|
-
identifier: "CreateMoveCodeRequest",
|
|
321
|
-
}) as any as S.Schema<CreateMoveCodeRequest>;
|
|
276
|
+
).annotate({ identifier: "CreateMoveCodeRequest" }) as any as S.Schema<CreateMoveCodeRequest>;
|
|
322
277
|
|
|
323
278
|
export interface MoveCodeResponse {
|
|
324
279
|
/** code to move the zone. It is one time shown so better keep it. */
|
|
@@ -334,9 +289,7 @@ export const MoveCodeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
334
289
|
expiresAt: S.String,
|
|
335
290
|
message: S.optional(S.String),
|
|
336
291
|
}),
|
|
337
|
-
).annotate({
|
|
338
|
-
identifier: "MoveCodeResponse",
|
|
339
|
-
}) as any as S.Schema<MoveCodeResponse>;
|
|
292
|
+
).annotate({ identifier: "MoveCodeResponse" }) as any as S.Schema<MoveCodeResponse>;
|
|
340
293
|
|
|
341
294
|
/** RecordPost for rr set info. */
|
|
342
295
|
export interface RecordPayload {
|
|
@@ -382,7 +335,7 @@ export type CreateRecordSetRequestType =
|
|
|
382
335
|
| "CSYNC"
|
|
383
336
|
| "HINFO"
|
|
384
337
|
| "HTTPS";
|
|
385
|
-
export const CreateRecordSetRequestType =
|
|
338
|
+
export const CreateRecordSetRequestType = S.String;
|
|
386
339
|
|
|
387
340
|
export interface CreateRecordSetRequest {
|
|
388
341
|
/** project id */
|
|
@@ -417,9 +370,7 @@ export const CreateRecordSetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
417
370
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
418
371
|
}),
|
|
419
372
|
),
|
|
420
|
-
).annotate({
|
|
421
|
-
identifier: "CreateRecordSetRequest",
|
|
422
|
-
}) as any as S.Schema<CreateRecordSetRequest>;
|
|
373
|
+
).annotate({ identifier: "CreateRecordSetRequest" }) as any as S.Schema<CreateRecordSetRequest>;
|
|
423
374
|
|
|
424
375
|
/** Record. */
|
|
425
376
|
export interface Record {
|
|
@@ -452,7 +403,7 @@ export type RecordSetState =
|
|
|
452
403
|
| "UPDATING"
|
|
453
404
|
| "UPDATE_SUCCEEDED"
|
|
454
405
|
| "UPDATE_FAILED";
|
|
455
|
-
export const RecordSetState =
|
|
406
|
+
export const RecordSetState = S.String;
|
|
456
407
|
|
|
457
408
|
/** record set type */
|
|
458
409
|
export type RecordSetType =
|
|
@@ -481,7 +432,7 @@ export type RecordSetType =
|
|
|
481
432
|
| "CSYNC"
|
|
482
433
|
| "HINFO"
|
|
483
434
|
| "HTTPS";
|
|
484
|
-
export const RecordSetType =
|
|
435
|
+
export const RecordSetType = S.String;
|
|
485
436
|
|
|
486
437
|
/** RRSet. */
|
|
487
438
|
export interface RecordSet {
|
|
@@ -540,9 +491,7 @@ export const RecordSetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
540
491
|
message: S.optional(S.String),
|
|
541
492
|
rrset: RecordSet,
|
|
542
493
|
}),
|
|
543
|
-
).annotate({
|
|
544
|
-
identifier: "RecordSetResponse",
|
|
545
|
-
}) as any as S.Schema<RecordSetResponse>;
|
|
494
|
+
).annotate({ identifier: "RecordSetResponse" }) as any as S.Schema<RecordSetResponse>;
|
|
546
495
|
|
|
547
496
|
export interface ZoneObservabilityExtension {
|
|
548
497
|
observabilityInstanceId: string;
|
|
@@ -564,6 +513,13 @@ export const ZoneExtensions = /*@__PURE__*/ S.suspend(() =>
|
|
|
564
513
|
}),
|
|
565
514
|
).annotate({ identifier: "ZoneExtensions" }) as any as S.Schema<ZoneExtensions>;
|
|
566
515
|
|
|
516
|
+
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
517
|
+
export type CreateZoneRequestLabelsMapMap = { [key: string]: string | undefined };
|
|
518
|
+
export const CreateZoneRequestLabelsMapMap = /*@__PURE__*/ S.Record(
|
|
519
|
+
S.String,
|
|
520
|
+
S.String,
|
|
521
|
+
) as any as S.Schema<CreateZoneRequestLabelsMapMap>;
|
|
522
|
+
|
|
567
523
|
/** primary name server for secondary zone */
|
|
568
524
|
export type CreateZoneRequestPrimariesList = Array<string>;
|
|
569
525
|
export const CreateZoneRequestPrimariesList = /*@__PURE__*/ S.Array(
|
|
@@ -572,7 +528,7 @@ export const CreateZoneRequestPrimariesList = /*@__PURE__*/ S.Array(
|
|
|
572
528
|
|
|
573
529
|
/** zone type */
|
|
574
530
|
export type CreateZoneRequestType = "primary" | "secondary";
|
|
575
|
-
export const CreateZoneRequestType =
|
|
531
|
+
export const CreateZoneRequestType = S.String;
|
|
576
532
|
|
|
577
533
|
export interface CreateZoneRequest {
|
|
578
534
|
/** project id */
|
|
@@ -593,6 +549,8 @@ export interface CreateZoneRequest {
|
|
|
593
549
|
extensions?: ZoneExtensions;
|
|
594
550
|
/** if the zone is a reverse zone or not */
|
|
595
551
|
isReverseZone?: boolean;
|
|
552
|
+
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
553
|
+
labelsMap?: CreateZoneRequestLabelsMapMap;
|
|
596
554
|
/** user given name */
|
|
597
555
|
name: string;
|
|
598
556
|
/** negative caching */
|
|
@@ -617,6 +575,7 @@ export const CreateZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
617
575
|
expireTime: S.optional(S.Number),
|
|
618
576
|
extensions: S.optional(ZoneExtensions),
|
|
619
577
|
isReverseZone: S.optional(S.Boolean),
|
|
578
|
+
labelsMap: S.optional(CreateZoneRequestLabelsMapMap),
|
|
620
579
|
name: S.String,
|
|
621
580
|
negativeCache: S.optional(S.Number),
|
|
622
581
|
primaries: S.optional(CreateZoneRequestPrimariesList),
|
|
@@ -631,48 +590,7 @@ export const CreateZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
631
590
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
632
591
|
}),
|
|
633
592
|
),
|
|
634
|
-
).annotate({
|
|
635
|
-
identifier: "CreateZoneRequest",
|
|
636
|
-
}) as any as S.Schema<CreateZoneRequest>;
|
|
637
|
-
|
|
638
|
-
export interface DeleteLabelRequest {
|
|
639
|
-
/** project id */
|
|
640
|
-
projectId: string;
|
|
641
|
-
/** zone id */
|
|
642
|
-
zoneId: string;
|
|
643
|
-
/** key of the label */
|
|
644
|
-
key: string;
|
|
645
|
-
}
|
|
646
|
-
export const DeleteLabelRequest = /*@__PURE__*/ S.suspend(() =>
|
|
647
|
-
S.Struct({
|
|
648
|
-
projectId: S.String.pipe(T.Label()),
|
|
649
|
-
zoneId: S.String.pipe(T.Label()),
|
|
650
|
-
key: S.String.pipe(T.Label()),
|
|
651
|
-
}).pipe(
|
|
652
|
-
T.Http({
|
|
653
|
-
method: "DELETE",
|
|
654
|
-
uri: "/v1/projects/{projectId}/zones/{zoneId}/labels/{key}",
|
|
655
|
-
code: 200,
|
|
656
|
-
baseUrl: "https://dns.api.stackit.cloud",
|
|
657
|
-
}),
|
|
658
|
-
),
|
|
659
|
-
).annotate({
|
|
660
|
-
identifier: "DeleteLabelRequest",
|
|
661
|
-
}) as any as S.Schema<DeleteLabelRequest>;
|
|
662
|
-
|
|
663
|
-
/** ResponseDeleteLabel. */
|
|
664
|
-
export interface DeleteLabelResponse {
|
|
665
|
-
label?: Label;
|
|
666
|
-
message?: string;
|
|
667
|
-
}
|
|
668
|
-
export const DeleteLabelResponse = /*@__PURE__*/ S.suspend(() =>
|
|
669
|
-
S.Struct({
|
|
670
|
-
label: S.optional(Label),
|
|
671
|
-
message: S.optional(S.String),
|
|
672
|
-
}),
|
|
673
|
-
).annotate({
|
|
674
|
-
identifier: "DeleteLabelResponse",
|
|
675
|
-
}) as any as S.Schema<DeleteLabelResponse>;
|
|
593
|
+
).annotate({ identifier: "CreateZoneRequest" }) as any as S.Schema<CreateZoneRequest>;
|
|
676
594
|
|
|
677
595
|
export interface DeleteMoveCodeRequest {
|
|
678
596
|
/** project id */
|
|
@@ -692,9 +610,7 @@ export const DeleteMoveCodeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
692
610
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
693
611
|
}),
|
|
694
612
|
),
|
|
695
|
-
).annotate({
|
|
696
|
-
identifier: "DeleteMoveCodeRequest",
|
|
697
|
-
}) as any as S.Schema<DeleteMoveCodeRequest>;
|
|
613
|
+
).annotate({ identifier: "DeleteMoveCodeRequest" }) as any as S.Schema<DeleteMoveCodeRequest>;
|
|
698
614
|
|
|
699
615
|
export interface Message {
|
|
700
616
|
message?: string;
|
|
@@ -726,9 +642,7 @@ export const DeleteRecordSetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
726
642
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
727
643
|
}),
|
|
728
644
|
),
|
|
729
|
-
).annotate({
|
|
730
|
-
identifier: "DeleteRecordSetRequest",
|
|
731
|
-
}) as any as S.Schema<DeleteRecordSetRequest>;
|
|
645
|
+
).annotate({ identifier: "DeleteRecordSetRequest" }) as any as S.Schema<DeleteRecordSetRequest>;
|
|
732
646
|
|
|
733
647
|
export interface DeleteZoneRequest {
|
|
734
648
|
/** project id */
|
|
@@ -748,12 +662,10 @@ export const DeleteZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
748
662
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
749
663
|
}),
|
|
750
664
|
),
|
|
751
|
-
).annotate({
|
|
752
|
-
identifier: "DeleteZoneRequest",
|
|
753
|
-
}) as any as S.Schema<DeleteZoneRequest>;
|
|
665
|
+
).annotate({ identifier: "DeleteZoneRequest" }) as any as S.Schema<DeleteZoneRequest>;
|
|
754
666
|
|
|
755
667
|
export type ExportRecordSetsRequestFormat = "csv" | "json" | "bind";
|
|
756
|
-
export const ExportRecordSetsRequestFormat =
|
|
668
|
+
export const ExportRecordSetsRequestFormat = S.String;
|
|
757
669
|
|
|
758
670
|
export interface ExportRecordSetsRequest {
|
|
759
671
|
/** project id */
|
|
@@ -777,9 +689,7 @@ export const ExportRecordSetsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
777
689
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
778
690
|
}),
|
|
779
691
|
),
|
|
780
|
-
).annotate({
|
|
781
|
-
identifier: "ExportRecordSetsRequest",
|
|
782
|
-
}) as any as S.Schema<ExportRecordSetsRequest>;
|
|
692
|
+
).annotate({ identifier: "ExportRecordSetsRequest" }) as any as S.Schema<ExportRecordSetsRequest>;
|
|
783
693
|
|
|
784
694
|
export type RecordDataExchangeContentList = Array<string>;
|
|
785
695
|
export const RecordDataExchangeContentList = /*@__PURE__*/ S.Array(
|
|
@@ -801,9 +711,7 @@ export const RecordDataExchange = /*@__PURE__*/ S.suspend(() =>
|
|
|
801
711
|
ttl: S.optional(S.Number),
|
|
802
712
|
type: S.optional(S.String),
|
|
803
713
|
}),
|
|
804
|
-
).annotate({
|
|
805
|
-
identifier: "RecordDataExchange",
|
|
806
|
-
}) as any as S.Schema<RecordDataExchange>;
|
|
714
|
+
).annotate({ identifier: "RecordDataExchange" }) as any as S.Schema<RecordDataExchange>;
|
|
807
715
|
|
|
808
716
|
export type ZoneDataExchangeRrSetsList = Array<RecordDataExchange>;
|
|
809
717
|
export const ZoneDataExchangeRrSetsList = /*@__PURE__*/ S.Array(
|
|
@@ -817,9 +725,7 @@ export const ZoneDataExchange = /*@__PURE__*/ S.suspend(() =>
|
|
|
817
725
|
S.Struct({
|
|
818
726
|
rrSets: S.optional(ZoneDataExchangeRrSetsList),
|
|
819
727
|
}),
|
|
820
|
-
).annotate({
|
|
821
|
-
identifier: "ZoneDataExchange",
|
|
822
|
-
}) as any as S.Schema<ZoneDataExchange>;
|
|
728
|
+
).annotate({ identifier: "ZoneDataExchange" }) as any as S.Schema<ZoneDataExchange>;
|
|
823
729
|
|
|
824
730
|
export interface GetRecordSetRequest {
|
|
825
731
|
/** project id */
|
|
@@ -842,9 +748,7 @@ export const GetRecordSetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
842
748
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
843
749
|
}),
|
|
844
750
|
),
|
|
845
|
-
).annotate({
|
|
846
|
-
identifier: "GetRecordSetRequest",
|
|
847
|
-
}) as any as S.Schema<GetRecordSetRequest>;
|
|
751
|
+
).annotate({ identifier: "GetRecordSetRequest" }) as any as S.Schema<GetRecordSetRequest>;
|
|
848
752
|
|
|
849
753
|
export interface GetZoneRequest {
|
|
850
754
|
/** project id */
|
|
@@ -884,19 +788,13 @@ export const GetZoneRequest2 = /*@__PURE__*/ S.suspend(() =>
|
|
|
884
788
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
885
789
|
}),
|
|
886
790
|
),
|
|
887
|
-
).annotate({
|
|
888
|
-
identifier: "GetZoneRequest2",
|
|
889
|
-
}) as any as S.Schema<GetZoneRequest2>;
|
|
791
|
+
).annotate({ identifier: "GetZoneRequest2" }) as any as S.Schema<GetZoneRequest2>;
|
|
890
792
|
|
|
891
793
|
export type ImportRecordSetsRequestFormat = "json" | "csv" | "bind";
|
|
892
|
-
export const ImportRecordSetsRequestFormat =
|
|
794
|
+
export const ImportRecordSetsRequestFormat = S.String;
|
|
893
795
|
|
|
894
|
-
export type ImportRecordSetsRequestImportType =
|
|
895
|
-
|
|
896
|
-
| "delete"
|
|
897
|
-
| "update"
|
|
898
|
-
| "upsert";
|
|
899
|
-
export const ImportRecordSetsRequestImportType = /*@__PURE__*/ S.String;
|
|
796
|
+
export type ImportRecordSetsRequestImportType = "restore" | "delete" | "update" | "upsert";
|
|
797
|
+
export const ImportRecordSetsRequestImportType = S.String;
|
|
900
798
|
|
|
901
799
|
export type ZoneModelsImportRecordModelContentList = Array<string>;
|
|
902
800
|
export const ZoneModelsImportRecordModelContentList = /*@__PURE__*/ S.Array(
|
|
@@ -922,8 +820,7 @@ export const ZoneModelsImportRecordModel = /*@__PURE__*/ S.suspend(() =>
|
|
|
922
820
|
identifier: "ZoneModelsImportRecordModel",
|
|
923
821
|
}) as any as S.Schema<ZoneModelsImportRecordModel>;
|
|
924
822
|
|
|
925
|
-
export type ImportRecordSetsRequestRrSetsList =
|
|
926
|
-
Array<ZoneModelsImportRecordModel>;
|
|
823
|
+
export type ImportRecordSetsRequestRrSetsList = Array<ZoneModelsImportRecordModel>;
|
|
927
824
|
export const ImportRecordSetsRequestRrSetsList = /*@__PURE__*/ S.Array(
|
|
928
825
|
ZoneModelsImportRecordModel,
|
|
929
826
|
) as any as S.Schema<ImportRecordSetsRequestRrSetsList>;
|
|
@@ -954,9 +851,7 @@ export const ImportRecordSetsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
954
851
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
955
852
|
}),
|
|
956
853
|
),
|
|
957
|
-
).annotate({
|
|
958
|
-
identifier: "ImportRecordSetsRequest",
|
|
959
|
-
}) as any as S.Schema<ImportRecordSetsRequest>;
|
|
854
|
+
).annotate({ identifier: "ImportRecordSetsRequest" }) as any as S.Schema<ImportRecordSetsRequest>;
|
|
960
855
|
|
|
961
856
|
/** ImportSummary is the summary of the import. */
|
|
962
857
|
export interface ImportSummary {
|
|
@@ -988,50 +883,7 @@ export const ImportRecordSetsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
988
883
|
message: S.optional(S.String),
|
|
989
884
|
summary: ImportSummary,
|
|
990
885
|
}),
|
|
991
|
-
).annotate({
|
|
992
|
-
identifier: "ImportRecordSetsResponse",
|
|
993
|
-
}) as any as S.Schema<ImportRecordSetsResponse>;
|
|
994
|
-
|
|
995
|
-
export interface ListLabelsRequest {
|
|
996
|
-
/** project id */
|
|
997
|
-
projectId: string;
|
|
998
|
-
/** zone id */
|
|
999
|
-
zoneId: string;
|
|
1000
|
-
}
|
|
1001
|
-
export const ListLabelsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1002
|
-
S.Struct({
|
|
1003
|
-
projectId: S.String.pipe(T.Label()),
|
|
1004
|
-
zoneId: S.String.pipe(T.Label()),
|
|
1005
|
-
}).pipe(
|
|
1006
|
-
T.Http({
|
|
1007
|
-
method: "GET",
|
|
1008
|
-
uri: "/v1/projects/{projectId}/zones/{zoneId}/labels",
|
|
1009
|
-
code: 200,
|
|
1010
|
-
baseUrl: "https://dns.api.stackit.cloud",
|
|
1011
|
-
}),
|
|
1012
|
-
),
|
|
1013
|
-
).annotate({
|
|
1014
|
-
identifier: "ListLabelsRequest",
|
|
1015
|
-
}) as any as S.Schema<ListLabelsRequest>;
|
|
1016
|
-
|
|
1017
|
-
export type ListLabelsResponseLabelsList = Array<Label>;
|
|
1018
|
-
export const ListLabelsResponseLabelsList = /*@__PURE__*/ S.Array(
|
|
1019
|
-
Label,
|
|
1020
|
-
) as any as S.Schema<ListLabelsResponseLabelsList>;
|
|
1021
|
-
|
|
1022
|
-
/** ResponseAllLabels. */
|
|
1023
|
-
export interface ListLabelsResponse {
|
|
1024
|
-
labels?: ListLabelsResponseLabelsList;
|
|
1025
|
-
message?: string;
|
|
1026
|
-
}
|
|
1027
|
-
export const ListLabelsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1028
|
-
S.Struct({
|
|
1029
|
-
labels: S.optional(ListLabelsResponseLabelsList),
|
|
1030
|
-
message: S.optional(S.String),
|
|
1031
|
-
}),
|
|
1032
|
-
).annotate({
|
|
1033
|
-
identifier: "ListLabelsResponse",
|
|
1034
|
-
}) as any as S.Schema<ListLabelsResponse>;
|
|
886
|
+
).annotate({ identifier: "ImportRecordSetsResponse" }) as any as S.Schema<ImportRecordSetsResponse>;
|
|
1035
887
|
|
|
1036
888
|
export type ListRecordSetsRequestTypeEq =
|
|
1037
889
|
| "A"
|
|
@@ -1059,7 +911,7 @@ export type ListRecordSetsRequestTypeEq =
|
|
|
1059
911
|
| "CSYNC"
|
|
1060
912
|
| "HINFO"
|
|
1061
913
|
| "HTTPS";
|
|
1062
|
-
export const ListRecordSetsRequestTypeEq =
|
|
914
|
+
export const ListRecordSetsRequestTypeEq = S.String;
|
|
1063
915
|
|
|
1064
916
|
export type ListRecordSetsRequestStateEq =
|
|
1065
917
|
| "CREATING"
|
|
@@ -1071,7 +923,7 @@ export type ListRecordSetsRequestStateEq =
|
|
|
1071
923
|
| "UPDATING"
|
|
1072
924
|
| "UPDATE_SUCCEEDED"
|
|
1073
925
|
| "UPDATE_FAILED";
|
|
1074
|
-
export const ListRecordSetsRequestStateEq =
|
|
926
|
+
export const ListRecordSetsRequestStateEq = S.String;
|
|
1075
927
|
|
|
1076
928
|
export type ListRecordSetsRequestStateNeq =
|
|
1077
929
|
| "CREATING"
|
|
@@ -1083,34 +935,31 @@ export type ListRecordSetsRequestStateNeq =
|
|
|
1083
935
|
| "UPDATING"
|
|
1084
936
|
| "UPDATE_SUCCEEDED"
|
|
1085
937
|
| "UPDATE_FAILED";
|
|
1086
|
-
export const ListRecordSetsRequestStateNeq =
|
|
938
|
+
export const ListRecordSetsRequestStateNeq = S.String;
|
|
1087
939
|
|
|
1088
940
|
export type ListRecordSetsRequestOrderByName = "ASC" | "DESC";
|
|
1089
|
-
export const ListRecordSetsRequestOrderByName =
|
|
941
|
+
export const ListRecordSetsRequestOrderByName = S.String;
|
|
1090
942
|
|
|
1091
943
|
export type ListRecordSetsRequestOrderByCreationStarted = "ASC" | "DESC";
|
|
1092
|
-
export const ListRecordSetsRequestOrderByCreationStarted =
|
|
1093
|
-
/*@__PURE__*/ S.String;
|
|
944
|
+
export const ListRecordSetsRequestOrderByCreationStarted = S.String;
|
|
1094
945
|
|
|
1095
946
|
export type ListRecordSetsRequestOrderByCreationFinished = "ASC" | "DESC";
|
|
1096
|
-
export const ListRecordSetsRequestOrderByCreationFinished =
|
|
1097
|
-
/*@__PURE__*/ S.String;
|
|
947
|
+
export const ListRecordSetsRequestOrderByCreationFinished = S.String;
|
|
1098
948
|
|
|
1099
949
|
export type ListRecordSetsRequestOrderByUpdateStarted = "ASC" | "DESC";
|
|
1100
|
-
export const ListRecordSetsRequestOrderByUpdateStarted =
|
|
950
|
+
export const ListRecordSetsRequestOrderByUpdateStarted = S.String;
|
|
1101
951
|
|
|
1102
952
|
export type ListRecordSetsRequestOrderByUpdateFinished = "ASC" | "DESC";
|
|
1103
|
-
export const ListRecordSetsRequestOrderByUpdateFinished =
|
|
1104
|
-
/*@__PURE__*/ S.String;
|
|
953
|
+
export const ListRecordSetsRequestOrderByUpdateFinished = S.String;
|
|
1105
954
|
|
|
1106
955
|
export type ListRecordSetsRequestOrderByType = "ASC" | "DESC";
|
|
1107
|
-
export const ListRecordSetsRequestOrderByType =
|
|
956
|
+
export const ListRecordSetsRequestOrderByType = S.String;
|
|
1108
957
|
|
|
1109
958
|
export type ListRecordSetsRequestOrderByState = "ASC" | "DESC";
|
|
1110
|
-
export const ListRecordSetsRequestOrderByState =
|
|
959
|
+
export const ListRecordSetsRequestOrderByState = S.String;
|
|
1111
960
|
|
|
1112
961
|
export type ListRecordSetsRequestOrderByRecordCount = "ASC" | "DESC";
|
|
1113
|
-
export const ListRecordSetsRequestOrderByRecordCount =
|
|
962
|
+
export const ListRecordSetsRequestOrderByRecordCount = S.String;
|
|
1114
963
|
|
|
1115
964
|
export interface ListRecordSetsRequest {
|
|
1116
965
|
/** project id */
|
|
@@ -1168,29 +1017,19 @@ export interface ListRecordSetsRequest {
|
|
|
1168
1017
|
/** order by name */
|
|
1169
1018
|
orderBy_name_?: ListRecordSetsRequestOrderByName | (string & {});
|
|
1170
1019
|
/** order by creationStarted */
|
|
1171
|
-
orderBy_creationStarted_?:
|
|
1172
|
-
| ListRecordSetsRequestOrderByCreationStarted
|
|
1173
|
-
| (string & {});
|
|
1020
|
+
orderBy_creationStarted_?: ListRecordSetsRequestOrderByCreationStarted | (string & {});
|
|
1174
1021
|
/** order by creationFinished */
|
|
1175
|
-
orderBy_creationFinished_?:
|
|
1176
|
-
| ListRecordSetsRequestOrderByCreationFinished
|
|
1177
|
-
| (string & {});
|
|
1022
|
+
orderBy_creationFinished_?: ListRecordSetsRequestOrderByCreationFinished | (string & {});
|
|
1178
1023
|
/** order by updateStarted */
|
|
1179
|
-
orderBy_updateStarted_?:
|
|
1180
|
-
| ListRecordSetsRequestOrderByUpdateStarted
|
|
1181
|
-
| (string & {});
|
|
1024
|
+
orderBy_updateStarted_?: ListRecordSetsRequestOrderByUpdateStarted | (string & {});
|
|
1182
1025
|
/** order by updateFinished */
|
|
1183
|
-
orderBy_updateFinished_?:
|
|
1184
|
-
| ListRecordSetsRequestOrderByUpdateFinished
|
|
1185
|
-
| (string & {});
|
|
1026
|
+
orderBy_updateFinished_?: ListRecordSetsRequestOrderByUpdateFinished | (string & {});
|
|
1186
1027
|
/** order by type */
|
|
1187
1028
|
orderBy_type_?: ListRecordSetsRequestOrderByType | (string & {});
|
|
1188
1029
|
/** order by state */
|
|
1189
1030
|
orderBy_state_?: ListRecordSetsRequestOrderByState | (string & {});
|
|
1190
1031
|
/** order by record count */
|
|
1191
|
-
orderBy_recordCount_?:
|
|
1192
|
-
| ListRecordSetsRequestOrderByRecordCount
|
|
1193
|
-
| (string & {});
|
|
1032
|
+
orderBy_recordCount_?: ListRecordSetsRequestOrderByRecordCount | (string & {});
|
|
1194
1033
|
}
|
|
1195
1034
|
export const ListRecordSetsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1196
1035
|
S.Struct({
|
|
@@ -1201,90 +1040,42 @@ export const ListRecordSetsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1201
1040
|
name_eq_: S.optional(S.String.pipe(T.Query("name[eq]"))),
|
|
1202
1041
|
name_like_: S.optional(S.String.pipe(T.Query("name[like]"))),
|
|
1203
1042
|
type_eq_: S.optional(ListRecordSetsRequestTypeEq.pipe(T.Query("type[eq]"))),
|
|
1204
|
-
state_eq_: S.optional(
|
|
1205
|
-
|
|
1206
|
-
),
|
|
1207
|
-
state_neq_: S.optional(
|
|
1208
|
-
ListRecordSetsRequestStateNeq.pipe(T.Query("state[neq]")),
|
|
1209
|
-
),
|
|
1043
|
+
state_eq_: S.optional(ListRecordSetsRequestStateEq.pipe(T.Query("state[eq]"))),
|
|
1044
|
+
state_neq_: S.optional(ListRecordSetsRequestStateNeq.pipe(T.Query("state[neq]"))),
|
|
1210
1045
|
active_eq_: S.optional(S.Boolean.pipe(T.Query("active[eq]"))),
|
|
1211
|
-
creationStarted_gt_: S.optional(
|
|
1212
|
-
|
|
1213
|
-
),
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
),
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
),
|
|
1220
|
-
creationStarted_lte_: S.optional(
|
|
1221
|
-
S.String.pipe(T.Query("creationStarted[lte]")),
|
|
1222
|
-
),
|
|
1223
|
-
creationFinished_gt_: S.optional(
|
|
1224
|
-
S.String.pipe(T.Query("creationFinished[gt]")),
|
|
1225
|
-
),
|
|
1226
|
-
creationFinished_lt_: S.optional(
|
|
1227
|
-
S.String.pipe(T.Query("creationFinished[lt]")),
|
|
1228
|
-
),
|
|
1229
|
-
creationFinished_gte_: S.optional(
|
|
1230
|
-
S.String.pipe(T.Query("creationFinished[gte]")),
|
|
1231
|
-
),
|
|
1232
|
-
creationFinished_lte_: S.optional(
|
|
1233
|
-
S.String.pipe(T.Query("creationFinished[lte]")),
|
|
1234
|
-
),
|
|
1046
|
+
creationStarted_gt_: S.optional(S.String.pipe(T.Query("creationStarted[gt]"))),
|
|
1047
|
+
creationStarted_lt_: S.optional(S.String.pipe(T.Query("creationStarted[lt]"))),
|
|
1048
|
+
creationStarted_gte_: S.optional(S.String.pipe(T.Query("creationStarted[gte]"))),
|
|
1049
|
+
creationStarted_lte_: S.optional(S.String.pipe(T.Query("creationStarted[lte]"))),
|
|
1050
|
+
creationFinished_gt_: S.optional(S.String.pipe(T.Query("creationFinished[gt]"))),
|
|
1051
|
+
creationFinished_lt_: S.optional(S.String.pipe(T.Query("creationFinished[lt]"))),
|
|
1052
|
+
creationFinished_gte_: S.optional(S.String.pipe(T.Query("creationFinished[gte]"))),
|
|
1053
|
+
creationFinished_lte_: S.optional(S.String.pipe(T.Query("creationFinished[lte]"))),
|
|
1235
1054
|
updateStarted_gt_: S.optional(S.String.pipe(T.Query("updateStarted[gt]"))),
|
|
1236
1055
|
updateStarted_lt_: S.optional(S.String.pipe(T.Query("updateStarted[lt]"))),
|
|
1237
|
-
updateStarted_gte_: S.optional(
|
|
1238
|
-
|
|
1239
|
-
),
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
),
|
|
1243
|
-
|
|
1244
|
-
S.String.pipe(T.Query("updateFinished[gt]")),
|
|
1245
|
-
),
|
|
1246
|
-
updateFinished_lt_: S.optional(
|
|
1247
|
-
S.String.pipe(T.Query("updateFinished[lt]")),
|
|
1248
|
-
),
|
|
1249
|
-
updateFinished_gte_: S.optional(
|
|
1250
|
-
S.String.pipe(T.Query("updateFinished[gte]")),
|
|
1251
|
-
),
|
|
1252
|
-
updateFinished_lte_: S.optional(
|
|
1253
|
-
S.String.pipe(T.Query("updateFinished[lte]")),
|
|
1254
|
-
),
|
|
1255
|
-
orderBy_name_: S.optional(
|
|
1256
|
-
ListRecordSetsRequestOrderByName.pipe(T.Query("orderBy[name]")),
|
|
1257
|
-
),
|
|
1056
|
+
updateStarted_gte_: S.optional(S.String.pipe(T.Query("updateStarted[gte]"))),
|
|
1057
|
+
updateStarted_lte_: S.optional(S.String.pipe(T.Query("updateStarted[lte]"))),
|
|
1058
|
+
updateFinished_gt_: S.optional(S.String.pipe(T.Query("updateFinished[gt]"))),
|
|
1059
|
+
updateFinished_lt_: S.optional(S.String.pipe(T.Query("updateFinished[lt]"))),
|
|
1060
|
+
updateFinished_gte_: S.optional(S.String.pipe(T.Query("updateFinished[gte]"))),
|
|
1061
|
+
updateFinished_lte_: S.optional(S.String.pipe(T.Query("updateFinished[lte]"))),
|
|
1062
|
+
orderBy_name_: S.optional(ListRecordSetsRequestOrderByName.pipe(T.Query("orderBy[name]"))),
|
|
1258
1063
|
orderBy_creationStarted_: S.optional(
|
|
1259
|
-
ListRecordSetsRequestOrderByCreationStarted.pipe(
|
|
1260
|
-
T.Query("orderBy[creationStarted]"),
|
|
1261
|
-
),
|
|
1064
|
+
ListRecordSetsRequestOrderByCreationStarted.pipe(T.Query("orderBy[creationStarted]")),
|
|
1262
1065
|
),
|
|
1263
1066
|
orderBy_creationFinished_: S.optional(
|
|
1264
|
-
ListRecordSetsRequestOrderByCreationFinished.pipe(
|
|
1265
|
-
T.Query("orderBy[creationFinished]"),
|
|
1266
|
-
),
|
|
1067
|
+
ListRecordSetsRequestOrderByCreationFinished.pipe(T.Query("orderBy[creationFinished]")),
|
|
1267
1068
|
),
|
|
1268
1069
|
orderBy_updateStarted_: S.optional(
|
|
1269
|
-
ListRecordSetsRequestOrderByUpdateStarted.pipe(
|
|
1270
|
-
T.Query("orderBy[updateStarted]"),
|
|
1271
|
-
),
|
|
1070
|
+
ListRecordSetsRequestOrderByUpdateStarted.pipe(T.Query("orderBy[updateStarted]")),
|
|
1272
1071
|
),
|
|
1273
1072
|
orderBy_updateFinished_: S.optional(
|
|
1274
|
-
ListRecordSetsRequestOrderByUpdateFinished.pipe(
|
|
1275
|
-
T.Query("orderBy[updateFinished]"),
|
|
1276
|
-
),
|
|
1277
|
-
),
|
|
1278
|
-
orderBy_type_: S.optional(
|
|
1279
|
-
ListRecordSetsRequestOrderByType.pipe(T.Query("orderBy[type]")),
|
|
1280
|
-
),
|
|
1281
|
-
orderBy_state_: S.optional(
|
|
1282
|
-
ListRecordSetsRequestOrderByState.pipe(T.Query("orderBy[state]")),
|
|
1073
|
+
ListRecordSetsRequestOrderByUpdateFinished.pipe(T.Query("orderBy[updateFinished]")),
|
|
1283
1074
|
),
|
|
1075
|
+
orderBy_type_: S.optional(ListRecordSetsRequestOrderByType.pipe(T.Query("orderBy[type]"))),
|
|
1076
|
+
orderBy_state_: S.optional(ListRecordSetsRequestOrderByState.pipe(T.Query("orderBy[state]"))),
|
|
1284
1077
|
orderBy_recordCount_: S.optional(
|
|
1285
|
-
ListRecordSetsRequestOrderByRecordCount.pipe(
|
|
1286
|
-
T.Query("orderBy[recordCount]"),
|
|
1287
|
-
),
|
|
1078
|
+
ListRecordSetsRequestOrderByRecordCount.pipe(T.Query("orderBy[recordCount]")),
|
|
1288
1079
|
),
|
|
1289
1080
|
}).pipe(
|
|
1290
1081
|
T.Http({
|
|
@@ -1294,9 +1085,7 @@ export const ListRecordSetsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1294
1085
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
1295
1086
|
}),
|
|
1296
1087
|
),
|
|
1297
|
-
).annotate({
|
|
1298
|
-
identifier: "ListRecordSetsRequest",
|
|
1299
|
-
}) as any as S.Schema<ListRecordSetsRequest>;
|
|
1088
|
+
).annotate({ identifier: "ListRecordSetsRequest" }) as any as S.Schema<ListRecordSetsRequest>;
|
|
1300
1089
|
|
|
1301
1090
|
export type ListRecordSetsResponseRrSetsList = Array<RecordSet>;
|
|
1302
1091
|
export const ListRecordSetsResponseRrSetsList = /*@__PURE__*/ S.Array(
|
|
@@ -1319,12 +1108,10 @@ export const ListRecordSetsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1319
1108
|
totalItems: S.Number,
|
|
1320
1109
|
totalPages: S.Number,
|
|
1321
1110
|
}),
|
|
1322
|
-
).annotate({
|
|
1323
|
-
identifier: "ListRecordSetsResponse",
|
|
1324
|
-
}) as any as S.Schema<ListRecordSetsResponse>;
|
|
1111
|
+
).annotate({ identifier: "ListRecordSetsResponse" }) as any as S.Schema<ListRecordSetsResponse>;
|
|
1325
1112
|
|
|
1326
1113
|
export type ListZonesRequestTypeEq = "primary" | "secondary";
|
|
1327
|
-
export const ListZonesRequestTypeEq =
|
|
1114
|
+
export const ListZonesRequestTypeEq = S.String;
|
|
1328
1115
|
|
|
1329
1116
|
export type ListZonesRequestStateEq =
|
|
1330
1117
|
| "CREATING"
|
|
@@ -1336,7 +1123,7 @@ export type ListZonesRequestStateEq =
|
|
|
1336
1123
|
| "UPDATING"
|
|
1337
1124
|
| "UPDATE_SUCCEEDED"
|
|
1338
1125
|
| "UPDATE_FAILED";
|
|
1339
|
-
export const ListZonesRequestStateEq =
|
|
1126
|
+
export const ListZonesRequestStateEq = S.String;
|
|
1340
1127
|
|
|
1341
1128
|
export type ListZonesRequestStateNeq =
|
|
1342
1129
|
| "CREATING"
|
|
@@ -1348,7 +1135,7 @@ export type ListZonesRequestStateNeq =
|
|
|
1348
1135
|
| "UPDATING"
|
|
1349
1136
|
| "UPDATE_SUCCEEDED"
|
|
1350
1137
|
| "UPDATE_FAILED";
|
|
1351
|
-
export const ListZonesRequestStateNeq =
|
|
1138
|
+
export const ListZonesRequestStateNeq = S.String;
|
|
1352
1139
|
|
|
1353
1140
|
export type ListZonesRequestLabelKeyEqList = Array<string>;
|
|
1354
1141
|
export const ListZonesRequestLabelKeyEqList = /*@__PURE__*/ S.Array(
|
|
@@ -1361,31 +1148,31 @@ export const ListZonesRequestLabelValueEqList = /*@__PURE__*/ S.Array(
|
|
|
1361
1148
|
) as any as S.Schema<ListZonesRequestLabelValueEqList>;
|
|
1362
1149
|
|
|
1363
1150
|
export type ListZonesRequestOrderByDnsName = "ASC" | "DESC";
|
|
1364
|
-
export const ListZonesRequestOrderByDnsName =
|
|
1151
|
+
export const ListZonesRequestOrderByDnsName = S.String;
|
|
1365
1152
|
|
|
1366
1153
|
export type ListZonesRequestOrderByName = "ASC" | "DESC";
|
|
1367
|
-
export const ListZonesRequestOrderByName =
|
|
1154
|
+
export const ListZonesRequestOrderByName = S.String;
|
|
1368
1155
|
|
|
1369
1156
|
export type ListZonesRequestOrderByRecordCount = "ASC" | "DESC";
|
|
1370
|
-
export const ListZonesRequestOrderByRecordCount =
|
|
1157
|
+
export const ListZonesRequestOrderByRecordCount = S.String;
|
|
1371
1158
|
|
|
1372
1159
|
export type ListZonesRequestOrderByType = "ASC" | "DESC";
|
|
1373
|
-
export const ListZonesRequestOrderByType =
|
|
1160
|
+
export const ListZonesRequestOrderByType = S.String;
|
|
1374
1161
|
|
|
1375
1162
|
export type ListZonesRequestOrderByDescription = "ASC" | "DESC";
|
|
1376
|
-
export const ListZonesRequestOrderByDescription =
|
|
1163
|
+
export const ListZonesRequestOrderByDescription = S.String;
|
|
1377
1164
|
|
|
1378
1165
|
export type ListZonesRequestOrderByCreationStarted = "ASC" | "DESC";
|
|
1379
|
-
export const ListZonesRequestOrderByCreationStarted =
|
|
1166
|
+
export const ListZonesRequestOrderByCreationStarted = S.String;
|
|
1380
1167
|
|
|
1381
1168
|
export type ListZonesRequestOrderByCreationFinished = "ASC" | "DESC";
|
|
1382
|
-
export const ListZonesRequestOrderByCreationFinished =
|
|
1169
|
+
export const ListZonesRequestOrderByCreationFinished = S.String;
|
|
1383
1170
|
|
|
1384
1171
|
export type ListZonesRequestOrderByUpdateStarted = "ASC" | "DESC";
|
|
1385
|
-
export const ListZonesRequestOrderByUpdateStarted =
|
|
1172
|
+
export const ListZonesRequestOrderByUpdateStarted = S.String;
|
|
1386
1173
|
|
|
1387
1174
|
export type ListZonesRequestOrderByUpdateFinished = "ASC" | "DESC";
|
|
1388
|
-
export const ListZonesRequestOrderByUpdateFinished =
|
|
1175
|
+
export const ListZonesRequestOrderByUpdateFinished = S.String;
|
|
1389
1176
|
|
|
1390
1177
|
export interface ListZonesRequest {
|
|
1391
1178
|
/** project id */
|
|
@@ -1471,19 +1258,13 @@ export interface ListZonesRequest {
|
|
|
1471
1258
|
/** order by description */
|
|
1472
1259
|
orderBy_description_?: ListZonesRequestOrderByDescription | (string & {});
|
|
1473
1260
|
/** order by creationStarted */
|
|
1474
|
-
orderBy_creationStarted_?:
|
|
1475
|
-
| ListZonesRequestOrderByCreationStarted
|
|
1476
|
-
| (string & {});
|
|
1261
|
+
orderBy_creationStarted_?: ListZonesRequestOrderByCreationStarted | (string & {});
|
|
1477
1262
|
/** order by creationFinished */
|
|
1478
|
-
orderBy_creationFinished_?:
|
|
1479
|
-
| ListZonesRequestOrderByCreationFinished
|
|
1480
|
-
| (string & {});
|
|
1263
|
+
orderBy_creationFinished_?: ListZonesRequestOrderByCreationFinished | (string & {});
|
|
1481
1264
|
/** order by updateStarted */
|
|
1482
1265
|
orderBy_updateStarted_?: ListZonesRequestOrderByUpdateStarted | (string & {});
|
|
1483
1266
|
/** order by updateFinished */
|
|
1484
|
-
orderBy_updateFinished_?:
|
|
1485
|
-
| ListZonesRequestOrderByUpdateFinished
|
|
1486
|
-
| (string & {});
|
|
1267
|
+
orderBy_updateFinished_?: ListZonesRequestOrderByUpdateFinished | (string & {});
|
|
1487
1268
|
}
|
|
1488
1269
|
export const ListZonesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1489
1270
|
S.Struct({
|
|
@@ -1500,101 +1281,49 @@ export const ListZonesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1500
1281
|
description_neq_: S.optional(S.String.pipe(T.Query("description[neq]"))),
|
|
1501
1282
|
description_like_: S.optional(S.String.pipe(T.Query("description[like]"))),
|
|
1502
1283
|
state_eq_: S.optional(ListZonesRequestStateEq.pipe(T.Query("state[eq]"))),
|
|
1503
|
-
state_neq_: S.optional(
|
|
1504
|
-
|
|
1505
|
-
),
|
|
1506
|
-
primaryNameServer_eq_: S.optional(
|
|
1507
|
-
S.String.pipe(T.Query("primaryNameServer[eq]")),
|
|
1508
|
-
),
|
|
1509
|
-
primaryNameServer_like_: S.optional(
|
|
1510
|
-
S.String.pipe(T.Query("primaryNameServer[like]")),
|
|
1511
|
-
),
|
|
1284
|
+
state_neq_: S.optional(ListZonesRequestStateNeq.pipe(T.Query("state[neq]"))),
|
|
1285
|
+
primaryNameServer_eq_: S.optional(S.String.pipe(T.Query("primaryNameServer[eq]"))),
|
|
1286
|
+
primaryNameServer_like_: S.optional(S.String.pipe(T.Query("primaryNameServer[like]"))),
|
|
1512
1287
|
isReverseZone_eq_: S.optional(S.Boolean.pipe(T.Query("isReverseZone[eq]"))),
|
|
1513
1288
|
active_eq_: S.optional(S.Boolean.pipe(T.Query("active[eq]"))),
|
|
1514
|
-
creationStarted_gt_: S.optional(
|
|
1515
|
-
|
|
1516
|
-
),
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
),
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
),
|
|
1523
|
-
creationStarted_lte_: S.optional(
|
|
1524
|
-
S.String.pipe(T.Query("creationStarted[lte]")),
|
|
1525
|
-
),
|
|
1526
|
-
creationFinished_gt_: S.optional(
|
|
1527
|
-
S.String.pipe(T.Query("creationFinished[gt]")),
|
|
1528
|
-
),
|
|
1529
|
-
creationFinished_lt_: S.optional(
|
|
1530
|
-
S.String.pipe(T.Query("creationFinished[lt]")),
|
|
1531
|
-
),
|
|
1532
|
-
creationFinished_gte_: S.optional(
|
|
1533
|
-
S.String.pipe(T.Query("creationFinished[gte]")),
|
|
1534
|
-
),
|
|
1535
|
-
creationFinished_lte_: S.optional(
|
|
1536
|
-
S.String.pipe(T.Query("creationFinished[lte]")),
|
|
1537
|
-
),
|
|
1289
|
+
creationStarted_gt_: S.optional(S.String.pipe(T.Query("creationStarted[gt]"))),
|
|
1290
|
+
creationStarted_lt_: S.optional(S.String.pipe(T.Query("creationStarted[lt]"))),
|
|
1291
|
+
creationStarted_gte_: S.optional(S.String.pipe(T.Query("creationStarted[gte]"))),
|
|
1292
|
+
creationStarted_lte_: S.optional(S.String.pipe(T.Query("creationStarted[lte]"))),
|
|
1293
|
+
creationFinished_gt_: S.optional(S.String.pipe(T.Query("creationFinished[gt]"))),
|
|
1294
|
+
creationFinished_lt_: S.optional(S.String.pipe(T.Query("creationFinished[lt]"))),
|
|
1295
|
+
creationFinished_gte_: S.optional(S.String.pipe(T.Query("creationFinished[gte]"))),
|
|
1296
|
+
creationFinished_lte_: S.optional(S.String.pipe(T.Query("creationFinished[lte]"))),
|
|
1538
1297
|
updateStarted_gt_: S.optional(S.String.pipe(T.Query("updateStarted[gt]"))),
|
|
1539
1298
|
updateStarted_lt_: S.optional(S.String.pipe(T.Query("updateStarted[lt]"))),
|
|
1540
|
-
updateStarted_gte_: S.optional(
|
|
1541
|
-
|
|
1542
|
-
),
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
),
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
),
|
|
1549
|
-
|
|
1550
|
-
S.String.pipe(T.Query("updateFinished[lt]")),
|
|
1551
|
-
),
|
|
1552
|
-
updateFinished_gte_: S.optional(
|
|
1553
|
-
S.String.pipe(T.Query("updateFinished[gte]")),
|
|
1554
|
-
),
|
|
1555
|
-
updateFinished_lte_: S.optional(
|
|
1556
|
-
S.String.pipe(T.Query("updateFinished[lte]")),
|
|
1557
|
-
),
|
|
1558
|
-
labelKey_eq_: S.optional(
|
|
1559
|
-
ListZonesRequestLabelKeyEqList.pipe(T.Query("labelKey[eq]")),
|
|
1560
|
-
),
|
|
1561
|
-
labelValue_eq_: S.optional(
|
|
1562
|
-
ListZonesRequestLabelValueEqList.pipe(T.Query("labelValue[eq]")),
|
|
1563
|
-
),
|
|
1564
|
-
orderBy_dnsName_: S.optional(
|
|
1565
|
-
ListZonesRequestOrderByDnsName.pipe(T.Query("orderBy[dnsName]")),
|
|
1566
|
-
),
|
|
1567
|
-
orderBy_name_: S.optional(
|
|
1568
|
-
ListZonesRequestOrderByName.pipe(T.Query("orderBy[name]")),
|
|
1569
|
-
),
|
|
1299
|
+
updateStarted_gte_: S.optional(S.String.pipe(T.Query("updateStarted[gte]"))),
|
|
1300
|
+
updateStarted_lte_: S.optional(S.String.pipe(T.Query("updateStarted[lte]"))),
|
|
1301
|
+
updateFinished_gt_: S.optional(S.String.pipe(T.Query("updateFinished[gt]"))),
|
|
1302
|
+
updateFinished_lt_: S.optional(S.String.pipe(T.Query("updateFinished[lt]"))),
|
|
1303
|
+
updateFinished_gte_: S.optional(S.String.pipe(T.Query("updateFinished[gte]"))),
|
|
1304
|
+
updateFinished_lte_: S.optional(S.String.pipe(T.Query("updateFinished[lte]"))),
|
|
1305
|
+
labelKey_eq_: S.optional(ListZonesRequestLabelKeyEqList.pipe(T.Query("labelKey[eq]"))),
|
|
1306
|
+
labelValue_eq_: S.optional(ListZonesRequestLabelValueEqList.pipe(T.Query("labelValue[eq]"))),
|
|
1307
|
+
orderBy_dnsName_: S.optional(ListZonesRequestOrderByDnsName.pipe(T.Query("orderBy[dnsName]"))),
|
|
1308
|
+
orderBy_name_: S.optional(ListZonesRequestOrderByName.pipe(T.Query("orderBy[name]"))),
|
|
1570
1309
|
orderBy_recordCount_: S.optional(
|
|
1571
1310
|
ListZonesRequestOrderByRecordCount.pipe(T.Query("orderBy[recordCount]")),
|
|
1572
1311
|
),
|
|
1573
|
-
orderBy_type_: S.optional(
|
|
1574
|
-
ListZonesRequestOrderByType.pipe(T.Query("orderBy[type]")),
|
|
1575
|
-
),
|
|
1312
|
+
orderBy_type_: S.optional(ListZonesRequestOrderByType.pipe(T.Query("orderBy[type]"))),
|
|
1576
1313
|
orderBy_description_: S.optional(
|
|
1577
1314
|
ListZonesRequestOrderByDescription.pipe(T.Query("orderBy[description]")),
|
|
1578
1315
|
),
|
|
1579
1316
|
orderBy_creationStarted_: S.optional(
|
|
1580
|
-
ListZonesRequestOrderByCreationStarted.pipe(
|
|
1581
|
-
T.Query("orderBy[creationStarted]"),
|
|
1582
|
-
),
|
|
1317
|
+
ListZonesRequestOrderByCreationStarted.pipe(T.Query("orderBy[creationStarted]")),
|
|
1583
1318
|
),
|
|
1584
1319
|
orderBy_creationFinished_: S.optional(
|
|
1585
|
-
ListZonesRequestOrderByCreationFinished.pipe(
|
|
1586
|
-
T.Query("orderBy[creationFinished]"),
|
|
1587
|
-
),
|
|
1320
|
+
ListZonesRequestOrderByCreationFinished.pipe(T.Query("orderBy[creationFinished]")),
|
|
1588
1321
|
),
|
|
1589
1322
|
orderBy_updateStarted_: S.optional(
|
|
1590
|
-
ListZonesRequestOrderByUpdateStarted.pipe(
|
|
1591
|
-
T.Query("orderBy[updateStarted]"),
|
|
1592
|
-
),
|
|
1323
|
+
ListZonesRequestOrderByUpdateStarted.pipe(T.Query("orderBy[updateStarted]")),
|
|
1593
1324
|
),
|
|
1594
1325
|
orderBy_updateFinished_: S.optional(
|
|
1595
|
-
ListZonesRequestOrderByUpdateFinished.pipe(
|
|
1596
|
-
T.Query("orderBy[updateFinished]"),
|
|
1597
|
-
),
|
|
1326
|
+
ListZonesRequestOrderByUpdateFinished.pipe(T.Query("orderBy[updateFinished]")),
|
|
1598
1327
|
),
|
|
1599
1328
|
}).pipe(
|
|
1600
1329
|
T.Http({
|
|
@@ -1604,9 +1333,7 @@ export const ListZonesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1604
1333
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
1605
1334
|
}),
|
|
1606
1335
|
),
|
|
1607
|
-
).annotate({
|
|
1608
|
-
identifier: "ListZonesRequest",
|
|
1609
|
-
}) as any as S.Schema<ListZonesRequest>;
|
|
1336
|
+
).annotate({ identifier: "ListZonesRequest" }) as any as S.Schema<ListZonesRequest>;
|
|
1610
1337
|
|
|
1611
1338
|
export type ListZonesResponseZonesList = Array<Zone>;
|
|
1612
1339
|
export const ListZonesResponseZonesList = /*@__PURE__*/ S.Array(
|
|
@@ -1629,9 +1356,7 @@ export const ListZonesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1629
1356
|
totalPages: S.Number,
|
|
1630
1357
|
zones: ListZonesResponseZonesList,
|
|
1631
1358
|
}),
|
|
1632
|
-
).annotate({
|
|
1633
|
-
identifier: "ListZonesResponse",
|
|
1634
|
-
}) as any as S.Schema<ListZonesResponse>;
|
|
1359
|
+
).annotate({ identifier: "ListZonesResponse" }) as any as S.Schema<ListZonesResponse>;
|
|
1635
1360
|
|
|
1636
1361
|
export interface MoveZoneRequest {
|
|
1637
1362
|
/** project id */
|
|
@@ -1654,12 +1379,10 @@ export const MoveZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1654
1379
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
1655
1380
|
}),
|
|
1656
1381
|
),
|
|
1657
|
-
).annotate({
|
|
1658
|
-
identifier: "MoveZoneRequest",
|
|
1659
|
-
}) as any as S.Schema<MoveZoneRequest>;
|
|
1382
|
+
).annotate({ identifier: "MoveZoneRequest" }) as any as S.Schema<MoveZoneRequest>;
|
|
1660
1383
|
|
|
1661
1384
|
export type PartialUpdateRecordRequestAction = "add" | "delete";
|
|
1662
|
-
export const PartialUpdateRecordRequestAction =
|
|
1385
|
+
export const PartialUpdateRecordRequestAction = S.String;
|
|
1663
1386
|
|
|
1664
1387
|
/** records */
|
|
1665
1388
|
export type PartialUpdateRecordRequestRecordsList = Array<RecordPayload>;
|
|
@@ -1740,6 +1463,13 @@ export const PartialUpdateRecordSetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1740
1463
|
identifier: "PartialUpdateRecordSetRequest",
|
|
1741
1464
|
}) as any as S.Schema<PartialUpdateRecordSetRequest>;
|
|
1742
1465
|
|
|
1466
|
+
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
1467
|
+
export type PartialUpdateZoneRequestLabelsMapMap = { [key: string]: string | undefined };
|
|
1468
|
+
export const PartialUpdateZoneRequestLabelsMapMap = /*@__PURE__*/ S.Record(
|
|
1469
|
+
S.String,
|
|
1470
|
+
S.String,
|
|
1471
|
+
) as any as S.Schema<PartialUpdateZoneRequestLabelsMapMap>;
|
|
1472
|
+
|
|
1743
1473
|
/** primary name server for secondary zone */
|
|
1744
1474
|
export type PartialUpdateZoneRequestPrimariesList = Array<string>;
|
|
1745
1475
|
export const PartialUpdateZoneRequestPrimariesList = /*@__PURE__*/ S.Array(
|
|
@@ -1763,6 +1493,8 @@ export interface PartialUpdateZoneRequest {
|
|
|
1763
1493
|
expireTime?: number;
|
|
1764
1494
|
/** optional extensions */
|
|
1765
1495
|
extensions?: ZoneExtensions;
|
|
1496
|
+
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
1497
|
+
labelsMap?: PartialUpdateZoneRequestLabelsMapMap;
|
|
1766
1498
|
/** user given name */
|
|
1767
1499
|
name?: string;
|
|
1768
1500
|
/** negative caching */
|
|
@@ -1784,6 +1516,7 @@ export const PartialUpdateZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1784
1516
|
description: S.optional(S.String),
|
|
1785
1517
|
expireTime: S.optional(S.Number),
|
|
1786
1518
|
extensions: S.optional(ZoneExtensions),
|
|
1519
|
+
labelsMap: S.optional(PartialUpdateZoneRequestLabelsMapMap),
|
|
1787
1520
|
name: S.optional(S.String),
|
|
1788
1521
|
negativeCache: S.optional(S.Number),
|
|
1789
1522
|
primaries: S.optional(PartialUpdateZoneRequestPrimariesList),
|
|
@@ -1797,9 +1530,7 @@ export const PartialUpdateZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1797
1530
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
1798
1531
|
}),
|
|
1799
1532
|
),
|
|
1800
|
-
).annotate({
|
|
1801
|
-
identifier: "PartialUpdateZoneRequest",
|
|
1802
|
-
}) as any as S.Schema<PartialUpdateZoneRequest>;
|
|
1533
|
+
).annotate({ identifier: "PartialUpdateZoneRequest" }) as any as S.Schema<PartialUpdateZoneRequest>;
|
|
1803
1534
|
|
|
1804
1535
|
export interface RestoreRecordSetRequest {
|
|
1805
1536
|
/** project id */
|
|
@@ -1822,9 +1553,7 @@ export const RestoreRecordSetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1822
1553
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
1823
1554
|
}),
|
|
1824
1555
|
),
|
|
1825
|
-
).annotate({
|
|
1826
|
-
identifier: "RestoreRecordSetRequest",
|
|
1827
|
-
}) as any as S.Schema<RestoreRecordSetRequest>;
|
|
1556
|
+
).annotate({ identifier: "RestoreRecordSetRequest" }) as any as S.Schema<RestoreRecordSetRequest>;
|
|
1828
1557
|
|
|
1829
1558
|
export interface RestoreZoneRequest {
|
|
1830
1559
|
/** project id */
|
|
@@ -1844,9 +1573,7 @@ export const RestoreZoneRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1844
1573
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
1845
1574
|
}),
|
|
1846
1575
|
),
|
|
1847
|
-
).annotate({
|
|
1848
|
-
identifier: "RestoreZoneRequest",
|
|
1849
|
-
}) as any as S.Schema<RestoreZoneRequest>;
|
|
1576
|
+
).annotate({ identifier: "RestoreZoneRequest" }) as any as S.Schema<RestoreZoneRequest>;
|
|
1850
1577
|
|
|
1851
1578
|
export interface ValidateMoveCodeRequest {
|
|
1852
1579
|
/** project id */
|
|
@@ -1869,9 +1596,7 @@ export const ValidateMoveCodeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1869
1596
|
baseUrl: "https://dns.api.stackit.cloud",
|
|
1870
1597
|
}),
|
|
1871
1598
|
),
|
|
1872
|
-
).annotate({
|
|
1873
|
-
identifier: "ValidateMoveCodeRequest",
|
|
1874
|
-
}) as any as S.Schema<ValidateMoveCodeRequest>;
|
|
1599
|
+
).annotate({ identifier: "ValidateMoveCodeRequest" }) as any as S.Schema<ValidateMoveCodeRequest>;
|
|
1875
1600
|
|
|
1876
1601
|
export type CloneZoneError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1877
1602
|
/** Clone an existing zone with all record sets to a new zone with a different name Clone an existing zone with all record sets to a new zone with a different name */
|
|
@@ -1888,21 +1613,6 @@ export const cloneZone: API.OperationMethod<
|
|
|
1888
1613
|
retry: Retry.Retry,
|
|
1889
1614
|
}));
|
|
1890
1615
|
|
|
1891
|
-
export type CreateLabelError = BadRequest | NotFound | StackitOpError;
|
|
1892
|
-
/** Create or update label Create or update label */
|
|
1893
|
-
export const createLabel: API.OperationMethod<
|
|
1894
|
-
CreateLabelRequest,
|
|
1895
|
-
CreateLabelResponse,
|
|
1896
|
-
CreateLabelError,
|
|
1897
|
-
StackitOpContext
|
|
1898
|
-
> = /*@__PURE__*/ API.make(() => ({
|
|
1899
|
-
input: CreateLabelRequest,
|
|
1900
|
-
output: CreateLabelResponse,
|
|
1901
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1902
|
-
protocol: StackitProtocol,
|
|
1903
|
-
retry: Retry.Retry,
|
|
1904
|
-
}));
|
|
1905
|
-
|
|
1906
1616
|
export type CreateMoveCodeError = BadRequest | Conflict | StackitOpError;
|
|
1907
1617
|
/** request a move code to move zone to another project move zone from one project to another */
|
|
1908
1618
|
export const createMoveCode: API.OperationMethod<
|
|
@@ -1918,11 +1628,7 @@ export const createMoveCode: API.OperationMethod<
|
|
|
1918
1628
|
retry: Retry.Retry,
|
|
1919
1629
|
}));
|
|
1920
1630
|
|
|
1921
|
-
export type CreateRecordSetError =
|
|
1922
|
-
| BadRequest
|
|
1923
|
-
| NotFound
|
|
1924
|
-
| Conflict
|
|
1925
|
-
| StackitOpError;
|
|
1631
|
+
export type CreateRecordSetError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
1926
1632
|
/** Post record set Post record set */
|
|
1927
1633
|
export const createRecordSet: API.OperationMethod<
|
|
1928
1634
|
CreateRecordSetRequest,
|
|
@@ -1952,25 +1658,6 @@ export const createZone: API.OperationMethod<
|
|
|
1952
1658
|
retry: Retry.Retry,
|
|
1953
1659
|
}));
|
|
1954
1660
|
|
|
1955
|
-
export type DeleteLabelError =
|
|
1956
|
-
| BadRequest
|
|
1957
|
-
| Forbidden
|
|
1958
|
-
| NotFound
|
|
1959
|
-
| StackitOpError;
|
|
1960
|
-
/** Delete a label Delete a label */
|
|
1961
|
-
export const deleteLabel: API.OperationMethod<
|
|
1962
|
-
DeleteLabelRequest,
|
|
1963
|
-
DeleteLabelResponse,
|
|
1964
|
-
DeleteLabelError,
|
|
1965
|
-
StackitOpContext
|
|
1966
|
-
> = /*@__PURE__*/ API.make(() => ({
|
|
1967
|
-
input: DeleteLabelRequest,
|
|
1968
|
-
output: DeleteLabelResponse,
|
|
1969
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1970
|
-
protocol: StackitProtocol,
|
|
1971
|
-
retry: Retry.Retry,
|
|
1972
|
-
}));
|
|
1973
|
-
|
|
1974
1661
|
export type DeleteMoveCodeError = BadRequest | NotFound | StackitOpError;
|
|
1975
1662
|
/** delete/invalidate a move code delete/invalidate a move code */
|
|
1976
1663
|
export const deleteMoveCode: API.OperationMethod<
|
|
@@ -2091,25 +1778,6 @@ export const importRecordSets: API.OperationMethod<
|
|
|
2091
1778
|
retry: Retry.Retry,
|
|
2092
1779
|
}));
|
|
2093
1780
|
|
|
2094
|
-
export type ListLabelsError =
|
|
2095
|
-
| BadRequest
|
|
2096
|
-
| Forbidden
|
|
2097
|
-
| NotFound
|
|
2098
|
-
| StackitOpError;
|
|
2099
|
-
/** Get all labels All Labels */
|
|
2100
|
-
export const listLabels: API.OperationMethod<
|
|
2101
|
-
ListLabelsRequest,
|
|
2102
|
-
ListLabelsResponse,
|
|
2103
|
-
ListLabelsError,
|
|
2104
|
-
StackitOpContext
|
|
2105
|
-
> = /*@__PURE__*/ API.make(() => ({
|
|
2106
|
-
input: ListLabelsRequest,
|
|
2107
|
-
output: ListLabelsResponse,
|
|
2108
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
2109
|
-
protocol: StackitProtocol,
|
|
2110
|
-
retry: Retry.Retry,
|
|
2111
|
-
}));
|
|
2112
|
-
|
|
2113
1781
|
export type ListRecordSetsError = BadRequest | NotFound | StackitOpError;
|
|
2114
1782
|
/** All get selected RRSets All RRSet */
|
|
2115
1783
|
export const listRecordSets: API.PaginatedOperationMethod<
|
|
@@ -2192,10 +1860,7 @@ export const partialUpdateRecord: API.OperationMethod<
|
|
|
2192
1860
|
retry: Retry.Retry,
|
|
2193
1861
|
}));
|
|
2194
1862
|
|
|
2195
|
-
export type PartialUpdateRecordSetError =
|
|
2196
|
-
| BadRequest
|
|
2197
|
-
| NotFound
|
|
2198
|
-
| StackitOpError;
|
|
1863
|
+
export type PartialUpdateRecordSetError = BadRequest | NotFound | StackitOpError;
|
|
2199
1864
|
/** Patch updates a record set Patch record set */
|
|
2200
1865
|
export const partialUpdateRecordSet: API.OperationMethod<
|
|
2201
1866
|
PartialUpdateRecordSetRequest,
|