@huaweicloud/huaweicloud-sdk-cdn 3.1.33 → 3.1.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. package/package.json +2 -2
  2. package/v1/model/CacheRules.d.ts +31 -0
  3. package/v1/model/CacheRules.js +107 -0
  4. package/v1/model/Configs.d.ts +17 -0
  5. package/v1/model/Configs.js +46 -0
  6. package/v1/model/ConfigsGetBody.d.ts +17 -0
  7. package/v1/model/ConfigsGetBody.js +46 -0
  8. package/v1/model/ForceRedirectConfig.d.ts +4 -0
  9. package/v1/model/ForceRedirectConfig.js +14 -0
  10. package/v1/model/IpFilter.d.ts +7 -0
  11. package/v1/model/IpFilter.js +18 -0
  12. package/v1/model/RefererConfig.d.ts +11 -0
  13. package/v1/model/RefererConfig.js +32 -0
  14. package/v1/public-api.d.ts +3 -0
  15. package/v1/public-api.js +3 -0
  16. package/v2/CdnClient.d.ts +57 -0
  17. package/v2/CdnClient.js +122 -0
  18. package/v2/model/CacheRules.d.ts +31 -0
  19. package/v2/model/CacheRules.js +107 -0
  20. package/v2/model/CacheUrlParameterFilter.d.ts +7 -0
  21. package/v2/model/CacheUrlParameterFilter.js +17 -0
  22. package/v2/model/Compress.d.ts +7 -0
  23. package/v2/model/Compress.js +18 -0
  24. package/v2/model/Configs.d.ts +86 -0
  25. package/v2/model/Configs.js +235 -0
  26. package/v2/model/ConfigsGetBody.d.ts +78 -0
  27. package/v2/model/ConfigsGetBody.js +207 -0
  28. package/v2/model/ErrorCodeCache.d.ts +23 -0
  29. package/v2/model/ErrorCodeCache.js +34 -0
  30. package/v2/model/ErrorCodeRedirectRules.d.ts +15 -0
  31. package/v2/model/ErrorCodeRedirectRules.js +54 -0
  32. package/v2/model/ForceRedirectConfig.d.ts +11 -0
  33. package/v2/model/ForceRedirectConfig.js +32 -0
  34. package/v2/model/HttpGetBody.d.ts +27 -0
  35. package/v2/model/HttpGetBody.js +93 -0
  36. package/v2/model/HttpPutBody.d.ts +31 -0
  37. package/v2/model/HttpPutBody.js +107 -0
  38. package/v2/model/HttpResponseHeader.d.ts +9 -0
  39. package/v2/model/HttpResponseHeader.js +23 -0
  40. package/v2/model/IpFilter.d.ts +7 -0
  41. package/v2/model/IpFilter.js +18 -0
  42. package/v2/model/ModifyDomainConfigRequestBody.d.ts +6 -0
  43. package/v2/model/ModifyDomainConfigRequestBody.js +13 -0
  44. package/v2/model/OriginRequestHeader.d.ts +9 -0
  45. package/v2/model/OriginRequestHeader.js +23 -0
  46. package/v2/model/OriginRequestUrlRewrite.d.ts +17 -0
  47. package/v2/model/OriginRequestUrlRewrite.js +58 -0
  48. package/v2/model/RefererConfig.d.ts +11 -0
  49. package/v2/model/RefererConfig.js +32 -0
  50. package/v2/model/ShowDomainFullConfigRequest.d.ts +11 -0
  51. package/v2/model/ShowDomainFullConfigRequest.js +38 -0
  52. package/v2/model/ShowDomainFullConfigResponse.d.ts +7 -0
  53. package/v2/model/ShowDomainFullConfigResponse.js +31 -0
  54. package/v2/model/UpdateDomainFullConfigRequest.d.ts +14 -0
  55. package/v2/model/UpdateDomainFullConfigRequest.js +42 -0
  56. package/v2/model/UpdateDomainFullConfigResponse.d.ts +4 -0
  57. package/v2/model/UpdateDomainFullConfigResponse.js +27 -0
  58. package/v2/model/UrlAuth.d.ts +17 -0
  59. package/v2/model/UrlAuth.js +50 -0
  60. package/v2/model/UrlAuthGetBody.d.ts +15 -0
  61. package/v2/model/UrlAuthGetBody.js +46 -0
  62. package/v2/model/UserAgentFilter.d.ts +7 -0
  63. package/v2/model/UserAgentFilter.js +18 -0
  64. package/v2/public-api.d.ts +23 -0
  65. package/v2/public-api.js +23 -0
