@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
|
@@ -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,
|
|
@@ -25,7 +25,7 @@ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
|
25
25
|
message: S.String,
|
|
26
26
|
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
27
27
|
}
|
|
28
|
-
export const CloneInstanceRequestRegion =
|
|
28
|
+
export const CloneInstanceRequestRegion = S.String;
|
|
29
29
|
export const CloneInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
30
30
|
projectId: S.String.pipe(T.Label()),
|
|
31
31
|
region: CloneInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -36,15 +36,11 @@ export const CloneInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
36
36
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/clone",
|
|
37
37
|
code: 200,
|
|
38
38
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
39
|
-
}))).annotate({
|
|
40
|
-
identifier: "CloneInstanceRequest",
|
|
41
|
-
});
|
|
39
|
+
}))).annotate({ identifier: "CloneInstanceRequest" });
|
|
42
40
|
export const CloneInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
43
41
|
instanceId: S.optional(S.String),
|
|
44
|
-
})).annotate({
|
|
45
|
-
|
|
46
|
-
});
|
|
47
|
-
export const CreateInstanceRequestRegion = /*@__PURE__*/ S.String;
|
|
42
|
+
})).annotate({ identifier: "CloneInstanceResponse" });
|
|
43
|
+
export const CreateInstanceRequestRegion = S.String;
|
|
48
44
|
export const ACLItemsList = /*@__PURE__*/ S.Array(S.String);
|
|
49
45
|
export const ACL = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
50
46
|
items: S.optional(ACLItemsList),
|
|
@@ -72,15 +68,11 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
72
68
|
uri: "/v2/projects/{projectId}/regions/{region}/instances",
|
|
73
69
|
code: 200,
|
|
74
70
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
75
|
-
}))).annotate({
|
|
76
|
-
identifier: "CreateInstanceRequest",
|
|
77
|
-
});
|
|
71
|
+
}))).annotate({ identifier: "CreateInstanceRequest" });
|
|
78
72
|
export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
79
73
|
id: S.optional(S.String),
|
|
80
|
-
})).annotate({
|
|
81
|
-
|
|
82
|
-
});
|
|
83
|
-
export const CreateUserRequestRegion = /*@__PURE__*/ S.String;
|
|
74
|
+
})).annotate({ identifier: "CreateInstanceResponse" });
|
|
75
|
+
export const CreateUserRequestRegion = S.String;
|
|
84
76
|
export const CreateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
85
77
|
export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
86
78
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -94,9 +86,7 @@ export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
94
86
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users",
|
|
95
87
|
code: 200,
|
|
96
88
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
97
|
-
}))).annotate({
|
|
98
|
-
identifier: "CreateUserRequest",
|
|
99
|
-
});
|
|
89
|
+
}))).annotate({ identifier: "CreateUserRequest" });
|
|
100
90
|
export const UserRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
101
91
|
export const User = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
102
92
|
database: S.optional(S.String),
|
|
@@ -110,10 +100,8 @@ export const User = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
110
100
|
})).annotate({ identifier: "User" });
|
|
111
101
|
export const CreateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
112
102
|
item: S.optional(User),
|
|
113
|
-
})).annotate({
|
|
114
|
-
|
|
115
|
-
});
|
|
116
|
-
export const DeleteInstanceRequestRegion = /*@__PURE__*/ S.String;
|
|
103
|
+
})).annotate({ identifier: "CreateUserResponse" });
|
|
104
|
+
export const DeleteInstanceRequestRegion = S.String;
|
|
117
105
|
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
118
106
|
projectId: S.String.pipe(T.Label()),
|
|
119
107
|
region: DeleteInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -123,13 +111,11 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
123
111
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
124
112
|
code: 200,
|
|
125
113
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
126
|
-
}))).annotate({
|
|
127
|
-
identifier: "DeleteInstanceRequest",
|
|
128
|
-
});
|
|
114
|
+
}))).annotate({ identifier: "DeleteInstanceRequest" });
|
|
129
115
|
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
130
116
|
identifier: "DeleteInstanceResponse",
|
|
131
117
|
});
|
|
132
|
-
export const DeleteUserRequestRegion =
|
|
118
|
+
export const DeleteUserRequestRegion = S.String;
|
|
133
119
|
export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
134
120
|
projectId: S.String.pipe(T.Label()),
|
|
135
121
|
region: DeleteUserRequestRegion.pipe(T.Label()),
|
|
@@ -140,13 +126,11 @@ export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
140
126
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
141
127
|
code: 200,
|
|
142
128
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
143
|
-
}))).annotate({
|
|
144
|
-
identifier: "DeleteUserRequest",
|
|
145
|
-
});
|
|
129
|
+
}))).annotate({ identifier: "DeleteUserRequest" });
|
|
146
130
|
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
147
131
|
identifier: "DeleteUserResponse",
|
|
148
132
|
});
|
|
149
|
-
export const GetBackupRequestRegion =
|
|
133
|
+
export const GetBackupRequestRegion = S.String;
|
|
150
134
|
export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
151
135
|
projectId: S.String.pipe(T.Label()),
|
|
152
136
|
region: GetBackupRequestRegion.pipe(T.Label()),
|
|
@@ -157,9 +141,7 @@ export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
157
141
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/backups/{backupId}",
|
|
158
142
|
code: 200,
|
|
159
143
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
160
|
-
}))).annotate({
|
|
161
|
-
identifier: "GetBackupRequest",
|
|
162
|
-
});
|
|
144
|
+
}))).annotate({ identifier: "GetBackupRequest" });
|
|
163
145
|
export const BackupLabelsList = /*@__PURE__*/ S.Array(S.String);
|
|
164
146
|
export const BackupOptionsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
165
147
|
export const Backup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -174,10 +156,8 @@ export const Backup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
174
156
|
})).annotate({ identifier: "Backup" });
|
|
175
157
|
export const GetBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
176
158
|
item: S.optional(Backup),
|
|
177
|
-
})).annotate({
|
|
178
|
-
|
|
179
|
-
});
|
|
180
|
-
export const GetInstanceRequestRegion = /*@__PURE__*/ S.String;
|
|
159
|
+
})).annotate({ identifier: "GetBackupResponse" });
|
|
160
|
+
export const GetInstanceRequestRegion = S.String;
|
|
181
161
|
export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
182
162
|
projectId: S.String.pipe(T.Label()),
|
|
183
163
|
region: GetInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -187,9 +167,7 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
187
167
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
188
168
|
code: 200,
|
|
189
169
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
190
|
-
}))).annotate({
|
|
191
|
-
identifier: "GetInstanceRequest",
|
|
192
|
-
});
|
|
170
|
+
}))).annotate({ identifier: "GetInstanceRequest" });
|
|
193
171
|
export const Flavor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
194
172
|
cpu: S.optional(S.Number),
|
|
195
173
|
description: S.optional(S.String),
|
|
@@ -197,7 +175,7 @@ export const Flavor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
197
175
|
memory: S.optional(S.Number),
|
|
198
176
|
})).annotate({ identifier: "Flavor" });
|
|
199
177
|
export const InstanceOptionsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
200
|
-
export const InstanceStatus =
|
|
178
|
+
export const InstanceStatus = S.String;
|
|
201
179
|
export const Instance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
202
180
|
acl: S.optional(ACL),
|
|
203
181
|
backupSchedule: S.optional(S.String),
|
|
@@ -212,10 +190,8 @@ export const Instance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
212
190
|
})).annotate({ identifier: "Instance" });
|
|
213
191
|
export const InstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
214
192
|
item: S.optional(Instance),
|
|
215
|
-
})).annotate({
|
|
216
|
-
|
|
217
|
-
});
|
|
218
|
-
export const GetUserRequestRegion = /*@__PURE__*/ S.String;
|
|
193
|
+
})).annotate({ identifier: "InstanceResponse" });
|
|
194
|
+
export const GetUserRequestRegion = S.String;
|
|
219
195
|
export const GetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
220
196
|
projectId: S.String.pipe(T.Label()),
|
|
221
197
|
region: GetUserRequestRegion.pipe(T.Label()),
|
|
@@ -235,15 +211,11 @@ export const InstanceResponseUser = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
235
211
|
port: S.optional(S.Number),
|
|
236
212
|
roles: S.optional(InstanceResponseUserRolesList),
|
|
237
213
|
username: S.optional(S.String),
|
|
238
|
-
})).annotate({
|
|
239
|
-
identifier: "InstanceResponseUser",
|
|
240
|
-
});
|
|
214
|
+
})).annotate({ identifier: "InstanceResponseUser" });
|
|
241
215
|
export const GetUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
242
216
|
item: S.optional(InstanceResponseUser),
|
|
243
|
-
})).annotate({
|
|
244
|
-
|
|
245
|
-
});
|
|
246
|
-
export const ListAdvisorSlowQueriesRequestRegion = /*@__PURE__*/ S.String;
|
|
217
|
+
})).annotate({ identifier: "GetUserResponse" });
|
|
218
|
+
export const ListAdvisorSlowQueriesRequestRegion = S.String;
|
|
247
219
|
export const ListAdvisorSlowQueriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
248
220
|
projectId: S.String.pipe(T.Label()),
|
|
249
221
|
region: ListAdvisorSlowQueriesRequestRegion.pipe(T.Label()),
|
|
@@ -260,14 +232,13 @@ export const SlowQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
260
232
|
line: S.optional(S.String),
|
|
261
233
|
namespace: S.optional(S.String),
|
|
262
234
|
})).annotate({ identifier: "SlowQuery" });
|
|
263
|
-
export const HandlersInstancesSlowQueriesResponseSlowQueriesList =
|
|
264
|
-
/*@__PURE__*/ S.Array(SlowQuery);
|
|
235
|
+
export const HandlersInstancesSlowQueriesResponseSlowQueriesList = /*@__PURE__*/ S.Array(SlowQuery);
|
|
265
236
|
export const HandlersInstancesSlowQueriesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
266
237
|
slowQueries: S.optional(HandlersInstancesSlowQueriesResponseSlowQueriesList),
|
|
267
238
|
})).annotate({
|
|
268
239
|
identifier: "HandlersInstancesSlowQueriesResponse",
|
|
269
240
|
});
|
|
270
|
-
export const ListBackupsRequestRegion =
|
|
241
|
+
export const ListBackupsRequestRegion = S.String;
|
|
271
242
|
export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
272
243
|
projectId: S.String.pipe(T.Label()),
|
|
273
244
|
region: ListBackupsRequestRegion.pipe(T.Label()),
|
|
@@ -277,17 +248,13 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
277
248
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/backups",
|
|
278
249
|
code: 200,
|
|
279
250
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
280
|
-
}))).annotate({
|
|
281
|
-
identifier: "ListBackupsRequest",
|
|
282
|
-
});
|
|
251
|
+
}))).annotate({ identifier: "ListBackupsRequest" });
|
|
283
252
|
export const ListBackupsResponseItemsList = /*@__PURE__*/ S.Array(Backup);
|
|
284
253
|
export const ListBackupsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
285
254
|
count: S.optional(S.Number),
|
|
286
255
|
items: S.optional(ListBackupsResponseItemsList),
|
|
287
|
-
})).annotate({
|
|
288
|
-
|
|
289
|
-
});
|
|
290
|
-
export const ListFlavorsRequestRegion = /*@__PURE__*/ S.String;
|
|
256
|
+
})).annotate({ identifier: "ListBackupsResponse" });
|
|
257
|
+
export const ListFlavorsRequestRegion = S.String;
|
|
291
258
|
export const ListFlavorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
292
259
|
projectId: S.String.pipe(T.Label()),
|
|
293
260
|
region: ListFlavorsRequestRegion.pipe(T.Label()),
|
|
@@ -296,9 +263,7 @@ export const ListFlavorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
296
263
|
uri: "/v2/projects/{projectId}/regions/{region}/flavors",
|
|
297
264
|
code: 200,
|
|
298
265
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
299
|
-
}))).annotate({
|
|
300
|
-
identifier: "ListFlavorsRequest",
|
|
301
|
-
});
|
|
266
|
+
}))).annotate({ identifier: "ListFlavorsRequest" });
|
|
302
267
|
export const InstanceFlavorCategoriesList = /*@__PURE__*/ S.Array(S.String);
|
|
303
268
|
export const InstanceFlavor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
304
269
|
categories: S.optional(InstanceFlavorCategoriesList),
|
|
@@ -310,10 +275,8 @@ export const InstanceFlavor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
310
275
|
export const ListFlavorsResponseFlavorsList = /*@__PURE__*/ S.Array(InstanceFlavor);
|
|
311
276
|
export const ListFlavorsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
312
277
|
flavors: S.optional(ListFlavorsResponseFlavorsList),
|
|
313
|
-
})).annotate({
|
|
314
|
-
|
|
315
|
-
});
|
|
316
|
-
export const ListInstancesRequestRegion = /*@__PURE__*/ S.String;
|
|
278
|
+
})).annotate({ identifier: "ListFlavorsResponse" });
|
|
279
|
+
export const ListInstancesRequestRegion = S.String;
|
|
317
280
|
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
318
281
|
projectId: S.String.pipe(T.Label()),
|
|
319
282
|
region: ListInstancesRequestRegion.pipe(T.Label()),
|
|
@@ -323,25 +286,19 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
323
286
|
uri: "/v2/projects/{projectId}/regions/{region}/instances",
|
|
324
287
|
code: 200,
|
|
325
288
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
326
|
-
}))).annotate({
|
|
327
|
-
|
|
328
|
-
});
|
|
329
|
-
export const InstanceListInstanceStatus = /*@__PURE__*/ S.String;
|
|
289
|
+
}))).annotate({ identifier: "ListInstancesRequest" });
|
|
290
|
+
export const InstanceListInstanceStatus = S.String;
|
|
330
291
|
export const InstanceListInstance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
331
292
|
id: S.optional(S.String),
|
|
332
293
|
name: S.optional(S.String),
|
|
333
294
|
status: S.optional(InstanceListInstanceStatus),
|
|
334
|
-
})).annotate({
|
|
335
|
-
identifier: "InstanceListInstance",
|
|
336
|
-
});
|
|
295
|
+
})).annotate({ identifier: "InstanceListInstance" });
|
|
337
296
|
export const ListInstancesResponseItemsList = /*@__PURE__*/ S.Array(InstanceListInstance);
|
|
338
297
|
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
339
298
|
count: S.optional(S.Number),
|
|
340
299
|
items: S.optional(ListInstancesResponseItemsList),
|
|
341
|
-
})).annotate({
|
|
342
|
-
|
|
343
|
-
});
|
|
344
|
-
export const ListMetricsRequestRegion = /*@__PURE__*/ S.String;
|
|
300
|
+
})).annotate({ identifier: "ListInstancesResponse" });
|
|
301
|
+
export const ListMetricsRequestRegion = S.String;
|
|
345
302
|
export const ListMetricsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
346
303
|
projectId: S.String.pipe(T.Label()),
|
|
347
304
|
region: ListMetricsRequestRegion.pipe(T.Label()),
|
|
@@ -356,9 +313,7 @@ export const ListMetricsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
356
313
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/metrics/{metric}",
|
|
357
314
|
code: 200,
|
|
358
315
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
359
|
-
}))).annotate({
|
|
360
|
-
identifier: "ListMetricsRequest",
|
|
361
|
-
});
|
|
316
|
+
}))).annotate({ identifier: "ListMetricsRequest" });
|
|
362
317
|
export const DataPoint = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
363
318
|
timestamp: S.optional(S.String),
|
|
364
319
|
value: S.optional(S.Number),
|
|
@@ -377,10 +332,8 @@ export const Host = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
377
332
|
export const ListMetricsResponseHostsList = /*@__PURE__*/ S.Array(Host);
|
|
378
333
|
export const ListMetricsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
379
334
|
hosts: S.optional(ListMetricsResponseHostsList),
|
|
380
|
-
})).annotate({
|
|
381
|
-
|
|
382
|
-
});
|
|
383
|
-
export const ListRestoreJobsRequestRegion = /*@__PURE__*/ S.String;
|
|
335
|
+
})).annotate({ identifier: "ListMetricsResponse" });
|
|
336
|
+
export const ListRestoreJobsRequestRegion = S.String;
|
|
384
337
|
export const ListRestoreJobsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
385
338
|
projectId: S.String.pipe(T.Label()),
|
|
386
339
|
region: ListRestoreJobsRequestRegion.pipe(T.Label()),
|
|
@@ -390,25 +343,19 @@ export const ListRestoreJobsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
390
343
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/restores",
|
|
391
344
|
code: 200,
|
|
392
345
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
393
|
-
}))).annotate({
|
|
394
|
-
identifier: "ListRestoreJobsRequest",
|
|
395
|
-
});
|
|
346
|
+
}))).annotate({ identifier: "ListRestoreJobsRequest" });
|
|
396
347
|
export const RestoreInstanceStatus = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
397
348
|
backupID: S.optional(S.String),
|
|
398
349
|
date: S.optional(S.String),
|
|
399
350
|
id: S.optional(S.String),
|
|
400
351
|
instanceId: S.optional(S.String),
|
|
401
352
|
status: S.optional(S.String),
|
|
402
|
-
})).annotate({
|
|
403
|
-
identifier: "RestoreInstanceStatus",
|
|
404
|
-
});
|
|
353
|
+
})).annotate({ identifier: "RestoreInstanceStatus" });
|
|
405
354
|
export const ListRestoreJobsResponseItemsList = /*@__PURE__*/ S.Array(RestoreInstanceStatus);
|
|
406
355
|
export const ListRestoreJobsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
407
356
|
items: S.optional(ListRestoreJobsResponseItemsList),
|
|
408
|
-
})).annotate({
|
|
409
|
-
|
|
410
|
-
});
|
|
411
|
-
export const ListStoragesRequestRegion = /*@__PURE__*/ S.String;
|
|
357
|
+
})).annotate({ identifier: "ListRestoreJobsResponse" });
|
|
358
|
+
export const ListStoragesRequestRegion = S.String;
|
|
412
359
|
export const ListStoragesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
413
360
|
projectId: S.String.pipe(T.Label()),
|
|
414
361
|
region: ListStoragesRequestRegion.pipe(T.Label()),
|
|
@@ -418,9 +365,7 @@ export const ListStoragesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
418
365
|
uri: "/v2/projects/{projectId}/regions/{region}/storages/{flavor}",
|
|
419
366
|
code: 200,
|
|
420
367
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
421
|
-
}))).annotate({
|
|
422
|
-
identifier: "ListStoragesRequest",
|
|
423
|
-
});
|
|
368
|
+
}))).annotate({ identifier: "ListStoragesRequest" });
|
|
424
369
|
export const ListStoragesResponseStorageClassesList = /*@__PURE__*/ S.Array(S.String);
|
|
425
370
|
export const StorageRange = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
426
371
|
max: S.optional(S.Number),
|
|
@@ -429,10 +374,8 @@ export const StorageRange = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
429
374
|
export const ListStoragesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
430
375
|
storageClasses: S.optional(ListStoragesResponseStorageClassesList),
|
|
431
376
|
storageRange: S.optional(StorageRange),
|
|
432
|
-
})).annotate({
|
|
433
|
-
|
|
434
|
-
});
|
|
435
|
-
export const ListSuggestedIndexesRequestRegion = /*@__PURE__*/ S.String;
|
|
377
|
+
})).annotate({ identifier: "ListStoragesResponse" });
|
|
378
|
+
export const ListSuggestedIndexesRequestRegion = S.String;
|
|
436
379
|
export const ListSuggestedIndexesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
437
380
|
projectId: S.String.pipe(T.Label()),
|
|
438
381
|
region: ListSuggestedIndexesRequestRegion.pipe(T.Label()),
|
|
@@ -451,16 +394,12 @@ export const MongodbatlasStats = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
451
394
|
nReturned: S.optional(S.Number),
|
|
452
395
|
nScanned: S.optional(S.Number),
|
|
453
396
|
ts: S.optional(S.Number),
|
|
454
|
-
})).annotate({
|
|
455
|
-
identifier: "MongodbatlasStats",
|
|
456
|
-
});
|
|
397
|
+
})).annotate({ identifier: "MongodbatlasStats" });
|
|
457
398
|
export const MongodbatlasOperation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
458
399
|
predicates: S.optional(MongodbatlasOperationPredicatesList),
|
|
459
400
|
raw: S.optional(S.String),
|
|
460
401
|
stats: S.optional(MongodbatlasStats),
|
|
461
|
-
})).annotate({
|
|
462
|
-
identifier: "MongodbatlasOperation",
|
|
463
|
-
});
|
|
402
|
+
})).annotate({ identifier: "MongodbatlasOperation" });
|
|
464
403
|
export const ShapeOperationsList = /*@__PURE__*/ S.Array(MongodbatlasOperation);
|
|
465
404
|
export const Shape = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
466
405
|
avgMs: S.optional(S.Number),
|
|
@@ -470,8 +409,7 @@ export const Shape = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
470
409
|
namespace: S.optional(S.String),
|
|
471
410
|
operations: S.optional(ShapeOperationsList),
|
|
472
411
|
})).annotate({ identifier: "Shape" });
|
|
473
|
-
export const HandlersInstancesSuggestedIndexesResponseShapesList =
|
|
474
|
-
/*@__PURE__*/ S.Array(Shape);
|
|
412
|
+
export const HandlersInstancesSuggestedIndexesResponseShapesList = /*@__PURE__*/ S.Array(Shape);
|
|
475
413
|
export const SuggestedIndexImpactList = /*@__PURE__*/ S.Array(S.String);
|
|
476
414
|
export const SuggestedIndexIndexItemMap = /*@__PURE__*/ S.Record(S.String, S.Number);
|
|
477
415
|
export const SuggestedIndexIndexList = /*@__PURE__*/ S.Array(SuggestedIndexIndexItemMap);
|
|
@@ -482,16 +420,14 @@ export const SuggestedIndex = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
482
420
|
namespace: S.optional(S.String),
|
|
483
421
|
weight: S.optional(S.Number),
|
|
484
422
|
})).annotate({ identifier: "SuggestedIndex" });
|
|
485
|
-
export const HandlersInstancesSuggestedIndexesResponseSuggestedIndexesList =
|
|
486
|
-
/*@__PURE__*/ S.
|
|
487
|
-
export const HandlersInstancesSuggestedIndexesResponse =
|
|
488
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
423
|
+
export const HandlersInstancesSuggestedIndexesResponseSuggestedIndexesList = /*@__PURE__*/ S.Array(SuggestedIndex);
|
|
424
|
+
export const HandlersInstancesSuggestedIndexesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
489
425
|
shapes: S.optional(HandlersInstancesSuggestedIndexesResponseShapesList),
|
|
490
426
|
suggestedIndexes: S.optional(HandlersInstancesSuggestedIndexesResponseSuggestedIndexesList),
|
|
491
427
|
})).annotate({
|
|
492
428
|
identifier: "HandlersInstancesSuggestedIndexesResponse",
|
|
493
429
|
});
|
|
494
|
-
export const ListUsersRequestRegion =
|
|
430
|
+
export const ListUsersRequestRegion = S.String;
|
|
495
431
|
export const ListUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
496
432
|
projectId: S.String.pipe(T.Label()),
|
|
497
433
|
region: ListUsersRequestRegion.pipe(T.Label()),
|
|
@@ -501,9 +437,7 @@ export const ListUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
501
437
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users",
|
|
502
438
|
code: 200,
|
|
503
439
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
504
|
-
}))).annotate({
|
|
505
|
-
identifier: "ListUsersRequest",
|
|
506
|
-
});
|
|
440
|
+
}))).annotate({ identifier: "ListUsersRequest" });
|
|
507
441
|
export const ListUser = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
508
442
|
id: S.optional(S.String),
|
|
509
443
|
username: S.optional(S.String),
|
|
@@ -512,10 +446,8 @@ export const ListUsersResponseItemsList = /*@__PURE__*/ S.Array(ListUser);
|
|
|
512
446
|
export const ListUsersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
513
447
|
count: S.optional(S.Number),
|
|
514
448
|
items: S.optional(ListUsersResponseItemsList),
|
|
515
|
-
})).annotate({
|
|
516
|
-
|
|
517
|
-
});
|
|
518
|
-
export const ListVersionsRequestRegion = /*@__PURE__*/ S.String;
|
|
449
|
+
})).annotate({ identifier: "ListUsersResponse" });
|
|
450
|
+
export const ListVersionsRequestRegion = S.String;
|
|
519
451
|
export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
520
452
|
projectId: S.String.pipe(T.Label()),
|
|
521
453
|
region: ListVersionsRequestRegion.pipe(T.Label()),
|
|
@@ -524,16 +456,12 @@ export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
524
456
|
uri: "/v2/projects/{projectId}/regions/{region}/versions",
|
|
525
457
|
code: 200,
|
|
526
458
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
527
|
-
}))).annotate({
|
|
528
|
-
identifier: "ListVersionsRequest",
|
|
529
|
-
});
|
|
459
|
+
}))).annotate({ identifier: "ListVersionsRequest" });
|
|
530
460
|
export const ListVersionsResponseVersionsList = /*@__PURE__*/ S.Array(S.String);
|
|
531
461
|
export const ListVersionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
532
462
|
versions: S.optional(ListVersionsResponseVersionsList),
|
|
533
|
-
})).annotate({
|
|
534
|
-
|
|
535
|
-
});
|
|
536
|
-
export const PartialUpdateInstanceRequestRegion = /*@__PURE__*/ S.String;
|
|
463
|
+
})).annotate({ identifier: "ListVersionsResponse" });
|
|
464
|
+
export const PartialUpdateInstanceRequestRegion = S.String;
|
|
537
465
|
export const PartialUpdateInstanceRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
538
466
|
export const PartialUpdateInstanceRequestOptionsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
539
467
|
export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -559,10 +487,8 @@ export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
559
487
|
});
|
|
560
488
|
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
561
489
|
item: S.optional(Instance),
|
|
562
|
-
})).annotate({
|
|
563
|
-
|
|
564
|
-
});
|
|
565
|
-
export const PartialUpdateUserRequestRegion = /*@__PURE__*/ S.String;
|
|
490
|
+
})).annotate({ identifier: "UpdateInstanceResponse" });
|
|
491
|
+
export const PartialUpdateUserRequestRegion = S.String;
|
|
566
492
|
export const PartialUpdateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
567
493
|
export const PartialUpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
568
494
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -576,13 +502,11 @@ export const PartialUpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
576
502
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
577
503
|
code: 200,
|
|
578
504
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
579
|
-
}))).annotate({
|
|
580
|
-
identifier: "PartialUpdateUserRequest",
|
|
581
|
-
});
|
|
505
|
+
}))).annotate({ identifier: "PartialUpdateUserRequest" });
|
|
582
506
|
export const PartialUpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
583
507
|
identifier: "PartialUpdateUserResponse",
|
|
584
508
|
});
|
|
585
|
-
export const ResetUserRequestRegion =
|
|
509
|
+
export const ResetUserRequestRegion = S.String;
|
|
586
510
|
export const ResetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
587
511
|
projectId: S.String.pipe(T.Label()),
|
|
588
512
|
region: ResetUserRequestRegion.pipe(T.Label()),
|
|
@@ -593,10 +517,8 @@ export const ResetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
593
517
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}/reset",
|
|
594
518
|
code: 200,
|
|
595
519
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
596
|
-
}))).annotate({
|
|
597
|
-
|
|
598
|
-
});
|
|
599
|
-
export const RestoreInstanceRequestRegion = /*@__PURE__*/ S.String;
|
|
520
|
+
}))).annotate({ identifier: "ResetUserRequest" });
|
|
521
|
+
export const RestoreInstanceRequestRegion = S.String;
|
|
600
522
|
export const RestoreInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
601
523
|
projectId: S.String.pipe(T.Label()),
|
|
602
524
|
region: RestoreInstanceRequestRegion.pipe(T.Label()),
|
|
@@ -607,15 +529,11 @@ export const RestoreInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
607
529
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/restores",
|
|
608
530
|
code: 200,
|
|
609
531
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
610
|
-
}))).annotate({
|
|
611
|
-
identifier: "RestoreInstanceRequest",
|
|
612
|
-
});
|
|
532
|
+
}))).annotate({ identifier: "RestoreInstanceRequest" });
|
|
613
533
|
export const RestoreInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
614
534
|
item: S.optional(RestoreInstanceStatus),
|
|
615
|
-
})).annotate({
|
|
616
|
-
|
|
617
|
-
});
|
|
618
|
-
export const UpdateBackupScheduleRequestRegion = /*@__PURE__*/ S.String;
|
|
535
|
+
})).annotate({ identifier: "RestoreInstanceResponse" });
|
|
536
|
+
export const UpdateBackupScheduleRequestRegion = S.String;
|
|
619
537
|
export const UpdateBackupScheduleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
620
538
|
projectId: S.String.pipe(T.Label()),
|
|
621
539
|
region: UpdateBackupScheduleRequestRegion.pipe(T.Label()),
|
|
@@ -642,7 +560,7 @@ export const BackupSchedule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
642
560
|
snapshotRetentionDays: S.optional(S.Number),
|
|
643
561
|
weeklySnapshotRetentionWeeks: S.optional(S.Number),
|
|
644
562
|
})).annotate({ identifier: "BackupSchedule" });
|
|
645
|
-
export const UpdateInstanceRequestRegion =
|
|
563
|
+
export const UpdateInstanceRequestRegion = S.String;
|
|
646
564
|
export const UpdateInstanceRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
647
565
|
export const UpdateInstanceRequestOptionsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
648
566
|
export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -663,10 +581,8 @@ export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
663
581
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
664
582
|
code: 200,
|
|
665
583
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
666
|
-
}))).annotate({
|
|
667
|
-
|
|
668
|
-
});
|
|
669
|
-
export const UpdateUserRequestRegion = /*@__PURE__*/ S.String;
|
|
584
|
+
}))).annotate({ identifier: "UpdateInstanceRequest" });
|
|
585
|
+
export const UpdateUserRequestRegion = S.String;
|
|
670
586
|
export const UpdateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
671
587
|
export const UpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
672
588
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -680,9 +596,7 @@ export const UpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
680
596
|
uri: "/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
681
597
|
code: 200,
|
|
682
598
|
baseUrl: "https://mongodb-flex-service.api.stackit.cloud",
|
|
683
|
-
}))).annotate({
|
|
684
|
-
identifier: "UpdateUserRequest",
|
|
685
|
-
});
|
|
599
|
+
}))).annotate({ identifier: "UpdateUserRequest" });
|
|
686
600
|
export const UpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
687
601
|
identifier: "UpdateUserResponse",
|
|
688
602
|
});
|