@sonatype/nexus-repo-api-client 0.0.1 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/dist/apis/AssetsApi.js +12 -12
- package/dist/apis/AzureBlobStoreApi.js +1 -1
- package/dist/apis/BlobStoreApi.js +43 -43
- package/dist/apis/ComponentsApi.js +104 -104
- package/dist/apis/ContentSelectorsApi.js +11 -11
- package/dist/apis/EmailApi.js +6 -6
- package/dist/apis/FormatsApi.js +3 -3
- package/dist/apis/LifecycleApi.js +2 -2
- package/dist/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
- package/dist/apis/ProductLicensingApi.js +1 -1
- package/dist/apis/RepositoryManagementApi.js +346 -346
- package/dist/apis/RoutingRulesApi.js +15 -15
- package/dist/apis/ScriptApi.js +15 -15
- package/dist/apis/SearchApi.js +322 -322
- package/dist/apis/SecurityAtlassianCrowdApi.js +2 -2
- package/dist/apis/SecurityCertificatesApi.js +12 -12
- package/dist/apis/SecurityManagementAnonymousAccessApi.js +1 -1
- package/dist/apis/SecurityManagementLDAPApi.js +12 -12
- package/dist/apis/SecurityManagementPrivilegesApi.js +36 -36
- package/dist/apis/SecurityManagementRealmsApi.js +1 -1
- package/dist/apis/SecurityManagementRolesApi.js +19 -19
- package/dist/apis/SecurityManagementSAMLApi.js +1 -1
- package/dist/apis/SecurityManagementUserTokensApi.js +1 -1
- package/dist/apis/SecurityManagementUsersApi.js +21 -21
- package/dist/apis/StagingApi.js +203 -203
- package/dist/apis/SupportApi.js +2 -2
- package/dist/apis/TagsApi.js +221 -221
- package/dist/apis/TasksApi.js +11 -11
- package/dist/esm/apis/AssetsApi.js +12 -12
- package/dist/esm/apis/AzureBlobStoreApi.js +1 -1
- package/dist/esm/apis/BlobStoreApi.js +43 -43
- package/dist/esm/apis/ComponentsApi.js +104 -104
- package/dist/esm/apis/ContentSelectorsApi.js +11 -11
- package/dist/esm/apis/EmailApi.js +6 -6
- package/dist/esm/apis/FormatsApi.js +3 -3
- package/dist/esm/apis/LifecycleApi.js +2 -2
- package/dist/esm/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
- package/dist/esm/apis/ProductLicensingApi.js +1 -1
- package/dist/esm/apis/RepositoryManagementApi.js +346 -346
- package/dist/esm/apis/RoutingRulesApi.js +15 -15
- package/dist/esm/apis/ScriptApi.js +15 -15
- package/dist/esm/apis/SearchApi.js +322 -322
- package/dist/esm/apis/SecurityAtlassianCrowdApi.js +2 -2
- package/dist/esm/apis/SecurityCertificatesApi.js +12 -12
- package/dist/esm/apis/SecurityManagementAnonymousAccessApi.js +1 -1
- package/dist/esm/apis/SecurityManagementLDAPApi.js +12 -12
- package/dist/esm/apis/SecurityManagementPrivilegesApi.js +36 -36
- package/dist/esm/apis/SecurityManagementRealmsApi.js +1 -1
- package/dist/esm/apis/SecurityManagementRolesApi.js +19 -19
- package/dist/esm/apis/SecurityManagementSAMLApi.js +1 -1
- package/dist/esm/apis/SecurityManagementUserTokensApi.js +1 -1
- package/dist/esm/apis/SecurityManagementUsersApi.js +21 -21
- package/dist/esm/apis/StagingApi.js +203 -203
- package/dist/esm/apis/SupportApi.js +2 -2
- package/dist/esm/apis/TagsApi.js +221 -221
- package/dist/esm/apis/TasksApi.js +11 -11
- package/dist/esm/models/AbstractApiRepository.js +19 -15
- package/dist/esm/models/AnonymousAccessSettingsXO.js +15 -10
- package/dist/esm/models/ApiCertificate.js +33 -28
- package/dist/esm/models/ApiCreateUser.js +23 -19
- package/dist/esm/models/ApiEmailConfiguration.js +33 -29
- package/dist/esm/models/ApiEmailValidation.js +13 -8
- package/dist/esm/models/ApiLicenseDetailsXO.js +27 -22
- package/dist/esm/models/ApiPrivilege.js +17 -12
- package/dist/esm/models/ApiPrivilegeApplicationRequest.js +17 -12
- package/dist/esm/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
- package/dist/esm/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
- package/dist/esm/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
- package/dist/esm/models/ApiPrivilegeScriptRequest.js +17 -12
- package/dist/esm/models/ApiPrivilegeWildcardRequest.js +15 -10
- package/dist/esm/models/ApiUser.js +27 -23
- package/dist/esm/models/ApiUserSource.js +13 -8
- package/dist/esm/models/AptHostedApiRepository.js +23 -22
- package/dist/esm/models/AptHostedRepositoriesAttributes.js +11 -6
- package/dist/esm/models/AptHostedRepositoryApiRequest.js +23 -23
- package/dist/esm/models/AptProxyApiRepository.js +29 -30
- package/dist/esm/models/AptProxyRepositoriesAttributes.js +13 -9
- package/dist/esm/models/AptProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/AptSigningRepositoriesAttributes.js +13 -8
- package/dist/esm/models/AssetXO.js +35 -30
- package/dist/esm/models/AzureBlobStoreApiAuthentication.js +13 -9
- package/dist/esm/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
- package/dist/esm/models/AzureBlobStoreApiModel.js +15 -12
- package/dist/esm/models/AzureConnectionXO.js +17 -12
- package/dist/esm/models/BaseTagXO.js +11 -6
- package/dist/esm/models/BlobStoreApiSoftQuota.js +13 -8
- package/dist/esm/models/BlobStoreQuotaResultXO.js +15 -10
- package/dist/esm/models/BowerAttributes.js +10 -7
- package/dist/esm/models/BowerGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/BowerHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/BowerProxyApiRepository.js +29 -29
- package/dist/esm/models/BowerProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/CleanupPolicyAttributes.js +11 -6
- package/dist/esm/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/ComponentAttributes.js +11 -6
- package/dist/esm/models/ComponentXO.js +23 -18
- package/dist/esm/models/ConanProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/CondaProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/ContentSelectorApiCreateRequest.js +15 -10
- package/dist/esm/models/ContentSelectorApiResponse.js +17 -12
- package/dist/esm/models/ContentSelectorApiUpdateRequest.js +13 -8
- package/dist/esm/models/CreateLdapServerXo.js +69 -75
- package/dist/esm/models/CrowdApiXO.js +23 -20
- package/dist/esm/models/DockerAttributes.js +19 -16
- package/dist/esm/models/DockerGroupApiRepository.js +19 -18
- package/dist/esm/models/DockerGroupRepositoryApiRequest.js +18 -19
- package/dist/esm/models/DockerHostedApiRepository.js +21 -19
- package/dist/esm/models/DockerHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/DockerHostedStorageAttributes.js +17 -15
- package/dist/esm/models/DockerProxyApiRepository.js +31 -33
- package/dist/esm/models/DockerProxyAttributes.js +17 -12
- package/dist/esm/models/DockerProxyRepositoryApiRequest.js +31 -34
- package/dist/esm/models/FileBlobStoreApiCreateRequest.js +15 -10
- package/dist/esm/models/FileBlobStoreApiModel.js +13 -8
- package/dist/esm/models/FileBlobStoreApiUpdateRequest.js +13 -8
- package/dist/esm/models/GenericBlobStoreApiResponse.js +23 -18
- package/dist/esm/models/GitLfsHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/GolangGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/GolangProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/GroupAttributes.js +11 -6
- package/dist/esm/models/GroupBlobStoreApiCreateRequest.js +17 -12
- package/dist/esm/models/GroupBlobStoreApiModel.js +15 -10
- package/dist/esm/models/GroupBlobStoreApiResponse.js +17 -12
- package/dist/esm/models/GroupBlobStoreApiUpdateRequest.js +15 -10
- package/dist/esm/models/GroupDeployAttributes.js +13 -8
- package/dist/esm/models/HelmHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/HelmProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/HostedStorageAttributes.js +14 -13
- package/dist/esm/models/HttpClientAttributes.js +17 -14
- package/dist/esm/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
- package/dist/esm/models/HttpClientConnectionAttributes.js +21 -16
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
- package/dist/esm/models/IqConnectionVerificationXo.js +13 -8
- package/dist/esm/models/IqConnectionXo.js +29 -25
- package/dist/esm/models/MavenAttributes.js +15 -10
- package/dist/esm/models/MavenGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/MavenHostedApiRepository.js +27 -25
- package/dist/esm/models/MavenHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/MavenProxyApiRepository.js +35 -36
- package/dist/esm/models/MavenProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/NegativeCacheAttributes.js +12 -10
- package/dist/esm/models/NpmAttributes.js +10 -7
- package/dist/esm/models/NpmGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/NpmHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/NpmProxyApiRepository.js +29 -29
- package/dist/esm/models/NpmProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/NugetAttributes.js +13 -8
- package/dist/esm/models/NugetGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/NugetHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/NugetProxyApiRepository.js +29 -30
- package/dist/esm/models/NugetProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/P2ProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/Page.js +13 -8
- package/dist/esm/models/PageAssetXO.js +13 -8
- package/dist/esm/models/PageComponentXO.js +13 -8
- package/dist/esm/models/PageTagXO.js +13 -8
- package/dist/esm/models/PageTaskXO.js +13 -8
- package/dist/esm/models/ProxyAttributes.js +15 -12
- package/dist/esm/models/PyPiProxyAttributes.js +10 -7
- package/dist/esm/models/PypiGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/PypiHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/PypiProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/RGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/RHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/RProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/RawAttributes.js +11 -6
- package/dist/esm/models/RawGroupRepositoryApiRequest.js +19 -18
- package/dist/esm/models/RawHostedRepositoryApiRequest.js +21 -19
- package/dist/esm/models/RawProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/ReadLdapServerXo.js +71 -76
- package/dist/esm/models/ReadOnlyState.js +15 -10
- package/dist/esm/models/RealmApiXO.js +13 -8
- package/dist/esm/models/ReplicationAttributes.js +13 -9
- package/dist/esm/models/RepositoryXO.js +19 -14
- package/dist/esm/models/Result.js +23 -18
- package/dist/esm/models/RoleXORequest.js +19 -14
- package/dist/esm/models/RoleXOResponse.js +23 -18
- package/dist/esm/models/RoutingRuleXO.js +17 -12
- package/dist/esm/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
- package/dist/esm/models/S3BlobStoreApiBucket.js +17 -15
- package/dist/esm/models/S3BlobStoreApiBucketConfiguration.js +17 -13
- package/dist/esm/models/S3BlobStoreApiBucketSecurity.js +17 -12
- package/dist/esm/models/S3BlobStoreApiEncryption.js +13 -8
- package/dist/esm/models/S3BlobStoreApiModel.js +16 -13
- package/dist/esm/models/SamlConfigurationXO.js +27 -24
- package/dist/esm/models/ScriptResultXO.js +13 -8
- package/dist/esm/models/ScriptXO.js +15 -10
- package/dist/esm/models/SimpleApiGroupDeployRepository.js +15 -13
- package/dist/esm/models/SimpleApiGroupRepository.js +23 -21
- package/dist/esm/models/SimpleApiHostedRepository.js +19 -16
- package/dist/esm/models/SimpleApiProxyRepository.js +27 -27
- package/dist/esm/models/StackTraceElement.js +19 -14
- package/dist/esm/models/StorageAttributes.js +15 -12
- package/dist/esm/models/SupportZipGeneratorRequest.js +35 -30
- package/dist/esm/models/SupportZipXO.js +17 -12
- package/dist/esm/models/TagXO.js +17 -13
- package/dist/esm/models/TaskXO.js +25 -20
- package/dist/esm/models/Throwable.js +19 -14
- package/dist/esm/models/UpdateLdapServerXo.js +71 -77
- package/dist/esm/models/UploadComponentRequest.js +97 -92
- package/dist/esm/models/UploadDefinitionXO.js +17 -12
- package/dist/esm/models/UploadFieldDefinitionXO.js +19 -14
- package/dist/esm/models/UserTokensApiModel.js +13 -8
- package/dist/esm/models/YumAttributes.js +13 -9
- package/dist/esm/models/YumGroupRepositoryApiRequest.js +19 -18
- package/dist/esm/models/YumHostedApiRepository.js +21 -19
- package/dist/esm/models/YumHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/YumProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/YumSigningRepositoriesAttributes.js +13 -8
- package/dist/esm/runtime.d.ts +1 -0
- package/dist/esm/runtime.js +4 -0
- package/dist/models/AbstractApiRepository.js +19 -15
- package/dist/models/AnonymousAccessSettingsXO.js +15 -10
- package/dist/models/ApiCertificate.js +33 -28
- package/dist/models/ApiCreateUser.js +23 -19
- package/dist/models/ApiEmailConfiguration.js +33 -29
- package/dist/models/ApiEmailValidation.js +13 -8
- package/dist/models/ApiLicenseDetailsXO.js +27 -22
- package/dist/models/ApiPrivilege.js +17 -12
- package/dist/models/ApiPrivilegeApplicationRequest.js +17 -12
- package/dist/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
- package/dist/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
- package/dist/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
- package/dist/models/ApiPrivilegeScriptRequest.js +17 -12
- package/dist/models/ApiPrivilegeWildcardRequest.js +15 -10
- package/dist/models/ApiUser.js +27 -23
- package/dist/models/ApiUserSource.js +13 -8
- package/dist/models/AptHostedApiRepository.js +23 -22
- package/dist/models/AptHostedRepositoriesAttributes.js +11 -6
- package/dist/models/AptHostedRepositoryApiRequest.js +23 -23
- package/dist/models/AptProxyApiRepository.js +29 -30
- package/dist/models/AptProxyRepositoriesAttributes.js +13 -9
- package/dist/models/AptProxyRepositoryApiRequest.js +29 -31
- package/dist/models/AptSigningRepositoriesAttributes.js +13 -8
- package/dist/models/AssetXO.js +35 -30
- package/dist/models/AzureBlobStoreApiAuthentication.js +13 -9
- package/dist/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
- package/dist/models/AzureBlobStoreApiModel.js +15 -12
- package/dist/models/AzureConnectionXO.js +17 -12
- package/dist/models/BaseTagXO.js +11 -6
- package/dist/models/BlobStoreApiSoftQuota.js +13 -8
- package/dist/models/BlobStoreQuotaResultXO.js +15 -10
- package/dist/models/BowerAttributes.js +10 -7
- package/dist/models/BowerGroupRepositoryApiRequest.js +16 -16
- package/dist/models/BowerHostedRepositoryApiRequest.js +19 -17
- package/dist/models/BowerProxyApiRepository.js +29 -29
- package/dist/models/BowerProxyRepositoryApiRequest.js +29 -30
- package/dist/models/CleanupPolicyAttributes.js +11 -6
- package/dist/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
- package/dist/models/ComponentAttributes.js +11 -6
- package/dist/models/ComponentXO.js +23 -18
- package/dist/models/ConanProxyRepositoryApiRequest.js +27 -28
- package/dist/models/CondaProxyRepositoryApiRequest.js +27 -28
- package/dist/models/ContentSelectorApiCreateRequest.js +15 -10
- package/dist/models/ContentSelectorApiResponse.js +17 -12
- package/dist/models/ContentSelectorApiUpdateRequest.js +13 -8
- package/dist/models/CreateLdapServerXo.js +69 -75
- package/dist/models/CrowdApiXO.js +23 -20
- package/dist/models/DockerAttributes.js +19 -16
- package/dist/models/DockerGroupApiRepository.js +19 -18
- package/dist/models/DockerGroupRepositoryApiRequest.js +18 -19
- package/dist/models/DockerHostedApiRepository.js +21 -19
- package/dist/models/DockerHostedRepositoryApiRequest.js +21 -20
- package/dist/models/DockerHostedStorageAttributes.js +17 -15
- package/dist/models/DockerProxyApiRepository.js +31 -33
- package/dist/models/DockerProxyAttributes.js +17 -12
- package/dist/models/DockerProxyRepositoryApiRequest.js +31 -34
- package/dist/models/FileBlobStoreApiCreateRequest.js +15 -10
- package/dist/models/FileBlobStoreApiModel.js +13 -8
- package/dist/models/FileBlobStoreApiUpdateRequest.js +13 -8
- package/dist/models/GenericBlobStoreApiResponse.js +23 -18
- package/dist/models/GitLfsHostedRepositoryApiRequest.js +19 -17
- package/dist/models/GolangGroupRepositoryApiRequest.js +16 -16
- package/dist/models/GolangProxyRepositoryApiRequest.js +27 -28
- package/dist/models/GroupAttributes.js +11 -6
- package/dist/models/GroupBlobStoreApiCreateRequest.js +17 -12
- package/dist/models/GroupBlobStoreApiModel.js +15 -10
- package/dist/models/GroupBlobStoreApiResponse.js +17 -12
- package/dist/models/GroupBlobStoreApiUpdateRequest.js +15 -10
- package/dist/models/GroupDeployAttributes.js +13 -8
- package/dist/models/HelmHostedRepositoryApiRequest.js +19 -17
- package/dist/models/HelmProxyRepositoryApiRequest.js +27 -28
- package/dist/models/HostedStorageAttributes.js +14 -13
- package/dist/models/HttpClientAttributes.js +17 -14
- package/dist/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
- package/dist/models/HttpClientConnectionAttributes.js +21 -16
- package/dist/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
- package/dist/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
- package/dist/models/IqConnectionVerificationXo.js +13 -8
- package/dist/models/IqConnectionXo.js +29 -25
- package/dist/models/MavenAttributes.js +15 -10
- package/dist/models/MavenGroupRepositoryApiRequest.js +16 -16
- package/dist/models/MavenHostedApiRepository.js +27 -25
- package/dist/models/MavenHostedRepositoryApiRequest.js +21 -20
- package/dist/models/MavenProxyApiRepository.js +35 -36
- package/dist/models/MavenProxyRepositoryApiRequest.js +29 -31
- package/dist/models/NegativeCacheAttributes.js +12 -10
- package/dist/models/NpmAttributes.js +10 -7
- package/dist/models/NpmGroupRepositoryApiRequest.js +16 -16
- package/dist/models/NpmHostedRepositoryApiRequest.js +19 -17
- package/dist/models/NpmProxyApiRepository.js +29 -29
- package/dist/models/NpmProxyRepositoryApiRequest.js +29 -30
- package/dist/models/NugetAttributes.js +13 -8
- package/dist/models/NugetGroupRepositoryApiRequest.js +16 -16
- package/dist/models/NugetHostedRepositoryApiRequest.js +19 -17
- package/dist/models/NugetProxyApiRepository.js +29 -30
- package/dist/models/NugetProxyRepositoryApiRequest.js +29 -31
- package/dist/models/P2ProxyRepositoryApiRequest.js +27 -28
- package/dist/models/Page.js +13 -8
- package/dist/models/PageAssetXO.js +13 -8
- package/dist/models/PageComponentXO.js +13 -8
- package/dist/models/PageTagXO.js +13 -8
- package/dist/models/PageTaskXO.js +13 -8
- package/dist/models/ProxyAttributes.js +15 -12
- package/dist/models/PyPiProxyAttributes.js +10 -7
- package/dist/models/PypiGroupRepositoryApiRequest.js +16 -16
- package/dist/models/PypiHostedRepositoryApiRequest.js +19 -17
- package/dist/models/PypiProxyRepositoryApiRequest.js +29 -30
- package/dist/models/RGroupRepositoryApiRequest.js +16 -16
- package/dist/models/RHostedRepositoryApiRequest.js +19 -17
- package/dist/models/RProxyRepositoryApiRequest.js +27 -28
- package/dist/models/RawAttributes.js +11 -6
- package/dist/models/RawGroupRepositoryApiRequest.js +19 -18
- package/dist/models/RawHostedRepositoryApiRequest.js +21 -19
- package/dist/models/RawProxyRepositoryApiRequest.js +29 -30
- package/dist/models/ReadLdapServerXo.js +71 -76
- package/dist/models/ReadOnlyState.js +15 -10
- package/dist/models/RealmApiXO.js +13 -8
- package/dist/models/ReplicationAttributes.js +13 -9
- package/dist/models/RepositoryXO.js +19 -14
- package/dist/models/Result.js +23 -18
- package/dist/models/RoleXORequest.js +19 -14
- package/dist/models/RoleXOResponse.js +23 -18
- package/dist/models/RoutingRuleXO.js +17 -12
- package/dist/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
- package/dist/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
- package/dist/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
- package/dist/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
- package/dist/models/S3BlobStoreApiBucket.js +17 -15
- package/dist/models/S3BlobStoreApiBucketConfiguration.js +17 -13
- package/dist/models/S3BlobStoreApiBucketSecurity.js +17 -12
- package/dist/models/S3BlobStoreApiEncryption.js +13 -8
- package/dist/models/S3BlobStoreApiModel.js +16 -13
- package/dist/models/SamlConfigurationXO.js +27 -24
- package/dist/models/ScriptResultXO.js +13 -8
- package/dist/models/ScriptXO.js +15 -10
- package/dist/models/SimpleApiGroupDeployRepository.js +15 -13
- package/dist/models/SimpleApiGroupRepository.js +23 -21
- package/dist/models/SimpleApiHostedRepository.js +19 -16
- package/dist/models/SimpleApiProxyRepository.js +27 -27
- package/dist/models/StackTraceElement.js +19 -14
- package/dist/models/StorageAttributes.js +15 -12
- package/dist/models/SupportZipGeneratorRequest.js +35 -30
- package/dist/models/SupportZipXO.js +17 -12
- package/dist/models/TagXO.js +17 -13
- package/dist/models/TaskXO.js +25 -20
- package/dist/models/Throwable.js +19 -14
- package/dist/models/UpdateLdapServerXo.js +71 -77
- package/dist/models/UploadComponentRequest.js +97 -92
- package/dist/models/UploadDefinitionXO.js +17 -12
- package/dist/models/UploadFieldDefinitionXO.js +19 -14
- package/dist/models/UserTokensApiModel.js +13 -8
- package/dist/models/YumAttributes.js +13 -9
- package/dist/models/YumGroupRepositoryApiRequest.js +19 -18
- package/dist/models/YumHostedApiRepository.js +21 -19
- package/dist/models/YumHostedRepositoryApiRequest.js +21 -20
- package/dist/models/YumProxyRepositoryApiRequest.js +29 -30
- package/dist/models/YumSigningRepositoriesAttributes.js +13 -8
- package/dist/runtime.d.ts +1 -0
- package/dist/runtime.js +6 -1
- package/package.json +1 -1
- package/src/apis/AssetsApi.ts +12 -21
- package/src/apis/AzureBlobStoreApi.ts +1 -1
- package/src/apis/BlobStoreApi.ts +43 -79
- package/src/apis/ComponentsApi.ts +104 -116
- package/src/apis/ContentSelectorsApi.ts +11 -20
- package/src/apis/EmailApi.ts +6 -12
- package/src/apis/FormatsApi.ts +3 -6
- package/src/apis/LifecycleApi.ts +2 -2
- package/src/apis/ManageSonatypeRepositoryFirewallConfigurationApi.ts +1 -1
- package/src/apis/ProductLicensingApi.ts +1 -1
- package/src/apis/RepositoryManagementApi.ts +346 -610
- package/src/apis/RoutingRulesApi.ts +15 -30
- package/src/apis/ScriptApi.ts +15 -27
- package/src/apis/SearchApi.ts +322 -322
- package/src/apis/SecurityAtlassianCrowdApi.ts +2 -2
- package/src/apis/SecurityCertificatesApi.ts +12 -18
- package/src/apis/SecurityManagementAnonymousAccessApi.ts +1 -1
- package/src/apis/SecurityManagementLDAPApi.ts +12 -21
- package/src/apis/SecurityManagementPrivilegesApi.ts +36 -60
- package/src/apis/SecurityManagementRealmsApi.ts +1 -1
- package/src/apis/SecurityManagementRolesApi.ts +19 -34
- package/src/apis/SecurityManagementSAMLApi.ts +1 -1
- package/src/apis/SecurityManagementUserTokensApi.ts +1 -1
- package/src/apis/SecurityManagementUsersApi.ts +21 -36
- package/src/apis/StagingApi.ts +203 -206
- package/src/apis/SupportApi.ts +2 -2
- package/src/apis/TagsApi.ts +221 -236
- package/src/apis/TasksApi.ts +11 -20
- package/src/models/AbstractApiRepository.ts +20 -15
- package/src/models/AnonymousAccessSettingsXO.ts +16 -11
- package/src/models/ApiCertificate.ts +34 -29
- package/src/models/ApiCreateUser.ts +24 -19
- package/src/models/ApiEmailConfiguration.ts +34 -29
- package/src/models/ApiEmailValidation.ts +14 -9
- package/src/models/ApiLicenseDetailsXO.ts +28 -23
- package/src/models/ApiPrivilege.ts +18 -13
- package/src/models/ApiPrivilegeApplicationRequest.ts +18 -13
- package/src/models/ApiPrivilegeRepositoryAdminRequest.ts +20 -15
- package/src/models/ApiPrivilegeRepositoryContentSelectorRequest.ts +22 -17
- package/src/models/ApiPrivilegeRepositoryViewRequest.ts +20 -15
- package/src/models/ApiPrivilegeScriptRequest.ts +18 -13
- package/src/models/ApiPrivilegeWildcardRequest.ts +16 -11
- package/src/models/ApiUser.ts +28 -23
- package/src/models/ApiUserSource.ts +14 -9
- package/src/models/AptHostedApiRepository.ts +24 -19
- package/src/models/AptHostedRepositoriesAttributes.ts +12 -7
- package/src/models/AptHostedRepositoryApiRequest.ts +24 -19
- package/src/models/AptProxyApiRepository.ts +30 -25
- package/src/models/AptProxyRepositoriesAttributes.ts +14 -9
- package/src/models/AptProxyRepositoryApiRequest.ts +30 -25
- package/src/models/AptSigningRepositoriesAttributes.ts +14 -9
- package/src/models/AssetXO.ts +36 -31
- package/src/models/AzureBlobStoreApiAuthentication.ts +14 -9
- package/src/models/AzureBlobStoreApiBucketConfiguration.ts +16 -11
- package/src/models/AzureBlobStoreApiModel.ts +16 -11
- package/src/models/AzureConnectionXO.ts +18 -13
- package/src/models/BaseTagXO.ts +12 -7
- package/src/models/BlobStoreApiSoftQuota.ts +14 -9
- package/src/models/BlobStoreQuotaResultXO.ts +16 -11
- package/src/models/BowerAttributes.ts +12 -7
- package/src/models/BowerGroupRepositoryApiRequest.ts +18 -13
- package/src/models/BowerHostedRepositoryApiRequest.ts +20 -15
- package/src/models/BowerProxyApiRepository.ts +30 -25
- package/src/models/BowerProxyRepositoryApiRequest.ts +30 -25
- package/src/models/CleanupPolicyAttributes.ts +12 -7
- package/src/models/CocoapodsProxyRepositoryApiRequest.ts +28 -23
- package/src/models/ComponentAttributes.ts +12 -7
- package/src/models/ComponentXO.ts +24 -19
- package/src/models/ConanProxyRepositoryApiRequest.ts +28 -23
- package/src/models/CondaProxyRepositoryApiRequest.ts +28 -23
- package/src/models/ContentSelectorApiCreateRequest.ts +16 -11
- package/src/models/ContentSelectorApiResponse.ts +18 -13
- package/src/models/ContentSelectorApiUpdateRequest.ts +14 -9
- package/src/models/CreateLdapServerXo.ts +70 -65
- package/src/models/CrowdApiXO.ts +24 -19
- package/src/models/DockerAttributes.ts +20 -15
- package/src/models/DockerGroupApiRepository.ts +20 -15
- package/src/models/DockerGroupRepositoryApiRequest.ts +20 -15
- package/src/models/DockerHostedApiRepository.ts +22 -17
- package/src/models/DockerHostedRepositoryApiRequest.ts +22 -17
- package/src/models/DockerHostedStorageAttributes.ts +18 -13
- package/src/models/DockerProxyApiRepository.ts +32 -27
- package/src/models/DockerProxyAttributes.ts +18 -13
- package/src/models/DockerProxyRepositoryApiRequest.ts +32 -27
- package/src/models/FileBlobStoreApiCreateRequest.ts +16 -11
- package/src/models/FileBlobStoreApiModel.ts +14 -9
- package/src/models/FileBlobStoreApiUpdateRequest.ts +14 -9
- package/src/models/GenericBlobStoreApiResponse.ts +24 -19
- package/src/models/GitLfsHostedRepositoryApiRequest.ts +20 -15
- package/src/models/GolangGroupRepositoryApiRequest.ts +18 -13
- package/src/models/GolangProxyRepositoryApiRequest.ts +28 -23
- package/src/models/GroupAttributes.ts +12 -7
- package/src/models/GroupBlobStoreApiCreateRequest.ts +18 -13
- package/src/models/GroupBlobStoreApiModel.ts +16 -11
- package/src/models/GroupBlobStoreApiResponse.ts +18 -13
- package/src/models/GroupBlobStoreApiUpdateRequest.ts +16 -11
- package/src/models/GroupDeployAttributes.ts +14 -9
- package/src/models/HelmHostedRepositoryApiRequest.ts +20 -15
- package/src/models/HelmProxyRepositoryApiRequest.ts +28 -23
- package/src/models/HostedStorageAttributes.ts +16 -11
- package/src/models/HttpClientAttributes.ts +18 -13
- package/src/models/HttpClientAttributesWithPreemptiveAuth.ts +18 -13
- package/src/models/HttpClientConnectionAttributes.ts +22 -17
- package/src/models/HttpClientConnectionAuthenticationAttributes.ts +22 -17
- package/src/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.ts +22 -17
- package/src/models/IqConnectionVerificationXo.ts +14 -9
- package/src/models/IqConnectionXo.ts +30 -25
- package/src/models/MavenAttributes.ts +16 -11
- package/src/models/MavenGroupRepositoryApiRequest.ts +18 -13
- package/src/models/MavenHostedApiRepository.ts +28 -23
- package/src/models/MavenHostedRepositoryApiRequest.ts +22 -17
- package/src/models/MavenProxyApiRepository.ts +36 -31
- package/src/models/MavenProxyRepositoryApiRequest.ts +30 -25
- package/src/models/NegativeCacheAttributes.ts +14 -9
- package/src/models/NpmAttributes.ts +12 -7
- package/src/models/NpmGroupRepositoryApiRequest.ts +18 -13
- package/src/models/NpmHostedRepositoryApiRequest.ts +20 -15
- package/src/models/NpmProxyApiRepository.ts +30 -25
- package/src/models/NpmProxyRepositoryApiRequest.ts +30 -25
- package/src/models/NugetAttributes.ts +14 -9
- package/src/models/NugetGroupRepositoryApiRequest.ts +18 -13
- package/src/models/NugetHostedRepositoryApiRequest.ts +20 -15
- package/src/models/NugetProxyApiRepository.ts +30 -25
- package/src/models/NugetProxyRepositoryApiRequest.ts +30 -25
- package/src/models/P2ProxyRepositoryApiRequest.ts +28 -23
- package/src/models/Page.ts +14 -9
- package/src/models/PageAssetXO.ts +14 -9
- package/src/models/PageComponentXO.ts +14 -9
- package/src/models/PageTagXO.ts +14 -9
- package/src/models/PageTaskXO.ts +14 -9
- package/src/models/ProxyAttributes.ts +16 -11
- package/src/models/PyPiProxyAttributes.ts +12 -7
- package/src/models/PypiGroupRepositoryApiRequest.ts +18 -13
- package/src/models/PypiHostedRepositoryApiRequest.ts +20 -15
- package/src/models/PypiProxyRepositoryApiRequest.ts +30 -25
- package/src/models/RGroupRepositoryApiRequest.ts +18 -13
- package/src/models/RHostedRepositoryApiRequest.ts +20 -15
- package/src/models/RProxyRepositoryApiRequest.ts +28 -23
- package/src/models/RawAttributes.ts +12 -7
- package/src/models/RawGroupRepositoryApiRequest.ts +20 -15
- package/src/models/RawHostedRepositoryApiRequest.ts +22 -17
- package/src/models/RawProxyRepositoryApiRequest.ts +30 -25
- package/src/models/ReadLdapServerXo.ts +72 -67
- package/src/models/ReadOnlyState.ts +16 -11
- package/src/models/RealmApiXO.ts +14 -9
- package/src/models/ReplicationAttributes.ts +14 -9
- package/src/models/RepositoryXO.ts +20 -15
- package/src/models/Result.ts +24 -19
- package/src/models/RoleXORequest.ts +20 -15
- package/src/models/RoleXOResponse.ts +24 -19
- package/src/models/RoutingRuleXO.ts +18 -13
- package/src/models/RubyGemsGroupRepositoryApiRequest.ts +18 -13
- package/src/models/RubyGemsHostedRepositoryApiRequest.ts +20 -15
- package/src/models/RubyGemsProxyRepositoryApiRequest.ts +28 -23
- package/src/models/S3BlobStoreApiAdvancedBucketConnection.ts +18 -13
- package/src/models/S3BlobStoreApiBucket.ts +18 -13
- package/src/models/S3BlobStoreApiBucketConfiguration.ts +18 -13
- package/src/models/S3BlobStoreApiBucketSecurity.ts +18 -13
- package/src/models/S3BlobStoreApiEncryption.ts +14 -9
- package/src/models/S3BlobStoreApiModel.ts +17 -12
- package/src/models/SamlConfigurationXO.ts +28 -23
- package/src/models/ScriptResultXO.ts +14 -9
- package/src/models/ScriptXO.ts +16 -11
- package/src/models/SimpleApiGroupDeployRepository.ts +16 -11
- package/src/models/SimpleApiGroupRepository.ts +24 -19
- package/src/models/SimpleApiHostedRepository.ts +20 -15
- package/src/models/SimpleApiProxyRepository.ts +28 -23
- package/src/models/StackTraceElement.ts +20 -15
- package/src/models/StorageAttributes.ts +16 -11
- package/src/models/SupportZipGeneratorRequest.ts +36 -31
- package/src/models/SupportZipXO.ts +18 -13
- package/src/models/TagXO.ts +18 -13
- package/src/models/TaskXO.ts +26 -21
- package/src/models/Throwable.ts +20 -15
- package/src/models/UpdateLdapServerXo.ts +72 -67
- package/src/models/UploadComponentRequest.ts +98 -93
- package/src/models/UploadDefinitionXO.ts +18 -13
- package/src/models/UploadFieldDefinitionXO.ts +20 -15
- package/src/models/UserTokensApiModel.ts +14 -9
- package/src/models/YumAttributes.ts +14 -9
- package/src/models/YumGroupRepositoryApiRequest.ts +20 -15
- package/src/models/YumHostedApiRepository.ts +22 -17
- package/src/models/YumHostedRepositoryApiRequest.ts +22 -17
- package/src/models/YumProxyRepositoryApiRequest.ts +30 -25
- package/src/models/YumSigningRepositoriesAttributes.ts +14 -9
- package/src/runtime.ts +5 -0
package/dist/models/AssetXO.js
CHANGED
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AssetXOToJSON = exports.AssetXOFromJSONTyped = exports.AssetXOFromJSON = exports.instanceOfAssetXO = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the AssetXO interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfAssetXO(value) {
|
|
21
|
-
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
22
24
|
}
|
|
23
25
|
exports.instanceOfAssetXO = instanceOfAssetXO;
|
|
24
26
|
function AssetXOFromJSON(json) {
|
|
@@ -26,44 +28,47 @@ function AssetXOFromJSON(json) {
|
|
|
26
28
|
}
|
|
27
29
|
exports.AssetXOFromJSON = AssetXOFromJSON;
|
|
28
30
|
function AssetXOFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
30
32
|
return json;
|
|
31
33
|
}
|
|
32
34
|
return {
|
|
33
|
-
'blobCreated': json
|
|
34
|
-
'checksum': json
|
|
35
|
-
'contentType': json
|
|
36
|
-
'downloadUrl': json
|
|
37
|
-
'fileSize': json
|
|
38
|
-
'format': json
|
|
39
|
-
'id': json
|
|
40
|
-
'lastDownloaded': json
|
|
41
|
-
'lastModified': json
|
|
42
|
-
'path': json
|
|
43
|
-
'repository': json
|
|
44
|
-
'uploader': json
|
|
45
|
-
'uploaderIp': json
|
|
35
|
+
'blobCreated': !(0, runtime_1.exists)(json, 'blobCreated') ? undefined : (new Date(json['blobCreated'])),
|
|
36
|
+
'checksum': !(0, runtime_1.exists)(json, 'checksum') ? undefined : json['checksum'],
|
|
37
|
+
'contentType': !(0, runtime_1.exists)(json, 'contentType') ? undefined : json['contentType'],
|
|
38
|
+
'downloadUrl': !(0, runtime_1.exists)(json, 'downloadUrl') ? undefined : json['downloadUrl'],
|
|
39
|
+
'fileSize': !(0, runtime_1.exists)(json, 'fileSize') ? undefined : json['fileSize'],
|
|
40
|
+
'format': !(0, runtime_1.exists)(json, 'format') ? undefined : json['format'],
|
|
41
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
42
|
+
'lastDownloaded': !(0, runtime_1.exists)(json, 'lastDownloaded') ? undefined : (new Date(json['lastDownloaded'])),
|
|
43
|
+
'lastModified': !(0, runtime_1.exists)(json, 'lastModified') ? undefined : (new Date(json['lastModified'])),
|
|
44
|
+
'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
|
|
45
|
+
'repository': !(0, runtime_1.exists)(json, 'repository') ? undefined : json['repository'],
|
|
46
|
+
'uploader': !(0, runtime_1.exists)(json, 'uploader') ? undefined : json['uploader'],
|
|
47
|
+
'uploaderIp': !(0, runtime_1.exists)(json, 'uploaderIp') ? undefined : json['uploaderIp'],
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
50
|
exports.AssetXOFromJSONTyped = AssetXOFromJSONTyped;
|
|
49
51
|
function AssetXOToJSON(value) {
|
|
50
|
-
if (value
|
|
51
|
-
return
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
52
57
|
}
|
|
53
58
|
return {
|
|
54
|
-
'blobCreated': value
|
|
55
|
-
'checksum': value
|
|
56
|
-
'contentType': value
|
|
57
|
-
'downloadUrl': value
|
|
58
|
-
'fileSize': value
|
|
59
|
-
'format': value
|
|
60
|
-
'id': value
|
|
61
|
-
'lastDownloaded': value
|
|
62
|
-
'lastModified': value
|
|
63
|
-
'path': value
|
|
64
|
-
'repository': value
|
|
65
|
-
'uploader': value
|
|
66
|
-
'uploaderIp': value
|
|
59
|
+
'blobCreated': value.blobCreated === undefined ? undefined : (value.blobCreated.toISOString()),
|
|
60
|
+
'checksum': value.checksum,
|
|
61
|
+
'contentType': value.contentType,
|
|
62
|
+
'downloadUrl': value.downloadUrl,
|
|
63
|
+
'fileSize': value.fileSize,
|
|
64
|
+
'format': value.format,
|
|
65
|
+
'id': value.id,
|
|
66
|
+
'lastDownloaded': value.lastDownloaded === undefined ? undefined : (value.lastDownloaded.toISOString()),
|
|
67
|
+
'lastModified': value.lastModified === undefined ? undefined : (value.lastModified.toISOString()),
|
|
68
|
+
'path': value.path,
|
|
69
|
+
'repository': value.repository,
|
|
70
|
+
'uploader': value.uploader,
|
|
71
|
+
'uploaderIp': value.uploaderIp,
|
|
67
72
|
};
|
|
68
73
|
}
|
|
69
74
|
exports.AssetXOToJSON = AssetXOToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AzureBlobStoreApiAuthenticationToJSON = exports.AzureBlobStoreApiAuthenticationFromJSONTyped = exports.AzureBlobStoreApiAuthenticationFromJSON = exports.instanceOfAzureBlobStoreApiAuthentication = exports.AzureBlobStoreApiAuthenticationAuthenticationMethodEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* @export
|
|
19
20
|
*/
|
|
@@ -26,9 +27,9 @@ exports.AzureBlobStoreApiAuthenticationAuthenticationMethodEnum = {
|
|
|
26
27
|
* Check if a given object implements the AzureBlobStoreApiAuthentication interface.
|
|
27
28
|
*/
|
|
28
29
|
function instanceOfAzureBlobStoreApiAuthentication(value) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
isInstance = isInstance && "authenticationMethod" in value;
|
|
32
|
+
return isInstance;
|
|
32
33
|
}
|
|
33
34
|
exports.instanceOfAzureBlobStoreApiAuthentication = instanceOfAzureBlobStoreApiAuthentication;
|
|
34
35
|
function AzureBlobStoreApiAuthenticationFromJSON(json) {
|
|
@@ -36,22 +37,25 @@ function AzureBlobStoreApiAuthenticationFromJSON(json) {
|
|
|
36
37
|
}
|
|
37
38
|
exports.AzureBlobStoreApiAuthenticationFromJSON = AzureBlobStoreApiAuthenticationFromJSON;
|
|
38
39
|
function AzureBlobStoreApiAuthenticationFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
40
41
|
return json;
|
|
41
42
|
}
|
|
42
43
|
return {
|
|
43
|
-
'accountKey': json
|
|
44
|
+
'accountKey': !(0, runtime_1.exists)(json, 'accountKey') ? undefined : json['accountKey'],
|
|
44
45
|
'authenticationMethod': json['authenticationMethod'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
exports.AzureBlobStoreApiAuthenticationFromJSONTyped = AzureBlobStoreApiAuthenticationFromJSONTyped;
|
|
48
49
|
function AzureBlobStoreApiAuthenticationToJSON(value) {
|
|
49
|
-
if (value
|
|
50
|
-
return
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
51
55
|
}
|
|
52
56
|
return {
|
|
53
|
-
'accountKey': value
|
|
54
|
-
'authenticationMethod': value
|
|
57
|
+
'accountKey': value.accountKey,
|
|
58
|
+
'authenticationMethod': value.authenticationMethod,
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
exports.AzureBlobStoreApiAuthenticationToJSON = AzureBlobStoreApiAuthenticationToJSON;
|
|
@@ -19,13 +19,11 @@ const AzureBlobStoreApiAuthentication_1 = require("./AzureBlobStoreApiAuthentica
|
|
|
19
19
|
* Check if a given object implements the AzureBlobStoreApiBucketConfiguration interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfAzureBlobStoreApiBucketConfiguration(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "accountName" in value;
|
|
24
|
+
isInstance = isInstance && "authentication" in value;
|
|
25
|
+
isInstance = isInstance && "containerName" in value;
|
|
26
|
+
return isInstance;
|
|
29
27
|
}
|
|
30
28
|
exports.instanceOfAzureBlobStoreApiBucketConfiguration = instanceOfAzureBlobStoreApiBucketConfiguration;
|
|
31
29
|
function AzureBlobStoreApiBucketConfigurationFromJSON(json) {
|
|
@@ -33,7 +31,7 @@ function AzureBlobStoreApiBucketConfigurationFromJSON(json) {
|
|
|
33
31
|
}
|
|
34
32
|
exports.AzureBlobStoreApiBucketConfigurationFromJSON = AzureBlobStoreApiBucketConfigurationFromJSON;
|
|
35
33
|
function AzureBlobStoreApiBucketConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
37
35
|
return json;
|
|
38
36
|
}
|
|
39
37
|
return {
|
|
@@ -44,13 +42,16 @@ function AzureBlobStoreApiBucketConfigurationFromJSONTyped(json, ignoreDiscrimin
|
|
|
44
42
|
}
|
|
45
43
|
exports.AzureBlobStoreApiBucketConfigurationFromJSONTyped = AzureBlobStoreApiBucketConfigurationFromJSONTyped;
|
|
46
44
|
function AzureBlobStoreApiBucketConfigurationToJSON(value) {
|
|
47
|
-
if (value
|
|
48
|
-
return
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
49
50
|
}
|
|
50
51
|
return {
|
|
51
|
-
'accountName': value
|
|
52
|
-
'authentication': (0, AzureBlobStoreApiAuthentication_1.AzureBlobStoreApiAuthenticationToJSON)(value
|
|
53
|
-
'containerName': value
|
|
52
|
+
'accountName': value.accountName,
|
|
53
|
+
'authentication': (0, AzureBlobStoreApiAuthentication_1.AzureBlobStoreApiAuthenticationToJSON)(value.authentication),
|
|
54
|
+
'containerName': value.containerName,
|
|
54
55
|
};
|
|
55
56
|
}
|
|
56
57
|
exports.AzureBlobStoreApiBucketConfigurationToJSON = AzureBlobStoreApiBucketConfigurationToJSON;
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AzureBlobStoreApiModelToJSON = exports.AzureBlobStoreApiModelFromJSONTyped = exports.AzureBlobStoreApiModelFromJSON = exports.instanceOfAzureBlobStoreApiModel = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const AzureBlobStoreApiBucketConfiguration_1 = require("./AzureBlobStoreApiBucketConfiguration");
|
|
18
19
|
const BlobStoreApiSoftQuota_1 = require("./BlobStoreApiSoftQuota");
|
|
19
20
|
/**
|
|
20
21
|
* Check if a given object implements the AzureBlobStoreApiModel interface.
|
|
21
22
|
*/
|
|
22
23
|
function instanceOfAzureBlobStoreApiModel(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return true;
|
|
24
|
+
let isInstance = true;
|
|
25
|
+
isInstance = isInstance && "bucketConfiguration" in value;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
return isInstance;
|
|
28
28
|
}
|
|
29
29
|
exports.instanceOfAzureBlobStoreApiModel = instanceOfAzureBlobStoreApiModel;
|
|
30
30
|
function AzureBlobStoreApiModelFromJSON(json) {
|
|
@@ -32,24 +32,27 @@ function AzureBlobStoreApiModelFromJSON(json) {
|
|
|
32
32
|
}
|
|
33
33
|
exports.AzureBlobStoreApiModelFromJSON = AzureBlobStoreApiModelFromJSON;
|
|
34
34
|
function AzureBlobStoreApiModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
39
|
'bucketConfiguration': (0, AzureBlobStoreApiBucketConfiguration_1.AzureBlobStoreApiBucketConfigurationFromJSON)(json['bucketConfiguration']),
|
|
40
40
|
'name': json['name'],
|
|
41
|
-
'softQuota': json
|
|
41
|
+
'softQuota': !(0, runtime_1.exists)(json, 'softQuota') ? undefined : (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaFromJSON)(json['softQuota']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
exports.AzureBlobStoreApiModelFromJSONTyped = AzureBlobStoreApiModelFromJSONTyped;
|
|
45
45
|
function AzureBlobStoreApiModelToJSON(value) {
|
|
46
|
-
if (value
|
|
47
|
-
return
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
48
51
|
}
|
|
49
52
|
return {
|
|
50
|
-
'bucketConfiguration': (0, AzureBlobStoreApiBucketConfiguration_1.AzureBlobStoreApiBucketConfigurationToJSON)(value
|
|
51
|
-
'name': value
|
|
52
|
-
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value
|
|
53
|
+
'bucketConfiguration': (0, AzureBlobStoreApiBucketConfiguration_1.AzureBlobStoreApiBucketConfigurationToJSON)(value.bucketConfiguration),
|
|
54
|
+
'name': value.name,
|
|
55
|
+
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value.softQuota),
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
exports.AzureBlobStoreApiModelToJSON = AzureBlobStoreApiModelToJSON;
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AzureConnectionXOToJSON = exports.AzureConnectionXOFromJSONTyped = exports.AzureConnectionXOFromJSON = exports.instanceOfAzureConnectionXO = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the AzureConnectionXO interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfAzureConnectionXO(value) {
|
|
21
|
-
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
22
24
|
}
|
|
23
25
|
exports.instanceOfAzureConnectionXO = instanceOfAzureConnectionXO;
|
|
24
26
|
function AzureConnectionXOFromJSON(json) {
|
|
@@ -26,26 +28,29 @@ function AzureConnectionXOFromJSON(json) {
|
|
|
26
28
|
}
|
|
27
29
|
exports.AzureConnectionXOFromJSON = AzureConnectionXOFromJSON;
|
|
28
30
|
function AzureConnectionXOFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
30
32
|
return json;
|
|
31
33
|
}
|
|
32
34
|
return {
|
|
33
|
-
'accountKey': json
|
|
34
|
-
'accountName': json
|
|
35
|
-
'authenticationMethod': json
|
|
36
|
-
'containerName': json
|
|
35
|
+
'accountKey': !(0, runtime_1.exists)(json, 'accountKey') ? undefined : json['accountKey'],
|
|
36
|
+
'accountName': !(0, runtime_1.exists)(json, 'accountName') ? undefined : json['accountName'],
|
|
37
|
+
'authenticationMethod': !(0, runtime_1.exists)(json, 'authenticationMethod') ? undefined : json['authenticationMethod'],
|
|
38
|
+
'containerName': !(0, runtime_1.exists)(json, 'containerName') ? undefined : json['containerName'],
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
exports.AzureConnectionXOFromJSONTyped = AzureConnectionXOFromJSONTyped;
|
|
40
42
|
function AzureConnectionXOToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
43
48
|
}
|
|
44
49
|
return {
|
|
45
|
-
'accountKey': value
|
|
46
|
-
'accountName': value
|
|
47
|
-
'authenticationMethod': value
|
|
48
|
-
'containerName': value
|
|
50
|
+
'accountKey': value.accountKey,
|
|
51
|
+
'accountName': value.accountName,
|
|
52
|
+
'authenticationMethod': value.authenticationMethod,
|
|
53
|
+
'containerName': value.containerName,
|
|
49
54
|
};
|
|
50
55
|
}
|
|
51
56
|
exports.AzureConnectionXOToJSON = AzureConnectionXOToJSON;
|
package/dist/models/BaseTagXO.js
CHANGED
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.BaseTagXOToJSON = exports.BaseTagXOFromJSONTyped = exports.BaseTagXOFromJSON = exports.instanceOfBaseTagXO = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the BaseTagXO interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfBaseTagXO(value) {
|
|
21
|
-
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
22
24
|
}
|
|
23
25
|
exports.instanceOfBaseTagXO = instanceOfBaseTagXO;
|
|
24
26
|
function BaseTagXOFromJSON(json) {
|
|
@@ -26,20 +28,23 @@ function BaseTagXOFromJSON(json) {
|
|
|
26
28
|
}
|
|
27
29
|
exports.BaseTagXOFromJSON = BaseTagXOFromJSON;
|
|
28
30
|
function BaseTagXOFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
30
32
|
return json;
|
|
31
33
|
}
|
|
32
34
|
return {
|
|
33
|
-
'attributes': json
|
|
35
|
+
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
exports.BaseTagXOFromJSONTyped = BaseTagXOFromJSONTyped;
|
|
37
39
|
function BaseTagXOToJSON(value) {
|
|
38
|
-
if (value
|
|
39
|
-
return
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
40
45
|
}
|
|
41
46
|
return {
|
|
42
|
-
'attributes': value
|
|
47
|
+
'attributes': value.attributes,
|
|
43
48
|
};
|
|
44
49
|
}
|
|
45
50
|
exports.BaseTagXOToJSON = BaseTagXOToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.BlobStoreApiSoftQuotaToJSON = exports.BlobStoreApiSoftQuotaFromJSONTyped = exports.BlobStoreApiSoftQuotaFromJSON = exports.instanceOfBlobStoreApiSoftQuota = exports.BlobStoreApiSoftQuotaTypeEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* @export
|
|
19
20
|
*/
|
|
@@ -25,7 +26,8 @@ exports.BlobStoreApiSoftQuotaTypeEnum = {
|
|
|
25
26
|
* Check if a given object implements the BlobStoreApiSoftQuota interface.
|
|
26
27
|
*/
|
|
27
28
|
function instanceOfBlobStoreApiSoftQuota(value) {
|
|
28
|
-
|
|
29
|
+
let isInstance = true;
|
|
30
|
+
return isInstance;
|
|
29
31
|
}
|
|
30
32
|
exports.instanceOfBlobStoreApiSoftQuota = instanceOfBlobStoreApiSoftQuota;
|
|
31
33
|
function BlobStoreApiSoftQuotaFromJSON(json) {
|
|
@@ -33,22 +35,25 @@ function BlobStoreApiSoftQuotaFromJSON(json) {
|
|
|
33
35
|
}
|
|
34
36
|
exports.BlobStoreApiSoftQuotaFromJSON = BlobStoreApiSoftQuotaFromJSON;
|
|
35
37
|
function BlobStoreApiSoftQuotaFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
37
39
|
return json;
|
|
38
40
|
}
|
|
39
41
|
return {
|
|
40
|
-
'limit': json
|
|
41
|
-
'type': json
|
|
42
|
+
'limit': !(0, runtime_1.exists)(json, 'limit') ? undefined : json['limit'],
|
|
43
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
exports.BlobStoreApiSoftQuotaFromJSONTyped = BlobStoreApiSoftQuotaFromJSONTyped;
|
|
45
47
|
function BlobStoreApiSoftQuotaToJSON(value) {
|
|
46
|
-
if (value
|
|
47
|
-
return
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
48
53
|
}
|
|
49
54
|
return {
|
|
50
|
-
'limit': value
|
|
51
|
-
'type': value
|
|
55
|
+
'limit': value.limit,
|
|
56
|
+
'type': value.type,
|
|
52
57
|
};
|
|
53
58
|
}
|
|
54
59
|
exports.BlobStoreApiSoftQuotaToJSON = BlobStoreApiSoftQuotaToJSON;
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.BlobStoreQuotaResultXOToJSON = exports.BlobStoreQuotaResultXOFromJSONTyped = exports.BlobStoreQuotaResultXOFromJSON = exports.instanceOfBlobStoreQuotaResultXO = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the BlobStoreQuotaResultXO interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfBlobStoreQuotaResultXO(value) {
|
|
21
|
-
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
22
24
|
}
|
|
23
25
|
exports.instanceOfBlobStoreQuotaResultXO = instanceOfBlobStoreQuotaResultXO;
|
|
24
26
|
function BlobStoreQuotaResultXOFromJSON(json) {
|
|
@@ -26,24 +28,27 @@ function BlobStoreQuotaResultXOFromJSON(json) {
|
|
|
26
28
|
}
|
|
27
29
|
exports.BlobStoreQuotaResultXOFromJSON = BlobStoreQuotaResultXOFromJSON;
|
|
28
30
|
function BlobStoreQuotaResultXOFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
30
32
|
return json;
|
|
31
33
|
}
|
|
32
34
|
return {
|
|
33
|
-
'blobStoreName': json
|
|
34
|
-
'isViolation': json
|
|
35
|
-
'message': json
|
|
35
|
+
'blobStoreName': !(0, runtime_1.exists)(json, 'blobStoreName') ? undefined : json['blobStoreName'],
|
|
36
|
+
'isViolation': !(0, runtime_1.exists)(json, 'isViolation') ? undefined : json['isViolation'],
|
|
37
|
+
'message': !(0, runtime_1.exists)(json, 'message') ? undefined : json['message'],
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
exports.BlobStoreQuotaResultXOFromJSONTyped = BlobStoreQuotaResultXOFromJSONTyped;
|
|
39
41
|
function BlobStoreQuotaResultXOToJSON(value) {
|
|
40
|
-
if (value
|
|
41
|
-
return
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
42
47
|
}
|
|
43
48
|
return {
|
|
44
|
-
'blobStoreName': value
|
|
45
|
-
'isViolation': value
|
|
46
|
-
'message': value
|
|
49
|
+
'blobStoreName': value.blobStoreName,
|
|
50
|
+
'isViolation': value.isViolation,
|
|
51
|
+
'message': value.message,
|
|
47
52
|
};
|
|
48
53
|
}
|
|
49
54
|
exports.BlobStoreQuotaResultXOToJSON = BlobStoreQuotaResultXOToJSON;
|
|
@@ -18,9 +18,9 @@ exports.BowerAttributesToJSON = exports.BowerAttributesFromJSONTyped = exports.B
|
|
|
18
18
|
* Check if a given object implements the BowerAttributes interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfBowerAttributes(value) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "rewritePackageUrls" in value;
|
|
23
|
+
return isInstance;
|
|
24
24
|
}
|
|
25
25
|
exports.instanceOfBowerAttributes = instanceOfBowerAttributes;
|
|
26
26
|
function BowerAttributesFromJSON(json) {
|
|
@@ -28,7 +28,7 @@ function BowerAttributesFromJSON(json) {
|
|
|
28
28
|
}
|
|
29
29
|
exports.BowerAttributesFromJSON = BowerAttributesFromJSON;
|
|
30
30
|
function BowerAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
@@ -37,11 +37,14 @@ function BowerAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
}
|
|
38
38
|
exports.BowerAttributesFromJSONTyped = BowerAttributesFromJSONTyped;
|
|
39
39
|
function BowerAttributesToJSON(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
|
-
'rewritePackageUrls': value
|
|
47
|
+
'rewritePackageUrls': value.rewritePackageUrls,
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
exports.BowerAttributesToJSON = BowerAttributesToJSON;
|
|
@@ -20,15 +20,12 @@ const StorageAttributes_1 = require("./StorageAttributes");
|
|
|
20
20
|
* Check if a given object implements the BowerGroupRepositoryApiRequest interface.
|
|
21
21
|
*/
|
|
22
22
|
function instanceOfBowerGroupRepositoryApiRequest(value) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
if (!('storage' in value))
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "group" in value;
|
|
25
|
+
isInstance = isInstance && "name" in value;
|
|
26
|
+
isInstance = isInstance && "online" in value;
|
|
27
|
+
isInstance = isInstance && "storage" in value;
|
|
28
|
+
return isInstance;
|
|
32
29
|
}
|
|
33
30
|
exports.instanceOfBowerGroupRepositoryApiRequest = instanceOfBowerGroupRepositoryApiRequest;
|
|
34
31
|
function BowerGroupRepositoryApiRequestFromJSON(json) {
|
|
@@ -36,7 +33,7 @@ function BowerGroupRepositoryApiRequestFromJSON(json) {
|
|
|
36
33
|
}
|
|
37
34
|
exports.BowerGroupRepositoryApiRequestFromJSON = BowerGroupRepositoryApiRequestFromJSON;
|
|
38
35
|
function BowerGroupRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json
|
|
36
|
+
if ((json === undefined) || (json === null)) {
|
|
40
37
|
return json;
|
|
41
38
|
}
|
|
42
39
|
return {
|
|
@@ -48,14 +45,17 @@ function BowerGroupRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
48
45
|
}
|
|
49
46
|
exports.BowerGroupRepositoryApiRequestFromJSONTyped = BowerGroupRepositoryApiRequestFromJSONTyped;
|
|
50
47
|
function BowerGroupRepositoryApiRequestToJSON(value) {
|
|
51
|
-
if (value
|
|
52
|
-
return
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
53
|
}
|
|
54
54
|
return {
|
|
55
|
-
'group': (0, GroupAttributes_1.GroupAttributesToJSON)(value
|
|
56
|
-
'name': value
|
|
57
|
-
'online': value
|
|
58
|
-
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value
|
|
55
|
+
'group': (0, GroupAttributes_1.GroupAttributesToJSON)(value.group),
|
|
56
|
+
'name': value.name,
|
|
57
|
+
'online': value.online,
|
|
58
|
+
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value.storage),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
exports.BowerGroupRepositoryApiRequestToJSON = BowerGroupRepositoryApiRequestToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.BowerHostedRepositoryApiRequestToJSON = exports.BowerHostedRepositoryApiRequestFromJSONTyped = exports.BowerHostedRepositoryApiRequestFromJSON = exports.instanceOfBowerHostedRepositoryApiRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
18
19
|
const ComponentAttributes_1 = require("./ComponentAttributes");
|
|
19
20
|
const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
|
|
@@ -21,13 +22,11 @@ const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
|
|
|
21
22
|
* Check if a given object implements the BowerHostedRepositoryApiRequest interface.
|
|
22
23
|
*/
|
|
23
24
|
function instanceOfBowerHostedRepositoryApiRequest(value) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
25
|
+
let isInstance = true;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "online" in value;
|
|
28
|
+
isInstance = isInstance && "storage" in value;
|
|
29
|
+
return isInstance;
|
|
31
30
|
}
|
|
32
31
|
exports.instanceOfBowerHostedRepositoryApiRequest = instanceOfBowerHostedRepositoryApiRequest;
|
|
33
32
|
function BowerHostedRepositoryApiRequestFromJSON(json) {
|
|
@@ -35,12 +34,12 @@ function BowerHostedRepositoryApiRequestFromJSON(json) {
|
|
|
35
34
|
}
|
|
36
35
|
exports.BowerHostedRepositoryApiRequestFromJSON = BowerHostedRepositoryApiRequestFromJSON;
|
|
37
36
|
function BowerHostedRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json
|
|
37
|
+
if ((json === undefined) || (json === null)) {
|
|
39
38
|
return json;
|
|
40
39
|
}
|
|
41
40
|
return {
|
|
42
|
-
'cleanup': json
|
|
43
|
-
'component': json
|
|
41
|
+
'cleanup': !(0, runtime_1.exists)(json, 'cleanup') ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
42
|
+
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
44
43
|
'name': json['name'],
|
|
45
44
|
'online': json['online'],
|
|
46
45
|
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesFromJSON)(json['storage']),
|
|
@@ -48,15 +47,18 @@ function BowerHostedRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
48
47
|
}
|
|
49
48
|
exports.BowerHostedRepositoryApiRequestFromJSONTyped = BowerHostedRepositoryApiRequestFromJSONTyped;
|
|
50
49
|
function BowerHostedRepositoryApiRequestToJSON(value) {
|
|
51
|
-
if (value
|
|
52
|
-
return
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
53
55
|
}
|
|
54
56
|
return {
|
|
55
|
-
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value
|
|
56
|
-
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value
|
|
57
|
-
'name': value
|
|
58
|
-
'online': value
|
|
59
|
-
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value
|
|
57
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value.cleanup),
|
|
58
|
+
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value.component),
|
|
59
|
+
'name': value.name,
|
|
60
|
+
'online': value.online,
|
|
61
|
+
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value.storage),
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
exports.BowerHostedRepositoryApiRequestToJSON = BowerHostedRepositoryApiRequestToJSON;
|