@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.
Files changed (313) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +78 -0
  3. package/dist/credentials.d.ts +32 -0
  4. package/dist/credentials.d.ts.map +1 -0
  5. package/dist/credentials.js +66 -0
  6. package/dist/credentials.js.map +1 -0
  7. package/dist/credentials.test.d.ts +2 -0
  8. package/dist/credentials.test.d.ts.map +1 -0
  9. package/dist/credentials.test.js +29 -0
  10. package/dist/credentials.test.js.map +1 -0
  11. package/dist/errors.d.ts +57 -0
  12. package/dist/errors.d.ts.map +1 -0
  13. package/dist/errors.js +37 -0
  14. package/dist/errors.js.map +1 -0
  15. package/dist/index.d.ts +30 -0
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +30 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/protocol.d.ts +18 -0
  20. package/dist/protocol.d.ts.map +1 -0
  21. package/dist/protocol.js +96 -0
  22. package/dist/protocol.js.map +1 -0
  23. package/dist/protocol.test.d.ts +2 -0
  24. package/dist/protocol.test.d.ts.map +1 -0
  25. package/dist/protocol.test.js +78 -0
  26. package/dist/protocol.test.js.map +1 -0
  27. package/dist/retry.d.ts +60 -0
  28. package/dist/retry.d.ts.map +1 -0
  29. package/dist/retry.js +53 -0
  30. package/dist/retry.js.map +1 -0
  31. package/dist/services/alias.d.ts +73 -0
  32. package/dist/services/alias.d.ts.map +1 -0
  33. package/dist/services/alias.js +91 -0
  34. package/dist/services/alias.js.map +1 -0
  35. package/dist/services/approle.d.ts +918 -0
  36. package/dist/services/approle.d.ts.map +1 -0
  37. package/dist/services/approle.js +1206 -0
  38. package/dist/services/approle.js.map +1 -0
  39. package/dist/services/auditing.d.ts +97 -0
  40. package/dist/services/auditing.d.ts.map +1 -0
  41. package/dist/services/auditing.js +158 -0
  42. package/dist/services/auditing.js.map +1 -0
  43. package/dist/services/auth.d.ts +160 -0
  44. package/dist/services/auth.d.ts.map +1 -0
  45. package/dist/services/auth.js +169 -0
  46. package/dist/services/auth.js.map +1 -0
  47. package/dist/services/collect.d.ts +35 -0
  48. package/dist/services/collect.d.ts.map +1 -0
  49. package/dist/services/collect.js +46 -0
  50. package/dist/services/collect.js.map +1 -0
  51. package/dist/services/configure.d.ts +35 -0
  52. package/dist/services/configure.d.ts.map +1 -0
  53. package/dist/services/configure.js +43 -0
  54. package/dist/services/configure.js.map +1 -0
  55. package/dist/services/cors.d.ts +54 -0
  56. package/dist/services/cors.d.ts.map +1 -0
  57. package/dist/services/cors.js +65 -0
  58. package/dist/services/cors.js.map +1 -0
  59. package/dist/services/cubbyhole.d.ts +40 -0
  60. package/dist/services/cubbyhole.d.ts.map +1 -0
  61. package/dist/services/cubbyhole.js +56 -0
  62. package/dist/services/cubbyhole.js.map +1 -0
  63. package/dist/services/database.d.ts +278 -0
  64. package/dist/services/database.d.ts.map +1 -0
  65. package/dist/services/database.js +384 -0
  66. package/dist/services/database.js.map +1 -0
  67. package/dist/services/decode.d.ts +18 -0
  68. package/dist/services/decode.d.ts.map +1 -0
  69. package/dist/services/decode.js +24 -0
  70. package/dist/services/decode.js.map +1 -0
  71. package/dist/services/entity.d.ts +257 -0
  72. package/dist/services/entity.d.ts.map +1 -0
  73. package/dist/services/entity.js +313 -0
  74. package/dist/services/entity.js.map +1 -0
  75. package/dist/services/generate.d.ts +136 -0
  76. package/dist/services/generate.d.ts.map +1 -0
  77. package/dist/services/generate.js +188 -0
  78. package/dist/services/generate.js.map +1 -0
  79. package/dist/services/group.d.ts +244 -0
  80. package/dist/services/group.d.ts.map +1 -0
  81. package/dist/services/group.js +277 -0
  82. package/dist/services/group.js.map +1 -0
  83. package/dist/services/ha.d.ts +17 -0
  84. package/dist/services/ha.d.ts.map +1 -0
  85. package/dist/services/ha.js +24 -0
  86. package/dist/services/ha.js.map +1 -0
  87. package/dist/services/index.d.ts +54 -0
  88. package/dist/services/index.d.ts.map +1 -0
  89. package/dist/services/index.js +55 -0
  90. package/dist/services/index.js.map +1 -0
  91. package/dist/services/initialize.d.ts +34 -0
  92. package/dist/services/initialize.d.ts.map +1 -0
  93. package/dist/services/initialize.js +31 -0
  94. package/dist/services/initialize.js.map +1 -0
  95. package/dist/services/internal.d.ts +131 -0
  96. package/dist/services/internal.d.ts.map +1 -0
  97. package/dist/services/internal.js +199 -0
  98. package/dist/services/internal.js.map +1 -0
  99. package/dist/services/jwt.d.ts +684 -0
  100. package/dist/services/jwt.d.ts.map +1 -0
  101. package/dist/services/jwt.js +801 -0
  102. package/dist/services/jwt.js.map +1 -0
  103. package/dist/services/kubernetes.d.ts +166 -0
  104. package/dist/services/kubernetes.d.ts.map +1 -0
  105. package/dist/services/kubernetes.js +187 -0
  106. package/dist/services/kubernetes.js.map +1 -0
  107. package/dist/services/kv.d.ts +519 -0
  108. package/dist/services/kv.d.ts.map +1 -0
  109. package/dist/services/kv.js +655 -0
  110. package/dist/services/kv.js.map +1 -0
  111. package/dist/services/leader.d.ts +21 -0
  112. package/dist/services/leader.d.ts.map +1 -0
  113. package/dist/services/leader.js +29 -0
  114. package/dist/services/leader.js.map +1 -0
  115. package/dist/services/leases.d.ts +185 -0
  116. package/dist/services/leases.d.ts.map +1 -0
  117. package/dist/services/leases.js +238 -0
  118. package/dist/services/leases.js.map +1 -0
  119. package/dist/services/locked.d.ts +27 -0
  120. package/dist/services/locked.d.ts.map +1 -0
  121. package/dist/services/locked.js +42 -0
  122. package/dist/services/locked.js.map +1 -0
  123. package/dist/services/loggers.d.ts +69 -0
  124. package/dist/services/loggers.d.ts.map +1 -0
  125. package/dist/services/loggers.js +100 -0
  126. package/dist/services/loggers.js.map +1 -0
  127. package/dist/services/mfa.d.ts +386 -0
  128. package/dist/services/mfa.d.ts.map +1 -0
  129. package/dist/services/mfa.js +553 -0
  130. package/dist/services/mfa.js.map +1 -0
  131. package/dist/services/misc.d.ts +103 -0
  132. package/dist/services/misc.d.ts.map +1 -0
  133. package/dist/services/misc.js +120 -0
  134. package/dist/services/misc.js.map +1 -0
  135. package/dist/services/mounts.d.ts +173 -0
  136. package/dist/services/mounts.d.ts.map +1 -0
  137. package/dist/services/mounts.js +168 -0
  138. package/dist/services/mounts.js.map +1 -0
  139. package/dist/services/namespaces.d.ts +257 -0
  140. package/dist/services/namespaces.d.ts.map +1 -0
  141. package/dist/services/namespaces.js +320 -0
  142. package/dist/services/namespaces.js.map +1 -0
  143. package/dist/services/oidc.d.ts +509 -0
  144. package/dist/services/oidc.d.ts.map +1 -0
  145. package/dist/services/oidc.js +718 -0
  146. package/dist/services/oidc.js.map +1 -0
  147. package/dist/services/persona.d.ts +73 -0
  148. package/dist/services/persona.d.ts.map +1 -0
  149. package/dist/services/persona.js +91 -0
  150. package/dist/services/persona.js.map +1 -0
  151. package/dist/services/pki.d.ts +5783 -0
  152. package/dist/services/pki.d.ts.map +1 -0
  153. package/dist/services/pki.js +4995 -0
  154. package/dist/services/pki.js.map +1 -0
  155. package/dist/services/plugins.d.ts +203 -0
  156. package/dist/services/plugins.d.ts.map +1 -0
  157. package/dist/services/plugins.js +237 -0
  158. package/dist/services/plugins.js.map +1 -0
  159. package/dist/services/policies.d.ts +250 -0
  160. package/dist/services/policies.d.ts.map +1 -0
  161. package/dist/services/policies.js +312 -0
  162. package/dist/services/policies.js.map +1 -0
  163. package/dist/services/pprof.d.ts +104 -0
  164. package/dist/services/pprof.d.ts.map +1 -0
  165. package/dist/services/pprof.js +161 -0
  166. package/dist/services/pprof.js.map +1 -0
  167. package/dist/services/query.d.ts +65 -0
  168. package/dist/services/query.d.ts.map +1 -0
  169. package/dist/services/query.js +66 -0
  170. package/dist/services/query.js.map +1 -0
  171. package/dist/services/rate.d.ts +102 -0
  172. package/dist/services/rate.d.ts.map +1 -0
  173. package/dist/services/rate.js +129 -0
  174. package/dist/services/rate.js.map +1 -0
  175. package/dist/services/raw.d.ts +85 -0
  176. package/dist/services/raw.d.ts.map +1 -0
  177. package/dist/services/raw.js +116 -0
  178. package/dist/services/raw.js.map +1 -0
  179. package/dist/services/read.d.ts +87 -0
  180. package/dist/services/read.d.ts.map +1 -0
  181. package/dist/services/read.js +123 -0
  182. package/dist/services/read.js.map +1 -0
  183. package/dist/services/rekey.d.ts +184 -0
  184. package/dist/services/rekey.d.ts.map +1 -0
  185. package/dist/services/rekey.js +243 -0
  186. package/dist/services/rekey.js.map +1 -0
  187. package/dist/services/reload.d.ts +15 -0
  188. package/dist/services/reload.d.ts.map +1 -0
  189. package/dist/services/reload.js +27 -0
  190. package/dist/services/reload.js.map +1 -0
  191. package/dist/services/remount.d.ts +18 -0
  192. package/dist/services/remount.d.ts.map +1 -0
  193. package/dist/services/remount.js +30 -0
  194. package/dist/services/remount.js.map +1 -0
  195. package/dist/services/root.d.ts +134 -0
  196. package/dist/services/root.d.ts.map +1 -0
  197. package/dist/services/root.js +180 -0
  198. package/dist/services/root.js.map +1 -0
  199. package/dist/services/rotate.d.ts +367 -0
  200. package/dist/services/rotate.d.ts.map +1 -0
  201. package/dist/services/rotate.js +473 -0
  202. package/dist/services/rotate.js.map +1 -0
  203. package/dist/services/seal.d.ts +29 -0
  204. package/dist/services/seal.d.ts.map +1 -0
  205. package/dist/services/seal.js +37 -0
  206. package/dist/services/seal.js.map +1 -0
  207. package/dist/services/ssh.d.ts +491 -0
  208. package/dist/services/ssh.d.ts.map +1 -0
  209. package/dist/services/ssh.js +582 -0
  210. package/dist/services/ssh.js.map +1 -0
  211. package/dist/services/status.d.ts +17 -0
  212. package/dist/services/status.d.ts.map +1 -0
  213. package/dist/services/status.js +25 -0
  214. package/dist/services/status.js.map +1 -0
  215. package/dist/services/step.d.ts +14 -0
  216. package/dist/services/step.d.ts.map +1 -0
  217. package/dist/services/step.js +21 -0
  218. package/dist/services/step.js.map +1 -0
  219. package/dist/services/system.d.ts +33 -0
  220. package/dist/services/system.d.ts.map +1 -0
  221. package/dist/services/system.js +47 -0
  222. package/dist/services/system.js.map +1 -0
  223. package/dist/services/token.d.ts +408 -0
  224. package/dist/services/token.d.ts.map +1 -0
  225. package/dist/services/token.js +415 -0
  226. package/dist/services/token.js.map +1 -0
  227. package/dist/services/ui.d.ts +70 -0
  228. package/dist/services/ui.d.ts.map +1 -0
  229. package/dist/services/ui.js +95 -0
  230. package/dist/services/ui.js.map +1 -0
  231. package/dist/services/update.d.ts +25 -0
  232. package/dist/services/update.d.ts.map +1 -0
  233. package/dist/services/update.js +36 -0
  234. package/dist/services/update.js.map +1 -0
  235. package/dist/services/userpass.d.ts +151 -0
  236. package/dist/services/userpass.d.ts.map +1 -0
  237. package/dist/services/userpass.js +177 -0
  238. package/dist/services/userpass.js.map +1 -0
  239. package/dist/services/version.d.ts +22 -0
  240. package/dist/services/version.d.ts.map +1 -0
  241. package/dist/services/version.js +28 -0
  242. package/dist/services/version.js.map +1 -0
  243. package/dist/services/workflows.d.ts +122 -0
  244. package/dist/services/workflows.d.ts.map +1 -0
  245. package/dist/services/workflows.js +149 -0
  246. package/dist/services/workflows.js.map +1 -0
  247. package/dist/traits.d.ts +11 -0
  248. package/dist/traits.d.ts.map +1 -0
  249. package/dist/traits.js +12 -0
  250. package/dist/traits.js.map +1 -0
  251. package/package.json +75 -0
  252. package/src/credentials.test.ts +36 -0
  253. package/src/credentials.ts +100 -0
  254. package/src/errors.ts +73 -0
  255. package/src/index.ts +33 -0
  256. package/src/protocol.test.ts +123 -0
  257. package/src/protocol.ts +120 -0
  258. package/src/retry.ts +84 -0
  259. package/src/services/alias.ts +208 -0
  260. package/src/services/approle.ts +2750 -0
  261. package/src/services/auditing.ts +318 -0
  262. package/src/services/auth.ts +416 -0
  263. package/src/services/collect.ts +103 -0
  264. package/src/services/configure.ts +94 -0
  265. package/src/services/cors.ts +155 -0
  266. package/src/services/cubbyhole.ts +117 -0
  267. package/src/services/database.ts +854 -0
  268. package/src/services/decode.ts +49 -0
  269. package/src/services/entity.ts +744 -0
  270. package/src/services/generate.ts +409 -0
  271. package/src/services/group.ts +677 -0
  272. package/src/services/ha.ts +52 -0
  273. package/src/services/index.ts +54 -0
  274. package/src/services/initialize.ts +76 -0
  275. package/src/services/internal.ts +425 -0
  276. package/src/services/jwt.ts +1838 -0
  277. package/src/services/kubernetes.ts +446 -0
  278. package/src/services/kv.ts +1480 -0
  279. package/src/services/leader.ts +57 -0
  280. package/src/services/leases.ts +532 -0
  281. package/src/services/locked.ts +86 -0
  282. package/src/services/loggers.ts +215 -0
  283. package/src/services/mfa.ts +1193 -0
  284. package/src/services/misc.ts +286 -0
  285. package/src/services/mounts.ts +428 -0
  286. package/src/services/namespaces.ts +707 -0
  287. package/src/services/oidc.ts +1613 -0
  288. package/src/services/persona.ts +210 -0
  289. package/src/services/pki.ts +13320 -0
  290. package/src/services/plugins.ts +549 -0
  291. package/src/services/policies.ts +689 -0
  292. package/src/services/pprof.ts +351 -0
  293. package/src/services/query.ts +170 -0
  294. package/src/services/rate.ts +303 -0
  295. package/src/services/raw.ts +244 -0
  296. package/src/services/read.ts +266 -0
  297. package/src/services/rekey.ts +540 -0
  298. package/src/services/reload.ts +51 -0
  299. package/src/services/remount.ts +58 -0
  300. package/src/services/root.ts +393 -0
  301. package/src/services/rotate.ts +1088 -0
  302. package/src/services/seal.ts +75 -0
  303. package/src/services/ssh.ts +1351 -0
  304. package/src/services/status.ts +51 -0
  305. package/src/services/step.ts +43 -0
  306. package/src/services/system.ts +98 -0
  307. package/src/services/token.ts +1046 -0
  308. package/src/services/ui.ts +207 -0
  309. package/src/services/update.ts +73 -0
  310. package/src/services/userpass.ts +410 -0
  311. package/src/services/version.ts +60 -0
  312. package/src/services/workflows.ts +327 -0
  313. package/src/traits.ts +45 -0
