tencentcloud-sdk-trp 3.0.832 → 3.0.834

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210515/models.rb +115 -22
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f93b55d3b3e92453931113a1fffd35042c01197d
4
- data.tar.gz: 90c8cdb8f0c05eb0d25619ff3a325c88c7112954
3
+ metadata.gz: 9103c5ba429957d1b79f3c60f3a8c7f6656aa3c1
4
+ data.tar.gz: 8d3aa0fe5cbbbb14a2bd6b07f1fe42386a30c662
5
5
  SHA512:
6
- metadata.gz: bc01203b616a0e60aade7f3eccc3f3d6fbd36a11a0c540483c0b7d17813c4fb92f16aa86bf797c80c1e0f879dc3d61adb6d516ef0d662ea3d5ecb77648010385
7
- data.tar.gz: e02fe810c5747b3f48966f1f19c03bfc93a79e7ba1359cebfb2e1b2d0497f88560359d4dbce9e571d8d8e8ac425ee737d5fabcef59573f3b8330a0a7ecc3bd5d
6
+ metadata.gz: e58f4db8abe4a517a3feb1151a8401e72506a1d38101e0a6eea6fbffbaccb4fdee2caa7548a0948ce080339a36526d339138fcfdfa83645a52920aaadeea6ca6
7
+ data.tar.gz: be4b7d2c652a1b0cd0ca81849b4802619ec1e4681a3b86743dfdb3c39aaeb6589ea0687e67401a8d9cb1cb86a18112de42d0132d2c10ef1c15a32968a808db25
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.832
1
+ 3.0.834
@@ -209,8 +209,8 @@ module TencentCloud
209
209
 
210
210
  attr_accessor :BatchId, :CorpId, :BatchCode, :CodeCnt, :MerchantId, :ProductId, :BatchType, :Remark, :MpTpl, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :Ext, :TplName, :Job, :ProductionDate, :ValidDate, :Attrs
211
211
  extend Gem::Deprecate
212
- deprecate :Ext, :none, 2024, 4
213
- deprecate :Ext=, :none, 2024, 4
212
+ deprecate :Ext, :none, 2024, 5
213
+ deprecate :Ext=, :none, 2024, 5
214
214
 
215
215
  def initialize(batchid=nil, corpid=nil, batchcode=nil, codecnt=nil, merchantid=nil, productid=nil, batchtype=nil, remark=nil, mptpl=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, ext=nil, tplname=nil, job=nil, productiondate=nil, validdate=nil, attrs=nil)
216
216
  @BatchId = batchid
@@ -362,10 +362,25 @@ module TencentCloud
362
362
  # @param RelateType: 码关系是否预关联
363
363
  # 0:否, 1:是
364
364
  # @type RelateType: Integer
365
+ # @param SceneCode: 场景码
366
+ # 注意:此字段可能返回 null,表示取不到有效值。
367
+ # @type SceneCode: Integer
368
+ # @param CodeRule: 码规则
369
+ # 注意:此字段可能返回 null,表示取不到有效值。
370
+ # @type CodeRule: String
371
+ # @param UsedAmount: 已使用码数
372
+ # 注意:此字段可能返回 null,表示取不到有效值。
373
+ # @type UsedAmount: Integer
374
+ # @param SerialStart: 开始流水号
375
+ # 注意:此字段可能返回 null,表示取不到有效值。
376
+ # @type SerialStart: Integer
377
+ # @param SerialEnd: 结束流水号
378
+ # 注意:此字段可能返回 null,表示取不到有效值。
379
+ # @type SerialEnd: Integer
365
380
 
366
- attr_accessor :PackId, :CorpId, :MerchantId, :CreateTime, :UpdateTime, :Status, :Log, :CreateUser, :Amount, :CodeLength, :CodeType, :Cipher, :TextUrl, :PackUrl, :MerchantName, :RuleType, :CustomId, :PackType, :PackLevel, :PackSpec, :ProductName, :ProductSpecification, :ProductId, :RelateType
381
+ attr_accessor :PackId, :CorpId, :MerchantId, :CreateTime, :UpdateTime, :Status, :Log, :CreateUser, :Amount, :CodeLength, :CodeType, :Cipher, :TextUrl, :PackUrl, :MerchantName, :RuleType, :CustomId, :PackType, :PackLevel, :PackSpec, :ProductName, :ProductSpecification, :ProductId, :RelateType, :SceneCode, :CodeRule, :UsedAmount, :SerialStart, :SerialEnd
367
382
 
