@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
package/src/index.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,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { PermissionResourceType } from './PermissionResourceType';
|
|
16
17
|
import {
|
|
17
|
-
PermissionResourceType,
|
|
18
18
|
PermissionResourceTypeFromJSON,
|
|
19
19
|
PermissionResourceTypeFromJSONTyped,
|
|
20
20
|
PermissionResourceTypeToJSON,
|
|
@@ -40,6 +40,17 @@ export interface ApplyPermissionsPayload {
|
|
|
40
40
|
resourceUuid: string;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ApplyPermissionsPayload interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfApplyPermissionsPayload(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "resourceType" in value;
|
|
49
|
+
isInstance = isInstance && "resourceUuid" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function ApplyPermissionsPayloadFromJSON(json: any): ApplyPermissionsPayload {
|
|
44
55
|
return ApplyPermissionsPayloadFromJSONTyped(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).
|
|
@@ -36,7 +36,7 @@ export interface AuthenticationUserAccount {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof AuthenticationUserAccount
|
|
38
38
|
*/
|
|
39
|
-
name
|
|
39
|
+
name: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
@@ -57,6 +57,21 @@ export interface AuthenticationUserAccount {
|
|
|
57
57
|
userAgreementRequested: boolean;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the AuthenticationUserAccount interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfAuthenticationUserAccount(value: object): boolean {
|
|
64
|
+
let isInstance = true;
|
|
65
|
+
isInstance = isInstance && "id" in value;
|
|
66
|
+
isInstance = isInstance && "uuid" in value;
|
|
67
|
+
isInstance = isInstance && "name" in value;
|
|
68
|
+
isInstance = isInstance && "email" in value;
|
|
69
|
+
isInstance = isInstance && "passwordResetRequired" in value;
|
|
70
|
+
isInstance = isInstance && "userAgreementRequested" in value;
|
|
71
|
+
|
|
72
|
+
return isInstance;
|
|
73
|
+
}
|
|
74
|
+
|
|
60
75
|
export function AuthenticationUserAccountFromJSON(json: any): AuthenticationUserAccount {
|
|
61
76
|
return AuthenticationUserAccountFromJSONTyped(json, false);
|
|
62
77
|
}
|
|
@@ -69,7 +84,7 @@ export function AuthenticationUserAccountFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
69
84
|
|
|
70
85
|
'id': json['id'],
|
|
71
86
|
'uuid': json['uuid'],
|
|
72
|
-
'name':
|
|
87
|
+
'name': json['name'],
|
|
73
88
|
'email': json['email'],
|
|
74
89
|
'passwordResetRequired': json['passwordResetRequired'],
|
|
75
90
|
'userAgreementRequested': json['userAgreementRequested'],
|
|
@@ -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 { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
16
17
|
import {
|
|
17
|
-
OAuthClientPublicKey,
|
|
18
18
|
OAuthClientPublicKeyFromJSON,
|
|
19
19
|
OAuthClientPublicKeyFromJSONTyped,
|
|
20
20
|
OAuthClientPublicKeyToJSON,
|
|
@@ -43,7 +43,7 @@ export interface CreateOrUpdateOAuthClientPayload {
|
|
|
43
43
|
* @type {boolean}
|
|
44
44
|
* @memberof CreateOrUpdateOAuthClientPayload
|
|
45
45
|
*/
|
|
46
|
-
trusted
|
|
46
|
+
trusted?: boolean | null;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {Array<string>}
|
|
@@ -85,13 +85,13 @@ export interface CreateOrUpdateOAuthClientPayload {
|
|
|
85
85
|
* @type {boolean}
|
|
86
86
|
* @memberof CreateOrUpdateOAuthClientPayload
|
|
87
87
|
*/
|
|
88
|
-
serviceAccount
|
|
88
|
+
serviceAccount?: boolean | null;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {boolean}
|
|
92
92
|
* @memberof CreateOrUpdateOAuthClientPayload
|
|
93
93
|
*/
|
|
94
|
-
serviceAccountDelegation
|
|
94
|
+
serviceAccountDelegation?: boolean | null;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {{ [key: string]: any; }}
|
|
@@ -100,6 +100,16 @@ export interface CreateOrUpdateOAuthClientPayload {
|
|
|
100
100
|
additionalTokenFields?: { [key: string]: any; } | null;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the CreateOrUpdateOAuthClientPayload interface.
|
|
105
|
+
*/
|
|
106
|
+
export function instanceOfCreateOrUpdateOAuthClientPayload(value: object): boolean {
|
|
107
|
+
let isInstance = true;
|
|
108
|
+
isInstance = isInstance && "name" in value;
|
|
109
|
+
|
|
110
|
+
return isInstance;
|
|
111
|
+
}
|
|
112
|
+
|
|
103
113
|
export function CreateOrUpdateOAuthClientPayloadFromJSON(json: any): CreateOrUpdateOAuthClientPayload {
|
|
104
114
|
return CreateOrUpdateOAuthClientPayloadFromJSONTyped(json, false);
|
|
105
115
|
}
|
|
@@ -112,15 +122,15 @@ export function CreateOrUpdateOAuthClientPayloadFromJSONTyped(json: any, ignoreD
|
|
|
112
122
|
|
|
113
123
|
'name': json['name'],
|
|
114
124
|
'clientSecret': !exists(json, 'clientSecret') ? undefined : json['clientSecret'],
|
|
115
|
-
'trusted': json['trusted'],
|
|
125
|
+
'trusted': !exists(json, 'trusted') ? undefined : json['trusted'],
|
|
116
126
|
'audiences': !exists(json, 'audiences') ? undefined : json['audiences'],
|
|
117
127
|
'redirectUris': !exists(json, 'redirectUris') ? undefined : json['redirectUris'],
|
|
118
128
|
'grantTypes': !exists(json, 'grantTypes') ? undefined : json['grantTypes'],
|
|
119
129
|
'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
|
|
120
130
|
'jwksUri': !exists(json, 'jwksUri') ? undefined : json['jwksUri'],
|
|
121
131
|
'publicKey': !exists(json, 'publicKey') ? undefined : OAuthClientPublicKeyFromJSON(json['publicKey']),
|
|
122
|
-
'serviceAccount': json['serviceAccount'],
|
|
123
|
-
'serviceAccountDelegation': json['serviceAccountDelegation'],
|
|
132
|
+
'serviceAccount': !exists(json, 'serviceAccount') ? undefined : json['serviceAccount'],
|
|
133
|
+
'serviceAccountDelegation': !exists(json, 'serviceAccountDelegation') ? undefined : json['serviceAccountDelegation'],
|
|
124
134
|
'additionalTokenFields': !exists(json, 'additionalTokenFields') ? undefined : json['additionalTokenFields'],
|
|
125
135
|
};
|
|
126
136
|
}
|
|
@@ -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,12 +13,18 @@
|
|
|
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 { OrganizationServiceProfile } from './OrganizationServiceProfile';
|
|
23
|
+
import {
|
|
24
|
+
OrganizationServiceProfileFromJSON,
|
|
25
|
+
OrganizationServiceProfileFromJSONTyped,
|
|
26
|
+
OrganizationServiceProfileToJSON,
|
|
27
|
+
} from './OrganizationServiceProfile';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* A request to create or update an organization
|
|
@@ -33,17 +39,25 @@ export interface CreateOrUpdateOrganizationPayload {
|
|
|
33
39
|
*/
|
|
34
40
|
name: LocalizedString;
|
|
35
41
|
/**
|
|
36
|
-
*
|
|
42
|
+
* Service profiles available for this organization.
|
|
43
|
+
* @type {Array<OrganizationServiceProfile>}
|
|
44
|
+
* @memberof CreateOrUpdateOrganizationPayload
|
|
45
|
+
*/
|
|
46
|
+
serviceProfiles: Array<OrganizationServiceProfile>;
|
|
47
|
+
/**
|
|
48
|
+
* These profiles will be added to serviceProfiles with EQUISOFT_CONNECT serviceCode
|
|
37
49
|
* @type {Array<string>}
|
|
38
50
|
* @memberof CreateOrUpdateOrganizationPayload
|
|
51
|
+
* @deprecated
|
|
39
52
|
*/
|
|
40
|
-
equisoftConnectProfiles
|
|
53
|
+
equisoftConnectProfiles?: Array<string> | null;
|
|
41
54
|
/**
|
|
42
|
-
*
|
|
55
|
+
* These profiles will be added to serviceProfiles with EQUISOFT_PLAN serviceCode
|
|
43
56
|
* @type {Array<string>}
|
|
44
57
|
* @memberof CreateOrUpdateOrganizationPayload
|
|
58
|
+
* @deprecated
|
|
45
59
|
*/
|
|
46
|
-
equisoftPlanProfiles
|
|
60
|
+
equisoftPlanProfiles?: Array<string> | null;
|
|
47
61
|
/**
|
|
48
62
|
*
|
|
49
63
|
* @type {string}
|
|
@@ -52,6 +66,17 @@ export interface CreateOrUpdateOrganizationPayload {
|
|
|
52
66
|
parentUuid?: string | null;
|
|
53
67
|
}
|
|
54
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the CreateOrUpdateOrganizationPayload interface.
|
|
71
|
+
*/
|
|
72
|
+
export function instanceOfCreateOrUpdateOrganizationPayload(value: object): boolean {
|
|
73
|
+
let isInstance = true;
|
|
74
|
+
isInstance = isInstance && "name" in value;
|
|
75
|
+
isInstance = isInstance && "serviceProfiles" in value;
|
|
76
|
+
|
|
77
|
+
return isInstance;
|
|
78
|
+
}
|
|
79
|
+
|
|
55
80
|
export function CreateOrUpdateOrganizationPayloadFromJSON(json: any): CreateOrUpdateOrganizationPayload {
|
|
56
81
|
return CreateOrUpdateOrganizationPayloadFromJSONTyped(json, false);
|
|
57
82
|
}
|
|
@@ -63,8 +88,9 @@ export function CreateOrUpdateOrganizationPayloadFromJSONTyped(json: any, ignore
|
|
|
63
88
|
return {
|
|
64
89
|
|
|
65
90
|
'name': LocalizedStringFromJSON(json['name']),
|
|
66
|
-
'
|
|
67
|
-
'
|
|
91
|
+
'serviceProfiles': ((json['serviceProfiles'] as Array<any>).map(OrganizationServiceProfileFromJSON)),
|
|
92
|
+
'equisoftConnectProfiles': !exists(json, 'equisoftConnectProfiles') ? undefined : json['equisoftConnectProfiles'],
|
|
93
|
+
'equisoftPlanProfiles': !exists(json, 'equisoftPlanProfiles') ? undefined : json['equisoftPlanProfiles'],
|
|
68
94
|
'parentUuid': !exists(json, 'parentUuid') ? undefined : json['parentUuid'],
|
|
69
95
|
};
|
|
70
96
|
}
|
|
@@ -79,6 +105,7 @@ export function CreateOrUpdateOrganizationPayloadToJSON(value?: CreateOrUpdateOr
|
|
|
79
105
|
return {
|
|
80
106
|
|
|
81
107
|
'name': LocalizedStringToJSON(value.name),
|
|
108
|
+
'serviceProfiles': ((value.serviceProfiles as Array<any>).map(OrganizationServiceProfileToJSON)),
|
|
82
109
|
'equisoftConnectProfiles': value.equisoftConnectProfiles,
|
|
83
110
|
'equisoftPlanProfiles': value.equisoftPlanProfiles,
|
|
84
111
|
'parentUuid': value.parentUuid,
|
|
@@ -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,
|
|
@@ -34,6 +34,16 @@ export interface CreateOrUpdatePermissionPayload {
|
|
|
34
34
|
name: LocalizedString;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CreateOrUpdatePermissionPayload interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfCreateOrUpdatePermissionPayload(value: object): boolean {
|
|
41
|
+
let isInstance = true;
|
|
42
|
+
isInstance = isInstance && "name" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
37
47
|
export function CreateOrUpdatePermissionPayloadFromJSON(json: any): CreateOrUpdatePermissionPayload {
|
|
38
48
|
return CreateOrUpdatePermissionPayloadFromJSONTyped(json, false);
|
|
39
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).
|
|
@@ -13,12 +13,18 @@
|
|
|
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 { OrganizationServiceProfile } from './OrganizationServiceProfile';
|
|
23
|
+
import {
|
|
24
|
+
OrganizationServiceProfileFromJSON,
|
|
25
|
+
OrganizationServiceProfileFromJSONTyped,
|
|
26
|
+
OrganizationServiceProfileToJSON,
|
|
27
|
+
} from './OrganizationServiceProfile';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* A request to create a new organization
|
|
@@ -33,17 +39,25 @@ export interface CreateOrganizationPayload {
|
|
|
33
39
|
*/
|
|
34
40
|
name: LocalizedString;
|
|
35
41
|
/**
|
|
36
|
-
*
|
|
42
|
+
* Service profiles available for this organization.
|
|
43
|
+
* @type {Array<OrganizationServiceProfile>}
|
|
44
|
+
* @memberof CreateOrganizationPayload
|
|
45
|
+
*/
|
|
46
|
+
serviceProfiles?: Array<OrganizationServiceProfile> | null;
|
|
47
|
+
/**
|
|
48
|
+
* These profiles will be added to serviceProfiles with EQUISOFT_CONNECT serviceCode
|
|
37
49
|
* @type {Array<string>}
|
|
38
50
|
* @memberof CreateOrganizationPayload
|
|
51
|
+
* @deprecated
|
|
39
52
|
*/
|
|
40
|
-
equisoftConnectProfiles
|
|
53
|
+
equisoftConnectProfiles?: Array<string> | null;
|
|
41
54
|
/**
|
|
42
|
-
*
|
|
55
|
+
* These profiles will be added to serviceProfiles with EQUISOFT_PLAN serviceCode
|
|
43
56
|
* @type {Array<string>}
|
|
44
57
|
* @memberof CreateOrganizationPayload
|
|
58
|
+
* @deprecated
|
|
45
59
|
*/
|
|
46
|
-
equisoftPlanProfiles
|
|
60
|
+
equisoftPlanProfiles?: Array<string> | null;
|
|
47
61
|
/**
|
|
48
62
|
*
|
|
49
63
|
* @type {string}
|
|
@@ -52,6 +66,16 @@ export interface CreateOrganizationPayload {
|
|
|
52
66
|
parentUuid?: string | null;
|
|
53
67
|
}
|
|
54
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the CreateOrganizationPayload interface.
|
|
71
|
+
*/
|
|
72
|
+
export function instanceOfCreateOrganizationPayload(value: object): boolean {
|
|
73
|
+
let isInstance = true;
|
|
74
|
+
isInstance = isInstance && "name" in value;
|
|
75
|
+
|
|
76
|
+
return isInstance;
|
|
77
|
+
}
|
|
78
|
+
|
|
55
79
|
export function CreateOrganizationPayloadFromJSON(json: any): CreateOrganizationPayload {
|
|
56
80
|
return CreateOrganizationPayloadFromJSONTyped(json, false);
|
|
57
81
|
}
|
|
@@ -63,8 +87,9 @@ export function CreateOrganizationPayloadFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
63
87
|
return {
|
|
64
88
|
|
|
65
89
|
'name': LocalizedStringFromJSON(json['name']),
|
|
66
|
-
'
|
|
67
|
-
'
|
|
90
|
+
'serviceProfiles': !exists(json, 'serviceProfiles') ? undefined : (json['serviceProfiles'] === null ? null : (json['serviceProfiles'] as Array<any>).map(OrganizationServiceProfileFromJSON)),
|
|
91
|
+
'equisoftConnectProfiles': !exists(json, 'equisoftConnectProfiles') ? undefined : json['equisoftConnectProfiles'],
|
|
92
|
+
'equisoftPlanProfiles': !exists(json, 'equisoftPlanProfiles') ? undefined : json['equisoftPlanProfiles'],
|
|
68
93
|
'parentUuid': !exists(json, 'parentUuid') ? undefined : json['parentUuid'],
|
|
69
94
|
};
|
|
70
95
|
}
|
|
@@ -79,6 +104,7 @@ export function CreateOrganizationPayloadToJSON(value?: CreateOrganizationPayloa
|
|
|
79
104
|
return {
|
|
80
105
|
|
|
81
106
|
'name': LocalizedStringToJSON(value.name),
|
|
107
|
+
'serviceProfiles': value.serviceProfiles === undefined ? undefined : (value.serviceProfiles === null ? null : (value.serviceProfiles as Array<any>).map(OrganizationServiceProfileToJSON)),
|
|
82
108
|
'equisoftConnectProfiles': value.equisoftConnectProfiles,
|
|
83
109
|
'equisoftPlanProfiles': value.equisoftPlanProfiles,
|
|
84
110
|
'parentUuid': value.parentUuid,
|
|
@@ -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).
|
|
@@ -24,7 +24,16 @@ export interface CreateOrganizationUserServiceOptionPayload {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof CreateOrganizationUserServiceOptionPayload
|
|
26
26
|
*/
|
|
27
|
-
option
|
|
27
|
+
option?: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateOrganizationUserServiceOptionPayload interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCreateOrganizationUserServiceOptionPayload(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
28
37
|
}
|
|
29
38
|
|
|
30
39
|
export function CreateOrganizationUserServiceOptionPayloadFromJSON(json: any): CreateOrganizationUserServiceOptionPayload {
|
|
@@ -37,7 +46,7 @@ export function CreateOrganizationUserServiceOptionPayloadFromJSONTyped(json: an
|
|
|
37
46
|
}
|
|
38
47
|
return {
|
|
39
48
|
|
|
40
|
-
'option': json['option'],
|
|
49
|
+
'option': !exists(json, 'option') ? undefined : json['option'],
|
|
41
50
|
};
|
|
42
51
|
}
|
|
43
52
|
|
|
@@ -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 CreateOrganizationUserServicePayload {
|
|
|
27
27
|
options?: { [key: string]: string; } | null;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateOrganizationUserServicePayload interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCreateOrganizationUserServicePayload(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
30
39
|
export function CreateOrganizationUserServicePayloadFromJSON(json: any): CreateOrganizationUserServicePayload {
|
|
31
40
|
return CreateOrganizationUserServicePayloadFromJSONTyped(json, false);
|
|
32
41
|
}
|
package/src/models/CreateRole.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,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 CreateRole {
|
|
|
40
40
|
permissions: Array<string>;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CreateRole interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfCreateRole(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "name" in value;
|
|
49
|
+
isInstance = isInstance && "permissions" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function CreateRoleFromJSON(json: any): CreateRole {
|
|
44
55
|
return CreateRoleFromJSONTyped(json, false);
|
|
45
56
|
}
|
|
@@ -0,0 +1,186 @@
|
|
|
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
|
+
import type { CreateUserAccountServiceAssociation } from './CreateUserAccountServiceAssociation';
|
|
17
|
+
import {
|
|
18
|
+
CreateUserAccountServiceAssociationFromJSON,
|
|
19
|
+
CreateUserAccountServiceAssociationFromJSONTyped,
|
|
20
|
+
CreateUserAccountServiceAssociationToJSON,
|
|
21
|
+
} from './CreateUserAccountServiceAssociation';
|
|
22
|
+
import type { PasswordPolicy } from './PasswordPolicy';
|
|
23
|
+
import {
|
|
24
|
+
PasswordPolicyFromJSON,
|
|
25
|
+
PasswordPolicyFromJSONTyped,
|
|
26
|
+
PasswordPolicyToJSON,
|
|
27
|
+
} from './PasswordPolicy';
|
|
28
|
+
import type { SessionPolicy } from './SessionPolicy';
|
|
29
|
+
import {
|
|
30
|
+
SessionPolicyFromJSON,
|
|
31
|
+
SessionPolicyFromJSONTyped,
|
|
32
|
+
SessionPolicyToJSON,
|
|
33
|
+
} from './SessionPolicy';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface CreateUserAccountPayload
|
|
39
|
+
*/
|
|
40
|
+
export interface CreateUserAccountPayload {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateUserAccountPayload
|
|
45
|
+
*/
|
|
46
|
+
email: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateUserAccountPayload
|
|
51
|
+
*/
|
|
52
|
+
givenName?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateUserAccountPayload
|
|
57
|
+
*/
|
|
58
|
+
familyName?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateUserAccountPayload
|
|
63
|
+
*/
|
|
64
|
+
displayName: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateUserAccountPayload
|
|
69
|
+
*/
|
|
70
|
+
sortName: string;
|
|
71
|
+
/**
|
|
72
|
+
* User locale IETF language tag
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateUserAccountPayload
|
|
75
|
+
*/
|
|
76
|
+
locale: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateUserAccountPayload
|
|
81
|
+
*/
|
|
82
|
+
mobilePhone?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof CreateUserAccountPayload
|
|
87
|
+
*/
|
|
88
|
+
userAgreementRequested: boolean;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof CreateUserAccountPayload
|
|
93
|
+
*/
|
|
94
|
+
deletable: boolean;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Array<CreateUserAccountServiceAssociation>}
|
|
98
|
+
* @memberof CreateUserAccountPayload
|
|
99
|
+
*/
|
|
100
|
+
services?: Array<CreateUserAccountServiceAssociation> | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {SessionPolicy}
|
|
104
|
+
* @memberof CreateUserAccountPayload
|
|
105
|
+
*/
|
|
106
|
+
sessionPolicy?: SessionPolicy | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {PasswordPolicy}
|
|
110
|
+
* @memberof CreateUserAccountPayload
|
|
111
|
+
*/
|
|
112
|
+
passwordPolicy?: PasswordPolicy | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {Array<string>}
|
|
116
|
+
* @memberof CreateUserAccountPayload
|
|
117
|
+
*/
|
|
118
|
+
legacyRoles?: Array<string> | null;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Check if a given object implements the CreateUserAccountPayload interface.
|
|
123
|
+
*/
|
|
124
|
+
export function instanceOfCreateUserAccountPayload(value: object): boolean {
|
|
125
|
+
let isInstance = true;
|
|
126
|
+
isInstance = isInstance && "email" in value;
|
|
127
|
+
isInstance = isInstance && "displayName" in value;
|
|
128
|
+
isInstance = isInstance && "sortName" in value;
|
|
129
|
+
isInstance = isInstance && "locale" in value;
|
|
130
|
+
isInstance = isInstance && "userAgreementRequested" in value;
|
|
131
|
+
isInstance = isInstance && "deletable" in value;
|
|
132
|
+
|
|
133
|
+
return isInstance;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function CreateUserAccountPayloadFromJSON(json: any): CreateUserAccountPayload {
|
|
137
|
+
return CreateUserAccountPayloadFromJSONTyped(json, false);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function CreateUserAccountPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUserAccountPayload {
|
|
141
|
+
if ((json === undefined) || (json === null)) {
|
|
142
|
+
return json;
|
|
143
|
+
}
|
|
144
|
+
return {
|
|
145
|
+
|
|
146
|
+
'email': json['email'],
|
|
147
|
+
'givenName': !exists(json, 'givenName') ? undefined : json['givenName'],
|
|
148
|
+
'familyName': !exists(json, 'familyName') ? undefined : json['familyName'],
|
|
149
|
+
'displayName': json['displayName'],
|
|
150
|
+
'sortName': json['sortName'],
|
|
151
|
+
'locale': json['locale'],
|
|
152
|
+
'mobilePhone': !exists(json, 'mobilePhone') ? undefined : json['mobilePhone'],
|
|
153
|
+
'userAgreementRequested': json['userAgreementRequested'],
|
|
154
|
+
'deletable': json['deletable'],
|
|
155
|
+
'services': !exists(json, 'services') ? undefined : (json['services'] === null ? null : (json['services'] as Array<any>).map(CreateUserAccountServiceAssociationFromJSON)),
|
|
156
|
+
'sessionPolicy': !exists(json, 'sessionPolicy') ? undefined : SessionPolicyFromJSON(json['sessionPolicy']),
|
|
157
|
+
'passwordPolicy': !exists(json, 'passwordPolicy') ? undefined : PasswordPolicyFromJSON(json['passwordPolicy']),
|
|
158
|
+
'legacyRoles': !exists(json, 'legacyRoles') ? undefined : json['legacyRoles'],
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export function CreateUserAccountPayloadToJSON(value?: CreateUserAccountPayload | null): any {
|
|
163
|
+
if (value === undefined) {
|
|
164
|
+
return undefined;
|
|
165
|
+
}
|
|
166
|
+
if (value === null) {
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
return {
|
|
170
|
+
|
|
171
|
+
'email': value.email,
|
|
172
|
+
'givenName': value.givenName,
|
|
173
|
+
'familyName': value.familyName,
|
|
174
|
+
'displayName': value.displayName,
|
|
175
|
+
'sortName': value.sortName,
|
|
176
|
+
'locale': value.locale,
|
|
177
|
+
'mobilePhone': value.mobilePhone,
|
|
178
|
+
'userAgreementRequested': value.userAgreementRequested,
|
|
179
|
+
'deletable': value.deletable,
|
|
180
|
+
'services': value.services === undefined ? undefined : (value.services === null ? null : (value.services as Array<any>).map(CreateUserAccountServiceAssociationToJSON)),
|
|
181
|
+
'sessionPolicy': SessionPolicyToJSON(value.sessionPolicy),
|
|
182
|
+
'passwordPolicy': PasswordPolicyToJSON(value.passwordPolicy),
|
|
183
|
+
'legacyRoles': value.legacyRoles,
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
|