@dfns/sdk 0.2.2 → 0.2.3-rc.1

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 (377) hide show
  1. package/baseAuthApi.ts +236 -0
  2. package/codegen/Assets/AssetsClient.ts +137 -0
  3. package/codegen/Assets/DelegatedAssetsClient.ts +201 -0
  4. package/codegen/Assets/index.ts +3 -0
  5. package/codegen/Assets/types.ts +45 -0
  6. package/codegen/Auth/AuthClient.ts +729 -0
  7. package/codegen/Auth/DelegatedAuthClient.ts +1508 -0
  8. package/codegen/Auth/index.ts +3 -0
  9. package/codegen/Auth/types.ts +262 -0
  10. package/codegen/Blockchains/BlockchainsClient.ts +25 -0
  11. package/codegen/Blockchains/DelegatedBlockchainsClient.ts +25 -0
  12. package/codegen/Blockchains/index.ts +3 -0
  13. package/codegen/Blockchains/types.ts +8 -0
  14. package/codegen/Callbacks/CallbacksClient.ts +107 -0
  15. package/codegen/Callbacks/DelegatedCallbacksClient.ts +172 -0
  16. package/codegen/Callbacks/index.ts +3 -0
  17. package/codegen/Callbacks/{types.d.ts → types.ts} +26 -18
  18. package/codegen/Permissions/DelegatedPermissionsClient.ts +468 -0
  19. package/codegen/Permissions/PermissionsClient.ts +223 -0
  20. package/codegen/Permissions/index.ts +3 -0
  21. package/codegen/Permissions/types.ts +82 -0
  22. package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.ts +99 -0
  23. package/codegen/PolicyExecution/PolicyExecutionClient.ts +63 -0
  24. package/codegen/PolicyExecution/index.ts +3 -0
  25. package/codegen/PolicyExecution/types.ts +24 -0
  26. package/codegen/PolicyManagement/DelegatedPolicyManagementClient.ts +384 -0
  27. package/codegen/PolicyManagement/PolicyManagementClient.ts +205 -0
  28. package/codegen/PolicyManagement/index.ts +3 -0
  29. package/codegen/PolicyManagement/{types.d.ts → types.ts} +56 -40
  30. package/codegen/PublicKeys/DelegatedPublicKeysClient.ts +299 -0
  31. package/codegen/PublicKeys/PublicKeysClient.ts +179 -0
  32. package/codegen/PublicKeys/index.ts +3 -0
  33. package/codegen/PublicKeys/types.ts +68 -0
  34. package/codegen/Signers/DelegatedSignersClient.ts +22 -0
  35. package/codegen/Signers/SignersClient.ts +22 -0
  36. package/codegen/Signers/index.ts +3 -0
  37. package/codegen/Signers/types.ts +3 -0
  38. package/codegen/Wallets/DelegatedWalletsClient.ts +511 -0
  39. package/codegen/Wallets/WalletsClient.ts +310 -0
  40. package/codegen/Wallets/index.ts +3 -0
  41. package/codegen/Wallets/types.ts +137 -0
  42. package/codegen/datamodel/ApiKeys/errors.ts +9 -0
  43. package/codegen/datamodel/ApiKeys/index.ts +3 -0
  44. package/codegen/datamodel/ApiKeys/responses.ts +68 -0
  45. package/codegen/datamodel/ApiKeys/types.ts +81 -0
  46. package/codegen/datamodel/Assets/errors.ts +24 -0
  47. package/codegen/datamodel/Assets/index.ts +3 -0
  48. package/codegen/datamodel/Assets/responses.ts +146 -0
  49. package/codegen/datamodel/Assets/types.ts +417 -0
  50. package/codegen/datamodel/Auth/index.ts +2 -0
  51. package/codegen/datamodel/Auth/responses.ts +1110 -0
  52. package/codegen/datamodel/Auth/types.ts +1404 -0
  53. package/codegen/datamodel/BlockchainIndexing/index.ts +1 -0
  54. package/codegen/datamodel/BlockchainIndexing/{responses.d.ts → responses.ts} +10 -5
  55. package/codegen/datamodel/Blockchains/index.ts +2 -0
  56. package/codegen/datamodel/Blockchains/responses.ts +41 -0
  57. package/codegen/datamodel/Blockchains/types.ts +695 -0
  58. package/codegen/datamodel/Callbacks/index.ts +2 -0
  59. package/codegen/datamodel/Callbacks/responses.ts +110 -0
  60. package/codegen/datamodel/Callbacks/types.ts +100 -0
  61. package/codegen/datamodel/Foundations/errors.ts +299 -0
  62. package/codegen/datamodel/Foundations/index.ts +2 -0
  63. package/codegen/datamodel/Foundations/types.ts +57921 -0
  64. package/codegen/datamodel/Orgs/index.ts +2 -0
  65. package/codegen/datamodel/Orgs/responses.ts +104 -0
  66. package/codegen/datamodel/Orgs/types.ts +322 -0
  67. package/codegen/datamodel/Permissions/index.ts +2 -0
  68. package/codegen/datamodel/Permissions/responses.ts +258 -0
  69. package/codegen/datamodel/Permissions/types.ts +221 -0
  70. package/codegen/datamodel/PolicyExecution/errors.ts +24 -0
  71. package/codegen/datamodel/PolicyExecution/index.ts +3 -0
  72. package/codegen/datamodel/PolicyExecution/responses.ts +59 -0
  73. package/codegen/datamodel/PolicyExecution/types.ts +122 -0
  74. package/codegen/datamodel/PolicyManagement/index.ts +2 -0
  75. package/codegen/datamodel/PolicyManagement/responses.ts +255 -0
  76. package/codegen/datamodel/PolicyManagement/types.ts +711 -0
  77. package/codegen/datamodel/PublicKeys/index.ts +2 -0
  78. package/codegen/datamodel/PublicKeys/responses.ts +190 -0
  79. package/codegen/datamodel/PublicKeys/types.ts +558 -0
  80. package/codegen/datamodel/Signers/index.ts +2 -0
  81. package/codegen/datamodel/Signers/responses.ts +64 -0
  82. package/codegen/datamodel/Signers/types.ts +31 -0
  83. package/codegen/datamodel/Wallets/errors.ts +0 -0
  84. package/codegen/datamodel/Wallets/index.ts +2 -0
  85. package/codegen/datamodel/Wallets/responses.ts +318 -0
  86. package/codegen/datamodel/Wallets/types.ts +1268 -0
  87. package/dfnsApiClient.ts +76 -0
  88. package/dfnsAuthenticator.ts +59 -0
  89. package/dfnsDelegatedApiClient.ts +75 -0
  90. package/dfnsError.ts +5 -0
  91. package/generated/permissions/client.ts +125 -0
  92. package/generated/permissions/delegatedClient.ts +266 -0
  93. package/generated/permissions/index.ts +3 -0
  94. package/generated/permissions/types.ts +202 -0
  95. package/generated/policies/client.ts +110 -0
  96. package/generated/policies/delegatedClient.ts +223 -0
  97. package/generated/policies/index.ts +3 -0
  98. package/generated/policies/{types.d.ts → types.ts} +29 -17
  99. package/generated/signers/client.ts +22 -0
  100. package/generated/signers/delegatedClient.ts +23 -0
  101. package/generated/signers/index.ts +3 -0
  102. package/generated/signers/{types.d.ts → types.ts} +1 -0
  103. package/generated/wallets/client.ts +282 -0
  104. package/generated/wallets/delegatedClient.ts +507 -0
  105. package/generated/wallets/index.ts +3 -0
  106. package/generated/wallets/{types.d.ts → types.ts} +120 -48
  107. package/generated/webhooks/client.ts +124 -0
  108. package/generated/webhooks/delegatedClient.ts +237 -0
  109. package/generated/webhooks/index.ts +3 -0
  110. package/generated/webhooks/{types.d.ts → types.ts} +34 -16
  111. package/index.ts +7 -0
  112. package/package.json +1 -8
  113. package/project.json +14 -0
  114. package/signer.ts +60 -0
  115. package/store.ts +99 -0
  116. package/tsconfig.json +7 -0
  117. package/typedoc.json +21 -0
  118. package/types/policies.ts +1 -0
  119. package/types/signers.ts +1 -0
  120. package/types/wallets.ts +1 -0
  121. package/types/webhooks.ts +1 -0
  122. package/utils/base64.ts +19 -0
  123. package/utils/fetch.ts +130 -0
  124. package/utils/index.ts +4 -0
  125. package/utils/nonce.ts +12 -0
  126. package/utils/url.ts +19 -0
  127. package/baseAuthApi.d.ts +0 -113
  128. package/baseAuthApi.js +0 -97
  129. package/codegen/Assets/AssetsClient.d.ts +0 -13
  130. package/codegen/Assets/AssetsClient.js +0 -93
  131. package/codegen/Assets/DelegatedAssetsClient.d.ts +0 -16
  132. package/codegen/Assets/DelegatedAssetsClient.js +0 -124
  133. package/codegen/Assets/index.d.ts +0 -3
  134. package/codegen/Assets/index.js +0 -19
  135. package/codegen/Assets/types.d.ts +0 -37
  136. package/codegen/Assets/types.js +0 -2
  137. package/codegen/Auth/AuthClient.d.ts +0 -50
  138. package/codegen/Auth/AuthClient.js +0 -518
  139. package/codegen/Auth/DelegatedAuthClient.d.ts +0 -78
  140. package/codegen/Auth/DelegatedAuthClient.js +0 -936
  141. package/codegen/Auth/index.d.ts +0 -3
  142. package/codegen/Auth/index.js +0 -19
  143. package/codegen/Auth/types.d.ts +0 -177
  144. package/codegen/Auth/types.js +0 -2
  145. package/codegen/Blockchains/BlockchainsClient.d.ts +0 -7
  146. package/codegen/Blockchains/BlockchainsClient.js +0 -23
  147. package/codegen/Blockchains/DelegatedBlockchainsClient.d.ts +0 -7
  148. package/codegen/Blockchains/DelegatedBlockchainsClient.js +0 -23
  149. package/codegen/Blockchains/index.d.ts +0 -3
  150. package/codegen/Blockchains/index.js +0 -19
  151. package/codegen/Blockchains/types.d.ts +0 -6
  152. package/codegen/Blockchains/types.js +0 -2
  153. package/codegen/Callbacks/CallbacksClient.d.ts +0 -12
  154. package/codegen/Callbacks/CallbacksClient.js +0 -78
  155. package/codegen/Callbacks/DelegatedCallbacksClient.d.ts +0 -15
  156. package/codegen/Callbacks/DelegatedCallbacksClient.js +0 -110
  157. package/codegen/Callbacks/index.d.ts +0 -3
  158. package/codegen/Callbacks/index.js +0 -19
  159. package/codegen/Callbacks/types.js +0 -2
  160. package/codegen/Permissions/DelegatedPermissionsClient.d.ts +0 -27
  161. package/codegen/Permissions/DelegatedPermissionsClient.js +0 -284
  162. package/codegen/Permissions/PermissionsClient.d.ts +0 -18
  163. package/codegen/Permissions/PermissionsClient.js +0 -156
  164. package/codegen/Permissions/index.d.ts +0 -3
  165. package/codegen/Permissions/index.js +0 -19
  166. package/codegen/Permissions/types.d.ts +0 -62
  167. package/codegen/Permissions/types.js +0 -2
  168. package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.d.ts +0 -11
  169. package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.js +0 -61
  170. package/codegen/PolicyExecution/PolicyExecutionClient.d.ts +0 -9
  171. package/codegen/PolicyExecution/PolicyExecutionClient.js +0 -45
  172. package/codegen/PolicyExecution/index.d.ts +0 -3
  173. package/codegen/PolicyExecution/index.js +0 -19
  174. package/codegen/PolicyExecution/types.d.ts +0 -18
  175. package/codegen/PolicyExecution/types.js +0 -2
  176. package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +0 -25
  177. package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +0 -240
  178. package/codegen/PolicyManagement/PolicyManagementClient.d.ts +0 -18
  179. package/codegen/PolicyManagement/PolicyManagementClient.js +0 -146
  180. package/codegen/PolicyManagement/index.d.ts +0 -3
  181. package/codegen/PolicyManagement/index.js +0 -19
  182. package/codegen/PolicyManagement/types.js +0 -2
  183. package/codegen/PublicKeys/DelegatedPublicKeysClient.d.ts +0 -21
  184. package/codegen/PublicKeys/DelegatedPublicKeysClient.js +0 -189
  185. package/codegen/PublicKeys/PublicKeysClient.d.ts +0 -16
  186. package/codegen/PublicKeys/PublicKeysClient.js +0 -128
  187. package/codegen/PublicKeys/index.d.ts +0 -3
  188. package/codegen/PublicKeys/index.js +0 -19
  189. package/codegen/PublicKeys/types.d.ts +0 -51
  190. package/codegen/PublicKeys/types.js +0 -2
  191. package/codegen/Signers/DelegatedSignersClient.d.ts +0 -7
  192. package/codegen/Signers/DelegatedSignersClient.js +0 -22
  193. package/codegen/Signers/SignersClient.d.ts +0 -7
  194. package/codegen/Signers/SignersClient.js +0 -22
  195. package/codegen/Signers/index.d.ts +0 -3
  196. package/codegen/Signers/index.js +0 -19
  197. package/codegen/Signers/types.d.ts +0 -2
  198. package/codegen/Signers/types.js +0 -2
  199. package/codegen/Wallets/DelegatedWalletsClient.d.ts +0 -32
  200. package/codegen/Wallets/DelegatedWalletsClient.js +0 -325
  201. package/codegen/Wallets/WalletsClient.d.ts +0 -24
  202. package/codegen/Wallets/WalletsClient.js +0 -219
  203. package/codegen/Wallets/index.d.ts +0 -3
  204. package/codegen/Wallets/index.js +0 -19
  205. package/codegen/Wallets/types.d.ts +0 -101
  206. package/codegen/Wallets/types.js +0 -2
  207. package/codegen/datamodel/ApiKeys/errors.d.ts +0 -6
  208. package/codegen/datamodel/ApiKeys/errors.js +0 -15
  209. package/codegen/datamodel/ApiKeys/index.d.ts +0 -3
  210. package/codegen/datamodel/ApiKeys/index.js +0 -19
  211. package/codegen/datamodel/ApiKeys/responses.d.ts +0 -25
  212. package/codegen/datamodel/ApiKeys/responses.js +0 -2
  213. package/codegen/datamodel/ApiKeys/types.d.ts +0 -32
  214. package/codegen/datamodel/ApiKeys/types.js +0 -11
  215. package/codegen/datamodel/Assets/errors.d.ts +0 -11
  216. package/codegen/datamodel/Assets/errors.js +0 -17
  217. package/codegen/datamodel/Assets/index.d.ts +0 -3
  218. package/codegen/datamodel/Assets/index.js +0 -19
  219. package/codegen/datamodel/Assets/responses.d.ts +0 -47
  220. package/codegen/datamodel/Assets/responses.js +0 -2
  221. package/codegen/datamodel/Assets/types.d.ts +0 -225
  222. package/codegen/datamodel/Assets/types.js +0 -75
  223. package/codegen/datamodel/Auth/errors.js +0 -1
  224. package/codegen/datamodel/Auth/index.d.ts +0 -2
  225. package/codegen/datamodel/Auth/index.js +0 -18
  226. package/codegen/datamodel/Auth/responses.d.ts +0 -358
  227. package/codegen/datamodel/Auth/responses.js +0 -2
  228. package/codegen/datamodel/Auth/types.d.ts +0 -615
  229. package/codegen/datamodel/Auth/types.js +0 -127
  230. package/codegen/datamodel/BlockchainIndexing/errors.js +0 -1
  231. package/codegen/datamodel/BlockchainIndexing/index.d.ts +0 -1
  232. package/codegen/datamodel/BlockchainIndexing/index.js +0 -17
  233. package/codegen/datamodel/BlockchainIndexing/responses.js +0 -2
  234. package/codegen/datamodel/BlockchainIndexing/types.js +0 -1
  235. package/codegen/datamodel/Blockchains/errors.js +0 -1
  236. package/codegen/datamodel/Blockchains/index.d.ts +0 -2
  237. package/codegen/datamodel/Blockchains/index.js +0 -18
  238. package/codegen/datamodel/Blockchains/responses.d.ts +0 -12
  239. package/codegen/datamodel/Blockchains/responses.js +0 -2
  240. package/codegen/datamodel/Blockchains/types.d.ts +0 -270
  241. package/codegen/datamodel/Blockchains/types.js +0 -53
  242. package/codegen/datamodel/Callbacks/errors.js +0 -1
  243. package/codegen/datamodel/Callbacks/index.d.ts +0 -2
  244. package/codegen/datamodel/Callbacks/index.js +0 -18
  245. package/codegen/datamodel/Callbacks/responses.d.ts +0 -36
  246. package/codegen/datamodel/Callbacks/responses.js +0 -2
  247. package/codegen/datamodel/Callbacks/types.d.ts +0 -43
  248. package/codegen/datamodel/Callbacks/types.js +0 -39
  249. package/codegen/datamodel/Foundations/errors.d.ts +0 -131
  250. package/codegen/datamodel/Foundations/errors.js +0 -182
  251. package/codegen/datamodel/Foundations/index.d.ts +0 -2
  252. package/codegen/datamodel/Foundations/index.js +0 -18
  253. package/codegen/datamodel/Foundations/responses.js +0 -1
  254. package/codegen/datamodel/Foundations/types.d.ts +0 -9759
  255. package/codegen/datamodel/Foundations/types.js +0 -57755
  256. package/codegen/datamodel/Orgs/errors.js +0 -1
  257. package/codegen/datamodel/Orgs/index.d.ts +0 -2
  258. package/codegen/datamodel/Orgs/index.js +0 -18
  259. package/codegen/datamodel/Orgs/responses.d.ts +0 -45
  260. package/codegen/datamodel/Orgs/responses.js +0 -2
  261. package/codegen/datamodel/Orgs/types.d.ts +0 -240
  262. package/codegen/datamodel/Orgs/types.js +0 -39
  263. package/codegen/datamodel/Permissions/errors.js +0 -1
  264. package/codegen/datamodel/Permissions/index.d.ts +0 -2
  265. package/codegen/datamodel/Permissions/index.js +0 -18
  266. package/codegen/datamodel/Permissions/responses.d.ts +0 -75
  267. package/codegen/datamodel/Permissions/responses.js +0 -2
  268. package/codegen/datamodel/Permissions/types.d.ts +0 -93
  269. package/codegen/datamodel/Permissions/types.js +0 -43
  270. package/codegen/datamodel/PolicyExecution/errors.d.ts +0 -11
  271. package/codegen/datamodel/PolicyExecution/errors.js +0 -17
  272. package/codegen/datamodel/PolicyExecution/index.d.ts +0 -3
  273. package/codegen/datamodel/PolicyExecution/index.js +0 -19
  274. package/codegen/datamodel/PolicyExecution/responses.d.ts +0 -19
  275. package/codegen/datamodel/PolicyExecution/responses.js +0 -2
  276. package/codegen/datamodel/PolicyExecution/types.d.ts +0 -60
  277. package/codegen/datamodel/PolicyExecution/types.js +0 -17
  278. package/codegen/datamodel/PolicyManagement/errors.js +0 -1
  279. package/codegen/datamodel/PolicyManagement/index.d.ts +0 -2
  280. package/codegen/datamodel/PolicyManagement/index.js +0 -18
  281. package/codegen/datamodel/PolicyManagement/responses.d.ts +0 -83
  282. package/codegen/datamodel/PolicyManagement/responses.js +0 -2
  283. package/codegen/datamodel/PolicyManagement/types.d.ts +0 -391
  284. package/codegen/datamodel/PolicyManagement/types.js +0 -95
  285. package/codegen/datamodel/PublicKeys/errors.js +0 -1
  286. package/codegen/datamodel/PublicKeys/index.d.ts +0 -2
  287. package/codegen/datamodel/PublicKeys/index.js +0 -18
  288. package/codegen/datamodel/PublicKeys/responses.d.ts +0 -56
  289. package/codegen/datamodel/PublicKeys/responses.js +0 -2
  290. package/codegen/datamodel/PublicKeys/types.d.ts +0 -223
  291. package/codegen/datamodel/PublicKeys/types.js +0 -59
  292. package/codegen/datamodel/Signers/errors.js +0 -1
  293. package/codegen/datamodel/Signers/index.d.ts +0 -2
  294. package/codegen/datamodel/Signers/index.js +0 -18
  295. package/codegen/datamodel/Signers/responses.d.ts +0 -27
  296. package/codegen/datamodel/Signers/responses.js +0 -2
  297. package/codegen/datamodel/Signers/types.d.ts +0 -21
  298. package/codegen/datamodel/Signers/types.js +0 -2
  299. package/codegen/datamodel/Wallets/errors.js +0 -1
  300. package/codegen/datamodel/Wallets/index.d.ts +0 -2
  301. package/codegen/datamodel/Wallets/index.js +0 -18
  302. package/codegen/datamodel/Wallets/responses.d.ts +0 -92
  303. package/codegen/datamodel/Wallets/responses.js +0 -2
  304. package/codegen/datamodel/Wallets/types.d.ts +0 -677
  305. package/codegen/datamodel/Wallets/types.js +0 -251
  306. package/dfnsApiClient.d.ts +0 -39
  307. package/dfnsApiClient.js +0 -63
  308. package/dfnsAuthenticator.d.ts +0 -17
  309. package/dfnsAuthenticator.js +0 -29
  310. package/dfnsDelegatedApiClient.d.ts +0 -38
  311. package/dfnsDelegatedApiClient.js +0 -63
  312. package/dfnsError.d.ts +0 -5
  313. package/dfnsError.js +0 -11
  314. package/generated/policies/client.d.ts +0 -13
  315. package/generated/policies/client.js +0 -92
  316. package/generated/policies/delegatedClient.d.ts +0 -18
  317. package/generated/policies/delegatedClient.js +0 -153
  318. package/generated/policies/index.d.ts +0 -3
  319. package/generated/policies/index.js +0 -19
  320. package/generated/policies/types.js +0 -2
  321. package/generated/signers/client.d.ts +0 -7
  322. package/generated/signers/client.js +0 -22
  323. package/generated/signers/delegatedClient.d.ts +0 -7
  324. package/generated/signers/delegatedClient.js +0 -22
  325. package/generated/signers/index.d.ts +0 -3
  326. package/generated/signers/index.js +0 -19
  327. package/generated/signers/types.js +0 -2
  328. package/generated/wallets/client.d.ts +0 -25
  329. package/generated/wallets/client.js +0 -228
  330. package/generated/wallets/delegatedClient.d.ts +0 -34
  331. package/generated/wallets/delegatedClient.js +0 -349
  332. package/generated/wallets/index.d.ts +0 -3
  333. package/generated/wallets/index.js +0 -19
  334. package/generated/wallets/types.js +0 -2
  335. package/generated/webhooks/client.d.ts +0 -14
  336. package/generated/webhooks/client.js +0 -103
  337. package/generated/webhooks/delegatedClient.d.ts +0 -19
  338. package/generated/webhooks/delegatedClient.js +0 -164
  339. package/generated/webhooks/index.d.ts +0 -3
  340. package/generated/webhooks/index.js +0 -19
  341. package/generated/webhooks/types.js +0 -2
  342. package/index.d.ts +0 -7
  343. package/index.js +0 -23
  344. package/signer.d.ts +0 -52
  345. package/signer.js +0 -2
  346. package/store.d.ts +0 -79
  347. package/store.js +0 -2
  348. package/types/policies.d.ts +0 -1
  349. package/types/policies.js +0 -17
  350. package/types/signers.d.ts +0 -1
  351. package/types/signers.js +0 -17
  352. package/types/wallets.d.ts +0 -1
  353. package/types/wallets.js +0 -17
  354. package/types/webhooks.d.ts +0 -1
  355. package/types/webhooks.js +0 -17
  356. package/utils/base64.d.ts +0 -3
  357. package/utils/base64.js +0 -20
  358. package/utils/fetch.d.ts +0 -12
  359. package/utils/fetch.js +0 -94
  360. package/utils/index.d.ts +0 -4
  361. package/utils/index.js +0 -20
  362. package/utils/nonce.d.ts +0 -1
  363. package/utils/nonce.js +0 -12
  364. package/utils/url.d.ts +0 -4
  365. package/utils/url.js +0 -16
  366. /package/{codegen/datamodel/Auth/errors.d.ts → README.md} +0 -0
  367. /package/codegen/datamodel/{BlockchainIndexing/errors.d.ts → Auth/errors.ts} +0 -0
  368. /package/codegen/datamodel/BlockchainIndexing/{types.d.ts → errors.ts} +0 -0
  369. /package/codegen/datamodel/{Blockchains/errors.d.ts → BlockchainIndexing/types.ts} +0 -0
  370. /package/codegen/datamodel/{Callbacks/errors.d.ts → Blockchains/errors.ts} +0 -0
  371. /package/codegen/datamodel/{Foundations/responses.d.ts → Callbacks/errors.ts} +0 -0
  372. /package/codegen/datamodel/{Orgs/errors.d.ts → Foundations/responses.ts} +0 -0
  373. /package/codegen/datamodel/{Permissions/errors.d.ts → Orgs/errors.ts} +0 -0
  374. /package/codegen/datamodel/{PolicyManagement/errors.d.ts → Permissions/errors.ts} +0 -0
  375. /package/codegen/datamodel/{PublicKeys/errors.d.ts → PolicyManagement/errors.ts} +0 -0
  376. /package/codegen/datamodel/{Signers/errors.d.ts → PublicKeys/errors.ts} +0 -0
  377. /package/codegen/datamodel/{Wallets/errors.d.ts → Signers/errors.ts} +0 -0
