@sonatype/nexus-repo-api-client 0.0.1 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/dist/apis/AssetsApi.js +12 -12
- package/dist/apis/AzureBlobStoreApi.js +1 -1
- package/dist/apis/BlobStoreApi.js +43 -43
- package/dist/apis/ComponentsApi.js +104 -104
- package/dist/apis/ContentSelectorsApi.js +11 -11
- package/dist/apis/EmailApi.js +6 -6
- package/dist/apis/FormatsApi.js +3 -3
- package/dist/apis/LifecycleApi.js +2 -2
- package/dist/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
- package/dist/apis/ProductLicensingApi.js +1 -1
- package/dist/apis/RepositoryManagementApi.js +346 -346
- package/dist/apis/RoutingRulesApi.js +15 -15
- package/dist/apis/ScriptApi.js +15 -15
- package/dist/apis/SearchApi.js +322 -322
- package/dist/apis/SecurityAtlassianCrowdApi.js +2 -2
- package/dist/apis/SecurityCertificatesApi.js +12 -12
- package/dist/apis/SecurityManagementAnonymousAccessApi.js +1 -1
- package/dist/apis/SecurityManagementLDAPApi.js +12 -12
- package/dist/apis/SecurityManagementPrivilegesApi.js +36 -36
- package/dist/apis/SecurityManagementRealmsApi.js +1 -1
- package/dist/apis/SecurityManagementRolesApi.js +19 -19
- package/dist/apis/SecurityManagementSAMLApi.js +1 -1
- package/dist/apis/SecurityManagementUserTokensApi.js +1 -1
- package/dist/apis/SecurityManagementUsersApi.js +21 -21
- package/dist/apis/StagingApi.js +203 -203
- package/dist/apis/SupportApi.js +2 -2
- package/dist/apis/TagsApi.js +221 -221
- package/dist/apis/TasksApi.js +11 -11
- package/dist/esm/apis/AssetsApi.js +12 -12
- package/dist/esm/apis/AzureBlobStoreApi.js +1 -1
- package/dist/esm/apis/BlobStoreApi.js +43 -43
- package/dist/esm/apis/ComponentsApi.js +104 -104
- package/dist/esm/apis/ContentSelectorsApi.js +11 -11
- package/dist/esm/apis/EmailApi.js +6 -6
- package/dist/esm/apis/FormatsApi.js +3 -3
- package/dist/esm/apis/LifecycleApi.js +2 -2
- package/dist/esm/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
- package/dist/esm/apis/ProductLicensingApi.js +1 -1
- package/dist/esm/apis/RepositoryManagementApi.js +346 -346
- package/dist/esm/apis/RoutingRulesApi.js +15 -15
- package/dist/esm/apis/ScriptApi.js +15 -15
- package/dist/esm/apis/SearchApi.js +322 -322
- package/dist/esm/apis/SecurityAtlassianCrowdApi.js +2 -2
- package/dist/esm/apis/SecurityCertificatesApi.js +12 -12
- package/dist/esm/apis/SecurityManagementAnonymousAccessApi.js +1 -1
- package/dist/esm/apis/SecurityManagementLDAPApi.js +12 -12
- package/dist/esm/apis/SecurityManagementPrivilegesApi.js +36 -36
- package/dist/esm/apis/SecurityManagementRealmsApi.js +1 -1
- package/dist/esm/apis/SecurityManagementRolesApi.js +19 -19
- package/dist/esm/apis/SecurityManagementSAMLApi.js +1 -1
- package/dist/esm/apis/SecurityManagementUserTokensApi.js +1 -1
- package/dist/esm/apis/SecurityManagementUsersApi.js +21 -21
- package/dist/esm/apis/StagingApi.js +203 -203
- package/dist/esm/apis/SupportApi.js +2 -2
- package/dist/esm/apis/TagsApi.js +221 -221
- package/dist/esm/apis/TasksApi.js +11 -11
- package/dist/esm/models/AbstractApiRepository.js +19 -15
- package/dist/esm/models/AnonymousAccessSettingsXO.js +15 -10
- package/dist/esm/models/ApiCertificate.js +33 -28
- package/dist/esm/models/ApiCreateUser.js +23 -19
- package/dist/esm/models/ApiEmailConfiguration.js +33 -29
- package/dist/esm/models/ApiEmailValidation.js +13 -8
- package/dist/esm/models/ApiLicenseDetailsXO.js +27 -22
- package/dist/esm/models/ApiPrivilege.js +17 -12
- package/dist/esm/models/ApiPrivilegeApplicationRequest.js +17 -12
- package/dist/esm/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
- package/dist/esm/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
- package/dist/esm/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
- package/dist/esm/models/ApiPrivilegeScriptRequest.js +17 -12
- package/dist/esm/models/ApiPrivilegeWildcardRequest.js +15 -10
- package/dist/esm/models/ApiUser.js +27 -23
- package/dist/esm/models/ApiUserSource.js +13 -8
- package/dist/esm/models/AptHostedApiRepository.js +23 -22
- package/dist/esm/models/AptHostedRepositoriesAttributes.js +11 -6
- package/dist/esm/models/AptHostedRepositoryApiRequest.js +23 -23
- package/dist/esm/models/AptProxyApiRepository.js +29 -30
- package/dist/esm/models/AptProxyRepositoriesAttributes.js +13 -9
- package/dist/esm/models/AptProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/AptSigningRepositoriesAttributes.js +13 -8
- package/dist/esm/models/AssetXO.js +35 -30
- package/dist/esm/models/AzureBlobStoreApiAuthentication.js +13 -9
- package/dist/esm/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
- package/dist/esm/models/AzureBlobStoreApiModel.js +15 -12
- package/dist/esm/models/AzureConnectionXO.js +17 -12
- package/dist/esm/models/BaseTagXO.js +11 -6
- package/dist/esm/models/BlobStoreApiSoftQuota.js +13 -8
- package/dist/esm/models/BlobStoreQuotaResultXO.js +15 -10
- package/dist/esm/models/BowerAttributes.js +10 -7
- package/dist/esm/models/BowerGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/BowerHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/BowerProxyApiRepository.js +29 -29
- package/dist/esm/models/BowerProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/CleanupPolicyAttributes.js +11 -6
- package/dist/esm/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/ComponentAttributes.js +11 -6
- package/dist/esm/models/ComponentXO.js +23 -18
- package/dist/esm/models/ConanProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/CondaProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/ContentSelectorApiCreateRequest.js +15 -10
- package/dist/esm/models/ContentSelectorApiResponse.js +17 -12
- package/dist/esm/models/ContentSelectorApiUpdateRequest.js +13 -8
- package/dist/esm/models/CreateLdapServerXo.js +69 -75
- package/dist/esm/models/CrowdApiXO.js +23 -20
- package/dist/esm/models/DockerAttributes.js +19 -16
- package/dist/esm/models/DockerGroupApiRepository.js +19 -18
- package/dist/esm/models/DockerGroupRepositoryApiRequest.js +18 -19
- package/dist/esm/models/DockerHostedApiRepository.js +21 -19
- package/dist/esm/models/DockerHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/DockerHostedStorageAttributes.js +17 -15
- package/dist/esm/models/DockerProxyApiRepository.js +31 -33
- package/dist/esm/models/DockerProxyAttributes.js +17 -12
- package/dist/esm/models/DockerProxyRepositoryApiRequest.js +31 -34
- package/dist/esm/models/FileBlobStoreApiCreateRequest.js +15 -10
- package/dist/esm/models/FileBlobStoreApiModel.js +13 -8
- package/dist/esm/models/FileBlobStoreApiUpdateRequest.js +13 -8
- package/dist/esm/models/GenericBlobStoreApiResponse.js +23 -18
- package/dist/esm/models/GitLfsHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/GolangGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/GolangProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/GroupAttributes.js +11 -6
- package/dist/esm/models/GroupBlobStoreApiCreateRequest.js +17 -12
- package/dist/esm/models/GroupBlobStoreApiModel.js +15 -10
- package/dist/esm/models/GroupBlobStoreApiResponse.js +17 -12
- package/dist/esm/models/GroupBlobStoreApiUpdateRequest.js +15 -10
- package/dist/esm/models/GroupDeployAttributes.js +13 -8
- package/dist/esm/models/HelmHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/HelmProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/HostedStorageAttributes.js +14 -13
- package/dist/esm/models/HttpClientAttributes.js +17 -14
- package/dist/esm/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
- package/dist/esm/models/HttpClientConnectionAttributes.js +21 -16
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
- package/dist/esm/models/IqConnectionVerificationXo.js +13 -8
- package/dist/esm/models/IqConnectionXo.js +29 -25
- package/dist/esm/models/MavenAttributes.js +15 -10
- package/dist/esm/models/MavenGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/MavenHostedApiRepository.js +27 -25
- package/dist/esm/models/MavenHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/MavenProxyApiRepository.js +35 -36
- package/dist/esm/models/MavenProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/NegativeCacheAttributes.js +12 -10
- package/dist/esm/models/NpmAttributes.js +10 -7
- package/dist/esm/models/NpmGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/NpmHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/NpmProxyApiRepository.js +29 -29
- package/dist/esm/models/NpmProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/NugetAttributes.js +13 -8
- package/dist/esm/models/NugetGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/NugetHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/NugetProxyApiRepository.js +29 -30
- package/dist/esm/models/NugetProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/P2ProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/Page.js +13 -8
- package/dist/esm/models/PageAssetXO.js +13 -8
- package/dist/esm/models/PageComponentXO.js +13 -8
- package/dist/esm/models/PageTagXO.js +13 -8
- package/dist/esm/models/PageTaskXO.js +13 -8
- package/dist/esm/models/ProxyAttributes.js +15 -12
- package/dist/esm/models/PyPiProxyAttributes.js +10 -7
- package/dist/esm/models/PypiGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/PypiHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/PypiProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/RGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/RHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/RProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/RawAttributes.js +11 -6
- package/dist/esm/models/RawGroupRepositoryApiRequest.js +19 -18
- package/dist/esm/models/RawHostedRepositoryApiRequest.js +21 -19
- package/dist/esm/models/RawProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/ReadLdapServerXo.js +71 -76
- package/dist/esm/models/ReadOnlyState.js +15 -10
- package/dist/esm/models/RealmApiXO.js +13 -8
- package/dist/esm/models/ReplicationAttributes.js +13 -9
- package/dist/esm/models/RepositoryXO.js +19 -14
- package/dist/esm/models/Result.js +23 -18
- package/dist/esm/models/RoleXORequest.js +19 -14
- package/dist/esm/models/RoleXOResponse.js +23 -18
- package/dist/esm/models/RoutingRuleXO.js +17 -12
- package/dist/esm/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
- package/dist/esm/models/S3BlobStoreApiBucket.js +17 -15
- package/dist/esm/models/S3BlobStoreApiBucketConfiguration.js +17 -13
- package/dist/esm/models/S3BlobStoreApiBucketSecurity.js +17 -12
- package/dist/esm/models/S3BlobStoreApiEncryption.js +13 -8
- package/dist/esm/models/S3BlobStoreApiModel.js +16 -13
- package/dist/esm/models/SamlConfigurationXO.js +27 -24
- package/dist/esm/models/ScriptResultXO.js +13 -8
- package/dist/esm/models/ScriptXO.js +15 -10
- package/dist/esm/models/SimpleApiGroupDeployRepository.js +15 -13
- package/dist/esm/models/SimpleApiGroupRepository.js +23 -21
- package/dist/esm/models/SimpleApiHostedRepository.js +19 -16
- package/dist/esm/models/SimpleApiProxyRepository.js +27 -27
- package/dist/esm/models/StackTraceElement.js +19 -14
- package/dist/esm/models/StorageAttributes.js +15 -12
- package/dist/esm/models/SupportZipGeneratorRequest.js +35 -30
- package/dist/esm/models/SupportZipXO.js +17 -12
- package/dist/esm/models/TagXO.js +17 -13
- package/dist/esm/models/TaskXO.js +25 -20
- package/dist/esm/models/Throwable.js +19 -14
- package/dist/esm/models/UpdateLdapServerXo.js +71 -77
- package/dist/esm/models/UploadComponentRequest.js +97 -92
- package/dist/esm/models/UploadDefinitionXO.js +17 -12
- package/dist/esm/models/UploadFieldDefinitionXO.js +19 -14
- package/dist/esm/models/UserTokensApiModel.js +13 -8
- package/dist/esm/models/YumAttributes.js +13 -9
- package/dist/esm/models/YumGroupRepositoryApiRequest.js +19 -18
- package/dist/esm/models/YumHostedApiRepository.js +21 -19
- package/dist/esm/models/YumHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/YumProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/YumSigningRepositoriesAttributes.js +13 -8
- package/dist/esm/runtime.d.ts +1 -0
- package/dist/esm/runtime.js +4 -0
- package/dist/models/AbstractApiRepository.js +19 -15
- package/dist/models/AnonymousAccessSettingsXO.js +15 -10
- package/dist/models/ApiCertificate.js +33 -28
- package/dist/models/ApiCreateUser.js +23 -19
- package/dist/models/ApiEmailConfiguration.js +33 -29
- package/dist/models/ApiEmailValidation.js +13 -8
- package/dist/models/ApiLicenseDetailsXO.js +27 -22
- package/dist/models/ApiPrivilege.js +17 -12
- package/dist/models/ApiPrivilegeApplicationRequest.js +17 -12
- package/dist/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
- package/dist/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
- package/dist/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
- package/dist/models/ApiPrivilegeScriptRequest.js +17 -12
- package/dist/models/ApiPrivilegeWildcardRequest.js +15 -10
- package/dist/models/ApiUser.js +27 -23
- package/dist/models/ApiUserSource.js +13 -8
- package/dist/models/AptHostedApiRepository.js +23 -22
- package/dist/models/AptHostedRepositoriesAttributes.js +11 -6
- package/dist/models/AptHostedRepositoryApiRequest.js +23 -23
- package/dist/models/AptProxyApiRepository.js +29 -30
- package/dist/models/AptProxyRepositoriesAttributes.js +13 -9
- package/dist/models/AptProxyRepositoryApiRequest.js +29 -31
- package/dist/models/AptSigningRepositoriesAttributes.js +13 -8
- package/dist/models/AssetXO.js +35 -30
- package/dist/models/AzureBlobStoreApiAuthentication.js +13 -9
- package/dist/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
- package/dist/models/AzureBlobStoreApiModel.js +15 -12
- package/dist/models/AzureConnectionXO.js +17 -12
- package/dist/models/BaseTagXO.js +11 -6
- package/dist/models/BlobStoreApiSoftQuota.js +13 -8
- package/dist/models/BlobStoreQuotaResultXO.js +15 -10
- package/dist/models/BowerAttributes.js +10 -7
- package/dist/models/BowerGroupRepositoryApiRequest.js +16 -16
- package/dist/models/BowerHostedRepositoryApiRequest.js +19 -17
- package/dist/models/BowerProxyApiRepository.js +29 -29
- package/dist/models/BowerProxyRepositoryApiRequest.js +29 -30
- package/dist/models/CleanupPolicyAttributes.js +11 -6
- package/dist/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
- package/dist/models/ComponentAttributes.js +11 -6
- package/dist/models/ComponentXO.js +23 -18
- package/dist/models/ConanProxyRepositoryApiRequest.js +27 -28
- package/dist/models/CondaProxyRepositoryApiRequest.js +27 -28
- package/dist/models/ContentSelectorApiCreateRequest.js +15 -10
- package/dist/models/ContentSelectorApiResponse.js +17 -12
- package/dist/models/ContentSelectorApiUpdateRequest.js +13 -8
- package/dist/models/CreateLdapServerXo.js +69 -75
- package/dist/models/CrowdApiXO.js +23 -20
- package/dist/models/DockerAttributes.js +19 -16
- package/dist/models/DockerGroupApiRepository.js +19 -18
- package/dist/models/DockerGroupRepositoryApiRequest.js +18 -19
- package/dist/models/DockerHostedApiRepository.js +21 -19
- package/dist/models/DockerHostedRepositoryApiRequest.js +21 -20
- package/dist/models/DockerHostedStorageAttributes.js +17 -15
- package/dist/models/DockerProxyApiRepository.js +31 -33
- package/dist/models/DockerProxyAttributes.js +17 -12
- package/dist/models/DockerProxyRepositoryApiRequest.js +31 -34
- package/dist/models/FileBlobStoreApiCreateRequest.js +15 -10
- package/dist/models/FileBlobStoreApiModel.js +13 -8
- package/dist/models/FileBlobStoreApiUpdateRequest.js +13 -8
- package/dist/models/GenericBlobStoreApiResponse.js +23 -18
- package/dist/models/GitLfsHostedRepositoryApiRequest.js +19 -17
- package/dist/models/GolangGroupRepositoryApiRequest.js +16 -16
- package/dist/models/GolangProxyRepositoryApiRequest.js +27 -28
- package/dist/models/GroupAttributes.js +11 -6
- package/dist/models/GroupBlobStoreApiCreateRequest.js +17 -12
- package/dist/models/GroupBlobStoreApiModel.js +15 -10
- package/dist/models/GroupBlobStoreApiResponse.js +17 -12
- package/dist/models/GroupBlobStoreApiUpdateRequest.js +15 -10
- package/dist/models/GroupDeployAttributes.js +13 -8
- package/dist/models/HelmHostedRepositoryApiRequest.js +19 -17
- package/dist/models/HelmProxyRepositoryApiRequest.js +27 -28
- package/dist/models/HostedStorageAttributes.js +14 -13
- package/dist/models/HttpClientAttributes.js +17 -14
- package/dist/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
- package/dist/models/HttpClientConnectionAttributes.js +21 -16
- package/dist/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
- package/dist/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
- package/dist/models/IqConnectionVerificationXo.js +13 -8
- package/dist/models/IqConnectionXo.js +29 -25
- package/dist/models/MavenAttributes.js +15 -10
- package/dist/models/MavenGroupRepositoryApiRequest.js +16 -16
- package/dist/models/MavenHostedApiRepository.js +27 -25
- package/dist/models/MavenHostedRepositoryApiRequest.js +21 -20
- package/dist/models/MavenProxyApiRepository.js +35 -36
- package/dist/models/MavenProxyRepositoryApiRequest.js +29 -31
- package/dist/models/NegativeCacheAttributes.js +12 -10
- package/dist/models/NpmAttributes.js +10 -7
- package/dist/models/NpmGroupRepositoryApiRequest.js +16 -16
- package/dist/models/NpmHostedRepositoryApiRequest.js +19 -17
- package/dist/models/NpmProxyApiRepository.js +29 -29
- package/dist/models/NpmProxyRepositoryApiRequest.js +29 -30
- package/dist/models/NugetAttributes.js +13 -8
- package/dist/models/NugetGroupRepositoryApiRequest.js +16 -16
- package/dist/models/NugetHostedRepositoryApiRequest.js +19 -17
- package/dist/models/NugetProxyApiRepository.js +29 -30
- package/dist/models/NugetProxyRepositoryApiRequest.js +29 -31
- package/dist/models/P2ProxyRepositoryApiRequest.js +27 -28
- package/dist/models/Page.js +13 -8
- package/dist/models/PageAssetXO.js +13 -8
- package/dist/models/PageComponentXO.js +13 -8
- package/dist/models/PageTagXO.js +13 -8
- package/dist/models/PageTaskXO.js +13 -8
- package/dist/models/ProxyAttributes.js +15 -12
- package/dist/models/PyPiProxyAttributes.js +10 -7
- package/dist/models/PypiGroupRepositoryApiRequest.js +16 -16
- package/dist/models/PypiHostedRepositoryApiRequest.js +19 -17
- package/dist/models/PypiProxyRepositoryApiRequest.js +29 -30
- package/dist/models/RGroupRepositoryApiRequest.js +16 -16
- package/dist/models/RHostedRepositoryApiRequest.js +19 -17
- package/dist/models/RProxyRepositoryApiRequest.js +27 -28
- package/dist/models/RawAttributes.js +11 -6
- package/dist/models/RawGroupRepositoryApiRequest.js +19 -18
- package/dist/models/RawHostedRepositoryApiRequest.js +21 -19
- package/dist/models/RawProxyRepositoryApiRequest.js +29 -30
- package/dist/models/ReadLdapServerXo.js +71 -76
- package/dist/models/ReadOnlyState.js +15 -10
- package/dist/models/RealmApiXO.js +13 -8
- package/dist/models/ReplicationAttributes.js +13 -9
- package/dist/models/RepositoryXO.js +19 -14
- package/dist/models/Result.js +23 -18
- package/dist/models/RoleXORequest.js +19 -14
- package/dist/models/RoleXOResponse.js +23 -18
- package/dist/models/RoutingRuleXO.js +17 -12
- package/dist/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
- package/dist/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
- package/dist/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
- package/dist/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
- package/dist/models/S3BlobStoreApiBucket.js +17 -15
- package/dist/models/S3BlobStoreApiBucketConfiguration.js +17 -13
- package/dist/models/S3BlobStoreApiBucketSecurity.js +17 -12
- package/dist/models/S3BlobStoreApiEncryption.js +13 -8
- package/dist/models/S3BlobStoreApiModel.js +16 -13
- package/dist/models/SamlConfigurationXO.js +27 -24
- package/dist/models/ScriptResultXO.js +13 -8
- package/dist/models/ScriptXO.js +15 -10
- package/dist/models/SimpleApiGroupDeployRepository.js +15 -13
- package/dist/models/SimpleApiGroupRepository.js +23 -21
- package/dist/models/SimpleApiHostedRepository.js +19 -16
- package/dist/models/SimpleApiProxyRepository.js +27 -27
- package/dist/models/StackTraceElement.js +19 -14
- package/dist/models/StorageAttributes.js +15 -12
- package/dist/models/SupportZipGeneratorRequest.js +35 -30
- package/dist/models/SupportZipXO.js +17 -12
- package/dist/models/TagXO.js +17 -13
- package/dist/models/TaskXO.js +25 -20
- package/dist/models/Throwable.js +19 -14
- package/dist/models/UpdateLdapServerXo.js +71 -77
- package/dist/models/UploadComponentRequest.js +97 -92
- package/dist/models/UploadDefinitionXO.js +17 -12
- package/dist/models/UploadFieldDefinitionXO.js +19 -14
- package/dist/models/UserTokensApiModel.js +13 -8
- package/dist/models/YumAttributes.js +13 -9
- package/dist/models/YumGroupRepositoryApiRequest.js +19 -18
- package/dist/models/YumHostedApiRepository.js +21 -19
- package/dist/models/YumHostedRepositoryApiRequest.js +21 -20
- package/dist/models/YumProxyRepositoryApiRequest.js +29 -30
- package/dist/models/YumSigningRepositoriesAttributes.js +13 -8
- package/dist/runtime.d.ts +1 -0
- package/dist/runtime.js +6 -1
- package/package.json +1 -1
- package/src/apis/AssetsApi.ts +12 -21
- package/src/apis/AzureBlobStoreApi.ts +1 -1
- package/src/apis/BlobStoreApi.ts +43 -79
- package/src/apis/ComponentsApi.ts +104 -116
- package/src/apis/ContentSelectorsApi.ts +11 -20
- package/src/apis/EmailApi.ts +6 -12
- package/src/apis/FormatsApi.ts +3 -6
- package/src/apis/LifecycleApi.ts +2 -2
- package/src/apis/ManageSonatypeRepositoryFirewallConfigurationApi.ts +1 -1
- package/src/apis/ProductLicensingApi.ts +1 -1
- package/src/apis/RepositoryManagementApi.ts +346 -610
- package/src/apis/RoutingRulesApi.ts +15 -30
- package/src/apis/ScriptApi.ts +15 -27
- package/src/apis/SearchApi.ts +322 -322
- package/src/apis/SecurityAtlassianCrowdApi.ts +2 -2
- package/src/apis/SecurityCertificatesApi.ts +12 -18
- package/src/apis/SecurityManagementAnonymousAccessApi.ts +1 -1
- package/src/apis/SecurityManagementLDAPApi.ts +12 -21
- package/src/apis/SecurityManagementPrivilegesApi.ts +36 -60
- package/src/apis/SecurityManagementRealmsApi.ts +1 -1
- package/src/apis/SecurityManagementRolesApi.ts +19 -34
- package/src/apis/SecurityManagementSAMLApi.ts +1 -1
- package/src/apis/SecurityManagementUserTokensApi.ts +1 -1
- package/src/apis/SecurityManagementUsersApi.ts +21 -36
- package/src/apis/StagingApi.ts +203 -206
- package/src/apis/SupportApi.ts +2 -2
- package/src/apis/TagsApi.ts +221 -236
- package/src/apis/TasksApi.ts +11 -20
- package/src/models/AbstractApiRepository.ts +20 -15
- package/src/models/AnonymousAccessSettingsXO.ts +16 -11
- package/src/models/ApiCertificate.ts +34 -29
- package/src/models/ApiCreateUser.ts +24 -19
- package/src/models/ApiEmailConfiguration.ts +34 -29
- package/src/models/ApiEmailValidation.ts +14 -9
- package/src/models/ApiLicenseDetailsXO.ts +28 -23
- package/src/models/ApiPrivilege.ts +18 -13
- package/src/models/ApiPrivilegeApplicationRequest.ts +18 -13
- package/src/models/ApiPrivilegeRepositoryAdminRequest.ts +20 -15
- package/src/models/ApiPrivilegeRepositoryContentSelectorRequest.ts +22 -17
- package/src/models/ApiPrivilegeRepositoryViewRequest.ts +20 -15
- package/src/models/ApiPrivilegeScriptRequest.ts +18 -13
- package/src/models/ApiPrivilegeWildcardRequest.ts +16 -11
- package/src/models/ApiUser.ts +28 -23
- package/src/models/ApiUserSource.ts +14 -9
- package/src/models/AptHostedApiRepository.ts +24 -19
- package/src/models/AptHostedRepositoriesAttributes.ts +12 -7
- package/src/models/AptHostedRepositoryApiRequest.ts +24 -19
- package/src/models/AptProxyApiRepository.ts +30 -25
- package/src/models/AptProxyRepositoriesAttributes.ts +14 -9
- package/src/models/AptProxyRepositoryApiRequest.ts +30 -25
- package/src/models/AptSigningRepositoriesAttributes.ts +14 -9
- package/src/models/AssetXO.ts +36 -31
- package/src/models/AzureBlobStoreApiAuthentication.ts +14 -9
- package/src/models/AzureBlobStoreApiBucketConfiguration.ts +16 -11
- package/src/models/AzureBlobStoreApiModel.ts +16 -11
- package/src/models/AzureConnectionXO.ts +18 -13
- package/src/models/BaseTagXO.ts +12 -7
- package/src/models/BlobStoreApiSoftQuota.ts +14 -9
- package/src/models/BlobStoreQuotaResultXO.ts +16 -11
- package/src/models/BowerAttributes.ts +12 -7
- package/src/models/BowerGroupRepositoryApiRequest.ts +18 -13
- package/src/models/BowerHostedRepositoryApiRequest.ts +20 -15
- package/src/models/BowerProxyApiRepository.ts +30 -25
- package/src/models/BowerProxyRepositoryApiRequest.ts +30 -25
- package/src/models/CleanupPolicyAttributes.ts +12 -7
- package/src/models/CocoapodsProxyRepositoryApiRequest.ts +28 -23
- package/src/models/ComponentAttributes.ts +12 -7
- package/src/models/ComponentXO.ts +24 -19
- package/src/models/ConanProxyRepositoryApiRequest.ts +28 -23
- package/src/models/CondaProxyRepositoryApiRequest.ts +28 -23
- package/src/models/ContentSelectorApiCreateRequest.ts +16 -11
- package/src/models/ContentSelectorApiResponse.ts +18 -13
- package/src/models/ContentSelectorApiUpdateRequest.ts +14 -9
- package/src/models/CreateLdapServerXo.ts +70 -65
- package/src/models/CrowdApiXO.ts +24 -19
- package/src/models/DockerAttributes.ts +20 -15
- package/src/models/DockerGroupApiRepository.ts +20 -15
- package/src/models/DockerGroupRepositoryApiRequest.ts +20 -15
- package/src/models/DockerHostedApiRepository.ts +22 -17
- package/src/models/DockerHostedRepositoryApiRequest.ts +22 -17
- package/src/models/DockerHostedStorageAttributes.ts +18 -13
- package/src/models/DockerProxyApiRepository.ts +32 -27
- package/src/models/DockerProxyAttributes.ts +18 -13
- package/src/models/DockerProxyRepositoryApiRequest.ts +32 -27
- package/src/models/FileBlobStoreApiCreateRequest.ts +16 -11
- package/src/models/FileBlobStoreApiModel.ts +14 -9
- package/src/models/FileBlobStoreApiUpdateRequest.ts +14 -9
- package/src/models/GenericBlobStoreApiResponse.ts +24 -19
- package/src/models/GitLfsHostedRepositoryApiRequest.ts +20 -15
- package/src/models/GolangGroupRepositoryApiRequest.ts +18 -13
- package/src/models/GolangProxyRepositoryApiRequest.ts +28 -23
- package/src/models/GroupAttributes.ts +12 -7
- package/src/models/GroupBlobStoreApiCreateRequest.ts +18 -13
- package/src/models/GroupBlobStoreApiModel.ts +16 -11
- package/src/models/GroupBlobStoreApiResponse.ts +18 -13
- package/src/models/GroupBlobStoreApiUpdateRequest.ts +16 -11
- package/src/models/GroupDeployAttributes.ts +14 -9
- package/src/models/HelmHostedRepositoryApiRequest.ts +20 -15
- package/src/models/HelmProxyRepositoryApiRequest.ts +28 -23
- package/src/models/HostedStorageAttributes.ts +16 -11
- package/src/models/HttpClientAttributes.ts +18 -13
- package/src/models/HttpClientAttributesWithPreemptiveAuth.ts +18 -13
- package/src/models/HttpClientConnectionAttributes.ts +22 -17
- package/src/models/HttpClientConnectionAuthenticationAttributes.ts +22 -17
- package/src/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.ts +22 -17
- package/src/models/IqConnectionVerificationXo.ts +14 -9
- package/src/models/IqConnectionXo.ts +30 -25
- package/src/models/MavenAttributes.ts +16 -11
- package/src/models/MavenGroupRepositoryApiRequest.ts +18 -13
- package/src/models/MavenHostedApiRepository.ts +28 -23
- package/src/models/MavenHostedRepositoryApiRequest.ts +22 -17
- package/src/models/MavenProxyApiRepository.ts +36 -31
- package/src/models/MavenProxyRepositoryApiRequest.ts +30 -25
- package/src/models/NegativeCacheAttributes.ts +14 -9
- package/src/models/NpmAttributes.ts +12 -7
- package/src/models/NpmGroupRepositoryApiRequest.ts +18 -13
- package/src/models/NpmHostedRepositoryApiRequest.ts +20 -15
- package/src/models/NpmProxyApiRepository.ts +30 -25
- package/src/models/NpmProxyRepositoryApiRequest.ts +30 -25
- package/src/models/NugetAttributes.ts +14 -9
- package/src/models/NugetGroupRepositoryApiRequest.ts +18 -13
- package/src/models/NugetHostedRepositoryApiRequest.ts +20 -15
- package/src/models/NugetProxyApiRepository.ts +30 -25
- package/src/models/NugetProxyRepositoryApiRequest.ts +30 -25
- package/src/models/P2ProxyRepositoryApiRequest.ts +28 -23
- package/src/models/Page.ts +14 -9
- package/src/models/PageAssetXO.ts +14 -9
- package/src/models/PageComponentXO.ts +14 -9
- package/src/models/PageTagXO.ts +14 -9
- package/src/models/PageTaskXO.ts +14 -9
- package/src/models/ProxyAttributes.ts +16 -11
- package/src/models/PyPiProxyAttributes.ts +12 -7
- package/src/models/PypiGroupRepositoryApiRequest.ts +18 -13
- package/src/models/PypiHostedRepositoryApiRequest.ts +20 -15
- package/src/models/PypiProxyRepositoryApiRequest.ts +30 -25
- package/src/models/RGroupRepositoryApiRequest.ts +18 -13
- package/src/models/RHostedRepositoryApiRequest.ts +20 -15
- package/src/models/RProxyRepositoryApiRequest.ts +28 -23
- package/src/models/RawAttributes.ts +12 -7
- package/src/models/RawGroupRepositoryApiRequest.ts +20 -15
- package/src/models/RawHostedRepositoryApiRequest.ts +22 -17
- package/src/models/RawProxyRepositoryApiRequest.ts +30 -25
- package/src/models/ReadLdapServerXo.ts +72 -67
- package/src/models/ReadOnlyState.ts +16 -11
- package/src/models/RealmApiXO.ts +14 -9
- package/src/models/ReplicationAttributes.ts +14 -9
- package/src/models/RepositoryXO.ts +20 -15
- package/src/models/Result.ts +24 -19
- package/src/models/RoleXORequest.ts +20 -15
- package/src/models/RoleXOResponse.ts +24 -19
- package/src/models/RoutingRuleXO.ts +18 -13
- package/src/models/RubyGemsGroupRepositoryApiRequest.ts +18 -13
- package/src/models/RubyGemsHostedRepositoryApiRequest.ts +20 -15
- package/src/models/RubyGemsProxyRepositoryApiRequest.ts +28 -23
- package/src/models/S3BlobStoreApiAdvancedBucketConnection.ts +18 -13
- package/src/models/S3BlobStoreApiBucket.ts +18 -13
- package/src/models/S3BlobStoreApiBucketConfiguration.ts +18 -13
- package/src/models/S3BlobStoreApiBucketSecurity.ts +18 -13
- package/src/models/S3BlobStoreApiEncryption.ts +14 -9
- package/src/models/S3BlobStoreApiModel.ts +17 -12
- package/src/models/SamlConfigurationXO.ts +28 -23
- package/src/models/ScriptResultXO.ts +14 -9
- package/src/models/ScriptXO.ts +16 -11
- package/src/models/SimpleApiGroupDeployRepository.ts +16 -11
- package/src/models/SimpleApiGroupRepository.ts +24 -19
- package/src/models/SimpleApiHostedRepository.ts +20 -15
- package/src/models/SimpleApiProxyRepository.ts +28 -23
- package/src/models/StackTraceElement.ts +20 -15
- package/src/models/StorageAttributes.ts +16 -11
- package/src/models/SupportZipGeneratorRequest.ts +36 -31
- package/src/models/SupportZipXO.ts +18 -13
- package/src/models/TagXO.ts +18 -13
- package/src/models/TaskXO.ts +26 -21
- package/src/models/Throwable.ts +20 -15
- package/src/models/UpdateLdapServerXo.ts +72 -67
- package/src/models/UploadComponentRequest.ts +98 -93
- package/src/models/UploadDefinitionXO.ts +18 -13
- package/src/models/UploadFieldDefinitionXO.ts +20 -15
- package/src/models/UserTokensApiModel.ts +14 -9
- package/src/models/YumAttributes.ts +14 -9
- package/src/models/YumGroupRepositoryApiRequest.ts +20 -15
- package/src/models/YumHostedApiRepository.ts +22 -17
- package/src/models/YumHostedRepositoryApiRequest.ts +22 -17
- package/src/models/YumProxyRepositoryApiRequest.ts +30 -25
- package/src/models/YumSigningRepositoriesAttributes.ts +14 -9
- package/src/runtime.ts +5 -0
package/src/apis/TasksApi.ts
CHANGED
|
@@ -50,11 +50,8 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
50
50
|
* Get a single task by id
|
|
51
51
|
*/
|
|
52
52
|
async getTaskByIdRaw(requestParameters: TasksApiGetTaskByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TaskXO>> {
|
|
53
|
-
if (requestParameters
|
|
54
|
-
throw new runtime.RequiredError(
|
|
55
|
-
'id',
|
|
56
|
-
'Required parameter "id" was null or undefined when calling getTaskById().'
|
|
57
|
-
);
|
|
53
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
54
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling getTaskById.');
|
|
58
55
|
}
|
|
59
56
|
|
|
60
57
|
const queryParameters: any = {};
|
|
@@ -65,7 +62,7 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
65
62
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
66
63
|
}
|
|
67
64
|
const response = await this.request({
|
|
68
|
-
path: `/v1/tasks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters
|
|
65
|
+
path: `/v1/tasks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
69
66
|
method: 'GET',
|
|
70
67
|
headers: headerParameters,
|
|
71
68
|
query: queryParameters,
|
|
@@ -88,8 +85,8 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
88
85
|
async getTasksRaw(requestParameters: TasksApiGetTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageTaskXO>> {
|
|
89
86
|
const queryParameters: any = {};
|
|
90
87
|
|
|
91
|
-
if (requestParameters
|
|
92
|
-
queryParameters['type'] = requestParameters
|
|
88
|
+
if (requestParameters.type !== undefined) {
|
|
89
|
+
queryParameters['type'] = requestParameters.type;
|
|
93
90
|
}
|
|
94
91
|
|
|
95
92
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -119,11 +116,8 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
119
116
|
* Run task
|
|
120
117
|
*/
|
|
121
118
|
async runRaw(requestParameters: TasksApiRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
122
|
-
if (requestParameters
|
|
123
|
-
throw new runtime.RequiredError(
|
|
124
|
-
'id',
|
|
125
|
-
'Required parameter "id" was null or undefined when calling run().'
|
|
126
|
-
);
|
|
119
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
120
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling run.');
|
|
127
121
|
}
|
|
128
122
|
|
|
129
123
|
const queryParameters: any = {};
|
|
@@ -134,7 +128,7 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
134
128
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
135
129
|
}
|
|
136
130
|
const response = await this.request({
|
|
137
|
-
path: `/v1/tasks/{id}/run`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters
|
|
131
|
+
path: `/v1/tasks/{id}/run`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
138
132
|
method: 'POST',
|
|
139
133
|
headers: headerParameters,
|
|
140
134
|
query: queryParameters,
|
|
@@ -154,11 +148,8 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
154
148
|
* Stop task
|
|
155
149
|
*/
|
|
156
150
|
async stopRaw(requestParameters: TasksApiStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
157
|
-
if (requestParameters
|
|
158
|
-
throw new runtime.RequiredError(
|
|
159
|
-
'id',
|
|
160
|
-
'Required parameter "id" was null or undefined when calling stop().'
|
|
161
|
-
);
|
|
151
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
152
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling stop.');
|
|
162
153
|
}
|
|
163
154
|
|
|
164
155
|
const queryParameters: any = {};
|
|
@@ -169,7 +160,7 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
169
160
|
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
170
161
|
}
|
|
171
162
|
const response = await this.request({
|
|
172
|
-
path: `/v1/tasks/{id}/stop`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters
|
|
163
|
+
path: `/v1/tasks/{id}/stop`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
173
164
|
method: 'POST',
|
|
174
165
|
headers: headerParameters,
|
|
175
166
|
query: queryParameters,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -67,8 +67,10 @@ export type AbstractApiRepositoryTypeEnum = typeof AbstractApiRepositoryTypeEnum
|
|
|
67
67
|
* Check if a given object implements the AbstractApiRepository interface.
|
|
68
68
|
*/
|
|
69
69
|
export function instanceOfAbstractApiRepository(value: object): boolean {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
let isInstance = true;
|
|
71
|
+
isInstance = isInstance && "online" in value;
|
|
72
|
+
|
|
73
|
+
return isInstance;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
export function AbstractApiRepositoryFromJSON(json: any): AbstractApiRepository {
|
|
@@ -76,30 +78,33 @@ export function AbstractApiRepositoryFromJSON(json: any): AbstractApiRepository
|
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
export function AbstractApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AbstractApiRepository {
|
|
79
|
-
if (json
|
|
81
|
+
if ((json === undefined) || (json === null)) {
|
|
80
82
|
return json;
|
|
81
83
|
}
|
|
82
84
|
return {
|
|
83
85
|
|
|
84
|
-
'format': json
|
|
85
|
-
'name': json
|
|
86
|
+
'format': !exists(json, 'format') ? undefined : json['format'],
|
|
87
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
86
88
|
'online': json['online'],
|
|
87
|
-
'type': json
|
|
88
|
-
'url': json
|
|
89
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
90
|
+
'url': !exists(json, 'url') ? undefined : json['url'],
|
|
89
91
|
};
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
export function AbstractApiRepositoryToJSON(value?: AbstractApiRepository | null): any {
|
|
93
|
-
if (value
|
|
94
|
-
return
|
|
95
|
+
if (value === undefined) {
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
if (value === null) {
|
|
99
|
+
return null;
|
|
95
100
|
}
|
|
96
101
|
return {
|
|
97
102
|
|
|
98
|
-
'format': value
|
|
99
|
-
'name': value
|
|
100
|
-
'online': value
|
|
101
|
-
'type': value
|
|
102
|
-
'url': value
|
|
103
|
+
'format': value.format,
|
|
104
|
+
'name': value.name,
|
|
105
|
+
'online': value.online,
|
|
106
|
+
'type': value.type,
|
|
107
|
+
'url': value.url,
|
|
103
108
|
};
|
|
104
109
|
}
|
|
105
110
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -43,7 +43,9 @@ export interface AnonymousAccessSettingsXO {
|
|
|
43
43
|
* Check if a given object implements the AnonymousAccessSettingsXO interface.
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfAnonymousAccessSettingsXO(value: object): boolean {
|
|
46
|
-
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
export function AnonymousAccessSettingsXOFromJSON(json: any): AnonymousAccessSettingsXO {
|
|
@@ -51,26 +53,29 @@ export function AnonymousAccessSettingsXOFromJSON(json: any): AnonymousAccessSet
|
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
export function AnonymousAccessSettingsXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnonymousAccessSettingsXO {
|
|
54
|
-
if (json
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
55
57
|
return json;
|
|
56
58
|
}
|
|
57
59
|
return {
|
|
58
60
|
|
|
59
|
-
'enabled': json
|
|
60
|
-
'realmName': json
|
|
61
|
-
'userId': json
|
|
61
|
+
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
62
|
+
'realmName': !exists(json, 'realmName') ? undefined : json['realmName'],
|
|
63
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
export function AnonymousAccessSettingsXOToJSON(value?: AnonymousAccessSettingsXO | null): any {
|
|
66
|
-
if (value
|
|
67
|
-
return
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
68
73
|
}
|
|
69
74
|
return {
|
|
70
75
|
|
|
71
|
-
'enabled': value
|
|
72
|
-
'realmName': value
|
|
73
|
-
'userId': value
|
|
76
|
+
'enabled': value.enabled,
|
|
77
|
+
'realmName': value.realmName,
|
|
78
|
+
'userId': value.userId,
|
|
74
79
|
};
|
|
75
80
|
}
|
|
76
81
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -97,7 +97,9 @@ export interface ApiCertificate {
|
|
|
97
97
|
* Check if a given object implements the ApiCertificate interface.
|
|
98
98
|
*/
|
|
99
99
|
export function instanceOfApiCertificate(value: object): boolean {
|
|
100
|
-
|
|
100
|
+
let isInstance = true;
|
|
101
|
+
|
|
102
|
+
return isInstance;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
export function ApiCertificateFromJSON(json: any): ApiCertificate {
|
|
@@ -105,44 +107,47 @@ export function ApiCertificateFromJSON(json: any): ApiCertificate {
|
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
export function ApiCertificateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCertificate {
|
|
108
|
-
if (json
|
|
110
|
+
if ((json === undefined) || (json === null)) {
|
|
109
111
|
return json;
|
|
110
112
|
}
|
|
111
113
|
return {
|
|
112
114
|
|
|
113
|
-
'expiresOn': json
|
|
114
|
-
'fingerprint': json
|
|
115
|
-
'id': json
|
|
116
|
-
'issuedOn': json
|
|
117
|
-
'issuerCommonName': json
|
|
118
|
-
'issuerOrganization': json
|
|
119
|
-
'issuerOrganizationalUnit': json
|
|
120
|
-
'pem': json
|
|
121
|
-
'serialNumber': json
|
|
122
|
-
'subjectCommonName': json
|
|
123
|
-
'subjectOrganization': json
|
|
124
|
-
'subjectOrganizationalUnit': json
|
|
115
|
+
'expiresOn': !exists(json, 'expiresOn') ? undefined : json['expiresOn'],
|
|
116
|
+
'fingerprint': !exists(json, 'fingerprint') ? undefined : json['fingerprint'],
|
|
117
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
118
|
+
'issuedOn': !exists(json, 'issuedOn') ? undefined : json['issuedOn'],
|
|
119
|
+
'issuerCommonName': !exists(json, 'issuerCommonName') ? undefined : json['issuerCommonName'],
|
|
120
|
+
'issuerOrganization': !exists(json, 'issuerOrganization') ? undefined : json['issuerOrganization'],
|
|
121
|
+
'issuerOrganizationalUnit': !exists(json, 'issuerOrganizationalUnit') ? undefined : json['issuerOrganizationalUnit'],
|
|
122
|
+
'pem': !exists(json, 'pem') ? undefined : json['pem'],
|
|
123
|
+
'serialNumber': !exists(json, 'serialNumber') ? undefined : json['serialNumber'],
|
|
124
|
+
'subjectCommonName': !exists(json, 'subjectCommonName') ? undefined : json['subjectCommonName'],
|
|
125
|
+
'subjectOrganization': !exists(json, 'subjectOrganization') ? undefined : json['subjectOrganization'],
|
|
126
|
+
'subjectOrganizationalUnit': !exists(json, 'subjectOrganizationalUnit') ? undefined : json['subjectOrganizationalUnit'],
|
|
125
127
|
};
|
|
126
128
|
}
|
|
127
129
|
|
|
128
130
|
export function ApiCertificateToJSON(value?: ApiCertificate | null): any {
|
|
129
|
-
if (value
|
|
130
|
-
return
|
|
131
|
+
if (value === undefined) {
|
|
132
|
+
return undefined;
|
|
133
|
+
}
|
|
134
|
+
if (value === null) {
|
|
135
|
+
return null;
|
|
131
136
|
}
|
|
132
137
|
return {
|
|
133
138
|
|
|
134
|
-
'expiresOn': value
|
|
135
|
-
'fingerprint': value
|
|
136
|
-
'id': value
|
|
137
|
-
'issuedOn': value
|
|
138
|
-
'issuerCommonName': value
|
|
139
|
-
'issuerOrganization': value
|
|
140
|
-
'issuerOrganizationalUnit': value
|
|
141
|
-
'pem': value
|
|
142
|
-
'serialNumber': value
|
|
143
|
-
'subjectCommonName': value
|
|
144
|
-
'subjectOrganization': value
|
|
145
|
-
'subjectOrganizationalUnit': value
|
|
139
|
+
'expiresOn': value.expiresOn,
|
|
140
|
+
'fingerprint': value.fingerprint,
|
|
141
|
+
'id': value.id,
|
|
142
|
+
'issuedOn': value.issuedOn,
|
|
143
|
+
'issuerCommonName': value.issuerCommonName,
|
|
144
|
+
'issuerOrganization': value.issuerOrganization,
|
|
145
|
+
'issuerOrganizationalUnit': value.issuerOrganizationalUnit,
|
|
146
|
+
'pem': value.pem,
|
|
147
|
+
'serialNumber': value.serialNumber,
|
|
148
|
+
'subjectCommonName': value.subjectCommonName,
|
|
149
|
+
'subjectOrganization': value.subjectOrganization,
|
|
150
|
+
'subjectOrganizationalUnit': value.subjectOrganizationalUnit,
|
|
146
151
|
};
|
|
147
152
|
}
|
|
148
153
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -80,8 +80,10 @@ export type ApiCreateUserStatusEnum = typeof ApiCreateUserStatusEnum[keyof typeo
|
|
|
80
80
|
* Check if a given object implements the ApiCreateUser interface.
|
|
81
81
|
*/
|
|
82
82
|
export function instanceOfApiCreateUser(value: object): boolean {
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
let isInstance = true;
|
|
84
|
+
isInstance = isInstance && "status" in value;
|
|
85
|
+
|
|
86
|
+
return isInstance;
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
export function ApiCreateUserFromJSON(json: any): ApiCreateUser {
|
|
@@ -89,34 +91,37 @@ export function ApiCreateUserFromJSON(json: any): ApiCreateUser {
|
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
export function ApiCreateUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCreateUser {
|
|
92
|
-
if (json
|
|
94
|
+
if ((json === undefined) || (json === null)) {
|
|
93
95
|
return json;
|
|
94
96
|
}
|
|
95
97
|
return {
|
|
96
98
|
|
|
97
|
-
'emailAddress': json
|
|
98
|
-
'firstName': json
|
|
99
|
-
'lastName': json
|
|
100
|
-
'password': json
|
|
101
|
-
'roles': json
|
|
99
|
+
'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
|
|
100
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
101
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
102
|
+
'password': !exists(json, 'password') ? undefined : json['password'],
|
|
103
|
+
'roles': !exists(json, 'roles') ? undefined : json['roles'],
|
|
102
104
|
'status': json['status'],
|
|
103
|
-
'userId': json
|
|
105
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
104
106
|
};
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
export function ApiCreateUserToJSON(value?: ApiCreateUser | null): any {
|
|
108
|
-
if (value
|
|
109
|
-
return
|
|
110
|
+
if (value === undefined) {
|
|
111
|
+
return undefined;
|
|
112
|
+
}
|
|
113
|
+
if (value === null) {
|
|
114
|
+
return null;
|
|
110
115
|
}
|
|
111
116
|
return {
|
|
112
117
|
|
|
113
|
-
'emailAddress': value
|
|
114
|
-
'firstName': value
|
|
115
|
-
'lastName': value
|
|
116
|
-
'password': value
|
|
117
|
-
'roles': value
|
|
118
|
-
'status': value
|
|
119
|
-
'userId': value
|
|
118
|
+
'emailAddress': value.emailAddress,
|
|
119
|
+
'firstName': value.firstName,
|
|
120
|
+
'lastName': value.lastName,
|
|
121
|
+
'password': value.password,
|
|
122
|
+
'roles': value.roles === undefined ? undefined : Array.from(value.roles as Set<any>),
|
|
123
|
+
'status': value.status,
|
|
124
|
+
'userId': value.userId,
|
|
120
125
|
};
|
|
121
126
|
}
|
|
122
127
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -97,8 +97,10 @@ export interface ApiEmailConfiguration {
|
|
|
97
97
|
* Check if a given object implements the ApiEmailConfiguration interface.
|
|
98
98
|
*/
|
|
99
99
|
export function instanceOfApiEmailConfiguration(value: object): boolean {
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
let isInstance = true;
|
|
101
|
+
isInstance = isInstance && "port" in value;
|
|
102
|
+
|
|
103
|
+
return isInstance;
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
export function ApiEmailConfigurationFromJSON(json: any): ApiEmailConfiguration {
|
|
@@ -106,44 +108,47 @@ export function ApiEmailConfigurationFromJSON(json: any): ApiEmailConfiguration
|
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
export function ApiEmailConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEmailConfiguration {
|
|
109
|
-
if (json
|
|
111
|
+
if ((json === undefined) || (json === null)) {
|
|
110
112
|
return json;
|
|
111
113
|
}
|
|
112
114
|
return {
|
|
113
115
|
|
|
114
|
-
'enabled': json
|
|
115
|
-
'fromAddress': json
|
|
116
|
-
'host': json
|
|
117
|
-
'nexusTrustStoreEnabled': json
|
|
118
|
-
'password': json
|
|
116
|
+
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
117
|
+
'fromAddress': !exists(json, 'fromAddress') ? undefined : json['fromAddress'],
|
|
118
|
+
'host': !exists(json, 'host') ? undefined : json['host'],
|
|
119
|
+
'nexusTrustStoreEnabled': !exists(json, 'nexusTrustStoreEnabled') ? undefined : json['nexusTrustStoreEnabled'],
|
|
120
|
+
'password': !exists(json, 'password') ? undefined : json['password'],
|
|
119
121
|
'port': json['port'],
|
|
120
|
-
'sslOnConnectEnabled': json
|
|
121
|
-
'sslServerIdentityCheckEnabled': json
|
|
122
|
-
'startTlsEnabled': json
|
|
123
|
-
'startTlsRequired': json
|
|
124
|
-
'subjectPrefix': json
|
|
125
|
-
'username': json
|
|
122
|
+
'sslOnConnectEnabled': !exists(json, 'sslOnConnectEnabled') ? undefined : json['sslOnConnectEnabled'],
|
|
123
|
+
'sslServerIdentityCheckEnabled': !exists(json, 'sslServerIdentityCheckEnabled') ? undefined : json['sslServerIdentityCheckEnabled'],
|
|
124
|
+
'startTlsEnabled': !exists(json, 'startTlsEnabled') ? undefined : json['startTlsEnabled'],
|
|
125
|
+
'startTlsRequired': !exists(json, 'startTlsRequired') ? undefined : json['startTlsRequired'],
|
|
126
|
+
'subjectPrefix': !exists(json, 'subjectPrefix') ? undefined : json['subjectPrefix'],
|
|
127
|
+
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
126
128
|
};
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
export function ApiEmailConfigurationToJSON(value?: ApiEmailConfiguration | null): any {
|
|
130
|
-
if (value
|
|
131
|
-
return
|
|
132
|
+
if (value === undefined) {
|
|
133
|
+
return undefined;
|
|
134
|
+
}
|
|
135
|
+
if (value === null) {
|
|
136
|
+
return null;
|
|
132
137
|
}
|
|
133
138
|
return {
|
|
134
139
|
|
|
135
|
-
'enabled': value
|
|
136
|
-
'fromAddress': value
|
|
137
|
-
'host': value
|
|
138
|
-
'nexusTrustStoreEnabled': value
|
|
139
|
-
'password': value
|
|
140
|
-
'port': value
|
|
141
|
-
'sslOnConnectEnabled': value
|
|
142
|
-
'sslServerIdentityCheckEnabled': value
|
|
143
|
-
'startTlsEnabled': value
|
|
144
|
-
'startTlsRequired': value
|
|
145
|
-
'subjectPrefix': value
|
|
146
|
-
'username': value
|
|
140
|
+
'enabled': value.enabled,
|
|
141
|
+
'fromAddress': value.fromAddress,
|
|
142
|
+
'host': value.host,
|
|
143
|
+
'nexusTrustStoreEnabled': value.nexusTrustStoreEnabled,
|
|
144
|
+
'password': value.password,
|
|
145
|
+
'port': value.port,
|
|
146
|
+
'sslOnConnectEnabled': value.sslOnConnectEnabled,
|
|
147
|
+
'sslServerIdentityCheckEnabled': value.sslServerIdentityCheckEnabled,
|
|
148
|
+
'startTlsEnabled': value.startTlsEnabled,
|
|
149
|
+
'startTlsRequired': value.startTlsRequired,
|
|
150
|
+
'subjectPrefix': value.subjectPrefix,
|
|
151
|
+
'username': value.username,
|
|
147
152
|
};
|
|
148
153
|
}
|
|
149
154
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -37,7 +37,9 @@ export interface ApiEmailValidation {
|
|
|
37
37
|
* Check if a given object implements the ApiEmailValidation interface.
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfApiEmailValidation(value: object): boolean {
|
|
40
|
-
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
export function ApiEmailValidationFromJSON(json: any): ApiEmailValidation {
|
|
@@ -45,24 +47,27 @@ export function ApiEmailValidationFromJSON(json: any): ApiEmailValidation {
|
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
export function ApiEmailValidationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEmailValidation {
|
|
48
|
-
if (json
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
49
51
|
return json;
|
|
50
52
|
}
|
|
51
53
|
return {
|
|
52
54
|
|
|
53
|
-
'reason': json
|
|
54
|
-
'success': json
|
|
55
|
+
'reason': !exists(json, 'reason') ? undefined : json['reason'],
|
|
56
|
+
'success': !exists(json, 'success') ? undefined : json['success'],
|
|
55
57
|
};
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
export function ApiEmailValidationToJSON(value?: ApiEmailValidation | null): any {
|
|
59
|
-
if (value
|
|
60
|
-
return
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
61
66
|
}
|
|
62
67
|
return {
|
|
63
68
|
|
|
64
|
-
'reason': value
|
|
65
|
-
'success': value
|
|
69
|
+
'reason': value.reason,
|
|
70
|
+
'success': value.success,
|
|
66
71
|
};
|
|
67
72
|
}
|
|
68
73
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -79,7 +79,9 @@ export interface ApiLicenseDetailsXO {
|
|
|
79
79
|
* Check if a given object implements the ApiLicenseDetailsXO interface.
|
|
80
80
|
*/
|
|
81
81
|
export function instanceOfApiLicenseDetailsXO(value: object): boolean {
|
|
82
|
-
|
|
82
|
+
let isInstance = true;
|
|
83
|
+
|
|
84
|
+
return isInstance;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
export function ApiLicenseDetailsXOFromJSON(json: any): ApiLicenseDetailsXO {
|
|
@@ -87,38 +89,41 @@ export function ApiLicenseDetailsXOFromJSON(json: any): ApiLicenseDetailsXO {
|
|
|
87
89
|
}
|
|
88
90
|
|
|
89
91
|
export function ApiLicenseDetailsXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiLicenseDetailsXO {
|
|
90
|
-
if (json
|
|
92
|
+
if ((json === undefined) || (json === null)) {
|
|
91
93
|
return json;
|
|
92
94
|
}
|
|
93
95
|
return {
|
|
94
96
|
|
|
95
|
-
'contactCompany': json
|
|
96
|
-
'contactEmail': json
|
|
97
|
-
'contactName': json
|
|
98
|
-
'effectiveDate': json
|
|
99
|
-
'expirationDate': json
|
|
100
|
-
'features': json
|
|
101
|
-
'fingerprint': json
|
|
102
|
-
'licenseType': json
|
|
103
|
-
'licensedUsers': json
|
|
97
|
+
'contactCompany': !exists(json, 'contactCompany') ? undefined : json['contactCompany'],
|
|
98
|
+
'contactEmail': !exists(json, 'contactEmail') ? undefined : json['contactEmail'],
|
|
99
|
+
'contactName': !exists(json, 'contactName') ? undefined : json['contactName'],
|
|
100
|
+
'effectiveDate': !exists(json, 'effectiveDate') ? undefined : (new Date(json['effectiveDate'])),
|
|
101
|
+
'expirationDate': !exists(json, 'expirationDate') ? undefined : (new Date(json['expirationDate'])),
|
|
102
|
+
'features': !exists(json, 'features') ? undefined : json['features'],
|
|
103
|
+
'fingerprint': !exists(json, 'fingerprint') ? undefined : json['fingerprint'],
|
|
104
|
+
'licenseType': !exists(json, 'licenseType') ? undefined : json['licenseType'],
|
|
105
|
+
'licensedUsers': !exists(json, 'licensedUsers') ? undefined : json['licensedUsers'],
|
|
104
106
|
};
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
export function ApiLicenseDetailsXOToJSON(value?: ApiLicenseDetailsXO | null): any {
|
|
108
|
-
if (value
|
|
109
|
-
return
|
|
110
|
+
if (value === undefined) {
|
|
111
|
+
return undefined;
|
|
112
|
+
}
|
|
113
|
+
if (value === null) {
|
|
114
|
+
return null;
|
|
110
115
|
}
|
|
111
116
|
return {
|
|
112
117
|
|
|
113
|
-
'contactCompany': value
|
|
114
|
-
'contactEmail': value
|
|
115
|
-
'contactName': value
|
|
116
|
-
'effectiveDate': value
|
|
117
|
-
'expirationDate': value
|
|
118
|
-
'features': value
|
|
119
|
-
'fingerprint': value
|
|
120
|
-
'licenseType': value
|
|
121
|
-
'licensedUsers': value
|
|
118
|
+
'contactCompany': value.contactCompany,
|
|
119
|
+
'contactEmail': value.contactEmail,
|
|
120
|
+
'contactName': value.contactName,
|
|
121
|
+
'effectiveDate': value.effectiveDate === undefined ? undefined : (value.effectiveDate.toISOString()),
|
|
122
|
+
'expirationDate': value.expirationDate === undefined ? undefined : (value.expirationDate.toISOString()),
|
|
123
|
+
'features': value.features,
|
|
124
|
+
'fingerprint': value.fingerprint,
|
|
125
|
+
'licenseType': value.licenseType,
|
|
126
|
+
'licensedUsers': value.licensedUsers,
|
|
122
127
|
};
|
|
123
128
|
}
|
|
124
129
|
|