tencentcloud-sdk-nodejs-intl-en 3.0.1226 → 3.0.1228

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.
@@ -94,6 +94,56 @@ class SummaryDetails extends AbstractModel {
94
94
  }
95
95
  }
96
96
 
97
+ /**
98
+ * DescribeCustomerVoucherList response structure.
99
+ * @class
100
+ */
101
+ class DescribeCustomerVoucherListResponse extends AbstractModel {
102
+ constructor(){
103
+ super();
104
+
105
+ /**
106
+ * Total number of the list.
107
+ * @type {number || null}
108
+ */
109
+ this.TotalCount = null;
110
+
111
+ /**
112
+ * Voucher information description.
113
+ * @type {Array.<DescribeCustomerVoucherItem> || null}
114
+ */
115
+ this.Data = null;
116
+
117
+ /**
118
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
119
+ * @type {string || null}
120
+ */
121
+ this.RequestId = null;
122
+
123
+ }
124
+
125
+ /**
126
+ * @private
127
+ */
128
+ deserialize(params) {
129
+ if (!params) {
130
+ return;
131
+ }
132
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
133
+
134
+ if (params.Data) {
135
+ this.Data = new Array();
136
+ for (let z in params.Data) {
137
+ let obj = new DescribeCustomerVoucherItem();
138
+ obj.deserialize(params.Data[z]);
139
+ this.Data.push(obj);
140
+ }
141
+ }
142
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
143
+
144
+ }
145
+ }
146
+
97
147
  /**
98
148
  * The credit information of direct customers
99
149
  * @class
@@ -136,6 +186,69 @@ class QueryDirectCustomersCreditData extends AbstractModel {
136
186
  }
137
187
  }
138
188
 
189
+ /**
190
+ * DescribeCustomerOwnVoucherList request structure.
191
+ * @class
192
+ */
193
+ class DescribeCustomerOwnVoucherListRequest extends AbstractModel {
194
+ constructor(){
195
+ super();
196
+
197
+ /**
198
+ * Page number, starts from 1.
199
+ * @type {number || null}
200
+ */
201
+ this.Page = null;
202
+
203
+ /**
204
+ * Number of items per page. value range: 1-100.
205
+ * @type {number || null}
206
+ */
207
+ this.PageSize = null;
208
+
209
+ /**
210
+ * Voucher status. valid values: Issued, Used, Expired, Invalidated.
211
+ * @type {string || null}
212
+ */
213
+ this.VoucherStatus = null;
214
+
215
+ /**
216
+ * Payment mode. valid values: AllPayment, Prepaid, Postpaid.
217
+ * @type {string || null}
218
+ */
219
+ this.PaymentMode = null;
220
+
221
+ /**
222
+ * Applicable product. valid values: AllProducts, SpecifyProducts, SpecifyProductsBlacklist.
223
+ * @type {string || null}
224
+ */
225
+ this.ProductScope = null;
226
+
227
+ /**
228
+ * Voucher ID.
229
+ * @type {number || null}
230
+ */
231
+ this.VoucherId = null;
232
+
233
+ }
234
+
235
+ /**
236
+ * @private
237
+ */
238
+ deserialize(params) {
239
+ if (!params) {
240
+ return;
241
+ }
242
+ this.Page = 'Page' in params ? params.Page : null;
243
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
244
+ this.VoucherStatus = 'VoucherStatus' in params ? params.VoucherStatus : null;
245
+ this.PaymentMode = 'PaymentMode' in params ? params.PaymentMode : null;
246
+ this.ProductScope = 'ProductScope' in params ? params.ProductScope : null;
247
+ this.VoucherId = 'VoucherId' in params ? params.VoucherId : null;
248
+
249
+ }
250
+ }
251
+
139
252
  /**
140
253
  * DescribeCustomerBillSummary response structure.
141
254
  * @class
@@ -814,24 +927,84 @@ class DescribeBillSummaryByRegionRequest extends AbstractModel {
814
927
  }
815
928
 
816
929
  /**
817
- * QueryCreditByUinList response structure.
930
+ * DescribeCustomerBillDetail request structure.
818
931
  * @class
819
932
  */
