tencentcloud-sdk-nodejs-billing 4.0.714 → 4.0.716
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.
- package/CHANGELOG.md +727 -0
- package/SERVICE_CHANGELOG.md +732 -92
- package/package.json +1 -1
- package/products.md +38 -38
- package/src/services/billing/v20180709/billing_client.ts +80 -28
- package/src/services/billing/v20180709/billing_models.ts +460 -120
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +25 -9
- package/tencentcloud/services/billing/v20180709/billing_client.js +36 -12
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +448 -120
|
@@ -101,6 +101,20 @@ export interface BillTagInfo {
|
|
|
101
101
|
TagValue: string
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
/**
|
|
105
|
+
* 节省计划覆盖率聚合数据
|
|
106
|
+
*/
|
|
107
|
+
export interface SavingPlanCoverageRate {
|
|
108
|
+
/**
|
|
109
|
+
* 聚合时间维度,按天聚合格式为yyyy-MM-dd,按月聚合格式为yyyy-MM
|
|
110
|
+
*/
|
|
111
|
+
DatePoint?: string
|
|
112
|
+
/**
|
|
113
|
+
* 覆盖率结果,取值[0, 100]
|
|
114
|
+
*/
|
|
115
|
+
Rate?: number
|
|
116
|
+
}
|
|
117
|
+
|
|
104
118
|
/**
|
|
105
119
|
* 收支明细的流水信息
|
|
106
120
|
*/
|
|
@@ -736,6 +750,24 @@ other 第三方解冻;hour 按量解冻;month 按月解冻
|
|
|
736
750
|
WithZeroAmount?: number
|
|
737
751
|
}
|
|
738
752
|
|
|
753
|
+
/**
|
|
754
|
+
* DescribeSavingPlanOverview返回参数结构体
|
|
755
|
+
*/
|
|
756
|
+
export interface DescribeSavingPlanOverviewResponse {
|
|
757
|
+
/**
|
|
758
|
+
* 节省计划总览明细数据
|
|
759
|
+
*/
|
|
760
|
+
Overviews?: Array<SavingPlanOverviewDetail>
|
|
761
|
+
/**
|
|
762
|
+
* 查询命中的节省计划总览明细数据总条数
|
|
763
|
+
*/
|
|
764
|
+
Total?: number
|
|
765
|
+
/**
|
|
766
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
767
|
+
*/
|
|
768
|
+
RequestId?: string
|
|
769
|
+
}
|
|
770
|
+
|
|
739
771
|
/**
|
|
740
772
|
* 经销账单资源汇总数据对象
|
|
741
773
|
*/
|
|
@@ -993,6 +1025,59 @@ export interface ConsumptionSummaryTotal {
|
|
|
993
1025
|
RealTotalCost: string
|
|
994
1026
|
}
|
|
995
1027
|
|
|
1028
|
+
/**
|
|
1029
|
+
* 节省计划覆盖率数据
|
|
1030
|
+
*/
|
|
1031
|
+
export interface SavingPlanCoverageDetail {
|
|
1032
|
+
/**
|
|
1033
|
+
* 资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
|
1034
|
+
*/
|
|
1035
|
+
ResourceId?: string
|
|
1036
|
+
/**
|
|
1037
|
+
* 地域ID
|
|
1038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1039
|
+
*/
|
|
1040
|
+
RegionId?: number
|
|
1041
|
+
/**
|
|
1042
|
+
* 产品编码
|
|
1043
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1044
|
+
*/
|
|
1045
|
+
ProductCode?: string
|
|
1046
|
+
/**
|
|
1047
|
+
* 子产品编码
|
|
1048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1049
|
+
*/
|
|
1050
|
+
SubProductCode?: string
|
|
1051
|
+
/**
|
|
1052
|
+
* 费用起始日期,格式yyyy-MM-dd
|
|
1053
|
+
*/
|
|
1054
|
+
StartDate?: string
|
|
1055
|
+
/**
|
|
1056
|
+
* 费用结束日期,格式yyyy-MM-dd,目前与StartDate相等
|
|
1057
|
+
*/
|
|
1058
|
+
EndDate?: string
|
|
1059
|
+
/**
|
|
1060
|
+
* 节省计划覆盖金额(即节省计划支付金额)
|
|
1061
|
+
*/
|
|
1062
|
+
SpCoveredAmount?: number
|
|
1063
|
+
/**
|
|
1064
|
+
* 节省计划未覆盖金额(即优惠后总价)
|
|
1065
|
+
*/
|
|
1066
|
+
SpUncoveredAmount?: number
|
|
1067
|
+
/**
|
|
1068
|
+
* 总支出(即节省计划未覆盖金额 + 节省计划覆盖金额)
|
|
1069
|
+
*/
|
|
1070
|
+
TotalRealAmount?: number
|
|
1071
|
+
/**
|
|
1072
|
+
* 按量计费预期金额(即折前价 * 折扣)
|
|
1073
|
+
*/
|
|
1074
|
+
ExpectedAmount?: number
|
|
1075
|
+
/**
|
|
1076
|
+
* 覆盖率结果,取值[0, 100]
|
|
1077
|
+
*/
|
|
1078
|
+
SpCoverage?: number
|
|
1079
|
+
}
|
|
1080
|
+
|
|
996
1081
|
/**
|
|
997
1082
|
* DescribeCostDetail返回参数结构体
|
|
998
1083
|
*/
|
|
@@ -1357,6 +1442,62 @@ L0-PDF&账单包不支持当月下载,当月账单请在次月1号19:00出账
|
|
|
1357
1442
|
ChildUin?: Array<string>
|
|
1358
1443
|
}
|
|
1359
1444
|
|
|
1445
|
+
/**
|
|
1446
|
+
* CreateSavingPlanOrder返回参数结构体
|
|
1447
|
+
*/
|
|
1448
|
+
export interface CreateSavingPlanOrderResponse {
|
|
1449
|
+
/**
|
|
1450
|
+
* 订单号
|
|
1451
|
+
*/
|
|
1452
|
+
BigDealId?: string
|
|
1453
|
+
/**
|
|
1454
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1455
|
+
*/
|
|
1456
|
+
RequestId?: string
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
/**
|
|
1460
|
+
* 节省计划总览明细数据
|
|
1461
|
+
*/
|
|
1462
|
+
export interface SavingPlanOverviewDetail {
|
|
1463
|
+
/**
|
|
1464
|
+
* 节省计划类型
|
|
1465
|
+
*/
|
|
1466
|
+
SpType?: string
|
|
1467
|
+
/**
|
|
1468
|
+
* 支付类型
|
|
1469
|
+
*/
|
|
1470
|
+
PayType?: number
|
|
1471
|
+
/**
|
|
1472
|
+
* 支付金额(单位:元)
|
|
1473
|
+
*/
|
|
1474
|
+
PayAmount?: string
|
|
1475
|
+
/**
|
|
1476
|
+
* 开始时间 yyyy-mm-dd HH:mm:ss格式
|
|
1477
|
+
*/
|
|
1478
|
+
StartTime?: string
|
|
1479
|
+
/**
|
|
1480
|
+
* 结束时间 yyyy-mm-dd HH:mm:ss格式
|
|
1481
|
+
*/
|
|
1482
|
+
EndTime?: string
|
|
1483
|
+
/**
|
|
1484
|
+
* 购买时间 yyyy-mm-dd HH:mm:ss格式
|
|
1485
|
+
*/
|
|
1486
|
+
BuyTime?: string
|
|
1487
|
+
/**
|
|
1488
|
+
* 状态
|
|
1489
|
+
*/
|
|
1490
|
+
Status?: number
|
|
1491
|
+
/**
|
|
1492
|
+
* 累计节省金额(单位:元)
|
|
1493
|
+
*/
|
|
1494
|
+
SavingAmount?: string
|
|
1495
|
+
/**
|
|
1496
|
+
* 地域
|
|
1497
|
+
*/
|
|
1498
|
+
Region?: Array<string>
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1360
1501
|
/**
|
|
1361
1502
|
* DescribeBillSummaryByPayMode请求参数结构体
|
|
1362
1503
|
*/
|
|
@@ -1553,22 +1694,65 @@ export interface BillDetail {
|
|
|
1553
1694
|
}
|
|
1554
1695
|
|
|
1555
1696
|
/**
|
|
1556
|
-
*
|
|
1697
|
+
* CreateSavingPlanOrder请求参数结构体
|
|
1557
1698
|
*/
|
|
1558
|
-
export interface
|
|
1699
|
+
export interface CreateSavingPlanOrderRequest {
|
|
1559
1700
|
/**
|
|
1560
|
-
*
|
|
1701
|
+
* 地域编码
|
|
1561
1702
|
*/
|
|
1562
|
-
|
|
1703
|
+
RegionId: number
|
|
1563
1704
|
/**
|
|
1564
|
-
*
|
|
1705
|
+
* 区域编码
|
|
1565
1706
|
*/
|
|
1566
|
-
|
|
1707
|
+
ZoneId: number
|
|
1567
1708
|
/**
|
|
1568
|
-
*
|
|
1709
|
+
* 预付费类型
|
|
1710
|
+
*/
|
|
1711
|
+
PrePayType: string
|
|
1712
|
+
/**
|
|
1713
|
+
* 时长
|
|
1714
|
+
*/
|
|
1715
|
+
TimeSpan: number
|
|
1716
|
+
/**
|
|
1717
|
+
* 时长单位
|
|
1718
|
+
*/
|
|
1719
|
+
TimeUnit: string
|
|
1720
|
+
/**
|
|
1721
|
+
* 商品唯一标识
|
|
1722
|
+
*/
|
|
1723
|
+
CommodityCode: string
|
|
1724
|
+
/**
|
|
1725
|
+
* 承诺时长内的小额金额(单位:分)
|
|
1726
|
+
*/
|
|
1727
|
+
PromiseUseAmount: number
|
|
1728
|
+
/**
|
|
1729
|
+
* 节省计划的指定生效时间,若不传则为当前下单时间。传参数格式:"2023-10-01 00:00:00",仅支持指定日期的0点时刻
|
|
1730
|
+
*/
|
|
1731
|
+
SpecifyEffectTime?: string
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* DescribeBillDetail返回参数结构体
|
|
1736
|
+
*/
|
|
1737
|
+
export interface DescribeBillDetailResponse {
|
|
1738
|
+
/**
|
|
1739
|
+
* 详情列表
|
|
1740
|
+
*/
|
|
1741
|
+
DetailSet?: Array<BillDetail>
|
|
1742
|
+
/**
|
|
1743
|
+
* 总记录数,24小时缓存一次,可能比实际总记录数少
|
|
1569
1744
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1570
1745
|
*/
|
|
1571
|
-
|
|
1746
|
+
Total?: number
|
|
1747
|
+
/**
|
|
1748
|
+
* 本次请求的上下文信息,可用于下一次请求的请求参数中,加快查询速度
|
|
1749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1750
|
+
*/
|
|
1751
|
+
Context?: string
|
|
1752
|
+
/**
|
|
1753
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1754
|
+
*/
|
|
1755
|
+
RequestId?: string
|
|
1572
1756
|
}
|
|
1573
1757
|
|
|
1574
1758
|
/**
|
|
@@ -2191,6 +2375,32 @@ export interface Conditions {
|
|
|
2191
2375
|
Status?: Array<number | bigint>
|
|
2192
2376
|
}
|
|
2193
2377
|
|
|
2378
|
+
/**
|
|
2379
|
+
* DescribeSavingPlanCoverage请求参数结构体
|
|
2380
|
+
*/
|
|
2381
|
+
export interface DescribeSavingPlanCoverageRequest {
|
|
2382
|
+
/**
|
|
2383
|
+
* 费用起始日期,格式yyyy-MM-dd
|
|
2384
|
+
*/
|
|
2385
|
+
StartDate: string
|
|
2386
|
+
/**
|
|
2387
|
+
* 费用结束日期,格式yyyy-MM-dd
|
|
2388
|
+
*/
|
|
2389
|
+
EndDate: string
|
|
2390
|
+
/**
|
|
2391
|
+
* 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,以此类推
|
|
2392
|
+
*/
|
|
2393
|
+
Offset: number
|
|
2394
|
+
/**
|
|
2395
|
+
* 数量,最大值为200
|
|
2396
|
+
*/
|
|
2397
|
+
Limit: number
|
|
2398
|
+
/**
|
|
2399
|
+
* 取值包括1(缺省值)和2,1表示按天统计覆盖率,2表示按月统计覆盖率,此参数仅影响返回的RateSet聚合粒度,不影响返回的DetailSet
|
|
2400
|
+
*/
|
|
2401
|
+
PeriodType?: number
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2194
2404
|
/**
|
|
2195
2405
|
* 按地域汇总消费详情
|
|
2196
2406
|
*/
|
|
@@ -2332,6 +2542,28 @@ export interface DescribeBillSummaryForOrganizationRequest {
|
|
|
2332
2542
|
TagKey?: Array<string>
|
|
2333
2543
|
}
|
|
2334
2544
|
|
|
2545
|
+
/**
|
|
2546
|
+
* DescribeSavingPlanOverview请求参数结构体
|
|
2547
|
+
*/
|
|
2548
|
+
export interface DescribeSavingPlanOverviewRequest {
|
|
2549
|
+
/**
|
|
2550
|
+
* 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
|
|
2551
|
+
*/
|
|
2552
|
+
StartDate: string
|
|
2553
|
+
/**
|
|
2554
|
+
* 结束时间,格式yyyy-MM-dd
|
|
2555
|
+
*/
|
|
2556
|
+
EndDate: string
|
|
2557
|
+
/**
|
|
2558
|
+
* 分页偏移量
|
|
2559
|
+
*/
|
|
2560
|
+
Offset: number
|
|
2561
|
+
/**
|
|
2562
|
+
* 每页数量,最大值为200
|
|
2563
|
+
*/
|
|
2564
|
+
Limit: number
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2335
2567
|
/**
|
|
2336
2568
|
* 按交易类型汇总消费详情
|
|
2337
2569
|
*/
|
|
@@ -2380,77 +2612,91 @@ export interface ActionSummaryOverviewItem {
|
|
|
2380
2612
|
}
|
|
2381
2613
|
|
|
2382
2614
|
/**
|
|
2383
|
-
*
|
|
2615
|
+
* DescribeBillDetailForOrganization请求参数结构体
|
|
2384
2616
|
*/
|
|
2385
|
-
export interface
|
|
2386
|
-
/**
|
|
2387
|
-
* 一页多少条数据,默认是20条,最大不超过1000
|
|
2388
|
-
*/
|
|
2389
|
-
Limit: number
|
|
2617
|
+
export interface DescribeBillDetailForOrganizationRequest {
|
|
2390
2618
|
/**
|
|
2391
|
-
*
|
|
2619
|
+
* 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,依次类推
|
|
2392
2620
|
*/
|
|
2393
2621
|
Offset: number
|
|
2394
2622
|
/**
|
|
2395
|
-
*
|
|
2396
|
-
*/
|
|
2397
|
-
Status?: string
|
|
2398
|
-
/**
|
|
2399
|
-
* 代金券id
|
|
2400
|
-
*/
|
|
2401
|
-
VoucherId?: string
|
|
2402
|
-
/**
|
|
2403
|
-
* 代金券订单id
|
|
2404
|
-
*/
|
|
2405
|
-
CodeId?: string
|
|
2406
|
-
/**
|
|
2407
|
-
* 商品码
|
|
2623
|
+
* 数量,最大值为100
|
|
2408
2624
|
*/
|
|
2409
|
-
|
|
2625
|
+
Limit: number
|
|
2410
2626
|
/**
|
|
2411
|
-
*
|
|
2627
|
+
* 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
|
|
2412
2628
|
*/
|
|
2413
|
-
|
|
2629
|
+
PeriodType?: string
|
|
2414
2630
|
/**
|
|
2415
|
-
*
|
|
2631
|
+
* 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。
|
|
2416
2632
|
*/
|
|
2417
|
-
|
|
2633
|
+
Month?: string
|
|
2418
2634
|
/**
|
|
2419
|
-
*
|
|
2635
|
+
* 周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为相同月份,不支持跨月查询,查询结果是整月数据。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。
|
|
2420
2636
|
*/
|
|
2421
|
-
|
|
2637
|
+
BeginTime?: string
|
|
2422
2638
|
/**
|
|
2423
|
-
*
|
|
2639
|
+
* 周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为相同月份,不支持跨月查询,查询结果是整月数据。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。
|
|
2424
2640
|
*/
|
|
2425
|
-
|
|
2641
|
+
EndTime?: string
|
|
2426
2642
|
/**
|
|
2427
|
-
*
|
|
2643
|
+
* 是否需要访问列表的总记录数,用于前端分页
|
|
2644
|
+
1-表示需要, 0-表示不需要
|
|
2428
2645
|
*/
|
|
2429
|
-
|
|
2646
|
+
NeedRecordNum?: number
|
|
2430
2647
|
/**
|
|
2431
|
-
*
|
|
2648
|
+
* 付费模式 prePay(表示包年包月)/postPay(表示按时按量)
|
|
2432
2649
|
*/
|
|
2433
|
-
|
|
2650
|
+
PayMode?: string
|
|
2434
2651
|
/**
|
|
2435
|
-
*
|
|
2652
|
+
* 查询指定资源信息
|
|
2436
2653
|
*/
|
|
2437
|
-
|
|
2654
|
+
ResourceId?: string
|
|
2438
2655
|
/**
|
|
2439
|
-
*
|
|
2656
|
+
* 查询交易类型(请使用交易类型名称入参),入参示例枚举如下:
|
|
2657
|
+
包年包月新购
|
|
2658
|
+
包年包月续费
|
|
2659
|
+
包年包月配置变更
|
|
2660
|
+
包年包月退款
|
|
2661
|
+
按量计费扣费
|
|
2662
|
+
线下项目扣费
|
|
2663
|
+
线下产品扣费
|
|
2664
|
+
调账扣费
|
|
2665
|
+
调账补偿
|
|
2666
|
+
按量计费小时结
|
|
2667
|
+
按量计费日结
|
|
2668
|
+
按量计费月结
|
|
2669
|
+
竞价实例小时结
|
|
2670
|
+
线下项目调账补偿
|
|
2671
|
+
线下产品调账补偿
|
|
2672
|
+
优惠扣费
|
|
2673
|
+
优惠补偿
|
|
2674
|
+
按量计费迁入资源
|
|
2675
|
+
按量计费迁出资源
|
|
2676
|
+
包年包月迁入资源
|
|
2677
|
+
包年包月迁出资源
|
|
2678
|
+
预付费用
|
|
2679
|
+
小时费用
|
|
2680
|
+
预留实例退款
|
|
2681
|
+
按量计费冲正
|
|
2682
|
+
包年包月转按量
|
|
2683
|
+
保底扣款
|
|
2684
|
+
节省计划小时费用
|
|
2440
2685
|
*/
|
|
2441
|
-
|
|
2686
|
+
ActionType?: string
|
|
2442
2687
|
/**
|
|
2443
|
-
*
|
|
2688
|
+
* 项目ID:资源所属项目ID
|
|
2444
2689
|
*/
|
|
2445
|
-
|
|
2690
|
+
ProjectId?: number
|
|
2446
2691
|
/**
|
|
2447
|
-
*
|
|
2692
|
+
* 产品名称代码
|
|
2693
|
+
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
2448
2694
|
*/
|
|
2449
|
-
|
|
2695
|
+
BusinessCode?: string
|
|
2450
2696
|
/**
|
|
2451
|
-
*
|
|
2697
|
+
* 上一次请求返回的上下文信息,翻页查询Month>=2023-05的月份的数据可加快查询速度,数据量10万级别以上的用户建议使用,查询速度可提升2~10倍
|
|
2452
2698
|
*/
|
|
2453
|
-
|
|
2699
|
+
Context?: string
|
|
2454
2700
|
}
|
|
2455
2701
|
|
|
2456
2702
|
/**
|
|
@@ -2561,27 +2807,22 @@ export interface DescribeBillResourceSummaryRequest {
|
|
|
2561
2807
|
}
|
|
2562
2808
|
|
|
2563
2809
|
/**
|
|
2564
|
-
*
|
|
2810
|
+
* 由域名和使用明细组成的数据结构
|
|
2565
2811
|
*/
|
|
2566
|
-
export interface
|
|
2812
|
+
export interface DetailSet {
|
|
2567
2813
|
/**
|
|
2568
|
-
*
|
|
2814
|
+
* 域名
|
|
2569
2815
|
*/
|
|
2570
|
-
|
|
2816
|
+
Domain: string
|
|
2571
2817
|
/**
|
|
2572
|
-
*
|
|
2573
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2818
|
+
* 使用数据明细
|
|
2574
2819
|
*/
|
|
2575
|
-
|
|
2820
|
+
DetailPoints: Array<DetailPoint>
|
|
2576
2821
|
/**
|
|
2577
|
-
*
|
|
2822
|
+
* 实例ID
|
|
2578
2823
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2579
2824
|
*/
|
|
2580
|
-
|
|
2581
|
-
/**
|
|
2582
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2583
|
-
*/
|
|
2584
|
-
RequestId?: string
|
|
2825
|
+
InstanceID: string
|
|
2585
2826
|
}
|
|
2586
2827
|
|
|
2587
2828
|
/**
|
|
@@ -3034,6 +3275,53 @@ export interface DescribeBillSummaryByProductResponse {
|
|
|
3034
3275
|
RequestId?: string
|
|
3035
3276
|
}
|
|
3036
3277
|
|
|
3278
|
+
/**
|
|
3279
|
+
* 节省计划使用率数据
|
|
3280
|
+
*/
|
|
3281
|
+
export interface SavingPlanUsageDetail {
|
|
3282
|
+
/**
|
|
3283
|
+
* 节省计划类型
|
|
3284
|
+
*/
|
|
3285
|
+
SpType?: string
|
|
3286
|
+
/**
|
|
3287
|
+
* 节省计划状态
|
|
3288
|
+
*/
|
|
3289
|
+
Status?: number
|
|
3290
|
+
/**
|
|
3291
|
+
* 累计抵扣的金额(单位:元)
|
|
3292
|
+
*/
|
|
3293
|
+
DeductAmount?: string
|
|
3294
|
+
/**
|
|
3295
|
+
* 累计承诺消费金额(单位:元)
|
|
3296
|
+
*/
|
|
3297
|
+
PromiseAmount?: string
|
|
3298
|
+
/**
|
|
3299
|
+
* 累计净节省金额(单位:元)
|
|
3300
|
+
*/
|
|
3301
|
+
NetSavings?: string
|
|
3302
|
+
/**
|
|
3303
|
+
* 使用率
|
|
3304
|
+
*/
|
|
3305
|
+
UtilizationRate?: number
|
|
3306
|
+
/**
|
|
3307
|
+
* 累计流失金额(单位:元)
|
|
3308
|
+
*/
|
|
3309
|
+
LossAmount?: string
|
|
3310
|
+
/**
|
|
3311
|
+
* 累计按量计费预期金额(单位:元)
|
|
3312
|
+
*/
|
|
3313
|
+
DosageAmount?: string
|
|
3314
|
+
/**
|
|
3315
|
+
* 累计成本金额(单位:元)
|
|
3316
|
+
*/
|
|
3317
|
+
CostAmount?: string
|
|
3318
|
+
/**
|
|
3319
|
+
* 地域
|
|
3320
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3321
|
+
*/
|
|
3322
|
+
Region?: Array<string>
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3037
3325
|
/**
|
|
3038
3326
|
* DescribeBillSummaryByRegion返回参数结构体
|
|
3039
3327
|
*/
|
|
@@ -3493,6 +3781,24 @@ export interface BusinessSummaryOverviewItem {
|
|
|
3493
3781
|
TotalCost: string
|
|
3494
3782
|
}
|
|
3495
3783
|
|
|
3784
|
+
/**
|
|
3785
|
+
* DescribeSavingPlanUsage返回参数结构体
|
|
3786
|
+
*/
|
|
3787
|
+
export interface DescribeSavingPlanUsageResponse {
|
|
3788
|
+
/**
|
|
3789
|
+
* 节省计划使用率数据
|
|
3790
|
+
*/
|
|
3791
|
+
Usages?: Array<SavingPlanUsageDetail>
|
|
3792
|
+
/**
|
|
3793
|
+
* 查询命中的节省计划总览明细数据总条数
|
|
3794
|
+
*/
|
|
3795
|
+
Total?: number
|
|
3796
|
+
/**
|
|
3797
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3798
|
+
*/
|
|
3799
|
+
RequestId?: string
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3496
3802
|
/**
|
|
3497
3803
|
* 使用记录
|
|
3498
3804
|
*/
|
|
@@ -3513,91 +3819,125 @@ export interface UsageRecords {
|
|
|
3513
3819
|
}
|
|
3514
3820
|
|
|
3515
3821
|
/**
|
|
3516
|
-
*
|
|
3822
|
+
* DescribeSavingPlanCoverage返回参数结构体
|
|
3517
3823
|
*/
|
|
3518
|
-
export interface
|
|
3824
|
+
export interface DescribeSavingPlanCoverageResponse {
|
|
3519
3825
|
/**
|
|
3520
|
-
*
|
|
3826
|
+
* 节省计划覆盖率明细数据
|
|
3521
3827
|
*/
|
|
3522
|
-
|
|
3828
|
+
DetailSet?: Array<SavingPlanCoverageDetail>
|
|
3523
3829
|
/**
|
|
3524
|
-
*
|
|
3830
|
+
* 节省计划覆盖率聚合数据
|
|
3831
|
+
*/
|
|
3832
|
+
RateSet?: Array<SavingPlanCoverageRate>
|
|
3833
|
+
/**
|
|
3834
|
+
* 查询命中的节省计划覆盖率明细数据总条数
|
|
3835
|
+
*/
|
|
3836
|
+
TotalCount?: number
|
|
3837
|
+
/**
|
|
3838
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3839
|
+
*/
|
|
3840
|
+
RequestId?: string
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
/**
|
|
3844
|
+
* DescribeVoucherInfo请求参数结构体
|
|
3845
|
+
*/
|
|
3846
|
+
export interface DescribeVoucherInfoRequest {
|
|
3847
|
+
/**
|
|
3848
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
3525
3849
|
*/
|
|
3526
3850
|
Limit: number
|
|
3527
3851
|
/**
|
|
3528
|
-
*
|
|
3852
|
+
* 第多少页,默认是1
|
|
3529
3853
|
*/
|
|
3530
|
-
|
|
3854
|
+
Offset: number
|
|
3531
3855
|
/**
|
|
3532
|
-
*
|
|
3856
|
+
* 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
|
3533
3857
|
*/
|
|
3534
|
-
|
|
3858
|
+
Status?: string
|
|
3535
3859
|
/**
|
|
3536
|
-
*
|
|
3860
|
+
* 代金券id
|
|
3537
3861
|
*/
|
|
3538
|
-
|
|
3862
|
+
VoucherId?: string
|
|
3539
3863
|
/**
|
|
3540
|
-
*
|
|
3864
|
+
* 代金券订单id
|
|
3541
3865
|
*/
|
|
3542
|
-
|
|
3866
|
+
CodeId?: string
|
|
3543
3867
|
/**
|
|
3544
|
-
*
|
|
3545
|
-
1-表示需要, 0-表示不需要
|
|
3868
|
+
* 商品码
|
|
3546
3869
|
*/
|
|
3547
|
-
|
|
3870
|
+
ProductCode?: string
|
|
3548
3871
|
/**
|
|
3549
|
-
*
|
|
3872
|
+
* 活动id
|
|
3873
|
+
*/
|
|
3874
|
+
ActivityId?: string
|
|
3875
|
+
/**
|
|
3876
|
+
* 代金券名称
|
|
3877
|
+
*/
|
|
3878
|
+
VoucherName?: string
|
|
3879
|
+
/**
|
|
3880
|
+
* 发放开始时间,例:2021-01-01
|
|
3881
|
+
*/
|
|
3882
|
+
TimeFrom?: string
|
|
3883
|
+
/**
|
|
3884
|
+
* 发放结束时间,例:2021-01-01
|
|
3885
|
+
*/
|
|
3886
|
+
TimeTo?: string
|
|
3887
|
+
/**
|
|
3888
|
+
* 指定排序字段:BeginTime开始时间、EndTime到期时间、CreateTime创建时间
|
|
3889
|
+
*/
|
|
3890
|
+
SortField?: string
|
|
3891
|
+
/**
|
|
3892
|
+
* 指定升序降序:desc、asc
|
|
3893
|
+
*/
|
|
3894
|
+
SortOrder?: string
|
|
3895
|
+
/**
|
|
3896
|
+
* 付费模式,postPay后付费/prePay预付费/riPay预留实例/""或者"*"表示全部模式,如果payMode为""或"*",那么productCode与subProductCode必须传空
|
|
3550
3897
|
*/
|
|
3551
3898
|
PayMode?: string
|
|
3552
3899
|
/**
|
|
3553
|
-
*
|
|
3900
|
+
* 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
|
3554
3901
|
*/
|
|
3555
|
-
|
|
3902
|
+
PayScene?: string
|
|
3556
3903
|
/**
|
|
3557
|
-
*
|
|
3558
|
-
包年包月新购
|
|
3559
|
-
包年包月续费
|
|
3560
|
-
包年包月配置变更
|
|
3561
|
-
包年包月退款
|
|
3562
|
-
按量计费扣费
|
|
3563
|
-
线下项目扣费
|
|
3564
|
-
线下产品扣费
|
|
3565
|
-
调账扣费
|
|
3566
|
-
调账补偿
|
|
3567
|
-
按量计费小时结
|
|
3568
|
-
按量计费日结
|
|
3569
|
-
按量计费月结
|
|
3570
|
-
竞价实例小时结
|
|
3571
|
-
线下项目调账补偿
|
|
3572
|
-
线下产品调账补偿
|
|
3573
|
-
优惠扣费
|
|
3574
|
-
优惠补偿
|
|
3575
|
-
按量计费迁入资源
|
|
3576
|
-
按量计费迁出资源
|
|
3577
|
-
包年包月迁入资源
|
|
3578
|
-
包年包月迁出资源
|
|
3579
|
-
预付费用
|
|
3580
|
-
小时费用
|
|
3581
|
-
预留实例退款
|
|
3582
|
-
按量计费冲正
|
|
3583
|
-
包年包月转按量
|
|
3584
|
-
保底扣款
|
|
3585
|
-
节省计划小时费用
|
|
3904
|
+
* 操作人,默认就是用户uin
|
|
3586
3905
|
*/
|
|
3587
|
-
|
|
3906
|
+
Operator?: string
|
|
3588
3907
|
/**
|
|
3589
|
-
*
|
|
3908
|
+
* 代金券主类型 has_price 为有价现金券 no_price 为无价代金券
|
|
3590
3909
|
*/
|
|
3591
|
-
|
|
3910
|
+
VoucherMainType?: string
|
|
3592
3911
|
/**
|
|
3593
|
-
*
|
|
3594
|
-
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
3912
|
+
* 代金券副类型 discount 为折扣券 deduct 为抵扣券
|
|
3595
3913
|
*/
|
|
3596
|
-
|
|
3914
|
+
VoucherSubType?: string
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3917
|
+
/**
|
|
3918
|
+
* DescribeSavingPlanUsage请求参数结构体
|
|
3919
|
+
*/
|
|
3920
|
+
export interface DescribeSavingPlanUsageRequest {
|
|
3597
3921
|
/**
|
|
3598
|
-
*
|
|
3922
|
+
* 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
|
|
3599
3923
|
*/
|
|
3600
|
-
|
|
3924
|
+
StartDate: string
|
|
3925
|
+
/**
|
|
3926
|
+
* 结束时间,格式yyyy-MM-dd
|
|
3927
|
+
*/
|
|
3928
|
+
EndDate: string
|
|
3929
|
+
/**
|
|
3930
|
+
* 分页偏移量
|
|
3931
|
+
*/
|
|
3932
|
+
Offset: number
|
|
3933
|
+
/**
|
|
3934
|
+
* 每页数量,最大值为200
|
|
3935
|
+
*/
|
|
3936
|
+
Limit: number
|
|
3937
|
+
/**
|
|
3938
|
+
* 查询结果数据的时间间隔
|
|
3939
|
+
*/
|
|
3940
|
+
TimeInterval: string
|
|
3601
3941
|
}
|
|
3602
3942
|
|
|
3603
3943
|
/**
|