@equisoft/account-service-sdk-typescript 4.5.1-snapshot.20230206204303 → 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 +6 -6
  7. package/dist/apis/OAuthApi.js +5 -5
  8. package/dist/apis/OrganizationApi.d.ts +50 -38
  9. package/dist/apis/OrganizationApi.js +59 -20
  10. package/dist/apis/PermissionApi.d.ts +4 -4
  11. package/dist/apis/PermissionApi.js +4 -4
  12. package/dist/apis/RoleApi.d.ts +4 -4
  13. package/dist/apis/RoleApi.js +3 -3
  14. package/dist/apis/ServiceAccountApi.d.ts +18 -18
  15. package/dist/apis/ServiceAccountApi.js +11 -11
  16. package/dist/apis/SessionApi.d.ts +27 -27
  17. package/dist/apis/SessionApi.js +13 -10
  18. package/dist/apis/UserApi.d.ts +182 -47
  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 +6 -2
  206. package/dist/models/ApplyPermissionsPayload.js +14 -4
  207. package/dist/models/AuthenticationUserAccount.d.ts +6 -2
  208. package/dist/models/AuthenticationUserAccount.js +17 -4
  209. package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +9 -5
  210. package/dist/models/CreateOrUpdateOAuthClientPayload.js +23 -14
  211. package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +19 -6
  212. package/dist/models/CreateOrUpdateOrganizationPayload.js +20 -7
  213. package/dist/models/CreateOrUpdatePermissionPayload.d.ts +6 -2
  214. package/dist/models/CreateOrUpdatePermissionPayload.js +13 -4
  215. package/dist/models/CreateOrganizationPayload.d.ts +19 -6
  216. package/dist/models/CreateOrganizationPayload.js +19 -7
  217. package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +6 -2
  218. package/dist/models/CreateOrganizationUserServiceOptionPayload.js +12 -3
  219. package/dist/models/CreateOrganizationUserServicePayload.d.ts +5 -1
  220. package/dist/models/CreateOrganizationUserServicePayload.js +11 -3
  221. package/dist/models/CreateRole.d.ts +6 -2
  222. package/dist/models/CreateRole.js +14 -4
  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 +4 -2
  228. package/dist/models/DatabaseState.js +4 -2
  229. package/dist/models/EnableEquisoftConnectPayload.d.ts +31 -0
  230. package/dist/models/EnableEquisoftConnectPayload.js +50 -0
  231. package/dist/models/ErrorMessage.d.ts +4 -2
  232. package/dist/models/ErrorMessage.js +4 -2
  233. package/dist/models/ErrorPayload.d.ts +6 -2
  234. package/dist/models/ErrorPayload.js +14 -5
  235. package/dist/models/Id.d.ts +5 -1
  236. package/dist/models/Id.js +12 -2
  237. package/dist/models/ImpersonatePayload.d.ts +5 -1
  238. package/dist/models/ImpersonatePayload.js +11 -2
  239. package/dist/models/LegacyRoleSchema.d.ts +6 -2
  240. package/dist/models/LegacyRoleSchema.js +14 -4
  241. package/dist/models/ListOrganizationElement.d.ts +8 -4
  242. package/dist/models/ListOrganizationElement.js +17 -5
  243. package/dist/models/ListUserOrganizations.d.ts +6 -2
  244. package/dist/models/ListUserOrganizations.js +12 -3
  245. package/dist/models/LocalizedString.d.ts +7 -3
  246. package/dist/models/LocalizedString.js +12 -2
  247. package/dist/models/LoginPayload.d.ts +5 -1
  248. package/dist/models/LoginPayload.js +12 -2
  249. package/dist/models/NewPasswordPayload.d.ts +31 -0
  250. package/dist/models/NewPasswordPayload.js +50 -0
  251. package/dist/models/OAuthClient.d.ts +6 -2
  252. package/dist/models/OAuthClient.js +24 -6
  253. package/dist/models/OAuthClientCreated.d.ts +5 -1
  254. package/dist/models/OAuthClientCreated.js +11 -2
  255. package/dist/models/OAuthClientPublicKey.d.ts +5 -1
  256. package/dist/models/OAuthClientPublicKey.js +12 -2
  257. package/dist/models/Organization.d.ts +18 -5
  258. package/dist/models/Organization.js +26 -8
  259. package/dist/models/OrganizationCreated.d.ts +5 -1
  260. package/dist/models/OrganizationCreated.js +11 -2
  261. package/dist/models/OrganizationPathElement.d.ts +6 -2
  262. package/dist/models/OrganizationPathElement.js +14 -4
  263. package/dist/models/OrganizationRoleAttribution.d.ts +9 -5
  264. package/dist/models/OrganizationRoleAttribution.js +15 -5
  265. package/dist/models/OrganizationRoleAttributionPermission.d.ts +6 -2
  266. package/dist/models/OrganizationRoleAttributionPermission.js +14 -4
  267. package/dist/models/OrganizationRoleAttributionRole.d.ts +7 -3
  268. package/dist/models/OrganizationRoleAttributionRole.js +15 -4
  269. package/dist/models/OrganizationRoleAttributionUser.d.ts +50 -0
  270. package/dist/models/OrganizationRoleAttributionUser.js +60 -0
  271. package/dist/models/OrganizationRoleAttributions.d.ts +6 -2
  272. package/dist/models/OrganizationRoleAttributions.js +11 -2
  273. package/dist/models/OrganizationServiceProfile.d.ts +37 -0
  274. package/dist/models/OrganizationServiceProfile.js +53 -0
  275. package/dist/models/OrganizationServicesElement.d.ts +5 -1
  276. package/dist/models/OrganizationServicesElement.js +12 -3
  277. package/dist/models/OrganizationSsoProvider.d.ts +6 -2
  278. package/dist/models/OrganizationSsoProvider.js +14 -4
  279. package/dist/models/OrganizationUserServiceAssociation.d.ts +5 -1
  280. package/dist/models/OrganizationUserServiceAssociation.js +13 -3
  281. package/dist/models/PasswordPolicy.d.ts +73 -0
  282. package/dist/models/PasswordPolicy.js +71 -0
  283. package/dist/models/PermissionCode.d.ts +5 -1
  284. package/dist/models/PermissionCode.js +11 -2
  285. package/dist/models/PermissionCreated.d.ts +5 -1
  286. package/dist/models/PermissionCreated.js +11 -2
  287. package/dist/models/PermissionList.d.ts +6 -2
  288. package/dist/models/PermissionList.js +11 -2
  289. package/dist/models/PermissionResourceType.d.ts +3 -2
  290. package/dist/models/PermissionResourceType.js +3 -2
  291. package/dist/models/Role.d.ts +6 -2
  292. package/dist/models/Role.js +15 -4
  293. package/dist/models/RoleCreated.d.ts +6 -2
  294. package/dist/models/RoleCreated.js +15 -4
  295. package/dist/models/RolesOnOrganization.d.ts +9 -5
  296. package/dist/models/RolesOnOrganization.js +17 -4
  297. package/dist/models/SendResetPasswordLinkPayload.d.ts +7 -3
  298. package/dist/models/SendResetPasswordLinkPayload.js +13 -4
  299. package/dist/models/ServiceAccess.d.ts +7 -3
  300. package/dist/models/ServiceAccess.js +19 -10
  301. package/dist/models/ServiceAccountCreationSchema.d.ts +5 -1
  302. package/dist/models/ServiceAccountCreationSchema.js +13 -2
  303. package/dist/models/ServiceAccountSchema.d.ts +6 -2
  304. package/dist/models/ServiceAccountSchema.js +19 -5
  305. package/dist/models/ServiceAccountStatus.d.ts +3 -2
  306. package/dist/models/ServiceAccountStatus.js +3 -2
  307. package/dist/models/ServiceAccountUpdateSchema.d.ts +5 -1
  308. package/dist/models/ServiceAccountUpdateSchema.js +12 -4
  309. package/dist/models/ServiceAccountUuidSchema.d.ts +5 -1
  310. package/dist/models/ServiceAccountUuidSchema.js +11 -2
  311. package/dist/models/ServiceName.d.ts +3 -2
  312. package/dist/models/ServiceName.js +3 -2
  313. package/dist/models/Session.d.ts +8 -4
  314. package/dist/models/Session.js +27 -11
  315. package/dist/models/SessionPayload.d.ts +8 -4
  316. package/dist/models/SessionPayload.js +17 -7
  317. package/dist/models/SessionPolicy.d.ts +37 -0
  318. package/dist/models/SessionPolicy.js +52 -0
  319. package/dist/models/SessionState.d.ts +4 -2
  320. package/dist/models/SessionState.js +4 -2
  321. package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +5 -1
  322. package/dist/models/SetPasswordByConfirmationHashPayload.js +11 -2
  323. package/dist/models/SetUserAccountPasswordPayload.d.ts +5 -1
  324. package/dist/models/SetUserAccountPasswordPayload.js +13 -3
  325. package/dist/models/SignupHash.d.ts +31 -0
  326. package/dist/models/SignupHash.js +50 -0
  327. package/dist/models/SsoProvider.d.ts +5 -1
  328. package/dist/models/SsoProvider.js +12 -2
  329. package/dist/models/SsoToken.d.ts +5 -1
  330. package/dist/models/SsoToken.js +12 -2
  331. package/dist/models/UpdateParentOrganizationPayload.d.ts +5 -1
  332. package/dist/models/UpdateParentOrganizationPayload.js +11 -2
  333. package/dist/models/UpdateUserAccountPayload.d.ts +5 -1
  334. package/dist/models/UpdateUserAccountPayload.js +15 -5
  335. package/dist/models/UpdateUserAccountSsoPayload.d.ts +5 -1
  336. package/dist/models/UpdateUserAccountSsoPayload.js +12 -3
  337. package/dist/models/UpsertServicePayload.d.ts +5 -1
  338. package/dist/models/UpsertServicePayload.js +11 -3
  339. package/dist/models/User.d.ts +13 -8
  340. package/dist/models/User.js +39 -15
  341. package/dist/models/UserAccountOrganizationRoles.d.ts +7 -3
  342. package/dist/models/UserAccountOrganizationRoles.js +15 -4
  343. package/dist/models/UserAccountPermission.d.ts +6 -2
  344. package/dist/models/UserAccountPermission.js +14 -4
  345. package/dist/models/UserAccountRole.d.ts +6 -2
  346. package/dist/models/UserAccountRole.js +14 -4
  347. package/dist/models/UserAccountRoleAttributions.d.ts +6 -2
  348. package/dist/models/UserAccountRoleAttributions.js +11 -2
  349. package/dist/models/UserAccountSearchResult.d.ts +13 -8
  350. package/dist/models/UserAccountSearchResult.js +39 -15
  351. package/dist/models/UserAgreement.d.ts +6 -2
  352. package/dist/models/UserAgreement.js +13 -4
  353. package/dist/models/UserAgreementState.d.ts +4 -2
  354. package/dist/models/UserAgreementState.js +4 -2
  355. package/dist/models/UserPermissions.d.ts +7 -3
  356. package/dist/models/UserPermissions.js +12 -2
  357. package/dist/models/UserServiceAssociation.d.ts +5 -1
  358. package/dist/models/UserServiceAssociation.js +14 -4
  359. package/dist/models/UserSsoProvider.d.ts +5 -1
  360. package/dist/models/UserSsoProvider.js +11 -2
  361. package/dist/models/UserState.d.ts +4 -2
  362. package/dist/models/UserState.js +4 -2
  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 +36 -11
  368. package/dist/runtime.js +67 -10
  369. package/package.json +11 -13
  370. package/src/apis/OAuthApi.ts +12 -12
  371. package/src/apis/OrganizationApi.ts +104 -72
  372. package/src/apis/PermissionApi.ts +9 -8
  373. package/src/apis/RoleApi.ts +8 -7
  374. package/src/apis/ServiceAccountApi.ts +28 -34
  375. package/src/apis/SessionApi.ts +42 -48
  376. package/src/apis/UserApi.ts +619 -87
  377. package/src/index.ts +2 -2
  378. package/src/models/ApplyPermissionsPayload.ts +13 -2
  379. package/src/models/AuthenticationUserAccount.ts +18 -3
  380. package/src/models/CreateOrUpdateOAuthClientPayload.ts +18 -8
  381. package/src/models/CreateOrUpdateOrganizationPayload.ts +35 -8
  382. package/src/models/CreateOrUpdatePermissionPayload.ts +12 -2
  383. package/src/models/CreateOrganizationPayload.ts +34 -8
  384. package/src/models/CreateOrganizationUserServiceOptionPayload.ts +12 -3
  385. package/src/models/CreateOrganizationUserServicePayload.ts +10 -1
  386. package/src/models/CreateRole.ts +13 -2
  387. package/src/models/CreateUserAccountPayload.ts +186 -0
  388. package/src/models/CreateUserAccountServiceAssociation.ts +83 -0
  389. package/src/models/DatabaseState.ts +4 -2
  390. package/src/models/{EnableEquisoftConnectPayloadSchema.ts → EnableEquisoftConnectPayload.ts} +18 -9
  391. package/src/models/ErrorMessage.ts +4 -2
  392. package/src/models/ErrorPayload.ts +12 -2
  393. package/src/models/Id.ts +12 -1
  394. package/src/models/ImpersonatePayload.ts +11 -1
  395. package/src/models/LegacyRoleSchema.ts +13 -2
  396. package/src/models/ListOrganizationElement.ts +17 -4
  397. package/src/models/ListUserOrganizations.ts +12 -2
  398. package/src/models/LocalizedString.ts +14 -3
  399. package/src/models/LoginPayload.ts +12 -1
  400. package/src/models/NewPasswordPayload.ts +66 -0
  401. package/src/models/OAuthClient.ts +21 -2
  402. package/src/models/OAuthClientCreated.ts +11 -1
  403. package/src/models/OAuthClientPublicKey.ts +12 -1
  404. package/src/models/Organization.ts +39 -7
  405. package/src/models/OrganizationCreated.ts +11 -1
  406. package/src/models/OrganizationPathElement.ts +13 -2
  407. package/src/models/OrganizationRoleAttribution.ts +22 -11
  408. package/src/models/OrganizationRoleAttributionPermission.ts +13 -2
  409. package/src/models/OrganizationRoleAttributionRole.ts +15 -3
  410. package/src/models/OrganizationRoleAttributionUser.ts +100 -0
  411. package/src/models/OrganizationRoleAttributions.ts +12 -2
  412. package/src/models/OrganizationServiceProfile.ts +75 -0
  413. package/src/models/OrganizationServicesElement.ts +11 -1
  414. package/src/models/OrganizationSsoProvider.ts +13 -2
  415. package/src/models/OrganizationUserServiceAssociation.ts +12 -1
  416. package/src/models/PasswordPolicy.ts +129 -0
  417. package/src/models/PermissionCode.ts +11 -1
  418. package/src/models/PermissionCreated.ts +11 -1
  419. package/src/models/PermissionList.ts +12 -2
  420. package/src/models/PermissionResourceType.ts +3 -2
  421. package/src/models/Role.ts +14 -2
  422. package/src/models/RoleCreated.ts +14 -2
  423. package/src/models/RolesOnOrganization.ts +19 -5
  424. package/src/models/SendResetPasswordLinkPayload.ts +14 -5
  425. package/src/models/ServiceAccess.ts +13 -3
  426. package/src/models/ServiceAccountCreationSchema.ts +13 -1
  427. package/src/models/ServiceAccountSchema.ts +17 -2
  428. package/src/models/ServiceAccountStatus.ts +3 -2
  429. package/src/models/ServiceAccountUpdateSchema.ts +10 -1
  430. package/src/models/ServiceAccountUuidSchema.ts +11 -1
  431. package/src/models/ServiceName.ts +3 -2
  432. package/src/models/Session.ts +21 -4
  433. package/src/models/SessionPayload.ts +15 -4
  434. package/src/models/SessionPolicy.ts +73 -0
  435. package/src/models/SessionState.ts +4 -2
  436. package/src/models/SetPasswordByConfirmationHashPayload.ts +11 -1
  437. package/src/models/SetUserAccountPasswordPayload.ts +12 -1
  438. package/src/models/SignupHash.ts +66 -0
  439. package/src/models/SsoProvider.ts +12 -1
  440. package/src/models/SsoToken.ts +12 -1
  441. package/src/models/UpdateParentOrganizationPayload.ts +11 -1
  442. package/src/models/UpdateUserAccountPayload.ts +12 -1
  443. package/src/models/UpdateUserAccountSsoPayload.ts +11 -1
  444. package/src/models/UpsertServicePayload.ts +10 -1
  445. package/src/models/User.ts +36 -10
  446. package/src/models/UserAccountOrganizationRoles.ts +15 -3
  447. package/src/models/UserAccountPermission.ts +13 -2
  448. package/src/models/UserAccountRole.ts +13 -2
  449. package/src/models/UserAccountRoleAttributions.ts +12 -2
  450. package/src/models/UserAccountSearchResult.ts +36 -10
  451. package/src/models/UserAgreement.ts +12 -2
  452. package/src/models/UserAgreementState.ts +4 -2
  453. package/src/models/UserPermissions.ts +14 -3
  454. package/src/models/UserServiceAssociation.ts +12 -1
  455. package/src/models/UserSsoProvider.ts +11 -1
  456. package/src/models/UserState.ts +4 -2
  457. package/src/models/UserUuid.ts +66 -0
  458. package/src/models/index.ts +10 -1
  459. package/src/runtime.ts +83 -21
  460. package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +0 -27
  461. package/dist/models/EnableEquisoftConnectPayloadSchema.js +0 -42