820
- class QueryCreditByUinListResponse extends AbstractModel {
933
+ class DescribeCustomerBillDetailRequest extends AbstractModel {
821
934
  constructor(){
822
935
  super();
823
936
 
824
937
  /**
825
- * User information list
826
- * @type {Array.<QueryDirectCustomersCreditData> || null}
938
+ * Sub-account UIN.
939
+ * @type {number || null}
827
940
  */
828
- this.Data = null;
941
+ this.CustomerUin = null;
829
942
 
830
943
  /**
831
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
944
+ * Inquiry month, in the format of YYYY-MM, such as 2023-01.
832
945
  * @type {string || null}
833
946
  */
834
- this.RequestId = null;
947
+ this.Month = null;
948
+
949
+ /**
950
+ * Page parameter: number of entries per page. Value range: [1, 200]
951
+ * @type {number || null}
952
+ */
953
+ this.PageSize = null;
954
+
955
+ /**
956
+ * Page parameter: current page number. The minimum value is 1.
957
+ * @type {number || null}
958
+ */
959
+ this.Page = null;
960
+
961
+ /**
962
+ * Billing mode. Valid values:
963
+ prePay (Monthly subscription)
964
+ postPay (Pay-As-You-Go resources)
965
+ * @type {string || null}
966
+ */
967
+ this.PayMode = null;
968
+
969
+ /**
970
+ * Transaction type. Valid values:
971
+ prepay_purchase (Purchase)
972
+ prepay_renew (Renewal)
973
+ prepay_modify (Upgrade/Downgrade)
974
+ prepay_return ( Monthly subscription refund)
975
+ postpay_deduct (Pay-as-you-go)
976
+ postpay_deduct_h (Hourly settlement)
977
+ postpay_deduct_d (Daily settlement)
978
+ postpay_deduct_m (Monthly settlement)
979
+ offline_deduct (Offline project deduction)
980
+ online_deduct (Offline product deduction)
981
+ recon_deduct (Adjustment - deduction)
982
+ recon_increase (Adjustment - compensation)
983
+ ripay_purchase (One-off RI Fee)
984
+ postpay_deduct_s (Spot)
985
+ ri_hour_pay (Hourly RI fee)
986
+ prePurchase (New monthly subscription)
987
+ preRenew (Monthly subscription renewal)
988
+ preUpgrade (Upgrade/Downgrade)
989
+ preDowngrade (Upgrade/Downgrade)
990
+ svp_hour_pay (Hourly Savings Plan fee)
991
+ recon_guarantee (Minimum spend deduction)
992
+ pre_purchase (New monthly subscription)
993
+ pre_renew (Monthly subscription renewal)
994
+ pre_upgrade (Upgrade/Downgrade)
995
+ pre_downgrade (Upgrade/Downgrade)
996
+ * @type {string || null}
997
+ */
998
+ this.ActionType = null;
999
+
1000
+ /**
1001
+ * Payment status
1002
+ 0: not distinguished
1003
+ 1: paid
1004
+ 2: unpaid
1005
+ * @type {string || null}
1006
+ */
1007
+ this.IsConfirmed = null;
835
1008
 
836
1009
  }
837
1010
 
@@ -842,16 +1015,13 @@ class QueryCreditByUinListResponse extends AbstractModel {
842
1015
  if (!params) {
843
1016
  return;
844
1017
  }
845
-
846
- if (params.Data) {
847
- this.Data = new Array();
848
- for (let z in params.Data) {
849
- let obj = new QueryDirectCustomersCreditData();
850
- obj.deserialize(params.Data[z]);
851
- this.Data.push(obj);
852
- }
853
- }
854
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1018
+ this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
1019
+ this.Month = 'Month' in params ? params.Month : null;
1020
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
1021
+ this.Page = 'Page' in params ? params.Page : null;
1022
+ this.PayMode = 'PayMode' in params ? params.PayMode : null;
1023
+ this.ActionType = 'ActionType' in params ? params.ActionType : null;
1024
+ this.IsConfirmed = 'IsConfirmed' in params ? params.IsConfirmed : null;
855
1025
 
856
1026
  }
857
1027
  }
@@ -1959,6 +2129,56 @@ class AllocateCustomerCreditRequest extends AbstractModel {
1959
2129
  }
1960
2130
  }
1961
2131
 
