tencentcloud-sdk-ess 3.0.816 → 3.0.818

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: e5cd39c076b80ad28c20199398d4d08fa44e67b9
4
- data.tar.gz: d32ec3de8e4dc180163dac988745b334b31abe85
3
+ metadata.gz: 3684302491352dd15997ea3cafa3c3b9c152ca81
4
+ data.tar.gz: 65572d9edf7bfb6537f5cb140beba28933c092fa
5
5
  SHA512:
6
- metadata.gz: 4c65c6810f75c0d5c9ec5ffefbba747881e69877d71db2decc279b5dd072f1384b9f50ff221ae1ad1ac644845e8c8a26287ed3593285afb818077124335455b6
7
- data.tar.gz: bf35bedc450e68494d9b556e6fb8d51fd93e72b491088ce402180cc84327326ab13abd831c957c7586da36921c6df6a8ff1dbe7797845b9a0fc76a7db8beb1d7
6
+ metadata.gz: 7ea684ab52a52bce0b6e9373b00a5bf0dd4b1dfdb5fd08d2aaea0199bef4217a86a196c726705c9a12ddf1baf2c09fdb13f8e602d36010d3139ea3d65fd0c316
7
+ data.tar.gz: ce8af88323e754a47d2222c952630e030ce856ba197afdc86aca99e383114b564d5ca2246010722037023ec15f5776d8c4ad04866c2c8daca46442269b962d5d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.816
1
+ 3.0.818
@@ -1410,6 +1410,34 @@ module TencentCloud
1410
1410
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1411
1411
  end
1412
1412
 
1413
+ # 客户可以主动调用生成实名链接去做C端用户实名,会对实名的用户进行打标记为调用链接客户的用户
1414
+ # 使用场景:
1415
+ # 用户集成场景
1416
+ # 使用限制:
1417
+ # 此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估
1418
+
1419
+ # @param request: Request instance for CreateUserVerifyUrl.
1420
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateUserVerifyUrlRequest`
1421
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateUserVerifyUrlResponse`
1422
+ def CreateUserVerifyUrl(request)
1423
+ body = send_request('CreateUserVerifyUrl', request.serialize)
1424
+ response = JSON.parse(body)
1425
+ if response['Response'].key?('Error') == false
1426
+ model = CreateUserVerifyUrlResponse.new
1427
+ model.deserialize(response['Response'])
1428
+ model
1429
+ else
1430
+ code = response['Response']['Error']['Code']
1431
+ message = response['Response']['Error']['Message']
1432
+ reqid = response['Response']['RequestId']
1433
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1434
+ end
1435
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1436
+ raise e
1437
+ rescue StandardError => e
1438
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1439
+ end
1440
+
1413
1441
  # 用来设置本企业嵌入式页面个性化主题配置(例如是否展示电子签logo、定义主题色等),设置后获取的web签署界面都会使用此配置进行展示。
1414
1442
 
1415
1443
  # 如果多次调用,会以最后一次的配置为准
@@ -5100,6 +5100,107 @@ module TencentCloud
5100
5100
  end
5101
5101
  end
5102
5102
 