368
- def initialize(packid=nil, corpid=nil, merchantid=nil, createtime=nil, updatetime=nil, status=nil, log=nil, createuser=nil, amount=nil, codelength=nil, codetype=nil, cipher=nil, texturl=nil, packurl=nil, merchantname=nil, ruletype=nil, customid=nil, packtype=nil, packlevel=nil, packspec=nil, productname=nil, productspecification=nil, productid=nil, relatetype=nil)
383
+ def initialize(packid=nil, corpid=nil, merchantid=nil, createtime=nil, updatetime=nil, status=nil, log=nil, createuser=nil, amount=nil, codelength=nil, codetype=nil, cipher=nil, texturl=nil, packurl=nil, merchantname=nil, ruletype=nil, customid=nil, packtype=nil, packlevel=nil, packspec=nil, productname=nil, productspecification=nil, productid=nil, relatetype=nil, scenecode=nil, coderule=nil, usedamount=nil, serialstart=nil, serialend=nil)
369
384
  @PackId = packid
370
385
  @CorpId = corpid
371
386
  @MerchantId = merchantid
@@ -390,6 +405,11 @@ module TencentCloud
390
405
  @ProductSpecification = productspecification
391
406
  @ProductId = productid
392
407
  @RelateType = relatetype
408
+ @SceneCode = scenecode
409
+ @CodeRule = coderule
410
+ @UsedAmount = usedamount
411
+ @SerialStart = serialstart
412
+ @SerialEnd = serialend
393
413
  end
394
414
 
395
415
  def deserialize(params)
@@ -424,6 +444,11 @@ module TencentCloud
424
444
  @ProductSpecification = params['ProductSpecification']
425
445
  @ProductId = params['ProductId']
426
446
  @RelateType = params['RelateType']
447
+ @SceneCode = params['SceneCode']
448
+ @CodeRule = params['CodeRule']
449
+ @UsedAmount = params['UsedAmount']
450
+ @SerialStart = params['SerialStart']
451
+ @SerialEnd = params['SerialEnd']
427
452
  end
428
453
  end
429
454
 
@@ -599,10 +624,12 @@ module TencentCloud
599
624
  # @type ProductId: String
600
625
  # @param RelateType: 层级码时是否提前生成关联关系,默认为 1
601
626
  # @type RelateType: Integer
627
+ # @param SceneCode: 场景值
628
+ # @type SceneCode: Integer
602
629
 
603
- attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :BatchId, :SerialType, :ProductId, :RelateType
630
+ attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :BatchId, :SerialType, :ProductId, :RelateType, :SceneCode
604
631
 
605
- def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, batchid=nil, serialtype=nil, productid=nil, relatetype=nil)
632
+ def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, batchid=nil, serialtype=nil, productid=nil, relatetype=nil, scenecode=nil)
606
633
  @MerchantId = merchantid
607
634
  @CodeLength = codelength
608
635
  @CodeType = codetype
@@ -615,6 +642,7 @@ module TencentCloud
615
642
  @SerialType = serialtype
616
643
  @ProductId = productid
617
644
  @RelateType = relatetype
645
+ @SceneCode = scenecode
618
646
  end
619
647
 
620
648
  def deserialize(params)
@@ -637,6 +665,7 @@ module TencentCloud
637
665
  @SerialType = params['SerialType']
638
666
  @ProductId = params['ProductId']
639
667
  @RelateType = params['RelateType']
668
+ @SceneCode = params['SceneCode']
640
669
  end
641
670
  end
642
671
 
@@ -757,10 +786,12 @@ module TencentCloud
757
786
  # 0: 否, 1:是
758
787
  # 默认为1,仅对层级码有效
759
788
  # @type RelateType: Integer
789
+ # @param SceneCode: 场景值
790
+ # @type SceneCode: Integer
760
791
 
761
- attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts, :BatchId, :SerialType, :ProductId, :RelateType
792
+ attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts, :BatchId, :SerialType, :ProductId, :RelateType, :SceneCode
762
793
 
