@alicloud/gpdb20160503 3.11.0 → 3.12.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.
- package/dist/client.d.ts +182 -56
- package/dist/client.js +377 -59
- package/dist/client.js.map +1 -1
- package/dist/models/CheckSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/CheckSaasServiceVersionRequest.js +60 -0
- package/dist/models/CheckSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/CheckSaasServiceVersionResponse.js +69 -0
- package/dist/models/CheckSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.d.ts +45 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js +64 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js.map +1 -0
- 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/GetApiEndpointsRequest.d.ts +37 -0
- package/dist/models/GetApiEndpointsRequest.js +62 -0
- package/dist/models/GetApiEndpointsRequest.js.map +1 -0
- package/dist/models/GetApiEndpointsResponse.d.ts +19 -0
- package/dist/models/GetApiEndpointsResponse.js +69 -0
- package/dist/models/GetApiEndpointsResponse.js.map +1 -0
- package/dist/models/GetApiEndpointsResponseBody.d.ts +89 -0
- package/dist/models/GetApiEndpointsResponseBody.js +92 -0
- package/dist/models/GetApiEndpointsResponseBody.js.map +1 -0
- 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/GrantApiKeyRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyRequest.js +67 -0
- package/dist/models/GrantApiKeyRequest.js.map +1 -0
- package/dist/models/GrantApiKeyResponse.d.ts +19 -0
- package/dist/models/GrantApiKeyResponse.js +69 -0
- package/dist/models/GrantApiKeyResponse.js.map +1 -0
- package/dist/models/GrantApiKeyResponseBody.d.ts +21 -0
- package/dist/models/GrantApiKeyResponseBody.js +58 -0
- package/dist/models/GrantApiKeyResponseBody.js.map +1 -0
- package/dist/models/GrantApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyShrinkRequest.js +64 -0
- package/dist/models/GrantApiKeyShrinkRequest.js.map +1 -0
- 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 +80 -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/ModifySaasServiceDeletionProtectionRequest.d.ts +39 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.d.ts +19 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js +69 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.d.ts +37 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js.map +1 -0
- 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/RevokeApiKeyRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyRequest.js +67 -0
- package/dist/models/RevokeApiKeyRequest.js.map +1 -0
- package/dist/models/RevokeApiKeyResponse.d.ts +19 -0
- package/dist/models/RevokeApiKeyResponse.js +69 -0
- package/dist/models/RevokeApiKeyResponse.js.map +1 -0
- package/dist/models/RevokeApiKeyResponseBody.d.ts +21 -0
- package/dist/models/RevokeApiKeyResponseBody.js +58 -0
- package/dist/models/RevokeApiKeyResponseBody.js.map +1 -0
- package/dist/models/RevokeApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js +64 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js +60 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js +69 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.d.ts +37 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js +62 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +80 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +410 -59
- package/src/models/CheckSaasServiceVersionRequest.ts +46 -0
- package/src/models/CheckSaasServiceVersionResponse.ts +40 -0
- package/src/models/CheckSaasServiceVersionResponseBody.ts +64 -0
- 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/GetApiEndpointsRequest.ts +54 -0
- package/src/models/GetApiEndpointsResponse.ts +40 -0
- package/src/models/GetApiEndpointsResponseBody.ts +127 -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/GrantApiKeyRequest.ts +70 -0
- package/src/models/GrantApiKeyResponse.ts +40 -0
- package/src/models/GrantApiKeyResponseBody.ts +34 -0
- package/src/models/GrantApiKeyShrinkRequest.ts +67 -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 +107 -1
- package/src/models/ListWorkspacesResponseBody.ts +48 -1
- package/src/models/ModifySaasServiceDeletionProtectionRequest.ts +56 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponse.ts +40 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponseBody.ts +54 -0
- 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/RevokeApiKeyRequest.ts +70 -0
- package/src/models/RevokeApiKeyResponse.ts +40 -0
- package/src/models/RevokeApiKeyResponseBody.ts +34 -0
- package/src/models/RevokeApiKeyShrinkRequest.ts +67 -0
- package/src/models/UpdateSaasServiceVersionRequest.ts +46 -0
- package/src/models/UpdateSaasServiceVersionResponse.ts +40 -0
- package/src/models/UpdateSaasServiceVersionResponseBody.ts +54 -0
- package/src/models/model.ts +24 -0
|
@@ -22,8 +22,7 @@ export declare class QueryContentRequestGraphSearchArgs extends $dara.Model {
|
|
|
22
22
|
export declare class QueryContentRequestRerankModel extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* This parameter can be set when RerankModel.Name is qwen3-rerank.
|
|
26
|
-
* Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.
|
|
25
|
+
* 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.
|
|
27
26
|
*
|
|
28
27
|
* @example
|
|
29
28
|
* Given a web search query, retrieve relevant passages that answer the query
|
|
@@ -31,7 +30,7 @@ export declare class QueryContentRequestRerankModel extends $dara.Model {
|
|
|
31
30
|
instruct?: string;
|
|
32
31
|
/**
|
|
33
32
|
* @remarks
|
|
34
|
-
* The
|
|
33
|
+
* The rerank model name. Valid values: qwen3-rerank, gte-rerank-v2.
|
|
35
34
|
*
|
|
36
35
|
* @example
|
|
37
36
|
* qwen3-rerank
|
|
@@ -86,7 +85,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
86
85
|
* @remarks
|
|
87
86
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
88
87
|
*
|
|
89
|
-
* > The image file must have a file extension.
|
|
88
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
90
89
|
*
|
|
91
90
|
* @example
|
|
92
91
|
* test.jpg
|
|
@@ -96,7 +95,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
96
95
|
* @remarks
|
|
97
96
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
98
97
|
*
|
|
99
|
-
* > The image file must have a file extension.
|
|
98
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
100
99
|
*
|
|
101
100
|
* @example
|
|
102
101
|
* https://xx/myImage.jpg
|
|
@@ -104,10 +103,10 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
104
103
|
fileUrl?: string;
|
|
105
104
|
/**
|
|
106
105
|
* @remarks
|
|
107
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
106
|
+
* 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.
|
|
108
107
|
*
|
|
109
108
|
* >
|
|
110
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
109
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
111
110
|
*
|
|
112
111
|
* @example
|
|
113
112
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -128,13 +127,13 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
128
127
|
graphSearchArgs?: QueryContentRequestGraphSearchArgs;
|
|
129
128
|
/**
|
|
130
129
|
* @remarks
|
|
131
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
130
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
132
131
|
*
|
|
133
132
|
* Valid values:
|
|
134
133
|
*
|
|
135
|
-
* - RRF: Reciprocal
|
|
136
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
137
|
-
* - Cascaded: Full-text
|
|
134
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
135
|
+
* - 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.
|
|
136
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
138
137
|
*
|
|
139
138
|
* @example
|
|
140
139
|
* RRF
|
|
@@ -142,9 +141,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
142
141
|
hybridSearch?: string;
|
|
143
142
|
/**
|
|
144
143
|
* @remarks
|
|
145
|
-
* 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
|
|
144
|
+
* 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.
|
|
146
145
|
*
|
|
147
|
-
* - RRF: Specifies the constant
|
|
146
|
+
* - 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:
|
|
148
147
|
* ```
|
|
149
148
|
* {
|
|
150
149
|
* "HybridPathsSetting": {
|
|
@@ -158,7 +157,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
158
157
|
*
|
|
159
158
|
* - Weight:
|
|
160
159
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
161
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
160
|
+
* - 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:
|
|
162
161
|
* ```
|
|
163
162
|
* {
|
|
164
163
|
* "Weight": {
|
|
@@ -167,7 +166,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
167
166
|
* }
|
|
168
167
|
* ```
|
|
169
168
|
* - Three-path recall pattern:
|
|
170
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
169
|
+
* - 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)).
|
|
171
170
|
* ```
|
|
172
171
|
* {
|
|
173
172
|
* "HybridPathsSetting": {
|
|
@@ -196,7 +195,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
196
195
|
includeFileUrl?: boolean;
|
|
197
196
|
/**
|
|
198
197
|
* @remarks
|
|
199
|
-
* The metadata fields to return. Default value: empty.
|
|
198
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
200
199
|
*
|
|
201
200
|
* @example
|
|
202
201
|
* title,page
|
|
@@ -214,7 +213,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
214
213
|
includeVector?: boolean;
|
|
215
214
|
/**
|
|
216
215
|
* @remarks
|
|
217
|
-
* The similarity algorithm used
|
|
216
|
+
* 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.
|
|
218
217
|
*
|
|
219
218
|
* > Valid values:
|
|
220
219
|
* > - **l2**: Euclidean distance.
|
|
@@ -229,7 +228,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
229
228
|
* @remarks
|
|
230
229
|
* The namespace. Default value: public.
|
|
231
230
|
*
|
|
232
|
-
* > 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.
|
|
231
|
+
* > 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.
|
|
233
232
|
*
|
|
234
233
|
* @example
|
|
235
234
|
* mynamespace
|
|
@@ -249,7 +248,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
249
248
|
namespacePassword?: string;
|
|
250
249
|
/**
|
|
251
250
|
* @remarks
|
|
252
|
-
* The offset for
|
|
251
|
+
* The offset for paging query.
|
|
253
252
|
*
|
|
254
253
|
* @example
|
|
255
254
|
* 0
|
|
@@ -259,9 +258,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
259
258
|
* @remarks
|
|
260
259
|
* The field used for sorting. Default value: empty.
|
|
261
260
|
*
|
|
262
|
-
* The field must belong to metadata or a default field in the table
|
|
261
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
263
262
|
*
|
|
264
|
-
*
|
|
263
|
+
* Single field, such as chunk_id.
|
|
265
264
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
266
265
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
267
266
|
*
|
|
@@ -272,9 +271,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
272
271
|
ownerId?: number;
|
|
273
272
|
/**
|
|
274
273
|
* @remarks
|
|
275
|
-
* The recall window. When this value is not empty,
|
|
274
|
+
* 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.
|
|
276
275
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
277
|
-
* > - Reranking takes priority over windowing
|
|
276
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
278
277
|
*/
|
|
279
278
|
recallWindow?: number[];
|
|
280
279
|
/**
|
|
@@ -289,9 +288,9 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
289
288
|
regionId?: string;
|
|
290
289
|
/**
|
|
291
290
|
* @remarks
|
|
292
|
-
* The reranking factor. When this value is not empty, the
|
|
293
|
-
* > - Reranking is
|
|
294
|
-
* > - The total number of
|
|
291
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
292
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
293
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
295
294
|
*
|
|
296
295
|
* @example
|
|
297
296
|
* 2
|
|
@@ -325,7 +324,7 @@ export declare class QueryContentRequest extends $dara.Model {
|
|
|
325
324
|
urlExpiration?: string;
|
|
326
325
|
/**
|
|
327
326
|
* @remarks
|
|
328
|
-
*
|
|
327
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
329
328
|
*
|
|
330
329
|
* @example
|
|
331
330
|
* true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryContentRequest.js","sourceRoot":"","sources":["../../src/models/QueryContentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IASjE,MAAM,CAAC,KAAK;QACV,O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-233,8 +233,8 @@ export declare class QueryContentResponseBody extends $dara.Model {
|
|
|
233
233
|
* @remarks
|
|
234
234
|
* The status. Valid values:
|
|
235
235
|
*
|
|
236
|
-
* - **success**:
|
|
237
|
-
* - **fail**:
|
|
236
|
+
* - **success**: The operation is successful.
|
|
237
|
+
* - **fail**: The operation failed.
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* success
|
|
@@ -36,7 +36,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
36
36
|
* @remarks
|
|
37
37
|
* The name of the source image file to search in image-to-image search scenarios.
|
|
38
38
|
*
|
|
39
|
-
* > The image file must have a file extension.
|
|
39
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* test.jpg
|
|
@@ -46,7 +46,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
46
46
|
* @remarks
|
|
47
47
|
* The publicly accessible URL of the image file in image-to-image search scenarios.
|
|
48
48
|
*
|
|
49
|
-
* > The image file must have a file extension.
|
|
49
|
+
* > The image file must have a file extension. Currently supported image extensions: bmp, jpg, jpeg, png, and tiff.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* https://xx/myImage.jpg
|
|
@@ -54,10 +54,10 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
54
54
|
fileUrl?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The filter condition for the data to query, in SQL WHERE clause format. The
|
|
57
|
+
* 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.
|
|
58
58
|
*
|
|
59
59
|
* >
|
|
60
|
-
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where
|
|
60
|
+
* > - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* title = \\"test\\" AND name like \\"test%\\"
|
|
@@ -78,13 +78,13 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
78
78
|
graphSearchArgsShrink?: string;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The multi-channel recall algorithm. Default value: empty
|
|
81
|
+
* The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieve are directly compared and sorting is performed).
|
|
82
82
|
*
|
|
83
83
|
* Valid values:
|
|
84
84
|
*
|
|
85
|
-
* - RRF: Reciprocal
|
|
86
|
-
* - Weight: Weighted sorting. Parameters control the score weights of
|
|
87
|
-
* - Cascaded: Full-text
|
|
85
|
+
* - RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.
|
|
86
|
+
* - 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.
|
|
87
|
+
* - Cascaded: Full-text retrieve is performed first, followed by vector retrieve on the full-text retrieve results.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* RRF
|
|
@@ -92,9 +92,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
92
92
|
hybridSearch?: string;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* 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
|
|
95
|
+
* 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.
|
|
96
96
|
*
|
|
97
|
-
* - RRF: Specifies the constant
|
|
97
|
+
* - 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:
|
|
98
98
|
* ```
|
|
99
99
|
* {
|
|
100
100
|
* "HybridPathsSetting": {
|
|
@@ -108,7 +108,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
108
108
|
*
|
|
109
109
|
* - Weight:
|
|
110
110
|
* - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):
|
|
111
|
-
* - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text
|
|
111
|
+
* - 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:
|
|
112
112
|
* ```
|
|
113
113
|
* {
|
|
114
114
|
* "Weight": {
|
|
@@ -117,7 +117,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
117
117
|
* }
|
|
118
118
|
* ```
|
|
119
119
|
* - Three-path recall pattern:
|
|
120
|
-
* - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext
|
|
120
|
+
* - 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)).
|
|
121
121
|
* ```
|
|
122
122
|
* {
|
|
123
123
|
* "HybridPathsSetting": {
|
|
@@ -142,7 +142,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
142
142
|
includeFileUrl?: boolean;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
* The metadata fields to return. Default value: empty.
|
|
145
|
+
* The metadata fields to return, separated by commas. Default value: empty.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* title,page
|
|
@@ -160,7 +160,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
160
160
|
includeVector?: boolean;
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The similarity algorithm used
|
|
163
|
+
* 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.
|
|
164
164
|
*
|
|
165
165
|
* > Valid values:
|
|
166
166
|
* > - **l2**: Euclidean distance.
|
|
@@ -175,7 +175,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
175
175
|
* @remarks
|
|
176
176
|
* The namespace. Default value: public.
|
|
177
177
|
*
|
|
178
|
-
* > 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.
|
|
178
|
+
* > 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.
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
181
|
* mynamespace
|
|
@@ -195,7 +195,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
195
195
|
namespacePassword?: string;
|
|
196
196
|
/**
|
|
197
197
|
* @remarks
|
|
198
|
-
* The offset for
|
|
198
|
+
* The offset for paging query.
|
|
199
199
|
*
|
|
200
200
|
* @example
|
|
201
201
|
* 0
|
|
@@ -205,9 +205,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
205
205
|
* @remarks
|
|
206
206
|
* The field used for sorting. Default value: empty.
|
|
207
207
|
*
|
|
208
|
-
* The field must belong to metadata or a default field in the table
|
|
208
|
+
* The field must belong to metadata or a default field in the table such as id. Supported formats:
|
|
209
209
|
*
|
|
210
|
-
*
|
|
210
|
+
* Single field, such as chunk_id.
|
|
211
211
|
* Multiple fields separated by commas, such as block_id, chunk_id.
|
|
212
212
|
* Descending order, such as block_id DESC, chunk_id DESC.
|
|
213
213
|
*
|
|
@@ -218,9 +218,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
218
218
|
ownerId?: number;
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The recall window. When this value is not empty,
|
|
221
|
+
* 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.
|
|
222
222
|
* > - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.
|
|
223
|
-
* > - Reranking takes priority over windowing
|
|
223
|
+
* > - Reranking takes priority over windowing, meaning reranking is performed first, followed by windowing.
|
|
224
224
|
*/
|
|
225
225
|
recallWindowShrink?: string;
|
|
226
226
|
/**
|
|
@@ -235,9 +235,9 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
235
235
|
regionId?: string;
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The reranking factor. When this value is not empty, the
|
|
239
|
-
* > - Reranking is
|
|
240
|
-
* > - The total number of
|
|
238
|
+
* The reranking factor. When this value is not empty, the vector retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.
|
|
239
|
+
* > - Reranking is slower when documents are sparsely chunked.
|
|
240
|
+
* > - The total number of items to rerank (TopK × Factor, rounded up) should not exceed 50.
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
243
|
* 2
|
|
@@ -271,7 +271,7 @@ export declare class QueryContentShrinkRequest extends $dara.Model {
|
|
|
271
271
|
urlExpiration?: string;
|
|
272
272
|
/**
|
|
273
273
|
* @remarks
|
|
274
|
-
*
|
|
274
|
+
* **[Deprecated]** Specifies whether to use full-text retrieve (dual-path recall). Default value: false, which indicates that only vector retrieve is used.
|
|
275
275
|
*
|
|
276
276
|
* @example
|
|
277
277
|
* true
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ResumeSaasServiceRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The region ID of the SaaS service.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* cn-hangzhou
|
|
6
9
|
*/
|
|
7
10
|
regionId?: string;
|
|
8
11
|
/**
|
|
9
12
|
* @remarks
|
|
13
|
+
* The service ID.
|
|
14
|
+
*
|
|
10
15
|
* This parameter is required.
|
|
11
16
|
*
|
|
12
17
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResumeSaasServiceRequest.js","sourceRoot":"","sources":["../../src/models/ResumeSaasServiceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ResumeSaasServiceRequest.js","sourceRoot":"","sources":["../../src/models/ResumeSaasServiceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAmBvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;SACpB,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;AAxCD,4DAwCC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ResumeSaasServiceResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The request ID.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
6
9
|
*/
|
|
7
10
|
requestId?: string;
|
|
8
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The service ID.
|
|
14
|
+
*
|
|
9
15
|
* @example
|
|
10
16
|
* drama-123456
|
|
11
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResumeSaasServiceResponseBody.js","sourceRoot":"","sources":["../../src/models/ResumeSaasServiceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ResumeSaasServiceResponseBody.js","sourceRoot":"","sources":["../../src/models/ResumeSaasServiceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAiB5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;SACpB,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;AAtCD,sEAsCC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RevokeApiKeyRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* API KEY ID。
|
|
6
|
+
*
|
|
7
|
+
* This parameter is required.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* api-xxxxxx
|
|
11
|
+
*/
|
|
12
|
+
keyId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The region ID.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* cn-beijing
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The list of service IDs to be authorized.
|
|
24
|
+
*
|
|
25
|
+
* This parameter is required.
|
|
26
|
+
*/
|
|
27
|
+
serviceIds?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The workspace ID.
|
|
31
|
+
*
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ws-*****
|
|
36
|
+
*/
|
|
37
|
+
workspaceId?: string;
|
|
38
|
+
static names(): {
|
|
39
|
+
[key: string]: string;
|
|
40
|
+
};
|
|
41
|
+
static types(): {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
validate(): void;
|
|
45
|
+
constructor(map?: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.RevokeApiKeyRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RevokeApiKeyRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
keyId: 'KeyId',
|
|
43
|
+
regionId: 'RegionId',
|
|
44
|
+
serviceIds: 'ServiceIds',
|
|
45
|
+
workspaceId: 'WorkspaceId',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
keyId: 'string',
|
|
51
|
+
regionId: 'string',
|
|
52
|
+
serviceIds: { 'type': 'array', 'itemType': 'string' },
|
|
53
|
+
workspaceId: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
validate() {
|
|
57
|
+
if (Array.isArray(this.serviceIds)) {
|
|
58
|
+
$dara.Model.validateArray(this.serviceIds);
|
|
59
|
+
}
|
|
60
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
constructor(map) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.RevokeApiKeyRequest = RevokeApiKeyRequest;
|
|
67
|
+
//# sourceMappingURL=RevokeApiKeyRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevokeApiKeyRequest.js","sourceRoot":"","sources":["../../src/models/RevokeApiKeyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAoClD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhED,kDAgEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { RevokeApiKeyResponseBody } from "./RevokeApiKeyResponseBody";
|
|
3
|
+
export declare class RevokeApiKeyResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: RevokeApiKeyResponseBody;
|
|
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.RevokeApiKeyResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const RevokeApiKeyResponseBody_1 = require("./RevokeApiKeyResponseBody");
|
|
40
|
+
class RevokeApiKeyResponse 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: RevokeApiKeyResponseBody_1.RevokeApiKeyResponseBody,
|
|
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.RevokeApiKeyResponse = RevokeApiKeyResponse;
|
|
69
|
+
//# sourceMappingURL=RevokeApiKeyResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevokeApiKeyResponse.js","sourceRoot":"","sources":["../../src/models/RevokeApiKeyResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yEAAsE;AAGtE,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAInD,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,mDAAwB;SAC/B,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,oDAiCC"}
|