@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
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
import { AptHostedRepositoriesAttributesFromJSON, AptHostedRepositoriesAttributesToJSON, } from './AptHostedRepositoriesAttributes';
|
|
15
16
|
import { AptSigningRepositoriesAttributesFromJSON, AptSigningRepositoriesAttributesToJSON, } from './AptSigningRepositoriesAttributes';
|
|
16
17
|
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
@@ -20,46 +21,45 @@ import { HostedStorageAttributesFromJSON, HostedStorageAttributesToJSON, } from
|
|
|
20
21
|
* Check if a given object implements the AptHostedRepositoryApiRequest interface.
|
|
21
22
|
*/
|
|
22
23
|
export function instanceOfAptHostedRepositoryApiRequest(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return false;
|
|
31
|
-
if (!('storage' in value))
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
24
|
+
let isInstance = true;
|
|
25
|
+
isInstance = isInstance && "apt" in value;
|
|
26
|
+
isInstance = isInstance && "aptSigning" in value;
|
|
27
|
+
isInstance = isInstance && "name" in value;
|
|
28
|
+
isInstance = isInstance && "online" in value;
|
|
29
|
+
isInstance = isInstance && "storage" in value;
|
|
30
|
+
return isInstance;
|
|
34
31
|
}
|
|
35
32
|
export function AptHostedRepositoryApiRequestFromJSON(json) {
|
|
36
33
|
return AptHostedRepositoryApiRequestFromJSONTyped(json, false);
|
|
37
34
|
}
|
|
38
35
|
export function AptHostedRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json
|
|
36
|
+
if ((json === undefined) || (json === null)) {
|
|
40
37
|
return json;
|
|
41
38
|
}
|
|
42
39
|
return {
|
|
43
40
|
'apt': AptHostedRepositoriesAttributesFromJSON(json['apt']),
|
|
44
41
|
'aptSigning': AptSigningRepositoriesAttributesFromJSON(json['aptSigning']),
|
|
45
|
-
'cleanup': json
|
|
46
|
-
'component': json
|
|
42
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
43
|
+
'component': !exists(json, 'component') ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
47
44
|
'name': json['name'],
|
|
48
45
|
'online': json['online'],
|
|
49
46
|
'storage': HostedStorageAttributesFromJSON(json['storage']),
|
|
50
47
|
};
|
|
51
48
|
}
|
|
52
49
|
export function AptHostedRepositoryApiRequestToJSON(value) {
|
|
53
|
-
if (value
|
|
54
|
-
return
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
|
-
'apt': AptHostedRepositoriesAttributesToJSON(value
|
|
58
|
-
'aptSigning': AptSigningRepositoriesAttributesToJSON(value
|
|
59
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
60
|
-
'component': ComponentAttributesToJSON(value
|
|
61
|
-
'name': value
|
|
62
|
-
'online': value
|
|
63
|
-
'storage': HostedStorageAttributesToJSON(value
|
|
57
|
+
'apt': AptHostedRepositoriesAttributesToJSON(value.apt),
|
|
58
|
+
'aptSigning': AptSigningRepositoriesAttributesToJSON(value.aptSigning),
|
|
59
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
60
|
+
'component': ComponentAttributesToJSON(value.component),
|
|
61
|
+
'name': value.name,
|
|
62
|
+
'online': value.online,
|
|
63
|
+
'storage': HostedStorageAttributesToJSON(value.storage),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
import { AptProxyRepositoriesAttributesFromJSON, AptProxyRepositoriesAttributesToJSON, } from './AptProxyRepositoriesAttributes';
|
|
15
16
|
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
16
17
|
import { HttpClientAttributesFromJSON, HttpClientAttributesToJSON, } from './HttpClientAttributes';
|
|
@@ -22,54 +23,52 @@ import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAt
|
|
|
22
23
|
* Check if a given object implements the AptProxyApiRepository interface.
|
|
23
24
|
*/
|
|
24
25
|
export function instanceOfAptProxyApiRepository(value) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (!('proxy' in value))
|
|
34
|
-
return false;
|
|
35
|
-
if (!('storage' in value))
|
|
36
|
-
return false;
|
|
37
|
-
return true;
|
|
26
|
+
let isInstance = true;
|
|
27
|
+
isInstance = isInstance && "apt" in value;
|
|
28
|
+
isInstance = isInstance && "httpClient" in value;
|
|
29
|
+
isInstance = isInstance && "negativeCache" in value;
|
|
30
|
+
isInstance = isInstance && "online" in value;
|
|
31
|
+
isInstance = isInstance && "proxy" in value;
|
|
32
|
+
isInstance = isInstance && "storage" in value;
|
|
33
|
+
return isInstance;
|
|
38
34
|
}
|
|
39
35
|
export function AptProxyApiRepositoryFromJSON(json) {
|
|
40
36
|
return AptProxyApiRepositoryFromJSONTyped(json, false);
|
|
41
37
|
}
|
|
42
38
|
export function AptProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
44
40
|
return json;
|
|
45
41
|
}
|
|
46
42
|
return {
|
|
47
43
|
'apt': AptProxyRepositoriesAttributesFromJSON(json['apt']),
|
|
48
|
-
'cleanup': json
|
|
44
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
49
45
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
50
|
-
'name': json
|
|
46
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
51
47
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
52
48
|
'online': json['online'],
|
|
53
49
|
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
54
|
-
'replication': json
|
|
55
|
-
'routingRuleName': json
|
|
50
|
+
'replication': !exists(json, 'replication') ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
51
|
+
'routingRuleName': !exists(json, 'routingRuleName') ? undefined : json['routingRuleName'],
|
|
56
52
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
57
53
|
};
|
|
58
54
|
}
|
|
59
55
|
export function AptProxyApiRepositoryToJSON(value) {
|
|
60
|
-
if (value
|
|
61
|
-
return
|
|
56
|
+
if (value === undefined) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
if (value === null) {
|
|
60
|
+
return null;
|
|
62
61
|
}
|
|
63
62
|
return {
|
|
64
|
-
'apt': AptProxyRepositoriesAttributesToJSON(value
|
|
65
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
66
|
-
'httpClient': HttpClientAttributesToJSON(value
|
|
67
|
-
'name': value
|
|
68
|
-
'negativeCache': NegativeCacheAttributesToJSON(value
|
|
69
|
-
'online': value
|
|
70
|
-
'proxy': ProxyAttributesToJSON(value
|
|
71
|
-
'replication': ReplicationAttributesToJSON(value
|
|
72
|
-
'routingRuleName': value
|
|
73
|
-
'storage': StorageAttributesToJSON(value
|
|
63
|
+
'apt': AptProxyRepositoriesAttributesToJSON(value.apt),
|
|
64
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
65
|
+
'httpClient': HttpClientAttributesToJSON(value.httpClient),
|
|
66
|
+
'name': value.name,
|
|
67
|
+
'negativeCache': NegativeCacheAttributesToJSON(value.negativeCache),
|
|
68
|
+
'online': value.online,
|
|
69
|
+
'proxy': ProxyAttributesToJSON(value.proxy),
|
|
70
|
+
'replication': ReplicationAttributesToJSON(value.replication),
|
|
71
|
+
'routingRuleName': value.routingRuleName,
|
|
72
|
+
'storage': StorageAttributesToJSON(value.storage),
|
|
74
73
|
};
|
|
75
74
|
}
|
|
@@ -11,32 +11,36 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the AptProxyRepositoriesAttributes interface.
|
|
16
17
|
*/
|
|
17
18
|
export function instanceOfAptProxyRepositoriesAttributes(value) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
return
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "flat" in value;
|
|
21
|
+
return isInstance;
|
|
21
22
|
}
|
|
22
23
|
export function AptProxyRepositoriesAttributesFromJSON(json) {
|
|
23
24
|
return AptProxyRepositoriesAttributesFromJSONTyped(json, false);
|
|
24
25
|
}
|
|
25
26
|
export function AptProxyRepositoriesAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
27
28
|
return json;
|
|
28
29
|
}
|
|
29
30
|
return {
|
|
30
|
-
'distribution': json
|
|
31
|
+
'distribution': !exists(json, 'distribution') ? undefined : json['distribution'],
|
|
31
32
|
'flat': json['flat'],
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
35
|
export function AptProxyRepositoriesAttributesToJSON(value) {
|
|
35
|
-
if (value
|
|
36
|
-
return
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
37
41
|
}
|
|
38
42
|
return {
|
|
39
|
-
'distribution': value
|
|
40
|
-
'flat': value
|
|
43
|
+
'distribution': value.distribution,
|
|
44
|
+
'flat': value.flat,
|
|
41
45
|
};
|
|
42
46
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
import { AptProxyRepositoriesAttributesFromJSON, AptProxyRepositoriesAttributesToJSON, } from './AptProxyRepositoriesAttributes';
|
|
15
16
|
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
16
17
|
import { HttpClientAttributesFromJSON, HttpClientAttributesToJSON, } from './HttpClientAttributes';
|
|
@@ -22,56 +23,53 @@ import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAt
|
|
|
22
23
|
* Check if a given object implements the AptProxyRepositoryApiRequest interface.
|
|
23
24
|
*/
|
|
24
25
|
export function instanceOfAptProxyRepositoryApiRequest(value) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return false;
|
|
35
|
-
if (!('proxy' in value))
|
|
36
|
-
return false;
|
|
37
|
-
if (!('storage' in value))
|
|
38
|
-
return false;
|
|
39
|
-
return true;
|
|
26
|
+
let isInstance = true;
|
|
27
|
+
isInstance = isInstance && "apt" in value;
|
|
28
|
+
isInstance = isInstance && "httpClient" in value;
|
|
29
|
+
isInstance = isInstance && "name" in value;
|
|
30
|
+
isInstance = isInstance && "negativeCache" in value;
|
|
31
|
+
isInstance = isInstance && "online" in value;
|
|
32
|
+
isInstance = isInstance && "proxy" in value;
|
|
33
|
+
isInstance = isInstance && "storage" in value;
|
|
34
|
+
return isInstance;
|
|
40
35
|
}
|
|
41
36
|
export function AptProxyRepositoryApiRequestFromJSON(json) {
|
|
42
37
|
return AptProxyRepositoryApiRequestFromJSONTyped(json, false);
|
|
43
38
|
}
|
|
44
39
|
export function AptProxyRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
if (json
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
46
41
|
return json;
|
|
47
42
|
}
|
|
48
43
|
return {
|
|
49
44
|
'apt': AptProxyRepositoriesAttributesFromJSON(json['apt']),
|
|
50
|
-
'cleanup': json
|
|
45
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
51
46
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
52
47
|
'name': json['name'],
|
|
53
48
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
54
49
|
'online': json['online'],
|
|
55
50
|
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
56
|
-
'replication': json
|
|
57
|
-
'routingRule': json
|
|
51
|
+
'replication': !exists(json, 'replication') ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
52
|
+
'routingRule': !exists(json, 'routingRule') ? undefined : json['routingRule'],
|
|
58
53
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
59
54
|
};
|
|
60
55
|
}
|
|
61
56
|
export function AptProxyRepositoryApiRequestToJSON(value) {
|
|
62
|
-
if (value
|
|
63
|
-
return
|
|
57
|
+
if (value === undefined) {
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
if (value === null) {
|
|
61
|
+
return null;
|
|
64
62
|
}
|
|
65
63
|
return {
|
|
66
|
-
'apt': AptProxyRepositoriesAttributesToJSON(value
|
|
67
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
68
|
-
'httpClient': HttpClientAttributesToJSON(value
|
|
69
|
-
'name': value
|
|
70
|
-
'negativeCache': NegativeCacheAttributesToJSON(value
|
|
71
|
-
'online': value
|
|
72
|
-
'proxy': ProxyAttributesToJSON(value
|
|
73
|
-
'replication': ReplicationAttributesToJSON(value
|
|
74
|
-
'routingRule': value
|
|
75
|
-
'storage': StorageAttributesToJSON(value
|
|
64
|
+
'apt': AptProxyRepositoriesAttributesToJSON(value.apt),
|
|
65
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
66
|
+
'httpClient': HttpClientAttributesToJSON(value.httpClient),
|
|
67
|
+
'name': value.name,
|
|
68
|
+
'negativeCache': NegativeCacheAttributesToJSON(value.negativeCache),
|
|
69
|
+
'online': value.online,
|
|
70
|
+
'proxy': ProxyAttributesToJSON(value.proxy),
|
|
71
|
+
'replication': ReplicationAttributesToJSON(value.replication),
|
|
72
|
+
'routingRule': value.routingRule,
|
|
73
|
+
'storage': StorageAttributesToJSON(value.storage),
|
|
76
74
|
};
|
|
77
75
|
}
|
|
@@ -11,30 +11,35 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the AptSigningRepositoriesAttributes interface.
|
|
16
17
|
*/
|
|
17
18
|
export function instanceOfAptSigningRepositoriesAttributes(value) {
|
|
18
|
-
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
19
21
|
}
|
|
20
22
|
export function AptSigningRepositoriesAttributesFromJSON(json) {
|
|
21
23
|
return AptSigningRepositoriesAttributesFromJSONTyped(json, false);
|
|
22
24
|
}
|
|
23
25
|
export function AptSigningRepositoriesAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
25
27
|
return json;
|
|
26
28
|
}
|
|
27
29
|
return {
|
|
28
|
-
'keypair': json
|
|
29
|
-
'passphrase': json
|
|
30
|
+
'keypair': !exists(json, 'keypair') ? undefined : json['keypair'],
|
|
31
|
+
'passphrase': !exists(json, 'passphrase') ? undefined : json['passphrase'],
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
export function AptSigningRepositoriesAttributesToJSON(value) {
|
|
33
|
-
if (value
|
|
34
|
-
return
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
35
40
|
}
|
|
36
41
|
return {
|
|
37
|
-
'keypair': value
|
|
38
|
-
'passphrase': value
|
|
42
|
+
'keypair': value.keypair,
|
|
43
|
+
'passphrase': value.passphrase,
|
|
39
44
|
};
|
|
40
45
|
}
|
|
@@ -11,52 +11,57 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the AssetXO interface.
|
|
16
17
|
*/
|
|
17
18
|
export function instanceOfAssetXO(value) {
|
|
18
|
-
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
19
21
|
}
|
|
20
22
|
export function AssetXOFromJSON(json) {
|
|
21
23
|
return AssetXOFromJSONTyped(json, false);
|
|
22
24
|
}
|
|
23
25
|
export function AssetXOFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
25
27
|
return json;
|
|
26
28
|
}
|
|
27
29
|
return {
|
|
28
|
-
'blobCreated': json
|
|
29
|
-
'checksum': json
|
|
30
|
-
'contentType': json
|
|
31
|
-
'downloadUrl': json
|
|
32
|
-
'fileSize': json
|
|
33
|
-
'format': json
|
|
34
|
-
'id': json
|
|
35
|
-
'lastDownloaded': json
|
|
36
|
-
'lastModified': json
|
|
37
|
-
'path': json
|
|
38
|
-
'repository': json
|
|
39
|
-
'uploader': json
|
|
40
|
-
'uploaderIp': json
|
|
30
|
+
'blobCreated': !exists(json, 'blobCreated') ? undefined : (new Date(json['blobCreated'])),
|
|
31
|
+
'checksum': !exists(json, 'checksum') ? undefined : json['checksum'],
|
|
32
|
+
'contentType': !exists(json, 'contentType') ? undefined : json['contentType'],
|
|
33
|
+
'downloadUrl': !exists(json, 'downloadUrl') ? undefined : json['downloadUrl'],
|
|
34
|
+
'fileSize': !exists(json, 'fileSize') ? undefined : json['fileSize'],
|
|
35
|
+
'format': !exists(json, 'format') ? undefined : json['format'],
|
|
36
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
37
|
+
'lastDownloaded': !exists(json, 'lastDownloaded') ? undefined : (new Date(json['lastDownloaded'])),
|
|
38
|
+
'lastModified': !exists(json, 'lastModified') ? undefined : (new Date(json['lastModified'])),
|
|
39
|
+
'path': !exists(json, 'path') ? undefined : json['path'],
|
|
40
|
+
'repository': !exists(json, 'repository') ? undefined : json['repository'],
|
|
41
|
+
'uploader': !exists(json, 'uploader') ? undefined : json['uploader'],
|
|
42
|
+
'uploaderIp': !exists(json, 'uploaderIp') ? undefined : json['uploaderIp'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
export function AssetXOToJSON(value) {
|
|
44
|
-
if (value
|
|
45
|
-
return
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
46
51
|
}
|
|
47
52
|
return {
|
|
48
|
-
'blobCreated': value
|
|
49
|
-
'checksum': value
|
|
50
|
-
'contentType': value
|
|
51
|
-
'downloadUrl': value
|
|
52
|
-
'fileSize': value
|
|
53
|
-
'format': value
|
|
54
|
-
'id': value
|
|
55
|
-
'lastDownloaded': value
|
|
56
|
-
'lastModified': value
|
|
57
|
-
'path': value
|
|
58
|
-
'repository': value
|
|
59
|
-
'uploader': value
|
|
60
|
-
'uploaderIp': value
|
|
53
|
+
'blobCreated': value.blobCreated === undefined ? undefined : (value.blobCreated.toISOString()),
|
|
54
|
+
'checksum': value.checksum,
|
|
55
|
+
'contentType': value.contentType,
|
|
56
|
+
'downloadUrl': value.downloadUrl,
|
|
57
|
+
'fileSize': value.fileSize,
|
|
58
|
+
'format': value.format,
|
|
59
|
+
'id': value.id,
|
|
60
|
+
'lastDownloaded': value.lastDownloaded === undefined ? undefined : (value.lastDownloaded.toISOString()),
|
|
61
|
+
'lastModified': value.lastModified === undefined ? undefined : (value.lastModified.toISOString()),
|
|
62
|
+
'path': value.path,
|
|
63
|
+
'repository': value.repository,
|
|
64
|
+
'uploader': value.uploader,
|
|
65
|
+
'uploaderIp': value.uploaderIp,
|
|
61
66
|
};
|
|
62
67
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
/**
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
@@ -23,28 +24,31 @@ export const AzureBlobStoreApiAuthenticationAuthenticationMethodEnum = {
|
|
|
23
24
|
* Check if a given object implements the AzureBlobStoreApiAuthentication interface.
|
|
24
25
|
*/
|
|
25
26
|
export function instanceOfAzureBlobStoreApiAuthentication(value) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return
|
|
27
|
+
let isInstance = true;
|
|
28
|
+
isInstance = isInstance && "authenticationMethod" in value;
|
|
29
|
+
return isInstance;
|
|
29
30
|
}
|
|
30
31
|
export function AzureBlobStoreApiAuthenticationFromJSON(json) {
|
|
31
32
|
return AzureBlobStoreApiAuthenticationFromJSONTyped(json, false);
|
|
32
33
|
}
|
|
33
34
|
export function AzureBlobStoreApiAuthenticationFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
35
36
|
return json;
|
|
36
37
|
}
|
|
37
38
|
return {
|
|
38
|
-
'accountKey': json
|
|
39
|
+
'accountKey': !exists(json, 'accountKey') ? undefined : json['accountKey'],
|
|
39
40
|
'authenticationMethod': json['authenticationMethod'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function AzureBlobStoreApiAuthenticationToJSON(value) {
|
|
43
|
-
if (value
|
|
44
|
-
return
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
45
49
|
}
|
|
46
50
|
return {
|
|
47
|
-
'accountKey': value
|
|
48
|
-
'authenticationMethod': value
|
|
51
|
+
'accountKey': value.accountKey,
|
|
52
|
+
'authenticationMethod': value.authenticationMethod,
|
|
49
53
|
};
|
|
50
54
|
}
|
|
@@ -16,19 +16,17 @@ import { AzureBlobStoreApiAuthenticationFromJSON, AzureBlobStoreApiAuthenticatio
|
|
|
16
16
|
* Check if a given object implements the AzureBlobStoreApiBucketConfiguration interface.
|
|
17
17
|
*/
|
|
18
18
|
export function instanceOfAzureBlobStoreApiBucketConfiguration(value) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "accountName" in value;
|
|
21
|
+
isInstance = isInstance && "authentication" in value;
|
|
22
|
+
isInstance = isInstance && "containerName" in value;
|
|
23
|
+
return isInstance;
|
|
26
24
|
}
|
|
27
25
|
export function AzureBlobStoreApiBucketConfigurationFromJSON(json) {
|
|
28
26
|
return AzureBlobStoreApiBucketConfigurationFromJSONTyped(json, false);
|
|
29
27
|
}
|
|
30
28
|
export function AzureBlobStoreApiBucketConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
32
30
|
return json;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
@@ -38,12 +36,15 @@ export function AzureBlobStoreApiBucketConfigurationFromJSONTyped(json, ignoreDi
|
|
|
38
36
|
};
|
|
39
37
|
}
|
|
40
38
|
export function AzureBlobStoreApiBucketConfigurationToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
43
44
|
}
|
|
44
45
|
return {
|
|
45
|
-
'accountName': value
|
|
46
|
-
'authentication': AzureBlobStoreApiAuthenticationToJSON(value
|
|
47
|
-
'containerName': value
|
|
46
|
+
'accountName': value.accountName,
|
|
47
|
+
'authentication': AzureBlobStoreApiAuthenticationToJSON(value.authentication),
|
|
48
|
+
'containerName': value.containerName,
|
|
48
49
|
};
|
|
49
50
|
}
|
|
@@ -11,38 +11,41 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
import { AzureBlobStoreApiBucketConfigurationFromJSON, AzureBlobStoreApiBucketConfigurationToJSON, } from './AzureBlobStoreApiBucketConfiguration';
|
|
15
16
|
import { BlobStoreApiSoftQuotaFromJSON, BlobStoreApiSoftQuotaToJSON, } from './BlobStoreApiSoftQuota';
|
|
16
17
|
/**
|
|
17
18
|
* Check if a given object implements the AzureBlobStoreApiModel interface.
|
|
18
19
|
*/
|
|
19
20
|
export function instanceOfAzureBlobStoreApiModel(value) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return true;
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "bucketConfiguration" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
return isInstance;
|
|
25
25
|
}
|
|
26
26
|
export function AzureBlobStoreApiModelFromJSON(json) {
|
|
27
27
|
return AzureBlobStoreApiModelFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
29
|
export function AzureBlobStoreApiModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'bucketConfiguration': AzureBlobStoreApiBucketConfigurationFromJSON(json['bucketConfiguration']),
|
|
35
35
|
'name': json['name'],
|
|
36
|
-
'softQuota': json
|
|
36
|
+
'softQuota': !exists(json, 'softQuota') ? undefined : BlobStoreApiSoftQuotaFromJSON(json['softQuota']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
export function AzureBlobStoreApiModelToJSON(value) {
|
|
40
|
-
if (value
|
|
41
|
-
return
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
42
45
|
}
|
|
43
46
|
return {
|
|
44
|
-
'bucketConfiguration': AzureBlobStoreApiBucketConfigurationToJSON(value
|
|
45
|
-
'name': value
|
|
46
|
-
'softQuota': BlobStoreApiSoftQuotaToJSON(value
|
|
47
|
+
'bucketConfiguration': AzureBlobStoreApiBucketConfigurationToJSON(value.bucketConfiguration),
|
|
48
|
+
'name': value.name,
|
|
49
|
+
'softQuota': BlobStoreApiSoftQuotaToJSON(value.softQuota),
|
|
47
50
|
};
|
|
48
51
|
}
|