@affinidi/cli 2.0.0-beta.4 → 2.0.0-beta.6

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 (365) hide show
  1. package/README.md +881 -637
  2. package/dist/commands/generate/app.d.ts +10 -0
  3. package/dist/commands/generate/app.js +47 -0
  4. package/dist/commands/generate/app.js.map +1 -0
  5. package/dist/commands/iam/add-principal.d.ts +11 -0
  6. package/dist/commands/iam/add-principal.js +56 -0
  7. package/dist/commands/iam/add-principal.js.map +1 -0
  8. package/dist/commands/iam/get-policies.d.ts +12 -0
  9. package/dist/commands/iam/get-policies.js +57 -0
  10. package/dist/commands/iam/get-policies.js.map +1 -0
  11. package/dist/commands/iam/list-principals.d.ts +8 -0
  12. package/dist/commands/iam/list-principals.js +24 -0
  13. package/dist/commands/iam/list-principals.js.map +1 -0
  14. package/dist/commands/iam/remove-principal.d.ts +14 -0
  15. package/dist/commands/iam/remove-principal.js +56 -0
  16. package/dist/commands/iam/remove-principal.js.map +1 -0
  17. package/dist/commands/iam/update-policies.d.ts +13 -0
  18. package/dist/commands/iam/update-policies.js +114 -0
  19. package/dist/commands/iam/update-policies.js.map +1 -0
  20. package/dist/commands/login/add-user-to-group.d.ts +11 -0
  21. package/dist/commands/login/add-user-to-group.js +32 -0
  22. package/dist/commands/login/add-user-to-group.js.map +1 -0
  23. package/dist/commands/login/create-config.d.ts +17 -0
  24. package/dist/commands/login/create-config.js +131 -0
  25. package/dist/commands/login/create-config.js.map +1 -0
  26. package/dist/commands/login/create-group.d.ts +10 -0
  27. package/dist/commands/login/create-group.js +35 -0
  28. package/dist/commands/login/create-group.js.map +1 -0
  29. package/dist/commands/login/delete-config.d.ts +11 -0
  30. package/dist/commands/login/delete-config.js +33 -0
  31. package/dist/commands/login/delete-config.js.map +1 -0
  32. package/dist/commands/login/delete-group.d.ts +11 -0
  33. package/dist/commands/login/delete-group.js +33 -0
  34. package/dist/commands/login/delete-group.js.map +1 -0
  35. package/dist/commands/login/get-config.d.ts +10 -0
  36. package/dist/commands/login/get-config.js +33 -0
  37. package/dist/commands/login/get-config.js.map +1 -0
  38. package/dist/commands/login/get-group.d.ts +10 -0
  39. package/dist/commands/login/get-group.js +33 -0
  40. package/dist/commands/login/get-group.js.map +1 -0
  41. package/dist/commands/login/list-configs.d.ts +7 -0
  42. package/dist/commands/login/list-configs.js +21 -0
  43. package/dist/commands/login/list-configs.js.map +1 -0
  44. package/dist/commands/login/list-groups.d.ts +7 -0
  45. package/dist/commands/login/list-groups.js +21 -0
  46. package/dist/commands/login/list-groups.js.map +1 -0
  47. package/dist/commands/login/list-users-in-group.d.ts +10 -0
  48. package/dist/commands/login/list-users-in-group.js +29 -0
  49. package/dist/commands/login/list-users-in-group.js.map +1 -0
  50. package/dist/commands/login/remove-user-from-group.d.ts +13 -0
  51. package/dist/commands/login/remove-user-from-group.js +33 -0
  52. package/dist/commands/login/remove-user-from-group.js.map +1 -0
  53. package/dist/commands/login/update-config.d.ts +17 -0
  54. package/dist/commands/login/update-config.js +120 -0
  55. package/dist/commands/login/update-config.js.map +1 -0
  56. package/dist/commands/project/create-project.d.ts +10 -0
  57. package/dist/commands/project/create-project.js +35 -0
  58. package/dist/commands/project/create-project.js.map +1 -0
  59. package/dist/commands/project/get-active-project.d.ts +7 -0
  60. package/dist/commands/project/get-active-project.js +21 -0
  61. package/dist/commands/project/get-active-project.js.map +1 -0
  62. package/dist/commands/project/list-projects.d.ts +7 -0
  63. package/dist/commands/project/list-projects.js +21 -0
  64. package/dist/commands/project/list-projects.js.map +1 -0
  65. package/dist/commands/project/select-project.d.ts +10 -0
  66. package/dist/commands/project/select-project.js +70 -0
  67. package/dist/commands/project/select-project.js.map +1 -0
  68. package/dist/commands/start.d.ts +4 -34
  69. package/dist/commands/start.js +20 -409
  70. package/dist/commands/start.js.map +1 -1
  71. package/dist/commands/stop.d.ts +6 -0
  72. package/dist/commands/stop.js +30 -0
  73. package/dist/commands/stop.js.map +1 -0
  74. package/dist/commands/token/create-token.d.ts +13 -0
  75. package/dist/commands/token/create-token.js +78 -0
  76. package/dist/commands/token/create-token.js.map +1 -0
  77. package/dist/commands/token/delete-token.d.ts +11 -0
  78. package/dist/commands/token/delete-token.js +36 -0
  79. package/dist/commands/token/delete-token.js.map +1 -0
  80. package/dist/commands/token/get-token.d.ts +10 -0
  81. package/dist/commands/token/get-token.js +36 -0
  82. package/dist/commands/token/get-token.js.map +1 -0
  83. package/dist/commands/token/list-tokens.d.ts +7 -0
  84. package/dist/commands/token/list-tokens.js +21 -0
  85. package/dist/commands/token/list-tokens.js.map +1 -0
  86. package/dist/commands/token/update-token.d.ts +14 -0
  87. package/dist/commands/token/update-token.js +83 -0
  88. package/dist/commands/token/update-token.js.map +1 -0
  89. package/dist/common/base-command.d.ts +28 -0
  90. package/dist/common/base-command.js +61 -0
  91. package/dist/common/base-command.js.map +1 -0
  92. package/dist/common/constants.d.ts +18 -0
  93. package/dist/common/constants.js +26 -0
  94. package/dist/common/constants.js.map +1 -0
  95. package/dist/common/index.d.ts +2 -0
  96. package/dist/common/index.js +8 -0
  97. package/dist/common/index.js.map +1 -0
  98. package/dist/helpers/degit.d.ts +1 -0
  99. package/dist/helpers/degit.js +26 -0
  100. package/dist/helpers/degit.js.map +1 -0
  101. package/dist/helpers/index.d.ts +3 -0
  102. package/dist/helpers/index.js +11 -0
  103. package/dist/helpers/index.js.map +1 -0
  104. package/dist/helpers/jwk.d.ts +4 -0
  105. package/dist/helpers/jwk.js +29 -0
  106. package/dist/helpers/jwk.js.map +1 -0
  107. package/dist/helpers/prompt-required-flags.d.ts +1 -0
  108. package/dist/helpers/prompt-required-flags.js +14 -0
  109. package/dist/helpers/prompt-required-flags.js.map +1 -0
  110. package/dist/hooks/check/{checkVersion.d.ts → check-version.d.ts} +3 -2
  111. package/dist/hooks/check/{checkVersion.js → check-version.js} +7 -6
  112. package/dist/hooks/check/check-version.js.map +1 -0
  113. package/dist/index.d.ts +0 -1
  114. package/dist/index.js +1 -3
  115. package/dist/index.js.map +1 -1
  116. package/dist/services/affinidi/adapters/index.d.ts +1 -0
  117. package/dist/services/affinidi/adapters/index.js +5 -0
  118. package/dist/services/affinidi/adapters/index.js.map +1 -0
  119. package/dist/services/affinidi/adapters/logger/console-logger-adapter.d.ts +12 -0
  120. package/dist/services/affinidi/adapters/logger/console-logger-adapter.js +56 -0
  121. package/dist/services/affinidi/adapters/logger/console-logger-adapter.js.map +1 -0
  122. package/dist/services/affinidi/adapters/logger/index.d.ts +2 -0
  123. package/dist/services/affinidi/adapters/logger/index.js +6 -0
  124. package/dist/services/affinidi/adapters/logger/index.js.map +1 -0
  125. package/dist/services/affinidi/adapters/logger/logger-adapter.d.ts +10 -0
  126. package/dist/services/affinidi/adapters/logger/logger-adapter.js +3 -0
  127. package/dist/services/affinidi/adapters/logger/logger-adapter.js.map +1 -0
  128. package/dist/services/affinidi/auth/index.d.ts +62 -0
  129. package/dist/services/affinidi/auth/index.js +136 -0
  130. package/dist/services/affinidi/auth/index.js.map +1 -0
  131. package/dist/services/affinidi/auth/providers/config.d.ts +15 -0
  132. package/dist/services/affinidi/auth/providers/config.js +33 -0
  133. package/dist/services/affinidi/auth/providers/config.js.map +1 -0
  134. package/dist/services/affinidi/auth/providers/error-login-page.d.ts +1 -0
  135. package/dist/services/affinidi/auth/providers/error-login-page.js +111 -0
  136. package/dist/services/affinidi/auth/providers/error-login-page.js.map +1 -0
  137. package/dist/services/affinidi/auth/providers/index.d.ts +3 -0
  138. package/dist/services/affinidi/auth/providers/index.js +8 -0
  139. package/dist/services/affinidi/auth/providers/index.js.map +1 -0
  140. package/dist/services/affinidi/auth/providers/ory-pkce.d.ts +47 -0
  141. package/dist/services/affinidi/auth/providers/ory-pkce.js +216 -0
  142. package/dist/services/affinidi/auth/providers/ory-pkce.js.map +1 -0
  143. package/dist/services/affinidi/auth/providers/ory.d.ts +22 -0
  144. package/dist/services/affinidi/auth/providers/ory.js +154 -0
  145. package/dist/services/affinidi/auth/providers/ory.js.map +1 -0
  146. package/dist/services/affinidi/auth/providers/successful-login-page.d.ts +1 -0
  147. package/dist/services/affinidi/auth/providers/successful-login-page.js +110 -0
  148. package/dist/services/affinidi/auth/providers/successful-login-page.js.map +1 -0
  149. package/dist/services/affinidi/auth/providers/types.d.ts +10 -0
  150. package/dist/services/affinidi/auth/providers/types.js +3 -0
  151. package/dist/services/affinidi/auth/providers/types.js.map +1 -0
  152. package/dist/services/affinidi/auth/token.d.ts +50 -0
  153. package/dist/services/affinidi/auth/token.js +117 -0
  154. package/dist/services/affinidi/auth/token.js.map +1 -0
  155. package/dist/services/affinidi/config.d.ts +12 -0
  156. package/dist/services/affinidi/config.js +3 -0
  157. package/dist/services/affinidi/config.js.map +1 -0
  158. package/dist/services/affinidi/errors/index.d.ts +1 -0
  159. package/dist/services/affinidi/errors/index.js +74 -0
  160. package/dist/services/affinidi/errors/index.js.map +1 -0
  161. package/dist/services/affinidi/iam/iam.api.d.ts +454 -0
  162. package/dist/services/affinidi/iam/iam.api.js +421 -0
  163. package/dist/services/affinidi/iam/iam.api.js.map +1 -0
  164. package/dist/services/affinidi/iam/index.d.ts +21 -0
  165. package/dist/services/affinidi/iam/index.js +226 -0
  166. package/dist/services/affinidi/iam/index.js.map +1 -0
  167. package/dist/services/affinidi/index.d.ts +24 -0
  168. package/dist/services/affinidi/index.js +52 -0
  169. package/dist/services/affinidi/index.js.map +1 -0
  170. package/dist/services/affinidi/vp-adapter/index.d.ts +20 -0
  171. package/dist/services/affinidi/vp-adapter/index.js +188 -0
  172. package/dist/services/affinidi/vp-adapter/index.js.map +1 -0
  173. package/dist/services/affinidi/vp-adapter/vp-adapter.api.d.ts +602 -0
  174. package/dist/services/affinidi/vp-adapter/vp-adapter.api.js +484 -0
  175. package/dist/services/affinidi/vp-adapter/vp-adapter.api.js.map +1 -0
  176. package/dist/services/auth0/index.d.ts +7 -0
  177. package/dist/services/auth0/index.js +104 -0
  178. package/dist/services/auth0/index.js.map +1 -0
  179. package/dist/services/config/index.d.ts +10 -30
  180. package/dist/services/config/index.js +29 -163
  181. package/dist/services/config/index.js.map +1 -1
  182. package/dist/services/index.d.ts +0 -6
  183. package/dist/services/index.js +1 -14
  184. package/dist/services/index.js.map +1 -1
  185. package/dist/services/urls.d.ts +3 -0
  186. package/dist/services/urls.js +15 -0
  187. package/dist/services/urls.js.map +1 -0
  188. package/package.json +73 -73
  189. package/bin/inject-secrets.js +0 -16
  190. package/bin/postinstall.js +0 -31
  191. package/dist/commands/analytics.d.ts +0 -21
  192. package/dist/commands/analytics.js +0 -74
  193. package/dist/commands/analytics.js.map +0 -1
  194. package/dist/commands/config/index.d.ts +0 -15
  195. package/dist/commands/config/index.js +0 -71
  196. package/dist/commands/config/index.js.map +0 -1
  197. package/dist/commands/config/username.d.ts +0 -17
  198. package/dist/commands/config/username.js +0 -87
  199. package/dist/commands/config/username.js.map +0 -1
  200. package/dist/commands/config/view.d.ts +0 -16
  201. package/dist/commands/config/view.js +0 -59
  202. package/dist/commands/config/view.js.map +0 -1
  203. package/dist/commands/create/project.d.ts +0 -16
  204. package/dist/commands/create/project.js +0 -82
  205. package/dist/commands/create/project.js.map +0 -1
  206. package/dist/commands/create/schema.d.ts +0 -18
  207. package/dist/commands/create/schema.js +0 -149
  208. package/dist/commands/create/schema.js.map +0 -1
  209. package/dist/commands/generate-application/index.d.ts +0 -28
  210. package/dist/commands/generate-application/index.js +0 -94
  211. package/dist/commands/generate-application/index.js.map +0 -1
  212. package/dist/commands/issue-vc.d.ts +0 -21
  213. package/dist/commands/issue-vc.js +0 -159
  214. package/dist/commands/issue-vc.js.map +0 -1
  215. package/dist/commands/list/projects.d.ts +0 -17
  216. package/dist/commands/list/projects.js +0 -110
  217. package/dist/commands/list/projects.js.map +0 -1
  218. package/dist/commands/list/schemas.d.ts +0 -26
  219. package/dist/commands/list/schemas.js +0 -164
  220. package/dist/commands/list/schemas.js.map +0 -1
  221. package/dist/commands/login/index.d.ts +0 -17
  222. package/dist/commands/login/index.js +0 -142
  223. package/dist/commands/login/index.js.map +0 -1
  224. package/dist/commands/logout/index.d.ts +0 -13
  225. package/dist/commands/logout/index.js +0 -72
  226. package/dist/commands/logout/index.js.map +0 -1
  227. package/dist/commands/rename/project.d.ts +0 -17
  228. package/dist/commands/rename/project.js +0 -100
  229. package/dist/commands/rename/project.js.map +0 -1
  230. package/dist/commands/show/project.d.ts +0 -16
  231. package/dist/commands/show/project.js +0 -121
  232. package/dist/commands/show/project.js.map +0 -1
  233. package/dist/commands/show/schema.d.ts +0 -17
  234. package/dist/commands/show/schema.js +0 -111
  235. package/dist/commands/show/schema.js.map +0 -1
  236. package/dist/commands/show/user.d.ts +0 -14
  237. package/dist/commands/show/user.js +0 -61
  238. package/dist/commands/show/user.js.map +0 -1
  239. package/dist/commands/sign-up/index.d.ts +0 -13
  240. package/dist/commands/sign-up/index.js +0 -83
  241. package/dist/commands/sign-up/index.js.map +0 -1
  242. package/dist/commands/use/project.d.ts +0 -15
  243. package/dist/commands/use/project.js +0 -103
  244. package/dist/commands/use/project.js.map +0 -1
  245. package/dist/commands/verify-vc.d.ts +0 -15
  246. package/dist/commands/verify-vc.js +0 -88
  247. package/dist/commands/verify-vc.js.map +0 -1
  248. package/dist/constants.d.ts +0 -44
  249. package/dist/constants.js +0 -78
  250. package/dist/constants.js.map +0 -1
  251. package/dist/customFlags/outputFlag.d.ts +0 -2
  252. package/dist/customFlags/outputFlag.js +0 -10
  253. package/dist/customFlags/outputFlag.js.map +0 -1
  254. package/dist/errors/index.d.ts +0 -37
  255. package/dist/errors/index.js +0 -118
  256. package/dist/errors/index.js.map +0 -1
  257. package/dist/exposedFunctions/genApp.d.ts +0 -27
  258. package/dist/exposedFunctions/genApp.js +0 -186
  259. package/dist/exposedFunctions/genApp.js.map +0 -1
  260. package/dist/fixtures/mock-projects.d.ts +0 -8
  261. package/dist/fixtures/mock-projects.js +0 -65
  262. package/dist/fixtures/mock-projects.js.map +0 -1
  263. package/dist/fixtures/mock-schemas.d.ts +0 -5
  264. package/dist/fixtures/mock-schemas.js +0 -47
  265. package/dist/fixtures/mock-schemas.js.map +0 -1
  266. package/dist/fixtures/mock-status.d.ts +0 -7
  267. package/dist/fixtures/mock-status.js +0 -88
  268. package/dist/fixtures/mock-status.js.map +0 -1
  269. package/dist/hooks/check/checkVersion.js.map +0 -1
  270. package/dist/middleware/authentication.d.ts +0 -2
  271. package/dist/middleware/authentication.js +0 -24
  272. package/dist/middleware/authentication.js.map +0 -1
  273. package/dist/middleware/display.d.ts +0 -7
  274. package/dist/middleware/display.js +0 -72
  275. package/dist/middleware/display.js.map +0 -1
  276. package/dist/render/functions.d.ts +0 -30
  277. package/dist/render/functions.js +0 -138
  278. package/dist/render/functions.js.map +0 -1
  279. package/dist/render/texts.d.ts +0 -19
  280. package/dist/render/texts.js +0 -102
  281. package/dist/render/texts.js.map +0 -1
  282. package/dist/services/analytics/analytics.api.d.ts +0 -79
  283. package/dist/services/analytics/analytics.api.js +0 -134
  284. package/dist/services/analytics/analytics.api.js.map +0 -1
  285. package/dist/services/analytics/index.d.ts +0 -21
  286. package/dist/services/analytics/index.js +0 -80
  287. package/dist/services/analytics/index.js.map +0 -1
  288. package/dist/services/git/index.d.ts +0 -5
  289. package/dist/services/git/index.js +0 -32
  290. package/dist/services/git/index.js.map +0 -1
  291. package/dist/services/iam/iam.api.d.ts +0 -158
  292. package/dist/services/iam/iam.api.js +0 -219
  293. package/dist/services/iam/iam.api.js.map +0 -1
  294. package/dist/services/iam/index.d.ts +0 -12
  295. package/dist/services/iam/index.js +0 -77
  296. package/dist/services/iam/index.js.map +0 -1
  297. package/dist/services/issuance/bulkIssuance.api.d.ts +0 -23
  298. package/dist/services/issuance/bulkIssuance.api.js +0 -43
  299. package/dist/services/issuance/bulkIssuance.api.js.map +0 -1
  300. package/dist/services/issuance/index.d.ts +0 -14
  301. package/dist/services/issuance/index.js +0 -63
  302. package/dist/services/issuance/index.js.map +0 -1
  303. package/dist/services/issuance/issuance.api.d.ts +0 -226
  304. package/dist/services/issuance/issuance.api.js +0 -247
  305. package/dist/services/issuance/issuance.api.js.map +0 -1
  306. package/dist/services/issuance/parse.schema.url.d.ts +0 -5
  307. package/dist/services/issuance/parse.schema.url.js +0 -73
  308. package/dist/services/issuance/parse.schema.url.js.map +0 -1
  309. package/dist/services/schema-manager/generator/context-generator.d.ts +0 -2
  310. package/dist/services/schema-manager/generator/context-generator.js +0 -42
  311. package/dist/services/schema-manager/generator/context-generator.js.map +0 -1
  312. package/dist/services/schema-manager/generator/helpers.d.ts +0 -22
  313. package/dist/services/schema-manager/generator/helpers.js +0 -29
  314. package/dist/services/schema-manager/generator/helpers.js.map +0 -1
  315. package/dist/services/schema-manager/generator/mapping.d.ts +0 -6
  316. package/dist/services/schema-manager/generator/mapping.js +0 -22
  317. package/dist/services/schema-manager/generator/mapping.js.map +0 -1
  318. package/dist/services/schema-manager/generator/schema-generator.d.ts +0 -2
  319. package/dist/services/schema-manager/generator/schema-generator.js +0 -103
  320. package/dist/services/schema-manager/generator/schema-generator.js.map +0 -1
  321. package/dist/services/schema-manager/generator/types.d.ts +0 -87
  322. package/dist/services/schema-manager/generator/types.js +0 -15
  323. package/dist/services/schema-manager/generator/types.js.map +0 -1
  324. package/dist/services/schema-manager/index.d.ts +0 -29
  325. package/dist/services/schema-manager/index.js +0 -68
  326. package/dist/services/schema-manager/index.js.map +0 -1
  327. package/dist/services/schema-manager/schema-manager.api.d.ts +0 -279
  328. package/dist/services/schema-manager/schema-manager.api.js +0 -171
  329. package/dist/services/schema-manager/schema-manager.api.js.map +0 -1
  330. package/dist/services/schema-manager/schemaParser/schema-parser.d.ts +0 -5
  331. package/dist/services/schema-manager/schemaParser/schema-parser.js +0 -35
  332. package/dist/services/schema-manager/schemaParser/schema-parser.js.map +0 -1
  333. package/dist/services/user-management/index.d.ts +0 -38
  334. package/dist/services/user-management/index.js +0 -126
  335. package/dist/services/user-management/index.js.map +0 -1
  336. package/dist/services/user-management/user-management.api.d.ts +0 -110
  337. package/dist/services/user-management/user-management.api.js +0 -185
  338. package/dist/services/user-management/user-management.api.js.map +0 -1
  339. package/dist/services/vault/index.d.ts +0 -23
  340. package/dist/services/vault/index.js +0 -69
  341. package/dist/services/vault/index.js.map +0 -1
  342. package/dist/services/vault/typedVaultService.d.ts +0 -54
  343. package/dist/services/vault/typedVaultService.js +0 -136
  344. package/dist/services/vault/typedVaultService.js.map +0 -1
  345. package/dist/services/verification/index.d.ts +0 -9
  346. package/dist/services/verification/index.js +0 -32
  347. package/dist/services/verification/index.js.map +0 -1
  348. package/dist/services/verification/verifier.api.d.ts +0 -202
  349. package/dist/services/verification/verifier.api.js +0 -187
  350. package/dist/services/verification/verifier.api.js.map +0 -1
  351. package/dist/services/writer/index.d.ts +0 -3
  352. package/dist/services/writer/index.js +0 -17
  353. package/dist/services/writer/index.js.map +0 -1
  354. package/dist/user-actions/index.d.ts +0 -2
  355. package/dist/user-actions/index.js +0 -27
  356. package/dist/user-actions/index.js.map +0 -1
  357. package/dist/user-actions/inquirer.d.ts +0 -9
  358. package/dist/user-actions/inquirer.js +0 -131
  359. package/dist/user-actions/inquirer.js.map +0 -1
  360. package/dist/user-actions/prompts.d.ts +0 -20
  361. package/dist/user-actions/prompts.js +0 -94
  362. package/dist/user-actions/prompts.js.map +0 -1
  363. package/dist/wizard/helpers.d.ts +0 -8
  364. package/dist/wizard/helpers.js +0 -59
  365. package/dist/wizard/helpers.js.map +0 -1
