@alicloud/polardb20170801 8.2.4 → 8.3.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 (52) hide show
  1. package/dist/client.d.ts +29 -14
  2. package/dist/client.js +65 -14
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeBackupPolicyRequest.d.ts +1 -1
  5. package/dist/models/DescribeBackupPolicyResponseBody.d.ts +85 -125
  6. package/dist/models/DescribeBackupPolicyResponseBody.js +4 -0
  7. package/dist/models/DescribeBackupPolicyResponseBody.js.map +1 -1
  8. package/dist/models/DescribeDetachedBackupsRequest.d.ts +15 -18
  9. package/dist/models/DescribeDetachedBackupsRequest.js.map +1 -1
  10. package/dist/models/DescribeDetachedBackupsResponseBody.d.ts +3 -3
  11. package/dist/models/DescribeKbsyncLinksRequest.d.ts +16 -0
  12. package/dist/models/DescribeKbsyncLinksRequest.js +4 -0
  13. package/dist/models/DescribeKbsyncLinksRequest.js.map +1 -1
  14. package/dist/models/DescribeKbsyncLinksResponseBody.d.ts +25 -1
  15. package/dist/models/DescribeKbsyncLinksResponseBody.js +6 -0
  16. package/dist/models/DescribeKbsyncLinksResponseBody.js.map +1 -1
  17. package/dist/models/ModifyBackupPolicyRequest.d.ts +117 -185
  18. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  19. package/dist/models/ModifyBackupPolicyResponseBody.d.ts +1 -1
  20. package/dist/models/ModifyBackupPolicyShrinkRequest.d.ts +83 -134
  21. package/dist/models/ModifyBackupPolicyShrinkRequest.js.map +1 -1
  22. package/dist/models/RegisterKnowledgeBaseFileRequest.d.ts +43 -0
  23. package/dist/models/RegisterKnowledgeBaseFileRequest.js +62 -0
  24. package/dist/models/RegisterKnowledgeBaseFileRequest.js.map +1 -0
  25. package/dist/models/RegisterKnowledgeBaseFileResponse.d.ts +19 -0
  26. package/dist/models/RegisterKnowledgeBaseFileResponse.js +69 -0
  27. package/dist/models/RegisterKnowledgeBaseFileResponse.js.map +1 -0
  28. package/dist/models/RegisterKnowledgeBaseFileResponseBody.d.ts +63 -0
  29. package/dist/models/RegisterKnowledgeBaseFileResponseBody.js +68 -0
  30. package/dist/models/RegisterKnowledgeBaseFileResponseBody.js.map +1 -0
  31. package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +72 -5
  32. package/dist/models/RetrievalKnowledgeBaseResponseBody.js +43 -1
  33. package/dist/models/RetrievalKnowledgeBaseResponseBody.js.map +1 -1
  34. package/dist/models/model.d.ts +4 -0
  35. package/dist/models/model.js +41 -33
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +72 -14
  39. package/src/models/DescribeBackupPolicyRequest.ts +1 -1
  40. package/src/models/DescribeBackupPolicyResponseBody.ts +89 -125
  41. package/src/models/DescribeDetachedBackupsRequest.ts +17 -20
  42. package/src/models/DescribeDetachedBackupsResponseBody.ts +3 -3
  43. package/src/models/DescribeKbsyncLinksRequest.ts +20 -0
  44. package/src/models/DescribeKbsyncLinksResponseBody.ts +31 -1
  45. package/src/models/ModifyBackupPolicyRequest.ts +120 -188
  46. package/src/models/ModifyBackupPolicyResponseBody.ts +1 -1
  47. package/src/models/ModifyBackupPolicyShrinkRequest.ts +86 -137
  48. package/src/models/RegisterKnowledgeBaseFileRequest.ts +60 -0
  49. package/src/models/RegisterKnowledgeBaseFileResponse.ts +40 -0
  50. package/src/models/RegisterKnowledgeBaseFileResponseBody.ts +86 -0
  51. package/src/models/RetrievalKnowledgeBaseResponseBody.ts +105 -5
  52. package/src/models/model.ts +4 -0
@@ -2,32 +2,24 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The advanced backup policies.
6
- *
7
- * > - - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
8
- * >
9
- * > - - This parameter is supported only for clusters for which `BackupPolicyLevel` is set to `Advanced`.
5
+ * The advanced backup policy.
6
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
7
+ * > * * Only clusters with BackupPolicyLevel set to Advanced support this parameter.
10
8
  */