@@ -0,0 +1,7 @@
1
+ export declare class UserAgentFilter {
2
+ type: string;
3
+ value?: string;
4
+ constructor(type?: any);
5
+ withType(type: string): UserAgentFilter;
6
+ withValue(value: string): UserAgentFilter;
7
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAgentFilter = void 0;
4
+ var UserAgentFilter = /** @class */ (function () {
5
+ function UserAgentFilter(type) {
6
+ this['type'] = type;
7
+ }
8
+ UserAgentFilter.prototype.withType = function (type) {
9
+ this['type'] = type;
10
+ return this;
11
+ };
12
+ UserAgentFilter.prototype.withValue = function (value) {
13
+ this['value'] = value;
14
+ return this;
15
+ };
16
+ return UserAgentFilter;
17
+ }());
18
+ exports.UserAgentFilter = UserAgentFilter;
@@ -6,6 +6,11 @@ export * from './model/BatchCopyDomainResponse';
6
6
  export * from './model/BatchCopyErrorRsp';
7
7
  export * from './model/BatchCopyErrorRspError';
8
8
  export * from './model/BatchCopyResultVo';
9
+ export * from './model/CacheRules';
10
+ export * from './model/CacheUrlParameterFilter';
11
+ export * from './model/Compress';
12
+ export * from './model/Configs';
13
+ export * from './model/ConfigsGetBody';
9
14
  export * from './model/DomainOriginHost';
10
15
  export * from './model/Domains';
11
16
  export * from './model/DomainsWithPort';
@@ -16,8 +21,19 @@ export * from './model/DownloadStatisticsExcelResponse';
16
21
  export * from './model/EpResourceTag';
17
22
  export * from './model/ErrMsg';
18
23
  export * from './model/ErrRsp';
24
+ export * from './model/ErrorCodeCache';
25
+ export * from './model/ErrorCodeRedirectRules';
26
+ export * from './model/ForceRedirectConfig';
27
+ export * from './model/HttpGetBody';
28
+ export * from './model/HttpPutBody';
29
+ export * from './model/HttpResponseHeader';
30
+ export * from './model/IpFilter';
19
31
  export * from './model/ListDomainsRequest';
20
32
  export * from './model/ListDomainsResponse';
33
+ export * from './model/ModifyDomainConfigRequestBody';
34
+ export * from './model/OriginRequestHeader';
35
+ export * from './model/OriginRequestUrlRewrite';
36
+ export * from './model/RefererConfig';
21
37
  export * from './model/SetChargeModesBody';
22
38
  export * from './model/SetChargeModesRequest';
23
39
  export * from './model/SetChargeModesResponse';
@@ -27,6 +43,8 @@ export * from './model/ShowChargeModesRequest';
27
43
  export * from './model/ShowChargeModesResponse';
28
44
  export * from './model/ShowDomainDetailByNameRequest';
29
45
  export * from './model/ShowDomainDetailByNameResponse';
46
+ export * from './model/ShowDomainFullConfigRequest';
47
+ export * from './model/ShowDomainFullConfigResponse';
30
48
  export * from './model/ShowDomainLocationStatsRequest';
31
49
  export * from './model/ShowDomainLocationStatsResponse';
32
50
  export * from './model/ShowDomainStatsRequest';
@@ -38,4 +56,9 @@ export * from './model/ShowTopUrlResponse';
38
56
  export * from './model/Sources';
39
57
  export * from './model/SourcesConfig';
40
58
  export * from './model/TopUrlSummary';
59
+ export * from './model/UpdateDomainFullConfigRequest';
60
+ export * from './model/UpdateDomainFullConfigResponse';
61
+ export * from './model/UrlAuth';
62
+ export * from './model/UrlAuthGetBody';
63
+ export * from './model/UserAgentFilter';
41
64
  export * from './CdnRegion';
package/v2/public-api.js CHANGED
@@ -22,6 +22,11 @@ __exportStar(require("./model/BatchCopyDomainResponse"), exports);
22
22
  __exportStar(require("./model/BatchCopyErrorRsp"), exports);
23
23
  __exportStar(require("./model/BatchCopyErrorRspError"), exports);
24
24
  __exportStar(require("./model/BatchCopyResultVo"), exports);
25
+ __exportStar(require("./model/CacheRules"), exports);
26
+ __exportStar(require("./model/CacheUrlParameterFilter"), exports);
27
+ __exportStar(require("./model/Compress"), exports);
28
+ __exportStar(require("./model/Configs"), exports);
29
+ __exportStar(require("./model/ConfigsGetBody"), exports);
25
30
  __exportStar(require("./model/DomainOriginHost"), exports);
26
31
  __exportStar(require("./model/Domains"), exports);
27
32
  __exportStar(require("./model/DomainsWithPort"), exports);
@@ -32,8 +37,19 @@ __exportStar(require("./model/DownloadStatisticsExcelResponse"), exports);
32
37
  __exportStar(require("./model/EpResourceTag"), exports);
33
38
  __exportStar(require("./model/ErrMsg"), exports);
34
39
  __exportStar(require("./model/ErrRsp"), exports);
40
+ __exportStar(require("./model/ErrorCodeCache"), exports);
41
+ __exportStar(require("./model/ErrorCodeRedirectRules"), exports);
42
+ __exportStar(require("./model/ForceRedirectConfig"), exports);
43
+ __exportStar(require("./model/HttpGetBody"), exports);
44
+ __exportStar(require("./model/HttpPutBody"), exports);
45
+ __exportStar(require("./model/HttpResponseHeader"), exports);
46
+ __exportStar(require("./model/IpFilter"), exports);
35
47
  __exportStar(require("./model/ListDomainsRequest"), exports);
36
48
  __exportStar(require("./model/ListDomainsResponse"), exports);
49
+ __exportStar(require("./model/ModifyDomainConfigRequestBody"), exports);
50
+ __exportStar(require("./model/OriginRequestHeader"), exports);
51
+ __exportStar(require("./model/OriginRequestUrlRewrite"), exports);
52
+ __exportStar(require("./model/RefererConfig"), exports);
37
53
  __exportStar(require("./model/SetChargeModesBody"), exports);
38
54
  __exportStar(require("./model/SetChargeModesRequest"), exports);
39
55
  __exportStar(require("./model/SetChargeModesResponse"), exports);
@@ -43,6 +59,8 @@ __exportStar(require("./model/ShowChargeModesRequest"), exports);
43
59
  __exportStar(require("./model/ShowChargeModesResponse"), exports);
44
60
  __exportStar(require("./model/ShowDomainDetailByNameRequest"), exports);
45
61
  __exportStar(require("./model/ShowDomainDetailByNameResponse"), exports);
62
+ __exportStar(require("./model/ShowDomainFullConfigRequest"), exports);
63
+ __exportStar(require("./model/ShowDomainFullConfigResponse"), exports);
46
64
  __exportStar(require("./model/ShowDomainLocationStatsRequest"), exports);
47
65
  __exportStar(require("./model/ShowDomainLocationStatsResponse"), exports);
48
66
  __exportStar(require("./model/ShowDomainStatsRequest"), exports);
@@ -54,4 +72,9 @@ __exportStar(require("./model/ShowTopUrlResponse"), exports);
54
72
  __exportStar(require("./model/Sources"), exports);
55
73
  __exportStar(require("./model/SourcesConfig"), exports);
56
74
  __exportStar(require("./model/TopUrlSummary"), exports);
75
+ __exportStar(require("./model/UpdateDomainFullConfigRequest"), exports);
76
+ __exportStar(require("./model/UpdateDomainFullConfigResponse"), exports);
77
+ __exportStar(require("./model/UrlAuth"), exports);
78
+ __exportStar(require("./model/UrlAuthGetBody"), exports);
79
+ __exportStar(require("./model/UserAgentFilter"), exports);
57
80
  __exportStar(require("./CdnRegion"), exports);