@equisoft/account-service-sdk-typescript 7.3.1-snapshot.20240731130329 → 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,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).
|
|
@@ -42,12 +42,18 @@ export class PermissionApi extends runtime.BaseAPI {
|
|
|
42
42
|
* Create or update a permission for a given code
|
|
43
43
|
*/
|
|
44
44
|
async createOrUpdatePermissionRaw(requestParameters: CreateOrUpdatePermissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PermissionCreated>> {
|
|
45
|
-
if (requestParameters
|
|
46
|
-
throw new runtime.RequiredError(
|
|
45
|
+
if (requestParameters['code'] == null) {
|
|
46
|
+
throw new runtime.RequiredError(
|
|
47
|
+
'code',
|
|
48
|
+
'Required parameter "code" was null or undefined when calling createOrUpdatePermission().'
|
|
49
|
+
);
|
|
47
50
|
}
|
|
48
51
|
|
|
49
|
-
if (requestParameters
|
|
50
|
-
throw new runtime.RequiredError(
|
|
52
|
+
if (requestParameters['createOrUpdatePermissionPayload'] == null) {
|
|
53
|
+
throw new runtime.RequiredError(
|
|
54
|
+
'createOrUpdatePermissionPayload',
|
|
55
|
+
'Required parameter "createOrUpdatePermissionPayload" was null or undefined when calling createOrUpdatePermission().'
|
|
56
|
+
);
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
const queryParameters: any = {};
|
|
@@ -66,11 +72,11 @@ export class PermissionApi extends runtime.BaseAPI {
|
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
const response = await this.request({
|
|
69
|
-
path: `/permissions/{code}`.replace(`{${"code"}}`, encodeURIComponent(String(requestParameters
|
|
75
|
+
path: `/permissions/{code}`.replace(`{${"code"}}`, encodeURIComponent(String(requestParameters['code']))),
|
|
70
76
|
method: 'PUT',
|
|
71
77
|
headers: headerParameters,
|
|
72
78
|
query: queryParameters,
|
|
73
|
-
body: CreateOrUpdatePermissionPayloadToJSON(requestParameters
|
|
79
|
+
body: CreateOrUpdatePermissionPayloadToJSON(requestParameters['createOrUpdatePermissionPayload']),
|
|
74
80
|
}, initOverrides);
|
|
75
81
|
|
|
76
82
|
return new runtime.JSONApiResponse(response, (jsonValue) => PermissionCreatedFromJSON(jsonValue));
|
package/src/apis/RoleApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,8 +38,11 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
38
38
|
* Get organization role for a given uuid
|
|
39
39
|
*/
|
|
40
40
|
async getRoleRaw(requestParameters: GetRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Role>> {
|
|
41
|
-
if (requestParameters
|
|
42
|
-
throw new runtime.RequiredError(
|
|
41
|
+
if (requestParameters['uuid'] == null) {
|
|
42
|
+
throw new runtime.RequiredError(
|
|
43
|
+
'uuid',
|
|
44
|
+
'Required parameter "uuid" was null or undefined when calling getRole().'
|
|
45
|
+
);
|
|
43
46
|
}
|
|
44
47
|
|
|
45
48
|
const queryParameters: any = {};
|
|
@@ -56,7 +59,7 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
const response = await this.request({
|
|
59
|
-
path: `/roles/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
62
|
+
path: `/roles/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
60
63
|
method: 'GET',
|
|
61
64
|
headers: headerParameters,
|
|
62
65
|
query: queryParameters,
|
|
@@ -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).
|
|
@@ -71,12 +71,18 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
71
71
|
* Get permissions of a service account on a user or an organization.
|
|
72
72
|
*/
|
|
73
73
|
async applyPermissionsOnResourceRaw(requestParameters: ApplyPermissionsOnResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PermissionList>> {
|
|
74
|
-
if (requestParameters
|
|
75
|
-
throw new runtime.RequiredError(
|
|
74
|
+
if (requestParameters['uuid'] == null) {
|
|
75
|
+
throw new runtime.RequiredError(
|
|
76
|
+
'uuid',
|
|
77
|
+
'Required parameter "uuid" was null or undefined when calling applyPermissionsOnResource().'
|
|
78
|
+
);
|
|
76
79
|
}
|
|
77
80
|
|
|
78
|
-
if (requestParameters
|
|
79
|
-
throw new runtime.RequiredError(
|
|
81
|
+
if (requestParameters['applyPermissionsPayload'] == null) {
|
|
82
|
+
throw new runtime.RequiredError(
|
|
83
|
+
'applyPermissionsPayload',
|
|
84
|
+
'Required parameter "applyPermissionsPayload" was null or undefined when calling applyPermissionsOnResource().'
|
|
85
|
+
);
|
|
80
86
|
}
|
|
81
87
|
|
|
82
88
|
const queryParameters: any = {};
|
|
@@ -95,11 +101,11 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
95
101
|
}
|
|
96
102
|
|
|
97
103
|
const response = await this.request({
|
|
98
|
-
path: `/serviceAccounts/{uuid}/permissions/apply`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
104
|
+
path: `/serviceAccounts/{uuid}/permissions/apply`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
99
105
|
method: 'POST',
|
|
100
106
|
headers: headerParameters,
|
|
101
107
|
query: queryParameters,
|
|
102
|
-
body: ApplyPermissionsPayloadToJSON(requestParameters
|
|
108
|
+
body: ApplyPermissionsPayloadToJSON(requestParameters['applyPermissionsPayload']),
|
|
103
109
|
}, initOverrides);
|
|
104
110
|
|
|
105
111
|
return new runtime.JSONApiResponse(response, (jsonValue) => PermissionListFromJSON(jsonValue));
|
|
@@ -117,8 +123,11 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
117
123
|
* Creates a new service account
|
|
118
124
|
*/
|
|
119
125
|
async createServiceAccountRaw(requestParameters: CreateServiceAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ServiceAccountUuidSchema>> {
|
|
120
|
-
if (requestParameters
|
|
121
|
-
throw new runtime.RequiredError(
|
|
126
|
+
if (requestParameters['serviceAccountCreationSchema'] == null) {
|
|
127
|
+
throw new runtime.RequiredError(
|
|
128
|
+
'serviceAccountCreationSchema',
|
|
129
|
+
'Required parameter "serviceAccountCreationSchema" was null or undefined when calling createServiceAccount().'
|
|
130
|
+
);
|
|
122
131
|
}
|
|
123
132
|
|
|
124
133
|
const queryParameters: any = {};
|
|
@@ -141,7 +150,7 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
141
150
|
method: 'POST',
|
|
142
151
|
headers: headerParameters,
|
|
143
152
|
query: queryParameters,
|
|
144
|
-
body: ServiceAccountCreationSchemaToJSON(requestParameters
|
|
153
|
+
body: ServiceAccountCreationSchemaToJSON(requestParameters['serviceAccountCreationSchema']),
|
|
145
154
|
}, initOverrides);
|
|
146
155
|
|
|
147
156
|
return new runtime.JSONApiResponse(response, (jsonValue) => ServiceAccountUuidSchemaFromJSON(jsonValue));
|
|
@@ -159,8 +168,11 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
159
168
|
* Get detailed information about a user account.
|
|
160
169
|
*/
|
|
161
170
|
async getServiceAccountRaw(requestParameters: GetServiceAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ServiceAccountSchema>> {
|
|
162
|
-
if (requestParameters
|
|
163
|
-
throw new runtime.RequiredError(
|
|
171
|
+
if (requestParameters['uuid'] == null) {
|
|
172
|
+
throw new runtime.RequiredError(
|
|
173
|
+
'uuid',
|
|
174
|
+
'Required parameter "uuid" was null or undefined when calling getServiceAccount().'
|
|
175
|
+
);
|
|
164
176
|
}
|
|
165
177
|
|
|
166
178
|
const queryParameters: any = {};
|
|
@@ -177,7 +189,7 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
177
189
|
}
|
|
178
190
|
|
|
179
191
|
const response = await this.request({
|
|
180
|
-
path: `/serviceAccounts/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
192
|
+
path: `/serviceAccounts/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
181
193
|
method: 'GET',
|
|
182
194
|
headers: headerParameters,
|
|
183
195
|
query: queryParameters,
|
|
@@ -200,8 +212,8 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
200
212
|
async searchServiceAccountRaw(requestParameters: SearchServiceAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ServiceAccountSchema>>> {
|
|
201
213
|
const queryParameters: any = {};
|
|
202
214
|
|
|
203
|
-
if (requestParameters
|
|
204
|
-
queryParameters['name'] = requestParameters
|
|
215
|
+
if (requestParameters['name'] != null) {
|
|
216
|
+
queryParameters['name'] = requestParameters['name'];
|
|
205
217
|
}
|
|
206
218
|
|
|
207
219
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -237,12 +249,18 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
237
249
|
* Updates a service account by uuid
|
|
238
250
|
*/
|
|
239
251
|
async updateServiceAccountRaw(requestParameters: UpdateServiceAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ServiceAccountUuidSchema>> {
|
|
240
|
-
if (requestParameters
|
|
241
|
-
throw new runtime.RequiredError(
|
|
252
|
+
if (requestParameters['uuid'] == null) {
|
|
253
|
+
throw new runtime.RequiredError(
|
|
254
|
+
'uuid',
|
|
255
|
+
'Required parameter "uuid" was null or undefined when calling updateServiceAccount().'
|
|
256
|
+
);
|
|
242
257
|
}
|
|
243
258
|
|
|
244
|
-
if (requestParameters
|
|
245
|
-
throw new runtime.RequiredError(
|
|
259
|
+
if (requestParameters['serviceAccountUpdateSchema'] == null) {
|
|
260
|
+
throw new runtime.RequiredError(
|
|
261
|
+
'serviceAccountUpdateSchema',
|
|
262
|
+
'Required parameter "serviceAccountUpdateSchema" was null or undefined when calling updateServiceAccount().'
|
|
263
|
+
);
|
|
246
264
|
}
|
|
247
265
|
|
|
248
266
|
const queryParameters: any = {};
|
|
@@ -261,11 +279,11 @@ export class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
261
279
|
}
|
|
262
280
|
|
|
263
281
|
const response = await this.request({
|
|
264
|
-
path: `/serviceAccounts/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
282
|
+
path: `/serviceAccounts/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
265
283
|
method: 'PATCH',
|
|
266
284
|
headers: headerParameters,
|
|
267
285
|
query: queryParameters,
|
|
268
|
-
body: ServiceAccountUpdateSchemaToJSON(requestParameters
|
|
286
|
+
body: ServiceAccountUpdateSchemaToJSON(requestParameters['serviceAccountUpdateSchema']),
|
|
269
287
|
}, initOverrides);
|
|
270
288
|
|
|
271
289
|
return new runtime.JSONApiResponse(response, (jsonValue) => ServiceAccountUuidSchemaFromJSON(jsonValue));
|
package/src/apis/SessionApi.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -94,8 +94,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
94
94
|
* Create a user session.
|
|
95
95
|
*/
|
|
96
96
|
async createSessionRaw(requestParameters: CreateSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Session>> {
|
|
97
|
-
if (requestParameters
|
|
98
|
-
throw new runtime.RequiredError(
|
|
97
|
+
if (requestParameters['sessionPayload'] == null) {
|
|
98
|
+
throw new runtime.RequiredError(
|
|
99
|
+
'sessionPayload',
|
|
100
|
+
'Required parameter "sessionPayload" was null or undefined when calling createSession().'
|
|
101
|
+
);
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
const queryParameters: any = {};
|
|
@@ -118,7 +121,7 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
118
121
|
method: 'POST',
|
|
119
122
|
headers: headerParameters,
|
|
120
123
|
query: queryParameters,
|
|
121
|
-
body: SessionPayloadToJSON(requestParameters
|
|
124
|
+
body: SessionPayloadToJSON(requestParameters['sessionPayload']),
|
|
122
125
|
}, initOverrides);
|
|
123
126
|
|
|
124
127
|
return new runtime.JSONApiResponse(response, (jsonValue) => SessionFromJSON(jsonValue));
|
|
@@ -204,8 +207,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
204
207
|
* Delete a user session.
|
|
205
208
|
*/
|
|
206
209
|
async deleteSessionRaw(requestParameters: DeleteSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
207
|
-
if (requestParameters
|
|
208
|
-
throw new runtime.RequiredError(
|
|
210
|
+
if (requestParameters['uuid'] == null) {
|
|
211
|
+
throw new runtime.RequiredError(
|
|
212
|
+
'uuid',
|
|
213
|
+
'Required parameter "uuid" was null or undefined when calling deleteSession().'
|
|
214
|
+
);
|
|
209
215
|
}
|
|
210
216
|
|
|
211
217
|
const queryParameters: any = {};
|
|
@@ -222,7 +228,7 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
222
228
|
}
|
|
223
229
|
|
|
224
230
|
const response = await this.request({
|
|
225
|
-
path: `/sessions/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
231
|
+
path: `/sessions/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
226
232
|
method: 'DELETE',
|
|
227
233
|
headers: headerParameters,
|
|
228
234
|
query: queryParameters,
|
|
@@ -242,12 +248,18 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
242
248
|
* Delete a sso token for the session for a given id/name/type
|
|
243
249
|
*/
|
|
244
250
|
async deleteSessionSsoTokenRaw(requestParameters: DeleteSessionSsoTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
245
|
-
if (requestParameters
|
|
246
|
-
throw new runtime.RequiredError(
|
|
251
|
+
if (requestParameters['uuid'] == null) {
|
|
252
|
+
throw new runtime.RequiredError(
|
|
253
|
+
'uuid',
|
|
254
|
+
'Required parameter "uuid" was null or undefined when calling deleteSessionSsoToken().'
|
|
255
|
+
);
|
|
247
256
|
}
|
|
248
257
|
|
|
249
|
-
if (requestParameters
|
|
250
|
-
throw new runtime.RequiredError(
|
|
258
|
+
if (requestParameters['tokenId'] == null) {
|
|
259
|
+
throw new runtime.RequiredError(
|
|
260
|
+
'tokenId',
|
|
261
|
+
'Required parameter "tokenId" was null or undefined when calling deleteSessionSsoToken().'
|
|
262
|
+
);
|
|
251
263
|
}
|
|
252
264
|
|
|
253
265
|
const queryParameters: any = {};
|
|
@@ -264,7 +276,7 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
264
276
|
}
|
|
265
277
|
|
|
266
278
|
const response = await this.request({
|
|
267
|
-
path: `/sessions/{uuid}/tokens/{tokenId}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
279
|
+
path: `/sessions/{uuid}/tokens/{tokenId}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"tokenId"}}`, encodeURIComponent(String(requestParameters['tokenId']))),
|
|
268
280
|
method: 'DELETE',
|
|
269
281
|
headers: headerParameters,
|
|
270
282
|
query: queryParameters,
|
|
@@ -284,8 +296,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
284
296
|
* Allow activation for sessions created with enable=false. This may be extended to enable specific services. Disabled sessions are not allowed to be used by first-party application (Equisoft/Connect, Equisoft/Plan).
|
|
285
297
|
*/
|
|
286
298
|
async enableSessionRaw(requestParameters: EnableSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
287
|
-
if (requestParameters
|
|
288
|
-
throw new runtime.RequiredError(
|
|
299
|
+
if (requestParameters['uuid'] == null) {
|
|
300
|
+
throw new runtime.RequiredError(
|
|
301
|
+
'uuid',
|
|
302
|
+
'Required parameter "uuid" was null or undefined when calling enableSession().'
|
|
303
|
+
);
|
|
289
304
|
}
|
|
290
305
|
|
|
291
306
|
const queryParameters: any = {};
|
|
@@ -304,11 +319,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
304
319
|
}
|
|
305
320
|
|
|
306
321
|
const response = await this.request({
|
|
307
|
-
path: `/sessions/{uuid}/enable`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
322
|
+
path: `/sessions/{uuid}/enable`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
308
323
|
method: 'POST',
|
|
309
324
|
headers: headerParameters,
|
|
310
325
|
query: queryParameters,
|
|
311
|
-
body: requestParameters
|
|
326
|
+
body: requestParameters['body'] as any,
|
|
312
327
|
}, initOverrides);
|
|
313
328
|
|
|
314
329
|
return new runtime.VoidApiResponse(response);
|
|
@@ -325,12 +340,18 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
325
340
|
* Enable session for the Equisoft/Connect service
|
|
326
341
|
*/
|
|
327
342
|
async enableSessionForEquisoftConnectRaw(requestParameters: EnableSessionForEquisoftConnectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
328
|
-
if (requestParameters
|
|
329
|
-
throw new runtime.RequiredError(
|
|
343
|
+
if (requestParameters['uuid'] == null) {
|
|
344
|
+
throw new runtime.RequiredError(
|
|
345
|
+
'uuid',
|
|
346
|
+
'Required parameter "uuid" was null or undefined when calling enableSessionForEquisoftConnect().'
|
|
347
|
+
);
|
|
330
348
|
}
|
|
331
349
|
|
|
332
|
-
if (requestParameters
|
|
333
|
-
throw new runtime.RequiredError(
|
|
350
|
+
if (requestParameters['enableEquisoftConnectPayload'] == null) {
|
|
351
|
+
throw new runtime.RequiredError(
|
|
352
|
+
'enableEquisoftConnectPayload',
|
|
353
|
+
'Required parameter "enableEquisoftConnectPayload" was null or undefined when calling enableSessionForEquisoftConnect().'
|
|
354
|
+
);
|
|
334
355
|
}
|
|
335
356
|
|
|
336
357
|
const queryParameters: any = {};
|
|
@@ -349,11 +370,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
349
370
|
}
|
|
350
371
|
|
|
351
372
|
const response = await this.request({
|
|
352
|
-
path: `/sessions/{uuid}/enable/EQUISOFT_CONNECT`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
373
|
+
path: `/sessions/{uuid}/enable/EQUISOFT_CONNECT`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
353
374
|
method: 'POST',
|
|
354
375
|
headers: headerParameters,
|
|
355
376
|
query: queryParameters,
|
|
356
|
-
body: EnableEquisoftConnectPayloadToJSON(requestParameters
|
|
377
|
+
body: EnableEquisoftConnectPayloadToJSON(requestParameters['enableEquisoftConnectPayload']),
|
|
357
378
|
}, initOverrides);
|
|
358
379
|
|
|
359
380
|
return new runtime.VoidApiResponse(response);
|
|
@@ -370,14 +391,17 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
370
391
|
* Get detailed information about a user session.
|
|
371
392
|
*/
|
|
372
393
|
async getSessionRaw(requestParameters: GetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Session>> {
|
|
373
|
-
if (requestParameters
|
|
374
|
-
throw new runtime.RequiredError(
|
|
394
|
+
if (requestParameters['uuid'] == null) {
|
|
395
|
+
throw new runtime.RequiredError(
|
|
396
|
+
'uuid',
|
|
397
|
+
'Required parameter "uuid" was null or undefined when calling getSession().'
|
|
398
|
+
);
|
|
375
399
|
}
|
|
376
400
|
|
|
377
401
|
const queryParameters: any = {};
|
|
378
402
|
|
|
379
|
-
if (requestParameters
|
|
380
|
-
queryParameters['keepAlive'] = requestParameters
|
|
403
|
+
if (requestParameters['keepAlive'] != null) {
|
|
404
|
+
queryParameters['keepAlive'] = requestParameters['keepAlive'];
|
|
381
405
|
}
|
|
382
406
|
|
|
383
407
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -392,7 +416,7 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
392
416
|
}
|
|
393
417
|
|
|
394
418
|
const response = await this.request({
|
|
395
|
-
path: `/sessions/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
419
|
+
path: `/sessions/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
396
420
|
method: 'GET',
|
|
397
421
|
headers: headerParameters,
|
|
398
422
|
query: queryParameters,
|
|
@@ -413,12 +437,18 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
413
437
|
* Get a stored sso token for the session
|
|
414
438
|
*/
|
|
415
439
|
async getSessionSsoTokenRaw(requestParameters: GetSessionSsoTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SsoToken>> {
|
|
416
|
-
if (requestParameters
|
|
417
|
-
throw new runtime.RequiredError(
|
|
440
|
+
if (requestParameters['uuid'] == null) {
|
|
441
|
+
throw new runtime.RequiredError(
|
|
442
|
+
'uuid',
|
|
443
|
+
'Required parameter "uuid" was null or undefined when calling getSessionSsoToken().'
|
|
444
|
+
);
|
|
418
445
|
}
|
|
419
446
|
|
|
420
|
-
if (requestParameters
|
|
421
|
-
throw new runtime.RequiredError(
|
|
447
|
+
if (requestParameters['tokenId'] == null) {
|
|
448
|
+
throw new runtime.RequiredError(
|
|
449
|
+
'tokenId',
|
|
450
|
+
'Required parameter "tokenId" was null or undefined when calling getSessionSsoToken().'
|
|
451
|
+
);
|
|
422
452
|
}
|
|
423
453
|
|
|
424
454
|
const queryParameters: any = {};
|
|
@@ -435,7 +465,7 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
435
465
|
}
|
|
436
466
|
|
|
437
467
|
const response = await this.request({
|
|
438
|
-
path: `/sessions/{uuid}/tokens/{tokenId}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
468
|
+
path: `/sessions/{uuid}/tokens/{tokenId}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"tokenId"}}`, encodeURIComponent(String(requestParameters['tokenId']))),
|
|
439
469
|
method: 'GET',
|
|
440
470
|
headers: headerParameters,
|
|
441
471
|
query: queryParameters,
|
|
@@ -457,12 +487,18 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
457
487
|
* Impersonate the given user context.
|
|
458
488
|
*/
|
|
459
489
|
async impersonateRaw(requestParameters: ImpersonateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Session>> {
|
|
460
|
-
if (requestParameters
|
|
461
|
-
throw new runtime.RequiredError(
|
|
490
|
+
if (requestParameters['uuid'] == null) {
|
|
491
|
+
throw new runtime.RequiredError(
|
|
492
|
+
'uuid',
|
|
493
|
+
'Required parameter "uuid" was null or undefined when calling impersonate().'
|
|
494
|
+
);
|
|
462
495
|
}
|
|
463
496
|
|
|
464
|
-
if (requestParameters
|
|
465
|
-
throw new runtime.RequiredError(
|
|
497
|
+
if (requestParameters['impersonatePayload'] == null) {
|
|
498
|
+
throw new runtime.RequiredError(
|
|
499
|
+
'impersonatePayload',
|
|
500
|
+
'Required parameter "impersonatePayload" was null or undefined when calling impersonate().'
|
|
501
|
+
);
|
|
466
502
|
}
|
|
467
503
|
|
|
468
504
|
const queryParameters: any = {};
|
|
@@ -481,11 +517,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
481
517
|
}
|
|
482
518
|
|
|
483
519
|
const response = await this.request({
|
|
484
|
-
path: `/sessions/{uuid}/impersonate`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
520
|
+
path: `/sessions/{uuid}/impersonate`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
485
521
|
method: 'POST',
|
|
486
522
|
headers: headerParameters,
|
|
487
523
|
query: queryParameters,
|
|
488
|
-
body: ImpersonatePayloadToJSON(requestParameters
|
|
524
|
+
body: ImpersonatePayloadToJSON(requestParameters['impersonatePayload']),
|
|
489
525
|
}, initOverrides);
|
|
490
526
|
|
|
491
527
|
return new runtime.JSONApiResponse(response, (jsonValue) => SessionFromJSON(jsonValue));
|
|
@@ -504,8 +540,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
504
540
|
* Revert an impersonated session to the context of the \"admin\" user who initiated the impersonation.
|
|
505
541
|
*/
|
|
506
542
|
async revertIdentityRaw(requestParameters: RevertIdentityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Session>> {
|
|
507
|
-
if (requestParameters
|
|
508
|
-
throw new runtime.RequiredError(
|
|
543
|
+
if (requestParameters['uuid'] == null) {
|
|
544
|
+
throw new runtime.RequiredError(
|
|
545
|
+
'uuid',
|
|
546
|
+
'Required parameter "uuid" was null or undefined when calling revertIdentity().'
|
|
547
|
+
);
|
|
509
548
|
}
|
|
510
549
|
|
|
511
550
|
const queryParameters: any = {};
|
|
@@ -522,7 +561,7 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
522
561
|
}
|
|
523
562
|
|
|
524
563
|
const response = await this.request({
|
|
525
|
-
path: `/sessions/{uuid}/revertIdentity`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
564
|
+
path: `/sessions/{uuid}/revertIdentity`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
526
565
|
method: 'POST',
|
|
527
566
|
headers: headerParameters,
|
|
528
567
|
query: queryParameters,
|
|
@@ -543,16 +582,25 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
543
582
|
* Store a sso token for the session for a given id/name/type
|
|
544
583
|
*/
|
|
545
584
|
async setSessionSsoTokenRaw(requestParameters: SetSessionSsoTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
546
|
-
if (requestParameters
|
|
547
|
-
throw new runtime.RequiredError(
|
|
585
|
+
if (requestParameters['uuid'] == null) {
|
|
586
|
+
throw new runtime.RequiredError(
|
|
587
|
+
'uuid',
|
|
588
|
+
'Required parameter "uuid" was null or undefined when calling setSessionSsoToken().'
|
|
589
|
+
);
|
|
548
590
|
}
|
|
549
591
|
|
|
550
|
-
if (requestParameters
|
|
551
|
-
throw new runtime.RequiredError(
|
|
592
|
+
if (requestParameters['tokenId'] == null) {
|
|
593
|
+
throw new runtime.RequiredError(
|
|
594
|
+
'tokenId',
|
|
595
|
+
'Required parameter "tokenId" was null or undefined when calling setSessionSsoToken().'
|
|
596
|
+
);
|
|
552
597
|
}
|
|
553
598
|
|
|
554
|
-
if (requestParameters
|
|
555
|
-
throw new runtime.RequiredError(
|
|
599
|
+
if (requestParameters['body'] == null) {
|
|
600
|
+
throw new runtime.RequiredError(
|
|
601
|
+
'body',
|
|
602
|
+
'Required parameter "body" was null or undefined when calling setSessionSsoToken().'
|
|
603
|
+
);
|
|
556
604
|
}
|
|
557
605
|
|
|
558
606
|
const queryParameters: any = {};
|
|
@@ -571,11 +619,11 @@ export class SessionApi extends runtime.BaseAPI {
|
|
|
571
619
|
}
|
|
572
620
|
|
|
573
621
|
const response = await this.request({
|
|
574
|
-
path: `/sessions/{uuid}/tokens/{tokenId}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters
|
|
622
|
+
path: `/sessions/{uuid}/tokens/{tokenId}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"tokenId"}}`, encodeURIComponent(String(requestParameters['tokenId']))),
|
|
575
623
|
method: 'PUT',
|
|
576
624
|
headers: headerParameters,
|
|
577
625
|
query: queryParameters,
|
|
578
|
-
body: requestParameters
|
|
626
|
+
body: requestParameters['body'] as any,
|
|
579
627
|
}, initOverrides);
|
|
580
628
|
|
|
581
629
|
return new runtime.VoidApiResponse(response);
|