@huaweicloud/huaweicloud-sdk-cdn 3.1.45 → 3.1.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (710) hide show
  1. package/huaweicloud-sdk-cdn.ts +6 -0
  2. package/package.json +4 -4
  3. package/v1/{CdnClient.js → CdnClient.ts} +1429 -895
  4. package/v1/CdnRegion.ts +28 -0
  5. package/v1/model/BatchDeleteTagsRequest.ts +12 -0
  6. package/v1/model/BatchDeleteTagsResponse.ts +8 -0
  7. package/v1/model/BlackWhiteListBody.ts +23 -0
  8. package/v1/model/CacheConfig.ts +40 -0
  9. package/v1/model/CacheConfigRequest.ts +40 -0
  10. package/v1/model/CacheConfigRequestBody.ts +19 -0
  11. package/v1/model/CacheRules.ts +88 -0
  12. package/v1/model/CacheUrlParameterFilter.ts +16 -0
  13. package/v1/model/CdnIps.ts +31 -0
  14. package/v1/model/Compress.ts +17 -0
  15. package/v1/model/CompressRequest.ts +17 -0
  16. package/v1/model/CompressResponse.ts +30 -0
  17. package/v1/model/CompressRules.ts +28 -0
  18. package/v1/model/Configs.ts +206 -0
  19. package/v1/model/ConfigsGetBody.ts +206 -0
  20. package/v1/model/CreateDomainRequest.ts +12 -0
  21. package/v1/model/CreateDomainRequestBody.ts +13 -0
  22. package/v1/model/CreateDomainResponse.ts +14 -0
  23. package/v1/model/CreateDomainResponseBodyContent.ts +176 -0
  24. package/v1/model/CreatePreheatingTasksRequest.ts +23 -0
  25. package/v1/model/CreatePreheatingTasksResponse.ts +19 -0
  26. package/v1/model/CreateRefreshTasksRequest.ts +23 -0
  27. package/v1/model/CreateRefreshTasksResponse.ts +19 -0
  28. package/v1/model/CreateTagsRequest.ts +12 -0
  29. package/v1/model/CreateTagsRequestBody.ts +24 -0
  30. package/v1/model/CreateTagsResponse.ts +8 -0
  31. package/v1/model/DeleteDomainRequest.ts +29 -0
  32. package/v1/model/DeleteDomainResponse.ts +14 -0
  33. package/v1/model/DeleteTagsRequestBody.ts +24 -0
  34. package/v1/model/DisableDomainRequest.ts +29 -0
  35. package/v1/model/DisableDomainResponse.ts +14 -0
  36. package/v1/model/DomainBody.ts +80 -0
  37. package/v1/model/DomainItemDetail.ts +44 -0
  38. package/v1/model/DomainItemLocationDetails.ts +45 -0
  39. package/v1/model/DomainOriginHost.ts +40 -0
  40. package/v1/model/DomainRegion.ts +28 -0
  41. package/v1/model/Domains.ts +225 -0
  42. package/v1/model/DomainsWithPort.ts +219 -0
  43. package/v1/model/EnableDomainRequest.ts +29 -0
  44. package/v1/model/EnableDomainResponse.ts +14 -0
  45. package/v1/model/EpResourceTag.ts +18 -0
  46. package/v1/model/ErrorCodeCache.ts +16 -0
  47. package/v1/model/ErrorCodeRedirectRules.ts +42 -0
  48. package/v1/model/Follow302StatusBody.ts +37 -0
  49. package/v1/model/Follow302StatusRequest.ts +27 -0
  50. package/v1/model/ForceRedirect.ts +29 -0
  51. package/v1/model/ForceRedirectConfig.ts +28 -0
  52. package/v1/model/HeaderBody.ts +12 -0
  53. package/v1/model/HeaderMap.ts +72 -0
  54. package/v1/model/HttpGetBody.ts +72 -0
  55. package/v1/model/HttpInfoRequest.ts +13 -0
  56. package/v1/model/HttpInfoRequestBody.ts +85 -0
  57. package/v1/model/HttpInfoResponseBody.ts +94 -0
  58. package/v1/model/HttpPutBody.ts +83 -0
  59. package/v1/model/HttpResponseHeader.ts +23 -0
  60. package/v1/model/HttpsDetail.ts +116 -0
  61. package/v1/model/IpFilter.ts +17 -0
  62. package/v1/model/ListDomainsRequest.ts +138 -0
  63. package/v1/model/ListDomainsResponse.ts +19 -0
  64. package/v1/model/LogObject.ts +54 -0
  65. package/v1/model/ModelMap.ts +17 -0
  66. package/v1/model/ModifyDomainConfigRequestBody.ts +12 -0
  67. package/v1/model/OriginHostBody.ts +38 -0
  68. package/v1/model/OriginHostRequest.ts +19 -0
  69. package/v1/model/OriginRangeBody.ts +37 -0
  70. package/v1/model/OriginRequest.ts +13 -0
  71. package/v1/model/OriginRequestHeader.ts +23 -0
  72. package/v1/model/OriginRequestUrlRewrite.ts +47 -0
  73. package/v1/model/PreheatingTaskRequest.ts +19 -0
  74. package/v1/model/PreheatingTaskRequestBody.ts +12 -0
  75. package/v1/model/Quotas.ts +38 -0
  76. package/v1/model/RangeStatusRequest.ts +27 -0
  77. package/v1/model/Referer.ts +40 -0
  78. package/v1/model/RefererBody.ts +13 -0
  79. package/v1/model/RefererConfig.ts +28 -0
  80. package/v1/model/RefererRsp.ts +39 -0
  81. package/v1/model/RefreshTaskRequest.ts +19 -0
  82. package/v1/model/RefreshTaskRequestBody.ts +39 -0
  83. package/v1/model/ResourceBody.ts +13 -0
  84. package/v1/model/Rules.ts +47 -0
  85. package/v1/model/ShowBlackWhiteListRequest.ts +29 -0
  86. package/v1/model/ShowBlackWhiteListResponse.ts +24 -0
  87. package/v1/model/ShowCacheRulesRequest.ts +29 -0
  88. package/v1/model/ShowCacheRulesResponse.ts +20 -0
  89. package/v1/model/ShowCertificatesHttpsInfoRequest.ts +61 -0
  90. package/v1/model/ShowCertificatesHttpsInfoResponse.ts +19 -0
  91. package/v1/model/ShowDomainDetailRequest.ts +29 -0
  92. package/v1/model/ShowDomainDetailResponse.ts +14 -0
  93. package/v1/model/ShowDomainFullConfigRequest.ts +29 -0
  94. package/v1/model/ShowDomainFullConfigResponse.ts +14 -0
  95. package/v1/model/ShowDomainItemDetailsRequest.ts +76 -0
  96. package/v1/model/ShowDomainItemDetailsResponse.ts +20 -0
  97. package/v1/model/ShowDomainItemLocationDetailsRequest.ts +77 -0
  98. package/v1/model/ShowDomainItemLocationDetailsResponse.ts +20 -0
  99. package/v1/model/ShowDomainLocationStatsRequest.ts +102 -0
  100. package/v1/model/ShowDomainLocationStatsResponse.ts +24 -0
  101. package/v1/model/ShowDomainStatsRequest.ts +98 -0
  102. package/v1/model/ShowDomainStatsResponse.ts +13 -0
  103. package/v1/model/ShowHistoryTaskDetailsRequest.ts +72 -0
  104. package/v1/model/ShowHistoryTaskDetailsResponse.ts +77 -0
  105. package/v1/model/ShowHistoryTasksRequest.ts +116 -0
  106. package/v1/model/ShowHistoryTasksResponse.ts +19 -0
  107. package/v1/model/ShowHttpInfoRequest.ts +29 -0
  108. package/v1/model/ShowHttpInfoResponse.ts +14 -0
  109. package/v1/model/ShowIpInfoRequest.ts +23 -0
  110. package/v1/model/ShowIpInfoResponse.ts +20 -0
  111. package/v1/model/ShowLogsRequest.ts +73 -0
  112. package/v1/model/ShowLogsResponse.ts +19 -0
  113. package/v1/model/ShowOriginHostRequest.ts +29 -0
  114. package/v1/model/ShowOriginHostResponse.ts +20 -0
  115. package/v1/model/ShowQuotaRequest.ts +6 -0
  116. package/v1/model/ShowQuotaResponse.ts +14 -0
  117. package/v1/model/ShowReferRequest.ts +29 -0
  118. package/v1/model/ShowReferResponse.ts +14 -0
  119. package/v1/model/ShowResponseHeaderRequest.ts +29 -0
  120. package/v1/model/ShowResponseHeaderResponse.ts +14 -0
  121. package/v1/model/ShowTagsRequest.ts +18 -0
  122. package/v1/model/ShowTagsResponse.ts +13 -0
  123. package/v1/model/ShowTopUrlRequest.ts +93 -0
  124. package/v1/model/ShowTopUrlResponse.ts +31 -0
  125. package/v1/model/ShowUrlTaskInfoRequest.ts +70 -0
  126. package/v1/model/ShowUrlTaskInfoResponse.ts +35 -0
  127. package/v1/model/SourceWithPort.ts +96 -0
  128. package/v1/model/Sources.ts +74 -0
  129. package/v1/model/SourcesConfig.ts +80 -0
  130. package/v1/model/TasksObject.ts +86 -0
  131. package/v1/model/TopUrlSummary.ts +49 -0
  132. package/v1/model/UpdateBlackWhiteListRequest.ts +35 -0
  133. package/v1/model/UpdateBlackWhiteListResponse.ts +23 -0
  134. package/v1/model/UpdateCacheRulesRequest.ts +35 -0
  135. package/v1/model/UpdateCacheRulesResponse.ts +20 -0
  136. package/v1/model/UpdateDomainFullConfigRequest.ts +35 -0
  137. package/v1/model/UpdateDomainFullConfigResponse.ts +8 -0
  138. package/v1/model/UpdateDomainMultiCertificatesRequest.ts +23 -0
  139. package/v1/model/UpdateDomainMultiCertificatesRequestBody.ts +12 -0
  140. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.ts +107 -0
  141. package/v1/model/UpdateDomainMultiCertificatesResponse.ts +14 -0
  142. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.ts +106 -0
  143. package/v1/model/UpdateDomainOriginRequest.ts +35 -0
  144. package/v1/model/UpdateDomainOriginResponse.ts +14 -0
  145. package/v1/model/UpdateFollow302SwitchRequest.ts +35 -0
  146. package/v1/model/UpdateFollow302SwitchResponse.ts +20 -0
  147. package/v1/model/UpdateHttpsInfoRequest.ts +35 -0
  148. package/v1/model/UpdateHttpsInfoResponse.ts +14 -0
  149. package/v1/model/UpdateOriginHostRequest.ts +35 -0
  150. package/v1/model/UpdateOriginHostResponse.ts +20 -0
  151. package/v1/model/UpdatePrivateBucketAccessBody.ts +11 -0
  152. package/v1/model/UpdatePrivateBucketAccessRequest.ts +35 -0
  153. package/v1/model/UpdatePrivateBucketAccessResponse.ts +13 -0
  154. package/v1/model/UpdateRangeSwitchRequest.ts +35 -0
  155. package/v1/model/UpdateRangeSwitchResponse.ts +20 -0
  156. package/v1/model/UpdateReferRequest.ts +35 -0
  157. package/v1/model/UpdateReferResponse.ts +14 -0
  158. package/v1/model/UpdateResponseHeaderRequest.ts +35 -0
  159. package/v1/model/UpdateResponseHeaderResponse.ts +14 -0
  160. package/v1/model/UrlAuth.ts +44 -0
  161. package/v1/model/UrlAuthGetBody.ts +39 -0
  162. package/v1/model/UrlObject.ts +54 -0
  163. package/v1/model/Urls.ts +70 -0
  164. package/v1/model/UserAgentFilter.ts +17 -0
  165. package/v1/{public-api.d.ts → public-api.ts} +1 -0
  166. package/v2/{CdnClient.js → CdnClient.ts} +666 -449
  167. package/v2/CdnRegion.ts +28 -0
  168. package/v2/model/BackSources.ts +63 -0
  169. package/v2/model/BatchCopyConfigs.ts +42 -0
  170. package/v2/model/BatchCopyDRequestBody.ts +13 -0
  171. package/v2/model/BatchCopyDomainRequest.ts +12 -0
  172. package/v2/model/BatchCopyDomainResponse.ts +14 -0
  173. package/v2/model/BatchCopyErrorRsp.ts +12 -0
  174. package/v2/model/BatchCopyErrorRspError.ts +28 -0
  175. package/v2/model/BatchCopyResultVo.ts +38 -0
  176. package/v2/model/CacheRules.ts +88 -0
  177. package/v2/model/CacheUrlParameterFilter.ts +16 -0
  178. package/v2/model/CommonRemoteAuth.ts +31 -0
  179. package/v2/model/Compress.ts +29 -0
  180. package/v2/model/Configs.ts +304 -0
  181. package/v2/model/ConfigsGetBody.ts +304 -0
  182. package/v2/model/CustomArgs.ts +24 -0
  183. package/v2/model/DomainOriginHost.ts +40 -0
  184. package/v2/model/Domains.ts +214 -0
  185. package/v2/model/DomainsWithPort.ts +119 -0
  186. package/v2/model/DownloadRegionCarrierExcelRequest.ts +96 -0
  187. package/v2/model/DownloadRegionCarrierExcelResponse.ts +8 -0
  188. package/v2/model/DownloadStatisticsExcelRequest.ts +92 -0
  189. package/v2/model/DownloadStatisticsExcelResponse.ts +8 -0
  190. package/v2/model/EpResourceTag.ts +18 -0
  191. package/v2/model/ErrMsg.ts +30 -0
  192. package/v2/model/ErrRsp.ts +13 -0
  193. package/v2/model/ErrorCodeCache.ts +16 -0
  194. package/v2/model/ErrorCodeRedirectRules.ts +42 -0
  195. package/v2/model/FlexibleOrigins.ts +49 -0
  196. package/v2/model/ForceRedirectConfig.ts +28 -0
  197. package/v2/model/HttpGetBody.ts +105 -0
  198. package/v2/model/HttpPutBody.ts +105 -0
  199. package/v2/model/HttpResponseHeader.ts +23 -0
  200. package/v2/model/IpFilter.ts +17 -0
  201. package/v2/model/ListDomainsRequest.ts +105 -0
  202. package/v2/model/ListDomainsResponse.ts +19 -0
  203. package/v2/model/ModifyDomainConfigRequestBody.ts +12 -0
  204. package/v2/model/OriginRequestHeader.ts +23 -0
  205. package/v2/model/OriginRequestUrlRewrite.ts +47 -0
  206. package/v2/model/RefererConfig.ts +28 -0
  207. package/v2/model/RemoteAuthRuleVo.ts +176 -0
  208. package/v2/model/RequestLimitRules.ts +40 -0
  209. package/v2/model/SetChargeModesBody.ts +42 -0
  210. package/v2/model/SetChargeModesRequest.ts +12 -0
  211. package/v2/model/SetChargeModesResponse.ts +68 -0
  212. package/v2/model/ShowBandwidthCalcRequest.ts +76 -0
  213. package/v2/model/ShowBandwidthCalcResponse.ts +19 -0
  214. package/v2/model/ShowChargeModesRequest.ts +34 -0
  215. package/v2/model/ShowChargeModesResponse.ts +13 -0
  216. package/v2/model/ShowDomainDetailByNameRequest.ts +29 -0
  217. package/v2/model/ShowDomainDetailByNameResponse.ts +14 -0
  218. package/v2/model/ShowDomainFullConfigRequest.ts +40 -0
  219. package/v2/model/ShowDomainFullConfigResponse.ts +14 -0
  220. package/v2/model/ShowDomainLocationStatsRequest.ts +102 -0
  221. package/v2/model/ShowDomainLocationStatsResponse.ts +24 -0
  222. package/v2/model/ShowDomainStatsRequest.ts +98 -0
  223. package/v2/model/ShowDomainStatsResponse.ts +13 -0
  224. package/v2/model/ShowTopDomainNamesRequest.ts +69 -0
  225. package/v2/model/ShowTopDomainNamesResponse.ts +19 -0
  226. package/v2/model/ShowTopUrlRequest.ts +76 -0
  227. package/v2/model/ShowTopUrlResponse.ts +31 -0
  228. package/v2/model/Sources.ts +74 -0
  229. package/v2/model/SourcesConfig.ts +96 -0
  230. package/v2/model/TopUrlSummary.ts +49 -0
  231. package/v2/model/UpdateDomainFullConfigRequest.ts +35 -0
  232. package/v2/model/UpdateDomainFullConfigResponse.ts +8 -0
  233. package/v2/model/UrlAuth.ts +91 -0
  234. package/v2/model/UrlAuthGetBody.ts +88 -0
  235. package/v2/model/UserAgentFilter.ts +28 -0
  236. package/v2/model/VideoSeek.ts +51 -0
  237. package/v2/model/WebSocketSeek.ts +18 -0
  238. package/v2/{public-api.d.ts → public-api.ts} +1 -0
  239. package/LICENSE +0 -13
  240. package/README.md +0 -1
  241. package/huaweicloud-sdk-cdn.d.ts +0 -3
  242. package/huaweicloud-sdk-cdn.js +0 -32
  243. package/v1/CdnClient.d.ts +0 -1357
  244. package/v1/CdnRegion.d.ts +0 -6
  245. package/v1/CdnRegion.js +0 -25
  246. package/v1/model/BatchDeleteTagsRequest.d.ts +0 -6
  247. package/v1/model/BatchDeleteTagsRequest.js +0 -13
  248. package/v1/model/BatchDeleteTagsResponse.d.ts +0 -4
  249. package/v1/model/BatchDeleteTagsResponse.js +0 -27
  250. package/v1/model/BlackWhiteListBody.d.ts +0 -9
  251. package/v1/model/BlackWhiteListBody.js +0 -28
  252. package/v1/model/CacheConfig.d.ts +0 -17
  253. package/v1/model/CacheConfig.js +0 -45
  254. package/v1/model/CacheConfigRequest.d.ts +0 -17
  255. package/v1/model/CacheConfigRequest.js +0 -45
  256. package/v1/model/CacheConfigRequestBody.d.ts +0 -8
  257. package/v1/model/CacheConfigRequestBody.js +0 -24
  258. package/v1/model/CacheRules.d.ts +0 -31
  259. package/v1/model/CacheRules.js +0 -107
  260. package/v1/model/CacheUrlParameterFilter.d.ts +0 -7
  261. package/v1/model/CacheUrlParameterFilter.js +0 -17
  262. package/v1/model/CdnIps.d.ts +0 -13
  263. package/v1/model/CdnIps.js +0 -29
  264. package/v1/model/Compress.d.ts +0 -7
  265. package/v1/model/Compress.js +0 -18
  266. package/v1/model/CompressRequest.d.ts +0 -7
  267. package/v1/model/CompressRequest.js +0 -23
  268. package/v1/model/CompressResponse.d.ts +0 -12
  269. package/v1/model/CompressResponse.js +0 -38
  270. package/v1/model/CompressRules.d.ts +0 -11
  271. package/v1/model/CompressRules.js +0 -37
  272. package/v1/model/Configs.d.ts +0 -86
  273. package/v1/model/Configs.js +0 -235
  274. package/v1/model/ConfigsGetBody.d.ts +0 -86
  275. package/v1/model/ConfigsGetBody.js +0 -235
  276. package/v1/model/CreateDomainRequest.d.ts +0 -6
  277. package/v1/model/CreateDomainRequest.js +0 -13
  278. package/v1/model/CreateDomainRequestBody.d.ts +0 -6
  279. package/v1/model/CreateDomainRequestBody.js +0 -14
  280. package/v1/model/CreateDomainResponse.d.ts +0 -7
  281. package/v1/model/CreateDomainResponse.js +0 -31
  282. package/v1/model/CreateDomainResponseBodyContent.d.ts +0 -67
  283. package/v1/model/CreateDomainResponseBodyContent.js +0 -211
  284. package/v1/model/CreatePreheatingTasksRequest.d.ts +0 -10
  285. package/v1/model/CreatePreheatingTasksRequest.js +0 -27
  286. package/v1/model/CreatePreheatingTasksResponse.d.ts +0 -8
  287. package/v1/model/CreatePreheatingTasksResponse.js +0 -41
  288. package/v1/model/CreateRefreshTasksRequest.d.ts +0 -10
  289. package/v1/model/CreateRefreshTasksRequest.js +0 -27
  290. package/v1/model/CreateRefreshTasksResponse.d.ts +0 -8
  291. package/v1/model/CreateRefreshTasksResponse.js +0 -41
  292. package/v1/model/CreateTagsRequest.d.ts +0 -6
  293. package/v1/model/CreateTagsRequest.js +0 -13
  294. package/v1/model/CreateTagsRequestBody.d.ts +0 -9
  295. package/v1/model/CreateTagsRequestBody.js +0 -29
  296. package/v1/model/CreateTagsResponse.d.ts +0 -4
  297. package/v1/model/CreateTagsResponse.js +0 -27
  298. package/v1/model/DeleteDomainRequest.d.ts +0 -11
  299. package/v1/model/DeleteDomainRequest.js +0 -38
  300. package/v1/model/DeleteDomainResponse.d.ts +0 -7
  301. package/v1/model/DeleteDomainResponse.js +0 -31
  302. package/v1/model/DeleteTagsRequestBody.d.ts +0 -9
  303. package/v1/model/DeleteTagsRequestBody.js +0 -29
  304. package/v1/model/DisableDomainRequest.d.ts +0 -11
  305. package/v1/model/DisableDomainRequest.js +0 -38
  306. package/v1/model/DisableDomainResponse.d.ts +0 -7
  307. package/v1/model/DisableDomainResponse.js +0 -31
  308. package/v1/model/DomainBody.d.ts +0 -41
  309. package/v1/model/DomainBody.js +0 -94
  310. package/v1/model/DomainItemDetail.d.ts +0 -21
  311. package/v1/model/DomainItemDetail.js +0 -55
  312. package/v1/model/DomainItemLocationDetails.d.ts +0 -18
  313. package/v1/model/DomainItemLocationDetails.js +0 -55
  314. package/v1/model/DomainOriginHost.d.ts +0 -15
  315. package/v1/model/DomainOriginHost.js +0 -52
  316. package/v1/model/DomainRegion.d.ts +0 -17
  317. package/v1/model/DomainRegion.js +0 -37
  318. package/v1/model/Domains.d.ts +0 -91
  319. package/v1/model/Domains.js +0 -267
  320. package/v1/model/DomainsWithPort.d.ts +0 -88
  321. package/v1/model/DomainsWithPort.js +0 -263
  322. package/v1/model/EnableDomainRequest.d.ts +0 -11
  323. package/v1/model/EnableDomainRequest.js +0 -38
  324. package/v1/model/EnableDomainResponse.d.ts +0 -7
  325. package/v1/model/EnableDomainResponse.js +0 -31
  326. package/v1/model/EpResourceTag.d.ts +0 -7
  327. package/v1/model/EpResourceTag.js +0 -19
  328. package/v1/model/ErrorCodeCache.d.ts +0 -7
  329. package/v1/model/ErrorCodeCache.js +0 -17
  330. package/v1/model/ErrorCodeRedirectRules.d.ts +0 -15
  331. package/v1/model/ErrorCodeRedirectRules.js +0 -54
  332. package/v1/model/Follow302StatusBody.d.ts +0 -19
  333. package/v1/model/Follow302StatusBody.js +0 -46
  334. package/v1/model/Follow302StatusRequest.d.ts +0 -15
  335. package/v1/model/Follow302StatusRequest.js +0 -33
  336. package/v1/model/ForceRedirect.d.ts +0 -11
  337. package/v1/model/ForceRedirect.js +0 -38
  338. package/v1/model/ForceRedirectConfig.d.ts +0 -11
  339. package/v1/model/ForceRedirectConfig.js +0 -32
  340. package/v1/model/HeaderBody.d.ts +0 -6
  341. package/v1/model/HeaderBody.js +0 -13
  342. package/v1/model/HeaderMap.d.ts +0 -27
  343. package/v1/model/HeaderMap.js +0 -93
  344. package/v1/model/HttpGetBody.d.ts +0 -27
  345. package/v1/model/HttpGetBody.js +0 -93
  346. package/v1/model/HttpInfoRequest.d.ts +0 -6
  347. package/v1/model/HttpInfoRequest.js +0 -14
  348. package/v1/model/HttpInfoRequestBody.d.ts +0 -32
  349. package/v1/model/HttpInfoRequestBody.js +0 -103
  350. package/v1/model/HttpInfoResponseBody.d.ts +0 -36
  351. package/v1/model/HttpInfoResponseBody.js +0 -115
  352. package/v1/model/HttpPutBody.d.ts +0 -31
  353. package/v1/model/HttpPutBody.js +0 -107
  354. package/v1/model/HttpResponseHeader.d.ts +0 -9
  355. package/v1/model/HttpResponseHeader.js +0 -23
  356. package/v1/model/HttpsDetail.d.ts +0 -44
  357. package/v1/model/HttpsDetail.js +0 -143
  358. package/v1/model/IpFilter.d.ts +0 -7
  359. package/v1/model/IpFilter.js +0 -18
  360. package/v1/model/ListDomainsRequest.d.ts +0 -71
  361. package/v1/model/ListDomainsRequest.js +0 -170
  362. package/v1/model/ListDomainsResponse.d.ts +0 -9
  363. package/v1/model/ListDomainsResponse.js +0 -35
  364. package/v1/model/LogObject.d.ts +0 -21
  365. package/v1/model/LogObject.js +0 -63
  366. package/v1/model/ModelMap.d.ts +0 -7
  367. package/v1/model/ModelMap.js +0 -18
  368. package/v1/model/ModifyDomainConfigRequestBody.d.ts +0 -6
  369. package/v1/model/ModifyDomainConfigRequestBody.js +0 -13
  370. package/v1/model/OriginHostBody.d.ts +0 -19
  371. package/v1/model/OriginHostBody.js +0 -47
  372. package/v1/model/OriginHostRequest.d.ts +0 -8
  373. package/v1/model/OriginHostRequest.js +0 -24
  374. package/v1/model/OriginRangeBody.d.ts +0 -19
  375. package/v1/model/OriginRangeBody.js +0 -46
  376. package/v1/model/OriginRequest.d.ts +0 -6
  377. package/v1/model/OriginRequest.js +0 -14
  378. package/v1/model/OriginRequestHeader.d.ts +0 -9
  379. package/v1/model/OriginRequestHeader.js +0 -23
  380. package/v1/model/OriginRequestUrlRewrite.d.ts +0 -17
  381. package/v1/model/OriginRequestUrlRewrite.js +0 -58
  382. package/v1/model/PreheatingTaskRequest.d.ts +0 -8
  383. package/v1/model/PreheatingTaskRequest.js +0 -24
  384. package/v1/model/PreheatingTaskRequestBody.d.ts +0 -5
  385. package/v1/model/PreheatingTaskRequestBody.js +0 -14
  386. package/v1/model/Quotas.d.ts +0 -15
  387. package/v1/model/Quotas.js +0 -45
  388. package/v1/model/RangeStatusRequest.d.ts +0 -15
  389. package/v1/model/RangeStatusRequest.js +0 -33
  390. package/v1/model/Referer.d.ts +0 -15
  391. package/v1/model/Referer.js +0 -52
  392. package/v1/model/RefererBody.d.ts +0 -6
  393. package/v1/model/RefererBody.js +0 -14
  394. package/v1/model/RefererConfig.d.ts +0 -11
  395. package/v1/model/RefererConfig.js +0 -32
  396. package/v1/model/RefererRsp.d.ts +0 -15
  397. package/v1/model/RefererRsp.js +0 -51
  398. package/v1/model/RefreshTaskRequest.d.ts +0 -8
  399. package/v1/model/RefreshTaskRequest.js +0 -24
  400. package/v1/model/RefreshTaskRequestBody.d.ts +0 -25
  401. package/v1/model/RefreshTaskRequestBody.js +0 -40
  402. package/v1/model/ResourceBody.d.ts +0 -6
  403. package/v1/model/ResourceBody.js +0 -14
  404. package/v1/model/Rules.d.ts +0 -17
  405. package/v1/model/Rules.js +0 -53
  406. package/v1/model/ShowBlackWhiteListRequest.d.ts +0 -11
  407. package/v1/model/ShowBlackWhiteListRequest.js +0 -38
  408. package/v1/model/ShowBlackWhiteListResponse.d.ts +0 -10
  409. package/v1/model/ShowBlackWhiteListResponse.js +0 -45
  410. package/v1/model/ShowCacheRulesRequest.d.ts +0 -11
  411. package/v1/model/ShowCacheRulesRequest.js +0 -38
  412. package/v1/model/ShowCacheRulesResponse.d.ts +0 -9
  413. package/v1/model/ShowCacheRulesResponse.js +0 -41
  414. package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +0 -23
  415. package/v1/model/ShowCertificatesHttpsInfoRequest.js +0 -79
  416. package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +0 -9
  417. package/v1/model/ShowCertificatesHttpsInfoResponse.js +0 -35
  418. package/v1/model/ShowDomainDetailRequest.d.ts +0 -11
  419. package/v1/model/ShowDomainDetailRequest.js +0 -38
  420. package/v1/model/ShowDomainDetailResponse.d.ts +0 -7
  421. package/v1/model/ShowDomainDetailResponse.js +0 -31
  422. package/v1/model/ShowDomainFullConfigRequest.d.ts +0 -11
  423. package/v1/model/ShowDomainFullConfigRequest.js +0 -38
  424. package/v1/model/ShowDomainFullConfigResponse.d.ts +0 -7
  425. package/v1/model/ShowDomainFullConfigResponse.js +0 -31
  426. package/v1/model/ShowDomainItemDetailsRequest.d.ts +0 -27
  427. package/v1/model/ShowDomainItemDetailsRequest.js +0 -97
  428. package/v1/model/ShowDomainItemDetailsResponse.d.ts +0 -9
  429. package/v1/model/ShowDomainItemDetailsResponse.js +0 -41
  430. package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +0 -27
  431. package/v1/model/ShowDomainItemLocationDetailsRequest.js +0 -93
  432. package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +0 -9
  433. package/v1/model/ShowDomainItemLocationDetailsResponse.js +0 -41
  434. package/v1/model/ShowDomainLocationStatsRequest.d.ts +0 -37
  435. package/v1/model/ShowDomainLocationStatsRequest.js +0 -118
  436. package/v1/model/ShowDomainLocationStatsResponse.d.ts +0 -14
  437. package/v1/model/ShowDomainLocationStatsResponse.js +0 -45
  438. package/v1/model/ShowDomainStatsRequest.d.ts +0 -35
  439. package/v1/model/ShowDomainStatsRequest.js +0 -120
  440. package/v1/model/ShowDomainStatsResponse.d.ts +0 -10
  441. package/v1/model/ShowDomainStatsResponse.js +0 -31
  442. package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +0 -27
  443. package/v1/model/ShowHistoryTaskDetailsRequest.js +0 -88
  444. package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +0 -31
  445. package/v1/model/ShowHistoryTaskDetailsResponse.js +0 -97
  446. package/v1/model/ShowHistoryTasksRequest.d.ts +0 -53
  447. package/v1/model/ShowHistoryTasksRequest.js +0 -143
  448. package/v1/model/ShowHistoryTasksResponse.d.ts +0 -9
  449. package/v1/model/ShowHistoryTasksResponse.js +0 -35
  450. package/v1/model/ShowHttpInfoRequest.d.ts +0 -11
  451. package/v1/model/ShowHttpInfoRequest.js +0 -38
  452. package/v1/model/ShowHttpInfoResponse.d.ts +0 -7
  453. package/v1/model/ShowHttpInfoResponse.js +0 -31
  454. package/v1/model/ShowIpInfoRequest.d.ts +0 -9
  455. package/v1/model/ShowIpInfoRequest.js +0 -28
  456. package/v1/model/ShowIpInfoResponse.d.ts +0 -9
  457. package/v1/model/ShowIpInfoResponse.js +0 -41
  458. package/v1/model/ShowLogsRequest.d.ts +0 -27
  459. package/v1/model/ShowLogsRequest.js +0 -94
  460. package/v1/model/ShowLogsResponse.d.ts +0 -9
  461. package/v1/model/ShowLogsResponse.js +0 -35
  462. package/v1/model/ShowOriginHostRequest.d.ts +0 -11
  463. package/v1/model/ShowOriginHostRequest.js +0 -38
  464. package/v1/model/ShowOriginHostResponse.d.ts +0 -9
  465. package/v1/model/ShowOriginHostResponse.js +0 -41
  466. package/v1/model/ShowQuotaRequest.d.ts +0 -3
  467. package/v1/model/ShowQuotaRequest.js +0 -9
  468. package/v1/model/ShowQuotaResponse.d.ts +0 -7
  469. package/v1/model/ShowQuotaResponse.js +0 -31
  470. package/v1/model/ShowReferRequest.d.ts +0 -11
  471. package/v1/model/ShowReferRequest.js +0 -38
  472. package/v1/model/ShowReferResponse.d.ts +0 -7
  473. package/v1/model/ShowReferResponse.js +0 -31
  474. package/v1/model/ShowResponseHeaderRequest.d.ts +0 -11
  475. package/v1/model/ShowResponseHeaderRequest.js +0 -38
  476. package/v1/model/ShowResponseHeaderResponse.d.ts +0 -7
  477. package/v1/model/ShowResponseHeaderResponse.js +0 -31
  478. package/v1/model/ShowTagsRequest.d.ts +0 -7
  479. package/v1/model/ShowTagsRequest.js +0 -24
  480. package/v1/model/ShowTagsResponse.d.ts +0 -6
  481. package/v1/model/ShowTagsResponse.js +0 -31
  482. package/v1/model/ShowTopUrlRequest.d.ts +0 -43
  483. package/v1/model/ShowTopUrlRequest.js +0 -115
  484. package/v1/model/ShowTopUrlResponse.d.ts +0 -13
  485. package/v1/model/ShowTopUrlResponse.js +0 -55
  486. package/v1/model/ShowUrlTaskInfoRequest.d.ts +0 -27
  487. package/v1/model/ShowUrlTaskInfoRequest.js +0 -81
  488. package/v1/model/ShowUrlTaskInfoResponse.d.ts +0 -15
  489. package/v1/model/ShowUrlTaskInfoResponse.js +0 -53
  490. package/v1/model/SourceWithPort.d.ts +0 -40
  491. package/v1/model/SourceWithPort.js +0 -120
  492. package/v1/model/Sources.d.ts +0 -32
  493. package/v1/model/Sources.js +0 -92
  494. package/v1/model/SourcesConfig.d.ts +0 -29
  495. package/v1/model/SourcesConfig.js +0 -100
  496. package/v1/model/TasksObject.d.ts +0 -43
  497. package/v1/model/TasksObject.js +0 -93
  498. package/v1/model/TopUrlSummary.d.ts +0 -19
  499. package/v1/model/TopUrlSummary.js +0 -59
  500. package/v1/model/UpdateBlackWhiteListRequest.d.ts +0 -14
  501. package/v1/model/UpdateBlackWhiteListRequest.js +0 -42
  502. package/v1/model/UpdateBlackWhiteListResponse.d.ts +0 -10
  503. package/v1/model/UpdateBlackWhiteListResponse.js +0 -39
  504. package/v1/model/UpdateCacheRulesRequest.d.ts +0 -14
  505. package/v1/model/UpdateCacheRulesRequest.js +0 -42
  506. package/v1/model/UpdateCacheRulesResponse.d.ts +0 -9
  507. package/v1/model/UpdateCacheRulesResponse.js +0 -41
  508. package/v1/model/UpdateDomainFullConfigRequest.d.ts +0 -14
  509. package/v1/model/UpdateDomainFullConfigRequest.js +0 -42
  510. package/v1/model/UpdateDomainFullConfigResponse.d.ts +0 -4
  511. package/v1/model/UpdateDomainFullConfigResponse.js +0 -27
  512. package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +0 -10
  513. package/v1/model/UpdateDomainMultiCertificatesRequest.js +0 -27
  514. package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +0 -6
  515. package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +0 -13
  516. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +0 -40
  517. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +0 -131
  518. package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +0 -7
  519. package/v1/model/UpdateDomainMultiCertificatesResponse.js +0 -31
  520. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +0 -40
  521. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +0 -130
  522. package/v1/model/UpdateDomainOriginRequest.d.ts +0 -14
  523. package/v1/model/UpdateDomainOriginRequest.js +0 -42
  524. package/v1/model/UpdateDomainOriginResponse.d.ts +0 -7
  525. package/v1/model/UpdateDomainOriginResponse.js +0 -31
  526. package/v1/model/UpdateFollow302SwitchRequest.d.ts +0 -14
  527. package/v1/model/UpdateFollow302SwitchRequest.js +0 -42
  528. package/v1/model/UpdateFollow302SwitchResponse.d.ts +0 -9
  529. package/v1/model/UpdateFollow302SwitchResponse.js +0 -41
  530. package/v1/model/UpdateHttpsInfoRequest.d.ts +0 -14
  531. package/v1/model/UpdateHttpsInfoRequest.js +0 -42
  532. package/v1/model/UpdateHttpsInfoResponse.d.ts +0 -7
  533. package/v1/model/UpdateHttpsInfoResponse.js +0 -31
  534. package/v1/model/UpdateOriginHostRequest.d.ts +0 -14
  535. package/v1/model/UpdateOriginHostRequest.js +0 -42
  536. package/v1/model/UpdateOriginHostResponse.d.ts +0 -9
  537. package/v1/model/UpdateOriginHostResponse.js +0 -41
  538. package/v1/model/UpdatePrivateBucketAccessBody.d.ts +0 -5
  539. package/v1/model/UpdatePrivateBucketAccessBody.js +0 -13
  540. package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +0 -14
  541. package/v1/model/UpdatePrivateBucketAccessRequest.js +0 -42
  542. package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +0 -6
  543. package/v1/model/UpdatePrivateBucketAccessResponse.js +0 -31
  544. package/v1/model/UpdateRangeSwitchRequest.d.ts +0 -14
  545. package/v1/model/UpdateRangeSwitchRequest.js +0 -42
  546. package/v1/model/UpdateRangeSwitchResponse.d.ts +0 -9
  547. package/v1/model/UpdateRangeSwitchResponse.js +0 -41
  548. package/v1/model/UpdateReferRequest.d.ts +0 -14
  549. package/v1/model/UpdateReferRequest.js +0 -42
  550. package/v1/model/UpdateReferResponse.d.ts +0 -7
  551. package/v1/model/UpdateReferResponse.js +0 -31
  552. package/v1/model/UpdateResponseHeaderRequest.d.ts +0 -14
  553. package/v1/model/UpdateResponseHeaderRequest.js +0 -42
  554. package/v1/model/UpdateResponseHeaderResponse.d.ts +0 -7
  555. package/v1/model/UpdateResponseHeaderResponse.js +0 -31
  556. package/v1/model/UrlAuth.d.ts +0 -17
  557. package/v1/model/UrlAuth.js +0 -50
  558. package/v1/model/UrlAuthGetBody.d.ts +0 -15
  559. package/v1/model/UrlAuthGetBody.js +0 -46
  560. package/v1/model/UrlObject.d.ts +0 -21
  561. package/v1/model/UrlObject.js +0 -63
  562. package/v1/model/Urls.d.ts +0 -27
  563. package/v1/model/Urls.js +0 -81
  564. package/v1/model/UserAgentFilter.d.ts +0 -7
  565. package/v1/model/UserAgentFilter.js +0 -18
  566. package/v1/public-api.js +0 -178
  567. package/v2/CdnClient.d.ts +0 -650
  568. package/v2/CdnRegion.d.ts +0 -6
  569. package/v2/CdnRegion.js +0 -25
  570. package/v2/model/BackSources.d.ts +0 -23
  571. package/v2/model/BackSources.js +0 -81
  572. package/v2/model/BatchCopyConfigs.d.ts +0 -15
  573. package/v2/model/BatchCopyConfigs.js +0 -54
  574. package/v2/model/BatchCopyDRequestBody.d.ts +0 -6
  575. package/v2/model/BatchCopyDRequestBody.js +0 -14
  576. package/v2/model/BatchCopyDomainRequest.d.ts +0 -6
  577. package/v2/model/BatchCopyDomainRequest.js +0 -13
  578. package/v2/model/BatchCopyDomainResponse.d.ts +0 -7
  579. package/v2/model/BatchCopyDomainResponse.js +0 -31
  580. package/v2/model/BatchCopyErrorRsp.d.ts +0 -6
  581. package/v2/model/BatchCopyErrorRsp.js +0 -13
  582. package/v2/model/BatchCopyErrorRspError.d.ts +0 -11
  583. package/v2/model/BatchCopyErrorRspError.js +0 -37
  584. package/v2/model/BatchCopyResultVo.d.ts +0 -19
  585. package/v2/model/BatchCopyResultVo.js +0 -42
  586. package/v2/model/CacheRules.d.ts +0 -31
  587. package/v2/model/CacheRules.js +0 -107
  588. package/v2/model/CacheUrlParameterFilter.d.ts +0 -7
  589. package/v2/model/CacheUrlParameterFilter.js +0 -17
  590. package/v2/model/CommonRemoteAuth.d.ts +0 -12
  591. package/v2/model/CommonRemoteAuth.js +0 -39
  592. package/v2/model/Compress.d.ts +0 -11
  593. package/v2/model/Compress.js +0 -33
  594. package/v2/model/Configs.d.ts +0 -125
  595. package/v2/model/Configs.js +0 -351
  596. package/v2/model/ConfigsGetBody.d.ts +0 -125
  597. package/v2/model/ConfigsGetBody.js +0 -351
  598. package/v2/model/CustomArgs.d.ts +0 -9
  599. package/v2/model/CustomArgs.js +0 -24
  600. package/v2/model/DomainOriginHost.d.ts +0 -15
  601. package/v2/model/DomainOriginHost.js +0 -52
  602. package/v2/model/Domains.d.ts +0 -87
  603. package/v2/model/Domains.js +0 -253
  604. package/v2/model/DomainsWithPort.d.ts +0 -51
  605. package/v2/model/DomainsWithPort.js +0 -137
  606. package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +0 -35
  607. package/v2/model/DownloadRegionCarrierExcelRequest.js +0 -113
  608. package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +0 -4
  609. package/v2/model/DownloadRegionCarrierExcelResponse.js +0 -27
  610. package/v2/model/DownloadStatisticsExcelRequest.d.ts +0 -33
  611. package/v2/model/DownloadStatisticsExcelRequest.js +0 -115
  612. package/v2/model/DownloadStatisticsExcelResponse.d.ts +0 -4
  613. package/v2/model/DownloadStatisticsExcelResponse.js +0 -27
  614. package/v2/model/EpResourceTag.d.ts +0 -7
  615. package/v2/model/EpResourceTag.js +0 -19
  616. package/v2/model/ErrMsg.d.ts +0 -11
  617. package/v2/model/ErrMsg.js +0 -39
  618. package/v2/model/ErrRsp.d.ts +0 -6
  619. package/v2/model/ErrRsp.js +0 -14
  620. package/v2/model/ErrorCodeCache.d.ts +0 -7
  621. package/v2/model/ErrorCodeCache.js +0 -17
  622. package/v2/model/ErrorCodeRedirectRules.d.ts +0 -15
  623. package/v2/model/ErrorCodeRedirectRules.js +0 -54
  624. package/v2/model/FlexibleOrigins.d.ts +0 -18
  625. package/v2/model/FlexibleOrigins.js +0 -59
  626. package/v2/model/ForceRedirectConfig.d.ts +0 -11
  627. package/v2/model/ForceRedirectConfig.js +0 -32
  628. package/v2/model/HttpGetBody.d.ts +0 -39
  629. package/v2/model/HttpGetBody.js +0 -135
  630. package/v2/model/HttpPutBody.d.ts +0 -39
  631. package/v2/model/HttpPutBody.js +0 -135
  632. package/v2/model/HttpResponseHeader.d.ts +0 -9
  633. package/v2/model/HttpResponseHeader.js +0 -23
  634. package/v2/model/IpFilter.d.ts +0 -7
  635. package/v2/model/IpFilter.js +0 -18
  636. package/v2/model/ListDomainsRequest.d.ts +0 -39
  637. package/v2/model/ListDomainsRequest.js +0 -135
  638. package/v2/model/ListDomainsResponse.d.ts +0 -9
  639. package/v2/model/ListDomainsResponse.js +0 -35
  640. package/v2/model/ModifyDomainConfigRequestBody.d.ts +0 -6
  641. package/v2/model/ModifyDomainConfigRequestBody.js +0 -13
  642. package/v2/model/OriginRequestHeader.d.ts +0 -9
  643. package/v2/model/OriginRequestHeader.js +0 -23
  644. package/v2/model/OriginRequestUrlRewrite.d.ts +0 -17
  645. package/v2/model/OriginRequestUrlRewrite.js +0 -58
  646. package/v2/model/RefererConfig.d.ts +0 -11
  647. package/v2/model/RefererConfig.js +0 -32
  648. package/v2/model/RemoteAuthRuleVo.d.ts +0 -62
  649. package/v2/model/RemoteAuthRuleVo.js +0 -219
  650. package/v2/model/RequestLimitRules.d.ts +0 -15
  651. package/v2/model/RequestLimitRules.js +0 -47
  652. package/v2/model/SetChargeModesBody.d.ts +0 -15
  653. package/v2/model/SetChargeModesBody.js +0 -54
  654. package/v2/model/SetChargeModesRequest.d.ts +0 -6
  655. package/v2/model/SetChargeModesRequest.js +0 -13
  656. package/v2/model/SetChargeModesResponse.d.ts +0 -26
  657. package/v2/model/SetChargeModesResponse.js +0 -101
  658. package/v2/model/ShowBandwidthCalcRequest.d.ts +0 -27
  659. package/v2/model/ShowBandwidthCalcRequest.js +0 -97
  660. package/v2/model/ShowBandwidthCalcResponse.d.ts +0 -14
  661. package/v2/model/ShowBandwidthCalcResponse.js +0 -41
  662. package/v2/model/ShowChargeModesRequest.d.ts +0 -13
  663. package/v2/model/ShowChargeModesRequest.js +0 -42
  664. package/v2/model/ShowChargeModesResponse.d.ts +0 -10
  665. package/v2/model/ShowChargeModesResponse.js +0 -31
  666. package/v2/model/ShowDomainDetailByNameRequest.d.ts +0 -11
  667. package/v2/model/ShowDomainDetailByNameRequest.js +0 -38
  668. package/v2/model/ShowDomainDetailByNameResponse.d.ts +0 -7
  669. package/v2/model/ShowDomainDetailByNameResponse.js +0 -31
  670. package/v2/model/ShowDomainFullConfigRequest.d.ts +0 -15
  671. package/v2/model/ShowDomainFullConfigRequest.js +0 -52
  672. package/v2/model/ShowDomainFullConfigResponse.d.ts +0 -7
  673. package/v2/model/ShowDomainFullConfigResponse.js +0 -31
  674. package/v2/model/ShowDomainLocationStatsRequest.d.ts +0 -37
  675. package/v2/model/ShowDomainLocationStatsRequest.js +0 -118
  676. package/v2/model/ShowDomainLocationStatsResponse.d.ts +0 -14
  677. package/v2/model/ShowDomainLocationStatsResponse.js +0 -45
  678. package/v2/model/ShowDomainStatsRequest.d.ts +0 -35
  679. package/v2/model/ShowDomainStatsRequest.js +0 -120
  680. package/v2/model/ShowDomainStatsResponse.d.ts +0 -10
  681. package/v2/model/ShowDomainStatsResponse.js +0 -31
  682. package/v2/model/ShowTopDomainNamesRequest.d.ts +0 -25
  683. package/v2/model/ShowTopDomainNamesRequest.js +0 -86
  684. package/v2/model/ShowTopDomainNamesResponse.d.ts +0 -14
  685. package/v2/model/ShowTopDomainNamesResponse.js +0 -41
  686. package/v2/model/ShowTopUrlRequest.d.ts +0 -27
  687. package/v2/model/ShowTopUrlRequest.js +0 -97
  688. package/v2/model/ShowTopUrlResponse.d.ts +0 -13
  689. package/v2/model/ShowTopUrlResponse.js +0 -55
  690. package/v2/model/Sources.d.ts +0 -32
  691. package/v2/model/Sources.js +0 -92
  692. package/v2/model/SourcesConfig.d.ts +0 -35
  693. package/v2/model/SourcesConfig.js +0 -118
  694. package/v2/model/TopUrlSummary.d.ts +0 -19
  695. package/v2/model/TopUrlSummary.js +0 -59
  696. package/v2/model/UpdateDomainFullConfigRequest.d.ts +0 -14
  697. package/v2/model/UpdateDomainFullConfigRequest.js +0 -42
  698. package/v2/model/UpdateDomainFullConfigResponse.d.ts +0 -4
  699. package/v2/model/UpdateDomainFullConfigResponse.js +0 -27
  700. package/v2/model/UrlAuth.d.ts +0 -33
  701. package/v2/model/UrlAuth.js +0 -109
  702. package/v2/model/UrlAuthGetBody.d.ts +0 -33
  703. package/v2/model/UrlAuthGetBody.js +0 -106
  704. package/v2/model/UserAgentFilter.d.ts +0 -11
  705. package/v2/model/UserAgentFilter.js +0 -32
  706. package/v2/model/VideoSeek.d.ts +0 -19
  707. package/v2/model/VideoSeek.js +0 -66
  708. package/v2/model/WebSocketSeek.d.ts +0 -7
  709. package/v2/model/WebSocketSeek.js +0 -19
  710. package/v2/public-api.js +0 -88
