@alicloud/aliding20230426 2.33.0 → 2.34.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 +16 -0
- package/dist/client.js +77 -3
- package/dist/client.js.map +1 -1
- package/dist/models/CreateReportResponseBody.d.ts +1 -0
- package/dist/models/CreateReportResponseBody.js +2 -0
- package/dist/models/CreateReportResponseBody.js.map +1 -1
- package/dist/models/CreateRunRequest.d.ts +1 -0
- package/dist/models/CreateRunRequest.js +2 -0
- package/dist/models/CreateRunRequest.js.map +1 -1
- package/dist/models/CreateRunResponseBodyMessages.d.ts +2 -0
- package/dist/models/CreateRunResponseBodyMessages.js +6 -0
- package/dist/models/CreateRunResponseBodyMessages.js.map +1 -1
- package/dist/models/CreateRunResponseBodyMessagesContentStruct.d.ts +15 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStruct.js +62 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStruct.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructParts.d.ts +63 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructParts.js +96 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructParts.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsDataPart.d.ts +14 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsDataPart.js +58 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsDataPart.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReasonPart.d.ts +18 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReasonPart.js +58 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReasonPart.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPart.d.ts +15 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPart.js +62 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPart.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPartRecommends.d.ts +16 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPartRecommends.js +62 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPartRecommends.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReferencePart.d.ts +15 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReferencePart.js +62 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReferencePart.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReferencePartReferences.d.ts +44 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReferencePartReferences.js +70 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsReferencePartReferences.js.map +1 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsTextPart.d.ts +18 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsTextPart.js +58 -0
- package/dist/models/CreateRunResponseBodyMessagesContentStructPartsTextPart.js.map +1 -0
- package/dist/models/InsertContentWithOptionsRequest.d.ts +0 -8
- package/dist/models/InsertContentWithOptionsRequest.js +0 -2
- package/dist/models/InsertContentWithOptionsRequest.js.map +1 -1
- package/dist/models/InsertContentWithOptionsShrinkRequest.d.ts +0 -8
- package/dist/models/InsertContentWithOptionsShrinkRequest.js +0 -2
- package/dist/models/InsertContentWithOptionsShrinkRequest.js.map +1 -1
- package/dist/models/InsertDropDownListHeaders.d.ts +18 -0
- package/dist/models/InsertDropDownListHeaders.js +67 -0
- package/dist/models/InsertDropDownListHeaders.js.map +1 -0
- package/dist/models/InsertDropDownListHeadersAccountContext.d.ts +21 -0
- package/dist/models/InsertDropDownListHeadersAccountContext.js +58 -0
- package/dist/models/InsertDropDownListHeadersAccountContext.js.map +1 -0
- package/dist/models/InsertDropDownListRequest.d.ts +45 -0
- package/dist/models/InsertDropDownListRequest.js +74 -0
- package/dist/models/InsertDropDownListRequest.js.map +1 -0
- package/dist/models/InsertDropDownListRequestOptions.d.ts +29 -0
- package/dist/models/InsertDropDownListRequestOptions.js +60 -0
- package/dist/models/InsertDropDownListRequestOptions.js.map +1 -0
- package/dist/models/InsertDropDownListRequestTenantContext.d.ts +18 -0
- package/dist/models/InsertDropDownListRequestTenantContext.js +58 -0
- package/dist/models/InsertDropDownListRequestTenantContext.js.map +1 -0
- package/dist/models/InsertDropDownListResponse.d.ts +19 -0
- package/dist/models/InsertDropDownListResponse.js +69 -0
- package/dist/models/InsertDropDownListResponse.js.map +1 -0
- package/dist/models/InsertDropDownListResponseBody.d.ts +33 -0
- package/dist/models/InsertDropDownListResponseBody.js +64 -0
- package/dist/models/InsertDropDownListResponseBody.js.map +1 -0
- package/dist/models/InsertDropDownListShrinkHeaders.d.ts +17 -0
- package/dist/models/InsertDropDownListShrinkHeaders.js +63 -0
- package/dist/models/InsertDropDownListShrinkHeaders.js.map +1 -0
- package/dist/models/InsertDropDownListShrinkRequest.d.ts +43 -0
- package/dist/models/InsertDropDownListShrinkRequest.js +66 -0
- package/dist/models/InsertDropDownListShrinkRequest.js.map +1 -0
- package/dist/models/SaveContentResponseBody.d.ts +1 -0
- package/dist/models/SaveContentResponseBody.js +2 -0
- package/dist/models/SaveContentResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +82 -46
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +90 -4
- package/src/models/CreateReportResponseBody.ts +3 -0
- package/src/models/CreateRunRequest.ts +3 -0
- package/src/models/CreateRunResponseBodyMessages.ts +7 -0
- package/src/models/CreateRunResponseBodyMessagesContentStruct.ts +31 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructParts.ts +109 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructPartsDataPart.ts +27 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructPartsReasonPart.ts +31 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPart.ts +31 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructPartsRecommendPartRecommends.ts +33 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructPartsReferencePart.ts +31 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructPartsReferencePartReferences.ts +69 -0
- package/src/models/CreateRunResponseBodyMessagesContentStructPartsTextPart.ts +31 -0
- package/src/models/InsertContentWithOptionsRequest.ts +0 -10
- package/src/models/InsertContentWithOptionsShrinkRequest.ts +0 -10
- package/src/models/InsertDropDownListHeaders.ts +37 -0
- package/src/models/InsertDropDownListHeadersAccountContext.ts +34 -0
- package/src/models/InsertDropDownListRequest.ts +72 -0
- package/src/models/InsertDropDownListRequestOptions.ts +44 -0
- package/src/models/InsertDropDownListRequestTenantContext.ts +31 -0
- package/src/models/InsertDropDownListResponse.ts +40 -0
- package/src/models/InsertDropDownListResponseBody.ts +52 -0
- package/src/models/InsertDropDownListShrinkHeaders.ts +33 -0
- package/src/models/InsertDropDownListShrinkRequest.ts +64 -0
- package/src/models/SaveContentResponseBody.ts +3 -0
- package/src/models/model.ts +18 -0
package/dist/client.d.ts
CHANGED
|
@@ -2300,6 +2300,22 @@ export default class Client extends OpenApi {
|
|
|
2300
2300
|
* @returns InsertContentWithOptionsResponse
|
|
2301
2301
|
*/
|
|
2302
2302
|
insertContentWithOptions(request: $_model.InsertContentWithOptionsRequest): Promise<$_model.InsertContentWithOptionsResponse>;
|
|
2303
|
+
/**
|
|
2304
|
+
* 插入下拉列表
|
|
2305
|
+
*
|
|
2306
|
+
* @param tmpReq - InsertDropDownListRequest
|
|
2307
|
+
* @param tmpHeader - InsertDropDownListHeaders
|
|
2308
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2309
|
+
* @returns InsertDropDownListResponse
|
|
2310
|
+
*/
|
|
2311
|
+
insertDropDownListWithOptions(tmpReq: $_model.InsertDropDownListRequest, tmpHeader: $_model.InsertDropDownListHeaders, runtime: $dara.RuntimeOptions): Promise<$_model.InsertDropDownListResponse>;
|
|
2312
|
+
/**
|
|
2313
|
+
* 插入下拉列表
|
|
2314
|
+
*
|
|
2315
|
+
* @param request - InsertDropDownListRequest
|
|
2316
|
+
* @returns InsertDropDownListResponse
|
|
2317
|
+
*/
|
|
2318
|
+
insertDropDownList(request: $_model.InsertDropDownListRequest): Promise<$_model.InsertDropDownListResponse>;
|
|
2303
2319
|
/**
|
|
2304
2320
|
* 新增记录
|
|
2305
2321
|
*
|
package/dist/client.js
CHANGED
|
@@ -3028,6 +3028,9 @@ class Client extends openapi_core_1.default {
|
|
|
3028
3028
|
async createRunWithOptions(request, headers, runtime) {
|
|
3029
3029
|
request.validate();
|
|
3030
3030
|
let body = {};
|
|
3031
|
+
if (!$dara.isNull(request.allowStructViewContent)) {
|
|
3032
|
+
body["allowStructViewContent"] = request.allowStructViewContent;
|
|
3033
|
+
}
|
|
3031
3034
|
if (!$dara.isNull(request.assistantId)) {
|
|
3032
3035
|
body["assistantId"] = request.assistantId;
|
|
3033
3036
|
}
|
|
@@ -10166,9 +10169,6 @@ class Client extends openapi_core_1.default {
|
|
|
10166
10169
|
if (!$dara.isNull(request.index)) {
|
|
10167
10170
|
body["Index"] = request.index;
|
|
10168
10171
|
}
|
|
10169
|
-
if (!$dara.isNull(request.operatorId)) {
|
|
10170
|
-
body["OperatorId"] = request.operatorId;
|
|
10171
|
-
}
|
|
10172
10172
|
if (!$dara.isNull(request.pathShrink)) {
|
|
10173
10173
|
body["Path"] = request.pathShrink;
|
|
10174
10174
|
}
|
|
@@ -10210,6 +10210,80 @@ class Client extends openapi_core_1.default {
|
|
|
10210
10210
|
let headers = new $_model.InsertContentWithOptionsHeaders({});
|
|
10211
10211
|
return await this.insertContentWithOptionsWithOptions(request, headers, runtime);
|
|
10212
10212
|
}
|
|
10213
|
+
/**
|
|
10214
|
+
* 插入下拉列表
|
|
10215
|
+
*
|
|
10216
|
+
* @param tmpReq - InsertDropDownListRequest
|
|
10217
|
+
* @param tmpHeader - InsertDropDownListHeaders
|
|
10218
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10219
|
+
* @returns InsertDropDownListResponse
|
|
10220
|
+
*/
|
|
10221
|
+
async insertDropDownListWithOptions(tmpReq, tmpHeader, runtime) {
|
|
10222
|
+
tmpReq.validate();
|
|
10223
|
+
let request = new $_model.InsertDropDownListShrinkRequest({});
|
|
10224
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
10225
|
+
let headers = new $_model.InsertDropDownListShrinkHeaders({});
|
|
10226
|
+
openapi_core_2.OpenApiUtil.convert(tmpHeader, headers);
|
|
10227
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
10228
|
+
headers.accountContextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
10229
|
+
}
|
|
10230
|
+
if (!$dara.isNull(tmpReq.options)) {
|
|
10231
|
+
request.optionsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.options, "Options", "json");
|
|
10232
|
+
}
|
|
10233
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
10234
|
+
request.tenantContextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
10235
|
+
}
|
|
10236
|
+
let body = {};
|
|
10237
|
+
if (!$dara.isNull(request.optionsShrink)) {
|
|
10238
|
+
body["Options"] = request.optionsShrink;
|
|
10239
|
+
}
|
|
10240
|
+
if (!$dara.isNull(request.rangeAddress)) {
|
|
10241
|
+
body["RangeAddress"] = request.rangeAddress;
|
|
10242
|
+
}
|
|
10243
|
+
if (!$dara.isNull(request.sheetId)) {
|
|
10244
|
+
body["SheetId"] = request.sheetId;
|
|
10245
|
+
}
|
|
10246
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
10247
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
10248
|
+
}
|
|
10249
|
+
if (!$dara.isNull(request.workbookId)) {
|
|
10250
|
+
body["WorkbookId"] = request.workbookId;
|
|
10251
|
+
}
|
|
10252
|
+
let realHeaders = {};
|
|
10253
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
10254
|
+
realHeaders = headers.commonHeaders;
|
|
10255
|
+
}
|
|
10256
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
10257
|
+
realHeaders["AccountContext"] = typeof headers.accountContextShrink === "string" ? headers.accountContextShrink : JSON.stringify(headers.accountContextShrink);
|
|
10258
|
+
}
|
|
10259
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10260
|
+
headers: realHeaders,
|
|
10261
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
10262
|
+
});
|
|
10263
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10264
|
+
action: "InsertDropDownList",
|
|
10265
|
+
version: "2023-04-26",
|
|
10266
|
+
protocol: "HTTPS",
|
|
10267
|
+
pathname: `/dingtalk/v1/documents/insertDropDownList`,
|
|
10268
|
+
method: "POST",
|
|
10269
|
+
authType: "AK",
|
|
10270
|
+
style: "ROA",
|
|
10271
|
+
reqBodyType: "formData",
|
|
10272
|
+
bodyType: "json",
|
|
10273
|
+
});
|
|
10274
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InsertDropDownListResponse({}));
|
|
10275
|
+
}
|
|
10276
|
+
/**
|
|
10277
|
+
* 插入下拉列表
|
|
10278
|
+
*
|
|
10279
|
+
* @param request - InsertDropDownListRequest
|
|
10280
|
+
* @returns InsertDropDownListResponse
|
|
10281
|
+
*/
|
|
10282
|
+
async insertDropDownList(request) {
|
|
10283
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10284
|
+
let headers = new $_model.InsertDropDownListHeaders({});
|
|
10285
|
+
return await this.insertDropDownListWithOptions(request, headers, runtime);
|
|
10286
|
+
}
|
|
10213
10287
|
/**
|
|
10214
10288
|
* 新增记录
|
|
10215
10289
|
*
|