5103
+ # CreateUserVerifyUrl请求参数结构体
5104
+ class CreateUserVerifyUrlRequest < TencentCloud::Common::AbstractModel
5105
+ # @param Operator: 操作人信息
5106
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
5107
+ # @param Name: 要实名的姓名
5108
+ # @type Name: String
5109
+ # @param IdCardNumber: 要实名的身份证号码,
5110
+ # 身份证号码如果有x的话,统一传大写X
5111
+ # @type IdCardNumber: String
5112
+ # @param IdCardType: 证件类型,目前只支持身份证类型:ID_CARD
5113
+ # @type IdCardType: String
5114
+ # @param Mobile: 要实名的手机号,兼容带+86的格式
5115
+ # @type Mobile: String
5116
+ # @param Endpoint: 要跳转的链接类型
5117
+
5118
+ # - HTTP:
5119
+ # 跳转电子签小程序的http_url,短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)
5120
+
5121
+ # - HTTP_SHORT_URL:
5122
+ # 跳转电子签小程序的http_url,短信通知或者H5跳转适合此类型,此时返回短链
5123
+
5124
+ # - APP:
5125
+ # 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
5126
+ # @type Endpoint: String
5127
+ # @param AutoJumpBack: 签署完成后是否自动回跳
5128
+ # <ul><li>false:否, 实名完成不会自动跳转回来(默认)</li><li>true:是, 实名完成会自动跳转回来</li></ul>
5129
+
5130
+ # 注:
5131
+ # 1. 该参数<font color="red">只针对APP类型(电子签小程序跳转贵方小程序)场景</font> 的实名链接有效
5132
+ # 2. <font color="red">手机应用APP 或 微信小程序需要监控界面的返回走后序逻辑</font>, 微信小程序的文档可以参考[这个](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onShow-Object-object)
5133
+ # 3. <font color="red">电子签小程序跳转贵方APP,不支持自动跳转,必需用户手动点击完成按钮(微信的限制)</font>
5134
+ # @type AutoJumpBack: Boolean
5135
+
5136
+ attr_accessor :Operator, :Name, :IdCardNumber, :IdCardType, :Mobile, :Endpoint, :AutoJumpBack
5137
+
5138
+ def initialize(operator=nil, name=nil, idcardnumber=nil, idcardtype=nil, mobile=nil, endpoint=nil, autojumpback=nil)
5139
+ @Operator = operator
5140
+ @Name = name
5141
+ @IdCardNumber = idcardnumber
5142
+ @IdCardType = idcardtype
5143
+ @Mobile = mobile
5144
+ @Endpoint = endpoint
5145
+ @AutoJumpBack = autojumpback
5146
+ end
5147
+
5148
+ def deserialize(params)
5149
+ unless params['Operator'].nil?
5150
+ @Operator = UserInfo.new
5151
+ @Operator.deserialize(params['Operator'])
5152
+ end
5153
+ @Name = params['Name']
5154
+ @IdCardNumber = params['IdCardNumber']
5155
+ @IdCardType = params['IdCardType']
5156
+ @Mobile = params['Mobile']
5157
+ @Endpoint = params['Endpoint']
5158
+ @AutoJumpBack = params['AutoJumpBack']
5159
+ end
5160
+ end
5161
+
5162
+ # CreateUserVerifyUrl返回参数结构体
5163
+ class CreateUserVerifyUrlResponse < TencentCloud::Common::AbstractModel
5164
+ # @param UserVerifyUrl: 腾讯电子签小程序的实名认证链接。
5165
+ # 如果没有传递,默认值是 HTTP。 链接的有效期均是 7 天。
5166
+
5167
+ # - 如果EndPoint是APP,
5168
+ # 得到的链接类似于pages/guide/index?to=MP_PERSONAL_VERIFY&shortKey=yDCZHUyOcExAlcOvNod0, 用法可以参加接口描述中的"跳转到小程序的实现"
5169
+
5170
+ # - 如果EndPoint是HTTP,
5171
+ # 得到的链接类似于https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=TAG_VERIFY&shortKey=yDCZHUyOcChrfpaswT0d,点击后会跳转到腾讯电子签小程序进行签署
5172
+
5173
+ # - 如果EndPoint是HTTP_SHORT_URL,
5174
+ # 得到的链接类似于https://essurl.cn/2n**42Nd,点击后会跳转到腾讯电子签小程序进行签署
5175
+
5176
+
5177
+ # 注: 生成的链路后面不能再增加参数
5178
+ # 示例值:https://essurl.cn/2n**42Nd
5179
+ # @type UserVerifyUrl: String
5180
+ # @param ExpireTime: 链接过期时间
5181
+ # @type ExpireTime: Integer
5182
+ # @param MiniAppId: 小程序appid,用于半屏拉起电子签小程序
5183
+ # @type MiniAppId: String
5184
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5185
+ # @type RequestId: String
5186
+
5187
+ attr_accessor :UserVerifyUrl, :ExpireTime, :MiniAppId, :RequestId
5188
+
5189
+ def initialize(userverifyurl=nil, expiretime=nil, miniappid=nil, requestid=nil)
5190
+ @UserVerifyUrl = userverifyurl
5191
+ @ExpireTime = expiretime
5192
+ @MiniAppId = miniappid
5193
+ @RequestId = requestid
5194
+ end
5195
+
5196
+ def deserialize(params)
5197
+ @UserVerifyUrl = params['UserVerifyUrl']
5198
+ @ExpireTime = params['ExpireTime']
5199
+ @MiniAppId = params['MiniAppId']
5200
+ @RequestId = params['RequestId']
5201
+ end
5202
+ end
5203
+
5103
5204
  # CreateWebThemeConfig请求参数结构体
5104
5205
  class CreateWebThemeConfigRequest < TencentCloud::Common::AbstractModel
5105
5206
  # @param Operator: 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
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.816
4
+ version: 3.0.818
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-07 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common