tencentcloud-sdk-essbasic 3.0.460 → 3.0.461

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: aa6062d049657f5ec92eb7ff9946b31ac1d1d30a
4
- data.tar.gz: 08b56329c093c528fe2a0735b365ff0bc4d5ffcb
3
+ metadata.gz: f59238319649c4377a991e9804171b3329f69996
4
+ data.tar.gz: 687955e7314622a8bf3ca6b042726ace1536d581
5
5
  SHA512:
6
- metadata.gz: a19ae217bed85f04af473e60a69e08244684ffb66ec1d2c7de2968e9d1aa53a461050496365156dbe41dceb57c96818d2dc598b69b507286ca724fbdc6c9730e
7
- data.tar.gz: 70aa0754eb89d09eccc457304d04f40cbfbe87f8122cc3ce823c6c253bd2dcaa16276214f9b2206734120694139dd3ad81c0c644097622e792d5383dd5385a00
6
+ metadata.gz: bed1e5ea488eb15a1f33a97ab5026cfd022dec95a49ae41e378eb457cacc38ac46aa7d595d3f350db3a7b81b5377e8c4e581baf9d5222df7b7b1741b853f81ce
7
+ data.tar.gz: b668640370b74d9f60f633051128c43b1052e1914bc3976a602ba673b567c1a777a09855700a80137d1fc06af9fce82ddc4b8f8fa04dac0b0b3d19bebca19926
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.460
1
+ 3.0.461
@@ -283,6 +283,31 @@ module TencentCloud
283
283
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
284
284
  end
285
285
 
286
+ # 渠道版发起解除协议,主要应用场景为:基于一份已经签署的合同,进行解除操作。
287
+ # 合同发起人必须在电子签已经进行实名。
288
+
289
+ # @param request: Request instance for ChannelCreateReleaseFlow.
290
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateReleaseFlowRequest`
291
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateReleaseFlowResponse`
292
+ def ChannelCreateReleaseFlow(request)
293
+ body = send_request('ChannelCreateReleaseFlow', request.serialize)
294
+ response = JSON.parse(body)
295
+ if response['Response'].key?('Error') == false
296
+ model = ChannelCreateReleaseFlowResponse.new
297
+ model.deserialize(response['Response'])
298
+ model
299
+ else
300
+ code = response['Response']['Error']['Code']
301
+ message = response['Response']['Error']['Message']
302
+ reqid = response['Response']['RequestId']
303
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
304
+ end
305
+ rescue TencentCloud::Common::TencentCloudSDKException => e
306
+ raise e
307
+ rescue StandardError => e
308
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
309
+ end
310
+
286
311
  # 查询企业员工列表
287
312
 
288
313
  # @param request: Request instance for ChannelDescribeEmployees.
@@ -827,6 +827,85 @@ module TencentCloud
827
827
  end
828
828
  end
829
829
 
