@huaweicloud/huaweicloud-sdk-cdn 3.1.44 → 3.1.46
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cdn.ts +6 -0
- package/package.json +4 -4
- package/v1/{CdnClient.js → CdnClient.ts} +1463 -929
- package/v1/CdnRegion.ts +28 -0
- package/v1/model/BatchDeleteTagsRequest.ts +12 -0
- package/v1/model/BatchDeleteTagsResponse.ts +8 -0
- package/v1/model/BlackWhiteListBody.ts +23 -0
- package/v1/model/CacheConfig.ts +40 -0
- package/v1/model/CacheConfigRequest.ts +40 -0
- package/v1/model/CacheConfigRequestBody.ts +19 -0
- package/v1/model/CacheRules.ts +88 -0
- package/v1/model/CacheUrlParameterFilter.ts +16 -0
- package/v1/model/CdnIps.ts +31 -0
- package/v1/model/Compress.ts +17 -0
- package/v1/model/CompressRequest.ts +17 -0
- package/v1/model/CompressResponse.ts +30 -0
- package/v1/model/CompressRules.ts +28 -0
- package/v1/model/Configs.ts +206 -0
- package/v1/model/ConfigsGetBody.ts +206 -0
- package/v1/model/CreateDomainRequest.ts +12 -0
- package/v1/model/CreateDomainRequestBody.ts +13 -0
- package/v1/model/CreateDomainResponse.ts +14 -0
- package/v1/model/CreateDomainResponseBodyContent.ts +176 -0
- package/v1/model/CreatePreheatingTasksRequest.ts +23 -0
- package/v1/model/CreatePreheatingTasksResponse.ts +19 -0
- package/v1/model/CreateRefreshTasksRequest.ts +23 -0
- package/v1/model/CreateRefreshTasksResponse.ts +19 -0
- package/v1/model/CreateTagsRequest.ts +12 -0
- package/v1/model/CreateTagsRequestBody.ts +24 -0
- package/v1/model/CreateTagsResponse.ts +8 -0
- package/v1/model/DeleteDomainRequest.ts +29 -0
- package/v1/model/DeleteDomainResponse.ts +14 -0
- package/v1/model/DeleteTagsRequestBody.ts +24 -0
- package/v1/model/DisableDomainRequest.ts +29 -0
- package/v1/model/DisableDomainResponse.ts +14 -0
- package/v1/model/DomainBody.ts +80 -0
- package/v1/model/DomainItemDetail.ts +44 -0
- package/v1/model/DomainItemLocationDetails.ts +45 -0
- package/v1/model/DomainOriginHost.ts +40 -0
- package/v1/model/DomainRegion.ts +28 -0
- package/v1/model/Domains.ts +225 -0
- package/v1/model/DomainsWithPort.ts +219 -0
- package/v1/model/EnableDomainRequest.ts +29 -0
- package/v1/model/EnableDomainResponse.ts +14 -0
- package/v1/model/EpResourceTag.ts +18 -0
- package/v1/model/ErrorCodeCache.ts +16 -0
- package/v1/model/ErrorCodeRedirectRules.ts +42 -0
- package/v1/model/Follow302StatusBody.ts +37 -0
- package/v1/model/Follow302StatusRequest.ts +27 -0
- package/v1/model/ForceRedirect.ts +29 -0
- package/v1/model/ForceRedirectConfig.ts +28 -0
- package/v1/model/HeaderBody.ts +12 -0
- package/v1/model/HeaderMap.ts +72 -0
- package/v1/model/HttpGetBody.ts +72 -0
- package/v1/model/HttpInfoRequest.ts +13 -0
- package/v1/model/HttpInfoRequestBody.ts +85 -0
- package/v1/model/HttpInfoResponseBody.ts +94 -0
- package/v1/model/HttpPutBody.ts +83 -0
- package/v1/model/HttpResponseHeader.ts +23 -0
- package/v1/model/HttpsDetail.ts +116 -0
- package/v1/model/IpFilter.ts +17 -0
- package/v1/model/ListDomainsRequest.ts +138 -0
- package/v1/model/ListDomainsResponse.ts +19 -0
- package/v1/model/LogObject.ts +54 -0
- package/v1/model/ModelMap.ts +17 -0
- package/v1/model/ModifyDomainConfigRequestBody.ts +12 -0
- package/v1/model/OriginHostBody.ts +38 -0
- package/v1/model/OriginHostRequest.ts +19 -0
- package/v1/model/OriginRangeBody.ts +37 -0
- package/v1/model/OriginRequest.ts +13 -0
- package/v1/model/OriginRequestHeader.ts +23 -0
- package/v1/model/OriginRequestUrlRewrite.ts +47 -0
- package/v1/model/PreheatingTaskRequest.ts +19 -0
- package/v1/model/PreheatingTaskRequestBody.ts +12 -0
- package/v1/model/Quotas.ts +38 -0
- package/v1/model/RangeStatusRequest.ts +27 -0
- package/v1/model/Referer.ts +40 -0
- package/v1/model/RefererBody.ts +13 -0
- package/v1/model/RefererConfig.ts +28 -0
- package/v1/model/RefererRsp.ts +39 -0
- package/v1/model/RefreshTaskRequest.ts +19 -0
- package/v1/model/RefreshTaskRequestBody.ts +39 -0
- package/v1/model/ResourceBody.ts +13 -0
- package/v1/model/Rules.ts +47 -0
- package/v1/model/ShowBlackWhiteListRequest.ts +29 -0
- package/v1/model/ShowBlackWhiteListResponse.ts +24 -0
- package/v1/model/ShowCacheRulesRequest.ts +29 -0
- package/v1/model/ShowCacheRulesResponse.ts +20 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.ts +61 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.ts +19 -0
- package/v1/model/ShowDomainDetailRequest.ts +29 -0
- package/v1/model/ShowDomainDetailResponse.ts +14 -0
- package/v1/model/ShowDomainFullConfigRequest.ts +29 -0
- package/v1/model/ShowDomainFullConfigResponse.ts +14 -0
- package/v1/model/ShowDomainItemDetailsRequest.ts +76 -0
- package/v1/model/ShowDomainItemDetailsResponse.ts +20 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.ts +77 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.ts +20 -0
- package/v1/model/ShowDomainLocationStatsRequest.ts +102 -0
- package/v1/model/ShowDomainLocationStatsResponse.ts +24 -0
- package/v1/model/ShowDomainStatsRequest.ts +98 -0
- package/v1/model/ShowDomainStatsResponse.ts +13 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.ts +72 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.ts +77 -0
- package/v1/model/ShowHistoryTasksRequest.ts +116 -0
- package/v1/model/ShowHistoryTasksResponse.ts +19 -0
- package/v1/model/ShowHttpInfoRequest.ts +29 -0
- package/v1/model/ShowHttpInfoResponse.ts +14 -0
- package/v1/model/ShowIpInfoRequest.ts +23 -0
- package/v1/model/ShowIpInfoResponse.ts +20 -0
- package/v1/model/ShowLogsRequest.ts +73 -0
- package/v1/model/ShowLogsResponse.ts +19 -0
- package/v1/model/ShowOriginHostRequest.ts +29 -0
- package/v1/model/ShowOriginHostResponse.ts +20 -0
- package/v1/model/ShowQuotaRequest.ts +6 -0
- package/v1/model/ShowQuotaResponse.ts +14 -0
- package/v1/model/ShowReferRequest.ts +29 -0
- package/v1/model/ShowReferResponse.ts +14 -0
- package/v1/model/ShowResponseHeaderRequest.ts +29 -0
- package/v1/model/ShowResponseHeaderResponse.ts +14 -0
- package/v1/model/ShowTagsRequest.ts +18 -0
- package/v1/model/ShowTagsResponse.ts +13 -0
- package/v1/model/ShowTopUrlRequest.ts +93 -0
- package/v1/model/ShowTopUrlResponse.ts +31 -0
- package/v1/model/ShowUrlTaskInfoRequest.ts +70 -0
- package/v1/model/ShowUrlTaskInfoResponse.ts +35 -0
- package/v1/model/SourceWithPort.ts +96 -0
- package/v1/model/Sources.ts +74 -0
- package/v1/model/SourcesConfig.ts +80 -0
- package/v1/model/TasksObject.ts +86 -0
- package/v1/model/TopUrlSummary.ts +49 -0
- package/v1/model/UpdateBlackWhiteListRequest.ts +35 -0
- package/v1/model/UpdateBlackWhiteListResponse.ts +23 -0
- package/v1/model/UpdateCacheRulesRequest.ts +35 -0
- package/v1/model/UpdateCacheRulesResponse.ts +20 -0
- package/v1/model/UpdateDomainFullConfigRequest.ts +35 -0
- package/v1/model/UpdateDomainFullConfigResponse.ts +8 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.ts +23 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.ts +12 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.ts +107 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.ts +14 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.ts +106 -0
- package/v1/model/UpdateDomainOriginRequest.ts +35 -0
- package/v1/model/UpdateDomainOriginResponse.ts +14 -0
- package/v1/model/UpdateFollow302SwitchRequest.ts +35 -0
- package/v1/model/UpdateFollow302SwitchResponse.ts +20 -0
- package/v1/model/UpdateHttpsInfoRequest.ts +35 -0
- package/v1/model/UpdateHttpsInfoResponse.ts +14 -0
- package/v1/model/UpdateOriginHostRequest.ts +35 -0
- package/v1/model/UpdateOriginHostResponse.ts +20 -0
- package/v1/model/UpdatePrivateBucketAccessBody.ts +11 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.ts +35 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.ts +13 -0
- package/v1/model/UpdateRangeSwitchRequest.ts +35 -0
- package/v1/model/UpdateRangeSwitchResponse.ts +20 -0
- package/v1/model/UpdateReferRequest.ts +35 -0
- package/v1/model/UpdateReferResponse.ts +14 -0
- package/v1/model/UpdateResponseHeaderRequest.ts +35 -0
- package/v1/model/UpdateResponseHeaderResponse.ts +14 -0
- package/v1/model/UrlAuth.ts +44 -0
- package/v1/model/UrlAuthGetBody.ts +39 -0
- package/v1/model/UrlObject.ts +54 -0
- package/v1/model/Urls.ts +70 -0
- package/v1/model/UserAgentFilter.ts +17 -0
- package/v1/{public-api.d.ts → public-api.ts} +1 -0
- package/v2/{CdnClient.js → CdnClient.ts} +685 -466
- package/v2/CdnRegion.ts +28 -0
- package/v2/model/BackSources.ts +63 -0
- package/v2/model/BatchCopyConfigs.ts +42 -0
- package/v2/model/BatchCopyDRequestBody.ts +13 -0
- package/v2/model/BatchCopyDomainRequest.ts +12 -0
- package/v2/model/BatchCopyDomainResponse.ts +14 -0
- package/v2/model/BatchCopyErrorRsp.ts +12 -0
- package/v2/model/BatchCopyErrorRspError.ts +28 -0
- package/v2/model/BatchCopyResultVo.ts +38 -0
- package/v2/model/CacheRules.ts +88 -0
- package/v2/model/CacheUrlParameterFilter.ts +16 -0
- package/v2/model/CommonRemoteAuth.ts +31 -0
- package/v2/model/Compress.ts +29 -0
- package/v2/model/Configs.ts +304 -0
- package/v2/model/ConfigsGetBody.ts +304 -0
- package/v2/model/CustomArgs.ts +24 -0
- package/v2/model/DomainOriginHost.ts +40 -0
- package/v2/model/Domains.ts +214 -0
- package/v2/model/DomainsWithPort.ts +119 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.ts +96 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.ts +8 -0
- package/v2/model/DownloadStatisticsExcelRequest.ts +92 -0
- package/v2/model/DownloadStatisticsExcelResponse.ts +8 -0
- package/v2/model/EpResourceTag.ts +18 -0
- package/v2/model/ErrMsg.ts +30 -0
- package/v2/model/ErrRsp.ts +13 -0
- package/v2/model/ErrorCodeCache.ts +16 -0
- package/v2/model/ErrorCodeRedirectRules.ts +42 -0
- package/v2/model/FlexibleOrigins.ts +49 -0
- package/v2/model/ForceRedirectConfig.ts +28 -0
- package/v2/model/HttpGetBody.ts +105 -0
- package/v2/model/HttpPutBody.ts +105 -0
- package/v2/model/HttpResponseHeader.ts +23 -0
- package/v2/model/IpFilter.ts +17 -0
- package/v2/model/ListDomainsRequest.ts +105 -0
- package/v2/model/ListDomainsResponse.ts +19 -0
- package/v2/model/ModifyDomainConfigRequestBody.ts +12 -0
- package/v2/model/OriginRequestHeader.ts +23 -0
- package/v2/model/OriginRequestUrlRewrite.ts +47 -0
- package/v2/model/RefererConfig.ts +28 -0
- package/v2/model/RemoteAuthRuleVo.ts +176 -0
- package/v2/model/RequestLimitRules.ts +40 -0
- package/v2/model/SetChargeModesBody.ts +42 -0
- package/v2/model/SetChargeModesRequest.ts +12 -0
- package/v2/model/SetChargeModesResponse.ts +68 -0
- package/v2/model/ShowBandwidthCalcRequest.ts +76 -0
- package/v2/model/ShowBandwidthCalcResponse.ts +19 -0
- package/v2/model/ShowChargeModesRequest.ts +34 -0
- package/v2/model/ShowChargeModesResponse.ts +13 -0
- package/v2/model/ShowDomainDetailByNameRequest.ts +29 -0
- package/v2/model/ShowDomainDetailByNameResponse.ts +14 -0
- package/v2/model/ShowDomainFullConfigRequest.ts +40 -0
- package/v2/model/ShowDomainFullConfigResponse.ts +14 -0
- package/v2/model/ShowDomainLocationStatsRequest.ts +102 -0
- package/v2/model/ShowDomainLocationStatsResponse.ts +24 -0
- package/v2/model/ShowDomainStatsRequest.ts +98 -0
- package/v2/model/ShowDomainStatsResponse.ts +13 -0
- package/v2/model/ShowTopDomainNamesRequest.ts +69 -0
- package/v2/model/ShowTopDomainNamesResponse.ts +19 -0
- package/v2/model/ShowTopUrlRequest.ts +76 -0
- package/v2/model/ShowTopUrlResponse.ts +31 -0
- package/v2/model/Sources.ts +74 -0
- package/v2/model/SourcesConfig.ts +96 -0
- package/v2/model/TopUrlSummary.ts +49 -0
- package/v2/model/UpdateDomainFullConfigRequest.ts +35 -0
- package/v2/model/UpdateDomainFullConfigResponse.ts +8 -0
- package/v2/model/UrlAuth.ts +91 -0
- package/v2/model/UrlAuthGetBody.ts +88 -0
- package/v2/model/UserAgentFilter.ts +28 -0
- package/v2/model/VideoSeek.ts +51 -0
- package/v2/model/WebSocketSeek.ts +18 -0
- package/v2/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-cdn.d.ts +0 -3
- package/huaweicloud-sdk-cdn.js +0 -32
- package/v1/CdnClient.d.ts +0 -1357
- package/v1/CdnRegion.d.ts +0 -6
- package/v1/CdnRegion.js +0 -25
- package/v1/model/BatchDeleteTagsRequest.d.ts +0 -6
- package/v1/model/BatchDeleteTagsRequest.js +0 -13
- package/v1/model/BatchDeleteTagsResponse.d.ts +0 -4
- package/v1/model/BatchDeleteTagsResponse.js +0 -27
- package/v1/model/BlackWhiteListBody.d.ts +0 -9
- package/v1/model/BlackWhiteListBody.js +0 -28
- package/v1/model/CacheConfig.d.ts +0 -17
- package/v1/model/CacheConfig.js +0 -45
- package/v1/model/CacheConfigRequest.d.ts +0 -17
- package/v1/model/CacheConfigRequest.js +0 -45
- package/v1/model/CacheConfigRequestBody.d.ts +0 -8
- package/v1/model/CacheConfigRequestBody.js +0 -24
- package/v1/model/CacheRules.d.ts +0 -31
- package/v1/model/CacheRules.js +0 -107
- package/v1/model/CacheUrlParameterFilter.d.ts +0 -7
- package/v1/model/CacheUrlParameterFilter.js +0 -17
- package/v1/model/CdnIps.d.ts +0 -13
- package/v1/model/CdnIps.js +0 -29
- package/v1/model/Compress.d.ts +0 -7
- package/v1/model/Compress.js +0 -18
- package/v1/model/CompressRequest.d.ts +0 -7
- package/v1/model/CompressRequest.js +0 -23
- package/v1/model/CompressResponse.d.ts +0 -12
- package/v1/model/CompressResponse.js +0 -38
- package/v1/model/CompressRules.d.ts +0 -11
- package/v1/model/CompressRules.js +0 -37
- package/v1/model/Configs.d.ts +0 -86
- package/v1/model/Configs.js +0 -235
- package/v1/model/ConfigsGetBody.d.ts +0 -86
- package/v1/model/ConfigsGetBody.js +0 -235
- package/v1/model/CreateDomainRequest.d.ts +0 -6
- package/v1/model/CreateDomainRequest.js +0 -13
- package/v1/model/CreateDomainRequestBody.d.ts +0 -6
- package/v1/model/CreateDomainRequestBody.js +0 -14
- package/v1/model/CreateDomainResponse.d.ts +0 -7
- package/v1/model/CreateDomainResponse.js +0 -31
- package/v1/model/CreateDomainResponseBodyContent.d.ts +0 -67
- package/v1/model/CreateDomainResponseBodyContent.js +0 -211
- package/v1/model/CreatePreheatingTasksRequest.d.ts +0 -10
- package/v1/model/CreatePreheatingTasksRequest.js +0 -27
- package/v1/model/CreatePreheatingTasksResponse.d.ts +0 -8
- package/v1/model/CreatePreheatingTasksResponse.js +0 -41
- package/v1/model/CreateRefreshTasksRequest.d.ts +0 -10
- package/v1/model/CreateRefreshTasksRequest.js +0 -27
- package/v1/model/CreateRefreshTasksResponse.d.ts +0 -8
- package/v1/model/CreateRefreshTasksResponse.js +0 -41
- package/v1/model/CreateTagsRequest.d.ts +0 -6
- package/v1/model/CreateTagsRequest.js +0 -13
- package/v1/model/CreateTagsRequestBody.d.ts +0 -9
- package/v1/model/CreateTagsRequestBody.js +0 -29
- package/v1/model/CreateTagsResponse.d.ts +0 -4
- package/v1/model/CreateTagsResponse.js +0 -27
- package/v1/model/DeleteDomainRequest.d.ts +0 -11
- package/v1/model/DeleteDomainRequest.js +0 -38
- package/v1/model/DeleteDomainResponse.d.ts +0 -7
- package/v1/model/DeleteDomainResponse.js +0 -31
- package/v1/model/DeleteTagsRequestBody.d.ts +0 -9
- package/v1/model/DeleteTagsRequestBody.js +0 -29
- package/v1/model/DisableDomainRequest.d.ts +0 -11
- package/v1/model/DisableDomainRequest.js +0 -38
- package/v1/model/DisableDomainResponse.d.ts +0 -7
- package/v1/model/DisableDomainResponse.js +0 -31
- package/v1/model/DomainBody.d.ts +0 -41
- package/v1/model/DomainBody.js +0 -94
- package/v1/model/DomainItemDetail.d.ts +0 -21
- package/v1/model/DomainItemDetail.js +0 -55
- package/v1/model/DomainItemLocationDetails.d.ts +0 -18
- package/v1/model/DomainItemLocationDetails.js +0 -55
- package/v1/model/DomainOriginHost.d.ts +0 -15
- package/v1/model/DomainOriginHost.js +0 -52
- package/v1/model/DomainRegion.d.ts +0 -17
- package/v1/model/DomainRegion.js +0 -37
- package/v1/model/Domains.d.ts +0 -91
- package/v1/model/Domains.js +0 -267
- package/v1/model/DomainsWithPort.d.ts +0 -88
- package/v1/model/DomainsWithPort.js +0 -263
- package/v1/model/EnableDomainRequest.d.ts +0 -11
- package/v1/model/EnableDomainRequest.js +0 -38
- package/v1/model/EnableDomainResponse.d.ts +0 -7
- package/v1/model/EnableDomainResponse.js +0 -31
- package/v1/model/EpResourceTag.d.ts +0 -7
- package/v1/model/EpResourceTag.js +0 -19
- package/v1/model/ErrorCodeCache.d.ts +0 -7
- package/v1/model/ErrorCodeCache.js +0 -17
- package/v1/model/ErrorCodeRedirectRules.d.ts +0 -15
- package/v1/model/ErrorCodeRedirectRules.js +0 -54
- package/v1/model/Follow302StatusBody.d.ts +0 -19
- package/v1/model/Follow302StatusBody.js +0 -46
- package/v1/model/Follow302StatusRequest.d.ts +0 -15
- package/v1/model/Follow302StatusRequest.js +0 -33
- package/v1/model/ForceRedirect.d.ts +0 -11
- package/v1/model/ForceRedirect.js +0 -38
- package/v1/model/ForceRedirectConfig.d.ts +0 -11
- package/v1/model/ForceRedirectConfig.js +0 -32
- package/v1/model/HeaderBody.d.ts +0 -6
- package/v1/model/HeaderBody.js +0 -13
- package/v1/model/HeaderMap.d.ts +0 -27
- package/v1/model/HeaderMap.js +0 -93
- package/v1/model/HttpGetBody.d.ts +0 -27
- package/v1/model/HttpGetBody.js +0 -93
- package/v1/model/HttpInfoRequest.d.ts +0 -6
- package/v1/model/HttpInfoRequest.js +0 -14
- package/v1/model/HttpInfoRequestBody.d.ts +0 -32
- package/v1/model/HttpInfoRequestBody.js +0 -103
- package/v1/model/HttpInfoResponseBody.d.ts +0 -36
- package/v1/model/HttpInfoResponseBody.js +0 -115
- package/v1/model/HttpPutBody.d.ts +0 -31
- package/v1/model/HttpPutBody.js +0 -107
- package/v1/model/HttpResponseHeader.d.ts +0 -9
- package/v1/model/HttpResponseHeader.js +0 -23
- package/v1/model/HttpsDetail.d.ts +0 -44
- package/v1/model/HttpsDetail.js +0 -143
- package/v1/model/IpFilter.d.ts +0 -7
- package/v1/model/IpFilter.js +0 -18
- package/v1/model/ListDomainsRequest.d.ts +0 -71
- package/v1/model/ListDomainsRequest.js +0 -170
- package/v1/model/ListDomainsResponse.d.ts +0 -9
- package/v1/model/ListDomainsResponse.js +0 -35
- package/v1/model/LogObject.d.ts +0 -21
- package/v1/model/LogObject.js +0 -63
- package/v1/model/ModelMap.d.ts +0 -7
- package/v1/model/ModelMap.js +0 -18
- package/v1/model/ModifyDomainConfigRequestBody.d.ts +0 -6
- package/v1/model/ModifyDomainConfigRequestBody.js +0 -13
- package/v1/model/OriginHostBody.d.ts +0 -19
- package/v1/model/OriginHostBody.js +0 -47
- package/v1/model/OriginHostRequest.d.ts +0 -8
- package/v1/model/OriginHostRequest.js +0 -24
- package/v1/model/OriginRangeBody.d.ts +0 -19
- package/v1/model/OriginRangeBody.js +0 -46
- package/v1/model/OriginRequest.d.ts +0 -6
- package/v1/model/OriginRequest.js +0 -14
- package/v1/model/OriginRequestHeader.d.ts +0 -9
- package/v1/model/OriginRequestHeader.js +0 -23
- package/v1/model/OriginRequestUrlRewrite.d.ts +0 -17
- package/v1/model/OriginRequestUrlRewrite.js +0 -58
- package/v1/model/PreheatingTaskRequest.d.ts +0 -8
- package/v1/model/PreheatingTaskRequest.js +0 -24
- package/v1/model/PreheatingTaskRequestBody.d.ts +0 -5
- package/v1/model/PreheatingTaskRequestBody.js +0 -14
- package/v1/model/Quotas.d.ts +0 -15
- package/v1/model/Quotas.js +0 -45
- package/v1/model/RangeStatusRequest.d.ts +0 -15
- package/v1/model/RangeStatusRequest.js +0 -33
- package/v1/model/Referer.d.ts +0 -15
- package/v1/model/Referer.js +0 -52
- package/v1/model/RefererBody.d.ts +0 -6
- package/v1/model/RefererBody.js +0 -14
- package/v1/model/RefererConfig.d.ts +0 -11
- package/v1/model/RefererConfig.js +0 -32
- package/v1/model/RefererRsp.d.ts +0 -15
- package/v1/model/RefererRsp.js +0 -51
- package/v1/model/RefreshTaskRequest.d.ts +0 -8
- package/v1/model/RefreshTaskRequest.js +0 -24
- package/v1/model/RefreshTaskRequestBody.d.ts +0 -25
- package/v1/model/RefreshTaskRequestBody.js +0 -40
- package/v1/model/ResourceBody.d.ts +0 -6
- package/v1/model/ResourceBody.js +0 -14
- package/v1/model/Rules.d.ts +0 -17
- package/v1/model/Rules.js +0 -53
- package/v1/model/ShowBlackWhiteListRequest.d.ts +0 -11
- package/v1/model/ShowBlackWhiteListRequest.js +0 -38
- package/v1/model/ShowBlackWhiteListResponse.d.ts +0 -10
- package/v1/model/ShowBlackWhiteListResponse.js +0 -45
- package/v1/model/ShowCacheRulesRequest.d.ts +0 -11
- package/v1/model/ShowCacheRulesRequest.js +0 -38
- package/v1/model/ShowCacheRulesResponse.d.ts +0 -9
- package/v1/model/ShowCacheRulesResponse.js +0 -41
- package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +0 -23
- package/v1/model/ShowCertificatesHttpsInfoRequest.js +0 -79
- package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +0 -9
- package/v1/model/ShowCertificatesHttpsInfoResponse.js +0 -35
- package/v1/model/ShowDomainDetailRequest.d.ts +0 -11
- package/v1/model/ShowDomainDetailRequest.js +0 -38
- package/v1/model/ShowDomainDetailResponse.d.ts +0 -7
- package/v1/model/ShowDomainDetailResponse.js +0 -31
- package/v1/model/ShowDomainFullConfigRequest.d.ts +0 -11
- package/v1/model/ShowDomainFullConfigRequest.js +0 -38
- package/v1/model/ShowDomainFullConfigResponse.d.ts +0 -7
- package/v1/model/ShowDomainFullConfigResponse.js +0 -31
- package/v1/model/ShowDomainItemDetailsRequest.d.ts +0 -27
- package/v1/model/ShowDomainItemDetailsRequest.js +0 -97
- package/v1/model/ShowDomainItemDetailsResponse.d.ts +0 -9
- package/v1/model/ShowDomainItemDetailsResponse.js +0 -41
- package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +0 -27
- package/v1/model/ShowDomainItemLocationDetailsRequest.js +0 -93
- package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +0 -9
- package/v1/model/ShowDomainItemLocationDetailsResponse.js +0 -41
- package/v1/model/ShowDomainLocationStatsRequest.d.ts +0 -37
- package/v1/model/ShowDomainLocationStatsRequest.js +0 -118
- package/v1/model/ShowDomainLocationStatsResponse.d.ts +0 -14
- package/v1/model/ShowDomainLocationStatsResponse.js +0 -45
- package/v1/model/ShowDomainStatsRequest.d.ts +0 -35
- package/v1/model/ShowDomainStatsRequest.js +0 -120
- package/v1/model/ShowDomainStatsResponse.d.ts +0 -10
- package/v1/model/ShowDomainStatsResponse.js +0 -31
- package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +0 -27
- package/v1/model/ShowHistoryTaskDetailsRequest.js +0 -88
- package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +0 -31
- package/v1/model/ShowHistoryTaskDetailsResponse.js +0 -97
- package/v1/model/ShowHistoryTasksRequest.d.ts +0 -53
- package/v1/model/ShowHistoryTasksRequest.js +0 -143
- package/v1/model/ShowHistoryTasksResponse.d.ts +0 -9
- package/v1/model/ShowHistoryTasksResponse.js +0 -35
- package/v1/model/ShowHttpInfoRequest.d.ts +0 -11
- package/v1/model/ShowHttpInfoRequest.js +0 -38
- package/v1/model/ShowHttpInfoResponse.d.ts +0 -7
- package/v1/model/ShowHttpInfoResponse.js +0 -31
- package/v1/model/ShowIpInfoRequest.d.ts +0 -9
- package/v1/model/ShowIpInfoRequest.js +0 -28
- package/v1/model/ShowIpInfoResponse.d.ts +0 -9
- package/v1/model/ShowIpInfoResponse.js +0 -41
- package/v1/model/ShowLogsRequest.d.ts +0 -27
- package/v1/model/ShowLogsRequest.js +0 -94
- package/v1/model/ShowLogsResponse.d.ts +0 -9
- package/v1/model/ShowLogsResponse.js +0 -35
- package/v1/model/ShowOriginHostRequest.d.ts +0 -11
- package/v1/model/ShowOriginHostRequest.js +0 -38
- package/v1/model/ShowOriginHostResponse.d.ts +0 -9
- package/v1/model/ShowOriginHostResponse.js +0 -41
- package/v1/model/ShowQuotaRequest.d.ts +0 -3
- package/v1/model/ShowQuotaRequest.js +0 -9
- package/v1/model/ShowQuotaResponse.d.ts +0 -7
- package/v1/model/ShowQuotaResponse.js +0 -31
- package/v1/model/ShowReferRequest.d.ts +0 -11
- package/v1/model/ShowReferRequest.js +0 -38
- package/v1/model/ShowReferResponse.d.ts +0 -7
- package/v1/model/ShowReferResponse.js +0 -31
- package/v1/model/ShowResponseHeaderRequest.d.ts +0 -11
- package/v1/model/ShowResponseHeaderRequest.js +0 -38
- package/v1/model/ShowResponseHeaderResponse.d.ts +0 -7
- package/v1/model/ShowResponseHeaderResponse.js +0 -31
- package/v1/model/ShowTagsRequest.d.ts +0 -7
- package/v1/model/ShowTagsRequest.js +0 -24
- package/v1/model/ShowTagsResponse.d.ts +0 -6
- package/v1/model/ShowTagsResponse.js +0 -31
- package/v1/model/ShowTopUrlRequest.d.ts +0 -43
- package/v1/model/ShowTopUrlRequest.js +0 -115
- package/v1/model/ShowTopUrlResponse.d.ts +0 -13
- package/v1/model/ShowTopUrlResponse.js +0 -55
- package/v1/model/ShowUrlTaskInfoRequest.d.ts +0 -27
- package/v1/model/ShowUrlTaskInfoRequest.js +0 -81
- package/v1/model/ShowUrlTaskInfoResponse.d.ts +0 -15
- package/v1/model/ShowUrlTaskInfoResponse.js +0 -53
- package/v1/model/SourceWithPort.d.ts +0 -40
- package/v1/model/SourceWithPort.js +0 -120
- package/v1/model/Sources.d.ts +0 -32
- package/v1/model/Sources.js +0 -92
- package/v1/model/SourcesConfig.d.ts +0 -29
- package/v1/model/SourcesConfig.js +0 -100
- package/v1/model/TasksObject.d.ts +0 -43
- package/v1/model/TasksObject.js +0 -93
- package/v1/model/TopUrlSummary.d.ts +0 -19
- package/v1/model/TopUrlSummary.js +0 -59
- package/v1/model/UpdateBlackWhiteListRequest.d.ts +0 -14
- package/v1/model/UpdateBlackWhiteListRequest.js +0 -42
- package/v1/model/UpdateBlackWhiteListResponse.d.ts +0 -10
- package/v1/model/UpdateBlackWhiteListResponse.js +0 -39
- package/v1/model/UpdateCacheRulesRequest.d.ts +0 -14
- package/v1/model/UpdateCacheRulesRequest.js +0 -42
- package/v1/model/UpdateCacheRulesResponse.d.ts +0 -9
- package/v1/model/UpdateCacheRulesResponse.js +0 -41
- package/v1/model/UpdateDomainFullConfigRequest.d.ts +0 -14
- package/v1/model/UpdateDomainFullConfigRequest.js +0 -42
- package/v1/model/UpdateDomainFullConfigResponse.d.ts +0 -4
- package/v1/model/UpdateDomainFullConfigResponse.js +0 -27
- package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +0 -10
- package/v1/model/UpdateDomainMultiCertificatesRequest.js +0 -27
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +0 -6
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +0 -13
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +0 -40
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +0 -131
- package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +0 -7
- package/v1/model/UpdateDomainMultiCertificatesResponse.js +0 -31
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +0 -40
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +0 -130
- package/v1/model/UpdateDomainOriginRequest.d.ts +0 -14
- package/v1/model/UpdateDomainOriginRequest.js +0 -42
- package/v1/model/UpdateDomainOriginResponse.d.ts +0 -7
- package/v1/model/UpdateDomainOriginResponse.js +0 -31
- package/v1/model/UpdateFollow302SwitchRequest.d.ts +0 -14
- package/v1/model/UpdateFollow302SwitchRequest.js +0 -42
- package/v1/model/UpdateFollow302SwitchResponse.d.ts +0 -9
- package/v1/model/UpdateFollow302SwitchResponse.js +0 -41
- package/v1/model/UpdateHttpsInfoRequest.d.ts +0 -14
- package/v1/model/UpdateHttpsInfoRequest.js +0 -42
- package/v1/model/UpdateHttpsInfoResponse.d.ts +0 -7
- package/v1/model/UpdateHttpsInfoResponse.js +0 -31
- package/v1/model/UpdateOriginHostRequest.d.ts +0 -14
- package/v1/model/UpdateOriginHostRequest.js +0 -42
- package/v1/model/UpdateOriginHostResponse.d.ts +0 -9
- package/v1/model/UpdateOriginHostResponse.js +0 -41
- package/v1/model/UpdatePrivateBucketAccessBody.d.ts +0 -5
- package/v1/model/UpdatePrivateBucketAccessBody.js +0 -13
- package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +0 -14
- package/v1/model/UpdatePrivateBucketAccessRequest.js +0 -42
- package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +0 -6
- package/v1/model/UpdatePrivateBucketAccessResponse.js +0 -31
- package/v1/model/UpdateRangeSwitchRequest.d.ts +0 -14
- package/v1/model/UpdateRangeSwitchRequest.js +0 -42
- package/v1/model/UpdateRangeSwitchResponse.d.ts +0 -9
- package/v1/model/UpdateRangeSwitchResponse.js +0 -41
- package/v1/model/UpdateReferRequest.d.ts +0 -14
- package/v1/model/UpdateReferRequest.js +0 -42
- package/v1/model/UpdateReferResponse.d.ts +0 -7
- package/v1/model/UpdateReferResponse.js +0 -31
- package/v1/model/UpdateResponseHeaderRequest.d.ts +0 -14
- package/v1/model/UpdateResponseHeaderRequest.js +0 -42
- package/v1/model/UpdateResponseHeaderResponse.d.ts +0 -7
- package/v1/model/UpdateResponseHeaderResponse.js +0 -31
- package/v1/model/UrlAuth.d.ts +0 -17
- package/v1/model/UrlAuth.js +0 -50
- package/v1/model/UrlAuthGetBody.d.ts +0 -15
- package/v1/model/UrlAuthGetBody.js +0 -46
- package/v1/model/UrlObject.d.ts +0 -21
- package/v1/model/UrlObject.js +0 -63
- package/v1/model/Urls.d.ts +0 -27
- package/v1/model/Urls.js +0 -81
- package/v1/model/UserAgentFilter.d.ts +0 -7
- package/v1/model/UserAgentFilter.js +0 -18
- package/v1/public-api.js +0 -178
- package/v2/CdnClient.d.ts +0 -648
- package/v2/CdnRegion.d.ts +0 -6
- package/v2/CdnRegion.js +0 -25
- package/v2/model/BackSources.d.ts +0 -23
- package/v2/model/BackSources.js +0 -81
- package/v2/model/BatchCopyConfigs.d.ts +0 -15
- package/v2/model/BatchCopyConfigs.js +0 -54
- package/v2/model/BatchCopyDRequestBody.d.ts +0 -6
- package/v2/model/BatchCopyDRequestBody.js +0 -14
- package/v2/model/BatchCopyDomainRequest.d.ts +0 -6
- package/v2/model/BatchCopyDomainRequest.js +0 -13
- package/v2/model/BatchCopyDomainResponse.d.ts +0 -7
- package/v2/model/BatchCopyDomainResponse.js +0 -31
- package/v2/model/BatchCopyErrorRsp.d.ts +0 -6
- package/v2/model/BatchCopyErrorRsp.js +0 -13
- package/v2/model/BatchCopyErrorRspError.d.ts +0 -11
- package/v2/model/BatchCopyErrorRspError.js +0 -37
- package/v2/model/BatchCopyResultVo.d.ts +0 -19
- package/v2/model/BatchCopyResultVo.js +0 -42
- package/v2/model/CacheRules.d.ts +0 -31
- package/v2/model/CacheRules.js +0 -107
- package/v2/model/CacheUrlParameterFilter.d.ts +0 -7
- package/v2/model/CacheUrlParameterFilter.js +0 -17
- package/v2/model/CommonRemoteAuth.d.ts +0 -12
- package/v2/model/CommonRemoteAuth.js +0 -39
- package/v2/model/Compress.d.ts +0 -11
- package/v2/model/Compress.js +0 -33
- package/v2/model/Configs.d.ts +0 -117
- package/v2/model/Configs.js +0 -323
- package/v2/model/ConfigsGetBody.d.ts +0 -117
- package/v2/model/ConfigsGetBody.js +0 -323
- package/v2/model/CustomArgs.d.ts +0 -9
- package/v2/model/CustomArgs.js +0 -24
- package/v2/model/DomainOriginHost.d.ts +0 -15
- package/v2/model/DomainOriginHost.js +0 -52
- package/v2/model/Domains.d.ts +0 -87
- package/v2/model/Domains.js +0 -253
- package/v2/model/DomainsWithPort.d.ts +0 -51
- package/v2/model/DomainsWithPort.js +0 -137
- package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +0 -35
- package/v2/model/DownloadRegionCarrierExcelRequest.js +0 -113
- package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +0 -4
- package/v2/model/DownloadRegionCarrierExcelResponse.js +0 -27
- package/v2/model/DownloadStatisticsExcelRequest.d.ts +0 -33
- package/v2/model/DownloadStatisticsExcelRequest.js +0 -115
- package/v2/model/DownloadStatisticsExcelResponse.d.ts +0 -4
- package/v2/model/DownloadStatisticsExcelResponse.js +0 -27
- package/v2/model/EpResourceTag.d.ts +0 -7
- package/v2/model/EpResourceTag.js +0 -19
- package/v2/model/ErrMsg.d.ts +0 -11
- package/v2/model/ErrMsg.js +0 -39
- package/v2/model/ErrRsp.d.ts +0 -6
- package/v2/model/ErrRsp.js +0 -14
- package/v2/model/ErrorCodeCache.d.ts +0 -7
- package/v2/model/ErrorCodeCache.js +0 -17
- package/v2/model/ErrorCodeRedirectRules.d.ts +0 -15
- package/v2/model/ErrorCodeRedirectRules.js +0 -54
- package/v2/model/FlexibleOrigins.d.ts +0 -18
- package/v2/model/FlexibleOrigins.js +0 -59
- package/v2/model/ForceRedirectConfig.d.ts +0 -11
- package/v2/model/ForceRedirectConfig.js +0 -32
- package/v2/model/HttpGetBody.d.ts +0 -39
- package/v2/model/HttpGetBody.js +0 -135
- package/v2/model/HttpPutBody.d.ts +0 -39
- package/v2/model/HttpPutBody.js +0 -135
- package/v2/model/HttpResponseHeader.d.ts +0 -9
- package/v2/model/HttpResponseHeader.js +0 -23
- package/v2/model/IpFilter.d.ts +0 -7
- package/v2/model/IpFilter.js +0 -18
- package/v2/model/ListDomainsRequest.d.ts +0 -39
- package/v2/model/ListDomainsRequest.js +0 -135
- package/v2/model/ListDomainsResponse.d.ts +0 -9
- package/v2/model/ListDomainsResponse.js +0 -35
- package/v2/model/ModifyDomainConfigRequestBody.d.ts +0 -6
- package/v2/model/ModifyDomainConfigRequestBody.js +0 -13
- package/v2/model/OriginRequestHeader.d.ts +0 -9
- package/v2/model/OriginRequestHeader.js +0 -23
- package/v2/model/OriginRequestUrlRewrite.d.ts +0 -17
- package/v2/model/OriginRequestUrlRewrite.js +0 -58
- package/v2/model/RefererConfig.d.ts +0 -11
- package/v2/model/RefererConfig.js +0 -32
- package/v2/model/RemoteAuthRuleVo.d.ts +0 -62
- package/v2/model/RemoteAuthRuleVo.js +0 -219
- package/v2/model/RequestLimitRules.d.ts +0 -15
- package/v2/model/RequestLimitRules.js +0 -47
- package/v2/model/SetChargeModesBody.d.ts +0 -15
- package/v2/model/SetChargeModesBody.js +0 -54
- package/v2/model/SetChargeModesRequest.d.ts +0 -6
- package/v2/model/SetChargeModesRequest.js +0 -13
- package/v2/model/SetChargeModesResponse.d.ts +0 -26
- package/v2/model/SetChargeModesResponse.js +0 -101
- package/v2/model/ShowBandwidthCalcRequest.d.ts +0 -27
- package/v2/model/ShowBandwidthCalcRequest.js +0 -97
- package/v2/model/ShowBandwidthCalcResponse.d.ts +0 -14
- package/v2/model/ShowBandwidthCalcResponse.js +0 -41
- package/v2/model/ShowChargeModesRequest.d.ts +0 -13
- package/v2/model/ShowChargeModesRequest.js +0 -42
- package/v2/model/ShowChargeModesResponse.d.ts +0 -10
- package/v2/model/ShowChargeModesResponse.js +0 -31
- package/v2/model/ShowDomainDetailByNameRequest.d.ts +0 -11
- package/v2/model/ShowDomainDetailByNameRequest.js +0 -38
- package/v2/model/ShowDomainDetailByNameResponse.d.ts +0 -7
- package/v2/model/ShowDomainDetailByNameResponse.js +0 -31
- package/v2/model/ShowDomainFullConfigRequest.d.ts +0 -15
- package/v2/model/ShowDomainFullConfigRequest.js +0 -52
- package/v2/model/ShowDomainFullConfigResponse.d.ts +0 -7
- package/v2/model/ShowDomainFullConfigResponse.js +0 -31
- package/v2/model/ShowDomainLocationStatsRequest.d.ts +0 -37
- package/v2/model/ShowDomainLocationStatsRequest.js +0 -118
- package/v2/model/ShowDomainLocationStatsResponse.d.ts +0 -14
- package/v2/model/ShowDomainLocationStatsResponse.js +0 -45
- package/v2/model/ShowDomainStatsRequest.d.ts +0 -35
- package/v2/model/ShowDomainStatsRequest.js +0 -120
- package/v2/model/ShowDomainStatsResponse.d.ts +0 -10
- package/v2/model/ShowDomainStatsResponse.js +0 -31
- package/v2/model/ShowTopDomainNamesRequest.d.ts +0 -25
- package/v2/model/ShowTopDomainNamesRequest.js +0 -86
- package/v2/model/ShowTopDomainNamesResponse.d.ts +0 -14
- package/v2/model/ShowTopDomainNamesResponse.js +0 -41
- package/v2/model/ShowTopUrlRequest.d.ts +0 -27
- package/v2/model/ShowTopUrlRequest.js +0 -97
- package/v2/model/ShowTopUrlResponse.d.ts +0 -13
- package/v2/model/ShowTopUrlResponse.js +0 -55
- package/v2/model/Sources.d.ts +0 -32
- package/v2/model/Sources.js +0 -92
- package/v2/model/SourcesConfig.d.ts +0 -33
- package/v2/model/SourcesConfig.js +0 -114
- package/v2/model/TopUrlSummary.d.ts +0 -19
- package/v2/model/TopUrlSummary.js +0 -59
- package/v2/model/UpdateDomainFullConfigRequest.d.ts +0 -14
- package/v2/model/UpdateDomainFullConfigRequest.js +0 -42
- package/v2/model/UpdateDomainFullConfigResponse.d.ts +0 -4
- package/v2/model/UpdateDomainFullConfigResponse.js +0 -27
- package/v2/model/UrlAuth.d.ts +0 -33
- package/v2/model/UrlAuth.js +0 -109
- package/v2/model/UrlAuthGetBody.d.ts +0 -33
- package/v2/model/UrlAuthGetBody.js +0 -106
- package/v2/model/UserAgentFilter.d.ts +0 -11
- package/v2/model/UserAgentFilter.js +0 -32
- package/v2/model/VideoSeek.d.ts +0 -19
- package/v2/model/VideoSeek.js +0 -66
- package/v2/model/WebSocketSeek.d.ts +0 -7
- package/v2/model/WebSocketSeek.js +0 -19
- package/v2/public-api.js +0 -88
package/v2/model/Compress.js
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Compress = void 0;
|
4
|
-
var Compress = /** @class */ (function () {
|
5
|
-
function Compress(status, type) {
|
6
|
-
this['status'] = status;
|
7
|
-
this['type'] = type;
|
8
|
-
}
|
9
|
-
Compress.prototype.withStatus = function (status) {
|
10
|
-
this['status'] = status;
|
11
|
-
return this;
|
12
|
-
};
|
13
|
-
Compress.prototype.withType = function (type) {
|
14
|
-
this['type'] = type;
|
15
|
-
return this;
|
16
|
-
};
|
17
|
-
Compress.prototype.withFileType = function (fileType) {
|
18
|
-
this['file_type'] = fileType;
|
19
|
-
return this;
|
20
|
-
};
|
21
|
-
Object.defineProperty(Compress.prototype, "fileType", {
|
22
|
-
get: function () {
|
23
|
-
return this['file_type'];
|
24
|
-
},
|
25
|
-
set: function (fileType) {
|
26
|
-
this['file_type'] = fileType;
|
27
|
-
},
|
28
|
-
enumerable: false,
|
29
|
-
configurable: true
|
30
|
-
});
|
31
|
-
return Compress;
|
32
|
-
}());
|
33
|
-
exports.Compress = Compress;
|
package/v2/model/Configs.d.ts
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
import { CacheRules } from './CacheRules';
|
2
|
-
import { CacheUrlParameterFilter } from './CacheUrlParameterFilter';
|
3
|
-
import { CommonRemoteAuth } from './CommonRemoteAuth';
|
4
|
-
import { Compress } from './Compress';
|
5
|
-
import { ErrorCodeCache } from './ErrorCodeCache';
|
6
|
-
import { ErrorCodeRedirectRules } from './ErrorCodeRedirectRules';
|
7
|
-
import { FlexibleOrigins } from './FlexibleOrigins';
|
8
|
-
import { ForceRedirectConfig } from './ForceRedirectConfig';
|
9
|
-
import { HttpPutBody } from './HttpPutBody';
|
10
|
-
import { HttpResponseHeader } from './HttpResponseHeader';
|
11
|
-
import { IpFilter } from './IpFilter';
|
12
|
-
import { OriginRequestHeader } from './OriginRequestHeader';
|
13
|
-
import { OriginRequestUrlRewrite } from './OriginRequestUrlRewrite';
|
14
|
-
import { RefererConfig } from './RefererConfig';
|
15
|
-
import { RequestLimitRules } from './RequestLimitRules';
|
16
|
-
import { SourcesConfig } from './SourcesConfig';
|
17
|
-
import { UrlAuth } from './UrlAuth';
|
18
|
-
import { UserAgentFilter } from './UserAgentFilter';
|
19
|
-
import { VideoSeek } from './VideoSeek';
|
20
|
-
import { WebSocketSeek } from './WebSocketSeek';
|
21
|
-
export declare class Configs {
|
22
|
-
private 'origin_request_header'?;
|
23
|
-
private 'http_response_header'?;
|
24
|
-
private 'url_auth'?;
|
25
|
-
https?: HttpPutBody;
|
26
|
-
sources?: Array<SourcesConfig>;
|
27
|
-
private 'origin_protocol'?;
|
28
|
-
private 'origin_follow302_status'?;
|
29
|
-
private 'cache_rules'?;
|
30
|
-
private 'ip_filter'?;
|
31
|
-
referer?: RefererConfig;
|
32
|
-
private 'force_redirect'?;
|
33
|
-
compress?: Compress;
|
34
|
-
private 'cache_url_parameter_filter'?;
|
35
|
-
private 'ipv6_accelerate'?;
|
36
|
-
private 'error_code_cache'?;
|
37
|
-
private 'origin_range_status'?;
|
38
|
-
private 'user_agent_filter'?;
|
39
|
-
private 'origin_request_url_rewrite'?;
|
40
|
-
private 'flexible_origin'?;
|
41
|
-
private 'slice_etag_status'?;
|
42
|
-
private 'origin_receive_timeout'?;
|
43
|
-
private 'remote_auth'?;
|
44
|
-
websocket?: WebSocketSeek;
|
45
|
-
private 'video_seek'?;
|
46
|
-
private 'request_limit_rules'?;
|
47
|
-
private 'error_code_redirect_rules'?;
|
48
|
-
constructor();
|
49
|
-
withOriginRequestHeader(originRequestHeader: Array<OriginRequestHeader>): Configs;
|
50
|
-
set originRequestHeader(originRequestHeader: Array<OriginRequestHeader> | undefined);
|
51
|
-
get originRequestHeader(): Array<OriginRequestHeader> | undefined;
|
52
|
-
withHttpResponseHeader(httpResponseHeader: Array<HttpResponseHeader>): Configs;
|
53
|
-
set httpResponseHeader(httpResponseHeader: Array<HttpResponseHeader> | undefined);
|
54
|
-
get httpResponseHeader(): Array<HttpResponseHeader> | undefined;
|
55
|
-
withUrlAuth(urlAuth: UrlAuth): Configs;
|
56
|
-
set urlAuth(urlAuth: UrlAuth | undefined);
|
57
|
-
get urlAuth(): UrlAuth | undefined;
|
58
|
-
withHttps(https: HttpPutBody): Configs;
|
59
|
-
withSources(sources: Array<SourcesConfig>): Configs;
|
60
|
-
withOriginProtocol(originProtocol: string): Configs;
|
61
|
-
set originProtocol(originProtocol: string | undefined);
|
62
|
-
get originProtocol(): string | undefined;
|
63
|
-
withOriginFollow302Status(originFollow302Status: string): Configs;
|
64
|
-
set originFollow302Status(originFollow302Status: string | undefined);
|
65
|
-
get originFollow302Status(): string | undefined;
|
66
|
-
withCacheRules(cacheRules: Array<CacheRules>): Configs;
|
67
|
-
set cacheRules(cacheRules: Array<CacheRules> | undefined);
|
68
|
-
get cacheRules(): Array<CacheRules> | undefined;
|
69
|
-
withIpFilter(ipFilter: IpFilter): Configs;
|
70
|
-
set ipFilter(ipFilter: IpFilter | undefined);
|
71
|
-
get ipFilter(): IpFilter | undefined;
|
72
|
-
withReferer(referer: RefererConfig): Configs;
|
73
|
-
withForceRedirect(forceRedirect: ForceRedirectConfig): Configs;
|
74
|
-
set forceRedirect(forceRedirect: ForceRedirectConfig | undefined);
|
75
|
-
get forceRedirect(): ForceRedirectConfig | undefined;
|
76
|
-
withCompress(compress: Compress): Configs;
|
77
|
-
withCacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter): Configs;
|
78
|
-
set cacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter | undefined);
|
79
|
-
get cacheUrlParameterFilter(): CacheUrlParameterFilter | undefined;
|
80
|
-
withIpv6Accelerate(ipv6Accelerate: number): Configs;
|
81
|
-
set ipv6Accelerate(ipv6Accelerate: number | undefined);
|
82
|
-
get ipv6Accelerate(): number | undefined;
|
83
|
-
withErrorCodeCache(errorCodeCache: Array<ErrorCodeCache>): Configs;
|
84
|
-
set errorCodeCache(errorCodeCache: Array<ErrorCodeCache> | undefined);
|
85
|
-
get errorCodeCache(): Array<ErrorCodeCache> | undefined;
|
86
|
-
withOriginRangeStatus(originRangeStatus: string): Configs;
|
87
|
-
set originRangeStatus(originRangeStatus: string | undefined);
|
88
|
-
get originRangeStatus(): string | undefined;
|
89
|
-
withUserAgentFilter(userAgentFilter: UserAgentFilter): Configs;
|
90
|
-
set userAgentFilter(userAgentFilter: UserAgentFilter | undefined);
|
91
|
-
get userAgentFilter(): UserAgentFilter | undefined;
|
92
|
-
withOriginRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite>): Configs;
|
93
|
-
set originRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite> | undefined);
|
94
|
-
get originRequestUrlRewrite(): Array<OriginRequestUrlRewrite> | undefined;
|
95
|
-
withFlexibleOrigin(flexibleOrigin: Array<FlexibleOrigins>): Configs;
|
96
|
-
set flexibleOrigin(flexibleOrigin: Array<FlexibleOrigins> | undefined);
|
97
|
-
get flexibleOrigin(): Array<FlexibleOrigins> | undefined;
|
98
|
-
withSliceEtagStatus(sliceEtagStatus: string): Configs;
|
99
|
-
set sliceEtagStatus(sliceEtagStatus: string | undefined);
|
100
|
-
get sliceEtagStatus(): string | undefined;
|
101
|
-
withOriginReceiveTimeout(originReceiveTimeout: number): Configs;
|
102
|
-
set originReceiveTimeout(originReceiveTimeout: number | undefined);
|
103
|
-
get originReceiveTimeout(): number | undefined;
|
104
|
-
withRemoteAuth(remoteAuth: CommonRemoteAuth): Configs;
|
105
|
-
set remoteAuth(remoteAuth: CommonRemoteAuth | undefined);
|
106
|
-
get remoteAuth(): CommonRemoteAuth | undefined;
|
107
|
-
withWebsocket(websocket: WebSocketSeek): Configs;
|
108
|
-
withVideoSeek(videoSeek: VideoSeek): Configs;
|
109
|
-
set videoSeek(videoSeek: VideoSeek | undefined);
|
110
|
-
get videoSeek(): VideoSeek | undefined;
|
111
|
-
withRequestLimitRules(requestLimitRules: Array<RequestLimitRules>): Configs;
|
112
|
-
set requestLimitRules(requestLimitRules: Array<RequestLimitRules> | undefined);
|
113
|
-
get requestLimitRules(): Array<RequestLimitRules> | undefined;
|
114
|
-
withErrorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules>): Configs;
|
115
|
-
set errorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules> | undefined);
|
116
|
-
get errorCodeRedirectRules(): Array<ErrorCodeRedirectRules> | undefined;
|
117
|
-
}
|
package/v2/model/Configs.js
DELETED
@@ -1,323 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Configs = void 0;
|
4
|
-
var Configs = /** @class */ (function () {
|
5
|
-
function Configs() {
|
6
|
-
}
|
7
|
-
Configs.prototype.withOriginRequestHeader = function (originRequestHeader) {
|
8
|
-
this['origin_request_header'] = originRequestHeader;
|
9
|
-
return this;
|
10
|
-
};
|
11
|
-
Object.defineProperty(Configs.prototype, "originRequestHeader", {
|
12
|
-
get: function () {
|
13
|
-
return this['origin_request_header'];
|
14
|
-
},
|
15
|
-
set: function (originRequestHeader) {
|
16
|
-
this['origin_request_header'] = originRequestHeader;
|
17
|
-
},
|
18
|
-
enumerable: false,
|
19
|
-
configurable: true
|
20
|
-
});
|
21
|
-
Configs.prototype.withHttpResponseHeader = function (httpResponseHeader) {
|
22
|
-
this['http_response_header'] = httpResponseHeader;
|
23
|
-
return this;
|
24
|
-
};
|
25
|
-
Object.defineProperty(Configs.prototype, "httpResponseHeader", {
|
26
|
-
get: function () {
|
27
|
-
return this['http_response_header'];
|
28
|
-
},
|
29
|
-
set: function (httpResponseHeader) {
|
30
|
-
this['http_response_header'] = httpResponseHeader;
|
31
|
-
},
|
32
|
-
enumerable: false,
|
33
|
-
configurable: true
|
34
|
-
});
|
35
|
-
Configs.prototype.withUrlAuth = function (urlAuth) {
|
36
|
-
this['url_auth'] = urlAuth;
|
37
|
-
return this;
|
38
|
-
};
|
39
|
-
Object.defineProperty(Configs.prototype, "urlAuth", {
|
40
|
-
get: function () {
|
41
|
-
return this['url_auth'];
|
42
|
-
},
|
43
|
-
set: function (urlAuth) {
|
44
|
-
this['url_auth'] = urlAuth;
|
45
|
-
},
|
46
|
-
enumerable: false,
|
47
|
-
configurable: true
|
48
|
-
});
|
49
|
-
Configs.prototype.withHttps = function (https) {
|
50
|
-
this['https'] = https;
|
51
|
-
return this;
|
52
|
-
};
|
53
|
-
Configs.prototype.withSources = function (sources) {
|
54
|
-
this['sources'] = sources;
|
55
|
-
return this;
|
56
|
-
};
|
57
|
-
Configs.prototype.withOriginProtocol = function (originProtocol) {
|
58
|
-
this['origin_protocol'] = originProtocol;
|
59
|
-
return this;
|
60
|
-
};
|
61
|
-
Object.defineProperty(Configs.prototype, "originProtocol", {
|
62
|
-
get: function () {
|
63
|
-
return this['origin_protocol'];
|
64
|
-
},
|
65
|
-
set: function (originProtocol) {
|
66
|
-
this['origin_protocol'] = originProtocol;
|
67
|
-
},
|
68
|
-
enumerable: false,
|
69
|
-
configurable: true
|
70
|
-
});
|
71
|
-
Configs.prototype.withOriginFollow302Status = function (originFollow302Status) {
|
72
|
-
this['origin_follow302_status'] = originFollow302Status;
|
73
|
-
return this;
|
74
|
-
};
|
75
|
-
Object.defineProperty(Configs.prototype, "originFollow302Status", {
|
76
|
-
get: function () {
|
77
|
-
return this['origin_follow302_status'];
|
78
|
-
},
|
79
|
-
set: function (originFollow302Status) {
|
80
|
-
this['origin_follow302_status'] = originFollow302Status;
|
81
|
-
},
|
82
|
-
enumerable: false,
|
83
|
-
configurable: true
|
84
|
-
});
|
85
|
-
Configs.prototype.withCacheRules = function (cacheRules) {
|
86
|
-
this['cache_rules'] = cacheRules;
|
87
|
-
return this;
|
88
|
-
};
|
89
|
-
Object.defineProperty(Configs.prototype, "cacheRules", {
|
90
|
-
get: function () {
|
91
|
-
return this['cache_rules'];
|
92
|
-
},
|
93
|
-
set: function (cacheRules) {
|
94
|
-
this['cache_rules'] = cacheRules;
|
95
|
-
},
|
96
|
-
enumerable: false,
|
97
|
-
configurable: true
|
98
|
-
});
|
99
|
-
Configs.prototype.withIpFilter = function (ipFilter) {
|
100
|
-
this['ip_filter'] = ipFilter;
|
101
|
-
return this;
|
102
|
-
};
|
103
|
-
Object.defineProperty(Configs.prototype, "ipFilter", {
|
104
|
-
get: function () {
|
105
|
-
return this['ip_filter'];
|
106
|
-
},
|
107
|
-
set: function (ipFilter) {
|
108
|
-
this['ip_filter'] = ipFilter;
|
109
|
-
},
|
110
|
-
enumerable: false,
|
111
|
-
configurable: true
|
112
|
-
});
|
113
|
-
Configs.prototype.withReferer = function (referer) {
|
114
|
-
this['referer'] = referer;
|
115
|
-
return this;
|
116
|
-
};
|
117
|
-
Configs.prototype.withForceRedirect = function (forceRedirect) {
|
118
|
-
this['force_redirect'] = forceRedirect;
|
119
|
-
return this;
|
120
|
-
};
|
121
|
-
Object.defineProperty(Configs.prototype, "forceRedirect", {
|
122
|
-
get: function () {
|
123
|
-
return this['force_redirect'];
|
124
|
-
},
|
125
|
-
set: function (forceRedirect) {
|
126
|
-
this['force_redirect'] = forceRedirect;
|
127
|
-
},
|
128
|
-
enumerable: false,
|
129
|
-
configurable: true
|
130
|
-
});
|
131
|
-
Configs.prototype.withCompress = function (compress) {
|
132
|
-
this['compress'] = compress;
|
133
|
-
return this;
|
134
|
-
};
|
135
|
-
Configs.prototype.withCacheUrlParameterFilter = function (cacheUrlParameterFilter) {
|
136
|
-
this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
|
137
|
-
return this;
|
138
|
-
};
|
139
|
-
Object.defineProperty(Configs.prototype, "cacheUrlParameterFilter", {
|
140
|
-
get: function () {
|
141
|
-
return this['cache_url_parameter_filter'];
|
142
|
-
},
|
143
|
-
set: function (cacheUrlParameterFilter) {
|
144
|
-
this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
|
145
|
-
},
|
146
|
-
enumerable: false,
|
147
|
-
configurable: true
|
148
|
-
});
|
149
|
-
Configs.prototype.withIpv6Accelerate = function (ipv6Accelerate) {
|
150
|
-
this['ipv6_accelerate'] = ipv6Accelerate;
|
151
|
-
return this;
|
152
|
-
};
|
153
|
-
Object.defineProperty(Configs.prototype, "ipv6Accelerate", {
|
154
|
-
get: function () {
|
155
|
-
return this['ipv6_accelerate'];
|
156
|
-
},
|
157
|
-
set: function (ipv6Accelerate) {
|
158
|
-
this['ipv6_accelerate'] = ipv6Accelerate;
|
159
|
-
},
|
160
|
-
enumerable: false,
|
161
|
-
configurable: true
|
162
|
-
});
|
163
|
-
Configs.prototype.withErrorCodeCache = function (errorCodeCache) {
|
164
|
-
this['error_code_cache'] = errorCodeCache;
|
165
|
-
return this;
|
166
|
-
};
|
167
|
-
Object.defineProperty(Configs.prototype, "errorCodeCache", {
|
168
|
-
get: function () {
|
169
|
-
return this['error_code_cache'];
|
170
|
-
},
|
171
|
-
set: function (errorCodeCache) {
|
172
|
-
this['error_code_cache'] = errorCodeCache;
|
173
|
-
},
|
174
|
-
enumerable: false,
|
175
|
-
configurable: true
|
176
|
-
});
|
177
|
-
Configs.prototype.withOriginRangeStatus = function (originRangeStatus) {
|
178
|
-
this['origin_range_status'] = originRangeStatus;
|
179
|
-
return this;
|
180
|
-
};
|
181
|
-
Object.defineProperty(Configs.prototype, "originRangeStatus", {
|
182
|
-
get: function () {
|
183
|
-
return this['origin_range_status'];
|
184
|
-
},
|
185
|
-
set: function (originRangeStatus) {
|
186
|
-
this['origin_range_status'] = originRangeStatus;
|
187
|
-
},
|
188
|
-
enumerable: false,
|
189
|
-
configurable: true
|
190
|
-
});
|
191
|
-
Configs.prototype.withUserAgentFilter = function (userAgentFilter) {
|
192
|
-
this['user_agent_filter'] = userAgentFilter;
|
193
|
-
return this;
|
194
|
-
};
|
195
|
-
Object.defineProperty(Configs.prototype, "userAgentFilter", {
|
196
|
-
get: function () {
|
197
|
-
return this['user_agent_filter'];
|
198
|
-
},
|
199
|
-
set: function (userAgentFilter) {
|
200
|
-
this['user_agent_filter'] = userAgentFilter;
|
201
|
-
},
|
202
|
-
enumerable: false,
|
203
|
-
configurable: true
|
204
|
-
});
|
205
|
-
Configs.prototype.withOriginRequestUrlRewrite = function (originRequestUrlRewrite) {
|
206
|
-
this['origin_request_url_rewrite'] = originRequestUrlRewrite;
|
207
|
-
return this;
|
208
|
-
};
|
209
|
-
Object.defineProperty(Configs.prototype, "originRequestUrlRewrite", {
|
210
|
-
get: function () {
|
211
|
-
return this['origin_request_url_rewrite'];
|
212
|
-
},
|
213
|
-
set: function (originRequestUrlRewrite) {
|
214
|
-
this['origin_request_url_rewrite'] = originRequestUrlRewrite;
|
215
|
-
},
|
216
|
-
enumerable: false,
|
217
|
-
configurable: true
|
218
|
-
});
|
219
|
-
Configs.prototype.withFlexibleOrigin = function (flexibleOrigin) {
|
220
|
-
this['flexible_origin'] = flexibleOrigin;
|
221
|
-
return this;
|
222
|
-
};
|
223
|
-
Object.defineProperty(Configs.prototype, "flexibleOrigin", {
|
224
|
-
get: function () {
|
225
|
-
return this['flexible_origin'];
|
226
|
-
},
|
227
|
-
set: function (flexibleOrigin) {
|
228
|
-
this['flexible_origin'] = flexibleOrigin;
|
229
|
-
},
|
230
|
-
enumerable: false,
|
231
|
-
configurable: true
|
232
|
-
});
|
233
|
-
Configs.prototype.withSliceEtagStatus = function (sliceEtagStatus) {
|
234
|
-
this['slice_etag_status'] = sliceEtagStatus;
|
235
|
-
return this;
|
236
|
-
};
|
237
|
-
Object.defineProperty(Configs.prototype, "sliceEtagStatus", {
|
238
|
-
get: function () {
|
239
|
-
return this['slice_etag_status'];
|
240
|
-
},
|
241
|
-
set: function (sliceEtagStatus) {
|
242
|
-
this['slice_etag_status'] = sliceEtagStatus;
|
243
|
-
},
|
244
|
-
enumerable: false,
|
245
|
-
configurable: true
|
246
|
-
});
|
247
|
-
Configs.prototype.withOriginReceiveTimeout = function (originReceiveTimeout) {
|
248
|
-
this['origin_receive_timeout'] = originReceiveTimeout;
|
249
|
-
return this;
|
250
|
-
};
|
251
|
-
Object.defineProperty(Configs.prototype, "originReceiveTimeout", {
|
252
|
-
get: function () {
|
253
|
-
return this['origin_receive_timeout'];
|
254
|
-
},
|
255
|
-
set: function (originReceiveTimeout) {
|
256
|
-
this['origin_receive_timeout'] = originReceiveTimeout;
|
257
|
-
},
|
258
|
-
enumerable: false,
|
259
|
-
configurable: true
|
260
|
-
});
|
261
|
-
Configs.prototype.withRemoteAuth = function (remoteAuth) {
|
262
|
-
this['remote_auth'] = remoteAuth;
|
263
|
-
return this;
|
264
|
-
};
|
265
|
-
Object.defineProperty(Configs.prototype, "remoteAuth", {
|
266
|
-
get: function () {
|
267
|
-
return this['remote_auth'];
|
268
|
-
},
|
269
|
-
set: function (remoteAuth) {
|
270
|
-
this['remote_auth'] = remoteAuth;
|
271
|
-
},
|
272
|
-
enumerable: false,
|
273
|
-
configurable: true
|
274
|
-
});
|
275
|
-
Configs.prototype.withWebsocket = function (websocket) {
|
276
|
-
this['websocket'] = websocket;
|
277
|
-
return this;
|
278
|
-
};
|
279
|
-
Configs.prototype.withVideoSeek = function (videoSeek) {
|
280
|
-
this['video_seek'] = videoSeek;
|
281
|
-
return this;
|
282
|
-
};
|
283
|
-
Object.defineProperty(Configs.prototype, "videoSeek", {
|
284
|
-
get: function () {
|
285
|
-
return this['video_seek'];
|
286
|
-
},
|
287
|
-
set: function (videoSeek) {
|
288
|
-
this['video_seek'] = videoSeek;
|
289
|
-
},
|
290
|
-
enumerable: false,
|
291
|
-
configurable: true
|
292
|
-
});
|
293
|
-
Configs.prototype.withRequestLimitRules = function (requestLimitRules) {
|
294
|
-
this['request_limit_rules'] = requestLimitRules;
|
295
|
-
return this;
|
296
|
-
};
|
297
|
-
Object.defineProperty(Configs.prototype, "requestLimitRules", {
|
298
|
-
get: function () {
|
299
|
-
return this['request_limit_rules'];
|
300
|
-
},
|
301
|
-
set: function (requestLimitRules) {
|
302
|
-
this['request_limit_rules'] = requestLimitRules;
|
303
|
-
},
|
304
|
-
enumerable: false,
|
305
|
-
configurable: true
|
306
|
-
});
|
307
|
-
Configs.prototype.withErrorCodeRedirectRules = function (errorCodeRedirectRules) {
|
308
|
-
this['error_code_redirect_rules'] = errorCodeRedirectRules;
|
309
|
-
return this;
|
310
|
-
};
|
311
|
-
Object.defineProperty(Configs.prototype, "errorCodeRedirectRules", {
|
312
|
-
get: function () {
|
313
|
-
return this['error_code_redirect_rules'];
|
314
|
-
},
|
315
|
-
set: function (errorCodeRedirectRules) {
|
316
|
-
this['error_code_redirect_rules'] = errorCodeRedirectRules;
|
317
|
-
},
|
318
|
-
enumerable: false,
|
319
|
-
configurable: true
|
320
|
-
});
|
321
|
-
return Configs;
|
322
|
-
}());
|
323
|
-
exports.Configs = Configs;
|
@@ -1,117 +0,0 @@
|
|
1
|
-
import { CacheRules } from './CacheRules';
|
2
|
-
import { CacheUrlParameterFilter } from './CacheUrlParameterFilter';
|
3
|
-
import { CommonRemoteAuth } from './CommonRemoteAuth';
|
4
|
-
import { Compress } from './Compress';
|
5
|
-
import { ErrorCodeCache } from './ErrorCodeCache';
|
6
|
-
import { ErrorCodeRedirectRules } from './ErrorCodeRedirectRules';
|
7
|
-
import { FlexibleOrigins } from './FlexibleOrigins';
|
8
|
-
import { ForceRedirectConfig } from './ForceRedirectConfig';
|
9
|
-
import { HttpGetBody } from './HttpGetBody';
|
10
|
-
import { HttpResponseHeader } from './HttpResponseHeader';
|
11
|
-
import { IpFilter } from './IpFilter';
|
12
|
-
import { OriginRequestHeader } from './OriginRequestHeader';
|
13
|
-
import { OriginRequestUrlRewrite } from './OriginRequestUrlRewrite';
|
14
|
-
import { RefererConfig } from './RefererConfig';
|
15
|
-
import { RequestLimitRules } from './RequestLimitRules';
|
16
|
-
import { SourcesConfig } from './SourcesConfig';
|
17
|
-
import { UrlAuthGetBody } from './UrlAuthGetBody';
|
18
|
-
import { UserAgentFilter } from './UserAgentFilter';
|
19
|
-
import { VideoSeek } from './VideoSeek';
|
20
|
-
import { WebSocketSeek } from './WebSocketSeek';
|
21
|
-
export declare class ConfigsGetBody {
|
22
|
-
private 'origin_request_header'?;
|
23
|
-
private 'http_response_header'?;
|
24
|
-
private 'url_auth'?;
|
25
|
-
https?: HttpGetBody;
|
26
|
-
sources?: Array<SourcesConfig>;
|
27
|
-
private 'origin_protocol'?;
|
28
|
-
private 'origin_follow302_status'?;
|
29
|
-
private 'cache_rules'?;
|
30
|
-
private 'ip_filter'?;
|
31
|
-
referer?: RefererConfig;
|
32
|
-
private 'force_redirect'?;
|
33
|
-
compress?: Compress;
|
34
|
-
private 'cache_url_parameter_filter'?;
|
35
|
-
private 'ipv6_accelerate'?;
|
36
|
-
private 'error_code_cache'?;
|
37
|
-
private 'origin_range_status'?;
|
38
|
-
private 'user_agent_filter'?;
|
39
|
-
private 'origin_request_url_rewrite'?;
|
40
|
-
private 'flexible_origin'?;
|
41
|
-
private 'slice_etag_status'?;
|
42
|
-
private 'origin_receive_timeout'?;
|
43
|
-
private 'remote_auth'?;
|
44
|
-
websocket?: WebSocketSeek;
|
45
|
-
private 'video_seek'?;
|
46
|
-
private 'request_limit_rules'?;
|
47
|
-
private 'error_code_redirect_rules'?;
|
48
|
-
constructor();
|
49
|
-
withOriginRequestHeader(originRequestHeader: Array<OriginRequestHeader>): ConfigsGetBody;
|
50
|
-
set originRequestHeader(originRequestHeader: Array<OriginRequestHeader> | undefined);
|
51
|
-
get originRequestHeader(): Array<OriginRequestHeader> | undefined;
|
52
|
-
withHttpResponseHeader(httpResponseHeader: Array<HttpResponseHeader>): ConfigsGetBody;
|
53
|
-
set httpResponseHeader(httpResponseHeader: Array<HttpResponseHeader> | undefined);
|
54
|
-
get httpResponseHeader(): Array<HttpResponseHeader> | undefined;
|
55
|
-
withUrlAuth(urlAuth: UrlAuthGetBody): ConfigsGetBody;
|
56
|
-
set urlAuth(urlAuth: UrlAuthGetBody | undefined);
|
57
|
-
get urlAuth(): UrlAuthGetBody | undefined;
|
58
|
-
withHttps(https: HttpGetBody): ConfigsGetBody;
|
59
|
-
withSources(sources: Array<SourcesConfig>): ConfigsGetBody;
|
60
|
-
withOriginProtocol(originProtocol: string): ConfigsGetBody;
|
61
|
-
set originProtocol(originProtocol: string | undefined);
|
62
|
-
get originProtocol(): string | undefined;
|
63
|
-
withOriginFollow302Status(originFollow302Status: string): ConfigsGetBody;
|
64
|
-
set originFollow302Status(originFollow302Status: string | undefined);
|
65
|
-
get originFollow302Status(): string | undefined;
|
66
|
-
withCacheRules(cacheRules: Array<CacheRules>): ConfigsGetBody;
|
67
|
-
set cacheRules(cacheRules: Array<CacheRules> | undefined);
|
68
|
-
get cacheRules(): Array<CacheRules> | undefined;
|
69
|
-
withIpFilter(ipFilter: IpFilter): ConfigsGetBody;
|
70
|
-
set ipFilter(ipFilter: IpFilter | undefined);
|
71
|
-
get ipFilter(): IpFilter | undefined;
|
72
|
-
withReferer(referer: RefererConfig): ConfigsGetBody;
|
73
|
-
withForceRedirect(forceRedirect: ForceRedirectConfig): ConfigsGetBody;
|
74
|
-
set forceRedirect(forceRedirect: ForceRedirectConfig | undefined);
|
75
|
-
get forceRedirect(): ForceRedirectConfig | undefined;
|
76
|
-
withCompress(compress: Compress): ConfigsGetBody;
|
77
|
-
withCacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter): ConfigsGetBody;
|
78
|
-
set cacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter | undefined);
|
79
|
-
get cacheUrlParameterFilter(): CacheUrlParameterFilter | undefined;
|
80
|
-
withIpv6Accelerate(ipv6Accelerate: number): ConfigsGetBody;
|
81
|
-
set ipv6Accelerate(ipv6Accelerate: number | undefined);
|
82
|
-
get ipv6Accelerate(): number | undefined;
|
83
|
-
withErrorCodeCache(errorCodeCache: Array<ErrorCodeCache>): ConfigsGetBody;
|
84
|
-
set errorCodeCache(errorCodeCache: Array<ErrorCodeCache> | undefined);
|
85
|
-
get errorCodeCache(): Array<ErrorCodeCache> | undefined;
|
86
|
-
withOriginRangeStatus(originRangeStatus: string): ConfigsGetBody;
|
87
|
-
set originRangeStatus(originRangeStatus: string | undefined);
|
88
|
-
get originRangeStatus(): string | undefined;
|
89
|
-
withUserAgentFilter(userAgentFilter: UserAgentFilter): ConfigsGetBody;
|
90
|
-
set userAgentFilter(userAgentFilter: UserAgentFilter | undefined);
|
91
|
-
get userAgentFilter(): UserAgentFilter | undefined;
|
92
|
-
withOriginRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite>): ConfigsGetBody;
|
93
|
-
set originRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite> | undefined);
|
94
|
-
get originRequestUrlRewrite(): Array<OriginRequestUrlRewrite> | undefined;
|
95
|
-
withFlexibleOrigin(flexibleOrigin: Array<FlexibleOrigins>): ConfigsGetBody;
|
96
|
-
set flexibleOrigin(flexibleOrigin: Array<FlexibleOrigins> | undefined);
|
97
|
-
get flexibleOrigin(): Array<FlexibleOrigins> | undefined;
|
98
|
-
withSliceEtagStatus(sliceEtagStatus: string): ConfigsGetBody;
|
99
|
-
set sliceEtagStatus(sliceEtagStatus: string | undefined);
|
100
|
-
get sliceEtagStatus(): string | undefined;
|
101
|
-
withOriginReceiveTimeout(originReceiveTimeout: number): ConfigsGetBody;
|
102
|
-
set originReceiveTimeout(originReceiveTimeout: number | undefined);
|
103
|
-
get originReceiveTimeout(): number | undefined;
|
104
|
-
withRemoteAuth(remoteAuth: CommonRemoteAuth): ConfigsGetBody;
|
105
|
-
set remoteAuth(remoteAuth: CommonRemoteAuth | undefined);
|
106
|
-
get remoteAuth(): CommonRemoteAuth | undefined;
|
107
|
-
withWebsocket(websocket: WebSocketSeek): ConfigsGetBody;
|
108
|
-
withVideoSeek(videoSeek: VideoSeek): ConfigsGetBody;
|
109
|
-
set videoSeek(videoSeek: VideoSeek | undefined);
|
110
|
-
get videoSeek(): VideoSeek | undefined;
|
111
|
-
withRequestLimitRules(requestLimitRules: Array<RequestLimitRules>): ConfigsGetBody;
|
112
|
-
set requestLimitRules(requestLimitRules: Array<RequestLimitRules> | undefined);
|
113
|
-
get requestLimitRules(): Array<RequestLimitRules> | undefined;
|
114
|
-
withErrorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules>): ConfigsGetBody;
|
115
|
-
set errorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules> | undefined);
|
116
|
-
get errorCodeRedirectRules(): Array<ErrorCodeRedirectRules> | undefined;
|
117
|
-
}
|