tmc.js 0.3.30 → 0.3.32

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 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>共计 83+ 类别,483+ 消息数</summary>
137
+ <details><summary>共计 84+ 类别,489+ 消息数</summary>
138
138
 
139
139
  | 类别 | 消息数 |
140
140
  | --- | --- |
@@ -143,14 +143,14 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
143
143
  | 淘宝商品 | 13 |
144
144
  | 淘宝分销 | 27 |
145
145
  | 淘宝点点 | 12 |
146
- | 淘宝火车票 | 5 |
146
+ | 淘宝火车票 | 6 |
147
147
  | 平台消息 | 9 |
148
148
  | 交易全链路 | 3 |
149
149
  | 淘宝机票 | 14 |
150
150
  | 导购平台 | 21 |
151
151
  | 淘宝汽车票 | 4 |
152
152
  | 服务市场 | 9 |
153
- | 天猫服务 | 24 |
153
+ | 天猫服务 | 26 |
154
154
  | 天猫美妆 | 2 |
155
155
  | 聚石塔 | 9 |
156
156
  | 淘宝物流 | 1 |
@@ -170,7 +170,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
170
170
  | AE-交易 | 10 |
171
171
  | 五道口配送 | 5 |
172
172
  | 百川 | 2 |
173
- | 闲鱼 | 16 |
173
+ | 闲鱼 | 17 |
174
174
  | 闲鱼回收商消息 | 6 |
175
175
  | 零售通POS开放平台消息 | 4 |
176
176
  | DPAAS | 6 |
@@ -178,7 +178,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
178
178
  | 智慧门店下行消息 | 2 |
179
179
  | 渠道中心API | 4 |
180
180
  | 五道口订单 | 22 |
181
- | 信息平台-采购 | 1 |
181
+ | 信息平台-采购 | 2 |
182
182
  | 1688服务市场 | 1 |
183
183
  | 酒店商品消息api | 9 |
184
184
  | 新零售终端下行消息 | 1 |
@@ -221,6 +221,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
221
221
  | 蚂蚁采购 | 1 |
222
222
  | 阿里健康&一树-电商中台对接 | 2 |
223
223
  | 阿里健康-疫苗 | 2 |
224
+ | 智能应用 | 1 |
224
225
 
225
226
  </details>
226
227
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tmc.js",
3
- "version": "0.3.30",
3
+ "version": "0.3.32",
4
4
  "description": "Event driven and chained Taobao Message Channel(TMC) for NodeJS",
5
5
  "author": "James ZHANG",
6
6
  "license": "MIT",
@@ -1151,6 +1151,26 @@ declare namespace Alibaba.Msfservice {
1151
1151
  worker_name: string;
1152
1152
  }
1153
1153
 
1154
+ /** 喵师傅收费单消息通知 */
1155
+ interface ExtrafeeRecordCreate {
1156
+ /** 收费明细 */
1157
+ content_detail: string;
1158
+ /** 生成时间 */
1159
+ gmt_create: Date | number | string;
1160
+ /** 核销单id */
1161
+ identify_task_id: number;
1162
+ /** 总价 */
1163
+ price: string;
1164
+ /** 收费单id */
1165
+ record_id: string;
1166
+ /** 工单id */
1167
+ workcard_ids: string;
1168
+ /** 师傅id */
1169
+ worker_id: number;
1170
+ /** 师傅姓名 */
1171
+ worker_name: string;
1172
+ }
1173
+
1154
1174
  /** 催单消息 */
1155
1175
  interface ReminderCreate {
1156
1176
  /** 渠道(0:商家端 1消费者端) */
@@ -1362,6 +1382,19 @@ declare namespace Alibaba.Nlife {
1362
1382
  }
1363
1383
  }
1364
1384
 
1385
+ /** 信息平台-采购 */
1386
+ declare namespace Alibaba.Pur {
1387
+ /** 发货提醒 */
1388
+ interface ResourceOrderShipNotify {
1389
+ /** 子订单 */
1390
+ orderItems: string;
1391
+ /** 平台订单号 */
1392
+ orderNo: string;
1393
+ /** 三方订单号 */
1394
+ outOrderNo: string;
1395
+ }
1396
+ }
1397
+
1365
1398
  /** 天猫服务 */
