tencentcloud-sdk-nodejs-billing 4.1.16 → 4.1.36
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/es/services/billing/v20180709/billing_client.js +46 -4
- package/package.json +1 -1
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +61 -5
- package/tencentcloud/services/billing/v20180709/billing_client.js +90 -6
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +860 -224
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateAllocationUnit请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface CreateAllocationUnitRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 新增分账单元父节点ID
|
|
7
|
+
*/
|
|
8
|
+
ParentId: number;
|
|
9
|
+
/**
|
|
10
|
+
* 新增分账单元名称
|
|
11
|
+
*/
|
|
12
|
+
Name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 月份,不传默认当前月
|
|
15
|
+
*/
|
|
16
|
+
Month?: string;
|
|
17
|
+
}
|
|
1
18
|
/**
|
|
2
19
|
* DescribeBillAdjustInfo返回参数结构体
|
|
3
20
|
*/
|
|
@@ -114,6 +131,61 @@ export interface ConsumptionBusinessSummaryDataItem {
|
|
|
114
131
|
*/
|
|
115
132
|
RegionName?: string;
|
|
116
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* ModifyAllocationRule请求参数结构体
|
|
136
|
+
*/
|
|
137
|
+
export interface ModifyAllocationRuleRequest {
|
|
138
|
+
/**
|
|
139
|
+
* 所编辑公摊规则ID
|
|
140
|
+
*/
|
|
141
|
+
RuleId: number;
|
|
142
|
+
/**
|
|
143
|
+
* 编辑后公摊规则名称
|
|
144
|
+
*/
|
|
145
|
+
Name: string;
|
|
146
|
+
/**
|
|
147
|
+
* 公摊策略类型,枚举值如下: 1 - 自定义分摊占比 2 - 等比分摊 3 - 按占比分摊
|
|
148
|
+
*/
|
|
149
|
+
Type: number;
|
|
150
|
+
/**
|
|
151
|
+
* 编辑后公摊规则表达式
|
|
152
|
+
*/
|
|
153
|
+
RuleDetail: AllocationRuleExpression;
|
|
154
|
+
/**
|
|
155
|
+
* 编辑后公摊比例表达式
|
|
156
|
+
*/
|
|
157
|
+
RatioDetail?: Array<AllocationRationExpression>;
|
|
158
|
+
/**
|
|
159
|
+
* 月份,不传默认当前月
|
|
160
|
+
*/
|
|
161
|
+
Month?: string;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* DeleteAllocationRule请求参数结构体
|
|
165
|
+
*/
|
|
166
|
+
export interface DeleteAllocationRuleRequest {
|
|
167
|
+
/**
|
|
168
|
+
* 所删除公摊规则ID
|
|
169
|
+
*/
|
|
170
|
+
RuleId: number;
|
|
171
|
+
/**
|
|
172
|
+
* 月份,不传默认当前月
|
|
173
|
+
*/
|
|
174
|
+
Month?: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* CreateAllocationRule返回参数结构体
|
|
178
|
+
*/
|
|
179
|
+
export interface CreateAllocationRuleResponse {
|
|
180
|
+
/**
|
|
181
|
+
* 新增公摊规则ID
|
|
182
|
+
*/
|
|
183
|
+
Id?: number;
|
|
184
|
+
/**
|
|
185
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
186
|
+
*/
|
|
187
|
+
RequestId?: string;
|
|
188
|
+
}
|
|
117
189
|
/**
|
|
118
190
|
* 账单 Tag 信息
|
|
119
191
|
*/
|
|
@@ -337,26 +409,130 @@ export interface DescribeCostSummaryByProductResponse {
|
|
|
337
409
|
RequestId?: string;
|
|
338
410
|
}
|
|
339
411
|
/**
|
|
340
|
-
*
|
|
412
|
+
* DescribeAllocationTree返回参数结构体
|
|
341
413
|
*/
|
|
342
|
-
export interface
|
|
414
|
+
export interface DescribeAllocationTreeResponse {
|
|
343
415
|
/**
|
|
344
|
-
*
|
|
416
|
+
* 分账单元ID
|
|
345
417
|
*/
|
|
346
|
-
|
|
418
|
+
Id?: number;
|
|
347
419
|
/**
|
|
348
|
-
*
|
|
420
|
+
* 分账单元名称
|
|
349
421
|
*/
|
|
350
|
-
|
|
422
|
+
Name?: string;
|
|
423
|
+
/**
|
|
424
|
+
* 分账单元唯一标识
|
|
425
|
+
*/
|
|
426
|
+
TreeNodeUniqKey?: string;
|
|
427
|
+
/**
|
|
428
|
+
* 子树
|
|
429
|
+
*/
|
|
430
|
+
Children?: Array<AllocationTree>;
|
|
431
|
+
/**
|
|
432
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
433
|
+
*/
|
|
434
|
+
RequestId?: string;
|
|
351
435
|
}
|
|
352
436
|
/**
|
|
353
|
-
*
|
|
437
|
+
* 分账账单月概览金额明细
|
|
354
438
|
*/
|
|
355
|
-
export interface
|
|
439
|
+
export interface AllocationMonthOverviewDetail {
|
|
356
440
|
/**
|
|
357
|
-
*
|
|
441
|
+
* 归集费用(现金):基于归集规则直接归集到分账单元的现金
|
|
358
442
|
*/
|
|
359
|
-
|
|
443
|
+
GatherCashPayAmount?: string;
|
|
444
|
+
/**
|
|
445
|
+
* 归集费用(优惠券):基于归集规则直接归集到分账单元的资源优惠券
|
|
446
|
+
*/
|
|
447
|
+
GatherVoucherPayAmount?: string;
|
|
448
|
+
/**
|
|
449
|
+
* 归集费用(赠送金):基于归集规则直接归集到分账单元的资源赠送金
|
|
450
|
+
*/
|
|
451
|
+
GatherIncentivePayAmount?: string;
|
|
452
|
+
/**
|
|
453
|
+
* 归集费用(分成金):基于归集规则直接归集到分账单元的资源分成金
|
|
454
|
+
*/
|
|
455
|
+
GatherTransferPayAmount?: string;
|
|
456
|
+
/**
|
|
457
|
+
* 分摊费用(现金):基于分摊规则分摊到分账单元的资源现金
|
|
458
|
+
*/
|
|
459
|
+
AllocateCashPayAmount?: string;
|
|
460
|
+
/**
|
|
461
|
+
* 分摊费用(优惠券):基于分摊规则分摊到分账单元的资源优惠券
|
|
462
|
+
*/
|
|
463
|
+
AllocateVoucherPayAmount?: string;
|
|
464
|
+
/**
|
|
465
|
+
* 分摊费用(赠送金):基于分摊规则分摊到分账单元的资源赠送金
|
|
466
|
+
*/
|
|
467
|
+
AllocateIncentivePayAmount?: string;
|
|
468
|
+
/**
|
|
469
|
+
* 分摊费用(分成金):基于分摊规则分摊到分账单元的资源分成金
|
|
470
|
+
*/
|
|
471
|
+
AllocateTransferPayAmount?: string;
|
|
472
|
+
/**
|
|
473
|
+
* 合计费用(现金):分账单元总费用,归集费用(现金) + 分摊费用(现金)
|
|
474
|
+
*/
|
|
475
|
+
TotalCashPayAmount?: string;
|
|
476
|
+
/**
|
|
477
|
+
* 合计费用(优惠券):分账单元总费用,归集费用(优惠券) + 分摊费用(优惠券)
|
|
478
|
+
*/
|
|
479
|
+
TotalVoucherPayAmount?: string;
|
|
480
|
+
/**
|
|
481
|
+
* 合计费用(赠送金):分账单元总费用,归集费用(赠送金) + 分摊费用(赠送金)
|
|
482
|
+
*/
|
|
483
|
+
TotalIncentivePayAmount?: string;
|
|
484
|
+
/**
|
|
485
|
+
* 合计费用(分成金):分账单元总费用,归集费用(分成金)+分摊费用(分成金)
|
|
486
|
+
*/
|
|
487
|
+
TotalTransferPayAmount?: string;
|
|
488
|
+
/**
|
|
489
|
+
* 归集费用(折后总额):基于归集规则直接归集到分账单元的资源优惠后总价
|
|
490
|
+
*/
|
|
491
|
+
GatherRealCost?: string;
|
|
492
|
+
/**
|
|
493
|
+
* 分摊费用(折后总额):基于分摊规则分摊到分账单元的资源优惠后总价
|
|
494
|
+
*/
|
|
495
|
+
AllocateRealCost?: string;
|
|
496
|
+
/**
|
|
497
|
+
* 合计费用(折后总额):分账单元总费用,归集费用(折后总额) + 分摊费用(折后总额)
|
|
498
|
+
*/
|
|
499
|
+
RealTotalCost?: string;
|
|
500
|
+
/**
|
|
501
|
+
* 占比(折后总额):本分账单元合计费用(折后总额)/合计费用(折后总额)*100%
|
|
502
|
+
*/
|
|
503
|
+
Ratio?: string;
|
|
504
|
+
/**
|
|
505
|
+
* 环比(折后总额):[本月分账单元合计费用(折后总额) - 上月分账单元合计费用(折后总额)] / 上月分账单元合计费用(折后总额) * 100%
|
|
506
|
+
*/
|
|
507
|
+
Trend?: string;
|
|
508
|
+
/**
|
|
509
|
+
* 环比箭头
|
|
510
|
+
upward -上升
|
|
511
|
+
downward - 下降
|
|
512
|
+
none - 平稳
|
|
513
|
+
*/
|
|
514
|
+
TrendType?: string;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* 分账目录树
|
|
518
|
+
*/
|
|
519
|
+
export interface AllocationTree {
|
|
520
|
+
/**
|
|
521
|
+
* 分账单元ID
|
|
522
|
+
*/
|
|
523
|
+
Id?: number;
|
|
524
|
+
/**
|
|
525
|
+
* 分账单元名称
|
|
526
|
+
*/
|
|
527
|
+
Name?: string;
|
|
528
|
+
/**
|
|
529
|
+
* 分账单元唯一标识
|
|
530
|
+
*/
|
|
531
|
+
TreeNodeUniqKey?: string;
|
|
532
|
+
/**
|
|
533
|
+
* 子树
|
|
534
|
+
*/
|
|
535
|
+
Children?: Array<AllocationTree>;
|
|
360
536
|
}
|
|
361
537
|
/**
|
|
362
538
|
* DescribeBillDetailForOrganization返回参数结构体
|
|
@@ -473,6 +649,63 @@ export interface AdjustInfoDetail {
|
|
|
473
649
|
*/
|
|
474
650
|
AdjustAmount?: number;
|
|
475
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* DescribeBillList返回参数结构体
|
|
654
|
+
*/
|
|
655
|
+
export interface DescribeBillListResponse {
|
|
656
|
+
/**
|
|
657
|
+
* 收支明细列表
|
|
658
|
+
*/
|
|
659
|
+
TransactionList?: Array<BillTransactionInfo>;
|
|
660
|
+
/**
|
|
661
|
+
* 总条数
|
|
662
|
+
*/
|
|
663
|
+
Total?: number;
|
|
664
|
+
/**
|
|
665
|
+
* 退费总额,单位(分)
|
|
666
|
+
*/
|
|
667
|
+
ReturnAmount?: number;
|
|
668
|
+
/**
|
|
669
|
+
* 充值总额,单位(分)
|
|
670
|
+
*/
|
|
671
|
+
RechargeAmount?: number;
|
|
672
|
+
/**
|
|
673
|
+
* 冻结总额,单位(分)
|
|
674
|
+
*/
|
|
675
|
+
BlockAmount?: number;
|
|
676
|
+
/**
|
|
677
|
+
* 解冻总额,单位(分)
|
|
678
|
+
*/
|
|
679
|
+
UnblockAmount?: number;
|
|
680
|
+
/**
|
|
681
|
+
* 扣费总额,单位(分)
|
|
682
|
+
*/
|
|
683
|
+
DeductAmount?: number;
|
|
684
|
+
/**
|
|
685
|
+
* 资金转入总额,单位(分)
|
|
686
|
+
*/
|
|
687
|
+
AgentInAmount?: number;
|
|
688
|
+
/**
|
|
689
|
+
* 垫付充值总额,单位(分)
|
|
690
|
+
*/
|
|
691
|
+
AdvanceRechargeAmount?: number;
|
|
692
|
+
/**
|
|
693
|
+
* 提现扣减总额,单位(分)
|
|
694
|
+
*/
|
|
695
|
+
WithdrawAmount?: number;
|
|
696
|
+
/**
|
|
697
|
+
* 资金转出总额,单位(分)
|
|
698
|
+
*/
|
|
699
|
+
AgentOutAmount?: number;
|
|
700
|
+
/**
|
|
701
|
+
* 还垫付总额,单位(分)
|
|
702
|
+
*/
|
|
703
|
+
AdvancePayAmount?: number;
|
|
704
|
+
/**
|
|
705
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
706
|
+
*/
|
|
707
|
+
RequestId?: string;
|
|
708
|
+
}
|
|
476
709
|
/**
|
|
477
710
|
* DescribeAllocateConditions请求参数结构体
|
|
478
711
|
*/
|
|
@@ -482,6 +715,19 @@ export interface DescribeAllocateConditionsRequest {
|
|
|
482
715
|
*/
|
|
483
716
|
Month?: string;
|
|
484
717
|
}
|
|
718
|
+
/**
|
|
719
|
+
* CreateAllocationRule请求参数结构体
|
|
720
|
+
*/
|
|
721
|
+
export interface CreateAllocationRuleRequest {
|
|
722
|
+
/**
|
|
723
|
+
* 公摊规则列表
|
|
724
|
+
*/
|
|
725
|
+
RuleList: AllocationRulesSummary;
|
|
726
|
+
/**
|
|
727
|
+
* 月份,不传默认当前月
|
|
728
|
+
*/
|
|
729
|
+
Month?: string;
|
|
730
|
+
}
|
|
485
731
|
/**
|
|
486
732
|
* 消耗按地域汇总详情
|
|
487
733
|
*/
|
|
@@ -523,6 +769,51 @@ export interface ConsumptionRegionSummaryDataItem {
|
|
|
523
769
|
*/
|
|
524
770
|
TransferPayAmount?: string;
|
|
525
771
|
}
|
|
772
|
+
/**
|
|
773
|
+
* DescribeAllocationUnitDetail返回参数结构体
|
|
774
|
+
*/
|
|
775
|
+
export interface DescribeAllocationUnitDetailResponse {
|
|
776
|
+
/**
|
|
777
|
+
* 分账单元ID
|
|
778
|
+
*/
|
|
779
|
+
Id?: number;
|
|
780
|
+
/**
|
|
781
|
+
* 分账单元所属UIN
|
|
782
|
+
*/
|
|
783
|
+
Uin?: string;
|
|
784
|
+
/**
|
|
785
|
+
* 分账单元名称
|
|
786
|
+
*/
|
|
787
|
+
Name?: string;
|
|
788
|
+
/**
|
|
789
|
+
* 分账单元父节点ID
|
|
790
|
+
*/
|
|
791
|
+
ParentId?: number;
|
|
792
|
+
/**
|
|
793
|
+
* 源组织名称
|
|
794
|
+
*/
|
|
795
|
+
SourceName?: string;
|
|
796
|
+
/**
|
|
797
|
+
* 源组织ID
|
|
798
|
+
*/
|
|
799
|
+
SourceId?: string;
|
|
800
|
+
/**
|
|
801
|
+
* 备注说明
|
|
802
|
+
*/
|
|
803
|
+
Remark?: string;
|
|
804
|
+
/**
|
|
805
|
+
* 分账单元标识
|
|
806
|
+
*/
|
|
807
|
+
TreeNodeUniqKey?: string;
|
|
808
|
+
/**
|
|
809
|
+
* 若分账单元设置归集规则,返回归集规则ID,若无分账规则,则不返回
|
|
810
|
+
*/
|
|
811
|
+
RuleId?: number;
|
|
812
|
+
/**
|
|
813
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
814
|
+
*/
|
|
815
|
+
RequestId?: string;
|
|
816
|
+
}
|
|
526
817
|
/**
|
|
527
818
|
* DescribeBillSummary请求参数结构体
|
|
528
819
|
*/
|
|
@@ -881,6 +1172,19 @@ export interface TagSummaryOverviewItem {
|
|
|
881
1172
|
*/
|
|
882
1173
|
TotalCost?: string;
|
|
883
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* DescribeGatherRuleDetail请求参数结构体
|
|
1177
|
+
*/
|
|
1178
|
+
export interface DescribeGatherRuleDetailRequest {
|
|
1179
|
+
/**
|
|
1180
|
+
* 所查询归集规则ID
|
|
1181
|
+
*/
|
|
1182
|
+
Id: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* 月份,不传默认当前月
|
|
1185
|
+
*/
|
|
1186
|
+
Month?: string;
|
|
1187
|
+
}
|
|
884
1188
|
/**
|
|
885
1189
|
* 经销账单明细数据对象
|
|
886
1190
|
*/
|
|
@@ -1451,6 +1755,32 @@ export interface DescribeAllocationTrendByMonthRequest {
|
|
|
1451
1755
|
*/
|
|
1452
1756
|
BusinessCode?: string;
|
|
1453
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
* 分账单元id和名称
|
|
1760
|
+
*/
|
|
1761
|
+
export interface AllocationUnit {
|
|
1762
|
+
/**
|
|
1763
|
+
* 分账单元ID
|
|
1764
|
+
*/
|
|
1765
|
+
NodeId?: number;
|
|
1766
|
+
/**
|
|
1767
|
+
* 分账规则名称
|
|
1768
|
+
*/
|
|
1769
|
+
TreeNodeUniqKeyName?: string;
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* 分摊比例表达式
|
|
1773
|
+
*/
|
|
1774
|
+
export interface AllocationRationExpression {
|
|
1775
|
+
/**
|
|
1776
|
+
* 公摊规则所属分账单元ID
|
|
1777
|
+
*/
|
|
1778
|
+
NodeId: number;
|
|
1779
|
+
/**
|
|
1780
|
+
* 分账单元所占公摊比例,按占比分摊传0
|
|
1781
|
+
*/
|
|
1782
|
+
Ratio: number;
|
|
1783
|
+
}
|
|
1454
1784
|
/**
|
|
1455
1785
|
* DescribeVoucherUsageDetails返回参数结构体
|
|
1456
1786
|
*/
|
|
@@ -1868,6 +2198,51 @@ export interface AnalyseProjectDetail {
|
|
|
1868
2198
|
*/
|
|
1869
2199
|
ProjectName?: string;
|
|
1870
2200
|
}
|
|
2201
|
+
/**
|
|
2202
|
+
* 按项目汇总消费详情
|
|
2203
|
+
*/
|
|
2204
|
+
export interface ProjectSummaryOverviewItem {
|
|
2205
|
+
/**
|
|
2206
|
+
* 项目ID
|
|
2207
|
+
*/
|
|
2208
|
+
ProjectId: string;
|
|
2209
|
+
/**
|
|
2210
|
+
* 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
|
2211
|
+
*/
|
|
2212
|
+
ProjectName: string;
|
|
2213
|
+
/**
|
|
2214
|
+
* 费用所占百分比,两位小数
|
|
2215
|
+
*/
|
|
2216
|
+
RealTotalCostRatio: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* 优惠后总价
|
|
2219
|
+
*/
|
|
2220
|
+
RealTotalCost: string;
|
|
2221
|
+
/**
|
|
2222
|
+
* 现金账户支出:通过现金账户支付的金额
|
|
2223
|
+
*/
|
|
2224
|
+
CashPayAmount: string;
|
|
2225
|
+
/**
|
|
2226
|
+
* 赠送账户支出:使用赠送金支付的金额
|
|
2227
|
+
*/
|
|
2228
|
+
IncentivePayAmount: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
2231
|
+
*/
|
|
2232
|
+
VoucherPayAmount: string;
|
|
2233
|
+
/**
|
|
2234
|
+
* 分成金账户支出:通过分成金账户支付的金额
|
|
2235
|
+
*/
|
|
2236
|
+
TransferPayAmount: string;
|
|
2237
|
+
/**
|
|
2238
|
+
* 账单月份,格式2019-08
|
|
2239
|
+
*/
|
|
2240
|
+
BillMonth: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
2243
|
+
*/
|
|
2244
|
+
TotalCost: string;
|
|
2245
|
+
}
|
|
1871
2246
|
/**
|
|
1872
2247
|
* DescribeBillSummaryByTag返回参数结构体
|
|
1873
2248
|
*/
|
|
@@ -1891,6 +2266,23 @@ export interface DescribeBillSummaryByTagResponse {
|
|
|
1891
2266
|
*/
|
|
1892
2267
|
RequestId?: string;
|
|
1893
2268
|
}
|
|
2269
|
+
/**
|
|
2270
|
+
* ModifyGatherRule请求参数结构体
|
|
2271
|
+
*/
|
|
2272
|
+
export interface ModifyGatherRuleRequest {
|
|
2273
|
+
/**
|
|
2274
|
+
* 所编辑归集规则ID
|
|
2275
|
+
*/
|
|
2276
|
+
Id: number;
|
|
2277
|
+
/**
|
|
2278
|
+
* 所编辑分账规则详情
|
|
2279
|
+
*/
|
|
2280
|
+
RuleDetail: AllocationRuleExpression;
|
|
2281
|
+
/**
|
|
2282
|
+
* 月份,不传默认当前月
|
|
2283
|
+
*/
|
|
2284
|
+
Month?: string;
|
|
2285
|
+
}
|
|
1894
2286
|
/**
|
|
1895
2287
|
* 账单多维度汇总消费详情
|
|
1896
2288
|
*/
|
|
@@ -2142,13 +2534,30 @@ export interface AnalyseDetail {
|
|
|
2142
2534
|
TimeDetail?: Array<AnalyseTimeDetail>;
|
|
2143
2535
|
}
|
|
2144
2536
|
/**
|
|
2145
|
-
* 日期筛选列表
|
|
2537
|
+
* 日期筛选列表
|
|
2538
|
+
*/
|
|
2539
|
+
export interface BillDays {
|
|
2540
|
+
/**
|
|
2541
|
+
* 日期:结算日期
|
|
2542
|
+
*/
|
|
2543
|
+
BillDay: string;
|
|
2544
|
+
}
|
|
2545
|
+
/**
|
|
2546
|
+
* DescribeAllocationRuleSummary返回参数结构体
|
|
2146
2547
|
*/
|
|
2147
|
-
export interface
|
|
2548
|
+
export interface DescribeAllocationRuleSummaryResponse {
|
|
2148
2549
|
/**
|
|
2149
|
-
*
|
|
2550
|
+
* 公摊规则表达式
|
|
2150
2551
|
*/
|
|
2151
|
-
|
|
2552
|
+
RuleList?: Array<AllocationRuleOverview>;
|
|
2553
|
+
/**
|
|
2554
|
+
* 规则总数
|
|
2555
|
+
*/
|
|
2556
|
+
Total?: number;
|
|
2557
|
+
/**
|
|
2558
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2559
|
+
*/
|
|
2560
|
+
RequestId?: string;
|
|
2152
2561
|
}
|
|
2153
2562
|
/**
|
|
2154
2563
|
* 成本分析金额返回数据模型
|
|
@@ -2180,6 +2589,23 @@ export interface DescribeBillSummaryByProjectRequest {
|
|
|
2180
2589
|
*/
|
|
2181
2590
|
PayerUin?: string;
|
|
2182
2591
|
}
|
|
2592
|
+
/**
|
|
2593
|
+
* CreateGatherRule请求参数结构体
|
|
2594
|
+
*/
|
|
2595
|
+
export interface CreateGatherRuleRequest {
|
|
2596
|
+
/**
|
|
2597
|
+
* 规则所属分账单元ID
|
|
2598
|
+
*/
|
|
2599
|
+
Id: number;
|
|
2600
|
+
/**
|
|
2601
|
+
* 归集规则详情
|
|
2602
|
+
*/
|
|
2603
|
+
RuleList: GatherRuleSummary;
|
|
2604
|
+
/**
|
|
2605
|
+
* 月份,不传默认当前月
|
|
2606
|
+
*/
|
|
2607
|
+
Month?: string;
|
|
2608
|
+
}
|
|
2183
2609
|
/**
|
|
2184
2610
|
* DescribeBillResourceSummaryForOrganization请求参数结构体
|
|
2185
2611
|
*/
|
|
@@ -2415,6 +2841,15 @@ export interface DescribeBillSummaryByPayModeRequest {
|
|
|
2415
2841
|
*/
|
|
2416
2842
|
PayerUin?: string;
|
|
2417
2843
|
}
|
|
2844
|
+
/**
|
|
2845
|
+
* DeleteGatherRule返回参数结构体
|
|
2846
|
+
*/
|
|
2847
|
+
export interface DeleteGatherRuleResponse {
|
|
2848
|
+
/**
|
|
2849
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2850
|
+
*/
|
|
2851
|
+
RequestId?: string;
|
|
2852
|
+
}
|
|
2418
2853
|
/**
|
|
2419
2854
|
* DescribeAllocationBillConditions请求参数结构体
|
|
2420
2855
|
*/
|
|
@@ -2693,6 +3128,19 @@ export interface AllocationSummaryByResource {
|
|
|
2693
3128
|
*/
|
|
2694
3129
|
BillMonth?: string;
|
|
2695
3130
|
}
|
|
3131
|
+
/**
|
|
3132
|
+
* DescribeAllocationRuleDetail请求参数结构体
|
|
3133
|
+
*/
|
|
3134
|
+
export interface DescribeAllocationRuleDetailRequest {
|
|
3135
|
+
/**
|
|
3136
|
+
* 所查询公摊规则ID
|
|
3137
|
+
*/
|
|
3138
|
+
RuleId: number;
|
|
3139
|
+
/**
|
|
3140
|
+
* 月份,不传默认当前月
|
|
3141
|
+
*/
|
|
3142
|
+
Month?: string;
|
|
3143
|
+
}
|
|
2696
3144
|
/**
|
|
2697
3145
|
* 分账账单月概览详情
|
|
2698
3146
|
*/
|
|
@@ -2769,6 +3217,15 @@ export interface AllocationTreeNode {
|
|
|
2769
3217
|
*/
|
|
2770
3218
|
TreeNodeUniqKeyName?: string;
|
|
2771
3219
|
}
|
|
3220
|
+
/**
|
|
3221
|
+
* 归集规则列表
|
|
3222
|
+
*/
|
|
3223
|
+
export interface GatherRuleSummary {
|
|
3224
|
+
/**
|
|
3225
|
+
* 分账规则表达式
|
|
3226
|
+
*/
|
|
3227
|
+
RuleDetail: AllocationRuleExpression;
|
|
3228
|
+
}
|
|
2772
3229
|
/**
|
|
2773
3230
|
* PayDeals返回参数结构体
|
|
2774
3231
|
*/
|
|
@@ -2790,6 +3247,64 @@ export interface PayDealsResponse {
|
|
|
2790
3247
|
*/
|
|
2791
3248
|
RequestId?: string;
|
|
2792
3249
|
}
|
|
3250
|
+
/**
|
|
3251
|
+
* DescribeCostSummaryByProject请求参数结构体
|
|
3252
|
+
*/
|
|
3253
|
+
export interface DescribeCostSummaryByProjectRequest {
|
|
3254
|
+
/**
|
|
3255
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
3256
|
+
*/
|
|
3257
|
+
BeginTime: string;
|
|
3258
|
+
/**
|
|
3259
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
3260
|
+
*/
|
|
3261
|
+
EndTime: string;
|
|
3262
|
+
/**
|
|
3263
|
+
* 每次获取数据量,最大值为100
|
|
3264
|
+
*/
|
|
3265
|
+
Limit: number;
|
|
3266
|
+
/**
|
|
3267
|
+
* 偏移量,默认从0开始
|
|
3268
|
+
*/
|
|
3269
|
+
Offset: number;
|
|
3270
|
+
/**
|
|
3271
|
+
* 查询账单数据的用户UIN
|
|
3272
|
+
*/
|
|
3273
|
+
PayerUin?: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* 是否需要返回记录数量,0不需要,1需要,默认不需要
|
|
3276
|
+
*/
|
|
3277
|
+
NeedRecordNum?: number;
|
|
3278
|
+
}
|
|
3279
|
+
/**
|
|
3280
|
+
* 明细账单关联单据信息
|
|
3281
|
+
*/
|
|
3282
|
+
export interface BillDetailAssociatedOrder {
|
|
3283
|
+
/**
|
|
3284
|
+
* 新购订单
|
|
3285
|
+
*/
|
|
3286
|
+
PrepayPurchase?: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* 续费订单
|
|
3289
|
+
*/
|
|
3290
|
+
PrepayRenew?: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* 升配订单
|
|
3293
|
+
*/
|
|
3294
|
+
PrepayModifyUp?: string;
|
|
3295
|
+
/**
|
|
3296
|
+
* 冲销订单
|
|
3297
|
+
*/
|
|
3298
|
+
ReverseOrder?: string;
|
|
3299
|
+
/**
|
|
3300
|
+
* 优惠调整后订单
|
|
3301
|
+
*/
|
|
3302
|
+
NewOrder?: string;
|
|
3303
|
+
/**
|
|
3304
|
+
* 优惠调整前订单
|
|
3305
|
+
*/
|
|
3306
|
+
Original?: string;
|
|
3307
|
+
}
|
|
2793
3308
|
/**
|
|
2794
3309
|
* 账单明细数据对象
|
|
2795
3310
|
*/
|
|
@@ -3167,6 +3682,15 @@ export interface DescribeBillAdjustInfoRequest {
|
|
|
3167
3682
|
*/
|
|
3168
3683
|
TimeTo?: string;
|
|
3169
3684
|
}
|
|
3685
|
+
/**
|
|
3686
|
+
* DeleteAllocationRule返回参数结构体
|
|
3687
|
+
*/
|
|
3688
|
+
export interface DeleteAllocationRuleResponse {
|
|
3689
|
+
/**
|
|
3690
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3691
|
+
*/
|
|
3692
|
+
RequestId?: string;
|
|
3693
|
+
}
|
|
3170
3694
|
/**
|
|
3171
3695
|
* 标签信息
|
|
3172
3696
|
*/
|
|
@@ -3785,84 +4309,26 @@ export interface AnalyseRegionDetail {
|
|
|
3785
4309
|
RegionName?: string;
|
|
3786
4310
|
}
|
|
3787
4311
|
/**
|
|
3788
|
-
*
|
|
4312
|
+
* 商品详细信息
|
|
3789
4313
|
*/
|
|
3790
|
-
export interface
|
|
3791
|
-
/**
|
|
3792
|
-
* 归集费用(现金):基于归集规则直接归集到分账单元的现金
|
|
3793
|
-
*/
|
|
3794
|
-
GatherCashPayAmount?: string;
|
|
3795
|
-
/**
|
|
3796
|
-
* 归集费用(优惠券):基于归集规则直接归集到分账单元的资源优惠券
|
|
3797
|
-
*/
|
|
3798
|
-
GatherVoucherPayAmount?: string;
|
|
3799
|
-
/**
|
|
3800
|
-
* 归集费用(赠送金):基于归集规则直接归集到分账单元的资源赠送金
|
|
3801
|
-
*/
|
|
3802
|
-
GatherIncentivePayAmount?: string;
|
|
3803
|
-
/**
|
|
3804
|
-
* 归集费用(分成金):基于归集规则直接归集到分账单元的资源分成金
|
|
3805
|
-
*/
|
|
3806
|
-
GatherTransferPayAmount?: string;
|
|
3807
|
-
/**
|
|
3808
|
-
* 分摊费用(现金):基于分摊规则分摊到分账单元的资源现金
|
|
3809
|
-
*/
|
|
3810
|
-
AllocateCashPayAmount?: string;
|
|
3811
|
-
/**
|
|
3812
|
-
* 分摊费用(优惠券):基于分摊规则分摊到分账单元的资源优惠券
|
|
3813
|
-
*/
|
|
3814
|
-
AllocateVoucherPayAmount?: string;
|
|
3815
|
-
/**
|
|
3816
|
-
* 分摊费用(赠送金):基于分摊规则分摊到分账单元的资源赠送金
|
|
3817
|
-
*/
|
|
3818
|
-
AllocateIncentivePayAmount?: string;
|
|
3819
|
-
/**
|
|
3820
|
-
* 分摊费用(分成金):基于分摊规则分摊到分账单元的资源分成金
|
|
3821
|
-
*/
|
|
3822
|
-
AllocateTransferPayAmount?: string;
|
|
3823
|
-
/**
|
|
3824
|
-
* 合计费用(现金):分账单元总费用,归集费用(现金) + 分摊费用(现金)
|
|
3825
|
-
*/
|
|
3826
|
-
TotalCashPayAmount?: string;
|
|
3827
|
-
/**
|
|
3828
|
-
* 合计费用(优惠券):分账单元总费用,归集费用(优惠券) + 分摊费用(优惠券)
|
|
3829
|
-
*/
|
|
3830
|
-
TotalVoucherPayAmount?: string;
|
|
3831
|
-
/**
|
|
3832
|
-
* 合计费用(赠送金):分账单元总费用,归集费用(赠送金) + 分摊费用(赠送金)
|
|
3833
|
-
*/
|
|
3834
|
-
TotalIncentivePayAmount?: string;
|
|
3835
|
-
/**
|
|
3836
|
-
* 合计费用(分成金):分账单元总费用,归集费用(分成金)+分摊费用(分成金)
|
|
3837
|
-
*/
|
|
3838
|
-
TotalTransferPayAmount?: string;
|
|
3839
|
-
/**
|
|
3840
|
-
* 归集费用(折后总额):基于归集规则直接归集到分账单元的资源优惠后总价
|
|
3841
|
-
*/
|
|
3842
|
-
GatherRealCost?: string;
|
|
3843
|
-
/**
|
|
3844
|
-
* 分摊费用(折后总额):基于分摊规则分摊到分账单元的资源优惠后总价
|
|
3845
|
-
*/
|
|
3846
|
-
AllocateRealCost?: string;
|
|
3847
|
-
/**
|
|
3848
|
-
* 合计费用(折后总额):分账单元总费用,归集费用(折后总额) + 分摊费用(折后总额)
|
|
3849
|
-
*/
|
|
3850
|
-
RealTotalCost?: string;
|
|
4314
|
+
export interface ProductInfo {
|
|
3851
4315
|
/**
|
|
3852
|
-
*
|
|
4316
|
+
* 商品详情名称标识
|
|
3853
4317
|
*/
|
|
3854
|
-
|
|
4318
|
+
Name: string;
|
|
3855
4319
|
/**
|
|
3856
|
-
*
|
|
4320
|
+
* 商品详情
|
|
3857
4321
|
*/
|
|
3858
|
-
|
|
4322
|
+
Value: string;
|
|
4323
|
+
}
|
|
4324
|
+
/**
|
|
4325
|
+
* DeleteAllocationTag返回参数结构体
|
|
4326
|
+
*/
|
|
4327
|
+
export interface DeleteAllocationTagResponse {
|
|
3859
4328
|
/**
|
|
3860
|
-
*
|
|
3861
|
-
upward -上升
|
|
3862
|
-
downward - 下降
|
|
3863
|
-
none - 平稳
|
|
4329
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3864
4330
|
*/
|
|
3865
|
-
|
|
4331
|
+
RequestId?: string;
|
|
3866
4332
|
}
|
|
3867
4333
|
/**
|
|
3868
4334
|
* 分账账单明细
|
|
@@ -4224,6 +4690,19 @@ export interface VoucherInfos {
|
|
|
4224
4690
|
*/
|
|
4225
4691
|
CreateTime?: string;
|
|
4226
4692
|
}
|
|
4693
|
+
/**
|
|
4694
|
+
* DescribeAllocationUnitDetail请求参数结构体
|
|
4695
|
+
*/
|
|
4696
|
+
export interface DescribeAllocationUnitDetailRequest {
|
|
4697
|
+
/**
|
|
4698
|
+
* 所查询分账单元Id
|
|
4699
|
+
*/
|
|
4700
|
+
Id: number;
|
|
4701
|
+
/**
|
|
4702
|
+
* 月份,不传默认当前月
|
|
4703
|
+
*/
|
|
4704
|
+
Month?: string;
|
|
4705
|
+
}
|
|
4227
4706
|
/**
|
|
4228
4707
|
* DescribeBillSummaryForOrganization请求参数结构体
|
|
4229
4708
|
*/
|
|
@@ -4383,6 +4862,15 @@ export interface AllocationStat {
|
|
|
4383
4862
|
*/
|
|
4384
4863
|
Average?: AllocationAverageData;
|
|
4385
4864
|
}
|
|
4865
|
+
/**
|
|
4866
|
+
* ModifyGatherRule返回参数结构体
|
|
4867
|
+
*/
|
|
4868
|
+
export interface ModifyGatherRuleResponse {
|
|
4869
|
+
/**
|
|
4870
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4871
|
+
*/
|
|
4872
|
+
RequestId?: string;
|
|
4873
|
+
}
|
|
4386
4874
|
/**
|
|
4387
4875
|
* 项目筛选列表
|
|
4388
4876
|
*/
|
|
@@ -4831,6 +5319,31 @@ export interface ConsumptionResourceSummaryConditionValue {
|
|
|
4831
5319
|
*/
|
|
4832
5320
|
PayMode: Array<ConditionPayMode>;
|
|
4833
5321
|
}
|
|
5322
|
+
/**
|
|
5323
|
+
* DescribeCostSummaryByRegion返回参数结构体
|
|
5324
|
+
*/
|
|
5325
|
+
export interface DescribeCostSummaryByRegionResponse {
|
|
5326
|
+
/**
|
|
5327
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
5328
|
+
*/
|
|
5329
|
+
Ready?: number;
|
|
5330
|
+
/**
|
|
5331
|
+
* 消耗详情
|
|
5332
|
+
*/
|
|
5333
|
+
Total?: ConsumptionSummaryTotal;
|
|
5334
|
+
/**
|
|
5335
|
+
* 消耗按地域汇总详情
|
|
5336
|
+
*/
|
|
5337
|
+
Data?: Array<ConsumptionRegionSummaryDataItem>;
|
|
5338
|
+
/**
|
|
5339
|
+
* 记录数量,NeedRecordNum为0时返回null
|
|
5340
|
+
*/
|
|
5341
|
+
RecordNum?: number;
|
|
5342
|
+
/**
|
|
5343
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5344
|
+
*/
|
|
5345
|
+
RequestId?: string;
|
|
5346
|
+
}
|
|
4834
5347
|
/**
|
|
4835
5348
|
* DescribeCostDetail请求参数结构体
|
|
4836
5349
|
*/
|
|
@@ -5040,42 +5553,22 @@ export interface DescribeBillResourceSummaryForOrganizationResponse {
|
|
|
5040
5553
|
ResourceSummarySet?: Array<BillDistributionResourceSummary>;
|
|
5041
5554
|
/**
|
|
5042
5555
|
* 资源汇总列表总数,入参NeedRecordNum为0时不返回
|
|
5043
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5044
|
-
*/
|
|
5045
|
-
Total?: number;
|
|
5046
|
-
/**
|
|
5047
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5048
|
-
*/
|
|
5049
|
-
RequestId?: string;
|
|
5050
|
-
}
|
|
5051
|
-
/**
|
|
5052
|
-
* DescribeCostSummaryByProject请求参数结构体
|
|
5053
|
-
*/
|
|
5054
|
-
export interface DescribeCostSummaryByProjectRequest {
|
|
5055
|
-
/**
|
|
5056
|
-
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
5057
|
-
*/
|
|
5058
|
-
BeginTime: string;
|
|
5059
|
-
/**
|
|
5060
|
-
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
5061
|
-
*/
|
|
5062
|
-
EndTime: string;
|
|
5063
|
-
/**
|
|
5064
|
-
* 每次获取数据量,最大值为100
|
|
5065
|
-
*/
|
|
5066
|
-
Limit: number;
|
|
5067
|
-
/**
|
|
5068
|
-
* 偏移量,默认从0开始
|
|
5556
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5069
5557
|
*/
|
|
5070
|
-
|
|
5558
|
+
Total?: number;
|
|
5071
5559
|
/**
|
|
5072
|
-
*
|
|
5560
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5073
5561
|
*/
|
|
5074
|
-
|
|
5562
|
+
RequestId?: string;
|
|
5563
|
+
}
|
|
5564
|
+
/**
|
|
5565
|
+
* DescribeAllocationTree请求参数结构体
|
|
5566
|
+
*/
|
|
5567
|
+
export interface DescribeAllocationTreeRequest {
|
|
5075
5568
|
/**
|
|
5076
|
-
*
|
|
5569
|
+
* 月份,不传默认当前月
|
|
5077
5570
|
*/
|
|
5078
|
-
|
|
5571
|
+
Month?: string;
|
|
5079
5572
|
}
|
|
5080
5573
|
/**
|
|
5081
5574
|
* DescribeCostSummaryByResource请求参数结构体
|
|
@@ -5195,6 +5688,42 @@ export interface BillBusiness {
|
|
|
5195
5688
|
*/
|
|
5196
5689
|
BusinessCodeName: string;
|
|
5197
5690
|
}
|
|
5691
|
+
/**
|
|
5692
|
+
* DescribeAllocationRuleDetail返回参数结构体
|
|
5693
|
+
*/
|
|
5694
|
+
export interface DescribeAllocationRuleDetailResponse {
|
|
5695
|
+
/**
|
|
5696
|
+
* 公摊规则ID
|
|
5697
|
+
*/
|
|
5698
|
+
Id?: number;
|
|
5699
|
+
/**
|
|
5700
|
+
* 公摊规则所属UIN
|
|
5701
|
+
*/
|
|
5702
|
+
Uin?: string;
|
|
5703
|
+
/**
|
|
5704
|
+
* 公摊规则名称
|
|
5705
|
+
*/
|
|
5706
|
+
Name?: string;
|
|
5707
|
+
/**
|
|
5708
|
+
* 公摊策略类型,枚举值如下:
|
|
5709
|
+
1 - 自定义分摊占比
|
|
5710
|
+
2 - 等比分摊
|
|
5711
|
+
3 - 按占比分摊
|
|
5712
|
+
*/
|
|
5713
|
+
Type?: number;
|
|
5714
|
+
/**
|
|
5715
|
+
* 公摊规则表达式
|
|
5716
|
+
*/
|
|
5717
|
+
RuleDetail?: AllocationRuleExpression;
|
|
5718
|
+
/**
|
|
5719
|
+
* 公摊比例表达式,Type为1和2时返回
|
|
5720
|
+
*/
|
|
5721
|
+
RatioDetail?: Array<AllocationRationExpression>;
|
|
5722
|
+
/**
|
|
5723
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5724
|
+
*/
|
|
5725
|
+
RequestId?: string;
|
|
5726
|
+
}
|
|
5198
5727
|
/**
|
|
5199
5728
|
* 购买商品信息
|
|
5200
5729
|
*/
|
|
@@ -5447,6 +5976,35 @@ export interface CreateAllocationTagResponse {
|
|
|
5447
5976
|
*/
|
|
5448
5977
|
RequestId?: string;
|
|
5449
5978
|
}
|
|
5979
|
+
/**
|
|
5980
|
+
* ModifyAllocationUnit请求参数结构体
|
|
5981
|
+
*/
|
|
5982
|
+
export interface ModifyAllocationUnitRequest {
|
|
5983
|
+
/**
|
|
5984
|
+
* 所修改分账单元ID
|
|
5985
|
+
*/
|
|
5986
|
+
Id: number;
|
|
5987
|
+
/**
|
|
5988
|
+
* 修改后分账单元名称
|
|
5989
|
+
*/
|
|
5990
|
+
Name?: string;
|
|
5991
|
+
/**
|
|
5992
|
+
* 修改后分账单元源组织名称
|
|
5993
|
+
*/
|
|
5994
|
+
SourceName?: string;
|
|
5995
|
+
/**
|
|
5996
|
+
* 修改后分账单元源组织ID
|
|
5997
|
+
*/
|
|
5998
|
+
SourceId?: string;
|
|
5999
|
+
/**
|
|
6000
|
+
* 分账单元备注说明
|
|
6001
|
+
*/
|
|
6002
|
+
Remark?: string;
|
|
6003
|
+
/**
|
|
6004
|
+
* 月份,不传默认当前月
|
|
6005
|
+
*/
|
|
6006
|
+
Month?: string;
|
|
6007
|
+
}
|
|
5450
6008
|
/**
|
|
5451
6009
|
* DescribeBillDownloadUrl返回参数结构体
|
|
5452
6010
|
*/
|
|
@@ -5670,6 +6228,7 @@ export interface DescribeBillDetailRequest {
|
|
|
5670
6228
|
NeedRecordNum?: number;
|
|
5671
6229
|
/**
|
|
5672
6230
|
* 已废弃参数,未开放
|
|
6231
|
+
* @deprecated
|
|
5673
6232
|
*/
|
|
5674
6233
|
ProductCode?: string;
|
|
5675
6234
|
/**
|
|
@@ -5786,90 +6345,41 @@ export interface DescribeVoucherInfoResponse {
|
|
|
5786
6345
|
RequestId?: string;
|
|
5787
6346
|
}
|
|
5788
6347
|
/**
|
|
5789
|
-
*
|
|
6348
|
+
* 公摊规则列表
|
|
5790
6349
|
*/
|
|
5791
|
-
export interface
|
|
5792
|
-
/**
|
|
5793
|
-
* 新购订单
|
|
5794
|
-
*/
|
|
5795
|
-
PrepayPurchase?: string;
|
|
5796
|
-
/**
|
|
5797
|
-
* 续费订单
|
|
5798
|
-
*/
|
|
5799
|
-
PrepayRenew?: string;
|
|
6350
|
+
export interface AllocationRulesSummary {
|
|
5800
6351
|
/**
|
|
5801
|
-
*
|
|
6352
|
+
* 新增公摊规则名称
|
|
5802
6353
|
*/
|
|
5803
|
-
|
|
6354
|
+
Name: string;
|
|
5804
6355
|
/**
|
|
5805
|
-
*
|
|
6356
|
+
* 公摊策略类型,枚举值如下:
|
|
6357
|
+
1 - 自定义分摊占比
|
|
6358
|
+
2 - 等比分摊
|
|
6359
|
+
3 - 按占比分摊
|
|
5806
6360
|
*/
|
|
5807
|
-
|
|
6361
|
+
Type: number;
|
|
5808
6362
|
/**
|
|
5809
|
-
*
|
|
6363
|
+
* 公摊规则表达式
|
|
5810
6364
|
*/
|
|
5811
|
-
|
|
6365
|
+
RuleDetail: AllocationRuleExpression;
|
|
5812
6366
|
/**
|
|
5813
|
-
*
|
|
6367
|
+
* 公摊比例表达式,按占比分摊不传
|
|
5814
6368
|
*/
|
|
5815
|
-
|
|
6369
|
+
RatioDetail?: Array<AllocationRationExpression>;
|
|
5816
6370
|
}
|
|
5817
6371
|
/**
|
|
5818
|
-
*
|
|
6372
|
+
* DeleteGatherRule请求参数结构体
|
|
5819
6373
|
*/
|
|
5820
|
-
export interface
|
|
5821
|
-
/**
|
|
5822
|
-
* 收支明细列表
|
|
5823
|
-
*/
|
|
5824
|
-
TransactionList?: Array<BillTransactionInfo>;
|
|
5825
|
-
/**
|
|
5826
|
-
* 总条数
|
|
5827
|
-
*/
|
|
5828
|
-
Total?: number;
|
|
5829
|
-
/**
|
|
5830
|
-
* 退费总额,单位(分)
|
|
5831
|
-
*/
|
|
5832
|
-
ReturnAmount?: number;
|
|
5833
|
-
/**
|
|
5834
|
-
* 充值总额,单位(分)
|
|
5835
|
-
*/
|
|
5836
|
-
RechargeAmount?: number;
|
|
5837
|
-
/**
|
|
5838
|
-
* 冻结总额,单位(分)
|
|
5839
|
-
*/
|
|
5840
|
-
BlockAmount?: number;
|
|
6374
|
+
export interface DeleteGatherRuleRequest {
|
|
5841
6375
|
/**
|
|
5842
|
-
*
|
|
5843
|
-
*/
|
|
5844
|
-
UnblockAmount?: number;
|
|
5845
|
-
/**
|
|
5846
|
-
* 扣费总额,单位(分)
|
|
5847
|
-
*/
|
|
5848
|
-
DeductAmount?: number;
|
|
5849
|
-
/**
|
|
5850
|
-
* 资金转入总额,单位(分)
|
|
5851
|
-
*/
|
|
5852
|
-
AgentInAmount?: number;
|
|
5853
|
-
/**
|
|
5854
|
-
* 垫付充值总额,单位(分)
|
|
5855
|
-
*/
|
|
5856
|
-
AdvanceRechargeAmount?: number;
|
|
5857
|
-
/**
|
|
5858
|
-
* 提现扣减总额,单位(分)
|
|
5859
|
-
*/
|
|
5860
|
-
WithdrawAmount?: number;
|
|
5861
|
-
/**
|
|
5862
|
-
* 资金转出总额,单位(分)
|
|
5863
|
-
*/
|
|
5864
|
-
AgentOutAmount?: number;
|
|
5865
|
-
/**
|
|
5866
|
-
* 还垫付总额,单位(分)
|
|
6376
|
+
* 所删除归集规则ID
|
|
5867
6377
|
*/
|
|
5868
|
-
|
|
6378
|
+
RuleId: number;
|
|
5869
6379
|
/**
|
|
5870
|
-
*
|
|
6380
|
+
* 月份,不传默认当前月
|
|
5871
6381
|
*/
|
|
5872
|
-
|
|
6382
|
+
Month?: string;
|
|
5873
6383
|
}
|
|
5874
6384
|
/**
|
|
5875
6385
|
* DescribeAccountBalance返回参数结构体
|
|
@@ -6000,6 +6510,19 @@ export interface BusinessSummaryOverviewItem {
|
|
|
6000
6510
|
*/
|
|
6001
6511
|
TotalCost?: string;
|
|
6002
6512
|
}
|
|
6513
|
+
/**
|
|
6514
|
+
* CreateGatherRule返回参数结构体
|
|
6515
|
+
*/
|
|
6516
|
+
export interface CreateGatherRuleResponse {
|
|
6517
|
+
/**
|
|
6518
|
+
* 归集规则ID
|
|
6519
|
+
*/
|
|
6520
|
+
Id?: number;
|
|
6521
|
+
/**
|
|
6522
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6523
|
+
*/
|
|
6524
|
+
RequestId?: string;
|
|
6525
|
+
}
|
|
6003
6526
|
/**
|
|
6004
6527
|
* 标签筛选列表
|
|
6005
6528
|
*/
|
|
@@ -6107,6 +6630,15 @@ export interface DescribeDosageDetailListRequest {
|
|
|
6107
6630
|
*/
|
|
6108
6631
|
DosageType?: string;
|
|
6109
6632
|
}
|
|
6633
|
+
/**
|
|
6634
|
+
* ModifyAllocationRule返回参数结构体
|
|
6635
|
+
*/
|
|
6636
|
+
export interface ModifyAllocationRuleResponse {
|
|
6637
|
+
/**
|
|
6638
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6639
|
+
*/
|
|
6640
|
+
RequestId?: string;
|
|
6641
|
+
}
|
|
6110
6642
|
/**
|
|
6111
6643
|
* 组件类型筛选列表
|
|
6112
6644
|
*/
|
|
@@ -6480,6 +7012,23 @@ export interface DescribeAllocationSummaryByResourceResponse {
|
|
|
6480
7012
|
*/
|
|
6481
7013
|
RequestId?: string;
|
|
6482
7014
|
}
|
|
7015
|
+
/**
|
|
7016
|
+
* CreateAllocationUnit返回参数结构体
|
|
7017
|
+
*/
|
|
7018
|
+
export interface CreateAllocationUnitResponse {
|
|
7019
|
+
/**
|
|
7020
|
+
* 新增分账单元ID
|
|
7021
|
+
*/
|
|
7022
|
+
Id?: number;
|
|
7023
|
+
/**
|
|
7024
|
+
* 分账单元唯一标识
|
|
7025
|
+
*/
|
|
7026
|
+
TreeNodeUniqKey?: string;
|
|
7027
|
+
/**
|
|
7028
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7029
|
+
*/
|
|
7030
|
+
RequestId?: string;
|
|
7031
|
+
}
|
|
6483
7032
|
/**
|
|
6484
7033
|
* DescribeDosageCosDetailByDate返回参数结构体
|
|
6485
7034
|
*/
|
|
@@ -6507,49 +7056,60 @@ export interface BillItem {
|
|
|
6507
7056
|
ItemCodeName: string;
|
|
6508
7057
|
}
|
|
6509
7058
|
/**
|
|
6510
|
-
*
|
|
7059
|
+
* DeleteAllocationUnit请求参数结构体
|
|
6511
7060
|
*/
|
|
6512
|
-
export interface
|
|
6513
|
-
/**
|
|
6514
|
-
* 项目ID
|
|
6515
|
-
*/
|
|
6516
|
-
ProjectId: string;
|
|
6517
|
-
/**
|
|
6518
|
-
* 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
|
6519
|
-
*/
|
|
6520
|
-
ProjectName: string;
|
|
6521
|
-
/**
|
|
6522
|
-
* 费用所占百分比,两位小数
|
|
6523
|
-
*/
|
|
6524
|
-
RealTotalCostRatio: string;
|
|
6525
|
-
/**
|
|
6526
|
-
* 优惠后总价
|
|
6527
|
-
*/
|
|
6528
|
-
RealTotalCost: string;
|
|
7061
|
+
export interface DeleteAllocationUnitRequest {
|
|
6529
7062
|
/**
|
|
6530
|
-
*
|
|
7063
|
+
* 所删除分账单元ID
|
|
6531
7064
|
*/
|
|
6532
|
-
|
|
7065
|
+
Id: number;
|
|
6533
7066
|
/**
|
|
6534
|
-
*
|
|
7067
|
+
* 月份,不传默认当前月
|
|
6535
7068
|
*/
|
|
6536
|
-
|
|
7069
|
+
Month?: string;
|
|
7070
|
+
}
|
|
7071
|
+
/**
|
|
7072
|
+
* 分账规则表达式
|
|
7073
|
+
*/
|
|
7074
|
+
export interface AllocationRuleExpression {
|
|
6537
7075
|
/**
|
|
6538
|
-
*
|
|
7076
|
+
* RuleKey:分账维度
|
|
7077
|
+
枚举值:
|
|
7078
|
+
ownerUin - 使用者UIN,
|
|
7079
|
+
operateUin - 操作者UIN,
|
|
7080
|
+
businessCode - 产品一层编码,
|
|
7081
|
+
productCode - 产品二层编码,
|
|
7082
|
+
itemCode - 产品四层编码,
|
|
7083
|
+
projectId - 项目ID,
|
|
7084
|
+
regionId - 地域ID,
|
|
7085
|
+
resourceId - 资源ID,
|
|
7086
|
+
tag - 标签键值对,
|
|
7087
|
+
payMode - 计费模式,
|
|
7088
|
+
instanceType - 实例类型,
|
|
7089
|
+
actionType - 交易类型
|
|
7090
|
+
*/
|
|
7091
|
+
RuleKey?: string;
|
|
7092
|
+
/**
|
|
7093
|
+
* 分账维度规则
|
|
7094
|
+
枚举值:
|
|
7095
|
+
in - 是
|
|
7096
|
+
not in - 不是
|
|
6539
7097
|
*/
|
|
6540
|
-
|
|
7098
|
+
Operator?: string;
|
|
6541
7099
|
/**
|
|
6542
|
-
*
|
|
7100
|
+
* 分账维度值,例如当RuleKey为businessCode时,["p_cbs","p_sqlserver"]表示产品一层是"p_cbs","p_sqlserver"的费用
|
|
6543
7101
|
*/
|
|
6544
|
-
|
|
7102
|
+
RuleValue?: Array<string>;
|
|
6545
7103
|
/**
|
|
6546
|
-
*
|
|
7104
|
+
* 分账逻辑连接词,枚举值如下:
|
|
7105
|
+
and - 且
|
|
7106
|
+
or - 或
|
|
6547
7107
|
*/
|
|
6548
|
-
|
|
7108
|
+
Connectors?: string;
|
|
6549
7109
|
/**
|
|
6550
|
-
*
|
|
7110
|
+
* 嵌套规则
|
|
6551
7111
|
*/
|
|
6552
|
-
|
|
7112
|
+
Children?: Array<AllocationRuleExpression>;
|
|
6553
7113
|
}
|
|
6554
7114
|
/**
|
|
6555
7115
|
* 子产品筛选列表
|
|
@@ -6564,6 +7124,15 @@ export interface BillProduct {
|
|
|
6564
7124
|
*/
|
|
6565
7125
|
ProductCodeName: string;
|
|
6566
7126
|
}
|
|
7127
|
+
/**
|
|
7128
|
+
* DeleteAllocationUnit返回参数结构体
|
|
7129
|
+
*/
|
|
7130
|
+
export interface DeleteAllocationUnitResponse {
|
|
7131
|
+
/**
|
|
7132
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7133
|
+
*/
|
|
7134
|
+
RequestId?: string;
|
|
7135
|
+
}
|
|
6567
7136
|
/**
|
|
6568
7137
|
* 项目过滤条件
|
|
6569
7138
|
*/
|
|
@@ -6713,6 +7282,35 @@ export interface DescribeDosageDetail {
|
|
|
6713
7282
|
*/
|
|
6714
7283
|
SheetName?: Array<string>;
|
|
6715
7284
|
}
|
|
7285
|
+
/**
|
|
7286
|
+
* DescribeAllocationRuleSummary请求参数结构体
|
|
7287
|
+
*/
|
|
7288
|
+
export interface DescribeAllocationRuleSummaryRequest {
|
|
7289
|
+
/**
|
|
7290
|
+
* 每次获取数据量,最大值1000
|
|
7291
|
+
*/
|
|
7292
|
+
Limit: number;
|
|
7293
|
+
/**
|
|
7294
|
+
* 分页偏移量
|
|
7295
|
+
*/
|
|
7296
|
+
Offset: number;
|
|
7297
|
+
/**
|
|
7298
|
+
* 月份,不传默认当前月
|
|
7299
|
+
*/
|
|
7300
|
+
Month?: string;
|
|
7301
|
+
/**
|
|
7302
|
+
* 公摊策略类型,用于筛选。
|
|
7303
|
+
枚举值如下:
|
|
7304
|
+
1 - 自定义分摊占比
|
|
7305
|
+
2 - 等比分摊
|
|
7306
|
+
3 - 按占比分摊
|
|
7307
|
+
*/
|
|
7308
|
+
Type?: number;
|
|
7309
|
+
/**
|
|
7310
|
+
* 公摊规则名称或分账单元名称,用于模糊筛选。
|
|
7311
|
+
*/
|
|
7312
|
+
Name?: string;
|
|
7313
|
+
}
|
|
6716
7314
|
/**
|
|
6717
7315
|
* 计费模式筛选列表
|
|
6718
7316
|
*/
|
|
@@ -6747,6 +7345,15 @@ export interface DescribeAllocationTrendByMonthResponse {
|
|
|
6747
7345
|
*/
|
|
6748
7346
|
RequestId?: string;
|
|
6749
7347
|
}
|
|
7348
|
+
/**
|
|
7349
|
+
* ModifyAllocationUnit返回参数结构体
|
|
7350
|
+
*/
|
|
7351
|
+
export interface ModifyAllocationUnitResponse {
|
|
7352
|
+
/**
|
|
7353
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7354
|
+
*/
|
|
7355
|
+
RequestId?: string;
|
|
7356
|
+
}
|
|
6750
7357
|
/**
|
|
6751
7358
|
* 成本分析过滤框复杂类型
|
|
6752
7359
|
*/
|
|
@@ -6956,27 +7563,56 @@ export interface AnalyseHeaderTimeDetail {
|
|
|
6956
7563
|
Name?: string;
|
|
6957
7564
|
}
|
|
6958
7565
|
/**
|
|
6959
|
-
*
|
|
7566
|
+
* DescribeGatherRuleDetail返回参数结构体
|
|
6960
7567
|
*/
|
|
6961
|
-
export interface
|
|
7568
|
+
export interface DescribeGatherRuleDetailResponse {
|
|
6962
7569
|
/**
|
|
6963
|
-
*
|
|
7570
|
+
* 归集规则ID
|
|
6964
7571
|
*/
|
|
6965
|
-
|
|
7572
|
+
Id?: number;
|
|
6966
7573
|
/**
|
|
6967
|
-
*
|
|
7574
|
+
* 归集规则所属UIN
|
|
6968
7575
|
*/
|
|
6969
|
-
|
|
7576
|
+
Uin?: string;
|
|
6970
7577
|
/**
|
|
6971
|
-
*
|
|
7578
|
+
* 归集规则最后更新时间
|
|
6972
7579
|
*/
|
|
6973
|
-
|
|
7580
|
+
UpdateTime?: string;
|
|
6974
7581
|
/**
|
|
6975
|
-
*
|
|
7582
|
+
* 归集规则详情
|
|
6976
7583
|
*/
|
|
6977
|
-
|
|
7584
|
+
RuleDetail?: AllocationRuleExpression;
|
|
6978
7585
|
/**
|
|
6979
7586
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6980
7587
|
*/
|
|
6981
7588
|
RequestId?: string;
|
|
6982
7589
|
}
|
|
7590
|
+
/**
|
|
7591
|
+
* 公摊规则概览
|
|
7592
|
+
*/
|
|
7593
|
+
export interface AllocationRuleOverview {
|
|
7594
|
+
/**
|
|
7595
|
+
* 公摊规则ID
|
|
7596
|
+
*/
|
|
7597
|
+
RuleId?: number;
|
|
7598
|
+
/**
|
|
7599
|
+
* 公摊规则名称
|
|
7600
|
+
*/
|
|
7601
|
+
RuleName?: string;
|
|
7602
|
+
/**
|
|
7603
|
+
* 公摊策略类型
|
|
7604
|
+
枚举值:
|
|
7605
|
+
1 - 自定义分摊占比
|
|
7606
|
+
2 - 等比分摊
|
|
7607
|
+
3 - 按占比分摊
|
|
7608
|
+
*/
|
|
7609
|
+
Type?: number;
|
|
7610
|
+
/**
|
|
7611
|
+
* 公摊规则最后更新时间
|
|
7612
|
+
*/
|
|
7613
|
+
UpdateTime?: string;
|
|
7614
|
+
/**
|
|
7615
|
+
* 分账单元概览
|
|
7616
|
+
*/
|
|
7617
|
+
AllocationNode?: Array<AllocationUnit>;
|
|
7618
|
+
}
|