11
9
  advancedDataPoliciesShrink?: string;
12
10
  /**
13
11
  * @remarks
14
12
  * The backup frequency. Valid values:
15
13
  *
16
- * - **Normal** (default): standard backup. The cluster is backed up once a day.
17
- *
18
- * - **2/24H**: high-frequency backup. The cluster is backed up every 2 hours.
19
- *
20
- * - **3/24H**: high-frequency backup. The cluster is backed up every 3 hours.
14
+ * - **Normal** (default): regular backup. Automatic backup is performed once a day at a scheduled time.
15
+ * - **2/24H**: high-frequency backup. Backup is performed every 2 hours.
16
+ * - **3/24H**: high-frequency backup. Backup is performed every 3 hours.
17
+ * - **4/24H**: high-frequency backup. Backup is performed every 4 hours.
21
18
  *
22
- * - **4/24H**: high-frequency backup. The cluster is backed up every 4 hours.
23
- *
24
- * > * * If you enable high-frequency backup, all backups completed within the last 24 hours are retained. For backups older than 24 hours, the system retains only the first backup completed after 00:00 each day and deletes the rest.
25
- * >
26
- * > * - If you enable high-frequency backup, the **PreferredBackupPeriod** parameter is automatically set to all days of the week (from Monday to Sunday).
27
- * >
28
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
29
- * >
30
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
19
+ * > * * After high-frequency backup is enabled, all backups completed within 24 hours are retained. For backups older than 24 hours, only the first backup completed after 00:00 each day is retained, and all others are deleted.
20
+ * > * * After high-frequency backup is enabled, the backup cycle parameter PreferredBackupPeriod defaults to all days of the week (Monday through Sunday).
21
+ * > * * If the region of your PolarDB for MySQL cluster supports the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
22
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
31
23
  *
32
24
  * @example
33
25
  * Normal
@@ -35,17 +27,12 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
35
27
  backupFrequency?: string;
36
28
  /**
37
29
  * @remarks
38
- * The level of the backup policy. Valid values:
39
- *
40
- * - **Normal**: standard backup
41
- *
42
- * - **Advanced**: advanced backup
43
- *
44
- * > * * This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
45
- * >
46
- * > * - Check the `AdvancedPolicyOption` parameter in the response of the [DescribeBackupPolicy](https://help.aliyun.com/document_detail/2319231.html) operation to determine whether the cluster supports advanced backup. If the cluster supports advanced backup, you can request this feature in [Advanced backup settings](~611727~~).
47
- * >
48
- * > * - After you enable advanced backup, you **cannot** switch back to standard backup.
30
+ * The backup policy level. Valid values:
31
+ * * **Normal**: regular backup.
32
+ * * **Advanced**: advanced backup.
33
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
34
+ * > * * You can check the AdvancedPolicyOption response parameter of the [DescribeBackupPolicy](https://help.aliyun.com/document_detail/2319231.html) operation to determine whether the cluster supports advanced backup. If the cluster supports advanced backup, you can apply to use this feature through [Advanced backup settings](~611727~~).
35
+ * > * * After advanced backup is enabled, rollback to regular backup is **not supported**.
49
36
  *
50
37
  * @example
51
38
  * Normal
@@ -53,15 +40,15 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
53
40
  backupPolicyLevel?: string;
54
41
  /**
55
42
  * @remarks
56
- * Specifies whether to retain backups when you delete the cluster. Valid values:
43
+ * Specifies whether to retain backups when the cluster is deleted. Valid values:
57
44
  *
58
- * - **ALL**: Permanently retains all backups.
45
+ * - **ALL**: Long-term retention (LTR) of all backups.
59
46
  *
60
- * - **LATEST**: Permanently retains the last backup.
47
+ * - **LATEST**: Long-term retention (LTR) of only the last backup.
61
48
  *
62
- * - **NONE**: Does not retain backup sets.
49
+ * - **NONE**: Does not retain any backups.
63
50
  *
64
- * > The default value is `NONE`.
51
+ * > Default value: NONE.
65
52
  *
66
53
  * @example
67
54
  * NONE
@@ -71,7 +58,7 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
71
58
  * @remarks
72
59
  * The cluster ID.
73
60
  *
74
- * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of all clusters in a specified region, including the cluster IDs.
61
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query information about all clusters in a specific region, including cluster IDs.
75
62
  *
76
63
  * This parameter is required.
77
64
  *
@@ -83,19 +70,14 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
83
70
  * @remarks
84
71
  * The backup frequency. Valid values:
85
72
  *
86
- * - **Normal** (default): standard backup. The cluster is backed up once a day.
87
- *
88
- * - **2/24H**: high-frequency backup. The cluster is backed up every 2 hours.
89
- *
90
- * - **3/24H**: high-frequency backup. The cluster is backed up every 3 hours.
73
+ * - **Normal** (default): regular backup. Automatic backup is performed once a day at a scheduled time.
74
+ * - **2/24H**: high-frequency backup. Backup is performed every 2 hours.
75
+ * - **3/24H**: high-frequency backup. Backup is performed every 3 hours.
76
+ * - **4/24H**: high-frequency backup. Backup is performed every 4 hours.
91
77
  *
92
- * - **4/24H**: high-frequency backup. The cluster is backed up every 4 hours.
93
- *
94
- * > * * This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
95
- * >
96
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
97
- * >
98
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
78
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
79
+ * > * * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
80
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
99
81
  *
100
82
  * @example
101
83
  * Normal
@@ -104,28 +86,18 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
104
86
  /**
105
87
  * @remarks
106
88
  * The level-1 backup cycle. Valid values:
107
- *
108
- * - **Monday**
109
- *
110
- * - **Tuesday**
111
- *
112
- * - **Wednesday**
113
- *
114
- * - **Thursday**
115
- *
116
- * - **Friday**
117
- *
118
- * - **Saturday**
119
- *
120
- * - **Sunday**
121
- *
122
- * > * * You must select at least two days. Separate multiple values with commas.
123
- * >
124
- * > * - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
125
- * >
126
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
127
- * >
128
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
89
+ * * **Monday**
90
+ * * **Tuesday**
91
+ * * **Wednesday**
92
+ * * **Thursday**
93
+ * * **Friday**
94
+ * * **Saturday**
95
+ * * **Sunday**
96
+ *
97
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
98
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
99
+ * > * * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
100
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
129
101
  *
130
102
  * @example
131
103
  * Monday,Tuesday
@@ -133,9 +105,9 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
133
105
  dataLevel1BackupPeriod?: string;
134
106
  /**
135
107
  * @remarks
136
- * The retention period for level-1 backups, in days. Valid values: 3 to 14.
108
+ * The retention period of level-1 backups. Valid values: 3 to 14. Unit: days.
137
109
  *
138
- * > - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
110
+ * > * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
139
111
  *
140
112
  * @example
141
113
  * 3
@@ -143,11 +115,10 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
143
115
  dataLevel1BackupRetentionPeriod?: string;
144
116
  /**
145
117
  * @remarks
146
- * The time window for automatic backups. Specify the time in UTC and in the `hh:mmZ-hh:mmZ` format. The time window must be a one-hour period that starts on the hour. For example, `14:00Z-15:00Z`.
118
+ * The time period during which automatic backup is performed. Specify the time period in the `hh:mmZ-hh:mmZ` format in UTC. The values must be on the hour with an interval of 1 hour, such as `14:00Z-15:00Z`.
147
119
  *
148
- * > - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
149
- * >
150
- * > - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
120
+ * > * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
121
+ * > * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
151
122
  *
152
123
  * @example
153
124
  * 15:00Z-16:00Z
@@ -155,9 +126,8 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
155
126
  dataLevel1BackupTime?: string;
156
127
  /**
157
128
  * @remarks
158
- * The destination region for the cross-region level-2 backup. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
159
- *
160
- * > - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
129
+ * The destination region for cross-region level-2 backups. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
130
+ * > * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
161
131
  *
162
132
  * @example
163
133
  * cn-hangzhou
@@ -165,17 +135,16 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
165
135
  dataLevel2BackupAnotherRegionRegion?: string;
166
136
  /**
167
137
  * @remarks
168
- * The retention period of cross-region level-2 backups. Valid values:
138
+ * The retention period of cross-region backups for level-2 backups. Valid values:
169
139
  *
170
- * - **0**: Disables the cross-region level-2 backup feature.
140
+ * - **0**: Disables the level-2 cross-region backup feature.
171
141
  *
172
- * - **30 to 7300**: The retention period of cross-region level-2 backups, in days.
142
+ * - **30 to 7300**: The retention period of level-2 backups. Unit: days.
173
143
  *
174
- * - **-1**: Cross-region level-2 backups are permanently retained.
144
+ * - **-1**: Long-term retention (LTR) of level-2 backups.
175
145
  *
176
- * > * * When you create a cluster, the default value is **0**, which disables the cross-region level-2 backup feature.
177
- * >
178
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
146
+ * > * * When a cluster is created, the default value is **0**, which means the level-2 cross-region backup feature is disabled.
147
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
179
148
  *
180
149
  * @example
181
150
  * 30
@@ -184,28 +153,18 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
184
153
  /**
185
154
  * @remarks
186
155
  * The level-2 backup cycle. Valid values:
187
- *
188
- * - **Monday**
189
- *
190
- * - **Tuesday**
191
- *
192
- * - **Wednesday**
193
- *
194
- * - **Thursday**
195
- *
196
- * - **Friday**
197
- *
198
- * - **Saturday**
199
- *
200
- * - **Sunday**
201
- *
202
- * > * * You must select at least two days. Separate multiple values with commas.
203
- * >
204
- * > * - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
205
- * >
206
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
207
- * >
208
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
156
+ * * **Monday**
157
+ * * **Tuesday**
158
+ * * **Wednesday**
159
+ * * **Thursday**
160
+ * * **Friday**
161
+ * * **Saturday**
162
+ * * **Sunday**
163
+ *
164
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
165
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
166
+ * > * * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
167
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
209
168
  *
210
169
  * @example
211
170
  * Monday,Tuesday
@@ -217,13 +176,12 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
217
176
  *
218
177
  * - **0**: Disables the level-2 backup feature.
219
178
  *
220
- * - **30 to 7300**: The retention period of level-2 backups, in days.
179
+ * - **30 to 7300**: The retention period of level-2 backups. Unit: days.
221
180
  *
222
- * - **-1**: Level-2 backups are permanently retained.
181
+ * - **-1**: Long-term retention (LTR) of level-2 backups.
223
182
  *
224
- * > * * When you create a cluster, the default value is **0**, which disables the level-2 backup feature.
225
- * >
226
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
183
+ * > * * When a cluster is created, the default value is **0**, which means the level-2 backup feature is disabled.
184
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
227
185
  *
228
186
  * @example
229
187
  * 0
@@ -234,26 +192,17 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
234
192
  /**
235
193
  * @remarks
236
194
  * The backup cycle. Valid values:
237
- *
238
- * - **Monday**
239
- *
240
- * - **Tuesday**
241
- *
242
- * - **Wednesday**
243
- *
244
- * - **Thursday**
245
- *
246
- * - **Friday**
247
- *
248
- * - **Saturday**
249
- *
250
- * - **Sunday**
251
- *
252
- * > * * You must select at least two days. Separate multiple values with commas.
253
- * >
254
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
255
- * >
256
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
195
+ * * **Monday**
196
+ * * **Tuesday**
197
+ * * **Wednesday**
198
+ * * **Thursday**
199
+ * * **Friday**
200
+ * * **Saturday**
201
+ * * **Sunday**
202
+ *
203
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
204
+ * > * * If the region of your PolarDB for MySQL cluster supports the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
205
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
257
206
  *
258
207
  * @example
259
208
  * Monday,Tuesday
@@ -261,7 +210,7 @@ export declare class ModifyBackupPolicyShrinkRequest extends $dara.Model {
261
210
  preferredBackupPeriod?: string;
262
211
  /**
263
212
  * @remarks
264
- * The time window for automatic backups. Specify the time in UTC and in the `hh:mmZ-hh:mmZ` format. The time window must be a one-hour period that starts on the hour. For example, `14:00Z-15:00Z`.
213
+ * The time period during which automatic backup is performed. Specify the time period in the `hh:mmZ-hh:mmZ` format in UTC. The values must be on the hour with an interval of 1 hour, such as `14:00Z-15:00Z`.
265
214
  *
266
215
  * @example
267
216
  * 15:00Z-16:00Z
@@ -1 +1 @@
1
- {"version":3,"file":"ModifyBackupPolicyShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ModifyBackupPolicyShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA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AE,QAAQ;YACzC,oBAAoB,EAAE,QAAQ;YAC9B,mCAAmC,EAAE,QAAQ;YAC7C,4CAA4C,EAAE,QAAQ;YACtD,sBAAsB,EAAE,QAAQ;YAChC,+BAA+B,EAAE,QAAQ;YACzC,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,qBAAqB,EAAE,QAAQ;YAC/B,mBAAmB,EAAE,QAAQ;YAC7B,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlRD,0EAkRC"}
@@ -0,0 +1,43 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class RegisterKnowledgeBaseFileRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The OSS object key of the uploaded file, excluding the oss://BucketName/ prefix.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * pks-2ze123456789abcd/pkb-2ze123456789abcd/example.pdf
11
+ */
12
+ filePath?: string;
13
+ /**
14
+ * @remarks
15
+ * The knowledge base ID.
16
+ *
17
+ * This parameter is required.
18
+ *
19
+ * @example
20
+ * pkb-2ze123456789abcd
21
+ */
22
+ knowledgeBaseId?: string;
23
+ /**
24
+ * @remarks
25
+ * The ID of the region where the knowledge base resides.
26
+ *
27
+ * This parameter is required.
28
+ *
29
+ * @example
30
+ * cn-beijing
31
+ */
32
+ regionId?: string;
33
+ static names(): {
34
+ [key: string]: string;
35
+ };
36
+ static types(): {
37
+ [key: string]: any;
38
+ };
39
+ validate(): void;
40
+ constructor(map?: {
41
+ [key: string]: any;
42
+ });
43
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.RegisterKnowledgeBaseFileRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class RegisterKnowledgeBaseFileRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ filePath: 'FilePath',
43
+ knowledgeBaseId: 'KnowledgeBaseId',
44
+ regionId: 'RegionId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ filePath: 'string',
50
+ knowledgeBaseId: 'string',
51
+ regionId: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.RegisterKnowledgeBaseFileRequest = RegisterKnowledgeBaseFileRequest;
62
+ //# sourceMappingURL=RegisterKnowledgeBaseFileRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegisterKnowledgeBaseFileRequest.js","sourceRoot":"","sources":["../../src/models/RegisterKnowledgeBaseFileRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA+B/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtDD,4EAsDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { RegisterKnowledgeBaseFileResponseBody } from "./RegisterKnowledgeBaseFileResponseBody";
3
+ export declare class RegisterKnowledgeBaseFileResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: RegisterKnowledgeBaseFileResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.RegisterKnowledgeBaseFileResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const RegisterKnowledgeBaseFileResponseBody_1 = require("./RegisterKnowledgeBaseFileResponseBody");
40
+ class RegisterKnowledgeBaseFileResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: RegisterKnowledgeBaseFileResponseBody_1.RegisterKnowledgeBaseFileResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.RegisterKnowledgeBaseFileResponse = RegisterKnowledgeBaseFileResponse;
69
+ //# sourceMappingURL=RegisterKnowledgeBaseFileResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegisterKnowledgeBaseFileResponse.js","sourceRoot":"","sources":["../../src/models/RegisterKnowledgeBaseFileResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mGAAgG;AAGhG,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAIhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,6EAAqC;SAC5C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8EAiCC"}
@@ -0,0 +1,63 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class RegisterKnowledgeBaseFileResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The file ID, which is generated by the server based on the ETL rules for native OSS files.
6
+ *
7
+ * @example
8
+ * 3566626f-3cc5-57a3-904c-e777b39baa3d
9
+ */
10
+ fileId?: string;
11
+ /**
12
+ * @remarks
13
+ * The file name.
14
+ *
15
+ * @example
16
+ * example.pdf
17
+ */
18
+ fileName?: string;
19
+ /**
20
+ * @remarks
21
+ * The OSS object key of the registered file.
22
+ *
23
+ * @example
24
+ * pks-2ze123456789abcd/pkb-2ze123456789abcd/example.pdf
25
+ */
26
+ filePath?: string;
27
+ /**
28
+ * @remarks
29
+ * Indicates whether an existing idempotent record is matched. Valid values:
30
+ * - true: An existing idempotent record is matched.
31
+ * - false: No existing idempotent record is matched.
32
+ *
33
+ * @example
34
+ * false
35
+ */
36
+ idempotent?: boolean;
37
+ /**
38
+ * @remarks
39
+ * The request ID.
40
+ *
41
+ * @example
42
+ * 9C3E5A7B-12D4-4F68-9A01-2B3C4D5E6F70
43
+ */
44
+ requestId?: string;
45
+ /**
46
+ * @remarks
47
+ * The file processing status.
48
+ *
49
+ * @example
50
+ * DISPATCHED
51
+ */
52
+ status?: string;
53
+ static names(): {
54
+ [key: string]: string;
55
+ };
56
+ static types(): {
57
+ [key: string]: any;
58
+ };
59
+ validate(): void;
60
+ constructor(map?: {
61
+ [key: string]: any;
62
+ });
63
+ }