@equisoft/account-service-sdk-typescript 10.1.1-snapshot.20250926142432 → 10.1.1-snapshot.20250930154726
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/FILES +1 -0
- package/.tool-versions +1 -1
- package/README.md +2 -2
- package/dist/apis/AccountApi.d.ts +1 -1
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/OAuthApi.d.ts +14 -2
- package/dist/apis/OAuthApi.js +42 -1
- package/dist/apis/OrganizationApi.d.ts +1 -1
- package/dist/apis/OrganizationApi.js +1 -1
- package/dist/apis/PermissionApi.d.ts +1 -1
- package/dist/apis/PermissionApi.js +1 -1
- package/dist/apis/RoleApi.d.ts +1 -1
- package/dist/apis/RoleApi.js +1 -1
- package/dist/apis/ServiceAccountApi.d.ts +1 -1
- package/dist/apis/ServiceAccountApi.js +1 -1
- package/dist/apis/SessionApi.d.ts +1 -1
- package/dist/apis/SessionApi.js +1 -1
- package/dist/apis/UserApi.d.ts +1 -1
- package/dist/apis/UserApi.js +1 -1
- package/dist/esm/apis/AccountApi.d.ts +1 -1
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/OAuthApi.d.ts +14 -2
- package/dist/esm/apis/OAuthApi.js +43 -2
- package/dist/esm/apis/OrganizationApi.d.ts +1 -1
- package/dist/esm/apis/OrganizationApi.js +1 -1
- package/dist/esm/apis/PermissionApi.d.ts +1 -1
- package/dist/esm/apis/PermissionApi.js +1 -1
- package/dist/esm/apis/RoleApi.d.ts +1 -1
- package/dist/esm/apis/RoleApi.js +1 -1
- package/dist/esm/apis/ServiceAccountApi.d.ts +1 -1
- package/dist/esm/apis/ServiceAccountApi.js +1 -1
- package/dist/esm/apis/SessionApi.d.ts +1 -1
- package/dist/esm/apis/SessionApi.js +1 -1
- package/dist/esm/apis/UserApi.d.ts +1 -1
- package/dist/esm/apis/UserApi.js +1 -1
- package/dist/esm/models/ApplyPermissionsPayload.d.ts +1 -1
- package/dist/esm/models/ApplyPermissionsPayload.js +1 -1
- package/dist/esm/models/AuthenticationUserAccount.d.ts +1 -1
- package/dist/esm/models/AuthenticationUserAccount.js +1 -1
- package/dist/esm/models/CreateOrUpdateOrganizationPayload.d.ts +1 -1
- package/dist/esm/models/CreateOrUpdateOrganizationPayload.js +1 -1
- package/dist/esm/models/CreateOrUpdatePermissionPayload.d.ts +1 -1
- package/dist/esm/models/CreateOrUpdatePermissionPayload.js +1 -1
- package/dist/esm/models/CreateOrganizationPayload.d.ts +1 -1
- package/dist/esm/models/CreateOrganizationPayload.js +1 -1
- package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.d.ts +1 -1
- package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.js +1 -1
- package/dist/esm/models/CreateOrganizationUserServicePayload.d.ts +1 -1
- package/dist/esm/models/CreateOrganizationUserServicePayload.js +1 -1
- package/dist/esm/models/CreateRole.d.ts +1 -1
- package/dist/esm/models/CreateRole.js +1 -1
- package/dist/esm/models/CreateUserAccountPayload.d.ts +1 -1
- package/dist/esm/models/CreateUserAccountPayload.js +1 -1
- package/dist/esm/models/CreateUserAccountServiceAssociation.d.ts +1 -1
- package/dist/esm/models/CreateUserAccountServiceAssociation.js +1 -1
- package/dist/esm/models/EnableEquisoftConnectPayload.d.ts +1 -1
- package/dist/esm/models/EnableEquisoftConnectPayload.js +1 -1
- package/dist/esm/models/ErrorMessage.d.ts +1 -1
- package/dist/esm/models/ErrorMessage.js +1 -1
- package/dist/esm/models/ErrorPayload.d.ts +1 -1
- package/dist/esm/models/ErrorPayload.js +1 -1
- package/dist/esm/models/Id.d.ts +1 -1
- package/dist/esm/models/Id.js +1 -1
- package/dist/esm/models/ImpersonatePayload.d.ts +1 -1
- package/dist/esm/models/ImpersonatePayload.js +1 -1
- package/dist/esm/models/ListOrganizationElement.d.ts +1 -1
- package/dist/esm/models/ListOrganizationElement.js +1 -1
- package/dist/esm/models/ListUserOrganizations.d.ts +1 -1
- package/dist/esm/models/ListUserOrganizations.js +1 -1
- package/dist/esm/models/LocalizedString.d.ts +1 -1
- package/dist/esm/models/LocalizedString.js +1 -1
- package/dist/esm/models/LoginPayload.d.ts +1 -1
- package/dist/esm/models/LoginPayload.js +1 -1
- package/dist/esm/models/NewPasswordPayload.d.ts +1 -1
- package/dist/esm/models/NewPasswordPayload.js +1 -1
- package/dist/esm/models/OAuthClient.d.ts +1 -1
- package/dist/esm/models/OAuthClient.js +1 -1
- package/dist/esm/models/OAuthClientListItem.d.ts +1 -1
- package/dist/esm/models/OAuthClientListItem.js +1 -1
- package/dist/esm/models/OAuthClientLoginPayload.d.ts +32 -0
- package/dist/esm/models/OAuthClientLoginPayload.js +43 -0
- package/dist/esm/models/OAuthClientPublicKey.d.ts +1 -1
- package/dist/esm/models/OAuthClientPublicKey.js +1 -1
- package/dist/esm/models/OAuthClientUpdated.d.ts +1 -1
- package/dist/esm/models/OAuthClientUpdated.js +1 -1
- package/dist/esm/models/Organization.d.ts +1 -1
- package/dist/esm/models/Organization.js +1 -1
- package/dist/esm/models/OrganizationApplicableServiceProfiles.d.ts +1 -1
- package/dist/esm/models/OrganizationApplicableServiceProfiles.js +1 -1
- package/dist/esm/models/OrganizationCreated.d.ts +1 -1
- package/dist/esm/models/OrganizationCreated.js +1 -1
- package/dist/esm/models/OrganizationPathElement.d.ts +1 -1
- package/dist/esm/models/OrganizationPathElement.js +1 -1
- package/dist/esm/models/OrganizationRoleAttribution.d.ts +1 -1
- package/dist/esm/models/OrganizationRoleAttribution.js +1 -1
- package/dist/esm/models/OrganizationRoleAttributionPermission.d.ts +1 -1
- package/dist/esm/models/OrganizationRoleAttributionPermission.js +1 -1
- package/dist/esm/models/OrganizationRoleAttributionRole.d.ts +1 -1
- package/dist/esm/models/OrganizationRoleAttributionRole.js +1 -1
- package/dist/esm/models/OrganizationRoleAttributionUser.d.ts +1 -1
- package/dist/esm/models/OrganizationRoleAttributionUser.js +1 -1
- package/dist/esm/models/OrganizationRoleAttributions.d.ts +1 -1
- package/dist/esm/models/OrganizationRoleAttributions.js +1 -1
- package/dist/esm/models/OrganizationServiceProfile.d.ts +1 -1
- package/dist/esm/models/OrganizationServiceProfile.js +1 -1
- package/dist/esm/models/OrganizationServicesElement.d.ts +1 -1
- package/dist/esm/models/OrganizationServicesElement.js +1 -1
- package/dist/esm/models/OrganizationSsoProvider.d.ts +1 -1
- package/dist/esm/models/OrganizationSsoProvider.js +1 -1
- package/dist/esm/models/OrganizationUserServiceAssociation.d.ts +1 -1
- package/dist/esm/models/OrganizationUserServiceAssociation.js +1 -1
- package/dist/esm/models/PasswordPolicy.d.ts +1 -1
- package/dist/esm/models/PasswordPolicy.js +1 -1
- package/dist/esm/models/PermissionCode.d.ts +1 -1
- package/dist/esm/models/PermissionCode.js +1 -1
- package/dist/esm/models/PermissionCreated.d.ts +1 -1
- package/dist/esm/models/PermissionCreated.js +1 -1
- package/dist/esm/models/PermissionList.d.ts +1 -1
- package/dist/esm/models/PermissionList.js +1 -1
- package/dist/esm/models/PermissionResourceType.d.ts +1 -1
- package/dist/esm/models/PermissionResourceType.js +1 -1
- package/dist/esm/models/Role.d.ts +1 -1
- package/dist/esm/models/Role.js +1 -1
- package/dist/esm/models/RoleCreated.d.ts +1 -1
- package/dist/esm/models/RoleCreated.js +1 -1
- package/dist/esm/models/RolesOnOrganization.d.ts +1 -1
- package/dist/esm/models/RolesOnOrganization.js +1 -1
- package/dist/esm/models/SearchSessionResult.d.ts +1 -1
- package/dist/esm/models/SearchSessionResult.js +1 -1
- package/dist/esm/models/SearchSessionResults.d.ts +1 -1
- package/dist/esm/models/SearchSessionResults.js +1 -1
- package/dist/esm/models/SendResetPasswordLinkPayload.d.ts +1 -1
- package/dist/esm/models/SendResetPasswordLinkPayload.js +1 -1
- package/dist/esm/models/SendSignupInvitationPayload.d.ts +1 -1
- package/dist/esm/models/SendSignupInvitationPayload.js +1 -1
- package/dist/esm/models/ServiceAccountCreationSchema.d.ts +1 -1
- package/dist/esm/models/ServiceAccountCreationSchema.js +1 -1
- package/dist/esm/models/ServiceAccountSchema.d.ts +1 -1
- package/dist/esm/models/ServiceAccountSchema.js +1 -1
- package/dist/esm/models/ServiceAccountStatus.d.ts +1 -1
- package/dist/esm/models/ServiceAccountStatus.js +1 -1
- package/dist/esm/models/ServiceAccountUpdateSchema.d.ts +1 -1
- package/dist/esm/models/ServiceAccountUpdateSchema.js +1 -1
- package/dist/esm/models/ServiceAccountUuidSchema.d.ts +1 -1
- package/dist/esm/models/ServiceAccountUuidSchema.js +1 -1
- package/dist/esm/models/Session.d.ts +1 -1
- package/dist/esm/models/Session.js +1 -1
- package/dist/esm/models/SessionPayload.d.ts +1 -1
- package/dist/esm/models/SessionPayload.js +1 -1
- package/dist/esm/models/SessionPolicy.d.ts +1 -1
- package/dist/esm/models/SessionPolicy.js +1 -1
- package/dist/esm/models/SessionState.d.ts +1 -1
- package/dist/esm/models/SessionState.js +1 -1
- package/dist/esm/models/SetOrganizationServiceOptionPayload.d.ts +1 -1
- package/dist/esm/models/SetOrganizationServiceOptionPayload.js +1 -1
- package/dist/esm/models/SetPasswordByConfirmationHashPayload.d.ts +1 -1
- package/dist/esm/models/SetPasswordByConfirmationHashPayload.js +1 -1
- package/dist/esm/models/SetUserAccountPasswordPayload.d.ts +1 -1
- package/dist/esm/models/SetUserAccountPasswordPayload.js +1 -1
- package/dist/esm/models/SsoProvider.d.ts +1 -1
- package/dist/esm/models/SsoProvider.js +1 -1
- package/dist/esm/models/SsoToken.d.ts +1 -1
- package/dist/esm/models/SsoToken.js +1 -1
- package/dist/esm/models/UpdateOAuthClientPayload.d.ts +1 -1
- package/dist/esm/models/UpdateOAuthClientPayload.js +1 -1
- package/dist/esm/models/UpdateOwnerOrganizationPayload.d.ts +1 -1
- package/dist/esm/models/UpdateOwnerOrganizationPayload.js +1 -1
- package/dist/esm/models/UpdateParentOrganizationPayload.d.ts +1 -1
- package/dist/esm/models/UpdateParentOrganizationPayload.js +1 -1
- package/dist/esm/models/UpdateUserAccountPayload.d.ts +1 -1
- package/dist/esm/models/UpdateUserAccountPayload.js +1 -1
- package/dist/esm/models/UpdateUserAccountSsoPayload.d.ts +1 -1
- package/dist/esm/models/UpdateUserAccountSsoPayload.js +1 -1
- package/dist/esm/models/UpsertServicePayload.d.ts +1 -1
- package/dist/esm/models/UpsertServicePayload.js +1 -1
- package/dist/esm/models/User.d.ts +1 -1
- package/dist/esm/models/User.js +1 -1
- package/dist/esm/models/UserAccountOrganizationRoles.d.ts +1 -1
- package/dist/esm/models/UserAccountOrganizationRoles.js +1 -1
- package/dist/esm/models/UserAccountPermission.d.ts +1 -1
- package/dist/esm/models/UserAccountPermission.js +1 -1
- package/dist/esm/models/UserAccountRole.d.ts +1 -1
- package/dist/esm/models/UserAccountRole.js +1 -1
- package/dist/esm/models/UserAccountRoleAttributions.d.ts +1 -1
- package/dist/esm/models/UserAccountRoleAttributions.js +1 -1
- package/dist/esm/models/UserAccountSearchResult.d.ts +1 -1
- package/dist/esm/models/UserAccountSearchResult.js +1 -1
- package/dist/esm/models/UserAddress.d.ts +1 -1
- package/dist/esm/models/UserAddress.js +1 -1
- package/dist/esm/models/UserAgreement.d.ts +1 -1
- package/dist/esm/models/UserAgreement.js +1 -1
- package/dist/esm/models/UserAgreementState.d.ts +1 -1
- package/dist/esm/models/UserAgreementState.js +1 -1
- package/dist/esm/models/UserPermissions.d.ts +1 -1
- package/dist/esm/models/UserPermissions.js +1 -1
- package/dist/esm/models/UserServiceAssociation.d.ts +1 -1
- package/dist/esm/models/UserServiceAssociation.js +1 -1
- package/dist/esm/models/UserSsoProvider.d.ts +1 -1
- package/dist/esm/models/UserSsoProvider.js +1 -1
- package/dist/esm/models/UserState.d.ts +1 -1
- package/dist/esm/models/UserState.js +1 -1
- package/dist/esm/models/UserUuid.d.ts +1 -1
- package/dist/esm/models/UserUuid.js +1 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ApplyPermissionsPayload.d.ts +1 -1
- package/dist/models/ApplyPermissionsPayload.js +1 -1
- package/dist/models/AuthenticationUserAccount.d.ts +1 -1
- package/dist/models/AuthenticationUserAccount.js +1 -1
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +1 -1
- package/dist/models/CreateOrUpdateOrganizationPayload.js +1 -1
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +1 -1
- package/dist/models/CreateOrUpdatePermissionPayload.js +1 -1
- package/dist/models/CreateOrganizationPayload.d.ts +1 -1
- package/dist/models/CreateOrganizationPayload.js +1 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.js +1 -1
- package/dist/models/CreateRole.d.ts +1 -1
- package/dist/models/CreateRole.js +1 -1
- package/dist/models/CreateUserAccountPayload.d.ts +1 -1
- package/dist/models/CreateUserAccountPayload.js +1 -1
- package/dist/models/CreateUserAccountServiceAssociation.d.ts +1 -1
- package/dist/models/CreateUserAccountServiceAssociation.js +1 -1
- package/dist/models/EnableEquisoftConnectPayload.d.ts +1 -1
- package/dist/models/EnableEquisoftConnectPayload.js +1 -1
- package/dist/models/ErrorMessage.d.ts +1 -1
- package/dist/models/ErrorMessage.js +1 -1
- package/dist/models/ErrorPayload.d.ts +1 -1
- package/dist/models/ErrorPayload.js +1 -1
- package/dist/models/Id.d.ts +1 -1
- package/dist/models/Id.js +1 -1
- package/dist/models/ImpersonatePayload.d.ts +1 -1
- package/dist/models/ImpersonatePayload.js +1 -1
- package/dist/models/ListOrganizationElement.d.ts +1 -1
- package/dist/models/ListOrganizationElement.js +1 -1
- package/dist/models/ListUserOrganizations.d.ts +1 -1
- package/dist/models/ListUserOrganizations.js +1 -1
- package/dist/models/LocalizedString.d.ts +1 -1
- package/dist/models/LocalizedString.js +1 -1
- package/dist/models/LoginPayload.d.ts +1 -1
- package/dist/models/LoginPayload.js +1 -1
- package/dist/models/NewPasswordPayload.d.ts +1 -1
- package/dist/models/NewPasswordPayload.js +1 -1
- package/dist/models/OAuthClient.d.ts +1 -1
- package/dist/models/OAuthClient.js +1 -1
- package/dist/models/OAuthClientListItem.d.ts +1 -1
- package/dist/models/OAuthClientListItem.js +1 -1
- package/dist/models/OAuthClientLoginPayload.d.ts +32 -0
- package/dist/models/OAuthClientLoginPayload.js +50 -0
- package/dist/models/OAuthClientPublicKey.d.ts +1 -1
- package/dist/models/OAuthClientPublicKey.js +1 -1
- package/dist/models/OAuthClientUpdated.d.ts +1 -1
- package/dist/models/OAuthClientUpdated.js +1 -1
- package/dist/models/Organization.d.ts +1 -1
- package/dist/models/Organization.js +1 -1
- package/dist/models/OrganizationApplicableServiceProfiles.d.ts +1 -1
- package/dist/models/OrganizationApplicableServiceProfiles.js +1 -1
- package/dist/models/OrganizationCreated.d.ts +1 -1
- package/dist/models/OrganizationCreated.js +1 -1
- package/dist/models/OrganizationPathElement.d.ts +1 -1
- package/dist/models/OrganizationPathElement.js +1 -1
- package/dist/models/OrganizationRoleAttribution.d.ts +1 -1
- package/dist/models/OrganizationRoleAttribution.js +1 -1
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributionPermission.js +1 -1
- package/dist/models/OrganizationRoleAttributionRole.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributionRole.js +1 -1
- package/dist/models/OrganizationRoleAttributionUser.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributionUser.js +1 -1
- package/dist/models/OrganizationRoleAttributions.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributions.js +1 -1
- package/dist/models/OrganizationServiceProfile.d.ts +1 -1
- package/dist/models/OrganizationServiceProfile.js +1 -1
- package/dist/models/OrganizationServicesElement.d.ts +1 -1
- package/dist/models/OrganizationServicesElement.js +1 -1
- package/dist/models/OrganizationSsoProvider.d.ts +1 -1
- package/dist/models/OrganizationSsoProvider.js +1 -1
- package/dist/models/OrganizationUserServiceAssociation.d.ts +1 -1
- package/dist/models/OrganizationUserServiceAssociation.js +1 -1
- package/dist/models/PasswordPolicy.d.ts +1 -1
- package/dist/models/PasswordPolicy.js +1 -1
- package/dist/models/PermissionCode.d.ts +1 -1
- package/dist/models/PermissionCode.js +1 -1
- package/dist/models/PermissionCreated.d.ts +1 -1
- package/dist/models/PermissionCreated.js +1 -1
- package/dist/models/PermissionList.d.ts +1 -1
- package/dist/models/PermissionList.js +1 -1
- package/dist/models/PermissionResourceType.d.ts +1 -1
- package/dist/models/PermissionResourceType.js +1 -1
- package/dist/models/Role.d.ts +1 -1
- package/dist/models/Role.js +1 -1
- package/dist/models/RoleCreated.d.ts +1 -1
- package/dist/models/RoleCreated.js +1 -1
- package/dist/models/RolesOnOrganization.d.ts +1 -1
- package/dist/models/RolesOnOrganization.js +1 -1
- package/dist/models/SearchSessionResult.d.ts +1 -1
- package/dist/models/SearchSessionResult.js +1 -1
- package/dist/models/SearchSessionResults.d.ts +1 -1
- package/dist/models/SearchSessionResults.js +1 -1
- package/dist/models/SendResetPasswordLinkPayload.d.ts +1 -1
- package/dist/models/SendResetPasswordLinkPayload.js +1 -1
- package/dist/models/SendSignupInvitationPayload.d.ts +1 -1
- package/dist/models/SendSignupInvitationPayload.js +1 -1
- package/dist/models/ServiceAccountCreationSchema.d.ts +1 -1
- package/dist/models/ServiceAccountCreationSchema.js +1 -1
- package/dist/models/ServiceAccountSchema.d.ts +1 -1
- package/dist/models/ServiceAccountSchema.js +1 -1
- package/dist/models/ServiceAccountStatus.d.ts +1 -1
- package/dist/models/ServiceAccountStatus.js +1 -1
- package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUpdateSchema.js +1 -1
- package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUuidSchema.js +1 -1
- package/dist/models/Session.d.ts +1 -1
- package/dist/models/Session.js +1 -1
- package/dist/models/SessionPayload.d.ts +1 -1
- package/dist/models/SessionPayload.js +1 -1
- package/dist/models/SessionPolicy.d.ts +1 -1
- package/dist/models/SessionPolicy.js +1 -1
- package/dist/models/SessionState.d.ts +1 -1
- package/dist/models/SessionState.js +1 -1
- package/dist/models/SetOrganizationServiceOptionPayload.d.ts +1 -1
- package/dist/models/SetOrganizationServiceOptionPayload.js +1 -1
- package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +1 -1
- package/dist/models/SetPasswordByConfirmationHashPayload.js +1 -1
- package/dist/models/SetUserAccountPasswordPayload.d.ts +1 -1
- package/dist/models/SetUserAccountPasswordPayload.js +1 -1
- package/dist/models/SsoProvider.d.ts +1 -1
- package/dist/models/SsoProvider.js +1 -1
- package/dist/models/SsoToken.d.ts +1 -1
- package/dist/models/SsoToken.js +1 -1
- package/dist/models/UpdateOAuthClientPayload.d.ts +1 -1
- package/dist/models/UpdateOAuthClientPayload.js +1 -1
- package/dist/models/UpdateOwnerOrganizationPayload.d.ts +1 -1
- package/dist/models/UpdateOwnerOrganizationPayload.js +1 -1
- package/dist/models/UpdateParentOrganizationPayload.d.ts +1 -1
- package/dist/models/UpdateParentOrganizationPayload.js +1 -1
- package/dist/models/UpdateUserAccountPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountPayload.js +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.js +1 -1
- package/dist/models/UpsertServicePayload.d.ts +1 -1
- package/dist/models/UpsertServicePayload.js +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/UserAccountOrganizationRoles.d.ts +1 -1
- package/dist/models/UserAccountOrganizationRoles.js +1 -1
- package/dist/models/UserAccountPermission.d.ts +1 -1
- package/dist/models/UserAccountPermission.js +1 -1
- package/dist/models/UserAccountRole.d.ts +1 -1
- package/dist/models/UserAccountRole.js +1 -1
- package/dist/models/UserAccountRoleAttributions.d.ts +1 -1
- package/dist/models/UserAccountRoleAttributions.js +1 -1
- package/dist/models/UserAccountSearchResult.d.ts +1 -1
- package/dist/models/UserAccountSearchResult.js +1 -1
- package/dist/models/UserAddress.d.ts +1 -1
- package/dist/models/UserAddress.js +1 -1
- package/dist/models/UserAgreement.d.ts +1 -1
- package/dist/models/UserAgreement.js +1 -1
- package/dist/models/UserAgreementState.d.ts +1 -1
- package/dist/models/UserAgreementState.js +1 -1
- package/dist/models/UserPermissions.d.ts +1 -1
- package/dist/models/UserPermissions.js +1 -1
- package/dist/models/UserServiceAssociation.d.ts +1 -1
- package/dist/models/UserServiceAssociation.js +1 -1
- package/dist/models/UserSsoProvider.d.ts +1 -1
- package/dist/models/UserSsoProvider.js +1 -1
- package/dist/models/UserState.d.ts +1 -1
- package/dist/models/UserState.js +1 -1
- package/dist/models/UserUuid.d.ts +1 -1
- package/dist/models/UserUuid.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +1 -1
- package/src/apis/OAuthApi.ts +61 -1
- package/src/apis/OrganizationApi.ts +1 -1
- package/src/apis/PermissionApi.ts +1 -1
- package/src/apis/RoleApi.ts +1 -1
- package/src/apis/ServiceAccountApi.ts +1 -1
- package/src/apis/SessionApi.ts +1 -1
- package/src/apis/UserApi.ts +1 -1
- package/src/models/ApplyPermissionsPayload.ts +1 -1
- package/src/models/AuthenticationUserAccount.ts +1 -1
- package/src/models/CreateOrUpdateOrganizationPayload.ts +1 -1
- package/src/models/CreateOrUpdatePermissionPayload.ts +1 -1
- package/src/models/CreateOrganizationPayload.ts +1 -1
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +1 -1
- package/src/models/CreateOrganizationUserServicePayload.ts +1 -1
- package/src/models/CreateRole.ts +1 -1
- package/src/models/CreateUserAccountPayload.ts +1 -1
- package/src/models/CreateUserAccountServiceAssociation.ts +1 -1
- package/src/models/EnableEquisoftConnectPayload.ts +1 -1
- package/src/models/ErrorMessage.ts +1 -1
- package/src/models/ErrorPayload.ts +1 -1
- package/src/models/Id.ts +1 -1
- package/src/models/ImpersonatePayload.ts +1 -1
- package/src/models/ListOrganizationElement.ts +1 -1
- package/src/models/ListUserOrganizations.ts +1 -1
- package/src/models/LocalizedString.ts +1 -1
- package/src/models/LoginPayload.ts +1 -1
- package/src/models/NewPasswordPayload.ts +1 -1
- package/src/models/OAuthClient.ts +1 -1
- package/src/models/OAuthClientListItem.ts +1 -1
- package/src/models/OAuthClientLoginPayload.ts +66 -0
- package/src/models/OAuthClientPublicKey.ts +1 -1
- package/src/models/OAuthClientUpdated.ts +1 -1
- package/src/models/Organization.ts +1 -1
- package/src/models/OrganizationApplicableServiceProfiles.ts +1 -1
- package/src/models/OrganizationCreated.ts +1 -1
- package/src/models/OrganizationPathElement.ts +1 -1
- package/src/models/OrganizationRoleAttribution.ts +1 -1
- package/src/models/OrganizationRoleAttributionPermission.ts +1 -1
- package/src/models/OrganizationRoleAttributionRole.ts +1 -1
- package/src/models/OrganizationRoleAttributionUser.ts +1 -1
- package/src/models/OrganizationRoleAttributions.ts +1 -1
- package/src/models/OrganizationServiceProfile.ts +1 -1
- package/src/models/OrganizationServicesElement.ts +1 -1
- package/src/models/OrganizationSsoProvider.ts +1 -1
- package/src/models/OrganizationUserServiceAssociation.ts +1 -1
- package/src/models/PasswordPolicy.ts +1 -1
- package/src/models/PermissionCode.ts +1 -1
- package/src/models/PermissionCreated.ts +1 -1
- package/src/models/PermissionList.ts +1 -1
- package/src/models/PermissionResourceType.ts +1 -1
- package/src/models/Role.ts +1 -1
- package/src/models/RoleCreated.ts +1 -1
- package/src/models/RolesOnOrganization.ts +1 -1
- package/src/models/SearchSessionResult.ts +1 -1
- package/src/models/SearchSessionResults.ts +1 -1
- package/src/models/SendResetPasswordLinkPayload.ts +1 -1
- package/src/models/SendSignupInvitationPayload.ts +1 -1
- package/src/models/ServiceAccountCreationSchema.ts +1 -1
- package/src/models/ServiceAccountSchema.ts +1 -1
- package/src/models/ServiceAccountStatus.ts +1 -1
- package/src/models/ServiceAccountUpdateSchema.ts +1 -1
- package/src/models/ServiceAccountUuidSchema.ts +1 -1
- package/src/models/Session.ts +1 -1
- package/src/models/SessionPayload.ts +1 -1
- package/src/models/SessionPolicy.ts +1 -1
- package/src/models/SessionState.ts +1 -1
- package/src/models/SetOrganizationServiceOptionPayload.ts +1 -1
- package/src/models/SetPasswordByConfirmationHashPayload.ts +1 -1
- package/src/models/SetUserAccountPasswordPayload.ts +1 -1
- package/src/models/SsoProvider.ts +1 -1
- package/src/models/SsoToken.ts +1 -1
- package/src/models/UpdateOAuthClientPayload.ts +1 -1
- package/src/models/UpdateOwnerOrganizationPayload.ts +1 -1
- package/src/models/UpdateParentOrganizationPayload.ts +1 -1
- package/src/models/UpdateUserAccountPayload.ts +1 -1
- package/src/models/UpdateUserAccountSsoPayload.ts +1 -1
- package/src/models/UpsertServicePayload.ts +1 -1
- package/src/models/User.ts +1 -1
- package/src/models/UserAccountOrganizationRoles.ts +1 -1
- package/src/models/UserAccountPermission.ts +1 -1
- package/src/models/UserAccountRole.ts +1 -1
- package/src/models/UserAccountRoleAttributions.ts +1 -1
- package/src/models/UserAccountSearchResult.ts +1 -1
- package/src/models/UserAddress.ts +1 -1
- package/src/models/UserAgreement.ts +1 -1
- package/src/models/UserAgreementState.ts +1 -1
- package/src/models/UserPermissions.ts +1 -1
- package/src/models/UserServiceAssociation.ts +1 -1
- package/src/models/UserSsoProvider.ts +1 -1
- package/src/models/UserState.ts +1 -1
- package/src/models/UserUuid.ts +1 -1
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -33,6 +33,7 @@ src/models/LoginPayload.ts
|
|
|
33
33
|
src/models/NewPasswordPayload.ts
|
|
34
34
|
src/models/OAuthClient.ts
|
|
35
35
|
src/models/OAuthClientListItem.ts
|
|
36
|
+
src/models/OAuthClientLoginPayload.ts
|
|
36
37
|
src/models/OAuthClientPublicKey.ts
|
|
37
38
|
src/models/OAuthClientUpdated.ts
|
|
38
39
|
src/models/Organization.ts
|
package/.tool-versions
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @equisoft/account-service-sdk-typescript@10.1.
|
|
1
|
+
## @equisoft/account-service-sdk-typescript@10.1.1-SNAPSHOT
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @equisoft/account-service-sdk-typescript@10.1.
|
|
39
|
+
npm install @equisoft/account-service-sdk-typescript@10.1.1-SNAPSHOT --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/AccountApi.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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/OAuthApi.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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,10 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { OAuthClient, OAuthClientListItem, OAuthClientUpdated, UpdateOAuthClientPayload } from '../models/index';
|
|
13
|
+
import type { OAuthClient, OAuthClientListItem, OAuthClientLoginPayload, OAuthClientUpdated, UpdateOAuthClientPayload } from '../models/index';
|
|
14
14
|
export interface GetOAuthClientRequest {
|
|
15
15
|
clientId: string;
|
|
16
16
|
}
|
|
17
|
+
export interface LoginOAuthClientRequest {
|
|
18
|
+
clientId: string;
|
|
19
|
+
oAuthClientLoginPayload: OAuthClientLoginPayload;
|
|
20
|
+
}
|
|
17
21
|
export interface UpdateOAuthClientRequest {
|
|
18
22
|
clientId: string;
|
|
19
23
|
updateOAuthClientPayload: UpdateOAuthClientPayload;
|
|
@@ -38,6 +42,14 @@ export declare class OAuthApi extends runtime.BaseAPI {
|
|
|
38
42
|
* Get a list of all OAuth Clients.
|
|
39
43
|
*/
|
|
40
44
|
listOAuthClients(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OAuthClientListItem>>;
|
|
45
|
+
/**
|
|
46
|
+
* OAuth Client login
|
|
47
|
+
*/
|
|
48
|
+
loginOAuthClientRaw(requestParameters: LoginOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClient>>;
|
|
49
|
+
/**
|
|
50
|
+
* OAuth Client login
|
|
51
|
+
*/
|
|
52
|
+
loginOAuthClient(requestParameters: LoginOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClient>;
|
|
41
53
|
/**
|
|
42
54
|
* Update an oauth client
|
|
43
55
|
*/
|
package/dist/apis/OAuthApi.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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -98,6 +98,47 @@ class OAuthApi extends runtime.BaseAPI {
|
|
|
98
98
|
return yield response.value();
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* OAuth Client login
|
|
103
|
+
*/
|
|
104
|
+
loginOAuthClientRaw(requestParameters, initOverrides) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
if (requestParameters['clientId'] == null) {
|
|
107
|
+
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling loginOAuthClient().');
|
|
108
|
+
}
|
|
109
|
+
if (requestParameters['oAuthClientLoginPayload'] == null) {
|
|
110
|
+
throw new runtime.RequiredError('oAuthClientLoginPayload', 'Required parameter "oAuthClientLoginPayload" was null or undefined when calling loginOAuthClient().');
|
|
111
|
+
}
|
|
112
|
+
const queryParameters = {};
|
|
113
|
+
const headerParameters = {};
|
|
114
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
115
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
116
|
+
// oauth required
|
|
117
|
+
const token = this.configuration.accessToken;
|
|
118
|
+
const tokenString = yield token("OAuth2", []);
|
|
119
|
+
if (tokenString) {
|
|
120
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
const response = yield this.request({
|
|
124
|
+
path: `/oauthClients/{clientId}/login`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters['clientId']))),
|
|
125
|
+
method: 'POST',
|
|
126
|
+
headers: headerParameters,
|
|
127
|
+
query: queryParameters,
|
|
128
|
+
body: (0, index_1.OAuthClientLoginPayloadToJSON)(requestParameters['oAuthClientLoginPayload']),
|
|
129
|
+
}, initOverrides);
|
|
130
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OAuthClientFromJSON)(jsonValue));
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* OAuth Client login
|
|
135
|
+
*/
|
|
136
|
+
loginOAuthClient(requestParameters, initOverrides) {
|
|
137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
+
const response = yield this.loginOAuthClientRaw(requestParameters, initOverrides);
|
|
139
|
+
return yield response.value();
|
|
140
|
+
});
|
|
141
|
+
}
|
|
101
142
|
/**
|
|
102
143
|
* Update an oauth client
|
|
103
144
|
*/
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/RoleApi.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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/RoleApi.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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/SessionApi.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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/UserApi.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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/UserApi.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: 10.1.
|
|
8
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,10 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { OAuthClient, OAuthClientListItem, OAuthClientUpdated, UpdateOAuthClientPayload } from '../models/index';
|
|
13
|
+
import type { OAuthClient, OAuthClientListItem, OAuthClientLoginPayload, OAuthClientUpdated, UpdateOAuthClientPayload } from '../models/index';
|
|
14
14
|
export interface GetOAuthClientRequest {
|
|
15
15
|
clientId: string;
|
|
16
16
|
}
|
|
17
|
+
export interface LoginOAuthClientRequest {
|
|
18
|
+
clientId: string;
|
|
19
|
+
oAuthClientLoginPayload: OAuthClientLoginPayload;
|
|
20
|
+
}
|
|
17
21
|
export interface UpdateOAuthClientRequest {
|
|
18
22
|
clientId: string;
|
|
19
23
|
updateOAuthClientPayload: UpdateOAuthClientPayload;
|
|
@@ -38,6 +42,14 @@ export declare class OAuthApi extends runtime.BaseAPI {
|
|
|
38
42
|
* Get a list of all OAuth Clients.
|
|
39
43
|
*/
|
|
40
44
|
listOAuthClients(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OAuthClientListItem>>;
|
|
45
|
+
/**
|
|
46
|
+
* OAuth Client login
|
|
47
|
+
*/
|
|
48
|
+
loginOAuthClientRaw(requestParameters: LoginOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClient>>;
|
|
49
|
+
/**
|
|
50
|
+
* OAuth Client login
|
|
51
|
+
*/
|
|
52
|
+
loginOAuthClient(requestParameters: LoginOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClient>;
|
|
41
53
|
/**
|
|
42
54
|
* Update an oauth client
|
|
43
55
|
*/
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { OAuthClientFromJSON, OAuthClientListItemFromJSON, OAuthClientUpdatedFromJSON, UpdateOAuthClientPayloadToJSON, } from '../models/index';
|
|
24
|
+
import { OAuthClientFromJSON, OAuthClientListItemFromJSON, OAuthClientLoginPayloadToJSON, OAuthClientUpdatedFromJSON, UpdateOAuthClientPayloadToJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -95,6 +95,47 @@ export class OAuthApi extends runtime.BaseAPI {
|
|
|
95
95
|
return yield response.value();
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* OAuth Client login
|
|
100
|
+
*/
|
|
101
|
+
loginOAuthClientRaw(requestParameters, initOverrides) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
if (requestParameters['clientId'] == null) {
|
|
104
|
+
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling loginOAuthClient().');
|
|
105
|
+
}
|
|
106
|
+
if (requestParameters['oAuthClientLoginPayload'] == null) {
|
|
107
|
+
throw new runtime.RequiredError('oAuthClientLoginPayload', 'Required parameter "oAuthClientLoginPayload" was null or undefined when calling loginOAuthClient().');
|
|
108
|
+
}
|
|
109
|
+
const queryParameters = {};
|
|
110
|
+
const headerParameters = {};
|
|
111
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
112
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
113
|
+
// oauth required
|
|
114
|
+
const token = this.configuration.accessToken;
|
|
115
|
+
const tokenString = yield token("OAuth2", []);
|
|
116
|
+
if (tokenString) {
|
|
117
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
const response = yield this.request({
|
|
121
|
+
path: `/oauthClients/{clientId}/login`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters['clientId']))),
|
|
122
|
+
method: 'POST',
|
|
123
|
+
headers: headerParameters,
|
|
124
|
+
query: queryParameters,
|
|
125
|
+
body: OAuthClientLoginPayloadToJSON(requestParameters['oAuthClientLoginPayload']),
|
|
126
|
+
}, initOverrides);
|
|
127
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OAuthClientFromJSON(jsonValue));
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* OAuth Client login
|
|
132
|
+
*/
|
|
133
|
+
loginOAuthClient(requestParameters, initOverrides) {
|
|
134
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
135
|
+
const response = yield this.loginOAuthClientRaw(requestParameters, initOverrides);
|
|
136
|
+
return yield response.value();
|
|
137
|
+
});
|
|
138
|
+
}
|
|
98
139
|
/**
|
|
99
140
|
* Update an oauth client
|
|
100
141
|
*/
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/apis/RoleApi.js
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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/apis/UserApi.js
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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
5
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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: 10.1.
|
|
7
|
+
* The version of the OpenAPI document: 10.1.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|