2132
+ /**
2133
+ * DescribeCustomerOwnVoucherList response structure.
2134
+ * @class
2135
+ */
2136
+ class DescribeCustomerOwnVoucherListResponse extends AbstractModel {
2137
+ constructor(){
2138
+ super();
2139
+
2140
+ /**
2141
+ * Total number of the list.
2142
+ * @type {number || null}
2143
+ */
2144
+ this.TotalCount = null;
2145
+
2146
+ /**
2147
+ * Voucher information description.
2148
+ * @type {Array.<DescribeCustomerOwnVoucherItem> || null}
2149
+ */
2150
+ this.Data = null;
2151
+
2152
+ /**
2153
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2154
+ * @type {string || null}
2155
+ */
2156
+ this.RequestId = null;
2157
+
2158
+ }
2159
+
2160
+ /**
2161
+ * @private
2162
+ */
2163
+ deserialize(params) {
2164
+ if (!params) {
2165
+ return;
2166
+ }
2167
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
2168
+
2169
+ if (params.Data) {
2170
+ this.Data = new Array();
2171
+ for (let z in params.Data) {
2172
+ let obj = new DescribeCustomerOwnVoucherItem();
2173
+ obj.deserialize(params.Data[z]);
2174
+ this.Data.push(obj);
2175
+ }
2176
+ }
2177
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2178
+
2179
+ }
2180
+ }
2181
+
1962
2182
  /**
1963
2183
  * DescribeBillDownloadUrl request structure.
1964
2184
  * @class
@@ -2451,77 +2671,6 @@ class ForceQNResponse extends AbstractModel {
2451
2671
  }
2452
2672
  }
2453
2673
 
2454
- /**
2455
- * Payment mode details in the customer bill data totaled by payment mode
2456
- * @class
2457
- */
2458
- class PayModeSummaryOverviewItem extends AbstractModel {
2459
- constructor(){
2460
- super();
2461
-
2462
- /**
2463
- * Payment mode.
2464
- * @type {string || null}
2465
- */
2466
- this.PayMode = null;
2467
-
2468
- /**
2469
- * Payment mode name.
2470
- * @type {string || null}
2471
- */
2472
- this.PayModeName = null;
2473
-
2474
- /**
2475
- * Actual total consumption, up to 8 decimal places.
2476
- * @type {string || null}
2477
- */
2478
- this.OriginalCost = null;
2479
-
2480
- /**
2481
- * Bill details in each payment mode.
2482
- * @type {Array.<ActionSummaryOverviewItem> || null}
2483
- */
2484
- this.Detail = null;
2485
-
2486
- /**
2487
- * Voucher payment amount, up to 8 decimal places.
2488
- * @type {string || null}
2489
- */
2490
- this.VoucherPayAmount = null;
2491
-
2492
- /**
2493
- * Total consumption, up to 8 decimal places.
2494
- * @type {string || null}
2495
- */
2496
- this.TotalCost = null;
2497
-
2498
- }
2499
-
2500
- /**
2501
- * @private
2502
- */
2503
- deserialize(params) {
2504
- if (!params) {
2505
- return;
2506
- }
2507
- this.PayMode = 'PayMode' in params ? params.PayMode : null;
2508
- this.PayModeName = 'PayModeName' in params ? params.PayModeName : null;
2509
- this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
2510
-
2511
- if (params.Detail) {
2512
- this.Detail = new Array();
2513
- for (let z in params.Detail) {
2514
- let obj = new ActionSummaryOverviewItem();
2515
- obj.deserialize(params.Detail[z]);
2516
- this.Detail.push(obj);
2517
- }
2518
- }
2519
- this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
2520
- this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
2521
-
2522
- }
2523
- }
2524
-
2525
2674
  /**
2526
2675
  * Pending review sub-customer
2527
2676
  * @class
@@ -2677,6 +2826,83 @@ class DescribeBillDownloadUrlResponse extends AbstractModel {
2677
2826
  }
2678
2827
  }
2679
2828
 
2829
+ /**
2830
+ * DescribeCustomerVoucherList request structure.
2831
+ * @class
2832
+ */
2833
+ class DescribeCustomerVoucherListRequest extends AbstractModel {
2834
+ constructor(){
2835
+ super();
2836
+
2837
+ /**
2838
+ * Page number, starts from 1.
2839
+ * @type {number || null}
2840
+ */
2841
+ this.Page = null;
2842
+
2843
+ /**
2844
+ * Number of items per page. value range: 1-100.
2845
+ * @type {number || null}
2846
+ */
2847
+ this.PageSize = null;
2848
+
2849
+ /**
2850
+ * Customer UIN.
2851
+ * @type {number || null}
2852
+ */
2853
+ this.CustomerUin = null;
2854
+
2855
+ /**
2856
+ * Voucher status. valid values: Issued, Used, Expired, Invalidated.
2857
+ * @type {string || null}
2858
+ */
2859
+ this.VoucherStatus = null;
2860
+
2861
+ /**
2862
+ * Payment mode. valid values: AllPayment, Prepaid, Postpaid.
2863
+ * @type {string || null}
2864
+ */
2865
+ this.PaymentMode = null;
2866
+
2867
+ /**
2868
+ * valid values: ProductTrial, CustomerOffer.
2869
+ * @type {string || null}
2870
+ */
2871
+ this.Usage = null;
2872
+
2873
+ /**
2874
+ * Applicable product. valid values: AllProducts, SpecifyProducts, SpecifyProductsBlacklist.
2875
+ * @type {string || null}
2876
+ */
2877
+ this.ProductScope = null;
2878
+
2879
+ /**
2880
+ * Voucher ID.
2881
+ * @type {number || null}
2882
+ */
2883
+ this.VoucherId = null;
2884
+
2885
+ }
2886
+
2887
+ /**
2888
+ * @private
2889
+ */
2890
+ deserialize(params) {
2891
+ if (!params) {
2892
+ return;
2893
+ }
2894
+ this.Page = 'Page' in params ? params.Page : null;
2895
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
2896
+ this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
2897
+ this.VoucherStatus = 'VoucherStatus' in params ? params.VoucherStatus : null;
2898
+ this.PaymentMode = 'PaymentMode' in params ? params.PaymentMode : null;
2899
+ this.Usage = 'Usage' in params ? params.Usage : null;
2900
+ this.ProductScope = 'ProductScope' in params ? params.ProductScope : null;
2901
+ this.VoucherId = 'VoucherId' in params ? params.VoucherId : null;
2902
+
2903
+ }
2904
+ }
2905
+
2680
2906
  /**
2681
2907
  * DescribeCustomerUin request structure.
2682
2908
  * @class
@@ -2973,6 +3199,104 @@ class QueryInvitationInfoRequest extends AbstractModel {
2973
3199
  }
2974
3200
  }
2975
3201
 
3202
+ /**
3203
+ * Voucher data.
3204
+ * @class
3205
+ */
3206
+ class DescribeCustomerVoucherItem extends AbstractModel {
3207
+ constructor(){
3208
+ super();
3209
+
3210
+ /**
3211
+ * Voucher ID.
3212
+ * @type {number || null}
3213
+ */
3214
+ this.VoucherId = null;
3215
+
3216
+ /**
3217
+ * Sub-account UIN
3218
+ * @type {number || null}
3219
+ */
3220
+ this.CustomerUin = null;
3221
+
3222
+ /**
3223
+ * Voucher status: Issued/Used/Expired/Invalidated.
3224
+ * @type {string || null}
3225
+ */
3226
+ this.VoucherStatus = null;
3227
+
3228
+ /**
3229
+ * Remaining amount.
3230
+ * @type {number || null}
3231
+ */
3232
+ this.RemainingAmount = null;
3233
+
3234
+ /**
3235
+ * Denomination.
3236
+ * @type {number || null}
3237
+ */
3238
+ this.TotalAmount = null;
3239
+
3240
+ /**
3241
+ * Purpose: ProductTrial/CustomerOffer.
3242
+ * @type {string || null}
3243
+ */
3244
+ this.Usage = null;
3245
+
3246
+ /**
3247
+ * Payment mode. valid values: AllPayment, Prepaid, and Postpaid.
3248
+ * @type {string || null}
3249
+ */
3250
+ this.PaymentMode = null;
3251
+
3252
+ /**
3253
+ * Applicable product: AllProducts/SpecifyProducts/SpecifyProductsBlacklist.
3254
+ * @type {string || null}
3255
+ */
3256
+ this.ProductScope = null;
3257
+
3258
+ /**
3259
+ * Start time.
3260
+ * @type {string || null}
3261
+ */
3262
+ this.EffectiveTime = null;
3263
+
3264
+ /**
3265
+ * End time.
3266
+ * @type {string || null}
3267
+ */
3268
+ this.ExpireTime = null;
3269
+
3270
+ /**
3271
+ * Application notes
3272
+ * @type {string || null}
3273
+ */
3274
+ this.ApplyReason = null;
3275
+
3276
+ }
3277
+
3278
+ /**
3279
+ * @private
3280
+ */
3281
+ deserialize(params) {
3282
+ if (!params) {
3283
+ return;
3284
+ }
3285
+ this.VoucherId = 'VoucherId' in params ? params.VoucherId : null;
3286
+ this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
3287
+ this.VoucherStatus = 'VoucherStatus' in params ? params.VoucherStatus : null;
3288
+ this.RemainingAmount = 'RemainingAmount' in params ? params.RemainingAmount : null;
3289
+ this.TotalAmount = 'TotalAmount' in params ? params.TotalAmount : null;
3290
+ this.Usage = 'Usage' in params ? params.Usage : null;
3291
+ this.PaymentMode = 'PaymentMode' in params ? params.PaymentMode : null;
3292
+ this.ProductScope = 'ProductScope' in params ? params.ProductScope : null;
3293
+ this.EffectiveTime = 'EffectiveTime' in params ? params.EffectiveTime : null;
3294
+ this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
3295
+ this.ApplyReason = 'ApplyReason' in params ? params.ApplyReason : null;
3296
+
3297
+ }
3298
+ }
3299
+
2976
3300
  /**
2977
3301
  * QueryCustomersCredit request structure.
2978
3302
  * @class
@@ -2982,34 +3306,102 @@ class QueryCustomersCreditRequest extends AbstractModel {
2982
3306
  super();
2983
3307
 
2984
3308
  /**
2985
- * Search condition type. You can only search by ClientUin, Name, Remark, or Email.
3309
+ * Search condition type. You can only search by ClientUin, Name, Remark, or Email.
3310
+ * @type {string || null}
3311
+ */
3312
+ this.FilterType = null;
3313
+
3314
+ /**
3315
+ * Search condition
3316
+ * @type {string || null}
3317
+ */
3318
+ this.Filter = null;
3319
+
3320
+ /**
3321
+ * A pagination parameter that specifies the current page number, with a value starting from 1.
3322
+ * @type {number || null}
3323
+ */
3324
+ this.Page = null;
3325
+
3326
+ /**
3327
+ * A pagination parameter that specifies the number of entries per page.
3328
+ * @type {number || null}
3329
+ */
3330
+ this.PageSize = null;
3331
+
3332
+ /**
3333
+ * A sort parameter that specifies the sort order. Valid values: `desc` (descending order), or `asc` (ascending order) based on `AssociationTime`. The value will be `desc` if left empty.
3334
+ * @type {string || null}
3335
+ */
3336
+ this.Order = null;
3337
+
3338
+ }
3339
+
3340
+ /**
3341
+ * @private
3342
+ */
3343
+ deserialize(params) {
3344
+ if (!params) {
3345
+ return;
3346
+ }
3347
+ this.FilterType = 'FilterType' in params ? params.FilterType : null;
3348
+ this.Filter = 'Filter' in params ? params.Filter : null;
3349
+ this.Page = 'Page' in params ? params.Page : null;
3350
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
3351
+ this.Order = 'Order' in params ? params.Order : null;
3352
+
3353
+ }
3354
+ }
3355
+
3356
+ /**
3357
+ * QueryPolicyProductListByCode request structure.
3358
+ * @class
3359
+ */
3360
+ class QueryPolicyProductListByCodeRequest extends AbstractModel {
3361
+ constructor(){
3362
+ super();
3363
+
3364
+ /**
3365
+ * Policy code.
3366
+ * @type {string || null}
3367
+ */
3368
+ this.PolicyCode = null;
3369
+
3370
+ /**
3371
+ * The code of the ProductName field in the bill data.
3372
+ * @type {string || null}
3373
+ */
3374
+ this.ProductCode = null;
3375
+
3376
+ /**
3377
+ * The ProductName field value in the billing data.
2986
3378
  * @type {string || null}
2987
3379
  */
2988
- this.FilterType = null;
3380
+ this.ProductName = null;
2989
3381
 
2990
3382
  /**
2991
- * Search condition
3383
+ * The code of the SubProductName field in the bill data.
2992
3384
  * @type {string || null}
2993
3385
  */
2994
- this.Filter = null;
3386
+ this.SubProductCode = null;
2995
3387
 
2996
3388
  /**
2997
- * A pagination parameter that specifies the current page number, with a value starting from 1.
2998
- * @type {number || null}
3389
+ * The SubProductName field value in the billing data.
3390
+ * @type {string || null}
2999
3391
  */
3000
- this.Page = null;
3392
+ this.SubProductName = null;
3001
3393
 
3002
3394
  /**
3003
- * A pagination parameter that specifies the number of entries per page.
3395
+ * Page parameter: current page number. The minimum value is 1.
3004
3396
  * @type {number || null}
3005
3397
  */
3006
- this.PageSize = null;
3398
+ this.Page = null;
3007
3399
 
3008
3400
  /**
3009
- * A sort parameter that specifies the sort order. Valid values: `desc` (descending order), or `asc` (ascending order) based on `AssociationTime`. The value will be `desc` if left empty.
3010
- * @type {string || null}
3401
+ * Page parameter: Indicates the number of entries per page. Value range: [1, 200], default is 200.
3402
+ * @type {number || null}
3011
3403
  */
3012
- this.Order = null;
3404
+ this.PageSize = null;
3013
3405
 
3014
3406
  }
3015
3407
 
@@ -3020,11 +3412,13 @@ class QueryCustomersCreditRequest extends AbstractModel {
3020
3412
  if (!params) {
3021
3413
  return;
3022
3414
  }
3023
- this.FilterType = 'FilterType' in params ? params.FilterType : null;
3024
- this.Filter = 'Filter' in params ? params.Filter : null;
3415
+ this.PolicyCode = 'PolicyCode' in params ? params.PolicyCode : null;
3416
+ this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
3417
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
3418
+ this.SubProductCode = 'SubProductCode' in params ? params.SubProductCode : null;
3419
+ this.SubProductName = 'SubProductName' in params ? params.SubProductName : null;
3025
3420
  this.Page = 'Page' in params ? params.Page : null;
3026
3421
  this.PageSize = 'PageSize' in params ? params.PageSize : null;
3027
- this.Order = 'Order' in params ? params.Order : null;
3028
3422
 
3029
3423
  }
3030
3424
  }
