@distilled.cloud/stackit 1.0.0-rc.15 → 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/lib/services/intake.js
CHANGED
|
@@ -1,475 +1,84 @@
|
|
|
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
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
7
|
import { StackitProtocol } from "../protocol.js";
|
|
8
8
|
import * as Retry from "../retry.js";
|
|
9
9
|
import * as T from "../traits.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
export const CreateIntakeRequestRegionId = S.String;
|
|
29
|
-
export const DremioAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
30
|
-
personalAccessToken: S.String,
|
|
31
|
-
tokenEndpoint: S.String,
|
|
32
|
-
})).annotate({ identifier: "DremioAuth" });
|
|
33
|
-
export const CatalogAuthType = S.String;
|
|
34
|
-
export const CatalogAuth = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
35
|
-
dremio: S.optional(DremioAuth),
|
|
36
|
-
type: CatalogAuthType,
|
|
37
|
-
})).annotate({ identifier: "CatalogAuth" });
|
|
38
|
-
export const IntakeCatalogPartitionByList = /*@__PURE__*/ S.Array(S.String);
|
|
39
|
-
export const PartitioningType = S.String;
|
|
40
|
-
export const IntakeCatalog = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
41
|
-
auth: S.optional(CatalogAuth),
|
|
42
|
-
namespace: S.optional(S.String),
|
|
43
|
-
partitionBy: S.optional(S.NullOr(IntakeCatalogPartitionByList)),
|
|
44
|
-
partitioning: S.optional(PartitioningType),
|
|
45
|
-
tableName: S.optional(S.String),
|
|
46
|
-
uri: S.String,
|
|
47
|
-
warehouse: S.String,
|
|
48
|
-
})).annotate({ identifier: "IntakeCatalog" });
|
|
49
|
-
export const CreateIntakeRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
50
|
-
export const CreateIntakeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
51
|
-
projectId: S.String.pipe(T.Label()),
|
|
52
|
-
regionId: CreateIntakeRequestRegionId.pipe(T.Label()),
|
|
53
|
-
catalog: IntakeCatalog,
|
|
54
|
-
description: S.optional(S.String),
|
|
55
|
-
displayName: S.String,
|
|
56
|
-
intakeRunnerId: S.String,
|
|
57
|
-
labels: S.optional(S.NullOr(CreateIntakeRequestLabelsMap)),
|
|
58
|
-
}).pipe(T.Http({
|
|
59
|
-
method: "POST",
|
|
60
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes",
|
|
61
|
-
code: 200,
|
|
62
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
63
|
-
}))).annotate({ identifier: "CreateIntakeRequest" });
|
|
64
|
-
export const IntakeResponseLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
65
|
-
export const IntakeResponseState = S.String;
|
|
66
|
-
export const IntakeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
67
|
-
catalog: IntakeCatalog,
|
|
68
|
-
create_time: S.String,
|
|
69
|
-
deadLetterTopic: S.String,
|
|
70
|
-
description: S.optional(S.String),
|
|
71
|
-
displayName: S.String,
|
|
72
|
-
failure_message: S.optional(S.String),
|
|
73
|
-
id: S.String,
|
|
74
|
-
intakeRunnerId: S.String,
|
|
75
|
-
labels: S.optional(S.NullOr(IntakeResponseLabelsMap)),
|
|
76
|
-
state: IntakeResponseState,
|
|
77
|
-
topic: S.String,
|
|
78
|
-
undeliveredMessageCount: S.optional(S.Number),
|
|
79
|
-
uri: S.String,
|
|
80
|
-
})).annotate({ identifier: "IntakeResponse" });
|
|
81
|
-
export const CreateIntakeRunnerRequestRegionId = S.String;
|
|
82
|
-
export const CreateIntakeRunnerRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
83
|
-
export const CreateIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
84
|
-
projectId: S.String.pipe(T.Label()),
|
|
85
|
-
regionId: CreateIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
86
|
-
description: S.optional(S.String),
|
|
87
|
-
displayName: S.String,
|
|
88
|
-
labels: S.optional(S.NullOr(CreateIntakeRunnerRequestLabelsMap)),
|
|
89
|
-
maxMessageSizeKiB: S.Number,
|
|
90
|
-
maxMessagesPerHour: S.Number,
|
|
91
|
-
}).pipe(T.Http({
|
|
92
|
-
method: "POST",
|
|
93
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",
|
|
94
|
-
code: 200,
|
|
95
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
96
|
-
}))).annotate({
|
|
97
|
-
identifier: "CreateIntakeRunnerRequest",
|
|
98
|
-
});
|
|
99
|
-
export const IntakeRunnerResponseLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
100
|
-
export const IntakeRunnerResponseState = S.String;
|
|
101
|
-
export const IntakeRunnerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
102
|
-
create_time: S.String,
|
|
103
|
-
description: S.optional(S.String),
|
|
104
|
-
displayName: S.String,
|
|
105
|
-
id: S.String,
|
|
106
|
-
labels: S.optional(S.NullOr(IntakeRunnerResponseLabelsMap)),
|
|
107
|
-
maxMessageSizeKiB: S.Number,
|
|
108
|
-
maxMessagesPerHour: S.Number,
|
|
109
|
-
state: IntakeRunnerResponseState,
|
|
110
|
-
uri: S.String,
|
|
111
|
-
})).annotate({ identifier: "IntakeRunnerResponse" });
|
|
112
|
-
export const CreateIntakeUserRequestRegionId = S.String;
|
|
113
|
-
export const CreateIntakeUserRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
114
|
-
export const UserType = S.String;
|
|
115
|
-
export const CreateIntakeUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
116
|
-
projectId: S.String.pipe(T.Label()),
|
|
117
|
-
regionId: CreateIntakeUserRequestRegionId.pipe(T.Label()),
|
|
118
|
-
intakeId: S.String.pipe(T.Label()),
|
|
119
|
-
description: S.optional(S.String),
|
|
120
|
-
displayName: S.String,
|
|
121
|
-
labels: S.optional(S.NullOr(CreateIntakeUserRequestLabelsMap)),
|
|
122
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
123
|
-
type: S.optional(UserType),
|
|
124
|
-
}).pipe(T.Http({
|
|
125
|
-
method: "POST",
|
|
126
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users",
|
|
127
|
-
code: 200,
|
|
128
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
129
|
-
}))).annotate({ identifier: "CreateIntakeUserRequest" });
|
|
130
|
-
export const ClientConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
131
|
-
java: S.String,
|
|
132
|
-
librdkafka: S.String,
|
|
133
|
-
})).annotate({ identifier: "ClientConfig" });
|
|
134
|
-
export const IntakeUserResponseLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
135
|
-
export const IntakeUserResponseState = S.String;
|
|
136
|
-
export const IntakeUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
137
|
-
clientConfig: S.optional(ClientConfig),
|
|
138
|
-
create_time: S.String,
|
|
139
|
-
description: S.optional(S.String),
|
|
140
|
-
displayName: S.String,
|
|
141
|
-
id: S.String,
|
|
142
|
-
labels: S.optional(S.NullOr(IntakeUserResponseLabelsMap)),
|
|
143
|
-
state: IntakeUserResponseState,
|
|
144
|
-
type: UserType,
|
|
145
|
-
user: S.String,
|
|
146
|
-
})).annotate({ identifier: "IntakeUserResponse" });
|
|
147
|
-
export const DeleteIntakeRequestRegionId = S.String;
|
|
148
|
-
export const DeleteIntakeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
149
|
-
projectId: S.String.pipe(T.Label()),
|
|
150
|
-
regionId: DeleteIntakeRequestRegionId.pipe(T.Label()),
|
|
151
|
-
intakeId: S.String.pipe(T.Label()),
|
|
152
|
-
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
153
|
-
}).pipe(T.Http({
|
|
154
|
-
method: "DELETE",
|
|
155
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
156
|
-
code: 200,
|
|
157
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
158
|
-
}))).annotate({ identifier: "DeleteIntakeRequest" });
|
|
159
|
-
export const DeleteIntakeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
160
|
-
identifier: "DeleteIntakeResponse",
|
|
161
|
-
});
|
|
162
|
-
export const DeleteIntakeRunnerRequestRegionId = S.String;
|
|
163
|
-
export const DeleteIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
164
|
-
projectId: S.String.pipe(T.Label()),
|
|
165
|
-
regionId: DeleteIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
166
|
-
intakeRunnerId: S.String.pipe(T.Label()),
|
|
167
|
-
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
168
|
-
}).pipe(T.Http({
|
|
169
|
-
method: "DELETE",
|
|
170
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
171
|
-
code: 200,
|
|
172
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
173
|
-
}))).annotate({
|
|
174
|
-
identifier: "DeleteIntakeRunnerRequest",
|
|
175
|
-
});
|
|
176
|
-
export const DeleteIntakeRunnerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
177
|
-
identifier: "DeleteIntakeRunnerResponse",
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = S.Struct;
|
|
15
|
+
const __5 = S.suspend;
|
|
16
|
+
const __6 = T.Query;
|
|
17
|
+
const __7 = S.optional;
|
|
18
|
+
const __8 = S.Number;
|
|
19
|
+
const __9 = S.Array;
|
|
20
|
+
const __10 = S.NullOr;
|
|
21
|
+
const __11 = T.SensitiveValue;
|
|
22
|
+
const __12 = S.Record;
|
|
23
|
+
const __13 = S.Boolean;
|
|
24
|
+
const __14 = S.TaggedError;
|
|
25
|
+
const __15 = T.applyErrorMatchers;
|
|
26
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
27
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __8, __3, __14, __15]]);
|
|
178
28
|
});
|
|
179
|
-
export const
|
|
180
|
-
|
|
181
|
-
projectId: S.String.pipe(T.Label()),
|
|
182
|
-
regionId: DeleteIntakeUserRequestRegionId.pipe(T.Label()),
|
|
183
|
-
intakeId: S.String.pipe(T.Label()),
|
|
184
|
-
intakeUserId: S.String.pipe(T.Label()),
|
|
185
|
-
}).pipe(T.Http({
|
|
186
|
-
method: "DELETE",
|
|
187
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
188
|
-
code: 200,
|
|
189
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
190
|
-
}))).annotate({ identifier: "DeleteIntakeUserRequest" });
|
|
191
|
-
export const DeleteIntakeUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
192
|
-
identifier: "DeleteIntakeUserResponse",
|
|
29
|
+
export const Conflict = /*@__PURE__*/ API.error(function Conflict(i) {
|
|
30
|
+
return API.newError(i, new.target, ['$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])', [__0, C.withConflictError, __8, __3, __14, __15]]);
|
|
193
31
|
});
|
|
194
|
-
export const
|
|
195
|
-
|
|
196
|
-
projectId: S.String.pipe(T.Label()),
|
|
197
|
-
regionId: GetIntakeRequestRegionId.pipe(T.Label()),
|
|
198
|
-
intakeId: S.String.pipe(T.Label()),
|
|
199
|
-
}).pipe(T.Http({
|
|
200
|
-
method: "GET",
|
|
201
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
202
|
-
code: 200,
|
|
203
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
204
|
-
}))).annotate({ identifier: "GetIntakeRequest" });
|
|
205
|
-
export const GetIntakeRunnerRequestRegionId = S.String;
|
|
206
|
-
export const GetIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
207
|
-
projectId: S.String.pipe(T.Label()),
|
|
208
|
-
regionId: GetIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
209
|
-
intakeRunnerId: S.String.pipe(T.Label()),
|
|
210
|
-
}).pipe(T.Http({
|
|
211
|
-
method: "GET",
|
|
212
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
213
|
-
code: 200,
|
|
214
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
215
|
-
}))).annotate({ identifier: "GetIntakeRunnerRequest" });
|
|
216
|
-
export const GetIntakeUserRequestRegionId = S.String;
|
|
217
|
-
export const GetIntakeUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
218
|
-
projectId: S.String.pipe(T.Label()),
|
|
219
|
-
regionId: GetIntakeUserRequestRegionId.pipe(T.Label()),
|
|
220
|
-
intakeId: S.String.pipe(T.Label()),
|
|
221
|
-
intakeUserId: S.String.pipe(T.Label()),
|
|
222
|
-
}).pipe(T.Http({
|
|
223
|
-
method: "GET",
|
|
224
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
225
|
-
code: 200,
|
|
226
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
227
|
-
}))).annotate({ identifier: "GetIntakeUserRequest" });
|
|
228
|
-
export const ListIntakeRunnersRequestRegionId = S.String;
|
|
229
|
-
export const ListIntakeRunnersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
230
|
-
projectId: S.String.pipe(T.Label()),
|
|
231
|
-
regionId: ListIntakeRunnersRequestRegionId.pipe(T.Label()),
|
|
232
|
-
pageToken: S.optional(S.String.pipe(T.Query())),
|
|
233
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
234
|
-
}).pipe(T.Http({
|
|
235
|
-
method: "GET",
|
|
236
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",
|
|
237
|
-
code: 200,
|
|
238
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
239
|
-
}))).annotate({ identifier: "ListIntakeRunnersRequest" });
|
|
240
|
-
export const ListIntakeRunnersResponseIntakeRunnersList = /*@__PURE__*/ S.Array(IntakeRunnerResponse);
|
|
241
|
-
export const ListIntakeRunnersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
242
|
-
intakeRunners: ListIntakeRunnersResponseIntakeRunnersList,
|
|
243
|
-
nextPageToken: S.optional(S.String),
|
|
244
|
-
})).annotate({
|
|
245
|
-
identifier: "ListIntakeRunnersResponse",
|
|
32
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
33
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __8, __3, __14, __15]]);
|
|
246
34
|
});
|
|
247
|
-
|
|
248
|
-
export const
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}))).
|
|
259
|
-
|
|
260
|
-
export const
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
export const
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}))).
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}))
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
partitioning: S.optional(PartitioningUpdateType),
|
|
298
|
-
tableName: S.optional(S.String),
|
|
299
|
-
uri: S.optional(S.String),
|
|
300
|
-
warehouse: S.optional(S.String),
|
|
301
|
-
})).annotate({ identifier: "IntakeCatalogPatch" });
|
|
302
|
-
export const UpdateIntakeRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
303
|
-
export const UpdateIntakeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
304
|
-
projectId: S.String.pipe(T.Label()),
|
|
305
|
-
regionId: UpdateIntakeRequestRegionId.pipe(T.Label()),
|
|
306
|
-
intakeId: S.String.pipe(T.Label()),
|
|
307
|
-
catalog: S.optional(IntakeCatalogPatch),
|
|
308
|
-
description: S.optional(S.String),
|
|
309
|
-
displayName: S.optional(S.String),
|
|
310
|
-
intakeRunnerId: S.String,
|
|
311
|
-
labels: S.optional(S.NullOr(UpdateIntakeRequestLabelsMap)),
|
|
312
|
-
}).pipe(T.Http({
|
|
313
|
-
method: "PUT",
|
|
314
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",
|
|
315
|
-
code: 200,
|
|
316
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
317
|
-
}))).annotate({ identifier: "UpdateIntakeRequest" });
|
|
318
|
-
export const UpdateIntakeRunnerRequestRegionId = S.String;
|
|
319
|
-
export const UpdateIntakeRunnerRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
320
|
-
export const UpdateIntakeRunnerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
321
|
-
projectId: S.String.pipe(T.Label()),
|
|
322
|
-
regionId: UpdateIntakeRunnerRequestRegionId.pipe(T.Label()),
|
|
323
|
-
intakeRunnerId: S.String.pipe(T.Label()),
|
|
324
|
-
description: S.optional(S.String),
|
|
325
|
-
displayName: S.optional(S.String),
|
|
326
|
-
labels: S.optional(S.NullOr(UpdateIntakeRunnerRequestLabelsMap)),
|
|
327
|
-
maxMessageSizeKiB: S.optional(S.Number),
|
|
328
|
-
maxMessagesPerHour: S.optional(S.Number),
|
|
329
|
-
}).pipe(T.Http({
|
|
330
|
-
method: "PUT",
|
|
331
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",
|
|
332
|
-
code: 200,
|
|
333
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
334
|
-
}))).annotate({
|
|
335
|
-
identifier: "UpdateIntakeRunnerRequest",
|
|
336
|
-
});
|
|
337
|
-
export const UpdateIntakeUserRequestRegionId = S.String;
|
|
338
|
-
export const UpdateIntakeUserRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
339
|
-
export const UpdateIntakeUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
340
|
-
projectId: S.String.pipe(T.Label()),
|
|
341
|
-
regionId: UpdateIntakeUserRequestRegionId.pipe(T.Label()),
|
|
342
|
-
intakeId: S.String.pipe(T.Label()),
|
|
343
|
-
intakeUserId: S.String.pipe(T.Label()),
|
|
344
|
-
description: S.optional(S.String),
|
|
345
|
-
displayName: S.optional(S.String),
|
|
346
|
-
labels: S.optional(S.NullOr(UpdateIntakeUserRequestLabelsMap)),
|
|
347
|
-
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
348
|
-
type: S.optional(UserType),
|
|
349
|
-
}).pipe(T.Http({
|
|
350
|
-
method: "PUT",
|
|
351
|
-
uri: "/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",
|
|
352
|
-
code: 200,
|
|
353
|
-
baseUrl: "https://intake.api.stackit.cloud",
|
|
354
|
-
}))).annotate({ identifier: "UpdateIntakeUserRequest" });
|
|
355
|
-
/** Creates a new intake within the project. */
|
|
356
|
-
export const createIntake = /*@__PURE__*/ API.make(() => ({
|
|
357
|
-
input: CreateIntakeRequest,
|
|
358
|
-
output: IntakeResponse,
|
|
359
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
360
|
-
protocol: StackitProtocol,
|
|
361
|
-
retry: Retry.Retry,
|
|
362
|
-
}));
|
|
363
|
-
/** Creates a new intake runner within the project. */
|
|
364
|
-
export const createIntakeRunner = /*@__PURE__*/ API.make(() => ({
|
|
365
|
-
input: CreateIntakeRunnerRequest,
|
|
366
|
-
output: IntakeRunnerResponse,
|
|
367
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
368
|
-
protocol: StackitProtocol,
|
|
369
|
-
retry: Retry.Retry,
|
|
370
|
-
}));
|
|
371
|
-
/** Creates a new user for this intake. */
|
|
372
|
-
export const createIntakeUser = /*@__PURE__*/ API.make(() => ({
|
|
373
|
-
input: CreateIntakeUserRequest,
|
|
374
|
-
output: IntakeUserResponse,
|
|
375
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
376
|
-
protocol: StackitProtocol,
|
|
377
|
-
retry: Retry.Retry,
|
|
378
|
-
}));
|
|
379
|
-
/** Deletes the given intake. */
|
|
380
|
-
export const deleteIntake = /*@__PURE__*/ API.make(() => ({
|
|
381
|
-
input: DeleteIntakeRequest,
|
|
382
|
-
output: DeleteIntakeResponse,
|
|
383
|
-
errors: [NotFound, Conflict, UnknownStackitError],
|
|
384
|
-
protocol: StackitProtocol,
|
|
385
|
-
retry: Retry.Retry,
|
|
386
|
-
}));
|
|
387
|
-
/** Deletes the given intake runner. */
|
|
388
|
-
export const deleteIntakeRunner = /*@__PURE__*/ API.make(() => ({
|
|
389
|
-
input: DeleteIntakeRunnerRequest,
|
|
390
|
-
output: DeleteIntakeRunnerResponse,
|
|
391
|
-
errors: [NotFound, Conflict, UnknownStackitError],
|
|
392
|
-
protocol: StackitProtocol,
|
|
393
|
-
retry: Retry.Retry,
|
|
394
|
-
}));
|
|
395
|
-
/** Deletes the given intake user. */
|
|
396
|
-
export const deleteIntakeUser = /*@__PURE__*/ API.make(() => ({
|
|
397
|
-
input: DeleteIntakeUserRequest,
|
|
398
|
-
output: DeleteIntakeUserResponse,
|
|
399
|
-
errors: [NotFound, Conflict, UnknownStackitError],
|
|
400
|
-
protocol: StackitProtocol,
|
|
401
|
-
retry: Retry.Retry,
|
|
402
|
-
}));
|
|
403
|
-
/** Returns the details for the given intake. */
|
|
404
|
-
export const getIntake = /*@__PURE__*/ API.make(() => ({
|
|
405
|
-
input: GetIntakeRequest,
|
|
406
|
-
output: IntakeResponse,
|
|
407
|
-
errors: [NotFound, UnknownStackitError],
|
|
408
|
-
protocol: StackitProtocol,
|
|
409
|
-
retry: Retry.Retry,
|
|
410
|
-
}));
|
|
411
|
-
/** Returns the details for the given intake runner. */
|
|
412
|
-
export const getIntakeRunner = /*@__PURE__*/ API.make(() => ({
|
|
413
|
-
input: GetIntakeRunnerRequest,
|
|
414
|
-
output: IntakeRunnerResponse,
|
|
415
|
-
errors: [NotFound, UnknownStackitError],
|
|
416
|
-
protocol: StackitProtocol,
|
|
417
|
-
retry: Retry.Retry,
|
|
418
|
-
}));
|
|
419
|
-
/** Returns the details for the given user. */
|
|
420
|
-
export const getIntakeUser = /*@__PURE__*/ API.make(() => ({
|
|
421
|
-
input: GetIntakeUserRequest,
|
|
422
|
-
output: IntakeUserResponse,
|
|
423
|
-
errors: [NotFound, UnknownStackitError],
|
|
424
|
-
protocol: StackitProtocol,
|
|
425
|
-
retry: Retry.Retry,
|
|
426
|
-
}));
|
|
427
|
-
/** Returns a list of all intake runners within the project. */
|
|
428
|
-
export const listIntakeRunners = /*@__PURE__*/ API.make(() => ({
|
|
429
|
-
input: ListIntakeRunnersRequest,
|
|
430
|
-
output: ListIntakeRunnersResponse,
|
|
431
|
-
errors: [UnknownStackitError],
|
|
432
|
-
protocol: StackitProtocol,
|
|
433
|
-
retry: Retry.Retry,
|
|
434
|
-
}));
|
|
435
|
-
/** Returns a list of all intakes within the project. */
|
|
436
|
-
export const listIntakes = /*@__PURE__*/ API.make(() => ({
|
|
437
|
-
input: ListIntakesRequest,
|
|
438
|
-
output: ListIntakesResponse,
|
|
439
|
-
errors: [UnknownStackitError],
|
|
440
|
-
protocol: StackitProtocol,
|
|
441
|
-
retry: Retry.Retry,
|
|
442
|
-
}));
|
|
443
|
-
/** Returns a list of all intake users within the project and intake. */
|
|
444
|
-
export const listIntakeUsers = /*@__PURE__*/ API.make(() => ({
|
|
445
|
-
input: ListIntakeUsersRequest,
|
|
446
|
-
output: ListIntakeUsersResponse,
|
|
447
|
-
errors: [UnknownStackitError],
|
|
448
|
-
protocol: StackitProtocol,
|
|
449
|
-
retry: Retry.Retry,
|
|
450
|
-
}));
|
|
451
|
-
/** Updates the given intake. */
|
|
452
|
-
export const updateIntake = /*@__PURE__*/ API.make(() => ({
|
|
453
|
-
input: UpdateIntakeRequest,
|
|
454
|
-
output: IntakeResponse,
|
|
455
|
-
errors: [NotFound, Conflict, UnknownStackitError],
|
|
456
|
-
protocol: StackitProtocol,
|
|
457
|
-
retry: Retry.Retry,
|
|
458
|
-
}));
|
|
459
|
-
/** Updates a intake runner within the project. */
|
|
460
|
-
export const updateIntakeRunner = /*@__PURE__*/ API.make(() => ({
|
|
461
|
-
input: UpdateIntakeRunnerRequest,
|
|
462
|
-
output: IntakeRunnerResponse,
|
|
463
|
-
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
464
|
-
protocol: StackitProtocol,
|
|
465
|
-
retry: Retry.Retry,
|
|
466
|
-
}));
|
|
467
|
-
/** Updates the given intake user. */
|
|
468
|
-
export const updateIntakeUser = /*@__PURE__*/ API.make(() => ({
|
|
469
|
-
input: UpdateIntakeUserRequest,
|
|
470
|
-
output: IntakeUserResponse,
|
|
471
|
-
errors: [NotFound, Conflict, UnknownStackitError],
|
|
472
|
-
protocol: StackitProtocol,
|
|
473
|
-
retry: Retry.Retry,
|
|
474
|
-
}));
|
|
475
|
-
//# sourceMappingURL=intake.js.map
|
|
35
|
+
|
|
36
|
+
export const createIntake = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:4,errors:[$10,$11,$12],protocol:$13,retry:$14};$9(>2)@"CreateIntakeRequest";$8({projectId:$3.pipe($2()),regionId:$3.pipe($2()),catalog:#4:3,description:$5($3),displayName:$3,intakeRunnerId:$3,labels:$5($7(#6:0))}).pipe($1({method:"POST",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __d1, __7, __d0, __10, __4, __5, BadRequest, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createIntake, i));
|
|
37
|
+
|
|
38
|
+
export const createIntakeRunner = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:0,errors:[$11,$12,$13],protocol:$14,retry:$15};$9(>2)@"CreateIntakeRunnerRequest";$8({projectId:$3.pipe($2()),regionId:$3.pipe($2()),description:$4($3),displayName:$3,labels:$4($6(#5:0)),maxMessageSizeKiB:$7,maxMessagesPerHour:$7}).pipe($1({method:"POST",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __d0, __10, __8, __4, __5, __d2, BadRequest, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createIntakeRunner, i));
|
|
39
|
+
|
|
40
|
+
export const createIntakeUser = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:1,errors:[$11,$12,$13],protocol:$14,retry:$15};$9(>2)@"CreateIntakeUserRequest";$8({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeId:$3.pipe($2()),description:$4($3),displayName:$3,labels:$4($6(#5:0)),password:$3.pipe($7({})),type:$4($3)}).pipe($1({method:"POST",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __d0, __10, __11, __4, __5, __d3, BadRequest, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createIntakeUser, i));
|
|
41
|
+
|
|
42
|
+
export const deleteIntake = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"DeleteIntakeRequest";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeId:$3.pipe($2()),force:$6($5.pipe($4()))}).pipe($1({method:"DELETE",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __6, __13, __7, __4, __5, __d4, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteIntake, i));
|
|
43
|
+
|
|
44
|
+
export const deleteIntakeRunner = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"DeleteIntakeRunnerRequest";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeRunnerId:$3.pipe($2()),force:$6($5.pipe($4()))}).pipe($1({method:"DELETE",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __6, __13, __7, __4, __5, __d4, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteIntakeRunner, i));
|
|
45
|
+
|
|
46
|
+
export const deleteIntakeUser = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteIntakeUserRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeId:$3.pipe($2()),intakeUserId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d4, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteIntakeUser, i));
|
|
47
|
+
|
|
48
|
+
export const getIntake = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:4,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetIntakeRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d1, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getIntake, i));
|
|
49
|
+
|
|
50
|
+
export const getIntakeRunner = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetIntakeRunnerRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeRunnerId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d2, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getIntakeRunner, i));
|
|
51
|
+
|
|
52
|
+
export const getIntakeUser = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"GetIntakeUserRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeId:$3.pipe($2()),intakeUserId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d3, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getIntakeUser, i));
|
|
53
|
+
|
|
54
|
+
export const listIntakeRunners = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11],protocol:$12,retry:$13};$8(>4)@"ListIntakeRunnersRequest";$10(#9:0);$8(>5)@"ListIntakeRunnersResponse";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),pageToken:$5($3.pipe($4())),pageSize:$5($6.pipe($4()))}).pipe($1({method:"GET",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intake-runners",code:200,baseUrl:"https://intake.api.stackit.cloud"}));$7({intakeRunners:#2,nextPageToken:$5($3)})', [__0, __1, __2, __3, __6, __7, __8, __4, __5, __d2, __9, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listIntakeRunners, i));
|
|
55
|
+
|
|
56
|
+
export const listIntakes = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11],protocol:$12,retry:$13};$8(>4)@"ListIntakesRequest";$10(#9:4);$8(>5)@"ListIntakesResponse";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),pageToken:$5($3.pipe($4())),pageSize:$5($6.pipe($4()))}).pipe($1({method:"GET",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes",code:200,baseUrl:"https://intake.api.stackit.cloud"}));$7({intakes:#2,nextPageToken:$5($3)})', [__0, __1, __2, __3, __6, __7, __8, __4, __5, __d1, __9, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listIntakes, i));
|
|
57
|
+
|
|
58
|
+
export const listIntakeUsers = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11],protocol:$12,retry:$13};$8(>4)@"ListIntakeUsersRequest";$10(#9:1);$8(>5)@"ListIntakeUsersResponse";$7({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeId:$3.pipe($2()),pageToken:$5($3.pipe($4())),pageSize:$5($6.pipe($4()))}).pipe($1({method:"GET",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users",code:200,baseUrl:"https://intake.api.stackit.cloud"}));$7({intakeUsers:#2,nextPageToken:$5($3)})', [__0, __1, __2, __3, __6, __7, __8, __4, __5, __d3, __9, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listIntakeUsers, i));
|
|
59
|
+
|
|
60
|
+
export const updateIntake = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#4,output:#5:4,errors:[$10,$11,$12],protocol:$13,retry:$14};$4(>5)@"DremioAuthPatch";$4(>6)@"CatalogAuthPatch";$4(>7)@"IntakeCatalogPatch";$4(>8)@"UpdateIntakeRequest";$3({personalAccessToken:$2($1),tokenEndpoint:$2($1)});$3({dremio:$2(#1),type:$2($1)});$3({auth:$2(#2),namespace:$2($1),partitionBy:$2($6(#5:2)),partitioning:$2($1),tableName:$2($1),uri:$2($1),warehouse:$2($1)});$3({projectId:$1.pipe($8()),regionId:$1.pipe($8()),intakeId:$1.pipe($8()),catalog:$2(#3),description:$2($1),displayName:$2($1),intakeRunnerId:$1,labels:$2($6(#9:0))}).pipe($7({method:"PUT",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __3, __7, __4, __5, __d1, __10, __1, __2, __d0, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateIntake, i));
|
|
61
|
+
|
|
62
|
+
export const updateIntakeRunner = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:0,errors:[$11,$12,$13],protocol:$14,retry:$15};$9(>2)@"UpdateIntakeRunnerRequest";$8({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeRunnerId:$3.pipe($2()),description:$4($3),displayName:$4($3),labels:$4($6(#5:0)),maxMessageSizeKiB:$4($7),maxMessagesPerHour:$4($7)}).pipe($1({method:"PUT",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intake-runners/{intakeRunnerId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __d0, __10, __8, __4, __5, __d2, BadRequest, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateIntakeRunner, i));
|
|
63
|
+
|
|
64
|
+
export const updateIntakeUser = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:1,errors:[$11,$12,$13],protocol:$14,retry:$15};$9(>2)@"UpdateIntakeUserRequest";$8({projectId:$3.pipe($2()),regionId:$3.pipe($2()),intakeId:$3.pipe($2()),intakeUserId:$3.pipe($2()),description:$4($3),displayName:$4($3),labels:$4($6(#5:0)),password:$4($3.pipe($7({}))),type:$4($3)}).pipe($1({method:"PUT",uri:"/v1beta/projects/{projectId}/regions/{regionId}/intakes/{intakeId}/users/{intakeUserId}",code:200,baseUrl:"https://intake.api.stackit.cloud"}))', [__0, __1, __2, __3, __7, __d0, __10, __11, __4, __5, __d3, NotFound, Conflict, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateIntakeUser, i));
|
|
65
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
66
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
// Shared schema data (see `op` in core/api).
|
|
70
|
+
function __d0() {
|
|
71
|
+
return ['$2($1,$1)', [__0, __3, __12]];
|
|
72
|
+
}
|
|
73
|
+
function __d1() {
|
|
74
|
+
return ['$3(>5)@"DremioAuth";$3(>6)@"CatalogAuth";$5($1);$3(>7)@"IntakeCatalog";$3(>8)@"IntakeResponse";$2({personalAccessToken:$1,tokenEndpoint:$1});$2({dremio:$4(#0),type:$1});$2({auth:$4(#1),namespace:$4($1),partitionBy:$4($6(#2)),partitioning:$4($1),tableName:$4($1),uri:$1,warehouse:$1});$2({catalog:#3,create_time:$1,deadLetterTopic:$1,description:$4($1),displayName:$1,failure_message:$4($1),id:$1,intakeRunnerId:$1,labels:$4($6(#7:0)),state:$1,topic:$1,undeliveredMessageCount:$4($8),uri:$1})', [__0, __3, __4, __5, __7, __9, __10, __d0, __8]];
|
|
75
|
+
}
|
|
76
|
+
function __d2() {
|
|
77
|
+
return ['$7(>1)@"IntakeRunnerResponse";$6({create_time:$1,description:$2($1),displayName:$1,id:$1,labels:$2($4(#3:0)),maxMessageSizeKiB:$5,maxMessagesPerHour:$5,state:$1,uri:$1})', [__0, __3, __7, __d0, __10, __8, __4, __5]];
|
|
78
|
+
}
|
|
79
|
+
function __d3() {
|
|
80
|
+
return ['$3(>2)@"ClientConfig";$3(>3)@"IntakeUserResponse";$2({java:$1,librdkafka:$1});$2({clientConfig:$4(#0),create_time:$1,description:$4($1),displayName:$1,id:$1,labels:$4($6(#5:0)),state:$1,type:$1,user:$1})', [__0, __3, __4, __5, __7, __d0, __10]];
|
|
81
|
+
}
|
|
82
|
+
function __d4() {
|
|
83
|
+
return ['$2(>1)@"DeleteIntakeResponse";$1({})', [__0, __4, __5]];
|
|
84
|
+
}
|