@alicloud/esa20240910 2.28.0 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/client.d.ts +20 -0
  2. package/dist/client.js +297 -172
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateRoutineRouteRequest.d.ts +1 -0
  5. package/dist/models/CreateRoutineRouteRequest.js +2 -0
  6. package/dist/models/CreateRoutineRouteRequest.js.map +1 -1
  7. package/dist/models/DescribeUrlObservationDataRequest.d.ts +46 -0
  8. package/dist/models/DescribeUrlObservationDataRequest.js +68 -0
  9. package/dist/models/DescribeUrlObservationDataRequest.js.map +1 -0
  10. package/dist/models/DescribeUrlObservationDataResponse.d.ts +19 -0
  11. package/dist/models/DescribeUrlObservationDataResponse.js +69 -0
  12. package/dist/models/DescribeUrlObservationDataResponse.js.map +1 -0
  13. package/dist/models/DescribeUrlObservationDataResponseBody.d.ts +30 -0
  14. package/dist/models/DescribeUrlObservationDataResponseBody.js +68 -0
  15. package/dist/models/DescribeUrlObservationDataResponseBody.js.map +1 -0
  16. package/dist/models/DescribeUrlObservationDataResponseBodyUrlDetailData.d.ts +58 -0
  17. package/dist/models/DescribeUrlObservationDataResponseBodyUrlDetailData.js +74 -0
  18. package/dist/models/DescribeUrlObservationDataResponseBodyUrlDetailData.js.map +1 -0
  19. package/dist/models/GetEdgeContainerAppResourceStatusResponseBodyRegions.d.ts +2 -0
  20. package/dist/models/GetEdgeContainerAppResourceStatusResponseBodyRegions.js +4 -0
  21. package/dist/models/GetEdgeContainerAppResourceStatusResponseBodyRegions.js.map +1 -1
  22. package/dist/models/GetRoutineRouteResponseBody.d.ts +1 -0
  23. package/dist/models/GetRoutineRouteResponseBody.js +2 -0
  24. package/dist/models/GetRoutineRouteResponseBody.js.map +1 -1
  25. package/dist/models/ListRoutineRoutesResponseBodyConfigs.d.ts +1 -0
  26. package/dist/models/ListRoutineRoutesResponseBodyConfigs.js +2 -0
  27. package/dist/models/ListRoutineRoutesResponseBodyConfigs.js.map +1 -1
  28. package/dist/models/ListSiteRoutesResponseBodyConfigs.d.ts +1 -0
  29. package/dist/models/ListSiteRoutesResponseBodyConfigs.js +2 -0
  30. package/dist/models/ListSiteRoutesResponseBodyConfigs.js.map +1 -1
  31. package/dist/models/UpdateRoutineRouteRequest.d.ts +1 -0
  32. package/dist/models/UpdateRoutineRouteRequest.js +2 -0
  33. package/dist/models/UpdateRoutineRouteRequest.js.map +1 -1
  34. package/dist/models/model.d.ts +4 -0
  35. package/dist/models/model.js +34 -26
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +2 -5
  38. package/src/client.ts +315 -169
  39. package/src/models/CreateRoutineRouteRequest.ts +3 -0
  40. package/src/models/DescribeUrlObservationDataRequest.ts +69 -0
  41. package/src/models/DescribeUrlObservationDataResponse.ts +40 -0
  42. package/src/models/DescribeUrlObservationDataResponseBody.ts +52 -0
  43. package/src/models/DescribeUrlObservationDataResponseBodyUrlDetailData.ts +87 -0
  44. package/src/models/GetEdgeContainerAppResourceStatusResponseBodyRegions.ts +6 -0
  45. package/src/models/GetRoutineRouteResponseBody.ts +3 -0
  46. package/src/models/ListRoutineRoutesResponseBodyConfigs.ts +3 -0
  47. package/src/models/ListSiteRoutesResponseBodyConfigs.ts +3 -0
  48. package/src/models/UpdateRoutineRouteRequest.ts +3 -0
  49. package/src/models/model.ts +4 -0
