@equisoft/account-service-sdk-typescript 6.8.1-snapshot.20240510131710 → 6.8.1-snapshot.20240513193226
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 -1
- package/.tool-versions +1 -1
- package/README.md +2 -2
- package/dist/apis/OAuthApi.d.ts +1 -1
- package/dist/apis/OAuthApi.js +1 -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 +14 -13
- package/dist/apis/UserApi.js +41 -37
- package/dist/esm/apis/OAuthApi.d.ts +1 -1
- package/dist/esm/apis/OAuthApi.js +1 -1
- 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 +14 -13
- package/dist/esm/apis/UserApi.js +42 -38
- 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/CreateOrUpdateOAuthClientPayload.d.ts +1 -1
- package/dist/esm/models/CreateOrUpdateOAuthClientPayload.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/DatabaseState.d.ts +1 -1
- package/dist/esm/models/DatabaseState.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/LegacyRoleSchema.d.ts +1 -1
- package/dist/esm/models/LegacyRoleSchema.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/OAuthClientCreated.d.ts +1 -1
- package/dist/esm/models/OAuthClientCreated.js +1 -1
- package/dist/esm/models/OAuthClientPublicKey.d.ts +1 -1
- package/dist/esm/models/OAuthClientPublicKey.js +1 -1
- package/dist/esm/models/Organization.d.ts +1 -1
- package/dist/esm/models/Organization.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/SendResetPasswordLinkPayload.d.ts +1 -1
- package/dist/esm/models/SendResetPasswordLinkPayload.js +1 -1
- package/dist/esm/models/SendSignupInvitationPayload.d.ts +73 -0
- package/dist/esm/models/SendSignupInvitationPayload.js +61 -0
- package/dist/esm/models/ServiceAccess.d.ts +1 -1
- package/dist/esm/models/ServiceAccess.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/ServiceName.d.ts +1 -1
- package/dist/esm/models/ServiceName.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/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/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/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 -1
- package/dist/esm/models/index.js +1 -1
- 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/CreateOrUpdateOAuthClientPayload.d.ts +1 -1
- package/dist/models/CreateOrUpdateOAuthClientPayload.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/DatabaseState.d.ts +1 -1
- package/dist/models/DatabaseState.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/LegacyRoleSchema.d.ts +1 -1
- package/dist/models/LegacyRoleSchema.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/OAuthClientCreated.d.ts +1 -1
- package/dist/models/OAuthClientCreated.js +1 -1
- package/dist/models/OAuthClientPublicKey.d.ts +1 -1
- package/dist/models/OAuthClientPublicKey.js +1 -1
- package/dist/models/Organization.d.ts +1 -1
- package/dist/models/Organization.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/SendResetPasswordLinkPayload.d.ts +1 -1
- package/dist/models/SendResetPasswordLinkPayload.js +1 -1
- package/dist/models/SendSignupInvitationPayload.d.ts +73 -0
- package/dist/models/SendSignupInvitationPayload.js +68 -0
- package/dist/models/ServiceAccess.d.ts +1 -1
- package/dist/models/ServiceAccess.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/ServiceName.d.ts +1 -1
- package/dist/models/ServiceName.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/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/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/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 -1
- package/dist/models/index.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +1 -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 +54 -47
- package/src/models/ApplyPermissionsPayload.ts +1 -1
- package/src/models/AuthenticationUserAccount.ts +1 -1
- package/src/models/CreateOrUpdateOAuthClientPayload.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/DatabaseState.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/LegacyRoleSchema.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/OAuthClientCreated.ts +1 -1
- package/src/models/OAuthClientPublicKey.ts +1 -1
- package/src/models/Organization.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/SendResetPasswordLinkPayload.ts +1 -1
- package/src/models/SendSignupInvitationPayload.ts +125 -0
- package/src/models/ServiceAccess.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/ServiceName.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/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/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/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 -1
- package/src/runtime.ts +1 -1
- package/dist/esm/models/SignupHash.d.ts +0 -31
- package/dist/esm/models/SignupHash.js +0 -43
- package/dist/models/SignupHash.d.ts +0 -31
- package/dist/models/SignupHash.js +0 -50
- package/src/models/SignupHash.ts +0 -66
package/.openapi-generator/FILES
CHANGED
|
@@ -57,6 +57,7 @@ src/models/Role.ts
|
|
|
57
57
|
src/models/RoleCreated.ts
|
|
58
58
|
src/models/RolesOnOrganization.ts
|
|
59
59
|
src/models/SendResetPasswordLinkPayload.ts
|
|
60
|
+
src/models/SendSignupInvitationPayload.ts
|
|
60
61
|
src/models/ServiceAccess.ts
|
|
61
62
|
src/models/ServiceAccountCreationSchema.ts
|
|
62
63
|
src/models/ServiceAccountSchema.ts
|
|
@@ -70,7 +71,6 @@ src/models/SessionPolicy.ts
|
|
|
70
71
|
src/models/SessionState.ts
|
|
71
72
|
src/models/SetPasswordByConfirmationHashPayload.ts
|
|
72
73
|
src/models/SetUserAccountPasswordPayload.ts
|
|
73
|
-
src/models/SignupHash.ts
|
|
74
74
|
src/models/SsoProvider.ts
|
|
75
75
|
src/models/SsoToken.ts
|
|
76
76
|
src/models/UpdateParentOrganizationPayload.ts
|
package/.tool-versions
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @equisoft/account-service-sdk-typescript@6.8.
|
|
1
|
+
## @equisoft/account-service-sdk-typescript@6.8.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@6.8.
|
|
39
|
+
npm install @equisoft/account-service-sdk-typescript@6.8.1-SNAPSHOT --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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: 6.8.
|
|
8
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
8
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
8
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
8
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
8
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
8
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApplyPermissionsPayload, AuthenticationUserAccount, CreateUserAccountPayload, Id, LoginPayload, NewPasswordPayload, Organization, PasswordPolicy, PermissionList, SendResetPasswordLinkPayload, SessionPolicy, SetPasswordByConfirmationHashPayload, SetUserAccountPasswordPayload,
|
|
13
|
+
import type { ApplyPermissionsPayload, AuthenticationUserAccount, CreateUserAccountPayload, Id, LoginPayload, NewPasswordPayload, Organization, PasswordPolicy, PermissionList, SendResetPasswordLinkPayload, SendSignupInvitationPayload, SessionPolicy, SetPasswordByConfirmationHashPayload, SetUserAccountPasswordPayload, UpdateUserAccountPayload, UpdateUserAccountSsoPayload, User, UserAccountRoleAttributions, UserAccountSearchResult, UserPermissions, UserUuid } from '../models/index';
|
|
14
14
|
export interface AcceptAgreementRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
}
|
|
@@ -34,9 +34,6 @@ export interface ApplyPermissionsOnResource1Request {
|
|
|
34
34
|
uuid: string;
|
|
35
35
|
applyPermissionsPayload: ApplyPermissionsPayload;
|
|
36
36
|
}
|
|
37
|
-
export interface CreateSignupInvitationRequest {
|
|
38
|
-
uuid: string;
|
|
39
|
-
}
|
|
40
37
|
export interface CreateUserRequest {
|
|
41
38
|
createUserAccountPayload: CreateUserAccountPayload;
|
|
42
39
|
}
|
|
@@ -107,6 +104,10 @@ export interface SendPasswordResetLinkRequest {
|
|
|
107
104
|
uuid: string;
|
|
108
105
|
sendResetPasswordLinkPayload: SendResetPasswordLinkPayload;
|
|
109
106
|
}
|
|
107
|
+
export interface SendSignupInvitationRequest {
|
|
108
|
+
uuid: string;
|
|
109
|
+
sendSignupInvitationPayload: SendSignupInvitationPayload;
|
|
110
|
+
}
|
|
110
111
|
export interface SetPasswordRequest {
|
|
111
112
|
uuid: string;
|
|
112
113
|
setUserAccountPasswordPayload: SetUserAccountPasswordPayload;
|
|
@@ -182,14 +183,6 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
182
183
|
* Get permissions of a user on a user or an organization.
|
|
183
184
|
*/
|
|
184
185
|
applyPermissionsOnResource1(requestParameters: ApplyPermissionsOnResource1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PermissionList>;
|
|
185
|
-
/**
|
|
186
|
-
* Create signup invitation for user.
|
|
187
|
-
*/
|
|
188
|
-
createSignupInvitationRaw(requestParameters: CreateSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignupHash>>;
|
|
189
|
-
/**
|
|
190
|
-
* Create signup invitation for user.
|
|
191
|
-
*/
|
|
192
|
-
createSignupInvitation(requestParameters: CreateSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignupHash>;
|
|
193
186
|
/**
|
|
194
187
|
* Create a user account
|
|
195
188
|
*/
|
|
@@ -358,6 +351,14 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
358
351
|
* Sends an email or sms with a time limited unique link to reset user\'s password
|
|
359
352
|
*/
|
|
360
353
|
sendPasswordResetLink(requestParameters: SendPasswordResetLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
354
|
+
/**
|
|
355
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
356
|
+
*/
|
|
357
|
+
sendSignupInvitationRaw(requestParameters: SendSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
358
|
+
/**
|
|
359
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
360
|
+
*/
|
|
361
|
+
sendSignupInvitation(requestParameters: SendSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
361
362
|
/**
|
|
362
363
|
* set user account password.
|
|
363
364
|
*/
|
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: 6.8.
|
|
8
|
+
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -261,42 +261,6 @@ class UserApi extends runtime.BaseAPI {
|
|
|
261
261
|
return yield response.value();
|
|
262
262
|
});
|
|
263
263
|
}
|
|
264
|
-
/**
|
|
265
|
-
* Create signup invitation for user.
|
|
266
|
-
*/
|
|
267
|
-
createSignupInvitationRaw(requestParameters, initOverrides) {
|
|
268
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
269
|
-
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
270
|
-
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling createSignupInvitation.');
|
|
271
|
-
}
|
|
272
|
-
const queryParameters = {};
|
|
273
|
-
const headerParameters = {};
|
|
274
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
275
|
-
// oauth required
|
|
276
|
-
const token = this.configuration.accessToken;
|
|
277
|
-
const tokenString = yield token("OAuth2", ["account:user"]);
|
|
278
|
-
if (tokenString) {
|
|
279
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
const response = yield this.request({
|
|
283
|
-
path: `/users/{uuid}/invitation`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
284
|
-
method: 'POST',
|
|
285
|
-
headers: headerParameters,
|
|
286
|
-
query: queryParameters,
|
|
287
|
-
}, initOverrides);
|
|
288
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SignupHashFromJSON)(jsonValue));
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* Create signup invitation for user.
|
|
293
|
-
*/
|
|
294
|
-
createSignupInvitation(requestParameters, initOverrides) {
|
|
295
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
296
|
-
const response = yield this.createSignupInvitationRaw(requestParameters, initOverrides);
|
|
297
|
-
return yield response.value();
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
264
|
/**
|
|
301
265
|
* Create a user account
|
|
302
266
|
*/
|
|
@@ -1069,6 +1033,46 @@ class UserApi extends runtime.BaseAPI {
|
|
|
1069
1033
|
yield this.sendPasswordResetLinkRaw(requestParameters, initOverrides);
|
|
1070
1034
|
});
|
|
1071
1035
|
}
|
|
1036
|
+
/**
|
|
1037
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
1038
|
+
*/
|
|
1039
|
+
sendSignupInvitationRaw(requestParameters, initOverrides) {
|
|
1040
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1041
|
+
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
1042
|
+
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling sendSignupInvitation.');
|
|
1043
|
+
}
|
|
1044
|
+
if (requestParameters.sendSignupInvitationPayload === null || requestParameters.sendSignupInvitationPayload === undefined) {
|
|
1045
|
+
throw new runtime.RequiredError('sendSignupInvitationPayload', 'Required parameter requestParameters.sendSignupInvitationPayload was null or undefined when calling sendSignupInvitation.');
|
|
1046
|
+
}
|
|
1047
|
+
const queryParameters = {};
|
|
1048
|
+
const headerParameters = {};
|
|
1049
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1050
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1051
|
+
// oauth required
|
|
1052
|
+
const token = this.configuration.accessToken;
|
|
1053
|
+
const tokenString = yield token("OAuth2", ["account:user"]);
|
|
1054
|
+
if (tokenString) {
|
|
1055
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
const response = yield this.request({
|
|
1059
|
+
path: `/users/{uuid}/invitation`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
1060
|
+
method: 'POST',
|
|
1061
|
+
headers: headerParameters,
|
|
1062
|
+
query: queryParameters,
|
|
1063
|
+
body: (0, index_1.SendSignupInvitationPayloadToJSON)(requestParameters.sendSignupInvitationPayload),
|
|
1064
|
+
}, initOverrides);
|
|
1065
|
+
return new runtime.VoidApiResponse(response);
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
/**
|
|
1069
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
1070
|
+
*/
|
|
1071
|
+
sendSignupInvitation(requestParameters, initOverrides) {
|
|
1072
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1073
|
+
yield this.sendSignupInvitationRaw(requestParameters, initOverrides);
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1072
1076
|
/**
|
|
1073
1077
|
* set user account password.
|
|
1074
1078
|
*/
|
|
@@ -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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApplyPermissionsPayload, AuthenticationUserAccount, CreateUserAccountPayload, Id, LoginPayload, NewPasswordPayload, Organization, PasswordPolicy, PermissionList, SendResetPasswordLinkPayload, SessionPolicy, SetPasswordByConfirmationHashPayload, SetUserAccountPasswordPayload,
|
|
13
|
+
import type { ApplyPermissionsPayload, AuthenticationUserAccount, CreateUserAccountPayload, Id, LoginPayload, NewPasswordPayload, Organization, PasswordPolicy, PermissionList, SendResetPasswordLinkPayload, SendSignupInvitationPayload, SessionPolicy, SetPasswordByConfirmationHashPayload, SetUserAccountPasswordPayload, UpdateUserAccountPayload, UpdateUserAccountSsoPayload, User, UserAccountRoleAttributions, UserAccountSearchResult, UserPermissions, UserUuid } from '../models/index';
|
|
14
14
|
export interface AcceptAgreementRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
}
|
|
@@ -34,9 +34,6 @@ export interface ApplyPermissionsOnResource1Request {
|
|
|
34
34
|
uuid: string;
|
|
35
35
|
applyPermissionsPayload: ApplyPermissionsPayload;
|
|
36
36
|
}
|
|
37
|
-
export interface CreateSignupInvitationRequest {
|
|
38
|
-
uuid: string;
|
|
39
|
-
}
|
|
40
37
|
export interface CreateUserRequest {
|
|
41
38
|
createUserAccountPayload: CreateUserAccountPayload;
|
|
42
39
|
}
|
|
@@ -107,6 +104,10 @@ export interface SendPasswordResetLinkRequest {
|
|
|
107
104
|
uuid: string;
|
|
108
105
|
sendResetPasswordLinkPayload: SendResetPasswordLinkPayload;
|
|
109
106
|
}
|
|
107
|
+
export interface SendSignupInvitationRequest {
|
|
108
|
+
uuid: string;
|
|
109
|
+
sendSignupInvitationPayload: SendSignupInvitationPayload;
|
|
110
|
+
}
|
|
110
111
|
export interface SetPasswordRequest {
|
|
111
112
|
uuid: string;
|
|
112
113
|
setUserAccountPasswordPayload: SetUserAccountPasswordPayload;
|
|
@@ -182,14 +183,6 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
182
183
|
* Get permissions of a user on a user or an organization.
|
|
183
184
|
*/
|
|
184
185
|
applyPermissionsOnResource1(requestParameters: ApplyPermissionsOnResource1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PermissionList>;
|
|
185
|
-
/**
|
|
186
|
-
* Create signup invitation for user.
|
|
187
|
-
*/
|
|
188
|
-
createSignupInvitationRaw(requestParameters: CreateSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignupHash>>;
|
|
189
|
-
/**
|
|
190
|
-
* Create signup invitation for user.
|
|
191
|
-
*/
|
|
192
|
-
createSignupInvitation(requestParameters: CreateSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignupHash>;
|
|
193
186
|
/**
|
|
194
187
|
* Create a user account
|
|
195
188
|
*/
|
|
@@ -358,6 +351,14 @@ export declare class UserApi extends runtime.BaseAPI {
|
|
|
358
351
|
* Sends an email or sms with a time limited unique link to reset user\'s password
|
|
359
352
|
*/
|
|
360
353
|
sendPasswordResetLink(requestParameters: SendPasswordResetLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
354
|
+
/**
|
|
355
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
356
|
+
*/
|
|
357
|
+
sendSignupInvitationRaw(requestParameters: SendSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
358
|
+
/**
|
|
359
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
360
|
+
*/
|
|
361
|
+
sendSignupInvitation(requestParameters: SendSignupInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
361
362
|
/**
|
|
362
363
|
* set user account password.
|
|
363
364
|
*/
|
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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.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 { ApplyPermissionsPayloadToJSON, AuthenticationUserAccountFromJSON, CreateUserAccountPayloadToJSON, IdFromJSON, LoginPayloadToJSON, NewPasswordPayloadToJSON, OrganizationFromJSON, PasswordPolicyToJSON, PermissionListFromJSON, SendResetPasswordLinkPayloadToJSON, SessionPolicyToJSON, SetPasswordByConfirmationHashPayloadToJSON, SetUserAccountPasswordPayloadToJSON,
|
|
24
|
+
import { ApplyPermissionsPayloadToJSON, AuthenticationUserAccountFromJSON, CreateUserAccountPayloadToJSON, IdFromJSON, LoginPayloadToJSON, NewPasswordPayloadToJSON, OrganizationFromJSON, PasswordPolicyToJSON, PermissionListFromJSON, SendResetPasswordLinkPayloadToJSON, SendSignupInvitationPayloadToJSON, SessionPolicyToJSON, SetPasswordByConfirmationHashPayloadToJSON, SetUserAccountPasswordPayloadToJSON, UpdateUserAccountPayloadToJSON, UpdateUserAccountSsoPayloadToJSON, UserFromJSON, UserAccountRoleAttributionsFromJSON, UserAccountSearchResultFromJSON, UserPermissionsFromJSON, UserUuidFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -258,42 +258,6 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
258
258
|
return yield response.value();
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
/**
|
|
262
|
-
* Create signup invitation for user.
|
|
263
|
-
*/
|
|
264
|
-
createSignupInvitationRaw(requestParameters, initOverrides) {
|
|
265
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
266
|
-
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
267
|
-
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling createSignupInvitation.');
|
|
268
|
-
}
|
|
269
|
-
const queryParameters = {};
|
|
270
|
-
const headerParameters = {};
|
|
271
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
272
|
-
// oauth required
|
|
273
|
-
const token = this.configuration.accessToken;
|
|
274
|
-
const tokenString = yield token("OAuth2", ["account:user"]);
|
|
275
|
-
if (tokenString) {
|
|
276
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
const response = yield this.request({
|
|
280
|
-
path: `/users/{uuid}/invitation`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
281
|
-
method: 'POST',
|
|
282
|
-
headers: headerParameters,
|
|
283
|
-
query: queryParameters,
|
|
284
|
-
}, initOverrides);
|
|
285
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => SignupHashFromJSON(jsonValue));
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
/**
|
|
289
|
-
* Create signup invitation for user.
|
|
290
|
-
*/
|
|
291
|
-
createSignupInvitation(requestParameters, initOverrides) {
|
|
292
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
293
|
-
const response = yield this.createSignupInvitationRaw(requestParameters, initOverrides);
|
|
294
|
-
return yield response.value();
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
261
|
/**
|
|
298
262
|
* Create a user account
|
|
299
263
|
*/
|
|
@@ -1066,6 +1030,46 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
1066
1030
|
yield this.sendPasswordResetLinkRaw(requestParameters, initOverrides);
|
|
1067
1031
|
});
|
|
1068
1032
|
}
|
|
1033
|
+
/**
|
|
1034
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
1035
|
+
*/
|
|
1036
|
+
sendSignupInvitationRaw(requestParameters, initOverrides) {
|
|
1037
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1038
|
+
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
1039
|
+
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling sendSignupInvitation.');
|
|
1040
|
+
}
|
|
1041
|
+
if (requestParameters.sendSignupInvitationPayload === null || requestParameters.sendSignupInvitationPayload === undefined) {
|
|
1042
|
+
throw new runtime.RequiredError('sendSignupInvitationPayload', 'Required parameter requestParameters.sendSignupInvitationPayload was null or undefined when calling sendSignupInvitation.');
|
|
1043
|
+
}
|
|
1044
|
+
const queryParameters = {};
|
|
1045
|
+
const headerParameters = {};
|
|
1046
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1047
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1048
|
+
// oauth required
|
|
1049
|
+
const token = this.configuration.accessToken;
|
|
1050
|
+
const tokenString = yield token("OAuth2", ["account:user"]);
|
|
1051
|
+
if (tokenString) {
|
|
1052
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
const response = yield this.request({
|
|
1056
|
+
path: `/users/{uuid}/invitation`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
1057
|
+
method: 'POST',
|
|
1058
|
+
headers: headerParameters,
|
|
1059
|
+
query: queryParameters,
|
|
1060
|
+
body: SendSignupInvitationPayloadToJSON(requestParameters.sendSignupInvitationPayload),
|
|
1061
|
+
}, initOverrides);
|
|
1062
|
+
return new runtime.VoidApiResponse(response);
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Send a signup invitation for user. If the user already has a pending invitation, it will be replaced.
|
|
1067
|
+
*/
|
|
1068
|
+
sendSignupInvitation(requestParameters, initOverrides) {
|
|
1069
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1070
|
+
yield this.sendSignupInvitationRaw(requestParameters, initOverrides);
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1069
1073
|
/**
|
|
1070
1074
|
* set user account password.
|
|
1071
1075
|
*/
|
|
@@ -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: 6.8.
|
|
5
|
+
* The version of the OpenAPI document: 6.8.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: 6.8.
|
|
7
|
+
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|