@volo/abp.ng.identity 7.2.2 → 7.3.0-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 (266) hide show
  1. package/config/components/authority-delegation/authority-delegation.component.d.ts +14 -14
  2. package/config/components/authority-delegation/authority-delegation.module.d.ts +15 -15
  3. package/config/components/authority-delegation/create-user-delegate.component.d.ts +17 -17
  4. package/config/components/authority-delegation/index.d.ts +5 -5
  5. package/config/components/authority-delegation/list-authority-delegation.component.d.ts +28 -28
  6. package/config/components/authority-delegation/my-delegated-users.component.d.ts +24 -24
  7. package/config/components/identity-setting-tabs/identity-external-login-settings.component.d.ts +20 -20
  8. package/config/components/identity-setting-tabs/identity-ldap-settings.component.d.ts +17 -17
  9. package/config/components/identity-setting-tabs/identity-setting.component.d.ts +24 -24
  10. package/config/components/identity-setting-tabs/index.d.ts +3 -3
  11. package/config/components/identity-settings.component.d.ts +12 -12
  12. package/config/components/index.d.ts +4 -4
  13. package/config/components/my-link-users-modal.component.d.ts +39 -39
  14. package/config/enums/index.d.ts +3 -3
  15. package/config/enums/policy-names.d.ts +8 -8
  16. package/config/enums/route-names.d.ts +8 -8
  17. package/config/enums/setting-tab-names.d.ts +3 -3
  18. package/config/handlers/link-login.handler.d.ts +18 -18
  19. package/config/identity-config.module.d.ts +18 -18
  20. package/config/index.d.ts +5 -5
  21. package/config/models/delegate-authority.d.ts +1 -1
  22. package/config/models/identity-settings.d.ts +30 -30
  23. package/config/models/index.d.ts +2 -2
  24. package/config/providers/index.d.ts +2 -2
  25. package/config/providers/route.provider.d.ts +8 -8
  26. package/config/providers/setting-tab.provider.d.ts +8 -8
  27. package/config/public-api.d.ts +7 -7
  28. package/config/services/authority-delegation.service.d.ts +20 -20
  29. package/config/services/identity-config.service.d.ts +13 -13
  30. package/config/services/identity-link-login.service.d.ts +10 -10
  31. package/config/services/index.d.ts +3 -3
  32. package/config/utils/factories.d.ts +3 -3
  33. package/esm2022/config/components/authority-delegation/authority-delegation.component.mjs +33 -0
  34. package/esm2022/config/components/authority-delegation/authority-delegation.module.mjs +55 -0
  35. package/esm2022/config/components/authority-delegation/create-user-delegate.component.mjs +56 -0
  36. package/{esm2020 → esm2022}/config/components/authority-delegation/index.mjs +5 -5
  37. package/esm2022/config/components/authority-delegation/list-authority-delegation.component.mjs +79 -0
  38. package/esm2022/config/components/authority-delegation/my-delegated-users.component.mjs +63 -0
  39. package/esm2022/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +61 -0
  40. package/esm2022/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +40 -0
  41. package/esm2022/config/components/identity-setting-tabs/identity-setting.component.mjs +97 -0
  42. package/{esm2020 → esm2022}/config/components/identity-setting-tabs/index.mjs +3 -3
  43. package/esm2022/config/components/identity-settings.component.mjs +29 -0
  44. package/{esm2020 → esm2022}/config/components/index.mjs +4 -4
  45. package/esm2022/config/components/my-link-users-modal.component.mjs +138 -0
  46. package/{esm2020 → esm2022}/config/enums/index.mjs +3 -3
  47. package/{esm2020 → esm2022}/config/enums/policy-names.mjs +1 -1
  48. package/{esm2020 → esm2022}/config/enums/route-names.mjs +1 -1
  49. package/{esm2020 → esm2022}/config/enums/setting-tab-names.mjs +1 -1
  50. package/esm2022/config/handlers/link-login.handler.mjs +71 -0
  51. package/esm2022/config/identity-config.module.mjs +80 -0
  52. package/{esm2020 → esm2022}/config/models/delegate-authority.mjs +1 -1
  53. package/{esm2020 → esm2022}/config/models/identity-settings.mjs +1 -1
  54. package/{esm2020 → esm2022}/config/models/index.mjs +1 -1
  55. package/{esm2020 → esm2022}/config/providers/index.mjs +2 -2
  56. package/{esm2020 → esm2022}/config/providers/route.provider.mjs +55 -55
  57. package/{esm2020 → esm2022}/config/providers/setting-tab.provider.mjs +23 -23
  58. package/{esm2020 → esm2022}/config/public-api.mjs +7 -7
  59. package/esm2022/config/services/authority-delegation.service.mjs +62 -0
  60. package/esm2022/config/services/identity-config.service.mjs +33 -0
  61. package/esm2022/config/services/identity-link-login.service.mjs +30 -0
  62. package/{esm2020 → esm2022}/config/services/index.mjs +3 -3
  63. package/{esm2020 → esm2022}/config/utils/factories.mjs +25 -25
  64. package/{esm2020 → esm2022}/config/volo-abp.ng.identity-config.mjs +4 -4
  65. package/esm2022/lib/components/claim-modal/claim-modal.component.mjs +138 -0
  66. package/esm2022/lib/components/claims/claims.component.mjs +115 -0
  67. package/esm2022/lib/components/external-login/external-login.component.mjs +86 -0
  68. package/esm2022/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +33 -0
  69. package/{esm2020 → esm2022}/lib/components/index.mjs +14 -14
  70. package/esm2022/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +78 -0
  71. package/esm2022/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +118 -0
  72. package/esm2022/lib/components/organization-units/organization-members/organization-members.component.mjs +56 -0
  73. package/esm2022/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +86 -0
  74. package/esm2022/lib/components/organization-units/organization-roles/organization-roles.component.mjs +51 -0
  75. package/esm2022/lib/components/organization-units/organization-units.component.mjs +158 -0
  76. package/esm2022/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +18 -0
  77. package/esm2022/lib/components/roles/roles.component.mjs +126 -0
  78. package/esm2022/lib/components/security-logs/security-logs.component.mjs +57 -0
  79. package/esm2022/lib/components/users/users.component.mjs +274 -0
  80. package/{esm2020 → esm2022}/lib/defaults/claims/default-claims-entity-actions.mjs +21 -21
  81. package/{esm2020 → esm2022}/lib/defaults/claims/default-claims-entity-props.mjs +48 -48
  82. package/{esm2020 → esm2022}/lib/defaults/claims/default-claims-form-props.mjs +51 -51
  83. package/{esm2020 → esm2022}/lib/defaults/claims/default-claims-toolbar-actions.mjs +13 -13
  84. package/{esm2020 → esm2022}/lib/defaults/claims/index.mjs +4 -4
  85. package/{esm2020 → esm2022}/lib/defaults/index.mjs +5 -5
  86. package/{esm2020 → esm2022}/lib/defaults/organization-unit/default-organization-members-entity-actions.mjs +13 -13
  87. package/{esm2020 → esm2022}/lib/defaults/organization-unit/default-organization-members-entity-props.mjs +22 -22
  88. package/{esm2020 → esm2022}/lib/defaults/organization-unit/default-organization-roles-entity-actions.mjs +13 -13
  89. package/{esm2020 → esm2022}/lib/defaults/organization-unit/default-organization-roles-entity-props.mjs +9 -9
  90. package/{esm2020 → esm2022}/lib/defaults/organization-unit/default-organization-units-form-props.mjs +12 -12
  91. package/{esm2020 → esm2022}/lib/defaults/organization-unit/default-organization-units-toolbar-actions.mjs +2 -2
  92. package/{esm2020 → esm2022}/lib/defaults/organization-unit/index.mjs +6 -6
  93. package/{esm2020 → esm2022}/lib/defaults/roles/default-roles-entity-actions.mjs +47 -47
  94. package/{esm2020 → esm2022}/lib/defaults/roles/default-roles-entity-props.mjs +23 -23
  95. package/{esm2020 → esm2022}/lib/defaults/roles/default-roles-form-props.mjs +27 -27
  96. package/{esm2020 → esm2022}/lib/defaults/roles/default-roles-toolbar-actions.mjs +13 -13
  97. package/{esm2020 → esm2022}/lib/defaults/roles/index.mjs +4 -4
  98. package/{esm2020 → esm2022}/lib/defaults/security-logs/default-security-logs-entity-actions.mjs +2 -2
  99. package/{esm2020 → esm2022}/lib/defaults/security-logs/default-security-logs-entity-props.mjs +130 -130
  100. package/{esm2020 → esm2022}/lib/defaults/security-logs/default-security-logs-toolbar-actions.mjs +2 -2
  101. package/{esm2020 → esm2022}/lib/defaults/security-logs/index.mjs +3 -3
  102. package/{esm2020 → esm2022}/lib/defaults/users/default-users-entity-actions.mjs +103 -103
  103. package/{esm2020 → esm2022}/lib/defaults/users/default-users-entity-props.mjs +112 -112
  104. package/{esm2020 → esm2022}/lib/defaults/users/default-users-form-props.mjs +70 -70
  105. package/{esm2020 → esm2022}/lib/defaults/users/default-users-toolbar-actions.mjs +24 -24
  106. package/{esm2020 → esm2022}/lib/defaults/users/index.mjs +4 -4
  107. package/{esm2020 → esm2022}/lib/enums/components.mjs +1 -1
  108. package/{esm2020 → esm2022}/lib/enums/index.mjs +2 -2
  109. package/{esm2020 → esm2022}/lib/enums/two-factor-behaviour.mjs +8 -8
  110. package/esm2022/lib/guards/extensions.guard.mjs +39 -0
  111. package/{esm2020 → esm2022}/lib/guards/index.mjs +1 -1
  112. package/{esm2020 → esm2022}/lib/identity-routing.module.mjs +90 -89
  113. package/esm2022/lib/identity.module.mjs +173 -0
  114. package/{esm2020 → esm2022}/lib/models/config-options.mjs +1 -1
  115. package/{esm2020 → esm2022}/lib/models/identity.mjs +1 -1
  116. package/{esm2020 → esm2022}/lib/models/index.mjs +2 -2
  117. package/{esm2020 → esm2022}/lib/services/index.mjs +1 -1
  118. package/esm2022/lib/services/organization-units-state.service.mjs +28 -0
  119. package/{esm2020 → esm2022}/lib/tokens/extensions.token.mjs +62 -62
  120. package/{esm2020 → esm2022}/lib/tokens/index.mjs +1 -1
  121. package/{esm2020 → esm2022}/proxy/lib/index.mjs +2 -2
  122. package/esm2022/proxy/lib/proxy/identity/identity-claim-type.service.mjs +43 -0
  123. package/{esm2020 → esm2022}/proxy/lib/proxy/identity/identity-claim-value-type.enum.mjs +9 -9
  124. package/esm2022/proxy/lib/proxy/identity/identity-external-login.service.mjs +24 -0
  125. package/esm2022/proxy/lib/proxy/identity/identity-role.service.mjs +60 -0
  126. package/esm2022/proxy/lib/proxy/identity/identity-security-log.service.mjs +38 -0
  127. package/esm2022/proxy/lib/proxy/identity/identity-settings.service.mjs +47 -0
  128. package/esm2022/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +38 -0
  129. package/esm2022/proxy/lib/proxy/identity/identity-user.service.mjs +123 -0
  130. package/{esm2020 → esm2022}/proxy/lib/proxy/identity/index.mjs +10 -10
  131. package/{esm2020 → esm2022}/proxy/lib/proxy/identity/models.mjs +1 -1
  132. package/esm2022/proxy/lib/proxy/identity/organization-unit.service.mjs +91 -0
  133. package/{esm2020 → esm2022}/proxy/lib/proxy/users/index.mjs +1 -1
  134. package/{esm2020 → esm2022}/proxy/lib/proxy/users/models.mjs +1 -1
  135. package/{esm2020 → esm2022}/proxy/public-api.mjs +1 -1
  136. package/{esm2020 → esm2022}/proxy/volo-abp.ng.identity-proxy.mjs +4 -4
  137. package/{esm2020 → esm2022}/public-api.mjs +8 -8
  138. package/{esm2020 → esm2022}/volo-abp.ng.identity.mjs +4 -4
  139. package/{fesm2020 → fesm2022}/volo-abp.ng.identity-config.mjs +822 -822
  140. package/{fesm2020 → fesm2022}/volo-abp.ng.identity-config.mjs.map +1 -1
  141. package/{fesm2015 → fesm2022}/volo-abp.ng.identity-proxy.mjs +419 -419
  142. package/{fesm2015 → fesm2022}/volo-abp.ng.identity-proxy.mjs.map +1 -1
  143. package/{fesm2020 → fesm2022}/volo-abp.ng.identity.mjs +2074 -2076
  144. package/{fesm2020 → fesm2022}/volo-abp.ng.identity.mjs.map +1 -1
  145. package/index.d.ts +5 -5
  146. package/lib/components/claim-modal/claim-modal.component.d.ts +42 -42
  147. package/lib/components/claims/claims.component.d.ts +31 -31
  148. package/lib/components/external-login/external-login.component.d.ts +32 -32
  149. package/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.d.ts +14 -14
  150. package/lib/components/index.d.ts +14 -14
  151. package/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.d.ts +34 -34
  152. package/lib/components/organization-units/organization-members/organization-members-modal-body.component.d.ts +17 -17
  153. package/lib/components/organization-units/organization-members/organization-members.component.d.ts +9 -9
  154. package/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.d.ts +17 -17
  155. package/lib/components/organization-units/organization-roles/organization-roles.component.d.ts +7 -7
  156. package/lib/components/organization-units/organization-units.component.d.ts +43 -43
  157. package/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.d.ts +8 -8
  158. package/lib/components/roles/roles.component.d.ts +39 -39
  159. package/lib/components/security-logs/security-logs.component.d.ts +19 -19
  160. package/lib/components/users/users.component.d.ts +83 -83
  161. package/lib/defaults/claims/default-claims-entity-actions.d.ts +3 -3
  162. package/lib/defaults/claims/default-claims-entity-props.d.ts +3 -3
  163. package/lib/defaults/claims/default-claims-form-props.d.ts +4 -4
  164. package/lib/defaults/claims/default-claims-toolbar-actions.d.ts +3 -3
  165. package/lib/defaults/claims/index.d.ts +4 -4
  166. package/lib/defaults/index.d.ts +5 -5
  167. package/lib/defaults/organization-unit/default-organization-members-entity-actions.d.ts +3 -3
  168. package/lib/defaults/organization-unit/default-organization-members-entity-props.d.ts +3 -3
  169. package/lib/defaults/organization-unit/default-organization-roles-entity-actions.d.ts +3 -3
  170. package/lib/defaults/organization-unit/default-organization-roles-entity-props.d.ts +3 -3
  171. package/lib/defaults/organization-unit/default-organization-units-form-props.d.ts +4 -4
  172. package/lib/defaults/organization-unit/default-organization-units-toolbar-actions.d.ts +3 -3
  173. package/lib/defaults/organization-unit/index.d.ts +6 -6
  174. package/lib/defaults/roles/default-roles-entity-actions.d.ts +3 -3
  175. package/lib/defaults/roles/default-roles-entity-props.d.ts +3 -3
  176. package/lib/defaults/roles/default-roles-form-props.d.ts +4 -4
  177. package/lib/defaults/roles/default-roles-toolbar-actions.d.ts +3 -3
  178. package/lib/defaults/roles/index.d.ts +4 -4
  179. package/lib/defaults/security-logs/default-security-logs-entity-actions.d.ts +3 -3
  180. package/lib/defaults/security-logs/default-security-logs-entity-props.d.ts +3 -3
  181. package/lib/defaults/security-logs/default-security-logs-toolbar-actions.d.ts +3 -3
  182. package/lib/defaults/security-logs/index.d.ts +3 -3
  183. package/lib/defaults/users/default-users-entity-actions.d.ts +3 -3
  184. package/lib/defaults/users/default-users-entity-props.d.ts +3 -3
  185. package/lib/defaults/users/default-users-form-props.d.ts +4 -4
  186. package/lib/defaults/users/default-users-toolbar-actions.d.ts +5 -5
  187. package/lib/defaults/users/index.d.ts +4 -4
  188. package/lib/enums/components.d.ts +9 -9
  189. package/lib/enums/index.d.ts +2 -2
  190. package/lib/enums/two-factor-behaviour.d.ts +6 -6
  191. package/lib/guards/extensions.guard.d.ts +10 -11
  192. package/lib/guards/index.d.ts +1 -1
  193. package/lib/identity-routing.module.d.ts +7 -7
  194. package/lib/identity.module.d.ts +34 -34
  195. package/lib/models/config-options.d.ts +35 -35
  196. package/lib/models/identity.d.ts +13 -13
  197. package/lib/models/index.d.ts +2 -2
  198. package/lib/services/index.d.ts +1 -1
  199. package/lib/services/organization-units-state.service.d.ts +15 -15
  200. package/lib/tokens/extensions.token.d.ts +74 -74
  201. package/lib/tokens/index.d.ts +1 -1
  202. package/package.json +17 -27
  203. package/proxy/index.d.ts +5 -5
  204. package/proxy/lib/index.d.ts +2 -2
  205. package/proxy/lib/proxy/identity/identity-claim-type.service.d.ts +16 -16
  206. package/proxy/lib/proxy/identity/identity-claim-value-type.enum.d.ts +7 -7
  207. package/proxy/lib/proxy/identity/identity-external-login.service.d.ts +10 -10
  208. package/proxy/lib/proxy/identity/identity-role.service.d.ts +20 -20
  209. package/proxy/lib/proxy/identity/identity-security-log.service.d.ts +15 -15
  210. package/proxy/lib/proxy/identity/identity-settings.service.d.ts +16 -16
  211. package/proxy/lib/proxy/identity/identity-user-lookup.service.d.ts +16 -16
  212. package/proxy/lib/proxy/identity/identity-user.service.d.ts +35 -35
  213. package/proxy/lib/proxy/identity/index.d.ts +10 -10
  214. package/proxy/lib/proxy/identity/models.d.ts +269 -269
  215. package/proxy/lib/proxy/identity/organization-unit.service.d.ts +26 -26
  216. package/proxy/lib/proxy/users/index.d.ts +1 -1
  217. package/proxy/lib/proxy/users/models.d.ts +12 -12
  218. package/proxy/public-api.d.ts +1 -1
  219. package/public-api.d.ts +8 -8
  220. package/esm2020/config/components/authority-delegation/authority-delegation.component.mjs +0 -32
  221. package/esm2020/config/components/authority-delegation/authority-delegation.module.mjs +0 -54
  222. package/esm2020/config/components/authority-delegation/create-user-delegate.component.mjs +0 -55
  223. package/esm2020/config/components/authority-delegation/list-authority-delegation.component.mjs +0 -78
  224. package/esm2020/config/components/authority-delegation/my-delegated-users.component.mjs +0 -62
  225. package/esm2020/config/components/identity-setting-tabs/identity-external-login-settings.component.mjs +0 -60
  226. package/esm2020/config/components/identity-setting-tabs/identity-ldap-settings.component.mjs +0 -39
  227. package/esm2020/config/components/identity-setting-tabs/identity-setting.component.mjs +0 -96
  228. package/esm2020/config/components/identity-settings.component.mjs +0 -28
  229. package/esm2020/config/components/my-link-users-modal.component.mjs +0 -137
  230. package/esm2020/config/handlers/link-login.handler.mjs +0 -70
  231. package/esm2020/config/identity-config.module.mjs +0 -79
  232. package/esm2020/config/services/authority-delegation.service.mjs +0 -61
  233. package/esm2020/config/services/identity-config.service.mjs +0 -32
  234. package/esm2020/config/services/identity-link-login.service.mjs +0 -29
  235. package/esm2020/lib/components/claim-modal/claim-modal.component.mjs +0 -137
  236. package/esm2020/lib/components/claims/claims.component.mjs +0 -114
  237. package/esm2020/lib/components/external-login/external-login.component.mjs +0 -85
  238. package/esm2020/lib/components/external-login/user-dropdown-menu/user-dropdown-menu.component.mjs +0 -32
  239. package/esm2020/lib/components/organization-units/abstract-organization-unit/abstract-organization-unit.component.mjs +0 -77
  240. package/esm2020/lib/components/organization-units/organization-members/organization-members-modal-body.component.mjs +0 -117
  241. package/esm2020/lib/components/organization-units/organization-members/organization-members.component.mjs +0 -55
  242. package/esm2020/lib/components/organization-units/organization-roles/organization-roles-modal-body.component.mjs +0 -85
  243. package/esm2020/lib/components/organization-units/organization-roles/organization-roles.component.mjs +0 -50
  244. package/esm2020/lib/components/organization-units/organization-units.component.mjs +0 -157
  245. package/esm2020/lib/components/organization-units/selected-organization-unit/selected-organization-unit.component.mjs +0 -17
  246. package/esm2020/lib/components/roles/roles.component.mjs +0 -125
  247. package/esm2020/lib/components/security-logs/security-logs.component.mjs +0 -56
  248. package/esm2020/lib/components/users/users.component.mjs +0 -275
  249. package/esm2020/lib/guards/extensions.guard.mjs +0 -38
  250. package/esm2020/lib/identity.module.mjs +0 -172
  251. package/esm2020/lib/services/organization-units-state.service.mjs +0 -27
  252. package/esm2020/proxy/lib/proxy/identity/identity-claim-type.service.mjs +0 -42
  253. package/esm2020/proxy/lib/proxy/identity/identity-external-login.service.mjs +0 -23
  254. package/esm2020/proxy/lib/proxy/identity/identity-role.service.mjs +0 -59
  255. package/esm2020/proxy/lib/proxy/identity/identity-security-log.service.mjs +0 -37
  256. package/esm2020/proxy/lib/proxy/identity/identity-settings.service.mjs +0 -46
  257. package/esm2020/proxy/lib/proxy/identity/identity-user-lookup.service.mjs +0 -37
  258. package/esm2020/proxy/lib/proxy/identity/identity-user.service.mjs +0 -122
  259. package/esm2020/proxy/lib/proxy/identity/organization-unit.service.mjs +0 -90
  260. package/fesm2015/volo-abp.ng.identity-config.mjs +0 -886
  261. package/fesm2015/volo-abp.ng.identity-config.mjs.map +0 -1
  262. package/fesm2015/volo-abp.ng.identity.mjs +0 -2285
  263. package/fesm2015/volo-abp.ng.identity.mjs.map +0 -1
  264. package/fesm2020/volo-abp.ng.identity-proxy.mjs +0 -444
  265. package/fesm2020/volo-abp.ng.identity-proxy.mjs.map +0 -1
  266. package/proxy/src/lib/proxy/README.md +0 -17
