tencentcloud-sdk-ess 3.0.537 → 3.0.539

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: addacf4c46926041870b81400abf684d124284f9
4
- data.tar.gz: 93418ed56dd9918e2c686b47ec2699e3d4949a77
3
+ metadata.gz: de0abc191b285529f45f979c51eee826e23c91e9
4
+ data.tar.gz: 252388beeaa015885ed79e83b2297dd1ac9ab7c7
5
5
  SHA512:
6
- metadata.gz: 89fa13e0c2f0fee75b68d86359dac867a022153305d993b5950e6be6578575620b05a85d96dab43f6be134faac02363570881091da48cd88ee74244794282324
7
- data.tar.gz: 27da116f2d01072cf801e74fcf081dffed22cf8cea2d215400c002818eac94455b40b6ee862f8a17fe43ad608e24ab6892dbd49b5ab1877c3099578f85bbfcda
6
+ metadata.gz: a98b3b39c26b9869b811cf850d75aa086c8daf5cbe78b3ac92a7b0f1bee27bff0eea170c424612efbc47ce9ec29a7ae77d6d448e211d9aecd7f02c646847d4f1
7
+ data.tar.gz: 4b2e8698e8c0749628d85a19020750d475f70242703f735cdd3977679fe9a8961557ed3f6c2cc44b43afcc0a658f7772c56bb3924b860eec629e26646e82f1ea
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.537
1
+ 3.0.539
@@ -337,7 +337,7 @@ module TencentCloud
337
337
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
338
338
  end
339
339
 
340
- # 创建员工
340
+ # 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
341
341
 
342
342
  # @param request: Request instance for CreateIntegrationEmployees.
343
343
  # @type request: :class:`Tencentcloud::ess::V20201111::CreateIntegrationEmployeesRequest`
@@ -361,6 +361,30 @@ module TencentCloud
361
361
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
362
362
  end
363
363
 
364
+ # 集成版绑定员工角色
365
+
366
+ # @param request: Request instance for CreateIntegrationUserRoles.
367
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateIntegrationUserRolesRequest`
368
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateIntegrationUserRolesResponse`
369
+ def CreateIntegrationUserRoles(request)
370
+ body = send_request('CreateIntegrationUserRoles', request.serialize)
371
+ response = JSON.parse(body)
372
+ if response['Response'].key?('Error') == false
373
+ model = CreateIntegrationUserRolesResponse.new
374
+ model.deserialize(response['Response'])
375
+ model
376
+ else
377
+ code = response['Response']['Error']['Code']
378
+ message = response['Response']['Error']['Message']
379
+ reqid = response['Response']['RequestId']
380
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
381
+ end
382
+ rescue TencentCloud::Common::TencentCloudSDKException => e
383
+ raise e
384
+ rescue StandardError => e
385
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
386
+ end
387
+
364
388
  # 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
365
389
  # 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
366
390
  # 适用的模板仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模板,且模板中发起方没有填写控件。
@@ -413,6 +437,30 @@ module TencentCloud
413
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
438
  end
415
439
 