@@ -3073,6 +3467,90 @@ class QueryT1IndirectCustomersDetailResponseData extends AbstractModel {
3073
3467
  }
3074
3468
  }
3075
3469
 
3470
+ /**
3471
+ * Voucher data.
3472
+ * @class
3473
+ */
3474
+ class DescribeCustomerOwnVoucherItem extends AbstractModel {
3475
+ constructor(){
3476
+ super();
3477
+
3478
+ /**
3479
+ * Voucher ID.
3480
+ * @type {number || null}
3481
+ */
3482
+ this.VoucherId = null;
3483
+
3484
+ /**
3485
+ * Sub-account UIN
3486
+ * @type {number || null}
3487
+ */
3488
+ this.CustomerUin = null;
3489
+
3490
+ /**
3491
+ * Voucher status: Issued/Used/Expired/Invalidated.
3492
+ * @type {string || null}
3493
+ */
3494
+ this.VoucherStatus = null;
3495
+
3496
+ /**
3497
+ * Remaining amount.
3498
+ * @type {number || null}
3499
+ */
3500
+ this.RemainingAmount = null;
3501
+
3502
+ /**
3503
+ * Denomination.
3504
+ * @type {number || null}
3505
+ */
3506
+ this.TotalAmount = null;
3507
+
3508
+ /**
3509
+ * Payment mode. valid values: AllPayment, Prepaid, and Postpaid.
3510
+ * @type {string || null}
3511
+ */
3512
+ this.PaymentMode = null;
3513
+
3514
+ /**
3515
+ * Applicable product: AllProducts/SpecifyProducts/SpecifyProductsBlacklist.
3516
+ * @type {string || null}
3517
+ */
3518
+ this.ProductScope = null;
3519
+
3520
+ /**
3521
+ * Start time.
3522
+ * @type {string || null}
3523
+ */
3524
+ this.EffectiveTime = null;
3525
+
3526
+ /**
3527
+ * End time.
3528
+ * @type {string || null}
3529
+ */
3530
+ this.ExpireTime = null;
3531
+
3532
+ }
3533
+
3534
+ /**
3535
+ * @private
3536
+ */
3537
+ deserialize(params) {
3538
+ if (!params) {
3539
+ return;
3540
+ }
3541
+ this.VoucherId = 'VoucherId' in params ? params.VoucherId : null;
3542
+ this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
3543
+ this.VoucherStatus = 'VoucherStatus' in params ? params.VoucherStatus : null;
3544
+ this.RemainingAmount = 'RemainingAmount' in params ? params.RemainingAmount : null;
3545
+ this.TotalAmount = 'TotalAmount' in params ? params.TotalAmount : null;
3546
+ this.PaymentMode = 'PaymentMode' in params ? params.PaymentMode : null;
3547
+ this.ProductScope = 'ProductScope' in params ? params.ProductScope : null;
3548
+ this.EffectiveTime = 'EffectiveTime' in params ? params.EffectiveTime : null;
3549
+ this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
3550
+
3551
+ }
3552
+ }
3553
+
3076
3554
  /**
3077
3555
  * DescribeCustomerInfo response structure.
3078
3556
  * @class
@@ -3617,84 +4095,48 @@ class ApproveSubAgentApplyRequest extends AbstractModel {
3617
4095
  }
3618
4096
 
3619
4097
  /**
3620
- * DescribeCustomerBillDetail request structure.
4098
+ * Payment mode details in the customer bill data totaled by payment mode
3621
4099
  * @class
3622
4100
  */
