@alicloud/gpdb20160503 3.11.0 → 3.11.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.
- package/dist/client.d.ts +56 -56
- package/dist/client.js +61 -59
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApiKeyRequest.d.ts +14 -0
- package/dist/models/CreateApiKeyRequest.js.map +1 -1
- package/dist/models/CreateApiKeyResponseBody.d.ts +9 -0
- package/dist/models/CreateApiKeyResponseBody.js.map +1 -1
- package/dist/models/CreateApiKeyShrinkRequest.d.ts +14 -0
- package/dist/models/CreateApiKeyShrinkRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceRequest.d.ts +116 -171
- package/dist/models/CreateDbinstanceRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceResponseBody.d.ts +3 -3
- package/dist/models/CreateSupabaseProjectRequest.d.ts +20 -5
- package/dist/models/CreateSupabaseProjectRequest.js +27 -1
- package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
- package/dist/models/CreateSupabaseProjectResponseBody.d.ts +2 -2
- package/dist/models/DeleteApiKeyRequest.d.ts +5 -0
- package/dist/models/DeleteApiKeyRequest.js.map +1 -1
- package/dist/models/DeleteApiKeyResponseBody.d.ts +6 -0
- package/dist/models/DeleteApiKeyResponseBody.js.map +1 -1
- package/dist/models/DeleteWorkspaceRequest.d.ts +5 -0
- package/dist/models/DeleteWorkspaceRequest.js.map +1 -1
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +6 -0
- package/dist/models/DeleteWorkspaceResponseBody.js.map +1 -1
- package/dist/models/GetApiKeyRequest.d.ts +5 -0
- package/dist/models/GetApiKeyRequest.js.map +1 -1
- package/dist/models/GetApiKeyResponseBody.d.ts +34 -0
- package/dist/models/GetApiKeyResponseBody.js.map +1 -1
- package/dist/models/GetSaasServiceRequest.d.ts +5 -0
- package/dist/models/GetSaasServiceRequest.js.map +1 -1
- package/dist/models/GetSaasServiceResponseBody.d.ts +38 -0
- package/dist/models/GetSaasServiceResponseBody.js.map +1 -1
- package/dist/models/GetServiceAccessInfoRequest.d.ts +5 -0
- package/dist/models/GetServiceAccessInfoRequest.js.map +1 -1
- package/dist/models/GetServiceAccessInfoResponseBody.d.ts +9 -0
- package/dist/models/GetServiceAccessInfoResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceRequest.d.ts +5 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -1
- package/dist/models/GetWorkspaceResponseBody.d.ts +83 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/ListApiKeysRequest.d.ts +14 -0
- package/dist/models/ListApiKeysRequest.js.map +1 -1
- package/dist/models/ListApiKeysResponseBody.d.ts +45 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -1
- package/dist/models/ListSaasServiceRequest.d.ts +1 -1
- package/dist/models/ListSaasServiceResponseBody.d.ts +21 -1
- package/dist/models/ListSaasServiceResponseBody.js +37 -1
- package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +21 -1
- package/dist/models/ListWorkspacesResponseBody.js +37 -1
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/PauseSaasServiceRequest.d.ts +5 -0
- package/dist/models/PauseSaasServiceRequest.js.map +1 -1
- package/dist/models/PauseSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/PauseSaasServiceResponseBody.js.map +1 -1
- package/dist/models/QueryContentAdvanceRequest.d.ts +26 -27
- package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
- package/dist/models/QueryContentRequest.d.ts +26 -27
- package/dist/models/QueryContentRequest.js.map +1 -1
- package/dist/models/QueryContentResponseBody.d.ts +2 -2
- package/dist/models/QueryContentShrinkRequest.d.ts +24 -24
- package/dist/models/ResumeSaasServiceRequest.d.ts +5 -0
- package/dist/models/ResumeSaasServiceRequest.js.map +1 -1
- package/dist/models/ResumeSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/ResumeSaasServiceResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +38 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +62 -59
- package/src/models/CreateApiKeyRequest.ts +14 -0
- package/src/models/CreateApiKeyResponseBody.ts +9 -0
- package/src/models/CreateApiKeyShrinkRequest.ts +14 -0
- package/src/models/CreateDbinstanceRequest.ts +124 -179
- package/src/models/CreateDbinstanceResponseBody.ts +3 -3
- package/src/models/CreateSupabaseProjectRequest.ts +37 -5
- package/src/models/CreateSupabaseProjectResponseBody.ts +2 -2
- package/src/models/DeleteApiKeyRequest.ts +5 -0
- package/src/models/DeleteApiKeyResponseBody.ts +6 -0
- package/src/models/DeleteWorkspaceRequest.ts +5 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +6 -0
- package/src/models/GetApiKeyRequest.ts +5 -0
- package/src/models/GetApiKeyResponseBody.ts +34 -0
- package/src/models/GetSaasServiceRequest.ts +5 -0
- package/src/models/GetSaasServiceResponseBody.ts +38 -0
- package/src/models/GetServiceAccessInfoRequest.ts +5 -0
- package/src/models/GetServiceAccessInfoResponseBody.ts +9 -0
- package/src/models/GetWorkspaceRequest.ts +5 -0
- package/src/models/GetWorkspaceResponseBody.ts +83 -0
- package/src/models/ListApiKeysRequest.ts +14 -0
- package/src/models/ListApiKeysResponseBody.ts +45 -0
- package/src/models/ListSaasServiceRequest.ts +1 -1
- package/src/models/ListSaasServiceResponseBody.ts +48 -1
- package/src/models/ListWorkspacesResponseBody.ts +48 -1
- package/src/models/PauseSaasServiceRequest.ts +5 -0
- package/src/models/PauseSaasServiceResponseBody.ts +6 -0
- package/src/models/QueryContentAdvanceRequest.ts +26 -27
- package/src/models/QueryContentRequest.ts +26 -27
- package/src/models/QueryContentResponseBody.ts +2 -2
- package/src/models/QueryContentShrinkRequest.ts +24 -24
- package/src/models/ResumeSaasServiceRequest.ts +5 -0
- package/src/models/ResumeSaasServiceResponseBody.ts +6 -0
- package/src/models/model.ts +3 -0
|
@@ -4,27 +4,41 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListApiKeysRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the API key.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* my api
|
|
9
12
|
*/
|
|
10
13
|
keyName?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The maximum number of records to return in this query.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 50
|
|
14
20
|
*/
|
|
15
21
|
maxResults?: number;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The token for the next query.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
19
28
|
*/
|
|
20
29
|
nextToken?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The region ID.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* cn-beijing
|
|
24
36
|
*/
|
|
25
37
|
regionId?: string;
|
|
26
38
|
/**
|
|
27
39
|
* @remarks
|
|
40
|
+
* The workspace ID.
|
|
41
|
+
*
|
|
28
42
|
* This parameter is required.
|
|
29
43
|
*
|
|
30
44
|
* @example
|
|
@@ -4,11 +4,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListApiKeysResponseBodyItemsAuthServices extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The service IDs.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* agdb-xxxxxx
|
|
9
12
|
*/
|
|
10
13
|
serviceId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The service type.
|
|
17
|
+
*
|
|
18
|
+
* Valid values:
|
|
19
|
+
* - memory
|
|
20
|
+
* - drama
|
|
21
|
+
*
|
|
12
22
|
* @example
|
|
13
23
|
* memory
|
|
14
24
|
*/
|
|
@@ -37,28 +47,47 @@ export class ListApiKeysResponseBodyItemsAuthServices extends $dara.Model {
|
|
|
37
47
|
}
|
|
38
48
|
|
|
39
49
|
export class ListApiKeysResponseBodyItems extends $dara.Model {
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The service IDs.
|
|
53
|
+
*/
|
|
40
54
|
authServices?: ListApiKeysResponseBodyItemsAuthServices[];
|
|
41
55
|
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The creation time.
|
|
58
|
+
*
|
|
42
59
|
* @example
|
|
43
60
|
* 2021-10-09T04:54:08Z
|
|
44
61
|
*/
|
|
45
62
|
createTime?: string;
|
|
46
63
|
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The description of the API key.
|
|
66
|
+
*
|
|
47
67
|
* @example
|
|
48
68
|
* my first api key
|
|
49
69
|
*/
|
|
50
70
|
description?: string;
|
|
51
71
|
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The ID of the API key.
|
|
74
|
+
*
|
|
52
75
|
* @example
|
|
53
76
|
* api-xxxxxxxx
|
|
54
77
|
*/
|
|
55
78
|
keyId?: string;
|
|
56
79
|
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The name of the API key.
|
|
82
|
+
*
|
|
57
83
|
* @example
|
|
58
84
|
* my first api key
|
|
59
85
|
*/
|
|
60
86
|
keyName?: string;
|
|
61
87
|
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The prefix of the API key.
|
|
90
|
+
*
|
|
62
91
|
* @example
|
|
63
92
|
* sk-12345****
|
|
64
93
|
*/
|
|
@@ -98,23 +127,39 @@ export class ListApiKeysResponseBodyItems extends $dara.Model {
|
|
|
98
127
|
}
|
|
99
128
|
|
|
100
129
|
export class ListApiKeysResponseBody extends $dara.Model {
|
|
130
|
+
/**
|
|
131
|
+
* @remarks
|
|
132
|
+
* The list of API keys.
|
|
133
|
+
*/
|
|
101
134
|
items?: ListApiKeysResponseBodyItems[];
|
|
102
135
|
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* The maximum number of records to return in this query.
|
|
138
|
+
*
|
|
103
139
|
* @example
|
|
104
140
|
* 20
|
|
105
141
|
*/
|
|
106
142
|
maxResults?: number;
|
|
107
143
|
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The token for the next page in a paged query.
|
|
146
|
+
*
|
|
108
147
|
* @example
|
|
109
148
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
110
149
|
*/
|
|
111
150
|
nextToken?: string;
|
|
112
151
|
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The request ID.
|
|
154
|
+
*
|
|
113
155
|
* @example
|
|
114
156
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
115
157
|
*/
|
|
116
158
|
requestId?: string;
|
|
117
159
|
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The total number of records.
|
|
162
|
+
*
|
|
118
163
|
* @example
|
|
119
164
|
* 1
|
|
120
165
|
*/
|
|
@@ -13,7 +13,7 @@ export class ListSaasServiceRequest extends $dara.Model {
|
|
|
13
13
|
maxResults?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The token for the next
|
|
16
|
+
* The token for the next page when performing a paging query. This specifies the starting token for the next page.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -2,7 +2,46 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ListSaasServiceResponseBodyItemsComponents extends $dara.Model {
|
|
6
|
+
componentId?: string;
|
|
7
|
+
componentType?: string;
|
|
8
|
+
createTime?: string;
|
|
9
|
+
cu?: string;
|
|
10
|
+
deletionProtection?: boolean;
|
|
11
|
+
status?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
componentId: 'ComponentId',
|
|
15
|
+
componentType: 'ComponentType',
|
|
16
|
+
createTime: 'CreateTime',
|
|
17
|
+
cu: 'Cu',
|
|
18
|
+
deletionProtection: 'DeletionProtection',
|
|
19
|
+
status: 'Status',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
componentId: 'string',
|
|
26
|
+
componentType: 'string',
|
|
27
|
+
createTime: 'string',
|
|
28
|
+
cu: 'string',
|
|
29
|
+
deletionProtection: 'boolean',
|
|
30
|
+
status: 'string',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
validate() {
|
|
35
|
+
super.validate();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
constructor(map?: { [key: string]: any }) {
|
|
39
|
+
super(map);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
5
43
|
export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
44
|
+
components?: ListSaasServiceResponseBodyItemsComponents[];
|
|
6
45
|
/**
|
|
7
46
|
* @remarks
|
|
8
47
|
* The creation time.
|
|
@@ -19,6 +58,7 @@ export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
|
19
58
|
* 1
|
|
20
59
|
*/
|
|
21
60
|
cu?: number;
|
|
61
|
+
deletionProtection?: boolean;
|
|
22
62
|
/**
|
|
23
63
|
* @remarks
|
|
24
64
|
* The expiration time.
|
|
@@ -40,7 +80,7 @@ export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
|
40
80
|
payType?: string;
|
|
41
81
|
/**
|
|
42
82
|
* @remarks
|
|
43
|
-
* [Deprecated]
|
|
83
|
+
* **[Deprecated]**
|
|
44
84
|
*
|
|
45
85
|
* @example
|
|
46
86
|
* deprecated
|
|
@@ -86,8 +126,10 @@ export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
|
86
126
|
status?: string;
|
|
87
127
|
static names(): { [key: string]: string } {
|
|
88
128
|
return {
|
|
129
|
+
components: 'Components',
|
|
89
130
|
createTime: 'CreateTime',
|
|
90
131
|
cu: 'Cu',
|
|
132
|
+
deletionProtection: 'DeletionProtection',
|
|
91
133
|
expireTime: 'ExpireTime',
|
|
92
134
|
payType: 'PayType',
|
|
93
135
|
plan: 'Plan',
|
|
@@ -100,8 +142,10 @@ export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
|
100
142
|
|
|
101
143
|
static types(): { [key: string]: any } {
|
|
102
144
|
return {
|
|
145
|
+
components: { 'type': 'array', 'itemType': ListSaasServiceResponseBodyItemsComponents },
|
|
103
146
|
createTime: 'string',
|
|
104
147
|
cu: 'number',
|
|
148
|
+
deletionProtection: 'boolean',
|
|
105
149
|
expireTime: 'string',
|
|
106
150
|
payType: 'string',
|
|
107
151
|
plan: 'string',
|
|
@@ -113,6 +157,9 @@ export class ListSaasServiceResponseBodyItems extends $dara.Model {
|
|
|
113
157
|
}
|
|
114
158
|
|
|
115
159
|
validate() {
|
|
160
|
+
if(Array.isArray(this.components)) {
|
|
161
|
+
$dara.Model.validateArray(this.components);
|
|
162
|
+
}
|
|
116
163
|
super.validate();
|
|
117
164
|
}
|
|
118
165
|
|
|
@@ -125,7 +125,46 @@ export class ListWorkspacesResponseBodyItemsApikeys extends $dara.Model {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
export class ListWorkspacesResponseBodyItemsServicesComponents extends $dara.Model {
|
|
129
|
+
createTime?: string;
|
|
130
|
+
cu?: string;
|
|
131
|
+
deletionProtection?: boolean;
|
|
132
|
+
status?: string;
|
|
133
|
+
componentId?: string;
|
|
134
|
+
componentType?: string;
|
|
135
|
+
static names(): { [key: string]: string } {
|
|
136
|
+
return {
|
|
137
|
+
createTime: 'CreateTime',
|
|
138
|
+
cu: 'Cu',
|
|
139
|
+
deletionProtection: 'DeletionProtection',
|
|
140
|
+
status: 'Status',
|
|
141
|
+
componentId: 'componentId',
|
|
142
|
+
componentType: 'componentType',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
static types(): { [key: string]: any } {
|
|
147
|
+
return {
|
|
148
|
+
createTime: 'string',
|
|
149
|
+
cu: 'string',
|
|
150
|
+
deletionProtection: 'boolean',
|
|
151
|
+
status: 'string',
|
|
152
|
+
componentId: 'string',
|
|
153
|
+
componentType: 'string',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
validate() {
|
|
158
|
+
super.validate();
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
constructor(map?: { [key: string]: any }) {
|
|
162
|
+
super(map);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
128
166
|
export class ListWorkspacesResponseBodyItemsServices extends $dara.Model {
|
|
167
|
+
components?: ListWorkspacesResponseBodyItemsServicesComponents[];
|
|
129
168
|
/**
|
|
130
169
|
* @remarks
|
|
131
170
|
* The creation time.
|
|
@@ -142,6 +181,7 @@ export class ListWorkspacesResponseBodyItemsServices extends $dara.Model {
|
|
|
142
181
|
* 1
|
|
143
182
|
*/
|
|
144
183
|
cu?: string;
|
|
184
|
+
deletionProtection?: boolean;
|
|
145
185
|
/**
|
|
146
186
|
* @remarks
|
|
147
187
|
* The expiration time.
|
|
@@ -166,7 +206,7 @@ export class ListWorkspacesResponseBodyItemsServices extends $dara.Model {
|
|
|
166
206
|
payType?: string;
|
|
167
207
|
/**
|
|
168
208
|
* @remarks
|
|
169
|
-
* [Deprecated]
|
|
209
|
+
* **[Deprecated]**
|
|
170
210
|
*
|
|
171
211
|
* @example
|
|
172
212
|
* deprecated
|
|
@@ -212,8 +252,10 @@ export class ListWorkspacesResponseBodyItemsServices extends $dara.Model {
|
|
|
212
252
|
status?: string;
|
|
213
253
|
static names(): { [key: string]: string } {
|
|
214
254
|
return {
|
|
255
|
+
components: 'Components',
|
|
215
256
|
createTime: 'CreateTime',
|
|
216
257
|
cu: 'Cu',
|
|
258
|
+
deletionProtection: 'DeletionProtection',
|
|
217
259
|
expireTime: 'ExpireTime',
|
|
218
260
|
payType: 'PayType',
|
|
219
261
|
plan: 'Plan',
|
|
@@ -226,8 +268,10 @@ export class ListWorkspacesResponseBodyItemsServices extends $dara.Model {
|
|
|
226
268
|
|
|
227
269
|
static types(): { [key: string]: any } {
|
|
228
270
|
return {
|
|
271
|
+
components: { 'type': 'array', 'itemType': ListWorkspacesResponseBodyItemsServicesComponents },
|
|
229
272
|
createTime: 'string',
|
|
230
273
|
cu: 'string',
|
|
274
|
+
deletionProtection: 'boolean',
|
|
231
275
|
expireTime: 'string',
|
|
232
276
|
payType: 'string',
|
|
233
277
|
plan: 'string',
|
|
@@ -239,6 +283,9 @@ export class ListWorkspacesResponseBodyItemsServices extends $dara.Model {
|
|
|
239
283
|
}
|
|
240
284
|
|
|
241
285
|
validate() {
|
|
286
|
+
if(Array.isArray(this.components)) {
|
|
287
|
+
$dara.Model.validateArray(this.components);
|
|
288
|
+
}
|
|
242
289
|
super.validate();
|
|
243
290
|
}
|
|
244
291
|
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class PauseSaasServiceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The region ID of the service.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* cn-beijing
|
|
9
12
|
*/
|
|
10
13
|
regionId?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The service ID.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class PauseSaasServiceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
9
12
|
*/
|
|
10
13
|
requestId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The service ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* drama-123456
|
|
14
20
|
*/
|
|
@@ -36,8 +36,7 @@ export class QueryContentAdvanceRequestGraphSearchArgs extends $dara.Model {
|
|
|
36
36
|
export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* This parameter can be set when RerankModel.Name is qwen3-rerank.
|
|
40
|
-
* Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.
|
|
39
|
+
* This parameter can be set when RerankModel.Name is qwen3-rerank. Specifies a custom sorting task type description that guides the model to adopt different sorting strategies.
|
|
41
40
|
*
|
|
42
41
|
* @example
|
|
43
42
|
* Given a web search query, retrieve relevant passages that answer the query
|
|
@@ -45,7 +44,7 @@ export class QueryContentAdvanceRequestRerankModel extends $dara.Model {
|
|
|
45
44
|
instruct?: string;
|
|
46
45
|
/**
|
|
47
46
|
* @remarks
|
|
48
|
-
* The
|
|
47
|
+
* The rerank model name. Valid values: qwen3-rerank, gte-rerank-v2.
|
|
49
48
|
*
|
|
50
49
|
* @example
|
|
51
50
|
* qwen3-rerank
|
|
@@ -114,7 +113,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
114
113
|
* @remarks
|
|
115
114
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
116
115
|
*
|
|
117
|
-
* > The image file must have a file extension.
|
|
116
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
118
117
|
*
|
|
119
118
|
* @example
|
|
120
119
|
* test.jpg
|
|
@@ -124,7 +123,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
124
123
|
* @remarks
|
|
125
124
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
126
125
|
*
|
|
127
|
-
* > The image file must have a file extension.
|
|
126
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
128
127
|
*
|
|
129
128
|
* @example
|
|
130
129
|
* https://xx/myImage.jpg
|
|
@@ -132,10 +131,10 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
132
131
|
fileUrlObject?: Readable;
|
|
133
132
|
/**
|
|
134
133
|
* @remarks
|
|
135
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
134
|
+
* The filter condition for the data to query, in SQL WHERE clause format. The expression returns a Boolean value (true or false). Conditions can be simple comparison operators such as equal to (=), not equal to (<> or !=), greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=). Conditions can also be more complex expressions combined with logical operators (AND, OR, NOT), as well as conditions using IN, BETWEEN, and LIKE keywords.
|
|
136
135
|
*
|
|
137
136
|
* >
|
|
138
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
137
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
139
138
|
*
|
|
140
139
|
* @example
|
|
141
140
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -156,13 +155,13 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
156
155
|
graphSearchArgs?: QueryContentAdvanceRequestGraphSearchArgs;
|
|
157
156
|
/**
|
|
158
157
|
* @remarks
|
|
159
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
158
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
160
159
|
*
|
|
161
160
|
* Valid values:
|
|
162
161
|
*
|
|
163
|
-
* - RRF: Reciprocal
|
|
164
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
165
|
-
* - Cascaded: Full-text
|
|
162
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
163
|
+
* - Weight: Weighted sorting. Parameters control the score weights of vector retrieve and full-text retrieve results before sorting. For more information, see the HybridSearchArgs configuration.
|
|
164
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
166
165
|
*
|
|
167
166
|
* @example
|
|
168
167
|
* RRF
|
|
@@ -170,9 +169,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
170
169
|
hybridSearch?: string;
|
|
171
170
|
/**
|
|
172
171
|
* @remarks
|
|
173
|
-
* The algorithm parameters for multi-channel recall. RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text
|
|
172
|
+
* The algorithm parameters for multi-channel recall. Currently, RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text retrieve (fulltext). If the value is empty, dense vectors (dense) and full-text retrieve (fulltext) are recalled by default.
|
|
174
173
|
*
|
|
175
|
-
* - RRF: Specifies the constant
|
|
174
|
+
* - RRF: Specifies the k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:
|
|
176
175
|
* ```
|
|
177
176
|
* {
|
|
178
177
|
* "HybridPathsSetting": {
|
|
@@ -186,7 +185,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
186
185
|
*
|
|
187
186
|
* - Weight:
|
|
188
187
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
189
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
188
|
+
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text retrieve. Valid values: 0 to 1, where 0 indicates full-text retrieve only and 1 indicates dense vectors only:
|
|
190
189
|
* ```
|
|
191
190
|
* {
|
|
192
191
|
* "Weight": {
|
|
@@ -195,7 +194,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
195
194
|
* }
|
|
196
195
|
* ```
|
|
197
196
|
* - Three-path recall pattern:
|
|
198
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
197
|
+
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext parameters represent the weights of dense vectors, sparse vectors, and full-text retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization on the weights to 0–1 (normalized_x = x / (dense + sparse + fulltext)).
|
|
199
198
|
* ```
|
|
200
199
|
* {
|
|
201
200
|
* "HybridPathsSetting": {
|
|
@@ -220,7 +219,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
220
219
|
includeFileUrl?: boolean;
|
|
221
220
|
/**
|
|
222
221
|
* @remarks
|
|
223
|
-
* The metadata fields to return. Default value: empty.
|
|
222
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
224
223
|
*
|
|
225
224
|
* @example
|
|
226
225
|
* title,page
|
|
@@ -238,7 +237,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
238
237
|
includeVector?: boolean;
|
|
239
238
|
/**
|
|
240
239
|
* @remarks
|
|
241
|
-
* The similarity algorithm used
|
|
240
|
+
* The similarity algorithm used during retrieval. If this value is empty, the algorithm specified when the knowledge base was created is used. Leave this parameter empty unless you have specific requirements.
|
|
242
241
|
*
|
|
243
242
|
* > Valid values:
|
|
244
243
|
* > - **l2**: Euclidean distance.
|
|
@@ -253,7 +252,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
253
252
|
* @remarks
|
|
254
253
|
* The namespace. Default value: public.
|
|
255
254
|
*
|
|
256
|
-
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
255
|
+
* > You can create a namespace by calling the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation and query the list of namespaces by calling the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation.
|
|
257
256
|
*
|
|
258
257
|
* @example
|
|
259
258
|
* mynamespace
|
|
@@ -273,7 +272,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
273
272
|
namespacePassword?: string;
|
|
274
273
|
/**
|
|
275
274
|
* @remarks
|
|
276
|
-
* The offset for
|
|
275
|
+
* The offset for paging query.
|
|
277
276
|
*
|
|
278
277
|
* @example
|
|
279
278
|
* 0
|
|
@@ -283,9 +282,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
283
282
|
* @remarks
|
|
284
283
|
* The field used for sorting. Default value: empty.
|
|
285
284
|
*
|
|
286
|
-
* The field must belong to metadata or a default field in the table
|
|
285
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
287
286
|
*
|
|
288
|
-
*
|
|
287
|
+
* Single field, such as chunk_id.
|
|
289
288
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
290
289
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
291
290
|
*
|
|
@@ -296,9 +295,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
296
295
|
ownerId?: number;
|
|
297
296
|
/**
|
|
298
297
|
* @remarks
|
|
299
|
-
* The recall window. When this value is not empty,
|
|
298
|
+
* The recall window. When this value is not empty, the context of the retrieval results is also returned. The format is a 2-element array: List<A, B>, where -10<=A<=0 and 0<=B<=10.
|
|
300
299
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
301
|
-
* > - Reranking takes priority over windowing
|
|
300
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
302
301
|
*/
|
|
303
302
|
recallWindow?: number[];
|
|
304
303
|
/**
|
|
@@ -313,9 +312,9 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
313
312
|
regionId?: string;
|
|
314
313
|
/**
|
|
315
314
|
* @remarks
|
|
316
|
-
* The reranking factor. When this value is not empty, the
|
|
317
|
-
* > - Reranking is
|
|
318
|
-
* > - The total number of
|
|
315
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
316
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
317
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
319
318
|
*
|
|
320
319
|
* @example
|
|
321
320
|
* 2
|
|
@@ -349,7 +348,7 @@ export class QueryContentAdvanceRequest extends $dara.Model {
|
|
|
349
348
|
urlExpiration?: string;
|
|
350
349
|
/**
|
|
351
350
|
* @remarks
|
|
352
|
-
*
|
|
351
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
353
352
|
*
|
|
354
353
|
* @example
|
|
355
354
|
* true
|