@equisoft/account-service-sdk-typescript 7.3.1-snapshot.20240731130329 → 7.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 (449) hide show
  1. package/.openapi-generator/VERSION +1 -1
  2. package/.tool-versions +2 -2
  3. package/README.md +5 -4
  4. package/dist/apis/OAuthApi.d.ts +1 -1
  5. package/dist/apis/OAuthApi.js +10 -10
  6. package/dist/apis/OrganizationApi.d.ts +1 -1
  7. package/dist/apis/OrganizationApi.js +132 -132
  8. package/dist/apis/PermissionApi.d.ts +1 -1
  9. package/dist/apis/PermissionApi.js +7 -7
  10. package/dist/apis/RoleApi.d.ts +1 -1
  11. package/dist/apis/RoleApi.js +4 -4
  12. package/dist/apis/ServiceAccountApi.d.ts +1 -1
  13. package/dist/apis/ServiceAccountApi.js +23 -23
  14. package/dist/apis/SessionApi.d.ts +1 -1
  15. package/dist/apis/SessionApi.js +49 -49
  16. package/dist/apis/UserApi.d.ts +1 -1
  17. package/dist/apis/UserApi.js +159 -159
  18. package/dist/esm/apis/OAuthApi.d.ts +1 -1
  19. package/dist/esm/apis/OAuthApi.js +10 -10
  20. package/dist/esm/apis/OrganizationApi.d.ts +1 -1
  21. package/dist/esm/apis/OrganizationApi.js +132 -132
  22. package/dist/esm/apis/PermissionApi.d.ts +1 -1
  23. package/dist/esm/apis/PermissionApi.js +7 -7
  24. package/dist/esm/apis/RoleApi.d.ts +1 -1
  25. package/dist/esm/apis/RoleApi.js +4 -4
  26. package/dist/esm/apis/ServiceAccountApi.d.ts +1 -1
  27. package/dist/esm/apis/ServiceAccountApi.js +23 -23
  28. package/dist/esm/apis/SessionApi.d.ts +1 -1
  29. package/dist/esm/apis/SessionApi.js +49 -49
  30. package/dist/esm/apis/UserApi.d.ts +1 -1
  31. package/dist/esm/apis/UserApi.js +159 -159
  32. package/dist/esm/models/ApplyPermissionsPayload.d.ts +2 -2
  33. package/dist/esm/models/ApplyPermissionsPayload.js +11 -13
  34. package/dist/esm/models/AuthenticationUserAccount.d.ts +2 -2
  35. package/dist/esm/models/AuthenticationUserAccount.js +23 -21
  36. package/dist/esm/models/CreateOrUpdateOAuthClientPayload.d.ts +2 -2
  37. package/dist/esm/models/CreateOrUpdateOAuthClientPayload.js +30 -34
  38. package/dist/esm/models/CreateOrUpdateOrganizationPayload.d.ts +3 -3
  39. package/dist/esm/models/CreateOrUpdateOrganizationPayload.js +18 -21
  40. package/dist/esm/models/CreateOrUpdatePermissionPayload.d.ts +2 -2
  41. package/dist/esm/models/CreateOrUpdatePermissionPayload.js +8 -11
  42. package/dist/esm/models/CreateOrganizationPayload.d.ts +3 -3
  43. package/dist/esm/models/CreateOrganizationPayload.js +17 -21
  44. package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.d.ts +2 -2
  45. package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.js +7 -12
  46. package/dist/esm/models/CreateOrganizationUserServicePayload.d.ts +2 -2
  47. package/dist/esm/models/CreateOrganizationUserServicePayload.js +7 -12
  48. package/dist/esm/models/CreateRole.d.ts +2 -2
  49. package/dist/esm/models/CreateRole.js +11 -13
  50. package/dist/esm/models/CreateUserAccountPayload.d.ts +3 -3
  51. package/dist/esm/models/CreateUserAccountPayload.js +40 -39
  52. package/dist/esm/models/CreateUserAccountServiceAssociation.d.ts +2 -2
  53. package/dist/esm/models/CreateUserAccountServiceAssociation.js +13 -16
  54. package/dist/esm/models/DatabaseState.d.ts +2 -1
  55. package/dist/esm/models/DatabaseState.js +11 -1
  56. package/dist/esm/models/EnableEquisoftConnectPayload.d.ts +2 -2
  57. package/dist/esm/models/EnableEquisoftConnectPayload.js +7 -12
  58. package/dist/esm/models/ErrorMessage.d.ts +2 -1
  59. package/dist/esm/models/ErrorMessage.js +11 -1
  60. package/dist/esm/models/ErrorPayload.d.ts +2 -2
  61. package/dist/esm/models/ErrorPayload.js +10 -14
  62. package/dist/esm/models/Id.d.ts +2 -2
  63. package/dist/esm/models/Id.js +11 -13
  64. package/dist/esm/models/ImpersonatePayload.d.ts +2 -2
  65. package/dist/esm/models/ImpersonatePayload.js +8 -11
  66. package/dist/esm/models/LegacyRoleSchema.d.ts +2 -2
  67. package/dist/esm/models/LegacyRoleSchema.js +11 -13
  68. package/dist/esm/models/ListOrganizationElement.d.ts +2 -2
  69. package/dist/esm/models/ListOrganizationElement.js +19 -20
  70. package/dist/esm/models/ListUserOrganizations.d.ts +2 -2
  71. package/dist/esm/models/ListUserOrganizations.js +10 -14
  72. package/dist/esm/models/LocalizedString.d.ts +2 -2
  73. package/dist/esm/models/LocalizedString.js +11 -13
  74. package/dist/esm/models/LoginPayload.d.ts +2 -2
  75. package/dist/esm/models/LoginPayload.js +11 -13
  76. package/dist/esm/models/NewPasswordPayload.d.ts +2 -2
  77. package/dist/esm/models/NewPasswordPayload.js +8 -11
  78. package/dist/esm/models/OAuthClient.d.ts +2 -2
  79. package/dist/esm/models/OAuthClient.js +41 -36
  80. package/dist/esm/models/OAuthClientCreated.d.ts +2 -2
  81. package/dist/esm/models/OAuthClientCreated.js +8 -11
  82. package/dist/esm/models/OAuthClientPublicKey.d.ts +2 -2
  83. package/dist/esm/models/OAuthClientPublicKey.js +11 -13
  84. package/dist/esm/models/Organization.d.ts +3 -3
  85. package/dist/esm/models/Organization.js +33 -31
  86. package/dist/esm/models/OrganizationCreated.d.ts +2 -2
  87. package/dist/esm/models/OrganizationCreated.js +8 -11
  88. package/dist/esm/models/OrganizationPathElement.d.ts +2 -2
  89. package/dist/esm/models/OrganizationPathElement.js +11 -13
  90. package/dist/esm/models/OrganizationRoleAttribution.d.ts +2 -2
  91. package/dist/esm/models/OrganizationRoleAttribution.js +11 -13
  92. package/dist/esm/models/OrganizationRoleAttributionPermission.d.ts +2 -2
  93. package/dist/esm/models/OrganizationRoleAttributionPermission.js +11 -13
  94. package/dist/esm/models/OrganizationRoleAttributionRole.d.ts +3 -3
  95. package/dist/esm/models/OrganizationRoleAttributionRole.js +15 -16
  96. package/dist/esm/models/OrganizationRoleAttributionUser.d.ts +2 -2
  97. package/dist/esm/models/OrganizationRoleAttributionUser.js +17 -17
  98. package/dist/esm/models/OrganizationRoleAttributions.d.ts +2 -2
  99. package/dist/esm/models/OrganizationRoleAttributions.js +8 -11
  100. package/dist/esm/models/OrganizationServiceProfile.d.ts +2 -2
  101. package/dist/esm/models/OrganizationServiceProfile.js +11 -13
  102. package/dist/esm/models/OrganizationServicesElement.d.ts +2 -2
  103. package/dist/esm/models/OrganizationServicesElement.js +10 -14
  104. package/dist/esm/models/OrganizationSsoProvider.d.ts +2 -2
  105. package/dist/esm/models/OrganizationSsoProvider.js +11 -13
  106. package/dist/esm/models/OrganizationUserServiceAssociation.d.ts +2 -2
  107. package/dist/esm/models/OrganizationUserServiceAssociation.js +13 -16
  108. package/dist/esm/models/PasswordPolicy.d.ts +2 -2
  109. package/dist/esm/models/PasswordPolicy.js +29 -25
  110. package/dist/esm/models/PermissionCode.d.ts +2 -2
  111. package/dist/esm/models/PermissionCode.js +8 -11
  112. package/dist/esm/models/PermissionCreated.d.ts +2 -2
  113. package/dist/esm/models/PermissionCreated.js +8 -11
  114. package/dist/esm/models/PermissionList.d.ts +2 -2
  115. package/dist/esm/models/PermissionList.js +8 -11
  116. package/dist/esm/models/PermissionResourceType.d.ts +2 -1
  117. package/dist/esm/models/PermissionResourceType.js +11 -1
  118. package/dist/esm/models/Role.d.ts +2 -2
  119. package/dist/esm/models/Role.js +14 -15
  120. package/dist/esm/models/RoleCreated.d.ts +2 -2
  121. package/dist/esm/models/RoleCreated.js +14 -15
  122. package/dist/esm/models/RolesOnOrganization.d.ts +4 -4
  123. package/dist/esm/models/RolesOnOrganization.js +22 -21
  124. package/dist/esm/models/SendResetPasswordLinkPayload.d.ts +2 -2
  125. package/dist/esm/models/SendResetPasswordLinkPayload.js +9 -14
  126. package/dist/esm/models/SendSignupInvitationPayload.d.ts +2 -2
  127. package/dist/esm/models/SendSignupInvitationPayload.js +25 -26
  128. package/dist/esm/models/ServiceAccess.d.ts +2 -2
  129. package/dist/esm/models/ServiceAccess.js +18 -22
  130. package/dist/esm/models/ServiceAccountCreationSchema.d.ts +2 -2
  131. package/dist/esm/models/ServiceAccountCreationSchema.js +20 -19
  132. package/dist/esm/models/ServiceAccountSchema.d.ts +2 -2
  133. package/dist/esm/models/ServiceAccountSchema.js +28 -26
  134. package/dist/esm/models/ServiceAccountStatus.d.ts +2 -1
  135. package/dist/esm/models/ServiceAccountStatus.js +11 -1
  136. package/dist/esm/models/ServiceAccountUpdateSchema.d.ts +2 -2
  137. package/dist/esm/models/ServiceAccountUpdateSchema.js +13 -18
  138. package/dist/esm/models/ServiceAccountUuidSchema.d.ts +2 -2
  139. package/dist/esm/models/ServiceAccountUuidSchema.js +8 -11
  140. package/dist/esm/models/ServiceName.d.ts +2 -1
  141. package/dist/esm/models/ServiceName.js +11 -1
  142. package/dist/esm/models/Session.d.ts +3 -3
  143. package/dist/esm/models/Session.js +36 -33
  144. package/dist/esm/models/SessionPayload.d.ts +2 -2
  145. package/dist/esm/models/SessionPayload.js +19 -22
  146. package/dist/esm/models/SessionPolicy.d.ts +2 -2
  147. package/dist/esm/models/SessionPolicy.js +9 -14
  148. package/dist/esm/models/SessionState.d.ts +2 -1
  149. package/dist/esm/models/SessionState.js +11 -1
  150. package/dist/esm/models/SetPasswordByConfirmationHashPayload.d.ts +2 -2
  151. package/dist/esm/models/SetPasswordByConfirmationHashPayload.js +8 -11
  152. package/dist/esm/models/SetUserAccountPasswordPayload.d.ts +2 -2
  153. package/dist/esm/models/SetUserAccountPasswordPayload.js +13 -16
  154. package/dist/esm/models/SsoProvider.d.ts +2 -2
  155. package/dist/esm/models/SsoProvider.js +11 -13
  156. package/dist/esm/models/SsoToken.d.ts +2 -2
  157. package/dist/esm/models/SsoToken.js +11 -13
  158. package/dist/esm/models/UpdateOwnerOrganizationPayload.d.ts +2 -2
  159. package/dist/esm/models/UpdateOwnerOrganizationPayload.js +8 -11
  160. package/dist/esm/models/UpdateParentOrganizationPayload.d.ts +2 -2
  161. package/dist/esm/models/UpdateParentOrganizationPayload.js +8 -11
  162. package/dist/esm/models/UpdateUserAccountPayload.d.ts +2 -2
  163. package/dist/esm/models/UpdateUserAccountPayload.js +17 -20
  164. package/dist/esm/models/UpdateUserAccountSsoPayload.d.ts +2 -2
  165. package/dist/esm/models/UpdateUserAccountSsoPayload.js +10 -14
  166. package/dist/esm/models/UpsertServicePayload.d.ts +2 -2
  167. package/dist/esm/models/UpsertServicePayload.js +7 -12
  168. package/dist/esm/models/User.d.ts +5 -5
  169. package/dist/esm/models/User.js +71 -61
  170. package/dist/esm/models/UserAccountOrganizationRoles.d.ts +3 -3
  171. package/dist/esm/models/UserAccountOrganizationRoles.js +15 -16
  172. package/dist/esm/models/UserAccountPermission.d.ts +2 -2
  173. package/dist/esm/models/UserAccountPermission.js +11 -13
  174. package/dist/esm/models/UserAccountRole.d.ts +2 -2
  175. package/dist/esm/models/UserAccountRole.js +11 -13
  176. package/dist/esm/models/UserAccountRoleAttributions.d.ts +2 -2
  177. package/dist/esm/models/UserAccountRoleAttributions.js +8 -11
  178. package/dist/esm/models/UserAccountSearchResult.d.ts +6 -6
  179. package/dist/esm/models/UserAccountSearchResult.js +68 -59
  180. package/dist/esm/models/UserAgreement.d.ts +2 -2
  181. package/dist/esm/models/UserAgreement.js +8 -11
  182. package/dist/esm/models/UserAgreementState.d.ts +2 -1
  183. package/dist/esm/models/UserAgreementState.js +11 -1
  184. package/dist/esm/models/UserPermissions.d.ts +3 -3
  185. package/dist/esm/models/UserPermissions.js +12 -14
  186. package/dist/esm/models/UserServiceAssociation.d.ts +2 -2
  187. package/dist/esm/models/UserServiceAssociation.js +18 -20
  188. package/dist/esm/models/UserSsoProvider.d.ts +2 -2
  189. package/dist/esm/models/UserSsoProvider.js +8 -11
  190. package/dist/esm/models/UserState.d.ts +2 -1
  191. package/dist/esm/models/UserState.js +11 -1
  192. package/dist/esm/models/UserUuid.d.ts +2 -2
  193. package/dist/esm/models/UserUuid.js +8 -11
  194. package/dist/esm/runtime.d.ts +3 -4
  195. package/dist/esm/runtime.js +1 -5
  196. package/dist/models/ApplyPermissionsPayload.d.ts +2 -2
  197. package/dist/models/ApplyPermissionsPayload.js +15 -18
  198. package/dist/models/AuthenticationUserAccount.d.ts +2 -2
  199. package/dist/models/AuthenticationUserAccount.js +27 -26
  200. package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +2 -2
  201. package/dist/models/CreateOrUpdateOAuthClientPayload.js +34 -39
  202. package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +3 -3
  203. package/dist/models/CreateOrUpdateOrganizationPayload.js +22 -26
  204. package/dist/models/CreateOrUpdatePermissionPayload.d.ts +2 -2
  205. package/dist/models/CreateOrUpdatePermissionPayload.js +12 -16
  206. package/dist/models/CreateOrganizationPayload.d.ts +3 -3
  207. package/dist/models/CreateOrganizationPayload.js +21 -26
  208. package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +2 -2
  209. package/dist/models/CreateOrganizationUserServiceOptionPayload.js +11 -17
  210. package/dist/models/CreateOrganizationUserServicePayload.d.ts +2 -2
  211. package/dist/models/CreateOrganizationUserServicePayload.js +11 -17
  212. package/dist/models/CreateRole.d.ts +2 -2
  213. package/dist/models/CreateRole.js +15 -18
  214. package/dist/models/CreateUserAccountPayload.d.ts +3 -3
  215. package/dist/models/CreateUserAccountPayload.js +44 -44
  216. package/dist/models/CreateUserAccountServiceAssociation.d.ts +2 -2
  217. package/dist/models/CreateUserAccountServiceAssociation.js +17 -21
  218. package/dist/models/DatabaseState.d.ts +2 -1
  219. package/dist/models/DatabaseState.js +16 -5
  220. package/dist/models/EnableEquisoftConnectPayload.d.ts +2 -2
  221. package/dist/models/EnableEquisoftConnectPayload.js +11 -17
  222. package/dist/models/ErrorMessage.d.ts +2 -1
  223. package/dist/models/ErrorMessage.js +16 -5
  224. package/dist/models/ErrorPayload.d.ts +2 -2
  225. package/dist/models/ErrorPayload.js +14 -19
  226. package/dist/models/Id.d.ts +2 -2
  227. package/dist/models/Id.js +15 -18
  228. package/dist/models/ImpersonatePayload.d.ts +2 -2
  229. package/dist/models/ImpersonatePayload.js +12 -16
  230. package/dist/models/LegacyRoleSchema.d.ts +2 -2
  231. package/dist/models/LegacyRoleSchema.js +15 -18
  232. package/dist/models/ListOrganizationElement.d.ts +2 -2
  233. package/dist/models/ListOrganizationElement.js +23 -25
  234. package/dist/models/ListUserOrganizations.d.ts +2 -2
  235. package/dist/models/ListUserOrganizations.js +14 -19
  236. package/dist/models/LocalizedString.d.ts +2 -2
  237. package/dist/models/LocalizedString.js +15 -18
  238. package/dist/models/LoginPayload.d.ts +2 -2
  239. package/dist/models/LoginPayload.js +15 -18
  240. package/dist/models/NewPasswordPayload.d.ts +2 -2
  241. package/dist/models/NewPasswordPayload.js +12 -16
  242. package/dist/models/OAuthClient.d.ts +2 -2
  243. package/dist/models/OAuthClient.js +45 -41
  244. package/dist/models/OAuthClientCreated.d.ts +2 -2
  245. package/dist/models/OAuthClientCreated.js +12 -16
  246. package/dist/models/OAuthClientPublicKey.d.ts +2 -2
  247. package/dist/models/OAuthClientPublicKey.js +15 -18
  248. package/dist/models/Organization.d.ts +3 -3
  249. package/dist/models/Organization.js +37 -36
  250. package/dist/models/OrganizationCreated.d.ts +2 -2
  251. package/dist/models/OrganizationCreated.js +12 -16
  252. package/dist/models/OrganizationPathElement.d.ts +2 -2
  253. package/dist/models/OrganizationPathElement.js +15 -18
  254. package/dist/models/OrganizationRoleAttribution.d.ts +2 -2
  255. package/dist/models/OrganizationRoleAttribution.js +15 -18
  256. package/dist/models/OrganizationRoleAttributionPermission.d.ts +2 -2
  257. package/dist/models/OrganizationRoleAttributionPermission.js +15 -18
  258. package/dist/models/OrganizationRoleAttributionRole.d.ts +3 -3
  259. package/dist/models/OrganizationRoleAttributionRole.js +19 -21
  260. package/dist/models/OrganizationRoleAttributionUser.d.ts +2 -2
  261. package/dist/models/OrganizationRoleAttributionUser.js +21 -22
  262. package/dist/models/OrganizationRoleAttributions.d.ts +2 -2
  263. package/dist/models/OrganizationRoleAttributions.js +12 -16
  264. package/dist/models/OrganizationServiceProfile.d.ts +2 -2
  265. package/dist/models/OrganizationServiceProfile.js +15 -18
  266. package/dist/models/OrganizationServicesElement.d.ts +2 -2
  267. package/dist/models/OrganizationServicesElement.js +14 -19
  268. package/dist/models/OrganizationSsoProvider.d.ts +2 -2
  269. package/dist/models/OrganizationSsoProvider.js +15 -18
  270. package/dist/models/OrganizationUserServiceAssociation.d.ts +2 -2
  271. package/dist/models/OrganizationUserServiceAssociation.js +17 -21
  272. package/dist/models/PasswordPolicy.d.ts +2 -2
  273. package/dist/models/PasswordPolicy.js +33 -30
  274. package/dist/models/PermissionCode.d.ts +2 -2
  275. package/dist/models/PermissionCode.js +12 -16
  276. package/dist/models/PermissionCreated.d.ts +2 -2
  277. package/dist/models/PermissionCreated.js +12 -16
  278. package/dist/models/PermissionList.d.ts +2 -2
  279. package/dist/models/PermissionList.js +12 -16
  280. package/dist/models/PermissionResourceType.d.ts +2 -1
  281. package/dist/models/PermissionResourceType.js +16 -5
  282. package/dist/models/Role.d.ts +2 -2
  283. package/dist/models/Role.js +18 -20
  284. package/dist/models/RoleCreated.d.ts +2 -2
  285. package/dist/models/RoleCreated.js +18 -20
  286. package/dist/models/RolesOnOrganization.d.ts +4 -4
  287. package/dist/models/RolesOnOrganization.js +26 -26
  288. package/dist/models/SendResetPasswordLinkPayload.d.ts +2 -2
  289. package/dist/models/SendResetPasswordLinkPayload.js +13 -19
  290. package/dist/models/SendSignupInvitationPayload.d.ts +2 -2
  291. package/dist/models/SendSignupInvitationPayload.js +29 -31
  292. package/dist/models/ServiceAccess.d.ts +2 -2
  293. package/dist/models/ServiceAccess.js +22 -27
  294. package/dist/models/ServiceAccountCreationSchema.d.ts +2 -2
  295. package/dist/models/ServiceAccountCreationSchema.js +24 -24
  296. package/dist/models/ServiceAccountSchema.d.ts +2 -2
  297. package/dist/models/ServiceAccountSchema.js +32 -31
  298. package/dist/models/ServiceAccountStatus.d.ts +2 -1
  299. package/dist/models/ServiceAccountStatus.js +16 -5
  300. package/dist/models/ServiceAccountUpdateSchema.d.ts +2 -2
  301. package/dist/models/ServiceAccountUpdateSchema.js +17 -23
  302. package/dist/models/ServiceAccountUuidSchema.d.ts +2 -2
  303. package/dist/models/ServiceAccountUuidSchema.js +12 -16
  304. package/dist/models/ServiceName.d.ts +2 -1
  305. package/dist/models/ServiceName.js +16 -5
  306. package/dist/models/Session.d.ts +3 -3
  307. package/dist/models/Session.js +40 -38
  308. package/dist/models/SessionPayload.d.ts +2 -2
  309. package/dist/models/SessionPayload.js +23 -27
  310. package/dist/models/SessionPolicy.d.ts +2 -2
  311. package/dist/models/SessionPolicy.js +13 -19
  312. package/dist/models/SessionState.d.ts +2 -1
  313. package/dist/models/SessionState.js +16 -5
  314. package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +2 -2
  315. package/dist/models/SetPasswordByConfirmationHashPayload.js +12 -16
  316. package/dist/models/SetUserAccountPasswordPayload.d.ts +2 -2
  317. package/dist/models/SetUserAccountPasswordPayload.js +17 -21
  318. package/dist/models/SsoProvider.d.ts +2 -2
  319. package/dist/models/SsoProvider.js +15 -18
  320. package/dist/models/SsoToken.d.ts +2 -2
  321. package/dist/models/SsoToken.js +15 -18
  322. package/dist/models/UpdateOwnerOrganizationPayload.d.ts +2 -2
  323. package/dist/models/UpdateOwnerOrganizationPayload.js +12 -16
  324. package/dist/models/UpdateParentOrganizationPayload.d.ts +2 -2
  325. package/dist/models/UpdateParentOrganizationPayload.js +12 -16
  326. package/dist/models/UpdateUserAccountPayload.d.ts +2 -2
  327. package/dist/models/UpdateUserAccountPayload.js +21 -25
  328. package/dist/models/UpdateUserAccountSsoPayload.d.ts +2 -2
  329. package/dist/models/UpdateUserAccountSsoPayload.js +14 -19
  330. package/dist/models/UpsertServicePayload.d.ts +2 -2
  331. package/dist/models/UpsertServicePayload.js +11 -17
  332. package/dist/models/User.d.ts +5 -5
  333. package/dist/models/User.js +75 -66
  334. package/dist/models/UserAccountOrganizationRoles.d.ts +3 -3
  335. package/dist/models/UserAccountOrganizationRoles.js +19 -21
  336. package/dist/models/UserAccountPermission.d.ts +2 -2
  337. package/dist/models/UserAccountPermission.js +15 -18
  338. package/dist/models/UserAccountRole.d.ts +2 -2
  339. package/dist/models/UserAccountRole.js +15 -18
  340. package/dist/models/UserAccountRoleAttributions.d.ts +2 -2
  341. package/dist/models/UserAccountRoleAttributions.js +12 -16
  342. package/dist/models/UserAccountSearchResult.d.ts +6 -6
  343. package/dist/models/UserAccountSearchResult.js +72 -64
  344. package/dist/models/UserAgreement.d.ts +2 -2
  345. package/dist/models/UserAgreement.js +12 -16
  346. package/dist/models/UserAgreementState.d.ts +2 -1
  347. package/dist/models/UserAgreementState.js +16 -5
  348. package/dist/models/UserPermissions.d.ts +3 -3
  349. package/dist/models/UserPermissions.js +16 -19
  350. package/dist/models/UserServiceAssociation.d.ts +2 -2
  351. package/dist/models/UserServiceAssociation.js +22 -25
  352. package/dist/models/UserSsoProvider.d.ts +2 -2
  353. package/dist/models/UserSsoProvider.js +12 -16
  354. package/dist/models/UserState.d.ts +2 -1
  355. package/dist/models/UserState.js +16 -5
  356. package/dist/models/UserUuid.d.ts +2 -2
  357. package/dist/models/UserUuid.js +12 -16
  358. package/dist/runtime.d.ts +3 -4
  359. package/dist/runtime.js +5 -10
  360. package/package.json +2 -2
  361. package/src/apis/OAuthApi.ts +19 -10
  362. package/src/apis/OrganizationApi.ts +273 -132
  363. package/src/apis/PermissionApi.ts +13 -7
  364. package/src/apis/RoleApi.ts +7 -4
  365. package/src/apis/ServiceAccountApi.ts +39 -21
  366. package/src/apis/SessionApi.ts +97 -49
  367. package/src/apis/UserApi.ts +307 -157
  368. package/src/models/ApplyPermissionsPayload.ts +11 -16
  369. package/src/models/AuthenticationUserAccount.ts +19 -24
  370. package/src/models/CreateOrUpdateOAuthClientPayload.ts +31 -36
  371. package/src/models/CreateOrUpdateOrganizationPayload.ts +23 -28
  372. package/src/models/CreateOrUpdatePermissionPayload.ts +9 -14
  373. package/src/models/CreateOrganizationPayload.ts +23 -28
  374. package/src/models/CreateOrganizationUserServiceOptionPayload.ts +9 -14
  375. package/src/models/CreateOrganizationUserServicePayload.ts +9 -14
  376. package/src/models/CreateRole.ts +11 -16
  377. package/src/models/CreateUserAccountPayload.ts +41 -46
  378. package/src/models/CreateUserAccountServiceAssociation.ts +13 -18
  379. package/src/models/DatabaseState.ts +12 -1
  380. package/src/models/EnableEquisoftConnectPayload.ts +9 -14
  381. package/src/models/ErrorMessage.ts +12 -1
  382. package/src/models/ErrorPayload.ts +11 -16
  383. package/src/models/Id.ts +11 -16
  384. package/src/models/ImpersonatePayload.ts +9 -14
  385. package/src/models/LegacyRoleSchema.ts +11 -16
  386. package/src/models/ListOrganizationElement.ts +17 -22
  387. package/src/models/ListUserOrganizations.ts +11 -16
  388. package/src/models/LocalizedString.ts +11 -16
  389. package/src/models/LoginPayload.ts +11 -16
  390. package/src/models/NewPasswordPayload.ts +9 -14
  391. package/src/models/OAuthClient.ts +33 -38
  392. package/src/models/OAuthClientCreated.ts +9 -14
  393. package/src/models/OAuthClientPublicKey.ts +11 -16
  394. package/src/models/Organization.ts +33 -38
  395. package/src/models/OrganizationCreated.ts +9 -14
  396. package/src/models/OrganizationPathElement.ts +11 -16
  397. package/src/models/OrganizationRoleAttribution.ts +11 -16
  398. package/src/models/OrganizationRoleAttributionPermission.ts +11 -16
  399. package/src/models/OrganizationRoleAttributionRole.ts +19 -24
  400. package/src/models/OrganizationRoleAttributionUser.ts +15 -20
  401. package/src/models/OrganizationRoleAttributions.ts +9 -14
  402. package/src/models/OrganizationServiceProfile.ts +11 -16
  403. package/src/models/OrganizationServicesElement.ts +11 -16
  404. package/src/models/OrganizationSsoProvider.ts +11 -16
  405. package/src/models/OrganizationUserServiceAssociation.ts +13 -18
  406. package/src/models/PasswordPolicy.ts +23 -28
  407. package/src/models/PermissionCode.ts +9 -14
  408. package/src/models/PermissionCreated.ts +9 -14
  409. package/src/models/PermissionList.ts +9 -14
  410. package/src/models/PermissionResourceType.ts +12 -1
  411. package/src/models/Role.ts +13 -18
  412. package/src/models/RoleCreated.ts +13 -18
  413. package/src/models/RolesOnOrganization.ts +29 -34
  414. package/src/models/SendResetPasswordLinkPayload.ts +11 -16
  415. package/src/models/SendSignupInvitationPayload.ts +23 -28
  416. package/src/models/ServiceAccess.ts +19 -24
  417. package/src/models/ServiceAccountCreationSchema.ts +17 -22
  418. package/src/models/ServiceAccountSchema.ts +23 -28
  419. package/src/models/ServiceAccountStatus.ts +12 -1
  420. package/src/models/ServiceAccountUpdateSchema.ts +15 -20
  421. package/src/models/ServiceAccountUuidSchema.ts +9 -14
  422. package/src/models/ServiceName.ts +12 -1
  423. package/src/models/Session.ts +35 -40
  424. package/src/models/SessionPayload.ts +19 -24
  425. package/src/models/SessionPolicy.ts +11 -16
  426. package/src/models/SessionState.ts +12 -1
  427. package/src/models/SetPasswordByConfirmationHashPayload.ts +9 -14
  428. package/src/models/SetUserAccountPasswordPayload.ts +13 -18
  429. package/src/models/SsoProvider.ts +11 -16
  430. package/src/models/SsoToken.ts +11 -16
  431. package/src/models/UpdateOwnerOrganizationPayload.ts +9 -14
  432. package/src/models/UpdateParentOrganizationPayload.ts +9 -14
  433. package/src/models/UpdateUserAccountPayload.ts +17 -22
  434. package/src/models/UpdateUserAccountSsoPayload.ts +11 -16
  435. package/src/models/UpsertServicePayload.ts +9 -14
  436. package/src/models/User.ts +68 -74
  437. package/src/models/UserAccountOrganizationRoles.ts +19 -24
  438. package/src/models/UserAccountPermission.ts +11 -16
  439. package/src/models/UserAccountRole.ts +11 -16
  440. package/src/models/UserAccountRoleAttributions.ts +9 -14
  441. package/src/models/UserAccountSearchResult.ts +67 -73
  442. package/src/models/UserAgreement.ts +9 -14
  443. package/src/models/UserAgreementState.ts +12 -1
  444. package/src/models/UserPermissions.ts +17 -22
  445. package/src/models/UserServiceAssociation.ts +17 -22
  446. package/src/models/UserSsoProvider.ts +9 -14
  447. package/src/models/UserState.ts +12 -1
  448. package/src/models/UserUuid.ts +9 -14
  449. package/src/runtime.ts +4 -9
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 7.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,15 +15,15 @@
15
15
  * Check if a given object implements the UserSsoProvider interface.
