@equisoft/account-service-sdk-typescript 4.5.1-snapshot.20230207210529 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/.openapi-generator/FILES +12 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +0 -3
  4. package/.tool-versions +2 -2
  5. package/README.md +2 -2
  6. package/dist/apis/OAuthApi.d.ts +2 -2
  7. package/dist/apis/OAuthApi.js +5 -5
  8. package/dist/apis/OrganizationApi.d.ts +14 -2
  9. package/dist/apis/OrganizationApi.js +59 -20
  10. package/dist/apis/PermissionApi.d.ts +2 -2
  11. package/dist/apis/PermissionApi.js +4 -4
  12. package/dist/apis/RoleApi.d.ts +2 -2
  13. package/dist/apis/RoleApi.js +3 -3
  14. package/dist/apis/ServiceAccountApi.d.ts +2 -2
  15. package/dist/apis/ServiceAccountApi.js +11 -11
  16. package/dist/apis/SessionApi.d.ts +3 -3
  17. package/dist/apis/SessionApi.js +13 -10
  18. package/dist/apis/UserApi.d.ts +140 -5
  19. package/dist/apis/UserApi.js +462 -22
  20. package/dist/apis/index.js +6 -2
  21. package/dist/esm/apis/OAuthApi.d.ts +41 -0
  22. package/dist/esm/apis/OAuthApi.js +106 -0
  23. package/dist/esm/apis/OrganizationApi.d.ts +253 -0
  24. package/dist/esm/apis/OrganizationApi.js +802 -0
  25. package/dist/esm/apis/PermissionApi.d.ts +30 -0
  26. package/dist/esm/apis/PermissionApi.js +70 -0
  27. package/dist/esm/apis/RoleApi.d.ts +29 -0
  28. package/dist/esm/apis/RoleApi.js +65 -0
  29. package/dist/esm/apis/ServiceAccountApi.d.ts +112 -0
  30. package/dist/esm/apis/ServiceAccountApi.js +339 -0
  31. package/dist/esm/apis/SessionApi.d.ts +154 -0
  32. package/dist/esm/apis/SessionApi.js +481 -0
  33. package/dist/esm/apis/UserApi.d.ts +409 -0
  34. package/dist/esm/apis/UserApi.js +1304 -0
  35. package/dist/esm/apis/index.d.ts +7 -0
  36. package/dist/esm/apis/index.js +9 -0
  37. package/dist/esm/index.d.ts +3 -0
  38. package/dist/esm/index.js +5 -0
  39. package/dist/esm/models/ApplyPermissionsPayload.d.ts +38 -0
  40. package/dist/esm/models/ApplyPermissionsPayload.js +47 -0
  41. package/dist/esm/models/AuthenticationUserAccount.d.ts +61 -0
  42. package/dist/esm/models/AuthenticationUserAccount.js +58 -0
  43. package/dist/esm/models/CreateOrUpdateOAuthClientPayload.d.ts +100 -0
  44. package/dist/esm/models/CreateOrUpdateOAuthClientPayload.js +67 -0
  45. package/dist/esm/models/CreateOrUpdateOrganizationPayload.d.ts +59 -0
  46. package/dist/esm/models/CreateOrUpdateOrganizationPayload.js +55 -0
  47. package/dist/esm/models/CreateOrUpdatePermissionPayload.d.ts +32 -0
  48. package/dist/esm/models/CreateOrUpdatePermissionPayload.js +44 -0
  49. package/dist/esm/models/CreateOrganizationPayload.d.ts +59 -0
  50. package/dist/esm/models/CreateOrganizationPayload.js +54 -0
  51. package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.d.ts +31 -0
  52. package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.js +43 -0
  53. package/dist/esm/models/CreateOrganizationUserServicePayload.d.ts +33 -0
  54. package/dist/esm/models/CreateOrganizationUserServicePayload.js +43 -0
  55. package/dist/esm/models/CreateRole.d.ts +38 -0
  56. package/dist/esm/models/CreateRole.js +47 -0
  57. package/dist/esm/models/CreateUserAccountPayload.d.ts +106 -0
  58. package/dist/esm/models/CreateUserAccountPayload.js +76 -0
  59. package/dist/esm/models/CreateUserAccountServiceAssociation.d.ts +45 -0
  60. package/dist/esm/models/CreateUserAccountServiceAssociation.js +49 -0
  61. package/dist/esm/models/DatabaseState.d.ts +31 -0
  62. package/dist/esm/models/DatabaseState.js +38 -0
  63. package/dist/esm/models/EnableEquisoftConnectPayload.d.ts +31 -0
  64. package/dist/esm/models/EnableEquisoftConnectPayload.js +43 -0
  65. package/dist/esm/models/ErrorMessage.d.ts +40 -0
  66. package/dist/esm/models/ErrorMessage.js +47 -0
  67. package/dist/esm/models/ErrorPayload.d.ts +38 -0
  68. package/dist/esm/models/ErrorPayload.js +47 -0
  69. package/dist/esm/models/Id.d.ts +37 -0
  70. package/dist/esm/models/Id.js +46 -0
  71. package/dist/esm/models/ImpersonatePayload.d.ts +31 -0
  72. package/dist/esm/models/ImpersonatePayload.js +43 -0
  73. package/dist/esm/models/LegacyRoleSchema.d.ts +38 -0
  74. package/dist/esm/models/LegacyRoleSchema.js +47 -0
  75. package/dist/esm/models/ListOrganizationElement.d.ts +58 -0
  76. package/dist/esm/models/ListOrganizationElement.js +58 -0
  77. package/dist/esm/models/ListUserOrganizations.d.ts +38 -0
  78. package/dist/esm/models/ListUserOrganizations.js +47 -0
  79. package/dist/esm/models/LocalizedString.d.ts +39 -0
  80. package/dist/esm/models/LocalizedString.js +46 -0
  81. package/dist/esm/models/LoginPayload.d.ts +37 -0
  82. package/dist/esm/models/LoginPayload.js +46 -0
  83. package/dist/esm/models/NewPasswordPayload.d.ts +31 -0
  84. package/dist/esm/models/NewPasswordPayload.js +43 -0
  85. package/dist/esm/models/OAuthClient.d.ts +106 -0
  86. package/dist/esm/models/OAuthClient.js +78 -0
  87. package/dist/esm/models/OAuthClientCreated.d.ts +31 -0
  88. package/dist/esm/models/OAuthClientCreated.js +43 -0
  89. package/dist/esm/models/OAuthClientPublicKey.d.ts +37 -0
  90. package/dist/esm/models/OAuthClientPublicKey.js +46 -0
  91. package/dist/esm/models/Organization.d.ts +91 -0
  92. package/dist/esm/models/Organization.js +72 -0
  93. package/dist/esm/models/OrganizationCreated.d.ts +31 -0
  94. package/dist/esm/models/OrganizationCreated.js +43 -0
  95. package/dist/esm/models/OrganizationPathElement.d.ts +38 -0
  96. package/dist/esm/models/OrganizationPathElement.js +47 -0
  97. package/dist/esm/models/OrganizationRoleAttribution.d.ts +39 -0
  98. package/dist/esm/models/OrganizationRoleAttribution.js +48 -0
  99. package/dist/esm/models/OrganizationRoleAttributionPermission.d.ts +38 -0
  100. package/dist/esm/models/OrganizationRoleAttributionPermission.js +47 -0
  101. package/dist/esm/models/OrganizationRoleAttributionRole.d.ts +45 -0
  102. package/dist/esm/models/OrganizationRoleAttributionRole.js +51 -0
  103. package/dist/esm/models/OrganizationRoleAttributionUser.d.ts +50 -0
  104. package/dist/esm/models/OrganizationRoleAttributionUser.js +53 -0
  105. package/dist/esm/models/OrganizationRoleAttributions.d.ts +32 -0
  106. package/dist/esm/models/OrganizationRoleAttributions.js +44 -0
  107. package/dist/esm/models/OrganizationServiceProfile.d.ts +37 -0
  108. package/dist/esm/models/OrganizationServiceProfile.js +46 -0
  109. package/dist/esm/models/OrganizationServicesElement.d.ts +37 -0
  110. package/dist/esm/models/OrganizationServicesElement.js +46 -0
  111. package/dist/esm/models/OrganizationSsoProvider.d.ts +38 -0
  112. package/dist/esm/models/OrganizationSsoProvider.js +47 -0
  113. package/dist/esm/models/OrganizationUserServiceAssociation.d.ts +45 -0
  114. package/dist/esm/models/OrganizationUserServiceAssociation.js +49 -0
  115. package/dist/esm/models/PasswordPolicy.d.ts +73 -0
  116. package/dist/esm/models/PasswordPolicy.js +64 -0
  117. package/dist/esm/models/PermissionCode.d.ts +31 -0
  118. package/dist/esm/models/PermissionCode.js +43 -0
  119. package/dist/esm/models/PermissionCreated.d.ts +31 -0
  120. package/dist/esm/models/PermissionCreated.js +43 -0
  121. package/dist/esm/models/PermissionList.d.ts +32 -0
  122. package/dist/esm/models/PermissionList.js +44 -0
  123. package/dist/esm/models/PermissionResourceType.d.ts +24 -0
  124. package/dist/esm/models/PermissionResourceType.js +31 -0
  125. package/dist/esm/models/Role.d.ts +44 -0
  126. package/dist/esm/models/Role.js +50 -0
  127. package/dist/esm/models/RoleCreated.d.ts +44 -0
  128. package/dist/esm/models/RoleCreated.js +50 -0
  129. package/dist/esm/models/RolesOnOrganization.d.ts +59 -0
  130. package/dist/esm/models/RolesOnOrganization.js +59 -0
  131. package/dist/esm/models/SendResetPasswordLinkPayload.d.ts +37 -0
  132. package/dist/esm/models/SendResetPasswordLinkPayload.js +45 -0
  133. package/dist/esm/models/ServiceAccess.d.ts +63 -0
  134. package/dist/esm/models/ServiceAccess.js +56 -0
  135. package/dist/esm/models/ServiceAccountCreationSchema.d.ts +43 -0
  136. package/dist/esm/models/ServiceAccountCreationSchema.js +49 -0
  137. package/dist/esm/models/ServiceAccountSchema.d.ts +68 -0
  138. package/dist/esm/models/ServiceAccountSchema.js +62 -0
  139. package/dist/esm/models/ServiceAccountStatus.d.ts +25 -0
  140. package/dist/esm/models/ServiceAccountStatus.js +32 -0
  141. package/dist/esm/models/ServiceAccountUpdateSchema.d.ts +37 -0
  142. package/dist/esm/models/ServiceAccountUpdateSchema.js +45 -0
  143. package/dist/esm/models/ServiceAccountUuidSchema.d.ts +31 -0
  144. package/dist/esm/models/ServiceAccountUuidSchema.js +43 -0
  145. package/dist/esm/models/ServiceName.d.ts +27 -0
  146. package/dist/esm/models/ServiceName.js +34 -0
  147. package/dist/esm/models/Session.d.ts +94 -0
  148. package/dist/esm/models/Session.js +74 -0
  149. package/dist/esm/models/SessionPayload.d.ts +62 -0
  150. package/dist/esm/models/SessionPayload.js +56 -0
  151. package/dist/esm/models/SessionPolicy.d.ts +37 -0
  152. package/dist/esm/models/SessionPolicy.js +45 -0
  153. package/dist/esm/models/SessionState.d.ts +33 -0
  154. package/dist/esm/models/SessionState.js +40 -0
  155. package/dist/esm/models/SetPasswordByConfirmationHashPayload.d.ts +31 -0
  156. package/dist/esm/models/SetPasswordByConfirmationHashPayload.js +43 -0
  157. package/dist/esm/models/SetUserAccountPasswordPayload.d.ts +43 -0
  158. package/dist/esm/models/SetUserAccountPasswordPayload.js +49 -0
  159. package/dist/esm/models/SignupHash.d.ts +31 -0
  160. package/dist/esm/models/SignupHash.js +43 -0
  161. package/dist/esm/models/SsoProvider.d.ts +37 -0
  162. package/dist/esm/models/SsoProvider.js +46 -0
  163. package/dist/esm/models/SsoToken.d.ts +37 -0
  164. package/dist/esm/models/SsoToken.js +46 -0
  165. package/dist/esm/models/UpdateParentOrganizationPayload.d.ts +31 -0
  166. package/dist/esm/models/UpdateParentOrganizationPayload.js +43 -0
  167. package/dist/esm/models/UpdateUserAccountPayload.d.ts +55 -0
  168. package/dist/esm/models/UpdateUserAccountPayload.js +53 -0
  169. package/dist/esm/models/UpdateUserAccountSsoPayload.d.ts +37 -0
  170. package/dist/esm/models/UpdateUserAccountSsoPayload.js +46 -0
  171. package/dist/esm/models/UpsertServicePayload.d.ts +31 -0
  172. package/dist/esm/models/UpsertServicePayload.js +43 -0
  173. package/dist/esm/models/User.d.ts +169 -0
  174. package/dist/esm/models/User.js +108 -0
  175. package/dist/esm/models/UserAccountOrganizationRoles.d.ts +45 -0
  176. package/dist/esm/models/UserAccountOrganizationRoles.js +51 -0
  177. package/dist/esm/models/UserAccountPermission.d.ts +38 -0
  178. package/dist/esm/models/UserAccountPermission.js +47 -0
  179. package/dist/esm/models/UserAccountRole.d.ts +38 -0
  180. package/dist/esm/models/UserAccountRole.js +47 -0
  181. package/dist/esm/models/UserAccountRoleAttributions.d.ts +32 -0
  182. package/dist/esm/models/UserAccountRoleAttributions.js +44 -0
  183. package/dist/esm/models/UserAccountSearchResult.d.ts +169 -0
  184. package/dist/esm/models/UserAccountSearchResult.js +108 -0
  185. package/dist/esm/models/UserAgreement.d.ts +32 -0
  186. package/dist/esm/models/UserAgreement.js +44 -0
  187. package/dist/esm/models/UserAgreementState.d.ts +27 -0
  188. package/dist/esm/models/UserAgreementState.js +34 -0
  189. package/dist/esm/models/UserPermissions.d.ts +39 -0
  190. package/dist/esm/models/UserPermissions.js +48 -0
  191. package/dist/esm/models/UserServiceAssociation.d.ts +51 -0
  192. package/dist/esm/models/UserServiceAssociation.js +51 -0
  193. package/dist/esm/models/UserSsoProvider.d.ts +31 -0
  194. package/dist/esm/models/UserSsoProvider.js +43 -0
  195. package/dist/esm/models/UserState.d.ts +29 -0
  196. package/dist/esm/models/UserState.js +36 -0
  197. package/dist/esm/models/UserUuid.d.ts +31 -0
  198. package/dist/esm/models/UserUuid.js +43 -0
  199. package/dist/esm/models/index.d.ts +80 -0
  200. package/dist/esm/models/index.js +82 -0
  201. package/dist/esm/runtime.d.ts +182 -0
  202. package/dist/esm/runtime.js +330 -0
  203. package/dist/index.d.ts +2 -2
  204. package/dist/index.js +8 -4
  205. package/dist/models/ApplyPermissionsPayload.d.ts +1 -1
  206. package/dist/models/ApplyPermissionsPayload.js +3 -3
  207. package/dist/models/AuthenticationUserAccount.d.ts +2 -2
  208. package/dist/models/AuthenticationUserAccount.js +3 -3
  209. package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +4 -4
  210. package/dist/models/CreateOrUpdateOAuthClientPayload.js +13 -16
  211. package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +14 -5
  212. package/dist/models/CreateOrUpdateOrganizationPayload.js +10 -8
  213. package/dist/models/CreateOrUpdatePermissionPayload.d.ts +1 -1
  214. package/dist/models/CreateOrUpdatePermissionPayload.js +3 -3
  215. package/dist/models/CreateOrganizationPayload.d.ts +14 -5
  216. package/dist/models/CreateOrganizationPayload.js +9 -8
  217. package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +2 -2
  218. package/dist/models/CreateOrganizationUserServiceOptionPayload.js +3 -3
  219. package/dist/models/CreateOrganizationUserServicePayload.d.ts +1 -1
  220. package/dist/models/CreateOrganizationUserServicePayload.js +2 -2
  221. package/dist/models/CreateRole.d.ts +1 -1
  222. package/dist/models/CreateRole.js +3 -3
  223. package/dist/models/CreateUserAccountPayload.d.ts +106 -0
  224. package/dist/models/CreateUserAccountPayload.js +83 -0
  225. package/dist/models/CreateUserAccountServiceAssociation.d.ts +45 -0
  226. package/dist/models/CreateUserAccountServiceAssociation.js +56 -0
  227. package/dist/models/DatabaseState.d.ts +3 -2
  228. package/dist/models/DatabaseState.js +2 -1
  229. package/dist/models/EnableEquisoftConnectPayload.d.ts +31 -0
  230. package/dist/models/EnableEquisoftConnectPayload.js +50 -0
  231. package/dist/models/ErrorMessage.d.ts +3 -2
  232. package/dist/models/ErrorMessage.js +2 -1
  233. package/dist/models/ErrorPayload.d.ts +1 -1
  234. package/dist/models/ErrorPayload.js +4 -4
  235. package/dist/models/Id.d.ts +1 -1
  236. package/dist/models/Id.js +1 -1
  237. package/dist/models/ImpersonatePayload.d.ts +1 -1
  238. package/dist/models/ImpersonatePayload.js +1 -1
  239. package/dist/models/LegacyRoleSchema.d.ts +1 -1
  240. package/dist/models/LegacyRoleSchema.js +3 -3
  241. package/dist/models/ListOrganizationElement.d.ts +1 -1
  242. package/dist/models/ListOrganizationElement.js +4 -4
  243. package/dist/models/ListUserOrganizations.d.ts +1 -1
  244. package/dist/models/ListUserOrganizations.js +2 -2
  245. package/dist/models/LocalizedString.d.ts +3 -3
  246. package/dist/models/LocalizedString.js +1 -1
  247. package/dist/models/LoginPayload.d.ts +1 -1
  248. package/dist/models/LoginPayload.js +1 -1
  249. package/dist/models/NewPasswordPayload.d.ts +31 -0
  250. package/dist/models/NewPasswordPayload.js +50 -0
  251. package/dist/models/OAuthClient.d.ts +1 -1
  252. package/dist/models/OAuthClient.js +5 -5
  253. package/dist/models/OAuthClientCreated.d.ts +1 -1
  254. package/dist/models/OAuthClientCreated.js +1 -1
  255. package/dist/models/OAuthClientPublicKey.d.ts +1 -1
  256. package/dist/models/OAuthClientPublicKey.js +1 -1
  257. package/dist/models/Organization.d.ts +11 -2
  258. package/dist/models/Organization.js +11 -7
  259. package/dist/models/OrganizationCreated.d.ts +1 -1
  260. package/dist/models/OrganizationCreated.js +1 -1
  261. package/dist/models/OrganizationPathElement.d.ts +1 -1
  262. package/dist/models/OrganizationPathElement.js +3 -3
  263. package/dist/models/OrganizationRoleAttribution.d.ts +4 -4
  264. package/dist/models/OrganizationRoleAttribution.js +4 -4
  265. package/dist/models/OrganizationRoleAttributionPermission.d.ts +1 -1
  266. package/dist/models/OrganizationRoleAttributionPermission.js +3 -3
  267. package/dist/models/OrganizationRoleAttributionRole.d.ts +1 -1
  268. package/dist/models/OrganizationRoleAttributionRole.js +3 -3
  269. package/dist/models/OrganizationRoleAttributionUser.d.ts +50 -0
  270. package/dist/models/OrganizationRoleAttributionUser.js +60 -0
  271. package/dist/models/OrganizationRoleAttributions.d.ts +1 -1
  272. package/dist/models/OrganizationRoleAttributions.js +1 -1
  273. package/dist/models/OrganizationServiceProfile.d.ts +37 -0
  274. package/dist/models/OrganizationServiceProfile.js +53 -0
  275. package/dist/models/OrganizationServicesElement.d.ts +1 -1
  276. package/dist/models/OrganizationServicesElement.js +2 -2
  277. package/dist/models/OrganizationSsoProvider.d.ts +1 -1
  278. package/dist/models/OrganizationSsoProvider.js +3 -3
  279. package/dist/models/OrganizationUserServiceAssociation.d.ts +1 -1
  280. package/dist/models/OrganizationUserServiceAssociation.js +2 -2
  281. package/dist/models/PasswordPolicy.d.ts +73 -0
  282. package/dist/models/PasswordPolicy.js +71 -0
  283. package/dist/models/PermissionCode.d.ts +1 -1
  284. package/dist/models/PermissionCode.js +1 -1
  285. package/dist/models/PermissionCreated.d.ts +1 -1
  286. package/dist/models/PermissionCreated.js +1 -1
  287. package/dist/models/PermissionList.d.ts +1 -1
  288. package/dist/models/PermissionList.js +1 -1
  289. package/dist/models/PermissionResourceType.d.ts +2 -2
  290. package/dist/models/PermissionResourceType.js +1 -1
  291. package/dist/models/Role.d.ts +1 -1
  292. package/dist/models/Role.js +3 -3
  293. package/dist/models/RoleCreated.d.ts +1 -1
  294. package/dist/models/RoleCreated.js +3 -3
  295. package/dist/models/RolesOnOrganization.d.ts +1 -1
  296. package/dist/models/RolesOnOrganization.js +3 -3
  297. package/dist/models/SendResetPasswordLinkPayload.d.ts +3 -3
  298. package/dist/models/SendResetPasswordLinkPayload.js +4 -5
  299. package/dist/models/ServiceAccess.d.ts +1 -1
  300. package/dist/models/ServiceAccess.js +9 -9
  301. package/dist/models/ServiceAccountCreationSchema.d.ts +1 -1
  302. package/dist/models/ServiceAccountCreationSchema.js +1 -1
  303. package/dist/models/ServiceAccountSchema.d.ts +1 -1
  304. package/dist/models/ServiceAccountSchema.js +4 -4
  305. package/dist/models/ServiceAccountStatus.d.ts +2 -2
  306. package/dist/models/ServiceAccountStatus.js +1 -1
  307. package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
  308. package/dist/models/ServiceAccountUpdateSchema.js +3 -3
  309. package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
  310. package/dist/models/ServiceAccountUuidSchema.js +1 -1
  311. package/dist/models/ServiceName.d.ts +2 -2
  312. package/dist/models/ServiceName.js +1 -1
  313. package/dist/models/Session.d.ts +1 -1
  314. package/dist/models/Session.js +10 -10
  315. package/dist/models/SessionPayload.d.ts +3 -3
  316. package/dist/models/SessionPayload.js +6 -6
  317. package/dist/models/SessionPolicy.d.ts +37 -0
  318. package/dist/models/SessionPolicy.js +52 -0
  319. package/dist/models/SessionState.d.ts +3 -2
  320. package/dist/models/SessionState.js +2 -1
  321. package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +1 -1
  322. package/dist/models/SetPasswordByConfirmationHashPayload.js +1 -1
  323. package/dist/models/SetUserAccountPasswordPayload.d.ts +1 -1
  324. package/dist/models/SetUserAccountPasswordPayload.js +2 -2
  325. package/dist/models/SignupHash.d.ts +31 -0
  326. package/dist/models/SignupHash.js +50 -0
  327. package/dist/models/SsoProvider.d.ts +1 -1
  328. package/dist/models/SsoProvider.js +1 -1
  329. package/dist/models/SsoToken.d.ts +1 -1
  330. package/dist/models/SsoToken.js +1 -1
  331. package/dist/models/UpdateParentOrganizationPayload.d.ts +1 -1
  332. package/dist/models/UpdateParentOrganizationPayload.js +1 -1
  333. package/dist/models/UpdateUserAccountPayload.d.ts +1 -1
  334. package/dist/models/UpdateUserAccountPayload.js +4 -4
  335. package/dist/models/UpdateUserAccountSsoPayload.d.ts +1 -1
  336. package/dist/models/UpdateUserAccountSsoPayload.js +2 -2
  337. package/dist/models/UpsertServicePayload.d.ts +1 -1
  338. package/dist/models/UpsertServicePayload.js +2 -2
  339. package/dist/models/User.d.ts +4 -3
  340. package/dist/models/User.js +14 -15
  341. package/dist/models/UserAccountOrganizationRoles.d.ts +1 -1
  342. package/dist/models/UserAccountOrganizationRoles.js +3 -3
  343. package/dist/models/UserAccountPermission.d.ts +1 -1
  344. package/dist/models/UserAccountPermission.js +3 -3
  345. package/dist/models/UserAccountRole.d.ts +1 -1
  346. package/dist/models/UserAccountRole.js +3 -3
  347. package/dist/models/UserAccountRoleAttributions.d.ts +1 -1
  348. package/dist/models/UserAccountRoleAttributions.js +1 -1
  349. package/dist/models/UserAccountSearchResult.d.ts +4 -3
  350. package/dist/models/UserAccountSearchResult.js +14 -15
  351. package/dist/models/UserAgreement.d.ts +1 -1
  352. package/dist/models/UserAgreement.js +3 -3
  353. package/dist/models/UserAgreementState.d.ts +3 -2
  354. package/dist/models/UserAgreementState.js +2 -1
  355. package/dist/models/UserPermissions.d.ts +1 -1
  356. package/dist/models/UserPermissions.js +1 -1
  357. package/dist/models/UserServiceAssociation.d.ts +1 -1
  358. package/dist/models/UserServiceAssociation.js +3 -3
  359. package/dist/models/UserSsoProvider.d.ts +1 -1
  360. package/dist/models/UserSsoProvider.js +1 -1
  361. package/dist/models/UserState.d.ts +3 -2
  362. package/dist/models/UserState.js +2 -1
  363. package/dist/models/UserUuid.d.ts +31 -0
  364. package/dist/models/UserUuid.js +50 -0
  365. package/dist/models/index.d.ts +10 -1
  366. package/dist/models/index.js +16 -3
  367. package/dist/runtime.d.ts +24 -12
  368. package/dist/runtime.js +40 -10
  369. package/package.json +11 -13
  370. package/src/apis/OAuthApi.ts +3 -5
  371. package/src/apis/OrganizationApi.ts +51 -21
  372. package/src/apis/PermissionApi.ts +3 -4
  373. package/src/apis/RoleApi.ts +3 -4
  374. package/src/apis/ServiceAccountApi.ts +3 -11
  375. package/src/apis/SessionApi.ts +12 -20
  376. package/src/apis/UserApi.ts +560 -30
  377. package/src/index.ts +2 -2
  378. package/src/models/ApplyPermissionsPayload.ts +1 -1
  379. package/src/models/AuthenticationUserAccount.ts +4 -3
  380. package/src/models/CreateOrUpdateOAuthClientPayload.ts +7 -10
  381. package/src/models/CreateOrUpdateOrganizationPayload.ts +24 -9
  382. package/src/models/CreateOrUpdatePermissionPayload.ts +1 -1
  383. package/src/models/CreateOrganizationPayload.ts +23 -9
  384. package/src/models/CreateOrganizationUserServiceOptionPayload.ts +3 -4
  385. package/src/models/CreateOrganizationUserServicePayload.ts +1 -1
  386. package/src/models/CreateRole.ts +1 -1
  387. package/src/models/CreateUserAccountPayload.ts +186 -0
  388. package/src/models/CreateUserAccountServiceAssociation.ts +83 -0
  389. package/src/models/DatabaseState.ts +2 -1
  390. package/src/models/{EnableEquisoftConnectPayloadSchema.ts → EnableEquisoftConnectPayload.ts} +11 -11
  391. package/src/models/ErrorMessage.ts +2 -1
  392. package/src/models/ErrorPayload.ts +1 -1
  393. package/src/models/Id.ts +1 -1
  394. package/src/models/ImpersonatePayload.ts +1 -1
  395. package/src/models/LegacyRoleSchema.ts +1 -1
  396. package/src/models/ListOrganizationElement.ts +1 -1
  397. package/src/models/ListUserOrganizations.ts +1 -1
  398. package/src/models/LocalizedString.ts +3 -3
  399. package/src/models/LoginPayload.ts +1 -1
  400. package/src/models/NewPasswordPayload.ts +66 -0
  401. package/src/models/OAuthClient.ts +1 -1
  402. package/src/models/OAuthClientCreated.ts +1 -1
  403. package/src/models/OAuthClientPublicKey.ts +1 -1
  404. package/src/models/Organization.ts +21 -4
  405. package/src/models/OrganizationCreated.ts +1 -1
  406. package/src/models/OrganizationPathElement.ts +1 -1
  407. package/src/models/OrganizationRoleAttribution.ts +10 -10
  408. package/src/models/OrganizationRoleAttributionPermission.ts +1 -1
  409. package/src/models/OrganizationRoleAttributionRole.ts +1 -1
  410. package/src/models/OrganizationRoleAttributionUser.ts +100 -0
  411. package/src/models/OrganizationRoleAttributions.ts +1 -1
  412. package/src/models/OrganizationServiceProfile.ts +75 -0
  413. package/src/models/OrganizationServicesElement.ts +1 -1
  414. package/src/models/OrganizationSsoProvider.ts +1 -1
  415. package/src/models/OrganizationUserServiceAssociation.ts +1 -1
  416. package/src/models/PasswordPolicy.ts +129 -0
  417. package/src/models/PermissionCode.ts +1 -1
  418. package/src/models/PermissionCreated.ts +1 -1
  419. package/src/models/PermissionList.ts +1 -1
  420. package/src/models/PermissionResourceType.ts +1 -1
  421. package/src/models/Role.ts +1 -1
  422. package/src/models/RoleCreated.ts +1 -1
  423. package/src/models/RolesOnOrganization.ts +1 -1
  424. package/src/models/SendResetPasswordLinkPayload.ts +5 -7
  425. package/src/models/ServiceAccess.ts +1 -1
  426. package/src/models/ServiceAccountCreationSchema.ts +1 -1
  427. package/src/models/ServiceAccountSchema.ts +1 -1
  428. package/src/models/ServiceAccountStatus.ts +1 -1
  429. package/src/models/ServiceAccountUpdateSchema.ts +1 -1
  430. package/src/models/ServiceAccountUuidSchema.ts +1 -1
  431. package/src/models/ServiceName.ts +1 -1
  432. package/src/models/Session.ts +1 -1
  433. package/src/models/SessionPayload.ts +3 -3
  434. package/src/models/SessionPolicy.ts +73 -0
  435. package/src/models/SessionState.ts +2 -1
  436. package/src/models/SetPasswordByConfirmationHashPayload.ts +1 -1
  437. package/src/models/SetUserAccountPasswordPayload.ts +1 -1
  438. package/src/models/SignupHash.ts +66 -0
  439. package/src/models/SsoProvider.ts +1 -1
  440. package/src/models/SsoToken.ts +1 -1
  441. package/src/models/UpdateParentOrganizationPayload.ts +1 -1
  442. package/src/models/UpdateUserAccountPayload.ts +1 -1
  443. package/src/models/UpdateUserAccountSsoPayload.ts +1 -1
  444. package/src/models/UpsertServicePayload.ts +1 -1
  445. package/src/models/User.ts +6 -6
  446. package/src/models/UserAccountOrganizationRoles.ts +1 -1
  447. package/src/models/UserAccountPermission.ts +1 -1
  448. package/src/models/UserAccountRole.ts +1 -1
  449. package/src/models/UserAccountRoleAttributions.ts +1 -1
  450. package/src/models/UserAccountSearchResult.ts +6 -6
  451. package/src/models/UserAgreement.ts +1 -1
  452. package/src/models/UserAgreementState.ts +2 -1
  453. package/src/models/UserPermissions.ts +1 -1
  454. package/src/models/UserServiceAssociation.ts +1 -1
  455. package/src/models/UserSsoProvider.ts +1 -1
  456. package/src/models/UserState.ts +2 -1
  457. package/src/models/UserUuid.ts +66 -0
  458. package/src/models/index.ts +10 -1
  459. package/src/runtime.ts +48 -20
  460. package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +0 -31
  461. package/dist/models/EnableEquisoftConnectPayloadSchema.js +0 -50
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { OrganizationRoleAttributionFromJSON, OrganizationRoleAttributionToJSON, } from './OrganizationRoleAttribution';
15
+ /**
16
+ * Check if a given object implements the OrganizationRoleAttributions interface.
17
+ */
18
+ export function instanceOfOrganizationRoleAttributions(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "users" in value;
21
+ return isInstance;
22
+ }
23
+ export function OrganizationRoleAttributionsFromJSON(json) {
24
+ return OrganizationRoleAttributionsFromJSONTyped(json, false);
25
+ }
26
+ export function OrganizationRoleAttributionsFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'users': (json['users'].map(OrganizationRoleAttributionFromJSON)),
32
+ };
33
+ }
34
+ export function OrganizationRoleAttributionsToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'users': (value.users.map(OrganizationRoleAttributionToJSON)),
43
+ };
44
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * User account and session management
3
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
+ *
5
+ * The version of the OpenAPI document: 6.6.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Represent a service profile available for an organization
14
+ * @export
15
+ * @interface OrganizationServiceProfile
16
+ */
17
+ export interface OrganizationServiceProfile {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof OrganizationServiceProfile
22
+ */
23
+ serviceCode: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof OrganizationServiceProfile
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the OrganizationServiceProfile interface.
33
+ */
34
+ export declare function instanceOfOrganizationServiceProfile(value: object): boolean;
35
+ export declare function OrganizationServiceProfileFromJSON(json: any): OrganizationServiceProfile;
36
+ export declare function OrganizationServiceProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationServiceProfile;
37
+ export declare function OrganizationServiceProfileToJSON(value?: OrganizationServiceProfile | null): any;
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the OrganizationServiceProfile interface.
16
+ */
17
+ export function instanceOfOrganizationServiceProfile(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "serviceCode" in value;
20
+ isInstance = isInstance && "name" in value;
21
+ return isInstance;
22
+ }
23
+ export function OrganizationServiceProfileFromJSON(json) {
24
+ return OrganizationServiceProfileFromJSONTyped(json, false);
25
+ }
26
+ export function OrganizationServiceProfileFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'serviceCode': json['serviceCode'],
32
+ 'name': json['name'],
33
+ };
34
+ }
35
+ export function OrganizationServiceProfileToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'serviceCode': value.serviceCode,
44
+ 'name': value.name,
45
+ };
46
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * User account and session management
3
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
+ *
5
+ * The version of the OpenAPI document: 6.6.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OrganizationServicesElement
16
+ */
17
+ export interface OrganizationServicesElement {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof OrganizationServicesElement
22
+ */
23
+ code: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof OrganizationServicesElement
28
+ */
29
+ externalId?: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the OrganizationServicesElement interface.
33
+ */
34
+ export declare function instanceOfOrganizationServicesElement(value: object): boolean;
35
+ export declare function OrganizationServicesElementFromJSON(json: any): OrganizationServicesElement;
36
+ export declare function OrganizationServicesElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationServicesElement;
37
+ export declare function OrganizationServicesElementToJSON(value?: OrganizationServicesElement | null): any;
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the OrganizationServicesElement interface.
17
+ */
18
+ export function instanceOfOrganizationServicesElement(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "code" in value;
21
+ return isInstance;
22
+ }
23
+ export function OrganizationServicesElementFromJSON(json) {
24
+ return OrganizationServicesElementFromJSONTyped(json, false);
25
+ }
26
+ export function OrganizationServicesElementFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'code': json['code'],
32
+ 'externalId': !exists(json, 'externalId') ? undefined : json['externalId'],
33
+ };
34
+ }
35
+ export function OrganizationServicesElementToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'code': value.code,
44
+ 'externalId': value.externalId,
45
+ };
46
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * User account and session management
3
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
+ *
5
+ * The version of the OpenAPI document: 6.6.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LocalizedString } from './LocalizedString';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface OrganizationSsoProvider
17
+ */
18
+ export interface OrganizationSsoProvider {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof OrganizationSsoProvider
23
+ */
24
+ code: string;
25
+ /**
26
+ *
27
+ * @type {LocalizedString}
28
+ * @memberof OrganizationSsoProvider
29
+ */
30
+ name: LocalizedString;
31
+ }
32
+ /**
33
+ * Check if a given object implements the OrganizationSsoProvider interface.
34
+ */
35
+ export declare function instanceOfOrganizationSsoProvider(value: object): boolean;
36
+ export declare function OrganizationSsoProviderFromJSON(json: any): OrganizationSsoProvider;
37
+ export declare function OrganizationSsoProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSsoProvider;
38
+ export declare function OrganizationSsoProviderToJSON(value?: OrganizationSsoProvider | null): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { LocalizedStringFromJSON, LocalizedStringToJSON, } from './LocalizedString';
15
+ /**
16
+ * Check if a given object implements the OrganizationSsoProvider interface.
17
+ */
18
+ export function instanceOfOrganizationSsoProvider(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "code" in value;
21
+ isInstance = isInstance && "name" in value;
22
+ return isInstance;
23
+ }
24
+ export function OrganizationSsoProviderFromJSON(json) {
25
+ return OrganizationSsoProviderFromJSONTyped(json, false);
26
+ }
27
+ export function OrganizationSsoProviderFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'code': json['code'],
33
+ 'name': LocalizedStringFromJSON(json['name']),
34
+ };
35
+ }
36
+ export function OrganizationSsoProviderToJSON(value) {
37
+ if (value === undefined) {
38
+ return undefined;
39
+ }
40
+ if (value === null) {
41
+ return null;
42
+ }
43
+ return {
44
+ 'code': value.code,
45
+ 'name': LocalizedStringToJSON(value.name),
46
+ };
47
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * User account and session management
3
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
+ *
5
+ * The version of the OpenAPI document: 6.6.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OrganizationUserServiceAssociation
16
+ */
17
+ export interface OrganizationUserServiceAssociation {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof OrganizationUserServiceAssociation
22
+ */
23
+ organizationUuid: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof OrganizationUserServiceAssociation
28
+ */
29
+ code: string;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: string; }}
33
+ * @memberof OrganizationUserServiceAssociation
34
+ */
35
+ options?: {
36
+ [key: string]: string;
37
+ } | null;
38
+ }
39
+ /**
40
+ * Check if a given object implements the OrganizationUserServiceAssociation interface.
41
+ */
42
+ export declare function instanceOfOrganizationUserServiceAssociation(value: object): boolean;
43
+ export declare function OrganizationUserServiceAssociationFromJSON(json: any): OrganizationUserServiceAssociation;
44
+ export declare function OrganizationUserServiceAssociationFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationUserServiceAssociation;
45
+ export declare function OrganizationUserServiceAssociationToJSON(value?: OrganizationUserServiceAssociation | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the OrganizationUserServiceAssociation interface.
17
+ */
18
+ export function instanceOfOrganizationUserServiceAssociation(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "organizationUuid" in value;
21
+ isInstance = isInstance && "code" in value;
22
+ return isInstance;
23
+ }
24
+ export function OrganizationUserServiceAssociationFromJSON(json) {
25
+ return OrganizationUserServiceAssociationFromJSONTyped(json, false);
26
+ }
27
+ export function OrganizationUserServiceAssociationFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'organizationUuid': json['organizationUuid'],
33
+ 'code': json['code'],
34
+ 'options': !exists(json, 'options') ? undefined : json['options'],
35
+ };
36
+ }
37
+ export function OrganizationUserServiceAssociationToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'organizationUuid': value.organizationUuid,
46
+ 'code': value.code,
47
+ 'options': value.options,
48
+ };
49
+ }
@@ -0,0 +1,73 @@
1
+ /**
2
+ * User account and session management
3
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
+ *
5
+ * The version of the OpenAPI document: 6.6.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PasswordPolicy
16
+ */
17
+ export interface PasswordPolicy {
18
+ /**
19
+ * Number of previous passwords kept to prevent reuse. Set to 0 to disable
20
+ * @type {number}
21
+ * @memberof PasswordPolicy
22
+ */
23
+ historyLength: number;
24
+ /**
25
+ * Number of days until password expires. Set to 0 to disable
26
+ * @type {number}
27
+ * @memberof PasswordPolicy
28
+ */
29
+ maxAge: number;
30
+ /**
31
+ * Number of days before password can be changed again. Set to 0 to disable
32
+ * @type {number}
33
+ * @memberof PasswordPolicy
34
+ */
35
+ minAge: number;
36
+ /**
37
+ * Minimum length of the password, must be greater than 1
38
+ * @type {number}
39
+ * @memberof PasswordPolicy
40
+ */
41
+ minLength: number;
42
+ /**
43
+ * Number of minutes for which user is locked after too many unsuccessful attempts
44
+ * @type {number}
45
+ * @memberof PasswordPolicy
46
+ */
47
+ lockoutDuration: number;
48
+ /**
49
+ * Number of consecutive unsuccessful login attempts needed to lock user
50
+ * @type {number}
51
+ * @memberof PasswordPolicy
52
+ */
53
+ lockoutAttemptsThreshold: number;
54
+ /**
55
+ * Number of minutes between unsuccessful login attempts to increase counter
56
+ * @type {number}
57
+ * @memberof PasswordPolicy
58
+ */
59
+ lockoutResetCounter: number;
60
+ /**
61
+ * Require password complexity
62
+ * @type {boolean}
63
+ * @memberof PasswordPolicy
64
+ */
65
+ complexityRequirement: boolean;
66
+ }
67
+ /**
68
+ * Check if a given object implements the PasswordPolicy interface.
69
+ */
70
+ export declare function instanceOfPasswordPolicy(value: object): boolean;
71
+ export declare function PasswordPolicyFromJSON(json: any): PasswordPolicy;
72
+ export declare function PasswordPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordPolicy;
73
+ export declare function PasswordPolicyToJSON(value?: PasswordPolicy | null): any;
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PasswordPolicy interface.
16
+ */
17
+ export function instanceOfPasswordPolicy(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "historyLength" in value;
20
+ isInstance = isInstance && "maxAge" in value;
21
+ isInstance = isInstance && "minAge" in value;
22
+ isInstance = isInstance && "minLength" in value;
23
+ isInstance = isInstance && "lockoutDuration" in value;
24
+ isInstance = isInstance && "lockoutAttemptsThreshold" in value;
25
+ isInstance = isInstance && "lockoutResetCounter" in value;
26
+ isInstance = isInstance && "complexityRequirement" in value;
27
+ return isInstance;
28
+ }
29
+ export function PasswordPolicyFromJSON(json) {
30
+ return PasswordPolicyFromJSONTyped(json, false);
31
+ }
32
+ export function PasswordPolicyFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'historyLength': json['historyLength'],
38
+ 'maxAge': json['maxAge'],
39
+ 'minAge': json['minAge'],
40
+ 'minLength': json['minLength'],
41
+ 'lockoutDuration': json['lockoutDuration'],
42
+ 'lockoutAttemptsThreshold': json['lockoutAttemptsThreshold'],
43
+ 'lockoutResetCounter': json['lockoutResetCounter'],
44
+ 'complexityRequirement': json['complexityRequirement'],
45
+ };
46
+ }
47
+ export function PasswordPolicyToJSON(value) {
48
+ if (value === undefined) {
49
+ return undefined;
50
+ }
51
+ if (value === null) {
52
+ return null;
53
+ }
54
+ return {
55
+ 'historyLength': value.historyLength,
56
+ 'maxAge': value.maxAge,
57
+ 'minAge': value.minAge,
58
+ 'minLength': value.minLength,
59
+ 'lockoutDuration': value.lockoutDuration,
60
+ 'lockoutAttemptsThreshold': value.lockoutAttemptsThreshold,
61
+ 'lockoutResetCounter': value.lockoutResetCounter,
62
+ 'complexityRequirement': value.complexityRequirement,
63
+ };
64
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * User account and session management
3
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
+ *
5
+ * The version of the OpenAPI document: 6.6.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Permission code
14
+ * @export
15
+ * @interface PermissionCode
16
+ */
17
+ export interface PermissionCode {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PermissionCode
22
+ */
23
+ code: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PermissionCode interface.
27
+ */
28
+ export declare function instanceOfPermissionCode(value: object): boolean;
29
+ export declare function PermissionCodeFromJSON(json: any): PermissionCode;
30
+ export declare function PermissionCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionCode;
31
+ export declare function PermissionCodeToJSON(value?: PermissionCode | null): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PermissionCode interface.
16
+ */
17
+ export function instanceOfPermissionCode(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "code" in value;
20
+ return isInstance;
21
+ }
22
+ export function PermissionCodeFromJSON(json) {
23
+ return PermissionCodeFromJSONTyped(json, false);
24
+ }
25
+ export function PermissionCodeFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'code': json['code'],
31
+ };
32
+ }
33
+ export function PermissionCodeToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'code': value.code,
42
+ };
43
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * User account and session management
3
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
+ *
5
+ * The version of the OpenAPI document: 6.6.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Information about the created permission
14
+ * @export
15
+ * @interface PermissionCreated
16
+ */
17
+ export interface PermissionCreated {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PermissionCreated
22
+ */
23
+ code: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PermissionCreated interface.
27
+ */
28
+ export declare function instanceOfPermissionCreated(value: object): boolean;
29
+ export declare function PermissionCreatedFromJSON(json: any): PermissionCreated;
30
+ export declare function PermissionCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionCreated;
31
+ export declare function PermissionCreatedToJSON(value?: PermissionCreated | null): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 6.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PermissionCreated interface.
16
+ */
17
+ export function instanceOfPermissionCreated(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "code" in value;
20
+ return isInstance;
21
+ }
22
+ export function PermissionCreatedFromJSON(json) {
23
+ return PermissionCreatedFromJSONTyped(json, false);
24
+ }
25
+ export function PermissionCreatedFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'code': json['code'],
31
+ };
32
+ }
33
+ export function PermissionCreatedToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'code': value.code,
42
+ };
43
+ }