@sonatype/nexus-repo-api-client 0.0.1
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 +198 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/AssetsApi.d.ts +52 -0
- package/dist/apis/AssetsApi.js +131 -0
- package/dist/apis/AzureBlobStoreApi.d.ts +29 -0
- package/dist/apis/AzureBlobStoreApi.js +62 -0
- package/dist/apis/BlobStoreApi.d.ts +196 -0
- package/dist/apis/BlobStoreApi.js +524 -0
- package/dist/apis/ComponentsApi.d.ts +107 -0
- package/dist/apis/ComponentsApi.js +340 -0
- package/dist/apis/ContentSelectorsApi.d.ts +71 -0
- package/dist/apis/ContentSelectorsApi.js +183 -0
- package/dist/apis/EmailApi.d.ts +56 -0
- package/dist/apis/EmailApi.js +153 -0
- package/dist/apis/FormatsApi.d.ts +37 -0
- package/dist/apis/FormatsApi.js +92 -0
- package/dist/apis/LifecycleApi.d.ts +49 -0
- package/dist/apis/LifecycleApi.js +125 -0
- package/dist/apis/ManageSonatypeRepositoryFirewallConfigurationApi.d.ts +61 -0
- package/dist/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +170 -0
- package/dist/apis/ProductLicensingApi.d.ts +47 -0
- package/dist/apis/ProductLicensingApi.js +120 -0
- package/dist/apis/ReadOnlyApi.d.ts +56 -0
- package/dist/apis/ReadOnlyApi.js +148 -0
- package/dist/apis/RepositoryManagementApi.d.ts +1494 -0
- package/dist/apis/RepositoryManagementApi.js +4042 -0
- package/dist/apis/RoutingRulesApi.d.ts +71 -0
- package/dist/apis/RoutingRulesApi.js +189 -0
- package/dist/apis/ScriptApi.d.ts +83 -0
- package/dist/apis/ScriptApi.js +216 -0
- package/dist/apis/SearchApi.d.ts +265 -0
- package/dist/apis/SearchApi.js +649 -0
- package/dist/apis/SecurityAtlassianCrowdApi.d.ts +56 -0
- package/dist/apis/SecurityAtlassianCrowdApi.js +145 -0
- package/dist/apis/SecurityCertificatesApi.d.ts +61 -0
- package/dist/apis/SecurityCertificatesApi.js +161 -0
- package/dist/apis/SecurityManagementAnonymousAccessApi.d.ts +37 -0
- package/dist/apis/SecurityManagementAnonymousAccessApi.js +91 -0
- package/dist/apis/SecurityManagementApi.d.ts +26 -0
- package/dist/apis/SecurityManagementApi.js +61 -0
- package/dist/apis/SecurityManagementLDAPApi.d.ts +82 -0
- package/dist/apis/SecurityManagementLDAPApi.js +210 -0
- package/dist/apis/SecurityManagementPrivilegesApi.d.ts +186 -0
- package/dist/apis/SecurityManagementPrivilegesApi.js +488 -0
- package/dist/apis/SecurityManagementRealmsApi.d.ts +45 -0
- package/dist/apis/SecurityManagementRealmsApi.js +118 -0
- package/dist/apis/SecurityManagementRolesApi.d.ts +75 -0
- package/dist/apis/SecurityManagementRolesApi.js +196 -0
- package/dist/apis/SecurityManagementSAMLApi.d.ts +61 -0
- package/dist/apis/SecurityManagementSAMLApi.js +170 -0
- package/dist/apis/SecurityManagementUserTokensApi.d.ts +45 -0
- package/dist/apis/SecurityManagementUserTokensApi.js +118 -0
- package/dist/apis/SecurityManagementUsersApi.d.ts +90 -0
- package/dist/apis/SecurityManagementUsersApi.js +226 -0
- package/dist/apis/StagingApi.d.ts +138 -0
- package/dist/apis/StagingApi.js +389 -0
- package/dist/apis/StatusApi.d.ts +46 -0
- package/dist/apis/StatusApi.js +115 -0
- package/dist/apis/SupportApi.d.ts +40 -0
- package/dist/apis/SupportApi.js +92 -0
- package/dist/apis/TagsApi.d.ts +197 -0
- package/dist/apis/TagsApi.js +550 -0
- package/dist/apis/TasksApi.d.ts +62 -0
- package/dist/apis/TasksApi.js +155 -0
- package/dist/apis/index.d.ts +31 -0
- package/dist/apis/index.js +49 -0
- package/dist/esm/apis/AssetsApi.d.ts +52 -0
- package/dist/esm/apis/AssetsApi.js +127 -0
- package/dist/esm/apis/AzureBlobStoreApi.d.ts +29 -0
- package/dist/esm/apis/AzureBlobStoreApi.js +58 -0
- package/dist/esm/apis/BlobStoreApi.d.ts +196 -0
- package/dist/esm/apis/BlobStoreApi.js +520 -0
- package/dist/esm/apis/ComponentsApi.d.ts +107 -0
- package/dist/esm/apis/ComponentsApi.js +336 -0
- package/dist/esm/apis/ContentSelectorsApi.d.ts +71 -0
- package/dist/esm/apis/ContentSelectorsApi.js +179 -0
- package/dist/esm/apis/EmailApi.d.ts +56 -0
- package/dist/esm/apis/EmailApi.js +149 -0
- package/dist/esm/apis/FormatsApi.d.ts +37 -0
- package/dist/esm/apis/FormatsApi.js +88 -0
- package/dist/esm/apis/LifecycleApi.d.ts +49 -0
- package/dist/esm/apis/LifecycleApi.js +121 -0
- package/dist/esm/apis/ManageSonatypeRepositoryFirewallConfigurationApi.d.ts +61 -0
- package/dist/esm/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +166 -0
- package/dist/esm/apis/ProductLicensingApi.d.ts +47 -0
- package/dist/esm/apis/ProductLicensingApi.js +116 -0
- package/dist/esm/apis/ReadOnlyApi.d.ts +56 -0
- package/dist/esm/apis/ReadOnlyApi.js +144 -0
- package/dist/esm/apis/RepositoryManagementApi.d.ts +1494 -0
- package/dist/esm/apis/RepositoryManagementApi.js +4038 -0
- package/dist/esm/apis/RoutingRulesApi.d.ts +71 -0
- package/dist/esm/apis/RoutingRulesApi.js +185 -0
- package/dist/esm/apis/ScriptApi.d.ts +83 -0
- package/dist/esm/apis/ScriptApi.js +212 -0
- package/dist/esm/apis/SearchApi.d.ts +265 -0
- package/dist/esm/apis/SearchApi.js +645 -0
- package/dist/esm/apis/SecurityAtlassianCrowdApi.d.ts +56 -0
- package/dist/esm/apis/SecurityAtlassianCrowdApi.js +141 -0
- package/dist/esm/apis/SecurityCertificatesApi.d.ts +61 -0
- package/dist/esm/apis/SecurityCertificatesApi.js +157 -0
- package/dist/esm/apis/SecurityManagementAnonymousAccessApi.d.ts +37 -0
- package/dist/esm/apis/SecurityManagementAnonymousAccessApi.js +87 -0
- package/dist/esm/apis/SecurityManagementApi.d.ts +26 -0
- package/dist/esm/apis/SecurityManagementApi.js +57 -0
- package/dist/esm/apis/SecurityManagementLDAPApi.d.ts +82 -0
- package/dist/esm/apis/SecurityManagementLDAPApi.js +206 -0
- package/dist/esm/apis/SecurityManagementPrivilegesApi.d.ts +186 -0
- package/dist/esm/apis/SecurityManagementPrivilegesApi.js +484 -0
- package/dist/esm/apis/SecurityManagementRealmsApi.d.ts +45 -0
- package/dist/esm/apis/SecurityManagementRealmsApi.js +114 -0
- package/dist/esm/apis/SecurityManagementRolesApi.d.ts +75 -0
- package/dist/esm/apis/SecurityManagementRolesApi.js +192 -0
- package/dist/esm/apis/SecurityManagementSAMLApi.d.ts +61 -0
- package/dist/esm/apis/SecurityManagementSAMLApi.js +166 -0
- package/dist/esm/apis/SecurityManagementUserTokensApi.d.ts +45 -0
- package/dist/esm/apis/SecurityManagementUserTokensApi.js +114 -0
- package/dist/esm/apis/SecurityManagementUsersApi.d.ts +90 -0
- package/dist/esm/apis/SecurityManagementUsersApi.js +222 -0
- package/dist/esm/apis/StagingApi.d.ts +138 -0
- package/dist/esm/apis/StagingApi.js +385 -0
- package/dist/esm/apis/StatusApi.d.ts +46 -0
- package/dist/esm/apis/StatusApi.js +111 -0
- package/dist/esm/apis/SupportApi.d.ts +40 -0
- package/dist/esm/apis/SupportApi.js +88 -0
- package/dist/esm/apis/TagsApi.d.ts +197 -0
- package/dist/esm/apis/TagsApi.js +546 -0
- package/dist/esm/apis/TasksApi.d.ts +62 -0
- package/dist/esm/apis/TasksApi.js +151 -0
- package/dist/esm/apis/index.d.ts +31 -0
- package/dist/esm/apis/index.js +33 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AbstractApiRepository.d.ts +64 -0
- package/dist/esm/models/AbstractApiRepository.js +56 -0
- package/dist/esm/models/AnonymousAccessSettingsXO.d.ts +43 -0
- package/dist/esm/models/AnonymousAccessSettingsXO.js +42 -0
- package/dist/esm/models/ApiCertificate.d.ts +97 -0
- package/dist/esm/models/ApiCertificate.js +60 -0
- package/dist/esm/models/ApiCreateUser.d.ts +77 -0
- package/dist/esm/models/ApiCreateUser.js +61 -0
- package/dist/esm/models/ApiEmailConfiguration.d.ts +97 -0
- package/dist/esm/models/ApiEmailConfiguration.js +62 -0
- package/dist/esm/models/ApiEmailValidation.d.ts +37 -0
- package/dist/esm/models/ApiEmailValidation.js +40 -0
- package/dist/esm/models/ApiLicenseDetailsXO.d.ts +79 -0
- package/dist/esm/models/ApiLicenseDetailsXO.js +54 -0
- package/dist/esm/models/ApiPrivilege.d.ts +49 -0
- package/dist/esm/models/ApiPrivilege.js +44 -0
- package/dist/esm/models/ApiPrivilegeApplicationRequest.d.ts +64 -0
- package/dist/esm/models/ApiPrivilegeApplicationRequest.js +58 -0
- package/dist/esm/models/ApiPrivilegeRepositoryAdminRequest.d.ts +70 -0
- package/dist/esm/models/ApiPrivilegeRepositoryAdminRequest.js +60 -0
- package/dist/esm/models/ApiPrivilegeRepositoryContentSelectorRequest.d.ts +76 -0
- package/dist/esm/models/ApiPrivilegeRepositoryContentSelectorRequest.js +62 -0
- package/dist/esm/models/ApiPrivilegeRepositoryViewRequest.d.ts +70 -0
- package/dist/esm/models/ApiPrivilegeRepositoryViewRequest.js +60 -0
- package/dist/esm/models/ApiPrivilegeScriptRequest.d.ts +64 -0
- package/dist/esm/models/ApiPrivilegeScriptRequest.js +58 -0
- package/dist/esm/models/ApiPrivilegeWildcardRequest.d.ts +43 -0
- package/dist/esm/models/ApiPrivilegeWildcardRequest.js +42 -0
- package/dist/esm/models/ApiUser.d.ts +89 -0
- package/dist/esm/models/ApiUser.js +65 -0
- package/dist/esm/models/ApiUserSource.d.ts +37 -0
- package/dist/esm/models/ApiUserSource.js +40 -0
- package/dist/esm/models/AptHostedApiRepository.d.ts +72 -0
- package/dist/esm/models/AptHostedApiRepository.js +63 -0
- package/dist/esm/models/AptHostedRepositoriesAttributes.d.ts +31 -0
- package/dist/esm/models/AptHostedRepositoriesAttributes.js +38 -0
- package/dist/esm/models/AptHostedRepositoryApiRequest.d.ts +72 -0
- package/dist/esm/models/AptHostedRepositoryApiRequest.js +65 -0
- package/dist/esm/models/AptProxyApiRepository.d.ts +92 -0
- package/dist/esm/models/AptProxyApiRepository.js +75 -0
- package/dist/esm/models/AptProxyRepositoriesAttributes.d.ts +37 -0
- package/dist/esm/models/AptProxyRepositoriesAttributes.js +42 -0
- package/dist/esm/models/AptProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/AptProxyRepositoryApiRequest.js +77 -0
- package/dist/esm/models/AptSigningRepositoriesAttributes.d.ts +37 -0
- package/dist/esm/models/AptSigningRepositoriesAttributes.js +40 -0
- package/dist/esm/models/AssetXO.d.ts +105 -0
- package/dist/esm/models/AssetXO.js +62 -0
- package/dist/esm/models/AzureBlobStoreApiAuthentication.d.ts +46 -0
- package/dist/esm/models/AzureBlobStoreApiAuthentication.js +50 -0
- package/dist/esm/models/AzureBlobStoreApiBucketConfiguration.d.ts +44 -0
- package/dist/esm/models/AzureBlobStoreApiBucketConfiguration.js +49 -0
- package/dist/esm/models/AzureBlobStoreApiModel.d.ts +45 -0
- package/dist/esm/models/AzureBlobStoreApiModel.js +48 -0
- package/dist/esm/models/AzureConnectionXO.d.ts +49 -0
- package/dist/esm/models/AzureConnectionXO.js +44 -0
- package/dist/esm/models/BaseTagXO.d.ts +33 -0
- package/dist/esm/models/BaseTagXO.js +38 -0
- package/dist/esm/models/BlobStoreApiSoftQuota.d.ts +45 -0
- package/dist/esm/models/BlobStoreApiSoftQuota.js +47 -0
- package/dist/esm/models/BlobStoreQuotaResultXO.d.ts +43 -0
- package/dist/esm/models/BlobStoreQuotaResultXO.js +42 -0
- package/dist/esm/models/BowerAttributes.d.ts +31 -0
- package/dist/esm/models/BowerAttributes.js +40 -0
- package/dist/esm/models/BowerGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/BowerGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/BowerHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/BowerHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/BowerProxyApiRepository.d.ts +92 -0
- package/dist/esm/models/BowerProxyApiRepository.js +73 -0
- package/dist/esm/models/BowerProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/BowerProxyRepositoryApiRequest.js +75 -0
- package/dist/esm/models/CleanupPolicyAttributes.d.ts +31 -0
- package/dist/esm/models/CleanupPolicyAttributes.js +38 -0
- package/dist/esm/models/CocoapodsProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/CocoapodsProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/ComponentAttributes.d.ts +31 -0
- package/dist/esm/models/ComponentAttributes.js +38 -0
- package/dist/esm/models/ComponentXO.d.ts +68 -0
- package/dist/esm/models/ComponentXO.js +51 -0
- package/dist/esm/models/ConanProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/ConanProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/CondaProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/CondaProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/ContentSelectorApiCreateRequest.d.ts +43 -0
- package/dist/esm/models/ContentSelectorApiCreateRequest.js +42 -0
- package/dist/esm/models/ContentSelectorApiResponse.d.ts +57 -0
- package/dist/esm/models/ContentSelectorApiResponse.js +51 -0
- package/dist/esm/models/ContentSelectorApiUpdateRequest.d.ts +37 -0
- package/dist/esm/models/ContentSelectorApiUpdateRequest.js +40 -0
- package/dist/esm/models/CreateLdapServerXo.d.ts +231 -0
- package/dist/esm/models/CreateLdapServerXo.js +141 -0
- package/dist/esm/models/CrowdApiXO.d.ts +67 -0
- package/dist/esm/models/CrowdApiXO.js +54 -0
- package/dist/esm/models/DockerAttributes.d.ts +55 -0
- package/dist/esm/models/DockerAttributes.js +50 -0
- package/dist/esm/models/DockerGroupApiRepository.d.ts +58 -0
- package/dist/esm/models/DockerGroupApiRepository.js +57 -0
- package/dist/esm/models/DockerGroupRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/DockerGroupRepositoryApiRequest.js +59 -0
- package/dist/esm/models/DockerHostedApiRepository.d.ts +65 -0
- package/dist/esm/models/DockerHostedApiRepository.js +58 -0
- package/dist/esm/models/DockerHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/esm/models/DockerHostedRepositoryApiRequest.js +60 -0
- package/dist/esm/models/DockerHostedStorageAttributes.d.ts +58 -0
- package/dist/esm/models/DockerHostedStorageAttributes.js +58 -0
- package/dist/esm/models/DockerProxyApiRepository.d.ts +99 -0
- package/dist/esm/models/DockerProxyApiRepository.js +80 -0
- package/dist/esm/models/DockerProxyAttributes.d.ts +58 -0
- package/dist/esm/models/DockerProxyAttributes.js +52 -0
- package/dist/esm/models/DockerProxyRepositoryApiRequest.d.ts +99 -0
- package/dist/esm/models/DockerProxyRepositoryApiRequest.js +82 -0
- package/dist/esm/models/FileBlobStoreApiCreateRequest.d.ts +44 -0
- package/dist/esm/models/FileBlobStoreApiCreateRequest.js +43 -0
- package/dist/esm/models/FileBlobStoreApiModel.d.ts +38 -0
- package/dist/esm/models/FileBlobStoreApiModel.js +41 -0
- package/dist/esm/models/FileBlobStoreApiUpdateRequest.d.ts +38 -0
- package/dist/esm/models/FileBlobStoreApiUpdateRequest.js +41 -0
- package/dist/esm/models/GenericBlobStoreApiResponse.d.ts +68 -0
- package/dist/esm/models/GenericBlobStoreApiResponse.js +51 -0
- package/dist/esm/models/GitLfsHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/GitLfsHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/GolangGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/GolangGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/GolangProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/GolangProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/GroupAttributes.d.ts +31 -0
- package/dist/esm/models/GroupAttributes.js +38 -0
- package/dist/esm/models/GroupBlobStoreApiCreateRequest.d.ts +58 -0
- package/dist/esm/models/GroupBlobStoreApiCreateRequest.js +52 -0
- package/dist/esm/models/GroupBlobStoreApiModel.d.ts +52 -0
- package/dist/esm/models/GroupBlobStoreApiModel.js +50 -0
- package/dist/esm/models/GroupBlobStoreApiResponse.d.ts +58 -0
- package/dist/esm/models/GroupBlobStoreApiResponse.js +52 -0
- package/dist/esm/models/GroupBlobStoreApiUpdateRequest.d.ts +52 -0
- package/dist/esm/models/GroupBlobStoreApiUpdateRequest.js +50 -0
- package/dist/esm/models/GroupDeployAttributes.d.ts +37 -0
- package/dist/esm/models/GroupDeployAttributes.js +40 -0
- package/dist/esm/models/HelmHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/HelmHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/HelmProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/HelmProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/HostedStorageAttributes.d.ts +52 -0
- package/dist/esm/models/HostedStorageAttributes.js +56 -0
- package/dist/esm/models/HttpClientAttributes.d.ts +51 -0
- package/dist/esm/models/HttpClientAttributes.js +50 -0
- package/dist/esm/models/HttpClientAttributesWithPreemptiveAuth.d.ts +51 -0
- package/dist/esm/models/HttpClientAttributesWithPreemptiveAuth.js +50 -0
- package/dist/esm/models/HttpClientConnectionAttributes.d.ts +61 -0
- package/dist/esm/models/HttpClientConnectionAttributes.js +48 -0
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributes.d.ts +69 -0
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributes.js +55 -0
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.d.ts +69 -0
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +55 -0
- package/dist/esm/models/IqConnectionVerificationXo.d.ts +37 -0
- package/dist/esm/models/IqConnectionVerificationXo.js +40 -0
- package/dist/esm/models/IqConnectionXo.d.ts +93 -0
- package/dist/esm/models/IqConnectionXo.js +65 -0
- package/dist/esm/models/MavenAttributes.d.ts +68 -0
- package/dist/esm/models/MavenAttributes.js +64 -0
- package/dist/esm/models/MavenGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/MavenGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/MavenHostedApiRepository.d.ts +83 -0
- package/dist/esm/models/MavenHostedApiRepository.js +64 -0
- package/dist/esm/models/MavenHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/esm/models/MavenHostedRepositoryApiRequest.js +60 -0
- package/dist/esm/models/MavenProxyApiRepository.d.ts +110 -0
- package/dist/esm/models/MavenProxyApiRepository.js +81 -0
- package/dist/esm/models/MavenProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/MavenProxyRepositoryApiRequest.js +77 -0
- package/dist/esm/models/NegativeCacheAttributes.d.ts +37 -0
- package/dist/esm/models/NegativeCacheAttributes.js +44 -0
- package/dist/esm/models/NpmAttributes.d.ts +31 -0
- package/dist/esm/models/NpmAttributes.js +40 -0
- package/dist/esm/models/NpmGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/NpmGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/NpmHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/NpmHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/NpmProxyApiRepository.d.ts +92 -0
- package/dist/esm/models/NpmProxyApiRepository.js +73 -0
- package/dist/esm/models/NpmProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/NpmProxyRepositoryApiRequest.js +75 -0
- package/dist/esm/models/NugetAttributes.d.ts +45 -0
- package/dist/esm/models/NugetAttributes.js +47 -0
- package/dist/esm/models/NugetGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/NugetGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/NugetHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/NugetHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/NugetProxyApiRepository.d.ts +92 -0
- package/dist/esm/models/NugetProxyApiRepository.js +75 -0
- package/dist/esm/models/NugetProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/NugetProxyRepositoryApiRequest.js +77 -0
- package/dist/esm/models/P2ProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/P2ProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/Page.d.ts +37 -0
- package/dist/esm/models/Page.js +40 -0
- package/dist/esm/models/PageAssetXO.d.ts +38 -0
- package/dist/esm/models/PageAssetXO.js +41 -0
- package/dist/esm/models/PageComponentXO.d.ts +38 -0
- package/dist/esm/models/PageComponentXO.js +41 -0
- package/dist/esm/models/PageTagXO.d.ts +38 -0
- package/dist/esm/models/PageTagXO.js +41 -0
- package/dist/esm/models/PageTaskXO.d.ts +38 -0
- package/dist/esm/models/PageTaskXO.js +41 -0
- package/dist/esm/models/ProxyAttributes.d.ts +43 -0
- package/dist/esm/models/ProxyAttributes.js +46 -0
- package/dist/esm/models/PyPiProxyAttributes.d.ts +31 -0
- package/dist/esm/models/PyPiProxyAttributes.js +40 -0
- package/dist/esm/models/PypiGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/PypiGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/PypiHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/PypiHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/PypiProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/PypiProxyRepositoryApiRequest.js +75 -0
- package/dist/esm/models/RGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/RGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/RHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/RHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/RProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/RProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/RawAttributes.d.ts +39 -0
- package/dist/esm/models/RawAttributes.js +45 -0
- package/dist/esm/models/RawGroupRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/RawGroupRepositoryApiRequest.js +57 -0
- package/dist/esm/models/RawHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/esm/models/RawHostedRepositoryApiRequest.js +58 -0
- package/dist/esm/models/RawProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/RawProxyRepositoryApiRequest.js +75 -0
- package/dist/esm/models/ReadLdapServerXo.d.ts +237 -0
- package/dist/esm/models/ReadLdapServerXo.js +141 -0
- package/dist/esm/models/ReadOnlyState.d.ts +43 -0
- package/dist/esm/models/ReadOnlyState.js +42 -0
- package/dist/esm/models/RealmApiXO.d.ts +37 -0
- package/dist/esm/models/RealmApiXO.js +40 -0
- package/dist/esm/models/ReplicationAttributes.d.ts +37 -0
- package/dist/esm/models/ReplicationAttributes.js +42 -0
- package/dist/esm/models/RepositoryXO.d.ts +57 -0
- package/dist/esm/models/RepositoryXO.js +46 -0
- package/dist/esm/models/Result.d.ts +70 -0
- package/dist/esm/models/Result.js +51 -0
- package/dist/esm/models/RoleXORequest.d.ts +55 -0
- package/dist/esm/models/RoleXORequest.js +46 -0
- package/dist/esm/models/RoleXOResponse.d.ts +67 -0
- package/dist/esm/models/RoleXOResponse.js +50 -0
- package/dist/esm/models/RoutingRuleXO.d.ts +57 -0
- package/dist/esm/models/RoutingRuleXO.js +51 -0
- package/dist/esm/models/RubyGemsGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/esm/models/RubyGemsGroupRepositoryApiRequest.js +54 -0
- package/dist/esm/models/RubyGemsHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/RubyGemsHostedRepositoryApiRequest.js +55 -0
- package/dist/esm/models/RubyGemsProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/esm/models/RubyGemsProxyRepositoryApiRequest.js +72 -0
- package/dist/esm/models/S3BlobStoreApiAdvancedBucketConnection.d.ts +49 -0
- package/dist/esm/models/S3BlobStoreApiAdvancedBucketConnection.js +44 -0
- package/dist/esm/models/S3BlobStoreApiBucket.d.ts +49 -0
- package/dist/esm/models/S3BlobStoreApiBucket.js +50 -0
- package/dist/esm/models/S3BlobStoreApiBucketConfiguration.d.ts +53 -0
- package/dist/esm/models/S3BlobStoreApiBucketConfiguration.js +50 -0
- package/dist/esm/models/S3BlobStoreApiBucketSecurity.d.ts +49 -0
- package/dist/esm/models/S3BlobStoreApiBucketSecurity.js +44 -0
- package/dist/esm/models/S3BlobStoreApiEncryption.d.ts +45 -0
- package/dist/esm/models/S3BlobStoreApiEncryption.js +47 -0
- package/dist/esm/models/S3BlobStoreApiModel.d.ts +51 -0
- package/dist/esm/models/S3BlobStoreApiModel.js +49 -0
- package/dist/esm/models/SamlConfigurationXO.d.ts +79 -0
- package/dist/esm/models/SamlConfigurationXO.js +58 -0
- package/dist/esm/models/ScriptResultXO.d.ts +37 -0
- package/dist/esm/models/ScriptResultXO.js +40 -0
- package/dist/esm/models/ScriptXO.d.ts +43 -0
- package/dist/esm/models/ScriptXO.js +42 -0
- package/dist/esm/models/SimpleApiGroupDeployRepository.d.ts +51 -0
- package/dist/esm/models/SimpleApiGroupDeployRepository.js +50 -0
- package/dist/esm/models/SimpleApiGroupRepository.d.ts +69 -0
- package/dist/esm/models/SimpleApiGroupRepository.js +58 -0
- package/dist/esm/models/SimpleApiHostedRepository.d.ts +58 -0
- package/dist/esm/models/SimpleApiHostedRepository.js +53 -0
- package/dist/esm/models/SimpleApiProxyRepository.d.ts +85 -0
- package/dist/esm/models/SimpleApiProxyRepository.js +70 -0
- package/dist/esm/models/StackTraceElement.d.ts +55 -0
- package/dist/esm/models/StackTraceElement.js +46 -0
- package/dist/esm/models/StorageAttributes.d.ts +52 -0
- package/dist/esm/models/StorageAttributes.js +54 -0
- package/dist/esm/models/SupportZipGeneratorRequest.d.ts +103 -0
- package/dist/esm/models/SupportZipGeneratorRequest.js +62 -0
- package/dist/esm/models/SupportZipXO.d.ts +49 -0
- package/dist/esm/models/SupportZipXO.js +44 -0
- package/dist/esm/models/TagXO.d.ts +51 -0
- package/dist/esm/models/TagXO.js +46 -0
- package/dist/esm/models/TaskXO.d.ts +73 -0
- package/dist/esm/models/TaskXO.js +52 -0
- package/dist/esm/models/Throwable.d.ts +56 -0
- package/dist/esm/models/Throwable.js +47 -0
- package/dist/esm/models/UpdateLdapServerXo.d.ts +237 -0
- package/dist/esm/models/UpdateLdapServerXo.js +143 -0
- package/dist/esm/models/UploadComponentRequest.d.ts +289 -0
- package/dist/esm/models/UploadComponentRequest.js +124 -0
- package/dist/esm/models/UploadDefinitionXO.d.ts +50 -0
- package/dist/esm/models/UploadDefinitionXO.js +45 -0
- package/dist/esm/models/UploadFieldDefinitionXO.d.ts +55 -0
- package/dist/esm/models/UploadFieldDefinitionXO.js +46 -0
- package/dist/esm/models/UserTokensApiModel.d.ts +37 -0
- package/dist/esm/models/UserTokensApiModel.js +40 -0
- package/dist/esm/models/YumAttributes.d.ts +45 -0
- package/dist/esm/models/YumAttributes.js +49 -0
- package/dist/esm/models/YumGroupRepositoryApiRequest.d.ts +58 -0
- package/dist/esm/models/YumGroupRepositoryApiRequest.js +57 -0
- package/dist/esm/models/YumHostedApiRepository.d.ts +65 -0
- package/dist/esm/models/YumHostedApiRepository.js +58 -0
- package/dist/esm/models/YumHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/esm/models/YumHostedRepositoryApiRequest.js +60 -0
- package/dist/esm/models/YumProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/esm/models/YumProxyRepositoryApiRequest.js +75 -0
- package/dist/esm/models/YumSigningRepositoriesAttributes.d.ts +37 -0
- package/dist/esm/models/YumSigningRepositoriesAttributes.js +40 -0
- package/dist/esm/models/index.d.ts +157 -0
- package/dist/esm/models/index.js +159 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +326 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AbstractApiRepository.d.ts +64 -0
- package/dist/models/AbstractApiRepository.js +63 -0
- package/dist/models/AnonymousAccessSettingsXO.d.ts +43 -0
- package/dist/models/AnonymousAccessSettingsXO.js +49 -0
- package/dist/models/ApiCertificate.d.ts +97 -0
- package/dist/models/ApiCertificate.js +67 -0
- package/dist/models/ApiCreateUser.d.ts +77 -0
- package/dist/models/ApiCreateUser.js +68 -0
- package/dist/models/ApiEmailConfiguration.d.ts +97 -0
- package/dist/models/ApiEmailConfiguration.js +69 -0
- package/dist/models/ApiEmailValidation.d.ts +37 -0
- package/dist/models/ApiEmailValidation.js +47 -0
- package/dist/models/ApiLicenseDetailsXO.d.ts +79 -0
- package/dist/models/ApiLicenseDetailsXO.js +61 -0
- package/dist/models/ApiPrivilege.d.ts +49 -0
- package/dist/models/ApiPrivilege.js +51 -0
- package/dist/models/ApiPrivilegeApplicationRequest.d.ts +64 -0
- package/dist/models/ApiPrivilegeApplicationRequest.js +65 -0
- package/dist/models/ApiPrivilegeRepositoryAdminRequest.d.ts +70 -0
- package/dist/models/ApiPrivilegeRepositoryAdminRequest.js +67 -0
- package/dist/models/ApiPrivilegeRepositoryContentSelectorRequest.d.ts +76 -0
- package/dist/models/ApiPrivilegeRepositoryContentSelectorRequest.js +69 -0
- package/dist/models/ApiPrivilegeRepositoryViewRequest.d.ts +70 -0
- package/dist/models/ApiPrivilegeRepositoryViewRequest.js +67 -0
- package/dist/models/ApiPrivilegeScriptRequest.d.ts +64 -0
- package/dist/models/ApiPrivilegeScriptRequest.js +65 -0
- package/dist/models/ApiPrivilegeWildcardRequest.d.ts +43 -0
- package/dist/models/ApiPrivilegeWildcardRequest.js +49 -0
- package/dist/models/ApiUser.d.ts +89 -0
- package/dist/models/ApiUser.js +72 -0
- package/dist/models/ApiUserSource.d.ts +37 -0
- package/dist/models/ApiUserSource.js +47 -0
- package/dist/models/AptHostedApiRepository.d.ts +72 -0
- package/dist/models/AptHostedApiRepository.js +70 -0
- package/dist/models/AptHostedRepositoriesAttributes.d.ts +31 -0
- package/dist/models/AptHostedRepositoriesAttributes.js +45 -0
- package/dist/models/AptHostedRepositoryApiRequest.d.ts +72 -0
- package/dist/models/AptHostedRepositoryApiRequest.js +72 -0
- package/dist/models/AptProxyApiRepository.d.ts +92 -0
- package/dist/models/AptProxyApiRepository.js +82 -0
- package/dist/models/AptProxyRepositoriesAttributes.d.ts +37 -0
- package/dist/models/AptProxyRepositoriesAttributes.js +49 -0
- package/dist/models/AptProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/AptProxyRepositoryApiRequest.js +84 -0
- package/dist/models/AptSigningRepositoriesAttributes.d.ts +37 -0
- package/dist/models/AptSigningRepositoriesAttributes.js +47 -0
- package/dist/models/AssetXO.d.ts +105 -0
- package/dist/models/AssetXO.js +69 -0
- package/dist/models/AzureBlobStoreApiAuthentication.d.ts +46 -0
- package/dist/models/AzureBlobStoreApiAuthentication.js +57 -0
- package/dist/models/AzureBlobStoreApiBucketConfiguration.d.ts +44 -0
- package/dist/models/AzureBlobStoreApiBucketConfiguration.js +56 -0
- package/dist/models/AzureBlobStoreApiModel.d.ts +45 -0
- package/dist/models/AzureBlobStoreApiModel.js +55 -0
- package/dist/models/AzureConnectionXO.d.ts +49 -0
- package/dist/models/AzureConnectionXO.js +51 -0
- package/dist/models/BaseTagXO.d.ts +33 -0
- package/dist/models/BaseTagXO.js +45 -0
- package/dist/models/BlobStoreApiSoftQuota.d.ts +45 -0
- package/dist/models/BlobStoreApiSoftQuota.js +54 -0
- package/dist/models/BlobStoreQuotaResultXO.d.ts +43 -0
- package/dist/models/BlobStoreQuotaResultXO.js +49 -0
- package/dist/models/BowerAttributes.d.ts +31 -0
- package/dist/models/BowerAttributes.js +47 -0
- package/dist/models/BowerGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/BowerGroupRepositoryApiRequest.js +61 -0
- package/dist/models/BowerHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/BowerHostedRepositoryApiRequest.js +62 -0
- package/dist/models/BowerProxyApiRepository.d.ts +92 -0
- package/dist/models/BowerProxyApiRepository.js +80 -0
- package/dist/models/BowerProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/BowerProxyRepositoryApiRequest.js +82 -0
- package/dist/models/CleanupPolicyAttributes.d.ts +31 -0
- package/dist/models/CleanupPolicyAttributes.js +45 -0
- package/dist/models/CocoapodsProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/CocoapodsProxyRepositoryApiRequest.js +79 -0
- package/dist/models/ComponentAttributes.d.ts +31 -0
- package/dist/models/ComponentAttributes.js +45 -0
- package/dist/models/ComponentXO.d.ts +68 -0
- package/dist/models/ComponentXO.js +58 -0
- package/dist/models/ConanProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/ConanProxyRepositoryApiRequest.js +79 -0
- package/dist/models/CondaProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/CondaProxyRepositoryApiRequest.js +79 -0
- package/dist/models/ContentSelectorApiCreateRequest.d.ts +43 -0
- package/dist/models/ContentSelectorApiCreateRequest.js +49 -0
- package/dist/models/ContentSelectorApiResponse.d.ts +57 -0
- package/dist/models/ContentSelectorApiResponse.js +58 -0
- package/dist/models/ContentSelectorApiUpdateRequest.d.ts +37 -0
- package/dist/models/ContentSelectorApiUpdateRequest.js +47 -0
- package/dist/models/CreateLdapServerXo.d.ts +231 -0
- package/dist/models/CreateLdapServerXo.js +148 -0
- package/dist/models/CrowdApiXO.d.ts +67 -0
- package/dist/models/CrowdApiXO.js +61 -0
- package/dist/models/DockerAttributes.d.ts +55 -0
- package/dist/models/DockerAttributes.js +57 -0
- package/dist/models/DockerGroupApiRepository.d.ts +58 -0
- package/dist/models/DockerGroupApiRepository.js +64 -0
- package/dist/models/DockerGroupRepositoryApiRequest.d.ts +58 -0
- package/dist/models/DockerGroupRepositoryApiRequest.js +66 -0
- package/dist/models/DockerHostedApiRepository.d.ts +65 -0
- package/dist/models/DockerHostedApiRepository.js +65 -0
- package/dist/models/DockerHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/models/DockerHostedRepositoryApiRequest.js +67 -0
- package/dist/models/DockerHostedStorageAttributes.d.ts +58 -0
- package/dist/models/DockerHostedStorageAttributes.js +65 -0
- package/dist/models/DockerProxyApiRepository.d.ts +99 -0
- package/dist/models/DockerProxyApiRepository.js +87 -0
- package/dist/models/DockerProxyAttributes.d.ts +58 -0
- package/dist/models/DockerProxyAttributes.js +59 -0
- package/dist/models/DockerProxyRepositoryApiRequest.d.ts +99 -0
- package/dist/models/DockerProxyRepositoryApiRequest.js +89 -0
- package/dist/models/FileBlobStoreApiCreateRequest.d.ts +44 -0
- package/dist/models/FileBlobStoreApiCreateRequest.js +50 -0
- package/dist/models/FileBlobStoreApiModel.d.ts +38 -0
- package/dist/models/FileBlobStoreApiModel.js +48 -0
- package/dist/models/FileBlobStoreApiUpdateRequest.d.ts +38 -0
- package/dist/models/FileBlobStoreApiUpdateRequest.js +48 -0
- package/dist/models/GenericBlobStoreApiResponse.d.ts +68 -0
- package/dist/models/GenericBlobStoreApiResponse.js +58 -0
- package/dist/models/GitLfsHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/GitLfsHostedRepositoryApiRequest.js +62 -0
- package/dist/models/GolangGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/GolangGroupRepositoryApiRequest.js +61 -0
- package/dist/models/GolangProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/GolangProxyRepositoryApiRequest.js +79 -0
- package/dist/models/GroupAttributes.d.ts +31 -0
- package/dist/models/GroupAttributes.js +45 -0
- package/dist/models/GroupBlobStoreApiCreateRequest.d.ts +58 -0
- package/dist/models/GroupBlobStoreApiCreateRequest.js +59 -0
- package/dist/models/GroupBlobStoreApiModel.d.ts +52 -0
- package/dist/models/GroupBlobStoreApiModel.js +57 -0
- package/dist/models/GroupBlobStoreApiResponse.d.ts +58 -0
- package/dist/models/GroupBlobStoreApiResponse.js +59 -0
- package/dist/models/GroupBlobStoreApiUpdateRequest.d.ts +52 -0
- package/dist/models/GroupBlobStoreApiUpdateRequest.js +57 -0
- package/dist/models/GroupDeployAttributes.d.ts +37 -0
- package/dist/models/GroupDeployAttributes.js +47 -0
- package/dist/models/HelmHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/HelmHostedRepositoryApiRequest.js +62 -0
- package/dist/models/HelmProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/HelmProxyRepositoryApiRequest.js +79 -0
- package/dist/models/HostedStorageAttributes.d.ts +52 -0
- package/dist/models/HostedStorageAttributes.js +63 -0
- package/dist/models/HttpClientAttributes.d.ts +51 -0
- package/dist/models/HttpClientAttributes.js +57 -0
- package/dist/models/HttpClientAttributesWithPreemptiveAuth.d.ts +51 -0
- package/dist/models/HttpClientAttributesWithPreemptiveAuth.js +57 -0
- package/dist/models/HttpClientConnectionAttributes.d.ts +61 -0
- package/dist/models/HttpClientConnectionAttributes.js +55 -0
- package/dist/models/HttpClientConnectionAuthenticationAttributes.d.ts +69 -0
- package/dist/models/HttpClientConnectionAuthenticationAttributes.js +62 -0
- package/dist/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.d.ts +69 -0
- package/dist/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +62 -0
- package/dist/models/IqConnectionVerificationXo.d.ts +37 -0
- package/dist/models/IqConnectionVerificationXo.js +47 -0
- package/dist/models/IqConnectionXo.d.ts +93 -0
- package/dist/models/IqConnectionXo.js +72 -0
- package/dist/models/MavenAttributes.d.ts +68 -0
- package/dist/models/MavenAttributes.js +71 -0
- package/dist/models/MavenGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/MavenGroupRepositoryApiRequest.js +61 -0
- package/dist/models/MavenHostedApiRepository.d.ts +83 -0
- package/dist/models/MavenHostedApiRepository.js +71 -0
- package/dist/models/MavenHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/models/MavenHostedRepositoryApiRequest.js +67 -0
- package/dist/models/MavenProxyApiRepository.d.ts +110 -0
- package/dist/models/MavenProxyApiRepository.js +88 -0
- package/dist/models/MavenProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/MavenProxyRepositoryApiRequest.js +84 -0
- package/dist/models/NegativeCacheAttributes.d.ts +37 -0
- package/dist/models/NegativeCacheAttributes.js +51 -0
- package/dist/models/NpmAttributes.d.ts +31 -0
- package/dist/models/NpmAttributes.js +47 -0
- package/dist/models/NpmGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/NpmGroupRepositoryApiRequest.js +61 -0
- package/dist/models/NpmHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/NpmHostedRepositoryApiRequest.js +62 -0
- package/dist/models/NpmProxyApiRepository.d.ts +92 -0
- package/dist/models/NpmProxyApiRepository.js +80 -0
- package/dist/models/NpmProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/NpmProxyRepositoryApiRequest.js +82 -0
- package/dist/models/NugetAttributes.d.ts +45 -0
- package/dist/models/NugetAttributes.js +54 -0
- package/dist/models/NugetGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/NugetGroupRepositoryApiRequest.js +61 -0
- package/dist/models/NugetHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/NugetHostedRepositoryApiRequest.js +62 -0
- package/dist/models/NugetProxyApiRepository.d.ts +92 -0
- package/dist/models/NugetProxyApiRepository.js +82 -0
- package/dist/models/NugetProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/NugetProxyRepositoryApiRequest.js +84 -0
- package/dist/models/P2ProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/P2ProxyRepositoryApiRequest.js +79 -0
- package/dist/models/Page.d.ts +37 -0
- package/dist/models/Page.js +47 -0
- package/dist/models/PageAssetXO.d.ts +38 -0
- package/dist/models/PageAssetXO.js +48 -0
- package/dist/models/PageComponentXO.d.ts +38 -0
- package/dist/models/PageComponentXO.js +48 -0
- package/dist/models/PageTagXO.d.ts +38 -0
- package/dist/models/PageTagXO.js +48 -0
- package/dist/models/PageTaskXO.d.ts +38 -0
- package/dist/models/PageTaskXO.js +48 -0
- package/dist/models/ProxyAttributes.d.ts +43 -0
- package/dist/models/ProxyAttributes.js +53 -0
- package/dist/models/PyPiProxyAttributes.d.ts +31 -0
- package/dist/models/PyPiProxyAttributes.js +47 -0
- package/dist/models/PypiGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/PypiGroupRepositoryApiRequest.js +61 -0
- package/dist/models/PypiHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/PypiHostedRepositoryApiRequest.js +62 -0
- package/dist/models/PypiProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/PypiProxyRepositoryApiRequest.js +82 -0
- package/dist/models/RGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/RGroupRepositoryApiRequest.js +61 -0
- package/dist/models/RHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/RHostedRepositoryApiRequest.js +62 -0
- package/dist/models/RProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/RProxyRepositoryApiRequest.js +79 -0
- package/dist/models/RawAttributes.d.ts +39 -0
- package/dist/models/RawAttributes.js +52 -0
- package/dist/models/RawGroupRepositoryApiRequest.d.ts +58 -0
- package/dist/models/RawGroupRepositoryApiRequest.js +64 -0
- package/dist/models/RawHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/models/RawHostedRepositoryApiRequest.js +65 -0
- package/dist/models/RawProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/RawProxyRepositoryApiRequest.js +82 -0
- package/dist/models/ReadLdapServerXo.d.ts +237 -0
- package/dist/models/ReadLdapServerXo.js +148 -0
- package/dist/models/ReadOnlyState.d.ts +43 -0
- package/dist/models/ReadOnlyState.js +49 -0
- package/dist/models/RealmApiXO.d.ts +37 -0
- package/dist/models/RealmApiXO.js +47 -0
- package/dist/models/ReplicationAttributes.d.ts +37 -0
- package/dist/models/ReplicationAttributes.js +49 -0
- package/dist/models/RepositoryXO.d.ts +57 -0
- package/dist/models/RepositoryXO.js +53 -0
- package/dist/models/Result.d.ts +70 -0
- package/dist/models/Result.js +58 -0
- package/dist/models/RoleXORequest.d.ts +55 -0
- package/dist/models/RoleXORequest.js +53 -0
- package/dist/models/RoleXOResponse.d.ts +67 -0
- package/dist/models/RoleXOResponse.js +57 -0
- package/dist/models/RoutingRuleXO.d.ts +57 -0
- package/dist/models/RoutingRuleXO.js +58 -0
- package/dist/models/RubyGemsGroupRepositoryApiRequest.d.ts +51 -0
- package/dist/models/RubyGemsGroupRepositoryApiRequest.js +61 -0
- package/dist/models/RubyGemsHostedRepositoryApiRequest.d.ts +58 -0
- package/dist/models/RubyGemsHostedRepositoryApiRequest.js +62 -0
- package/dist/models/RubyGemsProxyRepositoryApiRequest.d.ts +85 -0
- package/dist/models/RubyGemsProxyRepositoryApiRequest.js +79 -0
- package/dist/models/S3BlobStoreApiAdvancedBucketConnection.d.ts +49 -0
- package/dist/models/S3BlobStoreApiAdvancedBucketConnection.js +51 -0
- package/dist/models/S3BlobStoreApiBucket.d.ts +49 -0
- package/dist/models/S3BlobStoreApiBucket.js +57 -0
- package/dist/models/S3BlobStoreApiBucketConfiguration.d.ts +53 -0
- package/dist/models/S3BlobStoreApiBucketConfiguration.js +57 -0
- package/dist/models/S3BlobStoreApiBucketSecurity.d.ts +49 -0
- package/dist/models/S3BlobStoreApiBucketSecurity.js +51 -0
- package/dist/models/S3BlobStoreApiEncryption.d.ts +45 -0
- package/dist/models/S3BlobStoreApiEncryption.js +54 -0
- package/dist/models/S3BlobStoreApiModel.d.ts +51 -0
- package/dist/models/S3BlobStoreApiModel.js +56 -0
- package/dist/models/SamlConfigurationXO.d.ts +79 -0
- package/dist/models/SamlConfigurationXO.js +65 -0
- package/dist/models/ScriptResultXO.d.ts +37 -0
- package/dist/models/ScriptResultXO.js +47 -0
- package/dist/models/ScriptXO.d.ts +43 -0
- package/dist/models/ScriptXO.js +49 -0
- package/dist/models/SimpleApiGroupDeployRepository.d.ts +51 -0
- package/dist/models/SimpleApiGroupDeployRepository.js +57 -0
- package/dist/models/SimpleApiGroupRepository.d.ts +69 -0
- package/dist/models/SimpleApiGroupRepository.js +65 -0
- package/dist/models/SimpleApiHostedRepository.d.ts +58 -0
- package/dist/models/SimpleApiHostedRepository.js +60 -0
- package/dist/models/SimpleApiProxyRepository.d.ts +85 -0
- package/dist/models/SimpleApiProxyRepository.js +77 -0
- package/dist/models/StackTraceElement.d.ts +55 -0
- package/dist/models/StackTraceElement.js +53 -0
- package/dist/models/StorageAttributes.d.ts +52 -0
- package/dist/models/StorageAttributes.js +61 -0
- package/dist/models/SupportZipGeneratorRequest.d.ts +103 -0
- package/dist/models/SupportZipGeneratorRequest.js +69 -0
- package/dist/models/SupportZipXO.d.ts +49 -0
- package/dist/models/SupportZipXO.js +51 -0
- package/dist/models/TagXO.d.ts +51 -0
- package/dist/models/TagXO.js +53 -0
- package/dist/models/TaskXO.d.ts +73 -0
- package/dist/models/TaskXO.js +59 -0
- package/dist/models/Throwable.d.ts +56 -0
- package/dist/models/Throwable.js +54 -0
- package/dist/models/UpdateLdapServerXo.d.ts +237 -0
- package/dist/models/UpdateLdapServerXo.js +150 -0
- package/dist/models/UploadComponentRequest.d.ts +289 -0
- package/dist/models/UploadComponentRequest.js +131 -0
- package/dist/models/UploadDefinitionXO.d.ts +50 -0
- package/dist/models/UploadDefinitionXO.js +52 -0
- package/dist/models/UploadFieldDefinitionXO.d.ts +55 -0
- package/dist/models/UploadFieldDefinitionXO.js +53 -0
- package/dist/models/UserTokensApiModel.d.ts +37 -0
- package/dist/models/UserTokensApiModel.js +47 -0
- package/dist/models/YumAttributes.d.ts +45 -0
- package/dist/models/YumAttributes.js +56 -0
- package/dist/models/YumGroupRepositoryApiRequest.d.ts +58 -0
- package/dist/models/YumGroupRepositoryApiRequest.js +64 -0
- package/dist/models/YumHostedApiRepository.d.ts +65 -0
- package/dist/models/YumHostedApiRepository.js +65 -0
- package/dist/models/YumHostedRepositoryApiRequest.d.ts +65 -0
- package/dist/models/YumHostedRepositoryApiRequest.js +67 -0
- package/dist/models/YumProxyRepositoryApiRequest.d.ts +92 -0
- package/dist/models/YumProxyRepositoryApiRequest.js +82 -0
- package/dist/models/YumSigningRepositoriesAttributes.d.ts +37 -0
- package/dist/models/YumSigningRepositoriesAttributes.js +47 -0
- package/dist/models/index.d.ts +157 -0
- package/dist/models/index.js +175 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +341 -0
- package/package.json +21 -0
- package/src/apis/AssetsApi.ts +161 -0
- package/src/apis/AzureBlobStoreApi.ts +65 -0
- package/src/apis/BlobStoreApi.ts +685 -0
- package/src/apis/ComponentsApi.ts +469 -0
- package/src/apis/ContentSelectorsApi.ts +222 -0
- package/src/apis/EmailApi.ts +175 -0
- package/src/apis/FormatsApi.ts +99 -0
- package/src/apis/LifecycleApi.ts +128 -0
- package/src/apis/ManageSonatypeRepositoryFirewallConfigurationApi.ts +177 -0
- package/src/apis/ProductLicensingApi.ts +125 -0
- package/src/apis/ReadOnlyApi.ts +149 -0
- package/src/apis/RepositoryManagementApi.ts +5332 -0
- package/src/apis/RoutingRulesApi.ts +230 -0
- package/src/apis/ScriptApi.ts +263 -0
- package/src/apis/SearchApi.ts +990 -0
- package/src/apis/SecurityAtlassianCrowdApi.ts +156 -0
- package/src/apis/SecurityCertificatesApi.ts +188 -0
- package/src/apis/SecurityManagementAnonymousAccessApi.ts +95 -0
- package/src/apis/SecurityManagementApi.ts +59 -0
- package/src/apis/SecurityManagementLDAPApi.ts +252 -0
- package/src/apis/SecurityManagementPrivilegesApi.ts +624 -0
- package/src/apis/SecurityManagementRealmsApi.ts +123 -0
- package/src/apis/SecurityManagementRolesApi.ts +247 -0
- package/src/apis/SecurityManagementSAMLApi.ts +177 -0
- package/src/apis/SecurityManagementUserTokensApi.ts +123 -0
- package/src/apis/SecurityManagementUsersApi.ts +285 -0
- package/src/apis/StagingApi.ts +593 -0
- package/src/apis/StatusApi.ts +115 -0
- package/src/apis/SupportApi.ts +104 -0
- package/src/apis/TagsApi.ts +814 -0
- package/src/apis/TasksApi.ts +188 -0
- package/src/apis/index.ts +33 -0
- package/src/index.ts +5 -0
- package/src/models/AbstractApiRepository.ts +105 -0
- package/src/models/AnonymousAccessSettingsXO.ts +76 -0
- package/src/models/ApiCertificate.ts +148 -0
- package/src/models/ApiCreateUser.ts +122 -0
- package/src/models/ApiEmailConfiguration.ts +149 -0
- package/src/models/ApiEmailValidation.ts +68 -0
- package/src/models/ApiLicenseDetailsXO.ts +124 -0
- package/src/models/ApiPrivilege.ts +84 -0
- package/src/models/ApiPrivilegeApplicationRequest.ts +102 -0
- package/src/models/ApiPrivilegeRepositoryAdminRequest.ts +110 -0
- package/src/models/ApiPrivilegeRepositoryContentSelectorRequest.ts +118 -0
- package/src/models/ApiPrivilegeRepositoryViewRequest.ts +110 -0
- package/src/models/ApiPrivilegeScriptRequest.ts +102 -0
- package/src/models/ApiPrivilegeWildcardRequest.ts +76 -0
- package/src/models/ApiUser.ts +138 -0
- package/src/models/ApiUserSource.ts +68 -0
- package/src/models/AptHostedApiRepository.ts +143 -0
- package/src/models/AptHostedRepositoriesAttributes.ts +60 -0
- package/src/models/AptHostedRepositoryApiRequest.ts +144 -0
- package/src/models/AptProxyApiRepository.ts +181 -0
- package/src/models/AptProxyRepositoriesAttributes.ts +69 -0
- package/src/models/AptProxyRepositoryApiRequest.ts +182 -0
- package/src/models/AptSigningRepositoriesAttributes.ts +68 -0
- package/src/models/AssetXO.ts +156 -0
- package/src/models/AzureBlobStoreApiAuthentication.ts +81 -0
- package/src/models/AzureBlobStoreApiBucketConfiguration.ts +86 -0
- package/src/models/AzureBlobStoreApiModel.ts +91 -0
- package/src/models/AzureConnectionXO.ts +84 -0
- package/src/models/BaseTagXO.ts +60 -0
- package/src/models/BlobStoreApiSoftQuota.ts +79 -0
- package/src/models/BlobStoreQuotaResultXO.ts +76 -0
- package/src/models/BowerAttributes.ts +61 -0
- package/src/models/BowerGroupRepositoryApiRequest.ts +101 -0
- package/src/models/BowerHostedRepositoryApiRequest.ts +114 -0
- package/src/models/BowerProxyApiRepository.ts +180 -0
- package/src/models/BowerProxyRepositoryApiRequest.ts +181 -0
- package/src/models/CleanupPolicyAttributes.ts +60 -0
- package/src/models/CocoapodsProxyRepositoryApiRequest.ts +167 -0
- package/src/models/ComponentAttributes.ts +60 -0
- package/src/models/ComponentXO.ts +115 -0
- package/src/models/ConanProxyRepositoryApiRequest.ts +167 -0
- package/src/models/CondaProxyRepositoryApiRequest.ts +167 -0
- package/src/models/ContentSelectorApiCreateRequest.ts +76 -0
- package/src/models/ContentSelectorApiResponse.ts +95 -0
- package/src/models/ContentSelectorApiUpdateRequest.ts +68 -0
- package/src/models/CreateLdapServerXo.ts +334 -0
- package/src/models/CrowdApiXO.ts +110 -0
- package/src/models/DockerAttributes.ts +94 -0
- package/src/models/DockerGroupApiRepository.ts +115 -0
- package/src/models/DockerGroupRepositoryApiRequest.ts +116 -0
- package/src/models/DockerHostedApiRepository.ts +128 -0
- package/src/models/DockerHostedRepositoryApiRequest.ts +129 -0
- package/src/models/DockerHostedStorageAttributes.ts +99 -0
- package/src/models/DockerProxyApiRepository.ts +196 -0
- package/src/models/DockerProxyAttributes.ts +96 -0
- package/src/models/DockerProxyRepositoryApiRequest.ts +197 -0
- package/src/models/FileBlobStoreApiCreateRequest.ts +83 -0
- package/src/models/FileBlobStoreApiModel.ts +75 -0
- package/src/models/FileBlobStoreApiUpdateRequest.ts +75 -0
- package/src/models/GenericBlobStoreApiResponse.ts +115 -0
- package/src/models/GitLfsHostedRepositoryApiRequest.ts +114 -0
- package/src/models/GolangGroupRepositoryApiRequest.ts +101 -0
- package/src/models/GolangProxyRepositoryApiRequest.ts +167 -0
- package/src/models/GroupAttributes.ts +60 -0
- package/src/models/GroupBlobStoreApiCreateRequest.ts +102 -0
- package/src/models/GroupBlobStoreApiModel.ts +94 -0
- package/src/models/GroupBlobStoreApiResponse.ts +102 -0
- package/src/models/GroupBlobStoreApiUpdateRequest.ts +94 -0
- package/src/models/GroupDeployAttributes.ts +68 -0
- package/src/models/HelmHostedRepositoryApiRequest.ts +114 -0
- package/src/models/HelmProxyRepositoryApiRequest.ts +167 -0
- package/src/models/HostedStorageAttributes.ts +91 -0
- package/src/models/HttpClientAttributes.ts +99 -0
- package/src/models/HttpClientAttributesWithPreemptiveAuth.ts +99 -0
- package/src/models/HttpClientConnectionAttributes.ts +100 -0
- package/src/models/HttpClientConnectionAuthenticationAttributes.ts +111 -0
- package/src/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.ts +111 -0
- package/src/models/IqConnectionVerificationXo.ts +68 -0
- package/src/models/IqConnectionXo.ts +144 -0
- package/src/models/MavenAttributes.ts +106 -0
- package/src/models/MavenGroupRepositoryApiRequest.ts +101 -0
- package/src/models/MavenHostedApiRepository.ts +152 -0
- package/src/models/MavenHostedRepositoryApiRequest.ts +129 -0
- package/src/models/MavenProxyApiRepository.ts +205 -0
- package/src/models/MavenProxyRepositoryApiRequest.ts +182 -0
- package/src/models/NegativeCacheAttributes.ts +70 -0
- package/src/models/NpmAttributes.ts +61 -0
- package/src/models/NpmGroupRepositoryApiRequest.ts +101 -0
- package/src/models/NpmHostedRepositoryApiRequest.ts +114 -0
- package/src/models/NpmProxyApiRepository.ts +180 -0
- package/src/models/NpmProxyRepositoryApiRequest.ts +181 -0
- package/src/models/NugetAttributes.ts +79 -0
- package/src/models/NugetGroupRepositoryApiRequest.ts +101 -0
- package/src/models/NugetHostedRepositoryApiRequest.ts +114 -0
- package/src/models/NugetProxyApiRepository.ts +181 -0
- package/src/models/NugetProxyRepositoryApiRequest.ts +182 -0
- package/src/models/P2ProxyRepositoryApiRequest.ts +167 -0
- package/src/models/Page.ts +68 -0
- package/src/models/PageAssetXO.ts +75 -0
- package/src/models/PageComponentXO.ts +75 -0
- package/src/models/PageTagXO.ts +75 -0
- package/src/models/PageTaskXO.ts +75 -0
- package/src/models/ProxyAttributes.ts +78 -0
- package/src/models/PyPiProxyAttributes.ts +61 -0
- package/src/models/PypiGroupRepositoryApiRequest.ts +101 -0
- package/src/models/PypiHostedRepositoryApiRequest.ts +114 -0
- package/src/models/PypiProxyRepositoryApiRequest.ts +181 -0
- package/src/models/RGroupRepositoryApiRequest.ts +101 -0
- package/src/models/RHostedRepositoryApiRequest.ts +114 -0
- package/src/models/RProxyRepositoryApiRequest.ts +167 -0
- package/src/models/RawAttributes.ts +71 -0
- package/src/models/RawGroupRepositoryApiRequest.ts +115 -0
- package/src/models/RawHostedRepositoryApiRequest.ts +128 -0
- package/src/models/RawProxyRepositoryApiRequest.ts +181 -0
- package/src/models/ReadLdapServerXo.ts +341 -0
- package/src/models/ReadOnlyState.ts +76 -0
- package/src/models/RealmApiXO.ts +68 -0
- package/src/models/ReplicationAttributes.ts +69 -0
- package/src/models/RepositoryXO.ts +92 -0
- package/src/models/Result.ts +115 -0
- package/src/models/RoleXORequest.ts +92 -0
- package/src/models/RoleXOResponse.ts +108 -0
- package/src/models/RoutingRuleXO.ts +95 -0
- package/src/models/RubyGemsGroupRepositoryApiRequest.ts +101 -0
- package/src/models/RubyGemsHostedRepositoryApiRequest.ts +114 -0
- package/src/models/RubyGemsProxyRepositoryApiRequest.ts +167 -0
- package/src/models/S3BlobStoreApiAdvancedBucketConnection.ts +84 -0
- package/src/models/S3BlobStoreApiBucket.ts +87 -0
- package/src/models/S3BlobStoreApiBucketConfiguration.ts +110 -0
- package/src/models/S3BlobStoreApiBucketSecurity.ts +84 -0
- package/src/models/S3BlobStoreApiEncryption.ts +79 -0
- package/src/models/S3BlobStoreApiModel.ts +98 -0
- package/src/models/SamlConfigurationXO.ts +126 -0
- package/src/models/ScriptResultXO.ts +68 -0
- package/src/models/ScriptXO.ts +76 -0
- package/src/models/SimpleApiGroupDeployRepository.ts +98 -0
- package/src/models/SimpleApiGroupRepository.ts +124 -0
- package/src/models/SimpleApiHostedRepository.ts +113 -0
- package/src/models/SimpleApiProxyRepository.ts +166 -0
- package/src/models/StackTraceElement.ts +92 -0
- package/src/models/StorageAttributes.ts +90 -0
- package/src/models/SupportZipGeneratorRequest.ts +156 -0
- package/src/models/SupportZipXO.ts +84 -0
- package/src/models/TagXO.ts +85 -0
- package/src/models/TaskXO.ts +116 -0
- package/src/models/Throwable.ts +99 -0
- package/src/models/UpdateLdapServerXo.ts +342 -0
- package/src/models/UploadComponentRequest.ts +404 -0
- package/src/models/UploadDefinitionXO.ts +91 -0
- package/src/models/UploadFieldDefinitionXO.ts +92 -0
- package/src/models/UserTokensApiModel.ts +68 -0
- package/src/models/YumAttributes.ts +80 -0
- package/src/models/YumGroupRepositoryApiRequest.ts +115 -0
- package/src/models/YumHostedApiRepository.ts +128 -0
- package/src/models/YumHostedRepositoryApiRequest.ts +129 -0
- package/src/models/YumProxyRepositoryApiRequest.ts +181 -0
- package/src/models/YumSigningRepositoriesAttributes.ts +68 -0
- package/src/models/index.ts +159 -0
- package/src/runtime.ts +426 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,4038 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sonatype Nexus Repository Manager
|
|
5
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.68.1-02.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.68.1-02
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { AbstractApiRepositoryFromJSON, AptHostedApiRepositoryFromJSON, AptHostedRepositoryApiRequestToJSON, AptProxyApiRepositoryFromJSON, AptProxyRepositoryApiRequestToJSON, BowerGroupRepositoryApiRequestToJSON, BowerHostedRepositoryApiRequestToJSON, BowerProxyApiRepositoryFromJSON, BowerProxyRepositoryApiRequestToJSON, CocoapodsProxyRepositoryApiRequestToJSON, ConanProxyRepositoryApiRequestToJSON, CondaProxyRepositoryApiRequestToJSON, DockerGroupApiRepositoryFromJSON, DockerGroupRepositoryApiRequestToJSON, DockerHostedApiRepositoryFromJSON, DockerHostedRepositoryApiRequestToJSON, DockerProxyApiRepositoryFromJSON, DockerProxyRepositoryApiRequestToJSON, GitLfsHostedRepositoryApiRequestToJSON, GolangGroupRepositoryApiRequestToJSON, GolangProxyRepositoryApiRequestToJSON, HelmHostedRepositoryApiRequestToJSON, HelmProxyRepositoryApiRequestToJSON, MavenGroupRepositoryApiRequestToJSON, MavenHostedApiRepositoryFromJSON, MavenHostedRepositoryApiRequestToJSON, MavenProxyApiRepositoryFromJSON, MavenProxyRepositoryApiRequestToJSON, NpmGroupRepositoryApiRequestToJSON, NpmHostedRepositoryApiRequestToJSON, NpmProxyApiRepositoryFromJSON, NpmProxyRepositoryApiRequestToJSON, NugetGroupRepositoryApiRequestToJSON, NugetHostedRepositoryApiRequestToJSON, NugetProxyApiRepositoryFromJSON, NugetProxyRepositoryApiRequestToJSON, P2ProxyRepositoryApiRequestToJSON, PypiGroupRepositoryApiRequestToJSON, PypiHostedRepositoryApiRequestToJSON, PypiProxyRepositoryApiRequestToJSON, RGroupRepositoryApiRequestToJSON, RHostedRepositoryApiRequestToJSON, RProxyRepositoryApiRequestToJSON, RawGroupRepositoryApiRequestToJSON, RawHostedRepositoryApiRequestToJSON, RawProxyRepositoryApiRequestToJSON, RepositoryXOFromJSON, RubyGemsGroupRepositoryApiRequestToJSON, RubyGemsHostedRepositoryApiRequestToJSON, RubyGemsProxyRepositoryApiRequestToJSON, SimpleApiGroupDeployRepositoryFromJSON, SimpleApiGroupRepositoryFromJSON, SimpleApiHostedRepositoryFromJSON, SimpleApiProxyRepositoryFromJSON, YumGroupRepositoryApiRequestToJSON, YumHostedApiRepositoryFromJSON, YumHostedRepositoryApiRequestToJSON, YumProxyRepositoryApiRequestToJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class RepositoryManagementApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Create APT hosted repository
|
|
31
|
+
*/
|
|
32
|
+
createAptHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
const queryParameters = {};
|
|
35
|
+
const headerParameters = {};
|
|
36
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
37
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
38
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
39
|
+
}
|
|
40
|
+
const response = yield this.request({
|
|
41
|
+
path: `/v1/repositories/apt/hosted`,
|
|
42
|
+
method: 'POST',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
body: AptHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
46
|
+
}, initOverrides);
|
|
47
|
+
return new runtime.VoidApiResponse(response);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Create APT hosted repository
|
|
52
|
+
*/
|
|
53
|
+
createAptHostedRepository(requestParameters = {}, initOverrides) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
yield this.createAptHostedRepositoryRaw(requestParameters, initOverrides);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create APT proxy repository
|
|
60
|
+
*/
|
|
61
|
+
createAptProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
66
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
67
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
68
|
+
}
|
|
69
|
+
const response = yield this.request({
|
|
70
|
+
path: `/v1/repositories/apt/proxy`,
|
|
71
|
+
method: 'POST',
|
|
72
|
+
headers: headerParameters,
|
|
73
|
+
query: queryParameters,
|
|
74
|
+
body: AptProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
75
|
+
}, initOverrides);
|
|
76
|
+
return new runtime.VoidApiResponse(response);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Create APT proxy repository
|
|
81
|
+
*/
|
|
82
|
+
createAptProxyRepository(requestParameters = {}, initOverrides) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
yield this.createAptProxyRepositoryRaw(requestParameters, initOverrides);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Create Bower group repository
|
|
89
|
+
*/
|
|
90
|
+
createBowerGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const queryParameters = {};
|
|
93
|
+
const headerParameters = {};
|
|
94
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
95
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
96
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
97
|
+
}
|
|
98
|
+
const response = yield this.request({
|
|
99
|
+
path: `/v1/repositories/bower/group`,
|
|
100
|
+
method: 'POST',
|
|
101
|
+
headers: headerParameters,
|
|
102
|
+
query: queryParameters,
|
|
103
|
+
body: BowerGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
104
|
+
}, initOverrides);
|
|
105
|
+
return new runtime.VoidApiResponse(response);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Create Bower group repository
|
|
110
|
+
*/
|
|
111
|
+
createBowerGroupRepository(requestParameters = {}, initOverrides) {
|
|
112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
yield this.createBowerGroupRepositoryRaw(requestParameters, initOverrides);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Create Bower hosted repository
|
|
118
|
+
*/
|
|
119
|
+
createBowerHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
120
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
+
const queryParameters = {};
|
|
122
|
+
const headerParameters = {};
|
|
123
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
124
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
125
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
126
|
+
}
|
|
127
|
+
const response = yield this.request({
|
|
128
|
+
path: `/v1/repositories/bower/hosted`,
|
|
129
|
+
method: 'POST',
|
|
130
|
+
headers: headerParameters,
|
|
131
|
+
query: queryParameters,
|
|
132
|
+
body: BowerHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
133
|
+
}, initOverrides);
|
|
134
|
+
return new runtime.VoidApiResponse(response);
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Create Bower hosted repository
|
|
139
|
+
*/
|
|
140
|
+
createBowerHostedRepository(requestParameters = {}, initOverrides) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
yield this.createBowerHostedRepositoryRaw(requestParameters, initOverrides);
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Create Bower proxy repository
|
|
147
|
+
*/
|
|
148
|
+
createBowerProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
const queryParameters = {};
|
|
151
|
+
const headerParameters = {};
|
|
152
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
153
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
154
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
155
|
+
}
|
|
156
|
+
const response = yield this.request({
|
|
157
|
+
path: `/v1/repositories/bower/proxy`,
|
|
158
|
+
method: 'POST',
|
|
159
|
+
headers: headerParameters,
|
|
160
|
+
query: queryParameters,
|
|
161
|
+
body: BowerProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
162
|
+
}, initOverrides);
|
|
163
|
+
return new runtime.VoidApiResponse(response);
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Create Bower proxy repository
|
|
168
|
+
*/
|
|
169
|
+
createBowerProxyRepository(requestParameters = {}, initOverrides) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
yield this.createBowerProxyRepositoryRaw(requestParameters, initOverrides);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Create Cocoapods proxy repository
|
|
176
|
+
*/
|
|
177
|
+
createCocoapodsProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
const queryParameters = {};
|
|
180
|
+
const headerParameters = {};
|
|
181
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
182
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
183
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
184
|
+
}
|
|
185
|
+
const response = yield this.request({
|
|
186
|
+
path: `/v1/repositories/cocoapods/proxy`,
|
|
187
|
+
method: 'POST',
|
|
188
|
+
headers: headerParameters,
|
|
189
|
+
query: queryParameters,
|
|
190
|
+
body: CocoapodsProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
191
|
+
}, initOverrides);
|
|
192
|
+
return new runtime.VoidApiResponse(response);
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Create Cocoapods proxy repository
|
|
197
|
+
*/
|
|
198
|
+
createCocoapodsProxyRepository(requestParameters = {}, initOverrides) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
yield this.createCocoapodsProxyRepositoryRaw(requestParameters, initOverrides);
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Create Conan proxy repository
|
|
205
|
+
*/
|
|
206
|
+
createConanProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
208
|
+
const queryParameters = {};
|
|
209
|
+
const headerParameters = {};
|
|
210
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
211
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
212
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
213
|
+
}
|
|
214
|
+
const response = yield this.request({
|
|
215
|
+
path: `/v1/repositories/conan/proxy`,
|
|
216
|
+
method: 'POST',
|
|
217
|
+
headers: headerParameters,
|
|
218
|
+
query: queryParameters,
|
|
219
|
+
body: ConanProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
220
|
+
}, initOverrides);
|
|
221
|
+
return new runtime.VoidApiResponse(response);
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Create Conan proxy repository
|
|
226
|
+
*/
|
|
227
|
+
createConanProxyRepository(requestParameters = {}, initOverrides) {
|
|
228
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
229
|
+
yield this.createConanProxyRepositoryRaw(requestParameters, initOverrides);
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Create conda proxy repository
|
|
234
|
+
*/
|
|
235
|
+
createCondaProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
236
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
237
|
+
const queryParameters = {};
|
|
238
|
+
const headerParameters = {};
|
|
239
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
240
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
241
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
242
|
+
}
|
|
243
|
+
const response = yield this.request({
|
|
244
|
+
path: `/v1/repositories/conda/proxy`,
|
|
245
|
+
method: 'POST',
|
|
246
|
+
headers: headerParameters,
|
|
247
|
+
query: queryParameters,
|
|
248
|
+
body: CondaProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
249
|
+
}, initOverrides);
|
|
250
|
+
return new runtime.VoidApiResponse(response);
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Create conda proxy repository
|
|
255
|
+
*/
|
|
256
|
+
createCondaProxyRepository(requestParameters = {}, initOverrides) {
|
|
257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
258
|
+
yield this.createCondaProxyRepositoryRaw(requestParameters, initOverrides);
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Create Docker group repository
|
|
263
|
+
*/
|
|
264
|
+
createDockerGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
265
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
266
|
+
const queryParameters = {};
|
|
267
|
+
const headerParameters = {};
|
|
268
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
269
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
270
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
271
|
+
}
|
|
272
|
+
const response = yield this.request({
|
|
273
|
+
path: `/v1/repositories/docker/group`,
|
|
274
|
+
method: 'POST',
|
|
275
|
+
headers: headerParameters,
|
|
276
|
+
query: queryParameters,
|
|
277
|
+
body: DockerGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
278
|
+
}, initOverrides);
|
|
279
|
+
return new runtime.VoidApiResponse(response);
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Create Docker group repository
|
|
284
|
+
*/
|
|
285
|
+
createDockerGroupRepository(requestParameters = {}, initOverrides) {
|
|
286
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
287
|
+
yield this.createDockerGroupRepositoryRaw(requestParameters, initOverrides);
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Create Docker hosted repository
|
|
292
|
+
*/
|
|
293
|
+
createDockerHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
295
|
+
const queryParameters = {};
|
|
296
|
+
const headerParameters = {};
|
|
297
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
298
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
299
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
300
|
+
}
|
|
301
|
+
const response = yield this.request({
|
|
302
|
+
path: `/v1/repositories/docker/hosted`,
|
|
303
|
+
method: 'POST',
|
|
304
|
+
headers: headerParameters,
|
|
305
|
+
query: queryParameters,
|
|
306
|
+
body: DockerHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
307
|
+
}, initOverrides);
|
|
308
|
+
return new runtime.VoidApiResponse(response);
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Create Docker hosted repository
|
|
313
|
+
*/
|
|
314
|
+
createDockerHostedRepository(requestParameters = {}, initOverrides) {
|
|
315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
316
|
+
yield this.createDockerHostedRepositoryRaw(requestParameters, initOverrides);
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Create Docker proxy repository
|
|
321
|
+
*/
|
|
322
|
+
createDockerProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
323
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
324
|
+
const queryParameters = {};
|
|
325
|
+
const headerParameters = {};
|
|
326
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
327
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
328
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
329
|
+
}
|
|
330
|
+
const response = yield this.request({
|
|
331
|
+
path: `/v1/repositories/docker/proxy`,
|
|
332
|
+
method: 'POST',
|
|
333
|
+
headers: headerParameters,
|
|
334
|
+
query: queryParameters,
|
|
335
|
+
body: DockerProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
336
|
+
}, initOverrides);
|
|
337
|
+
return new runtime.VoidApiResponse(response);
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* Create Docker proxy repository
|
|
342
|
+
*/
|
|
343
|
+
createDockerProxyRepository(requestParameters = {}, initOverrides) {
|
|
344
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
345
|
+
yield this.createDockerProxyRepositoryRaw(requestParameters, initOverrides);
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Create Git LFS hosted repository
|
|
350
|
+
*/
|
|
351
|
+
createGitlfsHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
353
|
+
const queryParameters = {};
|
|
354
|
+
const headerParameters = {};
|
|
355
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
356
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
357
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
358
|
+
}
|
|
359
|
+
const response = yield this.request({
|
|
360
|
+
path: `/v1/repositories/gitlfs/hosted`,
|
|
361
|
+
method: 'POST',
|
|
362
|
+
headers: headerParameters,
|
|
363
|
+
query: queryParameters,
|
|
364
|
+
body: GitLfsHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
365
|
+
}, initOverrides);
|
|
366
|
+
return new runtime.VoidApiResponse(response);
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Create Git LFS hosted repository
|
|
371
|
+
*/
|
|
372
|
+
createGitlfsHostedRepository(requestParameters = {}, initOverrides) {
|
|
373
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
374
|
+
yield this.createGitlfsHostedRepositoryRaw(requestParameters, initOverrides);
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Create a Go group repository
|
|
379
|
+
*/
|
|
380
|
+
createGoGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
381
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
382
|
+
const queryParameters = {};
|
|
383
|
+
const headerParameters = {};
|
|
384
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
385
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
386
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
387
|
+
}
|
|
388
|
+
const response = yield this.request({
|
|
389
|
+
path: `/v1/repositories/go/group`,
|
|
390
|
+
method: 'POST',
|
|
391
|
+
headers: headerParameters,
|
|
392
|
+
query: queryParameters,
|
|
393
|
+
body: GolangGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
394
|
+
}, initOverrides);
|
|
395
|
+
return new runtime.VoidApiResponse(response);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Create a Go group repository
|
|
400
|
+
*/
|
|
401
|
+
createGoGroupRepository(requestParameters = {}, initOverrides) {
|
|
402
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
403
|
+
yield this.createGoGroupRepositoryRaw(requestParameters, initOverrides);
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Create a Go proxy repository
|
|
408
|
+
*/
|
|
409
|
+
createGoProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
410
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
411
|
+
const queryParameters = {};
|
|
412
|
+
const headerParameters = {};
|
|
413
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
414
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
415
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
416
|
+
}
|
|
417
|
+
const response = yield this.request({
|
|
418
|
+
path: `/v1/repositories/go/proxy`,
|
|
419
|
+
method: 'POST',
|
|
420
|
+
headers: headerParameters,
|
|
421
|
+
query: queryParameters,
|
|
422
|
+
body: GolangProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
423
|
+
}, initOverrides);
|
|
424
|
+
return new runtime.VoidApiResponse(response);
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Create a Go proxy repository
|
|
429
|
+
*/
|
|
430
|
+
createGoProxyRepository(requestParameters = {}, initOverrides) {
|
|
431
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
432
|
+
yield this.createGoProxyRepositoryRaw(requestParameters, initOverrides);
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Create Helm hosted repository
|
|
437
|
+
*/
|
|
438
|
+
createHelmHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
439
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
440
|
+
const queryParameters = {};
|
|
441
|
+
const headerParameters = {};
|
|
442
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
443
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
444
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
445
|
+
}
|
|
446
|
+
const response = yield this.request({
|
|
447
|
+
path: `/v1/repositories/helm/hosted`,
|
|
448
|
+
method: 'POST',
|
|
449
|
+
headers: headerParameters,
|
|
450
|
+
query: queryParameters,
|
|
451
|
+
body: HelmHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
452
|
+
}, initOverrides);
|
|
453
|
+
return new runtime.VoidApiResponse(response);
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* Create Helm hosted repository
|
|
458
|
+
*/
|
|
459
|
+
createHelmHostedRepository(requestParameters = {}, initOverrides) {
|
|
460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
461
|
+
yield this.createHelmHostedRepositoryRaw(requestParameters, initOverrides);
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* Create Helm proxy repository
|
|
466
|
+
*/
|
|
467
|
+
createHelmProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
468
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
469
|
+
const queryParameters = {};
|
|
470
|
+
const headerParameters = {};
|
|
471
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
472
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
473
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
474
|
+
}
|
|
475
|
+
const response = yield this.request({
|
|
476
|
+
path: `/v1/repositories/helm/proxy`,
|
|
477
|
+
method: 'POST',
|
|
478
|
+
headers: headerParameters,
|
|
479
|
+
query: queryParameters,
|
|
480
|
+
body: HelmProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
481
|
+
}, initOverrides);
|
|
482
|
+
return new runtime.VoidApiResponse(response);
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Create Helm proxy repository
|
|
487
|
+
*/
|
|
488
|
+
createHelmProxyRepository(requestParameters = {}, initOverrides) {
|
|
489
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
490
|
+
yield this.createHelmProxyRepositoryRaw(requestParameters, initOverrides);
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Create Maven group repository
|
|
495
|
+
*/
|
|
496
|
+
createMavenGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
498
|
+
const queryParameters = {};
|
|
499
|
+
const headerParameters = {};
|
|
500
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
501
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
502
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
503
|
+
}
|
|
504
|
+
const response = yield this.request({
|
|
505
|
+
path: `/v1/repositories/maven/group`,
|
|
506
|
+
method: 'POST',
|
|
507
|
+
headers: headerParameters,
|
|
508
|
+
query: queryParameters,
|
|
509
|
+
body: MavenGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
510
|
+
}, initOverrides);
|
|
511
|
+
return new runtime.VoidApiResponse(response);
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* Create Maven group repository
|
|
516
|
+
*/
|
|
517
|
+
createMavenGroupRepository(requestParameters = {}, initOverrides) {
|
|
518
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
519
|
+
yield this.createMavenGroupRepositoryRaw(requestParameters, initOverrides);
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* Create Maven hosted repository
|
|
524
|
+
*/
|
|
525
|
+
createMavenHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
527
|
+
const queryParameters = {};
|
|
528
|
+
const headerParameters = {};
|
|
529
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
530
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
531
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
532
|
+
}
|
|
533
|
+
const response = yield this.request({
|
|
534
|
+
path: `/v1/repositories/maven/hosted`,
|
|
535
|
+
method: 'POST',
|
|
536
|
+
headers: headerParameters,
|
|
537
|
+
query: queryParameters,
|
|
538
|
+
body: MavenHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
539
|
+
}, initOverrides);
|
|
540
|
+
return new runtime.VoidApiResponse(response);
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Create Maven hosted repository
|
|
545
|
+
*/
|
|
546
|
+
createMavenHostedRepository(requestParameters = {}, initOverrides) {
|
|
547
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
548
|
+
yield this.createMavenHostedRepositoryRaw(requestParameters, initOverrides);
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* Create Maven proxy repository
|
|
553
|
+
*/
|
|
554
|
+
createMavenProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
555
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
556
|
+
const queryParameters = {};
|
|
557
|
+
const headerParameters = {};
|
|
558
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
559
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
560
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
561
|
+
}
|
|
562
|
+
const response = yield this.request({
|
|
563
|
+
path: `/v1/repositories/maven/proxy`,
|
|
564
|
+
method: 'POST',
|
|
565
|
+
headers: headerParameters,
|
|
566
|
+
query: queryParameters,
|
|
567
|
+
body: MavenProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
568
|
+
}, initOverrides);
|
|
569
|
+
return new runtime.VoidApiResponse(response);
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Create Maven proxy repository
|
|
574
|
+
*/
|
|
575
|
+
createMavenProxyRepository(requestParameters = {}, initOverrides) {
|
|
576
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
577
|
+
yield this.createMavenProxyRepositoryRaw(requestParameters, initOverrides);
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Create npm group repository
|
|
582
|
+
*/
|
|
583
|
+
createNpmGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
584
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
585
|
+
const queryParameters = {};
|
|
586
|
+
const headerParameters = {};
|
|
587
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
588
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
589
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
590
|
+
}
|
|
591
|
+
const response = yield this.request({
|
|
592
|
+
path: `/v1/repositories/npm/group`,
|
|
593
|
+
method: 'POST',
|
|
594
|
+
headers: headerParameters,
|
|
595
|
+
query: queryParameters,
|
|
596
|
+
body: NpmGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
597
|
+
}, initOverrides);
|
|
598
|
+
return new runtime.VoidApiResponse(response);
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Create npm group repository
|
|
603
|
+
*/
|
|
604
|
+
createNpmGroupRepository(requestParameters = {}, initOverrides) {
|
|
605
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
606
|
+
yield this.createNpmGroupRepositoryRaw(requestParameters, initOverrides);
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Create npm hosted repository
|
|
611
|
+
*/
|
|
612
|
+
createNpmHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
613
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
614
|
+
const queryParameters = {};
|
|
615
|
+
const headerParameters = {};
|
|
616
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
617
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
618
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
619
|
+
}
|
|
620
|
+
const response = yield this.request({
|
|
621
|
+
path: `/v1/repositories/npm/hosted`,
|
|
622
|
+
method: 'POST',
|
|
623
|
+
headers: headerParameters,
|
|
624
|
+
query: queryParameters,
|
|
625
|
+
body: NpmHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
626
|
+
}, initOverrides);
|
|
627
|
+
return new runtime.VoidApiResponse(response);
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* Create npm hosted repository
|
|
632
|
+
*/
|
|
633
|
+
createNpmHostedRepository(requestParameters = {}, initOverrides) {
|
|
634
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
635
|
+
yield this.createNpmHostedRepositoryRaw(requestParameters, initOverrides);
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Create npm proxy repository
|
|
640
|
+
*/
|
|
641
|
+
createNpmProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
642
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
643
|
+
const queryParameters = {};
|
|
644
|
+
const headerParameters = {};
|
|
645
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
646
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
647
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
648
|
+
}
|
|
649
|
+
const response = yield this.request({
|
|
650
|
+
path: `/v1/repositories/npm/proxy`,
|
|
651
|
+
method: 'POST',
|
|
652
|
+
headers: headerParameters,
|
|
653
|
+
query: queryParameters,
|
|
654
|
+
body: NpmProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
655
|
+
}, initOverrides);
|
|
656
|
+
return new runtime.VoidApiResponse(response);
|
|
657
|
+
});
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* Create npm proxy repository
|
|
661
|
+
*/
|
|
662
|
+
createNpmProxyRepository(requestParameters = {}, initOverrides) {
|
|
663
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
664
|
+
yield this.createNpmProxyRepositoryRaw(requestParameters, initOverrides);
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Create NuGet group repository
|
|
669
|
+
*/
|
|
670
|
+
createNugetGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
672
|
+
const queryParameters = {};
|
|
673
|
+
const headerParameters = {};
|
|
674
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
675
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
676
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
677
|
+
}
|
|
678
|
+
const response = yield this.request({
|
|
679
|
+
path: `/v1/repositories/nuget/group`,
|
|
680
|
+
method: 'POST',
|
|
681
|
+
headers: headerParameters,
|
|
682
|
+
query: queryParameters,
|
|
683
|
+
body: NugetGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
684
|
+
}, initOverrides);
|
|
685
|
+
return new runtime.VoidApiResponse(response);
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Create NuGet group repository
|
|
690
|
+
*/
|
|
691
|
+
createNugetGroupRepository(requestParameters = {}, initOverrides) {
|
|
692
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
693
|
+
yield this.createNugetGroupRepositoryRaw(requestParameters, initOverrides);
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* Create NuGet hosted repository
|
|
698
|
+
*/
|
|
699
|
+
createNugetHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
700
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
701
|
+
const queryParameters = {};
|
|
702
|
+
const headerParameters = {};
|
|
703
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
704
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
705
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
706
|
+
}
|
|
707
|
+
const response = yield this.request({
|
|
708
|
+
path: `/v1/repositories/nuget/hosted`,
|
|
709
|
+
method: 'POST',
|
|
710
|
+
headers: headerParameters,
|
|
711
|
+
query: queryParameters,
|
|
712
|
+
body: NugetHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
713
|
+
}, initOverrides);
|
|
714
|
+
return new runtime.VoidApiResponse(response);
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* Create NuGet hosted repository
|
|
719
|
+
*/
|
|
720
|
+
createNugetHostedRepository(requestParameters = {}, initOverrides) {
|
|
721
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
722
|
+
yield this.createNugetHostedRepositoryRaw(requestParameters, initOverrides);
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* Create NuGet proxy repository
|
|
727
|
+
*/
|
|
728
|
+
createNugetProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
729
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
730
|
+
const queryParameters = {};
|
|
731
|
+
const headerParameters = {};
|
|
732
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
733
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
734
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
735
|
+
}
|
|
736
|
+
const response = yield this.request({
|
|
737
|
+
path: `/v1/repositories/nuget/proxy`,
|
|
738
|
+
method: 'POST',
|
|
739
|
+
headers: headerParameters,
|
|
740
|
+
query: queryParameters,
|
|
741
|
+
body: NugetProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
742
|
+
}, initOverrides);
|
|
743
|
+
return new runtime.VoidApiResponse(response);
|
|
744
|
+
});
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* Create NuGet proxy repository
|
|
748
|
+
*/
|
|
749
|
+
createNugetProxyRepository(requestParameters = {}, initOverrides) {
|
|
750
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
751
|
+
yield this.createNugetProxyRepositoryRaw(requestParameters, initOverrides);
|
|
752
|
+
});
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Create p2 proxy repository
|
|
756
|
+
*/
|
|
757
|
+
createP2ProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
758
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
759
|
+
const queryParameters = {};
|
|
760
|
+
const headerParameters = {};
|
|
761
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
762
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
763
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
764
|
+
}
|
|
765
|
+
const response = yield this.request({
|
|
766
|
+
path: `/v1/repositories/p2/proxy`,
|
|
767
|
+
method: 'POST',
|
|
768
|
+
headers: headerParameters,
|
|
769
|
+
query: queryParameters,
|
|
770
|
+
body: P2ProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
771
|
+
}, initOverrides);
|
|
772
|
+
return new runtime.VoidApiResponse(response);
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Create p2 proxy repository
|
|
777
|
+
*/
|
|
778
|
+
createP2ProxyRepository(requestParameters = {}, initOverrides) {
|
|
779
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
780
|
+
yield this.createP2ProxyRepositoryRaw(requestParameters, initOverrides);
|
|
781
|
+
});
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* Create PyPI group repository
|
|
785
|
+
*/
|
|
786
|
+
createPypiGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
787
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
788
|
+
const queryParameters = {};
|
|
789
|
+
const headerParameters = {};
|
|
790
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
791
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
792
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
793
|
+
}
|
|
794
|
+
const response = yield this.request({
|
|
795
|
+
path: `/v1/repositories/pypi/group`,
|
|
796
|
+
method: 'POST',
|
|
797
|
+
headers: headerParameters,
|
|
798
|
+
query: queryParameters,
|
|
799
|
+
body: PypiGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
800
|
+
}, initOverrides);
|
|
801
|
+
return new runtime.VoidApiResponse(response);
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* Create PyPI group repository
|
|
806
|
+
*/
|
|
807
|
+
createPypiGroupRepository(requestParameters = {}, initOverrides) {
|
|
808
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
809
|
+
yield this.createPypiGroupRepositoryRaw(requestParameters, initOverrides);
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* Create PyPI hosted repository
|
|
814
|
+
*/
|
|
815
|
+
createPypiHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
816
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
817
|
+
const queryParameters = {};
|
|
818
|
+
const headerParameters = {};
|
|
819
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
820
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
821
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
822
|
+
}
|
|
823
|
+
const response = yield this.request({
|
|
824
|
+
path: `/v1/repositories/pypi/hosted`,
|
|
825
|
+
method: 'POST',
|
|
826
|
+
headers: headerParameters,
|
|
827
|
+
query: queryParameters,
|
|
828
|
+
body: PypiHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
829
|
+
}, initOverrides);
|
|
830
|
+
return new runtime.VoidApiResponse(response);
|
|
831
|
+
});
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Create PyPI hosted repository
|
|
835
|
+
*/
|
|
836
|
+
createPypiHostedRepository(requestParameters = {}, initOverrides) {
|
|
837
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
838
|
+
yield this.createPypiHostedRepositoryRaw(requestParameters, initOverrides);
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Create PyPI proxy repository
|
|
843
|
+
*/
|
|
844
|
+
createPypiProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
845
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
846
|
+
const queryParameters = {};
|
|
847
|
+
const headerParameters = {};
|
|
848
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
849
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
850
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
851
|
+
}
|
|
852
|
+
const response = yield this.request({
|
|
853
|
+
path: `/v1/repositories/pypi/proxy`,
|
|
854
|
+
method: 'POST',
|
|
855
|
+
headers: headerParameters,
|
|
856
|
+
query: queryParameters,
|
|
857
|
+
body: PypiProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
858
|
+
}, initOverrides);
|
|
859
|
+
return new runtime.VoidApiResponse(response);
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* Create PyPI proxy repository
|
|
864
|
+
*/
|
|
865
|
+
createPypiProxyRepository(requestParameters = {}, initOverrides) {
|
|
866
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
867
|
+
yield this.createPypiProxyRepositoryRaw(requestParameters, initOverrides);
|
|
868
|
+
});
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* Create R group repository
|
|
872
|
+
*/
|
|
873
|
+
createRGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
874
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
875
|
+
const queryParameters = {};
|
|
876
|
+
const headerParameters = {};
|
|
877
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
878
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
879
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
880
|
+
}
|
|
881
|
+
const response = yield this.request({
|
|
882
|
+
path: `/v1/repositories/r/group`,
|
|
883
|
+
method: 'POST',
|
|
884
|
+
headers: headerParameters,
|
|
885
|
+
query: queryParameters,
|
|
886
|
+
body: RGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
887
|
+
}, initOverrides);
|
|
888
|
+
return new runtime.VoidApiResponse(response);
|
|
889
|
+
});
|
|
890
|
+
}
|
|
891
|
+
/**
|
|
892
|
+
* Create R group repository
|
|
893
|
+
*/
|
|
894
|
+
createRGroupRepository(requestParameters = {}, initOverrides) {
|
|
895
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
896
|
+
yield this.createRGroupRepositoryRaw(requestParameters, initOverrides);
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* Create R hosted repository
|
|
901
|
+
*/
|
|
902
|
+
createRHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
903
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
904
|
+
const queryParameters = {};
|
|
905
|
+
const headerParameters = {};
|
|
906
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
907
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
908
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
909
|
+
}
|
|
910
|
+
const response = yield this.request({
|
|
911
|
+
path: `/v1/repositories/r/hosted`,
|
|
912
|
+
method: 'POST',
|
|
913
|
+
headers: headerParameters,
|
|
914
|
+
query: queryParameters,
|
|
915
|
+
body: RHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
916
|
+
}, initOverrides);
|
|
917
|
+
return new runtime.VoidApiResponse(response);
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Create R hosted repository
|
|
922
|
+
*/
|
|
923
|
+
createRHostedRepository(requestParameters = {}, initOverrides) {
|
|
924
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
925
|
+
yield this.createRHostedRepositoryRaw(requestParameters, initOverrides);
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* Create R proxy repository
|
|
930
|
+
*/
|
|
931
|
+
createRProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
932
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
933
|
+
const queryParameters = {};
|
|
934
|
+
const headerParameters = {};
|
|
935
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
936
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
937
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
938
|
+
}
|
|
939
|
+
const response = yield this.request({
|
|
940
|
+
path: `/v1/repositories/r/proxy`,
|
|
941
|
+
method: 'POST',
|
|
942
|
+
headers: headerParameters,
|
|
943
|
+
query: queryParameters,
|
|
944
|
+
body: RProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
945
|
+
}, initOverrides);
|
|
946
|
+
return new runtime.VoidApiResponse(response);
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Create R proxy repository
|
|
951
|
+
*/
|
|
952
|
+
createRProxyRepository(requestParameters = {}, initOverrides) {
|
|
953
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
954
|
+
yield this.createRProxyRepositoryRaw(requestParameters, initOverrides);
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* Create raw group repository
|
|
959
|
+
*/
|
|
960
|
+
createRawGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
961
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
962
|
+
const queryParameters = {};
|
|
963
|
+
const headerParameters = {};
|
|
964
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
965
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
966
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
967
|
+
}
|
|
968
|
+
const response = yield this.request({
|
|
969
|
+
path: `/v1/repositories/raw/group`,
|
|
970
|
+
method: 'POST',
|
|
971
|
+
headers: headerParameters,
|
|
972
|
+
query: queryParameters,
|
|
973
|
+
body: RawGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
974
|
+
}, initOverrides);
|
|
975
|
+
return new runtime.VoidApiResponse(response);
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* Create raw group repository
|
|
980
|
+
*/
|
|
981
|
+
createRawGroupRepository(requestParameters = {}, initOverrides) {
|
|
982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
983
|
+
yield this.createRawGroupRepositoryRaw(requestParameters, initOverrides);
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Create raw hosted repository
|
|
988
|
+
*/
|
|
989
|
+
createRawHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
990
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
991
|
+
const queryParameters = {};
|
|
992
|
+
const headerParameters = {};
|
|
993
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
994
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
995
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
996
|
+
}
|
|
997
|
+
const response = yield this.request({
|
|
998
|
+
path: `/v1/repositories/raw/hosted`,
|
|
999
|
+
method: 'POST',
|
|
1000
|
+
headers: headerParameters,
|
|
1001
|
+
query: queryParameters,
|
|
1002
|
+
body: RawHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1003
|
+
}, initOverrides);
|
|
1004
|
+
return new runtime.VoidApiResponse(response);
|
|
1005
|
+
});
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* Create raw hosted repository
|
|
1009
|
+
*/
|
|
1010
|
+
createRawHostedRepository(requestParameters = {}, initOverrides) {
|
|
1011
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1012
|
+
yield this.createRawHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Create raw proxy repository
|
|
1017
|
+
*/
|
|
1018
|
+
createRawProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1019
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1020
|
+
const queryParameters = {};
|
|
1021
|
+
const headerParameters = {};
|
|
1022
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1023
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1024
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1025
|
+
}
|
|
1026
|
+
const response = yield this.request({
|
|
1027
|
+
path: `/v1/repositories/raw/proxy`,
|
|
1028
|
+
method: 'POST',
|
|
1029
|
+
headers: headerParameters,
|
|
1030
|
+
query: queryParameters,
|
|
1031
|
+
body: RawProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1032
|
+
}, initOverrides);
|
|
1033
|
+
return new runtime.VoidApiResponse(response);
|
|
1034
|
+
});
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* Create raw proxy repository
|
|
1038
|
+
*/
|
|
1039
|
+
createRawProxyRepository(requestParameters = {}, initOverrides) {
|
|
1040
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1041
|
+
yield this.createRawProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* Create RubyGems group repository
|
|
1046
|
+
*/
|
|
1047
|
+
createRubygemsGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
1048
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1049
|
+
const queryParameters = {};
|
|
1050
|
+
const headerParameters = {};
|
|
1051
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1052
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1053
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1054
|
+
}
|
|
1055
|
+
const response = yield this.request({
|
|
1056
|
+
path: `/v1/repositories/rubygems/group`,
|
|
1057
|
+
method: 'POST',
|
|
1058
|
+
headers: headerParameters,
|
|
1059
|
+
query: queryParameters,
|
|
1060
|
+
body: RubyGemsGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1061
|
+
}, initOverrides);
|
|
1062
|
+
return new runtime.VoidApiResponse(response);
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Create RubyGems group repository
|
|
1067
|
+
*/
|
|
1068
|
+
createRubygemsGroupRepository(requestParameters = {}, initOverrides) {
|
|
1069
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1070
|
+
yield this.createRubygemsGroupRepositoryRaw(requestParameters, initOverrides);
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Create RubyGems hosted repository
|
|
1075
|
+
*/
|
|
1076
|
+
createRubygemsHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1077
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1078
|
+
const queryParameters = {};
|
|
1079
|
+
const headerParameters = {};
|
|
1080
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1081
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1082
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1083
|
+
}
|
|
1084
|
+
const response = yield this.request({
|
|
1085
|
+
path: `/v1/repositories/rubygems/hosted`,
|
|
1086
|
+
method: 'POST',
|
|
1087
|
+
headers: headerParameters,
|
|
1088
|
+
query: queryParameters,
|
|
1089
|
+
body: RubyGemsHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1090
|
+
}, initOverrides);
|
|
1091
|
+
return new runtime.VoidApiResponse(response);
|
|
1092
|
+
});
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Create RubyGems hosted repository
|
|
1096
|
+
*/
|
|
1097
|
+
createRubygemsHostedRepository(requestParameters = {}, initOverrides) {
|
|
1098
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1099
|
+
yield this.createRubygemsHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* Create RubyGems proxy repository
|
|
1104
|
+
*/
|
|
1105
|
+
createRubygemsProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1107
|
+
const queryParameters = {};
|
|
1108
|
+
const headerParameters = {};
|
|
1109
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1110
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1111
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1112
|
+
}
|
|
1113
|
+
const response = yield this.request({
|
|
1114
|
+
path: `/v1/repositories/rubygems/proxy`,
|
|
1115
|
+
method: 'POST',
|
|
1116
|
+
headers: headerParameters,
|
|
1117
|
+
query: queryParameters,
|
|
1118
|
+
body: RubyGemsProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1119
|
+
}, initOverrides);
|
|
1120
|
+
return new runtime.VoidApiResponse(response);
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* Create RubyGems proxy repository
|
|
1125
|
+
*/
|
|
1126
|
+
createRubygemsProxyRepository(requestParameters = {}, initOverrides) {
|
|
1127
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1128
|
+
yield this.createRubygemsProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Create Yum group repository
|
|
1133
|
+
*/
|
|
1134
|
+
createYumGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
1135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1136
|
+
const queryParameters = {};
|
|
1137
|
+
const headerParameters = {};
|
|
1138
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1139
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1140
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1141
|
+
}
|
|
1142
|
+
const response = yield this.request({
|
|
1143
|
+
path: `/v1/repositories/yum/group`,
|
|
1144
|
+
method: 'POST',
|
|
1145
|
+
headers: headerParameters,
|
|
1146
|
+
query: queryParameters,
|
|
1147
|
+
body: YumGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1148
|
+
}, initOverrides);
|
|
1149
|
+
return new runtime.VoidApiResponse(response);
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Create Yum group repository
|
|
1154
|
+
*/
|
|
1155
|
+
createYumGroupRepository(requestParameters = {}, initOverrides) {
|
|
1156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1157
|
+
yield this.createYumGroupRepositoryRaw(requestParameters, initOverrides);
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
/**
|
|
1161
|
+
* Create Yum hosted repository
|
|
1162
|
+
*/
|
|
1163
|
+
createYumHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1164
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1165
|
+
const queryParameters = {};
|
|
1166
|
+
const headerParameters = {};
|
|
1167
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1168
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1169
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1170
|
+
}
|
|
1171
|
+
const response = yield this.request({
|
|
1172
|
+
path: `/v1/repositories/yum/hosted`,
|
|
1173
|
+
method: 'POST',
|
|
1174
|
+
headers: headerParameters,
|
|
1175
|
+
query: queryParameters,
|
|
1176
|
+
body: YumHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1177
|
+
}, initOverrides);
|
|
1178
|
+
return new runtime.VoidApiResponse(response);
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
/**
|
|
1182
|
+
* Create Yum hosted repository
|
|
1183
|
+
*/
|
|
1184
|
+
createYumHostedRepository(requestParameters = {}, initOverrides) {
|
|
1185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1186
|
+
yield this.createYumHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1187
|
+
});
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1190
|
+
* Create Yum proxy repository
|
|
1191
|
+
*/
|
|
1192
|
+
createYumProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1194
|
+
const queryParameters = {};
|
|
1195
|
+
const headerParameters = {};
|
|
1196
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1197
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1198
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1199
|
+
}
|
|
1200
|
+
const response = yield this.request({
|
|
1201
|
+
path: `/v1/repositories/yum/proxy`,
|
|
1202
|
+
method: 'POST',
|
|
1203
|
+
headers: headerParameters,
|
|
1204
|
+
query: queryParameters,
|
|
1205
|
+
body: YumProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
1206
|
+
}, initOverrides);
|
|
1207
|
+
return new runtime.VoidApiResponse(response);
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* Create Yum proxy repository
|
|
1212
|
+
*/
|
|
1213
|
+
createYumProxyRepository(requestParameters = {}, initOverrides) {
|
|
1214
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1215
|
+
yield this.createYumProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1216
|
+
});
|
|
1217
|
+
}
|
|
1218
|
+
/**
|
|
1219
|
+
* Enable repository health check. Proxy repositories only.
|
|
1220
|
+
*/
|
|
1221
|
+
createrepositorynameHealthCheckRepositoryRaw(requestParameters, initOverrides) {
|
|
1222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1223
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1224
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling createrepositorynameHealthCheckRepository().');
|
|
1225
|
+
}
|
|
1226
|
+
const queryParameters = {};
|
|
1227
|
+
const headerParameters = {};
|
|
1228
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1229
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1230
|
+
}
|
|
1231
|
+
const response = yield this.request({
|
|
1232
|
+
path: `/v1/repositories/{repositoryName}/health-check`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1233
|
+
method: 'POST',
|
|
1234
|
+
headers: headerParameters,
|
|
1235
|
+
query: queryParameters,
|
|
1236
|
+
}, initOverrides);
|
|
1237
|
+
return new runtime.VoidApiResponse(response);
|
|
1238
|
+
});
|
|
1239
|
+
}
|
|
1240
|
+
/**
|
|
1241
|
+
* Enable repository health check. Proxy repositories only.
|
|
1242
|
+
*/
|
|
1243
|
+
createrepositorynameHealthCheckRepository(requestParameters, initOverrides) {
|
|
1244
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1245
|
+
yield this.createrepositorynameHealthCheckRepositoryRaw(requestParameters, initOverrides);
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* Invalidate repository cache. Proxy or group repositories only.
|
|
1250
|
+
*/
|
|
1251
|
+
createrepositorynameInvalidateCacheRepositoryRaw(requestParameters, initOverrides) {
|
|
1252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1253
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1254
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling createrepositorynameInvalidateCacheRepository().');
|
|
1255
|
+
}
|
|
1256
|
+
const queryParameters = {};
|
|
1257
|
+
const headerParameters = {};
|
|
1258
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1259
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1260
|
+
}
|
|
1261
|
+
const response = yield this.request({
|
|
1262
|
+
path: `/v1/repositories/{repositoryName}/invalidate-cache`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1263
|
+
method: 'POST',
|
|
1264
|
+
headers: headerParameters,
|
|
1265
|
+
query: queryParameters,
|
|
1266
|
+
}, initOverrides);
|
|
1267
|
+
return new runtime.VoidApiResponse(response);
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
/**
|
|
1271
|
+
* Invalidate repository cache. Proxy or group repositories only.
|
|
1272
|
+
*/
|
|
1273
|
+
createrepositorynameInvalidateCacheRepository(requestParameters, initOverrides) {
|
|
1274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1275
|
+
yield this.createrepositorynameInvalidateCacheRepositoryRaw(requestParameters, initOverrides);
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* Schedule a \'Repair - Rebuild repository search\' Task. Hosted or proxy repositories only.
|
|
1280
|
+
*/
|
|
1281
|
+
createrepositorynameRebuildIndexRepositoryRaw(requestParameters, initOverrides) {
|
|
1282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1283
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1284
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling createrepositorynameRebuildIndexRepository().');
|
|
1285
|
+
}
|
|
1286
|
+
const queryParameters = {};
|
|
1287
|
+
const headerParameters = {};
|
|
1288
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1289
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1290
|
+
}
|
|
1291
|
+
const response = yield this.request({
|
|
1292
|
+
path: `/v1/repositories/{repositoryName}/rebuild-index`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1293
|
+
method: 'POST',
|
|
1294
|
+
headers: headerParameters,
|
|
1295
|
+
query: queryParameters,
|
|
1296
|
+
}, initOverrides);
|
|
1297
|
+
return new runtime.VoidApiResponse(response);
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
/**
|
|
1301
|
+
* Schedule a \'Repair - Rebuild repository search\' Task. Hosted or proxy repositories only.
|
|
1302
|
+
*/
|
|
1303
|
+
createrepositorynameRebuildIndexRepository(requestParameters, initOverrides) {
|
|
1304
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1305
|
+
yield this.createrepositorynameRebuildIndexRepositoryRaw(requestParameters, initOverrides);
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Delete repository of any format
|
|
1310
|
+
*/
|
|
1311
|
+
deleteRepositoryRaw(requestParameters, initOverrides) {
|
|
1312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1313
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1314
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling deleteRepository().');
|
|
1315
|
+
}
|
|
1316
|
+
const queryParameters = {};
|
|
1317
|
+
const headerParameters = {};
|
|
1318
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1319
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1320
|
+
}
|
|
1321
|
+
const response = yield this.request({
|
|
1322
|
+
path: `/v1/repositories/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1323
|
+
method: 'DELETE',
|
|
1324
|
+
headers: headerParameters,
|
|
1325
|
+
query: queryParameters,
|
|
1326
|
+
}, initOverrides);
|
|
1327
|
+
return new runtime.VoidApiResponse(response);
|
|
1328
|
+
});
|
|
1329
|
+
}
|
|
1330
|
+
/**
|
|
1331
|
+
* Delete repository of any format
|
|
1332
|
+
*/
|
|
1333
|
+
deleteRepository(requestParameters, initOverrides) {
|
|
1334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1335
|
+
yield this.deleteRepositoryRaw(requestParameters, initOverrides);
|
|
1336
|
+
});
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* Disable repository health check. Proxy repositories only.
|
|
1340
|
+
*/
|
|
1341
|
+
disableRepositoryHealthCheckRaw(requestParameters, initOverrides) {
|
|
1342
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1343
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1344
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling disableRepositoryHealthCheck().');
|
|
1345
|
+
}
|
|
1346
|
+
const queryParameters = {};
|
|
1347
|
+
const headerParameters = {};
|
|
1348
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1349
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1350
|
+
}
|
|
1351
|
+
const response = yield this.request({
|
|
1352
|
+
path: `/v1/repositories/{repositoryName}/health-check`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1353
|
+
method: 'DELETE',
|
|
1354
|
+
headers: headerParameters,
|
|
1355
|
+
query: queryParameters,
|
|
1356
|
+
}, initOverrides);
|
|
1357
|
+
return new runtime.VoidApiResponse(response);
|
|
1358
|
+
});
|
|
1359
|
+
}
|
|
1360
|
+
/**
|
|
1361
|
+
* Disable repository health check. Proxy repositories only.
|
|
1362
|
+
*/
|
|
1363
|
+
disableRepositoryHealthCheck(requestParameters, initOverrides) {
|
|
1364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1365
|
+
yield this.disableRepositoryHealthCheckRaw(requestParameters, initOverrides);
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* List repositories
|
|
1370
|
+
*/
|
|
1371
|
+
getAllRepositoriesRaw(initOverrides) {
|
|
1372
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1373
|
+
const queryParameters = {};
|
|
1374
|
+
const headerParameters = {};
|
|
1375
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1376
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1377
|
+
}
|
|
1378
|
+
const response = yield this.request({
|
|
1379
|
+
path: `/v1/repositories`,
|
|
1380
|
+
method: 'GET',
|
|
1381
|
+
headers: headerParameters,
|
|
1382
|
+
query: queryParameters,
|
|
1383
|
+
}, initOverrides);
|
|
1384
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(RepositoryXOFromJSON));
|
|
1385
|
+
});
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* List repositories
|
|
1389
|
+
*/
|
|
1390
|
+
getAllRepositories(initOverrides) {
|
|
1391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1392
|
+
const response = yield this.getAllRepositoriesRaw(initOverrides);
|
|
1393
|
+
return yield response.value();
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
/**
|
|
1397
|
+
* Get repository
|
|
1398
|
+
*/
|
|
1399
|
+
getAptHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1400
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1401
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1402
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getAptHostedRepository().');
|
|
1403
|
+
}
|
|
1404
|
+
const queryParameters = {};
|
|
1405
|
+
const headerParameters = {};
|
|
1406
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1407
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1408
|
+
}
|
|
1409
|
+
const response = yield this.request({
|
|
1410
|
+
path: `/v1/repositories/apt/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1411
|
+
method: 'GET',
|
|
1412
|
+
headers: headerParameters,
|
|
1413
|
+
query: queryParameters,
|
|
1414
|
+
}, initOverrides);
|
|
1415
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AptHostedApiRepositoryFromJSON(jsonValue));
|
|
1416
|
+
});
|
|
1417
|
+
}
|
|
1418
|
+
/**
|
|
1419
|
+
* Get repository
|
|
1420
|
+
*/
|
|
1421
|
+
getAptHostedRepository(requestParameters, initOverrides) {
|
|
1422
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1423
|
+
const response = yield this.getAptHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1424
|
+
return yield response.value();
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
/**
|
|
1428
|
+
* Get repository
|
|
1429
|
+
*/
|
|
1430
|
+
getAptProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1431
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1432
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1433
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getAptProxyRepository().');
|
|
1434
|
+
}
|
|
1435
|
+
const queryParameters = {};
|
|
1436
|
+
const headerParameters = {};
|
|
1437
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1438
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1439
|
+
}
|
|
1440
|
+
const response = yield this.request({
|
|
1441
|
+
path: `/v1/repositories/apt/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1442
|
+
method: 'GET',
|
|
1443
|
+
headers: headerParameters,
|
|
1444
|
+
query: queryParameters,
|
|
1445
|
+
}, initOverrides);
|
|
1446
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AptProxyApiRepositoryFromJSON(jsonValue));
|
|
1447
|
+
});
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* Get repository
|
|
1451
|
+
*/
|
|
1452
|
+
getAptProxyRepository(requestParameters, initOverrides) {
|
|
1453
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1454
|
+
const response = yield this.getAptProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1455
|
+
return yield response.value();
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Get repository
|
|
1460
|
+
*/
|
|
1461
|
+
getBowerGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
1462
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1463
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1464
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getBowerGroupRepository().');
|
|
1465
|
+
}
|
|
1466
|
+
const queryParameters = {};
|
|
1467
|
+
const headerParameters = {};
|
|
1468
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1469
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1470
|
+
}
|
|
1471
|
+
const response = yield this.request({
|
|
1472
|
+
path: `/v1/repositories/bower/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1473
|
+
method: 'GET',
|
|
1474
|
+
headers: headerParameters,
|
|
1475
|
+
query: queryParameters,
|
|
1476
|
+
}, initOverrides);
|
|
1477
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* Get repository
|
|
1482
|
+
*/
|
|
1483
|
+
getBowerGroupRepository(requestParameters, initOverrides) {
|
|
1484
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1485
|
+
const response = yield this.getBowerGroupRepositoryRaw(requestParameters, initOverrides);
|
|
1486
|
+
return yield response.value();
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
/**
|
|
1490
|
+
* Get repository
|
|
1491
|
+
*/
|
|
1492
|
+
getBowerHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1493
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1494
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1495
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getBowerHostedRepository().');
|
|
1496
|
+
}
|
|
1497
|
+
const queryParameters = {};
|
|
1498
|
+
const headerParameters = {};
|
|
1499
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1500
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1501
|
+
}
|
|
1502
|
+
const response = yield this.request({
|
|
1503
|
+
path: `/v1/repositories/bower/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1504
|
+
method: 'GET',
|
|
1505
|
+
headers: headerParameters,
|
|
1506
|
+
query: queryParameters,
|
|
1507
|
+
}, initOverrides);
|
|
1508
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
1509
|
+
});
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
* Get repository
|
|
1513
|
+
*/
|
|
1514
|
+
getBowerHostedRepository(requestParameters, initOverrides) {
|
|
1515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1516
|
+
const response = yield this.getBowerHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1517
|
+
return yield response.value();
|
|
1518
|
+
});
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* Get repository
|
|
1522
|
+
*/
|
|
1523
|
+
getBowerProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1524
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1525
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1526
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getBowerProxyRepository().');
|
|
1527
|
+
}
|
|
1528
|
+
const queryParameters = {};
|
|
1529
|
+
const headerParameters = {};
|
|
1530
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1531
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1532
|
+
}
|
|
1533
|
+
const response = yield this.request({
|
|
1534
|
+
path: `/v1/repositories/bower/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1535
|
+
method: 'GET',
|
|
1536
|
+
headers: headerParameters,
|
|
1537
|
+
query: queryParameters,
|
|
1538
|
+
}, initOverrides);
|
|
1539
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BowerProxyApiRepositoryFromJSON(jsonValue));
|
|
1540
|
+
});
|
|
1541
|
+
}
|
|
1542
|
+
/**
|
|
1543
|
+
* Get repository
|
|
1544
|
+
*/
|
|
1545
|
+
getBowerProxyRepository(requestParameters, initOverrides) {
|
|
1546
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1547
|
+
const response = yield this.getBowerProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1548
|
+
return yield response.value();
|
|
1549
|
+
});
|
|
1550
|
+
}
|
|
1551
|
+
/**
|
|
1552
|
+
* Get repository
|
|
1553
|
+
*/
|
|
1554
|
+
getCocoapodsProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1555
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1556
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1557
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getCocoapodsProxyRepository().');
|
|
1558
|
+
}
|
|
1559
|
+
const queryParameters = {};
|
|
1560
|
+
const headerParameters = {};
|
|
1561
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1562
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1563
|
+
}
|
|
1564
|
+
const response = yield this.request({
|
|
1565
|
+
path: `/v1/repositories/cocoapods/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1566
|
+
method: 'GET',
|
|
1567
|
+
headers: headerParameters,
|
|
1568
|
+
query: queryParameters,
|
|
1569
|
+
}, initOverrides);
|
|
1570
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
1571
|
+
});
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* Get repository
|
|
1575
|
+
*/
|
|
1576
|
+
getCocoapodsProxyRepository(requestParameters, initOverrides) {
|
|
1577
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1578
|
+
const response = yield this.getCocoapodsProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1579
|
+
return yield response.value();
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Get repository
|
|
1584
|
+
*/
|
|
1585
|
+
getConanProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1587
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1588
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getConanProxyRepository().');
|
|
1589
|
+
}
|
|
1590
|
+
const queryParameters = {};
|
|
1591
|
+
const headerParameters = {};
|
|
1592
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1593
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1594
|
+
}
|
|
1595
|
+
const response = yield this.request({
|
|
1596
|
+
path: `/v1/repositories/conan/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1597
|
+
method: 'GET',
|
|
1598
|
+
headers: headerParameters,
|
|
1599
|
+
query: queryParameters,
|
|
1600
|
+
}, initOverrides);
|
|
1601
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
1602
|
+
});
|
|
1603
|
+
}
|
|
1604
|
+
/**
|
|
1605
|
+
* Get repository
|
|
1606
|
+
*/
|
|
1607
|
+
getConanProxyRepository(requestParameters, initOverrides) {
|
|
1608
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1609
|
+
const response = yield this.getConanProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1610
|
+
return yield response.value();
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* Get repository
|
|
1615
|
+
*/
|
|
1616
|
+
getCondaProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1617
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1618
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1619
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getCondaProxyRepository().');
|
|
1620
|
+
}
|
|
1621
|
+
const queryParameters = {};
|
|
1622
|
+
const headerParameters = {};
|
|
1623
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1624
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1625
|
+
}
|
|
1626
|
+
const response = yield this.request({
|
|
1627
|
+
path: `/v1/repositories/conda/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1628
|
+
method: 'GET',
|
|
1629
|
+
headers: headerParameters,
|
|
1630
|
+
query: queryParameters,
|
|
1631
|
+
}, initOverrides);
|
|
1632
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Get repository
|
|
1637
|
+
*/
|
|
1638
|
+
getCondaProxyRepository(requestParameters, initOverrides) {
|
|
1639
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1640
|
+
const response = yield this.getCondaProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1641
|
+
return yield response.value();
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* Get repository
|
|
1646
|
+
*/
|
|
1647
|
+
getDockerGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
1648
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1649
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1650
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getDockerGroupRepository().');
|
|
1651
|
+
}
|
|
1652
|
+
const queryParameters = {};
|
|
1653
|
+
const headerParameters = {};
|
|
1654
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1655
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1656
|
+
}
|
|
1657
|
+
const response = yield this.request({
|
|
1658
|
+
path: `/v1/repositories/docker/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1659
|
+
method: 'GET',
|
|
1660
|
+
headers: headerParameters,
|
|
1661
|
+
query: queryParameters,
|
|
1662
|
+
}, initOverrides);
|
|
1663
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DockerGroupApiRepositoryFromJSON(jsonValue));
|
|
1664
|
+
});
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
* Get repository
|
|
1668
|
+
*/
|
|
1669
|
+
getDockerGroupRepository(requestParameters, initOverrides) {
|
|
1670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1671
|
+
const response = yield this.getDockerGroupRepositoryRaw(requestParameters, initOverrides);
|
|
1672
|
+
return yield response.value();
|
|
1673
|
+
});
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* Get repository
|
|
1677
|
+
*/
|
|
1678
|
+
getDockerHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1679
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1680
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1681
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getDockerHostedRepository().');
|
|
1682
|
+
}
|
|
1683
|
+
const queryParameters = {};
|
|
1684
|
+
const headerParameters = {};
|
|
1685
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1686
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1687
|
+
}
|
|
1688
|
+
const response = yield this.request({
|
|
1689
|
+
path: `/v1/repositories/docker/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1690
|
+
method: 'GET',
|
|
1691
|
+
headers: headerParameters,
|
|
1692
|
+
query: queryParameters,
|
|
1693
|
+
}, initOverrides);
|
|
1694
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DockerHostedApiRepositoryFromJSON(jsonValue));
|
|
1695
|
+
});
|
|
1696
|
+
}
|
|
1697
|
+
/**
|
|
1698
|
+
* Get repository
|
|
1699
|
+
*/
|
|
1700
|
+
getDockerHostedRepository(requestParameters, initOverrides) {
|
|
1701
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1702
|
+
const response = yield this.getDockerHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1703
|
+
return yield response.value();
|
|
1704
|
+
});
|
|
1705
|
+
}
|
|
1706
|
+
/**
|
|
1707
|
+
* Get repository
|
|
1708
|
+
*/
|
|
1709
|
+
getDockerProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1710
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1711
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1712
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getDockerProxyRepository().');
|
|
1713
|
+
}
|
|
1714
|
+
const queryParameters = {};
|
|
1715
|
+
const headerParameters = {};
|
|
1716
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1717
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1718
|
+
}
|
|
1719
|
+
const response = yield this.request({
|
|
1720
|
+
path: `/v1/repositories/docker/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1721
|
+
method: 'GET',
|
|
1722
|
+
headers: headerParameters,
|
|
1723
|
+
query: queryParameters,
|
|
1724
|
+
}, initOverrides);
|
|
1725
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DockerProxyApiRepositoryFromJSON(jsonValue));
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
/**
|
|
1729
|
+
* Get repository
|
|
1730
|
+
*/
|
|
1731
|
+
getDockerProxyRepository(requestParameters, initOverrides) {
|
|
1732
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1733
|
+
const response = yield this.getDockerProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1734
|
+
return yield response.value();
|
|
1735
|
+
});
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* Get repository
|
|
1739
|
+
*/
|
|
1740
|
+
getGitlfsHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1741
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1742
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1743
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getGitlfsHostedRepository().');
|
|
1744
|
+
}
|
|
1745
|
+
const queryParameters = {};
|
|
1746
|
+
const headerParameters = {};
|
|
1747
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1748
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1749
|
+
}
|
|
1750
|
+
const response = yield this.request({
|
|
1751
|
+
path: `/v1/repositories/gitlfs/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1752
|
+
method: 'GET',
|
|
1753
|
+
headers: headerParameters,
|
|
1754
|
+
query: queryParameters,
|
|
1755
|
+
}, initOverrides);
|
|
1756
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
1757
|
+
});
|
|
1758
|
+
}
|
|
1759
|
+
/**
|
|
1760
|
+
* Get repository
|
|
1761
|
+
*/
|
|
1762
|
+
getGitlfsHostedRepository(requestParameters, initOverrides) {
|
|
1763
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1764
|
+
const response = yield this.getGitlfsHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1765
|
+
return yield response.value();
|
|
1766
|
+
});
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* Get repository
|
|
1770
|
+
*/
|
|
1771
|
+
getGoGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
1772
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1773
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1774
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getGoGroupRepository().');
|
|
1775
|
+
}
|
|
1776
|
+
const queryParameters = {};
|
|
1777
|
+
const headerParameters = {};
|
|
1778
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1779
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1780
|
+
}
|
|
1781
|
+
const response = yield this.request({
|
|
1782
|
+
path: `/v1/repositories/go/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1783
|
+
method: 'GET',
|
|
1784
|
+
headers: headerParameters,
|
|
1785
|
+
query: queryParameters,
|
|
1786
|
+
}, initOverrides);
|
|
1787
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
1788
|
+
});
|
|
1789
|
+
}
|
|
1790
|
+
/**
|
|
1791
|
+
* Get repository
|
|
1792
|
+
*/
|
|
1793
|
+
getGoGroupRepository(requestParameters, initOverrides) {
|
|
1794
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1795
|
+
const response = yield this.getGoGroupRepositoryRaw(requestParameters, initOverrides);
|
|
1796
|
+
return yield response.value();
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Get repository
|
|
1801
|
+
*/
|
|
1802
|
+
getGoProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1803
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1804
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1805
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getGoProxyRepository().');
|
|
1806
|
+
}
|
|
1807
|
+
const queryParameters = {};
|
|
1808
|
+
const headerParameters = {};
|
|
1809
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1810
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1811
|
+
}
|
|
1812
|
+
const response = yield this.request({
|
|
1813
|
+
path: `/v1/repositories/go/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1814
|
+
method: 'GET',
|
|
1815
|
+
headers: headerParameters,
|
|
1816
|
+
query: queryParameters,
|
|
1817
|
+
}, initOverrides);
|
|
1818
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
1819
|
+
});
|
|
1820
|
+
}
|
|
1821
|
+
/**
|
|
1822
|
+
* Get repository
|
|
1823
|
+
*/
|
|
1824
|
+
getGoProxyRepository(requestParameters, initOverrides) {
|
|
1825
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1826
|
+
const response = yield this.getGoProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1827
|
+
return yield response.value();
|
|
1828
|
+
});
|
|
1829
|
+
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Get repository
|
|
1832
|
+
*/
|
|
1833
|
+
getHelmHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1834
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1835
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1836
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getHelmHostedRepository().');
|
|
1837
|
+
}
|
|
1838
|
+
const queryParameters = {};
|
|
1839
|
+
const headerParameters = {};
|
|
1840
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1841
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1842
|
+
}
|
|
1843
|
+
const response = yield this.request({
|
|
1844
|
+
path: `/v1/repositories/helm/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1845
|
+
method: 'GET',
|
|
1846
|
+
headers: headerParameters,
|
|
1847
|
+
query: queryParameters,
|
|
1848
|
+
}, initOverrides);
|
|
1849
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
1850
|
+
});
|
|
1851
|
+
}
|
|
1852
|
+
/**
|
|
1853
|
+
* Get repository
|
|
1854
|
+
*/
|
|
1855
|
+
getHelmHostedRepository(requestParameters, initOverrides) {
|
|
1856
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1857
|
+
const response = yield this.getHelmHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1858
|
+
return yield response.value();
|
|
1859
|
+
});
|
|
1860
|
+
}
|
|
1861
|
+
/**
|
|
1862
|
+
* Get repository
|
|
1863
|
+
*/
|
|
1864
|
+
getHelmProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1865
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1866
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1867
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getHelmProxyRepository().');
|
|
1868
|
+
}
|
|
1869
|
+
const queryParameters = {};
|
|
1870
|
+
const headerParameters = {};
|
|
1871
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1872
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1873
|
+
}
|
|
1874
|
+
const response = yield this.request({
|
|
1875
|
+
path: `/v1/repositories/helm/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1876
|
+
method: 'GET',
|
|
1877
|
+
headers: headerParameters,
|
|
1878
|
+
query: queryParameters,
|
|
1879
|
+
}, initOverrides);
|
|
1880
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* Get repository
|
|
1885
|
+
*/
|
|
1886
|
+
getHelmProxyRepository(requestParameters, initOverrides) {
|
|
1887
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1888
|
+
const response = yield this.getHelmProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1889
|
+
return yield response.value();
|
|
1890
|
+
});
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* Get repository
|
|
1894
|
+
*/
|
|
1895
|
+
getMavenGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
1896
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1897
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1898
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getMavenGroupRepository().');
|
|
1899
|
+
}
|
|
1900
|
+
const queryParameters = {};
|
|
1901
|
+
const headerParameters = {};
|
|
1902
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1903
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1904
|
+
}
|
|
1905
|
+
const response = yield this.request({
|
|
1906
|
+
path: `/v1/repositories/maven/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1907
|
+
method: 'GET',
|
|
1908
|
+
headers: headerParameters,
|
|
1909
|
+
query: queryParameters,
|
|
1910
|
+
}, initOverrides);
|
|
1911
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
1912
|
+
});
|
|
1913
|
+
}
|
|
1914
|
+
/**
|
|
1915
|
+
* Get repository
|
|
1916
|
+
*/
|
|
1917
|
+
getMavenGroupRepository(requestParameters, initOverrides) {
|
|
1918
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1919
|
+
const response = yield this.getMavenGroupRepositoryRaw(requestParameters, initOverrides);
|
|
1920
|
+
return yield response.value();
|
|
1921
|
+
});
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* Get repository
|
|
1925
|
+
*/
|
|
1926
|
+
getMavenHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
1927
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1928
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1929
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getMavenHostedRepository().');
|
|
1930
|
+
}
|
|
1931
|
+
const queryParameters = {};
|
|
1932
|
+
const headerParameters = {};
|
|
1933
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1934
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1935
|
+
}
|
|
1936
|
+
const response = yield this.request({
|
|
1937
|
+
path: `/v1/repositories/maven/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1938
|
+
method: 'GET',
|
|
1939
|
+
headers: headerParameters,
|
|
1940
|
+
query: queryParameters,
|
|
1941
|
+
}, initOverrides);
|
|
1942
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MavenHostedApiRepositoryFromJSON(jsonValue));
|
|
1943
|
+
});
|
|
1944
|
+
}
|
|
1945
|
+
/**
|
|
1946
|
+
* Get repository
|
|
1947
|
+
*/
|
|
1948
|
+
getMavenHostedRepository(requestParameters, initOverrides) {
|
|
1949
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1950
|
+
const response = yield this.getMavenHostedRepositoryRaw(requestParameters, initOverrides);
|
|
1951
|
+
return yield response.value();
|
|
1952
|
+
});
|
|
1953
|
+
}
|
|
1954
|
+
/**
|
|
1955
|
+
* Get repository
|
|
1956
|
+
*/
|
|
1957
|
+
getMavenProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
1958
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1959
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1960
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getMavenProxyRepository().');
|
|
1961
|
+
}
|
|
1962
|
+
const queryParameters = {};
|
|
1963
|
+
const headerParameters = {};
|
|
1964
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1965
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1966
|
+
}
|
|
1967
|
+
const response = yield this.request({
|
|
1968
|
+
path: `/v1/repositories/maven/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
1969
|
+
method: 'GET',
|
|
1970
|
+
headers: headerParameters,
|
|
1971
|
+
query: queryParameters,
|
|
1972
|
+
}, initOverrides);
|
|
1973
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MavenProxyApiRepositoryFromJSON(jsonValue));
|
|
1974
|
+
});
|
|
1975
|
+
}
|
|
1976
|
+
/**
|
|
1977
|
+
* Get repository
|
|
1978
|
+
*/
|
|
1979
|
+
getMavenProxyRepository(requestParameters, initOverrides) {
|
|
1980
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1981
|
+
const response = yield this.getMavenProxyRepositoryRaw(requestParameters, initOverrides);
|
|
1982
|
+
return yield response.value();
|
|
1983
|
+
});
|
|
1984
|
+
}
|
|
1985
|
+
/**
|
|
1986
|
+
* Get repository
|
|
1987
|
+
*/
|
|
1988
|
+
getNpmGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
1989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1990
|
+
if (requestParameters['repositoryName'] == null) {
|
|
1991
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getNpmGroupRepository().');
|
|
1992
|
+
}
|
|
1993
|
+
const queryParameters = {};
|
|
1994
|
+
const headerParameters = {};
|
|
1995
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
1996
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
1997
|
+
}
|
|
1998
|
+
const response = yield this.request({
|
|
1999
|
+
path: `/v1/repositories/npm/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2000
|
+
method: 'GET',
|
|
2001
|
+
headers: headerParameters,
|
|
2002
|
+
query: queryParameters,
|
|
2003
|
+
}, initOverrides);
|
|
2004
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupDeployRepositoryFromJSON(jsonValue));
|
|
2005
|
+
});
|
|
2006
|
+
}
|
|
2007
|
+
/**
|
|
2008
|
+
* Get repository
|
|
2009
|
+
*/
|
|
2010
|
+
getNpmGroupRepository(requestParameters, initOverrides) {
|
|
2011
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2012
|
+
const response = yield this.getNpmGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2013
|
+
return yield response.value();
|
|
2014
|
+
});
|
|
2015
|
+
}
|
|
2016
|
+
/**
|
|
2017
|
+
* Get repository
|
|
2018
|
+
*/
|
|
2019
|
+
getNpmHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2020
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2021
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2022
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getNpmHostedRepository().');
|
|
2023
|
+
}
|
|
2024
|
+
const queryParameters = {};
|
|
2025
|
+
const headerParameters = {};
|
|
2026
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2027
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2028
|
+
}
|
|
2029
|
+
const response = yield this.request({
|
|
2030
|
+
path: `/v1/repositories/npm/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2031
|
+
method: 'GET',
|
|
2032
|
+
headers: headerParameters,
|
|
2033
|
+
query: queryParameters,
|
|
2034
|
+
}, initOverrides);
|
|
2035
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
2036
|
+
});
|
|
2037
|
+
}
|
|
2038
|
+
/**
|
|
2039
|
+
* Get repository
|
|
2040
|
+
*/
|
|
2041
|
+
getNpmHostedRepository(requestParameters, initOverrides) {
|
|
2042
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2043
|
+
const response = yield this.getNpmHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2044
|
+
return yield response.value();
|
|
2045
|
+
});
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* Get repository
|
|
2049
|
+
*/
|
|
2050
|
+
getNpmProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2051
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2052
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2053
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getNpmProxyRepository().');
|
|
2054
|
+
}
|
|
2055
|
+
const queryParameters = {};
|
|
2056
|
+
const headerParameters = {};
|
|
2057
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2058
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2059
|
+
}
|
|
2060
|
+
const response = yield this.request({
|
|
2061
|
+
path: `/v1/repositories/npm/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2062
|
+
method: 'GET',
|
|
2063
|
+
headers: headerParameters,
|
|
2064
|
+
query: queryParameters,
|
|
2065
|
+
}, initOverrides);
|
|
2066
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NpmProxyApiRepositoryFromJSON(jsonValue));
|
|
2067
|
+
});
|
|
2068
|
+
}
|
|
2069
|
+
/**
|
|
2070
|
+
* Get repository
|
|
2071
|
+
*/
|
|
2072
|
+
getNpmProxyRepository(requestParameters, initOverrides) {
|
|
2073
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2074
|
+
const response = yield this.getNpmProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2075
|
+
return yield response.value();
|
|
2076
|
+
});
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* Get repository
|
|
2080
|
+
*/
|
|
2081
|
+
getNugetGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2083
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2084
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getNugetGroupRepository().');
|
|
2085
|
+
}
|
|
2086
|
+
const queryParameters = {};
|
|
2087
|
+
const headerParameters = {};
|
|
2088
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2089
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2090
|
+
}
|
|
2091
|
+
const response = yield this.request({
|
|
2092
|
+
path: `/v1/repositories/nuget/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2093
|
+
method: 'GET',
|
|
2094
|
+
headers: headerParameters,
|
|
2095
|
+
query: queryParameters,
|
|
2096
|
+
}, initOverrides);
|
|
2097
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
2098
|
+
});
|
|
2099
|
+
}
|
|
2100
|
+
/**
|
|
2101
|
+
* Get repository
|
|
2102
|
+
*/
|
|
2103
|
+
getNugetGroupRepository(requestParameters, initOverrides) {
|
|
2104
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2105
|
+
const response = yield this.getNugetGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2106
|
+
return yield response.value();
|
|
2107
|
+
});
|
|
2108
|
+
}
|
|
2109
|
+
/**
|
|
2110
|
+
* Get repository
|
|
2111
|
+
*/
|
|
2112
|
+
getNugetHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2114
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2115
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getNugetHostedRepository().');
|
|
2116
|
+
}
|
|
2117
|
+
const queryParameters = {};
|
|
2118
|
+
const headerParameters = {};
|
|
2119
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2120
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2121
|
+
}
|
|
2122
|
+
const response = yield this.request({
|
|
2123
|
+
path: `/v1/repositories/nuget/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2124
|
+
method: 'GET',
|
|
2125
|
+
headers: headerParameters,
|
|
2126
|
+
query: queryParameters,
|
|
2127
|
+
}, initOverrides);
|
|
2128
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
2129
|
+
});
|
|
2130
|
+
}
|
|
2131
|
+
/**
|
|
2132
|
+
* Get repository
|
|
2133
|
+
*/
|
|
2134
|
+
getNugetHostedRepository(requestParameters, initOverrides) {
|
|
2135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2136
|
+
const response = yield this.getNugetHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2137
|
+
return yield response.value();
|
|
2138
|
+
});
|
|
2139
|
+
}
|
|
2140
|
+
/**
|
|
2141
|
+
* Get repository
|
|
2142
|
+
*/
|
|
2143
|
+
getNugetProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2145
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2146
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getNugetProxyRepository().');
|
|
2147
|
+
}
|
|
2148
|
+
const queryParameters = {};
|
|
2149
|
+
const headerParameters = {};
|
|
2150
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2151
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2152
|
+
}
|
|
2153
|
+
const response = yield this.request({
|
|
2154
|
+
path: `/v1/repositories/nuget/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2155
|
+
method: 'GET',
|
|
2156
|
+
headers: headerParameters,
|
|
2157
|
+
query: queryParameters,
|
|
2158
|
+
}, initOverrides);
|
|
2159
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NugetProxyApiRepositoryFromJSON(jsonValue));
|
|
2160
|
+
});
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* Get repository
|
|
2164
|
+
*/
|
|
2165
|
+
getNugetProxyRepository(requestParameters, initOverrides) {
|
|
2166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2167
|
+
const response = yield this.getNugetProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2168
|
+
return yield response.value();
|
|
2169
|
+
});
|
|
2170
|
+
}
|
|
2171
|
+
/**
|
|
2172
|
+
* Get repository
|
|
2173
|
+
*/
|
|
2174
|
+
getP2ProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2176
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2177
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getP2ProxyRepository().');
|
|
2178
|
+
}
|
|
2179
|
+
const queryParameters = {};
|
|
2180
|
+
const headerParameters = {};
|
|
2181
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2182
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2183
|
+
}
|
|
2184
|
+
const response = yield this.request({
|
|
2185
|
+
path: `/v1/repositories/p2/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2186
|
+
method: 'GET',
|
|
2187
|
+
headers: headerParameters,
|
|
2188
|
+
query: queryParameters,
|
|
2189
|
+
}, initOverrides);
|
|
2190
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
2191
|
+
});
|
|
2192
|
+
}
|
|
2193
|
+
/**
|
|
2194
|
+
* Get repository
|
|
2195
|
+
*/
|
|
2196
|
+
getP2ProxyRepository(requestParameters, initOverrides) {
|
|
2197
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2198
|
+
const response = yield this.getP2ProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2199
|
+
return yield response.value();
|
|
2200
|
+
});
|
|
2201
|
+
}
|
|
2202
|
+
/**
|
|
2203
|
+
* Get repository
|
|
2204
|
+
*/
|
|
2205
|
+
getPypiGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2207
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2208
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getPypiGroupRepository().');
|
|
2209
|
+
}
|
|
2210
|
+
const queryParameters = {};
|
|
2211
|
+
const headerParameters = {};
|
|
2212
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2213
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2214
|
+
}
|
|
2215
|
+
const response = yield this.request({
|
|
2216
|
+
path: `/v1/repositories/pypi/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2217
|
+
method: 'GET',
|
|
2218
|
+
headers: headerParameters,
|
|
2219
|
+
query: queryParameters,
|
|
2220
|
+
}, initOverrides);
|
|
2221
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
2222
|
+
});
|
|
2223
|
+
}
|
|
2224
|
+
/**
|
|
2225
|
+
* Get repository
|
|
2226
|
+
*/
|
|
2227
|
+
getPypiGroupRepository(requestParameters, initOverrides) {
|
|
2228
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2229
|
+
const response = yield this.getPypiGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2230
|
+
return yield response.value();
|
|
2231
|
+
});
|
|
2232
|
+
}
|
|
2233
|
+
/**
|
|
2234
|
+
* Get repository
|
|
2235
|
+
*/
|
|
2236
|
+
getPypiHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2237
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2238
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2239
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getPypiHostedRepository().');
|
|
2240
|
+
}
|
|
2241
|
+
const queryParameters = {};
|
|
2242
|
+
const headerParameters = {};
|
|
2243
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2244
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2245
|
+
}
|
|
2246
|
+
const response = yield this.request({
|
|
2247
|
+
path: `/v1/repositories/pypi/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2248
|
+
method: 'GET',
|
|
2249
|
+
headers: headerParameters,
|
|
2250
|
+
query: queryParameters,
|
|
2251
|
+
}, initOverrides);
|
|
2252
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
2253
|
+
});
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* Get repository
|
|
2257
|
+
*/
|
|
2258
|
+
getPypiHostedRepository(requestParameters, initOverrides) {
|
|
2259
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2260
|
+
const response = yield this.getPypiHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2261
|
+
return yield response.value();
|
|
2262
|
+
});
|
|
2263
|
+
}
|
|
2264
|
+
/**
|
|
2265
|
+
* Get repository
|
|
2266
|
+
*/
|
|
2267
|
+
getPypiProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2268
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2269
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2270
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getPypiProxyRepository().');
|
|
2271
|
+
}
|
|
2272
|
+
const queryParameters = {};
|
|
2273
|
+
const headerParameters = {};
|
|
2274
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2275
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2276
|
+
}
|
|
2277
|
+
const response = yield this.request({
|
|
2278
|
+
path: `/v1/repositories/pypi/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2279
|
+
method: 'GET',
|
|
2280
|
+
headers: headerParameters,
|
|
2281
|
+
query: queryParameters,
|
|
2282
|
+
}, initOverrides);
|
|
2283
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
2284
|
+
});
|
|
2285
|
+
}
|
|
2286
|
+
/**
|
|
2287
|
+
* Get repository
|
|
2288
|
+
*/
|
|
2289
|
+
getPypiProxyRepository(requestParameters, initOverrides) {
|
|
2290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2291
|
+
const response = yield this.getPypiProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2292
|
+
return yield response.value();
|
|
2293
|
+
});
|
|
2294
|
+
}
|
|
2295
|
+
/**
|
|
2296
|
+
* Get repository
|
|
2297
|
+
*/
|
|
2298
|
+
getRGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2299
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2300
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2301
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRGroupRepository().');
|
|
2302
|
+
}
|
|
2303
|
+
const queryParameters = {};
|
|
2304
|
+
const headerParameters = {};
|
|
2305
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2306
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2307
|
+
}
|
|
2308
|
+
const response = yield this.request({
|
|
2309
|
+
path: `/v1/repositories/r/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2310
|
+
method: 'GET',
|
|
2311
|
+
headers: headerParameters,
|
|
2312
|
+
query: queryParameters,
|
|
2313
|
+
}, initOverrides);
|
|
2314
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
2315
|
+
});
|
|
2316
|
+
}
|
|
2317
|
+
/**
|
|
2318
|
+
* Get repository
|
|
2319
|
+
*/
|
|
2320
|
+
getRGroupRepository(requestParameters, initOverrides) {
|
|
2321
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2322
|
+
const response = yield this.getRGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2323
|
+
return yield response.value();
|
|
2324
|
+
});
|
|
2325
|
+
}
|
|
2326
|
+
/**
|
|
2327
|
+
* Get repository
|
|
2328
|
+
*/
|
|
2329
|
+
getRHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2330
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2331
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2332
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRHostedRepository().');
|
|
2333
|
+
}
|
|
2334
|
+
const queryParameters = {};
|
|
2335
|
+
const headerParameters = {};
|
|
2336
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2337
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2338
|
+
}
|
|
2339
|
+
const response = yield this.request({
|
|
2340
|
+
path: `/v1/repositories/r/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2341
|
+
method: 'GET',
|
|
2342
|
+
headers: headerParameters,
|
|
2343
|
+
query: queryParameters,
|
|
2344
|
+
}, initOverrides);
|
|
2345
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
2346
|
+
});
|
|
2347
|
+
}
|
|
2348
|
+
/**
|
|
2349
|
+
* Get repository
|
|
2350
|
+
*/
|
|
2351
|
+
getRHostedRepository(requestParameters, initOverrides) {
|
|
2352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2353
|
+
const response = yield this.getRHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2354
|
+
return yield response.value();
|
|
2355
|
+
});
|
|
2356
|
+
}
|
|
2357
|
+
/**
|
|
2358
|
+
* Get repository
|
|
2359
|
+
*/
|
|
2360
|
+
getRProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2362
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2363
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRProxyRepository().');
|
|
2364
|
+
}
|
|
2365
|
+
const queryParameters = {};
|
|
2366
|
+
const headerParameters = {};
|
|
2367
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2368
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2369
|
+
}
|
|
2370
|
+
const response = yield this.request({
|
|
2371
|
+
path: `/v1/repositories/r/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2372
|
+
method: 'GET',
|
|
2373
|
+
headers: headerParameters,
|
|
2374
|
+
query: queryParameters,
|
|
2375
|
+
}, initOverrides);
|
|
2376
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
2377
|
+
});
|
|
2378
|
+
}
|
|
2379
|
+
/**
|
|
2380
|
+
* Get repository
|
|
2381
|
+
*/
|
|
2382
|
+
getRProxyRepository(requestParameters, initOverrides) {
|
|
2383
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2384
|
+
const response = yield this.getRProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2385
|
+
return yield response.value();
|
|
2386
|
+
});
|
|
2387
|
+
}
|
|
2388
|
+
/**
|
|
2389
|
+
* Get repository
|
|
2390
|
+
*/
|
|
2391
|
+
getRawGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2392
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2393
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2394
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRawGroupRepository().');
|
|
2395
|
+
}
|
|
2396
|
+
const queryParameters = {};
|
|
2397
|
+
const headerParameters = {};
|
|
2398
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2399
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2400
|
+
}
|
|
2401
|
+
const response = yield this.request({
|
|
2402
|
+
path: `/v1/repositories/raw/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2403
|
+
method: 'GET',
|
|
2404
|
+
headers: headerParameters,
|
|
2405
|
+
query: queryParameters,
|
|
2406
|
+
}, initOverrides);
|
|
2407
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
2408
|
+
});
|
|
2409
|
+
}
|
|
2410
|
+
/**
|
|
2411
|
+
* Get repository
|
|
2412
|
+
*/
|
|
2413
|
+
getRawGroupRepository(requestParameters, initOverrides) {
|
|
2414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2415
|
+
const response = yield this.getRawGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2416
|
+
return yield response.value();
|
|
2417
|
+
});
|
|
2418
|
+
}
|
|
2419
|
+
/**
|
|
2420
|
+
* Get repository
|
|
2421
|
+
*/
|
|
2422
|
+
getRawHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2423
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2424
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2425
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRawHostedRepository().');
|
|
2426
|
+
}
|
|
2427
|
+
const queryParameters = {};
|
|
2428
|
+
const headerParameters = {};
|
|
2429
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2430
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2431
|
+
}
|
|
2432
|
+
const response = yield this.request({
|
|
2433
|
+
path: `/v1/repositories/raw/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2434
|
+
method: 'GET',
|
|
2435
|
+
headers: headerParameters,
|
|
2436
|
+
query: queryParameters,
|
|
2437
|
+
}, initOverrides);
|
|
2438
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
2439
|
+
});
|
|
2440
|
+
}
|
|
2441
|
+
/**
|
|
2442
|
+
* Get repository
|
|
2443
|
+
*/
|
|
2444
|
+
getRawHostedRepository(requestParameters, initOverrides) {
|
|
2445
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2446
|
+
const response = yield this.getRawHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2447
|
+
return yield response.value();
|
|
2448
|
+
});
|
|
2449
|
+
}
|
|
2450
|
+
/**
|
|
2451
|
+
* Get repository
|
|
2452
|
+
*/
|
|
2453
|
+
getRawProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2455
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2456
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRawProxyRepository().');
|
|
2457
|
+
}
|
|
2458
|
+
const queryParameters = {};
|
|
2459
|
+
const headerParameters = {};
|
|
2460
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2461
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2462
|
+
}
|
|
2463
|
+
const response = yield this.request({
|
|
2464
|
+
path: `/v1/repositories/raw/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2465
|
+
method: 'GET',
|
|
2466
|
+
headers: headerParameters,
|
|
2467
|
+
query: queryParameters,
|
|
2468
|
+
}, initOverrides);
|
|
2469
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
2470
|
+
});
|
|
2471
|
+
}
|
|
2472
|
+
/**
|
|
2473
|
+
* Get repository
|
|
2474
|
+
*/
|
|
2475
|
+
getRawProxyRepository(requestParameters, initOverrides) {
|
|
2476
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2477
|
+
const response = yield this.getRawProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2478
|
+
return yield response.value();
|
|
2479
|
+
});
|
|
2480
|
+
}
|
|
2481
|
+
/**
|
|
2482
|
+
* List repositories
|
|
2483
|
+
*/
|
|
2484
|
+
getRepositoriesRaw(initOverrides) {
|
|
2485
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2486
|
+
const queryParameters = {};
|
|
2487
|
+
const headerParameters = {};
|
|
2488
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2489
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2490
|
+
}
|
|
2491
|
+
const response = yield this.request({
|
|
2492
|
+
path: `/v1/repositorySettings`,
|
|
2493
|
+
method: 'GET',
|
|
2494
|
+
headers: headerParameters,
|
|
2495
|
+
query: queryParameters,
|
|
2496
|
+
}, initOverrides);
|
|
2497
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AbstractApiRepositoryFromJSON));
|
|
2498
|
+
});
|
|
2499
|
+
}
|
|
2500
|
+
/**
|
|
2501
|
+
* List repositories
|
|
2502
|
+
*/
|
|
2503
|
+
getRepositories(initOverrides) {
|
|
2504
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2505
|
+
const response = yield this.getRepositoriesRaw(initOverrides);
|
|
2506
|
+
return yield response.value();
|
|
2507
|
+
});
|
|
2508
|
+
}
|
|
2509
|
+
/**
|
|
2510
|
+
* Get repository details
|
|
2511
|
+
*/
|
|
2512
|
+
getRepositoryRaw(requestParameters, initOverrides) {
|
|
2513
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2514
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2515
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRepository().');
|
|
2516
|
+
}
|
|
2517
|
+
const queryParameters = {};
|
|
2518
|
+
const headerParameters = {};
|
|
2519
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2520
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2521
|
+
}
|
|
2522
|
+
const response = yield this.request({
|
|
2523
|
+
path: `/v1/repositories/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2524
|
+
method: 'GET',
|
|
2525
|
+
headers: headerParameters,
|
|
2526
|
+
query: queryParameters,
|
|
2527
|
+
}, initOverrides);
|
|
2528
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RepositoryXOFromJSON(jsonValue));
|
|
2529
|
+
});
|
|
2530
|
+
}
|
|
2531
|
+
/**
|
|
2532
|
+
* Get repository details
|
|
2533
|
+
*/
|
|
2534
|
+
getRepository(requestParameters, initOverrides) {
|
|
2535
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2536
|
+
const response = yield this.getRepositoryRaw(requestParameters, initOverrides);
|
|
2537
|
+
return yield response.value();
|
|
2538
|
+
});
|
|
2539
|
+
}
|
|
2540
|
+
/**
|
|
2541
|
+
* Get repository
|
|
2542
|
+
*/
|
|
2543
|
+
getRubygemsGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2545
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2546
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRubygemsGroupRepository().');
|
|
2547
|
+
}
|
|
2548
|
+
const queryParameters = {};
|
|
2549
|
+
const headerParameters = {};
|
|
2550
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2551
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2552
|
+
}
|
|
2553
|
+
const response = yield this.request({
|
|
2554
|
+
path: `/v1/repositories/rubygems/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2555
|
+
method: 'GET',
|
|
2556
|
+
headers: headerParameters,
|
|
2557
|
+
query: queryParameters,
|
|
2558
|
+
}, initOverrides);
|
|
2559
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
2560
|
+
});
|
|
2561
|
+
}
|
|
2562
|
+
/**
|
|
2563
|
+
* Get repository
|
|
2564
|
+
*/
|
|
2565
|
+
getRubygemsGroupRepository(requestParameters, initOverrides) {
|
|
2566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2567
|
+
const response = yield this.getRubygemsGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2568
|
+
return yield response.value();
|
|
2569
|
+
});
|
|
2570
|
+
}
|
|
2571
|
+
/**
|
|
2572
|
+
* Get repository
|
|
2573
|
+
*/
|
|
2574
|
+
getRubygemsHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2575
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2576
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2577
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRubygemsHostedRepository().');
|
|
2578
|
+
}
|
|
2579
|
+
const queryParameters = {};
|
|
2580
|
+
const headerParameters = {};
|
|
2581
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2582
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2583
|
+
}
|
|
2584
|
+
const response = yield this.request({
|
|
2585
|
+
path: `/v1/repositories/rubygems/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2586
|
+
method: 'GET',
|
|
2587
|
+
headers: headerParameters,
|
|
2588
|
+
query: queryParameters,
|
|
2589
|
+
}, initOverrides);
|
|
2590
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiHostedRepositoryFromJSON(jsonValue));
|
|
2591
|
+
});
|
|
2592
|
+
}
|
|
2593
|
+
/**
|
|
2594
|
+
* Get repository
|
|
2595
|
+
*/
|
|
2596
|
+
getRubygemsHostedRepository(requestParameters, initOverrides) {
|
|
2597
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2598
|
+
const response = yield this.getRubygemsHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2599
|
+
return yield response.value();
|
|
2600
|
+
});
|
|
2601
|
+
}
|
|
2602
|
+
/**
|
|
2603
|
+
* Get repository
|
|
2604
|
+
*/
|
|
2605
|
+
getRubygemsProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2606
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2607
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2608
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getRubygemsProxyRepository().');
|
|
2609
|
+
}
|
|
2610
|
+
const queryParameters = {};
|
|
2611
|
+
const headerParameters = {};
|
|
2612
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2613
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2614
|
+
}
|
|
2615
|
+
const response = yield this.request({
|
|
2616
|
+
path: `/v1/repositories/rubygems/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2617
|
+
method: 'GET',
|
|
2618
|
+
headers: headerParameters,
|
|
2619
|
+
query: queryParameters,
|
|
2620
|
+
}, initOverrides);
|
|
2621
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
2622
|
+
});
|
|
2623
|
+
}
|
|
2624
|
+
/**
|
|
2625
|
+
* Get repository
|
|
2626
|
+
*/
|
|
2627
|
+
getRubygemsProxyRepository(requestParameters, initOverrides) {
|
|
2628
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2629
|
+
const response = yield this.getRubygemsProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2630
|
+
return yield response.value();
|
|
2631
|
+
});
|
|
2632
|
+
}
|
|
2633
|
+
/**
|
|
2634
|
+
* Get repository
|
|
2635
|
+
*/
|
|
2636
|
+
getYumGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2637
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2638
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2639
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getYumGroupRepository().');
|
|
2640
|
+
}
|
|
2641
|
+
const queryParameters = {};
|
|
2642
|
+
const headerParameters = {};
|
|
2643
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2644
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2645
|
+
}
|
|
2646
|
+
const response = yield this.request({
|
|
2647
|
+
path: `/v1/repositories/yum/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2648
|
+
method: 'GET',
|
|
2649
|
+
headers: headerParameters,
|
|
2650
|
+
query: queryParameters,
|
|
2651
|
+
}, initOverrides);
|
|
2652
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupRepositoryFromJSON(jsonValue));
|
|
2653
|
+
});
|
|
2654
|
+
}
|
|
2655
|
+
/**
|
|
2656
|
+
* Get repository
|
|
2657
|
+
*/
|
|
2658
|
+
getYumGroupRepository(requestParameters, initOverrides) {
|
|
2659
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2660
|
+
const response = yield this.getYumGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2661
|
+
return yield response.value();
|
|
2662
|
+
});
|
|
2663
|
+
}
|
|
2664
|
+
/**
|
|
2665
|
+
* Get repository
|
|
2666
|
+
*/
|
|
2667
|
+
getYumHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2668
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2669
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2670
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getYumHostedRepository().');
|
|
2671
|
+
}
|
|
2672
|
+
const queryParameters = {};
|
|
2673
|
+
const headerParameters = {};
|
|
2674
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2675
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2676
|
+
}
|
|
2677
|
+
const response = yield this.request({
|
|
2678
|
+
path: `/v1/repositories/yum/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2679
|
+
method: 'GET',
|
|
2680
|
+
headers: headerParameters,
|
|
2681
|
+
query: queryParameters,
|
|
2682
|
+
}, initOverrides);
|
|
2683
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => YumHostedApiRepositoryFromJSON(jsonValue));
|
|
2684
|
+
});
|
|
2685
|
+
}
|
|
2686
|
+
/**
|
|
2687
|
+
* Get repository
|
|
2688
|
+
*/
|
|
2689
|
+
getYumHostedRepository(requestParameters, initOverrides) {
|
|
2690
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2691
|
+
const response = yield this.getYumHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2692
|
+
return yield response.value();
|
|
2693
|
+
});
|
|
2694
|
+
}
|
|
2695
|
+
/**
|
|
2696
|
+
* Get repository
|
|
2697
|
+
*/
|
|
2698
|
+
getYumProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2699
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2700
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2701
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling getYumProxyRepository().');
|
|
2702
|
+
}
|
|
2703
|
+
const queryParameters = {};
|
|
2704
|
+
const headerParameters = {};
|
|
2705
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2706
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2707
|
+
}
|
|
2708
|
+
const response = yield this.request({
|
|
2709
|
+
path: `/v1/repositories/yum/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2710
|
+
method: 'GET',
|
|
2711
|
+
headers: headerParameters,
|
|
2712
|
+
query: queryParameters,
|
|
2713
|
+
}, initOverrides);
|
|
2714
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiProxyRepositoryFromJSON(jsonValue));
|
|
2715
|
+
});
|
|
2716
|
+
}
|
|
2717
|
+
/**
|
|
2718
|
+
* Get repository
|
|
2719
|
+
*/
|
|
2720
|
+
getYumProxyRepository(requestParameters, initOverrides) {
|
|
2721
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2722
|
+
const response = yield this.getYumProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2723
|
+
return yield response.value();
|
|
2724
|
+
});
|
|
2725
|
+
}
|
|
2726
|
+
/**
|
|
2727
|
+
* Update APT hosted repository
|
|
2728
|
+
*/
|
|
2729
|
+
updateAptHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2730
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2731
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2732
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateAptHostedRepository().');
|
|
2733
|
+
}
|
|
2734
|
+
const queryParameters = {};
|
|
2735
|
+
const headerParameters = {};
|
|
2736
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2737
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2738
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2739
|
+
}
|
|
2740
|
+
const response = yield this.request({
|
|
2741
|
+
path: `/v1/repositories/apt/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2742
|
+
method: 'PUT',
|
|
2743
|
+
headers: headerParameters,
|
|
2744
|
+
query: queryParameters,
|
|
2745
|
+
body: AptHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2746
|
+
}, initOverrides);
|
|
2747
|
+
return new runtime.VoidApiResponse(response);
|
|
2748
|
+
});
|
|
2749
|
+
}
|
|
2750
|
+
/**
|
|
2751
|
+
* Update APT hosted repository
|
|
2752
|
+
*/
|
|
2753
|
+
updateAptHostedRepository(requestParameters, initOverrides) {
|
|
2754
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2755
|
+
yield this.updateAptHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2756
|
+
});
|
|
2757
|
+
}
|
|
2758
|
+
/**
|
|
2759
|
+
* Update APT proxy repository
|
|
2760
|
+
*/
|
|
2761
|
+
updateAptProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2762
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2763
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2764
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateAptProxyRepository().');
|
|
2765
|
+
}
|
|
2766
|
+
const queryParameters = {};
|
|
2767
|
+
const headerParameters = {};
|
|
2768
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2769
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2770
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2771
|
+
}
|
|
2772
|
+
const response = yield this.request({
|
|
2773
|
+
path: `/v1/repositories/apt/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2774
|
+
method: 'PUT',
|
|
2775
|
+
headers: headerParameters,
|
|
2776
|
+
query: queryParameters,
|
|
2777
|
+
body: AptProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2778
|
+
}, initOverrides);
|
|
2779
|
+
return new runtime.VoidApiResponse(response);
|
|
2780
|
+
});
|
|
2781
|
+
}
|
|
2782
|
+
/**
|
|
2783
|
+
* Update APT proxy repository
|
|
2784
|
+
*/
|
|
2785
|
+
updateAptProxyRepository(requestParameters, initOverrides) {
|
|
2786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2787
|
+
yield this.updateAptProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2788
|
+
});
|
|
2789
|
+
}
|
|
2790
|
+
/**
|
|
2791
|
+
* Update Bower group repository
|
|
2792
|
+
*/
|
|
2793
|
+
updateBowerGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2794
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2795
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2796
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateBowerGroupRepository().');
|
|
2797
|
+
}
|
|
2798
|
+
const queryParameters = {};
|
|
2799
|
+
const headerParameters = {};
|
|
2800
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2801
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2802
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2803
|
+
}
|
|
2804
|
+
const response = yield this.request({
|
|
2805
|
+
path: `/v1/repositories/bower/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2806
|
+
method: 'PUT',
|
|
2807
|
+
headers: headerParameters,
|
|
2808
|
+
query: queryParameters,
|
|
2809
|
+
body: BowerGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2810
|
+
}, initOverrides);
|
|
2811
|
+
return new runtime.VoidApiResponse(response);
|
|
2812
|
+
});
|
|
2813
|
+
}
|
|
2814
|
+
/**
|
|
2815
|
+
* Update Bower group repository
|
|
2816
|
+
*/
|
|
2817
|
+
updateBowerGroupRepository(requestParameters, initOverrides) {
|
|
2818
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2819
|
+
yield this.updateBowerGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2820
|
+
});
|
|
2821
|
+
}
|
|
2822
|
+
/**
|
|
2823
|
+
* Update Bower hosted repository
|
|
2824
|
+
*/
|
|
2825
|
+
updateBowerHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
2826
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2827
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2828
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateBowerHostedRepository().');
|
|
2829
|
+
}
|
|
2830
|
+
const queryParameters = {};
|
|
2831
|
+
const headerParameters = {};
|
|
2832
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2833
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2834
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2835
|
+
}
|
|
2836
|
+
const response = yield this.request({
|
|
2837
|
+
path: `/v1/repositories/bower/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2838
|
+
method: 'PUT',
|
|
2839
|
+
headers: headerParameters,
|
|
2840
|
+
query: queryParameters,
|
|
2841
|
+
body: BowerHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2842
|
+
}, initOverrides);
|
|
2843
|
+
return new runtime.VoidApiResponse(response);
|
|
2844
|
+
});
|
|
2845
|
+
}
|
|
2846
|
+
/**
|
|
2847
|
+
* Update Bower hosted repository
|
|
2848
|
+
*/
|
|
2849
|
+
updateBowerHostedRepository(requestParameters, initOverrides) {
|
|
2850
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2851
|
+
yield this.updateBowerHostedRepositoryRaw(requestParameters, initOverrides);
|
|
2852
|
+
});
|
|
2853
|
+
}
|
|
2854
|
+
/**
|
|
2855
|
+
* Update Bower proxy repository
|
|
2856
|
+
*/
|
|
2857
|
+
updateBowerProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2858
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2859
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2860
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateBowerProxyRepository().');
|
|
2861
|
+
}
|
|
2862
|
+
const queryParameters = {};
|
|
2863
|
+
const headerParameters = {};
|
|
2864
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2865
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2866
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2867
|
+
}
|
|
2868
|
+
const response = yield this.request({
|
|
2869
|
+
path: `/v1/repositories/bower/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2870
|
+
method: 'PUT',
|
|
2871
|
+
headers: headerParameters,
|
|
2872
|
+
query: queryParameters,
|
|
2873
|
+
body: BowerProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2874
|
+
}, initOverrides);
|
|
2875
|
+
return new runtime.VoidApiResponse(response);
|
|
2876
|
+
});
|
|
2877
|
+
}
|
|
2878
|
+
/**
|
|
2879
|
+
* Update Bower proxy repository
|
|
2880
|
+
*/
|
|
2881
|
+
updateBowerProxyRepository(requestParameters, initOverrides) {
|
|
2882
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2883
|
+
yield this.updateBowerProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2884
|
+
});
|
|
2885
|
+
}
|
|
2886
|
+
/**
|
|
2887
|
+
* Update Cocoapods proxy repository
|
|
2888
|
+
*/
|
|
2889
|
+
updateCocoapodsProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2890
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2891
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2892
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateCocoapodsProxyRepository().');
|
|
2893
|
+
}
|
|
2894
|
+
const queryParameters = {};
|
|
2895
|
+
const headerParameters = {};
|
|
2896
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2897
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2898
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2899
|
+
}
|
|
2900
|
+
const response = yield this.request({
|
|
2901
|
+
path: `/v1/repositories/cocoapods/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2902
|
+
method: 'PUT',
|
|
2903
|
+
headers: headerParameters,
|
|
2904
|
+
query: queryParameters,
|
|
2905
|
+
body: CocoapodsProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2906
|
+
}, initOverrides);
|
|
2907
|
+
return new runtime.VoidApiResponse(response);
|
|
2908
|
+
});
|
|
2909
|
+
}
|
|
2910
|
+
/**
|
|
2911
|
+
* Update Cocoapods proxy repository
|
|
2912
|
+
*/
|
|
2913
|
+
updateCocoapodsProxyRepository(requestParameters, initOverrides) {
|
|
2914
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2915
|
+
yield this.updateCocoapodsProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2916
|
+
});
|
|
2917
|
+
}
|
|
2918
|
+
/**
|
|
2919
|
+
* Update Conan proxy repository
|
|
2920
|
+
*/
|
|
2921
|
+
updateConanProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2922
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2923
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2924
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateConanProxyRepository().');
|
|
2925
|
+
}
|
|
2926
|
+
const queryParameters = {};
|
|
2927
|
+
const headerParameters = {};
|
|
2928
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2929
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2930
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2931
|
+
}
|
|
2932
|
+
const response = yield this.request({
|
|
2933
|
+
path: `/v1/repositories/conan/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2934
|
+
method: 'PUT',
|
|
2935
|
+
headers: headerParameters,
|
|
2936
|
+
query: queryParameters,
|
|
2937
|
+
body: ConanProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2938
|
+
}, initOverrides);
|
|
2939
|
+
return new runtime.VoidApiResponse(response);
|
|
2940
|
+
});
|
|
2941
|
+
}
|
|
2942
|
+
/**
|
|
2943
|
+
* Update Conan proxy repository
|
|
2944
|
+
*/
|
|
2945
|
+
updateConanProxyRepository(requestParameters, initOverrides) {
|
|
2946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2947
|
+
yield this.updateConanProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2948
|
+
});
|
|
2949
|
+
}
|
|
2950
|
+
/**
|
|
2951
|
+
* Update conda proxy repository
|
|
2952
|
+
*/
|
|
2953
|
+
updateCondaProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
2954
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2955
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2956
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateCondaProxyRepository().');
|
|
2957
|
+
}
|
|
2958
|
+
const queryParameters = {};
|
|
2959
|
+
const headerParameters = {};
|
|
2960
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2961
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2962
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2963
|
+
}
|
|
2964
|
+
const response = yield this.request({
|
|
2965
|
+
path: `/v1/repositories/conda/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2966
|
+
method: 'PUT',
|
|
2967
|
+
headers: headerParameters,
|
|
2968
|
+
query: queryParameters,
|
|
2969
|
+
body: CondaProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
2970
|
+
}, initOverrides);
|
|
2971
|
+
return new runtime.VoidApiResponse(response);
|
|
2972
|
+
});
|
|
2973
|
+
}
|
|
2974
|
+
/**
|
|
2975
|
+
* Update conda proxy repository
|
|
2976
|
+
*/
|
|
2977
|
+
updateCondaProxyRepository(requestParameters, initOverrides) {
|
|
2978
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2979
|
+
yield this.updateCondaProxyRepositoryRaw(requestParameters, initOverrides);
|
|
2980
|
+
});
|
|
2981
|
+
}
|
|
2982
|
+
/**
|
|
2983
|
+
* Update Docker group repository
|
|
2984
|
+
*/
|
|
2985
|
+
updateDockerGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
2986
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2987
|
+
if (requestParameters['repositoryName'] == null) {
|
|
2988
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateDockerGroupRepository().');
|
|
2989
|
+
}
|
|
2990
|
+
const queryParameters = {};
|
|
2991
|
+
const headerParameters = {};
|
|
2992
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2993
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
2994
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
2995
|
+
}
|
|
2996
|
+
const response = yield this.request({
|
|
2997
|
+
path: `/v1/repositories/docker/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
2998
|
+
method: 'PUT',
|
|
2999
|
+
headers: headerParameters,
|
|
3000
|
+
query: queryParameters,
|
|
3001
|
+
body: DockerGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3002
|
+
}, initOverrides);
|
|
3003
|
+
return new runtime.VoidApiResponse(response);
|
|
3004
|
+
});
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* Update Docker group repository
|
|
3008
|
+
*/
|
|
3009
|
+
updateDockerGroupRepository(requestParameters, initOverrides) {
|
|
3010
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3011
|
+
yield this.updateDockerGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3012
|
+
});
|
|
3013
|
+
}
|
|
3014
|
+
/**
|
|
3015
|
+
* Update Docker hosted repository
|
|
3016
|
+
*/
|
|
3017
|
+
updateDockerHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3018
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3019
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3020
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateDockerHostedRepository().');
|
|
3021
|
+
}
|
|
3022
|
+
const queryParameters = {};
|
|
3023
|
+
const headerParameters = {};
|
|
3024
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3025
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3026
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3027
|
+
}
|
|
3028
|
+
const response = yield this.request({
|
|
3029
|
+
path: `/v1/repositories/docker/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3030
|
+
method: 'PUT',
|
|
3031
|
+
headers: headerParameters,
|
|
3032
|
+
query: queryParameters,
|
|
3033
|
+
body: DockerHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3034
|
+
}, initOverrides);
|
|
3035
|
+
return new runtime.VoidApiResponse(response);
|
|
3036
|
+
});
|
|
3037
|
+
}
|
|
3038
|
+
/**
|
|
3039
|
+
* Update Docker hosted repository
|
|
3040
|
+
*/
|
|
3041
|
+
updateDockerHostedRepository(requestParameters, initOverrides) {
|
|
3042
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3043
|
+
yield this.updateDockerHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3044
|
+
});
|
|
3045
|
+
}
|
|
3046
|
+
/**
|
|
3047
|
+
* Update Docker proxy repository
|
|
3048
|
+
*/
|
|
3049
|
+
updateDockerProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3050
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3051
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3052
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateDockerProxyRepository().');
|
|
3053
|
+
}
|
|
3054
|
+
const queryParameters = {};
|
|
3055
|
+
const headerParameters = {};
|
|
3056
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3057
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3058
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3059
|
+
}
|
|
3060
|
+
const response = yield this.request({
|
|
3061
|
+
path: `/v1/repositories/docker/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3062
|
+
method: 'PUT',
|
|
3063
|
+
headers: headerParameters,
|
|
3064
|
+
query: queryParameters,
|
|
3065
|
+
body: DockerProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3066
|
+
}, initOverrides);
|
|
3067
|
+
return new runtime.VoidApiResponse(response);
|
|
3068
|
+
});
|
|
3069
|
+
}
|
|
3070
|
+
/**
|
|
3071
|
+
* Update Docker proxy repository
|
|
3072
|
+
*/
|
|
3073
|
+
updateDockerProxyRepository(requestParameters, initOverrides) {
|
|
3074
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3075
|
+
yield this.updateDockerProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3076
|
+
});
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* Update Git LFS hosted repository
|
|
3080
|
+
*/
|
|
3081
|
+
updateGitlfsHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3083
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3084
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateGitlfsHostedRepository().');
|
|
3085
|
+
}
|
|
3086
|
+
const queryParameters = {};
|
|
3087
|
+
const headerParameters = {};
|
|
3088
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3089
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3090
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3091
|
+
}
|
|
3092
|
+
const response = yield this.request({
|
|
3093
|
+
path: `/v1/repositories/gitlfs/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3094
|
+
method: 'PUT',
|
|
3095
|
+
headers: headerParameters,
|
|
3096
|
+
query: queryParameters,
|
|
3097
|
+
body: GitLfsHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3098
|
+
}, initOverrides);
|
|
3099
|
+
return new runtime.VoidApiResponse(response);
|
|
3100
|
+
});
|
|
3101
|
+
}
|
|
3102
|
+
/**
|
|
3103
|
+
* Update Git LFS hosted repository
|
|
3104
|
+
*/
|
|
3105
|
+
updateGitlfsHostedRepository(requestParameters, initOverrides) {
|
|
3106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3107
|
+
yield this.updateGitlfsHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3108
|
+
});
|
|
3109
|
+
}
|
|
3110
|
+
/**
|
|
3111
|
+
* Update a Go group repository
|
|
3112
|
+
*/
|
|
3113
|
+
updateGoGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3115
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3116
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateGoGroupRepository().');
|
|
3117
|
+
}
|
|
3118
|
+
const queryParameters = {};
|
|
3119
|
+
const headerParameters = {};
|
|
3120
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3121
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3122
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3123
|
+
}
|
|
3124
|
+
const response = yield this.request({
|
|
3125
|
+
path: `/v1/repositories/go/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3126
|
+
method: 'PUT',
|
|
3127
|
+
headers: headerParameters,
|
|
3128
|
+
query: queryParameters,
|
|
3129
|
+
body: GolangGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3130
|
+
}, initOverrides);
|
|
3131
|
+
return new runtime.VoidApiResponse(response);
|
|
3132
|
+
});
|
|
3133
|
+
}
|
|
3134
|
+
/**
|
|
3135
|
+
* Update a Go group repository
|
|
3136
|
+
*/
|
|
3137
|
+
updateGoGroupRepository(requestParameters, initOverrides) {
|
|
3138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3139
|
+
yield this.updateGoGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3140
|
+
});
|
|
3141
|
+
}
|
|
3142
|
+
/**
|
|
3143
|
+
* Update a Go proxy repository
|
|
3144
|
+
*/
|
|
3145
|
+
updateGoProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3147
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3148
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateGoProxyRepository().');
|
|
3149
|
+
}
|
|
3150
|
+
const queryParameters = {};
|
|
3151
|
+
const headerParameters = {};
|
|
3152
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3153
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3154
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3155
|
+
}
|
|
3156
|
+
const response = yield this.request({
|
|
3157
|
+
path: `/v1/repositories/go/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3158
|
+
method: 'PUT',
|
|
3159
|
+
headers: headerParameters,
|
|
3160
|
+
query: queryParameters,
|
|
3161
|
+
body: GolangProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3162
|
+
}, initOverrides);
|
|
3163
|
+
return new runtime.VoidApiResponse(response);
|
|
3164
|
+
});
|
|
3165
|
+
}
|
|
3166
|
+
/**
|
|
3167
|
+
* Update a Go proxy repository
|
|
3168
|
+
*/
|
|
3169
|
+
updateGoProxyRepository(requestParameters, initOverrides) {
|
|
3170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3171
|
+
yield this.updateGoProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3172
|
+
});
|
|
3173
|
+
}
|
|
3174
|
+
/**
|
|
3175
|
+
* Update Helm hosted repository
|
|
3176
|
+
*/
|
|
3177
|
+
updateHelmHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3179
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3180
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateHelmHostedRepository().');
|
|
3181
|
+
}
|
|
3182
|
+
const queryParameters = {};
|
|
3183
|
+
const headerParameters = {};
|
|
3184
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3185
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3186
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3187
|
+
}
|
|
3188
|
+
const response = yield this.request({
|
|
3189
|
+
path: `/v1/repositories/helm/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3190
|
+
method: 'PUT',
|
|
3191
|
+
headers: headerParameters,
|
|
3192
|
+
query: queryParameters,
|
|
3193
|
+
body: HelmHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3194
|
+
}, initOverrides);
|
|
3195
|
+
return new runtime.VoidApiResponse(response);
|
|
3196
|
+
});
|
|
3197
|
+
}
|
|
3198
|
+
/**
|
|
3199
|
+
* Update Helm hosted repository
|
|
3200
|
+
*/
|
|
3201
|
+
updateHelmHostedRepository(requestParameters, initOverrides) {
|
|
3202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3203
|
+
yield this.updateHelmHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3204
|
+
});
|
|
3205
|
+
}
|
|
3206
|
+
/**
|
|
3207
|
+
* Update Helm proxy repository
|
|
3208
|
+
*/
|
|
3209
|
+
updateHelmProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3211
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3212
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateHelmProxyRepository().');
|
|
3213
|
+
}
|
|
3214
|
+
const queryParameters = {};
|
|
3215
|
+
const headerParameters = {};
|
|
3216
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3217
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3218
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3219
|
+
}
|
|
3220
|
+
const response = yield this.request({
|
|
3221
|
+
path: `/v1/repositories/helm/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3222
|
+
method: 'PUT',
|
|
3223
|
+
headers: headerParameters,
|
|
3224
|
+
query: queryParameters,
|
|
3225
|
+
body: HelmProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3226
|
+
}, initOverrides);
|
|
3227
|
+
return new runtime.VoidApiResponse(response);
|
|
3228
|
+
});
|
|
3229
|
+
}
|
|
3230
|
+
/**
|
|
3231
|
+
* Update Helm proxy repository
|
|
3232
|
+
*/
|
|
3233
|
+
updateHelmProxyRepository(requestParameters, initOverrides) {
|
|
3234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3235
|
+
yield this.updateHelmProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3236
|
+
});
|
|
3237
|
+
}
|
|
3238
|
+
/**
|
|
3239
|
+
* Update Maven group repository
|
|
3240
|
+
*/
|
|
3241
|
+
updateMavenGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3243
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3244
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateMavenGroupRepository().');
|
|
3245
|
+
}
|
|
3246
|
+
const queryParameters = {};
|
|
3247
|
+
const headerParameters = {};
|
|
3248
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3249
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3250
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3251
|
+
}
|
|
3252
|
+
const response = yield this.request({
|
|
3253
|
+
path: `/v1/repositories/maven/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3254
|
+
method: 'PUT',
|
|
3255
|
+
headers: headerParameters,
|
|
3256
|
+
query: queryParameters,
|
|
3257
|
+
body: MavenGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3258
|
+
}, initOverrides);
|
|
3259
|
+
return new runtime.VoidApiResponse(response);
|
|
3260
|
+
});
|
|
3261
|
+
}
|
|
3262
|
+
/**
|
|
3263
|
+
* Update Maven group repository
|
|
3264
|
+
*/
|
|
3265
|
+
updateMavenGroupRepository(requestParameters, initOverrides) {
|
|
3266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3267
|
+
yield this.updateMavenGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3268
|
+
});
|
|
3269
|
+
}
|
|
3270
|
+
/**
|
|
3271
|
+
* Update Maven hosted repository
|
|
3272
|
+
*/
|
|
3273
|
+
updateMavenHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3275
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3276
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateMavenHostedRepository().');
|
|
3277
|
+
}
|
|
3278
|
+
const queryParameters = {};
|
|
3279
|
+
const headerParameters = {};
|
|
3280
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3281
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3282
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3283
|
+
}
|
|
3284
|
+
const response = yield this.request({
|
|
3285
|
+
path: `/v1/repositories/maven/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3286
|
+
method: 'PUT',
|
|
3287
|
+
headers: headerParameters,
|
|
3288
|
+
query: queryParameters,
|
|
3289
|
+
body: MavenHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3290
|
+
}, initOverrides);
|
|
3291
|
+
return new runtime.VoidApiResponse(response);
|
|
3292
|
+
});
|
|
3293
|
+
}
|
|
3294
|
+
/**
|
|
3295
|
+
* Update Maven hosted repository
|
|
3296
|
+
*/
|
|
3297
|
+
updateMavenHostedRepository(requestParameters, initOverrides) {
|
|
3298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3299
|
+
yield this.updateMavenHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3300
|
+
});
|
|
3301
|
+
}
|
|
3302
|
+
/**
|
|
3303
|
+
* Update Maven proxy repository
|
|
3304
|
+
*/
|
|
3305
|
+
updateMavenProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3306
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3307
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3308
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateMavenProxyRepository().');
|
|
3309
|
+
}
|
|
3310
|
+
const queryParameters = {};
|
|
3311
|
+
const headerParameters = {};
|
|
3312
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3313
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3314
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3315
|
+
}
|
|
3316
|
+
const response = yield this.request({
|
|
3317
|
+
path: `/v1/repositories/maven/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3318
|
+
method: 'PUT',
|
|
3319
|
+
headers: headerParameters,
|
|
3320
|
+
query: queryParameters,
|
|
3321
|
+
body: MavenProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3322
|
+
}, initOverrides);
|
|
3323
|
+
return new runtime.VoidApiResponse(response);
|
|
3324
|
+
});
|
|
3325
|
+
}
|
|
3326
|
+
/**
|
|
3327
|
+
* Update Maven proxy repository
|
|
3328
|
+
*/
|
|
3329
|
+
updateMavenProxyRepository(requestParameters, initOverrides) {
|
|
3330
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3331
|
+
yield this.updateMavenProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3332
|
+
});
|
|
3333
|
+
}
|
|
3334
|
+
/**
|
|
3335
|
+
* Update npm group repository
|
|
3336
|
+
*/
|
|
3337
|
+
updateNpmGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3338
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3339
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3340
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateNpmGroupRepository().');
|
|
3341
|
+
}
|
|
3342
|
+
const queryParameters = {};
|
|
3343
|
+
const headerParameters = {};
|
|
3344
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3345
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3346
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3347
|
+
}
|
|
3348
|
+
const response = yield this.request({
|
|
3349
|
+
path: `/v1/repositories/npm/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3350
|
+
method: 'PUT',
|
|
3351
|
+
headers: headerParameters,
|
|
3352
|
+
query: queryParameters,
|
|
3353
|
+
body: NpmGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3354
|
+
}, initOverrides);
|
|
3355
|
+
return new runtime.VoidApiResponse(response);
|
|
3356
|
+
});
|
|
3357
|
+
}
|
|
3358
|
+
/**
|
|
3359
|
+
* Update npm group repository
|
|
3360
|
+
*/
|
|
3361
|
+
updateNpmGroupRepository(requestParameters, initOverrides) {
|
|
3362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3363
|
+
yield this.updateNpmGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3364
|
+
});
|
|
3365
|
+
}
|
|
3366
|
+
/**
|
|
3367
|
+
* Update npm hosted repository
|
|
3368
|
+
*/
|
|
3369
|
+
updateNpmHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3370
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3371
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3372
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateNpmHostedRepository().');
|
|
3373
|
+
}
|
|
3374
|
+
const queryParameters = {};
|
|
3375
|
+
const headerParameters = {};
|
|
3376
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3377
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3378
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3379
|
+
}
|
|
3380
|
+
const response = yield this.request({
|
|
3381
|
+
path: `/v1/repositories/npm/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3382
|
+
method: 'PUT',
|
|
3383
|
+
headers: headerParameters,
|
|
3384
|
+
query: queryParameters,
|
|
3385
|
+
body: NpmHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3386
|
+
}, initOverrides);
|
|
3387
|
+
return new runtime.VoidApiResponse(response);
|
|
3388
|
+
});
|
|
3389
|
+
}
|
|
3390
|
+
/**
|
|
3391
|
+
* Update npm hosted repository
|
|
3392
|
+
*/
|
|
3393
|
+
updateNpmHostedRepository(requestParameters, initOverrides) {
|
|
3394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3395
|
+
yield this.updateNpmHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3396
|
+
});
|
|
3397
|
+
}
|
|
3398
|
+
/**
|
|
3399
|
+
* Update npm proxy repository
|
|
3400
|
+
*/
|
|
3401
|
+
updateNpmProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3402
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3403
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3404
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateNpmProxyRepository().');
|
|
3405
|
+
}
|
|
3406
|
+
const queryParameters = {};
|
|
3407
|
+
const headerParameters = {};
|
|
3408
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3409
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3410
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3411
|
+
}
|
|
3412
|
+
const response = yield this.request({
|
|
3413
|
+
path: `/v1/repositories/npm/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3414
|
+
method: 'PUT',
|
|
3415
|
+
headers: headerParameters,
|
|
3416
|
+
query: queryParameters,
|
|
3417
|
+
body: NpmProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3418
|
+
}, initOverrides);
|
|
3419
|
+
return new runtime.VoidApiResponse(response);
|
|
3420
|
+
});
|
|
3421
|
+
}
|
|
3422
|
+
/**
|
|
3423
|
+
* Update npm proxy repository
|
|
3424
|
+
*/
|
|
3425
|
+
updateNpmProxyRepository(requestParameters, initOverrides) {
|
|
3426
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3427
|
+
yield this.updateNpmProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3428
|
+
});
|
|
3429
|
+
}
|
|
3430
|
+
/**
|
|
3431
|
+
* Update NuGet group repository
|
|
3432
|
+
*/
|
|
3433
|
+
updateNugetGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3434
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3435
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3436
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateNugetGroupRepository().');
|
|
3437
|
+
}
|
|
3438
|
+
const queryParameters = {};
|
|
3439
|
+
const headerParameters = {};
|
|
3440
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3441
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3442
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3443
|
+
}
|
|
3444
|
+
const response = yield this.request({
|
|
3445
|
+
path: `/v1/repositories/nuget/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3446
|
+
method: 'PUT',
|
|
3447
|
+
headers: headerParameters,
|
|
3448
|
+
query: queryParameters,
|
|
3449
|
+
body: NugetGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3450
|
+
}, initOverrides);
|
|
3451
|
+
return new runtime.VoidApiResponse(response);
|
|
3452
|
+
});
|
|
3453
|
+
}
|
|
3454
|
+
/**
|
|
3455
|
+
* Update NuGet group repository
|
|
3456
|
+
*/
|
|
3457
|
+
updateNugetGroupRepository(requestParameters, initOverrides) {
|
|
3458
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3459
|
+
yield this.updateNugetGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3460
|
+
});
|
|
3461
|
+
}
|
|
3462
|
+
/**
|
|
3463
|
+
* Update NuGet hosted repository
|
|
3464
|
+
*/
|
|
3465
|
+
updateNugetHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3466
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3467
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3468
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateNugetHostedRepository().');
|
|
3469
|
+
}
|
|
3470
|
+
const queryParameters = {};
|
|
3471
|
+
const headerParameters = {};
|
|
3472
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3473
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3474
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3475
|
+
}
|
|
3476
|
+
const response = yield this.request({
|
|
3477
|
+
path: `/v1/repositories/nuget/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3478
|
+
method: 'PUT',
|
|
3479
|
+
headers: headerParameters,
|
|
3480
|
+
query: queryParameters,
|
|
3481
|
+
body: NugetHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3482
|
+
}, initOverrides);
|
|
3483
|
+
return new runtime.VoidApiResponse(response);
|
|
3484
|
+
});
|
|
3485
|
+
}
|
|
3486
|
+
/**
|
|
3487
|
+
* Update NuGet hosted repository
|
|
3488
|
+
*/
|
|
3489
|
+
updateNugetHostedRepository(requestParameters, initOverrides) {
|
|
3490
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3491
|
+
yield this.updateNugetHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3492
|
+
});
|
|
3493
|
+
}
|
|
3494
|
+
/**
|
|
3495
|
+
* Update NuGet proxy repository
|
|
3496
|
+
*/
|
|
3497
|
+
updateNugetProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3498
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3499
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3500
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateNugetProxyRepository().');
|
|
3501
|
+
}
|
|
3502
|
+
const queryParameters = {};
|
|
3503
|
+
const headerParameters = {};
|
|
3504
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3505
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3506
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3507
|
+
}
|
|
3508
|
+
const response = yield this.request({
|
|
3509
|
+
path: `/v1/repositories/nuget/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3510
|
+
method: 'PUT',
|
|
3511
|
+
headers: headerParameters,
|
|
3512
|
+
query: queryParameters,
|
|
3513
|
+
body: NugetProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3514
|
+
}, initOverrides);
|
|
3515
|
+
return new runtime.VoidApiResponse(response);
|
|
3516
|
+
});
|
|
3517
|
+
}
|
|
3518
|
+
/**
|
|
3519
|
+
* Update NuGet proxy repository
|
|
3520
|
+
*/
|
|
3521
|
+
updateNugetProxyRepository(requestParameters, initOverrides) {
|
|
3522
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3523
|
+
yield this.updateNugetProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3524
|
+
});
|
|
3525
|
+
}
|
|
3526
|
+
/**
|
|
3527
|
+
* Update p2 proxy repository
|
|
3528
|
+
*/
|
|
3529
|
+
updateP2ProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3530
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3531
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3532
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateP2ProxyRepository().');
|
|
3533
|
+
}
|
|
3534
|
+
const queryParameters = {};
|
|
3535
|
+
const headerParameters = {};
|
|
3536
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3537
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3538
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3539
|
+
}
|
|
3540
|
+
const response = yield this.request({
|
|
3541
|
+
path: `/v1/repositories/p2/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3542
|
+
method: 'PUT',
|
|
3543
|
+
headers: headerParameters,
|
|
3544
|
+
query: queryParameters,
|
|
3545
|
+
body: P2ProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3546
|
+
}, initOverrides);
|
|
3547
|
+
return new runtime.VoidApiResponse(response);
|
|
3548
|
+
});
|
|
3549
|
+
}
|
|
3550
|
+
/**
|
|
3551
|
+
* Update p2 proxy repository
|
|
3552
|
+
*/
|
|
3553
|
+
updateP2ProxyRepository(requestParameters, initOverrides) {
|
|
3554
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3555
|
+
yield this.updateP2ProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3556
|
+
});
|
|
3557
|
+
}
|
|
3558
|
+
/**
|
|
3559
|
+
* Update PyPI group repository
|
|
3560
|
+
*/
|
|
3561
|
+
updatePypiGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3562
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3563
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3564
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updatePypiGroupRepository().');
|
|
3565
|
+
}
|
|
3566
|
+
const queryParameters = {};
|
|
3567
|
+
const headerParameters = {};
|
|
3568
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3569
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3570
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3571
|
+
}
|
|
3572
|
+
const response = yield this.request({
|
|
3573
|
+
path: `/v1/repositories/pypi/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3574
|
+
method: 'PUT',
|
|
3575
|
+
headers: headerParameters,
|
|
3576
|
+
query: queryParameters,
|
|
3577
|
+
body: PypiGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3578
|
+
}, initOverrides);
|
|
3579
|
+
return new runtime.VoidApiResponse(response);
|
|
3580
|
+
});
|
|
3581
|
+
}
|
|
3582
|
+
/**
|
|
3583
|
+
* Update PyPI group repository
|
|
3584
|
+
*/
|
|
3585
|
+
updatePypiGroupRepository(requestParameters, initOverrides) {
|
|
3586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3587
|
+
yield this.updatePypiGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3588
|
+
});
|
|
3589
|
+
}
|
|
3590
|
+
/**
|
|
3591
|
+
* Update PyPI hosted repository
|
|
3592
|
+
*/
|
|
3593
|
+
updatePypiHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3594
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3595
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3596
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updatePypiHostedRepository().');
|
|
3597
|
+
}
|
|
3598
|
+
const queryParameters = {};
|
|
3599
|
+
const headerParameters = {};
|
|
3600
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3601
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3602
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3603
|
+
}
|
|
3604
|
+
const response = yield this.request({
|
|
3605
|
+
path: `/v1/repositories/pypi/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3606
|
+
method: 'PUT',
|
|
3607
|
+
headers: headerParameters,
|
|
3608
|
+
query: queryParameters,
|
|
3609
|
+
body: PypiHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3610
|
+
}, initOverrides);
|
|
3611
|
+
return new runtime.VoidApiResponse(response);
|
|
3612
|
+
});
|
|
3613
|
+
}
|
|
3614
|
+
/**
|
|
3615
|
+
* Update PyPI hosted repository
|
|
3616
|
+
*/
|
|
3617
|
+
updatePypiHostedRepository(requestParameters, initOverrides) {
|
|
3618
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3619
|
+
yield this.updatePypiHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3620
|
+
});
|
|
3621
|
+
}
|
|
3622
|
+
/**
|
|
3623
|
+
* Update PyPI proxy repository
|
|
3624
|
+
*/
|
|
3625
|
+
updatePypiProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3627
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3628
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updatePypiProxyRepository().');
|
|
3629
|
+
}
|
|
3630
|
+
const queryParameters = {};
|
|
3631
|
+
const headerParameters = {};
|
|
3632
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3633
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3634
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3635
|
+
}
|
|
3636
|
+
const response = yield this.request({
|
|
3637
|
+
path: `/v1/repositories/pypi/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3638
|
+
method: 'PUT',
|
|
3639
|
+
headers: headerParameters,
|
|
3640
|
+
query: queryParameters,
|
|
3641
|
+
body: PypiProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3642
|
+
}, initOverrides);
|
|
3643
|
+
return new runtime.VoidApiResponse(response);
|
|
3644
|
+
});
|
|
3645
|
+
}
|
|
3646
|
+
/**
|
|
3647
|
+
* Update PyPI proxy repository
|
|
3648
|
+
*/
|
|
3649
|
+
updatePypiProxyRepository(requestParameters, initOverrides) {
|
|
3650
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3651
|
+
yield this.updatePypiProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3652
|
+
});
|
|
3653
|
+
}
|
|
3654
|
+
/**
|
|
3655
|
+
* Update R group repository
|
|
3656
|
+
*/
|
|
3657
|
+
updateRGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3658
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3659
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3660
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRGroupRepository().');
|
|
3661
|
+
}
|
|
3662
|
+
const queryParameters = {};
|
|
3663
|
+
const headerParameters = {};
|
|
3664
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3665
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3666
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3667
|
+
}
|
|
3668
|
+
const response = yield this.request({
|
|
3669
|
+
path: `/v1/repositories/r/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3670
|
+
method: 'PUT',
|
|
3671
|
+
headers: headerParameters,
|
|
3672
|
+
query: queryParameters,
|
|
3673
|
+
body: RGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3674
|
+
}, initOverrides);
|
|
3675
|
+
return new runtime.VoidApiResponse(response);
|
|
3676
|
+
});
|
|
3677
|
+
}
|
|
3678
|
+
/**
|
|
3679
|
+
* Update R group repository
|
|
3680
|
+
*/
|
|
3681
|
+
updateRGroupRepository(requestParameters, initOverrides) {
|
|
3682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3683
|
+
yield this.updateRGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3684
|
+
});
|
|
3685
|
+
}
|
|
3686
|
+
/**
|
|
3687
|
+
* Update R hosted repository
|
|
3688
|
+
*/
|
|
3689
|
+
updateRHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3690
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3691
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3692
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRHostedRepository().');
|
|
3693
|
+
}
|
|
3694
|
+
const queryParameters = {};
|
|
3695
|
+
const headerParameters = {};
|
|
3696
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3697
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3698
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3699
|
+
}
|
|
3700
|
+
const response = yield this.request({
|
|
3701
|
+
path: `/v1/repositories/r/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3702
|
+
method: 'PUT',
|
|
3703
|
+
headers: headerParameters,
|
|
3704
|
+
query: queryParameters,
|
|
3705
|
+
body: RHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3706
|
+
}, initOverrides);
|
|
3707
|
+
return new runtime.VoidApiResponse(response);
|
|
3708
|
+
});
|
|
3709
|
+
}
|
|
3710
|
+
/**
|
|
3711
|
+
* Update R hosted repository
|
|
3712
|
+
*/
|
|
3713
|
+
updateRHostedRepository(requestParameters, initOverrides) {
|
|
3714
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3715
|
+
yield this.updateRHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3716
|
+
});
|
|
3717
|
+
}
|
|
3718
|
+
/**
|
|
3719
|
+
* Update R proxy repository
|
|
3720
|
+
*/
|
|
3721
|
+
updateRProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3722
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3723
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3724
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRProxyRepository().');
|
|
3725
|
+
}
|
|
3726
|
+
const queryParameters = {};
|
|
3727
|
+
const headerParameters = {};
|
|
3728
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3729
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3730
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3731
|
+
}
|
|
3732
|
+
const response = yield this.request({
|
|
3733
|
+
path: `/v1/repositories/r/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3734
|
+
method: 'PUT',
|
|
3735
|
+
headers: headerParameters,
|
|
3736
|
+
query: queryParameters,
|
|
3737
|
+
body: RProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3738
|
+
}, initOverrides);
|
|
3739
|
+
return new runtime.VoidApiResponse(response);
|
|
3740
|
+
});
|
|
3741
|
+
}
|
|
3742
|
+
/**
|
|
3743
|
+
* Update R proxy repository
|
|
3744
|
+
*/
|
|
3745
|
+
updateRProxyRepository(requestParameters, initOverrides) {
|
|
3746
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3747
|
+
yield this.updateRProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3748
|
+
});
|
|
3749
|
+
}
|
|
3750
|
+
/**
|
|
3751
|
+
* Update raw group repository
|
|
3752
|
+
*/
|
|
3753
|
+
updateRawGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3754
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3755
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3756
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRawGroupRepository().');
|
|
3757
|
+
}
|
|
3758
|
+
const queryParameters = {};
|
|
3759
|
+
const headerParameters = {};
|
|
3760
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3761
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3762
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3763
|
+
}
|
|
3764
|
+
const response = yield this.request({
|
|
3765
|
+
path: `/v1/repositories/raw/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3766
|
+
method: 'PUT',
|
|
3767
|
+
headers: headerParameters,
|
|
3768
|
+
query: queryParameters,
|
|
3769
|
+
body: RawGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3770
|
+
}, initOverrides);
|
|
3771
|
+
return new runtime.VoidApiResponse(response);
|
|
3772
|
+
});
|
|
3773
|
+
}
|
|
3774
|
+
/**
|
|
3775
|
+
* Update raw group repository
|
|
3776
|
+
*/
|
|
3777
|
+
updateRawGroupRepository(requestParameters, initOverrides) {
|
|
3778
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3779
|
+
yield this.updateRawGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3780
|
+
});
|
|
3781
|
+
}
|
|
3782
|
+
/**
|
|
3783
|
+
* Update raw hosted repository
|
|
3784
|
+
*/
|
|
3785
|
+
updateRawHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3787
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3788
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRawHostedRepository().');
|
|
3789
|
+
}
|
|
3790
|
+
const queryParameters = {};
|
|
3791
|
+
const headerParameters = {};
|
|
3792
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3793
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3794
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3795
|
+
}
|
|
3796
|
+
const response = yield this.request({
|
|
3797
|
+
path: `/v1/repositories/raw/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3798
|
+
method: 'PUT',
|
|
3799
|
+
headers: headerParameters,
|
|
3800
|
+
query: queryParameters,
|
|
3801
|
+
body: RawHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3802
|
+
}, initOverrides);
|
|
3803
|
+
return new runtime.VoidApiResponse(response);
|
|
3804
|
+
});
|
|
3805
|
+
}
|
|
3806
|
+
/**
|
|
3807
|
+
* Update raw hosted repository
|
|
3808
|
+
*/
|
|
3809
|
+
updateRawHostedRepository(requestParameters, initOverrides) {
|
|
3810
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3811
|
+
yield this.updateRawHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3812
|
+
});
|
|
3813
|
+
}
|
|
3814
|
+
/**
|
|
3815
|
+
* Update raw proxy repository
|
|
3816
|
+
*/
|
|
3817
|
+
updateRawProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3818
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3819
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3820
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRawProxyRepository().');
|
|
3821
|
+
}
|
|
3822
|
+
const queryParameters = {};
|
|
3823
|
+
const headerParameters = {};
|
|
3824
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3825
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3826
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3827
|
+
}
|
|
3828
|
+
const response = yield this.request({
|
|
3829
|
+
path: `/v1/repositories/raw/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3830
|
+
method: 'PUT',
|
|
3831
|
+
headers: headerParameters,
|
|
3832
|
+
query: queryParameters,
|
|
3833
|
+
body: RawProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3834
|
+
}, initOverrides);
|
|
3835
|
+
return new runtime.VoidApiResponse(response);
|
|
3836
|
+
});
|
|
3837
|
+
}
|
|
3838
|
+
/**
|
|
3839
|
+
* Update raw proxy repository
|
|
3840
|
+
*/
|
|
3841
|
+
updateRawProxyRepository(requestParameters, initOverrides) {
|
|
3842
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3843
|
+
yield this.updateRawProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3844
|
+
});
|
|
3845
|
+
}
|
|
3846
|
+
/**
|
|
3847
|
+
* Update RubyGems group repository
|
|
3848
|
+
*/
|
|
3849
|
+
updateRubygemsGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3850
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3851
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3852
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRubygemsGroupRepository().');
|
|
3853
|
+
}
|
|
3854
|
+
const queryParameters = {};
|
|
3855
|
+
const headerParameters = {};
|
|
3856
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3857
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3858
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3859
|
+
}
|
|
3860
|
+
const response = yield this.request({
|
|
3861
|
+
path: `/v1/repositories/rubygems/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3862
|
+
method: 'PUT',
|
|
3863
|
+
headers: headerParameters,
|
|
3864
|
+
query: queryParameters,
|
|
3865
|
+
body: RubyGemsGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3866
|
+
}, initOverrides);
|
|
3867
|
+
return new runtime.VoidApiResponse(response);
|
|
3868
|
+
});
|
|
3869
|
+
}
|
|
3870
|
+
/**
|
|
3871
|
+
* Update RubyGems group repository
|
|
3872
|
+
*/
|
|
3873
|
+
updateRubygemsGroupRepository(requestParameters, initOverrides) {
|
|
3874
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3875
|
+
yield this.updateRubygemsGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3876
|
+
});
|
|
3877
|
+
}
|
|
3878
|
+
/**
|
|
3879
|
+
* Update RubyGems hosted repository
|
|
3880
|
+
*/
|
|
3881
|
+
updateRubygemsHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3882
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3883
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3884
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRubygemsHostedRepository().');
|
|
3885
|
+
}
|
|
3886
|
+
const queryParameters = {};
|
|
3887
|
+
const headerParameters = {};
|
|
3888
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3889
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3890
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3891
|
+
}
|
|
3892
|
+
const response = yield this.request({
|
|
3893
|
+
path: `/v1/repositories/rubygems/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3894
|
+
method: 'PUT',
|
|
3895
|
+
headers: headerParameters,
|
|
3896
|
+
query: queryParameters,
|
|
3897
|
+
body: RubyGemsHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3898
|
+
}, initOverrides);
|
|
3899
|
+
return new runtime.VoidApiResponse(response);
|
|
3900
|
+
});
|
|
3901
|
+
}
|
|
3902
|
+
/**
|
|
3903
|
+
* Update RubyGems hosted repository
|
|
3904
|
+
*/
|
|
3905
|
+
updateRubygemsHostedRepository(requestParameters, initOverrides) {
|
|
3906
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3907
|
+
yield this.updateRubygemsHostedRepositoryRaw(requestParameters, initOverrides);
|
|
3908
|
+
});
|
|
3909
|
+
}
|
|
3910
|
+
/**
|
|
3911
|
+
* Update RubyGems proxy repository
|
|
3912
|
+
*/
|
|
3913
|
+
updateRubygemsProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
3914
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3915
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3916
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateRubygemsProxyRepository().');
|
|
3917
|
+
}
|
|
3918
|
+
const queryParameters = {};
|
|
3919
|
+
const headerParameters = {};
|
|
3920
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3921
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3922
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3923
|
+
}
|
|
3924
|
+
const response = yield this.request({
|
|
3925
|
+
path: `/v1/repositories/rubygems/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3926
|
+
method: 'PUT',
|
|
3927
|
+
headers: headerParameters,
|
|
3928
|
+
query: queryParameters,
|
|
3929
|
+
body: RubyGemsProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3930
|
+
}, initOverrides);
|
|
3931
|
+
return new runtime.VoidApiResponse(response);
|
|
3932
|
+
});
|
|
3933
|
+
}
|
|
3934
|
+
/**
|
|
3935
|
+
* Update RubyGems proxy repository
|
|
3936
|
+
*/
|
|
3937
|
+
updateRubygemsProxyRepository(requestParameters, initOverrides) {
|
|
3938
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3939
|
+
yield this.updateRubygemsProxyRepositoryRaw(requestParameters, initOverrides);
|
|
3940
|
+
});
|
|
3941
|
+
}
|
|
3942
|
+
/**
|
|
3943
|
+
* Update Yum group repository
|
|
3944
|
+
*/
|
|
3945
|
+
updateYumGroupRepositoryRaw(requestParameters, initOverrides) {
|
|
3946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3947
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3948
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateYumGroupRepository().');
|
|
3949
|
+
}
|
|
3950
|
+
const queryParameters = {};
|
|
3951
|
+
const headerParameters = {};
|
|
3952
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3953
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3954
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3955
|
+
}
|
|
3956
|
+
const response = yield this.request({
|
|
3957
|
+
path: `/v1/repositories/yum/group/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3958
|
+
method: 'PUT',
|
|
3959
|
+
headers: headerParameters,
|
|
3960
|
+
query: queryParameters,
|
|
3961
|
+
body: YumGroupRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3962
|
+
}, initOverrides);
|
|
3963
|
+
return new runtime.VoidApiResponse(response);
|
|
3964
|
+
});
|
|
3965
|
+
}
|
|
3966
|
+
/**
|
|
3967
|
+
* Update Yum group repository
|
|
3968
|
+
*/
|
|
3969
|
+
updateYumGroupRepository(requestParameters, initOverrides) {
|
|
3970
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3971
|
+
yield this.updateYumGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3972
|
+
});
|
|
3973
|
+
}
|
|
3974
|
+
/**
|
|
3975
|
+
* Update Yum hosted repository
|
|
3976
|
+
*/
|
|
3977
|
+
updateYumHostedRepositoryRaw(requestParameters, initOverrides) {
|
|
3978
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3979
|
+
if (requestParameters['repositoryName'] == null) {
|
|
3980
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateYumHostedRepository().');
|
|
3981
|
+
}
|
|
3982
|
+
const queryParameters = {};
|
|
3983
|
+
const headerParameters = {};
|
|
3984
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3985
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
3986
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
3987
|
+
}
|
|
3988
|
+
const response = yield this.request({
|
|
3989
|
+
path: `/v1/repositories/yum/hosted/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
3990
|
+
method: 'PUT',
|
|
3991
|
+
headers: headerParameters,
|
|
3992
|
+
query: queryParameters,
|
|
3993
|
+
body: YumHostedRepositoryApiRequestToJSON(requestParameters['body']),
|
|
3994
|
+
}, initOverrides);
|
|
3995
|
+
return new runtime.VoidApiResponse(response);
|
|
3996
|
+
});
|
|
3997
|
+
}
|
|
3998
|
+
/**
|
|
3999
|
+
* Update Yum hosted repository
|
|
4000
|
+
*/
|
|
4001
|
+
updateYumHostedRepository(requestParameters, initOverrides) {
|
|
4002
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4003
|
+
yield this.updateYumHostedRepositoryRaw(requestParameters, initOverrides);
|
|
4004
|
+
});
|
|
4005
|
+
}
|
|
4006
|
+
/**
|
|
4007
|
+
* Update Yum proxy repository
|
|
4008
|
+
*/
|
|
4009
|
+
updateYumProxyRepositoryRaw(requestParameters, initOverrides) {
|
|
4010
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4011
|
+
if (requestParameters['repositoryName'] == null) {
|
|
4012
|
+
throw new runtime.RequiredError('repositoryName', 'Required parameter "repositoryName" was null or undefined when calling updateYumProxyRepository().');
|
|
4013
|
+
}
|
|
4014
|
+
const queryParameters = {};
|
|
4015
|
+
const headerParameters = {};
|
|
4016
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
4017
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
4018
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
4019
|
+
}
|
|
4020
|
+
const response = yield this.request({
|
|
4021
|
+
path: `/v1/repositories/yum/proxy/{repositoryName}`.replace(`{${"repositoryName"}}`, encodeURIComponent(String(requestParameters['repositoryName']))),
|
|
4022
|
+
method: 'PUT',
|
|
4023
|
+
headers: headerParameters,
|
|
4024
|
+
query: queryParameters,
|
|
4025
|
+
body: YumProxyRepositoryApiRequestToJSON(requestParameters['body']),
|
|
4026
|
+
}, initOverrides);
|
|
4027
|
+
return new runtime.VoidApiResponse(response);
|
|
4028
|
+
});
|
|
4029
|
+
}
|
|
4030
|
+
/**
|
|
4031
|
+
* Update Yum proxy repository
|
|
4032
|
+
*/
|
|
4033
|
+
updateYumProxyRepository(requestParameters, initOverrides) {
|
|
4034
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4035
|
+
yield this.updateYumProxyRepositoryRaw(requestParameters, initOverrides);
|
|
4036
|
+
});
|
|
4037
|
+
}
|
|
4038
|
+
}
|