@@ -0,0 +1,602 @@
1
+ /** Service Error Response */
2
+ export interface ServiceErrorResponse {
3
+ /**
4
+ * unique id for correlating this specific error to logs
5
+ * @format uuid
6
+ */
7
+ debugId: string;
8
+ /** name of the error */
9
+ name: string;
10
+ /** backwards compatible Affinidi error code */
11
+ code: string;
12
+ /** error details */
13
+ details?: {
14
+ /** issue */
15
+ issue: string;
16
+ /** fields */
17
+ field?: string;
18
+ /** value */
19
+ value?: string;
20
+ /** location */
21
+ location?: string;
22
+ }[];
23
+ }
24
+ /** Redirect Response */
25
+ export interface RedirectResponse {
26
+ /** type */
27
+ type: 'REDIRECT_RESPONSE';
28
+ /**
29
+ * URL to redirect to
30
+ * @format url
31
+ */
32
+ to: string;
33
+ }
34
+ export interface ListLoginConfigurationOutput {
35
+ configurations: LoginConfigurationObject[];
36
+ }
37
+ export interface CreateLoginConfigurationInput {
38
+ /** User defined login configuration name */
39
+ name: string;
40
+ /** OAuth 2.0 Redirect URIs */
41
+ redirectUris: string[];
42
+ /** VP definition in JSON stringify format */
43
+ vpDefinition?: string;
44
+ /** Presentation Definition */
45
+ presentationDefinition?: object;
46
+ /** Fields name/path mapping between the vp_token and the id_token */
47
+ idTokenMapping?: IdTokenMapping;
48
+ /** login configuration client metadata */
49
+ clientMetadata?: LoginConfigurationClientMetadata;
50
+ /** ID token claims output format. Default is array. */
51
+ claimFormat?: 'array' | 'map';
52
+ /** List of groups separated by space */
53
+ scope?: string;
54
+ /** Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_post`: (default) Send client_id and client_secret as application/x-www-form-urlencoded in the HTTP body. `client_secret_basic`: Send client_id and client_secret as application/x-www-form-urlencoded encoded in the HTTP Authorization header. `none`: For public clients (native/mobile apps) which can not have secret. */
55
+ tokenEndpointAuthMethod?: TokenEndpointAuthMethod;
56
+ }
57
+ export interface CreateLoginConfigurationOutput {
58
+ /** Configuration ari */
59
+ ari: string;
60
+ /** Project id */
61
+ projectId: string;
62
+ /** Configuration id */
63
+ id: string;
64
+ /** User defined login configuration name */
65
+ name: string;
66
+ /** OIDC Auth Credentials */
67
+ auth: {
68
+ /** OAuth 2.0 Client ID */
69
+ clientId: string;
70
+ /** OAuth 2.0 Client Secret */
71
+ clientSecret?: string;
72
+ /** OAuth 2.0 Client Scope */
73
+ scope?: string;
74
+ /** Issuer URL */
75
+ issuer?: string;
76
+ };
77
+ /** OAuth 2.0 Redirect URIs */
78
+ redirectUris: string[];
79
+ /** login configuration client metadata */
80
+ clientMetadata: LoginConfigurationClientMetadata;
81
+ /** OAuth 2.0 Client Creation Date */
82
+ creationDate: string;
83
+ }
84
+ export type GetLoginConfigurationOutput = LoginConfigurationObject;
85
+ export interface UpdateLoginConfigurationInput {
86
+ /** User defined login configuration name */
87
+ name?: string;
88
+ /** OAuth 2.0 Redirect URIs */
89
+ redirectUris?: string[];
90
+ /** OAuth2 client secret */
91
+ clientSecret?: string;
92
+ /** VP definition in JSON stringify format */
93
+ vpDefinition?: string;
94
+ /** Presentation Definition */
95
+ presentationDefinition?: object;
96
+ /** Fields name/path mapping between the vp_token and the id_token */
97
+ idTokenMapping?: IdTokenMapping;
98
+ /** login configuration client metadata */
99
+ clientMetadata?: LoginConfigurationClientMetadata;
100
+ /** Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_post`: (default) Send client_id and client_secret as application/x-www-form-urlencoded in the HTTP body. `client_secret_basic`: Send client_id and client_secret as application/x-www-form-urlencoded encoded in the HTTP Authorization header. `none`: For public clients (native/mobile apps) which can not have secret. */
101
+ tokenEndpointAuthMethod?: TokenEndpointAuthMethod;
102
+ }
103
+ export type UpdateLoginConfigurationOutput = LoginConfigurationObject;
104
+ export interface LoginSessionDto {
105
+ /** Session primary identifier */
106
+ id: string;
107
+ authorizationRequest: {
108
+ /** State parameter */
109
+ state: string;
110
+ /** Presentation Definition to ask from the user. In JSON Stringify format. */
111
+ presentationDefinition: string;
112
+ /** ARI is used for analytics proposals. */
113
+ ari?: string;
114
+ /** clientId used for detect origin. */
115
+ clientId?: string;
116
+ };
117
+ }
118
+ /** Input for Creating a Login Session */
119
+ export interface LoginSessionForIDPInput {
120
+ /** IDP Login Challenge to Associate the Session with */
121
+ loginChallenge: string;
122
+ }
123
+ export type LoginSessionForIDPOutput = LoginSessionDto;
124
+ /** Authorization Response per OpenID for Verifiable Presentations Specification */
125
+ export type LoginSessionAcceptResponseInput = Record<string, any>;
126
+ /** Direct Post Response URI endpoint result */
127
+ export type LoginSessionAcceptResponseOutput = Record<string, any>;
128
+ /** Authorization Response per OpenID for Verifiable Presentations Specification */
129
+ export interface LoginSessionRejectResponseInput {
130
+ /** The error should follow the OAuth2 error format (e.g. invalid_request, login_required). Defaults to request_denied */
131
+ error?: string;
132
+ /** Description of the error in a human readable format */
133
+ errorDescription?: string;
134
+ /** Random state associated to the Session */
135
+ state: string;
136
+ [key: string]: any;
137
+ }
138
+ /** Direct Post Response URI endpoint result */
139
+ export type LoginSessionRejectResponseOutput = Record<string, any>;
140
+ export interface LoginConfigurationObject {
141
+ /** Configuration ari */
142
+ ari: string;
143
+ /** Configuration id */
144
+ id: string;
145
+ /** Project id */
146
+ projectId: string;
147
+ /** User defined login configuration name */
148
+ name: string;
149
+ /** OAuth 2.0 Redirect URIs */
150
+ redirectUris?: string[];
151
+ /** OAuth 2.0 Client Scope */
152
+ scope?: string;
153
+ /** OAuth 2.0 Client ID */
154
+ clientId: string;
155
+ /** OAuth 2.0 Client Creation Date */
156
+ creationDate: string;
157
+ /** VP definition in JSON stringify format */
158
+ vpDefinition: string;
159
+ /** Presentation Definition */
160
+ presentationDefinition?: object;
161
+ /** Fields name/path mapping between the vp_token and the id_token */
162
+ idTokenMapping: IdTokenMapping;
163
+ /** login configuration client metadata */
164
+ clientMetadata: LoginConfigurationClientMetadata;
165
+ [key: string]: any;
166
+ }
167
+ /**
168
+ * Fields name/path mapping between the vp_token and the id_token
169
+ * @minItems 1
170
+ */
171
+ export type IdTokenMapping = {
172
+ /** Name(path) of the corresponding field in the vp_token */
173
+ sourceField: string;
174
+ /** Name of the corresponding field in the id_token */
175
+ idTokenClaim: string;
176
+ }[];
177
+ export interface CreateGroupInput {
178
+ /**
179
+ * name of the group for users, used as an id
180
+ * @maxLength 24
181
+ * @pattern ^[a-z_]+$
182
+ */
183
+ groupName: string;
184
+ }
185
+ export interface GroupDto {
186
+ /** Group ari */
187
+ ari: string;
188
+ /** Project id */
189
+ projectId: string;
190
+ /** name of the group, identifier within a project */
191
+ groupName: string;
192
+ /** Group creation date */
193
+ creationDate: string;
194
+ }
195
+ export interface GroupUserMappingDto {
196
+ /** Group user mapping ari */
197
+ ari: string;
198
+ /** Group user mapping id */
199
+ id: string;
200
+ /** Project id */
201
+ projectId: string;
202
+ /** Group name */
203
+ groupName: string;
204
+ /** Unique identifier of the user, subject of the token */
205
+ sub: string;
206
+ /** Group to user mapping creation date */
207
+ creationDate: string;
208
+ }
209
+ /** input used to create a user group mapping or in other words add user to group */
210
+ export interface AddUserToGroupInput {
211
+ /** Unique identifier of the user, subject of the token */
212
+ sub: string;
213
+ }
214
+ export interface GroupsList {
215
+ groups?: GroupDto[];
216
+ }
217
+ export interface GroupUserMappingsList {
218
+ mappings?: GroupUserMappingDto[];
219
+ }
220
+ /** login configuration client metadata */
221
+ export interface LoginConfigurationClientMetadata {
222
+ /** application name that will be displayed in consent page */
223
+ name: string;
224
+ /** origin url that will be displayed in consent page */
225
+ origin: string;
226
+ /** logo url that will be displayed in consent page */
227
+ logo: string;
228
+ [key: string]: any;
229
+ }
230
+ /** Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_post`: (default) Send client_id and client_secret as application/x-www-form-urlencoded in the HTTP body. `client_secret_basic`: Send client_id and client_secret as application/x-www-form-urlencoded encoded in the HTTP Authorization header. `none`: For public clients (native/mobile apps) which can not have secret. */
231
+ export declare enum TokenEndpointAuthMethod {
232
+ ClientSecretBasic = "client_secret_basic",
233
+ ClientSecretPost = "client_secret_post",
234
+ None = "none"
235
+ }
236
+ export interface InvalidParameterError {
237
+ name: 'InvalidParameterError';
238
+ message: 'Invalid parameter: ${param}.';
239
+ httpStatusCode: 400;
240
+ traceId: string;
241
+ details?: {
242
+ issue: string;
243
+ field?: string;
244
+ value?: string;
245
+ location?: string;
246
+ }[];
247
+ }
248
+ export interface NotFoundError {
249
+ name: 'NotFoundError';
250
+ message: 'Not found: ${param}.';
251
+ httpStatusCode: 404;
252
+ traceId: string;
253
+ details?: {
254
+ issue: string;
255
+ field?: string;
256
+ value?: string;
257
+ location?: string;
258
+ }[];
259
+ }
260
+ export interface ResourceCreationError {
261
+ name: 'ResourceCreationError';
262
+ message: 'Failed to create resources.';
263
+ httpStatusCode: 424;
264
+ traceId: string;
265
+ details?: {
266
+ issue: string;
267
+ field?: string;
268
+ value?: string;
269
+ location?: string;
270
+ }[];
271
+ }
272
+ export interface GroupsPerUserLimitExceededError {
273
+ name: 'GroupsPerUserLimitExceededError';
274
+ message: 'Amount of groups per user is limited.';
275
+ httpStatusCode: 409;
276
+ traceId: string;
277
+ details?: {
278
+ issue: string;
279
+ field?: string;
280
+ value?: string;
281
+ location?: string;
282
+ }[];
283
+ }
284
+ export interface ActionForbiddenError {
285
+ name: 'ActionForbiddenError';
286
+ message: 'Principal can not execute action on given resource';
287
+ httpStatusCode: 403;
288
+ traceId: string;
289
+ details?: {
290
+ issue: string;
291
+ field?: string;
292
+ value?: string;
293
+ location?: string;
294
+ }[];
295
+ }
296
+ export interface VPTokenValidationError {
297
+ name: 'VPTokenValidationError';
298
+ message: 'VP token validation ended with an error';
299
+ httpStatusCode: 400;
300
+ traceId: string;
301
+ details?: {
302
+ issue: string;
303
+ field?: string;
304
+ value?: string;
305
+ location?: string;
306
+ }[];
307
+ }
308
+ import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from 'axios';
309
+ export type QueryParamsType = Record<string | number, any>;
310
+ export interface FullRequestParams extends Omit<AxiosRequestConfig, 'data' | 'params' | 'url' | 'responseType'> {
311
+ /** set parameter to `true` for call `securityWorker` for this request */
312
+ secure?: boolean;
313
+ /** request path */
314
+ path: string;
315
+ /** content type of request body */
316
+ type?: ContentType;
317
+ /** query params */
318
+ query?: QueryParamsType;
319
+ /** format of response (i.e. response.json() -> format: "json") */
320
+ format?: ResponseType;
321
+ /** request body */
322
+ body?: unknown;
323
+ }
324
+ export type RequestParams = Omit<FullRequestParams, 'body' | 'method' | 'query' | 'path'>;
325
+ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, 'data' | 'cancelToken'> {
326
+ securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
327
+ secure?: boolean;
328
+ format?: ResponseType;
329
+ }
330
+ export declare enum ContentType {
331
+ Json = "application/json",
332
+ FormData = "multipart/form-data",
333
+ UrlEncoded = "application/x-www-form-urlencoded",
334
+ Text = "text/plain"
335
+ }
336
+ export declare class HttpClient<SecurityDataType = unknown> {
337
+ instance: AxiosInstance;
338
+ private securityData;
339
+ private securityWorker?;
340
+ private secure?;
341
+ private format?;
342
+ constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig<SecurityDataType>);
343
+ setSecurityData: (data: SecurityDataType | null) => void;
344
+ protected mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig;
345
+ protected stringifyFormItem(formItem: unknown): string;
346
+ protected createFormData(input: Record<string, unknown>): FormData;
347
+ request: <T = any, _E = any>({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise<axios.AxiosResponse<T, any>>;
348
+ }
349
+ /**
350
+ * @title OidcVpAdapterBackend
351
+ * @version 1.0.0
352
+ * @baseUrl /
353
+ * @contact nucleus <nucleus.team@affinidi.com>
354
+ *
355
+ * Affinidi OIDC VP Adapter Backend
356
+ *
357
+ * An authorization token is necessary to create or obtain a project Access Token and access Admin APIs. Follow these step-by-step [instructions](https://lemmatree.atlassian.net/wiki/spaces/NETCORE/pages/2735317648020/ASA+Developer+Flow#Instructions-on-how-to-create-the-Project.) to set up an authorization token
358
+ */
359
+ export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
360
+ v1: {
361
+ /**
362
+ * @description IDP consent request automated by adapter frontend
363
+ *
364
+ * @tags consent
365
+ * @name ConsentRequest
366
+ * @summary IDP consent request automated by adapter frontend
367
+ * @request GET:/v1/consent/request
368
+ */
369
+ consentRequest: (query?: {
370
+ /** Consent challenge provided by IDP */
371
+ consent_challenge?: string;
372
+ }, params?: RequestParams) => Promise<axios.AxiosResponse<void, any>>;
373
+ /**
374
+ * @description Creates Login Session for IDP Login by using the Login Challenge
375
+ *
376
+ * @tags session
377
+ * @name LoginSessionForIdp
378
+ * @summary Create Login Session for IDP Login
379
+ * @request POST:/v1/login/sessions/for-idp
380
+ */
381
+ loginSessionForIdp: (data: LoginSessionForIDPInput, params?: RequestParams) => Promise<axios.AxiosResponse<LoginSessionDto, any>>;
382
+ /**
383
+ * @description Enable CORS by returning correct headers
384
+ *
385
+ * @tags cors
386
+ * @name CorsLoginSessionForIdp
387
+ * @summary CORS Support
388
+ * @request OPTIONS:/v1/login/sessions/for-idp
389
+ */
390
+ corsLoginSessionForIdp: (params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
391
+ /**
392
+ * @description Accepts and Validates the OIDC VP Response sent by the Wallet
393
+ *
394
+ * @tags session
395
+ * @name LoginSessionAcceptResponse
396
+ * @summary Accept OIDC VP Response for Login Session
397
+ * @request POST:/v1/login/sessions/{sessionId}/accept-response
398
+ */
399
+ loginSessionAcceptResponse: (sessionId: string, data: LoginSessionAcceptResponseInput, params?: RequestParams) => Promise<axios.AxiosResponse<LoginSessionAcceptResponseOutput, any>>;
400
+ /**
401
+ * @description Enable CORS by returning correct headers
402
+ *
403
+ * @tags cors
404
+ * @name CorsLoginSessionAcceptResponse
405
+ * @summary CORS Support
406
+ * @request OPTIONS:/v1/login/sessions/{sessionId}/accept-response
407
+ */
408
+ corsLoginSessionAcceptResponse: (sessionId: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
409
+ /**
410
+ * @description The user declines the request for access to their data
411
+ *
412
+ * @tags session
413
+ * @name LoginSessionRejectResponse
414
+ * @summary Reject Response for Login Session
415
+ * @request POST:/v1/login/sessions/{sessionId}/reject-response
416
+ */
417
+ loginSessionRejectResponse: (sessionId: string, data: LoginSessionRejectResponseInput, params?: RequestParams) => Promise<axios.AxiosResponse<LoginSessionRejectResponseOutput, any>>;
418
+ /**
419
+ * @description Enable CORS by returning correct headers
420
+ *
421
+ * @tags cors
422
+ * @name CorsLoginSessionRejectResponse
423
+ * @summary CORS Support
424
+ * @request OPTIONS:/v1/login/sessions/{sessionId}/reject-response
425
+ */
426
+ corsLoginSessionRejectResponse: (sessionId: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
427
+ /**
428
+ * @description Endpoint to retrieve list of login configurations
429
+ *
430
+ * @tags configuration
431
+ * @name ListLoginConfigurations
432
+ * @summary List login configurations
433
+ * @request GET:/v1/login/configurations
434
+ * @secure
435
+ */
436
+ listLoginConfigurations: (params?: RequestParams) => Promise<axios.AxiosResponse<ListLoginConfigurationOutput, any>>;
437
+ /**
438
+ * @description Create a new login configuration `vpDefinition` and `idTokenMapping` have default settings that provide user email VP presentation definitions. An essential default definition is in place when it comes to the login process for end users using the Chrome extension. This definition requires users to input their email address as OIDCVP compliant, which is then verified by the Affinidi verification service.
439
+ *
440
+ * @tags configuration
441
+ * @name CreateLoginConfigurations
442
+ * @summary Create a new login configuration
443
+ * @request POST:/v1/login/configurations
444
+ * @secure
445
+ */
446
+ createLoginConfigurations: (data: CreateLoginConfigurationInput, params?: RequestParams) => Promise<axios.AxiosResponse<CreateLoginConfigurationOutput, any>>;
447
+ /**
448
+ * @description Get login configuration by ID
449
+ *
450
+ * @tags configuration
451
+ * @name GetLoginConfigurationsById
452
+ * @summary Get login configuration by ID
453
+ * @request GET:/v1/login/configurations/{configurationId}
454
+ * @secure
455
+ */
456
+ getLoginConfigurationsById: (configurationId: string, params?: RequestParams) => Promise<axios.AxiosResponse<LoginConfigurationObject, any>>;
457
+ /**
458
+ * @description Update login configurations by ID
459
+ *
460
+ * @tags configuration
461
+ * @name UpdateLoginConfigurationsById
462
+ * @summary Update login configurations by ID
463
+ * @request PATCH:/v1/login/configurations/{configurationId}
464
+ * @secure
465
+ */
466
+ updateLoginConfigurationsById: (configurationId: string, data: UpdateLoginConfigurationInput, params?: RequestParams) => Promise<axios.AxiosResponse<LoginConfigurationObject, any>>;
467
+ /**
468
+ * @description Delete login configurations by ID
469
+ *
470
+ * @tags configuration
471
+ * @name DeleteLoginConfigurationsById
472
+ * @summary Delete login configurations by ID
473
+ * @request DELETE:/v1/login/configurations/{configurationId}
474
+ * @secure
475
+ */
476
+ deleteLoginConfigurationsById: (configurationId: string, params?: RequestParams) => Promise<axios.AxiosResponse<void, any>>;
477
+ /**
478
+ * @description Get Client Metadata By OAuth 2.0 Client ID
479
+ *
480
+ * @tags configuration
481
+ * @name GetClientMetadataByClientId
482
+ * @summary Get Client Metadata By OAuth 2.0 Client ID
483
+ * @request GET:/v1/login/configurations/metadata/{clientId}
484
+ * @secure
485
+ */
486
+ getClientMetadataByClientId: (clientId: string, params?: RequestParams) => Promise<axios.AxiosResponse<LoginConfigurationClientMetadata, any>>;
487
+ /**
488
+ * No description
489
+ *
490
+ * @tags group
491
+ * @name ListGroups
492
+ * @request GET:/v1/groups
493
+ * @secure
494
+ */
495
+ listGroups: (params?: RequestParams) => Promise<axios.AxiosResponse<GroupsList, any>>;
496
+ /**
497
+ * No description
498
+ *
499
+ * @tags group
500
+ * @name CreateGroup
501
+ * @request POST:/v1/groups
502
+ * @secure
503
+ */
504
+ createGroup: (data: CreateGroupInput, params?: RequestParams) => Promise<axios.AxiosResponse<GroupDto, any>>;
505
+ /**
506
+ * No description
507
+ *
508
+ * @tags group
509
+ * @name GetGroupById
510
+ * @request GET:/v1/groups/{groupName}
511
+ * @secure
512
+ */
513
+ getGroupById: (groupName: string, params?: RequestParams) => Promise<axios.AxiosResponse<GroupDto, any>>;
514
+ /**
515
+ * No description
516
+ *
517
+ * @tags group
518
+ * @name DeleteGroup
519
+ * @request DELETE:/v1/groups/{groupName}
520
+ * @secure
521
+ */
522
+ deleteGroup: (groupName: string, params?: RequestParams) => Promise<axios.AxiosResponse<void, any>>;
523
+ /**
524
+ * No description
525
+ *
526
+ * @tags group
527
+ * @name ListGroupUserMappings
528
+ * @request GET:/v1/groups/{groupName}/users
529
+ * @secure
530
+ */
531
+ listGroupUserMappings: (groupName: string, params?: RequestParams) => Promise<axios.AxiosResponse<GroupUserMappingsList, any>>;
532
+ /**
533
+ * No description
534
+ *
535
+ * @tags group
536
+ * @name AddUserToGroup
537
+ * @request POST:/v1/groups/{groupName}/users
538
+ * @secure
539
+ */
540
+ addUserToGroup: (groupName: string, data: AddUserToGroupInput, params?: RequestParams) => Promise<axios.AxiosResponse<GroupUserMappingDto, any>>;
541
+ /**
542
+ * No description
543
+ *
544
+ * @tags group
545
+ * @name RemoveUserFromGroup
546
+ * @request DELETE:/v1/groups/{groupName}/users/{groupUserMappingId}
547
+ * @secure
548
+ */
549
+ removeUserFromGroup: (groupName: string, groupUserMappingId: string, params?: RequestParams) => Promise<axios.AxiosResponse<void, any>>;
550
+ /**
551
+ * No description
552
+ *
553
+ * @name LoginAdminProxyList
554
+ * @request GET:/v1/login/admin/{proxy+}
555
+ */
556
+ loginAdminProxyList: (proxy: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
557
+ /**
558
+ * No description
559
+ *
560
+ * @name LoginAdminProxyCreate
561
+ * @request POST:/v1/login/admin/{proxy+}
562
+ */
563
+ loginAdminProxyCreate: (proxy: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
564
+ /**
565
+ * No description
566
+ *
567
+ * @name LoginAdminProxyDelete
568
+ * @request DELETE:/v1/login/admin/{proxy+}
569
+ */
570
+ loginAdminProxyDelete: (proxy: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
571
+ /**
572
+ * No description
573
+ *
574
+ * @name LoginAdminProxyUpdate
575
+ * @request PUT:/v1/login/admin/{proxy+}
576
+ */
577
+ loginAdminProxyUpdate: (proxy: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
578
+ /**
579
+ * No description
580
+ *
581
+ * @name LoginAdminProxyPartialUpdate
582
+ * @request PATCH:/v1/login/admin/{proxy+}
583
+ */
584
+ loginAdminProxyPartialUpdate: (proxy: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
585
+ /**
586
+ * No description
587
+ *
588
+ * @tags idp
589
+ * @name LoginProxyList
590
+ * @request GET:/v1/login/{proxy+}
591
+ */
592
+ loginProxyList: (proxy: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
593
+ /**
594
+ * No description
595
+ *
596
+ * @tags idp
597
+ * @name LoginProxyCreate
598
+ * @request POST:/v1/login/{proxy+}
599
+ */
600
+ loginProxyCreate: (proxy: string, params?: RequestParams) => Promise<axios.AxiosResponse<any, any>>;
601
+ };
602
+ }