@homeflare/distilled-openbao 0.2.0
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/LICENSE +201 -0
- package/README.md +78 -0
- package/dist/credentials.d.ts +32 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +66 -0
- package/dist/credentials.js.map +1 -0
- package/dist/credentials.test.d.ts +2 -0
- package/dist/credentials.test.d.ts.map +1 -0
- package/dist/credentials.test.js +29 -0
- package/dist/credentials.test.js.map +1 -0
- package/dist/errors.d.ts +57 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +37 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +18 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +96 -0
- package/dist/protocol.js.map +1 -0
- package/dist/protocol.test.d.ts +2 -0
- package/dist/protocol.test.d.ts.map +1 -0
- package/dist/protocol.test.js +78 -0
- package/dist/protocol.test.js.map +1 -0
- package/dist/retry.d.ts +60 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +53 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/alias.d.ts +73 -0
- package/dist/services/alias.d.ts.map +1 -0
- package/dist/services/alias.js +91 -0
- package/dist/services/alias.js.map +1 -0
- package/dist/services/approle.d.ts +918 -0
- package/dist/services/approle.d.ts.map +1 -0
- package/dist/services/approle.js +1206 -0
- package/dist/services/approle.js.map +1 -0
- package/dist/services/auditing.d.ts +97 -0
- package/dist/services/auditing.d.ts.map +1 -0
- package/dist/services/auditing.js +158 -0
- package/dist/services/auditing.js.map +1 -0
- package/dist/services/auth.d.ts +160 -0
- package/dist/services/auth.d.ts.map +1 -0
- package/dist/services/auth.js +169 -0
- package/dist/services/auth.js.map +1 -0
- package/dist/services/collect.d.ts +35 -0
- package/dist/services/collect.d.ts.map +1 -0
- package/dist/services/collect.js +46 -0
- package/dist/services/collect.js.map +1 -0
- package/dist/services/configure.d.ts +35 -0
- package/dist/services/configure.d.ts.map +1 -0
- package/dist/services/configure.js +43 -0
- package/dist/services/configure.js.map +1 -0
- package/dist/services/cors.d.ts +54 -0
- package/dist/services/cors.d.ts.map +1 -0
- package/dist/services/cors.js +65 -0
- package/dist/services/cors.js.map +1 -0
- package/dist/services/cubbyhole.d.ts +40 -0
- package/dist/services/cubbyhole.d.ts.map +1 -0
- package/dist/services/cubbyhole.js +56 -0
- package/dist/services/cubbyhole.js.map +1 -0
- package/dist/services/database.d.ts +278 -0
- package/dist/services/database.d.ts.map +1 -0
- package/dist/services/database.js +384 -0
- package/dist/services/database.js.map +1 -0
- package/dist/services/decode.d.ts +18 -0
- package/dist/services/decode.d.ts.map +1 -0
- package/dist/services/decode.js +24 -0
- package/dist/services/decode.js.map +1 -0
- package/dist/services/entity.d.ts +257 -0
- package/dist/services/entity.d.ts.map +1 -0
- package/dist/services/entity.js +313 -0
- package/dist/services/entity.js.map +1 -0
- package/dist/services/generate.d.ts +136 -0
- package/dist/services/generate.d.ts.map +1 -0
- package/dist/services/generate.js +188 -0
- package/dist/services/generate.js.map +1 -0
- package/dist/services/group.d.ts +244 -0
- package/dist/services/group.d.ts.map +1 -0
- package/dist/services/group.js +277 -0
- package/dist/services/group.js.map +1 -0
- package/dist/services/ha.d.ts +17 -0
- package/dist/services/ha.d.ts.map +1 -0
- package/dist/services/ha.js +24 -0
- package/dist/services/ha.js.map +1 -0
- package/dist/services/index.d.ts +54 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +55 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/initialize.d.ts +34 -0
- package/dist/services/initialize.d.ts.map +1 -0
- package/dist/services/initialize.js +31 -0
- package/dist/services/initialize.js.map +1 -0
- package/dist/services/internal.d.ts +131 -0
- package/dist/services/internal.d.ts.map +1 -0
- package/dist/services/internal.js +199 -0
- package/dist/services/internal.js.map +1 -0
- package/dist/services/jwt.d.ts +684 -0
- package/dist/services/jwt.d.ts.map +1 -0
- package/dist/services/jwt.js +801 -0
- package/dist/services/jwt.js.map +1 -0
- package/dist/services/kubernetes.d.ts +166 -0
- package/dist/services/kubernetes.d.ts.map +1 -0
- package/dist/services/kubernetes.js +187 -0
- package/dist/services/kubernetes.js.map +1 -0
- package/dist/services/kv.d.ts +519 -0
- package/dist/services/kv.d.ts.map +1 -0
- package/dist/services/kv.js +655 -0
- package/dist/services/kv.js.map +1 -0
- package/dist/services/leader.d.ts +21 -0
- package/dist/services/leader.d.ts.map +1 -0
- package/dist/services/leader.js +29 -0
- package/dist/services/leader.js.map +1 -0
- package/dist/services/leases.d.ts +185 -0
- package/dist/services/leases.d.ts.map +1 -0
- package/dist/services/leases.js +238 -0
- package/dist/services/leases.js.map +1 -0
- package/dist/services/locked.d.ts +27 -0
- package/dist/services/locked.d.ts.map +1 -0
- package/dist/services/locked.js +42 -0
- package/dist/services/locked.js.map +1 -0
- package/dist/services/loggers.d.ts +69 -0
- package/dist/services/loggers.d.ts.map +1 -0
- package/dist/services/loggers.js +100 -0
- package/dist/services/loggers.js.map +1 -0
- package/dist/services/mfa.d.ts +386 -0
- package/dist/services/mfa.d.ts.map +1 -0
- package/dist/services/mfa.js +553 -0
- package/dist/services/mfa.js.map +1 -0
- package/dist/services/misc.d.ts +103 -0
- package/dist/services/misc.d.ts.map +1 -0
- package/dist/services/misc.js +120 -0
- package/dist/services/misc.js.map +1 -0
- package/dist/services/mounts.d.ts +173 -0
- package/dist/services/mounts.d.ts.map +1 -0
- package/dist/services/mounts.js +168 -0
- package/dist/services/mounts.js.map +1 -0
- package/dist/services/namespaces.d.ts +257 -0
- package/dist/services/namespaces.d.ts.map +1 -0
- package/dist/services/namespaces.js +320 -0
- package/dist/services/namespaces.js.map +1 -0
- package/dist/services/oidc.d.ts +509 -0
- package/dist/services/oidc.d.ts.map +1 -0
- package/dist/services/oidc.js +718 -0
- package/dist/services/oidc.js.map +1 -0
- package/dist/services/persona.d.ts +73 -0
- package/dist/services/persona.d.ts.map +1 -0
- package/dist/services/persona.js +91 -0
- package/dist/services/persona.js.map +1 -0
- package/dist/services/pki.d.ts +5783 -0
- package/dist/services/pki.d.ts.map +1 -0
- package/dist/services/pki.js +4995 -0
- package/dist/services/pki.js.map +1 -0
- package/dist/services/plugins.d.ts +203 -0
- package/dist/services/plugins.d.ts.map +1 -0
- package/dist/services/plugins.js +237 -0
- package/dist/services/plugins.js.map +1 -0
- package/dist/services/policies.d.ts +250 -0
- package/dist/services/policies.d.ts.map +1 -0
- package/dist/services/policies.js +312 -0
- package/dist/services/policies.js.map +1 -0
- package/dist/services/pprof.d.ts +104 -0
- package/dist/services/pprof.d.ts.map +1 -0
- package/dist/services/pprof.js +161 -0
- package/dist/services/pprof.js.map +1 -0
- package/dist/services/query.d.ts +65 -0
- package/dist/services/query.d.ts.map +1 -0
- package/dist/services/query.js +66 -0
- package/dist/services/query.js.map +1 -0
- package/dist/services/rate.d.ts +102 -0
- package/dist/services/rate.d.ts.map +1 -0
- package/dist/services/rate.js +129 -0
- package/dist/services/rate.js.map +1 -0
- package/dist/services/raw.d.ts +85 -0
- package/dist/services/raw.d.ts.map +1 -0
- package/dist/services/raw.js +116 -0
- package/dist/services/raw.js.map +1 -0
- package/dist/services/read.d.ts +87 -0
- package/dist/services/read.d.ts.map +1 -0
- package/dist/services/read.js +123 -0
- package/dist/services/read.js.map +1 -0
- package/dist/services/rekey.d.ts +184 -0
- package/dist/services/rekey.d.ts.map +1 -0
- package/dist/services/rekey.js +243 -0
- package/dist/services/rekey.js.map +1 -0
- package/dist/services/reload.d.ts +15 -0
- package/dist/services/reload.d.ts.map +1 -0
- package/dist/services/reload.js +27 -0
- package/dist/services/reload.js.map +1 -0
- package/dist/services/remount.d.ts +18 -0
- package/dist/services/remount.d.ts.map +1 -0
- package/dist/services/remount.js +30 -0
- package/dist/services/remount.js.map +1 -0
- package/dist/services/root.d.ts +134 -0
- package/dist/services/root.d.ts.map +1 -0
- package/dist/services/root.js +180 -0
- package/dist/services/root.js.map +1 -0
- package/dist/services/rotate.d.ts +367 -0
- package/dist/services/rotate.d.ts.map +1 -0
- package/dist/services/rotate.js +473 -0
- package/dist/services/rotate.js.map +1 -0
- package/dist/services/seal.d.ts +29 -0
- package/dist/services/seal.d.ts.map +1 -0
- package/dist/services/seal.js +37 -0
- package/dist/services/seal.js.map +1 -0
- package/dist/services/ssh.d.ts +491 -0
- package/dist/services/ssh.d.ts.map +1 -0
- package/dist/services/ssh.js +582 -0
- package/dist/services/ssh.js.map +1 -0
- package/dist/services/status.d.ts +17 -0
- package/dist/services/status.d.ts.map +1 -0
- package/dist/services/status.js +25 -0
- package/dist/services/status.js.map +1 -0
- package/dist/services/step.d.ts +14 -0
- package/dist/services/step.d.ts.map +1 -0
- package/dist/services/step.js +21 -0
- package/dist/services/step.js.map +1 -0
- package/dist/services/system.d.ts +33 -0
- package/dist/services/system.d.ts.map +1 -0
- package/dist/services/system.js +47 -0
- package/dist/services/system.js.map +1 -0
- package/dist/services/token.d.ts +408 -0
- package/dist/services/token.d.ts.map +1 -0
- package/dist/services/token.js +415 -0
- package/dist/services/token.js.map +1 -0
- package/dist/services/ui.d.ts +70 -0
- package/dist/services/ui.d.ts.map +1 -0
- package/dist/services/ui.js +95 -0
- package/dist/services/ui.js.map +1 -0
- package/dist/services/update.d.ts +25 -0
- package/dist/services/update.d.ts.map +1 -0
- package/dist/services/update.js +36 -0
- package/dist/services/update.js.map +1 -0
- package/dist/services/userpass.d.ts +151 -0
- package/dist/services/userpass.d.ts.map +1 -0
- package/dist/services/userpass.js +177 -0
- package/dist/services/userpass.js.map +1 -0
- package/dist/services/version.d.ts +22 -0
- package/dist/services/version.d.ts.map +1 -0
- package/dist/services/version.js +28 -0
- package/dist/services/version.js.map +1 -0
- package/dist/services/workflows.d.ts +122 -0
- package/dist/services/workflows.d.ts.map +1 -0
- package/dist/services/workflows.js +149 -0
- package/dist/services/workflows.js.map +1 -0
- package/dist/traits.d.ts +11 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +12 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.test.ts +36 -0
- package/src/credentials.ts +100 -0
- package/src/errors.ts +73 -0
- package/src/index.ts +33 -0
- package/src/protocol.test.ts +123 -0
- package/src/protocol.ts +120 -0
- package/src/retry.ts +84 -0
- package/src/services/alias.ts +208 -0
- package/src/services/approle.ts +2750 -0
- package/src/services/auditing.ts +318 -0
- package/src/services/auth.ts +416 -0
- package/src/services/collect.ts +103 -0
- package/src/services/configure.ts +94 -0
- package/src/services/cors.ts +155 -0
- package/src/services/cubbyhole.ts +117 -0
- package/src/services/database.ts +854 -0
- package/src/services/decode.ts +49 -0
- package/src/services/entity.ts +744 -0
- package/src/services/generate.ts +409 -0
- package/src/services/group.ts +677 -0
- package/src/services/ha.ts +52 -0
- package/src/services/index.ts +54 -0
- package/src/services/initialize.ts +76 -0
- package/src/services/internal.ts +425 -0
- package/src/services/jwt.ts +1838 -0
- package/src/services/kubernetes.ts +446 -0
- package/src/services/kv.ts +1480 -0
- package/src/services/leader.ts +57 -0
- package/src/services/leases.ts +532 -0
- package/src/services/locked.ts +86 -0
- package/src/services/loggers.ts +215 -0
- package/src/services/mfa.ts +1193 -0
- package/src/services/misc.ts +286 -0
- package/src/services/mounts.ts +428 -0
- package/src/services/namespaces.ts +707 -0
- package/src/services/oidc.ts +1613 -0
- package/src/services/persona.ts +210 -0
- package/src/services/pki.ts +13320 -0
- package/src/services/plugins.ts +549 -0
- package/src/services/policies.ts +689 -0
- package/src/services/pprof.ts +351 -0
- package/src/services/query.ts +170 -0
- package/src/services/rate.ts +303 -0
- package/src/services/raw.ts +244 -0
- package/src/services/read.ts +266 -0
- package/src/services/rekey.ts +540 -0
- package/src/services/reload.ts +51 -0
- package/src/services/remount.ts +58 -0
- package/src/services/root.ts +393 -0
- package/src/services/rotate.ts +1088 -0
- package/src/services/seal.ts +75 -0
- package/src/services/ssh.ts +1351 -0
- package/src/services/status.ts +51 -0
- package/src/services/step.ts +43 -0
- package/src/services/system.ts +98 -0
- package/src/services/token.ts +1046 -0
- package/src/services/ui.ts +207 -0
- package/src/services/update.ts +73 -0
- package/src/services/userpass.ts +410 -0
- package/src/services/version.ts +60 -0
- package/src/services/workflows.ts +327 -0
- package/src/traits.ts +45 -0
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-openbao, generated — see fetch-specs.ts). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.js";
|
|
5
|
+
import { OpenBaoProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const KvDeleteDataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
8
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
9
|
+
path: S.String.pipe(T.Label()),
|
|
10
|
+
}).pipe(T.Http({
|
|
11
|
+
method: "DELETE",
|
|
12
|
+
uri: "/{kv_mount_path}/data/{path}",
|
|
13
|
+
code: 200,
|
|
14
|
+
}))).annotate({
|
|
15
|
+
identifier: "KvDeleteDataPathRequest",
|
|
16
|
+
});
|
|
17
|
+
export const KvDeleteDataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
18
|
+
identifier: "KvDeleteDataPathResponse",
|
|
19
|
+
});
|
|
20
|
+
export const KvDeleteDataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
21
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
22
|
+
path: S.String.pipe(T.Label()),
|
|
23
|
+
}).pipe(T.Http({
|
|
24
|
+
method: "DELETE",
|
|
25
|
+
uri: "/{secret_mount_path}/data/{path}",
|
|
26
|
+
code: 200,
|
|
27
|
+
}))).annotate({
|
|
28
|
+
identifier: "KvDeleteDataPathRequest2",
|
|
29
|
+
});
|
|
30
|
+
export const KvDeleteDataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
31
|
+
identifier: "KvDeleteDataPath2Response",
|
|
32
|
+
});
|
|
33
|
+
export const KvDeleteMetadataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
34
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
35
|
+
path: S.String.pipe(T.Label()),
|
|
36
|
+
}).pipe(T.Http({
|
|
37
|
+
method: "DELETE",
|
|
38
|
+
uri: "/{kv_mount_path}/metadata/{path}",
|
|
39
|
+
code: 200,
|
|
40
|
+
}))).annotate({
|
|
41
|
+
identifier: "KvDeleteMetadataPathRequest",
|
|
42
|
+
});
|
|
43
|
+
export const KvDeleteMetadataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
44
|
+
identifier: "KvDeleteMetadataPathResponse",
|
|
45
|
+
});
|
|
46
|
+
export const KvDeleteMetadataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
47
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
48
|
+
path: S.String.pipe(T.Label()),
|
|
49
|
+
}).pipe(T.Http({
|
|
50
|
+
method: "DELETE",
|
|
51
|
+
uri: "/{secret_mount_path}/metadata/{path}",
|
|
52
|
+
code: 200,
|
|
53
|
+
}))).annotate({
|
|
54
|
+
identifier: "KvDeleteMetadataPathRequest2",
|
|
55
|
+
});
|
|
56
|
+
export const KvDeleteMetadataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
57
|
+
identifier: "KvDeleteMetadataPath2Response",
|
|
58
|
+
});
|
|
59
|
+
export const KvPatchDataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
60
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
61
|
+
path: S.String.pipe(T.Label()),
|
|
62
|
+
data: S.optional(S.Unknown),
|
|
63
|
+
options: S.optional(S.Unknown),
|
|
64
|
+
version: S.optional(S.Number),
|
|
65
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/{kv_mount_path}/data/{path}", code: 200 }))).annotate({
|
|
66
|
+
identifier: "KvPatchDataPathRequest",
|
|
67
|
+
});
|
|
68
|
+
export const KvPatchDataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
69
|
+
identifier: "KvPatchDataPathResponse",
|
|
70
|
+
});
|
|
71
|
+
export const KvPatchDataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
72
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
73
|
+
path: S.String.pipe(T.Label()),
|
|
74
|
+
data: S.optional(S.Unknown),
|
|
75
|
+
options: S.optional(S.Unknown),
|
|
76
|
+
version: S.optional(S.Number),
|
|
77
|
+
}).pipe(T.Http({
|
|
78
|
+
method: "PATCH",
|
|
79
|
+
uri: "/{secret_mount_path}/data/{path}",
|
|
80
|
+
code: 200,
|
|
81
|
+
}))).annotate({
|
|
82
|
+
identifier: "KvPatchDataPathRequest2",
|
|
83
|
+
});
|
|
84
|
+
export const KvPatchDataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
85
|
+
identifier: "KvPatchDataPath2Response",
|
|
86
|
+
});
|
|
87
|
+
export const KvPatchMetadataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
88
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
89
|
+
path: S.String.pipe(T.Label()),
|
|
90
|
+
after: S.optional(S.String),
|
|
91
|
+
cas_required: S.optional(S.Boolean),
|
|
92
|
+
custom_metadata: S.optional(S.Unknown),
|
|
93
|
+
delete_version_after: S.optional(S.Number),
|
|
94
|
+
limit: S.optional(S.Number),
|
|
95
|
+
max_versions: S.optional(S.Number),
|
|
96
|
+
metadata_cas: S.optional(S.Number),
|
|
97
|
+
metadata_cas_required: S.optional(S.Boolean),
|
|
98
|
+
}).pipe(T.Http({
|
|
99
|
+
method: "PATCH",
|
|
100
|
+
uri: "/{kv_mount_path}/metadata/{path}",
|
|
101
|
+
code: 200,
|
|
102
|
+
}))).annotate({
|
|
103
|
+
identifier: "KvPatchMetadataPathRequest",
|
|
104
|
+
});
|
|
105
|
+
export const KvPatchMetadataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
106
|
+
identifier: "KvPatchMetadataPathResponse",
|
|
107
|
+
});
|
|
108
|
+
export const KvPatchMetadataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
109
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
110
|
+
path: S.String.pipe(T.Label()),
|
|
111
|
+
after: S.optional(S.String),
|
|
112
|
+
cas_required: S.optional(S.Boolean),
|
|
113
|
+
custom_metadata: S.optional(S.Unknown),
|
|
114
|
+
delete_version_after: S.optional(S.Number),
|
|
115
|
+
limit: S.optional(S.Number),
|
|
116
|
+
max_versions: S.optional(S.Number),
|
|
117
|
+
metadata_cas: S.optional(S.Number),
|
|
118
|
+
metadata_cas_required: S.optional(S.Boolean),
|
|
119
|
+
}).pipe(T.Http({
|
|
120
|
+
method: "PATCH",
|
|
121
|
+
uri: "/{secret_mount_path}/metadata/{path}",
|
|
122
|
+
code: 200,
|
|
123
|
+
}))).annotate({
|
|
124
|
+
identifier: "KvPatchMetadataPathRequest2",
|
|
125
|
+
});
|
|
126
|
+
export const KvPatchMetadataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
127
|
+
identifier: "KvPatchMetadataPath2Response",
|
|
128
|
+
});
|
|
129
|
+
export const KvReadConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
130
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
131
|
+
}).pipe(T.Http({ method: "GET", uri: "/{kv_mount_path}/config", code: 200 }))).annotate({
|
|
132
|
+
identifier: "KvReadConfigRequest",
|
|
133
|
+
});
|
|
134
|
+
export const KvReadConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
135
|
+
identifier: "KvReadConfigResponse",
|
|
136
|
+
});
|
|
137
|
+
export const KvReadConfigRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
138
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
139
|
+
}).pipe(T.Http({ method: "GET", uri: "/{secret_mount_path}/config", code: 200 }))).annotate({
|
|
140
|
+
identifier: "KvReadConfigRequest2",
|
|
141
|
+
});
|
|
142
|
+
export const KvReadConfig2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
143
|
+
identifier: "KvReadConfig2Response",
|
|
144
|
+
});
|
|
145
|
+
export const KvReadDataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
146
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
147
|
+
path: S.String.pipe(T.Label()),
|
|
148
|
+
}).pipe(T.Http({ method: "GET", uri: "/{kv_mount_path}/data/{path}", code: 200 }))).annotate({
|
|
149
|
+
identifier: "KvReadDataPathRequest",
|
|
150
|
+
});
|
|
151
|
+
export const KvReadDataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
152
|
+
identifier: "KvReadDataPathResponse",
|
|
153
|
+
});
|
|
154
|
+
export const KvReadDataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
155
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
156
|
+
path: S.String.pipe(T.Label()),
|
|
157
|
+
}).pipe(T.Http({
|
|
158
|
+
method: "GET",
|
|
159
|
+
uri: "/{secret_mount_path}/data/{path}",
|
|
160
|
+
code: 200,
|
|
161
|
+
}))).annotate({
|
|
162
|
+
identifier: "KvReadDataPathRequest2",
|
|
163
|
+
});
|
|
164
|
+
export const KvReadDataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
165
|
+
identifier: "KvReadDataPath2Response",
|
|
166
|
+
});
|
|
167
|
+
export const KvReadMetadataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
168
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
169
|
+
path: S.String.pipe(T.Label()),
|
|
170
|
+
list: S.optional(S.String.pipe(T.Query())),
|
|
171
|
+
scan: S.optional(S.String.pipe(T.Query())),
|
|
172
|
+
}).pipe(T.Http({
|
|
173
|
+
method: "GET",
|
|
174
|
+
uri: "/{kv_mount_path}/metadata/{path}",
|
|
175
|
+
code: 200,
|
|
176
|
+
}))).annotate({
|
|
177
|
+
identifier: "KvReadMetadataPathRequest",
|
|
178
|
+
});
|
|
179
|
+
export const KvReadMetadataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
180
|
+
identifier: "KvReadMetadataPathResponse",
|
|
181
|
+
});
|
|
182
|
+
export const KvReadMetadataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
183
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
184
|
+
path: S.String.pipe(T.Label()),
|
|
185
|
+
list: S.optional(S.String.pipe(T.Query())),
|
|
186
|
+
scan: S.optional(S.String.pipe(T.Query())),
|
|
187
|
+
}).pipe(T.Http({
|
|
188
|
+
method: "GET",
|
|
189
|
+
uri: "/{secret_mount_path}/metadata/{path}",
|
|
190
|
+
code: 200,
|
|
191
|
+
}))).annotate({
|
|
192
|
+
identifier: "KvReadMetadataPathRequest2",
|
|
193
|
+
});
|
|
194
|
+
export const KvReadMetadataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
195
|
+
identifier: "KvReadMetadataPath2Response",
|
|
196
|
+
});
|
|
197
|
+
export const KvReadSubkeysPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
198
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
199
|
+
path: S.String.pipe(T.Label()),
|
|
200
|
+
}).pipe(T.Http({
|
|
201
|
+
method: "GET",
|
|
202
|
+
uri: "/{kv_mount_path}/subkeys/{path}",
|
|
203
|
+
code: 200,
|
|
204
|
+
}))).annotate({
|
|
205
|
+
identifier: "KvReadSubkeysPathRequest",
|
|
206
|
+
});
|
|
207
|
+
export const KvReadSubkeysPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
208
|
+
identifier: "KvReadSubkeysPathResponse",
|
|
209
|
+
});
|
|
210
|
+
export const KvReadSubkeysPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
211
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
212
|
+
path: S.String.pipe(T.Label()),
|
|
213
|
+
}).pipe(T.Http({
|
|
214
|
+
method: "GET",
|
|
215
|
+
uri: "/{secret_mount_path}/subkeys/{path}",
|
|
216
|
+
code: 200,
|
|
217
|
+
}))).annotate({
|
|
218
|
+
identifier: "KvReadSubkeysPathRequest2",
|
|
219
|
+
});
|
|
220
|
+
export const KvReadSubkeysPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
221
|
+
identifier: "KvReadSubkeysPath2Response",
|
|
222
|
+
});
|
|
223
|
+
export const KvScanDetailedMetadataPathRequestList = S.String;
|
|
224
|
+
export const KvScanDetailedMetadataPathRequestScan = S.String;
|
|
225
|
+
export const KvScanDetailedMetadataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
226
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
227
|
+
path: S.String.pipe(T.Label()),
|
|
228
|
+
list: KvScanDetailedMetadataPathRequestList.pipe(T.Query()),
|
|
229
|
+
scan: KvScanDetailedMetadataPathRequestScan.pipe(T.Query()),
|
|
230
|
+
}).pipe(T.Http({
|
|
231
|
+
method: "GET",
|
|
232
|
+
uri: "/{kv_mount_path}/detailed-metadata/{path}",
|
|
233
|
+
code: 200,
|
|
234
|
+
}))).annotate({
|
|
235
|
+
identifier: "KvScanDetailedMetadataPathRequest",
|
|
236
|
+
});
|
|
237
|
+
export const KvScanDetailedMetadataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
238
|
+
identifier: "KvScanDetailedMetadataPathResponse",
|
|
239
|
+
});
|
|
240
|
+
export const KvScanDetailedMetadataPathRequestList2 = S.String;
|
|
241
|
+
export const KvScanDetailedMetadataPathRequestScan2 = S.String;
|
|
242
|
+
export const KvScanDetailedMetadataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
244
|
+
path: S.String.pipe(T.Label()),
|
|
245
|
+
list: KvScanDetailedMetadataPathRequestList2.pipe(T.Query()),
|
|
246
|
+
scan: KvScanDetailedMetadataPathRequestScan2.pipe(T.Query()),
|
|
247
|
+
}).pipe(T.Http({
|
|
248
|
+
method: "GET",
|
|
249
|
+
uri: "/{secret_mount_path}/detailed-metadata/{path}",
|
|
250
|
+
code: 200,
|
|
251
|
+
}))).annotate({
|
|
252
|
+
identifier: "KvScanDetailedMetadataPathRequest2",
|
|
253
|
+
});
|
|
254
|
+
export const KvScanDetailedMetadataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
255
|
+
identifier: "KvScanDetailedMetadataPath2Response",
|
|
256
|
+
});
|
|
257
|
+
export const KvWriteConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
258
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
259
|
+
cas_required: S.optional(S.Boolean),
|
|
260
|
+
delete_version_after: S.optional(S.Number),
|
|
261
|
+
max_versions: S.optional(S.Number),
|
|
262
|
+
metadata_cas_required: S.optional(S.Boolean),
|
|
263
|
+
}).pipe(T.Http({ method: "POST", uri: "/{kv_mount_path}/config", code: 200 }))).annotate({
|
|
264
|
+
identifier: "KvWriteConfigRequest",
|
|
265
|
+
});
|
|
266
|
+
export const KvWriteConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
267
|
+
identifier: "KvWriteConfigResponse",
|
|
268
|
+
});
|
|
269
|
+
export const KvWriteConfigRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
270
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
271
|
+
cas_required: S.optional(S.Boolean),
|
|
272
|
+
delete_version_after: S.optional(S.Number),
|
|
273
|
+
max_versions: S.optional(S.Number),
|
|
274
|
+
metadata_cas_required: S.optional(S.Boolean),
|
|
275
|
+
}).pipe(T.Http({ method: "POST", uri: "/{secret_mount_path}/config", code: 200 }))).annotate({
|
|
276
|
+
identifier: "KvWriteConfigRequest2",
|
|
277
|
+
});
|
|
278
|
+
export const KvWriteConfig2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
279
|
+
identifier: "KvWriteConfig2Response",
|
|
280
|
+
});
|
|
281
|
+
export const KvWriteDataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
282
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
283
|
+
path: S.String.pipe(T.Label()),
|
|
284
|
+
data: S.optional(S.Unknown),
|
|
285
|
+
options: S.optional(S.Unknown),
|
|
286
|
+
version: S.optional(S.Number),
|
|
287
|
+
}).pipe(T.Http({ method: "POST", uri: "/{kv_mount_path}/data/{path}", code: 200 }))).annotate({
|
|
288
|
+
identifier: "KvWriteDataPathRequest",
|
|
289
|
+
});
|
|
290
|
+
export const KvWriteDataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
291
|
+
identifier: "KvWriteDataPathResponse",
|
|
292
|
+
});
|
|
293
|
+
export const KvWriteDataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
294
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
295
|
+
path: S.String.pipe(T.Label()),
|
|
296
|
+
data: S.optional(S.Unknown),
|
|
297
|
+
options: S.optional(S.Unknown),
|
|
298
|
+
version: S.optional(S.Number),
|
|
299
|
+
}).pipe(T.Http({
|
|
300
|
+
method: "POST",
|
|
301
|
+
uri: "/{secret_mount_path}/data/{path}",
|
|
302
|
+
code: 200,
|
|
303
|
+
}))).annotate({
|
|
304
|
+
identifier: "KvWriteDataPathRequest2",
|
|
305
|
+
});
|
|
306
|
+
export const KvWriteDataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
307
|
+
identifier: "KvWriteDataPath2Response",
|
|
308
|
+
});
|
|
309
|
+
export const KvWriteDeletePathRequestVersionsList = /*@__PURE__*/ S.Array(S.Number);
|
|
310
|
+
export const KvWriteDeletePathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
311
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
312
|
+
path: S.String.pipe(T.Label()),
|
|
313
|
+
versions: S.optional(KvWriteDeletePathRequestVersionsList),
|
|
314
|
+
}).pipe(T.Http({
|
|
315
|
+
method: "POST",
|
|
316
|
+
uri: "/{kv_mount_path}/delete/{path}",
|
|
317
|
+
code: 200,
|
|
318
|
+
}))).annotate({
|
|
319
|
+
identifier: "KvWriteDeletePathRequest",
|
|
320
|
+
});
|
|
321
|
+
export const KvWriteDeletePathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
322
|
+
identifier: "KvWriteDeletePathResponse",
|
|
323
|
+
});
|
|
324
|
+
export const KvWriteDeletePathRequestVersionsList2 = /*@__PURE__*/ S.Array(S.Number);
|
|
325
|
+
export const KvWriteDeletePathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
326
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
327
|
+
path: S.String.pipe(T.Label()),
|
|
328
|
+
versions: S.optional(KvWriteDeletePathRequestVersionsList2),
|
|
329
|
+
}).pipe(T.Http({
|
|
330
|
+
method: "POST",
|
|
331
|
+
uri: "/{secret_mount_path}/delete/{path}",
|
|
332
|
+
code: 200,
|
|
333
|
+
}))).annotate({
|
|
334
|
+
identifier: "KvWriteDeletePathRequest2",
|
|
335
|
+
});
|
|
336
|
+
export const KvWriteDeletePath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
337
|
+
identifier: "KvWriteDeletePath2Response",
|
|
338
|
+
});
|
|
339
|
+
export const KvWriteDestroyPathRequestVersionsList = /*@__PURE__*/ S.Array(S.Number);
|
|
340
|
+
export const KvWriteDestroyPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
341
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
342
|
+
path: S.String.pipe(T.Label()),
|
|
343
|
+
versions: S.optional(KvWriteDestroyPathRequestVersionsList),
|
|
344
|
+
}).pipe(T.Http({
|
|
345
|
+
method: "POST",
|
|
346
|
+
uri: "/{kv_mount_path}/destroy/{path}",
|
|
347
|
+
code: 200,
|
|
348
|
+
}))).annotate({
|
|
349
|
+
identifier: "KvWriteDestroyPathRequest",
|
|
350
|
+
});
|
|
351
|
+
export const KvWriteDestroyPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
352
|
+
identifier: "KvWriteDestroyPathResponse",
|
|
353
|
+
});
|
|
354
|
+
export const KvWriteDestroyPathRequestVersionsList2 = /*@__PURE__*/ S.Array(S.Number);
|
|
355
|
+
export const KvWriteDestroyPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
356
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
357
|
+
path: S.String.pipe(T.Label()),
|
|
358
|
+
versions: S.optional(KvWriteDestroyPathRequestVersionsList2),
|
|
359
|
+
}).pipe(T.Http({
|
|
360
|
+
method: "POST",
|
|
361
|
+
uri: "/{secret_mount_path}/destroy/{path}",
|
|
362
|
+
code: 200,
|
|
363
|
+
}))).annotate({
|
|
364
|
+
identifier: "KvWriteDestroyPathRequest2",
|
|
365
|
+
});
|
|
366
|
+
export const KvWriteDestroyPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
367
|
+
identifier: "KvWriteDestroyPath2Response",
|
|
368
|
+
});
|
|
369
|
+
export const KvWriteMetadataPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
370
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
371
|
+
path: S.String.pipe(T.Label()),
|
|
372
|
+
after: S.optional(S.String),
|
|
373
|
+
cas_required: S.optional(S.Boolean),
|
|
374
|
+
custom_metadata: S.optional(S.Unknown),
|
|
375
|
+
delete_version_after: S.optional(S.Number),
|
|
376
|
+
limit: S.optional(S.Number),
|
|
377
|
+
max_versions: S.optional(S.Number),
|
|
378
|
+
metadata_cas: S.optional(S.Number),
|
|
379
|
+
metadata_cas_required: S.optional(S.Boolean),
|
|
380
|
+
}).pipe(T.Http({
|
|
381
|
+
method: "POST",
|
|
382
|
+
uri: "/{kv_mount_path}/metadata/{path}",
|
|
383
|
+
code: 200,
|
|
384
|
+
}))).annotate({
|
|
385
|
+
identifier: "KvWriteMetadataPathRequest",
|
|
386
|
+
});
|
|
387
|
+
export const KvWriteMetadataPathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
388
|
+
identifier: "KvWriteMetadataPathResponse",
|
|
389
|
+
});
|
|
390
|
+
export const KvWriteMetadataPathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
391
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
392
|
+
path: S.String.pipe(T.Label()),
|
|
393
|
+
after: S.optional(S.String),
|
|
394
|
+
cas_required: S.optional(S.Boolean),
|
|
395
|
+
custom_metadata: S.optional(S.Unknown),
|
|
396
|
+
delete_version_after: S.optional(S.Number),
|
|
397
|
+
limit: S.optional(S.Number),
|
|
398
|
+
max_versions: S.optional(S.Number),
|
|
399
|
+
metadata_cas: S.optional(S.Number),
|
|
400
|
+
metadata_cas_required: S.optional(S.Boolean),
|
|
401
|
+
}).pipe(T.Http({
|
|
402
|
+
method: "POST",
|
|
403
|
+
uri: "/{secret_mount_path}/metadata/{path}",
|
|
404
|
+
code: 200,
|
|
405
|
+
}))).annotate({
|
|
406
|
+
identifier: "KvWriteMetadataPathRequest2",
|
|
407
|
+
});
|
|
408
|
+
export const KvWriteMetadataPath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
409
|
+
identifier: "KvWriteMetadataPath2Response",
|
|
410
|
+
});
|
|
411
|
+
export const KvWriteUndeletePathRequestVersionsList = /*@__PURE__*/ S.Array(S.Number);
|
|
412
|
+
export const KvWriteUndeletePathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
413
|
+
kv_mount_path: S.String.pipe(T.Label()),
|
|
414
|
+
path: S.String.pipe(T.Label()),
|
|
415
|
+
versions: S.optional(KvWriteUndeletePathRequestVersionsList),
|
|
416
|
+
}).pipe(T.Http({
|
|
417
|
+
method: "POST",
|
|
418
|
+
uri: "/{kv_mount_path}/undelete/{path}",
|
|
419
|
+
code: 200,
|
|
420
|
+
}))).annotate({
|
|
421
|
+
identifier: "KvWriteUndeletePathRequest",
|
|
422
|
+
});
|
|
423
|
+
export const KvWriteUndeletePathResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
424
|
+
identifier: "KvWriteUndeletePathResponse",
|
|
425
|
+
});
|
|
426
|
+
export const KvWriteUndeletePathRequestVersionsList2 = /*@__PURE__*/ S.Array(S.Number);
|
|
427
|
+
export const KvWriteUndeletePathRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
428
|
+
secret_mount_path: S.String.pipe(T.Label()),
|
|
429
|
+
path: S.String.pipe(T.Label()),
|
|
430
|
+
versions: S.optional(KvWriteUndeletePathRequestVersionsList2),
|
|
431
|
+
}).pipe(T.Http({
|
|
432
|
+
method: "POST",
|
|
433
|
+
uri: "/{secret_mount_path}/undelete/{path}",
|
|
434
|
+
code: 200,
|
|
435
|
+
}))).annotate({
|
|
436
|
+
identifier: "KvWriteUndeletePathRequest2",
|
|
437
|
+
});
|
|
438
|
+
export const KvWriteUndeletePath2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
439
|
+
identifier: "KvWriteUndeletePath2Response",
|
|
440
|
+
});
|
|
441
|
+
export const kvDeleteDataPath = /*@__PURE__*/ API.make(() => ({
|
|
442
|
+
input: KvDeleteDataPathRequest,
|
|
443
|
+
output: KvDeleteDataPathResponse,
|
|
444
|
+
errors: [],
|
|
445
|
+
protocol: OpenBaoProtocol,
|
|
446
|
+
retry: Retry.Retry,
|
|
447
|
+
}));
|
|
448
|
+
export const kvDeleteDataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
449
|
+
input: KvDeleteDataPathRequest2,
|
|
450
|
+
output: KvDeleteDataPath2Response,
|
|
451
|
+
errors: [],
|
|
452
|
+
protocol: OpenBaoProtocol,
|
|
453
|
+
retry: Retry.Retry,
|
|
454
|
+
}));
|
|
455
|
+
export const kvDeleteMetadataPath = /*@__PURE__*/ API.make(() => ({
|
|
456
|
+
input: KvDeleteMetadataPathRequest,
|
|
457
|
+
output: KvDeleteMetadataPathResponse,
|
|
458
|
+
errors: [],
|
|
459
|
+
protocol: OpenBaoProtocol,
|
|
460
|
+
retry: Retry.Retry,
|
|
461
|
+
}));
|
|
462
|
+
export const kvDeleteMetadataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
463
|
+
input: KvDeleteMetadataPathRequest2,
|
|
464
|
+
output: KvDeleteMetadataPath2Response,
|
|
465
|
+
errors: [],
|
|
466
|
+
protocol: OpenBaoProtocol,
|
|
467
|
+
retry: Retry.Retry,
|
|
468
|
+
}));
|
|
469
|
+
export const kvPatchDataPath = /*@__PURE__*/ API.make(() => ({
|
|
470
|
+
input: KvPatchDataPathRequest,
|
|
471
|
+
output: KvPatchDataPathResponse,
|
|
472
|
+
errors: [],
|
|
473
|
+
protocol: OpenBaoProtocol,
|
|
474
|
+
retry: Retry.Retry,
|
|
475
|
+
}));
|
|
476
|
+
export const kvPatchDataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
477
|
+
input: KvPatchDataPathRequest2,
|
|
478
|
+
output: KvPatchDataPath2Response,
|
|
479
|
+
errors: [],
|
|
480
|
+
protocol: OpenBaoProtocol,
|
|
481
|
+
retry: Retry.Retry,
|
|
482
|
+
}));
|
|
483
|
+
export const kvPatchMetadataPath = /*@__PURE__*/ API.make(() => ({
|
|
484
|
+
input: KvPatchMetadataPathRequest,
|
|
485
|
+
output: KvPatchMetadataPathResponse,
|
|
486
|
+
errors: [],
|
|
487
|
+
protocol: OpenBaoProtocol,
|
|
488
|
+
retry: Retry.Retry,
|
|
489
|
+
}));
|
|
490
|
+
export const kvPatchMetadataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
491
|
+
input: KvPatchMetadataPathRequest2,
|
|
492
|
+
output: KvPatchMetadataPath2Response,
|
|
493
|
+
errors: [],
|
|
494
|
+
protocol: OpenBaoProtocol,
|
|
495
|
+
retry: Retry.Retry,
|
|
496
|
+
}));
|
|
497
|
+
/** Read the backend level settings. */
|
|
498
|
+
export const kvReadConfig = /*@__PURE__*/ API.make(() => ({
|
|
499
|
+
input: KvReadConfigRequest,
|
|
500
|
+
output: KvReadConfigResponse,
|
|
501
|
+
errors: [],
|
|
502
|
+
protocol: OpenBaoProtocol,
|
|
503
|
+
retry: Retry.Retry,
|
|
504
|
+
}));
|
|
505
|
+
/** Read the backend level settings. */
|
|
506
|
+
export const kvReadConfig2 = /*@__PURE__*/ API.make(() => ({
|
|
507
|
+
input: KvReadConfigRequest2,
|
|
508
|
+
output: KvReadConfig2Response,
|
|
509
|
+
errors: [],
|
|
510
|
+
protocol: OpenBaoProtocol,
|
|
511
|
+
retry: Retry.Retry,
|
|
512
|
+
}));
|
|
513
|
+
export const kvReadDataPath = /*@__PURE__*/ API.make(() => ({
|
|
514
|
+
input: KvReadDataPathRequest,
|
|
515
|
+
output: KvReadDataPathResponse,
|
|
516
|
+
errors: [],
|
|
517
|
+
protocol: OpenBaoProtocol,
|
|
518
|
+
retry: Retry.Retry,
|
|
519
|
+
}));
|
|
520
|
+
export const kvReadDataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
521
|
+
input: KvReadDataPathRequest2,
|
|
522
|
+
output: KvReadDataPath2Response,
|
|
523
|
+
errors: [],
|
|
524
|
+
protocol: OpenBaoProtocol,
|
|
525
|
+
retry: Retry.Retry,
|
|
526
|
+
}));
|
|
527
|
+
export const kvReadMetadataPath = /*@__PURE__*/ API.make(() => ({
|
|
528
|
+
input: KvReadMetadataPathRequest,
|
|
529
|
+
output: KvReadMetadataPathResponse,
|
|
530
|
+
errors: [],
|
|
531
|
+
protocol: OpenBaoProtocol,
|
|
532
|
+
retry: Retry.Retry,
|
|
533
|
+
}));
|
|
534
|
+
export const kvReadMetadataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
535
|
+
input: KvReadMetadataPathRequest2,
|
|
536
|
+
output: KvReadMetadataPath2Response,
|
|
537
|
+
errors: [],
|
|
538
|
+
protocol: OpenBaoProtocol,
|
|
539
|
+
retry: Retry.Retry,
|
|
540
|
+
}));
|
|
541
|
+
export const kvReadSubkeysPath = /*@__PURE__*/ API.make(() => ({
|
|
542
|
+
input: KvReadSubkeysPathRequest,
|
|
543
|
+
output: KvReadSubkeysPathResponse,
|
|
544
|
+
errors: [],
|
|
545
|
+
protocol: OpenBaoProtocol,
|
|
546
|
+
retry: Retry.Retry,
|
|
547
|
+
}));
|
|
548
|
+
export const kvReadSubkeysPath2 = /*@__PURE__*/ API.make(() => ({
|
|
549
|
+
input: KvReadSubkeysPathRequest2,
|
|
550
|
+
output: KvReadSubkeysPath2Response,
|
|
551
|
+
errors: [],
|
|
552
|
+
protocol: OpenBaoProtocol,
|
|
553
|
+
retry: Retry.Retry,
|
|
554
|
+
}));
|
|
555
|
+
export const kvScanDetailedMetadataPath = /*@__PURE__*/ API.make(() => ({
|
|
556
|
+
input: KvScanDetailedMetadataPathRequest,
|
|
557
|
+
output: KvScanDetailedMetadataPathResponse,
|
|
558
|
+
errors: [],
|
|
559
|
+
protocol: OpenBaoProtocol,
|
|
560
|
+
retry: Retry.Retry,
|
|
561
|
+
}));
|
|
562
|
+
export const kvScanDetailedMetadataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
563
|
+
input: KvScanDetailedMetadataPathRequest2,
|
|
564
|
+
output: KvScanDetailedMetadataPath2Response,
|
|
565
|
+
errors: [],
|
|
566
|
+
protocol: OpenBaoProtocol,
|
|
567
|
+
retry: Retry.Retry,
|
|
568
|
+
}));
|
|
569
|
+
/** Configure backend level settings that are applied to every key in the key-value store. */
|
|
570
|
+
export const kvWriteConfig = /*@__PURE__*/ API.make(() => ({
|
|
571
|
+
input: KvWriteConfigRequest,
|
|
572
|
+
output: KvWriteConfigResponse,
|
|
573
|
+
errors: [],
|
|
574
|
+
protocol: OpenBaoProtocol,
|
|
575
|
+
retry: Retry.Retry,
|
|
576
|
+
}));
|
|
577
|
+
/** Configure backend level settings that are applied to every key in the key-value store. */
|
|
578
|
+
export const kvWriteConfig2 = /*@__PURE__*/ API.make(() => ({
|
|
579
|
+
input: KvWriteConfigRequest2,
|
|
580
|
+
output: KvWriteConfig2Response,
|
|
581
|
+
errors: [],
|
|
582
|
+
protocol: OpenBaoProtocol,
|
|
583
|
+
retry: Retry.Retry,
|
|
584
|
+
}));
|
|
585
|
+
export const kvWriteDataPath = /*@__PURE__*/ API.make(() => ({
|
|
586
|
+
input: KvWriteDataPathRequest,
|
|
587
|
+
output: KvWriteDataPathResponse,
|
|
588
|
+
errors: [],
|
|
589
|
+
protocol: OpenBaoProtocol,
|
|
590
|
+
retry: Retry.Retry,
|
|
591
|
+
}));
|
|
592
|
+
export const kvWriteDataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
593
|
+
input: KvWriteDataPathRequest2,
|
|
594
|
+
output: KvWriteDataPath2Response,
|
|
595
|
+
errors: [],
|
|
596
|
+
protocol: OpenBaoProtocol,
|
|
597
|
+
retry: Retry.Retry,
|
|
598
|
+
}));
|
|
599
|
+
export const kvWriteDeletePath = /*@__PURE__*/ API.make(() => ({
|
|
600
|
+
input: KvWriteDeletePathRequest,
|
|
601
|
+
output: KvWriteDeletePathResponse,
|
|
602
|
+
errors: [],
|
|
603
|
+
protocol: OpenBaoProtocol,
|
|
604
|
+
retry: Retry.Retry,
|
|
605
|
+
}));
|
|
606
|
+
export const kvWriteDeletePath2 = /*@__PURE__*/ API.make(() => ({
|
|
607
|
+
input: KvWriteDeletePathRequest2,
|
|
608
|
+
output: KvWriteDeletePath2Response,
|
|
609
|
+
errors: [],
|
|
610
|
+
protocol: OpenBaoProtocol,
|
|
611
|
+
retry: Retry.Retry,
|
|
612
|
+
}));
|
|
613
|
+
export const kvWriteDestroyPath = /*@__PURE__*/ API.make(() => ({
|
|
614
|
+
input: KvWriteDestroyPathRequest,
|
|
615
|
+
output: KvWriteDestroyPathResponse,
|
|
616
|
+
errors: [],
|
|
617
|
+
protocol: OpenBaoProtocol,
|
|
618
|
+
retry: Retry.Retry,
|
|
619
|
+
}));
|
|
620
|
+
export const kvWriteDestroyPath2 = /*@__PURE__*/ API.make(() => ({
|
|
621
|
+
input: KvWriteDestroyPathRequest2,
|
|
622
|
+
output: KvWriteDestroyPath2Response,
|
|
623
|
+
errors: [],
|
|
624
|
+
protocol: OpenBaoProtocol,
|
|
625
|
+
retry: Retry.Retry,
|
|
626
|
+
}));
|
|
627
|
+
export const kvWriteMetadataPath = /*@__PURE__*/ API.make(() => ({
|
|
628
|
+
input: KvWriteMetadataPathRequest,
|
|
629
|
+
output: KvWriteMetadataPathResponse,
|
|
630
|
+
errors: [],
|
|
631
|
+
protocol: OpenBaoProtocol,
|
|
632
|
+
retry: Retry.Retry,
|
|
633
|
+
}));
|
|
634
|
+
export const kvWriteMetadataPath2 = /*@__PURE__*/ API.make(() => ({
|
|
635
|
+
input: KvWriteMetadataPathRequest2,
|
|
636
|
+
output: KvWriteMetadataPath2Response,
|
|
637
|
+
errors: [],
|
|
638
|
+
protocol: OpenBaoProtocol,
|
|
639
|
+
retry: Retry.Retry,
|
|
640
|
+
}));
|
|
641
|
+
export const kvWriteUndeletePath = /*@__PURE__*/ API.make(() => ({
|
|
642
|
+
input: KvWriteUndeletePathRequest,
|
|
643
|
+
output: KvWriteUndeletePathResponse,
|
|
644
|
+
errors: [],
|
|
645
|
+
protocol: OpenBaoProtocol,
|
|
646
|
+
retry: Retry.Retry,
|
|
647
|
+
}));
|
|
648
|
+
export const kvWriteUndeletePath2 = /*@__PURE__*/ API.make(() => ({
|
|
649
|
+
input: KvWriteUndeletePathRequest2,
|
|
650
|
+
output: KvWriteUndeletePath2Response,
|
|
651
|
+
errors: [],
|
|
652
|
+
protocol: OpenBaoProtocol,
|
|
653
|
+
retry: Retry.Retry,
|
|
654
|
+
}));
|
|
655
|
+
//# sourceMappingURL=kv.js.map
|