@@ -0,0 +1,1404 @@
1
+ import {
2
+ Email,
3
+ EntityId,
4
+ IntegerPositiveStrict,
5
+ IsoDatetime,
6
+ Username,
7
+ } from '../Foundations'
8
+
9
+ // FIXME: Missing documentation for Application
10
+ export type Application = {
11
+ // FIXME: Missing documentation for appId
12
+ appId: EntityId
13
+
14
+ // FIXME: Missing documentation for apiToken
15
+ apiToken?: Jwt
16
+ }
17
+
18
+ // FIXME: Missing documentation for GenericSuccessMessage
19
+ export type GenericSuccessMessage = {
20
+ // FIXME: Missing documentation for message
21
+ message: string
22
+ }
23
+
24
+ // FIXME: Missing documentation for UserRegistration
25
+ export type UserRegistration = {
26
+ // FIXME: Missing documentation for credential
27
+ credential: UserCredentialInformation
28
+
29
+ // FIXME: Missing documentation for user
30
+ user: UserRegistrationInformation
31
+ }
32
+
33
+ // FIXME: Missing documentation for UserRegistrationChallenge
34
+ export type UserRegistrationChallenge = {
35
+ // FIXME: Missing documentation for temporaryAuthenticationToken
36
+ temporaryAuthenticationToken: Jwt
37
+
38
+ // FIXME: Missing documentation for rp
39
+ rp: RelyingParty
40
+
41
+ // FIXME: Missing documentation for user
42
+ user: AuthenticationUserInformation
43
+
44
+ // FIXME: Missing documentation for supportedCredentialKinds
45
+ supportedCredentialKinds: SupportedCredentialKinds
46
+
47
+ // FIXME: Missing documentation for otpUrl
48
+ otpUrl: string
49
+
50
+ // FIXME: Missing documentation for challenge
51
+ challenge: string
52
+
53
+ // FIXME: Missing documentation for authenticatorSelection
54
+ authenticatorSelection: AuthenticatorSelection
55
+
56
+ // FIXME: Missing documentation for attestation
57
+ attestation: AuthenticatorAttestationOptions
58
+
59
+ // FIXME: Missing documentation for pubKeyCredParams
60
+ pubKeyCredParams: PubKeyCredParams[]
61
+
62
+ // FIXME: Missing documentation for excludeCredentials
63
+ excludeCredentials: AllowCredential[]
64
+ }
65
+
66
+ // FIXME: Missing documentation for UserLoginChallenge
67
+ export type UserLoginChallenge = {
68
+ // FIXME: Missing documentation for supportedCredentialKinds
69
+ supportedCredentialKinds: SupportedCredentials[]
70
+
71
+ // FIXME: Missing documentation for challenge
72
+ challenge: string
73
+
74
+ // FIXME: Missing documentation for challengeIdentifier
75
+ challengeIdentifier: Jwt
76
+
77
+ // FIXME: Missing documentation for externalAuthenticationUrl
78
+ externalAuthenticationUrl: string
79
+
80
+ // FIXME: Missing documentation for allowCredentials
81
+ allowCredentials: AllowCredentials
82
+ }
83
+
84
+ // FIXME: Missing documentation for UserLogin
85
+ export type UserLogin = {
86
+ // FIXME: Missing documentation for token
87
+ token: Jwt
88
+ }
89
+
90
+ // FIXME: Missing documentation for UserActionSignature
91
+ export type UserActionSignature = {
92
+ // FIXME: Missing documentation for userAction
93
+ userAction: string
94
+ }
95
+
96
+ // FIXME: Missing documentation for AccessTokenInfoWithPublicKey
97
+ export type AccessTokenInfoWithPublicKey = {
98
+ // FIXME: Missing documentation for accessToken
99
+ accessToken?: Jwt
100
+
101
+ // FIXME: Missing documentation for dateCreated
102
+ dateCreated: IsoDatetime
103
+
104
+ // FIXME: Missing documentation for credId
105
+ credId: string
106
+
107
+ // FIXME: Missing documentation for isActive
108
+ isActive: boolean
109
+
110
+ // FIXME: Missing documentation for kind
111
+ kind: AccessTokenKind
112
+
113
+ // FIXME: Missing documentation for linkedUserId
114
+ linkedUserId: EntityId
115
+
116
+ // FIXME: Missing documentation for linkedAppId
117
+ linkedAppId: string
118
+
119
+ // FIXME: Missing documentation for name
120
+ name: string
121
+
122
+ // FIXME: Missing documentation for orgId
123
+ orgId: EntityId
124
+
125
+ // FIXME: Missing documentation for permissionAssignments
126
+ permissionAssignments: PermissionAssignmentInfo[]
127
+
128
+ // FIXME: Missing documentation for publicKey
129
+ publicKey: string
130
+
131
+ // FIXME: Missing documentation for tokenId
132
+ tokenId: EntityId
133
+ }
134
+
135
+ // FIXME: Missing documentation for UserInfo
136
+ export type UserInfo = {
137
+ // FIXME: Missing documentation for username
138
+ username: string
139
+
140
+ // FIXME: Missing documentation for userId
141
+ userId: EntityId
142
+
143
+ // FIXME: Missing documentation for kind
144
+ kind: UserAuthKind
145
+
146
+ // FIXME: Missing documentation for credentialUuid
147
+ credentialUuid: EntityId
148
+
149
+ // FIXME: Missing documentation for orgId
150
+ orgId: EntityId
151
+
152
+ // FIXME: Missing documentation for permissions
153
+ permissions?: string[]
154
+
155
+ // FIXME: Missing documentation for scopes
156
+ scopes?: string[]
157
+
158
+ // FIXME: Missing documentation for isActive
159
+ isActive: boolean
160
+
161
+ // FIXME: Missing documentation for isServiceAccount
162
+ isServiceAccount: boolean
163
+
164
+ // FIXME: Missing documentation for isRegistered
165
+ isRegistered: boolean
166
+
167
+ // FIXME: Missing documentation for permissionAssignments
168
+ permissionAssignments: PermissionAssignmentInfo[]
169
+ }
170
+
171
+ // FIXME: Missing documentation for UserAccessTokenInformation
172
+ export type UserAccessTokenInformation = {
173
+ // FIXME: Missing documentation for userInfo
174
+ userInfo: UserInfo
175
+
176
+ // FIXME: Missing documentation for accessTokens
177
+ accessTokens: AccessTokenInfoWithPublicKey[]
178
+ }
179
+
180
+ // FIXME: Missing documentation for AppInfoWithPublicKey
181
+ export type AppInfoWithPublicKey = {
182
+ // FIXME: Missing documentation for appId
183
+ appId: EntityId
184
+
185
+ // FIXME: Missing documentation for kind
186
+ kind: ApplicationKind
187
+
188
+ // FIXME: Missing documentation for orgId
189
+ orgId: EntityId
190
+
191
+ // FIXME: Missing documentation for expectedRpId
192
+ expectedRpId: string
193
+
194
+ // FIXME: Missing documentation for name
195
+ name: string
196
+
197
+ // FIXME: Missing documentation for isActive
198
+ isActive: boolean
199
+
200
+ // FIXME: Missing documentation for expectedOrigin
201
+ expectedOrigin: string
202
+
203
+ // FIXME: Missing documentation for permissionAssignments
204
+ permissionAssignments: PermissionAssignmentInfo[]
205
+
206
+ // FIXME: Missing documentation for accessTokens
207
+ accessTokens: AccessTokenInfoWithPublicKey[]
208
+ }
209
+
210
+ // FIXME: Missing documentation for CredentialInfo
211
+ export type CredentialInfo = {
212
+ // FIXME: Missing documentation for credentialId
213
+ credentialId: string
214
+
215
+ // FIXME: Missing documentation for credentialUuid
216
+ credentialUuid: EntityId
217
+
218
+ // FIXME: Missing documentation for dateCreated
219
+ dateCreated: IsoDatetime
220
+
221
+ // FIXME: Missing documentation for isActive
222
+ isActive: boolean
223
+
224
+ // FIXME: Missing documentation for kind
225
+ kind: CredentialKind
226
+
227
+ // FIXME: Missing documentation for name
228
+ name: string
229
+
230
+ // FIXME: Missing documentation for publicKey
231
+ publicKey?: string
232
+
233
+ // FIXME: Missing documentation for relyingPartyId
234
+ relyingPartyId: string
235
+
236
+ // FIXME: Missing documentation for origin
237
+ origin: string
238
+ }
239
+
240
+ // FIXME: Missing documentation for AvailableOrg
241
+ export type AvailableOrg = {
242
+ /**
243
+ * The ID of the organization.
244
+ */
245
+ orgId: EntityId
246
+
247
+ /**
248
+ * The ID of an application that can be used to log into the given org.
249
+ */
250
+ appId: EntityId
251
+ }
252
+
253
+ // FIXME: Missing documentation for UserRecoveryChallenge
254
+ export type UserRecoveryChallenge = {
255
+ // FIXME: Missing documentation for temporaryAuthenticationToken
256
+ temporaryAuthenticationToken: Jwt
257
+
258
+ // FIXME: Missing documentation for rp
259
+ rp: RelyingParty
260
+
261
+ // FIXME: Missing documentation for user
262
+ user: AuthenticationUserInformation
263
+
264
+ // FIXME: Missing documentation for supportedCredentialKinds
265
+ supportedCredentialKinds: SupportedCredentialKinds
266
+
267
+ // FIXME: Missing documentation for otpUrl
268
+ otpUrl: string
269
+
270
+ // FIXME: Missing documentation for challenge
271
+ challenge: string
272
+
273
+ // FIXME: Missing documentation for authenticatorSelection
274
+ authenticatorSelection: AuthenticatorSelection
275
+
276
+ // FIXME: Missing documentation for attestation
277
+ attestation: AuthenticatorAttestationOptions
278
+
279
+ // FIXME: Missing documentation for pubKeyCredParams
280
+ pubKeyCredParams: PubKeyCredParams[]
281
+
282
+ // FIXME: Missing documentation for excludeCredentials
283
+ excludeCredentials: AllowCredential[]
284
+
285
+ // FIXME: Missing documentation for allowedRecoveryCredentials
286
+ allowedRecoveryCredentials: AllowRecoveryCredential[]
287
+ }
288
+
289
+ // FIXME: Missing documentation for UserRegistrationBase
290
+ export type UserRegistrationBase = {
291
+ // FIXME: Missing documentation for temporaryAuthenticationToken
292
+ temporaryAuthenticationToken: Jwt
293
+
294
+ // FIXME: Missing documentation for rp
295
+ rp: RelyingParty
296
+
297
+ // FIXME: Missing documentation for user
298
+ user: AuthenticationUserInformation
299
+ }
300
+
301
+ // FIXME: Missing documentation for Fido2Options
302
+ export type Fido2Options = {
303
+ // FIXME: Missing documentation for temporaryAuthenticationToken
304
+ temporaryAuthenticationToken: Jwt
305
+
306
+ // FIXME: Missing documentation for rp
307
+ rp: RelyingParty
308
+
309
+ // FIXME: Missing documentation for user
310
+ user: AuthenticationUserInformation
311
+
312
+ // FIXME: Missing documentation for kind
313
+ kind: CredentialKind.Fido2
314
+
315
+ // FIXME: Missing documentation for challenge
316
+ challenge: string
317
+
318
+ // FIXME: Missing documentation for excludeCredentials
319
+ excludeCredentials: ExcludeCredentials[]
320
+
321
+ // FIXME: Missing documentation for authenticatorSelection
322
+ authenticatorSelection: AuthenticatorSelection
323
+
324
+ /**
325
+ * Tells the authenticator that it needs to identify itself to the server, so that the server can verify the device is secure.
326
+ *
327
+ * none: Tells the authenticator that it does not need to provide an attestation document.
328
+ *
329
+ * indirect: Tells the authenticator, that it needs to provide attestation information, but it doesn't need to provide any identifying information about the device.
330
+ *
331
+ * direct: Tells the authenticator, that it needs to provide attestation information, including information to identify the device.
332
+ *
333
+ * enterprise: Tells the authenticator, that it should use enterprise certificates configured on the device for the credentials. For example, smart cards can be supported on Fido2 devices if an enterprise certificate is registered on the device.
334
+ */
335
+ attestation: AuthenticatorAttestationOptions
336
+
337
+ // FIXME: Missing documentation for pubKeyCredParams
338
+ pubKeyCredParams: PubKeyCredParams[]
339
+ }
340
+
341
+ // FIXME: Missing documentation for PublicKeyOptions
342
+ export type PublicKeyOptions = {
343
+ // FIXME: Missing documentation for temporaryAuthenticationToken
344
+ temporaryAuthenticationToken: Jwt
345
+
346
+ // FIXME: Missing documentation for rp
347
+ rp: RelyingParty
348
+
349
+ // FIXME: Missing documentation for user
350
+ user: AuthenticationUserInformation
351
+
352
+ // FIXME: Missing documentation for kind
353
+ kind: CredentialKind.Key
354
+
355
+ // FIXME: Missing documentation for challenge
356
+ challenge: string
357
+
358
+ // FIXME: Missing documentation for pubKeyCredParams
359
+ pubKeyCredParams: PubKeyCredParams[]
360
+
361
+ // FIXME: Missing documentation for attestation
362
+ attestation: AuthenticatorAttestationOptions
363
+ }
364
+
365
+ // FIXME: Missing documentation for AllowCredential
366
+ export type AllowCredential = {
367
+ /**
368
+ * Must be 'public-key'
369
+ */
370
+ type: string
371
+
372
+ // FIXME: Missing documentation for id
373
+ id: string
374
+
375
+ // FIXME: Missing documentation for transports
376
+ transports?: string
377
+ }
378
+
379
+ // FIXME: Missing documentation for RelyingParty
380
+ export type RelyingParty = {
381
+ // FIXME: Missing documentation for id
382
+ id: string
383
+
384
+ // FIXME: Missing documentation for name
385
+ name: string
386
+ }
387
+
388
+ // FIXME: Missing documentation for AuthenticationUserInformation
389
+ export type AuthenticationUserInformation = {
390
+ // FIXME: Missing documentation for id
391
+ id: EntityId
392
+
393
+ // FIXME: Missing documentation for displayName
394
+ displayName: string
395
+
396
+ // FIXME: Missing documentation for name
397
+ name: string
398
+ }
399
+
400
+ // FIXME: Missing documentation for PubKeyCredParams
401
+ export type PubKeyCredParams = {
402
+ /**
403
+ * Must be 'public-key'
404
+ */
405
+ type: string
406
+
407
+ // FIXME: Missing documentation for alg
408
+ alg: number
409
+ }
410
+
411
+ // FIXME: Missing documentation for AuthenticatorSelection
412
+ export type AuthenticatorSelection = {
413
+ /**
414
+ * If not given, any authenticator type can be used.
415
+ *
416
+ * platform: Authenticator must be built into the system. For example, Windows Hello or Apple Touch ID use a TPM that are integrated into the system.
417
+ *
418
+ * cross-platform: Authenticator must be able to move between systems. For example, a yubikey is a USB device that can be plugged into any system.
419
+ */
420
+ authenticatorAttachment?: string
421
+
422
+ /**
423
+ * discouraged: This tells the authenticator to not use resident keys.
424
+ *
425
+ * preferred: This tells the authenticator that resident keys should be used if available.
426
+ *
427
+ * required: This tells the authenticator that a resident key is required.
428
+ */
429
+ residentKey: AuthenticatorRequirementOptions
430
+
431
+ // FIXME: Missing documentation for requireResidentKey
432
+ requireResidentKey: boolean
433
+
434
+ /**
435
+ * Required: Tells the authenticator that the user needs to verify they are in possession of the authenticator device. This usually means the user is prompted for a pin, passcode, or to complete a biometric challenge.
436
+ *
437
+ * Preferred: Tells the authenticator that the user should be asked to verify they are in possession of the authenticator device. This usually means the user is prompted for a pin, passcode, or to complete a biometric challenge.
438
+ * If the user has recently verified their possession the device may choose not to ask the user to verify again.
439
+ *
440
+ * Discouraged: Tells the authenticator that the user should not be prompted for possession. This is generally only used when WebAuthn is a second factor.
441
+ */
442
+ userVerification: AuthenticatorRequirementOptions
443
+ }
444
+
445
+ // FIXME: Missing documentation for ExcludeCredentials
446
+ export type ExcludeCredentials = {
447
+ /**
448
+ * Must be 'public-key'
449
+ */
450
+ type: string
451
+
452
+ // FIXME: Missing documentation for id
453
+ id: string
454
+
455
+ // FIXME: Missing documentation for transports
456
+ transports: FidoCredentialsTransportKind
457
+ }
458
+
459
+ // FIXME: Missing documentation for UserCredentialInformation
460
+ export type UserCredentialInformation = {
461
+ // FIXME: Missing documentation for uuid
462
+ uuid: EntityId
463
+
464
+ // FIXME: Missing documentation for kind
465
+ kind: CredentialKind
466
+
467
+ // FIXME: Missing documentation for name
468
+ name: string
469
+ }
470
+
471
+ // FIXME: Missing documentation for UserRegistrationInformation
472
+ export type UserRegistrationInformation = {
473
+ // FIXME: Missing documentation for id
474
+ id: EntityId
475
+
476
+ // FIXME: Missing documentation for username
477
+ username: string
478
+
479
+ // FIXME: Missing documentation for orgId
480
+ orgId: EntityId
481
+ }
482
+
483
+ // FIXME: Missing documentation for AuthenticateUserPasswordInput
484
+ export type AuthenticateUserPasswordInput = {
485
+ // FIXME: Missing documentation for kind
486
+ kind: CredentialKind.Password
487
+
488
+ // FIXME: Missing documentation for password
489
+ password: string
490
+ }
491
+
492
+ // FIXME: Missing documentation for AuthenticateUserFido2Input
493
+ export type AuthenticateUserFido2Input = {
494
+ // FIXME: Missing documentation for kind
495
+ kind: CredentialKind.Fido2
496
+
497
+ // FIXME: Missing documentation for credentialAssertion
498
+ credentialAssertion: Fido2CredentialAssertion
499
+ }
500
+
501
+ // FIXME: Missing documentation for Fido2CredentialAssertion
502
+ export type Fido2CredentialAssertion = {
503
+ // FIXME: Missing documentation for credId
504
+ credId: string
505
+
506
+ // FIXME: Missing documentation for clientData
507
+ clientData: string
508
+
509
+ // FIXME: Missing documentation for authenticatorData
510
+ authenticatorData: string
511
+
512
+ // FIXME: Missing documentation for signature
513
+ signature: string
514
+
515
+ // FIXME: Missing documentation for userHandle
516
+ userHandle: string
517
+ }
518
+
519
+ // FIXME: Missing documentation for KeyCredentialAssertion
520
+ export type KeyCredentialAssertion = {
521
+ // FIXME: Missing documentation for credId
522
+ credId: string
523
+
524
+ // FIXME: Missing documentation for clientData
525
+ clientData: string
526
+
527
+ // FIXME: Missing documentation for signature
528
+ signature: string
529
+
530
+ // FIXME: Missing documentation for algorithm
531
+ algorithm?: string
532
+ }
533
+
534
+ // FIXME: Missing documentation for AuthenticateUserKeyInput
535
+ export type AuthenticateUserKeyInput = {
536
+ // FIXME: Missing documentation for kind
537
+ kind: CredentialKind.Key
538
+
539
+ // FIXME: Missing documentation for credentialAssertion
540
+ credentialAssertion: KeyCredentialAssertion
541
+ }
542
+
543
+ // FIXME: Missing documentation for SupportedCredentialKinds
544
+ export type SupportedCredentialKinds = {
545
+ // FIXME: Missing documentation for firstFactor
546
+ firstFactor: CredentialKind[]
547
+
548
+ // FIXME: Missing documentation for secondFactor
549
+ secondFactor: CredentialKind[]
550
+ }
551
+
552
+ // FIXME: Missing documentation for RegistrationConfirmationFido2
553
+ export type RegistrationConfirmationFido2 = {
554
+ // FIXME: Missing documentation for credentialKind
555
+ credentialKind: CredentialKind.Fido2
556
+
557
+ // FIXME: Missing documentation for credentialInfo
558
+ credentialInfo: CredentialAssertion
559
+ }
560
+
561
+ // FIXME: Missing documentation for RegistrationConfirmationKey
562
+ export type RegistrationConfirmationKey = {
563
+ // FIXME: Missing documentation for credentialKind
564
+ credentialKind: CredentialKind.Key
565
+
566
+ // FIXME: Missing documentation for credentialInfo
567
+ credentialInfo: CredentialAssertion
568
+ }
569
+
570
+ // FIXME: Missing documentation for RegistrationConfirmationRecoveryKey
571
+ export type RegistrationConfirmationRecoveryKey = {
572
+ // FIXME: Missing documentation for encryptedPrivateKey
573
+ encryptedPrivateKey?: string
574
+
575
+ // FIXME: Missing documentation for credentialInfo
576
+ credentialInfo: CredentialAssertion
577
+
578
+ // FIXME: Missing documentation for credentialKind
579
+ credentialKind: CredentialKind.RecoveryKey
580
+ }
581
+
582
+ // FIXME: Missing documentation for CredentialAssertion
583
+ export type CredentialAssertion = {
584
+ // FIXME: Missing documentation for credId
585
+ credId: string
586
+
587
+ // FIXME: Missing documentation for clientData
588
+ clientData: string
589
+
590
+ // FIXME: Missing documentation for attestationData
591
+ attestationData: string
592
+ }
593
+
594
+ // FIXME: Missing documentation for RegistrationConfirmationPassword
595
+ export type RegistrationConfirmationPassword = {
596
+ // FIXME: Missing documentation for credentialKind
597
+ credentialKind: CredentialKind.Password
598
+
599
+ // FIXME: Missing documentation for credentialInfo
600
+ credentialInfo: PasswordCredentialInformation
601
+ }
602
+
603
+ // FIXME: Missing documentation for PasswordCredentialInformation
604
+ export type PasswordCredentialInformation = {
605
+ // FIXME: Missing documentation for password
606
+ password: string
607
+ }
608
+
609
+ // FIXME: Missing documentation for RegistrationConfirmationTotp
610
+ export type RegistrationConfirmationTotp = {
611
+ // FIXME: Missing documentation for credentialKind
612
+ credentialKind: CredentialKind.Totp
613
+
614
+ // FIXME: Missing documentation for credentialInfo
615
+ credentialInfo: TotpCredentialInformation
616
+ }
617
+
618
+ // FIXME: Missing documentation for TotpCredentialInformation
619
+ export type TotpCredentialInformation = {
620
+ // FIXME: Missing documentation for otpCode
621
+ otpCode: string
622
+ }
623
+
624
+ // FIXME: Missing documentation for AllowCredentials
625
+ export type AllowCredentials = {
626
+ // FIXME: Missing documentation for webauthn
627
+ webauthn: AllowCredential[]
628
+
629
+ // FIXME: Missing documentation for key
630
+ key: AllowCredential[]
631
+ }
632
+
633
+ // FIXME: Missing documentation for SupportedCredentials
634
+ export type SupportedCredentials = {
635
+ // FIXME: Missing documentation for kind
636
+ kind: CredentialKind
637
+
638
+ // FIXME: Missing documentation for factor
639
+ factor: CredentialFactor
640
+
641
+ // FIXME: Missing documentation for requiresSecondFactor
642
+ requiresSecondFactor: boolean
643
+ }
644
+
645
+ // FIXME: Missing documentation for AuthenticateUserTotpInput
646
+ export type AuthenticateUserTotpInput = {
647
+ // FIXME: Missing documentation for kind
648
+ kind: CredentialKind.Totp
649
+
650
+ // FIXME: Missing documentation for otpCode
651
+ otpCode: string
652
+ }
653
+
654
+ // FIXME: Missing documentation for TotpCredential
655
+ export type TotpCredential = {
656
+ // FIXME: Missing documentation for temporaryAuthenticationToken
657
+ temporaryAuthenticationToken: Jwt
658
+
659
+ // FIXME: Missing documentation for rp
660
+ rp: RelyingParty
661
+
662
+ // FIXME: Missing documentation for user
663
+ user: AuthenticationUserInformation
664
+
665
+ // FIXME: Missing documentation for kind
666
+ kind: CredentialKind.Totp
667
+
668
+ // FIXME: Missing documentation for otpUrl
669
+ otpUrl: string
670
+ }
671
+
672
+ // FIXME: Missing documentation for PasswordCredential
673
+ export type PasswordCredential = {
674
+ // FIXME: Missing documentation for temporaryAuthenticationToken
675
+ temporaryAuthenticationToken: Jwt
676
+
677
+ // FIXME: Missing documentation for rp
678
+ rp: RelyingParty
679
+
680
+ // FIXME: Missing documentation for user
681
+ user: AuthenticationUserInformation
682
+
683
+ // FIXME: Missing documentation for kind
684
+ kind: CredentialKind.Password
685
+ }
686
+
687
+ // FIXME: Missing documentation for CreateUserCredentialInputBase
688
+ export type CreateUserCredentialInputBase = {
689
+ // FIXME: Missing documentation for challengeIdentifier
690
+ challengeIdentifier: Jwt
691
+
692
+ // FIXME: Missing documentation for credentialName
693
+ credentialName: string
694
+ }
695
+
696
+ // FIXME: Missing documentation for CreateUserCredentialTotpInput
697
+ export type CreateUserCredentialTotpInput = {
698
+ // FIXME: Missing documentation for challengeIdentifier
699
+ challengeIdentifier: Jwt
700
+
701
+ // FIXME: Missing documentation for credentialName
702
+ credentialName: string
703
+
704
+ // FIXME: Missing documentation for credentialKind
705
+ credentialKind: CredentialKind.Totp
706
+
707
+ // FIXME: Missing documentation for credentialInfo
708
+ credentialInfo: TotpCredentialInformation
709
+ }
710
+
711
+ // FIXME: Missing documentation for CreateUserCredentialPasswordInput
712
+ export type CreateUserCredentialPasswordInput = {
713
+ // FIXME: Missing documentation for credentialKind
714
+ credentialKind: CredentialKind.Password
715
+
716
+ // FIXME: Missing documentation for credentialInfo
717
+ credentialInfo: PasswordCredentialInformation
718
+
719
+ // FIXME: Missing documentation for challengeIdentifier
720
+ challengeIdentifier: Jwt
721
+
722
+ // FIXME: Missing documentation for credentialName
723
+ credentialName: string
724
+ }
725
+
726
+ // FIXME: Missing documentation for CreateUserCredentialPublicKeyInput
727
+ export type CreateUserCredentialPublicKeyInput = {
728
+ // FIXME: Missing documentation for challengeIdentifier
729
+ challengeIdentifier: Jwt
730
+
731
+ // FIXME: Missing documentation for credentialName
732
+ credentialName: string
733
+
734
+ // FIXME: Missing documentation for credentialKind
735
+ credentialKind: CredentialKind.Key
736
+
737
+ // FIXME: Missing documentation for credentialInfo
738
+ credentialInfo: CredentialAssertion
739
+ }
740
+
741
+ // FIXME: Missing documentation for CreateUserCredentialFido2Input
742
+ export type CreateUserCredentialFido2Input = {
743
+ // FIXME: Missing documentation for credentialKind
744
+ credentialKind: CredentialKind.Fido2
745
+
746
+ // FIXME: Missing documentation for credentialInfo
747
+ credentialInfo: CredentialAssertion
748
+
749
+ // FIXME: Missing documentation for challengeIdentifier
750
+ challengeIdentifier: Jwt
751
+
752
+ // FIXME: Missing documentation for credentialName
753
+ credentialName: string
754
+ }
755
+
756
+ // FIXME: Missing documentation for HttpRequestInformation
757
+ export type HttpRequestInformation = {
758
+ // FIXME: Missing documentation for method
759
+ method: string
760
+
761
+ // FIXME: Missing documentation for scheme
762
+ scheme: string
763
+
764
+ // FIXME: Missing documentation for authority
765
+ authority: string
766
+
767
+ // FIXME: Missing documentation for path
768
+ path: string
769
+ }
770
+
771
+ // FIXME: Missing documentation for LegacyAuthAttestation
772
+ export type LegacyAuthAttestation = {
773
+ // FIXME: Missing documentation for token
774
+ token: Jwt
775
+
776
+ // FIXME: Missing documentation for decodedToken
777
+ decodedToken: DecodedJwt
778
+
779
+ // FIXME: Missing documentation for authIdentity
780
+ authIdentity: AuthIdentity
781
+ }
782
+
783
+ // FIXME: Missing documentation for OrgEmployeeIdentity
784
+ export type OrgEmployeeIdentity = {
785
+ // FIXME: Missing documentation for kind
786
+ kind: AuthIdentityKind.OrgEmployeeIdentity
787
+
788
+ // FIXME: Missing documentation for orgId
789
+ orgId: EntityId
790
+
791
+ // FIXME: Missing documentation for employeeId
792
+ employeeId: EntityId
793
+
794
+ // FIXME: Missing documentation for username
795
+ username: Username
796
+
797
+ // FIXME: Missing documentation for scope
798
+ scope: string
799
+
800
+ // FIXME: Missing documentation for permissions
801
+ permissions: string[]
802
+ }
803
+
804
+ // FIXME: Missing documentation for OrgApiKeyIdentity
805
+ export type OrgApiKeyIdentity = {
806
+ // FIXME: Missing documentation for kind
807
+ kind: AuthIdentityKind.OrgApiKeyIdentity
808
+
809
+ // FIXME: Missing documentation for orgId
810
+ orgId: EntityId
811
+
812
+ // FIXME: Missing documentation for apiKeyId
813
+ apiKeyId: EntityId
814
+
815
+ // FIXME: Missing documentation for scope
816
+ scope: string
817
+
818
+ // FIXME: Missing documentation for permissions
819
+ permissions: string[]
820
+ }
821
+
822
+ // FIXME: Missing documentation for DfnsStaffIdentity
823
+ export type DfnsStaffIdentity = {
824
+ // FIXME: Missing documentation for kind
825
+ kind: AuthIdentityKind.DfnsStaffIdentity
826
+
827
+ // FIXME: Missing documentation for orgId
828
+ orgId: EntityId
829
+
830
+ // FIXME: Missing documentation for employeeId
831
+ employeeId: EntityId
832
+
833
+ // FIXME: Missing documentation for username
834
+ username: Username
835
+
836
+ // FIXME: Missing documentation for scope
837
+ scope: string
838
+
839
+ // FIXME: Missing documentation for permissions
840
+ permissions: string[]
841
+ }
842
+
843
+ // FIXME: Missing documentation for DfnsServiceIdentity
844
+ export type DfnsServiceIdentity = {
845
+ // FIXME: Missing documentation for kind
846
+ kind: AuthIdentityKind.DfnsService
847
+
848
+ // FIXME: Missing documentation for serviceName
849
+ serviceName: string
850
+ }
851
+
852
+ // FIXME: Missing documentation for AuthV2SignedAuthAttestation
853
+ export type AuthV2SignedAuthAttestation = {
854
+ // FIXME: Missing documentation for authBlock
855
+ authBlock: AuthBlock
856
+ }
857
+
858
+ // FIXME: Missing documentation for JwtHeader
859
+ export type JwtHeader = {
860
+ // FIXME: Missing documentation for alg
861
+ alg?: string
862
+
863
+ // FIXME: Missing documentation for b64
864
+ b64?: boolean
865
+
866
+ // FIXME: Missing documentation for kid
867
+ kid?: string
868
+
869
+ // FIXME: Missing documentation for typ
870
+ typ?: string
871
+ }
872
+
873
+ // FIXME: Missing documentation for DecodedJwt
874
+ export type DecodedJwt = {
875
+ // FIXME: Missing documentation for payload
876
+ payload: JwtPayload
877
+
878
+ // FIXME: Missing documentation for header
879
+ header: JwtHeader
880
+ }
881
+
882
+ // FIXME: Missing documentation for AuthBlock
883
+ export type AuthBlock = {
884
+ // FIXME: Missing documentation for request
885
+ request: Jwt
886
+
887
+ // FIXME: Missing documentation for auth
888
+ auth: Jwt
889
+ }
890
+
891
+ // FIXME: Missing documentation for CreateUserCredentialRecoveryKeyInput
892
+ export type CreateUserCredentialRecoveryKeyInput = {
893
+ // FIXME: Missing documentation for encryptedPrivateKey
894
+ encryptedPrivateKey?: string
895
+
896
+ // FIXME: Missing documentation for credentialInfo
897
+ credentialInfo: CredentialAssertion
898
+
899
+ // FIXME: Missing documentation for credentialKind
900
+ credentialKind: CredentialKind.RecoveryKey
901
+
902
+ // FIXME: Missing documentation for challengeIdentifier
903
+ challengeIdentifier: Jwt
904
+
905
+ // FIXME: Missing documentation for credentialName
906
+ credentialName: string
907
+ }
908
+
909
+ // FIXME: Missing documentation for PermissionAssignmentInfo
910
+ export type PermissionAssignmentInfo = {
911
+ // FIXME: Missing documentation for permissionName
912
+ permissionName: string
913
+
914
+ // FIXME: Missing documentation for permissionId
915
+ permissionId: EntityId
916
+
917
+ // FIXME: Missing documentation for assignmentId
918
+ assignmentId: EntityId
919
+
920
+ // FIXME: Missing documentation for operations
921
+ operations?: string[]
922
+ }
923
+
924
+ // FIXME: Missing documentation for AllowRecoveryCredential
925
+ export type AllowRecoveryCredential = {
926
+ // FIXME: Missing documentation for id
927
+ id: string
928
+
929
+ // FIXME: Missing documentation for encryptedRecoveryKey
930
+ encryptedRecoveryKey: string
931
+ }
932
+
933
+ // FIXME: Missing documentation for RecoverUserInput
934
+ export type RecoverUserInput = {
935
+ // FIXME: Missing documentation for kind
936
+ kind: CredentialKind.RecoveryKey
937
+
938
+ // FIXME: Missing documentation for credentialAssertion
939
+ credentialAssertion: KeyCredentialAssertion
940
+ }
941
+
942
+ // FIXME: Missing documentation for UserRecoveryCredentials
943
+ export type UserRecoveryCredentials = {
944
+ // FIXME: Missing documentation for firstFactorCredential
945
+ firstFactorCredential: RegistrationFirstFactor
946
+
947
+ // FIXME: Missing documentation for secondFactorCredential
948
+ secondFactorCredential?: RegistrationSecondFactor
949
+
950
+ // FIXME: Missing documentation for recoveryCredential
951
+ recoveryCredential?: RegistrationConfirmationRecoveryKey
952
+ }
953
+
954
+ // FIXME: Missing documentation for Jwt
955
+ export type Jwt = string
956
+
957
+ // FIXME: Missing documentation for JwtPayload
958
+ export type JwtPayload = Record<string, unknown>
959
+
960
+ // FIXME: Missing documentation for CreateUserActionSignatureChallengeInput
961
+ export type CreateUserActionSignatureChallengeInput = {
962
+ /**
963
+ * Human readable explanation of the activity, so that person can understand what is being signed.
964
+ */
965
+ userActionPayload: string
966
+
967
+ // FIXME: Missing documentation for userActionHttpMethod
968
+ userActionHttpMethod: string
969
+
970
+ // FIXME: Missing documentation for userActionHttpPath
971
+ userActionHttpPath: string
972
+
973
+ // FIXME: Missing documentation for userActionServerKind
974
+ userActionServerKind?: ServerKind
975
+ }
976
+
977
+ // FIXME: Missing documentation for CreateDelegatedUserLoginInput
978
+ export type CreateDelegatedUserLoginInput = {
979
+ // FIXME: Missing documentation for username
980
+ username: string
981
+ }
982
+
983
+ // FIXME: Missing documentation for CreateUserInput
984
+ export type CreateUserInput = {
985
+ // FIXME: Missing documentation for email
986
+ email: string
987
+
988
+ // FIXME: Missing documentation for kind
989
+ kind: UserAuthKind
990
+
991
+ // FIXME: Missing documentation for publicKey
992
+ publicKey?: string
993
+
994
+ // FIXME: Missing documentation for externalId
995
+ externalId?: string
996
+ }
997
+
998
+ // FIXME: Missing documentation for CreateUserRegistrationChallengeInput
999
+ export type CreateUserRegistrationChallengeInput = {
1000
+ // FIXME: Missing documentation for username
1001
+ username: string
1002
+
1003
+ // FIXME: Missing documentation for registrationCode
1004
+ registrationCode: string
1005
+
1006
+ // FIXME: Missing documentation for orgId
1007
+ orgId: EntityId
1008
+ }
1009
+
1010
+ // FIXME: Missing documentation for CreateUserRegistrationInput
1011
+ export type CreateUserRegistrationInput = {
1012
+ // FIXME: Missing documentation for firstFactorCredential
1013
+ firstFactorCredential: RegistrationFirstFactor
1014
+
1015
+ // FIXME: Missing documentation for secondFactorCredential
1016
+ secondFactorCredential?: RegistrationSecondFactor
1017
+
1018
+ // FIXME: Missing documentation for recoveryCredential
1019
+ recoveryCredential?: RegistrationConfirmationRecoveryKey
1020
+ }
1021
+
1022
+ // FIXME: Missing documentation for CreateUserLoginChallengeInput
1023
+ export type CreateUserLoginChallengeInput = {
1024
+ // FIXME: Missing documentation for username
1025
+ username: string
1026
+
1027
+ // FIXME: Missing documentation for orgId
1028
+ orgId: EntityId
1029
+ }
1030
+
1031
+ // FIXME: Missing documentation for CreateUserLoginInput
1032
+ export type CreateUserLoginInput = {
1033
+ // FIXME: Missing documentation for challengeIdentifier
1034
+ challengeIdentifier: Jwt
1035
+
1036
+ // FIXME: Missing documentation for firstFactor
1037
+ firstFactor: AuthenticateUserFirstFactor
1038
+
1039
+ // FIXME: Missing documentation for secondFactor
1040
+ secondFactor?: AuthenticateUserSecondFactor
1041
+ }
1042
+
1043
+ // FIXME: Missing documentation for CreateUserCredentialChallengeInput
1044
+ export type CreateUserCredentialChallengeInput = {
1045
+ // FIXME: Missing documentation for kind
1046
+ kind: CredentialKind
1047
+ }
1048
+
1049
+ // FIXME: Missing documentation for ActivateCredentialInput
1050
+ export type ActivateCredentialInput = {
1051
+ // FIXME: Missing documentation for credentialUuid
1052
+ credentialUuid: EntityId
1053
+ }
1054
+
1055
+ // FIXME: Missing documentation for CreateSignedAuthAttestationInput
1056
+ export type CreateSignedAuthAttestationInput = {
1057
+ // FIXME: Missing documentation for body
1058
+ body?: string
1059
+
1060
+ // FIXME: Missing documentation for headers
1061
+ headers: Record<string, string>
1062
+
1063
+ // FIXME: Missing documentation for isBase64Encoded
1064
+ isBase64Encoded: boolean
1065
+
1066
+ // FIXME: Missing documentation for http
1067
+ http: HttpRequestInformation
1068
+ }
1069
+
1070
+ // FIXME: Missing documentation for CreateCodeLoginChallengeInput
1071
+ export type CreateCodeLoginChallengeInput = {
1072
+ // FIXME: Missing documentation for code
1073
+ code: string
1074
+ }
1075
+
1076
+ // FIXME: Missing documentation for CreateUserLoginFromCodeInput
1077
+ export type CreateUserLoginFromCodeInput = {
1078
+ // FIXME: Missing documentation for challengeIdentifier
1079
+ challengeIdentifier: Jwt
1080
+ }
1081
+
1082
+ // FIXME: Missing documentation for CreateOrgOwnerInput
1083
+ export type CreateOrgOwnerInput = {
1084
+ // FIXME: Missing documentation for email
1085
+ email: Email
1086
+
1087
+ // FIXME: Missing documentation for publicKey
1088
+ publicKey?: string
1089
+
1090
+ // FIXME: Missing documentation for orgId
1091
+ orgId: EntityId
1092
+
1093
+ // FIXME: Missing documentation for authBlock
1094
+ authBlock: AuthBlock
1095
+ }
1096
+
1097
+ // FIXME: Missing documentation for CreateAvailableOrgListInput
1098
+ export type CreateAvailableOrgListInput = {
1099
+ /**
1100
+ * The username of the user that is logging into the system.
1101
+ */
1102
+ username: Username
1103
+
1104
+ /**
1105
+ * If specified, the API will return only the matching application for the given org ID. This would be used when the user has already given the org they want to log into, but the caller doesn't know the Auth V2 Application ID to use.
1106
+ */
1107
+ orgId?: EntityId
1108
+
1109
+ /**
1110
+ * A list of permission names that the caller will be using in their application.
1111
+ *
1112
+ * If the list is not empty, the API will attempt to find an Auth V2 Application that has the majority of the permissions provided.
1113
+ *
1114
+ * If the list is empty or not provided, the API will select the Auth V2 Application with the largest set of permissions.
1115
+ */
1116
+ permissions?: string[]
1117
+
1118
+ /**
1119
+ * The origin (scheme, hostname, and port) of the server where the request is originating. For example: https://dashboard.dfns.io
1120
+ *
1121
+ * The API will only return orgs that have a Auth V2 Application with a matching origin.
1122
+ */
1123
+ origin: string
1124
+ }
1125
+
1126
+ // FIXME: Missing documentation for CreateAccessTokenInput
1127
+ export type CreateAccessTokenInput = {
1128
+ // FIXME: Missing documentation for daysValid
1129
+ daysValid?: IntegerPositiveStrict
1130
+
1131
+ // FIXME: Missing documentation for name
1132
+ name: string
1133
+
1134
+ // FIXME: Missing documentation for permissionId
1135
+ permissionId?: EntityId
1136
+
1137
+ // FIXME: Missing documentation for publicKey
1138
+ publicKey: string
1139
+
1140
+ // FIXME: Missing documentation for externalId
1141
+ externalId?: string
1142
+ }
1143
+
1144
+ // FIXME: Missing documentation for UpdateAccessTokenInput
1145
+ export type UpdateAccessTokenInput = {
1146
+ // FIXME: Missing documentation for name
1147
+ name?: string
1148
+
1149
+ // FIXME: Missing documentation for externalId
1150
+ externalId?: string
1151
+ }
1152
+
1153
+ // FIXME: Missing documentation for UpdateUserInput
1154
+ export type UpdateUserInput = {
1155
+ // FIXME: Missing documentation for externalId
1156
+ externalId?: string
1157
+
1158
+ // FIXME: Missing documentation for publicKey
1159
+ publicKey?: string
1160
+ }
1161
+
1162
+ // FIXME: Missing documentation for UpdateApplicationInput
1163
+ export type UpdateApplicationInput = {
1164
+ // FIXME: Missing documentation for externalId
1165
+ externalId?: string
1166
+
1167
+ // FIXME: Missing documentation for name
1168
+ name?: string
1169
+ }
1170
+
1171
+ // FIXME: Missing documentation for CreateApplicationInput
1172
+ export type CreateApplicationInput = {
1173
+ // FIXME: Missing documentation for name
1174
+ name: string
1175
+
1176
+ // FIXME: Missing documentation for relyingPartyId
1177
+ relyingPartyId: string
1178
+
1179
+ // FIXME: Missing documentation for origin
1180
+ origin: string
1181
+
1182
+ // FIXME: Missing documentation for permissionId
1183
+ permissionId?: EntityId
1184
+
1185
+ // FIXME: Missing documentation for kind
1186
+ kind: ApplicationKind
1187
+
1188
+ // FIXME: Missing documentation for daysValid
1189
+ daysValid?: IntegerPositiveStrict
1190
+
1191
+ // FIXME: Missing documentation for publicKey
1192
+ publicKey?: string
1193
+
1194
+ // FIXME: Missing documentation for externalId
1195
+ externalId?: string
1196
+ }
1197
+
1198
+ // FIXME: Missing documentation for CreateUserRecoveryInput
1199
+ export type CreateUserRecoveryInput = {
1200
+ // FIXME: Missing documentation for recovery
1201
+ recovery: RecoverUserInput
1202
+
1203
+ // FIXME: Missing documentation for newCredentials
1204
+ newCredentials: UserRecoveryCredentials
1205
+ }
1206
+
1207
+ // FIXME: Missing documentation for CreateUserRecoveryChallengeInput
1208
+ export type CreateUserRecoveryChallengeInput = {
1209
+ // FIXME: Missing documentation for username
1210
+ username: string
1211
+
1212
+ // FIXME: Missing documentation for verificationCode
1213
+ verificationCode: string
1214
+
1215
+ // FIXME: Missing documentation for orgId
1216
+ orgId: EntityId
1217
+
1218
+ // FIXME: Missing documentation for credentialId
1219
+ credentialId: string
1220
+ }
1221
+
1222
+ // FIXME: Missing documentation for CreateDelegatedUserRecoveryInput
1223
+ export type CreateDelegatedUserRecoveryInput = {
1224
+ // FIXME: Missing documentation for username
1225
+ username: string
1226
+
1227
+ // FIXME: Missing documentation for credentialId
1228
+ credentialId: string
1229
+ }
1230
+
1231
+ // FIXME: Missing documentation for CreateUserCredentialInput
1232
+ export type CreateUserCredentialInput =
1233
+ | CreateUserCredentialTotpInput
1234
+ | CreateUserCredentialPasswordInput
1235
+ | CreateUserCredentialPublicKeyInput
1236
+ | CreateUserCredentialFido2Input
1237
+ | CreateUserCredentialRecoveryKeyInput
1238
+
1239
+ // FIXME: Missing documentation for UserCredentialChallenge
1240
+ export type UserCredentialChallenge =
1241
+ | Fido2Options
1242
+ | PublicKeyOptions
1243
+ | TotpCredential
1244
+ | PasswordCredential
1245
+
1246
+ // FIXME: Missing documentation for SignedAuthAttestation
1247
+ export type SignedAuthAttestation =
1248
+ | LegacyAuthAttestation
1249
+ | AuthV2SignedAuthAttestation
1250
+
1251
+ // FIXME: Missing documentation for RegistrationFirstFactor
1252
+ export type RegistrationFirstFactor =
1253
+ | RegistrationConfirmationFido2
1254
+ | RegistrationConfirmationKey
1255
+ | RegistrationConfirmationPassword
1256
+
1257
+ // FIXME: Missing documentation for RegistrationSecondFactor
1258
+ export type RegistrationSecondFactor =
1259
+ | RegistrationConfirmationFido2
1260
+ | RegistrationConfirmationKey
1261
+ | RegistrationConfirmationTotp
1262
+
1263
+ // FIXME: Missing documentation for AuthenticateUserFirstFactor
1264
+ export type AuthenticateUserFirstFactor =
1265
+ | AuthenticateUserPasswordInput
1266
+ | AuthenticateUserFido2Input
1267
+ | AuthenticateUserKeyInput
1268
+
1269
+ // FIXME: Missing documentation for AuthenticateUserSecondFactor
1270
+ export type AuthenticateUserSecondFactor =
1271
+ | AuthenticateUserFido2Input
1272
+ | AuthenticateUserKeyInput
1273
+ | AuthenticateUserTotpInput
1274
+
1275
+ // FIXME: Missing documentation for AuthIdentity
1276
+ export type AuthIdentity =
1277
+ | OrgEmployeeIdentity
1278
+ | OrgApiKeyIdentity
1279
+ | DfnsStaffIdentity
1280
+ | DfnsServiceIdentity
1281
+
1282
+ // FIXME: Missing documentation for CredentialKind
1283
+ export enum CredentialKind {
1284
+ // FIXME: Missing documentation for Fido2
1285
+ Fido2 = 'Fido2',
1286
+ // FIXME: Missing documentation for Key
1287
+ Key = 'Key',
1288
+ // FIXME: Missing documentation for Password
1289
+ Password = 'Password',
1290
+ // FIXME: Missing documentation for Totp
1291
+ Totp = 'Totp',
1292
+ // FIXME: Missing documentation for RecoveryKey
1293
+ RecoveryKey = 'RecoveryKey',
1294
+ }
1295
+
1296
+ // FIXME: Missing documentation for UserKind
1297
+ export enum UserKind {
1298
+ // FIXME: Missing documentation for CustomerEmployee
1299
+ CustomerEmployee = 'CustomerEmployee',
1300
+ // FIXME: Missing documentation for DfnsStaff
1301
+ DfnsStaff = 'DfnsStaff',
1302
+ // FIXME: Missing documentation for EndUser
1303
+ EndUser = 'EndUser',
1304
+ // FIXME: Missing documentation for Pat
1305
+ Pat = 'Pat',
1306
+ // FIXME: Missing documentation for Application
1307
+ Application = 'Application',
1308
+ // FIXME: Missing documentation for ServiceAccount
1309
+ ServiceAccount = 'ServiceAccount',
1310
+ }
1311
+
1312
+ // FIXME: Missing documentation for AuthenticatorRequirementOptions
1313
+ export enum AuthenticatorRequirementOptions {
1314
+ // FIXME: Missing documentation for required
1315
+ required = 'required',
1316
+ // FIXME: Missing documentation for preferred
1317
+ preferred = 'preferred',
1318
+ // FIXME: Missing documentation for discouraged
1319
+ discouraged = 'discouraged',
1320
+ }
1321
+
1322
+ // FIXME: Missing documentation for AuthenticatorAttestationOptions
1323
+ export enum AuthenticatorAttestationOptions {
1324
+ // FIXME: Missing documentation for none
1325
+ none = 'none',
1326
+ // FIXME: Missing documentation for indirect
1327
+ indirect = 'indirect',
1328
+ // FIXME: Missing documentation for direct
1329
+ direct = 'direct',
1330
+ // FIXME: Missing documentation for enterprise
1331
+ enterprise = 'enterprise',
1332
+ }
1333
+
1334
+ // FIXME: Missing documentation for ApplicationKind
1335
+ export enum ApplicationKind {
1336
+ // FIXME: Missing documentation for ServerSideApplication
1337
+ ServerSideApplication = 'ServerSideApplication',
1338
+ // FIXME: Missing documentation for ClientSideApplication
1339
+ ClientSideApplication = 'ClientSideApplication',
1340
+ }
1341
+
1342
+ // FIXME: Missing documentation for FidoCredentialsTransportKind
1343
+ export enum FidoCredentialsTransportKind {
1344
+ // FIXME: Missing documentation for usb
1345
+ usb = 'usb',
1346
+ // FIXME: Missing documentation for nfc
1347
+ nfc = 'nfc',
1348
+ // FIXME: Missing documentation for ble
1349
+ ble = 'ble',
1350
+ // FIXME: Missing documentation for internal
1351
+ internal = 'internal',
1352
+ // FIXME: Missing documentation for hybrid
1353
+ hybrid = 'hybrid',
1354
+ }
1355
+
1356
+ // FIXME: Missing documentation for CredentialFactor
1357
+ export enum CredentialFactor {
1358
+ // FIXME: Missing documentation for first
1359
+ first = 'first',
1360
+ // FIXME: Missing documentation for second
1361
+ second = 'second',
1362
+ // FIXME: Missing documentation for either
1363
+ either = 'either',
1364
+ }
1365
+
1366
+ // FIXME: Missing documentation for ServerKind
1367
+ export enum ServerKind {
1368
+ // FIXME: Missing documentation for Api
1369
+ Api = 'Api',
1370
+ // FIXME: Missing documentation for Staff
1371
+ Staff = 'Staff',
1372
+ }
1373
+
1374
+ // FIXME: Missing documentation for AccessTokenKind
1375
+ export enum AccessTokenKind {
1376
+ // FIXME: Missing documentation for ServiceAccount
1377
+ ServiceAccount = 'ServiceAccount',
1378
+ // FIXME: Missing documentation for Pat
1379
+ Pat = 'Pat',
1380
+ // FIXME: Missing documentation for Application
1381
+ Application = 'Application',
1382
+ }
1383
+
1384
+ // FIXME: Missing documentation for UserAuthKind
1385
+ export enum UserAuthKind {
1386
+ // FIXME: Missing documentation for EndUser
1387
+ EndUser = 'EndUser',
1388
+ // FIXME: Missing documentation for CustomerEmployee
1389
+ CustomerEmployee = 'CustomerEmployee',
1390
+ // FIXME: Missing documentation for DfnsStaff
1391
+ DfnsStaff = 'DfnsStaff',
1392
+ }
1393
+
1394
+ // FIXME: Missing documentation for AuthIdentityKind
1395
+ export enum AuthIdentityKind {
1396
+ // FIXME: Missing documentation for DfnsStaffIdentity
1397
+ DfnsStaffIdentity = 'DfnsStaffIdentity',
1398
+ // FIXME: Missing documentation for OrgEmployeeIdentity
1399
+ OrgEmployeeIdentity = 'OrgEmployeeIdentity',
1400
+ // FIXME: Missing documentation for OrgApiKeyIdentity
1401
+ OrgApiKeyIdentity = 'OrgApiKeyIdentity',
1402
+ // FIXME: Missing documentation for DfnsService
1403
+ DfnsService = 'DfnsService',
1404
+ }