440
+ # 本接口(CreatePreparedPersonalEsign)由于创建导入个人印章。
441
+
442
+ # @param request: Request instance for CreatePreparedPersonalEsign.
443
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreatePreparedPersonalEsignRequest`
444
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreatePreparedPersonalEsignResponse`
445
+ def CreatePreparedPersonalEsign(request)
446
+ body = send_request('CreatePreparedPersonalEsign', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = CreatePreparedPersonalEsignResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
416
464
  # 发起解除协议,主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。
417
465
 
418
466
  # @param request: Request instance for CreateReleaseFlow.
@@ -543,6 +591,30 @@ module TencentCloud
543
591
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
544
592
  end
545
593
 
594
+ # 解绑用户角色绑定关系
595
+
596
+ # @param request: Request instance for DeleteIntegrationRoleUsers.
597
+ # @type request: :class:`Tencentcloud::ess::V20201111::DeleteIntegrationRoleUsersRequest`
598
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DeleteIntegrationRoleUsersResponse`
599
+ def DeleteIntegrationRoleUsers(request)
600
+ body = send_request('DeleteIntegrationRoleUsers', request.serialize)
601
+ response = JSON.parse(body)
602
+ if response['Response'].key?('Error') == false
603
+ model = DeleteIntegrationRoleUsersResponse.new
604
+ model.deserialize(response['Response'])
605
+ model
606
+ else
607
+ code = response['Response']['Error']['Code']
608
+ message = response['Response']['Error']['Message']
609
+ reqid = response['Response']['RequestId']
610
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
611
+ end
612
+ rescue TencentCloud::Common::TencentCloudSDKException => e
613
+ raise e
614
+ rescue StandardError => e
615
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
616
+ end
617
+
546
618
  # 撤销员工持有的印章权限
547
619
 
548
620
  # @param request: Request instance for DeleteSealPolicies.
@@ -739,6 +811,30 @@ module TencentCloud
739
811
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
740
812
  end
741
813
 
814
+ # 查询集成版角色
815
+
816
+ # @param request: Request instance for DescribeIntegrationRoles.
817
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeIntegrationRolesRequest`
818
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeIntegrationRolesResponse`
819
+ def DescribeIntegrationRoles(request)
820
+ body = send_request('DescribeIntegrationRoles', request.serialize)
821
+ response = JSON.parse(body)
822
+ if response['Response'].key?('Error') == false
823
+ model = DescribeIntegrationRolesResponse.new
824
+ model.deserialize(response['Response'])
825
+ model
826
+ else
827
+ code = response['Response']['Error']['Code']
828
+ message = response['Response']['Error']['Message']
829
+ reqid = response['Response']['RequestId']
830
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
831
+ end
832
+ rescue TencentCloud::Common::TencentCloudSDKException => e
833
+ raise e
834
+ rescue StandardError => e
835
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
836
+ end
837
+
742
838
  # 此API接口用户查询加入集团的成员企业
743
839
 
744
840
  # @param request: Request instance for DescribeOrganizationGroupOrganizations.
@@ -936,6 +1032,30 @@ module TencentCloud
936
1032
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
937
1033
  end
938
1034
 
1035
+ # 更新集成版员工信息(姓名,手机号,邮件),用户实名后无法更改姓名与手机号
1036
+
1037
+ # @param request: Request instance for UpdateIntegrationEmployees.
1038
+ # @type request: :class:`Tencentcloud::ess::V20201111::UpdateIntegrationEmployeesRequest`
1039
+ # @rtype: :class:`Tencentcloud::ess::V20201111::UpdateIntegrationEmployeesResponse`
1040
+ def UpdateIntegrationEmployees(request)
1041
+ body = send_request('UpdateIntegrationEmployees', request.serialize)
1042
+ response = JSON.parse(body)
1043
+ if response['Response'].key?('Error') == false
1044
+ model = UpdateIntegrationEmployeesResponse.new
1045
+ model.deserialize(response['Response'])
1046
+ model
1047
+ else
1048
+ code = response['Response']['Error']['Code']
1049
+ message = response['Response']['Error']['Message']
1050
+ reqid = response['Response']['RequestId']
1051
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1052
+ end
1053
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1054
+ raise e
1055
+ rescue StandardError => e
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1057
+ end
1058
+
939
1059
  # 此接口(UploadFiles)用于文件上传。
940
1060
  # 适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。
941
1061
  # 其中上传的文件,图片类型(png/jpg/jpeg)大小限制为5M,其他大小限制为60M。
@@ -435,7 +435,7 @@ module TencentCloud
435
435
  # CHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;
436
436
  # FILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;
437
437
  # DYNAMIC_TABLE - 动态表格控件;
438
- # ATTACHMENT - 附件控件,ComponentValue 填写福建图片的资源 ID列表,以逗号分割;
438
+ # ATTACHMENT - 附件控件,ComponentValue 填写附件图片的资源 ID列表,以逗号分割;
439
439
  # SELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;
440
440
  # DATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;
441
441
  # DISTRICT - 省市区行政区划控件,ComponentValue填写省市区行政区划字符串内容;
@@ -572,13 +572,13 @@ module TencentCloud
572
572
  # @type GenerateMode: String
573
573
  # @param ComponentDateFontSize: 日期签署控件的字号,默认为 12
574
574
  # @type ComponentDateFontSize: Integer
575
- # @param ChannelComponentId: 渠道版控件 id 标识
575
+ # @param ChannelComponentId: 平台模板控件 id 标识
576
576
  # @type ChannelComponentId: String
577
577
  # @param OffsetX: 指定关键字时横坐标偏移量,单位pt
578
578
  # @type OffsetX: Float
579
579
  # @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
580
580
  # @type OffsetY: Float
581
- # @param ChannelComponentSource: //渠道子客控件来源。0-渠道指定;1-用户自定义
581
+ # @param ChannelComponentSource: //子客控件来源。0-平台指定;1-用户自定义
582
582
  # @type ChannelComponentSource: Integer
583
583
  # @param KeywordOrder: 指定关键字排序规则,Positive-正序,Reverse-倒序。传入Positive时会根据关键字在PDF文件内的顺序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的第一个关键字。
584
584
  # 传入Reverse时会根据关键字在PDF文件内的反序进行排列。在指定KeywordIndexes时,0代表在PDF内查找内容时,查找到的最后一个关键字。
@@ -1418,12 +1418,15 @@ module TencentCloud
1418
1418
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1419
1419
  # @param Employees: 待创建员工的信息,Mobile和DisplayName必填
1420
1420
  # @type Employees: Array
1421
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1422
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1421
1423
 
1422
- attr_accessor :Operator, :Employees
1424
+ attr_accessor :Operator, :Employees, :Agent
1423
1425
 
1424
- def initialize(operator=nil, employees=nil)
1426
+ def initialize(operator=nil, employees=nil, agent=nil)
1425
1427
  @Operator = operator
1426
1428
  @Employees = employees
1429
+ @Agent = agent
1427
1430
  end
1428
1431
 
1429
1432
  def deserialize(params)
@@ -1439,6 +1442,10 @@ module TencentCloud
1439
1442
  @Employees << staff_tmp
1440
1443
  end
1441
1444
  end
1445
+ unless params['Agent'].nil?
1446
+ @Agent = Agent.new
1447
+ @Agent.deserialize(params['Agent'])
1448
+ end
1442
1449
  end
1443
1450
  end
1444
1451
 
@@ -1465,6 +1472,67 @@ module TencentCloud
1465
1472
  end
1466
1473
  end
1467
1474
 
1475
+ # CreateIntegrationUserRoles请求参数结构体
1476
+ class CreateIntegrationUserRolesRequest < TencentCloud::Common::AbstractModel
1477
+ # @param Operator: 操作人信息
1478
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1479
+ # @param UserIds: 绑定角色的用户id列表
1480
+ # @type UserIds: Array
1481
+ # @param RoleIds: 绑定角色的角色id列表
1482
+ # @type RoleIds: Array
1483
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1484
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1485
+
1486
+ attr_accessor :Operator, :UserIds, :RoleIds, :Agent
1487
+
1488
+ def initialize(operator=nil, userids=nil, roleids=nil, agent=nil)
1489
+ @Operator = operator
1490
+ @UserIds = userids
1491
+ @RoleIds = roleids
1492
+ @Agent = agent
1493
+ end
1494
+
1495
+ def deserialize(params)
1496
+ unless params['Operator'].nil?
1497
+ @Operator = UserInfo.new
1498
+ @Operator.deserialize(params['Operator'])
1499
+ end
1500
+ @UserIds = params['UserIds']
1501
+ @RoleIds = params['RoleIds']
1502
+ unless params['Agent'].nil?
1503
+ @Agent = Agent.new
1504
+ @Agent.deserialize(params['Agent'])
1505
+ end
1506
+ end
1507
+ end
1508
+
1509
+ # CreateIntegrationUserRoles返回参数结构体
1510
+ class CreateIntegrationUserRolesResponse < TencentCloud::Common::AbstractModel
1511
+ # @param FailedCreateRoleData: 绑定角色失败列表信息
1512
+ # @type FailedCreateRoleData: Array
1513
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1514
+ # @type RequestId: String
1515
+
1516
+ attr_accessor :FailedCreateRoleData, :RequestId
1517
+
1518
+ def initialize(failedcreateroledata=nil, requestid=nil)
1519
+ @FailedCreateRoleData = failedcreateroledata
1520
+ @RequestId = requestid
1521
+ end
1522
+
1523
+ def deserialize(params)
1524
+ unless params['FailedCreateRoleData'].nil?
1525
+ @FailedCreateRoleData = []
1526
+ params['FailedCreateRoleData'].each do |i|
1527
+ failedcreateroledata_tmp = FailedCreateRoleData.new
1528
+ failedcreateroledata_tmp.deserialize(i)
1529
+ @FailedCreateRoleData << failedcreateroledata_tmp
1530
+ end
1531
+ end
1532
+ @RequestId = params['RequestId']
1533
+ end
1534
+ end
1535
+
1468
1536
  # CreateMultiFlowSignQRCode请求参数结构体
1469
1537
  class CreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
1470
1538
  # @param Operator: 用户信息
@@ -1645,6 +1713,78 @@ module TencentCloud
1645
1713
  end
1646
1714
  end
1647
1715
 
1716
+ # CreatePreparedPersonalEsign请求参数结构体
1717
+ class CreatePreparedPersonalEsignRequest < TencentCloud::Common::AbstractModel
1718
+ # @param UserName: 个人用户名称
1719
+ # @type UserName: String
1720
+ # @param IdCardNumber: 身份证件号码
1721
+ # @type IdCardNumber: String
1722
+ # @param SealImage: 印章图片的base64
1723
+ # @type SealImage: String
1724
+ # @param SealName: 印章名称
1725
+ # @type SealName: String
1726
+ # @param Operator: 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId代发合同。
1727
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1728
+ # @param IdCardType: 身份证件类型:
1729
+ # ID_CARD 身份证
1730
+ # PASSPORT 护照
1731
+ # HONGKONG_AND_MACAO 香港身份
1732
+ # FOREIGN_ID_CARD 国外身份
1733
+ # HONGKONG_MACAO_AND_TAIWAN 港台身份
1734
+ # @type IdCardType: String
1735
+ # @param Mobile: 手机号码
1736
+ # @type Mobile: String
1737
+ # @param EnableAutoSign: 是否需开通自动签
1738
+ # @type EnableAutoSign: Boolean
1739
+
1740
+ attr_accessor :UserName, :IdCardNumber, :SealImage, :SealName, :Operator, :IdCardType, :Mobile, :EnableAutoSign
1741
+
1742
+ def initialize(username=nil, idcardnumber=nil, sealimage=nil, sealname=nil, operator=nil, idcardtype=nil, mobile=nil, enableautosign=nil)
1743
+ @UserName = username
1744
+ @IdCardNumber = idcardnumber
1745
+ @SealImage = sealimage
1746
+ @SealName = sealname
1747
+ @Operator = operator
1748
+ @IdCardType = idcardtype
1749
+ @Mobile = mobile
1750
+ @EnableAutoSign = enableautosign
1751
+ end
1752
+
1753
+ def deserialize(params)
1754
+ @UserName = params['UserName']
1755
+ @IdCardNumber = params['IdCardNumber']
1756
+ @SealImage = params['SealImage']
1757
+ @SealName = params['SealName']
1758
+ unless params['Operator'].nil?
1759
+ @Operator = UserInfo.new
1760
+ @Operator.deserialize(params['Operator'])
1761
+ end
1762
+ @IdCardType = params['IdCardType']
1763
+ @Mobile = params['Mobile']
1764
+ @EnableAutoSign = params['EnableAutoSign']
1765
+ end
1766
+ end
1767
+
1768
+ # CreatePreparedPersonalEsign返回参数结构体
1769
+ class CreatePreparedPersonalEsignResponse < TencentCloud::Common::AbstractModel
1770
+ # @param SealId: 导入生成的印章ID
1771
+ # @type SealId: String
1772
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1773
+ # @type RequestId: String
1774
+
1775
+ attr_accessor :SealId, :RequestId
1776
+
1777
+ def initialize(sealid=nil, requestid=nil)
1778
+ @SealId = sealid
1779
+ @RequestId = requestid
1780
+ end
1781
+
1782
+ def deserialize(params)
1783
+ @SealId = params['SealId']
1784
+ @RequestId = params['RequestId']
1785
+ end
1786
+ end
1787
+
1648
1788
  # CreateReleaseFlow请求参数结构体
1649
1789
  class CreateReleaseFlowRequest < TencentCloud::Common::AbstractModel
1650
1790
  # @param Operator: 调用方用户信息,userId 必填
@@ -1975,12 +2115,15 @@ module TencentCloud
1975
2115
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1976
2116
  # @param Employees: 待移除员工的信息,userId和openId二选一,必填一个
1977
2117
  # @type Employees: Array
2118
+ # @param Agent: 代理信息
2119
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1978
2120
 
1979
- attr_accessor :Operator, :Employees
2121
+ attr_accessor :Operator, :Employees, :Agent
1980
2122
 
1981
- def initialize(operator=nil, employees=nil)
2123
+ def initialize(operator=nil, employees=nil, agent=nil)
1982
2124
  @Operator = operator
1983
2125
  @Employees = employees
2126
+ @Agent = agent
1984
2127
  end
1985
2128
 
1986
2129
  def deserialize(params)
@@ -1996,6 +2139,10 @@ module TencentCloud
1996
2139
  @Employees << staff_tmp
1997
2140
  end
1998
2141
  end
2142
+ unless params['Agent'].nil?
2143
+ @Agent = Agent.new
2144
+ @Agent.deserialize(params['Agent'])
2145
+ end
1999
2146
  end
2000
2147
  end
2001
2148
 
@@ -2022,6 +2169,67 @@ module TencentCloud
2022
2169
  end
2023
2170
  end
2024
2171
 
2172
+ # DeleteIntegrationRoleUsers请求参数结构体
2173
+ class DeleteIntegrationRoleUsersRequest < TencentCloud::Common::AbstractModel
2174
+ # @param Operator: 操作人
2175
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2176
+ # @param RoleId: 角色id
2177
+ # @type RoleId: String
2178
+ # @param Users: 用户信息
2179
+ # @type Users: Array
2180
+ # @param Agent: 代理信息
2181
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2182
+
2183
+ attr_accessor :Operator, :RoleId, :Users, :Agent
2184
+
2185
+ def initialize(operator=nil, roleid=nil, users=nil, agent=nil)
2186
+ @Operator = operator
2187
+ @RoleId = roleid
2188
+ @Users = users
2189
+ @Agent = agent
2190
+ end
2191
+
2192
+ def deserialize(params)
2193
+ unless params['Operator'].nil?
2194
+ @Operator = UserInfo.new
2195
+ @Operator.deserialize(params['Operator'])
2196
+ end
2197
+ @RoleId = params['RoleId']
2198
+ unless params['Users'].nil?
2199
+ @Users = []
2200
+ params['Users'].each do |i|
2201
+ userinfo_tmp = UserInfo.new
2202
+ userinfo_tmp.deserialize(i)
2203
+ @Users << userinfo_tmp
2204
+ end
2205
+ end
2206
+ unless params['Agent'].nil?
2207
+ @Agent = Agent.new
2208
+ @Agent.deserialize(params['Agent'])
2209
+ end
2210
+ end
2211
+ end
2212
+
2213
+ # DeleteIntegrationRoleUsers返回参数结构体
2214
+ class DeleteIntegrationRoleUsersResponse < TencentCloud::Common::AbstractModel
2215
+ # @param RoleId: 角色id
2216
+ # @type RoleId: String
2217
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2218
+ # @type RequestId: String
2219
+
2220
+ attr_accessor :RoleId, :RequestId
2221
+
2222
+ def initialize(roleid=nil, requestid=nil)
2223
+ @RoleId = roleid
2224
+ @RequestId = requestid
2225
+ end
2226
+
2227
+ def deserialize(params)
2228
+ @RoleId = params['RoleId']
2229
+ @RequestId = params['RequestId']
2230
+ end
2231
+ end
2232
+
2025
2233
  # DeleteSealPolicies请求参数结构体
2026
2234
  class DeleteSealPoliciesRequest < TencentCloud::Common::AbstractModel
2027
2235
  # @param Operator: 操作撤销的用户信息
@@ -2410,11 +2618,11 @@ module TencentCloud
2410
2618
  # @type Filters: Array
2411
2619
  # @param ApplicationId: 这个参数跟下面的IsChannel参数配合使用。
2412
2620
  # IsChannel=false时,ApplicationId参数不起任何作用。
2413
- # IsChannel=true时,ApplicationId为空,查询所有渠道模板列表;ApplicationId不为空,查询指定渠道下的模板列表
2414
- # ApplicationId为空,查询渠道模板列表
2621
+ # IsChannel=true时,ApplicationId为空,查询所有第三方应用集成平台企业模板列表;ApplicationId不为空,查询指定应用下的模板列表
2622
+ # ApplicationId为空,查询所有应用下的模板列表
2415
2623
  # @type ApplicationId: String
2416
2624
  # @param IsChannel: 默认为false,查询SaaS模板库列表;
2417
- # 为true,查询渠道模板库管理列表
2625
+ # 为true,查询第三方应用集成平台企业模板库管理列表
2418
2626
  # @type IsChannel: Boolean
2419
2627
  # @param GenerateSource: 暂未开放
2420
2628
  # @type GenerateSource: Integer
@@ -2620,6 +2828,93 @@ module TencentCloud
2620
2828
  end
2621
2829
  end
2622
2830
 
2831
+ # DescribeIntegrationRoles请求参数结构体
2832
+ class DescribeIntegrationRolesRequest < TencentCloud::Common::AbstractModel
2833
+ # @param Operator: 操作人信息
2834
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2835
+ # @param Limit: 返回最大数量,最大为200
2836
+ # @type Limit: Integer
2837
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
2838
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2839
+ # @param Filters: 查询的关键字段:
2840
+ # Key:"RoleType",Vales:["1"]查询系统角色,Values:["2]查询自定义角色
2841
+ # Key:"RoleStatus",Values:["1"]查询启用角色,Values:["2"]查询禁用角色
2842
+ # Key:"IsGroupRole",Values:["0"],查询非集团角色,Values:["1"]表示查询集团角色
2843
+ # @type Filters: Array
2844
+ # @param Offset: 偏移量,默认为0,最大为2000
2845
+ # @type Offset: Integer
2846
+
2847
+ attr_accessor :Operator, :Limit, :Agent, :Filters, :Offset
2848
+
2849
+ def initialize(operator=nil, limit=nil, agent=nil, filters=nil, offset=nil)
2850
+ @Operator = operator
2851
+ @Limit = limit
2852
+ @Agent = agent
2853
+ @Filters = filters
2854
+ @Offset = offset
2855
+ end
2856
+
2857
+ def deserialize(params)
2858
+ unless params['Operator'].nil?
2859
+ @Operator = UserInfo.new
2860
+ @Operator.deserialize(params['Operator'])
2861
+ end
2862
+ @Limit = params['Limit']
2863
+ unless params['Agent'].nil?
2864
+ @Agent = Agent.new
2865
+ @Agent.deserialize(params['Agent'])
2866
+ end
2867
+ unless params['Filters'].nil?
2868
+ @Filters = []
2869
+ params['Filters'].each do |i|
2870
+ filter_tmp = Filter.new
2871
+ filter_tmp.deserialize(i)
2872
+ @Filters << filter_tmp
2873
+ end
2874
+ end
2875
+ @Offset = params['Offset']
2876
+ end
2877
+ end
2878
+
2879
+ # DescribeIntegrationRoles返回参数结构体
2880
+ class DescribeIntegrationRolesResponse < TencentCloud::Common::AbstractModel
2881
+ # @param Offset: 偏移量,默认为0,最大为2000
2882
+ # @type Offset: Integer
2883
+ # @param Limit: 返回最大数量,最大为200
2884
+ # @type Limit: Integer
2885
+ # @param TotalCount: 符合查询条件的总的角色数
2886
+ # @type TotalCount: Integer
2887
+ # @param IntegrateRoles: 企业角色信息列表
2888
+ # @type IntegrateRoles: Array
2889
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2890
+ # @type RequestId: String
2891
+
2892
+ attr_accessor :Offset, :Limit, :TotalCount, :IntegrateRoles, :RequestId
2893
+
2894
+ def initialize(offset=nil, limit=nil, totalcount=nil, integrateroles=nil, requestid=nil)
2895
+ @Offset = offset
2896
+ @Limit = limit
2897
+ @TotalCount = totalcount
2898
+ @IntegrateRoles = integrateroles
2899
+ @RequestId = requestid
2900
+ end
2901
+
2902
+ def deserialize(params)
2903
+ @Offset = params['Offset']
2904
+ @Limit = params['Limit']
2905
+ @TotalCount = params['TotalCount']
2906
+ unless params['IntegrateRoles'].nil?
2907
+ @IntegrateRoles = []
2908
+ params['IntegrateRoles'].each do |i|
2909
+ integraterole_tmp = IntegrateRole.new
2910
+ integraterole_tmp.deserialize(i)
2911
+ @IntegrateRoles << integraterole_tmp
2912
+ end
2913
+ end
2914
+ @RequestId = params['RequestId']
2915
+ end
2916
+ end
2917
+
2623
2918
  # DescribeOrganizationGroupOrganizations请求参数结构体
2624
2919
  class DescribeOrganizationGroupOrganizationsRequest < TencentCloud::Common::AbstractModel
2625
2920
  # @param Operator: 操作人信息,userId必填
@@ -2928,6 +3223,28 @@ module TencentCloud
2928
3223
  end
2929
3224
  end
2930
3225
 
3226
+ # 绑定角色失败信息
3227
+ class FailedCreateRoleData < TencentCloud::Common::AbstractModel
3228
+ # @param UserId: 用户userId
3229
+ # 注意:此字段可能返回 null,表示取不到有效值。
3230
+ # @type UserId: String
3231
+ # @param RoleIds: 角色id列表
3232
+ # 注意:此字段可能返回 null,表示取不到有效值。
3233
+ # @type RoleIds: Array
3234
+
3235
+ attr_accessor :UserId, :RoleIds
3236
+
3237
+ def initialize(userid=nil, roleids=nil)
3238
+ @UserId = userid
3239
+ @RoleIds = roleids
3240
+ end
3241
+
3242
+ def deserialize(params)
3243
+ @UserId = params['UserId']
3244
+ @RoleIds = params['RoleIds']
3245
+ end
3246
+ end
3247
+
2931
3248
  # 创建员工的失败数据
2932
3249
  class FailedCreateStaffData < TencentCloud::Common::AbstractModel
2933
3250
  # @param DisplayName: 员工名
@@ -2978,6 +3295,38 @@ module TencentCloud
2978
3295
  end
2979
3296
  end
2980
3297
 
3298
+ # 更新员工信息失败返回的数据信息
3299
+ class FailedUpdateStaffData < TencentCloud::Common::AbstractModel
3300
+ # @param DisplayName: 用户传入的名称
3301
+ # @type DisplayName: String
3302
+ # @param Mobile: 用户传入的手机号
3303
+ # @type Mobile: String
3304
+ # @param Reason: 失败原因
3305
+ # @type Reason: String
3306
+ # @param UserId: 用户Id
3307
+ # @type UserId: String
3308
+ # @param OpenId: 用户OpenId
3309
+ # @type OpenId: String
3310
+
3311
+ attr_accessor :DisplayName, :Mobile, :Reason, :UserId, :OpenId
3312
+
3313
+ def initialize(displayname=nil, mobile=nil, reason=nil, userid=nil, openid=nil)
3314
+ @DisplayName = displayname
3315
+ @Mobile = mobile
3316
+ @Reason = reason
3317
+ @UserId = userid
3318
+ @OpenId = openid
3319
+ end
3320
+
3321
+ def deserialize(params)
3322
+ @DisplayName = params['DisplayName']
3323
+ @Mobile = params['Mobile']
3324
+ @Reason = params['Reason']
3325
+ @UserId = params['UserId']
3326
+ @OpenId = params['OpenId']
3327
+ end
3328
+ end
3329
+
2981
3330
  # 二期接口返回的模板中文件的信息结构
2982
3331
  class FileInfo < TencentCloud::Common::AbstractModel
2983
3332
  # @param FileId: 文件Id
@@ -3396,7 +3745,7 @@ module TencentCloud
3396
3745
  # 电子文档的控件填充信息。按照控件类型进行相应的填充。
3397
3746
 
3398
3747
  # 【数据表格传参说明】
3399
- # 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
3748
+ # 当模板的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
3400
3749
  # 输入示例1:
3401
3750
 
3402
3751
  # ```
@@ -3689,6 +4038,43 @@ module TencentCloud
3689
4038
  end
3690
4039
  end
3691
4040
 
4041
+ # 企业角色数据信息
4042
+ class IntegrateRole < TencentCloud::Common::AbstractModel
4043
+ # @param RoleId: 角色id
4044
+ # 注意:此字段可能返回 null,表示取不到有效值。
4045
+ # @type RoleId: String
4046
+ # @param RoleName: 角色名
4047
+ # 注意:此字段可能返回 null,表示取不到有效值。
4048
+ # @type RoleName: String
4049
+ # @param RoleStatus: 角色类型:1-系统角色,2-自定义角色
4050
+ # 注意:此字段可能返回 null,表示取不到有效值。
4051
+ # @type RoleStatus: Integer
4052
+ # @param IsGroupRole: 是否是集团角色
4053
+ # 注意:此字段可能返回 null,表示取不到有效值。
4054
+ # @type IsGroupRole: Boolean
4055
+ # @param SubOrgIdList: 管辖的子企业列表
4056
+ # 注意:此字段可能返回 null,表示取不到有效值。
4057
+ # @type SubOrgIdList: Array
4058
+
4059
+ attr_accessor :RoleId, :RoleName, :RoleStatus, :IsGroupRole, :SubOrgIdList
4060
+
4061
+ def initialize(roleid=nil, rolename=nil, rolestatus=nil, isgrouprole=nil, suborgidlist=nil)
4062
+ @RoleId = roleid
4063
+ @RoleName = rolename
4064
+ @RoleStatus = rolestatus
4065
+ @IsGroupRole = isgrouprole
4066
+ @SubOrgIdList = suborgidlist
4067
+ end
4068
+
4069
+ def deserialize(params)
4070
+ @RoleId = params['RoleId']
4071
+ @RoleName = params['RoleName']
4072
+ @RoleStatus = params['RoleStatus']
4073
+ @IsGroupRole = params['IsGroupRole']
4074
+ @SubOrgIdList = params['SubOrgIdList']
4075
+ end
4076
+ end
4077
+
3692
4078
  # 主企业员工账号信息
3693
4079
  class IntegrationMainOrganizationUser < TencentCloud::Common::AbstractModel
3694
4080
  # @param MainOrganizationId: 主企业id
@@ -4128,7 +4514,7 @@ module TencentCloud
4128
4514
  # @param Email: 用户邮箱
4129
4515
  # 注意:此字段可能返回 null,表示取不到有效值。
4130
4516
  # @type Email: String
4131
- # @param OpenId: 用户在第三方平台id
4517
+ # @param OpenId: 用户在第三方平台id,如需在此接口提醒员工实名,该参数不传
4132
4518
  # 注意:此字段可能返回 null,表示取不到有效值。
4133
4519
  # @type OpenId: String
4134
4520
  # @param Roles: 员工角色
@@ -4147,10 +4533,14 @@ module TencentCloud
4147
4533
  # @param QuiteJob: 员工是否离职:0-未离职,1-离职
4148
4534
  # 注意:此字段可能返回 null,表示取不到有效值。
4149
4535
  # @type QuiteJob: Integer
4536
+ # @param ReceiveUserId: 员工离职交接人用户id
4537
+ # @type ReceiveUserId: String
4538
+ # @param ReceiveOpenId: 员工离职交接人用户OpenId
4539
+ # @type ReceiveOpenId: String
4150
4540
 
4151
- attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn, :QuiteJob
4541
+ attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn, :QuiteJob, :ReceiveUserId, :ReceiveOpenId
4152
4542
 
4153
- def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil, quitejob=nil)
4543
+ def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil, quitejob=nil, receiveuserid=nil, receiveopenid=nil)
4154
4544
  @UserId = userid
