tmc.js 0.3.33 → 0.3.35
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/LICENSE +1 -1
- package/README.md +4 -4
- package/package.json +1 -1
- package/types/ae.d.ts +12 -0
- package/types/ali.d.ts +61 -0
- package/types/alibaba.d.ts +2592 -145
- package/types/alicom.d.ts +127 -1
- package/types/aliexpress.d.ts +153 -11
- package/types/alihealth.d.ts +189 -3
- package/types/alihouse.d.ts +169 -0
- package/types/alios.d.ts +45 -0
- package/types/alipay.d.ts +479 -0
- package/types/alisports.d.ts +18 -0
- package/types/alitrip.d.ts +264 -16
- package/types/aliyun.d.ts +94 -1
- package/types/alsc.d.ts +329 -0
- package/types/ascp.d.ts +26 -1
- package/types/banma.d.ts +1 -1
- package/types/cainiao.d.ts +979 -2
- package/types/damai.d.ts +107 -7
- package/types/ele.d.ts +10 -0
- package/types/eleme.d.ts +71 -0
- package/types/fliggy.d.ts +95 -5
- package/types/fuwu.d.ts +2 -2
- package/types/gaode.d.ts +16 -0
- package/types/genie.d.ts +22 -0
- package/types/global.d.ts +22 -0
- package/types/gov.d.ts +160 -2
- package/types/icbu.d.ts +124 -0
- package/types/idle.d.ts +74 -16
- package/types/index.d.ts +3422 -14
- package/types/intime.d.ts +37 -0
- package/types/jae.d.ts +1 -1
- package/types/jym.d.ts +12 -0
- package/types/lst.d.ts +2 -2
- package/types/message.in.d.ts +3465 -76
- package/types/message.out.d.ts +1107 -26
- package/types/niaochao.d.ts +3 -3
- package/types/taobao.d.ts +3755 -278
- package/types/taotao.d.ts +44 -0
- package/types/tmall.d.ts +893 -36
- package/types/tobao.d.ts +26 -0
- package/types/trip.d.ts +6 -6
- package/types/umeng.d.ts +10 -0
- package/types/wdk.d.ts +30 -4
- package/types/xhotel.d.ts +16 -0
- package/types/xianyu.d.ts +33 -9
- package/types/youku.d.ts +18 -1
- package/types/yunos.d.ts +27 -2
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -134,11 +134,11 @@ 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+ 类别,494+ 消息数</summary>
|
|
138
138
|
|
|
139
139
|
| 类别 | 消息数 |
|
|
140
140
|
| --- | --- |
|
|
141
|
-
| 淘宝交易 |
|
|
141
|
+
| 淘宝交易 | 25 |
|
|
142
142
|
| 淘宝退款 | 13 |
|
|
143
143
|
| 淘宝商品 | 13 |
|
|
144
144
|
| 淘宝分销 | 27 |
|
|
@@ -159,7 +159,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
159
159
|
| 营销平台 | 1 |
|
|
160
160
|
| OpenIM消息 | 1 |
|
|
161
161
|
| 网上法庭 | 8 |
|
|
162
|
-
| 电子发票 |
|
|
162
|
+
| 电子发票 | 21 |
|
|
163
163
|
| 航旅度假交易 | 8 |
|
|
164
164
|
| YunOS YoC | 2 |
|
|
165
165
|
| 淘宝直播API | 3 |
|
|
@@ -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
|
+
| 大麦第三方票务供应商接入 | 7 |
|
|
196
196
|
| TVOS应用审核平台 | 1 |
|
|
197
197
|
| Gifting送礼 | 1 |
|
|
198
198
|
| 五道口商品 | 2 |
|
package/package.json
CHANGED
package/types/ae.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** AE */
|
|
2
|
+
declare namespace Ae.Logistics {
|
|
3
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2209&docType=9 运单号修改} */
|
|
4
|
+
interface TrackingNoUpdate {
|
|
5
|
+
/** 新运单号 */
|
|
6
|
+
new_logistics_no: string;
|
|
7
|
+
/** 老运单号 */
|
|
8
|
+
old_logistics_no: string;
|
|
9
|
+
/** 商家ID */
|
|
10
|
+
seller_id: number;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/types/ali.d.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/** 阿里金融 */
|
|
2
|
+
declare namespace Ali.Fin {
|
|
3
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2391&docType=9 阿里场景金融大延保理赔结果通知给服务商} */
|
|
4
|
+
interface DybClaimResult {
|
|
5
|
+
/** 理赔通过金额,单位分 */
|
|
6
|
+
claimFee?: string;
|
|
7
|
+
/** 理赔收单id */
|
|
8
|
+
claimNo: string;
|
|
9
|
+
/** 理赔结果,WAIT_UPDATE/FINISHED */
|
|
10
|
+
claimStatus: string;
|
|
11
|
+
/** 退回原因 */
|
|
12
|
+
reason?: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** 网上法庭 */
|
|
17
|
+
declare namespace Ali.Infodept {
|
|
18
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=867&docType=9 网上法庭数据交换消息} */
|
|
19
|
+
interface CaseFilingInfo {
|
|
20
|
+
/** 附件url列表 */
|
|
21
|
+
attachment_files?: string;
|
|
22
|
+
/** 附件url */
|
|
23
|
+
attachment_url?: string;
|
|
24
|
+
/** 加密后案件id */
|
|
25
|
+
biz_id: string;
|
|
26
|
+
/** messageBody格式 */
|
|
27
|
+
format: string;
|
|
28
|
+
/** 消息体 */
|
|
29
|
+
message_body: string;
|
|
30
|
+
/** 签名 */
|
|
31
|
+
message_body_signature?: string;
|
|
32
|
+
/** 消息唯一的id */
|
|
33
|
+
message_id: string;
|
|
34
|
+
/** 消息路由 */
|
|
35
|
+
message_router: string;
|
|
36
|
+
/** 消息唯一标示符 */
|
|
37
|
+
peer_id: string;
|
|
38
|
+
/** biz_id对应 */
|
|
39
|
+
ref_biz_id?: string;
|
|
40
|
+
/** 消息类型 */
|
|
41
|
+
topic: string;
|
|
42
|
+
/** 版本,消息去向 */
|
|
43
|
+
version?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=833&docType=9 证件保全通知} */
|
|
47
|
+
interface PreserveEvidence {
|
|
48
|
+
/** 案件Id */
|
|
49
|
+
case_id?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=943&docType=9 网上法庭开放平台消息} */
|
|
53
|
+
interface YuncourtMsg {
|
|
54
|
+
/** 业务id */
|
|
55
|
+
biz_id: string;
|
|
56
|
+
/** 消息内容 */
|
|
57
|
+
content: string;
|
|
58
|
+
/** 消息类型 */
|
|
59
|
+
type: string;
|
|
60
|
+
}
|
|
61
|
+
}
|