@alicloud/agentloop20260520 2.3.9 → 2.4.1

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 (248) hide show
  1. package/dist/client.d.ts +180 -18
  2. package/dist/client.js +448 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AnalysisTask.d.ts +92 -0
  5. package/dist/models/AnalysisTask.js +79 -0
  6. package/dist/models/AnalysisTask.js.map +1 -0
  7. package/dist/models/AuditTaskState.d.ts +100 -0
  8. package/dist/models/AuditTaskState.js +101 -0
  9. package/dist/models/AuditTaskState.js.map +1 -0
  10. package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
  11. package/dist/models/ConnectorProperties.d.ts +32 -11
  12. package/dist/models/ConnectorProperties.js.map +1 -1
  13. package/dist/models/CreateContextStoreApikeyRequest.d.ts +2 -2
  14. package/dist/models/CreateContextStoreApikeyResponseBody.d.ts +1 -1
  15. package/dist/models/CreateContextStoreRequest.d.ts +353 -16
  16. package/dist/models/CreateContextStoreRequest.js +104 -3
  17. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  18. package/dist/models/CreateContextStoreResponseBody.d.ts +4 -1
  19. package/dist/models/CreateContextStoreResponseBody.js.map +1 -1
  20. package/dist/models/CreateOptimizeRunRequest.d.ts +39 -0
  21. package/dist/models/CreateOptimizeRunRequest.js +62 -0
  22. package/dist/models/CreateOptimizeRunRequest.js.map +1 -0
  23. package/dist/models/CreateOptimizeRunResponse.d.ts +19 -0
  24. package/dist/models/CreateOptimizeRunResponse.js +69 -0
  25. package/dist/models/CreateOptimizeRunResponse.js.map +1 -0
  26. package/dist/models/CreateOptimizeRunResponseBody.d.ts +39 -0
  27. package/dist/models/CreateOptimizeRunResponseBody.js +65 -0
  28. package/dist/models/CreateOptimizeRunResponseBody.js.map +1 -0
  29. package/dist/models/CreateOptimizeTaskRequest.d.ts +55 -0
  30. package/dist/models/CreateOptimizeTaskRequest.js +69 -0
  31. package/dist/models/CreateOptimizeTaskRequest.js.map +1 -0
  32. package/dist/models/CreateOptimizeTaskResponse.d.ts +19 -0
  33. package/dist/models/CreateOptimizeTaskResponse.js +69 -0
  34. package/dist/models/CreateOptimizeTaskResponse.js.map +1 -0
  35. package/dist/models/CreateOptimizeTaskResponseBody.d.ts +29 -0
  36. package/dist/models/CreateOptimizeTaskResponseBody.js +60 -0
  37. package/dist/models/CreateOptimizeTaskResponseBody.js.map +1 -0
  38. package/dist/models/DataFilter.d.ts +12 -5
  39. package/dist/models/DataFilter.js.map +1 -1
  40. package/dist/models/DeleteContextStoreApikeyResponseBody.d.ts +1 -1
  41. package/dist/models/DeleteOptimizeTaskRequest.d.ts +21 -0
  42. package/dist/models/DeleteOptimizeTaskRequest.js +58 -0
  43. package/dist/models/DeleteOptimizeTaskRequest.js.map +1 -0
  44. package/dist/models/DeleteOptimizeTaskResponse.d.ts +19 -0
  45. package/dist/models/DeleteOptimizeTaskResponse.js +69 -0
  46. package/dist/models/DeleteOptimizeTaskResponse.js.map +1 -0
  47. package/dist/models/DeleteOptimizeTaskResponseBody.d.ts +21 -0
  48. package/dist/models/DeleteOptimizeTaskResponseBody.js +58 -0
  49. package/dist/models/DeleteOptimizeTaskResponseBody.js.map +1 -0
  50. package/dist/models/ExperimentConfig.d.ts +27 -6
  51. package/dist/models/ExperimentConfig.js.map +1 -1
  52. package/dist/models/ExperimentPlanData.d.ts +77 -0
  53. package/dist/models/ExperimentPlanData.js.map +1 -1
  54. package/dist/models/ExperimentRecord.d.ts +154 -0
  55. package/dist/models/ExperimentRecord.js.map +1 -1
  56. package/dist/models/GetAgentSpaceResponseBody.d.ts +8 -1
  57. package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
  58. package/dist/models/GetContextStoreApikeyResponseBody.d.ts +5 -5
  59. package/dist/models/GetContextStoreResponseBody.d.ts +439 -20
  60. package/dist/models/GetContextStoreResponseBody.js +113 -1
  61. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  62. package/dist/models/GetDatasetResponseBody.d.ts +11 -3
  63. package/dist/models/GetDatasetResponseBody.js.map +1 -1
  64. package/dist/models/GetOptimizeRunRequest.d.ts +13 -0
  65. package/dist/models/GetOptimizeRunRequest.js +54 -0
  66. package/dist/models/GetOptimizeRunRequest.js.map +1 -0
  67. package/dist/models/GetOptimizeRunResponse.d.ts +19 -0
  68. package/dist/models/GetOptimizeRunResponse.js +69 -0
  69. package/dist/models/GetOptimizeRunResponse.js.map +1 -0
  70. package/dist/models/GetOptimizeRunResponseBody.d.ts +163 -0
  71. package/dist/models/GetOptimizeRunResponseBody.js +100 -0
  72. package/dist/models/GetOptimizeRunResponseBody.js.map +1 -0
  73. package/dist/models/GetOptimizeTaskRequest.d.ts +13 -0
  74. package/dist/models/GetOptimizeTaskRequest.js +54 -0
  75. package/dist/models/GetOptimizeTaskRequest.js.map +1 -0
  76. package/dist/models/GetOptimizeTaskResponse.d.ts +19 -0
  77. package/dist/models/GetOptimizeTaskResponse.js +69 -0
  78. package/dist/models/GetOptimizeTaskResponse.js.map +1 -0
  79. package/dist/models/GetOptimizeTaskResponseBody.d.ts +94 -0
  80. package/dist/models/GetOptimizeTaskResponseBody.js +82 -0
  81. package/dist/models/GetOptimizeTaskResponseBody.js.map +1 -0
  82. package/dist/models/GetPipelineStatsRequest.d.ts +9 -0
  83. package/dist/models/GetPipelineStatsRequest.js.map +1 -1
  84. package/dist/models/GetPipelineStatsResponseBody.d.ts +78 -1
  85. package/dist/models/GetPipelineStatsResponseBody.js.map +1 -1
  86. package/dist/models/IndexJsonKey.d.ts +3 -3
  87. package/dist/models/IndexKey.d.ts +10 -7
  88. package/dist/models/IndexKey.js.map +1 -1
  89. package/dist/models/ListContextStoreApikeysRequest.d.ts +2 -2
  90. package/dist/models/ListContextStoreApikeysResponseBody.d.ts +5 -5
  91. package/dist/models/ListContextStoresRequest.d.ts +7 -4
  92. package/dist/models/ListContextStoresRequest.js.map +1 -1
  93. package/dist/models/ListContextStoresResponseBody.d.ts +14 -8
  94. package/dist/models/ListContextStoresResponseBody.js.map +1 -1
  95. package/dist/models/ListDatasetsRequest.d.ts +6 -2
  96. package/dist/models/ListDatasetsRequest.js.map +1 -1
  97. package/dist/models/ListDatasetsResponseBody.d.ts +14 -6
  98. package/dist/models/ListDatasetsResponseBody.js.map +1 -1
  99. package/dist/models/ListDatasetsShrinkRequest.d.ts +6 -2
  100. package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
  101. package/dist/models/ListOptimizeRunsRequest.d.ts +53 -0
  102. package/dist/models/ListOptimizeRunsRequest.js +66 -0
  103. package/dist/models/ListOptimizeRunsRequest.js.map +1 -0
  104. package/dist/models/ListOptimizeRunsResponse.d.ts +19 -0
  105. package/dist/models/ListOptimizeRunsResponse.js +69 -0
  106. package/dist/models/ListOptimizeRunsResponse.js.map +1 -0
  107. package/dist/models/ListOptimizeRunsResponseBody.d.ts +204 -0
  108. package/dist/models/ListOptimizeRunsResponseBody.js +128 -0
  109. package/dist/models/ListOptimizeRunsResponseBody.js.map +1 -0
  110. package/dist/models/ListOptimizeTasksRequest.d.ts +45 -0
  111. package/dist/models/ListOptimizeTasksRequest.js +64 -0
  112. package/dist/models/ListOptimizeTasksRequest.js.map +1 -0
  113. package/dist/models/ListOptimizeTasksResponse.d.ts +19 -0
  114. package/dist/models/ListOptimizeTasksResponse.js +69 -0
  115. package/dist/models/ListOptimizeTasksResponse.js.map +1 -0
  116. package/dist/models/ListOptimizeTasksResponseBody.d.ts +135 -0
  117. package/dist/models/ListOptimizeTasksResponseBody.js +110 -0
  118. package/dist/models/ListOptimizeTasksResponseBody.js.map +1 -0
  119. package/dist/models/ListPipelineRunsRequest.d.ts +10 -4
  120. package/dist/models/ListPipelineRunsRequest.js.map +1 -1
  121. package/dist/models/ListPipelineRunsResponseBody.d.ts +9 -9
  122. package/dist/models/ListPipelinesRequest.d.ts +6 -12
  123. package/dist/models/ListPipelinesRequest.js.map +1 -1
  124. package/dist/models/ListPipelinesResponseBody.d.ts +56 -37
  125. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  126. package/dist/models/ModelParameters.d.ts +49 -0
  127. package/dist/models/ModelParameters.js.map +1 -1
  128. package/dist/models/OfflineExperimentConfig.d.ts +21 -0
  129. package/dist/models/OfflineExperimentConfig.js.map +1 -1
  130. package/dist/models/PausePipelineResponseBody.d.ts +3 -3
  131. package/dist/models/PromptTemplateItem.d.ts +14 -0
  132. package/dist/models/PromptTemplateItem.js.map +1 -1
  133. package/dist/models/ResumePipelineResponseBody.d.ts +3 -3
  134. package/dist/models/RunPipelineRequest.d.ts +4 -4
  135. package/dist/models/RunPipelineResponseBody.d.ts +4 -4
  136. package/dist/models/SearchContextRequest.d.ts +32 -5
  137. package/dist/models/SearchContextRequest.js +5 -0
  138. package/dist/models/SearchContextRequest.js.map +1 -1
  139. package/dist/models/SearchContextResponseBody.d.ts +7 -1
  140. package/dist/models/SearchContextResponseBody.js.map +1 -1
  141. package/dist/models/TerminatePipelineRequest.d.ts +3 -0
  142. package/dist/models/TerminatePipelineRequest.js.map +1 -1
  143. package/dist/models/TerminatePipelineResponseBody.d.ts +17 -0
  144. package/dist/models/TerminatePipelineResponseBody.js.map +1 -1
  145. package/dist/models/UpdateContextStoreRequest.d.ts +135 -37
  146. package/dist/models/UpdateContextStoreRequest.js +67 -1
  147. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  148. package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
  149. package/dist/models/UpdateExperimentPlanRequest.d.ts +6 -6
  150. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
  151. package/dist/models/UpdateOptimizeRunRequest.d.ts +39 -0
  152. package/dist/models/UpdateOptimizeRunRequest.js +65 -0
  153. package/dist/models/UpdateOptimizeRunRequest.js.map +1 -0
  154. package/dist/models/UpdateOptimizeRunResponse.d.ts +19 -0
  155. package/dist/models/UpdateOptimizeRunResponse.js +69 -0
  156. package/dist/models/UpdateOptimizeRunResponse.js.map +1 -0
  157. package/dist/models/UpdateOptimizeRunResponseBody.d.ts +29 -0
  158. package/dist/models/UpdateOptimizeRunResponseBody.js +60 -0
  159. package/dist/models/UpdateOptimizeRunResponseBody.js.map +1 -0
  160. package/dist/models/UpdateOptimizeTaskRequest.d.ts +39 -0
  161. package/dist/models/UpdateOptimizeTaskRequest.js +65 -0
  162. package/dist/models/UpdateOptimizeTaskRequest.js.map +1 -0
  163. package/dist/models/UpdateOptimizeTaskResponse.d.ts +19 -0
  164. package/dist/models/UpdateOptimizeTaskResponse.js +69 -0
  165. package/dist/models/UpdateOptimizeTaskResponse.js.map +1 -0
  166. package/dist/models/UpdateOptimizeTaskResponseBody.d.ts +21 -0
  167. package/dist/models/UpdateOptimizeTaskResponseBody.js +58 -0
  168. package/dist/models/UpdateOptimizeTaskResponseBody.js.map +1 -0
  169. package/dist/models/model.d.ts +40 -0
  170. package/dist/models/model.js +137 -56
  171. package/dist/models/model.js.map +1 -1
  172. package/package.json +1 -1
  173. package/src/client.ts +491 -18
  174. package/src/models/AnalysisTask.ts +124 -0
  175. package/src/models/AuditTaskState.ts +143 -0
  176. package/src/models/CancelPipelineRunResponseBody.ts +2 -2
  177. package/src/models/ConnectorProperties.ts +32 -11
  178. package/src/models/CreateContextStoreApikeyRequest.ts +2 -2
  179. package/src/models/CreateContextStoreApikeyResponseBody.ts +1 -1
  180. package/src/models/CreateContextStoreRequest.ts +427 -16
  181. package/src/models/CreateContextStoreResponseBody.ts +4 -1
  182. package/src/models/CreateOptimizeRunRequest.ts +56 -0
  183. package/src/models/CreateOptimizeRunResponse.ts +40 -0
  184. package/src/models/CreateOptimizeRunResponseBody.ts +57 -0
  185. package/src/models/CreateOptimizeTaskRequest.ts +77 -0
  186. package/src/models/CreateOptimizeTaskResponse.ts +40 -0
  187. package/src/models/CreateOptimizeTaskResponseBody.ts +44 -0
  188. package/src/models/DataFilter.ts +12 -5
  189. package/src/models/DeleteContextStoreApikeyResponseBody.ts +1 -1
  190. package/src/models/DeleteOptimizeTaskRequest.ts +34 -0
  191. package/src/models/DeleteOptimizeTaskResponse.ts +40 -0
  192. package/src/models/DeleteOptimizeTaskResponseBody.ts +34 -0
  193. package/src/models/ExperimentConfig.ts +27 -6
  194. package/src/models/ExperimentPlanData.ts +77 -0
  195. package/src/models/ExperimentRecord.ts +154 -0
  196. package/src/models/GetAgentSpaceResponseBody.ts +8 -1
  197. package/src/models/GetContextStoreApikeyResponseBody.ts +5 -5
  198. package/src/models/GetContextStoreResponseBody.ts +520 -20
  199. package/src/models/GetDatasetResponseBody.ts +11 -3
  200. package/src/models/GetOptimizeRunRequest.ts +24 -0
  201. package/src/models/GetOptimizeRunResponse.ts +40 -0
  202. package/src/models/GetOptimizeRunResponseBody.ts +214 -0
  203. package/src/models/GetOptimizeTaskRequest.ts +24 -0
  204. package/src/models/GetOptimizeTaskResponse.ts +40 -0
  205. package/src/models/GetOptimizeTaskResponseBody.ts +127 -0
  206. package/src/models/GetPipelineStatsRequest.ts +9 -0
  207. package/src/models/GetPipelineStatsResponseBody.ts +78 -1
  208. package/src/models/IndexJsonKey.ts +3 -3
  209. package/src/models/IndexKey.ts +10 -7
  210. package/src/models/ListContextStoreApikeysRequest.ts +2 -2
  211. package/src/models/ListContextStoreApikeysResponseBody.ts +5 -5
  212. package/src/models/ListContextStoresRequest.ts +7 -4
  213. package/src/models/ListContextStoresResponseBody.ts +14 -8
  214. package/src/models/ListDatasetsRequest.ts +6 -2
  215. package/src/models/ListDatasetsResponseBody.ts +14 -6
  216. package/src/models/ListDatasetsShrinkRequest.ts +6 -2
  217. package/src/models/ListOptimizeRunsRequest.ts +74 -0
  218. package/src/models/ListOptimizeRunsResponse.ts +40 -0
  219. package/src/models/ListOptimizeRunsResponseBody.ts +274 -0
  220. package/src/models/ListOptimizeTasksRequest.ts +64 -0
  221. package/src/models/ListOptimizeTasksResponse.ts +40 -0
  222. package/src/models/ListOptimizeTasksResponseBody.ts +187 -0
  223. package/src/models/ListPipelineRunsRequest.ts +10 -4
  224. package/src/models/ListPipelineRunsResponseBody.ts +9 -9
  225. package/src/models/ListPipelinesRequest.ts +6 -12
  226. package/src/models/ListPipelinesResponseBody.ts +56 -37
  227. package/src/models/ModelParameters.ts +49 -0
  228. package/src/models/OfflineExperimentConfig.ts +21 -0
  229. package/src/models/PausePipelineResponseBody.ts +3 -3
  230. package/src/models/PromptTemplateItem.ts +14 -0
  231. package/src/models/ResumePipelineResponseBody.ts +3 -3
  232. package/src/models/RunPipelineRequest.ts +4 -4
  233. package/src/models/RunPipelineResponseBody.ts +4 -4
  234. package/src/models/SearchContextRequest.ts +37 -5
  235. package/src/models/SearchContextResponseBody.ts +7 -1
  236. package/src/models/TerminatePipelineRequest.ts +3 -0
  237. package/src/models/TerminatePipelineResponseBody.ts +17 -0
  238. package/src/models/UpdateContextStoreRequest.ts +183 -37
  239. package/src/models/UpdateContextStoreResponseBody.ts +2 -2
  240. package/src/models/UpdateExperimentPlanRequest.ts +6 -6
  241. package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
  242. package/src/models/UpdateOptimizeRunRequest.ts +57 -0
  243. package/src/models/UpdateOptimizeRunResponse.ts +40 -0
  244. package/src/models/UpdateOptimizeRunResponseBody.ts +44 -0
  245. package/src/models/UpdateOptimizeTaskRequest.ts +57 -0
  246. package/src/models/UpdateOptimizeTaskResponse.ts +40 -0
  247. package/src/models/UpdateOptimizeTaskResponseBody.ts +34 -0
  248. package/src/models/model.ts +40 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateContextStoreRequestConfigAudit extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to write item events for dropped recall candidates. Default value: false.
