@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
|
@@ -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).
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationRoleAttributionsToJSON = exports.OrganizationRoleAttributionsFromJSONTyped = exports.OrganizationRoleAttributionsFromJSON = void 0;
|
|
16
|
+
exports.OrganizationRoleAttributionsToJSON = exports.OrganizationRoleAttributionsFromJSONTyped = exports.OrganizationRoleAttributionsFromJSON = exports.instanceOfOrganizationRoleAttributions = void 0;
|
|
17
17
|
const OrganizationRoleAttribution_1 = require("./OrganizationRoleAttribution");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationRoleAttributions interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationRoleAttributions(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "users" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfOrganizationRoleAttributions = instanceOfOrganizationRoleAttributions;
|
|
18
27
|
function OrganizationRoleAttributionsFromJSON(json) {
|
|
19
28
|
return OrganizationRoleAttributionsFromJSONTyped(json, false);
|
|
20
29
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Represent a service profile available for an organization
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganizationServiceProfile
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationServiceProfile {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationServiceProfile
|
|
22
|
+
*/
|
|
23
|
+
serviceCode: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationServiceProfile
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OrganizationServiceProfile interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOrganizationServiceProfile(value: object): boolean;
|
|
35
|
+
export declare function OrganizationServiceProfileFromJSON(json: any): OrganizationServiceProfile;
|
|
36
|
+
export declare function OrganizationServiceProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationServiceProfile;
|
|
37
|
+
export declare function OrganizationServiceProfileToJSON(value?: OrganizationServiceProfile | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* User account and session management
|
|
6
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 6.6.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OrganizationServiceProfileToJSON = exports.OrganizationServiceProfileFromJSONTyped = exports.OrganizationServiceProfileFromJSON = exports.instanceOfOrganizationServiceProfile = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the OrganizationServiceProfile interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfOrganizationServiceProfile(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "serviceCode" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfOrganizationServiceProfile = instanceOfOrganizationServiceProfile;
|
|
27
|
+
function OrganizationServiceProfileFromJSON(json) {
|
|
28
|
+
return OrganizationServiceProfileFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.OrganizationServiceProfileFromJSON = OrganizationServiceProfileFromJSON;
|
|
31
|
+
function OrganizationServiceProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'serviceCode': json['serviceCode'],
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.OrganizationServiceProfileFromJSONTyped = OrganizationServiceProfileFromJSONTyped;
|
|
41
|
+
function OrganizationServiceProfileToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'serviceCode': value.serviceCode,
|
|
50
|
+
'name': value.name,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.OrganizationServiceProfileToJSON = OrganizationServiceProfileToJSON;
|
|
@@ -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).
|
|
@@ -28,6 +28,10 @@ export interface OrganizationServicesElement {
|
|
|
28
28
|
*/
|
|
29
29
|
externalId?: string | null;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OrganizationServicesElement interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOrganizationServicesElement(value: object): boolean;
|
|
31
35
|
export declare function OrganizationServicesElementFromJSON(json: any): OrganizationServicesElement;
|
|
32
36
|
export declare function OrganizationServicesElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationServicesElement;
|
|
33
37
|
export declare function OrganizationServicesElementToJSON(value?: OrganizationServicesElement | null): any;
|
|
@@ -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).
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationServicesElementToJSON = exports.OrganizationServicesElementFromJSONTyped = exports.OrganizationServicesElementFromJSON = void 0;
|
|
16
|
+
exports.OrganizationServicesElementToJSON = exports.OrganizationServicesElementFromJSONTyped = exports.OrganizationServicesElementFromJSON = exports.instanceOfOrganizationServicesElement = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationServicesElement interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationServicesElement(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfOrganizationServicesElement = instanceOfOrganizationServicesElement;
|
|
18
27
|
function OrganizationServicesElementFromJSON(json) {
|
|
19
28
|
return OrganizationServicesElementFromJSONTyped(json, false);
|
|
20
29
|
}
|
|
@@ -25,7 +34,7 @@ function OrganizationServicesElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
34
|
}
|
|
26
35
|
return {
|
|
27
36
|
'code': json['code'],
|
|
28
|
-
'externalId': !runtime_1.exists(json, 'externalId') ? undefined : json['externalId'],
|
|
37
|
+
'externalId': !(0, runtime_1.exists)(json, 'externalId') ? undefined : json['externalId'],
|
|
29
38
|
};
|
|
30
39
|
}
|
|
31
40
|
exports.OrganizationServicesElementFromJSONTyped = OrganizationServicesElementFromJSONTyped;
|
|
@@ -2,14 +2,14 @@
|
|
|
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).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './LocalizedString';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface OrganizationSsoProvider {
|
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationSsoProvider interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationSsoProvider(value: object): boolean;
|
|
32
36
|
export declare function OrganizationSsoProviderFromJSON(json: any): OrganizationSsoProvider;
|
|
33
37
|
export declare function OrganizationSsoProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSsoProvider;
|
|
34
38
|
export declare function OrganizationSsoProviderToJSON(value?: OrganizationSsoProvider | null): any;
|
|
@@ -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).
|
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationSsoProviderToJSON = exports.OrganizationSsoProviderFromJSONTyped = exports.OrganizationSsoProviderFromJSON = void 0;
|
|
16
|
+
exports.OrganizationSsoProviderToJSON = exports.OrganizationSsoProviderFromJSONTyped = exports.OrganizationSsoProviderFromJSON = exports.instanceOfOrganizationSsoProvider = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationSsoProvider interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationSsoProvider(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfOrganizationSsoProvider = instanceOfOrganizationSsoProvider;
|
|
18
28
|
function OrganizationSsoProviderFromJSON(json) {
|
|
19
29
|
return OrganizationSsoProviderFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -25,7 +35,7 @@ function OrganizationSsoProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
35
|
}
|
|
26
36
|
return {
|
|
27
37
|
'code': json['code'],
|
|
28
|
-
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
38
|
+
'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
|
|
29
39
|
};
|
|
30
40
|
}
|
|
31
41
|
exports.OrganizationSsoProviderFromJSONTyped = OrganizationSsoProviderFromJSONTyped;
|
|
@@ -38,7 +48,7 @@ function OrganizationSsoProviderToJSON(value) {
|
|
|
38
48
|
}
|
|
39
49
|
return {
|
|
40
50
|
'code': value.code,
|
|
41
|
-
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
51
|
+
'name': (0, LocalizedString_1.LocalizedStringToJSON)(value.name),
|
|
42
52
|
};
|
|
43
53
|
}
|
|
44
54
|
exports.OrganizationSsoProviderToJSON = OrganizationSsoProviderToJSON;
|
|
@@ -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).
|
|
@@ -36,6 +36,10 @@ export interface OrganizationUserServiceAssociation {
|
|
|
36
36
|
[key: string]: string;
|
|
37
37
|
} | null;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the OrganizationUserServiceAssociation interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfOrganizationUserServiceAssociation(value: object): boolean;
|
|
39
43
|
export declare function OrganizationUserServiceAssociationFromJSON(json: any): OrganizationUserServiceAssociation;
|
|
40
44
|
export declare function OrganizationUserServiceAssociationFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationUserServiceAssociation;
|
|
41
45
|
export declare function OrganizationUserServiceAssociationToJSON(value?: OrganizationUserServiceAssociation | null): any;
|
|
@@ -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).
|
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationUserServiceAssociationToJSON = exports.OrganizationUserServiceAssociationFromJSONTyped = exports.OrganizationUserServiceAssociationFromJSON = void 0;
|
|
16
|
+
exports.OrganizationUserServiceAssociationToJSON = exports.OrganizationUserServiceAssociationFromJSONTyped = exports.OrganizationUserServiceAssociationFromJSON = exports.instanceOfOrganizationUserServiceAssociation = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationUserServiceAssociation interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationUserServiceAssociation(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "organizationUuid" in value;
|
|
24
|
+
isInstance = isInstance && "code" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfOrganizationUserServiceAssociation = instanceOfOrganizationUserServiceAssociation;
|
|
18
28
|
function OrganizationUserServiceAssociationFromJSON(json) {
|
|
19
29
|
return OrganizationUserServiceAssociationFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -26,7 +36,7 @@ function OrganizationUserServiceAssociationFromJSONTyped(json, ignoreDiscriminat
|
|
|
26
36
|
return {
|
|
27
37
|
'organizationUuid': json['organizationUuid'],
|
|
28
38
|
'code': json['code'],
|
|
29
|
-
'options': !runtime_1.exists(json, 'options') ? undefined : json['options'],
|
|
39
|
+
'options': !(0, runtime_1.exists)(json, 'options') ? undefined : json['options'],
|
|
30
40
|
};
|
|
31
41
|
}
|
|
32
42
|
exports.OrganizationUserServiceAssociationFromJSONTyped = OrganizationUserServiceAssociationFromJSONTyped;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.6.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PasswordPolicy
|
|
16
|
+
*/
|
|
17
|
+
export interface PasswordPolicy {
|
|
18
|
+
/**
|
|
19
|
+
* Number of previous passwords kept to prevent reuse. Set to 0 to disable
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PasswordPolicy
|
|
22
|
+
*/
|
|
23
|
+
historyLength: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of days until password expires. Set to 0 to disable
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PasswordPolicy
|
|
28
|
+
*/
|
|
29
|
+
maxAge: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of days before password can be changed again. Set to 0 to disable
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PasswordPolicy
|
|
34
|
+
*/
|
|
35
|
+
minAge: number;
|
|
36
|
+
/**
|
|
37
|
+
* Minimum length of the password, must be greater than 1
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PasswordPolicy
|
|
40
|
+
*/
|
|
41
|
+
minLength: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of minutes for which user is locked after too many unsuccessful attempts
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PasswordPolicy
|
|
46
|
+
*/
|
|
47
|
+
lockoutDuration: number;
|
|
48
|
+
/**
|
|
49
|
+
* Number of consecutive unsuccessful login attempts needed to lock user
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PasswordPolicy
|
|
52
|
+
*/
|
|
53
|
+
lockoutAttemptsThreshold: number;
|
|
54
|
+
/**
|
|
55
|
+
* Number of minutes between unsuccessful login attempts to increase counter
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PasswordPolicy
|
|
58
|
+
*/
|
|
59
|
+
lockoutResetCounter: number;
|
|
60
|
+
/**
|
|
61
|
+
* Require password complexity
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof PasswordPolicy
|
|
64
|
+
*/
|
|
65
|
+
complexityRequirement: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the PasswordPolicy interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfPasswordPolicy(value: object): boolean;
|
|
71
|
+
export declare function PasswordPolicyFromJSON(json: any): PasswordPolicy;
|
|
72
|
+
export declare function PasswordPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordPolicy;
|
|
73
|
+
export declare function PasswordPolicyToJSON(value?: PasswordPolicy | null): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* User account and session management
|
|
6
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 6.6.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PasswordPolicyToJSON = exports.PasswordPolicyFromJSONTyped = exports.PasswordPolicyFromJSON = exports.instanceOfPasswordPolicy = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PasswordPolicy interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfPasswordPolicy(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "historyLength" in value;
|
|
23
|
+
isInstance = isInstance && "maxAge" in value;
|
|
24
|
+
isInstance = isInstance && "minAge" in value;
|
|
25
|
+
isInstance = isInstance && "minLength" in value;
|
|
26
|
+
isInstance = isInstance && "lockoutDuration" in value;
|
|
27
|
+
isInstance = isInstance && "lockoutAttemptsThreshold" in value;
|
|
28
|
+
isInstance = isInstance && "lockoutResetCounter" in value;
|
|
29
|
+
isInstance = isInstance && "complexityRequirement" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfPasswordPolicy = instanceOfPasswordPolicy;
|
|
33
|
+
function PasswordPolicyFromJSON(json) {
|
|
34
|
+
return PasswordPolicyFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.PasswordPolicyFromJSON = PasswordPolicyFromJSON;
|
|
37
|
+
function PasswordPolicyFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'historyLength': json['historyLength'],
|
|
43
|
+
'maxAge': json['maxAge'],
|
|
44
|
+
'minAge': json['minAge'],
|
|
45
|
+
'minLength': json['minLength'],
|
|
46
|
+
'lockoutDuration': json['lockoutDuration'],
|
|
47
|
+
'lockoutAttemptsThreshold': json['lockoutAttemptsThreshold'],
|
|
48
|
+
'lockoutResetCounter': json['lockoutResetCounter'],
|
|
49
|
+
'complexityRequirement': json['complexityRequirement'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.PasswordPolicyFromJSONTyped = PasswordPolicyFromJSONTyped;
|
|
53
|
+
function PasswordPolicyToJSON(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'historyLength': value.historyLength,
|
|
62
|
+
'maxAge': value.maxAge,
|
|
63
|
+
'minAge': value.minAge,
|
|
64
|
+
'minLength': value.minLength,
|
|
65
|
+
'lockoutDuration': value.lockoutDuration,
|
|
66
|
+
'lockoutAttemptsThreshold': value.lockoutAttemptsThreshold,
|
|
67
|
+
'lockoutResetCounter': value.lockoutResetCounter,
|
|
68
|
+
'complexityRequirement': value.complexityRequirement,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.PasswordPolicyToJSON = PasswordPolicyToJSON;
|
|
@@ -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).
|
|
@@ -22,6 +22,10 @@ export interface PermissionCode {
|
|
|
22
22
|
*/
|
|
23
23
|
code: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PermissionCode interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPermissionCode(value: object): boolean;
|
|
25
29
|
export declare function PermissionCodeFromJSON(json: any): PermissionCode;
|
|
26
30
|
export declare function PermissionCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionCode;
|
|
27
31
|
export declare function PermissionCodeToJSON(value?: PermissionCode | null): any;
|
|
@@ -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).
|
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PermissionCodeToJSON = exports.PermissionCodeFromJSONTyped = exports.PermissionCodeFromJSON = void 0;
|
|
16
|
+
exports.PermissionCodeToJSON = exports.PermissionCodeFromJSONTyped = exports.PermissionCodeFromJSON = exports.instanceOfPermissionCode = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PermissionCode interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfPermissionCode(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "code" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPermissionCode = instanceOfPermissionCode;
|
|
17
26
|
function PermissionCodeFromJSON(json) {
|
|
18
27
|
return PermissionCodeFromJSONTyped(json, false);
|
|
19
28
|
}
|
|
@@ -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).
|
|
@@ -22,6 +22,10 @@ export interface PermissionCreated {
|
|
|
22
22
|
*/
|
|
23
23
|
code: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PermissionCreated interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPermissionCreated(value: object): boolean;
|
|
25
29
|
export declare function PermissionCreatedFromJSON(json: any): PermissionCreated;
|
|
26
30
|
export declare function PermissionCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionCreated;
|
|
27
31
|
export declare function PermissionCreatedToJSON(value?: PermissionCreated | null): any;
|
|
@@ -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).
|
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PermissionCreatedToJSON = exports.PermissionCreatedFromJSONTyped = exports.PermissionCreatedFromJSON = void 0;
|
|
16
|
+
exports.PermissionCreatedToJSON = exports.PermissionCreatedFromJSONTyped = exports.PermissionCreatedFromJSON = exports.instanceOfPermissionCreated = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PermissionCreated interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfPermissionCreated(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "code" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPermissionCreated = instanceOfPermissionCreated;
|
|
17
26
|
function PermissionCreatedFromJSON(json) {
|
|
18
27
|
return PermissionCreatedFromJSONTyped(json, false);
|
|
19
28
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
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).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { PermissionCode } from './PermissionCode';
|
|
12
|
+
import type { PermissionCode } from './PermissionCode';
|
|
13
13
|
/**
|
|
14
14
|
* List of permission codes
|
|
15
15
|
* @export
|
|
@@ -23,6 +23,10 @@ export interface PermissionList {
|
|
|
23
23
|
*/
|
|
24
24
|
permissions: Array<PermissionCode>;
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PermissionList interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPermissionList(value: object): boolean;
|
|
26
30
|
export declare function PermissionListFromJSON(json: any): PermissionList;
|
|
27
31
|
export declare function PermissionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionList;
|
|
28
32
|
export declare function PermissionListToJSON(value?: PermissionList | null): any;
|
|
@@ -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).
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PermissionListToJSON = exports.PermissionListFromJSONTyped = exports.PermissionListFromJSON = void 0;
|
|
16
|
+
exports.PermissionListToJSON = exports.PermissionListFromJSONTyped = exports.PermissionListFromJSON = exports.instanceOfPermissionList = void 0;
|
|
17
17
|
const PermissionCode_1 = require("./PermissionCode");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PermissionList interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPermissionList(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "permissions" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfPermissionList = instanceOfPermissionList;
|
|
18
27
|
function PermissionListFromJSON(json) {
|
|
19
28
|
return PermissionListFromJSONTyped(json, false);
|
|
20
29
|
}
|
|
@@ -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).
|
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
export declare const PermissionResourceType: {
|
|
17
17
|
readonly USER: "USER";
|
|
18
18
|
readonly ORGANIZATION: "ORGANIZATION";
|
|
19
|
+
readonly unknown_default_open_api: "11184809";
|
|
19
20
|
};
|
|
20
|
-
export
|
|
21
|
+
export type PermissionResourceType = typeof PermissionResourceType[keyof typeof PermissionResourceType];
|
|
21
22
|
export declare function PermissionResourceTypeFromJSON(json: any): PermissionResourceType;
|
|
22
23
|
export declare function PermissionResourceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionResourceType;
|
|
23
24
|
export declare function PermissionResourceTypeToJSON(value?: PermissionResourceType | null): any;
|
|
@@ -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).
|
|
@@ -20,7 +20,8 @@ exports.PermissionResourceTypeToJSON = exports.PermissionResourceTypeFromJSONTyp
|
|
|
20
20
|
*/
|
|
21
21
|
exports.PermissionResourceType = {
|
|
22
22
|
USER: 'USER',
|
|
23
|
-
ORGANIZATION: 'ORGANIZATION'
|
|
23
|
+
ORGANIZATION: 'ORGANIZATION',
|
|
24
|
+
unknown_default_open_api: '11184809'
|
|
24
25
|
};
|
|
25
26
|
function PermissionResourceTypeFromJSON(json) {
|
|
26
27
|
return PermissionResourceTypeFromJSONTyped(json, false);
|