@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,1206 @@
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 AppRoleDeleteBindSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
8
+ approle_mount_path: S.String.pipe(T.Label()),
9
+ role_name: S.String.pipe(T.Label()),
10
+ }).pipe(T.Http({
11
+ method: "DELETE",
12
+ uri: "/auth/{approle_mount_path}/role/{role_name}/bind-secret-id",
13
+ code: 200,
14
+ }))).annotate({
15
+ identifier: "AppRoleDeleteBindSecretIdRequest",
16
+ });
17
+ export const AppRoleDeleteBindSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
18
+ identifier: "AppRoleDeleteBindSecretIdResponse",
19
+ });
20
+ export const AppRoleDeleteBoundCidrListRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
21
+ approle_mount_path: S.String.pipe(T.Label()),
22
+ role_name: S.String.pipe(T.Label()),
23
+ }).pipe(T.Http({
24
+ method: "DELETE",
25
+ uri: "/auth/{approle_mount_path}/role/{role_name}/bound-cidr-list",
26
+ code: 200,
27
+ }))).annotate({
28
+ identifier: "AppRoleDeleteBoundCidrListRequest",
29
+ });
30
+ export const AppRoleDeleteBoundCidrListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
31
+ identifier: "AppRoleDeleteBoundCidrListResponse",
32
+ });
33
+ export const AppRoleDeletePeriodRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
34
+ approle_mount_path: S.String.pipe(T.Label()),
35
+ role_name: S.String.pipe(T.Label()),
36
+ }).pipe(T.Http({
37
+ method: "DELETE",
38
+ uri: "/auth/{approle_mount_path}/role/{role_name}/period",
39
+ code: 200,
40
+ }))).annotate({
41
+ identifier: "AppRoleDeletePeriodRequest",
42
+ });
43
+ export const AppRoleDeletePeriodResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
44
+ identifier: "AppRoleDeletePeriodResponse",
45
+ });
46
+ export const AppRoleDeletePoliciesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
47
+ approle_mount_path: S.String.pipe(T.Label()),
48
+ role_name: S.String.pipe(T.Label()),
49
+ }).pipe(T.Http({
50
+ method: "DELETE",
51
+ uri: "/auth/{approle_mount_path}/role/{role_name}/policies",
52
+ code: 200,
53
+ }))).annotate({
54
+ identifier: "AppRoleDeletePoliciesRequest",
55
+ });
56
+ export const AppRoleDeletePoliciesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
57
+ identifier: "AppRoleDeletePoliciesResponse",
58
+ });
59
+ export const AppRoleDeleteRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
60
+ approle_mount_path: S.String.pipe(T.Label()),
61
+ role_name: S.String.pipe(T.Label()),
62
+ }).pipe(T.Http({
63
+ method: "DELETE",
64
+ uri: "/auth/{approle_mount_path}/role/{role_name}",
65
+ code: 200,
66
+ }))).annotate({
67
+ identifier: "AppRoleDeleteRoleRequest",
68
+ });
69
+ export const AppRoleDeleteRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
70
+ identifier: "AppRoleDeleteRoleResponse",
71
+ });
72
+ export const AppRoleDeleteSecretIdBoundCidrsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
73
+ approle_mount_path: S.String.pipe(T.Label()),
74
+ role_name: S.String.pipe(T.Label()),
75
+ }).pipe(T.Http({
76
+ method: "DELETE",
77
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-bound-cidrs",
78
+ code: 200,
79
+ }))).annotate({
80
+ identifier: "AppRoleDeleteSecretIdBoundCidrsRequest",
81
+ });
82
+ export const AppRoleDeleteSecretIdBoundCidrsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
83
+ identifier: "AppRoleDeleteSecretIdBoundCidrsResponse",
84
+ });
85
+ export const AppRoleDeleteSecretIdNumUsesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
86
+ approle_mount_path: S.String.pipe(T.Label()),
87
+ role_name: S.String.pipe(T.Label()),
88
+ }).pipe(T.Http({
89
+ method: "DELETE",
90
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-num-uses",
91
+ code: 200,
92
+ }))).annotate({
93
+ identifier: "AppRoleDeleteSecretIdNumUsesRequest",
94
+ });
95
+ export const AppRoleDeleteSecretIdNumUsesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
96
+ identifier: "AppRoleDeleteSecretIdNumUsesResponse",
97
+ });
98
+ export const AppRoleDeleteSecretIdTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
99
+ approle_mount_path: S.String.pipe(T.Label()),
100
+ role_name: S.String.pipe(T.Label()),
101
+ }).pipe(T.Http({
102
+ method: "DELETE",
103
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-ttl",
104
+ code: 200,
105
+ }))).annotate({
106
+ identifier: "AppRoleDeleteSecretIdTtlRequest",
107
+ });
108
+ export const AppRoleDeleteSecretIdTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
109
+ identifier: "AppRoleDeleteSecretIdTtlResponse",
110
+ });
111
+ export const AppRoleDeleteTokenBoundCidrsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
112
+ approle_mount_path: S.String.pipe(T.Label()),
113
+ role_name: S.String.pipe(T.Label()),
114
+ }).pipe(T.Http({
115
+ method: "DELETE",
116
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-bound-cidrs",
117
+ code: 200,
118
+ }))).annotate({
119
+ identifier: "AppRoleDeleteTokenBoundCidrsRequest",
120
+ });
121
+ export const AppRoleDeleteTokenBoundCidrsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
122
+ identifier: "AppRoleDeleteTokenBoundCidrsResponse",
123
+ });
124
+ export const AppRoleDeleteTokenMaxTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
125
+ approle_mount_path: S.String.pipe(T.Label()),
126
+ role_name: S.String.pipe(T.Label()),
127
+ }).pipe(T.Http({
128
+ method: "DELETE",
129
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-max-ttl",
130
+ code: 200,
131
+ }))).annotate({
132
+ identifier: "AppRoleDeleteTokenMaxTtlRequest",
133
+ });
134
+ export const AppRoleDeleteTokenMaxTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
135
+ identifier: "AppRoleDeleteTokenMaxTtlResponse",
136
+ });
137
+ export const AppRoleDeleteTokenNumUsesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
138
+ approle_mount_path: S.String.pipe(T.Label()),
139
+ role_name: S.String.pipe(T.Label()),
140
+ }).pipe(T.Http({
141
+ method: "DELETE",
142
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-num-uses",
143
+ code: 200,
144
+ }))).annotate({
145
+ identifier: "AppRoleDeleteTokenNumUsesRequest",
146
+ });
147
+ export const AppRoleDeleteTokenNumUsesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
148
+ identifier: "AppRoleDeleteTokenNumUsesResponse",
149
+ });
150
+ export const AppRoleDeleteTokenTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
151
+ approle_mount_path: S.String.pipe(T.Label()),
152
+ role_name: S.String.pipe(T.Label()),
153
+ }).pipe(T.Http({
154
+ method: "DELETE",
155
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-ttl",
156
+ code: 200,
157
+ }))).annotate({
158
+ identifier: "AppRoleDeleteTokenTtlRequest",
159
+ });
160
+ export const AppRoleDeleteTokenTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
161
+ identifier: "AppRoleDeleteTokenTtlResponse",
162
+ });
163
+ export const AppRoleDestroySecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
164
+ approle_mount_path: S.String.pipe(T.Label()),
165
+ role_name: S.String.pipe(T.Label()),
166
+ secret_id: S.optional(S.String),
167
+ }).pipe(T.Http({
168
+ method: "POST",
169
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id/destroy",
170
+ code: 200,
171
+ }))).annotate({
172
+ identifier: "AppRoleDestroySecretIdRequest",
173
+ });
174
+ export const AppRoleDestroySecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
175
+ identifier: "AppRoleDestroySecretIdResponse",
176
+ });
177
+ export const AppRoleDestroySecretId2Request = /*@__PURE__*/ S.suspend(() => S.Struct({
178
+ approle_mount_path: S.String.pipe(T.Label()),
179
+ role_name: S.String.pipe(T.Label()),
180
+ }).pipe(T.Http({
181
+ method: "DELETE",
182
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id/destroy",
183
+ code: 200,
184
+ }))).annotate({
185
+ identifier: "AppRoleDestroySecretId2Request",
186
+ });
187
+ export const AppRoleDestroySecretId2Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
188
+ identifier: "AppRoleDestroySecretId2Response",
189
+ });
190
+ export const AppRoleDestroySecretIdByAccessorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
191
+ approle_mount_path: S.String.pipe(T.Label()),
192
+ role_name: S.String.pipe(T.Label()),
193
+ secret_id_accessor: S.optional(S.String),
194
+ }).pipe(T.Http({
195
+ method: "POST",
196
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-accessor/destroy",
197
+ code: 200,
198
+ }))).annotate({
199
+ identifier: "AppRoleDestroySecretIdByAccessorRequest",
200
+ });
201
+ export const AppRoleDestroySecretIdByAccessorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
202
+ identifier: "AppRoleDestroySecretIdByAccessorResponse",
203
+ });
204
+ export const AppRoleDestroySecretIdByAccessor2Request = /*@__PURE__*/ S.suspend(() => S.Struct({
205
+ approle_mount_path: S.String.pipe(T.Label()),
206
+ role_name: S.String.pipe(T.Label()),
207
+ }).pipe(T.Http({
208
+ method: "DELETE",
209
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-accessor/destroy",
210
+ code: 200,
211
+ }))).annotate({
212
+ identifier: "AppRoleDestroySecretIdByAccessor2Request",
213
+ });
214
+ export const AppRoleDestroySecretIdByAccessor2Response =
215
+ /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
216
+ identifier: "AppRoleDestroySecretIdByAccessor2Response",
217
+ });
218
+ export const AppRoleListRolesRequestList = S.String;
219
+ export const AppRoleListRolesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
220
+ approle_mount_path: S.String.pipe(T.Label()),
221
+ list: AppRoleListRolesRequestList.pipe(T.Query()),
222
+ }).pipe(T.Http({
223
+ method: "GET",
224
+ uri: "/auth/{approle_mount_path}/role",
225
+ code: 200,
226
+ }))).annotate({
227
+ identifier: "AppRoleListRolesRequest",
228
+ });
229
+ export const AppRoleListRolesResponseKeysList = /*@__PURE__*/ S.Array(S.String);
230
+ export const AppRoleListRolesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
231
+ keys: S.optional(AppRoleListRolesResponseKeysList),
232
+ })).annotate({
233
+ identifier: "AppRoleListRolesResponse",
234
+ });
235
+ export const AppRoleListSecretIdsRequestList = S.String;
236
+ export const AppRoleListSecretIdsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
237
+ approle_mount_path: S.String.pipe(T.Label()),
238
+ role_name: S.String.pipe(T.Label()),
239
+ list: AppRoleListSecretIdsRequestList.pipe(T.Query()),
240
+ }).pipe(T.Http({
241
+ method: "GET",
242
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id",
243
+ code: 200,
244
+ }))).annotate({
245
+ identifier: "AppRoleListSecretIdsRequest",
246
+ });
247
+ export const AppRoleListSecretIdsResponseKeysList = /*@__PURE__*/ S.Array(S.String);
248
+ export const AppRoleListSecretIdsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
249
+ keys: S.optional(AppRoleListSecretIdsResponseKeysList),
250
+ })).annotate({
251
+ identifier: "AppRoleListSecretIdsResponse",
252
+ });
253
+ export const AppRoleLookUpSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
254
+ approle_mount_path: S.String.pipe(T.Label()),
255
+ role_name: S.String.pipe(T.Label()),
256
+ secret_id: S.optional(S.String),
257
+ }).pipe(T.Http({
258
+ method: "POST",
259
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id/lookup",
260
+ code: 200,
261
+ }))).annotate({
262
+ identifier: "AppRoleLookUpSecretIdRequest",
263
+ });
264
+ export const AppRoleLookUpSecretIdResponseCidrListList = /*@__PURE__*/ S.Array(S.String);
265
+ export const AppRoleLookUpSecretIdResponseTokenBoundCidrsList =
266
+ /*@__PURE__*/ S.Array(S.String);
267
+ export const AppRoleLookUpSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
268
+ cidr_list: S.optional(AppRoleLookUpSecretIdResponseCidrListList),
269
+ creation_time: S.optional(S.String),
270
+ expiration_time: S.optional(S.String),
271
+ last_updated_time: S.optional(S.String),
272
+ metadata: S.optional(S.Unknown),
273
+ secret_id_accessor: S.optional(S.String),
274
+ secret_id_num_uses: S.optional(S.Number),
275
+ secret_id_ttl: S.optional(S.Number),
276
+ token_bound_cidrs: S.optional(AppRoleLookUpSecretIdResponseTokenBoundCidrsList),
277
+ })).annotate({
278
+ identifier: "AppRoleLookUpSecretIdResponse",
279
+ });
280
+ export const AppRoleLookUpSecretIdByAccessorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
281
+ approle_mount_path: S.String.pipe(T.Label()),
282
+ role_name: S.String.pipe(T.Label()),
283
+ secret_id_accessor: S.optional(S.String),
284
+ }).pipe(T.Http({
285
+ method: "POST",
286
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-accessor/lookup",
287
+ code: 200,
288
+ }))).annotate({
289
+ identifier: "AppRoleLookUpSecretIdByAccessorRequest",
290
+ });
291
+ export const AppRoleLookUpSecretIdByAccessorResponseCidrListList =
292
+ /*@__PURE__*/ S.Array(S.String);
293
+ export const AppRoleLookUpSecretIdByAccessorResponseTokenBoundCidrsList =
294
+ /*@__PURE__*/ S.Array(S.String);
295
+ export const AppRoleLookUpSecretIdByAccessorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
296
+ cidr_list: S.optional(AppRoleLookUpSecretIdByAccessorResponseCidrListList),
297
+ creation_time: S.optional(S.String),
298
+ expiration_time: S.optional(S.String),
299
+ last_updated_time: S.optional(S.String),
300
+ metadata: S.optional(S.Unknown),
301
+ secret_id_accessor: S.optional(S.String),
302
+ secret_id_num_uses: S.optional(S.Number),
303
+ secret_id_ttl: S.optional(S.Number),
304
+ token_bound_cidrs: S.optional(AppRoleLookUpSecretIdByAccessorResponseTokenBoundCidrsList),
305
+ })).annotate({
306
+ identifier: "AppRoleLookUpSecretIdByAccessorResponse",
307
+ });
308
+ export const AppRoleReadBindSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
309
+ approle_mount_path: S.String.pipe(T.Label()),
310
+ role_name: S.String.pipe(T.Label()),
311
+ }).pipe(T.Http({
312
+ method: "GET",
313
+ uri: "/auth/{approle_mount_path}/role/{role_name}/bind-secret-id",
314
+ code: 200,
315
+ }))).annotate({
316
+ identifier: "AppRoleReadBindSecretIdRequest",
317
+ });
318
+ export const AppRoleReadBindSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
319
+ bind_secret_id: S.optional(S.Boolean),
320
+ })).annotate({
321
+ identifier: "AppRoleReadBindSecretIdResponse",
322
+ });
323
+ export const AppRoleReadBoundCidrListRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
324
+ approle_mount_path: S.String.pipe(T.Label()),
325
+ role_name: S.String.pipe(T.Label()),
326
+ }).pipe(T.Http({
327
+ method: "GET",
328
+ uri: "/auth/{approle_mount_path}/role/{role_name}/bound-cidr-list",
329
+ code: 200,
330
+ }))).annotate({
331
+ identifier: "AppRoleReadBoundCidrListRequest",
332
+ });
333
+ export const AppRoleReadBoundCidrListResponseBoundCidrListList =
334
+ /*@__PURE__*/ S.Array(S.String);
335
+ export const AppRoleReadBoundCidrListResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
336
+ bound_cidr_list: S.optional(AppRoleReadBoundCidrListResponseBoundCidrListList),
337
+ })).annotate({
338
+ identifier: "AppRoleReadBoundCidrListResponse",
339
+ });
340
+ export const AppRoleReadLocalSecretIdsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
341
+ approle_mount_path: S.String.pipe(T.Label()),
342
+ role_name: S.String.pipe(T.Label()),
343
+ }).pipe(T.Http({
344
+ method: "GET",
345
+ uri: "/auth/{approle_mount_path}/role/{role_name}/local-secret-ids",
346
+ code: 200,
347
+ }))).annotate({
348
+ identifier: "AppRoleReadLocalSecretIdsRequest",
349
+ });
350
+ export const AppRoleReadLocalSecretIdsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
351
+ local_secret_ids: S.optional(S.Boolean),
352
+ })).annotate({
353
+ identifier: "AppRoleReadLocalSecretIdsResponse",
354
+ });
355
+ export const AppRoleReadPeriodRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
356
+ approle_mount_path: S.String.pipe(T.Label()),
357
+ role_name: S.String.pipe(T.Label()),
358
+ }).pipe(T.Http({
359
+ method: "GET",
360
+ uri: "/auth/{approle_mount_path}/role/{role_name}/period",
361
+ code: 200,
362
+ }))).annotate({
363
+ identifier: "AppRoleReadPeriodRequest",
364
+ });
365
+ export const AppRoleReadPeriodResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
366
+ period: S.optional(S.Number),
367
+ token_period: S.optional(S.Number),
368
+ })).annotate({
369
+ identifier: "AppRoleReadPeriodResponse",
370
+ });
371
+ export const AppRoleReadPoliciesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
372
+ approle_mount_path: S.String.pipe(T.Label()),
373
+ role_name: S.String.pipe(T.Label()),
374
+ }).pipe(T.Http({
375
+ method: "GET",
376
+ uri: "/auth/{approle_mount_path}/role/{role_name}/policies",
377
+ code: 200,
378
+ }))).annotate({
379
+ identifier: "AppRoleReadPoliciesRequest",
380
+ });
381
+ export const AppRoleReadPoliciesResponsePoliciesList = /*@__PURE__*/ S.Array(S.String);
382
+ export const AppRoleReadPoliciesResponseTokenPoliciesList =
383
+ /*@__PURE__*/ S.Array(S.String);
384
+ export const AppRoleReadPoliciesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
385
+ policies: S.optional(AppRoleReadPoliciesResponsePoliciesList),
386
+ token_policies: S.optional(AppRoleReadPoliciesResponseTokenPoliciesList),
387
+ })).annotate({
388
+ identifier: "AppRoleReadPoliciesResponse",
389
+ });
390
+ export const AppRoleReadRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
391
+ approle_mount_path: S.String.pipe(T.Label()),
392
+ role_name: S.String.pipe(T.Label()),
393
+ }).pipe(T.Http({
394
+ method: "GET",
395
+ uri: "/auth/{approle_mount_path}/role/{role_name}",
396
+ code: 200,
397
+ }))).annotate({
398
+ identifier: "AppRoleReadRoleRequest",
399
+ });
400
+ export const AppRoleReadRoleResponsePoliciesList = /*@__PURE__*/ S.Array(S.String);
401
+ export const AppRoleReadRoleResponseSecretIdBoundCidrsList =
402
+ /*@__PURE__*/ S.Array(S.String);
403
+ export const AppRoleReadRoleResponseTokenBoundCidrsList = /*@__PURE__*/ S.Array(S.String);
404
+ export const AppRoleReadRoleResponseTokenPoliciesList = /*@__PURE__*/ S.Array(S.String);
405
+ export const AppRoleReadRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
406
+ bind_secret_id: S.optional(S.Boolean),
407
+ local_secret_ids: S.optional(S.Boolean),
408
+ period: S.optional(S.Number),
409
+ policies: S.optional(AppRoleReadRoleResponsePoliciesList),
410
+ secret_id_bound_cidrs: S.optional(AppRoleReadRoleResponseSecretIdBoundCidrsList),
411
+ secret_id_num_uses: S.optional(S.Number),
412
+ secret_id_ttl: S.optional(S.Number),
413
+ token_bound_cidrs: S.optional(AppRoleReadRoleResponseTokenBoundCidrsList),
414
+ token_explicit_max_ttl: S.optional(S.Number),
415
+ token_max_ttl: S.optional(S.Number),
416
+ token_no_default_policy: S.optional(S.Boolean),
417
+ token_num_uses: S.optional(S.Number),
418
+ token_period: S.optional(S.Number),
419
+ token_policies: S.optional(AppRoleReadRoleResponseTokenPoliciesList),
420
+ token_strictly_bind_ip: S.optional(S.Boolean),
421
+ token_ttl: S.optional(S.Number),
422
+ token_type: S.optional(S.String),
423
+ })).annotate({
424
+ identifier: "AppRoleReadRoleResponse",
425
+ });
426
+ export const AppRoleReadRoleIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
427
+ approle_mount_path: S.String.pipe(T.Label()),
428
+ role_name: S.String.pipe(T.Label()),
429
+ }).pipe(T.Http({
430
+ method: "GET",
431
+ uri: "/auth/{approle_mount_path}/role/{role_name}/role-id",
432
+ code: 200,
433
+ }))).annotate({
434
+ identifier: "AppRoleReadRoleIdRequest",
435
+ });
436
+ export const AppRoleReadRoleIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
437
+ role_id: S.optional(S.String),
438
+ })).annotate({
439
+ identifier: "AppRoleReadRoleIdResponse",
440
+ });
441
+ export const AppRoleReadSecretIdBoundCidrsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
442
+ approle_mount_path: S.String.pipe(T.Label()),
443
+ role_name: S.String.pipe(T.Label()),
444
+ }).pipe(T.Http({
445
+ method: "GET",
446
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-bound-cidrs",
447
+ code: 200,
448
+ }))).annotate({
449
+ identifier: "AppRoleReadSecretIdBoundCidrsRequest",
450
+ });
451
+ export const AppRoleReadSecretIdBoundCidrsResponseSecretIdBoundCidrsList =
452
+ /*@__PURE__*/ S.Array(S.String);
453
+ export const AppRoleReadSecretIdBoundCidrsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
454
+ secret_id_bound_cidrs: S.optional(AppRoleReadSecretIdBoundCidrsResponseSecretIdBoundCidrsList),
455
+ })).annotate({
456
+ identifier: "AppRoleReadSecretIdBoundCidrsResponse",
457
+ });
458
+ export const AppRoleReadSecretIdNumUsesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
459
+ approle_mount_path: S.String.pipe(T.Label()),
460
+ role_name: S.String.pipe(T.Label()),
461
+ }).pipe(T.Http({
462
+ method: "GET",
463
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-num-uses",
464
+ code: 200,
465
+ }))).annotate({
466
+ identifier: "AppRoleReadSecretIdNumUsesRequest",
467
+ });
468
+ export const AppRoleReadSecretIdNumUsesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
469
+ secret_id_num_uses: S.optional(S.Number),
470
+ })).annotate({
471
+ identifier: "AppRoleReadSecretIdNumUsesResponse",
472
+ });
473
+ export const AppRoleReadSecretIdTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
474
+ approle_mount_path: S.String.pipe(T.Label()),
475
+ role_name: S.String.pipe(T.Label()),
476
+ }).pipe(T.Http({
477
+ method: "GET",
478
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-ttl",
479
+ code: 200,
480
+ }))).annotate({
481
+ identifier: "AppRoleReadSecretIdTtlRequest",
482
+ });
483
+ export const AppRoleReadSecretIdTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
484
+ secret_id_ttl: S.optional(S.Number),
485
+ })).annotate({
486
+ identifier: "AppRoleReadSecretIdTtlResponse",
487
+ });
488
+ export const AppRoleReadTokenBoundCidrsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
489
+ approle_mount_path: S.String.pipe(T.Label()),
490
+ role_name: S.String.pipe(T.Label()),
491
+ }).pipe(T.Http({
492
+ method: "GET",
493
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-bound-cidrs",
494
+ code: 200,
495
+ }))).annotate({
496
+ identifier: "AppRoleReadTokenBoundCidrsRequest",
497
+ });
498
+ export const AppRoleReadTokenBoundCidrsResponseTokenBoundCidrsList =
499
+ /*@__PURE__*/ S.Array(S.String);
500
+ export const AppRoleReadTokenBoundCidrsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
501
+ token_bound_cidrs: S.optional(AppRoleReadTokenBoundCidrsResponseTokenBoundCidrsList),
502
+ })).annotate({
503
+ identifier: "AppRoleReadTokenBoundCidrsResponse",
504
+ });
505
+ export const AppRoleReadTokenMaxTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
506
+ approle_mount_path: S.String.pipe(T.Label()),
507
+ role_name: S.String.pipe(T.Label()),
508
+ }).pipe(T.Http({
509
+ method: "GET",
510
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-max-ttl",
511
+ code: 200,
512
+ }))).annotate({
513
+ identifier: "AppRoleReadTokenMaxTtlRequest",
514
+ });
515
+ export const AppRoleReadTokenMaxTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
516
+ token_max_ttl: S.optional(S.Number),
517
+ })).annotate({
518
+ identifier: "AppRoleReadTokenMaxTtlResponse",
519
+ });
520
+ export const AppRoleReadTokenNumUsesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
521
+ approle_mount_path: S.String.pipe(T.Label()),
522
+ role_name: S.String.pipe(T.Label()),
523
+ }).pipe(T.Http({
524
+ method: "GET",
525
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-num-uses",
526
+ code: 200,
527
+ }))).annotate({
528
+ identifier: "AppRoleReadTokenNumUsesRequest",
529
+ });
530
+ export const AppRoleReadTokenNumUsesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
531
+ token_num_uses: S.optional(S.Number),
532
+ })).annotate({
533
+ identifier: "AppRoleReadTokenNumUsesResponse",
534
+ });
535
+ export const AppRoleReadTokenTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
536
+ approle_mount_path: S.String.pipe(T.Label()),
537
+ role_name: S.String.pipe(T.Label()),
538
+ }).pipe(T.Http({
539
+ method: "GET",
540
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-ttl",
541
+ code: 200,
542
+ }))).annotate({
543
+ identifier: "AppRoleReadTokenTtlRequest",
544
+ });
545
+ export const AppRoleReadTokenTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
546
+ token_ttl: S.optional(S.Number),
547
+ })).annotate({
548
+ identifier: "AppRoleReadTokenTtlResponse",
549
+ });
550
+ export const AppRoleTidySecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
551
+ approle_mount_path: S.String.pipe(T.Label()),
552
+ }).pipe(T.Http({
553
+ method: "POST",
554
+ uri: "/auth/{approle_mount_path}/tidy/secret-id",
555
+ code: 200,
556
+ }))).annotate({
557
+ identifier: "AppRoleTidySecretIdRequest",
558
+ });
559
+ export const AppRoleTidySecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
560
+ identifier: "AppRoleTidySecretIdResponse",
561
+ });
562
+ export const AppRoleWriteBindSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
563
+ approle_mount_path: S.String.pipe(T.Label()),
564
+ role_name: S.String.pipe(T.Label()),
565
+ bind_secret_id: S.optional(S.Boolean),
566
+ }).pipe(T.Http({
567
+ method: "POST",
568
+ uri: "/auth/{approle_mount_path}/role/{role_name}/bind-secret-id",
569
+ code: 200,
570
+ }))).annotate({
571
+ identifier: "AppRoleWriteBindSecretIdRequest",
572
+ });
573
+ export const AppRoleWriteBindSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
574
+ identifier: "AppRoleWriteBindSecretIdResponse",
575
+ });
576
+ export const AppRoleWriteCustomSecretIdRequestCidrListList =
577
+ /*@__PURE__*/ S.Array(S.String);
578
+ export const AppRoleWriteCustomSecretIdRequestTokenBoundCidrsList =
579
+ /*@__PURE__*/ S.Array(S.String);
580
+ export const AppRoleWriteCustomSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
581
+ approle_mount_path: S.String.pipe(T.Label()),
582
+ role_name: S.String.pipe(T.Label()),
583
+ cidr_list: S.optional(AppRoleWriteCustomSecretIdRequestCidrListList),
584
+ metadata: S.optional(S.String),
585
+ num_uses: S.optional(S.Number),
586
+ secret_id: S.optional(S.String),
587
+ token_bound_cidrs: S.optional(AppRoleWriteCustomSecretIdRequestTokenBoundCidrsList),
588
+ ttl: S.optional(S.Number),
589
+ }).pipe(T.Http({
590
+ method: "POST",
591
+ uri: "/auth/{approle_mount_path}/role/{role_name}/custom-secret-id",
592
+ code: 200,
593
+ }))).annotate({
594
+ identifier: "AppRoleWriteCustomSecretIdRequest",
595
+ });
596
+ export const AppRoleWriteCustomSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
597
+ secret_id: S.optional(S.String),
598
+ secret_id_accessor: S.optional(S.String),
599
+ secret_id_num_uses: S.optional(S.Number),
600
+ secret_id_ttl: S.optional(S.Number),
601
+ })).annotate({
602
+ identifier: "AppRoleWriteCustomSecretIdResponse",
603
+ });
604
+ export const AppRoleWritePeriodRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
605
+ approle_mount_path: S.String.pipe(T.Label()),
606
+ role_name: S.String.pipe(T.Label()),
607
+ period: S.optional(S.Number),
608
+ token_period: S.optional(S.Number),
609
+ }).pipe(T.Http({
610
+ method: "POST",
611
+ uri: "/auth/{approle_mount_path}/role/{role_name}/period",
612
+ code: 200,
613
+ }))).annotate({
614
+ identifier: "AppRoleWritePeriodRequest",
615
+ });
616
+ export const AppRoleWritePeriodResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
617
+ identifier: "AppRoleWritePeriodResponse",
618
+ });
619
+ export const AppRoleWritePoliciesRequestPoliciesList = /*@__PURE__*/ S.Array(S.String);
620
+ export const AppRoleWritePoliciesRequestTokenPoliciesList =
621
+ /*@__PURE__*/ S.Array(S.String);
622
+ export const AppRoleWritePoliciesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
623
+ approle_mount_path: S.String.pipe(T.Label()),
624
+ role_name: S.String.pipe(T.Label()),
625
+ policies: S.optional(AppRoleWritePoliciesRequestPoliciesList),
626
+ token_policies: S.optional(AppRoleWritePoliciesRequestTokenPoliciesList),
627
+ }).pipe(T.Http({
628
+ method: "POST",
629
+ uri: "/auth/{approle_mount_path}/role/{role_name}/policies",
630
+ code: 200,
631
+ }))).annotate({
632
+ identifier: "AppRoleWritePoliciesRequest",
633
+ });
634
+ export const AppRoleWritePoliciesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
635
+ identifier: "AppRoleWritePoliciesResponse",
636
+ });
637
+ export const AppRoleWriteRoleRequestBoundCidrListList = /*@__PURE__*/ S.Array(S.String);
638
+ export const AppRoleWriteRoleRequestPoliciesList = /*@__PURE__*/ S.Array(S.String);
639
+ export const AppRoleWriteRoleRequestSecretIdBoundCidrsList =
640
+ /*@__PURE__*/ S.Array(S.String);
641
+ export const AppRoleWriteRoleRequestTokenBoundCidrsList = /*@__PURE__*/ S.Array(S.String);
642
+ export const AppRoleWriteRoleRequestTokenPoliciesList = /*@__PURE__*/ S.Array(S.String);
643
+ export const AppRoleWriteRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
644
+ approle_mount_path: S.String.pipe(T.Label()),
645
+ role_name: S.String.pipe(T.Label()),
646
+ bind_secret_id: S.optional(S.Boolean),
647
+ bound_cidr_list: S.optional(AppRoleWriteRoleRequestBoundCidrListList),
648
+ local_secret_ids: S.optional(S.Boolean),
649
+ period: S.optional(S.Number),
650
+ policies: S.optional(AppRoleWriteRoleRequestPoliciesList),
651
+ role_id: S.optional(S.String),
652
+ secret_id_bound_cidrs: S.optional(AppRoleWriteRoleRequestSecretIdBoundCidrsList),
653
+ secret_id_num_uses: S.optional(S.Number),
654
+ secret_id_ttl: S.optional(S.Number),
655
+ token_bound_cidrs: S.optional(AppRoleWriteRoleRequestTokenBoundCidrsList),
656
+ token_explicit_max_ttl: S.optional(S.Number),
657
+ token_max_ttl: S.optional(S.Number),
658
+ token_no_default_policy: S.optional(S.Boolean),
659
+ token_num_uses: S.optional(S.Number),
660
+ token_period: S.optional(S.Number),
661
+ token_policies: S.optional(AppRoleWriteRoleRequestTokenPoliciesList),
662
+ token_strictly_bind_ip: S.optional(S.Boolean),
663
+ token_ttl: S.optional(S.Number),
664
+ token_type: S.optional(S.String),
665
+ }).pipe(T.Http({
666
+ method: "POST",
667
+ uri: "/auth/{approle_mount_path}/role/{role_name}",
668
+ code: 200,
669
+ }))).annotate({
670
+ identifier: "AppRoleWriteRoleRequest",
671
+ });
672
+ export const AppRoleWriteRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
673
+ identifier: "AppRoleWriteRoleResponse",
674
+ });
675
+ export const AppRoleWriteRoleIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
676
+ approle_mount_path: S.String.pipe(T.Label()),
677
+ role_name: S.String.pipe(T.Label()),
678
+ role_id: S.optional(S.String),
679
+ }).pipe(T.Http({
680
+ method: "POST",
681
+ uri: "/auth/{approle_mount_path}/role/{role_name}/role-id",
682
+ code: 200,
683
+ }))).annotate({
684
+ identifier: "AppRoleWriteRoleIdRequest",
685
+ });
686
+ export const AppRoleWriteRoleIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
687
+ identifier: "AppRoleWriteRoleIdResponse",
688
+ });
689
+ export const AppRoleWriteSecretIdRequestCidrListList = /*@__PURE__*/ S.Array(S.String);
690
+ export const AppRoleWriteSecretIdRequestTokenBoundCidrsList =
691
+ /*@__PURE__*/ S.Array(S.String);
692
+ export const AppRoleWriteSecretIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
693
+ approle_mount_path: S.String.pipe(T.Label()),
694
+ role_name: S.String.pipe(T.Label()),
695
+ after: S.optional(S.String),
696
+ cidr_list: S.optional(AppRoleWriteSecretIdRequestCidrListList),
697
+ limit: S.optional(S.Number),
698
+ metadata: S.optional(S.String),
699
+ num_uses: S.optional(S.Number),
700
+ token_bound_cidrs: S.optional(AppRoleWriteSecretIdRequestTokenBoundCidrsList),
701
+ ttl: S.optional(S.Number),
702
+ }).pipe(T.Http({
703
+ method: "POST",
704
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id",
705
+ code: 200,
706
+ }))).annotate({
707
+ identifier: "AppRoleWriteSecretIdRequest",
708
+ });
709
+ export const AppRoleWriteSecretIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
710
+ secret_id: S.optional(S.String),
711
+ secret_id_accessor: S.optional(S.String),
712
+ secret_id_num_uses: S.optional(S.Number),
713
+ secret_id_ttl: S.optional(S.Number),
714
+ })).annotate({
715
+ identifier: "AppRoleWriteSecretIdResponse",
716
+ });
717
+ export const AppRoleWriteSecretIdBoundCidrsRequestSecretIdBoundCidrsList =
718
+ /*@__PURE__*/ S.Array(S.String);
719
+ export const AppRoleWriteSecretIdBoundCidrsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
720
+ approle_mount_path: S.String.pipe(T.Label()),
721
+ role_name: S.String.pipe(T.Label()),
722
+ secret_id_bound_cidrs: S.optional(AppRoleWriteSecretIdBoundCidrsRequestSecretIdBoundCidrsList),
723
+ }).pipe(T.Http({
724
+ method: "POST",
725
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-bound-cidrs",
726
+ code: 200,
727
+ }))).annotate({
728
+ identifier: "AppRoleWriteSecretIdBoundCidrsRequest",
729
+ });
730
+ export const AppRoleWriteSecretIdBoundCidrsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
731
+ identifier: "AppRoleWriteSecretIdBoundCidrsResponse",
732
+ });
733
+ export const AppRoleWriteSecretIdNumUsesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
734
+ approle_mount_path: S.String.pipe(T.Label()),
735
+ role_name: S.String.pipe(T.Label()),
736
+ secret_id_num_uses: S.optional(S.Number),
737
+ }).pipe(T.Http({
738
+ method: "POST",
739
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-num-uses",
740
+ code: 200,
741
+ }))).annotate({
742
+ identifier: "AppRoleWriteSecretIdNumUsesRequest",
743
+ });
744
+ export const AppRoleWriteSecretIdNumUsesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
745
+ identifier: "AppRoleWriteSecretIdNumUsesResponse",
746
+ });
747
+ export const AppRoleWriteSecretIdTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
748
+ approle_mount_path: S.String.pipe(T.Label()),
749
+ role_name: S.String.pipe(T.Label()),
750
+ secret_id_ttl: S.optional(S.Number),
751
+ }).pipe(T.Http({
752
+ method: "POST",
753
+ uri: "/auth/{approle_mount_path}/role/{role_name}/secret-id-ttl",
754
+ code: 200,
755
+ }))).annotate({
756
+ identifier: "AppRoleWriteSecretIdTtlRequest",
757
+ });
758
+ export const AppRoleWriteSecretIdTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
759
+ identifier: "AppRoleWriteSecretIdTtlResponse",
760
+ });
761
+ export const AppRoleWriteTokenBoundCidrsRequestTokenBoundCidrsList =
762
+ /*@__PURE__*/ S.Array(S.String);
763
+ export const AppRoleWriteTokenBoundCidrsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
764
+ approle_mount_path: S.String.pipe(T.Label()),
765
+ role_name: S.String.pipe(T.Label()),
766
+ token_bound_cidrs: S.optional(AppRoleWriteTokenBoundCidrsRequestTokenBoundCidrsList),
767
+ }).pipe(T.Http({
768
+ method: "POST",
769
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-bound-cidrs",
770
+ code: 200,
771
+ }))).annotate({
772
+ identifier: "AppRoleWriteTokenBoundCidrsRequest",
773
+ });
774
+ export const AppRoleWriteTokenBoundCidrsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
775
+ identifier: "AppRoleWriteTokenBoundCidrsResponse",
776
+ });
777
+ export const AppRoleWriteTokenMaxTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
778
+ approle_mount_path: S.String.pipe(T.Label()),
779
+ role_name: S.String.pipe(T.Label()),
780
+ token_max_ttl: S.optional(S.Number),
781
+ }).pipe(T.Http({
782
+ method: "POST",
783
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-max-ttl",
784
+ code: 200,
785
+ }))).annotate({
786
+ identifier: "AppRoleWriteTokenMaxTtlRequest",
787
+ });
788
+ export const AppRoleWriteTokenMaxTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
789
+ identifier: "AppRoleWriteTokenMaxTtlResponse",
790
+ });
791
+ export const AppRoleWriteTokenNumUsesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
792
+ approle_mount_path: S.String.pipe(T.Label()),
793
+ role_name: S.String.pipe(T.Label()),
794
+ token_num_uses: S.optional(S.Number),
795
+ }).pipe(T.Http({
796
+ method: "POST",
797
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-num-uses",
798
+ code: 200,
799
+ }))).annotate({
800
+ identifier: "AppRoleWriteTokenNumUsesRequest",
801
+ });
802
+ export const AppRoleWriteTokenNumUsesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
803
+ identifier: "AppRoleWriteTokenNumUsesResponse",
804
+ });
805
+ export const AppRoleWriteTokenTtlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
806
+ approle_mount_path: S.String.pipe(T.Label()),
807
+ role_name: S.String.pipe(T.Label()),
808
+ token_ttl: S.optional(S.Number),
809
+ }).pipe(T.Http({
810
+ method: "POST",
811
+ uri: "/auth/{approle_mount_path}/role/{role_name}/token-ttl",
812
+ code: 200,
813
+ }))).annotate({
814
+ identifier: "AppRoleWriteTokenTtlRequest",
815
+ });
816
+ export const AppRoleWriteTokenTtlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
817
+ identifier: "AppRoleWriteTokenTtlResponse",
818
+ });
819
+ export const ListAppRoleWriteBoundCidrRequestBoundCidrListList =
820
+ /*@__PURE__*/ S.Array(S.String);
821
+ export const ListAppRoleWriteBoundCidrRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
822
+ approle_mount_path: S.String.pipe(T.Label()),
823
+ role_name: S.String.pipe(T.Label()),
824
+ bound_cidr_list: S.optional(ListAppRoleWriteBoundCidrRequestBoundCidrListList),
825
+ }).pipe(T.Http({
826
+ method: "POST",
827
+ uri: "/auth/{approle_mount_path}/role/{role_name}/bound-cidr-list",
828
+ code: 200,
829
+ }))).annotate({
830
+ identifier: "ListAppRoleWriteBoundCidrRequest",
831
+ });
832
+ export const ListAppRoleWriteBoundCidrResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
833
+ identifier: "ListAppRoleWriteBoundCidrResponse",
834
+ });
835
+ export const LoginAppRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
836
+ approle_mount_path: S.String.pipe(T.Label()),
837
+ role_id: S.optional(S.String),
838
+ secret_id: S.optional(S.String),
839
+ }).pipe(T.Http({
840
+ method: "POST",
841
+ uri: "/auth/{approle_mount_path}/login",
842
+ code: 200,
843
+ }))).annotate({
844
+ identifier: "LoginAppRoleRequest",
845
+ });
846
+ export const LoginAppRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
847
+ identifier: "LoginAppRoleResponse",
848
+ });
849
+ export const appRoleDeleteBindSecretId = /*@__PURE__*/ API.make(() => ({
850
+ input: AppRoleDeleteBindSecretIdRequest,
851
+ output: AppRoleDeleteBindSecretIdResponse,
852
+ errors: [],
853
+ protocol: OpenBaoProtocol,
854
+ retry: Retry.Retry,
855
+ }));
856
+ export const appRoleDeleteBoundCidrList = /*@__PURE__*/ API.make(() => ({
857
+ input: AppRoleDeleteBoundCidrListRequest,
858
+ output: AppRoleDeleteBoundCidrListResponse,
859
+ errors: [],
860
+ protocol: OpenBaoProtocol,
861
+ retry: Retry.Retry,
862
+ }));
863
+ export const appRoleDeletePeriod = /*@__PURE__*/ API.make(() => ({
864
+ input: AppRoleDeletePeriodRequest,
865
+ output: AppRoleDeletePeriodResponse,
866
+ errors: [],
867
+ protocol: OpenBaoProtocol,
868
+ retry: Retry.Retry,
869
+ }));
870
+ export const appRoleDeletePolicies = /*@__PURE__*/ API.make(() => ({
871
+ input: AppRoleDeletePoliciesRequest,
872
+ output: AppRoleDeletePoliciesResponse,
873
+ errors: [],
874
+ protocol: OpenBaoProtocol,
875
+ retry: Retry.Retry,
876
+ }));
877
+ export const appRoleDeleteRole = /*@__PURE__*/ API.make(() => ({
878
+ input: AppRoleDeleteRoleRequest,
879
+ output: AppRoleDeleteRoleResponse,
880
+ errors: [],
881
+ protocol: OpenBaoProtocol,
882
+ retry: Retry.Retry,
883
+ }));
884
+ export const appRoleDeleteSecretIdBoundCidrs = /*@__PURE__*/ API.make(() => ({
885
+ input: AppRoleDeleteSecretIdBoundCidrsRequest,
886
+ output: AppRoleDeleteSecretIdBoundCidrsResponse,
887
+ errors: [],
888
+ protocol: OpenBaoProtocol,
889
+ retry: Retry.Retry,
890
+ }));
891
+ export const appRoleDeleteSecretIdNumUses = /*@__PURE__*/ API.make(() => ({
892
+ input: AppRoleDeleteSecretIdNumUsesRequest,
893
+ output: AppRoleDeleteSecretIdNumUsesResponse,
894
+ errors: [],
895
+ protocol: OpenBaoProtocol,
896
+ retry: Retry.Retry,
897
+ }));
898
+ export const appRoleDeleteSecretIdTtl = /*@__PURE__*/ API.make(() => ({
899
+ input: AppRoleDeleteSecretIdTtlRequest,
900
+ output: AppRoleDeleteSecretIdTtlResponse,
901
+ errors: [],
902
+ protocol: OpenBaoProtocol,
903
+ retry: Retry.Retry,
904
+ }));
905
+ export const appRoleDeleteTokenBoundCidrs = /*@__PURE__*/ API.make(() => ({
906
+ input: AppRoleDeleteTokenBoundCidrsRequest,
907
+ output: AppRoleDeleteTokenBoundCidrsResponse,
908
+ errors: [],
909
+ protocol: OpenBaoProtocol,
910
+ retry: Retry.Retry,
911
+ }));
912
+ export const appRoleDeleteTokenMaxTtl = /*@__PURE__*/ API.make(() => ({
913
+ input: AppRoleDeleteTokenMaxTtlRequest,
914
+ output: AppRoleDeleteTokenMaxTtlResponse,
915
+ errors: [],
916
+ protocol: OpenBaoProtocol,
917
+ retry: Retry.Retry,
918
+ }));
919
+ export const appRoleDeleteTokenNumUses = /*@__PURE__*/ API.make(() => ({
920
+ input: AppRoleDeleteTokenNumUsesRequest,
921
+ output: AppRoleDeleteTokenNumUsesResponse,
922
+ errors: [],
923
+ protocol: OpenBaoProtocol,
924
+ retry: Retry.Retry,
925
+ }));
926
+ export const appRoleDeleteTokenTtl = /*@__PURE__*/ API.make(() => ({
927
+ input: AppRoleDeleteTokenTtlRequest,
928
+ output: AppRoleDeleteTokenTtlResponse,
929
+ errors: [],
930
+ protocol: OpenBaoProtocol,
931
+ retry: Retry.Retry,
932
+ }));
933
+ export const appRoleDestroySecretId = /*@__PURE__*/ API.make(() => ({
934
+ input: AppRoleDestroySecretIdRequest,
935
+ output: AppRoleDestroySecretIdResponse,
936
+ errors: [],
937
+ protocol: OpenBaoProtocol,
938
+ retry: Retry.Retry,
939
+ }));
940
+ export const appRoleDestroySecretId2 = /*@__PURE__*/ API.make(() => ({
941
+ input: AppRoleDestroySecretId2Request,
942
+ output: AppRoleDestroySecretId2Response,
943
+ errors: [],
944
+ protocol: OpenBaoProtocol,
945
+ retry: Retry.Retry,
946
+ }));
947
+ export const appRoleDestroySecretIdByAccessor = /*@__PURE__*/ API.make(() => ({
948
+ input: AppRoleDestroySecretIdByAccessorRequest,
949
+ output: AppRoleDestroySecretIdByAccessorResponse,
950
+ errors: [],
951
+ protocol: OpenBaoProtocol,
952
+ retry: Retry.Retry,
953
+ }));
954
+ export const appRoleDestroySecretIdByAccessor2 = /*@__PURE__*/ API.make(() => ({
955
+ input: AppRoleDestroySecretIdByAccessor2Request,
956
+ output: AppRoleDestroySecretIdByAccessor2Response,
957
+ errors: [],
958
+ protocol: OpenBaoProtocol,
959
+ retry: Retry.Retry,
960
+ }));
961
+ export const appRoleListRoles = /*@__PURE__*/ API.make(() => ({
962
+ input: AppRoleListRolesRequest,
963
+ output: AppRoleListRolesResponse,
964
+ errors: [],
965
+ protocol: OpenBaoProtocol,
966
+ retry: Retry.Retry,
967
+ }));
968
+ export const appRoleListSecretIds = /*@__PURE__*/ API.make(() => ({
969
+ input: AppRoleListSecretIdsRequest,
970
+ output: AppRoleListSecretIdsResponse,
971
+ errors: [],
972
+ protocol: OpenBaoProtocol,
973
+ retry: Retry.Retry,
974
+ }));
975
+ export const appRoleLookUpSecretId = /*@__PURE__*/ API.make(() => ({
976
+ input: AppRoleLookUpSecretIdRequest,
977
+ output: AppRoleLookUpSecretIdResponse,
978
+ errors: [],
979
+ protocol: OpenBaoProtocol,
980
+ retry: Retry.Retry,
981
+ }));
982
+ export const appRoleLookUpSecretIdByAccessor = /*@__PURE__*/ API.make(() => ({
983
+ input: AppRoleLookUpSecretIdByAccessorRequest,
984
+ output: AppRoleLookUpSecretIdByAccessorResponse,
985
+ errors: [],
986
+ protocol: OpenBaoProtocol,
987
+ retry: Retry.Retry,
988
+ }));
989
+ export const appRoleReadBindSecretId = /*@__PURE__*/ API.make(() => ({
990
+ input: AppRoleReadBindSecretIdRequest,
991
+ output: AppRoleReadBindSecretIdResponse,
992
+ errors: [],
993
+ protocol: OpenBaoProtocol,
994
+ retry: Retry.Retry,
995
+ }));
996
+ export const appRoleReadBoundCidrList = /*@__PURE__*/ API.make(() => ({
997
+ input: AppRoleReadBoundCidrListRequest,
998
+ output: AppRoleReadBoundCidrListResponse,
999
+ errors: [],
1000
+ protocol: OpenBaoProtocol,
1001
+ retry: Retry.Retry,
1002
+ }));
1003
+ export const appRoleReadLocalSecretIds = /*@__PURE__*/ API.make(() => ({
1004
+ input: AppRoleReadLocalSecretIdsRequest,
1005
+ output: AppRoleReadLocalSecretIdsResponse,
1006
+ errors: [],
1007
+ protocol: OpenBaoProtocol,
1008
+ retry: Retry.Retry,
1009
+ }));
1010
+ export const appRoleReadPeriod = /*@__PURE__*/ API.make(() => ({
1011
+ input: AppRoleReadPeriodRequest,
1012
+ output: AppRoleReadPeriodResponse,
1013
+ errors: [],
1014
+ protocol: OpenBaoProtocol,
1015
+ retry: Retry.Retry,
1016
+ }));
1017
+ export const appRoleReadPolicies = /*@__PURE__*/ API.make(() => ({
1018
+ input: AppRoleReadPoliciesRequest,
1019
+ output: AppRoleReadPoliciesResponse,
1020
+ errors: [],
1021
+ protocol: OpenBaoProtocol,
1022
+ retry: Retry.Retry,
1023
+ }));
1024
+ export const appRoleReadRole = /*@__PURE__*/ API.make(() => ({
1025
+ input: AppRoleReadRoleRequest,
1026
+ output: AppRoleReadRoleResponse,
1027
+ errors: [],
1028
+ protocol: OpenBaoProtocol,
1029
+ retry: Retry.Retry,
1030
+ }));
1031
+ export const appRoleReadRoleId = /*@__PURE__*/ API.make(() => ({
1032
+ input: AppRoleReadRoleIdRequest,
1033
+ output: AppRoleReadRoleIdResponse,
1034
+ errors: [],
1035
+ protocol: OpenBaoProtocol,
1036
+ retry: Retry.Retry,
1037
+ }));
1038
+ export const appRoleReadSecretIdBoundCidrs = /*@__PURE__*/ API.make(() => ({
1039
+ input: AppRoleReadSecretIdBoundCidrsRequest,
1040
+ output: AppRoleReadSecretIdBoundCidrsResponse,
1041
+ errors: [],
1042
+ protocol: OpenBaoProtocol,
1043
+ retry: Retry.Retry,
1044
+ }));
1045
+ export const appRoleReadSecretIdNumUses = /*@__PURE__*/ API.make(() => ({
1046
+ input: AppRoleReadSecretIdNumUsesRequest,
1047
+ output: AppRoleReadSecretIdNumUsesResponse,
1048
+ errors: [],
1049
+ protocol: OpenBaoProtocol,
1050
+ retry: Retry.Retry,
1051
+ }));
1052
+ export const appRoleReadSecretIdTtl = /*@__PURE__*/ API.make(() => ({
1053
+ input: AppRoleReadSecretIdTtlRequest,
1054
+ output: AppRoleReadSecretIdTtlResponse,
1055
+ errors: [],
1056
+ protocol: OpenBaoProtocol,
1057
+ retry: Retry.Retry,
1058
+ }));
1059
+ export const appRoleReadTokenBoundCidrs = /*@__PURE__*/ API.make(() => ({
1060
+ input: AppRoleReadTokenBoundCidrsRequest,
1061
+ output: AppRoleReadTokenBoundCidrsResponse,
1062
+ errors: [],
1063
+ protocol: OpenBaoProtocol,
1064
+ retry: Retry.Retry,
1065
+ }));
1066
+ export const appRoleReadTokenMaxTtl = /*@__PURE__*/ API.make(() => ({
1067
+ input: AppRoleReadTokenMaxTtlRequest,
1068
+ output: AppRoleReadTokenMaxTtlResponse,
1069
+ errors: [],
1070
+ protocol: OpenBaoProtocol,
1071
+ retry: Retry.Retry,
1072
+ }));
1073
+ export const appRoleReadTokenNumUses = /*@__PURE__*/ API.make(() => ({
1074
+ input: AppRoleReadTokenNumUsesRequest,
1075
+ output: AppRoleReadTokenNumUsesResponse,
1076
+ errors: [],
1077
+ protocol: OpenBaoProtocol,
1078
+ retry: Retry.Retry,
1079
+ }));
1080
+ export const appRoleReadTokenTtl = /*@__PURE__*/ API.make(() => ({
1081
+ input: AppRoleReadTokenTtlRequest,
1082
+ output: AppRoleReadTokenTtlResponse,
1083
+ errors: [],
1084
+ protocol: OpenBaoProtocol,
1085
+ retry: Retry.Retry,
1086
+ }));
1087
+ export const appRoleTidySecretId = /*@__PURE__*/ API.make(() => ({
1088
+ input: AppRoleTidySecretIdRequest,
1089
+ output: AppRoleTidySecretIdResponse,
1090
+ errors: [],
1091
+ protocol: OpenBaoProtocol,
1092
+ retry: Retry.Retry,
1093
+ }));
1094
+ export const appRoleWriteBindSecretId = /*@__PURE__*/ API.make(() => ({
1095
+ input: AppRoleWriteBindSecretIdRequest,
1096
+ output: AppRoleWriteBindSecretIdResponse,
1097
+ errors: [],
1098
+ protocol: OpenBaoProtocol,
1099
+ retry: Retry.Retry,
1100
+ }));
1101
+ export const appRoleWriteCustomSecretId = /*@__PURE__*/ API.make(() => ({
1102
+ input: AppRoleWriteCustomSecretIdRequest,
1103
+ output: AppRoleWriteCustomSecretIdResponse,
1104
+ errors: [],
1105
+ protocol: OpenBaoProtocol,
1106
+ retry: Retry.Retry,
1107
+ }));
1108
+ export const appRoleWritePeriod = /*@__PURE__*/ API.make(() => ({
1109
+ input: AppRoleWritePeriodRequest,
1110
+ output: AppRoleWritePeriodResponse,
1111
+ errors: [],
1112
+ protocol: OpenBaoProtocol,
1113
+ retry: Retry.Retry,
1114
+ }));
1115
+ export const appRoleWritePolicies = /*@__PURE__*/ API.make(() => ({
1116
+ input: AppRoleWritePoliciesRequest,
1117
+ output: AppRoleWritePoliciesResponse,
1118
+ errors: [],
1119
+ protocol: OpenBaoProtocol,
1120
+ retry: Retry.Retry,
1121
+ }));
1122
+ export const appRoleWriteRole = /*@__PURE__*/ API.make(() => ({
1123
+ input: AppRoleWriteRoleRequest,
1124
+ output: AppRoleWriteRoleResponse,
1125
+ errors: [],
1126
+ protocol: OpenBaoProtocol,
1127
+ retry: Retry.Retry,
1128
+ }));
1129
+ export const appRoleWriteRoleId = /*@__PURE__*/ API.make(() => ({
1130
+ input: AppRoleWriteRoleIdRequest,
1131
+ output: AppRoleWriteRoleIdResponse,
1132
+ errors: [],
1133
+ protocol: OpenBaoProtocol,
1134
+ retry: Retry.Retry,
1135
+ }));
1136
+ export const appRoleWriteSecretId = /*@__PURE__*/ API.make(() => ({
1137
+ input: AppRoleWriteSecretIdRequest,
1138
+ output: AppRoleWriteSecretIdResponse,
1139
+ errors: [],
1140
+ protocol: OpenBaoProtocol,
1141
+ retry: Retry.Retry,
1142
+ }));
1143
+ export const appRoleWriteSecretIdBoundCidrs = /*@__PURE__*/ API.make(() => ({
1144
+ input: AppRoleWriteSecretIdBoundCidrsRequest,
1145
+ output: AppRoleWriteSecretIdBoundCidrsResponse,
1146
+ errors: [],
1147
+ protocol: OpenBaoProtocol,
1148
+ retry: Retry.Retry,
1149
+ }));
1150
+ export const appRoleWriteSecretIdNumUses = /*@__PURE__*/ API.make(() => ({
1151
+ input: AppRoleWriteSecretIdNumUsesRequest,
1152
+ output: AppRoleWriteSecretIdNumUsesResponse,
1153
+ errors: [],
1154
+ protocol: OpenBaoProtocol,
1155
+ retry: Retry.Retry,
1156
+ }));
1157
+ export const appRoleWriteSecretIdTtl = /*@__PURE__*/ API.make(() => ({
1158
+ input: AppRoleWriteSecretIdTtlRequest,
1159
+ output: AppRoleWriteSecretIdTtlResponse,
1160
+ errors: [],
1161
+ protocol: OpenBaoProtocol,
1162
+ retry: Retry.Retry,
1163
+ }));
1164
+ export const appRoleWriteTokenBoundCidrs = /*@__PURE__*/ API.make(() => ({
1165
+ input: AppRoleWriteTokenBoundCidrsRequest,
1166
+ output: AppRoleWriteTokenBoundCidrsResponse,
1167
+ errors: [],
1168
+ protocol: OpenBaoProtocol,
1169
+ retry: Retry.Retry,
1170
+ }));
1171
+ export const appRoleWriteTokenMaxTtl = /*@__PURE__*/ API.make(() => ({
1172
+ input: AppRoleWriteTokenMaxTtlRequest,
1173
+ output: AppRoleWriteTokenMaxTtlResponse,
1174
+ errors: [],
1175
+ protocol: OpenBaoProtocol,
1176
+ retry: Retry.Retry,
1177
+ }));
1178
+ export const appRoleWriteTokenNumUses = /*@__PURE__*/ API.make(() => ({
1179
+ input: AppRoleWriteTokenNumUsesRequest,
1180
+ output: AppRoleWriteTokenNumUsesResponse,
1181
+ errors: [],
1182
+ protocol: OpenBaoProtocol,
1183
+ retry: Retry.Retry,
1184
+ }));
1185
+ export const appRoleWriteTokenTtl = /*@__PURE__*/ API.make(() => ({
1186
+ input: AppRoleWriteTokenTtlRequest,
1187
+ output: AppRoleWriteTokenTtlResponse,
1188
+ errors: [],
1189
+ protocol: OpenBaoProtocol,
1190
+ retry: Retry.Retry,
1191
+ }));
1192
+ export const listAppRoleWriteBoundCidr = /*@__PURE__*/ API.make(() => ({
1193
+ input: ListAppRoleWriteBoundCidrRequest,
1194
+ output: ListAppRoleWriteBoundCidrResponse,
1195
+ errors: [],
1196
+ protocol: OpenBaoProtocol,
1197
+ retry: Retry.Retry,
1198
+ }));
1199
+ export const loginAppRole = /*@__PURE__*/ API.make(() => ({
1200
+ input: LoginAppRoleRequest,
1201
+ output: LoginAppRoleResponse,
1202
+ errors: [],
1203
+ protocol: OpenBaoProtocol,
1204
+ retry: Retry.Retry,
1205
+ }));
1206
+ //# sourceMappingURL=approle.js.map