@@ -2,14 +2,14 @@
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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.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 { LocalizedString } from './LocalizedString';
12
+ import type { LocalizedString } from './LocalizedString';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -35,6 +35,10 @@ export interface Role {
35
35
  */
36
36
  permissions: Array<string>;
37
37
  }
38
+ /**
39
+ * Check if a given object implements the Role interface.
40
+ */
41
+ export declare function instanceOfRole(value: object): boolean;
38
42
  export declare function RoleFromJSON(json: any): Role;
39
43
  export declare function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role;
40
44
  export declare function RoleToJSON(value?: Role | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,8 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.RoleToJSON = exports.RoleFromJSONTyped = exports.RoleFromJSON = void 0;
16
+ exports.RoleToJSON = exports.RoleFromJSONTyped = exports.RoleFromJSON = exports.instanceOfRole = void 0;
17
17
  const LocalizedString_1 = require("./LocalizedString");
18
+ /**
19
+ * Check if a given object implements the Role interface.
20
+ */
21
+ function instanceOfRole(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "uuid" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "permissions" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfRole = instanceOfRole;
18
29
  function RoleFromJSON(json) {
19
30
  return RoleFromJSONTyped(json, false);
20
31
  }
@@ -25,7 +36,7 @@ function RoleFromJSONTyped(json, ignoreDiscriminator) {
25
36
  }
26
37
  return {
27
38
  'uuid': json['uuid'],
28
- 'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
39
+ 'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
29
40
  'permissions': json['permissions'],
30
41
  };
31
42
  }
@@ -39,7 +50,7 @@ function RoleToJSON(value) {
39
50
  }
40
51
  return {
41
52
  'uuid': value.uuid,
42
- 'name': LocalizedString_1.LocalizedStringToJSON(value.name),
53
+ 'name': (0, LocalizedString_1.LocalizedStringToJSON)(value.name),
43
54
  'permissions': value.permissions,
44
55
  };
45
56
  }
