@distilled.cloud/stackit 1.0.0-rc.14 → 1.0.0-rc.16
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 +32 -28
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +22 -22
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +15 -15
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +31 -29
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +24 -23
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +73 -502
- package/lib/services/alb_waf.d.ts +9 -82
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +84 -510
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +67 -314
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +58 -353
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +81 -896
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +45 -171
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +39 -169
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +98 -714
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +56 -307
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +66 -347
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +64 -393
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +87 -510
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +409 -3532
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +74 -465
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +95 -650
- package/lib/services/lb_ip_lists.d.ts +9 -25
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +45 -146
- package/lib/services/load_balancer.d.ts +10 -81
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +76 -486
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +82 -564
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +84 -465
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +84 -541
- package/lib/services/model_experiments.d.ts +9 -48
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +66 -325
- package/lib/services/model_serving.d.ts +7 -47
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +55 -277
- package/lib/services/mongodb_flex.d.ts +8 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +102 -793
- package/lib/services/object_storage.d.ts +12 -59
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +93 -528
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +375 -3148
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +85 -553
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +81 -726
- package/lib/services/postgres_flex.d.ts +14 -136
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +114 -841
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +92 -507
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +88 -564
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +49 -189
- package/lib/services/resource_manager.d.ts +9 -61
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +92 -462
- package/lib/services/run_command.d.ts +5 -28
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +38 -176
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +63 -435
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +99 -660
- package/lib/services/secrets_manager.d.ts +8 -61
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +99 -601
- package/lib/services/server_backup.d.ts +7 -50
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +70 -444
- package/lib/services/server_update.d.ts +7 -35
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +58 -342
- package/lib/services/service_account.d.ts +10 -68
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +75 -495
- package/lib/services/service_enablement.d.ts +7 -29
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +40 -147
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +117 -782
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +67 -549
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +112 -925
- package/lib/services/stackit_marketplace.d.ts +9 -38
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +64 -369
- package/lib/services/telemetry_link.d.ts +8 -61
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +81 -522
- package/lib/services/telemetry_router.d.ts +8 -72
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +73 -474
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +55 -269
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +85 -557
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +105 -920
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +67 -497
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +10 -10
- package/package.json +13 -9
- package/src/credentials.ts +21 -18
- package/src/errors.ts +10 -14
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +12 -9
- package/src/retry.ts +6 -4
- package/src/services/alb.ts +599 -655
- package/src/services/alb_waf.ts +597 -637
- package/src/services/authorization.ts +400 -383
- package/src/services/automation.ts +422 -405
- package/src/services/cdn.ts +817 -1375
- package/src/services/certificates.ts +209 -190
- package/src/services/cost.ts +100 -207
- package/src/services/dns.ts +793 -833
- package/src/services/dremio.ts +356 -349
- package/src/services/edge.ts +406 -366
- package/src/services/functions.ts +465 -463
- package/src/services/git.ts +602 -547
- package/src/services/iaas.ts +3931 -3821
- package/src/services/intake.ts +521 -549
- package/src/services/kms.ts +715 -692
- package/src/services/lb_ip_lists.ts +173 -152
- package/src/services/load_balancer.ts +576 -619
- package/src/services/logme.ts +696 -641
- package/src/services/logs.ts +510 -493
- package/src/services/mariadb.ts +671 -604
- package/src/services/model_experiments.ts +343 -356
- package/src/services/model_serving.ts +337 -328
- package/src/services/mongodb_flex.ts +955 -1007
- package/src/services/object_storage.ts +614 -557
- package/src/services/observability.ts +3469 -3866
- package/src/services/opensearch.ts +679 -628
- package/src/services/pim.ts +672 -909
- package/src/services/postgres_flex.ts +966 -986
- package/src/services/pubsub.ts +524 -546
- package/src/services/rabbitmq.ts +693 -654
- package/src/services/registry.ts +227 -194
- package/src/services/resource_manager.ts +520 -517
- package/src/services/run_command.ts +219 -211
- package/src/services/sca.ts +543 -570
- package/src/services/scf.ts +790 -716
- package/src/services/secrets_manager.ts +707 -622
- package/src/services/server_backup.ts +490 -475
- package/src/services/server_update.ts +353 -356
- package/src/services/service_account.ts +515 -553
- package/src/services/service_enablement.ts +162 -166
- package/src/services/sfs.ts +879 -958
- package/src/services/ske.ts +694 -769
- package/src/services/sqlserverflex.ts +1042 -1117
- package/src/services/stackit_marketplace.ts +377 -372
- package/src/services/telemetry_link.ts +530 -531
- package/src/services/telemetry_router.ts +509 -534
- package/src/services/ufw.ts +305 -307
- package/src/services/valkey.ts +684 -629
- package/src/services/vpn.ts +935 -1195
- package/src/services/workflows.ts +426 -586
- package/src/traits.ts +1 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -181
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/alb.js.map +0 -1
- package/lib/services/alb_waf.js.map +0 -1
- package/lib/services/authorization.js.map +0 -1
- package/lib/services/automation.js.map +0 -1
- package/lib/services/cdn.js.map +0 -1
- package/lib/services/certificates.js.map +0 -1
- package/lib/services/cost.js.map +0 -1
- package/lib/services/dns.js.map +0 -1
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.js.map +0 -1
- package/lib/services/iaas.js.map +0 -1
- package/lib/services/intake.js.map +0 -1
- package/lib/services/kms.js.map +0 -1
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/load_balancer.js.map +0 -1
- package/lib/services/logme.js.map +0 -1
- package/lib/services/logs.js.map +0 -1
- package/lib/services/mariadb.js.map +0 -1
- package/lib/services/model_experiments.js.map +0 -1
- package/lib/services/model_serving.js.map +0 -1
- package/lib/services/mongodb_flex.js.map +0 -1
- package/lib/services/object_storage.js.map +0 -1
- package/lib/services/observability.js.map +0 -1
- package/lib/services/opensearch.js.map +0 -1
- package/lib/services/pim.js.map +0 -1
- package/lib/services/postgres_flex.js.map +0 -1
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/rabbitmq.js.map +0 -1
- package/lib/services/registry.js.map +0 -1
- package/lib/services/resource_manager.js.map +0 -1
- package/lib/services/run_command.js.map +0 -1
- package/lib/services/sca.js.map +0 -1
- package/lib/services/scf.js.map +0 -1
- package/lib/services/secrets_manager.js.map +0 -1
- package/lib/services/server_backup.js.map +0 -1
- package/lib/services/server_update.js.map +0 -1
- package/lib/services/service_account.js.map +0 -1
- package/lib/services/service_enablement.js.map +0 -1
- package/lib/services/sfs.js.map +0 -1
- package/lib/services/ske.js.map +0 -1
- package/lib/services/sqlserverflex.js.map +0 -1
- package/lib/services/stackit_marketplace.js.map +0 -1
- package/lib/services/telemetry_link.js.map +0 -1
- package/lib/services/telemetry_router.js.map +0 -1
- package/lib/services/ufw.js.map +0 -1
- package/lib/services/valkey.js.map +0 -1
- package/lib/services/vpn.js.map +0 -1
- package/lib/services/workflows.js.map +0 -1
- package/src/protocol.test.ts +0 -304
package/src/services/intake.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
2
|
import * as C from "@distilled.cloud/core/category";
|
|
3
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";
|
|
5
|
-
import * as
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
+
import type * as Redacted from "effect/Redacted";
|
|
6
7
|
import { UnknownStackitError } from "../errors.ts";
|
|
7
8
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
8
9
|
import * as Retry from "../retry.ts";
|
|
9
10
|
import * as T from "../traits.ts";
|
|
11
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
12
|
+
const __s: any[] = [];
|
|
10
13
|
|
|
11
14
|
export type { StackitOpError, StackitOpContext };
|
|
12
15
|
|
|
@@ -38,47 +41,23 @@ export class NotFound
|
|
|
38
41
|
) {}
|
|
39
42
|
|
|
40
43
|
export type CreateIntakeRequestRegionId = "eu01" | "eu02";
|
|
41
|
-
export const CreateIntakeRequestRegionId = S.String;
|
|
42
|
-
|
|
43
44
|
export interface DremioAuth {
|
|
44
45
|
/** A Dremio personal access token for authentication */
|
|
45
46
|
personalAccessToken: string;
|
|
46
47
|
/** The URL to the Dremio instance's OAuth 2.0 token endpoint */
|
|
47
48
|
tokenEndpoint: string;
|
|
48
49
|
}
|
|
49
|
-
export const DremioAuth = /*@__PURE__*/ S.suspend(() =>
|
|
50
|
-
S.Struct({
|
|
51
|
-
personalAccessToken: S.String,
|
|
52
|
-
tokenEndpoint: S.String,
|
|
53
|
-
}),
|
|
54
|
-
).annotate({ identifier: "DremioAuth" }) as any as S.Schema<DremioAuth>;
|
|
55
|
-
|
|
56
50
|
/** Means of authentication for catalog requests */
|
|
57
51
|
export type CatalogAuthType = "none" | "dremio";
|
|
58
|
-
export const CatalogAuthType = S.String;
|
|
59
|
-
|
|
60
52
|
/** Configures authentication for the Iceberg catalog */
|
|
61
53
|
export interface CatalogAuth {
|
|
62
54
|
dremio?: DremioAuth;
|
|
63
55
|
type: CatalogAuthType | (string & {});
|
|
64
56
|
}
|
|
65
|
-
export const CatalogAuth = /*@__PURE__*/ S.suspend(() =>
|
|
66
|
-
S.Struct({
|
|
67
|
-
dremio: S.optional(DremioAuth),
|
|
68
|
-
type: CatalogAuthType,
|
|
69
|
-
}),
|
|
70
|
-
).annotate({ identifier: "CatalogAuth" }) as any as S.Schema<CatalogAuth>;
|
|
71
|
-
|
|
72
57
|
/** List of Iceberg partitioning expressions to use when creating the target table. This setting can only be used when `partitioning` is set to `manual`. Partitioning configuration of an Intake can be changed after creation, but will only take effect once the table has been changed as well. In case of not updating the table to a new one, the old partitioning configuration will remain. See the [Apache Iceberg spec](https://iceberg.apache.org/spec/#partitioning) for more details. */
|
|
73
58
|
export type IntakeCatalogPartitionByList = Array<string>;
|
|
74
|
-
export const IntakeCatalogPartitionByList = /*@__PURE__*/ S.Array(
|
|
75
|
-
S.String,
|
|
76
|
-
) as any as S.Schema<IntakeCatalogPartitionByList>;
|
|
77
|
-
|
|
78
59
|
/** The target table's partitioning. * `none` disables partitioning, the default. * `intake-time` configures daily partitioning based on the automatically created ingestion time column `__intake_ts`. * `manual` allows arbitrary Iceberg partitioning expression to be set via `partitionBy`. */
|
|
79
60
|
export type PartitioningType = "none" | "intake-time" | "manual";
|
|
80
|
-
export const PartitioningType = S.String;
|
|
81
|
-
|
|
82
61
|
/** The Iceberg catalog configuration */
|
|
83
62
|
export interface IntakeCatalog {
|
|
84
63
|
auth?: CatalogAuth;
|
|
@@ -94,25 +73,8 @@ export interface IntakeCatalog {
|
|
|
94
73
|
/** The Iceberg warehouse to connect to, required when the catalog has no default warehouse configured. */
|
|
95
74
|
warehouse: string;
|
|
96
75
|
}
|
|
97
|
-
export const IntakeCatalog = /*@__PURE__*/ S.suspend(() =>
|
|
98
|
-
S.Struct({
|
|
99
|
-
auth: S.optional(CatalogAuth),
|
|
100
|
-
namespace: S.optional(S.String),
|
|
101
|
-
partitionBy: S.optional(S.NullOr(IntakeCatalogPartitionByList)),
|
|
102
|
-
partitioning: S.optional(PartitioningType),
|
|
103
|
-
tableName: S.optional(S.String),
|
|
104
|
-
uri: S.String,
|
|
105
|
-
warehouse: S.String,
|
|
106
|
-
}),
|
|
107
|
-
).annotate({ identifier: "IntakeCatalog" }) as any as S.Schema<IntakeCatalog>;
|
|
108
|
-
|
|
109
76
|
/** Labels are a set of key-value pairs assigned to resources. */
|
|
110
77
|
export type CreateIntakeRequestLabelsMap = { [key: string]: string | undefined };
|
|
111
|
-
export const CreateIntakeRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
112
|
-
S.String,
|
|
113
|
-
S.String,
|
|
114
|
-
) as any as S.Schema<CreateIntakeRequestLabelsMap>;
|
|
115
|
-
|
|
116
78
|
export interface CreateIntakeRequest {
|
|
117
79
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
118
80
|
projectId: string;
|
|
@@ -128,36 +90,10 @@ export interface CreateIntakeRequest {
|
|
|
128
90
|
/** Labels are a set of key-value pairs assigned to resources. */
|
|
129
91
|
labels?: CreateIntakeRequestLabelsMap | null;
|
|
130
92
|
}
|
|
131
|
-
export const CreateIntakeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
132
|
-
S.Struct({
|
|
133
|
-
projectId: S.String.pipe(T.Label()),
|
|
134
|
-
regionId: CreateIntakeRequestRegionId.pipe(T.Label()),
|
|
135
|
-
catalog: IntakeCatalog,
|
|
136
|
-
description: S.optional(S.String),
|
|
137
|
-
displayName: S.String,
|
|
138
|
-
intakeRunnerId: S.String,
|
|
139
|
-
labels: S.optional(S.NullOr(CreateIntakeRequestLabelsMap)),
|
|
140
|
-
}).pipe(
|
|
141
|
-
T.Http({
|
|
142
|
-
method: "POST",
|
|
143
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes",
|
|
144
|
-
code: 200,
|
|
145
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
146
|
-
}),
|
|
147
|
-
),
|
|
148
|
-
).annotate({ identifier: "CreateIntakeRequest" }) as any as S.Schema<CreateIntakeRequest>;
|
|
149
|
-
|
|
150
93
|
/** Labels are a set of key-value pairs assigned to resources. */
|
|
151
94
|
export type IntakeResponseLabelsMap = { [key: string]: string | undefined };
|
|
152
|
-
export const IntakeResponseLabelsMap = /*@__PURE__*/ S.Record(
|
|
153
|
-
S.String,
|
|
154
|
-
S.String,
|
|
155
|
-
) as any as S.Schema<IntakeResponseLabelsMap>;
|
|
156
|
-
|
|
157
95
|
/** The current state of the resource. */
|
|
158
96
|
export type IntakeResponseState = "reconciling" | "active" | "deleting" | "failed";
|
|
159
|
-
export const IntakeResponseState = S.String;
|
|
160
|
-
|
|
161
97
|
export interface IntakeResponse {
|
|
162
98
|
catalog: IntakeCatalog;
|
|
163
99
|
/** The point in time the resource was created. */
|
|
@@ -185,34 +121,9 @@ export interface IntakeResponse {
|
|
|
185
121
|
/** The URI for reaching the resource. */
|
|
186
122
|
uri: string;
|
|
187
123
|
}
|
|
188
|
-
export const IntakeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
189
|
-
S.Struct({
|
|
190
|
-
catalog: IntakeCatalog,
|
|
191
|
-
create_time: S.String,
|
|
192
|
-
deadLetterTopic: S.String,
|
|
193
|
-
description: S.optional(S.String),
|
|
194
|
-
displayName: S.String,
|
|
195
|
-
failure_message: S.optional(S.String),
|
|
196
|
-
id: S.String,
|
|
197
|
-
intakeRunnerId: S.String,
|
|
198
|
-
labels: S.optional(S.NullOr(IntakeResponseLabelsMap)),
|
|
199
|
-
state: IntakeResponseState,
|
|
200
|
-
topic: S.String,
|
|
201
|
-
undeliveredMessageCount: S.optional(S.Number),
|
|
202
|
-
uri: S.String,
|
|
203
|
-
}),
|
|
204
|
-
).annotate({ identifier: "IntakeResponse" }) as any as S.Schema<IntakeResponse>;
|
|
205
|
-
|
|
206
124
|
export type CreateIntakeRunnerRequestRegionId = "eu01" | "eu02";
|
|
207
|
-
export const CreateIntakeRunnerRequestRegionId = S.String;
|
|
208
|
-
|
|
209
125
|
/** Labels are a set of key-value pairs assigned to resources. */
|
|
210
126
|
export type CreateIntakeRunnerRequestLabelsMap = { [key: string]: string | undefined };
|
|
211
|
-
export const CreateIntakeRunnerRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
212
|
-
S.String,
|
|
213
|
-
S.String,
|
|
214
|
-
) as any as S.Schema<CreateIntakeRunnerRequestLabelsMap>;
|
|
215
|
-
|
|
216
127
|
export interface CreateIntakeRunnerRequest {
|
|
217
128
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
218
129
|
projectId: string;
|
|
@@ -229,38 +140,10 @@ export interface CreateIntakeRunnerRequest {
|
|
|
229
140
|
/** The maximum number of messages per hour. */
|
|
230
141
|
maxMessagesPerHour: number;
|
|
231
142
|
}
|
|
232
|
-
export const CreateIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() =>
|
|
233
|
-
S.Struct({
|
|
234
|
-
projectId: S.String.pipe(T.Label()),
|
|
235
|
-
regionId: CreateIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
236
|
-
description: S.optional(S.String),
|
|
237
|
-
displayName: S.String,
|
|
238
|
-
labels: S.optional(S.NullOr(CreateIntakeRunnerRequestLabelsMap)),
|
|
239
|
-
maxMessageSizeKiB: S.Number,
|
|
240
|
-
maxMessagesPerHour: S.Number,
|
|
241
|
-
}).pipe(
|
|
242
|
-
T.Http({
|
|
243
|
-
method: "POST",
|
|
244
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",
|
|
245
|
-
code: 200,
|
|
246
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
247
|
-
}),
|
|
248
|
-
),
|
|
249
|
-
).annotate({
|
|
250
|
-
identifier: "CreateIntakeRunnerRequest",
|
|
251
|
-
}) as any as S.Schema<CreateIntakeRunnerRequest>;
|
|
252
|
-
|
|
253
143
|
/** Labels are a set of key-value pairs assigned to resources. */
|
|
254
144
|
export type IntakeRunnerResponseLabelsMap = { [key: string]: string | undefined };
|
|
255
|
-
export const IntakeRunnerResponseLabelsMap = /*@__PURE__*/ S.Record(
|
|
256
|
-
S.String,
|
|
257
|
-
S.String,
|
|
258
|
-
) as any as S.Schema<IntakeRunnerResponseLabelsMap>;
|
|
259
|
-
|
|
260
145
|
/** The current state of the resource. */
|
|
261
146
|
export type IntakeRunnerResponseState = "reconciling" | "active" | "deleting";
|
|
262
|
-
export const IntakeRunnerResponseState = S.String;
|
|
263
|
-
|
|
264
147
|
export interface IntakeRunnerResponse {
|
|
265
148
|
/** The point in time the resource was created. */
|
|
266
149
|
create_time: string;
|
|
@@ -281,34 +164,11 @@ export interface IntakeRunnerResponse {
|
|
|
281
164
|
/** The URI for reaching the resource. */
|
|
282
165
|
uri: string;
|
|
283
166
|
}
|
|
284
|
-
export const IntakeRunnerResponse = /*@__PURE__*/ S.suspend(() =>
|
|
285
|
-
S.Struct({
|
|
286
|
-
create_time: S.String,
|
|
287
|
-
description: S.optional(S.String),
|
|
288
|
-
displayName: S.String,
|
|
289
|
-
id: S.String,
|
|
290
|
-
labels: S.optional(S.NullOr(IntakeRunnerResponseLabelsMap)),
|
|
291
|
-
maxMessageSizeKiB: S.Number,
|
|
292
|
-
maxMessagesPerHour: S.Number,
|
|
293
|
-
state: IntakeRunnerResponseState,
|
|
294
|
-
uri: S.String,
|
|
295
|
-
}),
|
|
296
|
-
).annotate({ identifier: "IntakeRunnerResponse" }) as any as S.Schema<IntakeRunnerResponse>;
|
|
297
|
-
|
|
298
167
|
export type CreateIntakeUserRequestRegionId = "eu01" | "eu02";
|
|
299
|
-
export const CreateIntakeUserRequestRegionId = S.String;
|
|
300
|
-
|
|
301
168
|
/** Labels are key-value pairs associated with the resource. */
|
|
302
169
|
export type CreateIntakeUserRequestLabelsMap = { [key: string]: string | undefined };
|
|
303
|
-
export const CreateIntakeUserRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
304
|
-
S.String,
|
|
305
|
-
S.String,
|
|
306
|
-
) as any as S.Schema<CreateIntakeUserRequestLabelsMap>;
|
|
307
|
-
|
|
308
170
|
/** Type of user, 'intake' allows writing to the Intake, 'dead-letter' allows reading from the dead-letter queue */
|
|
309
171
|
export type UserType = "intake" | "dead-letter";
|
|
310
|
-
export const UserType = S.String;
|
|
311
|
-
|
|
312
172
|
export interface CreateIntakeUserRequest {
|
|
313
173
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
314
174
|
projectId: string;
|
|
@@ -326,26 +186,6 @@ export interface CreateIntakeUserRequest {
|
|
|
326
186
|
password: string | Redacted.Redacted<string>;
|
|
327
187
|
type?: UserType | (string & {});
|
|
328
188
|
}
|
|
329
|
-
export const CreateIntakeUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
330
|
-
S.Struct({
|
|
331
|
-
projectId: S.String.pipe(T.Label()),
|
|
332
|
-
regionId: CreateIntakeUserRequestRegionId.pipe(T.Label()),
|
|
333
|
-
intakeId: S.String.pipe(T.Label()),
|
|
334
|
-
description: S.optional(S.String),
|
|
335
|
-
displayName: S.String,
|
|
336
|
-
labels: S.optional(S.NullOr(CreateIntakeUserRequestLabelsMap)),
|
|
337
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
338
|
-
type: S.optional(UserType),
|
|
339
|
-
}).pipe(
|
|
340
|
-
T.Http({
|
|
341
|
-
method: "POST",
|
|
342
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users",
|
|
343
|
-
code: 200,
|
|
344
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
345
|
-
}),
|
|
346
|
-
),
|
|
347
|
-
).annotate({ identifier: "CreateIntakeUserRequest" }) as any as S.Schema<CreateIntakeUserRequest>;
|
|
348
|
-
|
|
349
189
|
/** Configuration properties for supported clients. */
|
|
350
190
|
export interface ClientConfig {
|
|
351
191
|
/** Configuration for Java Kafka clients. */
|
|
@@ -353,24 +193,10 @@ export interface ClientConfig {
|
|
|
353
193
|
/** Configuration for Kafka clients using librdkafka */
|
|
354
194
|
librdkafka: string;
|
|
355
195
|
}
|
|
356
|
-
export const ClientConfig = /*@__PURE__*/ S.suspend(() =>
|
|
357
|
-
S.Struct({
|
|
358
|
-
java: S.String,
|
|
359
|
-
librdkafka: S.String,
|
|
360
|
-
}),
|
|
361
|
-
).annotate({ identifier: "ClientConfig" }) as any as S.Schema<ClientConfig>;
|
|
362
|
-
|
|
363
196
|
/** Labels are a set of key-value pairs assigned to resources. */
|
|
364
197
|
export type IntakeUserResponseLabelsMap = { [key: string]: string | undefined };
|
|
365
|
-
export const IntakeUserResponseLabelsMap = /*@__PURE__*/ S.Record(
|
|
366
|
-
S.String,
|
|
367
|
-
S.String,
|
|
368
|
-
) as any as S.Schema<IntakeUserResponseLabelsMap>;
|
|
369
|
-
|
|
370
198
|
/** The current state of the resource. */
|
|
371
199
|
export type IntakeUserResponseState = "reconciling" | "active" | "deleting";
|
|
372
|
-
export const IntakeUserResponseState = S.String;
|
|
373
|
-
|
|
374
200
|
export interface IntakeUserResponse {
|
|
375
201
|
clientConfig?: ClientConfig;
|
|
376
202
|
/** The point in time the resource was created. */
|
|
@@ -389,23 +215,7 @@ export interface IntakeUserResponse {
|
|
|
389
215
|
/** The user to connect to the intake. */
|
|
390
216
|
user: string;
|
|
391
217
|
}
|
|
392
|
-
export const IntakeUserResponse = /*@__PURE__*/ S.suspend(() =>
|
|
393
|
-
S.Struct({
|
|
394
|
-
clientConfig: S.optional(ClientConfig),
|
|
395
|
-
create_time: S.String,
|
|
396
|
-
description: S.optional(S.String),
|
|
397
|
-
displayName: S.String,
|
|
398
|
-
id: S.String,
|
|
399
|
-
labels: S.optional(S.NullOr(IntakeUserResponseLabelsMap)),
|
|
400
|
-
state: IntakeUserResponseState,
|
|
401
|
-
type: UserType,
|
|
402
|
-
user: S.String,
|
|
403
|
-
}),
|
|
404
|
-
).annotate({ identifier: "IntakeUserResponse" }) as any as S.Schema<IntakeUserResponse>;
|
|
405
|
-
|
|
406
218
|
export type DeleteIntakeRequestRegionId = "eu01" | "eu02";
|
|
407
|
-
export const DeleteIntakeRequestRegionId = S.String;
|
|
408
|
-
|
|
409
219
|
export interface DeleteIntakeRequest {
|
|
410
220
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
411
221
|
projectId: string;
|
|
@@ -416,30 +226,8 @@ export interface DeleteIntakeRequest {
|
|
|
416
226
|
/** If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. */
|
|
417
227
|
force?: boolean;
|
|
418
228
|
}
|
|
419
|
-
export const DeleteIntakeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
420
|
-
S.Struct({
|
|
421
|
-
projectId: S.String.pipe(T.Label()),
|
|
422
|
-
regionId: DeleteIntakeRequestRegionId.pipe(T.Label()),
|
|
423
|
-
intakeId: S.String.pipe(T.Label()),
|
|
424
|
-
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
425
|
-
}).pipe(
|
|
426
|
-
T.Http({
|
|
427
|
-
method: "DELETE",
|
|
428
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
429
|
-
code: 200,
|
|
430
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
431
|
-
}),
|
|
432
|
-
),
|
|
433
|
-
).annotate({ identifier: "DeleteIntakeRequest" }) as any as S.Schema<DeleteIntakeRequest>;
|
|
434
|
-
|
|
435
229
|
export interface DeleteIntakeResponse {}
|
|
436
|
-
export const DeleteIntakeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
437
|
-
identifier: "DeleteIntakeResponse",
|
|
438
|
-
}) as any as S.Schema<DeleteIntakeResponse>;
|
|
439
|
-
|
|
440
230
|
export type DeleteIntakeRunnerRequestRegionId = "eu01" | "eu02";
|
|
441
|
-
export const DeleteIntakeRunnerRequestRegionId = S.String;
|
|
442
|
-
|
|
443
231
|
export interface DeleteIntakeRunnerRequest {
|
|
444
232
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
445
233
|
projectId: string;
|
|
@@ -450,32 +238,8 @@ export interface DeleteIntakeRunnerRequest {
|
|
|
450
238
|
/** If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. */
|
|
451
239
|
force?: boolean;
|
|
452
240
|
}
|
|
453
|
-
export const DeleteIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() =>
|
|
454
|
-
S.Struct({
|
|
455
|
-
projectId: S.String.pipe(T.Label()),
|
|
456
|
-
regionId: DeleteIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
457
|
-
intakeRunnerId: S.String.pipe(T.Label()),
|
|
458
|
-
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
459
|
-
}).pipe(
|
|
460
|
-
T.Http({
|
|
461
|
-
method: "DELETE",
|
|
462
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
463
|
-
code: 200,
|
|
464
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
465
|
-
}),
|
|
466
|
-
),
|
|
467
|
-
).annotate({
|
|
468
|
-
identifier: "DeleteIntakeRunnerRequest",
|
|
469
|
-
}) as any as S.Schema<DeleteIntakeRunnerRequest>;
|
|
470
|
-
|
|
471
241
|
export interface DeleteIntakeRunnerResponse {}
|
|
472
|
-
export const DeleteIntakeRunnerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
473
|
-
identifier: "DeleteIntakeRunnerResponse",
|
|
474
|
-
}) as any as S.Schema<DeleteIntakeRunnerResponse>;
|
|
475
|
-
|
|
476
242
|
export type DeleteIntakeUserRequestRegionId = "eu01" | "eu02";
|
|
477
|
-
export const DeleteIntakeUserRequestRegionId = S.String;
|
|
478
|
-
|
|
479
243
|
export interface DeleteIntakeUserRequest {
|
|
480
244
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
481
245
|
projectId: string;
|
|
@@ -486,30 +250,8 @@ export interface DeleteIntakeUserRequest {
|
|
|
486
250
|
/** The intake user UUID. */
|
|
487
251
|
intakeUserId: string;
|
|
488
252
|
}
|
|
489
|
-
export const DeleteIntakeUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
490
|
-
S.Struct({
|
|
491
|
-
projectId: S.String.pipe(T.Label()),
|
|
492
|
-
regionId: DeleteIntakeUserRequestRegionId.pipe(T.Label()),
|
|
493
|
-
intakeId: S.String.pipe(T.Label()),
|
|
494
|
-
intakeUserId: S.String.pipe(T.Label()),
|
|
495
|
-
}).pipe(
|
|
496
|
-
T.Http({
|
|
497
|
-
method: "DELETE",
|
|
498
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
499
|
-
code: 200,
|
|
500
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
501
|
-
}),
|
|
502
|
-
),
|
|
503
|
-
).annotate({ identifier: "DeleteIntakeUserRequest" }) as any as S.Schema<DeleteIntakeUserRequest>;
|
|
504
|
-
|
|
505
253
|
export interface DeleteIntakeUserResponse {}
|
|
506
|
-
export const DeleteIntakeUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
507
|
-
identifier: "DeleteIntakeUserResponse",
|
|
508
|
-
}) as any as S.Schema<DeleteIntakeUserResponse>;
|
|
509
|
-
|
|
510
254
|
export type GetIntakeRequestRegionId = "eu01" | "eu02";
|
|
511
|
-
export const GetIntakeRequestRegionId = S.String;
|
|
512
|
-
|
|
513
255
|
export interface GetIntakeRequest {
|
|
514
256
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
515
257
|
projectId: string;
|
|
@@ -518,24 +260,7 @@ export interface GetIntakeRequest {
|
|
|
518
260
|
/** The intake UUID. */
|
|
519
261
|
intakeId: string;
|
|
520
262
|
}
|
|
521
|
-
export const GetIntakeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
522
|
-
S.Struct({
|
|
523
|
-
projectId: S.String.pipe(T.Label()),
|
|
524
|
-
regionId: GetIntakeRequestRegionId.pipe(T.Label()),
|
|
525
|
-
intakeId: S.String.pipe(T.Label()),
|
|
526
|
-
}).pipe(
|
|
527
|
-
T.Http({
|
|
528
|
-
method: "GET",
|
|
529
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
530
|
-
code: 200,
|
|
531
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
532
|
-
}),
|
|
533
|
-
),
|
|
534
|
-
).annotate({ identifier: "GetIntakeRequest" }) as any as S.Schema<GetIntakeRequest>;
|
|
535
|
-
|
|
536
263
|
export type GetIntakeRunnerRequestRegionId = "eu01" | "eu02";
|
|
537
|
-
export const GetIntakeRunnerRequestRegionId = S.String;
|
|
538
|
-
|
|
539
264
|
export interface GetIntakeRunnerRequest {
|
|
540
265
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
541
266
|
projectId: string;
|
|
@@ -544,24 +269,7 @@ export interface GetIntakeRunnerRequest {
|
|
|
544
269
|
/** The intake runner UUID. */
|
|
545
270
|
intakeRunnerId: string;
|
|
546
271
|
}
|
|
547
|
-
export const GetIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() =>
|
|
548
|
-
S.Struct({
|
|
549
|
-
projectId: S.String.pipe(T.Label()),
|
|
550
|
-
regionId: GetIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
551
|
-
intakeRunnerId: S.String.pipe(T.Label()),
|
|
552
|
-
}).pipe(
|
|
553
|
-
T.Http({
|
|
554
|
-
method: "GET",
|
|
555
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
556
|
-
code: 200,
|
|
557
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
558
|
-
}),
|
|
559
|
-
),
|
|
560
|
-
).annotate({ identifier: "GetIntakeRunnerRequest" }) as any as S.Schema<GetIntakeRunnerRequest>;
|
|
561
|
-
|
|
562
272
|
export type GetIntakeUserRequestRegionId = "eu01" | "eu02";
|
|
563
|
-
export const GetIntakeUserRequestRegionId = S.String;
|
|
564
|
-
|
|
565
273
|
export interface GetIntakeUserRequest {
|
|
566
274
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
567
275
|
projectId: string;
|
|
@@ -572,25 +280,7 @@ export interface GetIntakeUserRequest {
|
|
|
572
280
|
/** The intake user UUID. */
|
|
573
281
|
intakeUserId: string;
|
|
574
282
|
}
|
|
575
|
-
export const GetIntakeUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
576
|
-
S.Struct({
|
|
577
|
-
projectId: S.String.pipe(T.Label()),
|
|
578
|
-
regionId: GetIntakeUserRequestRegionId.pipe(T.Label()),
|
|
579
|
-
intakeId: S.String.pipe(T.Label()),
|
|
580
|
-
intakeUserId: S.String.pipe(T.Label()),
|
|
581
|
-
}).pipe(
|
|
582
|
-
T.Http({
|
|
583
|
-
method: "GET",
|
|
584
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
585
|
-
code: 200,
|
|
586
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
587
|
-
}),
|
|
588
|
-
),
|
|
589
|
-
).annotate({ identifier: "GetIntakeUserRequest" }) as any as S.Schema<GetIntakeUserRequest>;
|
|
590
|
-
|
|
591
283
|
export type ListIntakeRunnersRequestRegionId = "eu01" | "eu02";
|
|
592
|
-
export const ListIntakeRunnersRequestRegionId = S.String;
|
|
593
|
-
|
|
594
284
|
export interface ListIntakeRunnersRequest {
|
|
595
285
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
596
286
|
projectId: string;
|
|
@@ -601,44 +291,13 @@ export interface ListIntakeRunnersRequest {
|
|
|
601
291
|
/** Maximum number of items to return */
|
|
602
292
|
pageSize?: number;
|
|
603
293
|
}
|
|
604
|
-
export const ListIntakeRunnersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
605
|
-
S.Struct({
|
|
606
|
-
projectId: S.String.pipe(T.Label()),
|
|
607
|
-
regionId: ListIntakeRunnersRequestRegionId.pipe(T.Label()),
|
|
608
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
609
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
610
|
-
}).pipe(
|
|
611
|
-
T.Http({
|
|
612
|
-
method: "GET",
|
|
613
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",
|
|
614
|
-
code: 200,
|
|
615
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
616
|
-
}),
|
|
617
|
-
),
|
|
618
|
-
).annotate({ identifier: "ListIntakeRunnersRequest" }) as any as S.Schema<ListIntakeRunnersRequest>;
|
|
619
|
-
|
|
620
294
|
export type ListIntakeRunnersResponseIntakeRunnersList = Array<IntakeRunnerResponse>;
|
|
621
|
-
export const ListIntakeRunnersResponseIntakeRunnersList = /*@__PURE__*/ S.Array(
|
|
622
|
-
IntakeRunnerResponse,
|
|
623
|
-
) as any as S.Schema<ListIntakeRunnersResponseIntakeRunnersList>;
|
|
624
|
-
|
|
625
295
|
export interface ListIntakeRunnersResponse {
|
|
626
296
|
intakeRunners: ListIntakeRunnersResponseIntakeRunnersList;
|
|
627
297
|
/** A token to retrieve the next page of results. */
|
|
628
298
|
nextPageToken?: string;
|
|
629
299
|
}
|
|
630
|
-
export const ListIntakeRunnersResponse = /*@__PURE__*/ S.suspend(() =>
|
|
631
|
-
S.Struct({
|
|
632
|
-
intakeRunners: ListIntakeRunnersResponseIntakeRunnersList,
|
|
633
|
-
nextPageToken: S.optional(S.String),
|
|
634
|
-
}),
|
|
635
|
-
).annotate({
|
|
636
|
-
identifier: "ListIntakeRunnersResponse",
|
|
637
|
-
}) as any as S.Schema<ListIntakeRunnersResponse>;
|
|
638
|
-
|
|
639
300
|
export type ListIntakesRequestRegionId = "eu01" | "eu02";
|
|
640
|
-
export const ListIntakesRequestRegionId = S.String;
|
|
641
|
-
|
|
642
301
|
export interface ListIntakesRequest {
|
|
643
302
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
644
303
|
projectId: string;
|
|
@@ -649,42 +308,13 @@ export interface ListIntakesRequest {
|
|
|
649
308
|
/** Maximum number of items to return */
|
|
650
309
|
pageSize?: number;
|
|
651
310
|
}
|
|
652
|
-
export const ListIntakesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
653
|
-
S.Struct({
|
|
654
|
-
projectId: S.String.pipe(T.Label()),
|
|
655
|
-
regionId: ListIntakesRequestRegionId.pipe(T.Label()),
|
|
656
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
657
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
658
|
-
}).pipe(
|
|
659
|
-
T.Http({
|
|
660
|
-
method: "GET",
|
|
661
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes",
|
|
662
|
-
code: 200,
|
|
663
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
664
|
-
}),
|
|
665
|
-
),
|
|
666
|
-
).annotate({ identifier: "ListIntakesRequest" }) as any as S.Schema<ListIntakesRequest>;
|
|
667
|
-
|
|
668
311
|
export type ListIntakesResponseIntakesList = Array<IntakeResponse>;
|
|
669
|
-
export const ListIntakesResponseIntakesList = /*@__PURE__*/ S.Array(
|
|
670
|
-
IntakeResponse,
|
|
671
|
-
) as any as S.Schema<ListIntakesResponseIntakesList>;
|
|
672
|
-
|
|
673
312
|
export interface ListIntakesResponse {
|
|
674
313
|
intakes: ListIntakesResponseIntakesList;
|
|
675
314
|
/** A token to retrieve the next page of results. */
|
|
676
315
|
nextPageToken?: string;
|
|
677
316
|
}
|
|
678
|
-
export const ListIntakesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
679
|
-
S.Struct({
|
|
680
|
-
intakes: ListIntakesResponseIntakesList,
|
|
681
|
-
nextPageToken: S.optional(S.String),
|
|
682
|
-
}),
|
|
683
|
-
).annotate({ identifier: "ListIntakesResponse" }) as any as S.Schema<ListIntakesResponse>;
|
|
684
|
-
|
|
685
317
|
export type ListIntakeUsersRequestRegionId = "eu01" | "eu02";
|
|
686
|
-
export const ListIntakeUsersRequestRegionId = S.String;
|
|
687
|
-
|
|
688
318
|
export interface ListIntakeUsersRequest {
|
|
689
319
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
690
320
|
projectId: string;
|
|
@@ -697,78 +327,28 @@ export interface ListIntakeUsersRequest {
|
|
|
697
327
|
/** Maximum number of items to return */
|
|
698
328
|
pageSize?: number;
|
|
699
329
|
}
|
|
700
|
-
export const ListIntakeUsersRequest = /*@__PURE__*/ S.suspend(() =>
|
|
701
|
-
S.Struct({
|
|
702
|
-
projectId: S.String.pipe(T.Label()),
|
|
703
|
-
regionId: ListIntakeUsersRequestRegionId.pipe(T.Label()),
|
|
704
|
-
intakeId: S.String.pipe(T.Label()),
|
|
705
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
706
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
707
|
-
}).pipe(
|
|
708
|
-
T.Http({
|
|
709
|
-
method: "GET",
|
|
710
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users",
|
|
711
|
-
code: 200,
|
|
712
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
713
|
-
}),
|
|
714
|
-
),
|
|
715
|
-
).annotate({ identifier: "ListIntakeUsersRequest" }) as any as S.Schema<ListIntakeUsersRequest>;
|
|
716
|
-
|
|
717
330
|
export type ListIntakeUsersResponseIntakeUsersList = Array<IntakeUserResponse>;
|
|
718
|
-
export const ListIntakeUsersResponseIntakeUsersList = /*@__PURE__*/ S.Array(
|
|
719
|
-
IntakeUserResponse,
|
|
720
|
-
) as any as S.Schema<ListIntakeUsersResponseIntakeUsersList>;
|
|
721
|
-
|
|
722
331
|
export interface ListIntakeUsersResponse {
|
|
723
332
|
intakeUsers: ListIntakeUsersResponseIntakeUsersList;
|
|
724
333
|
/** A token to retrieve the next page of results. */
|
|
725
334
|
nextPageToken?: string;
|
|
726
335
|
}
|
|
727
|
-
export const ListIntakeUsersResponse = /*@__PURE__*/ S.suspend(() =>
|
|
728
|
-
S.Struct({
|
|
729
|
-
intakeUsers: ListIntakeUsersResponseIntakeUsersList,
|
|
730
|
-
nextPageToken: S.optional(S.String),
|
|
731
|
-
}),
|
|
732
|
-
).annotate({ identifier: "ListIntakeUsersResponse" }) as any as S.Schema<ListIntakeUsersResponse>;
|
|
733
|
-
|
|
734
336
|
export type UpdateIntakeRequestRegionId = "eu01" | "eu02";
|
|
735
|
-
export const UpdateIntakeRequestRegionId = S.String;
|
|
736
|
-
|
|
737
337
|
export interface DremioAuthPatch {
|
|
738
338
|
/** A Dremio personal access token for authentication */
|
|
739
339
|
personalAccessToken?: string;
|
|
740
340
|
/** The URL to the Dremio instance's OAuth 2.0 token endpoint */
|
|
741
341
|
tokenEndpoint?: string;
|
|
742
342
|
}
|
|
743
|
-
export const DremioAuthPatch = /*@__PURE__*/ S.suspend(() =>
|
|
744
|
-
S.Struct({
|
|
745
|
-
personalAccessToken: S.optional(S.String),
|
|
746
|
-
tokenEndpoint: S.optional(S.String),
|
|
747
|
-
}),
|
|
748
|
-
).annotate({ identifier: "DremioAuthPatch" }) as any as S.Schema<DremioAuthPatch>;
|
|
749
|
-
|
|
750
343
|
/** Configures authentication for the Iceberg catalog */
|
|
751
344
|
export interface CatalogAuthPatch {
|
|
752
345
|
dremio?: DremioAuthPatch;
|
|
753
346
|
type?: CatalogAuthType | (string & {});
|
|
754
347
|
}
|
|
755
|
-
export const CatalogAuthPatch = /*@__PURE__*/ S.suspend(() =>
|
|
756
|
-
S.Struct({
|
|
757
|
-
dremio: S.optional(DremioAuthPatch),
|
|
758
|
-
type: S.optional(CatalogAuthType),
|
|
759
|
-
}),
|
|
760
|
-
).annotate({ identifier: "CatalogAuthPatch" }) as any as S.Schema<CatalogAuthPatch>;
|
|
761
|
-
|
|
762
348
|
/** List of Iceberg partitioning expressions to use when creating the target table. This setting can only be used when `partitioning` is set to `manual`. See the [Apache Iceberg spec](https://iceberg.apache.org/spec/#partitioning) for more details. */
|
|
763
349
|
export type IntakeCatalogPatchPartitionByList = Array<string>;
|
|
764
|
-
export const IntakeCatalogPatchPartitionByList = /*@__PURE__*/ S.Array(
|
|
765
|
-
S.String,
|
|
766
|
-
) as any as S.Schema<IntakeCatalogPatchPartitionByList>;
|
|
767
|
-
|
|
768
350
|
/** The target table's partitioning. * `none` disables partitioning. * `intake-time` configures daily partitioning based on the automatically created ingestion time column `__intake_ts`. * `manual` allows arbitrary Iceberg partitioning expression to be set via `partitionBy`. */
|
|
769
351
|
export type PartitioningUpdateType = "none" | "intake-time" | "manual";
|
|
770
|
-
export const PartitioningUpdateType = S.String;
|
|
771
|
-
|
|
772
352
|
/** The Iceberg catalog configuration */
|
|
773
353
|
export interface IntakeCatalogPatch {
|
|
774
354
|
auth?: CatalogAuthPatch;
|
|
@@ -784,25 +364,8 @@ export interface IntakeCatalogPatch {
|
|
|
784
364
|
/** The Iceberg warehouse to connect to, required when the catalog has no default warehouse configured. */
|
|
785
365
|
warehouse?: string;
|
|
786
366
|
}
|
|
787
|
-
export const IntakeCatalogPatch = /*@__PURE__*/ S.suspend(() =>
|
|
788
|
-
S.Struct({
|
|
789
|
-
auth: S.optional(CatalogAuthPatch),
|
|
790
|
-
namespace: S.optional(S.String),
|
|
791
|
-
partitionBy: S.optional(S.NullOr(IntakeCatalogPatchPartitionByList)),
|
|
792
|
-
partitioning: S.optional(PartitioningUpdateType),
|
|
793
|
-
tableName: S.optional(S.String),
|
|
794
|
-
uri: S.optional(S.String),
|
|
795
|
-
warehouse: S.optional(S.String),
|
|
796
|
-
}),
|
|
797
|
-
).annotate({ identifier: "IntakeCatalogPatch" }) as any as S.Schema<IntakeCatalogPatch>;
|
|
798
|
-
|
|
799
367
|
/** Labels are key-value pairs associated with the resource. To update labels: - Provide a new set of key-value pairs to replace the existing labels. - Send empty object `{}` to remove all labels. - Omit this field to leave the labels unchanged. */
|
|
800
368
|
export type UpdateIntakeRequestLabelsMap = { [key: string]: string | undefined };
|
|
801
|
-
export const UpdateIntakeRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
802
|
-
S.String,
|
|
803
|
-
S.String,
|
|
804
|
-
) as any as S.Schema<UpdateIntakeRequestLabelsMap>;
|
|
805
|
-
|
|
806
369
|
export interface UpdateIntakeRequest {
|
|
807
370
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
808
371
|
projectId: string;
|
|
@@ -820,36 +383,9 @@ export interface UpdateIntakeRequest {
|
|
|
820
383
|
/** Labels are key-value pairs associated with the resource. To update labels: - Provide a new set of key-value pairs to replace the existing labels. - Send empty object `{}` to remove all labels. - Omit this field to leave the labels unchanged. */
|
|
821
384
|
labels?: UpdateIntakeRequestLabelsMap | null;
|
|
822
385
|
}
|
|
823
|
-
export const UpdateIntakeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
824
|
-
S.Struct({
|
|
825
|
-
projectId: S.String.pipe(T.Label()),
|
|
826
|
-
regionId: UpdateIntakeRequestRegionId.pipe(T.Label()),
|
|
827
|
-
intakeId: S.String.pipe(T.Label()),
|
|
828
|
-
catalog: S.optional(IntakeCatalogPatch),
|
|
829
|
-
description: S.optional(S.String),
|
|
830
|
-
displayName: S.optional(S.String),
|
|
831
|
-
intakeRunnerId: S.String,
|
|
832
|
-
labels: S.optional(S.NullOr(UpdateIntakeRequestLabelsMap)),
|
|
833
|
-
}).pipe(
|
|
834
|
-
T.Http({
|
|
835
|
-
method: "PUT",
|
|
836
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
837
|
-
code: 200,
|
|
838
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
839
|
-
}),
|
|
840
|
-
),
|
|
841
|
-
).annotate({ identifier: "UpdateIntakeRequest" }) as any as S.Schema<UpdateIntakeRequest>;
|
|
842
|
-
|
|
843
386
|
export type UpdateIntakeRunnerRequestRegionId = "eu01" | "eu02";
|
|
844
|
-
export const UpdateIntakeRunnerRequestRegionId = S.String;
|
|
845
|
-
|
|
846
387
|
/** Labels are key-value pairs associated with the resource. To update labels: - Provide a new set of key-value pairs to replace the existing labels. - Send empty object `{}` to remove all labels. - Omit this field to leave the labels unchanged. */
|
|
847
388
|
export type UpdateIntakeRunnerRequestLabelsMap = { [key: string]: string | undefined };
|
|
848
|
-
export const UpdateIntakeRunnerRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
849
|
-
S.String,
|
|
850
|
-
S.String,
|
|
851
|
-
) as any as S.Schema<UpdateIntakeRunnerRequestLabelsMap>;
|
|
852
|
-
|
|
853
389
|
export interface UpdateIntakeRunnerRequest {
|
|
854
390
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
855
391
|
projectId: string;
|
|
@@ -868,38 +404,9 @@ export interface UpdateIntakeRunnerRequest {
|
|
|
868
404
|
/** The maximum number of messages per hour. */
|
|
869
405
|
maxMessagesPerHour?: number;
|
|
870
406
|
}
|
|
871
|
-
export const UpdateIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() =>
|
|
872
|
-
S.Struct({
|
|
873
|
-
projectId: S.String.pipe(T.Label()),
|
|
874
|
-
regionId: UpdateIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
875
|
-
intakeRunnerId: S.String.pipe(T.Label()),
|
|
876
|
-
description: S.optional(S.String),
|
|
877
|
-
displayName: S.optional(S.String),
|
|
878
|
-
labels: S.optional(S.NullOr(UpdateIntakeRunnerRequestLabelsMap)),
|
|
879
|
-
maxMessageSizeKiB: S.optional(S.Number),
|
|
880
|
-
maxMessagesPerHour: S.optional(S.Number),
|
|
881
|
-
}).pipe(
|
|
882
|
-
T.Http({
|
|
883
|
-
method: "PUT",
|
|
884
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
885
|
-
code: 200,
|
|
886
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
887
|
-
}),
|
|
888
|
-
),
|
|
889
|
-
).annotate({
|
|
890
|
-
identifier: "UpdateIntakeRunnerRequest",
|
|
891
|
-
}) as any as S.Schema<UpdateIntakeRunnerRequest>;
|
|
892
|
-
|
|
893
407
|
export type UpdateIntakeUserRequestRegionId = "eu01" | "eu02";
|
|
894
|
-
export const UpdateIntakeUserRequestRegionId = S.String;
|
|
895
|
-
|
|
896
408
|
/** Labels are key-value pairs associated with the resource. To update labels: - Provide a new set of key-value pairs to replace the existing labels. - Send empty object `{}` to remove all labels. - Omit this field to leave the labels unchanged. */
|
|
897
409
|
export type UpdateIntakeUserRequestLabelsMap = { [key: string]: string | undefined };
|
|
898
|
-
export const UpdateIntakeUserRequestLabelsMap = /*@__PURE__*/ S.Record(
|
|
899
|
-
S.String,
|
|
900
|
-
S.String,
|
|
901
|
-
) as any as S.Schema<UpdateIntakeUserRequestLabelsMap>;
|
|
902
|
-
|
|
903
410
|
export interface UpdateIntakeUserRequest {
|
|
904
411
|
/** The STACKIT portal project UUID the resource is located in. */
|
|
905
412
|
projectId: string;
|
|
@@ -919,27 +426,6 @@ export interface UpdateIntakeUserRequest {
|
|
|
919
426
|
password?: string | Redacted.Redacted<string>;
|
|
920
427
|
type?: UserType | (string & {});
|
|
921
428
|
}
|
|
922
|
-
export const UpdateIntakeUserRequest = /*@__PURE__*/ S.suspend(() =>
|
|
923
|
-
S.Struct({
|
|
924
|
-
projectId: S.String.pipe(T.Label()),
|
|
925
|
-
regionId: UpdateIntakeUserRequestRegionId.pipe(T.Label()),
|
|
926
|
-
intakeId: S.String.pipe(T.Label()),
|
|
927
|
-
intakeUserId: S.String.pipe(T.Label()),
|
|
928
|
-
description: S.optional(S.String),
|
|
929
|
-
displayName: S.optional(S.String),
|
|
930
|
-
labels: S.optional(S.NullOr(UpdateIntakeUserRequestLabelsMap)),
|
|
931
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
932
|
-
type: S.optional(UserType),
|
|
933
|
-
}).pipe(
|
|
934
|
-
T.Http({
|
|
935
|
-
method: "PUT",
|
|
936
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
937
|
-
code: 200,
|
|
938
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
939
|
-
}),
|
|
940
|
-
),
|
|
941
|
-
).annotate({ identifier: "UpdateIntakeUserRequest" }) as any as S.Schema<UpdateIntakeUserRequest>;
|
|
942
|
-
|
|
943
429
|
export type CreateIntakeError = BadRequest | Conflict | StackitOpError;
|
|
944
430
|
/** Creates a new intake within the project. */
|
|
945
431
|
export const createIntake: API.OperationMethod<
|
|
@@ -948,8 +434,8 @@ export const createIntake: API.OperationMethod<
|
|
|
948
434
|
CreateIntakeError,
|
|
949
435
|
StackitOpContext
|
|
950
436
|
> = /*@__PURE__*/ API.make(() => ({
|
|
951
|
-
input: CreateIntakeRequest
|
|
952
|
-
output: IntakeResponse
|
|
437
|
+
input: __S(64, __c8, 0) as any as S.Schema<CreateIntakeRequest>,
|
|
438
|
+
output: __S(84, __c10, 4) as any as S.Schema<IntakeResponse>,
|
|
953
439
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
954
440
|
protocol: StackitProtocol,
|
|
955
441
|
retry: Retry.Retry,
|
|
@@ -963,8 +449,8 @@ export const createIntakeRunner: API.OperationMethod<
|
|
|
963
449
|
CreateIntakeRunnerError,
|
|
964
450
|
StackitOpContext
|
|
965
451
|
> = /*@__PURE__*/ API.make(() => ({
|
|
966
|
-
input: CreateIntakeRunnerRequest
|
|
967
|
-
output: IntakeRunnerResponse
|
|
452
|
+
input: __S(88, __c11, 0) as any as S.Schema<CreateIntakeRunnerRequest>,
|
|
453
|
+
output: __S(96, __c12, 0) as any as S.Schema<IntakeRunnerResponse>,
|
|
968
454
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
969
455
|
protocol: StackitProtocol,
|
|
970
456
|
retry: Retry.Retry,
|
|
@@ -978,8 +464,8 @@ export const createIntakeUser: API.OperationMethod<
|
|
|
978
464
|
CreateIntakeUserError,
|
|
979
465
|
StackitOpContext
|
|
980
466
|
> = /*@__PURE__*/ API.make(() => ({
|
|
981
|
-
input: CreateIntakeUserRequest
|
|
982
|
-
output: IntakeUserResponse
|
|
467
|
+
input: __S(104, __c13, 0) as any as S.Schema<CreateIntakeUserRequest>,
|
|
468
|
+
output: __S(113, __c14, 1) as any as S.Schema<IntakeUserResponse>,
|
|
983
469
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
984
470
|
protocol: StackitProtocol,
|
|
985
471
|
retry: Retry.Retry,
|
|
@@ -993,8 +479,8 @@ export const deleteIntake: API.OperationMethod<
|
|
|
993
479
|
DeleteIntakeError,
|
|
994
480
|
StackitOpContext
|
|
995
481
|
> = /*@__PURE__*/ API.make(() => ({
|
|
996
|
-
input: DeleteIntakeRequest
|
|
997
|
-
output: DeleteIntakeResponse
|
|
482
|
+
input: __S(120, __c15, 0) as any as S.Schema<DeleteIntakeRequest>,
|
|
483
|
+
output: __S(128, __c16, 0) as any as S.Schema<DeleteIntakeResponse>,
|
|
998
484
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
999
485
|
protocol: StackitProtocol,
|
|
1000
486
|
retry: Retry.Retry,
|
|
@@ -1008,8 +494,8 @@ export const deleteIntakeRunner: API.OperationMethod<
|
|
|
1008
494
|
DeleteIntakeRunnerError,
|
|
1009
495
|
StackitOpContext
|
|
1010
496
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1011
|
-
input: DeleteIntakeRunnerRequest
|
|
1012
|
-
output: DeleteIntakeRunnerResponse
|
|
497
|
+
input: __S(136, __c17, 0) as any as S.Schema<DeleteIntakeRunnerRequest>,
|
|
498
|
+
output: __S(128, __c16, 0) as any as S.Schema<DeleteIntakeRunnerResponse>,
|
|
1013
499
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
1014
500
|
protocol: StackitProtocol,
|
|
1015
501
|
retry: Retry.Retry,
|
|
@@ -1023,8 +509,8 @@ export const deleteIntakeUser: API.OperationMethod<
|
|
|
1023
509
|
DeleteIntakeUserError,
|
|
1024
510
|
StackitOpContext
|
|
1025
511
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1026
|
-
input: DeleteIntakeUserRequest
|
|
1027
|
-
output: DeleteIntakeUserResponse
|
|
512
|
+
input: __S(144, __c18, 0) as any as S.Schema<DeleteIntakeUserRequest>,
|
|
513
|
+
output: __S(128, __c16, 0) as any as S.Schema<DeleteIntakeUserResponse>,
|
|
1028
514
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
1029
515
|
protocol: StackitProtocol,
|
|
1030
516
|
retry: Retry.Retry,
|
|
@@ -1038,8 +524,8 @@ export const getIntake: API.OperationMethod<
|
|
|
1038
524
|
GetIntakeError,
|
|
1039
525
|
StackitOpContext
|
|
1040
526
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1041
|
-
input: GetIntakeRequest
|
|
1042
|
-
output: IntakeResponse
|
|
527
|
+
input: __S(152, __c19, 0) as any as S.Schema<GetIntakeRequest>,
|
|
528
|
+
output: __S(84, __c10, 4) as any as S.Schema<IntakeResponse>,
|
|
1043
529
|
errors: [NotFound, UnknownStackitError],
|
|
1044
530
|
protocol: StackitProtocol,
|
|
1045
531
|
retry: Retry.Retry,
|
|
@@ -1053,8 +539,8 @@ export const getIntakeRunner: API.OperationMethod<
|
|
|
1053
539
|
GetIntakeRunnerError,
|
|
1054
540
|
StackitOpContext
|
|
1055
541
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1056
|
-
input: GetIntakeRunnerRequest
|
|
1057
|
-
output: IntakeRunnerResponse
|
|
542
|
+
input: __S(0, __c0, 0) as any as S.Schema<GetIntakeRunnerRequest>,
|
|
543
|
+
output: __S(96, __c12, 0) as any as S.Schema<IntakeRunnerResponse>,
|
|
1058
544
|
errors: [NotFound, UnknownStackitError],
|
|
1059
545
|
protocol: StackitProtocol,
|
|
1060
546
|
retry: Retry.Retry,
|
|
@@ -1068,8 +554,8 @@ export const getIntakeUser: API.OperationMethod<
|
|
|
1068
554
|
GetIntakeUserError,
|
|
1069
555
|
StackitOpContext
|
|
1070
556
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1071
|
-
input: GetIntakeUserRequest
|
|
1072
|
-
output: IntakeUserResponse
|
|
557
|
+
input: __S(8, __c1, 0) as any as S.Schema<GetIntakeUserRequest>,
|
|
558
|
+
output: __S(113, __c14, 1) as any as S.Schema<IntakeUserResponse>,
|
|
1073
559
|
errors: [NotFound, UnknownStackitError],
|
|
1074
560
|
protocol: StackitProtocol,
|
|
1075
561
|
retry: Retry.Retry,
|
|
@@ -1083,8 +569,8 @@ export const listIntakeRunners: API.OperationMethod<
|
|
|
1083
569
|
ListIntakeRunnersError,
|
|
1084
570
|
StackitOpContext
|
|
1085
571
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1086
|
-
input: ListIntakeRunnersRequest
|
|
1087
|
-
output: ListIntakeRunnersResponse
|
|
572
|
+
input: __S(16, __c2, 0) as any as S.Schema<ListIntakeRunnersRequest>,
|
|
573
|
+
output: __S(18, __c2, 2) as any as S.Schema<ListIntakeRunnersResponse>,
|
|
1088
574
|
errors: [UnknownStackitError],
|
|
1089
575
|
protocol: StackitProtocol,
|
|
1090
576
|
retry: Retry.Retry,
|
|
@@ -1098,8 +584,8 @@ export const listIntakes: API.OperationMethod<
|
|
|
1098
584
|
ListIntakesError,
|
|
1099
585
|
StackitOpContext
|
|
1100
586
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1101
|
-
input: ListIntakesRequest
|
|
1102
|
-
output: ListIntakesResponse
|
|
587
|
+
input: __S(24, __c3, 0) as any as S.Schema<ListIntakesRequest>,
|
|
588
|
+
output: __S(26, __c3, 2) as any as S.Schema<ListIntakesResponse>,
|
|
1103
589
|
errors: [UnknownStackitError],
|
|
1104
590
|
protocol: StackitProtocol,
|
|
1105
591
|
retry: Retry.Retry,
|
|
@@ -1113,8 +599,8 @@ export const listIntakeUsers: API.OperationMethod<
|
|
|
1113
599
|
ListIntakeUsersError,
|
|
1114
600
|
StackitOpContext
|
|
1115
601
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1116
|
-
input: ListIntakeUsersRequest
|
|
1117
|
-
output: ListIntakeUsersResponse
|
|
602
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListIntakeUsersRequest>,
|
|
603
|
+
output: __S(34, __c4, 2) as any as S.Schema<ListIntakeUsersResponse>,
|
|
1118
604
|
errors: [UnknownStackitError],
|
|
1119
605
|
protocol: StackitProtocol,
|
|
1120
606
|
retry: Retry.Retry,
|
|
@@ -1128,8 +614,8 @@ export const updateIntake: API.OperationMethod<
|
|
|
1128
614
|
UpdateIntakeError,
|
|
1129
615
|
StackitOpContext
|
|
1130
616
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1131
|
-
input: UpdateIntakeRequest
|
|
1132
|
-
output: IntakeResponse
|
|
617
|
+
input: __S(43, __c5, 3) as any as S.Schema<UpdateIntakeRequest>,
|
|
618
|
+
output: __S(84, __c10, 4) as any as S.Schema<IntakeResponse>,
|
|
1133
619
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
1134
620
|
protocol: StackitProtocol,
|
|
1135
621
|
retry: Retry.Retry,
|
|
@@ -1143,8 +629,8 @@ export const updateIntakeRunner: API.OperationMethod<
|
|
|
1143
629
|
UpdateIntakeRunnerError,
|
|
1144
630
|
StackitOpContext
|
|
1145
631
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1146
|
-
input: UpdateIntakeRunnerRequest
|
|
1147
|
-
output: IntakeRunnerResponse
|
|
632
|
+
input: __S(48, __c6, 0) as any as S.Schema<UpdateIntakeRunnerRequest>,
|
|
633
|
+
output: __S(96, __c12, 0) as any as S.Schema<IntakeRunnerResponse>,
|
|
1148
634
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
1149
635
|
protocol: StackitProtocol,
|
|
1150
636
|
retry: Retry.Retry,
|
|
@@ -1158,9 +644,495 @@ export const updateIntakeUser: API.OperationMethod<
|
|
|
1158
644
|
UpdateIntakeUserError,
|
|
1159
645
|
StackitOpContext
|
|
1160
646
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1161
|
-
input: UpdateIntakeUserRequest
|
|
1162
|
-
output: IntakeUserResponse
|
|
647
|
+
input: __S(56, __c7, 0) as any as S.Schema<UpdateIntakeUserRequest>,
|
|
648
|
+
output: __S(113, __c14, 1) as any as S.Schema<IntakeUserResponse>,
|
|
1163
649
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
1164
650
|
protocol: StackitProtocol,
|
|
1165
651
|
retry: Retry.Retry,
|
|
1166
652
|
}));
|
|
653
|
+
|
|
654
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
655
|
+
function __c0(j: number): any {
|
|
656
|
+
switch (j) {
|
|
657
|
+
case 0:
|
|
658
|
+
return S.suspend(() =>
|
|
659
|
+
S.Struct({
|
|
660
|
+
projectId: S.String.pipe(T.Label()),
|
|
661
|
+
regionId: S.String.pipe(T.Label()),
|
|
662
|
+
intakeRunnerId: S.String.pipe(T.Label()),
|
|
663
|
+
}).pipe(
|
|
664
|
+
T.Http({
|
|
665
|
+
method: "GET",
|
|
666
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
667
|
+
code: 200,
|
|
668
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
669
|
+
}),
|
|
670
|
+
),
|
|
671
|
+
).annotate({ identifier: "GetIntakeRunnerRequest" });
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
function __c1(j: number): any {
|
|
675
|
+
switch (j) {
|
|
676
|
+
case 0:
|
|
677
|
+
return S.suspend(() =>
|
|
678
|
+
S.Struct({
|
|
679
|
+
projectId: S.String.pipe(T.Label()),
|
|
680
|
+
regionId: S.String.pipe(T.Label()),
|
|
681
|
+
intakeId: S.String.pipe(T.Label()),
|
|
682
|
+
intakeUserId: S.String.pipe(T.Label()),
|
|
683
|
+
}).pipe(
|
|
684
|
+
T.Http({
|
|
685
|
+
method: "GET",
|
|
686
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
687
|
+
code: 200,
|
|
688
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
689
|
+
}),
|
|
690
|
+
),
|
|
691
|
+
).annotate({ identifier: "GetIntakeUserRequest" });
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
function __c2(j: number): any {
|
|
695
|
+
switch (j) {
|
|
696
|
+
case 0:
|
|
697
|
+
return S.suspend(() =>
|
|
698
|
+
S.Struct({
|
|
699
|
+
projectId: S.String.pipe(T.Label()),
|
|
700
|
+
regionId: S.String.pipe(T.Label()),
|
|
701
|
+
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
702
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
703
|
+
}).pipe(
|
|
704
|
+
T.Http({
|
|
705
|
+
method: "GET",
|
|
706
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",
|
|
707
|
+
code: 200,
|
|
708
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
709
|
+
}),
|
|
710
|
+
),
|
|
711
|
+
).annotate({ identifier: "ListIntakeRunnersRequest" });
|
|
712
|
+
case 1:
|
|
713
|
+
return S.Array(__S(96, __c12, 0));
|
|
714
|
+
case 2:
|
|
715
|
+
return S.suspend(() =>
|
|
716
|
+
S.Struct({
|
|
717
|
+
intakeRunners: __S(17, __c2, 1),
|
|
718
|
+
nextPageToken: S.optional(S.String),
|
|
719
|
+
}),
|
|
720
|
+
).annotate({ identifier: "ListIntakeRunnersResponse" });
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
function __c3(j: number): any {
|
|
724
|
+
switch (j) {
|
|
725
|
+
case 0:
|
|
726
|
+
return S.suspend(() =>
|
|
727
|
+
S.Struct({
|
|
728
|
+
projectId: S.String.pipe(T.Label()),
|
|
729
|
+
regionId: S.String.pipe(T.Label()),
|
|
730
|
+
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
731
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
732
|
+
}).pipe(
|
|
733
|
+
T.Http({
|
|
734
|
+
method: "GET",
|
|
735
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes",
|
|
736
|
+
code: 200,
|
|
737
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
738
|
+
}),
|
|
739
|
+
),
|
|
740
|
+
).annotate({ identifier: "ListIntakesRequest" });
|
|
741
|
+
case 1:
|
|
742
|
+
return S.Array(__S(84, __c10, 4));
|
|
743
|
+
case 2:
|
|
744
|
+
return S.suspend(() =>
|
|
745
|
+
S.Struct({
|
|
746
|
+
intakes: __S(25, __c3, 1),
|
|
747
|
+
nextPageToken: S.optional(S.String),
|
|
748
|
+
}),
|
|
749
|
+
).annotate({ identifier: "ListIntakesResponse" });
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
function __c4(j: number): any {
|
|
753
|
+
switch (j) {
|
|
754
|
+
case 0:
|
|
755
|
+
return S.suspend(() =>
|
|
756
|
+
S.Struct({
|
|
757
|
+
projectId: S.String.pipe(T.Label()),
|
|
758
|
+
regionId: S.String.pipe(T.Label()),
|
|
759
|
+
intakeId: S.String.pipe(T.Label()),
|
|
760
|
+
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
761
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
762
|
+
}).pipe(
|
|
763
|
+
T.Http({
|
|
764
|
+
method: "GET",
|
|
765
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users",
|
|
766
|
+
code: 200,
|
|
767
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
768
|
+
}),
|
|
769
|
+
),
|
|
770
|
+
).annotate({ identifier: "ListIntakeUsersRequest" });
|
|
771
|
+
case 1:
|
|
772
|
+
return S.Array(__S(113, __c14, 1));
|
|
773
|
+
case 2:
|
|
774
|
+
return S.suspend(() =>
|
|
775
|
+
S.Struct({
|
|
776
|
+
intakeUsers: __S(33, __c4, 1),
|
|
777
|
+
nextPageToken: S.optional(S.String),
|
|
778
|
+
}),
|
|
779
|
+
).annotate({ identifier: "ListIntakeUsersResponse" });
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
function __c5(j: number): any {
|
|
783
|
+
switch (j) {
|
|
784
|
+
case 0:
|
|
785
|
+
return S.suspend(() =>
|
|
786
|
+
S.Struct({
|
|
787
|
+
personalAccessToken: S.optional(S.String),
|
|
788
|
+
tokenEndpoint: S.optional(S.String),
|
|
789
|
+
}),
|
|
790
|
+
).annotate({ identifier: "DremioAuthPatch" });
|
|
791
|
+
case 1:
|
|
792
|
+
return S.suspend(() =>
|
|
793
|
+
S.Struct({
|
|
794
|
+
dremio: S.optional(__S(40, __c5, 0)),
|
|
795
|
+
type: S.optional(S.String),
|
|
796
|
+
}),
|
|
797
|
+
).annotate({ identifier: "CatalogAuthPatch" });
|
|
798
|
+
case 2:
|
|
799
|
+
return S.suspend(() =>
|
|
800
|
+
S.Struct({
|
|
801
|
+
auth: S.optional(__S(41, __c5, 1)),
|
|
802
|
+
namespace: S.optional(S.String),
|
|
803
|
+
partitionBy: S.optional(S.NullOr(__S(82, __c10, 2))),
|
|
804
|
+
partitioning: S.optional(S.String),
|
|
805
|
+
tableName: S.optional(S.String),
|
|
806
|
+
uri: S.optional(S.String),
|
|
807
|
+
warehouse: S.optional(S.String),
|
|
808
|
+
}),
|
|
809
|
+
).annotate({ identifier: "IntakeCatalogPatch" });
|
|
810
|
+
case 3:
|
|
811
|
+
return S.suspend(() =>
|
|
812
|
+
S.Struct({
|
|
813
|
+
projectId: S.String.pipe(T.Label()),
|
|
814
|
+
regionId: S.String.pipe(T.Label()),
|
|
815
|
+
intakeId: S.String.pipe(T.Label()),
|
|
816
|
+
catalog: S.optional(__S(42, __c5, 2)),
|
|
817
|
+
description: S.optional(S.String),
|
|
818
|
+
displayName: S.optional(S.String),
|
|
819
|
+
intakeRunnerId: S.String,
|
|
820
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
821
|
+
}).pipe(
|
|
822
|
+
T.Http({
|
|
823
|
+
method: "PUT",
|
|
824
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
825
|
+
code: 200,
|
|
826
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
827
|
+
}),
|
|
828
|
+
),
|
|
829
|
+
).annotate({ identifier: "UpdateIntakeRequest" });
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
function __c6(j: number): any {
|
|
833
|
+
switch (j) {
|
|
834
|
+
case 0:
|
|
835
|
+
return S.suspend(() =>
|
|
836
|
+
S.Struct({
|
|
837
|
+
projectId: S.String.pipe(T.Label()),
|
|
838
|
+
regionId: S.String.pipe(T.Label()),
|
|
839
|
+
intakeRunnerId: S.String.pipe(T.Label()),
|
|
840
|
+
description: S.optional(S.String),
|
|
841
|
+
displayName: S.optional(S.String),
|
|
842
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
843
|
+
maxMessageSizeKiB: S.optional(S.Number),
|
|
844
|
+
maxMessagesPerHour: S.optional(S.Number),
|
|
845
|
+
}).pipe(
|
|
846
|
+
T.Http({
|
|
847
|
+
method: "PUT",
|
|
848
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
849
|
+
code: 200,
|
|
850
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
851
|
+
}),
|
|
852
|
+
),
|
|
853
|
+
).annotate({ identifier: "UpdateIntakeRunnerRequest" });
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
function __c7(j: number): any {
|
|
857
|
+
switch (j) {
|
|
858
|
+
case 0:
|
|
859
|
+
return S.suspend(() =>
|
|
860
|
+
S.Struct({
|
|
861
|
+
projectId: S.String.pipe(T.Label()),
|
|
862
|
+
regionId: S.String.pipe(T.Label()),
|
|
863
|
+
intakeId: S.String.pipe(T.Label()),
|
|
864
|
+
intakeUserId: S.String.pipe(T.Label()),
|
|
865
|
+
description: S.optional(S.String),
|
|
866
|
+
displayName: S.optional(S.String),
|
|
867
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
868
|
+
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
869
|
+
type: S.optional(S.String),
|
|
870
|
+
}).pipe(
|
|
871
|
+
T.Http({
|
|
872
|
+
method: "PUT",
|
|
873
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
874
|
+
code: 200,
|
|
875
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
876
|
+
}),
|
|
877
|
+
),
|
|
878
|
+
).annotate({ identifier: "UpdateIntakeUserRequest" });
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
function __c8(j: number): any {
|
|
882
|
+
switch (j) {
|
|
883
|
+
case 0:
|
|
884
|
+
return S.suspend(() =>
|
|
885
|
+
S.Struct({
|
|
886
|
+
projectId: S.String.pipe(T.Label()),
|
|
887
|
+
regionId: S.String.pipe(T.Label()),
|
|
888
|
+
catalog: __S(83, __c10, 3),
|
|
889
|
+
description: S.optional(S.String),
|
|
890
|
+
displayName: S.String,
|
|
891
|
+
intakeRunnerId: S.String,
|
|
892
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
893
|
+
}).pipe(
|
|
894
|
+
T.Http({
|
|
895
|
+
method: "POST",
|
|
896
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes",
|
|
897
|
+
code: 200,
|
|
898
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
899
|
+
}),
|
|
900
|
+
),
|
|
901
|
+
).annotate({ identifier: "CreateIntakeRequest" });
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
function __c9(j: number): any {
|
|
905
|
+
switch (j) {
|
|
906
|
+
case 0:
|
|
907
|
+
return S.Record(S.String, S.String);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
function __c10(j: number): any {
|
|
911
|
+
switch (j) {
|
|
912
|
+
case 0:
|
|
913
|
+
return S.suspend(() =>
|
|
914
|
+
S.Struct({
|
|
915
|
+
personalAccessToken: S.String,
|
|
916
|
+
tokenEndpoint: S.String,
|
|
917
|
+
}),
|
|
918
|
+
).annotate({ identifier: "DremioAuth" });
|
|
919
|
+
case 1:
|
|
920
|
+
return S.suspend(() =>
|
|
921
|
+
S.Struct({
|
|
922
|
+
dremio: S.optional(__S(80, __c10, 0)),
|
|
923
|
+
type: S.String,
|
|
924
|
+
}),
|
|
925
|
+
).annotate({ identifier: "CatalogAuth" });
|
|
926
|
+
case 2:
|
|
927
|
+
return S.Array(S.String);
|
|
928
|
+
case 3:
|
|
929
|
+
return S.suspend(() =>
|
|
930
|
+
S.Struct({
|
|
931
|
+
auth: S.optional(__S(81, __c10, 1)),
|
|
932
|
+
namespace: S.optional(S.String),
|
|
933
|
+
partitionBy: S.optional(S.NullOr(__S(82, __c10, 2))),
|
|
934
|
+
partitioning: S.optional(S.String),
|
|
935
|
+
tableName: S.optional(S.String),
|
|
936
|
+
uri: S.String,
|
|
937
|
+
warehouse: S.String,
|
|
938
|
+
}),
|
|
939
|
+
).annotate({ identifier: "IntakeCatalog" });
|
|
940
|
+
case 4:
|
|
941
|
+
return S.suspend(() =>
|
|
942
|
+
S.Struct({
|
|
943
|
+
catalog: __S(83, __c10, 3),
|
|
944
|
+
create_time: S.String,
|
|
945
|
+
deadLetterTopic: S.String,
|
|
946
|
+
description: S.optional(S.String),
|
|
947
|
+
displayName: S.String,
|
|
948
|
+
failure_message: S.optional(S.String),
|
|
949
|
+
id: S.String,
|
|
950
|
+
intakeRunnerId: S.String,
|
|
951
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
952
|
+
state: S.String,
|
|
953
|
+
topic: S.String,
|
|
954
|
+
undeliveredMessageCount: S.optional(S.Number),
|
|
955
|
+
uri: S.String,
|
|
956
|
+
}),
|
|
957
|
+
).annotate({ identifier: "IntakeResponse" });
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
function __c11(j: number): any {
|
|
961
|
+
switch (j) {
|
|
962
|
+
case 0:
|
|
963
|
+
return S.suspend(() =>
|
|
964
|
+
S.Struct({
|
|
965
|
+
projectId: S.String.pipe(T.Label()),
|
|
966
|
+
regionId: S.String.pipe(T.Label()),
|
|
967
|
+
description: S.optional(S.String),
|
|
968
|
+
displayName: S.String,
|
|
969
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
970
|
+
maxMessageSizeKiB: S.Number,
|
|
971
|
+
maxMessagesPerHour: S.Number,
|
|
972
|
+
}).pipe(
|
|
973
|
+
T.Http({
|
|
974
|
+
method: "POST",
|
|
975
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",
|
|
976
|
+
code: 200,
|
|
977
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
978
|
+
}),
|
|
979
|
+
),
|
|
980
|
+
).annotate({ identifier: "CreateIntakeRunnerRequest" });
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
function __c12(j: number): any {
|
|
984
|
+
switch (j) {
|
|
985
|
+
case 0:
|
|
986
|
+
return S.suspend(() =>
|
|
987
|
+
S.Struct({
|
|
988
|
+
create_time: S.String,
|
|
989
|
+
description: S.optional(S.String),
|
|
990
|
+
displayName: S.String,
|
|
991
|
+
id: S.String,
|
|
992
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
993
|
+
maxMessageSizeKiB: S.Number,
|
|
994
|
+
maxMessagesPerHour: S.Number,
|
|
995
|
+
state: S.String,
|
|
996
|
+
uri: S.String,
|
|
997
|
+
}),
|
|
998
|
+
).annotate({ identifier: "IntakeRunnerResponse" });
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
function __c13(j: number): any {
|
|
1002
|
+
switch (j) {
|
|
1003
|
+
case 0:
|
|
1004
|
+
return S.suspend(() =>
|
|
1005
|
+
S.Struct({
|
|
1006
|
+
projectId: S.String.pipe(T.Label()),
|
|
1007
|
+
regionId: S.String.pipe(T.Label()),
|
|
1008
|
+
intakeId: S.String.pipe(T.Label()),
|
|
1009
|
+
description: S.optional(S.String),
|
|
1010
|
+
displayName: S.String,
|
|
1011
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
1012
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
1013
|
+
type: S.optional(S.String),
|
|
1014
|
+
}).pipe(
|
|
1015
|
+
T.Http({
|
|
1016
|
+
method: "POST",
|
|
1017
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users",
|
|
1018
|
+
code: 200,
|
|
1019
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
1020
|
+
}),
|
|
1021
|
+
),
|
|
1022
|
+
).annotate({ identifier: "CreateIntakeUserRequest" });
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
function __c14(j: number): any {
|
|
1026
|
+
switch (j) {
|
|
1027
|
+
case 0:
|
|
1028
|
+
return S.suspend(() =>
|
|
1029
|
+
S.Struct({
|
|
1030
|
+
java: S.String,
|
|
1031
|
+
librdkafka: S.String,
|
|
1032
|
+
}),
|
|
1033
|
+
).annotate({ identifier: "ClientConfig" });
|
|
1034
|
+
case 1:
|
|
1035
|
+
return S.suspend(() =>
|
|
1036
|
+
S.Struct({
|
|
1037
|
+
clientConfig: S.optional(__S(112, __c14, 0)),
|
|
1038
|
+
create_time: S.String,
|
|
1039
|
+
description: S.optional(S.String),
|
|
1040
|
+
displayName: S.String,
|
|
1041
|
+
id: S.String,
|
|
1042
|
+
labels: S.optional(S.NullOr(__S(72, __c9, 0))),
|
|
1043
|
+
state: S.String,
|
|
1044
|
+
type: S.String,
|
|
1045
|
+
user: S.String,
|
|
1046
|
+
}),
|
|
1047
|
+
).annotate({ identifier: "IntakeUserResponse" });
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
function __c15(j: number): any {
|
|
1051
|
+
switch (j) {
|
|
1052
|
+
case 0:
|
|
1053
|
+
return S.suspend(() =>
|
|
1054
|
+
S.Struct({
|
|
1055
|
+
projectId: S.String.pipe(T.Label()),
|
|
1056
|
+
regionId: S.String.pipe(T.Label()),
|
|
1057
|
+
intakeId: S.String.pipe(T.Label()),
|
|
1058
|
+
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
1059
|
+
}).pipe(
|
|
1060
|
+
T.Http({
|
|
1061
|
+
method: "DELETE",
|
|
1062
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
1063
|
+
code: 200,
|
|
1064
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
1065
|
+
}),
|
|
1066
|
+
),
|
|
1067
|
+
).annotate({ identifier: "DeleteIntakeRequest" });
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
function __c16(j: number): any {
|
|
1071
|
+
switch (j) {
|
|
1072
|
+
case 0:
|
|
1073
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteIntakeResponse" });
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
function __c17(j: number): any {
|
|
1077
|
+
switch (j) {
|
|
1078
|
+
case 0:
|
|
1079
|
+
return S.suspend(() =>
|
|
1080
|
+
S.Struct({
|
|
1081
|
+
projectId: S.String.pipe(T.Label()),
|
|
1082
|
+
regionId: S.String.pipe(T.Label()),
|
|
1083
|
+
intakeRunnerId: S.String.pipe(T.Label()),
|
|
1084
|
+
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
1085
|
+
}).pipe(
|
|
1086
|
+
T.Http({
|
|
1087
|
+
method: "DELETE",
|
|
1088
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
1089
|
+
code: 200,
|
|
1090
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
1091
|
+
}),
|
|
1092
|
+
),
|
|
1093
|
+
).annotate({ identifier: "DeleteIntakeRunnerRequest" });
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
function __c18(j: number): any {
|
|
1097
|
+
switch (j) {
|
|
1098
|
+
case 0:
|
|
1099
|
+
return S.suspend(() =>
|
|
1100
|
+
S.Struct({
|
|
1101
|
+
projectId: S.String.pipe(T.Label()),
|
|
1102
|
+
regionId: S.String.pipe(T.Label()),
|
|
1103
|
+
intakeId: S.String.pipe(T.Label()),
|
|
1104
|
+
intakeUserId: S.String.pipe(T.Label()),
|
|
1105
|
+
}).pipe(
|
|
1106
|
+
T.Http({
|
|
1107
|
+
method: "DELETE",
|
|
1108
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
1109
|
+
code: 200,
|
|
1110
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
1111
|
+
}),
|
|
1112
|
+
),
|
|
1113
|
+
).annotate({ identifier: "DeleteIntakeUserRequest" });
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
function __c19(j: number): any {
|
|
1117
|
+
switch (j) {
|
|
1118
|
+
case 0:
|
|
1119
|
+
return S.suspend(() =>
|
|
1120
|
+
S.Struct({
|
|
1121
|
+
projectId: S.String.pipe(T.Label()),
|
|
1122
|
+
regionId: S.String.pipe(T.Label()),
|
|
1123
|
+
intakeId: S.String.pipe(T.Label()),
|
|
1124
|
+
}).pipe(
|
|
1125
|
+
T.Http({
|
|
1126
|
+
method: "GET",
|
|
1127
|
+
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
1128
|
+
code: 200,
|
|
1129
|
+
baseUrl: "https://intake.api.stackit.cloud",
|
|
1130
|
+
}),
|
|
1131
|
+
),
|
|
1132
|
+
).annotate({ identifier: "GetIntakeRequest" });
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
1136
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
1137
|
+
return (__s[i] ??= __L.at(f, j));
|
|
1138
|
+
}
|