tmc.js 0.3.24 → 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 +3 -3
- package/package.json +1 -1
- package/types/damai.d.ts +16 -0
- package/types/index.d.ts +20 -0
- package/types/message.in.d.ts +21 -1
- package/types/taobao.d.ts +39 -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>共计 83+ 类别,
|
|
137
|
+
<details><summary>共计 83+ 类别,466+ 消息数</summary>
|
|
138
138
|
|
|
139
139
|
| 类别 | 消息数 |
|
|
140
140
|
| --- | --- |
|
|
@@ -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激活} */
|
|
@@ -540,6 +546,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
540
546
|
taobao_fliggy_StdHotelModify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdHotelModify) => void): TaoMessageConsumer;
|
|
541
547
|
/** {@link IncomingMessage.TaobaoFliggyStdRoomTypeModify 酒店签约中心消息 > 标准房型领域模型实体变更消息} */
|
|
542
548
|
taobao_fliggy_StdRoomTypeModify(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdRoomTypeModify) => void): TaoMessageConsumer;
|
|
549
|
+
/** {@link IncomingMessage.TaobaoFscRouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知} */
|
|
550
|
+
taobao_fsc_RouteOrderStatusChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFscRouteOrderStatusChange) => void): TaoMessageConsumer;
|
|
543
551
|
/** {@link IncomingMessage.TaobaoFuwuFundsChange 淘宝交易 > 以旧换新资金变更通知消息} */
|
|
544
552
|
taobao_fuwu_FundsChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuFundsChange) => void): TaoMessageConsumer;
|
|
545
553
|
/** {@link IncomingMessage.TaobaoFuwuOrderClosed 淘宝交易 > 订单关闭消息} */
|
|
@@ -1096,6 +1104,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1096
1104
|
taobao_fenxiao(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFenxiao) => void): TaoMessageConsumer;
|
|
1097
1105
|
/** {@link IncomingMessage.TaobaoFliggy} */
|
|
1098
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;
|
|
1099
1109
|
/** {@link IncomingMessage.TaobaoFuwu} */
|
|
1100
1110
|
taobao_fuwu(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwu) => void): TaoMessageConsumer;
|
|
1101
1111
|
/** {@link IncomingMessage.TaobaoGlobalbuys} */
|
|
@@ -1561,6 +1571,8 @@ declare interface TaoEventsListener {
|
|
|
1561
1571
|
on(topic: 'damai_distribution_PreSaleToNow', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPreSaleToNow) => void): TaoMessageConsumer;
|
|
1562
1572
|
/** {@link IncomingMessage.DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送} */
|
|
1563
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;
|
|
1564
1576
|
/** {@link IncomingMessage.DamaiDistributionTicketItemStatus 大麦第三方票务供应商接入 > 票品状态变更} */
|
|
1565
1577
|
on(topic: 'damai_distribution_TicketItemStatus', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionTicketItemStatus) => void): TaoMessageConsumer;
|
|
1566
1578
|
/** {@link IncomingMessage.DamaiTradeTicketStatusPush 大麦票单状态 > 大麦票单状态推送} */
|
|
@@ -1629,6 +1641,10 @@ declare interface TaoEventsListener {
|
|
|
1629
1641
|
on(topic: 'taobao_aps_CommentAdd', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoApsCommentAdd) => void): TaoMessageConsumer;
|
|
1630
1642
|
/** {@link IncomingMessage.TaobaoApsNewFeedback 平台消息 > 收到舆情} */
|
|
1631
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;
|
|
1632
1648
|
/** {@link IncomingMessage.TaobaoAxinRefundCallBack 阿信消息通知前台类目 > 阿信退款回调消息} */
|
|
1633
1649
|
on(topic: 'taobao_axin_RefundCallBack', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoAxinRefundCallBack) => void): TaoMessageConsumer;
|
|
1634
1650
|
/** {@link IncomingMessage.TaobaoBaichuanASODeviceActivate 百川 > 设备APP激活} */
|
|
@@ -1731,6 +1747,8 @@ declare interface TaoEventsListener {
|
|
|
1731
1747
|
on(topic: 'taobao_fliggy_StdHotelModify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdHotelModify) => void): TaoMessageConsumer;
|
|
1732
1748
|
/** {@link IncomingMessage.TaobaoFliggyStdRoomTypeModify 酒店签约中心消息 > 标准房型领域模型实体变更消息} */
|
|
1733
1749
|
on(topic: 'taobao_fliggy_StdRoomTypeModify', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFliggyStdRoomTypeModify) => void): TaoMessageConsumer;
|
|
1750
|
+
/** {@link IncomingMessage.TaobaoFscRouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知} */
|
|
1751
|
+
on(topic: 'taobao_fsc_RouteOrderStatusChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFscRouteOrderStatusChange) => void): TaoMessageConsumer;
|
|
1734
1752
|
/** {@link IncomingMessage.TaobaoFuwuFundsChange 淘宝交易 > 以旧换新资金变更通知消息} */
|
|
1735
1753
|
on(topic: 'taobao_fuwu_FundsChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwuFundsChange) => void): TaoMessageConsumer;
|
|
1736
1754
|
/** {@link IncomingMessage.TaobaoFuwuOrderClosed 淘宝交易 > 订单关闭消息} */
|
|
@@ -2287,6 +2305,8 @@ declare interface TaoEventsListener {
|
|
|
2287
2305
|
on(topic: 'taobao_fenxiao', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFenxiao) => void): TaoMessageConsumer;
|
|
2288
2306
|
/** {@link IncomingMessage.TaobaoFliggy} */
|
|
2289
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;
|
|
2290
2310
|
/** {@link IncomingMessage.TaobaoFuwu} */
|
|
2291
2311
|
on(topic: 'taobao_fuwu', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFuwu) => void): TaoMessageConsumer;
|
|
2292
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激活} */
|
|
@@ -501,6 +507,8 @@ declare namespace IncomingMessage {
|
|
|
501
507
|
type TaobaoFliggyStdHotelModify = Message & { content?: MessageContent & { topic?: 'taobao_fliggy_StdHotelModify', content?: string | Taobao.Fliggy.StdHotelModify } };
|
|
502
508
|
/** {@link Taobao.Fliggy.StdRoomTypeModify 酒店签约中心消息 > 标准房型领域模型实体变更消息} */
|
|
503
509
|
type TaobaoFliggyStdRoomTypeModify = Message & { content?: MessageContent & { topic?: 'taobao_fliggy_StdRoomTypeModify', content?: string | Taobao.Fliggy.StdRoomTypeModify } };
|
|
510
|
+
/** {@link Taobao.Fsc.RouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知} */
|
|
511
|
+
type TaobaoFscRouteOrderStatusChange = Message & { content?: MessageContent & { topic?: 'taobao_fsc_RouteOrderStatusChange', content?: string | Taobao.Fsc.RouteOrderStatusChange } };
|
|
504
512
|
/** {@link Taobao.Fuwu.FundsChange 淘宝交易 > 以旧换新资金变更通知消息} */
|
|
505
513
|
type TaobaoFuwuFundsChange = Message & { content?: MessageContent & { topic?: 'taobao_fuwu_FundsChange', content?: string | Taobao.Fuwu.FundsChange } };
|
|
506
514
|
/** {@link Taobao.Fuwu.OrderClosed 淘宝交易 > 订单关闭消息} */
|
|
@@ -1294,12 +1302,14 @@ declare namespace IncomingMessage {
|
|
|
1294
1302
|
* - {@link DamaiDistributionPerformStatus 大麦第三方票务供应商接入 > 场次状态变更推送}
|
|
1295
1303
|
* - {@link DamaiDistributionPreSaleToNow 大麦第三方票务供应商接入 > 预售改开票}
|
|
1296
1304
|
* - {@link DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送}
|
|
1305
|
+
* - {@link DamaiDistributionRefundOrder 大麦第三方票务供应商接入 > 退票通知}
|
|
1297
1306
|
* - {@link DamaiDistributionTicketItemStatus 大麦第三方票务供应商接入 > 票品状态变更}
|
|
1298
1307
|
*/
|
|
1299
1308
|
type DamaiDistribution = DamaiDistributionPerformCancel
|
|
1300
1309
|
| DamaiDistributionPerformStatus
|
|
1301
1310
|
| DamaiDistributionPreSaleToNow
|
|
1302
1311
|
| DamaiDistributionProjectStatus
|
|
1312
|
+
| DamaiDistributionRefundOrder
|
|
1303
1313
|
| DamaiDistributionTicketItemStatus;
|
|
1304
1314
|
/**
|
|
1305
1315
|
* - {@link DamaiTradeTicketStatusPush 大麦票单状态 > 大麦票单状态推送}
|
|
@@ -1404,9 +1414,13 @@ declare namespace IncomingMessage {
|
|
|
1404
1414
|
type TaobaoAps = TaobaoApsCommentAdd
|
|
1405
1415
|
| TaobaoApsNewFeedback;
|
|
1406
1416
|
/**
|
|
1417
|
+
* - {@link TaobaoAxinDivisionApplyResult 阿信消息通知前台类目 > 新增行政区划结果通知}
|
|
1418
|
+
* - {@link TaobaoAxinPoiApplyResult 阿信消息通知前台类目 > 新增POI结果通知}
|
|
1407
1419
|
* - {@link TaobaoAxinRefundCallBack 阿信消息通知前台类目 > 阿信退款回调消息}
|
|
1408
1420
|
*/
|
|
1409
|
-
type TaobaoAxin =
|
|
1421
|
+
type TaobaoAxin = TaobaoAxinDivisionApplyResult
|
|
1422
|
+
| TaobaoAxinPoiApplyResult
|
|
1423
|
+
| TaobaoAxinRefundCallBack;
|
|
1410
1424
|
/**
|
|
1411
1425
|
* - {@link TaobaoBaichuanASODeviceActivate 百川 > 设备APP激活}
|
|
1412
1426
|
* - {@link TaobaoBaichuanPasswordRuleChange 百川 > 口令规则变化消息}
|
|
@@ -1533,6 +1547,10 @@ declare namespace IncomingMessage {
|
|
|
1533
1547
|
| TaobaoFliggySignStatus
|
|
1534
1548
|
| TaobaoFliggyStdHotelModify
|
|
1535
1549
|
| TaobaoFliggyStdRoomTypeModify;
|
|
1550
|
+
/**
|
|
1551
|
+
* - {@link TaobaoFscRouteOrderStatusChange 阿信消息通知前台类目 > 线路订单状态变更通知}
|
|
1552
|
+
*/
|
|
1553
|
+
type TaobaoFsc = TaobaoFscRouteOrderStatusChange;
|
|
1536
1554
|
/**
|
|
1537
1555
|
* - {@link TaobaoFuwuFundsChange 淘宝交易 > 以旧换新资金变更通知消息}
|
|
1538
1556
|
* - {@link TaobaoFuwuOrderClosed 淘宝交易 > 订单关闭消息}
|
|
@@ -2216,6 +2234,7 @@ declare namespace IncomingMessage {
|
|
|
2216
2234
|
* - {@link TaobaoEinvoice}
|
|
2217
2235
|
* - {@link TaobaoFenxiao}
|
|
2218
2236
|
* - {@link TaobaoFliggy}
|
|
2237
|
+
* - {@link TaobaoFsc}
|
|
2219
2238
|
* - {@link TaobaoFuwu}
|
|
2220
2239
|
* - {@link TaobaoGlobalbuys}
|
|
2221
2240
|
* - {@link TaobaoHomeai}
|
|
@@ -2266,6 +2285,7 @@ declare namespace IncomingMessage {
|
|
|
2266
2285
|
| TaobaoEinvoice
|
|
2267
2286
|
| TaobaoFenxiao
|
|
2268
2287
|
| TaobaoFliggy
|
|
2288
|
+
| TaobaoFsc
|
|
2269
2289
|
| TaobaoFuwu
|
|
2270
2290
|
| TaobaoGlobalbuys
|
|
2271
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
|
/** 外部订单号 */
|
|
@@ -656,6 +676,25 @@ declare namespace Taobao.Fliggy {
|
|
|
656
676
|
}
|
|
657
677
|
}
|
|
658
678
|
|
|
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
|
+
|
|
659
698
|
/** 淘宝交易 */
|
|
660
699
|
declare namespace Taobao.Fuwu {
|
|
661
700
|
/** 以旧换新资金变更通知消息 */
|