@@ -2,14 +2,14 @@
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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.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 { LocalizedString } from './LocalizedString';
12
+ import type { LocalizedString } from './LocalizedString';
13
13
  /**
14
14
  * created role schema
15
15
  * @export
@@ -35,6 +35,10 @@ export interface RoleCreated {
35
35
  */
36
36
  permissions: Array<string>;
37
37
  }
38
+ /**
39
+ * Check if a given object implements the RoleCreated interface.
40
+ */
41
+ export declare function instanceOfRoleCreated(value: object): boolean;
38
42
  export declare function RoleCreatedFromJSON(json: any): RoleCreated;
39
43
  export declare function RoleCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleCreated;
40
44
  export declare function RoleCreatedToJSON(value?: RoleCreated | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,8 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.RoleCreatedToJSON = exports.RoleCreatedFromJSONTyped = exports.RoleCreatedFromJSON = void 0;
16
+ exports.RoleCreatedToJSON = exports.RoleCreatedFromJSONTyped = exports.RoleCreatedFromJSON = exports.instanceOfRoleCreated = void 0;
17
17
  const LocalizedString_1 = require("./LocalizedString");
18
+ /**
19
+ * Check if a given object implements the RoleCreated interface.
20
+ */
21
+ function instanceOfRoleCreated(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "uuid" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "permissions" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfRoleCreated = instanceOfRoleCreated;
18
29
  function RoleCreatedFromJSON(json) {
19
30
  return RoleCreatedFromJSONTyped(json, false);
20
31
  }
@@ -25,7 +36,7 @@ function RoleCreatedFromJSONTyped(json, ignoreDiscriminator) {
25
36
  }
26
37
  return {
27
38
  'uuid': json['uuid'],
28
- 'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
39
+ 'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
29
40
  'permissions': json['permissions'],
30
41
  };
31
42
  }
@@ -39,7 +50,7 @@ function RoleCreatedToJSON(value) {
39
50
  }
40
51
  return {
41
52
  'uuid': value.uuid,
42
- 'name': LocalizedString_1.LocalizedStringToJSON(value.name),
53
+ 'name': (0, LocalizedString_1.LocalizedStringToJSON)(value.name),
43
54
  'permissions': value.permissions,
44
55
  };
45
56
  }