1366
1399
  declare namespace Alibaba.Serviceplatform {
1367
1400
  /** 服务供应链核销单消息 */
@@ -34,7 +34,7 @@ declare namespace Alitrip.Btrip {
34
34
  /** 阿里商旅企业超标审批单提交消息 */
35
35
  interface ExceedApplySubmit {
36
36
  /** 商旅审批单号 */
37
- apply_id: number;
37
+ readonly apply_id: number;
38
38
  /** 业务类型,3:超标审批,5:改签审批,6:退票审批 */
39
39
  biz_category: number;
40
40
  /** 第三方企业id */
@@ -180,6 +180,30 @@ declare namespace Alitrip.Train {
180
180
  /** 唯一标识uuid */
181
181
  uuid: string;
182
182
  }
183
+
184
+ /** 飞猪火车票风控消息 */
185
+ interface RiskNotify {
186
+ /** 12306账号,可能为手机号/邮箱/唯一用户名 */
187
+ accountName: string;
188
+ /** 唯一标识 */
189
+ id: string;
190
+ /** 12306用户ID */
191
+ outUserId: string;
192
+ /** 协议类型,app或pc,一般仅app */
193
+ protocol: string;
194
+ /** 风控码 */
195
+ riskCode: string;
196
+ /** 风控消息类型、MARK_RISK 和 CLEAR_RISK */
197
+ riskTag: string;
198
+ /** 对应的解风控动作 */
199
+ solveAction: string;
200
+ /** 提示信息,指导用户行为 */
201
+ tips: string;
202
+ /** 用户淘宝ID */
203
+ userId: number;
204
+ /** 12306唯一用户名 */
205
+ userUniqName: string;
206
+ }
183
207
  }
184
208
 
185
209
  /** 航旅度假交易 */
package/types/ascp.d.ts CHANGED
@@ -5,6 +5,6 @@ declare namespace Ascp.Insdustry {
5
5
  /** 取消原因 */
6
6
  reason: string;
7
7
  /** 服务单号 */
8
- wds_coordination_order_id: string;
8
+ readonly wds_coordination_order_id: string;
9
9
  }
10
10
  }
package/types/index.d.ts CHANGED
@@ -206,6 +206,8 @@ declare interface TaoTopicsDescriptor {
206
206
  alibaba_msd_SettlementBillDetail(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsdSettlementBillDetail) => void): TaoMessageConsumer;
207
207
  /** {@link IncomingMessage.AlibabaMsfserviceAuditCreate 天猫服务 > 喵师傅审核单通知} */
208
208
  alibaba_msfservice_AuditCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsfserviceAuditCreate) => void): TaoMessageConsumer;
209
+ /** {@link IncomingMessage.AlibabaMsfserviceExtrafeeRecordCreate 天猫服务 > 喵师傅收费单消息通知} */
210
+ alibaba_msfservice_ExtrafeeRecordCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsfserviceExtrafeeRecordCreate) => void): TaoMessageConsumer;
209
211
  /** {@link IncomingMessage.AlibabaMsfserviceReminderCreate 天猫服务 > 催单消息} */
210
212
  alibaba_msfservice_ReminderCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsfserviceReminderCreate) => void): TaoMessageConsumer;
211
213
  /** {@link IncomingMessage.AlibabaNazcaAbandonCert 网上法庭 > 作废存证消息接口} */
@@ -232,6 +234,8 @@ declare interface TaoTopicsDescriptor {
232
234
  alibaba_nlife_InstorageDiffAuditNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeInstorageDiffAuditNotify) => void): TaoMessageConsumer;
233
235
  /** {@link IncomingMessage.AlibabaNlifeItemUpdate 零售plus > 零售+商品变动消息} */
234
236
  alibaba_nlife_ItemUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeItemUpdate) => void): TaoMessageConsumer;
237
+ /** {@link IncomingMessage.AlibabaPurResourceOrderShipNotify 信息平台-采购 > 发货提醒} */
238
+ alibaba_pur_ResourceOrderShipNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPurResourceOrderShipNotify) => void): TaoMessageConsumer;
235
239
  /** {@link IncomingMessage.AlibabaServiceplatformFulfilTask 天猫服务 > 服务供应链核销单消息} */
236
240
  alibaba_serviceplatform_FulfilTask(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaServiceplatformFulfilTask) => void): TaoMessageConsumer;
237
241
  /** {@link IncomingMessage.AlibabaServiceplatformServiceOrder 天猫服务 > 服务供应链服务单消息} */
@@ -348,6 +352,8 @@ declare interface TaoTopicsDescriptor {
348
352
  alitrip_ietrade_RefundMsg(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlitripIetradeRefundMsg) => void): TaoMessageConsumer;
349
353
  /** {@link IncomingMessage.AlitripTrainAgentStopQuery 淘宝火车票 > 火车票车次状态变更消息} */
350
354
  alitrip_train_AgentStopQuery(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlitripTrainAgentStopQuery) => void): TaoMessageConsumer;
355
+ /** {@link IncomingMessage.AlitripTrainRiskNotify 淘宝火车票 > 飞猪火车票风控消息} */
356
+ alitrip_train_RiskNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlitripTrainRiskNotify) => void): TaoMessageConsumer;
351
357
  /** {@link IncomingMessage.AlitripTravelOrderChanged 航旅度假交易 > 飞猪度假交易订单状态变更消息} */
352
358
  alitrip_travel_OrderChanged(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlitripTravelOrderChanged) => void): TaoMessageConsumer;
353
359
  /** {@link IncomingMessage.AlitripTravelPersonChanged 航旅度假交易 > 出行人信息变更消息} */
@@ -740,6 +746,8 @@ declare interface TaoTopicsDescriptor {
740
746
  taobao_rhino_DeviceStatus(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoRhinoDeviceStatus) => void): TaoMessageConsumer;
741
747
  /** {@link IncomingMessage.TaobaoSmartappAppSubChange 平台消息 > 用户订阅变更消息} */
742
748
  taobao_smartapp_AppSubChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappAppSubChange) => void): TaoMessageConsumer;
749
+ /** {@link IncomingMessage.TaobaoSmartappDataSync 平台消息 > 智能应用服务登记数据变更消息} */
750
+ taobao_smartapp_DataSync(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappDataSync) => void): TaoMessageConsumer;
743
751
  /** {@link IncomingMessage.TaobaoTaeBaichuanAuctionChange 导购平台 > 商品信息变更} */
