@equisoft/account-service-sdk-typescript 7.3.1-snapshot.20240719141347 → 7.5.1-snapshot.20241129221844
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
|
@@ -4,53 +4,49 @@
|
|
|
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.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
import { DatabaseStateFromJSON, DatabaseStateToJSON, } from './DatabaseState';
|
|
16
15
|
import { ServiceNameFromJSON, ServiceNameToJSON, } from './ServiceName';
|
|
17
16
|
/**
|
|
18
17
|
* Check if a given object implements the ServiceAccess interface.
|
|
19
18
|
*/
|
|
20
19
|
export function instanceOfServiceAccess(value) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return
|
|
20
|
+
if (!('serviceName' in value) || value['serviceName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
24
23
|
}
|
|
25
24
|
export function ServiceAccessFromJSON(json) {
|
|
26
25
|
return ServiceAccessFromJSONTyped(json, false);
|
|
27
26
|
}
|
|
28
27
|
export function ServiceAccessFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (
|
|
28
|
+
if (json == null) {
|
|
30
29
|
return json;
|
|
31
30
|
}
|
|
32
31
|
return {
|
|
33
32
|
'serviceName': ServiceNameFromJSON(json['serviceName']),
|
|
34
|
-
'databaseId':
|
|
35
|
-
'databaseName':
|
|
36
|
-
'databaseState':
|
|
37
|
-
'userId':
|
|
38
|
-
'maxConcurrentAccess':
|
|
33
|
+
'databaseId': json['databaseId'] == null ? undefined : json['databaseId'],
|
|
34
|
+
'databaseName': json['databaseName'] == null ? undefined : json['databaseName'],
|
|
35
|
+
'databaseState': json['databaseState'] == null ? undefined : DatabaseStateFromJSON(json['databaseState']),
|
|
36
|
+
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
37
|
+
'maxConcurrentAccess': json['maxConcurrentAccess'] == null ? undefined : json['maxConcurrentAccess'],
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
export function ServiceAccessToJSON(value) {
|
|
42
|
-
if (value
|
|
43
|
-
return
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
47
43
|
}
|
|
48
44
|
return {
|
|
49
|
-
'serviceName': ServiceNameToJSON(value
|
|
50
|
-
'databaseId': value
|
|
51
|
-
'databaseName': value
|
|
52
|
-
'databaseState': DatabaseStateToJSON(value
|
|
53
|
-
'userId': value
|
|
54
|
-
'maxConcurrentAccess': value
|
|
45
|
+
'serviceName': ServiceNameToJSON(value['serviceName']),
|
|
46
|
+
'databaseId': value['databaseId'],
|
|
47
|
+
'databaseName': value['databaseName'],
|
|
48
|
+
'databaseState': DatabaseStateToJSON(value['databaseState']),
|
|
49
|
+
'userId': value['userId'],
|
|
50
|
+
'maxConcurrentAccess': value['maxConcurrentAccess'],
|
|
55
51
|
};
|
|
56
52
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.
|
|
5
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -49,7 +49,7 @@ export interface ServiceAccountCreationSchema {
|
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the ServiceAccountCreationSchema interface.
|
|
51
51
|
*/
|
|
52
|
-
export declare function instanceOfServiceAccountCreationSchema(value: object):
|
|
52
|
+
export declare function instanceOfServiceAccountCreationSchema(value: object): value is ServiceAccountCreationSchema;
|
|
53
53
|
export declare function ServiceAccountCreationSchemaFromJSON(json: any): ServiceAccountCreationSchema;
|
|
54
54
|
export declare function ServiceAccountCreationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountCreationSchema;
|
|
55
55
|
export declare function ServiceAccountCreationSchemaToJSON(value?: ServiceAccountCreationSchema | null): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,19 +15,23 @@
|
|
|
15
15
|
* Check if a given object implements the ServiceAccountCreationSchema interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfServiceAccountCreationSchema(value) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('ownerOrganizationUuid' in value) || value['ownerOrganizationUuid'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
25
29
|
}
|
|
26
30
|
export function ServiceAccountCreationSchemaFromJSON(json) {
|
|
27
31
|
return ServiceAccountCreationSchemaFromJSONTyped(json, false);
|
|
28
32
|
}
|
|
29
33
|
export function ServiceAccountCreationSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (
|
|
34
|
+
if (json == null) {
|
|
31
35
|
return json;
|
|
32
36
|
}
|
|
33
37
|
return {
|
|
@@ -39,17 +43,14 @@ export function ServiceAccountCreationSchemaFromJSONTyped(json, ignoreDiscrimina
|
|
|
39
43
|
};
|
|
40
44
|
}
|
|
41
45
|
export function ServiceAccountCreationSchemaToJSON(value) {
|
|
42
|
-
if (value
|
|
43
|
-
return
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
|
-
'name': value
|
|
50
|
-
'clientId': value
|
|
51
|
-
'displayName': value
|
|
52
|
-
'ownerOrganizationUuid': value
|
|
53
|
-
'permissions': value
|
|
50
|
+
'name': value['name'],
|
|
51
|
+
'clientId': value['clientId'],
|
|
52
|
+
'displayName': value['displayName'],
|
|
53
|
+
'ownerOrganizationUuid': value['ownerOrganizationUuid'],
|
|
54
|
+
'permissions': value['permissions'],
|
|
54
55
|
};
|
|
55
56
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.
|
|
5
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -68,7 +68,7 @@ export interface ServiceAccountSchema {
|
|
|
68
68
|
/**
|
|
69
69
|
* Check if a given object implements the ServiceAccountSchema interface.
|
|
70
70
|
*/
|
|
71
|
-
export declare function instanceOfServiceAccountSchema(value: object):
|
|
71
|
+
export declare function instanceOfServiceAccountSchema(value: object): value is ServiceAccountSchema;
|
|
72
72
|
export declare function ServiceAccountSchemaFromJSON(json: any): ServiceAccountSchema;
|
|
73
73
|
export declare function ServiceAccountSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountSchema;
|
|
74
74
|
export declare function ServiceAccountSchemaToJSON(value?: ServiceAccountSchema | null): any;
|
|
@@ -4,34 +4,39 @@
|
|
|
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.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
import { ServiceAccountStatusFromJSON, ServiceAccountStatusToJSON, } from './ServiceAccountStatus';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the ServiceAccountSchema interface.
|
|
18
17
|
*/
|
|
19
18
|
export function instanceOfServiceAccountSchema(value) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('ownerOrganizationUuid' in value) || value['ownerOrganizationUuid'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
29
34
|
}
|
|
30
35
|
export function ServiceAccountSchemaFromJSON(json) {
|
|
31
36
|
return ServiceAccountSchemaFromJSONTyped(json, false);
|
|
32
37
|
}
|
|
33
38
|
export function ServiceAccountSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (
|
|
39
|
+
if (json == null) {
|
|
35
40
|
return json;
|
|
36
41
|
}
|
|
37
42
|
return {
|
|
@@ -42,24 +47,21 @@ export function ServiceAccountSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
47
|
'status': ServiceAccountStatusFromJSON(json['status']),
|
|
43
48
|
'ownerOrganizationUuid': json['ownerOrganizationUuid'],
|
|
44
49
|
'createdAt': (new Date(json['createdAt'])),
|
|
45
|
-
'modifiedAt':
|
|
50
|
+
'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
|
|
46
51
|
};
|
|
47
52
|
}
|
|
48
53
|
export function ServiceAccountSchemaToJSON(value) {
|
|
49
|
-
if (value
|
|
50
|
-
return
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
54
56
|
}
|
|
55
57
|
return {
|
|
56
|
-
'uuid': value
|
|
57
|
-
'name': value
|
|
58
|
-
'clientId': value
|
|
59
|
-
'displayName': value
|
|
60
|
-
'status': ServiceAccountStatusToJSON(value
|
|
61
|
-
'ownerOrganizationUuid': value
|
|
62
|
-
'createdAt': (value
|
|
63
|
-
'modifiedAt': value
|
|
58
|
+
'uuid': value['uuid'],
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'clientId': value['clientId'],
|
|
61
|
+
'displayName': value['displayName'],
|
|
62
|
+
'status': ServiceAccountStatusToJSON(value['status']),
|
|
63
|
+
'ownerOrganizationUuid': value['ownerOrganizationUuid'],
|
|
64
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
65
|
+
'modifiedAt': value['modifiedAt'] == null ? undefined : (value['modifiedAt'].toISOString()),
|
|
64
66
|
};
|
|
65
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: 7.
|
|
5
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,6 +20,7 @@ export declare const ServiceAccountStatus: {
|
|
|
20
20
|
readonly unknown_default_open_api: "11184809";
|
|
21
21
|
};
|
|
22
22
|
export type ServiceAccountStatus = typeof ServiceAccountStatus[keyof typeof ServiceAccountStatus];
|
|
23
|
+
export declare function instanceOfServiceAccountStatus(value: any): boolean;
|
|
23
24
|
export declare function ServiceAccountStatusFromJSON(json: any): ServiceAccountStatus;
|
|
24
25
|
export declare function ServiceAccountStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountStatus;
|
|
25
26
|
export declare function ServiceAccountStatusToJSON(value?: ServiceAccountStatus | null): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,6 +21,16 @@ export const ServiceAccountStatus = {
|
|
|
21
21
|
DELETED: 'DELETED',
|
|
22
22
|
unknown_default_open_api: '11184809'
|
|
23
23
|
};
|
|
24
|
+
export function instanceOfServiceAccountStatus(value) {
|
|
25
|
+
for (const key in ServiceAccountStatus) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(ServiceAccountStatus, key)) {
|
|
27
|
+
if (ServiceAccountStatus[key] === value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
24
34
|
export function ServiceAccountStatusFromJSON(json) {
|
|
25
35
|
return ServiceAccountStatusFromJSONTyped(json, false);
|
|
26
36
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.
|
|
5
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -43,7 +43,7 @@ export interface ServiceAccountUpdateSchema {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the ServiceAccountUpdateSchema interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfServiceAccountUpdateSchema(value: object):
|
|
46
|
+
export declare function instanceOfServiceAccountUpdateSchema(value: object): value is ServiceAccountUpdateSchema;
|
|
47
47
|
export declare function ServiceAccountUpdateSchemaFromJSON(json: any): ServiceAccountUpdateSchema;
|
|
48
48
|
export declare function ServiceAccountUpdateSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountUpdateSchema;
|
|
49
49
|
export declare function ServiceAccountUpdateSchemaToJSON(value?: ServiceAccountUpdateSchema | null): any;
|
|
@@ -4,46 +4,41 @@
|
|
|
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.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
/**
|
|
16
15
|
* Check if a given object implements the ServiceAccountUpdateSchema interface.
|
|
17
16
|
*/
|
|
18
17
|
export function instanceOfServiceAccountUpdateSchema(value) {
|
|
19
|
-
|
|
20
|
-
return isInstance;
|
|
18
|
+
return true;
|
|
21
19
|
}
|
|
22
20
|
export function ServiceAccountUpdateSchemaFromJSON(json) {
|
|
23
21
|
return ServiceAccountUpdateSchemaFromJSONTyped(json, false);
|
|
24
22
|
}
|
|
25
23
|
export function ServiceAccountUpdateSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (
|
|
24
|
+
if (json == null) {
|
|
27
25
|
return json;
|
|
28
26
|
}
|
|
29
27
|
return {
|
|
30
|
-
'clientId':
|
|
31
|
-
'displayName':
|
|
32
|
-
'ownerOrganizationUuid':
|
|
33
|
-
'permissions':
|
|
28
|
+
'clientId': json['clientId'] == null ? undefined : json['clientId'],
|
|
29
|
+
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
30
|
+
'ownerOrganizationUuid': json['ownerOrganizationUuid'] == null ? undefined : json['ownerOrganizationUuid'],
|
|
31
|
+
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
34
32
|
};
|
|
35
33
|
}
|
|
36
34
|
export function ServiceAccountUpdateSchemaToJSON(value) {
|
|
37
|
-
if (value
|
|
38
|
-
return
|
|
39
|
-
}
|
|
40
|
-
if (value === null) {
|
|
41
|
-
return null;
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
42
37
|
}
|
|
43
38
|
return {
|
|
44
|
-
'clientId': value
|
|
45
|
-
'displayName': value
|
|
46
|
-
'ownerOrganizationUuid': value
|
|
47
|
-
'permissions': value
|
|
39
|
+
'clientId': value['clientId'],
|
|
40
|
+
'displayName': value['displayName'],
|
|
41
|
+
'ownerOrganizationUuid': value['ownerOrganizationUuid'],
|
|
42
|
+
'permissions': value['permissions'],
|
|
48
43
|
};
|
|
49
44
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.
|
|
5
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ export interface ServiceAccountUuidSchema {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the ServiceAccountUuidSchema interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfServiceAccountUuidSchema(value: object):
|
|
28
|
+
export declare function instanceOfServiceAccountUuidSchema(value: object): value is ServiceAccountUuidSchema;
|
|
29
29
|
export declare function ServiceAccountUuidSchemaFromJSON(json: any): ServiceAccountUuidSchema;
|
|
30
30
|
export declare function ServiceAccountUuidSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountUuidSchema;
|
|
31
31
|
export declare function ServiceAccountUuidSchemaToJSON(value?: ServiceAccountUuidSchema | null): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
* Check if a given object implements the ServiceAccountUuidSchema interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfServiceAccountUuidSchema(value) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return
|
|
18
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
21
|
}
|
|
22
22
|
export function ServiceAccountUuidSchemaFromJSON(json) {
|
|
23
23
|
return ServiceAccountUuidSchemaFromJSONTyped(json, false);
|
|
24
24
|
}
|
|
25
25
|
export function ServiceAccountUuidSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (
|
|
26
|
+
if (json == null) {
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
@@ -31,13 +31,10 @@ export function ServiceAccountUuidSchemaFromJSONTyped(json, ignoreDiscriminator)
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
export function ServiceAccountUuidSchemaToJSON(value) {
|
|
34
|
-
if (value
|
|
35
|
-
return
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
34
|
+
if (value == null) {
|
|
35
|
+
return value;
|
|
39
36
|
}
|
|
40
37
|
return {
|
|
41
|
-
'uuid': value
|
|
38
|
+
'uuid': value['uuid'],
|
|
42
39
|
};
|
|
43
40
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.
|
|
5
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,6 +22,7 @@ export declare const ServiceName: {
|
|
|
22
22
|
readonly unknown_default_open_api: "11184809";
|
|
23
23
|
};
|
|
24
24
|
export type ServiceName = typeof ServiceName[keyof typeof ServiceName];
|
|
25
|
+
export declare function instanceOfServiceName(value: any): boolean;
|
|
25
26
|
export declare function ServiceNameFromJSON(json: any): ServiceName;
|
|
26
27
|
export declare function ServiceNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceName;
|
|
27
28
|
export declare function ServiceNameToJSON(value?: ServiceName | null): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,6 +23,16 @@ export const ServiceName = {
|
|
|
23
23
|
CPANEL2: 'CPANEL2',
|
|
24
24
|
unknown_default_open_api: '11184809'
|
|
25
25
|
};
|
|
26
|
+
export function instanceOfServiceName(value) {
|
|
27
|
+
for (const key in ServiceName) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(ServiceName, key)) {
|
|
29
|
+
if (ServiceName[key] === value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
26
36
|
export function ServiceNameFromJSON(json) {
|
|
27
37
|
return ServiceNameFromJSONTyped(json, false);
|
|
28
38
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.
|
|
5
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SessionState } from './SessionState';
|
|
13
|
-
import type { SsoProvider } from './SsoProvider';
|
|
14
13
|
import type { User } from './User';
|
|
14
|
+
import type { SsoProvider } from './SsoProvider';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -88,7 +88,7 @@ export interface Session {
|
|
|
88
88
|
/**
|
|
89
89
|
* Check if a given object implements the Session interface.
|
|
90
90
|
*/
|
|
91
|
-
export declare function instanceOfSession(value: object):
|
|
91
|
+
export declare function instanceOfSession(value: object): value is Session;
|
|
92
92
|
export declare function SessionFromJSON(json: any): Session;
|
|
93
93
|
export declare function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Session;
|
|
94
94
|
export declare function SessionToJSON(value?: Session | null): any;
|
|
@@ -4,37 +4,43 @@
|
|
|
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.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
import { SessionStateFromJSON, SessionStateToJSON, } from './SessionState';
|
|
16
|
-
import { SsoProviderFromJSON, SsoProviderToJSON, } from './SsoProvider';
|
|
17
15
|
import { UserFromJSON, UserToJSON, } from './User';
|
|
16
|
+
import { SsoProviderFromJSON, SsoProviderToJSON, } from './SsoProvider';
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the Session interface.
|
|
20
19
|
*/
|
|
21
20
|
export function instanceOfSession(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('suspend' in value) || value['suspend'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('expire' in value) || value['expire'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('enabledForEquisoftConnect' in value) || value['enabledForEquisoftConnect'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('mobile' in value) || value['mobile'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
32
38
|
}
|
|
33
39
|
export function SessionFromJSON(json) {
|
|
34
40
|
return SessionFromJSONTyped(json, false);
|
|
35
41
|
}
|
|
36
42
|
export function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (
|
|
43
|
+
if (json == null) {
|
|
38
44
|
return json;
|
|
39
45
|
}
|
|
40
46
|
return {
|
|
@@ -43,32 +49,29 @@ export function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
49
|
'created': (new Date(json['created'])),
|
|
44
50
|
'suspend': (new Date(json['suspend'])),
|
|
45
51
|
'expire': (new Date(json['expire'])),
|
|
46
|
-
'cookieDomain':
|
|
52
|
+
'cookieDomain': json['cookieDomain'] == null ? undefined : json['cookieDomain'],
|
|
47
53
|
'user': UserFromJSON(json['user']),
|
|
48
|
-
'actor':
|
|
49
|
-
'sso':
|
|
54
|
+
'actor': json['actor'] == null ? undefined : UserFromJSON(json['actor']),
|
|
55
|
+
'sso': json['sso'] == null ? undefined : SsoProviderFromJSON(json['sso']),
|
|
50
56
|
'enabledForEquisoftConnect': json['enabledForEquisoftConnect'],
|
|
51
57
|
'mobile': json['mobile'],
|
|
52
58
|
};
|
|
53
59
|
}
|
|
54
60
|
export function SessionToJSON(value) {
|
|
55
|
-
if (value
|
|
56
|
-
return
|
|
57
|
-
}
|
|
58
|
-
if (value === null) {
|
|
59
|
-
return null;
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
60
63
|
}
|
|
61
64
|
return {
|
|
62
|
-
'sessionId': value
|
|
63
|
-
'state': SessionStateToJSON(value
|
|
64
|
-
'created': (value
|
|
65
|
-
'suspend': (value
|
|
66
|
-
'expire': (value
|
|
67
|
-
'cookieDomain': value
|
|
68
|
-
'user': UserToJSON(value
|
|
69
|
-
'actor': UserToJSON(value
|
|
70
|
-
'sso': SsoProviderToJSON(value
|
|
71
|
-
'enabledForEquisoftConnect': value
|
|
72
|
-
'mobile': value
|
|
65
|
+
'sessionId': value['sessionId'],
|
|
66
|
+
'state': SessionStateToJSON(value['state']),
|
|
67
|
+
'created': ((value['created']).toISOString()),
|
|
68
|
+
'suspend': ((value['suspend']).toISOString()),
|
|
69
|
+
'expire': ((value['expire']).toISOString()),
|
|
70
|
+
'cookieDomain': value['cookieDomain'],
|
|
71
|
+
'user': UserToJSON(value['user']),
|
|
72
|
+
'actor': UserToJSON(value['actor']),
|
|
73
|
+
'sso': SsoProviderToJSON(value['sso']),
|
|
74
|
+
'enabledForEquisoftConnect': value['enabledForEquisoftConnect'],
|
|
75
|
+
'mobile': value['mobile'],
|
|
73
76
|
};
|
|
74
77
|
}
|