8
+ * Specifies whether to write item events for candidates dropped during recall. Default value: false.
9
9
  *
10
10
  * @example
11
11
  * false
@@ -52,10 +52,146 @@ export class UpdateContextStoreRequestConfigAudit extends $dara.Model {
52
52
  }
53
53
  }
54
54
 
55
+ export class UpdateContextStoreRequestConfigExtractionPoliciesModel extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
59
+ *
60
+ * @example
61
+ * qwen3.8-flash
62
+ */
63
+ name?: string;
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ name: 'name',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ name: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class UpdateContextStoreRequestConfigExtractionPolicies extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The list of memory categories.
89
+ *
90
+ * @example
91
+ * ["preference","profile"]
92
+ */
93
+ categories?: string[];
94
+ /**
95
+ * @remarks
96
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
97
+ *
98
+ * @example
99
+ * Extract only user product preferences
100
+ */
101
+ customInstructions?: string;
102
+ /**
103
+ * @remarks
104
+ * Specifies whether to apply this policy to new inputs. Default value: true. Disabling the policy does not delete historical memories.
105
+ *
106
+ * @example
107
+ * true
108
+ */
109
+ enabled?: boolean;
110
+ /**
111
+ * @remarks
112
+ * The list of exclusion rules. Content that matches these rules is not extracted.
113
+ *
114
+ * @example
115
+ * ["Password","ID number"]
116
+ */
117
+ excludeRules?: string[];
118
+ /**
119
+ * @remarks
120
+ * The extraction model configuration.
121
+ */
122
+ model?: UpdateContextStoreRequestConfigExtractionPoliciesModel;
123
+ /**
124
+ * @remarks
125
+ * The display name of the extraction policy.
126
+ *
127
+ * @example
128
+ * User preferences
129
+ */
130
+ name?: string;
131
+ /**
132
+ * @remarks
133
+ * The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
134
+ *
135
+ * @example
136
+ * fact
137
+ */
138
+ preset?: string;
139
+ /**
140
+ * @remarks
141
+ * The ID of the extraction policy. This parameter is optional. If omitted, the default value is default. The ID must start with a letter and can contain only letters, digits, underscores (_), and hyphens (-). It can be up to 64 characters in length. After default value processing, the ID must be unique within the same library. Modifying the name or instructions does not change this ID.
142
+ *
143
+ * @example
144
+ * preferences
145
+ */
146
+ strategyId?: string;
147
+ static names(): { [key: string]: string } {
148
+ return {
149
+ categories: 'categories',
150
+ customInstructions: 'customInstructions',
151
+ enabled: 'enabled',
152
+ excludeRules: 'excludeRules',
153
+ model: 'model',
154
+ name: 'name',
155
+ preset: 'preset',
156
+ strategyId: 'strategyId',
157
+ };
158
+ }
159
+
160
+ static types(): { [key: string]: any } {
161
+ return {
162
+ categories: { 'type': 'array', 'itemType': 'string' },
163
+ customInstructions: 'string',
164
+ enabled: 'boolean',
165
+ excludeRules: { 'type': 'array', 'itemType': 'string' },
166
+ model: UpdateContextStoreRequestConfigExtractionPoliciesModel,
167
+ name: 'string',
168
+ preset: 'string',
169
+ strategyId: 'string',
170
+ };
171
+ }
172
+
173
+ validate() {
174
+ if(Array.isArray(this.categories)) {
175
+ $dara.Model.validateArray(this.categories);
176
+ }
177
+ if(Array.isArray(this.excludeRules)) {
178
+ $dara.Model.validateArray(this.excludeRules);
179
+ }
180
+ if(this.model && typeof (this.model as any).validate === 'function') {
181
+ (this.model as any).validate();
182
+ }
183
+ super.validate();
184
+ }
185
+
186
+ constructor(map?: { [key: string]: any }) {
187
+ super(map);
188
+ }
189
+ }
190
+
55
191
  export class UpdateContextStoreRequestConfigExtractionPolicyModel extends $dara.Model {
56
192
  /**
57
193
  * @remarks
58
- * The name of the extraction model. Currently, only qwen3.8-flash is supported, which uses internal platform credentials.
194
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
59
195
  *
60
196
  * @example
61
197
  * qwen3.8-flash
@@ -93,7 +229,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
93
229
  categories?: string[];
94
230
  /**
95
231
  * @remarks
96
- * The custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8000 characters.
232
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
97
233
  *
98
234
  * @example
99
235
  * Extract only user product preferences
@@ -161,7 +297,7 @@ export class UpdateContextStoreRequestConfigExtractionPolicy extends $dara.Model
161
297
  export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
162
298
  /**
163
299
  * @remarks
164
- * The list of scope fields where at least one must be non-empty. Valid element values: userId, agentId, appId, and runId.
300
+ * Specifies that at least one of the specified scope fields must be non-empty. Valid values for elements: userId, agentId, appId, and runId.
165
301
  *
166
302
  * @example
167
303
  * ["userId"]
@@ -194,7 +330,7 @@ export class UpdateContextStoreRequestConfigScopePolicy extends $dara.Model {
194
330
  export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
195
331
  /**
196
332
  * @remarks
197
- * The description of the field. This parameter is required when usage is set to extraction-input.
333
+ * The field description. Required when usage is set to extraction-input.
198
334
  *
199
335
  * @example
200
336
  * Customer tier
@@ -202,7 +338,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
202
338
  description?: string;
203
339
  /**
204
340
  * @remarks
205
- * Specifies whether the field is a sensitive field.
341
+ * Specifies whether the field is sensitive.
206
342
  *
207
343
  * @example
208
344
  * false
@@ -218,7 +354,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
218
354
  sourceField?: string;
219
355
  /**
220
356
  * @remarks
221
- * The target write path, such as metadata.customerTier.
357
+ * The target path for writing, such as metadata.customerTier.
222
358
  *
223
359
  * @example
224
360
  * metadata.customerTier
@@ -264,7 +400,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetCustomFields extends $d
264
400
  export class UpdateContextStoreRequestConfigSourceDatasetFilter extends $dara.Model {
265
401
  /**
266
402
  * @remarks
267
- * The subset of the Pipeline where clause, which is pushed down to SQL.
403
+ * The subset of the pipeline where clause, which is pushed down to SQL.
268
404
  *
269
405
  * @example
270
406
  * appId = \\"crm-service\\"
@@ -294,7 +430,7 @@ export class UpdateContextStoreRequestConfigSourceDatasetFilter extends $dara.Mo
294
430
  export class UpdateContextStoreRequestConfigSourceDataset extends $dara.Model {
295
431
  /**
296
432
  * @remarks
297
- * The list of custom field declarations. If provided, it fully overwrites the existing declarations.
433
+ * The list of custom field declarations. If specified, the entire list is overwritten.
298
434
  */
299
435
  customFields?: UpdateContextStoreRequestConfigSourceDatasetCustomFields[];
300
436
  /**
@@ -352,7 +488,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
352
488
  agentNames?: string[];
353
489
  /**
354
490
  * @remarks
355
- * Specifies whether to exclude degraded trajectories. Default value: false (degraded trajectories are included).
491
+ * Specifies whether to exclude degraded trajectories. Default value: false (includes degraded trajectories).
356
492
  *
357
493
  * @example
358
494
  * false
@@ -360,7 +496,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
360
496
  excludeDegraded?: boolean;
361
497
  /**
362
498
  * @remarks
363
- * The minimum number of steps, which must be greater than or equal to 0.
499
+ * The minimum number of steps. The value must be greater than or equal to 0.
364
500
  *
365
501
  * @example
366
502
  * 2
@@ -368,7 +504,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
368
504
  minStepCount?: number;
369
505
  /**
370
506
  * @remarks
371
- * The native SLS query statement. This statement is combined with the preceding conditions by using the AND operator.
507
+ * The native Simple Log Service (SLS) query statement. It is combined with the preceding conditions using AND.
372
508
  *
373
509
  * @example
374
510
  * tool_names:"search_order"
@@ -376,7 +512,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
376
512
  query?: string;
377
513
  /**
378
514
  * @remarks
379
- * The list of service names. A single trailing asterisk (*) is supported. Specifying an explicitly empty list returns a 400 error.
515
+ * The list of service names. A single trailing asterisk (*) is supported. An explicitly empty list returns a 400 error.
380
516
  *
381
517
  * @example
382
518
  * ["crm-service","app-*"]
@@ -420,7 +556,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
420
556
  export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends $dara.Model {
421
557
  /**
422
558
  * @remarks
423
- * The JSONPath expression for the agentId field. Default value: $.agent_name.
559
+ * The JSONPath for agentId. Default value: $.agent_name.
424
560
  *
425
561
  * @example
426
562
  * $.agent_name
@@ -428,7 +564,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
428
564
  agentId?: string;
429
565
  /**
430
566
  * @remarks
431
- * The JSONPath expression for the appId field. Default value: $.service_names[0].
567
+ * The JSONPath for appId. Default value: $.service_names[0].
432
568
  *
433
569
  * @example
434
570
  * $.service_names[0]
@@ -436,7 +572,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
436
572
  appId?: string;
437
573
  /**
438
574
  * @remarks
439
- * The JSONPath expression for the runId field. Default value: $.trajectory_id.
575
+ * The JSONPath for runId. Default value: $.trajectory_id.
440
576
  *
441
577
  * @example
442
578
  * $.trajectory_id
@@ -444,7 +580,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
444
580
  runId?: string;
445
581
  /**
446
582
  * @remarks
447
- * The JSONPath expression for the userId field. By default, this field is not mapped.
583
+ * The JSONPath for userId. By default, this field is not mapped.
448
584
  *
449
585
  * @example
450
586
  * $.trajectory_extensions.user_id
@@ -480,12 +616,12 @@ export class UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
480
616
  export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
481
617
  /**
482
618
  * @remarks
483
- * The trajectory filter conditions. Conditions are combined with AND, while items within a list are combined with OR.
619
+ * The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
484
620
  */
485
621
  filter?: UpdateContextStoreRequestConfigSourceTrajectoryFilter;
486
622
  /**
487
623
  * @remarks
488
- * The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be modified after creation.
624
+ * The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be changed after creation.
489
625
  *
490
626
  * @example
491
627
  * agent-trajectory
@@ -501,7 +637,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
501
637
  pollIntervalSeconds?: number;
502
638
  /**
503
639
  * @remarks
504
- * The scope field mapping. The value must be a JSONPath expression. Only the $.a.b and $.a[0] formats are supported.
640
+ * The scope field mapping. The value is a JSONPath expression. Only the $.a.b and $.a[0] formats are supported.
505
641
  */
506
642
  scopeMapping?: UpdateContextStoreRequestConfigSourceTrajectoryScopeMapping;
507
643
  static names(): { [key: string]: string } {
@@ -540,7 +676,7 @@ export class UpdateContextStoreRequestConfigSourceTrajectory extends $dara.Model
540
676
  export class UpdateContextStoreRequestConfigSource extends $dara.Model {
541
677
  /**
542
678
  * @remarks
543
- * The AgentSpace where the trace data source is located. Cross-AgentSpace is not supported in the current phase. If provided, it must be equal to the path AgentSpace. Otherwise, a 400 parameter error is returned. The AgentSpace cannot be changed after creation.
679
+ * The AgentSpace where the trace data source is located. Cross-AgentSpace operations are not supported in the current phase. If specified, the value must be equal to the path AgentSpace. Otherwise, a 400 parameter error is returned. The AgentSpace cannot be changed after creation.
544
680
  *
545
681
  * @example
546
682
  * my-agent-space
@@ -548,12 +684,12 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
548
684
  agentSpace?: string;
549
685
  /**
550
686
  * @remarks
551
- * The updatable items for the Dataset data source. The datasetName cannot be changed after creation.
687
+ * The updatable items of the Dataset data source. The datasetName cannot be changed after creation.
552
688
  */
553
689
  dataset?: UpdateContextStoreRequestConfigSourceDataset;
554
690
  /**
555
691
  * @remarks
556
- * The start time for data backfill, in ISO 8601 UTC format.
692
+ * The start time for data backfill in ISO 8601 UTC format.
557
693
  *
558
694
  * @example
559
695
  * 2026-01-01T00:00:00Z
@@ -561,7 +697,7 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
561
697
  startTime?: string;
562
698
  /**
563
699
  * @remarks
564
- * The updatable items for the trajectory data source. The source.type cannot be changed after creation.
700
+ * The updatable items of the trajectory data source. The source.type cannot be changed after creation.
565
701
  */
566
702
  trajectory?: UpdateContextStoreRequestConfigSourceTrajectory;
567
703
  static names(): { [key: string]: string } {
@@ -600,7 +736,7 @@ export class UpdateContextStoreRequestConfigSource extends $dara.Model {
600
736
  export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
601
737
  /**
602
738
  * @remarks
603
- * The allowed storage actions. By default, all actions are allowed: ADD, UPDATE, MERGE, and DELETE.
739
+ * The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
604
740
  *
605
741
  * @example
606
742
  * ["ADD","UPDATE","MERGE","DELETE"]
@@ -608,7 +744,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
608
744
  allowedActions?: string[];
609
745
  /**
610
746
  * @remarks
611
- * Specifies whether to deduplicate events in event mode. Default value: true.
747
+ * Specifies whether to deduplicate data in event mode. Default value: true.
612
748
  *
613
749
  * @example
614
750
  * true
@@ -616,7 +752,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
616
752
  dedupe?: boolean;
617
753
  /**
618
754
  * @remarks
619
- * Specifies whether to enable human edit protection. Default value: true. When this feature is enabled, automatic extraction does not overwrite manually modified memories.
755
+ * Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
620
756
  *
621
757
  * @example
622
758
  * true
@@ -632,7 +768,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
632
768
  mergeKey?: string;
633
769
  /**
634
770
  * @remarks
635
- * The storage mode. Valid values: event (append events) and upsert (merge and update). Default value: upsert.
771
+ * The storage mode. Valid values: event (event append) and upsert (merge and update). Default value: upsert.
636
772
  *
637
773
  * @example
638
774
  * upsert
@@ -648,7 +784,7 @@ export class UpdateContextStoreRequestConfigStoragePolicy extends $dara.Model {
648
784
  similarityThreshold?: number;
649
785
  /**
650
786
  * @remarks
651
- * The number of days before the memory expires. A value of 0 indicates that the memory never expires.
787
+ * The number of days before memories expire. A value of 0 indicates that memories do not expire.
652
788
  *
653
789
  * @example
654
790
  * 0
@@ -696,6 +832,11 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
696
832
  * The audit configuration.
697
833
  */
698
834
  audit?: UpdateContextStoreRequestConfigAudit;
835
+ /**
836
+ * @remarks
837
+ * The extraction policies. You can specify 1 to 10 policies. In a request, you can specify either this field or the compatible extractionPolicy field, but not both. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
838
+ */
839
+ extractionPolicies?: UpdateContextStoreRequestConfigExtractionPolicies[];
699
840
  /**
700
841
  * @remarks
701
842
  * The extraction policy for the memory type.
@@ -703,7 +844,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
703
844
  extractionPolicy?: UpdateContextStoreRequestConfigExtractionPolicy;
704
845
  /**
705
846
  * @remarks
706
- * The metadata field mapping. The key is the business field, and the value is the storage field.
847
+ * The metadata field mapping. The key is the business field and the value is the storage field.
707
848
  *
708
849
  * @example
709
850
  * {"userId":"user_id","sessionId":"session_id"}
@@ -716,7 +857,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
716
857
  scopePolicy?: UpdateContextStoreRequestConfigScopePolicy;
717
858
  /**
718
859
  * @remarks
719
- * The datasource config, which serves only as the root identity for the data source.
860
+ * The datasource config. This serves only as the root identity for the data source.
720
861
  */
721
862
  source?: UpdateContextStoreRequestConfigSource;
722
863
  /**
@@ -727,6 +868,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
727
868
  static names(): { [key: string]: string } {
728
869
  return {
729
870
  audit: 'audit',
871
+ extractionPolicies: 'extractionPolicies',
730
872
  extractionPolicy: 'extractionPolicy',
731
873
  metadataField: 'metadataField',
732
874
  scopePolicy: 'scopePolicy',
@@ -738,6 +880,7 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
738
880
  static types(): { [key: string]: any } {
739
881
  return {
740
882
  audit: UpdateContextStoreRequestConfigAudit,
883
+ extractionPolicies: { 'type': 'array', 'itemType': UpdateContextStoreRequestConfigExtractionPolicies },
741
884
  extractionPolicy: UpdateContextStoreRequestConfigExtractionPolicy,
742
885
  metadataField: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
743
886
  scopePolicy: UpdateContextStoreRequestConfigScopePolicy,
@@ -750,6 +893,9 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
750
893
  if(this.audit && typeof (this.audit as any).validate === 'function') {
751
894
  (this.audit as any).validate();
752
895
  }
896
+ if(Array.isArray(this.extractionPolicies)) {
897
+ $dara.Model.validateArray(this.extractionPolicies);
898
+ }
753
899
  if(this.extractionPolicy && typeof (this.extractionPolicy as any).validate === 'function') {
754
900
  (this.extractionPolicy as any).validate();
755
901
  }
@@ -776,20 +922,20 @@ export class UpdateContextStoreRequestConfig extends $dara.Model {
776
922
  export class UpdateContextStoreRequest extends $dara.Model {
777
923
  /**
778
924
  * @remarks
779
- * The description of the policy change. A new policy version is created when policy fields in the configuration are modified.
925
+ * The description of the policy change. A new policy version is created when policy fields in the configuration are changed.
780
926
  *
781
927
  * @example
782
- * Relax similarity threshold
928
+ * Relax the similarity threshold
783
929
  */
784
930
  changeNote?: string;
785
931
  /**
786
932
  * @remarks
787
- * The context library configuration. If provided, it fully overwrites the existing configuration. If omitted, the original configuration is retained.
933
+ * The context library configuration. If specified, the entire configuration is overwritten. If omitted, the original configuration is retained.
788
934
  */
789
935
  config?: UpdateContextStoreRequestConfig;
790
936
  /**
791
937
  * @remarks
792
- * The context library type. This field is typically immutable after creation and is provided only for exception correction.
938
+ * The context library type. This field generally cannot be modified after creation and is provided only for exception correction.
793
939
  *
794
940
  * @example
795
941
  * experience
@@ -805,7 +951,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
805
951
  description?: string;
806
952
  /**
807
953
  * @remarks
808
- * The running status. For the memory type, valid values are Active (running) and Paused (data source consumption and extraction paused). For the experience type, it indicates the mining status of the experience library. The specific valid values and combination constraints are defined by the server.
954
+ * The running status. Valid values: Active and Paused. For the memory type, pausing stops data source reading and extraction. For the experience dataset follow type, pausing retains submitted and in-flight checkpoints, and resuming continues to process new records without skipping history from the current time. You do not need to pass back the source parameter when only updating the status.
809
955
  *
810
956
  * @example
811
957
  * Active
@@ -813,7 +959,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
813
959
  status?: string;
814
960
  /**
815
961
  * @remarks
816
- * The idempotency token. It is a unique string generated by the client to ensure the idempotence of the update operation.
962
+ * The idempotency token, which is a unique string generated by the client to ensure the idempotence of the update operation.
817
963
  *
818
964
  * @example
819
965
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateContextStoreResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID, which is used to locate the request during troubleshooting.
8
+ * The request ID, which is used to locate the request when troubleshooting issues.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -13,7 +13,7 @@ export class UpdateContextStoreResponseBody extends $dara.Model {
13
13
  requestId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The effective strategy version number after the update for the memory type. If the strategy remains unchanged, the version number is the same as before the update.
16
+ * The strategy version that takes effect after the update for the memory type. If the strategy remains unchanged, the version is the same as the one before the update.
17
17
  *
18
18
  * @example
19
19
  * 2
@@ -31,7 +31,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
31
31
  description?: string;
32
32
  /**
33
33
  * @remarks
34
- * The list of evaluators. Omitting this field means no modification. Passing an empty array clears the list.
34
+ * The list of evaluators. If this parameter is omitted, the list remains unchanged. If an empty array is passed, the list is cleared.
35
35
  *
36
36
  * @example
37
37
  * [{"evaluatorRef": "Builtin.agent_task_completion"}]
@@ -39,7 +39,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
39
39
  evaluators?: Evaluator[];
40
40
  /**
41
41
  * @remarks
42
- * The experiment type.
42
+ * The experiment type. Valid values: OFFLINE (offline experiment) and ONLINE (online experiment).
43
43
  *
44
44
  * @example
45
45
  * OFFLINE
@@ -47,7 +47,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
47
47
  experimentType?: string;
48
48
  /**
49
49
  * @remarks
50
- * The list of experiment configurations. When provided, the entire list is replaced. The number of configurations must be 1 to 5.
50
+ * The list of experiment configurations. When passed, the entire list is replaced. The number of items must be between 1 and 5.
51
51
  *
52
52
  * @example
53
53
  * [{"label": "A", "name": "baseline", "modelName": "qwen-max"}]
@@ -58,12 +58,12 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
58
58
  * Optional.
59
59
  *
60
60
  * @example
61
- * {"question": "How do I request a refund?"}
61
+ * {"question": "How do I get a refund?"}
62
62
  */
63
63
  input?: { [key: string]: any };
64
64
  /**
65
65
  * @remarks
66
- * The name of the associated data processing pipeline. This parameter is optional. If not specified, the value is not updated. If an empty character string is specified, the association is dissociated. After association, when an experiment under this plan completes execution and writes results to the experiment result Logstore, the system filters by the traceId of the experiment trace and invokes PreviewPipeline. The pipeline-processed results are then written together.
66
+ * The name of the associated data processing pipeline. This parameter is optional. If it is not passed, the association is not updated. If an empty character string is passed, the pipeline is dissociated. After the association is configured, when an experiment under this plan executes and completes writing the experiment results to the Logstore, the system filters the results by the traceId of the current experiment trace and invokes PreviewPipeline to write the results processed by the pipeline.
67
67
  */
68
68
  pipelineName?: string;
69
69
  /**
@@ -84,7 +84,7 @@ export class UpdateExperimentPlanRequest extends $dara.Model {
84
84
  querySql?: string;
85
85
  /**
86
86
  * @remarks
87
- * The list of selected data item IDs in partial dataset mode. Passing an empty array clears the list.
87
+ * The list of selected data item IDs in partial dataset mode. If an empty array is passed, the list is cleared.
88
88
  *
89
89
  * @example
90
90
  * []
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateExperimentPlanResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The prompt message.
8
+ * The message.
9
9
  *
10
10
  * @example
11
- * Experiment plan updated successfully
11
+ * The experiment plan is updated successfully
12
12
  */
13
13
  message?: string;
14
14
  /**
15
15
  * @remarks
16
- * The experiment plan ID.
16
+ * The ID of the experiment plan.
17
17
  *
18
18
  * @example
19
19
  * exp-plan-e95bff54685a4ae29ff3a834c1008a71
@@ -0,0 +1,57 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateOptimizeRunRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The extra parameters. To retry a failed artifact application, set application.action to retry and do not specify status. Do not specify this field when canceling a run.
9
+ *
10
+ * @example
11
+ * {"application":{"action":"retry"}}
12
+ */
13
+ extra?: { [key: string]: any };
14
+ /**
15
+ * @remarks
16
+ * The status. Only Cancelled is supported when canceling a run. The execution status is maintained by the server. Do not specify this field when retrying an artifact application.
17
+ *
18
+ * @example
19
+ * Succeeded
20
+ */
21
+ status?: string;
22
+ /**
23
+ * @remarks
24
+ * The idempotency token.
25
+ *
26
+ * @example
27
+ * a1b2c3d4-1234-5678-90ab-cdef12345678
28
+ */
29
+ clientToken?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ extra: 'extra',
33
+ status: 'status',
34
+ clientToken: 'clientToken',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
41
+ status: 'string',
42
+ clientToken: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ if(this.extra) {
48
+ $dara.Model.validateMap(this.extra);
49
+ }
50
+ super.validate();
51
+ }
52
+
53
+ constructor(map?: { [key: string]: any }) {
54
+ super(map);
55
+ }
56
+ }
57
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateOptimizeRunResponseBody } from "./UpdateOptimizeRunResponseBody";
4
+
5
+
6
+ export class UpdateOptimizeRunResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateOptimizeRunResponseBody;
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: UpdateOptimizeRunResponseBody,
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
+