@huaweicloud/huaweicloud-sdk-cdn 3.1.46 → 3.1.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1186) hide show
  1. package/huaweicloud-sdk-cdn.d.ts +4 -0
  2. package/huaweicloud-sdk-cdn.d.ts.map +1 -0
  3. package/huaweicloud-sdk-cdn.js +33 -0
  4. package/huaweicloud-sdk-cdn.js.map +1 -0
  5. package/package.json +8 -4
  6. package/v1/CdnClient.d.ts +1359 -0
  7. package/v1/CdnClient.d.ts.map +1 -0
  8. package/v1/CdnClient.js +3107 -0
  9. package/v1/CdnClient.js.map +1 -0
  10. package/v1/CdnRegion.d.ts +8 -0
  11. package/v1/CdnRegion.d.ts.map +1 -0
  12. package/v1/CdnRegion.js +24 -0
  13. package/v1/CdnRegion.js.map +1 -0
  14. package/v1/model/BatchDeleteTagsRequest.d.ts +7 -0
  15. package/v1/model/BatchDeleteTagsRequest.d.ts.map +1 -0
  16. package/v1/model/BatchDeleteTagsRequest.js +13 -0
  17. package/v1/model/BatchDeleteTagsRequest.js.map +1 -0
  18. package/v1/model/BatchDeleteTagsResponse.d.ts +5 -0
  19. package/v1/model/BatchDeleteTagsResponse.d.ts.map +1 -0
  20. package/v1/model/BatchDeleteTagsResponse.js +11 -0
  21. package/v1/model/BatchDeleteTagsResponse.js.map +1 -0
  22. package/v1/model/BlackWhiteListBody.d.ts +10 -0
  23. package/v1/model/BlackWhiteListBody.d.ts.map +1 -0
  24. package/v1/model/BlackWhiteListBody.js +24 -0
  25. package/v1/model/BlackWhiteListBody.js.map +1 -0
  26. package/v1/model/CacheConfig.d.ts +18 -0
  27. package/v1/model/CacheConfig.d.ts.map +1 -0
  28. package/v1/model/CacheConfig.js +37 -0
  29. package/v1/model/CacheConfig.js.map +1 -0
  30. package/v1/model/CacheConfigRequest.d.ts +18 -0
  31. package/v1/model/CacheConfigRequest.d.ts.map +1 -0
  32. package/v1/model/CacheConfigRequest.js +37 -0
  33. package/v1/model/CacheConfigRequest.js.map +1 -0
  34. package/v1/model/CacheConfigRequestBody.d.ts +9 -0
  35. package/v1/model/CacheConfigRequestBody.d.ts.map +1 -0
  36. package/v1/model/CacheConfigRequestBody.js +20 -0
  37. package/v1/model/CacheConfigRequestBody.js.map +1 -0
  38. package/v1/model/CacheRules.d.ts +32 -0
  39. package/v1/model/CacheRules.d.ts.map +1 -0
  40. package/v1/model/CacheRules.js +83 -0
  41. package/v1/model/CacheRules.js.map +1 -0
  42. package/v1/model/CacheUrlParameterFilter.d.ts +8 -0
  43. package/v1/model/CacheUrlParameterFilter.d.ts.map +1 -0
  44. package/v1/model/CacheUrlParameterFilter.js +17 -0
  45. package/v1/model/CacheUrlParameterFilter.js.map +1 -0
  46. package/v1/model/CdnIps.d.ts +14 -0
  47. package/v1/model/CdnIps.d.ts.map +1 -0
  48. package/v1/model/CdnIps.js +29 -0
  49. package/v1/model/CdnIps.js.map +1 -0
  50. package/v1/model/Compress.d.ts +8 -0
  51. package/v1/model/Compress.d.ts.map +1 -0
  52. package/v1/model/Compress.js +18 -0
  53. package/v1/model/Compress.js.map +1 -0
  54. package/v1/model/CompressRequest.d.ts +8 -0
  55. package/v1/model/CompressRequest.d.ts.map +1 -0
  56. package/v1/model/CompressRequest.js +19 -0
  57. package/v1/model/CompressRequest.js.map +1 -0
  58. package/v1/model/CompressResponse.d.ts +13 -0
  59. package/v1/model/CompressResponse.d.ts.map +1 -0
  60. package/v1/model/CompressResponse.js +30 -0
  61. package/v1/model/CompressResponse.js.map +1 -0
  62. package/v1/model/CompressRules.d.ts +12 -0
  63. package/v1/model/CompressRules.d.ts.map +1 -0
  64. package/v1/model/CompressRules.js +29 -0
  65. package/v1/model/CompressRules.js.map +1 -0
  66. package/v1/model/Configs.d.ts +87 -0
  67. package/v1/model/Configs.d.ts.map +1 -0
  68. package/v1/model/Configs.js +175 -0
  69. package/v1/model/Configs.js.map +1 -0
  70. package/v1/model/ConfigsGetBody.d.ts +87 -0
  71. package/v1/model/ConfigsGetBody.d.ts.map +1 -0
  72. package/v1/model/ConfigsGetBody.js +175 -0
  73. package/v1/model/ConfigsGetBody.js.map +1 -0
  74. package/v1/model/CreateDomainRequest.d.ts +7 -0
  75. package/v1/model/CreateDomainRequest.d.ts.map +1 -0
  76. package/v1/model/CreateDomainRequest.js +13 -0
  77. package/v1/model/CreateDomainRequest.js.map +1 -0
  78. package/v1/model/CreateDomainRequestBody.d.ts +7 -0
  79. package/v1/model/CreateDomainRequestBody.d.ts.map +1 -0
  80. package/v1/model/CreateDomainRequestBody.js +14 -0
  81. package/v1/model/CreateDomainRequestBody.js.map +1 -0
  82. package/v1/model/CreateDomainResponse.d.ts +8 -0
  83. package/v1/model/CreateDomainResponse.d.ts.map +1 -0
  84. package/v1/model/CreateDomainResponse.js +15 -0
  85. package/v1/model/CreateDomainResponse.js.map +1 -0
  86. package/v1/model/CreateDomainResponseBodyContent.d.ts +68 -0
  87. package/v1/model/CreateDomainResponseBodyContent.d.ts.map +1 -0
  88. package/v1/model/CreateDomainResponseBodyContent.js +159 -0
  89. package/v1/model/CreateDomainResponseBodyContent.js.map +1 -0
  90. package/v1/model/CreatePreheatingTasksRequest.d.ts +11 -0
  91. package/v1/model/CreatePreheatingTasksRequest.d.ts.map +1 -0
  92. package/v1/model/CreatePreheatingTasksRequest.js +23 -0
  93. package/v1/model/CreatePreheatingTasksRequest.js.map +1 -0
  94. package/v1/model/CreatePreheatingTasksResponse.d.ts +9 -0
  95. package/v1/model/CreatePreheatingTasksResponse.d.ts.map +1 -0
  96. package/v1/model/CreatePreheatingTasksResponse.js +21 -0
  97. package/v1/model/CreatePreheatingTasksResponse.js.map +1 -0
  98. package/v1/model/CreateRefreshTasksRequest.d.ts +11 -0
  99. package/v1/model/CreateRefreshTasksRequest.d.ts.map +1 -0
  100. package/v1/model/CreateRefreshTasksRequest.js +23 -0
  101. package/v1/model/CreateRefreshTasksRequest.js.map +1 -0
  102. package/v1/model/CreateRefreshTasksResponse.d.ts +9 -0
  103. package/v1/model/CreateRefreshTasksResponse.d.ts.map +1 -0
  104. package/v1/model/CreateRefreshTasksResponse.js +21 -0
  105. package/v1/model/CreateRefreshTasksResponse.js.map +1 -0
  106. package/v1/model/CreateTagsRequest.d.ts +7 -0
  107. package/v1/model/CreateTagsRequest.d.ts.map +1 -0
  108. package/v1/model/CreateTagsRequest.js +13 -0
  109. package/v1/model/CreateTagsRequest.js.map +1 -0
  110. package/v1/model/CreateTagsRequestBody.d.ts +10 -0
  111. package/v1/model/CreateTagsRequestBody.d.ts.map +1 -0
  112. package/v1/model/CreateTagsRequestBody.js +25 -0
  113. package/v1/model/CreateTagsRequestBody.js.map +1 -0
  114. package/v1/model/CreateTagsResponse.d.ts +5 -0
  115. package/v1/model/CreateTagsResponse.d.ts.map +1 -0
  116. package/v1/model/CreateTagsResponse.js +11 -0
  117. package/v1/model/CreateTagsResponse.js.map +1 -0
  118. package/v1/model/DeleteDomainRequest.d.ts +12 -0
  119. package/v1/model/DeleteDomainRequest.d.ts.map +1 -0
  120. package/v1/model/DeleteDomainRequest.js +30 -0
  121. package/v1/model/DeleteDomainRequest.js.map +1 -0
  122. package/v1/model/DeleteDomainResponse.d.ts +8 -0
  123. package/v1/model/DeleteDomainResponse.d.ts.map +1 -0
  124. package/v1/model/DeleteDomainResponse.js +15 -0
  125. package/v1/model/DeleteDomainResponse.js.map +1 -0
  126. package/v1/model/DeleteTagsRequestBody.d.ts +10 -0
  127. package/v1/model/DeleteTagsRequestBody.d.ts.map +1 -0
  128. package/v1/model/DeleteTagsRequestBody.js +25 -0
  129. package/v1/model/DeleteTagsRequestBody.js.map +1 -0
  130. package/v1/model/DisableDomainRequest.d.ts +12 -0
  131. package/v1/model/DisableDomainRequest.d.ts.map +1 -0
  132. package/v1/model/DisableDomainRequest.js +30 -0
  133. package/v1/model/DisableDomainRequest.js.map +1 -0
  134. package/v1/model/DisableDomainResponse.d.ts +8 -0
  135. package/v1/model/DisableDomainResponse.d.ts.map +1 -0
  136. package/v1/model/DisableDomainResponse.js +15 -0
  137. package/v1/model/DisableDomainResponse.js.map +1 -0
  138. package/v1/model/DomainBody.d.ts +42 -0
  139. package/v1/model/DomainBody.d.ts.map +1 -0
  140. package/v1/model/DomainBody.js +78 -0
  141. package/v1/model/DomainBody.js.map +1 -0
  142. package/v1/model/DomainItemDetail.d.ts +22 -0
  143. package/v1/model/DomainItemDetail.d.ts.map +1 -0
  144. package/v1/model/DomainItemDetail.js +43 -0
  145. package/v1/model/DomainItemDetail.js.map +1 -0
  146. package/v1/model/DomainItemLocationDetails.d.ts +19 -0
  147. package/v1/model/DomainItemLocationDetails.d.ts.map +1 -0
  148. package/v1/model/DomainItemLocationDetails.js +43 -0
  149. package/v1/model/DomainItemLocationDetails.js.map +1 -0
  150. package/v1/model/DomainOriginHost.d.ts +16 -0
  151. package/v1/model/DomainOriginHost.d.ts.map +1 -0
  152. package/v1/model/DomainOriginHost.js +40 -0
  153. package/v1/model/DomainOriginHost.js.map +1 -0
  154. package/v1/model/DomainRegion.d.ts +18 -0
  155. package/v1/model/DomainRegion.d.ts.map +1 -0
  156. package/v1/model/DomainRegion.js +29 -0
  157. package/v1/model/DomainRegion.js.map +1 -0
  158. package/v1/model/Domains.d.ts +92 -0
  159. package/v1/model/Domains.d.ts.map +1 -0
  160. package/v1/model/Domains.js +203 -0
  161. package/v1/model/Domains.js.map +1 -0
  162. package/v1/model/DomainsWithPort.d.ts +89 -0
  163. package/v1/model/DomainsWithPort.d.ts.map +1 -0
  164. package/v1/model/DomainsWithPort.js +199 -0
  165. package/v1/model/DomainsWithPort.js.map +1 -0
  166. package/v1/model/EnableDomainRequest.d.ts +12 -0
  167. package/v1/model/EnableDomainRequest.d.ts.map +1 -0
  168. package/v1/model/EnableDomainRequest.js +30 -0
  169. package/v1/model/EnableDomainRequest.js.map +1 -0
  170. package/v1/model/EnableDomainResponse.d.ts +8 -0
  171. package/v1/model/EnableDomainResponse.d.ts.map +1 -0
  172. package/v1/model/EnableDomainResponse.js +15 -0
  173. package/v1/model/EnableDomainResponse.js.map +1 -0
  174. package/v1/model/EpResourceTag.d.ts +8 -0
  175. package/v1/model/EpResourceTag.d.ts.map +1 -0
  176. package/v1/model/EpResourceTag.js +19 -0
  177. package/v1/model/EpResourceTag.js.map +1 -0
  178. package/v1/model/ErrorCodeCache.d.ts +8 -0
  179. package/v1/model/ErrorCodeCache.d.ts.map +1 -0
  180. package/v1/model/ErrorCodeCache.js +17 -0
  181. package/v1/model/ErrorCodeCache.js.map +1 -0
  182. package/v1/model/ErrorCodeRedirectRules.d.ts +16 -0
  183. package/v1/model/ErrorCodeRedirectRules.d.ts.map +1 -0
  184. package/v1/model/ErrorCodeRedirectRules.js +42 -0
  185. package/v1/model/ErrorCodeRedirectRules.js.map +1 -0
  186. package/v1/model/Follow302StatusBody.d.ts +20 -0
  187. package/v1/model/Follow302StatusBody.d.ts.map +1 -0
  188. package/v1/model/Follow302StatusBody.js +38 -0
  189. package/v1/model/Follow302StatusBody.js.map +1 -0
  190. package/v1/model/Follow302StatusRequest.d.ts +16 -0
  191. package/v1/model/Follow302StatusRequest.d.ts.map +1 -0
  192. package/v1/model/Follow302StatusRequest.js +29 -0
  193. package/v1/model/Follow302StatusRequest.js.map +1 -0
  194. package/v1/model/ForceRedirect.d.ts +12 -0
  195. package/v1/model/ForceRedirect.d.ts.map +1 -0
  196. package/v1/model/ForceRedirect.js +30 -0
  197. package/v1/model/ForceRedirect.js.map +1 -0
  198. package/v1/model/ForceRedirectConfig.d.ts +12 -0
  199. package/v1/model/ForceRedirectConfig.d.ts.map +1 -0
  200. package/v1/model/ForceRedirectConfig.js +28 -0
  201. package/v1/model/ForceRedirectConfig.js.map +1 -0
  202. package/v1/model/HeaderBody.d.ts +7 -0
  203. package/v1/model/HeaderBody.d.ts.map +1 -0
  204. package/v1/model/HeaderBody.js +13 -0
  205. package/v1/model/HeaderBody.js.map +1 -0
  206. package/v1/model/HeaderMap.d.ts +28 -0
  207. package/v1/model/HeaderMap.d.ts.map +1 -0
  208. package/v1/model/HeaderMap.js +69 -0
  209. package/v1/model/HeaderMap.js.map +1 -0
  210. package/v1/model/HttpGetBody.d.ts +28 -0
  211. package/v1/model/HttpGetBody.d.ts.map +1 -0
  212. package/v1/model/HttpGetBody.js +69 -0
  213. package/v1/model/HttpGetBody.js.map +1 -0
  214. package/v1/model/HttpInfoRequest.d.ts +7 -0
  215. package/v1/model/HttpInfoRequest.d.ts.map +1 -0
  216. package/v1/model/HttpInfoRequest.js +14 -0
  217. package/v1/model/HttpInfoRequest.js.map +1 -0
  218. package/v1/model/HttpInfoRequestBody.d.ts +33 -0
  219. package/v1/model/HttpInfoRequestBody.d.ts.map +1 -0
  220. package/v1/model/HttpInfoRequestBody.js +79 -0
  221. package/v1/model/HttpInfoRequestBody.js.map +1 -0
  222. package/v1/model/HttpInfoResponseBody.d.ts +37 -0
  223. package/v1/model/HttpInfoResponseBody.d.ts.map +1 -0
  224. package/v1/model/HttpInfoResponseBody.js +87 -0
  225. package/v1/model/HttpInfoResponseBody.js.map +1 -0
  226. package/v1/model/HttpPutBody.d.ts +32 -0
  227. package/v1/model/HttpPutBody.d.ts.map +1 -0
  228. package/v1/model/HttpPutBody.js +79 -0
  229. package/v1/model/HttpPutBody.js.map +1 -0
  230. package/v1/model/HttpResponseHeader.d.ts +10 -0
  231. package/v1/model/HttpResponseHeader.d.ts.map +1 -0
  232. package/v1/model/HttpResponseHeader.js +23 -0
  233. package/v1/model/HttpResponseHeader.js.map +1 -0
  234. package/v1/model/HttpsDetail.d.ts +45 -0
  235. package/v1/model/HttpsDetail.d.ts.map +1 -0
  236. package/v1/model/HttpsDetail.js +107 -0
  237. package/v1/model/HttpsDetail.js.map +1 -0
  238. package/v1/model/IpFilter.d.ts +8 -0
  239. package/v1/model/IpFilter.d.ts.map +1 -0
  240. package/v1/model/IpFilter.js +18 -0
  241. package/v1/model/IpFilter.js.map +1 -0
  242. package/v1/model/ListDomainsRequest.d.ts +72 -0
  243. package/v1/model/ListDomainsRequest.d.ts.map +1 -0
  244. package/v1/model/ListDomainsRequest.js +134 -0
  245. package/v1/model/ListDomainsRequest.js.map +1 -0
  246. package/v1/model/ListDomainsResponse.d.ts +10 -0
  247. package/v1/model/ListDomainsResponse.d.ts.map +1 -0
  248. package/v1/model/ListDomainsResponse.js +19 -0
  249. package/v1/model/ListDomainsResponse.js.map +1 -0
  250. package/v1/model/LogObject.d.ts +22 -0
  251. package/v1/model/LogObject.d.ts.map +1 -0
  252. package/v1/model/LogObject.js +51 -0
  253. package/v1/model/LogObject.js.map +1 -0
  254. package/v1/model/ModelMap.d.ts +8 -0
  255. package/v1/model/ModelMap.d.ts.map +1 -0
  256. package/v1/model/ModelMap.js +18 -0
  257. package/v1/model/ModelMap.js.map +1 -0
  258. package/v1/model/ModifyDomainConfigRequestBody.d.ts +7 -0
  259. package/v1/model/ModifyDomainConfigRequestBody.d.ts.map +1 -0
  260. package/v1/model/ModifyDomainConfigRequestBody.js +13 -0
  261. package/v1/model/ModifyDomainConfigRequestBody.js.map +1 -0
  262. package/v1/model/OriginHostBody.d.ts +20 -0
  263. package/v1/model/OriginHostBody.d.ts.map +1 -0
  264. package/v1/model/OriginHostBody.js +39 -0
  265. package/v1/model/OriginHostBody.js.map +1 -0
  266. package/v1/model/OriginHostRequest.d.ts +9 -0
  267. package/v1/model/OriginHostRequest.d.ts.map +1 -0
  268. package/v1/model/OriginHostRequest.js +20 -0
  269. package/v1/model/OriginHostRequest.js.map +1 -0
  270. package/v1/model/OriginRangeBody.d.ts +20 -0
  271. package/v1/model/OriginRangeBody.d.ts.map +1 -0
  272. package/v1/model/OriginRangeBody.js +38 -0
  273. package/v1/model/OriginRangeBody.js.map +1 -0
  274. package/v1/model/OriginRequest.d.ts +7 -0
  275. package/v1/model/OriginRequest.d.ts.map +1 -0
  276. package/v1/model/OriginRequest.js +14 -0
  277. package/v1/model/OriginRequest.js.map +1 -0
  278. package/v1/model/OriginRequestHeader.d.ts +10 -0
  279. package/v1/model/OriginRequestHeader.d.ts.map +1 -0
  280. package/v1/model/OriginRequestHeader.js +23 -0
  281. package/v1/model/OriginRequestHeader.js.map +1 -0
  282. package/v1/model/OriginRequestUrlRewrite.d.ts +18 -0
  283. package/v1/model/OriginRequestUrlRewrite.d.ts.map +1 -0
  284. package/v1/model/OriginRequestUrlRewrite.js +46 -0
  285. package/v1/model/OriginRequestUrlRewrite.js.map +1 -0
  286. package/v1/model/PreheatingTaskRequest.d.ts +9 -0
  287. package/v1/model/PreheatingTaskRequest.d.ts.map +1 -0
  288. package/v1/model/PreheatingTaskRequest.js +20 -0
  289. package/v1/model/PreheatingTaskRequest.js.map +1 -0
  290. package/v1/model/PreheatingTaskRequestBody.d.ts +6 -0
  291. package/v1/model/PreheatingTaskRequestBody.d.ts.map +1 -0
  292. package/v1/model/PreheatingTaskRequestBody.js +14 -0
  293. package/v1/model/PreheatingTaskRequestBody.js.map +1 -0
  294. package/v1/model/Quotas.d.ts +16 -0
  295. package/v1/model/Quotas.d.ts.map +1 -0
  296. package/v1/model/Quotas.js +37 -0
  297. package/v1/model/Quotas.js.map +1 -0
  298. package/v1/model/RangeStatusRequest.d.ts +16 -0
  299. package/v1/model/RangeStatusRequest.d.ts.map +1 -0
  300. package/v1/model/RangeStatusRequest.js +29 -0
  301. package/v1/model/RangeStatusRequest.js.map +1 -0
  302. package/v1/model/Referer.d.ts +16 -0
  303. package/v1/model/Referer.d.ts.map +1 -0
  304. package/v1/model/Referer.js +40 -0
  305. package/v1/model/Referer.js.map +1 -0
  306. package/v1/model/RefererBody.d.ts +7 -0
  307. package/v1/model/RefererBody.d.ts.map +1 -0
  308. package/v1/model/RefererBody.js +14 -0
  309. package/v1/model/RefererBody.js.map +1 -0
  310. package/v1/model/RefererConfig.d.ts +12 -0
  311. package/v1/model/RefererConfig.d.ts.map +1 -0
  312. package/v1/model/RefererConfig.js +28 -0
  313. package/v1/model/RefererConfig.js.map +1 -0
  314. package/v1/model/RefererRsp.d.ts +16 -0
  315. package/v1/model/RefererRsp.d.ts.map +1 -0
  316. package/v1/model/RefererRsp.js +39 -0
  317. package/v1/model/RefererRsp.js.map +1 -0
  318. package/v1/model/RefreshTaskRequest.d.ts +9 -0
  319. package/v1/model/RefreshTaskRequest.d.ts.map +1 -0
  320. package/v1/model/RefreshTaskRequest.js +20 -0
  321. package/v1/model/RefreshTaskRequest.js.map +1 -0
  322. package/v1/model/RefreshTaskRequestBody.d.ts +26 -0
  323. package/v1/model/RefreshTaskRequestBody.d.ts.map +1 -0
  324. package/v1/model/RefreshTaskRequestBody.js +40 -0
  325. package/v1/model/RefreshTaskRequestBody.js.map +1 -0
  326. package/v1/model/ResourceBody.d.ts +7 -0
  327. package/v1/model/ResourceBody.d.ts.map +1 -0
  328. package/v1/model/ResourceBody.js +14 -0
  329. package/v1/model/ResourceBody.js.map +1 -0
  330. package/v1/model/Rules.d.ts +18 -0
  331. package/v1/model/Rules.d.ts.map +1 -0
  332. package/v1/model/Rules.js +45 -0
  333. package/v1/model/Rules.js.map +1 -0
  334. package/v1/model/ShowBlackWhiteListRequest.d.ts +12 -0
  335. package/v1/model/ShowBlackWhiteListRequest.d.ts.map +1 -0
  336. package/v1/model/ShowBlackWhiteListRequest.js +30 -0
  337. package/v1/model/ShowBlackWhiteListRequest.js.map +1 -0
  338. package/v1/model/ShowBlackWhiteListResponse.d.ts +11 -0
  339. package/v1/model/ShowBlackWhiteListResponse.d.ts.map +1 -0
  340. package/v1/model/ShowBlackWhiteListResponse.js +25 -0
  341. package/v1/model/ShowBlackWhiteListResponse.js.map +1 -0
  342. package/v1/model/ShowCacheRulesRequest.d.ts +12 -0
  343. package/v1/model/ShowCacheRulesRequest.d.ts.map +1 -0
  344. package/v1/model/ShowCacheRulesRequest.js +30 -0
  345. package/v1/model/ShowCacheRulesRequest.js.map +1 -0
  346. package/v1/model/ShowCacheRulesResponse.d.ts +10 -0
  347. package/v1/model/ShowCacheRulesResponse.d.ts.map +1 -0
  348. package/v1/model/ShowCacheRulesResponse.js +21 -0
  349. package/v1/model/ShowCacheRulesResponse.js.map +1 -0
  350. package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +24 -0
  351. package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts.map +1 -0
  352. package/v1/model/ShowCertificatesHttpsInfoRequest.js +59 -0
  353. package/v1/model/ShowCertificatesHttpsInfoRequest.js.map +1 -0
  354. package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +10 -0
  355. package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts.map +1 -0
  356. package/v1/model/ShowCertificatesHttpsInfoResponse.js +19 -0
  357. package/v1/model/ShowCertificatesHttpsInfoResponse.js.map +1 -0
  358. package/v1/model/ShowDomainDetailRequest.d.ts +12 -0
  359. package/v1/model/ShowDomainDetailRequest.d.ts.map +1 -0
  360. package/v1/model/ShowDomainDetailRequest.js +30 -0
  361. package/v1/model/ShowDomainDetailRequest.js.map +1 -0
  362. package/v1/model/ShowDomainDetailResponse.d.ts +8 -0
  363. package/v1/model/ShowDomainDetailResponse.d.ts.map +1 -0
  364. package/v1/model/ShowDomainDetailResponse.js +15 -0
  365. package/v1/model/ShowDomainDetailResponse.js.map +1 -0
  366. package/v1/model/ShowDomainFullConfigRequest.d.ts +12 -0
  367. package/v1/model/ShowDomainFullConfigRequest.d.ts.map +1 -0
  368. package/v1/model/ShowDomainFullConfigRequest.js +30 -0
  369. package/v1/model/ShowDomainFullConfigRequest.js.map +1 -0
  370. package/v1/model/ShowDomainFullConfigResponse.d.ts +8 -0
  371. package/v1/model/ShowDomainFullConfigResponse.d.ts.map +1 -0
  372. package/v1/model/ShowDomainFullConfigResponse.js +15 -0
  373. package/v1/model/ShowDomainFullConfigResponse.js.map +1 -0
  374. package/v1/model/ShowDomainItemDetailsRequest.d.ts +28 -0
  375. package/v1/model/ShowDomainItemDetailsRequest.d.ts.map +1 -0
  376. package/v1/model/ShowDomainItemDetailsRequest.js +73 -0
  377. package/v1/model/ShowDomainItemDetailsRequest.js.map +1 -0
  378. package/v1/model/ShowDomainItemDetailsResponse.d.ts +10 -0
  379. package/v1/model/ShowDomainItemDetailsResponse.d.ts.map +1 -0
  380. package/v1/model/ShowDomainItemDetailsResponse.js +21 -0
  381. package/v1/model/ShowDomainItemDetailsResponse.js.map +1 -0
  382. package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +28 -0
  383. package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts.map +1 -0
  384. package/v1/model/ShowDomainItemLocationDetailsRequest.js +73 -0
  385. package/v1/model/ShowDomainItemLocationDetailsRequest.js.map +1 -0
  386. package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +10 -0
  387. package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts.map +1 -0
  388. package/v1/model/ShowDomainItemLocationDetailsResponse.js +21 -0
  389. package/v1/model/ShowDomainItemLocationDetailsResponse.js.map +1 -0
  390. package/v1/model/ShowDomainLocationStatsRequest.d.ts +38 -0
  391. package/v1/model/ShowDomainLocationStatsRequest.d.ts.map +1 -0
  392. package/v1/model/ShowDomainLocationStatsRequest.js +94 -0
  393. package/v1/model/ShowDomainLocationStatsRequest.js.map +1 -0
  394. package/v1/model/ShowDomainLocationStatsResponse.d.ts +15 -0
  395. package/v1/model/ShowDomainLocationStatsResponse.d.ts.map +1 -0
  396. package/v1/model/ShowDomainLocationStatsResponse.js +25 -0
  397. package/v1/model/ShowDomainLocationStatsResponse.js.map +1 -0
  398. package/v1/model/ShowDomainStatsRequest.d.ts +36 -0
  399. package/v1/model/ShowDomainStatsRequest.d.ts.map +1 -0
  400. package/v1/model/ShowDomainStatsRequest.js +92 -0
  401. package/v1/model/ShowDomainStatsRequest.js.map +1 -0
  402. package/v1/model/ShowDomainStatsResponse.d.ts +11 -0
  403. package/v1/model/ShowDomainStatsResponse.d.ts.map +1 -0
  404. package/v1/model/ShowDomainStatsResponse.js +15 -0
  405. package/v1/model/ShowDomainStatsResponse.js.map +1 -0
  406. package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +28 -0
  407. package/v1/model/ShowHistoryTaskDetailsRequest.d.ts.map +1 -0
  408. package/v1/model/ShowHistoryTaskDetailsRequest.js +68 -0
  409. package/v1/model/ShowHistoryTaskDetailsRequest.js.map +1 -0
  410. package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +32 -0
  411. package/v1/model/ShowHistoryTaskDetailsResponse.d.ts.map +1 -0
  412. package/v1/model/ShowHistoryTaskDetailsResponse.js +69 -0
  413. package/v1/model/ShowHistoryTaskDetailsResponse.js.map +1 -0
  414. package/v1/model/ShowHistoryTasksRequest.d.ts +54 -0
  415. package/v1/model/ShowHistoryTasksRequest.d.ts.map +1 -0
  416. package/v1/model/ShowHistoryTasksRequest.js +111 -0
  417. package/v1/model/ShowHistoryTasksRequest.js.map +1 -0
  418. package/v1/model/ShowHistoryTasksResponse.d.ts +10 -0
  419. package/v1/model/ShowHistoryTasksResponse.d.ts.map +1 -0
  420. package/v1/model/ShowHistoryTasksResponse.js +19 -0
  421. package/v1/model/ShowHistoryTasksResponse.js.map +1 -0
  422. package/v1/model/ShowHttpInfoRequest.d.ts +12 -0
  423. package/v1/model/ShowHttpInfoRequest.d.ts.map +1 -0
  424. package/v1/model/ShowHttpInfoRequest.js +30 -0
  425. package/v1/model/ShowHttpInfoRequest.js.map +1 -0
  426. package/v1/model/ShowHttpInfoResponse.d.ts +8 -0
  427. package/v1/model/ShowHttpInfoResponse.d.ts.map +1 -0
  428. package/v1/model/ShowHttpInfoResponse.js +15 -0
  429. package/v1/model/ShowHttpInfoResponse.js.map +1 -0
  430. package/v1/model/ShowIpInfoRequest.d.ts +10 -0
  431. package/v1/model/ShowIpInfoRequest.d.ts.map +1 -0
  432. package/v1/model/ShowIpInfoRequest.js +24 -0
  433. package/v1/model/ShowIpInfoRequest.js.map +1 -0
  434. package/v1/model/ShowIpInfoResponse.d.ts +10 -0
  435. package/v1/model/ShowIpInfoResponse.d.ts.map +1 -0
  436. package/v1/model/ShowIpInfoResponse.js +21 -0
  437. package/v1/model/ShowIpInfoResponse.js.map +1 -0
  438. package/v1/model/ShowLogsRequest.d.ts +28 -0
  439. package/v1/model/ShowLogsRequest.d.ts.map +1 -0
  440. package/v1/model/ShowLogsRequest.js +70 -0
  441. package/v1/model/ShowLogsRequest.js.map +1 -0
  442. package/v1/model/ShowLogsResponse.d.ts +10 -0
  443. package/v1/model/ShowLogsResponse.d.ts.map +1 -0
  444. package/v1/model/ShowLogsResponse.js +19 -0
  445. package/v1/model/ShowLogsResponse.js.map +1 -0
  446. package/v1/model/ShowOriginHostRequest.d.ts +12 -0
  447. package/v1/model/ShowOriginHostRequest.d.ts.map +1 -0
  448. package/v1/model/ShowOriginHostRequest.js +30 -0
  449. package/v1/model/ShowOriginHostRequest.js.map +1 -0
  450. package/v1/model/ShowOriginHostResponse.d.ts +10 -0
  451. package/v1/model/ShowOriginHostResponse.d.ts.map +1 -0
  452. package/v1/model/ShowOriginHostResponse.js +21 -0
  453. package/v1/model/ShowOriginHostResponse.js.map +1 -0
  454. package/v1/model/ShowQuotaRequest.d.ts +4 -0
  455. package/v1/model/ShowQuotaRequest.d.ts.map +1 -0
  456. package/v1/model/ShowQuotaRequest.js +9 -0
  457. package/v1/model/ShowQuotaRequest.js.map +1 -0
  458. package/v1/model/ShowQuotaResponse.d.ts +8 -0
  459. package/v1/model/ShowQuotaResponse.d.ts.map +1 -0
  460. package/v1/model/ShowQuotaResponse.js +15 -0
  461. package/v1/model/ShowQuotaResponse.js.map +1 -0
  462. package/v1/model/ShowReferRequest.d.ts +12 -0
  463. package/v1/model/ShowReferRequest.d.ts.map +1 -0
  464. package/v1/model/ShowReferRequest.js +30 -0
  465. package/v1/model/ShowReferRequest.js.map +1 -0
  466. package/v1/model/ShowReferResponse.d.ts +8 -0
  467. package/v1/model/ShowReferResponse.d.ts.map +1 -0
  468. package/v1/model/ShowReferResponse.js +15 -0
  469. package/v1/model/ShowReferResponse.js.map +1 -0
  470. package/v1/model/ShowResponseHeaderRequest.d.ts +12 -0
  471. package/v1/model/ShowResponseHeaderRequest.d.ts.map +1 -0
  472. package/v1/model/ShowResponseHeaderRequest.js +30 -0
  473. package/v1/model/ShowResponseHeaderRequest.js.map +1 -0
  474. package/v1/model/ShowResponseHeaderResponse.d.ts +8 -0
  475. package/v1/model/ShowResponseHeaderResponse.d.ts.map +1 -0
  476. package/v1/model/ShowResponseHeaderResponse.js +15 -0
  477. package/v1/model/ShowResponseHeaderResponse.js.map +1 -0
  478. package/v1/model/ShowTagsRequest.d.ts +8 -0
  479. package/v1/model/ShowTagsRequest.d.ts.map +1 -0
  480. package/v1/model/ShowTagsRequest.js +20 -0
  481. package/v1/model/ShowTagsRequest.js.map +1 -0
  482. package/v1/model/ShowTagsResponse.d.ts +7 -0
  483. package/v1/model/ShowTagsResponse.d.ts.map +1 -0
  484. package/v1/model/ShowTagsResponse.js +15 -0
  485. package/v1/model/ShowTagsResponse.js.map +1 -0
  486. package/v1/model/ShowTopUrlRequest.d.ts +44 -0
  487. package/v1/model/ShowTopUrlRequest.d.ts.map +1 -0
  488. package/v1/model/ShowTopUrlRequest.js +91 -0
  489. package/v1/model/ShowTopUrlRequest.js.map +1 -0
  490. package/v1/model/ShowTopUrlResponse.d.ts +14 -0
  491. package/v1/model/ShowTopUrlResponse.d.ts.map +1 -0
  492. package/v1/model/ShowTopUrlResponse.js +31 -0
  493. package/v1/model/ShowTopUrlResponse.js.map +1 -0
  494. package/v1/model/ShowUrlTaskInfoRequest.d.ts +28 -0
  495. package/v1/model/ShowUrlTaskInfoRequest.d.ts.map +1 -0
  496. package/v1/model/ShowUrlTaskInfoRequest.js +65 -0
  497. package/v1/model/ShowUrlTaskInfoRequest.js.map +1 -0
  498. package/v1/model/ShowUrlTaskInfoResponse.d.ts +16 -0
  499. package/v1/model/ShowUrlTaskInfoResponse.d.ts.map +1 -0
  500. package/v1/model/ShowUrlTaskInfoResponse.js +33 -0
  501. package/v1/model/ShowUrlTaskInfoResponse.js.map +1 -0
  502. package/v1/model/SourceWithPort.d.ts +41 -0
  503. package/v1/model/SourceWithPort.d.ts.map +1 -0
  504. package/v1/model/SourceWithPort.js +92 -0
  505. package/v1/model/SourceWithPort.js.map +1 -0
  506. package/v1/model/Sources.d.ts +33 -0
  507. package/v1/model/Sources.d.ts.map +1 -0
  508. package/v1/model/Sources.js +72 -0
  509. package/v1/model/Sources.js.map +1 -0
  510. package/v1/model/SourcesConfig.d.ts +30 -0
  511. package/v1/model/SourcesConfig.d.ts.map +1 -0
  512. package/v1/model/SourcesConfig.js +76 -0
  513. package/v1/model/SourcesConfig.js.map +1 -0
  514. package/v1/model/TasksObject.d.ts +44 -0
  515. package/v1/model/TasksObject.d.ts.map +1 -0
  516. package/v1/model/TasksObject.js +81 -0
  517. package/v1/model/TasksObject.js.map +1 -0
  518. package/v1/model/TopUrlSummary.d.ts +20 -0
  519. package/v1/model/TopUrlSummary.d.ts.map +1 -0
  520. package/v1/model/TopUrlSummary.js +47 -0
  521. package/v1/model/TopUrlSummary.js.map +1 -0
  522. package/v1/model/UpdateBlackWhiteListRequest.d.ts +15 -0
  523. package/v1/model/UpdateBlackWhiteListRequest.d.ts.map +1 -0
  524. package/v1/model/UpdateBlackWhiteListRequest.js +34 -0
  525. package/v1/model/UpdateBlackWhiteListRequest.js.map +1 -0
  526. package/v1/model/UpdateBlackWhiteListResponse.d.ts +11 -0
  527. package/v1/model/UpdateBlackWhiteListResponse.d.ts.map +1 -0
  528. package/v1/model/UpdateBlackWhiteListResponse.js +23 -0
  529. package/v1/model/UpdateBlackWhiteListResponse.js.map +1 -0
  530. package/v1/model/UpdateCacheRulesRequest.d.ts +15 -0
  531. package/v1/model/UpdateCacheRulesRequest.d.ts.map +1 -0
  532. package/v1/model/UpdateCacheRulesRequest.js +34 -0
  533. package/v1/model/UpdateCacheRulesRequest.js.map +1 -0
  534. package/v1/model/UpdateCacheRulesResponse.d.ts +10 -0
  535. package/v1/model/UpdateCacheRulesResponse.d.ts.map +1 -0
  536. package/v1/model/UpdateCacheRulesResponse.js +21 -0
  537. package/v1/model/UpdateCacheRulesResponse.js.map +1 -0
  538. package/v1/model/UpdateDomainFullConfigRequest.d.ts +15 -0
  539. package/v1/model/UpdateDomainFullConfigRequest.d.ts.map +1 -0
  540. package/v1/model/UpdateDomainFullConfigRequest.js +34 -0
  541. package/v1/model/UpdateDomainFullConfigRequest.js.map +1 -0
  542. package/v1/model/UpdateDomainFullConfigResponse.d.ts +5 -0
  543. package/v1/model/UpdateDomainFullConfigResponse.d.ts.map +1 -0
  544. package/v1/model/UpdateDomainFullConfigResponse.js +11 -0
  545. package/v1/model/UpdateDomainFullConfigResponse.js.map +1 -0
  546. package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +11 -0
  547. package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts.map +1 -0
  548. package/v1/model/UpdateDomainMultiCertificatesRequest.js +23 -0
  549. package/v1/model/UpdateDomainMultiCertificatesRequest.js.map +1 -0
  550. package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +7 -0
  551. package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts.map +1 -0
  552. package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +13 -0
  553. package/v1/model/UpdateDomainMultiCertificatesRequestBody.js.map +1 -0
  554. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +41 -0
  555. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts.map +1 -0
  556. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +99 -0
  557. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js.map +1 -0
  558. package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +8 -0
  559. package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts.map +1 -0
  560. package/v1/model/UpdateDomainMultiCertificatesResponse.js +15 -0
  561. package/v1/model/UpdateDomainMultiCertificatesResponse.js.map +1 -0
  562. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +41 -0
  563. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts.map +1 -0
  564. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +98 -0
  565. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js.map +1 -0
  566. package/v1/model/UpdateDomainOriginRequest.d.ts +15 -0
  567. package/v1/model/UpdateDomainOriginRequest.d.ts.map +1 -0
  568. package/v1/model/UpdateDomainOriginRequest.js +34 -0
  569. package/v1/model/UpdateDomainOriginRequest.js.map +1 -0
  570. package/v1/model/UpdateDomainOriginResponse.d.ts +8 -0
  571. package/v1/model/UpdateDomainOriginResponse.d.ts.map +1 -0
  572. package/v1/model/UpdateDomainOriginResponse.js +15 -0
  573. package/v1/model/UpdateDomainOriginResponse.js.map +1 -0
  574. package/v1/model/UpdateFollow302SwitchRequest.d.ts +15 -0
  575. package/v1/model/UpdateFollow302SwitchRequest.d.ts.map +1 -0
  576. package/v1/model/UpdateFollow302SwitchRequest.js +34 -0
  577. package/v1/model/UpdateFollow302SwitchRequest.js.map +1 -0
  578. package/v1/model/UpdateFollow302SwitchResponse.d.ts +10 -0
  579. package/v1/model/UpdateFollow302SwitchResponse.d.ts.map +1 -0
  580. package/v1/model/UpdateFollow302SwitchResponse.js +21 -0
  581. package/v1/model/UpdateFollow302SwitchResponse.js.map +1 -0
  582. package/v1/model/UpdateHttpsInfoRequest.d.ts +15 -0
  583. package/v1/model/UpdateHttpsInfoRequest.d.ts.map +1 -0
  584. package/v1/model/UpdateHttpsInfoRequest.js +34 -0
  585. package/v1/model/UpdateHttpsInfoRequest.js.map +1 -0
  586. package/v1/model/UpdateHttpsInfoResponse.d.ts +8 -0
  587. package/v1/model/UpdateHttpsInfoResponse.d.ts.map +1 -0
  588. package/v1/model/UpdateHttpsInfoResponse.js +15 -0
  589. package/v1/model/UpdateHttpsInfoResponse.js.map +1 -0
  590. package/v1/model/UpdateOriginHostRequest.d.ts +15 -0
  591. package/v1/model/UpdateOriginHostRequest.d.ts.map +1 -0
  592. package/v1/model/UpdateOriginHostRequest.js +34 -0
  593. package/v1/model/UpdateOriginHostRequest.js.map +1 -0
  594. package/v1/model/UpdateOriginHostResponse.d.ts +10 -0
  595. package/v1/model/UpdateOriginHostResponse.d.ts.map +1 -0
  596. package/v1/model/UpdateOriginHostResponse.js +21 -0
  597. package/v1/model/UpdateOriginHostResponse.js.map +1 -0
  598. package/v1/model/UpdatePrivateBucketAccessBody.d.ts +6 -0
  599. package/v1/model/UpdatePrivateBucketAccessBody.d.ts.map +1 -0
  600. package/v1/model/UpdatePrivateBucketAccessBody.js +13 -0
  601. package/v1/model/UpdatePrivateBucketAccessBody.js.map +1 -0
  602. package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +15 -0
  603. package/v1/model/UpdatePrivateBucketAccessRequest.d.ts.map +1 -0
  604. package/v1/model/UpdatePrivateBucketAccessRequest.js +34 -0
  605. package/v1/model/UpdatePrivateBucketAccessRequest.js.map +1 -0
  606. package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +7 -0
  607. package/v1/model/UpdatePrivateBucketAccessResponse.d.ts.map +1 -0
  608. package/v1/model/UpdatePrivateBucketAccessResponse.js +15 -0
  609. package/v1/model/UpdatePrivateBucketAccessResponse.js.map +1 -0
  610. package/v1/model/UpdateRangeSwitchRequest.d.ts +15 -0
  611. package/v1/model/UpdateRangeSwitchRequest.d.ts.map +1 -0
  612. package/v1/model/UpdateRangeSwitchRequest.js +34 -0
  613. package/v1/model/UpdateRangeSwitchRequest.js.map +1 -0
  614. package/v1/model/UpdateRangeSwitchResponse.d.ts +10 -0
  615. package/v1/model/UpdateRangeSwitchResponse.d.ts.map +1 -0
  616. package/v1/model/UpdateRangeSwitchResponse.js +21 -0
  617. package/v1/model/UpdateRangeSwitchResponse.js.map +1 -0
  618. package/v1/model/UpdateReferRequest.d.ts +15 -0
  619. package/v1/model/UpdateReferRequest.d.ts.map +1 -0
  620. package/v1/model/UpdateReferRequest.js +34 -0
  621. package/v1/model/UpdateReferRequest.js.map +1 -0
  622. package/v1/model/UpdateReferResponse.d.ts +8 -0
  623. package/v1/model/UpdateReferResponse.d.ts.map +1 -0
  624. package/v1/model/UpdateReferResponse.js +15 -0
  625. package/v1/model/UpdateReferResponse.js.map +1 -0
  626. package/v1/model/UpdateResponseHeaderRequest.d.ts +15 -0
  627. package/v1/model/UpdateResponseHeaderRequest.d.ts.map +1 -0
  628. package/v1/model/UpdateResponseHeaderRequest.js +34 -0
  629. package/v1/model/UpdateResponseHeaderRequest.js.map +1 -0
  630. package/v1/model/UpdateResponseHeaderResponse.d.ts +8 -0
  631. package/v1/model/UpdateResponseHeaderResponse.d.ts.map +1 -0
  632. package/v1/model/UpdateResponseHeaderResponse.js +15 -0
  633. package/v1/model/UpdateResponseHeaderResponse.js.map +1 -0
  634. package/v1/model/UrlAuth.d.ts +18 -0
  635. package/v1/model/UrlAuth.d.ts.map +1 -0
  636. package/v1/model/UrlAuth.js +42 -0
  637. package/v1/model/UrlAuth.js.map +1 -0
  638. package/v1/model/UrlAuthGetBody.d.ts +16 -0
  639. package/v1/model/UrlAuthGetBody.d.ts.map +1 -0
  640. package/v1/model/UrlAuthGetBody.js +38 -0
  641. package/v1/model/UrlAuthGetBody.js.map +1 -0
  642. package/v1/model/UrlObject.d.ts +22 -0
  643. package/v1/model/UrlObject.d.ts.map +1 -0
  644. package/v1/model/UrlObject.js +51 -0
  645. package/v1/model/UrlObject.js.map +1 -0
  646. package/v1/model/Urls.d.ts +28 -0
  647. package/v1/model/Urls.d.ts.map +1 -0
  648. package/v1/model/Urls.js +65 -0
  649. package/v1/model/Urls.js.map +1 -0
  650. package/v1/model/UserAgentFilter.d.ts +8 -0
  651. package/v1/model/UserAgentFilter.d.ts.map +1 -0
  652. package/v1/model/UserAgentFilter.js +18 -0
  653. package/v1/model/UserAgentFilter.js.map +1 -0
  654. package/v1/public-api.d.ts +163 -0
  655. package/v1/public-api.d.ts.map +1 -0
  656. package/v1/public-api.js +179 -0
  657. package/v1/public-api.js.map +1 -0
  658. package/v2/CdnClient.d.ts +651 -0
  659. package/v2/CdnClient.d.ts.map +1 -0
  660. package/v2/CdnClient.js +1466 -0
  661. package/v2/CdnClient.js.map +1 -0
  662. package/v2/CdnRegion.d.ts +8 -0
  663. package/v2/CdnRegion.d.ts.map +1 -0
  664. package/v2/CdnRegion.js +24 -0
  665. package/v2/CdnRegion.js.map +1 -0
  666. package/v2/model/BackSources.d.ts +24 -0
  667. package/v2/model/BackSources.d.ts.map +1 -0
  668. package/v2/model/BackSources.js +61 -0
  669. package/v2/model/BackSources.js.map +1 -0
  670. package/v2/model/BatchCopyConfigs.d.ts +16 -0
  671. package/v2/model/BatchCopyConfigs.d.ts.map +1 -0
  672. package/v2/model/BatchCopyConfigs.js +42 -0
  673. package/v2/model/BatchCopyConfigs.js.map +1 -0
  674. package/v2/model/BatchCopyDRequestBody.d.ts +7 -0
  675. package/v2/model/BatchCopyDRequestBody.d.ts.map +1 -0
  676. package/v2/model/BatchCopyDRequestBody.js +14 -0
  677. package/v2/model/BatchCopyDRequestBody.js.map +1 -0
  678. package/v2/model/BatchCopyDomainRequest.d.ts +7 -0
  679. package/v2/model/BatchCopyDomainRequest.d.ts.map +1 -0
  680. package/v2/model/BatchCopyDomainRequest.js +13 -0
  681. package/v2/model/BatchCopyDomainRequest.js.map +1 -0
  682. package/v2/model/BatchCopyDomainResponse.d.ts +8 -0
  683. package/v2/model/BatchCopyDomainResponse.d.ts.map +1 -0
  684. package/v2/model/BatchCopyDomainResponse.js +15 -0
  685. package/v2/model/BatchCopyDomainResponse.js.map +1 -0
  686. package/v2/model/BatchCopyErrorRsp.d.ts +7 -0
  687. package/v2/model/BatchCopyErrorRsp.d.ts.map +1 -0
  688. package/v2/model/BatchCopyErrorRsp.js +13 -0
  689. package/v2/model/BatchCopyErrorRsp.js.map +1 -0
  690. package/v2/model/BatchCopyErrorRspError.d.ts +12 -0
  691. package/v2/model/BatchCopyErrorRspError.d.ts.map +1 -0
  692. package/v2/model/BatchCopyErrorRspError.js +29 -0
  693. package/v2/model/BatchCopyErrorRspError.js.map +1 -0
  694. package/v2/model/BatchCopyResultVo.d.ts +20 -0
  695. package/v2/model/BatchCopyResultVo.d.ts.map +1 -0
  696. package/v2/model/BatchCopyResultVo.js +38 -0
  697. package/v2/model/BatchCopyResultVo.js.map +1 -0
  698. package/v2/model/CacheRules.d.ts +32 -0
  699. package/v2/model/CacheRules.d.ts.map +1 -0
  700. package/v2/model/CacheRules.js +83 -0
  701. package/v2/model/CacheRules.js.map +1 -0
  702. package/v2/model/CacheUrlParameterFilter.d.ts +8 -0
  703. package/v2/model/CacheUrlParameterFilter.d.ts.map +1 -0
  704. package/v2/model/CacheUrlParameterFilter.js +17 -0
  705. package/v2/model/CacheUrlParameterFilter.js.map +1 -0
  706. package/v2/model/CommonRemoteAuth.d.ts +13 -0
  707. package/v2/model/CommonRemoteAuth.d.ts.map +1 -0
  708. package/v2/model/CommonRemoteAuth.js +31 -0
  709. package/v2/model/CommonRemoteAuth.js.map +1 -0
  710. package/v2/model/Compress.d.ts +12 -0
  711. package/v2/model/Compress.d.ts.map +1 -0
  712. package/v2/model/Compress.js +29 -0
  713. package/v2/model/Compress.js.map +1 -0
  714. package/v2/model/Configs.d.ts +126 -0
  715. package/v2/model/Configs.d.ts.map +1 -0
  716. package/v2/model/Configs.js +259 -0
  717. package/v2/model/Configs.js.map +1 -0
  718. package/v2/model/ConfigsGetBody.d.ts +126 -0
  719. package/v2/model/ConfigsGetBody.d.ts.map +1 -0
  720. package/v2/model/ConfigsGetBody.js +259 -0
  721. package/v2/model/ConfigsGetBody.js.map +1 -0
  722. package/v2/model/CustomArgs.d.ts +10 -0
  723. package/v2/model/CustomArgs.d.ts.map +1 -0
  724. package/v2/model/CustomArgs.js +24 -0
  725. package/v2/model/CustomArgs.js.map +1 -0
  726. package/v2/model/DomainOriginHost.d.ts +16 -0
  727. package/v2/model/DomainOriginHost.d.ts.map +1 -0
  728. package/v2/model/DomainOriginHost.js +40 -0
  729. package/v2/model/DomainOriginHost.js.map +1 -0
  730. package/v2/model/Domains.d.ts +88 -0
  731. package/v2/model/Domains.d.ts.map +1 -0
  732. package/v2/model/Domains.js +193 -0
  733. package/v2/model/Domains.js.map +1 -0
  734. package/v2/model/DomainsWithPort.d.ts +52 -0
  735. package/v2/model/DomainsWithPort.d.ts.map +1 -0
  736. package/v2/model/DomainsWithPort.js +109 -0
  737. package/v2/model/DomainsWithPort.js.map +1 -0
  738. package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +36 -0
  739. package/v2/model/DownloadRegionCarrierExcelRequest.d.ts.map +1 -0
  740. package/v2/model/DownloadRegionCarrierExcelRequest.js +89 -0
  741. package/v2/model/DownloadRegionCarrierExcelRequest.js.map +1 -0
  742. package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +5 -0
  743. package/v2/model/DownloadRegionCarrierExcelResponse.d.ts.map +1 -0
  744. package/v2/model/DownloadRegionCarrierExcelResponse.js +11 -0
  745. package/v2/model/DownloadRegionCarrierExcelResponse.js.map +1 -0
  746. package/v2/model/DownloadStatisticsExcelRequest.d.ts +34 -0
  747. package/v2/model/DownloadStatisticsExcelRequest.d.ts.map +1 -0
  748. package/v2/model/DownloadStatisticsExcelRequest.js +87 -0
  749. package/v2/model/DownloadStatisticsExcelRequest.js.map +1 -0
  750. package/v2/model/DownloadStatisticsExcelResponse.d.ts +5 -0
  751. package/v2/model/DownloadStatisticsExcelResponse.d.ts.map +1 -0
  752. package/v2/model/DownloadStatisticsExcelResponse.js +11 -0
  753. package/v2/model/DownloadStatisticsExcelResponse.js.map +1 -0
  754. package/v2/model/EpResourceTag.d.ts +8 -0
  755. package/v2/model/EpResourceTag.d.ts.map +1 -0
  756. package/v2/model/EpResourceTag.js +19 -0
  757. package/v2/model/EpResourceTag.js.map +1 -0
  758. package/v2/model/ErrMsg.d.ts +12 -0
  759. package/v2/model/ErrMsg.d.ts.map +1 -0
  760. package/v2/model/ErrMsg.js +31 -0
  761. package/v2/model/ErrMsg.js.map +1 -0
  762. package/v2/model/ErrRsp.d.ts +7 -0
  763. package/v2/model/ErrRsp.d.ts.map +1 -0
  764. package/v2/model/ErrRsp.js +14 -0
  765. package/v2/model/ErrRsp.js.map +1 -0
  766. package/v2/model/ErrorCodeCache.d.ts +8 -0
  767. package/v2/model/ErrorCodeCache.d.ts.map +1 -0
  768. package/v2/model/ErrorCodeCache.js +17 -0
  769. package/v2/model/ErrorCodeCache.js.map +1 -0
  770. package/v2/model/ErrorCodeRedirectRules.d.ts +16 -0
  771. package/v2/model/ErrorCodeRedirectRules.d.ts.map +1 -0
  772. package/v2/model/ErrorCodeRedirectRules.js +42 -0
  773. package/v2/model/ErrorCodeRedirectRules.js.map +1 -0
  774. package/v2/model/FlexibleOrigins.d.ts +19 -0
  775. package/v2/model/FlexibleOrigins.d.ts.map +1 -0
  776. package/v2/model/FlexibleOrigins.js +47 -0
  777. package/v2/model/FlexibleOrigins.js.map +1 -0
  778. package/v2/model/ForceRedirectConfig.d.ts +12 -0
  779. package/v2/model/ForceRedirectConfig.d.ts.map +1 -0
  780. package/v2/model/ForceRedirectConfig.js +28 -0
  781. package/v2/model/ForceRedirectConfig.js.map +1 -0
  782. package/v2/model/HttpGetBody.d.ts +40 -0
  783. package/v2/model/HttpGetBody.d.ts.map +1 -0
  784. package/v2/model/HttpGetBody.js +99 -0
  785. package/v2/model/HttpGetBody.js.map +1 -0
  786. package/v2/model/HttpPutBody.d.ts +40 -0
  787. package/v2/model/HttpPutBody.d.ts.map +1 -0
  788. package/v2/model/HttpPutBody.js +99 -0
  789. package/v2/model/HttpPutBody.js.map +1 -0
  790. package/v2/model/HttpResponseHeader.d.ts +10 -0
  791. package/v2/model/HttpResponseHeader.d.ts.map +1 -0
  792. package/v2/model/HttpResponseHeader.js +23 -0
  793. package/v2/model/HttpResponseHeader.js.map +1 -0
  794. package/v2/model/IpFilter.d.ts +8 -0
  795. package/v2/model/IpFilter.d.ts.map +1 -0
  796. package/v2/model/IpFilter.js +18 -0
  797. package/v2/model/IpFilter.js.map +1 -0
  798. package/v2/model/ListDomainsRequest.d.ts +40 -0
  799. package/v2/model/ListDomainsRequest.d.ts.map +1 -0
  800. package/v2/model/ListDomainsRequest.js +99 -0
  801. package/v2/model/ListDomainsRequest.js.map +1 -0
  802. package/v2/model/ListDomainsResponse.d.ts +10 -0
  803. package/v2/model/ListDomainsResponse.d.ts.map +1 -0
  804. package/v2/model/ListDomainsResponse.js +19 -0
  805. package/v2/model/ListDomainsResponse.js.map +1 -0
  806. package/v2/model/ModifyDomainConfigRequestBody.d.ts +7 -0
  807. package/v2/model/ModifyDomainConfigRequestBody.d.ts.map +1 -0
  808. package/v2/model/ModifyDomainConfigRequestBody.js +13 -0
  809. package/v2/model/ModifyDomainConfigRequestBody.js.map +1 -0
  810. package/v2/model/OriginRequestHeader.d.ts +10 -0
  811. package/v2/model/OriginRequestHeader.d.ts.map +1 -0
  812. package/v2/model/OriginRequestHeader.js +23 -0
  813. package/v2/model/OriginRequestHeader.js.map +1 -0
  814. package/v2/model/OriginRequestUrlRewrite.d.ts +18 -0
  815. package/v2/model/OriginRequestUrlRewrite.d.ts.map +1 -0
  816. package/v2/model/OriginRequestUrlRewrite.js +46 -0
  817. package/v2/model/OriginRequestUrlRewrite.js.map +1 -0
  818. package/v2/model/RefererConfig.d.ts +12 -0
  819. package/v2/model/RefererConfig.d.ts.map +1 -0
  820. package/v2/model/RefererConfig.js +28 -0
  821. package/v2/model/RefererConfig.js.map +1 -0
  822. package/v2/model/RemoteAuthRuleVo.d.ts +63 -0
  823. package/v2/model/RemoteAuthRuleVo.d.ts.map +1 -0
  824. package/v2/model/RemoteAuthRuleVo.js +163 -0
  825. package/v2/model/RemoteAuthRuleVo.js.map +1 -0
  826. package/v2/model/RequestLimitRules.d.ts +16 -0
  827. package/v2/model/RequestLimitRules.d.ts.map +1 -0
  828. package/v2/model/RequestLimitRules.js +39 -0
  829. package/v2/model/RequestLimitRules.js.map +1 -0
  830. package/v2/model/SetChargeModesBody.d.ts +16 -0
  831. package/v2/model/SetChargeModesBody.d.ts.map +1 -0
  832. package/v2/model/SetChargeModesBody.js +42 -0
  833. package/v2/model/SetChargeModesBody.js.map +1 -0
  834. package/v2/model/SetChargeModesRequest.d.ts +7 -0
  835. package/v2/model/SetChargeModesRequest.d.ts.map +1 -0
  836. package/v2/model/SetChargeModesRequest.js +13 -0
  837. package/v2/model/SetChargeModesRequest.js.map +1 -0
  838. package/v2/model/SetChargeModesResponse.d.ts +27 -0
  839. package/v2/model/SetChargeModesResponse.d.ts.map +1 -0
  840. package/v2/model/SetChargeModesResponse.js +65 -0
  841. package/v2/model/SetChargeModesResponse.js.map +1 -0
  842. package/v2/model/ShowBandwidthCalcRequest.d.ts +28 -0
  843. package/v2/model/ShowBandwidthCalcRequest.d.ts.map +1 -0
  844. package/v2/model/ShowBandwidthCalcRequest.js +73 -0
  845. package/v2/model/ShowBandwidthCalcRequest.js.map +1 -0
  846. package/v2/model/ShowBandwidthCalcResponse.d.ts +15 -0
  847. package/v2/model/ShowBandwidthCalcResponse.d.ts.map +1 -0
  848. package/v2/model/ShowBandwidthCalcResponse.js +21 -0
  849. package/v2/model/ShowBandwidthCalcResponse.js.map +1 -0
  850. package/v2/model/ShowChargeModesRequest.d.ts +14 -0
  851. package/v2/model/ShowChargeModesRequest.d.ts.map +1 -0
  852. package/v2/model/ShowChargeModesRequest.js +34 -0
  853. package/v2/model/ShowChargeModesRequest.js.map +1 -0
  854. package/v2/model/ShowChargeModesResponse.d.ts +11 -0
  855. package/v2/model/ShowChargeModesResponse.d.ts.map +1 -0
  856. package/v2/model/ShowChargeModesResponse.js +15 -0
  857. package/v2/model/ShowChargeModesResponse.js.map +1 -0
  858. package/v2/model/ShowDomainDetailByNameRequest.d.ts +12 -0
  859. package/v2/model/ShowDomainDetailByNameRequest.d.ts.map +1 -0
  860. package/v2/model/ShowDomainDetailByNameRequest.js +30 -0
  861. package/v2/model/ShowDomainDetailByNameRequest.js.map +1 -0
  862. package/v2/model/ShowDomainDetailByNameResponse.d.ts +8 -0
  863. package/v2/model/ShowDomainDetailByNameResponse.d.ts.map +1 -0
  864. package/v2/model/ShowDomainDetailByNameResponse.js +15 -0
  865. package/v2/model/ShowDomainDetailByNameResponse.js.map +1 -0
  866. package/v2/model/ShowDomainFullConfigRequest.d.ts +16 -0
  867. package/v2/model/ShowDomainFullConfigRequest.d.ts.map +1 -0
  868. package/v2/model/ShowDomainFullConfigRequest.js +40 -0
  869. package/v2/model/ShowDomainFullConfigRequest.js.map +1 -0
  870. package/v2/model/ShowDomainFullConfigResponse.d.ts +8 -0
  871. package/v2/model/ShowDomainFullConfigResponse.d.ts.map +1 -0
  872. package/v2/model/ShowDomainFullConfigResponse.js +15 -0
  873. package/v2/model/ShowDomainFullConfigResponse.js.map +1 -0
  874. package/v2/model/ShowDomainLocationStatsRequest.d.ts +38 -0
  875. package/v2/model/ShowDomainLocationStatsRequest.d.ts.map +1 -0
  876. package/v2/model/ShowDomainLocationStatsRequest.js +94 -0
  877. package/v2/model/ShowDomainLocationStatsRequest.js.map +1 -0
  878. package/v2/model/ShowDomainLocationStatsResponse.d.ts +15 -0
  879. package/v2/model/ShowDomainLocationStatsResponse.d.ts.map +1 -0
  880. package/v2/model/ShowDomainLocationStatsResponse.js +25 -0
  881. package/v2/model/ShowDomainLocationStatsResponse.js.map +1 -0
  882. package/v2/model/ShowDomainStatsRequest.d.ts +36 -0
  883. package/v2/model/ShowDomainStatsRequest.d.ts.map +1 -0
  884. package/v2/model/ShowDomainStatsRequest.js +92 -0
  885. package/v2/model/ShowDomainStatsRequest.js.map +1 -0
  886. package/v2/model/ShowDomainStatsResponse.d.ts +11 -0
  887. package/v2/model/ShowDomainStatsResponse.d.ts.map +1 -0
  888. package/v2/model/ShowDomainStatsResponse.js +15 -0
  889. package/v2/model/ShowDomainStatsResponse.js.map +1 -0
  890. package/v2/model/ShowTopDomainNamesRequest.d.ts +26 -0
  891. package/v2/model/ShowTopDomainNamesRequest.d.ts.map +1 -0
  892. package/v2/model/ShowTopDomainNamesRequest.js +66 -0
  893. package/v2/model/ShowTopDomainNamesRequest.js.map +1 -0
  894. package/v2/model/ShowTopDomainNamesResponse.d.ts +15 -0
  895. package/v2/model/ShowTopDomainNamesResponse.d.ts.map +1 -0
  896. package/v2/model/ShowTopDomainNamesResponse.js +21 -0
  897. package/v2/model/ShowTopDomainNamesResponse.js.map +1 -0
  898. package/v2/model/ShowTopUrlRequest.d.ts +28 -0
  899. package/v2/model/ShowTopUrlRequest.d.ts.map +1 -0
  900. package/v2/model/ShowTopUrlRequest.js +73 -0
  901. package/v2/model/ShowTopUrlRequest.js.map +1 -0
  902. package/v2/model/ShowTopUrlResponse.d.ts +14 -0
  903. package/v2/model/ShowTopUrlResponse.d.ts.map +1 -0
  904. package/v2/model/ShowTopUrlResponse.js +31 -0
  905. package/v2/model/ShowTopUrlResponse.js.map +1 -0
  906. package/v2/model/Sources.d.ts +33 -0
  907. package/v2/model/Sources.d.ts.map +1 -0
  908. package/v2/model/Sources.js +72 -0
  909. package/v2/model/Sources.js.map +1 -0
  910. package/v2/model/SourcesConfig.d.ts +36 -0
  911. package/v2/model/SourcesConfig.d.ts.map +1 -0
  912. package/v2/model/SourcesConfig.js +90 -0
  913. package/v2/model/SourcesConfig.js.map +1 -0
  914. package/v2/model/TopUrlSummary.d.ts +20 -0
  915. package/v2/model/TopUrlSummary.d.ts.map +1 -0
  916. package/v2/model/TopUrlSummary.js +47 -0
  917. package/v2/model/TopUrlSummary.js.map +1 -0
  918. package/v2/model/UpdateDomainFullConfigRequest.d.ts +15 -0
  919. package/v2/model/UpdateDomainFullConfigRequest.d.ts.map +1 -0
  920. package/v2/model/UpdateDomainFullConfigRequest.js +34 -0
  921. package/v2/model/UpdateDomainFullConfigRequest.js.map +1 -0
  922. package/v2/model/UpdateDomainFullConfigResponse.d.ts +5 -0
  923. package/v2/model/UpdateDomainFullConfigResponse.d.ts.map +1 -0
  924. package/v2/model/UpdateDomainFullConfigResponse.js +11 -0
  925. package/v2/model/UpdateDomainFullConfigResponse.js.map +1 -0
  926. package/v2/model/UrlAuth.d.ts +34 -0
  927. package/v2/model/UrlAuth.d.ts.map +1 -0
  928. package/v2/model/UrlAuth.js +85 -0
  929. package/v2/model/UrlAuth.js.map +1 -0
  930. package/v2/model/UrlAuthGetBody.d.ts +34 -0
  931. package/v2/model/UrlAuthGetBody.d.ts.map +1 -0
  932. package/v2/model/UrlAuthGetBody.js +82 -0
  933. package/v2/model/UrlAuthGetBody.js.map +1 -0
  934. package/v2/model/UserAgentFilter.d.ts +12 -0
  935. package/v2/model/UserAgentFilter.d.ts.map +1 -0
  936. package/v2/model/UserAgentFilter.js +28 -0
  937. package/v2/model/UserAgentFilter.js.map +1 -0
  938. package/v2/model/VideoSeek.d.ts +20 -0
  939. package/v2/model/VideoSeek.d.ts.map +1 -0
  940. package/v2/model/VideoSeek.js +50 -0
  941. package/v2/model/VideoSeek.js.map +1 -0
  942. package/v2/model/WebSocketSeek.d.ts +8 -0
  943. package/v2/model/WebSocketSeek.d.ts.map +1 -0
  944. package/v2/model/WebSocketSeek.js +19 -0
  945. package/v2/model/WebSocketSeek.js.map +1 -0
  946. package/v2/public-api.d.ts +73 -0
  947. package/v2/public-api.d.ts.map +1 -0
  948. package/v2/public-api.js +89 -0
  949. package/v2/public-api.js.map +1 -0
  950. package/huaweicloud-sdk-cdn.ts +0 -6
  951. package/v1/CdnClient.ts +0 -3659
  952. package/v1/CdnRegion.ts +0 -28
  953. package/v1/model/BatchDeleteTagsRequest.ts +0 -12
  954. package/v1/model/BatchDeleteTagsResponse.ts +0 -8
  955. package/v1/model/BlackWhiteListBody.ts +0 -23
  956. package/v1/model/CacheConfig.ts +0 -40
  957. package/v1/model/CacheConfigRequest.ts +0 -40
  958. package/v1/model/CacheConfigRequestBody.ts +0 -19
  959. package/v1/model/CacheRules.ts +0 -88
  960. package/v1/model/CacheUrlParameterFilter.ts +0 -16
  961. package/v1/model/CdnIps.ts +0 -31
  962. package/v1/model/Compress.ts +0 -17
  963. package/v1/model/CompressRequest.ts +0 -17
  964. package/v1/model/CompressResponse.ts +0 -30
  965. package/v1/model/CompressRules.ts +0 -28
  966. package/v1/model/Configs.ts +0 -206
  967. package/v1/model/ConfigsGetBody.ts +0 -206
  968. package/v1/model/CreateDomainRequest.ts +0 -12
  969. package/v1/model/CreateDomainRequestBody.ts +0 -13
  970. package/v1/model/CreateDomainResponse.ts +0 -14
  971. package/v1/model/CreateDomainResponseBodyContent.ts +0 -176
  972. package/v1/model/CreatePreheatingTasksRequest.ts +0 -23
  973. package/v1/model/CreatePreheatingTasksResponse.ts +0 -19
  974. package/v1/model/CreateRefreshTasksRequest.ts +0 -23
  975. package/v1/model/CreateRefreshTasksResponse.ts +0 -19
  976. package/v1/model/CreateTagsRequest.ts +0 -12
  977. package/v1/model/CreateTagsRequestBody.ts +0 -24
  978. package/v1/model/CreateTagsResponse.ts +0 -8
  979. package/v1/model/DeleteDomainRequest.ts +0 -29
  980. package/v1/model/DeleteDomainResponse.ts +0 -14
  981. package/v1/model/DeleteTagsRequestBody.ts +0 -24
  982. package/v1/model/DisableDomainRequest.ts +0 -29
  983. package/v1/model/DisableDomainResponse.ts +0 -14
  984. package/v1/model/DomainBody.ts +0 -80
  985. package/v1/model/DomainItemDetail.ts +0 -44
  986. package/v1/model/DomainItemLocationDetails.ts +0 -45
  987. package/v1/model/DomainOriginHost.ts +0 -40
  988. package/v1/model/DomainRegion.ts +0 -28
  989. package/v1/model/Domains.ts +0 -225
  990. package/v1/model/DomainsWithPort.ts +0 -219
  991. package/v1/model/EnableDomainRequest.ts +0 -29
  992. package/v1/model/EnableDomainResponse.ts +0 -14
  993. package/v1/model/EpResourceTag.ts +0 -18
  994. package/v1/model/ErrorCodeCache.ts +0 -16
  995. package/v1/model/ErrorCodeRedirectRules.ts +0 -42
  996. package/v1/model/Follow302StatusBody.ts +0 -37
  997. package/v1/model/Follow302StatusRequest.ts +0 -27
  998. package/v1/model/ForceRedirect.ts +0 -29
  999. package/v1/model/ForceRedirectConfig.ts +0 -28
  1000. package/v1/model/HeaderBody.ts +0 -12
  1001. package/v1/model/HeaderMap.ts +0 -72
  1002. package/v1/model/HttpGetBody.ts +0 -72
  1003. package/v1/model/HttpInfoRequest.ts +0 -13
  1004. package/v1/model/HttpInfoRequestBody.ts +0 -85
  1005. package/v1/model/HttpInfoResponseBody.ts +0 -94
  1006. package/v1/model/HttpPutBody.ts +0 -83
  1007. package/v1/model/HttpResponseHeader.ts +0 -23
  1008. package/v1/model/HttpsDetail.ts +0 -116
  1009. package/v1/model/IpFilter.ts +0 -17
  1010. package/v1/model/ListDomainsRequest.ts +0 -138
  1011. package/v1/model/ListDomainsResponse.ts +0 -19
  1012. package/v1/model/LogObject.ts +0 -54
  1013. package/v1/model/ModelMap.ts +0 -17
  1014. package/v1/model/ModifyDomainConfigRequestBody.ts +0 -12
  1015. package/v1/model/OriginHostBody.ts +0 -38
  1016. package/v1/model/OriginHostRequest.ts +0 -19
  1017. package/v1/model/OriginRangeBody.ts +0 -37
  1018. package/v1/model/OriginRequest.ts +0 -13
  1019. package/v1/model/OriginRequestHeader.ts +0 -23
  1020. package/v1/model/OriginRequestUrlRewrite.ts +0 -47
  1021. package/v1/model/PreheatingTaskRequest.ts +0 -19
  1022. package/v1/model/PreheatingTaskRequestBody.ts +0 -12
  1023. package/v1/model/Quotas.ts +0 -38
  1024. package/v1/model/RangeStatusRequest.ts +0 -27
  1025. package/v1/model/Referer.ts +0 -40
  1026. package/v1/model/RefererBody.ts +0 -13
  1027. package/v1/model/RefererConfig.ts +0 -28
  1028. package/v1/model/RefererRsp.ts +0 -39
  1029. package/v1/model/RefreshTaskRequest.ts +0 -19
  1030. package/v1/model/RefreshTaskRequestBody.ts +0 -39
  1031. package/v1/model/ResourceBody.ts +0 -13
  1032. package/v1/model/Rules.ts +0 -47
  1033. package/v1/model/ShowBlackWhiteListRequest.ts +0 -29
  1034. package/v1/model/ShowBlackWhiteListResponse.ts +0 -24
  1035. package/v1/model/ShowCacheRulesRequest.ts +0 -29
  1036. package/v1/model/ShowCacheRulesResponse.ts +0 -20
  1037. package/v1/model/ShowCertificatesHttpsInfoRequest.ts +0 -61
  1038. package/v1/model/ShowCertificatesHttpsInfoResponse.ts +0 -19
  1039. package/v1/model/ShowDomainDetailRequest.ts +0 -29
  1040. package/v1/model/ShowDomainDetailResponse.ts +0 -14
  1041. package/v1/model/ShowDomainFullConfigRequest.ts +0 -29
  1042. package/v1/model/ShowDomainFullConfigResponse.ts +0 -14
  1043. package/v1/model/ShowDomainItemDetailsRequest.ts +0 -76
  1044. package/v1/model/ShowDomainItemDetailsResponse.ts +0 -20
  1045. package/v1/model/ShowDomainItemLocationDetailsRequest.ts +0 -77
  1046. package/v1/model/ShowDomainItemLocationDetailsResponse.ts +0 -20
  1047. package/v1/model/ShowDomainLocationStatsRequest.ts +0 -102
  1048. package/v1/model/ShowDomainLocationStatsResponse.ts +0 -24
  1049. package/v1/model/ShowDomainStatsRequest.ts +0 -98
  1050. package/v1/model/ShowDomainStatsResponse.ts +0 -13
  1051. package/v1/model/ShowHistoryTaskDetailsRequest.ts +0 -72
  1052. package/v1/model/ShowHistoryTaskDetailsResponse.ts +0 -77
  1053. package/v1/model/ShowHistoryTasksRequest.ts +0 -116
  1054. package/v1/model/ShowHistoryTasksResponse.ts +0 -19
  1055. package/v1/model/ShowHttpInfoRequest.ts +0 -29
  1056. package/v1/model/ShowHttpInfoResponse.ts +0 -14
  1057. package/v1/model/ShowIpInfoRequest.ts +0 -23
  1058. package/v1/model/ShowIpInfoResponse.ts +0 -20
  1059. package/v1/model/ShowLogsRequest.ts +0 -73
  1060. package/v1/model/ShowLogsResponse.ts +0 -19
  1061. package/v1/model/ShowOriginHostRequest.ts +0 -29
  1062. package/v1/model/ShowOriginHostResponse.ts +0 -20
  1063. package/v1/model/ShowQuotaRequest.ts +0 -6
  1064. package/v1/model/ShowQuotaResponse.ts +0 -14
  1065. package/v1/model/ShowReferRequest.ts +0 -29
  1066. package/v1/model/ShowReferResponse.ts +0 -14
  1067. package/v1/model/ShowResponseHeaderRequest.ts +0 -29
  1068. package/v1/model/ShowResponseHeaderResponse.ts +0 -14
  1069. package/v1/model/ShowTagsRequest.ts +0 -18
  1070. package/v1/model/ShowTagsResponse.ts +0 -13
  1071. package/v1/model/ShowTopUrlRequest.ts +0 -93
  1072. package/v1/model/ShowTopUrlResponse.ts +0 -31
  1073. package/v1/model/ShowUrlTaskInfoRequest.ts +0 -70
  1074. package/v1/model/ShowUrlTaskInfoResponse.ts +0 -35
  1075. package/v1/model/SourceWithPort.ts +0 -96
  1076. package/v1/model/Sources.ts +0 -74
  1077. package/v1/model/SourcesConfig.ts +0 -80
  1078. package/v1/model/TasksObject.ts +0 -86
  1079. package/v1/model/TopUrlSummary.ts +0 -49
  1080. package/v1/model/UpdateBlackWhiteListRequest.ts +0 -35
  1081. package/v1/model/UpdateBlackWhiteListResponse.ts +0 -23
  1082. package/v1/model/UpdateCacheRulesRequest.ts +0 -35
  1083. package/v1/model/UpdateCacheRulesResponse.ts +0 -20
  1084. package/v1/model/UpdateDomainFullConfigRequest.ts +0 -35
  1085. package/v1/model/UpdateDomainFullConfigResponse.ts +0 -8
  1086. package/v1/model/UpdateDomainMultiCertificatesRequest.ts +0 -23
  1087. package/v1/model/UpdateDomainMultiCertificatesRequestBody.ts +0 -12
  1088. package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.ts +0 -107
  1089. package/v1/model/UpdateDomainMultiCertificatesResponse.ts +0 -14
  1090. package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.ts +0 -106
  1091. package/v1/model/UpdateDomainOriginRequest.ts +0 -35
  1092. package/v1/model/UpdateDomainOriginResponse.ts +0 -14
  1093. package/v1/model/UpdateFollow302SwitchRequest.ts +0 -35
  1094. package/v1/model/UpdateFollow302SwitchResponse.ts +0 -20
  1095. package/v1/model/UpdateHttpsInfoRequest.ts +0 -35
  1096. package/v1/model/UpdateHttpsInfoResponse.ts +0 -14
  1097. package/v1/model/UpdateOriginHostRequest.ts +0 -35
  1098. package/v1/model/UpdateOriginHostResponse.ts +0 -20
  1099. package/v1/model/UpdatePrivateBucketAccessBody.ts +0 -11
  1100. package/v1/model/UpdatePrivateBucketAccessRequest.ts +0 -35
  1101. package/v1/model/UpdatePrivateBucketAccessResponse.ts +0 -13
  1102. package/v1/model/UpdateRangeSwitchRequest.ts +0 -35
  1103. package/v1/model/UpdateRangeSwitchResponse.ts +0 -20
  1104. package/v1/model/UpdateReferRequest.ts +0 -35
  1105. package/v1/model/UpdateReferResponse.ts +0 -14
  1106. package/v1/model/UpdateResponseHeaderRequest.ts +0 -35
  1107. package/v1/model/UpdateResponseHeaderResponse.ts +0 -14
  1108. package/v1/model/UrlAuth.ts +0 -44
  1109. package/v1/model/UrlAuthGetBody.ts +0 -39
  1110. package/v1/model/UrlObject.ts +0 -54
  1111. package/v1/model/Urls.ts +0 -70
  1112. package/v1/model/UserAgentFilter.ts +0 -17
  1113. package/v1/public-api.ts +0 -163
  1114. package/v2/CdnClient.ts +0 -1701
  1115. package/v2/CdnRegion.ts +0 -28
  1116. package/v2/model/BackSources.ts +0 -63
  1117. package/v2/model/BatchCopyConfigs.ts +0 -42
  1118. package/v2/model/BatchCopyDRequestBody.ts +0 -13
  1119. package/v2/model/BatchCopyDomainRequest.ts +0 -12
  1120. package/v2/model/BatchCopyDomainResponse.ts +0 -14
  1121. package/v2/model/BatchCopyErrorRsp.ts +0 -12
  1122. package/v2/model/BatchCopyErrorRspError.ts +0 -28
  1123. package/v2/model/BatchCopyResultVo.ts +0 -38
  1124. package/v2/model/CacheRules.ts +0 -88
  1125. package/v2/model/CacheUrlParameterFilter.ts +0 -16
  1126. package/v2/model/CommonRemoteAuth.ts +0 -31
  1127. package/v2/model/Compress.ts +0 -29
  1128. package/v2/model/Configs.ts +0 -304
  1129. package/v2/model/ConfigsGetBody.ts +0 -304
  1130. package/v2/model/CustomArgs.ts +0 -24
  1131. package/v2/model/DomainOriginHost.ts +0 -40
  1132. package/v2/model/Domains.ts +0 -214
  1133. package/v2/model/DomainsWithPort.ts +0 -119
  1134. package/v2/model/DownloadRegionCarrierExcelRequest.ts +0 -96
  1135. package/v2/model/DownloadRegionCarrierExcelResponse.ts +0 -8
  1136. package/v2/model/DownloadStatisticsExcelRequest.ts +0 -92
  1137. package/v2/model/DownloadStatisticsExcelResponse.ts +0 -8
  1138. package/v2/model/EpResourceTag.ts +0 -18
  1139. package/v2/model/ErrMsg.ts +0 -30
  1140. package/v2/model/ErrRsp.ts +0 -13
  1141. package/v2/model/ErrorCodeCache.ts +0 -16
  1142. package/v2/model/ErrorCodeRedirectRules.ts +0 -42
  1143. package/v2/model/FlexibleOrigins.ts +0 -49
  1144. package/v2/model/ForceRedirectConfig.ts +0 -28
  1145. package/v2/model/HttpGetBody.ts +0 -105
  1146. package/v2/model/HttpPutBody.ts +0 -105
  1147. package/v2/model/HttpResponseHeader.ts +0 -23
  1148. package/v2/model/IpFilter.ts +0 -17
  1149. package/v2/model/ListDomainsRequest.ts +0 -105
  1150. package/v2/model/ListDomainsResponse.ts +0 -19
  1151. package/v2/model/ModifyDomainConfigRequestBody.ts +0 -12
  1152. package/v2/model/OriginRequestHeader.ts +0 -23
  1153. package/v2/model/OriginRequestUrlRewrite.ts +0 -47
  1154. package/v2/model/RefererConfig.ts +0 -28
  1155. package/v2/model/RemoteAuthRuleVo.ts +0 -176
  1156. package/v2/model/RequestLimitRules.ts +0 -40
  1157. package/v2/model/SetChargeModesBody.ts +0 -42
  1158. package/v2/model/SetChargeModesRequest.ts +0 -12
  1159. package/v2/model/SetChargeModesResponse.ts +0 -68
  1160. package/v2/model/ShowBandwidthCalcRequest.ts +0 -76
  1161. package/v2/model/ShowBandwidthCalcResponse.ts +0 -19
  1162. package/v2/model/ShowChargeModesRequest.ts +0 -34
  1163. package/v2/model/ShowChargeModesResponse.ts +0 -13
  1164. package/v2/model/ShowDomainDetailByNameRequest.ts +0 -29
  1165. package/v2/model/ShowDomainDetailByNameResponse.ts +0 -14
  1166. package/v2/model/ShowDomainFullConfigRequest.ts +0 -40
  1167. package/v2/model/ShowDomainFullConfigResponse.ts +0 -14
  1168. package/v2/model/ShowDomainLocationStatsRequest.ts +0 -102
  1169. package/v2/model/ShowDomainLocationStatsResponse.ts +0 -24
  1170. package/v2/model/ShowDomainStatsRequest.ts +0 -98
  1171. package/v2/model/ShowDomainStatsResponse.ts +0 -13
  1172. package/v2/model/ShowTopDomainNamesRequest.ts +0 -69
  1173. package/v2/model/ShowTopDomainNamesResponse.ts +0 -19
  1174. package/v2/model/ShowTopUrlRequest.ts +0 -76
  1175. package/v2/model/ShowTopUrlResponse.ts +0 -31
  1176. package/v2/model/Sources.ts +0 -74
  1177. package/v2/model/SourcesConfig.ts +0 -96
  1178. package/v2/model/TopUrlSummary.ts +0 -49
  1179. package/v2/model/UpdateDomainFullConfigRequest.ts +0 -35
  1180. package/v2/model/UpdateDomainFullConfigResponse.ts +0 -8
  1181. package/v2/model/UrlAuth.ts +0 -91
  1182. package/v2/model/UrlAuthGetBody.ts +0 -88
  1183. package/v2/model/UserAgentFilter.ts +0 -28
  1184. package/v2/model/VideoSeek.ts +0 -51
  1185. package/v2/model/WebSocketSeek.ts +0 -18
  1186. package/v2/public-api.ts +0 -73
