tmc.js 0.3.38 → 0.3.40
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 +5 -5
- package/package.json +1 -1
- package/types/ali.d.ts +3 -3
- package/types/alibaba.d.ts +80 -38
- package/types/alipic.d.ts +8 -0
- package/types/alitrip.d.ts +29 -29
- package/types/alsc.d.ts +10 -0
- package/types/cainiao.d.ts +3 -3
- package/types/damai.d.ts +34 -0
- package/types/fliggy.d.ts +3 -3
- package/types/icbu.d.ts +6 -6
- package/types/idle.d.ts +2 -2
- package/types/index.d.ts +110 -10
- package/types/message.in.d.ts +113 -14
- package/types/taobao.d.ts +82 -42
- package/types/tmall.d.ts +46 -0
- package/types/xhotel.d.ts +3 -3
- package/types/xianyu.d.ts +70 -2
- package/types/youku.d.ts +3 -3
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+ 类别,503+ 消息数</summary>
|
|
138
138
|
|
|
139
139
|
| 类别 | 消息数 |
|
|
140
140
|
| --- | --- |
|
|
@@ -150,11 +150,11 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
150
150
|
| 导购平台 | 21 |
|
|
151
151
|
| 淘宝汽车票 | 4 |
|
|
152
152
|
| 服务市场 | 9 |
|
|
153
|
-
| 天猫服务 |
|
|
153
|
+
| 天猫服务 | 28 |
|
|
154
154
|
| 天猫美妆 | 2 |
|
|
155
155
|
| 聚石塔 | 9 |
|
|
156
156
|
| 淘宝物流 | 1 |
|
|
157
|
-
| 阿里通信 |
|
|
157
|
+
| 阿里通信 | 20 |
|
|
158
158
|
| 天猫魔盒 | 2 |
|
|
159
159
|
| 营销平台 | 1 |
|
|
160
160
|
| OpenIM消息 | 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
|
+
| 闲鱼 | 21 |
|
|
174
174
|
| 闲鱼回收商消息 | 6 |
|
|
175
175
|
| 零售通POS开放平台消息 | 4 |
|
|
176
176
|
| DPAAS | 6 |
|
|
@@ -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
|
+
| 大麦第三方票务供应商接入 | 9 |
|
|
196
196
|
| TVOS应用审核平台 | 1 |
|
|
197
197
|
| Gifting送礼 | 1 |
|
|
198
198
|
| 五道口商品 | 2 |
|
package/package.json
CHANGED
package/types/ali.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ declare namespace Ali.Fin {
|
|
|
3
3
|
/** {@link https://open.taobao.com/tmc.htm?docId=2391&docType=9 阿里场景金融大延保理赔结果通知给服务商} */
|
|
4
4
|
interface DybClaimResult {
|
|
5
5
|
/** 理赔通过金额,单位分 */
|
|
6
|
-
|
|
6
|
+
claim_fee?: string;
|
|
7
7
|
/** 理赔收单id */
|
|
8
|
-
|
|
8
|
+
claim_no: string;
|
|
9
9
|
/** 理赔结果,WAIT_UPDATE/FINISHED */
|
|
10
|
-
|
|
10
|
+
claim_status: string;
|
|
11
11
|
/** 退回原因 */
|
|
12
12
|
reason?: string;
|
|
13
13
|
}
|
package/types/alibaba.d.ts
CHANGED
|
@@ -1390,11 +1390,11 @@ declare namespace Alibaba.Homestyler {
|
|
|
1390
1390
|
/** {@link https://open.taobao.com/tmc.htm?docId=2498&docType=9 洞窝全景图替换消息回调} */
|
|
1391
1391
|
interface AigcPanoramaReplaceCallback {
|
|
1392
1392
|
/** 合成结果图片地址 */
|
|
1393
|
-
|
|
1393
|
+
image_url: string;
|
|
1394
1394
|
/** 错误信息描述 */
|
|
1395
1395
|
message: string;
|
|
1396
1396
|
/** 同步请求返回的requestId */
|
|
1397
|
-
|
|
1397
|
+
request_id: string;
|
|
1398
1398
|
/** 合成结果 */
|
|
1399
1399
|
status: string;
|
|
1400
1400
|
}
|
|
@@ -1429,20 +1429,31 @@ declare namespace Alibaba.Icbulive {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
|
+
/** 闲鱼 */
|
|
1433
|
+
declare namespace Alibaba.Idle {
|
|
1434
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2555&docType=9 闲鱼房源状态变更通知} */
|
|
1435
|
+
interface HouseStatusNotify {
|
|
1436
|
+
/** 房源状态 0:上架,-1:删除,-2:下架 */
|
|
1437
|
+
house_status: number;
|
|
1438
|
+
/** 房源id */
|
|
1439
|
+
item_id: number;
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1432
1443
|
/** 五道口配送 */
|
|
1433
1444
|
declare namespace Alibaba.Ifp {
|
|
1434
1445
|
/** {@link https://open.taobao.com/tmc.htm?docId=2386&docType=9 同城履约包裹状态变更消息} */
|
|
1435
1446
|
interface PackageCfcContainer {
|
|
1436
1447
|
/** 履约单号 */
|
|
1437
|
-
|
|
1448
|
+
fulfill_order_id: string;
|
|
1438
1449
|
/** CFC_CONTAINER:CFC封箱 */
|
|
1439
1450
|
status: string;
|
|
1440
1451
|
/** 包裹令牌号 */
|
|
1441
1452
|
token: string;
|
|
1442
1453
|
/** 仓编码 */
|
|
1443
|
-
|
|
1454
|
+
warehouse_code: string;
|
|
1444
1455
|
/** 仓商户编码 */
|
|
1445
|
-
|
|
1456
|
+
work_merchant_code: string;
|
|
1446
1457
|
}
|
|
1447
1458
|
}
|
|
1448
1459
|
|
|
@@ -1751,7 +1762,7 @@ declare namespace Alibaba.Invoice {
|
|
|
1751
1762
|
/** 全电发票的发票号码 */
|
|
1752
1763
|
invoice_no: string;
|
|
1753
1764
|
/** 订单号 */
|
|
1754
|
-
platform_tid: string;
|
|
1765
|
+
readonly platform_tid: string;
|
|
1755
1766
|
/** 卖家Nick */
|
|
1756
1767
|
seller_nick?: string;
|
|
1757
1768
|
}
|
|
@@ -2474,53 +2485,53 @@ declare namespace Alibaba.Jym {
|
|
|
2474
2485
|
/** {@link https://open.taobao.com/tmc.htm?docId=2445&docType=9 交易猫steam正向消息通知} */
|
|
2475
2486
|
interface SteamTradeOrderNotify {
|
|
2476
2487
|
/** 订单ID */
|
|
2477
|
-
|
|
2488
|
+
order_id: string;
|
|
2478
2489
|
/** 订单状态 1.交易成功 2.结算成功 */
|
|
2479
|
-
|
|
2490
|
+
order_status: number;
|
|
2480
2491
|
}
|
|
2481
2492
|
|
|
2482
2493
|
/** {@link https://open.taobao.com/tmc.htm?docId=2446&docType=9 交易猫steam逆向通知} */
|
|
2483
2494
|
interface SteamTradeRefundNotify {
|
|
2484
2495
|
/** 1-新建 */
|
|
2485
|
-
|
|
2496
|
+
is_new_refund?: number;
|
|
2486
2497
|
/** 逆向单新状态 */
|
|
2487
|
-
|
|
2498
|
+
new_status: number;
|
|
2488
2499
|
/** 逆向单新子状态 */
|
|
2489
|
-
|
|
2500
|
+
new_sub_status: number;
|
|
2490
2501
|
/** 逆向单旧状态 */
|
|
2491
|
-
|
|
2502
|
+
old_status?: number;
|
|
2492
2503
|
/** 逆向单旧子状态 */
|
|
2493
|
-
|
|
2504
|
+
old_sub_status?: number;
|
|
2494
2505
|
/** 订单ID */
|
|
2495
|
-
|
|
2506
|
+
order_id: string;
|
|
2496
2507
|
/** 1.快速退款 2.审核退款 */
|
|
2497
|
-
|
|
2508
|
+
process_type: number;
|
|
2498
2509
|
/** 退款单ID */
|
|
2499
|
-
|
|
2510
|
+
refund_order_id: string;
|
|
2500
2511
|
/** 退款类型 1:售中 2:售后 */
|
|
2501
|
-
|
|
2512
|
+
refund_type: number;
|
|
2502
2513
|
}
|
|
2503
2514
|
|
|
2504
2515
|
/** {@link https://open.taobao.com/tmc.htm?docId=2441&docType=9 交易猫逆向单状态通知} */
|
|
2505
2516
|
interface TradeRefundNotify {
|
|
2506
2517
|
/** 1-新建 */
|
|
2507
|
-
|
|
2518
|
+
is_new_refund?: number;
|
|
2508
2519
|
/** 逆向单新状态 */
|
|
2509
|
-
|
|
2520
|
+
new_status?: number;
|
|
2510
2521
|
/** 逆向单新子状态 */
|
|
2511
|
-
|
|
2522
|
+
new_sub_status?: number;
|
|
2512
2523
|
/** 逆向单旧状态 */
|
|
2513
|
-
|
|
2524
|
+
old_status?: number;
|
|
2514
2525
|
/** 逆向单旧子状态 */
|
|
2515
|
-
|
|
2526
|
+
old_sub_status?: number;
|
|
2516
2527
|
/** 商品ID */
|
|
2517
|
-
|
|
2528
|
+
order_id: string;
|
|
2518
2529
|
/** 1.快速退款 2.审核退款 */
|
|
2519
|
-
|
|
2530
|
+
process_type: number;
|
|
2520
2531
|
/** 退款单ID */
|
|
2521
|
-
|
|
2532
|
+
refund_order_id: string;
|
|
2522
2533
|
/** 退款类型 1:售中 2:售后 */
|
|
2523
|
-
|
|
2534
|
+
refund_type: number;
|
|
2524
2535
|
}
|
|
2525
2536
|
}
|
|
2526
2537
|
|
|
@@ -3027,13 +3038,13 @@ declare namespace Alibaba.Msd {
|
|
|
3027
3038
|
/** {@link https://open.taobao.com/tmc.htm?docId=2458&docType=9 喵速达服务供应链结算单明细消息} */
|
|
3028
3039
|
interface SettlementBillDetail {
|
|
3029
3040
|
/** 支付流水号 */
|
|
3030
|
-
|
|
3041
|
+
alipay_order_id: string;
|
|
3031
3042
|
/** 结算金额 */
|
|
3032
3043
|
amount: string;
|
|
3033
3044
|
/** 服务交易订单id */
|
|
3034
|
-
|
|
3045
|
+
service_trade_order_id: number;
|
|
3035
3046
|
/** 服务单id */
|
|
3036
|
-
|
|
3047
|
+
sp_service_order_id: number;
|
|
3037
3048
|
}
|
|
3038
3049
|
}
|
|
3039
3050
|
|
|
@@ -3588,17 +3599,17 @@ declare namespace Alibaba.Pur {
|
|
|
3588
3599
|
/** {@link https://open.taobao.com/tmc.htm?docId=2485&docType=9 取消订单结果通知} */
|
|
3589
3600
|
interface ResourceOrderCancelNotify {
|
|
3590
3601
|
/** 失败原因 */
|
|
3591
|
-
|
|
3602
|
+
failed_msg?: string;
|
|
3592
3603
|
/** 平台子订单号 */
|
|
3593
|
-
|
|
3604
|
+
order_item_no: string;
|
|
3594
3605
|
/** 平台订单号 */
|
|
3595
|
-
|
|
3606
|
+
order_no: string;
|
|
3596
3607
|
/** 三方子订单号 */
|
|
3597
|
-
|
|
3608
|
+
out_order_item_no: string;
|
|
3598
3609
|
/** 三方订单号 */
|
|
3599
|
-
|
|
3610
|
+
out_order_no: string;
|
|
3600
3611
|
/** 逆向单号 */
|
|
3601
|
-
|
|
3612
|
+
return_no: string;
|
|
3602
3613
|
/** 取消订单是否成功 */
|
|
3603
3614
|
success: boolean;
|
|
3604
3615
|
}
|
|
@@ -3606,11 +3617,11 @@ declare namespace Alibaba.Pur {
|
|
|
3606
3617
|
/** {@link https://open.taobao.com/tmc.htm?docId=2448&docType=9 发货提醒} */
|
|
3607
3618
|
interface ResourceOrderShipNotify {
|
|
3608
3619
|
/** 子订单 */
|
|
3609
|
-
|
|
3620
|
+
order_items: string;
|
|
3610
3621
|
/** 平台订单号 */
|
|
3611
|
-
|
|
3622
|
+
order_no: string;
|
|
3612
3623
|
/** 三方订单号 */
|
|
3613
|
-
|
|
3624
|
+
out_order_no: string;
|
|
3614
3625
|
}
|
|
3615
3626
|
|
|
3616
3627
|
/** {@link https://open.taobao.com/tmc.htm?docId=2084&docType=9 RT审批完成消息通知} */
|
|
@@ -4563,6 +4574,37 @@ declare namespace Alibaba.Wdktrade {
|
|
|
4563
4574
|
}
|
|
4564
4575
|
}
|
|
4565
4576
|
|
|
4577
|
+
/** 天猫服务 */
|
|
4578
|
+
declare namespace Alibaba.Yichao {
|
|
4579
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2549&docType=9 蚁巢保单修改消息} */
|
|
4580
|
+
interface InsuranceUpdate {
|
|
4581
|
+
/** 保单生效时间 */
|
|
4582
|
+
gmt_effect: string;
|
|
4583
|
+
/** 保单失效时间 */
|
|
4584
|
+
gmt_expiry: string;
|
|
4585
|
+
/** 保司保单号 */
|
|
4586
|
+
insurance_application_no: string;
|
|
4587
|
+
/** 蚁巢保单号 */
|
|
4588
|
+
insurance_order_id: string;
|
|
4589
|
+
/** 被保人id */
|
|
4590
|
+
insurant_id: string;
|
|
4591
|
+
/** 被保人姓名 */
|
|
4592
|
+
insurant_name: string;
|
|
4593
|
+
/** 单据唯一键 */
|
|
4594
|
+
out_id: string;
|
|
4595
|
+
/** 工单或者服务单号 */
|
|
4596
|
+
out_order_id: string;
|
|
4597
|
+
/** 关联单据类型 */
|
|
4598
|
+
out_order_type: string;
|
|
4599
|
+
/** 保单类型 */
|
|
4600
|
+
product_code: string;
|
|
4601
|
+
/** 蚁巢保单状态 */
|
|
4602
|
+
status: string;
|
|
4603
|
+
/** 蚁巢保单状态 */
|
|
4604
|
+
status_code: string;
|
|
4605
|
+
}
|
|
4606
|
+
}
|
|
4607
|
+
|
|
4566
4608
|
/** 平台消息 */
|
|
4567
4609
|
declare namespace Alibaba.Yunio {
|
|
4568
4610
|
/** {@link https://open.taobao.com/tmc.htm?docId=1063&docType=9 YunIO数据流转} */
|
package/types/alitrip.d.ts
CHANGED
|
@@ -175,41 +175,41 @@ declare namespace Alitrip.Flight {
|
|
|
175
175
|
/** {@link https://open.taobao.com/tmc.htm?docId=2359&docType=9 新京航航变消息} */
|
|
176
176
|
interface FlightChange {
|
|
177
177
|
/** 航变原因 */
|
|
178
|
-
|
|
178
|
+
change_reason?: string;
|
|
179
179
|
/** 航变时间 */
|
|
180
|
-
|
|
180
|
+
change_time?: Date | number | string;
|
|
181
181
|
/** 航变类型,1为取消,2为变更 */
|
|
182
|
-
|
|
182
|
+
change_type?: number;
|
|
183
183
|
/** 消息id */
|
|
184
|
-
|
|
184
|
+
message_id: string;
|
|
185
185
|
/** 到达机场三字码 */
|
|
186
|
-
|
|
186
|
+
new_arrive_code?: string;
|
|
187
187
|
/** 到达时间 */
|
|
188
|
-
|
|
188
|
+
new_arrive_time?: Date | number | string;
|
|
189
189
|
/** 出发机场三字码 */
|
|
190
|
-
|
|
190
|
+
new_depart_code?: string;
|
|
191
191
|
/** 出发时间 */
|
|
192
|
-
|
|
192
|
+
new_depart_time?: Date | number | string;
|
|
193
193
|
/** 新航班日期 */
|
|
194
|
-
|
|
194
|
+
new_flight_date?: Date | number | string;
|
|
195
195
|
/** 航班号 */
|
|
196
|
-
|
|
196
|
+
new_flight_no?: string;
|
|
197
197
|
/** 到达机场三字码 */
|
|
198
|
-
|
|
198
|
+
old_arrive_code: string;
|
|
199
199
|
/** 出发时间 */
|
|
200
|
-
|
|
200
|
+
old_arrive_time: Date | number | string;
|
|
201
201
|
/** 出发机场三字码 */
|
|
202
|
-
|
|
202
|
+
old_depart_code: string;
|
|
203
203
|
/** 出发时间 */
|
|
204
|
-
|
|
204
|
+
old_depart_time: Date | number | string;
|
|
205
205
|
/** 原航班日期 */
|
|
206
|
-
|
|
206
|
+
old_flight_date?: Date | number | string;
|
|
207
207
|
/** 原航班号 */
|
|
208
|
-
|
|
208
|
+
old_flight_no: string;
|
|
209
209
|
/** 采购订单号 */
|
|
210
|
-
|
|
210
|
+
order_id?: number;
|
|
211
211
|
/** 航变子类型 */
|
|
212
|
-
|
|
212
|
+
sub_type?: number;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
/** {@link https://open.taobao.com/tmc.htm?docId=2189&docType=9 机票支付结果异步通知} */
|
|
@@ -414,37 +414,37 @@ declare namespace Alitrip.Train {
|
|
|
414
414
|
/** {@link https://open.taobao.com/tmc.htm?docId=2465&docType=9 飞猪火车票风控消息} */
|
|
415
415
|
interface RiskNotify {
|
|
416
416
|
/** 12306账号,可能为手机号/邮箱/唯一用户名 */
|
|
417
|
-
|
|
417
|
+
account_name: string;
|
|
418
418
|
/** 唯一标识 */
|
|
419
419
|
id: string;
|
|
420
420
|
/** 12306用户ID */
|
|
421
|
-
|
|
421
|
+
out_user_id: string;
|
|
422
422
|
/** 协议类型,app或pc,一般仅app */
|
|
423
423
|
protocol: string;
|
|
424
424
|
/** 风控码 */
|
|
425
|
-
|
|
425
|
+
risk_code: string;
|
|
426
426
|
/** 风控消息类型、MARK_RISK 和 CLEAR_RISK */
|
|
427
|
-
|
|
427
|
+
risk_tag: string;
|
|
428
428
|
/** 对应的解风控动作 */
|
|
429
|
-
|
|
429
|
+
solve_action: string;
|
|
430
430
|
/** 提示信息,指导用户行为 */
|
|
431
431
|
tips: string;
|
|
432
432
|
/** 用户淘宝ID */
|
|
433
|
-
|
|
433
|
+
user_id: number;
|
|
434
434
|
/** 12306唯一用户名 */
|
|
435
|
-
|
|
435
|
+
user_uniq_name: string;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
/** {@link https://open.taobao.com/tmc.htm?docId=2464&docType=9 创建订单成功消息} */
|
|
439
439
|
interface TobOrderCreate {
|
|
440
440
|
/** 商户id */
|
|
441
|
-
|
|
441
|
+
merchant_id: number;
|
|
442
442
|
/** 商户订单号 */
|
|
443
|
-
|
|
443
|
+
merchant_order_id: string;
|
|
444
444
|
/** 飞猪订单号 */
|
|
445
|
-
|
|
445
|
+
order_id: number;
|
|
446
446
|
/** 12306账号 */
|
|
447
|
-
|
|
447
|
+
out_buyer_id: string;
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
450
|
|
package/types/alsc.d.ts
CHANGED
|
@@ -243,6 +243,16 @@ declare namespace Alsc.Reviewbwc {
|
|
|
243
243
|
/** 消息类型 */
|
|
244
244
|
type: string;
|
|
245
245
|
}
|
|
246
|
+
|
|
247
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2552&docType=9 评价有礼渠道用户身份SID绑定通知} */
|
|
248
|
+
interface SidBindSync {
|
|
249
|
+
/** 推广位 */
|
|
250
|
+
pid: string;
|
|
251
|
+
/** 短码 */
|
|
252
|
+
scene: string;
|
|
253
|
+
/** 用户侧会员ID */
|
|
254
|
+
sid: string;
|
|
255
|
+
}
|
|
246
256
|
}
|
|
247
257
|
|
|
248
258
|
/** 口碑 */
|
package/types/cainiao.d.ts
CHANGED
|
@@ -980,13 +980,13 @@ declare namespace Cainiao.Waybill {
|
|
|
980
980
|
/** {@link https://open.taobao.com/tmc.htm?docId=2376&docType=9 单据状态跟踪} */
|
|
981
981
|
interface TrackTicketStatus {
|
|
982
982
|
/** 操作时间 */
|
|
983
|
-
|
|
983
|
+
op_time: number;
|
|
984
984
|
/** 外部单号 */
|
|
985
|
-
|
|
985
|
+
order_id: string;
|
|
986
986
|
/** 拦截状态 */
|
|
987
987
|
status: string;
|
|
988
988
|
/** 状态描述 */
|
|
989
|
-
|
|
989
|
+
status_desc: string;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
|
package/types/damai.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/** 大麦第三方票务供应商接入 */
|
|
2
2
|
declare namespace Damai.Distribution {
|
|
3
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2541&docType=9 履约补选座位成功通知三方} */
|
|
4
|
+
interface MatchSeat {
|
|
5
|
+
/** 主订单号 */
|
|
6
|
+
main_order_id: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
3
9
|
/** {@link https://open.taobao.com/tmc.htm?docId=1980&docType=9 场次取消消息推送} */
|
|
4
10
|
interface PerformCancel {
|
|
5
11
|
/** 场次取消的场次id */
|
|
@@ -56,6 +62,16 @@ declare namespace Damai.Distribution {
|
|
|
56
62
|
project_id: number;
|
|
57
63
|
}
|
|
58
64
|
|
|
65
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2540&docType=9 履约发快递成功通知三方} */
|
|
66
|
+
interface SendExpress {
|
|
67
|
+
/** 物流类型,1-顺丰,2-EMS */
|
|
68
|
+
delivery_company_id: number;
|
|
69
|
+
/** 主订单号 */
|
|
70
|
+
main_order_id: number;
|
|
71
|
+
/** 物流单号 */
|
|
72
|
+
waybill_no: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
59
75
|
/** {@link https://open.taobao.com/tmc.htm?docId=1628&docType=9 票品状态变更} */
|
|
60
76
|
interface TicketItemStatus {
|
|
61
77
|
/** 是否可售 */
|
|
@@ -126,6 +142,16 @@ declare namespace Damai.Mz {
|
|
|
126
142
|
timestamp: number;
|
|
127
143
|
}
|
|
128
144
|
|
|
145
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2539&docType=9 麦座退单审核通过通知} */
|
|
146
|
+
interface OrderRefund {
|
|
147
|
+
/** 会员id */
|
|
148
|
+
mz_user_id: string;
|
|
149
|
+
/** 正式单id */
|
|
150
|
+
order_id: string;
|
|
151
|
+
/** 退单id */
|
|
152
|
+
refund_order_id: string;
|
|
153
|
+
}
|
|
154
|
+
|
|
129
155
|
/** {@link https://open.taobao.com/tmc.htm?docId=2241&docType=9 订单状态通知} */
|
|
130
156
|
interface OrderStateChange {
|
|
131
157
|
/** 麦座订单号 */
|
|
@@ -157,6 +183,14 @@ declare namespace Damai.Mz {
|
|
|
157
183
|
/** 时间戳 */
|
|
158
184
|
timestamp: number;
|
|
159
185
|
}
|
|
186
|
+
|
|
187
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2538&docType=9 麦座会员注册成功通知} */
|
|
188
|
+
interface UserRegister {
|
|
189
|
+
/** 麦座会员id */
|
|
190
|
+
mz_user_id: string;
|
|
191
|
+
/** 时间戳 */
|
|
192
|
+
timestamp: number;
|
|
193
|
+
}
|
|
160
194
|
}
|
|
161
195
|
|
|
162
196
|
/** 大麦票单状态 */
|
package/types/fliggy.d.ts
CHANGED
|
@@ -104,11 +104,11 @@ declare namespace Fliggy.Sht {
|
|
|
104
104
|
/** 订单信息 */
|
|
105
105
|
content: string;
|
|
106
106
|
/** 消息唯一ID */
|
|
107
|
-
|
|
107
|
+
msg_id: string;
|
|
108
108
|
/** 淘宝订单ID */
|
|
109
|
-
|
|
109
|
+
order_id: string;
|
|
110
110
|
/** 订单状态 */
|
|
111
|
-
|
|
111
|
+
order_status: number;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
package/types/icbu.d.ts
CHANGED
|
@@ -117,17 +117,17 @@ declare namespace Icbu.Risk {
|
|
|
117
117
|
/** {@link https://open.taobao.com/tmc.htm?docId=2525&docType=9 天鹿风控事件异步消息结果} */
|
|
118
118
|
interface ZeroersMessage {
|
|
119
119
|
/** 业务回调id */
|
|
120
|
-
|
|
120
|
+
callback_id: string;
|
|
121
121
|
/** 审核结果 */
|
|
122
|
-
|
|
122
|
+
callback_result?: string;
|
|
123
123
|
/** 风控事件 */
|
|
124
|
-
|
|
124
|
+
event_code: string;
|
|
125
125
|
/** 风控唯一id */
|
|
126
|
-
|
|
126
|
+
event_data_id?: string;
|
|
127
127
|
/** reject原因 */
|
|
128
|
-
|
|
128
|
+
reject_reason?: string;
|
|
129
129
|
/** 风控结果 */
|
|
130
|
-
|
|
130
|
+
risk_judge_result: string;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
package/types/idle.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ declare namespace Idle.Consignmentii {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
/**
|
|
114
|
+
/** 闲鱼 */
|
|
115
115
|
declare namespace Idle.Cycleshop {
|
|
116
116
|
/** {@link https://open.taobao.com/tmc.htm?docId=2499&docType=9 闲鱼循环商店-货品变更通知} */
|
|
117
117
|
interface GoodsNotice {
|
|
@@ -251,7 +251,7 @@ declare namespace Idle.Tranferpay {
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
/**
|
|
254
|
+
/** 闲鱼 */
|
|
255
255
|
declare namespace Idle.Twjd {
|
|
256
256
|
/** {@link https://open.taobao.com/tmc.htm?docId=2407&docType=9 闲鱼图文鉴定业务订单消息} */
|
|
257
257
|
interface OrderSyn {
|