tmc.js 0.3.33 → 0.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -4
  3. package/package.json +1 -1
  4. package/types/ae.d.ts +12 -0
  5. package/types/ali.d.ts +61 -0
  6. package/types/alibaba.d.ts +2592 -145
  7. package/types/alicom.d.ts +127 -1
  8. package/types/aliexpress.d.ts +153 -11
  9. package/types/alihealth.d.ts +189 -3
  10. package/types/alihouse.d.ts +169 -0
  11. package/types/alios.d.ts +45 -0
  12. package/types/alipay.d.ts +479 -0
  13. package/types/alisports.d.ts +18 -0
  14. package/types/alitrip.d.ts +264 -16
  15. package/types/aliyun.d.ts +94 -1
  16. package/types/alsc.d.ts +329 -0
  17. package/types/ascp.d.ts +26 -1
  18. package/types/banma.d.ts +1 -1
  19. package/types/cainiao.d.ts +979 -2
  20. package/types/damai.d.ts +107 -7
  21. package/types/ele.d.ts +10 -0
  22. package/types/eleme.d.ts +71 -0
  23. package/types/fliggy.d.ts +95 -5
  24. package/types/fuwu.d.ts +2 -2
  25. package/types/gaode.d.ts +16 -0
  26. package/types/genie.d.ts +22 -0
  27. package/types/global.d.ts +22 -0
  28. package/types/gov.d.ts +160 -2
  29. package/types/icbu.d.ts +124 -0
  30. package/types/idle.d.ts +74 -16
  31. package/types/index.d.ts +3422 -14
  32. package/types/intime.d.ts +37 -0
  33. package/types/jae.d.ts +1 -1
  34. package/types/jym.d.ts +12 -0
  35. package/types/lst.d.ts +2 -2
  36. package/types/message.in.d.ts +3465 -76
  37. package/types/message.out.d.ts +1107 -26
  38. package/types/niaochao.d.ts +3 -3
  39. package/types/taobao.d.ts +3755 -278
  40. package/types/taotao.d.ts +44 -0
  41. package/types/tmall.d.ts +893 -36
  42. package/types/tobao.d.ts +26 -0
  43. package/types/trip.d.ts +6 -6
  44. package/types/umeng.d.ts +10 -0
  45. package/types/wdk.d.ts +30 -4
  46. package/types/xhotel.d.ts +16 -0
  47. package/types/xianyu.d.ts +33 -9
  48. package/types/youku.d.ts +18 -1
  49. package/types/yunos.d.ts +27 -2