4155
4545
  @DisplayName = displayname
4156
4546
  @Mobile = mobile
@@ -4162,6 +4552,8 @@ module TencentCloud
4162
4552
  @CreatedOn = createdon
4163
4553
  @VerifiedOn = verifiedon
4164
4554
  @QuiteJob = quitejob
4555
+ @ReceiveUserId = receiveuserid
4556
+ @ReceiveOpenId = receiveopenid
4165
4557
  end
4166
4558
 
4167
4559
  def deserialize(params)
@@ -4186,6 +4578,8 @@ module TencentCloud
4186
4578
  @CreatedOn = params['CreatedOn']
4187
4579
  @VerifiedOn = params['VerifiedOn']
4188
4580
  @QuiteJob = params['QuiteJob']
4581
+ @ReceiveUserId = params['ReceiveUserId']
4582
+ @ReceiveOpenId = params['ReceiveOpenId']
4189
4583
  end
4190
4584
  end
4191
4585
 
@@ -4277,19 +4671,24 @@ module TencentCloud
4277
4671
  # @type Mobile: String
4278
4672
  # @param UserId: 员工在电子签平台的id
4279
4673
  # @type UserId: String
4674
+ # @param Note: 提示,当创建已存在未实名用户时,改字段有值
4675
+ # 注意:此字段可能返回 null,表示取不到有效值。
4676
+ # @type Note: String
4280
4677
 