@@ -0,0 +1,1466 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequiredError = exports.ParamCreater = exports.CdnClient = void 0;
4
+ const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
5
+ const BatchCopyDomainRequest_1 = require("./model/BatchCopyDomainRequest");
6
+ const DownloadRegionCarrierExcelRequest_1 = require("./model/DownloadRegionCarrierExcelRequest");
7
+ const DownloadStatisticsExcelRequest_1 = require("./model/DownloadStatisticsExcelRequest");
8
+ const ListDomainsRequest_1 = require("./model/ListDomainsRequest");
9
+ const SetChargeModesRequest_1 = require("./model/SetChargeModesRequest");
10
+ const ShowBandwidthCalcRequest_1 = require("./model/ShowBandwidthCalcRequest");
11
+ const ShowChargeModesRequest_1 = require("./model/ShowChargeModesRequest");
12
+ const ShowDomainDetailByNameRequest_1 = require("./model/ShowDomainDetailByNameRequest");
13
+ const ShowDomainFullConfigRequest_1 = require("./model/ShowDomainFullConfigRequest");
14
+ const ShowDomainLocationStatsRequest_1 = require("./model/ShowDomainLocationStatsRequest");
15
+ const ShowDomainStatsRequest_1 = require("./model/ShowDomainStatsRequest");
16
+ const ShowTopDomainNamesRequest_1 = require("./model/ShowTopDomainNamesRequest");
17
+ const ShowTopUrlRequest_1 = require("./model/ShowTopUrlRequest");
18
+ const UpdateDomainFullConfigRequest_1 = require("./model/UpdateDomainFullConfigRequest");
19
+ class CdnClient {
20
+ static newBuilder() {
21
+ return new ClientBuilder_1.ClientBuilder(newClient);
22
+ }
23
+ constructor(client) {
24
+ this.hcClient = client;
25
+ }
26
+ getPath() {
27
+ return __dirname;
28
+ }
29
+ /**
30
+ * 批量域名复制接口。
31
+ * > 将某个加速域名的配置批量复制到其他域名。
32
+ *
33
+ * Please refer to HUAWEI cloud API Explorer for details.
34
+ *
35
+ * @summary 批量域名复制
36
+ * @param {BatchCopyDRequestBody} batchCopyDRequestBody 域名复制参数请求体。
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ batchCopyDomain(batchCopyDomainRequest) {
41
+ const options = (0, exports.ParamCreater)().batchCopyDomain(batchCopyDomainRequest);
42
+ // @ts-ignore
43
+ options['responseHeaders'] = [''];
44
+ return this.hcClient.sendRequest(options);
45
+ }
46
+ /**
47
+ * - 下载区域运营商指标数据表格文件。
48
+ *
49
+ * - 支持下载90天内的指标数据表格。
50
+ *
51
+ * - 时间跨度不能超过31天。
52
+ *
53
+ * - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
54
+ *
55
+ * - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
56
+ *
57
+ * - 单租户调用频率:10次/min。
58
+ *
59
+ * Please refer to HUAWEI cloud API Explorer for details.
60
+ *
61
+ * @summary 下载区域运营商指标数据表格文件
62
+ * @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
63
+ * @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
64
+ * @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
65
+ * @param {string} excelType 统计数据表格类型,目前支持 - 区域用量统计数据(excel_type_usage) - 区域访问情况统计数据(excel_type_access) - 区域情况统计数据(excel_type_region) - 区域运营商情况统计数据(excel_type_carrier) - 国家情况统计数据(excel_type_country) - top_url统计数据(excel_type_top_url)
66
+ * @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
67
+ * @param {string} [country] - 国家&地区编码,多个以英文逗号分隔,all表示全部,取值见附录 - 访问运营商统计数据时不能填写 - 访问top_url数据时不能填写 - 访问区域情况数据时只能填写cn(中国)
68
+ * @param {string} [excelLanguage] 创建表格语言,支持zh(中文),en(英文)两种,如果不传默认为zh
69
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
70
+ * @param {string} [region] - 地区区域,当country为cn(中国)时有效 - 访问运营商统计数据时不能填写 - 访问国家统计数据时不能填写 - 访问top_url数据时不能填写
71
+ * @param {string} [carrier] - 运营商编码 - 访问区域统计数据时不能填写 - 访问国家统计数据时不能填写 - 访问top_url数据时不能填写
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ downloadRegionCarrierExcel(downloadRegionCarrierExcelRequest) {
76
+ const options = (0, exports.ParamCreater)().downloadRegionCarrierExcel(downloadRegionCarrierExcelRequest);
77
+ // @ts-ignore
78
+ options['responseHeaders'] = [''];
79
+ return this.hcClient.sendRequest(options);
80
+ }
81
+ /**
82
+ * - 下载统计指标数据表格文件。
83
+ *
84
+ * - 支持下载90天内的指标数据。
85
+ *
86
+ * - 时间跨度不能超过31天。
87
+ *
88
+ * - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
89
+ *
90
+ * - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
91
+ *
92
+ * - 单租户调用频率:10次/min。
93
+ *
94
+ * Please refer to HUAWEI cloud API Explorer for details.
95
+ *
96
+ * @summary 下载统计指标数据表格文件
97
+ * @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
98
+ * @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
99
+ * @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
100
+ * @param {string} excelType 统计数据表格类型,目前支持 - 用量统计数据(excel_type_usage) - 访问情况统计数据(excel_type_access) - 回源情况统计数据(excel_type_origin) - http_code统计数据(excel_type_http_code)
101
+ * @param {string} [excelLanguage] 创建表格语言,支持zh(中文),en(英文)两种,如果不传默认为zh
102
+ * @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
103
+ * @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
104
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ downloadStatisticsExcel(downloadStatisticsExcelRequest) {
109
+ const options = (0, exports.ParamCreater)().downloadStatisticsExcel(downloadStatisticsExcelRequest);
110
+ // @ts-ignore
111
+ options['responseHeaders'] = [''];
112
+ return this.hcClient.sendRequest(options);
113
+ }
114
+ /**
115
+ * 查询加速域名。
116
+ *
117
+ * Please refer to HUAWEI cloud API Explorer for details.
118
+ *
119
+ * @summary 查询加速域名
120
+ * @param {string} [domainName] 加速域名,采用模糊匹配的方式。(长度限制为1-255字符)。
121
+ * @param {string} [businessType] 加速域名的业务类型。取值: - web(网站加速) - download(文件下载加速) - video(点播加速) - wholeSite(全站加速)
122
+ * @param {string} [domainStatus] 加速域名状态。取值意义: - online表示“已开启” - offline表示“已停用” - configuring表示“配置中” - configure_failed表示“配置失败” - checking表示“审核中” - check_failed表示“审核未通过” - deleting表示“删除中”。
123
+ * @param {string} [serviceArea] 华为云CDN提供的加速服务范围,包含: - mainland_china 中国大陆 - outside_mainland_china 中国大陆境外 - global 全球。
124
+ * @param {number} [pageSize] 每页加速域名的数量。
125
+ * @param {number} [pageNumber] 查询的页码,即:从哪一页开始查询。
126
+ * @param {boolean} [showTags] 展示标签标识 true:不展示 false:展示。
127
+ * @param {boolean} [exactMatch] 精准匹配 true:开启 false:关闭。
128
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ listDomains(listDomainsRequest) {
133
+ const options = (0, exports.ParamCreater)().listDomains(listDomainsRequest);
134
+ // @ts-ignore
135
+ options['responseHeaders'] = [''];
136
+ return this.hcClient.sendRequest(options);
137
+ }
138
+ /**
139
+ * - 设置用户计费模式。
140
+ *
141
+ * - 服务区域仅支持mainland_china(国内)
142
+ *
143
+ * - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
144
+ *
145
+ * - 加速类型仅支持base(基础加速)
146
+ *
147
+ * - 单租户调用频率:10次/min。
148
+ *
149
+ * Please refer to HUAWEI cloud API Explorer for details.
150
+ *
151
+ * @summary 设置用户计费模式
152
+ * @param {SetChargeModesBody} setChargeModesBody 设置计费模式参数请求体
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ setChargeModes(setChargeModesRequest) {
157
+ const options = (0, exports.ParamCreater)().setChargeModes(setChargeModesRequest);
158
+ // @ts-ignore
159
+ options['responseHeaders'] = [''];
160
+ return this.hcClient.sendRequest(options);
161
+ }
162
+ /**
163
+ * - 查询域名带宽峰值类数据。
164
+ *
165
+ * - 支持查询90天内的数据。
166
+ *
167
+ * - 查询时间跨度不能超过31天。
168
+ *
169
+ * - 起始时间和结束时间,左闭右开。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
170
+ *
171
+ * - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
172
+ *
173
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、峰值类指标单位统一为bps(比特率),请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
174
+ *
175
+ * - 单租户调用频率:2次/s。
176
+ *
177
+ * Please refer to HUAWEI cloud API Explorer for details.
178
+ *
179
+ * @summary 查询域名带宽峰值类数据
180
+ * @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
181
+ * @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
182
+ * @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
183
+ * @param {string} calcType 查询类别,目前支持bw_95(95峰值带宽),bw_peak(日峰值月平均带宽),bw_95_average(95月平均带宽)
184
+ * @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
185
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ showBandwidthCalc(showBandwidthCalcRequest) {
190
+ const options = (0, exports.ParamCreater)().showBandwidthCalc(showBandwidthCalcRequest);
191
+ // @ts-ignore
192
+ options['responseHeaders'] = [''];
193
+ return this.hcClient.sendRequest(options);
194
+ }
195
+ /**
196
+ * - 查询用户计费模式。
197
+ *
198
+ * - 服务区域仅支持mainland_china(国内,默认)和outside_mainland_china(海外)
199
+ *
200
+ * - 计费模式状态支持active(已生效),upcoming(待生效)两种状态,默认为active(已生效)
201
+ *
202
+ * - 加速类型仅支持base(基础加速)
203
+ *
204
+ * - 单租户调用频率:5次/s。
205
+ *
206
+ * Please refer to HUAWEI cloud API Explorer for details.
207
+ *
208
+ * @summary 查询用户计费模式
209
+ * @param {string} productType 加速类型,base(基础加速)
210
+ * @param {string} [status] 查询计费模式状态,active(已生效),upcoming(待生效),不传默认为active(已生效)
211
+ * @param {string} [serviceArea] 服务区域,mainland_china(国内),outside_mainland_china(海外),不传默认为mainland_china(国内)
212
+ * @param {*} [options] Override http request option.
213
+ * @throws {RequiredError}
214
+ */
215
+ showChargeModes(showChargeModesRequest) {
216
+ const options = (0, exports.ParamCreater)().showChargeModes(showChargeModesRequest);
217
+ // @ts-ignore
218
+ options['responseHeaders'] = [''];
219
+ return this.hcClient.sendRequest(options);
220
+ }
221
+ /**
222
+ * 加速域名详情信息接口。
223
+ *
224
+ * Please refer to HUAWEI cloud API Explorer for details.
225
+ *
226
+ * @summary 查询加速域名详情
227
+ * @param {string} domainName 加速域名名称。
228
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ showDomainDetailByName(showDomainDetailByNameRequest) {
233
+ const options = (0, exports.ParamCreater)().showDomainDetailByName(showDomainDetailByNameRequest);
234
+ // @ts-ignore
235
+ options['responseHeaders'] = [''];
236
+ return this.hcClient.sendRequest(options);
237
+ }
238
+ /**
239
+ * 查询域名配置接口,
240
+ * 支持查询回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
241
+ *
242
+ * Please refer to HUAWEI cloud API Explorer for details.
243
+ *
244
+ * @summary 查询域名配置接口
245
+ * @param {string} domainName 加速域名。
246
+ * @param {string} [enterpriseProjectId] 企业项目ID, all:所有项目。
247
+ * @param {string} [showSpecialConfigs] 取值为auth_key,用来查询鉴权KEY和鉴权备KEY的值。
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ showDomainFullConfig(showDomainFullConfigRequest) {
252
+ const options = (0, exports.ParamCreater)().showDomainFullConfig(showDomainFullConfigRequest);
253
+ // @ts-ignore
254
+ options['responseHeaders'] = [''];
255
+ return this.hcClient.sendRequest(options);
256
+ }
257
+ /**
258
+ * - 支持查询90天内的数据。
259
+ *
260
+ * - 支持多指标同时查询,不超过5个。
261
+ *
262
+ * - 最多同时指定20个域名。
263
+ *
264
+ * - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
265
+ *
266
+ * - action取值:location_detail,location_summary
267
+ *
268
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的区域运营商明细数据。
269
+ *
270
+ * - 单租户调用频率:15次/s。
271
+ *
272
+ * Please refer to HUAWEI cloud API Explorer for details.
273
+ *
274
+ * @summary 按区域运营商查询域名统计数据
275
+ * @param {string} action - 动作名称,可选location_summary、location_detail。 - location_summary:查询汇总数据 - location_detail:查询数据详情。
276
+ * @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
277
+ * @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
278
+ * @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
279
+ * @param {string} statType - 网络资源消耗 - bw(带宽) - flux(流量) - 访问情况 - req_num(请求总数) - HTTP状态码(组合指标) - http_code_2xx(状态码汇总2xx) - http_code_3xx(状态码汇总3xx) - http_code_4xx(状态码汇总4xx) - http_code_5xx(状态码汇总5xx) - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx)
280
+ * @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
281
+ * @param {string} [country] - 国家&地区编码,多个以英文逗号分隔,all表示全部,取值见附录 - 访问运营商统计数据时不能填写 - 访问top_url数据时不能填写 - 访问区域情况数据时只能填写cn(中国)
282
+ * @param {string} [province] 省份编码,当country为cn(中国)时有效,多个以英文逗号分隔,all表示全部,取值见附录
283
+ * @param {string} [isp] 运营商编码,多个以英文逗号分隔,all表示全部,取值见附录
284
+ * @param {string} [groupBy] 数据分组方式,多个以英文逗号分隔,可选domain、country、province、isp,默认不分组
285
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ showDomainLocationStats(showDomainLocationStatsRequest) {
290
+ const options = (0, exports.ParamCreater)().showDomainLocationStats(showDomainLocationStatsRequest);
291
+ // @ts-ignore
292
+ options['responseHeaders'] = [''];
293
+ return this.hcClient.sendRequest(options);
294
+ }
295
+ /**
296
+ * - 支持查询90天内的数据。
297
+ *
298
+ * - 支持多指标同时查询,不超过5个。
299
+ *
300
+ * - 最多同时指定20个域名。
301
+ *
302
+ * - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
303
+ *
304
+ * - action取值:detail,summary
305
+ *
306
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
307
+ *
308
+ * - 单租户调用频率:15次/s。
309
+ *
310
+ * Please refer to HUAWEI cloud API Explorer for details.
311
+ *
312
+ * @summary 查询域名统计基础数据
313
+ * @param {string} action - 动作名称,可选summary、detail。 - summary:查询汇总数据 - detail:查询数据详情。
314
+ * @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
315
+ * @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
316
+ * @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
317
+ * @param {string} statType - 网络资源消耗: - bw(带宽) - flux(流量) - bs_bw(回源带宽) - bs_flux(回源流量) - 访问情况 - req_num(请求总数) - hit_num(请求命中次数) - bs_num(回源总数) - bs_fail_num(回源失败数) - hit_flux(命中流量) - HTTP状态码(组合指标) - http_code_2xx(状态码汇总2xx) - http_code_3xx(状态码汇总3xx) - http_code_4xx(状态码汇总4xx) - http_code_5xx(状态码汇总5xx) - bs_http_code_2xx(回源状态码汇总2xx) - bs_http_code_3xx(回源状态码汇总3xx) - bs_http_code_4xx(回源状态码汇总4xx) - bs_http_code_5xx(回源状态码汇总5xx) - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx) - bs_status_code_2xx(回源状态码详情2xx) - bs_status_code_3xx(回源状态码详情3xx) - bs_status_code_4xx(回源状态码详情4xx) - bs_status_code_5xx(回源状态码详情5xx) - status_code和bs_status_code不能一起查询
318
+ * @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
319
+ * @param {string} [groupBy] 数据分组方式,可选domain,默认不分组
320
+ * @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
321
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ */
325
+ showDomainStats(showDomainStatsRequest) {
326
+ const options = (0, exports.ParamCreater)().showDomainStats(showDomainStatsRequest);
327
+ // @ts-ignore
328
+ options['responseHeaders'] = [''];
329
+ return this.hcClient.sendRequest(options);
330
+ }
331
+ /**
332
+ * - 查询TOP域名。
333
+ *
334
+ * - 支持查询90天内的数据。
335
+ *
336
+ * - 查询时间跨度不能超过1天。
337
+ *
338
+ * - 起始时间和结束时间,左闭右开,必须同时指定。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
339
+ *
340
+ * - 起始时间、结束时间必须传整点毫秒级时间戳。
341
+ *
342
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
343
+ *
344
+ * - 单租户调用频率:5次/s。
345
+ *
346
+ * Please refer to HUAWEI cloud API Explorer for details.
347
+ *
348
+ * @summary 查询TOP域名
349
+ * @param {number} startTime - 查询起始时间戳,时间戳应设置需为整点时间戳,设置方式如下: - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
350
+ * @param {number} endTime - 查询结束时间戳,时间戳应设置需为整点时间戳,设置方式如下: - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
351
+ * @param {string} statType - 统计类型 - 目前只支持bw(带宽),flux(流量),req_num(请求总数)
352
+ * @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
353
+ * @param {number} [limit] top域名查询数量,默认为20,最大为500,最小为0
354
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
355
+ * @param {*} [options] Override http request option.
356
+ * @throws {RequiredError}
357
+ */
358
+ showTopDomainNames(showTopDomainNamesRequest) {
359
+ const options = (0, exports.ParamCreater)().showTopDomainNames(showTopDomainNamesRequest);
360
+ // @ts-ignore
361
+ options['responseHeaders'] = [''];
362
+ return this.hcClient.sendRequest(options);
363
+ }
364
+ /**
365
+ * - 查询TOP100 URL明细。
366
+ *
367
+ * - 支持查询90天内的数据。
368
+ *
369
+ * - 查询跨度不能超过31天。
370
+ *
371
+ * - 起始时间和结束时间,左闭右开,需要同时指定。如查询2021-10-24 00:00:00 到 2021-10-25 00:00:00 的数据,表示取 [2021-10-24 00:00:00, 2021-10-25 00:00:00)的统计数据。
372
+ *
373
+ * - 开始时间、结束时间必须传毫秒级时间戳,且必须为凌晨0点整时刻点,如果传的不是凌晨0点整时刻点,返回数据可能与预期不一致。
374
+ *
375
+ * - 流量类指标单位统一为Byte(字节)、请求数类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
376
+ *
377
+ * - 单租户调用频率:5次/s。
378
+ *
379
+ * Please refer to HUAWEI cloud API Explorer for details.
380
+ *
381
+ * @summary 查询TOP100 URL明细
382
+ * @param {number} startTime 查询起始时间戳,只能传0点毫秒时间戳
383
+ * @param {number} endTime 查询结束时间戳,只能传0点毫秒时间戳
384
+ * @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
385
+ * @param {string} statType - 参数类型支持:flux(流量),req_num(请求数)
386
+ * @param {string} [serviceArea] 服务区域:mainland_china(大陆),outside_mainland_china(海外),默认为mainland_china
387
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ showTopUrl(showTopUrlRequest) {
392
+ const options = (0, exports.ParamCreater)().showTopUrl(showTopUrlRequest);
393
+ // @ts-ignore
394
+ options['responseHeaders'] = [''];
395
+ return this.hcClient.sendRequest(options);
396
+ }
397
+ /**
398
+ * 修改域名配置接口,
399
+ * 支持修改回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
400
+ *
401
+ * Please refer to HUAWEI cloud API Explorer for details.
402
+ *
403
+ * @summary 修改域名全量配置接口
404
+ * @param {string} domainName 加速域名。
405
+ * @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"代表所有项目。 > 当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
406
+ * @param {ModifyDomainConfigRequestBody} [modifyDomainConfigRequestBody] 域名配置。
407
+ * @param {*} [options] Override http request option.
408
+ * @throws {RequiredError}
409
+ */
410
+ updateDomainFullConfig(updateDomainFullConfigRequest) {
411
+ const options = (0, exports.ParamCreater)().updateDomainFullConfig(updateDomainFullConfigRequest);
412
+ // @ts-ignore
413
+ options['responseHeaders'] = [''];
414
+ return this.hcClient.sendRequest(options);
415
+ }
416
+ }
417
+ exports.CdnClient = CdnClient;
418
+ const ParamCreater = function () {
419
+ return {
420
+ /**
421
+ * 批量域名复制接口。
422
+ * > 将某个加速域名的配置批量复制到其他域名。
423
+ *
424
+ * Please refer to HUAWEI cloud API Explorer for details.
425
+ */
426
+ batchCopyDomain(batchCopyDomainRequest) {
427
+ const options = {
428
+ method: "POST",
429
+ url: "/v1.0/cdn/configuration/domains/batch-copy",
430
+ contentType: "application/json",
431
+ queryParams: {},
432
+ pathParams: {},
433
+ headers: {},
434
+ data: {}
435
+ };
436
+ const localVarHeaderParameter = {};
437
+ let body;
438
+ if (batchCopyDomainRequest !== null && batchCopyDomainRequest !== undefined) {
439
+ if (batchCopyDomainRequest instanceof BatchCopyDomainRequest_1.BatchCopyDomainRequest) {
440
+ body = batchCopyDomainRequest.body;
441
+ }
442
+ else {
443
+ body = batchCopyDomainRequest['body'];
444
+ }
445
+ }
446
+ if (body === null || body === undefined) {
447
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
448
+ }
449
+ localVarHeaderParameter['Content-Type'] = 'application/json';
450
+ options.data = body !== undefined ? body : {};
451
+ options.headers = localVarHeaderParameter;
452
+ return options;
453
+ },
454
+ /**
455
+ * - 下载区域运营商指标数据表格文件。
456
+ *
457
+ * - 支持下载90天内的指标数据表格。
458
+ *
459
+ * - 时间跨度不能超过31天。
460
+ *
461
+ * - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
462
+ *
463
+ * - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
464
+ *
465
+ * - 单租户调用频率:10次/min。
466
+ *
467
+ * Please refer to HUAWEI cloud API Explorer for details.
468
+ */
469
+ downloadRegionCarrierExcel(downloadRegionCarrierExcelRequest) {
470
+ const options = {
471
+ method: "GET",
472
+ url: "/v1.0/cdn/statistics/region-carrier-excel",
473
+ contentType: "application/json",
474
+ queryParams: {},
475
+ pathParams: {},
476
+ headers: {}
477
+ };
478
+ const localVarHeaderParameter = {};
479
+ const localVarQueryParameter = {};
480
+ let startTime;
481
+ let endTime;
482
+ let domainName;
483
+ let excelType;
484
+ let interval;
485
+ let country;
486
+ let excelLanguage;
487
+ let enterpriseProjectId;
488
+ let region;
489
+ let carrier;
490
+ if (downloadRegionCarrierExcelRequest !== null && downloadRegionCarrierExcelRequest !== undefined) {
491
+ if (downloadRegionCarrierExcelRequest instanceof DownloadRegionCarrierExcelRequest_1.DownloadRegionCarrierExcelRequest) {
492
+ startTime = downloadRegionCarrierExcelRequest.startTime;
493
+ endTime = downloadRegionCarrierExcelRequest.endTime;
494
+ domainName = downloadRegionCarrierExcelRequest.domainName;
495
+ excelType = downloadRegionCarrierExcelRequest.excelType;
496
+ interval = downloadRegionCarrierExcelRequest.interval;
497
+ country = downloadRegionCarrierExcelRequest.country;
498
+ excelLanguage = downloadRegionCarrierExcelRequest.excelLanguage;
499
+ enterpriseProjectId = downloadRegionCarrierExcelRequest.enterpriseProjectId;
500
+ region = downloadRegionCarrierExcelRequest.region;
501
+ carrier = downloadRegionCarrierExcelRequest.carrier;
502
+ }
503
+ else {
504
+ startTime = downloadRegionCarrierExcelRequest['start_time'];
505
+ endTime = downloadRegionCarrierExcelRequest['end_time'];
506
+ domainName = downloadRegionCarrierExcelRequest['domain_name'];
507
+ excelType = downloadRegionCarrierExcelRequest['excel_type'];
508
+ interval = downloadRegionCarrierExcelRequest['interval'];
509
+ country = downloadRegionCarrierExcelRequest['country'];
510
+ excelLanguage = downloadRegionCarrierExcelRequest['excel_language'];
511
+ enterpriseProjectId = downloadRegionCarrierExcelRequest['enterprise_project_id'];
512
+ region = downloadRegionCarrierExcelRequest['region'];
513
+ carrier = downloadRegionCarrierExcelRequest['carrier'];
514
+ }
515
+ }
516
+ if (startTime === null || startTime === undefined) {
517
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling downloadRegionCarrierExcel.');
518
+ }
519
+ if (startTime !== null && startTime !== undefined) {
520
+ localVarQueryParameter['start_time'] = startTime;
521
+ }
522
+ if (endTime === null || endTime === undefined) {
523
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling downloadRegionCarrierExcel.');
524
+ }
525
+ if (endTime !== null && endTime !== undefined) {
526
+ localVarQueryParameter['end_time'] = endTime;
527
+ }
528
+ if (domainName === null || domainName === undefined) {
529
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling downloadRegionCarrierExcel.');
530
+ }
531
+ if (domainName !== null && domainName !== undefined) {
532
+ localVarQueryParameter['domain_name'] = domainName;
533
+ }
534
+ if (excelType === null || excelType === undefined) {
535
+ throw new RequiredError('excelType', 'Required parameter excelType was null or undefined when calling downloadRegionCarrierExcel.');
536
+ }
537
+ if (excelType !== null && excelType !== undefined) {
538
+ localVarQueryParameter['excel_type'] = excelType;
539
+ }
540
+ if (interval !== null && interval !== undefined) {
541
+ localVarQueryParameter['interval'] = interval;
542
+ }
543
+ if (country !== null && country !== undefined) {
544
+ localVarQueryParameter['country'] = country;
545
+ }
546
+ if (excelLanguage !== null && excelLanguage !== undefined) {
547
+ localVarQueryParameter['excel_language'] = excelLanguage;
548
+ }
549
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
550
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
551
+ }
552
+ if (region !== null && region !== undefined) {
553
+ localVarQueryParameter['region'] = region;
554
+ }
555
+ if (carrier !== null && carrier !== undefined) {
556
+ localVarQueryParameter['carrier'] = carrier;
557
+ }
558
+ options.queryParams = localVarQueryParameter;
559
+ options.headers = localVarHeaderParameter;
560
+ return options;
561
+ },
562
+ /**
563
+ * - 下载统计指标数据表格文件。
564
+ *
565
+ * - 支持下载90天内的指标数据。
566
+ *
567
+ * - 时间跨度不能超过31天。
568
+ *
569
+ * - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
570
+ *
571
+ * - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
572
+ *
573
+ * - 单租户调用频率:10次/min。
574
+ *
575
+ * Please refer to HUAWEI cloud API Explorer for details.
576
+ */
577
+ downloadStatisticsExcel(downloadStatisticsExcelRequest) {
578
+ const options = {
579
+ method: "GET",
580
+ url: "/v1.0/cdn/statistics/statistics-excel",
581
+ contentType: "application/json",
582
+ queryParams: {},
583
+ pathParams: {},
584
+ headers: {}
585
+ };
586
+ const localVarHeaderParameter = {};
587
+ const localVarQueryParameter = {};
588
+ let startTime;
589
+ let endTime;
590
+ let domainName;
591
+ let excelType;
592
+ let excelLanguage;
593
+ let serviceArea;
594
+ let interval;
595
+ let enterpriseProjectId;
596
+ if (downloadStatisticsExcelRequest !== null && downloadStatisticsExcelRequest !== undefined) {
597
+ if (downloadStatisticsExcelRequest instanceof DownloadStatisticsExcelRequest_1.DownloadStatisticsExcelRequest) {
598
+ startTime = downloadStatisticsExcelRequest.startTime;
599
+ endTime = downloadStatisticsExcelRequest.endTime;
600
+ domainName = downloadStatisticsExcelRequest.domainName;
601
+ excelType = downloadStatisticsExcelRequest.excelType;
602
+ excelLanguage = downloadStatisticsExcelRequest.excelLanguage;
603
+ serviceArea = downloadStatisticsExcelRequest.serviceArea;
604
+ interval = downloadStatisticsExcelRequest.interval;
605
+ enterpriseProjectId = downloadStatisticsExcelRequest.enterpriseProjectId;
606
+ }
607
+ else {
608
+ startTime = downloadStatisticsExcelRequest['start_time'];
609
+ endTime = downloadStatisticsExcelRequest['end_time'];
610
+ domainName = downloadStatisticsExcelRequest['domain_name'];
611
+ excelType = downloadStatisticsExcelRequest['excel_type'];
612
+ excelLanguage = downloadStatisticsExcelRequest['excel_language'];
613
+ serviceArea = downloadStatisticsExcelRequest['service_area'];
614
+ interval = downloadStatisticsExcelRequest['interval'];
615
+ enterpriseProjectId = downloadStatisticsExcelRequest['enterprise_project_id'];
616
+ }
617
+ }
618
+ if (startTime === null || startTime === undefined) {
619
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling downloadStatisticsExcel.');
620
+ }
621
+ if (startTime !== null && startTime !== undefined) {
622
+ localVarQueryParameter['start_time'] = startTime;
623
+ }
624
+ if (endTime === null || endTime === undefined) {
625
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling downloadStatisticsExcel.');
626
+ }
627
+ if (endTime !== null && endTime !== undefined) {
628
+ localVarQueryParameter['end_time'] = endTime;
629
+ }
630
+ if (domainName === null || domainName === undefined) {
631
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling downloadStatisticsExcel.');
632
+ }
633
+ if (domainName !== null && domainName !== undefined) {
634
+ localVarQueryParameter['domain_name'] = domainName;
635
+ }
636
+ if (excelType === null || excelType === undefined) {
637
+ throw new RequiredError('excelType', 'Required parameter excelType was null or undefined when calling downloadStatisticsExcel.');
638
+ }
639
+ if (excelType !== null && excelType !== undefined) {
640
+ localVarQueryParameter['excel_type'] = excelType;
641
+ }
642
+ if (excelLanguage !== null && excelLanguage !== undefined) {
643
+ localVarQueryParameter['excel_language'] = excelLanguage;
644
+ }
645
+ if (serviceArea !== null && serviceArea !== undefined) {
646
+ localVarQueryParameter['service_area'] = serviceArea;
647
+ }
648
+ if (interval !== null && interval !== undefined) {
649
+ localVarQueryParameter['interval'] = interval;
650
+ }
651
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
652
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
653
+ }
654
+ options.queryParams = localVarQueryParameter;
655
+ options.headers = localVarHeaderParameter;
656
+ return options;
657
+ },
658
+ /**
659
+ * 查询加速域名。
660
+ *
661
+ * Please refer to HUAWEI cloud API Explorer for details.
662
+ */
663
+ listDomains(listDomainsRequest) {
664
+ const options = {
665
+ method: "GET",
666
+ url: "/v1.0/cdn/domains",
667
+ contentType: "application/json",
668
+ queryParams: {},
669
+ pathParams: {},
670
+ headers: {}
671
+ };
672
+ const localVarHeaderParameter = {};
673
+ const localVarQueryParameter = {};
674
+ let domainName;
675
+ let businessType;
676
+ let domainStatus;
677
+ let serviceArea;
678
+ let pageSize;
679
+ let pageNumber;
680
+ let showTags;
681
+ let exactMatch;
682
+ let enterpriseProjectId;
683
+ if (listDomainsRequest !== null && listDomainsRequest !== undefined) {
684
+ if (listDomainsRequest instanceof ListDomainsRequest_1.ListDomainsRequest) {
685
+ domainName = listDomainsRequest.domainName;
686
+ businessType = listDomainsRequest.businessType;
687
+ domainStatus = listDomainsRequest.domainStatus;
688
+ serviceArea = listDomainsRequest.serviceArea;
689
+ pageSize = listDomainsRequest.pageSize;
690
+ pageNumber = listDomainsRequest.pageNumber;
691
+ showTags = listDomainsRequest.showTags;
692
+ exactMatch = listDomainsRequest.exactMatch;
693
+ enterpriseProjectId = listDomainsRequest.enterpriseProjectId;
694
+ }
695
+ else {
696
+ domainName = listDomainsRequest['domain_name'];
697
+ businessType = listDomainsRequest['business_type'];
698
+ domainStatus = listDomainsRequest['domain_status'];
699
+ serviceArea = listDomainsRequest['service_area'];
700
+ pageSize = listDomainsRequest['page_size'];
701
+ pageNumber = listDomainsRequest['page_number'];
702
+ showTags = listDomainsRequest['show_tags'];
703
+ exactMatch = listDomainsRequest['exact_match'];
704
+ enterpriseProjectId = listDomainsRequest['enterprise_project_id'];
705
+ }
706
+ }
707
+ if (domainName !== null && domainName !== undefined) {
708
+ localVarQueryParameter['domain_name'] = domainName;
709
+ }
710
+ if (businessType !== null && businessType !== undefined) {
711
+ localVarQueryParameter['business_type'] = businessType;
712
+ }
713
+ if (domainStatus !== null && domainStatus !== undefined) {
714
+ localVarQueryParameter['domain_status'] = domainStatus;
715
+ }
716
+ if (serviceArea !== null && serviceArea !== undefined) {
717
+ localVarQueryParameter['service_area'] = serviceArea;
718
+ }
719
+ if (pageSize !== null && pageSize !== undefined) {
720
+ localVarQueryParameter['page_size'] = pageSize;
721
+ }
722
+ if (pageNumber !== null && pageNumber !== undefined) {
723
+ localVarQueryParameter['page_number'] = pageNumber;
724
+ }
725
+ if (showTags !== null && showTags !== undefined) {
726
+ localVarQueryParameter['show_tags'] = showTags;
727
+ }
728
+ if (exactMatch !== null && exactMatch !== undefined) {
729
+ localVarQueryParameter['exact_match'] = exactMatch;
730
+ }
731
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
732
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
733
+ }
734
+ options.queryParams = localVarQueryParameter;
735
+ options.headers = localVarHeaderParameter;
736
+ return options;
737
+ },
738
+ /**
739
+ * - 设置用户计费模式。
740
+ *
741
+ * - 服务区域仅支持mainland_china(国内)
742
+ *
743
+ * - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
744
+ *
745
+ * - 加速类型仅支持base(基础加速)
746
+ *
747
+ * - 单租户调用频率:10次/min。
748
+ *
749
+ * Please refer to HUAWEI cloud API Explorer for details.
750
+ */
751
+ setChargeModes(setChargeModesRequest) {
752
+ const options = {
753
+ method: "PUT",
754
+ url: "/v1.0/cdn/charge/charge-modes",
755
+ contentType: "application/json",
756
+ queryParams: {},
757
+ pathParams: {},
758
+ headers: {},
759
+ data: {}
760
+ };
761
+ const localVarHeaderParameter = {};
762
+ let body;
763
+ if (setChargeModesRequest !== null && setChargeModesRequest !== undefined) {
764
+ if (setChargeModesRequest instanceof SetChargeModesRequest_1.SetChargeModesRequest) {
765
+ body = setChargeModesRequest.body;
766
+ }
767
+ else {
768
+ body = setChargeModesRequest['body'];
769
+ }
770
+ }
771
+ if (body === null || body === undefined) {
772
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
773
+ }
774
+ localVarHeaderParameter['Content-Type'] = 'application/json';
775
+ options.data = body !== undefined ? body : {};
776
+ options.headers = localVarHeaderParameter;
777
+ return options;
778
+ },
779
+ /**
780
+ * - 查询域名带宽峰值类数据。
781
+ *
782
+ * - 支持查询90天内的数据。
783
+ *
784
+ * - 查询时间跨度不能超过31天。
785
+ *
786
+ * - 起始时间和结束时间,左闭右开。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
787
+ *
788
+ * - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
789
+ *
790
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、峰值类指标单位统一为bps(比特率),请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
791
+ *
792
+ * - 单租户调用频率:2次/s。
793
+ *
794
+ * Please refer to HUAWEI cloud API Explorer for details.
795
+ */
796
+ showBandwidthCalc(showBandwidthCalcRequest) {
797
+ const options = {
798
+ method: "GET",
799
+ url: "/v1.0/cdn/statistics/bandwidth-calc",
800
+ contentType: "application/json",
801
+ queryParams: {},
802
+ pathParams: {},
803
+ headers: {}
804
+ };
805
+ const localVarHeaderParameter = {};
806
+ const localVarQueryParameter = {};
807
+ let startTime;
808
+ let endTime;
809
+ let domainName;
810
+ let calcType;
811
+ let serviceArea;
812
+ let enterpriseProjectId;
813
+ if (showBandwidthCalcRequest !== null && showBandwidthCalcRequest !== undefined) {
814
+ if (showBandwidthCalcRequest instanceof ShowBandwidthCalcRequest_1.ShowBandwidthCalcRequest) {
815
+ startTime = showBandwidthCalcRequest.startTime;
816
+ endTime = showBandwidthCalcRequest.endTime;
817
+ domainName = showBandwidthCalcRequest.domainName;
818
+ calcType = showBandwidthCalcRequest.calcType;
819
+ serviceArea = showBandwidthCalcRequest.serviceArea;
820
+ enterpriseProjectId = showBandwidthCalcRequest.enterpriseProjectId;
821
+ }
822
+ else {
823
+ startTime = showBandwidthCalcRequest['start_time'];
824
+ endTime = showBandwidthCalcRequest['end_time'];
825
+ domainName = showBandwidthCalcRequest['domain_name'];
826
+ calcType = showBandwidthCalcRequest['calc_type'];
827
+ serviceArea = showBandwidthCalcRequest['service_area'];
828
+ enterpriseProjectId = showBandwidthCalcRequest['enterprise_project_id'];
829
+ }
830
+ }
831
+ if (startTime === null || startTime === undefined) {
832
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showBandwidthCalc.');
833
+ }
834
+ if (startTime !== null && startTime !== undefined) {
835
+ localVarQueryParameter['start_time'] = startTime;
836
+ }
837
+ if (endTime === null || endTime === undefined) {
838
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showBandwidthCalc.');
839
+ }
840
+ if (endTime !== null && endTime !== undefined) {
841
+ localVarQueryParameter['end_time'] = endTime;
842
+ }
843
+ if (domainName === null || domainName === undefined) {
844
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling showBandwidthCalc.');
845
+ }
846
+ if (domainName !== null && domainName !== undefined) {
847
+ localVarQueryParameter['domain_name'] = domainName;
848
+ }
849
+ if (calcType === null || calcType === undefined) {
850
+ throw new RequiredError('calcType', 'Required parameter calcType was null or undefined when calling showBandwidthCalc.');
851
+ }
852
+ if (calcType !== null && calcType !== undefined) {
853
+ localVarQueryParameter['calc_type'] = calcType;
854
+ }
855
+ if (serviceArea !== null && serviceArea !== undefined) {
856
+ localVarQueryParameter['service_area'] = serviceArea;
857
+ }
858
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
859
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
860
+ }
861
+ options.queryParams = localVarQueryParameter;
862
+ options.headers = localVarHeaderParameter;
863
+ return options;
864
+ },
865
+ /**
866
+ * - 查询用户计费模式。
867
+ *
868
+ * - 服务区域仅支持mainland_china(国内,默认)和outside_mainland_china(海外)
869
+ *
870
+ * - 计费模式状态支持active(已生效),upcoming(待生效)两种状态,默认为active(已生效)
871
+ *
872
+ * - 加速类型仅支持base(基础加速)
873
+ *
874
+ * - 单租户调用频率:5次/s。
875
+ *
876
+ * Please refer to HUAWEI cloud API Explorer for details.
877
+ */
878
+ showChargeModes(showChargeModesRequest) {
879
+ const options = {
880
+ method: "GET",
881
+ url: "/v1.0/cdn/charge/charge-modes",
882
+ contentType: "application/json",
883
+ queryParams: {},
884
+ pathParams: {},
885
+ headers: {}
886
+ };
887
+ const localVarHeaderParameter = {};
888
+ const localVarQueryParameter = {};
889
+ let productType;
890
+ let status;
891
+ let serviceArea;
892
+ if (showChargeModesRequest !== null && showChargeModesRequest !== undefined) {
893
+ if (showChargeModesRequest instanceof ShowChargeModesRequest_1.ShowChargeModesRequest) {
894
+ productType = showChargeModesRequest.productType;
895
+ status = showChargeModesRequest.status;
896
+ serviceArea = showChargeModesRequest.serviceArea;
897
+ }
898
+ else {
899
+ productType = showChargeModesRequest['product_type'];
900
+ status = showChargeModesRequest['status'];
901
+ serviceArea = showChargeModesRequest['service_area'];
902
+ }
903
+ }
904
+ if (productType === null || productType === undefined) {
905
+ throw new RequiredError('productType', 'Required parameter productType was null or undefined when calling showChargeModes.');
906
+ }
907
+ if (productType !== null && productType !== undefined) {
908
+ localVarQueryParameter['product_type'] = productType;
909
+ }
910
+ if (status !== null && status !== undefined) {
911
+ localVarQueryParameter['status'] = status;
912
+ }
913
+ if (serviceArea !== null && serviceArea !== undefined) {
914
+ localVarQueryParameter['service_area'] = serviceArea;
915
+ }
916
+ options.queryParams = localVarQueryParameter;
917
+ options.headers = localVarHeaderParameter;
918
+ return options;
919
+ },
920
+ /**
921
+ * 加速域名详情信息接口。
922
+ *
923
+ * Please refer to HUAWEI cloud API Explorer for details.
924
+ */
925
+ showDomainDetailByName(showDomainDetailByNameRequest) {
926
+ const options = {
927
+ method: "GET",
928
+ url: "/v1.0/cdn/configuration/domains/{domain_name}",
929
+ contentType: "application/json",
930
+ queryParams: {},
931
+ pathParams: {},
932
+ headers: {}
933
+ };
934
+ const localVarHeaderParameter = {};
935
+ const localVarQueryParameter = {};
936
+ let domainName;
937
+ let enterpriseProjectId;
938
+ if (showDomainDetailByNameRequest !== null && showDomainDetailByNameRequest !== undefined) {
939
+ if (showDomainDetailByNameRequest instanceof ShowDomainDetailByNameRequest_1.ShowDomainDetailByNameRequest) {
940
+ domainName = showDomainDetailByNameRequest.domainName;
941
+ enterpriseProjectId = showDomainDetailByNameRequest.enterpriseProjectId;
942
+ }
943
+ else {
944
+ domainName = showDomainDetailByNameRequest['domain_name'];
945
+ enterpriseProjectId = showDomainDetailByNameRequest['enterprise_project_id'];
946
+ }
947
+ }
948
+ if (domainName === null || domainName === undefined) {
949
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling showDomainDetailByName.');
950
+ }
951
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
952
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
953
+ }
954
+ options.queryParams = localVarQueryParameter;
955
+ options.pathParams = { 'domain_name': domainName, };
956
+ options.headers = localVarHeaderParameter;
957
+ return options;
958
+ },
959
+ /**
960
+ * 查询域名配置接口,
961
+ * 支持查询回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
962
+ *
963
+ * Please refer to HUAWEI cloud API Explorer for details.
964
+ */
965
+ showDomainFullConfig(showDomainFullConfigRequest) {
966
+ const options = {
967
+ method: "GET",
968
+ url: "/v1.1/cdn/configuration/domains/{domain_name}/configs",
969
+ contentType: "application/json",
970
+ queryParams: {},
971
+ pathParams: {},
972
+ headers: {}
973
+ };
974
+ const localVarHeaderParameter = {};
975
+ const localVarQueryParameter = {};
976
+ let domainName;
977
+ let enterpriseProjectId;
978
+ let showSpecialConfigs;
979
+ if (showDomainFullConfigRequest !== null && showDomainFullConfigRequest !== undefined) {
980
+ if (showDomainFullConfigRequest instanceof ShowDomainFullConfigRequest_1.ShowDomainFullConfigRequest) {
981
+ domainName = showDomainFullConfigRequest.domainName;
982
+ enterpriseProjectId = showDomainFullConfigRequest.enterpriseProjectId;
983
+ showSpecialConfigs = showDomainFullConfigRequest.showSpecialConfigs;
984
+ }
985
+ else {
986
+ domainName = showDomainFullConfigRequest['domain_name'];
987
+ enterpriseProjectId = showDomainFullConfigRequest['enterprise_project_id'];
988
+ showSpecialConfigs = showDomainFullConfigRequest['show_special_configs'];
989
+ }
990
+ }
991
+ if (domainName === null || domainName === undefined) {
992
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling showDomainFullConfig.');
993
+ }
994
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
995
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
996
+ }
997
+ if (showSpecialConfigs !== null && showSpecialConfigs !== undefined) {
998
+ localVarQueryParameter['show_special_configs'] = showSpecialConfigs;
999
+ }
1000
+ options.queryParams = localVarQueryParameter;
1001
+ options.pathParams = { 'domain_name': domainName, };
1002
+ options.headers = localVarHeaderParameter;
1003
+ return options;
1004
+ },
1005
+ /**
1006
+ * - 支持查询90天内的数据。
1007
+ *
1008
+ * - 支持多指标同时查询,不超过5个。
1009
+ *
1010
+ * - 最多同时指定20个域名。
1011
+ *
1012
+ * - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
1013
+ *
1014
+ * - action取值:location_detail,location_summary
1015
+ *
1016
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的区域运营商明细数据。
1017
+ *
1018
+ * - 单租户调用频率:15次/s。
1019
+ *
1020
+ * Please refer to HUAWEI cloud API Explorer for details.
1021
+ */
1022
+ showDomainLocationStats(showDomainLocationStatsRequest) {
1023
+ const options = {
1024
+ method: "GET",
1025
+ url: "/v1.0/cdn/statistics/domain-location-stats",
1026
+ contentType: "application/json",
1027
+ queryParams: {},
1028
+ pathParams: {},
1029
+ headers: {}
1030
+ };
1031
+ const localVarHeaderParameter = {};
1032
+ const localVarQueryParameter = {};
1033
+ let action;
1034
+ let startTime;
1035
+ let endTime;
1036
+ let domainName;
1037
+ let statType;
1038
+ let interval;
1039
+ let country;
1040
+ let province;
1041
+ let isp;
1042
+ let groupBy;
1043
+ let enterpriseProjectId;
1044
+ if (showDomainLocationStatsRequest !== null && showDomainLocationStatsRequest !== undefined) {
1045
+ if (showDomainLocationStatsRequest instanceof ShowDomainLocationStatsRequest_1.ShowDomainLocationStatsRequest) {
1046
+ action = showDomainLocationStatsRequest.action;
1047
+ startTime = showDomainLocationStatsRequest.startTime;
1048
+ endTime = showDomainLocationStatsRequest.endTime;
1049
+ domainName = showDomainLocationStatsRequest.domainName;
1050
+ statType = showDomainLocationStatsRequest.statType;
1051
+ interval = showDomainLocationStatsRequest.interval;
1052
+ country = showDomainLocationStatsRequest.country;
1053
+ province = showDomainLocationStatsRequest.province;
1054
+ isp = showDomainLocationStatsRequest.isp;
1055
+ groupBy = showDomainLocationStatsRequest.groupBy;
1056
+ enterpriseProjectId = showDomainLocationStatsRequest.enterpriseProjectId;
1057
+ }
1058
+ else {
1059
+ action = showDomainLocationStatsRequest['action'];
1060
+ startTime = showDomainLocationStatsRequest['start_time'];
1061
+ endTime = showDomainLocationStatsRequest['end_time'];
1062
+ domainName = showDomainLocationStatsRequest['domain_name'];
1063
+ statType = showDomainLocationStatsRequest['stat_type'];
1064
+ interval = showDomainLocationStatsRequest['interval'];
1065
+ country = showDomainLocationStatsRequest['country'];
1066
+ province = showDomainLocationStatsRequest['province'];
1067
+ isp = showDomainLocationStatsRequest['isp'];
1068
+ groupBy = showDomainLocationStatsRequest['group_by'];
1069
+ enterpriseProjectId = showDomainLocationStatsRequest['enterprise_project_id'];
1070
+ }
1071
+ }
1072
+ if (action === null || action === undefined) {
1073
+ throw new RequiredError('action', 'Required parameter action was null or undefined when calling showDomainLocationStats.');
1074
+ }
1075
+ if (action !== null && action !== undefined) {
1076
+ localVarQueryParameter['action'] = action;
1077
+ }
1078
+ if (startTime === null || startTime === undefined) {
1079
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showDomainLocationStats.');
1080
+ }
1081
+ if (startTime !== null && startTime !== undefined) {
1082
+ localVarQueryParameter['start_time'] = startTime;
1083
+ }
1084
+ if (endTime === null || endTime === undefined) {
1085
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showDomainLocationStats.');
1086
+ }
1087
+ if (endTime !== null && endTime !== undefined) {
1088
+ localVarQueryParameter['end_time'] = endTime;
1089
+ }
1090
+ if (domainName === null || domainName === undefined) {
1091
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling showDomainLocationStats.');
1092
+ }
1093
+ if (domainName !== null && domainName !== undefined) {
1094
+ localVarQueryParameter['domain_name'] = domainName;
1095
+ }
1096
+ if (statType === null || statType === undefined) {
1097
+ throw new RequiredError('statType', 'Required parameter statType was null or undefined when calling showDomainLocationStats.');
1098
+ }
1099
+ if (statType !== null && statType !== undefined) {
1100
+ localVarQueryParameter['stat_type'] = statType;
1101
+ }
1102
+ if (interval !== null && interval !== undefined) {
1103
+ localVarQueryParameter['interval'] = interval;
1104
+ }
1105
+ if (country !== null && country !== undefined) {
1106
+ localVarQueryParameter['country'] = country;
1107
+ }
1108
+ if (province !== null && province !== undefined) {
1109
+ localVarQueryParameter['province'] = province;
1110
+ }
1111
+ if (isp !== null && isp !== undefined) {
1112
+ localVarQueryParameter['isp'] = isp;
1113
+ }
1114
+ if (groupBy !== null && groupBy !== undefined) {
1115
+ localVarQueryParameter['group_by'] = groupBy;
1116
+ }
1117
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1118
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1119
+ }
1120
+ options.queryParams = localVarQueryParameter;
1121
+ options.headers = localVarHeaderParameter;
1122
+ return options;
1123
+ },
1124
+ /**
1125
+ * - 支持查询90天内的数据。
1126
+ *
1127
+ * - 支持多指标同时查询,不超过5个。
1128
+ *
1129
+ * - 最多同时指定20个域名。
1130
+ *
1131
+ * - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
1132
+ *
1133
+ * - action取值:detail,summary
1134
+ *
1135
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
1136
+ *
1137
+ * - 单租户调用频率:15次/s。
1138
+ *
1139
+ * Please refer to HUAWEI cloud API Explorer for details.
1140
+ */
1141
+ showDomainStats(showDomainStatsRequest) {
1142
+ const options = {
1143
+ method: "GET",
1144
+ url: "/v1.0/cdn/statistics/domain-stats",
1145
+ contentType: "application/json",
1146
+ queryParams: {},
1147
+ pathParams: {},
1148
+ headers: {}
1149
+ };
1150
+ const localVarHeaderParameter = {};
1151
+ const localVarQueryParameter = {};
1152
+ let action;
1153
+ let startTime;
1154
+ let endTime;
1155
+ let domainName;
1156
+ let statType;
1157
+ let interval;
1158
+ let groupBy;
1159
+ let serviceArea;
1160
+ let enterpriseProjectId;
1161
+ if (showDomainStatsRequest !== null && showDomainStatsRequest !== undefined) {
1162
+ if (showDomainStatsRequest instanceof ShowDomainStatsRequest_1.ShowDomainStatsRequest) {
1163
+ action = showDomainStatsRequest.action;
1164
+ startTime = showDomainStatsRequest.startTime;
1165
+ endTime = showDomainStatsRequest.endTime;
1166
+ domainName = showDomainStatsRequest.domainName;
1167
+ statType = showDomainStatsRequest.statType;
1168
+ interval = showDomainStatsRequest.interval;
1169
+ groupBy = showDomainStatsRequest.groupBy;
1170
+ serviceArea = showDomainStatsRequest.serviceArea;
1171
+ enterpriseProjectId = showDomainStatsRequest.enterpriseProjectId;
1172
+ }
1173
+ else {
1174
+ action = showDomainStatsRequest['action'];
1175
+ startTime = showDomainStatsRequest['start_time'];
1176
+ endTime = showDomainStatsRequest['end_time'];
1177
+ domainName = showDomainStatsRequest['domain_name'];
1178
+ statType = showDomainStatsRequest['stat_type'];
1179
+ interval = showDomainStatsRequest['interval'];
1180
+ groupBy = showDomainStatsRequest['group_by'];
1181
+ serviceArea = showDomainStatsRequest['service_area'];
1182
+ enterpriseProjectId = showDomainStatsRequest['enterprise_project_id'];
1183
+ }
1184
+ }
1185
+ if (action === null || action === undefined) {
1186
+ throw new RequiredError('action', 'Required parameter action was null or undefined when calling showDomainStats.');
1187
+ }
1188
+ if (action !== null && action !== undefined) {
1189
+ localVarQueryParameter['action'] = action;
1190
+ }
1191
+ if (startTime === null || startTime === undefined) {
1192
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showDomainStats.');
1193
+ }
1194
+ if (startTime !== null && startTime !== undefined) {
1195
+ localVarQueryParameter['start_time'] = startTime;
1196
+ }
1197
+ if (endTime === null || endTime === undefined) {
1198
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showDomainStats.');
1199
+ }
1200
+ if (endTime !== null && endTime !== undefined) {
1201
+ localVarQueryParameter['end_time'] = endTime;
1202
+ }
1203
+ if (domainName === null || domainName === undefined) {
1204
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling showDomainStats.');
1205
+ }
1206
+ if (domainName !== null && domainName !== undefined) {
1207
+ localVarQueryParameter['domain_name'] = domainName;
1208
+ }
1209
+ if (statType === null || statType === undefined) {
1210
+ throw new RequiredError('statType', 'Required parameter statType was null or undefined when calling showDomainStats.');
1211
+ }
1212
+ if (statType !== null && statType !== undefined) {
1213
+ localVarQueryParameter['stat_type'] = statType;
1214
+ }
1215
+ if (interval !== null && interval !== undefined) {
1216
+ localVarQueryParameter['interval'] = interval;
1217
+ }
1218
+ if (groupBy !== null && groupBy !== undefined) {
1219
+ localVarQueryParameter['group_by'] = groupBy;
1220
+ }
1221
+ if (serviceArea !== null && serviceArea !== undefined) {
1222
+ localVarQueryParameter['service_area'] = serviceArea;
1223
+ }
1224
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1225
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1226
+ }
1227
+ options.queryParams = localVarQueryParameter;
1228
+ options.headers = localVarHeaderParameter;
1229
+ return options;
1230
+ },
1231
+ /**
1232
+ * - 查询TOP域名。
1233
+ *
1234
+ * - 支持查询90天内的数据。
1235
+ *
1236
+ * - 查询时间跨度不能超过1天。
1237
+ *
1238
+ * - 起始时间和结束时间,左闭右开,必须同时指定。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
1239
+ *
1240
+ * - 起始时间、结束时间必须传整点毫秒级时间戳。
1241
+ *
1242
+ * - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
1243
+ *
1244
+ * - 单租户调用频率:5次/s。
1245
+ *
1246
+ * Please refer to HUAWEI cloud API Explorer for details.
1247
+ */
1248
+ showTopDomainNames(showTopDomainNamesRequest) {
1249
+ const options = {
1250
+ method: "GET",
1251
+ url: "/v1/cdn/statistics/top-domain-names",
1252
+ contentType: "application/json",
1253
+ queryParams: {},
1254
+ pathParams: {},
1255
+ headers: {}
1256
+ };
1257
+ const localVarHeaderParameter = {};
1258
+ const localVarQueryParameter = {};
1259
+ let startTime;
1260
+ let endTime;
1261
+ let statType;
1262
+ let serviceArea;
1263
+ let limit;
1264
+ let enterpriseProjectId;
1265
+ if (showTopDomainNamesRequest !== null && showTopDomainNamesRequest !== undefined) {
1266
+ if (showTopDomainNamesRequest instanceof ShowTopDomainNamesRequest_1.ShowTopDomainNamesRequest) {
1267
+ startTime = showTopDomainNamesRequest.startTime;
1268
+ endTime = showTopDomainNamesRequest.endTime;
1269
+ statType = showTopDomainNamesRequest.statType;
1270
+ serviceArea = showTopDomainNamesRequest.serviceArea;
1271
+ limit = showTopDomainNamesRequest.limit;
1272
+ enterpriseProjectId = showTopDomainNamesRequest.enterpriseProjectId;
1273
+ }
1274
+ else {
1275
+ startTime = showTopDomainNamesRequest['start_time'];
1276
+ endTime = showTopDomainNamesRequest['end_time'];
1277
+ statType = showTopDomainNamesRequest['stat_type'];
1278
+ serviceArea = showTopDomainNamesRequest['service_area'];
1279
+ limit = showTopDomainNamesRequest['limit'];
1280
+ enterpriseProjectId = showTopDomainNamesRequest['enterprise_project_id'];
1281
+ }
1282
+ }
1283
+ if (startTime === null || startTime === undefined) {
1284
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showTopDomainNames.');
1285
+ }
1286
+ if (startTime !== null && startTime !== undefined) {
1287
+ localVarQueryParameter['start_time'] = startTime;
1288
+ }
1289
+ if (endTime === null || endTime === undefined) {
1290
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showTopDomainNames.');
1291
+ }
1292
+ if (endTime !== null && endTime !== undefined) {
1293
+ localVarQueryParameter['end_time'] = endTime;
1294
+ }
1295
+ if (statType === null || statType === undefined) {
1296
+ throw new RequiredError('statType', 'Required parameter statType was null or undefined when calling showTopDomainNames.');
1297
+ }
1298
+ if (statType !== null && statType !== undefined) {
1299
+ localVarQueryParameter['stat_type'] = statType;
1300
+ }
1301
+ if (serviceArea !== null && serviceArea !== undefined) {
1302
+ localVarQueryParameter['service_area'] = serviceArea;
1303
+ }
1304
+ if (limit !== null && limit !== undefined) {
1305
+ localVarQueryParameter['limit'] = limit;
1306
+ }
1307
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1308
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1309
+ }
1310
+ options.queryParams = localVarQueryParameter;
1311
+ options.headers = localVarHeaderParameter;
1312
+ return options;
1313
+ },
1314
+ /**
1315
+ * - 查询TOP100 URL明细。
1316
+ *
1317
+ * - 支持查询90天内的数据。
1318
+ *
1319
+ * - 查询跨度不能超过31天。
1320
+ *
1321
+ * - 起始时间和结束时间,左闭右开,需要同时指定。如查询2021-10-24 00:00:00 到 2021-10-25 00:00:00 的数据,表示取 [2021-10-24 00:00:00, 2021-10-25 00:00:00)的统计数据。
1322
+ *
1323
+ * - 开始时间、结束时间必须传毫秒级时间戳,且必须为凌晨0点整时刻点,如果传的不是凌晨0点整时刻点,返回数据可能与预期不一致。
1324
+ *
1325
+ * - 流量类指标单位统一为Byte(字节)、请求数类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
1326
+ *
1327
+ * - 单租户调用频率:5次/s。
1328
+ *
1329
+ * Please refer to HUAWEI cloud API Explorer for details.
1330
+ */
1331
+ showTopUrl(showTopUrlRequest) {
1332
+ const options = {
1333
+ method: "GET",
1334
+ url: "/v1.0/cdn/statistics/top-url",
1335
+ contentType: "application/json",
1336
+ queryParams: {},
1337
+ pathParams: {},
1338
+ headers: {}
1339
+ };
1340
+ const localVarHeaderParameter = {};
1341
+ const localVarQueryParameter = {};
1342
+ let startTime;
1343
+ let endTime;
1344
+ let domainName;
1345
+ let statType;
1346
+ let serviceArea;
1347
+ let enterpriseProjectId;
1348
+ if (showTopUrlRequest !== null && showTopUrlRequest !== undefined) {
1349
+ if (showTopUrlRequest instanceof ShowTopUrlRequest_1.ShowTopUrlRequest) {
1350
+ startTime = showTopUrlRequest.startTime;
1351
+ endTime = showTopUrlRequest.endTime;
1352
+ domainName = showTopUrlRequest.domainName;
1353
+ statType = showTopUrlRequest.statType;
1354
+ serviceArea = showTopUrlRequest.serviceArea;
1355
+ enterpriseProjectId = showTopUrlRequest.enterpriseProjectId;
1356
+ }
1357
+ else {
1358
+ startTime = showTopUrlRequest['start_time'];
1359
+ endTime = showTopUrlRequest['end_time'];
1360
+ domainName = showTopUrlRequest['domain_name'];
1361
+ statType = showTopUrlRequest['stat_type'];
1362
+ serviceArea = showTopUrlRequest['service_area'];
1363
+ enterpriseProjectId = showTopUrlRequest['enterprise_project_id'];
1364
+ }
1365
+ }
1366
+ if (startTime === null || startTime === undefined) {
1367
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showTopUrl.');
1368
+ }
1369
+ if (startTime !== null && startTime !== undefined) {
1370
+ localVarQueryParameter['start_time'] = startTime;
1371
+ }
1372
+ if (endTime === null || endTime === undefined) {
1373
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showTopUrl.');
1374
+ }
1375
+ if (endTime !== null && endTime !== undefined) {
1376
+ localVarQueryParameter['end_time'] = endTime;
1377
+ }
1378
+ if (domainName === null || domainName === undefined) {
1379
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling showTopUrl.');
1380
+ }
1381
+ if (domainName !== null && domainName !== undefined) {
1382
+ localVarQueryParameter['domain_name'] = domainName;
1383
+ }
1384
+ if (statType === null || statType === undefined) {
1385
+ throw new RequiredError('statType', 'Required parameter statType was null or undefined when calling showTopUrl.');
1386
+ }
1387
+ if (statType !== null && statType !== undefined) {
1388
+ localVarQueryParameter['stat_type'] = statType;
1389
+ }
1390
+ if (serviceArea !== null && serviceArea !== undefined) {
1391
+ localVarQueryParameter['service_area'] = serviceArea;
1392
+ }
1393
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1394
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1395
+ }
1396
+ options.queryParams = localVarQueryParameter;
1397
+ options.headers = localVarHeaderParameter;
1398
+ return options;
1399
+ },
1400
+ /**
1401
+ * 修改域名配置接口,
1402
+ * 支持修改回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
1403
+ *
1404
+ * Please refer to HUAWEI cloud API Explorer for details.
1405
+ */
1406
+ updateDomainFullConfig(updateDomainFullConfigRequest) {
1407
+ const options = {
1408
+ method: "PUT",
1409
+ url: "/v1.1/cdn/configuration/domains/{domain_name}/configs",
1410
+ contentType: "application/json",
1411
+ queryParams: {},
1412
+ pathParams: {},
1413
+ headers: {},
1414
+ data: {}
1415
+ };
1416
+ const localVarHeaderParameter = {};
1417
+ const localVarQueryParameter = {};
1418
+ let body;
1419
+ let domainName;
1420
+ let enterpriseProjectId;
1421
+ if (updateDomainFullConfigRequest !== null && updateDomainFullConfigRequest !== undefined) {
1422
+ if (updateDomainFullConfigRequest instanceof UpdateDomainFullConfigRequest_1.UpdateDomainFullConfigRequest) {
1423
+ domainName = updateDomainFullConfigRequest.domainName;
1424
+ enterpriseProjectId = updateDomainFullConfigRequest.enterpriseProjectId;
1425
+ body = updateDomainFullConfigRequest.body;
1426
+ }
1427
+ else {
1428
+ domainName = updateDomainFullConfigRequest['domain_name'];
1429
+ enterpriseProjectId = updateDomainFullConfigRequest['enterprise_project_id'];
1430
+ body = updateDomainFullConfigRequest['body'];
1431
+ }
1432
+ }
1433
+ if (domainName === null || domainName === undefined) {
1434
+ throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling updateDomainFullConfig.');
1435
+ }
1436
+ if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
1437
+ localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
1438
+ }
1439
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1440
+ options.data = body !== undefined ? body : {};
1441
+ options.queryParams = localVarQueryParameter;
1442
+ options.pathParams = { 'domain_name': domainName, };
1443
+ options.headers = localVarHeaderParameter;
1444
+ return options;
1445
+ },
1446
+ };
1447
+ };
1448
+ exports.ParamCreater = ParamCreater;
1449
+ function newClient(client) {
1450
+ return new CdnClient(client);
1451
+ }
1452
+ /**
1453
+ *
1454
+ * @export
1455
+ * @class RequiredError
1456
+ * @extends {Error}
1457
+ */
1458
+ class RequiredError extends Error {
1459
+ constructor(field, msg) {
1460
+ super(msg);
1461
+ this.field = field;
1462
+ this.name = "RequiredError";
1463
+ }
1464
+ }
1465
+ exports.RequiredError = RequiredError;
1466
+ //# sourceMappingURL=CdnClient.js.map