@huaweicloud/huaweicloud-sdk-cdn 3.1.45 → 3.1.47
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cdn.d.ts +1 -0
- package/huaweicloud-sdk-cdn.d.ts.map +1 -0
- package/huaweicloud-sdk-cdn.js +1 -0
- package/huaweicloud-sdk-cdn.js.map +1 -0
- package/package.json +6 -2
- package/v1/CdnClient.d.ts +4 -2
- package/v1/CdnClient.d.ts.map +1 -0
- package/v1/CdnClient.js +498 -516
- package/v1/CdnClient.js.map +1 -0
- package/v1/CdnRegion.d.ts +5 -3
- package/v1/CdnRegion.d.ts.map +1 -0
- package/v1/CdnRegion.js +15 -16
- package/v1/CdnRegion.js.map +1 -0
- package/v1/model/BatchDeleteTagsRequest.d.ts +1 -0
- package/v1/model/BatchDeleteTagsRequest.d.ts.map +1 -0
- package/v1/model/BatchDeleteTagsRequest.js +6 -6
- package/v1/model/BatchDeleteTagsRequest.js.map +1 -0
- package/v1/model/BatchDeleteTagsResponse.d.ts +1 -0
- package/v1/model/BatchDeleteTagsResponse.d.ts.map +1 -0
- package/v1/model/BatchDeleteTagsResponse.js +6 -22
- package/v1/model/BatchDeleteTagsResponse.js.map +1 -0
- package/v1/model/BlackWhiteListBody.d.ts +3 -2
- package/v1/model/BlackWhiteListBody.d.ts.map +1 -0
- package/v1/model/BlackWhiteListBody.js +14 -18
- package/v1/model/BlackWhiteListBody.js.map +1 -0
- package/v1/model/CacheConfig.d.ts +1 -0
- package/v1/model/CacheConfig.d.ts.map +1 -0
- package/v1/model/CacheConfig.js +24 -32
- package/v1/model/CacheConfig.js.map +1 -0
- package/v1/model/CacheConfigRequest.d.ts +1 -0
- package/v1/model/CacheConfigRequest.d.ts.map +1 -0
- package/v1/model/CacheConfigRequest.js +24 -32
- package/v1/model/CacheConfigRequest.js.map +1 -0
- package/v1/model/CacheConfigRequestBody.d.ts +3 -2
- package/v1/model/CacheConfigRequestBody.d.ts.map +1 -0
- package/v1/model/CacheConfigRequestBody.js +12 -16
- package/v1/model/CacheConfigRequestBody.js.map +1 -0
- package/v1/model/CacheRules.d.ts +8 -7
- package/v1/model/CacheRules.d.ts.map +1 -0
- package/v1/model/CacheRules.js +56 -80
- package/v1/model/CacheRules.js.map +1 -0
- package/v1/model/CacheUrlParameterFilter.d.ts +1 -0
- package/v1/model/CacheUrlParameterFilter.d.ts.map +1 -0
- package/v1/model/CacheUrlParameterFilter.js +8 -8
- package/v1/model/CacheUrlParameterFilter.js.map +1 -0
- package/v1/model/CdnIps.d.ts +1 -0
- package/v1/model/CdnIps.d.ts.map +1 -0
- package/v1/model/CdnIps.js +14 -14
- package/v1/model/CdnIps.js.map +1 -0
- package/v1/model/Compress.d.ts +3 -2
- package/v1/model/Compress.d.ts.map +1 -0
- package/v1/model/Compress.js +8 -8
- package/v1/model/Compress.js.map +1 -0
- package/v1/model/CompressRequest.d.ts +1 -0
- package/v1/model/CompressRequest.d.ts.map +1 -0
- package/v1/model/CompressRequest.js +12 -16
- package/v1/model/CompressRequest.js.map +1 -0
- package/v1/model/CompressResponse.d.ts +3 -2
- package/v1/model/CompressResponse.d.ts.map +1 -0
- package/v1/model/CompressResponse.js +20 -28
- package/v1/model/CompressResponse.js.map +1 -0
- package/v1/model/CompressRules.d.ts +1 -0
- package/v1/model/CompressRules.d.ts.map +1 -0
- package/v1/model/CompressRules.js +20 -28
- package/v1/model/CompressRules.js.map +1 -0
- package/v1/model/Configs.d.ts +1 -0
- package/v1/model/Configs.d.ts.map +1 -0
- package/v1/model/Configs.js +132 -192
- package/v1/model/Configs.js.map +1 -0
- package/v1/model/ConfigsGetBody.d.ts +1 -0
- package/v1/model/ConfigsGetBody.d.ts.map +1 -0
- package/v1/model/ConfigsGetBody.js +132 -192
- package/v1/model/ConfigsGetBody.js.map +1 -0
- package/v1/model/CreateDomainRequest.d.ts +1 -0
- package/v1/model/CreateDomainRequest.d.ts.map +1 -0
- package/v1/model/CreateDomainRequest.js +6 -6
- package/v1/model/CreateDomainRequest.js.map +1 -0
- package/v1/model/CreateDomainRequestBody.d.ts +3 -2
- package/v1/model/CreateDomainRequestBody.d.ts.map +1 -0
- package/v1/model/CreateDomainRequestBody.js +6 -6
- package/v1/model/CreateDomainRequestBody.js.map +1 -0
- package/v1/model/CreateDomainResponse.d.ts +1 -0
- package/v1/model/CreateDomainResponse.d.ts.map +1 -0
- package/v1/model/CreateDomainResponse.js +8 -24
- package/v1/model/CreateDomainResponse.js.map +1 -0
- package/v1/model/CreateDomainResponseBodyContent.d.ts +1 -0
- package/v1/model/CreateDomainResponseBodyContent.d.ts.map +1 -0
- package/v1/model/CreateDomainResponseBodyContent.js +118 -170
- package/v1/model/CreateDomainResponseBodyContent.js.map +1 -0
- package/v1/model/CreatePreheatingTasksRequest.d.ts +1 -0
- package/v1/model/CreatePreheatingTasksRequest.d.ts.map +1 -0
- package/v1/model/CreatePreheatingTasksRequest.js +14 -18
- package/v1/model/CreatePreheatingTasksRequest.js.map +1 -0
- package/v1/model/CreatePreheatingTasksResponse.d.ts +1 -0
- package/v1/model/CreatePreheatingTasksResponse.d.ts.map +1 -0
- package/v1/model/CreatePreheatingTasksResponse.js +14 -34
- package/v1/model/CreatePreheatingTasksResponse.js.map +1 -0
- package/v1/model/CreateRefreshTasksRequest.d.ts +1 -0
- package/v1/model/CreateRefreshTasksRequest.d.ts.map +1 -0
- package/v1/model/CreateRefreshTasksRequest.js +14 -18
- package/v1/model/CreateRefreshTasksRequest.js.map +1 -0
- package/v1/model/CreateRefreshTasksResponse.d.ts +1 -0
- package/v1/model/CreateRefreshTasksResponse.d.ts.map +1 -0
- package/v1/model/CreateRefreshTasksResponse.js +14 -34
- package/v1/model/CreateRefreshTasksResponse.js.map +1 -0
- package/v1/model/CreateTagsRequest.d.ts +1 -0
- package/v1/model/CreateTagsRequest.d.ts.map +1 -0
- package/v1/model/CreateTagsRequest.js +6 -6
- package/v1/model/CreateTagsRequest.js.map +1 -0
- package/v1/model/CreateTagsRequestBody.d.ts +4 -3
- package/v1/model/CreateTagsRequestBody.d.ts.map +1 -0
- package/v1/model/CreateTagsRequestBody.js +14 -18
- package/v1/model/CreateTagsRequestBody.js.map +1 -0
- package/v1/model/CreateTagsResponse.d.ts +1 -0
- package/v1/model/CreateTagsResponse.d.ts.map +1 -0
- package/v1/model/CreateTagsResponse.js +6 -22
- package/v1/model/CreateTagsResponse.js.map +1 -0
- package/v1/model/DeleteDomainRequest.d.ts +3 -2
- package/v1/model/DeleteDomainRequest.d.ts.map +1 -0
- package/v1/model/DeleteDomainRequest.js +20 -28
- package/v1/model/DeleteDomainRequest.js.map +1 -0
- package/v1/model/DeleteDomainResponse.d.ts +1 -0
- package/v1/model/DeleteDomainResponse.d.ts.map +1 -0
- package/v1/model/DeleteDomainResponse.js +8 -24
- package/v1/model/DeleteDomainResponse.js.map +1 -0
- package/v1/model/DeleteTagsRequestBody.d.ts +4 -3
- package/v1/model/DeleteTagsRequestBody.d.ts.map +1 -0
- package/v1/model/DeleteTagsRequestBody.js +14 -18
- package/v1/model/DeleteTagsRequestBody.js.map +1 -0
- package/v1/model/DisableDomainRequest.d.ts +3 -2
- package/v1/model/DisableDomainRequest.d.ts.map +1 -0
- package/v1/model/DisableDomainRequest.js +20 -28
- package/v1/model/DisableDomainRequest.js.map +1 -0
- package/v1/model/DisableDomainResponse.d.ts +1 -0
- package/v1/model/DisableDomainResponse.d.ts.map +1 -0
- package/v1/model/DisableDomainResponse.js +8 -24
- package/v1/model/DisableDomainResponse.js.map +1 -0
- package/v1/model/DomainBody.d.ts +12 -11
- package/v1/model/DomainBody.d.ts.map +1 -0
- package/v1/model/DomainBody.js +40 -56
- package/v1/model/DomainBody.js.map +1 -0
- package/v1/model/DomainItemDetail.d.ts +1 -0
- package/v1/model/DomainItemDetail.d.ts.map +1 -0
- package/v1/model/DomainItemDetail.js +30 -42
- package/v1/model/DomainItemDetail.js.map +1 -0
- package/v1/model/DomainItemLocationDetails.d.ts +1 -0
- package/v1/model/DomainItemLocationDetails.d.ts.map +1 -0
- package/v1/model/DomainItemLocationDetails.js +30 -42
- package/v1/model/DomainItemLocationDetails.js.map +1 -0
- package/v1/model/DomainOriginHost.d.ts +3 -2
- package/v1/model/DomainOriginHost.d.ts.map +1 -0
- package/v1/model/DomainOriginHost.js +28 -40
- package/v1/model/DomainOriginHost.js.map +1 -0
- package/v1/model/DomainRegion.d.ts +1 -0
- package/v1/model/DomainRegion.d.ts.map +1 -0
- package/v1/model/DomainRegion.js +20 -28
- package/v1/model/DomainRegion.js.map +1 -0
- package/v1/model/Domains.d.ts +4 -3
- package/v1/model/Domains.d.ts.map +1 -0
- package/v1/model/Domains.js +145 -209
- package/v1/model/Domains.js.map +1 -0
- package/v1/model/DomainsWithPort.d.ts +4 -3
- package/v1/model/DomainsWithPort.d.ts.map +1 -0
- package/v1/model/DomainsWithPort.js +143 -207
- package/v1/model/DomainsWithPort.js.map +1 -0
- package/v1/model/EnableDomainRequest.d.ts +3 -2
- package/v1/model/EnableDomainRequest.d.ts.map +1 -0
- package/v1/model/EnableDomainRequest.js +20 -28
- package/v1/model/EnableDomainRequest.js.map +1 -0
- package/v1/model/EnableDomainResponse.d.ts +1 -0
- package/v1/model/EnableDomainResponse.d.ts.map +1 -0
- package/v1/model/EnableDomainResponse.js +8 -24
- package/v1/model/EnableDomainResponse.js.map +1 -0
- package/v1/model/EpResourceTag.d.ts +4 -3
- package/v1/model/EpResourceTag.d.ts.map +1 -0
- package/v1/model/EpResourceTag.js +8 -8
- package/v1/model/EpResourceTag.js.map +1 -0
- package/v1/model/ErrorCodeCache.d.ts +1 -0
- package/v1/model/ErrorCodeCache.d.ts.map +1 -0
- package/v1/model/ErrorCodeCache.js +8 -8
- package/v1/model/ErrorCodeCache.js.map +1 -0
- package/v1/model/ErrorCodeRedirectRules.d.ts +5 -4
- package/v1/model/ErrorCodeRedirectRules.d.ts.map +1 -0
- package/v1/model/ErrorCodeRedirectRules.js +28 -40
- package/v1/model/ErrorCodeRedirectRules.js.map +1 -0
- package/v1/model/Follow302StatusBody.d.ts +4 -3
- package/v1/model/Follow302StatusBody.d.ts.map +1 -0
- package/v1/model/Follow302StatusBody.js +21 -29
- package/v1/model/Follow302StatusBody.js.map +1 -0
- package/v1/model/Follow302StatusRequest.d.ts +6 -5
- package/v1/model/Follow302StatusRequest.d.ts.map +1 -0
- package/v1/model/Follow302StatusRequest.js +13 -17
- package/v1/model/Follow302StatusRequest.js.map +1 -0
- package/v1/model/ForceRedirect.d.ts +3 -2
- package/v1/model/ForceRedirect.d.ts.map +1 -0
- package/v1/model/ForceRedirect.js +20 -28
- package/v1/model/ForceRedirect.js.map +1 -0
- package/v1/model/ForceRedirectConfig.d.ts +3 -2
- package/v1/model/ForceRedirectConfig.d.ts.map +1 -0
- package/v1/model/ForceRedirectConfig.js +16 -20
- package/v1/model/ForceRedirectConfig.js.map +1 -0
- package/v1/model/HeaderBody.d.ts +1 -0
- package/v1/model/HeaderBody.d.ts.map +1 -0
- package/v1/model/HeaderBody.js +6 -6
- package/v1/model/HeaderBody.js.map +1 -0
- package/v1/model/HeaderMap.d.ts +1 -0
- package/v1/model/HeaderMap.d.ts.map +1 -0
- package/v1/model/HeaderMap.js +52 -76
- package/v1/model/HeaderMap.js.map +1 -0
- package/v1/model/HttpGetBody.d.ts +1 -0
- package/v1/model/HttpGetBody.d.ts.map +1 -0
- package/v1/model/HttpGetBody.js +52 -76
- package/v1/model/HttpGetBody.js.map +1 -0
- package/v1/model/HttpInfoRequest.d.ts +3 -2
- package/v1/model/HttpInfoRequest.d.ts.map +1 -0
- package/v1/model/HttpInfoRequest.js +6 -6
- package/v1/model/HttpInfoRequest.js.map +1 -0
- package/v1/model/HttpInfoRequestBody.d.ts +4 -3
- package/v1/model/HttpInfoRequestBody.d.ts.map +1 -0
- package/v1/model/HttpInfoRequestBody.js +56 -80
- package/v1/model/HttpInfoRequestBody.js.map +1 -0
- package/v1/model/HttpInfoResponseBody.d.ts +1 -0
- package/v1/model/HttpInfoResponseBody.d.ts.map +1 -0
- package/v1/model/HttpInfoResponseBody.js +64 -92
- package/v1/model/HttpInfoResponseBody.js.map +1 -0
- package/v1/model/HttpPutBody.d.ts +1 -0
- package/v1/model/HttpPutBody.d.ts.map +1 -0
- package/v1/model/HttpPutBody.js +60 -88
- package/v1/model/HttpPutBody.js.map +1 -0
- package/v1/model/HttpResponseHeader.d.ts +4 -3
- package/v1/model/HttpResponseHeader.d.ts.map +1 -0
- package/v1/model/HttpResponseHeader.js +10 -10
- package/v1/model/HttpResponseHeader.js.map +1 -0
- package/v1/model/HttpsDetail.d.ts +1 -0
- package/v1/model/HttpsDetail.d.ts.map +1 -0
- package/v1/model/HttpsDetail.js +80 -116
- package/v1/model/HttpsDetail.js.map +1 -0
- package/v1/model/IpFilter.d.ts +3 -2
- package/v1/model/IpFilter.d.ts.map +1 -0
- package/v1/model/IpFilter.js +8 -8
- package/v1/model/IpFilter.js.map +1 -0
- package/v1/model/ListDomainsRequest.d.ts +10 -9
- package/v1/model/ListDomainsRequest.d.ts.map +1 -0
- package/v1/model/ListDomainsRequest.js +79 -115
- package/v1/model/ListDomainsRequest.js.map +1 -0
- package/v1/model/ListDomainsResponse.d.ts +1 -0
- package/v1/model/ListDomainsResponse.d.ts.map +1 -0
- package/v1/model/ListDomainsResponse.js +10 -26
- package/v1/model/ListDomainsResponse.js.map +1 -0
- package/v1/model/LogObject.d.ts +1 -0
- package/v1/model/LogObject.d.ts.map +1 -0
- package/v1/model/LogObject.js +34 -46
- package/v1/model/LogObject.js.map +1 -0
- package/v1/model/ModelMap.d.ts +3 -2
- package/v1/model/ModelMap.d.ts.map +1 -0
- package/v1/model/ModelMap.js +8 -8
- package/v1/model/ModelMap.js.map +1 -0
- package/v1/model/ModifyDomainConfigRequestBody.d.ts +1 -0
- package/v1/model/ModifyDomainConfigRequestBody.d.ts.map +1 -0
- package/v1/model/ModifyDomainConfigRequestBody.js +6 -6
- package/v1/model/ModifyDomainConfigRequestBody.js.map +1 -0
- package/v1/model/OriginHostBody.d.ts +6 -5
- package/v1/model/OriginHostBody.d.ts.map +1 -0
- package/v1/model/OriginHostBody.js +21 -29
- package/v1/model/OriginHostBody.js.map +1 -0
- package/v1/model/OriginHostRequest.d.ts +3 -2
- package/v1/model/OriginHostRequest.d.ts.map +1 -0
- package/v1/model/OriginHostRequest.js +12 -16
- package/v1/model/OriginHostRequest.js.map +1 -0
- package/v1/model/OriginRangeBody.d.ts +4 -3
- package/v1/model/OriginRangeBody.d.ts.map +1 -0
- package/v1/model/OriginRangeBody.js +21 -29
- package/v1/model/OriginRangeBody.js.map +1 -0
- package/v1/model/OriginRequest.d.ts +3 -2
- package/v1/model/OriginRequest.d.ts.map +1 -0
- package/v1/model/OriginRequest.js +6 -6
- package/v1/model/OriginRequest.js.map +1 -0
- package/v1/model/OriginRequestHeader.d.ts +4 -3
- package/v1/model/OriginRequestHeader.d.ts.map +1 -0
- package/v1/model/OriginRequestHeader.js +10 -10
- package/v1/model/OriginRequestHeader.js.map +1 -0
- package/v1/model/OriginRequestUrlRewrite.d.ts +5 -4
- package/v1/model/OriginRequestUrlRewrite.d.ts.map +1 -0
- package/v1/model/OriginRequestUrlRewrite.js +30 -42
- package/v1/model/OriginRequestUrlRewrite.js.map +1 -0
- package/v1/model/PreheatingTaskRequest.d.ts +3 -2
- package/v1/model/PreheatingTaskRequest.d.ts.map +1 -0
- package/v1/model/PreheatingTaskRequest.js +12 -16
- package/v1/model/PreheatingTaskRequest.js.map +1 -0
- package/v1/model/PreheatingTaskRequestBody.d.ts +3 -2
- package/v1/model/PreheatingTaskRequestBody.d.ts.map +1 -0
- package/v1/model/PreheatingTaskRequestBody.js +6 -6
- package/v1/model/PreheatingTaskRequestBody.js.map +1 -0
- package/v1/model/Quotas.d.ts +1 -0
- package/v1/model/Quotas.d.ts.map +1 -0
- package/v1/model/Quotas.js +24 -32
- package/v1/model/Quotas.js.map +1 -0
- package/v1/model/RangeStatusRequest.d.ts +6 -5
- package/v1/model/RangeStatusRequest.d.ts.map +1 -0
- package/v1/model/RangeStatusRequest.js +13 -17
- package/v1/model/RangeStatusRequest.js.map +1 -0
- package/v1/model/Referer.d.ts +3 -2
- package/v1/model/Referer.d.ts.map +1 -0
- package/v1/model/Referer.js +28 -40
- package/v1/model/Referer.js.map +1 -0
- package/v1/model/RefererBody.d.ts +3 -2
- package/v1/model/RefererBody.d.ts.map +1 -0
- package/v1/model/RefererBody.js +6 -6
- package/v1/model/RefererBody.js.map +1 -0
- package/v1/model/RefererConfig.d.ts +3 -2
- package/v1/model/RefererConfig.d.ts.map +1 -0
- package/v1/model/RefererConfig.js +16 -20
- package/v1/model/RefererConfig.js.map +1 -0
- package/v1/model/RefererRsp.d.ts +1 -0
- package/v1/model/RefererRsp.d.ts.map +1 -0
- package/v1/model/RefererRsp.js +28 -40
- package/v1/model/RefererRsp.js.map +1 -0
- package/v1/model/RefreshTaskRequest.d.ts +3 -2
- package/v1/model/RefreshTaskRequest.d.ts.map +1 -0
- package/v1/model/RefreshTaskRequest.js +12 -16
- package/v1/model/RefreshTaskRequest.js.map +1 -0
- package/v1/model/RefreshTaskRequestBody.d.ts +7 -6
- package/v1/model/RefreshTaskRequestBody.d.ts.map +1 -0
- package/v1/model/RefreshTaskRequestBody.js +12 -12
- package/v1/model/RefreshTaskRequestBody.js.map +1 -0
- package/v1/model/ResourceBody.d.ts +3 -2
- package/v1/model/ResourceBody.d.ts.map +1 -0
- package/v1/model/ResourceBody.js +6 -6
- package/v1/model/ResourceBody.js.map +1 -0
- package/v1/model/Rules.d.ts +6 -5
- package/v1/model/Rules.d.ts.map +1 -0
- package/v1/model/Rules.js +26 -34
- package/v1/model/Rules.js.map +1 -0
- package/v1/model/ShowBlackWhiteListRequest.d.ts +3 -2
- package/v1/model/ShowBlackWhiteListRequest.d.ts.map +1 -0
- package/v1/model/ShowBlackWhiteListRequest.js +20 -28
- package/v1/model/ShowBlackWhiteListRequest.js.map +1 -0
- package/v1/model/ShowBlackWhiteListResponse.d.ts +1 -0
- package/v1/model/ShowBlackWhiteListResponse.d.ts.map +1 -0
- package/v1/model/ShowBlackWhiteListResponse.js +16 -36
- package/v1/model/ShowBlackWhiteListResponse.js.map +1 -0
- package/v1/model/ShowCacheRulesRequest.d.ts +3 -2
- package/v1/model/ShowCacheRulesRequest.d.ts.map +1 -0
- package/v1/model/ShowCacheRulesRequest.js +20 -28
- package/v1/model/ShowCacheRulesRequest.js.map +1 -0
- package/v1/model/ShowCacheRulesResponse.d.ts +1 -0
- package/v1/model/ShowCacheRulesResponse.d.ts.map +1 -0
- package/v1/model/ShowCacheRulesResponse.js +14 -34
- package/v1/model/ShowCacheRulesResponse.js.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +1 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.js +44 -64
- package/v1/model/ShowCertificatesHttpsInfoRequest.js.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +1 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.js +10 -26
- package/v1/model/ShowCertificatesHttpsInfoResponse.js.map +1 -0
- package/v1/model/ShowDomainDetailRequest.d.ts +3 -2
- package/v1/model/ShowDomainDetailRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainDetailRequest.js +20 -28
- package/v1/model/ShowDomainDetailRequest.js.map +1 -0
- package/v1/model/ShowDomainDetailResponse.d.ts +1 -0
- package/v1/model/ShowDomainDetailResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainDetailResponse.js +8 -24
- package/v1/model/ShowDomainDetailResponse.js.map +1 -0
- package/v1/model/ShowDomainFullConfigRequest.d.ts +3 -2
- package/v1/model/ShowDomainFullConfigRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainFullConfigRequest.js +20 -28
- package/v1/model/ShowDomainFullConfigRequest.js.map +1 -0
- package/v1/model/ShowDomainFullConfigResponse.d.ts +1 -0
- package/v1/model/ShowDomainFullConfigResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainFullConfigResponse.js +8 -24
- package/v1/model/ShowDomainFullConfigResponse.js.map +1 -0
- package/v1/model/ShowDomainItemDetailsRequest.d.ts +6 -5
- package/v1/model/ShowDomainItemDetailsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainItemDetailsRequest.js +52 -76
- package/v1/model/ShowDomainItemDetailsRequest.js.map +1 -0
- package/v1/model/ShowDomainItemDetailsResponse.d.ts +1 -0
- package/v1/model/ShowDomainItemDetailsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainItemDetailsResponse.js +14 -34
- package/v1/model/ShowDomainItemDetailsResponse.js.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +8 -7
- package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.js +48 -68
- package/v1/model/ShowDomainItemLocationDetailsRequest.js.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +1 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.js +14 -34
- package/v1/model/ShowDomainItemLocationDetailsResponse.js.map +1 -0
- package/v1/model/ShowDomainLocationStatsRequest.d.ts +7 -6
- package/v1/model/ShowDomainLocationStatsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainLocationStatsRequest.js +62 -86
- package/v1/model/ShowDomainLocationStatsRequest.js.map +1 -0
- package/v1/model/ShowDomainLocationStatsResponse.d.ts +1 -0
- package/v1/model/ShowDomainLocationStatsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainLocationStatsResponse.js +16 -36
- package/v1/model/ShowDomainLocationStatsResponse.js.map +1 -0
- package/v1/model/ShowDomainStatsRequest.d.ts +7 -6
- package/v1/model/ShowDomainStatsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainStatsRequest.js +64 -92
- package/v1/model/ShowDomainStatsRequest.js.map +1 -0
- package/v1/model/ShowDomainStatsResponse.d.ts +1 -0
- package/v1/model/ShowDomainStatsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainStatsResponse.js +8 -24
- package/v1/model/ShowDomainStatsResponse.js.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +3 -2
- package/v1/model/ShowHistoryTaskDetailsRequest.d.ts.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.js +48 -68
- package/v1/model/ShowHistoryTaskDetailsRequest.js.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +1 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.d.ts.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.js +44 -72
- package/v1/model/ShowHistoryTaskDetailsResponse.js.map +1 -0
- package/v1/model/ShowHistoryTasksRequest.d.ts +6 -5
- package/v1/model/ShowHistoryTasksRequest.d.ts.map +1 -0
- package/v1/model/ShowHistoryTasksRequest.js +72 -104
- package/v1/model/ShowHistoryTasksRequest.js.map +1 -0
- package/v1/model/ShowHistoryTasksResponse.d.ts +1 -0
- package/v1/model/ShowHistoryTasksResponse.d.ts.map +1 -0
- package/v1/model/ShowHistoryTasksResponse.js +10 -26
- package/v1/model/ShowHistoryTasksResponse.js.map +1 -0
- package/v1/model/ShowHttpInfoRequest.d.ts +3 -2
- package/v1/model/ShowHttpInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowHttpInfoRequest.js +20 -28
- package/v1/model/ShowHttpInfoRequest.js.map +1 -0
- package/v1/model/ShowHttpInfoResponse.d.ts +1 -0
- package/v1/model/ShowHttpInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowHttpInfoResponse.js +8 -24
- package/v1/model/ShowHttpInfoResponse.js.map +1 -0
- package/v1/model/ShowIpInfoRequest.d.ts +3 -2
- package/v1/model/ShowIpInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowIpInfoRequest.js +14 -18
- package/v1/model/ShowIpInfoRequest.js.map +1 -0
- package/v1/model/ShowIpInfoResponse.d.ts +1 -0
- package/v1/model/ShowIpInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowIpInfoResponse.js +14 -34
- package/v1/model/ShowIpInfoResponse.js.map +1 -0
- package/v1/model/ShowLogsRequest.d.ts +3 -2
- package/v1/model/ShowLogsRequest.d.ts.map +1 -0
- package/v1/model/ShowLogsRequest.js +52 -76
- package/v1/model/ShowLogsRequest.js.map +1 -0
- package/v1/model/ShowLogsResponse.d.ts +1 -0
- package/v1/model/ShowLogsResponse.d.ts.map +1 -0
- package/v1/model/ShowLogsResponse.js +10 -26
- package/v1/model/ShowLogsResponse.js.map +1 -0
- package/v1/model/ShowOriginHostRequest.d.ts +3 -2
- package/v1/model/ShowOriginHostRequest.d.ts.map +1 -0
- package/v1/model/ShowOriginHostRequest.js +20 -28
- package/v1/model/ShowOriginHostRequest.js.map +1 -0
- package/v1/model/ShowOriginHostResponse.d.ts +1 -0
- package/v1/model/ShowOriginHostResponse.d.ts.map +1 -0
- package/v1/model/ShowOriginHostResponse.js +14 -34
- package/v1/model/ShowOriginHostResponse.js.map +1 -0
- package/v1/model/ShowQuotaRequest.d.ts +1 -0
- package/v1/model/ShowQuotaRequest.d.ts.map +1 -0
- package/v1/model/ShowQuotaRequest.js +4 -4
- package/v1/model/ShowQuotaRequest.js.map +1 -0
- package/v1/model/ShowQuotaResponse.d.ts +1 -0
- package/v1/model/ShowQuotaResponse.d.ts.map +1 -0
- package/v1/model/ShowQuotaResponse.js +8 -24
- package/v1/model/ShowQuotaResponse.js.map +1 -0
- package/v1/model/ShowReferRequest.d.ts +3 -2
- package/v1/model/ShowReferRequest.d.ts.map +1 -0
- package/v1/model/ShowReferRequest.js +20 -28
- package/v1/model/ShowReferRequest.js.map +1 -0
- package/v1/model/ShowReferResponse.d.ts +1 -0
- package/v1/model/ShowReferResponse.d.ts.map +1 -0
- package/v1/model/ShowReferResponse.js +8 -24
- package/v1/model/ShowReferResponse.js.map +1 -0
- package/v1/model/ShowResponseHeaderRequest.d.ts +3 -2
- package/v1/model/ShowResponseHeaderRequest.d.ts.map +1 -0
- package/v1/model/ShowResponseHeaderRequest.js +20 -28
- package/v1/model/ShowResponseHeaderRequest.js.map +1 -0
- package/v1/model/ShowResponseHeaderResponse.d.ts +1 -0
- package/v1/model/ShowResponseHeaderResponse.d.ts.map +1 -0
- package/v1/model/ShowResponseHeaderResponse.js +8 -24
- package/v1/model/ShowResponseHeaderResponse.js.map +1 -0
- package/v1/model/ShowTagsRequest.d.ts +3 -2
- package/v1/model/ShowTagsRequest.d.ts.map +1 -0
- package/v1/model/ShowTagsRequest.js +12 -16
- package/v1/model/ShowTagsRequest.js.map +1 -0
- package/v1/model/ShowTagsResponse.d.ts +1 -0
- package/v1/model/ShowTagsResponse.d.ts.map +1 -0
- package/v1/model/ShowTagsResponse.js +8 -24
- package/v1/model/ShowTagsResponse.js.map +1 -0
- package/v1/model/ShowTopUrlRequest.d.ts +12 -11
- package/v1/model/ShowTopUrlRequest.d.ts.map +1 -0
- package/v1/model/ShowTopUrlRequest.js +54 -78
- package/v1/model/ShowTopUrlRequest.js.map +1 -0
- package/v1/model/ShowTopUrlResponse.d.ts +1 -0
- package/v1/model/ShowTopUrlResponse.d.ts.map +1 -0
- package/v1/model/ShowTopUrlResponse.js +22 -46
- package/v1/model/ShowTopUrlResponse.js.map +1 -0
- package/v1/model/ShowUrlTaskInfoRequest.d.ts +1 -0
- package/v1/model/ShowUrlTaskInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowUrlTaskInfoRequest.js +44 -60
- package/v1/model/ShowUrlTaskInfoRequest.js.map +1 -0
- package/v1/model/ShowUrlTaskInfoResponse.d.ts +1 -0
- package/v1/model/ShowUrlTaskInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowUrlTaskInfoResponse.js +20 -40
- package/v1/model/ShowUrlTaskInfoResponse.js.map +1 -0
- package/v1/model/SourceWithPort.d.ts +8 -7
- package/v1/model/SourceWithPort.d.ts.map +1 -0
- package/v1/model/SourceWithPort.js +61 -89
- package/v1/model/SourceWithPort.js.map +1 -0
- package/v1/model/Sources.d.ts +8 -7
- package/v1/model/Sources.d.ts.map +1 -0
- package/v1/model/Sources.js +45 -65
- package/v1/model/Sources.js.map +1 -0
- package/v1/model/SourcesConfig.d.ts +5 -4
- package/v1/model/SourcesConfig.d.ts.map +1 -0
- package/v1/model/SourcesConfig.js +54 -78
- package/v1/model/SourcesConfig.js.map +1 -0
- package/v1/model/TasksObject.d.ts +7 -6
- package/v1/model/TasksObject.d.ts.map +1 -0
- package/v1/model/TasksObject.js +42 -54
- package/v1/model/TasksObject.js.map +1 -0
- package/v1/model/TopUrlSummary.d.ts +1 -0
- package/v1/model/TopUrlSummary.d.ts.map +1 -0
- package/v1/model/TopUrlSummary.js +32 -44
- package/v1/model/TopUrlSummary.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListRequest.d.ts +3 -2
- package/v1/model/UpdateBlackWhiteListRequest.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListRequest.js +22 -30
- package/v1/model/UpdateBlackWhiteListRequest.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListResponse.d.ts +1 -0
- package/v1/model/UpdateBlackWhiteListResponse.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListResponse.js +12 -28
- package/v1/model/UpdateBlackWhiteListResponse.js.map +1 -0
- package/v1/model/UpdateCacheRulesRequest.d.ts +3 -2
- package/v1/model/UpdateCacheRulesRequest.d.ts.map +1 -0
- package/v1/model/UpdateCacheRulesRequest.js +22 -30
- package/v1/model/UpdateCacheRulesRequest.js.map +1 -0
- package/v1/model/UpdateCacheRulesResponse.d.ts +1 -0
- package/v1/model/UpdateCacheRulesResponse.d.ts.map +1 -0
- package/v1/model/UpdateCacheRulesResponse.js +14 -34
- package/v1/model/UpdateCacheRulesResponse.js.map +1 -0
- package/v1/model/UpdateDomainFullConfigRequest.d.ts +3 -2
- package/v1/model/UpdateDomainFullConfigRequest.d.ts.map +1 -0
- package/v1/model/UpdateDomainFullConfigRequest.js +22 -30
- package/v1/model/UpdateDomainFullConfigRequest.js.map +1 -0
- package/v1/model/UpdateDomainFullConfigResponse.d.ts +1 -0
- package/v1/model/UpdateDomainFullConfigResponse.d.ts.map +1 -0
- package/v1/model/UpdateDomainFullConfigResponse.js +6 -22
- package/v1/model/UpdateDomainFullConfigResponse.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.js +14 -18
- package/v1/model/UpdateDomainMultiCertificatesRequest.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +6 -6
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +4 -3
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +72 -104
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.js +8 -24
- package/v1/model/UpdateDomainMultiCertificatesResponse.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +3 -2
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +72 -104
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js.map +1 -0
- package/v1/model/UpdateDomainOriginRequest.d.ts +3 -2
- package/v1/model/UpdateDomainOriginRequest.d.ts.map +1 -0
- package/v1/model/UpdateDomainOriginRequest.js +22 -30
- package/v1/model/UpdateDomainOriginRequest.js.map +1 -0
- package/v1/model/UpdateDomainOriginResponse.d.ts +1 -0
- package/v1/model/UpdateDomainOriginResponse.d.ts.map +1 -0
- package/v1/model/UpdateDomainOriginResponse.js +8 -24
- package/v1/model/UpdateDomainOriginResponse.js.map +1 -0
- package/v1/model/UpdateFollow302SwitchRequest.d.ts +3 -2
- package/v1/model/UpdateFollow302SwitchRequest.d.ts.map +1 -0
- package/v1/model/UpdateFollow302SwitchRequest.js +22 -30
- package/v1/model/UpdateFollow302SwitchRequest.js.map +1 -0
- package/v1/model/UpdateFollow302SwitchResponse.d.ts +1 -0
- package/v1/model/UpdateFollow302SwitchResponse.d.ts.map +1 -0
- package/v1/model/UpdateFollow302SwitchResponse.js +14 -34
- package/v1/model/UpdateFollow302SwitchResponse.js.map +1 -0
- package/v1/model/UpdateHttpsInfoRequest.d.ts +3 -2
- package/v1/model/UpdateHttpsInfoRequest.d.ts.map +1 -0
- package/v1/model/UpdateHttpsInfoRequest.js +22 -30
- package/v1/model/UpdateHttpsInfoRequest.js.map +1 -0
- package/v1/model/UpdateHttpsInfoResponse.d.ts +1 -0
- package/v1/model/UpdateHttpsInfoResponse.d.ts.map +1 -0
- package/v1/model/UpdateHttpsInfoResponse.js +8 -24
- package/v1/model/UpdateHttpsInfoResponse.js.map +1 -0
- package/v1/model/UpdateOriginHostRequest.d.ts +3 -2
- package/v1/model/UpdateOriginHostRequest.d.ts.map +1 -0
- package/v1/model/UpdateOriginHostRequest.js +22 -30
- package/v1/model/UpdateOriginHostRequest.js.map +1 -0
- package/v1/model/UpdateOriginHostResponse.d.ts +1 -0
- package/v1/model/UpdateOriginHostResponse.d.ts.map +1 -0
- package/v1/model/UpdateOriginHostResponse.js +14 -34
- package/v1/model/UpdateOriginHostResponse.js.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessBody.d.ts +1 -0
- package/v1/model/UpdatePrivateBucketAccessBody.d.ts.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessBody.js +6 -6
- package/v1/model/UpdatePrivateBucketAccessBody.js.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +3 -2
- package/v1/model/UpdatePrivateBucketAccessRequest.d.ts.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.js +22 -30
- package/v1/model/UpdatePrivateBucketAccessRequest.js.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +1 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.d.ts.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.js +8 -24
- package/v1/model/UpdatePrivateBucketAccessResponse.js.map +1 -0
- package/v1/model/UpdateRangeSwitchRequest.d.ts +3 -2
- package/v1/model/UpdateRangeSwitchRequest.d.ts.map +1 -0
- package/v1/model/UpdateRangeSwitchRequest.js +22 -30
- package/v1/model/UpdateRangeSwitchRequest.js.map +1 -0
- package/v1/model/UpdateRangeSwitchResponse.d.ts +1 -0
- package/v1/model/UpdateRangeSwitchResponse.d.ts.map +1 -0
- package/v1/model/UpdateRangeSwitchResponse.js +14 -34
- package/v1/model/UpdateRangeSwitchResponse.js.map +1 -0
- package/v1/model/UpdateReferRequest.d.ts +3 -2
- package/v1/model/UpdateReferRequest.d.ts.map +1 -0
- package/v1/model/UpdateReferRequest.js +22 -30
- package/v1/model/UpdateReferRequest.js.map +1 -0
- package/v1/model/UpdateReferResponse.d.ts +1 -0
- package/v1/model/UpdateReferResponse.d.ts.map +1 -0
- package/v1/model/UpdateReferResponse.js +8 -24
- package/v1/model/UpdateReferResponse.js.map +1 -0
- package/v1/model/UpdateResponseHeaderRequest.d.ts +3 -2
- package/v1/model/UpdateResponseHeaderRequest.d.ts.map +1 -0
- package/v1/model/UpdateResponseHeaderRequest.js +22 -30
- package/v1/model/UpdateResponseHeaderRequest.js.map +1 -0
- package/v1/model/UpdateResponseHeaderResponse.d.ts +1 -0
- package/v1/model/UpdateResponseHeaderResponse.d.ts.map +1 -0
- package/v1/model/UpdateResponseHeaderResponse.js +8 -24
- package/v1/model/UpdateResponseHeaderResponse.js.map +1 -0
- package/v1/model/UrlAuth.d.ts +3 -2
- package/v1/model/UrlAuth.d.ts.map +1 -0
- package/v1/model/UrlAuth.js +26 -34
- package/v1/model/UrlAuth.js.map +1 -0
- package/v1/model/UrlAuthGetBody.d.ts +3 -2
- package/v1/model/UrlAuthGetBody.d.ts.map +1 -0
- package/v1/model/UrlAuthGetBody.js +24 -32
- package/v1/model/UrlAuthGetBody.js.map +1 -0
- package/v1/model/UrlObject.d.ts +1 -0
- package/v1/model/UrlObject.d.ts.map +1 -0
- package/v1/model/UrlObject.js +34 -46
- package/v1/model/UrlObject.js.map +1 -0
- package/v1/model/Urls.d.ts +1 -0
- package/v1/model/Urls.d.ts.map +1 -0
- package/v1/model/Urls.js +44 -60
- package/v1/model/Urls.js.map +1 -0
- package/v1/model/UserAgentFilter.d.ts +3 -2
- package/v1/model/UserAgentFilter.d.ts.map +1 -0
- package/v1/model/UserAgentFilter.js +8 -8
- package/v1/model/UserAgentFilter.js.map +1 -0
- package/v1/public-api.d.ts +1 -0
- package/v1/public-api.d.ts.map +1 -0
- package/v1/public-api.js +1 -0
- package/v1/public-api.js.map +1 -0
- package/v2/CdnClient.d.ts +2 -1
- package/v2/CdnClient.d.ts.map +1 -0
- package/v2/CdnClient.js +205 -223
- package/v2/CdnClient.js.map +1 -0
- package/v2/CdnRegion.d.ts +5 -3
- package/v2/CdnRegion.d.ts.map +1 -0
- package/v2/CdnRegion.js +15 -16
- package/v2/CdnRegion.js.map +1 -0
- package/v2/model/BackSources.d.ts +4 -3
- package/v2/model/BackSources.d.ts.map +1 -0
- package/v2/model/BackSources.js +44 -64
- package/v2/model/BackSources.js.map +1 -0
- package/v2/model/BatchCopyConfigs.d.ts +5 -4
- package/v2/model/BatchCopyConfigs.d.ts.map +1 -0
- package/v2/model/BatchCopyConfigs.js +28 -40
- package/v2/model/BatchCopyConfigs.js.map +1 -0
- package/v2/model/BatchCopyDRequestBody.d.ts +3 -2
- package/v2/model/BatchCopyDRequestBody.d.ts.map +1 -0
- package/v2/model/BatchCopyDRequestBody.js +6 -6
- package/v2/model/BatchCopyDRequestBody.js.map +1 -0
- package/v2/model/BatchCopyDomainRequest.d.ts +1 -0
- package/v2/model/BatchCopyDomainRequest.d.ts.map +1 -0
- package/v2/model/BatchCopyDomainRequest.js +6 -6
- package/v2/model/BatchCopyDomainRequest.js.map +1 -0
- package/v2/model/BatchCopyDomainResponse.d.ts +1 -0
- package/v2/model/BatchCopyDomainResponse.d.ts.map +1 -0
- package/v2/model/BatchCopyDomainResponse.js +8 -24
- package/v2/model/BatchCopyDomainResponse.js.map +1 -0
- package/v2/model/BatchCopyErrorRsp.d.ts +1 -0
- package/v2/model/BatchCopyErrorRsp.d.ts.map +1 -0
- package/v2/model/BatchCopyErrorRsp.js +6 -6
- package/v2/model/BatchCopyErrorRsp.js.map +1 -0
- package/v2/model/BatchCopyErrorRspError.d.ts +1 -0
- package/v2/model/BatchCopyErrorRspError.d.ts.map +1 -0
- package/v2/model/BatchCopyErrorRspError.js +20 -28
- package/v2/model/BatchCopyErrorRspError.js.map +1 -0
- package/v2/model/BatchCopyResultVo.d.ts +5 -4
- package/v2/model/BatchCopyResultVo.d.ts.map +1 -0
- package/v2/model/BatchCopyResultVo.js +17 -21
- package/v2/model/BatchCopyResultVo.js.map +1 -0
- package/v2/model/CacheRules.d.ts +8 -7
- package/v2/model/CacheRules.d.ts.map +1 -0
- package/v2/model/CacheRules.js +56 -80
- package/v2/model/CacheRules.js.map +1 -0
- package/v2/model/CacheUrlParameterFilter.d.ts +1 -0
- package/v2/model/CacheUrlParameterFilter.d.ts.map +1 -0
- package/v2/model/CacheUrlParameterFilter.js +8 -8
- package/v2/model/CacheUrlParameterFilter.js.map +1 -0
- package/v2/model/CommonRemoteAuth.d.ts +4 -3
- package/v2/model/CommonRemoteAuth.d.ts.map +1 -0
- package/v2/model/CommonRemoteAuth.js +20 -28
- package/v2/model/CommonRemoteAuth.js.map +1 -0
- package/v2/model/Compress.d.ts +4 -3
- package/v2/model/Compress.d.ts.map +1 -0
- package/v2/model/Compress.js +16 -20
- package/v2/model/Compress.js.map +1 -0
- package/v2/model/Configs.d.ts +1 -0
- package/v2/model/Configs.d.ts.map +1 -0
- package/v2/model/Configs.js +198 -290
- package/v2/model/Configs.js.map +1 -0
- package/v2/model/ConfigsGetBody.d.ts +1 -0
- package/v2/model/ConfigsGetBody.d.ts.map +1 -0
- package/v2/model/ConfigsGetBody.js +198 -290
- package/v2/model/ConfigsGetBody.js.map +1 -0
- package/v2/model/CustomArgs.d.ts +5 -4
- package/v2/model/CustomArgs.d.ts.map +1 -0
- package/v2/model/CustomArgs.js +10 -10
- package/v2/model/CustomArgs.js.map +1 -0
- package/v2/model/DomainOriginHost.d.ts +3 -2
- package/v2/model/DomainOriginHost.d.ts.map +1 -0
- package/v2/model/DomainOriginHost.js +28 -40
- package/v2/model/DomainOriginHost.js.map +1 -0
- package/v2/model/Domains.d.ts +4 -3
- package/v2/model/Domains.d.ts.map +1 -0
- package/v2/model/Domains.js +137 -197
- package/v2/model/Domains.js.map +1 -0
- package/v2/model/DomainsWithPort.d.ts +4 -3
- package/v2/model/DomainsWithPort.d.ts.map +1 -0
- package/v2/model/DomainsWithPort.js +71 -99
- package/v2/model/DomainsWithPort.js.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +6 -5
- package/v2/model/DownloadRegionCarrierExcelRequest.d.ts.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.js +60 -84
- package/v2/model/DownloadRegionCarrierExcelRequest.js.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +1 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.d.ts.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.js +6 -22
- package/v2/model/DownloadRegionCarrierExcelResponse.js.map +1 -0
- package/v2/model/DownloadStatisticsExcelRequest.d.ts +6 -5
- package/v2/model/DownloadStatisticsExcelRequest.d.ts.map +1 -0
- package/v2/model/DownloadStatisticsExcelRequest.js +62 -90
- package/v2/model/DownloadStatisticsExcelRequest.js.map +1 -0
- package/v2/model/DownloadStatisticsExcelResponse.d.ts +1 -0
- package/v2/model/DownloadStatisticsExcelResponse.d.ts.map +1 -0
- package/v2/model/DownloadStatisticsExcelResponse.js +6 -22
- package/v2/model/DownloadStatisticsExcelResponse.js.map +1 -0
- package/v2/model/EpResourceTag.d.ts +4 -3
- package/v2/model/EpResourceTag.d.ts.map +1 -0
- package/v2/model/EpResourceTag.js +8 -8
- package/v2/model/EpResourceTag.js.map +1 -0
- package/v2/model/ErrMsg.d.ts +4 -3
- package/v2/model/ErrMsg.d.ts.map +1 -0
- package/v2/model/ErrMsg.js +20 -28
- package/v2/model/ErrMsg.js.map +1 -0
- package/v2/model/ErrRsp.d.ts +3 -2
- package/v2/model/ErrRsp.d.ts.map +1 -0
- package/v2/model/ErrRsp.js +6 -6
- package/v2/model/ErrRsp.js.map +1 -0
- package/v2/model/ErrorCodeCache.d.ts +1 -0
- package/v2/model/ErrorCodeCache.d.ts.map +1 -0
- package/v2/model/ErrorCodeCache.js +8 -8
- package/v2/model/ErrorCodeCache.js.map +1 -0
- package/v2/model/ErrorCodeRedirectRules.d.ts +5 -4
- package/v2/model/ErrorCodeRedirectRules.d.ts.map +1 -0
- package/v2/model/ErrorCodeRedirectRules.js +28 -40
- package/v2/model/ErrorCodeRedirectRules.js.map +1 -0
- package/v2/model/FlexibleOrigins.d.ts +6 -5
- package/v2/model/FlexibleOrigins.d.ts.map +1 -0
- package/v2/model/FlexibleOrigins.js +30 -42
- package/v2/model/FlexibleOrigins.js.map +1 -0
- package/v2/model/ForceRedirectConfig.d.ts +3 -2
- package/v2/model/ForceRedirectConfig.d.ts.map +1 -0
- package/v2/model/ForceRedirectConfig.js +16 -20
- package/v2/model/ForceRedirectConfig.js.map +1 -0
- package/v2/model/HttpGetBody.d.ts +1 -0
- package/v2/model/HttpGetBody.d.ts.map +1 -0
- package/v2/model/HttpGetBody.js +76 -112
- package/v2/model/HttpGetBody.js.map +1 -0
- package/v2/model/HttpPutBody.d.ts +1 -0
- package/v2/model/HttpPutBody.d.ts.map +1 -0
- package/v2/model/HttpPutBody.js +76 -112
- package/v2/model/HttpPutBody.js.map +1 -0
- package/v2/model/HttpResponseHeader.d.ts +4 -3
- package/v2/model/HttpResponseHeader.d.ts.map +1 -0
- package/v2/model/HttpResponseHeader.js +10 -10
- package/v2/model/HttpResponseHeader.js.map +1 -0
- package/v2/model/IpFilter.d.ts +3 -2
- package/v2/model/IpFilter.d.ts.map +1 -0
- package/v2/model/IpFilter.js +8 -8
- package/v2/model/IpFilter.js.map +1 -0
- package/v2/model/ListDomainsRequest.d.ts +1 -0
- package/v2/model/ListDomainsRequest.d.ts.map +1 -0
- package/v2/model/ListDomainsRequest.js +76 -112
- package/v2/model/ListDomainsRequest.js.map +1 -0
- package/v2/model/ListDomainsResponse.d.ts +1 -0
- package/v2/model/ListDomainsResponse.d.ts.map +1 -0
- package/v2/model/ListDomainsResponse.js +10 -26
- package/v2/model/ListDomainsResponse.js.map +1 -0
- package/v2/model/ModifyDomainConfigRequestBody.d.ts +1 -0
- package/v2/model/ModifyDomainConfigRequestBody.d.ts.map +1 -0
- package/v2/model/ModifyDomainConfigRequestBody.js +6 -6
- package/v2/model/ModifyDomainConfigRequestBody.js.map +1 -0
- package/v2/model/OriginRequestHeader.d.ts +4 -3
- package/v2/model/OriginRequestHeader.d.ts.map +1 -0
- package/v2/model/OriginRequestHeader.js +10 -10
- package/v2/model/OriginRequestHeader.js.map +1 -0
- package/v2/model/OriginRequestUrlRewrite.d.ts +5 -4
- package/v2/model/OriginRequestUrlRewrite.d.ts.map +1 -0
- package/v2/model/OriginRequestUrlRewrite.js +30 -42
- package/v2/model/OriginRequestUrlRewrite.js.map +1 -0
- package/v2/model/RefererConfig.d.ts +3 -2
- package/v2/model/RefererConfig.d.ts.map +1 -0
- package/v2/model/RefererConfig.js +16 -20
- package/v2/model/RefererConfig.js.map +1 -0
- package/v2/model/RemoteAuthRuleVo.d.ts +12 -11
- package/v2/model/RemoteAuthRuleVo.d.ts.map +1 -0
- package/v2/model/RemoteAuthRuleVo.js +118 -174
- package/v2/model/RemoteAuthRuleVo.js.map +1 -0
- package/v2/model/RequestLimitRules.d.ts +4 -3
- package/v2/model/RequestLimitRules.d.ts.map +1 -0
- package/v2/model/RequestLimitRules.js +24 -32
- package/v2/model/RequestLimitRules.js.map +1 -0
- package/v2/model/SetChargeModesBody.d.ts +5 -4
- package/v2/model/SetChargeModesBody.d.ts.map +1 -0
- package/v2/model/SetChargeModesBody.js +28 -40
- package/v2/model/SetChargeModesBody.js.map +1 -0
- package/v2/model/SetChargeModesRequest.d.ts +1 -0
- package/v2/model/SetChargeModesRequest.d.ts.map +1 -0
- package/v2/model/SetChargeModesRequest.js +6 -6
- package/v2/model/SetChargeModesRequest.js.map +1 -0
- package/v2/model/SetChargeModesResponse.d.ts +1 -0
- package/v2/model/SetChargeModesResponse.d.ts.map +1 -0
- package/v2/model/SetChargeModesResponse.js +48 -84
- package/v2/model/SetChargeModesResponse.js.map +1 -0
- package/v2/model/ShowBandwidthCalcRequest.d.ts +6 -5
- package/v2/model/ShowBandwidthCalcRequest.d.ts.map +1 -0
- package/v2/model/ShowBandwidthCalcRequest.js +52 -76
- package/v2/model/ShowBandwidthCalcRequest.js.map +1 -0
- package/v2/model/ShowBandwidthCalcResponse.d.ts +1 -0
- package/v2/model/ShowBandwidthCalcResponse.d.ts.map +1 -0
- package/v2/model/ShowBandwidthCalcResponse.js +14 -34
- package/v2/model/ShowBandwidthCalcResponse.js.map +1 -0
- package/v2/model/ShowChargeModesRequest.d.ts +3 -2
- package/v2/model/ShowChargeModesRequest.d.ts.map +1 -0
- package/v2/model/ShowChargeModesRequest.js +22 -30
- package/v2/model/ShowChargeModesRequest.js.map +1 -0
- package/v2/model/ShowChargeModesResponse.d.ts +1 -0
- package/v2/model/ShowChargeModesResponse.d.ts.map +1 -0
- package/v2/model/ShowChargeModesResponse.js +8 -24
- package/v2/model/ShowChargeModesResponse.js.map +1 -0
- package/v2/model/ShowDomainDetailByNameRequest.d.ts +3 -2
- package/v2/model/ShowDomainDetailByNameRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainDetailByNameRequest.js +20 -28
- package/v2/model/ShowDomainDetailByNameRequest.js.map +1 -0
- package/v2/model/ShowDomainDetailByNameResponse.d.ts +1 -0
- package/v2/model/ShowDomainDetailByNameResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainDetailByNameResponse.js +8 -24
- package/v2/model/ShowDomainDetailByNameResponse.js.map +1 -0
- package/v2/model/ShowDomainFullConfigRequest.d.ts +3 -2
- package/v2/model/ShowDomainFullConfigRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainFullConfigRequest.js +28 -40
- package/v2/model/ShowDomainFullConfigRequest.js.map +1 -0
- package/v2/model/ShowDomainFullConfigResponse.d.ts +1 -0
- package/v2/model/ShowDomainFullConfigResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainFullConfigResponse.js +8 -24
- package/v2/model/ShowDomainFullConfigResponse.js.map +1 -0
- package/v2/model/ShowDomainLocationStatsRequest.d.ts +7 -6
- package/v2/model/ShowDomainLocationStatsRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainLocationStatsRequest.js +62 -86
- package/v2/model/ShowDomainLocationStatsRequest.js.map +1 -0
- package/v2/model/ShowDomainLocationStatsResponse.d.ts +1 -0
- package/v2/model/ShowDomainLocationStatsResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainLocationStatsResponse.js +16 -36
- package/v2/model/ShowDomainLocationStatsResponse.js.map +1 -0
- package/v2/model/ShowDomainStatsRequest.d.ts +7 -6
- package/v2/model/ShowDomainStatsRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainStatsRequest.js +64 -92
- package/v2/model/ShowDomainStatsRequest.js.map +1 -0
- package/v2/model/ShowDomainStatsResponse.d.ts +1 -0
- package/v2/model/ShowDomainStatsResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainStatsResponse.js +8 -24
- package/v2/model/ShowDomainStatsResponse.js.map +1 -0
- package/v2/model/ShowTopDomainNamesRequest.d.ts +5 -4
- package/v2/model/ShowTopDomainNamesRequest.d.ts.map +1 -0
- package/v2/model/ShowTopDomainNamesRequest.js +46 -66
- package/v2/model/ShowTopDomainNamesRequest.js.map +1 -0
- package/v2/model/ShowTopDomainNamesResponse.d.ts +1 -0
- package/v2/model/ShowTopDomainNamesResponse.d.ts.map +1 -0
- package/v2/model/ShowTopDomainNamesResponse.js +14 -34
- package/v2/model/ShowTopDomainNamesResponse.js.map +1 -0
- package/v2/model/ShowTopUrlRequest.d.ts +6 -5
- package/v2/model/ShowTopUrlRequest.d.ts.map +1 -0
- package/v2/model/ShowTopUrlRequest.js +52 -76
- package/v2/model/ShowTopUrlRequest.js.map +1 -0
- package/v2/model/ShowTopUrlResponse.d.ts +1 -0
- package/v2/model/ShowTopUrlResponse.d.ts.map +1 -0
- package/v2/model/ShowTopUrlResponse.js +22 -46
- package/v2/model/ShowTopUrlResponse.js.map +1 -0
- package/v2/model/Sources.d.ts +8 -7
- package/v2/model/Sources.d.ts.map +1 -0
- package/v2/model/Sources.js +45 -65
- package/v2/model/Sources.js.map +1 -0
- package/v2/model/SourcesConfig.d.ts +5 -4
- package/v2/model/SourcesConfig.d.ts.map +1 -0
- package/v2/model/SourcesConfig.js +64 -92
- package/v2/model/SourcesConfig.js.map +1 -0
- package/v2/model/TopUrlSummary.d.ts +1 -0
- package/v2/model/TopUrlSummary.d.ts.map +1 -0
- package/v2/model/TopUrlSummary.js +32 -44
- package/v2/model/TopUrlSummary.js.map +1 -0
- package/v2/model/UpdateDomainFullConfigRequest.d.ts +3 -2
- package/v2/model/UpdateDomainFullConfigRequest.d.ts.map +1 -0
- package/v2/model/UpdateDomainFullConfigRequest.js +22 -30
- package/v2/model/UpdateDomainFullConfigRequest.js.map +1 -0
- package/v2/model/UpdateDomainFullConfigResponse.d.ts +1 -0
- package/v2/model/UpdateDomainFullConfigResponse.d.ts.map +1 -0
- package/v2/model/UpdateDomainFullConfigResponse.js +6 -22
- package/v2/model/UpdateDomainFullConfigResponse.js.map +1 -0
- package/v2/model/UrlAuth.d.ts +6 -5
- package/v2/model/UrlAuth.d.ts.map +1 -0
- package/v2/model/UrlAuth.js +58 -82
- package/v2/model/UrlAuth.js.map +1 -0
- package/v2/model/UrlAuthGetBody.d.ts +3 -2
- package/v2/model/UrlAuthGetBody.d.ts.map +1 -0
- package/v2/model/UrlAuthGetBody.js +58 -82
- package/v2/model/UrlAuthGetBody.js.map +1 -0
- package/v2/model/UserAgentFilter.d.ts +3 -2
- package/v2/model/UserAgentFilter.d.ts.map +1 -0
- package/v2/model/UserAgentFilter.js +16 -20
- package/v2/model/UserAgentFilter.js.map +1 -0
- package/v2/model/VideoSeek.d.ts +3 -2
- package/v2/model/VideoSeek.d.ts.map +1 -0
- package/v2/model/VideoSeek.js +36 -52
- package/v2/model/VideoSeek.js.map +1 -0
- package/v2/model/WebSocketSeek.d.ts +4 -3
- package/v2/model/WebSocketSeek.d.ts.map +1 -0
- package/v2/model/WebSocketSeek.js +8 -8
- package/v2/model/WebSocketSeek.js.map +1 -0
- package/v2/public-api.d.ts +1 -0
- package/v2/public-api.d.ts.map +1 -0
- package/v2/public-api.js +1 -0
- package/v2/public-api.js.map +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
package/v1/CdnClient.js
CHANGED
@@ -1,73 +1,58 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
3
|
-
var extendStatics = function (d, b) {
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
-
return extendStatics(d, b);
|
8
|
-
};
|
9
|
-
return function (d, b) {
|
10
|
-
if (typeof b !== "function" && b !== null)
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
-
extendStatics(d, b);
|
13
|
-
function __() { this.constructor = d; }
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
-
};
|
16
|
-
})();
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
18
3
|
exports.RequiredError = exports.ParamCreater = exports.CdnClient = void 0;
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
4
|
+
const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
|
5
|
+
const BatchDeleteTagsRequest_1 = require("./model/BatchDeleteTagsRequest");
|
6
|
+
const CreateDomainRequest_1 = require("./model/CreateDomainRequest");
|
7
|
+
const CreatePreheatingTasksRequest_1 = require("./model/CreatePreheatingTasksRequest");
|
8
|
+
const CreateRefreshTasksRequest_1 = require("./model/CreateRefreshTasksRequest");
|
9
|
+
const CreateTagsRequest_1 = require("./model/CreateTagsRequest");
|
10
|
+
const DeleteDomainRequest_1 = require("./model/DeleteDomainRequest");
|
11
|
+
const DisableDomainRequest_1 = require("./model/DisableDomainRequest");
|
12
|
+
const EnableDomainRequest_1 = require("./model/EnableDomainRequest");
|
13
|
+
const ListDomainsRequest_1 = require("./model/ListDomainsRequest");
|
14
|
+
const ShowBlackWhiteListRequest_1 = require("./model/ShowBlackWhiteListRequest");
|
15
|
+
const ShowCacheRulesRequest_1 = require("./model/ShowCacheRulesRequest");
|
16
|
+
const ShowCertificatesHttpsInfoRequest_1 = require("./model/ShowCertificatesHttpsInfoRequest");
|
17
|
+
const ShowDomainDetailRequest_1 = require("./model/ShowDomainDetailRequest");
|
18
|
+
const ShowDomainFullConfigRequest_1 = require("./model/ShowDomainFullConfigRequest");
|
19
|
+
const ShowDomainItemDetailsRequest_1 = require("./model/ShowDomainItemDetailsRequest");
|
20
|
+
const ShowDomainItemLocationDetailsRequest_1 = require("./model/ShowDomainItemLocationDetailsRequest");
|
21
|
+
const ShowDomainLocationStatsRequest_1 = require("./model/ShowDomainLocationStatsRequest");
|
22
|
+
const ShowDomainStatsRequest_1 = require("./model/ShowDomainStatsRequest");
|
23
|
+
const ShowHistoryTaskDetailsRequest_1 = require("./model/ShowHistoryTaskDetailsRequest");
|
24
|
+
const ShowHistoryTasksRequest_1 = require("./model/ShowHistoryTasksRequest");
|
25
|
+
const ShowHttpInfoRequest_1 = require("./model/ShowHttpInfoRequest");
|
26
|
+
const ShowIpInfoRequest_1 = require("./model/ShowIpInfoRequest");
|
27
|
+
const ShowLogsRequest_1 = require("./model/ShowLogsRequest");
|
28
|
+
const ShowOriginHostRequest_1 = require("./model/ShowOriginHostRequest");
|
29
|
+
const ShowReferRequest_1 = require("./model/ShowReferRequest");
|
30
|
+
const ShowResponseHeaderRequest_1 = require("./model/ShowResponseHeaderRequest");
|
31
|
+
const ShowTagsRequest_1 = require("./model/ShowTagsRequest");
|
32
|
+
const ShowTopUrlRequest_1 = require("./model/ShowTopUrlRequest");
|
33
|
+
const ShowUrlTaskInfoRequest_1 = require("./model/ShowUrlTaskInfoRequest");
|
34
|
+
const UpdateBlackWhiteListRequest_1 = require("./model/UpdateBlackWhiteListRequest");
|
35
|
+
const UpdateCacheRulesRequest_1 = require("./model/UpdateCacheRulesRequest");
|
36
|
+
const UpdateDomainFullConfigRequest_1 = require("./model/UpdateDomainFullConfigRequest");
|
37
|
+
const UpdateDomainMultiCertificatesRequest_1 = require("./model/UpdateDomainMultiCertificatesRequest");
|
38
|
+
const UpdateDomainOriginRequest_1 = require("./model/UpdateDomainOriginRequest");
|
39
|
+
const UpdateFollow302SwitchRequest_1 = require("./model/UpdateFollow302SwitchRequest");
|
40
|
+
const UpdateHttpsInfoRequest_1 = require("./model/UpdateHttpsInfoRequest");
|
41
|
+
const UpdateOriginHostRequest_1 = require("./model/UpdateOriginHostRequest");
|
42
|
+
const UpdatePrivateBucketAccessRequest_1 = require("./model/UpdatePrivateBucketAccessRequest");
|
43
|
+
const UpdateRangeSwitchRequest_1 = require("./model/UpdateRangeSwitchRequest");
|
44
|
+
const UpdateReferRequest_1 = require("./model/UpdateReferRequest");
|
45
|
+
const UpdateResponseHeaderRequest_1 = require("./model/UpdateResponseHeaderRequest");
|
46
|
+
class CdnClient {
|
47
|
+
static newBuilder() {
|
48
|
+
return new ClientBuilder_1.ClientBuilder(newClient);
|
49
|
+
}
|
50
|
+
constructor(client) {
|
63
51
|
this.hcClient = client;
|
64
52
|
}
|
65
|
-
|
66
|
-
return new ClientBuilder_1.ClientBuilder(newClient);
|
67
|
-
};
|
68
|
-
CdnClient.prototype.getPath = function () {
|
53
|
+
getPath() {
|
69
54
|
return __dirname;
|
70
|
-
}
|
55
|
+
}
|
71
56
|
/**
|
72
57
|
* 用于删除资源标签。
|
73
58
|
*
|
@@ -78,12 +63,12 @@ var CdnClient = /** @class */ (function () {
|
|
78
63
|
* @param {*} [options] Override http request option.
|
79
64
|
* @throws {RequiredError}
|
80
65
|
*/
|
81
|
-
|
82
|
-
|
66
|
+
batchDeleteTags(batchDeleteTagsRequest) {
|
67
|
+
const options = (0, exports.ParamCreater)().batchDeleteTags(batchDeleteTagsRequest);
|
83
68
|
// @ts-ignore
|
84
69
|
options['responseHeaders'] = [''];
|
85
70
|
return this.hcClient.sendRequest(options);
|
86
|
-
}
|
71
|
+
}
|
87
72
|
/**
|
88
73
|
* 创建加速域名。
|
89
74
|
*
|
@@ -94,12 +79,12 @@ var CdnClient = /** @class */ (function () {
|
|
94
79
|
* @param {*} [options] Override http request option.
|
95
80
|
* @throws {RequiredError}
|
96
81
|
*/
|
97
|
-
|
98
|
-
|
82
|
+
createDomain(createDomainRequest) {
|
83
|
+
const options = (0, exports.ParamCreater)().createDomain(createDomainRequest);
|
99
84
|
// @ts-ignore
|
100
85
|
options['responseHeaders'] = [''];
|
101
86
|
return this.hcClient.sendRequest(options);
|
102
|
-
}
|
87
|
+
}
|
103
88
|
/**
|
104
89
|
* 创建预热任务。
|
105
90
|
*
|
@@ -111,12 +96,12 @@ var CdnClient = /** @class */ (function () {
|
|
111
96
|
* @param {*} [options] Override http request option.
|
112
97
|
* @throws {RequiredError}
|
113
98
|
*/
|
114
|
-
|
115
|
-
|
99
|
+
createPreheatingTasks(createPreheatingTasksRequest) {
|
100
|
+
const options = (0, exports.ParamCreater)().createPreheatingTasks(createPreheatingTasksRequest);
|
116
101
|
// @ts-ignore
|
117
102
|
options['responseHeaders'] = [''];
|
118
103
|
return this.hcClient.sendRequest(options);
|
119
|
-
}
|
104
|
+
}
|
120
105
|
/**
|
121
106
|
* 创建刷新缓存任务。
|
122
107
|
*
|
@@ -128,12 +113,12 @@ var CdnClient = /** @class */ (function () {
|
|
128
113
|
* @param {*} [options] Override http request option.
|
129
114
|
* @throws {RequiredError}
|
130
115
|
*/
|
131
|
-
|
132
|
-
|
116
|
+
createRefreshTasks(createRefreshTasksRequest) {
|
117
|
+
const options = (0, exports.ParamCreater)().createRefreshTasks(createRefreshTasksRequest);
|
133
118
|
// @ts-ignore
|
134
119
|
options['responseHeaders'] = [''];
|
135
120
|
return this.hcClient.sendRequest(options);
|
136
|
-
}
|
121
|
+
}
|
137
122
|
/**
|
138
123
|
* 用于创建资源标签。
|
139
124
|
*
|
@@ -144,12 +129,12 @@ var CdnClient = /** @class */ (function () {
|
|
144
129
|
* @param {*} [options] Override http request option.
|
145
130
|
* @throws {RequiredError}
|
146
131
|
*/
|
147
|
-
|
148
|
-
|
132
|
+
createTags(createTagsRequest) {
|
133
|
+
const options = (0, exports.ParamCreater)().createTags(createTagsRequest);
|
149
134
|
// @ts-ignore
|
150
135
|
options['responseHeaders'] = [''];
|
151
136
|
return this.hcClient.sendRequest(options);
|
152
|
-
}
|
137
|
+
}
|
153
138
|
/**
|
154
139
|
* 删除加速域名。
|
155
140
|
*
|
@@ -161,12 +146,12 @@ var CdnClient = /** @class */ (function () {
|
|
161
146
|
* @param {*} [options] Override http request option.
|
162
147
|
* @throws {RequiredError}
|
163
148
|
*/
|
164
|
-
|
165
|
-
|
149
|
+
deleteDomain(deleteDomainRequest) {
|
150
|
+
const options = (0, exports.ParamCreater)().deleteDomain(deleteDomainRequest);
|
166
151
|
// @ts-ignore
|
167
152
|
options['responseHeaders'] = [''];
|
168
153
|
return this.hcClient.sendRequest(options);
|
169
|
-
}
|
154
|
+
}
|
170
155
|
/**
|
171
156
|
* 停用加速域名。
|
172
157
|
*
|
@@ -178,12 +163,12 @@ var CdnClient = /** @class */ (function () {
|
|
178
163
|
* @param {*} [options] Override http request option.
|
179
164
|
* @throws {RequiredError}
|
180
165
|
*/
|
181
|
-
|
182
|
-
|
166
|
+
disableDomain(disableDomainRequest) {
|
167
|
+
const options = (0, exports.ParamCreater)().disableDomain(disableDomainRequest);
|
183
168
|
// @ts-ignore
|
184
169
|
options['responseHeaders'] = [''];
|
185
170
|
return this.hcClient.sendRequest(options);
|
186
|
-
}
|
171
|
+
}
|
187
172
|
/**
|
188
173
|
* 启用加速域名。
|
189
174
|
*
|
@@ -195,12 +180,12 @@ var CdnClient = /** @class */ (function () {
|
|
195
180
|
* @param {*} [options] Override http request option.
|
196
181
|
* @throws {RequiredError}
|
197
182
|
*/
|
198
|
-
|
199
|
-
|
183
|
+
enableDomain(enableDomainRequest) {
|
184
|
+
const options = (0, exports.ParamCreater)().enableDomain(enableDomainRequest);
|
200
185
|
// @ts-ignore
|
201
186
|
options['responseHeaders'] = [''];
|
202
187
|
return this.hcClient.sendRequest(options);
|
203
|
-
}
|
188
|
+
}
|
204
189
|
/**
|
205
190
|
* 查询加速域名信息
|
206
191
|
*
|
@@ -219,12 +204,12 @@ var CdnClient = /** @class */ (function () {
|
|
219
204
|
* @param {*} [options] Override http request option.
|
220
205
|
* @throws {RequiredError}
|
221
206
|
*/
|
222
|
-
|
223
|
-
|
207
|
+
listDomains(listDomainsRequest) {
|
208
|
+
const options = (0, exports.ParamCreater)().listDomains(listDomainsRequest);
|
224
209
|
// @ts-ignore
|
225
210
|
options['responseHeaders'] = [''];
|
226
211
|
return this.hcClient.sendRequest(options);
|
227
|
-
}
|
212
|
+
}
|
228
213
|
/**
|
229
214
|
* 查询域名已经设置的IP黑白名单。
|
230
215
|
*
|
@@ -236,12 +221,12 @@ var CdnClient = /** @class */ (function () {
|
|
236
221
|
* @param {*} [options] Override http request option.
|
237
222
|
* @throws {RequiredError}
|
238
223
|
*/
|
239
|
-
|
240
|
-
|
224
|
+
showBlackWhiteList(showBlackWhiteListRequest) {
|
225
|
+
const options = (0, exports.ParamCreater)().showBlackWhiteList(showBlackWhiteListRequest);
|
241
226
|
// @ts-ignore
|
242
227
|
options['responseHeaders'] = [''];
|
243
228
|
return this.hcClient.sendRequest(options);
|
244
|
-
}
|
229
|
+
}
|
245
230
|
/**
|
246
231
|
* 查询缓存规则。
|
247
232
|
*
|
@@ -253,12 +238,12 @@ var CdnClient = /** @class */ (function () {
|
|
253
238
|
* @param {*} [options] Override http request option.
|
254
239
|
* @throws {RequiredError}
|
255
240
|
*/
|
256
|
-
|
257
|
-
|
241
|
+
showCacheRules(showCacheRulesRequest) {
|
242
|
+
const options = (0, exports.ParamCreater)().showCacheRules(showCacheRulesRequest);
|
258
243
|
// @ts-ignore
|
259
244
|
options['responseHeaders'] = [''];
|
260
245
|
return this.hcClient.sendRequest(options);
|
261
|
-
}
|
246
|
+
}
|
262
247
|
/**
|
263
248
|
* 查询所有绑定HTTPS证书的域名信息
|
264
249
|
*
|
@@ -273,12 +258,12 @@ var CdnClient = /** @class */ (function () {
|
|
273
258
|
* @param {*} [options] Override http request option.
|
274
259
|
* @throws {RequiredError}
|
275
260
|
*/
|
276
|
-
|
277
|
-
|
261
|
+
showCertificatesHttpsInfo(showCertificatesHttpsInfoRequest) {
|
262
|
+
const options = (0, exports.ParamCreater)().showCertificatesHttpsInfo(showCertificatesHttpsInfoRequest);
|
278
263
|
// @ts-ignore
|
279
264
|
options['responseHeaders'] = [''];
|
280
265
|
return this.hcClient.sendRequest(options);
|
281
|
-
}
|
266
|
+
}
|
282
267
|
/**
|
283
268
|
* 查询加速域名详情。
|
284
269
|
*
|
@@ -290,12 +275,12 @@ var CdnClient = /** @class */ (function () {
|
|
290
275
|
* @param {*} [options] Override http request option.
|
291
276
|
* @throws {RequiredError}
|
292
277
|
*/
|
293
|
-
|
294
|
-
|
278
|
+
showDomainDetail(showDomainDetailRequest) {
|
279
|
+
const options = (0, exports.ParamCreater)().showDomainDetail(showDomainDetailRequest);
|
295
280
|
// @ts-ignore
|
296
281
|
options['responseHeaders'] = [''];
|
297
282
|
return this.hcClient.sendRequest(options);
|
298
|
-
}
|
283
|
+
}
|
299
284
|
/**
|
300
285
|
* 查询域名配置接口,
|
301
286
|
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
@@ -308,12 +293,12 @@ var CdnClient = /** @class */ (function () {
|
|
308
293
|
* @param {*} [options] Override http request option.
|
309
294
|
* @throws {RequiredError}
|
310
295
|
*/
|
311
|
-
|
312
|
-
|
296
|
+
showDomainFullConfig(showDomainFullConfigRequest) {
|
297
|
+
const options = (0, exports.ParamCreater)().showDomainFullConfig(showDomainFullConfigRequest);
|
313
298
|
// @ts-ignore
|
314
299
|
options['responseHeaders'] = [''];
|
315
300
|
return this.hcClient.sendRequest(options);
|
316
|
-
}
|
301
|
+
}
|
317
302
|
/**
|
318
303
|
* - 支持查询90天内的数据。
|
319
304
|
* - 查询跨度不能超过7天。
|
@@ -337,12 +322,12 @@ var CdnClient = /** @class */ (function () {
|
|
337
322
|
* @param {*} [options] Override http request option.
|
338
323
|
* @throws {RequiredError}
|
339
324
|
*/
|
340
|
-
|
341
|
-
|
325
|
+
showDomainItemDetails(showDomainItemDetailsRequest) {
|
326
|
+
const options = (0, exports.ParamCreater)().showDomainItemDetails(showDomainItemDetailsRequest);
|
342
327
|
// @ts-ignore
|
343
328
|
options['responseHeaders'] = [''];
|
344
329
|
return this.hcClient.sendRequest(options);
|
345
|
-
}
|
330
|
+
}
|
346
331
|
/**
|
347
332
|
* - 支持查询90天内的数据。
|
348
333
|
* - 查询跨度是7天。
|
@@ -370,12 +355,12 @@ var CdnClient = /** @class */ (function () {
|
|
370
355
|
* @param {*} [options] Override http request option.
|
371
356
|
* @throws {RequiredError}
|
372
357
|
*/
|
373
|
-
|
374
|
-
|
358
|
+
showDomainItemLocationDetails(showDomainItemLocationDetailsRequest) {
|
359
|
+
const options = (0, exports.ParamCreater)().showDomainItemLocationDetails(showDomainItemLocationDetailsRequest);
|
375
360
|
// @ts-ignore
|
376
361
|
options['responseHeaders'] = [''];
|
377
362
|
return this.hcClient.sendRequest(options);
|
378
|
-
}
|
363
|
+
}
|
379
364
|
/**
|
380
365
|
* - 支持查询90天内的数据。
|
381
366
|
*
|
@@ -408,12 +393,12 @@ var CdnClient = /** @class */ (function () {
|
|
408
393
|
* @param {*} [options] Override http request option.
|
409
394
|
* @throws {RequiredError}
|
410
395
|
*/
|
411
|
-
|
412
|
-
|
396
|
+
showDomainLocationStats(showDomainLocationStatsRequest) {
|
397
|
+
const options = (0, exports.ParamCreater)().showDomainLocationStats(showDomainLocationStatsRequest);
|
413
398
|
// @ts-ignore
|
414
399
|
options['responseHeaders'] = [''];
|
415
400
|
return this.hcClient.sendRequest(options);
|
416
|
-
}
|
401
|
+
}
|
417
402
|
/**
|
418
403
|
* - 支持查询90天内的数据。
|
419
404
|
*
|
@@ -444,12 +429,12 @@ var CdnClient = /** @class */ (function () {
|
|
444
429
|
* @param {*} [options] Override http request option.
|
445
430
|
* @throws {RequiredError}
|
446
431
|
*/
|
447
|
-
|
448
|
-
|
432
|
+
showDomainStats(showDomainStatsRequest) {
|
433
|
+
const options = (0, exports.ParamCreater)().showDomainStats(showDomainStatsRequest);
|
449
434
|
// @ts-ignore
|
450
435
|
options['responseHeaders'] = [''];
|
451
436
|
return this.hcClient.sendRequest(options);
|
452
|
-
}
|
437
|
+
}
|
453
438
|
/**
|
454
439
|
* 查询刷新预热任务详情。
|
455
440
|
*
|
@@ -466,12 +451,12 @@ var CdnClient = /** @class */ (function () {
|
|
466
451
|
* @param {*} [options] Override http request option.
|
467
452
|
* @throws {RequiredError}
|
468
453
|
*/
|
469
|
-
|
470
|
-
|
454
|
+
showHistoryTaskDetails(showHistoryTaskDetailsRequest) {
|
455
|
+
const options = (0, exports.ParamCreater)().showHistoryTaskDetails(showHistoryTaskDetailsRequest);
|
471
456
|
// @ts-ignore
|
472
457
|
options['responseHeaders'] = [''];
|
473
458
|
return this.hcClient.sendRequest(options);
|
474
|
-
}
|
459
|
+
}
|
475
460
|
/**
|
476
461
|
* 查询刷新预热任务。
|
477
462
|
*
|
@@ -490,12 +475,12 @@ var CdnClient = /** @class */ (function () {
|
|
490
475
|
* @param {*} [options] Override http request option.
|
491
476
|
* @throws {RequiredError}
|
492
477
|
*/
|
493
|
-
|
494
|
-
|
478
|
+
showHistoryTasks(showHistoryTasksRequest) {
|
479
|
+
const options = (0, exports.ParamCreater)().showHistoryTasks(showHistoryTasksRequest);
|
495
480
|
// @ts-ignore
|
496
481
|
options['responseHeaders'] = [''];
|
497
482
|
return this.hcClient.sendRequest(options);
|
498
|
-
}
|
483
|
+
}
|
499
484
|
/**
|
500
485
|
* 获取加速域名证书。
|
501
486
|
*
|
@@ -507,12 +492,12 @@ var CdnClient = /** @class */ (function () {
|
|
507
492
|
* @param {*} [options] Override http request option.
|
508
493
|
* @throws {RequiredError}
|
509
494
|
*/
|
510
|
-
|
511
|
-
|
495
|
+
showHttpInfo(showHttpInfoRequest) {
|
496
|
+
const options = (0, exports.ParamCreater)().showHttpInfo(showHttpInfoRequest);
|
512
497
|
// @ts-ignore
|
513
498
|
options['responseHeaders'] = [''];
|
514
499
|
return this.hcClient.sendRequest(options);
|
515
|
-
}
|
500
|
+
}
|
516
501
|
/**
|
517
502
|
* 查询IP归属信息。
|
518
503
|
*
|
@@ -524,12 +509,12 @@ var CdnClient = /** @class */ (function () {
|
|
524
509
|
* @param {*} [options] Override http request option.
|
525
510
|
* @throws {RequiredError}
|
526
511
|
*/
|
527
|
-
|
528
|
-
|
512
|
+
showIpInfo(showIpInfoRequest) {
|
513
|
+
const options = (0, exports.ParamCreater)().showIpInfo(showIpInfoRequest);
|
529
514
|
// @ts-ignore
|
530
515
|
options['responseHeaders'] = [''];
|
531
516
|
return this.hcClient.sendRequest(options);
|
532
|
-
}
|
517
|
+
}
|
533
518
|
/**
|
534
519
|
* 查询日志下载链接,支持查询30天内的日志信息。
|
535
520
|
*
|
@@ -545,12 +530,12 @@ var CdnClient = /** @class */ (function () {
|
|
545
530
|
* @param {*} [options] Override http request option.
|
546
531
|
* @throws {RequiredError}
|
547
532
|
*/
|
548
|
-
|
549
|
-
|
533
|
+
showLogs(showLogsRequest) {
|
534
|
+
const options = (0, exports.ParamCreater)().showLogs(showLogsRequest);
|
550
535
|
// @ts-ignore
|
551
536
|
options['responseHeaders'] = [''];
|
552
537
|
return this.hcClient.sendRequest(options);
|
553
|
-
}
|
538
|
+
}
|
554
539
|
/**
|
555
540
|
* 查询回源HOST。回源HOST是CDN节点在回源过程中,在源站访问的站点域名,即http请求头中的host信息。
|
556
541
|
*
|
@@ -562,12 +547,12 @@ var CdnClient = /** @class */ (function () {
|
|
562
547
|
* @param {*} [options] Override http request option.
|
563
548
|
* @throws {RequiredError}
|
564
549
|
*/
|
565
|
-
|
566
|
-
|
550
|
+
showOriginHost(showOriginHostRequest) {
|
551
|
+
const options = (0, exports.ParamCreater)().showOriginHost(showOriginHostRequest);
|
567
552
|
// @ts-ignore
|
568
553
|
options['responseHeaders'] = [''];
|
569
554
|
return this.hcClient.sendRequest(options);
|
570
|
-
}
|
555
|
+
}
|
571
556
|
/**
|
572
557
|
* 查询当前用户域名、刷新文件、刷新目录和预热的配额
|
573
558
|
*
|
@@ -577,12 +562,12 @@ var CdnClient = /** @class */ (function () {
|
|
577
562
|
* @param {*} [options] Override http request option.
|
578
563
|
* @throws {RequiredError}
|
579
564
|
*/
|
580
|
-
|
581
|
-
|
565
|
+
showQuota(showQuotaRequest) {
|
566
|
+
const options = (0, exports.ParamCreater)().showQuota();
|
582
567
|
// @ts-ignore
|
583
568
|
options['responseHeaders'] = [''];
|
584
569
|
return this.hcClient.sendRequest(options);
|
585
|
-
}
|
570
|
+
}
|
586
571
|
/**
|
587
572
|
* 查询Referer过滤规则。
|
588
573
|
*
|
@@ -594,12 +579,12 @@ var CdnClient = /** @class */ (function () {
|
|
594
579
|
* @param {*} [options] Override http request option.
|
595
580
|
* @throws {RequiredError}
|
596
581
|
*/
|
597
|
-
|
598
|
-
|
582
|
+
showRefer(showReferRequest) {
|
583
|
+
const options = (0, exports.ParamCreater)().showRefer(showReferRequest);
|
599
584
|
// @ts-ignore
|
600
585
|
options['responseHeaders'] = [''];
|
601
586
|
return this.hcClient.sendRequest(options);
|
602
|
-
}
|
587
|
+
}
|
603
588
|
/**
|
604
589
|
* 列举header所有配置。
|
605
590
|
*
|
@@ -611,12 +596,12 @@ var CdnClient = /** @class */ (function () {
|
|
611
596
|
* @param {*} [options] Override http request option.
|
612
597
|
* @throws {RequiredError}
|
613
598
|
*/
|
614
|
-
|
615
|
-
|
599
|
+
showResponseHeader(showResponseHeaderRequest) {
|
600
|
+
const options = (0, exports.ParamCreater)().showResponseHeader(showResponseHeaderRequest);
|
616
601
|
// @ts-ignore
|
617
602
|
options['responseHeaders'] = [''];
|
618
603
|
return this.hcClient.sendRequest(options);
|
619
|
-
}
|
604
|
+
}
|
620
605
|
/**
|
621
606
|
* 用于查询资源标签列表。
|
622
607
|
*
|
@@ -627,12 +612,12 @@ var CdnClient = /** @class */ (function () {
|
|
627
612
|
* @param {*} [options] Override http request option.
|
628
613
|
* @throws {RequiredError}
|
629
614
|
*/
|
630
|
-
|
631
|
-
|
615
|
+
showTags(showTagsRequest) {
|
616
|
+
const options = (0, exports.ParamCreater)().showTags(showTagsRequest);
|
632
617
|
// @ts-ignore
|
633
618
|
options['responseHeaders'] = [''];
|
634
619
|
return this.hcClient.sendRequest(options);
|
635
|
-
}
|
620
|
+
}
|
636
621
|
/**
|
637
622
|
* - 查询TOP100 URL明细。
|
638
623
|
*
|
@@ -661,12 +646,12 @@ var CdnClient = /** @class */ (function () {
|
|
661
646
|
* @param {*} [options] Override http request option.
|
662
647
|
* @throws {RequiredError}
|
663
648
|
*/
|
664
|
-
|
665
|
-
|
649
|
+
showTopUrl(showTopUrlRequest) {
|
650
|
+
const options = (0, exports.ParamCreater)().showTopUrl(showTopUrlRequest);
|
666
651
|
// @ts-ignore
|
667
652
|
options['responseHeaders'] = [''];
|
668
653
|
return this.hcClient.sendRequest(options);
|
669
|
-
}
|
654
|
+
}
|
670
655
|
/**
|
671
656
|
* 查询刷新预热URL记录。如需此接口,请提交工单开通
|
672
657
|
*
|
@@ -684,12 +669,12 @@ var CdnClient = /** @class */ (function () {
|
|
684
669
|
* @param {*} [options] Override http request option.
|
685
670
|
* @throws {RequiredError}
|
686
671
|
*/
|
687
|
-
|
688
|
-
|
672
|
+
showUrlTaskInfo(showUrlTaskInfoRequest) {
|
673
|
+
const options = (0, exports.ParamCreater)().showUrlTaskInfo(showUrlTaskInfoRequest);
|
689
674
|
// @ts-ignore
|
690
675
|
options['responseHeaders'] = ['X-request-id'];
|
691
676
|
return this.hcClient.sendRequest(options);
|
692
|
-
}
|
677
|
+
}
|
693
678
|
/**
|
694
679
|
* 设置域名的IP黑白名单。
|
695
680
|
*
|
@@ -702,12 +687,12 @@ var CdnClient = /** @class */ (function () {
|
|
702
687
|
* @param {*} [options] Override http request option.
|
703
688
|
* @throws {RequiredError}
|
704
689
|
*/
|
705
|
-
|
706
|
-
|
690
|
+
updateBlackWhiteList(updateBlackWhiteListRequest) {
|
691
|
+
const options = (0, exports.ParamCreater)().updateBlackWhiteList(updateBlackWhiteListRequest);
|
707
692
|
// @ts-ignore
|
708
693
|
options['responseHeaders'] = [''];
|
709
694
|
return this.hcClient.sendRequest(options);
|
710
|
-
}
|
695
|
+
}
|
711
696
|
/**
|
712
697
|
* 设置CDN节点上缓存资源的缓存策略。
|
713
698
|
*
|
@@ -720,12 +705,12 @@ var CdnClient = /** @class */ (function () {
|
|
720
705
|
* @param {*} [options] Override http request option.
|
721
706
|
* @throws {RequiredError}
|
722
707
|
*/
|
723
|
-
|
724
|
-
|
708
|
+
updateCacheRules(updateCacheRulesRequest) {
|
709
|
+
const options = (0, exports.ParamCreater)().updateCacheRules(updateCacheRulesRequest);
|
725
710
|
// @ts-ignore
|
726
711
|
options['responseHeaders'] = [''];
|
727
712
|
return this.hcClient.sendRequest(options);
|
728
|
-
}
|
713
|
+
}
|
729
714
|
/**
|
730
715
|
* 修改域名配置接口,
|
731
716
|
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
@@ -739,12 +724,12 @@ var CdnClient = /** @class */ (function () {
|
|
739
724
|
* @param {*} [options] Override http request option.
|
740
725
|
* @throws {RequiredError}
|
741
726
|
*/
|
742
|
-
|
743
|
-
|
727
|
+
updateDomainFullConfig(updateDomainFullConfigRequest) {
|
728
|
+
const options = (0, exports.ParamCreater)().updateDomainFullConfig(updateDomainFullConfigRequest);
|
744
729
|
// @ts-ignore
|
745
730
|
options['responseHeaders'] = [''];
|
746
731
|
return this.hcClient.sendRequest(options);
|
747
|
-
}
|
732
|
+
}
|
748
733
|
/**
|
749
734
|
* 一个证书配置多个域名,设置域名强制https回源参数。
|
750
735
|
*
|
@@ -756,12 +741,12 @@ var CdnClient = /** @class */ (function () {
|
|
756
741
|
* @param {*} [options] Override http request option.
|
757
742
|
* @throws {RequiredError}
|
758
743
|
*/
|
759
|
-
|
760
|
-
|
744
|
+
updateDomainMultiCertificates(updateDomainMultiCertificatesRequest) {
|
745
|
+
const options = (0, exports.ParamCreater)().updateDomainMultiCertificates(updateDomainMultiCertificatesRequest);
|
761
746
|
// @ts-ignore
|
762
747
|
options['responseHeaders'] = [''];
|
763
748
|
return this.hcClient.sendRequest(options);
|
764
|
-
}
|
749
|
+
}
|
765
750
|
/**
|
766
751
|
* 修改加速域名的源站配置。
|
767
752
|
*
|
@@ -774,12 +759,12 @@ var CdnClient = /** @class */ (function () {
|
|
774
759
|
* @param {*} [options] Override http request option.
|
775
760
|
* @throws {RequiredError}
|
776
761
|
*/
|
777
|
-
|
778
|
-
|
762
|
+
updateDomainOrigin(updateDomainOriginRequest) {
|
763
|
+
const options = (0, exports.ParamCreater)().updateDomainOrigin(updateDomainOriginRequest);
|
779
764
|
// @ts-ignore
|
780
765
|
options['responseHeaders'] = [''];
|
781
766
|
return this.hcClient.sendRequest(options);
|
782
|
-
}
|
767
|
+
}
|
783
768
|
/**
|
784
769
|
* 开启此项配置后,当CDN节点回源请求源站返回301/302状态码时,CDN节点会先跳转到301/302对应地址获取资源并缓存后再返回给用户。
|
785
770
|
*
|
@@ -792,12 +777,12 @@ var CdnClient = /** @class */ (function () {
|
|
792
777
|
* @param {*} [options] Override http request option.
|
793
778
|
* @throws {RequiredError}
|
794
779
|
*/
|
795
|
-
|
796
|
-
|
780
|
+
updateFollow302Switch(updateFollow302SwitchRequest) {
|
781
|
+
const options = (0, exports.ParamCreater)().updateFollow302Switch(updateFollow302SwitchRequest);
|
797
782
|
// @ts-ignore
|
798
783
|
options['responseHeaders'] = [''];
|
799
784
|
return this.hcClient.sendRequest(options);
|
800
|
-
}
|
785
|
+
}
|
801
786
|
/**
|
802
787
|
* 设置加速域名HTTPS。通过配置加速域名的HTTPS证书,并将其部署在全网CDN节点,实现HTTPS安全加速。
|
803
788
|
*
|
@@ -810,12 +795,12 @@ var CdnClient = /** @class */ (function () {
|
|
810
795
|
* @param {*} [options] Override http request option.
|
811
796
|
* @throws {RequiredError}
|
812
797
|
*/
|
813
|
-
|
814
|
-
|
798
|
+
updateHttpsInfo(updateHttpsInfoRequest) {
|
799
|
+
const options = (0, exports.ParamCreater)().updateHttpsInfo(updateHttpsInfoRequest);
|
815
800
|
// @ts-ignore
|
816
801
|
options['responseHeaders'] = [''];
|
817
802
|
return this.hcClient.sendRequest(options);
|
818
|
-
}
|
803
|
+
}
|
819
804
|
/**
|
820
805
|
* 修改回源HOST。回源HOST是CDN节点在回源过程中,在源站访问的站点域名,即http请求头中的host信息。
|
821
806
|
*
|
@@ -828,12 +813,12 @@ var CdnClient = /** @class */ (function () {
|
|
828
813
|
* @param {*} [options] Override http request option.
|
829
814
|
* @throws {RequiredError}
|
830
815
|
*/
|
831
|
-
|
832
|
-
|
816
|
+
updateOriginHost(updateOriginHostRequest) {
|
817
|
+
const options = (0, exports.ParamCreater)().updateOriginHost(updateOriginHostRequest);
|
833
818
|
// @ts-ignore
|
834
819
|
options['responseHeaders'] = [''];
|
835
820
|
return this.hcClient.sendRequest(options);
|
836
|
-
}
|
821
|
+
}
|
837
822
|
/**
|
838
823
|
* 修改私有桶开启关闭状态。
|
839
824
|
*
|
@@ -846,12 +831,12 @@ var CdnClient = /** @class */ (function () {
|
|
846
831
|
* @param {*} [options] Override http request option.
|
847
832
|
* @throws {RequiredError}
|
848
833
|
*/
|
849
|
-
|
850
|
-
|
834
|
+
updatePrivateBucketAccess(updatePrivateBucketAccessRequest) {
|
835
|
+
const options = (0, exports.ParamCreater)().updatePrivateBucketAccess(updatePrivateBucketAccessRequest);
|
851
836
|
// @ts-ignore
|
852
837
|
options['responseHeaders'] = [''];
|
853
838
|
return this.hcClient.sendRequest(options);
|
854
|
-
}
|
839
|
+
}
|
855
840
|
/**
|
856
841
|
* Range回源是指源站在收到CDN节点回源请求时,根据http请求头中的Range信息返回指定范围的数据给CDN节点。
|
857
842
|
*
|
@@ -866,12 +851,12 @@ var CdnClient = /** @class */ (function () {
|
|
866
851
|
* @param {*} [options] Override http request option.
|
867
852
|
* @throws {RequiredError}
|
868
853
|
*/
|
869
|
-
|
870
|
-
|
854
|
+
updateRangeSwitch(updateRangeSwitchRequest) {
|
855
|
+
const options = (0, exports.ParamCreater)().updateRangeSwitch(updateRangeSwitchRequest);
|
871
856
|
// @ts-ignore
|
872
857
|
options['responseHeaders'] = [''];
|
873
858
|
return this.hcClient.sendRequest(options);
|
874
|
-
}
|
859
|
+
}
|
875
860
|
/**
|
876
861
|
* 设置Referer过滤规则。通过设置过滤策略,对访问者身份进行识别和过滤,实现限制访问来源的目的。
|
877
862
|
*
|
@@ -884,12 +869,12 @@ var CdnClient = /** @class */ (function () {
|
|
884
869
|
* @param {*} [options] Override http request option.
|
885
870
|
* @throws {RequiredError}
|
886
871
|
*/
|
887
|
-
|
888
|
-
|
872
|
+
updateRefer(updateReferRequest) {
|
873
|
+
const options = (0, exports.ParamCreater)().updateRefer(updateReferRequest);
|
889
874
|
// @ts-ignore
|
890
875
|
options['responseHeaders'] = [''];
|
891
876
|
return this.hcClient.sendRequest(options);
|
892
|
-
}
|
877
|
+
}
|
893
878
|
/**
|
894
879
|
* 新增/修改域名响应头配置。
|
895
880
|
*
|
@@ -902,24 +887,23 @@ var CdnClient = /** @class */ (function () {
|
|
902
887
|
* @param {*} [options] Override http request option.
|
903
888
|
* @throws {RequiredError}
|
904
889
|
*/
|
905
|
-
|
906
|
-
|
890
|
+
updateResponseHeader(updateResponseHeaderRequest) {
|
891
|
+
const options = (0, exports.ParamCreater)().updateResponseHeader(updateResponseHeaderRequest);
|
907
892
|
// @ts-ignore
|
908
893
|
options['responseHeaders'] = [''];
|
909
894
|
return this.hcClient.sendRequest(options);
|
910
|
-
}
|
911
|
-
|
912
|
-
}());
|
895
|
+
}
|
896
|
+
}
|
913
897
|
exports.CdnClient = CdnClient;
|
914
|
-
|
898
|
+
const ParamCreater = function () {
|
915
899
|
return {
|
916
900
|
/**
|
917
901
|
* 用于删除资源标签。
|
918
902
|
*
|
919
903
|
* Please refer to HUAWEI cloud API Explorer for details.
|
920
904
|
*/
|
921
|
-
batchDeleteTags
|
922
|
-
|
905
|
+
batchDeleteTags(batchDeleteTagsRequest) {
|
906
|
+
const options = {
|
923
907
|
method: "POST",
|
924
908
|
url: "/v1.0/cdn/configuration/tags/batch-delete",
|
925
909
|
contentType: "application/json",
|
@@ -928,8 +912,8 @@ var ParamCreater = function () {
|
|
928
912
|
headers: {},
|
929
913
|
data: {}
|
930
914
|
};
|
931
|
-
|
932
|
-
|
915
|
+
const localVarHeaderParameter = {};
|
916
|
+
let body;
|
933
917
|
if (batchDeleteTagsRequest !== null && batchDeleteTagsRequest !== undefined) {
|
934
918
|
if (batchDeleteTagsRequest instanceof BatchDeleteTagsRequest_1.BatchDeleteTagsRequest) {
|
935
919
|
body = batchDeleteTagsRequest.body;
|
@@ -951,8 +935,8 @@ var ParamCreater = function () {
|
|
951
935
|
*
|
952
936
|
* Please refer to HUAWEI cloud API Explorer for details.
|
953
937
|
*/
|
954
|
-
createDomain
|
955
|
-
|
938
|
+
createDomain(createDomainRequest) {
|
939
|
+
const options = {
|
956
940
|
method: "POST",
|
957
941
|
url: "/v1.0/cdn/domains",
|
958
942
|
contentType: "application/json",
|
@@ -961,8 +945,8 @@ var ParamCreater = function () {
|
|
961
945
|
headers: {},
|
962
946
|
data: {}
|
963
947
|
};
|
964
|
-
|
965
|
-
|
948
|
+
const localVarHeaderParameter = {};
|
949
|
+
let body;
|
966
950
|
if (createDomainRequest !== null && createDomainRequest !== undefined) {
|
967
951
|
if (createDomainRequest instanceof CreateDomainRequest_1.CreateDomainRequest) {
|
968
952
|
body = createDomainRequest.body;
|
@@ -984,8 +968,8 @@ var ParamCreater = function () {
|
|
984
968
|
*
|
985
969
|
* Please refer to HUAWEI cloud API Explorer for details.
|
986
970
|
*/
|
987
|
-
createPreheatingTasks
|
988
|
-
|
971
|
+
createPreheatingTasks(createPreheatingTasksRequest) {
|
972
|
+
const options = {
|
989
973
|
method: "POST",
|
990
974
|
url: "/v1.0/cdn/content/preheating-tasks",
|
991
975
|
contentType: "application/json",
|
@@ -994,10 +978,10 @@ var ParamCreater = function () {
|
|
994
978
|
headers: {},
|
995
979
|
data: {}
|
996
980
|
};
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
981
|
+
const localVarHeaderParameter = {};
|
982
|
+
const localVarQueryParameter = {};
|
983
|
+
let body;
|
984
|
+
let enterpriseProjectId;
|
1001
985
|
if (createPreheatingTasksRequest !== null && createPreheatingTasksRequest !== undefined) {
|
1002
986
|
if (createPreheatingTasksRequest instanceof CreatePreheatingTasksRequest_1.CreatePreheatingTasksRequest) {
|
1003
987
|
body = createPreheatingTasksRequest.body;
|
@@ -1025,8 +1009,8 @@ var ParamCreater = function () {
|
|
1025
1009
|
*
|
1026
1010
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1027
1011
|
*/
|
1028
|
-
createRefreshTasks
|
1029
|
-
|
1012
|
+
createRefreshTasks(createRefreshTasksRequest) {
|
1013
|
+
const options = {
|
1030
1014
|
method: "POST",
|
1031
1015
|
url: "/v1.0/cdn/content/refresh-tasks",
|
1032
1016
|
contentType: "application/json",
|
@@ -1035,10 +1019,10 @@ var ParamCreater = function () {
|
|
1035
1019
|
headers: {},
|
1036
1020
|
data: {}
|
1037
1021
|
};
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1022
|
+
const localVarHeaderParameter = {};
|
1023
|
+
const localVarQueryParameter = {};
|
1024
|
+
let body;
|
1025
|
+
let enterpriseProjectId;
|
1042
1026
|
if (createRefreshTasksRequest !== null && createRefreshTasksRequest !== undefined) {
|
1043
1027
|
if (createRefreshTasksRequest instanceof CreateRefreshTasksRequest_1.CreateRefreshTasksRequest) {
|
1044
1028
|
body = createRefreshTasksRequest.body;
|
@@ -1066,8 +1050,8 @@ var ParamCreater = function () {
|
|
1066
1050
|
*
|
1067
1051
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1068
1052
|
*/
|
1069
|
-
createTags
|
1070
|
-
|
1053
|
+
createTags(createTagsRequest) {
|
1054
|
+
const options = {
|
1071
1055
|
method: "POST",
|
1072
1056
|
url: "/v1.0/cdn/configuration/tags",
|
1073
1057
|
contentType: "application/json",
|
@@ -1076,8 +1060,8 @@ var ParamCreater = function () {
|
|
1076
1060
|
headers: {},
|
1077
1061
|
data: {}
|
1078
1062
|
};
|
1079
|
-
|
1080
|
-
|
1063
|
+
const localVarHeaderParameter = {};
|
1064
|
+
let body;
|
1081
1065
|
if (createTagsRequest !== null && createTagsRequest !== undefined) {
|
1082
1066
|
if (createTagsRequest instanceof CreateTagsRequest_1.CreateTagsRequest) {
|
1083
1067
|
body = createTagsRequest.body;
|
@@ -1099,8 +1083,8 @@ var ParamCreater = function () {
|
|
1099
1083
|
*
|
1100
1084
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1101
1085
|
*/
|
1102
|
-
deleteDomain
|
1103
|
-
|
1086
|
+
deleteDomain(deleteDomainRequest) {
|
1087
|
+
const options = {
|
1104
1088
|
method: "DELETE",
|
1105
1089
|
url: "/v1.0/cdn/domains/{domain_id}",
|
1106
1090
|
contentType: "application/json",
|
@@ -1108,10 +1092,10 @@ var ParamCreater = function () {
|
|
1108
1092
|
pathParams: {},
|
1109
1093
|
headers: {}
|
1110
1094
|
};
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1095
|
+
const localVarHeaderParameter = {};
|
1096
|
+
const localVarQueryParameter = {};
|
1097
|
+
let domainId;
|
1098
|
+
let enterpriseProjectId;
|
1115
1099
|
if (deleteDomainRequest !== null && deleteDomainRequest !== undefined) {
|
1116
1100
|
if (deleteDomainRequest instanceof DeleteDomainRequest_1.DeleteDomainRequest) {
|
1117
1101
|
domainId = deleteDomainRequest.domainId;
|
@@ -1138,8 +1122,8 @@ var ParamCreater = function () {
|
|
1138
1122
|
*
|
1139
1123
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1140
1124
|
*/
|
1141
|
-
disableDomain
|
1142
|
-
|
1125
|
+
disableDomain(disableDomainRequest) {
|
1126
|
+
const options = {
|
1143
1127
|
method: "PUT",
|
1144
1128
|
url: "/v1.0/cdn/domains/{domain_id}/disable",
|
1145
1129
|
contentType: "application/json",
|
@@ -1147,10 +1131,10 @@ var ParamCreater = function () {
|
|
1147
1131
|
pathParams: {},
|
1148
1132
|
headers: {}
|
1149
1133
|
};
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1134
|
+
const localVarHeaderParameter = {};
|
1135
|
+
const localVarQueryParameter = {};
|
1136
|
+
let domainId;
|
1137
|
+
let enterpriseProjectId;
|
1154
1138
|
if (disableDomainRequest !== null && disableDomainRequest !== undefined) {
|
1155
1139
|
if (disableDomainRequest instanceof DisableDomainRequest_1.DisableDomainRequest) {
|
1156
1140
|
domainId = disableDomainRequest.domainId;
|
@@ -1177,8 +1161,8 @@ var ParamCreater = function () {
|
|
1177
1161
|
*
|
1178
1162
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1179
1163
|
*/
|
1180
|
-
enableDomain
|
1181
|
-
|
1164
|
+
enableDomain(enableDomainRequest) {
|
1165
|
+
const options = {
|
1182
1166
|
method: "PUT",
|
1183
1167
|
url: "/v1.0/cdn/domains/{domain_id}/enable",
|
1184
1168
|
contentType: "application/json",
|
@@ -1186,10 +1170,10 @@ var ParamCreater = function () {
|
|
1186
1170
|
pathParams: {},
|
1187
1171
|
headers: {}
|
1188
1172
|
};
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1173
|
+
const localVarHeaderParameter = {};
|
1174
|
+
const localVarQueryParameter = {};
|
1175
|
+
let domainId;
|
1176
|
+
let enterpriseProjectId;
|
1193
1177
|
if (enableDomainRequest !== null && enableDomainRequest !== undefined) {
|
1194
1178
|
if (enableDomainRequest instanceof EnableDomainRequest_1.EnableDomainRequest) {
|
1195
1179
|
domainId = enableDomainRequest.domainId;
|
@@ -1216,8 +1200,8 @@ var ParamCreater = function () {
|
|
1216
1200
|
*
|
1217
1201
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1218
1202
|
*/
|
1219
|
-
listDomains
|
1220
|
-
|
1203
|
+
listDomains(listDomainsRequest) {
|
1204
|
+
const options = {
|
1221
1205
|
method: "GET",
|
1222
1206
|
url: "/v1.0/cdn/domains",
|
1223
1207
|
contentType: "application/json",
|
@@ -1225,17 +1209,17 @@ var ParamCreater = function () {
|
|
1225
1209
|
pathParams: {},
|
1226
1210
|
headers: {}
|
1227
1211
|
};
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1212
|
+
const localVarHeaderParameter = {};
|
1213
|
+
const localVarQueryParameter = {};
|
1214
|
+
let domainName;
|
1215
|
+
let businessType;
|
1216
|
+
let domainStatus;
|
1217
|
+
let serviceArea;
|
1218
|
+
let pageSize;
|
1219
|
+
let pageNumber;
|
1220
|
+
let showTags;
|
1221
|
+
let exactMatch;
|
1222
|
+
let enterpriseProjectId;
|
1239
1223
|
if (listDomainsRequest !== null && listDomainsRequest !== undefined) {
|
1240
1224
|
if (listDomainsRequest instanceof ListDomainsRequest_1.ListDomainsRequest) {
|
1241
1225
|
domainName = listDomainsRequest.domainName;
|
@@ -1296,8 +1280,8 @@ var ParamCreater = function () {
|
|
1296
1280
|
*
|
1297
1281
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1298
1282
|
*/
|
1299
|
-
showBlackWhiteList
|
1300
|
-
|
1283
|
+
showBlackWhiteList(showBlackWhiteListRequest) {
|
1284
|
+
const options = {
|
1301
1285
|
method: "GET",
|
1302
1286
|
url: "/v1.0/cdn/domains/{domain_id}/ip-acl",
|
1303
1287
|
contentType: "application/json",
|
@@ -1305,10 +1289,10 @@ var ParamCreater = function () {
|
|
1305
1289
|
pathParams: {},
|
1306
1290
|
headers: {}
|
1307
1291
|
};
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1292
|
+
const localVarHeaderParameter = {};
|
1293
|
+
const localVarQueryParameter = {};
|
1294
|
+
let domainId;
|
1295
|
+
let enterpriseProjectId;
|
1312
1296
|
if (showBlackWhiteListRequest !== null && showBlackWhiteListRequest !== undefined) {
|
1313
1297
|
if (showBlackWhiteListRequest instanceof ShowBlackWhiteListRequest_1.ShowBlackWhiteListRequest) {
|
1314
1298
|
domainId = showBlackWhiteListRequest.domainId;
|
@@ -1335,8 +1319,8 @@ var ParamCreater = function () {
|
|
1335
1319
|
*
|
1336
1320
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1337
1321
|
*/
|
1338
|
-
showCacheRules
|
1339
|
-
|
1322
|
+
showCacheRules(showCacheRulesRequest) {
|
1323
|
+
const options = {
|
1340
1324
|
method: "GET",
|
1341
1325
|
url: "/v1.0/cdn/domains/{domain_id}/cache",
|
1342
1326
|
contentType: "application/json",
|
@@ -1344,10 +1328,10 @@ var ParamCreater = function () {
|
|
1344
1328
|
pathParams: {},
|
1345
1329
|
headers: {}
|
1346
1330
|
};
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1331
|
+
const localVarHeaderParameter = {};
|
1332
|
+
const localVarQueryParameter = {};
|
1333
|
+
let domainId;
|
1334
|
+
let enterpriseProjectId;
|
1351
1335
|
if (showCacheRulesRequest !== null && showCacheRulesRequest !== undefined) {
|
1352
1336
|
if (showCacheRulesRequest instanceof ShowCacheRulesRequest_1.ShowCacheRulesRequest) {
|
1353
1337
|
domainId = showCacheRulesRequest.domainId;
|
@@ -1374,8 +1358,8 @@ var ParamCreater = function () {
|
|
1374
1358
|
*
|
1375
1359
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1376
1360
|
*/
|
1377
|
-
showCertificatesHttpsInfo
|
1378
|
-
|
1361
|
+
showCertificatesHttpsInfo(showCertificatesHttpsInfoRequest) {
|
1362
|
+
const options = {
|
1379
1363
|
method: "GET",
|
1380
1364
|
url: "/v1.0/cdn/domains/https-certificate-info",
|
1381
1365
|
contentType: "application/json",
|
@@ -1383,13 +1367,13 @@ var ParamCreater = function () {
|
|
1383
1367
|
pathParams: {},
|
1384
1368
|
headers: {}
|
1385
1369
|
};
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1370
|
+
const localVarHeaderParameter = {};
|
1371
|
+
const localVarQueryParameter = {};
|
1372
|
+
let pageSize;
|
1373
|
+
let pageNumber;
|
1374
|
+
let domainName;
|
1375
|
+
let userDomainId;
|
1376
|
+
let enterpriseProjectId;
|
1393
1377
|
if (showCertificatesHttpsInfoRequest !== null && showCertificatesHttpsInfoRequest !== undefined) {
|
1394
1378
|
if (showCertificatesHttpsInfoRequest instanceof ShowCertificatesHttpsInfoRequest_1.ShowCertificatesHttpsInfoRequest) {
|
1395
1379
|
pageSize = showCertificatesHttpsInfoRequest.pageSize;
|
@@ -1430,8 +1414,8 @@ var ParamCreater = function () {
|
|
1430
1414
|
*
|
1431
1415
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1432
1416
|
*/
|
1433
|
-
showDomainDetail
|
1434
|
-
|
1417
|
+
showDomainDetail(showDomainDetailRequest) {
|
1418
|
+
const options = {
|
1435
1419
|
method: "GET",
|
1436
1420
|
url: "/v1.0/cdn/domains/{domain_id}/detail",
|
1437
1421
|
contentType: "application/json",
|
@@ -1439,10 +1423,10 @@ var ParamCreater = function () {
|
|
1439
1423
|
pathParams: {},
|
1440
1424
|
headers: {}
|
1441
1425
|
};
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1426
|
+
const localVarHeaderParameter = {};
|
1427
|
+
const localVarQueryParameter = {};
|
1428
|
+
let domainId;
|
1429
|
+
let enterpriseProjectId;
|
1446
1430
|
if (showDomainDetailRequest !== null && showDomainDetailRequest !== undefined) {
|
1447
1431
|
if (showDomainDetailRequest instanceof ShowDomainDetailRequest_1.ShowDomainDetailRequest) {
|
1448
1432
|
domainId = showDomainDetailRequest.domainId;
|
@@ -1470,8 +1454,8 @@ var ParamCreater = function () {
|
|
1470
1454
|
*
|
1471
1455
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1472
1456
|
*/
|
1473
|
-
showDomainFullConfig
|
1474
|
-
|
1457
|
+
showDomainFullConfig(showDomainFullConfigRequest) {
|
1458
|
+
const options = {
|
1475
1459
|
method: "GET",
|
1476
1460
|
url: "/v1.1/cdn/configuration/domains/{domain_name}/configs",
|
1477
1461
|
contentType: "application/json",
|
@@ -1479,10 +1463,10 @@ var ParamCreater = function () {
|
|
1479
1463
|
pathParams: {},
|
1480
1464
|
headers: {}
|
1481
1465
|
};
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1466
|
+
const localVarHeaderParameter = {};
|
1467
|
+
const localVarQueryParameter = {};
|
1468
|
+
let domainName;
|
1469
|
+
let enterpriseProjectId;
|
1486
1470
|
if (showDomainFullConfigRequest !== null && showDomainFullConfigRequest !== undefined) {
|
1487
1471
|
if (showDomainFullConfigRequest instanceof ShowDomainFullConfigRequest_1.ShowDomainFullConfigRequest) {
|
1488
1472
|
domainName = showDomainFullConfigRequest.domainName;
|
@@ -1517,8 +1501,8 @@ var ParamCreater = function () {
|
|
1517
1501
|
*
|
1518
1502
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1519
1503
|
*/
|
1520
|
-
showDomainItemDetails
|
1521
|
-
|
1504
|
+
showDomainItemDetails(showDomainItemDetailsRequest) {
|
1505
|
+
const options = {
|
1522
1506
|
method: "GET",
|
1523
1507
|
url: "/v1.0/cdn/statistics/domain-item-details",
|
1524
1508
|
contentType: "application/json",
|
@@ -1526,14 +1510,14 @@ var ParamCreater = function () {
|
|
1526
1510
|
pathParams: {},
|
1527
1511
|
headers: {}
|
1528
1512
|
};
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1513
|
+
const localVarHeaderParameter = {};
|
1514
|
+
const localVarQueryParameter = {};
|
1515
|
+
let startTime;
|
1516
|
+
let endTime;
|
1517
|
+
let domainName;
|
1518
|
+
let statType;
|
1519
|
+
let enterpriseProjectId;
|
1520
|
+
let serviceArea;
|
1537
1521
|
if (showDomainItemDetailsRequest !== null && showDomainItemDetailsRequest !== undefined) {
|
1538
1522
|
if (showDomainItemDetailsRequest instanceof ShowDomainItemDetailsRequest_1.ShowDomainItemDetailsRequest) {
|
1539
1523
|
startTime = showDomainItemDetailsRequest.startTime;
|
@@ -1602,8 +1586,8 @@ var ParamCreater = function () {
|
|
1602
1586
|
*
|
1603
1587
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1604
1588
|
*/
|
1605
|
-
showDomainItemLocationDetails
|
1606
|
-
|
1589
|
+
showDomainItemLocationDetails(showDomainItemLocationDetailsRequest) {
|
1590
|
+
const options = {
|
1607
1591
|
method: "GET",
|
1608
1592
|
url: "/v1.0/cdn/statistics/domain-item-location-details",
|
1609
1593
|
contentType: "application/json",
|
@@ -1611,15 +1595,15 @@ var ParamCreater = function () {
|
|
1611
1595
|
pathParams: {},
|
1612
1596
|
headers: {}
|
1613
1597
|
};
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1598
|
+
const localVarHeaderParameter = {};
|
1599
|
+
const localVarQueryParameter = {};
|
1600
|
+
let startTime;
|
1601
|
+
let endTime;
|
1602
|
+
let domainName;
|
1603
|
+
let statType;
|
1604
|
+
let region;
|
1605
|
+
let isp;
|
1606
|
+
let enterpriseProjectId;
|
1623
1607
|
if (showDomainItemLocationDetailsRequest !== null && showDomainItemLocationDetailsRequest !== undefined) {
|
1624
1608
|
if (showDomainItemLocationDetailsRequest instanceof ShowDomainItemLocationDetailsRequest_1.ShowDomainItemLocationDetailsRequest) {
|
1625
1609
|
startTime = showDomainItemLocationDetailsRequest.startTime;
|
@@ -1700,8 +1684,8 @@ var ParamCreater = function () {
|
|
1700
1684
|
*
|
1701
1685
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1702
1686
|
*/
|
1703
|
-
showDomainLocationStats
|
1704
|
-
|
1687
|
+
showDomainLocationStats(showDomainLocationStatsRequest) {
|
1688
|
+
const options = {
|
1705
1689
|
method: "GET",
|
1706
1690
|
url: "/v1.0/cdn/statistics/domain-location-stats",
|
1707
1691
|
contentType: "application/json",
|
@@ -1709,19 +1693,19 @@ var ParamCreater = function () {
|
|
1709
1693
|
pathParams: {},
|
1710
1694
|
headers: {}
|
1711
1695
|
};
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1696
|
+
const localVarHeaderParameter = {};
|
1697
|
+
const localVarQueryParameter = {};
|
1698
|
+
let action;
|
1699
|
+
let startTime;
|
1700
|
+
let endTime;
|
1701
|
+
let domainName;
|
1702
|
+
let statType;
|
1703
|
+
let interval;
|
1704
|
+
let groupBy;
|
1705
|
+
let country;
|
1706
|
+
let province;
|
1707
|
+
let isp;
|
1708
|
+
let enterpriseProjectId;
|
1725
1709
|
if (showDomainLocationStatsRequest !== null && showDomainLocationStatsRequest !== undefined) {
|
1726
1710
|
if (showDomainLocationStatsRequest instanceof ShowDomainLocationStatsRequest_1.ShowDomainLocationStatsRequest) {
|
1727
1711
|
action = showDomainLocationStatsRequest.action;
|
@@ -1819,8 +1803,8 @@ var ParamCreater = function () {
|
|
1819
1803
|
*
|
1820
1804
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1821
1805
|
*/
|
1822
|
-
showDomainStats
|
1823
|
-
|
1806
|
+
showDomainStats(showDomainStatsRequest) {
|
1807
|
+
const options = {
|
1824
1808
|
method: "GET",
|
1825
1809
|
url: "/v1.0/cdn/statistics/domain-stats",
|
1826
1810
|
contentType: "application/json",
|
@@ -1828,17 +1812,17 @@ var ParamCreater = function () {
|
|
1828
1812
|
pathParams: {},
|
1829
1813
|
headers: {}
|
1830
1814
|
};
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1815
|
+
const localVarHeaderParameter = {};
|
1816
|
+
const localVarQueryParameter = {};
|
1817
|
+
let action;
|
1818
|
+
let startTime;
|
1819
|
+
let endTime;
|
1820
|
+
let domainName;
|
1821
|
+
let statType;
|
1822
|
+
let interval;
|
1823
|
+
let groupBy;
|
1824
|
+
let serviceArea;
|
1825
|
+
let enterpriseProjectId;
|
1842
1826
|
if (showDomainStatsRequest !== null && showDomainStatsRequest !== undefined) {
|
1843
1827
|
if (showDomainStatsRequest instanceof ShowDomainStatsRequest_1.ShowDomainStatsRequest) {
|
1844
1828
|
action = showDomainStatsRequest.action;
|
@@ -1914,8 +1898,8 @@ var ParamCreater = function () {
|
|
1914
1898
|
*
|
1915
1899
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1916
1900
|
*/
|
1917
|
-
showHistoryTaskDetails
|
1918
|
-
|
1901
|
+
showHistoryTaskDetails(showHistoryTaskDetailsRequest) {
|
1902
|
+
const options = {
|
1919
1903
|
method: "GET",
|
1920
1904
|
url: "/v1.0/cdn/historytasks/{history_tasks_id}/detail",
|
1921
1905
|
contentType: "application/json",
|
@@ -1923,15 +1907,15 @@ var ParamCreater = function () {
|
|
1923
1907
|
pathParams: {},
|
1924
1908
|
headers: {}
|
1925
1909
|
};
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1910
|
+
const localVarHeaderParameter = {};
|
1911
|
+
const localVarQueryParameter = {};
|
1912
|
+
let historyTasksId;
|
1913
|
+
let enterpriseProjectId;
|
1914
|
+
let pageSize;
|
1915
|
+
let pageNumber;
|
1916
|
+
let status;
|
1917
|
+
let url;
|
1918
|
+
let createTime;
|
1935
1919
|
if (showHistoryTaskDetailsRequest !== null && showHistoryTaskDetailsRequest !== undefined) {
|
1936
1920
|
if (showHistoryTaskDetailsRequest instanceof ShowHistoryTaskDetailsRequest_1.ShowHistoryTaskDetailsRequest) {
|
1937
1921
|
historyTasksId = showHistoryTaskDetailsRequest.historyTasksId;
|
@@ -1983,8 +1967,8 @@ var ParamCreater = function () {
|
|
1983
1967
|
*
|
1984
1968
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1985
1969
|
*/
|
1986
|
-
showHistoryTasks
|
1987
|
-
|
1970
|
+
showHistoryTasks(showHistoryTasksRequest) {
|
1971
|
+
const options = {
|
1988
1972
|
method: "GET",
|
1989
1973
|
url: "/v1.0/cdn/historytasks",
|
1990
1974
|
contentType: "application/json",
|
@@ -1992,17 +1976,17 @@ var ParamCreater = function () {
|
|
1992
1976
|
pathParams: {},
|
1993
1977
|
headers: {}
|
1994
1978
|
};
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1998
|
-
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
1979
|
+
const localVarHeaderParameter = {};
|
1980
|
+
const localVarQueryParameter = {};
|
1981
|
+
let enterpriseProjectId;
|
1982
|
+
let pageSize;
|
1983
|
+
let pageNumber;
|
1984
|
+
let status;
|
1985
|
+
let startDate;
|
1986
|
+
let endDate;
|
1987
|
+
let orderField;
|
1988
|
+
let orderType;
|
1989
|
+
let fileType;
|
2006
1990
|
if (showHistoryTasksRequest !== null && showHistoryTasksRequest !== undefined) {
|
2007
1991
|
if (showHistoryTasksRequest instanceof ShowHistoryTasksRequest_1.ShowHistoryTasksRequest) {
|
2008
1992
|
enterpriseProjectId = showHistoryTasksRequest.enterpriseProjectId;
|
@@ -2063,8 +2047,8 @@ var ParamCreater = function () {
|
|
2063
2047
|
*
|
2064
2048
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2065
2049
|
*/
|
2066
|
-
showHttpInfo
|
2067
|
-
|
2050
|
+
showHttpInfo(showHttpInfoRequest) {
|
2051
|
+
const options = {
|
2068
2052
|
method: "GET",
|
2069
2053
|
url: "/v1.0/cdn/domains/{domain_id}/https-info",
|
2070
2054
|
contentType: "application/json",
|
@@ -2072,10 +2056,10 @@ var ParamCreater = function () {
|
|
2072
2056
|
pathParams: {},
|
2073
2057
|
headers: {}
|
2074
2058
|
};
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2059
|
+
const localVarHeaderParameter = {};
|
2060
|
+
const localVarQueryParameter = {};
|
2061
|
+
let domainId;
|
2062
|
+
let enterpriseProjectId;
|
2079
2063
|
if (showHttpInfoRequest !== null && showHttpInfoRequest !== undefined) {
|
2080
2064
|
if (showHttpInfoRequest instanceof ShowHttpInfoRequest_1.ShowHttpInfoRequest) {
|
2081
2065
|
domainId = showHttpInfoRequest.domainId;
|
@@ -2102,8 +2086,8 @@ var ParamCreater = function () {
|
|
2102
2086
|
*
|
2103
2087
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2104
2088
|
*/
|
2105
|
-
showIpInfo
|
2106
|
-
|
2089
|
+
showIpInfo(showIpInfoRequest) {
|
2090
|
+
const options = {
|
2107
2091
|
method: "GET",
|
2108
2092
|
url: "/v1.0/cdn/ip-info",
|
2109
2093
|
contentType: "application/json",
|
@@ -2111,10 +2095,10 @@ var ParamCreater = function () {
|
|
2111
2095
|
pathParams: {},
|
2112
2096
|
headers: {}
|
2113
2097
|
};
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2098
|
+
const localVarHeaderParameter = {};
|
2099
|
+
const localVarQueryParameter = {};
|
2100
|
+
let ips;
|
2101
|
+
let enterpriseProjectId;
|
2118
2102
|
if (showIpInfoRequest !== null && showIpInfoRequest !== undefined) {
|
2119
2103
|
if (showIpInfoRequest instanceof ShowIpInfoRequest_1.ShowIpInfoRequest) {
|
2120
2104
|
ips = showIpInfoRequest.ips;
|
@@ -2143,8 +2127,8 @@ var ParamCreater = function () {
|
|
2143
2127
|
*
|
2144
2128
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2145
2129
|
*/
|
2146
|
-
showLogs
|
2147
|
-
|
2130
|
+
showLogs(showLogsRequest) {
|
2131
|
+
const options = {
|
2148
2132
|
method: "GET",
|
2149
2133
|
url: "/v1.0/cdn/logs",
|
2150
2134
|
contentType: "application/json",
|
@@ -2152,14 +2136,14 @@ var ParamCreater = function () {
|
|
2152
2136
|
pathParams: {},
|
2153
2137
|
headers: {}
|
2154
2138
|
};
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2139
|
+
const localVarHeaderParameter = {};
|
2140
|
+
const localVarQueryParameter = {};
|
2141
|
+
let domainName;
|
2142
|
+
let startTime;
|
2143
|
+
let endTime;
|
2144
|
+
let pageSize;
|
2145
|
+
let pageNumber;
|
2146
|
+
let enterpriseProjectId;
|
2163
2147
|
if (showLogsRequest !== null && showLogsRequest !== undefined) {
|
2164
2148
|
if (showLogsRequest instanceof ShowLogsRequest_1.ShowLogsRequest) {
|
2165
2149
|
domainName = showLogsRequest.domainName;
|
@@ -2208,8 +2192,8 @@ var ParamCreater = function () {
|
|
2208
2192
|
*
|
2209
2193
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2210
2194
|
*/
|
2211
|
-
showOriginHost
|
2212
|
-
|
2195
|
+
showOriginHost(showOriginHostRequest) {
|
2196
|
+
const options = {
|
2213
2197
|
method: "GET",
|
2214
2198
|
url: "/v1.0/cdn/domains/{domain_id}/originhost",
|
2215
2199
|
contentType: "application/json",
|
@@ -2217,10 +2201,10 @@ var ParamCreater = function () {
|
|
2217
2201
|
pathParams: {},
|
2218
2202
|
headers: {}
|
2219
2203
|
};
|
2220
|
-
|
2221
|
-
|
2222
|
-
|
2223
|
-
|
2204
|
+
const localVarHeaderParameter = {};
|
2205
|
+
const localVarQueryParameter = {};
|
2206
|
+
let domainId;
|
2207
|
+
let enterpriseProjectId;
|
2224
2208
|
if (showOriginHostRequest !== null && showOriginHostRequest !== undefined) {
|
2225
2209
|
if (showOriginHostRequest instanceof ShowOriginHostRequest_1.ShowOriginHostRequest) {
|
2226
2210
|
domainId = showOriginHostRequest.domainId;
|
@@ -2247,8 +2231,8 @@ var ParamCreater = function () {
|
|
2247
2231
|
*
|
2248
2232
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2249
2233
|
*/
|
2250
|
-
showQuota
|
2251
|
-
|
2234
|
+
showQuota() {
|
2235
|
+
const options = {
|
2252
2236
|
method: "GET",
|
2253
2237
|
url: "/v1.0/cdn/quota",
|
2254
2238
|
contentType: "application/json",
|
@@ -2256,7 +2240,7 @@ var ParamCreater = function () {
|
|
2256
2240
|
pathParams: {},
|
2257
2241
|
headers: {}
|
2258
2242
|
};
|
2259
|
-
|
2243
|
+
const localVarHeaderParameter = {};
|
2260
2244
|
options.headers = localVarHeaderParameter;
|
2261
2245
|
return options;
|
2262
2246
|
},
|
@@ -2265,8 +2249,8 @@ var ParamCreater = function () {
|
|
2265
2249
|
*
|
2266
2250
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2267
2251
|
*/
|
2268
|
-
showRefer
|
2269
|
-
|
2252
|
+
showRefer(showReferRequest) {
|
2253
|
+
const options = {
|
2270
2254
|
method: "GET",
|
2271
2255
|
url: "/v1.0/cdn/domains/{domain_id}/referer",
|
2272
2256
|
contentType: "application/json",
|
@@ -2274,10 +2258,10 @@ var ParamCreater = function () {
|
|
2274
2258
|
pathParams: {},
|
2275
2259
|
headers: {}
|
2276
2260
|
};
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2261
|
+
const localVarHeaderParameter = {};
|
2262
|
+
const localVarQueryParameter = {};
|
2263
|
+
let domainId;
|
2264
|
+
let enterpriseProjectId;
|
2281
2265
|
if (showReferRequest !== null && showReferRequest !== undefined) {
|
2282
2266
|
if (showReferRequest instanceof ShowReferRequest_1.ShowReferRequest) {
|
2283
2267
|
domainId = showReferRequest.domainId;
|
@@ -2304,8 +2288,8 @@ var ParamCreater = function () {
|
|
2304
2288
|
*
|
2305
2289
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2306
2290
|
*/
|
2307
|
-
showResponseHeader
|
2308
|
-
|
2291
|
+
showResponseHeader(showResponseHeaderRequest) {
|
2292
|
+
const options = {
|
2309
2293
|
method: "GET",
|
2310
2294
|
url: "/v1.0/cdn/domains/{domain_id}/response-header",
|
2311
2295
|
contentType: "application/json",
|
@@ -2313,10 +2297,10 @@ var ParamCreater = function () {
|
|
2313
2297
|
pathParams: {},
|
2314
2298
|
headers: {}
|
2315
2299
|
};
|
2316
|
-
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2300
|
+
const localVarHeaderParameter = {};
|
2301
|
+
const localVarQueryParameter = {};
|
2302
|
+
let domainId;
|
2303
|
+
let enterpriseProjectId;
|
2320
2304
|
if (showResponseHeaderRequest !== null && showResponseHeaderRequest !== undefined) {
|
2321
2305
|
if (showResponseHeaderRequest instanceof ShowResponseHeaderRequest_1.ShowResponseHeaderRequest) {
|
2322
2306
|
domainId = showResponseHeaderRequest.domainId;
|
@@ -2343,8 +2327,8 @@ var ParamCreater = function () {
|
|
2343
2327
|
*
|
2344
2328
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2345
2329
|
*/
|
2346
|
-
showTags
|
2347
|
-
|
2330
|
+
showTags(showTagsRequest) {
|
2331
|
+
const options = {
|
2348
2332
|
method: "GET",
|
2349
2333
|
url: "/v1.0/cdn/configuration/tags",
|
2350
2334
|
contentType: "application/json",
|
@@ -2352,9 +2336,9 @@ var ParamCreater = function () {
|
|
2352
2336
|
pathParams: {},
|
2353
2337
|
headers: {}
|
2354
2338
|
};
|
2355
|
-
|
2356
|
-
|
2357
|
-
|
2339
|
+
const localVarHeaderParameter = {};
|
2340
|
+
const localVarQueryParameter = {};
|
2341
|
+
let resourceId;
|
2358
2342
|
if (showTagsRequest !== null && showTagsRequest !== undefined) {
|
2359
2343
|
if (showTagsRequest instanceof ShowTagsRequest_1.ShowTagsRequest) {
|
2360
2344
|
resourceId = showTagsRequest.resourceId;
|
@@ -2391,8 +2375,8 @@ var ParamCreater = function () {
|
|
2391
2375
|
*
|
2392
2376
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2393
2377
|
*/
|
2394
|
-
showTopUrl
|
2395
|
-
|
2378
|
+
showTopUrl(showTopUrlRequest) {
|
2379
|
+
const options = {
|
2396
2380
|
method: "GET",
|
2397
2381
|
url: "/v1.0/cdn/statistics/top-url",
|
2398
2382
|
contentType: "application/json",
|
@@ -2400,14 +2384,14 @@ var ParamCreater = function () {
|
|
2400
2384
|
pathParams: {},
|
2401
2385
|
headers: {}
|
2402
2386
|
};
|
2403
|
-
|
2404
|
-
|
2405
|
-
|
2406
|
-
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
2410
|
-
|
2387
|
+
const localVarHeaderParameter = {};
|
2388
|
+
const localVarQueryParameter = {};
|
2389
|
+
let startTime;
|
2390
|
+
let endTime;
|
2391
|
+
let domainName;
|
2392
|
+
let statType;
|
2393
|
+
let enterpriseProjectId;
|
2394
|
+
let serviceArea;
|
2411
2395
|
if (showTopUrlRequest !== null && showTopUrlRequest !== undefined) {
|
2412
2396
|
if (showTopUrlRequest instanceof ShowTopUrlRequest_1.ShowTopUrlRequest) {
|
2413
2397
|
startTime = showTopUrlRequest.startTime;
|
@@ -2465,8 +2449,8 @@ var ParamCreater = function () {
|
|
2465
2449
|
*
|
2466
2450
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2467
2451
|
*/
|
2468
|
-
showUrlTaskInfo
|
2469
|
-
|
2452
|
+
showUrlTaskInfo(showUrlTaskInfoRequest) {
|
2453
|
+
const options = {
|
2470
2454
|
method: "GET",
|
2471
2455
|
url: "/v1.0/cdn/contentgateway/url-tasks",
|
2472
2456
|
contentType: "application/json",
|
@@ -2474,16 +2458,16 @@ var ParamCreater = function () {
|
|
2474
2458
|
pathParams: {},
|
2475
2459
|
headers: {}
|
2476
2460
|
};
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2461
|
+
const localVarHeaderParameter = {};
|
2462
|
+
const localVarQueryParameter = {};
|
2463
|
+
let startTime;
|
2464
|
+
let endTime;
|
2465
|
+
let offset;
|
2466
|
+
let limit;
|
2467
|
+
let url;
|
2468
|
+
let taskType;
|
2469
|
+
let status;
|
2470
|
+
let fileType;
|
2487
2471
|
if (showUrlTaskInfoRequest !== null && showUrlTaskInfoRequest !== undefined) {
|
2488
2472
|
if (showUrlTaskInfoRequest instanceof ShowUrlTaskInfoRequest_1.ShowUrlTaskInfoRequest) {
|
2489
2473
|
startTime = showUrlTaskInfoRequest.startTime;
|
@@ -2539,8 +2523,8 @@ var ParamCreater = function () {
|
|
2539
2523
|
*
|
2540
2524
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2541
2525
|
*/
|
2542
|
-
updateBlackWhiteList
|
2543
|
-
|
2526
|
+
updateBlackWhiteList(updateBlackWhiteListRequest) {
|
2527
|
+
const options = {
|
2544
2528
|
method: "PUT",
|
2545
2529
|
url: "/v1.0/cdn/domains/{domain_id}/ip-acl",
|
2546
2530
|
contentType: "application/json",
|
@@ -2549,11 +2533,11 @@ var ParamCreater = function () {
|
|
2549
2533
|
headers: {},
|
2550
2534
|
data: {}
|
2551
2535
|
};
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2555
|
-
|
2556
|
-
|
2536
|
+
const localVarHeaderParameter = {};
|
2537
|
+
const localVarQueryParameter = {};
|
2538
|
+
let body;
|
2539
|
+
let domainId;
|
2540
|
+
let enterpriseProjectId;
|
2557
2541
|
if (updateBlackWhiteListRequest !== null && updateBlackWhiteListRequest !== undefined) {
|
2558
2542
|
if (updateBlackWhiteListRequest instanceof UpdateBlackWhiteListRequest_1.UpdateBlackWhiteListRequest) {
|
2559
2543
|
domainId = updateBlackWhiteListRequest.domainId;
|
@@ -2587,8 +2571,8 @@ var ParamCreater = function () {
|
|
2587
2571
|
*
|
2588
2572
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2589
2573
|
*/
|
2590
|
-
updateCacheRules
|
2591
|
-
|
2574
|
+
updateCacheRules(updateCacheRulesRequest) {
|
2575
|
+
const options = {
|
2592
2576
|
method: "PUT",
|
2593
2577
|
url: "/v1.0/cdn/domains/{domain_id}/cache",
|
2594
2578
|
contentType: "application/json",
|
@@ -2597,11 +2581,11 @@ var ParamCreater = function () {
|
|
2597
2581
|
headers: {},
|
2598
2582
|
data: {}
|
2599
2583
|
};
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2584
|
+
const localVarHeaderParameter = {};
|
2585
|
+
const localVarQueryParameter = {};
|
2586
|
+
let body;
|
2587
|
+
let domainId;
|
2588
|
+
let enterpriseProjectId;
|
2605
2589
|
if (updateCacheRulesRequest !== null && updateCacheRulesRequest !== undefined) {
|
2606
2590
|
if (updateCacheRulesRequest instanceof UpdateCacheRulesRequest_1.UpdateCacheRulesRequest) {
|
2607
2591
|
domainId = updateCacheRulesRequest.domainId;
|
@@ -2636,8 +2620,8 @@ var ParamCreater = function () {
|
|
2636
2620
|
*
|
2637
2621
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2638
2622
|
*/
|
2639
|
-
updateDomainFullConfig
|
2640
|
-
|
2623
|
+
updateDomainFullConfig(updateDomainFullConfigRequest) {
|
2624
|
+
const options = {
|
2641
2625
|
method: "PUT",
|
2642
2626
|
url: "/v1.1/cdn/configuration/domains/{domain_name}/configs",
|
2643
2627
|
contentType: "application/json",
|
@@ -2646,11 +2630,11 @@ var ParamCreater = function () {
|
|
2646
2630
|
headers: {},
|
2647
2631
|
data: {}
|
2648
2632
|
};
|
2649
|
-
|
2650
|
-
|
2651
|
-
|
2652
|
-
|
2653
|
-
|
2633
|
+
const localVarHeaderParameter = {};
|
2634
|
+
const localVarQueryParameter = {};
|
2635
|
+
let body;
|
2636
|
+
let domainName;
|
2637
|
+
let enterpriseProjectId;
|
2654
2638
|
if (updateDomainFullConfigRequest !== null && updateDomainFullConfigRequest !== undefined) {
|
2655
2639
|
if (updateDomainFullConfigRequest instanceof UpdateDomainFullConfigRequest_1.UpdateDomainFullConfigRequest) {
|
2656
2640
|
domainName = updateDomainFullConfigRequest.domainName;
|
@@ -2684,8 +2668,8 @@ var ParamCreater = function () {
|
|
2684
2668
|
*
|
2685
2669
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2686
2670
|
*/
|
2687
|
-
updateDomainMultiCertificates
|
2688
|
-
|
2671
|
+
updateDomainMultiCertificates(updateDomainMultiCertificatesRequest) {
|
2672
|
+
const options = {
|
2689
2673
|
method: "PUT",
|
2690
2674
|
url: "/v1.0/cdn/domains/config-https-info",
|
2691
2675
|
contentType: "application/json",
|
@@ -2694,10 +2678,10 @@ var ParamCreater = function () {
|
|
2694
2678
|
headers: {},
|
2695
2679
|
data: {}
|
2696
2680
|
};
|
2697
|
-
|
2698
|
-
|
2699
|
-
|
2700
|
-
|
2681
|
+
const localVarHeaderParameter = {};
|
2682
|
+
const localVarQueryParameter = {};
|
2683
|
+
let body;
|
2684
|
+
let enterpriseProjectId;
|
2701
2685
|
if (updateDomainMultiCertificatesRequest !== null && updateDomainMultiCertificatesRequest !== undefined) {
|
2702
2686
|
if (updateDomainMultiCertificatesRequest instanceof UpdateDomainMultiCertificatesRequest_1.UpdateDomainMultiCertificatesRequest) {
|
2703
2687
|
enterpriseProjectId = updateDomainMultiCertificatesRequest.enterpriseProjectId;
|
@@ -2722,8 +2706,8 @@ var ParamCreater = function () {
|
|
2722
2706
|
*
|
2723
2707
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2724
2708
|
*/
|
2725
|
-
updateDomainOrigin
|
2726
|
-
|
2709
|
+
updateDomainOrigin(updateDomainOriginRequest) {
|
2710
|
+
const options = {
|
2727
2711
|
method: "PUT",
|
2728
2712
|
url: "/v1.0/cdn/domains/{domain_id}/origin",
|
2729
2713
|
contentType: "application/json",
|
@@ -2732,11 +2716,11 @@ var ParamCreater = function () {
|
|
2732
2716
|
headers: {},
|
2733
2717
|
data: {}
|
2734
2718
|
};
|
2735
|
-
|
2736
|
-
|
2737
|
-
|
2738
|
-
|
2739
|
-
|
2719
|
+
const localVarHeaderParameter = {};
|
2720
|
+
const localVarQueryParameter = {};
|
2721
|
+
let body;
|
2722
|
+
let domainId;
|
2723
|
+
let enterpriseProjectId;
|
2740
2724
|
if (updateDomainOriginRequest !== null && updateDomainOriginRequest !== undefined) {
|
2741
2725
|
if (updateDomainOriginRequest instanceof UpdateDomainOriginRequest_1.UpdateDomainOriginRequest) {
|
2742
2726
|
domainId = updateDomainOriginRequest.domainId;
|
@@ -2770,8 +2754,8 @@ var ParamCreater = function () {
|
|
2770
2754
|
*
|
2771
2755
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2772
2756
|
*/
|
2773
|
-
updateFollow302Switch
|
2774
|
-
|
2757
|
+
updateFollow302Switch(updateFollow302SwitchRequest) {
|
2758
|
+
const options = {
|
2775
2759
|
method: "PUT",
|
2776
2760
|
url: "/v1.0/cdn/domains/{domain_id}/follow302-switch",
|
2777
2761
|
contentType: "application/json",
|
@@ -2780,11 +2764,11 @@ var ParamCreater = function () {
|
|
2780
2764
|
headers: {},
|
2781
2765
|
data: {}
|
2782
2766
|
};
|
2783
|
-
|
2784
|
-
|
2785
|
-
|
2786
|
-
|
2787
|
-
|
2767
|
+
const localVarHeaderParameter = {};
|
2768
|
+
const localVarQueryParameter = {};
|
2769
|
+
let body;
|
2770
|
+
let domainId;
|
2771
|
+
let enterpriseProjectId;
|
2788
2772
|
if (updateFollow302SwitchRequest !== null && updateFollow302SwitchRequest !== undefined) {
|
2789
2773
|
if (updateFollow302SwitchRequest instanceof UpdateFollow302SwitchRequest_1.UpdateFollow302SwitchRequest) {
|
2790
2774
|
domainId = updateFollow302SwitchRequest.domainId;
|
@@ -2818,8 +2802,8 @@ var ParamCreater = function () {
|
|
2818
2802
|
*
|
2819
2803
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2820
2804
|
*/
|
2821
|
-
updateHttpsInfo
|
2822
|
-
|
2805
|
+
updateHttpsInfo(updateHttpsInfoRequest) {
|
2806
|
+
const options = {
|
2823
2807
|
method: "PUT",
|
2824
2808
|
url: "/v1.0/cdn/domains/{domain_id}/https-info",
|
2825
2809
|
contentType: "application/json",
|
@@ -2828,11 +2812,11 @@ var ParamCreater = function () {
|
|
2828
2812
|
headers: {},
|
2829
2813
|
data: {}
|
2830
2814
|
};
|
2831
|
-
|
2832
|
-
|
2833
|
-
|
2834
|
-
|
2835
|
-
|
2815
|
+
const localVarHeaderParameter = {};
|
2816
|
+
const localVarQueryParameter = {};
|
2817
|
+
let body;
|
2818
|
+
let domainId;
|
2819
|
+
let enterpriseProjectId;
|
2836
2820
|
if (updateHttpsInfoRequest !== null && updateHttpsInfoRequest !== undefined) {
|
2837
2821
|
if (updateHttpsInfoRequest instanceof UpdateHttpsInfoRequest_1.UpdateHttpsInfoRequest) {
|
2838
2822
|
domainId = updateHttpsInfoRequest.domainId;
|
@@ -2866,8 +2850,8 @@ var ParamCreater = function () {
|
|
2866
2850
|
*
|
2867
2851
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2868
2852
|
*/
|
2869
|
-
updateOriginHost
|
2870
|
-
|
2853
|
+
updateOriginHost(updateOriginHostRequest) {
|
2854
|
+
const options = {
|
2871
2855
|
method: "PUT",
|
2872
2856
|
url: "/v1.0/cdn/domains/{domain_id}/originhost",
|
2873
2857
|
contentType: "application/json",
|
@@ -2876,11 +2860,11 @@ var ParamCreater = function () {
|
|
2876
2860
|
headers: {},
|
2877
2861
|
data: {}
|
2878
2862
|
};
|
2879
|
-
|
2880
|
-
|
2881
|
-
|
2882
|
-
|
2883
|
-
|
2863
|
+
const localVarHeaderParameter = {};
|
2864
|
+
const localVarQueryParameter = {};
|
2865
|
+
let body;
|
2866
|
+
let domainId;
|
2867
|
+
let enterpriseProjectId;
|
2884
2868
|
if (updateOriginHostRequest !== null && updateOriginHostRequest !== undefined) {
|
2885
2869
|
if (updateOriginHostRequest instanceof UpdateOriginHostRequest_1.UpdateOriginHostRequest) {
|
2886
2870
|
domainId = updateOriginHostRequest.domainId;
|
@@ -2914,8 +2898,8 @@ var ParamCreater = function () {
|
|
2914
2898
|
*
|
2915
2899
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2916
2900
|
*/
|
2917
|
-
updatePrivateBucketAccess
|
2918
|
-
|
2901
|
+
updatePrivateBucketAccess(updatePrivateBucketAccessRequest) {
|
2902
|
+
const options = {
|
2919
2903
|
method: "PUT",
|
2920
2904
|
url: "/v1.0/cdn/domains/{domain_id}/private-bucket-access",
|
2921
2905
|
contentType: "application/json",
|
@@ -2924,11 +2908,11 @@ var ParamCreater = function () {
|
|
2924
2908
|
headers: {},
|
2925
2909
|
data: {}
|
2926
2910
|
};
|
2927
|
-
|
2928
|
-
|
2929
|
-
|
2930
|
-
|
2931
|
-
|
2911
|
+
const localVarHeaderParameter = {};
|
2912
|
+
const localVarQueryParameter = {};
|
2913
|
+
let body;
|
2914
|
+
let domainId;
|
2915
|
+
let enterpriseProjectId;
|
2932
2916
|
if (updatePrivateBucketAccessRequest !== null && updatePrivateBucketAccessRequest !== undefined) {
|
2933
2917
|
if (updatePrivateBucketAccessRequest instanceof UpdatePrivateBucketAccessRequest_1.UpdatePrivateBucketAccessRequest) {
|
2934
2918
|
domainId = updatePrivateBucketAccessRequest.domainId;
|
@@ -2961,8 +2945,8 @@ var ParamCreater = function () {
|
|
2961
2945
|
*
|
2962
2946
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2963
2947
|
*/
|
2964
|
-
updateRangeSwitch
|
2965
|
-
|
2948
|
+
updateRangeSwitch(updateRangeSwitchRequest) {
|
2949
|
+
const options = {
|
2966
2950
|
method: "PUT",
|
2967
2951
|
url: "/v1.0/cdn/domains/{domain_id}/range-switch",
|
2968
2952
|
contentType: "application/json",
|
@@ -2971,11 +2955,11 @@ var ParamCreater = function () {
|
|
2971
2955
|
headers: {},
|
2972
2956
|
data: {}
|
2973
2957
|
};
|
2974
|
-
|
2975
|
-
|
2976
|
-
|
2977
|
-
|
2978
|
-
|
2958
|
+
const localVarHeaderParameter = {};
|
2959
|
+
const localVarQueryParameter = {};
|
2960
|
+
let body;
|
2961
|
+
let domainId;
|
2962
|
+
let enterpriseProjectId;
|
2979
2963
|
if (updateRangeSwitchRequest !== null && updateRangeSwitchRequest !== undefined) {
|
2980
2964
|
if (updateRangeSwitchRequest instanceof UpdateRangeSwitchRequest_1.UpdateRangeSwitchRequest) {
|
2981
2965
|
domainId = updateRangeSwitchRequest.domainId;
|
@@ -3009,8 +2993,8 @@ var ParamCreater = function () {
|
|
3009
2993
|
*
|
3010
2994
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3011
2995
|
*/
|
3012
|
-
updateRefer
|
3013
|
-
|
2996
|
+
updateRefer(updateReferRequest) {
|
2997
|
+
const options = {
|
3014
2998
|
method: "PUT",
|
3015
2999
|
url: "/v1.0/cdn/domains/{domain_id}/referer",
|
3016
3000
|
contentType: "application/json",
|
@@ -3019,11 +3003,11 @@ var ParamCreater = function () {
|
|
3019
3003
|
headers: {},
|
3020
3004
|
data: {}
|
3021
3005
|
};
|
3022
|
-
|
3023
|
-
|
3024
|
-
|
3025
|
-
|
3026
|
-
|
3006
|
+
const localVarHeaderParameter = {};
|
3007
|
+
const localVarQueryParameter = {};
|
3008
|
+
let body;
|
3009
|
+
let domainId;
|
3010
|
+
let enterpriseProjectId;
|
3027
3011
|
if (updateReferRequest !== null && updateReferRequest !== undefined) {
|
3028
3012
|
if (updateReferRequest instanceof UpdateReferRequest_1.UpdateReferRequest) {
|
3029
3013
|
domainId = updateReferRequest.domainId;
|
@@ -3057,8 +3041,8 @@ var ParamCreater = function () {
|
|
3057
3041
|
*
|
3058
3042
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3059
3043
|
*/
|
3060
|
-
updateResponseHeader
|
3061
|
-
|
3044
|
+
updateResponseHeader(updateResponseHeaderRequest) {
|
3045
|
+
const options = {
|
3062
3046
|
method: "PUT",
|
3063
3047
|
url: "/v1.0/cdn/domains/{domain_id}/response-header",
|
3064
3048
|
contentType: "application/json",
|
@@ -3067,11 +3051,11 @@ var ParamCreater = function () {
|
|
3067
3051
|
headers: {},
|
3068
3052
|
data: {}
|
3069
3053
|
};
|
3070
|
-
|
3071
|
-
|
3072
|
-
|
3073
|
-
|
3074
|
-
|
3054
|
+
const localVarHeaderParameter = {};
|
3055
|
+
const localVarQueryParameter = {};
|
3056
|
+
let body;
|
3057
|
+
let domainId;
|
3058
|
+
let enterpriseProjectId;
|
3075
3059
|
if (updateResponseHeaderRequest !== null && updateResponseHeaderRequest !== undefined) {
|
3076
3060
|
if (updateResponseHeaderRequest instanceof UpdateResponseHeaderRequest_1.UpdateResponseHeaderRequest) {
|
3077
3061
|
domainId = updateResponseHeaderRequest.domainId;
|
@@ -3112,14 +3096,12 @@ function newClient(client) {
|
|
3112
3096
|
* @class RequiredError
|
3113
3097
|
* @extends {Error}
|
3114
3098
|
*/
|
3115
|
-
|
3116
|
-
|
3117
|
-
|
3118
|
-
|
3119
|
-
|
3120
|
-
_this.name = "RequiredError";
|
3121
|
-
return _this;
|
3099
|
+
class RequiredError extends Error {
|
3100
|
+
constructor(field, msg) {
|
3101
|
+
super(msg);
|
3102
|
+
this.field = field;
|
3103
|
+
this.name = "RequiredError";
|
3122
3104
|
}
|
3123
|
-
|
3124
|
-
}(Error));
|
3105
|
+
}
|
3125
3106
|
exports.RequiredError = RequiredError;
|
3107
|
+
//# sourceMappingURL=CdnClient.js.map
|