@@ -8,6 +8,7 @@ export class CreateRoutineRouteRequest extends $dara.Model {
8
8
  * on
9
9
  */
10
10
  bypass?: string;
11
+ fallback?: string;
11
12
  /**
12
13
  * @example
13
14
  * on
@@ -47,6 +48,7 @@ export class CreateRoutineRouteRequest extends $dara.Model {
47
48
  static names(): { [key: string]: string } {
48
49
  return {
49
50
  bypass: 'Bypass',
51
+ fallback: 'Fallback',
50
52
  routeEnable: 'RouteEnable',
51
53
  routeName: 'RouteName',
52
54
  routineName: 'RoutineName',
@@ -59,6 +61,7 @@ export class CreateRoutineRouteRequest extends $dara.Model {
59
61
  static types(): { [key: string]: any } {
60
62
  return {
61
63
  bypass: 'string',
64
+ fallback: 'string',
62
65
  routeEnable: 'string',
63
66
  routeName: 'string',
64
67
  routineName: 'string',
@@ -0,0 +1,69 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeUrlObservationDataRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * PC
9
+ */
10
+ clientPlatform?: string;
11
+ /**
12
+ * @example
13
+ * 2023-04-19T15:59:59Z
14
+ */
15
+ endTime?: string;
16
+ /**
17
+ * @example
18
+ * TTFB
19
+ */
20
+ metric?: string;
21
+ /**
22
+ * @remarks
23
+ * This parameter is required.
24
+ *
25
+ * @example
26
+ * 54362329990032
27
+ */
28
+ siteId?: string;
29
+ /**
30
+ * @example
31
+ * 2023-04-08T16:00:00Z
32
+ */
33
+ startTime?: string;
34
+ /**
35
+ * @example
36
+ * example.com/test
37
+ */
38
+ url?: string;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ clientPlatform: 'ClientPlatform',
42
+ endTime: 'EndTime',
43
+ metric: 'Metric',
44
+ siteId: 'SiteId',
45
+ startTime: 'StartTime',
46
+ url: 'Url',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ clientPlatform: 'string',
53
+ endTime: 'string',
54
+ metric: 'string',
55
+ siteId: 'string',
56
+ startTime: 'string',
57
+ url: 'string',
58
+ };
59
+ }
60
+
61
+ validate() {
62
+ super.validate();
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeUrlObservationDataResponseBody } from "./DescribeUrlObservationDataResponseBody";
4
+
5
+
6
+ export class DescribeUrlObservationDataResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeUrlObservationDataResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeUrlObservationDataResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeUrlObservationDataResponseBodyUrlDetailData } from "./DescribeUrlObservationDataResponseBodyUrlDetailData";
4
+
5
+
6
+ export class DescribeUrlObservationDataResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * 2023-04-19T15:59:59Z
10
+ */
11
+ endTime?: string;
12
+ /**
13
+ * @example
14
+ * 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
15
+ */
16
+ requestId?: string;
17
+ /**
18
+ * @example
19
+ * 2022-11-06T16:00:00Z
20
+ */
21
+ startTime?: string;
22
+ urlDetailData?: DescribeUrlObservationDataResponseBodyUrlDetailData[];
23
+ static names(): { [key: string]: string } {
24
+ return {
25
+ endTime: 'EndTime',
26
+ requestId: 'RequestId',
27
+ startTime: 'StartTime',
28
+ urlDetailData: 'UrlDetailData',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ endTime: 'string',
35
+ requestId: 'string',
36
+ startTime: 'string',
37
+ urlDetailData: { 'type': 'array', 'itemType': DescribeUrlObservationDataResponseBodyUrlDetailData },
38
+ };
39
+ }
40
+
41
+ validate() {
42
+ if(Array.isArray(this.urlDetailData)) {
43
+ $dara.Model.validateArray(this.urlDetailData);
44
+ }
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -0,0 +1,87 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeUrlObservationDataResponseBodyUrlDetailData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 0.5
9
+ */
10
+ CLS?: number;
11
+ /**
12
+ * @example
13
+ * PC
14
+ */
15
+ clientPlatform?: string;
16
+ /**
17
+ * @example
18
+ * CN
19
+ */
20
+ country?: string;
21
+ /**
22
+ * @example
23
+ * 123
24
+ */
25
+ FCP?: number;
26
+ /**
27
+ * @example
28
+ * 123
29
+ */
30
+ FID?: number;
31
+ /**
32
+ * @example
33
+ * 123
34
+ */
35
+ INP?: number;
36
+ /**
37
+ * @example
38
+ * 123
39
+ */
40
+ LCP?: number;
41
+ /**
42
+ * @example
43
+ * 123
44
+ */
45
+ TTFB?: number;
46
+ /**
47
+ * @example
48
+ * example.com/test
49
+ */
50
+ url?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ CLS: 'CLS',
54
+ clientPlatform: 'ClientPlatform',
55
+ country: 'Country',
56
+ FCP: 'FCP',
57
+ FID: 'FID',
58
+ INP: 'INP',
59
+ LCP: 'LCP',
60
+ TTFB: 'TTFB',
61
+ url: 'Url',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ CLS: 'number',
68
+ clientPlatform: 'string',
69
+ country: 'string',
70
+ FCP: 'number',
71
+ FID: 'number',
72
+ INP: 'number',
73
+ LCP: 'number',
74
+ TTFB: 'number',
75
+ url: 'string',
76
+ };
77
+ }
78
+
79
+ validate() {
80
+ super.validate();
81
+ }
82
+
83
+ constructor(map?: { [key: string]: any }) {
84
+ super(map);
85
+ }
86
+ }
87
+
@@ -3,6 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class GetEdgeContainerAppResourceStatusResponseBodyRegions extends $dara.Model {
6
+ isOffline?: boolean;
7
+ isStaging?: boolean;
6
8
  /**
7
9
  * @example
8
10
  * unicom
@@ -25,6 +27,8 @@ export class GetEdgeContainerAppResourceStatusResponseBodyRegions extends $dara.
25
27
  total?: number;
26
28
  static names(): { [key: string]: string } {
27
29
  return {
30
+ isOffline: 'IsOffline',
31
+ isStaging: 'IsStaging',
28
32
  isp: 'Isp',
29
33
  ready: 'Ready',
30
34
  region: 'Region',
@@ -34,6 +38,8 @@ export class GetEdgeContainerAppResourceStatusResponseBodyRegions extends $dara.
34
38
 
35
39
  static types(): { [key: string]: any } {
36
40
  return {
41
+ isOffline: 'boolean',
42
+ isStaging: 'boolean',
37
43
  isp: 'string',
38
44
  ready: 'number',
39
45
  region: 'string',
@@ -18,6 +18,7 @@ export class GetRoutineRouteResponseBody extends $dara.Model {
18
18
  * global
19
19
  */
20
20
  configType?: string;
21
+ fallback?: string;
21
22
  /**
22
23
  * @example
23
24
  * simple
@@ -63,6 +64,7 @@ export class GetRoutineRouteResponseBody extends $dara.Model {
63
64
  bypass: 'Bypass',
64
65
  configId: 'ConfigId',
65
66
  configType: 'ConfigType',
67
+ fallback: 'Fallback',
66
68
  mode: 'Mode',
67
69
  requestId: 'RequestId',
68
70
  routeEnable: 'RouteEnable',
@@ -79,6 +81,7 @@ export class GetRoutineRouteResponseBody extends $dara.Model {
79
81
  bypass: 'string',
80
82
  configId: 'number',
81
83
  configType: 'string',
84
+ fallback: 'string',
82
85
  mode: 'string',
83
86
  requestId: 'string',
84
87
  routeEnable: 'string',
@@ -18,6 +18,7 @@ export class ListRoutineRoutesResponseBodyConfigs extends $dara.Model {
18
18
  * global
19
19
  */
20
20
  configType?: string;
21
+ fallback?: string;
21
22
  /**
22
23
  * @example
23
24
  * simple
@@ -68,6 +69,7 @@ export class ListRoutineRoutesResponseBodyConfigs extends $dara.Model {
68
69
  bypass: 'Bypass',
69
70
  configId: 'ConfigId',
70
71
  configType: 'ConfigType',
72
+ fallback: 'Fallback',
71
73
  mode: 'Mode',
72
74
  routeEnable: 'RouteEnable',
73
75
  routeName: 'RouteName',
@@ -85,6 +87,7 @@ export class ListRoutineRoutesResponseBodyConfigs extends $dara.Model {
85
87
  bypass: 'string',
86
88
  configId: 'number',
87
89
  configType: 'string',
90
+ fallback: 'string',
88
91
  mode: 'string',
89
92
  routeEnable: 'string',
90
93
  routeName: 'string',
@@ -18,6 +18,7 @@ export class ListSiteRoutesResponseBodyConfigs extends $dara.Model {
18
18
  * global
19
19
  */
20
20
  configType?: string;
21
+ fallback?: string;
21
22
  /**
22
23
  * @example
23
24
  * simple
@@ -58,6 +59,7 @@ export class ListSiteRoutesResponseBodyConfigs extends $dara.Model {
58
59
  bypass: 'Bypass',
59
60
  configId: 'ConfigId',
60
61
  configType: 'ConfigType',
62
+ fallback: 'Fallback',
61
63
  mode: 'Mode',
62
64
  routeEnable: 'RouteEnable',
63
65
  routeName: 'RouteName',
@@ -73,6 +75,7 @@ export class ListSiteRoutesResponseBodyConfigs extends $dara.Model {
73
75
  bypass: 'string',
74
76
  configId: 'number',
75
77
  configType: 'string',
78
+ fallback: 'string',
76
79
  mode: 'string',
77
80
  routeEnable: 'string',
78
81
  routeName: 'string',
@@ -16,6 +16,7 @@ export class UpdateRoutineRouteRequest extends $dara.Model {
16
16
  * 35281609698****
17
17
  */
18
18
  configId?: number;
19
+ fallback?: string;
19
20
  /**
20
21
  * @example
21
22
  * on
@@ -53,6 +54,7 @@ export class UpdateRoutineRouteRequest extends $dara.Model {
53
54
  return {
54
55
  bypass: 'Bypass',
55
56
  configId: 'ConfigId',
57
+ fallback: 'Fallback',
56
58
  routeEnable: 'RouteEnable',
57
59
  routeName: 'RouteName',
58
60
  routineName: 'RoutineName',
@@ -66,6 +68,7 @@ export class UpdateRoutineRouteRequest extends $dara.Model {
66
68
  return {
67
69
  bypass: 'string',
68
70
  configId: 'number',
71
+ fallback: 'string',
69
72
  routeEnable: 'string',
70
73
  routeName: 'string',
71
74
  routineName: 'string',
@@ -89,6 +89,7 @@ export { DescribeSiteTimeSeriesDataResponseBodySummarizedData } from './Describe
89
89
  export { DescribeSiteTopDataRequestFields } from './DescribeSiteTopDataRequestFields';
90
90
  export { DescribeSiteTopDataResponseBodyDataDetailData } from './DescribeSiteTopDataResponseBodyDataDetailData';
91
91
  export { DescribeSiteTopDataResponseBodyData } from './DescribeSiteTopDataResponseBodyData';
92
+ export { DescribeUrlObservationDataResponseBodyUrlDetailData } from './DescribeUrlObservationDataResponseBodyUrlDetailData';
92
93
  export { GetCertificateResponseBodyResultDCV } from './GetCertificateResponseBodyResultDcv';
93
94
  export { GetCertificateResponseBodyResult } from './GetCertificateResponseBodyResult';
94
95
  export { GetCertificateQuotaResponseBodySiteUsage } from './GetCertificateQuotaResponseBodySiteUsage';
@@ -641,6 +642,9 @@ export { DescribeSiteTopDataRequest } from './DescribeSiteTopDataRequest';
641
642
  export { DescribeSiteTopDataShrinkRequest } from './DescribeSiteTopDataShrinkRequest';
642
643
  export { DescribeSiteTopDataResponseBody } from './DescribeSiteTopDataResponseBody';
643
644
  export { DescribeSiteTopDataResponse } from './DescribeSiteTopDataResponse';
645
+ export { DescribeUrlObservationDataRequest } from './DescribeUrlObservationDataRequest';
646
+ export { DescribeUrlObservationDataResponseBody } from './DescribeUrlObservationDataResponseBody';
647
+ export { DescribeUrlObservationDataResponse } from './DescribeUrlObservationDataResponse';
644
648
  export { DisableCustomScenePolicyRequest } from './DisableCustomScenePolicyRequest';
645
649
  export { DisableCustomScenePolicyResponseBody } from './DisableCustomScenePolicyResponseBody';
646
650
  export { DisableCustomScenePolicyResponse } from './DisableCustomScenePolicyResponse';