4281
- attr_accessor :DisplayName, :Mobile, :UserId
4678
+ attr_accessor :DisplayName, :Mobile, :UserId, :Note
4282
4679
 
4283
- def initialize(displayname=nil, mobile=nil, userid=nil)
4680
+ def initialize(displayname=nil, mobile=nil, userid=nil, note=nil)
4284
4681
  @DisplayName = displayname
4285
4682
  @Mobile = mobile
4286
4683
  @UserId = userid
4684
+ @Note = note
4287
4685
  end
4288
4686
 
4289
4687
  def deserialize(params)
4290
4688
  @DisplayName = params['DisplayName']
4291
4689
  @Mobile = params['Mobile']
4292
4690
  @UserId = params['UserId']
4691
+ @Note = params['Note']
4293
4692
  end
4294
4693
  end
4295
4694
 
@@ -4317,6 +4716,30 @@ module TencentCloud
4317
4716
  end
4318
4717
  end
4319
4718
 
4719
+ # 更新员工信息成功返回的数据信息
4720
+ class SuccessUpdateStaffData < TencentCloud::Common::AbstractModel
4721
+ # @param DisplayName: 传入的用户名称
4722
+ # @type DisplayName: String
4723
+ # @param Mobile: 传入的手机号
4724
+ # @type Mobile: String
4725
+ # @param UserId: 用户Id
4726
+ # @type UserId: String
4727
+
4728
+ attr_accessor :DisplayName, :Mobile, :UserId
4729
+
4730
+ def initialize(displayname=nil, mobile=nil, userid=nil)
4731
+ @DisplayName = displayname
4732
+ @Mobile = mobile
4733
+ @UserId = userid
4734
+ end
4735
+
4736
+ def deserialize(params)
4737
+ @DisplayName = params['DisplayName']
4738
+ @Mobile = params['Mobile']
4739
+ @UserId = params['UserId']
4740
+ end
4741
+ end
4742
+
4320
4743
  # 二期接口返回的模板的信息结构
