tencentcloud-sdk-nodejs-essbasic 4.1.17 → 4.1.19
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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const essbasic: {
|
|
2
|
-
v20201222: {
|
|
3
|
-
Client: typeof import("./v20201222/essbasic_client").Client;
|
|
4
|
-
Models: typeof import("./v20201222/essbasic_models");
|
|
5
|
-
};
|
|
6
2
|
v20210526: {
|
|
7
3
|
Client: typeof import("./v20210526/essbasic_client").Client;
|
|
8
4
|
Models: typeof import("./v20210526/essbasic_models");
|
|
9
5
|
};
|
|
6
|
+
v20201222: {
|
|
7
|
+
Client: typeof import("./v20201222/essbasic_client").Client;
|
|
8
|
+
Models: typeof import("./v20201222/essbasic_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.essbasic = void 0;
|
|
4
|
-
const v20201222_1 = require("./v20201222");
|
|
5
4
|
const v20210526_1 = require("./v20210526");
|
|
5
|
+
const v20201222_1 = require("./v20201222");
|
|
6
6
|
exports.essbasic = {
|
|
7
|
-
v20201222: v20201222_1.v20201222,
|
|
8
7
|
v20210526: v20210526_1.v20210526,
|
|
8
|
+
v20201222: v20201222_1.v20201222,
|
|
9
9
|
};
|
|
@@ -6143,6 +6143,7 @@ export interface ChannelCreateRoleResponse {
|
|
|
6143
6143
|
* 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
|
6144
6144
|
|
|
6145
6145
|
当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容
|
|
6146
|
+
|
|
6146
6147
|
```
|
|
6147
6148
|
FormField输入示例:
|
|
6148
6149
|
{
|
|
@@ -6150,7 +6151,9 @@ FormField输入示例:
|
|
|
6150
6151
|
"ComponentValue": "文本内容"
|
|
6151
6152
|
}
|
|
6152
6153
|
```
|
|
6154
|
+
|
|
6153
6155
|
当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。
|
|
6156
|
+
|
|
6154
6157
|
```
|
|
6155
6158
|
FormField输入示例:
|
|
6156
6159
|
{
|
|
@@ -6158,7 +6161,9 @@ FormField输入示例:
|
|
|
6158
6161
|
"ComponentValue": "多行文本内容"
|
|
6159
6162
|
}
|
|
6160
6163
|
```
|
|
6164
|
+
|
|
6161
6165
|
当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本
|
|
6166
|
+
|
|
6162
6167
|
```
|
|
6163
6168
|
FormField输入示例:
|
|
6164
6169
|
{
|
|
@@ -6166,7 +6171,9 @@ FormField输入示例:
|
|
|
6166
6171
|
"ComponentValue": "true"
|
|
6167
6172
|
}
|
|
6168
6173
|
```
|
|
6174
|
+
|
|
6169
6175
|
当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID
|
|
6176
|
+
|
|
6170
6177
|
```
|
|
6171
6178
|
FormField输入示例:
|
|
6172
6179
|
{
|
|
@@ -6174,7 +6181,9 @@ FormField输入示例:
|
|
|
6174
6181
|
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
6175
6182
|
}
|
|
6176
6183
|
```
|
|
6184
|
+
|
|
6177
6185
|
当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;
|
|
6186
|
+
|
|
6178
6187
|
```
|
|
6179
6188
|
FormField输入示例:
|
|
6180
6189
|
{
|
|
@@ -6182,7 +6191,9 @@ FormField输入示例:
|
|
|
6182
6191
|
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3"
|
|
6183
6192
|
}
|
|
6184
6193
|
```
|
|
6194
|
+
|
|
6185
6195
|
当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;
|
|
6196
|
+
|
|
6186
6197
|
```
|
|
6187
6198
|
FormField输入示例:
|
|
6188
6199
|
{
|
|
@@ -6190,7 +6201,9 @@ FormField输入示例:
|
|
|
6190
6201
|
"ComponentValue": "选择的内容"
|
|
6191
6202
|
}
|
|
6192
6203
|
```
|
|
6204
|
+
|
|
6193
6205
|
当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;
|
|
6206
|
+
|
|
6194
6207
|
```
|
|
6195
6208
|
FormField输入示例:
|
|
6196
6209
|
{
|
|
@@ -6198,7 +6211,9 @@ FormField输入示例:
|
|
|
6198
6211
|
"ComponentValue": "2023年01月01日"
|
|
6199
6212
|
}
|
|
6200
6213
|
```
|
|
6214
|
+
|
|
6201
6215
|
当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;
|
|
6216
|
+
|
|
6202
6217
|
```
|
|
6203
6218
|
FormField输入示例:
|
|
6204
6219
|
{
|
|
@@ -6206,6 +6221,7 @@ FormField输入示例:
|
|
|
6206
6221
|
"ComponentValue": "广东省深圳市福田区"
|
|
6207
6222
|
}
|
|
6208
6223
|
```
|
|
6224
|
+
|
|
6209
6225
|
【数据表格传参说明】
|
|
6210
6226
|
当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
|
6211
6227
|
输入示例1:
|
|
@@ -6250,7 +6266,6 @@ FormField输入示例:
|
|
|
6250
6266
|
]
|
|
6251
6267
|
}
|
|
6252
6268
|
}
|
|
6253
|
-
|
|
6254
6269
|
```
|
|
6255
6270
|
|
|
6256
6271
|
输入示例2(表格表头宽度比例配置):
|
|
@@ -6298,10 +6313,8 @@ FormField输入示例:
|
|
|
6298
6313
|
]
|
|
6299
6314
|
}
|
|
6300
6315
|
}
|
|
6301
|
-
|
|
6302
6316
|
```
|
|
6303
6317
|
|
|
6304
|
-
|
|
6305
6318
|
输入示例3(表格设置字体加粗颜色):
|
|
6306
6319
|
|
|
6307
6320
|
```
|
|
@@ -6347,21 +6360,276 @@ FormField输入示例:
|
|
|
6347
6360
|
]
|
|
6348
6361
|
}
|
|
6349
6362
|
}
|
|
6363
|
+
```
|
|
6350
6364
|
|
|
6365
|
+
输入示例4(表格设置表头不合成到文件):
|
|
6366
|
+
|
|
6367
|
+
```
|
|
6368
|
+
{
|
|
6369
|
+
"headers": [
|
|
6370
|
+
{
|
|
6371
|
+
"content": "序号"
|
|
6372
|
+
},
|
|
6373
|
+
{
|
|
6374
|
+
"content": "品牌"
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
"content": "商品名称"
|
|
6378
|
+
},
|
|
6379
|
+
{
|
|
6380
|
+
"content": "粒径"
|
|
6381
|
+
},
|
|
6382
|
+
{
|
|
6383
|
+
"content": "规格"
|
|
6384
|
+
},
|
|
6385
|
+
{
|
|
6386
|
+
"content": "数量(包)"
|
|
6387
|
+
},
|
|
6388
|
+
{
|
|
6389
|
+
"content": "重量(吨)"
|
|
6390
|
+
}
|
|
6391
|
+
],
|
|
6392
|
+
"rowCount": 5,
|
|
6393
|
+
"body": {
|
|
6394
|
+
"cells": [
|
|
6395
|
+
{
|
|
6396
|
+
"rowStart": 1,
|
|
6397
|
+
"rowEnd": 1,
|
|
6398
|
+
"columnStart": 1,
|
|
6399
|
+
"columnEnd": 1,
|
|
6400
|
+
"content": "1"
|
|
6401
|
+
},
|
|
6402
|
+
{
|
|
6403
|
+
"rowStart": 1,
|
|
6404
|
+
"rowEnd": 1,
|
|
6405
|
+
"columnStart": 2,
|
|
6406
|
+
"columnEnd": 2,
|
|
6407
|
+
"content": "品牌名称1"
|
|
6408
|
+
},
|
|
6409
|
+
{
|
|
6410
|
+
"rowStart": 1,
|
|
6411
|
+
"rowEnd": 1,
|
|
6412
|
+
"columnStart": 3,
|
|
6413
|
+
"columnEnd": 3,
|
|
6414
|
+
"content": "商品名称1"
|
|
6415
|
+
},
|
|
6416
|
+
{
|
|
6417
|
+
"rowStart": 1,
|
|
6418
|
+
"rowEnd": 1,
|
|
6419
|
+
"columnStart": 4,
|
|
6420
|
+
"columnEnd": 4,
|
|
6421
|
+
"content": "7#"
|
|
6422
|
+
},
|
|
6423
|
+
{
|
|
6424
|
+
"rowStart": 1,
|
|
6425
|
+
"rowEnd": 1,
|
|
6426
|
+
"columnStart": 5,
|
|
6427
|
+
"columnEnd": 5,
|
|
6428
|
+
"content": "20"
|
|
6429
|
+
},
|
|
6430
|
+
{
|
|
6431
|
+
"rowStart": 1,
|
|
6432
|
+
"rowEnd": 1,
|
|
6433
|
+
"columnStart": 6,
|
|
6434
|
+
"columnEnd": 6,
|
|
6435
|
+
"content": "50"
|
|
6436
|
+
},
|
|
6437
|
+
{
|
|
6438
|
+
"rowStart": 1,
|
|
6439
|
+
"rowEnd": 1,
|
|
6440
|
+
"columnStart": 7,
|
|
6441
|
+
"columnEnd": 7,
|
|
6442
|
+
"content": "1.000"
|
|
6443
|
+
},
|
|
6444
|
+
{
|
|
6445
|
+
"rowStart": 2,
|
|
6446
|
+
"rowEnd": 2,
|
|
6447
|
+
"columnStart": 1,
|
|
6448
|
+
"columnEnd": 1,
|
|
6449
|
+
"content": "2"
|
|
6450
|
+
},
|
|
6451
|
+
{
|
|
6452
|
+
"rowStart": 2,
|
|
6453
|
+
"rowEnd": 2,
|
|
6454
|
+
"columnStart": 2,
|
|
6455
|
+
"columnEnd": 2,
|
|
6456
|
+
"content": "品牌名称2"
|
|
6457
|
+
},
|
|
6458
|
+
{
|
|
6459
|
+
"rowStart": 2,
|
|
6460
|
+
"rowEnd": 2,
|
|
6461
|
+
"columnStart": 3,
|
|
6462
|
+
"columnEnd": 3,
|
|
6463
|
+
"content": "商品名称2"
|
|
6464
|
+
},
|
|
6465
|
+
{
|
|
6466
|
+
"rowStart": 2,
|
|
6467
|
+
"rowEnd": 2,
|
|
6468
|
+
"columnStart": 4,
|
|
6469
|
+
"columnEnd": 4,
|
|
6470
|
+
"content": "5#"
|
|
6471
|
+
},
|
|
6472
|
+
{
|
|
6473
|
+
"rowStart": 2,
|
|
6474
|
+
"rowEnd": 2,
|
|
6475
|
+
"columnStart": 5,
|
|
6476
|
+
"columnEnd": 5,
|
|
6477
|
+
"content": "20"
|
|
6478
|
+
},
|
|
6479
|
+
{
|
|
6480
|
+
"rowStart": 2,
|
|
6481
|
+
"rowEnd": 2,
|
|
6482
|
+
"columnStart": 6,
|
|
6483
|
+
"columnEnd": 6,
|
|
6484
|
+
"content": "20"
|
|
6485
|
+
},
|
|
6486
|
+
{
|
|
6487
|
+
"rowStart": 2,
|
|
6488
|
+
"rowEnd": 2,
|
|
6489
|
+
"columnStart": 7,
|
|
6490
|
+
"columnEnd": 7,
|
|
6491
|
+
"content": "0.400"
|
|
6492
|
+
},
|
|
6493
|
+
{
|
|
6494
|
+
"rowStart": 3,
|
|
6495
|
+
"rowEnd": 3,
|
|
6496
|
+
"columnStart": 1,
|
|
6497
|
+
"columnEnd": 1,
|
|
6498
|
+
"content": "3"
|
|
6499
|
+
},
|
|
6500
|
+
{
|
|
6501
|
+
"rowStart": 3,
|
|
6502
|
+
"rowEnd": 3,
|
|
6503
|
+
"columnStart": 2,
|
|
6504
|
+
"columnEnd": 2,
|
|
6505
|
+
"content": "品牌名称3"
|
|
6506
|
+
},
|
|
6507
|
+
{
|
|
6508
|
+
"rowStart": 3,
|
|
6509
|
+
"rowEnd": 3,
|
|
6510
|
+
"columnStart": 3,
|
|
6511
|
+
"columnEnd": 3,
|
|
6512
|
+
"content": "商品名称3"
|
|
6513
|
+
},
|
|
6514
|
+
{
|
|
6515
|
+
"rowStart": 3,
|
|
6516
|
+
"rowEnd": 3,
|
|
6517
|
+
"columnStart": 4,
|
|
6518
|
+
"columnEnd": 4,
|
|
6519
|
+
"content": "2#"
|
|
6520
|
+
},
|
|
6521
|
+
{
|
|
6522
|
+
"rowStart": 3,
|
|
6523
|
+
"rowEnd": 3,
|
|
6524
|
+
"columnStart": 5,
|
|
6525
|
+
"columnEnd": 5,
|
|
6526
|
+
"content": "20"
|
|
6527
|
+
},
|
|
6528
|
+
{
|
|
6529
|
+
"rowStart": 3,
|
|
6530
|
+
"rowEnd": 3,
|
|
6531
|
+
"columnStart": 6,
|
|
6532
|
+
"columnEnd": 6,
|
|
6533
|
+
"content": "5"
|
|
6534
|
+
},
|
|
6535
|
+
{
|
|
6536
|
+
"rowStart": 3,
|
|
6537
|
+
"rowEnd": 3,
|
|
6538
|
+
"columnStart": 7,
|
|
6539
|
+
"columnEnd": 7,
|
|
6540
|
+
"content": "0.100"
|
|
6541
|
+
},
|
|
6542
|
+
{
|
|
6543
|
+
"rowStart": 4,
|
|
6544
|
+
"rowEnd": 4,
|
|
6545
|
+
"columnStart": 1,
|
|
6546
|
+
"columnEnd": 1,
|
|
6547
|
+
"content": "4"
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
"rowStart": 4,
|
|
6551
|
+
"rowEnd": 4,
|
|
6552
|
+
"columnStart": 2,
|
|
6553
|
+
"columnEnd": 2,
|
|
6554
|
+
"content": "品牌名称4"
|
|
6555
|
+
},
|
|
6556
|
+
{
|
|
6557
|
+
"rowStart": 4,
|
|
6558
|
+
"rowEnd": 4,
|
|
6559
|
+
"columnStart": 3,
|
|
6560
|
+
"columnEnd": 3,
|
|
6561
|
+
"content": "商品名称4"
|
|
6562
|
+
},
|
|
6563
|
+
{
|
|
6564
|
+
"rowStart": 4,
|
|
6565
|
+
"rowEnd": 4,
|
|
6566
|
+
"columnStart": 4,
|
|
6567
|
+
"columnEnd": 4,
|
|
6568
|
+
"content": "3#"
|
|
6569
|
+
},
|
|
6570
|
+
{
|
|
6571
|
+
"rowStart": 4,
|
|
6572
|
+
"rowEnd": 4,
|
|
6573
|
+
"columnStart": 5,
|
|
6574
|
+
"columnEnd": 5,
|
|
6575
|
+
"content": "20"
|
|
6576
|
+
},
|
|
6577
|
+
{
|
|
6578
|
+
"rowStart": 4,
|
|
6579
|
+
"rowEnd": 4,
|
|
6580
|
+
"columnStart": 6,
|
|
6581
|
+
"columnEnd": 6,
|
|
6582
|
+
"content": "10"
|
|
6583
|
+
},
|
|
6584
|
+
{
|
|
6585
|
+
"rowStart": 4,
|
|
6586
|
+
"rowEnd": 4,
|
|
6587
|
+
"columnStart": 7,
|
|
6588
|
+
"columnEnd": 7,
|
|
6589
|
+
"content": "0.200"
|
|
6590
|
+
},
|
|
6591
|
+
{
|
|
6592
|
+
"rowStart": 5,
|
|
6593
|
+
"rowEnd": 5,
|
|
6594
|
+
"columnStart": 1,
|
|
6595
|
+
"columnEnd": 5,
|
|
6596
|
+
"content": "合计"
|
|
6597
|
+
},
|
|
6598
|
+
{
|
|
6599
|
+
"rowStart": 5,
|
|
6600
|
+
"rowEnd": 5,
|
|
6601
|
+
"columnStart": 6,
|
|
6602
|
+
"columnEnd": 6,
|
|
6603
|
+
"content": "85"
|
|
6604
|
+
},
|
|
6605
|
+
{
|
|
6606
|
+
"rowStart": 5,
|
|
6607
|
+
"rowEnd": 5,
|
|
6608
|
+
"columnStart": 7,
|
|
6609
|
+
"columnEnd": 7,
|
|
6610
|
+
"content": "1.700"
|
|
6611
|
+
}
|
|
6612
|
+
]
|
|
6613
|
+
},
|
|
6614
|
+
"settings": {
|
|
6615
|
+
"headerRowDisplay": false
|
|
6616
|
+
}
|
|
6617
|
+
}
|
|
6351
6618
|
```
|
|
6352
6619
|
|
|
6353
6620
|
表格参数说明
|
|
6354
6621
|
|
|
6355
|
-
| 名称 | 类型 | 描述
|
|
6356
|
-
| ------------------- | ------- |
|
|
6357
|
-
| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100
|
|
6358
|
-
| rowCount | Integer | 表格内容最大行数
|
|
6359
|
-
| cells.N.rowStart | Integer | 单元格坐标:行起始index
|
|
6360
|
-
| cells.N.rowEnd | Integer | 单元格坐标:行结束index
|
|
6361
|
-
| cells.N.columnStart | Integer | 单元格坐标:列起始index
|
|
6362
|
-
| cells.N.columnEnd | Integer | 单元格坐标:列结束index
|
|
6363
|
-
| cells.N.content | String | 单元格内容,字数不超过100
|
|
6364
|
-
| cells.N.style
|
|
6622
|
+
| 名称 | 类型 | 描述 |
|
|
6623
|
+
| ------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
6624
|
+
| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
|
6625
|
+
| rowCount | Integer | 表格内容最大行数 |
|
|
6626
|
+
| cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
|
6627
|
+
| cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
|
6628
|
+
| cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
6629
|
+
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
6630
|
+
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
6631
|
+
| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {"font":"黑体","fontSize":12,"color":"#FFFFFF","bold":true,"align":"CENTER"} |
|
|
6632
|
+
| settings | Object | 表格全局设定。目前支持设置表头不显示,示例:{"headerRowDisplay":false} |
|
|
6365
6633
|
|
|
6366
6634
|
表格参数headers说明
|
|
6367
6635
|
widthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35
|