tmc.js 0.3.40 → 0.3.41
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 +13 -0
- package/types/alipic.d.ts +20 -0
- package/types/index.d.ts +58 -2
- package/types/lark.d.ts +10 -0
- package/types/lianfan.d.ts +26 -0
- package/types/message.in.d.ts +59 -5
- package/types/taobao.d.ts +2 -0
- package/types/tmall.d.ts +29 -3
- package/types/xianyu.d.ts +16 -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>共计 84+ 类别,
|
|
137
|
+
<details><summary>共计 84+ 类别,506+ 消息数</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
|
+
| 天猫服务 | 30 |
|
|
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
|
-
| 闲鱼 |
|
|
173
|
+
| 闲鱼 | 22 |
|
|
174
174
|
| 闲鱼回收商消息 | 6 |
|
|
175
175
|
| 零售通POS开放平台消息 | 4 |
|
|
176
176
|
| DPAAS | 6 |
|
package/package.json
CHANGED
package/types/alibaba.d.ts
CHANGED
|
@@ -3443,6 +3443,19 @@ declare namespace Alibaba.Nlife {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
}
|
|
3445
3445
|
|
|
3446
|
+
/** 小满 */
|
|
3447
|
+
declare namespace Alibaba.Okki {
|
|
3448
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2557&docType=9 小满商品服务状态同步} */
|
|
3449
|
+
interface SpuStatusSync {
|
|
3450
|
+
/** 小满客户id */
|
|
3451
|
+
client_id: string;
|
|
3452
|
+
/** 先富客户id */
|
|
3453
|
+
global_id: string;
|
|
3454
|
+
/** 小满商品服务状态 */
|
|
3455
|
+
spu_status: string;
|
|
3456
|
+
}
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3446
3459
|
/** 阿里拍卖 */
|
|
3447
3460
|
declare namespace Alibaba.Paimai {
|
|
3448
3461
|
/** {@link https://open.taobao.com/tmc.htm?docId=2111&docType=9 支付宝用户完成消费金任务} */
|
package/types/alipic.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
/** ALIPIC */
|
|
2
2
|
declare namespace Alipic.Lark {
|
|
3
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2563&docType=9 佳影数据上云} */
|
|
4
|
+
interface JiayingDataReport {
|
|
5
|
+
/** 数据内容 */
|
|
6
|
+
data_content: string;
|
|
7
|
+
/** 唯一键 */
|
|
8
|
+
data_id: string;
|
|
9
|
+
/** 数据类型 */
|
|
10
|
+
data_type: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2558&docType=9 POS配置态数据增量下行} */
|
|
14
|
+
interface ResultDataDownlink {
|
|
15
|
+
/** 消息业务唯一id */
|
|
16
|
+
pos_bus_data_id: string;
|
|
17
|
+
/** 消息类型:1 订单类型 -1 其他类型 */
|
|
18
|
+
pos_bus_data_type?: number;
|
|
19
|
+
/** pos-bus接口返回参数 */
|
|
20
|
+
pos_bus_result_data: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
3
23
|
/** {@link https://open.taobao.com/tmc.htm?docId=2556&docType=9 排期列表数据增量下行} */
|
|
4
24
|
interface SchedulesDataDownlink {
|
|
5
25
|
/** 发送业务消息 */
|
package/types/index.d.ts
CHANGED
|
@@ -484,6 +484,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
484
484
|
alibaba_nlife_InstorageDiffAuditNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeInstorageDiffAuditNotify) => void): TaoMessageConsumer;
|
|
485
485
|
/** {@link IncomingMessage.AlibabaNlifeItemUpdate 零售plus > 零售+商品变动消息} */
|
|
486
486
|
alibaba_nlife_ItemUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeItemUpdate) => void): TaoMessageConsumer;
|
|
487
|
+
/** {@link IncomingMessage.AlibabaOkkiSpuStatusSync 小满 > 小满商品服务状态同步} */
|
|
488
|
+
alibaba_okki_SpuStatusSync(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaOkkiSpuStatusSync) => void): TaoMessageConsumer;
|
|
487
489
|
/** {@link IncomingMessage.AlibabaPaimaiAlipayConsumeGoldTaskFinish 阿里拍卖 > 支付宝用户完成消费金任务} */
|
|
488
490
|
alibaba_paimai_AlipayConsumeGoldTaskFinish(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPaimaiAlipayConsumeGoldTaskFinish) => void): TaoMessageConsumer;
|
|
489
491
|
/** {@link IncomingMessage.AlibabaPaimaiCommonPromoTask 阿里拍卖 > 拍卖支付宝营销通用消息} */
|
|
@@ -788,6 +790,10 @@ declare interface TaoTopicsDescriptor {
|
|
|
788
790
|
alipay_update_Seller(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlipayUpdateSeller) => void): TaoMessageConsumer;
|
|
789
791
|
/** {@link IncomingMessage.AlipayXiaodaiSignNotify 阿里金融 > 阿里金融签约通知} */
|
|
790
792
|
alipay_xiaodai_SignNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlipayXiaodaiSignNotify) => void): TaoMessageConsumer;
|
|
793
|
+
/** {@link IncomingMessage.AlipicLarkJiayingDataReport ALIPIC > 佳影数据上云} */
|
|
794
|
+
alipic_lark_JiayingDataReport(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlipicLarkJiayingDataReport) => void): TaoMessageConsumer;
|
|
795
|
+
/** {@link IncomingMessage.AlipicLarkResultDataDownlink ALIPIC > POS配置态数据增量下行} */
|
|
796
|
+
alipic_lark_ResultDataDownlink(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlipicLarkResultDataDownlink) => void): TaoMessageConsumer;
|
|
791
797
|
/** {@link IncomingMessage.AlipicLarkSchedulesDataDownlink ALIPIC > 排期列表数据增量下行} */
|
|
792
798
|
alipic_lark_SchedulesDataDownlink(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlipicLarkSchedulesDataDownlink) => void): TaoMessageConsumer;
|
|
793
799
|
/** {@link IncomingMessage.AlisportsBankAlipayattention 支付宝体育 > 支付宝体育服务小程序关注消息} */
|
|
@@ -1156,6 +1162,12 @@ declare interface TaoTopicsDescriptor {
|
|
|
1156
1162
|
jae_trade_PaidSuccessed(fn: (this: TaoMessageConsumer, message: IncomingMessage.JaeTradePaidSuccessed) => void): TaoMessageConsumer;
|
|
1157
1163
|
/** {@link IncomingMessage.JymOrderBoosterStatusChange 交易猫 > 交易猫代练订单状态变更} */
|
|
1158
1164
|
jym_order_BoosterStatusChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.JymOrderBoosterStatusChange) => void): TaoMessageConsumer;
|
|
1165
|
+
/** {@link IncomingMessage.LarkTradePosTradeDataTransmit 云智POS > 云智POS离线交易信息同步} */
|
|
1166
|
+
lark_trade_PosTradeDataTransmit(fn: (this: TaoMessageConsumer, message: IncomingMessage.LarkTradePosTradeDataTransmit) => void): TaoMessageConsumer;
|
|
1167
|
+
/** {@link IncomingMessage.LianfanHuiwaModelStateUpdate 连凡 > 绘蛙模型状态变更消息} */
|
|
1168
|
+
lianfan_huiwa_ModelStateUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaModelStateUpdate) => void): TaoMessageConsumer;
|
|
1169
|
+
/** {@link IncomingMessage.LianfanHuiwaTaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息} */
|
|
1170
|
+
lianfan_huiwa_TaskStateUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaTaskStateUpdate) => void): TaoMessageConsumer;
|
|
1159
1171
|
/** {@link IncomingMessage.LstSupplierBroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息} */
|
|
1160
1172
|
lst_supplier_BroadcastFastRefundMessage(fn: (this: TaoMessageConsumer, message: IncomingMessage.LstSupplierBroadcastFastRefundMessage) => void): TaoMessageConsumer;
|
|
1161
1173
|
/** {@link IncomingMessage.LstSupplierFastRefundMessageCreate 零售通_公共 > 品牌商极速退款消息创建} */
|
|
@@ -2068,6 +2080,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2068
2080
|
tmall_auto_TradeModify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallAutoTradeModify) => void): TaoMessageConsumer;
|
|
2069
2081
|
/** {@link IncomingMessage.TmallAutoTwoWheelsReceiptCreate 天猫汽车 > 天猫二轮车服务工单创建开放} */
|
|
2070
2082
|
tmall_auto_TwoWheelsReceiptCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallAutoTwoWheelsReceiptCreate) => void): TaoMessageConsumer;
|
|
2083
|
+
/** {@link IncomingMessage.TmallCarAbnormalSettleSeller 天猫汽车 > 天猫汽车安装服务-异常商家上下线通知} */
|
|
2084
|
+
tmall_car_AbnormalSettleSeller(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallCarAbnormalSettleSeller) => void): TaoMessageConsumer;
|
|
2071
2085
|
/** {@link IncomingMessage.TmallCarAliapayTelRedPacket 天猫汽车 > 天猫汽车-支付宝手机充值红包发放} */
|
|
2072
2086
|
tmall_car_AliapayTelRedPacket(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallCarAliapayTelRedPacket) => void): TaoMessageConsumer;
|
|
2073
2087
|
/** {@link IncomingMessage.TmallCarAlipayEvent 天猫汽车 > 天猫汽车触发支付宝事件发奖} */
|
|
@@ -2100,6 +2114,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2100
2114
|
tmall_fuwu_HomeDecorationSupplyRuleUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuHomeDecorationSupplyRuleUpdate) => void): TaoMessageConsumer;
|
|
2101
2115
|
/** {@link IncomingMessage.TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
|
|
2102
2116
|
tmall_fuwu_LogisticsInfoMessage(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuLogisticsInfoMessage) => void): TaoMessageConsumer;
|
|
2117
|
+
/** {@link IncomingMessage.TmallFuwuNewAnomalyRecourseStatusUpdate 天猫服务 > 服务管控消息更新} */
|
|
2118
|
+
tmall_fuwu_NewAnomalyRecourseStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuNewAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
|
|
2103
2119
|
/** {@link IncomingMessage.TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
2104
2120
|
tmall_fuwu_RateMessageTP(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuRateMessageTP) => void): TaoMessageConsumer;
|
|
2105
2121
|
/** {@link IncomingMessage.TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
@@ -2218,7 +2234,7 @@ declare interface TaoTopicsDescriptor {
|
|
|
2218
2234
|
tmall_sasssign_Msg(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallSasssignMsg) => void): TaoMessageConsumer;
|
|
2219
2235
|
/** {@link IncomingMessage.TmallScmSendTmcsDistributeSettleFee 天猫 > 猫超经销结算打款消息} */
|
|
2220
2236
|
tmall_scm_SendTmcsDistributeSettleFee(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallScmSendTmcsDistributeSettleFee) => void): TaoMessageConsumer;
|
|
2221
|
-
/** {@link IncomingMessage.TmallServiceCycleBillInvoice
|
|
2237
|
+
/** {@link IncomingMessage.TmallServiceCycleBillInvoice 天猫服务 > 服务结算账期账单发票消息} */
|
|
2222
2238
|
tmall_service_CycleBillInvoice(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallServiceCycleBillInvoice) => void): TaoMessageConsumer;
|
|
2223
2239
|
/** {@link IncomingMessage.TmallServicecenterTaskUpdate 天猫服务 > 天猫服务平台工单更新} */
|
|
2224
2240
|
tmall_servicecenter_TaskUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallServicecenterTaskUpdate) => void): TaoMessageConsumer;
|
|
@@ -2294,6 +2310,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2294
2310
|
xianyu_appraise_OrderSyn(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuAppraiseOrderSyn) => void): TaoMessageConsumer;
|
|
2295
2311
|
/** {@link IncomingMessage.XianyuCarOrderStatusSync 闲鱼回收商消息 > 闲鱼二手车寄卖订单状态同步} */
|
|
2296
2312
|
xianyu_car_OrderStatusSync(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCarOrderStatusSync) => void): TaoMessageConsumer;
|
|
2313
|
+
/** {@link IncomingMessage.XianyuCtoxCommissionStateSyn 闲鱼 > 闲鱼C2X抽佣退佣消息同步} */
|
|
2314
|
+
xianyu_ctox_CommissionStateSyn(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCtoxCommissionStateSyn) => void): TaoMessageConsumer;
|
|
2297
2315
|
/** {@link IncomingMessage.XianyuCtoxPayDkChange 闲鱼 > c2x代扣协议变更通知} */
|
|
2298
2316
|
xianyu_ctox_PayDkChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCtoxPayDkChange) => void): TaoMessageConsumer;
|
|
2299
2317
|
/** {@link IncomingMessage.XianyuCtoxRateStateSyn 闲鱼 > c2x业务订单评价消息同步} */
|
|
@@ -2424,6 +2442,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2424
2442
|
alibaba_newretail(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNewretail) => void): TaoMessageConsumer;
|
|
2425
2443
|
/** {@link IncomingMessage.AlibabaNlife} */
|
|
2426
2444
|
alibaba_nlife(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlife) => void): TaoMessageConsumer;
|
|
2445
|
+
/** {@link IncomingMessage.AlibabaOkki} */
|
|
2446
|
+
alibaba_okki(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaOkki) => void): TaoMessageConsumer;
|
|
2427
2447
|
/** {@link IncomingMessage.AlibabaPaimai} */
|
|
2428
2448
|
alibaba_paimai(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPaimai) => void): TaoMessageConsumer;
|
|
2429
2449
|
/** {@link IncomingMessage.AlibabaPur} */
|
|
@@ -2680,6 +2700,10 @@ declare interface TaoTopicsDescriptor {
|
|
|
2680
2700
|
jae_trade(fn: (this: TaoMessageConsumer, message: IncomingMessage.JaeTrade) => void): TaoMessageConsumer;
|
|
2681
2701
|
/** {@link IncomingMessage.JymOrder} */
|
|
2682
2702
|
jym_order(fn: (this: TaoMessageConsumer, message: IncomingMessage.JymOrder) => void): TaoMessageConsumer;
|
|
2703
|
+
/** {@link IncomingMessage.LarkTrade} */
|
|
2704
|
+
lark_trade(fn: (this: TaoMessageConsumer, message: IncomingMessage.LarkTrade) => void): TaoMessageConsumer;
|
|
2705
|
+
/** {@link IncomingMessage.LianfanHuiwa} */
|
|
2706
|
+
lianfan_huiwa(fn: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwa) => void): TaoMessageConsumer;
|
|
2683
2707
|
/** {@link IncomingMessage.LstSupplier} */
|
|
2684
2708
|
lst_supplier(fn: (this: TaoMessageConsumer, message: IncomingMessage.LstSupplier) => void): TaoMessageConsumer;
|
|
2685
2709
|
/** {@link IncomingMessage.NiaochaoTccompass} */
|
|
@@ -3072,6 +3096,10 @@ declare interface TaoTopicsDescriptor {
|
|
|
3072
3096
|
jae(fn: (this: TaoMessageConsumer, message: IncomingMessage.Jae) => void): TaoMessageConsumer;
|
|
3073
3097
|
/** {@link IncomingMessage.Jym} */
|
|
3074
3098
|
jym(fn: (this: TaoMessageConsumer, message: IncomingMessage.Jym) => void): TaoMessageConsumer;
|
|
3099
|
+
/** {@link IncomingMessage.Lark} */
|
|
3100
|
+
lark(fn: (this: TaoMessageConsumer, message: IncomingMessage.Lark) => void): TaoMessageConsumer;
|
|
3101
|
+
/** {@link IncomingMessage.Lianfan} */
|
|
3102
|
+
lianfan(fn: (this: TaoMessageConsumer, message: IncomingMessage.Lianfan) => void): TaoMessageConsumer;
|
|
3075
3103
|
/** {@link IncomingMessage.Lst} */
|
|
3076
3104
|
lst(fn: (this: TaoMessageConsumer, message: IncomingMessage.Lst) => void): TaoMessageConsumer;
|
|
3077
3105
|
/** {@link IncomingMessage.Niaochao} */
|
|
@@ -3521,6 +3549,8 @@ declare interface TaoEventsListener {
|
|
|
3521
3549
|
on(topic: 'alibaba_nlife_InstorageDiffAuditNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeInstorageDiffAuditNotify) => void): TaoMessageConsumer;
|
|
3522
3550
|
/** {@link IncomingMessage.AlibabaNlifeItemUpdate 零售plus > 零售+商品变动消息} */
|
|
3523
3551
|
on(topic: 'alibaba_nlife_ItemUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlifeItemUpdate) => void): TaoMessageConsumer;
|
|
3552
|
+
/** {@link IncomingMessage.AlibabaOkkiSpuStatusSync 小满 > 小满商品服务状态同步} */
|
|
3553
|
+
on(topic: 'alibaba_okki_SpuStatusSync', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaOkkiSpuStatusSync) => void): TaoMessageConsumer;
|
|
3524
3554
|
/** {@link IncomingMessage.AlibabaPaimaiAlipayConsumeGoldTaskFinish 阿里拍卖 > 支付宝用户完成消费金任务} */
|
|
3525
3555
|
on(topic: 'alibaba_paimai_AlipayConsumeGoldTaskFinish', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPaimaiAlipayConsumeGoldTaskFinish) => void): TaoMessageConsumer;
|
|
3526
3556
|
/** {@link IncomingMessage.AlibabaPaimaiCommonPromoTask 阿里拍卖 > 拍卖支付宝营销通用消息} */
|
|
@@ -3825,6 +3855,10 @@ declare interface TaoEventsListener {
|
|
|
3825
3855
|
on(topic: 'alipay_update_Seller', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlipayUpdateSeller) => void): TaoMessageConsumer;
|
|
3826
3856
|
/** {@link IncomingMessage.AlipayXiaodaiSignNotify 阿里金融 > 阿里金融签约通知} */
|
|
3827
3857
|
on(topic: 'alipay_xiaodai_SignNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlipayXiaodaiSignNotify) => void): TaoMessageConsumer;
|
|
3858
|
+
/** {@link IncomingMessage.AlipicLarkJiayingDataReport ALIPIC > 佳影数据上云} */
|
|
3859
|
+
on(topic: 'alipic_lark_JiayingDataReport', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlipicLarkJiayingDataReport) => void): TaoMessageConsumer;
|
|
3860
|
+
/** {@link IncomingMessage.AlipicLarkResultDataDownlink ALIPIC > POS配置态数据增量下行} */
|
|
3861
|
+
on(topic: 'alipic_lark_ResultDataDownlink', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlipicLarkResultDataDownlink) => void): TaoMessageConsumer;
|
|
3828
3862
|
/** {@link IncomingMessage.AlipicLarkSchedulesDataDownlink ALIPIC > 排期列表数据增量下行} */
|
|
3829
3863
|
on(topic: 'alipic_lark_SchedulesDataDownlink', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlipicLarkSchedulesDataDownlink) => void): TaoMessageConsumer;
|
|
3830
3864
|
/** {@link IncomingMessage.AlisportsBankAlipayattention 支付宝体育 > 支付宝体育服务小程序关注消息} */
|
|
@@ -4193,6 +4227,12 @@ declare interface TaoEventsListener {
|
|
|
4193
4227
|
on(topic: 'jae_trade_PaidSuccessed', listener: (this: TaoMessageConsumer, message: IncomingMessage.JaeTradePaidSuccessed) => void): TaoMessageConsumer;
|
|
4194
4228
|
/** {@link IncomingMessage.JymOrderBoosterStatusChange 交易猫 > 交易猫代练订单状态变更} */
|
|
4195
4229
|
on(topic: 'jym_order_BoosterStatusChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.JymOrderBoosterStatusChange) => void): TaoMessageConsumer;
|
|
4230
|
+
/** {@link IncomingMessage.LarkTradePosTradeDataTransmit 云智POS > 云智POS离线交易信息同步} */
|
|
4231
|
+
on(topic: 'lark_trade_PosTradeDataTransmit', listener: (this: TaoMessageConsumer, message: IncomingMessage.LarkTradePosTradeDataTransmit) => void): TaoMessageConsumer;
|
|
4232
|
+
/** {@link IncomingMessage.LianfanHuiwaModelStateUpdate 连凡 > 绘蛙模型状态变更消息} */
|
|
4233
|
+
on(topic: 'lianfan_huiwa_ModelStateUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaModelStateUpdate) => void): TaoMessageConsumer;
|
|
4234
|
+
/** {@link IncomingMessage.LianfanHuiwaTaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息} */
|
|
4235
|
+
on(topic: 'lianfan_huiwa_TaskStateUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaTaskStateUpdate) => void): TaoMessageConsumer;
|
|
4196
4236
|
/** {@link IncomingMessage.LstSupplierBroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息} */
|
|
4197
4237
|
on(topic: 'lst_supplier_BroadcastFastRefundMessage', listener: (this: TaoMessageConsumer, message: IncomingMessage.LstSupplierBroadcastFastRefundMessage) => void): TaoMessageConsumer;
|
|
4198
4238
|
/** {@link IncomingMessage.LstSupplierFastRefundMessageCreate 零售通_公共 > 品牌商极速退款消息创建} */
|
|
@@ -5105,6 +5145,8 @@ declare interface TaoEventsListener {
|
|
|
5105
5145
|
on(topic: 'tmall_auto_TradeModify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallAutoTradeModify) => void): TaoMessageConsumer;
|
|
5106
5146
|
/** {@link IncomingMessage.TmallAutoTwoWheelsReceiptCreate 天猫汽车 > 天猫二轮车服务工单创建开放} */
|
|
5107
5147
|
on(topic: 'tmall_auto_TwoWheelsReceiptCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallAutoTwoWheelsReceiptCreate) => void): TaoMessageConsumer;
|
|
5148
|
+
/** {@link IncomingMessage.TmallCarAbnormalSettleSeller 天猫汽车 > 天猫汽车安装服务-异常商家上下线通知} */
|
|
5149
|
+
on(topic: 'tmall_car_AbnormalSettleSeller', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallCarAbnormalSettleSeller) => void): TaoMessageConsumer;
|
|
5108
5150
|
/** {@link IncomingMessage.TmallCarAliapayTelRedPacket 天猫汽车 > 天猫汽车-支付宝手机充值红包发放} */
|
|
5109
5151
|
on(topic: 'tmall_car_AliapayTelRedPacket', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallCarAliapayTelRedPacket) => void): TaoMessageConsumer;
|
|
5110
5152
|
/** {@link IncomingMessage.TmallCarAlipayEvent 天猫汽车 > 天猫汽车触发支付宝事件发奖} */
|
|
@@ -5137,6 +5179,8 @@ declare interface TaoEventsListener {
|
|
|
5137
5179
|
on(topic: 'tmall_fuwu_HomeDecorationSupplyRuleUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuHomeDecorationSupplyRuleUpdate) => void): TaoMessageConsumer;
|
|
5138
5180
|
/** {@link IncomingMessage.TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
|
|
5139
5181
|
on(topic: 'tmall_fuwu_LogisticsInfoMessage', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuLogisticsInfoMessage) => void): TaoMessageConsumer;
|
|
5182
|
+
/** {@link IncomingMessage.TmallFuwuNewAnomalyRecourseStatusUpdate 天猫服务 > 服务管控消息更新} */
|
|
5183
|
+
on(topic: 'tmall_fuwu_NewAnomalyRecourseStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuNewAnomalyRecourseStatusUpdate) => void): TaoMessageConsumer;
|
|
5140
5184
|
/** {@link IncomingMessage.TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
5141
5185
|
on(topic: 'tmall_fuwu_RateMessageTP', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallFuwuRateMessageTP) => void): TaoMessageConsumer;
|
|
5142
5186
|
/** {@link IncomingMessage.TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
@@ -5255,7 +5299,7 @@ declare interface TaoEventsListener {
|
|
|
5255
5299
|
on(topic: 'tmall_sasssign_Msg', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallSasssignMsg) => void): TaoMessageConsumer;
|
|
5256
5300
|
/** {@link IncomingMessage.TmallScmSendTmcsDistributeSettleFee 天猫 > 猫超经销结算打款消息} */
|
|
5257
5301
|
on(topic: 'tmall_scm_SendTmcsDistributeSettleFee', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallScmSendTmcsDistributeSettleFee) => void): TaoMessageConsumer;
|
|
5258
|
-
/** {@link IncomingMessage.TmallServiceCycleBillInvoice
|
|
5302
|
+
/** {@link IncomingMessage.TmallServiceCycleBillInvoice 天猫服务 > 服务结算账期账单发票消息} */
|
|
5259
5303
|
on(topic: 'tmall_service_CycleBillInvoice', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallServiceCycleBillInvoice) => void): TaoMessageConsumer;
|
|
5260
5304
|
/** {@link IncomingMessage.TmallServicecenterTaskUpdate 天猫服务 > 天猫服务平台工单更新} */
|
|
5261
5305
|
on(topic: 'tmall_servicecenter_TaskUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallServicecenterTaskUpdate) => void): TaoMessageConsumer;
|
|
@@ -5331,6 +5375,8 @@ declare interface TaoEventsListener {
|
|
|
5331
5375
|
on(topic: 'xianyu_appraise_OrderSyn', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuAppraiseOrderSyn) => void): TaoMessageConsumer;
|
|
5332
5376
|
/** {@link IncomingMessage.XianyuCarOrderStatusSync 闲鱼回收商消息 > 闲鱼二手车寄卖订单状态同步} */
|
|
5333
5377
|
on(topic: 'xianyu_car_OrderStatusSync', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCarOrderStatusSync) => void): TaoMessageConsumer;
|
|
5378
|
+
/** {@link IncomingMessage.XianyuCtoxCommissionStateSyn 闲鱼 > 闲鱼C2X抽佣退佣消息同步} */
|
|
5379
|
+
on(topic: 'xianyu_ctox_CommissionStateSyn', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCtoxCommissionStateSyn) => void): TaoMessageConsumer;
|
|
5334
5380
|
/** {@link IncomingMessage.XianyuCtoxPayDkChange 闲鱼 > c2x代扣协议变更通知} */
|
|
5335
5381
|
on(topic: 'xianyu_ctox_PayDkChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuCtoxPayDkChange) => void): TaoMessageConsumer;
|
|
5336
5382
|
/** {@link IncomingMessage.XianyuCtoxRateStateSyn 闲鱼 > c2x业务订单评价消息同步} */
|
|
@@ -5461,6 +5507,8 @@ declare interface TaoEventsListener {
|
|
|
5461
5507
|
on(topic: 'alibaba_newretail', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNewretail) => void): TaoMessageConsumer;
|
|
5462
5508
|
/** {@link IncomingMessage.AlibabaNlife} */
|
|
5463
5509
|
on(topic: 'alibaba_nlife', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaNlife) => void): TaoMessageConsumer;
|
|
5510
|
+
/** {@link IncomingMessage.AlibabaOkki} */
|
|
5511
|
+
on(topic: 'alibaba_okki', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaOkki) => void): TaoMessageConsumer;
|
|
5464
5512
|
/** {@link IncomingMessage.AlibabaPaimai} */
|
|
5465
5513
|
on(topic: 'alibaba_paimai', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaPaimai) => void): TaoMessageConsumer;
|
|
5466
5514
|
/** {@link IncomingMessage.AlibabaPur} */
|
|
@@ -5717,6 +5765,10 @@ declare interface TaoEventsListener {
|
|
|
5717
5765
|
on(topic: 'jae_trade', listener: (this: TaoMessageConsumer, message: IncomingMessage.JaeTrade) => void): TaoMessageConsumer;
|
|
5718
5766
|
/** {@link IncomingMessage.JymOrder} */
|
|
5719
5767
|
on(topic: 'jym_order', listener: (this: TaoMessageConsumer, message: IncomingMessage.JymOrder) => void): TaoMessageConsumer;
|
|
5768
|
+
/** {@link IncomingMessage.LarkTrade} */
|
|
5769
|
+
on(topic: 'lark_trade', listener: (this: TaoMessageConsumer, message: IncomingMessage.LarkTrade) => void): TaoMessageConsumer;
|
|
5770
|
+
/** {@link IncomingMessage.LianfanHuiwa} */
|
|
5771
|
+
on(topic: 'lianfan_huiwa', listener: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwa) => void): TaoMessageConsumer;
|
|
5720
5772
|
/** {@link IncomingMessage.LstSupplier} */
|
|
5721
5773
|
on(topic: 'lst_supplier', listener: (this: TaoMessageConsumer, message: IncomingMessage.LstSupplier) => void): TaoMessageConsumer;
|
|
5722
5774
|
/** {@link IncomingMessage.NiaochaoTccompass} */
|
|
@@ -6109,6 +6161,10 @@ declare interface TaoEventsListener {
|
|
|
6109
6161
|
on(topic: 'jae', listener: (this: TaoMessageConsumer, message: IncomingMessage.Jae) => void): TaoMessageConsumer;
|
|
6110
6162
|
/** {@link IncomingMessage.Jym} */
|
|
6111
6163
|
on(topic: 'jym', listener: (this: TaoMessageConsumer, message: IncomingMessage.Jym) => void): TaoMessageConsumer;
|
|
6164
|
+
/** {@link IncomingMessage.Lark} */
|
|
6165
|
+
on(topic: 'lark', listener: (this: TaoMessageConsumer, message: IncomingMessage.Lark) => void): TaoMessageConsumer;
|
|
6166
|
+
/** {@link IncomingMessage.Lianfan} */
|
|
6167
|
+
on(topic: 'lianfan', listener: (this: TaoMessageConsumer, message: IncomingMessage.Lianfan) => void): TaoMessageConsumer;
|
|
6112
6168
|
/** {@link IncomingMessage.Lst} */
|
|
6113
6169
|
on(topic: 'lst', listener: (this: TaoMessageConsumer, message: IncomingMessage.Lst) => void): TaoMessageConsumer;
|
|
6114
6170
|
/** {@link IncomingMessage.Niaochao} */
|
package/types/lark.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** 云智POS */
|
|
2
|
+
declare namespace Lark.Trade {
|
|
3
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2547&docType=9 云智POS离线交易信息同步} */
|
|
4
|
+
interface PosTradeDataTransmit {
|
|
5
|
+
/** 消息业务ID */
|
|
6
|
+
pos_bus_data_id: string;
|
|
7
|
+
/** 消息主体 */
|
|
8
|
+
pos_bus_result_data: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** 连凡 */
|
|
2
|
+
declare namespace Lianfan.Huiwa {
|
|
3
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2561&docType=9 绘蛙模型状态变更消息} */
|
|
4
|
+
interface ModelStateUpdate {
|
|
5
|
+
/** 模型id */
|
|
6
|
+
model_id: number;
|
|
7
|
+
/** 模型状态 */
|
|
8
|
+
model_status: number;
|
|
9
|
+
/** 模型类型 */
|
|
10
|
+
model_type: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2559&docType=9 绘蛙生图任务状态变更消息} */
|
|
14
|
+
interface TaskStateUpdate {
|
|
15
|
+
/** 主任务id */
|
|
16
|
+
main_task_id: number;
|
|
17
|
+
/** 扩展字段 */
|
|
18
|
+
pass_through?: string;
|
|
19
|
+
/** 任务类型 */
|
|
20
|
+
task_biz_type: number;
|
|
21
|
+
/** 任务id */
|
|
22
|
+
task_id: number;
|
|
23
|
+
/** 任务状态 */
|
|
24
|
+
task_status: number;
|
|
25
|
+
}
|
|
26
|
+
}
|
package/types/message.in.d.ts
CHANGED
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
/// <reference path="intime.d.ts" />
|
|
31
31
|
/// <reference path="jae.d.ts" />
|
|
32
32
|
/// <reference path="jym.d.ts" />
|
|
33
|
+
/// <reference path="lark.d.ts" />
|
|
34
|
+
/// <reference path="lianfan.d.ts" />
|
|
33
35
|
/// <reference path="lst.d.ts" />
|
|
34
36
|
/// <reference path="niaochao.d.ts" />
|
|
35
37
|
/// <reference path="taobao.d.ts" />
|
|
@@ -465,6 +467,8 @@ declare namespace IncomingMessage {
|
|
|
465
467
|
type AlibabaNlifeInstorageDiffAuditNotify = Message & { content?: MessageContent & { topic?: 'alibaba_nlife_InstorageDiffAuditNotify', content?: string | Alibaba.Nlife.InstorageDiffAuditNotify } };
|
|
466
468
|
/** {@link Alibaba.Nlife.ItemUpdate 零售plus > 零售+商品变动消息} */
|
|
467
469
|
type AlibabaNlifeItemUpdate = Message & { content?: MessageContent & { topic?: 'alibaba_nlife_ItemUpdate', content?: string | Alibaba.Nlife.ItemUpdate } };
|
|
470
|
+
/** {@link Alibaba.Okki.SpuStatusSync 小满 > 小满商品服务状态同步} */
|
|
471
|
+
type AlibabaOkkiSpuStatusSync = Message & { content?: MessageContent & { topic?: 'alibaba_okki_SpuStatusSync', content?: string | Alibaba.Okki.SpuStatusSync } };
|
|
468
472
|
/** {@link Alibaba.Paimai.AlipayConsumeGoldTaskFinish 阿里拍卖 > 支付宝用户完成消费金任务} */
|
|
469
473
|
type AlibabaPaimaiAlipayConsumeGoldTaskFinish = Message & { content?: MessageContent & { topic?: 'alibaba_paimai_AlipayConsumeGoldTaskFinish', content?: string | Alibaba.Paimai.AlipayConsumeGoldTaskFinish } };
|
|
470
474
|
/** {@link Alibaba.Paimai.CommonPromoTask 阿里拍卖 > 拍卖支付宝营销通用消息} */
|
|
@@ -769,6 +773,10 @@ declare namespace IncomingMessage {
|
|
|
769
773
|
type AlipayUpdateSeller = Message & { content?: MessageContent & { topic?: 'alipay_update_Seller', content?: string | Alipay.Update.Seller } };
|
|
770
774
|
/** {@link Alipay.Xiaodai.SignNotify 阿里金融 > 阿里金融签约通知} */
|
|
771
775
|
type AlipayXiaodaiSignNotify = Message & { content?: MessageContent & { topic?: 'alipay_xiaodai_SignNotify', content?: string | Alipay.Xiaodai.SignNotify } };
|
|
776
|
+
/** {@link Alipic.Lark.JiayingDataReport ALIPIC > 佳影数据上云} */
|
|
777
|
+
type AlipicLarkJiayingDataReport = Message & { content?: MessageContent & { topic?: 'alipic_lark_JiayingDataReport', content?: string | Alipic.Lark.JiayingDataReport } };
|
|
778
|
+
/** {@link Alipic.Lark.ResultDataDownlink ALIPIC > POS配置态数据增量下行} */
|
|
779
|
+
type AlipicLarkResultDataDownlink = Message & { content?: MessageContent & { topic?: 'alipic_lark_ResultDataDownlink', content?: string | Alipic.Lark.ResultDataDownlink } };
|
|
772
780
|
/** {@link Alipic.Lark.SchedulesDataDownlink ALIPIC > 排期列表数据增量下行} */
|
|
773
781
|
type AlipicLarkSchedulesDataDownlink = Message & { content?: MessageContent & { topic?: 'alipic_lark_SchedulesDataDownlink', content?: string | Alipic.Lark.SchedulesDataDownlink } };
|
|
774
782
|
/** {@link Alisports.Bank.Alipayattention 支付宝体育 > 支付宝体育服务小程序关注消息} */
|
|
@@ -1137,6 +1145,12 @@ declare namespace IncomingMessage {
|
|
|
1137
1145
|
type JaeTradePaidSuccessed = Message & { content?: MessageContent & { topic?: 'jae_trade_PaidSuccessed', content?: string | Jae.Trade.PaidSuccessed } };
|
|
1138
1146
|
/** {@link Jym.Order.BoosterStatusChange 交易猫 > 交易猫代练订单状态变更} */
|
|
1139
1147
|
type JymOrderBoosterStatusChange = Message & { content?: MessageContent & { topic?: 'jym_order_BoosterStatusChange', content?: string | Jym.Order.BoosterStatusChange } };
|
|
1148
|
+
/** {@link Lark.Trade.PosTradeDataTransmit 云智POS > 云智POS离线交易信息同步} */
|
|
1149
|
+
type LarkTradePosTradeDataTransmit = Message & { content?: MessageContent & { topic?: 'lark_trade_PosTradeDataTransmit', content?: string | Lark.Trade.PosTradeDataTransmit } };
|
|
1150
|
+
/** {@link Lianfan.Huiwa.ModelStateUpdate 连凡 > 绘蛙模型状态变更消息} */
|
|
1151
|
+
type LianfanHuiwaModelStateUpdate = Message & { content?: MessageContent & { topic?: 'lianfan_huiwa_ModelStateUpdate', content?: string | Lianfan.Huiwa.ModelStateUpdate } };
|
|
1152
|
+
/** {@link Lianfan.Huiwa.TaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息} */
|
|
1153
|
+
type LianfanHuiwaTaskStateUpdate = Message & { content?: MessageContent & { topic?: 'lianfan_huiwa_TaskStateUpdate', content?: string | Lianfan.Huiwa.TaskStateUpdate } };
|
|
1140
1154
|
/** {@link Lst.Supplier.BroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息} */
|
|
1141
1155
|
type LstSupplierBroadcastFastRefundMessage = Message & { content?: MessageContent & { topic?: 'lst_supplier_BroadcastFastRefundMessage', content?: string | Lst.Supplier.BroadcastFastRefundMessage } };
|
|
1142
1156
|
/** {@link Lst.Supplier.FastRefundMessageCreate 零售通_公共 > 品牌商极速退款消息创建} */
|
|
@@ -2049,6 +2063,8 @@ declare namespace IncomingMessage {
|
|
|
2049
2063
|
type TmallAutoTradeModify = Message & { content?: MessageContent & { topic?: 'tmall_auto_TradeModify', content?: string | Tmall.Auto.TradeModify } };
|
|
2050
2064
|
/** {@link Tmall.Auto.TwoWheelsReceiptCreate 天猫汽车 > 天猫二轮车服务工单创建开放} */
|
|
2051
2065
|
type TmallAutoTwoWheelsReceiptCreate = Message & { content?: MessageContent & { topic?: 'tmall_auto_TwoWheelsReceiptCreate', content?: string | Tmall.Auto.TwoWheelsReceiptCreate } };
|
|
2066
|
+
/** {@link Tmall.Car.AbnormalSettleSeller 天猫汽车 > 天猫汽车安装服务-异常商家上下线通知} */
|
|
2067
|
+
type TmallCarAbnormalSettleSeller = Message & { content?: MessageContent & { topic?: 'tmall_car_AbnormalSettleSeller', content?: string | Tmall.Car.AbnormalSettleSeller } };
|
|
2052
2068
|
/** {@link Tmall.Car.AliapayTelRedPacket 天猫汽车 > 天猫汽车-支付宝手机充值红包发放} */
|
|
2053
2069
|
type TmallCarAliapayTelRedPacket = Message & { content?: MessageContent & { topic?: 'tmall_car_AliapayTelRedPacket', content?: string | Tmall.Car.AliapayTelRedPacket } };
|
|
2054
2070
|
/** {@link Tmall.Car.AlipayEvent 天猫汽车 > 天猫汽车触发支付宝事件发奖} */
|
|
@@ -2081,6 +2097,8 @@ declare namespace IncomingMessage {
|
|
|
2081
2097
|
type TmallFuwuHomeDecorationSupplyRuleUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_HomeDecorationSupplyRuleUpdate', content?: string | Tmall.Fuwu.HomeDecorationSupplyRuleUpdate } };
|
|
2082
2098
|
/** {@link Tmall.Fuwu.LogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息} */
|
|
2083
2099
|
type TmallFuwuLogisticsInfoMessage = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_LogisticsInfoMessage', content?: string | Tmall.Fuwu.LogisticsInfoMessage } };
|
|
2100
|
+
/** {@link Tmall.Fuwu.NewAnomalyRecourseStatusUpdate 天猫服务 > 服务管控消息更新} */
|
|
2101
|
+
type TmallFuwuNewAnomalyRecourseStatusUpdate = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_NewAnomalyRecourseStatusUpdate', content?: string | Tmall.Fuwu.NewAnomalyRecourseStatusUpdate } };
|
|
2084
2102
|
/** {@link Tmall.Fuwu.RateMessageTP 天猫服务 > 消费者评价成功top消息} */
|
|
2085
2103
|
type TmallFuwuRateMessageTP = Message & { content?: MessageContent & { topic?: 'tmall_fuwu_RateMessageTP', content?: string | Tmall.Fuwu.RateMessageTP } };
|
|
2086
2104
|
/** {@link Tmall.Fuwu.ServiceItemUpdate 天猫服务 > 服务商品信息变更消息} */
|
|
@@ -2199,7 +2217,7 @@ declare namespace IncomingMessage {
|
|
|
2199
2217
|
type TmallSasssignMsg = Message & { content?: MessageContent & { topic?: 'tmall_sasssign_Msg', content?: string | Tmall.Sasssign.Msg } };
|
|
2200
2218
|
/** {@link Tmall.Scm.SendTmcsDistributeSettleFee 天猫 > 猫超经销结算打款消息} */
|
|
2201
2219
|
type TmallScmSendTmcsDistributeSettleFee = Message & { content?: MessageContent & { topic?: 'tmall_scm_SendTmcsDistributeSettleFee', content?: string | Tmall.Scm.SendTmcsDistributeSettleFee } };
|
|
2202
|
-
/** {@link Tmall.Service.CycleBillInvoice
|
|
2220
|
+
/** {@link Tmall.Service.CycleBillInvoice 天猫服务 > 服务结算账期账单发票消息} */
|
|
2203
2221
|
type TmallServiceCycleBillInvoice = Message & { content?: MessageContent & { topic?: 'tmall_service_CycleBillInvoice', content?: string | Tmall.Service.CycleBillInvoice } };
|
|
2204
2222
|
/** {@link Tmall.Servicecenter.TaskUpdate 天猫服务 > 天猫服务平台工单更新} */
|
|
2205
2223
|
type TmallServicecenterTaskUpdate = Message & { content?: MessageContent & { topic?: 'tmall_servicecenter_TaskUpdate', content?: string | Tmall.Servicecenter.TaskUpdate } };
|
|
@@ -2275,6 +2293,8 @@ declare namespace IncomingMessage {
|
|
|
2275
2293
|
type XianyuAppraiseOrderSyn = Message & { content?: MessageContent & { topic?: 'xianyu_appraise_OrderSyn', content?: string | Xianyu.Appraise.OrderSyn } };
|
|
2276
2294
|
/** {@link Xianyu.Car.OrderStatusSync 闲鱼回收商消息 > 闲鱼二手车寄卖订单状态同步} */
|
|
2277
2295
|
type XianyuCarOrderStatusSync = Message & { content?: MessageContent & { topic?: 'xianyu_car_OrderStatusSync', content?: string | Xianyu.Car.OrderStatusSync } };
|
|
2296
|
+
/** {@link Xianyu.Ctox.CommissionStateSyn 闲鱼 > 闲鱼C2X抽佣退佣消息同步} */
|
|
2297
|
+
type XianyuCtoxCommissionStateSyn = Message & { content?: MessageContent & { topic?: 'xianyu_ctox_CommissionStateSyn', content?: string | Xianyu.Ctox.CommissionStateSyn } };
|
|
2278
2298
|
/** {@link Xianyu.Ctox.PayDkChange 闲鱼 > c2x代扣协议变更通知} */
|
|
2279
2299
|
type XianyuCtoxPayDkChange = Message & { content?: MessageContent & { topic?: 'xianyu_ctox_PayDkChange', content?: string | Xianyu.Ctox.PayDkChange } };
|
|
2280
2300
|
/** {@link Xianyu.Ctox.RateStateSyn 闲鱼 > c2x业务订单评价消息同步} */
|
|
@@ -2825,6 +2845,10 @@ declare namespace IncomingMessage {
|
|
|
2825
2845
|
| AlibabaNlifeBtobTradeRefundNotify
|
|
2826
2846
|
| AlibabaNlifeInstorageDiffAuditNotify
|
|
2827
2847
|
| AlibabaNlifeItemUpdate;
|
|
2848
|
+
/**
|
|
2849
|
+
* - {@link AlibabaOkkiSpuStatusSync 小满 > 小满商品服务状态同步}
|
|
2850
|
+
*/
|
|
2851
|
+
type AlibabaOkki = AlibabaOkkiSpuStatusSync;
|
|
2828
2852
|
/**
|
|
2829
2853
|
* - {@link AlibabaPaimaiAlipayConsumeGoldTaskFinish 阿里拍卖 > 支付宝用户完成消费金任务}
|
|
2830
2854
|
* - {@link AlibabaPaimaiCommonPromoTask 阿里拍卖 > 拍卖支付宝营销通用消息}
|
|
@@ -3222,9 +3246,13 @@ declare namespace IncomingMessage {
|
|
|
3222
3246
|
*/
|
|
3223
3247
|
type AlipayXiaodai = AlipayXiaodaiSignNotify;
|
|
3224
3248
|
/**
|
|
3249
|
+
* - {@link AlipicLarkJiayingDataReport ALIPIC > 佳影数据上云}
|
|
3250
|
+
* - {@link AlipicLarkResultDataDownlink ALIPIC > POS配置态数据增量下行}
|
|
3225
3251
|
* - {@link AlipicLarkSchedulesDataDownlink ALIPIC > 排期列表数据增量下行}
|
|
3226
3252
|
*/
|
|
3227
|
-
type AlipicLark =
|
|
3253
|
+
type AlipicLark = AlipicLarkJiayingDataReport
|
|
3254
|
+
| AlipicLarkResultDataDownlink
|
|
3255
|
+
| AlipicLarkSchedulesDataDownlink;
|
|
3228
3256
|
/**
|
|
3229
3257
|
* - {@link AlisportsBankAlipayattention 支付宝体育 > 支付宝体育服务小程序关注消息}
|
|
3230
3258
|
*/
|
|
@@ -3753,6 +3781,16 @@ declare namespace IncomingMessage {
|
|
|
3753
3781
|
* - {@link JymOrderBoosterStatusChange 交易猫 > 交易猫代练订单状态变更}
|
|
3754
3782
|
*/
|
|
3755
3783
|
type JymOrder = JymOrderBoosterStatusChange;
|
|
3784
|
+
/**
|
|
3785
|
+
* - {@link LarkTradePosTradeDataTransmit 云智POS > 云智POS离线交易信息同步}
|
|
3786
|
+
*/
|
|
3787
|
+
type LarkTrade = LarkTradePosTradeDataTransmit;
|
|
3788
|
+
/**
|
|
3789
|
+
* - {@link LianfanHuiwaModelStateUpdate 连凡 > 绘蛙模型状态变更消息}
|
|
3790
|
+
* - {@link LianfanHuiwaTaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息}
|
|
3791
|
+
*/
|
|
3792
|
+
type LianfanHuiwa = LianfanHuiwaModelStateUpdate
|
|
3793
|
+
| LianfanHuiwaTaskStateUpdate;
|
|
3756
3794
|
/**
|
|
3757
3795
|
* - {@link LstSupplierBroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息}
|
|
3758
3796
|
* - {@link LstSupplierFastRefundMessageCreate 零售通_公共 > 品牌商极速退款消息创建}
|
|
@@ -4892,13 +4930,15 @@ declare namespace IncomingMessage {
|
|
|
4892
4930
|
| TmallAutoTradeModify
|
|
4893
4931
|
| TmallAutoTwoWheelsReceiptCreate;
|
|
4894
4932
|
/**
|
|
4933
|
+
* - {@link TmallCarAbnormalSettleSeller 天猫汽车 > 天猫汽车安装服务-异常商家上下线通知}
|
|
4895
4934
|
* - {@link TmallCarAliapayTelRedPacket 天猫汽车 > 天猫汽车-支付宝手机充值红包发放}
|
|
4896
4935
|
* - {@link TmallCarAlipayEvent 天猫汽车 > 天猫汽车触发支付宝事件发奖}
|
|
4897
4936
|
* - {@link TmallCarContractSign 天猫汽车 > 合同签署消息}
|
|
4898
4937
|
* - {@link TmallCarFinanceMsg 天猫汽车 > 汽车金融消息}
|
|
4899
4938
|
* - {@link TmallCarTelCoupon 天猫汽车 > 天猫汽车特惠充}
|
|
4900
4939
|
*/
|
|
4901
|
-
type TmallCar =
|
|
4940
|
+
type TmallCar = TmallCarAbnormalSettleSeller
|
|
4941
|
+
| TmallCarAliapayTelRedPacket
|
|
4902
4942
|
| TmallCarAlipayEvent
|
|
4903
4943
|
| TmallCarContractSign
|
|
4904
4944
|
| TmallCarFinanceMsg
|
|
@@ -4924,6 +4964,7 @@ declare namespace IncomingMessage {
|
|
|
4924
4964
|
* - {@link TmallFuwuElectricWarrantyCodeStatusUpdate 天猫服务 > 天猫服务消电保修码状态变更}
|
|
4925
4965
|
* - {@link TmallFuwuHomeDecorationSupplyRuleUpdate 天猫服务 > 天猫服务家装优质供给规则变更}
|
|
4926
4966
|
* - {@link TmallFuwuLogisticsInfoMessage 天猫服务 > 服务供应链物流业务消息}
|
|
4967
|
+
* - {@link TmallFuwuNewAnomalyRecourseStatusUpdate 天猫服务 > 服务管控消息更新}
|
|
4927
4968
|
* - {@link TmallFuwuRateMessageTP 天猫服务 > 消费者评价成功top消息}
|
|
4928
4969
|
* - {@link TmallFuwuServiceItemUpdate 天猫服务 > 服务商品信息变更消息}
|
|
4929
4970
|
* - {@link TmallFuwuServiceMonitorMessage 天猫服务 > 服务预警消息}
|
|
@@ -4941,6 +4982,7 @@ declare namespace IncomingMessage {
|
|
|
4941
4982
|
| TmallFuwuElectricWarrantyCodeStatusUpdate
|
|
4942
4983
|
| TmallFuwuHomeDecorationSupplyRuleUpdate
|
|
4943
4984
|
| TmallFuwuLogisticsInfoMessage
|
|
4985
|
+
| TmallFuwuNewAnomalyRecourseStatusUpdate
|
|
4944
4986
|
| TmallFuwuRateMessageTP
|
|
4945
4987
|
| TmallFuwuServiceItemUpdate
|
|
4946
4988
|
| TmallFuwuServiceMonitorMessage
|
|
@@ -5080,7 +5122,7 @@ declare namespace IncomingMessage {
|
|
|
5080
5122
|
*/
|
|
5081
5123
|
type TmallScm = TmallScmSendTmcsDistributeSettleFee;
|
|
5082
5124
|
/**
|
|
5083
|
-
* - {@link TmallServiceCycleBillInvoice
|
|
5125
|
+
* - {@link TmallServiceCycleBillInvoice 天猫服务 > 服务结算账期账单发票消息}
|
|
5084
5126
|
*/
|
|
5085
5127
|
type TmallService = TmallServiceCycleBillInvoice;
|
|
5086
5128
|
/**
|
|
@@ -5198,10 +5240,12 @@ declare namespace IncomingMessage {
|
|
|
5198
5240
|
*/
|
|
5199
5241
|
type XianyuCar = XianyuCarOrderStatusSync;
|
|
5200
5242
|
/**
|
|
5243
|
+
* - {@link XianyuCtoxCommissionStateSyn 闲鱼 > 闲鱼C2X抽佣退佣消息同步}
|
|
5201
5244
|
* - {@link XianyuCtoxPayDkChange 闲鱼 > c2x代扣协议变更通知}
|
|
5202
5245
|
* - {@link XianyuCtoxRateStateSyn 闲鱼 > c2x业务订单评价消息同步}
|
|
5203
5246
|
*/
|
|
5204
|
-
type XianyuCtox =
|
|
5247
|
+
type XianyuCtox = XianyuCtoxCommissionStateSyn
|
|
5248
|
+
| XianyuCtoxPayDkChange
|
|
5205
5249
|
| XianyuCtoxRateStateSyn;
|
|
5206
5250
|
/**
|
|
5207
5251
|
* - {@link XianyuEnvironmentEventSyn 闲鱼 > 闲鱼双11公益游戏任务事件同步}
|
|
@@ -5311,6 +5355,7 @@ declare namespace IncomingMessage {
|
|
|
5311
5355
|
* - {@link AlibabaNazca}
|
|
5312
5356
|
* - {@link AlibabaNewretail}
|
|
5313
5357
|
* - {@link AlibabaNlife}
|
|
5358
|
+
* - {@link AlibabaOkki}
|
|
5314
5359
|
* - {@link AlibabaPaimai}
|
|
5315
5360
|
* - {@link AlibabaPur}
|
|
5316
5361
|
* - {@link AlibabaServiceplatform}
|
|
@@ -5376,6 +5421,7 @@ declare namespace IncomingMessage {
|
|
|
5376
5421
|
| AlibabaNazca
|
|
5377
5422
|
| AlibabaNewretail
|
|
5378
5423
|
| AlibabaNlife
|
|
5424
|
+
| AlibabaOkki
|
|
5379
5425
|
| AlibabaPaimai
|
|
5380
5426
|
| AlibabaPur
|
|
5381
5427
|
| AlibabaServiceplatform
|
|
@@ -5669,6 +5715,14 @@ declare namespace IncomingMessage {
|
|
|
5669
5715
|
* - {@link JymOrder}
|
|
5670
5716
|
*/
|
|
5671
5717
|
type Jym = JymOrder;
|
|
5718
|
+
/**
|
|
5719
|
+
* - {@link LarkTrade}
|
|
5720
|
+
*/
|
|
5721
|
+
type Lark = LarkTrade;
|
|
5722
|
+
/**
|
|
5723
|
+
* - {@link LianfanHuiwa}
|
|
5724
|
+
*/
|
|
5725
|
+
type Lianfan = LianfanHuiwa;
|
|
5672
5726
|
/**
|
|
5673
5727
|
* - {@link LstSupplier}
|
|
5674
5728
|
*/
|
package/types/taobao.d.ts
CHANGED
|
@@ -5849,6 +5849,8 @@ declare namespace Taobao.Trade {
|
|
|
5849
5849
|
|
|
5850
5850
|
/** {@link https://open.taobao.com/tmc.htm?docId=113&docType=9 交易备注修改消息} */
|
|
5851
5851
|
interface TradeMemoModified {
|
|
5852
|
+
/** buyer:更新买家备注,seller:更新卖家备注,other:其他 */
|
|
5853
|
+
action_type: string;
|
|
5852
5854
|
/** 买家昵称 */
|
|
5853
5855
|
buyer_nick: string;
|
|
5854
5856
|
/** 由buyer_id加密, 可对外开放, 用来替换buyer_nick作为唯一标识 */
|
package/types/tmall.d.ts
CHANGED
|
@@ -48,6 +48,20 @@ declare namespace Tmall.Auto {
|
|
|
48
48
|
|
|
49
49
|
/** 天猫汽车 */
|
|
50
50
|
declare namespace Tmall.Car {
|
|
51
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2562&docType=9 天猫汽车安装服务-异常商家上下线通知} */
|
|
52
|
+
interface AbnormalSettleSeller {
|
|
53
|
+
/** 业务身份 */
|
|
54
|
+
biz_code: string;
|
|
55
|
+
/** 业务id */
|
|
56
|
+
biz_id: string;
|
|
57
|
+
/** 下线原因 */
|
|
58
|
+
offline_reason: string;
|
|
59
|
+
/** 商家昵称 */
|
|
60
|
+
process_seller_nick: string;
|
|
61
|
+
/** 处理状态:0:下线;1:上线 */
|
|
62
|
+
process_status: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
51
65
|
/** {@link https://open.taobao.com/tmc.htm?docId=2457&docType=9 天猫汽车-支付宝手机充值红包发放} */
|
|
52
66
|
interface AliapayTelRedPacket {
|
|
53
67
|
/** 业务id */
|
|
@@ -227,6 +241,16 @@ declare namespace Tmall.Fuwu {
|
|
|
227
241
|
stage_type: string;
|
|
228
242
|
}
|
|
229
243
|
|
|
244
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2560&docType=9 服务管控消息更新} */
|
|
245
|
+
interface NewAnomalyRecourseStatusUpdate {
|
|
246
|
+
/** 一键求助单id */
|
|
247
|
+
anomaly_recourse_id: number;
|
|
248
|
+
/** 状态 1:求助中;2完结(已核销) */
|
|
249
|
+
status: number;
|
|
250
|
+
/** 催促次数,如:3表示催促3次 */
|
|
251
|
+
urges_number: number;
|
|
252
|
+
}
|
|
253
|
+
|
|
230
254
|
/** {@link https://open.taobao.com/tmc.htm?docId=2409&docType=9 消费者评价成功top消息} */
|
|
231
255
|
interface RateMessageTP {
|
|
232
256
|
/** 单据类型 */
|
|
@@ -1041,7 +1065,7 @@ declare namespace Tmall.Scm {
|
|
|
1041
1065
|
}
|
|
1042
1066
|
}
|
|
1043
1067
|
|
|
1044
|
-
/**
|
|
1068
|
+
/** 天猫服务 */
|
|
1045
1069
|
declare namespace Tmall.Service {
|
|
1046
1070
|
/** {@link https://open.taobao.com/tmc.htm?docId=2542&docType=9 服务结算账期账单发票消息} */
|
|
1047
1071
|
interface CycleBillInvoice {
|
|
@@ -1050,15 +1074,17 @@ declare namespace Tmall.Service {
|
|
|
1050
1074
|
/** 账期 */
|
|
1051
1075
|
bill_cycle: string;
|
|
1052
1076
|
/** 账单ID */
|
|
1053
|
-
bill_id:
|
|
1077
|
+
bill_id: number;
|
|
1054
1078
|
/** 不含税金额 元 */
|
|
1055
1079
|
excluding_tax_amount: string;
|
|
1056
1080
|
/** 发票错误信息 */
|
|
1057
1081
|
invoice_error_info?: string;
|
|
1058
|
-
/** 发票状态 */
|
|
1082
|
+
/** 发票状态 NOT_EXISTS 未上传; NOT_PARSED 待解析; PARSING 解析中; PARSE_FAILED 解析失败 (需重新上传); PARSE_SUCCESS 解析成功; PARSE_INFO_NOT_MATCH 发票信息不匹配(需重新上传); CHECKING 发票验真中; CHECK_FAILED 发票验真不通过(需重新上传); CHECK_PASS 发票验真通过; ATTACHING 发票匹配中; ATTACHED 发票匹配完成; ATTACHE_FAILED 发票匹配失败(需人工处理); ACCEPTED 发票接收完成; */
|
|
1059
1083
|
invoice_status?: string;
|
|
1060
1084
|
/** 税额 元 */
|
|
1061
1085
|
tax_amount: string;
|
|
1086
|
+
/** 税率 */
|
|
1087
|
+
tax_rate: string;
|
|
1062
1088
|
}
|
|
1063
1089
|
}
|
|
1064
1090
|
|
package/types/xianyu.d.ts
CHANGED
|
@@ -45,6 +45,22 @@ declare namespace Xianyu.Car {
|
|
|
45
45
|
|
|
46
46
|
/** 闲鱼 */
|
|
47
47
|
declare namespace Xianyu.Ctox {
|
|
48
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2564&docType=9 闲鱼C2X抽佣退佣消息同步} */
|
|
49
|
+
interface CommissionStateSyn {
|
|
50
|
+
/** 订单id */
|
|
51
|
+
biz_order_id: string;
|
|
52
|
+
/** 11-抽佣帮卖卖家单;12-抽佣:帮卖买家服务费单;21-退佣:帮卖售后 */
|
|
53
|
+
biz_type: string;
|
|
54
|
+
/** 成交金额,单位分 */
|
|
55
|
+
deal_price: string;
|
|
56
|
+
/** 佣金,单位分 */
|
|
57
|
+
fee_commission: string;
|
|
58
|
+
/** 0-正向抽佣;1-逆向退佣 */
|
|
59
|
+
fee_type: string;
|
|
60
|
+
/** 服务费,单位分 */
|
|
61
|
+
service_fee: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
48
64
|
/** {@link https://open.taobao.com/tmc.htm?docId=2535&docType=9 c2x代扣协议变更通知} */
|
|
49
65
|
interface PayDkChange {
|
|
50
66
|
/** 主订单(保卖订单等) */
|