@equisoft/account-service-sdk-typescript 4.5.1-snapshot.20230206204303 → 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 +6 -6
- package/dist/apis/OAuthApi.js +5 -5
- package/dist/apis/OrganizationApi.d.ts +50 -38
- package/dist/apis/OrganizationApi.js +59 -20
- package/dist/apis/PermissionApi.d.ts +4 -4
- package/dist/apis/PermissionApi.js +4 -4
- package/dist/apis/RoleApi.d.ts +4 -4
- package/dist/apis/RoleApi.js +3 -3
- package/dist/apis/ServiceAccountApi.d.ts +18 -18
- package/dist/apis/ServiceAccountApi.js +11 -11
- package/dist/apis/SessionApi.d.ts +27 -27
- package/dist/apis/SessionApi.js +13 -10
- package/dist/apis/UserApi.d.ts +182 -47
- 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 +6 -2
- package/dist/models/ApplyPermissionsPayload.js +14 -4
- package/dist/models/AuthenticationUserAccount.d.ts +6 -2
- package/dist/models/AuthenticationUserAccount.js +17 -4
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +9 -5
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +23 -14
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +19 -6
- package/dist/models/CreateOrUpdateOrganizationPayload.js +20 -7
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +6 -2
- package/dist/models/CreateOrUpdatePermissionPayload.js +13 -4
- package/dist/models/CreateOrganizationPayload.d.ts +19 -6
- package/dist/models/CreateOrganizationPayload.js +19 -7
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +6 -2
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +12 -3
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +5 -1
- package/dist/models/CreateOrganizationUserServicePayload.js +11 -3
- package/dist/models/CreateRole.d.ts +6 -2
- package/dist/models/CreateRole.js +14 -4
- 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 +4 -2
- package/dist/models/DatabaseState.js +4 -2
- package/dist/models/EnableEquisoftConnectPayload.d.ts +31 -0
- package/dist/models/EnableEquisoftConnectPayload.js +50 -0
- package/dist/models/ErrorMessage.d.ts +4 -2
- package/dist/models/ErrorMessage.js +4 -2
- package/dist/models/ErrorPayload.d.ts +6 -2
- package/dist/models/ErrorPayload.js +14 -5
- package/dist/models/Id.d.ts +5 -1
- package/dist/models/Id.js +12 -2
- package/dist/models/ImpersonatePayload.d.ts +5 -1
- package/dist/models/ImpersonatePayload.js +11 -2
- package/dist/models/LegacyRoleSchema.d.ts +6 -2
- package/dist/models/LegacyRoleSchema.js +14 -4
- package/dist/models/ListOrganizationElement.d.ts +8 -4
- package/dist/models/ListOrganizationElement.js +17 -5
- package/dist/models/ListUserOrganizations.d.ts +6 -2
- package/dist/models/ListUserOrganizations.js +12 -3
- package/dist/models/LocalizedString.d.ts +7 -3
- package/dist/models/LocalizedString.js +12 -2
- package/dist/models/LoginPayload.d.ts +5 -1
- package/dist/models/LoginPayload.js +12 -2
- package/dist/models/NewPasswordPayload.d.ts +31 -0
- package/dist/models/NewPasswordPayload.js +50 -0
- package/dist/models/OAuthClient.d.ts +6 -2
- package/dist/models/OAuthClient.js +24 -6
- package/dist/models/OAuthClientCreated.d.ts +5 -1
- package/dist/models/OAuthClientCreated.js +11 -2
- package/dist/models/OAuthClientPublicKey.d.ts +5 -1
- package/dist/models/OAuthClientPublicKey.js +12 -2
- package/dist/models/Organization.d.ts +18 -5
- package/dist/models/Organization.js +26 -8
- package/dist/models/OrganizationCreated.d.ts +5 -1
- package/dist/models/OrganizationCreated.js +11 -2
- package/dist/models/OrganizationPathElement.d.ts +6 -2
- package/dist/models/OrganizationPathElement.js +14 -4
- package/dist/models/OrganizationRoleAttribution.d.ts +9 -5
- package/dist/models/OrganizationRoleAttribution.js +15 -5
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +6 -2
- package/dist/models/OrganizationRoleAttributionPermission.js +14 -4
- package/dist/models/OrganizationRoleAttributionRole.d.ts +7 -3
- package/dist/models/OrganizationRoleAttributionRole.js +15 -4
- package/dist/models/OrganizationRoleAttributionUser.d.ts +50 -0
- package/dist/models/OrganizationRoleAttributionUser.js +60 -0
- package/dist/models/OrganizationRoleAttributions.d.ts +6 -2
- package/dist/models/OrganizationRoleAttributions.js +11 -2
- package/dist/models/OrganizationServiceProfile.d.ts +37 -0
- package/dist/models/OrganizationServiceProfile.js +53 -0
- package/dist/models/OrganizationServicesElement.d.ts +5 -1
- package/dist/models/OrganizationServicesElement.js +12 -3
- package/dist/models/OrganizationSsoProvider.d.ts +6 -2
- package/dist/models/OrganizationSsoProvider.js +14 -4
- package/dist/models/OrganizationUserServiceAssociation.d.ts +5 -1
- package/dist/models/OrganizationUserServiceAssociation.js +13 -3
- package/dist/models/PasswordPolicy.d.ts +73 -0
- package/dist/models/PasswordPolicy.js +71 -0
- package/dist/models/PermissionCode.d.ts +5 -1
- package/dist/models/PermissionCode.js +11 -2
- package/dist/models/PermissionCreated.d.ts +5 -1
- package/dist/models/PermissionCreated.js +11 -2
- package/dist/models/PermissionList.d.ts +6 -2
- package/dist/models/PermissionList.js +11 -2
- package/dist/models/PermissionResourceType.d.ts +3 -2
- package/dist/models/PermissionResourceType.js +3 -2
- package/dist/models/Role.d.ts +6 -2
- package/dist/models/Role.js +15 -4
- package/dist/models/RoleCreated.d.ts +6 -2
- package/dist/models/RoleCreated.js +15 -4
- package/dist/models/RolesOnOrganization.d.ts +9 -5
- package/dist/models/RolesOnOrganization.js +17 -4
- package/dist/models/SendResetPasswordLinkPayload.d.ts +7 -3
- package/dist/models/SendResetPasswordLinkPayload.js +13 -4
- package/dist/models/ServiceAccess.d.ts +7 -3
- package/dist/models/ServiceAccess.js +19 -10
- package/dist/models/ServiceAccountCreationSchema.d.ts +5 -1
- package/dist/models/ServiceAccountCreationSchema.js +13 -2
- package/dist/models/ServiceAccountSchema.d.ts +6 -2
- package/dist/models/ServiceAccountSchema.js +19 -5
- package/dist/models/ServiceAccountStatus.d.ts +3 -2
- package/dist/models/ServiceAccountStatus.js +3 -2
- package/dist/models/ServiceAccountUpdateSchema.d.ts +5 -1
- package/dist/models/ServiceAccountUpdateSchema.js +12 -4
- package/dist/models/ServiceAccountUuidSchema.d.ts +5 -1
- package/dist/models/ServiceAccountUuidSchema.js +11 -2
- package/dist/models/ServiceName.d.ts +3 -2
- package/dist/models/ServiceName.js +3 -2
- package/dist/models/Session.d.ts +8 -4
- package/dist/models/Session.js +27 -11
- package/dist/models/SessionPayload.d.ts +8 -4
- package/dist/models/SessionPayload.js +17 -7
- package/dist/models/SessionPolicy.d.ts +37 -0
- package/dist/models/SessionPolicy.js +52 -0
- package/dist/models/SessionState.d.ts +4 -2
- package/dist/models/SessionState.js +4 -2
- package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +5 -1
- package/dist/models/SetPasswordByConfirmationHashPayload.js +11 -2
- package/dist/models/SetUserAccountPasswordPayload.d.ts +5 -1
- package/dist/models/SetUserAccountPasswordPayload.js +13 -3
- package/dist/models/SignupHash.d.ts +31 -0
- package/dist/models/SignupHash.js +50 -0
- package/dist/models/SsoProvider.d.ts +5 -1
- package/dist/models/SsoProvider.js +12 -2
- package/dist/models/SsoToken.d.ts +5 -1
- package/dist/models/SsoToken.js +12 -2
- package/dist/models/UpdateParentOrganizationPayload.d.ts +5 -1
- package/dist/models/UpdateParentOrganizationPayload.js +11 -2
- package/dist/models/UpdateUserAccountPayload.d.ts +5 -1
- package/dist/models/UpdateUserAccountPayload.js +15 -5
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +5 -1
- package/dist/models/UpdateUserAccountSsoPayload.js +12 -3
- package/dist/models/UpsertServicePayload.d.ts +5 -1
- package/dist/models/UpsertServicePayload.js +11 -3
- package/dist/models/User.d.ts +13 -8
- package/dist/models/User.js +39 -15
- package/dist/models/UserAccountOrganizationRoles.d.ts +7 -3
- package/dist/models/UserAccountOrganizationRoles.js +15 -4
- package/dist/models/UserAccountPermission.d.ts +6 -2
- package/dist/models/UserAccountPermission.js +14 -4
- package/dist/models/UserAccountRole.d.ts +6 -2
- package/dist/models/UserAccountRole.js +14 -4
- package/dist/models/UserAccountRoleAttributions.d.ts +6 -2
- package/dist/models/UserAccountRoleAttributions.js +11 -2
- package/dist/models/UserAccountSearchResult.d.ts +13 -8
- package/dist/models/UserAccountSearchResult.js +39 -15
- package/dist/models/UserAgreement.d.ts +6 -2
- package/dist/models/UserAgreement.js +13 -4
- package/dist/models/UserAgreementState.d.ts +4 -2
- package/dist/models/UserAgreementState.js +4 -2
- package/dist/models/UserPermissions.d.ts +7 -3
- package/dist/models/UserPermissions.js +12 -2
- package/dist/models/UserServiceAssociation.d.ts +5 -1
- package/dist/models/UserServiceAssociation.js +14 -4
- package/dist/models/UserSsoProvider.d.ts +5 -1
- package/dist/models/UserSsoProvider.js +11 -2
- package/dist/models/UserState.d.ts +4 -2
- package/dist/models/UserState.js +4 -2
- 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 +36 -11
- package/dist/runtime.js +67 -10
- package/package.json +11 -13
- package/src/apis/OAuthApi.ts +12 -12
- package/src/apis/OrganizationApi.ts +104 -72
- package/src/apis/PermissionApi.ts +9 -8
- package/src/apis/RoleApi.ts +8 -7
- package/src/apis/ServiceAccountApi.ts +28 -34
- package/src/apis/SessionApi.ts +42 -48
- package/src/apis/UserApi.ts +619 -87
- package/src/index.ts +2 -2
- package/src/models/ApplyPermissionsPayload.ts +13 -2
- package/src/models/AuthenticationUserAccount.ts +18 -3
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +18 -8
- package/src/models/CreateOrUpdateOrganizationPayload.ts +35 -8
- package/src/models/CreateOrUpdatePermissionPayload.ts +12 -2
- package/src/models/CreateOrganizationPayload.ts +34 -8
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +12 -3
- package/src/models/CreateOrganizationUserServicePayload.ts +10 -1
- package/src/models/CreateRole.ts +13 -2
- package/src/models/CreateUserAccountPayload.ts +186 -0
- package/src/models/CreateUserAccountServiceAssociation.ts +83 -0
- package/src/models/DatabaseState.ts +4 -2
- package/src/models/{EnableEquisoftConnectPayloadSchema.ts → EnableEquisoftConnectPayload.ts} +18 -9
- package/src/models/ErrorMessage.ts +4 -2
- package/src/models/ErrorPayload.ts +12 -2
- package/src/models/Id.ts +12 -1
- package/src/models/ImpersonatePayload.ts +11 -1
- package/src/models/LegacyRoleSchema.ts +13 -2
- package/src/models/ListOrganizationElement.ts +17 -4
- package/src/models/ListUserOrganizations.ts +12 -2
- package/src/models/LocalizedString.ts +14 -3
- package/src/models/LoginPayload.ts +12 -1
- package/src/models/NewPasswordPayload.ts +66 -0
- package/src/models/OAuthClient.ts +21 -2
- package/src/models/OAuthClientCreated.ts +11 -1
- package/src/models/OAuthClientPublicKey.ts +12 -1
- package/src/models/Organization.ts +39 -7
- package/src/models/OrganizationCreated.ts +11 -1
- package/src/models/OrganizationPathElement.ts +13 -2
- package/src/models/OrganizationRoleAttribution.ts +22 -11
- package/src/models/OrganizationRoleAttributionPermission.ts +13 -2
- package/src/models/OrganizationRoleAttributionRole.ts +15 -3
- package/src/models/OrganizationRoleAttributionUser.ts +100 -0
- package/src/models/OrganizationRoleAttributions.ts +12 -2
- package/src/models/OrganizationServiceProfile.ts +75 -0
- package/src/models/OrganizationServicesElement.ts +11 -1
- package/src/models/OrganizationSsoProvider.ts +13 -2
- package/src/models/OrganizationUserServiceAssociation.ts +12 -1
- package/src/models/PasswordPolicy.ts +129 -0
- package/src/models/PermissionCode.ts +11 -1
- package/src/models/PermissionCreated.ts +11 -1
- package/src/models/PermissionList.ts +12 -2
- package/src/models/PermissionResourceType.ts +3 -2
- package/src/models/Role.ts +14 -2
- package/src/models/RoleCreated.ts +14 -2
- package/src/models/RolesOnOrganization.ts +19 -5
- package/src/models/SendResetPasswordLinkPayload.ts +14 -5
- package/src/models/ServiceAccess.ts +13 -3
- package/src/models/ServiceAccountCreationSchema.ts +13 -1
- package/src/models/ServiceAccountSchema.ts +17 -2
- package/src/models/ServiceAccountStatus.ts +3 -2
- package/src/models/ServiceAccountUpdateSchema.ts +10 -1
- package/src/models/ServiceAccountUuidSchema.ts +11 -1
- package/src/models/ServiceName.ts +3 -2
- package/src/models/Session.ts +21 -4
- package/src/models/SessionPayload.ts +15 -4
- package/src/models/SessionPolicy.ts +73 -0
- package/src/models/SessionState.ts +4 -2
- package/src/models/SetPasswordByConfirmationHashPayload.ts +11 -1
- package/src/models/SetUserAccountPasswordPayload.ts +12 -1
- package/src/models/SignupHash.ts +66 -0
- package/src/models/SsoProvider.ts +12 -1
- package/src/models/SsoToken.ts +12 -1
- package/src/models/UpdateParentOrganizationPayload.ts +11 -1
- package/src/models/UpdateUserAccountPayload.ts +12 -1
- package/src/models/UpdateUserAccountSsoPayload.ts +11 -1
- package/src/models/UpsertServicePayload.ts +10 -1
- package/src/models/User.ts +36 -10
- package/src/models/UserAccountOrganizationRoles.ts +15 -3
- package/src/models/UserAccountPermission.ts +13 -2
- package/src/models/UserAccountRole.ts +13 -2
- package/src/models/UserAccountRoleAttributions.ts +12 -2
- package/src/models/UserAccountSearchResult.ts +36 -10
- package/src/models/UserAgreement.ts +12 -2
- package/src/models/UserAgreementState.ts +4 -2
- package/src/models/UserPermissions.ts +14 -3
- package/src/models/UserServiceAssociation.ts +12 -1
- package/src/models/UserSsoProvider.ts +11 -1
- package/src/models/UserState.ts +4 -2
- package/src/models/UserUuid.ts +66 -0
- package/src/models/index.ts +10 -1
- package/src/runtime.ts +83 -21
- package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +0 -27
- package/dist/models/EnableEquisoftConnectPayloadSchema.js +0 -42
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { SsoProvider } from './SsoProvider';
|
|
16
17
|
import {
|
|
17
|
-
SsoProvider,
|
|
18
18
|
SsoProviderFromJSON,
|
|
19
19
|
SsoProviderFromJSONTyped,
|
|
20
20
|
SsoProviderToJSON,
|
|
@@ -49,13 +49,13 @@ export interface SessionPayload {
|
|
|
49
49
|
* @type {boolean}
|
|
50
50
|
* @memberof SessionPayload
|
|
51
51
|
*/
|
|
52
|
-
publicComputer?: boolean;
|
|
52
|
+
publicComputer?: boolean | null;
|
|
53
53
|
/**
|
|
54
54
|
* Indicate that the session is initiated from a mobile device.
|
|
55
55
|
* @type {boolean}
|
|
56
56
|
* @memberof SessionPayload
|
|
57
57
|
*/
|
|
58
|
-
mobileDevice?: boolean;
|
|
58
|
+
mobileDevice?: boolean | null;
|
|
59
59
|
/**
|
|
60
60
|
* Indicate the domain name the session cookie was emitted for. If null, the cookie is assumed to be on the current hostname.
|
|
61
61
|
* @type {string}
|
|
@@ -64,6 +64,17 @@ export interface SessionPayload {
|
|
|
64
64
|
cookieDomain?: string | null;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the SessionPayload interface.
|
|
69
|
+
*/
|
|
70
|
+
export function instanceOfSessionPayload(value: object): boolean {
|
|
71
|
+
let isInstance = true;
|
|
72
|
+
isInstance = isInstance && "userUuid" in value;
|
|
73
|
+
isInstance = isInstance && "enable" in value;
|
|
74
|
+
|
|
75
|
+
return isInstance;
|
|
76
|
+
}
|
|
77
|
+
|
|
67
78
|
export function SessionPayloadFromJSON(json: any): SessionPayload {
|
|
68
79
|
return SessionPayloadFromJSONTyped(json, false);
|
|
69
80
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* User account and session management
|
|
5
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SessionPolicy
|
|
20
|
+
*/
|
|
21
|
+
export interface SessionPolicy {
|
|
22
|
+
/**
|
|
23
|
+
* Delay after which a session is closed if not used, in seconds. Set to 0 to disable.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof SessionPolicy
|
|
26
|
+
*/
|
|
27
|
+
idleTimeout?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Absolute duration of a session, in seconds. Set to 0 for infinite session duration.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof SessionPolicy
|
|
32
|
+
*/
|
|
33
|
+
absoluteTimeout?: number | null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SessionPolicy interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSessionPolicy(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SessionPolicyFromJSON(json: any): SessionPolicy {
|
|
46
|
+
return SessionPolicyFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SessionPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPolicy {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'idleTimeout': !exists(json, 'idleTimeout') ? undefined : json['idleTimeout'],
|
|
56
|
+
'absoluteTimeout': !exists(json, 'absoluteTimeout') ? undefined : json['absoluteTimeout'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SessionPolicyToJSON(value?: SessionPolicy | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'idleTimeout': value.idleTimeout,
|
|
70
|
+
'absoluteTimeout': value.absoluteTimeout,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
* * `SUSPENDED` - Session idle for too long. User has to reenter credentials to activate it (Not implemented yet).
|
|
21
21
|
* * `EXPIRED` - Session is expired.
|
|
22
22
|
* * `DELETED` - Session exists but is soft-deleted (Not implemented yet).
|
|
23
|
+
*
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
25
26
|
export const SessionState = {
|
|
@@ -27,7 +28,8 @@ export const SessionState = {
|
|
|
27
28
|
ENABLED: 'ENABLED',
|
|
28
29
|
SUSPENDED: 'SUSPENDED',
|
|
29
30
|
EXPIRED: 'EXPIRED',
|
|
30
|
-
DELETED: 'DELETED'
|
|
31
|
+
DELETED: 'DELETED',
|
|
32
|
+
unknown_default_open_api: '11184809'
|
|
31
33
|
} as const;
|
|
32
34
|
export type SessionState = typeof SessionState[keyof typeof SessionState];
|
|
33
35
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,16 @@ export interface SetPasswordByConfirmationHashPayload {
|
|
|
27
27
|
newPassword: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SetPasswordByConfirmationHashPayload interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSetPasswordByConfirmationHashPayload(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "newPassword" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
export function SetPasswordByConfirmationHashPayloadFromJSON(json: any): SetPasswordByConfirmationHashPayload {
|
|
31
41
|
return SetPasswordByConfirmationHashPayloadFromJSONTyped(json, false);
|
|
32
42
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,6 +39,17 @@ export interface SetUserAccountPasswordPayload {
|
|
|
39
39
|
passwordResetRequired: boolean;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SetUserAccountPasswordPayload interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfSetUserAccountPasswordPayload(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "newPassword" in value;
|
|
48
|
+
isInstance = isInstance && "passwordResetRequired" in value;
|
|
49
|
+
|
|
50
|
+
return isInstance;
|
|
51
|
+
}
|
|
52
|
+
|
|
42
53
|
export function SetUserAccountPasswordPayloadFromJSON(json: any): SetUserAccountPasswordPayload {
|
|
43
54
|
return SetUserAccountPasswordPayloadFromJSONTyped(json, false);
|
|
44
55
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* User account and session management
|
|
5
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SignupHash
|
|
20
|
+
*/
|
|
21
|
+
export interface SignupHash {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SignupHash
|
|
26
|
+
*/
|
|
27
|
+
hash: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SignupHash interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSignupHash(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "hash" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function SignupHashFromJSON(json: any): SignupHash {
|
|
41
|
+
return SignupHashFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function SignupHashFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignupHash {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'hash': json['hash'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function SignupHashToJSON(value?: SignupHash | null): any {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'hash': value.hash,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,17 @@ export interface SsoProvider {
|
|
|
33
33
|
identifier: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SsoProvider interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSsoProvider(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "provider" in value;
|
|
42
|
+
isInstance = isInstance && "identifier" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
36
47
|
export function SsoProviderFromJSON(json: any): SsoProvider {
|
|
37
48
|
return SsoProviderFromJSONTyped(json, false);
|
|
38
49
|
}
|
package/src/models/SsoToken.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,17 @@ export interface SsoToken {
|
|
|
33
33
|
value: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SsoToken interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSsoToken(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "id" in value;
|
|
42
|
+
isInstance = isInstance && "value" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
36
47
|
export function SsoTokenFromJSON(json: any): SsoToken {
|
|
37
48
|
return SsoTokenFromJSONTyped(json, false);
|
|
38
49
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,16 @@ export interface UpdateParentOrganizationPayload {
|
|
|
27
27
|
parentUuid: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateParentOrganizationPayload interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateParentOrganizationPayload(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "parentUuid" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
export function UpdateParentOrganizationPayloadFromJSON(json: any): UpdateParentOrganizationPayload {
|
|
31
41
|
return UpdateParentOrganizationPayloadFromJSONTyped(json, false);
|
|
32
42
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -51,6 +51,17 @@ export interface UpdateUserAccountPayload {
|
|
|
51
51
|
locale: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the UpdateUserAccountPayload interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfUpdateUserAccountPayload(value: object): boolean {
|
|
58
|
+
let isInstance = true;
|
|
59
|
+
isInstance = isInstance && "email" in value;
|
|
60
|
+
isInstance = isInstance && "locale" in value;
|
|
61
|
+
|
|
62
|
+
return isInstance;
|
|
63
|
+
}
|
|
64
|
+
|
|
54
65
|
export function UpdateUserAccountPayloadFromJSON(json: any): UpdateUserAccountPayload {
|
|
55
66
|
return UpdateUserAccountPayloadFromJSONTyped(json, false);
|
|
56
67
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,16 @@ export interface UpdateUserAccountSsoPayload {
|
|
|
33
33
|
identifier?: string | null;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateUserAccountSsoPayload interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateUserAccountSsoPayload(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "providerCode" in value;
|
|
42
|
+
|
|
43
|
+
return isInstance;
|
|
44
|
+
}
|
|
45
|
+
|
|
36
46
|
export function UpdateUserAccountSsoPayloadFromJSON(json: any): UpdateUserAccountSsoPayload {
|
|
37
47
|
return UpdateUserAccountSsoPayloadFromJSONTyped(json, false);
|
|
38
48
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,15 @@ export interface UpsertServicePayload {
|
|
|
27
27
|
externalId?: string | null;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpsertServicePayload interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpsertServicePayload(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
30
39
|
export function UpsertServicePayloadFromJSON(json: any): UpsertServicePayload {
|
|
31
40
|
return UpsertServicePayloadFromJSONTyped(json, false);
|
|
32
41
|
}
|
package/src/models/User.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,32 +13,32 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { ServiceAccess } from './ServiceAccess';
|
|
16
17
|
import {
|
|
17
|
-
ServiceAccess,
|
|
18
18
|
ServiceAccessFromJSON,
|
|
19
19
|
ServiceAccessFromJSONTyped,
|
|
20
20
|
ServiceAccessToJSON,
|
|
21
21
|
} from './ServiceAccess';
|
|
22
|
+
import type { UserAgreement } from './UserAgreement';
|
|
22
23
|
import {
|
|
23
|
-
UserAgreement,
|
|
24
24
|
UserAgreementFromJSON,
|
|
25
25
|
UserAgreementFromJSONTyped,
|
|
26
26
|
UserAgreementToJSON,
|
|
27
27
|
} from './UserAgreement';
|
|
28
|
+
import type { UserServiceAssociation } from './UserServiceAssociation';
|
|
28
29
|
import {
|
|
29
|
-
UserServiceAssociation,
|
|
30
30
|
UserServiceAssociationFromJSON,
|
|
31
31
|
UserServiceAssociationFromJSONTyped,
|
|
32
32
|
UserServiceAssociationToJSON,
|
|
33
33
|
} from './UserServiceAssociation';
|
|
34
|
+
import type { UserSsoProvider } from './UserSsoProvider';
|
|
34
35
|
import {
|
|
35
|
-
UserSsoProvider,
|
|
36
36
|
UserSsoProviderFromJSON,
|
|
37
37
|
UserSsoProviderFromJSONTyped,
|
|
38
38
|
UserSsoProviderToJSON,
|
|
39
39
|
} from './UserSsoProvider';
|
|
40
|
+
import type { UserState } from './UserState';
|
|
40
41
|
import {
|
|
41
|
-
UserState,
|
|
42
42
|
UserStateFromJSON,
|
|
43
43
|
UserStateFromJSONTyped,
|
|
44
44
|
UserStateToJSON,
|
|
@@ -159,11 +159,12 @@ export interface User {
|
|
|
159
159
|
*/
|
|
160
160
|
services: Array<UserServiceAssociation>;
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
* Deprecated. Use services instead.
|
|
163
163
|
* @type {Array<UserServiceAssociation>}
|
|
164
164
|
* @memberof User
|
|
165
|
+
* @deprecated
|
|
165
166
|
*/
|
|
166
|
-
servicesUsers
|
|
167
|
+
servicesUsers?: Array<UserServiceAssociation> | null;
|
|
167
168
|
/**
|
|
168
169
|
* Whenever possible, use the services collection.
|
|
169
170
|
* @type {Array<ServiceAccess>}
|
|
@@ -190,6 +191,31 @@ export interface User {
|
|
|
190
191
|
ssoIdentifier?: string | null;
|
|
191
192
|
}
|
|
192
193
|
|
|
194
|
+
/**
|
|
195
|
+
* Check if a given object implements the User interface.
|
|
196
|
+
*/
|
|
197
|
+
export function instanceOfUser(value: object): boolean {
|
|
198
|
+
let isInstance = true;
|
|
199
|
+
isInstance = isInstance && "id" in value;
|
|
200
|
+
isInstance = isInstance && "uuid" in value;
|
|
201
|
+
isInstance = isInstance && "displayName" in value;
|
|
202
|
+
isInstance = isInstance && "sortName" in value;
|
|
203
|
+
isInstance = isInstance && "givenName" in value;
|
|
204
|
+
isInstance = isInstance && "familyName" in value;
|
|
205
|
+
isInstance = isInstance && "email" in value;
|
|
206
|
+
isInstance = isInstance && "locale" in value;
|
|
207
|
+
isInstance = isInstance && "state" in value;
|
|
208
|
+
isInstance = isInstance && "locked" in value;
|
|
209
|
+
isInstance = isInstance && "deletable" in value;
|
|
210
|
+
isInstance = isInstance && "billable" in value;
|
|
211
|
+
isInstance = isInstance && "agreement" in value;
|
|
212
|
+
isInstance = isInstance && "services" in value;
|
|
213
|
+
isInstance = isInstance && "legacyServices" in value;
|
|
214
|
+
isInstance = isInstance && "authType" in value;
|
|
215
|
+
|
|
216
|
+
return isInstance;
|
|
217
|
+
}
|
|
218
|
+
|
|
193
219
|
export function UserFromJSON(json: any): User {
|
|
194
220
|
return UserFromJSONTyped(json, false);
|
|
195
221
|
}
|
|
@@ -218,7 +244,7 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User
|
|
|
218
244
|
'created': !exists(json, 'created') ? undefined : (json['created'] === null ? null : new Date(json['created'])),
|
|
219
245
|
'modified': !exists(json, 'modified') ? undefined : (json['modified'] === null ? null : new Date(json['modified'])),
|
|
220
246
|
'services': ((json['services'] as Array<any>).map(UserServiceAssociationFromJSON)),
|
|
221
|
-
'servicesUsers': ((json['servicesUsers'] as Array<any>).map(UserServiceAssociationFromJSON)),
|
|
247
|
+
'servicesUsers': !exists(json, 'servicesUsers') ? undefined : (json['servicesUsers'] === null ? null : (json['servicesUsers'] as Array<any>).map(UserServiceAssociationFromJSON)),
|
|
222
248
|
'legacyServices': ((json['legacyServices'] as Array<any>).map(ServiceAccessFromJSON)),
|
|
223
249
|
'authType': json['authType'],
|
|
224
250
|
'ssoProvider': !exists(json, 'ssoProvider') ? undefined : UserSsoProviderFromJSON(json['ssoProvider']),
|
|
@@ -253,7 +279,7 @@ export function UserToJSON(value?: User | null): any {
|
|
|
253
279
|
'created': value.created === undefined ? undefined : (value.created === null ? null : value.created.toISOString()),
|
|
254
280
|
'modified': value.modified === undefined ? undefined : (value.modified === null ? null : value.modified.toISOString()),
|
|
255
281
|
'services': ((value.services as Array<any>).map(UserServiceAssociationToJSON)),
|
|
256
|
-
'servicesUsers': ((value.servicesUsers as Array<any>).map(UserServiceAssociationToJSON)),
|
|
282
|
+
'servicesUsers': value.servicesUsers === undefined ? undefined : (value.servicesUsers === null ? null : (value.servicesUsers as Array<any>).map(UserServiceAssociationToJSON)),
|
|
257
283
|
'legacyServices': ((value.legacyServices as Array<any>).map(ServiceAccessToJSON)),
|
|
258
284
|
'authType': value.authType,
|
|
259
285
|
'ssoProvider': UserSsoProviderToJSON(value.ssoProvider),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
21
21
|
} from './LocalizedString';
|
|
22
|
+
import type { UserAccountRole } from './UserAccountRole';
|
|
22
23
|
import {
|
|
23
|
-
UserAccountRole,
|
|
24
24
|
UserAccountRoleFromJSON,
|
|
25
25
|
UserAccountRoleFromJSONTyped,
|
|
26
26
|
UserAccountRoleToJSON,
|
|
@@ -52,6 +52,18 @@ export interface UserAccountOrganizationRoles {
|
|
|
52
52
|
roles: Array<UserAccountRole>;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the UserAccountOrganizationRoles interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfUserAccountOrganizationRoles(value: object): boolean {
|
|
59
|
+
let isInstance = true;
|
|
60
|
+
isInstance = isInstance && "uuid" in value;
|
|
61
|
+
isInstance = isInstance && "name" in value;
|
|
62
|
+
isInstance = isInstance && "roles" in value;
|
|
63
|
+
|
|
64
|
+
return isInstance;
|
|
65
|
+
}
|
|
66
|
+
|
|
55
67
|
export function UserAccountOrganizationRolesFromJSON(json: any): UserAccountOrganizationRoles {
|
|
56
68
|
return UserAccountOrganizationRolesFromJSONTyped(json, false);
|
|
57
69
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
@@ -40,6 +40,17 @@ export interface UserAccountPermission {
|
|
|
40
40
|
name: LocalizedString;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UserAccountPermission interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfUserAccountPermission(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "code" in value;
|
|
49
|
+
isInstance = isInstance && "name" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function UserAccountPermissionFromJSON(json: any): UserAccountPermission {
|
|
44
55
|
return UserAccountPermissionFromJSONTyped(json, false);
|
|
45
56
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
@@ -40,6 +40,17 @@ export interface UserAccountRole {
|
|
|
40
40
|
name: LocalizedString;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UserAccountRole interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfUserAccountRole(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "uuid" in value;
|
|
49
|
+
isInstance = isInstance && "name" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function UserAccountRoleFromJSON(json: any): UserAccountRole {
|
|
44
55
|
return UserAccountRoleFromJSONTyped(json, false);
|
|
45
56
|
}
|