@alicloud/esa20240910 2.29.1 → 2.30.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 (75) hide show
  1. package/dist/client.d.ts +32 -2
  2. package/dist/client.js +114 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateRoutineCodeDeploymentRequest.d.ts +61 -0
  5. package/dist/models/CreateRoutineCodeDeploymentRequest.js +88 -0
  6. package/dist/models/CreateRoutineCodeDeploymentRequest.js.map +1 -0
  7. package/dist/models/CreateRoutineCodeDeploymentResponse.d.ts +19 -0
  8. package/dist/models/CreateRoutineCodeDeploymentResponse.js +69 -0
  9. package/dist/models/CreateRoutineCodeDeploymentResponse.js.map +1 -0
  10. package/dist/models/CreateRoutineCodeDeploymentResponseBody.d.ts +31 -0
  11. package/dist/models/CreateRoutineCodeDeploymentResponseBody.js +88 -0
  12. package/dist/models/CreateRoutineCodeDeploymentResponseBody.js.map +1 -0
  13. package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.d.ts +39 -0
  14. package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.js +64 -0
  15. package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateRoutineRequest.d.ts +1 -0
  17. package/dist/models/CreateRoutineRequest.js +2 -0
  18. package/dist/models/CreateRoutineRequest.js.map +1 -1
  19. package/dist/models/CreateRoutineWithAssetsCodeVersionRequest.d.ts +35 -0
  20. package/dist/models/CreateRoutineWithAssetsCodeVersionRequest.js +88 -0
  21. package/dist/models/CreateRoutineWithAssetsCodeVersionRequest.js.map +1 -0
  22. package/dist/models/CreateRoutineWithAssetsCodeVersionResponse.d.ts +19 -0
  23. package/dist/models/CreateRoutineWithAssetsCodeVersionResponse.js +69 -0
  24. package/dist/models/CreateRoutineWithAssetsCodeVersionResponse.js.map +1 -0
  25. package/dist/models/CreateRoutineWithAssetsCodeVersionResponseBody.d.ts +35 -0
  26. package/dist/models/CreateRoutineWithAssetsCodeVersionResponseBody.js +96 -0
  27. package/dist/models/CreateRoutineWithAssetsCodeVersionResponseBody.js.map +1 -0
  28. package/dist/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.d.ts +22 -0
  29. package/dist/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.js +66 -0
  30. package/dist/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.js.map +1 -0
  31. package/dist/models/GetRecordResponseBody.d.ts +3 -0
  32. package/dist/models/GetRecordResponseBody.js +5 -0
  33. package/dist/models/GetRecordResponseBody.js.map +1 -1
  34. package/dist/models/GetRoutineResponseBody.d.ts +34 -0
  35. package/dist/models/GetRoutineResponseBody.js +61 -1
  36. package/dist/models/GetRoutineResponseBody.js.map +1 -1
  37. package/dist/models/ListRecordsResponseBody.d.ts +3 -0
  38. package/dist/models/ListRecordsResponseBody.js +5 -0
  39. package/dist/models/ListRecordsResponseBody.js.map +1 -1
  40. package/dist/models/ListRoutineCodeVersionsResponseBody.d.ts +17 -0
  41. package/dist/models/ListRoutineCodeVersionsResponseBody.js +31 -1
  42. package/dist/models/ListRoutineCodeVersionsResponseBody.js.map +1 -1
  43. package/dist/models/ListUserRoutinesResponseBody.d.ts +2 -0
  44. package/dist/models/ListUserRoutinesResponseBody.js +4 -0
  45. package/dist/models/ListUserRoutinesResponseBody.js.map +1 -1
  46. package/dist/models/UpdateCrossBorderOptimizationRequest.d.ts +7 -0
  47. package/dist/models/UpdateCrossBorderOptimizationRequest.js.map +1 -1
  48. package/dist/models/UpdateCrossBorderOptimizationResponseBody.d.ts +3 -0
  49. package/dist/models/UpdateCrossBorderOptimizationResponseBody.js.map +1 -1
  50. package/dist/models/WafSiteSettings.d.ts +30 -0
  51. package/dist/models/WafSiteSettings.js +53 -1
  52. package/dist/models/WafSiteSettings.js.map +1 -1
  53. package/dist/models/model.d.ts +17 -0
  54. package/dist/models/model.js +77 -43
  55. package/dist/models/model.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/client.ts +130 -2
  58. package/src/models/CreateRoutineCodeDeploymentRequest.ts +95 -0
  59. package/src/models/CreateRoutineCodeDeploymentResponse.ts +40 -0
  60. package/src/models/CreateRoutineCodeDeploymentResponseBody.ts +65 -0
  61. package/src/models/CreateRoutineCodeDeploymentShrinkRequest.ts +58 -0
  62. package/src/models/CreateRoutineRequest.ts +3 -0
  63. package/src/models/CreateRoutineWithAssetsCodeVersionRequest.ts +69 -0
  64. package/src/models/CreateRoutineWithAssetsCodeVersionResponse.ts +40 -0
  65. package/src/models/CreateRoutineWithAssetsCodeVersionResponseBody.ts +77 -0
  66. package/src/models/CreateRoutineWithAssetsCodeVersionShrinkRequest.ts +43 -0
  67. package/src/models/GetRecordResponseBody.ts +6 -0
  68. package/src/models/GetRoutineResponseBody.ts +76 -0
  69. package/src/models/ListRecordsResponseBody.ts +6 -0
  70. package/src/models/ListRoutineCodeVersionsResponseBody.ts +38 -0
  71. package/src/models/ListUserRoutinesResponseBody.ts +6 -0
  72. package/src/models/UpdateCrossBorderOptimizationRequest.ts +7 -0
  73. package/src/models/UpdateCrossBorderOptimizationResponseBody.ts +3 -0
  74. package/src/models/WafSiteSettings.ts +64 -0
  75. package/src/models/model.ts +17 -0
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateRoutineCodeDeploymentShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ codeVersionsShrink?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * production
17
+ */
18
+ env?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ */
23
+ name?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * percentage
30
+ */
31
+ strategy?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ codeVersionsShrink: 'CodeVersions',
35
+ env: 'Env',
36
+ name: 'Name',
37
+ strategy: 'Strategy',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ codeVersionsShrink: 'string',
44
+ env: 'string',
45
+ name: 'string',
46
+ strategy: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -11,6 +11,7 @@ export class CreateRoutineRequest extends $dara.Model {
11
11
  * the description of this routine
12
12
  */
13
13
  description?: string;
14
+ hasAssets?: boolean;
14
15
  /**
15
16
  * @remarks
16
17
  * The routine name, which must be unique in the same account.
@@ -24,6 +25,7 @@ export class CreateRoutineRequest extends $dara.Model {
24
25
  static names(): { [key: string]: string } {
25
26
  return {
26
27
  description: 'Description',
28
+ hasAssets: 'HasAssets',
27
29
  name: 'Name',
28
30
  };
29
31
  }
@@ -31,6 +33,7 @@ export class CreateRoutineRequest extends $dara.Model {
31
33
  static types(): { [key: string]: any } {
32
34
  return {
33
35
  description: 'string',
36
+ hasAssets: 'boolean',
34
37
  name: 'string',
35
38
  };
36
39
  }
@@ -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 CreateRoutineWithAssetsCodeVersionRequestConfOptions extends $dara.Model {
6
+ notFoundStrategy?: string;
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ notFoundStrategy: 'NotFoundStrategy',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ notFoundStrategy: 'string',
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ super.validate();
21
+ }
22
+
23
+ constructor(map?: { [key: string]: any }) {
24
+ super(map);
25
+ }
26
+ }
27
+
28
+ export class CreateRoutineWithAssetsCodeVersionRequest extends $dara.Model {
29
+ buildId?: number;
30
+ codeDescription?: string;
31
+ confOptions?: CreateRoutineWithAssetsCodeVersionRequestConfOptions;
32
+ extraInfo?: string;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ */
37
+ name?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ buildId: 'BuildId',
41
+ codeDescription: 'CodeDescription',
42
+ confOptions: 'ConfOptions',
43
+ extraInfo: 'ExtraInfo',
44
+ name: 'Name',
45
+ };
46
+ }
47
+
48
+ static types(): { [key: string]: any } {
49
+ return {
50
+ buildId: 'number',
51
+ codeDescription: 'string',
52
+ confOptions: CreateRoutineWithAssetsCodeVersionRequestConfOptions,
53
+ extraInfo: 'string',
54
+ name: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ if(this.confOptions && typeof (this.confOptions as any).validate === 'function') {
60
+ (this.confOptions as any).validate();
61
+ }
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 { CreateRoutineWithAssetsCodeVersionResponseBody } from "./CreateRoutineWithAssetsCodeVersionResponseBody";
4
+
5
+
6
+ export class CreateRoutineWithAssetsCodeVersionResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateRoutineWithAssetsCodeVersionResponseBody;
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: CreateRoutineWithAssetsCodeVersionResponseBody,
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,77 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateRoutineWithAssetsCodeVersionResponseBodyOssPostConfig extends $dara.Model {
6
+ key?: string;
7
+ OSSAccessKeyId?: string;
8
+ policy?: string;
9
+ signature?: string;
10
+ url?: string;
11
+ XOssSecurityToken?: string;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ key: 'Key',
15
+ OSSAccessKeyId: 'OSSAccessKeyId',
16
+ policy: 'Policy',
17
+ signature: 'Signature',
18
+ url: 'Url',
19
+ XOssSecurityToken: 'XOssSecurityToken',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ key: 'string',
26
+ OSSAccessKeyId: 'string',
27
+ policy: 'string',
28
+ signature: 'string',
29
+ url: 'string',
30
+ XOssSecurityToken: 'string',
31
+ };
32
+ }
33
+
34
+ validate() {
35
+ super.validate();
36
+ }
37
+
38
+ constructor(map?: { [key: string]: any }) {
39
+ super(map);
40
+ }
41
+ }
42
+
43
+ export class CreateRoutineWithAssetsCodeVersionResponseBody extends $dara.Model {
44
+ codeVersion?: string;
45
+ ossPostConfig?: CreateRoutineWithAssetsCodeVersionResponseBodyOssPostConfig;
46
+ requestId?: string;
47
+ status?: string;
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ codeVersion: 'CodeVersion',
51
+ ossPostConfig: 'OssPostConfig',
52
+ requestId: 'RequestId',
53
+ status: 'Status',
54
+ };
55
+ }
56
+
57
+ static types(): { [key: string]: any } {
58
+ return {
59
+ codeVersion: 'string',
60
+ ossPostConfig: CreateRoutineWithAssetsCodeVersionResponseBodyOssPostConfig,
61
+ requestId: 'string',
62
+ status: 'string',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ if(this.ossPostConfig && typeof (this.ossPostConfig as any).validate === 'function') {
68
+ (this.ossPostConfig as any).validate();
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -0,0 +1,43 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateRoutineWithAssetsCodeVersionShrinkRequest extends $dara.Model {
6
+ buildId?: number;
7
+ codeDescription?: string;
8
+ confOptionsShrink?: string;
9
+ extraInfo?: string;
10
+ /**
11
+ * @remarks
12
+ * This parameter is required.
13
+ */
14
+ name?: string;
15
+ static names(): { [key: string]: string } {
16
+ return {
17
+ buildId: 'BuildId',
18
+ codeDescription: 'CodeDescription',
19
+ confOptionsShrink: 'ConfOptions',
20
+ extraInfo: 'ExtraInfo',
21
+ name: 'Name',
22
+ };
23
+ }
24
+
25
+ static types(): { [key: string]: any } {
26
+ return {
27
+ buildId: 'number',
28
+ codeDescription: 'string',
29
+ confOptionsShrink: 'string',
30
+ extraInfo: 'string',
31
+ name: 'string',
32
+ };
33
+ }
34
+
35
+ validate() {
36
+ super.validate();
37
+ }
38
+
39
+ constructor(map?: { [key: string]: any }) {
40
+ super(map);
41
+ }
42
+ }
43
+
@@ -163,6 +163,7 @@ export class GetRecordResponseBodyRecordModelData extends $dara.Model {
163
163
  * issue
164
164
  */
165
165
  tag?: string;
166
+ tags?: { [key: string]: any };
166
167
  /**
167
168
  * @remarks
168
169
  * The certificate type of the record (in CERT records), or the public key type (in SSHFP records). This parameter is required when you add CERT or SSHFP records.
@@ -216,6 +217,7 @@ export class GetRecordResponseBodyRecordModelData extends $dara.Model {
216
217
  priority: 'Priority',
217
218
  selector: 'Selector',
218
219
  tag: 'Tag',
220
+ tags: 'Tags',
219
221
  type: 'Type',
220
222
  usage: 'Usage',
221
223
  value: 'Value',
@@ -235,6 +237,7 @@ export class GetRecordResponseBodyRecordModelData extends $dara.Model {
235
237
  priority: 'number',
236
238
  selector: 'number',
237
239
  tag: 'string',
240
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
238
241
  type: 'number',
239
242
  usage: 'number',
240
243
  value: 'string',
@@ -243,6 +246,9 @@ export class GetRecordResponseBodyRecordModelData extends $dara.Model {
243
246
  }
244
247
 
245
248
  validate() {
249
+ if(this.tags) {
250
+ $dara.Model.validateMap(this.tags);
251
+ }
246
252
  super.validate();
247
253
  }
248
254
 
@@ -2,6 +2,73 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class GetRoutineResponseBodyEnvsCodeDeployCodeVersions extends $dara.Model {
6
+ codeVersion?: string;
7
+ createTime?: string;
8
+ description?: string;
9
+ percentage?: number;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ codeVersion: 'CodeVersion',
13
+ createTime: 'CreateTime',
14
+ description: 'Description',
15
+ percentage: 'Percentage',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ codeVersion: 'string',
22
+ createTime: 'string',
23
+ description: 'string',
24
+ percentage: 'number',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
37
+ export class GetRoutineResponseBodyEnvsCodeDeploy extends $dara.Model {
38
+ codeVersions?: GetRoutineResponseBodyEnvsCodeDeployCodeVersions[];
39
+ creationTime?: string;
40
+ deployId?: string;
41
+ strategy?: string;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ codeVersions: 'CodeVersions',
45
+ creationTime: 'CreationTime',
46
+ deployId: 'DeployId',
47
+ strategy: 'Strategy',
48
+ };
49
+ }
50
+
51
+ static types(): { [key: string]: any } {
52
+ return {
53
+ codeVersions: { 'type': 'array', 'itemType': GetRoutineResponseBodyEnvsCodeDeployCodeVersions },
54
+ creationTime: 'string',
55
+ deployId: 'string',
56
+ strategy: 'string',
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ if(Array.isArray(this.codeVersions)) {
62
+ $dara.Model.validateArray(this.codeVersions);
63
+ }
64
+ super.validate();
65
+ }
66
+
67
+ constructor(map?: { [key: string]: any }) {
68
+ super(map);
69
+ }
70
+ }
71
+
5
72
  export class GetRoutineResponseBodyEnvs extends $dara.Model {
6
73
  /**
7
74
  * @remarks
@@ -16,6 +83,7 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
16
83
  * 1710120201067577628
17
84
  */
18
85
  canaryCodeVersion?: string;
86
+ codeDeploy?: GetRoutineResponseBodyEnvsCodeDeploy;
19
87
  /**
20
88
  * @remarks
21
89
  * The version number of the code in the environment.
@@ -36,6 +104,7 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
36
104
  return {
37
105
  canaryAreaList: 'CanaryAreaList',
38
106
  canaryCodeVersion: 'CanaryCodeVersion',
107
+ codeDeploy: 'CodeDeploy',
39
108
  codeVersion: 'CodeVersion',
40
109
  env: 'Env',
41
110
  };
@@ -45,6 +114,7 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
45
114
  return {
46
115
  canaryAreaList: { 'type': 'array', 'itemType': 'string' },
47
116
  canaryCodeVersion: 'string',
117
+ codeDeploy: GetRoutineResponseBodyEnvsCodeDeploy,
48
118
  codeVersion: 'string',
49
119
  env: 'string',
50
120
  };
@@ -54,6 +124,9 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
54
124
  if(Array.isArray(this.canaryAreaList)) {
55
125
  $dara.Model.validateArray(this.canaryAreaList);
56
126
  }
127
+ if(this.codeDeploy && typeof (this.codeDeploy as any).validate === 'function') {
128
+ (this.codeDeploy as any).validate();
129
+ }
57
130
  super.validate();
58
131
  }
59
132
 
@@ -92,6 +165,7 @@ export class GetRoutineResponseBody extends $dara.Model {
92
165
  * The information about the environments.
93
166
  */
94
167
  envs?: GetRoutineResponseBodyEnvs[];
168
+ hasAssets?: boolean;
95
169
  /**
96
170
  * @remarks
97
171
  * The request ID.
@@ -106,6 +180,7 @@ export class GetRoutineResponseBody extends $dara.Model {
106
180
  defaultRelatedRecord: 'DefaultRelatedRecord',
107
181
  description: 'Description',
108
182
  envs: 'Envs',
183
+ hasAssets: 'HasAssets',
109
184
  requestId: 'RequestId',
110
185
  };
111
186
  }
@@ -116,6 +191,7 @@ export class GetRoutineResponseBody extends $dara.Model {
116
191
  defaultRelatedRecord: 'string',
117
192
  description: 'string',
118
193
  envs: { 'type': 'array', 'itemType': GetRoutineResponseBodyEnvs },
194
+ hasAssets: 'boolean',
119
195
  requestId: 'string',
120
196
  };
121
197
  }
@@ -163,6 +163,7 @@ export class ListRecordsResponseBodyRecordsData extends $dara.Model {
163
163
  * issue
164
164
  */
165
165
  tag?: string;
166
+ tags?: { [key: string]: any };
166
167
  /**
167
168
  * @remarks
168
169
  * The certificate type of the record (in CERT records), or the public key type (in SSHFP records).
@@ -216,6 +217,7 @@ export class ListRecordsResponseBodyRecordsData extends $dara.Model {
216
217
  priority: 'Priority',
217
218
  selector: 'Selector',
218
219
  tag: 'Tag',
220
+ tags: 'Tags',
219
221
  type: 'Type',
220
222
  usage: 'Usage',
221
223
  value: 'Value',
@@ -235,6 +237,7 @@ export class ListRecordsResponseBodyRecordsData extends $dara.Model {
235
237
  priority: 'number',
236
238
  selector: 'number',
237
239
  tag: 'string',
240
+ tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
238
241
  type: 'number',
239
242
  usage: 'number',
240
243
  value: 'string',
@@ -243,6 +246,9 @@ export class ListRecordsResponseBodyRecordsData extends $dara.Model {
243
246
  }
244
247
 
245
248
  validate() {
249
+ if(this.tags) {
250
+ $dara.Model.validateMap(this.tags);
251
+ }
246
252
  super.validate();
247
253
  }
248
254
 
@@ -2,27 +2,65 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class ListRoutineCodeVersionsResponseBodyCodeVersionsConfOptions extends $dara.Model {
6
+ notFoundStrategy?: string;
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ notFoundStrategy: 'NotFoundStrategy',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ notFoundStrategy: 'string',
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ super.validate();
21
+ }
22
+
23
+ constructor(map?: { [key: string]: any }) {
24
+ super(map);
25
+ }
26
+ }
27
+
5
28
  export class ListRoutineCodeVersionsResponseBodyCodeVersions extends $dara.Model {
29
+ buildId?: number;
6
30
  codeDescription?: string;
7
31
  codeVersion?: string;
32
+ confOptions?: ListRoutineCodeVersionsResponseBodyCodeVersionsConfOptions;
8
33
  createTime?: string;
34
+ extraInfo?: string;
35
+ status?: string;
9
36
  static names(): { [key: string]: string } {
10
37
  return {
38
+ buildId: 'BuildId',
11
39
  codeDescription: 'CodeDescription',
12
40
  codeVersion: 'CodeVersion',
41
+ confOptions: 'ConfOptions',
13
42
  createTime: 'CreateTime',
43
+ extraInfo: 'ExtraInfo',
44
+ status: 'Status',
14
45
  };
15
46
  }
16
47
 
17
48
  static types(): { [key: string]: any } {
18
49
  return {
50
+ buildId: 'number',
19
51
  codeDescription: 'string',
20
52
  codeVersion: 'string',
53
+ confOptions: ListRoutineCodeVersionsResponseBodyCodeVersionsConfOptions,
21
54
  createTime: 'string',
55
+ extraInfo: 'string',
56
+ status: 'string',
22
57
  };
23
58
  }
24
59
 
25
60
  validate() {
61
+ if(this.confOptions && typeof (this.confOptions as any).validate === 'function') {
62
+ (this.confOptions as any).validate();
63
+ }
26
64
  super.validate();
27
65
  }
28
66
 
@@ -4,12 +4,16 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListUserRoutinesResponseBodyRoutines extends $dara.Model {
6
6
  createTime?: string;
7
+ defaultRelatedRecord?: string;
7
8
  description?: string;
9
+ hasAssets?: boolean;
8
10
  routineName?: string;
9
11
  static names(): { [key: string]: string } {
10
12
  return {
11
13
  createTime: 'CreateTime',
14
+ defaultRelatedRecord: 'DefaultRelatedRecord',
12
15
  description: 'Description',
16
+ hasAssets: 'HasAssets',
13
17
  routineName: 'RoutineName',
14
18
  };
15
19
  }
@@ -17,7 +21,9 @@ export class ListUserRoutinesResponseBodyRoutines extends $dara.Model {
17
21
  static types(): { [key: string]: any } {
18
22
  return {
19
23
  createTime: 'string',
24
+ defaultRelatedRecord: 'string',
20
25
  description: 'string',
26
+ hasAssets: 'boolean',
21
27
  routineName: 'string',
22
28
  };
23
29
  }
@@ -5,6 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateCrossBorderOptimizationRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * Whether to enable Chinese mainland network access optimization. By default, it is disabled. Valid values:
9
+ *
10
+ * * on
11
+ * * off
12
+ *
8
13
  * This parameter is required.
9
14
  *
10
15
  * @example
@@ -13,6 +18,8 @@ export class UpdateCrossBorderOptimizationRequest extends $dara.Model {
13
18
  enable?: string;
14
19
  /**
15
20
  * @remarks
21
+ * The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
22
+ *
16
23
  * This parameter is required.
17
24
  *
18
25
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateCrossBorderOptimizationResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of the request.
9
+ *
7
10
  * @example
8
11
  * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
9
12
  */