830
+ # ChannelCreateReleaseFlow请求参数结构体
831
+ class ChannelCreateReleaseFlowRequest < TencentCloud::Common::AbstractModel
832
+ # @param NeedRelievedFlowId: 待解除的流程编号(即原流程的编号)
833
+ # @type NeedRelievedFlowId: String
834
+ # @param ReliveInfo: 解除协议内容
835
+ # @type ReliveInfo: :class:`Tencentcloud::Essbasic.v20210526.models.RelieveInfo`
836
+ # @param Agent: 应用相关信息
837
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
838
+ # @param ReleasedApprovers: 非必须,解除协议的本企业签署人列表,默认使用原流程的签署人列表;当解除协议的签署人与原流程的签署人不能相同时(比如原流程签署人离职了),需要指定本企业的其他签署人来替换原流程中的原签署人,注意需要指明ApproverNumber来代表需要替换哪一个签署人,解除协议的签署人数量不能多于原流程的签署人数量
839
+ # @type ReleasedApprovers: Array
840
+ # @param CallbackUrl: 签署完回调url,最大长度1000个字符
841
+ # @type CallbackUrl: String
842
+ # @param Organization: 机构信息
843
+ # @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
844
+ # @param Operator: 用户信息
845
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
846
+
847
+ attr_accessor :NeedRelievedFlowId, :ReliveInfo, :Agent, :ReleasedApprovers, :CallbackUrl, :Organization, :Operator
848
+
849
+ def initialize(needrelievedflowid=nil, reliveinfo=nil, agent=nil, releasedapprovers=nil, callbackurl=nil, organization=nil, operator=nil)
850
+ @NeedRelievedFlowId = needrelievedflowid
851
+ @ReliveInfo = reliveinfo
852
+ @Agent = agent
853
+ @ReleasedApprovers = releasedapprovers
854
+ @CallbackUrl = callbackurl
855
+ @Organization = organization
856
+ @Operator = operator
857
+ end
858
+
859
+ def deserialize(params)
860
+ @NeedRelievedFlowId = params['NeedRelievedFlowId']
861
+ unless params['ReliveInfo'].nil?
862
+ @ReliveInfo = RelieveInfo.new
863
+ @ReliveInfo.deserialize(params['ReliveInfo'])
864
+ end
865
+ unless params['Agent'].nil?
866
+ @Agent = Agent.new
867
+ @Agent.deserialize(params['Agent'])
868
+ end
869
+ unless params['ReleasedApprovers'].nil?
870
+ @ReleasedApprovers = []
871
+ params['ReleasedApprovers'].each do |i|
872
+ releasedapprover_tmp = ReleasedApprover.new
873
+ releasedapprover_tmp.deserialize(i)
874
+ @ReleasedApprovers << releasedapprover_tmp
875
+ end
876
+ end
877
+ @CallbackUrl = params['CallbackUrl']
878
+ unless params['Organization'].nil?
879
+ @Organization = OrganizationInfo.new
880
+ @Organization.deserialize(params['Organization'])
881
+ end
882
+ unless params['Operator'].nil?
883
+ @Operator = UserInfo.new
884
+ @Operator.deserialize(params['Operator'])
885
+ end
886
+ end
887
+ end
888
+
889
+ # ChannelCreateReleaseFlow返回参数结构体
890
+ class ChannelCreateReleaseFlowResponse < TencentCloud::Common::AbstractModel
891
+ # @param FlowId: 解除协议流程编号
892
+ # @type FlowId: String
893
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
894
+ # @type RequestId: String
895
+
896
+ attr_accessor :FlowId, :RequestId
897
+
898
+ def initialize(flowid=nil, requestid=nil)
899
+ @FlowId = flowid
900
+ @RequestId = requestid
901
+ end
902
+
903
+ def deserialize(params)
904
+ @FlowId = params['FlowId']
905
+ @RequestId = params['RequestId']
906
+ end
907
+ end
908
+
830
909
  # ChannelDescribeEmployees请求参数结构体
831
910
  class ChannelDescribeEmployeesRequest < TencentCloud::Common::AbstractModel
832
911
  # @param Limit: 返回最大数量,最大为20
@@ -923,7 +1002,7 @@ module TencentCloud
923
1002
  # @type Limit: Integer
924
1003
  # @param Offset: 偏移量,默认为0,最大为20000
925
1004
  # @type Offset: Integer
926
- # @param InfoType: 查询信息类型,为0时不返回授权用户,为1时返回
1005
+ # @param InfoType: 查询信息类型,为1时返回授权用户,为其他值时不返回
927
1006
  # @type InfoType: Integer
928
1007
  # @param SealId: 印章id(没有输入返回所有)
929
1008
  # @type SealId: String
@@ -3166,6 +3245,98 @@ module TencentCloud
3166
3245
  end
3167
3246
  end
3168
3247
 