@@ -2,17 +2,17 @@
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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.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 { LocalizedString } from './LocalizedString';
13
- import { OrganizationPathElement } from './OrganizationPathElement';
14
- import { UserAccountPermission } from './UserAccountPermission';
15
- import { UserAccountRole } from './UserAccountRole';
12
+ import type { LocalizedString } from './LocalizedString';
13
+ import type { OrganizationPathElement } from './OrganizationPathElement';
14
+ import type { UserAccountPermission } from './UserAccountPermission';
15
+ import type { UserAccountRole } from './UserAccountRole';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -50,6 +50,10 @@ export interface RolesOnOrganization {
50
50
  */
51
51
  permissions: Array<UserAccountPermission>;
52
52
  }
53
+ /**
54
+ * Check if a given object implements the RolesOnOrganization interface.
55
+ */
56
+ export declare function instanceOfRolesOnOrganization(value: object): boolean;
53
57
  export declare function RolesOnOrganizationFromJSON(json: any): RolesOnOrganization;
54
58
  export declare function RolesOnOrganizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): RolesOnOrganization;
55
59
  export declare function RolesOnOrganizationToJSON(value?: RolesOnOrganization | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,11 +13,24 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.RolesOnOrganizationToJSON = exports.RolesOnOrganizationFromJSONTyped = exports.RolesOnOrganizationFromJSON = void 0;
16
+ exports.RolesOnOrganizationToJSON = exports.RolesOnOrganizationFromJSONTyped = exports.RolesOnOrganizationFromJSON = exports.instanceOfRolesOnOrganization = void 0;
17
17
  const LocalizedString_1 = require("./LocalizedString");
18
18
  const OrganizationPathElement_1 = require("./OrganizationPathElement");
19
19
  const UserAccountPermission_1 = require("./UserAccountPermission");
20
20
  const UserAccountRole_1 = require("./UserAccountRole");
21
+ /**
22
+ * Check if a given object implements the RolesOnOrganization interface.
23
+ */
24
+ function instanceOfRolesOnOrganization(value) {
25
+ let isInstance = true;
26
+ isInstance = isInstance && "uuid" in value;
27
+ isInstance = isInstance && "name" in value;
28
+ isInstance = isInstance && "path" in value;
29
+ isInstance = isInstance && "roles" in value;
30
+ isInstance = isInstance && "permissions" in value;
31
+ return isInstance;
32
+ }
33
+ exports.instanceOfRolesOnOrganization = instanceOfRolesOnOrganization;
21
34
  function RolesOnOrganizationFromJSON(json) {
22
35
  return RolesOnOrganizationFromJSONTyped(json, false);
23
36
  }
@@ -28,7 +41,7 @@ function RolesOnOrganizationFromJSONTyped(json, ignoreDiscriminator) {
28
41
  }
29
42
  return {
30
43
  'uuid': json['uuid'],
31
- 'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
44
+ 'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
32
45
  'path': (json['path'].map(OrganizationPathElement_1.OrganizationPathElementFromJSON)),
33
46
  'roles': (json['roles'].map(UserAccountRole_1.UserAccountRoleFromJSON)),
34
47
  'permissions': (json['permissions'].map(UserAccountPermission_1.UserAccountPermissionFromJSON)),
@@ -44,7 +57,7 @@ function RolesOnOrganizationToJSON(value) {
44
57
  }
45
58
  return {
46
59
  'uuid': value.uuid,
47
- 'name': LocalizedString_1.LocalizedStringToJSON(value.name),
60
+ 'name': (0, LocalizedString_1.LocalizedStringToJSON)(value.name),
48
61
  'path': (value.path.map(OrganizationPathElement_1.OrganizationPathElementToJSON)),
49
62
  'roles': (value.roles.map(UserAccountRole_1.UserAccountRoleToJSON)),
50
63
  'permissions': (value.permissions.map(UserAccountPermission_1.UserAccountPermissionToJSON)),
@@ -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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,14 +20,18 @@ export interface SendResetPasswordLinkPayload {
20
20
  * @type {boolean}
21
21
  * @memberof SendResetPasswordLinkPayload
22
22
  */
23
- sendEmail: boolean;
23
+ sendEmail?: boolean | null;
24
24
  /**
25
25
  *
26
26
  * @type {boolean}
27
27
  * @memberof SendResetPasswordLinkPayload
28
28
  */
29
- sendSms: boolean;
29
+ sendSms?: boolean | null;
30
30
  }
31
+ /**
32
+ * Check if a given object implements the SendResetPasswordLinkPayload interface.
33
+ */
34
+ export declare function instanceOfSendResetPasswordLinkPayload(value: object): boolean;
31
35
  export declare function SendResetPasswordLinkPayloadFromJSON(json: any): SendResetPasswordLinkPayload;
32
36
  export declare function SendResetPasswordLinkPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendResetPasswordLinkPayload;
33
37
  export declare function SendResetPasswordLinkPayloadToJSON(value?: SendResetPasswordLinkPayload | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SendResetPasswordLinkPayloadToJSON = exports.SendResetPasswordLinkPayloadFromJSONTyped = exports.SendResetPasswordLinkPayloadFromJSON = void 0;
16
+ exports.SendResetPasswordLinkPayloadToJSON = exports.SendResetPasswordLinkPayloadFromJSONTyped = exports.SendResetPasswordLinkPayloadFromJSON = exports.instanceOfSendResetPasswordLinkPayload = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the SendResetPasswordLinkPayload interface.
20
+ */
21
+ function instanceOfSendResetPasswordLinkPayload(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfSendResetPasswordLinkPayload = instanceOfSendResetPasswordLinkPayload;
17
26
  function SendResetPasswordLinkPayloadFromJSON(json) {
18
27
  return SendResetPasswordLinkPayloadFromJSONTyped(json, false);
19
28
  }
@@ -23,8 +32,8 @@ function SendResetPasswordLinkPayloadFromJSONTyped(json, ignoreDiscriminator) {
23
32
  return json;
24
33
  }
25
34
  return {
26
- 'sendEmail': json['sendEmail'],
27
- 'sendSms': json['sendSms'],
35
+ 'sendEmail': !(0, runtime_1.exists)(json, 'sendEmail') ? undefined : json['sendEmail'],
36
+ 'sendSms': !(0, runtime_1.exists)(json, 'sendSms') ? undefined : json['sendSms'],
28
37
  };
29
38
  }
30
39
  exports.SendResetPasswordLinkPayloadFromJSONTyped = SendResetPasswordLinkPayloadFromJSONTyped;
@@ -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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.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 { DatabaseState } from './DatabaseState';
13
- import { ServiceName } from './ServiceName';
12
+ import type { DatabaseState } from './DatabaseState';
13
+ import type { ServiceName } from './ServiceName';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -54,6 +54,10 @@ export interface ServiceAccess {
54
54
  */
55
55
  maxConcurrentAccess?: number | null;
56
56
  }
57
+ /**
58
+ * Check if a given object implements the ServiceAccess interface.
59
+ */
60
+ export declare function instanceOfServiceAccess(value: object): boolean;
57
61
  export declare function ServiceAccessFromJSON(json: any): ServiceAccess;
58
62
  export declare function ServiceAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccess;
59
63
  export declare function ServiceAccessToJSON(value?: ServiceAccess | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,10 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ServiceAccessToJSON = exports.ServiceAccessFromJSONTyped = exports.ServiceAccessFromJSON = void 0;
16
+ exports.ServiceAccessToJSON = exports.ServiceAccessFromJSONTyped = exports.ServiceAccessFromJSON = exports.instanceOfServiceAccess = void 0;
17
17
  const runtime_1 = require("../runtime");
18
18
  const DatabaseState_1 = require("./DatabaseState");
19
19
  const ServiceName_1 = require("./ServiceName");
20
+ /**
21
+ * Check if a given object implements the ServiceAccess interface.
22
+ */
23
+ function instanceOfServiceAccess(value) {
24
+ let isInstance = true;
25
+ isInstance = isInstance && "serviceName" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfServiceAccess = instanceOfServiceAccess;
20
29
  function ServiceAccessFromJSON(json) {
21
30
  return ServiceAccessFromJSONTyped(json, false);
22
31
  }
@@ -26,12 +35,12 @@ function ServiceAccessFromJSONTyped(json, ignoreDiscriminator) {
26
35
  return json;
27
36
  }
28
37
  return {
29
- 'serviceName': ServiceName_1.ServiceNameFromJSON(json['serviceName']),
30
- 'databaseId': !runtime_1.exists(json, 'databaseId') ? undefined : json['databaseId'],
31
- 'databaseName': !runtime_1.exists(json, 'databaseName') ? undefined : json['databaseName'],
32
- 'databaseState': !runtime_1.exists(json, 'databaseState') ? undefined : DatabaseState_1.DatabaseStateFromJSON(json['databaseState']),
33
- 'userId': !runtime_1.exists(json, 'userId') ? undefined : json['userId'],
34
- 'maxConcurrentAccess': !runtime_1.exists(json, 'maxConcurrentAccess') ? undefined : json['maxConcurrentAccess'],
38
+ 'serviceName': (0, ServiceName_1.ServiceNameFromJSON)(json['serviceName']),
39
+ 'databaseId': !(0, runtime_1.exists)(json, 'databaseId') ? undefined : json['databaseId'],
40
+ 'databaseName': !(0, runtime_1.exists)(json, 'databaseName') ? undefined : json['databaseName'],
41
+ 'databaseState': !(0, runtime_1.exists)(json, 'databaseState') ? undefined : (0, DatabaseState_1.DatabaseStateFromJSON)(json['databaseState']),
42
+ 'userId': !(0, runtime_1.exists)(json, 'userId') ? undefined : json['userId'],
43
+ 'maxConcurrentAccess': !(0, runtime_1.exists)(json, 'maxConcurrentAccess') ? undefined : json['maxConcurrentAccess'],
35
44
  };
36
45
  }
37
46
  exports.ServiceAccessFromJSONTyped = ServiceAccessFromJSONTyped;
@@ -43,10 +52,10 @@ function ServiceAccessToJSON(value) {
43
52
  return null;
44
53
  }
45
54
  return {
46
- 'serviceName': ServiceName_1.ServiceNameToJSON(value.serviceName),
55
+ 'serviceName': (0, ServiceName_1.ServiceNameToJSON)(value.serviceName),
47
56
  'databaseId': value.databaseId,
48
57
  'databaseName': value.databaseName,
49
- 'databaseState': DatabaseState_1.DatabaseStateToJSON(value.databaseState),
58
+ 'databaseState': (0, DatabaseState_1.DatabaseStateToJSON)(value.databaseState),
50
59
  'userId': value.userId,
51
60
  'maxConcurrentAccess': value.maxConcurrentAccess,
52
61
  };
@@ -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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,6 +34,10 @@ export interface ServiceAccountCreationSchema {
34
34
  */
35
35
  displayName: string;
36
36
  }
37
+ /**
38
+ * Check if a given object implements the ServiceAccountCreationSchema interface.
39
+ */
40
+ export declare function instanceOfServiceAccountCreationSchema(value: object): boolean;
37
41
  export declare function ServiceAccountCreationSchemaFromJSON(json: any): ServiceAccountCreationSchema;
38
42
  export declare function ServiceAccountCreationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountCreationSchema;
39
43
  export declare function ServiceAccountCreationSchemaToJSON(value?: ServiceAccountCreationSchema | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,18 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ServiceAccountCreationSchemaToJSON = exports.ServiceAccountCreationSchemaFromJSONTyped = exports.ServiceAccountCreationSchemaFromJSON = void 0;
16
+ exports.ServiceAccountCreationSchemaToJSON = exports.ServiceAccountCreationSchemaFromJSONTyped = exports.ServiceAccountCreationSchemaFromJSON = exports.instanceOfServiceAccountCreationSchema = void 0;
17
+ /**
18
+ * Check if a given object implements the ServiceAccountCreationSchema interface.
19
+ */
20
+ function instanceOfServiceAccountCreationSchema(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "name" in value;
23
+ isInstance = isInstance && "clientId" in value;
24
+ isInstance = isInstance && "displayName" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfServiceAccountCreationSchema = instanceOfServiceAccountCreationSchema;
17
28
  function ServiceAccountCreationSchemaFromJSON(json) {
18
29
  return ServiceAccountCreationSchemaFromJSONTyped(json, false);
19
30
  }
@@ -2,14 +2,14 @@
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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.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 { ServiceAccountStatus } from './ServiceAccountStatus';
12
+ import type { ServiceAccountStatus } from './ServiceAccountStatus';
13
13
  /**
14
14
  * Represents a service account
15
15
  * @export
@@ -59,6 +59,10 @@ export interface ServiceAccountSchema {
59
59
  */
60
60
  modifiedAt?: Date | null;
61
61
  }
62
+ /**
63
+ * Check if a given object implements the ServiceAccountSchema interface.
64
+ */
65
+ export declare function instanceOfServiceAccountSchema(value: object): boolean;
62
66
  export declare function ServiceAccountSchemaFromJSON(json: any): ServiceAccountSchema;
63
67
  export declare function ServiceAccountSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountSchema;
64
68
  export declare function ServiceAccountSchemaToJSON(value?: ServiceAccountSchema | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,9 +13,23 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ServiceAccountSchemaToJSON = exports.ServiceAccountSchemaFromJSONTyped = exports.ServiceAccountSchemaFromJSON = void 0;
16
+ exports.ServiceAccountSchemaToJSON = exports.ServiceAccountSchemaFromJSONTyped = exports.ServiceAccountSchemaFromJSON = exports.instanceOfServiceAccountSchema = void 0;
17
17
  const runtime_1 = require("../runtime");
18
18
  const ServiceAccountStatus_1 = require("./ServiceAccountStatus");
19
+ /**
20
+ * Check if a given object implements the ServiceAccountSchema interface.
21
+ */
22
+ function instanceOfServiceAccountSchema(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "uuid" in value;
25
+ isInstance = isInstance && "name" in value;
26
+ isInstance = isInstance && "clientId" in value;
27
+ isInstance = isInstance && "displayName" in value;
28
+ isInstance = isInstance && "status" in value;
29
+ isInstance = isInstance && "createdAt" in value;
30
+ return isInstance;
31
+ }
32
+ exports.instanceOfServiceAccountSchema = instanceOfServiceAccountSchema;
19
33
  function ServiceAccountSchemaFromJSON(json) {
20
34
  return ServiceAccountSchemaFromJSONTyped(json, false);
21
35
  }
@@ -29,9 +43,9 @@ function ServiceAccountSchemaFromJSONTyped(json, ignoreDiscriminator) {
29
43
  'name': json['name'],
30
44
  'clientId': json['clientId'],
31
45
  'displayName': json['displayName'],
32
- 'status': ServiceAccountStatus_1.ServiceAccountStatusFromJSON(json['status']),
46
+ 'status': (0, ServiceAccountStatus_1.ServiceAccountStatusFromJSON)(json['status']),
33
47
  'createdAt': (new Date(json['createdAt'])),
34
- 'modifiedAt': !runtime_1.exists(json, 'modifiedAt') ? undefined : (json['modifiedAt'] === null ? null : new Date(json['modifiedAt'])),
48
+ 'modifiedAt': !(0, runtime_1.exists)(json, 'modifiedAt') ? undefined : (json['modifiedAt'] === null ? null : new Date(json['modifiedAt'])),
35
49
  };
36
50
  }
37
51
  exports.ServiceAccountSchemaFromJSONTyped = ServiceAccountSchemaFromJSONTyped;
@@ -47,7 +61,7 @@ function ServiceAccountSchemaToJSON(value) {
47
61
  'name': value.name,
48
62
  'clientId': value.clientId,
49
63
  'displayName': value.displayName,
50
- 'status': ServiceAccountStatus_1.ServiceAccountStatusToJSON(value.status),
64
+ 'status': (0, ServiceAccountStatus_1.ServiceAccountStatusToJSON)(value.status),
51
65
  'createdAt': (value.createdAt.toISOString()),
52
66
  'modifiedAt': value.modifiedAt === undefined ? undefined : (value.modifiedAt === null ? null : value.modifiedAt.toISOString()),
53
67
  };
@@ -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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,8 +17,9 @@ export declare const ServiceAccountStatus: {
17
17
  readonly ENABLED: "ENABLED";
18
18
  readonly DISABLED: "DISABLED";
19
19
  readonly DELETED: "DELETED";
20
+ readonly unknown_default_open_api: "11184809";
20
21
  };
21
- export declare type ServiceAccountStatus = typeof ServiceAccountStatus[keyof typeof ServiceAccountStatus];
22
+ export type ServiceAccountStatus = typeof ServiceAccountStatus[keyof typeof ServiceAccountStatus];
22
23
  export declare function ServiceAccountStatusFromJSON(json: any): ServiceAccountStatus;
23
24
  export declare function ServiceAccountStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountStatus;
24
25
  export declare function ServiceAccountStatusToJSON(value?: ServiceAccountStatus | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,7 +21,8 @@ exports.ServiceAccountStatusToJSON = exports.ServiceAccountStatusFromJSONTyped =
21
21
  exports.ServiceAccountStatus = {
22
22
  ENABLED: 'ENABLED',
23
23
  DISABLED: 'DISABLED',
24
- DELETED: 'DELETED'
24
+ DELETED: 'DELETED',
25
+ unknown_default_open_api: '11184809'
25
26
  };
26
27
  function ServiceAccountStatusFromJSON(json) {
27
28
  return ServiceAccountStatusFromJSONTyped(json, false);
@@ -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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,6 +28,10 @@ export interface ServiceAccountUpdateSchema {
28
28
  */
29
29
  displayName?: string | null;
30
30
  }
31
+ /**
32
+ * Check if a given object implements the ServiceAccountUpdateSchema interface.
33
+ */
34
+ export declare function instanceOfServiceAccountUpdateSchema(value: object): boolean;
31
35
  export declare function ServiceAccountUpdateSchemaFromJSON(json: any): ServiceAccountUpdateSchema;
32
36
  export declare function ServiceAccountUpdateSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountUpdateSchema;
33
37
  export declare function ServiceAccountUpdateSchemaToJSON(value?: ServiceAccountUpdateSchema | 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: 4.5.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 6.6.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,8 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ServiceAccountUpdateSchemaToJSON = exports.ServiceAccountUpdateSchemaFromJSONTyped = exports.ServiceAccountUpdateSchemaFromJSON = void 0;
16
+ exports.ServiceAccountUpdateSchemaToJSON = exports.ServiceAccountUpdateSchemaFromJSONTyped = exports.ServiceAccountUpdateSchemaFromJSON = exports.instanceOfServiceAccountUpdateSchema = void 0;
17
17
  const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the ServiceAccountUpdateSchema interface.
20
+ */
21
+ function instanceOfServiceAccountUpdateSchema(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfServiceAccountUpdateSchema = instanceOfServiceAccountUpdateSchema;
18
26
  function ServiceAccountUpdateSchemaFromJSON(json) {
19
27
  return ServiceAccountUpdateSchemaFromJSONTyped(json, false);
20
28
  }
@@ -24,8 +32,8 @@ function ServiceAccountUpdateSchemaFromJSONTyped(json, ignoreDiscriminator) {
24
32
  return json;
25
33
  }
26
34
  return {
27
- 'clientId': !runtime_1.exists(json, 'clientId') ? undefined : json['clientId'],
28
- 'displayName': !runtime_1.exists(json, 'displayName') ? undefined : json['displayName'],
35
+ 'clientId': !(0, runtime_1.exists)(json, 'clientId') ? undefined : json['clientId'],
36
+ 'displayName': !(0, runtime_1.exists)(json, 'displayName') ? undefined : json['displayName'],
29
37
  };
30
38
  }
31
39
  exports.ServiceAccountUpdateSchemaFromJSONTyped = ServiceAccountUpdateSchemaFromJSONTyped;
@@ -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: 4.5.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 6.6.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,10 @@ export interface ServiceAccountUuidSchema {
22
22
  */
23
23
  uuid: string;
24
24
  }
25
+ /**
26
+ * Check if a given object implements the ServiceAccountUuidSchema interface.
27
+ */
28
+ export declare function instanceOfServiceAccountUuidSchema(value: object): boolean;
25
29
  export declare function ServiceAccountUuidSchemaFromJSON(json: any): ServiceAccountUuidSchema;
26
30
  export declare function ServiceAccountUuidSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountUuidSchema;
27
31
  export declare function ServiceAccountUuidSchemaToJSON(value?: ServiceAccountUuidSchema | null): any;