tmc.js 0.3.43 → 0.3.44
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/README.md +3 -3
- package/package.json +1 -1
- package/types/alibaba.d.ts +25 -0
- package/types/fliggy.d.ts +2 -0
- package/types/index.d.ts +36 -0
- package/types/message.in.d.ts +38 -2
- package/types/message.out.d.ts +1 -1
- package/types/taobao.d.ts +40 -0
- package/types/tmall.d.ts +32 -0
package/README.md
CHANGED
|
@@ -134,7 +134,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
134
134
|
|
|
135
135
|
## 支持的TOPICS
|
|
136
136
|
|
|
137
|
-
<details><summary>共计 85+ 类别,
|
|
137
|
+
<details><summary>共计 85+ 类别,513+ 消息数</summary>
|
|
138
138
|
|
|
139
139
|
| 类别 | 消息数 |
|
|
140
140
|
| --- | --- |
|
|
@@ -150,7 +150,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
150
150
|
| 导购平台 | 21 |
|
|
151
151
|
| 淘宝汽车票 | 4 |
|
|
152
152
|
| 服务市场 | 9 |
|
|
153
|
-
| 天猫服务 |
|
|
153
|
+
| 天猫服务 | 32 |
|
|
154
154
|
| 天猫美妆 | 2 |
|
|
155
155
|
| 聚石塔 | 9 |
|
|
156
156
|
| 淘宝物流 | 1 |
|
|
@@ -212,7 +212,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
212
212
|
| 大资产拍卖Top端拍品消息 | 2 |
|
|
213
213
|
| AE-任务平台消息 | 1 |
|
|
214
214
|
| 天猫汽车 | 5 |
|
|
215
|
-
| 阿信消息通知前台类目 |
|
|
215
|
+
| 阿信消息通知前台类目 | 6 |
|
|
216
216
|
| 阿里健康追溯码 | 1 |
|
|
217
217
|
| 自动驾驶API | 3 |
|
|
218
218
|
| MMC五盘货项目 | 5 |
|
package/package.json
CHANGED
package/types/alibaba.d.ts
CHANGED
|
@@ -964,6 +964,31 @@ declare namespace Alibaba.Crowdsourcing {
|
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
|
|
967
|
+
/** 三小时公益 */
|
|
968
|
+
declare namespace Alibaba.Csr {
|
|
969
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2596&docType=9 公益三小时积分捐行为同步} */
|
|
970
|
+
interface DonatePointSync {
|
|
971
|
+
/** 捐赠积分数量 */
|
|
972
|
+
donate_point_num: string;
|
|
973
|
+
/** 捐赠时间毫秒级时间戳 */
|
|
974
|
+
donate_time: string;
|
|
975
|
+
/** 消息幂等id */
|
|
976
|
+
msg_id: string;
|
|
977
|
+
/** 合作方绑定三小时账户时传递的用户标识 */
|
|
978
|
+
user_account_code: string;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2594&docType=9 3小时积分捐同步活力值到志愿汇} */
|
|
982
|
+
interface ZhiyuanhuiSyncEnergy {
|
|
983
|
+
/** 捐赠爱能数量 */
|
|
984
|
+
donate_love_bean_num: string;
|
|
985
|
+
/** 用户3小时id#用户捐赠记录id */
|
|
986
|
+
msg_id: string;
|
|
987
|
+
/** 用户志愿汇侧用户标识 */
|
|
988
|
+
zyh_user_account_code: string;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
967
992
|
/** 阿里楼盘 */
|
|
968
993
|
declare namespace Alibaba.Decoration {
|
|
969
994
|
/** {@link https://open.taobao.com/tmc.htm?docId=2014&docType=9 AI设计方案状态变更通知} */
|
package/types/fliggy.d.ts
CHANGED
|
@@ -169,6 +169,8 @@ declare namespace Fliggy.Visa {
|
|
|
169
169
|
apply_mode: number;
|
|
170
170
|
/** 申请人状态 */
|
|
171
171
|
apply_status: number;
|
|
172
|
+
/** 订单拓展信息,详情见[签证对接文档](https://open.alitrip.com/docs/doc.htm?docType=1&articleId=121404) */
|
|
173
|
+
biz_exts: string;
|
|
172
174
|
/** 订单id */
|
|
173
175
|
order_id: string;
|
|
174
176
|
/** 办签进度流程类型 */
|
package/types/index.d.ts
CHANGED
|
@@ -198,6 +198,10 @@ declare interface TaoTopicsDescriptor {
|
|
|
198
198
|
alibaba_crm_OutboundInfoMessage(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrmOutboundInfoMessage) => void): TaoMessageConsumer;
|
|
199
199
|
/** {@link IncomingMessage.AlibabaCrowdsourcingMaterial - > 素材生成通知} */
|
|
200
200
|
alibaba_crowdsourcing_Material(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrowdsourcingMaterial) => void): TaoMessageConsumer;
|
|
201
|
+
/** {@link IncomingMessage.AlibabaCsrDonatePointSync 三小时公益 > 公益三小时积分捐行为同步} */
|
|
202
|
+
alibaba_csr_DonatePointSync(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCsrDonatePointSync) => void): TaoMessageConsumer;
|
|
203
|
+
/** {@link IncomingMessage.AlibabaCsrZhiyuanhuiSyncEnergy 三小时公益 > 3小时积分捐同步活力值到志愿汇} */
|
|
204
|
+
alibaba_csr_ZhiyuanhuiSyncEnergy(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCsrZhiyuanhuiSyncEnergy) => void): TaoMessageConsumer;
|
|
201
205
|
/** {@link IncomingMessage.AlibabaDecorationAidesignFinish 阿里楼盘 > AI设计方案状态变更通知} */
|
|
202
206
|
alibaba_decoration_AidesignFinish(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaDecorationAidesignFinish) => void): TaoMessageConsumer;
|
|
203
207
|
/** {@link IncomingMessage.AlibabaDecorationApartmentExport 阿里楼盘 > 生成户型图消息} */
|
|
@@ -2084,8 +2088,16 @@ declare interface TaoTopicsDescriptor {
|
|
|
2084
2088
|
taobao_yichao_WarrantyCodeStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoYichaoWarrantyCodeStatusUpdate) => void): TaoMessageConsumer;
|
|
2085
2089
|
/** {@link IncomingMessage.TaobaoZkFirstLogisticsNotify 淘宝真酷 > 淘宝真酷一段物流发货消息} */
|
|
2086
2090
|
taobao_zk_FirstLogisticsNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkFirstLogisticsNotify) => void): TaoMessageConsumer;
|
|
2091
|
+
/** {@link IncomingMessage.TaobaoZkFirstLogisticsReceivedNotify 淘宝真酷 > 一段物流签收通知} */
|
|
2092
|
+
taobao_zk_FirstLogisticsReceivedNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkFirstLogisticsReceivedNotify) => void): TaoMessageConsumer;
|
|
2087
2093
|
/** {@link IncomingMessage.TaobaoZkIdentifyCreate 淘宝真酷 > 淘宝真酷需求鉴别单创建消息} */
|
|
2088
2094
|
taobao_zk_IdentifyCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkIdentifyCreate) => void): TaoMessageConsumer;
|
|
2095
|
+
/** {@link IncomingMessage.TaobaoZkRefundNotify 淘宝真酷 > 真酷鉴定用户退款通知} */
|
|
2096
|
+
taobao_zk_RefundNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkRefundNotify) => void): TaoMessageConsumer;
|
|
2097
|
+
/** {@link IncomingMessage.TaobaoZkSecondLogisticsGotNotify 淘宝真酷 > 淘宝真酷二段寄出后揽收通知机构} */
|
|
2098
|
+
taobao_zk_SecondLogisticsGotNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkSecondLogisticsGotNotify) => void): TaoMessageConsumer;
|
|
2099
|
+
/** {@link IncomingMessage.TaobaoZkSubmitQuote 淘宝真酷 > 真酷供应商提交报价结果通知} */
|
|
2100
|
+
taobao_zk_SubmitQuote(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkSubmitQuote) => void): TaoMessageConsumer;
|
|
2089
2101
|
/** {@link IncomingMessage.TaotaoFilmThirdPartyRefundPush 淘宝 > 退款消息同步} */
|
|
2090
2102
|
taotao_film_ThirdPartyRefundPush(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaotaoFilmThirdPartyRefundPush) => void): TaoMessageConsumer;
|
|
2091
2103
|
/** {@link IncomingMessage.TmallAliautoStepOrderPartConfirm 天猫汽车 > 天猫汽车分阶段订单打款消息} */
|
|
@@ -2136,6 +2148,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2136
2148
|
tmall_fuwu_NewAnomalyRecourseStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuNewAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
|
|
2137
2149
|
/** {@link IncomingMessage.TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
2138
2150
|
tmall_fuwu_RateMessageTP(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuRateMessageTP) => void): TaoMessageConsumer;
|
|
2151
|
+
/** {@link IncomingMessage.TmallFuwuSendCallRecord 天猫服务 > 发送通话记录} */
|
|
2152
|
+
tmall_fuwu_SendCallRecord(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuSendCallRecord) => void): TaoMessageConsumer;
|
|
2139
2153
|
/** {@link IncomingMessage.TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
2140
2154
|
tmall_fuwu_ServiceItemUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuServiceItemUpdate) => void): TaoMessageConsumer;
|
|
2141
2155
|
/** {@link IncomingMessage.TmallFuwuServiceMonitorMessage 天猫服务 > 服务预警消息} */
|
|
@@ -2254,6 +2268,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2254
2268
|
tmall_scm_SendTmcsDistributeSettleFee(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallScmSendTmcsDistributeSettleFee) => void): TaoMessageConsumer;
|
|
2255
2269
|
/** {@link IncomingMessage.TmallServiceCycleBillInvoice 天猫服务 > 服务结算账期账单发票消息} */
|
|
2256
2270
|
tmall_service_CycleBillInvoice(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallServiceCycleBillInvoice) => void): TaoMessageConsumer;
|
|
2271
|
+
/** {@link IncomingMessage.TmallServicecenterConsultationMessage 天猫服务 > 咨询工单消息} */
|
|
2272
|
+
tmall_servicecenter_ConsultationMessage(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallServicecenterConsultationMessage) => void): TaoMessageConsumer;
|
|
2257
2273
|
/** {@link IncomingMessage.TmallServicecenterTaskUpdate 天猫服务 > 天猫服务平台工单更新} */
|
|
2258
2274
|
tmall_servicecenter_TaskUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallServicecenterTaskUpdate) => void): TaoMessageConsumer;
|
|
2259
2275
|
/** {@link IncomingMessage.TmallServiceplatformServiceProductChanged 天猫服务 > 天猫服务产品变更消息} */
|
|
@@ -2404,6 +2420,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2404
2420
|
alibaba_crm(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrm) => void): TaoMessageConsumer;
|
|
2405
2421
|
/** {@link IncomingMessage.AlibabaCrowdsourcing} */
|
|
2406
2422
|
alibaba_crowdsourcing(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrowdsourcing) => void): TaoMessageConsumer;
|
|
2423
|
+
/** {@link IncomingMessage.AlibabaCsr} */
|
|
2424
|
+
alibaba_csr(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCsr) => void): TaoMessageConsumer;
|
|
2407
2425
|
/** {@link IncomingMessage.AlibabaDecoration} */
|
|
2408
2426
|
alibaba_decoration(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaDecoration) => void): TaoMessageConsumer;
|
|
2409
2427
|
/** {@link IncomingMessage.AlibabaEinvoice} */
|
|
@@ -3293,6 +3311,10 @@ declare interface TaoEventsListener {
|
|
|
3293
3311
|
on(topic: 'alibaba_crm_OutboundInfoMessage', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrmOutboundInfoMessage) => void): TaoMessageConsumer;
|
|
3294
3312
|
/** {@link IncomingMessage.AlibabaCrowdsourcingMaterial - > 素材生成通知} */
|
|
3295
3313
|
on(topic: 'alibaba_crowdsourcing_Material', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrowdsourcingMaterial) => void): TaoMessageConsumer;
|
|
3314
|
+
/** {@link IncomingMessage.AlibabaCsrDonatePointSync 三小时公益 > 公益三小时积分捐行为同步} */
|
|
3315
|
+
on(topic: 'alibaba_csr_DonatePointSync', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCsrDonatePointSync) => void): TaoMessageConsumer;
|
|
3316
|
+
/** {@link IncomingMessage.AlibabaCsrZhiyuanhuiSyncEnergy 三小时公益 > 3小时积分捐同步活力值到志愿汇} */
|
|
3317
|
+
on(topic: 'alibaba_csr_ZhiyuanhuiSyncEnergy', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCsrZhiyuanhuiSyncEnergy) => void): TaoMessageConsumer;
|
|
3296
3318
|
/** {@link IncomingMessage.AlibabaDecorationAidesignFinish 阿里楼盘 > AI设计方案状态变更通知} */
|
|
3297
3319
|
on(topic: 'alibaba_decoration_AidesignFinish', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaDecorationAidesignFinish) => void): TaoMessageConsumer;
|
|
3298
3320
|
/** {@link IncomingMessage.AlibabaDecorationApartmentExport 阿里楼盘 > 生成户型图消息} */
|
|
@@ -5179,8 +5201,16 @@ declare interface TaoEventsListener {
|
|
|
5179
5201
|
on(topic: 'taobao_yichao_WarrantyCodeStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoYichaoWarrantyCodeStatusUpdate) => void): TaoMessageConsumer;
|
|
5180
5202
|
/** {@link IncomingMessage.TaobaoZkFirstLogisticsNotify 淘宝真酷 > 淘宝真酷一段物流发货消息} */
|
|
5181
5203
|
on(topic: 'taobao_zk_FirstLogisticsNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkFirstLogisticsNotify) => void): TaoMessageConsumer;
|
|
5204
|
+
/** {@link IncomingMessage.TaobaoZkFirstLogisticsReceivedNotify 淘宝真酷 > 一段物流签收通知} */
|
|
5205
|
+
on(topic: 'taobao_zk_FirstLogisticsReceivedNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkFirstLogisticsReceivedNotify) => void): TaoMessageConsumer;
|
|
5182
5206
|
/** {@link IncomingMessage.TaobaoZkIdentifyCreate 淘宝真酷 > 淘宝真酷需求鉴别单创建消息} */
|
|
5183
5207
|
on(topic: 'taobao_zk_IdentifyCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkIdentifyCreate) => void): TaoMessageConsumer;
|
|
5208
|
+
/** {@link IncomingMessage.TaobaoZkRefundNotify 淘宝真酷 > 真酷鉴定用户退款通知} */
|
|
5209
|
+
on(topic: 'taobao_zk_RefundNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkRefundNotify) => void): TaoMessageConsumer;
|
|
5210
|
+
/** {@link IncomingMessage.TaobaoZkSecondLogisticsGotNotify 淘宝真酷 > 淘宝真酷二段寄出后揽收通知机构} */
|
|
5211
|
+
on(topic: 'taobao_zk_SecondLogisticsGotNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkSecondLogisticsGotNotify) => void): TaoMessageConsumer;
|
|
5212
|
+
/** {@link IncomingMessage.TaobaoZkSubmitQuote 淘宝真酷 > 真酷供应商提交报价结果通知} */
|
|
5213
|
+
on(topic: 'taobao_zk_SubmitQuote', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoZkSubmitQuote) => void): TaoMessageConsumer;
|
|
5184
5214
|
/** {@link IncomingMessage.TaotaoFilmThirdPartyRefundPush 淘宝 > 退款消息同步} */
|
|
5185
5215
|
on(topic: 'taotao_film_ThirdPartyRefundPush', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaotaoFilmThirdPartyRefundPush) => void): TaoMessageConsumer;
|
|
5186
5216
|
/** {@link IncomingMessage.TmallAliautoStepOrderPartConfirm 天猫汽车 > 天猫汽车分阶段订单打款消息} */
|
|
@@ -5231,6 +5261,8 @@ declare interface TaoEventsListener {
|
|
|
5231
5261
|
on(topic: 'tmall_fuwu_NewAnomalyRecourseStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuNewAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
|
|
5232
5262
|
/** {@link IncomingMessage.TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
5233
5263
|
on(topic: 'tmall_fuwu_RateMessageTP', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuRateMessageTP) => void): TaoMessageConsumer;
|
|
5264
|
+
/** {@link IncomingMessage.TmallFuwuSendCallRecord 天猫服务 > 发送通话记录} */
|
|
5265
|
+
on(topic: 'tmall_fuwu_SendCallRecord', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuSendCallRecord) => void): TaoMessageConsumer;
|
|
5234
5266
|
/** {@link IncomingMessage.TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
5235
5267
|
on(topic: 'tmall_fuwu_ServiceItemUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuServiceItemUpdate) => void): TaoMessageConsumer;
|
|
5236
5268
|
/** {@link IncomingMessage.TmallFuwuServiceMonitorMessage 天猫服务 > 服务预警消息} */
|
|
@@ -5349,6 +5381,8 @@ declare interface TaoEventsListener {
|
|
|
5349
5381
|
on(topic: 'tmall_scm_SendTmcsDistributeSettleFee', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallScmSendTmcsDistributeSettleFee) => void): TaoMessageConsumer;
|
|
5350
5382
|
/** {@link IncomingMessage.TmallServiceCycleBillInvoice 天猫服务 > 服务结算账期账单发票消息} */
|
|
5351
5383
|
on(topic: 'tmall_service_CycleBillInvoice', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallServiceCycleBillInvoice) => void): TaoMessageConsumer;
|
|
5384
|
+
/** {@link IncomingMessage.TmallServicecenterConsultationMessage 天猫服务 > 咨询工单消息} */
|
|
5385
|
+
on(topic: 'tmall_servicecenter_ConsultationMessage', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallServicecenterConsultationMessage) => void): TaoMessageConsumer;
|
|
5352
5386
|
/** {@link IncomingMessage.TmallServicecenterTaskUpdate 天猫服务 > 天猫服务平台工单更新} */
|
|
5353
5387
|
on(topic: 'tmall_servicecenter_TaskUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallServicecenterTaskUpdate) => void): TaoMessageConsumer;
|
|
5354
5388
|
/** {@link IncomingMessage.TmallServiceplatformServiceProductChanged 天猫服务 > 天猫服务产品变更消息} */
|
|
@@ -5499,6 +5533,8 @@ declare interface TaoEventsListener {
|
|
|
5499
5533
|
on(topic: 'alibaba_crm', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrm) => void): TaoMessageConsumer;
|
|
5500
5534
|
/** {@link IncomingMessage.AlibabaCrowdsourcing} */
|
|
5501
5535
|
on(topic: 'alibaba_crowdsourcing', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCrowdsourcing) => void): TaoMessageConsumer;
|
|
5536
|
+
/** {@link IncomingMessage.AlibabaCsr} */
|
|
5537
|
+
on(topic: 'alibaba_csr', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaCsr) => void): TaoMessageConsumer;
|
|
5502
5538
|
/** {@link IncomingMessage.AlibabaDecoration} */
|
|
5503
5539
|
on(topic: 'alibaba_decoration', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaDecoration) => void): TaoMessageConsumer;
|
|
5504
5540
|
/** {@link IncomingMessage.AlibabaEinvoice} */
|
package/types/message.in.d.ts
CHANGED
|
@@ -181,6 +181,10 @@ declare namespace IncomingMessage {
|
|
|
181
181
|
type AlibabaCrmOutboundInfoMessage = Message & { content?: MessageContent & { topic?: 'alibaba_crm_OutboundInfoMessage', content?: string | Alibaba.Crm.OutboundInfoMessage } };
|
|
182
182
|
/** {@link Alibaba.Crowdsourcing.Material - > 素材生成通知} */
|
|
183
183
|
type AlibabaCrowdsourcingMaterial = Message & { content?: MessageContent & { topic?: 'alibaba_crowdsourcing_Material', content?: string | Alibaba.Crowdsourcing.Material } };
|
|
184
|
+
/** {@link Alibaba.Csr.DonatePointSync 三小时公益 > 公益三小时积分捐行为同步} */
|
|
185
|
+
type AlibabaCsrDonatePointSync = Message & { content?: MessageContent & { topic?: 'alibaba_csr_DonatePointSync', content?: string | Alibaba.Csr.DonatePointSync } };
|
|
186
|
+
/** {@link Alibaba.Csr.ZhiyuanhuiSyncEnergy 三小时公益 > 3小时积分捐同步活力值到志愿汇} */
|
|
187
|
+
type AlibabaCsrZhiyuanhuiSyncEnergy = Message & { content?: MessageContent & { topic?: 'alibaba_csr_ZhiyuanhuiSyncEnergy', content?: string | Alibaba.Csr.ZhiyuanhuiSyncEnergy } };
|
|
184
188
|
/** {@link Alibaba.Decoration.AidesignFinish 阿里楼盘 > AI设计方案状态变更通知} */
|
|
185
189
|
type AlibabaDecorationAidesignFinish = Message & { content?: MessageContent & { topic?: 'alibaba_decoration_AidesignFinish', content?: string | Alibaba.Decoration.AidesignFinish } };
|
|
186
190
|
/** {@link Alibaba.Decoration.ApartmentExport 阿里楼盘 > 生成户型图消息} */
|
|
@@ -2067,8 +2071,16 @@ declare namespace IncomingMessage {
|
|
|
2067
2071
|
type TaobaoYichaoWarrantyCodeStatusUpdate = Message & { content?: MessageContent & { topic?: 'taobao_yichao_WarrantyCodeStatusUpdate', content?: string | Taobao.Yichao.WarrantyCodeStatusUpdate } };
|
|
2068
2072
|
/** {@link Taobao.Zk.FirstLogisticsNotify 淘宝真酷 > 淘宝真酷一段物流发货消息} */
|
|
2069
2073
|
type TaobaoZkFirstLogisticsNotify = Message & { content?: MessageContent & { topic?: 'taobao_zk_FirstLogisticsNotify', content?: string | Taobao.Zk.FirstLogisticsNotify } };
|
|
2074
|
+
/** {@link Taobao.Zk.FirstLogisticsReceivedNotify 淘宝真酷 > 一段物流签收通知} */
|
|
2075
|
+
type TaobaoZkFirstLogisticsReceivedNotify = Message & { content?: MessageContent & { topic?: 'taobao_zk_FirstLogisticsReceivedNotify', content?: string | Taobao.Zk.FirstLogisticsReceivedNotify } };
|
|
2070
2076
|
/** {@link Taobao.Zk.IdentifyCreate 淘宝真酷 > 淘宝真酷需求鉴别单创建消息} */
|
|
2071
2077
|
type TaobaoZkIdentifyCreate = Message & { content?: MessageContent & { topic?: 'taobao_zk_IdentifyCreate', content?: string | Taobao.Zk.IdentifyCreate } };
|
|
2078
|
+
/** {@link Taobao.Zk.RefundNotify 淘宝真酷 > 真酷鉴定用户退款通知} */
|
|
2079
|
+
type TaobaoZkRefundNotify = Message & { content?: MessageContent & { topic?: 'taobao_zk_RefundNotify', content?: string | Taobao.Zk.RefundNotify } };
|
|
2080
|
+
/** {@link Taobao.Zk.SecondLogisticsGotNotify 淘宝真酷 > 淘宝真酷二段寄出后揽收通知机构} */
|
|
2081
|
+
type TaobaoZkSecondLogisticsGotNotify = Message & { content?: MessageContent & { topic?: 'taobao_zk_SecondLogisticsGotNotify', content?: string | Taobao.Zk.SecondLogisticsGotNotify } };
|
|
2082
|
+
/** {@link Taobao.Zk.SubmitQuote 淘宝真酷 > 真酷供应商提交报价结果通知} */
|
|
2083
|
+
type TaobaoZkSubmitQuote = Message & { content?: MessageContent & { topic?: 'taobao_zk_SubmitQuote', content?: string | Taobao.Zk.SubmitQuote } };
|
|
2072
2084
|
/** {@link Taotao.Film.ThirdPartyRefundPush 淘宝 > 退款消息同步} */
|
|
2073
2085
|
type TaotaoFilmThirdPartyRefundPush = Message & { content?: MessageContent & { topic?: 'taotao_film_ThirdPartyRefundPush', content?: string | Taotao.Film.ThirdPartyRefundPush } };
|
|
2074
2086
|
/** {@link Tmall.Aliauto.StepOrderPartConfirm 天猫汽车 > 天猫汽车分阶段订单打款消息} */
|
|
@@ -2119,6 +2131,8 @@ declare namespace IncomingMessage {
|
|
|
2119
2131
|
type TmallFuwuNewAnomalyRecourseStatusUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_NewAnomalyRecourseStatusUpdate', content?: string | Tmall.Fuwu.NewAnomalyRecourseStatusUpdate } };
|
|
2120
2132
|
/** {@link Tmall.Fuwu.RateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
2121
2133
|
type TmallFuwuRateMessageTP = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_RateMessageTP', content?: string | Tmall.Fuwu.RateMessageTP } };
|
|
2134
|
+
/** {@link Tmall.Fuwu.SendCallRecord 天猫服务 > 发送通话记录} */
|
|
2135
|
+
type TmallFuwuSendCallRecord = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_SendCallRecord', content?: string | Tmall.Fuwu.SendCallRecord } };
|
|
2122
2136
|
/** {@link Tmall.Fuwu.ServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
2123
2137
|
type TmallFuwuServiceItemUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_ServiceItemUpdate', content?: string | Tmall.Fuwu.ServiceItemUpdate } };
|
|
2124
2138
|
/** {@link Tmall.Fuwu.ServiceMonitorMessage 天猫服务 > 服务预警消息} */
|
|
@@ -2237,6 +2251,8 @@ declare namespace IncomingMessage {
|
|
|
2237
2251
|
type TmallScmSendTmcsDistributeSettleFee = Message & { content?: MessageContent & { topic?: 'tmall_scm_SendTmcsDistributeSettleFee', content?: string | Tmall.Scm.SendTmcsDistributeSettleFee } };
|
|
2238
2252
|
/** {@link Tmall.Service.CycleBillInvoice 天猫服务 > 服务结算账期账单发票消息} */
|
|
2239
2253
|
type TmallServiceCycleBillInvoice = Message & { content?: MessageContent & { topic?: 'tmall_service_CycleBillInvoice', content?: string | Tmall.Service.CycleBillInvoice } };
|
|
2254
|
+
/** {@link Tmall.Servicecenter.ConsultationMessage 天猫服务 > 咨询工单消息} */
|
|
2255
|
+
type TmallServicecenterConsultationMessage = Message & { content?: MessageContent & { topic?: 'tmall_servicecenter_ConsultationMessage', content?: string | Tmall.Servicecenter.ConsultationMessage } };
|
|
2240
2256
|
/** {@link Tmall.Servicecenter.TaskUpdate 天猫服务 > 天猫服务平台工单更新} */
|
|
2241
2257
|
type TmallServicecenterTaskUpdate = Message & { content?: MessageContent & { topic?: 'tmall_servicecenter_TaskUpdate', content?: string | Tmall.Servicecenter.TaskUpdate } };
|
|
2242
2258
|
/** {@link Tmall.Serviceplatform.ServiceProductChanged 天猫服务 > 天猫服务产品变更消息} */
|
|
@@ -2521,6 +2537,12 @@ declare namespace IncomingMessage {
|
|
|
2521
2537
|
* - {@link AlibabaCrowdsourcingMaterial - > 素材生成通知}
|
|
2522
2538
|
*/
|
|
2523
2539
|
type AlibabaCrowdsourcing = AlibabaCrowdsourcingMaterial;
|
|
2540
|
+
/**
|
|
2541
|
+
* - {@link AlibabaCsrDonatePointSync 三小时公益 > 公益三小时积分捐行为同步}
|
|
2542
|
+
* - {@link AlibabaCsrZhiyuanhuiSyncEnergy 三小时公益 > 3小时积分捐同步活力值到志愿汇}
|
|
2543
|
+
*/
|
|
2544
|
+
type AlibabaCsr = AlibabaCsrDonatePointSync
|
|
2545
|
+
| AlibabaCsrZhiyuanhuiSyncEnergy;
|
|
2524
2546
|
/**
|
|
2525
2547
|
* - {@link AlibabaDecorationAidesignFinish 阿里楼盘 > AI设计方案状态变更通知}
|
|
2526
2548
|
* - {@link AlibabaDecorationApartmentExport 阿里楼盘 > 生成户型图消息}
|
|
@@ -4953,10 +4975,18 @@ declare namespace IncomingMessage {
|
|
|
4953
4975
|
type TaobaoYichao = TaobaoYichaoWarrantyCodeStatusUpdate;
|
|
4954
4976
|
/**
|
|
4955
4977
|
* - {@link TaobaoZkFirstLogisticsNotify 淘宝真酷 > 淘宝真酷一段物流发货消息}
|
|
4978
|
+
* - {@link TaobaoZkFirstLogisticsReceivedNotify 淘宝真酷 > 一段物流签收通知}
|
|
4956
4979
|
* - {@link TaobaoZkIdentifyCreate 淘宝真酷 > 淘宝真酷需求鉴别单创建消息}
|
|
4980
|
+
* - {@link TaobaoZkRefundNotify 淘宝真酷 > 真酷鉴定用户退款通知}
|
|
4981
|
+
* - {@link TaobaoZkSecondLogisticsGotNotify 淘宝真酷 > 淘宝真酷二段寄出后揽收通知机构}
|
|
4982
|
+
* - {@link TaobaoZkSubmitQuote 淘宝真酷 > 真酷供应商提交报价结果通知}
|
|
4957
4983
|
*/
|
|
4958
4984
|
type TaobaoZk = TaobaoZkFirstLogisticsNotify
|
|
4959
|
-
|
|
|
4985
|
+
| TaobaoZkFirstLogisticsReceivedNotify
|
|
4986
|
+
| TaobaoZkIdentifyCreate
|
|
4987
|
+
| TaobaoZkRefundNotify
|
|
4988
|
+
| TaobaoZkSecondLogisticsGotNotify
|
|
4989
|
+
| TaobaoZkSubmitQuote;
|
|
4960
4990
|
/**
|
|
4961
4991
|
* - {@link TaotaoFilmThirdPartyRefundPush 淘宝 > 退款消息同步}
|
|
4962
4992
|
*/
|
|
@@ -5012,6 +5042,7 @@ declare namespace IncomingMessage {
|
|
|
5012
5042
|
* - {@link TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息}
|
|
5013
5043
|
* - {@link TmallFuwuNewAnomalyRecourseStatusUpdate 天猫服务 > 服务管控消息更新}
|
|
5014
5044
|
* - {@link TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息}
|
|
5045
|
+
* - {@link TmallFuwuSendCallRecord 天猫服务 > 发送通话记录}
|
|
5015
5046
|
* - {@link TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息}
|
|
5016
5047
|
* - {@link TmallFuwuServiceMonitorMessage 天猫服务 > 服务预警消息}
|
|
5017
5048
|
* - {@link TmallFuwuServiceStoreRegister 天猫服务 > 服务网点注册消息}
|
|
@@ -5030,6 +5061,7 @@ declare namespace IncomingMessage {
|
|
|
5030
5061
|
| TmallFuwuLogisticsInfoMessage
|
|
5031
5062
|
| TmallFuwuNewAnomalyRecourseStatusUpdate
|
|
5032
5063
|
| TmallFuwuRateMessageTP
|
|
5064
|
+
| TmallFuwuSendCallRecord
|
|
5033
5065
|
| TmallFuwuServiceItemUpdate
|
|
5034
5066
|
| TmallFuwuServiceMonitorMessage
|
|
5035
5067
|
| TmallFuwuServiceStoreRegister
|
|
@@ -5172,9 +5204,11 @@ declare namespace IncomingMessage {
|
|
|
5172
5204
|
*/
|
|
5173
5205
|
type TmallService = TmallServiceCycleBillInvoice;
|
|
5174
5206
|
/**
|
|
5207
|
+
* - {@link TmallServicecenterConsultationMessage 天猫服务 > 咨询工单消息}
|
|
5175
5208
|
* - {@link TmallServicecenterTaskUpdate 天猫服务 > 天猫服务平台工单更新}
|
|
5176
5209
|
*/
|
|
5177
|
-
type TmallServicecenter =
|
|
5210
|
+
type TmallServicecenter = TmallServicecenterConsultationMessage
|
|
5211
|
+
| TmallServicecenterTaskUpdate;
|
|
5178
5212
|
/**
|
|
5179
5213
|
* - {@link TmallServiceplatformServiceProductChanged 天猫服务 > 天猫服务产品变更消息}
|
|
5180
5214
|
* - {@link TmallServiceplatformSignCreate 天猫服务 > 签到消息}
|
|
@@ -5376,6 +5410,7 @@ declare namespace IncomingMessage {
|
|
|
5376
5410
|
* - {@link AlibabaCoupon}
|
|
5377
5411
|
* - {@link AlibabaCrm}
|
|
5378
5412
|
* - {@link AlibabaCrowdsourcing}
|
|
5413
|
+
* - {@link AlibabaCsr}
|
|
5379
5414
|
* - {@link AlibabaDecoration}
|
|
5380
5415
|
* - {@link AlibabaEinvoice}
|
|
5381
5416
|
* - {@link AlibabaEsl}
|
|
@@ -5442,6 +5477,7 @@ declare namespace IncomingMessage {
|
|
|
5442
5477
|
| AlibabaCoupon
|
|
5443
5478
|
| AlibabaCrm
|
|
5444
5479
|
| AlibabaCrowdsourcing
|
|
5480
|
+
| AlibabaCsr
|
|
5445
5481
|
| AlibabaDecoration
|
|
5446
5482
|
| AlibabaEinvoice
|
|
5447
5483
|
| AlibabaEsl
|
package/types/message.out.d.ts
CHANGED
package/types/taobao.d.ts
CHANGED
|
@@ -7001,6 +7001,18 @@ declare namespace Taobao.Yichao {
|
|
|
7001
7001
|
declare namespace Taobao.Zk {
|
|
7002
7002
|
/** {@link https://open.taobao.com/tmc.htm?docId=2581&docType=9 淘宝真酷一段物流发货消息} */
|
|
7003
7003
|
interface FirstLogisticsNotify {
|
|
7004
|
+
/** 订单id */
|
|
7005
|
+
biz_order_id: string;
|
|
7006
|
+
/** 鉴定机构id */
|
|
7007
|
+
identify_institution_id: string;
|
|
7008
|
+
/** 一段物流单号 */
|
|
7009
|
+
identify_logistics_id: string;
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7012
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2588&docType=9 一段物流签收通知} */
|
|
7013
|
+
interface FirstLogisticsReceivedNotify {
|
|
7014
|
+
/** 订单id */
|
|
7015
|
+
biz_order_id: string;
|
|
7004
7016
|
/** 鉴定机构id */
|
|
7005
7017
|
identify_institution_id: string;
|
|
7006
7018
|
/** 一段物流单号 */
|
|
@@ -7016,4 +7028,32 @@ declare namespace Taobao.Zk {
|
|
|
7016
7028
|
/** 需求鉴别单id */
|
|
7017
7029
|
identify_request_id: string;
|
|
7018
7030
|
}
|
|
7031
|
+
|
|
7032
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2589&docType=9 真酷鉴定用户退款通知} */
|
|
7033
|
+
interface RefundNotify {
|
|
7034
|
+
/** 订单id */
|
|
7035
|
+
biz_order_id: string;
|
|
7036
|
+
/** 鉴定机构id */
|
|
7037
|
+
identify_institution_id: string;
|
|
7038
|
+
/** 物流单号 */
|
|
7039
|
+
identify_logistics_id: string;
|
|
7040
|
+
}
|
|
7041
|
+
|
|
7042
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2590&docType=9 淘宝真酷二段寄出后揽收通知机构} */
|
|
7043
|
+
interface SecondLogisticsGotNotify {
|
|
7044
|
+
/** 订单id */
|
|
7045
|
+
biz_order_id: string;
|
|
7046
|
+
/** 鉴定机构id */
|
|
7047
|
+
identify_institution_id: string;
|
|
7048
|
+
/** 物流单号 */
|
|
7049
|
+
identify_logistics_id: string;
|
|
7050
|
+
}
|
|
7051
|
+
|
|
7052
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2593&docType=9 真酷供应商提交报价结果通知} */
|
|
7053
|
+
interface SubmitQuote {
|
|
7054
|
+
/** 返回结果 */
|
|
7055
|
+
data: string;
|
|
7056
|
+
/** 用户id */
|
|
7057
|
+
user_id: string;
|
|
7058
|
+
}
|
|
7019
7059
|
}
|
package/types/tmall.d.ts
CHANGED
|
@@ -263,6 +263,16 @@ declare namespace Tmall.Fuwu {
|
|
|
263
263
|
work_order_id: number;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2592&docType=9 发送通话记录} */
|
|
267
|
+
interface SendCallRecord {
|
|
268
|
+
/** 工单号 */
|
|
269
|
+
biz_identify: string;
|
|
270
|
+
/** */
|
|
271
|
+
call_id?: string;
|
|
272
|
+
/** */
|
|
273
|
+
record_link?: string;
|
|
274
|
+
}
|
|
275
|
+
|
|
266
276
|
/** {@link https://open.taobao.com/tmc.htm?docId=1290&docType=9 服务商品信息变更消息} */
|
|
267
277
|
interface ServiceItemUpdate {
|
|
268
278
|
/** 服务商品id */
|
|
@@ -1090,6 +1100,28 @@ declare namespace Tmall.Service {
|
|
|
1090
1100
|
|
|
1091
1101
|
/** 天猫服务 */
|
|
1092
1102
|
declare namespace Tmall.Servicecenter {
|
|
1103
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2585&docType=9 咨询工单消息} */
|
|
1104
|
+
interface ConsultationMessage {
|
|
1105
|
+
/** create,response,append,close */
|
|
1106
|
+
action: string;
|
|
1107
|
+
/** 追加时间 */
|
|
1108
|
+
append_time: string;
|
|
1109
|
+
/** 咨询单 id */
|
|
1110
|
+
consultation_id: string;
|
|
1111
|
+
/** 内容 */
|
|
1112
|
+
content: string;
|
|
1113
|
+
/** 问题编码 */
|
|
1114
|
+
issue_code: string;
|
|
1115
|
+
/** 问题名称 */
|
|
1116
|
+
issue_name: string;
|
|
1117
|
+
/** 发起角色, home_xiaoer , supplier, seller, buyer */
|
|
1118
|
+
launch_role: string;
|
|
1119
|
+
/** 附件链接 */
|
|
1120
|
+
notes: string;
|
|
1121
|
+
/** 工单 */
|
|
1122
|
+
work_card_id: number;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1093
1125
|
/** {@link https://open.taobao.com/tmc.htm?docId=905&docType=9 天猫服务平台工单更新} */
|
|
1094
1126
|
interface TaskUpdate {
|
|
1095
1127
|
/** 属性字符串。使用;隔开,key:value格式保存。 */
|