ksyun-sdk-node 1.4.9 → 1.5.0
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/dist/service/Actiontrail/v20190401/index.js +31 -31
- package/dist/service/Aicp/v20240612/index.js +387 -363
- package/dist/service/Aicp/v20251212/index.js +47 -47
- package/dist/service/Bill/v20180601/index.js +45 -45
- package/dist/service/Bill/v20220601/index.js +35 -35
- package/dist/service/Bill_union/v20200101/index.js +130 -130
- package/dist/service/Bill_union/v20221222/index.js +93 -93
- package/dist/service/Bill_union/v20250801/index.js +37 -37
- package/dist/service/Bws/v20160304/index.js +106 -103
- package/dist/service/Cdn/v20160901/index.js +42 -42
- package/dist/service/Cdn/v20200630/index.js +306 -306
- package/dist/service/Cdn/v20200901/index.js +108 -108
- package/dist/service/Cdn/v20211201/index.js +21 -21
- package/dist/service/Cdn/v20250503/index.js +0 -333
- package/dist/service/Cdn/v3/index.js +424 -0
- package/dist/service/Cen/v20160304/index.js +365 -321
- package/dist/service/Clickhouse/v20210101/index.js +585 -400
- package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
- package/dist/service/Dmp/v20240101/index.js +362 -0
- package/dist/service/Dts/v20180108/index.js +386 -0
- package/dist/service/Ebs/v20160304/index.js +425 -262
- package/dist/service/Eip/v20160304/index.js +179 -101
- package/dist/service/Epc/v20151101/index.js +1668 -1668
- package/dist/service/Iam/v20151101/index.js +834 -834
- package/dist/service/Iam/v20240513/index.js +23 -23
- package/dist/service/Iam/v20240703/index.js +20 -20
- package/dist/service/Influxdb/v20191010/index.js +504 -0
- package/dist/service/Kad/v20161122/index.js +113 -81
- package/dist/service/Kce/v20180314/index.js +216 -216
- package/dist/service/Kce/v20190806/index.js +534 -343
- package/dist/service/Kce/v20201231/index.js +39 -39
- package/dist/service/Kce/v20230101/index.js +193 -0
- package/dist/service/Kce/v20230306/index.js +434 -0
- package/dist/service/Kce/v20231115/index.js +65 -0
- package/dist/service/Kce2/v20230101/index.js +313 -0
- package/dist/service/Kcf/v20211215/index.js +141 -141
- package/dist/service/Kci/v20200702/index.js +336 -0
- package/dist/service/Kcm/v20160304/index.js +191 -81
- package/dist/service/Kcrs/v20211109/index.js +619 -623
- package/dist/service/Kcs/v20160701/index.js +975 -833
- package/dist/service/Kcs/v20170401/index.js +22 -57
- package/dist/service/Kcs/v20240701/index.js +45 -0
- package/dist/service/Kead/v20200101/index.js +54 -25
- package/dist/service/Kec/v20160304/index.js +1679 -1679
- package/dist/service/Ked/v1/index.js +805 -0
- package/dist/service/Kes/v20201215/index.js +112 -112
- package/dist/service/Ket/v20170101/index.js +134 -92
- package/dist/service/Kfw/v20160304/index.js +59 -0
- package/dist/service/Kingpay/v1/index.js +44 -0
- package/dist/service/Kkms/v20160304/index.js +108 -108
- package/dist/service/Klog/v20200731/index.js +232 -232
- package/dist/service/Kls/v20170101/index.js +135 -135
- package/dist/service/Kmr/v20210902/index.js +288 -288
- package/dist/service/Kmr/v20231231/index.js +100 -100
- package/dist/service/Kmr/v20240814/index.js +256 -256
- package/dist/service/Knad/v20230323/index.js +333 -0
- package/dist/service/Kpfs/v20240930/index.js +181 -0
- package/dist/service/Krds/v20160701/index.js +1400 -991
- package/dist/service/Krds/v20200825/index.js +155 -115
- package/dist/service/Memcached/v20180627/index.js +172 -172
- package/dist/service/Milvus/v20231010/index.js +366 -0
- package/dist/service/Mongodb/v20170101/index.js +664 -514
- package/dist/service/Mongodb/v20250101/index.js +44 -0
- package/dist/service/Monitor/v20100525/index.js +41 -41
- package/dist/service/Monitor/v20181114/index.js +25 -25
- package/dist/service/Monitor/v20210101/index.js +144 -144
- package/dist/service/Monitor/v20220101/index.js +30 -30
- package/dist/service/Monitor/v20250101/index.js +42 -42
- package/dist/service/Pdns/v20160304/index.js +636 -0
- package/dist/service/Postgresql/v20181225/index.js +950 -0
- package/dist/service/Rabbitmq/v20191017/index.js +270 -169
- package/dist/service/Relyt/v20240117/index.js +45 -0
- package/dist/service/Resourcemanager/v20210320/index.js +110 -110
- package/dist/service/Sks/v20151101/index.js +70 -69
- package/dist/service/Slb/v20160304/index.js +1582 -1209
- package/dist/service/Slb/v20250430/index.js +750 -0
- package/dist/service/Sqlserver/v20190425/index.js +872 -0
- package/dist/service/Sts/v20151101/index.js +42 -23
- package/dist/service/Tagv2/v20200901/index.js +151 -115
- package/dist/service/Ter/v20240415/index.js +114 -0
- package/dist/service/Tidb/v20210520/index.js +657 -263
- package/dist/service/Trade/v20200114/index.js +20 -20
- package/dist/service/Trade/v20200831/index.js +22 -22
- package/dist/service/Trade/v20250220/index.js +97 -0
- package/dist/service/Trade/v20250321/index.js +93 -0
- package/dist/service/Trade/v20250828/index.js +56 -0
- package/dist/service/Vpc/v20160304/index.js +1786 -1754
- package/dist/service/Waf/v20200707/index.js +382 -199
- package/package.json +1 -1
- package/src/service/Actiontrail/v20190401/index.js +42 -42
- package/src/service/Aicp/v20240612/index.js +505 -480
- package/src/service/Aicp/v20251212/index.js +62 -62
- package/src/service/Bill/v20180601/index.js +64 -63
- package/src/service/Bill/v20220601/index.js +50 -50
- package/src/service/Bill_union/v20200101/index.js +183 -181
- package/src/service/Bill_union/v20221222/index.js +124 -124
- package/src/service/Bill_union/v20250801/index.js +52 -52
- package/src/service/Bws/v20160304/index.js +141 -138
- package/src/service/Cdn/v20160901/index.js +61 -60
- package/src/service/Cdn/v20200630/index.js +399 -399
- package/src/service/Cdn/v20200901/index.js +143 -143
- package/src/service/Cdn/v20211201/index.js +32 -32
- package/src/service/Cdn/v3/index.js +416 -0
- package/src/service/Cen/v20160304/index.js +493 -449
- package/src/service/Clickhouse/v20210101/index.js +722 -535
- package/src/service/Cloud_advisor/v20250610/index.js +73 -0
- package/src/service/Dmp/v20240101/index.js +359 -0
- package/src/service/Dts/v20180108/index.js +380 -0
- package/src/service/Ebs/v20160304/index.js +531 -365
- package/src/service/Eip/v20160304/index.js +213 -130
- package/src/service/Epc/v20151101/index.js +2068 -2065
- package/src/service/Iam/v20151101/index.js +1158 -1155
- package/src/service/Iam/v20240513/index.js +34 -34
- package/src/service/Iam/v20240703/index.js +31 -31
- package/src/service/Influxdb/v20191010/index.js +496 -0
- package/src/service/Kad/v20161122/index.js +143 -110
- package/src/service/Kce/v20180314/index.js +309 -309
- package/src/service/Kce/v20190806/index.js +664 -471
- package/src/service/Kce/v20201231/index.js +50 -50
- package/src/service/Kce/v20230101/index.js +186 -0
- package/src/service/Kce/v20230306/index.js +426 -0
- package/src/service/Kce/v20231115/index.js +57 -0
- package/src/service/Kce2/v20230101/index.js +305 -0
- package/src/service/Kcf/v20211215/index.js +194 -192
- package/src/service/Kci/v20200702/index.js +328 -0
- package/src/service/Kcm/v20160304/index.js +211 -101
- package/src/service/Kcrs/v20211109/index.js +836 -840
- package/src/service/Kcs/v20160701/index.js +1241 -1095
- package/src/service/Kcs/v20170401/index.js +33 -68
- package/src/service/Kcs/v20240701/index.js +37 -0
- package/src/service/Kead/v20200101/index.js +66 -36
- package/src/service/Kec/v20160304/index.js +2066 -2061
- package/src/service/Ked/v1/index.js +798 -0
- package/src/service/Kes/v20201215/index.js +160 -160
- package/src/service/Ket/v20170101/index.js +163 -121
- package/src/service/Kfw/v20160304/index.js +52 -0
- package/src/service/Kingpay/v1/index.js +36 -0
- package/src/service/Kkms/v20160304/index.js +156 -156
- package/src/service/Klog/v20200731/index.js +320 -320
- package/src/service/Kls/v20170101/index.js +183 -183
- package/src/service/Kmr/v20210902/index.js +411 -411
- package/src/service/Kmr/v20231231/index.js +135 -135
- package/src/service/Kmr/v20240814/index.js +359 -359
- package/src/service/Knad/v20230323/index.js +327 -0
- package/src/service/Kpfs/v20240930/index.js +173 -0
- package/src/service/Krds/v20160701/index.js +1702 -1291
- package/src/service/Krds/v20200825/index.js +203 -163
- package/src/service/Memcached/v20180627/index.js +245 -238
- package/src/service/Milvus/v20231010/index.js +358 -0
- package/src/service/Mongodb/v20170101/index.js +825 -672
- package/src/service/Mongodb/v20250101/index.js +36 -0
- package/src/service/Monitor/v20100525/index.js +56 -56
- package/src/service/Monitor/v20181114/index.js +36 -36
- package/src/service/Monitor/v20210101/index.js +207 -205
- package/src/service/Monitor/v20220101/index.js +45 -44
- package/src/service/Monitor/v20250101/index.js +57 -57
- package/src/service/Pdns/v20160304/index.js +628 -0
- package/src/service/Postgresql/v20181225/index.js +943 -0
- package/src/service/Rabbitmq/v20191017/index.js +338 -231
- package/src/service/Relyt/v20240117/index.js +37 -0
- package/src/service/Resourcemanager/v20210320/index.js +158 -157
- package/src/service/Sks/v20151101/index.js +97 -95
- package/src/service/Slb/v20160304/index.js +1844 -1471
- package/src/service/Slb/v20250430/index.js +742 -0
- package/src/service/Sqlserver/v20190425/index.js +864 -0
- package/src/service/Sts/v20151101/index.js +53 -34
- package/src/service/Tagv2/v20200901/index.js +199 -163
- package/src/service/Ter/v20240415/index.js +106 -0
- package/src/service/Tidb/v20210520/index.js +746 -352
- package/src/service/Trade/v20200114/index.js +31 -31
- package/src/service/Trade/v20200831/index.js +33 -33
- package/src/service/Trade/v20250220/index.js +89 -0
- package/src/service/Trade/v20250321/index.js +85 -0
- package/src/service/Trade/v20250828/index.js +48 -0
- package/src/service/Vpc/v20160304/index.js +2437 -2404
- package/src/service/Waf/v20200707/index.js +420 -237
- package/src/service/Cdn/v20250503/index.js +0 -396
|
@@ -8,67 +8,67 @@ module.exports = class Client extends BaseClient {
|
|
|
8
8
|
constructor(...args) {
|
|
9
9
|
super(...args);
|
|
10
10
|
_defineProperty(this, "_baseConfig", {
|
|
11
|
-
protocol:
|
|
12
|
-
endpoint:
|
|
13
|
-
config: {
|
|
14
|
-
timeout: 60,
|
|
11
|
+
'protocol': 'http://',
|
|
12
|
+
'endpoint': 'aicp.api.ksyun.com',
|
|
13
|
+
'config': {
|
|
14
|
+
'timeout': 60,
|
|
15
15
|
//设置timeout
|
|
16
|
-
headers: {
|
|
17
|
-
Accept:
|
|
16
|
+
'headers': {
|
|
17
|
+
'Accept': 'application/json'
|
|
18
18
|
},
|
|
19
|
-
credentials: {
|
|
20
|
-
region:
|
|
21
|
-
service:
|
|
19
|
+
'credentials': {
|
|
20
|
+
'region': 'cn-shanghai-3',
|
|
21
|
+
'service': 'aicp'
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
-
CreateTrainJob: {
|
|
27
|
-
url:
|
|
28
|
-
method:
|
|
29
|
-
config: {
|
|
30
|
-
query: {
|
|
31
|
-
Version:
|
|
32
|
-
Action:
|
|
26
|
+
'CreateTrainJob': {
|
|
27
|
+
'url': '/',
|
|
28
|
+
'method': 'POST',
|
|
29
|
+
'config': {
|
|
30
|
+
'query': {
|
|
31
|
+
'Version': '2025-12-12',
|
|
32
|
+
'Action': 'CreateTrainJob'
|
|
33
33
|
},
|
|
34
|
-
headers: {
|
|
35
|
-
|
|
34
|
+
'headers': {
|
|
35
|
+
'Content-Type': 'application/json'
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
paramsType: {
|
|
39
|
-
TrainJobName:
|
|
40
|
-
Description:
|
|
41
|
-
ResourcePoolId:
|
|
42
|
-
Priority:
|
|
43
|
-
QueueName:
|
|
44
|
-
Framework:
|
|
45
|
-
AccessType:
|
|
46
|
-
SelfHealing:
|
|
47
|
-
MaxRuntimeHour:
|
|
48
|
-
JobRunOnCPU:
|
|
49
|
-
SupportTensorboard:
|
|
50
|
-
StorageConfigs:
|
|
51
|
-
Roles:
|
|
38
|
+
'paramsType': {
|
|
39
|
+
'TrainJobName': 'String',
|
|
40
|
+
'Description': 'String',
|
|
41
|
+
'ResourcePoolId': 'String',
|
|
42
|
+
'Priority': 'String',
|
|
43
|
+
'QueueName': 'String',
|
|
44
|
+
'Framework': 'String',
|
|
45
|
+
'AccessType': 'String',
|
|
46
|
+
'SelfHealing': 'Boolean',
|
|
47
|
+
'MaxRuntimeHour': 'Int',
|
|
48
|
+
'JobRunOnCPU': 'Boolean',
|
|
49
|
+
'SupportTensorboard': 'Boolean',
|
|
50
|
+
'StorageConfigs': 'Array',
|
|
51
|
+
'Roles': 'Array'
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
DescribeTrainJobs: {
|
|
55
|
-
url:
|
|
56
|
-
method:
|
|
57
|
-
config: {
|
|
58
|
-
query: {
|
|
59
|
-
Version:
|
|
60
|
-
Action:
|
|
54
|
+
'DescribeTrainJobs': {
|
|
55
|
+
'url': '/',
|
|
56
|
+
'method': 'GET',
|
|
57
|
+
'config': {
|
|
58
|
+
'query': {
|
|
59
|
+
'Version': '2025-12-12',
|
|
60
|
+
'Action': 'DescribeTrainJobs'
|
|
61
61
|
},
|
|
62
|
-
headers: {
|
|
63
|
-
|
|
62
|
+
'headers': {
|
|
63
|
+
'Content-Type': 'application/x-www-form-urlencoded'
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
paramsType: {
|
|
67
|
-
TrainJobId:
|
|
68
|
-
Filter:
|
|
69
|
-
PageSize:
|
|
70
|
-
Page:
|
|
71
|
-
TrainJobName:
|
|
66
|
+
'paramsType': {
|
|
67
|
+
'TrainJobId': 'Filter',
|
|
68
|
+
'Filter': 'Filter',
|
|
69
|
+
'PageSize': 'Int',
|
|
70
|
+
'Page': 'Int',
|
|
71
|
+
'TrainJobName': 'String'
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
});
|
|
@@ -8,70 +8,70 @@ module.exports = class Client extends BaseClient {
|
|
|
8
8
|
constructor(...args) {
|
|
9
9
|
super(...args);
|
|
10
10
|
_defineProperty(this, "_baseConfig", {
|
|
11
|
-
protocol:
|
|
12
|
-
endpoint:
|
|
13
|
-
config: {
|
|
14
|
-
timeout: 60,
|
|
11
|
+
'protocol': 'http://',
|
|
12
|
+
'endpoint': 'bill.api.ksyun.com',
|
|
13
|
+
'config': {
|
|
14
|
+
'timeout': 60,
|
|
15
15
|
//设置timeout
|
|
16
|
-
headers: {
|
|
17
|
-
Accept:
|
|
16
|
+
'headers': {
|
|
17
|
+
'Accept': 'application/json'
|
|
18
18
|
},
|
|
19
|
-
credentials: {
|
|
20
|
-
region:
|
|
21
|
-
service:
|
|
19
|
+
'credentials': {
|
|
20
|
+
'region': 'cn-shanghai-3',
|
|
21
|
+
'service': 'bill'
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
-
GetMonthBill: {
|
|
27
|
-
url:
|
|
28
|
-
method:
|
|
29
|
-
config: {
|
|
30
|
-
query: {
|
|
31
|
-
Version:
|
|
32
|
-
Action:
|
|
26
|
+
'GetMonthBill': {
|
|
27
|
+
'url': '/',
|
|
28
|
+
'method': 'GET',
|
|
29
|
+
'config': {
|
|
30
|
+
'query': {
|
|
31
|
+
'Version': '2018-06-01',
|
|
32
|
+
'Action': 'GetMonthBill'
|
|
33
33
|
},
|
|
34
|
-
headers: {
|
|
35
|
-
|
|
34
|
+
'headers': {
|
|
35
|
+
'Content-Type': 'application/json'
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
paramsType: {
|
|
39
|
-
BillStartMonth:
|
|
40
|
-
BillEndMonth:
|
|
38
|
+
'paramsType': {
|
|
39
|
+
'BillStartMonth': 'String',
|
|
40
|
+
'BillEndMonth': 'String'
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
GetPostpayDetailBill: {
|
|
44
|
-
url:
|
|
45
|
-
method:
|
|
46
|
-
config: {
|
|
47
|
-
query: {
|
|
48
|
-
Version:
|
|
49
|
-
Action:
|
|
43
|
+
'GetPostpayDetailBill': {
|
|
44
|
+
'url': '/',
|
|
45
|
+
'method': 'GET',
|
|
46
|
+
'config': {
|
|
47
|
+
'query': {
|
|
48
|
+
'Version': '2018-06-01',
|
|
49
|
+
'Action': 'GetPostpayDetailBill'
|
|
50
50
|
},
|
|
51
|
-
headers: {
|
|
52
|
-
|
|
51
|
+
'headers': {
|
|
52
|
+
'Content-Type': 'application/json'
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
paramsType: {
|
|
56
|
-
BillStartMonth:
|
|
57
|
-
BillEndMonth:
|
|
58
|
-
ProductCode:
|
|
59
|
-
ProjectId:
|
|
55
|
+
'paramsType': {
|
|
56
|
+
'BillStartMonth': 'String',
|
|
57
|
+
'BillEndMonth': 'String',
|
|
58
|
+
'ProductCode': 'String',
|
|
59
|
+
'ProjectId': 'String'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
GetProductCode: {
|
|
63
|
-
url:
|
|
64
|
-
method:
|
|
65
|
-
config: {
|
|
66
|
-
query: {
|
|
67
|
-
Version:
|
|
68
|
-
Action:
|
|
62
|
+
'GetProductCode': {
|
|
63
|
+
'url': '/',
|
|
64
|
+
'method': 'GET',
|
|
65
|
+
'config': {
|
|
66
|
+
'query': {
|
|
67
|
+
'Version': '2018-06-01',
|
|
68
|
+
'Action': 'GetProductCode'
|
|
69
69
|
},
|
|
70
|
-
headers: {
|
|
71
|
-
|
|
70
|
+
'headers': {
|
|
71
|
+
'Content-Type': 'application/json'
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
paramsType: {}
|
|
74
|
+
'paramsType': {}
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
}
|
|
@@ -8,55 +8,55 @@ module.exports = class Client extends BaseClient {
|
|
|
8
8
|
constructor(...args) {
|
|
9
9
|
super(...args);
|
|
10
10
|
_defineProperty(this, "_baseConfig", {
|
|
11
|
-
protocol:
|
|
12
|
-
endpoint:
|
|
13
|
-
config: {
|
|
14
|
-
timeout: 60,
|
|
11
|
+
'protocol': 'http://',
|
|
12
|
+
'endpoint': 'bill.api.ksyun.com',
|
|
13
|
+
'config': {
|
|
14
|
+
'timeout': 60,
|
|
15
15
|
//设置timeout
|
|
16
|
-
headers: {
|
|
17
|
-
Accept:
|
|
16
|
+
'headers': {
|
|
17
|
+
'Accept': 'application/json'
|
|
18
18
|
},
|
|
19
|
-
credentials: {
|
|
20
|
-
region:
|
|
21
|
-
service:
|
|
19
|
+
'credentials': {
|
|
20
|
+
'region': 'cn-shanghai-3',
|
|
21
|
+
'service': 'bill'
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
-
GetMonthConsume: {
|
|
27
|
-
url:
|
|
28
|
-
method:
|
|
29
|
-
config: {
|
|
30
|
-
query: {
|
|
31
|
-
Version:
|
|
32
|
-
Action:
|
|
26
|
+
'GetMonthConsume': {
|
|
27
|
+
'url': '/',
|
|
28
|
+
'method': 'GET',
|
|
29
|
+
'config': {
|
|
30
|
+
'query': {
|
|
31
|
+
'Version': '2022-06-01',
|
|
32
|
+
'Action': 'GetMonthConsume'
|
|
33
33
|
},
|
|
34
|
-
headers: {
|
|
35
|
-
|
|
34
|
+
'headers': {
|
|
35
|
+
'Content-Type': 'application/json'
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
paramsType: {
|
|
39
|
-
BillMonth:
|
|
38
|
+
'paramsType': {
|
|
39
|
+
'BillMonth': 'String'
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
GetPostpayDetailConsume: {
|
|
43
|
-
url:
|
|
44
|
-
method:
|
|
45
|
-
config: {
|
|
46
|
-
query: {
|
|
47
|
-
Version:
|
|
48
|
-
Action:
|
|
42
|
+
'GetPostpayDetailConsume': {
|
|
43
|
+
'url': '/',
|
|
44
|
+
'method': 'GET',
|
|
45
|
+
'config': {
|
|
46
|
+
'query': {
|
|
47
|
+
'Version': '2022-06-01',
|
|
48
|
+
'Action': 'GetPostpayDetailConsume'
|
|
49
49
|
},
|
|
50
|
-
headers: {
|
|
51
|
-
|
|
50
|
+
'headers': {
|
|
51
|
+
'Content-Type': 'application/json'
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
paramsType: {
|
|
55
|
-
BillMonth:
|
|
56
|
-
ProductCode:
|
|
57
|
-
ProjectId:
|
|
58
|
-
PageNo:
|
|
59
|
-
PageSize:
|
|
54
|
+
'paramsType': {
|
|
55
|
+
'BillMonth': 'String',
|
|
56
|
+
'ProductCode': 'String',
|
|
57
|
+
'ProjectId': 'String',
|
|
58
|
+
'PageNo': 'Int',
|
|
59
|
+
'PageSize': 'Int'
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
});
|
|
@@ -8,184 +8,184 @@ module.exports = class Client extends BaseClient {
|
|
|
8
8
|
constructor(...args) {
|
|
9
9
|
super(...args);
|
|
10
10
|
_defineProperty(this, "_baseConfig", {
|
|
11
|
-
protocol:
|
|
12
|
-
endpoint:
|
|
13
|
-
config: {
|
|
14
|
-
timeout: 60,
|
|
11
|
+
'protocol': 'http://',
|
|
12
|
+
'endpoint': 'bill-union.api.ksyun.com',
|
|
13
|
+
'config': {
|
|
14
|
+
'timeout': 60,
|
|
15
15
|
//设置timeout
|
|
16
|
-
headers: {
|
|
17
|
-
Accept:
|
|
16
|
+
'headers': {
|
|
17
|
+
'Accept': 'application/json'
|
|
18
18
|
},
|
|
19
|
-
credentials: {
|
|
20
|
-
region:
|
|
21
|
-
service:
|
|
19
|
+
'credentials': {
|
|
20
|
+
'region': 'cn-shanghai-3',
|
|
21
|
+
'service': 'bill-union'
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
-
DescribeBillSummaryByPayMode: {
|
|
27
|
-
url:
|
|
28
|
-
method:
|
|
29
|
-
config: {
|
|
30
|
-
query: {
|
|
31
|
-
Version:
|
|
32
|
-
Action:
|
|
26
|
+
'DescribeBillSummaryByPayMode': {
|
|
27
|
+
'url': '/',
|
|
28
|
+
'method': 'GET',
|
|
29
|
+
'config': {
|
|
30
|
+
'query': {
|
|
31
|
+
'Version': '2020-01-01',
|
|
32
|
+
'Action': 'DescribeBillSummaryByPayMode'
|
|
33
33
|
},
|
|
34
|
-
headers: {
|
|
35
|
-
|
|
34
|
+
'headers': {
|
|
35
|
+
'Content-Type': 'application/x-www-form-urlencoded'
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
paramsType: {
|
|
39
|
-
BillBeginMonth:
|
|
40
|
-
BillEndMonth:
|
|
41
|
-
SubAccount:
|
|
42
|
-
FetchAllFinanceRelationData:
|
|
38
|
+
'paramsType': {
|
|
39
|
+
'BillBeginMonth': 'String',
|
|
40
|
+
'BillEndMonth': 'String',
|
|
41
|
+
'SubAccount': 'Int',
|
|
42
|
+
'FetchAllFinanceRelationData': 'Boolean'
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
DescribeBillSummaryByProduct: {
|
|
46
|
-
url:
|
|
47
|
-
method:
|
|
48
|
-
config: {
|
|
49
|
-
query: {
|
|
50
|
-
Version:
|
|
51
|
-
Action:
|
|
45
|
+
'DescribeBillSummaryByProduct': {
|
|
46
|
+
'url': '/',
|
|
47
|
+
'method': 'GET',
|
|
48
|
+
'config': {
|
|
49
|
+
'query': {
|
|
50
|
+
'Version': '2020-01-01',
|
|
51
|
+
'Action': 'DescribeBillSummaryByProduct'
|
|
52
52
|
},
|
|
53
|
-
headers: {
|
|
54
|
-
|
|
53
|
+
'headers': {
|
|
54
|
+
'Content-Type': 'application/json'
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
paramsType: {
|
|
58
|
-
BillBeginMonth:
|
|
59
|
-
BillEndMonth:
|
|
60
|
-
SubAccount:
|
|
61
|
-
FetchAllFinanceRelationData:
|
|
57
|
+
'paramsType': {
|
|
58
|
+
'BillBeginMonth': 'String',
|
|
59
|
+
'BillEndMonth': 'String',
|
|
60
|
+
'SubAccount': 'Int',
|
|
61
|
+
'FetchAllFinanceRelationData': 'Boolean'
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
DescribeBillSummaryByProject: {
|
|
65
|
-
url:
|
|
66
|
-
method:
|
|
67
|
-
config: {
|
|
68
|
-
query: {
|
|
69
|
-
Version:
|
|
70
|
-
Action:
|
|
64
|
+
'DescribeBillSummaryByProject': {
|
|
65
|
+
'url': '/',
|
|
66
|
+
'method': 'GET',
|
|
67
|
+
'config': {
|
|
68
|
+
'query': {
|
|
69
|
+
'Version': '2020-01-01',
|
|
70
|
+
'Action': 'DescribeBillSummaryByProject'
|
|
71
71
|
},
|
|
72
|
-
headers: {
|
|
73
|
-
|
|
72
|
+
'headers': {
|
|
73
|
+
'Content-Type': 'application/x-www-form-urlencoded'
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
paramsType: {
|
|
77
|
-
BillBeginMonth:
|
|
78
|
-
BillEndMonth:
|
|
79
|
-
SubAccount:
|
|
80
|
-
FetchAllFinanceRelationData:
|
|
76
|
+
'paramsType': {
|
|
77
|
+
'BillBeginMonth': 'String',
|
|
78
|
+
'BillEndMonth': 'String',
|
|
79
|
+
'SubAccount': 'Int',
|
|
80
|
+
'FetchAllFinanceRelationData': 'Boolean'
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
DescribeInstanceSummaryBills: {
|
|
84
|
-
url:
|
|
85
|
-
method:
|
|
86
|
-
config: {
|
|
87
|
-
query: {
|
|
88
|
-
Version:
|
|
89
|
-
Action:
|
|
83
|
+
'DescribeInstanceSummaryBills': {
|
|
84
|
+
'url': '/',
|
|
85
|
+
'method': 'GET',
|
|
86
|
+
'config': {
|
|
87
|
+
'query': {
|
|
88
|
+
'Version': '2020-01-01',
|
|
89
|
+
'Action': 'DescribeInstanceSummaryBills'
|
|
90
90
|
},
|
|
91
|
-
headers: {
|
|
92
|
-
|
|
91
|
+
'headers': {
|
|
92
|
+
'Content-Type': 'application/json'
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
-
paramsType: {
|
|
96
|
-
BillMonth:
|
|
97
|
-
ProductCode:
|
|
98
|
-
Page:
|
|
99
|
-
Size:
|
|
95
|
+
'paramsType': {
|
|
96
|
+
'BillMonth': 'String',
|
|
97
|
+
'ProductCode': 'String',
|
|
98
|
+
'Page': 'Int',
|
|
99
|
+
'Size': 'Int'
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
|
-
DescribeProductCode: {
|
|
103
|
-
url:
|
|
104
|
-
method:
|
|
105
|
-
config: {
|
|
106
|
-
query: {
|
|
107
|
-
Version:
|
|
108
|
-
Action:
|
|
102
|
+
'DescribeProductCode': {
|
|
103
|
+
'url': '/',
|
|
104
|
+
'method': 'GET',
|
|
105
|
+
'config': {
|
|
106
|
+
'query': {
|
|
107
|
+
'Version': '2020-01-01',
|
|
108
|
+
'Action': 'DescribeProductCode'
|
|
109
109
|
},
|
|
110
|
-
headers: {
|
|
111
|
-
|
|
110
|
+
'headers': {
|
|
111
|
+
'Content-Type': 'application/json'
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
-
paramsType: {}
|
|
114
|
+
'paramsType': {}
|
|
115
115
|
},
|
|
116
|
-
DescribeSplitItemBillDetails: {
|
|
117
|
-
url:
|
|
118
|
-
method:
|
|
119
|
-
config: {
|
|
120
|
-
query: {
|
|
121
|
-
Version:
|
|
122
|
-
Action:
|
|
116
|
+
'DescribeSplitItemBillDetails': {
|
|
117
|
+
'url': '/',
|
|
118
|
+
'method': 'GET',
|
|
119
|
+
'config': {
|
|
120
|
+
'query': {
|
|
121
|
+
'Version': '2020-01-01',
|
|
122
|
+
'Action': 'DescribeSplitItemBillDetails'
|
|
123
123
|
},
|
|
124
|
-
headers: {
|
|
125
|
-
|
|
124
|
+
'headers': {
|
|
125
|
+
'Content-Type': 'application/json'
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
|
-
paramsType: {
|
|
129
|
-
CustomerBillMonth:
|
|
130
|
-
ProductGroupCode:
|
|
131
|
-
StatisticType:
|
|
132
|
-
PayType:
|
|
133
|
-
SubAccountId:
|
|
134
|
-
Page:
|
|
135
|
-
Size:
|
|
128
|
+
'paramsType': {
|
|
129
|
+
'CustomerBillMonth': 'Int',
|
|
130
|
+
'ProductGroupCode': 'String',
|
|
131
|
+
'StatisticType': 'Int',
|
|
132
|
+
'PayType': 'Int',
|
|
133
|
+
'SubAccountId': 'Int',
|
|
134
|
+
'Page': 'Int',
|
|
135
|
+
'Size': 'String'
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
-
DescribeMiItemBills: {
|
|
139
|
-
url:
|
|
140
|
-
method:
|
|
141
|
-
config: {
|
|
142
|
-
query: {
|
|
143
|
-
Version:
|
|
144
|
-
Action:
|
|
138
|
+
'DescribeMiItemBills': {
|
|
139
|
+
'url': '/',
|
|
140
|
+
'method': 'GET',
|
|
141
|
+
'config': {
|
|
142
|
+
'query': {
|
|
143
|
+
'Version': '2020-01-01',
|
|
144
|
+
'Action': 'DescribeMiItemBills'
|
|
145
145
|
},
|
|
146
|
-
headers: {
|
|
147
|
-
|
|
146
|
+
'headers': {
|
|
147
|
+
'Content-Type': 'application/json'
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
|
-
paramsType: {
|
|
151
|
-
BillMonth:
|
|
150
|
+
'paramsType': {
|
|
151
|
+
'BillMonth': 'String'
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
-
DescribeSplitItemDayBillDetails: {
|
|
155
|
-
url:
|
|
156
|
-
method:
|
|
157
|
-
config: {
|
|
158
|
-
query: {
|
|
159
|
-
Version:
|
|
160
|
-
Action:
|
|
154
|
+
'DescribeSplitItemDayBillDetails': {
|
|
155
|
+
'url': '/',
|
|
156
|
+
'method': 'GET',
|
|
157
|
+
'config': {
|
|
158
|
+
'query': {
|
|
159
|
+
'Version': '2020-01-01',
|
|
160
|
+
'Action': 'DescribeSplitItemDayBillDetails'
|
|
161
161
|
},
|
|
162
|
-
headers: {
|
|
163
|
-
|
|
162
|
+
'headers': {
|
|
163
|
+
'Content-Type': 'application/json'
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
|
-
paramsType: {
|
|
167
|
-
CustomerBillMonth:
|
|
168
|
-
ProductGroupCode:
|
|
169
|
-
StatisticType:
|
|
170
|
-
PayType:
|
|
171
|
-
SubAccountId:
|
|
172
|
-
Page:
|
|
173
|
-
Size:
|
|
166
|
+
'paramsType': {
|
|
167
|
+
'CustomerBillMonth': 'Int',
|
|
168
|
+
'ProductGroupCode': 'String',
|
|
169
|
+
'StatisticType': 'Int',
|
|
170
|
+
'PayType': 'Int',
|
|
171
|
+
'SubAccountId': 'Int',
|
|
172
|
+
'Page': 'Int',
|
|
173
|
+
'Size': 'Int'
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
|
-
ListProductGroups: {
|
|
177
|
-
url:
|
|
178
|
-
method:
|
|
179
|
-
config: {
|
|
180
|
-
query: {
|
|
181
|
-
Version:
|
|
182
|
-
Action:
|
|
176
|
+
'ListProductGroups': {
|
|
177
|
+
'url': '/',
|
|
178
|
+
'method': 'GET',
|
|
179
|
+
'config': {
|
|
180
|
+
'query': {
|
|
181
|
+
'Version': '2020-01-01',
|
|
182
|
+
'Action': 'ListProductGroups'
|
|
183
183
|
},
|
|
184
|
-
headers: {
|
|
185
|
-
|
|
184
|
+
'headers': {
|
|
185
|
+
'Content-Type': 'application/json'
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
|
-
paramsType: {}
|
|
188
|
+
'paramsType': {}
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
}
|