@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.17
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/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -49
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -26
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -24
- package/lib/index.lazy.js +7 -0
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +1 -45
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -147
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -31
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +28 -512
- package/lib/services/alb.js.map +1 -1
- 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 +33 -520
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -322
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +1 -362
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -905
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -178
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -176
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -725
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -316
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +1 -356
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +1 -398
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +35 -519
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -3542
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/index.js +0 -2
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +29 -474
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -662
- package/lib/services/kms.js.map +1 -1
- 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 +1 -153
- package/lib/services/lb_ip_lists.js.map +1 -1
- 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 +29 -496
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +33 -573
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -474
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +34 -550
- package/lib/services/mariadb.js.map +1 -1
- 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 +1 -335
- package/lib/services/model_experiments.js.map +1 -1
- 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 +1 -286
- package/lib/services/model_serving.js.map +1 -1
- 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 +42 -802
- package/lib/services/mongodb_flex.js.map +1 -1
- 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 +38 -539
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -3157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +34 -562
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -735
- package/lib/services/pim.js.map +1 -1
- 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 +47 -852
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +37 -518
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +35 -573
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -197
- package/lib/services/registry.js.map +1 -1
- 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 +36 -472
- package/lib/services/resource_manager.js.map +1 -1
- 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 +1 -184
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +25 -444
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -669
- package/lib/services/scf.js.map +1 -1
- 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 +42 -612
- package/lib/services/secrets_manager.js.map +1 -1
- 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 +29 -453
- package/lib/services/server_backup.js.map +1 -1
- 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 +1 -351
- package/lib/services/server_update.js.map +1 -1
- 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 +30 -505
- package/lib/services/service_account.js.map +1 -1
- 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 +1 -156
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -789
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +26 -557
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -935
- package/lib/services/sqlserverflex.js.map +1 -1
- 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 +26 -378
- package/lib/services/stackit_marketplace.js.map +1 -1
- 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 +34 -531
- package/lib/services/telemetry_link.js.map +1 -1
- 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 +29 -483
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -278
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +34 -566
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -930
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +27 -507
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +4 -0
- package/lib/services.lazy/alb_waf.js +4 -0
- package/lib/services.lazy/authorization.js +1 -0
- package/lib/services.lazy/automation.js +1 -0
- package/lib/services.lazy/cdn.js +4 -0
- package/lib/services.lazy/certificates.js +1 -0
- package/lib/services.lazy/cost.js +1 -0
- package/lib/services.lazy/dns.js +4 -0
- package/lib/services.lazy/dremio.js +1 -0
- package/lib/services.lazy/edge.js +1 -0
- package/lib/services.lazy/functions.js +1 -0
- package/lib/services.lazy/git.js +4 -0
- package/lib/services.lazy/iaas.js +4 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/intake.js +4 -0
- package/lib/services.lazy/kms.js +4 -0
- package/lib/services.lazy/lb_ip_lists.js +1 -0
- package/lib/services.lazy/load_balancer.js +4 -0
- package/lib/services.lazy/logme.js +4 -0
- package/lib/services.lazy/logs.js +4 -0
- package/lib/services.lazy/mariadb.js +4 -0
- package/lib/services.lazy/model_experiments.js +1 -0
- package/lib/services.lazy/model_serving.js +1 -0
- package/lib/services.lazy/mongodb_flex.js +4 -0
- package/lib/services.lazy/object_storage.js +4 -0
- package/lib/services.lazy/observability.js +4 -0
- package/lib/services.lazy/opensearch.js +4 -0
- package/lib/services.lazy/pim.js +4 -0
- package/lib/services.lazy/postgres_flex.js +4 -0
- package/lib/services.lazy/pubsub.js +4 -0
- package/lib/services.lazy/rabbitmq.js +4 -0
- package/lib/services.lazy/registry.js +1 -0
- package/lib/services.lazy/resource_manager.js +4 -0
- package/lib/services.lazy/run_command.js +1 -0
- package/lib/services.lazy/sca.js +4 -0
- package/lib/services.lazy/scf.js +4 -0
- package/lib/services.lazy/secrets_manager.js +4 -0
- package/lib/services.lazy/server_backup.js +4 -0
- package/lib/services.lazy/server_update.js +1 -0
- package/lib/services.lazy/service_account.js +4 -0
- package/lib/services.lazy/service_enablement.js +1 -0
- package/lib/services.lazy/sfs.js +4 -0
- package/lib/services.lazy/ske.js +4 -0
- package/lib/services.lazy/sqlserverflex.js +4 -0
- package/lib/services.lazy/stackit_marketplace.js +4 -0
- package/lib/services.lazy/telemetry_link.js +4 -0
- package/lib/services.lazy/telemetry_router.js +4 -0
- package/lib/services.lazy/ufw.js +1 -0
- package/lib/services.lazy/valkey.js +4 -0
- package/lib/services.lazy/vpn.js +4 -0
- package/lib/services.lazy/workflows.js +4 -0
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +1 -15
- package/package.json +9 -7
- 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/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -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/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- package/src/protocol.test.ts +0 -304
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
|
@@ -1,613 +1,43 @@
|
|
|
1
|
-
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
projectId: S.String.pipe(T.Label()),
|
|
44
|
-
instanceId: S.String.pipe(T.Label()),
|
|
45
|
-
description: S.optional(S.String),
|
|
46
|
-
secret_id_num_uses: S.optional(S.Number),
|
|
47
|
-
secret_id_ttl: S.optional(S.String),
|
|
48
|
-
write: S.optional(S.Boolean),
|
|
49
|
-
}).pipe(T.Http({
|
|
50
|
-
method: "POST",
|
|
51
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles",
|
|
52
|
-
code: 200,
|
|
53
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
54
|
-
}))).annotate({ identifier: "CreateApproleRequest" });
|
|
55
|
-
export const Approle = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
56
|
-
description: S.String,
|
|
57
|
-
role_id: S.String,
|
|
58
|
-
secret_id_num_uses: S.Number,
|
|
59
|
-
secret_id_ttl: S.String,
|
|
60
|
-
write: S.Boolean,
|
|
61
|
-
})).annotate({ identifier: "Approle" });
|
|
62
|
-
export const CreateApproleSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
63
|
-
projectId: S.String.pipe(T.Label()),
|
|
64
|
-
instanceId: S.String.pipe(T.Label()),
|
|
65
|
-
roleId: S.String.pipe(T.Label()),
|
|
66
|
-
description: S.optional(S.String),
|
|
67
|
-
}).pipe(T.Http({
|
|
68
|
-
method: "POST",
|
|
69
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids",
|
|
70
|
-
code: 200,
|
|
71
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
72
|
-
}))).annotate({
|
|
73
|
-
identifier: "CreateApproleSecretIdRequest",
|
|
74
|
-
});
|
|
75
|
-
export const ApproleSecret = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
76
|
-
description: S.String,
|
|
77
|
-
num_uses: S.Number,
|
|
78
|
-
secret_id: S.optional(S.String),
|
|
79
|
-
ttl: S.String,
|
|
80
|
-
version: S.Number,
|
|
81
|
-
})).annotate({ identifier: "ApproleSecret" });
|
|
82
|
-
export const KmsKeyPayload = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
83
|
-
keyId: S.String,
|
|
84
|
-
keyRingId: S.String,
|
|
85
|
-
keyVersion: S.Number,
|
|
86
|
-
serviceAccountEmail: S.String,
|
|
87
|
-
})).annotate({ identifier: "KmsKeyPayload" });
|
|
88
|
-
export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
89
|
-
projectId: S.String.pipe(T.Label()),
|
|
90
|
-
kmsKey: S.optional(KmsKeyPayload),
|
|
91
|
-
name: S.String,
|
|
92
|
-
}).pipe(T.Http({
|
|
93
|
-
method: "POST",
|
|
94
|
-
uri: "/v1/projects/{projectId}/instances",
|
|
95
|
-
code: 200,
|
|
96
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
97
|
-
}))).annotate({ identifier: "CreateInstanceRequest" });
|
|
98
|
-
export const Instance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
99
|
-
apiUrl: S.String,
|
|
100
|
-
creationFinishedDate: S.optional(S.String),
|
|
101
|
-
creationStartDate: S.String,
|
|
102
|
-
id: S.String,
|
|
103
|
-
kmsKey: S.optional(KmsKeyPayload),
|
|
104
|
-
name: S.String,
|
|
105
|
-
secretCount: S.Number,
|
|
106
|
-
secretsEngine: S.String,
|
|
107
|
-
state: S.String,
|
|
108
|
-
updateFinishedDate: S.optional(S.String),
|
|
109
|
-
updateStartDate: S.optional(S.String),
|
|
110
|
-
})).annotate({ identifier: "Instance" });
|
|
111
|
-
export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
112
|
-
projectId: S.String.pipe(T.Label()),
|
|
113
|
-
instanceId: S.String.pipe(T.Label()),
|
|
114
|
-
description: S.String,
|
|
115
|
-
write: S.Boolean,
|
|
116
|
-
}).pipe(T.Http({
|
|
117
|
-
method: "POST",
|
|
118
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/users",
|
|
119
|
-
code: 200,
|
|
120
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
121
|
-
}))).annotate({ identifier: "CreateUserRequest" });
|
|
122
|
-
export const User = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
123
|
-
description: S.String,
|
|
124
|
-
id: S.String,
|
|
125
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
126
|
-
username: S.String,
|
|
127
|
-
write: S.Boolean,
|
|
128
|
-
})).annotate({ identifier: "User" });
|
|
129
|
-
export const DeleteACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
130
|
-
projectId: S.String.pipe(T.Label()),
|
|
131
|
-
instanceId: S.String.pipe(T.Label()),
|
|
132
|
-
aclId: S.String.pipe(T.Label()),
|
|
133
|
-
}).pipe(T.Http({
|
|
134
|
-
method: "DELETE",
|
|
135
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/acls/{aclId}",
|
|
136
|
-
code: 200,
|
|
137
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
138
|
-
}))).annotate({ identifier: "DeleteACLRequest" });
|
|
139
|
-
export const DeleteACLResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
140
|
-
identifier: "DeleteACLResponse",
|
|
141
|
-
});
|
|
142
|
-
export const DeleteApproleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
143
|
-
projectId: S.String.pipe(T.Label()),
|
|
144
|
-
instanceId: S.String.pipe(T.Label()),
|
|
145
|
-
roleId: S.String.pipe(T.Label()),
|
|
146
|
-
}).pipe(T.Http({
|
|
147
|
-
method: "DELETE",
|
|
148
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}",
|
|
149
|
-
code: 200,
|
|
150
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
151
|
-
}))).annotate({ identifier: "DeleteApproleRequest" });
|
|
152
|
-
export const DeleteApproleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
153
|
-
identifier: "DeleteApproleResponse",
|
|
154
|
-
});
|
|
155
|
-
export const DeleteApproleSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
156
|
-
projectId: S.String.pipe(T.Label()),
|
|
157
|
-
instanceId: S.String.pipe(T.Label()),
|
|
158
|
-
roleId: S.String.pipe(T.Label()),
|
|
159
|
-
secretIdVersion: S.Number.pipe(T.Label()),
|
|
160
|
-
}).pipe(T.Http({
|
|
161
|
-
method: "DELETE",
|
|
162
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids/{secretIdVersion}",
|
|
163
|
-
code: 200,
|
|
164
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
165
|
-
}))).annotate({
|
|
166
|
-
identifier: "DeleteApproleSecretIdRequest",
|
|
167
|
-
});
|
|
168
|
-
export const DeleteApproleSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
169
|
-
identifier: "DeleteApproleSecretIdResponse",
|
|
170
|
-
});
|
|
171
|
-
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
172
|
-
projectId: S.String.pipe(T.Label()),
|
|
173
|
-
instanceId: S.String.pipe(T.Label()),
|
|
174
|
-
}).pipe(T.Http({
|
|
175
|
-
method: "DELETE",
|
|
176
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
177
|
-
code: 200,
|
|
178
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
179
|
-
}))).annotate({ identifier: "DeleteInstanceRequest" });
|
|
180
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
181
|
-
identifier: "DeleteInstanceResponse",
|
|
182
|
-
});
|
|
183
|
-
export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
184
|
-
projectId: S.String.pipe(T.Label()),
|
|
185
|
-
instanceId: S.String.pipe(T.Label()),
|
|
186
|
-
userId: S.String.pipe(T.Label()),
|
|
187
|
-
}).pipe(T.Http({
|
|
188
|
-
method: "DELETE",
|
|
189
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/users/{userId}",
|
|
190
|
-
code: 200,
|
|
191
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
192
|
-
}))).annotate({ identifier: "DeleteUserRequest" });
|
|
193
|
-
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
194
|
-
identifier: "DeleteUserResponse",
|
|
195
|
-
});
|
|
196
|
-
export const GetACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
197
|
-
projectId: S.String.pipe(T.Label()),
|
|
198
|
-
instanceId: S.String.pipe(T.Label()),
|
|
199
|
-
aclId: S.String.pipe(T.Label()),
|
|
200
|
-
}).pipe(T.Http({
|
|
201
|
-
method: "GET",
|
|
202
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/acls/{aclId}",
|
|
203
|
-
code: 200,
|
|
204
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
205
|
-
}))).annotate({ identifier: "GetACLRequest" });
|
|
206
|
-
export const GetApproleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
207
|
-
projectId: S.String.pipe(T.Label()),
|
|
208
|
-
instanceId: S.String.pipe(T.Label()),
|
|
209
|
-
roleId: S.String.pipe(T.Label()),
|
|
210
|
-
}).pipe(T.Http({
|
|
211
|
-
method: "GET",
|
|
212
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}",
|
|
213
|
-
code: 200,
|
|
214
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
215
|
-
}))).annotate({ identifier: "GetApproleRequest" });
|
|
216
|
-
export const GetApprolesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
217
|
-
projectId: S.String.pipe(T.Label()),
|
|
218
|
-
instanceId: S.String.pipe(T.Label()),
|
|
219
|
-
}).pipe(T.Http({
|
|
220
|
-
method: "GET",
|
|
221
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles",
|
|
222
|
-
code: 200,
|
|
223
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
224
|
-
}))).annotate({ identifier: "GetApprolesRequest" });
|
|
225
|
-
export const ApproleListApprolesList = /*@__PURE__*/ S.Array(Approle);
|
|
226
|
-
export const ApproleList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
227
|
-
approles: ApproleListApprolesList,
|
|
228
|
-
})).annotate({ identifier: "ApproleList" });
|
|
229
|
-
export const GetApproleSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
230
|
-
projectId: S.String.pipe(T.Label()),
|
|
231
|
-
instanceId: S.String.pipe(T.Label()),
|
|
232
|
-
roleId: S.String.pipe(T.Label()),
|
|
233
|
-
secretIdVersion: S.Number.pipe(T.Label()),
|
|
234
|
-
}).pipe(T.Http({
|
|
235
|
-
method: "GET",
|
|
236
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids/{secretIdVersion}",
|
|
237
|
-
code: 200,
|
|
238
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
239
|
-
}))).annotate({
|
|
240
|
-
identifier: "GetApproleSecretIdRequest",
|
|
241
|
-
});
|
|
242
|
-
export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
|
-
projectId: S.String.pipe(T.Label()),
|
|
244
|
-
instanceId: S.String.pipe(T.Label()),
|
|
245
|
-
}).pipe(T.Http({
|
|
246
|
-
method: "GET",
|
|
247
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
248
|
-
code: 200,
|
|
249
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
250
|
-
}))).annotate({ identifier: "GetInstanceRequest" });
|
|
251
|
-
export const GetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
252
|
-
projectId: S.String.pipe(T.Label()),
|
|
253
|
-
instanceId: S.String.pipe(T.Label()),
|
|
254
|
-
userId: S.String.pipe(T.Label()),
|
|
255
|
-
}).pipe(T.Http({
|
|
256
|
-
method: "GET",
|
|
257
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/users/{userId}",
|
|
258
|
-
code: 200,
|
|
259
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
260
|
-
}))).annotate({ identifier: "GetUserRequest" });
|
|
261
|
-
export const ListACLsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
262
|
-
projectId: S.String.pipe(T.Label()),
|
|
263
|
-
instanceId: S.String.pipe(T.Label()),
|
|
264
|
-
}).pipe(T.Http({
|
|
265
|
-
method: "GET",
|
|
266
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/acls",
|
|
267
|
-
code: 200,
|
|
268
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
269
|
-
}))).annotate({ identifier: "ListACLsRequest" });
|
|
270
|
-
export const ListACLsResponseAclsList = /*@__PURE__*/ S.Array(ACL);
|
|
271
|
-
export const ListACLsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
272
|
-
acls: ListACLsResponseAclsList,
|
|
273
|
-
})).annotate({ identifier: "ListACLsResponse" });
|
|
274
|
-
export const ListApproleSecretIdsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
275
|
-
projectId: S.String.pipe(T.Label()),
|
|
276
|
-
instanceId: S.String.pipe(T.Label()),
|
|
277
|
-
roleId: S.String.pipe(T.Label()),
|
|
278
|
-
}).pipe(T.Http({
|
|
279
|
-
method: "GET",
|
|
280
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids",
|
|
281
|
-
code: 200,
|
|
282
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
283
|
-
}))).annotate({
|
|
284
|
-
identifier: "ListApproleSecretIdsRequest",
|
|
285
|
-
});
|
|
286
|
-
export const ApproleSecretListSecretIdsList = /*@__PURE__*/ S.Array(ApproleSecret);
|
|
287
|
-
export const ApproleSecretList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
288
|
-
secretIds: ApproleSecretListSecretIdsList,
|
|
289
|
-
})).annotate({ identifier: "ApproleSecretList" });
|
|
290
|
-
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
291
|
-
projectId: S.String.pipe(T.Label()),
|
|
292
|
-
}).pipe(T.Http({
|
|
293
|
-
method: "GET",
|
|
294
|
-
uri: "/v1/projects/{projectId}/instances",
|
|
295
|
-
code: 200,
|
|
296
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
297
|
-
}))).annotate({ identifier: "ListInstancesRequest" });
|
|
298
|
-
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(Instance);
|
|
299
|
-
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
300
|
-
instances: ListInstancesResponseInstancesList,
|
|
301
|
-
})).annotate({ identifier: "ListInstancesResponse" });
|
|
302
|
-
export const ListUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
303
|
-
projectId: S.String.pipe(T.Label()),
|
|
304
|
-
instanceId: S.String.pipe(T.Label()),
|
|
305
|
-
}).pipe(T.Http({
|
|
306
|
-
method: "GET",
|
|
307
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/users",
|
|
308
|
-
code: 200,
|
|
309
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
310
|
-
}))).annotate({ identifier: "ListUsersRequest" });
|
|
311
|
-
export const ListUsersResponseUsersList = /*@__PURE__*/ S.Array(User);
|
|
312
|
-
export const ListUsersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
313
|
-
users: ListUsersResponseUsersList,
|
|
314
|
-
})).annotate({ identifier: "ListUsersResponse" });
|
|
315
|
-
export const UpdateACLRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
316
|
-
projectId: S.String.pipe(T.Label()),
|
|
317
|
-
instanceId: S.String.pipe(T.Label()),
|
|
318
|
-
aclId: S.String.pipe(T.Label()),
|
|
319
|
-
cidr: S.String,
|
|
320
|
-
}).pipe(T.Http({
|
|
321
|
-
method: "PUT",
|
|
322
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/acls/{aclId}",
|
|
323
|
-
code: 200,
|
|
324
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
325
|
-
}))).annotate({ identifier: "UpdateACLRequest" });
|
|
326
|
-
export const UpdateACLResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
327
|
-
identifier: "UpdateACLResponse",
|
|
328
|
-
});
|
|
329
|
-
export const UpdateACLPayload = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
330
|
-
cidr: S.String,
|
|
331
|
-
})).annotate({ identifier: "UpdateACLPayload" });
|
|
332
|
-
export const UpdateACLsRequestCidrsList = /*@__PURE__*/ S.Array(UpdateACLPayload);
|
|
333
|
-
export const UpdateACLsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
334
|
-
projectId: S.String.pipe(T.Label()),
|
|
335
|
-
instanceId: S.String.pipe(T.Label()),
|
|
336
|
-
cidrs: S.optional(UpdateACLsRequestCidrsList),
|
|
337
|
-
}).pipe(T.Http({
|
|
338
|
-
method: "PUT",
|
|
339
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/acls",
|
|
340
|
-
code: 200,
|
|
341
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
342
|
-
}))).annotate({ identifier: "UpdateACLsRequest" });
|
|
343
|
-
export const UpdateACLsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
344
|
-
identifier: "UpdateACLsResponse",
|
|
345
|
-
});
|
|
346
|
-
export const UpdateApproleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
347
|
-
projectId: S.String.pipe(T.Label()),
|
|
348
|
-
instanceId: S.String.pipe(T.Label()),
|
|
349
|
-
roleId: S.String.pipe(T.Label()),
|
|
350
|
-
description: S.optional(S.String),
|
|
351
|
-
secret_id_num_uses: S.optional(S.Number),
|
|
352
|
-
secret_id_ttl: S.optional(S.String),
|
|
353
|
-
write: S.optional(S.Boolean),
|
|
354
|
-
}).pipe(T.Http({
|
|
355
|
-
method: "PUT",
|
|
356
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}",
|
|
357
|
-
code: 200,
|
|
358
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
359
|
-
}))).annotate({ identifier: "UpdateApproleRequest" });
|
|
360
|
-
export const UpdateApproleSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
361
|
-
projectId: S.String.pipe(T.Label()),
|
|
362
|
-
instanceId: S.String.pipe(T.Label()),
|
|
363
|
-
roleId: S.String.pipe(T.Label()),
|
|
364
|
-
secretIdVersion: S.Number.pipe(T.Label()),
|
|
365
|
-
description: S.optional(S.String),
|
|
366
|
-
}).pipe(T.Http({
|
|
367
|
-
method: "PUT",
|
|
368
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids/{secretIdVersion}",
|
|
369
|
-
code: 200,
|
|
370
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
371
|
-
}))).annotate({
|
|
372
|
-
identifier: "UpdateApproleSecretIdRequest",
|
|
373
|
-
});
|
|
374
|
-
export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
375
|
-
projectId: S.String.pipe(T.Label()),
|
|
376
|
-
instanceId: S.String.pipe(T.Label()),
|
|
377
|
-
kmsKey: S.optional(KmsKeyPayload),
|
|
378
|
-
name: S.String,
|
|
379
|
-
}).pipe(T.Http({
|
|
380
|
-
method: "PUT",
|
|
381
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}",
|
|
382
|
-
code: 200,
|
|
383
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
384
|
-
}))).annotate({ identifier: "UpdateInstanceRequest" });
|
|
385
|
-
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
386
|
-
identifier: "UpdateInstanceResponse",
|
|
387
|
-
});
|
|
388
|
-
export const UpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
389
|
-
projectId: S.String.pipe(T.Label()),
|
|
390
|
-
instanceId: S.String.pipe(T.Label()),
|
|
391
|
-
userId: S.String.pipe(T.Label()),
|
|
392
|
-
description: S.optional(S.String),
|
|
393
|
-
write: S.optional(S.Boolean),
|
|
394
|
-
}).pipe(T.Http({
|
|
395
|
-
method: "PUT",
|
|
396
|
-
uri: "/v1/projects/{projectId}/instances/{instanceId}/users/{userId}",
|
|
397
|
-
code: 200,
|
|
398
|
-
baseUrl: "https://secrets-manager.api.{region}stackit.cloud",
|
|
399
|
-
}))).annotate({ identifier: "UpdateUserRequest" });
|
|
400
|
-
export const UpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
401
|
-
identifier: "UpdateUserResponse",
|
|
402
|
-
});
|
|
403
|
-
/** Creates a new Secrets Manager acl within the project. */
|
|
404
|
-
export const createACL = /*@__PURE__*/ API.make(() => ({
|
|
405
|
-
input: CreateACLRequest,
|
|
406
|
-
output: ACL,
|
|
407
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
408
|
-
protocol: StackitProtocol,
|
|
409
|
-
retry: Retry.Retry,
|
|
410
|
-
}));
|
|
411
|
-
/** Creates a new approle for the given Secrets Manager instance. */
|
|
412
|
-
export const createApprole = /*@__PURE__*/ API.make(() => ({
|
|
413
|
-
input: CreateApproleRequest,
|
|
414
|
-
output: Approle,
|
|
415
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
416
|
-
protocol: StackitProtocol,
|
|
417
|
-
retry: Retry.Retry,
|
|
418
|
-
}));
|
|
419
|
-
/** Generate new secret id for the given approle. */
|
|
420
|
-
export const createApproleSecretId = /*@__PURE__*/ API.make(() => ({
|
|
421
|
-
input: CreateApproleSecretIdRequest,
|
|
422
|
-
output: ApproleSecret,
|
|
423
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
424
|
-
protocol: StackitProtocol,
|
|
425
|
-
retry: Retry.Retry,
|
|
426
|
-
}));
|
|
427
|
-
/** Creates a new Secrets Manager instance within the project. */
|
|
428
|
-
export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
429
|
-
input: CreateInstanceRequest,
|
|
430
|
-
output: Instance,
|
|
431
|
-
errors: [BadRequest, UnknownStackitError],
|
|
432
|
-
protocol: StackitProtocol,
|
|
433
|
-
retry: Retry.Retry,
|
|
434
|
-
}));
|
|
435
|
-
/** Creates a new user for the given Secrets Manager instance. */
|
|
436
|
-
export const createUser = /*@__PURE__*/ API.make(() => ({
|
|
437
|
-
input: CreateUserRequest,
|
|
438
|
-
output: User,
|
|
439
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
440
|
-
protocol: StackitProtocol,
|
|
441
|
-
retry: Retry.Retry,
|
|
442
|
-
}));
|
|
443
|
-
/** Deletes the given acl. */
|
|
444
|
-
export const deleteACL = /*@__PURE__*/ API.make(() => ({
|
|
445
|
-
input: DeleteACLRequest,
|
|
446
|
-
output: DeleteACLResponse,
|
|
447
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
448
|
-
protocol: StackitProtocol,
|
|
449
|
-
retry: Retry.Retry,
|
|
450
|
-
}));
|
|
451
|
-
/** Deletes the given approle. */
|
|
452
|
-
export const deleteApprole = /*@__PURE__*/ API.make(() => ({
|
|
453
|
-
input: DeleteApproleRequest,
|
|
454
|
-
output: DeleteApproleResponse,
|
|
455
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
456
|
-
protocol: StackitProtocol,
|
|
457
|
-
retry: Retry.Retry,
|
|
458
|
-
}));
|
|
459
|
-
/** Deletes the secret id by its given version. */
|
|
460
|
-
export const deleteApproleSecretId = /*@__PURE__*/ API.make(() => ({
|
|
461
|
-
input: DeleteApproleSecretIdRequest,
|
|
462
|
-
output: DeleteApproleSecretIdResponse,
|
|
463
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
464
|
-
protocol: StackitProtocol,
|
|
465
|
-
retry: Retry.Retry,
|
|
466
|
-
}));
|
|
467
|
-
/** Deletes the given Secrets Manager instance. */
|
|
468
|
-
export const deleteInstance = /*@__PURE__*/ API.make(() => ({
|
|
469
|
-
input: DeleteInstanceRequest,
|
|
470
|
-
output: DeleteInstanceResponse,
|
|
471
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
472
|
-
protocol: StackitProtocol,
|
|
473
|
-
retry: Retry.Retry,
|
|
474
|
-
}));
|
|
475
|
-
/** Deletes the given user. */
|
|
476
|
-
export const deleteUser = /*@__PURE__*/ API.make(() => ({
|
|
477
|
-
input: DeleteUserRequest,
|
|
478
|
-
output: DeleteUserResponse,
|
|
479
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
480
|
-
protocol: StackitProtocol,
|
|
481
|
-
retry: Retry.Retry,
|
|
482
|
-
}));
|
|
483
|
-
/** Returns the details for the given acl. */
|
|
484
|
-
export const getACL =
|
|
485
|
-
/*@__PURE__*/ API.make(() => ({
|
|
486
|
-
input: GetACLRequest,
|
|
487
|
-
output: ACL,
|
|
488
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
489
|
-
protocol: StackitProtocol,
|
|
490
|
-
retry: Retry.Retry,
|
|
491
|
-
}));
|
|
492
|
-
/** Returns the details for the given approle. */
|
|
493
|
-
export const getApprole = /*@__PURE__*/ API.make(() => ({
|
|
494
|
-
input: GetApproleRequest,
|
|
495
|
-
output: Approle,
|
|
496
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
497
|
-
protocol: StackitProtocol,
|
|
498
|
-
retry: Retry.Retry,
|
|
499
|
-
}));
|
|
500
|
-
/** Returns the approles for the given Secrets Manager instance. */
|
|
501
|
-
export const getApproles = /*@__PURE__*/ API.make(() => ({
|
|
502
|
-
input: GetApprolesRequest,
|
|
503
|
-
output: ApproleList,
|
|
504
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
505
|
-
protocol: StackitProtocol,
|
|
506
|
-
retry: Retry.Retry,
|
|
507
|
-
}));
|
|
508
|
-
/** Read the properties of a given secret id by its given version. */
|
|
509
|
-
export const getApproleSecretId = /*@__PURE__*/ API.make(() => ({
|
|
510
|
-
input: GetApproleSecretIdRequest,
|
|
511
|
-
output: ApproleSecret,
|
|
512
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
513
|
-
protocol: StackitProtocol,
|
|
514
|
-
retry: Retry.Retry,
|
|
515
|
-
}));
|
|
516
|
-
/** Returns the details for the given Secrets Manager instance. */
|
|
517
|
-
export const getInstance = /*@__PURE__*/ API.make(() => ({
|
|
518
|
-
input: GetInstanceRequest,
|
|
519
|
-
output: Instance,
|
|
520
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
521
|
-
protocol: StackitProtocol,
|
|
522
|
-
retry: Retry.Retry,
|
|
523
|
-
}));
|
|
524
|
-
/** Returns the details for the given user. */
|
|
525
|
-
export const getUser =
|
|
526
|
-
/*@__PURE__*/ API.make(() => ({
|
|
527
|
-
input: GetUserRequest,
|
|
528
|
-
output: User,
|
|
529
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
530
|
-
protocol: StackitProtocol,
|
|
531
|
-
retry: Retry.Retry,
|
|
532
|
-
}));
|
|
533
|
-
/** Returns the acls for the given Secrets Manager instance. */
|
|
534
|
-
export const listACLs = /*@__PURE__*/ API.make(() => ({
|
|
535
|
-
input: ListACLsRequest,
|
|
536
|
-
output: ListACLsResponse,
|
|
537
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
538
|
-
protocol: StackitProtocol,
|
|
539
|
-
retry: Retry.Retry,
|
|
540
|
-
}));
|
|
541
|
-
/** Returns the secret id list for the given Secrets Manager instance and approle. */
|
|
542
|
-
export const listApproleSecretIds = /*@__PURE__*/ API.make(() => ({
|
|
543
|
-
input: ListApproleSecretIdsRequest,
|
|
544
|
-
output: ApproleSecretList,
|
|
545
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
546
|
-
protocol: StackitProtocol,
|
|
547
|
-
retry: Retry.Retry,
|
|
548
|
-
}));
|
|
549
|
-
/** Returns a list of all Secrets Manager instances within the project. */
|
|
550
|
-
export const listInstances = /*@__PURE__*/ API.make(() => ({
|
|
551
|
-
input: ListInstancesRequest,
|
|
552
|
-
output: ListInstancesResponse,
|
|
553
|
-
errors: [BadRequest, UnknownStackitError],
|
|
554
|
-
protocol: StackitProtocol,
|
|
555
|
-
retry: Retry.Retry,
|
|
556
|
-
}));
|
|
557
|
-
/** Returns the users for the given Secrets Manager instance. */
|
|
558
|
-
export const listUsers = /*@__PURE__*/ API.make(() => ({
|
|
559
|
-
input: ListUsersRequest,
|
|
560
|
-
output: ListUsersResponse,
|
|
561
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
562
|
-
protocol: StackitProtocol,
|
|
563
|
-
retry: Retry.Retry,
|
|
564
|
-
}));
|
|
565
|
-
/** Updates the ip ranges for the acl. */
|
|
566
|
-
export const updateACL = /*@__PURE__*/ API.make(() => ({
|
|
567
|
-
input: UpdateACLRequest,
|
|
568
|
-
output: UpdateACLResponse,
|
|
569
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
570
|
-
protocol: StackitProtocol,
|
|
571
|
-
retry: Retry.Retry,
|
|
572
|
-
}));
|
|
573
|
-
/** Changes a list of ACLs within the project. */
|
|
574
|
-
export const updateACLs = /*@__PURE__*/ API.make(() => ({
|
|
575
|
-
input: UpdateACLsRequest,
|
|
576
|
-
output: UpdateACLsResponse,
|
|
577
|
-
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
578
|
-
protocol: StackitProtocol,
|
|
579
|
-
retry: Retry.Retry,
|
|
580
|
-
}));
|
|
581
|
-
/** Updates the details for the given approle. */
|
|
582
|
-
export const updateApprole = /*@__PURE__*/ API.make(() => ({
|
|
583
|
-
input: UpdateApproleRequest,
|
|
584
|
-
output: Approle,
|
|
585
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
586
|
-
protocol: StackitProtocol,
|
|
587
|
-
retry: Retry.Retry,
|
|
588
|
-
}));
|
|
589
|
-
/** Update the description of a secret id by its given version. */
|
|
590
|
-
export const updateApproleSecretId = /*@__PURE__*/ API.make(() => ({
|
|
591
|
-
input: UpdateApproleSecretIdRequest,
|
|
592
|
-
output: ApproleSecret,
|
|
593
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
594
|
-
protocol: StackitProtocol,
|
|
595
|
-
retry: Retry.Retry,
|
|
596
|
-
}));
|
|
597
|
-
/** Updates the given Secrets Manager instance. */
|
|
598
|
-
export const updateInstance = /*@__PURE__*/ API.make(() => ({
|
|
599
|
-
input: UpdateInstanceRequest,
|
|
600
|
-
output: UpdateInstanceResponse,
|
|
601
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
602
|
-
protocol: StackitProtocol,
|
|
603
|
-
retry: Retry.Retry,
|
|
604
|
-
}));
|
|
605
|
-
/** Updates the details for the given user. */
|
|
606
|
-
export const updateUser = /*@__PURE__*/ API.make(() => ({
|
|
607
|
-
input: UpdateUserRequest,
|
|
608
|
-
output: UpdateUserResponse,
|
|
609
|
-
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
610
|
-
protocol: StackitProtocol,
|
|
611
|
-
retry: Retry.Retry,
|
|
612
|
-
}));
|
|
1
|
+
import{S as e,_ as t,c as n,d as r,errors$UnknownStackitError as i,f as a,h as o,i as s,m as c,n as l,o as u,p as d,protocol$StackitProtocol as f,retry$Retry as p,s as m,t as h,traits$Http as g,traits$Label as _,traits$SensitiveValue as v,traits$applyErrorMatchers as y,u as b,v as x,x as S}from"../_bundle/sdk.js";const C=/*@__PURE__*/ o(function BadRequest(e){return t(e,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[b,S,s,u,n,y]])});const w=/*@__PURE__*/ o(function Conflict(r){return t(r,new.target,[`$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])`,[b,e,s,u,n,y]])});const T=/*@__PURE__*/ o(function NotFound(e){return t(e,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[b,S,s,u,n,y]])});const E=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"CreateACLRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),cidr:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/acls",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d0,C,T,w,i,f,p]]:c(E,e));const D=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#9:0,errors:[$10,$11,$12,$13],protocol:$14,retry:$15};$8(>2)@"CreateApproleRequest";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),description:$4($3),secret_id_num_uses:$4($5),secret_id_ttl:$4($3),write:$4($6)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,r,s,l,m,a,__d1,C,T,w,i,f,p]]:c(D,e));const O=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#7:0,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>2)@"CreateApproleSecretIdRequest";$5({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2()),description:$4($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,r,m,a,__d2,C,T,i,f,p]]:c(O,e));const k=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"CreateInstanceRequest";$6({projectId:$3.pipe($2()),kmsKey:$5(#4:0),name:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,__d4,r,m,a,__d3,C,i,f,p]]:c(k,e));const A=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"CreateUserRequest";$5({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),description:$3,write:$4}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/instances/{instanceId}/users",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,l,m,a,__d5,C,T,w,i,f,p]]:c(A,e));const j=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteACLRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),aclId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/acls/{aclId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d6,C,T,i,f,p]]:c(j,e));const M=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteApproleRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d6,C,T,i,f,p]]:c(M,e));const N=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#7:0,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>2)@"DeleteApproleSecretIdRequest";$5({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2()),secretIdVersion:$4.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids/{secretIdVersion}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,s,m,a,__d6,C,T,i,f,p]]:c(N,e));const P=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteInstanceRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d6,C,T,i,f,p]]:c(P,e));const F=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"DeleteUserRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/instances/{instanceId}/users/{userId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d6,C,T,i,f,p]]:c(F,e));const I=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetACLRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),aclId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/acls/{aclId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d0,C,T,i,f,p]]:c(I,e));const L=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetApproleRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d1,C,T,i,f,p]]:c(L,e));const R=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"GetApprolesRequest";$7(#6:0);$5(>5)@"ApproleList";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}));$4({approles:#2})`,[b,g,_,u,m,a,__d1,h,C,T,i,f,p]]:c(R,e));const z=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#7:0,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>2)@"GetApproleSecretIdRequest";$5({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2()),secretIdVersion:$4.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids/{secretIdVersion}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,s,m,a,__d2,C,T,i,f,p]]:c(z,e));const B=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetInstanceRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d3,C,T,i,f,p]]:c(B,e));const V=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetUserRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/users/{userId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d5,C,T,i,f,p]]:c(V,e));const H=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"ListACLsRequest";$7(#6:0);$5(>5)@"ListACLsResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/acls",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}));$4({acls:#2})`,[b,g,_,u,m,a,__d0,h,C,T,i,f,p]]:c(H,e));const U=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"ListApproleSecretIdsRequest";$7(#6:0);$5(>5)@"ApproleSecretList";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}));$4({secretIds:#2})`,[b,g,_,u,m,a,__d2,h,C,T,i,f,p]]:c(U,e));const W=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#3,errors:[$8,$9],protocol:$10,retry:$11};$5(>4)@"ListInstancesRequest";$7(#6:0);$5(>5)@"ListInstancesResponse";$4({projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}));$4({instances:#2})`,[b,g,_,u,m,a,__d3,h,C,i,f,p]]:c(W,e));const G=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"ListUsersRequest";$7(#6:0);$5(>5)@"ListUsersResponse";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/instances/{instanceId}/users",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}));$4({users:#2})`,[b,g,_,u,m,a,__d5,h,C,T,i,f,p]]:c(G,e));const K=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"UpdateACLRequest";$4({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),aclId:$3.pipe($2()),cidr:$3}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/acls/{aclId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,m,a,__d6,C,T,i,f,p]]:c(K,e));const q=/*@__PURE__*/ x(e=>e===d?[`{input:#3,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$3(>4)@"UpdateACLPayload";$4(#1);$3(>5)@"UpdateACLsRequest";$2({cidr:$1});$2({projectId:$1.pipe($6()),instanceId:$1.pipe($6()),cidrs:$7(#2)}).pipe($5({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/acls",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,u,m,a,h,g,_,r,__d6,C,T,w,i,f,p]]:c(q,e));const J=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#9:0,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"UpdateApproleRequest";$7({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2()),description:$4($3),secret_id_num_uses:$4($5),secret_id_ttl:$4($3),write:$4($6)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,r,s,l,m,a,__d1,C,T,i,f,p]]:c(J,e));const Y=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#8:0,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"UpdateApproleSecretIdRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),roleId:$3.pipe($2()),secretIdVersion:$4.pipe($2()),description:$5($3)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/approles/{roleId}/secretids/{secretIdVersion}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,s,r,m,a,__d2,C,T,i,f,p]]:c(Y,e));const X=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#8:0,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"UpdateInstanceRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),kmsKey:$5(#4:0),name:$3}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,__d4,r,m,a,__d6,C,T,i,f,p]]:c(X,e));const Z=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#8:0,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"UpdateUserRequest";$6({projectId:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$3.pipe($2()),description:$4($3),write:$4($5)}).pipe($1({method:"PUT",uri:"/v1/projects/{projectId}/instances/{instanceId}/users/{userId}",code:200,baseUrl:"https://secrets-manager.api.{region}stackit.cloud"}))`,[b,g,_,u,r,l,m,a,__d6,C,T,i,f,p]]:c(Z,e));function __d0(){return[`$3(>1)@"ACL";$2({cidr:$1,id:$1})`,[b,u,m,a]]}function __d1(){return[`$5(>1)@"Approle";$4({description:$1,role_id:$1,secret_id_num_uses:$2,secret_id_ttl:$1,write:$3})`,[b,u,s,l,m,a]]}function __d2(){return[`$5(>1)@"ApproleSecret";$4({description:$1,num_uses:$2,secret_id:$3($1),ttl:$1,version:$2})`,[b,u,s,r,m,a]]}function __d3(){return[`$6(>1)@"Instance";$5({apiUrl:$1,creationFinishedDate:$2($1),creationStartDate:$1,id:$1,kmsKey:$2(#3:0),name:$1,secretCount:$4,secretsEngine:$1,state:$1,updateFinishedDate:$2($1),updateStartDate:$2($1)})`,[b,u,r,__d4,s,m,a]]}function __d4(){return[`$4(>1)@"KmsKeyPayload";$3({keyId:$1,keyRingId:$1,keyVersion:$2,serviceAccountEmail:$1})`,[b,u,s,m,a]]}function __d5(){return[`$5(>1)@"User";$4({description:$1,id:$1,password:$1.pipe($2({})),username:$1,write:$3})`,[b,u,v,l,m,a]]}function __d6(){return[`$2(>1)@"DeleteACLResponse";$1({})`,[b,m,a]]}export{C as BadRequest,w as Conflict,T as NotFound,E as createACL,D as createApprole,O as createApproleSecretId,k as createInstance,A as createUser,j as deleteACL,M as deleteApprole,N as deleteApproleSecretId,P as deleteInstance,F as deleteUser,I as getACL,L as getApprole,z as getApproleSecretId,R as getApproles,B as getInstance,V as getUser,H as listACLs,U as listApproleSecretIds,W as listInstances,G as listUsers,K as updateACL,q as updateACLs,J as updateApprole,Y as updateApproleSecretId,X as updateInstance,Z as updateUser};
|
|
2
|
+
/*
|
|
3
|
+
23 36
|
|
4
|
+
e:0:S t:0:_ n:0:c r:0:d i:0:errors$UnknownStackitError a:0:f o:0:h s:0:i c:0:m l:0:n u:0:o d:0:p f:0:protocol$StackitProtocol p:0:retry$Retry m:0:s h:0:t g:0:traits$Http _:0:traits$Label v:0:traits$SensitiveValue y:0:traits$applyErrorMatchers b:0:u x:0:v S:0:x
|
|
5
|
+
000000001c0002w0004b0005q000780008l0009y000bd000cq000e3000fg000gt000i8000jn000l0000md000ns000p7000qj000ry000tb000uv000we000xv000zd0010u0011o0012i0013c001490015a0016b0017f0018e0019f001aa
|
|
6
|
+
2 md we E|=;mo va;k,g,h,a,e,5,1g,1d,1f,1e,4,c,d
|
|
7
|
+
2 x4 19l D|=;xf 18b;k,g,h,a,3,7,9,e,5,1h,1d,1f,1e,4,c,d
|
|
8
|
+
2 1ab 1m4 O|=;1am 1l0;k,g,h,a,3,e,5,1i,1d,1f,4,c,d
|
|
9
|
+
2 1mu 1w6 k|=;1n5 1uz;k,g,h,a,1k,3,e,5,1j,1d,4,c,d
|
|
10
|
+
2 1ww 27i A|=;1x7 26c;k,g,h,a,9,e,5,1l,1d,1f,1e,4,c,d
|
|
11
|
+
2 288 2ip j|=;28j 2hn;k,g,h,a,e,5,1m,1d,1f,4,c,d
|
|
12
|
+
2 2jf 2u6 M|=;2jq 2t4;k,g,h,a,e,5,1m,1d,1f,4,c,d
|
|
13
|
+
2 2uw 37k N|=;2v7 36g;k,g,h,a,7,e,5,1m,1d,1f,4,c,d
|
|
14
|
+
2 38a 3hz P|=;38l 3gx;k,g,h,a,e,5,1m,1d,1f,4,c,d
|
|
15
|
+
2 3ip 3ta F|=;3j0 3s8;k,g,h,a,e,5,1m,1d,1f,4,c,d
|
|
16
|
+
2 3u0 44b I|=;3ub 439;k,g,h,a,e,5,1g,1d,1f,4,c,d
|
|
17
|
+
2 451 4fm L|=;45c 4ek;k,g,h,a,e,5,1h,1d,1f,4,c,d
|
|
18
|
+
2 4gc 4rh R|=;4gn 4qd;k,g,h,a,e,5,1h,f,1d,1f,4,c,d
|
|
19
|
+
2 4s7 54p z|=;4si 53l;k,g,h,a,7,e,5,1i,1d,1f,4,c,d
|
|
20
|
+
2 55f 5ey B|=;55q 5dw;k,g,h,a,e,5,1j,1d,1f,4,c,d
|
|
21
|
+
2 5fo 5q3 V|=;5fz 5p1;k,g,h,a,e,5,1l,1d,1f,4,c,d
|
|
22
|
+
2 5qt 61s H|=;5r4 60o;k,g,h,a,e,5,1g,f,1d,1f,4,c,d
|
|
23
|
+
2 62i 6f7 U|=;62t 6e3;k,g,h,a,e,5,1i,f,1d,1f,4,c,d
|
|
24
|
+
2 6fx 6py W|=;6g8 6ow;k,g,h,a,e,5,1j,f,1d,4,c,d
|
|
25
|
+
2 6qo 71r G|=;6qz 70n;k,g,h,a,e,5,1l,f,1d,1f,4,c,d
|
|
26
|
+
2 72h 7d3 K|=;72s 7c1;k,g,h,a,e,5,1m,1d,1f,4,c,d
|
|
27
|
+
2 7dt 7pg q|=;7e4 7o8;k,a,e,5,f,g,h,3,1m,1d,1f,1e,4,c,d
|
|
28
|
+
2 7q6 83a J|=;7qh 822;k,g,h,a,3,7,9,e,5,1h,1d,1f,4,c,d
|
|
29
|
+
2 840 8h7 Y|=;84b 8g1;k,g,h,a,7,3,e,5,1i,1d,1f,4,c,d
|
|
30
|
+
2 8hx 8sg X|=;8i8 8r7;k,g,h,a,1k,3,e,5,1m,1d,1f,4,c,d
|
|
31
|
+
2 8t6 94q Z|=;8th 93k;k,g,h,a,3,9,e,5,1m,1d,1f,4,c,d
|
|
32
|
+
3 9f d3 C|=;aq cl;k,m,7,a,2,j
|
|
33
|
+
3 dt hd w|=;f2 gv;k,0,7,a,2,j
|
|
34
|
+
3 i3 ln T|=;jc l5;k,m,7,a,2,j
|
|
35
|
+
1 94s 96p __d0|=;95g 96c;k,a,e,5
|
|
36
|
+
1 96p 9ai __d1|=;97d 9a1;k,a,7,9,e,5
|
|
37
|
+
1 9ai 9e5 __d2|=;9b6 9do;k,a,7,3,e,5
|
|
38
|
+
1 9e5 9l1 __d3|=;9et 9kf;k,a,3,1k,7,e,5
|
|
39
|
+
1 9l1 9oj __d4|=;9lp 9o4;k,a,7,e,5
|
|
40
|
+
1 9oj 9s2 __d5|=;9p7 9rl;k,a,i,9,e,5
|
|
41
|
+
1 9s2 9ty __d6|=;9sq 9tn;k,e,5
|
|
42
|
+
*/
|
|
613
43
|
//# sourceMappingURL=secrets_manager.js.map
|