@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
|
@@ -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
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
17
17
|
import {
|
|
18
18
|
CleanupPolicyAttributesFromJSON,
|
|
@@ -128,13 +128,15 @@ export interface RawProxyRepositoryApiRequest {
|
|
|
128
128
|
* Check if a given object implements the RawProxyRepositoryApiRequest interface.
|
|
129
129
|
*/
|
|
130
130
|
export function instanceOfRawProxyRepositoryApiRequest(value: object): boolean {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
131
|
+
let isInstance = true;
|
|
132
|
+
isInstance = isInstance && "httpClient" in value;
|
|
133
|
+
isInstance = isInstance && "name" in value;
|
|
134
|
+
isInstance = isInstance && "negativeCache" in value;
|
|
135
|
+
isInstance = isInstance && "online" in value;
|
|
136
|
+
isInstance = isInstance && "proxy" in value;
|
|
137
|
+
isInstance = isInstance && "storage" in value;
|
|
138
|
+
|
|
139
|
+
return isInstance;
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
export function RawProxyRepositoryApiRequestFromJSON(json: any): RawProxyRepositoryApiRequest {
|
|
@@ -142,40 +144,43 @@ export function RawProxyRepositoryApiRequestFromJSON(json: any): RawProxyReposit
|
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
export function RawProxyRepositoryApiRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RawProxyRepositoryApiRequest {
|
|
145
|
-
if (json
|
|
147
|
+
if ((json === undefined) || (json === null)) {
|
|
146
148
|
return json;
|
|
147
149
|
}
|
|
148
150
|
return {
|
|
149
151
|
|
|
150
|
-
'cleanup': json
|
|
152
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
151
153
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
152
154
|
'name': json['name'],
|
|
153
155
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
154
156
|
'online': json['online'],
|
|
155
157
|
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
156
|
-
'raw': json
|
|
157
|
-
'replication': json
|
|
158
|
-
'routingRule': json
|
|
158
|
+
'raw': !exists(json, 'raw') ? undefined : RawAttributesFromJSON(json['raw']),
|
|
159
|
+
'replication': !exists(json, 'replication') ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
160
|
+
'routingRule': !exists(json, 'routingRule') ? undefined : json['routingRule'],
|
|
159
161
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
160
162
|
};
|
|
161
163
|
}
|
|
162
164
|
|
|
163
165
|
export function RawProxyRepositoryApiRequestToJSON(value?: RawProxyRepositoryApiRequest | null): any {
|
|
164
|
-
if (value
|
|
165
|
-
return
|
|
166
|
+
if (value === undefined) {
|
|
167
|
+
return undefined;
|
|
168
|
+
}
|
|
169
|
+
if (value === null) {
|
|
170
|
+
return null;
|
|
166
171
|
}
|
|
167
172
|
return {
|
|
168
173
|
|
|
169
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
170
|
-
'httpClient': HttpClientAttributesToJSON(value
|
|
171
|
-
'name': value
|
|
172
|
-
'negativeCache': NegativeCacheAttributesToJSON(value
|
|
173
|
-
'online': value
|
|
174
|
-
'proxy': ProxyAttributesToJSON(value
|
|
175
|
-
'raw': RawAttributesToJSON(value
|
|
176
|
-
'replication': ReplicationAttributesToJSON(value
|
|
177
|
-
'routingRule': value
|
|
178
|
-
'storage': StorageAttributesToJSON(value
|
|
174
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
175
|
+
'httpClient': HttpClientAttributesToJSON(value.httpClient),
|
|
176
|
+
'name': value.name,
|
|
177
|
+
'negativeCache': NegativeCacheAttributesToJSON(value.negativeCache),
|
|
178
|
+
'online': value.online,
|
|
179
|
+
'proxy': ProxyAttributesToJSON(value.proxy),
|
|
180
|
+
'raw': RawAttributesToJSON(value.raw),
|
|
181
|
+
'replication': ReplicationAttributesToJSON(value.replication),
|
|
182
|
+
'routingRule': value.routingRule,
|
|
183
|
+
'storage': StorageAttributesToJSON(value.storage),
|
|
179
184
|
};
|
|
180
185
|
}
|
|
181
186
|
|
|
@@ -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
|
|
@@ -242,17 +242,19 @@ export type ReadLdapServerXoProtocolEnum = typeof ReadLdapServerXoProtocolEnum[k
|
|
|
242
242
|
* Check if a given object implements the ReadLdapServerXo interface.
|
|
243
243
|
*/
|
|
244
244
|
export function instanceOfReadLdapServerXo(value: object): boolean {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
245
|
+
let isInstance = true;
|
|
246
|
+
isInstance = isInstance && "authScheme" in value;
|
|
247
|
+
isInstance = isInstance && "connectionRetryDelaySeconds" in value;
|
|
248
|
+
isInstance = isInstance && "connectionTimeoutSeconds" in value;
|
|
249
|
+
isInstance = isInstance && "groupType" in value;
|
|
250
|
+
isInstance = isInstance && "host" in value;
|
|
251
|
+
isInstance = isInstance && "maxIncidentsCount" in value;
|
|
252
|
+
isInstance = isInstance && "name" in value;
|
|
253
|
+
isInstance = isInstance && "port" in value;
|
|
254
|
+
isInstance = isInstance && "protocol" in value;
|
|
255
|
+
isInstance = isInstance && "searchBase" in value;
|
|
256
|
+
|
|
257
|
+
return isInstance;
|
|
256
258
|
}
|
|
257
259
|
|
|
258
260
|
export function ReadLdapServerXoFromJSON(json: any): ReadLdapServerXo {
|
|
@@ -260,82 +262,85 @@ export function ReadLdapServerXoFromJSON(json: any): ReadLdapServerXo {
|
|
|
260
262
|
}
|
|
261
263
|
|
|
262
264
|
export function ReadLdapServerXoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReadLdapServerXo {
|
|
263
|
-
if (json
|
|
265
|
+
if ((json === undefined) || (json === null)) {
|
|
264
266
|
return json;
|
|
265
267
|
}
|
|
266
268
|
return {
|
|
267
269
|
|
|
268
|
-
'authRealm': json
|
|
270
|
+
'authRealm': !exists(json, 'authRealm') ? undefined : json['authRealm'],
|
|
269
271
|
'authScheme': json['authScheme'],
|
|
270
|
-
'authUsername': json
|
|
272
|
+
'authUsername': !exists(json, 'authUsername') ? undefined : json['authUsername'],
|
|
271
273
|
'connectionRetryDelaySeconds': json['connectionRetryDelaySeconds'],
|
|
272
274
|
'connectionTimeoutSeconds': json['connectionTimeoutSeconds'],
|
|
273
|
-
'groupBaseDn': json
|
|
274
|
-
'groupIdAttribute': json
|
|
275
|
-
'groupMemberAttribute': json
|
|
276
|
-
'groupMemberFormat': json
|
|
277
|
-
'groupObjectClass': json
|
|
278
|
-
'groupSubtree': json
|
|
275
|
+
'groupBaseDn': !exists(json, 'groupBaseDn') ? undefined : json['groupBaseDn'],
|
|
276
|
+
'groupIdAttribute': !exists(json, 'groupIdAttribute') ? undefined : json['groupIdAttribute'],
|
|
277
|
+
'groupMemberAttribute': !exists(json, 'groupMemberAttribute') ? undefined : json['groupMemberAttribute'],
|
|
278
|
+
'groupMemberFormat': !exists(json, 'groupMemberFormat') ? undefined : json['groupMemberFormat'],
|
|
279
|
+
'groupObjectClass': !exists(json, 'groupObjectClass') ? undefined : json['groupObjectClass'],
|
|
280
|
+
'groupSubtree': !exists(json, 'groupSubtree') ? undefined : json['groupSubtree'],
|
|
279
281
|
'groupType': json['groupType'],
|
|
280
282
|
'host': json['host'],
|
|
281
|
-
'id': json
|
|
282
|
-
'ldapGroupsAsRoles': json
|
|
283
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
284
|
+
'ldapGroupsAsRoles': !exists(json, 'ldapGroupsAsRoles') ? undefined : json['ldapGroupsAsRoles'],
|
|
283
285
|
'maxIncidentsCount': json['maxIncidentsCount'],
|
|
284
286
|
'name': json['name'],
|
|
285
|
-
'order': json
|
|
287
|
+
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
286
288
|
'port': json['port'],
|
|
287
289
|
'protocol': json['protocol'],
|
|
288
290
|
'searchBase': json['searchBase'],
|
|
289
|
-
'useTrustStore': json
|
|
290
|
-
'userBaseDn': json
|
|
291
|
-
'userEmailAddressAttribute': json
|
|
292
|
-
'userIdAttribute': json
|
|
293
|
-
'userLdapFilter': json
|
|
294
|
-
'userMemberOfAttribute': json
|
|
295
|
-
'userObjectClass': json
|
|
296
|
-
'userPasswordAttribute': json
|
|
297
|
-
'userRealNameAttribute': json
|
|
298
|
-
'userSubtree': json
|
|
291
|
+
'useTrustStore': !exists(json, 'useTrustStore') ? undefined : json['useTrustStore'],
|
|
292
|
+
'userBaseDn': !exists(json, 'userBaseDn') ? undefined : json['userBaseDn'],
|
|
293
|
+
'userEmailAddressAttribute': !exists(json, 'userEmailAddressAttribute') ? undefined : json['userEmailAddressAttribute'],
|
|
294
|
+
'userIdAttribute': !exists(json, 'userIdAttribute') ? undefined : json['userIdAttribute'],
|
|
295
|
+
'userLdapFilter': !exists(json, 'userLdapFilter') ? undefined : json['userLdapFilter'],
|
|
296
|
+
'userMemberOfAttribute': !exists(json, 'userMemberOfAttribute') ? undefined : json['userMemberOfAttribute'],
|
|
297
|
+
'userObjectClass': !exists(json, 'userObjectClass') ? undefined : json['userObjectClass'],
|
|
298
|
+
'userPasswordAttribute': !exists(json, 'userPasswordAttribute') ? undefined : json['userPasswordAttribute'],
|
|
299
|
+
'userRealNameAttribute': !exists(json, 'userRealNameAttribute') ? undefined : json['userRealNameAttribute'],
|
|
300
|
+
'userSubtree': !exists(json, 'userSubtree') ? undefined : json['userSubtree'],
|
|
299
301
|
};
|
|
300
302
|
}
|
|
301
303
|
|
|
302
304
|
export function ReadLdapServerXoToJSON(value?: ReadLdapServerXo | null): any {
|
|
303
|
-
if (value
|
|
304
|
-
return
|
|
305
|
+
if (value === undefined) {
|
|
306
|
+
return undefined;
|
|
307
|
+
}
|
|
308
|
+
if (value === null) {
|
|
309
|
+
return null;
|
|
305
310
|
}
|
|
306
311
|
return {
|
|
307
312
|
|
|
308
|
-
'authRealm': value
|
|
309
|
-
'authScheme': value
|
|
310
|
-
'authUsername': value
|
|
311
|
-
'connectionRetryDelaySeconds': value
|
|
312
|
-
'connectionTimeoutSeconds': value
|
|
313
|
-
'groupBaseDn': value
|
|
314
|
-
'groupIdAttribute': value
|
|
315
|
-
'groupMemberAttribute': value
|
|
316
|
-
'groupMemberFormat': value
|
|
317
|
-
'groupObjectClass': value
|
|
318
|
-
'groupSubtree': value
|
|
319
|
-
'groupType': value
|
|
320
|
-
'host': value
|
|
321
|
-
'id': value
|
|
322
|
-
'ldapGroupsAsRoles': value
|
|
323
|
-
'maxIncidentsCount': value
|
|
324
|
-
'name': value
|
|
325
|
-
'order': value
|
|
326
|
-
'port': value
|
|
327
|
-
'protocol': value
|
|
328
|
-
'searchBase': value
|
|
329
|
-
'useTrustStore': value
|
|
330
|
-
'userBaseDn': value
|
|
331
|
-
'userEmailAddressAttribute': value
|
|
332
|
-
'userIdAttribute': value
|
|
333
|
-
'userLdapFilter': value
|
|
334
|
-
'userMemberOfAttribute': value
|
|
335
|
-
'userObjectClass': value
|
|
336
|
-
'userPasswordAttribute': value
|
|
337
|
-
'userRealNameAttribute': value
|
|
338
|
-
'userSubtree': value
|
|
313
|
+
'authRealm': value.authRealm,
|
|
314
|
+
'authScheme': value.authScheme,
|
|
315
|
+
'authUsername': value.authUsername,
|
|
316
|
+
'connectionRetryDelaySeconds': value.connectionRetryDelaySeconds,
|
|
317
|
+
'connectionTimeoutSeconds': value.connectionTimeoutSeconds,
|
|
318
|
+
'groupBaseDn': value.groupBaseDn,
|
|
319
|
+
'groupIdAttribute': value.groupIdAttribute,
|
|
320
|
+
'groupMemberAttribute': value.groupMemberAttribute,
|
|
321
|
+
'groupMemberFormat': value.groupMemberFormat,
|
|
322
|
+
'groupObjectClass': value.groupObjectClass,
|
|
323
|
+
'groupSubtree': value.groupSubtree,
|
|
324
|
+
'groupType': value.groupType,
|
|
325
|
+
'host': value.host,
|
|
326
|
+
'id': value.id,
|
|
327
|
+
'ldapGroupsAsRoles': value.ldapGroupsAsRoles,
|
|
328
|
+
'maxIncidentsCount': value.maxIncidentsCount,
|
|
329
|
+
'name': value.name,
|
|
330
|
+
'order': value.order,
|
|
331
|
+
'port': value.port,
|
|
332
|
+
'protocol': value.protocol,
|
|
333
|
+
'searchBase': value.searchBase,
|
|
334
|
+
'useTrustStore': value.useTrustStore,
|
|
335
|
+
'userBaseDn': value.userBaseDn,
|
|
336
|
+
'userEmailAddressAttribute': value.userEmailAddressAttribute,
|
|
337
|
+
'userIdAttribute': value.userIdAttribute,
|
|
338
|
+
'userLdapFilter': value.userLdapFilter,
|
|
339
|
+
'userMemberOfAttribute': value.userMemberOfAttribute,
|
|
340
|
+
'userObjectClass': value.userObjectClass,
|
|
341
|
+
'userPasswordAttribute': value.userPasswordAttribute,
|
|
342
|
+
'userRealNameAttribute': value.userRealNameAttribute,
|
|
343
|
+
'userSubtree': value.userSubtree,
|
|
339
344
|
};
|
|
340
345
|
}
|
|
341
346
|
|
|
@@ -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 ReadOnlyState {
|
|
|
43
43
|
* Check if a given object implements the ReadOnlyState interface.
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfReadOnlyState(value: object): boolean {
|
|
46
|
-
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
export function ReadOnlyStateFromJSON(json: any): ReadOnlyState {
|
|
@@ -51,26 +53,29 @@ export function ReadOnlyStateFromJSON(json: any): ReadOnlyState {
|
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
export function ReadOnlyStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReadOnlyState {
|
|
54
|
-
if (json
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
55
57
|
return json;
|
|
56
58
|
}
|
|
57
59
|
return {
|
|
58
60
|
|
|
59
|
-
'frozen': json
|
|
60
|
-
'summaryReason': json
|
|
61
|
-
'systemInitiated': json
|
|
61
|
+
'frozen': !exists(json, 'frozen') ? undefined : json['frozen'],
|
|
62
|
+
'summaryReason': !exists(json, 'summaryReason') ? undefined : json['summaryReason'],
|
|
63
|
+
'systemInitiated': !exists(json, 'systemInitiated') ? undefined : json['systemInitiated'],
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
export function ReadOnlyStateToJSON(value?: ReadOnlyState | 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
|
-
'frozen': value
|
|
72
|
-
'summaryReason': value
|
|
73
|
-
'systemInitiated': value
|
|
76
|
+
'frozen': value.frozen,
|
|
77
|
+
'summaryReason': value.summaryReason,
|
|
78
|
+
'systemInitiated': value.systemInitiated,
|
|
74
79
|
};
|
|
75
80
|
}
|
|
76
81
|
|
package/src/models/RealmApiXO.ts
CHANGED
|
@@ -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 RealmApiXO {
|
|
|
37
37
|
* Check if a given object implements the RealmApiXO interface.
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfRealmApiXO(value: object): boolean {
|
|
40
|
-
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
export function RealmApiXOFromJSON(json: any): RealmApiXO {
|
|
@@ -45,24 +47,27 @@ export function RealmApiXOFromJSON(json: any): RealmApiXO {
|
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
export function RealmApiXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RealmApiXO {
|
|
48
|
-
if (json
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
49
51
|
return json;
|
|
50
52
|
}
|
|
51
53
|
return {
|
|
52
54
|
|
|
53
|
-
'id': json
|
|
54
|
-
'name': json
|
|
55
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
56
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
55
57
|
};
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
export function RealmApiXOToJSON(value?: RealmApiXO | 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
|
-
'id': value
|
|
65
|
-
'name': value
|
|
69
|
+
'id': value.id,
|
|
70
|
+
'name': value.name,
|
|
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
|
|
@@ -37,8 +37,10 @@ export interface ReplicationAttributes {
|
|
|
37
37
|
* Check if a given object implements the ReplicationAttributes interface.
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfReplicationAttributes(value: object): boolean {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "preemptivePullEnabled" in value;
|
|
42
|
+
|
|
43
|
+
return isInstance;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
export function ReplicationAttributesFromJSON(json: any): ReplicationAttributes {
|
|
@@ -46,24 +48,27 @@ export function ReplicationAttributesFromJSON(json: any): ReplicationAttributes
|
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
export function ReplicationAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReplicationAttributes {
|
|
49
|
-
if (json
|
|
51
|
+
if ((json === undefined) || (json === null)) {
|
|
50
52
|
return json;
|
|
51
53
|
}
|
|
52
54
|
return {
|
|
53
55
|
|
|
54
|
-
'assetPathRegex': json
|
|
56
|
+
'assetPathRegex': !exists(json, 'assetPathRegex') ? undefined : json['assetPathRegex'],
|
|
55
57
|
'preemptivePullEnabled': json['preemptivePullEnabled'],
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
export function ReplicationAttributesToJSON(value?: ReplicationAttributes | null): any {
|
|
60
|
-
if (value
|
|
61
|
-
return
|
|
62
|
+
if (value === undefined) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
if (value === null) {
|
|
66
|
+
return null;
|
|
62
67
|
}
|
|
63
68
|
return {
|
|
64
69
|
|
|
65
|
-
'assetPathRegex': value
|
|
66
|
-
'preemptivePullEnabled': value
|
|
70
|
+
'assetPathRegex': value.assetPathRegex,
|
|
71
|
+
'preemptivePullEnabled': value.preemptivePullEnabled,
|
|
67
72
|
};
|
|
68
73
|
}
|
|
69
74
|
|
|
@@ -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
|
|
@@ -55,7 +55,9 @@ export interface RepositoryXO {
|
|
|
55
55
|
* Check if a given object implements the RepositoryXO interface.
|
|
56
56
|
*/
|
|
57
57
|
export function instanceOfRepositoryXO(value: object): boolean {
|
|
58
|
-
|
|
58
|
+
let isInstance = true;
|
|
59
|
+
|
|
60
|
+
return isInstance;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
export function RepositoryXOFromJSON(json: any): RepositoryXO {
|
|
@@ -63,30 +65,33 @@ export function RepositoryXOFromJSON(json: any): RepositoryXO {
|
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
export function RepositoryXOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepositoryXO {
|
|
66
|
-
if (json
|
|
68
|
+
if ((json === undefined) || (json === null)) {
|
|
67
69
|
return json;
|
|
68
70
|
}
|
|
69
71
|
return {
|
|
70
72
|
|
|
71
|
-
'attributes': json
|
|
72
|
-
'format': json
|
|
73
|
-
'name': json
|
|
74
|
-
'type': json
|
|
75
|
-
'url': json
|
|
73
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
74
|
+
'format': !exists(json, 'format') ? undefined : json['format'],
|
|
75
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
76
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
77
|
+
'url': !exists(json, 'url') ? undefined : json['url'],
|
|
76
78
|
};
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
export function RepositoryXOToJSON(value?: RepositoryXO | null): any {
|
|
80
|
-
if (value
|
|
81
|
-
return
|
|
82
|
+
if (value === undefined) {
|
|
83
|
+
return undefined;
|
|
84
|
+
}
|
|
85
|
+
if (value === null) {
|
|
86
|
+
return null;
|
|
82
87
|
}
|
|
83
88
|
return {
|
|
84
89
|
|
|
85
|
-
'attributes': value
|
|
86
|
-
'format': value
|
|
87
|
-
'name': value
|
|
88
|
-
'type': value
|
|
89
|
-
'url': value
|
|
90
|
+
'attributes': value.attributes,
|
|
91
|
+
'format': value.format,
|
|
92
|
+
'name': value.name,
|
|
93
|
+
'type': value.type,
|
|
94
|
+
'url': value.url,
|
|
90
95
|
};
|
|
91
96
|
}
|
|
92
97
|
|
package/src/models/Result.ts
CHANGED
|
@@ -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
|
import type { Throwable } from './Throwable';
|
|
17
17
|
import {
|
|
18
18
|
ThrowableFromJSON,
|
|
@@ -74,7 +74,9 @@ export interface Result {
|
|
|
74
74
|
* Check if a given object implements the Result interface.
|
|
75
75
|
*/
|
|
76
76
|
export function instanceOfResult(value: object): boolean {
|
|
77
|
-
|
|
77
|
+
let isInstance = true;
|
|
78
|
+
|
|
79
|
+
return isInstance;
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
export function ResultFromJSON(json: any): Result {
|
|
@@ -82,34 +84,37 @@ export function ResultFromJSON(json: any): Result {
|
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
export function ResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): Result {
|
|
85
|
-
if (json
|
|
87
|
+
if ((json === undefined) || (json === null)) {
|
|
86
88
|
return json;
|
|
87
89
|
}
|
|
88
90
|
return {
|
|
89
91
|
|
|
90
|
-
'details': json
|
|
91
|
-
'duration': json
|
|
92
|
-
'error': json
|
|
93
|
-
'healthy': json
|
|
94
|
-
'message': json
|
|
95
|
-
'time': json
|
|
96
|
-
'timestamp': json
|
|
92
|
+
'details': !exists(json, 'details') ? undefined : json['details'],
|
|
93
|
+
'duration': !exists(json, 'duration') ? undefined : json['duration'],
|
|
94
|
+
'error': !exists(json, 'error') ? undefined : ThrowableFromJSON(json['error']),
|
|
95
|
+
'healthy': !exists(json, 'healthy') ? undefined : json['healthy'],
|
|
96
|
+
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
97
|
+
'time': !exists(json, 'time') ? undefined : json['time'],
|
|
98
|
+
'timestamp': !exists(json, 'timestamp') ? undefined : json['timestamp'],
|
|
97
99
|
};
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
export function ResultToJSON(value?: Result | null): any {
|
|
101
|
-
if (value
|
|
102
|
-
return
|
|
103
|
+
if (value === undefined) {
|
|
104
|
+
return undefined;
|
|
105
|
+
}
|
|
106
|
+
if (value === null) {
|
|
107
|
+
return null;
|
|
103
108
|
}
|
|
104
109
|
return {
|
|
105
110
|
|
|
106
|
-
'details': value
|
|
107
|
-
'duration': value
|
|
108
|
-
'error': ThrowableToJSON(value
|
|
109
|
-
'healthy': value
|
|
110
|
-
'message': value
|
|
111
|
-
'time': value
|
|
112
|
-
'timestamp': value
|
|
111
|
+
'details': value.details,
|
|
112
|
+
'duration': value.duration,
|
|
113
|
+
'error': ThrowableToJSON(value.error),
|
|
114
|
+
'healthy': value.healthy,
|
|
115
|
+
'message': value.message,
|
|
116
|
+
'time': value.time,
|
|
117
|
+
'timestamp': value.timestamp,
|
|
113
118
|
};
|
|
114
119
|
}
|
|
115
120
|
|