@@ -0,0 +1,1088 @@
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.ts";
5
+ import {
6
+ OpenBaoProtocol,
7
+ type OpenBaoOpError,
8
+ type OpenBaoOpContext,
9
+ } from "../protocol.ts";
10
+ import * as Retry from "../retry.ts";
11
+
12
+ export type { OpenBaoOpError, OpenBaoOpContext };
13
+
14
+ export interface RotateAttemptCancelRequest {}
15
+ export const RotateAttemptCancelRequest = /*@__PURE__*/ S.suspend(() =>
16
+ S.Struct({}).pipe(
17
+ T.Http({ method: "DELETE", uri: "/sys/rotate/root/init", code: 200 }),
18
+ ),
19
+ ).annotate({
20
+ identifier: "RotateAttemptCancelRequest",
21
+ }) as any as S.Schema<RotateAttemptCancelRequest>;
22
+
23
+ export interface RotateAttemptCancelResponse {}
24
+ export const RotateAttemptCancelResponse = /*@__PURE__*/ S.suspend(() =>
25
+ S.Struct({}),
26
+ ).annotate({
27
+ identifier: "RotateAttemptCancelResponse",
28
+ }) as any as S.Schema<RotateAttemptCancelResponse>;
29
+
30
+ export interface RotateAttemptCancelRotateRecoveryInitRequest {}
31
+ export const RotateAttemptCancelRotateRecoveryInitRequest =
32
+ /*@__PURE__*/ S.suspend(() =>
33
+ S.Struct({}).pipe(
34
+ T.Http({ method: "DELETE", uri: "/sys/rotate/recovery/init", code: 200 }),
35
+ ),
36
+ ).annotate({
37
+ identifier: "RotateAttemptCancelRotateRecoveryInitRequest",
38
+ }) as any as S.Schema<RotateAttemptCancelRotateRecoveryInitRequest>;
39
+
40
+ export interface RotateAttemptCancelRotateRecoveryInitResponse {}
41
+ export const RotateAttemptCancelRotateRecoveryInitResponse =
42
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
43
+ identifier: "RotateAttemptCancelRotateRecoveryInitResponse",
44
+ }) as any as S.Schema<RotateAttemptCancelRotateRecoveryInitResponse>;
45
+
46
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
47
+ export type RotateAttemptInitializeRequestPgpKeysList = Array<string>;
48
+ export const RotateAttemptInitializeRequestPgpKeysList = /*@__PURE__*/ S.Array(
49
+ S.String,
50
+ ) as any as S.Schema<RotateAttemptInitializeRequestPgpKeysList>;
51
+
52
+ export interface RotateAttemptInitializeRequest {
53
+ /** Specifies if using PGP-encrypted keys, whether OpenBao should also store a plaintext backup of the said keys. */
54
+ backup?: boolean;
55
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
56
+ pgp_keys?: RotateAttemptInitializeRequestPgpKeysList;
57
+ /** Enables verification which after successful authorization with the current unseal keys, ensures the new unseal keys are returned but the root key is not actually rotated. */
58
+ require_verification?: boolean;
59
+ /** Specifies the number of shares to split the root key into. */
60
+ secret_shares: number;
61
+ /** Specifies the number of shares required to reconstruct the root key. */
62
+ secret_threshold: number;
63
+ }
64
+ export const RotateAttemptInitializeRequest = /*@__PURE__*/ S.suspend(() =>
65
+ S.Struct({
66
+ backup: S.optional(S.Boolean),
67
+ pgp_keys: S.optional(RotateAttemptInitializeRequestPgpKeysList),
68
+ require_verification: S.optional(S.Boolean),
69
+ secret_shares: S.Number,
70
+ secret_threshold: S.Number,
71
+ }).pipe(T.Http({ method: "POST", uri: "/sys/rotate/root/init", code: 200 })),
72
+ ).annotate({
73
+ identifier: "RotateAttemptInitializeRequest",
74
+ }) as any as S.Schema<RotateAttemptInitializeRequest>;
75
+
76
+ export type RotateAttemptInitializeResponseKeysList = Array<string>;
77
+ export const RotateAttemptInitializeResponseKeysList = /*@__PURE__*/ S.Array(
78
+ S.String,
79
+ ) as any as S.Schema<RotateAttemptInitializeResponseKeysList>;
80
+
81
+ export type RotateAttemptInitializeResponseKeysBase64List = Array<string>;
82
+ export const RotateAttemptInitializeResponseKeysBase64List =
83
+ /*@__PURE__*/ S.Array(
84
+ S.String,
85
+ ) as any as S.Schema<RotateAttemptInitializeResponseKeysBase64List>;
86
+
87
+ export type RotateAttemptInitializeResponsePgpFingerprintsList = Array<string>;
88
+ export const RotateAttemptInitializeResponsePgpFingerprintsList =
89
+ /*@__PURE__*/ S.Array(
90
+ S.String,
91
+ ) as any as S.Schema<RotateAttemptInitializeResponsePgpFingerprintsList>;
92
+
93
+ export interface RotateAttemptInitializeResponse {
94
+ backup?: boolean;
95
+ complete?: boolean;
96
+ keys?: RotateAttemptInitializeResponseKeysList;
97
+ keys_base64?: RotateAttemptInitializeResponseKeysBase64List;
98
+ n?: number;
99
+ nonce?: string;
100
+ pgp_fingerprints?: RotateAttemptInitializeResponsePgpFingerprintsList;
101
+ progress?: number;
102
+ required?: number;
103
+ started?: boolean;
104
+ t?: number;
105
+ verification_nonce?: string;
106
+ verification_required?: boolean;
107
+ }
108
+ export const RotateAttemptInitializeResponse = /*@__PURE__*/ S.suspend(() =>
109
+ S.Struct({
110
+ backup: S.optional(S.Boolean),
111
+ complete: S.optional(S.Boolean),
112
+ keys: S.optional(RotateAttemptInitializeResponseKeysList),
113
+ keys_base64: S.optional(RotateAttemptInitializeResponseKeysBase64List),
114
+ n: S.optional(S.Number),
115
+ nonce: S.optional(S.String),
116
+ pgp_fingerprints: S.optional(
117
+ RotateAttemptInitializeResponsePgpFingerprintsList,
118
+ ),
119
+ progress: S.optional(S.Number),
120
+ required: S.optional(S.Number),
121
+ started: S.optional(S.Boolean),
122
+ t: S.optional(S.Number),
123
+ verification_nonce: S.optional(S.String),
124
+ verification_required: S.optional(S.Boolean),
125
+ }),
126
+ ).annotate({
127
+ identifier: "RotateAttemptInitializeResponse",
128
+ }) as any as S.Schema<RotateAttemptInitializeResponse>;
129
+
130
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
131
+ export type RotateAttemptInitializeRotateRecoveryInitRequestPgpKeysList =
132
+ Array<string>;
133
+ export const RotateAttemptInitializeRotateRecoveryInitRequestPgpKeysList =
134
+ /*@__PURE__*/ S.Array(
135
+ S.String,
136
+ ) as any as S.Schema<RotateAttemptInitializeRotateRecoveryInitRequestPgpKeysList>;
137
+
138
+ export interface RotateAttemptInitializeRotateRecoveryInitRequest {
139
+ /** Specifies if using PGP-encrypted keys, whether OpenBao should also store a plaintext backup of the said keys. */
140
+ backup?: boolean;
141
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
142
+ pgp_keys?: RotateAttemptInitializeRotateRecoveryInitRequestPgpKeysList;
143
+ /** Enables verification which after successful authorization with the current unseal keys, ensures the new unseal keys are returned but the root key is not actually rotated. */
144
+ require_verification?: boolean;
145
+ /** Specifies the number of shares to split the root key into. */
146
+ secret_shares: number;
147
+ /** Specifies the number of shares required to reconstruct the root key. */
148
+ secret_threshold: number;
149
+ }
150
+ export const RotateAttemptInitializeRotateRecoveryInitRequest =
151
+ /*@__PURE__*/ S.suspend(() =>
152
+ S.Struct({
153
+ backup: S.optional(S.Boolean),
154
+ pgp_keys: S.optional(
155
+ RotateAttemptInitializeRotateRecoveryInitRequestPgpKeysList,
156
+ ),
157
+ require_verification: S.optional(S.Boolean),
158
+ secret_shares: S.Number,
159
+ secret_threshold: S.Number,
160
+ }).pipe(
161
+ T.Http({ method: "POST", uri: "/sys/rotate/recovery/init", code: 200 }),
162
+ ),
163
+ ).annotate({
164
+ identifier: "RotateAttemptInitializeRotateRecoveryInitRequest",
165
+ }) as any as S.Schema<RotateAttemptInitializeRotateRecoveryInitRequest>;
166
+
167
+ export type RotateAttemptInitializeRotateRecoveryInitResponseKeysList =
168
+ Array<string>;
169
+ export const RotateAttemptInitializeRotateRecoveryInitResponseKeysList =
170
+ /*@__PURE__*/ S.Array(
171
+ S.String,
172
+ ) as any as S.Schema<RotateAttemptInitializeRotateRecoveryInitResponseKeysList>;
173
+
174
+ export type RotateAttemptInitializeRotateRecoveryInitResponseKeysBase64List =
175
+ Array<string>;
176
+ export const RotateAttemptInitializeRotateRecoveryInitResponseKeysBase64List =
177
+ /*@__PURE__*/ S.Array(
178
+ S.String,
179
+ ) as any as S.Schema<RotateAttemptInitializeRotateRecoveryInitResponseKeysBase64List>;
180
+
181
+ export type RotateAttemptInitializeRotateRecoveryInitResponsePgpFingerprintsList =
182
+ Array<string>;
183
+ export const RotateAttemptInitializeRotateRecoveryInitResponsePgpFingerprintsList =
184
+ /*@__PURE__*/ S.Array(
185
+ S.String,
186
+ ) as any as S.Schema<RotateAttemptInitializeRotateRecoveryInitResponsePgpFingerprintsList>;
187
+
188
+ export interface RotateAttemptInitializeRotateRecoveryInitResponse {
189
+ backup?: boolean;
190
+ complete?: boolean;
191
+ keys?: RotateAttemptInitializeRotateRecoveryInitResponseKeysList;
192
+ keys_base64?: RotateAttemptInitializeRotateRecoveryInitResponseKeysBase64List;
193
+ n?: number;
194
+ nonce?: string;
195
+ pgp_fingerprints?: RotateAttemptInitializeRotateRecoveryInitResponsePgpFingerprintsList;
196
+ progress?: number;
197
+ required?: number;
198
+ started?: boolean;
199
+ t?: number;
200
+ verification_nonce?: string;
201
+ verification_required?: boolean;
202
+ }
203
+ export const RotateAttemptInitializeRotateRecoveryInitResponse =
204
+ /*@__PURE__*/ S.suspend(() =>
205
+ S.Struct({
206
+ backup: S.optional(S.Boolean),
207
+ complete: S.optional(S.Boolean),
208
+ keys: S.optional(
209
+ RotateAttemptInitializeRotateRecoveryInitResponseKeysList,
210
+ ),
211
+ keys_base64: S.optional(
212
+ RotateAttemptInitializeRotateRecoveryInitResponseKeysBase64List,
213
+ ),
214
+ n: S.optional(S.Number),
215
+ nonce: S.optional(S.String),
216
+ pgp_fingerprints: S.optional(
217
+ RotateAttemptInitializeRotateRecoveryInitResponsePgpFingerprintsList,
218
+ ),
219
+ progress: S.optional(S.Number),
220
+ required: S.optional(S.Number),
221
+ started: S.optional(S.Boolean),
222
+ t: S.optional(S.Number),
223
+ verification_nonce: S.optional(S.String),
224
+ verification_required: S.optional(S.Boolean),
225
+ }),
226
+ ).annotate({
227
+ identifier: "RotateAttemptInitializeRotateRecoveryInitResponse",
228
+ }) as any as S.Schema<RotateAttemptInitializeRotateRecoveryInitResponse>;
229
+
230
+ export interface RotateAttemptReadProgressRequest {}
231
+ export const RotateAttemptReadProgressRequest = /*@__PURE__*/ S.suspend(() =>
232
+ S.Struct({}).pipe(
233
+ T.Http({ method: "GET", uri: "/sys/rotate/root/init", code: 200 }),
234
+ ),
235
+ ).annotate({
236
+ identifier: "RotateAttemptReadProgressRequest",
237
+ }) as any as S.Schema<RotateAttemptReadProgressRequest>;
238
+
239
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
240
+ export type RotateAttemptReadProgressResponsePgpKeysList = Array<string>;
241
+ export const RotateAttemptReadProgressResponsePgpKeysList =
242
+ /*@__PURE__*/ S.Array(
243
+ S.String,
244
+ ) as any as S.Schema<RotateAttemptReadProgressResponsePgpKeysList>;
245
+
246
+ export interface RotateAttemptReadProgressResponse {
247
+ /** Specifies if using PGP-encrypted keys, whether OpenBao should also store a plaintext backup of the said keys. */
248
+ backup?: boolean;
249
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
250
+ pgp_keys?: RotateAttemptReadProgressResponsePgpKeysList;
251
+ /** Enables verification which after successful authorization with the current unseal keys, ensures the new unseal keys are returned but the root key is not actually rotated. */
252
+ require_verification?: boolean;
253
+ /** Specifies the number of shares to split the root key into. */
254
+ secret_shares?: number;
255
+ /** Specifies the number of shares required to reconstruct the root key. */
256
+ secret_threshold?: number;
257
+ }
258
+ export const RotateAttemptReadProgressResponse = /*@__PURE__*/ S.suspend(() =>
259
+ S.Struct({
260
+ backup: S.optional(S.Boolean),
261
+ pgp_keys: S.optional(RotateAttemptReadProgressResponsePgpKeysList),
262
+ require_verification: S.optional(S.Boolean),
263
+ secret_shares: S.optional(S.Number),
264
+ secret_threshold: S.optional(S.Number),
265
+ }),
266
+ ).annotate({
267
+ identifier: "RotateAttemptReadProgressResponse",
268
+ }) as any as S.Schema<RotateAttemptReadProgressResponse>;
269
+
270
+ export interface RotateAttemptReadRotateRecoveryInitRequest {}
271
+ export const RotateAttemptReadRotateRecoveryInitRequest =
272
+ /*@__PURE__*/ S.suspend(() =>
273
+ S.Struct({}).pipe(
274
+ T.Http({ method: "GET", uri: "/sys/rotate/recovery/init", code: 200 }),
275
+ ),
276
+ ).annotate({
277
+ identifier: "RotateAttemptReadRotateRecoveryInitRequest",
278
+ }) as any as S.Schema<RotateAttemptReadRotateRecoveryInitRequest>;
279
+
280
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
281
+ export type RotateAttemptReadRotateRecoveryInitResponsePgpKeysList =
282
+ Array<string>;
283
+ export const RotateAttemptReadRotateRecoveryInitResponsePgpKeysList =
284
+ /*@__PURE__*/ S.Array(
285
+ S.String,
286
+ ) as any as S.Schema<RotateAttemptReadRotateRecoveryInitResponsePgpKeysList>;
287
+
288
+ export interface RotateAttemptReadRotateRecoveryInitResponse {
289
+ /** Specifies if using PGP-encrypted keys, whether OpenBao should also store a plaintext backup of the said keys. */
290
+ backup?: boolean;
291
+ /** Specifies an array of PGP public keys used to encrypt the output unseal keys. */
292
+ pgp_keys?: RotateAttemptReadRotateRecoveryInitResponsePgpKeysList;
293
+ /** Enables verification which after successful authorization with the current unseal keys, ensures the new unseal keys are returned but the root key is not actually rotated. */
294
+ require_verification?: boolean;
295
+ /** Specifies the number of shares to split the root key into. */
296
+ secret_shares?: number;
297
+ /** Specifies the number of shares required to reconstruct the root key. */
298
+ secret_threshold?: number;
299
+ }
300
+ export const RotateAttemptReadRotateRecoveryInitResponse =
301
+ /*@__PURE__*/ S.suspend(() =>
302
+ S.Struct({
303
+ backup: S.optional(S.Boolean),
304
+ pgp_keys: S.optional(
305
+ RotateAttemptReadRotateRecoveryInitResponsePgpKeysList,
306
+ ),
307
+ require_verification: S.optional(S.Boolean),
308
+ secret_shares: S.optional(S.Number),
309
+ secret_threshold: S.optional(S.Number),
310
+ }),
311
+ ).annotate({
312
+ identifier: "RotateAttemptReadRotateRecoveryInitResponse",
313
+ }) as any as S.Schema<RotateAttemptReadRotateRecoveryInitResponse>;
314
+
315
+ export interface RotateAttemptUpdateRequest {
316
+ /** Specifies a single unseal key share. */
317
+ key?: string;
318
+ /** Specifies the nonce of the rotation attempt. */
319
+ nonce?: string;
320
+ }
321
+ export const RotateAttemptUpdateRequest = /*@__PURE__*/ S.suspend(() =>
322
+ S.Struct({
323
+ key: S.optional(S.String),
324
+ nonce: S.optional(S.String),
325
+ }).pipe(
326
+ T.Http({ method: "POST", uri: "/sys/rotate/root/update", code: 200 }),
327
+ ),
328
+ ).annotate({
329
+ identifier: "RotateAttemptUpdateRequest",
330
+ }) as any as S.Schema<RotateAttemptUpdateRequest>;
331
+
332
+ export type RotateAttemptUpdateResponseKeysList = Array<string>;
333
+ export const RotateAttemptUpdateResponseKeysList = /*@__PURE__*/ S.Array(
334
+ S.String,
335
+ ) as any as S.Schema<RotateAttemptUpdateResponseKeysList>;
336
+
337
+ export type RotateAttemptUpdateResponseKeysBase64List = Array<string>;
338
+ export const RotateAttemptUpdateResponseKeysBase64List = /*@__PURE__*/ S.Array(
339
+ S.String,
340
+ ) as any as S.Schema<RotateAttemptUpdateResponseKeysBase64List>;
341
+
342
+ export type RotateAttemptUpdateResponsePgpFingerprintsList = Array<string>;
343
+ export const RotateAttemptUpdateResponsePgpFingerprintsList =
344
+ /*@__PURE__*/ S.Array(
345
+ S.String,
346
+ ) as any as S.Schema<RotateAttemptUpdateResponsePgpFingerprintsList>;
347
+
348
+ export interface RotateAttemptUpdateResponse {
349
+ backup?: boolean;
350
+ complete?: boolean;
351
+ keys?: RotateAttemptUpdateResponseKeysList;
352
+ keys_base64?: RotateAttemptUpdateResponseKeysBase64List;
353
+ n?: number;
354
+ nonce?: string;
355
+ pgp_fingerprints?: RotateAttemptUpdateResponsePgpFingerprintsList;
356
+ progress?: number;
357
+ required?: number;
358
+ started?: boolean;
359
+ t?: number;
360
+ verification_nonce?: string;
361
+ verification_required?: boolean;
362
+ }
363
+ export const RotateAttemptUpdateResponse = /*@__PURE__*/ S.suspend(() =>
364
+ S.Struct({
365
+ backup: S.optional(S.Boolean),
366
+ complete: S.optional(S.Boolean),
367
+ keys: S.optional(RotateAttemptUpdateResponseKeysList),
368
+ keys_base64: S.optional(RotateAttemptUpdateResponseKeysBase64List),
369
+ n: S.optional(S.Number),
370
+ nonce: S.optional(S.String),
371
+ pgp_fingerprints: S.optional(
372
+ RotateAttemptUpdateResponsePgpFingerprintsList,
373
+ ),
374
+ progress: S.optional(S.Number),
375
+ required: S.optional(S.Number),
376
+ started: S.optional(S.Boolean),
377
+ t: S.optional(S.Number),
378
+ verification_nonce: S.optional(S.String),
379
+ verification_required: S.optional(S.Boolean),
380
+ }),
381
+ ).annotate({
382
+ identifier: "RotateAttemptUpdateResponse",
383
+ }) as any as S.Schema<RotateAttemptUpdateResponse>;
384
+
385
+ export interface RotateAttemptUpdateRotateRecoveryUpdateRequest {
386
+ /** Specifies a single unseal key share. */
387
+ key?: string;
388
+ /** Specifies the nonce of the rotation attempt. */
389
+ nonce?: string;
390
+ }
391
+ export const RotateAttemptUpdateRotateRecoveryUpdateRequest =
392
+ /*@__PURE__*/ S.suspend(() =>
393
+ S.Struct({
394
+ key: S.optional(S.String),
395
+ nonce: S.optional(S.String),
396
+ }).pipe(
397
+ T.Http({ method: "POST", uri: "/sys/rotate/recovery/update", code: 200 }),
398
+ ),
399
+ ).annotate({
400
+ identifier: "RotateAttemptUpdateRotateRecoveryUpdateRequest",
401
+ }) as any as S.Schema<RotateAttemptUpdateRotateRecoveryUpdateRequest>;
402
+
403
+ export type RotateAttemptUpdateRotateRecoveryUpdateResponseKeysList =
404
+ Array<string>;
405
+ export const RotateAttemptUpdateRotateRecoveryUpdateResponseKeysList =
406
+ /*@__PURE__*/ S.Array(
407
+ S.String,
408
+ ) as any as S.Schema<RotateAttemptUpdateRotateRecoveryUpdateResponseKeysList>;
409
+
410
+ export type RotateAttemptUpdateRotateRecoveryUpdateResponseKeysBase64List =
411
+ Array<string>;
412
+ export const RotateAttemptUpdateRotateRecoveryUpdateResponseKeysBase64List =
413
+ /*@__PURE__*/ S.Array(
414
+ S.String,
415
+ ) as any as S.Schema<RotateAttemptUpdateRotateRecoveryUpdateResponseKeysBase64List>;
416
+
417
+ export type RotateAttemptUpdateRotateRecoveryUpdateResponsePgpFingerprintsList =
418
+ Array<string>;
419
+ export const RotateAttemptUpdateRotateRecoveryUpdateResponsePgpFingerprintsList =
420
+ /*@__PURE__*/ S.Array(
421
+ S.String,
422
+ ) as any as S.Schema<RotateAttemptUpdateRotateRecoveryUpdateResponsePgpFingerprintsList>;
423
+
424
+ export interface RotateAttemptUpdateRotateRecoveryUpdateResponse {
425
+ backup?: boolean;
426
+ complete?: boolean;
427
+ keys?: RotateAttemptUpdateRotateRecoveryUpdateResponseKeysList;
428
+ keys_base64?: RotateAttemptUpdateRotateRecoveryUpdateResponseKeysBase64List;
429
+ n?: number;
430
+ nonce?: string;
431
+ pgp_fingerprints?: RotateAttemptUpdateRotateRecoveryUpdateResponsePgpFingerprintsList;
432
+ progress?: number;
433
+ required?: number;
434
+ started?: boolean;
435
+ t?: number;
436
+ verification_nonce?: string;
437
+ verification_required?: boolean;
438
+ }
439
+ export const RotateAttemptUpdateRotateRecoveryUpdateResponse =
440
+ /*@__PURE__*/ S.suspend(() =>
441
+ S.Struct({
442
+ backup: S.optional(S.Boolean),
443
+ complete: S.optional(S.Boolean),
444
+ keys: S.optional(RotateAttemptUpdateRotateRecoveryUpdateResponseKeysList),
445
+ keys_base64: S.optional(
446
+ RotateAttemptUpdateRotateRecoveryUpdateResponseKeysBase64List,
447
+ ),
448
+ n: S.optional(S.Number),
449
+ nonce: S.optional(S.String),
450
+ pgp_fingerprints: S.optional(
451
+ RotateAttemptUpdateRotateRecoveryUpdateResponsePgpFingerprintsList,
452
+ ),
453
+ progress: S.optional(S.Number),
454
+ required: S.optional(S.Number),
455
+ started: S.optional(S.Boolean),
456
+ t: S.optional(S.Number),
457
+ verification_nonce: S.optional(S.String),
458
+ verification_required: S.optional(S.Boolean),
459
+ }),
460
+ ).annotate({
461
+ identifier: "RotateAttemptUpdateRotateRecoveryUpdateResponse",
462
+ }) as any as S.Schema<RotateAttemptUpdateRotateRecoveryUpdateResponse>;
463
+
464
+ export interface RotateDeleteBackupKeyRequest {}
465
+ export const RotateDeleteBackupKeyRequest = /*@__PURE__*/ S.suspend(() =>
466
+ S.Struct({}).pipe(
467
+ T.Http({ method: "DELETE", uri: "/sys/rotate/root/backup", code: 200 }),
468
+ ),
469
+ ).annotate({
470
+ identifier: "RotateDeleteBackupKeyRequest",
471
+ }) as any as S.Schema<RotateDeleteBackupKeyRequest>;
472
+
473
+ export interface RotateDeleteBackupKeyResponse {}
474
+ export const RotateDeleteBackupKeyResponse = /*@__PURE__*/ S.suspend(() =>
475
+ S.Struct({}),
476
+ ).annotate({
477
+ identifier: "RotateDeleteBackupKeyResponse",
478
+ }) as any as S.Schema<RotateDeleteBackupKeyResponse>;
479
+
480
+ export interface RotateDeleteRotateRecoveryBackupRequest {}
481
+ export const RotateDeleteRotateRecoveryBackupRequest = /*@__PURE__*/ S.suspend(
482
+ () =>
483
+ S.Struct({}).pipe(
484
+ T.Http({
485
+ method: "DELETE",
486
+ uri: "/sys/rotate/recovery/backup",
487
+ code: 200,
488
+ }),
489
+ ),
490
+ ).annotate({
491
+ identifier: "RotateDeleteRotateRecoveryBackupRequest",
492
+ }) as any as S.Schema<RotateDeleteRotateRecoveryBackupRequest>;
493
+
494
+ export interface RotateDeleteRotateRecoveryBackupResponse {}
495
+ export const RotateDeleteRotateRecoveryBackupResponse = /*@__PURE__*/ S.suspend(
496
+ () => S.Struct({}),
497
+ ).annotate({
498
+ identifier: "RotateDeleteRotateRecoveryBackupResponse",
499
+ }) as any as S.Schema<RotateDeleteRotateRecoveryBackupResponse>;
500
+
501
+ export interface RotateEncryptionKeyRequest {}
502
+ export const RotateEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() =>
503
+ S.Struct({}).pipe(T.Http({ method: "POST", uri: "/sys/rotate", code: 200 })),
504
+ ).annotate({
505
+ identifier: "RotateEncryptionKeyRequest",
506
+ }) as any as S.Schema<RotateEncryptionKeyRequest>;
507
+
508
+ export interface RotateEncryptionKeyResponse {}
509
+ export const RotateEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() =>
510
+ S.Struct({}),
511
+ ).annotate({
512
+ identifier: "RotateEncryptionKeyResponse",
513
+ }) as any as S.Schema<RotateEncryptionKeyResponse>;
514
+
515
+ export interface RotateReadBackupKeyRequest {}
516
+ export const RotateReadBackupKeyRequest = /*@__PURE__*/ S.suspend(() =>
517
+ S.Struct({}).pipe(
518
+ T.Http({ method: "GET", uri: "/sys/rotate/root/backup", code: 200 }),
519
+ ),
520
+ ).annotate({
521
+ identifier: "RotateReadBackupKeyRequest",
522
+ }) as any as S.Schema<RotateReadBackupKeyRequest>;
523
+
524
+ export type RotateReadBackupKeyResponseKeysList = Array<string>;
525
+ export const RotateReadBackupKeyResponseKeysList = /*@__PURE__*/ S.Array(
526
+ S.String,
527
+ ) as any as S.Schema<RotateReadBackupKeyResponseKeysList>;
528
+
529
+ export type RotateReadBackupKeyResponseKeysBase64List = Array<string>;
530
+ export const RotateReadBackupKeyResponseKeysBase64List = /*@__PURE__*/ S.Array(
531
+ S.String,
532
+ ) as any as S.Schema<RotateReadBackupKeyResponseKeysBase64List>;
533
+
534
+ export interface RotateReadBackupKeyResponse {
535
+ keys?: RotateReadBackupKeyResponseKeysList;
536
+ keys_base64?: RotateReadBackupKeyResponseKeysBase64List;
537
+ nonce?: string;
538
+ }
539
+ export const RotateReadBackupKeyResponse = /*@__PURE__*/ S.suspend(() =>
540
+ S.Struct({
541
+ keys: S.optional(RotateReadBackupKeyResponseKeysList),
542
+ keys_base64: S.optional(RotateReadBackupKeyResponseKeysBase64List),
543
+ nonce: S.optional(S.String),
544
+ }),
545
+ ).annotate({
546
+ identifier: "RotateReadBackupKeyResponse",
547
+ }) as any as S.Schema<RotateReadBackupKeyResponse>;
548
+
549
+ export interface RotateReadRotateRecoveryBackupRequest {}
550
+ export const RotateReadRotateRecoveryBackupRequest = /*@__PURE__*/ S.suspend(
551
+ () =>
552
+ S.Struct({}).pipe(
553
+ T.Http({ method: "GET", uri: "/sys/rotate/recovery/backup", code: 200 }),
554
+ ),
555
+ ).annotate({
556
+ identifier: "RotateReadRotateRecoveryBackupRequest",
557
+ }) as any as S.Schema<RotateReadRotateRecoveryBackupRequest>;
558
+
559
+ export type RotateReadRotateRecoveryBackupResponseKeysList = Array<string>;
560
+ export const RotateReadRotateRecoveryBackupResponseKeysList =
561
+ /*@__PURE__*/ S.Array(
562
+ S.String,
563
+ ) as any as S.Schema<RotateReadRotateRecoveryBackupResponseKeysList>;
564
+
565
+ export type RotateReadRotateRecoveryBackupResponseKeysBase64List =
566
+ Array<string>;
567
+ export const RotateReadRotateRecoveryBackupResponseKeysBase64List =
568
+ /*@__PURE__*/ S.Array(
569
+ S.String,
570
+ ) as any as S.Schema<RotateReadRotateRecoveryBackupResponseKeysBase64List>;
571
+
572
+ export interface RotateReadRotateRecoveryBackupResponse {
573
+ keys?: RotateReadRotateRecoveryBackupResponseKeysList;
574
+ keys_base64?: RotateReadRotateRecoveryBackupResponseKeysBase64List;
575
+ nonce?: string;
576
+ }
577
+ export const RotateReadRotateRecoveryBackupResponse = /*@__PURE__*/ S.suspend(
578
+ () =>
579
+ S.Struct({
580
+ keys: S.optional(RotateReadRotateRecoveryBackupResponseKeysList),
581
+ keys_base64: S.optional(
582
+ RotateReadRotateRecoveryBackupResponseKeysBase64List,
583
+ ),
584
+ nonce: S.optional(S.String),
585
+ }),
586
+ ).annotate({
587
+ identifier: "RotateReadRotateRecoveryBackupResponse",
588
+ }) as any as S.Schema<RotateReadRotateRecoveryBackupResponse>;
589
+
590
+ export interface RotateRotateKeyringRequest {}
591
+ export const RotateRotateKeyringRequest = /*@__PURE__*/ S.suspend(() =>
592
+ S.Struct({}).pipe(
593
+ T.Http({ method: "POST", uri: "/sys/rotate/keyring", code: 200 }),
594
+ ),
595
+ ).annotate({
596
+ identifier: "RotateRotateKeyringRequest",
597
+ }) as any as S.Schema<RotateRotateKeyringRequest>;
598
+
599
+ export interface RotateRotateKeyringResponse {}
600
+ export const RotateRotateKeyringResponse = /*@__PURE__*/ S.suspend(() =>
601
+ S.Struct({}),
602
+ ).annotate({
603
+ identifier: "RotateRotateKeyringResponse",
604
+ }) as any as S.Schema<RotateRotateKeyringResponse>;
605
+
606
+ export interface RotateVerificationCancelRequest {}
607
+ export const RotateVerificationCancelRequest = /*@__PURE__*/ S.suspend(() =>
608
+ S.Struct({}).pipe(
609
+ T.Http({ method: "DELETE", uri: "/sys/rotate/root/verify", code: 200 }),
610
+ ),
611
+ ).annotate({
612
+ identifier: "RotateVerificationCancelRequest",
613
+ }) as any as S.Schema<RotateVerificationCancelRequest>;
614
+
615
+ export interface RotateVerificationCancelResponse {
616
+ n?: number;
617
+ nonce?: string;
618
+ progress?: number;
619
+ started?: boolean;
620
+ t?: number;
621
+ }
622
+ export const RotateVerificationCancelResponse = /*@__PURE__*/ S.suspend(() =>
623
+ S.Struct({
624
+ n: S.optional(S.Number),
625
+ nonce: S.optional(S.String),
626
+ progress: S.optional(S.Number),
627
+ started: S.optional(S.Boolean),
628
+ t: S.optional(S.Number),
629
+ }),
630
+ ).annotate({
631
+ identifier: "RotateVerificationCancelResponse",
632
+ }) as any as S.Schema<RotateVerificationCancelResponse>;
633
+
634
+ export interface RotateVerificationCancelRotateRecoveryVerifyRequest {}
635
+ export const RotateVerificationCancelRotateRecoveryVerifyRequest =
636
+ /*@__PURE__*/ S.suspend(() =>
637
+ S.Struct({}).pipe(
638
+ T.Http({
639
+ method: "DELETE",
640
+ uri: "/sys/rotate/recovery/verify",
641
+ code: 200,
642
+ }),
643
+ ),
644
+ ).annotate({
645
+ identifier: "RotateVerificationCancelRotateRecoveryVerifyRequest",
646
+ }) as any as S.Schema<RotateVerificationCancelRotateRecoveryVerifyRequest>;
647
+
648
+ export interface RotateVerificationCancelRotateRecoveryVerifyResponse {
649
+ n?: number;
650
+ nonce?: string;
651
+ progress?: number;
652
+ started?: boolean;
653
+ t?: number;
654
+ }
655
+ export const RotateVerificationCancelRotateRecoveryVerifyResponse =
656
+ /*@__PURE__*/ S.suspend(() =>
657
+ S.Struct({
658
+ n: S.optional(S.Number),
659
+ nonce: S.optional(S.String),
660
+ progress: S.optional(S.Number),
661
+ started: S.optional(S.Boolean),
662
+ t: S.optional(S.Number),
663
+ }),
664
+ ).annotate({
665
+ identifier: "RotateVerificationCancelRotateRecoveryVerifyResponse",
666
+ }) as any as S.Schema<RotateVerificationCancelRotateRecoveryVerifyResponse>;
667
+
668
+ export interface RotateVerificationReadProgressRequest {}
669
+ export const RotateVerificationReadProgressRequest = /*@__PURE__*/ S.suspend(
670
+ () =>
671
+ S.Struct({}).pipe(
672
+ T.Http({ method: "GET", uri: "/sys/rotate/root/verify", code: 200 }),
673
+ ),
674
+ ).annotate({
675
+ identifier: "RotateVerificationReadProgressRequest",
676
+ }) as any as S.Schema<RotateVerificationReadProgressRequest>;
677
+
678
+ export interface RotateVerificationReadProgressResponse {
679
+ n?: number;
680
+ nonce?: string;
681
+ progress?: number;
682
+ started?: boolean;
683
+ t?: number;
684
+ }
685
+ export const RotateVerificationReadProgressResponse = /*@__PURE__*/ S.suspend(
686
+ () =>
687
+ S.Struct({
688
+ n: S.optional(S.Number),
689
+ nonce: S.optional(S.String),
690
+ progress: S.optional(S.Number),
691
+ started: S.optional(S.Boolean),
692
+ t: S.optional(S.Number),
693
+ }),
694
+ ).annotate({
695
+ identifier: "RotateVerificationReadProgressResponse",
696
+ }) as any as S.Schema<RotateVerificationReadProgressResponse>;
697
+
698
+ export interface RotateVerificationReadRotateRecoveryVerifyRequest {}
699
+ export const RotateVerificationReadRotateRecoveryVerifyRequest =
700
+ /*@__PURE__*/ S.suspend(() =>
701
+ S.Struct({}).pipe(
702
+ T.Http({ method: "GET", uri: "/sys/rotate/recovery/verify", code: 200 }),
703
+ ),
704
+ ).annotate({
705
+ identifier: "RotateVerificationReadRotateRecoveryVerifyRequest",
706
+ }) as any as S.Schema<RotateVerificationReadRotateRecoveryVerifyRequest>;
707
+
708
+ export interface RotateVerificationReadRotateRecoveryVerifyResponse {
709
+ n?: number;
710
+ nonce?: string;
711
+ progress?: number;
712
+ started?: boolean;
713
+ t?: number;
714
+ }
715
+ export const RotateVerificationReadRotateRecoveryVerifyResponse =
716
+ /*@__PURE__*/ S.suspend(() =>
717
+ S.Struct({
718
+ n: S.optional(S.Number),
719
+ nonce: S.optional(S.String),
720
+ progress: S.optional(S.Number),
721
+ started: S.optional(S.Boolean),
722
+ t: S.optional(S.Number),
723
+ }),
724
+ ).annotate({
725
+ identifier: "RotateVerificationReadRotateRecoveryVerifyResponse",
726
+ }) as any as S.Schema<RotateVerificationReadRotateRecoveryVerifyResponse>;
727
+
728
+ export interface RotateVerificationUpdateRequest {
729
+ /** Specifies a single unseal share key from the new set of shares. */
730
+ key?: string;
731
+ /** Specifies the nonce of the rotation verification operation. */
732
+ nonce?: string;
733
+ }
734
+ export const RotateVerificationUpdateRequest = /*@__PURE__*/ S.suspend(() =>
735
+ S.Struct({
736
+ key: S.optional(S.String),
737
+ nonce: S.optional(S.String),
738
+ }).pipe(
739
+ T.Http({ method: "POST", uri: "/sys/rotate/root/verify", code: 200 }),
740
+ ),
741
+ ).annotate({
742
+ identifier: "RotateVerificationUpdateRequest",
743
+ }) as any as S.Schema<RotateVerificationUpdateRequest>;
744
+
745
+ export interface RotateVerificationUpdateResponse {
746
+ complete?: boolean;
747
+ nonce?: string;
748
+ }
749
+ export const RotateVerificationUpdateResponse = /*@__PURE__*/ S.suspend(() =>
750
+ S.Struct({
751
+ complete: S.optional(S.Boolean),
752
+ nonce: S.optional(S.String),
753
+ }),
754
+ ).annotate({
755
+ identifier: "RotateVerificationUpdateResponse",
756
+ }) as any as S.Schema<RotateVerificationUpdateResponse>;
757
+
758
+ export interface RotateVerificationUpdateRotateRecoveryVerifyRequest {
759
+ /** Specifies a single unseal share key from the new set of shares. */
760
+ key?: string;
761
+ /** Specifies the nonce of the rotation verification operation. */
762
+ nonce?: string;
763
+ }
764
+ export const RotateVerificationUpdateRotateRecoveryVerifyRequest =
765
+ /*@__PURE__*/ S.suspend(() =>
766
+ S.Struct({
767
+ key: S.optional(S.String),
768
+ nonce: S.optional(S.String),
769
+ }).pipe(
770
+ T.Http({ method: "POST", uri: "/sys/rotate/recovery/verify", code: 200 }),
771
+ ),
772
+ ).annotate({
773
+ identifier: "RotateVerificationUpdateRotateRecoveryVerifyRequest",
774
+ }) as any as S.Schema<RotateVerificationUpdateRotateRecoveryVerifyRequest>;
775
+
776
+ export interface RotateVerificationUpdateRotateRecoveryVerifyResponse {
777
+ complete?: boolean;
778
+ nonce?: string;
779
+ }
780
+ export const RotateVerificationUpdateRotateRecoveryVerifyResponse =
781
+ /*@__PURE__*/ S.suspend(() =>
782
+ S.Struct({
783
+ complete: S.optional(S.Boolean),
784
+ nonce: S.optional(S.String),
785
+ }),
786
+ ).annotate({
787
+ identifier: "RotateVerificationUpdateRotateRecoveryVerifyResponse",
788
+ }) as any as S.Schema<RotateVerificationUpdateRotateRecoveryVerifyResponse>;
789
+
790
+ export type RotateAttemptCancelError = OpenBaoOpError;
791
+ /** Cancels any in-progress rotate root operation. This clears the rotate settings as well as any progress made. This must be called to change the parameters of the rotate. Note: verification is still a part of a rotate. If rotating is canceled during the verification flow, the current unseal keys remain valid. */
792
+ export const rotateAttemptCancel: API.OperationMethod<
793
+ RotateAttemptCancelRequest,
794
+ RotateAttemptCancelResponse,
795
+ RotateAttemptCancelError,
796
+ OpenBaoOpContext
797
+ > = /*@__PURE__*/ API.make(() => ({
798
+ input: RotateAttemptCancelRequest,
799
+ output: RotateAttemptCancelResponse,
800
+ errors: [],
801
+ protocol: OpenBaoProtocol,
802
+ retry: Retry.Retry,
803
+ }));
804
+
805
+ export type RotateAttemptCancelRotateRecoveryInitError = OpenBaoOpError;
806
+ /** Cancels any in-progress rotate root operation. This clears the rotate settings as well as any progress made. This must be called to change the parameters of the rotate. Note: verification is still a part of a rotate. If rotating is canceled during the verification flow, the current unseal keys remain valid. */
807
+ export const rotateAttemptCancelRotateRecoveryInit: API.OperationMethod<
808
+ RotateAttemptCancelRotateRecoveryInitRequest,
809
+ RotateAttemptCancelRotateRecoveryInitResponse,
810
+ RotateAttemptCancelRotateRecoveryInitError,
811
+ OpenBaoOpContext
812
+ > = /*@__PURE__*/ API.make(() => ({
813
+ input: RotateAttemptCancelRotateRecoveryInitRequest,
814
+ output: RotateAttemptCancelRotateRecoveryInitResponse,
815
+ errors: [],
816
+ protocol: OpenBaoProtocol,
817
+ retry: Retry.Retry,
818
+ }));
819
+
820
+ export type RotateAttemptInitializeError = OpenBaoOpError;
821
+ /** Initializes a new root rotate attempt. Only a single rotate attempt can take place at a time, and changing the parameters of a rotate requires canceling and starting a new rotation, which will also provide a new nonce. */
822
+ export const rotateAttemptInitialize: API.OperationMethod<
823
+ RotateAttemptInitializeRequest,
824
+ RotateAttemptInitializeResponse,
825
+ RotateAttemptInitializeError,
826
+ OpenBaoOpContext
827
+ > = /*@__PURE__*/ API.make(() => ({
828
+ input: RotateAttemptInitializeRequest,
829
+ output: RotateAttemptInitializeResponse,
830
+ errors: [],
831
+ protocol: OpenBaoProtocol,
832
+ retry: Retry.Retry,
833
+ }));
834
+
835
+ export type RotateAttemptInitializeRotateRecoveryInitError = OpenBaoOpError;
836
+ /** Initializes a new root rotate attempt. Only a single rotate attempt can take place at a time, and changing the parameters of a rotate requires canceling and starting a new rotation, which will also provide a new nonce. */
837
+ export const rotateAttemptInitializeRotateRecoveryInit: API.OperationMethod<
838
+ RotateAttemptInitializeRotateRecoveryInitRequest,
839
+ RotateAttemptInitializeRotateRecoveryInitResponse,
840
+ RotateAttemptInitializeRotateRecoveryInitError,
841
+ OpenBaoOpContext
842
+ > = /*@__PURE__*/ API.make(() => ({
843
+ input: RotateAttemptInitializeRotateRecoveryInitRequest,
844
+ output: RotateAttemptInitializeRotateRecoveryInitResponse,
845
+ errors: [],
846
+ protocol: OpenBaoProtocol,
847
+ retry: Retry.Retry,
848
+ }));
849
+
850
+ export type RotateAttemptReadProgressError = OpenBaoOpError;
851
+ /** Reads the configuration and progress of the current root rotate attempt. */
852
+ export const rotateAttemptReadProgress: API.OperationMethod<
853
+ RotateAttemptReadProgressRequest,
854
+ RotateAttemptReadProgressResponse,
855
+ RotateAttemptReadProgressError,
856
+ OpenBaoOpContext
857
+ > = /*@__PURE__*/ API.make(() => ({
858
+ input: RotateAttemptReadProgressRequest,
859
+ output: RotateAttemptReadProgressResponse,
860
+ errors: [],
861
+ protocol: OpenBaoProtocol,
862
+ retry: Retry.Retry,
863
+ }));
864
+
865
+ export type RotateAttemptReadRotateRecoveryInitError = OpenBaoOpError;
866
+ /** Reads the configuration and progress of the current root rotate attempt. */
867
+ export const rotateAttemptReadRotateRecoveryInit: API.OperationMethod<
868
+ RotateAttemptReadRotateRecoveryInitRequest,
869
+ RotateAttemptReadRotateRecoveryInitResponse,
870
+ RotateAttemptReadRotateRecoveryInitError,
871
+ OpenBaoOpContext
872
+ > = /*@__PURE__*/ API.make(() => ({
873
+ input: RotateAttemptReadRotateRecoveryInitRequest,
874
+ output: RotateAttemptReadRotateRecoveryInitResponse,
875
+ errors: [],
876
+ protocol: OpenBaoProtocol,
877
+ retry: Retry.Retry,
878
+ }));
879
+
880
+ export type RotateAttemptUpdateError = OpenBaoOpError;
881
+ /** Enter a single unseal key share to progress the rotation of the root key of OpenBao. */
882
+ export const rotateAttemptUpdate: API.OperationMethod<
883
+ RotateAttemptUpdateRequest,
884
+ RotateAttemptUpdateResponse,
885
+ RotateAttemptUpdateError,
886
+ OpenBaoOpContext
887
+ > = /*@__PURE__*/ API.make(() => ({
888
+ input: RotateAttemptUpdateRequest,
889
+ output: RotateAttemptUpdateResponse,
890
+ errors: [],
891
+ protocol: OpenBaoProtocol,
892
+ retry: Retry.Retry,
893
+ }));
894
+
895
+ export type RotateAttemptUpdateRotateRecoveryUpdateError = OpenBaoOpError;
896
+ /** Enter a single unseal key share to progress the rotation of the root key of OpenBao. */
897
+ export const rotateAttemptUpdateRotateRecoveryUpdate: API.OperationMethod<
898
+ RotateAttemptUpdateRotateRecoveryUpdateRequest,
899
+ RotateAttemptUpdateRotateRecoveryUpdateResponse,
900
+ RotateAttemptUpdateRotateRecoveryUpdateError,
901
+ OpenBaoOpContext
902
+ > = /*@__PURE__*/ API.make(() => ({
903
+ input: RotateAttemptUpdateRotateRecoveryUpdateRequest,
904
+ output: RotateAttemptUpdateRotateRecoveryUpdateResponse,
905
+ errors: [],
906
+ protocol: OpenBaoProtocol,
907
+ retry: Retry.Retry,
908
+ }));
909
+
910
+ export type RotateDeleteBackupKeyError = OpenBaoOpError;
911
+ /** Delete the backup copy of PGP-encrypted unseal keys. */
912
+ export const rotateDeleteBackupKey: API.OperationMethod<
913
+ RotateDeleteBackupKeyRequest,
914
+ RotateDeleteBackupKeyResponse,
915
+ RotateDeleteBackupKeyError,
916
+ OpenBaoOpContext
917
+ > = /*@__PURE__*/ API.make(() => ({
918
+ input: RotateDeleteBackupKeyRequest,
919
+ output: RotateDeleteBackupKeyResponse,
920
+ errors: [],
921
+ protocol: OpenBaoProtocol,
922
+ retry: Retry.Retry,
923
+ }));
924
+
925
+ export type RotateDeleteRotateRecoveryBackupError = OpenBaoOpError;
926
+ /** Delete the backup copy of PGP-encrypted unseal keys. */
927
+ export const rotateDeleteRotateRecoveryBackup: API.OperationMethod<
928
+ RotateDeleteRotateRecoveryBackupRequest,
929
+ RotateDeleteRotateRecoveryBackupResponse,
930
+ RotateDeleteRotateRecoveryBackupError,
931
+ OpenBaoOpContext
932
+ > = /*@__PURE__*/ API.make(() => ({
933
+ input: RotateDeleteRotateRecoveryBackupRequest,
934
+ output: RotateDeleteRotateRecoveryBackupResponse,
935
+ errors: [],
936
+ protocol: OpenBaoProtocol,
937
+ retry: Retry.Retry,
938
+ }));
939
+
940
+ export type RotateEncryptionKeyError = OpenBaoOpError;
941
+ /** Rotate the encryption key. */
942
+ export const rotateEncryptionKey: API.OperationMethod<
943
+ RotateEncryptionKeyRequest,
944
+ RotateEncryptionKeyResponse,
945
+ RotateEncryptionKeyError,
946
+ OpenBaoOpContext
947
+ > = /*@__PURE__*/ API.make(() => ({
948
+ input: RotateEncryptionKeyRequest,
949
+ output: RotateEncryptionKeyResponse,
950
+ errors: [],
951
+ protocol: OpenBaoProtocol,
952
+ retry: Retry.Retry,
953
+ }));
954
+
955
+ export type RotateReadBackupKeyError = OpenBaoOpError;
956
+ /** Return the backup copy of PGP-encrypted unseal keys. */
957
+ export const rotateReadBackupKey: API.OperationMethod<
958
+ RotateReadBackupKeyRequest,
959
+ RotateReadBackupKeyResponse,
960
+ RotateReadBackupKeyError,
961
+ OpenBaoOpContext
962
+ > = /*@__PURE__*/ API.make(() => ({
963
+ input: RotateReadBackupKeyRequest,
964
+ output: RotateReadBackupKeyResponse,
965
+ errors: [],
966
+ protocol: OpenBaoProtocol,
967
+ retry: Retry.Retry,
968
+ }));
969
+
970
+ export type RotateReadRotateRecoveryBackupError = OpenBaoOpError;
971
+ /** Return the backup copy of PGP-encrypted unseal keys. */
972
+ export const rotateReadRotateRecoveryBackup: API.OperationMethod<
973
+ RotateReadRotateRecoveryBackupRequest,
974
+ RotateReadRotateRecoveryBackupResponse,
975
+ RotateReadRotateRecoveryBackupError,
976
+ OpenBaoOpContext
977
+ > = /*@__PURE__*/ API.make(() => ({
978
+ input: RotateReadRotateRecoveryBackupRequest,
979
+ output: RotateReadRotateRecoveryBackupResponse,
980
+ errors: [],
981
+ protocol: OpenBaoProtocol,
982
+ retry: Retry.Retry,
983
+ }));
984
+
985
+ export type RotateRotateKeyringError = OpenBaoOpError;
986
+ /** Rotate the encryption key. */
987
+ export const rotateRotateKeyring: API.OperationMethod<
988
+ RotateRotateKeyringRequest,
989
+ RotateRotateKeyringResponse,
990
+ RotateRotateKeyringError,
991
+ OpenBaoOpContext
992
+ > = /*@__PURE__*/ API.make(() => ({
993
+ input: RotateRotateKeyringRequest,
994
+ output: RotateRotateKeyringResponse,
995
+ errors: [],
996
+ protocol: OpenBaoProtocol,
997
+ retry: Retry.Retry,
998
+ }));
999
+
1000
+ export type RotateVerificationCancelError = OpenBaoOpError;
1001
+ /** Cancel any in-progress rotate verification operation. This clears any progress made and resets the nonce. Unlike a `DELETE` against `sys/rotate/(root/recovery)/init`, this only resets the current verification operation, not the entire rotate atttempt. */
1002
+ export const rotateVerificationCancel: API.OperationMethod<
1003
+ RotateVerificationCancelRequest,
1004
+ RotateVerificationCancelResponse,
1005
+ RotateVerificationCancelError,
1006
+ OpenBaoOpContext
1007
+ > = /*@__PURE__*/ API.make(() => ({
1008
+ input: RotateVerificationCancelRequest,
1009
+ output: RotateVerificationCancelResponse,
1010
+ errors: [],
1011
+ protocol: OpenBaoProtocol,
1012
+ retry: Retry.Retry,
1013
+ }));
1014
+
1015
+ export type RotateVerificationCancelRotateRecoveryVerifyError = OpenBaoOpError;
1016
+ /** Cancel any in-progress rotate verification operation. This clears any progress made and resets the nonce. Unlike a `DELETE` against `sys/rotate/(root/recovery)/init`, this only resets the current verification operation, not the entire rotate atttempt. */
1017
+ export const rotateVerificationCancelRotateRecoveryVerify: API.OperationMethod<
1018
+ RotateVerificationCancelRotateRecoveryVerifyRequest,
1019
+ RotateVerificationCancelRotateRecoveryVerifyResponse,
1020
+ RotateVerificationCancelRotateRecoveryVerifyError,
1021
+ OpenBaoOpContext
1022
+ > = /*@__PURE__*/ API.make(() => ({
1023
+ input: RotateVerificationCancelRotateRecoveryVerifyRequest,
1024
+ output: RotateVerificationCancelRotateRecoveryVerifyResponse,
1025
+ errors: [],
1026
+ protocol: OpenBaoProtocol,
1027
+ retry: Retry.Retry,
1028
+ }));
1029
+
1030
+ export type RotateVerificationReadProgressError = OpenBaoOpError;
1031
+ /** Read the configuration and progress of the current rotate verification attempt. */
1032
+ export const rotateVerificationReadProgress: API.OperationMethod<
1033
+ RotateVerificationReadProgressRequest,
1034
+ RotateVerificationReadProgressResponse,
1035
+ RotateVerificationReadProgressError,
1036
+ OpenBaoOpContext
1037
+ > = /*@__PURE__*/ API.make(() => ({
1038
+ input: RotateVerificationReadProgressRequest,
1039
+ output: RotateVerificationReadProgressResponse,
1040
+ errors: [],
1041
+ protocol: OpenBaoProtocol,
1042
+ retry: Retry.Retry,
1043
+ }));
1044
+
1045
+ export type RotateVerificationReadRotateRecoveryVerifyError = OpenBaoOpError;
1046
+ /** Read the configuration and progress of the current rotate verification attempt. */
1047
+ export const rotateVerificationReadRotateRecoveryVerify: API.OperationMethod<
1048
+ RotateVerificationReadRotateRecoveryVerifyRequest,
1049
+ RotateVerificationReadRotateRecoveryVerifyResponse,
1050
+ RotateVerificationReadRotateRecoveryVerifyError,
1051
+ OpenBaoOpContext
1052
+ > = /*@__PURE__*/ API.make(() => ({
1053
+ input: RotateVerificationReadRotateRecoveryVerifyRequest,
1054
+ output: RotateVerificationReadRotateRecoveryVerifyResponse,
1055
+ errors: [],
1056
+ protocol: OpenBaoProtocol,
1057
+ retry: Retry.Retry,
1058
+ }));
1059
+
1060
+ export type RotateVerificationUpdateError = OpenBaoOpError;
1061
+ /** Enter a single new key share to progress the rotation verification operation. */
1062
+ export const rotateVerificationUpdate: API.OperationMethod<
1063
+ RotateVerificationUpdateRequest,
1064
+ RotateVerificationUpdateResponse,
1065
+ RotateVerificationUpdateError,
1066
+ OpenBaoOpContext
1067
+ > = /*@__PURE__*/ API.make(() => ({
1068
+ input: RotateVerificationUpdateRequest,
1069
+ output: RotateVerificationUpdateResponse,
1070
+ errors: [],
1071
+ protocol: OpenBaoProtocol,
1072
+ retry: Retry.Retry,
1073
+ }));
1074
+
1075
+ export type RotateVerificationUpdateRotateRecoveryVerifyError = OpenBaoOpError;
1076
+ /** Enter a single new key share to progress the rotation verification operation. */
1077
+ export const rotateVerificationUpdateRotateRecoveryVerify: API.OperationMethod<
1078
+ RotateVerificationUpdateRotateRecoveryVerifyRequest,
1079
+ RotateVerificationUpdateRotateRecoveryVerifyResponse,
1080
+ RotateVerificationUpdateRotateRecoveryVerifyError,
1081
+ OpenBaoOpContext
1082
+ > = /*@__PURE__*/ API.make(() => ({
1083
+ input: RotateVerificationUpdateRotateRecoveryVerifyRequest,
1084
+ output: RotateVerificationUpdateRotateRecoveryVerifyResponse,
1085
+ errors: [],
1086
+ protocol: OpenBaoProtocol,
1087
+ retry: Retry.Retry,
1088
+ }));