tmc.js 0.3.23 → 0.3.25
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 +6 -6
- package/package.json +1 -1
- package/types/damai.d.ts +16 -0
- package/types/index.d.ts +50 -10
- package/types/message.in.d.ts +52 -12
- package/types/taobao.d.ts +59 -1
- package/types/tmall.d.ts +18 -0
package/README.md
CHANGED
|
@@ -134,11 +134,11 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
134
134
|
|
|
135
135
|
## 支持的TOPICS
|
|
136
136
|
|
|
137
|
-
<details><summary>共计 83+ 类别,
|
|
137
|
+
<details><summary>共计 83+ 类别,466+ 消息数</summary>
|
|
138
138
|
|
|
139
139
|
| 类别 | 消息数 |
|
|
140
140
|
| --- | --- |
|
|
141
|
-
| 淘宝交易 |
|
|
141
|
+
| 淘宝交易 | 23 |
|
|
142
142
|
| 淘宝退款 | 13 |
|
|
143
143
|
| 淘宝商品 | 13 |
|
|
144
144
|
| 淘宝分销 | 23 |
|
|
@@ -150,11 +150,11 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
150
150
|
| 导购平台 | 21 |
|
|
151
151
|
| 淘宝汽车票 | 4 |
|
|
152
152
|
| 服务市场 | 9 |
|
|
153
|
-
| 天猫服务 |
|
|
153
|
+
| 天猫服务 | 21 |
|
|
154
154
|
| 天猫美妆 | 2 |
|
|
155
155
|
| 聚石塔 | 9 |
|
|
156
156
|
| 淘宝物流 | 1 |
|
|
157
|
-
| 阿里通信 |
|
|
157
|
+
| 阿里通信 | 19 |
|
|
158
158
|
| 天猫魔盒 | 2 |
|
|
159
159
|
| 营销平台 | 1 |
|
|
160
160
|
| OpenIM消息 | 1 |
|
|
@@ -192,7 +192,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
192
192
|
| 商旅API | 3 |
|
|
193
193
|
| 阿里健康-O2O中台 | 2 |
|
|
194
194
|
| 业务平台新零售-消息上行 | 2 |
|
|
195
|
-
| 大麦第三方票务供应商接入 |
|
|
195
|
+
| 大麦第三方票务供应商接入 | 6 |
|
|
196
196
|
| TVOS应用审核平台 | 1 |
|
|
197
197
|
| Gifting送礼 | 1 |
|
|
198
198
|
| 五道口商品 | 2 |
|
|
@@ -211,7 +211,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
211
211
|
| 大资产拍卖Top端拍品消息 | 2 |
|
|
212
212
|
| AE-任务平台消息 | 1 |
|
|
213
213
|
| 天猫汽车 | 5 |
|
|
214
|
-
| 阿信消息通知前台类目 |
|
|
214
|
+
| 阿信消息通知前台类目 | 4 |
|
|
215
215
|
| 阿里健康追溯码 | 1 |
|
|
216
216
|
| 自动驾驶API | 3 |
|
|
217
217
|
| MMC五盘货项目 | 5 |
|
package/package.json
CHANGED
package/types/damai.d.ts
CHANGED
|
@@ -34,6 +34,22 @@ declare namespace Damai.Distribution {
|
|
|
34
34
|
project_id: number;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
/** 退票通知 */
|
|
38
|
+
interface RefundOrder {
|
|
39
|
+
/** 渠道id */
|
|
40
|
+
channel_id: string;
|
|
41
|
+
/** 大麦订单号 */
|
|
42
|
+
external_order_no: string;
|
|
43
|
+
/** 场次id */
|
|
44
|
+
perform_id: number;
|
|
45
|
+
/** 项目id */
|
|
46
|
+
project_id: number;
|
|
47
|
+
/** 部分退true,整单退false */
|
|
48
|
+
refund_part: boolean;
|
|
49
|
+
/** 票单列表 */
|
|
50
|
+
voucher_ids: number[];
|
|
51
|
+
}
|
|
52
|
+
|
|
37
53
|
/** 票品状态变更 */
|
|
38
54
|
interface TicketItemStatus {
|
|
39
55
|
/** 是否可售 */
|
package/types/index.d.ts
CHANGED
|
@@ -370,6 +370,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
370
370
|
damai_distribution_PreSaleToNow(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPreSaleToNow) => void): TaoMessageConsumer;
|
|
371
371
|
/** {@link IncomingMessage.DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送} */
|
|
372
372
|
damai_distribution_ProjectStatus(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionProjectStatus) => void): TaoMessageConsumer;
|
|
373
|
+
/** {@link IncomingMessage.DamaiDistributionRefundOrder 大麦第三方票务供应商接入 > 退票通知} */
|
|
374
|
+
damai_distribution_RefundOrder(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionRefundOrder) => void): TaoMessageConsumer;
|
|
373
375
|
/** {@link IncomingMessage.DamaiDistributionTicketItemStatus 大麦第三方票务供应商接入 > 票品状态变更} */
|
|
374
376
|
damai_distribution_TicketItemStatus(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionTicketItemStatus) => void): TaoMessageConsumer;
|
|
375
377
|
/** {@link IncomingMessage.DamaiTradeTicketStatusPush 大麦票单状态 > 大麦票单状态推送} */
|
|
@@ -438,6 +440,10 @@ declare interface TaoTopicsDescriptor {
|
|
|
438
440
|
taobao_aps_CommentAdd(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoApsCommentAdd) => void): TaoMessageConsumer;
|
|
439
441
|
/** {@link IncomingMessage.TaobaoApsNewFeedback 平台消息 > 收到舆情} */
|
|
440
442
|
taobao_aps_NewFeedback(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoApsNewFeedback) => void): TaoMessageConsumer;
|
|
443
|
+
/** {@link IncomingMessage.TaobaoAxinDivisionApplyResult 阿信消息通知前台类目 > 新增行政区划结果通知} */
|
|
444
|
+
taobao_axin_DivisionApplyResult(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoAxinDivisionApplyResult) => void): TaoMessageConsumer;
|
|
445
|
+
/** {@link IncomingMessage.TaobaoAxinPoiApplyResult 阿信消息通知前台类目 > 新增POI结果通知} */
|
|
446
|
+
taobao_axin_PoiApplyResult(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoAxinPoiApplyResult) => void): TaoMessageConsumer;
|
|
441
447
|
/** {@link IncomingMessage.TaobaoAxinRefundCallBack 阿信消息通知前台类目 > 阿信退款回调消息} */
|
|
442
448
|
taobao_axin_RefundCallBack(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoAxinRefundCallBack) => void): TaoMessageConsumer;
|
|
443
449
|
/** {@link IncomingMessage.TaobaoBaichuanASODeviceActivate 百川 > 设备APP激活} */
|
|
@@ -478,6 +484,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
478
484
|
taobao_dpaas_EquipmentCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaasEquipmentCreate) => void): TaoMessageConsumer;
|
|
479
485
|
/** {@link IncomingMessage.TaobaoDpaasFaceToCustomerAck DPAAS > 会员标示消息推送} */
|
|
480
486
|
taobao_dpaas_FaceToCustomerAck(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaasFaceToCustomerAck) => void): TaoMessageConsumer;
|
|
487
|
+
/** {@link IncomingMessage.TaobaoDvExternal 阿里通信 > 淘宝数字虚拟外放} */
|
|
488
|
+
taobao_dv_External(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDvExternal) => void): TaoMessageConsumer;
|
|
481
489
|
/** {@link IncomingMessage.TaobaoEinvoiceBuyerConfirmSend 电子发票 > 买家确认发送到报销系统} */
|
|
482
490
|
taobao_einvoice_BuyerConfirmSend(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEinvoiceBuyerConfirmSend) => void): TaoMessageConsumer;
|
|
483
491
|
/** {@link IncomingMessage.TaobaoEinvoiceInvoiceResultReturn 电子发票 > 电子发票开票回流} */
|
|
@@ -538,15 +546,19 @@ declare interface TaoTopicsDescriptor {
|
|
|
538
546
|
taobao_fliggy_StdHotelModify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdHotelModify) => void): TaoMessageConsumer;
|
|
539
547
|
/** {@link IncomingMessage.TaobaoFliggyStdRoomTypeModify 酒店签约中心消息 > 标准房型领域模型实体变更消息} */
|
|
540
548
|
taobao_fliggy_StdRoomTypeModify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdRoomTypeModify) => void): TaoMessageConsumer;
|
|
541
|
-
/** {@link IncomingMessage.
|
|
549
|
+
/** {@link IncomingMessage.TaobaoFscRouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知} */
|
|
550
|
+
taobao_fsc_RouteOrderStatusChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFscRouteOrderStatusChange) => void): TaoMessageConsumer;
|
|
551
|
+
/** {@link IncomingMessage.TaobaoFuwuFundsChange 淘宝交易 > 以旧换新资金变更通知消息} */
|
|
552
|
+
taobao_fuwu_FundsChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuFundsChange) => void): TaoMessageConsumer;
|
|
553
|
+
/** {@link IncomingMessage.TaobaoFuwuOrderClosed 淘宝交易 > 订单关闭消息} */
|
|
542
554
|
taobao_fuwu_OrderClosed(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuOrderClosed) => void): TaoMessageConsumer;
|
|
543
|
-
/** {@link IncomingMessage.TaobaoFuwuOrderCreated
|
|
555
|
+
/** {@link IncomingMessage.TaobaoFuwuOrderCreated 淘宝交易 > 订单创建消息} */
|
|
544
556
|
taobao_fuwu_OrderCreated(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuOrderCreated) => void): TaoMessageConsumer;
|
|
545
|
-
/** {@link IncomingMessage.TaobaoFuwuOrderPaid
|
|
557
|
+
/** {@link IncomingMessage.TaobaoFuwuOrderPaid 淘宝交易 > 订单支付消息} */
|
|
546
558
|
taobao_fuwu_OrderPaid(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuOrderPaid) => void): TaoMessageConsumer;
|
|
547
|
-
/** {@link IncomingMessage.TaobaoFuwuServiceOpen
|
|
559
|
+
/** {@link IncomingMessage.TaobaoFuwuServiceOpen 淘宝交易 > 服务开通消息} */
|
|
548
560
|
taobao_fuwu_ServiceOpen(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuServiceOpen) => void): TaoMessageConsumer;
|
|
549
|
-
/** {@link IncomingMessage.TaobaoFuwuWitkeySyncModeling
|
|
561
|
+
/** {@link IncomingMessage.TaobaoFuwuWitkeySyncModeling 淘宝交易 > 威客同步建模数据} */
|
|
550
562
|
taobao_fuwu_WitkeySyncModeling(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuWitkeySyncModeling) => void): TaoMessageConsumer;
|
|
551
563
|
/** {@link IncomingMessage.TaobaoGlobalbuysSeamailOrderNotify 全球购跨境物流 > 跨境服务平台推送物流订单消息} */
|
|
552
564
|
taobao_globalbuys_SeamailOrderNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoGlobalbuysSeamailOrderNotify) => void): TaoMessageConsumer;
|
|
@@ -844,8 +856,12 @@ declare interface TaoTopicsDescriptor {
|
|
|
844
856
|
tmall_fuwu_AnomalyRecourse(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuAnomalyRecourse) => void): TaoMessageConsumer;
|
|
845
857
|
/** {@link IncomingMessage.TmallFuwuAnomalyRecourseStatusUpdate 天猫服务 > 一键求助状态变更消息} */
|
|
846
858
|
tmall_fuwu_AnomalyRecourseStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
|
|
859
|
+
/** {@link IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息} */
|
|
860
|
+
tmall_fuwu_ElectricMaintenanceWorkCardComplete(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete) => void): TaoMessageConsumer;
|
|
847
861
|
/** {@link IncomingMessage.TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
|
|
848
862
|
tmall_fuwu_LogisticsInfoMessage(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuLogisticsInfoMessage) => void): TaoMessageConsumer;
|
|
863
|
+
/** {@link IncomingMessage.TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
864
|
+
tmall_fuwu_RateMessageTP(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuRateMessageTP) => void): TaoMessageConsumer;
|
|
849
865
|
/** {@link IncomingMessage.TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
850
866
|
tmall_fuwu_ServiceItemUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuServiceItemUpdate) => void): TaoMessageConsumer;
|
|
851
867
|
/** {@link IncomingMessage.TmallFuwuServiceMonitorMessage 天猫服务 > 服务预警消息} */
|
|
@@ -1080,12 +1096,16 @@ declare interface TaoTopicsDescriptor {
|
|
|
1080
1096
|
taobao_diandian(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDiandian) => void): TaoMessageConsumer;
|
|
1081
1097
|
/** {@link IncomingMessage.TaobaoDpaas} */
|
|
1082
1098
|
taobao_dpaas(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaas) => void): TaoMessageConsumer;
|
|
1099
|
+
/** {@link IncomingMessage.TaobaoDv} */
|
|
1100
|
+
taobao_dv(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDv) => void): TaoMessageConsumer;
|
|
1083
1101
|
/** {@link IncomingMessage.TaobaoEinvoice} */
|
|
1084
1102
|
taobao_einvoice(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEinvoice) => void): TaoMessageConsumer;
|
|
1085
1103
|
/** {@link IncomingMessage.TaobaoFenxiao} */
|
|
1086
1104
|
taobao_fenxiao(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFenxiao) => void): TaoMessageConsumer;
|
|
1087
1105
|
/** {@link IncomingMessage.TaobaoFliggy} */
|
|
1088
1106
|
taobao_fliggy(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggy) => void): TaoMessageConsumer;
|
|
1107
|
+
/** {@link IncomingMessage.TaobaoFsc} */
|
|
1108
|
+
taobao_fsc(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFsc) => void): TaoMessageConsumer;
|
|
1089
1109
|
/** {@link IncomingMessage.TaobaoFuwu} */
|
|
1090
1110
|
taobao_fuwu(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwu) => void): TaoMessageConsumer;
|
|
1091
1111
|
/** {@link IncomingMessage.TaobaoGlobalbuys} */
|
|
@@ -1551,6 +1571,8 @@ declare interface TaoEventsListener {
|
|
|
1551
1571
|
on(topic: 'damai_distribution_PreSaleToNow', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPreSaleToNow) => void): TaoMessageConsumer;
|
|
1552
1572
|
/** {@link IncomingMessage.DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送} */
|
|
1553
1573
|
on(topic: 'damai_distribution_ProjectStatus', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionProjectStatus) => void): TaoMessageConsumer;
|
|
1574
|
+
/** {@link IncomingMessage.DamaiDistributionRefundOrder 大麦第三方票务供应商接入 > 退票通知} */
|
|
1575
|
+
on(topic: 'damai_distribution_RefundOrder', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionRefundOrder) => void): TaoMessageConsumer;
|
|
1554
1576
|
/** {@link IncomingMessage.DamaiDistributionTicketItemStatus 大麦第三方票务供应商接入 > 票品状态变更} */
|
|
1555
1577
|
on(topic: 'damai_distribution_TicketItemStatus', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionTicketItemStatus) => void): TaoMessageConsumer;
|
|
1556
1578
|
/** {@link IncomingMessage.DamaiTradeTicketStatusPush 大麦票单状态 > 大麦票单状态推送} */
|
|
@@ -1619,6 +1641,10 @@ declare interface TaoEventsListener {
|
|
|
1619
1641
|
on(topic: 'taobao_aps_CommentAdd', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoApsCommentAdd) => void): TaoMessageConsumer;
|
|
1620
1642
|
/** {@link IncomingMessage.TaobaoApsNewFeedback 平台消息 > 收到舆情} */
|
|
1621
1643
|
on(topic: 'taobao_aps_NewFeedback', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoApsNewFeedback) => void): TaoMessageConsumer;
|
|
1644
|
+
/** {@link IncomingMessage.TaobaoAxinDivisionApplyResult 阿信消息通知前台类目 > 新增行政区划结果通知} */
|
|
1645
|
+
on(topic: 'taobao_axin_DivisionApplyResult', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoAxinDivisionApplyResult) => void): TaoMessageConsumer;
|
|
1646
|
+
/** {@link IncomingMessage.TaobaoAxinPoiApplyResult 阿信消息通知前台类目 > 新增POI结果通知} */
|
|
1647
|
+
on(topic: 'taobao_axin_PoiApplyResult', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoAxinPoiApplyResult) => void): TaoMessageConsumer;
|
|
1622
1648
|
/** {@link IncomingMessage.TaobaoAxinRefundCallBack 阿信消息通知前台类目 > 阿信退款回调消息} */
|
|
1623
1649
|
on(topic: 'taobao_axin_RefundCallBack', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoAxinRefundCallBack) => void): TaoMessageConsumer;
|
|
1624
1650
|
/** {@link IncomingMessage.TaobaoBaichuanASODeviceActivate 百川 > 设备APP激活} */
|
|
@@ -1659,6 +1685,8 @@ declare interface TaoEventsListener {
|
|
|
1659
1685
|
on(topic: 'taobao_dpaas_EquipmentCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaasEquipmentCreate) => void): TaoMessageConsumer;
|
|
1660
1686
|
/** {@link IncomingMessage.TaobaoDpaasFaceToCustomerAck DPAAS > 会员标示消息推送} */
|
|
1661
1687
|
on(topic: 'taobao_dpaas_FaceToCustomerAck', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaasFaceToCustomerAck) => void): TaoMessageConsumer;
|
|
1688
|
+
/** {@link IncomingMessage.TaobaoDvExternal 阿里通信 > 淘宝数字虚拟外放} */
|
|
1689
|
+
on(topic: 'taobao_dv_External', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDvExternal) => void): TaoMessageConsumer;
|
|
1662
1690
|
/** {@link IncomingMessage.TaobaoEinvoiceBuyerConfirmSend 电子发票 > 买家确认发送到报销系统} */
|
|
1663
1691
|
on(topic: 'taobao_einvoice_BuyerConfirmSend', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEinvoiceBuyerConfirmSend) => void): TaoMessageConsumer;
|
|
1664
1692
|
/** {@link IncomingMessage.TaobaoEinvoiceInvoiceResultReturn 电子发票 > 电子发票开票回流} */
|
|
@@ -1719,15 +1747,19 @@ declare interface TaoEventsListener {
|
|
|
1719
1747
|
on(topic: 'taobao_fliggy_StdHotelModify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdHotelModify) => void): TaoMessageConsumer;
|
|
1720
1748
|
/** {@link IncomingMessage.TaobaoFliggyStdRoomTypeModify 酒店签约中心消息 > 标准房型领域模型实体变更消息} */
|
|
1721
1749
|
on(topic: 'taobao_fliggy_StdRoomTypeModify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdRoomTypeModify) => void): TaoMessageConsumer;
|
|
1722
|
-
/** {@link IncomingMessage.
|
|
1750
|
+
/** {@link IncomingMessage.TaobaoFscRouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知} */
|
|
1751
|
+
on(topic: 'taobao_fsc_RouteOrderStatusChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFscRouteOrderStatusChange) => void): TaoMessageConsumer;
|
|
1752
|
+
/** {@link IncomingMessage.TaobaoFuwuFundsChange 淘宝交易 > 以旧换新资金变更通知消息} */
|
|
1753
|
+
on(topic: 'taobao_fuwu_FundsChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuFundsChange) => void): TaoMessageConsumer;
|
|
1754
|
+
/** {@link IncomingMessage.TaobaoFuwuOrderClosed 淘宝交易 > 订单关闭消息} */
|
|
1723
1755
|
on(topic: 'taobao_fuwu_OrderClosed', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuOrderClosed) => void): TaoMessageConsumer;
|
|
1724
|
-
/** {@link IncomingMessage.TaobaoFuwuOrderCreated
|
|
1756
|
+
/** {@link IncomingMessage.TaobaoFuwuOrderCreated 淘宝交易 > 订单创建消息} */
|
|
1725
1757
|
on(topic: 'taobao_fuwu_OrderCreated', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuOrderCreated) => void): TaoMessageConsumer;
|
|
1726
|
-
/** {@link IncomingMessage.TaobaoFuwuOrderPaid
|
|
1758
|
+
/** {@link IncomingMessage.TaobaoFuwuOrderPaid 淘宝交易 > 订单支付消息} */
|
|
1727
1759
|
on(topic: 'taobao_fuwu_OrderPaid', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuOrderPaid) => void): TaoMessageConsumer;
|
|
1728
|
-
/** {@link IncomingMessage.TaobaoFuwuServiceOpen
|
|
1760
|
+
/** {@link IncomingMessage.TaobaoFuwuServiceOpen 淘宝交易 > 服务开通消息} */
|
|
1729
1761
|
on(topic: 'taobao_fuwu_ServiceOpen', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuServiceOpen) => void): TaoMessageConsumer;
|
|
1730
|
-
/** {@link IncomingMessage.TaobaoFuwuWitkeySyncModeling
|
|
1762
|
+
/** {@link IncomingMessage.TaobaoFuwuWitkeySyncModeling 淘宝交易 > 威客同步建模数据} */
|
|
1731
1763
|
on(topic: 'taobao_fuwu_WitkeySyncModeling', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuWitkeySyncModeling) => void): TaoMessageConsumer;
|
|
1732
1764
|
/** {@link IncomingMessage.TaobaoGlobalbuysSeamailOrderNotify 全球购跨境物流 > 跨境服务平台推送物流订单消息} */
|
|
1733
1765
|
on(topic: 'taobao_globalbuys_SeamailOrderNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoGlobalbuysSeamailOrderNotify) => void): TaoMessageConsumer;
|
|
@@ -2025,8 +2057,12 @@ declare interface TaoEventsListener {
|
|
|
2025
2057
|
on(topic: 'tmall_fuwu_AnomalyRecourse', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuAnomalyRecourse) => void): TaoMessageConsumer;
|
|
2026
2058
|
/** {@link IncomingMessage.TmallFuwuAnomalyRecourseStatusUpdate 天猫服务 > 一键求助状态变更消息} */
|
|
2027
2059
|
on(topic: 'tmall_fuwu_AnomalyRecourseStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
|
|
2060
|
+
/** {@link IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息} */
|
|
2061
|
+
on(topic: 'tmall_fuwu_ElectricMaintenanceWorkCardComplete', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete) => void): TaoMessageConsumer;
|
|
2028
2062
|
/** {@link IncomingMessage.TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
|
|
2029
2063
|
on(topic: 'tmall_fuwu_LogisticsInfoMessage', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuLogisticsInfoMessage) => void): TaoMessageConsumer;
|
|
2064
|
+
/** {@link IncomingMessage.TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
2065
|
+
on(topic: 'tmall_fuwu_RateMessageTP', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuRateMessageTP) => void): TaoMessageConsumer;
|
|
2030
2066
|
/** {@link IncomingMessage.TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
2031
2067
|
on(topic: 'tmall_fuwu_ServiceItemUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuServiceItemUpdate) => void): TaoMessageConsumer;
|
|
2032
2068
|
/** {@link IncomingMessage.TmallFuwuServiceMonitorMessage 天猫服务 > 服务预警消息} */
|
|
@@ -2261,12 +2297,16 @@ declare interface TaoEventsListener {
|
|
|
2261
2297
|
on(topic: 'taobao_diandian', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDiandian) => void): TaoMessageConsumer;
|
|
2262
2298
|
/** {@link IncomingMessage.TaobaoDpaas} */
|
|
2263
2299
|
on(topic: 'taobao_dpaas', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaas) => void): TaoMessageConsumer;
|
|
2300
|
+
/** {@link IncomingMessage.TaobaoDv} */
|
|
2301
|
+
on(topic: 'taobao_dv', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDv) => void): TaoMessageConsumer;
|
|
2264
2302
|
/** {@link IncomingMessage.TaobaoEinvoice} */
|
|
2265
2303
|
on(topic: 'taobao_einvoice', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEinvoice) => void): TaoMessageConsumer;
|
|
2266
2304
|
/** {@link IncomingMessage.TaobaoFenxiao} */
|
|
2267
2305
|
on(topic: 'taobao_fenxiao', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFenxiao) => void): TaoMessageConsumer;
|
|
2268
2306
|
/** {@link IncomingMessage.TaobaoFliggy} */
|
|
2269
2307
|
on(topic: 'taobao_fliggy', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggy) => void): TaoMessageConsumer;
|
|
2308
|
+
/** {@link IncomingMessage.TaobaoFsc} */
|
|
2309
|
+
on(topic: 'taobao_fsc', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFsc) => void): TaoMessageConsumer;
|
|
2270
2310
|
/** {@link IncomingMessage.TaobaoFuwu} */
|
|
2271
2311
|
on(topic: 'taobao_fuwu', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwu) => void): TaoMessageConsumer;
|
|
2272
2312
|
/** {@link IncomingMessage.TaobaoGlobalbuys} */
|
package/types/message.in.d.ts
CHANGED
|
@@ -331,6 +331,8 @@ declare namespace IncomingMessage {
|
|
|
331
331
|
type DamaiDistributionPreSaleToNow = Message & { content?: MessageContent & { topic?: 'damai_distribution_PreSaleToNow', content?: string | Damai.Distribution.PreSaleToNow } };
|
|
332
332
|
/** {@link Damai.Distribution.ProjectStatus 大麦第三方票务供应商接入 > 项目状态推送} */
|
|
333
333
|
type DamaiDistributionProjectStatus = Message & { content?: MessageContent & { topic?: 'damai_distribution_ProjectStatus', content?: string | Damai.Distribution.ProjectStatus } };
|
|
334
|
+
/** {@link Damai.Distribution.RefundOrder 大麦第三方票务供应商接入 > 退票通知} */
|
|
335
|
+
type DamaiDistributionRefundOrder = Message & { content?: MessageContent & { topic?: 'damai_distribution_RefundOrder', content?: string | Damai.Distribution.RefundOrder } };
|
|
334
336
|
/** {@link Damai.Distribution.TicketItemStatus 大麦第三方票务供应商接入 > 票品状态变更} */
|
|
335
337
|
type DamaiDistributionTicketItemStatus = Message & { content?: MessageContent & { topic?: 'damai_distribution_TicketItemStatus', content?: string | Damai.Distribution.TicketItemStatus } };
|
|
336
338
|
/** {@link Damai.Trade.TicketStatusPush 大麦票单状态 > 大麦票单状态推送} */
|
|
@@ -399,6 +401,10 @@ declare namespace IncomingMessage {
|
|
|
399
401
|
type TaobaoApsCommentAdd = Message & { content?: MessageContent & { topic?: 'taobao_aps_CommentAdd', content?: string | Taobao.Aps.CommentAdd } };
|
|
400
402
|
/** {@link Taobao.Aps.NewFeedback 平台消息 > 收到舆情} */
|
|
401
403
|
type TaobaoApsNewFeedback = Message & { content?: MessageContent & { topic?: 'taobao_aps_NewFeedback', content?: string | Taobao.Aps.NewFeedback } };
|
|
404
|
+
/** {@link Taobao.Axin.DivisionApplyResult 阿信消息通知前台类目 > 新增行政区划结果通知} */
|
|
405
|
+
type TaobaoAxinDivisionApplyResult = Message & { content?: MessageContent & { topic?: 'taobao_axin_DivisionApplyResult', content?: string | Taobao.Axin.DivisionApplyResult } };
|
|
406
|
+
/** {@link Taobao.Axin.PoiApplyResult 阿信消息通知前台类目 > 新增POI结果通知} */
|
|
407
|
+
type TaobaoAxinPoiApplyResult = Message & { content?: MessageContent & { topic?: 'taobao_axin_PoiApplyResult', content?: string | Taobao.Axin.PoiApplyResult } };
|
|
402
408
|
/** {@link Taobao.Axin.RefundCallBack 阿信消息通知前台类目 > 阿信退款回调消息} */
|
|
403
409
|
type TaobaoAxinRefundCallBack = Message & { content?: MessageContent & { topic?: 'taobao_axin_RefundCallBack', content?: string | Taobao.Axin.RefundCallBack } };
|
|
404
410
|
/** {@link Taobao.Baichuan.ASODeviceActivate 百川 > 设备APP激活} */
|
|
@@ -439,6 +445,8 @@ declare namespace IncomingMessage {
|
|
|
439
445
|
type TaobaoDpaasEquipmentCreate = Message & { content?: MessageContent & { topic?: 'taobao_dpaas_EquipmentCreate', content?: string | Taobao.Dpaas.EquipmentCreate } };
|
|
440
446
|
/** {@link Taobao.Dpaas.FaceToCustomerAck DPAAS > 会员标示消息推送} */
|
|
441
447
|
type TaobaoDpaasFaceToCustomerAck = Message & { content?: MessageContent & { topic?: 'taobao_dpaas_FaceToCustomerAck', content?: string | Taobao.Dpaas.FaceToCustomerAck } };
|
|
448
|
+
/** {@link Taobao.Dv.External 阿里通信 > 淘宝数字虚拟外放} */
|
|
449
|
+
type TaobaoDvExternal = Message & { content?: MessageContent & { topic?: 'taobao_dv_External', content?: string | Taobao.Dv.External } };
|
|
442
450
|
/** {@link Taobao.Einvoice.BuyerConfirmSend 电子发票 > 买家确认发送到报销系统} */
|
|
443
451
|
type TaobaoEinvoiceBuyerConfirmSend = Message & { content?: MessageContent & { topic?: 'taobao_einvoice_BuyerConfirmSend', content?: string | Taobao.Einvoice.BuyerConfirmSend } };
|
|
444
452
|
/** {@link Taobao.Einvoice.InvoiceResultReturn 电子发票 > 电子发票开票回流} */
|
|
@@ -499,15 +507,19 @@ declare namespace IncomingMessage {
|
|
|
499
507
|
type TaobaoFliggyStdHotelModify = Message & { content?: MessageContent & { topic?: 'taobao_fliggy_StdHotelModify', content?: string | Taobao.Fliggy.StdHotelModify } };
|
|
500
508
|
/** {@link Taobao.Fliggy.StdRoomTypeModify 酒店签约中心消息 > 标准房型领域模型实体变更消息} */
|
|
501
509
|
type TaobaoFliggyStdRoomTypeModify = Message & { content?: MessageContent & { topic?: 'taobao_fliggy_StdRoomTypeModify', content?: string | Taobao.Fliggy.StdRoomTypeModify } };
|
|
502
|
-
/** {@link Taobao.
|
|
510
|
+
/** {@link Taobao.Fsc.RouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知} */
|
|
511
|
+
type TaobaoFscRouteOrderStatusChange = Message & { content?: MessageContent & { topic?: 'taobao_fsc_RouteOrderStatusChange', content?: string | Taobao.Fsc.RouteOrderStatusChange } };
|
|
512
|
+
/** {@link Taobao.Fuwu.FundsChange 淘宝交易 > 以旧换新资金变更通知消息} */
|
|
513
|
+
type TaobaoFuwuFundsChange = Message & { content?: MessageContent & { topic?: 'taobao_fuwu_FundsChange', content?: string | Taobao.Fuwu.FundsChange } };
|
|
514
|
+
/** {@link Taobao.Fuwu.OrderClosed 淘宝交易 > 订单关闭消息} */
|
|
503
515
|
type TaobaoFuwuOrderClosed = Message & { content?: MessageContent & { topic?: 'taobao_fuwu_OrderClosed', content?: string | Taobao.Fuwu.OrderClosed } };
|
|
504
|
-
/** {@link Taobao.Fuwu.OrderCreated
|
|
516
|
+
/** {@link Taobao.Fuwu.OrderCreated 淘宝交易 > 订单创建消息} */
|
|
505
517
|
type TaobaoFuwuOrderCreated = Message & { content?: MessageContent & { topic?: 'taobao_fuwu_OrderCreated', content?: string | Taobao.Fuwu.OrderCreated } };
|
|
506
|
-
/** {@link Taobao.Fuwu.OrderPaid
|
|
518
|
+
/** {@link Taobao.Fuwu.OrderPaid 淘宝交易 > 订单支付消息} */
|
|
507
519
|
type TaobaoFuwuOrderPaid = Message & { content?: MessageContent & { topic?: 'taobao_fuwu_OrderPaid', content?: string | Taobao.Fuwu.OrderPaid } };
|
|
508
|
-
/** {@link Taobao.Fuwu.ServiceOpen
|
|
520
|
+
/** {@link Taobao.Fuwu.ServiceOpen 淘宝交易 > 服务开通消息} */
|
|
509
521
|
type TaobaoFuwuServiceOpen = Message & { content?: MessageContent & { topic?: 'taobao_fuwu_ServiceOpen', content?: string | Taobao.Fuwu.ServiceOpen } };
|
|
510
|
-
/** {@link Taobao.Fuwu.WitkeySyncModeling
|
|
522
|
+
/** {@link Taobao.Fuwu.WitkeySyncModeling 淘宝交易 > 威客同步建模数据} */
|
|
511
523
|
type TaobaoFuwuWitkeySyncModeling = Message & { content?: MessageContent & { topic?: 'taobao_fuwu_WitkeySyncModeling', content?: string | Taobao.Fuwu.WitkeySyncModeling } };
|
|
512
524
|
/** {@link Taobao.Globalbuys.SeamailOrderNotify 全球购跨境物流 > 跨境服务平台推送物流订单消息} */
|
|
513
525
|
type TaobaoGlobalbuysSeamailOrderNotify = Message & { content?: MessageContent & { topic?: 'taobao_globalbuys_SeamailOrderNotify', content?: string | Taobao.Globalbuys.SeamailOrderNotify } };
|
|
@@ -805,8 +817,12 @@ declare namespace IncomingMessage {
|
|
|
805
817
|
type TmallFuwuAnomalyRecourse = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_AnomalyRecourse', content?: string | Tmall.Fuwu.AnomalyRecourse } };
|
|
806
818
|
/** {@link Tmall.Fuwu.AnomalyRecourseStatusUpdate 天猫服务 > 一键求助状态变更消息} */
|
|
807
819
|
type TmallFuwuAnomalyRecourseStatusUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_AnomalyRecourseStatusUpdate', content?: string | Tmall.Fuwu.AnomalyRecourseStatusUpdate } };
|
|
820
|
+
/** {@link Tmall.Fuwu.ElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息} */
|
|
821
|
+
type TmallFuwuElectricMaintenanceWorkCardComplete = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_ElectricMaintenanceWorkCardComplete', content?: string | Tmall.Fuwu.ElectricMaintenanceWorkCardComplete } };
|
|
808
822
|
/** {@link Tmall.Fuwu.LogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
|
|
809
823
|
type TmallFuwuLogisticsInfoMessage = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_LogisticsInfoMessage', content?: string | Tmall.Fuwu.LogisticsInfoMessage } };
|
|
824
|
+
/** {@link Tmall.Fuwu.RateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
825
|
+
type TmallFuwuRateMessageTP = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_RateMessageTP', content?: string | Tmall.Fuwu.RateMessageTP } };
|
|
810
826
|
/** {@link Tmall.Fuwu.ServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
811
827
|
type TmallFuwuServiceItemUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_ServiceItemUpdate', content?: string | Tmall.Fuwu.ServiceItemUpdate } };
|
|
812
828
|
/** {@link Tmall.Fuwu.ServiceMonitorMessage 天猫服务 > 服务预警消息} */
|
|
@@ -1286,12 +1302,14 @@ declare namespace IncomingMessage {
|
|
|
1286
1302
|
* - {@link DamaiDistributionPerformStatus 大麦第三方票务供应商接入 > 场次状态变更推送}
|
|
1287
1303
|
* - {@link DamaiDistributionPreSaleToNow 大麦第三方票务供应商接入 > 预售改开票}
|
|
1288
1304
|
* - {@link DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送}
|
|
1305
|
+
* - {@link DamaiDistributionRefundOrder 大麦第三方票务供应商接入 > 退票通知}
|
|
1289
1306
|
* - {@link DamaiDistributionTicketItemStatus 大麦第三方票务供应商接入 > 票品状态变更}
|
|
1290
1307
|
*/
|
|
1291
1308
|
type DamaiDistribution = DamaiDistributionPerformCancel
|
|
1292
1309
|
| DamaiDistributionPerformStatus
|
|
1293
1310
|
| DamaiDistributionPreSaleToNow
|
|
1294
1311
|
| DamaiDistributionProjectStatus
|
|
1312
|
+
| DamaiDistributionRefundOrder
|
|
1295
1313
|
| DamaiDistributionTicketItemStatus;
|
|
1296
1314
|
/**
|
|
1297
1315
|
* - {@link DamaiTradeTicketStatusPush 大麦票单状态 > 大麦票单状态推送}
|
|
@@ -1396,9 +1414,13 @@ declare namespace IncomingMessage {
|
|
|
1396
1414
|
type TaobaoAps = TaobaoApsCommentAdd
|
|
1397
1415
|
| TaobaoApsNewFeedback;
|
|
1398
1416
|
/**
|
|
1417
|
+
* - {@link TaobaoAxinDivisionApplyResult 阿信消息通知前台类目 > 新增行政区划结果通知}
|
|
1418
|
+
* - {@link TaobaoAxinPoiApplyResult 阿信消息通知前台类目 > 新增POI结果通知}
|
|
1399
1419
|
* - {@link TaobaoAxinRefundCallBack 阿信消息通知前台类目 > 阿信退款回调消息}
|
|
1400
1420
|
*/
|
|
1401
|
-
type TaobaoAxin =
|
|
1421
|
+
type TaobaoAxin = TaobaoAxinDivisionApplyResult
|
|
1422
|
+
| TaobaoAxinPoiApplyResult
|
|
1423
|
+
| TaobaoAxinRefundCallBack;
|
|
1402
1424
|
/**
|
|
1403
1425
|
* - {@link TaobaoBaichuanASODeviceActivate 百川 > 设备APP激活}
|
|
1404
1426
|
* - {@link TaobaoBaichuanPasswordRuleChange 百川 > 口令规则变化消息}
|
|
@@ -1455,6 +1477,10 @@ declare namespace IncomingMessage {
|
|
|
1455
1477
|
| TaobaoDpaasCustomerUploadAck
|
|
1456
1478
|
| TaobaoDpaasEquipmentCreate
|
|
1457
1479
|
| TaobaoDpaasFaceToCustomerAck;
|
|
1480
|
+
/**
|
|
1481
|
+
* - {@link TaobaoDvExternal 阿里通信 > 淘宝数字虚拟外放}
|
|
1482
|
+
*/
|
|
1483
|
+
type TaobaoDv = TaobaoDvExternal;
|
|
1458
1484
|
/**
|
|
1459
1485
|
* - {@link TaobaoEinvoiceBuyerConfirmSend 电子发票 > 买家确认发送到报销系统}
|
|
1460
1486
|
* - {@link TaobaoEinvoiceInvoiceResultReturn 电子发票 > 电子发票开票回流}
|
|
@@ -1522,13 +1548,19 @@ declare namespace IncomingMessage {
|
|
|
1522
1548
|
| TaobaoFliggyStdHotelModify
|
|
1523
1549
|
| TaobaoFliggyStdRoomTypeModify;
|
|
1524
1550
|
/**
|
|
1525
|
-
* - {@link
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
* - {@link
|
|
1551
|
+
* - {@link TaobaoFscRouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知}
|
|
1552
|
+
*/
|
|
1553
|
+
type TaobaoFsc = TaobaoFscRouteOrderStatusChange;
|
|
1554
|
+
/**
|
|
1555
|
+
* - {@link TaobaoFuwuFundsChange 淘宝交易 > 以旧换新资金变更通知消息}
|
|
1556
|
+
* - {@link TaobaoFuwuOrderClosed 淘宝交易 > 订单关闭消息}
|
|
1557
|
+
* - {@link TaobaoFuwuOrderCreated 淘宝交易 > 订单创建消息}
|
|
1558
|
+
* - {@link TaobaoFuwuOrderPaid 淘宝交易 > 订单支付消息}
|
|
1559
|
+
* - {@link TaobaoFuwuServiceOpen 淘宝交易 > 服务开通消息}
|
|
1560
|
+
* - {@link TaobaoFuwuWitkeySyncModeling 淘宝交易 > 威客同步建模数据}
|
|
1530
1561
|
*/
|
|
1531
|
-
type TaobaoFuwu =
|
|
1562
|
+
type TaobaoFuwu = TaobaoFuwuFundsChange
|
|
1563
|
+
| TaobaoFuwuOrderClosed
|
|
1532
1564
|
| TaobaoFuwuOrderCreated
|
|
1533
1565
|
| TaobaoFuwuOrderPaid
|
|
1534
1566
|
| TaobaoFuwuServiceOpen
|
|
@@ -1900,7 +1932,9 @@ declare namespace IncomingMessage {
|
|
|
1900
1932
|
/**
|
|
1901
1933
|
* - {@link TmallFuwuAnomalyRecourse 天猫服务 > 天猫服务平台一键求助单消息队列}
|
|
1902
1934
|
* - {@link TmallFuwuAnomalyRecourseStatusUpdate 天猫服务 > 一键求助状态变更消息}
|
|
1935
|
+
* - {@link TmallFuwuElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息}
|
|
1903
1936
|
* - {@link TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息}
|
|
1937
|
+
* - {@link TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息}
|
|
1904
1938
|
* - {@link TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息}
|
|
1905
1939
|
* - {@link TmallFuwuServiceMonitorMessage 天猫服务 > 服务预警消息}
|
|
1906
1940
|
* - {@link TmallFuwuServiceStoreRegister 天猫服务 > 服务网点注册消息}
|
|
@@ -1912,7 +1946,9 @@ declare namespace IncomingMessage {
|
|
|
1912
1946
|
*/
|
|
1913
1947
|
type TmallFuwu = TmallFuwuAnomalyRecourse
|
|
1914
1948
|
| TmallFuwuAnomalyRecourseStatusUpdate
|
|
1949
|
+
| TmallFuwuElectricMaintenanceWorkCardComplete
|
|
1915
1950
|
| TmallFuwuLogisticsInfoMessage
|
|
1951
|
+
| TmallFuwuRateMessageTP
|
|
1916
1952
|
| TmallFuwuServiceItemUpdate
|
|
1917
1953
|
| TmallFuwuServiceMonitorMessage
|
|
1918
1954
|
| TmallFuwuServiceStoreRegister
|
|
@@ -2194,9 +2230,11 @@ declare namespace IncomingMessage {
|
|
|
2194
2230
|
* - {@link TaobaoDd}
|
|
2195
2231
|
* - {@link TaobaoDiandian}
|
|
2196
2232
|
* - {@link TaobaoDpaas}
|
|
2233
|
+
* - {@link TaobaoDv}
|
|
2197
2234
|
* - {@link TaobaoEinvoice}
|
|
2198
2235
|
* - {@link TaobaoFenxiao}
|
|
2199
2236
|
* - {@link TaobaoFliggy}
|
|
2237
|
+
* - {@link TaobaoFsc}
|
|
2200
2238
|
* - {@link TaobaoFuwu}
|
|
2201
2239
|
* - {@link TaobaoGlobalbuys}
|
|
2202
2240
|
* - {@link TaobaoHomeai}
|
|
@@ -2243,9 +2281,11 @@ declare namespace IncomingMessage {
|
|
|
2243
2281
|
| TaobaoDd
|
|
2244
2282
|
| TaobaoDiandian
|
|
2245
2283
|
| TaobaoDpaas
|
|
2284
|
+
| TaobaoDv
|
|
2246
2285
|
| TaobaoEinvoice
|
|
2247
2286
|
| TaobaoFenxiao
|
|
2248
2287
|
| TaobaoFliggy
|
|
2288
|
+
| TaobaoFsc
|
|
2249
2289
|
| TaobaoFuwu
|
|
2250
2290
|
| TaobaoGlobalbuys
|
|
2251
2291
|
| TaobaoHomeai
|
package/types/taobao.d.ts
CHANGED
|
@@ -72,6 +72,26 @@ declare namespace Taobao.Aps {
|
|
|
72
72
|
|
|
73
73
|
/** 阿信消息通知前台类目 */
|
|
74
74
|
declare namespace Taobao.Axin {
|
|
75
|
+
/** 新增行政区划结果通知 */
|
|
76
|
+
interface DivisionApplyResult {
|
|
77
|
+
/** 行政区划编号 */
|
|
78
|
+
divisionId: string;
|
|
79
|
+
/** 行政区划外部编号(供应商侧编号) */
|
|
80
|
+
divisionOuterId: string;
|
|
81
|
+
/** 新增结果 */
|
|
82
|
+
result: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** 新增POI结果通知 */
|
|
86
|
+
interface PoiApplyResult {
|
|
87
|
+
/** POI编号 */
|
|
88
|
+
poiId: string;
|
|
89
|
+
/** POI外部编号(供应商侧编号) */
|
|
90
|
+
poiOuterId: string;
|
|
91
|
+
/** 新增结果 */
|
|
92
|
+
result: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
75
95
|
/** 阿信退款回调消息 */
|
|
76
96
|
interface RefundCallBack {
|
|
77
97
|
/** 外部订单号 */
|
|
@@ -382,6 +402,17 @@ declare namespace Taobao.Dpaas {
|
|
|
382
402
|
}
|
|
383
403
|
}
|
|
384
404
|
|
|
405
|
+
/** 阿里通信 */
|
|
406
|
+
declare namespace Taobao.Dv {
|
|
407
|
+
/** 淘宝数字虚拟外放 */
|
|
408
|
+
interface External {
|
|
409
|
+
/** 外部订单号 */
|
|
410
|
+
out_order_id: string;
|
|
411
|
+
/** 0:进行中,1:成功,2:失败,9:不存在 */
|
|
412
|
+
status: string;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
385
416
|
/** 电子发票 */
|
|
386
417
|
declare namespace Taobao.Einvoice {
|
|
387
418
|
/** 买家确认发送到报销系统 */
|
|
@@ -645,8 +676,35 @@ declare namespace Taobao.Fliggy {
|
|
|
645
676
|
}
|
|
646
677
|
}
|
|
647
678
|
|
|
648
|
-
/**
|
|
679
|
+
/** 阿信消息通知前台类目 */
|
|
680
|
+
declare namespace Taobao.Fsc {
|
|
681
|
+
/** 线路订单状态变更通知 */
|
|
682
|
+
interface RouteOrderStatusChange {
|
|
683
|
+
/** 阿信订单id */
|
|
684
|
+
orderId: string;
|
|
685
|
+
/** 1-已下单 2-已确认 3-已退团 4-已取消 5-拒绝确认,驳回 14-交易成功 */
|
|
686
|
+
orderStatus: string;
|
|
687
|
+
/** 外部团id String */
|
|
688
|
+
outProjectId: string;
|
|
689
|
+
/** 付款状态1-未付款 2-已付定金3-已付款(代表全部付款完成) 4-已结算完成 5-已关闭 */
|
|
690
|
+
payStatus: string;
|
|
691
|
+
/** 供应商id */
|
|
692
|
+
supplierId: string;
|
|
693
|
+
/** 供应商订单号id */
|
|
694
|
+
supplierOrderId: string;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/** 淘宝交易 */
|
|
649
699
|
declare namespace Taobao.Fuwu {
|
|
700
|
+
/** 以旧换新资金变更通知消息 */
|
|
701
|
+
interface FundsChange {
|
|
702
|
+
/** 新机单ID */
|
|
703
|
+
new_order_id?: string;
|
|
704
|
+
/** 回收单ID */
|
|
705
|
+
old_order_id: string;
|
|
706
|
+
}
|
|
707
|
+
|
|
650
708
|
/** 订单关闭消息 */
|
|
651
709
|
interface OrderClosed {
|
|
652
710
|
/** 活动代码,从合作伙伴后台(i.fuwu.taobao.com)-收费管理-营销活动列表 能够获得该活动的代码 */
|
package/types/tmall.d.ts
CHANGED
|
@@ -100,6 +100,12 @@ declare namespace Tmall.Fuwu {
|
|
|
100
100
|
status: number;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
/** 天猫服务消电维修工单完结消息 */
|
|
104
|
+
interface ElectricMaintenanceWorkCardComplete {
|
|
105
|
+
/** 工单号 */
|
|
106
|
+
workcard_id: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
103
109
|
/** 服务供应链物流业务消息 */
|
|
104
110
|
interface LogisticsInfoMessage {
|
|
105
111
|
/** 物流创建 :create 物流取消 :cancel 分派小件员:assign 已经分派小件员: assigned 包裹上门揽收: pickup_door 包裹已揽收完成: pickup_finished 包裹派送中: dispatching 包裹已签收: signed */
|
|
@@ -112,6 +118,18 @@ declare namespace Tmall.Fuwu {
|
|
|
112
118
|
stage_type: string;
|
|
113
119
|
}
|
|
114
120
|
|
|
121
|
+
/** 消费者评价成功top消息 */
|
|
122
|
+
interface RateMessageTP {
|
|
123
|
+
/** 单据类型 */
|
|
124
|
+
order_type: number;
|
|
125
|
+
/** 评价id */
|
|
126
|
+
rate_id: number;
|
|
127
|
+
/** 评价星级 */
|
|
128
|
+
rate_value: number;
|
|
129
|
+
/** 单据id */
|
|
130
|
+
work_order_id: number;
|
|
131
|
+
}
|
|
132
|
+
|
|
115
133
|
/** 服务商品信息变更消息 */
|
|
116
134
|
interface ServiceItemUpdate {
|
|
117
135
|
/** 服务商品id */
|