@alicloud/aliding20230426 2.30.0 → 2.31.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 +32 -0
- package/dist/client.js +157 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddMultiDimTableRequestFields.d.ts +7 -0
- package/dist/models/AddMultiDimTableRequestFields.js.map +1 -1
- package/dist/models/CreateMultiDimTableFieldRequest.d.ts +3 -0
- package/dist/models/CreateMultiDimTableFieldRequest.js.map +1 -1
- package/dist/models/CreateMultiDimTableFieldShrinkRequest.d.ts +3 -0
- package/dist/models/CreateMultiDimTableFieldShrinkRequest.js.map +1 -1
- package/dist/models/InsertContentWithOptionsHeaders.d.ts +18 -0
- package/dist/models/InsertContentWithOptionsHeaders.js +67 -0
- package/dist/models/InsertContentWithOptionsHeaders.js.map +1 -0
- package/dist/models/InsertContentWithOptionsHeadersAccountContext.d.ts +21 -0
- package/dist/models/InsertContentWithOptionsHeadersAccountContext.js +58 -0
- package/dist/models/InsertContentWithOptionsHeadersAccountContext.js.map +1 -0
- package/dist/models/InsertContentWithOptionsRequest.d.ts +51 -0
- package/dist/models/InsertContentWithOptionsRequest.js +78 -0
- package/dist/models/InsertContentWithOptionsRequest.js.map +1 -0
- package/dist/models/InsertContentWithOptionsRequestTenantContext.d.ts +18 -0
- package/dist/models/InsertContentWithOptionsRequestTenantContext.js +58 -0
- package/dist/models/InsertContentWithOptionsRequestTenantContext.js.map +1 -0
- package/dist/models/InsertContentWithOptionsResponse.d.ts +19 -0
- package/dist/models/InsertContentWithOptionsResponse.js +69 -0
- package/dist/models/InsertContentWithOptionsResponse.js.map +1 -0
- package/dist/models/InsertContentWithOptionsResponseBody.d.ts +33 -0
- package/dist/models/InsertContentWithOptionsResponseBody.js +64 -0
- package/dist/models/InsertContentWithOptionsResponseBody.js.map +1 -0
- package/dist/models/InsertContentWithOptionsShrinkHeaders.d.ts +17 -0
- package/dist/models/InsertContentWithOptionsShrinkHeaders.js +63 -0
- package/dist/models/InsertContentWithOptionsShrinkHeaders.js.map +1 -0
- package/dist/models/InsertContentWithOptionsShrinkRequest.d.ts +48 -0
- package/dist/models/InsertContentWithOptionsShrinkRequest.js +68 -0
- package/dist/models/InsertContentWithOptionsShrinkRequest.js.map +1 -0
- package/dist/models/InsertMultiDimTableRecordRequest.d.ts +8 -0
- package/dist/models/InsertMultiDimTableRecordRequest.js.map +1 -1
- package/dist/models/InsertMultiDimTableRecordRequestRecords.d.ts +4 -0
- package/dist/models/InsertMultiDimTableRecordRequestRecords.js.map +1 -1
- package/dist/models/InsertMultiDimTableRecordShrinkRequest.d.ts +8 -0
- package/dist/models/InsertMultiDimTableRecordShrinkRequest.js.map +1 -1
- package/dist/models/QueryDentriesInfoHeaders.d.ts +18 -0
- package/dist/models/QueryDentriesInfoHeaders.js +67 -0
- package/dist/models/QueryDentriesInfoHeaders.js.map +1 -0
- package/dist/models/QueryDentriesInfoHeadersAccountContext.d.ts +21 -0
- package/dist/models/QueryDentriesInfoHeadersAccountContext.js +58 -0
- package/dist/models/QueryDentriesInfoHeadersAccountContext.js.map +1 -0
- package/dist/models/QueryDentriesInfoRequest.d.ts +45 -0
- package/dist/models/QueryDentriesInfoRequest.js +75 -0
- package/dist/models/QueryDentriesInfoRequest.js.map +1 -0
- package/dist/models/QueryDentriesInfoRequestTenantContext.d.ts +18 -0
- package/dist/models/QueryDentriesInfoRequestTenantContext.js +58 -0
- package/dist/models/QueryDentriesInfoRequestTenantContext.js.map +1 -0
- package/dist/models/QueryDentriesInfoResponse.d.ts +19 -0
- package/dist/models/QueryDentriesInfoResponse.js +69 -0
- package/dist/models/QueryDentriesInfoResponse.js.map +1 -0
- package/dist/models/QueryDentriesInfoResponseBody.d.ts +30 -0
- package/dist/models/QueryDentriesInfoResponseBody.js +68 -0
- package/dist/models/QueryDentriesInfoResponseBody.js.map +1 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentry.d.ts +94 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentry.js +108 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentry.js.map +1 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentryProperties.d.ts +18 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentryProperties.js +58 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentryProperties.js.map +1 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentryThumbnail.d.ts +28 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentryThumbnail.js +62 -0
- package/dist/models/QueryDentriesInfoResponseBodyDentryThumbnail.js.map +1 -0
- package/dist/models/QueryDentriesInfoShrinkHeaders.d.ts +17 -0
- package/dist/models/QueryDentriesInfoShrinkHeaders.js +63 -0
- package/dist/models/QueryDentriesInfoShrinkHeaders.js.map +1 -0
- package/dist/models/QueryDentriesInfoShrinkRequest.d.ts +44 -0
- package/dist/models/QueryDentriesInfoShrinkRequest.js +68 -0
- package/dist/models/QueryDentriesInfoShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +76 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +184 -0
- package/src/models/AddMultiDimTableRequestFields.ts +7 -0
- package/src/models/CreateMultiDimTableFieldRequest.ts +3 -0
- package/src/models/CreateMultiDimTableFieldShrinkRequest.ts +3 -0
- package/src/models/InsertContentWithOptionsHeaders.ts +37 -0
- package/src/models/InsertContentWithOptionsHeadersAccountContext.ts +34 -0
- package/src/models/InsertContentWithOptionsRequest.ts +81 -0
- package/src/models/InsertContentWithOptionsRequestTenantContext.ts +31 -0
- package/src/models/InsertContentWithOptionsResponse.ts +40 -0
- package/src/models/InsertContentWithOptionsResponseBody.ts +52 -0
- package/src/models/InsertContentWithOptionsShrinkHeaders.ts +33 -0
- package/src/models/InsertContentWithOptionsShrinkRequest.ts +71 -0
- package/src/models/InsertMultiDimTableRecordRequest.ts +8 -0
- package/src/models/InsertMultiDimTableRecordRequestRecords.ts +4 -0
- package/src/models/InsertMultiDimTableRecordShrinkRequest.ts +8 -0
- package/src/models/QueryDentriesInfoHeaders.ts +37 -0
- package/src/models/QueryDentriesInfoHeadersAccountContext.ts +34 -0
- package/src/models/QueryDentriesInfoRequest.ts +74 -0
- package/src/models/QueryDentriesInfoRequestTenantContext.ts +31 -0
- package/src/models/QueryDentriesInfoResponse.ts +40 -0
- package/src/models/QueryDentriesInfoResponseBody.ts +52 -0
- package/src/models/QueryDentriesInfoResponseBodyDentry.ts +152 -0
- package/src/models/QueryDentriesInfoResponseBodyDentryProperties.ts +31 -0
- package/src/models/QueryDentriesInfoResponseBodyDentryThumbnail.ts +45 -0
- package/src/models/QueryDentriesInfoShrinkHeaders.ts +33 -0
- package/src/models/QueryDentriesInfoShrinkRequest.ts +67 -0
- package/src/models/model.ts +19 -0
package/dist/client.d.ts
CHANGED
|
@@ -2268,6 +2268,22 @@ export default class Client extends OpenApi {
|
|
|
2268
2268
|
* @returns InsertColumnsBeforeResponse
|
|
2269
2269
|
*/
|
|
2270
2270
|
insertColumnsBefore(request: $_model.InsertColumnsBeforeRequest): Promise<$_model.InsertColumnsBeforeResponse>;
|
|
2271
|
+
/**
|
|
2272
|
+
* 文档中插入内容
|
|
2273
|
+
*
|
|
2274
|
+
* @param tmpReq - InsertContentWithOptionsRequest
|
|
2275
|
+
* @param tmpHeader - InsertContentWithOptionsHeaders
|
|
2276
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2277
|
+
* @returns InsertContentWithOptionsResponse
|
|
2278
|
+
*/
|
|
2279
|
+
insertContentWithOptionsWithOptions(tmpReq: $_model.InsertContentWithOptionsRequest, tmpHeader: $_model.InsertContentWithOptionsHeaders, runtime: $dara.RuntimeOptions): Promise<$_model.InsertContentWithOptionsResponse>;
|
|
2280
|
+
/**
|
|
2281
|
+
* 文档中插入内容
|
|
2282
|
+
*
|
|
2283
|
+
* @param request - InsertContentWithOptionsRequest
|
|
2284
|
+
* @returns InsertContentWithOptionsResponse
|
|
2285
|
+
*/
|
|
2286
|
+
insertContentWithOptions(request: $_model.InsertContentWithOptionsRequest): Promise<$_model.InsertContentWithOptionsResponse>;
|
|
2271
2287
|
/**
|
|
2272
2288
|
* 新增记录
|
|
2273
2289
|
*
|
|
@@ -2748,6 +2764,22 @@ export default class Client extends OpenApi {
|
|
|
2748
2764
|
* @returns QueryConferenceMembersResponse
|
|
2749
2765
|
*/
|
|
2750
2766
|
queryConferenceMembers(request: $_model.QueryConferenceMembersRequest): Promise<$_model.QueryConferenceMembersResponse>;
|
|
2767
|
+
/**
|
|
2768
|
+
* 获取文件或文件夹信息
|
|
2769
|
+
*
|
|
2770
|
+
* @param tmpReq - QueryDentriesInfoRequest
|
|
2771
|
+
* @param tmpHeader - QueryDentriesInfoHeaders
|
|
2772
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2773
|
+
* @returns QueryDentriesInfoResponse
|
|
2774
|
+
*/
|
|
2775
|
+
queryDentriesInfoWithOptions(tmpReq: $_model.QueryDentriesInfoRequest, tmpHeader: $_model.QueryDentriesInfoHeaders, runtime: $dara.RuntimeOptions): Promise<$_model.QueryDentriesInfoResponse>;
|
|
2776
|
+
/**
|
|
2777
|
+
* 获取文件或文件夹信息
|
|
2778
|
+
*
|
|
2779
|
+
* @param request - QueryDentriesInfoRequest
|
|
2780
|
+
* @returns QueryDentriesInfoResponse
|
|
2781
|
+
*/
|
|
2782
|
+
queryDentriesInfo(request: $_model.QueryDentriesInfoRequest): Promise<$_model.QueryDentriesInfoResponse>;
|
|
2751
2783
|
/**
|
|
2752
2784
|
* 查询知识库节点信息
|
|
2753
2785
|
*
|
package/dist/client.js
CHANGED
|
@@ -10068,6 +10068,86 @@ class Client extends openapi_core_1.default {
|
|
|
10068
10068
|
let headers = new $_model.InsertColumnsBeforeHeaders({});
|
|
10069
10069
|
return await this.insertColumnsBeforeWithOptions(request, headers, runtime);
|
|
10070
10070
|
}
|
|
10071
|
+
/**
|
|
10072
|
+
* 文档中插入内容
|
|
10073
|
+
*
|
|
10074
|
+
* @param tmpReq - InsertContentWithOptionsRequest
|
|
10075
|
+
* @param tmpHeader - InsertContentWithOptionsHeaders
|
|
10076
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10077
|
+
* @returns InsertContentWithOptionsResponse
|
|
10078
|
+
*/
|
|
10079
|
+
async insertContentWithOptionsWithOptions(tmpReq, tmpHeader, runtime) {
|
|
10080
|
+
tmpReq.validate();
|
|
10081
|
+
let request = new $_model.InsertContentWithOptionsShrinkRequest({});
|
|
10082
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
10083
|
+
let headers = new $_model.InsertContentWithOptionsShrinkHeaders({});
|
|
10084
|
+
openapi_core_2.OpenApiUtil.convert(tmpHeader, headers);
|
|
10085
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
10086
|
+
headers.accountContextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
10087
|
+
}
|
|
10088
|
+
if (!$dara.isNull(tmpReq.content)) {
|
|
10089
|
+
request.contentShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
10090
|
+
}
|
|
10091
|
+
if (!$dara.isNull(tmpReq.path)) {
|
|
10092
|
+
request.pathShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.path, "Path", "json");
|
|
10093
|
+
}
|
|
10094
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
10095
|
+
request.tenantContextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
10096
|
+
}
|
|
10097
|
+
let body = {};
|
|
10098
|
+
if (!$dara.isNull(request.contentShrink)) {
|
|
10099
|
+
body["Content"] = request.contentShrink;
|
|
10100
|
+
}
|
|
10101
|
+
if (!$dara.isNull(request.documentId)) {
|
|
10102
|
+
body["DocumentId"] = request.documentId;
|
|
10103
|
+
}
|
|
10104
|
+
if (!$dara.isNull(request.index)) {
|
|
10105
|
+
body["Index"] = request.index;
|
|
10106
|
+
}
|
|
10107
|
+
if (!$dara.isNull(request.operatorId)) {
|
|
10108
|
+
body["OperatorId"] = request.operatorId;
|
|
10109
|
+
}
|
|
10110
|
+
if (!$dara.isNull(request.pathShrink)) {
|
|
10111
|
+
body["Path"] = request.pathShrink;
|
|
10112
|
+
}
|
|
10113
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
10114
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
10115
|
+
}
|
|
10116
|
+
let realHeaders = {};
|
|
10117
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
10118
|
+
realHeaders = headers.commonHeaders;
|
|
10119
|
+
}
|
|
10120
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
10121
|
+
realHeaders["AccountContext"] = typeof headers.accountContextShrink === "string" ? headers.accountContextShrink : JSON.stringify(headers.accountContextShrink);
|
|
10122
|
+
}
|
|
10123
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10124
|
+
headers: realHeaders,
|
|
10125
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
10126
|
+
});
|
|
10127
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10128
|
+
action: "InsertContentWithOptions",
|
|
10129
|
+
version: "2023-04-26",
|
|
10130
|
+
protocol: "HTTPS",
|
|
10131
|
+
pathname: `/dingtalk/v1/documents/insertContentWithOptions`,
|
|
10132
|
+
method: "POST",
|
|
10133
|
+
authType: "AK",
|
|
10134
|
+
style: "ROA",
|
|
10135
|
+
reqBodyType: "formData",
|
|
10136
|
+
bodyType: "json",
|
|
10137
|
+
});
|
|
10138
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InsertContentWithOptionsResponse({}));
|
|
10139
|
+
}
|
|
10140
|
+
/**
|
|
10141
|
+
* 文档中插入内容
|
|
10142
|
+
*
|
|
10143
|
+
* @param request - InsertContentWithOptionsRequest
|
|
10144
|
+
* @returns InsertContentWithOptionsResponse
|
|
10145
|
+
*/
|
|
10146
|
+
async insertContentWithOptions(request) {
|
|
10147
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10148
|
+
let headers = new $_model.InsertContentWithOptionsHeaders({});
|
|
10149
|
+
return await this.insertContentWithOptionsWithOptions(request, headers, runtime);
|
|
10150
|
+
}
|
|
10071
10151
|
/**
|
|
10072
10152
|
* 新增记录
|
|
10073
10153
|
*
|
|
@@ -12178,6 +12258,83 @@ class Client extends openapi_core_1.default {
|
|
|
12178
12258
|
let headers = new $_model.QueryConferenceMembersHeaders({});
|
|
12179
12259
|
return await this.queryConferenceMembersWithOptions(request, headers, runtime);
|
|
12180
12260
|
}
|
|
12261
|
+
/**
|
|
12262
|
+
* 获取文件或文件夹信息
|
|
12263
|
+
*
|
|
12264
|
+
* @param tmpReq - QueryDentriesInfoRequest
|
|
12265
|
+
* @param tmpHeader - QueryDentriesInfoHeaders
|
|
12266
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12267
|
+
* @returns QueryDentriesInfoResponse
|
|
12268
|
+
*/
|
|
12269
|
+
async queryDentriesInfoWithOptions(tmpReq, tmpHeader, runtime) {
|
|
12270
|
+
tmpReq.validate();
|
|
12271
|
+
let request = new $_model.QueryDentriesInfoShrinkRequest({});
|
|
12272
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
12273
|
+
let headers = new $_model.QueryDentriesInfoShrinkHeaders({});
|
|
12274
|
+
openapi_core_2.OpenApiUtil.convert(tmpHeader, headers);
|
|
12275
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
12276
|
+
headers.accountContextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
12277
|
+
}
|
|
12278
|
+
if (!$dara.isNull(tmpReq.appIdsForAppProperties)) {
|
|
12279
|
+
request.appIdsForAppPropertiesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.appIdsForAppProperties, "AppIdsForAppProperties", "json");
|
|
12280
|
+
}
|
|
12281
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
12282
|
+
request.tenantContextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
12283
|
+
}
|
|
12284
|
+
let body = {};
|
|
12285
|
+
if (!$dara.isNull(request.appIdsForAppPropertiesShrink)) {
|
|
12286
|
+
body["AppIdsForAppProperties"] = request.appIdsForAppPropertiesShrink;
|
|
12287
|
+
}
|
|
12288
|
+
if (!$dara.isNull(request.dentryId)) {
|
|
12289
|
+
body["DentryId"] = request.dentryId;
|
|
12290
|
+
}
|
|
12291
|
+
if (!$dara.isNull(request.spaceId)) {
|
|
12292
|
+
body["SpaceId"] = request.spaceId;
|
|
12293
|
+
}
|
|
12294
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
12295
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
12296
|
+
}
|
|
12297
|
+
if (!$dara.isNull(request.unionId)) {
|
|
12298
|
+
body["UnionId"] = request.unionId;
|
|
12299
|
+
}
|
|
12300
|
+
if (!$dara.isNull(request.withThumbnail)) {
|
|
12301
|
+
body["WithThumbnail"] = request.withThumbnail;
|
|
12302
|
+
}
|
|
12303
|
+
let realHeaders = {};
|
|
12304
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
12305
|
+
realHeaders = headers.commonHeaders;
|
|
12306
|
+
}
|
|
12307
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
12308
|
+
realHeaders["AccountContext"] = typeof headers.accountContextShrink === "string" ? headers.accountContextShrink : JSON.stringify(headers.accountContextShrink);
|
|
12309
|
+
}
|
|
12310
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
12311
|
+
headers: realHeaders,
|
|
12312
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
12313
|
+
});
|
|
12314
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
12315
|
+
action: "QueryDentriesInfo",
|
|
12316
|
+
version: "2023-04-26",
|
|
12317
|
+
protocol: "HTTPS",
|
|
12318
|
+
pathname: `/dingtalk/v1/documents/queryDentriesInfo`,
|
|
12319
|
+
method: "POST",
|
|
12320
|
+
authType: "AK",
|
|
12321
|
+
style: "ROA",
|
|
12322
|
+
reqBodyType: "formData",
|
|
12323
|
+
bodyType: "json",
|
|
12324
|
+
});
|
|
12325
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryDentriesInfoResponse({}));
|
|
12326
|
+
}
|
|
12327
|
+
/**
|
|
12328
|
+
* 获取文件或文件夹信息
|
|
12329
|
+
*
|
|
12330
|
+
* @param request - QueryDentriesInfoRequest
|
|
12331
|
+
* @returns QueryDentriesInfoResponse
|
|
12332
|
+
*/
|
|
12333
|
+
async queryDentriesInfo(request) {
|
|
12334
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
12335
|
+
let headers = new $_model.QueryDentriesInfoHeaders({});
|
|
12336
|
+
return await this.queryDentriesInfoWithOptions(request, headers, runtime);
|
|
12337
|
+
}
|
|
12181
12338
|
/**
|
|
12182
12339
|
* 查询知识库节点信息
|
|
12183
12340
|
*
|