From 815449cb567ffae00662702148896b5b6f4a5968 Mon Sep 17 00:00:00 2001 From: TheNorthMemory Date: Sat, 27 Apr 2024 14:47:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E7=8C=AB=E6=9C=8D=E5=8A=A1=20>=20?= =?UTF-8?q?=E8=9A=81=E5=B7=A2=E5=B7=A5=E5=8D=95=E6=9B=B4=E6=96=B0=E6=B6=88?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- types/index.d.ts | 4 ++-- types/message.in.d.ts | 4 ++-- types/tmall.d.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 02e93b9..49bffac 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false }) ## 支持的TOPICS -
共计 84+ 类别,500+ 消息数 +
共计 84+ 类别,501+ 消息数 | 类别 | 消息数 | | --- | --- | @@ -150,7 +150,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false }) | 导购平台 | 21 | | 淘宝汽车票 | 4 | | 服务市场 | 9 | -| 天猫服务 | 26 | +| 天猫服务 | 27 | | 天猫美妆 | 2 | | 聚石塔 | 9 | | 淘宝物流 | 1 | diff --git a/types/index.d.ts b/types/index.d.ts index fa01127..635de96 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -2240,7 +2240,7 @@ declare interface TaoTopicsDescriptor { tmall_xf_FutureOrders(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallXfFutureOrders) => void): TaoMessageConsumer; /** {@link IncomingMessage.TmallXfGoodsInfo 天猫 > 天猫鞋服货品信息回流} */ tmall_xf_GoodsInfo(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallXfGoodsInfo) => void): TaoMessageConsumer; - /** {@link IncomingMessage.TmallYichaoWorkcardStatusUpdate 蚁巢 > 蚁巢工单更新消息} */ + /** {@link IncomingMessage.TmallYichaoWorkcardStatusUpdate 天猫服务 > 蚁巢工单更新消息} */ tmall_yichao_WorkcardStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallYichaoWorkcardStatusUpdate) => void): TaoMessageConsumer; /** {@link IncomingMessage.TmallYougouItemChange 天猫 > 天猫优购商品变更} */ tmall_yougou_ItemChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.TmallYougouItemChange) => void): TaoMessageConsumer; @@ -5255,7 +5255,7 @@ declare interface TaoEventsListener { on(topic: 'tmall_xf_FutureOrders', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallXfFutureOrders) => void): TaoMessageConsumer; /** {@link IncomingMessage.TmallXfGoodsInfo 天猫 > 天猫鞋服货品信息回流} */ on(topic: 'tmall_xf_GoodsInfo', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallXfGoodsInfo) => void): TaoMessageConsumer; - /** {@link IncomingMessage.TmallYichaoWorkcardStatusUpdate 蚁巢 > 蚁巢工单更新消息} */ + /** {@link IncomingMessage.TmallYichaoWorkcardStatusUpdate 天猫服务 > 蚁巢工单更新消息} */ on(topic: 'tmall_yichao_WorkcardStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallYichaoWorkcardStatusUpdate) => void): TaoMessageConsumer; /** {@link IncomingMessage.TmallYougouItemChange 天猫 > 天猫优购商品变更} */ on(topic: 'tmall_yougou_ItemChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.TmallYougouItemChange) => void): TaoMessageConsumer; diff --git a/types/message.in.d.ts b/types/message.in.d.ts index d2dd929..0eb9d4e 100644 --- a/types/message.in.d.ts +++ b/types/message.in.d.ts @@ -2220,7 +2220,7 @@ declare namespace IncomingMessage { type TmallXfFutureOrders = Message & { content?: MessageContent & { topic?: 'tmall_xf_FutureOrders', content?: string | Tmall.Xf.FutureOrders } }; /** {@link Tmall.Xf.GoodsInfo 天猫 > 天猫鞋服货品信息回流} */ type TmallXfGoodsInfo = Message & { content?: MessageContent & { topic?: 'tmall_xf_GoodsInfo', content?: string | Tmall.Xf.GoodsInfo } }; - /** {@link Tmall.Yichao.WorkcardStatusUpdate 蚁巢 > 蚁巢工单更新消息} */ + /** {@link Tmall.Yichao.WorkcardStatusUpdate 天猫服务 > 蚁巢工单更新消息} */ type TmallYichaoWorkcardStatusUpdate = Message & { content?: MessageContent & { topic?: 'tmall_yichao_WorkcardStatusUpdate', content?: string | Tmall.Yichao.WorkcardStatusUpdate } }; /** {@link Tmall.Yougou.ItemChange 天猫 > 天猫优购商品变更} */ type TmallYougouItemChange = Message & { content?: MessageContent & { topic?: 'tmall_yougou_ItemChange', content?: string | Tmall.Yougou.ItemChange } }; @@ -5097,7 +5097,7 @@ declare namespace IncomingMessage { type TmallXf = TmallXfFutureOrders | TmallXfGoodsInfo; /** - * - {@link TmallYichaoWorkcardStatusUpdate 蚁巢 > 蚁巢工单更新消息} + * - {@link TmallYichaoWorkcardStatusUpdate 天猫服务 > 蚁巢工单更新消息} */ type TmallYichao = TmallYichaoWorkcardStatusUpdate; /** diff --git a/types/tmall.d.ts b/types/tmall.d.ts index 975a953..5e72987 100644 --- a/types/tmall.d.ts +++ b/types/tmall.d.ts @@ -1386,7 +1386,7 @@ declare namespace Tmall.Xf { } } -/** 蚁巢 */ +/** 天猫服务 */ declare namespace Tmall.Yichao { /** {@link https://open.taobao.com/tmc.htm?docId=2546&docType=9 蚁巢工单更新消息} */ interface WorkcardStatusUpdate {