3248
+ # 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
3249
+ # 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。
3250
+
3251
+ # 如果需要指定B端(机构身份类型)签署人,其中ReleasedApprover需要传递的参数如下:
3252
+ # ApproverNumber, OrganizationName, ApproverType必传。
3253
+ # 对于其他身份标识
3254
+ # - 渠道子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
3255
+ # - 非渠道合作企业:Name、Mobile必传。
3256
+ class ReleasedApprover < TencentCloud::Common::AbstractModel
3257
+ # @param OrganizationName: 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传,最大长度64个字符
3258
+ # @type OrganizationName: String
3259
+ # @param ApproverNumber: 签署人在原流程中的签署人列表中的顺序序号(从0开始,按顺序依次递增),如果不清楚原流程中的签署人列表,可以通过DescribeFlows接口查看
3260
+ # @type ApproverNumber: Integer
3261
+ # @param ApproverType: 签署人类型,目前仅支持
3262
+ # ORGANIZATION-企业
3263
+ # @type ApproverType: String
3264
+ # @param Name: 签署人姓名,最大长度50个字符
3265
+ # @type Name: String
3266
+ # @param IdCardType: 签署人身份证件类型
3267
+ # 1.ID_CARD 居民身份证
3268
+ # 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
3269
+ # 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
3270
+ # @type IdCardType: String
3271
+ # @param IdCardNumber: 签署人证件号
3272
+ # @type IdCardNumber: String
3273
+ # @param Mobile: 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号
3274
+ # @type Mobile: String
3275
+ # @param OrganizationOpenId: 企业签署方在同一渠道下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
3276
+ # @type OrganizationOpenId: String
3277
+ # @param OpenId: 用户侧第三方id,最大长度64个字符
3278
+ # 当签署方为同一渠道下的员工时,该字必传
3279
+ # @type OpenId: String
3280
+
3281
+ attr_accessor :OrganizationName, :ApproverNumber, :ApproverType, :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationOpenId, :OpenId
3282
+
3283
+ def initialize(organizationname=nil, approvernumber=nil, approvertype=nil, name=nil, idcardtype=nil, idcardnumber=nil, mobile=nil, organizationopenid=nil, openid=nil)
3284
+ @OrganizationName = organizationname
3285
+ @ApproverNumber = approvernumber
3286
+ @ApproverType = approvertype
3287
+ @Name = name
3288
+ @IdCardType = idcardtype
3289
+ @IdCardNumber = idcardnumber
3290
+ @Mobile = mobile
3291
+ @OrganizationOpenId = organizationopenid
3292
+ @OpenId = openid
3293
+ end
3294
+
3295
+ def deserialize(params)
3296
+ @OrganizationName = params['OrganizationName']
3297
+ @ApproverNumber = params['ApproverNumber']
3298
+ @ApproverType = params['ApproverType']
3299
+ @Name = params['Name']
3300
+ @IdCardType = params['IdCardType']
3301
+ @IdCardNumber = params['IdCardNumber']
3302
+ @Mobile = params['Mobile']
3303
+ @OrganizationOpenId = params['OrganizationOpenId']
3304
+ @OpenId = params['OpenId']
3305
+ end
3306
+ end
3307
+
3308
+ # 解除协议文档中内容信息,包括但不限于:解除理由、解除后仍然有效的条款-保留条款、原合同事项处理-费用结算、原合同事项处理-其他事项、其他约定等。
3309
+ class RelieveInfo < TencentCloud::Common::AbstractModel
3310
+ # @param Reason: 解除理由,最大支持200个字
3311
+ # @type Reason: String
3312
+ # @param RemainInForceItem: 解除后仍然有效的条款,保留条款,最大支持200个字
3313
+ # @type RemainInForceItem: String
3314
+ # @param OriginalExpenseSettlement: 原合同事项处理-费用结算,最大支持200个字
3315
+ # @type OriginalExpenseSettlement: String
3316
+ # @param OriginalOtherSettlement: 原合同事项处理-其他事项,最大支持200个字
3317
+ # @type OriginalOtherSettlement: String
3318
+ # @param OtherDeals: 其他约定,最大支持200个字
3319
+ # @type OtherDeals: String
3320
+
3321
+ attr_accessor :Reason, :RemainInForceItem, :OriginalExpenseSettlement, :OriginalOtherSettlement, :OtherDeals
3322
+
3323
+ def initialize(reason=nil, remaininforceitem=nil, originalexpensesettlement=nil, originalothersettlement=nil, otherdeals=nil)
3324
+ @Reason = reason
3325
+ @RemainInForceItem = remaininforceitem
3326
+ @OriginalExpenseSettlement = originalexpensesettlement
3327
+ @OriginalOtherSettlement = originalothersettlement
3328
+ @OtherDeals = otherdeals
3329
+ end
3330
+
3331
+ def deserialize(params)
3332
+ @Reason = params['Reason']
3333
+ @RemainInForceItem = params['RemainInForceItem']
3334
+ @OriginalExpenseSettlement = params['OriginalExpenseSettlement']
3335
+ @OriginalOtherSettlement = params['OriginalOtherSettlement']
3336
+ @OtherDeals = params['OtherDeals']
3337
+ end
3338
+ end
3339
+
3169
3340
  # 资源链接信息
3170
3341
  class ResourceUrlInfo < TencentCloud::Common::AbstractModel
3171
3342
  # @param Url: 资源链接地址,过期时间5分钟
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-essbasic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.460
4
+ version: 3.0.461
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-28 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common