@equisoft/account-service-sdk-typescript 4.5.1-snapshot.20230207210529 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +12 -1
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -3
- package/.tool-versions +2 -2
- package/README.md +2 -2
- package/dist/apis/OAuthApi.d.ts +2 -2
- package/dist/apis/OAuthApi.js +5 -5
- package/dist/apis/OrganizationApi.d.ts +14 -2
- package/dist/apis/OrganizationApi.js +59 -20
- package/dist/apis/PermissionApi.d.ts +2 -2
- package/dist/apis/PermissionApi.js +4 -4
- package/dist/apis/RoleApi.d.ts +2 -2
- package/dist/apis/RoleApi.js +3 -3
- package/dist/apis/ServiceAccountApi.d.ts +2 -2
- package/dist/apis/ServiceAccountApi.js +11 -11
- package/dist/apis/SessionApi.d.ts +3 -3
- package/dist/apis/SessionApi.js +13 -10
- package/dist/apis/UserApi.d.ts +140 -5
- package/dist/apis/UserApi.js +462 -22
- package/dist/apis/index.js +6 -2
- package/dist/esm/apis/OAuthApi.d.ts +41 -0
- package/dist/esm/apis/OAuthApi.js +106 -0
- package/dist/esm/apis/OrganizationApi.d.ts +253 -0
- package/dist/esm/apis/OrganizationApi.js +802 -0
- package/dist/esm/apis/PermissionApi.d.ts +30 -0
- package/dist/esm/apis/PermissionApi.js +70 -0
- package/dist/esm/apis/RoleApi.d.ts +29 -0
- package/dist/esm/apis/RoleApi.js +65 -0
- package/dist/esm/apis/ServiceAccountApi.d.ts +112 -0
- package/dist/esm/apis/ServiceAccountApi.js +339 -0
- package/dist/esm/apis/SessionApi.d.ts +154 -0
- package/dist/esm/apis/SessionApi.js +481 -0
- package/dist/esm/apis/UserApi.d.ts +409 -0
- package/dist/esm/apis/UserApi.js +1304 -0
- package/dist/esm/apis/index.d.ts +7 -0
- package/dist/esm/apis/index.js +9 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApplyPermissionsPayload.d.ts +38 -0
- package/dist/esm/models/ApplyPermissionsPayload.js +47 -0
- package/dist/esm/models/AuthenticationUserAccount.d.ts +61 -0
- package/dist/esm/models/AuthenticationUserAccount.js +58 -0
- package/dist/esm/models/CreateOrUpdateOAuthClientPayload.d.ts +100 -0
- package/dist/esm/models/CreateOrUpdateOAuthClientPayload.js +67 -0
- package/dist/esm/models/CreateOrUpdateOrganizationPayload.d.ts +59 -0
- package/dist/esm/models/CreateOrUpdateOrganizationPayload.js +55 -0
- package/dist/esm/models/CreateOrUpdatePermissionPayload.d.ts +32 -0
- package/dist/esm/models/CreateOrUpdatePermissionPayload.js +44 -0
- package/dist/esm/models/CreateOrganizationPayload.d.ts +59 -0
- package/dist/esm/models/CreateOrganizationPayload.js +54 -0
- package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.d.ts +31 -0
- package/dist/esm/models/CreateOrganizationUserServiceOptionPayload.js +43 -0
- package/dist/esm/models/CreateOrganizationUserServicePayload.d.ts +33 -0
- package/dist/esm/models/CreateOrganizationUserServicePayload.js +43 -0
- package/dist/esm/models/CreateRole.d.ts +38 -0
- package/dist/esm/models/CreateRole.js +47 -0
- package/dist/esm/models/CreateUserAccountPayload.d.ts +106 -0
- package/dist/esm/models/CreateUserAccountPayload.js +76 -0
- package/dist/esm/models/CreateUserAccountServiceAssociation.d.ts +45 -0
- package/dist/esm/models/CreateUserAccountServiceAssociation.js +49 -0
- package/dist/esm/models/DatabaseState.d.ts +31 -0
- package/dist/esm/models/DatabaseState.js +38 -0
- package/dist/esm/models/EnableEquisoftConnectPayload.d.ts +31 -0
- package/dist/esm/models/EnableEquisoftConnectPayload.js +43 -0
- package/dist/esm/models/ErrorMessage.d.ts +40 -0
- package/dist/esm/models/ErrorMessage.js +47 -0
- package/dist/esm/models/ErrorPayload.d.ts +38 -0
- package/dist/esm/models/ErrorPayload.js +47 -0
- package/dist/esm/models/Id.d.ts +37 -0
- package/dist/esm/models/Id.js +46 -0
- package/dist/esm/models/ImpersonatePayload.d.ts +31 -0
- package/dist/esm/models/ImpersonatePayload.js +43 -0
- package/dist/esm/models/LegacyRoleSchema.d.ts +38 -0
- package/dist/esm/models/LegacyRoleSchema.js +47 -0
- package/dist/esm/models/ListOrganizationElement.d.ts +58 -0
- package/dist/esm/models/ListOrganizationElement.js +58 -0
- package/dist/esm/models/ListUserOrganizations.d.ts +38 -0
- package/dist/esm/models/ListUserOrganizations.js +47 -0
- package/dist/esm/models/LocalizedString.d.ts +39 -0
- package/dist/esm/models/LocalizedString.js +46 -0
- package/dist/esm/models/LoginPayload.d.ts +37 -0
- package/dist/esm/models/LoginPayload.js +46 -0
- package/dist/esm/models/NewPasswordPayload.d.ts +31 -0
- package/dist/esm/models/NewPasswordPayload.js +43 -0
- package/dist/esm/models/OAuthClient.d.ts +106 -0
- package/dist/esm/models/OAuthClient.js +78 -0
- package/dist/esm/models/OAuthClientCreated.d.ts +31 -0
- package/dist/esm/models/OAuthClientCreated.js +43 -0
- package/dist/esm/models/OAuthClientPublicKey.d.ts +37 -0
- package/dist/esm/models/OAuthClientPublicKey.js +46 -0
- package/dist/esm/models/Organization.d.ts +91 -0
- package/dist/esm/models/Organization.js +72 -0
- package/dist/esm/models/OrganizationCreated.d.ts +31 -0
- package/dist/esm/models/OrganizationCreated.js +43 -0
- package/dist/esm/models/OrganizationPathElement.d.ts +38 -0
- package/dist/esm/models/OrganizationPathElement.js +47 -0
- package/dist/esm/models/OrganizationRoleAttribution.d.ts +39 -0
- package/dist/esm/models/OrganizationRoleAttribution.js +48 -0
- package/dist/esm/models/OrganizationRoleAttributionPermission.d.ts +38 -0
- package/dist/esm/models/OrganizationRoleAttributionPermission.js +47 -0
- package/dist/esm/models/OrganizationRoleAttributionRole.d.ts +45 -0
- package/dist/esm/models/OrganizationRoleAttributionRole.js +51 -0
- package/dist/esm/models/OrganizationRoleAttributionUser.d.ts +50 -0
- package/dist/esm/models/OrganizationRoleAttributionUser.js +53 -0
- package/dist/esm/models/OrganizationRoleAttributions.d.ts +32 -0
- package/dist/esm/models/OrganizationRoleAttributions.js +44 -0
- package/dist/esm/models/OrganizationServiceProfile.d.ts +37 -0
- package/dist/esm/models/OrganizationServiceProfile.js +46 -0
- package/dist/esm/models/OrganizationServicesElement.d.ts +37 -0
- package/dist/esm/models/OrganizationServicesElement.js +46 -0
- package/dist/esm/models/OrganizationSsoProvider.d.ts +38 -0
- package/dist/esm/models/OrganizationSsoProvider.js +47 -0
- package/dist/esm/models/OrganizationUserServiceAssociation.d.ts +45 -0
- package/dist/esm/models/OrganizationUserServiceAssociation.js +49 -0
- package/dist/esm/models/PasswordPolicy.d.ts +73 -0
- package/dist/esm/models/PasswordPolicy.js +64 -0
- package/dist/esm/models/PermissionCode.d.ts +31 -0
- package/dist/esm/models/PermissionCode.js +43 -0
- package/dist/esm/models/PermissionCreated.d.ts +31 -0
- package/dist/esm/models/PermissionCreated.js +43 -0
- package/dist/esm/models/PermissionList.d.ts +32 -0
- package/dist/esm/models/PermissionList.js +44 -0
- package/dist/esm/models/PermissionResourceType.d.ts +24 -0
- package/dist/esm/models/PermissionResourceType.js +31 -0
- package/dist/esm/models/Role.d.ts +44 -0
- package/dist/esm/models/Role.js +50 -0
- package/dist/esm/models/RoleCreated.d.ts +44 -0
- package/dist/esm/models/RoleCreated.js +50 -0
- package/dist/esm/models/RolesOnOrganization.d.ts +59 -0
- package/dist/esm/models/RolesOnOrganization.js +59 -0
- package/dist/esm/models/SendResetPasswordLinkPayload.d.ts +37 -0
- package/dist/esm/models/SendResetPasswordLinkPayload.js +45 -0
- package/dist/esm/models/ServiceAccess.d.ts +63 -0
- package/dist/esm/models/ServiceAccess.js +56 -0
- package/dist/esm/models/ServiceAccountCreationSchema.d.ts +43 -0
- package/dist/esm/models/ServiceAccountCreationSchema.js +49 -0
- package/dist/esm/models/ServiceAccountSchema.d.ts +68 -0
- package/dist/esm/models/ServiceAccountSchema.js +62 -0
- package/dist/esm/models/ServiceAccountStatus.d.ts +25 -0
- package/dist/esm/models/ServiceAccountStatus.js +32 -0
- package/dist/esm/models/ServiceAccountUpdateSchema.d.ts +37 -0
- package/dist/esm/models/ServiceAccountUpdateSchema.js +45 -0
- package/dist/esm/models/ServiceAccountUuidSchema.d.ts +31 -0
- package/dist/esm/models/ServiceAccountUuidSchema.js +43 -0
- package/dist/esm/models/ServiceName.d.ts +27 -0
- package/dist/esm/models/ServiceName.js +34 -0
- package/dist/esm/models/Session.d.ts +94 -0
- package/dist/esm/models/Session.js +74 -0
- package/dist/esm/models/SessionPayload.d.ts +62 -0
- package/dist/esm/models/SessionPayload.js +56 -0
- package/dist/esm/models/SessionPolicy.d.ts +37 -0
- package/dist/esm/models/SessionPolicy.js +45 -0
- package/dist/esm/models/SessionState.d.ts +33 -0
- package/dist/esm/models/SessionState.js +40 -0
- package/dist/esm/models/SetPasswordByConfirmationHashPayload.d.ts +31 -0
- package/dist/esm/models/SetPasswordByConfirmationHashPayload.js +43 -0
- package/dist/esm/models/SetUserAccountPasswordPayload.d.ts +43 -0
- package/dist/esm/models/SetUserAccountPasswordPayload.js +49 -0
- package/dist/esm/models/SignupHash.d.ts +31 -0
- package/dist/esm/models/SignupHash.js +43 -0
- package/dist/esm/models/SsoProvider.d.ts +37 -0
- package/dist/esm/models/SsoProvider.js +46 -0
- package/dist/esm/models/SsoToken.d.ts +37 -0
- package/dist/esm/models/SsoToken.js +46 -0
- package/dist/esm/models/UpdateParentOrganizationPayload.d.ts +31 -0
- package/dist/esm/models/UpdateParentOrganizationPayload.js +43 -0
- package/dist/esm/models/UpdateUserAccountPayload.d.ts +55 -0
- package/dist/esm/models/UpdateUserAccountPayload.js +53 -0
- package/dist/esm/models/UpdateUserAccountSsoPayload.d.ts +37 -0
- package/dist/esm/models/UpdateUserAccountSsoPayload.js +46 -0
- package/dist/esm/models/UpsertServicePayload.d.ts +31 -0
- package/dist/esm/models/UpsertServicePayload.js +43 -0
- package/dist/esm/models/User.d.ts +169 -0
- package/dist/esm/models/User.js +108 -0
- package/dist/esm/models/UserAccountOrganizationRoles.d.ts +45 -0
- package/dist/esm/models/UserAccountOrganizationRoles.js +51 -0
- package/dist/esm/models/UserAccountPermission.d.ts +38 -0
- package/dist/esm/models/UserAccountPermission.js +47 -0
- package/dist/esm/models/UserAccountRole.d.ts +38 -0
- package/dist/esm/models/UserAccountRole.js +47 -0
- package/dist/esm/models/UserAccountRoleAttributions.d.ts +32 -0
- package/dist/esm/models/UserAccountRoleAttributions.js +44 -0
- package/dist/esm/models/UserAccountSearchResult.d.ts +169 -0
- package/dist/esm/models/UserAccountSearchResult.js +108 -0
- package/dist/esm/models/UserAgreement.d.ts +32 -0
- package/dist/esm/models/UserAgreement.js +44 -0
- package/dist/esm/models/UserAgreementState.d.ts +27 -0
- package/dist/esm/models/UserAgreementState.js +34 -0
- package/dist/esm/models/UserPermissions.d.ts +39 -0
- package/dist/esm/models/UserPermissions.js +48 -0
- package/dist/esm/models/UserServiceAssociation.d.ts +51 -0
- package/dist/esm/models/UserServiceAssociation.js +51 -0
- package/dist/esm/models/UserSsoProvider.d.ts +31 -0
- package/dist/esm/models/UserSsoProvider.js +43 -0
- package/dist/esm/models/UserState.d.ts +29 -0
- package/dist/esm/models/UserState.js +36 -0
- package/dist/esm/models/UserUuid.d.ts +31 -0
- package/dist/esm/models/UserUuid.js +43 -0
- package/dist/esm/models/index.d.ts +80 -0
- package/dist/esm/models/index.js +82 -0
- package/dist/esm/runtime.d.ts +182 -0
- package/dist/esm/runtime.js +330 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -4
- package/dist/models/ApplyPermissionsPayload.d.ts +1 -1
- package/dist/models/ApplyPermissionsPayload.js +3 -3
- package/dist/models/AuthenticationUserAccount.d.ts +2 -2
- package/dist/models/AuthenticationUserAccount.js +3 -3
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +4 -4
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +13 -16
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +14 -5
- package/dist/models/CreateOrUpdateOrganizationPayload.js +10 -8
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +1 -1
- package/dist/models/CreateOrUpdatePermissionPayload.js +3 -3
- package/dist/models/CreateOrganizationPayload.d.ts +14 -5
- package/dist/models/CreateOrganizationPayload.js +9 -8
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +2 -2
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +3 -3
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.js +2 -2
- package/dist/models/CreateRole.d.ts +1 -1
- package/dist/models/CreateRole.js +3 -3
- package/dist/models/CreateUserAccountPayload.d.ts +106 -0
- package/dist/models/CreateUserAccountPayload.js +83 -0
- package/dist/models/CreateUserAccountServiceAssociation.d.ts +45 -0
- package/dist/models/CreateUserAccountServiceAssociation.js +56 -0
- package/dist/models/DatabaseState.d.ts +3 -2
- package/dist/models/DatabaseState.js +2 -1
- package/dist/models/EnableEquisoftConnectPayload.d.ts +31 -0
- package/dist/models/EnableEquisoftConnectPayload.js +50 -0
- package/dist/models/ErrorMessage.d.ts +3 -2
- package/dist/models/ErrorMessage.js +2 -1
- package/dist/models/ErrorPayload.d.ts +1 -1
- package/dist/models/ErrorPayload.js +4 -4
- 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 +3 -3
- package/dist/models/ListOrganizationElement.d.ts +1 -1
- package/dist/models/ListOrganizationElement.js +4 -4
- package/dist/models/ListUserOrganizations.d.ts +1 -1
- package/dist/models/ListUserOrganizations.js +2 -2
- package/dist/models/LocalizedString.d.ts +3 -3
- 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 +31 -0
- package/dist/models/NewPasswordPayload.js +50 -0
- package/dist/models/OAuthClient.d.ts +1 -1
- package/dist/models/OAuthClient.js +5 -5
- 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 +11 -2
- package/dist/models/Organization.js +11 -7
- 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 +3 -3
- package/dist/models/OrganizationRoleAttribution.d.ts +4 -4
- package/dist/models/OrganizationRoleAttribution.js +4 -4
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributionPermission.js +3 -3
- package/dist/models/OrganizationRoleAttributionRole.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributionRole.js +3 -3
- package/dist/models/OrganizationRoleAttributionUser.d.ts +50 -0
- package/dist/models/OrganizationRoleAttributionUser.js +60 -0
- package/dist/models/OrganizationRoleAttributions.d.ts +1 -1
- package/dist/models/OrganizationRoleAttributions.js +1 -1
- package/dist/models/OrganizationServiceProfile.d.ts +37 -0
- package/dist/models/OrganizationServiceProfile.js +53 -0
- package/dist/models/OrganizationServicesElement.d.ts +1 -1
- package/dist/models/OrganizationServicesElement.js +2 -2
- package/dist/models/OrganizationSsoProvider.d.ts +1 -1
- package/dist/models/OrganizationSsoProvider.js +3 -3
- package/dist/models/OrganizationUserServiceAssociation.d.ts +1 -1
- package/dist/models/OrganizationUserServiceAssociation.js +2 -2
- package/dist/models/PasswordPolicy.d.ts +73 -0
- package/dist/models/PasswordPolicy.js +71 -0
- 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 +2 -2
- package/dist/models/PermissionResourceType.js +1 -1
- package/dist/models/Role.d.ts +1 -1
- package/dist/models/Role.js +3 -3
- package/dist/models/RoleCreated.d.ts +1 -1
- package/dist/models/RoleCreated.js +3 -3
- package/dist/models/RolesOnOrganization.d.ts +1 -1
- package/dist/models/RolesOnOrganization.js +3 -3
- package/dist/models/SendResetPasswordLinkPayload.d.ts +3 -3
- package/dist/models/SendResetPasswordLinkPayload.js +4 -5
- package/dist/models/ServiceAccess.d.ts +1 -1
- package/dist/models/ServiceAccess.js +9 -9
- 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 +4 -4
- package/dist/models/ServiceAccountStatus.d.ts +2 -2
- package/dist/models/ServiceAccountStatus.js +1 -1
- package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUpdateSchema.js +3 -3
- package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUuidSchema.js +1 -1
- package/dist/models/ServiceName.d.ts +2 -2
- package/dist/models/ServiceName.js +1 -1
- package/dist/models/Session.d.ts +1 -1
- package/dist/models/Session.js +10 -10
- package/dist/models/SessionPayload.d.ts +3 -3
- package/dist/models/SessionPayload.js +6 -6
- package/dist/models/SessionPolicy.d.ts +37 -0
- package/dist/models/SessionPolicy.js +52 -0
- package/dist/models/SessionState.d.ts +3 -2
- package/dist/models/SessionState.js +2 -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 +2 -2
- package/dist/models/SignupHash.d.ts +31 -0
- package/dist/models/SignupHash.js +50 -0
- 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 +4 -4
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.js +2 -2
- package/dist/models/UpsertServicePayload.d.ts +1 -1
- package/dist/models/UpsertServicePayload.js +2 -2
- package/dist/models/User.d.ts +4 -3
- package/dist/models/User.js +14 -15
- package/dist/models/UserAccountOrganizationRoles.d.ts +1 -1
- package/dist/models/UserAccountOrganizationRoles.js +3 -3
- package/dist/models/UserAccountPermission.d.ts +1 -1
- package/dist/models/UserAccountPermission.js +3 -3
- package/dist/models/UserAccountRole.d.ts +1 -1
- package/dist/models/UserAccountRole.js +3 -3
- package/dist/models/UserAccountRoleAttributions.d.ts +1 -1
- package/dist/models/UserAccountRoleAttributions.js +1 -1
- package/dist/models/UserAccountSearchResult.d.ts +4 -3
- package/dist/models/UserAccountSearchResult.js +14 -15
- package/dist/models/UserAgreement.d.ts +1 -1
- package/dist/models/UserAgreement.js +3 -3
- package/dist/models/UserAgreementState.d.ts +3 -2
- package/dist/models/UserAgreementState.js +2 -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 +3 -3
- package/dist/models/UserSsoProvider.d.ts +1 -1
- package/dist/models/UserSsoProvider.js +1 -1
- package/dist/models/UserState.d.ts +3 -2
- package/dist/models/UserState.js +2 -1
- package/dist/models/UserUuid.d.ts +31 -0
- package/dist/models/UserUuid.js +50 -0
- package/dist/models/index.d.ts +10 -1
- package/dist/models/index.js +16 -3
- package/dist/runtime.d.ts +24 -12
- package/dist/runtime.js +40 -10
- package/package.json +11 -13
- package/src/apis/OAuthApi.ts +3 -5
- package/src/apis/OrganizationApi.ts +51 -21
- package/src/apis/PermissionApi.ts +3 -4
- package/src/apis/RoleApi.ts +3 -4
- package/src/apis/ServiceAccountApi.ts +3 -11
- package/src/apis/SessionApi.ts +12 -20
- package/src/apis/UserApi.ts +560 -30
- package/src/index.ts +2 -2
- package/src/models/ApplyPermissionsPayload.ts +1 -1
- package/src/models/AuthenticationUserAccount.ts +4 -3
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +7 -10
- package/src/models/CreateOrUpdateOrganizationPayload.ts +24 -9
- package/src/models/CreateOrUpdatePermissionPayload.ts +1 -1
- package/src/models/CreateOrganizationPayload.ts +23 -9
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +3 -4
- package/src/models/CreateOrganizationUserServicePayload.ts +1 -1
- package/src/models/CreateRole.ts +1 -1
- package/src/models/CreateUserAccountPayload.ts +186 -0
- package/src/models/CreateUserAccountServiceAssociation.ts +83 -0
- package/src/models/DatabaseState.ts +2 -1
- package/src/models/{EnableEquisoftConnectPayloadSchema.ts → EnableEquisoftConnectPayload.ts} +11 -11
- package/src/models/ErrorMessage.ts +2 -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 +3 -3
- package/src/models/LoginPayload.ts +1 -1
- package/src/models/NewPasswordPayload.ts +66 -0
- 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 +21 -4
- package/src/models/OrganizationCreated.ts +1 -1
- package/src/models/OrganizationPathElement.ts +1 -1
- package/src/models/OrganizationRoleAttribution.ts +10 -10
- package/src/models/OrganizationRoleAttributionPermission.ts +1 -1
- package/src/models/OrganizationRoleAttributionRole.ts +1 -1
- package/src/models/OrganizationRoleAttributionUser.ts +100 -0
- package/src/models/OrganizationRoleAttributions.ts +1 -1
- package/src/models/OrganizationServiceProfile.ts +75 -0
- 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 +129 -0
- 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 +5 -7
- 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 +3 -3
- package/src/models/SessionPolicy.ts +73 -0
- package/src/models/SessionState.ts +2 -1
- package/src/models/SetPasswordByConfirmationHashPayload.ts +1 -1
- package/src/models/SetUserAccountPasswordPayload.ts +1 -1
- package/src/models/SignupHash.ts +66 -0
- 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 +6 -6
- 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 +6 -6
- package/src/models/UserAgreement.ts +1 -1
- package/src/models/UserAgreementState.ts +2 -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 +2 -1
- package/src/models/UserUuid.ts +66 -0
- package/src/models/index.ts +10 -1
- package/src/runtime.ts +48 -20
- package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +0 -31
- package/dist/models/EnableEquisoftConnectPayloadSchema.js +0 -50
package/.openapi-generator/FILES
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.npmignore
|
|
2
2
|
README.md
|
|
3
|
+
package.json
|
|
3
4
|
src/apis/OAuthApi.ts
|
|
4
5
|
src/apis/OrganizationApi.ts
|
|
5
6
|
src/apis/PermissionApi.ts
|
|
@@ -18,8 +19,10 @@ src/models/CreateOrganizationPayload.ts
|
|
|
18
19
|
src/models/CreateOrganizationUserServiceOptionPayload.ts
|
|
19
20
|
src/models/CreateOrganizationUserServicePayload.ts
|
|
20
21
|
src/models/CreateRole.ts
|
|
22
|
+
src/models/CreateUserAccountPayload.ts
|
|
23
|
+
src/models/CreateUserAccountServiceAssociation.ts
|
|
21
24
|
src/models/DatabaseState.ts
|
|
22
|
-
src/models/
|
|
25
|
+
src/models/EnableEquisoftConnectPayload.ts
|
|
23
26
|
src/models/ErrorMessage.ts
|
|
24
27
|
src/models/ErrorPayload.ts
|
|
25
28
|
src/models/Id.ts
|
|
@@ -29,6 +32,7 @@ src/models/ListOrganizationElement.ts
|
|
|
29
32
|
src/models/ListUserOrganizations.ts
|
|
30
33
|
src/models/LocalizedString.ts
|
|
31
34
|
src/models/LoginPayload.ts
|
|
35
|
+
src/models/NewPasswordPayload.ts
|
|
32
36
|
src/models/OAuthClient.ts
|
|
33
37
|
src/models/OAuthClientCreated.ts
|
|
34
38
|
src/models/OAuthClientPublicKey.ts
|
|
@@ -38,10 +42,13 @@ src/models/OrganizationPathElement.ts
|
|
|
38
42
|
src/models/OrganizationRoleAttribution.ts
|
|
39
43
|
src/models/OrganizationRoleAttributionPermission.ts
|
|
40
44
|
src/models/OrganizationRoleAttributionRole.ts
|
|
45
|
+
src/models/OrganizationRoleAttributionUser.ts
|
|
41
46
|
src/models/OrganizationRoleAttributions.ts
|
|
47
|
+
src/models/OrganizationServiceProfile.ts
|
|
42
48
|
src/models/OrganizationServicesElement.ts
|
|
43
49
|
src/models/OrganizationSsoProvider.ts
|
|
44
50
|
src/models/OrganizationUserServiceAssociation.ts
|
|
51
|
+
src/models/PasswordPolicy.ts
|
|
45
52
|
src/models/PermissionCode.ts
|
|
46
53
|
src/models/PermissionCreated.ts
|
|
47
54
|
src/models/PermissionList.ts
|
|
@@ -59,9 +66,11 @@ src/models/ServiceAccountUuidSchema.ts
|
|
|
59
66
|
src/models/ServiceName.ts
|
|
60
67
|
src/models/Session.ts
|
|
61
68
|
src/models/SessionPayload.ts
|
|
69
|
+
src/models/SessionPolicy.ts
|
|
62
70
|
src/models/SessionState.ts
|
|
63
71
|
src/models/SetPasswordByConfirmationHashPayload.ts
|
|
64
72
|
src/models/SetUserAccountPasswordPayload.ts
|
|
73
|
+
src/models/SignupHash.ts
|
|
65
74
|
src/models/SsoProvider.ts
|
|
66
75
|
src/models/SsoToken.ts
|
|
67
76
|
src/models/UpdateParentOrganizationPayload.ts
|
|
@@ -80,6 +89,8 @@ src/models/UserPermissions.ts
|
|
|
80
89
|
src/models/UserServiceAssociation.ts
|
|
81
90
|
src/models/UserSsoProvider.ts
|
|
82
91
|
src/models/UserState.ts
|
|
92
|
+
src/models/UserUuid.ts
|
|
83
93
|
src/models/index.ts
|
|
84
94
|
src/runtime.ts
|
|
85
95
|
tsconfig.esm.json
|
|
96
|
+
tsconfig.json
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7.1.0-equisoft4
|
package/.tool-versions
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
java temurin-17.0.
|
|
2
|
-
nodejs
|
|
1
|
+
java temurin-17.0.10+7
|
|
2
|
+
nodejs 20.12.1
|
|
3
3
|
yarn 1.22.17
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @equisoft/account-service-sdk-typescript@
|
|
1
|
+
## @equisoft/account-service-sdk-typescript@6.6.0
|
|
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@
|
|
39
|
+
npm install @equisoft/account-service-sdk-typescript@6.6.0 --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:
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
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 { CreateOrUpdateOAuthClientPayload, OAuthClient, OAuthClientCreated } from '../models';
|
|
13
|
+
import type { CreateOrUpdateOAuthClientPayload, OAuthClient, OAuthClientCreated } from '../models/index';
|
|
14
14
|
export interface CreateOrUpdateOAuthClientRequest {
|
|
15
15
|
clientId: string;
|
|
16
16
|
createOrUpdateOAuthClientPayload: CreateOrUpdateOAuthClientPayload;
|
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:
|
|
8
|
+
* The version of the OpenAPI document: 6.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.OAuthApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
-
const
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -56,9 +56,9 @@ class OAuthApi extends runtime.BaseAPI {
|
|
|
56
56
|
method: 'PUT',
|
|
57
57
|
headers: headerParameters,
|
|
58
58
|
query: queryParameters,
|
|
59
|
-
body:
|
|
59
|
+
body: (0, index_1.CreateOrUpdateOAuthClientPayloadToJSON)(requestParameters.createOrUpdateOAuthClientPayload),
|
|
60
60
|
}, initOverrides);
|
|
61
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
61
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OAuthClientCreatedFromJSON)(jsonValue));
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
@@ -94,7 +94,7 @@ class OAuthApi extends runtime.BaseAPI {
|
|
|
94
94
|
headers: headerParameters,
|
|
95
95
|
query: queryParameters,
|
|
96
96
|
}, initOverrides);
|
|
97
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
97
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OAuthClientFromJSON)(jsonValue));
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
@@ -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:
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
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 { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationCreated, OrganizationRoleAttributions, OrganizationSsoProvider, OrganizationUserServiceAssociation, RoleCreated, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models';
|
|
13
|
+
import type { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationCreated, OrganizationRoleAttributions, OrganizationSsoProvider, OrganizationUserServiceAssociation, RoleCreated, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models/index';
|
|
14
14
|
export interface AddServiceRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
serviceCode: string;
|
|
@@ -57,6 +57,10 @@ export interface ListOrganizationRequest {
|
|
|
57
57
|
pageToken?: string;
|
|
58
58
|
parent?: string;
|
|
59
59
|
query?: string;
|
|
60
|
+
withServiceProfileFor?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface ListOrganizationLinkedUsersRequest {
|
|
63
|
+
uuid: string;
|
|
60
64
|
}
|
|
61
65
|
export interface ListOrganizationSsoProvidersRequest {
|
|
62
66
|
uuid: string;
|
|
@@ -182,6 +186,14 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
182
186
|
* List organizations
|
|
183
187
|
*/
|
|
184
188
|
listOrganization(requestParameters: ListOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListUserOrganizations>;
|
|
189
|
+
/**
|
|
190
|
+
* List users linked to an organization
|
|
191
|
+
*/
|
|
192
|
+
listOrganizationLinkedUsersRaw(requestParameters: ListOrganizationLinkedUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UserAccountSearchResult>>>;
|
|
193
|
+
/**
|
|
194
|
+
* List users linked to an organization
|
|
195
|
+
*/
|
|
196
|
+
listOrganizationLinkedUsers(requestParameters: ListOrganizationLinkedUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UserAccountSearchResult>>;
|
|
185
197
|
/**
|
|
186
198
|
* List SSO Providers available for an organization
|
|
187
199
|
*/
|
|
@@ -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:
|
|
8
|
+
* The version of the OpenAPI document: 6.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.OrganizationApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
-
const
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -59,7 +59,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
59
59
|
method: 'PUT',
|
|
60
60
|
headers: headerParameters,
|
|
61
61
|
query: queryParameters,
|
|
62
|
-
body:
|
|
62
|
+
body: (0, index_1.UpsertServicePayloadToJSON)(requestParameters.upsertServicePayload),
|
|
63
63
|
}, initOverrides);
|
|
64
64
|
return new runtime.VoidApiResponse(response);
|
|
65
65
|
});
|
|
@@ -99,9 +99,9 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
99
99
|
method: 'PUT',
|
|
100
100
|
headers: headerParameters,
|
|
101
101
|
query: queryParameters,
|
|
102
|
-
body:
|
|
102
|
+
body: (0, index_1.CreateOrUpdateOrganizationPayloadToJSON)(requestParameters.createOrUpdateOrganizationPayload),
|
|
103
103
|
}, initOverrides);
|
|
104
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
104
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationCreatedFromJSON)(jsonValue));
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
@@ -143,9 +143,9 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
143
143
|
method: 'PUT',
|
|
144
144
|
headers: headerParameters,
|
|
145
145
|
query: queryParameters,
|
|
146
|
-
body:
|
|
146
|
+
body: (0, index_1.CreateRoleToJSON)(requestParameters.createRole),
|
|
147
147
|
}, initOverrides);
|
|
148
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
148
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RoleCreatedFromJSON)(jsonValue));
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
@@ -181,9 +181,9 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
181
181
|
method: 'POST',
|
|
182
182
|
headers: headerParameters,
|
|
183
183
|
query: queryParameters,
|
|
184
|
-
body:
|
|
184
|
+
body: (0, index_1.CreateOrganizationPayloadToJSON)(requestParameters.createOrganizationPayload),
|
|
185
185
|
}, initOverrides);
|
|
186
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
186
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationCreatedFromJSON)(jsonValue));
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
@@ -222,9 +222,9 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
222
222
|
method: 'POST',
|
|
223
223
|
headers: headerParameters,
|
|
224
224
|
query: queryParameters,
|
|
225
|
-
body:
|
|
225
|
+
body: (0, index_1.CreateRoleToJSON)(requestParameters.createRole),
|
|
226
226
|
}, initOverrides);
|
|
227
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
227
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RoleCreatedFromJSON)(jsonValue));
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
@@ -269,7 +269,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
269
269
|
method: 'POST',
|
|
270
270
|
headers: headerParameters,
|
|
271
271
|
query: queryParameters,
|
|
272
|
-
body:
|
|
272
|
+
body: (0, index_1.CreateOrganizationUserServicePayloadToJSON)(requestParameters.createOrganizationUserServicePayload),
|
|
273
273
|
}, initOverrides);
|
|
274
274
|
return new runtime.VoidApiResponse(response);
|
|
275
275
|
});
|
|
@@ -341,7 +341,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
341
341
|
headers: headerParameters,
|
|
342
342
|
query: queryParameters,
|
|
343
343
|
}, initOverrides);
|
|
344
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
344
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationFromJSON)(jsonValue));
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
/**
|
|
@@ -383,7 +383,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
383
383
|
headers: headerParameters,
|
|
384
384
|
query: queryParameters,
|
|
385
385
|
}, initOverrides);
|
|
386
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
386
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationUserServiceAssociationFromJSON)(jsonValue));
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
/**
|
|
@@ -419,7 +419,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
419
419
|
headers: headerParameters,
|
|
420
420
|
query: queryParameters,
|
|
421
421
|
}, initOverrides);
|
|
422
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
422
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationRoleAttributionsFromJSON)(jsonValue));
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
/**
|
|
@@ -452,6 +452,9 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
452
452
|
if (requestParameters.query !== undefined) {
|
|
453
453
|
queryParameters['query'] = requestParameters.query;
|
|
454
454
|
}
|
|
455
|
+
if (requestParameters.withServiceProfileFor !== undefined) {
|
|
456
|
+
queryParameters['withServiceProfileFor'] = requestParameters.withServiceProfileFor;
|
|
457
|
+
}
|
|
455
458
|
const headerParameters = {};
|
|
456
459
|
if (this.configuration && this.configuration.accessToken) {
|
|
457
460
|
// oauth required
|
|
@@ -467,7 +470,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
467
470
|
headers: headerParameters,
|
|
468
471
|
query: queryParameters,
|
|
469
472
|
}, initOverrides);
|
|
470
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
473
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListUserOrganizationsFromJSON)(jsonValue));
|
|
471
474
|
});
|
|
472
475
|
}
|
|
473
476
|
/**
|
|
@@ -479,6 +482,42 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
479
482
|
return yield response.value();
|
|
480
483
|
});
|
|
481
484
|
}
|
|
485
|
+
/**
|
|
486
|
+
* List users linked to an organization
|
|
487
|
+
*/
|
|
488
|
+
listOrganizationLinkedUsersRaw(requestParameters, initOverrides) {
|
|
489
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
490
|
+
if (requestParameters.uuid === null || requestParameters.uuid === undefined) {
|
|
491
|
+
throw new runtime.RequiredError('uuid', 'Required parameter requestParameters.uuid was null or undefined when calling listOrganizationLinkedUsers.');
|
|
492
|
+
}
|
|
493
|
+
const queryParameters = {};
|
|
494
|
+
const headerParameters = {};
|
|
495
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
496
|
+
// oauth required
|
|
497
|
+
const token = this.configuration.accessToken;
|
|
498
|
+
const tokenString = yield token("OAuth2", ["account:organization", "account:user"]);
|
|
499
|
+
if (tokenString) {
|
|
500
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
const response = yield this.request({
|
|
504
|
+
path: `/organizations/{uuid}/linkedUsers`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
|
505
|
+
method: 'GET',
|
|
506
|
+
headers: headerParameters,
|
|
507
|
+
query: queryParameters,
|
|
508
|
+
}, initOverrides);
|
|
509
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UserAccountSearchResultFromJSON));
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* List users linked to an organization
|
|
514
|
+
*/
|
|
515
|
+
listOrganizationLinkedUsers(requestParameters, initOverrides) {
|
|
516
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
+
const response = yield this.listOrganizationLinkedUsersRaw(requestParameters, initOverrides);
|
|
518
|
+
return yield response.value();
|
|
519
|
+
});
|
|
520
|
+
}
|
|
482
521
|
/**
|
|
483
522
|
* List SSO Providers available for an organization
|
|
484
523
|
*/
|
|
@@ -503,7 +542,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
503
542
|
headers: headerParameters,
|
|
504
543
|
query: queryParameters,
|
|
505
544
|
}, initOverrides);
|
|
506
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(
|
|
545
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.OrganizationSsoProviderFromJSON));
|
|
507
546
|
});
|
|
508
547
|
}
|
|
509
548
|
/**
|
|
@@ -539,7 +578,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
539
578
|
headers: headerParameters,
|
|
540
579
|
query: queryParameters,
|
|
541
580
|
}, initOverrides);
|
|
542
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(
|
|
581
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UserAccountSearchResultFromJSON));
|
|
543
582
|
});
|
|
544
583
|
}
|
|
545
584
|
/**
|
|
@@ -710,7 +749,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
710
749
|
method: 'PUT',
|
|
711
750
|
headers: headerParameters,
|
|
712
751
|
query: queryParameters,
|
|
713
|
-
body:
|
|
752
|
+
body: (0, index_1.CreateOrganizationUserServiceOptionPayloadToJSON)(requestParameters.createOrganizationUserServiceOptionPayload),
|
|
714
753
|
}, initOverrides);
|
|
715
754
|
return new runtime.VoidApiResponse(response);
|
|
716
755
|
});
|
|
@@ -750,7 +789,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
750
789
|
method: 'POST',
|
|
751
790
|
headers: headerParameters,
|
|
752
791
|
query: queryParameters,
|
|
753
|
-
body:
|
|
792
|
+
body: (0, index_1.UpdateParentOrganizationPayloadToJSON)(requestParameters.updateParentOrganizationPayload),
|
|
754
793
|
}, initOverrides);
|
|
755
794
|
return new runtime.VoidApiResponse(response);
|
|
756
795
|
});
|
|
@@ -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:
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
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 { CreateOrUpdatePermissionPayload, PermissionCreated } from '../models';
|
|
13
|
+
import type { CreateOrUpdatePermissionPayload, PermissionCreated } from '../models/index';
|
|
14
14
|
export interface CreateOrUpdatePermissionRequest {
|
|
15
15
|
code: string;
|
|
16
16
|
createOrUpdatePermissionPayload: CreateOrUpdatePermissionPayload;
|
|
@@ -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:
|
|
8
|
+
* The version of the OpenAPI document: 6.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.PermissionApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
-
const
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -56,9 +56,9 @@ class PermissionApi extends runtime.BaseAPI {
|
|
|
56
56
|
method: 'PUT',
|
|
57
57
|
headers: headerParameters,
|
|
58
58
|
query: queryParameters,
|
|
59
|
-
body:
|
|
59
|
+
body: (0, index_1.CreateOrUpdatePermissionPayloadToJSON)(requestParameters.createOrUpdatePermissionPayload),
|
|
60
60
|
}, initOverrides);
|
|
61
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
61
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PermissionCreatedFromJSON)(jsonValue));
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
/**
|
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:
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
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 { Role } from '../models';
|
|
13
|
+
import type { Role } from '../models/index';
|
|
14
14
|
export interface GetRoleRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
}
|
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:
|
|
8
|
+
* The version of the OpenAPI document: 6.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.RoleApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
-
const
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -53,7 +53,7 @@ class RoleApi extends runtime.BaseAPI {
|
|
|
53
53
|
headers: headerParameters,
|
|
54
54
|
query: queryParameters,
|
|
55
55
|
}, initOverrides);
|
|
56
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
56
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RoleFromJSON)(jsonValue));
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
@@ -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:
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
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, PermissionList, ServiceAccountCreationSchema, ServiceAccountSchema, ServiceAccountUpdateSchema, ServiceAccountUuidSchema, UserAccountRoleAttributions } from '../models';
|
|
13
|
+
import type { ApplyPermissionsPayload, PermissionList, ServiceAccountCreationSchema, ServiceAccountSchema, ServiceAccountUpdateSchema, ServiceAccountUuidSchema, UserAccountRoleAttributions } from '../models/index';
|
|
14
14
|
export interface AddServiceAccountRoleAttributionRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
organizationUuid: string;
|
|
@@ -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:
|
|
8
|
+
* The version of the OpenAPI document: 6.6.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.ServiceAccountApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
-
const
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
@@ -97,9 +97,9 @@ class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
97
97
|
method: 'POST',
|
|
98
98
|
headers: headerParameters,
|
|
99
99
|
query: queryParameters,
|
|
100
|
-
body:
|
|
100
|
+
body: (0, index_1.ApplyPermissionsPayloadToJSON)(requestParameters.applyPermissionsPayload),
|
|
101
101
|
}, initOverrides);
|
|
102
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
102
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PermissionListFromJSON)(jsonValue));
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
@@ -135,9 +135,9 @@ class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
135
135
|
method: 'POST',
|
|
136
136
|
headers: headerParameters,
|
|
137
137
|
query: queryParameters,
|
|
138
|
-
body:
|
|
138
|
+
body: (0, index_1.ServiceAccountCreationSchemaToJSON)(requestParameters.serviceAccountCreationSchema),
|
|
139
139
|
}, initOverrides);
|
|
140
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
140
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ServiceAccountUuidSchemaFromJSON)(jsonValue));
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
@@ -214,7 +214,7 @@ class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
214
214
|
headers: headerParameters,
|
|
215
215
|
query: queryParameters,
|
|
216
216
|
}, initOverrides);
|
|
217
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
217
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ServiceAccountSchemaFromJSON)(jsonValue));
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
@@ -250,7 +250,7 @@ class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
250
250
|
headers: headerParameters,
|
|
251
251
|
query: queryParameters,
|
|
252
252
|
}, initOverrides);
|
|
253
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
253
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UserAccountRoleAttributionsFromJSON)(jsonValue));
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
@@ -286,7 +286,7 @@ class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
286
286
|
headers: headerParameters,
|
|
287
287
|
query: queryParameters,
|
|
288
288
|
}, initOverrides);
|
|
289
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(
|
|
289
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.ServiceAccountSchemaFromJSON));
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
@@ -325,9 +325,9 @@ class ServiceAccountApi extends runtime.BaseAPI {
|
|
|
325
325
|
method: 'PATCH',
|
|
326
326
|
headers: headerParameters,
|
|
327
327
|
query: queryParameters,
|
|
328
|
-
body:
|
|
328
|
+
body: (0, index_1.ServiceAccountUpdateSchemaToJSON)(requestParameters.serviceAccountUpdateSchema),
|
|
329
329
|
}, initOverrides);
|
|
330
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
330
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ServiceAccountUuidSchemaFromJSON)(jsonValue));
|
|
331
331
|
});
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
@@ -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:
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
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 {
|
|
13
|
+
import type { EnableEquisoftConnectPayload, ImpersonatePayload, Session, SessionPayload, SsoToken } from '../models/index';
|
|
14
14
|
export interface CreateSessionRequest {
|
|
15
15
|
sessionPayload: SessionPayload;
|
|
16
16
|
}
|
|
@@ -27,7 +27,7 @@ export interface EnableSessionRequest {
|
|
|
27
27
|
}
|
|
28
28
|
export interface EnableSessionForEquisoftConnectRequest {
|
|
29
29
|
uuid: string;
|
|
30
|
-
|
|
30
|
+
enableEquisoftConnectPayload: EnableEquisoftConnectPayload;
|
|
31
31
|
}
|
|
32
32
|
export interface GetSessionRequest {
|
|
33
33
|
uuid: string;
|