tencentcloud-sdk-nodejs 4.0.552 → 4.0.553

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +208 -0
  2. package/SERVICE_CHANGELOG.md +335 -52
  3. package/package.json +1 -1
  4. package/products.md +15 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ccc/v20200210/ccc_models.ts +5 -0
  7. package/src/services/cwp/v20180228/cwp_client.ts +445 -84
  8. package/src/services/cwp/v20180228/cwp_models.ts +2230 -688
  9. package/src/services/dlc/v20210125/dlc_client.ts +103 -30
  10. package/src/services/dlc/v20210125/dlc_models.ts +437 -150
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -4
  12. package/src/services/index.ts +1 -0
  13. package/src/services/intlpartnersmgt/index.ts +5 -0
  14. package/src/services/intlpartnersmgt/v20220928/index.ts +6 -0
  15. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.ts +178 -0
  16. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.ts +608 -0
  17. package/src/services/tdmq/v20200217/tdmq_models.ts +24 -16
  18. package/src/services/tse/v20201207/tse_client.ts +1 -0
  19. package/src/services/tse/v20201207/tse_models.ts +28 -0
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  23. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +137 -21
  24. package/tencentcloud/services/cwp/v20180228/cwp_client.js +204 -30
  25. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1860 -544
  26. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +33 -9
  27. package/tencentcloud/services/dlc/v20210125/dlc_client.js +48 -12
  28. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +368 -128
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -4
  30. package/tencentcloud/services/index.d.ts +1 -0
  31. package/tencentcloud/services/index.js +2 -0
  32. package/tencentcloud/services/intlpartnersmgt/index.d.ts +6 -0
  33. package/tencentcloud/services/intlpartnersmgt/index.js +7 -0
  34. package/tencentcloud/services/intlpartnersmgt/v20220928/index.d.ts +6 -0
  35. package/tencentcloud/services/intlpartnersmgt/v20220928/index.js +9 -0
  36. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.d.ts +62 -0
  37. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +105 -0
  38. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.d.ts +500 -0
  39. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.js +18 -0
  40. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +22 -15
  41. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +24 -0
  42. package/test/cwp.v20180228.test.js +310 -20
  43. package/test/dlc.v20210125.test.js +68 -8
  44. package/test/intlpartnersmgt.v20220928.test.js +131 -0