3623
- class DescribeCustomerBillDetailRequest extends AbstractModel {
4101
+ class PayModeSummaryOverviewItem extends AbstractModel {
3624
4102
  constructor(){
3625
4103
  super();
3626
4104
 
3627
4105
  /**
3628
- * Sub-account UIN.
3629
- * @type {number || null}
3630
- */
3631
- this.CustomerUin = null;
3632
-
3633
- /**
3634
- * Inquiry month, in the format of YYYY-MM, such as 2023-01.
4106
+ * Payment mode.
3635
4107
  * @type {string || null}
3636
4108
  */
3637
- this.Month = null;
4109
+ this.PayMode = null;
3638
4110
 
3639
4111
  /**
3640
- * Page parameter: number of entries per page. Value range: [1, 200]
3641
- * @type {number || null}
4112
+ * Payment mode name.
4113
+ * @type {string || null}
3642
4114
  */
3643
- this.PageSize = null;
4115
+ this.PayModeName = null;
3644
4116
 
3645
4117
  /**
3646
- * Page parameter: current page number. The minimum value is 1.
3647
- * @type {number || null}
4118
+ * Actual total consumption, up to 8 decimal places.
4119
+ * @type {string || null}
3648
4120
  */
3649
- this.Page = null;
4121
+ this.OriginalCost = null;
3650
4122
 
3651
4123
  /**
3652
- * Billing mode. Valid values:
3653
- prePay (Monthly subscription)
3654
- postPay (Pay-As-You-Go resources)
3655
- * @type {string || null}
4124
+ * Bill details in each payment mode.
4125
+ * @type {Array.<ActionSummaryOverviewItem> || null}
3656
4126
  */
3657
- this.PayMode = null;
4127
+ this.Detail = null;
3658
4128
 
3659
4129
  /**
3660
- * Transaction type. Valid values:
3661
- prepay_purchase (Purchase)
3662
- prepay_renew (Renewal)
3663
- prepay_modify (Upgrade/Downgrade)
3664
- prepay_return ( Monthly subscription refund)
3665
- postpay_deduct (Pay-as-you-go)
3666
- postpay_deduct_h (Hourly settlement)
3667
- postpay_deduct_d (Daily settlement)
3668
- postpay_deduct_m (Monthly settlement)
3669
- offline_deduct (Offline project deduction)
3670
- online_deduct (Offline product deduction)
3671
- recon_deduct (Adjustment - deduction)
3672
- recon_increase (Adjustment - compensation)
3673
- ripay_purchase (One-off RI Fee)
3674
- postpay_deduct_s (Spot)
3675
- ri_hour_pay (Hourly RI fee)
3676
- prePurchase (New monthly subscription)
3677
- preRenew (Monthly subscription renewal)
3678
- preUpgrade (Upgrade/Downgrade)
3679
- preDowngrade (Upgrade/Downgrade)
3680
- svp_hour_pay (Hourly Savings Plan fee)
3681
- recon_guarantee (Minimum spend deduction)
3682
- pre_purchase (New monthly subscription)
3683
- pre_renew (Monthly subscription renewal)
3684
- pre_upgrade (Upgrade/Downgrade)
3685
- pre_downgrade (Upgrade/Downgrade)
4130
+ * Voucher payment amount, up to 8 decimal places.
3686
4131
  * @type {string || null}
3687
4132
  */
3688
- this.ActionType = null;
4133
+ this.VoucherPayAmount = null;
3689
4134
 
3690
4135
  /**
3691
- * Payment status
3692
- 0: not distinguished
3693
- 1: paid
3694
- 2: unpaid
4136
+ * Total consumption, up to 8 decimal places.
3695
4137
  * @type {string || null}
3696
4138
  */
3697
- this.IsConfirmed = null;
4139
+ this.TotalCost = null;
3698
4140
 
3699
4141
  }
3700
4142
 
@@ -3705,13 +4147,20 @@ pre_downgrade (Upgrade/Downgrade)
3705
4147
  if (!params) {
3706
4148
  return;
3707
4149
  }
3708
- this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
3709
- this.Month = 'Month' in params ? params.Month : null;
3710
- this.PageSize = 'PageSize' in params ? params.PageSize : null;
3711
- this.Page = 'Page' in params ? params.Page : null;
3712
4150
  this.PayMode = 'PayMode' in params ? params.PayMode : null;
3713
- this.ActionType = 'ActionType' in params ? params.ActionType : null;
3714
- this.IsConfirmed = 'IsConfirmed' in params ? params.IsConfirmed : null;
4151
+ this.PayModeName = 'PayModeName' in params ? params.PayModeName : null;
4152
+ this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
4153
+
4154
+ if (params.Detail) {
4155
+ this.Detail = new Array();
4156
+ for (let z in params.Detail) {
4157
+ let obj = new ActionSummaryOverviewItem();
4158
+ obj.deserialize(params.Detail[z]);
4159
+ this.Detail.push(obj);
4160
+ }
4161
+ }
4162
+ this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
4163
+ this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
3715
4164
 
3716
4165
  }
3717
4166
  }
