@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.
- package/.openapi-generator/VERSION +1 -1
- package/.tool-versions +2 -2
- package/README.md +5 -4
- package/dist/apis/OAuthApi.d.ts +1 -1
- package/dist/apis/OAuthApi.js +10 -10
- package/dist/apis/OrganizationApi.d.ts +1 -1
- package/dist/apis/OrganizationApi.js +132 -132
- package/dist/apis/PermissionApi.d.ts +1 -1
- package/dist/apis/PermissionApi.js +7 -7
- package/dist/apis/RoleApi.d.ts +1 -1
- package/dist/apis/RoleApi.js +4 -4
- package/dist/apis/ServiceAccountApi.d.ts +1 -1
- package/dist/apis/ServiceAccountApi.js +23 -23
- package/dist/apis/SessionApi.d.ts +1 -1
- package/dist/apis/SessionApi.js +49 -49
- package/dist/apis/UserApi.d.ts +1 -1
- package/dist/apis/UserApi.js +159 -159
- package/dist/esm/apis/OAuthApi.d.ts +1 -1
- package/dist/esm/apis/OAuthApi.js +10 -10
- package/dist/esm/apis/OrganizationApi.d.ts +1 -1
- package/dist/esm/apis/OrganizationApi.js +132 -132
- package/dist/esm/apis/PermissionApi.d.ts +1 -1
- package/dist/esm/apis/PermissionApi.js +7 -7
- package/dist/esm/apis/RoleApi.d.ts +1 -1
- package/dist/esm/apis/RoleApi.js +4 -4
- package/dist/esm/apis/ServiceAccountApi.d.ts +1 -1
- package/dist/esm/apis/ServiceAccountApi.js +23 -23
- package/dist/esm/apis/SessionApi.d.ts +1 -1
- package/dist/esm/apis/SessionApi.js +49 -49
- package/dist/esm/apis/UserApi.d.ts +1 -1
- package/dist/esm/apis/UserApi.js +159 -159
- package/dist/esm/models/ApplyPermissionsPayload.d.ts +2 -2
- package/dist/esm/models/ApplyPermissionsPayload.js +11 -13
- package/dist/esm/models/AuthenticationUserAccount.d.ts +2 -2
- package/dist/esm/models/AuthenticationUserAccount.js +23 -21
- package/dist/esm/models/CreateOrUpdateOAuthClientPayload.d.ts +2 -2
- package/dist/esm/models/CreateOrUpdateOAuthClientPayload.js +30 -34
- package/dist/esm/models/CreateOrUpdateOrganizationPayload.d.ts +3 -3
- package/dist/esm/models/CreateOrUpdateOrganizationPayload.js +18 -21
- package/dist/esm/models/CreateOrUpdatePermissionPayload.d.ts +2 -2
- package/dist/esm/models/CreateOrUpdatePermissionPayload.js +8 -11
- package/dist/esm/models/CreateOrganizationPayload.d.ts +3 -3
- package/dist/esm/models/CreateOrganizationPayload.js +17 -21
- package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.d.ts +2 -2
- package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.js +7 -12
- package/dist/esm/models/CreateOrganizationUserServicePayload.d.ts +2 -2
- package/dist/esm/models/CreateOrganizationUserServicePayload.js +7 -12
- package/dist/esm/models/CreateRole.d.ts +2 -2
- package/dist/esm/models/CreateRole.js +11 -13
- package/dist/esm/models/CreateUserAccountPayload.d.ts +3 -3
- package/dist/esm/models/CreateUserAccountPayload.js +40 -39
- package/dist/esm/models/CreateUserAccountServiceAssociation.d.ts +2 -2
- package/dist/esm/models/CreateUserAccountServiceAssociation.js +13 -16
- package/dist/esm/models/DatabaseState.d.ts +2 -1
- package/dist/esm/models/DatabaseState.js +11 -1
- package/dist/esm/models/EnableEquisoftConnectPayload.d.ts +2 -2
- package/dist/esm/models/EnableEquisoftConnectPayload.js +7 -12
- package/dist/esm/models/ErrorMessage.d.ts +2 -1
- package/dist/esm/models/ErrorMessage.js +11 -1
- package/dist/esm/models/ErrorPayload.d.ts +2 -2
- package/dist/esm/models/ErrorPayload.js +10 -14
- package/dist/esm/models/Id.d.ts +2 -2
- package/dist/esm/models/Id.js +11 -13
- package/dist/esm/models/ImpersonatePayload.d.ts +2 -2
- package/dist/esm/models/ImpersonatePayload.js +8 -11
- package/dist/esm/models/LegacyRoleSchema.d.ts +2 -2
- package/dist/esm/models/LegacyRoleSchema.js +11 -13
- package/dist/esm/models/ListOrganizationElement.d.ts +2 -2
- package/dist/esm/models/ListOrganizationElement.js +19 -20
- package/dist/esm/models/ListUserOrganizations.d.ts +2 -2
- package/dist/esm/models/ListUserOrganizations.js +10 -14
- package/dist/esm/models/LocalizedString.d.ts +2 -2
- package/dist/esm/models/LocalizedString.js +11 -13
- package/dist/esm/models/LoginPayload.d.ts +2 -2
- package/dist/esm/models/LoginPayload.js +11 -13
- package/dist/esm/models/NewPasswordPayload.d.ts +2 -2
- package/dist/esm/models/NewPasswordPayload.js +8 -11
- package/dist/esm/models/OAuthClient.d.ts +2 -2
- package/dist/esm/models/OAuthClient.js +41 -36
- package/dist/esm/models/OAuthClientCreated.d.ts +2 -2
- package/dist/esm/models/OAuthClientCreated.js +8 -11
- package/dist/esm/models/OAuthClientPublicKey.d.ts +2 -2
- package/dist/esm/models/OAuthClientPublicKey.js +11 -13
- package/dist/esm/models/Organization.d.ts +3 -3
- package/dist/esm/models/Organization.js +33 -31
- package/dist/esm/models/OrganizationCreated.d.ts +2 -2
- package/dist/esm/models/OrganizationCreated.js +8 -11
- package/dist/esm/models/OrganizationPathElement.d.ts +2 -2
- package/dist/esm/models/OrganizationPathElement.js +11 -13
- package/dist/esm/models/OrganizationRoleAttribution.d.ts +2 -2
- package/dist/esm/models/OrganizationRoleAttribution.js +11 -13
- package/dist/esm/models/OrganizationRoleAttributionPermission.d.ts +2 -2
- package/dist/esm/models/OrganizationRoleAttributionPermission.js +11 -13
- package/dist/esm/models/OrganizationRoleAttributionRole.d.ts +3 -3
- package/dist/esm/models/OrganizationRoleAttributionRole.js +15 -16
- package/dist/esm/models/OrganizationRoleAttributionUser.d.ts +2 -2
- package/dist/esm/models/OrganizationRoleAttributionUser.js +17 -17
- package/dist/esm/models/OrganizationRoleAttributions.d.ts +2 -2
- package/dist/esm/models/OrganizationRoleAttributions.js +8 -11
- package/dist/esm/models/OrganizationServiceProfile.d.ts +2 -2
- package/dist/esm/models/OrganizationServiceProfile.js +11 -13
- package/dist/esm/models/OrganizationServicesElement.d.ts +2 -2
- package/dist/esm/models/OrganizationServicesElement.js +10 -14
- package/dist/esm/models/OrganizationSsoProvider.d.ts +2 -2
- package/dist/esm/models/OrganizationSsoProvider.js +11 -13
- package/dist/esm/models/OrganizationUserServiceAssociation.d.ts +2 -2
- package/dist/esm/models/OrganizationUserServiceAssociation.js +13 -16
- package/dist/esm/models/PasswordPolicy.d.ts +2 -2
- package/dist/esm/models/PasswordPolicy.js +29 -25
- package/dist/esm/models/PermissionCode.d.ts +2 -2
- package/dist/esm/models/PermissionCode.js +8 -11
- package/dist/esm/models/PermissionCreated.d.ts +2 -2
- package/dist/esm/models/PermissionCreated.js +8 -11
- package/dist/esm/models/PermissionList.d.ts +2 -2
- package/dist/esm/models/PermissionList.js +8 -11
- package/dist/esm/models/PermissionResourceType.d.ts +2 -1
- package/dist/esm/models/PermissionResourceType.js +11 -1
- package/dist/esm/models/Role.d.ts +2 -2
- package/dist/esm/models/Role.js +14 -15
- package/dist/esm/models/RoleCreated.d.ts +2 -2
- package/dist/esm/models/RoleCreated.js +14 -15
- package/dist/esm/models/RolesOnOrganization.d.ts +4 -4
- package/dist/esm/models/RolesOnOrganization.js +22 -21
- package/dist/esm/models/SendResetPasswordLinkPayload.d.ts +2 -2
- package/dist/esm/models/SendResetPasswordLinkPayload.js +9 -14
- package/dist/esm/models/SendSignupInvitationPayload.d.ts +2 -2
- package/dist/esm/models/SendSignupInvitationPayload.js +25 -26
- package/dist/esm/models/ServiceAccess.d.ts +2 -2
- package/dist/esm/models/ServiceAccess.js +18 -22
- package/dist/esm/models/ServiceAccountCreationSchema.d.ts +2 -2
- package/dist/esm/models/ServiceAccountCreationSchema.js +20 -19
- package/dist/esm/models/ServiceAccountSchema.d.ts +2 -2
- package/dist/esm/models/ServiceAccountSchema.js +28 -26
- package/dist/esm/models/ServiceAccountStatus.d.ts +2 -1
- package/dist/esm/models/ServiceAccountStatus.js +11 -1
- package/dist/esm/models/ServiceAccountUpdateSchema.d.ts +2 -2
- package/dist/esm/models/ServiceAccountUpdateSchema.js +13 -18
- package/dist/esm/models/ServiceAccountUuidSchema.d.ts +2 -2
- package/dist/esm/models/ServiceAccountUuidSchema.js +8 -11
- package/dist/esm/models/ServiceName.d.ts +2 -1
- package/dist/esm/models/ServiceName.js +11 -1
- package/dist/esm/models/Session.d.ts +3 -3
- package/dist/esm/models/Session.js +36 -33
- package/dist/esm/models/SessionPayload.d.ts +2 -2
- package/dist/esm/models/SessionPayload.js +19 -22
- package/dist/esm/models/SessionPolicy.d.ts +2 -2
- package/dist/esm/models/SessionPolicy.js +9 -14
- package/dist/esm/models/SessionState.d.ts +2 -1
- package/dist/esm/models/SessionState.js +11 -1
- package/dist/esm/models/SetPasswordByConfirmationHashPayload.d.ts +2 -2
- package/dist/esm/models/SetPasswordByConfirmationHashPayload.js +8 -11
- package/dist/esm/models/SetUserAccountPasswordPayload.d.ts +2 -2
- package/dist/esm/models/SetUserAccountPasswordPayload.js +13 -16
- package/dist/esm/models/SsoProvider.d.ts +2 -2
- package/dist/esm/models/SsoProvider.js +11 -13
- package/dist/esm/models/SsoToken.d.ts +2 -2
- package/dist/esm/models/SsoToken.js +11 -13
- package/dist/esm/models/UpdateOwnerOrganizationPayload.d.ts +2 -2
- package/dist/esm/models/UpdateOwnerOrganizationPayload.js +8 -11
- package/dist/esm/models/UpdateParentOrganizationPayload.d.ts +2 -2
- package/dist/esm/models/UpdateParentOrganizationPayload.js +8 -11
- package/dist/esm/models/UpdateUserAccountPayload.d.ts +2 -2
- package/dist/esm/models/UpdateUserAccountPayload.js +17 -20
- package/dist/esm/models/UpdateUserAccountSsoPayload.d.ts +2 -2
- package/dist/esm/models/UpdateUserAccountSsoPayload.js +10 -14
- package/dist/esm/models/UpsertServicePayload.d.ts +2 -2
- package/dist/esm/models/UpsertServicePayload.js +7 -12
- package/dist/esm/models/User.d.ts +5 -5
- package/dist/esm/models/User.js +71 -61
- package/dist/esm/models/UserAccountOrganizationRoles.d.ts +3 -3
- package/dist/esm/models/UserAccountOrganizationRoles.js +15 -16
- package/dist/esm/models/UserAccountPermission.d.ts +2 -2
- package/dist/esm/models/UserAccountPermission.js +11 -13
- package/dist/esm/models/UserAccountRole.d.ts +2 -2
- package/dist/esm/models/UserAccountRole.js +11 -13
- package/dist/esm/models/UserAccountRoleAttributions.d.ts +2 -2
- package/dist/esm/models/UserAccountRoleAttributions.js +8 -11
- package/dist/esm/models/UserAccountSearchResult.d.ts +6 -6
- package/dist/esm/models/UserAccountSearchResult.js +68 -59
- package/dist/esm/models/UserAgreement.d.ts +2 -2
- package/dist/esm/models/UserAgreement.js +8 -11
- package/dist/esm/models/UserAgreementState.d.ts +2 -1
- package/dist/esm/models/UserAgreementState.js +11 -1
- package/dist/esm/models/UserPermissions.d.ts +3 -3
- package/dist/esm/models/UserPermissions.js +12 -14
- package/dist/esm/models/UserServiceAssociation.d.ts +2 -2
- package/dist/esm/models/UserServiceAssociation.js +18 -20
- package/dist/esm/models/UserSsoProvider.d.ts +2 -2
- package/dist/esm/models/UserSsoProvider.js +8 -11
- package/dist/esm/models/UserState.d.ts +2 -1
- package/dist/esm/models/UserState.js +11 -1
- package/dist/esm/models/UserUuid.d.ts +2 -2
- package/dist/esm/models/UserUuid.js +8 -11
- package/dist/esm/runtime.d.ts +3 -4
- package/dist/esm/runtime.js +1 -5
- package/dist/models/ApplyPermissionsPayload.d.ts +2 -2
- package/dist/models/ApplyPermissionsPayload.js +15 -18
- package/dist/models/AuthenticationUserAccount.d.ts +2 -2
- package/dist/models/AuthenticationUserAccount.js +27 -26
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +2 -2
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +34 -39
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +3 -3
- package/dist/models/CreateOrUpdateOrganizationPayload.js +22 -26
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +2 -2
- package/dist/models/CreateOrUpdatePermissionPayload.js +12 -16
- package/dist/models/CreateOrganizationPayload.d.ts +3 -3
- package/dist/models/CreateOrganizationPayload.js +21 -26
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +2 -2
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +11 -17
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +2 -2
- package/dist/models/CreateOrganizationUserServicePayload.js +11 -17
- package/dist/models/CreateRole.d.ts +2 -2
- package/dist/models/CreateRole.js +15 -18
- package/dist/models/CreateUserAccountPayload.d.ts +3 -3
- package/dist/models/CreateUserAccountPayload.js +44 -44
- package/dist/models/CreateUserAccountServiceAssociation.d.ts +2 -2
- package/dist/models/CreateUserAccountServiceAssociation.js +17 -21
- package/dist/models/DatabaseState.d.ts +2 -1
- package/dist/models/DatabaseState.js +16 -5
- package/dist/models/EnableEquisoftConnectPayload.d.ts +2 -2
- package/dist/models/EnableEquisoftConnectPayload.js +11 -17
- package/dist/models/ErrorMessage.d.ts +2 -1
- package/dist/models/ErrorMessage.js +16 -5
- package/dist/models/ErrorPayload.d.ts +2 -2
- package/dist/models/ErrorPayload.js +14 -19
- package/dist/models/Id.d.ts +2 -2
- package/dist/models/Id.js +15 -18
- package/dist/models/ImpersonatePayload.d.ts +2 -2
- package/dist/models/ImpersonatePayload.js +12 -16
- package/dist/models/LegacyRoleSchema.d.ts +2 -2
- package/dist/models/LegacyRoleSchema.js +15 -18
- package/dist/models/ListOrganizationElement.d.ts +2 -2
- package/dist/models/ListOrganizationElement.js +23 -25
- package/dist/models/ListUserOrganizations.d.ts +2 -2
- package/dist/models/ListUserOrganizations.js +14 -19
- package/dist/models/LocalizedString.d.ts +2 -2
- package/dist/models/LocalizedString.js +15 -18
- package/dist/models/LoginPayload.d.ts +2 -2
- package/dist/models/LoginPayload.js +15 -18
- package/dist/models/NewPasswordPayload.d.ts +2 -2
- package/dist/models/NewPasswordPayload.js +12 -16
- package/dist/models/OAuthClient.d.ts +2 -2
- package/dist/models/OAuthClient.js +45 -41
- package/dist/models/OAuthClientCreated.d.ts +2 -2
- package/dist/models/OAuthClientCreated.js +12 -16
- package/dist/models/OAuthClientPublicKey.d.ts +2 -2
- package/dist/models/OAuthClientPublicKey.js +15 -18
- package/dist/models/Organization.d.ts +3 -3
- package/dist/models/Organization.js +37 -36
- package/dist/models/OrganizationCreated.d.ts +2 -2
- package/dist/models/OrganizationCreated.js +12 -16
- package/dist/models/OrganizationPathElement.d.ts +2 -2
- package/dist/models/OrganizationPathElement.js +15 -18
- package/dist/models/OrganizationRoleAttribution.d.ts +2 -2
- package/dist/models/OrganizationRoleAttribution.js +15 -18
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +2 -2
- package/dist/models/OrganizationRoleAttributionPermission.js +15 -18
- package/dist/models/OrganizationRoleAttributionRole.d.ts +3 -3
- package/dist/models/OrganizationRoleAttributionRole.js +19 -21
- package/dist/models/OrganizationRoleAttributionUser.d.ts +2 -2
- package/dist/models/OrganizationRoleAttributionUser.js +21 -22
- package/dist/models/OrganizationRoleAttributions.d.ts +2 -2
- package/dist/models/OrganizationRoleAttributions.js +12 -16
- package/dist/models/OrganizationServiceProfile.d.ts +2 -2
- package/dist/models/OrganizationServiceProfile.js +15 -18
- package/dist/models/OrganizationServicesElement.d.ts +2 -2
- package/dist/models/OrganizationServicesElement.js +14 -19
- package/dist/models/OrganizationSsoProvider.d.ts +2 -2
- package/dist/models/OrganizationSsoProvider.js +15 -18
- package/dist/models/OrganizationUserServiceAssociation.d.ts +2 -2
- package/dist/models/OrganizationUserServiceAssociation.js +17 -21
- package/dist/models/PasswordPolicy.d.ts +2 -2
- package/dist/models/PasswordPolicy.js +33 -30
- package/dist/models/PermissionCode.d.ts +2 -2
- package/dist/models/PermissionCode.js +12 -16
- package/dist/models/PermissionCreated.d.ts +2 -2
- package/dist/models/PermissionCreated.js +12 -16
- package/dist/models/PermissionList.d.ts +2 -2
- package/dist/models/PermissionList.js +12 -16
- package/dist/models/PermissionResourceType.d.ts +2 -1
- package/dist/models/PermissionResourceType.js +16 -5
- package/dist/models/Role.d.ts +2 -2
- package/dist/models/Role.js +18 -20
- package/dist/models/RoleCreated.d.ts +2 -2
- package/dist/models/RoleCreated.js +18 -20
- package/dist/models/RolesOnOrganization.d.ts +4 -4
- package/dist/models/RolesOnOrganization.js +26 -26
- package/dist/models/SendResetPasswordLinkPayload.d.ts +2 -2
- package/dist/models/SendResetPasswordLinkPayload.js +13 -19
- package/dist/models/SendSignupInvitationPayload.d.ts +2 -2
- package/dist/models/SendSignupInvitationPayload.js +29 -31
- package/dist/models/ServiceAccess.d.ts +2 -2
- package/dist/models/ServiceAccess.js +22 -27
- package/dist/models/ServiceAccountCreationSchema.d.ts +2 -2
- package/dist/models/ServiceAccountCreationSchema.js +24 -24
- package/dist/models/ServiceAccountSchema.d.ts +2 -2
- package/dist/models/ServiceAccountSchema.js +32 -31
- package/dist/models/ServiceAccountStatus.d.ts +2 -1
- package/dist/models/ServiceAccountStatus.js +16 -5
- package/dist/models/ServiceAccountUpdateSchema.d.ts +2 -2
- package/dist/models/ServiceAccountUpdateSchema.js +17 -23
- package/dist/models/ServiceAccountUuidSchema.d.ts +2 -2
- package/dist/models/ServiceAccountUuidSchema.js +12 -16
- package/dist/models/ServiceName.d.ts +2 -1
- package/dist/models/ServiceName.js +16 -5
- package/dist/models/Session.d.ts +3 -3
- package/dist/models/Session.js +40 -38
- package/dist/models/SessionPayload.d.ts +2 -2
- package/dist/models/SessionPayload.js +23 -27
- package/dist/models/SessionPolicy.d.ts +2 -2
- package/dist/models/SessionPolicy.js +13 -19
- package/dist/models/SessionState.d.ts +2 -1
- package/dist/models/SessionState.js +16 -5
- package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +2 -2
- package/dist/models/SetPasswordByConfirmationHashPayload.js +12 -16
- package/dist/models/SetUserAccountPasswordPayload.d.ts +2 -2
- package/dist/models/SetUserAccountPasswordPayload.js +17 -21
- package/dist/models/SsoProvider.d.ts +2 -2
- package/dist/models/SsoProvider.js +15 -18
- package/dist/models/SsoToken.d.ts +2 -2
- package/dist/models/SsoToken.js +15 -18
- package/dist/models/UpdateOwnerOrganizationPayload.d.ts +2 -2
- package/dist/models/UpdateOwnerOrganizationPayload.js +12 -16
- package/dist/models/UpdateParentOrganizationPayload.d.ts +2 -2
- package/dist/models/UpdateParentOrganizationPayload.js +12 -16
- package/dist/models/UpdateUserAccountPayload.d.ts +2 -2
- package/dist/models/UpdateUserAccountPayload.js +21 -25
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +2 -2
- package/dist/models/UpdateUserAccountSsoPayload.js +14 -19
- package/dist/models/UpsertServicePayload.d.ts +2 -2
- package/dist/models/UpsertServicePayload.js +11 -17
- package/dist/models/User.d.ts +5 -5
- package/dist/models/User.js +75 -66
- package/dist/models/UserAccountOrganizationRoles.d.ts +3 -3
- package/dist/models/UserAccountOrganizationRoles.js +19 -21
- package/dist/models/UserAccountPermission.d.ts +2 -2
- package/dist/models/UserAccountPermission.js +15 -18
- package/dist/models/UserAccountRole.d.ts +2 -2
- package/dist/models/UserAccountRole.js +15 -18
- package/dist/models/UserAccountRoleAttributions.d.ts +2 -2
- package/dist/models/UserAccountRoleAttributions.js +12 -16
- package/dist/models/UserAccountSearchResult.d.ts +6 -6
- package/dist/models/UserAccountSearchResult.js +72 -64
- package/dist/models/UserAgreement.d.ts +2 -2
- package/dist/models/UserAgreement.js +12 -16
- package/dist/models/UserAgreementState.d.ts +2 -1
- package/dist/models/UserAgreementState.js +16 -5
- package/dist/models/UserPermissions.d.ts +3 -3
- package/dist/models/UserPermissions.js +16 -19
- package/dist/models/UserServiceAssociation.d.ts +2 -2
- package/dist/models/UserServiceAssociation.js +22 -25
- package/dist/models/UserSsoProvider.d.ts +2 -2
- package/dist/models/UserSsoProvider.js +12 -16
- package/dist/models/UserState.d.ts +2 -1
- package/dist/models/UserState.js +16 -5
- package/dist/models/UserUuid.d.ts +2 -2
- package/dist/models/UserUuid.js +12 -16
- package/dist/runtime.d.ts +3 -4
- package/dist/runtime.js +5 -10
- package/package.json +2 -2
- package/src/apis/OAuthApi.ts +19 -10
- package/src/apis/OrganizationApi.ts +273 -132
- package/src/apis/PermissionApi.ts +13 -7
- package/src/apis/RoleApi.ts +7 -4
- package/src/apis/ServiceAccountApi.ts +39 -21
- package/src/apis/SessionApi.ts +97 -49
- package/src/apis/UserApi.ts +307 -157
- package/src/models/ApplyPermissionsPayload.ts +11 -16
- package/src/models/AuthenticationUserAccount.ts +19 -24
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +31 -36
- package/src/models/CreateOrUpdateOrganizationPayload.ts +23 -28
- package/src/models/CreateOrUpdatePermissionPayload.ts +9 -14
- package/src/models/CreateOrganizationPayload.ts +23 -28
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +9 -14
- package/src/models/CreateOrganizationUserServicePayload.ts +9 -14
- package/src/models/CreateRole.ts +11 -16
- package/src/models/CreateUserAccountPayload.ts +41 -46
- package/src/models/CreateUserAccountServiceAssociation.ts +13 -18
- package/src/models/DatabaseState.ts +12 -1
- package/src/models/EnableEquisoftConnectPayload.ts +9 -14
- package/src/models/ErrorMessage.ts +12 -1
- package/src/models/ErrorPayload.ts +11 -16
- package/src/models/Id.ts +11 -16
- package/src/models/ImpersonatePayload.ts +9 -14
- package/src/models/LegacyRoleSchema.ts +11 -16
- package/src/models/ListOrganizationElement.ts +17 -22
- package/src/models/ListUserOrganizations.ts +11 -16
- package/src/models/LocalizedString.ts +11 -16
- package/src/models/LoginPayload.ts +11 -16
- package/src/models/NewPasswordPayload.ts +9 -14
- package/src/models/OAuthClient.ts +33 -38
- package/src/models/OAuthClientCreated.ts +9 -14
- package/src/models/OAuthClientPublicKey.ts +11 -16
- package/src/models/Organization.ts +33 -38
- package/src/models/OrganizationCreated.ts +9 -14
- package/src/models/OrganizationPathElement.ts +11 -16
- package/src/models/OrganizationRoleAttribution.ts +11 -16
- package/src/models/OrganizationRoleAttributionPermission.ts +11 -16
- package/src/models/OrganizationRoleAttributionRole.ts +19 -24
- package/src/models/OrganizationRoleAttributionUser.ts +15 -20
- package/src/models/OrganizationRoleAttributions.ts +9 -14
- package/src/models/OrganizationServiceProfile.ts +11 -16
- package/src/models/OrganizationServicesElement.ts +11 -16
- package/src/models/OrganizationSsoProvider.ts +11 -16
- package/src/models/OrganizationUserServiceAssociation.ts +13 -18
- package/src/models/PasswordPolicy.ts +23 -28
- package/src/models/PermissionCode.ts +9 -14
- package/src/models/PermissionCreated.ts +9 -14
- package/src/models/PermissionList.ts +9 -14
- package/src/models/PermissionResourceType.ts +12 -1
- package/src/models/Role.ts +13 -18
- package/src/models/RoleCreated.ts +13 -18
- package/src/models/RolesOnOrganization.ts +29 -34
- package/src/models/SendResetPasswordLinkPayload.ts +11 -16
- package/src/models/SendSignupInvitationPayload.ts +23 -28
- package/src/models/ServiceAccess.ts +19 -24
- package/src/models/ServiceAccountCreationSchema.ts +17 -22
- package/src/models/ServiceAccountSchema.ts +23 -28
- package/src/models/ServiceAccountStatus.ts +12 -1
- package/src/models/ServiceAccountUpdateSchema.ts +15 -20
- package/src/models/ServiceAccountUuidSchema.ts +9 -14
- package/src/models/ServiceName.ts +12 -1
- package/src/models/Session.ts +35 -40
- package/src/models/SessionPayload.ts +19 -24
- package/src/models/SessionPolicy.ts +11 -16
- package/src/models/SessionState.ts +12 -1
- package/src/models/SetPasswordByConfirmationHashPayload.ts +9 -14
- package/src/models/SetUserAccountPasswordPayload.ts +13 -18
- package/src/models/SsoProvider.ts +11 -16
- package/src/models/SsoToken.ts +11 -16
- package/src/models/UpdateOwnerOrganizationPayload.ts +9 -14
- package/src/models/UpdateParentOrganizationPayload.ts +9 -14
- package/src/models/UpdateUserAccountPayload.ts +17 -22
- package/src/models/UpdateUserAccountSsoPayload.ts +11 -16
- package/src/models/UpsertServicePayload.ts +9 -14
- package/src/models/User.ts +68 -74
- package/src/models/UserAccountOrganizationRoles.ts +19 -24
- package/src/models/UserAccountPermission.ts +11 -16
- package/src/models/UserAccountRole.ts +11 -16
- package/src/models/UserAccountRoleAttributions.ts +9 -14
- package/src/models/UserAccountSearchResult.ts +67 -73
- package/src/models/UserAgreement.ts +9 -14
- package/src/models/UserAgreementState.ts +12 -1
- package/src/models/UserPermissions.ts +17 -22
- package/src/models/UserServiceAssociation.ts +17 -22
- package/src/models/UserSsoProvider.ts +9 -14
- package/src/models/UserState.ts +12 -1
- package/src/models/UserUuid.ts +9 -14
- package/src/runtime.ts +4 -9
package/src/models/CreateRole.ts
CHANGED
|
@@ -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.
|
|
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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { LocalizedString } from './LocalizedString';
|
|
17
17
|
import {
|
|
18
18
|
LocalizedStringFromJSON,
|
|
@@ -43,12 +43,10 @@ export interface CreateRole {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the CreateRole interface.
|
|
45
45
|
*/
|
|
46
|
-
export function instanceOfCreateRole(value: object):
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
return isInstance;
|
|
46
|
+
export function instanceOfCreateRole(value: object): value is CreateRole {
|
|
47
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
|
+
if (!('permissions' in value) || value['permissions'] === undefined) return false;
|
|
49
|
+
return true;
|
|
52
50
|
}
|
|
53
51
|
|
|
54
52
|
export function CreateRoleFromJSON(json: any): CreateRole {
|
|
@@ -56,7 +54,7 @@ export function CreateRoleFromJSON(json: any): CreateRole {
|
|
|
56
54
|
}
|
|
57
55
|
|
|
58
56
|
export function CreateRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRole {
|
|
59
|
-
if (
|
|
57
|
+
if (json == null) {
|
|
60
58
|
return json;
|
|
61
59
|
}
|
|
62
60
|
return {
|
|
@@ -67,16 +65,13 @@ export function CreateRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
export function CreateRoleToJSON(value?: CreateRole | null): any {
|
|
70
|
-
if (value
|
|
71
|
-
return
|
|
72
|
-
}
|
|
73
|
-
if (value === null) {
|
|
74
|
-
return null;
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
75
70
|
}
|
|
76
71
|
return {
|
|
77
72
|
|
|
78
|
-
'name': LocalizedStringToJSON(value
|
|
79
|
-
'permissions': value
|
|
73
|
+
'name': LocalizedStringToJSON(value['name']),
|
|
74
|
+
'permissions': value['permissions'],
|
|
80
75
|
};
|
|
81
76
|
}
|
|
82
77
|
|
|
@@ -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.
|
|
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).
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { CreateUserAccountServiceAssociation } from './CreateUserAccountServiceAssociation';
|
|
17
17
|
import {
|
|
18
18
|
CreateUserAccountServiceAssociationFromJSON,
|
|
19
19
|
CreateUserAccountServiceAssociationFromJSONTyped,
|
|
20
20
|
CreateUserAccountServiceAssociationToJSON,
|
|
21
21
|
} from './CreateUserAccountServiceAssociation';
|
|
22
|
-
import type { PasswordPolicy } from './PasswordPolicy';
|
|
23
|
-
import {
|
|
24
|
-
PasswordPolicyFromJSON,
|
|
25
|
-
PasswordPolicyFromJSONTyped,
|
|
26
|
-
PasswordPolicyToJSON,
|
|
27
|
-
} from './PasswordPolicy';
|
|
28
22
|
import type { SessionPolicy } from './SessionPolicy';
|
|
29
23
|
import {
|
|
30
24
|
SessionPolicyFromJSON,
|
|
31
25
|
SessionPolicyFromJSONTyped,
|
|
32
26
|
SessionPolicyToJSON,
|
|
33
27
|
} from './SessionPolicy';
|
|
28
|
+
import type { PasswordPolicy } from './PasswordPolicy';
|
|
29
|
+
import {
|
|
30
|
+
PasswordPolicyFromJSON,
|
|
31
|
+
PasswordPolicyFromJSONTyped,
|
|
32
|
+
PasswordPolicyToJSON,
|
|
33
|
+
} from './PasswordPolicy';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -127,16 +127,14 @@ export interface CreateUserAccountPayload {
|
|
|
127
127
|
/**
|
|
128
128
|
* Check if a given object implements the CreateUserAccountPayload interface.
|
|
129
129
|
*/
|
|
130
|
-
export function instanceOfCreateUserAccountPayload(value: object):
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
return isInstance;
|
|
130
|
+
export function instanceOfCreateUserAccountPayload(value: object): value is CreateUserAccountPayload {
|
|
131
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
132
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
133
|
+
if (!('sortName' in value) || value['sortName'] === undefined) return false;
|
|
134
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
135
|
+
if (!('userAgreementRequested' in value) || value['userAgreementRequested'] === undefined) return false;
|
|
136
|
+
if (!('deletable' in value) || value['deletable'] === undefined) return false;
|
|
137
|
+
return true;
|
|
140
138
|
}
|
|
141
139
|
|
|
142
140
|
export function CreateUserAccountPayloadFromJSON(json: any): CreateUserAccountPayload {
|
|
@@ -144,51 +142,48 @@ export function CreateUserAccountPayloadFromJSON(json: any): CreateUserAccountPa
|
|
|
144
142
|
}
|
|
145
143
|
|
|
146
144
|
export function CreateUserAccountPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUserAccountPayload {
|
|
147
|
-
if (
|
|
145
|
+
if (json == null) {
|
|
148
146
|
return json;
|
|
149
147
|
}
|
|
150
148
|
return {
|
|
151
149
|
|
|
152
150
|
'email': json['email'],
|
|
153
|
-
'givenName':
|
|
154
|
-
'familyName':
|
|
151
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
152
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
155
153
|
'displayName': json['displayName'],
|
|
156
154
|
'sortName': json['sortName'],
|
|
157
155
|
'locale': json['locale'],
|
|
158
|
-
'mobilePhone':
|
|
156
|
+
'mobilePhone': json['mobilePhone'] == null ? undefined : json['mobilePhone'],
|
|
159
157
|
'userAgreementRequested': json['userAgreementRequested'],
|
|
160
158
|
'deletable': json['deletable'],
|
|
161
|
-
'ownerOrganizationUuid':
|
|
162
|
-
'services':
|
|
163
|
-
'sessionPolicy':
|
|
164
|
-
'passwordPolicy':
|
|
165
|
-
'legacyRoles':
|
|
159
|
+
'ownerOrganizationUuid': json['ownerOrganizationUuid'] == null ? undefined : json['ownerOrganizationUuid'],
|
|
160
|
+
'services': json['services'] == null ? undefined : ((json['services'] as Array<any>).map(CreateUserAccountServiceAssociationFromJSON)),
|
|
161
|
+
'sessionPolicy': json['sessionPolicy'] == null ? undefined : SessionPolicyFromJSON(json['sessionPolicy']),
|
|
162
|
+
'passwordPolicy': json['passwordPolicy'] == null ? undefined : PasswordPolicyFromJSON(json['passwordPolicy']),
|
|
163
|
+
'legacyRoles': json['legacyRoles'] == null ? undefined : json['legacyRoles'],
|
|
166
164
|
};
|
|
167
165
|
}
|
|
168
166
|
|
|
169
167
|
export function CreateUserAccountPayloadToJSON(value?: CreateUserAccountPayload | null): any {
|
|
170
|
-
if (value
|
|
171
|
-
return
|
|
172
|
-
}
|
|
173
|
-
if (value === null) {
|
|
174
|
-
return null;
|
|
168
|
+
if (value == null) {
|
|
169
|
+
return value;
|
|
175
170
|
}
|
|
176
171
|
return {
|
|
177
172
|
|
|
178
|
-
'email': value
|
|
179
|
-
'givenName': value
|
|
180
|
-
'familyName': value
|
|
181
|
-
'displayName': value
|
|
182
|
-
'sortName': value
|
|
183
|
-
'locale': value
|
|
184
|
-
'mobilePhone': value
|
|
185
|
-
'userAgreementRequested': value
|
|
186
|
-
'deletable': value
|
|
187
|
-
'ownerOrganizationUuid': value
|
|
188
|
-
'services': value
|
|
189
|
-
'sessionPolicy': SessionPolicyToJSON(value
|
|
190
|
-
'passwordPolicy': PasswordPolicyToJSON(value
|
|
191
|
-
'legacyRoles': value
|
|
173
|
+
'email': value['email'],
|
|
174
|
+
'givenName': value['givenName'],
|
|
175
|
+
'familyName': value['familyName'],
|
|
176
|
+
'displayName': value['displayName'],
|
|
177
|
+
'sortName': value['sortName'],
|
|
178
|
+
'locale': value['locale'],
|
|
179
|
+
'mobilePhone': value['mobilePhone'],
|
|
180
|
+
'userAgreementRequested': value['userAgreementRequested'],
|
|
181
|
+
'deletable': value['deletable'],
|
|
182
|
+
'ownerOrganizationUuid': value['ownerOrganizationUuid'],
|
|
183
|
+
'services': value['services'] == null ? undefined : ((value['services'] as Array<any>).map(CreateUserAccountServiceAssociationToJSON)),
|
|
184
|
+
'sessionPolicy': SessionPolicyToJSON(value['sessionPolicy']),
|
|
185
|
+
'passwordPolicy': PasswordPolicyToJSON(value['passwordPolicy']),
|
|
186
|
+
'legacyRoles': value['legacyRoles'],
|
|
192
187
|
};
|
|
193
188
|
}
|
|
194
189
|
|
|
@@ -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.
|
|
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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -42,12 +42,10 @@ export interface CreateUserAccountServiceAssociation {
|
|
|
42
42
|
/**
|
|
43
43
|
* Check if a given object implements the CreateUserAccountServiceAssociation interface.
|
|
44
44
|
*/
|
|
45
|
-
export function instanceOfCreateUserAccountServiceAssociation(value: object):
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return isInstance;
|
|
45
|
+
export function instanceOfCreateUserAccountServiceAssociation(value: object): value is CreateUserAccountServiceAssociation {
|
|
46
|
+
if (!('organizationUuid' in value) || value['organizationUuid'] === undefined) return false;
|
|
47
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
48
|
+
return true;
|
|
51
49
|
}
|
|
52
50
|
|
|
53
51
|
export function CreateUserAccountServiceAssociationFromJSON(json: any): CreateUserAccountServiceAssociation {
|
|
@@ -55,29 +53,26 @@ export function CreateUserAccountServiceAssociationFromJSON(json: any): CreateUs
|
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
export function CreateUserAccountServiceAssociationFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUserAccountServiceAssociation {
|
|
58
|
-
if (
|
|
56
|
+
if (json == null) {
|
|
59
57
|
return json;
|
|
60
58
|
}
|
|
61
59
|
return {
|
|
62
60
|
|
|
63
61
|
'organizationUuid': json['organizationUuid'],
|
|
64
62
|
'code': json['code'],
|
|
65
|
-
'options':
|
|
63
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
66
64
|
};
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
export function CreateUserAccountServiceAssociationToJSON(value?: CreateUserAccountServiceAssociation | null): any {
|
|
70
|
-
if (value
|
|
71
|
-
return
|
|
72
|
-
}
|
|
73
|
-
if (value === null) {
|
|
74
|
-
return null;
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
75
70
|
}
|
|
76
71
|
return {
|
|
77
72
|
|
|
78
|
-
'organizationUuid': value
|
|
79
|
-
'code': value
|
|
80
|
-
'options': value
|
|
73
|
+
'organizationUuid': value['organizationUuid'],
|
|
74
|
+
'code': value['code'],
|
|
75
|
+
'options': value['options'],
|
|
81
76
|
};
|
|
82
77
|
}
|
|
83
78
|
|
|
@@ -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.
|
|
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).
|
|
@@ -32,6 +32,17 @@ export const DatabaseState = {
|
|
|
32
32
|
export type DatabaseState = typeof DatabaseState[keyof typeof DatabaseState];
|
|
33
33
|
|
|
34
34
|
|
|
35
|
+
export function instanceOfDatabaseState(value: any): boolean {
|
|
36
|
+
for (const key in DatabaseState) {
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(DatabaseState, key)) {
|
|
38
|
+
if ((DatabaseState as Record<string, DatabaseState>)[key] === value) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
|
|
35
46
|
export function DatabaseStateFromJSON(json: any): DatabaseState {
|
|
36
47
|
return DatabaseStateFromJSONTyped(json, false);
|
|
37
48
|
}
|
|
@@ -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.
|
|
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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
* Parameters needed to enable Equisoft Connect for a user session
|
|
18
18
|
* @export
|
|
@@ -30,10 +30,8 @@ export interface EnableEquisoftConnectPayload {
|
|
|
30
30
|
/**
|
|
31
31
|
* Check if a given object implements the EnableEquisoftConnectPayload interface.
|
|
32
32
|
*/
|
|
33
|
-
export function instanceOfEnableEquisoftConnectPayload(value: object):
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return isInstance;
|
|
33
|
+
export function instanceOfEnableEquisoftConnectPayload(value: object): value is EnableEquisoftConnectPayload {
|
|
34
|
+
return true;
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
export function EnableEquisoftConnectPayloadFromJSON(json: any): EnableEquisoftConnectPayload {
|
|
@@ -41,25 +39,22 @@ export function EnableEquisoftConnectPayloadFromJSON(json: any): EnableEquisoftC
|
|
|
41
39
|
}
|
|
42
40
|
|
|
43
41
|
export function EnableEquisoftConnectPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnableEquisoftConnectPayload {
|
|
44
|
-
if (
|
|
42
|
+
if (json == null) {
|
|
45
43
|
return json;
|
|
46
44
|
}
|
|
47
45
|
return {
|
|
48
46
|
|
|
49
|
-
'disableOldestSessions':
|
|
47
|
+
'disableOldestSessions': json['disableOldestSessions'] == null ? undefined : json['disableOldestSessions'],
|
|
50
48
|
};
|
|
51
49
|
}
|
|
52
50
|
|
|
53
51
|
export function EnableEquisoftConnectPayloadToJSON(value?: EnableEquisoftConnectPayload | null): any {
|
|
54
|
-
if (value
|
|
55
|
-
return
|
|
56
|
-
}
|
|
57
|
-
if (value === null) {
|
|
58
|
-
return null;
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
59
54
|
}
|
|
60
55
|
return {
|
|
61
56
|
|
|
62
|
-
'disableOldestSessions': value
|
|
57
|
+
'disableOldestSessions': value['disableOldestSessions'],
|
|
63
58
|
};
|
|
64
59
|
}
|
|
65
60
|
|
|
@@ -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.
|
|
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).
|
|
@@ -41,6 +41,17 @@ export const ErrorMessage = {
|
|
|
41
41
|
export type ErrorMessage = typeof ErrorMessage[keyof typeof ErrorMessage];
|
|
42
42
|
|
|
43
43
|
|
|
44
|
+
export function instanceOfErrorMessage(value: any): boolean {
|
|
45
|
+
for (const key in ErrorMessage) {
|
|
46
|
+
if (Object.prototype.hasOwnProperty.call(ErrorMessage, key)) {
|
|
47
|
+
if ((ErrorMessage as Record<string, ErrorMessage>)[key] === value) {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
|
|
44
55
|
export function ErrorMessageFromJSON(json: any): ErrorMessage {
|
|
45
56
|
return ErrorMessageFromJSONTyped(json, false);
|
|
46
57
|
}
|
|
@@ -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.
|
|
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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { ErrorMessage } from './ErrorMessage';
|
|
17
17
|
import {
|
|
18
18
|
ErrorMessageFromJSON,
|
|
@@ -43,11 +43,9 @@ export interface ErrorPayload {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the ErrorPayload interface.
|
|
45
45
|
*/
|
|
46
|
-
export function instanceOfErrorPayload(value: object):
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return isInstance;
|
|
46
|
+
export function instanceOfErrorPayload(value: object): value is ErrorPayload {
|
|
47
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
48
|
+
return true;
|
|
51
49
|
}
|
|
52
50
|
|
|
53
51
|
export function ErrorPayloadFromJSON(json: any): ErrorPayload {
|
|
@@ -55,27 +53,24 @@ export function ErrorPayloadFromJSON(json: any): ErrorPayload {
|
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
export function ErrorPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorPayload {
|
|
58
|
-
if (
|
|
56
|
+
if (json == null) {
|
|
59
57
|
return json;
|
|
60
58
|
}
|
|
61
59
|
return {
|
|
62
60
|
|
|
63
61
|
'message': ErrorMessageFromJSON(json['message']),
|
|
64
|
-
'description':
|
|
62
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
65
63
|
};
|
|
66
64
|
}
|
|
67
65
|
|
|
68
66
|
export function ErrorPayloadToJSON(value?: ErrorPayload | null): any {
|
|
69
|
-
if (value
|
|
70
|
-
return
|
|
71
|
-
}
|
|
72
|
-
if (value === null) {
|
|
73
|
-
return null;
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
74
69
|
}
|
|
75
70
|
return {
|
|
76
71
|
|
|
77
|
-
'message': ErrorMessageToJSON(value
|
|
78
|
-
'description': value
|
|
72
|
+
'message': ErrorMessageToJSON(value['message']),
|
|
73
|
+
'description': value['description'],
|
|
79
74
|
};
|
|
80
75
|
}
|
|
81
76
|
|
package/src/models/Id.ts
CHANGED
|
@@ -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.
|
|
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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -36,12 +36,10 @@ export interface Id {
|
|
|
36
36
|
/**
|
|
37
37
|
* Check if a given object implements the Id interface.
|
|
38
38
|
*/
|
|
39
|
-
export function instanceOfId(value: object):
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return isInstance;
|
|
39
|
+
export function instanceOfId(value: object): value is Id {
|
|
40
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
|
+
if (!('uuid' in value) || value['uuid'] === undefined) return false;
|
|
42
|
+
return true;
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
export function IdFromJSON(json: any): Id {
|
|
@@ -49,7 +47,7 @@ export function IdFromJSON(json: any): Id {
|
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
export function IdFromJSONTyped(json: any, ignoreDiscriminator: boolean): Id {
|
|
52
|
-
if (
|
|
50
|
+
if (json == null) {
|
|
53
51
|
return json;
|
|
54
52
|
}
|
|
55
53
|
return {
|
|
@@ -60,16 +58,13 @@ export function IdFromJSONTyped(json: any, ignoreDiscriminator: boolean): Id {
|
|
|
60
58
|
}
|
|
61
59
|
|
|
62
60
|
export function IdToJSON(value?: Id | null): any {
|
|
63
|
-
if (value
|
|
64
|
-
return
|
|
65
|
-
}
|
|
66
|
-
if (value === null) {
|
|
67
|
-
return null;
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
68
63
|
}
|
|
69
64
|
return {
|
|
70
65
|
|
|
71
|
-
'id': value
|
|
72
|
-
'uuid': value
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'uuid': value['uuid'],
|
|
73
68
|
};
|
|
74
69
|
}
|
|
75
70
|
|
|
@@ -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.
|
|
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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
* Parameters needed to impersonanted a user for a user session
|
|
18
18
|
* @export
|
|
@@ -30,11 +30,9 @@ export interface ImpersonatePayload {
|
|
|
30
30
|
/**
|
|
31
31
|
* Check if a given object implements the ImpersonatePayload interface.
|
|
32
32
|
*/
|
|
33
|
-
export function instanceOfImpersonatePayload(value: object):
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return isInstance;
|
|
33
|
+
export function instanceOfImpersonatePayload(value: object): value is ImpersonatePayload {
|
|
34
|
+
if (!('userUuid' in value) || value['userUuid'] === undefined) return false;
|
|
35
|
+
return true;
|
|
38
36
|
}
|
|
39
37
|
|
|
40
38
|
export function ImpersonatePayloadFromJSON(json: any): ImpersonatePayload {
|
|
@@ -42,7 +40,7 @@ export function ImpersonatePayloadFromJSON(json: any): ImpersonatePayload {
|
|
|
42
40
|
}
|
|
43
41
|
|
|
44
42
|
export function ImpersonatePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImpersonatePayload {
|
|
45
|
-
if (
|
|
43
|
+
if (json == null) {
|
|
46
44
|
return json;
|
|
47
45
|
}
|
|
48
46
|
return {
|
|
@@ -52,15 +50,12 @@ export function ImpersonatePayloadFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
52
50
|
}
|
|
53
51
|
|
|
54
52
|
export function ImpersonatePayloadToJSON(value?: ImpersonatePayload | null): any {
|
|
55
|
-
if (value
|
|
56
|
-
return
|
|
57
|
-
}
|
|
58
|
-
if (value === null) {
|
|
59
|
-
return null;
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
60
55
|
}
|
|
61
56
|
return {
|
|
62
57
|
|
|
63
|
-
'userUuid': value
|
|
58
|
+
'userUuid': value['userUuid'],
|
|
64
59
|
};
|
|
65
60
|
}
|
|
66
61
|
|
|
@@ -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.
|
|
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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { LocalizedString } from './LocalizedString';
|
|
17
17
|
import {
|
|
18
18
|
LocalizedStringFromJSON,
|
|
@@ -43,12 +43,10 @@ export interface LegacyRoleSchema {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the LegacyRoleSchema interface.
|
|
45
45
|
*/
|
|
46
|
-
export function instanceOfLegacyRoleSchema(value: object):
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
return isInstance;
|
|
46
|
+
export function instanceOfLegacyRoleSchema(value: object): value is LegacyRoleSchema {
|
|
47
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
48
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
49
|
+
return true;
|
|
52
50
|
}
|
|
53
51
|
|
|
54
52
|
export function LegacyRoleSchemaFromJSON(json: any): LegacyRoleSchema {
|
|
@@ -56,7 +54,7 @@ export function LegacyRoleSchemaFromJSON(json: any): LegacyRoleSchema {
|
|
|
56
54
|
}
|
|
57
55
|
|
|
58
56
|
export function LegacyRoleSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyRoleSchema {
|
|
59
|
-
if (
|
|
57
|
+
if (json == null) {
|
|
60
58
|
return json;
|
|
61
59
|
}
|
|
62
60
|
return {
|
|
@@ -67,16 +65,13 @@ export function LegacyRoleSchemaFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
export function LegacyRoleSchemaToJSON(value?: LegacyRoleSchema | null): any {
|
|
70
|
-
if (value
|
|
71
|
-
return
|
|
72
|
-
}
|
|
73
|
-
if (value === null) {
|
|
74
|
-
return null;
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
75
70
|
}
|
|
76
71
|
return {
|
|
77
72
|
|
|
78
|
-
'code': value
|
|
79
|
-
'name': LocalizedStringToJSON(value
|
|
73
|
+
'code': value['code'],
|
|
74
|
+
'name': LocalizedStringToJSON(value['name']),
|
|
80
75
|
};
|
|
81
76
|
}
|
|
82
77
|
|