@alicloud/aliding20230426 2.33.1 → 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 +74 -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/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 +9 -0
- package/dist/models/model.js +57 -39
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +86 -4
- package/src/models/CreateReportResponseBody.ts +3 -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 +9 -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
|
@@ -10169,9 +10169,6 @@ class Client extends openapi_core_1.default {
|
|
|
10169
10169
|
if (!$dara.isNull(request.index)) {
|
|
10170
10170
|
body["Index"] = request.index;
|
|
10171
10171
|
}
|
|
10172
|
-
if (!$dara.isNull(request.operatorId)) {
|
|
10173
|
-
body["OperatorId"] = request.operatorId;
|
|
10174
|
-
}
|
|
10175
10172
|
if (!$dara.isNull(request.pathShrink)) {
|
|
10176
10173
|
body["Path"] = request.pathShrink;
|
|
10177
10174
|
}
|
|
@@ -10213,6 +10210,80 @@ class Client extends openapi_core_1.default {
|
|
|
10213
10210
|
let headers = new $_model.InsertContentWithOptionsHeaders({});
|
|
10214
10211
|
return await this.insertContentWithOptionsWithOptions(request, headers, runtime);
|
|
10215
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
|
+
}
|
|
10216
10287
|
/**
|
|
10217
10288
|
* 新增记录
|
|
10218
10289
|
*
|