763
- def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil, batchid=nil, serialtype=nil, productid=nil, relatetype=nil)
794
+ def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil, batchid=nil, serialtype=nil, productid=nil, relatetype=nil, scenecode=nil)
764
795
  @MerchantId = merchantid
765
796
  @Amount = amount
766
797
  @CorpId = corpid
@@ -773,6 +804,7 @@ module TencentCloud
773
804
  @SerialType = serialtype
774
805
  @ProductId = productid
775
806
  @RelateType = relatetype
807
+ @SceneCode = scenecode
776
808
  end
777
809
 
778
810
  def deserialize(params)
@@ -802,6 +834,7 @@ module TencentCloud
802
834
  @SerialType = params['SerialType']
803
835
  @ProductId = params['ProductId']
804
836
  @RelateType = params['RelateType']
837
+ @SceneCode = params['SceneCode']
805
838
  end
806
839
  end
807
840
 
@@ -1816,10 +1849,14 @@ module TencentCloud
1816
1849
  # @type ResType: String
1817
1850
  # @param ResId: 资源ID ResType是 batch 时对应是批次ID, 是 order_in, order_out时,则是订单ID
1818
1851
  # @type ResId: String
1852
+ # @param SceneCode: 应用场景
1853
+ # @type SceneCode: Integer
1854
+ # @param Status: 码包状态
1855
+ # @type Status: String
1819
1856
 
1820
- attr_accessor :PageSize, :PageNumber, :Keyword, :CorpId, :SerialType, :ResType, :ResId
1857
+ attr_accessor :PageSize, :PageNumber, :Keyword, :CorpId, :SerialType, :ResType, :ResId, :SceneCode, :Status
1821
1858
 
1822
- def initialize(pagesize=nil, pagenumber=nil, keyword=nil, corpid=nil, serialtype=nil, restype=nil, resid=nil)
1859
+ def initialize(pagesize=nil, pagenumber=nil, keyword=nil, corpid=nil, serialtype=nil, restype=nil, resid=nil, scenecode=nil, status=nil)
1823
1860
  @PageSize = pagesize
1824
1861
  @PageNumber = pagenumber
1825
1862
  @Keyword = keyword
@@ -1827,6 +1864,8 @@ module TencentCloud
1827
1864
  @SerialType = serialtype
1828
1865
  @ResType = restype
1829
1866
  @ResId = resid
1867
+ @SceneCode = scenecode
1868
+ @Status = status
1830
1869
  end
1831
1870
 
1832
1871
  def deserialize(params)
@@ -1837,6 +1876,8 @@ module TencentCloud
1837
1876
  @SerialType = params['SerialType']
1838
1877
  @ResType = params['ResType']
1839
1878
  @ResId = params['ResId']
1879
+ @SceneCode = params['SceneCode']
1880
+ @Status = params['Status']
1840
1881
  end
1841
1882
  end
1842
1883
 
@@ -2598,8 +2639,8 @@ module TencentCloud
2598
2639
 
2599
2640
  attr_accessor :Products, :TotalCount, :ScanLogs, :RequestId
2600
2641
  extend Gem::Deprecate
2601
- deprecate :Products, :none, 2024, 4
2602
- deprecate :Products=, :none, 2024, 4
2642
+ deprecate :Products, :none, 2024, 5
2643
+ deprecate :Products=, :none, 2024, 5
2603
2644
 
2604
2645
  def initialize(products=nil, totalcount=nil, scanlogs=nil, requestid=nil)
2605
2646
  @Products = products
@@ -3010,8 +3051,8 @@ module TencentCloud
3010
3051
 
3011
3052
  attr_accessor :Value
3012
3053
  extend Gem::Deprecate
3013
- deprecate :Value, :none, 2024, 4
3014
- deprecate :Value=, :none, 2024, 4
3054
+ deprecate :Value, :none, 2024, 5
3055
+ deprecate :Value=, :none, 2024, 5
3015
3056
 
3016
3057
  def initialize(value=nil)
3017
3058
  @Value = value
@@ -3061,17 +3102,22 @@ module TencentCloud
3061
3102
  # @type JobId: Integer
3062
3103
  # @param Status: 执行状态 init:初始化, pending: 执行中, done: 执行成功, error: 执行失败
