@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,853 +1,48 @@
|
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
region: CloneInstanceRequestRegion.pipe(T.Label()),
|
|
49
|
-
instanceId: S.String.pipe(T.Label()),
|
|
50
|
-
instanceOverrides: CloneInstanceOverrides,
|
|
51
|
-
pointInTime: S.String,
|
|
52
|
-
}).pipe(T.Http({
|
|
53
|
-
method: "POST",
|
|
54
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/clone",
|
|
55
|
-
code: 200,
|
|
56
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
57
|
-
}))).annotate({ identifier: "CloneInstanceRequest" });
|
|
58
|
-
export const CloneInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
59
|
-
id: S.String,
|
|
60
|
-
})).annotate({ identifier: "CloneInstanceResponse" });
|
|
61
|
-
export const CreateDatabaseRequestRegion = S.String;
|
|
62
|
-
export const CreateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
63
|
-
projectId: S.String.pipe(T.Label()),
|
|
64
|
-
region: CreateDatabaseRequestRegion.pipe(T.Label()),
|
|
65
|
-
instanceId: S.String.pipe(T.Label()),
|
|
66
|
-
name: S.String,
|
|
67
|
-
owner: S.optional(S.String),
|
|
68
|
-
}).pipe(T.Http({
|
|
69
|
-
method: "POST",
|
|
70
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases",
|
|
71
|
-
code: 200,
|
|
72
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
73
|
-
}))).annotate({ identifier: "CreateDatabaseRequest" });
|
|
74
|
-
export const CreateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
75
|
-
id: S.Number,
|
|
76
|
-
})).annotate({ identifier: "CreateDatabaseResponse" });
|
|
77
|
-
export const CreateInstanceRequestRegion = S.String;
|
|
78
|
-
export const InstanceEncryption = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
79
|
-
kekKeyId: S.String,
|
|
80
|
-
kekKeyRingId: S.String,
|
|
81
|
-
kekKeyVersion: S.String,
|
|
82
|
-
serviceAccount: S.String,
|
|
83
|
-
})).annotate({ identifier: "InstanceEncryption" });
|
|
84
|
-
export const Labels = /*@__PURE__*/ S.Record(S.String, S.NullOr(S.String));
|
|
85
|
-
export const InstanceNetworkAccessScope = S.String;
|
|
86
|
-
export const Acl = /*@__PURE__*/ S.Array(S.String);
|
|
87
|
-
export const InstanceNetworkCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
88
|
-
accessScope: S.optional(InstanceNetworkAccessScope),
|
|
89
|
-
acl: Acl,
|
|
90
|
-
})).annotate({ identifier: "InstanceNetworkCreate" });
|
|
91
|
-
export const StorageCreate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
92
|
-
class: S.String,
|
|
93
|
-
size: S.Number,
|
|
94
|
-
})).annotate({ identifier: "StorageCreate" });
|
|
95
|
-
export const CreateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
96
|
-
projectId: S.String.pipe(T.Label()),
|
|
97
|
-
region: CreateInstanceRequestRegion.pipe(T.Label()),
|
|
98
|
-
backupSchedule: S.String,
|
|
99
|
-
encryption: S.optional(InstanceEncryption),
|
|
100
|
-
flavorId: S.String,
|
|
101
|
-
labels: S.optional(Labels),
|
|
102
|
-
name: S.String,
|
|
103
|
-
network: InstanceNetworkCreate,
|
|
104
|
-
retentionDays: S.NullOr(S.Number),
|
|
105
|
-
storage: StorageCreate,
|
|
106
|
-
version: S.String,
|
|
107
|
-
}).pipe(T.Http({
|
|
108
|
-
method: "POST",
|
|
109
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances",
|
|
110
|
-
code: 200,
|
|
111
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
112
|
-
}))).annotate({ identifier: "CreateInstanceRequest" });
|
|
113
|
-
export const CreateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
114
|
-
id: S.String,
|
|
115
|
-
})).annotate({ identifier: "CreateInstanceResponse" });
|
|
116
|
-
export const CreateUserRequestRegion = S.String;
|
|
117
|
-
export const CreateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
118
|
-
export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
119
|
-
projectId: S.String.pipe(T.Label()),
|
|
120
|
-
region: CreateUserRequestRegion.pipe(T.Label()),
|
|
121
|
-
instanceId: S.String.pipe(T.Label()),
|
|
122
|
-
name: S.String,
|
|
123
|
-
roles: S.optional(CreateUserRequestRolesList),
|
|
124
|
-
}).pipe(T.Http({
|
|
125
|
-
method: "POST",
|
|
126
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users",
|
|
127
|
-
code: 200,
|
|
128
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
129
|
-
}))).annotate({ identifier: "CreateUserRequest" });
|
|
130
|
-
export const CreateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
131
|
-
id: S.Number,
|
|
132
|
-
name: S.String,
|
|
133
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
134
|
-
state: S.String,
|
|
135
|
-
})).annotate({ identifier: "CreateUserResponse" });
|
|
136
|
-
export const DeleteDatabaseRequestRegion = S.String;
|
|
137
|
-
export const DeleteDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
138
|
-
projectId: S.String.pipe(T.Label()),
|
|
139
|
-
region: DeleteDatabaseRequestRegion.pipe(T.Label()),
|
|
140
|
-
instanceId: S.String.pipe(T.Label()),
|
|
141
|
-
databaseId: S.Number.pipe(T.Label()),
|
|
142
|
-
}).pipe(T.Http({
|
|
143
|
-
method: "DELETE",
|
|
144
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",
|
|
145
|
-
code: 200,
|
|
146
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
147
|
-
}))).annotate({ identifier: "DeleteDatabaseRequest" });
|
|
148
|
-
export const DeleteDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
149
|
-
identifier: "DeleteDatabaseResponse",
|
|
150
|
-
});
|
|
151
|
-
export const DeleteInstanceRequestRegion = S.String;
|
|
152
|
-
export const DeleteInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
153
|
-
projectId: S.String.pipe(T.Label()),
|
|
154
|
-
region: DeleteInstanceRequestRegion.pipe(T.Label()),
|
|
155
|
-
instanceId: S.String.pipe(T.Label()),
|
|
156
|
-
}).pipe(T.Http({
|
|
157
|
-
method: "DELETE",
|
|
158
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
159
|
-
code: 200,
|
|
160
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
161
|
-
}))).annotate({ identifier: "DeleteInstanceRequest" });
|
|
162
|
-
export const DeleteInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
163
|
-
identifier: "DeleteInstanceResponse",
|
|
164
|
-
});
|
|
165
|
-
export const DeleteUserRequestRegion = S.String;
|
|
166
|
-
export const DeleteUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
167
|
-
projectId: S.String.pipe(T.Label()),
|
|
168
|
-
region: DeleteUserRequestRegion.pipe(T.Label()),
|
|
169
|
-
instanceId: S.String.pipe(T.Label()),
|
|
170
|
-
userId: S.Number.pipe(T.Label()),
|
|
171
|
-
}).pipe(T.Http({
|
|
172
|
-
method: "DELETE",
|
|
173
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
174
|
-
code: 200,
|
|
175
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
176
|
-
}))).annotate({ identifier: "DeleteUserRequest" });
|
|
177
|
-
export const DeleteUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
178
|
-
identifier: "DeleteUserResponse",
|
|
179
|
-
});
|
|
180
|
-
export const GetBackupRequestRegion = S.String;
|
|
181
|
-
export const GetBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
182
|
-
projectId: S.String.pipe(T.Label()),
|
|
183
|
-
region: GetBackupRequestRegion.pipe(T.Label()),
|
|
184
|
-
instanceId: S.String.pipe(T.Label()),
|
|
185
|
-
backupId: S.Number.pipe(T.Label()),
|
|
186
|
-
}).pipe(T.Http({
|
|
187
|
-
method: "GET",
|
|
188
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/backups/{backupId}",
|
|
189
|
-
code: 200,
|
|
190
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
191
|
-
}))).annotate({ identifier: "GetBackupRequest" });
|
|
192
|
-
export const BackupData = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
193
|
-
completionTime: S.String,
|
|
194
|
-
id: S.Number,
|
|
195
|
-
name: S.String,
|
|
196
|
-
retainedUntil: S.String,
|
|
197
|
-
size: S.Number,
|
|
198
|
-
type: S.String,
|
|
199
|
-
})).annotate({ identifier: "BackupData" });
|
|
200
|
-
export const GetDatabaseRequestRegion = S.String;
|
|
201
|
-
export const GetDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
202
|
-
projectId: S.String.pipe(T.Label()),
|
|
203
|
-
region: GetDatabaseRequestRegion.pipe(T.Label()),
|
|
204
|
-
instanceId: S.String.pipe(T.Label()),
|
|
205
|
-
databaseId: S.Number.pipe(T.Label()),
|
|
206
|
-
}).pipe(T.Http({
|
|
207
|
-
method: "GET",
|
|
208
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",
|
|
209
|
-
code: 200,
|
|
210
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
211
|
-
}))).annotate({ identifier: "GetDatabaseRequest" });
|
|
212
|
-
export const GetDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
213
|
-
id: S.Number,
|
|
214
|
-
name: S.String,
|
|
215
|
-
owner: S.String,
|
|
216
|
-
})).annotate({ identifier: "GetDatabaseResponse" });
|
|
217
|
-
export const GetInstanceRequestRegion = S.String;
|
|
218
|
-
export const GetInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
219
|
-
projectId: S.String.pipe(T.Label()),
|
|
220
|
-
region: GetInstanceRequestRegion.pipe(T.Label()),
|
|
221
|
-
instanceId: S.String.pipe(T.Label()),
|
|
222
|
-
}).pipe(T.Http({
|
|
223
|
-
method: "GET",
|
|
224
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
225
|
-
code: 200,
|
|
226
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
227
|
-
}))).annotate({ identifier: "GetInstanceRequest" });
|
|
228
|
-
export const InstanceConnectionInfoWrite = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
229
|
-
host: S.String,
|
|
230
|
-
port: S.Number,
|
|
231
|
-
})).annotate({
|
|
232
|
-
identifier: "InstanceConnectionInfoWrite",
|
|
233
|
-
});
|
|
234
|
-
export const InstanceConnectionInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
235
|
-
write: InstanceConnectionInfoWrite,
|
|
236
|
-
})).annotate({ identifier: "InstanceConnectionInfo" });
|
|
237
|
-
export const InstanceNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
238
|
-
accessScope: S.optional(InstanceNetworkAccessScope),
|
|
239
|
-
acl: Acl,
|
|
240
|
-
instanceAddress: S.optional(S.String),
|
|
241
|
-
routerAddress: S.optional(S.String),
|
|
242
|
-
})).annotate({ identifier: "InstanceNetwork" });
|
|
243
|
-
export const State = S.String;
|
|
244
|
-
export const Storage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
245
|
-
class: S.optional(S.String),
|
|
246
|
-
size: S.optional(S.Number),
|
|
247
|
-
})).annotate({ identifier: "Storage" });
|
|
248
|
-
export const GetInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
249
|
-
backupSchedule: S.String,
|
|
250
|
-
connectionInfo: InstanceConnectionInfo,
|
|
251
|
-
encryption: S.optional(InstanceEncryption),
|
|
252
|
-
flavorId: S.String,
|
|
253
|
-
id: S.String,
|
|
254
|
-
isDeletable: S.Boolean,
|
|
255
|
-
labels: S.optional(Labels),
|
|
256
|
-
name: S.String,
|
|
257
|
-
network: InstanceNetwork,
|
|
258
|
-
retentionDays: S.NullOr(S.Number),
|
|
259
|
-
state: State,
|
|
260
|
-
storage: Storage,
|
|
261
|
-
version: S.String,
|
|
262
|
-
})).annotate({ identifier: "GetInstanceResponse" });
|
|
263
|
-
export const GetUserRequestRegion = S.String;
|
|
264
|
-
export const GetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
265
|
-
projectId: S.String.pipe(T.Label()),
|
|
266
|
-
region: GetUserRequestRegion.pipe(T.Label()),
|
|
267
|
-
instanceId: S.String.pipe(T.Label()),
|
|
268
|
-
userId: S.Number.pipe(T.Label()),
|
|
269
|
-
}).pipe(T.Http({
|
|
270
|
-
method: "GET",
|
|
271
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
272
|
-
code: 200,
|
|
273
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
274
|
-
}))).annotate({ identifier: "GetUserRequest" });
|
|
275
|
-
export const GetUserResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
276
|
-
export const GetUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
277
|
-
id: S.Number,
|
|
278
|
-
name: S.String,
|
|
279
|
-
roles: GetUserResponseRolesList,
|
|
280
|
-
state: S.String,
|
|
281
|
-
})).annotate({ identifier: "GetUserResponse" });
|
|
282
|
-
export const ListBackupsRequestRegion = S.String;
|
|
283
|
-
export const BackupSort = S.String;
|
|
284
|
-
export const ListBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
285
|
-
projectId: S.String.pipe(T.Label()),
|
|
286
|
-
region: ListBackupsRequestRegion.pipe(T.Label()),
|
|
287
|
-
instanceId: S.String.pipe(T.Label()),
|
|
288
|
-
page: S.optional(S.Number.pipe(T.Query())),
|
|
289
|
-
size: S.optional(S.Number.pipe(T.Query())),
|
|
290
|
-
sort: S.optional(BackupSort.pipe(T.Query())),
|
|
291
|
-
}).pipe(T.Http({
|
|
292
|
-
method: "GET",
|
|
293
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/backups",
|
|
294
|
-
code: 200,
|
|
295
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
296
|
-
}))).annotate({ identifier: "ListBackupsRequest" });
|
|
297
|
-
export const ListBackupsResponseBackupsList = /*@__PURE__*/ S.Array(BackupData);
|
|
298
|
-
export const Pagination = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
299
|
-
page: S.Number,
|
|
300
|
-
size: S.Number,
|
|
301
|
-
sort: S.String,
|
|
302
|
-
totalPages: S.Number,
|
|
303
|
-
totalRows: S.Number,
|
|
304
|
-
})).annotate({ identifier: "Pagination" });
|
|
305
|
-
export const ListBackupsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
306
|
-
backups: ListBackupsResponseBackupsList,
|
|
307
|
-
pagination: Pagination,
|
|
308
|
-
})).annotate({ identifier: "ListBackupsResponse" });
|
|
309
|
-
export const ListCollationsRequestRegion = S.String;
|
|
310
|
-
export const ListCollationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
311
|
-
projectId: S.String.pipe(T.Label()),
|
|
312
|
-
region: ListCollationsRequestRegion.pipe(T.Label()),
|
|
313
|
-
instanceId: S.String.pipe(T.Label()),
|
|
314
|
-
}).pipe(T.Http({
|
|
315
|
-
method: "GET",
|
|
316
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/collations",
|
|
317
|
-
code: 200,
|
|
318
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
319
|
-
}))).annotate({ identifier: "ListCollationsRequest" });
|
|
320
|
-
export const ListCollationsResponseCollationsList = /*@__PURE__*/ S.Array(S.String);
|
|
321
|
-
export const ListCollationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
322
|
-
collations: ListCollationsResponseCollationsList,
|
|
323
|
-
})).annotate({ identifier: "ListCollationsResponse" });
|
|
324
|
-
export const ListDatabasesRequestRegion = S.String;
|
|
325
|
-
export const DatabaseSort = S.String;
|
|
326
|
-
export const ListDatabasesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
327
|
-
projectId: S.String.pipe(T.Label()),
|
|
328
|
-
region: ListDatabasesRequestRegion.pipe(T.Label()),
|
|
329
|
-
instanceId: S.String.pipe(T.Label()),
|
|
330
|
-
page: S.optional(S.Number.pipe(T.Query())),
|
|
331
|
-
size: S.optional(S.Number.pipe(T.Query())),
|
|
332
|
-
sort: S.optional(DatabaseSort.pipe(T.Query())),
|
|
333
|
-
}).pipe(T.Http({
|
|
334
|
-
method: "GET",
|
|
335
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases",
|
|
336
|
-
code: 200,
|
|
337
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
338
|
-
}))).annotate({ identifier: "ListDatabasesRequest" });
|
|
339
|
-
export const ListDatabase = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
340
|
-
id: S.Number,
|
|
341
|
-
name: S.String,
|
|
342
|
-
owner: S.String,
|
|
343
|
-
})).annotate({ identifier: "ListDatabase" });
|
|
344
|
-
export const ListDatabasesResponseDatabasesList = /*@__PURE__*/ S.Array(ListDatabase);
|
|
345
|
-
export const ListDatabasesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
346
|
-
databases: ListDatabasesResponseDatabasesList,
|
|
347
|
-
pagination: Pagination,
|
|
348
|
-
})).annotate({ identifier: "ListDatabasesResponse" });
|
|
349
|
-
export const ListFlavorsRequestRegion = S.String;
|
|
350
|
-
export const FlavorSort = S.String;
|
|
351
|
-
export const ListFlavorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
352
|
-
projectId: S.String.pipe(T.Label()),
|
|
353
|
-
region: ListFlavorsRequestRegion.pipe(T.Label()),
|
|
354
|
-
page: S.optional(S.Number.pipe(T.Query())),
|
|
355
|
-
size: S.optional(S.Number.pipe(T.Query())),
|
|
356
|
-
sort: S.optional(FlavorSort.pipe(T.Query())),
|
|
357
|
-
}).pipe(T.Http({
|
|
358
|
-
method: "GET",
|
|
359
|
-
uri: "/v3/projects/{projectId}/regions/{region}/flavors",
|
|
360
|
-
code: 200,
|
|
361
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
362
|
-
}))).annotate({ identifier: "ListFlavorsRequest" });
|
|
363
|
-
export const FlavorStorageClassesStorageClass = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
364
|
-
class: S.String,
|
|
365
|
-
maxIoPerSec: S.Number,
|
|
366
|
-
maxThroughInMb: S.Number,
|
|
367
|
-
})).annotate({
|
|
368
|
-
identifier: "FlavorStorageClassesStorageClass",
|
|
369
|
-
});
|
|
370
|
-
export const FlavorStorageClasses = /*@__PURE__*/ S.Array(FlavorStorageClassesStorageClass);
|
|
371
|
-
export const ListFlavors = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
372
|
-
cpu: S.Number,
|
|
373
|
-
description: S.String,
|
|
374
|
-
id: S.String,
|
|
375
|
-
maxGB: S.Number,
|
|
376
|
-
memory: S.Number,
|
|
377
|
-
minGB: S.Number,
|
|
378
|
-
nodeType: S.String,
|
|
379
|
-
storageClasses: FlavorStorageClasses,
|
|
380
|
-
})).annotate({ identifier: "ListFlavors" });
|
|
381
|
-
export const ListFlavorsResponseFlavorsList = /*@__PURE__*/ S.Array(ListFlavors);
|
|
382
|
-
export const ListFlavorsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
383
|
-
flavors: ListFlavorsResponseFlavorsList,
|
|
384
|
-
pagination: Pagination,
|
|
385
|
-
})).annotate({ identifier: "ListFlavorsResponse" });
|
|
386
|
-
export const ListInstancesRequestRegion = S.String;
|
|
387
|
-
export const InstanceSort = S.String;
|
|
388
|
-
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
389
|
-
projectId: S.String.pipe(T.Label()),
|
|
390
|
-
region: ListInstancesRequestRegion.pipe(T.Label()),
|
|
391
|
-
page: S.optional(S.Number.pipe(T.Query())),
|
|
392
|
-
size: S.optional(S.Number.pipe(T.Query())),
|
|
393
|
-
sort: S.optional(InstanceSort.pipe(T.Query())),
|
|
394
|
-
}).pipe(T.Http({
|
|
395
|
-
method: "GET",
|
|
396
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances",
|
|
397
|
-
code: 200,
|
|
398
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
399
|
-
}))).annotate({ identifier: "ListInstancesRequest" });
|
|
400
|
-
export const ListInstance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
401
|
-
id: S.String,
|
|
402
|
-
isDeletable: S.Boolean,
|
|
403
|
-
name: S.String,
|
|
404
|
-
state: State,
|
|
405
|
-
})).annotate({ identifier: "ListInstance" });
|
|
406
|
-
export const ListInstancesResponseInstancesList = /*@__PURE__*/ S.Array(ListInstance);
|
|
407
|
-
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
408
|
-
instances: ListInstancesResponseInstancesList,
|
|
409
|
-
pagination: Pagination,
|
|
410
|
-
})).annotate({ identifier: "ListInstancesResponse" });
|
|
411
|
-
export const ListRolesRequestRegion = S.String;
|
|
412
|
-
export const ListRolesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
413
|
-
projectId: S.String.pipe(T.Label()),
|
|
414
|
-
region: ListRolesRequestRegion.pipe(T.Label()),
|
|
415
|
-
instanceId: S.String.pipe(T.Label()),
|
|
416
|
-
}).pipe(T.Http({
|
|
417
|
-
method: "GET",
|
|
418
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/roles",
|
|
419
|
-
code: 200,
|
|
420
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
421
|
-
}))).annotate({ identifier: "ListRolesRequest" });
|
|
422
|
-
export const ListRolesResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
423
|
-
export const ListRolesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
424
|
-
roles: ListRolesResponseRolesList,
|
|
425
|
-
})).annotate({ identifier: "ListRolesResponse" });
|
|
426
|
-
export const ListUsersRequestRegion = S.String;
|
|
427
|
-
export const UserSort = S.String;
|
|
428
|
-
export const ListUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
429
|
-
projectId: S.String.pipe(T.Label()),
|
|
430
|
-
region: ListUsersRequestRegion.pipe(T.Label()),
|
|
431
|
-
instanceId: S.String.pipe(T.Label()),
|
|
432
|
-
page: S.optional(S.Number.pipe(T.Query())),
|
|
433
|
-
size: S.optional(S.Number.pipe(T.Query())),
|
|
434
|
-
sort: S.optional(UserSort.pipe(T.Query())),
|
|
435
|
-
}).pipe(T.Http({
|
|
436
|
-
method: "GET",
|
|
437
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users",
|
|
438
|
-
code: 200,
|
|
439
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
440
|
-
}))).annotate({ identifier: "ListUsersRequest" });
|
|
441
|
-
export const ListUser = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
442
|
-
id: S.Number,
|
|
443
|
-
name: S.String,
|
|
444
|
-
state: S.String,
|
|
445
|
-
})).annotate({ identifier: "ListUser" });
|
|
446
|
-
export const ListUsersResponseUsersList = /*@__PURE__*/ S.Array(ListUser);
|
|
447
|
-
export const ListUsersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
448
|
-
pagination: Pagination,
|
|
449
|
-
users: ListUsersResponseUsersList,
|
|
450
|
-
})).annotate({ identifier: "ListUsersResponse" });
|
|
451
|
-
export const ListVersionsRequestRegion = S.String;
|
|
452
|
-
export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
453
|
-
projectId: S.String.pipe(T.Label()),
|
|
454
|
-
region: ListVersionsRequestRegion.pipe(T.Label()),
|
|
455
|
-
}).pipe(T.Http({
|
|
456
|
-
method: "GET",
|
|
457
|
-
uri: "/v3/projects/{projectId}/regions/{region}/versions",
|
|
458
|
-
code: 200,
|
|
459
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
460
|
-
}))).annotate({ identifier: "ListVersionsRequest" });
|
|
461
|
-
export const Version = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
462
|
-
beta: S.Boolean,
|
|
463
|
-
deprecated: S.String,
|
|
464
|
-
recommend: S.Boolean,
|
|
465
|
-
version: S.String,
|
|
466
|
-
})).annotate({ identifier: "Version" });
|
|
467
|
-
export const ListVersionsResponseVersionsList = /*@__PURE__*/ S.Array(Version);
|
|
468
|
-
export const ListVersionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
469
|
-
versions: ListVersionsResponseVersionsList,
|
|
470
|
-
})).annotate({ identifier: "ListVersionsResponse" });
|
|
471
|
-
export const PartialUpdateDatabaseRequestRegion = S.String;
|
|
472
|
-
export const PartialUpdateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
473
|
-
projectId: S.String.pipe(T.Label()),
|
|
474
|
-
region: PartialUpdateDatabaseRequestRegion.pipe(T.Label()),
|
|
475
|
-
instanceId: S.String.pipe(T.Label()),
|
|
476
|
-
databaseId: S.Number.pipe(T.Label()),
|
|
477
|
-
name: S.optional(S.String),
|
|
478
|
-
owner: S.optional(S.String),
|
|
479
|
-
}).pipe(T.Http({
|
|
480
|
-
method: "PATCH",
|
|
481
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",
|
|
482
|
-
code: 200,
|
|
483
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
484
|
-
}))).annotate({
|
|
485
|
-
identifier: "PartialUpdateDatabaseRequest",
|
|
486
|
-
});
|
|
487
|
-
export const PartialUpdateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
488
|
-
identifier: "PartialUpdateDatabaseResponse",
|
|
489
|
-
});
|
|
490
|
-
export const PartialUpdateInstanceRequestRegion = S.String;
|
|
491
|
-
export const AclOpt = /*@__PURE__*/ S.Array(S.String);
|
|
492
|
-
export const InstanceNetworkOpt = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
493
|
-
acl: S.optional(AclOpt),
|
|
494
|
-
})).annotate({ identifier: "InstanceNetworkOpt" });
|
|
495
|
-
export const StorageUpdate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
496
|
-
size: S.optional(S.Number),
|
|
497
|
-
})).annotate({ identifier: "StorageUpdate" });
|
|
498
|
-
export const PartialUpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
499
|
-
projectId: S.String.pipe(T.Label()),
|
|
500
|
-
region: PartialUpdateInstanceRequestRegion.pipe(T.Label()),
|
|
501
|
-
instanceId: S.String.pipe(T.Label()),
|
|
502
|
-
backupSchedule: S.optional(S.String),
|
|
503
|
-
flavorId: S.optional(S.String),
|
|
504
|
-
labels: S.optional(Labels),
|
|
505
|
-
name: S.optional(S.String),
|
|
506
|
-
network: S.optional(InstanceNetworkOpt),
|
|
507
|
-
retentionDays: S.optional(S.Number),
|
|
508
|
-
storage: S.optional(StorageUpdate),
|
|
509
|
-
version: S.optional(S.String),
|
|
510
|
-
}).pipe(T.Http({
|
|
511
|
-
method: "PATCH",
|
|
512
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
513
|
-
code: 200,
|
|
514
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
515
|
-
}))).annotate({
|
|
516
|
-
identifier: "PartialUpdateInstanceRequest",
|
|
517
|
-
});
|
|
518
|
-
export const PartialUpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
519
|
-
identifier: "PartialUpdateInstanceResponse",
|
|
520
|
-
});
|
|
521
|
-
export const PartialUpdateUserRequestRegion = S.String;
|
|
522
|
-
export const PartialUpdateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
523
|
-
export const PartialUpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
524
|
-
projectId: S.String.pipe(T.Label()),
|
|
525
|
-
region: PartialUpdateUserRequestRegion.pipe(T.Label()),
|
|
526
|
-
instanceId: S.String.pipe(T.Label()),
|
|
527
|
-
userId: S.Number.pipe(T.Label()),
|
|
528
|
-
name: S.optional(S.String),
|
|
529
|
-
roles: S.optional(PartialUpdateUserRequestRolesList),
|
|
530
|
-
}).pipe(T.Http({
|
|
531
|
-
method: "PATCH",
|
|
532
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
533
|
-
code: 200,
|
|
534
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
535
|
-
}))).annotate({ identifier: "PartialUpdateUserRequest" });
|
|
536
|
-
export const PartialUpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
537
|
-
identifier: "PartialUpdateUserResponse",
|
|
538
|
-
});
|
|
539
|
-
export const ResetUserPasswordRequestRegion = S.String;
|
|
540
|
-
export const ResetUserPasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
541
|
-
projectId: S.String.pipe(T.Label()),
|
|
542
|
-
region: ResetUserPasswordRequestRegion.pipe(T.Label()),
|
|
543
|
-
instanceId: S.String.pipe(T.Label()),
|
|
544
|
-
userId: S.Number.pipe(T.Label()),
|
|
545
|
-
}).pipe(T.Http({
|
|
546
|
-
method: "POST",
|
|
547
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}/reset",
|
|
548
|
-
code: 200,
|
|
549
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
550
|
-
}))).annotate({ identifier: "ResetUserPasswordRequest" });
|
|
551
|
-
export const ResetUserPasswordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
552
|
-
name: S.String,
|
|
553
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
554
|
-
state: S.String,
|
|
555
|
-
})).annotate({
|
|
556
|
-
identifier: "ResetUserPasswordResponse",
|
|
557
|
-
});
|
|
558
|
-
export const UpdateDatabaseRequestRegion = S.String;
|
|
559
|
-
export const UpdateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
560
|
-
projectId: S.String.pipe(T.Label()),
|
|
561
|
-
region: UpdateDatabaseRequestRegion.pipe(T.Label()),
|
|
562
|
-
instanceId: S.String.pipe(T.Label()),
|
|
563
|
-
databaseId: S.Number.pipe(T.Label()),
|
|
564
|
-
name: S.String,
|
|
565
|
-
owner: S.String,
|
|
566
|
-
}).pipe(T.Http({
|
|
567
|
-
method: "PUT",
|
|
568
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",
|
|
569
|
-
code: 200,
|
|
570
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
571
|
-
}))).annotate({ identifier: "UpdateDatabaseRequest" });
|
|
572
|
-
export const UpdateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
573
|
-
identifier: "UpdateDatabaseResponse",
|
|
574
|
-
});
|
|
575
|
-
export const UpdateInstanceRequestRegion = S.String;
|
|
576
|
-
export const InstanceNetworkUpdate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
577
|
-
acl: Acl,
|
|
578
|
-
})).annotate({ identifier: "InstanceNetworkUpdate" });
|
|
579
|
-
export const UpdateInstanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
580
|
-
projectId: S.String.pipe(T.Label()),
|
|
581
|
-
region: UpdateInstanceRequestRegion.pipe(T.Label()),
|
|
582
|
-
instanceId: S.String.pipe(T.Label()),
|
|
583
|
-
backupSchedule: S.String,
|
|
584
|
-
flavorId: S.String,
|
|
585
|
-
labels: S.optional(Labels),
|
|
586
|
-
name: S.String,
|
|
587
|
-
network: InstanceNetworkUpdate,
|
|
588
|
-
retentionDays: S.NullOr(S.Number),
|
|
589
|
-
storage: StorageUpdate,
|
|
590
|
-
version: S.String,
|
|
591
|
-
}).pipe(T.Http({
|
|
592
|
-
method: "PUT",
|
|
593
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",
|
|
594
|
-
code: 200,
|
|
595
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
596
|
-
}))).annotate({ identifier: "UpdateInstanceRequest" });
|
|
597
|
-
export const UpdateInstanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
598
|
-
identifier: "UpdateInstanceResponse",
|
|
599
|
-
});
|
|
600
|
-
export const UpdateInstanceProtectionRequestRegion = S.String;
|
|
601
|
-
export const UpdateInstanceProtectionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
602
|
-
projectId: S.String.pipe(T.Label()),
|
|
603
|
-
region: UpdateInstanceProtectionRequestRegion.pipe(T.Label()),
|
|
604
|
-
instanceId: S.String.pipe(T.Label()),
|
|
605
|
-
isDeletable: S.Boolean,
|
|
606
|
-
}).pipe(T.Http({
|
|
607
|
-
method: "POST",
|
|
608
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/protections",
|
|
609
|
-
code: 200,
|
|
610
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
611
|
-
}))).annotate({
|
|
612
|
-
identifier: "UpdateInstanceProtectionRequest",
|
|
613
|
-
});
|
|
614
|
-
export const UpdateInstanceProtectionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
615
|
-
isDeletable: S.Boolean,
|
|
616
|
-
})).annotate({
|
|
617
|
-
identifier: "UpdateInstanceProtectionResponse",
|
|
618
|
-
});
|
|
619
|
-
export const UpdateUserRequestRegion = S.String;
|
|
620
|
-
export const UpdateUserRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
621
|
-
export const UpdateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
622
|
-
projectId: S.String.pipe(T.Label()),
|
|
623
|
-
region: UpdateUserRequestRegion.pipe(T.Label()),
|
|
624
|
-
instanceId: S.String.pipe(T.Label()),
|
|
625
|
-
userId: S.Number.pipe(T.Label()),
|
|
626
|
-
name: S.optional(S.String),
|
|
627
|
-
roles: UpdateUserRequestRolesList,
|
|
628
|
-
}).pipe(T.Http({
|
|
629
|
-
method: "PUT",
|
|
630
|
-
uri: "/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",
|
|
631
|
-
code: 200,
|
|
632
|
-
baseUrl: "https://postgres-flex-service.api.stackit.cloud",
|
|
633
|
-
}))).annotate({ identifier: "UpdateUserRequest" });
|
|
634
|
-
export const UpdateUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
635
|
-
identifier: "UpdateUserResponse",
|
|
636
|
-
});
|
|
637
|
-
/** Clone Instance Clone Instance */
|
|
638
|
-
export const cloneInstance = /*@__PURE__*/ API.make(() => ({
|
|
639
|
-
input: CloneInstanceRequest,
|
|
640
|
-
output: CloneInstanceResponse,
|
|
641
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
642
|
-
protocol: StackitProtocol,
|
|
643
|
-
retry: Retry.Retry,
|
|
644
|
-
}));
|
|
645
|
-
/** Create Database Create database for a user. Note: The name of a valid user must be provided in the 'options' map field using the key 'owner' */
|
|
646
|
-
export const createDatabase = /*@__PURE__*/ API.make(() => ({
|
|
647
|
-
input: CreateDatabaseRequest,
|
|
648
|
-
output: CreateDatabaseResponse,
|
|
649
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
650
|
-
protocol: StackitProtocol,
|
|
651
|
-
retry: Retry.Retry,
|
|
652
|
-
}));
|
|
653
|
-
/** Create Instance Create a new instance of a postgres database instance. */
|
|
654
|
-
export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
655
|
-
input: CreateInstanceRequest,
|
|
656
|
-
output: CreateInstanceResponse,
|
|
657
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
658
|
-
protocol: StackitProtocol,
|
|
659
|
-
retry: Retry.Retry,
|
|
660
|
-
}));
|
|
661
|
-
/** Create User Create user for an instance. */
|
|
662
|
-
export const createUser = /*@__PURE__*/ API.make(() => ({
|
|
663
|
-
input: CreateUserRequest,
|
|
664
|
-
output: CreateUserResponse,
|
|
665
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
666
|
-
protocol: StackitProtocol,
|
|
667
|
-
retry: Retry.Retry,
|
|
668
|
-
}));
|
|
669
|
-
/** Delete Database Delete database for an instance. */
|
|
670
|
-
export const deleteDatabase = /*@__PURE__*/ API.make(() => ({
|
|
671
|
-
input: DeleteDatabaseRequest,
|
|
672
|
-
output: DeleteDatabaseResponse,
|
|
673
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
674
|
-
protocol: StackitProtocol,
|
|
675
|
-
retry: Retry.Retry,
|
|
676
|
-
}));
|
|
677
|
-
/** Delete Instance Delete an available postgres instance. */
|
|
678
|
-
export const deleteInstance = /*@__PURE__*/ API.make(() => ({
|
|
679
|
-
input: DeleteInstanceRequest,
|
|
680
|
-
output: DeleteInstanceResponse,
|
|
681
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
682
|
-
protocol: StackitProtocol,
|
|
683
|
-
retry: Retry.Retry,
|
|
684
|
-
}));
|
|
685
|
-
/** Delete User Delete an user from a specific instance. */
|
|
686
|
-
export const deleteUser = /*@__PURE__*/ API.make(() => ({
|
|
687
|
-
input: DeleteUserRequest,
|
|
688
|
-
output: DeleteUserResponse,
|
|
689
|
-
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
690
|
-
protocol: StackitProtocol,
|
|
691
|
-
retry: Retry.Retry,
|
|
692
|
-
}));
|
|
693
|
-
/** Get specific backup Get information about a specific backup for an instance. */
|
|
694
|
-
export const getBackup = /*@__PURE__*/ API.make(() => ({
|
|
695
|
-
input: GetBackupRequest,
|
|
696
|
-
output: BackupData,
|
|
697
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
698
|
-
protocol: StackitProtocol,
|
|
699
|
-
retry: Retry.Retry,
|
|
700
|
-
}));
|
|
701
|
-
/** Get Specific Database Get information about a specific database in an instance. */
|
|
702
|
-
export const getDatabase = /*@__PURE__*/ API.make(() => ({
|
|
703
|
-
input: GetDatabaseRequest,
|
|
704
|
-
output: GetDatabaseResponse,
|
|
705
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
706
|
-
protocol: StackitProtocol,
|
|
707
|
-
retry: Retry.Retry,
|
|
708
|
-
}));
|
|
709
|
-
/** Get Specific Instance Get information about a specific available instance */
|
|
710
|
-
export const getInstance = /*@__PURE__*/ API.make(() => ({
|
|
711
|
-
input: GetInstanceRequest,
|
|
712
|
-
output: GetInstanceResponse,
|
|
713
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
714
|
-
protocol: StackitProtocol,
|
|
715
|
-
retry: Retry.Retry,
|
|
716
|
-
}));
|
|
717
|
-
/** Get User Get a specific available user for an instance. */
|
|
718
|
-
export const getUser = /*@__PURE__*/ API.make(() => ({
|
|
719
|
-
input: GetUserRequest,
|
|
720
|
-
output: GetUserResponse,
|
|
721
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
722
|
-
protocol: StackitProtocol,
|
|
723
|
-
retry: Retry.Retry,
|
|
724
|
-
}));
|
|
725
|
-
/** List backups List all backups which are available for a specific instance. */
|
|
726
|
-
export const listBackups = /*@__PURE__*/ API.make(() => ({
|
|
727
|
-
input: ListBackupsRequest,
|
|
728
|
-
output: ListBackupsResponse,
|
|
729
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
730
|
-
protocol: StackitProtocol,
|
|
731
|
-
retry: Retry.Retry,
|
|
732
|
-
}));
|
|
733
|
-
/** Get Collations for an Instance Get available collations for an instance */
|
|
734
|
-
export const listCollations = /*@__PURE__*/ API.make(() => ({
|
|
735
|
-
input: ListCollationsRequest,
|
|
736
|
-
output: ListCollationsResponse,
|
|
737
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
738
|
-
protocol: StackitProtocol,
|
|
739
|
-
retry: Retry.Retry,
|
|
740
|
-
}));
|
|
741
|
-
/** List Databases List available databases for an instance. */
|
|
742
|
-
export const listDatabases = /*@__PURE__*/ API.make(() => ({
|
|
743
|
-
input: ListDatabasesRequest,
|
|
744
|
-
output: ListDatabasesResponse,
|
|
745
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
746
|
-
protocol: StackitProtocol,
|
|
747
|
-
retry: Retry.Retry,
|
|
748
|
-
}));
|
|
749
|
-
/** Get Flavors Get all available flavors for a project. */
|
|
750
|
-
export const listFlavors2 = /*@__PURE__*/ API.make(() => ({
|
|
751
|
-
input: ListFlavorsRequest,
|
|
752
|
-
output: ListFlavorsResponse,
|
|
753
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
754
|
-
protocol: StackitProtocol,
|
|
755
|
-
retry: Retry.Retry,
|
|
756
|
-
}));
|
|
757
|
-
/** List Instances List all available instances for your project. */
|
|
758
|
-
export const listInstances = /*@__PURE__*/ API.make(() => ({
|
|
759
|
-
input: ListInstancesRequest,
|
|
760
|
-
output: ListInstancesResponse,
|
|
761
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
762
|
-
protocol: StackitProtocol,
|
|
763
|
-
retry: Retry.Retry,
|
|
764
|
-
}));
|
|
765
|
-
/** List Roles List available roles for an instance. */
|
|
766
|
-
export const listRoles = /*@__PURE__*/ API.make(() => ({
|
|
767
|
-
input: ListRolesRequest,
|
|
768
|
-
output: ListRolesResponse,
|
|
769
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
770
|
-
protocol: StackitProtocol,
|
|
771
|
-
retry: Retry.Retry,
|
|
772
|
-
}));
|
|
773
|
-
/** List Users List available users for an instance. */
|
|
774
|
-
export const listUsers = /*@__PURE__*/ API.make(() => ({
|
|
775
|
-
input: ListUsersRequest,
|
|
776
|
-
output: ListUsersResponse,
|
|
777
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
778
|
-
protocol: StackitProtocol,
|
|
779
|
-
retry: Retry.Retry,
|
|
780
|
-
}));
|
|
781
|
-
/** Get Versions Get available postgres versions for the project. */
|
|
782
|
-
export const listVersions = /*@__PURE__*/ API.make(() => ({
|
|
783
|
-
input: ListVersionsRequest,
|
|
784
|
-
output: ListVersionsResponse,
|
|
785
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
786
|
-
protocol: StackitProtocol,
|
|
787
|
-
retry: Retry.Retry,
|
|
788
|
-
}));
|
|
789
|
-
/** Update Database partially Update a database partially in an instance. */
|
|
790
|
-
export const partialUpdateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
791
|
-
input: PartialUpdateDatabaseRequest,
|
|
792
|
-
output: PartialUpdateDatabaseResponse,
|
|
793
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
794
|
-
protocol: StackitProtocol,
|
|
795
|
-
retry: Retry.Retry,
|
|
796
|
-
}));
|
|
797
|
-
/** Update Instance Partially Update an available instance of a postgres database. No fields are required. */
|
|
798
|
-
export const partialUpdateInstance = /*@__PURE__*/ API.make(() => ({
|
|
799
|
-
input: PartialUpdateInstanceRequest,
|
|
800
|
-
output: PartialUpdateInstanceResponse,
|
|
801
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
802
|
-
protocol: StackitProtocol,
|
|
803
|
-
retry: Retry.Retry,
|
|
804
|
-
}));
|
|
805
|
-
/** Update User Partially Update an user partially for an instance. */
|
|
806
|
-
export const partialUpdateUser = /*@__PURE__*/ API.make(() => ({
|
|
807
|
-
input: PartialUpdateUserRequest,
|
|
808
|
-
output: PartialUpdateUserResponse,
|
|
809
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
810
|
-
protocol: StackitProtocol,
|
|
811
|
-
retry: Retry.Retry,
|
|
812
|
-
}));
|
|
813
|
-
/** Reset User Reset an user from an specific instance. */
|
|
814
|
-
export const resetUserPassword = /*@__PURE__*/ API.make(() => ({
|
|
815
|
-
input: ResetUserPasswordRequest,
|
|
816
|
-
output: ResetUserPasswordResponse,
|
|
817
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
818
|
-
protocol: StackitProtocol,
|
|
819
|
-
retry: Retry.Retry,
|
|
820
|
-
}));
|
|
821
|
-
/** Update Database Update a database in an instance. */
|
|
822
|
-
export const updateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
823
|
-
input: UpdateDatabaseRequest,
|
|
824
|
-
output: UpdateDatabaseResponse,
|
|
825
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
826
|
-
protocol: StackitProtocol,
|
|
827
|
-
retry: Retry.Retry,
|
|
828
|
-
}));
|
|
829
|
-
/** Update Instance Updates an available instance of a postgres database */
|
|
830
|
-
export const updateInstance = /*@__PURE__*/ API.make(() => ({
|
|
831
|
-
input: UpdateInstanceRequest,
|
|
832
|
-
output: UpdateInstanceResponse,
|
|
833
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
834
|
-
protocol: StackitProtocol,
|
|
835
|
-
retry: Retry.Retry,
|
|
836
|
-
}));
|
|
837
|
-
/** Toggle Instance Protection Toggle the deletion protection for an instance. */
|
|
838
|
-
export const updateInstanceProtection = /*@__PURE__*/ API.make(() => ({
|
|
839
|
-
input: UpdateInstanceProtectionRequest,
|
|
840
|
-
output: UpdateInstanceProtectionResponse,
|
|
841
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
842
|
-
protocol: StackitProtocol,
|
|
843
|
-
retry: Retry.Retry,
|
|
844
|
-
}));
|
|
845
|
-
/** Update User Update user for an instance. */
|
|
846
|
-
export const updateUser = /*@__PURE__*/ API.make(() => ({
|
|
847
|
-
input: UpdateUserRequest,
|
|
848
|
-
output: UpdateUserResponse,
|
|
849
|
-
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
850
|
-
protocol: StackitProtocol,
|
|
851
|
-
retry: Retry.Retry,
|
|
852
|
-
}));
|
|
1
|
+
import{S as e,_ as t,a as n,b as ee,c as r,d as i,errors$UnknownStackitError as a,f as o,g as s,h as c,i as l,m as u,n as d,o as f,p,protocol$StackitProtocol as m,r as h,retry$Retry as g,s as _,t as v,traits$Http as y,traits$Label as b,traits$Query as x,traits$SensitiveValue as S,traits$applyErrorMatchers as C,u as w,v as T,x as E}from"../_bundle/sdk.js";const D=/*@__PURE__*/ c(function BadRequest(e){return t(e,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[w,E,l,f,r,C]])});const O=/*@__PURE__*/ c(function Conflict(n){return t(n,new.target,[`$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])`,[w,e,l,f,r,C]])});const k=/*@__PURE__*/ c(function Forbidden(e){return t(e,new.target,[`$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])`,[w,ee,l,f,r,C]])});const A=/*@__PURE__*/ c(function NotFound(e){return t(e,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[w,E,l,f,r,C]])});const j=/*@__PURE__*/ c(function UnprocessableEntity(e){return t(e,new.target,[`$5($4()("UnprocessableEntity",{code:$2,message:$3}).pipe($1),[{status:422}])`,[w,E,l,f,r,C]])});const M=/*@__PURE__*/ T(e=>e===p?[`{input:#2,output:#8:0,errors:[$9,$10,$11,$12,$13,$14],protocol:$15,retry:$16};$5(>3)@"CloneInstanceOverrides";$5(>4)@"CloneInstanceRequest";$4({class:$1,name:$2($1),size:$3});$4({projectId:$1.pipe($7()),region:$1.pipe($7()),instanceId:$1.pipe($7()),instanceOverrides:#1,pointInTime:$1}).pipe($6({method:"POST",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/clone",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,f,i,l,_,o,y,b,__d4,D,k,A,O,j,a,m,g]]:u(M,e));const N=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12,$13],protocol:$14,retry:$15};$6(>3)@"CreateDatabaseRequest";$6(>4)@"CreateDatabaseResponse";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),name:$3,owner:$4($3)}).pipe($1({method:"POST",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$5({id:$7})`,[w,y,b,f,i,_,o,l,D,k,A,O,j,a,m,g]]:u(N,e));const P=/*@__PURE__*/ T(e=>e===p?[`{input:#3,output:#12:0,errors:[$13,$14,$15,$16,$17],protocol:$18,retry:$19};$5(>4)@"InstanceNetworkCreate";$5(>5)@"StorageCreate";$5(>6)@"CreateInstanceRequest";$4({accessScope:$2($1),acl:#3:0});$4({class:$1,size:$6});$4({projectId:$1.pipe($8()),region:$1.pipe($8()),backupSchedule:$1,encryption:$2(#9:0),flavorId:$1,labels:$2(#10:0),name:$1,network:#1,retentionDays:$11($6),storage:#2,version:$1}).pipe($7({method:"POST",uri:"/v3/projects/{projectId}/regions/{region}/instances",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,f,i,__d7,_,o,l,y,b,__d5,__d6,h,__d4,D,k,A,j,a,m,g]]:u(P,e));const F=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$10,$11,$12,$13,$14,$15],protocol:$16,retry:$17};$7(>3)@"CreateUserRequest";$7(>4)@"CreateUserResponse";$6({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),name:$3,roles:$5(#4:0)}).pipe($1({method:"POST",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$6({id:$8,name:$3,password:$3.pipe($9({})),state:$3})`,[w,y,b,f,__d7,i,_,o,l,S,D,k,A,O,j,a,m,g]]:u(F,e));const I=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"DeleteDatabaseRequest";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),databaseId:$4.pipe($2())}).pipe($1({method:"DELETE",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,_,o,__d8,D,k,A,a,m,g]]:u(I,e));const L=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteInstanceRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,_,o,__d8,D,k,A,a,m,g]]:u(L,e));const R=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11,$12],protocol:$13,retry:$14};$6(>2)@"DeleteUserRequest";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$4.pipe($2())}).pipe($1({method:"DELETE",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,_,o,__d8,D,k,A,O,a,m,g]]:u(R,e));const z=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"GetBackupRequest";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),backupId:$4.pipe($2())}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/backups/{backupId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,_,o,__d0,D,k,A,a,m,g]]:u(z,e));const B=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"GetDatabaseRequest";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),databaseId:$4.pipe($2())}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,_,o,__d1,D,k,A,a,m,g]]:u(B,e));const V=/*@__PURE__*/ T(e=>e===p?s(`InstanceConnectionInfo`,`{input:#1,output:#6,errors:[$13,$14,$15,$16],protocol:$17,retry:$18};$5(>7)@"GetInstanceRequest";$5(>8)@"%Write";$5(>9)@"%";$5(>10)@"InstanceNetwork";$5(>11)@"Storage";$5(>12)@"GetInstanceResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$4({host:$3,port:$6});$4({write:#2});$4({accessScope:$7($3),acl:#8:0,instanceAddress:$7($3),routerAddress:$7($3)});$4({class:$7($3),size:$7($6)});$4({backupSchedule:$3,connectionInfo:#3,encryption:$7(#9:0),flavorId:$3,id:$3,isDeletable:$10,labels:$7(#11:0),name:$3,network:#4,retentionDays:$12($6),state:$3,storage:#5,version:$3})`,[w,y,b,f,_,o,l,i,__d7,__d5,d,__d6,h,D,k,A,a,m,g]):u(V,e));const H=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>3)@"GetUserRequest";$6(>4)@"GetUserResponse";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$4.pipe($2())}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$5({id:$4,name:$3,roles:#7:0,state:$3})`,[w,y,b,f,l,_,o,__d7,D,k,A,a,m,g]]:u(H,e));const U=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$8(>4)@"ListBackupsRequest";$10(#9:0);$8(>5)@"ListBackupsResponse";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),page:~4:1,size:~4:1,sort:$6($3.pipe($5()))}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/backups",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$7({backups:#2,pagination:#4:0})`,[w,y,b,f,__d2,x,i,_,o,__d0,v,D,k,A,a,m,g]]:u(U,e));const W=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>3)@"ListCollationsRequest";$5(>4)@"ListCollationsResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/collations",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$4({collations:#6:0})`,[w,y,b,f,_,o,__d7,D,k,A,a,m,g]]:u(W,e));const G=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#3,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$8(>4)@"ListDatabasesRequest";$10(#9:0);$8(>5)@"ListDatabasesResponse";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),page:~4:1,size:~4:1,sort:$6($3.pipe($5()))}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$7({databases:#2,pagination:#4:0})`,[w,y,b,f,__d2,x,i,_,o,__d1,v,D,k,A,a,m,g]]:u(G,e));const K=/*@__PURE__*/ T(e=>e===p?s(`ListFlavors`,`{input:#1,output:#6,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$8(>7)@"%Request";$8(>8)@"FlavorStorageClassesStorageClass";$10(#2);$8(>9)@"%";$10(#4);$8(>10)@"%Response";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),page:~4:1,size:~4:1,sort:$6($3.pipe($5()))}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/flavors",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$7({class:$3,maxIoPerSec:$9,maxThroughInMb:$9});$7({cpu:$9,description:$3,id:$3,maxGB:$9,memory:$9,minGB:$9,nodeType:$3,storageClasses:#3});$7({flavors:#5,pagination:#4:0})`,[w,y,b,f,__d2,x,i,_,o,l,v,D,k,A,a,m,g]):u(K,e));const q=/*@__PURE__*/ T(e=>e===p?s(`ListInstance`,`{input:#1,output:#4,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$8(>5)@"%sRequest";$8(>6)@"%";$10(#2);$8(>7)@"%sResponse";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),page:~4:1,size:~4:1,sort:$6($3.pipe($5()))}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$7({id:$3,isDeletable:$9,name:$3,state:$3});$7({instances:#3,pagination:#4:0})`,[w,y,b,f,__d2,x,i,_,o,d,v,D,k,A,a,m,g]):u(q,e));const J=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>3)@"ListRolesRequest";$5(>4)@"ListRolesResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/roles",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$4({roles:#6:0})`,[w,y,b,f,_,o,__d7,D,k,A,a,m,g]]:u(J,e));const Y=/*@__PURE__*/ T(e=>e===p?s(`ListUser`,`{input:#1,output:#4,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$8(>5)@"%sRequest";$8(>6)@"%";$10(#2);$8(>7)@"%sResponse";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),page:~4:1,size:~4:1,sort:$6($3.pipe($5()))}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$7({id:$9,name:$3,state:$3});$7({pagination:#4:0,users:#3})`,[w,y,b,f,__d2,x,i,_,o,l,v,D,k,A,a,m,g]):u(Y,e));const X=/*@__PURE__*/ T(e=>e===p?s(`Version`,`{input:#1,output:#4,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$5(>5)@"List%sRequest";$5(>6)@"%";$7(#2);$5(>7)@"List%sResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v3/projects/{projectId}/regions/{region}/versions",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$4({beta:$6,deprecated:$3,recommend:$6,version:$3});$4({versions:#3})`,[w,y,b,f,_,o,d,v,D,k,A,a,m,g]):u(X,e));const Z=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#8:0,errors:[$9,$10,$11,$12,$13],protocol:$14,retry:$15};$7(>2)@"PartialUpdateDatabaseRequest";$6({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),databaseId:$4.pipe($2()),name:$5($3),owner:$5($3)}).pipe($1({method:"PATCH",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,i,_,o,__d8,D,k,A,j,a,m,g]]:u(Z,e));const Q=/*@__PURE__*/ T(e=>e===p?[`{input:#2,output:#11:0,errors:[$12,$13,$14,$15,$16],protocol:$17,retry:$18};$4(>3)@"InstanceNetworkOpt";$4(>4)@"PartialUpdateInstanceRequest";$3({acl:$2(#1:0)});$3({projectId:$7.pipe($6()),region:$7.pipe($6()),instanceId:$7.pipe($6()),backupSchedule:$2($7),flavorId:$2($7),labels:$2(#8:0),name:$2($7),network:$2(#1),retentionDays:$2($9),storage:$2(#10:0),version:$2($7)}).pipe($5({method:"PATCH",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,__d7,i,_,o,y,b,f,__d6,l,__d3,__d8,D,k,A,j,a,m,g]]:u(Q,e));const $=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#9:0,errors:[$10,$11,$12,$13,$14],protocol:$15,retry:$16};$8(>2)@"PartialUpdateUserRequest";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$4.pipe($2()),name:$5($3),roles:$5(#6:0)}).pipe($1({method:"PATCH",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,i,__d7,_,o,__d8,D,k,A,j,a,m,g]]:u($,e));const te=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12],protocol:$13,retry:$14};$6(>3)@"ResetUserPasswordRequest";$6(>4)@"ResetUserPasswordResponse";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$4.pipe($2())}).pipe($1({method:"POST",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}/reset",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$5({name:$3,password:$3.pipe($7({})),state:$3})`,[w,y,b,f,l,_,o,S,D,k,A,j,a,m,g]]:u(te,e));const ne=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11,$12],protocol:$13,retry:$14};$6(>2)@"UpdateDatabaseRequest";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),databaseId:$4.pipe($2()),name:$3,owner:$3}).pipe($1({method:"PUT",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/databases/{databaseId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,_,o,__d8,D,k,A,j,a,m,g]]:u(ne,e));const re=/*@__PURE__*/ T(e=>e===p?[`{input:#2,output:#12:0,errors:[$13,$14,$15,$16,$17],protocol:$18,retry:$19};$3(>3)@"InstanceNetworkUpdate";$3(>4)@"UpdateInstanceRequest";$2({acl:#1:0});$2({projectId:$6.pipe($5()),region:$6.pipe($5()),instanceId:$6.pipe($5()),backupSchedule:$6,flavorId:$6,labels:$8(#7:0),name:$6,network:#1,retentionDays:$10($9),storage:#11:0,version:$6}).pipe($4({method:"PUT",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,__d7,_,o,y,b,f,__d6,i,l,h,__d3,__d8,D,k,A,j,a,m,g]]:u(re,e));const ie=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11],protocol:$12,retry:$13};$6(>3)@"UpdateInstanceProtectionRequest";$6(>4)@"UpdateInstanceProtectionResponse";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),isDeletable:$4}).pipe($1({method:"POST",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/protections",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}));$5({isDeletable:$4})`,[w,y,b,f,d,_,o,D,k,A,j,a,m,g]]:u(ie,e));const ae=/*@__PURE__*/ T(e=>e===p?[`{input:#1,output:#9:0,errors:[$10,$11,$12,$13,$14],protocol:$15,retry:$16};$8(>2)@"UpdateUserRequest";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),instanceId:$3.pipe($2()),userId:$4.pipe($2()),name:$5($3),roles:#6:0}).pipe($1({method:"PUT",uri:"/v3/projects/{projectId}/regions/{region}/instances/{instanceId}/users/{userId}",code:200,baseUrl:"https://postgres-flex-service.api.stackit.cloud"}))`,[w,y,b,f,l,i,__d7,_,o,__d8,D,k,A,j,a,m,g]]:u(ae,e));function __d0(){return[`$4(>1)@"BackupData";$3({completionTime:$1,id:$2,name:$1,retainedUntil:$1,size:$2,type:$1})`,[w,f,l,_,o]]}function __d1(){return[`$4(>1)@"GetDatabaseResponse";$3({id:$1,name:$2,owner:$2})`,[w,l,f,_,o]]}function __d2(){return[`$4(>2)@"Pagination";$6($1.pipe($5()));$3({page:$1,size:$1,sort:$2,totalPages:$1,totalRows:$1})`,[w,l,f,_,o,x,i]]}function __d3(){return[`$4(>1)@"StorageUpdate";$3({size:$2($1)})`,[w,l,i,_,o]]}function __d4(){return[`$3(>1)@"CloneInstanceResponse";$2({id:$1})`,[w,f,_,o]]}function __d5(){return[`$3(>1)@"InstanceEncryption";$2({kekKeyId:$1,kekKeyRingId:$1,kekKeyVersion:$1,serviceAccount:$1})`,[w,f,_,o]]}function __d6(){return[`$3($1,$2($1))`,[w,f,h,n]]}function __d7(){return[`$2($1)`,[w,f,v]]}function __d8(){return[`$2(>1)@"DeleteDatabaseResponse";$1({})`,[w,_,o]]}export{D as BadRequest,O as Conflict,k as Forbidden,A as NotFound,j as UnprocessableEntity,M as cloneInstance,N as createDatabase,P as createInstance,F as createUser,I as deleteDatabase,L as deleteInstance,R as deleteUser,z as getBackup,B as getDatabase,V as getInstance,H as getUser,U as listBackups,W as listCollations,G as listDatabases,K as listFlavors2,q as listInstances,J as listRoles,Y as listUsers,X as listVersions,Z as partialUpdateDatabase,Q as partialUpdateInstance,$ as partialUpdateUser,te as resetUserPassword,ne as updateDatabase,re as updateInstance,ie as updateInstanceProtection,ae as updateUser};
|
|
2
|
+
/*
|
|
3
|
+
28 41
|
|
4
|
+
e:0:S t:0:_ n:0:a ee:0:b r:0:c i:0:d a:0:errors$UnknownStackitError o:0:f s:0:g c:0:h l:0:i u:0:m d:0:n f:0:o p:0:p m:0:protocol$StackitProtocol h:0:r g:0:retry$Retry _:0:s v:0:t y:0:traits$Http b:0:traits$Label x:0:traits$Query S:0:traits$SensitiveValue C:0:traits$applyErrorMatchers w:0:u T:0:v E:0:x
|
|
5
|
+
000000001o0003b00059000710008j0009z000bk000d2000ek000h0000ii000k7000ln000nc000pb000rb000sr000un000wb000xy000zu0011k001350014r0016q00189001a0001au001bo001ci001dc001e6001f5001g4001h7001i6001j3001k0001kx001ls001mn
|
|
6
|
+
2 ws 1b3 M|=;x3 19r;p,d,5,a,i,7,k,l,1s,1j,1l,1m,1k,1n,6,f,h
|
|
7
|
+
2 1bt 1oz N|=;1c4 1ns;p,k,l,d,5,i,7,a,1j,1l,1m,1k,1n,6,f,h
|
|
8
|
+
2 1pp 270 P|=;1q0 259;p,d,5,1v,i,7,a,k,l,1t,1u,g,1s,1j,1l,1m,1n,6,f,h
|
|
9
|
+
2 27q 2m1 F|=;281 2kn;p,k,l,d,1v,5,i,7,a,n,1j,1l,1m,1k,1n,6,f,h
|
|
10
|
+
2 2mr 2z1 I|=;2n2 2xv;p,k,l,d,a,i,7,1w,1j,1l,1m,6,f,h
|
|
11
|
+
2 2zr 3am L|=;302 39i;p,k,l,d,i,7,1w,1j,1l,1m,6,f,h
|
|
12
|
+
2 3bc 3nc R|=;3bn 3m4;p,k,l,d,a,i,7,1w,1j,1l,1m,1k,6,f,h
|
|
13
|
+
2 3o2 3zy z|=;3od 3ys;p,k,l,d,a,i,7,1o,1j,1l,1m,6,f,h
|
|
14
|
+
2 40o 4cs B|=;40z 4bm;p,k,l,d,a,i,7,1p,1j,1l,1m,6,f,h
|
|
15
|
+
2 4di 51g V|=InstanceConnectionInfo;4ej 4zu;p,k,l,d,i,7,a,5,1v,1t,c,1u,g,1j,1l,1m,6,f,h
|
|
16
|
+
2 526 5fl H|=;52h 5ef;p,k,l,d,a,i,7,1v,1j,1l,1m,6,f,h
|
|
17
|
+
2 5gb 5ur U|=;5gm 5tc;p,k,l,d,1q,m,5,i,7,1o,j,1j,1l,1m,6,f,h
|
|
18
|
+
2 5vh 680 W|=;5vs 66w;p,k,l,d,i,7,1v,1j,1l,1m,6,f,h
|
|
19
|
+
2 68q 6ne G|=;691 6lz;p,k,l,d,1q,m,5,i,7,1p,j,1j,1l,1m,6,f,h
|
|
20
|
+
2 6o4 76k K|=ListFlavors;6ou 758;p,k,l,d,1q,m,5,i,7,a,j,1j,1l,1m,6,f,h
|
|
21
|
+
2 77a 7lu q|=ListInstance;781 7ki;p,k,l,d,1q,m,5,i,7,c,j,1j,1l,1m,6,f,h
|
|
22
|
+
2 7mk 7yj J|=;7mv 7xf;p,k,l,d,i,7,1v,1j,1l,1m,6,f,h
|
|
23
|
+
2 7z9 8ee Y|=ListUser;7zw 8d2;p,k,l,d,1q,m,5,i,7,a,j,1j,1l,1m,6,f,h
|
|
24
|
+
2 8f4 8ry X|=Version;8fq 8qv;p,k,l,d,i,7,c,j,1j,1l,1m,6,f,h
|
|
25
|
+
2 8so 962 Z|=;8sz 94s;p,k,l,d,a,5,i,7,1w,1j,1l,1m,1n,6,f,h
|
|
26
|
+
2 96s 9no Q|=;973 9lz;p,1v,5,i,7,k,l,d,1u,a,1r,1w,1j,1l,1m,1n,6,f,h
|
|
27
|
+
2 9oe a1k $|=;9op a05;p,k,l,d,a,5,1v,i,7,1w,1j,1l,1m,1n,6,f,h
|
|
28
|
+
2 a2b agt te|=;a2m afn;p,k,l,d,a,i,7,n,1j,1l,1m,1n,6,f,h
|
|
29
|
+
2 ahk auf ne|=;ahv at6;p,k,l,d,a,i,7,1w,1j,1l,1m,1n,6,f,h
|
|
30
|
+
2 av6 bb8 re|=;avh b9g;p,1v,i,7,k,l,d,1u,5,a,g,1r,1w,1j,1l,1m,1n,6,f,h
|
|
31
|
+
2 bbz bpm ie|=;bca boi;p,k,l,d,c,i,7,1j,1l,1m,1n,6,f,h
|
|
32
|
+
2 bqd c37 ae|=;bqo c1r;p,k,l,d,a,5,1v,i,7,1w,1j,1l,1m,1n,6,f,h
|
|
33
|
+
3 al e9 D|=;bw dr;p,r,a,d,4,o
|
|
34
|
+
3 ez ij O|=;g8 i1;p,0,a,d,4,o
|
|
35
|
+
3 j9 mw k|=;kj md;p,3,a,d,4,o
|
|
36
|
+
3 nm r6 A|=;ov qo;p,r,a,d,4,o
|
|
37
|
+
3 rw w2 j|=;tg vk;p,r,a,d,4,o
|
|
38
|
+
1 c39 c6u __d0|=;c3x c6f;p,d,a,i,7
|
|
39
|
+
1 c6u c9i __d1|=;c7i c93;p,a,d,i,7
|
|
40
|
+
1 c9i cdb __d2|=;ca6 ccs;p,a,d,i,7,m,5
|
|
41
|
+
1 cdb cfi __d3|=;cdz cf3;p,a,5,i,7
|
|
42
|
+
1 cfi chp __d4|=;cg6 chc;p,d,i,7
|
|
43
|
+
1 chp cle __d5|=;cid cl1;p,d,i,7
|
|
44
|
+
1 cle cms __d6|=;cm2 cmf;p,d,g,2
|
|
45
|
+
1 cms cnx __d7|=;cng cnm;p,d,j
|
|
46
|
+
1 cnx cpy __d8|=;col cpn;p,i,7
|
|
47
|
+
*/
|
|
853
48
|
//# sourceMappingURL=postgres_flex.js.map
|