@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
package/src/services/rabbitmq.ts
CHANGED
|
@@ -1,16 +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.ts";
|
|
7
|
-
import {
|
|
8
|
-
StackitProtocol,
|
|
9
|
-
type StackitOpError,
|
|
10
|
-
type StackitOpContext,
|
|
11
|
-
} from "../protocol.ts";
|
|
12
6
|
import { UnknownStackitError } from "../errors.ts";
|
|
7
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
13
8
|
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
14
10
|
|
|
15
11
|
export type { StackitOpError, StackitOpContext };
|
|
16
12
|
|
|
@@ -62,9 +58,7 @@ export const CreateBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
62
58
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
63
59
|
}),
|
|
64
60
|
),
|
|
65
|
-
).annotate({
|
|
66
|
-
identifier: "CreateBackupRequest",
|
|
67
|
-
}) as any as S.Schema<CreateBackupRequest>;
|
|
61
|
+
).annotate({ identifier: "CreateBackupRequest" }) as any as S.Schema<CreateBackupRequest>;
|
|
68
62
|
|
|
69
63
|
export interface CreateBackupResponseItem {
|
|
70
64
|
id: number;
|
|
@@ -75,21 +69,17 @@ export const CreateBackupResponseItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
75
69
|
id: S.Number,
|
|
76
70
|
message: S.String,
|
|
77
71
|
}),
|
|
78
|
-
).annotate({
|
|
79
|
-
identifier: "CreateBackupResponseItem",
|
|
80
|
-
}) as any as S.Schema<CreateBackupResponseItem>;
|
|
72
|
+
).annotate({ identifier: "CreateBackupResponseItem" }) as any as S.Schema<CreateBackupResponseItem>;
|
|
81
73
|
|
|
82
74
|
export type CredentialsParametersRolesItem =
|
|
83
75
|
| "management"
|
|
84
76
|
| "policymaker"
|
|
85
77
|
| "monitoring"
|
|
86
78
|
| "administrator";
|
|
87
|
-
export const CredentialsParametersRolesItem =
|
|
79
|
+
export const CredentialsParametersRolesItem = S.String;
|
|
88
80
|
|
|
89
81
|
/** A list of roles to assign to the generated credentials. If not provided, standard default role 'policymaker' will be assigned. */
|
|
90
|
-
export type CredentialsParametersRolesList = Array<
|
|
91
|
-
CredentialsParametersRolesItem | (string & {})
|
|
92
|
-
>;
|
|
82
|
+
export type CredentialsParametersRolesList = Array<CredentialsParametersRolesItem | (string & {})>;
|
|
93
83
|
export const CredentialsParametersRolesList = /*@__PURE__*/ S.Array(
|
|
94
84
|
CredentialsParametersRolesItem,
|
|
95
85
|
) as any as S.Schema<CredentialsParametersRolesList>;
|
|
@@ -102,9 +92,7 @@ export const CredentialsParameters = /*@__PURE__*/ S.suspend(() =>
|
|
|
102
92
|
S.Struct({
|
|
103
93
|
roles: S.optional(CredentialsParametersRolesList),
|
|
104
94
|
}),
|
|
105
|
-
).annotate({
|
|
106
|
-
identifier: "CredentialsParameters",
|
|
107
|
-
}) as any as S.Schema<CredentialsParameters>;
|
|
95
|
+
).annotate({ identifier: "CredentialsParameters" }) as any as S.Schema<CredentialsParameters>;
|
|
108
96
|
|
|
109
97
|
export interface CreateCredentialsRequest {
|
|
110
98
|
/** Project id on which user has permissions */
|
|
@@ -129,9 +117,7 @@ export const CreateCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
129
117
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
130
118
|
}),
|
|
131
119
|
),
|
|
132
|
-
).annotate({
|
|
133
|
-
identifier: "CreateCredentialsRequest",
|
|
134
|
-
}) as any as S.Schema<CreateCredentialsRequest>;
|
|
120
|
+
).annotate({ identifier: "CreateCredentialsRequest" }) as any as S.Schema<CreateCredentialsRequest>;
|
|
135
121
|
|
|
136
122
|
export type CredentialsHostsList = Array<string>;
|
|
137
123
|
export const CredentialsHostsList = /*@__PURE__*/ S.Array(
|
|
@@ -200,9 +186,7 @@ export const CredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
200
186
|
raw: S.optional(RawCredentials),
|
|
201
187
|
uri: S.String,
|
|
202
188
|
}),
|
|
203
|
-
).annotate({
|
|
204
|
-
identifier: "CredentialsResponse",
|
|
205
|
-
}) as any as S.Schema<CredentialsResponse>;
|
|
189
|
+
).annotate({ identifier: "CredentialsResponse" }) as any as S.Schema<CredentialsResponse>;
|
|
206
190
|
|
|
207
191
|
export type InstanceParametersPluginsItem =
|
|
208
192
|
| "rabbitmq_consistent_hash_exchange"
|
|
@@ -213,13 +197,10 @@ export type InstanceParametersPluginsItem =
|
|
|
213
197
|
| "rabbitmq_shovel"
|
|
214
198
|
| "rabbitmq_shovel_management"
|
|
215
199
|
| "rabbitmq_stomp"
|
|
216
|
-
| "rabbitmq_tracing"
|
|
217
200
|
| "rabbitmq_event_exchange";
|
|
218
|
-
export const InstanceParametersPluginsItem =
|
|
201
|
+
export const InstanceParametersPluginsItem = S.String;
|
|
219
202
|
|
|
220
|
-
export type InstanceParametersPluginsList = Array<
|
|
221
|
-
InstanceParametersPluginsItem | (string & {})
|
|
222
|
-
>;
|
|
203
|
+
export type InstanceParametersPluginsList = Array<InstanceParametersPluginsItem | (string & {})>;
|
|
223
204
|
export const InstanceParametersPluginsList = /*@__PURE__*/ S.Array(
|
|
224
205
|
InstanceParametersPluginsItem,
|
|
225
206
|
) as any as S.Schema<InstanceParametersPluginsList>;
|
|
@@ -242,7 +223,7 @@ export const InstanceParametersTlsCiphersList = /*@__PURE__*/ S.Array(
|
|
|
242
223
|
) as any as S.Schema<InstanceParametersTlsCiphersList>;
|
|
243
224
|
|
|
244
225
|
export type InstanceParametersTlsProtocolsItem = "tlsv1.2" | "tlsv1.3";
|
|
245
|
-
export const InstanceParametersTlsProtocolsItem =
|
|
226
|
+
export const InstanceParametersTlsProtocolsItem = S.String;
|
|
246
227
|
|
|
247
228
|
/** This property is deprecated and will be removed in a future release. */
|
|
248
229
|
export type InstanceParametersTlsProtocolsList = Array<
|
|
@@ -289,16 +270,10 @@ export const InstanceParameters = /*@__PURE__*/ S.suspend(() =>
|
|
|
289
270
|
roles: S.optional(InstanceParametersRolesList),
|
|
290
271
|
sgw_acl: S.optional(S.String),
|
|
291
272
|
syslog: S.optional(InstanceParametersSyslogList),
|
|
292
|
-
tls_ciphers: S.optional(
|
|
293
|
-
|
|
294
|
-
),
|
|
295
|
-
tls_protocols: S.optional(
|
|
296
|
-
InstanceParametersTlsProtocolsList.pipe(T.Body("tls-protocols")),
|
|
297
|
-
),
|
|
273
|
+
tls_ciphers: S.optional(InstanceParametersTlsCiphersList.pipe(T.Body("tls-ciphers"))),
|
|
274
|
+
tls_protocols: S.optional(InstanceParametersTlsProtocolsList.pipe(T.Body("tls-protocols"))),
|
|
298
275
|
}),
|
|
299
|
-
).annotate({
|
|
300
|
-
identifier: "InstanceParameters",
|
|
301
|
-
}) as any as S.Schema<InstanceParameters>;
|
|
276
|
+
).annotate({ identifier: "InstanceParameters" }) as any as S.Schema<InstanceParameters>;
|
|
302
277
|
|
|
303
278
|
export interface CreateInstanceRequest {
|
|
304
279
|
/** Project id on which user has permissions */
|
|
@@ -324,9 +299,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
324
299
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
325
300
|
}),
|
|
326
301
|
),
|
|
327
|
-
).annotate({
|
|
328
|
-
identifier: "CreateInstanceRequest",
|
|
329
|
-
}) as any as S.Schema<CreateInstanceRequest>;
|
|
302
|
+
).annotate({ identifier: "CreateInstanceRequest" }) as any as S.Schema<CreateInstanceRequest>;
|
|
330
303
|
|
|
331
304
|
export interface CreateInstanceResponse {
|
|
332
305
|
instanceId: string;
|
|
@@ -335,9 +308,7 @@ export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
335
308
|
S.Struct({
|
|
336
309
|
instanceId: S.String,
|
|
337
310
|
}),
|
|
338
|
-
).annotate({
|
|
339
|
-
identifier: "CreateInstanceResponse",
|
|
340
|
-
}) as any as S.Schema<CreateInstanceResponse>;
|
|
311
|
+
).annotate({ identifier: "CreateInstanceResponse" }) as any as S.Schema<CreateInstanceResponse>;
|
|
341
312
|
|
|
342
313
|
export interface DeleteCredentialsRequest {
|
|
343
314
|
/** Project id on which user has permissions */
|
|
@@ -363,14 +334,10 @@ export const DeleteCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
363
334
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
364
335
|
}),
|
|
365
336
|
),
|
|
366
|
-
).annotate({
|
|
367
|
-
identifier: "DeleteCredentialsRequest",
|
|
368
|
-
}) as any as S.Schema<DeleteCredentialsRequest>;
|
|
337
|
+
).annotate({ identifier: "DeleteCredentialsRequest" }) as any as S.Schema<DeleteCredentialsRequest>;
|
|
369
338
|
|
|
370
339
|
export interface DeleteCredentialsResponse {}
|
|
371
|
-
export const DeleteCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
372
|
-
S.Struct({}),
|
|
373
|
-
).annotate({
|
|
340
|
+
export const DeleteCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
374
341
|
identifier: "DeleteCredentialsResponse",
|
|
375
342
|
}) as any as S.Schema<DeleteCredentialsResponse>;
|
|
376
343
|
|
|
@@ -395,14 +362,10 @@ export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
395
362
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
396
363
|
}),
|
|
397
364
|
),
|
|
398
|
-
).annotate({
|
|
399
|
-
identifier: "DeleteInstanceRequest",
|
|
400
|
-
}) as any as S.Schema<DeleteInstanceRequest>;
|
|
365
|
+
).annotate({ identifier: "DeleteInstanceRequest" }) as any as S.Schema<DeleteInstanceRequest>;
|
|
401
366
|
|
|
402
367
|
export interface DeleteInstanceResponse {}
|
|
403
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
404
|
-
S.Struct({}),
|
|
405
|
-
).annotate({
|
|
368
|
+
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
406
369
|
identifier: "DeleteInstanceResponse",
|
|
407
370
|
}) as any as S.Schema<DeleteInstanceResponse>;
|
|
408
371
|
|
|
@@ -430,14 +393,10 @@ export const DownloadBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
430
393
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
431
394
|
}),
|
|
432
395
|
),
|
|
433
|
-
).annotate({
|
|
434
|
-
identifier: "DownloadBackupRequest",
|
|
435
|
-
}) as any as S.Schema<DownloadBackupRequest>;
|
|
396
|
+
).annotate({ identifier: "DownloadBackupRequest" }) as any as S.Schema<DownloadBackupRequest>;
|
|
436
397
|
|
|
437
398
|
export interface DownloadBackupResponse {}
|
|
438
|
-
export const DownloadBackupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
439
|
-
S.Struct({}),
|
|
440
|
-
).annotate({
|
|
399
|
+
export const DownloadBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
441
400
|
identifier: "DownloadBackupResponse",
|
|
442
401
|
}) as any as S.Schema<DownloadBackupResponse>;
|
|
443
402
|
|
|
@@ -465,9 +424,7 @@ export const GetCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
465
424
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
466
425
|
}),
|
|
467
426
|
),
|
|
468
|
-
).annotate({
|
|
469
|
-
identifier: "GetCredentialsRequest",
|
|
470
|
-
}) as any as S.Schema<GetCredentialsRequest>;
|
|
427
|
+
).annotate({ identifier: "GetCredentialsRequest" }) as any as S.Schema<GetCredentialsRequest>;
|
|
471
428
|
|
|
472
429
|
export interface GetInstanceRequest {
|
|
473
430
|
/** Project id on which user has permissions */
|
|
@@ -490,15 +447,13 @@ export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
490
447
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
491
448
|
}),
|
|
492
449
|
),
|
|
493
|
-
).annotate({
|
|
494
|
-
identifier: "GetInstanceRequest",
|
|
495
|
-
}) as any as S.Schema<GetInstanceRequest>;
|
|
450
|
+
).annotate({ identifier: "GetInstanceRequest" }) as any as S.Schema<GetInstanceRequest>;
|
|
496
451
|
|
|
497
452
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
498
|
-
export const InstanceLastOperationState =
|
|
453
|
+
export const InstanceLastOperationState = S.String;
|
|
499
454
|
|
|
500
455
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
501
|
-
export const InstanceLastOperationType =
|
|
456
|
+
export const InstanceLastOperationType = S.String;
|
|
502
457
|
|
|
503
458
|
export interface InstanceLastOperation {
|
|
504
459
|
description: string;
|
|
@@ -511,18 +466,10 @@ export const InstanceLastOperation = /*@__PURE__*/ S.suspend(() =>
|
|
|
511
466
|
state: InstanceLastOperationState,
|
|
512
467
|
type: InstanceLastOperationType,
|
|
513
468
|
}),
|
|
514
|
-
).annotate({
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
export type InstanceStatus =
|
|
519
|
-
| "active"
|
|
520
|
-
| "failed"
|
|
521
|
-
| "stopped"
|
|
522
|
-
| "creating"
|
|
523
|
-
| "deleting"
|
|
524
|
-
| "updating";
|
|
525
|
-
export const InstanceStatus = /*@__PURE__*/ S.String;
|
|
469
|
+
).annotate({ identifier: "InstanceLastOperation" }) as any as S.Schema<InstanceLastOperation>;
|
|
470
|
+
|
|
471
|
+
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
472
|
+
export const InstanceStatus = S.String;
|
|
526
473
|
|
|
527
474
|
export interface Instance {
|
|
528
475
|
cfGuid: string;
|
|
@@ -580,9 +527,7 @@ export const GetMetricsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
580
527
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
581
528
|
}),
|
|
582
529
|
),
|
|
583
|
-
).annotate({
|
|
584
|
-
identifier: "GetMetricsRequest",
|
|
585
|
-
}) as any as S.Schema<GetMetricsRequest>;
|
|
530
|
+
).annotate({ identifier: "GetMetricsRequest" }) as any as S.Schema<GetMetricsRequest>;
|
|
586
531
|
|
|
587
532
|
export interface GetMetricsResponse {
|
|
588
533
|
cpuIdleTime?: number;
|
|
@@ -635,9 +580,7 @@ export const GetMetricsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
635
580
|
parachuteDiskPersistentUsedPercent: S.Number,
|
|
636
581
|
parachuteDiskPersistentUsedThreshold: S.Number,
|
|
637
582
|
}),
|
|
638
|
-
).annotate({
|
|
639
|
-
identifier: "GetMetricsResponse",
|
|
640
|
-
}) as any as S.Schema<GetMetricsResponse>;
|
|
583
|
+
).annotate({ identifier: "GetMetricsResponse" }) as any as S.Schema<GetMetricsResponse>;
|
|
641
584
|
|
|
642
585
|
export interface ListBackupsRequest {
|
|
643
586
|
/** Project id on which user has permissions */
|
|
@@ -660,9 +603,7 @@ export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
660
603
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
661
604
|
}),
|
|
662
605
|
),
|
|
663
|
-
).annotate({
|
|
664
|
-
identifier: "ListBackupsRequest",
|
|
665
|
-
}) as any as S.Schema<ListBackupsRequest>;
|
|
606
|
+
).annotate({ identifier: "ListBackupsRequest" }) as any as S.Schema<ListBackupsRequest>;
|
|
666
607
|
|
|
667
608
|
export interface Backup {
|
|
668
609
|
downloadable?: boolean;
|
|
@@ -691,9 +632,7 @@ export const ListBackupsResponse = /*@__PURE__*/ S.Array(
|
|
|
691
632
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
692
633
|
export const ListBackupsResponse2 = /*@__PURE__*/ S.suspend(() =>
|
|
693
634
|
ListBackupsResponse.pipe(T.RawResponseRoot()),
|
|
694
|
-
).annotate({
|
|
695
|
-
identifier: "ListBackupsResponse2",
|
|
696
|
-
}) as any as S.Schema<ListBackupsResponse2>;
|
|
635
|
+
).annotate({ identifier: "ListBackupsResponse2" }) as any as S.Schema<ListBackupsResponse2>;
|
|
697
636
|
|
|
698
637
|
export interface ListCredentialsRequest {
|
|
699
638
|
/** Project id on which user has permissions */
|
|
@@ -716,9 +655,7 @@ export const ListCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
716
655
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
717
656
|
}),
|
|
718
657
|
),
|
|
719
|
-
).annotate({
|
|
720
|
-
identifier: "ListCredentialsRequest",
|
|
721
|
-
}) as any as S.Schema<ListCredentialsRequest>;
|
|
658
|
+
).annotate({ identifier: "ListCredentialsRequest" }) as any as S.Schema<ListCredentialsRequest>;
|
|
722
659
|
|
|
723
660
|
export interface CredentialsListItem {
|
|
724
661
|
id: string;
|
|
@@ -727,12 +664,9 @@ export const CredentialsListItem = /*@__PURE__*/ S.suspend(() =>
|
|
|
727
664
|
S.Struct({
|
|
728
665
|
id: S.String,
|
|
729
666
|
}),
|
|
730
|
-
).annotate({
|
|
731
|
-
identifier: "CredentialsListItem",
|
|
732
|
-
}) as any as S.Schema<CredentialsListItem>;
|
|
667
|
+
).annotate({ identifier: "CredentialsListItem" }) as any as S.Schema<CredentialsListItem>;
|
|
733
668
|
|
|
734
|
-
export type ListCredentialsResponseCredentialsListList =
|
|
735
|
-
Array<CredentialsListItem>;
|
|
669
|
+
export type ListCredentialsResponseCredentialsListList = Array<CredentialsListItem>;
|
|
736
670
|
export const ListCredentialsResponseCredentialsListList = /*@__PURE__*/ S.Array(
|
|
737
671
|
CredentialsListItem,
|
|
738
672
|
) as any as S.Schema<ListCredentialsResponseCredentialsListList>;
|
|
@@ -744,9 +678,7 @@ export const ListCredentialsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
744
678
|
S.Struct({
|
|
745
679
|
credentialsList: ListCredentialsResponseCredentialsListList,
|
|
746
680
|
}),
|
|
747
|
-
).annotate({
|
|
748
|
-
identifier: "ListCredentialsResponse",
|
|
749
|
-
}) as any as S.Schema<ListCredentialsResponse>;
|
|
681
|
+
).annotate({ identifier: "ListCredentialsResponse" }) as any as S.Schema<ListCredentialsResponse>;
|
|
750
682
|
|
|
751
683
|
export interface ListInstancesRequest {
|
|
752
684
|
/** Project id on which user has permissions */
|
|
@@ -766,9 +698,7 @@ export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
766
698
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
767
699
|
}),
|
|
768
700
|
),
|
|
769
|
-
).annotate({
|
|
770
|
-
identifier: "ListInstancesRequest",
|
|
771
|
-
}) as any as S.Schema<ListInstancesRequest>;
|
|
701
|
+
).annotate({ identifier: "ListInstancesRequest" }) as any as S.Schema<ListInstancesRequest>;
|
|
772
702
|
|
|
773
703
|
export type ListInstancesResponseInstancesList = Array<Instance>;
|
|
774
704
|
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(
|
|
@@ -782,9 +712,7 @@ export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
782
712
|
S.Struct({
|
|
783
713
|
instances: ListInstancesResponseInstancesList,
|
|
784
714
|
}),
|
|
785
|
-
).annotate({
|
|
786
|
-
identifier: "ListInstancesResponse",
|
|
787
|
-
}) as any as S.Schema<ListInstancesResponse>;
|
|
715
|
+
).annotate({ identifier: "ListInstancesResponse" }) as any as S.Schema<ListInstancesResponse>;
|
|
788
716
|
|
|
789
717
|
export interface ListOfferingsRequest {
|
|
790
718
|
/** Project id on which user has permissions */
|
|
@@ -804,9 +732,7 @@ export const ListOfferingsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
804
732
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
805
733
|
}),
|
|
806
734
|
),
|
|
807
|
-
).annotate({
|
|
808
|
-
identifier: "ListOfferingsRequest",
|
|
809
|
-
}) as any as S.Schema<ListOfferingsRequest>;
|
|
735
|
+
).annotate({ identifier: "ListOfferingsRequest" }) as any as S.Schema<ListOfferingsRequest>;
|
|
810
736
|
|
|
811
737
|
export interface Plan {
|
|
812
738
|
description: string;
|
|
@@ -826,9 +752,7 @@ export const Plan = /*@__PURE__*/ S.suspend(() =>
|
|
|
826
752
|
).annotate({ identifier: "Plan" }) as any as S.Schema<Plan>;
|
|
827
753
|
|
|
828
754
|
export type OfferingPlansList = Array<Plan>;
|
|
829
|
-
export const OfferingPlansList = /*@__PURE__*/ S.Array(
|
|
830
|
-
Plan,
|
|
831
|
-
) as any as S.Schema<OfferingPlansList>;
|
|
755
|
+
export const OfferingPlansList = /*@__PURE__*/ S.Array(Plan) as any as S.Schema<OfferingPlansList>;
|
|
832
756
|
|
|
833
757
|
export interface Schema {
|
|
834
758
|
parameters: unknown;
|
|
@@ -889,9 +813,7 @@ export const ListOfferingsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
889
813
|
S.Struct({
|
|
890
814
|
offerings: ListOfferingsResponseOfferingsList,
|
|
891
815
|
}),
|
|
892
|
-
).annotate({
|
|
893
|
-
identifier: "ListOfferingsResponse",
|
|
894
|
-
}) as any as S.Schema<ListOfferingsResponse>;
|
|
816
|
+
).annotate({ identifier: "ListOfferingsResponse" }) as any as S.Schema<ListOfferingsResponse>;
|
|
895
817
|
|
|
896
818
|
export interface ListRestoresRequest {
|
|
897
819
|
/** Project id on which user has permissions */
|
|
@@ -914,9 +836,7 @@ export const ListRestoresRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
914
836
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
915
837
|
}),
|
|
916
838
|
),
|
|
917
|
-
).annotate({
|
|
918
|
-
identifier: "ListRestoresRequest",
|
|
919
|
-
}) as any as S.Schema<ListRestoresRequest>;
|
|
839
|
+
).annotate({ identifier: "ListRestoresRequest" }) as any as S.Schema<ListRestoresRequest>;
|
|
920
840
|
|
|
921
841
|
export interface Restore {
|
|
922
842
|
backup_id: number;
|
|
@@ -947,9 +867,7 @@ export const ListRestoresResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
947
867
|
S.Struct({
|
|
948
868
|
instanceRestores: ListRestoresResponseInstanceRestoresList,
|
|
949
869
|
}),
|
|
950
|
-
).annotate({
|
|
951
|
-
identifier: "ListRestoresResponse",
|
|
952
|
-
}) as any as S.Schema<ListRestoresResponse>;
|
|
870
|
+
).annotate({ identifier: "ListRestoresResponse" }) as any as S.Schema<ListRestoresResponse>;
|
|
953
871
|
|
|
954
872
|
export interface PartialUpdateInstanceRequest {
|
|
955
873
|
/** Project id on which user has permissions */
|
|
@@ -983,9 +901,7 @@ export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
983
901
|
}) as any as S.Schema<PartialUpdateInstanceRequest>;
|
|
984
902
|
|
|
985
903
|
export interface PartialUpdateInstanceResponse {}
|
|
986
|
-
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
987
|
-
S.Struct({}),
|
|
988
|
-
).annotate({
|
|
904
|
+
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
989
905
|
identifier: "PartialUpdateInstanceResponse",
|
|
990
906
|
}) as any as S.Schema<PartialUpdateInstanceResponse>;
|
|
991
907
|
|
|
@@ -1010,9 +926,7 @@ export const TriggerRecreateRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1010
926
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
1011
927
|
}),
|
|
1012
928
|
),
|
|
1013
|
-
).annotate({
|
|
1014
|
-
identifier: "TriggerRecreateRequest",
|
|
1015
|
-
}) as any as S.Schema<TriggerRecreateRequest>;
|
|
929
|
+
).annotate({ identifier: "TriggerRecreateRequest" }) as any as S.Schema<TriggerRecreateRequest>;
|
|
1016
930
|
|
|
1017
931
|
export interface TriggerRestartRequest {
|
|
1018
932
|
/** Project id on which user has permissions */
|
|
@@ -1035,9 +949,7 @@ export const TriggerRestartRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1035
949
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
1036
950
|
}),
|
|
1037
951
|
),
|
|
1038
|
-
).annotate({
|
|
1039
|
-
identifier: "TriggerRestartRequest",
|
|
1040
|
-
}) as any as S.Schema<TriggerRestartRequest>;
|
|
952
|
+
).annotate({ identifier: "TriggerRestartRequest" }) as any as S.Schema<TriggerRestartRequest>;
|
|
1041
953
|
|
|
1042
954
|
export interface TriggerRestoreRequest {
|
|
1043
955
|
/** Project id on which user has permissions */
|
|
@@ -1063,9 +975,7 @@ export const TriggerRestoreRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1063
975
|
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
1064
976
|
}),
|
|
1065
977
|
),
|
|
1066
|
-
).annotate({
|
|
1067
|
-
identifier: "TriggerRestoreRequest",
|
|
1068
|
-
}) as any as S.Schema<TriggerRestoreRequest>;
|
|
978
|
+
).annotate({ identifier: "TriggerRestoreRequest" }) as any as S.Schema<TriggerRestoreRequest>;
|
|
1069
979
|
|
|
1070
980
|
export interface TriggerRestoreResponse {
|
|
1071
981
|
id: number;
|
|
@@ -1074,9 +984,7 @@ export const TriggerRestoreResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1074
984
|
S.Struct({
|
|
1075
985
|
id: S.Number,
|
|
1076
986
|
}),
|
|
1077
|
-
).annotate({
|
|
1078
|
-
identifier: "TriggerRestoreResponse",
|
|
1079
|
-
}) as any as S.Schema<TriggerRestoreResponse>;
|
|
987
|
+
).annotate({ identifier: "TriggerRestoreResponse" }) as any as S.Schema<TriggerRestoreResponse>;
|
|
1080
988
|
|
|
1081
989
|
export interface UpdateBackupsConfigRequest {
|
|
1082
990
|
/** Project id on which user has permissions */
|
package/src/services/registry.ts
CHANGED
|
@@ -1,16 +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.ts";
|
|
7
|
-
import {
|
|
8
|
-
StackitProtocol,
|
|
9
|
-
type StackitOpError,
|
|
10
|
-
type StackitOpContext,
|
|
11
|
-
} from "../protocol.ts";
|
|
12
6
|
import { UnknownStackitError } from "../errors.ts";
|
|
7
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
13
8
|
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
14
10
|
|
|
15
11
|
export type { StackitOpError, StackitOpContext };
|
|
16
12
|
|
|
@@ -79,9 +75,7 @@ export const CreateProxyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
79
75
|
registry_type: S.String,
|
|
80
76
|
url: S.String,
|
|
81
77
|
}),
|
|
82
|
-
).annotate({
|
|
83
|
-
identifier: "CreateProxyRequest",
|
|
84
|
-
}) as any as S.Schema<CreateProxyRequest>;
|
|
78
|
+
).annotate({ identifier: "CreateProxyRequest" }) as any as S.Schema<CreateProxyRequest>;
|
|
85
79
|
|
|
86
80
|
export interface CreateArtifactoryRequest {
|
|
87
81
|
/** Project identifier. */
|
|
@@ -110,9 +104,7 @@ export const CreateArtifactoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
110
104
|
baseUrl: "https://registry.api.stackit.cloud",
|
|
111
105
|
}),
|
|
112
106
|
),
|
|
113
|
-
).annotate({
|
|
114
|
-
identifier: "CreateArtifactoryRequest",
|
|
115
|
-
}) as any as S.Schema<CreateArtifactoryRequest>;
|
|
107
|
+
).annotate({ identifier: "CreateArtifactoryRequest" }) as any as S.Schema<CreateArtifactoryRequest>;
|
|
116
108
|
|
|
117
109
|
/** Credentials for upstream registry, redacted */
|
|
118
110
|
export interface RedactedCredentials {
|
|
@@ -122,9 +114,7 @@ export const RedactedCredentials = /*@__PURE__*/ S.suspend(() =>
|
|
|
122
114
|
S.Struct({
|
|
123
115
|
access_key: S.optional(S.String),
|
|
124
116
|
}),
|
|
125
|
-
).annotate({
|
|
126
|
-
identifier: "RedactedCredentials",
|
|
127
|
-
}) as any as S.Schema<RedactedCredentials>;
|
|
117
|
+
).annotate({ identifier: "RedactedCredentials" }) as any as S.Schema<RedactedCredentials>;
|
|
128
118
|
|
|
129
119
|
/** Replication settings for a proxy-cache artifactory */
|
|
130
120
|
export interface Proxy {
|
|
@@ -197,14 +187,10 @@ export const DeleteArtifactoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
197
187
|
baseUrl: "https://registry.api.stackit.cloud",
|
|
198
188
|
}),
|
|
199
189
|
),
|
|
200
|
-
).annotate({
|
|
201
|
-
identifier: "DeleteArtifactoryRequest",
|
|
202
|
-
}) as any as S.Schema<DeleteArtifactoryRequest>;
|
|
190
|
+
).annotate({ identifier: "DeleteArtifactoryRequest" }) as any as S.Schema<DeleteArtifactoryRequest>;
|
|
203
191
|
|
|
204
192
|
export interface DeleteArtifactoryResponse {}
|
|
205
|
-
export const DeleteArtifactoryResponse = /*@__PURE__*/ S.suspend(() =>
|
|
206
|
-
S.Struct({}),
|
|
207
|
-
).annotate({
|
|
193
|
+
export const DeleteArtifactoryResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
208
194
|
identifier: "DeleteArtifactoryResponse",
|
|
209
195
|
}) as any as S.Schema<DeleteArtifactoryResponse>;
|
|
210
196
|
|
|
@@ -229,9 +215,7 @@ export const GetArtifactoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
229
215
|
baseUrl: "https://registry.api.stackit.cloud",
|
|
230
216
|
}),
|
|
231
217
|
),
|
|
232
|
-
).annotate({
|
|
233
|
-
identifier: "GetArtifactoryRequest",
|
|
234
|
-
}) as any as S.Schema<GetArtifactoryRequest>;
|
|
218
|
+
).annotate({ identifier: "GetArtifactoryRequest" }) as any as S.Schema<GetArtifactoryRequest>;
|
|
235
219
|
|
|
236
220
|
export interface ListArtifactoriesRequest {
|
|
237
221
|
/** Project identifier. */
|
|
@@ -257,9 +241,7 @@ export const ListArtifactoriesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
257
241
|
baseUrl: "https://registry.api.stackit.cloud",
|
|
258
242
|
}),
|
|
259
243
|
),
|
|
260
|
-
).annotate({
|
|
261
|
-
identifier: "ListArtifactoriesRequest",
|
|
262
|
-
}) as any as S.Schema<ListArtifactoriesRequest>;
|
|
244
|
+
).annotate({ identifier: "ListArtifactoriesRequest" }) as any as S.Schema<ListArtifactoriesRequest>;
|
|
263
245
|
|
|
264
246
|
export type ArtifactoryListArtifactoriesList = Array<Artifactory>;
|
|
265
247
|
export const ArtifactoryListArtifactoriesList = /*@__PURE__*/ S.Array(
|
|
@@ -277,9 +259,7 @@ export const ArtifactoryList = /*@__PURE__*/ S.suspend(() =>
|
|
|
277
259
|
artifactories: ArtifactoryListArtifactoriesList,
|
|
278
260
|
next_page_token: S.optional(S.String),
|
|
279
261
|
}),
|
|
280
|
-
).annotate({
|
|
281
|
-
identifier: "ArtifactoryList",
|
|
282
|
-
}) as any as S.Schema<ArtifactoryList>;
|
|
262
|
+
).annotate({ identifier: "ArtifactoryList" }) as any as S.Schema<ArtifactoryList>;
|
|
283
263
|
|
|
284
264
|
export interface ListReplicationAdaptersRequest {
|
|
285
265
|
/** Project identifier. */
|
|
@@ -314,16 +294,12 @@ export const ReplicationAdapter = /*@__PURE__*/ S.suspend(() =>
|
|
|
314
294
|
display_name: S.String,
|
|
315
295
|
registry_type: S.String,
|
|
316
296
|
}),
|
|
317
|
-
).annotate({
|
|
318
|
-
identifier: "ReplicationAdapter",
|
|
319
|
-
}) as any as S.Schema<ReplicationAdapter>;
|
|
297
|
+
).annotate({ identifier: "ReplicationAdapter" }) as any as S.Schema<ReplicationAdapter>;
|
|
320
298
|
|
|
321
|
-
export type ReplicationAdapterListReplicationAdaptersList =
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
ReplicationAdapter,
|
|
326
|
-
) as any as S.Schema<ReplicationAdapterListReplicationAdaptersList>;
|
|
299
|
+
export type ReplicationAdapterListReplicationAdaptersList = Array<ReplicationAdapter>;
|
|
300
|
+
export const ReplicationAdapterListReplicationAdaptersList = /*@__PURE__*/ S.Array(
|
|
301
|
+
ReplicationAdapter,
|
|
302
|
+
) as any as S.Schema<ReplicationAdapterListReplicationAdaptersList>;
|
|
327
303
|
|
|
328
304
|
/** A list of replication adapters */
|
|
329
305
|
export interface ReplicationAdapterList {
|
|
@@ -336,9 +312,7 @@ export const ReplicationAdapterList = /*@__PURE__*/ S.suspend(() =>
|
|
|
336
312
|
next_page_token: S.optional(S.String),
|
|
337
313
|
replication_adapters: ReplicationAdapterListReplicationAdaptersList,
|
|
338
314
|
}),
|
|
339
|
-
).annotate({
|
|
340
|
-
identifier: "ReplicationAdapterList",
|
|
341
|
-
}) as any as S.Schema<ReplicationAdapterList>;
|
|
315
|
+
).annotate({ identifier: "ReplicationAdapterList" }) as any as S.Schema<ReplicationAdapterList>;
|
|
342
316
|
|
|
343
317
|
/** Update an upstream repository for a proxy-cache project */
|
|
344
318
|
export interface UpdateProxyRequest {
|
|
@@ -354,9 +328,7 @@ export const UpdateProxyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
354
328
|
description: S.optional(S.String),
|
|
355
329
|
url: S.optional(S.String),
|
|
356
330
|
}),
|
|
357
|
-
).annotate({
|
|
358
|
-
identifier: "UpdateProxyRequest",
|
|
359
|
-
}) as any as S.Schema<UpdateProxyRequest>;
|
|
331
|
+
).annotate({ identifier: "UpdateProxyRequest" }) as any as S.Schema<UpdateProxyRequest>;
|
|
360
332
|
|
|
361
333
|
export interface PatchArtifactoryRequest {
|
|
362
334
|
/** Project identifier. */
|
|
@@ -381,16 +353,9 @@ export const PatchArtifactoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
381
353
|
baseUrl: "https://registry.api.stackit.cloud",
|
|
382
354
|
}),
|
|
383
355
|
),
|
|
384
|
-
).annotate({
|
|
385
|
-
identifier: "PatchArtifactoryRequest",
|
|
386
|
-
}) as any as S.Schema<PatchArtifactoryRequest>;
|
|
356
|
+
).annotate({ identifier: "PatchArtifactoryRequest" }) as any as S.Schema<PatchArtifactoryRequest>;
|
|
387
357
|
|
|
388
|
-
export type CreateArtifactoryError =
|
|
389
|
-
| BadRequest
|
|
390
|
-
| Forbidden
|
|
391
|
-
| NotFound
|
|
392
|
-
| Conflict
|
|
393
|
-
| StackitOpError;
|
|
358
|
+
export type CreateArtifactoryError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
394
359
|
/** Creates an artifactory Creates an artifactory associated to the specified project. */
|
|
395
360
|
export const createArtifactory: API.OperationMethod<
|
|
396
361
|
CreateArtifactoryRequest,
|
|
@@ -405,12 +370,7 @@ export const createArtifactory: API.OperationMethod<
|
|
|
405
370
|
retry: Retry.Retry,
|
|
406
371
|
}));
|
|
407
372
|
|
|
408
|
-
export type DeleteArtifactoryError =
|
|
409
|
-
| BadRequest
|
|
410
|
-
| Forbidden
|
|
411
|
-
| NotFound
|
|
412
|
-
| Conflict
|
|
413
|
-
| StackitOpError;
|
|
373
|
+
export type DeleteArtifactoryError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
414
374
|
/** Soft delete the artifactory. Deletes the artifactory associated to the specified project. */
|
|
415
375
|
export const deleteArtifactory: API.OperationMethod<
|
|
416
376
|
DeleteArtifactoryRequest,
|
|
@@ -425,11 +385,7 @@ export const deleteArtifactory: API.OperationMethod<
|
|
|
425
385
|
retry: Retry.Retry,
|
|
426
386
|
}));
|
|
427
387
|
|
|
428
|
-
export type GetArtifactoryError =
|
|
429
|
-
| BadRequest
|
|
430
|
-
| Forbidden
|
|
431
|
-
| NotFound
|
|
432
|
-
| StackitOpError;
|
|
388
|
+
export type GetArtifactoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
433
389
|
/** Get Artifactory information. Retrieves information about a STACKIT Artifactory. */
|
|
434
390
|
export const getArtifactory: API.OperationMethod<
|
|
435
391
|
GetArtifactoryRequest,
|
|
@@ -474,11 +430,7 @@ export const listReplicationAdapters: API.OperationMethod<
|
|
|
474
430
|
retry: Retry.Retry,
|
|
475
431
|
}));
|
|
476
432
|
|
|
477
|
-
export type PatchArtifactoryError =
|
|
478
|
-
| BadRequest
|
|
479
|
-
| Forbidden
|
|
480
|
-
| NotFound
|
|
481
|
-
| StackitOpError;
|
|
433
|
+
export type PatchArtifactoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
482
434
|
/** Update Artifactory */
|
|
483
435
|
export const patchArtifactory: API.OperationMethod<
|
|
484
436
|
PatchArtifactoryRequest,
|