@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
package/src/services/alb_waf.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -51,7 +47,7 @@ export class NotFound
|
|
|
51
47
|
|
|
52
48
|
/** The protective stance action. ACTION_DENY forces a 403 status response code. */
|
|
53
49
|
export type Action = "ACTION_DENY" | "ACTION_PASS" | "ACTION_ALLOW";
|
|
54
|
-
export const Action =
|
|
50
|
+
export const Action = S.String;
|
|
55
51
|
|
|
56
52
|
export interface Behavior {
|
|
57
53
|
action: Action | (string & {});
|
|
@@ -86,7 +82,7 @@ export type Operator =
|
|
|
86
82
|
| "OPERATOR_VALIDATE_URL_ENCODING"
|
|
87
83
|
| "OPERATOR_VALIDATE_UTF8_ENCODING"
|
|
88
84
|
| "OPERATOR_WITHIN";
|
|
89
|
-
export const Operator =
|
|
85
|
+
export const Operator = S.String;
|
|
90
86
|
|
|
91
87
|
export interface ConditionOperator {
|
|
92
88
|
type: Operator | (string & {});
|
|
@@ -98,9 +94,7 @@ export const ConditionOperator = /*@__PURE__*/ S.suspend(() =>
|
|
|
98
94
|
type: Operator,
|
|
99
95
|
value: S.optional(S.String),
|
|
100
96
|
}),
|
|
101
|
-
).annotate({
|
|
102
|
-
identifier: "ConditionOperator",
|
|
103
|
-
}) as any as S.Schema<ConditionOperator>;
|
|
97
|
+
).annotate({ identifier: "ConditionOperator" }) as any as S.Schema<ConditionOperator>;
|
|
104
98
|
|
|
105
99
|
export type Transformation =
|
|
106
100
|
| "TRANSFORMATION_LENGTH"
|
|
@@ -109,12 +103,10 @@ export type Transformation =
|
|
|
109
103
|
| "TRANSFORMATION_TRIM"
|
|
110
104
|
| "TRANSFORMATION_UPPERCASE"
|
|
111
105
|
| "TRANSFORMATION_UTF8_TO_UNICODE";
|
|
112
|
-
export const Transformation =
|
|
106
|
+
export const Transformation = S.String;
|
|
113
107
|
|
|
114
108
|
/** [HINT] Ordered processing adjustments applied to clean inputs before match checking. */
|
|
115
|
-
export type ConditionTransformationsList = Array<
|
|
116
|
-
Transformation | (string & {})
|
|
117
|
-
>;
|
|
109
|
+
export type ConditionTransformationsList = Array<Transformation | (string & {})>;
|
|
118
110
|
export const ConditionTransformationsList = /*@__PURE__*/ S.Array(
|
|
119
111
|
Transformation,
|
|
120
112
|
) as any as S.Schema<ConditionTransformationsList>;
|
|
@@ -143,7 +135,7 @@ export type Variable =
|
|
|
143
135
|
| "VARIABLE_RESPONSE_HEADERS_NAMES"
|
|
144
136
|
| "VARIABLE_RESPONSE_PROTOCOL"
|
|
145
137
|
| "VARIABLE_RESPONSE_STATUS";
|
|
146
|
-
export const Variable =
|
|
138
|
+
export const Variable = S.String;
|
|
147
139
|
|
|
148
140
|
export interface ConditionVariable {
|
|
149
141
|
type: Variable | (string & {});
|
|
@@ -155,9 +147,7 @@ export const ConditionVariable = /*@__PURE__*/ S.suspend(() =>
|
|
|
155
147
|
type: Variable,
|
|
156
148
|
value: S.optional(S.String),
|
|
157
149
|
}),
|
|
158
|
-
).annotate({
|
|
159
|
-
identifier: "ConditionVariable",
|
|
160
|
-
}) as any as S.Schema<ConditionVariable>;
|
|
150
|
+
).annotate({ identifier: "ConditionVariable" }) as any as S.Schema<ConditionVariable>;
|
|
161
151
|
|
|
162
152
|
export interface Condition {
|
|
163
153
|
operator: ConditionOperator;
|
|
@@ -192,9 +182,7 @@ export const CreateCustomRule = /*@__PURE__*/ S.suspend(() =>
|
|
|
192
182
|
conditions: CreateCustomRuleConditionsList,
|
|
193
183
|
description: S.optional(S.String),
|
|
194
184
|
}),
|
|
195
|
-
).annotate({
|
|
196
|
-
identifier: "CreateCustomRule",
|
|
197
|
-
}) as any as S.Schema<CreateCustomRule>;
|
|
185
|
+
).annotate({ identifier: "CreateCustomRule" }) as any as S.Schema<CreateCustomRule>;
|
|
198
186
|
|
|
199
187
|
/** The collection of custom rule group SecLang parameters forming this execution group. */
|
|
200
188
|
export type CreateCustomRuleGroupRequestRulesList = Array<CreateCustomRule>;
|
|
@@ -238,7 +226,7 @@ export type Severity =
|
|
|
238
226
|
| "SEVERITY_NOTICE"
|
|
239
227
|
| "SEVERITY_INFO"
|
|
240
228
|
| "SEVERITY_DEBUG";
|
|
241
|
-
export const Severity =
|
|
229
|
+
export const Severity = S.String;
|
|
242
230
|
|
|
243
231
|
export interface GetBehavior {
|
|
244
232
|
action: Action;
|
|
@@ -327,7 +315,7 @@ export const GetCustomRuleGroupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
327
315
|
|
|
328
316
|
/** Set the managed rule set type. */
|
|
329
317
|
export type Type = "TYPE_OWASP_CRS";
|
|
330
|
-
export const Type =
|
|
318
|
+
export const Type = S.String;
|
|
331
319
|
|
|
332
320
|
export interface CreateManagedRuleSetRequest {
|
|
333
321
|
projectId: string;
|
|
@@ -356,7 +344,7 @@ export const CreateManagedRuleSetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
356
344
|
|
|
357
345
|
/** The current mode of the rule. */
|
|
358
346
|
export type Mode = "MODE_ENABLED" | "MODE_DISABLED" | "MODE_LOG_ONLY";
|
|
359
|
-
export const Mode =
|
|
347
|
+
export const Mode = S.String;
|
|
360
348
|
|
|
361
349
|
/** Rule represents an individual security or validation rule. */
|
|
362
350
|
export interface MRSRule {
|
|
@@ -397,9 +385,7 @@ export const MRSRuleGroup = /*@__PURE__*/ S.suspend(() =>
|
|
|
397
385
|
).annotate({ identifier: "MRSRuleGroup" }) as any as S.Schema<MRSRuleGroup>;
|
|
398
386
|
|
|
399
387
|
/** Inventory of all available Managed Rule Set groups and their current configuration. The key is the unique Group ID. */
|
|
400
|
-
export type GetManagedRuleSetResponseGroupsMap = {
|
|
401
|
-
[key: string]: MRSRuleGroup | undefined;
|
|
402
|
-
};
|
|
388
|
+
export type GetManagedRuleSetResponseGroupsMap = { [key: string]: MRSRuleGroup | undefined };
|
|
403
389
|
export const GetManagedRuleSetResponseGroupsMap = /*@__PURE__*/ S.Record(
|
|
404
390
|
S.String,
|
|
405
391
|
MRSRuleGroup,
|
|
@@ -482,9 +468,7 @@ export const CreateWAFRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
482
468
|
baseUrl: "https://alb-waf.api.stackit.cloud",
|
|
483
469
|
}),
|
|
484
470
|
),
|
|
485
|
-
).annotate({
|
|
486
|
-
identifier: "CreateWAFRequest",
|
|
487
|
-
}) as any as S.Schema<CreateWAFRequest>;
|
|
471
|
+
).annotate({ identifier: "CreateWAFRequest" }) as any as S.Schema<CreateWAFRequest>;
|
|
488
472
|
|
|
489
473
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
490
474
|
export type GetWAFResponseLabelsMap = { [key: string]: string | undefined };
|
|
@@ -629,16 +613,12 @@ export const DeleteWAFRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
629
613
|
baseUrl: "https://alb-waf.api.stackit.cloud",
|
|
630
614
|
}),
|
|
631
615
|
),
|
|
632
|
-
).annotate({
|
|
633
|
-
identifier: "DeleteWAFRequest",
|
|
634
|
-
}) as any as S.Schema<DeleteWAFRequest>;
|
|
616
|
+
).annotate({ identifier: "DeleteWAFRequest" }) as any as S.Schema<DeleteWAFRequest>;
|
|
635
617
|
|
|
636
618
|
export type DeleteWAFResponse2 = unknown;
|
|
637
619
|
export const DeleteWAFResponse2 = /*@__PURE__*/ S.suspend(() =>
|
|
638
620
|
S.Unknown.pipe(T.RawResponseRoot()),
|
|
639
|
-
).annotate({
|
|
640
|
-
identifier: "DeleteWAFResponse2",
|
|
641
|
-
}) as any as S.Schema<DeleteWAFResponse2>;
|
|
621
|
+
).annotate({ identifier: "DeleteWAFResponse2" }) as any as S.Schema<DeleteWAFResponse2>;
|
|
642
622
|
|
|
643
623
|
export interface GetCustomRuleGroupRequest {
|
|
644
624
|
projectId: string;
|
|
@@ -680,9 +660,7 @@ export const GetManagedRuleSetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
680
660
|
baseUrl: "https://alb-waf.api.stackit.cloud",
|
|
681
661
|
}),
|
|
682
662
|
),
|
|
683
|
-
).annotate({
|
|
684
|
-
identifier: "GetManagedRuleSetRequest",
|
|
685
|
-
}) as any as S.Schema<GetManagedRuleSetRequest>;
|
|
663
|
+
).annotate({ identifier: "GetManagedRuleSetRequest" }) as any as S.Schema<GetManagedRuleSetRequest>;
|
|
686
664
|
|
|
687
665
|
export interface GetQuotaRequest {
|
|
688
666
|
projectId: string;
|
|
@@ -700,9 +678,7 @@ export const GetQuotaRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
700
678
|
baseUrl: "https://alb-waf.api.stackit.cloud",
|
|
701
679
|
}),
|
|
702
680
|
),
|
|
703
|
-
).annotate({
|
|
704
|
-
identifier: "GetQuotaRequest",
|
|
705
|
-
}) as any as S.Schema<GetQuotaRequest>;
|
|
681
|
+
).annotate({ identifier: "GetQuotaRequest" }) as any as S.Schema<GetQuotaRequest>;
|
|
706
682
|
|
|
707
683
|
/** CRG quotas holds the limit and usage for CRG resources */
|
|
708
684
|
export interface CRGConfigQuota {
|
|
@@ -773,9 +749,7 @@ export const GetQuotaResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
773
749
|
quotas: Quotas,
|
|
774
750
|
region: S.optional(S.String),
|
|
775
751
|
}),
|
|
776
|
-
).annotate({
|
|
777
|
-
identifier: "GetQuotaResponse",
|
|
778
|
-
}) as any as S.Schema<GetQuotaResponse>;
|
|
752
|
+
).annotate({ identifier: "GetQuotaResponse" }) as any as S.Schema<GetQuotaResponse>;
|
|
779
753
|
|
|
780
754
|
export interface GetWAFRequest {
|
|
781
755
|
projectId: string;
|
|
@@ -823,8 +797,7 @@ export const ListCustomRuleGroupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
823
797
|
identifier: "ListCustomRuleGroupRequest",
|
|
824
798
|
}) as any as S.Schema<ListCustomRuleGroupRequest>;
|
|
825
799
|
|
|
826
|
-
export type ListCustomRuleGroupResponseItemsList =
|
|
827
|
-
Array<GetCustomRuleGroupResponse>;
|
|
800
|
+
export type ListCustomRuleGroupResponseItemsList = Array<GetCustomRuleGroupResponse>;
|
|
828
801
|
export const ListCustomRuleGroupResponseItemsList = /*@__PURE__*/ S.Array(
|
|
829
802
|
GetCustomRuleGroupResponse,
|
|
830
803
|
) as any as S.Schema<ListCustomRuleGroupResponseItemsList>;
|
|
@@ -889,8 +862,7 @@ export const GetLimitedManagedRuleSetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
889
862
|
identifier: "GetLimitedManagedRuleSetResponse",
|
|
890
863
|
}) as any as S.Schema<GetLimitedManagedRuleSetResponse>;
|
|
891
864
|
|
|
892
|
-
export type ListManagedRuleSetResponseItemsList =
|
|
893
|
-
Array<GetLimitedManagedRuleSetResponse>;
|
|
865
|
+
export type ListManagedRuleSetResponseItemsList = Array<GetLimitedManagedRuleSetResponse>;
|
|
894
866
|
export const ListManagedRuleSetResponseItemsList = /*@__PURE__*/ S.Array(
|
|
895
867
|
GetLimitedManagedRuleSetResponse,
|
|
896
868
|
) as any as S.Schema<ListManagedRuleSetResponseItemsList>;
|
|
@@ -950,9 +922,7 @@ export const ListWAFResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
950
922
|
items: S.optional(ListWAFResponseItemsList),
|
|
951
923
|
nextPageId: S.optional(S.String),
|
|
952
924
|
}),
|
|
953
|
-
).annotate({
|
|
954
|
-
identifier: "ListWAFResponse",
|
|
955
|
-
}) as any as S.Schema<ListWAFResponse>;
|
|
925
|
+
).annotate({ identifier: "ListWAFResponse" }) as any as S.Schema<ListWAFResponse>;
|
|
956
926
|
|
|
957
927
|
export interface PatchMRSRule {
|
|
958
928
|
mode?: Mode | (string & {});
|
|
@@ -963,9 +933,7 @@ export const PatchMRSRule = /*@__PURE__*/ S.suspend(() =>
|
|
|
963
933
|
}),
|
|
964
934
|
).annotate({ identifier: "PatchMRSRule" }) as any as S.Schema<PatchMRSRule>;
|
|
965
935
|
|
|
966
|
-
export type PatchMRSRuleGroupRulesMap = {
|
|
967
|
-
[key: string]: PatchMRSRule | undefined;
|
|
968
|
-
};
|
|
936
|
+
export type PatchMRSRuleGroupRulesMap = { [key: string]: PatchMRSRule | undefined };
|
|
969
937
|
export const PatchMRSRuleGroupRulesMap = /*@__PURE__*/ S.Record(
|
|
970
938
|
S.String,
|
|
971
939
|
PatchMRSRule,
|
|
@@ -978,14 +946,10 @@ export const PatchMRSRuleGroup = /*@__PURE__*/ S.suspend(() =>
|
|
|
978
946
|
S.Struct({
|
|
979
947
|
rules: PatchMRSRuleGroupRulesMap,
|
|
980
948
|
}),
|
|
981
|
-
).annotate({
|
|
982
|
-
identifier: "PatchMRSRuleGroup",
|
|
983
|
-
}) as any as S.Schema<PatchMRSRuleGroup>;
|
|
949
|
+
).annotate({ identifier: "PatchMRSRuleGroup" }) as any as S.Schema<PatchMRSRuleGroup>;
|
|
984
950
|
|
|
985
951
|
/** Map of Managed Rule Set groups to be patched. The key is the Group ID (e.g., 942 for SQL Injection). Only provided rules within the group will be updated; others remain unchanged. */
|
|
986
|
-
export type PatchManagedRuleSetRequestGroupsMap = {
|
|
987
|
-
[key: string]: PatchMRSRuleGroup | undefined;
|
|
988
|
-
};
|
|
952
|
+
export type PatchManagedRuleSetRequestGroupsMap = { [key: string]: PatchMRSRuleGroup | undefined };
|
|
989
953
|
export const PatchManagedRuleSetRequestGroupsMap = /*@__PURE__*/ S.Record(
|
|
990
954
|
S.String,
|
|
991
955
|
PatchMRSRuleGroup,
|
|
@@ -1081,14 +1045,9 @@ export const UpdateWAFRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1081
1045
|
baseUrl: "https://alb-waf.api.stackit.cloud",
|
|
1082
1046
|
}),
|
|
1083
1047
|
),
|
|
1084
|
-
).annotate({
|
|
1085
|
-
identifier: "UpdateWAFRequest",
|
|
1086
|
-
}) as any as S.Schema<UpdateWAFRequest>;
|
|
1048
|
+
).annotate({ identifier: "UpdateWAFRequest" }) as any as S.Schema<UpdateWAFRequest>;
|
|
1087
1049
|
|
|
1088
|
-
export type CreateCustomRuleGroupError =
|
|
1089
|
-
| BadRequest
|
|
1090
|
-
| Forbidden
|
|
1091
|
-
| StackitOpError;
|
|
1050
|
+
export type CreateCustomRuleGroupError = BadRequest | Forbidden | StackitOpError;
|
|
1092
1051
|
/** Create a CRG configuration Creates a structured rule configuration using the abstract CRG. It can be referenced by any number of WAF configurations in the same project. */
|
|
1093
1052
|
export const createCustomRuleGroup: API.OperationMethod<
|
|
1094
1053
|
CreateCustomRuleGroupRequest,
|
|
@@ -1133,10 +1092,7 @@ export const createWAF: API.OperationMethod<
|
|
|
1133
1092
|
retry: Retry.Retry,
|
|
1134
1093
|
}));
|
|
1135
1094
|
|
|
1136
|
-
export type DeleteCustomRuleGroupError =
|
|
1137
|
-
| BadRequest
|
|
1138
|
-
| Forbidden
|
|
1139
|
-
| StackitOpError;
|
|
1095
|
+
export type DeleteCustomRuleGroupError = BadRequest | Forbidden | StackitOpError;
|
|
1140
1096
|
/** Delete a CRG configuration To delete a custom rule group configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it. */
|
|
1141
1097
|
export const deleteCustomRuleGroup: API.OperationMethod<
|
|
1142
1098
|
DeleteCustomRuleGroupRequest,
|
|
@@ -1181,11 +1137,7 @@ export const deleteWAF: API.OperationMethod<
|
|
|
1181
1137
|
retry: Retry.Retry,
|
|
1182
1138
|
}));
|
|
1183
1139
|
|
|
1184
|
-
export type GetCustomRuleGroupError =
|
|
1185
|
-
| BadRequest
|
|
1186
|
-
| Forbidden
|
|
1187
|
-
| NotFound
|
|
1188
|
-
| StackitOpError;
|
|
1140
|
+
export type GetCustomRuleGroupError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1189
1141
|
/** Retrieve a CRG configuration Retrieves the specified SecLang custom rule configuration (CRG) structure. */
|
|
1190
1142
|
export const getCustomRuleGroup: API.OperationMethod<
|
|
1191
1143
|
GetCustomRuleGroupRequest,
|
|
@@ -1200,11 +1152,7 @@ export const getCustomRuleGroup: API.OperationMethod<
|
|
|
1200
1152
|
retry: Retry.Retry,
|
|
1201
1153
|
}));
|
|
1202
1154
|
|
|
1203
|
-
export type GetManagedRuleSetError =
|
|
1204
|
-
| BadRequest
|
|
1205
|
-
| Forbidden
|
|
1206
|
-
| NotFound
|
|
1207
|
-
| StackitOpError;
|
|
1155
|
+
export type GetManagedRuleSetError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1208
1156
|
/** Retrieve a MRS configuration To retrieve an existing managed rule set (MRS) configuration this endpoint can be used. */
|
|
1209
1157
|
export const getManagedRuleSet: API.OperationMethod<
|
|
1210
1158
|
GetManagedRuleSetRequest,
|
|
@@ -1294,11 +1242,7 @@ export const listWAF: API.OperationMethod<
|
|
|
1294
1242
|
retry: Retry.Retry,
|
|
1295
1243
|
}));
|
|
1296
1244
|
|
|
1297
|
-
export type PatchManagedRuleSetError =
|
|
1298
|
-
| BadRequest
|
|
1299
|
-
| Forbidden
|
|
1300
|
-
| NotFound
|
|
1301
|
-
| StackitOpError;
|
|
1245
|
+
export type PatchManagedRuleSetError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1302
1246
|
/** Granularly update a MRS configuration Accepts the same structure as the GET response. Only fields provided with values will be updated. */
|
|
1303
1247
|
export const patchManagedRuleSet: API.OperationMethod<
|
|
1304
1248
|
PatchManagedRuleSetRequest,
|
|
@@ -1313,10 +1257,7 @@ export const patchManagedRuleSet: API.OperationMethod<
|
|
|
1313
1257
|
retry: Retry.Retry,
|
|
1314
1258
|
}));
|
|
1315
1259
|
|
|
1316
|
-
export type UpdateCustomRuleGroupError =
|
|
1317
|
-
| BadRequest
|
|
1318
|
-
| Forbidden
|
|
1319
|
-
| StackitOpError;
|
|
1260
|
+
export type UpdateCustomRuleGroupError = BadRequest | Forbidden | StackitOpError;
|
|
1320
1261
|
/** Update a CRG configuration Replaces the rules array of an existing CRG. The CRG name is immutable and used as the resource key. Send the complete desired rule set; per-rule partial merge is not supported. */
|
|
1321
1262
|
export const updateCustomRuleGroup: API.OperationMethod<
|
|
1322
1263
|
UpdateCustomRuleGroupRequest,
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -65,9 +61,7 @@ export const AddMembersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
65
61
|
baseUrl: "https://authorization.api.stackit.cloud",
|
|
66
62
|
}),
|
|
67
63
|
),
|
|
68
|
-
).annotate({
|
|
69
|
-
identifier: "AddMembersRequest",
|
|
70
|
-
}) as any as S.Schema<AddMembersRequest>;
|
|
64
|
+
).annotate({ identifier: "AddMembersRequest" }) as any as S.Schema<AddMembersRequest>;
|
|
71
65
|
|
|
72
66
|
export type MembersResponseMembersList = Array<Member>;
|
|
73
67
|
export const MembersResponseMembersList = /*@__PURE__*/ S.Array(
|
|
@@ -96,9 +90,7 @@ export const MembersResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
96
90
|
resourceType: S.String,
|
|
97
91
|
writtenAt: S.optional(Zookie),
|
|
98
92
|
}),
|
|
99
|
-
).annotate({
|
|
100
|
-
identifier: "MembersResponse",
|
|
101
|
-
}) as any as S.Schema<MembersResponse>;
|
|
93
|
+
).annotate({ identifier: "MembersResponse" }) as any as S.Schema<MembersResponse>;
|
|
102
94
|
|
|
103
95
|
export interface PermissionRequest {
|
|
104
96
|
name: string;
|
|
@@ -107,9 +99,7 @@ export const PermissionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
107
99
|
S.Struct({
|
|
108
100
|
name: S.String,
|
|
109
101
|
}),
|
|
110
|
-
).annotate({
|
|
111
|
-
identifier: "PermissionRequest",
|
|
112
|
-
}) as any as S.Schema<PermissionRequest>;
|
|
102
|
+
).annotate({ identifier: "PermissionRequest" }) as any as S.Schema<PermissionRequest>;
|
|
113
103
|
|
|
114
104
|
export type AddRoleRequestPermissionsList = Array<PermissionRequest>;
|
|
115
105
|
export const AddRoleRequestPermissionsList = /*@__PURE__*/ S.Array(
|
|
@@ -184,9 +174,7 @@ export const AddCustomRoleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
184
174
|
resourceType: S.String,
|
|
185
175
|
role: Role,
|
|
186
176
|
}),
|
|
187
|
-
).annotate({
|
|
188
|
-
identifier: "AddCustomRoleResponse",
|
|
189
|
-
}) as any as S.Schema<AddCustomRoleResponse>;
|
|
177
|
+
).annotate({ identifier: "AddCustomRoleResponse" }) as any as S.Schema<AddCustomRoleResponse>;
|
|
190
178
|
|
|
191
179
|
export interface DeleteRoleRequest {
|
|
192
180
|
resourceType: string;
|
|
@@ -208,9 +196,7 @@ export const DeleteRoleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
208
196
|
baseUrl: "https://authorization.api.stackit.cloud",
|
|
209
197
|
}),
|
|
210
198
|
),
|
|
211
|
-
).annotate({
|
|
212
|
-
identifier: "DeleteRoleRequest",
|
|
213
|
-
}) as any as S.Schema<DeleteRoleRequest>;
|
|
199
|
+
).annotate({ identifier: "DeleteRoleRequest" }) as any as S.Schema<DeleteRoleRequest>;
|
|
214
200
|
|
|
215
201
|
export interface DeleteRoleResponse {
|
|
216
202
|
writtenAt: Zookie;
|
|
@@ -219,9 +205,7 @@ export const DeleteRoleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
219
205
|
S.Struct({
|
|
220
206
|
writtenAt: Zookie,
|
|
221
207
|
}),
|
|
222
|
-
).annotate({
|
|
223
|
-
identifier: "DeleteRoleResponse",
|
|
224
|
-
}) as any as S.Schema<DeleteRoleResponse>;
|
|
208
|
+
).annotate({ identifier: "DeleteRoleResponse" }) as any as S.Schema<DeleteRoleResponse>;
|
|
225
209
|
|
|
226
210
|
export interface GetRoleRequest {
|
|
227
211
|
resourceType: string;
|
|
@@ -254,9 +238,7 @@ export const GetRoleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
254
238
|
resourceType: S.String,
|
|
255
239
|
role: Role,
|
|
256
240
|
}),
|
|
257
|
-
).annotate({
|
|
258
|
-
identifier: "GetRoleResponse",
|
|
259
|
-
}) as any as S.Schema<GetRoleResponse>;
|
|
241
|
+
).annotate({ identifier: "GetRoleResponse" }) as any as S.Schema<GetRoleResponse>;
|
|
260
242
|
|
|
261
243
|
export interface ListMembersRequest {
|
|
262
244
|
resourceType: string;
|
|
@@ -276,9 +258,7 @@ export const ListMembersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
276
258
|
baseUrl: "https://authorization.api.stackit.cloud",
|
|
277
259
|
}),
|
|
278
260
|
),
|
|
279
|
-
).annotate({
|
|
280
|
-
identifier: "ListMembersRequest",
|
|
281
|
-
}) as any as S.Schema<ListMembersRequest>;
|
|
261
|
+
).annotate({ identifier: "ListMembersRequest" }) as any as S.Schema<ListMembersRequest>;
|
|
282
262
|
|
|
283
263
|
export type ListMembersResponseMembersList = Array<Member>;
|
|
284
264
|
export const ListMembersResponseMembersList = /*@__PURE__*/ S.Array(
|
|
@@ -296,9 +276,7 @@ export const ListMembersResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
296
276
|
resourceId: S.String,
|
|
297
277
|
resourceType: S.String,
|
|
298
278
|
}),
|
|
299
|
-
).annotate({
|
|
300
|
-
identifier: "ListMembersResponse",
|
|
301
|
-
}) as any as S.Schema<ListMembersResponse>;
|
|
279
|
+
).annotate({ identifier: "ListMembersResponse" }) as any as S.Schema<ListMembersResponse>;
|
|
302
280
|
|
|
303
281
|
export interface ListPermissionsRequest {
|
|
304
282
|
resourceType?: string;
|
|
@@ -314,9 +292,7 @@ export const ListPermissionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
314
292
|
baseUrl: "https://authorization.api.stackit.cloud",
|
|
315
293
|
}),
|
|
316
294
|
),
|
|
317
|
-
).annotate({
|
|
318
|
-
identifier: "ListPermissionsRequest",
|
|
319
|
-
}) as any as S.Schema<ListPermissionsRequest>;
|
|
295
|
+
).annotate({ identifier: "ListPermissionsRequest" }) as any as S.Schema<ListPermissionsRequest>;
|
|
320
296
|
|
|
321
297
|
export type ListPermissionsResponsePermissionsList = Array<Permission>;
|
|
322
298
|
export const ListPermissionsResponsePermissionsList = /*@__PURE__*/ S.Array(
|
|
@@ -330,9 +306,7 @@ export const ListPermissionsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
330
306
|
S.Struct({
|
|
331
307
|
permissions: ListPermissionsResponsePermissionsList,
|
|
332
308
|
}),
|
|
333
|
-
).annotate({
|
|
334
|
-
identifier: "ListPermissionsResponse",
|
|
335
|
-
}) as any as S.Schema<ListPermissionsResponse>;
|
|
309
|
+
).annotate({ identifier: "ListPermissionsResponse" }) as any as S.Schema<ListPermissionsResponse>;
|
|
336
310
|
|
|
337
311
|
export interface ListRolesRequest {
|
|
338
312
|
resourceType: string;
|
|
@@ -350,9 +324,7 @@ export const ListRolesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
350
324
|
baseUrl: "https://authorization.api.stackit.cloud",
|
|
351
325
|
}),
|
|
352
326
|
),
|
|
353
|
-
).annotate({
|
|
354
|
-
identifier: "ListRolesRequest",
|
|
355
|
-
}) as any as S.Schema<ListRolesRequest>;
|
|
327
|
+
).annotate({ identifier: "ListRolesRequest" }) as any as S.Schema<ListRolesRequest>;
|
|
356
328
|
|
|
357
329
|
export type RolesResponseRolesList = Array<Role>;
|
|
358
330
|
export const RolesResponseRolesList = /*@__PURE__*/ S.Array(
|
|
@@ -443,9 +415,7 @@ export const ListUserPermissionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
443
415
|
email: S.String.pipe(T.Label()),
|
|
444
416
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
445
417
|
resourceType: S.optional(S.String.pipe(T.Query())),
|
|
446
|
-
permissions: S.optional(
|
|
447
|
-
ListUserPermissionsRequestPermissionsList.pipe(T.Query()),
|
|
448
|
-
),
|
|
418
|
+
permissions: S.optional(ListUserPermissionsRequestPermissionsList.pipe(T.Query())),
|
|
449
419
|
}).pipe(
|
|
450
420
|
T.Http({
|
|
451
421
|
method: "GET",
|
|
@@ -520,9 +490,7 @@ export const RemoveMembersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
520
490
|
baseUrl: "https://authorization.api.stackit.cloud",
|
|
521
491
|
}),
|
|
522
492
|
),
|
|
523
|
-
).annotate({
|
|
524
|
-
identifier: "RemoveMembersRequest",
|
|
525
|
-
}) as any as S.Schema<RemoveMembersRequest>;
|
|
493
|
+
).annotate({ identifier: "RemoveMembersRequest" }) as any as S.Schema<RemoveMembersRequest>;
|
|
526
494
|
|
|
527
495
|
export type UpdateRoleRequestPermissionsList = Array<PermissionRequest>;
|
|
528
496
|
export const UpdateRoleRequestPermissionsList = /*@__PURE__*/ S.Array(
|
|
@@ -555,9 +523,7 @@ export const UpdateRoleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
555
523
|
baseUrl: "https://authorization.api.stackit.cloud",
|
|
556
524
|
}),
|
|
557
525
|
),
|
|
558
|
-
).annotate({
|
|
559
|
-
identifier: "UpdateRoleRequest",
|
|
560
|
-
}) as any as S.Schema<UpdateRoleRequest>;
|
|
526
|
+
).annotate({ identifier: "UpdateRoleRequest" }) as any as S.Schema<UpdateRoleRequest>;
|
|
561
527
|
|
|
562
528
|
export interface UpdateRoleResponse {
|
|
563
529
|
resourceId: string;
|
|
@@ -570,9 +536,7 @@ export const UpdateRoleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
570
536
|
resourceType: S.String,
|
|
571
537
|
role: Role,
|
|
572
538
|
}),
|
|
573
|
-
).annotate({
|
|
574
|
-
identifier: "UpdateRoleResponse",
|
|
575
|
-
}) as any as S.Schema<UpdateRoleResponse>;
|
|
539
|
+
).annotate({ identifier: "UpdateRoleResponse" }) as any as S.Schema<UpdateRoleResponse>;
|
|
576
540
|
|
|
577
541
|
export type AddMembersError = BadRequest | Forbidden | StackitOpError;
|
|
578
542
|
/** Add members to a resource Add members to the given resource with specified roles. */
|