744
752
  taobao_tae_BaichuanAuctionChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoTaeBaichuanAuctionChange) => void): TaoMessageConsumer;
745
753
  /** {@link IncomingMessage.TaobaoTaeBaichuanTradeClosed 导购平台 > 交易关闭} */
@@ -890,6 +898,8 @@ declare interface TaoTopicsDescriptor {
890
898
  tmall_fuwu_AnomalyRecourseStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
891
899
  /** {@link IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息} */
892
900
  tmall_fuwu_ElectricMaintenanceWorkCardComplete(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete) => void): TaoMessageConsumer;
901
+ /** {@link IncomingMessage.TmallFuwuElectricWarrantyCodeStatusUpdate 天猫服务 > 天猫服务消电保修码状态变更} */
902
+ tmall_fuwu_ElectricWarrantyCodeStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuElectricWarrantyCodeStatusUpdate) => void): TaoMessageConsumer;
893
903
  /** {@link IncomingMessage.TmallFuwuHomeDecorationSupplyRuleUpdate 天猫服务 > 天猫服务家装优质供给规则变更} */
894
904
  tmall_fuwu_HomeDecorationSupplyRuleUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuHomeDecorationSupplyRuleUpdate) => void): TaoMessageConsumer;
895
905
  /** {@link IncomingMessage.TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
@@ -966,6 +976,8 @@ declare interface TaoTopicsDescriptor {
966
976
  xianyu_recycle_OrderStatusSync(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycleOrderStatusSync) => void): TaoMessageConsumer;
967
977
  /** {@link IncomingMessage.XianyuRecycleSpuModifySync 闲鱼 > 闲鱼回收SPU变更消息} */
968
978
  xianyu_recycle_SpuModifySync(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycleSpuModifySync) => void): TaoMessageConsumer;
979
+ /** {@link IncomingMessage.XianyuRegisterStatusChange 闲鱼 > 闲鱼SPU挂载上下线消息} */
980
+ xianyu_register_StatusChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRegisterStatusChange) => void): TaoMessageConsumer;
969
981
  /** {@link IncomingMessage.XianyuTemplateQuesChange 闲鱼 > 闲鱼问卷变更} */
970
982
  xianyu_template_QuesChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplateQuesChange) => void): TaoMessageConsumer;
971
983
  /** {@link IncomingMessage.XianyuTemplateStatusChange 闲鱼 > 闲鱼问卷状态变更消息} */
@@ -1014,6 +1026,8 @@ declare interface TaoTopicsDescriptor {
1014
1026
  alibaba_nazca(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNazca) => void): TaoMessageConsumer;
1015
1027
  /** {@link IncomingMessage.AlibabaNlife} */
1016
1028
  alibaba_nlife(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlife) => void): TaoMessageConsumer;
1029
+ /** {@link IncomingMessage.AlibabaPur} */
1030
+ alibaba_pur(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPur) => void): TaoMessageConsumer;
1017
1031
  /** {@link IncomingMessage.AlibabaServiceplatform} */
1018
1032
  alibaba_serviceplatform(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaServiceplatform) => void): TaoMessageConsumer;
1019
1033
  /** {@link IncomingMessage.AlibabaSp} */
@@ -1246,6 +1260,8 @@ declare interface TaoTopicsDescriptor {
1246
1260
  xianyu_car(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCar) => void): TaoMessageConsumer;
1247
1261
  /** {@link IncomingMessage.XianyuRecycle} */
1248
1262
  xianyu_recycle(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycle) => void): TaoMessageConsumer;
1263
+ /** {@link IncomingMessage.XianyuRegister} */
1264
+ xianyu_register(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRegister) => void): TaoMessageConsumer;
1249
1265
  /** {@link IncomingMessage.XianyuTemplate} */
1250
1266
  xianyu_template(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplate) => void): TaoMessageConsumer;
1251
1267
  /** {@link IncomingMessage.XianyuTender} */
@@ -1447,6 +1463,8 @@ declare interface TaoEventsListener {
1447
1463
  on(topic: 'alibaba_msd_SettlementBillDetail', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsdSettlementBillDetail) => void): TaoMessageConsumer;
1448
1464
  /** {@link IncomingMessage.AlibabaMsfserviceAuditCreate 天猫服务 > 喵师傅审核单通知} */