@@ -2554,8 +2554,8 @@ export interface Filter {
2554
2554
  如果需要指定B端(机构身份类型)签署人,其中ReleasedApprover需要传递的参数如下:
2555
2555
  ApproverNumber, OrganizationName, ApproverType必传。
2556
2556
  对于其他身份标识
2557
- - 渠道子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
2558
- - 非渠道合作企业:Name、Mobile必传。
2557
+ - 子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
2558
+ - 非子客企业:Name、Mobile必传。
2559
2559
  */
2560
2560
  export interface ReleasedApprover {
2561
2561
  /**
@@ -2598,13 +2598,13 @@ ORGANIZATION-企业
2598
2598
  Mobile?: string
2599
2599
 
2600
2600
  /**
2601
- * 企业签署方在同一渠道下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
2601
+ * 企业签署方在同一第三方应用下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
2602
2602
  */
2603
2603
  OrganizationOpenId?: string
2604
2604
 
2605
2605
  /**
2606
2606
  * 用户侧第三方id,最大长度64个字符
2607
- 当签署方为同一渠道下的员工时,该字必传
2607
+ 当签署方为同一第三方应用下的员工时,该字必传
2608
2608
  */
2609
2609
  OpenId?: string
2610
2610
  }
@@ -110,6 +110,7 @@ export { ie } from "./ie"
110
110
  export { iecp } from "./iecp"
111
111
  export { iir } from "./iir"
112
112
  export { ims } from "./ims"
113
+ export { intlpartnersmgt } from "./intlpartnersmgt"
113
114
  export { iot } from "./iot"
114
115
  export { iotcloud } from "./iotcloud"
115
116
  export { iotexplorer } from "./iotexplorer"
@@ -0,0 +1,5 @@
1
+ import { v20220928 } from "./v20220928"
2
+
3
+ export const intlpartnersmgt = {
4
+ v20220928: v20220928,
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./intlpartnersmgt_models"
2
+ import { Client } from "./intlpartnersmgt_client"
3
+ export const v20220928 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -0,0 +1,178 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ GetCountryCodesRequest,
22
+ QueryPartnerCreditResponse,
23
+ QueryVoucherListByUinRequest,
24
+ QueryVoucherAmountByUinResponse,
25
+ QueryVoucherAmountByUinItem,
26
+ QueryCreditAllocationHistoryData,
27
+ AllocateCustomerCreditRequest,
28
+ GetCountryCodesResponse,
29
+ QueryCustomersCreditRequest,
30
+ QueryCreditByUinListRequest,
31
+ CreateAccountResponse,
32
+ QueryPartnerCreditRequest,
33
+ QueryCreditByUinListResponse,
34
+ QueryVoucherPoolResponse,
35
+ QueryCreditAllocationHistoryResponse,
36
+ CreateAccountRequest,
37
+ QueryDirectCustomersCreditRequest,
38
+ AllocateCustomerCreditResponse,
39
+ QueryVoucherListByUinVoucherItem,
40
+ QueryVoucherAmountByUinRequest,
41
+ QueryDirectCustomersCreditData,
42
+ QueryCreditAllocationHistoryRequest,
43
+ CountryCodeItem,
44
+ QueryDirectCustomersCreditResponse,
45
+ QueryVoucherListByUinResponse,
46
+ QueryVoucherPoolRequest,
47
+ QueryVoucherListByUinItem,
48
+ QueryCustomersCreditData,
49
+ QueryCustomersCreditResponse,
50
+ } from "./intlpartnersmgt_models"
51
+
52
+ /**
53
+ * intlpartnersmgt client
54
+ * @class
55
+ */
56
+ export class Client extends AbstractClient {
57
+ constructor(clientConfig: ClientConfig) {
58
+ super("intlpartnersmgt.tencentcloudapi.com", "2022-09-28", clientConfig)
59
+ }
60
+
61
+ /**
62
+ * 查询用户列表信用
63
+ */
64
+ async QueryCreditByUinList(
65
+ req: QueryCreditByUinListRequest,
66
+ cb?: (error: string, rep: QueryCreditByUinListResponse) => void
67
+ ): Promise<QueryCreditByUinListResponse> {
68
+ return this.request("QueryCreditByUinList", req, cb)
69
+ }
70
+
71
+ /**
72
+ * 查询代金券额度池
73
+ */
74
+ async QueryVoucherPool(
75
+ req?: QueryVoucherPoolRequest,
76
+ cb?: (error: string, rep: QueryVoucherPoolResponse) => void
77
+ ): Promise<QueryVoucherPoolResponse> {
78
+ return this.request("QueryVoucherPool", req, cb)
79
+ }
80
+
81
+ /**
82
+ * 查询直接子客信用
83
+ */
84
+ async QueryDirectCustomersCredit(
85
+ req?: QueryDirectCustomersCreditRequest,
86
+ cb?: (error: string, rep: QueryDirectCustomersCreditResponse) => void
87
+ ): Promise<QueryDirectCustomersCreditResponse> {
88
+ return this.request("QueryDirectCustomersCredit", req, cb)
89
+ }
90
+
91
+ /**
92
+ * 在合作伙伴平台,创建腾讯云账号,子客户注册完成后,自动与合作伙伴账号绑定。
93
+
94
+ 注意事项:<br>
95
+ 1、创建腾讯云账号,输入的邮箱、手机号,需要合作伙伴做有效性验证。<br>
96
+ 2、客户首次登录需要补充个人信息
97
+ */
98
+ async CreateAccount(
99
+ req: CreateAccountRequest,
100
+ cb?: (error: string, rep: CreateAccountResponse) => void
101
+ ): Promise<CreateAccountResponse> {
102
+ return this.request("CreateAccount", req, cb)
103
+ }
104
+
105
+ /**
106
+ * 根据客户uin查询代金券列表
107
+ */
108
+ async QueryVoucherListByUin(
109
+ req: QueryVoucherListByUinRequest,
110
+ cb?: (error: string, rep: QueryVoucherListByUinResponse) => void
111
+ ): Promise<QueryVoucherListByUinResponse> {
112
+ return this.request("QueryVoucherListByUin", req, cb)
113
+ }
114
+
115
+ /**
116
+ * 查询合作伙伴自己的总信用额度、可用信用额度、已使用信用额度,单位为美元
117
+ */
118
+ async QueryPartnerCredit(
119
+ req?: QueryPartnerCreditRequest,
120
+ cb?: (error: string, rep: QueryPartnerCreditResponse) => void
121
+ ): Promise<QueryPartnerCreditResponse> {
122
+ return this.request("QueryPartnerCredit", req, cb)
123
+ }
124
+
125
+ /**
126
+ * 合作伙伴可以为关联客户设置信用额度,包括调高额度、降低额度、设置额度为0
127
+ 1、信用额度长期有效,不会定期清0;
128
+ 2、可用信用额度为0,会触发客户停服,请谨慎操作;
129
+ 3、如需限制客户新购,但不影响已购产品使用,可与渠道经理申请客户欠费不停服特权后,设置可用信用额度为0;
130
+ 4、设置的额度,为当前可用信用额度的增量,最大不能超过合作伙伴可分配的剩余额度,设置负数代表回收额度,可用信用额度最低设置为0。
131
+ */
132
+ async AllocateCustomerCredit(
133
+ req: AllocateCustomerCreditRequest,
134
+ cb?: (error: string, rep: AllocateCustomerCreditResponse) => void
135
+ ): Promise<AllocateCustomerCreditResponse> {
136
+ return this.request("AllocateCustomerCredit", req, cb)
137
+ }
138
+
139
+ /**
140
+ * 获取国家和地区的代码
141
+ */
142
+ async GetCountryCodes(
143
+ req?: GetCountryCodesRequest,
144
+ cb?: (error: string, rep: GetCountryCodesResponse) => void
145
+ ): Promise<GetCountryCodesResponse> {
146
+ return this.request("GetCountryCodes", req, cb)
147
+ }
148
+
149
+ /**
150
+ * 查询单个客户的全部历史分配记录
151
+ */
152
+ async QueryCreditAllocationHistory(
153
+ req: QueryCreditAllocationHistoryRequest,
154
+ cb?: (error: string, rep: QueryCreditAllocationHistoryResponse) => void
155
+ ): Promise<QueryCreditAllocationHistoryResponse> {
156
+ return this.request("QueryCreditAllocationHistory", req, cb)
157
+ }
158
+
159
+ /**
160
+ * 合作伙伴可以查询关联客户的信用额度,以及客户的基础信息
161
+ */
162
+ async QueryCustomersCredit(
163
+ req: QueryCustomersCreditRequest,
164
+ cb?: (error: string, rep: QueryCustomersCreditResponse) => void
165
+ ): Promise<QueryCustomersCreditResponse> {
166
+ return this.request("QueryCustomersCredit", req, cb)
167
+ }
168
+
169
+ /**
170
+ * 根据客户uin查询代金券额度
171
+ */
172
+ async QueryVoucherAmountByUin(
173
+ req: QueryVoucherAmountByUinRequest,
174
+ cb?: (error: string, rep: QueryVoucherAmountByUinResponse) => void
175
+ ): Promise<QueryVoucherAmountByUinResponse> {
176
+ return this.request("QueryVoucherAmountByUin", req, cb)
177
+ }
178
+ }