@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.
- package/dist/client.d.ts +10 -4
- package/dist/client.js +13 -19
- package/dist/client.js.map +1 -1
- package/dist/models/AddKnowledgeFileRequest.d.ts +7 -2
- package/dist/models/AddKnowledgeFileRequest.js +2 -0
- package/dist/models/AddKnowledgeFileRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallRequest.d.ts +3 -0
- package/dist/models/GetKnowledgeRecallRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallResponseBody.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -19
- package/src/models/AddKnowledgeFileRequest.ts +9 -2
- package/src/models/GetKnowledgeRecallRequest.ts +3 -0
- package/src/models/GetKnowledgeRecallResponseBody.ts +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
* Adds a knowledge base
|
|
12
|
+
* Adds a document to a knowledge base.
|
|
13
13
|
*
|
|
14
14
|
* @param request - AddKnowledgeFileRequest
|
|
15
15
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17,7 +17,7 @@ export default class Client extends OpenApi {
|
|
|
17
17
|
*/
|
|
18
18
|
addKnowledgeFileWithOptions(request: $_model.AddKnowledgeFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddKnowledgeFileResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Adds a knowledge base
|
|
20
|
+
* Adds a document to a knowledge base.
|
|
21
21
|
*
|
|
22
22
|
* @param request - AddKnowledgeFileRequest
|
|
23
23
|
* @returns AddKnowledgeFileResponse
|
|
@@ -430,7 +430,10 @@ export default class Client extends OpenApi {
|
|
|
430
430
|
* Creates a backup set immediately.
|
|
431
431
|
*
|
|
432
432
|
* @remarks
|
|
433
|
-
* *Before
|
|
433
|
+
* *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
|
|
434
|
+
* )
|
|
435
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
436
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
434
437
|
*
|
|
435
438
|
* @param request - CreateBackupRequest
|
|
436
439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -441,7 +444,10 @@ export default class Client extends OpenApi {
|
|
|
441
444
|
* Creates a backup set immediately.
|
|
442
445
|
*
|
|
443
446
|
* @remarks
|
|
444
|
-
* *Before
|
|
447
|
+
* *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
|
|
448
|
+
* )
|
|
449
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
450
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
445
451
|
*
|
|
446
452
|
* @param request - CreateBackupRequest
|
|
447
453
|
* @returns CreateBackupResponse
|
package/dist/client.js
CHANGED
|
@@ -94,21 +94,6 @@ class Client extends openapi_core_1.default {
|
|
|
94
94
|
'eu-west-1-oxs': "adb.ap-northeast-1.aliyuncs.com",
|
|
95
95
|
'me-east-1': "adb.ap-northeast-1.aliyuncs.com",
|
|
96
96
|
'rus-west-1-pop': "adb.ap-northeast-1.aliyuncs.com",
|
|
97
|
-
'cn-chengdu': "adb.cn-chengdu.aliyuncs.com",
|
|
98
|
-
'cn-wulanchabu': "adb.cn-wulanchabu.aliyuncs.com",
|
|
99
|
-
'cn-zhangjiakou': "adb.cn-zhangjiakou.aliyuncs.com",
|
|
100
|
-
'ap-northeast-2': "adb.ap-northeast-2.aliyuncs.com",
|
|
101
|
-
'ap-northeast-1': "adb.ap-northeast-1.aliyuncs.com",
|
|
102
|
-
'cn-guangzhou': "adb.cn-guangzhou.aliyuncs.com",
|
|
103
|
-
'ap-southeast-3': "adb.ap-southeast-3.aliyuncs.com",
|
|
104
|
-
'cn-huhehaote': "adb.cn-huhehaote.aliyuncs.com",
|
|
105
|
-
'ap-southeast-5': "adb.ap-southeast-5.aliyuncs.com",
|
|
106
|
-
'ap-southeast-6': "adb.ap-southeast-6.aliyuncs.com",
|
|
107
|
-
'ap-southeast-7': "adb.ap-southeast-7.aliyuncs.com",
|
|
108
|
-
'eu-west-1': "adb.eu-west-1.aliyuncs.com",
|
|
109
|
-
'eu-central-1': "adb.eu-central-1.aliyuncs.com",
|
|
110
|
-
'na-south-1': "adb.na-south-1.aliyuncs.com",
|
|
111
|
-
'me-central-1': "adb.me-central-1.aliyuncs.com",
|
|
112
97
|
};
|
|
113
98
|
this.checkConfig(config);
|
|
114
99
|
this._endpoint = this.getEndpoint("adb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -123,7 +108,7 @@ class Client extends openapi_core_1.default {
|
|
|
123
108
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
124
109
|
}
|
|
125
110
|
/**
|
|
126
|
-
* Adds a knowledge base
|
|
111
|
+
* Adds a document to a knowledge base.
|
|
127
112
|
*
|
|
128
113
|
* @param request - AddKnowledgeFileRequest
|
|
129
114
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -144,6 +129,9 @@ class Client extends openapi_core_1.default {
|
|
|
144
129
|
if (!$dara.isNull(request.isDir)) {
|
|
145
130
|
query["IsDir"] = request.isDir;
|
|
146
131
|
}
|
|
132
|
+
if (!$dara.isNull(request.priority)) {
|
|
133
|
+
query["Priority"] = request.priority;
|
|
134
|
+
}
|
|
147
135
|
if (!$dara.isNull(request.tags)) {
|
|
148
136
|
query["Tags"] = request.tags;
|
|
149
137
|
}
|
|
@@ -167,7 +155,7 @@ class Client extends openapi_core_1.default {
|
|
|
167
155
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddKnowledgeFileResponse({}));
|
|
168
156
|
}
|
|
169
157
|
/**
|
|
170
|
-
* Adds a knowledge base
|
|
158
|
+
* Adds a document to a knowledge base.
|
|
171
159
|
*
|
|
172
160
|
* @param request - AddKnowledgeFileRequest
|
|
173
161
|
* @returns AddKnowledgeFileResponse
|
|
@@ -1575,7 +1563,10 @@ class Client extends openapi_core_1.default {
|
|
|
1575
1563
|
* Creates a backup set immediately.
|
|
1576
1564
|
*
|
|
1577
1565
|
* @remarks
|
|
1578
|
-
* *Before
|
|
1566
|
+
* *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
|
|
1567
|
+
* )
|
|
1568
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
1569
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
1579
1570
|
*
|
|
1580
1571
|
* @param request - CreateBackupRequest
|
|
1581
1572
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1622,7 +1613,10 @@ class Client extends openapi_core_1.default {
|
|
|
1622
1613
|
* Creates a backup set immediately.
|
|
1623
1614
|
*
|
|
1624
1615
|
* @remarks
|
|
1625
|
-
* *Before
|
|
1616
|
+
* *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
|
|
1617
|
+
* )
|
|
1618
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
1619
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
1626
1620
|
*
|
|
1627
1621
|
* @param request - CreateBackupRequest
|
|
1628
1622
|
* @returns CreateBackupResponse
|