@alicloud/adb20211201 5.1.2 → 5.1.3

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.
@@ -12,7 +12,7 @@ export declare class AddKnowledgeFileRequest extends $dara.Model {
12
12
  DBClusterId?: string;
13
13
  /**
14
14
  * @remarks
15
- * The file address. Currently, only OSS paths are supported.
15
+ * The file location. Currently, only OSS paths are supported.
16
16
  *
17
17
  * This parameter is required.
18
18
  *
@@ -30,12 +30,17 @@ export declare class AddKnowledgeFileRequest extends $dara.Model {
30
30
  fileType?: string;
31
31
  /**
32
32
  * @remarks
33
- * Specifies whether the file is a folder.
33
+ * Specifies whether the path is a directory.
34
34
  *
35
35
  * @example
36
36
  * false
37
37
  */
38
38
  isDir?: boolean;
39
+ /**
40
+ * @remarks
41
+ * The confidence level or weight of the file.
42
+ */
43
+ priority?: string;
39
44
  /**
40
45
  * @remarks
41
46
  * The file tags in JSON format.
@@ -43,6 +43,7 @@ class AddKnowledgeFileRequest extends $dara.Model {
43
43
  fileLocation: 'FileLocation',
44
44
  fileType: 'FileType',
45
45
  isDir: 'IsDir',
46
+ priority: 'Priority',
46
47
  tags: 'Tags',
47
48
  uploadUser: 'UploadUser',
48
49
  };
@@ -53,6 +54,7 @@ class AddKnowledgeFileRequest extends $dara.Model {
53
54
  fileLocation: 'string',
54
55
  fileType: 'string',
55
56
  isDir: 'boolean',
57
+ priority: 'string',
56
58
  tags: 'string',
57
59
  uploadUser: 'string',
58
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AddKnowledgeFileRequest.js","sourceRoot":"","sources":["../../src/models/AddKnowledgeFileRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAqDtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAA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ED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzFD,0DAyFC"}
@@ -31,6 +31,9 @@ export declare class GetKnowledgeRecallRequest extends $dara.Model {
31
31
  /**
32
32
  * @remarks
33
33
  * The username. Only files that this user has permission to access are recalled.
34
+ *
35
+ * @example
36
+ * user_name1
34
37
  */
35
38
  user?: string;
36
39
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"GetKnowledgeRecallRequest.js","sourceRoot":"","sources":["../../src/models/GetKnowledgeRecallRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAkCxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;SACf,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;AA3DD,8DA2DC"}
1
+ {"version":3,"file":"GetKnowledgeRecallRequest.js","sourceRoot":"","sources":["../../src/models/GetKnowledgeRecallRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAqCxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;SACf,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;AA9DD,8DA8DC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetKnowledgeRecallResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The total number of entries.
5
+ * The total number of records.
6
6
  *
7
7
  * @example
8
8
  * 5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/adb20211201",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -57,21 +57,6 @@ export default class Client extends OpenApi {
57
57
  'eu-west-1-oxs': "adb.ap-northeast-1.aliyuncs.com",
58
58
  'me-east-1': "adb.ap-northeast-1.aliyuncs.com",
59
59
  'rus-west-1-pop': "adb.ap-northeast-1.aliyuncs.com",
60
- 'cn-chengdu': "adb.cn-chengdu.aliyuncs.com",
61
- 'cn-wulanchabu': "adb.cn-wulanchabu.aliyuncs.com",
62
- 'cn-zhangjiakou': "adb.cn-zhangjiakou.aliyuncs.com",
63
- 'ap-northeast-2': "adb.ap-northeast-2.aliyuncs.com",
64
- 'ap-northeast-1': "adb.ap-northeast-1.aliyuncs.com",
65
- 'cn-guangzhou': "adb.cn-guangzhou.aliyuncs.com",
66
- 'ap-southeast-3': "adb.ap-southeast-3.aliyuncs.com",
67
- 'cn-huhehaote': "adb.cn-huhehaote.aliyuncs.com",
68
- 'ap-southeast-5': "adb.ap-southeast-5.aliyuncs.com",
69
- 'ap-southeast-6': "adb.ap-southeast-6.aliyuncs.com",
70
- 'ap-southeast-7': "adb.ap-southeast-7.aliyuncs.com",
71
- 'eu-west-1': "adb.eu-west-1.aliyuncs.com",
72
- 'eu-central-1': "adb.eu-central-1.aliyuncs.com",
73
- 'na-south-1': "adb.na-south-1.aliyuncs.com",
74
- 'me-central-1': "adb.me-central-1.aliyuncs.com",
75
60
  };
76
61
  this.checkConfig(config);
77
62
  this._endpoint = this.getEndpoint("adb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -91,7 +76,7 @@ export default class Client extends OpenApi {
91
76
  }
92
77
 
93
78
  /**
94
- * Adds a knowledge base document.
79
+ * Adds a document to a knowledge base.
95
80
  *
96
81
  * @param request - AddKnowledgeFileRequest
97
82
  * @param runtime - runtime options for this request RuntimeOptions
@@ -116,6 +101,10 @@ export default class Client extends OpenApi {
116
101
  query["IsDir"] = request.isDir;
117
102
  }
118
103
 
104
+ if (!$dara.isNull(request.priority)) {
105
+ query["Priority"] = request.priority;
106
+ }
107
+
119
108
  if (!$dara.isNull(request.tags)) {
120
109
  query["Tags"] = request.tags;
121
110
  }
@@ -142,7 +131,7 @@ export default class Client extends OpenApi {
142
131
  }
143
132
 
144
133
  /**
145
- * Adds a knowledge base document.
134
+ * Adds a document to a knowledge base.
146
135
  *
147
136
  * @param request - AddKnowledgeFileRequest
148
137
  * @returns AddKnowledgeFileResponse
@@ -1772,7 +1761,10 @@ export default class Client extends OpenApi {
1772
1761
  * Creates a backup set immediately.
1773
1762
  *
1774
1763
  * @remarks
1775
- * *Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups and regular backups have the same pricing and backup set retention period.
1764
+ * *Before using this operation, make sure that you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre
1765
+ * )
1766
+ * <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
1767
+ * Temporary backups and regular backups have the same pricing and backup set retention period.
1776
1768
  *
1777
1769
  * @param request - CreateBackupRequest
1778
1770
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1826,7 +1818,10 @@ export default class Client extends OpenApi {
1826
1818
  * Creates a backup set immediately.
1827
1819
  *
1828
1820
  * @remarks
1829
- * *Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups and regular backups have the same pricing and backup set retention period.
1821
+ * *Before using this operation, make sure that you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre
1822
+ * )
1823
+ * <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
1824
+ * Temporary backups and regular backups have the same pricing and backup set retention period.
1830
1825
  *
1831
1826
  * @param request - CreateBackupRequest
1832
1827
  * @returns CreateBackupResponse
@@ -15,7 +15,7 @@ export class AddKnowledgeFileRequest extends $dara.Model {
15
15
  DBClusterId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The file address. Currently, only OSS paths are supported.
18
+ * The file location. Currently, only OSS paths are supported.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -33,12 +33,17 @@ export class AddKnowledgeFileRequest extends $dara.Model {
33
33
  fileType?: string;
34
34
  /**
35
35
  * @remarks
36
- * Specifies whether the file is a folder.
36
+ * Specifies whether the path is a directory.
37
37
  *
38
38
  * @example
39
39
  * false
40
40
  */
41
41
  isDir?: boolean;
42
+ /**
43
+ * @remarks
44
+ * The confidence level or weight of the file.
45
+ */
46
+ priority?: string;
42
47
  /**
43
48
  * @remarks
44
49
  * The file tags in JSON format.
@@ -61,6 +66,7 @@ export class AddKnowledgeFileRequest extends $dara.Model {
61
66
  fileLocation: 'FileLocation',
62
67
  fileType: 'FileType',
63
68
  isDir: 'IsDir',
69
+ priority: 'Priority',
64
70
  tags: 'Tags',
65
71
  uploadUser: 'UploadUser',
66
72
  };
@@ -72,6 +78,7 @@ export class AddKnowledgeFileRequest extends $dara.Model {
72
78
  fileLocation: 'string',
73
79
  fileType: 'string',
74
80
  isDir: 'boolean',
81
+ priority: 'string',
75
82
  tags: 'string',
76
83
  uploadUser: 'string',
77
84
  };
@@ -34,6 +34,9 @@ export class GetKnowledgeRecallRequest extends $dara.Model {
34
34
  /**
35
35
  * @remarks
36
36
  * The username. Only files that this user has permission to access are recalled.
37
+ *
38
+ * @example
39
+ * user_name1
37
40
  */
38
41
  user?: string;
39
42
  static names(): { [key: string]: string } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetKnowledgeRecallResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The total number of entries.
8
+ * The total number of records.
9
9
  *
10
10
  * @example
11
11
  * 5