@@ -0,0 +1,304 @@
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
+
22
+
23
+ export class Configs {
24
+ private 'business_type'?: string | undefined;
25
+ private 'service_area'?: string | undefined;
26
+ private 'origin_request_header'?: Array<OriginRequestHeader> | undefined;
27
+ private 'http_response_header'?: Array<HttpResponseHeader> | undefined;
28
+ private 'url_auth'?: UrlAuth | undefined;
29
+ public https?: HttpPutBody;
30
+ public sources?: Array<SourcesConfig>;
31
+ private 'origin_protocol'?: string | undefined;
32
+ private 'origin_follow302_status'?: string | undefined;
33
+ private 'cache_rules'?: Array<CacheRules> | undefined;
34
+ private 'ip_filter'?: IpFilter | undefined;
35
+ public referer?: RefererConfig;
36
+ private 'force_redirect'?: ForceRedirectConfig | undefined;
37
+ public compress?: Compress;
38
+ private 'cache_url_parameter_filter'?: CacheUrlParameterFilter | undefined;
39
+ private 'ipv6_accelerate'?: number | undefined;
40
+ private 'error_code_cache'?: Array<ErrorCodeCache> | undefined;
41
+ private 'origin_range_status'?: string | undefined;
42
+ private 'user_agent_filter'?: UserAgentFilter | undefined;
43
+ private 'origin_request_url_rewrite'?: Array<OriginRequestUrlRewrite> | undefined;
44
+ private 'flexible_origin'?: Array<FlexibleOrigins> | undefined;
45
+ private 'slice_etag_status'?: string | undefined;
46
+ private 'origin_receive_timeout'?: number | undefined;
47
+ private 'remote_auth'?: CommonRemoteAuth | undefined;
48
+ public websocket?: WebSocketSeek;
49
+ private 'video_seek'?: VideoSeek | undefined;
50
+ private 'request_limit_rules'?: Array<RequestLimitRules> | undefined;
51
+ private 'error_code_redirect_rules'?: Array<ErrorCodeRedirectRules> | undefined;
52
+ public constructor() {
53
+ }
54
+ public withBusinessType(businessType: string): Configs {
55
+ this['business_type'] = businessType;
56
+ return this;
57
+ }
58
+ public set businessType(businessType: string | undefined) {
59
+ this['business_type'] = businessType;
60
+ }
61
+ public get businessType() {
62
+ return this['business_type'];
63
+ }
64
+ public withServiceArea(serviceArea: string): Configs {
65
+ this['service_area'] = serviceArea;
66
+ return this;
67
+ }
68
+ public set serviceArea(serviceArea: string | undefined) {
69
+ this['service_area'] = serviceArea;
70
+ }
71
+ public get serviceArea() {
72
+ return this['service_area'];
73
+ }
74
+ public withOriginRequestHeader(originRequestHeader: Array<OriginRequestHeader>): Configs {
75
+ this['origin_request_header'] = originRequestHeader;
76
+ return this;
77
+ }
78
+ public set originRequestHeader(originRequestHeader: Array<OriginRequestHeader> | undefined) {
79
+ this['origin_request_header'] = originRequestHeader;
80
+ }
81
+ public get originRequestHeader() {
82
+ return this['origin_request_header'];
83
+ }
84
+ public withHttpResponseHeader(httpResponseHeader: Array<HttpResponseHeader>): Configs {
85
+ this['http_response_header'] = httpResponseHeader;
86
+ return this;
87
+ }
88
+ public set httpResponseHeader(httpResponseHeader: Array<HttpResponseHeader> | undefined) {
89
+ this['http_response_header'] = httpResponseHeader;
90
+ }
91
+ public get httpResponseHeader() {
92
+ return this['http_response_header'];
93
+ }
94
+ public withUrlAuth(urlAuth: UrlAuth): Configs {
95
+ this['url_auth'] = urlAuth;
96
+ return this;
97
+ }
98
+ public set urlAuth(urlAuth: UrlAuth | undefined) {
99
+ this['url_auth'] = urlAuth;
100
+ }
101
+ public get urlAuth() {
102
+ return this['url_auth'];
103
+ }
104
+ public withHttps(https: HttpPutBody): Configs {
105
+ this['https'] = https;
106
+ return this;
107
+ }
108
+ public withSources(sources: Array<SourcesConfig>): Configs {
109
+ this['sources'] = sources;
110
+ return this;
111
+ }
112
+ public withOriginProtocol(originProtocol: string): Configs {
113
+ this['origin_protocol'] = originProtocol;
114
+ return this;
115
+ }
116
+ public set originProtocol(originProtocol: string | undefined) {
117
+ this['origin_protocol'] = originProtocol;
118
+ }
119
+ public get originProtocol() {
120
+ return this['origin_protocol'];
121
+ }
122
+ public withOriginFollow302Status(originFollow302Status: string): Configs {
123
+ this['origin_follow302_status'] = originFollow302Status;
124
+ return this;
125
+ }
126
+ public set originFollow302Status(originFollow302Status: string | undefined) {
127
+ this['origin_follow302_status'] = originFollow302Status;
128
+ }
129
+ public get originFollow302Status() {
130
+ return this['origin_follow302_status'];
131
+ }
132
+ public withCacheRules(cacheRules: Array<CacheRules>): Configs {
133
+ this['cache_rules'] = cacheRules;
134
+ return this;
135
+ }
136
+ public set cacheRules(cacheRules: Array<CacheRules> | undefined) {
137
+ this['cache_rules'] = cacheRules;
138
+ }
139
+ public get cacheRules() {
140
+ return this['cache_rules'];
141
+ }
142
+ public withIpFilter(ipFilter: IpFilter): Configs {
143
+ this['ip_filter'] = ipFilter;
144
+ return this;
145
+ }
146
+ public set ipFilter(ipFilter: IpFilter | undefined) {
147
+ this['ip_filter'] = ipFilter;
148
+ }
149
+ public get ipFilter() {
150
+ return this['ip_filter'];
151
+ }
152
+ public withReferer(referer: RefererConfig): Configs {
153
+ this['referer'] = referer;
154
+ return this;
155
+ }
156
+ public withForceRedirect(forceRedirect: ForceRedirectConfig): Configs {
157
+ this['force_redirect'] = forceRedirect;
158
+ return this;
159
+ }
160
+ public set forceRedirect(forceRedirect: ForceRedirectConfig | undefined) {
161
+ this['force_redirect'] = forceRedirect;
162
+ }
163
+ public get forceRedirect() {
164
+ return this['force_redirect'];
165
+ }
166
+ public withCompress(compress: Compress): Configs {
167
+ this['compress'] = compress;
168
+ return this;
169
+ }
170
+ public withCacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter): Configs {
171
+ this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
172
+ return this;
173
+ }
174
+ public set cacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter | undefined) {
175
+ this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
176
+ }
177
+ public get cacheUrlParameterFilter() {
178
+ return this['cache_url_parameter_filter'];
179
+ }
180
+ public withIpv6Accelerate(ipv6Accelerate: number): Configs {
181
+ this['ipv6_accelerate'] = ipv6Accelerate;
182
+ return this;
183
+ }
184
+ public set ipv6Accelerate(ipv6Accelerate: number | undefined) {
185
+ this['ipv6_accelerate'] = ipv6Accelerate;
186
+ }
187
+ public get ipv6Accelerate() {
188
+ return this['ipv6_accelerate'];
189
+ }
190
+ public withErrorCodeCache(errorCodeCache: Array<ErrorCodeCache>): Configs {
191
+ this['error_code_cache'] = errorCodeCache;
192
+ return this;
193
+ }
194
+ public set errorCodeCache(errorCodeCache: Array<ErrorCodeCache> | undefined) {
195
+ this['error_code_cache'] = errorCodeCache;
196
+ }
197
+ public get errorCodeCache() {
198
+ return this['error_code_cache'];
199
+ }
200
+ public withOriginRangeStatus(originRangeStatus: string): Configs {
201
+ this['origin_range_status'] = originRangeStatus;
202
+ return this;
203
+ }
204
+ public set originRangeStatus(originRangeStatus: string | undefined) {
205
+ this['origin_range_status'] = originRangeStatus;
206
+ }
207
+ public get originRangeStatus() {
208
+ return this['origin_range_status'];
209
+ }
210
+ public withUserAgentFilter(userAgentFilter: UserAgentFilter): Configs {
211
+ this['user_agent_filter'] = userAgentFilter;
212
+ return this;
213
+ }
214
+ public set userAgentFilter(userAgentFilter: UserAgentFilter | undefined) {
215
+ this['user_agent_filter'] = userAgentFilter;
216
+ }
217
+ public get userAgentFilter() {
218
+ return this['user_agent_filter'];
219
+ }
220
+ public withOriginRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite>): Configs {
221
+ this['origin_request_url_rewrite'] = originRequestUrlRewrite;
222
+ return this;
223
+ }
224
+ public set originRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite> | undefined) {
225
+ this['origin_request_url_rewrite'] = originRequestUrlRewrite;
226
+ }
227
+ public get originRequestUrlRewrite() {
228
+ return this['origin_request_url_rewrite'];
229
+ }
230
+ public withFlexibleOrigin(flexibleOrigin: Array<FlexibleOrigins>): Configs {
231
+ this['flexible_origin'] = flexibleOrigin;
232
+ return this;
233
+ }
234
+ public set flexibleOrigin(flexibleOrigin: Array<FlexibleOrigins> | undefined) {
235
+ this['flexible_origin'] = flexibleOrigin;
236
+ }
237
+ public get flexibleOrigin() {
238
+ return this['flexible_origin'];
239
+ }
240
+ public withSliceEtagStatus(sliceEtagStatus: string): Configs {
241
+ this['slice_etag_status'] = sliceEtagStatus;
242
+ return this;
243
+ }
244
+ public set sliceEtagStatus(sliceEtagStatus: string | undefined) {
245
+ this['slice_etag_status'] = sliceEtagStatus;
246
+ }
247
+ public get sliceEtagStatus() {
248
+ return this['slice_etag_status'];
249
+ }
250
+ public withOriginReceiveTimeout(originReceiveTimeout: number): Configs {
251
+ this['origin_receive_timeout'] = originReceiveTimeout;
252
+ return this;
253
+ }
254
+ public set originReceiveTimeout(originReceiveTimeout: number | undefined) {
255
+ this['origin_receive_timeout'] = originReceiveTimeout;
256
+ }
257
+ public get originReceiveTimeout() {
258
+ return this['origin_receive_timeout'];
259
+ }
260
+ public withRemoteAuth(remoteAuth: CommonRemoteAuth): Configs {
261
+ this['remote_auth'] = remoteAuth;
262
+ return this;
263
+ }
264
+ public set remoteAuth(remoteAuth: CommonRemoteAuth | undefined) {
265
+ this['remote_auth'] = remoteAuth;
266
+ }
267
+ public get remoteAuth() {
268
+ return this['remote_auth'];
269
+ }
270
+ public withWebsocket(websocket: WebSocketSeek): Configs {
271
+ this['websocket'] = websocket;
272
+ return this;
273
+ }
274
+ public withVideoSeek(videoSeek: VideoSeek): Configs {
275
+ this['video_seek'] = videoSeek;
276
+ return this;
277
+ }
278
+ public set videoSeek(videoSeek: VideoSeek | undefined) {
279
+ this['video_seek'] = videoSeek;
280
+ }
281
+ public get videoSeek() {
282
+ return this['video_seek'];
283
+ }
284
+ public withRequestLimitRules(requestLimitRules: Array<RequestLimitRules>): Configs {
285
+ this['request_limit_rules'] = requestLimitRules;
286
+ return this;
287
+ }
288
+ public set requestLimitRules(requestLimitRules: Array<RequestLimitRules> | undefined) {
289
+ this['request_limit_rules'] = requestLimitRules;
290
+ }
291
+ public get requestLimitRules() {
292
+ return this['request_limit_rules'];
293
+ }
294
+ public withErrorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules>): Configs {
295
+ this['error_code_redirect_rules'] = errorCodeRedirectRules;
296
+ return this;
297
+ }
298
+ public set errorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules> | undefined) {
299
+ this['error_code_redirect_rules'] = errorCodeRedirectRules;
300
+ }
301
+ public get errorCodeRedirectRules() {
302
+ return this['error_code_redirect_rules'];
303
+ }
304
+ }
@@ -0,0 +1,304 @@
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
+
22
+
23
+ export class ConfigsGetBody {
24
+ private 'business_type'?: string | undefined;
25
+ private 'service_area'?: string | undefined;
26
+ private 'origin_request_header'?: Array<OriginRequestHeader> | undefined;
27
+ private 'http_response_header'?: Array<HttpResponseHeader> | undefined;
28
+ private 'url_auth'?: UrlAuthGetBody | undefined;
29
+ public https?: HttpGetBody;
30
+ public sources?: Array<SourcesConfig>;
31
+ private 'origin_protocol'?: string | undefined;
32
+ private 'origin_follow302_status'?: string | undefined;
33
+ private 'cache_rules'?: Array<CacheRules> | undefined;
34
+ private 'ip_filter'?: IpFilter | undefined;
35
+ public referer?: RefererConfig;
36
+ private 'force_redirect'?: ForceRedirectConfig | undefined;
37
+ public compress?: Compress;
38
+ private 'cache_url_parameter_filter'?: CacheUrlParameterFilter | undefined;
39
+ private 'ipv6_accelerate'?: number | undefined;
40
+ private 'error_code_cache'?: Array<ErrorCodeCache> | undefined;
41
+ private 'origin_range_status'?: string | undefined;
42
+ private 'user_agent_filter'?: UserAgentFilter | undefined;
43
+ private 'origin_request_url_rewrite'?: Array<OriginRequestUrlRewrite> | undefined;
44
+ private 'flexible_origin'?: Array<FlexibleOrigins> | undefined;
45
+ private 'slice_etag_status'?: string | undefined;
46
+ private 'origin_receive_timeout'?: number | undefined;
47
+ private 'remote_auth'?: CommonRemoteAuth | undefined;
48
+ public websocket?: WebSocketSeek;
49
+ private 'video_seek'?: VideoSeek | undefined;
50
+ private 'request_limit_rules'?: Array<RequestLimitRules> | undefined;
51
+ private 'error_code_redirect_rules'?: Array<ErrorCodeRedirectRules> | undefined;
52
+ public constructor() {
53
+ }
54
+ public withBusinessType(businessType: string): ConfigsGetBody {
55
+ this['business_type'] = businessType;
56
+ return this;
57
+ }
58
+ public set businessType(businessType: string | undefined) {
59
+ this['business_type'] = businessType;
60
+ }
61
+ public get businessType() {
62
+ return this['business_type'];
63
+ }
64
+ public withServiceArea(serviceArea: string): ConfigsGetBody {
65
+ this['service_area'] = serviceArea;
66
+ return this;
67
+ }
68
+ public set serviceArea(serviceArea: string | undefined) {
69
+ this['service_area'] = serviceArea;
70
+ }
71
+ public get serviceArea() {
72
+ return this['service_area'];
73
+ }
74
+ public withOriginRequestHeader(originRequestHeader: Array<OriginRequestHeader>): ConfigsGetBody {
75
+ this['origin_request_header'] = originRequestHeader;
76
+ return this;
77
+ }
78
+ public set originRequestHeader(originRequestHeader: Array<OriginRequestHeader> | undefined) {
79
+ this['origin_request_header'] = originRequestHeader;
80
+ }
81
+ public get originRequestHeader() {
82
+ return this['origin_request_header'];
83
+ }
84
+ public withHttpResponseHeader(httpResponseHeader: Array<HttpResponseHeader>): ConfigsGetBody {
85
+ this['http_response_header'] = httpResponseHeader;
86
+ return this;
87
+ }
88
+ public set httpResponseHeader(httpResponseHeader: Array<HttpResponseHeader> | undefined) {
89
+ this['http_response_header'] = httpResponseHeader;
90
+ }
91
+ public get httpResponseHeader() {
92
+ return this['http_response_header'];
93
+ }
94
+ public withUrlAuth(urlAuth: UrlAuthGetBody): ConfigsGetBody {
95
+ this['url_auth'] = urlAuth;
96
+ return this;
97
+ }
98
+ public set urlAuth(urlAuth: UrlAuthGetBody | undefined) {
99
+ this['url_auth'] = urlAuth;
100
+ }
101
+ public get urlAuth() {
102
+ return this['url_auth'];
103
+ }
104
+ public withHttps(https: HttpGetBody): ConfigsGetBody {
105
+ this['https'] = https;
106
+ return this;
107
+ }
108
+ public withSources(sources: Array<SourcesConfig>): ConfigsGetBody {
109
+ this['sources'] = sources;
110
+ return this;
111
+ }
112
+ public withOriginProtocol(originProtocol: string): ConfigsGetBody {
113
+ this['origin_protocol'] = originProtocol;
114
+ return this;
115
+ }
116
+ public set originProtocol(originProtocol: string | undefined) {
117
+ this['origin_protocol'] = originProtocol;
118
+ }
119
+ public get originProtocol() {
120
+ return this['origin_protocol'];
121
+ }
122
+ public withOriginFollow302Status(originFollow302Status: string): ConfigsGetBody {
123
+ this['origin_follow302_status'] = originFollow302Status;
124
+ return this;
125
+ }
126
+ public set originFollow302Status(originFollow302Status: string | undefined) {
127
+ this['origin_follow302_status'] = originFollow302Status;
128
+ }
129
+ public get originFollow302Status() {
130
+ return this['origin_follow302_status'];
131
+ }
132
+ public withCacheRules(cacheRules: Array<CacheRules>): ConfigsGetBody {
133
+ this['cache_rules'] = cacheRules;
134
+ return this;
135
+ }
136
+ public set cacheRules(cacheRules: Array<CacheRules> | undefined) {
137
+ this['cache_rules'] = cacheRules;
138
+ }
139
+ public get cacheRules() {
140
+ return this['cache_rules'];
141
+ }
142
+ public withIpFilter(ipFilter: IpFilter): ConfigsGetBody {
143
+ this['ip_filter'] = ipFilter;
144
+ return this;
145
+ }
146
+ public set ipFilter(ipFilter: IpFilter | undefined) {
147
+ this['ip_filter'] = ipFilter;
148
+ }
149
+ public get ipFilter() {
150
+ return this['ip_filter'];
151
+ }
152
+ public withReferer(referer: RefererConfig): ConfigsGetBody {
153
+ this['referer'] = referer;
154
+ return this;
155
+ }
156
+ public withForceRedirect(forceRedirect: ForceRedirectConfig): ConfigsGetBody {
157
+ this['force_redirect'] = forceRedirect;
158
+ return this;
159
+ }
160
+ public set forceRedirect(forceRedirect: ForceRedirectConfig | undefined) {
161
+ this['force_redirect'] = forceRedirect;
162
+ }
163
+ public get forceRedirect() {
164
+ return this['force_redirect'];
165
+ }
166
+ public withCompress(compress: Compress): ConfigsGetBody {
167
+ this['compress'] = compress;
168
+ return this;
169
+ }
170
+ public withCacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter): ConfigsGetBody {
171
+ this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
172
+ return this;
173
+ }
174
+ public set cacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter | undefined) {
175
+ this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
176
+ }
177
+ public get cacheUrlParameterFilter() {
178
+ return this['cache_url_parameter_filter'];
179
+ }
180
+ public withIpv6Accelerate(ipv6Accelerate: number): ConfigsGetBody {
181
+ this['ipv6_accelerate'] = ipv6Accelerate;
182
+ return this;
183
+ }
184
+ public set ipv6Accelerate(ipv6Accelerate: number | undefined) {
185
+ this['ipv6_accelerate'] = ipv6Accelerate;
186
+ }
187
+ public get ipv6Accelerate() {
188
+ return this['ipv6_accelerate'];
189
+ }
190
+ public withErrorCodeCache(errorCodeCache: Array<ErrorCodeCache>): ConfigsGetBody {
191
+ this['error_code_cache'] = errorCodeCache;
192
+ return this;
193
+ }
194
+ public set errorCodeCache(errorCodeCache: Array<ErrorCodeCache> | undefined) {
195
+ this['error_code_cache'] = errorCodeCache;
196
+ }
197
+ public get errorCodeCache() {
198
+ return this['error_code_cache'];
199
+ }
200
+ public withOriginRangeStatus(originRangeStatus: string): ConfigsGetBody {
201
+ this['origin_range_status'] = originRangeStatus;
202
+ return this;
203
+ }
204
+ public set originRangeStatus(originRangeStatus: string | undefined) {
205
+ this['origin_range_status'] = originRangeStatus;
206
+ }
207
+ public get originRangeStatus() {
208
+ return this['origin_range_status'];
209
+ }
210
+ public withUserAgentFilter(userAgentFilter: UserAgentFilter): ConfigsGetBody {
211
+ this['user_agent_filter'] = userAgentFilter;
212
+ return this;
213
+ }
214
+ public set userAgentFilter(userAgentFilter: UserAgentFilter | undefined) {
215
+ this['user_agent_filter'] = userAgentFilter;
216
+ }
217
+ public get userAgentFilter() {
218
+ return this['user_agent_filter'];
219
+ }
220
+ public withOriginRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite>): ConfigsGetBody {
221
+ this['origin_request_url_rewrite'] = originRequestUrlRewrite;
222
+ return this;
223
+ }
224
+ public set originRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite> | undefined) {
225
+ this['origin_request_url_rewrite'] = originRequestUrlRewrite;
226
+ }
227
+ public get originRequestUrlRewrite() {
228
+ return this['origin_request_url_rewrite'];
229
+ }
230
+ public withFlexibleOrigin(flexibleOrigin: Array<FlexibleOrigins>): ConfigsGetBody {
231
+ this['flexible_origin'] = flexibleOrigin;
232
+ return this;
233
+ }
234
+ public set flexibleOrigin(flexibleOrigin: Array<FlexibleOrigins> | undefined) {
235
+ this['flexible_origin'] = flexibleOrigin;
236
+ }
237
+ public get flexibleOrigin() {
238
+ return this['flexible_origin'];
239
+ }
240
+ public withSliceEtagStatus(sliceEtagStatus: string): ConfigsGetBody {
241
+ this['slice_etag_status'] = sliceEtagStatus;
242
+ return this;
243
+ }
244
+ public set sliceEtagStatus(sliceEtagStatus: string | undefined) {
245
+ this['slice_etag_status'] = sliceEtagStatus;
246
+ }
247
+ public get sliceEtagStatus() {
248
+ return this['slice_etag_status'];
249
+ }
250
+ public withOriginReceiveTimeout(originReceiveTimeout: number): ConfigsGetBody {
251
+ this['origin_receive_timeout'] = originReceiveTimeout;
252
+ return this;
253
+ }
254
+ public set originReceiveTimeout(originReceiveTimeout: number | undefined) {
255
+ this['origin_receive_timeout'] = originReceiveTimeout;
256
+ }
257
+ public get originReceiveTimeout() {
258
+ return this['origin_receive_timeout'];
259
+ }
260
+ public withRemoteAuth(remoteAuth: CommonRemoteAuth): ConfigsGetBody {
261
+ this['remote_auth'] = remoteAuth;
262
+ return this;
263
+ }
264
+ public set remoteAuth(remoteAuth: CommonRemoteAuth | undefined) {
265
+ this['remote_auth'] = remoteAuth;
266
+ }
267
+ public get remoteAuth() {
268
+ return this['remote_auth'];
269
+ }
270
+ public withWebsocket(websocket: WebSocketSeek): ConfigsGetBody {
271
+ this['websocket'] = websocket;
272
+ return this;
273
+ }
274
+ public withVideoSeek(videoSeek: VideoSeek): ConfigsGetBody {
275
+ this['video_seek'] = videoSeek;
276
+ return this;
277
+ }
278
+ public set videoSeek(videoSeek: VideoSeek | undefined) {
279
+ this['video_seek'] = videoSeek;
280
+ }
281
+ public get videoSeek() {
282
+ return this['video_seek'];
283
+ }
284
+ public withRequestLimitRules(requestLimitRules: Array<RequestLimitRules>): ConfigsGetBody {
285
+ this['request_limit_rules'] = requestLimitRules;
286
+ return this;
287
+ }
288
+ public set requestLimitRules(requestLimitRules: Array<RequestLimitRules> | undefined) {
289
+ this['request_limit_rules'] = requestLimitRules;
290
+ }
291
+ public get requestLimitRules() {
292
+ return this['request_limit_rules'];
293
+ }
294
+ public withErrorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules>): ConfigsGetBody {
295
+ this['error_code_redirect_rules'] = errorCodeRedirectRules;
296
+ return this;
297
+ }
298
+ public set errorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules> | undefined) {
299
+ this['error_code_redirect_rules'] = errorCodeRedirectRules;
300
+ }
301
+ public get errorCodeRedirectRules() {
302
+ return this['error_code_redirect_rules'];
303
+ }
304
+ }
@@ -0,0 +1,24 @@
1
+
2
+
3
+ export class CustomArgs {
4
+ public type: string;
5
+ public key: string;
6
+ public value: string;
7
+ public constructor(type?: any, key?: any, value?: any) {
8
+ this['type'] = type;
9
+ this['key'] = key;
10
+ this['value'] = value;
11
+ }
12
+ public withType(type: string): CustomArgs {
13
+ this['type'] = type;
14
+ return this;
15
+ }
16
+ public withKey(key: string): CustomArgs {
17
+ this['key'] = key;
18
+ return this;
19
+ }
20
+ public withValue(value: string): CustomArgs {
21
+ this['value'] = value;
22
+ return this;
23
+ }
24
+ }
@@ -0,0 +1,40 @@
1
+
2
+
3
+ export class DomainOriginHost {
4
+ private 'domain_id'?: string | undefined;
5
+ private 'origin_host_type': string | undefined;
6
+ private 'customize_domain'?: string | undefined;
7
+ public constructor(originHostType?: any) {
8
+ this['origin_host_type'] = originHostType;
9
+ }
10
+ public withDomainId(domainId: string): DomainOriginHost {
11
+ this['domain_id'] = domainId;
12
+ return this;
13
+ }
14
+ public set domainId(domainId: string | undefined) {
15
+ this['domain_id'] = domainId;
16
+ }
17
+ public get domainId() {
18
+ return this['domain_id'];
19
+ }
20
+ public withOriginHostType(originHostType: string): DomainOriginHost {
21
+ this['origin_host_type'] = originHostType;
22
+ return this;
23
+ }
24
+ public set originHostType(originHostType: string | undefined) {
25
+ this['origin_host_type'] = originHostType;
26
+ }
27
+ public get originHostType() {
28
+ return this['origin_host_type'];
29
+ }
30
+ public withCustomizeDomain(customizeDomain: string): DomainOriginHost {
31
+ this['customize_domain'] = customizeDomain;
32
+ return this;
33
+ }
34
+ public set customizeDomain(customizeDomain: string | undefined) {
35
+ this['customize_domain'] = customizeDomain;
36
+ }
37
+ public get customizeDomain() {
38
+ return this['customize_domain'];
39
+ }
40
+ }