@@ -4600,54 +5049,24 @@ class TagInfo extends AbstractModel {
4600
5049
  }
4601
5050
 
4602
5051
  /**
4603
- * QueryPolicyProductListByCode request structure.
5052
+ * QueryCreditByUinList response structure.
4604
5053
  * @class
4605
5054
  */
4606
- class QueryPolicyProductListByCodeRequest extends AbstractModel {
5055
+ class QueryCreditByUinListResponse extends AbstractModel {
4607
5056
  constructor(){
4608
5057
  super();
4609
5058
 
4610
5059
  /**
4611
- * Policy code.
4612
- * @type {string || null}
4613
- */
4614
- this.PolicyCode = null;
4615
-
4616
- /**
4617
- * The code of the ProductName field in the bill data.
4618
- * @type {string || null}
4619
- */
4620
- this.ProductCode = null;
4621
-
4622
- /**
4623
- * The ProductName field value in the billing data.
4624
- * @type {string || null}
4625
- */
4626
- this.ProductName = null;
4627
-
4628
- /**
4629
- * The code of the SubProductName field in the bill data.
4630
- * @type {string || null}
5060
+ * User information list
5061
+ * @type {Array.<QueryDirectCustomersCreditData> || null}
4631
5062
  */
4632
- this.SubProductCode = null;
5063
+ this.Data = null;
4633
5064
 
4634
5065
  /**
4635
- * The SubProductName field value in the billing data.
5066
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4636
5067
  * @type {string || null}
4637
5068
  */
4638
- this.SubProductName = null;
4639
-
4640
- /**
4641
- * Page parameter: current page number. The minimum value is 1.
4642
- * @type {number || null}
4643
- */
4644
- this.Page = null;
4645
-
4646
- /**
4647
- * Page parameter: Indicates the number of entries per page. Value range: [1, 200], default is 200.
4648
- * @type {number || null}
4649
- */
4650
- this.PageSize = null;
5069
+ this.RequestId = null;
4651
5070
 
4652
5071
  }
4653
5072
 
@@ -4658,13 +5077,16 @@ class QueryPolicyProductListByCodeRequest extends AbstractModel {
4658
5077
  if (!params) {
4659
5078
  return;
4660
5079
  }
4661
- this.PolicyCode = 'PolicyCode' in params ? params.PolicyCode : null;
4662
- this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
4663
- this.ProductName = 'ProductName' in params ? params.ProductName : null;
4664
- this.SubProductCode = 'SubProductCode' in params ? params.SubProductCode : null;
4665
- this.SubProductName = 'SubProductName' in params ? params.SubProductName : null;
4666
- this.Page = 'Page' in params ? params.Page : null;
4667
- this.PageSize = 'PageSize' in params ? params.PageSize : null;
5080
+
5081
+ if (params.Data) {
5082
+ this.Data = new Array();
5083
+ for (let z in params.Data) {
5084
+ let obj = new QueryDirectCustomersCreditData();
5085
+ obj.deserialize(params.Data[z]);
5086
+ this.Data.push(obj);
5087
+ }
5088
+ }
5089
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4668
5090
 
4669
5091
  }
4670
5092
  }
@@ -5535,7 +5957,9 @@ class SendVerifyCodeResponse extends AbstractModel {
5535
5957
 
5536
5958
  module.exports = {
5537
5959
  SummaryDetails: SummaryDetails,
5960
+ DescribeCustomerVoucherListResponse: DescribeCustomerVoucherListResponse,
5538
5961
  QueryDirectCustomersCreditData: QueryDirectCustomersCreditData,
5962
+ DescribeCustomerOwnVoucherListRequest: DescribeCustomerOwnVoucherListRequest,
5539
5963
  DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
5540
5964
  TradeTwoNode: TradeTwoNode,
5541
5965
  QueryT1IndirectCustomersDetailRequest: QueryT1IndirectCustomersDetailRequest,
@@ -5547,7 +5971,7 @@ module.exports = {
5547
5971
  DescribeCustomerUinData: DescribeCustomerUinData,
5548
5972
  CountryCodeItem: CountryCodeItem,
5549
5973
  DescribeBillSummaryByRegionRequest: DescribeBillSummaryByRegionRequest,
5550
- QueryCreditByUinListResponse: QueryCreditByUinListResponse,
5974
+ DescribeCustomerBillDetailRequest: DescribeCustomerBillDetailRequest,
5551
5975
  QueryPendingSubAgentsV2Request: QueryPendingSubAgentsV2Request,
5552
5976
  QueryCreditAllocationHistoryResponse: QueryCreditAllocationHistoryResponse,
5553
5977
  CreateAccountRequest: CreateAccountRequest,
@@ -5571,6 +5995,7 @@ module.exports = {
5571
5995
  DescribeBillSummaryByPayModeResponse: DescribeBillSummaryByPayModeResponse,
5572
5996
  QueryAccountVerificationStatusResponse: QueryAccountVerificationStatusResponse,
5573
5997
  AllocateCustomerCreditRequest: AllocateCustomerCreditRequest,
5998
+ DescribeCustomerOwnVoucherListResponse: DescribeCustomerOwnVoucherListResponse,
5574
5999
  DescribeBillDownloadUrlRequest: DescribeBillDownloadUrlRequest,
5575
6000
  DescribeBillSummaryByPayModeRequest: DescribeBillSummaryByPayModeRequest,
5576
6001
  QueryInvitationInfoData: QueryInvitationInfoData,
@@ -5582,18 +6007,21 @@ module.exports = {
5582
6007
  QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
5583
6008
  GetCountryCodesRequest: GetCountryCodesRequest,
5584
6009
  ForceQNResponse: ForceQNResponse,
5585
- PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
5586
6010
  QueryPendingCustomersItem: QueryPendingCustomersItem,
5587
6011
  QueryDirectCustomersCreditResponse: QueryDirectCustomersCreditResponse,
5588
6012
  DescribeBillDownloadUrlResponse: DescribeBillDownloadUrlResponse,
6013
+ DescribeCustomerVoucherListRequest: DescribeCustomerVoucherListRequest,
5589
6014
  DescribeCustomerUinRequest: DescribeCustomerUinRequest,
5590
6015
  TradeOneNode: TradeOneNode,
5591
6016
  DescribeRebateDownloadUrlResponse: DescribeRebateDownloadUrlResponse,
5592
6017
  QuerySubAgentsDetailV2ResponseData: QuerySubAgentsDetailV2ResponseData,
5593
6018
  DescribeBillSummaryResponse: DescribeBillSummaryResponse,
5594
6019
  QueryInvitationInfoRequest: QueryInvitationInfoRequest,
6020
+ DescribeCustomerVoucherItem: DescribeCustomerVoucherItem,
5595
6021
  QueryCustomersCreditRequest: QueryCustomersCreditRequest,
6022
+ QueryPolicyProductListByCodeRequest: QueryPolicyProductListByCodeRequest,
5596
6023
  QueryT1IndirectCustomersDetailResponseData: QueryT1IndirectCustomersDetailResponseData,
6024
+ DescribeCustomerOwnVoucherItem: DescribeCustomerOwnVoucherItem,
5597
6025
  DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
5598
6026
  QueryVoucherPoolResponse: QueryVoucherPoolResponse,
5599
6027
  QueryAccountVerificationStatusRequest: QueryAccountVerificationStatusRequest,
@@ -5606,7 +6034,7 @@ module.exports = {
5606
6034
  DescribeCustomerBillDetailByDayResponse: DescribeCustomerBillDetailByDayResponse,
5607
6035
  ApproveClientApplyRequest: ApproveClientApplyRequest,
5608
6036
  ApproveSubAgentApplyRequest: ApproveSubAgentApplyRequest,
5609
- DescribeCustomerBillDetailRequest: DescribeCustomerBillDetailRequest,
6037
+ PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
5610
6038
  QueryCustomersCreditData: QueryCustomersCreditData,
5611
6039
  QueryCustomersCreditResponse: QueryCustomersCreditResponse,
5612
6040
  SendVerifyCodeRequest: SendVerifyCodeRequest,
@@ -5626,7 +6054,7 @@ module.exports = {
5626
6054
  ApproveClientApplyResponse: ApproveClientApplyResponse,
5627
6055
  QueryPendingClientsV2Request: QueryPendingClientsV2Request,
5628
6056
  TagInfo: TagInfo,
5629
- QueryPolicyProductListByCodeRequest: QueryPolicyProductListByCodeRequest,
6057
+ QueryCreditByUinListResponse: QueryCreditByUinListResponse,
5630
6058
  BusinessSummaryOverviewItem: BusinessSummaryOverviewItem,
5631
6059
  ForceQNRequest: ForceQNRequest,
5632
6060
  DescribeCustomerInfoRequest: DescribeCustomerInfoRequest,