3063
3104
  # @type Status: String
3105
+ # @param ErrorMessage: 任务错误信息
3106
+ # 注意:此字段可能返回 null,表示取不到有效值。
3107
+ # @type ErrorMessage: String
3064
3108
 
3065
- attr_accessor :JobId, :Status
3109
+ attr_accessor :JobId, :Status, :ErrorMessage
3066
3110
 
3067
- def initialize(jobid=nil, status=nil)
3111
+ def initialize(jobid=nil, status=nil, errormessage=nil)
3068
3112
  @JobId = jobid
3069
3113
  @Status = status
3114
+ @ErrorMessage = errormessage
3070
3115
  end
3071
3116
 
3072
3117
  def deserialize(params)
3073
3118
  @JobId = params['JobId']
3074
3119
  @Status = params['Status']
3120
+ @ErrorMessage = params['ErrorMessage']
3075
3121
  end
3076
3122
  end
3077
3123
 
@@ -3718,15 +3764,23 @@ module TencentCloud
3718
3764
  # @param CodeParts: 码段配置
3719
3765
  # 注意:此字段可能返回 null,表示取不到有效值。
3720
3766
  # @type CodeParts: Array
3767
+ # @param Unit: 包装单位
3768
+ # 注意:此字段可能返回 null,表示取不到有效值。
3769
+ # @type Unit: String
3770
+ # @param SceneCode: 场景值
3771
+ # 注意:此字段可能返回 null,表示取不到有效值。
3772
+ # @type SceneCode: Integer
3721
3773
 
3722
- attr_accessor :Level, :Rate, :Amount, :CustomId, :CodeParts
3774
+ attr_accessor :Level, :Rate, :Amount, :CustomId, :CodeParts, :Unit, :SceneCode
3723
3775
 
3724
- def initialize(level=nil, rate=nil, amount=nil, customid=nil, codeparts=nil)
3776
+ def initialize(level=nil, rate=nil, amount=nil, customid=nil, codeparts=nil, unit=nil, scenecode=nil)
3725
3777
  @Level = level
3726
3778
  @Rate = rate
3727
3779
  @Amount = amount
3728
3780
  @CustomId = customid
3729
3781
  @CodeParts = codeparts
3782
+ @Unit = unit
3783
+ @SceneCode = scenecode
3730
3784
  end
3731
3785
 
3732
3786
  def deserialize(params)
@@ -3742,6 +3796,8 @@ module TencentCloud
3742
3796
  @CodeParts << codepart_tmp
3743
3797
  end
3744
3798
  end
3799
+ @Unit = params['Unit']
3800
+ @SceneCode = params['SceneCode']
3745
3801
  end
3746
3802
  end
3747
3803
 
@@ -4182,10 +4238,19 @@ module TencentCloud
4182
4238
  # @param ProductName: 产品名称
4183
4239
  # 注意:此字段可能返回 null,表示取不到有效值。
4184
4240
  # @type ProductName: String
4241
+ # @param ProductLogo: 产品Logo
4242
+ # 注意:此字段可能返回 null,表示取不到有效值。
4243
+ # @type ProductLogo: String
4244
+ # @param Status: 风险状态
4245
+ # 0: 未知, 1:通过, 2:失败/风险, 3:存疑
4246
+ # @type Status: Integer
4247
+ # @param Verify: 是否开启验证
4248
+ # 0:否, 1:是
4249
+ # @type Verify: Integer
4185
4250
 
4186
- attr_accessor :LogId, :Openid, :Nickname, :CreateTime, :Code, :CorpId, :MerchantId, :ProductId, :Ip, :Country, :Province, :City, :District, :Unionid, :First, :BatchId, :Type, :MerchantName, :ProductName
4251
+ attr_accessor :LogId, :Openid, :Nickname, :CreateTime, :Code, :CorpId, :MerchantId, :ProductId, :Ip, :Country, :Province, :City, :District, :Unionid, :First, :BatchId, :Type, :MerchantName, :ProductName, :ProductLogo, :Status, :Verify
4187
4252
 