1449
1465
  on(topic: 'alibaba_msfservice_AuditCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsfserviceAuditCreate) => void): TaoMessageConsumer;
1466
+ /** {@link IncomingMessage.AlibabaMsfserviceExtrafeeRecordCreate 天猫服务 > 喵师傅收费单消息通知} */
1467
+ on(topic: 'alibaba_msfservice_ExtrafeeRecordCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsfserviceExtrafeeRecordCreate) => void): TaoMessageConsumer;
1450
1468
  /** {@link IncomingMessage.AlibabaMsfserviceReminderCreate 天猫服务 > 催单消息} */
1451
1469
  on(topic: 'alibaba_msfservice_ReminderCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaMsfserviceReminderCreate) => void): TaoMessageConsumer;
1452
1470
  /** {@link IncomingMessage.AlibabaNazcaAbandonCert 网上法庭 > 作废存证消息接口} */
@@ -1473,6 +1491,8 @@ declare interface TaoEventsListener {
1473
1491
  on(topic: 'alibaba_nlife_InstorageDiffAuditNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeInstorageDiffAuditNotify) => void): TaoMessageConsumer;
1474
1492
  /** {@link IncomingMessage.AlibabaNlifeItemUpdate 零售plus > 零售+商品变动消息} */
1475
1493
  on(topic: 'alibaba_nlife_ItemUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeItemUpdate) => void): TaoMessageConsumer;
1494
+ /** {@link IncomingMessage.AlibabaPurResourceOrderShipNotify 信息平台-采购 > 发货提醒} */
1495
+ on(topic: 'alibaba_pur_ResourceOrderShipNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPurResourceOrderShipNotify) => void): TaoMessageConsumer;
1476
1496
  /** {@link IncomingMessage.AlibabaServiceplatformFulfilTask 天猫服务 > 服务供应链核销单消息} */
1477
1497
  on(topic: 'alibaba_serviceplatform_FulfilTask', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaServiceplatformFulfilTask) => void): TaoMessageConsumer;
1478
1498
  /** {@link IncomingMessage.AlibabaServiceplatformServiceOrder 天猫服务 > 服务供应链服务单消息} */
@@ -1589,6 +1609,8 @@ declare interface TaoEventsListener {
1589
1609
  on(topic: 'alitrip_ietrade_RefundMsg', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlitripIetradeRefundMsg) => void): TaoMessageConsumer;
1590
1610
  /** {@link IncomingMessage.AlitripTrainAgentStopQuery 淘宝火车票 > 火车票车次状态变更消息} */
1591
1611
  on(topic: 'alitrip_train_AgentStopQuery', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlitripTrainAgentStopQuery) => void): TaoMessageConsumer;
1612
+ /** {@link IncomingMessage.AlitripTrainRiskNotify 淘宝火车票 > 飞猪火车票风控消息} */
1613
+ on(topic: 'alitrip_train_RiskNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlitripTrainRiskNotify) => void): TaoMessageConsumer;
1592
1614
  /** {@link IncomingMessage.AlitripTravelOrderChanged 航旅度假交易 > 飞猪度假交易订单状态变更消息} */
1593
1615
  on(topic: 'alitrip_travel_OrderChanged', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlitripTravelOrderChanged) => void): TaoMessageConsumer;
1594
1616
  /** {@link IncomingMessage.AlitripTravelPersonChanged 航旅度假交易 > 出行人信息变更消息} */
@@ -1981,6 +2003,8 @@ declare interface TaoEventsListener {
1981
2003
  on(topic: 'taobao_rhino_DeviceStatus', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoRhinoDeviceStatus) => void): TaoMessageConsumer;
1982
2004
  /** {@link IncomingMessage.TaobaoSmartappAppSubChange 平台消息 > 用户订阅变更消息} */
1983
2005
  on(topic: 'taobao_smartapp_AppSubChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappAppSubChange) => void): TaoMessageConsumer;
2006
+ /** {@link IncomingMessage.TaobaoSmartappDataSync 平台消息 > 智能应用服务登记数据变更消息} */
2007
+ on(topic: 'taobao_smartapp_DataSync', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappDataSync) => void): TaoMessageConsumer;
1984
2008
  /** {@link IncomingMessage.TaobaoTaeBaichuanAuctionChange 导购平台 > 商品信息变更} */
1985
2009
  on(topic: 'taobao_tae_BaichuanAuctionChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoTaeBaichuanAuctionChange) => void): TaoMessageConsumer;
1986
2010
  /** {@link IncomingMessage.TaobaoTaeBaichuanTradeClosed 导购平台 > 交易关闭} */
@@ -2131,6 +2155,8 @@ declare interface TaoEventsListener {
2131
2155
  on(topic: 'tmall_fuwu_AnomalyRecourseStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
2132
2156
  /** {@link IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息} */
2133
2157
  on(topic: 'tmall_fuwu_ElectricMaintenanceWorkCardComplete', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuElectricMaintenanceWorkCardComplete) => void): TaoMessageConsumer;
2158
+ /** {@link IncomingMessage.TmallFuwuElectricWarrantyCodeStatusUpdate 天猫服务 > 天猫服务消电保修码状态变更} */
2159
+ on(topic: 'tmall_fuwu_ElectricWarrantyCodeStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuElectricWarrantyCodeStatusUpdate) => void): TaoMessageConsumer;
2134
2160
  /** {@link IncomingMessage.TmallFuwuHomeDecorationSupplyRuleUpdate 天猫服务 > 天猫服务家装优质供给规则变更} */
2135
2161
  on(topic: 'tmall_fuwu_HomeDecorationSupplyRuleUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuHomeDecorationSupplyRuleUpdate) => void): TaoMessageConsumer;
2136
2162
  /** {@link IncomingMessage.TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
@@ -2207,6 +2233,8 @@ declare interface TaoEventsListener {
2207
2233
  on(topic: 'xianyu_recycle_OrderStatusSync', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycleOrderStatusSync) => void): TaoMessageConsumer;
2208
2234
  /** {@link IncomingMessage.XianyuRecycleSpuModifySync 闲鱼 > 闲鱼回收SPU变更消息} */
2209
2235
  on(topic: 'xianyu_recycle_SpuModifySync', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycleSpuModifySync) => void): TaoMessageConsumer;
2236
+ /** {@link IncomingMessage.XianyuRegisterStatusChange 闲鱼 > 闲鱼SPU挂载上下线消息} */
2237
+ on(topic: 'xianyu_register_StatusChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRegisterStatusChange) => void): TaoMessageConsumer;
2210
2238
  /** {@link IncomingMessage.XianyuTemplateQuesChange 闲鱼 > 闲鱼问卷变更} */
2211
2239
  on(topic: 'xianyu_template_QuesChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplateQuesChange) => void): TaoMessageConsumer;
2212
2240
  /** {@link IncomingMessage.XianyuTemplateStatusChange 闲鱼 > 闲鱼问卷状态变更消息} */
@@ -2255,6 +2283,8 @@ declare interface TaoEventsListener {
2255
2283
  on(topic: 'alibaba_nazca', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNazca) => void): TaoMessageConsumer;
2256
2284
  /** {@link IncomingMessage.AlibabaNlife} */
2257
2285
  on(topic: 'alibaba_nlife', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlife) => void): TaoMessageConsumer;
2286
+ /** {@link IncomingMessage.AlibabaPur} */
2287
+ on(topic: 'alibaba_pur', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPur) => void): TaoMessageConsumer;
2258
2288
  /** {@link IncomingMessage.AlibabaServiceplatform} */
2259
2289
  on(topic: 'alibaba_serviceplatform', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaServiceplatform) => void): TaoMessageConsumer;
2260
2290
  /** {@link IncomingMessage.AlibabaSp} */
@@ -2487,6 +2517,8 @@ declare interface TaoEventsListener {
2487
2517
  on(topic: 'xianyu_car', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCar) => void): TaoMessageConsumer;
2488
2518
  /** {@link IncomingMessage.XianyuRecycle} */
2489
2519
  on(topic: 'xianyu_recycle', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycle) => void): TaoMessageConsumer;
2520
+ /** {@link IncomingMessage.XianyuRegister} */
2521
+ on(topic: 'xianyu_register', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRegister) => void): TaoMessageConsumer;
2490
2522
  /** {@link IncomingMessage.XianyuTemplate} */
2491
2523
  on(topic: 'xianyu_template', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplate) => void): TaoMessageConsumer;
2492
2524
  /** {@link IncomingMessage.XianyuTender} */
@@ -167,6 +167,8 @@ declare namespace IncomingMessage {
167
167
  type AlibabaMsdSettlementBillDetail = Message & { content?: MessageContent & { topic?: 'alibaba_msd_SettlementBillDetail', content?: string | Alibaba.Msd.SettlementBillDetail } };
168
168
  /** {@link Alibaba.Msfservice.AuditCreate 天猫服务 > 喵师傅审核单通知} */
169
169
  type AlibabaMsfserviceAuditCreate = Message & { content?: MessageContent & { topic?: 'alibaba_msfservice_AuditCreate', content?: string | Alibaba.Msfservice.AuditCreate } };
170
+ /** {@link Alibaba.Msfservice.ExtrafeeRecordCreate 天猫服务 > 喵师傅收费单消息通知} */
171
+ type AlibabaMsfserviceExtrafeeRecordCreate = Message & { content?: MessageContent & { topic?: 'alibaba_msfservice_ExtrafeeRecordCreate', content?: string | Alibaba.Msfservice.ExtrafeeRecordCreate } };
170
172
  /** {@link Alibaba.Msfservice.ReminderCreate 天猫服务 > 催单消息} */
171
173
  type AlibabaMsfserviceReminderCreate = Message & { content?: MessageContent & { topic?: 'alibaba_msfservice_ReminderCreate', content?: string | Alibaba.Msfservice.ReminderCreate } };
172
174
  /** {@link Alibaba.Nazca.AbandonCert 网上法庭 > 作废存证消息接口} */
@@ -193,6 +195,8 @@ declare namespace IncomingMessage {
193
195
  type AlibabaNlifeInstorageDiffAuditNotify = Message & { content?: MessageContent & { topic?: 'alibaba_nlife_InstorageDiffAuditNotify', content?: string | Alibaba.Nlife.InstorageDiffAuditNotify } };
194
196
  /** {@link Alibaba.Nlife.ItemUpdate 零售plus > 零售+商品变动消息} */
195
197
  type AlibabaNlifeItemUpdate = Message & { content?: MessageContent & { topic?: 'alibaba_nlife_ItemUpdate', content?: string | Alibaba.Nlife.ItemUpdate } };
198
+ /** {@link Alibaba.Pur.ResourceOrderShipNotify 信息平台-采购 > 发货提醒} */
199
+ type AlibabaPurResourceOrderShipNotify = Message & { content?: MessageContent & { topic?: 'alibaba_pur_ResourceOrderShipNotify', content?: string | Alibaba.Pur.ResourceOrderShipNotify } };
196
200
  /** {@link Alibaba.Serviceplatform.FulfilTask 天猫服务 > 服务供应链核销单消息} */
197
201
  type AlibabaServiceplatformFulfilTask = Message & { content?: MessageContent & { topic?: 'alibaba_serviceplatform_FulfilTask', content?: string | Alibaba.Serviceplatform.FulfilTask } };
198
202
  /** {@link Alibaba.Serviceplatform.ServiceOrder 天猫服务 > 服务供应链服务单消息} */
@@ -309,6 +313,8 @@ declare namespace IncomingMessage {
309
313
  type AlitripIetradeRefundMsg = Message & { content?: MessageContent & { topic?: 'alitrip_ietrade_RefundMsg', content?: string | Alitrip.Ietrade.RefundMsg } };
310
314
  /** {@link Alitrip.Train.AgentStopQuery 淘宝火车票 > 火车票车次状态变更消息} */
311
315
  type AlitripTrainAgentStopQuery = Message & { content?: MessageContent & { topic?: 'alitrip_train_AgentStopQuery', content?: string | Alitrip.Train.AgentStopQuery } };
316
+ /** {@link Alitrip.Train.RiskNotify 淘宝火车票 > 飞猪火车票风控消息} */
317
+ type AlitripTrainRiskNotify = Message & { content?: MessageContent & { topic?: 'alitrip_train_RiskNotify', content?: string | Alitrip.Train.RiskNotify } };
312
318
  /** {@link Alitrip.Travel.OrderChanged 航旅度假交易 > 飞猪度假交易订单状态变更消息} */
313
319
  type AlitripTravelOrderChanged = Message & { content?: MessageContent & { topic?: 'alitrip_travel_OrderChanged', content?: string | Alitrip.Travel.OrderChanged } };
314
320
  /** {@link Alitrip.Travel.PersonChanged 航旅度假交易 > 出行人信息变更消息} */
@@ -701,6 +707,8 @@ declare namespace IncomingMessage {
701
707
  type TaobaoRhinoDeviceStatus = Message & { content?: MessageContent & { topic?: 'taobao_rhino_DeviceStatus', content?: string | Taobao.Rhino.DeviceStatus } };
702
708
  /** {@link Taobao.Smartapp.AppSubChange 平台消息 > 用户订阅变更消息} */
703
709
  type TaobaoSmartappAppSubChange = Message & { content?: MessageContent & { topic?: 'taobao_smartapp_AppSubChange', content?: string | Taobao.Smartapp.AppSubChange } };
710
+ /** {@link Taobao.Smartapp.DataSync 平台消息 > 智能应用服务登记数据变更消息} */
711
+ type TaobaoSmartappDataSync = Message & { content?: MessageContent & { topic?: 'taobao_smartapp_DataSync', content?: string | Taobao.Smartapp.DataSync } };
704
712
  /** {@link Taobao.Tae.BaichuanAuctionChange 导购平台 > 商品信息变更} */
705
713
  type TaobaoTaeBaichuanAuctionChange = Message & { content?: MessageContent & { topic?: 'taobao_tae_BaichuanAuctionChange', content?: string | Taobao.Tae.BaichuanAuctionChange } };
706
714
  /** {@link Taobao.Tae.BaichuanTradeClosed 导购平台 > 交易关闭} */
@@ -851,6 +859,8 @@ declare namespace IncomingMessage {
851
859
  type TmallFuwuAnomalyRecourseStatusUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_AnomalyRecourseStatusUpdate', content?: string | Tmall.Fuwu.AnomalyRecourseStatusUpdate } };
852
860
  /** {@link Tmall.Fuwu.ElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息} */
853
861
  type TmallFuwuElectricMaintenanceWorkCardComplete = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_ElectricMaintenanceWorkCardComplete', content?: string | Tmall.Fuwu.ElectricMaintenanceWorkCardComplete } };
862
+ /** {@link Tmall.Fuwu.ElectricWarrantyCodeStatusUpdate 天猫服务 > 天猫服务消电保修码状态变更} */
863
+ type TmallFuwuElectricWarrantyCodeStatusUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_ElectricWarrantyCodeStatusUpdate', content?: string | Tmall.Fuwu.ElectricWarrantyCodeStatusUpdate } };
854
864
  /** {@link Tmall.Fuwu.HomeDecorationSupplyRuleUpdate 天猫服务 > 天猫服务家装优质供给规则变更} */
855
865
  type TmallFuwuHomeDecorationSupplyRuleUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_HomeDecorationSupplyRuleUpdate', content?: string | Tmall.Fuwu.HomeDecorationSupplyRuleUpdate } };
856
866
  /** {@link Tmall.Fuwu.LogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
@@ -927,6 +937,8 @@ declare namespace IncomingMessage {
927
937
  type XianyuRecycleOrderStatusSync = Message & { content?: MessageContent & { topic?: 'xianyu_recycle_OrderStatusSync', content?: string | Xianyu.Recycle.OrderStatusSync } };
928
938
  /** {@link Xianyu.Recycle.SpuModifySync 闲鱼 > 闲鱼回收SPU变更消息} */
929
939
  type XianyuRecycleSpuModifySync = Message & { content?: MessageContent & { topic?: 'xianyu_recycle_SpuModifySync', content?: string | Xianyu.Recycle.SpuModifySync } };
940
+ /** {@link Xianyu.Register.StatusChange 闲鱼 > 闲鱼SPU挂载上下线消息} */
941
+ type XianyuRegisterStatusChange = Message & { content?: MessageContent & { topic?: 'xianyu_register_StatusChange', content?: string | Xianyu.Register.StatusChange } };
930
942
  /** {@link Xianyu.Template.QuesChange 闲鱼 > 闲鱼问卷变更} */
931
943
  type XianyuTemplateQuesChange = Message & { content?: MessageContent & { topic?: 'xianyu_template_QuesChange', content?: string | Xianyu.Template.QuesChange } };
932
944
  /** {@link Xianyu.Template.StatusChange 闲鱼 > 闲鱼问卷状态变更消息} */
@@ -1111,9 +1123,11 @@ declare namespace IncomingMessage {
1111
1123
  type AlibabaMsd = AlibabaMsdSettlementBillDetail;
1112
1124
  /**
1113
1125
  * - {@link AlibabaMsfserviceAuditCreate 天猫服务 > 喵师傅审核单通知}
1126
+ * - {@link AlibabaMsfserviceExtrafeeRecordCreate 天猫服务 > 喵师傅收费单消息通知}
1114
1127
  * - {@link AlibabaMsfserviceReminderCreate 天猫服务 > 催单消息}
1115
1128
  */
1116
1129
  type AlibabaMsfservice = AlibabaMsfserviceAuditCreate
1130
+ | AlibabaMsfserviceExtrafeeRecordCreate
1117
1131
  | AlibabaMsfserviceReminderCreate;
1118
1132
  /**
1119
1133
  * - {@link AlibabaNazcaAbandonCert 网上法庭 > 作废存证消息接口}
@@ -1143,6 +1157,10 @@ declare namespace IncomingMessage {
1143
1157
  | AlibabaNlifeBtobTradeRefundNotify
1144
1158
  | AlibabaNlifeInstorageDiffAuditNotify
1145
1159
  | AlibabaNlifeItemUpdate;
1160
+ /**
1161
+ * - {@link AlibabaPurResourceOrderShipNotify 信息平台-采购 > 发货提醒}
1162
+ */
1163
+ type AlibabaPur = AlibabaPurResourceOrderShipNotify;
1146
1164
  /**
1147
1165
  * - {@link AlibabaServiceplatformFulfilTask 天猫服务 > 服务供应链核销单消息}
1148
1166
  * - {@link AlibabaServiceplatformServiceOrder 天猫服务 > 服务供应链服务单消息}
@@ -1301,8 +1319,10 @@ declare namespace IncomingMessage {
1301
1319
  | AlitripIetradeRefundMsg;
1302
1320
  /**
1303
1321
  * - {@link AlitripTrainAgentStopQuery 淘宝火车票 > 火车票车次状态变更消息}
1322
+ * - {@link AlitripTrainRiskNotify 淘宝火车票 > 飞猪火车票风控消息}
1304
1323
  */
1305
- type AlitripTrain = AlitripTrainAgentStopQuery;
1324
+ type AlitripTrain = AlitripTrainAgentStopQuery
1325
+ | AlitripTrainRiskNotify;
1306
1326
  /**
1307
1327
  * - {@link AlitripTravelOrderChanged 航旅度假交易 > 飞猪度假交易订单状态变更消息}
1308
1328
  * - {@link AlitripTravelPersonChanged 航旅度假交易 > 出行人信息变更消息}
@@ -1827,8 +1847,10 @@ declare namespace IncomingMessage {
1827
1847
  type TaobaoRhino = TaobaoRhinoDeviceStatus;
1828
1848
  /**
1829
1849
  * - {@link TaobaoSmartappAppSubChange 平台消息 > 用户订阅变更消息}
1850
+ * - {@link TaobaoSmartappDataSync 平台消息 > 智能应用服务登记数据变更消息}
1830
1851
  */
1831
- type TaobaoSmartapp = TaobaoSmartappAppSubChange;
1852
+ type TaobaoSmartapp = TaobaoSmartappAppSubChange
1853
+ | TaobaoSmartappDataSync;
1832
1854
  /**
1833
1855
  * - {@link TaobaoTaeBaichuanAuctionChange 导购平台 > 商品信息变更}
1834
1856
  * - {@link TaobaoTaeBaichuanTradeClosed 导购平台 > 交易关闭}
@@ -2005,6 +2027,7 @@ declare namespace IncomingMessage {
2005
2027
  * - {@link TmallFuwuAnomalyRecourse 天猫服务 > 天猫服务平台一键求助单消息队列}
2006
2028
  * - {@link TmallFuwuAnomalyRecourseStatusUpdate 天猫服务 > 一键求助状态变更消息}
2007
2029
  * - {@link TmallFuwuElectricMaintenanceWorkCardComplete 天猫服务 > 天猫服务消电维修工单完结消息}
2030
+ * - {@link TmallFuwuElectricWarrantyCodeStatusUpdate 天猫服务 > 天猫服务消电保修码状态变更}
2008
2031
  * - {@link TmallFuwuHomeDecorationSupplyRuleUpdate 天猫服务 > 天猫服务家装优质供给规则变更}
2009
2032
  * - {@link TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息}
2010
2033
  * - {@link TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息}
@@ -2020,6 +2043,7 @@ declare namespace IncomingMessage {
2020
2043
  type TmallFuwu = TmallFuwuAnomalyRecourse
2021
2044
  | TmallFuwuAnomalyRecourseStatusUpdate
2022
2045
  | TmallFuwuElectricMaintenanceWorkCardComplete
2046
+ | TmallFuwuElectricWarrantyCodeStatusUpdate
2023
2047
  | TmallFuwuHomeDecorationSupplyRuleUpdate
2024
2048
  | TmallFuwuLogisticsInfoMessage
2025
2049
  | TmallFuwuRateMessageTP
@@ -2109,6 +2133,10 @@ declare namespace IncomingMessage {
2109
2133
  */
2110
2134
  type XianyuRecycle = XianyuRecycleOrderStatusSync
2111
2135
  | XianyuRecycleSpuModifySync;
2136
+ /**
2137
+ * - {@link XianyuRegisterStatusChange 闲鱼 > 闲鱼SPU挂载上下线消息}
2138
+ */
2139
+ type XianyuRegister = XianyuRegisterStatusChange;
2112
2140
  /**
2113
2141
  * - {@link XianyuTemplateQuesChange 闲鱼 > 闲鱼问卷变更}
2114
2142
  * - {@link XianyuTemplateStatusChange 闲鱼 > 闲鱼问卷状态变更消息}
@@ -2148,6 +2176,7 @@ declare namespace IncomingMessage {
2148
2176
  * - {@link AlibabaMsfservice}
2149
2177
  * - {@link AlibabaNazca}
2150
2178
  * - {@link AlibabaNlife}
2179
+ * - {@link AlibabaPur}
2151
2180
  * - {@link AlibabaServiceplatform}
2152
2181
  * - {@link AlibabaSp}
2153
2182
  * - {@link AlibabaTax}
@@ -2178,6 +2207,7 @@ declare namespace IncomingMessage {
2178
2207
  | AlibabaMsfservice
2179
2208
  | AlibabaNazca
2180
2209
  | AlibabaNlife
2210
+ | AlibabaPur
2181
2211
  | AlibabaServiceplatform
2182
2212
  | AlibabaSp
2183
2213
  | AlibabaTax
@@ -2436,6 +2466,7 @@ declare namespace IncomingMessage {
2436
2466
  * - {@link XianyuAppraise}
2437
2467
  * - {@link XianyuCar}
2438
2468
  * - {@link XianyuRecycle}
2469
+ * - {@link XianyuRegister}
2439
2470
  * - {@link XianyuTemplate}
2440
2471
  * - {@link XianyuTender}
2441
2472
  */
@@ -2443,6 +2474,7 @@ declare namespace IncomingMessage {
2443
2474
  | XianyuAppraise
2444
2475
  | XianyuCar
2445
2476
  | XianyuRecycle
2477
+ | XianyuRegister
2446
2478
  | XianyuTemplate
2447
2479
  | XianyuTender;
2448
2480
  /**
package/types/taobao.d.ts CHANGED
@@ -2311,6 +2311,22 @@ declare namespace Taobao.Smartapp {
2311
2311
  /** 订阅状态,ON:开启 ,OFF:关闭 */
2312
2312
  status: string;
2313
2313
  }
2314
+
2315
+ /** 智能应用服务登记数据变更消息 */
2316
+ interface DataSync {
2317
+ /** 智能应用ID */
2318
+ app_id: number;
2319
+ /** 操作类型,包含INSERT、UPDATE、DELETE */
2320
+ operation_type: string;
2321
+ /** 表记录ID */
2322
+ record_id: string;
2323
+ /** 表id */
2324
+ table_id: string;
2325
+ /** 表中文名称 */
2326
+ table_name: string;
2327
+ /** 时间戳 */
2328
+ timestamp: number;
2329
+ }
2314
2330
  }
2315
2331
 
2316
2332
  /** 导购平台 */
package/types/tmall.d.ts CHANGED
@@ -106,6 +106,16 @@ declare namespace Tmall.Fuwu {
106
106
  workcard_id: string;
107
107
  }
108
108
 
109
+ /** 天猫服务消电保修码状态变更 */
110
+ interface ElectricWarrantyCodeStatusUpdate {
111
+ /** 保修码OSS文件名 */
112
+ oss_file_name: string;
113
+ /** 保修码OSS文件下载链接 */
114
+ oss_file_url: string;
115
+ /** 保修码状态 */
116
+ status: string;
117
+ }
118
+
109
119
  /** 天猫服务家装优质供给规则变更 */
110
120
  interface HomeDecorationSupplyRuleUpdate {
111
121
  /** 叶子类目名称 */
package/types/xianyu.d.ts CHANGED
@@ -140,6 +140,21 @@ declare namespace Xianyu.Recycle {
140
140
  }
141
141
  }
142
142
 
143
+ /** 闲鱼 */
144
+ declare namespace Xianyu.Register {
145
+ /** 闲鱼SPU挂载上下线消息 */
146
+ interface StatusChange {
147
+ /** 业务英文编码,如HS-回收,BM-帮卖 */
148
+ pd_code: string;
149
+ /** 场景,如3C、3C_TENDER、BULKS */
150
+ scene_type: string;
151
+ /** spuId */
152
+ spu_id: string;
153
+ /** 状态英文编码,OFFLINE-下线,ONLINE-上线 */
154
+ status: string;
155
+ }
156
+ }
157
+
143
158
  /** 闲鱼 */
144
159
  declare namespace Xianyu.Template {
145
160
  /** 闲鱼问卷变更 */