package/types/alicom.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /** 阿里通信 */
2
2
  declare namespace Alicom.Axb {
3
- /** 绑定事件同步 */
3
+ /** {@link https://open.taobao.com/tmc.htm?docId=1259&docType=9 绑定事件同步} */
4
4
  interface SubsEventSync {
5
5
  /** 绑定关系中的黑名单 */
6
6
  black_list: string;
@@ -38,3 +38,129 @@ declare namespace Alicom.Axb {
38
38
  white_list: string;
39
39
  }
40
40
  }
41
+
42
+ /** 阿里通信 */
43
+ declare namespace Alicom.Deduct {
44
+ /** {@link https://open.taobao.com/tmc.htm?docId=1280&docType=9 阿里通信代扣订单支付结果消息} */
45
+ interface OrderPay {
46
+ /** 商户id */
47
+ merchant_id: string;
48
+ /** 商户订单代扣流水 */
49
+ out_order_id: string;
50
+ /** 支付金额,单位分,只有订单支付成功才有该字段 */
51
+ pay_amount?: string;
52
+ /** 代扣支付状态,成功:SUCCESS,失败:FAILED */
53
+ pay_status: string;
54
+ /** 支付时间,格式yyyy-MM-dd HH:mm:ss */
55
+ pay_time?: string;
56
+ /** 淘宝订单号 */
57
+ tb_order_id: string;
58
+ }
59
+ }
60
+
61
+ /** 阿里通信 */
62
+ declare namespace Alicom.Flow {
63
+ /** {@link https://open.taobao.com/tmc.htm?docId=1128&docType=9 支付宝流量钱包提取流量} */
64
+ interface AliPayChargeWalletFlow {
65
+ /** 业务的操作场景 */
66
+ "30": string;
67
+ /** 业务创建的来源 */
68
+ "134": string;
69
+ /** apdidToken无线设备标示 */
70
+ apdid_token?: string;
71
+ /** 受益人手机号 */
72
+ beneficiary_phone_number: string;
73
+ /** 消息id */
74
+ data_id: string;
75
+ /** 数据流量,单位为M,例如“2000M” */
76
+ data_traffic: string;
77
+ /** code */
78
+ event_code: string;
79
+ /** 手机流量提现 */
80
+ event_name: string;
81
+ /** server_name */
82
+ server_name: string;
83
+ /** 手机流量提现 */
84
+ topic: string;
85
+ /** 支付宝ID */
86
+ user_id: string;
87
+ }
88
+
89
+ /** {@link https://open.taobao.com/tmc.htm?docId=1139&docType=9 支付宝流量钱包发红包} */
90
+ interface AliPayChargeWalletRed {
91
+ /** 业务的操作场景 */
92
+ "30": string;
93
+ /** commonMobileData */
94
+ "78": string;
95
+ /** 红包名称 */
96
+ "82": string;
97
+ /** 红包发行数量 */
98
+ "84": string;
99
+ /** 业务流水号 */
100
+ "112": string;
101
+ /** 业务创建的来源 */
102
+ "134": string;
103
+ /** 对方id */
104
+ "150"?: string;
105
+ /** apdidToken无线设备标示 */
106
+ apdid_token: string;
107
+ /** 创建红包的入口 */
108
+ coupon_create_source: string;
109
+ /** 事件编码 */
110
+ event_code: string;
111
+ /** 事件名称 */
112
+ event_name: string;
113
+ /** friend_group_id */
114
+ friend_group_id?: string;
115
+ /** server_name */
116
+ server_name: string;
117
+ /** 红包id */
118
+ springcoupon_id: string;
119
+ /** topic */
120
+ topic: string;
121
+ /** 红包总数据流量 */
122
+ total_data_traffic: string;
123
+ /** 支付宝id */
124
+ user_id: string;
125
+ }
126
+
127
+ /** {@link https://open.taobao.com/tmc.htm?docId=1140&docType=9 支付宝流量钱包领取红包} */
128
+ interface AliPayWalletFlowDraw {
129
+ /** 场景 */
130
+ "30": string;
131
+ /** 红包模板类型 */
132
+ "78": string;
133
+ /** 红包名称 */
134
+ "82": string;
135
+ /** 红包发行数量 */
136
+ "84": string;
137
+ /** 来源 */
138
+ "134": string;
139
+ /** 对方账户id */
140
+ "150"?: string;
141
+ /** apdidToken */
142
+ apdid_token: string;
143
+ /** 领用红包的入口 */
144
+ coupon_draw_source: string;
145
+ /** 消息id */
146
+ data_id: string;
147
+ /** 本次领取的手机数据流量 */
148
+ data_traffic: string;
149
+ /** 时间编码 */
150
+ event_code: string;
151
+ /** 个人红包领取 */
152
+ event_name: string;
153
+ /** 群号Id */
154
+ friend_group_id?: string;
155
+ /** server_name */
156
+ server_name: string;
157
+ /** 红包ID */
158
+ springcoupon_id: string;
159
+ /** topic */
160
+ topic: string;
161
+ /** 红包总数据流量 */
162
+ total_data_traffic: string;
163
+ /** 支付宝账户id */
164
+ user_id: string;
165
+ }
166
+ }
@@ -1,6 +1,6 @@
1
1
  /** AE-任务平台消息 */
2
2
  declare namespace Aliexpress.Aeia {
3
- /** AE任务平台权益发放通知 */
3
+ /** {@link https://open.taobao.com/tmc.htm?docId=1864&docType=9 AE任务平台权益发放通知} */
4
4
  interface TaskplatformInterestNotice {
5
5
  /** 业务幂等id */
6
6
  detail_id: number;
@@ -23,9 +23,107 @@ declare namespace Aliexpress.Aeia {
23
23
  }
24
24
  }
25
25
 
26
+ /** AE */
27
+ declare namespace Aliexpress.Aftersaleinsurance {
28
+ /** {@link https://open.taobao.com/tmc.htm?docId=1479&docType=9 AE发送给蚂蚁保险的消息} */
29
+ interface MessageFromAE {
30
+ /** 消息补充信息 */
31
+ biz_data: string;
32
+ /** 订单号 */
33
+ biz_order_id: string;
34
+ /** 消息类型 */
35
+ message_type: string;
36
+ }
37
+
38
+ /** {@link https://open.taobao.com/tmc.htm?docId=1478&docType=9 蚂蚁保险消息-蚂蚁发出到AE} */
39
+ interface MessageFromAnt {
40
+ /** 消息补充信息 */
41
+ biz_data?: string;
42
+ /** 订单id */
43
+ biz_order_id: string;
44
+ /** 消息类型 */
45
+ message_type: string;
46
+ }
47
+ }
48
+
49
+ /** AE */
50
+ declare namespace Aliexpress.Message {
51
+ /** {@link https://open.taobao.com/tmc.htm?docId=1268&docType=9 站内信新消息主动推送} */
52
+ interface Pushnewmsg {
53
+ /** 消息内容 */
54
+ content: string;
55
+ /** 针对不同类型填对应关联对象的ID:如msgType为product时填入productId值(必填) 如msgType为member时不填 */
56
+ extern_id?: string;
57
+ /** 消息发送时间 */
58
+ gmt_create: string;
59
+ /** 消息id */
60
+ id: string;
61
+ /** product、member、order */
62
+ message_type: string;
63
+ /** 订单url */
64
+ order_url?: string;
65
+ /** 产品rul */
66
+ product_detail_url?: string;
67
+ /** 接收者登录账号 */
68
+ receiver_login_id: string;
69
+ /** 发送者登录账号 */
70
+ sender_login_id: string;
71
+ /** 发送者全名 */
72
+ sender_name?: string;
73
+ }
74
+ }
75
+
26
76
  /** AE-交易 */
27
77
  declare namespace Aliexpress.Order {
28
- /** 交易成功 */
78
+ /** {@link https://open.taobao.com/tmc.htm?docId=1603&docType=9 交易成功} */
79
+ interface AllFinish {
80
+ /** 当前订单状态,唯一值为:FINISH */
81
+ current_status: string;
82
+ /** 卖家账号ID */
83
+ login_id: string;
84
+ /** 订单状态变化时间 */
85
+ order_change_time: string;
86
+ /** 订单ID */
87
+ order_id: string;
88
+ }
89
+
90
+ /** {@link https://open.taobao.com/tmc.htm?docId=1594&docType=9 等待卖家发货(所有卖家的订单)} */
91
+ interface AllFulfillmentOrderCreated {
92
+ /** 当前订单状态,唯一值为:WAIT_SELLER_SEND_GOODS */
93
+ current_status: string;
94
+ /** 卖家账号ID */
95
+ login_id: string;
96
+ /** 订单状态变化时间 */
97
+ order_change_time: string;
98
+ /** 订单ID */
99
+ order_id: string;
100
+ }
101
+
102
+ /** {@link https://open.taobao.com/tmc.htm?docId=1601&docType=9 卖家部分发货(所有卖家的订单)} */
103
+ interface AllSellerPartSendGoods {
104
+ /** 当前订单状态,唯一值为:SELLER_PART_SEND_GOODS */
105
+ current_status: string;
106
+ /** 卖家账号ID */
107
+ login_id: string;
108
+ /** 订单状态变化时间 */
109
+ order_change_time: string;
110
+ /** 订单ID */
111
+ order_id: string;
112
+ }
113
+
114
+ /** {@link https://open.taobao.com/tmc.htm?docId=1602&docType=9 等待买家收货} */
115
+ interface AllWaitBuyerAcceptGoods {
116
+ /** 当前订单状态,唯一值为:WAIT_BUYER_ACCEPT_GOODS */
117
+ current_status: string;
118
+ /** 卖家账号ID */
119
+ login_id: string;
120
+ /** 订单状态变化时间 */
121
+ order_change_time: string;
122
+ /** 订单ID */
123
+ order_id: string;
124
+ }
125
+
126
+ /** {@link https://open.taobao.com/tmc.htm?docId=1138&docType=9 交易成功} */
29
127
  interface Finish {
30
128
  /** 当前订单状态,唯一值为:FINISH */
31
129
  current_status: string;
@@ -39,7 +137,7 @@ declare namespace Aliexpress.Order {
39
137
  order_id: string;
40
138
  }
41
139
 
42
- /** 资金处理中 */
140
+ /** {@link https://open.taobao.com/tmc.htm?docId=1137&docType=9 资金处理中} */
43
141
  interface FundProcessing {
44
142
  /** 当前订单状态,唯一值为:FINISH */
45
143
  current_status: string;
@@ -53,7 +151,7 @@ declare namespace Aliexpress.Order {
53
151
  order_id: string;
54
152
  }
55
153
 
56
- /** 取消订单中 */
154
+ /** {@link https://open.taobao.com/tmc.htm?docId=1136&docType=9 取消订单中} */
57
155
  interface InCancel {
58
156
  /** 当前订单状态,唯一值为:IN_CANCEL */
59
157
  current_status: string;
@@ -67,7 +165,7 @@ declare namespace Aliexpress.Order {
67
165
  order_id: string;
68
166
  }
69
167
 
70
- /** 下单成功 */
168
+ /** {@link https://open.taobao.com/tmc.htm?docId=1129&docType=9 下单成功} */
71
169
  interface PlaceOrderSuccess {
72
170
  /** 当前订单状态,唯一值为PLACE_ORDER_SUCCESS */
73
171
  current_status: string;
@@ -79,7 +177,7 @@ declare namespace Aliexpress.Order {
79
177
  order_id: string;
80
178
  }
81
179
 
82
- /** 风控24小时 */
180
+ /** {@link https://open.taobao.com/tmc.htm?docId=1130&docType=9 风控24小时} */
83
181
  interface RiskControl {
84
182
  /** 当前订单状态,唯一值为:RISK_CONTROL */
85
183
  current_status: string;
@@ -93,7 +191,7 @@ declare namespace Aliexpress.Order {
93
191
  order_id: string;
94
192
  }
95
193
 
96
- /** 等待部分发货 */
194
+ /** {@link https://open.taobao.com/tmc.htm?docId=1134&docType=9 等待部分发货} */
97
195
  interface SellerPartSendGoods {
98
196
  /** 当前订单状态,唯一值为:SELLER_PART_SEND_GOODS */
99
197
  current_status: string;
@@ -107,7 +205,7 @@ declare namespace Aliexpress.Order {
107
205
  order_id: string;
108
206
  }
109
207
 
110
- /** 等待买家收货 */
208
+ /** {@link https://open.taobao.com/tmc.htm?docId=1135&docType=9 等待买家收货} */
111
209
  interface WaitBuyerAcceptGoods {
112
210
  /** 当前订单状态,唯一值为:RISK_CONTROL */
113
211
  current_status: string;
@@ -121,7 +219,7 @@ declare namespace Aliexpress.Order {
121
219
  order_id: string;
122
220
  }
123
221
 
124
- /** 等待成团 */
222
+ /** {@link https://open.taobao.com/tmc.htm?docId=1132&docType=9 等待成团} */
125
223
  interface WaitGroupSuccess {
126
224
  /** 当前订单状态,唯一值为:RISK_CONTROL */
127
225
  current_status: string;
@@ -135,7 +233,7 @@ declare namespace Aliexpress.Order {
135
233
  order_id: string;
136
234
  }
137
235
 
138
- /** 待卖家验款 */
236
+ /** {@link https://open.taobao.com/tmc.htm?docId=1131&docType=9 待卖家验款} */
139
237
  interface WaitSellerExamineMoney {
140
238
  /** 当前订单状态,唯一值为:WAIT_SELLER_EXAMINE_MONEY */
141
239
  current_status: string;
@@ -149,7 +247,7 @@ declare namespace Aliexpress.Order {
149
247
  order_id: string;
150
248
  }
151
249
 
152
- /** 等待卖家发货 */
250
+ /** {@link https://open.taobao.com/tmc.htm?docId=1133&docType=9 等待卖家发货} */
153
251
  interface WaitSellerSendGoods {
154
252
  /** 当前订单状态,唯一值为:WAIT_SELLER_SEND_GOODS */
155
253
  current_status: string;
@@ -163,3 +261,47 @@ declare namespace Aliexpress.Order {
163
261
  order_id: string;
164
262
  }
165
263
  }
264
+
265
+ /** AE */
266
+ declare namespace Aliexpress.Trade {
267
+ /** {@link https://open.taobao.com/tmc.htm?docId=1753&docType=9 AE订单状态通知} */
268
+ interface OrderNotify {
269
+ /** 外部交易单号 */
270
+ out_id: string;
271
+ /** 支付收单id */
272
+ payment_id: string;
273
+ /** 卖家id */
274
+ seller_id: string;
275
+ /** 状态 */
276
+ status: string;
277
+ /** 平台的交易订单号 */
278
+ trade_order_id: string;
279
+ }
280
+ }
281
+
282
+ /** AE */
283
+ declare namespace Aliexpress.Warranty {
284
+ /** {@link https://open.taobao.com/tmc.htm?docId=1244&docType=9 发送保修单消息ByPms} */
285
+ interface CreateWarrantyOrderByPms {
286
+ /** 买家地址 */
287
+ buyer_address: string;
288
+ /** 保修单号 */
289
+ warranty_id: number;
290
+ }
291
+
292
+ /** {@link https://open.taobao.com/tmc.htm?docId=1249&docType=9 保修商消息-AE} */
293
+ interface WarrantyOrderMessageFromAE {
294
+ /** status */
295
+ status: string;
296
+ /** warranty_code */
297
+ warranty_code: string;
298
+ }
299
+
300
+ /** {@link https://open.taobao.com/tmc.htm?docId=1282&docType=9 保修商消息-AliExpress} */
301
+ interface WarrantyOrderMessageFromAliExpress {
302
+ /** status */
303
+ status: string;
304
+ /** warranty_code */
305
+ warranty_code: string;
306
+ }
307
+ }
@@ -1,6 +1,6 @@
1
1
  /** 平台消息 */
2
2
  declare namespace Alihealth.Cep {
3
- /** 孔雀翎订单消息通知 */
3
+ /** {@link https://open.taobao.com/tmc.htm?docId=1972&docType=9 孔雀翎订单消息通知} */
4
4
  interface OrderStatusChange {
5
5
  /** 孔雀翎O2O订单ID */
6
6
  cep_order_id: number;
@@ -15,9 +15,49 @@ declare namespace Alihealth.Cep {
15
15
  }
16
16
  }
17
17
 
18
+ /** 阿里健康 */
19
+ declare namespace Alihealth.Hb {
20
+ /** {@link https://open.taobao.com/tmc.htm?docId=1677&docType=9 患者就诊卡推送至医院进行验证} */
21
+ interface PushPatientCardToHis {
22
+ /** 患者就诊卡号 */
23
+ card_number?: string;
24
+ /** 机构id */
25
+ org_id: string;
26
+ /** 患者就诊卡id */
27
+ patient_card_id?: string;
28
+ /** 患者id */
29
+ patient_id: string;
30
+ }
31
+
32
+ /** {@link https://open.taobao.com/tmc.htm?docId=1664&docType=9 处方推送给银海} */
33
+ interface PushPrescriptionToYh {
34
+ /** HB系统处方表主键(处方id) */
35
+ prescription_id: string;
36
+ }
37
+ }
38
+
39
+ /** 阿里健康 */
40
+ declare namespace Alihealth.Test {
41
+ /** {@link https://open.taobao.com/tmc.htm?docId=1148&docType=9 阿里健康测试消息} */
42
+ interface TmcCreate {
43
+ /** 测试参数1 */
44
+ param0: number;
45
+ /** 测试参数2 */
46
+ param1: string;
47
+ /** 测试参数3 */
48
+ param2: Date | number | string;
49
+ /** 测试参数4 */
50
+ param3: boolean;
51
+ /** 测试参数5 */
52
+ param4: string;
53
+ /** 测试参数6 */
54
+ param5: string;
55
+ }
56
+ }
57
+
18
58
  /** 阿里健康&一树-电商中台对接 */
19
59
  declare namespace Alihealth.Ys {
20
- /** 订单支付成功推送 */
60
+ /** {@link https://open.taobao.com/tmc.htm?docId=2237&docType=9 订单支付成功推送} */
21
61
  interface OrderMemConsume {
22
62
  /** 企业号 */
23
63
  entid: string;
@@ -27,7 +67,7 @@ declare namespace Alihealth.Ys {
27
67
  platform: number;
28
68
  }
29
69
 
30
- /** 一树孔雀翎订单付款通知 */
70
+ /** {@link https://open.taobao.com/tmc.htm?docId=2244&docType=9 一树孔雀翎订单付款通知} */
31
71
  interface OrderPushConsume {
32
72
  /** 企业号 */
33
73
  entid: string;
@@ -36,4 +76,150 @@ declare namespace Alihealth.Ys {
36
76
  /** 请求平台1:平台2:商家 */
37
77
  platform: number;
38
78
  }
79
+
80
+ /** {@link https://open.taobao.com/tmc.htm?docId=2239&docType=9 订单退款成功推送} */
81
+ interface OrderRefund {
82
+ /** 退美?条件 1:全部退; 0:部分退; */
83
+ all_refund_flag: number;
84
+ /** 原单据号 */
85
+ original_order_no: string;
86
+ /** 退款单号 */
87
+ refund_no: string;
88
+ }
89
+
90
+ /** {@link https://open.taobao.com/tmc.htm?docId=2238&docType=9 会员变动} */
91
+ interface VipChange {
92
+ /** 详细地址 */
93
+ address?: string;
94
+ /** 生日 */
95
+ birthday?: string;
96
+ /** 会员卡号 */
97
+ card_no: string;
98
+ /** 市 */
99
+ city?: string;
100
+ /** 创建时间 */
101
+ create_time: string;
102
+ /** 门店编码 */
103
+ dept_code: string;
104
+ /** 门店名称 */
105
+ dept_name: string;
106
+ /** 区 */
107
+ district?: string;
108
+ /** 邮箱地址 */
109
+ email?: string;
110
+ /** 中台商家id */
111
+ ent_id: string;
112
+ /** 性别:男1,女2,未知3 */
113
+ gender?: number;
114
+ /** 身份证号 */
115
+ id_no?: string;
116
+ /** 备注 */
117
+ memo?: string;
118
+ /** 姓名 */
119
+ name: string;
120
+ /** 经办人姓名 */
121
+ operator_name: string;
122
+ /** 助记码 */
123
+ op_code?: string;
124
+ /** 手机号 */
125
+ phone_no: string;
126
+ /** 省 */
127
+ province?: string;
128
+ /** 状态:正常1,停用2 */
129
+ status: string;
130
+ }
131
+
132
+ /** {@link https://open.taobao.com/tmc.htm?docId=2240&docType=9 会员积分变动} */
133
+ interface VipIntegralChange {
134
+ /** 会员卡号 */
135
+ card_no: string;
136
+ /** 创建时间 */
137
+ create_time: string;
138
+ /** 门店编码 */
139
+ dept_code: string;
140
+ /** 门店名称 */
141
+ dept_name: string;
142
+ /** 中台商家id */
143
+ ent_id: string;
144
+ /** 变更积分 */
145
+ integral: string;
146
+ /** 经办人姓名 */
147
+ operator_name: string;
148
+ /** 手机号 */
149
+ phone_no: string;
150
+ /** 积分类型 */
151
+ point_type: number;
152
+ /** 孔雀翎业务单号 */
153
+ source_bill_no: string;
154
+ }
155
+
156
+ /** {@link https://open.taobao.com/tmc.htm?docId=2245&docType=9 会员积分同步} */
157
+ interface VipIntegralSync {
158
+ /** 会员卡号 */
159
+ card_no: string;
160
+ /** 创建时间 */
161
+ create_time: Date | number | string;
162
+ /** 门店编码 */
163
+ dept_code: string;
164
+ /** 门店名称 */
165
+ dept_name: string;
166
+ /** 中台商家id */
167
+ ent_id: string;
168
+ /** 变更积分 */
169
+ integral: number;
170
+ /** 操作人编码 */
171
+ operator_code?: string;
172
+ /** 操作人姓名 */
173
+ operator_name?: string;
174
+ /** 手机号,加密传输 */
175
+ phone_no: string;
176
+ /** 积分类型 */
177
+ point_type: number;
178
+ /** 孔雀翎业务单号 */
179
+ source_bill_no: string;
180
+ }
181
+
182
+ /** {@link https://open.taobao.com/tmc.htm?docId=2243&docType=9 会员信息同步} */
183
+ interface VipSync {
184
+ /** 详细地址,加密传输 */
185
+ address?: string;
186
+ /** 生日 */
187
+ birthday?: Date | number | string;
188
+ /** 会员卡号 */
189
+ card_no: string;
190
+ /** 市 */
191
+ city?: string;
192
+ /** 创建时间 */
193
+ create_time: Date | number | string;
194
+ /** 门店编码 */
195
+ dept_code: string;
196
+ /** 门店名称 */
197
+ dept_name: string;
198
+ /** 区 */
199
+ district?: string;
200
+ /** 邮箱地址,加密传输 */
201
+ email?: string;
202
+ /** 中台商家id */
203
+ ent_id: string;
204
+ /** 性别:男1,女2,未知3 */
205
+ gender?: number;
206
+ /** 身份证号,加密传输 */
207
+ id_no?: string;
208
+ /** 备注 */
209
+ memo?: string;
210
+ /** 姓名,加密传输 */
211
+ name: string;
212
+ /** 操作人编码 */
213
+ operator_code?: string;
214
+ /** 操作人姓名 */
215
+ operator_name?: string;
216
+ /** 助记码 */
217
+ op_code?: string;
218
+ /** 手机号,加密传输 */
219
+ phone_no: string;
220
+ /** 省 */
221
+ province?: string;
222
+ /** 状态:正常1,停用2 */
223
+ status: number;
224
+ }
39
225
  }