4321
4744
  class TemplateInfo < TencentCloud::Common::AbstractModel
4322
4745
  # @param TemplateId: 模板ID
@@ -4435,6 +4858,81 @@ module TencentCloud
4435
4858
  end
4436
4859
  end
4437
4860
 
4861
+ # UpdateIntegrationEmployees请求参数结构体
4862
+ class UpdateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
4863
+ # @param Operator: 操作人信息
4864
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
4865
+ # @param Agent: 代理信息
4866
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4867
+ # @param Employees: 员工信息
4868
+ # @type Employees: Array
4869
+
4870
+ attr_accessor :Operator, :Agent, :Employees
4871
+
4872
+ def initialize(operator=nil, agent=nil, employees=nil)
4873
+ @Operator = operator
4874
+ @Agent = agent
4875
+ @Employees = employees
4876
+ end
4877
+
4878
+ def deserialize(params)
4879
+ unless params['Operator'].nil?
4880
+ @Operator = UserInfo.new
4881
+ @Operator.deserialize(params['Operator'])
4882
+ end
4883
+ unless params['Agent'].nil?
4884
+ @Agent = Agent.new
4885
+ @Agent.deserialize(params['Agent'])
4886
+ end
4887
+ unless params['Employees'].nil?
4888
+ @Employees = []
4889
+ params['Employees'].each do |i|
4890
+ staff_tmp = Staff.new
4891
+ staff_tmp.deserialize(i)
4892
+ @Employees << staff_tmp
4893
+ end
4894
+ end
4895
+ end
4896
+ end
4897
+
4898
+ # UpdateIntegrationEmployees返回参数结构体
4899
+ class UpdateIntegrationEmployeesResponse < TencentCloud::Common::AbstractModel
4900
+ # @param SuccessEmployeeData: 更新成功的用户列表
4901
+ # @type SuccessEmployeeData: Array
4902
+ # @param FailedEmployeeData: 更新失败的用户列表
4903
+ # @type FailedEmployeeData: Array
4904
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4905
+ # @type RequestId: String
4906
+
4907
+ attr_accessor :SuccessEmployeeData, :FailedEmployeeData, :RequestId
4908
+
4909
+ def initialize(successemployeedata=nil, failedemployeedata=nil, requestid=nil)
4910
+ @SuccessEmployeeData = successemployeedata
4911
+ @FailedEmployeeData = failedemployeedata
4912
+ @RequestId = requestid
4913
+ end
4914
+
4915
+ def deserialize(params)
4916
+ unless params['SuccessEmployeeData'].nil?
4917
+ @SuccessEmployeeData = []
4918
+ params['SuccessEmployeeData'].each do |i|
4919
+ successupdatestaffdata_tmp = SuccessUpdateStaffData.new
4920
+ successupdatestaffdata_tmp.deserialize(i)
4921
+ @SuccessEmployeeData << successupdatestaffdata_tmp
4922
+ end
4923
+ end
4924
+ unless params['FailedEmployeeData'].nil?
4925
+ @FailedEmployeeData = []
4926
+ params['FailedEmployeeData'].each do |i|
4927
+ failedupdatestaffdata_tmp = FailedUpdateStaffData.new
4928
+ failedupdatestaffdata_tmp.deserialize(i)
4929
+ @FailedEmployeeData << failedupdatestaffdata_tmp
4930
+ end
4931
+ end
4932
+ @RequestId = params['RequestId']
4933
+ end
4934
+ end
4935
+
4438
4936
  # 此结构体 (UploadFile) 用于描述多文件上传的文件信息。