@@ -1,443 +1,443 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable } from '@angular/core';
3
1
  import * as i1 from '@abp/ng.core';
4
2
  import { mapEnumToOptions } from '@abp/ng.core';
3
+ import * as i0 from '@angular/core';
4
+ import { Injectable } from '@angular/core';
5
5
 
6
- class IdentityClaimTypeService {
7
- constructor(restService) {
8
- this.restService = restService;
9
- this.apiName = 'AbpIdentity';
10
- this.create = (input) => this.restService.request({
11
- method: 'POST',
12
- url: '/api/identity/claim-types',
13
- body: input,
14
- }, { apiName: this.apiName });
15
- this.delete = (id) => this.restService.request({
16
- method: 'DELETE',
17
- url: `/api/identity/claim-types/${id}`,
18
- }, { apiName: this.apiName });
19
- this.get = (id) => this.restService.request({
20
- method: 'GET',
21
- url: `/api/identity/claim-types/${id}`,
22
- }, { apiName: this.apiName });
23
- this.getList = (input) => this.restService.request({
24
- method: 'GET',
25
- url: '/api/identity/claim-types',
26
- params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
27
- }, { apiName: this.apiName });
28
- this.update = (id, input) => this.restService.request({
29
- method: 'PUT',
30
- url: `/api/identity/claim-types/${id}`,
31
- body: input,
32
- }, { apiName: this.apiName });
33
- }
34
- }
35
- IdentityClaimTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityClaimTypeService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
36
- IdentityClaimTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityClaimTypeService, providedIn: 'root' });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityClaimTypeService, decorators: [{
38
- type: Injectable,
39
- args: [{
40
- providedIn: 'root',
41
- }]
6
+ class IdentityClaimTypeService {
7
+ constructor(restService) {
8
+ this.restService = restService;
9
+ this.apiName = 'AbpIdentity';
10
+ this.create = (input) => this.restService.request({
11
+ method: 'POST',
12
+ url: '/api/identity/claim-types',
13
+ body: input,
14
+ }, { apiName: this.apiName });
15
+ this.delete = (id) => this.restService.request({
16
+ method: 'DELETE',
17
+ url: `/api/identity/claim-types/${id}`,
18
+ }, { apiName: this.apiName });
19
+ this.get = (id) => this.restService.request({
20
+ method: 'GET',
21
+ url: `/api/identity/claim-types/${id}`,
22
+ }, { apiName: this.apiName });
23
+ this.getList = (input) => this.restService.request({
24
+ method: 'GET',
25
+ url: '/api/identity/claim-types',
26
+ params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
27
+ }, { apiName: this.apiName });
28
+ this.update = (id, input) => this.restService.request({
29
+ method: 'PUT',
30
+ url: `/api/identity/claim-types/${id}`,
31
+ body: input,
32
+ }, { apiName: this.apiName });
33
+ }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityClaimTypeService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
35
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityClaimTypeService, providedIn: 'root' }); }
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityClaimTypeService, decorators: [{
38
+ type: Injectable,
39
+ args: [{
40
+ providedIn: 'root',
41
+ }]
42
42
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
43
43
 
44
- var IdentityClaimValueType;
45
- (function (IdentityClaimValueType) {
46
- IdentityClaimValueType[IdentityClaimValueType["String"] = 0] = "String";
47
- IdentityClaimValueType[IdentityClaimValueType["Int"] = 1] = "Int";
48
- IdentityClaimValueType[IdentityClaimValueType["Boolean"] = 2] = "Boolean";
49
- IdentityClaimValueType[IdentityClaimValueType["DateTime"] = 3] = "DateTime";
50
- })(IdentityClaimValueType || (IdentityClaimValueType = {}));
44
+ var IdentityClaimValueType;
45
+ (function (IdentityClaimValueType) {
46
+ IdentityClaimValueType[IdentityClaimValueType["String"] = 0] = "String";
47
+ IdentityClaimValueType[IdentityClaimValueType["Int"] = 1] = "Int";
48
+ IdentityClaimValueType[IdentityClaimValueType["Boolean"] = 2] = "Boolean";
49
+ IdentityClaimValueType[IdentityClaimValueType["DateTime"] = 3] = "DateTime";
50
+ })(IdentityClaimValueType || (IdentityClaimValueType = {}));
51
51
  const identityClaimValueTypeOptions = mapEnumToOptions(IdentityClaimValueType);
52
52
 
53
- class IdentityExternalLoginService {
54
- constructor(restService) {
55
- this.restService = restService;
56
- this.apiName = 'AbpIdentity';
57
- this.createOrUpdate = () => this.restService.request({
58
- method: 'POST',
59
- url: '/api/identity/external-login',
60
- }, { apiName: this.apiName });
61
- }
62
- }
63
- IdentityExternalLoginService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityExternalLoginService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
64
- IdentityExternalLoginService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityExternalLoginService, providedIn: 'root' });
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityExternalLoginService, decorators: [{
66
- type: Injectable,
67
- args: [{
68
- providedIn: 'root',
69
- }]
53
+ class IdentityExternalLoginService {
54
+ constructor(restService) {
55
+ this.restService = restService;
56
+ this.apiName = 'AbpIdentity';
57
+ this.createOrUpdate = () => this.restService.request({
58
+ method: 'POST',
59
+ url: '/api/identity/external-login',
60
+ }, { apiName: this.apiName });
61
+ }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityExternalLoginService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
63
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityExternalLoginService, providedIn: 'root' }); }
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityExternalLoginService, decorators: [{
66
+ type: Injectable,
67
+ args: [{
68
+ providedIn: 'root',
69
+ }]
70
70
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
71
71
 
72
- class IdentityRoleService {
73
- constructor(restService) {
74
- this.restService = restService;
75
- this.apiName = 'AbpIdentity';
76
- this.create = (input) => this.restService.request({
77
- method: 'POST',
78
- url: '/api/identity/roles',
79
- body: input,
80
- }, { apiName: this.apiName });
81
- this.delete = (id) => this.restService.request({
82
- method: 'DELETE',
83
- url: `/api/identity/roles/${id}`,
84
- }, { apiName: this.apiName });
85
- this.get = (id) => this.restService.request({
86
- method: 'GET',
87
- url: `/api/identity/roles/${id}`,
88
- }, { apiName: this.apiName });
89
- this.getAllClaimTypes = () => this.restService.request({
90
- method: 'GET',
91
- url: '/api/identity/roles/all-claim-types',
92
- }, { apiName: this.apiName });
93
- this.getAllList = () => this.restService.request({
94
- method: 'GET',
95
- url: '/api/identity/roles/all',
96
- }, { apiName: this.apiName });
97
- this.getClaims = (id) => this.restService.request({
98
- method: 'GET',
99
- url: `/api/identity/roles/${id}/claims`,
100
- }, { apiName: this.apiName });
101
- this.getList = (input) => this.restService.request({
102
- method: 'GET',
103
- url: '/api/identity/roles',
104
- params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
105
- }, { apiName: this.apiName });
106
- this.update = (id, input) => this.restService.request({
107
- method: 'PUT',
108
- url: `/api/identity/roles/${id}`,
109
- body: input,
110
- }, { apiName: this.apiName });
111
- this.updateClaims = (id, input) => this.restService.request({
112
- method: 'PUT',
113
- url: `/api/identity/roles/${id}/claims`,
114
- body: input,
115
- }, { apiName: this.apiName });
116
- }
117
- }
118
- IdentityRoleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityRoleService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
119
- IdentityRoleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityRoleService, providedIn: 'root' });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityRoleService, decorators: [{
121
- type: Injectable,
122
- args: [{
123
- providedIn: 'root',
124
- }]
72
+ class IdentityRoleService {
73
+ constructor(restService) {
74
+ this.restService = restService;
75
+ this.apiName = 'AbpIdentity';
76
+ this.create = (input) => this.restService.request({
77
+ method: 'POST',
78
+ url: '/api/identity/roles',
79
+ body: input,
80
+ }, { apiName: this.apiName });
81
+ this.delete = (id) => this.restService.request({
82
+ method: 'DELETE',
83
+ url: `/api/identity/roles/${id}`,
84
+ }, { apiName: this.apiName });
85
+ this.get = (id) => this.restService.request({
86
+ method: 'GET',
87
+ url: `/api/identity/roles/${id}`,
88
+ }, { apiName: this.apiName });
89
+ this.getAllClaimTypes = () => this.restService.request({
90
+ method: 'GET',
91
+ url: '/api/identity/roles/all-claim-types',
92
+ }, { apiName: this.apiName });
93
+ this.getAllList = () => this.restService.request({
94
+ method: 'GET',
95
+ url: '/api/identity/roles/all',
96
+ }, { apiName: this.apiName });
97
+ this.getClaims = (id) => this.restService.request({
98
+ method: 'GET',
99
+ url: `/api/identity/roles/${id}/claims`,
100
+ }, { apiName: this.apiName });
101
+ this.getList = (input) => this.restService.request({
102
+ method: 'GET',
103
+ url: '/api/identity/roles',
104
+ params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
105
+ }, { apiName: this.apiName });
106
+ this.update = (id, input) => this.restService.request({
107
+ method: 'PUT',
108
+ url: `/api/identity/roles/${id}`,
109
+ body: input,
110
+ }, { apiName: this.apiName });
111
+ this.updateClaims = (id, input) => this.restService.request({
112
+ method: 'PUT',
113
+ url: `/api/identity/roles/${id}/claims`,
114
+ body: input,
115
+ }, { apiName: this.apiName });
116
+ }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityRoleService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
118
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityRoleService, providedIn: 'root' }); }
119
+ }
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityRoleService, decorators: [{
121
+ type: Injectable,
122
+ args: [{
123
+ providedIn: 'root',
124
+ }]
125
125
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
126
126
 
127
- class IdentitySecurityLogService {
128
- constructor(restService) {
129
- this.restService = restService;
130
- this.apiName = 'AbpIdentity';
131
- this.get = (id) => this.restService.request({
132
- method: 'GET',
133
- url: `/api/identity/security-logs/${id}`,
134
- }, { apiName: this.apiName });
135
- this.getList = (input) => this.restService.request({
136
- method: 'GET',
137
- url: '/api/identity/security-logs',
138
- params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
139
- }, { apiName: this.apiName });
140
- this.getMy = (id) => this.restService.request({
141
- method: 'GET',
142
- url: `/api/identity/security-logs/my/${id}`,
143
- }, { apiName: this.apiName });
144
- this.getMyList = (input) => this.restService.request({
145
- method: 'GET',
146
- url: '/api/identity/security-logs/my',
147
- params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
148
- }, { apiName: this.apiName });
149
- }
150
- }
151
- IdentitySecurityLogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentitySecurityLogService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
152
- IdentitySecurityLogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentitySecurityLogService, providedIn: 'root' });
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentitySecurityLogService, decorators: [{
154
- type: Injectable,
155
- args: [{
156
- providedIn: 'root',
157
- }]
127
+ class IdentitySecurityLogService {
128
+ constructor(restService) {
129
+ this.restService = restService;
130
+ this.apiName = 'AbpIdentity';
131
+ this.get = (id) => this.restService.request({
132
+ method: 'GET',
133
+ url: `/api/identity/security-logs/${id}`,
134
+ }, { apiName: this.apiName });
135
+ this.getList = (input) => this.restService.request({
136
+ method: 'GET',
137
+ url: '/api/identity/security-logs',
138
+ params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
139
+ }, { apiName: this.apiName });
140
+ this.getMy = (id) => this.restService.request({
141
+ method: 'GET',
142
+ url: `/api/identity/security-logs/my/${id}`,
143
+ }, { apiName: this.apiName });
144
+ this.getMyList = (input) => this.restService.request({
145
+ method: 'GET',
146
+ url: '/api/identity/security-logs/my',
147
+ params: { startTime: input.startTime, endTime: input.endTime, applicationName: input.applicationName, identity: input.identity, action: input.action, userName: input.userName, clientId: input.clientId, correlationId: input.correlationId, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
148
+ }, { apiName: this.apiName });
149
+ }
150
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentitySecurityLogService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
151
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentitySecurityLogService, providedIn: 'root' }); }
152
+ }
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentitySecurityLogService, decorators: [{
154
+ type: Injectable,
155
+ args: [{
156
+ providedIn: 'root',
157
+ }]
158
158
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
159
159
 
160
- class IdentitySettingsService {
161
- constructor(restService) {
162
- this.restService = restService;
163
- this.apiName = 'AbpIdentity';
164
- this.get = () => this.restService.request({
165
- method: 'GET',
166
- url: '/api/identity/settings',
167
- }, { apiName: this.apiName });
168
- this.getLdap = () => this.restService.request({
169
- method: 'GET',
170
- url: '/api/identity/settings/ldap',
171
- }, { apiName: this.apiName });
172
- this.getOAuth = () => this.restService.request({
173
- method: 'GET',
174
- url: '/api/identity/settings/oauth',
175
- }, { apiName: this.apiName });
176
- this.update = (input) => this.restService.request({
177
- method: 'PUT',
178
- url: '/api/identity/settings',
179
- body: input,
180
- }, { apiName: this.apiName });
181
- this.updateLdap = (input) => this.restService.request({
182
- method: 'PUT',
183
- url: '/api/identity/settings/ldap',
184
- body: input,
185
- }, { apiName: this.apiName });
186
- this.updateOAuth = (input) => this.restService.request({
187
- method: 'PUT',
188
- url: '/api/identity/settings/oauth',
189
- body: input,
190
- }, { apiName: this.apiName });
191
- }
192
- }
193
- IdentitySettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentitySettingsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
194
- IdentitySettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentitySettingsService, providedIn: 'root' });
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentitySettingsService, decorators: [{
196
- type: Injectable,
197
- args: [{
198
- providedIn: 'root',
199
- }]
160
+ class IdentitySettingsService {
161
+ constructor(restService) {
162
+ this.restService = restService;
163
+ this.apiName = 'AbpIdentity';
164
+ this.get = () => this.restService.request({
165
+ method: 'GET',
166
+ url: '/api/identity/settings',
167
+ }, { apiName: this.apiName });
168
+ this.getLdap = () => this.restService.request({
169
+ method: 'GET',
170
+ url: '/api/identity/settings/ldap',
171
+ }, { apiName: this.apiName });
172
+ this.getOAuth = () => this.restService.request({
173
+ method: 'GET',
174
+ url: '/api/identity/settings/oauth',
175
+ }, { apiName: this.apiName });
176
+ this.update = (input) => this.restService.request({
177
+ method: 'PUT',
178
+ url: '/api/identity/settings',
179
+ body: input,
180
+ }, { apiName: this.apiName });
181
+ this.updateLdap = (input) => this.restService.request({
182
+ method: 'PUT',
183
+ url: '/api/identity/settings/ldap',
184
+ body: input,
185
+ }, { apiName: this.apiName });
186
+ this.updateOAuth = (input) => this.restService.request({
187
+ method: 'PUT',
188
+ url: '/api/identity/settings/oauth',
189
+ body: input,
190
+ }, { apiName: this.apiName });
191
+ }
192
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentitySettingsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
193
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentitySettingsService, providedIn: 'root' }); }
194
+ }
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentitySettingsService, decorators: [{
196
+ type: Injectable,
197
+ args: [{
198
+ providedIn: 'root',
199
+ }]
200
200
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
201
201
 
202
- class IdentityUserLookupService {
203
- constructor(restService) {
204
- this.restService = restService;
205
- this.apiName = 'AbpIdentity';
206
- this.findById = (id) => this.restService.request({
207
- method: 'GET',
208
- url: `/api/identity/users/lookup/${id}`,
209
- }, { apiName: this.apiName });
210
- this.findByUserName = (userName) => this.restService.request({
211
- method: 'GET',
212
- url: `/api/identity/users/lookup/by-username/${userName}`,
213
- }, { apiName: this.apiName });
214
- this.getCount = (input) => this.restService.request({
215
- method: 'GET',
216
- url: '/api/identity/users/lookup/count',
217
- params: { filter: input.filter },
218
- }, { apiName: this.apiName });
219
- this.search = (input) => this.restService.request({
220
- method: 'GET',
221
- url: '/api/identity/users/lookup/search',
222
- params: { sorting: input.sorting, filter: input.filter, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
223
- }, { apiName: this.apiName });
224
- }
225
- }
226
- IdentityUserLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityUserLookupService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
227
- IdentityUserLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityUserLookupService, providedIn: 'root' });
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityUserLookupService, decorators: [{
229
- type: Injectable,
230
- args: [{
231
- providedIn: 'root',
232
- }]
202
+ class IdentityUserLookupService {
203
+ constructor(restService) {
204
+ this.restService = restService;
205
+ this.apiName = 'AbpIdentity';
206
+ this.findById = (id) => this.restService.request({
207
+ method: 'GET',
208
+ url: `/api/identity/users/lookup/${id}`,
209
+ }, { apiName: this.apiName });
210
+ this.findByUserName = (userName) => this.restService.request({
211
+ method: 'GET',
212
+ url: `/api/identity/users/lookup/by-username/${userName}`,
213
+ }, { apiName: this.apiName });
214
+ this.getCount = (input) => this.restService.request({
215
+ method: 'GET',
216
+ url: '/api/identity/users/lookup/count',
217
+ params: { filter: input.filter },
218
+ }, { apiName: this.apiName });
219
+ this.search = (input) => this.restService.request({
220
+ method: 'GET',
221
+ url: '/api/identity/users/lookup/search',
222
+ params: { sorting: input.sorting, filter: input.filter, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
223
+ }, { apiName: this.apiName });
224
+ }
225
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityUserLookupService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
226
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityUserLookupService, providedIn: 'root' }); }
227
+ }
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityUserLookupService, decorators: [{
229
+ type: Injectable,
230
+ args: [{
231
+ providedIn: 'root',
232
+ }]
233
233
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
234
234
 
235
- class IdentityUserService {
236
- constructor(restService) {
237
- this.restService = restService;
238
- this.apiName = 'AbpIdentity';
239
- this.create = (input) => this.restService.request({
240
- method: 'POST',
241
- url: '/api/identity/users',
242
- body: input,
243
- }, { apiName: this.apiName });
244
- this.delete = (id) => this.restService.request({
245
- method: 'DELETE',
246
- url: `/api/identity/users/${id}`,
247
- }, { apiName: this.apiName });
248
- this.findByEmail = (email) => this.restService.request({
249
- method: 'GET',
250
- url: `/api/identity/users/by-email/${email}`,
251
- }, { apiName: this.apiName });
252
- this.findByUsername = (username) => this.restService.request({
253
- method: 'GET',
254
- url: `/api/identity/users/by-username/${username}`,
255
- }, { apiName: this.apiName });
256
- this.get = (id) => this.restService.request({
257
- method: 'GET',
258
- url: `/api/identity/users/${id}`,
259
- }, { apiName: this.apiName });
260
- this.getAllClaimTypes = () => this.restService.request({
261
- method: 'GET',
262
- url: '/api/identity/users/all-claim-types',
263
- }, { apiName: this.apiName });
264
- this.getAssignableRoles = () => this.restService.request({
265
- method: 'GET',
266
- url: '/api/identity/users/assignable-roles',
267
- }, { apiName: this.apiName });
268
- this.getAvailableOrganizationUnits = () => this.restService.request({
269
- method: 'GET',
270
- url: '/api/identity/users/available-organization-units',
271
- }, { apiName: this.apiName });
272
- this.getClaims = (id) => this.restService.request({
273
- method: 'GET',
274
- url: `/api/identity/users/${id}/claims`,
275
- }, { apiName: this.apiName });
276
- this.getExternalLoginProviders = () => this.restService.request({
277
- method: 'GET',
278
- url: '/api/identity/users/external-login-Providers',
279
- }, { apiName: this.apiName });
280
- this.getList = (input) => this.restService.request({
281
- method: 'GET',
282
- url: '/api/identity/users',
283
- params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, name: input.name, surname: input.surname, isLockedOut: input.isLockedOut, notActive: input.notActive, emailConfirmed: input.emailConfirmed, isExternal: input.isExternal, maxCreationTime: input.maxCreationTime, minCreationTime: input.minCreationTime, maxModifitionTime: input.maxModifitionTime, minModifitionTime: input.minModifitionTime, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
284
- }, { apiName: this.apiName });
285
- this.getOrganizationUnitLookup = () => this.restService.request({
286
- method: 'GET',
287
- url: '/api/identity/users/lookup/organization-units',
288
- }, { apiName: this.apiName });
289
- this.getOrganizationUnits = (id) => this.restService.request({
290
- method: 'GET',
291
- url: `/api/identity/users/${id}/organization-units`,
292
- }, { apiName: this.apiName });
293
- this.getRoleLookup = () => this.restService.request({
294
- method: 'GET',
295
- url: '/api/identity/users/lookup/roles',
296
- }, { apiName: this.apiName });
297
- this.getRoles = (id) => this.restService.request({
298
- method: 'GET',
299
- url: `/api/identity/users/${id}/roles`,
300
- }, { apiName: this.apiName });
301
- this.getTwoFactorEnabled = (id) => this.restService.request({
302
- method: 'GET',
303
- url: `/api/identity/users/${id}/two-factor-enabled`,
304
- }, { apiName: this.apiName });
305
- this.importExternalUser = (input) => this.restService.request({
306
- method: 'POST',
307
- url: '/api/identity/users/import-external-user',
308
- body: input,
309
- }, { apiName: this.apiName });
310
- this.lock = (id, lockoutEnd) => this.restService.request({
311
- method: 'PUT',
312
- url: `/api/identity/users/${id}/lock/${lockoutEnd}`,
313
- }, { apiName: this.apiName });
314
- this.setTwoFactorEnabled = (id, enabled) => this.restService.request({
315
- method: 'PUT',
316
- url: `/api/identity/users/${id}/two-factor/${enabled}`,
317
- }, { apiName: this.apiName });
318
- this.unlock = (id) => this.restService.request({
319
- method: 'PUT',
320
- url: `/api/identity/users/${id}/unlock`,
321
- }, { apiName: this.apiName });
322
- this.update = (id, input) => this.restService.request({
323
- method: 'PUT',
324
- url: `/api/identity/users/${id}`,
325
- body: input,
326
- }, { apiName: this.apiName });
327
- this.updateClaims = (id, input) => this.restService.request({
328
- method: 'PUT',
329
- url: `/api/identity/users/${id}/claims`,
330
- body: input,
331
- }, { apiName: this.apiName });
332
- this.updatePassword = (id, input) => this.restService.request({
333
- method: 'PUT',
334
- url: `/api/identity/users/${id}/change-password`,
335
- body: input,
336
- }, { apiName: this.apiName });
337
- this.updateRoles = (id, input) => this.restService.request({
338
- method: 'PUT',
339
- url: `/api/identity/users/${id}/roles`,
340
- body: input,
341
- }, { apiName: this.apiName });
342
- }
343
- }
344
- IdentityUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
345
- IdentityUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityUserService, providedIn: 'root' });
346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IdentityUserService, decorators: [{
347
- type: Injectable,
348
- args: [{
349
- providedIn: 'root',
350
- }]
235
+ class IdentityUserService {
236
+ constructor(restService) {
237
+ this.restService = restService;
238
+ this.apiName = 'AbpIdentity';
239
+ this.create = (input) => this.restService.request({
240
+ method: 'POST',
241
+ url: '/api/identity/users',
242
+ body: input,
243
+ }, { apiName: this.apiName });
244
+ this.delete = (id) => this.restService.request({
245
+ method: 'DELETE',
246
+ url: `/api/identity/users/${id}`,
247
+ }, { apiName: this.apiName });
248
+ this.findByEmail = (email) => this.restService.request({
249
+ method: 'GET',
250
+ url: `/api/identity/users/by-email/${email}`,
251
+ }, { apiName: this.apiName });
252
+ this.findByUsername = (username) => this.restService.request({
253
+ method: 'GET',
254
+ url: `/api/identity/users/by-username/${username}`,
255
+ }, { apiName: this.apiName });
256
+ this.get = (id) => this.restService.request({
257
+ method: 'GET',
258
+ url: `/api/identity/users/${id}`,
259
+ }, { apiName: this.apiName });
260
+ this.getAllClaimTypes = () => this.restService.request({
261
+ method: 'GET',
262
+ url: '/api/identity/users/all-claim-types',
263
+ }, { apiName: this.apiName });
264
+ this.getAssignableRoles = () => this.restService.request({
265
+ method: 'GET',
266
+ url: '/api/identity/users/assignable-roles',
267
+ }, { apiName: this.apiName });
268
+ this.getAvailableOrganizationUnits = () => this.restService.request({
269
+ method: 'GET',
270
+ url: '/api/identity/users/available-organization-units',
271
+ }, { apiName: this.apiName });
272
+ this.getClaims = (id) => this.restService.request({
273
+ method: 'GET',
274
+ url: `/api/identity/users/${id}/claims`,
275
+ }, { apiName: this.apiName });
276
+ this.getExternalLoginProviders = () => this.restService.request({
277
+ method: 'GET',
278
+ url: '/api/identity/users/external-login-Providers',
279
+ }, { apiName: this.apiName });
280
+ this.getList = (input) => this.restService.request({
281
+ method: 'GET',
282
+ url: '/api/identity/users',
283
+ params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, name: input.name, surname: input.surname, isLockedOut: input.isLockedOut, notActive: input.notActive, emailConfirmed: input.emailConfirmed, isExternal: input.isExternal, maxCreationTime: input.maxCreationTime, minCreationTime: input.minCreationTime, maxModifitionTime: input.maxModifitionTime, minModifitionTime: input.minModifitionTime, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
284
+ }, { apiName: this.apiName });
285
+ this.getOrganizationUnitLookup = () => this.restService.request({
286
+ method: 'GET',
287
+ url: '/api/identity/users/lookup/organization-units',
288
+ }, { apiName: this.apiName });
289
+ this.getOrganizationUnits = (id) => this.restService.request({
290
+ method: 'GET',
291
+ url: `/api/identity/users/${id}/organization-units`,
292
+ }, { apiName: this.apiName });
293
+ this.getRoleLookup = () => this.restService.request({
294
+ method: 'GET',
295
+ url: '/api/identity/users/lookup/roles',
296
+ }, { apiName: this.apiName });
297
+ this.getRoles = (id) => this.restService.request({
298
+ method: 'GET',
299
+ url: `/api/identity/users/${id}/roles`,
300
+ }, { apiName: this.apiName });
301
+ this.getTwoFactorEnabled = (id) => this.restService.request({
302
+ method: 'GET',
303
+ url: `/api/identity/users/${id}/two-factor-enabled`,
304
+ }, { apiName: this.apiName });
305
+ this.importExternalUser = (input) => this.restService.request({
306
+ method: 'POST',
307
+ url: '/api/identity/users/import-external-user',
308
+ body: input,
309
+ }, { apiName: this.apiName });
310
+ this.lock = (id, lockoutEnd) => this.restService.request({
311
+ method: 'PUT',
312
+ url: `/api/identity/users/${id}/lock/${lockoutEnd}`,
313
+ }, { apiName: this.apiName });
314
+ this.setTwoFactorEnabled = (id, enabled) => this.restService.request({
315
+ method: 'PUT',
316
+ url: `/api/identity/users/${id}/two-factor/${enabled}`,
317
+ }, { apiName: this.apiName });
318
+ this.unlock = (id) => this.restService.request({
319
+ method: 'PUT',
320
+ url: `/api/identity/users/${id}/unlock`,
321
+ }, { apiName: this.apiName });
322
+ this.update = (id, input) => this.restService.request({
323
+ method: 'PUT',
324
+ url: `/api/identity/users/${id}`,
325
+ body: input,
326
+ }, { apiName: this.apiName });
327
+ this.updateClaims = (id, input) => this.restService.request({
328
+ method: 'PUT',
329
+ url: `/api/identity/users/${id}/claims`,
330
+ body: input,
331
+ }, { apiName: this.apiName });
332
+ this.updatePassword = (id, input) => this.restService.request({
333
+ method: 'PUT',
334
+ url: `/api/identity/users/${id}/change-password`,
335
+ body: input,
336
+ }, { apiName: this.apiName });
337
+ this.updateRoles = (id, input) => this.restService.request({
338
+ method: 'PUT',
339
+ url: `/api/identity/users/${id}/roles`,
340
+ body: input,
341
+ }, { apiName: this.apiName });
342
+ }
343
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityUserService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
344
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityUserService, providedIn: 'root' }); }
345
+ }
346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IdentityUserService, decorators: [{
347
+ type: Injectable,
348
+ args: [{
349
+ providedIn: 'root',
350
+ }]
351
351
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
352
352
 
353
- class OrganizationUnitService {
354
- constructor(restService) {
355
- this.restService = restService;
356
- this.apiName = 'AbpIdentity';
357
- this.addMembers = (id, input) => this.restService.request({
358
- method: 'PUT',
359
- url: `/api/identity/organization-units/${id}/members`,
360
- body: input,
361
- }, { apiName: this.apiName });
362
- this.addRoles = (id, input) => this.restService.request({
363
- method: 'PUT',
364
- url: `/api/identity/organization-units/${id}/roles`,
365
- body: input,
366
- }, { apiName: this.apiName });
367
- this.create = (input) => this.restService.request({
368
- method: 'POST',
369
- url: '/api/identity/organization-units',
370
- body: input,
371
- }, { apiName: this.apiName });
372
- this.delete = (id) => this.restService.request({
373
- method: 'DELETE',
374
- url: '/api/identity/organization-units',
375
- params: { id },
376
- }, { apiName: this.apiName });
377
- this.get = (id) => this.restService.request({
378
- method: 'GET',
379
- url: `/api/identity/organization-units/${id}`,
380
- }, { apiName: this.apiName });
381
- this.getAvailableRoles = (input) => this.restService.request({
382
- method: 'GET',
383
- url: '/api/identity/organization-units/available-roles',
384
- params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
385
- }, { apiName: this.apiName });
386
- this.getAvailableUsers = (input) => this.restService.request({
387
- method: 'GET',
388
- url: '/api/identity/organization-units/available-users',
389
- params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
390
- }, { apiName: this.apiName });
391
- this.getList = (input) => this.restService.request({
392
- method: 'GET',
393
- url: '/api/identity/organization-units',
394
- params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
395
- }, { apiName: this.apiName });
396
- this.getListAll = () => this.restService.request({
397
- method: 'GET',
398
- url: '/api/identity/organization-units/all',
399
- }, { apiName: this.apiName });
400
- this.getMembers = (id, input) => this.restService.request({
401
- method: 'GET',
402
- url: `/api/identity/organization-units/${id}/members`,
403
- params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, name: input.name, surname: input.surname, isLockedOut: input.isLockedOut, notActive: input.notActive, emailConfirmed: input.emailConfirmed, isExternal: input.isExternal, maxCreationTime: input.maxCreationTime, minCreationTime: input.minCreationTime, maxModifitionTime: input.maxModifitionTime, minModifitionTime: input.minModifitionTime, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
404
- }, { apiName: this.apiName });
405
- this.getRoles = (id, input) => this.restService.request({
406
- method: 'GET',
407
- url: `/api/identity/organization-units/${id}/roles`,
408
- params: { sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
409
- }, { apiName: this.apiName });
410
- this.move = (id, input) => this.restService.request({
411
- method: 'PUT',
412
- url: `/api/identity/organization-units/${id}/move`,
413
- body: input,
414
- }, { apiName: this.apiName });
415
- this.removeMember = (id, memberId) => this.restService.request({
416
- method: 'DELETE',
417
- url: `/api/identity/organization-units/${id}/members/${memberId}`,
418
- }, { apiName: this.apiName });
419
- this.removeRole = (id, roleId) => this.restService.request({
420
- method: 'DELETE',
421
- url: `/api/identity/organization-units/${id}/roles/${roleId}`,
422
- }, { apiName: this.apiName });
423
- this.update = (id, input) => this.restService.request({
424
- method: 'PUT',
425
- url: `/api/identity/organization-units/${id}`,
426
- body: input,
427
- }, { apiName: this.apiName });
428
- }
429
- }
430
- OrganizationUnitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OrganizationUnitService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });
431
- OrganizationUnitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OrganizationUnitService, providedIn: 'root' });
432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OrganizationUnitService, decorators: [{
433
- type: Injectable,
434
- args: [{
435
- providedIn: 'root',
436
- }]
353
+ class OrganizationUnitService {
354
+ constructor(restService) {
355
+ this.restService = restService;
356
+ this.apiName = 'AbpIdentity';
357
+ this.addMembers = (id, input) => this.restService.request({
358
+ method: 'PUT',
359
+ url: `/api/identity/organization-units/${id}/members`,
360
+ body: input,
361
+ }, { apiName: this.apiName });
362
+ this.addRoles = (id, input) => this.restService.request({
363
+ method: 'PUT',
364
+ url: `/api/identity/organization-units/${id}/roles`,
365
+ body: input,
366
+ }, { apiName: this.apiName });
367
+ this.create = (input) => this.restService.request({
368
+ method: 'POST',
369
+ url: '/api/identity/organization-units',
370
+ body: input,
371
+ }, { apiName: this.apiName });
372
+ this.delete = (id) => this.restService.request({
373
+ method: 'DELETE',
374
+ url: '/api/identity/organization-units',
375
+ params: { id },
376
+ }, { apiName: this.apiName });
377
+ this.get = (id) => this.restService.request({
378
+ method: 'GET',
379
+ url: `/api/identity/organization-units/${id}`,
380
+ }, { apiName: this.apiName });
381
+ this.getAvailableRoles = (input) => this.restService.request({
382
+ method: 'GET',
383
+ url: '/api/identity/organization-units/available-roles',
384
+ params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
385
+ }, { apiName: this.apiName });
386
+ this.getAvailableUsers = (input) => this.restService.request({
387
+ method: 'GET',
388
+ url: '/api/identity/organization-units/available-users',
389
+ params: { filter: input.filter, id: input.id, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
390
+ }, { apiName: this.apiName });
391
+ this.getList = (input) => this.restService.request({
392
+ method: 'GET',
393
+ url: '/api/identity/organization-units',
394
+ params: { filter: input.filter, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
395
+ }, { apiName: this.apiName });
396
+ this.getListAll = () => this.restService.request({
397
+ method: 'GET',
398
+ url: '/api/identity/organization-units/all',
399
+ }, { apiName: this.apiName });
400
+ this.getMembers = (id, input) => this.restService.request({
401
+ method: 'GET',
402
+ url: `/api/identity/organization-units/${id}/members`,
403
+ params: { filter: input.filter, roleId: input.roleId, organizationUnitId: input.organizationUnitId, userName: input.userName, phoneNumber: input.phoneNumber, emailAddress: input.emailAddress, name: input.name, surname: input.surname, isLockedOut: input.isLockedOut, notActive: input.notActive, emailConfirmed: input.emailConfirmed, isExternal: input.isExternal, maxCreationTime: input.maxCreationTime, minCreationTime: input.minCreationTime, maxModifitionTime: input.maxModifitionTime, minModifitionTime: input.minModifitionTime, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
404
+ }, { apiName: this.apiName });
405
+ this.getRoles = (id, input) => this.restService.request({
406
+ method: 'GET',
407
+ url: `/api/identity/organization-units/${id}/roles`,
408
+ params: { sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
409
+ }, { apiName: this.apiName });
410
+ this.move = (id, input) => this.restService.request({
411
+ method: 'PUT',
412
+ url: `/api/identity/organization-units/${id}/move`,
413
+ body: input,
414
+ }, { apiName: this.apiName });
415
+ this.removeMember = (id, memberId) => this.restService.request({
416
+ method: 'DELETE',
417
+ url: `/api/identity/organization-units/${id}/members/${memberId}`,
418
+ }, { apiName: this.apiName });
419
+ this.removeRole = (id, roleId) => this.restService.request({
420
+ method: 'DELETE',
421
+ url: `/api/identity/organization-units/${id}/roles/${roleId}`,
422
+ }, { apiName: this.apiName });
423
+ this.update = (id, input) => this.restService.request({
424
+ method: 'PUT',
425
+ url: `/api/identity/organization-units/${id}`,
426
+ body: input,
427
+ }, { apiName: this.apiName });
428
+ }
429
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OrganizationUnitService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
430
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OrganizationUnitService, providedIn: 'root' }); }
431
+ }
432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: OrganizationUnitService, decorators: [{
433
+ type: Injectable,
434
+ args: [{
435
+ providedIn: 'root',
436
+ }]
437
437
  }], ctorParameters: function () { return [{ type: i1.RestService }]; } });
438
438
 
439
- /**
440
- * Generated bundle index. Do not edit.
439
+ /**
440
+ * Generated bundle index. Do not edit.
441
441
  */
442
442
 
443
443
  export { IdentityClaimTypeService, IdentityClaimValueType, IdentityExternalLoginService, IdentityRoleService, IdentitySecurityLogService, IdentitySettingsService, IdentityUserLookupService, IdentityUserService, OrganizationUnitService, identityClaimValueTypeOptions };