tencentcloud-sdk-trp 3.0.479 → 3.0.481
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210515/models.rb +35 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46bb631306c9255de2ee0e9cda4c8f78eb1482f4
|
4
|
+
data.tar.gz: 9bd5d68ab63538c7b62fa34853c010effae5bb9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9be12f94f2d13b1ef2c00ad66ebe8ad31a82e4e0d2372dd0212907b0dc5803249c922512a2eb338224d393af21962c0f564eb739dd1d833453c65dcaf1e9b7
|
7
|
+
data.tar.gz: e714ae3a6a6e53c32240329c443f7469dba7dec4b11b633cc1fa9c1b5c955a1a98979d7fcfe522a9ab9db1f3383c49f4b8531da82c01252d495956f3d5296b67
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.481
|
data/lib/v20210515/models.rb
CHANGED
@@ -192,7 +192,7 @@ module TencentCloud
|
|
192
192
|
# @param Amount: 码数
|
193
193
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
194
194
|
# @type Amount: Integer
|
195
|
-
# @param CodeLength:
|
195
|
+
# @param CodeLength: 防伪码长度
|
196
196
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
197
197
|
# @type CodeLength: Integer
|
198
198
|
# @param CodeType: 码类型
|
@@ -362,7 +362,7 @@ module TencentCloud
|
|
362
362
|
# @type ProductId: String
|
363
363
|
# @param BatchType: 批次类型 0:溯源 1:营销
|
364
364
|
# @type BatchType: Integer
|
365
|
-
# @param BatchId: 批次ID
|
365
|
+
# @param BatchId: 批次ID,留空时系统自动生成
|
366
366
|
# @type BatchId: String
|
367
367
|
# @param Remark: 备注
|
368
368
|
# @type Remark: String
|
@@ -370,10 +370,12 @@ module TencentCloud
|
|
370
370
|
# @type MpTpl: String
|
371
371
|
# @param CloneId: 克隆批次ID,同时会复制溯源信息
|
372
372
|
# @type CloneId: String
|
373
|
+
# @param BatchCode: 批次编号,业务字段不判断唯一性
|
374
|
+
# @type BatchCode: String
|
373
375
|
|
374
|
-
attr_accessor :CorpId, :MerchantId, :ProductId, :BatchType, :BatchId, :Remark, :MpTpl, :CloneId
|
376
|
+
attr_accessor :CorpId, :MerchantId, :ProductId, :BatchType, :BatchId, :Remark, :MpTpl, :CloneId, :BatchCode
|
375
377
|
|
376
|
-
def initialize(corpid=nil, merchantid=nil, productid=nil, batchtype=nil, batchid=nil, remark=nil, mptpl=nil, cloneid=nil)
|
378
|
+
def initialize(corpid=nil, merchantid=nil, productid=nil, batchtype=nil, batchid=nil, remark=nil, mptpl=nil, cloneid=nil, batchcode=nil)
|
377
379
|
@CorpId = corpid
|
378
380
|
@MerchantId = merchantid
|
379
381
|
@ProductId = productid
|
@@ -382,6 +384,7 @@ module TencentCloud
|
|
382
384
|
@Remark = remark
|
383
385
|
@MpTpl = mptpl
|
384
386
|
@CloneId = cloneid
|
387
|
+
@BatchCode = batchcode
|
385
388
|
end
|
386
389
|
|
387
390
|
def deserialize(params)
|
@@ -393,6 +396,7 @@ module TencentCloud
|
|
393
396
|
@Remark = params['Remark']
|
394
397
|
@MpTpl = params['MpTpl']
|
395
398
|
@CloneId = params['CloneId']
|
399
|
+
@BatchCode = params['BatchCode']
|
396
400
|
end
|
397
401
|
end
|
398
402
|
|
@@ -436,10 +440,12 @@ module TencentCloud
|
|
436
440
|
# @type PackSpec: Array
|
437
441
|
# @param BatchId: 批次ID,如果传了生码后会同时绑定批次,并激活码
|
438
442
|
# @type BatchId: String
|
443
|
+
# @param SerialType: 是否有流水码 0:无 1:有
|
444
|
+
# @type SerialType: Integer
|
439
445
|
|
440
|
-
attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :BatchId
|
446
|
+
attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :BatchId, :SerialType
|
441
447
|
|
442
|
-
def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, batchid=nil)
|
448
|
+
def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, batchid=nil, serialtype=nil)
|
443
449
|
@MerchantId = merchantid
|
444
450
|
@CodeLength = codelength
|
445
451
|
@CodeType = codetype
|
@@ -449,6 +455,7 @@ module TencentCloud
|
|
449
455
|
@PackLevel = packlevel
|
450
456
|
@PackSpec = packspec
|
451
457
|
@BatchId = batchid
|
458
|
+
@SerialType = serialtype
|
452
459
|
end
|
453
460
|
|
454
461
|
def deserialize(params)
|
@@ -468,6 +475,7 @@ module TencentCloud
|
|
468
475
|
end
|
469
476
|
end
|
470
477
|
@BatchId = params['BatchId']
|
478
|
+
@SerialType = params['SerialType']
|
471
479
|
end
|
472
480
|
end
|
473
481
|
|
@@ -580,10 +588,12 @@ module TencentCloud
|
|
580
588
|
# @type CodeParts: Array
|
581
589
|
# @param BatchId: 批次ID,如果传了生码后会同时绑定批次,并激活码
|
582
590
|
# @type BatchId: String
|
591
|
+
# @param SerialType: 是否有流水码 0:无 1:有
|
592
|
+
# @type SerialType: Integer
|
583
593
|
|
584
|
-
attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts, :BatchId
|
594
|
+
attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts, :BatchId, :SerialType
|
585
595
|
|
586
|
-
def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil, batchid=nil)
|
596
|
+
def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil, batchid=nil, serialtype=nil)
|
587
597
|
@MerchantId = merchantid
|
588
598
|
@Amount = amount
|
589
599
|
@CorpId = corpid
|
@@ -593,6 +603,7 @@ module TencentCloud
|
|
593
603
|
@CustomId = customid
|
594
604
|
@CodeParts = codeparts
|
595
605
|
@BatchId = batchid
|
606
|
+
@SerialType = serialtype
|
596
607
|
end
|
597
608
|
|
598
609
|
def deserialize(params)
|
@@ -619,6 +630,7 @@ module TencentCloud
|
|
619
630
|
end
|
620
631
|
end
|
621
632
|
@BatchId = params['BatchId']
|
633
|
+
@SerialType = params['SerialType']
|
622
634
|
end
|
623
635
|
end
|
624
636
|
|
@@ -1492,14 +1504,17 @@ module TencentCloud
|
|
1492
1504
|
# @type Keyword: String
|
1493
1505
|
# @param CorpId: 企业ID
|
1494
1506
|
# @type CorpId: Integer
|
1507
|
+
# @param SerialType: 是否有流水码 0:无 1:有
|
1508
|
+
# @type SerialType: Integer
|
1495
1509
|
|
1496
|
-
attr_accessor :PageSize, :PageNumber, :Keyword, :CorpId
|
1510
|
+
attr_accessor :PageSize, :PageNumber, :Keyword, :CorpId, :SerialType
|
1497
1511
|
|
1498
|
-
def initialize(pagesize=nil, pagenumber=nil, keyword=nil, corpid=nil)
|
1512
|
+
def initialize(pagesize=nil, pagenumber=nil, keyword=nil, corpid=nil, serialtype=nil)
|
1499
1513
|
@PageSize = pagesize
|
1500
1514
|
@PageNumber = pagenumber
|
1501
1515
|
@Keyword = keyword
|
1502
1516
|
@CorpId = corpid
|
1517
|
+
@SerialType = serialtype
|
1503
1518
|
end
|
1504
1519
|
|
1505
1520
|
def deserialize(params)
|
@@ -1507,6 +1522,7 @@ module TencentCloud
|
|
1507
1522
|
@PageNumber = params['PageNumber']
|
1508
1523
|
@Keyword = params['Keyword']
|
1509
1524
|
@CorpId = params['CorpId']
|
1525
|
+
@SerialType = params['SerialType']
|
1510
1526
|
end
|
1511
1527
|
end
|
1512
1528
|
|
@@ -2337,10 +2353,12 @@ module TencentCloud
|
|
2337
2353
|
# @type ProductId: String
|
2338
2354
|
# @param Remark: 备注
|
2339
2355
|
# @type Remark: String
|
2356
|
+
# @param BatchCode: 批次编码,业务字段不判断唯一性
|
2357
|
+
# @type BatchCode: String
|
2340
2358
|
|
2341
|
-
attr_accessor :BatchId, :CorpId, :Status, :MpTpl, :MerchantId, :ProductId, :Remark
|
2359
|
+
attr_accessor :BatchId, :CorpId, :Status, :MpTpl, :MerchantId, :ProductId, :Remark, :BatchCode
|
2342
2360
|
|
2343
|
-
def initialize(batchid=nil, corpid=nil, status=nil, mptpl=nil, merchantid=nil, productid=nil, remark=nil)
|
2361
|
+
def initialize(batchid=nil, corpid=nil, status=nil, mptpl=nil, merchantid=nil, productid=nil, remark=nil, batchcode=nil)
|
2344
2362
|
@BatchId = batchid
|
2345
2363
|
@CorpId = corpid
|
2346
2364
|
@Status = status
|
@@ -2348,6 +2366,7 @@ module TencentCloud
|
|
2348
2366
|
@MerchantId = merchantid
|
2349
2367
|
@ProductId = productid
|
2350
2368
|
@Remark = remark
|
2369
|
+
@BatchCode = batchcode
|
2351
2370
|
end
|
2352
2371
|
|
2353
2372
|
def deserialize(params)
|
@@ -2358,6 +2377,7 @@ module TencentCloud
|
|
2358
2377
|
@MerchantId = params['MerchantId']
|
2359
2378
|
@ProductId = params['ProductId']
|
2360
2379
|
@Remark = params['Remark']
|
2380
|
+
@BatchCode = params['BatchCode']
|
2361
2381
|
end
|
2362
2382
|
end
|
2363
2383
|
|
@@ -2970,10 +2990,10 @@ module TencentCloud
|
|
2970
2990
|
# @param Services: 开通服务
|
2971
2991
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2972
2992
|
# @type Services: Array
|
2973
|
-
# @param FactoryQuota:
|
2993
|
+
# @param FactoryQuota: 商户配额
|
2974
2994
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2975
2995
|
# @type FactoryQuota: Integer
|
2976
|
-
# @param ItemQuota:
|
2996
|
+
# @param ItemQuota: 商品配额
|
2977
2997
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2978
2998
|
# @type ItemQuota: Integer
|
2979
2999
|
# @param TrackQuota: 溯源码配额
|
@@ -2991,7 +3011,7 @@ module TencentCloud
|
|
2991
3011
|
# @param TrackType: 溯源类型
|
2992
3012
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2993
3013
|
# @type TrackType: Integer
|
2994
|
-
# @param Version: 开通版本 basic standard
|
3014
|
+
# @param Version: 开通版本 lite:轻量版, basic:基础版, standard:标准版
|
2995
3015
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2996
3016
|
# @type Version: String
|
2997
3017
|
|
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.
|
4
|
+
version: 3.0.481
|
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-12-
|
11
|
+
date: 2022-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|