tencentcloud-sdk-cpdp 3.0.560 → 3.0.563

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 570f398324dd0a96a46f36d5f92fd5a338269a51
4
- data.tar.gz: 006b8a54b99509fd2fffbba54aef028a6c256063
3
+ metadata.gz: 4204ad7edbbdd81ec8852d58fb64c9715a437f35
4
+ data.tar.gz: 3a1ce9ae91cda9c87c673fb5ac4f85b76ae789d9
5
5
  SHA512:
6
- metadata.gz: 8a1a1da886b2536ca9999b56ea87a94f7e19ba2062e485c454422be25785399c369406a5f073b939b10d83feb1e389b683aa8b424f9a1a5ff0afd4dd99efe1bd
7
- data.tar.gz: 3a8dd67e88b744cf64be68a070330eae5a48f14d4c20f781f9350b6bb42862062cf66d4e29ca5a0b2f69248e70892d1e715fbe1f85fcc310aefd8bc6a6a7afa7
6
+ metadata.gz: a7e6de2177690d891501068bc2a1d7bf26e8b964a1113fdc4a9e9139a8dc2e59e005d1ed51f19898c9aef0c1d2ed2e08d5f80bc2d7f77c09e62d00fe363b1ba1
7
+ data.tar.gz: ec5d65b6c42f0045df623942fb0598da5e62f73c8b86417754d6ab71a8ca437cb8049ceddc467891ddac2772a8ad434e334e10c3d59d7bab66973d5e70337065
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.560
1
+ 3.0.563
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 微工卡开通预核身接口
249
+
250
+ # @param request: Request instance for ApplyFlexWechatPreAuth.
251
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ApplyFlexWechatPreAuthRequest`
252
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ApplyFlexWechatPreAuthResponse`
253
+ def ApplyFlexWechatPreAuth(request)
254
+ body = send_request('ApplyFlexWechatPreAuth', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = ApplyFlexWechatPreAuthResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 云企付-申请单笔交易回单
249
273
 
250
274
  # @param request: Request instance for ApplyOpenBankOrderDetailReceipt.
@@ -3279,6 +3303,30 @@ module TencentCloud
3279
3303
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3280
3304
  end
3281
3305
 
3306
+ # 查询微工卡核身结果
3307
+
3308
+ # @param request: Request instance for QueryFlexWechatAuthResult.
3309
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexWechatAuthResultRequest`
3310
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexWechatAuthResultResponse`
3311
+ def QueryFlexWechatAuthResult(request)
3312
+ body = send_request('QueryFlexWechatAuthResult', request.serialize)
3313
+ response = JSON.parse(body)
3314
+ if response['Response'].key?('Error') == false
3315
+ model = QueryFlexWechatAuthResultResponse.new
3316
+ model.deserialize(response['Response'])
3317
+ model
3318
+ else
3319
+ code = response['Response']['Error']['Code']
3320
+ message = response['Response']['Error']['Message']
3321
+ reqid = response['Response']['RequestId']
3322
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3323
+ end
3324
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3325
+ raise e
3326
+ rescue StandardError => e
3327
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3328
+ end
3329
+
3282
3330
  # 聚鑫-查询会员资金交易信息列表
3283
3331
 
3284
3332
  # @param request: Request instance for QueryFundsTransactionDetails.
@@ -1457,6 +1457,95 @@ module TencentCloud
1457
1457
  end
1458
1458
  end
1459
1459
 
1460
+ # ApplyFlexWechatPreAuth请求参数结构体
1461
+ class ApplyFlexWechatPreAuthRequest < TencentCloud::Common::AbstractModel
1462
+ # @param AuthNo: 商家核身单号
1463
+ # @type AuthNo: String
1464
+ # @param OpenId: 微信用户标识
1465
+ # @type OpenId: String
1466
+ # @param ProjectName: 项目名称
1467
+ # @type ProjectName: String
1468
+ # @param EmployerName: 用工单位名称
1469
+ # @type EmployerName: String
1470
+ # @param UserName: 用户姓名
1471
+ # @type UserName: String
1472
+ # @param IdNo: 用户证件号
1473
+ # @type IdNo: String
1474
+ # @param EmploymentType: 用工类型
1475
+ # LONG_TERM_EMPLOYMENT:长期用工,
1476
+ # SHORT_TERM_EMPLOYMENT: 短期用工,
1477
+ # COOPERATION_EMPLOYMENT:合作关系
1478
+ # @type EmploymentType: String
1479
+ # @param AuthType: 核身类型
1480
+ # SIGN_IN:考勤、签到打卡类型
1481
+ # INSURANCE:投保类型
1482
+ # CONTRACT:签约类型
1483
+ # @type AuthType: String
1484
+ # @param Environment: 环境类型
1485
+ # test 测试
1486
+ # release 生产
1487
+ # sandbox 沙箱
1488
+ # @type Environment: String
1489
+
1490
+ attr_accessor :AuthNo, :OpenId, :ProjectName, :EmployerName, :UserName, :IdNo, :EmploymentType, :AuthType, :Environment
1491
+
1492
+ def initialize(authno=nil, openid=nil, projectname=nil, employername=nil, username=nil, idno=nil, employmenttype=nil, authtype=nil, environment=nil)
1493
+ @AuthNo = authno
1494
+ @OpenId = openid
1495
+ @ProjectName = projectname
1496
+ @EmployerName = employername
1497
+ @UserName = username
1498
+ @IdNo = idno
1499
+ @EmploymentType = employmenttype
1500
+ @AuthType = authtype
1501
+ @Environment = environment
1502
+ end
1503
+
1504
+ def deserialize(params)
1505
+ @AuthNo = params['AuthNo']
1506
+ @OpenId = params['OpenId']
1507
+ @ProjectName = params['ProjectName']
1508
+ @EmployerName = params['EmployerName']
1509
+ @UserName = params['UserName']
1510
+ @IdNo = params['IdNo']
1511
+ @EmploymentType = params['EmploymentType']
1512
+ @AuthType = params['AuthType']
1513
+ @Environment = params['Environment']
1514
+ end
1515
+ end
1516
+
1517
+ # ApplyFlexWechatPreAuth返回参数结构体
1518
+ class ApplyFlexWechatPreAuthResponse < TencentCloud::Common::AbstractModel
1519
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
1520
+ # @type ErrCode: String
1521
+ # @param ErrMessage: 错误信息
1522
+ # @type ErrMessage: String
1523
+ # @param Result: 返回结果
1524
+ # 注意:此字段可能返回 null,表示取不到有效值。
1525
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.WechatPreAuthResult`
1526
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1527
+ # @type RequestId: String
1528
+
1529
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
1530
+
1531
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
1532
+ @ErrCode = errcode
1533
+ @ErrMessage = errmessage
1534
+ @Result = result
1535
+ @RequestId = requestid
1536
+ end
1537
+
1538
+ def deserialize(params)
1539
+ @ErrCode = params['ErrCode']
1540
+ @ErrMessage = params['ErrMessage']
1541
+ unless params['Result'].nil?
1542
+ @Result = WechatPreAuthResult.new
1543
+ @Result.deserialize(params['Result'])
1544
+ end
1545
+ @RequestId = params['RequestId']
1546
+ end
1547
+ end
1548
+
1460
1549
  # ApplyOpenBankOrderDetailReceipt请求参数结构体
1461
1550
  class ApplyOpenBankOrderDetailReceiptRequest < TencentCloud::Common::AbstractModel
1462
1551
  # @param OutApplyId: 外部回单申请编号
@@ -14149,10 +14238,13 @@ module TencentCloud
14149
14238
  # @param FailReason: 失败原因。当Status为FAILED时,改字段为失败的原因。
14150
14239
  # 注意:此字段可能返回 null,表示取不到有效值。
14151
14240
  # @type FailReason: String
14241
+ # @param FundingAccountSubType: 资金账户字类型: WECHATPAY_ACCOUNT 微信零钱, BANK_ACCOUNT 银行卡
14242
+ # 注意:此字段可能返回 null,表示取不到有效值。
14243
+ # @type FundingAccountSubType: String
14152
14244
 
14153
- attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId, :OutUserId, :ChannelOrderId, :Vat, :IndividualIncomeTax, :AdditionalTaxSum, :AdditionalTaxItem, :FailReason
14245
+ attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId, :OutUserId, :ChannelOrderId, :Vat, :IndividualIncomeTax, :AdditionalTaxSum, :AdditionalTaxItem, :FailReason, :FundingAccountSubType
14154
14246
 
14155
- def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil, outuserid=nil, channelorderid=nil, vat=nil, individualincometax=nil, additionaltaxsum=nil, additionaltaxitem=nil, failreason=nil)
14247
+ def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil, outuserid=nil, channelorderid=nil, vat=nil, individualincometax=nil, additionaltaxsum=nil, additionaltaxitem=nil, failreason=nil, fundingaccountsubtype=nil)
14156
14248
  @IncomeType = incometype
14157
14249
  @AmountBeforeTax = amountbeforetax
14158
14250
  @AmountAfterTax = amountaftertax
@@ -14172,6 +14264,7 @@ module TencentCloud
14172
14264
  @AdditionalTaxSum = additionaltaxsum
14173
14265
  @AdditionalTaxItem = additionaltaxitem
14174
14266
  @FailReason = failreason
14267
+ @FundingAccountSubType = fundingaccountsubtype
14175
14268
  end
14176
14269
 
14177
14270
  def deserialize(params)
@@ -14194,6 +14287,7 @@ module TencentCloud
14194
14287
  @AdditionalTaxSum = params['AdditionalTaxSum']
14195
14288
  @AdditionalTaxItem = params['AdditionalTaxItem']
14196
14289
  @FailReason = params['FailReason']
14290
+ @FundingAccountSubType = params['FundingAccountSubType']
14197
14291
  end
14198
14292
  end
14199
14293
 
@@ -17842,6 +17936,61 @@ module TencentCloud
17842
17936
  end
17843
17937
  end
17844
17938
 
17939
+ # QueryFlexWechatAuthResult请求参数结构体
17940
+ class QueryFlexWechatAuthResultRequest < TencentCloud::Common::AbstractModel
17941
+ # @param AuthNo: 商户核身单号
17942
+ # @type AuthNo: String
17943
+ # @param Environment: 环境类型
17944
+ # test 测试
17945
+ # release 生产
17946
+ # sandbox 沙箱
17947
+ # @type Environment: String
17948
+
17949
+ attr_accessor :AuthNo, :Environment
17950
+
17951
+ def initialize(authno=nil, environment=nil)
17952
+ @AuthNo = authno
17953
+ @Environment = environment
17954
+ end
17955
+
17956
+ def deserialize(params)
17957
+ @AuthNo = params['AuthNo']
17958
+ @Environment = params['Environment']
17959
+ end
17960
+ end
17961
+
17962
+ # QueryFlexWechatAuthResult返回参数结构体
17963
+ class QueryFlexWechatAuthResultResponse < TencentCloud::Common::AbstractModel
17964
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
17965
+ # @type ErrCode: String
17966
+ # @param ErrMessage: 错误消息
17967
+ # @type ErrMessage: String
17968
+ # @param Result: 返回结果
17969
+ # 注意:此字段可能返回 null,表示取不到有效值。
17970
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryWechatAuthResult`
17971
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17972
+ # @type RequestId: String
17973
+
17974
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
17975
+
17976
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
17977
+ @ErrCode = errcode
17978
+ @ErrMessage = errmessage
17979
+ @Result = result
17980
+ @RequestId = requestid
17981
+ end
17982
+
17983
+ def deserialize(params)
17984
+ @ErrCode = params['ErrCode']
17985
+ @ErrMessage = params['ErrMessage']
17986
+ unless params['Result'].nil?
17987
+ @Result = QueryWechatAuthResult.new
17988
+ @Result.deserialize(params['Result'])
17989
+ end
17990
+ @RequestId = params['RequestId']
17991
+ end
17992
+ end
17993
+
17845
17994
  # QueryFundsTransactionDetails请求参数结构体
17846
17995
  class QueryFundsTransactionDetailsRequest < TencentCloud::Common::AbstractModel
17847
17996
  # @param QueryDateType: 查询的交易发生时间类型。
@@ -23536,6 +23685,82 @@ module TencentCloud
23536
23685
  end
23537
23686
  end
23538
23687
 
23688
+ # 查询用户微工卡核身结果
23689
+ class QueryWechatAuthResult < TencentCloud::Common::AbstractModel
23690
+ # @param AuthNo: 商户核身单号
23691
+ # @type AuthNo: String
23692
+ # @param OpenId: 微信用户标识
23693
+ # @type OpenId: String
23694
+ # @param MchId: 商户号
23695
+ # @type MchId: String
23696
+ # @param SubMchId: 子商户号
23697
+ # @type SubMchId: String
23698
+ # @param AuthScene: 核身渠道
23699
+ # FROM_MINI_APP:来自小程序方式核身
23700
+ # FROM_HARDWARE:来自硬件设备方式核身
23701
+ # @type AuthScene: String
23702
+ # @param AuthSource: 核身渠道标识
23703
+
23704
+ # 用于定位渠道具体来源,如果是扫码打卡渠道标识就是具体的小程序appid,若是硬件设备,则是设备的序列号等
23705
+ # @type AuthSource: String
23706
+ # @param ProjectName: 项目名称
23707
+ # @type ProjectName: String
23708
+ # @param EmployerName: 所属单位名称
23709
+ # @type EmployerName: String
23710
+ # @param AuthTime: 核身时间
23711
+ # yyyy-MM-DDTHH:mm:ss+TIMEZONE
23712
+
23713
+ # 示例值:2015-05-20T13:29:35+08:00
23714
+ # 注意:此字段可能返回 null,表示取不到有效值。
23715
+ # @type AuthTime: String
23716
+ # @param AuthType: 核身类型
23717
+
23718
+ # SIGN_IN:考勤、签到打卡类型
23719
+ # INSURANCE:投保类型
23720
+ # CONTRACT:签约类型
23721
+ # @type AuthType: String
23722
+ # @param AuthState: 核身状态
23723
+ # AUTHENTICATE_PROCESSING:核身中
23724
+ # AUTHENTICATE_SUCCESS:核身成功
23725
+ # AUTHENTICATE_FAILED:核身失败
23726
+ # @type AuthState: String
23727
+ # @param AuthFailReason: 核身失败原因描述
23728
+ # 注意:此字段可能返回 null,表示取不到有效值。
23729
+ # @type AuthFailReason: String
23730
+
23731
+ attr_accessor :AuthNo, :OpenId, :MchId, :SubMchId, :AuthScene, :AuthSource, :ProjectName, :EmployerName, :AuthTime, :AuthType, :AuthState, :AuthFailReason
23732
+
23733
+ def initialize(authno=nil, openid=nil, mchid=nil, submchid=nil, authscene=nil, authsource=nil, projectname=nil, employername=nil, authtime=nil, authtype=nil, authstate=nil, authfailreason=nil)
23734
+ @AuthNo = authno
23735
+ @OpenId = openid
23736
+ @MchId = mchid
23737
+ @SubMchId = submchid
23738
+ @AuthScene = authscene
23739
+ @AuthSource = authsource
23740
+ @ProjectName = projectname
23741
+ @EmployerName = employername
23742
+ @AuthTime = authtime
23743
+ @AuthType = authtype
23744
+ @AuthState = authstate
23745
+ @AuthFailReason = authfailreason
23746
+ end
23747
+
23748
+ def deserialize(params)
23749
+ @AuthNo = params['AuthNo']
23750
+ @OpenId = params['OpenId']
23751
+ @MchId = params['MchId']
23752
+ @SubMchId = params['SubMchId']
23753
+ @AuthScene = params['AuthScene']
23754
+ @AuthSource = params['AuthSource']
23755
+ @ProjectName = params['ProjectName']
23756
+ @EmployerName = params['EmployerName']
23757
+ @AuthTime = params['AuthTime']
23758
+ @AuthType = params['AuthType']
23759
+ @AuthState = params['AuthState']
23760
+ @AuthFailReason = params['AuthFailReason']
23761
+ end
23762
+ end
23763
+
23539
23764
  # RechargeByThirdPay请求参数结构体
23540
23765
  class RechargeByThirdPayRequest < TencentCloud::Common::AbstractModel
23541
23766
  # @param RequestType: 请求类型 此接口固定填:MemberRechargeThirdPayReq
@@ -28638,6 +28863,42 @@ module TencentCloud
28638
28863
  end
28639
28864
  end
28640
28865
 
28866
+ # 微工卡预核身结果
28867
+ class WechatPreAuthResult < TencentCloud::Common::AbstractModel
28868
+ # @param AuthNo: 商户核身单号
28869
+ # @type AuthNo: String
28870
+ # @param OpenId: 微信用户标识
28871
+ # @type OpenId: String
28872
+ # @param MchId: 商户号
28873
+ # @type MchId: String
28874
+ # @param SubMchId: 子商户号
28875
+ # @type SubMchId: String
28876
+ # @param Token: 预核身token值
28877
+ # @type Token: String
28878
+ # @param Expire: token有效期时间,单位:秒
28879
+ # @type Expire: Integer
28880
+
28881
+ attr_accessor :AuthNo, :OpenId, :MchId, :SubMchId, :Token, :Expire
28882
+
28883
+ def initialize(authno=nil, openid=nil, mchid=nil, submchid=nil, token=nil, expire=nil)
28884
+ @AuthNo = authno
28885
+ @OpenId = openid
28886
+ @MchId = mchid
28887
+ @SubMchId = submchid
28888
+ @Token = token
28889
+ @Expire = expire
28890
+ end
28891
+
28892
+ def deserialize(params)
28893
+ @AuthNo = params['AuthNo']
28894
+ @OpenId = params['OpenId']
28895
+ @MchId = params['MchId']
28896
+ @SubMchId = params['SubMchId']
28897
+ @Token = params['Token']
28898
+ @Expire = params['Expire']
28899
+ end
28900
+ end
28901
+
28641
28902
  # 聚鑫提现订单内容
28642
28903
  class WithdrawBill < TencentCloud::Common::AbstractModel
28643
28904
  # @param WithdrawOrderId: 业务提现订单号
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cpdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.560
4
+ version: 3.0.563
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-04-26 00:00:00.000000000 Z
11
+ date: 2023-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common