16
16
  */
17
17
  export function instanceOfUserSsoProvider(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "code" in value;
20
- return isInstance;
18
+ if (!('code' in value) || value['code'] === undefined)
19
+ return false;
20
+ return true;
21
21
  }
22
22
  export function UserSsoProviderFromJSON(json) {
23
23
  return UserSsoProviderFromJSONTyped(json, false);
24
24
  }
25
25
  export function UserSsoProviderFromJSONTyped(json, ignoreDiscriminator) {
26
- if ((json === undefined) || (json === null)) {
26
+ if (json == null) {
27
27
  return json;
28
28
  }
29
29
  return {
@@ -31,13 +31,10 @@ export function UserSsoProviderFromJSONTyped(json, ignoreDiscriminator) {
31
31
  };
32
32
  }
33
33
  export function UserSsoProviderToJSON(value) {
34
- if (value === undefined) {
35
- return undefined;
36
- }
37
- if (value === null) {
38
- return null;
34
+ if (value == null) {
35
+ return value;
39
36
  }
40
37
  return {
41
- 'code': value.code,
38
+ 'code': value['code'],
42
39
  };
43
40
  }
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 7.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -24,6 +24,7 @@ export declare const UserState: {
24
24
  readonly unknown_default_open_api: "11184809";
25
25
  };
26
26
  export type UserState = typeof UserState[keyof typeof UserState];
27
+ export declare function instanceOfUserState(value: any): boolean;
27
28
  export declare function UserStateFromJSON(json: any): UserState;
28
29
  export declare function UserStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserState;
29
30
  export declare function UserStateToJSON(value?: UserState | null): any;
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 7.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,6 +25,16 @@ export const UserState = {
25
25
  ENABLED: 'ENABLED',
26
26
  unknown_default_open_api: '11184809'
27
27
  };
28
+ export function instanceOfUserState(value) {
29
+ for (const key in UserState) {
30
+ if (Object.prototype.hasOwnProperty.call(UserState, key)) {
31
+ if (UserState[key] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
28
38
  export function UserStateFromJSON(json) {
29
39
  return UserStateFromJSONTyped(json, false);
30
40
  }
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 7.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,7 @@ export interface UserUuid {
25
25
  /**
26
26
  * Check if a given object implements the UserUuid interface.
27
27
  */
28
- export declare function instanceOfUserUuid(value: object): boolean;
28
+ export declare function instanceOfUserUuid(value: object): value is UserUuid;
29
29
  export declare function UserUuidFromJSON(json: any): UserUuid;
30
30
  export declare function UserUuidFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserUuid;
31
31
  export declare function UserUuidToJSON(value?: UserUuid | null): any;
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 7.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,15 +15,15 @@
15
15
  * Check if a given object implements the UserUuid interface.
16
16
  */
17
17
  export function instanceOfUserUuid(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "uuid" in value;
20
- return isInstance;
18
+ if (!('uuid' in value) || value['uuid'] === undefined)
19
+ return false;
20
+ return true;
21
21
  }
22
22
  export function UserUuidFromJSON(json) {
23
23
  return UserUuidFromJSONTyped(json, false);
24
24
  }
25
25
  export function UserUuidFromJSONTyped(json, ignoreDiscriminator) {
26
- if ((json === undefined) || (json === null)) {
26
+ if (json == null) {
27
27
  return json;
28
28
  }
29
29
  return {
@@ -31,13 +31,10 @@ export function UserUuidFromJSONTyped(json, ignoreDiscriminator) {
31
31
  };
32
32
  }
33
33
  export function UserUuidToJSON(value) {
34
- if (value === undefined) {
35
- return undefined;
36
- }
37
- if (value === null) {
38
- return null;
34
+ if (value == null) {
35
+ return value;
39
36
  }
40
37
  return {
41
- 'uuid': value.uuid,
38
+ 'uuid': value['uuid'],
42
39
  };
43
40
  }
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 7.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ export interface ConfigurationParameters {
17
17
  queryParamsStringify?: (params: HTTPQuery) => string;
18
18
  username?: string;
19
19
  password?: string;
20
- apiKey?: string | ((name: string) => string);
20
+ apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
21
21
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
22
22
  headers?: HTTPHeaders;
23
23
  credentials?: RequestCredentials;
@@ -32,7 +32,7 @@ export declare class Configuration {
32
32
  get queryParamsStringify(): (params: HTTPQuery) => string;
33
33
  get username(): string | undefined;
34
34
  get password(): string | undefined;
35
- get apiKey(): ((name: string) => string) | undefined;
35
+ get apiKey(): ((name: string) => string | Promise<string>) | undefined;
36
36
  get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
37
37
  get headers(): HTTPHeaders | undefined;
38
38
  get credentials(): RequestCredentials | undefined;
@@ -122,7 +122,6 @@ export interface RequestOpts {
122
122
  query?: HTTPQuery;
123
123
  body?: HTTPBody;
124
124
  }
125
- export declare function exists(json: any, key: string): boolean;
126
125
  export declare function querystring(params: HTTPQuery, prefix?: string): string;
127
126
  export declare function mapValues(data: any, fn: (item: any) => any): {};
128
127
  export declare function canConsumeForm(consumes: Consume[]): boolean;
@@ -4,7 +4,7 @@
4
4
  * User account and session management
5
5
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
6
  *
7
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 7.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -245,10 +245,6 @@ export const COLLECTION_FORMATS = {
245
245
  tsv: "\t",
246
246
  pipes: "|",
247
247
  };
248
- export function exists(json, key) {
249
- const value = json[key];
250
- return value !== null && value !== undefined;
251
- }
252
248
  export function querystring(params, prefix = '') {
253
249
  return Object.keys(params)
254
250
  .map(key => querystringSingleKey(key, params[key], prefix))
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 7.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,7 @@ export interface ApplyPermissionsPayload {
32
32
  /**
33
33
  * Check if a given object implements the ApplyPermissionsPayload interface.
34
34
  */
35
- export declare function instanceOfApplyPermissionsPayload(value: object): boolean;
35
+ export declare function instanceOfApplyPermissionsPayload(value: object): value is ApplyPermissionsPayload;
36
36
  export declare function ApplyPermissionsPayloadFromJSON(json: any): ApplyPermissionsPayload;
37
37
  export declare function ApplyPermissionsPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplyPermissionsPayload;
38
38
  export declare function ApplyPermissionsPayloadToJSON(value?: ApplyPermissionsPayload | null): any;
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 7.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,24 +13,26 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ApplyPermissionsPayloadToJSON = exports.ApplyPermissionsPayloadFromJSONTyped = exports.ApplyPermissionsPayloadFromJSON = exports.instanceOfApplyPermissionsPayload = void 0;
16
+ exports.instanceOfApplyPermissionsPayload = instanceOfApplyPermissionsPayload;
17
+ exports.ApplyPermissionsPayloadFromJSON = ApplyPermissionsPayloadFromJSON;
18
+ exports.ApplyPermissionsPayloadFromJSONTyped = ApplyPermissionsPayloadFromJSONTyped;
19
+ exports.ApplyPermissionsPayloadToJSON = ApplyPermissionsPayloadToJSON;
17
20
  const PermissionResourceType_1 = require("./PermissionResourceType");
18
21
  /**
19
22
  * Check if a given object implements the ApplyPermissionsPayload interface.
20
23
  */
21
24
  function instanceOfApplyPermissionsPayload(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "resourceType" in value;
24
- isInstance = isInstance && "resourceUuid" in value;
25
- return isInstance;
25
+ if (!('resourceType' in value) || value['resourceType'] === undefined)
26
+ return false;
27
+ if (!('resourceUuid' in value) || value['resourceUuid'] === undefined)
28
+ return false;
29
+ return true;
26
30
  }
27
- exports.instanceOfApplyPermissionsPayload = instanceOfApplyPermissionsPayload;
28
31
  function ApplyPermissionsPayloadFromJSON(json) {
29
32
  return ApplyPermissionsPayloadFromJSONTyped(json, false);
30
33
  }
31
- exports.ApplyPermissionsPayloadFromJSON = ApplyPermissionsPayloadFromJSON;
32
34
  function ApplyPermissionsPayloadFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
35
+ if (json == null) {
34
36
  return json;
35
37
  }
36
38
  return {
@@ -38,17 +40,12 @@ function ApplyPermissionsPayloadFromJSONTyped(json, ignoreDiscriminator) {
38
40
  'resourceUuid': json['resourceUuid'],
39
41
  };
40
42
  }
41
- exports.ApplyPermissionsPayloadFromJSONTyped = ApplyPermissionsPayloadFromJSONTyped;
42
43
  function ApplyPermissionsPayloadToJSON(value) {
43
- if (value === undefined) {
44
- return undefined;
45
- }
46
- if (value === null) {
47
- return null;
44
+ if (value == null) {
45
+ return value;
48
46
  }
49
47
  return {
50
- 'resourceType': (0, PermissionResourceType_1.PermissionResourceTypeToJSON)(value.resourceType),
51
- 'resourceUuid': value.resourceUuid,
48
+ 'resourceType': (0, PermissionResourceType_1.PermissionResourceTypeToJSON)(value['resourceType']),
49
+ 'resourceUuid': value['resourceUuid'],
52
50
  };
53
51
  }
54
- exports.ApplyPermissionsPayloadToJSON = ApplyPermissionsPayloadToJSON;
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 7.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -55,7 +55,7 @@ export interface AuthenticationUserAccount {
55
55
  /**
56
56
  * Check if a given object implements the AuthenticationUserAccount interface.
57
57
  */
58
- export declare function instanceOfAuthenticationUserAccount(value: object): boolean;
58
+ export declare function instanceOfAuthenticationUserAccount(value: object): value is AuthenticationUserAccount;
59
59
  export declare function AuthenticationUserAccountFromJSON(json: any): AuthenticationUserAccount;
60
60
  export declare function AuthenticationUserAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationUserAccount;
61
61
  export declare function AuthenticationUserAccountToJSON(value?: AuthenticationUserAccount | null): any;
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 7.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,27 +13,33 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AuthenticationUserAccountToJSON = exports.AuthenticationUserAccountFromJSONTyped = exports.AuthenticationUserAccountFromJSON = exports.instanceOfAuthenticationUserAccount = void 0;
16
+ exports.instanceOfAuthenticationUserAccount = instanceOfAuthenticationUserAccount;
17
+ exports.AuthenticationUserAccountFromJSON = AuthenticationUserAccountFromJSON;
18
+ exports.AuthenticationUserAccountFromJSONTyped = AuthenticationUserAccountFromJSONTyped;
19
+ exports.AuthenticationUserAccountToJSON = AuthenticationUserAccountToJSON;
17
20
  /**
18
21
  * Check if a given object implements the AuthenticationUserAccount interface.
19
22
  */
20
23
  function instanceOfAuthenticationUserAccount(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "id" in value;
23
- isInstance = isInstance && "uuid" in value;
24
- isInstance = isInstance && "name" in value;
25
- isInstance = isInstance && "email" in value;
26
- isInstance = isInstance && "passwordResetRequired" in value;
27
- isInstance = isInstance && "userAgreementRequested" in value;
28
- return isInstance;
24
+ if (!('id' in value) || value['id'] === undefined)
25
+ return false;
26
+ if (!('uuid' in value) || value['uuid'] === undefined)
27
+ return false;
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ if (!('email' in value) || value['email'] === undefined)
31
+ return false;
32
+ if (!('passwordResetRequired' in value) || value['passwordResetRequired'] === undefined)
33
+ return false;
34
+ if (!('userAgreementRequested' in value) || value['userAgreementRequested'] === undefined)
35
+ return false;
36
+ return true;
29
37
  }
30
- exports.instanceOfAuthenticationUserAccount = instanceOfAuthenticationUserAccount;
31
38
  function AuthenticationUserAccountFromJSON(json) {
32
39
  return AuthenticationUserAccountFromJSONTyped(json, false);
33
40
  }
34
- exports.AuthenticationUserAccountFromJSON = AuthenticationUserAccountFromJSON;
35
41
  function AuthenticationUserAccountFromJSONTyped(json, ignoreDiscriminator) {
36
- if ((json === undefined) || (json === null)) {
42
+ if (json == null) {
37
43
  return json;
38
44
  }
39
45
  return {
@@ -45,21 +51,16 @@ function AuthenticationUserAccountFromJSONTyped(json, ignoreDiscriminator) {
45
51
  'userAgreementRequested': json['userAgreementRequested'],
46
52
  };
47
53
  }
48
- exports.AuthenticationUserAccountFromJSONTyped = AuthenticationUserAccountFromJSONTyped;
49
54
  function AuthenticationUserAccountToJSON(value) {
50
- if (value === undefined) {
51
- return undefined;
52
- }
53
- if (value === null) {
54
- return null;
55
+ if (value == null) {
56
+ return value;
55
57
  }
56
58
  return {
57
- 'id': value.id,
58
- 'uuid': value.uuid,
59
- 'name': value.name,
60
- 'email': value.email,
61
- 'passwordResetRequired': value.passwordResetRequired,
62
- 'userAgreementRequested': value.userAgreementRequested,
59
+ 'id': value['id'],
60
+ 'uuid': value['uuid'],
61
+ 'name': value['name'],
62
+ 'email': value['email'],
63
+ 'passwordResetRequired': value['passwordResetRequired'],
64
+ 'userAgreementRequested': value['userAgreementRequested'],
63
65
  };
64
66
  }
65
- exports.AuthenticationUserAccountToJSON = AuthenticationUserAccountToJSON;
@@ -2,7 +2,7 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 7.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -94,7 +94,7 @@ export interface CreateOrUpdateOAuthClientPayload {
94
94
  /**
95
95
  * Check if a given object implements the CreateOrUpdateOAuthClientPayload interface.
96
96
  */
97
- export declare function instanceOfCreateOrUpdateOAuthClientPayload(value: object): boolean;
97
+ export declare function instanceOfCreateOrUpdateOAuthClientPayload(value: object): value is CreateOrUpdateOAuthClientPayload;
98
98
  export declare function CreateOrUpdateOAuthClientPayloadFromJSON(json: any): CreateOrUpdateOAuthClientPayload;
99
99
  export declare function CreateOrUpdateOAuthClientPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrUpdateOAuthClientPayload;
100
100
  export declare function CreateOrUpdateOAuthClientPayloadToJSON(value?: CreateOrUpdateOAuthClientPayload | null): any;
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 7.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,62 +13,57 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateOrUpdateOAuthClientPayloadToJSON = exports.CreateOrUpdateOAuthClientPayloadFromJSONTyped = exports.CreateOrUpdateOAuthClientPayloadFromJSON = exports.instanceOfCreateOrUpdateOAuthClientPayload = void 0;
17
- const runtime_1 = require("../runtime");
16
+ exports.instanceOfCreateOrUpdateOAuthClientPayload = instanceOfCreateOrUpdateOAuthClientPayload;
17
+ exports.CreateOrUpdateOAuthClientPayloadFromJSON = CreateOrUpdateOAuthClientPayloadFromJSON;
18
+ exports.CreateOrUpdateOAuthClientPayloadFromJSONTyped = CreateOrUpdateOAuthClientPayloadFromJSONTyped;
19
+ exports.CreateOrUpdateOAuthClientPayloadToJSON = CreateOrUpdateOAuthClientPayloadToJSON;
18
20
  const OAuthClientPublicKey_1 = require("./OAuthClientPublicKey");
19
21
  /**
20
22
  * Check if a given object implements the CreateOrUpdateOAuthClientPayload interface.
21
23
  */
22
24
  function instanceOfCreateOrUpdateOAuthClientPayload(value) {
23
- let isInstance = true;
24
- isInstance = isInstance && "name" in value;
25
- return isInstance;
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
26
28
  }
27
- exports.instanceOfCreateOrUpdateOAuthClientPayload = instanceOfCreateOrUpdateOAuthClientPayload;
28
29
  function CreateOrUpdateOAuthClientPayloadFromJSON(json) {
29
30
  return CreateOrUpdateOAuthClientPayloadFromJSONTyped(json, false);
30
31
  }
31
- exports.CreateOrUpdateOAuthClientPayloadFromJSON = CreateOrUpdateOAuthClientPayloadFromJSON;
32
32
  function CreateOrUpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
33
+ if (json == null) {
34
34
  return json;
35
35
  }
36
36
  return {
37
37
  'name': json['name'],
38
- 'clientSecret': !(0, runtime_1.exists)(json, 'clientSecret') ? undefined : json['clientSecret'],
39
- 'trusted': !(0, runtime_1.exists)(json, 'trusted') ? undefined : json['trusted'],
40
- 'audiences': !(0, runtime_1.exists)(json, 'audiences') ? undefined : json['audiences'],
41
- 'redirectUris': !(0, runtime_1.exists)(json, 'redirectUris') ? undefined : json['redirectUris'],
42
- 'grantTypes': !(0, runtime_1.exists)(json, 'grantTypes') ? undefined : json['grantTypes'],
43
- 'scopes': !(0, runtime_1.exists)(json, 'scopes') ? undefined : json['scopes'],
44
- 'jwksUri': !(0, runtime_1.exists)(json, 'jwksUri') ? undefined : json['jwksUri'],
45
- 'publicKey': !(0, runtime_1.exists)(json, 'publicKey') ? undefined : (0, OAuthClientPublicKey_1.OAuthClientPublicKeyFromJSON)(json['publicKey']),
46
- 'serviceAccount': !(0, runtime_1.exists)(json, 'serviceAccount') ? undefined : json['serviceAccount'],
47
- 'serviceAccountDelegation': !(0, runtime_1.exists)(json, 'serviceAccountDelegation') ? undefined : json['serviceAccountDelegation'],
48
- 'additionalTokenFields': !(0, runtime_1.exists)(json, 'additionalTokenFields') ? undefined : json['additionalTokenFields'],
38
+ 'clientSecret': json['clientSecret'] == null ? undefined : json['clientSecret'],
39
+ 'trusted': json['trusted'] == null ? undefined : json['trusted'],
40
+ 'audiences': json['audiences'] == null ? undefined : json['audiences'],
41
+ 'redirectUris': json['redirectUris'] == null ? undefined : json['redirectUris'],
42
+ 'grantTypes': json['grantTypes'] == null ? undefined : json['grantTypes'],
43
+ 'scopes': json['scopes'] == null ? undefined : json['scopes'],
44
+ 'jwksUri': json['jwksUri'] == null ? undefined : json['jwksUri'],
45
+ 'publicKey': json['publicKey'] == null ? undefined : (0, OAuthClientPublicKey_1.OAuthClientPublicKeyFromJSON)(json['publicKey']),
46
+ 'serviceAccount': json['serviceAccount'] == null ? undefined : json['serviceAccount'],
47
+ 'serviceAccountDelegation': json['serviceAccountDelegation'] == null ? undefined : json['serviceAccountDelegation'],
48
+ 'additionalTokenFields': json['additionalTokenFields'] == null ? undefined : json['additionalTokenFields'],
49
49
  };
50
50
  }
51
- exports.CreateOrUpdateOAuthClientPayloadFromJSONTyped = CreateOrUpdateOAuthClientPayloadFromJSONTyped;
52
51
  function CreateOrUpdateOAuthClientPayloadToJSON(value) {
53
- if (value === undefined) {
54
- return undefined;
55
- }
56
- if (value === null) {
57
- return null;
52
+ if (value == null) {
53
+ return value;
58
54
  }
59
55
  return {
60
- 'name': value.name,
61
- 'clientSecret': value.clientSecret,
62
- 'trusted': value.trusted,
63
- 'audiences': value.audiences,
64
- 'redirectUris': value.redirectUris,
65
- 'grantTypes': value.grantTypes,
66
- 'scopes': value.scopes,
67
- 'jwksUri': value.jwksUri,
68
- 'publicKey': (0, OAuthClientPublicKey_1.OAuthClientPublicKeyToJSON)(value.publicKey),
69
- 'serviceAccount': value.serviceAccount,
70
- 'serviceAccountDelegation': value.serviceAccountDelegation,
71
- 'additionalTokenFields': value.additionalTokenFields,
56
+ 'name': value['name'],
57
+ 'clientSecret': value['clientSecret'],
58
+ 'trusted': value['trusted'],
59
+ 'audiences': value['audiences'],
60
+ 'redirectUris': value['redirectUris'],
61
+ 'grantTypes': value['grantTypes'],
62
+ 'scopes': value['scopes'],
63
+ 'jwksUri': value['jwksUri'],
64
+ 'publicKey': (0, OAuthClientPublicKey_1.OAuthClientPublicKeyToJSON)(value['publicKey']),
65
+ 'serviceAccount': value['serviceAccount'],
66
+ 'serviceAccountDelegation': value['serviceAccountDelegation'],
67
+ 'additionalTokenFields': value['additionalTokenFields'],
72
68
  };
73
69
  }
74
- exports.CreateOrUpdateOAuthClientPayloadToJSON = CreateOrUpdateOAuthClientPayloadToJSON;
@@ -2,15 +2,15 @@
2
2
  * User account and session management
3
3
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
4
4
  *
5
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 7.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { LocalizedString } from './LocalizedString';
13
12
  import type { OrganizationServiceProfile } from './OrganizationServiceProfile';
13
+ import type { LocalizedString } from './LocalizedString';
14
14
  /**
15
15
  * A request to create or update an organization
16
16
  * @export
@@ -53,7 +53,7 @@ export interface CreateOrUpdateOrganizationPayload {
53
53
  /**
54
54
  * Check if a given object implements the CreateOrUpdateOrganizationPayload interface.
55
55
  */
56
- export declare function instanceOfCreateOrUpdateOrganizationPayload(value: object): boolean;
56
+ export declare function instanceOfCreateOrUpdateOrganizationPayload(value: object): value is CreateOrUpdateOrganizationPayload;
57
57
  export declare function CreateOrUpdateOrganizationPayloadFromJSON(json: any): CreateOrUpdateOrganizationPayload;
58
58
  export declare function CreateOrUpdateOrganizationPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrUpdateOrganizationPayload;
59
59
  export declare function CreateOrUpdateOrganizationPayloadToJSON(value?: CreateOrUpdateOrganizationPayload | null): any;
@@ -5,7 +5,7 @@
5
5
  * User account and session management
6
6
  * Provides HTTP endpoints to manage User Accounts and User Sessions.
7
7
  *
8
- * The version of the OpenAPI document: 7.3.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 7.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,50 +13,46 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateOrUpdateOrganizationPayloadToJSON = exports.CreateOrUpdateOrganizationPayloadFromJSONTyped = exports.CreateOrUpdateOrganizationPayloadFromJSON = exports.instanceOfCreateOrUpdateOrganizationPayload = void 0;
17
- const runtime_1 = require("../runtime");
18
- const LocalizedString_1 = require("./LocalizedString");
16
+ exports.instanceOfCreateOrUpdateOrganizationPayload = instanceOfCreateOrUpdateOrganizationPayload;
17
+ exports.CreateOrUpdateOrganizationPayloadFromJSON = CreateOrUpdateOrganizationPayloadFromJSON;
18
+ exports.CreateOrUpdateOrganizationPayloadFromJSONTyped = CreateOrUpdateOrganizationPayloadFromJSONTyped;
19
+ exports.CreateOrUpdateOrganizationPayloadToJSON = CreateOrUpdateOrganizationPayloadToJSON;
19
20
  const OrganizationServiceProfile_1 = require("./OrganizationServiceProfile");
21
+ const LocalizedString_1 = require("./LocalizedString");
20
22
  /**
21
23
  * Check if a given object implements the CreateOrUpdateOrganizationPayload interface.
22
24
  */
23
25
  function instanceOfCreateOrUpdateOrganizationPayload(value) {
24
- let isInstance = true;
25
- isInstance = isInstance && "name" in value;
26
- isInstance = isInstance && "serviceProfiles" in value;
27
- return isInstance;
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ if (!('serviceProfiles' in value) || value['serviceProfiles'] === undefined)
29
+ return false;
30
+ return true;
28
31
  }
29
- exports.instanceOfCreateOrUpdateOrganizationPayload = instanceOfCreateOrUpdateOrganizationPayload;
30
32
  function CreateOrUpdateOrganizationPayloadFromJSON(json) {
31
33
  return CreateOrUpdateOrganizationPayloadFromJSONTyped(json, false);
32
34
  }
33
- exports.CreateOrUpdateOrganizationPayloadFromJSON = CreateOrUpdateOrganizationPayloadFromJSON;
34
35
  function CreateOrUpdateOrganizationPayloadFromJSONTyped(json, ignoreDiscriminator) {
35
- if ((json === undefined) || (json === null)) {
36
+ if (json == null) {
36
37
  return json;
37
38
  }
38
39
  return {
39
40
  'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
40
41
  'serviceProfiles': (json['serviceProfiles'].map(OrganizationServiceProfile_1.OrganizationServiceProfileFromJSON)),
41
- 'equisoftConnectProfiles': !(0, runtime_1.exists)(json, 'equisoftConnectProfiles') ? undefined : json['equisoftConnectProfiles'],
42
- 'equisoftPlanProfiles': !(0, runtime_1.exists)(json, 'equisoftPlanProfiles') ? undefined : json['equisoftPlanProfiles'],
43
- 'parentUuid': !(0, runtime_1.exists)(json, 'parentUuid') ? undefined : json['parentUuid'],
42
+ 'equisoftConnectProfiles': json['equisoftConnectProfiles'] == null ? undefined : json['equisoftConnectProfiles'],
43
+ 'equisoftPlanProfiles': json['equisoftPlanProfiles'] == null ? undefined : json['equisoftPlanProfiles'],
44
+ 'parentUuid': json['parentUuid'] == null ? undefined : json['parentUuid'],
44
45
  };
45
46
  }
46
- exports.CreateOrUpdateOrganizationPayloadFromJSONTyped = CreateOrUpdateOrganizationPayloadFromJSONTyped;
47
47
  function CreateOrUpdateOrganizationPayloadToJSON(value) {
48
- if (value === undefined) {
49
- return undefined;
50
- }
51
- if (value === null) {
52
- return null;
48
+ if (value == null) {
49
+ return value;
53
50
  }
54
51
  return {
55
- 'name': (0, LocalizedString_1.LocalizedStringToJSON)(value.name),
56
- 'serviceProfiles': (value.serviceProfiles.map(OrganizationServiceProfile_1.OrganizationServiceProfileToJSON)),
57
- 'equisoftConnectProfiles': value.equisoftConnectProfiles,
58
- 'equisoftPlanProfiles': value.equisoftPlanProfiles,
59
- 'parentUuid': value.parentUuid,
52
+ 'name': (0, LocalizedString_1.LocalizedStringToJSON)(value['name']),
53
+ 'serviceProfiles': (value['serviceProfiles'].map(OrganizationServiceProfile_1.OrganizationServiceProfileToJSON)),
54
+ 'equisoftConnectProfiles': value['equisoftConnectProfiles'],
55
+ 'equisoftPlanProfiles': value['equisoftPlanProfiles'],
56
+ 'parentUuid': value['parentUuid'],
60
57
  };
61
58
  }
62
- exports.CreateOrUpdateOrganizationPayloadToJSON = CreateOrUpdateOrganizationPayloadToJSON;