tmc.js 0.3.36 → 0.3.38
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/package.json +1 -1
- package/types/alitrip.d.ts +8 -2
- package/types/icbu.d.ts +19 -0
- package/types/index.d.ts +20 -0
- package/types/message.in.d.ts +22 -2
- package/types/message.out.d.ts +1 -1
- package/types/taobao.d.ts +45 -1
package/package.json
CHANGED
package/types/alitrip.d.ts
CHANGED
|
@@ -437,8 +437,14 @@ declare namespace Alitrip.Train {
|
|
|
437
437
|
|
|
438
438
|
/** {@link https://open.taobao.com/tmc.htm?docId=2464&docType=9 创建订单成功消息} */
|
|
439
439
|
interface TobOrderCreate {
|
|
440
|
-
/**
|
|
441
|
-
|
|
440
|
+
/** 商户id */
|
|
441
|
+
merchantId: number;
|
|
442
|
+
/** 商户订单号 */
|
|
443
|
+
merchantOrderId: string;
|
|
444
|
+
/** 飞猪订单号 */
|
|
445
|
+
orderId: number;
|
|
446
|
+
/** 12306账号 */
|
|
447
|
+
outBuyerId: string;
|
|
442
448
|
}
|
|
443
449
|
}
|
|
444
450
|
|
package/types/icbu.d.ts
CHANGED
|
@@ -112,6 +112,25 @@ declare namespace Icbu.Member {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
/** ICBU */
|
|
116
|
+
declare namespace Icbu.Risk {
|
|
117
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2525&docType=9 天鹿风控事件异步消息结果} */
|
|
118
|
+
interface ZeroersMessage {
|
|
119
|
+
/** 业务回调id */
|
|
120
|
+
callbackId: string;
|
|
121
|
+
/** 审核结果 */
|
|
122
|
+
callbackResult?: string;
|
|
123
|
+
/** 风控事件 */
|
|
124
|
+
eventCode: string;
|
|
125
|
+
/** 风控唯一id */
|
|
126
|
+
eventDataId?: string;
|
|
127
|
+
/** reject原因 */
|
|
128
|
+
rejectReason?: string;
|
|
129
|
+
/** 风控结果 */
|
|
130
|
+
riskJudgeResult: string;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
115
134
|
/** ICBU */
|
|
116
135
|
declare namespace Icbu.Trade {
|
|
117
136
|
/** {@link https://open.taobao.com/tmc.htm?docId=1754&docType=9 国际站订单变更消息} */
|
package/types/index.d.ts
CHANGED
|
@@ -1088,6 +1088,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1088
1088
|
icbu_crm_XMOrderChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuCrmXMOrderChange) => void): TaoMessageConsumer;
|
|
1089
1089
|
/** {@link IncomingMessage.IcbuMemberXmUnBind ICBU > icbu国际站账号解绑小满账号} */
|
|
1090
1090
|
icbu_member_XmUnBind(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuMemberXmUnBind) => void): TaoMessageConsumer;
|
|
1091
|
+
/** {@link IncomingMessage.IcbuRiskZeroersMessage ICBU > 天鹿风控事件异步消息结果} */
|
|
1092
|
+
icbu_risk_ZeroersMessage(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuRiskZeroersMessage) => void): TaoMessageConsumer;
|
|
1091
1093
|
/** {@link IncomingMessage.IcbuTradeOrderNotify ICBU > 国际站订单变更消息} */
|
|
1092
1094
|
icbu_trade_OrderNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuTradeOrderNotify) => void): TaoMessageConsumer;
|
|
1093
1095
|
/** {@link IncomingMessage.IdleAgreementStatusChange 闲鱼 > 闲鱼代扣消息通知} */
|
|
@@ -1284,6 +1286,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1284
1286
|
taobao_dispute_RefundPriceProtect(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDisputeRefundPriceProtect) => void): TaoMessageConsumer;
|
|
1285
1287
|
/** {@link IncomingMessage.TaobaoDisputeRefundSuccess 淘宝 > 新退款成功消息} */
|
|
1286
1288
|
taobao_dispute_RefundSuccess(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDisputeRefundSuccess) => void): TaoMessageConsumer;
|
|
1289
|
+
/** {@link IncomingMessage.TaobaoDisputeTaobaoInterApplied 淘宝 > 申请小二介入} */
|
|
1290
|
+
taobao_dispute_TaobaoInterApplied(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDisputeTaobaoInterApplied) => void): TaoMessageConsumer;
|
|
1287
1291
|
/** {@link IncomingMessage.TaobaoDpaasAuthTokenCreate DPAAS > dpaas三方服务token} */
|
|
1288
1292
|
taobao_dpaas_AuthTokenCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaasAuthTokenCreate) => void): TaoMessageConsumer;
|
|
1289
1293
|
/** {@link IncomingMessage.TaobaoDpaasCustomerFlow DPAAS > 客流新增及会员到店消息} */
|
|
@@ -1306,6 +1310,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1306
1310
|
taobao_einvoice_InvoiceResultReturn(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEinvoiceInvoiceResultReturn) => void): TaoMessageConsumer;
|
|
1307
1311
|
/** {@link IncomingMessage.TaobaoEppOrderCreate 淘宝 > epp企业购对接isv订单状态同步} */
|
|
1308
1312
|
taobao_epp_OrderCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEppOrderCreate) => void): TaoMessageConsumer;
|
|
1313
|
+
/** {@link IncomingMessage.TaobaoEppPurchaseOrderStatusUpdate 淘宝 > 天猫企业购实物采购单状态变更消息} */
|
|
1314
|
+
taobao_epp_PurchaseOrderStatusUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEppPurchaseOrderStatusUpdate) => void): TaoMessageConsumer;
|
|
1309
1315
|
/** {@link IncomingMessage.TaobaoFenxiaoDealerAgree 淘宝分销 > 经销采购单审核通过} */
|
|
1310
1316
|
taobao_fenxiao_DealerAgree(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFenxiaoDealerAgree) => void): TaoMessageConsumer;
|
|
1311
1317
|
/** {@link IncomingMessage.TaobaoFenxiaoDealerClose 淘宝分销 > 经销采购单关闭} */
|
|
@@ -1736,6 +1742,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1736
1742
|
taobao_smartapp_DataSync(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappDataSync) => void): TaoMessageConsumer;
|
|
1737
1743
|
/** {@link IncomingMessage.TaobaoSmartappDiagnosticMetrics 平台消息 > 智能应用开放生意参谋诊断指标} */
|
|
1738
1744
|
taobao_smartapp_DiagnosticMetrics(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappDiagnosticMetrics) => void): TaoMessageConsumer;
|
|
1745
|
+
/** {@link IncomingMessage.TaobaoSmartappOrderAlert 平台消息 > 淘宝智能应用订单预警事件} */
|
|
1746
|
+
taobao_smartapp_OrderAlert(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappOrderAlert) => void): TaoMessageConsumer;
|
|
1739
1747
|
/** {@link IncomingMessage.TaobaoSmartappPresellEnd 平台消息 > 淘宝智能应用预售尾款截止短信催付} */
|
|
1740
1748
|
taobao_smartapp_PresellEnd(fn: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappPresellEnd) => void): TaoMessageConsumer;
|
|
1741
1749
|
/** {@link IncomingMessage.TaobaoSmartappPresellStart 平台消息 > 淘宝智能应用预售开始短信催付} */
|
|
@@ -2600,6 +2608,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2600
2608
|
icbu_crm(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuCrm) => void): TaoMessageConsumer;
|
|
2601
2609
|
/** {@link IncomingMessage.IcbuMember} */
|
|
2602
2610
|
icbu_member(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuMember) => void): TaoMessageConsumer;
|
|
2611
|
+
/** {@link IncomingMessage.IcbuRisk} */
|
|
2612
|
+
icbu_risk(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuRisk) => void): TaoMessageConsumer;
|
|
2603
2613
|
/** {@link IncomingMessage.IcbuTrade} */
|
|
2604
2614
|
icbu_trade(fn: (this: TaoMessageConsumer, message: IncomingMessage.IcbuTrade) => void): TaoMessageConsumer;
|
|
2605
2615
|
/** {@link IncomingMessage.IdleAgreement} */
|
|
@@ -4065,6 +4075,8 @@ declare interface TaoEventsListener {
|
|
|
4065
4075
|
on(topic: 'icbu_crm_XMOrderChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuCrmXMOrderChange) => void): TaoMessageConsumer;
|
|
4066
4076
|
/** {@link IncomingMessage.IcbuMemberXmUnBind ICBU > icbu国际站账号解绑小满账号} */
|
|
4067
4077
|
on(topic: 'icbu_member_XmUnBind', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuMemberXmUnBind) => void): TaoMessageConsumer;
|
|
4078
|
+
/** {@link IncomingMessage.IcbuRiskZeroersMessage ICBU > 天鹿风控事件异步消息结果} */
|
|
4079
|
+
on(topic: 'icbu_risk_ZeroersMessage', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuRiskZeroersMessage) => void): TaoMessageConsumer;
|
|
4068
4080
|
/** {@link IncomingMessage.IcbuTradeOrderNotify ICBU > 国际站订单变更消息} */
|
|
4069
4081
|
on(topic: 'icbu_trade_OrderNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuTradeOrderNotify) => void): TaoMessageConsumer;
|
|
4070
4082
|
/** {@link IncomingMessage.IdleAgreementStatusChange 闲鱼 > 闲鱼代扣消息通知} */
|
|
@@ -4261,6 +4273,8 @@ declare interface TaoEventsListener {
|
|
|
4261
4273
|
on(topic: 'taobao_dispute_RefundPriceProtect', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDisputeRefundPriceProtect) => void): TaoMessageConsumer;
|
|
4262
4274
|
/** {@link IncomingMessage.TaobaoDisputeRefundSuccess 淘宝 > 新退款成功消息} */
|
|
4263
4275
|
on(topic: 'taobao_dispute_RefundSuccess', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDisputeRefundSuccess) => void): TaoMessageConsumer;
|
|
4276
|
+
/** {@link IncomingMessage.TaobaoDisputeTaobaoInterApplied 淘宝 > 申请小二介入} */
|
|
4277
|
+
on(topic: 'taobao_dispute_TaobaoInterApplied', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDisputeTaobaoInterApplied) => void): TaoMessageConsumer;
|
|
4264
4278
|
/** {@link IncomingMessage.TaobaoDpaasAuthTokenCreate DPAAS > dpaas三方服务token} */
|
|
4265
4279
|
on(topic: 'taobao_dpaas_AuthTokenCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoDpaasAuthTokenCreate) => void): TaoMessageConsumer;
|
|
4266
4280
|
/** {@link IncomingMessage.TaobaoDpaasCustomerFlow DPAAS > 客流新增及会员到店消息} */
|
|
@@ -4283,6 +4297,8 @@ declare interface TaoEventsListener {
|
|
|
4283
4297
|
on(topic: 'taobao_einvoice_InvoiceResultReturn', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEinvoiceInvoiceResultReturn) => void): TaoMessageConsumer;
|
|
4284
4298
|
/** {@link IncomingMessage.TaobaoEppOrderCreate 淘宝 > epp企业购对接isv订单状态同步} */
|
|
4285
4299
|
on(topic: 'taobao_epp_OrderCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEppOrderCreate) => void): TaoMessageConsumer;
|
|
4300
|
+
/** {@link IncomingMessage.TaobaoEppPurchaseOrderStatusUpdate 淘宝 > 天猫企业购实物采购单状态变更消息} */
|
|
4301
|
+
on(topic: 'taobao_epp_PurchaseOrderStatusUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoEppPurchaseOrderStatusUpdate) => void): TaoMessageConsumer;
|
|
4286
4302
|
/** {@link IncomingMessage.TaobaoFenxiaoDealerAgree 淘宝分销 > 经销采购单审核通过} */
|
|
4287
4303
|
on(topic: 'taobao_fenxiao_DealerAgree', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoFenxiaoDealerAgree) => void): TaoMessageConsumer;
|
|
4288
4304
|
/** {@link IncomingMessage.TaobaoFenxiaoDealerClose 淘宝分销 > 经销采购单关闭} */
|
|
@@ -4713,6 +4729,8 @@ declare interface TaoEventsListener {
|
|
|
4713
4729
|
on(topic: 'taobao_smartapp_DataSync', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappDataSync) => void): TaoMessageConsumer;
|
|
4714
4730
|
/** {@link IncomingMessage.TaobaoSmartappDiagnosticMetrics 平台消息 > 智能应用开放生意参谋诊断指标} */
|
|
4715
4731
|
on(topic: 'taobao_smartapp_DiagnosticMetrics', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappDiagnosticMetrics) => void): TaoMessageConsumer;
|
|
4732
|
+
/** {@link IncomingMessage.TaobaoSmartappOrderAlert 平台消息 > 淘宝智能应用订单预警事件} */
|
|
4733
|
+
on(topic: 'taobao_smartapp_OrderAlert', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappOrderAlert) => void): TaoMessageConsumer;
|
|
4716
4734
|
/** {@link IncomingMessage.TaobaoSmartappPresellEnd 平台消息 > 淘宝智能应用预售尾款截止短信催付} */
|
|
4717
4735
|
on(topic: 'taobao_smartapp_PresellEnd', listener: (this: TaoMessageConsumer, message: IncomingMessage.TaobaoSmartappPresellEnd) => void): TaoMessageConsumer;
|
|
4718
4736
|
/** {@link IncomingMessage.TaobaoSmartappPresellStart 平台消息 > 淘宝智能应用预售开始短信催付} */
|
|
@@ -5577,6 +5595,8 @@ declare interface TaoEventsListener {
|
|
|
5577
5595
|
on(topic: 'icbu_crm', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuCrm) => void): TaoMessageConsumer;
|
|
5578
5596
|
/** {@link IncomingMessage.IcbuMember} */
|
|
5579
5597
|
on(topic: 'icbu_member', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuMember) => void): TaoMessageConsumer;
|
|
5598
|
+
/** {@link IncomingMessage.IcbuRisk} */
|
|
5599
|
+
on(topic: 'icbu_risk', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuRisk) => void): TaoMessageConsumer;
|
|
5580
5600
|
/** {@link IncomingMessage.IcbuTrade} */
|
|
5581
5601
|
on(topic: 'icbu_trade', listener: (this: TaoMessageConsumer, message: IncomingMessage.IcbuTrade) => void): TaoMessageConsumer;
|
|
5582
5602
|
/** {@link IncomingMessage.IdleAgreement} */
|
package/types/message.in.d.ts
CHANGED
|
@@ -1068,6 +1068,8 @@ declare namespace IncomingMessage {
|
|
|
1068
1068
|
type IcbuCrmXMOrderChange = Message & { content?: MessageContent & { topic?: 'icbu_crm_XMOrderChange', content?: string | Icbu.Crm.XMOrderChange } };
|
|
1069
1069
|
/** {@link Icbu.Member.XmUnBind ICBU > icbu国际站账号解绑小满账号} */
|
|
1070
1070
|
type IcbuMemberXmUnBind = Message & { content?: MessageContent & { topic?: 'icbu_member_XmUnBind', content?: string | Icbu.Member.XmUnBind } };
|
|
1071
|
+
/** {@link Icbu.Risk.ZeroersMessage ICBU > 天鹿风控事件异步消息结果} */
|
|
1072
|
+
type IcbuRiskZeroersMessage = Message & { content?: MessageContent & { topic?: 'icbu_risk_ZeroersMessage', content?: string | Icbu.Risk.ZeroersMessage } };
|
|
1071
1073
|
/** {@link Icbu.Trade.OrderNotify ICBU > 国际站订单变更消息} */
|
|
1072
1074
|
type IcbuTradeOrderNotify = Message & { content?: MessageContent & { topic?: 'icbu_trade_OrderNotify', content?: string | Icbu.Trade.OrderNotify } };
|
|
1073
1075
|
/** {@link Idle.Agreement.StatusChange 闲鱼 > 闲鱼代扣消息通知} */
|
|
@@ -1264,6 +1266,8 @@ declare namespace IncomingMessage {
|
|
|
1264
1266
|
type TaobaoDisputeRefundPriceProtect = Message & { content?: MessageContent & { topic?: 'taobao_dispute_RefundPriceProtect', content?: string | Taobao.Dispute.RefundPriceProtect } };
|
|
1265
1267
|
/** {@link Taobao.Dispute.RefundSuccess 淘宝 > 新退款成功消息} */
|
|
1266
1268
|
type TaobaoDisputeRefundSuccess = Message & { content?: MessageContent & { topic?: 'taobao_dispute_RefundSuccess', content?: string | Taobao.Dispute.RefundSuccess } };
|
|
1269
|
+
/** {@link Taobao.Dispute.TaobaoInterApplied 淘宝 > 申请小二介入} */
|
|
1270
|
+
type TaobaoDisputeTaobaoInterApplied = Message & { content?: MessageContent & { topic?: 'taobao_dispute_TaobaoInterApplied', content?: string | Taobao.Dispute.TaobaoInterApplied } };
|
|
1267
1271
|
/** {@link Taobao.Dpaas.AuthTokenCreate DPAAS > dpaas三方服务token} */
|
|
1268
1272
|
type TaobaoDpaasAuthTokenCreate = Message & { content?: MessageContent & { topic?: 'taobao_dpaas_AuthTokenCreate', content?: string | Taobao.Dpaas.AuthTokenCreate } };
|
|
1269
1273
|
/** {@link Taobao.Dpaas.CustomerFlow DPAAS > 客流新增及会员到店消息} */
|
|
@@ -1286,6 +1290,8 @@ declare namespace IncomingMessage {
|
|
|
1286
1290
|
type TaobaoEinvoiceInvoiceResultReturn = Message & { content?: MessageContent & { topic?: 'taobao_einvoice_InvoiceResultReturn', content?: string | Taobao.Einvoice.InvoiceResultReturn } };
|
|
1287
1291
|
/** {@link Taobao.Epp.OrderCreate 淘宝 > epp企业购对接isv订单状态同步} */
|
|
1288
1292
|
type TaobaoEppOrderCreate = Message & { content?: MessageContent & { topic?: 'taobao_epp_OrderCreate', content?: string | Taobao.Epp.OrderCreate } };
|
|
1293
|
+
/** {@link Taobao.Epp.PurchaseOrderStatusUpdate 淘宝 > 天猫企业购实物采购单状态变更消息} */
|
|
1294
|
+
type TaobaoEppPurchaseOrderStatusUpdate = Message & { content?: MessageContent & { topic?: 'taobao_epp_PurchaseOrderStatusUpdate', content?: string | Taobao.Epp.PurchaseOrderStatusUpdate } };
|
|
1289
1295
|
/** {@link Taobao.Fenxiao.DealerAgree 淘宝分销 > 经销采购单审核通过} */
|
|
1290
1296
|
type TaobaoFenxiaoDealerAgree = Message & { content?: MessageContent & { topic?: 'taobao_fenxiao_DealerAgree', content?: string | Taobao.Fenxiao.DealerAgree } };
|
|
1291
1297
|
/** {@link Taobao.Fenxiao.DealerClose 淘宝分销 > 经销采购单关闭} */
|
|
@@ -1716,6 +1722,8 @@ declare namespace IncomingMessage {
|
|
|
1716
1722
|
type TaobaoSmartappDataSync = Message & { content?: MessageContent & { topic?: 'taobao_smartapp_DataSync', content?: string | Taobao.Smartapp.DataSync } };
|
|
1717
1723
|
/** {@link Taobao.Smartapp.DiagnosticMetrics 平台消息 > 智能应用开放生意参谋诊断指标} */
|
|
1718
1724
|
type TaobaoSmartappDiagnosticMetrics = Message & { content?: MessageContent & { topic?: 'taobao_smartapp_DiagnosticMetrics', content?: string | Taobao.Smartapp.DiagnosticMetrics } };
|
|
1725
|
+
/** {@link Taobao.Smartapp.OrderAlert 平台消息 > 淘宝智能应用订单预警事件} */
|
|
1726
|
+
type TaobaoSmartappOrderAlert = Message & { content?: MessageContent & { topic?: 'taobao_smartapp_OrderAlert', content?: string | Taobao.Smartapp.OrderAlert } };
|
|
1719
1727
|
/** {@link Taobao.Smartapp.PresellEnd 平台消息 > 淘宝智能应用预售尾款截止短信催付} */
|
|
1720
1728
|
type TaobaoSmartappPresellEnd = Message & { content?: MessageContent & { topic?: 'taobao_smartapp_PresellEnd', content?: string | Taobao.Smartapp.PresellEnd } };
|
|
1721
1729
|
/** {@link Taobao.Smartapp.PresellStart 平台消息 > 淘宝智能应用预售开始短信催付} */
|
|
@@ -3604,6 +3612,10 @@ declare namespace IncomingMessage {
|
|
|
3604
3612
|
* - {@link IcbuMemberXmUnBind ICBU > icbu国际站账号解绑小满账号}
|
|
3605
3613
|
*/
|
|
3606
3614
|
type IcbuMember = IcbuMemberXmUnBind;
|
|
3615
|
+
/**
|
|
3616
|
+
* - {@link IcbuRiskZeroersMessage ICBU > 天鹿风控事件异步消息结果}
|
|
3617
|
+
*/
|
|
3618
|
+
type IcbuRisk = IcbuRiskZeroersMessage;
|
|
3607
3619
|
/**
|
|
3608
3620
|
* - {@link IcbuTradeOrderNotify ICBU > 国际站订单变更消息}
|
|
3609
3621
|
*/
|
|
@@ -3864,6 +3876,7 @@ declare namespace IncomingMessage {
|
|
|
3864
3876
|
* - {@link TaobaoDisputeRefundCreated 淘宝 > 新退款创建}
|
|
3865
3877
|
* - {@link TaobaoDisputeRefundPriceProtect 淘宝 > 价保退款成功}
|
|
3866
3878
|
* - {@link TaobaoDisputeRefundSuccess 淘宝 > 新退款成功消息}
|
|
3879
|
+
* - {@link TaobaoDisputeTaobaoInterApplied 淘宝 > 申请小二介入}
|
|
3867
3880
|
*/
|
|
3868
3881
|
type TaobaoDispute = TaobaoDisputeExchangeAgree
|
|
3869
3882
|
| TaobaoDisputeExchangeClosed
|
|
@@ -3873,7 +3886,8 @@ declare namespace IncomingMessage {
|
|
|
3873
3886
|
| TaobaoDisputeExchangeTurnToRefund
|
|
3874
3887
|
| TaobaoDisputeRefundCreated
|
|
3875
3888
|
| TaobaoDisputeRefundPriceProtect
|
|
3876
|
-
| TaobaoDisputeRefundSuccess
|
|
3889
|
+
| TaobaoDisputeRefundSuccess
|
|
3890
|
+
| TaobaoDisputeTaobaoInterApplied;
|
|
3877
3891
|
/**
|
|
3878
3892
|
* - {@link TaobaoDpaasAuthTokenCreate DPAAS > dpaas三方服务token}
|
|
3879
3893
|
* - {@link TaobaoDpaasCustomerFlow DPAAS > 客流新增及会员到店消息}
|
|
@@ -3902,8 +3916,10 @@ declare namespace IncomingMessage {
|
|
|
3902
3916
|
| TaobaoEinvoiceInvoiceResultReturn;
|
|
3903
3917
|
/**
|
|
3904
3918
|
* - {@link TaobaoEppOrderCreate 淘宝 > epp企业购对接isv订单状态同步}
|
|
3919
|
+
* - {@link TaobaoEppPurchaseOrderStatusUpdate 淘宝 > 天猫企业购实物采购单状态变更消息}
|
|
3905
3920
|
*/
|
|
3906
|
-
type TaobaoEpp = TaobaoEppOrderCreate
|
|
3921
|
+
type TaobaoEpp = TaobaoEppOrderCreate
|
|
3922
|
+
| TaobaoEppPurchaseOrderStatusUpdate;
|
|
3907
3923
|
/**
|
|
3908
3924
|
* - {@link TaobaoFenxiaoDealerAgree 淘宝分销 > 经销采购单审核通过}
|
|
3909
3925
|
* - {@link TaobaoFenxiaoDealerClose 淘宝分销 > 经销采购单关闭}
|
|
@@ -4434,6 +4450,7 @@ declare namespace IncomingMessage {
|
|
|
4434
4450
|
* - {@link TaobaoSmartappAppSubChange 平台消息 > 用户订阅变更消息}
|
|
4435
4451
|
* - {@link TaobaoSmartappDataSync 平台消息 > 智能应用服务登记数据变更消息}
|
|
4436
4452
|
* - {@link TaobaoSmartappDiagnosticMetrics 平台消息 > 智能应用开放生意参谋诊断指标}
|
|
4453
|
+
* - {@link TaobaoSmartappOrderAlert 平台消息 > 淘宝智能应用订单预警事件}
|
|
4437
4454
|
* - {@link TaobaoSmartappPresellEnd 平台消息 > 淘宝智能应用预售尾款截止短信催付}
|
|
4438
4455
|
* - {@link TaobaoSmartappPresellStart 平台消息 > 淘宝智能应用预售开始短信催付}
|
|
4439
4456
|
* - {@link TaobaoSmartappSchedulerTask 平台消息 > 定时任务消息}
|
|
@@ -4444,6 +4461,7 @@ declare namespace IncomingMessage {
|
|
|
4444
4461
|
type TaobaoSmartapp = TaobaoSmartappAppSubChange
|
|
4445
4462
|
| TaobaoSmartappDataSync
|
|
4446
4463
|
| TaobaoSmartappDiagnosticMetrics
|
|
4464
|
+
| TaobaoSmartappOrderAlert
|
|
4447
4465
|
| TaobaoSmartappPresellEnd
|
|
4448
4466
|
| TaobaoSmartappPresellStart
|
|
4449
4467
|
| TaobaoSmartappSchedulerTask
|
|
@@ -5515,12 +5533,14 @@ declare namespace IncomingMessage {
|
|
|
5515
5533
|
* - {@link IcbuChat}
|
|
5516
5534
|
* - {@link IcbuCrm}
|
|
5517
5535
|
* - {@link IcbuMember}
|
|
5536
|
+
* - {@link IcbuRisk}
|
|
5518
5537
|
* - {@link IcbuTrade}
|
|
5519
5538
|
*/
|
|
5520
5539
|
type Icbu = IcbuAlicrm
|
|
5521
5540
|
| IcbuChat
|
|
5522
5541
|
| IcbuCrm
|
|
5523
5542
|
| IcbuMember
|
|
5543
|
+
| IcbuRisk
|
|
5524
5544
|
| IcbuTrade;
|
|
5525
5545
|
/**
|
|
5526
5546
|
* - {@link IdleAgreement}
|
package/types/message.out.d.ts
CHANGED
|
@@ -1651,7 +1651,7 @@ declare namespace Xiaoman.Perform {
|
|
|
1651
1651
|
/** 小满客户id */
|
|
1652
1652
|
okki_client_id: string;
|
|
1653
1653
|
/** 执行时间 */
|
|
1654
|
-
okki_execute_time
|
|
1654
|
+
okki_execute_time?: Date | number | string;
|
|
1655
1655
|
/** 小满订单号 */
|
|
1656
1656
|
okki_order_no: string;
|
|
1657
1657
|
/** 小满合同号 */
|
package/types/taobao.d.ts
CHANGED
|
@@ -1084,6 +1084,28 @@ declare namespace Taobao.Dispute {
|
|
|
1084
1084
|
/** 支付单ID */
|
|
1085
1085
|
tid: number | bigint;
|
|
1086
1086
|
}
|
|
1087
|
+
|
|
1088
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2532&docType=9 申请小二介入} */
|
|
1089
|
+
interface TaobaoInterApplied {
|
|
1090
|
+
/** 1/2:退款,3:退货退款,4/6:换货,其他请调api获取详细信息 */
|
|
1091
|
+
biz_claim_type: number;
|
|
1092
|
+
/** 涉及金额 */
|
|
1093
|
+
buyer_refund_fee: number;
|
|
1094
|
+
/** 创建时间 */
|
|
1095
|
+
create: Date | number | string;
|
|
1096
|
+
/** 1:售中, 2:售后 */
|
|
1097
|
+
dispute_type: number;
|
|
1098
|
+
/** 更新时间 */
|
|
1099
|
+
modified: Date | number | string;
|
|
1100
|
+
/** 子订单ID */
|
|
1101
|
+
oid: number | bigint;
|
|
1102
|
+
/** 退款id(Long)或消息id(字符串) */
|
|
1103
|
+
refund_id: number;
|
|
1104
|
+
/** 卖家openUid */
|
|
1105
|
+
seller_open_uid: string;
|
|
1106
|
+
/** 支付单ID */
|
|
1107
|
+
tid: number | bigint;
|
|
1108
|
+
}
|
|
1087
1109
|
}
|
|
1088
1110
|
|
|
1089
1111
|
/** DPAAS */
|
|
@@ -1248,6 +1270,14 @@ declare namespace Taobao.Epp {
|
|
|
1248
1270
|
/** 当前订单状态: 2=已支付 6=交易成功 8=关闭 */
|
|
1249
1271
|
tbOrderStatus: string;
|
|
1250
1272
|
}
|
|
1273
|
+
|
|
1274
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2528&docType=9 天猫企业购实物采购单状态变更消息} */
|
|
1275
|
+
interface PurchaseOrderStatusUpdate {
|
|
1276
|
+
/** 外部采购单号 */
|
|
1277
|
+
outOrderId: string;
|
|
1278
|
+
/** 状态描述(会随淘宝订单的状态变化而变化) -1:采购失败 10:采购中 11:采购成功 31:部分已发货 32:已全部发货 51:部分交易成功 52:全部交易成功 */
|
|
1279
|
+
status: string;
|
|
1280
|
+
}
|
|
1251
1281
|
}
|
|
1252
1282
|
|
|
1253
1283
|
/** 淘宝分销 */
|
|
@@ -4233,7 +4263,7 @@ declare namespace Taobao.Refund {
|
|
|
4233
4263
|
outOrderId: string;
|
|
4234
4264
|
/** 退款单号 */
|
|
4235
4265
|
refundOrderId: string;
|
|
4236
|
-
/** 退款单状态2
|
|
4266
|
+
/** 退款单状态 1:退款单创建;2:卖家同意退款;3:卖家拒绝退款;4:卖家同意退货; 5:买家已寄回;6:退款单完成;7:退款单已取消; */
|
|
4237
4267
|
refundStatus: string;
|
|
4238
4268
|
}
|
|
4239
4269
|
|
|
@@ -4707,6 +4737,20 @@ declare namespace Taobao.Smartapp {
|
|
|
4707
4737
|
user_nick: string;
|
|
4708
4738
|
}
|
|
4709
4739
|
|
|
4740
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2529&docType=9 淘宝智能应用订单预警事件} */
|
|
4741
|
+
interface OrderAlert {
|
|
4742
|
+
/** 操作链接 */
|
|
4743
|
+
action: string;
|
|
4744
|
+
/** 预警任务类型 */
|
|
4745
|
+
alertType: string;
|
|
4746
|
+
/** 预警任务ID */
|
|
4747
|
+
eventId: string;
|
|
4748
|
+
/** 预警任务名称 */
|
|
4749
|
+
flowName: string;
|
|
4750
|
+
/** 订单号 */
|
|
4751
|
+
tid: string;
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4710
4754
|
/** {@link https://open.taobao.com/tmc.htm?docId=2414&docType=9 淘宝智能应用预售尾款截止短信催付} */
|
|
4711
4755
|
interface PresellEnd {
|
|
4712
4756
|
/** 买家openId */
|