@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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
1
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
4
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
5
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import * as API from "@distilled.cloud/core/api";
|
|
5
|
-
import * as C from "@distilled.cloud/core/category";
|
|
6
|
-
import * as T from "../traits.js";
|
|
7
|
-
import { StackitProtocol, } from "../protocol.js";
|
|
8
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
|
+
import { StackitProtocol } from "../protocol.js";
|
|
9
8
|
import * as Retry from "../retry.js";
|
|
9
|
+
import * as T from "../traits.js";
|
|
10
10
|
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
11
11
|
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
12
12
|
code: S.Number,
|
|
@@ -37,14 +37,12 @@ export class UnprocessableEntity extends /*@__PURE__*/ /*@__PURE__*/ T.applyErro
|
|
|
37
37
|
message: S.String,
|
|
38
38
|
}).pipe(C.withBadRequestError), [{ status: 422 }]) {
|
|
39
39
|
}
|
|
40
|
-
export const CloneInstanceRequestRegion =
|
|
40
|
+
export const CloneInstanceRequestRegion = S.String;
|
|
41
41
|
export const CloneInstanceOverrides = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
42
42
|
class: S.String,
|
|
43
43
|
name: S.optional(S.String),
|
|
44
44
|
size: S.Number,
|
|
45
|
-
})).annotate({
|
|
46
|
-
identifier: "CloneInstanceOverrides",
|
|
47
|
-
});
|
|
45
|
+
})).annotate({ identifier: "CloneInstanceOverrides" });
|
|
48
46
|
export const CloneInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
49
47
|
projectId: S.String.pipe(T.Label()),
|
|
50
48
|
region: CloneInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -56,15 +54,11 @@ export const CloneInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
56
54
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/clone",
|
|
57
55
|
code: 200,
|
|
58
56
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
59
|
-
}))).annotate({
|
|
60
|
-
identifier: "CloneInstanceRequest",
|
|
61
|
-
});
|
|
57
|
+
}))).annotate({ identifier: "CloneInstanceRequest" });
|
|
62
58
|
export const CloneInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
63
59
|
id: S.String,
|
|
64
|
-
})).annotate({
|
|
65
|
-
|
|
66
|
-
});
|
|
67
|
-
export const CreateDatabaseRequestRegion = /*@__PURE__*/ S.String;
|
|
60
|
+
})).annotate({ identifier: "CloneInstanceResponse" });
|
|
61
|
+
export const CreateDatabaseRequestRegion = S.String;
|
|
68
62
|
export const CreateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
69
63
|
projectId: S.String.pipe(T.Label()),
|
|
70
64
|
region: CreateDatabaseRequestRegion.pipe(T.Label()),
|
|
@@ -76,32 +70,24 @@ export const CreateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
76
70
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases",
|
|
77
71
|
code: 200,
|
|
78
72
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
79
|
-
}))).annotate({
|
|
80
|
-
identifier: "CreateDatabaseRequest",
|
|
81
|
-
});
|
|
73
|
+
}))).annotate({ identifier: "CreateDatabaseRequest" });
|
|
82
74
|
export const CreateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
83
75
|
id: S.Number,
|
|
84
|
-
})).annotate({
|
|
85
|
-
|
|
86
|
-
});
|
|
87
|
-
export const CreateInstanceRequestRegion = /*@__PURE__*/ S.String;
|
|
76
|
+
})).annotate({ identifier: "CreateDatabaseResponse" });
|
|
77
|
+
export const CreateInstanceRequestRegion = S.String;
|
|
88
78
|
export const InstanceEncryption = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
89
79
|
kekKeyId: S.String,
|
|
90
80
|
kekKeyRingId: S.String,
|
|
91
81
|
kekKeyVersion: S.String,
|
|
92
82
|
serviceAccount: S.String,
|
|
93
|
-
})).annotate({
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export const Labels = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
97
|
-
export const InstanceNetworkAccessScope = /*@__PURE__*/ S.String;
|
|
83
|
+
})).annotate({ identifier: "InstanceEncryption" });
|
|
84
|
+
export const Labels = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
85
|
+
export const InstanceNetworkAccessScope = S.String;
|
|
98
86
|
export const Acl = /*@__PURE__*/ S.Array(S.String);
|
|
99
87
|
export const InstanceNetworkCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
100
88
|
accessScope: S.optional(InstanceNetworkAccessScope),
|
|
101
89
|
acl: Acl,
|
|
102
|
-
})).annotate({
|
|
103
|
-
identifier: "InstanceNetworkCreate",
|
|
104
|
-
});
|
|
90
|
+
})).annotate({ identifier: "InstanceNetworkCreate" });
|
|
105
91
|
export const StorageCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
106
92
|
class: S.String,
|
|
107
93
|
size: S.Number,
|
|
@@ -123,15 +109,11 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
123
109
|
uri: "/v3/projects/{projectId}/regions/{region}/instances",
|
|
124
110
|
code: 200,
|
|
125
111
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
126
|
-
}))).annotate({
|
|
127
|
-
identifier: "CreateInstanceRequest",
|
|
128
|
-
});
|
|
112
|
+
}))).annotate({ identifier: "CreateInstanceRequest" });
|
|
129
113
|
export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
130
114
|
id: S.String,
|
|
131
|
-
})).annotate({
|
|
132
|
-
|
|
133
|
-
});
|
|
134
|
-
export const CreateUserRequestRegion = /*@__PURE__*/ S.String;
|
|
115
|
+
})).annotate({ identifier: "CreateInstanceResponse" });
|
|
116
|
+
export const CreateUserRequestRegion = S.String;
|
|
135
117
|
export const CreateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
136
118
|
export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
137
119
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -144,18 +126,14 @@ export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
144
126
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users",
|
|
145
127
|
code: 200,
|
|
146
128
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
147
|
-
}))).annotate({
|
|
148
|
-
identifier: "CreateUserRequest",
|
|
149
|
-
});
|
|
129
|
+
}))).annotate({ identifier: "CreateUserRequest" });
|
|
150
130
|
export const CreateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
151
131
|
id: S.Number,
|
|
152
132
|
name: S.String,
|
|
153
133
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
154
134
|
state: S.String,
|
|
155
|
-
})).annotate({
|
|
156
|
-
|
|
157
|
-
});
|
|
158
|
-
export const DeleteDatabaseRequestRegion = /*@__PURE__*/ S.String;
|
|
135
|
+
})).annotate({ identifier: "CreateUserResponse" });
|
|
136
|
+
export const DeleteDatabaseRequestRegion = S.String;
|
|
159
137
|
export const DeleteDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
160
138
|
projectId: S.String.pipe(T.Label()),
|
|
161
139
|
region: DeleteDatabaseRequestRegion.pipe(T.Label()),
|
|
@@ -166,13 +144,11 @@ export const DeleteDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
166
144
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",
|
|
167
145
|
code: 200,
|
|
168
146
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
169
|
-
}))).annotate({
|
|
170
|
-
identifier: "DeleteDatabaseRequest",
|
|
171
|
-
});
|
|
147
|
+
}))).annotate({ identifier: "DeleteDatabaseRequest" });
|
|
172
148
|
export const DeleteDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
173
149
|
identifier: "DeleteDatabaseResponse",
|
|
174
150
|
});
|
|
175
|
-
export const DeleteInstanceRequestRegion =
|
|
151
|
+
export const DeleteInstanceRequestRegion = S.String;
|
|
176
152
|
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
177
153
|
projectId: S.String.pipe(T.Label()),
|
|
178
154
|
region: DeleteInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -182,13 +158,11 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
182
158
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
183
159
|
code: 200,
|
|
184
160
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
185
|
-
}))).annotate({
|
|
186
|
-
identifier: "DeleteInstanceRequest",
|
|
187
|
-
});
|
|
161
|
+
}))).annotate({ identifier: "DeleteInstanceRequest" });
|
|
188
162
|
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
189
163
|
identifier: "DeleteInstanceResponse",
|
|
190
164
|
});
|
|
191
|
-
export const DeleteUserRequestRegion =
|
|
165
|
+
export const DeleteUserRequestRegion = S.String;
|
|
192
166
|
export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
193
167
|
projectId: S.String.pipe(T.Label()),
|
|
194
168
|
region: DeleteUserRequestRegion.pipe(T.Label()),
|
|
@@ -199,13 +173,11 @@ export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
199
173
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
200
174
|
code: 200,
|
|
201
175
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
202
|
-
}))).annotate({
|
|
203
|
-
identifier: "DeleteUserRequest",
|
|
204
|
-
});
|
|
176
|
+
}))).annotate({ identifier: "DeleteUserRequest" });
|
|
205
177
|
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
206
178
|
identifier: "DeleteUserResponse",
|
|
207
179
|
});
|
|
208
|
-
export const GetBackupRequestRegion =
|
|
180
|
+
export const GetBackupRequestRegion = S.String;
|
|
209
181
|
export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
210
182
|
projectId: S.String.pipe(T.Label()),
|
|
211
183
|
region: GetBackupRequestRegion.pipe(T.Label()),
|
|
@@ -216,9 +188,7 @@ export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
216
188
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/backups/{backupId}",
|
|
217
189
|
code: 200,
|
|
218
190
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
219
|
-
}))).annotate({
|
|
220
|
-
identifier: "GetBackupRequest",
|
|
221
|
-
});
|
|
191
|
+
}))).annotate({ identifier: "GetBackupRequest" });
|
|
222
192
|
export const BackupData = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
223
193
|
completionTime: S.String,
|
|
224
194
|
id: S.Number,
|
|
@@ -227,7 +197,7 @@ export const BackupData = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
227
197
|
size: S.Number,
|
|
228
198
|
type: S.String,
|
|
229
199
|
})).annotate({ identifier: "BackupData" });
|
|
230
|
-
export const GetDatabaseRequestRegion =
|
|
200
|
+
export const GetDatabaseRequestRegion = S.String;
|
|
231
201
|
export const GetDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
232
202
|
projectId: S.String.pipe(T.Label()),
|
|
233
203
|
region: GetDatabaseRequestRegion.pipe(T.Label()),
|
|
@@ -238,17 +208,13 @@ export const GetDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
238
208
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",
|
|
239
209
|
code: 200,
|
|
240
210
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
241
|
-
}))).annotate({
|
|
242
|
-
identifier: "GetDatabaseRequest",
|
|
243
|
-
});
|
|
211
|
+
}))).annotate({ identifier: "GetDatabaseRequest" });
|
|
244
212
|
export const GetDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
245
213
|
id: S.Number,
|
|
246
214
|
name: S.String,
|
|
247
215
|
owner: S.String,
|
|
248
|
-
})).annotate({
|
|
249
|
-
|
|
250
|
-
});
|
|
251
|
-
export const GetInstanceRequestRegion = /*@__PURE__*/ S.String;
|
|
216
|
+
})).annotate({ identifier: "GetDatabaseResponse" });
|
|
217
|
+
export const GetInstanceRequestRegion = S.String;
|
|
252
218
|
export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
253
219
|
projectId: S.String.pipe(T.Label()),
|
|
254
220
|
region: GetInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -258,9 +224,7 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
258
224
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
259
225
|
code: 200,
|
|
260
226
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
261
|
-
}))).annotate({
|
|
262
|
-
identifier: "GetInstanceRequest",
|
|
263
|
-
});
|
|
227
|
+
}))).annotate({ identifier: "GetInstanceRequest" });
|
|
264
228
|
export const InstanceConnectionInfoWrite = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
265
229
|
host: S.String,
|
|
266
230
|
port: S.Number,
|
|
@@ -269,18 +233,14 @@ export const InstanceConnectionInfoWrite = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
269
233
|
});
|
|
270
234
|
export const InstanceConnectionInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
271
235
|
write: InstanceConnectionInfoWrite,
|
|
272
|
-
})).annotate({
|
|
273
|
-
identifier: "InstanceConnectionInfo",
|
|
274
|
-
});
|
|
236
|
+
})).annotate({ identifier: "InstanceConnectionInfo" });
|
|
275
237
|
export const InstanceNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
276
238
|
accessScope: S.optional(InstanceNetworkAccessScope),
|
|
277
239
|
acl: Acl,
|
|
278
240
|
instanceAddress: S.optional(S.String),
|
|
279
241
|
routerAddress: S.optional(S.String),
|
|
280
|
-
})).annotate({
|
|
281
|
-
|
|
282
|
-
});
|
|
283
|
-
export const State = /*@__PURE__*/ S.String;
|
|
242
|
+
})).annotate({ identifier: "InstanceNetwork" });
|
|
243
|
+
export const State = S.String;
|
|
284
244
|
export const Storage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
285
245
|
class: S.optional(S.String),
|
|
286
246
|
size: S.optional(S.Number),
|
|
@@ -299,10 +259,8 @@ export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
299
259
|
state: State,
|
|
300
260
|
storage: Storage,
|
|
301
261
|
version: S.String,
|
|
302
|
-
})).annotate({
|
|
303
|
-
|
|
304
|
-
});
|
|
305
|
-
export const GetUserRequestRegion = /*@__PURE__*/ S.String;
|
|
262
|
+
})).annotate({ identifier: "GetInstanceResponse" });
|
|
263
|
+
export const GetUserRequestRegion = S.String;
|
|
306
264
|
export const GetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
307
265
|
projectId: S.String.pipe(T.Label()),
|
|
308
266
|
region: GetUserRequestRegion.pipe(T.Label()),
|
|
@@ -320,11 +278,9 @@ export const GetUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
320
278
|
name: S.String,
|
|
321
279
|
roles: GetUserResponseRolesList,
|
|
322
280
|
state: S.String,
|
|
323
|
-
})).annotate({
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
export const ListBackupsRequestRegion = /*@__PURE__*/ S.String;
|
|
327
|
-
export const BackupSort = /*@__PURE__*/ S.String;
|
|
281
|
+
})).annotate({ identifier: "GetUserResponse" });
|
|
282
|
+
export const ListBackupsRequestRegion = S.String;
|
|
283
|
+
export const BackupSort = S.String;
|
|
328
284
|
export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
329
285
|
projectId: S.String.pipe(T.Label()),
|
|
330
286
|
region: ListBackupsRequestRegion.pipe(T.Label()),
|
|
@@ -337,9 +293,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
337
293
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/backups",
|
|
338
294
|
code: 200,
|
|
339
295
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
340
|
-
}))).annotate({
|
|
341
|
-
identifier: "ListBackupsRequest",
|
|
342
|
-
});
|
|
296
|
+
}))).annotate({ identifier: "ListBackupsRequest" });
|
|
343
297
|
export const ListBackupsResponseBackupsList = /*@__PURE__*/ S.Array(BackupData);
|
|
344
298
|
export const Pagination = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
345
299
|
page: S.Number,
|
|
@@ -351,10 +305,8 @@ export const Pagination = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
351
305
|
export const ListBackupsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
352
306
|
backups: ListBackupsResponseBackupsList,
|
|
353
307
|
pagination: Pagination,
|
|
354
|
-
})).annotate({
|
|
355
|
-
|
|
356
|
-
});
|
|
357
|
-
export const ListCollationsRequestRegion = /*@__PURE__*/ S.String;
|
|
308
|
+
})).annotate({ identifier: "ListBackupsResponse" });
|
|
309
|
+
export const ListCollationsRequestRegion = S.String;
|
|
358
310
|
export const ListCollationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
359
311
|
projectId: S.String.pipe(T.Label()),
|
|
360
312
|
region: ListCollationsRequestRegion.pipe(T.Label()),
|
|
@@ -364,17 +316,13 @@ export const ListCollationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
364
316
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/collations",
|
|
365
317
|
code: 200,
|
|
366
318
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
367
|
-
}))).annotate({
|
|
368
|
-
identifier: "ListCollationsRequest",
|
|
369
|
-
});
|
|
319
|
+
}))).annotate({ identifier: "ListCollationsRequest" });
|
|
370
320
|
export const ListCollationsResponseCollationsList = /*@__PURE__*/ S.Array(S.String);
|
|
371
321
|
export const ListCollationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
372
322
|
collations: ListCollationsResponseCollationsList,
|
|
373
|
-
})).annotate({
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
export const ListDatabasesRequestRegion = /*@__PURE__*/ S.String;
|
|
377
|
-
export const DatabaseSort = /*@__PURE__*/ S.String;
|
|
323
|
+
})).annotate({ identifier: "ListCollationsResponse" });
|
|
324
|
+
export const ListDatabasesRequestRegion = S.String;
|
|
325
|
+
export const DatabaseSort = S.String;
|
|
378
326
|
export const ListDatabasesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
379
327
|
projectId: S.String.pipe(T.Label()),
|
|
380
328
|
region: ListDatabasesRequestRegion.pipe(T.Label()),
|
|
@@ -387,9 +335,7 @@ export const ListDatabasesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
387
335
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases",
|
|
388
336
|
code: 200,
|
|
389
337
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
390
|
-
}))).annotate({
|
|
391
|
-
identifier: "ListDatabasesRequest",
|
|
392
|
-
});
|
|
338
|
+
}))).annotate({ identifier: "ListDatabasesRequest" });
|
|
393
339
|
export const ListDatabase = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
394
340
|
id: S.Number,
|
|
395
341
|
name: S.String,
|
|
@@ -399,11 +345,9 @@ export const ListDatabasesResponseDatabasesList = /*@__PURE__*/ S.Array(ListData
|
|
|
399
345
|
export const ListDatabasesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
400
346
|
databases: ListDatabasesResponseDatabasesList,
|
|
401
347
|
pagination: Pagination,
|
|
402
|
-
})).annotate({
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
export const ListFlavorsRequestRegion = /*@__PURE__*/ S.String;
|
|
406
|
-
export const FlavorSort = /*@__PURE__*/ S.String;
|
|
348
|
+
})).annotate({ identifier: "ListDatabasesResponse" });
|
|
349
|
+
export const ListFlavorsRequestRegion = S.String;
|
|
350
|
+
export const FlavorSort = S.String;
|
|
407
351
|
export const ListFlavorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
408
352
|
projectId: S.String.pipe(T.Label()),
|
|
409
353
|
region: ListFlavorsRequestRegion.pipe(T.Label()),
|
|
@@ -415,9 +359,7 @@ export const ListFlavorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
415
359
|
uri: "/v3/projects/{projectId}/regions/{region}/flavors",
|
|
416
360
|
code: 200,
|
|
417
361
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
418
|
-
}))).annotate({
|
|
419
|
-
identifier: "ListFlavorsRequest",
|
|
420
|
-
});
|
|
362
|
+
}))).annotate({ identifier: "ListFlavorsRequest" });
|
|
421
363
|
export const FlavorStorageClassesStorageClass = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
422
364
|
class: S.String,
|
|
423
365
|
maxIoPerSec: S.Number,
|
|
@@ -440,11 +382,9 @@ export const ListFlavorsResponseFlavorsList = /*@__PURE__*/ S.Array(ListFlavors)
|
|
|
440
382
|
export const ListFlavorsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
441
383
|
flavors: ListFlavorsResponseFlavorsList,
|
|
442
384
|
pagination: Pagination,
|
|
443
|
-
})).annotate({
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
export const ListInstancesRequestRegion = /*@__PURE__*/ S.String;
|
|
447
|
-
export const InstanceSort = /*@__PURE__*/ S.String;
|
|
385
|
+
})).annotate({ identifier: "ListFlavorsResponse" });
|
|
386
|
+
export const ListInstancesRequestRegion = S.String;
|
|
387
|
+
export const InstanceSort = S.String;
|
|
448
388
|
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
449
389
|
projectId: S.String.pipe(T.Label()),
|
|
450
390
|
region: ListInstancesRequestRegion.pipe(T.Label()),
|
|
@@ -456,9 +396,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
456
396
|
uri: "/v3/projects/{projectId}/regions/{region}/instances",
|
|
457
397
|
code: 200,
|
|
458
398
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
459
|
-
}))).annotate({
|
|
460
|
-
identifier: "ListInstancesRequest",
|
|
461
|
-
});
|
|
399
|
+
}))).annotate({ identifier: "ListInstancesRequest" });
|
|
462
400
|
export const ListInstance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
463
401
|
id: S.String,
|
|
464
402
|
isDeletable: S.Boolean,
|
|
@@ -469,10 +407,8 @@ export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(ListInst
|
|
|
469
407
|
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
470
408
|
instances: ListInstancesResponseInstancesList,
|
|
471
409
|
pagination: Pagination,
|
|
472
|
-
})).annotate({
|
|
473
|
-
|
|
474
|
-
});
|
|
475
|
-
export const ListRolesRequestRegion = /*@__PURE__*/ S.String;
|
|
410
|
+
})).annotate({ identifier: "ListInstancesResponse" });
|
|
411
|
+
export const ListRolesRequestRegion = S.String;
|
|
476
412
|
export const ListRolesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
477
413
|
projectId: S.String.pipe(T.Label()),
|
|
478
414
|
region: ListRolesRequestRegion.pipe(T.Label()),
|
|
@@ -482,17 +418,13 @@ export const ListRolesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
482
418
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/roles",
|
|
483
419
|
code: 200,
|
|
484
420
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
485
|
-
}))).annotate({
|
|
486
|
-
identifier: "ListRolesRequest",
|
|
487
|
-
});
|
|
421
|
+
}))).annotate({ identifier: "ListRolesRequest" });
|
|
488
422
|
export const ListRolesResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
489
423
|
export const ListRolesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
490
424
|
roles: ListRolesResponseRolesList,
|
|
491
|
-
})).annotate({
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
export const ListUsersRequestRegion = /*@__PURE__*/ S.String;
|
|
495
|
-
export const UserSort = /*@__PURE__*/ S.String;
|
|
425
|
+
})).annotate({ identifier: "ListRolesResponse" });
|
|
426
|
+
export const ListUsersRequestRegion = S.String;
|
|
427
|
+
export const UserSort = S.String;
|
|
496
428
|
export const ListUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
497
429
|
projectId: S.String.pipe(T.Label()),
|
|
498
430
|
region: ListUsersRequestRegion.pipe(T.Label()),
|
|
@@ -505,9 +437,7 @@ export const ListUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
505
437
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users",
|
|
506
438
|
code: 200,
|
|
507
439
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
508
|
-
}))).annotate({
|
|
509
|
-
identifier: "ListUsersRequest",
|
|
510
|
-
});
|
|
440
|
+
}))).annotate({ identifier: "ListUsersRequest" });
|
|
511
441
|
export const ListUser = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
512
442
|
id: S.Number,
|
|
513
443
|
name: S.String,
|
|
@@ -517,10 +447,8 @@ export const ListUsersResponseUsersList = /*@__PURE__*/ S.Array(ListUser);
|
|
|
517
447
|
export const ListUsersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
518
448
|
pagination: Pagination,
|
|
519
449
|
users: ListUsersResponseUsersList,
|
|
520
|
-
})).annotate({
|
|
521
|
-
|
|
522
|
-
});
|
|
523
|
-
export const ListVersionsRequestRegion = /*@__PURE__*/ S.String;
|
|
450
|
+
})).annotate({ identifier: "ListUsersResponse" });
|
|
451
|
+
export const ListVersionsRequestRegion = S.String;
|
|
524
452
|
export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
525
453
|
projectId: S.String.pipe(T.Label()),
|
|
526
454
|
region: ListVersionsRequestRegion.pipe(T.Label()),
|
|
@@ -529,9 +457,7 @@ export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
529
457
|
uri: "/v3/projects/{projectId}/regions/{region}/versions",
|
|
530
458
|
code: 200,
|
|
531
459
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
532
|
-
}))).annotate({
|
|
533
|
-
identifier: "ListVersionsRequest",
|
|
534
|
-
});
|
|
460
|
+
}))).annotate({ identifier: "ListVersionsRequest" });
|
|
535
461
|
export const Version = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
536
462
|
beta: S.Boolean,
|
|
537
463
|
deprecated: S.String,
|
|
@@ -541,10 +467,8 @@ export const Version = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
541
467
|
export const ListVersionsResponseVersionsList = /*@__PURE__*/ S.Array(Version);
|
|
542
468
|
export const ListVersionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
543
469
|
versions: ListVersionsResponseVersionsList,
|
|
544
|
-
})).annotate({
|
|
545
|
-
|
|
546
|
-
});
|
|
547
|
-
export const PartialUpdateDatabaseRequestRegion = /*@__PURE__*/ S.String;
|
|
470
|
+
})).annotate({ identifier: "ListVersionsResponse" });
|
|
471
|
+
export const PartialUpdateDatabaseRequestRegion = S.String;
|
|
548
472
|
export const PartialUpdateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
549
473
|
projectId: S.String.pipe(T.Label()),
|
|
550
474
|
region: PartialUpdateDatabaseRequestRegion.pipe(T.Label()),
|
|
@@ -563,13 +487,11 @@ export const PartialUpdateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
563
487
|
export const PartialUpdateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
564
488
|
identifier: "PartialUpdateDatabaseResponse",
|
|
565
489
|
});
|
|
566
|
-
export const PartialUpdateInstanceRequestRegion =
|
|
490
|
+
export const PartialUpdateInstanceRequestRegion = S.String;
|
|
567
491
|
export const AclOpt = /*@__PURE__*/ S.Array(S.String);
|
|
568
492
|
export const InstanceNetworkOpt = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
569
493
|
acl: S.optional(AclOpt),
|
|
570
|
-
})).annotate({
|
|
571
|
-
identifier: "InstanceNetworkOpt",
|
|
572
|
-
});
|
|
494
|
+
})).annotate({ identifier: "InstanceNetworkOpt" });
|
|
573
495
|
export const StorageUpdate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
574
496
|
size: S.optional(S.Number),
|
|
575
497
|
})).annotate({ identifier: "StorageUpdate" });
|
|
@@ -596,7 +518,7 @@ export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
596
518
|
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
597
519
|
identifier: "PartialUpdateInstanceResponse",
|
|
598
520
|
});
|
|
599
|
-
export const PartialUpdateUserRequestRegion =
|
|
521
|
+
export const PartialUpdateUserRequestRegion = S.String;
|
|
600
522
|
export const PartialUpdateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
601
523
|
export const PartialUpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
602
524
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -610,13 +532,11 @@ export const PartialUpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
610
532
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
611
533
|
code: 200,
|
|
612
534
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
613
|
-
}))).annotate({
|
|
614
|
-
identifier: "PartialUpdateUserRequest",
|
|
615
|
-
});
|
|
535
|
+
}))).annotate({ identifier: "PartialUpdateUserRequest" });
|
|
616
536
|
export const PartialUpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
617
537
|
identifier: "PartialUpdateUserResponse",
|
|
618
538
|
});
|
|
619
|
-
export const ResetUserPasswordRequestRegion =
|
|
539
|
+
export const ResetUserPasswordRequestRegion = S.String;
|
|
620
540
|
export const ResetUserPasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
621
541
|
projectId: S.String.pipe(T.Label()),
|
|
622
542
|
region: ResetUserPasswordRequestRegion.pipe(T.Label()),
|
|
@@ -627,9 +547,7 @@ export const ResetUserPasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
627
547
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}/reset",
|
|
628
548
|
code: 200,
|
|
629
549
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
630
|
-
}))).annotate({
|
|
631
|
-
identifier: "ResetUserPasswordRequest",
|
|
632
|
-
});
|
|
550
|
+
}))).annotate({ identifier: "ResetUserPasswordRequest" });
|
|
633
551
|
export const ResetUserPasswordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
634
552
|
name: S.String,
|
|
635
553
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
@@ -637,7 +555,7 @@ export const ResetUserPasswordResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
637
555
|
})).annotate({
|
|
638
556
|
identifier: "ResetUserPasswordResponse",
|
|
639
557
|
});
|
|
640
|
-
export const UpdateDatabaseRequestRegion =
|
|
558
|
+
export const UpdateDatabaseRequestRegion = S.String;
|
|
641
559
|
export const UpdateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
642
560
|
projectId: S.String.pipe(T.Label()),
|
|
643
561
|
region: UpdateDatabaseRequestRegion.pipe(T.Label()),
|
|
@@ -650,18 +568,14 @@ export const UpdateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
650
568
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",
|
|
651
569
|
code: 200,
|
|
652
570
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
653
|
-
}))).annotate({
|
|
654
|
-
identifier: "UpdateDatabaseRequest",
|
|
655
|
-
});
|
|
571
|
+
}))).annotate({ identifier: "UpdateDatabaseRequest" });
|
|
656
572
|
export const UpdateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
657
573
|
identifier: "UpdateDatabaseResponse",
|
|
658
574
|
});
|
|
659
|
-
export const UpdateInstanceRequestRegion =
|
|
575
|
+
export const UpdateInstanceRequestRegion = S.String;
|
|
660
576
|
export const InstanceNetworkUpdate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
661
577
|
acl: Acl,
|
|
662
|
-
})).annotate({
|
|
663
|
-
identifier: "InstanceNetworkUpdate",
|
|
664
|
-
});
|
|
578
|
+
})).annotate({ identifier: "InstanceNetworkUpdate" });
|
|
665
579
|
export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
666
580
|
projectId: S.String.pipe(T.Label()),
|
|
667
581
|
region: UpdateInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -679,13 +593,11 @@ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
679
593
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
680
594
|
code: 200,
|
|
681
595
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
682
|
-
}))).annotate({
|
|
683
|
-
identifier: "UpdateInstanceRequest",
|
|
684
|
-
});
|
|
596
|
+
}))).annotate({ identifier: "UpdateInstanceRequest" });
|
|
685
597
|
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
686
598
|
identifier: "UpdateInstanceResponse",
|
|
687
599
|
});
|
|
688
|
-
export const UpdateInstanceProtectionRequestRegion =
|
|
600
|
+
export const UpdateInstanceProtectionRequestRegion = S.String;
|
|
689
601
|
export const UpdateInstanceProtectionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
690
602
|
projectId: S.String.pipe(T.Label()),
|
|
691
603
|
region: UpdateInstanceProtectionRequestRegion.pipe(T.Label()),
|
|
@@ -704,7 +616,7 @@ export const UpdateInstanceProtectionResponse = /*@__PURE__*/ S.suspend(() => S.
|
|
|
704
616
|
})).annotate({
|
|
705
617
|
identifier: "UpdateInstanceProtectionResponse",
|
|
706
618
|
});
|
|
707
|
-
export const UpdateUserRequestRegion =
|
|
619
|
+
export const UpdateUserRequestRegion = S.String;
|
|
708
620
|
export const UpdateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
709
621
|
export const UpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
710
622
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -718,9 +630,7 @@ export const UpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
718
630
|
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
719
631
|
code: 200,
|
|
720
632
|
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
721
|
-
}))).annotate({
|
|
722
|
-
identifier: "UpdateUserRequest",
|
|
723
|
-
});
|
|
633
|
+
}))).annotate({ identifier: "UpdateUserRequest" });
|
|
724
634
|
export const UpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
725
635
|
identifier: "UpdateUserResponse",
|
|
726
636
|
});
|
|
@@ -728,14 +638,7 @@ export const UpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).an
|
|
|
728
638
|
export const cloneInstance = /*@__PURE__*/ API.make(() => ({
|
|
729
639
|
input: CloneInstanceRequest,
|
|
730
640
|
output: CloneInstanceResponse,
|
|
731
|
-
errors: [
|
|
732
|
-
BadRequest,
|
|
733
|
-
Forbidden,
|
|
734
|
-
NotFound,
|
|
735
|
-
Conflict,
|
|
736
|
-
UnprocessableEntity,
|
|
737
|
-
UnknownStackitError,
|
|
738
|
-
],
|
|
641
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
739
642
|
protocol: StackitProtocol,
|
|
740
643
|
retry: Retry.Retry,
|
|
741
644
|
}));
|
|
@@ -743,14 +646,7 @@ export const cloneInstance = /*@__PURE__*/ API.make(() => ({
|
|
|
743
646
|
export const createDatabase = /*@__PURE__*/ API.make(() => ({
|
|
744
647
|
input: CreateDatabaseRequest,
|
|
745
648
|
output: CreateDatabaseResponse,
|
|
746
|
-
errors: [
|
|
747
|
-
BadRequest,
|
|
748
|
-
Forbidden,
|
|
749
|
-
NotFound,
|
|
750
|
-
Conflict,
|
|
751
|
-
UnprocessableEntity,
|
|
752
|
-
UnknownStackitError,
|
|
753
|
-
],
|
|
649
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
754
650
|
protocol: StackitProtocol,
|
|
755
651
|
retry: Retry.Retry,
|
|
756
652
|
}));
|
|
@@ -758,13 +654,7 @@ export const createDatabase = /*@__PURE__*/ API.make(() => ({
|
|
|
758
654
|
export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
759
655
|
input: CreateInstanceRequest,
|
|
760
656
|
output: CreateInstanceResponse,
|
|
761
|
-
errors: [
|
|
762
|
-
BadRequest,
|
|
763
|
-
Forbidden,
|
|
764
|
-
NotFound,
|
|
765
|
-
UnprocessableEntity,
|
|
766
|
-
UnknownStackitError,
|
|
767
|
-
],
|
|
657
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
768
658
|
protocol: StackitProtocol,
|
|
769
659
|
retry: Retry.Retry,
|
|
770
660
|
}));
|
|
@@ -772,14 +662,7 @@ export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
|
772
662
|
export const createUser = /*@__PURE__*/ API.make(() => ({
|
|
773
663
|
input: CreateUserRequest,
|
|
774
664
|
output: CreateUserResponse,
|
|
775
|
-
errors: [
|
|
776
|
-
BadRequest,
|
|
777
|
-
Forbidden,
|
|
778
|
-
NotFound,
|
|
779
|
-
Conflict,
|
|
780
|
-
UnprocessableEntity,
|
|
781
|
-
UnknownStackitError,
|
|
782
|
-
],
|
|
665
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
783
666
|
protocol: StackitProtocol,
|
|
784
667
|
retry: Retry.Retry,
|
|
785
668
|
}));
|
|
@@ -907,13 +790,7 @@ export const listVersions = /*@__PURE__*/ API.make(() => ({
|
|
|
907
790
|
export const partialUpdateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
908
791
|
input: PartialUpdateDatabaseRequest,
|
|
909
792
|
output: PartialUpdateDatabaseResponse,
|
|
910
|
-
errors: [
|
|
911
|
-
BadRequest,
|
|
912
|
-
Forbidden,
|
|
913
|
-
NotFound,
|
|
914
|
-
UnprocessableEntity,
|
|
915
|
-
UnknownStackitError,
|
|
916
|
-
],
|
|
793
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
917
794
|
protocol: StackitProtocol,
|
|
918
795
|
retry: Retry.Retry,
|
|
919
796
|
}));
|
|
@@ -921,13 +798,7 @@ export const partialUpdateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
|
921
798
|
export const partialUpdateInstance = /*@__PURE__*/ API.make(() => ({
|
|
922
799
|
input: PartialUpdateInstanceRequest,
|
|
923
800
|
output: PartialUpdateInstanceResponse,
|
|
924
|
-
errors: [
|
|
925
|
-
BadRequest,
|
|
926
|
-
Forbidden,
|
|
927
|
-
NotFound,
|
|
928
|
-
UnprocessableEntity,
|
|
929
|
-
UnknownStackitError,
|
|
930
|
-
],
|
|
801
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
931
802
|
protocol: StackitProtocol,
|
|
932
803
|
retry: Retry.Retry,
|
|
933
804
|
}));
|
|
@@ -935,13 +806,7 @@ export const partialUpdateInstance = /*@__PURE__*/ API.make(() => ({
|
|
|
935
806
|
export const partialUpdateUser = /*@__PURE__*/ API.make(() => ({
|
|
936
807
|
input: PartialUpdateUserRequest,
|
|
937
808
|
output: PartialUpdateUserResponse,
|
|
938
|
-
errors: [
|
|
939
|
-
BadRequest,
|
|
940
|
-
Forbidden,
|
|
941
|
-
NotFound,
|
|
942
|
-
UnprocessableEntity,
|
|
943
|
-
UnknownStackitError,
|
|
944
|
-
],
|
|
809
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
945
810
|
protocol: StackitProtocol,
|
|
946
811
|
retry: Retry.Retry,
|
|
947
812
|
}));
|
|
@@ -949,13 +814,7 @@ export const partialUpdateUser = /*@__PURE__*/ API.make(() => ({
|
|
|
949
814
|
export const resetUserPassword = /*@__PURE__*/ API.make(() => ({
|
|
950
815
|
input: ResetUserPasswordRequest,
|
|
951
816
|
output: ResetUserPasswordResponse,
|
|
952
|
-
errors: [
|
|
953
|
-
BadRequest,
|
|
954
|
-
Forbidden,
|
|
955
|
-
NotFound,
|
|
956
|
-
UnprocessableEntity,
|
|
957
|
-
UnknownStackitError,
|
|
958
|
-
],
|
|
817
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
959
818
|
protocol: StackitProtocol,
|
|
960
819
|
retry: Retry.Retry,
|
|
961
820
|
}));
|
|
@@ -963,13 +822,7 @@ export const resetUserPassword = /*@__PURE__*/ API.make(() => ({
|
|
|
963
822
|
export const updateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
964
823
|
input: UpdateDatabaseRequest,
|
|
965
824
|
output: UpdateDatabaseResponse,
|
|
966
|
-
errors: [
|
|
967
|
-
BadRequest,
|
|
968
|
-
Forbidden,
|
|
969
|
-
NotFound,
|
|
970
|
-
UnprocessableEntity,
|
|
971
|
-
UnknownStackitError,
|
|
972
|
-
],
|
|
825
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
973
826
|
protocol: StackitProtocol,
|
|
974
827
|
retry: Retry.Retry,
|
|
975
828
|
}));
|
|
@@ -977,13 +830,7 @@ export const updateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
|
977
830
|
export const updateInstance = /*@__PURE__*/ API.make(() => ({
|
|
978
831
|
input: UpdateInstanceRequest,
|
|
979
832
|
output: UpdateInstanceResponse,
|
|
980
|
-
errors: [
|
|
981
|
-
BadRequest,
|
|
982
|
-
Forbidden,
|
|
983
|
-
NotFound,
|
|
984
|
-
UnprocessableEntity,
|
|
985
|
-
UnknownStackitError,
|
|
986
|
-
],
|
|
833
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
987
834
|
protocol: StackitProtocol,
|
|
988
835
|
retry: Retry.Retry,
|
|
989
836
|
}));
|
|
@@ -991,13 +838,7 @@ export const updateInstance = /*@__PURE__*/ API.make(() => ({
|
|
|
991
838
|
export const updateInstanceProtection = /*@__PURE__*/ API.make(() => ({
|
|
992
839
|
input: UpdateInstanceProtectionRequest,
|
|
993
840
|
output: UpdateInstanceProtectionResponse,
|
|
994
|
-
errors: [
|
|
995
|
-
BadRequest,
|
|
996
|
-
Forbidden,
|
|
997
|
-
NotFound,
|
|
998
|
-
UnprocessableEntity,
|
|
999
|
-
UnknownStackitError,
|
|
1000
|
-
],
|
|
841
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1001
842
|
protocol: StackitProtocol,
|
|
1002
843
|
retry: Retry.Retry,
|
|
1003
844
|
}));
|
|
@@ -1005,13 +846,7 @@ export const updateInstanceProtection = /*@__PURE__*/ API.make(() => ({
|
|
|
1005
846
|
export const updateUser = /*@__PURE__*/ API.make(() => ({
|
|
1006
847
|
input: UpdateUserRequest,
|
|
1007
848
|
output: UpdateUserResponse,
|
|
1008
|
-
errors: [
|
|
1009
|
-
BadRequest,
|
|
1010
|
-
Forbidden,
|
|
1011
|
-
NotFound,
|
|
1012
|
-
UnprocessableEntity,
|
|
1013
|
-
UnknownStackitError,
|
|
1014
|
-
],
|
|
849
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1015
850
|
protocol: StackitProtocol,
|
|
1016
851
|
retry: Retry.Retry,
|
|
1017
852
|
}));
|