@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/pubsub.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
|
|
|
@@ -59,13 +55,13 @@ export class UnprocessableEntity
|
|
|
59
55
|
) {}
|
|
60
56
|
|
|
61
57
|
export type CreateSubscriptionRequestRegionId = "eu01";
|
|
62
|
-
export const CreateSubscriptionRequestRegionId =
|
|
58
|
+
export const CreateSubscriptionRequestRegionId = S.String;
|
|
63
59
|
|
|
64
60
|
/** Labels are key-value pairs used to group and organize subsets of resources. **Key constraints:** - May contain an optional domain prefix separated by a slash (`/`). - The domain prefix must be less than or equal to 250 characters and a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - The name part (excluding the domain prefix) must be between 1 and 63 characters long. - The name part must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - The name part may contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use. **Value constraints:** - Must be less than or equal to 63 characters long (can be empty). - Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) if not empty. - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. **Count constraint:** - A maximum of 64 labels can be applied per resource. Restricted labels are excluded from this count. */
|
|
65
|
-
export type Labels = { [key: string]: string | undefined };
|
|
61
|
+
export type Labels = { [key: string]: string | null | undefined };
|
|
66
62
|
export const Labels = /*@__PURE__*/ S.Record(
|
|
67
63
|
S.String,
|
|
68
|
-
S.String,
|
|
64
|
+
S.NullOr(S.String),
|
|
69
65
|
) as any as S.Schema<Labels>;
|
|
70
66
|
|
|
71
67
|
/** Configuration settings for the subscription. */
|
|
@@ -77,9 +73,7 @@ export const SubscriptionSettings = /*@__PURE__*/ S.suspend(() =>
|
|
|
77
73
|
S.Struct({
|
|
78
74
|
ackDeadline: S.optional(S.String),
|
|
79
75
|
}),
|
|
80
|
-
).annotate({
|
|
81
|
-
identifier: "SubscriptionSettings",
|
|
82
|
-
}) as any as S.Schema<SubscriptionSettings>;
|
|
76
|
+
).annotate({ identifier: "SubscriptionSettings" }) as any as S.Schema<SubscriptionSettings>;
|
|
83
77
|
|
|
84
78
|
export interface CreateSubscriptionRequest {
|
|
85
79
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -118,7 +112,7 @@ export const CreateSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
118
112
|
|
|
119
113
|
/** The current state of the resource. */
|
|
120
114
|
export type SubscriptionResponseState = "reconciling" | "active" | "deleting";
|
|
121
|
-
export const SubscriptionResponseState =
|
|
115
|
+
export const SubscriptionResponseState = S.String;
|
|
122
116
|
|
|
123
117
|
export interface SubscriptionResponse {
|
|
124
118
|
/** The point in time the resource was created. */
|
|
@@ -147,12 +141,10 @@ export const SubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
147
141
|
state: SubscriptionResponseState,
|
|
148
142
|
topicId: S.String,
|
|
149
143
|
}),
|
|
150
|
-
).annotate({
|
|
151
|
-
identifier: "SubscriptionResponse",
|
|
152
|
-
}) as any as S.Schema<SubscriptionResponse>;
|
|
144
|
+
).annotate({ identifier: "SubscriptionResponse" }) as any as S.Schema<SubscriptionResponse>;
|
|
153
145
|
|
|
154
146
|
export type CreateTopicRequestRegionId = "eu01";
|
|
155
|
-
export const CreateTopicRequestRegionId =
|
|
147
|
+
export const CreateTopicRequestRegionId = S.String;
|
|
156
148
|
|
|
157
149
|
/** Whitelist of IPs in CIDR notation that can access the topic and its underlying subscriptions. */
|
|
158
150
|
export type TopicSettingsAclList = Array<string>;
|
|
@@ -208,13 +200,11 @@ export const CreateTopicRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
208
200
|
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
209
201
|
}),
|
|
210
202
|
),
|
|
211
|
-
).annotate({
|
|
212
|
-
identifier: "CreateTopicRequest",
|
|
213
|
-
}) as any as S.Schema<CreateTopicRequest>;
|
|
203
|
+
).annotate({ identifier: "CreateTopicRequest" }) as any as S.Schema<CreateTopicRequest>;
|
|
214
204
|
|
|
215
205
|
/** The current state of the resource. */
|
|
216
206
|
export type TopicResponseState = "reconciling" | "active" | "deleting";
|
|
217
|
-
export const TopicResponseState =
|
|
207
|
+
export const TopicResponseState = S.String;
|
|
218
208
|
|
|
219
209
|
export interface TopicResponse {
|
|
220
210
|
/** The point in time the resource was created. */
|
|
@@ -246,7 +236,7 @@ export const TopicResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
246
236
|
).annotate({ identifier: "TopicResponse" }) as any as S.Schema<TopicResponse>;
|
|
247
237
|
|
|
248
238
|
export type DeleteSubscriptionRequestRegionId = "eu01";
|
|
249
|
-
export const DeleteSubscriptionRequestRegionId =
|
|
239
|
+
export const DeleteSubscriptionRequestRegionId = S.String;
|
|
250
240
|
|
|
251
241
|
export interface DeleteSubscriptionRequest {
|
|
252
242
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -280,14 +270,12 @@ export const DeleteSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
280
270
|
}) as any as S.Schema<DeleteSubscriptionRequest>;
|
|
281
271
|
|
|
282
272
|
export interface DeleteSubscriptionResponse {}
|
|
283
|
-
export const DeleteSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
284
|
-
S.Struct({}),
|
|
285
|
-
).annotate({
|
|
273
|
+
export const DeleteSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
286
274
|
identifier: "DeleteSubscriptionResponse",
|
|
287
275
|
}) as any as S.Schema<DeleteSubscriptionResponse>;
|
|
288
276
|
|
|
289
277
|
export type DeleteTopicRequestRegionId = "eu01";
|
|
290
|
-
export const DeleteTopicRequestRegionId =
|
|
278
|
+
export const DeleteTopicRequestRegionId = S.String;
|
|
291
279
|
|
|
292
280
|
export interface DeleteTopicRequest {
|
|
293
281
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -313,19 +301,15 @@ export const DeleteTopicRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
313
301
|
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
314
302
|
}),
|
|
315
303
|
),
|
|
316
|
-
).annotate({
|
|
317
|
-
identifier: "DeleteTopicRequest",
|
|
318
|
-
}) as any as S.Schema<DeleteTopicRequest>;
|
|
304
|
+
).annotate({ identifier: "DeleteTopicRequest" }) as any as S.Schema<DeleteTopicRequest>;
|
|
319
305
|
|
|
320
306
|
export interface DeleteTopicResponse {}
|
|
321
|
-
export const DeleteTopicResponse = /*@__PURE__*/ S.suspend(() =>
|
|
322
|
-
S.Struct({}),
|
|
323
|
-
).annotate({
|
|
307
|
+
export const DeleteTopicResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
324
308
|
identifier: "DeleteTopicResponse",
|
|
325
309
|
}) as any as S.Schema<DeleteTopicResponse>;
|
|
326
310
|
|
|
327
311
|
export type GetSubscriptionRequestRegionId = "eu01";
|
|
328
|
-
export const GetSubscriptionRequestRegionId =
|
|
312
|
+
export const GetSubscriptionRequestRegionId = S.String;
|
|
329
313
|
|
|
330
314
|
export interface GetSubscriptionRequest {
|
|
331
315
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -351,12 +335,10 @@ export const GetSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
351
335
|
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
352
336
|
}),
|
|
353
337
|
),
|
|
354
|
-
).annotate({
|
|
355
|
-
identifier: "GetSubscriptionRequest",
|
|
356
|
-
}) as any as S.Schema<GetSubscriptionRequest>;
|
|
338
|
+
).annotate({ identifier: "GetSubscriptionRequest" }) as any as S.Schema<GetSubscriptionRequest>;
|
|
357
339
|
|
|
358
340
|
export type GetTopicRequestRegionId = "eu01";
|
|
359
|
-
export const GetTopicRequestRegionId =
|
|
341
|
+
export const GetTopicRequestRegionId = S.String;
|
|
360
342
|
|
|
361
343
|
export interface GetTopicRequest {
|
|
362
344
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -379,13 +361,10 @@ export const GetTopicRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
379
361
|
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
380
362
|
}),
|
|
381
363
|
),
|
|
382
|
-
).annotate({
|
|
383
|
-
identifier: "GetTopicRequest",
|
|
384
|
-
}) as any as S.Schema<GetTopicRequest>;
|
|
364
|
+
).annotate({ identifier: "GetTopicRequest" }) as any as S.Schema<GetTopicRequest>;
|
|
385
365
|
|
|
386
366
|
export type GrantSubscriptionSubscriberAccessRequestRegionId = "eu01";
|
|
387
|
-
export const GrantSubscriptionSubscriberAccessRequestRegionId =
|
|
388
|
-
/*@__PURE__*/ S.String;
|
|
367
|
+
export const GrantSubscriptionSubscriberAccessRequestRegionId = S.String;
|
|
389
368
|
|
|
390
369
|
export interface GrantSubscriptionSubscriberAccessRequest {
|
|
391
370
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -399,36 +378,34 @@ export interface GrantSubscriptionSubscriberAccessRequest {
|
|
|
399
378
|
/** A single RFC 5322 compliant email address. */
|
|
400
379
|
emailAddress: string;
|
|
401
380
|
}
|
|
402
|
-
export const GrantSubscriptionSubscriberAccessRequest = /*@__PURE__*/ S.suspend(
|
|
403
|
-
(
|
|
404
|
-
S.
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
418
|
-
}),
|
|
419
|
-
),
|
|
381
|
+
export const GrantSubscriptionSubscriberAccessRequest = /*@__PURE__*/ S.suspend(() =>
|
|
382
|
+
S.Struct({
|
|
383
|
+
projectId: S.String.pipe(T.Label()),
|
|
384
|
+
regionId: GrantSubscriptionSubscriberAccessRequestRegionId.pipe(T.Label()),
|
|
385
|
+
topicId: S.String.pipe(T.Label()),
|
|
386
|
+
subscriptionId: S.String.pipe(T.Label()),
|
|
387
|
+
emailAddress: S.String,
|
|
388
|
+
}).pipe(
|
|
389
|
+
T.Http({
|
|
390
|
+
method: "PATCH",
|
|
391
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/topics/{topicId}/subscriptions/{subscriptionId}/subscribers",
|
|
392
|
+
code: 200,
|
|
393
|
+
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
394
|
+
}),
|
|
395
|
+
),
|
|
420
396
|
).annotate({
|
|
421
397
|
identifier: "GrantSubscriptionSubscriberAccessRequest",
|
|
422
398
|
}) as any as S.Schema<GrantSubscriptionSubscriberAccessRequest>;
|
|
423
399
|
|
|
424
400
|
export interface GrantSubscriptionSubscriberAccessResponse {}
|
|
425
|
-
export const GrantSubscriptionSubscriberAccessResponse =
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
401
|
+
export const GrantSubscriptionSubscriberAccessResponse = /*@__PURE__*/ S.suspend(() =>
|
|
402
|
+
S.Struct({}),
|
|
403
|
+
).annotate({
|
|
404
|
+
identifier: "GrantSubscriptionSubscriberAccessResponse",
|
|
405
|
+
}) as any as S.Schema<GrantSubscriptionSubscriberAccessResponse>;
|
|
429
406
|
|
|
430
407
|
export type GrantTopicPublisherAccessRequestRegionId = "eu01";
|
|
431
|
-
export const GrantTopicPublisherAccessRequestRegionId =
|
|
408
|
+
export const GrantTopicPublisherAccessRequestRegionId = S.String;
|
|
432
409
|
|
|
433
410
|
export interface GrantTopicPublisherAccessRequest {
|
|
434
411
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -466,7 +443,7 @@ export const GrantTopicPublisherAccessResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
466
443
|
}) as any as S.Schema<GrantTopicPublisherAccessResponse>;
|
|
467
444
|
|
|
468
445
|
export type ListSubscriptionsRequestRegionId = "eu01";
|
|
469
|
-
export const ListSubscriptionsRequestRegionId =
|
|
446
|
+
export const ListSubscriptionsRequestRegionId = S.String;
|
|
470
447
|
|
|
471
448
|
export interface ListSubscriptionsRequest {
|
|
472
449
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -498,12 +475,9 @@ export const ListSubscriptionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
498
475
|
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
499
476
|
}),
|
|
500
477
|
),
|
|
501
|
-
).annotate({
|
|
502
|
-
identifier: "ListSubscriptionsRequest",
|
|
503
|
-
}) as any as S.Schema<ListSubscriptionsRequest>;
|
|
478
|
+
).annotate({ identifier: "ListSubscriptionsRequest" }) as any as S.Schema<ListSubscriptionsRequest>;
|
|
504
479
|
|
|
505
|
-
export type ListSubscriptionsResponseSubscriptionsList =
|
|
506
|
-
Array<SubscriptionResponse>;
|
|
480
|
+
export type ListSubscriptionsResponseSubscriptionsList = Array<SubscriptionResponse>;
|
|
507
481
|
export const ListSubscriptionsResponseSubscriptionsList = /*@__PURE__*/ S.Array(
|
|
508
482
|
SubscriptionResponse,
|
|
509
483
|
) as any as S.Schema<ListSubscriptionsResponseSubscriptionsList>;
|
|
@@ -523,8 +497,7 @@ export const ListSubscriptionsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
523
497
|
}) as any as S.Schema<ListSubscriptionsResponse>;
|
|
524
498
|
|
|
525
499
|
export type ListSubscriptionSubscribersRequestRegionId = "eu01";
|
|
526
|
-
export const ListSubscriptionSubscribersRequestRegionId =
|
|
527
|
-
/*@__PURE__*/ S.String;
|
|
500
|
+
export const ListSubscriptionSubscribersRequestRegionId = S.String;
|
|
528
501
|
|
|
529
502
|
export interface ListSubscriptionSubscribersRequest {
|
|
530
503
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -555,10 +528,9 @@ export const ListSubscriptionSubscribersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
555
528
|
}) as any as S.Schema<ListSubscriptionSubscribersRequest>;
|
|
556
529
|
|
|
557
530
|
export type ListEmailAddressesResponseEmailAddressesList = Array<string>;
|
|
558
|
-
export const ListEmailAddressesResponseEmailAddressesList =
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
) as any as S.Schema<ListEmailAddressesResponseEmailAddressesList>;
|
|
531
|
+
export const ListEmailAddressesResponseEmailAddressesList = /*@__PURE__*/ S.Array(
|
|
532
|
+
S.String,
|
|
533
|
+
) as any as S.Schema<ListEmailAddressesResponseEmailAddressesList>;
|
|
562
534
|
|
|
563
535
|
export interface ListEmailAddressesResponse {
|
|
564
536
|
emailAddresses: ListEmailAddressesResponseEmailAddressesList;
|
|
@@ -572,7 +544,7 @@ export const ListEmailAddressesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
572
544
|
}) as any as S.Schema<ListEmailAddressesResponse>;
|
|
573
545
|
|
|
574
546
|
export type ListTopicPublishersRequestRegionId = "eu01";
|
|
575
|
-
export const ListTopicPublishersRequestRegionId =
|
|
547
|
+
export const ListTopicPublishersRequestRegionId = S.String;
|
|
576
548
|
|
|
577
549
|
export interface ListTopicPublishersRequest {
|
|
578
550
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -600,7 +572,7 @@ export const ListTopicPublishersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
600
572
|
}) as any as S.Schema<ListTopicPublishersRequest>;
|
|
601
573
|
|
|
602
574
|
export type ListTopicsRequestRegionId = "eu01";
|
|
603
|
-
export const ListTopicsRequestRegionId =
|
|
575
|
+
export const ListTopicsRequestRegionId = S.String;
|
|
604
576
|
|
|
605
577
|
export interface ListTopicsRequest {
|
|
606
578
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -629,9 +601,7 @@ export const ListTopicsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
629
601
|
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
630
602
|
}),
|
|
631
603
|
),
|
|
632
|
-
).annotate({
|
|
633
|
-
identifier: "ListTopicsRequest",
|
|
634
|
-
}) as any as S.Schema<ListTopicsRequest>;
|
|
604
|
+
).annotate({ identifier: "ListTopicsRequest" }) as any as S.Schema<ListTopicsRequest>;
|
|
635
605
|
|
|
636
606
|
export type ListTopicsResponseTopicsList = Array<TopicResponse>;
|
|
637
607
|
export const ListTopicsResponseTopicsList = /*@__PURE__*/ S.Array(
|
|
@@ -648,13 +618,10 @@ export const ListTopicsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
648
618
|
nextPageToken: S.optional(S.String),
|
|
649
619
|
topics: ListTopicsResponseTopicsList,
|
|
650
620
|
}),
|
|
651
|
-
).annotate({
|
|
652
|
-
identifier: "ListTopicsResponse",
|
|
653
|
-
}) as any as S.Schema<ListTopicsResponse>;
|
|
621
|
+
).annotate({ identifier: "ListTopicsResponse" }) as any as S.Schema<ListTopicsResponse>;
|
|
654
622
|
|
|
655
623
|
export type RevokeSubscriptionSubscriberAccessRequestRegionId = "eu01";
|
|
656
|
-
export const RevokeSubscriptionSubscriberAccessRequestRegionId =
|
|
657
|
-
/*@__PURE__*/ S.String;
|
|
624
|
+
export const RevokeSubscriptionSubscriberAccessRequestRegionId = S.String;
|
|
658
625
|
|
|
659
626
|
export interface RevokeSubscriptionSubscriberAccessRequest {
|
|
660
627
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -666,35 +633,33 @@ export interface RevokeSubscriptionSubscriberAccessRequest {
|
|
|
666
633
|
/** The subscription UUID. */
|
|
667
634
|
subscriptionId: string;
|
|
668
635
|
}
|
|
669
|
-
export const RevokeSubscriptionSubscriberAccessRequest =
|
|
670
|
-
|
|
671
|
-
S.
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
).annotate({
|
|
687
|
-
identifier: "RevokeSubscriptionSubscriberAccessRequest",
|
|
688
|
-
}) as any as S.Schema<RevokeSubscriptionSubscriberAccessRequest>;
|
|
636
|
+
export const RevokeSubscriptionSubscriberAccessRequest = /*@__PURE__*/ S.suspend(() =>
|
|
637
|
+
S.Struct({
|
|
638
|
+
projectId: S.String.pipe(T.Label()),
|
|
639
|
+
regionId: RevokeSubscriptionSubscriberAccessRequestRegionId.pipe(T.Label()),
|
|
640
|
+
topicId: S.String.pipe(T.Label()),
|
|
641
|
+
subscriptionId: S.String.pipe(T.Label()),
|
|
642
|
+
}).pipe(
|
|
643
|
+
T.Http({
|
|
644
|
+
method: "DELETE",
|
|
645
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/topics/{topicId}/subscriptions/{subscriptionId}/subscribers",
|
|
646
|
+
code: 200,
|
|
647
|
+
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
648
|
+
}),
|
|
649
|
+
),
|
|
650
|
+
).annotate({
|
|
651
|
+
identifier: "RevokeSubscriptionSubscriberAccessRequest",
|
|
652
|
+
}) as any as S.Schema<RevokeSubscriptionSubscriberAccessRequest>;
|
|
689
653
|
|
|
690
654
|
export interface RevokeSubscriptionSubscriberAccessResponse {}
|
|
691
|
-
export const RevokeSubscriptionSubscriberAccessResponse =
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
655
|
+
export const RevokeSubscriptionSubscriberAccessResponse = /*@__PURE__*/ S.suspend(() =>
|
|
656
|
+
S.Struct({}),
|
|
657
|
+
).annotate({
|
|
658
|
+
identifier: "RevokeSubscriptionSubscriberAccessResponse",
|
|
659
|
+
}) as any as S.Schema<RevokeSubscriptionSubscriberAccessResponse>;
|
|
695
660
|
|
|
696
661
|
export type RevokeTopicPublisherAccessRequestRegionId = "eu01";
|
|
697
|
-
export const RevokeTopicPublisherAccessRequestRegionId =
|
|
662
|
+
export const RevokeTopicPublisherAccessRequestRegionId = S.String;
|
|
698
663
|
|
|
699
664
|
export interface RevokeTopicPublisherAccessRequest {
|
|
700
665
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -729,14 +694,13 @@ export const RevokeTopicPublisherAccessResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
729
694
|
}) as any as S.Schema<RevokeTopicPublisherAccessResponse>;
|
|
730
695
|
|
|
731
696
|
export type UpdatePublisherAccessRequestRegionId = "eu01";
|
|
732
|
-
export const UpdatePublisherAccessRequestRegionId =
|
|
697
|
+
export const UpdatePublisherAccessRequestRegionId = S.String;
|
|
733
698
|
|
|
734
699
|
/** A list of valid subscriber email addresses. */
|
|
735
700
|
export type UpdatePublisherAccessRequestEmailAddressesList = Array<string>;
|
|
736
|
-
export const UpdatePublisherAccessRequestEmailAddressesList =
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
) as any as S.Schema<UpdatePublisherAccessRequestEmailAddressesList>;
|
|
701
|
+
export const UpdatePublisherAccessRequestEmailAddressesList = /*@__PURE__*/ S.Array(
|
|
702
|
+
S.String,
|
|
703
|
+
) as any as S.Schema<UpdatePublisherAccessRequestEmailAddressesList>;
|
|
740
704
|
|
|
741
705
|
export interface UpdatePublisherAccessRequest {
|
|
742
706
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -767,14 +731,12 @@ export const UpdatePublisherAccessRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
767
731
|
}) as any as S.Schema<UpdatePublisherAccessRequest>;
|
|
768
732
|
|
|
769
733
|
export interface UpdatePublisherAccessResponse {}
|
|
770
|
-
export const UpdatePublisherAccessResponse = /*@__PURE__*/ S.suspend(() =>
|
|
771
|
-
S.Struct({}),
|
|
772
|
-
).annotate({
|
|
734
|
+
export const UpdatePublisherAccessResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
773
735
|
identifier: "UpdatePublisherAccessResponse",
|
|
774
736
|
}) as any as S.Schema<UpdatePublisherAccessResponse>;
|
|
775
737
|
|
|
776
738
|
export type UpdateSubscriptionRequestRegionId = "eu01";
|
|
777
|
-
export const UpdateSubscriptionRequestRegionId =
|
|
739
|
+
export const UpdateSubscriptionRequestRegionId = S.String;
|
|
778
740
|
|
|
779
741
|
export interface UpdateSubscriptionRequest {
|
|
780
742
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -815,23 +777,18 @@ export const UpdateSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
815
777
|
}) as any as S.Schema<UpdateSubscriptionRequest>;
|
|
816
778
|
|
|
817
779
|
export interface UpdateSubscriptionResponse {}
|
|
818
|
-
export const UpdateSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
819
|
-
S.Struct({}),
|
|
820
|
-
).annotate({
|
|
780
|
+
export const UpdateSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
821
781
|
identifier: "UpdateSubscriptionResponse",
|
|
822
782
|
}) as any as S.Schema<UpdateSubscriptionResponse>;
|
|
823
783
|
|
|
824
784
|
export type UpdateSubscriptionSubscriberAccessRequestRegionId = "eu01";
|
|
825
|
-
export const UpdateSubscriptionSubscriberAccessRequestRegionId =
|
|
826
|
-
/*@__PURE__*/ S.String;
|
|
785
|
+
export const UpdateSubscriptionSubscriberAccessRequestRegionId = S.String;
|
|
827
786
|
|
|
828
787
|
/** A list of valid subscriber email addresses. */
|
|
829
|
-
export type UpdateSubscriptionSubscriberAccessRequestEmailAddressesList =
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
S.String,
|
|
834
|
-
) as any as S.Schema<UpdateSubscriptionSubscriberAccessRequestEmailAddressesList>;
|
|
788
|
+
export type UpdateSubscriptionSubscriberAccessRequestEmailAddressesList = Array<string>;
|
|
789
|
+
export const UpdateSubscriptionSubscriberAccessRequestEmailAddressesList = /*@__PURE__*/ S.Array(
|
|
790
|
+
S.String,
|
|
791
|
+
) as any as S.Schema<UpdateSubscriptionSubscriberAccessRequestEmailAddressesList>;
|
|
835
792
|
|
|
836
793
|
export interface UpdateSubscriptionSubscriberAccessRequest {
|
|
837
794
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -845,37 +802,34 @@ export interface UpdateSubscriptionSubscriberAccessRequest {
|
|
|
845
802
|
/** A list of valid subscriber email addresses. */
|
|
846
803
|
emailAddresses: UpdateSubscriptionSubscriberAccessRequestEmailAddressesList;
|
|
847
804
|
}
|
|
848
|
-
export const UpdateSubscriptionSubscriberAccessRequest =
|
|
849
|
-
|
|
850
|
-
S.
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
),
|
|
867
|
-
).annotate({
|
|
868
|
-
identifier: "UpdateSubscriptionSubscriberAccessRequest",
|
|
869
|
-
}) as any as S.Schema<UpdateSubscriptionSubscriberAccessRequest>;
|
|
805
|
+
export const UpdateSubscriptionSubscriberAccessRequest = /*@__PURE__*/ S.suspend(() =>
|
|
806
|
+
S.Struct({
|
|
807
|
+
projectId: S.String.pipe(T.Label()),
|
|
808
|
+
regionId: UpdateSubscriptionSubscriberAccessRequestRegionId.pipe(T.Label()),
|
|
809
|
+
topicId: S.String.pipe(T.Label()),
|
|
810
|
+
subscriptionId: S.String.pipe(T.Label()),
|
|
811
|
+
emailAddresses: UpdateSubscriptionSubscriberAccessRequestEmailAddressesList,
|
|
812
|
+
}).pipe(
|
|
813
|
+
T.Http({
|
|
814
|
+
method: "PUT",
|
|
815
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/topics/{topicId}/subscriptions/{subscriptionId}/subscribers",
|
|
816
|
+
code: 200,
|
|
817
|
+
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
818
|
+
}),
|
|
819
|
+
),
|
|
820
|
+
).annotate({
|
|
821
|
+
identifier: "UpdateSubscriptionSubscriberAccessRequest",
|
|
822
|
+
}) as any as S.Schema<UpdateSubscriptionSubscriberAccessRequest>;
|
|
870
823
|
|
|
871
824
|
export interface UpdateSubscriptionSubscriberAccessResponse {}
|
|
872
|
-
export const UpdateSubscriptionSubscriberAccessResponse =
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
825
|
+
export const UpdateSubscriptionSubscriberAccessResponse = /*@__PURE__*/ S.suspend(() =>
|
|
826
|
+
S.Struct({}),
|
|
827
|
+
).annotate({
|
|
828
|
+
identifier: "UpdateSubscriptionSubscriberAccessResponse",
|
|
829
|
+
}) as any as S.Schema<UpdateSubscriptionSubscriberAccessResponse>;
|
|
876
830
|
|
|
877
831
|
export type UpdateTopicRequestRegionId = "eu01";
|
|
878
|
-
export const UpdateTopicRequestRegionId =
|
|
832
|
+
export const UpdateTopicRequestRegionId = S.String;
|
|
879
833
|
|
|
880
834
|
export interface UpdateTopicRequest {
|
|
881
835
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
@@ -908,14 +862,10 @@ export const UpdateTopicRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
908
862
|
baseUrl: "https://pubsub.api.stackit.cloud",
|
|
909
863
|
}),
|
|
910
864
|
),
|
|
911
|
-
).annotate({
|
|
912
|
-
identifier: "UpdateTopicRequest",
|
|
913
|
-
}) as any as S.Schema<UpdateTopicRequest>;
|
|
865
|
+
).annotate({ identifier: "UpdateTopicRequest" }) as any as S.Schema<UpdateTopicRequest>;
|
|
914
866
|
|
|
915
867
|
export interface UpdateTopicResponse {}
|
|
916
|
-
export const UpdateTopicResponse = /*@__PURE__*/ S.suspend(() =>
|
|
917
|
-
S.Struct({}),
|
|
918
|
-
).annotate({
|
|
868
|
+
export const UpdateTopicResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
919
869
|
identifier: "UpdateTopicResponse",
|
|
920
870
|
}) as any as S.Schema<UpdateTopicResponse>;
|
|
921
871
|
|
|
@@ -935,24 +885,12 @@ export const createSubscription: API.OperationMethod<
|
|
|
935
885
|
> = /*@__PURE__*/ API.make(() => ({
|
|
936
886
|
input: CreateSubscriptionRequest,
|
|
937
887
|
output: SubscriptionResponse,
|
|
938
|
-
errors: [
|
|
939
|
-
BadRequest,
|
|
940
|
-
Forbidden,
|
|
941
|
-
NotFound,
|
|
942
|
-
Conflict,
|
|
943
|
-
UnprocessableEntity,
|
|
944
|
-
UnknownStackitError,
|
|
945
|
-
],
|
|
888
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
946
889
|
protocol: StackitProtocol,
|
|
947
890
|
retry: Retry.Retry,
|
|
948
891
|
}));
|
|
949
892
|
|
|
950
|
-
export type CreateTopicError =
|
|
951
|
-
| BadRequest
|
|
952
|
-
| Forbidden
|
|
953
|
-
| NotFound
|
|
954
|
-
| Conflict
|
|
955
|
-
| StackitOpError;
|
|
893
|
+
export type CreateTopicError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
956
894
|
/** Creates a new topic within the PubSub project. */
|
|
957
895
|
export const createTopic: API.OperationMethod<
|
|
958
896
|
CreateTopicRequest,
|
|
@@ -967,12 +905,7 @@ export const createTopic: API.OperationMethod<
|
|
|
967
905
|
retry: Retry.Retry,
|
|
968
906
|
}));
|
|
969
907
|
|
|
970
|
-
export type DeleteSubscriptionError =
|
|
971
|
-
| BadRequest
|
|
972
|
-
| Forbidden
|
|
973
|
-
| NotFound
|
|
974
|
-
| Conflict
|
|
975
|
-
| StackitOpError;
|
|
908
|
+
export type DeleteSubscriptionError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
976
909
|
/** Deletes the given subscription. */
|
|
977
910
|
export const deleteSubscription: API.OperationMethod<
|
|
978
911
|
DeleteSubscriptionRequest,
|
|
@@ -1002,22 +935,12 @@ export const deleteTopic: API.OperationMethod<
|
|
|
1002
935
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1003
936
|
input: DeleteTopicRequest,
|
|
1004
937
|
output: DeleteTopicResponse,
|
|
1005
|
-
errors: [
|
|
1006
|
-
BadRequest,
|
|
1007
|
-
Forbidden,
|
|
1008
|
-
NotFound,
|
|
1009
|
-
UnprocessableEntity,
|
|
1010
|
-
UnknownStackitError,
|
|
1011
|
-
],
|
|
938
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1012
939
|
protocol: StackitProtocol,
|
|
1013
940
|
retry: Retry.Retry,
|
|
1014
941
|
}));
|
|
1015
942
|
|
|
1016
|
-
export type GetSubscriptionError =
|
|
1017
|
-
| BadRequest
|
|
1018
|
-
| Forbidden
|
|
1019
|
-
| NotFound
|
|
1020
|
-
| StackitOpError;
|
|
943
|
+
export type GetSubscriptionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1021
944
|
/** Returns the details for the given subscription. */
|
|
1022
945
|
export const getSubscription: API.OperationMethod<
|
|
1023
946
|
GetSubscriptionRequest,
|
|
@@ -1062,13 +985,7 @@ export const grantSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
1062
985
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1063
986
|
input: GrantSubscriptionSubscriberAccessRequest,
|
|
1064
987
|
output: GrantSubscriptionSubscriberAccessResponse,
|
|
1065
|
-
errors: [
|
|
1066
|
-
BadRequest,
|
|
1067
|
-
Forbidden,
|
|
1068
|
-
NotFound,
|
|
1069
|
-
UnprocessableEntity,
|
|
1070
|
-
UnknownStackitError,
|
|
1071
|
-
],
|
|
988
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1072
989
|
protocol: StackitProtocol,
|
|
1073
990
|
retry: Retry.Retry,
|
|
1074
991
|
}));
|
|
@@ -1088,22 +1005,12 @@ export const grantTopicPublisherAccess: API.OperationMethod<
|
|
|
1088
1005
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1089
1006
|
input: GrantTopicPublisherAccessRequest,
|
|
1090
1007
|
output: GrantTopicPublisherAccessResponse,
|
|
1091
|
-
errors: [
|
|
1092
|
-
BadRequest,
|
|
1093
|
-
Forbidden,
|
|
1094
|
-
NotFound,
|
|
1095
|
-
UnprocessableEntity,
|
|
1096
|
-
UnknownStackitError,
|
|
1097
|
-
],
|
|
1008
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1098
1009
|
protocol: StackitProtocol,
|
|
1099
1010
|
retry: Retry.Retry,
|
|
1100
1011
|
}));
|
|
1101
1012
|
|
|
1102
|
-
export type ListSubscriptionsError =
|
|
1103
|
-
| BadRequest
|
|
1104
|
-
| Forbidden
|
|
1105
|
-
| NotFound
|
|
1106
|
-
| StackitOpError;
|
|
1013
|
+
export type ListSubscriptionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1107
1014
|
/** Returns a list of all topic subscriptions. */
|
|
1108
1015
|
export const listSubscriptions: API.OperationMethod<
|
|
1109
1016
|
ListSubscriptionsRequest,
|
|
@@ -1118,11 +1025,7 @@ export const listSubscriptions: API.OperationMethod<
|
|
|
1118
1025
|
retry: Retry.Retry,
|
|
1119
1026
|
}));
|
|
1120
1027
|
|
|
1121
|
-
export type ListSubscriptionSubscribersError =
|
|
1122
|
-
| BadRequest
|
|
1123
|
-
| Forbidden
|
|
1124
|
-
| NotFound
|
|
1125
|
-
| StackitOpError;
|
|
1028
|
+
export type ListSubscriptionSubscribersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1126
1029
|
/** Returns a list of emailAddresses that are allowed to pull from the given subscription. */
|
|
1127
1030
|
export const listSubscriptionSubscribers: API.OperationMethod<
|
|
1128
1031
|
ListSubscriptionSubscribersRequest,
|
|
@@ -1137,11 +1040,7 @@ export const listSubscriptionSubscribers: API.OperationMethod<
|
|
|
1137
1040
|
retry: Retry.Retry,
|
|
1138
1041
|
}));
|
|
1139
1042
|
|
|
1140
|
-
export type ListTopicPublishersError =
|
|
1141
|
-
| BadRequest
|
|
1142
|
-
| Forbidden
|
|
1143
|
-
| NotFound
|
|
1144
|
-
| StackitOpError;
|
|
1043
|
+
export type ListTopicPublishersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1145
1044
|
/** Returns a list of emailAddresses that are allowed to publish to the given topic. */
|
|
1146
1045
|
export const listTopicPublishers: API.OperationMethod<
|
|
1147
1046
|
ListTopicPublishersRequest,
|
|
@@ -1156,11 +1055,7 @@ export const listTopicPublishers: API.OperationMethod<
|
|
|
1156
1055
|
retry: Retry.Retry,
|
|
1157
1056
|
}));
|
|
1158
1057
|
|
|
1159
|
-
export type ListTopicsError =
|
|
1160
|
-
| BadRequest
|
|
1161
|
-
| Forbidden
|
|
1162
|
-
| NotFound
|
|
1163
|
-
| StackitOpError;
|
|
1058
|
+
export type ListTopicsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1164
1059
|
/** Returns a list of all topics within the PubSub project. */
|
|
1165
1060
|
export const listTopics: API.OperationMethod<
|
|
1166
1061
|
ListTopicsRequest,
|
|
@@ -1190,13 +1085,7 @@ export const revokeSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
1190
1085
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1191
1086
|
input: RevokeSubscriptionSubscriberAccessRequest,
|
|
1192
1087
|
output: RevokeSubscriptionSubscriberAccessResponse,
|
|
1193
|
-
errors: [
|
|
1194
|
-
BadRequest,
|
|
1195
|
-
Forbidden,
|
|
1196
|
-
NotFound,
|
|
1197
|
-
UnprocessableEntity,
|
|
1198
|
-
UnknownStackitError,
|
|
1199
|
-
],
|
|
1088
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1200
1089
|
protocol: StackitProtocol,
|
|
1201
1090
|
retry: Retry.Retry,
|
|
1202
1091
|
}));
|
|
@@ -1216,13 +1105,7 @@ export const revokeTopicPublisherAccess: API.OperationMethod<
|
|
|
1216
1105
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1217
1106
|
input: RevokeTopicPublisherAccessRequest,
|
|
1218
1107
|
output: RevokeTopicPublisherAccessResponse,
|
|
1219
|
-
errors: [
|
|
1220
|
-
BadRequest,
|
|
1221
|
-
Forbidden,
|
|
1222
|
-
NotFound,
|
|
1223
|
-
UnprocessableEntity,
|
|
1224
|
-
UnknownStackitError,
|
|
1225
|
-
],
|
|
1108
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1226
1109
|
protocol: StackitProtocol,
|
|
1227
1110
|
retry: Retry.Retry,
|
|
1228
1111
|
}));
|
|
@@ -1242,13 +1125,7 @@ export const updatePublisherAccess: API.OperationMethod<
|
|
|
1242
1125
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1243
1126
|
input: UpdatePublisherAccessRequest,
|
|
1244
1127
|
output: UpdatePublisherAccessResponse,
|
|
1245
|
-
errors: [
|
|
1246
|
-
BadRequest,
|
|
1247
|
-
Forbidden,
|
|
1248
|
-
NotFound,
|
|
1249
|
-
UnprocessableEntity,
|
|
1250
|
-
UnknownStackitError,
|
|
1251
|
-
],
|
|
1128
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1252
1129
|
protocol: StackitProtocol,
|
|
1253
1130
|
retry: Retry.Retry,
|
|
1254
1131
|
}));
|
|
@@ -1269,14 +1146,7 @@ export const updateSubscription: API.OperationMethod<
|
|
|
1269
1146
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1270
1147
|
input: UpdateSubscriptionRequest,
|
|
1271
1148
|
output: UpdateSubscriptionResponse,
|
|
1272
|
-
errors: [
|
|
1273
|
-
BadRequest,
|
|
1274
|
-
Forbidden,
|
|
1275
|
-
NotFound,
|
|
1276
|
-
Conflict,
|
|
1277
|
-
UnprocessableEntity,
|
|
1278
|
-
UnknownStackitError,
|
|
1279
|
-
],
|
|
1149
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
1280
1150
|
protocol: StackitProtocol,
|
|
1281
1151
|
retry: Retry.Retry,
|
|
1282
1152
|
}));
|
|
@@ -1296,13 +1166,7 @@ export const updateSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
1296
1166
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1297
1167
|
input: UpdateSubscriptionSubscriberAccessRequest,
|
|
1298
1168
|
output: UpdateSubscriptionSubscriberAccessResponse,
|
|
1299
|
-
errors: [
|
|
1300
|
-
BadRequest,
|
|
1301
|
-
Forbidden,
|
|
1302
|
-
NotFound,
|
|
1303
|
-
UnprocessableEntity,
|
|
1304
|
-
UnknownStackitError,
|
|
1305
|
-
],
|
|
1169
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
1306
1170
|
protocol: StackitProtocol,
|
|
1307
1171
|
retry: Retry.Retry,
|
|
1308
1172
|
}));
|
|
@@ -1323,14 +1187,7 @@ export const updateTopic: API.OperationMethod<
|
|
|
1323
1187
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1324
1188
|
input: UpdateTopicRequest,
|
|
1325
1189
|
output: UpdateTopicResponse,
|
|
1326
|
-
errors: [
|
|
1327
|
-
BadRequest,
|
|
1328
|
-
Forbidden,
|
|
1329
|
-
NotFound,
|
|
1330
|
-
Conflict,
|
|
1331
|
-
UnprocessableEntity,
|
|
1332
|
-
UnknownStackitError,
|
|
1333
|
-
],
|
|
1190
|
+
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
1334
1191
|
protocol: StackitProtocol,
|
|
1335
1192
|
retry: Retry.Retry,
|
|
1336
1193
|
}));
|