4439
4937
  class UploadFile < TencentCloud::Common::AbstractModel
4440
4938
  # @param FileBody: Base64编码后的文件内容
@@ -4596,7 +5094,7 @@ module TencentCloud
4596
5094
 
4597
5095
  # VerifyPdf请求参数结构体
4598
5096
  class VerifyPdfRequest < TencentCloud::Common::AbstractModel
4599
- # @param FlowId: 合同Id,流程Id
5097
+ # @param FlowId: 流程ID
4600
5098
  # @type FlowId: String
4601
5099
  # @param Operator: 调用方用户信息,userId 必填
4602
5100
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
@@ -4621,8 +5119,7 @@ module TencentCloud
4621
5119
  class VerifyPdfResponse < TencentCloud::Common::AbstractModel
4622
5120
  # @param VerifyResult: 验签结果,1-文件未被篡改,全部签名在腾讯电子签完成; 2-文件未被篡改,部分签名在腾讯电子签完成;3-文件被篡改;4-异常:文件内没有签名域;5-异常:文件签名格式错误
4623
5121
  # @type VerifyResult: Integer
4624
- # @param PdfVerifyResults: 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域
4625
- # ;5-文件签名格式错误
5122
+ # @param PdfVerifyResults: 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域;5-文件签名格式错误
4626
5123
  # @type PdfVerifyResults: Array
4627
5124
  # @param VerifySerialNo: 验签序列号
4628
5125
  # @type VerifySerialNo: String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.537
4
+ version: 3.0.539
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-24 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common