tmc.js 0.3.9 → 0.3.10
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/lib/message.js +22 -17
- package/package.json +1 -1
- package/types/alibaba.d.ts +21 -1
- package/types/fliggy.d.ts +1 -1
- package/types/index.d.ts +12 -0
- package/types/message.d.ts +1 -1
- package/types/message.in.d.ts +428 -416
- package/types/message.out.d.ts +32 -32
- package/types/taobao.d.ts +90 -54
- package/types/tmall.d.ts +1 -1
package/types/message.out.d.ts
CHANGED
|
@@ -2,57 +2,57 @@
|
|
|
2
2
|
|
|
3
3
|
declare namespace OutgoingMessage {
|
|
4
4
|
/** {@link Alibaba.Nazca.AbandonCertResponse 网上法庭 > 作废存证返回消息接口} */
|
|
5
|
-
type AlibabaNazcaAbandonCertResponse = Message & { content: MessageContent & { content: string | Alibaba.Nazca.AbandonCertResponse } };
|
|
5
|
+
type AlibabaNazcaAbandonCertResponse = Message & { content: MessageContent & { topic: 'alibaba_nazca_AbandonCertResponse', content: string | Alibaba.Nazca.AbandonCertResponse } };
|
|
6
6
|
/** {@link Alibaba.Nazca.QueryChargeNumResponse 网上法庭 > 查询收费数量返回消息} */
|
|
7
|
-
type AlibabaNazcaQueryChargeNumResponse = Message & { content: MessageContent & { content: string | Alibaba.Nazca.QueryChargeNumResponse } };
|
|
7
|
+
type AlibabaNazcaQueryChargeNumResponse = Message & { content: MessageContent & { topic: 'alibaba_nazca_QueryChargeNumResponse', content: string | Alibaba.Nazca.QueryChargeNumResponse } };
|
|
8
8
|
/** {@link Alibaba.Nazca.SaveCertResponse 网上法庭 > 存证返回消息接口} */
|
|
9
|
-
type AlibabaNazcaSaveCertResponse = Message & { content: MessageContent & { content: string | Alibaba.Nazca.SaveCertResponse } };
|
|
9
|
+
type AlibabaNazcaSaveCertResponse = Message & { content: MessageContent & { topic: 'alibaba_nazca_SaveCertResponse', content: string | Alibaba.Nazca.SaveCertResponse } };
|
|
10
10
|
/** {@link Alibaba.Nazca.UpdateChargeNumResponse 网上法庭 > 更新收费数量返回消息} */
|
|
11
|
-
type AlibabaNazcaUpdateChargeNumResponse = Message & { content: MessageContent & { content: string | Alibaba.Nazca.UpdateChargeNumResponse } };
|
|
11
|
+
type AlibabaNazcaUpdateChargeNumResponse = Message & { content: MessageContent & { topic: 'alibaba_nazca_UpdateChargeNumResponse', content: string | Alibaba.Nazca.UpdateChargeNumResponse } };
|
|
12
12
|
/** {@link Alibaba.Pur.NotifyProduct 信息平台-采购 > 同步商品通知} */
|
|
13
|
-
type AlibabaPurNotifyProduct = Message & { content: MessageContent & { content: string | Alibaba.Pur.NotifyProduct } };
|
|
13
|
+
type AlibabaPurNotifyProduct = Message & { content: MessageContent & { topic: 'alibaba_pur_NotifyProduct', content: string | Alibaba.Pur.NotifyProduct } };
|
|
14
14
|
/** {@link Alicom.Secret.VendorMonitor 阿里通信 > 供应商监控消息} */
|
|
15
|
-
type AlicomSecretVendorMonitor = Message & { content: MessageContent & { content: string | Alicom.Secret.VendorMonitor } };
|
|
15
|
+
type AlicomSecretVendorMonitor = Message & { content: MessageContent & { topic: 'alicom_secret_VendorMonitor', content: string | Alicom.Secret.VendorMonitor } };
|
|
16
16
|
/** {@link Ant.Pur.NotifyProduct 蚂蚁采购 > 蚂蚁采购同步商品通知} */
|
|
17
|
-
type AntPurNotifyProduct = Message & { content: MessageContent & { content: string | Ant.Pur.NotifyProduct } };
|
|
17
|
+
type AntPurNotifyProduct = Message & { content: MessageContent & { topic: 'ant_pur_NotifyProduct', content: string | Ant.Pur.NotifyProduct } };
|
|
18
18
|
/** {@link Ele.Fengniao.ChainstoreAbility 蜂鸟物流 > 门店开关店能力通知} */
|
|
19
|
-
type EleFengniaoChainstoreAbility = Message & { content: MessageContent & { content: string | Ele.Fengniao.ChainstoreAbility } };
|
|
19
|
+
type EleFengniaoChainstoreAbility = Message & { content: MessageContent & { topic: 'ele_fengniao_ChainstoreAbility', content: string | Ele.Fengniao.ChainstoreAbility } };
|
|
20
20
|
/** {@link Ele.Fengniao.ChainstoreRange 蜂鸟物流 > 门店配送范围变更消息} */
|
|
21
|
-
type EleFengniaoChainstoreRange = Message & { content: MessageContent & { content: string | Ele.Fengniao.ChainstoreRange } };
|
|
21
|
+
type EleFengniaoChainstoreRange = Message & { content: MessageContent & { topic: 'ele_fengniao_ChainstoreRange', content: string | Ele.Fengniao.ChainstoreRange } };
|
|
22
22
|
/** {@link Ele.Fengniao.ChainstoreSign 蜂鸟物流 > 门店签约结果通知} */
|
|
23
|
-
type EleFengniaoChainstoreSign = Message & { content: MessageContent & { content: string | Ele.Fengniao.ChainstoreSign } };
|
|
23
|
+
type EleFengniaoChainstoreSign = Message & { content: MessageContent & { topic: 'ele_fengniao_ChainstoreSign', content: string | Ele.Fengniao.ChainstoreSign } };
|
|
24
24
|
/** {@link Ele.Fengniao.MerchantSign 蜂鸟物流 > 商家签约结果通知} */
|
|
25
|
-
type EleFengniaoMerchantSign = Message & { content: MessageContent & { content: string | Ele.Fengniao.MerchantSign } };
|
|
25
|
+
type EleFengniaoMerchantSign = Message & { content: MessageContent & { topic: 'ele_fengniao_MerchantSign', content: string | Ele.Fengniao.MerchantSign } };
|
|
26
26
|
/** {@link Ele.Fengniao.ReportAbnormal 蜂鸟物流 > 异常报备消息通知} */
|
|
27
|
-
type EleFengniaoReportAbnormal = Message & { content: MessageContent & { content: string | Ele.Fengniao.ReportAbnormal } };
|
|
27
|
+
type EleFengniaoReportAbnormal = Message & { content: MessageContent & { topic: 'ele_fengniao_ReportAbnormal', content: string | Ele.Fengniao.ReportAbnormal } };
|
|
28
28
|
/** {@link Ele.Fengniao.StatusSync 蜂鸟物流 > 物流状态信息同步} */
|
|
29
|
-
type EleFengniaoStatusSync = Message & { content: MessageContent & { content: string | Ele.Fengniao.StatusSync } };
|
|
29
|
+
type EleFengniaoStatusSync = Message & { content: MessageContent & { topic: 'ele_fengniao_StatusSync', content: string | Ele.Fengniao.StatusSync } };
|
|
30
30
|
/** {@link Taobao.Fuwu.CustomerServicePerformance 服务市场 > 客服绩效统计表} */
|
|
31
|
-
type TaobaoFuwuCustomerServicePerformance = Message & { content: MessageContent & { content: string | Taobao.Fuwu.CustomerServicePerformance } };
|
|
31
|
+
type TaobaoFuwuCustomerServicePerformance = Message & { content: MessageContent & { topic: 'taobao_fuwu_CustomerServicePerformance', content: string | Taobao.Fuwu.CustomerServicePerformance } };
|
|
32
32
|
/** {@link Taobao.Fuwu.ElectronicInvoice 服务市场 > 电子发票信息} */
|
|
33
|
-
type TaobaoFuwuElectronicInvoice = Message & { content: MessageContent & { content: string | Taobao.Fuwu.ElectronicInvoice } };
|
|
33
|
+
type TaobaoFuwuElectronicInvoice = Message & { content: MessageContent & { topic: 'taobao_fuwu_ElectronicInvoice', content: string | Taobao.Fuwu.ElectronicInvoice } };
|
|
34
34
|
/** {@link Taobao.Homeai.LayoutTransfer HOMEAI消息对接 > 一键迁移算法接口} */
|
|
35
|
-
type TaobaoHomeaiLayoutTransfer = Message & { content: MessageContent & { content: string | Taobao.Homeai.LayoutTransfer } };
|
|
35
|
+
type TaobaoHomeaiLayoutTransfer = Message & { content: MessageContent & { topic: 'taobao_homeai_LayoutTransfer', content: string | Taobao.Homeai.LayoutTransfer } };
|
|
36
36
|
/** {@link Taobao.Homeai.RenderResult HOMEAI消息对接 > HomeStyler渲染结果消息} */
|
|
37
|
-
type TaobaoHomeaiRenderResult = Message & { content: MessageContent & { content: string | Taobao.Homeai.RenderResult } };
|
|
37
|
+
type TaobaoHomeaiRenderResult = Message & { content: MessageContent & { topic: 'taobao_homeai_RenderResult', content: string | Taobao.Homeai.RenderResult } };
|
|
38
38
|
/** {@link Taobao.Ihomesvj.SyncSvjCrmData HOMEAI > 同步svj的crm数据} */
|
|
39
|
-
type TaobaoIhomesvjSyncSvjCrmData = Message & { content: MessageContent & { content: string | Taobao.Ihomesvj.SyncSvjCrmData } };
|
|
39
|
+
type TaobaoIhomesvjSyncSvjCrmData = Message & { content: MessageContent & { topic: 'taobao_ihomesvj_SyncSvjCrmData', content: string | Taobao.Ihomesvj.SyncSvjCrmData } };
|
|
40
40
|
/** {@link Taobao.Jds.RefundTrace 交易全链路 > 退款单状态跟踪} */
|
|
41
|
-
type TaobaoJdsRefundTrace = Message & { content: MessageContent & { content: string | Taobao.Jds.RefundTrace } };
|
|
41
|
+
type TaobaoJdsRefundTrace = Message & { content: MessageContent & { topic: 'taobao_jds_RefundTrace', content: string | Taobao.Jds.RefundTrace } };
|
|
42
42
|
/** {@link Taobao.Jds.TradeTrace 交易全链路 > 交易订单状态跟踪} */
|
|
43
|
-
type TaobaoJdsTradeTrace = Message & { content: MessageContent & { content: string | Taobao.Jds.TradeTrace } };
|
|
43
|
+
type TaobaoJdsTradeTrace = Message & { content: MessageContent & { topic: 'taobao_jds_TradeTrace', content: string | Taobao.Jds.TradeTrace } };
|
|
44
44
|
/** {@link Tmall.Mh.MacAddress 天猫魔盒 > 天猫魔盒线下Mac地址回传} */
|
|
45
|
-
type TmallMhMacAddress = Message & { content: MessageContent & { content: string | Tmall.Mh.MacAddress } };
|
|
45
|
+
type TmallMhMacAddress = Message & { content: MessageContent & { topic: 'tmall_mh_MacAddress', content: string | Tmall.Mh.MacAddress } };
|
|
46
46
|
/** {@link Tmall.Mh.SerialNumber 天猫魔盒 > 天猫魔盒扫码SN号回传} */
|
|
47
|
-
type TmallMhSerialNumber = Message & { content: MessageContent & { content: string | Tmall.Mh.SerialNumber } };
|
|
47
|
+
type TmallMhSerialNumber = Message & { content: MessageContent & { topic: 'tmall_mh_SerialNumber', content: string | Tmall.Mh.SerialNumber } };
|
|
48
48
|
/** {@link Tmall.Nrt.DealerToTmall 新零售终端上行消息 > 商户信息回流} */
|
|
49
|
-
type TmallNrtDealerToTmall = Message & { content: MessageContent & { content: string | Tmall.Nrt.DealerToTmall } };
|
|
49
|
+
type TmallNrtDealerToTmall = Message & { content: MessageContent & { topic: 'tmall_nrt_DealerToTmall', content: string | Tmall.Nrt.DealerToTmall } };
|
|
50
50
|
/** {@link Tmall.Nrt.StallContractToTmall 新零售终端上行消息 > 摊位合同数据回流} */
|
|
51
|
-
type TmallNrtStallContractToTmall = Message & { content: MessageContent & { content: string | Tmall.Nrt.StallContractToTmall } };
|
|
51
|
+
type TmallNrtStallContractToTmall = Message & { content: MessageContent & { topic: 'tmall_nrt_StallContractToTmall', content: string | Tmall.Nrt.StallContractToTmall } };
|
|
52
52
|
/** {@link Tmall.Nrt.StallInfoToTmall 新零售终端上行消息 > 摊位信息数据回流} */
|
|
53
|
-
type TmallNrtStallInfoToTmall = Message & { content: MessageContent & { content: string | Tmall.Nrt.StallInfoToTmall } };
|
|
53
|
+
type TmallNrtStallInfoToTmall = Message & { content: MessageContent & { topic: 'tmall_nrt_StallInfoToTmall', content: string | Tmall.Nrt.StallInfoToTmall } };
|
|
54
54
|
/** {@link Tmall.Nrt.StoreInfoToTmall 新零售终端上行消息 > 门店信息回流} */
|
|
55
|
-
type TmallNrtStoreInfoToTmall = Message & { content: MessageContent & { content: string | Tmall.Nrt.StoreInfoToTmall } };
|
|
55
|
+
type TmallNrtStoreInfoToTmall = Message & { content: MessageContent & { topic: 'tmall_nrt_StoreInfoToTmall', content: string | Tmall.Nrt.StoreInfoToTmall } };
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/** 网上法庭 */
|
|
@@ -391,9 +391,9 @@ declare namespace Taobao.Fuwu {
|
|
|
391
391
|
/** 开票日期 */
|
|
392
392
|
invoice_time: Date;
|
|
393
393
|
/** 淘宝子订单号 */
|
|
394
|
-
oid: number;
|
|
394
|
+
oid: number | bigint;
|
|
395
395
|
/** 交易编号 (父订单的交易编号) */
|
|
396
|
-
tid: number;
|
|
396
|
+
tid: number | bigint;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
|
|
@@ -450,7 +450,7 @@ declare namespace Taobao.Jds {
|
|
|
450
450
|
/** 订单状态。T_WAIT_BUYER_PAY(等待买家付款),T_WAIT_SELLER_SEND_GOODS(等待卖家发货),X_DOWNLOADED(订单已推送),X_TO_SYSTEM(系统已接单),X_SERVICE_AUDITED(已客审),X_FINANCE_AUDITED(已财审),X_ALLOCATION_NOTIFIED(已通知配货),X_WAIT_ALLOCATION(待配货),X_SORT_PRINTED(已打拣货单),X_SEND_PRINTED(已打发货单),X_LOGISTICS_PRINTED(已打物流单),X_SORTED(已拣货),X_EXAMINED(已验货),X_PACKAGED(已打包),X_WEIGHED(已称重),X_OUT_WAREHOUSE(已出库),T_WAIT_BUYER_CONFIRM_GOODS(已发货),T_TRADE_FINISHED(已完成),T_TRADE_CLOSED(已结束) */
|
|
451
451
|
status: string;
|
|
452
452
|
/** 交易ID */
|
|
453
|
-
tid: number;
|
|
453
|
+
tid: number | bigint;
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
|
|
@@ -493,7 +493,7 @@ declare namespace Tmall.Mh {
|
|
|
493
493
|
/** 规格编码 */
|
|
494
494
|
sku_num: string;
|
|
495
495
|
/** 订单id */
|
|
496
|
-
tid: number;
|
|
496
|
+
tid: number | bigint;
|
|
497
497
|
/** 总价 */
|
|
498
498
|
total: string;
|
|
499
499
|
/** 单位 */
|
|
@@ -521,7 +521,7 @@ declare namespace Tmall.Mh {
|
|
|
521
521
|
/** 销售渠道 */
|
|
522
522
|
sales_channels: string;
|
|
523
523
|
/** 订单ID */
|
|
524
|
-
tid: number;
|
|
524
|
+
tid: number | bigint;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
|
|
@@ -612,4 +612,4 @@ declare namespace Tmall.Nrt {
|
|
|
612
612
|
/** 操作类型 删除-delete 新增-insert 更新-update */
|
|
613
613
|
op_type: string;
|
|
614
614
|
}
|
|
615
|
-
}
|
|
615
|
+
}
|
package/types/taobao.d.ts
CHANGED
|
@@ -213,9 +213,9 @@ declare namespace Taobao.Carlease {
|
|
|
213
213
|
/** 事件类型:1:免首付订单金额计算完成触发;2:逆向退款触发;3:逆向退款完成 */
|
|
214
214
|
event_type: number;
|
|
215
215
|
/** 子订单ID */
|
|
216
|
-
oid: number;
|
|
216
|
+
oid: number | bigint;
|
|
217
217
|
/** 主订单ID */
|
|
218
|
-
tid: number;
|
|
218
|
+
tid: number | bigint;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -844,6 +844,22 @@ declare namespace Taobao.Homeai {
|
|
|
844
844
|
out_param: string;
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
+
/** 推送模型与商品关系 */
|
|
848
|
+
interface ModelSkuRelation {
|
|
849
|
+
/** 淘宝的商品ID */
|
|
850
|
+
item_id: string;
|
|
851
|
+
/** 居然模型ID */
|
|
852
|
+
jid: string;
|
|
853
|
+
/** 阿里模型ID */
|
|
854
|
+
model_id: string;
|
|
855
|
+
/** 描述绑定或者解绑操作。绑定对应BIND,解绑对应UNBIND */
|
|
856
|
+
operation: string;
|
|
857
|
+
/** 经销商ID */
|
|
858
|
+
seller_id: string;
|
|
859
|
+
/** SKU_ID */
|
|
860
|
+
sku_id: string;
|
|
861
|
+
}
|
|
862
|
+
|
|
847
863
|
/** HS渲染消息 */
|
|
848
864
|
interface RenderRequest {
|
|
849
865
|
/** homeai_fsadfakjlf-f1234j */
|
|
@@ -928,11 +944,11 @@ declare namespace Taobao.Item {
|
|
|
928
944
|
/** 商品数量 */
|
|
929
945
|
num: number;
|
|
930
946
|
/** 商品数字ID */
|
|
931
|
-
num_iid: number;
|
|
947
|
+
num_iid: number | bigint;
|
|
932
948
|
/** 商品价格 */
|
|
933
949
|
price: string;
|
|
934
950
|
/** 商品SKU ID */
|
|
935
|
-
sku_id: number;
|
|
951
|
+
sku_id: number | bigint;
|
|
936
952
|
/** 商品SKU数量 */
|
|
937
953
|
sku_num: number;
|
|
938
954
|
/** 商品状态 */
|
|
@@ -946,11 +962,11 @@ declare namespace Taobao.Item {
|
|
|
946
962
|
/** 卖家昵称 */
|
|
947
963
|
nick: string;
|
|
948
964
|
/** 商品数字ID */
|
|
949
|
-
num_iid: number;
|
|
965
|
+
num_iid: number | bigint;
|
|
950
966
|
/** 商品价格 */
|
|
951
967
|
price: string;
|
|
952
968
|
/** 商品SKU ID */
|
|
953
|
-
sku_id: number;
|
|
969
|
+
sku_id: number | bigint;
|
|
954
970
|
/** 商品SKU数量 */
|
|
955
971
|
sku_num: number;
|
|
956
972
|
/** 商品状态 */
|
|
@@ -962,11 +978,11 @@ declare namespace Taobao.Item {
|
|
|
962
978
|
/** 卖家昵称 */
|
|
963
979
|
nick: string;
|
|
964
980
|
/** 商品数字ID */
|
|
965
|
-
num_iid: number;
|
|
981
|
+
num_iid: number | bigint;
|
|
966
982
|
/** 商品价格 */
|
|
967
983
|
price: string;
|
|
968
984
|
/** 商品SKU ID */
|
|
969
|
-
sku_id: number;
|
|
985
|
+
sku_id: number | bigint;
|
|
970
986
|
/** 商品SKU数量 */
|
|
971
987
|
sku_num: number;
|
|
972
988
|
/** 商品状态 */
|
|
@@ -978,11 +994,11 @@ declare namespace Taobao.Item {
|
|
|
978
994
|
/** 卖家昵称 */
|
|
979
995
|
nick: string;
|
|
980
996
|
/** 商品数字ID */
|
|
981
|
-
num_iid: number;
|
|
997
|
+
num_iid: number | bigint;
|
|
982
998
|
/** 商品价格 */
|
|
983
999
|
price: string;
|
|
984
1000
|
/** 商品SKU ID */
|
|
985
|
-
sku_id: number;
|
|
1001
|
+
sku_id: number | bigint;
|
|
986
1002
|
/** 商品SKU数量 */
|
|
987
1003
|
sku_num: number;
|
|
988
1004
|
/** 商品状态 */
|
|
@@ -994,11 +1010,11 @@ declare namespace Taobao.Item {
|
|
|
994
1010
|
/** 卖家昵称 */
|
|
995
1011
|
nick: string;
|
|
996
1012
|
/** 商品数字ID */
|
|
997
|
-
num_iid: number;
|
|
1013
|
+
num_iid: number | bigint;
|
|
998
1014
|
/** 商品价格 */
|
|
999
1015
|
price: string;
|
|
1000
1016
|
/** 商品SKU ID */
|
|
1001
|
-
sku_id: number;
|
|
1017
|
+
sku_id: number | bigint;
|
|
1002
1018
|
/** 商品SKU数量 */
|
|
1003
1019
|
sku_num: number;
|
|
1004
1020
|
/** 商品状态 */
|
|
@@ -1010,11 +1026,11 @@ declare namespace Taobao.Item {
|
|
|
1010
1026
|
/** 卖家昵称 */
|
|
1011
1027
|
nick: string;
|
|
1012
1028
|
/** 商品数字ID */
|
|
1013
|
-
num_iid: number;
|
|
1029
|
+
num_iid: number | bigint;
|
|
1014
1030
|
/** 商品价格 */
|
|
1015
1031
|
price: string;
|
|
1016
1032
|
/** 商品SKU ID */
|
|
1017
|
-
sku_id: number;
|
|
1033
|
+
sku_id: number | bigint;
|
|
1018
1034
|
/** 商品SKU数量 */
|
|
1019
1035
|
sku_num: number;
|
|
1020
1036
|
/** 商品状态 */
|
|
@@ -1028,11 +1044,11 @@ declare namespace Taobao.Item {
|
|
|
1028
1044
|
/** 商品数量 */
|
|
1029
1045
|
num: number;
|
|
1030
1046
|
/** 商品数字ID */
|
|
1031
|
-
num_iid: number;
|
|
1047
|
+
num_iid: number | bigint;
|
|
1032
1048
|
/** 商品价格 */
|
|
1033
1049
|
price: string;
|
|
1034
1050
|
/** 商品SKU ID */
|
|
1035
|
-
sku_id: number;
|
|
1051
|
+
sku_id: number | bigint;
|
|
1036
1052
|
/** 商品SKU数量 */
|
|
1037
1053
|
sku_num: number;
|
|
1038
1054
|
/** 商品状态 */
|
|
@@ -1074,11 +1090,11 @@ declare namespace Taobao.Item {
|
|
|
1074
1090
|
/** 商品数量 */
|
|
1075
1091
|
num: number;
|
|
1076
1092
|
/** 商品数字ID */
|
|
1077
|
-
num_iid: number;
|
|
1093
|
+
num_iid: number | bigint;
|
|
1078
1094
|
/** 商品价格 */
|
|
1079
1095
|
price: string;
|
|
1080
1096
|
/** 商品SKU ID */
|
|
1081
|
-
sku_id: number;
|
|
1097
|
+
sku_id: number | bigint;
|
|
1082
1098
|
/** 商品SKU数量 */
|
|
1083
1099
|
sku_num: number;
|
|
1084
1100
|
/** 商品状态 */
|
|
@@ -1116,11 +1132,11 @@ declare namespace Taobao.Item {
|
|
|
1116
1132
|
/** 商品数量 */
|
|
1117
1133
|
num: number;
|
|
1118
1134
|
/** 商品数字ID */
|
|
1119
|
-
num_iid: number;
|
|
1135
|
+
num_iid: number | bigint;
|
|
1120
1136
|
/** 商品价格 */
|
|
1121
1137
|
price: string;
|
|
1122
1138
|
/** 商品SKU ID */
|
|
1123
|
-
sku_id: number;
|
|
1139
|
+
sku_id: number | bigint;
|
|
1124
1140
|
/** 商品SKU数量 */
|
|
1125
1141
|
sku_num: number;
|
|
1126
1142
|
/** 商品状态 */
|
|
@@ -1138,11 +1154,11 @@ declare namespace Taobao.Item {
|
|
|
1138
1154
|
/** 商品数量 */
|
|
1139
1155
|
num: number;
|
|
1140
1156
|
/** 商品数字ID */
|
|
1141
|
-
num_iid: number;
|
|
1157
|
+
num_iid: number | bigint;
|
|
1142
1158
|
/** 商品价格 */
|
|
1143
1159
|
price: string;
|
|
1144
1160
|
/** 商品SKU ID */
|
|
1145
|
-
sku_id: number;
|
|
1161
|
+
sku_id: number | bigint;
|
|
1146
1162
|
/** 商品SKU数量 */
|
|
1147
1163
|
sku_num: number;
|
|
1148
1164
|
/** 商品状态 */
|
|
@@ -1160,11 +1176,11 @@ declare namespace Taobao.Item {
|
|
|
1160
1176
|
/** 商品数量 */
|
|
1161
1177
|
num: number;
|
|
1162
1178
|
/** 商品数字ID */
|
|
1163
|
-
num_iid: number;
|
|
1179
|
+
num_iid: number | bigint;
|
|
1164
1180
|
/** 商品价格 */
|
|
1165
1181
|
price: string;
|
|
1166
1182
|
/** 商品SKU ID */
|
|
1167
|
-
sku_id: number;
|
|
1183
|
+
sku_id: number | bigint;
|
|
1168
1184
|
/** 商品SKU数量 */
|
|
1169
1185
|
sku_num: number;
|
|
1170
1186
|
/** 商品状态 */
|
|
@@ -1178,11 +1194,11 @@ declare namespace Taobao.Item {
|
|
|
1178
1194
|
/** 卖家昵称 */
|
|
1179
1195
|
nick: string;
|
|
1180
1196
|
/** 商品数字ID */
|
|
1181
|
-
num_iid: number;
|
|
1197
|
+
num_iid: number | bigint;
|
|
1182
1198
|
/** 商品价格 */
|
|
1183
1199
|
price: string;
|
|
1184
1200
|
/** 商品SKU ID */
|
|
1185
|
-
sku_id: number;
|
|
1201
|
+
sku_id: number | bigint;
|
|
1186
1202
|
/** 商品SKU数量 */
|
|
1187
1203
|
sku_num: number;
|
|
1188
1204
|
/** 商品状态 */
|
|
@@ -1196,11 +1212,11 @@ declare namespace Taobao.Item {
|
|
|
1196
1212
|
/** 商品数量 */
|
|
1197
1213
|
num: number;
|
|
1198
1214
|
/** 商品数字ID */
|
|
1199
|
-
num_iid: number;
|
|
1215
|
+
num_iid: number | bigint;
|
|
1200
1216
|
/** 商品价格 */
|
|
1201
1217
|
price: string;
|
|
1202
1218
|
/** 商品SKU ID */
|
|
1203
|
-
sku_id: number;
|
|
1219
|
+
sku_id: number | bigint;
|
|
1204
1220
|
/** 商品SKU数量 */
|
|
1205
1221
|
sku_num: number;
|
|
1206
1222
|
/** 商品状态 */
|
|
@@ -1326,7 +1342,7 @@ declare namespace Taobao.Live {
|
|
|
1326
1342
|
/** 主播openId */
|
|
1327
1343
|
anchor_open_id: string;
|
|
1328
1344
|
/** 订单号 */
|
|
1329
|
-
tid: number;
|
|
1345
|
+
tid: number | bigint;
|
|
1330
1346
|
}
|
|
1331
1347
|
}
|
|
1332
1348
|
|
|
@@ -1427,7 +1443,7 @@ declare namespace Taobao.Oc {
|
|
|
1427
1443
|
/** 标签类型,1:官方标签,2:自定义标签 */
|
|
1428
1444
|
tag_type: number;
|
|
1429
1445
|
/** 订单编号 */
|
|
1430
|
-
tid: number;
|
|
1446
|
+
tid: number | bigint;
|
|
1431
1447
|
}
|
|
1432
1448
|
}
|
|
1433
1449
|
|
|
@@ -1703,7 +1719,7 @@ declare namespace Taobao.Openmall {
|
|
|
1703
1719
|
/** 退款单状态 */
|
|
1704
1720
|
status: string;
|
|
1705
1721
|
/** 订单ID */
|
|
1706
|
-
tid: number;
|
|
1722
|
+
tid: number | bigint;
|
|
1707
1723
|
}
|
|
1708
1724
|
|
|
1709
1725
|
/** 订单消息通知 */
|
|
@@ -1726,11 +1742,11 @@ declare namespace Taobao.Rdcaligenius {
|
|
|
1726
1742
|
/** 1=hold单,目前只有1 */
|
|
1727
1743
|
action_type: number;
|
|
1728
1744
|
/** 子订单 */
|
|
1729
|
-
oid: number;
|
|
1745
|
+
oid: number | bigint;
|
|
1730
1746
|
/** 卖家昵称 */
|
|
1731
1747
|
seller_nick: string;
|
|
1732
1748
|
/** 主订单 */
|
|
1733
|
-
tid: number;
|
|
1749
|
+
tid: number | bigint;
|
|
1734
1750
|
}
|
|
1735
1751
|
}
|
|
1736
1752
|
|
|
@@ -1930,7 +1946,7 @@ declare namespace Taobao.Refund {
|
|
|
1930
1946
|
/** 更新时间。格式:yyyy-MM-dd HH:mm:ss */
|
|
1931
1947
|
modified: Date;
|
|
1932
1948
|
/** 子订单ID */
|
|
1933
|
-
oid: number;
|
|
1949
|
+
oid: number | bigint;
|
|
1934
1950
|
/** 退款金额 */
|
|
1935
1951
|
refund_fee: string;
|
|
1936
1952
|
/** 退款ID */
|
|
@@ -1940,7 +1956,7 @@ declare namespace Taobao.Refund {
|
|
|
1940
1956
|
/** 卖家昵称 */
|
|
1941
1957
|
seller_nick: string;
|
|
1942
1958
|
/** 主订单ID */
|
|
1943
|
-
tid: number;
|
|
1959
|
+
tid: number | bigint;
|
|
1944
1960
|
}
|
|
1945
1961
|
|
|
1946
1962
|
/** 退款标记取消消息 */
|
|
@@ -1966,7 +1982,7 @@ declare namespace Taobao.Refund {
|
|
|
1966
1982
|
/** 更新时间。格式:yyyy-MM-dd HH:mm:ss */
|
|
1967
1983
|
modified: Date;
|
|
1968
1984
|
/** 子订单退款交易编号 */
|
|
1969
|
-
oid: number;
|
|
1985
|
+
oid: number | bigint;
|
|
1970
1986
|
/** 退款金额,"100.00"的格式 */
|
|
1971
1987
|
refund_fee: string;
|
|
1972
1988
|
/** 退款编号 */
|
|
@@ -1976,7 +1992,7 @@ declare namespace Taobao.Refund {
|
|
|
1976
1992
|
/** 卖家昵称 */
|
|
1977
1993
|
seller_nick: string;
|
|
1978
1994
|
/** 父订单退款交易编号 */
|
|
1979
|
-
tid: number;
|
|
1995
|
+
tid: number | bigint;
|
|
1980
1996
|
}
|
|
1981
1997
|
|
|
1982
1998
|
/** 淘宝介入退款消息 */
|
|
@@ -1990,7 +2006,7 @@ declare namespace Taobao.Refund {
|
|
|
1990
2006
|
/** 更新时间。格式:yyyy-MM-dd HH:mm:ss */
|
|
1991
2007
|
modified: Date;
|
|
1992
2008
|
/** 子订单退款交易编号 */
|
|
1993
|
-
oid: number;
|
|
2009
|
+
oid: number | bigint;
|
|
1994
2010
|
/** 退款金额,用"100.00"的格式 */
|
|
1995
2011
|
refund_fee: string;
|
|
1996
2012
|
/** 退款编号 */
|
|
@@ -2000,7 +2016,7 @@ declare namespace Taobao.Refund {
|
|
|
2000
2016
|
/** 卖家昵称 */
|
|
2001
2017
|
seller_nick: string;
|
|
2002
2018
|
/** 父订单退款交易编号 */
|
|
2003
|
-
tid: number;
|
|
2019
|
+
tid: number | bigint;
|
|
2004
2020
|
}
|
|
2005
2021
|
}
|
|
2006
2022
|
|
|
@@ -2298,6 +2314,26 @@ declare namespace Taobao.Topats {
|
|
|
2298
2314
|
|
|
2299
2315
|
/** 淘宝交易 */
|
|
2300
2316
|
declare namespace Taobao.Trade {
|
|
2317
|
+
/** 订单极速放款成功消息 */
|
|
2318
|
+
interface AdvanceDisburse {
|
|
2319
|
+
/** 买家昵称 */
|
|
2320
|
+
buyer_nick: string;
|
|
2321
|
+
/** 由buyer_id加密, 可对外开放, 用来替换buyer_nick作为唯一标识 */
|
|
2322
|
+
buyer_open_uid: string;
|
|
2323
|
+
/** 子订单ID */
|
|
2324
|
+
oid: number | bigint;
|
|
2325
|
+
/** 金额 */
|
|
2326
|
+
payment: string;
|
|
2327
|
+
/** 卖家昵称 */
|
|
2328
|
+
seller_nick: string;
|
|
2329
|
+
/** 订单状态(请关注此状态,如果为TRADE_CLOSED_BY_TAOBAO状态,则不要对此订单进行发货,切记啊!)。可选值: TRADE_NO_CREATE_PAY(没有创建支付宝交易) WAIT_BUYER_PAY(等待买家付款) WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) TRADE_BUYER_SIGNED(买家已签收,货到付款专用) TRADE_FINISHED(交易成功) TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易)PAY_PENDING(国际信用卡支付付款确认中) */
|
|
2330
|
+
status: string;
|
|
2331
|
+
/** 主订单ID */
|
|
2332
|
+
tid: number | bigint;
|
|
2333
|
+
/** 交易类型列表,同时查询多种交易类型可用逗号分隔。默认同时查询guarantee_trade, auto_delivery, ec, cod的4种交易类型的数据 可选值 fixed(一口价) auction(拍卖) guarantee_trade(一口价、拍卖) auto_delivery(自动发货) independent_simple_trade(旺店入门版交易) independent_shop_trade(旺店标准版交易) ec(直冲) cod(货到付款) fenxiao(分销) game_equipment(游戏装备) shopex_trade(ShopEX交易) netcn_trade(万网交易) external_trade(统一外部交易)o2o_offlinetrade(O2O交易)step (万人团)nopaid(无付款订单)pre_auth_type(预授权0元购机交易) */
|
|
2334
|
+
type: string;
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2301
2337
|
/** 创建支付宝订单消息 */
|
|
2302
2338
|
interface TradeAlipayCreate {
|
|
2303
2339
|
/** 买家昵称 */
|
|
@@ -2305,7 +2341,7 @@ declare namespace Taobao.Trade {
|
|
|
2305
2341
|
/** 由buyer_id加密, 可对外开放, 用来替换buyer_nick作为唯一标识 */
|
|
2306
2342
|
buyer_open_uid: string;
|
|
2307
2343
|
/** 子订单ID */
|
|
2308
|
-
oid: number;
|
|
2344
|
+
oid: number | bigint;
|
|
2309
2345
|
/** 订单实付金额 */
|
|
2310
2346
|
payment: string;
|
|
2311
2347
|
/** 卖家昵称 */
|
|
@@ -2313,7 +2349,7 @@ declare namespace Taobao.Trade {
|
|
|
2313
2349
|
/** 交易状态 */
|
|
2314
2350
|
status: string;
|
|
2315
2351
|
/** 主订单ID */
|
|
2316
|
-
tid: number;
|
|
2352
|
+
tid: number | bigint;
|
|
2317
2353
|
/** 交易类型 */
|
|
2318
2354
|
type: string;
|
|
2319
2355
|
}
|
|
@@ -2337,7 +2373,7 @@ declare namespace Taobao.Trade {
|
|
|
2337
2373
|
/** 物流运单号 */
|
|
2338
2374
|
logistics_id: string;
|
|
2339
2375
|
/** 子订单ID */
|
|
2340
|
-
oid: number;
|
|
2376
|
+
oid: number | bigint;
|
|
2341
2377
|
/** 订单实付金额 */
|
|
2342
2378
|
payment: string;
|
|
2343
2379
|
/** 物流邮费 */
|
|
@@ -2351,7 +2387,7 @@ declare namespace Taobao.Trade {
|
|
|
2351
2387
|
/** 供应商账号 */
|
|
2352
2388
|
supplier_username: string;
|
|
2353
2389
|
/** 主订单ID */
|
|
2354
|
-
tid: number;
|
|
2390
|
+
tid: number | bigint;
|
|
2355
2391
|
/** 分销订单类型 */
|
|
2356
2392
|
trade_type: string;
|
|
2357
2393
|
/** 交易类型列表,同时查询多种交易类型可用逗号分隔。默认同时查询guarantee_trade, auto_delivery, ec, cod的4种交易类型的数据 可选值 fixed(一口价) auction(拍卖) guarantee_trade(一口价、拍卖) auto_delivery(自动发货) independent_simple_trade(旺店入门版交易) independent_shop_trade(旺店标准版交易) ec(直冲) cod(货到付款) fenxiao(分销) game_equipment(游戏装备) shopex_trade(ShopEX交易) netcn_trade(万网交易) external_trade(统一外部交易)o2o_offlinetrade(O2O交易)step (万人团)nopaid(无付款订单)pre_auth_type(预授权0元购机交易) */
|
|
@@ -2365,13 +2401,13 @@ declare namespace Taobao.Trade {
|
|
|
2365
2401
|
/** 由buyer_id加密, 可对外开放, 用来替换buyer_nick作为唯一标识 */
|
|
2366
2402
|
buyer_open_uid: string;
|
|
2367
2403
|
/** 子订单ID */
|
|
2368
|
-
oid: number;
|
|
2404
|
+
oid: number | bigint;
|
|
2369
2405
|
/** 订单实付金额 */
|
|
2370
2406
|
payment: string;
|
|
2371
2407
|
/** 卖家昵称 */
|
|
2372
2408
|
seller_nick: string;
|
|
2373
2409
|
/** 主订单ID */
|
|
2374
|
-
tid: number;
|
|
2410
|
+
tid: number | bigint;
|
|
2375
2411
|
/** 交易类型 */
|
|
2376
2412
|
type: string;
|
|
2377
2413
|
}
|
|
@@ -2409,9 +2445,9 @@ declare namespace Taobao.Trade {
|
|
|
2409
2445
|
/** 商品数量 */
|
|
2410
2446
|
num: number;
|
|
2411
2447
|
/** 商品数字ID */
|
|
2412
|
-
num_iid: number;
|
|
2448
|
+
num_iid: number | bigint;
|
|
2413
2449
|
/** 子订单ID */
|
|
2414
|
-
oid: number;
|
|
2450
|
+
oid: number | bigint;
|
|
2415
2451
|
/** 订单实付金额 */
|
|
2416
2452
|
payment: string;
|
|
2417
2453
|
/** 商品价格 */
|
|
@@ -2419,13 +2455,13 @@ declare namespace Taobao.Trade {
|
|
|
2419
2455
|
/** 卖家昵称 */
|
|
2420
2456
|
seller_nick: string;
|
|
2421
2457
|
/** 商品SKU ID */
|
|
2422
|
-
sku_id: number;
|
|
2458
|
+
sku_id: number | bigint;
|
|
2423
2459
|
/** 商品SKU数量 */
|
|
2424
2460
|
sku_num: number;
|
|
2425
2461
|
/** 交易状态。可选值: * TRADE_NO_CREATE_PAY(没有创建支付宝交易) * WAIT_BUYER_PAY(等待买家付款) * SELLER_CONSIGNED_PART(卖家部分发货) * WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) * WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) * TRADE_BUYER_SIGNED(买家已签收,货到付款专用) * TRADE_FINISHED(交易成功) * TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) * TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易) * PAY_PENDING(国际信用卡支付付款确认中) * WAIT_PRE_AUTH_CONFIRM(0元购合约中) */
|
|
2426
2462
|
status: string;
|
|
2427
2463
|
/** 主订单ID */
|
|
2428
|
-
tid: number;
|
|
2464
|
+
tid: number | bigint;
|
|
2429
2465
|
/** 商品标题 */
|
|
2430
2466
|
title: string;
|
|
2431
2467
|
/** 交易类型列表,同时查询多种交易类型可用逗号分隔。默认同时查询guarantee_trade, auto_delivery, ec, cod的4种交易类型的数据 可选值 fixed(一口价) auction(拍卖) guarantee_trade(一口价、拍卖) auto_delivery(自动发货) independent_simple_trade(旺店入门版交易) independent_shop_trade(旺店标准版交易) ec(直冲) cod(货到付款) fenxiao(分销) game_equipment(游戏装备) shopex_trade(ShopEX交易) netcn_trade(万网交易) external_trade(统一外部交易)o2o_offlinetrade(O2O交易)step (万人团)nopaid(无付款订单)pre_auth_type(预授权0元购机交易) */
|
|
@@ -2463,7 +2499,7 @@ declare namespace Taobao.Trade {
|
|
|
2463
2499
|
/** 由buyer_id加密, 可对外开放, 用来替换buyer_nick作为唯一标识 */
|
|
2464
2500
|
buyer_open_uid: string;
|
|
2465
2501
|
/** 子订单ID */
|
|
2466
|
-
oid: number;
|
|
2502
|
+
oid: number | bigint;
|
|
2467
2503
|
/** 订单实付金额 */
|
|
2468
2504
|
payment: string;
|
|
2469
2505
|
/** 卖家昵称 */
|
|
@@ -2471,7 +2507,7 @@ declare namespace Taobao.Trade {
|
|
|
2471
2507
|
/** 交易状态 */
|
|
2472
2508
|
status: string;
|
|
2473
2509
|
/** 主订单ID */
|
|
2474
|
-
tid: number;
|
|
2510
|
+
tid: number | bigint;
|
|
2475
2511
|
/** 交易类型 */
|
|
2476
2512
|
type: string;
|
|
2477
2513
|
}
|
|
@@ -2483,7 +2519,7 @@ declare namespace Taobao.Trade {
|
|
|
2483
2519
|
/** 由buyer_id加密, 可对外开放, 用来替换buyer_nick作为唯一标识 */
|
|
2484
2520
|
buyer_open_uid: string;
|
|
2485
2521
|
/** 子订单ID */
|
|
2486
|
-
oid: number;
|
|
2522
|
+
oid: number | bigint;
|
|
2487
2523
|
/** 订单实付金额 */
|
|
2488
2524
|
payment: string;
|
|
2489
2525
|
/** 卖家昵称 */
|
|
@@ -2491,7 +2527,7 @@ declare namespace Taobao.Trade {
|
|
|
2491
2527
|
/** 订单状态(请关注此状态,如果为TRADE_CLOSED_BY_TAOBAO状态,则不要对此订单进行发货,切记啊!)。可选值: TRADE_NO_CREATE_PAY(没有创建支付宝交易) WAIT_BUYER_PAY(等待买家付款) WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) TRADE_BUYER_SIGNED(买家已签收,货到付款专用) TRADE_FINISHED(交易成功) TRADE_CLOSED(付款以后用户退款成功,交易自动关闭) TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易)PAY_PENDING(国际信用卡支付付款确认中) */
|
|
2492
2528
|
status: string;
|
|
2493
2529
|
/** 主订单ID */
|
|
2494
|
-
tid: number;
|
|
2530
|
+
tid: number | bigint;
|
|
2495
2531
|
/** 交易类型列表,同时查询多种交易类型可用逗号分隔。默认同时查询guarantee_trade, auto_delivery, ec, cod的4种交易类型的数据 可选值 fixed(一口价) auction(拍卖) guarantee_trade(一口价、拍卖) auto_delivery(自动发货) independent_simple_trade(旺店入门版交易) independent_shop_trade(旺店标准版交易) ec(直冲) cod(货到付款) fenxiao(分销) game_equipment(游戏装备) shopex_trade(ShopEX交易) netcn_trade(万网交易) external_trade(统一外部交易)o2o_offlinetrade(O2O交易)step (万人团)nopaid(无付款订单)pre_auth_type(预授权0元购机交易) */
|
|
2496
2532
|
type: string;
|
|
2497
2533
|
}
|
|
@@ -2503,7 +2539,7 @@ declare namespace Taobao.Trade {
|
|
|
2503
2539
|
/** 由buyer_id加密, 可对外开放, 用来替换buyer_nick作为唯一标识 */
|
|
2504
2540
|
buyer_open_uid: string;
|
|
2505
2541
|
/** 主订单ID */
|
|
2506
|
-
tid: number;
|
|
2542
|
+
tid: number | bigint;
|
|
2507
2543
|
}
|
|
2508
2544
|
|
|
2509
2545
|
/** 交易备注修改消息 */
|