@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 7.
|
|
8
|
+
* The version of the OpenAPI document: 7.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ServiceAccountStatus = void 0;
|
|
17
|
+
exports.instanceOfServiceAccountStatus = instanceOfServiceAccountStatus;
|
|
18
|
+
exports.ServiceAccountStatusFromJSON = ServiceAccountStatusFromJSON;
|
|
19
|
+
exports.ServiceAccountStatusFromJSONTyped = ServiceAccountStatusFromJSONTyped;
|
|
20
|
+
exports.ServiceAccountStatusToJSON = ServiceAccountStatusToJSON;
|
|
17
21
|
/**
|
|
18
22
|
*
|
|
19
23
|
* @export
|
|
@@ -24,15 +28,22 @@ exports.ServiceAccountStatus = {
|
|
|
24
28
|
DELETED: 'DELETED',
|
|
25
29
|
unknown_default_open_api: '11184809'
|
|
26
30
|
};
|
|
31
|
+
function instanceOfServiceAccountStatus(value) {
|
|
32
|
+
for (const key in exports.ServiceAccountStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.ServiceAccountStatus, key)) {
|
|
34
|
+
if (exports.ServiceAccountStatus[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
27
41
|
function ServiceAccountStatusFromJSON(json) {
|
|
28
42
|
return ServiceAccountStatusFromJSONTyped(json, false);
|
|
29
43
|
}
|
|
30
|
-
exports.ServiceAccountStatusFromJSON = ServiceAccountStatusFromJSON;
|
|
31
44
|
function ServiceAccountStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
45
|
return json;
|
|
33
46
|
}
|
|
34
|
-
exports.ServiceAccountStatusFromJSONTyped = ServiceAccountStatusFromJSONTyped;
|
|
35
47
|
function ServiceAccountStatusToJSON(value) {
|
|
36
48
|
return value;
|
|
37
49
|
}
|
|
38
|
-
exports.ServiceAccountStatusToJSON = ServiceAccountStatusToJSON;
|
|
@@ -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.6.0
|
|
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;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 7.
|
|
8
|
+
* The version of the OpenAPI document: 7.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,44 +13,38 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
16
|
+
exports.instanceOfServiceAccountUpdateSchema = instanceOfServiceAccountUpdateSchema;
|
|
17
|
+
exports.ServiceAccountUpdateSchemaFromJSON = ServiceAccountUpdateSchemaFromJSON;
|
|
18
|
+
exports.ServiceAccountUpdateSchemaFromJSONTyped = ServiceAccountUpdateSchemaFromJSONTyped;
|
|
19
|
+
exports.ServiceAccountUpdateSchemaToJSON = ServiceAccountUpdateSchemaToJSON;
|
|
18
20
|
/**
|
|
19
21
|
* Check if a given object implements the ServiceAccountUpdateSchema interface.
|
|
20
22
|
*/
|
|
21
23
|
function instanceOfServiceAccountUpdateSchema(value) {
|
|
22
|
-
|
|
23
|
-
return isInstance;
|
|
24
|
+
return true;
|
|
24
25
|
}
|
|
25
|
-
exports.instanceOfServiceAccountUpdateSchema = instanceOfServiceAccountUpdateSchema;
|
|
26
26
|
function ServiceAccountUpdateSchemaFromJSON(json) {
|
|
27
27
|
return ServiceAccountUpdateSchemaFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
exports.ServiceAccountUpdateSchemaFromJSON = ServiceAccountUpdateSchemaFromJSON;
|
|
30
29
|
function ServiceAccountUpdateSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
30
|
+
if (json == null) {
|
|
32
31
|
return json;
|
|
33
32
|
}
|
|
34
33
|
return {
|
|
35
|
-
'clientId':
|
|
36
|
-
'displayName':
|
|
37
|
-
'ownerOrganizationUuid':
|
|
38
|
-
'permissions':
|
|
34
|
+
'clientId': json['clientId'] == null ? undefined : json['clientId'],
|
|
35
|
+
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
36
|
+
'ownerOrganizationUuid': json['ownerOrganizationUuid'] == null ? undefined : json['ownerOrganizationUuid'],
|
|
37
|
+
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
|
-
exports.ServiceAccountUpdateSchemaFromJSONTyped = ServiceAccountUpdateSchemaFromJSONTyped;
|
|
42
40
|
function ServiceAccountUpdateSchemaToJSON(value) {
|
|
43
|
-
if (value
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
if (value === null) {
|
|
47
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
48
43
|
}
|
|
49
44
|
return {
|
|
50
|
-
'clientId': value
|
|
51
|
-
'displayName': value
|
|
52
|
-
'ownerOrganizationUuid': value
|
|
53
|
-
'permissions': value
|
|
45
|
+
'clientId': value['clientId'],
|
|
46
|
+
'displayName': value['displayName'],
|
|
47
|
+
'ownerOrganizationUuid': value['ownerOrganizationUuid'],
|
|
48
|
+
'permissions': value['permissions'],
|
|
54
49
|
};
|
|
55
50
|
}
|
|
56
|
-
exports.ServiceAccountUpdateSchemaToJSON = ServiceAccountUpdateSchemaToJSON;
|
|
@@ -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.6.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,7 @@ export interface 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;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 7.
|
|
8
|
+
* The version of the OpenAPI document: 7.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,38 +13,34 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfServiceAccountUuidSchema = instanceOfServiceAccountUuidSchema;
|
|
17
|
+
exports.ServiceAccountUuidSchemaFromJSON = ServiceAccountUuidSchemaFromJSON;
|
|
18
|
+
exports.ServiceAccountUuidSchemaFromJSONTyped = ServiceAccountUuidSchemaFromJSONTyped;
|
|
19
|
+
exports.ServiceAccountUuidSchemaToJSON = ServiceAccountUuidSchemaToJSON;
|
|
17
20
|
/**
|
|
18
21
|
* Check if a given object implements the ServiceAccountUuidSchema interface.
|
|
19
22
|
*/
|
|
20
23
|
function instanceOfServiceAccountUuidSchema(value) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return
|
|
24
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
24
27
|
}
|
|
25
|
-
exports.instanceOfServiceAccountUuidSchema = instanceOfServiceAccountUuidSchema;
|
|
26
28
|
function ServiceAccountUuidSchemaFromJSON(json) {
|
|
27
29
|
return ServiceAccountUuidSchemaFromJSONTyped(json, false);
|
|
28
30
|
}
|
|
29
|
-
exports.ServiceAccountUuidSchemaFromJSON = ServiceAccountUuidSchemaFromJSON;
|
|
30
31
|
function ServiceAccountUuidSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
32
33
|
return json;
|
|
33
34
|
}
|
|
34
35
|
return {
|
|
35
36
|
'uuid': json['uuid'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
|
-
exports.ServiceAccountUuidSchemaFromJSONTyped = ServiceAccountUuidSchemaFromJSONTyped;
|
|
39
39
|
function ServiceAccountUuidSchemaToJSON(value) {
|
|
40
|
-
if (value
|
|
41
|
-
return
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
45
42
|
}
|
|
46
43
|
return {
|
|
47
|
-
'uuid': value
|
|
44
|
+
'uuid': value['uuid'],
|
|
48
45
|
};
|
|
49
46
|
}
|
|
50
|
-
exports.ServiceAccountUuidSchemaToJSON = ServiceAccountUuidSchemaToJSON;
|
|
@@ -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.6.0
|
|
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;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 7.
|
|
8
|
+
* The version of the OpenAPI document: 7.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.ServiceName = void 0;
|
|
17
|
+
exports.instanceOfServiceName = instanceOfServiceName;
|
|
18
|
+
exports.ServiceNameFromJSON = ServiceNameFromJSON;
|
|
19
|
+
exports.ServiceNameFromJSONTyped = ServiceNameFromJSONTyped;
|
|
20
|
+
exports.ServiceNameToJSON = ServiceNameToJSON;
|
|
17
21
|
/**
|
|
18
22
|
*
|
|
19
23
|
* @export
|
|
@@ -26,15 +30,22 @@ exports.ServiceName = {
|
|
|
26
30
|
CPANEL2: 'CPANEL2',
|
|
27
31
|
unknown_default_open_api: '11184809'
|
|
28
32
|
};
|
|
33
|
+
function instanceOfServiceName(value) {
|
|
34
|
+
for (const key in exports.ServiceName) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.ServiceName, key)) {
|
|
36
|
+
if (exports.ServiceName[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
29
43
|
function ServiceNameFromJSON(json) {
|
|
30
44
|
return ServiceNameFromJSONTyped(json, false);
|
|
31
45
|
}
|
|
32
|
-
exports.ServiceNameFromJSON = ServiceNameFromJSON;
|
|
33
46
|
function ServiceNameFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
47
|
return json;
|
|
35
48
|
}
|
|
36
|
-
exports.ServiceNameFromJSONTyped = ServiceNameFromJSONTyped;
|
|
37
49
|
function ServiceNameToJSON(value) {
|
|
38
50
|
return value;
|
|
39
51
|
}
|
|
40
|
-
exports.ServiceNameToJSON = ServiceNameToJSON;
|
package/dist/models/Session.d.ts
CHANGED
|
@@ -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.6.0
|
|
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;
|
package/dist/models/Session.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 7.
|
|
8
|
+
* The version of the OpenAPI document: 7.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,33 +13,40 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
16
|
+
exports.instanceOfSession = instanceOfSession;
|
|
17
|
+
exports.SessionFromJSON = SessionFromJSON;
|
|
18
|
+
exports.SessionFromJSONTyped = SessionFromJSONTyped;
|
|
19
|
+
exports.SessionToJSON = SessionToJSON;
|
|
18
20
|
const SessionState_1 = require("./SessionState");
|
|
19
|
-
const SsoProvider_1 = require("./SsoProvider");
|
|
20
21
|
const User_1 = require("./User");
|
|
22
|
+
const SsoProvider_1 = require("./SsoProvider");
|
|
21
23
|
/**
|
|
22
24
|
* Check if a given object implements the Session interface.
|
|
23
25
|
*/
|
|
24
26
|
function instanceOfSession(value) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('suspend' in value) || value['suspend'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('expire' in value) || value['expire'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('enabledForEquisoftConnect' in value) || value['enabledForEquisoftConnect'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('mobile' in value) || value['mobile'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
35
44
|
}
|
|
36
|
-
exports.instanceOfSession = instanceOfSession;
|
|
37
45
|
function SessionFromJSON(json) {
|
|
38
46
|
return SessionFromJSONTyped(json, false);
|
|
39
47
|
}
|
|
40
|
-
exports.SessionFromJSON = SessionFromJSON;
|
|
41
48
|
function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (
|
|
49
|
+
if (json == null) {
|
|
43
50
|
return json;
|
|
44
51
|
}
|
|
45
52
|
return {
|
|
@@ -48,34 +55,29 @@ function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
55
|
'created': (new Date(json['created'])),
|
|
49
56
|
'suspend': (new Date(json['suspend'])),
|
|
50
57
|
'expire': (new Date(json['expire'])),
|
|
51
|
-
'cookieDomain':
|
|
58
|
+
'cookieDomain': json['cookieDomain'] == null ? undefined : json['cookieDomain'],
|
|
52
59
|
'user': (0, User_1.UserFromJSON)(json['user']),
|
|
53
|
-
'actor':
|
|
54
|
-
'sso':
|
|
60
|
+
'actor': json['actor'] == null ? undefined : (0, User_1.UserFromJSON)(json['actor']),
|
|
61
|
+
'sso': json['sso'] == null ? undefined : (0, SsoProvider_1.SsoProviderFromJSON)(json['sso']),
|
|
55
62
|
'enabledForEquisoftConnect': json['enabledForEquisoftConnect'],
|
|
56
63
|
'mobile': json['mobile'],
|
|
57
64
|
};
|
|
58
65
|
}
|
|
59
|
-
exports.SessionFromJSONTyped = SessionFromJSONTyped;
|
|
60
66
|
function SessionToJSON(value) {
|
|
61
|
-
if (value
|
|
62
|
-
return
|
|
63
|
-
}
|
|
64
|
-
if (value === null) {
|
|
65
|
-
return null;
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
66
69
|
}
|
|
67
70
|
return {
|
|
68
|
-
'sessionId': value
|
|
69
|
-
'state': (0, SessionState_1.SessionStateToJSON)(value
|
|
70
|
-
'created': (value
|
|
71
|
-
'suspend': (value
|
|
72
|
-
'expire': (value
|
|
73
|
-
'cookieDomain': value
|
|
74
|
-
'user': (0, User_1.UserToJSON)(value
|
|
75
|
-
'actor': (0, User_1.UserToJSON)(value
|
|
76
|
-
'sso': (0, SsoProvider_1.SsoProviderToJSON)(value
|
|
77
|
-
'enabledForEquisoftConnect': value
|
|
78
|
-
'mobile': value
|
|
71
|
+
'sessionId': value['sessionId'],
|
|
72
|
+
'state': (0, SessionState_1.SessionStateToJSON)(value['state']),
|
|
73
|
+
'created': ((value['created']).toISOString()),
|
|
74
|
+
'suspend': ((value['suspend']).toISOString()),
|
|
75
|
+
'expire': ((value['expire']).toISOString()),
|
|
76
|
+
'cookieDomain': value['cookieDomain'],
|
|
77
|
+
'user': (0, User_1.UserToJSON)(value['user']),
|
|
78
|
+
'actor': (0, User_1.UserToJSON)(value['actor']),
|
|
79
|
+
'sso': (0, SsoProvider_1.SsoProviderToJSON)(value['sso']),
|
|
80
|
+
'enabledForEquisoftConnect': value['enabledForEquisoftConnect'],
|
|
81
|
+
'mobile': value['mobile'],
|
|
79
82
|
};
|
|
80
83
|
}
|
|
81
|
-
exports.SessionToJSON = SessionToJSON;
|
|
@@ -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.6.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -56,7 +56,7 @@ export interface SessionPayload {
|
|
|
56
56
|
/**
|
|
57
57
|
* Check if a given object implements the SessionPayload interface.
|
|
58
58
|
*/
|
|
59
|
-
export declare function instanceOfSessionPayload(value: object):
|
|
59
|
+
export declare function instanceOfSessionPayload(value: object): value is SessionPayload;
|
|
60
60
|
export declare function SessionPayloadFromJSON(json: any): SessionPayload;
|
|
61
61
|
export declare function SessionPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPayload;
|
|
62
62
|
export declare function SessionPayloadToJSON(value?: SessionPayload | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 7.
|
|
8
|
+
* The version of the OpenAPI document: 7.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,51 +13,47 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
16
|
+
exports.instanceOfSessionPayload = instanceOfSessionPayload;
|
|
17
|
+
exports.SessionPayloadFromJSON = SessionPayloadFromJSON;
|
|
18
|
+
exports.SessionPayloadFromJSONTyped = SessionPayloadFromJSONTyped;
|
|
19
|
+
exports.SessionPayloadToJSON = SessionPayloadToJSON;
|
|
18
20
|
const SsoProvider_1 = require("./SsoProvider");
|
|
19
21
|
/**
|
|
20
22
|
* Check if a given object implements the SessionPayload interface.
|
|
21
23
|
*/
|
|
22
24
|
function instanceOfSessionPayload(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
if (!('userUuid' in value) || value['userUuid'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('enable' in value) || value['enable'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
27
30
|
}
|
|
28
|
-
exports.instanceOfSessionPayload = instanceOfSessionPayload;
|
|
29
31
|
function SessionPayloadFromJSON(json) {
|
|
30
32
|
return SessionPayloadFromJSONTyped(json, false);
|
|
31
33
|
}
|
|
32
|
-
exports.SessionPayloadFromJSON = SessionPayloadFromJSON;
|
|
33
34
|
function SessionPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (
|
|
35
|
+
if (json == null) {
|
|
35
36
|
return json;
|
|
36
37
|
}
|
|
37
38
|
return {
|
|
38
39
|
'userUuid': json['userUuid'],
|
|
39
40
|
'enable': json['enable'],
|
|
40
|
-
'sso':
|
|
41
|
-
'publicComputer':
|
|
42
|
-
'mobileDevice':
|
|
43
|
-
'cookieDomain':
|
|
41
|
+
'sso': json['sso'] == null ? undefined : (0, SsoProvider_1.SsoProviderFromJSON)(json['sso']),
|
|
42
|
+
'publicComputer': json['publicComputer'] == null ? undefined : json['publicComputer'],
|
|
43
|
+
'mobileDevice': json['mobileDevice'] == null ? undefined : json['mobileDevice'],
|
|
44
|
+
'cookieDomain': json['cookieDomain'] == null ? undefined : json['cookieDomain'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
|
-
exports.SessionPayloadFromJSONTyped = SessionPayloadFromJSONTyped;
|
|
47
47
|
function SessionPayloadToJSON(value) {
|
|
48
|
-
if (value
|
|
49
|
-
return
|
|
50
|
-
}
|
|
51
|
-
if (value === null) {
|
|
52
|
-
return null;
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
53
50
|
}
|
|
54
51
|
return {
|
|
55
|
-
'userUuid': value
|
|
56
|
-
'enable': value
|
|
57
|
-
'sso': (0, SsoProvider_1.SsoProviderToJSON)(value
|
|
58
|
-
'publicComputer': value
|
|
59
|
-
'mobileDevice': value
|
|
60
|
-
'cookieDomain': value
|
|
52
|
+
'userUuid': value['userUuid'],
|
|
53
|
+
'enable': value['enable'],
|
|
54
|
+
'sso': (0, SsoProvider_1.SsoProviderToJSON)(value['sso']),
|
|
55
|
+
'publicComputer': value['publicComputer'],
|
|
56
|
+
'mobileDevice': value['mobileDevice'],
|
|
57
|
+
'cookieDomain': value['cookieDomain'],
|
|
61
58
|
};
|
|
62
59
|
}
|
|
63
|
-
exports.SessionPayloadToJSON = SessionPayloadToJSON;
|
|
@@ -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.6.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ export interface SessionPolicy {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the SessionPolicy interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfSessionPolicy(value: object):
|
|
34
|
+
export declare function instanceOfSessionPolicy(value: object): value is SessionPolicy;
|
|
35
35
|
export declare function SessionPolicyFromJSON(json: any): SessionPolicy;
|
|
36
36
|
export declare function SessionPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPolicy;
|
|
37
37
|
export declare function SessionPolicyToJSON(value?: SessionPolicy | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 7.
|
|
8
|
+
* The version of the OpenAPI document: 7.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,40 +13,34 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
16
|
+
exports.instanceOfSessionPolicy = instanceOfSessionPolicy;
|
|
17
|
+
exports.SessionPolicyFromJSON = SessionPolicyFromJSON;
|
|
18
|
+
exports.SessionPolicyFromJSONTyped = SessionPolicyFromJSONTyped;
|
|
19
|
+
exports.SessionPolicyToJSON = SessionPolicyToJSON;
|
|
18
20
|
/**
|
|
19
21
|
* Check if a given object implements the SessionPolicy interface.
|
|
20
22
|
*/
|
|
21
23
|
function instanceOfSessionPolicy(value) {
|
|
22
|
-
|
|
23
|
-
return isInstance;
|
|
24
|
+
return true;
|
|
24
25
|
}
|
|
25
|
-
exports.instanceOfSessionPolicy = instanceOfSessionPolicy;
|
|
26
26
|
function SessionPolicyFromJSON(json) {
|
|
27
27
|
return SessionPolicyFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
exports.SessionPolicyFromJSON = SessionPolicyFromJSON;
|
|
30
29
|
function SessionPolicyFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
30
|
+
if (json == null) {
|
|
32
31
|
return json;
|
|
33
32
|
}
|
|
34
33
|
return {
|
|
35
|
-
'idleTimeout':
|
|
36
|
-
'absoluteTimeout':
|
|
34
|
+
'idleTimeout': json['idleTimeout'] == null ? undefined : json['idleTimeout'],
|
|
35
|
+
'absoluteTimeout': json['absoluteTimeout'] == null ? undefined : json['absoluteTimeout'],
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
|
-
exports.SessionPolicyFromJSONTyped = SessionPolicyFromJSONTyped;
|
|
40
38
|
function SessionPolicyToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
46
41
|
}
|
|
47
42
|
return {
|
|
48
|
-
'idleTimeout': value
|
|
49
|
-
'absoluteTimeout': value
|
|
43
|
+
'idleTimeout': value['idleTimeout'],
|
|
44
|
+
'absoluteTimeout': value['absoluteTimeout'],
|
|
50
45
|
};
|
|
51
46
|
}
|
|
52
|
-
exports.SessionPolicyToJSON = SessionPolicyToJSON;
|
|
@@ -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.6.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,6 +28,7 @@ export declare const SessionState: {
|
|
|
28
28
|
readonly unknown_default_open_api: "11184809";
|
|
29
29
|
};
|
|
30
30
|
export type SessionState = typeof SessionState[keyof typeof SessionState];
|
|
31
|
+
export declare function instanceOfSessionState(value: any): boolean;
|
|
31
32
|
export declare function SessionStateFromJSON(json: any): SessionState;
|
|
32
33
|
export declare function SessionStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionState;
|
|
33
34
|
export declare function SessionStateToJSON(value?: SessionState | null): any;
|