4188
- def initialize(logid=nil, openid=nil, nickname=nil, createtime=nil, code=nil, corpid=nil, merchantid=nil, productid=nil, ip=nil, country=nil, province=nil, city=nil, district=nil, unionid=nil, first=nil, batchid=nil, type=nil, merchantname=nil, productname=nil)
4253
+ def initialize(logid=nil, openid=nil, nickname=nil, createtime=nil, code=nil, corpid=nil, merchantid=nil, productid=nil, ip=nil, country=nil, province=nil, city=nil, district=nil, unionid=nil, first=nil, batchid=nil, type=nil, merchantname=nil, productname=nil, productlogo=nil, status=nil, verify=nil)
4189
4254
  @LogId = logid
4190
4255
  @Openid = openid
4191
4256
  @Nickname = nickname
@@ -4205,6 +4270,9 @@ module TencentCloud
4205
4270
  @Type = type
4206
4271
  @MerchantName = merchantname
4207
4272
  @ProductName = productname
4273
+ @ProductLogo = productlogo
4274
+ @Status = status
4275
+ @Verify = verify
4208
4276
  end
4209
4277
 
4210
4278
  def deserialize(params)
@@ -4227,6 +4295,9 @@ module TencentCloud
4227
4295
  @Type = params['Type']
4228
4296
  @MerchantName = params['MerchantName']
4229
4297
  @ProductName = params['ProductName']
4298
+ @ProductLogo = params['ProductLogo']
4299
+ @Status = params['Status']
4300
+ @Verify = params['Verify']
4230
4301
  end
4231
4302
  end
4232
4303
 
@@ -4314,10 +4385,19 @@ module TencentCloud
4314
4385
  # @type AgentId: Integer
4315
4386
  # @param Level: 码层级 0: 最小级, 1: 一级, 2: 二级
4316
4387
  # @type Level: Integer
4388
+ # @param PackSpec: 码层级详情
4389
+ # 注意:此字段可能返回 null,表示取不到有效值。
4390
+ # @type PackSpec: Array
4391
+ # @param SceneCode: 场景码
4392
+ # 注意:此字段可能返回 null,表示取不到有效值。
4393
+ # @type SceneCode: Integer
4394
+ # @param SerialCode: 流水码
4395
+ # 注意:此字段可能返回 null,表示取不到有效值。
4396
+ # @type SerialCode: Integer
4317
4397
 
4318
- attr_accessor :Code, :CorpId, :PackId, :BatchId, :MerchantId, :ProductId, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :AgentId, :Level
4398
+ attr_accessor :Code, :CorpId, :PackId, :BatchId, :MerchantId, :ProductId, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :AgentId, :Level, :PackSpec, :SceneCode, :SerialCode
4319
4399
 
4320
- def initialize(code=nil, corpid=nil, packid=nil, batchid=nil, merchantid=nil, productid=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, agentid=nil, level=nil)
4400
+ def initialize(code=nil, corpid=nil, packid=nil, batchid=nil, merchantid=nil, productid=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, agentid=nil, level=nil, packspec=nil, scenecode=nil, serialcode=nil)
4321
4401
  @Code = code
4322
4402
  @CorpId = corpid
4323
4403
  @PackId = packid
@@ -4331,6 +4411,9 @@ module TencentCloud
4331
4411
  @ProductName = productname
4332
4412
  @AgentId = agentid
4333
4413
  @Level = level
4414
+ @PackSpec = packspec
4415
+ @SceneCode = scenecode
4416
+ @SerialCode = serialcode
4334
4417
  end
4335
4418
 
4336
4419
  def deserialize(params)
@@ -4347,6 +4430,16 @@ module TencentCloud
4347
4430
  @ProductName = params['ProductName']
4348
4431
  @AgentId = params['AgentId']
4349
4432
  @Level = params['Level']
4433
+ unless params['PackSpec'].nil?
4434
+ @PackSpec = []
4435
+ params['PackSpec'].each do |i|
4436
+ packspec_tmp = PackSpec.new
4437
+ packspec_tmp.deserialize(i)
4438
+ @PackSpec << packspec_tmp
4439
+ end
4440
+ end
4441
+ @SceneCode = params['SceneCode']
4442
+ @SerialCode = params['SerialCode']
4350
4443
  end
4351
4444
  end
4352
4445
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.832
4
+ version: 3.0.834
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-28 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common