tmc.js 0.3.46 → 0.3.47
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/alibaba.d.ts +14 -4
- package/types/damai.d.ts +22 -0
- package/types/idle.d.ts +28 -0
- package/types/index.d.ts +40 -0
- package/types/lianfan.d.ts +12 -0
- package/types/message.in.d.ts +43 -3
- package/types/xianyu.d.ts +89 -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>共计 85+ 类别,
|
|
137
|
+
<details><summary>共计 85+ 类别,520+ 消息数</summary>
|
|
138
138
|
|
|
139
139
|
| 类别 | 消息数 |
|
|
140
140
|
| --- | --- |
|
|
@@ -150,7 +150,7 @@ new Tmc('your_app_key', 'your_app_secret', { autoReplyConfirmation: false })
|
|
|
150
150
|
| 导购平台 | 21 |
|
|
151
151
|
| 淘宝汽车票 | 4 |
|
|
152
152
|
| 服务市场 | 9 |
|
|
153
|
-
| 天猫服务 |
|
|
153
|
+
| 天猫服务 | 33 |
|
|
154
154
|
| 天猫美妆 | 2 |
|
|
155
155
|
| 聚石塔 | 9 |
|
|
156
156
|
| 淘宝物流 | 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
|
+
| 闲鱼 | 26 |
|
|
174
174
|
| 闲鱼回收商消息 | 7 |
|
|
175
175
|
| 零售通POS开放平台消息 | 4 |
|
|
176
176
|
| DPAAS | 6 |
|
package/package.json
CHANGED
package/types/alibaba.d.ts
CHANGED
|
@@ -4616,6 +4616,20 @@ declare namespace Alibaba.Wdktrade {
|
|
|
4616
4616
|
|
|
4617
4617
|
/** 天猫服务 */
|
|
4618
4618
|
declare namespace Alibaba.Yichao {
|
|
4619
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2607&docType=9 蚁巢投保理赔消息} */
|
|
4620
|
+
interface ClaimOrder {
|
|
4621
|
+
/** 行为 */
|
|
4622
|
+
action: string;
|
|
4623
|
+
/** 理赔申请方ID */
|
|
4624
|
+
claimant_id: string;
|
|
4625
|
+
/** 理赔单号 */
|
|
4626
|
+
claim_order_id: string;
|
|
4627
|
+
/** 外部业务单据 报案单 */
|
|
4628
|
+
out_order_id: string;
|
|
4629
|
+
/** 产品码 */
|
|
4630
|
+
product_code: string;
|
|
4631
|
+
}
|
|
4632
|
+
|
|
4619
4633
|
/** {@link https://open.taobao.com/tmc.htm?docId=2549&docType=9 蚁巢保单修改消息} */
|
|
4620
4634
|
interface InsuranceUpdate {
|
|
4621
4635
|
/** 保单生效时间 */
|
|
@@ -4626,10 +4640,6 @@ declare namespace Alibaba.Yichao {
|
|
|
4626
4640
|
insurance_application_no: string;
|
|
4627
4641
|
/** 蚁巢保单号 */
|
|
4628
4642
|
insurance_order_id: string;
|
|
4629
|
-
/** 被保人id */
|
|
4630
|
-
insurant_id: string;
|
|
4631
|
-
/** 被保人姓名 */
|
|
4632
|
-
insurant_name: string;
|
|
4633
4643
|
/** 单据唯一键 */
|
|
4634
4644
|
out_id: string;
|
|
4635
4645
|
/** 工单或者服务单号 */
|
package/types/damai.d.ts
CHANGED
|
@@ -22,6 +22,28 @@ declare namespace Damai.Distribution {
|
|
|
22
22
|
perform_id: number;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2606&docType=9 场次时间变更消息} */
|
|
26
|
+
interface PerformTimeChange {
|
|
27
|
+
/** 结束时间 */
|
|
28
|
+
end_time: string;
|
|
29
|
+
/** 原始结束时间 */
|
|
30
|
+
original_end_time: string;
|
|
31
|
+
/** 原始场次名称 */
|
|
32
|
+
original_perform_name: string;
|
|
33
|
+
/** 原始开始时间 */
|
|
34
|
+
original_start_time: string;
|
|
35
|
+
/** 场次id */
|
|
36
|
+
perform_id: number;
|
|
37
|
+
/** 场次名称 */
|
|
38
|
+
perform_name: string;
|
|
39
|
+
/** 项目id */
|
|
40
|
+
project_id: number;
|
|
41
|
+
/** 变更原因 */
|
|
42
|
+
reason: string;
|
|
43
|
+
/** 开始时间 */
|
|
44
|
+
start_time: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
25
47
|
/** {@link https://open.taobao.com/tmc.htm?docId=1629&docType=9 预售改开票} */
|
|
26
48
|
interface PreSaleToNow {
|
|
27
49
|
/** 场次id */
|
package/types/idle.d.ts
CHANGED
|
@@ -224,6 +224,34 @@ declare namespace Idle.Recycle {
|
|
|
224
224
|
/** 退款状态 */
|
|
225
225
|
refund_status: string;
|
|
226
226
|
}
|
|
227
|
+
|
|
228
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2609&docType=9 黄金回收门店信息变更通知} */
|
|
229
|
+
interface StoreSyn {
|
|
230
|
+
/** 具体地址 */
|
|
231
|
+
address: string;
|
|
232
|
+
/** 区/县名称 */
|
|
233
|
+
area_name: string;
|
|
234
|
+
/** 扩展字段 */
|
|
235
|
+
attributes: string;
|
|
236
|
+
/** 营业信息 */
|
|
237
|
+
business_info: string;
|
|
238
|
+
/** 城市名称 */
|
|
239
|
+
city_name: string;
|
|
240
|
+
/** 纬度 */
|
|
241
|
+
latitude: string;
|
|
242
|
+
/** 经度 */
|
|
243
|
+
longitude: string;
|
|
244
|
+
/** 高德门店id */
|
|
245
|
+
poid: string;
|
|
246
|
+
/** 省名称 */
|
|
247
|
+
province_name: string;
|
|
248
|
+
/** 门店id */
|
|
249
|
+
store_id: number;
|
|
250
|
+
/** 门店名称 */
|
|
251
|
+
store_name: string;
|
|
252
|
+
/** 门店状态 0:下线 1:上线 */
|
|
253
|
+
store_status: number;
|
|
254
|
+
}
|
|
227
255
|
}
|
|
228
256
|
|
|
229
257
|
/** 闲鱼已验货 */
|
package/types/index.d.ts
CHANGED
|
@@ -626,6 +626,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
626
626
|
alibaba_wdkorder_VoucherStatus(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaWdkorderVoucherStatus) => void): TaoMessageConsumer;
|
|
627
627
|
/** {@link IncomingMessage.AlibabaWdktradeCouponInstance 五道口营销 > 营销券实例消息} */
|
|
628
628
|
alibaba_wdktrade_CouponInstance(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaWdktradeCouponInstance) => void): TaoMessageConsumer;
|
|
629
|
+
/** {@link IncomingMessage.AlibabaYichaoClaimOrder 天猫服务 > 蚁巢投保理赔消息} */
|
|
630
|
+
alibaba_yichao_ClaimOrder(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaYichaoClaimOrder) => void): TaoMessageConsumer;
|
|
629
631
|
/** {@link IncomingMessage.AlibabaYichaoInsuranceUpdate 天猫服务 > 蚁巢保单修改消息} */
|
|
630
632
|
alibaba_yichao_InsuranceUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaYichaoInsuranceUpdate) => void): TaoMessageConsumer;
|
|
631
633
|
/** {@link IncomingMessage.AlibabaYunioDataTransfer 平台消息 > YunIO数据流转} */
|
|
@@ -1012,6 +1014,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1012
1014
|
damai_distribution_PerformCancel(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPerformCancel) => void): TaoMessageConsumer;
|
|
1013
1015
|
/** {@link IncomingMessage.DamaiDistributionPerformStatus 大麦第三方票务供应商接入 > 场次状态变更推送} */
|
|
1014
1016
|
damai_distribution_PerformStatus(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPerformStatus) => void): TaoMessageConsumer;
|
|
1017
|
+
/** {@link IncomingMessage.DamaiDistributionPerformTimeChange 大麦第三方票务供应商接入 > 场次时间变更消息} */
|
|
1018
|
+
damai_distribution_PerformTimeChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPerformTimeChange) => void): TaoMessageConsumer;
|
|
1015
1019
|
/** {@link IncomingMessage.DamaiDistributionPreSaleToNow 大麦第三方票务供应商接入 > 预售改开票} */
|
|
1016
1020
|
damai_distribution_PreSaleToNow(fn: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPreSaleToNow) => void): TaoMessageConsumer;
|
|
1017
1021
|
/** {@link IncomingMessage.DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送} */
|
|
@@ -1156,6 +1160,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1156
1160
|
idle_recycle_OrderSyn(fn: (this: TaoMessageConsumer, message: IncomingMessage.IdleRecycleOrderSyn) => void): TaoMessageConsumer;
|
|
1157
1161
|
/** {@link IncomingMessage.IdleRecycleRefundStatusModify 闲鱼回收商消息 > 退款消息} */
|
|
1158
1162
|
idle_recycle_RefundStatusModify(fn: (this: TaoMessageConsumer, message: IncomingMessage.IdleRecycleRefundStatusModify) => void): TaoMessageConsumer;
|
|
1163
|
+
/** {@link IncomingMessage.IdleRecycleStoreSyn 闲鱼回收商消息 > 黄金回收门店信息变更通知} */
|
|
1164
|
+
idle_recycle_StoreSyn(fn: (this: TaoMessageConsumer, message: IncomingMessage.IdleRecycleStoreSyn) => void): TaoMessageConsumer;
|
|
1159
1165
|
/** {@link IncomingMessage.IdleTopisvCompensateNotice 闲鱼已验货 > 闲鱼开放平台-服务赔付单变更消息通知} */
|
|
1160
1166
|
idle_topisv_CompensateNotice(fn: (this: TaoMessageConsumer, message: IncomingMessage.IdleTopisvCompensateNotice) => void): TaoMessageConsumer;
|
|
1161
1167
|
/** {@link IncomingMessage.IdleTopisvGlobalProductNotice 闲鱼已验货 > 闲鱼开放平台-国际货品变更消息通知} */
|
|
@@ -1182,6 +1188,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
1182
1188
|
lark_trade_PosTradeDataTransmit(fn: (this: TaoMessageConsumer, message: IncomingMessage.LarkTradePosTradeDataTransmit) => void): TaoMessageConsumer;
|
|
1183
1189
|
/** {@link IncomingMessage.LianfanHuiwaModelStateUpdate 连凡 > 绘蛙模型状态变更消息} */
|
|
1184
1190
|
lianfan_huiwa_ModelStateUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaModelStateUpdate) => void): TaoMessageConsumer;
|
|
1191
|
+
/** {@link IncomingMessage.LianfanHuiwaRequirementStateUpdate 连凡 > 绘蛙需求状态变更消息} */
|
|
1192
|
+
lianfan_huiwa_RequirementStateUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaRequirementStateUpdate) => void): TaoMessageConsumer;
|
|
1185
1193
|
/** {@link IncomingMessage.LianfanHuiwaTaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息} */
|
|
1186
1194
|
lianfan_huiwa_TaskStateUpdate(fn: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaTaskStateUpdate) => void): TaoMessageConsumer;
|
|
1187
1195
|
/** {@link IncomingMessage.LstSupplierBroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息} */
|
|
@@ -2368,6 +2376,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
2368
2376
|
xianyu_marketrecycle_OrderStateSyn(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuMarketrecycleOrderStateSyn) => void): TaoMessageConsumer;
|
|
2369
2377
|
/** {@link IncomingMessage.XianyuMarketrecyclePlanStateSyn 闲鱼 > 闲鱼保卖计划变更消息} */
|
|
2370
2378
|
xianyu_marketrecycle_PlanStateSyn(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuMarketrecyclePlanStateSyn) => void): TaoMessageConsumer;
|
|
2379
|
+
/** {@link IncomingMessage.XianyuOutletCycleBuyVendueCreate 闲鱼 > 闲鱼奥莱周期拍拍品创建} */
|
|
2380
|
+
xianyu_outlet_CycleBuyVendueCreate(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuOutletCycleBuyVendueCreate) => void): TaoMessageConsumer;
|
|
2371
2381
|
/** {@link IncomingMessage.XianyuRecycleOrderStatusSync 闲鱼 > 订单状态同步给回收商} */
|
|
2372
2382
|
xianyu_recycle_OrderStatusSync(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycleOrderStatusSync) => void): TaoMessageConsumer;
|
|
2373
2383
|
/** {@link IncomingMessage.XianyuRecycleSpuModifySync 闲鱼 > 闲鱼回收SPU变更消息} */
|
|
@@ -2380,6 +2390,10 @@ declare interface TaoTopicsDescriptor {
|
|
|
2380
2390
|
xianyu_template_StatusChange(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplateStatusChange) => void): TaoMessageConsumer;
|
|
2381
2391
|
/** {@link IncomingMessage.XianyuTenderOrderSyn 闲鱼 > 省心卖-暗拍项目订单消息} */
|
|
2382
2392
|
xianyu_tender_OrderSyn(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTenderOrderSyn) => void): TaoMessageConsumer;
|
|
2393
|
+
/** {@link IncomingMessage.XianyuYellowboxGpuTemplatePunish 闲鱼 > GPU模版处罚消息通知} */
|
|
2394
|
+
xianyu_yellowbox_GpuTemplatePunish(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYellowboxGpuTemplatePunish) => void): TaoMessageConsumer;
|
|
2395
|
+
/** {@link IncomingMessage.XianyuYushiTsOffShelf 闲鱼 > 闲鱼商品下架消息} */
|
|
2396
|
+
xianyu_yushi_TsOffShelf(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYushiTsOffShelf) => void): TaoMessageConsumer;
|
|
2383
2397
|
/** {@link IncomingMessage.YoukuAigcTrainResultNotify 优酷 > 妙鸭SaaS对外开放-训练结果通知} */
|
|
2384
2398
|
youku_aigc_TrainResultNotify(fn: (this: TaoMessageConsumer, message: IncomingMessage.YoukuAigcTrainResultNotify) => void): TaoMessageConsumer;
|
|
2385
2399
|
/** {@link IncomingMessage.YoukuTvosappstoreAppStatusChange TVOS应用审核平台 > TVOS审核平台应用状态变更通知消息} */
|
|
@@ -3078,6 +3092,8 @@ declare interface TaoTopicsDescriptor {
|
|
|
3078
3092
|
xianyu_isv(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuIsv) => void): TaoMessageConsumer;
|
|
3079
3093
|
/** {@link IncomingMessage.XianyuMarketrecycle} */
|
|
3080
3094
|
xianyu_marketrecycle(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuMarketrecycle) => void): TaoMessageConsumer;
|
|
3095
|
+
/** {@link IncomingMessage.XianyuOutlet} */
|
|
3096
|
+
xianyu_outlet(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuOutlet) => void): TaoMessageConsumer;
|
|
3081
3097
|
/** {@link IncomingMessage.XianyuRecycle} */
|
|
3082
3098
|
xianyu_recycle(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycle) => void): TaoMessageConsumer;
|
|
3083
3099
|
/** {@link IncomingMessage.XianyuRegister} */
|
|
@@ -3086,6 +3102,10 @@ declare interface TaoTopicsDescriptor {
|
|
|
3086
3102
|
xianyu_template(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplate) => void): TaoMessageConsumer;
|
|
3087
3103
|
/** {@link IncomingMessage.XianyuTender} */
|
|
3088
3104
|
xianyu_tender(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTender) => void): TaoMessageConsumer;
|
|
3105
|
+
/** {@link IncomingMessage.XianyuYellowbox} */
|
|
3106
|
+
xianyu_yellowbox(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYellowbox) => void): TaoMessageConsumer;
|
|
3107
|
+
/** {@link IncomingMessage.XianyuYushi} */
|
|
3108
|
+
xianyu_yushi(fn: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYushi) => void): TaoMessageConsumer;
|
|
3089
3109
|
/** {@link IncomingMessage.YoukuAigc} */
|
|
3090
3110
|
youku_aigc(fn: (this: TaoMessageConsumer, message: IncomingMessage.YoukuAigc) => void): TaoMessageConsumer;
|
|
3091
3111
|
/** {@link IncomingMessage.YoukuTvosappstore} */
|
|
@@ -3751,6 +3771,8 @@ declare interface TaoEventsListener {
|
|
|
3751
3771
|
on(topic: 'alibaba_wdkorder_VoucherStatus', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaWdkorderVoucherStatus) => void): TaoMessageConsumer;
|
|
3752
3772
|
/** {@link IncomingMessage.AlibabaWdktradeCouponInstance 五道口营销 > 营销券实例消息} */
|
|
3753
3773
|
on(topic: 'alibaba_wdktrade_CouponInstance', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaWdktradeCouponInstance) => void): TaoMessageConsumer;
|
|
3774
|
+
/** {@link IncomingMessage.AlibabaYichaoClaimOrder 天猫服务 > 蚁巢投保理赔消息} */
|
|
3775
|
+
on(topic: 'alibaba_yichao_ClaimOrder', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaYichaoClaimOrder) => void): TaoMessageConsumer;
|
|
3754
3776
|
/** {@link IncomingMessage.AlibabaYichaoInsuranceUpdate 天猫服务 > 蚁巢保单修改消息} */
|
|
3755
3777
|
on(topic: 'alibaba_yichao_InsuranceUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.AlibabaYichaoInsuranceUpdate) => void): TaoMessageConsumer;
|
|
3756
3778
|
/** {@link IncomingMessage.AlibabaYunioDataTransfer 平台消息 > YunIO数据流转} */
|
|
@@ -4137,6 +4159,8 @@ declare interface TaoEventsListener {
|
|
|
4137
4159
|
on(topic: 'damai_distribution_PerformCancel', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPerformCancel) => void): TaoMessageConsumer;
|
|
4138
4160
|
/** {@link IncomingMessage.DamaiDistributionPerformStatus 大麦第三方票务供应商接入 > 场次状态变更推送} */
|
|
4139
4161
|
on(topic: 'damai_distribution_PerformStatus', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPerformStatus) => void): TaoMessageConsumer;
|
|
4162
|
+
/** {@link IncomingMessage.DamaiDistributionPerformTimeChange 大麦第三方票务供应商接入 > 场次时间变更消息} */
|
|
4163
|
+
on(topic: 'damai_distribution_PerformTimeChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPerformTimeChange) => void): TaoMessageConsumer;
|
|
4140
4164
|
/** {@link IncomingMessage.DamaiDistributionPreSaleToNow 大麦第三方票务供应商接入 > 预售改开票} */
|
|
4141
4165
|
on(topic: 'damai_distribution_PreSaleToNow', listener: (this: TaoMessageConsumer, message: IncomingMessage.DamaiDistributionPreSaleToNow) => void): TaoMessageConsumer;
|
|
4142
4166
|
/** {@link IncomingMessage.DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送} */
|
|
@@ -4281,6 +4305,8 @@ declare interface TaoEventsListener {
|
|
|
4281
4305
|
on(topic: 'idle_recycle_OrderSyn', listener: (this: TaoMessageConsumer, message: IncomingMessage.IdleRecycleOrderSyn) => void): TaoMessageConsumer;
|
|
4282
4306
|
/** {@link IncomingMessage.IdleRecycleRefundStatusModify 闲鱼回收商消息 > 退款消息} */
|
|
4283
4307
|
on(topic: 'idle_recycle_RefundStatusModify', listener: (this: TaoMessageConsumer, message: IncomingMessage.IdleRecycleRefundStatusModify) => void): TaoMessageConsumer;
|
|
4308
|
+
/** {@link IncomingMessage.IdleRecycleStoreSyn 闲鱼回收商消息 > 黄金回收门店信息变更通知} */
|
|
4309
|
+
on(topic: 'idle_recycle_StoreSyn', listener: (this: TaoMessageConsumer, message: IncomingMessage.IdleRecycleStoreSyn) => void): TaoMessageConsumer;
|
|
4284
4310
|
/** {@link IncomingMessage.IdleTopisvCompensateNotice 闲鱼已验货 > 闲鱼开放平台-服务赔付单变更消息通知} */
|
|
4285
4311
|
on(topic: 'idle_topisv_CompensateNotice', listener: (this: TaoMessageConsumer, message: IncomingMessage.IdleTopisvCompensateNotice) => void): TaoMessageConsumer;
|
|
4286
4312
|
/** {@link IncomingMessage.IdleTopisvGlobalProductNotice 闲鱼已验货 > 闲鱼开放平台-国际货品变更消息通知} */
|
|
@@ -4307,6 +4333,8 @@ declare interface TaoEventsListener {
|
|
|
4307
4333
|
on(topic: 'lark_trade_PosTradeDataTransmit', listener: (this: TaoMessageConsumer, message: IncomingMessage.LarkTradePosTradeDataTransmit) => void): TaoMessageConsumer;
|
|
4308
4334
|
/** {@link IncomingMessage.LianfanHuiwaModelStateUpdate 连凡 > 绘蛙模型状态变更消息} */
|
|
4309
4335
|
on(topic: 'lianfan_huiwa_ModelStateUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaModelStateUpdate) => void): TaoMessageConsumer;
|
|
4336
|
+
/** {@link IncomingMessage.LianfanHuiwaRequirementStateUpdate 连凡 > 绘蛙需求状态变更消息} */
|
|
4337
|
+
on(topic: 'lianfan_huiwa_RequirementStateUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaRequirementStateUpdate) => void): TaoMessageConsumer;
|
|
4310
4338
|
/** {@link IncomingMessage.LianfanHuiwaTaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息} */
|
|
4311
4339
|
on(topic: 'lianfan_huiwa_TaskStateUpdate', listener: (this: TaoMessageConsumer, message: IncomingMessage.LianfanHuiwaTaskStateUpdate) => void): TaoMessageConsumer;
|
|
4312
4340
|
/** {@link IncomingMessage.LstSupplierBroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息} */
|
|
@@ -5493,6 +5521,8 @@ declare interface TaoEventsListener {
|
|
|
5493
5521
|
on(topic: 'xianyu_marketrecycle_OrderStateSyn', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuMarketrecycleOrderStateSyn) => void): TaoMessageConsumer;
|
|
5494
5522
|
/** {@link IncomingMessage.XianyuMarketrecyclePlanStateSyn 闲鱼 > 闲鱼保卖计划变更消息} */
|
|
5495
5523
|
on(topic: 'xianyu_marketrecycle_PlanStateSyn', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuMarketrecyclePlanStateSyn) => void): TaoMessageConsumer;
|
|
5524
|
+
/** {@link IncomingMessage.XianyuOutletCycleBuyVendueCreate 闲鱼 > 闲鱼奥莱周期拍拍品创建} */
|
|
5525
|
+
on(topic: 'xianyu_outlet_CycleBuyVendueCreate', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuOutletCycleBuyVendueCreate) => void): TaoMessageConsumer;
|
|
5496
5526
|
/** {@link IncomingMessage.XianyuRecycleOrderStatusSync 闲鱼 > 订单状态同步给回收商} */
|
|
5497
5527
|
on(topic: 'xianyu_recycle_OrderStatusSync', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycleOrderStatusSync) => void): TaoMessageConsumer;
|
|
5498
5528
|
/** {@link IncomingMessage.XianyuRecycleSpuModifySync 闲鱼 > 闲鱼回收SPU变更消息} */
|
|
@@ -5505,6 +5535,10 @@ declare interface TaoEventsListener {
|
|
|
5505
5535
|
on(topic: 'xianyu_template_StatusChange', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplateStatusChange) => void): TaoMessageConsumer;
|
|
5506
5536
|
/** {@link IncomingMessage.XianyuTenderOrderSyn 闲鱼 > 省心卖-暗拍项目订单消息} */
|
|
5507
5537
|
on(topic: 'xianyu_tender_OrderSyn', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTenderOrderSyn) => void): TaoMessageConsumer;
|
|
5538
|
+
/** {@link IncomingMessage.XianyuYellowboxGpuTemplatePunish 闲鱼 > GPU模版处罚消息通知} */
|
|
5539
|
+
on(topic: 'xianyu_yellowbox_GpuTemplatePunish', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYellowboxGpuTemplatePunish) => void): TaoMessageConsumer;
|
|
5540
|
+
/** {@link IncomingMessage.XianyuYushiTsOffShelf 闲鱼 > 闲鱼商品下架消息} */
|
|
5541
|
+
on(topic: 'xianyu_yushi_TsOffShelf', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYushiTsOffShelf) => void): TaoMessageConsumer;
|
|
5508
5542
|
/** {@link IncomingMessage.YoukuAigcTrainResultNotify 优酷 > 妙鸭SaaS对外开放-训练结果通知} */
|
|
5509
5543
|
on(topic: 'youku_aigc_TrainResultNotify', listener: (this: TaoMessageConsumer, message: IncomingMessage.YoukuAigcTrainResultNotify) => void): TaoMessageConsumer;
|
|
5510
5544
|
/** {@link IncomingMessage.YoukuTvosappstoreAppStatusChange TVOS应用审核平台 > TVOS审核平台应用状态变更通知消息} */
|
|
@@ -6203,6 +6237,8 @@ declare interface TaoEventsListener {
|
|
|
6203
6237
|
on(topic: 'xianyu_isv', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuIsv) => void): TaoMessageConsumer;
|
|
6204
6238
|
/** {@link IncomingMessage.XianyuMarketrecycle} */
|
|
6205
6239
|
on(topic: 'xianyu_marketrecycle', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuMarketrecycle) => void): TaoMessageConsumer;
|
|
6240
|
+
/** {@link IncomingMessage.XianyuOutlet} */
|
|
6241
|
+
on(topic: 'xianyu_outlet', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuOutlet) => void): TaoMessageConsumer;
|
|
6206
6242
|
/** {@link IncomingMessage.XianyuRecycle} */
|
|
6207
6243
|
on(topic: 'xianyu_recycle', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuRecycle) => void): TaoMessageConsumer;
|
|
6208
6244
|
/** {@link IncomingMessage.XianyuRegister} */
|
|
@@ -6211,6 +6247,10 @@ declare interface TaoEventsListener {
|
|
|
6211
6247
|
on(topic: 'xianyu_template', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTemplate) => void): TaoMessageConsumer;
|
|
6212
6248
|
/** {@link IncomingMessage.XianyuTender} */
|
|
6213
6249
|
on(topic: 'xianyu_tender', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuTender) => void): TaoMessageConsumer;
|
|
6250
|
+
/** {@link IncomingMessage.XianyuYellowbox} */
|
|
6251
|
+
on(topic: 'xianyu_yellowbox', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYellowbox) => void): TaoMessageConsumer;
|
|
6252
|
+
/** {@link IncomingMessage.XianyuYushi} */
|
|
6253
|
+
on(topic: 'xianyu_yushi', listener: (this: TaoMessageConsumer, message: IncomingMessage.XianyuYushi) => void): TaoMessageConsumer;
|
|
6214
6254
|
/** {@link IncomingMessage.YoukuAigc} */
|
|
6215
6255
|
on(topic: 'youku_aigc', listener: (this: TaoMessageConsumer, message: IncomingMessage.YoukuAigc) => void): TaoMessageConsumer;
|
|
6216
6256
|
/** {@link IncomingMessage.YoukuTvosappstore} */
|
package/types/lianfan.d.ts
CHANGED
|
@@ -10,6 +10,18 @@ declare namespace Lianfan.Huiwa {
|
|
|
10
10
|
model_type: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2613&docType=9 绘蛙需求状态变更消息} */
|
|
14
|
+
interface RequirementStateUpdate {
|
|
15
|
+
/** 外部用户ID */
|
|
16
|
+
outer_user: string;
|
|
17
|
+
/** 需求ID */
|
|
18
|
+
requirement_id: number;
|
|
19
|
+
/** 需求名称 */
|
|
20
|
+
requirement_name: string;
|
|
21
|
+
/** 需求状态 */
|
|
22
|
+
requirement_status: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
13
25
|
/** {@link https://open.taobao.com/tmc.htm?docId=2559&docType=9 绘蛙生图任务状态变更消息} */
|
|
14
26
|
interface TaskStateUpdate {
|
|
15
27
|
/** 主任务id */
|
package/types/message.in.d.ts
CHANGED
|
@@ -609,6 +609,8 @@ declare namespace IncomingMessage {
|
|
|
609
609
|
type AlibabaWdkorderVoucherStatus = Message & { content?: MessageContent & { topic?: 'alibaba_wdkorder_VoucherStatus', content?: string | Alibaba.Wdkorder.VoucherStatus } };
|
|
610
610
|
/** {@link Alibaba.Wdktrade.CouponInstance 五道口营销 > 营销券实例消息} */
|
|
611
611
|
type AlibabaWdktradeCouponInstance = Message & { content?: MessageContent & { topic?: 'alibaba_wdktrade_CouponInstance', content?: string | Alibaba.Wdktrade.CouponInstance } };
|
|
612
|
+
/** {@link Alibaba.Yichao.ClaimOrder 天猫服务 > 蚁巢投保理赔消息} */
|
|
613
|
+
type AlibabaYichaoClaimOrder = Message & { content?: MessageContent & { topic?: 'alibaba_yichao_ClaimOrder', content?: string | Alibaba.Yichao.ClaimOrder } };
|
|
612
614
|
/** {@link Alibaba.Yichao.InsuranceUpdate 天猫服务 > 蚁巢保单修改消息} */
|
|
613
615
|
type AlibabaYichaoInsuranceUpdate = Message & { content?: MessageContent & { topic?: 'alibaba_yichao_InsuranceUpdate', content?: string | Alibaba.Yichao.InsuranceUpdate } };
|
|
614
616
|
/** {@link Alibaba.Yunio.DataTransfer 平台消息 > YunIO数据流转} */
|
|
@@ -995,6 +997,8 @@ declare namespace IncomingMessage {
|
|
|
995
997
|
type DamaiDistributionPerformCancel = Message & { content?: MessageContent & { topic?: 'damai_distribution_PerformCancel', content?: string | Damai.Distribution.PerformCancel } };
|
|
996
998
|
/** {@link Damai.Distribution.PerformStatus 大麦第三方票务供应商接入 > 场次状态变更推送} */
|
|
997
999
|
type DamaiDistributionPerformStatus = Message & { content?: MessageContent & { topic?: 'damai_distribution_PerformStatus', content?: string | Damai.Distribution.PerformStatus } };
|
|
1000
|
+
/** {@link Damai.Distribution.PerformTimeChange 大麦第三方票务供应商接入 > 场次时间变更消息} */
|
|
1001
|
+
type DamaiDistributionPerformTimeChange = Message & { content?: MessageContent & { topic?: 'damai_distribution_PerformTimeChange', content?: string | Damai.Distribution.PerformTimeChange } };
|
|
998
1002
|
/** {@link Damai.Distribution.PreSaleToNow 大麦第三方票务供应商接入 > 预售改开票} */
|
|
999
1003
|
type DamaiDistributionPreSaleToNow = Message & { content?: MessageContent & { topic?: 'damai_distribution_PreSaleToNow', content?: string | Damai.Distribution.PreSaleToNow } };
|
|
1000
1004
|
/** {@link Damai.Distribution.ProjectStatus 大麦第三方票务供应商接入 > 项目状态推送} */
|
|
@@ -1139,6 +1143,8 @@ declare namespace IncomingMessage {
|
|
|
1139
1143
|
type IdleRecycleOrderSyn = Message & { content?: MessageContent & { topic?: 'idle_recycle_OrderSyn', content?: string | Idle.Recycle.OrderSyn } };
|
|
1140
1144
|
/** {@link Idle.Recycle.RefundStatusModify 闲鱼回收商消息 > 退款消息} */
|
|
1141
1145
|
type IdleRecycleRefundStatusModify = Message & { content?: MessageContent & { topic?: 'idle_recycle_RefundStatusModify', content?: string | Idle.Recycle.RefundStatusModify } };
|
|
1146
|
+
/** {@link Idle.Recycle.StoreSyn 闲鱼回收商消息 > 黄金回收门店信息变更通知} */
|
|
1147
|
+
type IdleRecycleStoreSyn = Message & { content?: MessageContent & { topic?: 'idle_recycle_StoreSyn', content?: string | Idle.Recycle.StoreSyn } };
|
|
1142
1148
|
/** {@link Idle.Topisv.CompensateNotice 闲鱼已验货 > 闲鱼开放平台-服务赔付单变更消息通知} */
|
|
1143
1149
|
type IdleTopisvCompensateNotice = Message & { content?: MessageContent & { topic?: 'idle_topisv_CompensateNotice', content?: string | Idle.Topisv.CompensateNotice } };
|
|
1144
1150
|
/** {@link Idle.Topisv.GlobalProductNotice 闲鱼已验货 > 闲鱼开放平台-国际货品变更消息通知} */
|
|
@@ -1165,6 +1171,8 @@ declare namespace IncomingMessage {
|
|
|
1165
1171
|
type LarkTradePosTradeDataTransmit = Message & { content?: MessageContent & { topic?: 'lark_trade_PosTradeDataTransmit', content?: string | Lark.Trade.PosTradeDataTransmit } };
|
|
1166
1172
|
/** {@link Lianfan.Huiwa.ModelStateUpdate 连凡 > 绘蛙模型状态变更消息} */
|
|
1167
1173
|
type LianfanHuiwaModelStateUpdate = Message & { content?: MessageContent & { topic?: 'lianfan_huiwa_ModelStateUpdate', content?: string | Lianfan.Huiwa.ModelStateUpdate } };
|
|
1174
|
+
/** {@link Lianfan.Huiwa.RequirementStateUpdate 连凡 > 绘蛙需求状态变更消息} */
|
|
1175
|
+
type LianfanHuiwaRequirementStateUpdate = Message & { content?: MessageContent & { topic?: 'lianfan_huiwa_RequirementStateUpdate', content?: string | Lianfan.Huiwa.RequirementStateUpdate } };
|
|
1168
1176
|
/** {@link Lianfan.Huiwa.TaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息} */
|
|
1169
1177
|
type LianfanHuiwaTaskStateUpdate = Message & { content?: MessageContent & { topic?: 'lianfan_huiwa_TaskStateUpdate', content?: string | Lianfan.Huiwa.TaskStateUpdate } };
|
|
1170
1178
|
/** {@link Lst.Supplier.BroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息} */
|
|
@@ -2351,6 +2359,8 @@ declare namespace IncomingMessage {
|
|
|
2351
2359
|
type XianyuMarketrecycleOrderStateSyn = Message & { content?: MessageContent & { topic?: 'xianyu_marketrecycle_OrderStateSyn', content?: string | Xianyu.Marketrecycle.OrderStateSyn } };
|
|
2352
2360
|
/** {@link Xianyu.Marketrecycle.PlanStateSyn 闲鱼 > 闲鱼保卖计划变更消息} */
|
|
2353
2361
|
type XianyuMarketrecyclePlanStateSyn = Message & { content?: MessageContent & { topic?: 'xianyu_marketrecycle_PlanStateSyn', content?: string | Xianyu.Marketrecycle.PlanStateSyn } };
|
|
2362
|
+
/** {@link Xianyu.Outlet.CycleBuyVendueCreate 闲鱼 > 闲鱼奥莱周期拍拍品创建} */
|
|
2363
|
+
type XianyuOutletCycleBuyVendueCreate = Message & { content?: MessageContent & { topic?: 'xianyu_outlet_CycleBuyVendueCreate', content?: string | Xianyu.Outlet.CycleBuyVendueCreate } };
|
|
2354
2364
|
/** {@link Xianyu.Recycle.OrderStatusSync 闲鱼 > 订单状态同步给回收商} */
|
|
2355
2365
|
type XianyuRecycleOrderStatusSync = Message & { content?: MessageContent & { topic?: 'xianyu_recycle_OrderStatusSync', content?: string | Xianyu.Recycle.OrderStatusSync } };
|
|
2356
2366
|
/** {@link Xianyu.Recycle.SpuModifySync 闲鱼 > 闲鱼回收SPU变更消息} */
|
|
@@ -2363,6 +2373,10 @@ declare namespace IncomingMessage {
|
|
|
2363
2373
|
type XianyuTemplateStatusChange = Message & { content?: MessageContent & { topic?: 'xianyu_template_StatusChange', content?: string | Xianyu.Template.StatusChange } };
|
|
2364
2374
|
/** {@link Xianyu.Tender.OrderSyn 闲鱼 > 省心卖-暗拍项目订单消息} */
|
|
2365
2375
|
type XianyuTenderOrderSyn = Message & { content?: MessageContent & { topic?: 'xianyu_tender_OrderSyn', content?: string | Xianyu.Tender.OrderSyn } };
|
|
2376
|
+
/** {@link Xianyu.Yellowbox.GpuTemplatePunish 闲鱼 > GPU模版处罚消息通知} */
|
|
2377
|
+
type XianyuYellowboxGpuTemplatePunish = Message & { content?: MessageContent & { topic?: 'xianyu_yellowbox_GpuTemplatePunish', content?: string | Xianyu.Yellowbox.GpuTemplatePunish } };
|
|
2378
|
+
/** {@link Xianyu.Yushi.TsOffShelf 闲鱼 > 闲鱼商品下架消息} */
|
|
2379
|
+
type XianyuYushiTsOffShelf = Message & { content?: MessageContent & { topic?: 'xianyu_yushi_TsOffShelf', content?: string | Xianyu.Yushi.TsOffShelf } };
|
|
2366
2380
|
/** {@link Youku.Aigc.TrainResultNotify 优酷 > 妙鸭SaaS对外开放-训练结果通知} */
|
|
2367
2381
|
type YoukuAigcTrainResultNotify = Message & { content?: MessageContent & { topic?: 'youku_aigc_TrainResultNotify', content?: string | Youku.Aigc.TrainResultNotify } };
|
|
2368
2382
|
/** {@link Youku.Tvosappstore.AppStatusChange TVOS应用审核平台 > TVOS审核平台应用状态变更通知消息} */
|
|
@@ -3070,9 +3084,11 @@ declare namespace IncomingMessage {
|
|
|
3070
3084
|
*/
|
|
3071
3085
|
type AlibabaWdktrade = AlibabaWdktradeCouponInstance;
|
|
3072
3086
|
/**
|
|
3087
|
+
* - {@link AlibabaYichaoClaimOrder 天猫服务 > 蚁巢投保理赔消息}
|
|
3073
3088
|
* - {@link AlibabaYichaoInsuranceUpdate 天猫服务 > 蚁巢保单修改消息}
|
|
3074
3089
|
*/
|
|
3075
|
-
type AlibabaYichao =
|
|
3090
|
+
type AlibabaYichao = AlibabaYichaoClaimOrder
|
|
3091
|
+
| AlibabaYichaoInsuranceUpdate;
|
|
3076
3092
|
/**
|
|
3077
3093
|
* - {@link AlibabaYunioDataTransfer 平台消息 > YunIO数据流转}
|
|
3078
3094
|
*/
|
|
@@ -3589,6 +3605,7 @@ declare namespace IncomingMessage {
|
|
|
3589
3605
|
* - {@link DamaiDistributionMatchSeat 大麦第三方票务供应商接入 > 履约补选座位成功通知三方}
|
|
3590
3606
|
* - {@link DamaiDistributionPerformCancel 大麦第三方票务供应商接入 > 场次取消消息推送}
|
|
3591
3607
|
* - {@link DamaiDistributionPerformStatus 大麦第三方票务供应商接入 > 场次状态变更推送}
|
|
3608
|
+
* - {@link DamaiDistributionPerformTimeChange 大麦第三方票务供应商接入 > 场次时间变更消息}
|
|
3592
3609
|
* - {@link DamaiDistributionPreSaleToNow 大麦第三方票务供应商接入 > 预售改开票}
|
|
3593
3610
|
* - {@link DamaiDistributionProjectStatus 大麦第三方票务供应商接入 > 项目状态推送}
|
|
3594
3611
|
* - {@link DamaiDistributionRefundAuditResult 大麦第三方票务供应商接入 > 分销退票审核结果消息通知}
|
|
@@ -3600,6 +3617,7 @@ declare namespace IncomingMessage {
|
|
|
3600
3617
|
type DamaiDistribution = DamaiDistributionMatchSeat
|
|
3601
3618
|
| DamaiDistributionPerformCancel
|
|
3602
3619
|
| DamaiDistributionPerformStatus
|
|
3620
|
+
| DamaiDistributionPerformTimeChange
|
|
3603
3621
|
| DamaiDistributionPreSaleToNow
|
|
3604
3622
|
| DamaiDistributionProjectStatus
|
|
3605
3623
|
| DamaiDistributionRefundAuditResult
|
|
@@ -3809,10 +3827,12 @@ declare namespace IncomingMessage {
|
|
|
3809
3827
|
* - {@link IdleRecycleOrderStateSyn 闲鱼回收商消息 > 闲鱼回收业务订单消息}
|
|
3810
3828
|
* - {@link IdleRecycleOrderSyn 闲鱼回收商消息 > 回收订单交易消息}
|
|
3811
3829
|
* - {@link IdleRecycleRefundStatusModify 闲鱼回收商消息 > 退款消息}
|
|
3830
|
+
* - {@link IdleRecycleStoreSyn 闲鱼回收商消息 > 黄金回收门店信息变更通知}
|
|
3812
3831
|
*/
|
|
3813
3832
|
type IdleRecycle = IdleRecycleOrderStateSyn
|
|
3814
3833
|
| IdleRecycleOrderSyn
|
|
3815
|
-
| IdleRecycleRefundStatusModify
|
|
3834
|
+
| IdleRecycleRefundStatusModify
|
|
3835
|
+
| IdleRecycleStoreSyn;
|
|
3816
3836
|
/**
|
|
3817
3837
|
* - {@link IdleTopisvCompensateNotice 闲鱼已验货 > 闲鱼开放平台-服务赔付单变更消息通知}
|
|
3818
3838
|
* - {@link IdleTopisvGlobalProductNotice 闲鱼已验货 > 闲鱼开放平台-国际货品变更消息通知}
|
|
@@ -3855,9 +3875,11 @@ declare namespace IncomingMessage {
|
|
|
3855
3875
|
type LarkTrade = LarkTradePosTradeDataTransmit;
|
|
3856
3876
|
/**
|
|
3857
3877
|
* - {@link LianfanHuiwaModelStateUpdate 连凡 > 绘蛙模型状态变更消息}
|
|
3878
|
+
* - {@link LianfanHuiwaRequirementStateUpdate 连凡 > 绘蛙需求状态变更消息}
|
|
3858
3879
|
* - {@link LianfanHuiwaTaskStateUpdate 连凡 > 绘蛙生图任务状态变更消息}
|
|
3859
3880
|
*/
|
|
3860
3881
|
type LianfanHuiwa = LianfanHuiwaModelStateUpdate
|
|
3882
|
+
| LianfanHuiwaRequirementStateUpdate
|
|
3861
3883
|
| LianfanHuiwaTaskStateUpdate;
|
|
3862
3884
|
/**
|
|
3863
3885
|
* - {@link LstSupplierBroadcastFastRefundMessage 零售通_公共 > 零售通广播极速退款消息}
|
|
@@ -5365,6 +5387,10 @@ declare namespace IncomingMessage {
|
|
|
5365
5387
|
*/
|
|
5366
5388
|
type XianyuMarketrecycle = XianyuMarketrecycleOrderStateSyn
|
|
5367
5389
|
| XianyuMarketrecyclePlanStateSyn;
|
|
5390
|
+
/**
|
|
5391
|
+
* - {@link XianyuOutletCycleBuyVendueCreate 闲鱼 > 闲鱼奥莱周期拍拍品创建}
|
|
5392
|
+
*/
|
|
5393
|
+
type XianyuOutlet = XianyuOutletCycleBuyVendueCreate;
|
|
5368
5394
|
/**
|
|
5369
5395
|
* - {@link XianyuRecycleOrderStatusSync 闲鱼 > 订单状态同步给回收商}
|
|
5370
5396
|
* - {@link XianyuRecycleSpuModifySync 闲鱼 > 闲鱼回收SPU变更消息}
|
|
@@ -5385,6 +5411,14 @@ declare namespace IncomingMessage {
|
|
|
5385
5411
|
* - {@link XianyuTenderOrderSyn 闲鱼 > 省心卖-暗拍项目订单消息}
|
|
5386
5412
|
*/
|
|
5387
5413
|
type XianyuTender = XianyuTenderOrderSyn;
|
|
5414
|
+
/**
|
|
5415
|
+
* - {@link XianyuYellowboxGpuTemplatePunish 闲鱼 > GPU模版处罚消息通知}
|
|
5416
|
+
*/
|
|
5417
|
+
type XianyuYellowbox = XianyuYellowboxGpuTemplatePunish;
|
|
5418
|
+
/**
|
|
5419
|
+
* - {@link XianyuYushiTsOffShelf 闲鱼 > 闲鱼商品下架消息}
|
|
5420
|
+
*/
|
|
5421
|
+
type XianyuYushi = XianyuYushiTsOffShelf;
|
|
5388
5422
|
/**
|
|
5389
5423
|
* - {@link YoukuAigcTrainResultNotify 优酷 > 妙鸭SaaS对外开放-训练结果通知}
|
|
5390
5424
|
*/
|
|
@@ -6169,10 +6203,13 @@ declare namespace IncomingMessage {
|
|
|
6169
6203
|
* - {@link XianyuHjbt}
|
|
6170
6204
|
* - {@link XianyuIsv}
|
|
6171
6205
|
* - {@link XianyuMarketrecycle}
|
|
6206
|
+
* - {@link XianyuOutlet}
|
|
6172
6207
|
* - {@link XianyuRecycle}
|
|
6173
6208
|
* - {@link XianyuRegister}
|
|
6174
6209
|
* - {@link XianyuTemplate}
|
|
6175
6210
|
* - {@link XianyuTender}
|
|
6211
|
+
* - {@link XianyuYellowbox}
|
|
6212
|
+
* - {@link XianyuYushi}
|
|
6176
6213
|
*/
|
|
6177
6214
|
type Xianyu = XianyuAftersale
|
|
6178
6215
|
| XianyuAppraise
|
|
@@ -6183,10 +6220,13 @@ declare namespace IncomingMessage {
|
|
|
6183
6220
|
| XianyuHjbt
|
|
6184
6221
|
| XianyuIsv
|
|
6185
6222
|
| XianyuMarketrecycle
|
|
6223
|
+
| XianyuOutlet
|
|
6186
6224
|
| XianyuRecycle
|
|
6187
6225
|
| XianyuRegister
|
|
6188
6226
|
| XianyuTemplate
|
|
6189
|
-
| XianyuTender
|
|
6227
|
+
| XianyuTender
|
|
6228
|
+
| XianyuYellowbox
|
|
6229
|
+
| XianyuYushi;
|
|
6190
6230
|
/**
|
|
6191
6231
|
* - {@link YoukuAigc}
|
|
6192
6232
|
* - {@link YoukuTvosappstore}
|
package/types/xianyu.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ declare namespace Xianyu.Ctox {
|
|
|
67
67
|
interface PayDkChange {
|
|
68
68
|
/** 主订单(保卖订单等) */
|
|
69
69
|
biz_order_id: string;
|
|
70
|
+
/** 业务类型 */
|
|
71
|
+
biz_type?: string;
|
|
70
72
|
/** 代扣金额,分 */
|
|
71
73
|
confirm_fee: string;
|
|
72
74
|
/** 代扣流水号 */
|
|
@@ -183,6 +185,55 @@ declare namespace Xianyu.Marketrecycle {
|
|
|
183
185
|
}
|
|
184
186
|
}
|
|
185
187
|
|
|
188
|
+
/** 闲鱼 */
|
|
189
|
+
declare namespace Xianyu.Outlet {
|
|
190
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2605&docType=9 闲鱼奥莱周期拍拍品创建} */
|
|
191
|
+
interface CycleBuyVendueCreate {
|
|
192
|
+
/** 扩展参数 */
|
|
193
|
+
attributes?: string;
|
|
194
|
+
/** 业务类型 */
|
|
195
|
+
biz?: number;
|
|
196
|
+
/** 买家保证金 */
|
|
197
|
+
buyer_deposit?: number;
|
|
198
|
+
/** 描述地址 */
|
|
199
|
+
desc_tfs_url?: string;
|
|
200
|
+
/** 拍卖结束时间 */
|
|
201
|
+
end_time: string;
|
|
202
|
+
/** 创建时间 */
|
|
203
|
+
gmt_create: string;
|
|
204
|
+
/** 修改时间 */
|
|
205
|
+
gmt_modified: string;
|
|
206
|
+
/** 初始结束时间 */
|
|
207
|
+
init_end_time?: string;
|
|
208
|
+
/** 商品id */
|
|
209
|
+
item_id: number;
|
|
210
|
+
/** 最大价格 */
|
|
211
|
+
max_price?: number;
|
|
212
|
+
/** 最小价格 */
|
|
213
|
+
mini_price?: number;
|
|
214
|
+
/** 图片地址 */
|
|
215
|
+
pict_url?: string;
|
|
216
|
+
/** 价格 */
|
|
217
|
+
price_margin?: number;
|
|
218
|
+
/** 卖家id */
|
|
219
|
+
seller_id: number;
|
|
220
|
+
/** 起拍价 */
|
|
221
|
+
start_price: number;
|
|
222
|
+
/** 拍卖开始时间 */
|
|
223
|
+
start_time: string;
|
|
224
|
+
/** 拍品状态 */
|
|
225
|
+
status?: number;
|
|
226
|
+
/** 标题 */
|
|
227
|
+
title?: string;
|
|
228
|
+
/** 拍品id */
|
|
229
|
+
vendue_id: number;
|
|
230
|
+
/** 拍卖状态 */
|
|
231
|
+
vendue_status?: number;
|
|
232
|
+
/** 视频地址 */
|
|
233
|
+
video?: string;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
186
237
|
/** 闲鱼 */
|
|
187
238
|
declare namespace Xianyu.Recycle {
|
|
188
239
|
/** {@link https://open.taobao.com/tmc.htm?docId=1209&docType=9 订单状态同步给回收商} */
|
|
@@ -336,3 +387,41 @@ declare namespace Xianyu.Tender {
|
|
|
336
387
|
order_sub_status: string;
|
|
337
388
|
}
|
|
338
389
|
}
|
|
390
|
+
|
|
391
|
+
/** 闲鱼 */
|
|
392
|
+
declare namespace Xianyu.Yellowbox {
|
|
393
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2608&docType=9 GPU模版处罚消息通知} */
|
|
394
|
+
interface GpuTemplatePunish {
|
|
395
|
+
/** 动作类型, PUNISH处罚, CANCEL撤销 */
|
|
396
|
+
action_code: string;
|
|
397
|
+
/** 模版描述 */
|
|
398
|
+
gpu_desc: string;
|
|
399
|
+
/** GPU主键 */
|
|
400
|
+
gpu_id: number;
|
|
401
|
+
/** 模版id */
|
|
402
|
+
id: number;
|
|
403
|
+
/** 市场价,分为单位 */
|
|
404
|
+
market_price?: number;
|
|
405
|
+
/** 货号 */
|
|
406
|
+
product_code?: string;
|
|
407
|
+
/** 租户 */
|
|
408
|
+
tenant: string;
|
|
409
|
+
/** 标题 */
|
|
410
|
+
title?: string;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/** 闲鱼 */
|
|
415
|
+
declare namespace Xianyu.Yushi {
|
|
416
|
+
/** {@link https://open.taobao.com/tmc.htm?docId=2601&docType=9 闲鱼商品下架消息} */
|
|
417
|
+
interface TsOffShelf {
|
|
418
|
+
/** 卖家订单 */
|
|
419
|
+
biz_order_id: string;
|
|
420
|
+
/** 是否永久删除 */
|
|
421
|
+
is_forever_del: string;
|
|
422
|
+
/** 商品ID */
|
|
423
|
+
item_id: string;
|
|
424
|
+
/** 场次 */
|
|
425
|
+
schedule: string;
|
|
426
|
+
}
|
|
427
|
+
}
|