tmc.js 0.3.0

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.
@@ -0,0 +1,40 @@
1
+ /** 阿里通信 */
2
+ declare namespace Alicom.Axb {
3
+ /** 绑定事件同步 */
4
+ interface SubsEventSync {
5
+ /** 绑定关系中的黑名单 */
6
+ black_list: string;
7
+ /** 显号策略AXB(A和B互打都显示X号码),RAXB(A给B打在B端显示真实real的A号码),AXRB,RAXRB(基本不存在这种情况) */
8
+ call_display: string;
9
+ /** 事件名:BIND(绑定事件), UPDATE_NO_A(修改A号码),UPDATE_NO_B(修改B号码),UNBIND(解绑) */
10
+ event: string;
11
+ /** 绑定关系变更事件event的ID,一组绑定关系分配一个subs_id,期间发生多次变更会产生多个event事件,每个event有一个event_id */
12
+ event_id: number;
13
+ /** 事件生成时间 */
14
+ gmt_create: Date;
15
+ /** 绑定失效时间 */
16
+ gmt_subs_end: string;
17
+ /** 绑定开始时间 */
18
+ gmt_subs_start: Date;
19
+ /** 是否需要录音 */
20
+ need_record: boolean;
21
+ /** AXB三元组的A号码 */
22
+ phone_no_a: string;
23
+ /** AXB三元组的B号码 */
24
+ phone_no_b: string;
25
+ /** AXB三元组中的X号码 */
26
+ phone_no_x: string;
27
+ /** 阿里侧对应的产品类型,AXB、AXN、AXN_EXTESION_REUSE */
28
+ product_type: string;
29
+ /** SMS_NORMAL_SEND:正常短信下发,SMS_INTERCEPT短信托收,SMS_DROP拦截丢弃 */
30
+ sms_channel: string;
31
+ /** 绑定关系当前状态,1绑定生效状态,0绑定失效状态 */
32
+ status: number;
33
+ /** 阿里侧的绑定关系ID */
34
+ subs_id: string;
35
+ /** 阿里侧分配给供应商的KEY */
36
+ vendor_key: string;
37
+ /** 绑定关系中的白名单。比如AXB中有白名单号码C和D,那么C和D就可以给X打电话 */
38
+ white_list: string;
39
+ }
40
+ }
@@ -0,0 +1,165 @@
1
+ /** AE-任务平台消息 */
2
+ declare namespace Aliexpress.Aeia {
3
+ /** AE任务平台权益发放通知 */
4
+ interface TaskplatformInterestNotice {
5
+ /** 业务幂等id */
6
+ detail_id: number;
7
+ /** 权益code */
8
+ interest_code: string;
9
+ /** 发放数目 */
10
+ interest_num: number;
11
+ /** 项目id */
12
+ project_id: number;
13
+ /** 任务id */
14
+ task_id: number;
15
+ /** 任务名称 */
16
+ task_name: string;
17
+ /** 任务类型 */
18
+ task_type: number;
19
+ /** 任务类型mark */
20
+ task_type_mark: string;
21
+ /** 用户id */
22
+ user_id: number;
23
+ }
24
+ }
25
+
26
+ /** AE-交易 */
27
+ declare namespace Aliexpress.Order {
28
+ /** 交易成功 */
29
+ interface Finish {
30
+ /** 当前订单状态,唯一值为:FINISH */
31
+ current_status: string;
32
+ /** 上一个订单状态PLACE_ORDER_SUCCESS、PAYMENT_PROCESSING、IN_BOOK_SALE或FUND_PROCESSING等 */
33
+ last_status: string;
34
+ /** 卖家账号ID */
35
+ login_id: string;
36
+ /** 消息发送时间 */
37
+ order_change_time: string;
38
+ /** 订单ID */
39
+ order_id: string;
40
+ }
41
+
42
+ /** 资金处理中 */
43
+ interface FundProcessing {
44
+ /** 当前订单状态,唯一值为:FINISH */
45
+ current_status: string;
46
+ /** 上一个订单状态:RISK_CONTROL、RISK_CONTROL_HOLD、WAIT_SELLER_EXAMINE_MONEY、WAIT_GROUP_SUCCESS、WAIT_SELLER_SEND_GOODS、WAIT_BUYER_ACCEPT_GOODS或IN_CANCEL */
47
+ last_status: string;
48
+ /** 卖家账号ID */
49
+ login_id: string;
50
+ /** 订单状态变化时间 */
51
+ order_change_time: string;
52
+ /** 订单ID */
53
+ order_id: string;
54
+ }
55
+
56
+ /** 取消订单中 */
57
+ interface InCancel {
58
+ /** 当前订单状态,唯一值为:IN_CANCEL */
59
+ current_status: string;
60
+ /** 上一个订单状态:WAIT_SELLER_SEND_GOODS */
61
+ last_status: string;
62
+ /** 卖家账号ID */
63
+ login_id: string;
64
+ /** 消息发送时间 */
65
+ order_change_time: string;
66
+ /** 订单ID */
67
+ order_id: string;
68
+ }
69
+
70
+ /** 下单成功 */
71
+ interface PlaceOrderSuccess {
72
+ /** 当前订单状态,唯一值为PLACE_ORDER_SUCCESS */
73
+ current_status: string;
74
+ /** 卖家账号ID */
75
+ login_id: string;
76
+ /** 订单状态变化时间 */
77
+ order_change_time: string;
78
+ /** 123456 */
79
+ order_id: string;
80
+ }
81
+
82
+ /** 风控24小时 */
83
+ interface RiskControl {
84
+ /** 当前订单状态,唯一值为:RISK_CONTROL */
85
+ current_status: string;
86
+ /** 上一个订单状态PLACE_ORDER_SUCCESS、PAYMENT_PROCESSING或IN_BOOK_SALE */
87
+ last_status: string;
88
+ /** 卖家账号ID */
89
+ login_id: string;
90
+ /** 消息发送时间 */
91
+ order_change_time: string;
92
+ /** 订单ID */
93
+ order_id: string;
94
+ }
95
+
96
+ /** 等待部分发货 */
97
+ interface SellerPartSendGoods {
98
+ /** 当前订单状态,唯一值为:SELLER_PART_SEND_GOODS */
99
+ current_status: string;
100
+ /** 上一个订单状态:WAIT_SELLER_SEND_GOODS或SELLER_PART_SEND_GOODS */
101
+ last_status: string;
102
+ /** 卖家账号ID */
103
+ login_id: string;
104
+ /** 订单状态变化时间 */
105
+ order_change_time: string;
106
+ /** 订单ID */
107
+ order_id: string;
108
+ }
109
+
110
+ /** 等待买家收货 */
111
+ interface WaitBuyerAcceptGoods {
112
+ /** 当前订单状态,唯一值为:RISK_CONTROL */
113
+ current_status: string;
114
+ /** 上一个订单状态:WAIT_SELLER_SEND_GOODS或SELLER_PART_SEND_GOODS */
115
+ last_status: string;
116
+ /** 卖家账号ID */
117
+ login_id: string;
118
+ /** 订单状态变化时间 */
119
+ order_change_time: string;
120
+ /** 订单ID */
121
+ order_id: string;
122
+ }
123
+
124
+ /** 等待成团 */
125
+ interface WaitGroupSuccess {
126
+ /** 当前订单状态,唯一值为:RISK_CONTROL */
127
+ current_status: string;
128
+ /** 上一个订单状态: RISK_CONTROL或RISK_CONTROL_HOLD */
129
+ last_status: string;
130
+ /** 卖家账号ID */
131
+ login_id: string;
132
+ /** 订单状态变化时间 */
133
+ order_change_time: string;
134
+ /** 订单ID */
135
+ order_id: string;
136
+ }
137
+
138
+ /** 待卖家验款 */
139
+ interface WaitSellerExamineMoney {
140
+ /** 当前订单状态,唯一值为:WAIT_SELLER_EXAMINE_MONEY */
141
+ current_status: string;
142
+ /** 上一个订单状态:RISK_CONTROL或RISK_CONTROL_HOLD */
143
+ last_status: string;
144
+ /** 卖家账号ID */
145
+ login_id: string;
146
+ /** 订单状态变化时间 */
147
+ order_change_time: string;
148
+ /** 订单ID */
149
+ order_id: string;
150
+ }
151
+
152
+ /** 等待卖家发货 */
153
+ interface WaitSellerSendGoods {
154
+ /** 当前订单状态,唯一值为:WAIT_SELLER_SEND_GOODS */
155
+ current_status: string;
156
+ /** 上一个订单状态RISK_CONTROL或RISK_CONTROL_HOLD */
157
+ last_status: string;
158
+ /** 卖家账号ID */
159
+ login_id: string;
160
+ /** 订单状态变化时间 */
161
+ order_change_time: string;
162
+ /** 订单ID */
163
+ order_id: string;
164
+ }
165
+ }
@@ -0,0 +1,39 @@
1
+ /** 平台消息 */
2
+ declare namespace Alihealth.Cep {
3
+ /** 孔雀翎订单消息通知 */
4
+ interface OrderStatusChange {
5
+ /** 孔雀翎O2O订单ID */
6
+ cep_order_id: number;
7
+ /** 魔方平台服务商id */
8
+ cube_id: number;
9
+ /** 物流状态(0-未呼物流,默认值;1-已呼叫物流,2-配送员已接单,3-配送中,4-已完成,5-已取消) */
10
+ delivery_status: number;
11
+ /** 订单状态(1-已支付;2-已接单;3-已完成;4-已取消) */
12
+ order_status: number;
13
+ /** 退款状态(0-未申请退款,默认值;1-已申请退款;2-同意退款;3-拒绝退款;4-已取消退款) */
14
+ refund_status: number;
15
+ }
16
+ }
17
+
18
+ /** 阿里健康&一树-电商中台对接 */
19
+ declare namespace Alihealth.Ys {
20
+ /** 订单支付成功推送 */
21
+ interface OrderMemConsume {
22
+ /** 企业号 */
23
+ entid: string;
24
+ /** 订单信息 */
25
+ order: string;
26
+ /** 请求平台1:平台2:商家 */
27
+ platform: number;
28
+ }
29
+
30
+ /** 一树孔雀翎订单付款通知 */
31
+ interface OrderPushConsume {
32
+ /** 企业号 */
33
+ entid: string;
34
+ /** 订单信息 */
35
+ order: string;
36
+ /** 请求平台1:平台2:商家 */
37
+ platform: number;
38
+ }
39
+ }
@@ -0,0 +1,298 @@
1
+ /** 淘宝机票 */
2
+ declare namespace Alitrip.Agent {
3
+ /** 商家机票业务通知 */
4
+ interface Notify {
5
+ /** 店铺id */
6
+ agent_id: number;
7
+ /** 业务id */
8
+ biz_id: string;
9
+ /** 事件描述 */
10
+ description: string;
11
+ /** 国内国际标识 */
12
+ domestic_intl: number;
13
+ /** 事件 */
14
+ event: string;
15
+ /** 消息发送时间 */
16
+ msg_time: Date;
17
+ /** 业务类型 */
18
+ type: string;
19
+ }
20
+ }
21
+
22
+ /** 商旅API */
23
+ declare namespace Alitrip.Btrip {
24
+ /** 阿里商旅企业签约结果回调 */
25
+ interface CorpSignCallback {
26
+ /** 第三方企业编码 */
27
+ corp_id: string;
28
+ /** 签约结果:成功/失败 */
29
+ sign_result: boolean;
30
+ /** 签约结果提示:成功/失败提示 */
31
+ sign_tips: string;
32
+ }
33
+
34
+ /** 阿里商旅企业超标审批单提交消息 */
35
+ interface ExceedApplySubmit {
36
+ /** 商旅审批单号 */
37
+ apply_id: number;
38
+ /** 业务类型,3:超标审批,5:改签审批,6:退票审批 */
39
+ biz_category: number;
40
+ /** 第三方企业id */
41
+ corp_id: string;
42
+ /** 审批消息类目,0机票 1火车票 2酒店 */
43
+ type: number;
44
+ /** 审批提交人用户id */
45
+ user_id: string;
46
+ }
47
+ }
48
+
49
+ /** 淘宝机票 */
50
+ declare namespace Alitrip.Flight {
51
+ /** 航变消息 */
52
+ interface Change {
53
+ /** 航变时间 */
54
+ flight_change_time: Date;
55
+ /** 航变类型,1为取消,2为变更,3为保护 */
56
+ flight_change_type: number;
57
+ /** 新到达机场 */
58
+ new_arr_airport: string;
59
+ /** 新到达时间 */
60
+ new_arr_time: Date;
61
+ /** 新出发机场 */
62
+ new_dep_airport: string;
63
+ /** 新出发时间 */
64
+ new_dep_time: Date;
65
+ /** 新航班号 */
66
+ new_flight_num: string;
67
+ /** 原到达机场 */
68
+ old_arr_airport: string;
69
+ /** 原到达时间 */
70
+ old_arr_time: Date;
71
+ /** 原出发机场 */
72
+ old_dep_airport: string;
73
+ /** 原出发时间 */
74
+ old_dep_time: Date;
75
+ /** 原航班号 */
76
+ old_flight_num: string;
77
+ /** 订单id */
78
+ order_id: number;
79
+ }
80
+ }
81
+
82
+ /** 淘宝机票 */
83
+ declare namespace Alitrip.Iesr {
84
+ /** 航变数据推送 */
85
+ interface FlightChange {
86
+ /** 发生航班请及时通知乘客 */
87
+ desc: string;
88
+ /** 航变时间 */
89
+ flight_change_time: Date;
90
+ /** 航变类型(1-航班取消, 2-航班变更) */
91
+ flight_change_type: number;
92
+ /** 航变后到达机场 */
93
+ new_arr_airport: string;
94
+ /** 航变后到达时间 */
95
+ new_arr_time: Date;
96
+ /** 航变后出发机场 */
97
+ new_dep_airport: string;
98
+ /** 航变后出发时间 */
99
+ new_dep_time: Date;
100
+ /** 航变后航班号 */
101
+ new_flight_num: string;
102
+ /** 航变前到达机场 */
103
+ old_arr_airport: string;
104
+ /** 航变前到达时间 */
105
+ old_arr_time: Date;
106
+ /** 航变前出发机场 */
107
+ old_dep_airport: string;
108
+ /** 航变前出发时间 */
109
+ old_dep_time: Date;
110
+ /** 航变前航班号 */
111
+ old_flight_num: string;
112
+ /** 订单ID */
113
+ order_id: number;
114
+ }
115
+
116
+ /** 国际运价采购票消息 */
117
+ interface TicketMessage {
118
+ /** 消息描述 */
119
+ description: string;
120
+ /** 消息类型 */
121
+ messagetype: string;
122
+ /** 订单ID */
123
+ orderid: number;
124
+ /** 票信息 */
125
+ ticketlist: string[];
126
+ }
127
+ }
128
+
129
+ /** 淘宝机票 */
130
+ declare namespace Alitrip.Ietrade {
131
+ /** 国际机票改签订单状态消息 */
132
+ interface ChangeMsg {
133
+ /** 卖家店铺ID */
134
+ agent_id: number;
135
+ /** 消息类型:1.改签申请成功 2.改签支付成功 3.改签完成 4.改签关闭 */
136
+ message_type: number;
137
+ /** 改签申请单ID */
138
+ modify_apply_id: number;
139
+ /** 订单ID */
140
+ order_id: number;
141
+ }
142
+
143
+ /** 国际机票订单消息 */
144
+ interface OrderMsg {
145
+ /** 卖家店铺ID */
146
+ agent_id: number;
147
+ /** 消息类型:1.订单创建成功 2.支付成功 3.订单完成 4.订单关闭 */
148
+ message_type: number;
149
+ /** 订单ID */
150
+ order_id: number;
151
+ }
152
+
153
+ /** 国际机票退票订单状态消息 */
154
+ interface RefundMsg {
155
+ /** 卖家店铺ID */
156
+ agent_id: number;
157
+ /** 消息类型:1.退票申请成功 2.退款成功 3.退票关闭 */
158
+ message_type: number;
159
+ /** 订单版本: v1、v2 */
160
+ model_version: string;
161
+ /** 订单ID */
162
+ order_id: number;
163
+ /** 退票申请单ID */
164
+ refund_apply_id: number;
165
+ }
166
+ }
167
+
168
+ /** 淘宝火车票 */
169
+ declare namespace Alitrip.Train {
170
+ /** 火车票车次状态变更消息 */
171
+ interface AgentStopQuery {
172
+ /** 发车时间 */
173
+ dep_time: string;
174
+ /** 出发车站 */
175
+ from_station: string;
176
+ /** 到达车站 */
177
+ to_station: string;
178
+ /** 车次号 */
179
+ train_no: string;
180
+ /** 唯一标识uuid */
181
+ uuid: string;
182
+ }
183
+ }
184
+
185
+ /** 航旅度假交易 */
186
+ declare namespace Alitrip.Travel {
187
+ /** 飞猪度假交易订单状态变更消息 */
188
+ interface OrderChanged {
189
+ /** 可选字段,跨店铺数据访问情况下,已被授权允许访问该笔订单数据的appkey列表 */
190
+ auth_appkeys: string;
191
+ /** 垂直业务相关扩展信息,json格式字符串,支持的key列表详见:https://open.alitrip.com/docs/doc.htm?spm=0.0.0.0.wOSWfy&docType=1&articleId=108054&previewCode=99F3B6F3E954A7979A6F2135174EC898 */
192
+ biz_exts: string;
193
+ /** 可选字段,垂直业务类型。1-度假(自由行,跟团游),2-普通签证,3-门票,4-wifi,7-当地玩乐,9-邮轮,10-用车(包车,租车),12-电话卡,17-流量充值,18-港澳签注,19-在线签证,0-其他 */
194
+ biz_type: number;
195
+ /** 买家昵称 */
196
+ buyer_nick: string;
197
+ /** 订单创建时间 */
198
+ gmt_created: Date;
199
+ /** 订单上一次修改时间 */
200
+ gmt_modified: Date;
201
+ /** 该主订单下子订单列表所对应的商品信息列表,多个以英文逗号分隔。商品信息格式为:类目id:商品id:商品级别商家编码:sku级别商家编码 */
202
+ item_infos: string;
203
+ /** 主订单id */
204
+ order_id: number;
205
+ /** 订单状态。1-订单创建,2-订单已付款(已付全款),3-订单已关闭,4-订单已发货,5-交易成功(全部打款给卖家),6-订单已付定金(只有预售商品订单才有),7-部分交易成功(部分打款给卖家,目前只有签证业务才有),8-在线办理订单买家提交材料(签证在线化业务) */
206
+ order_status: number;
207
+ /** 卖家id */
208
+ seller_id: number;
209
+ /** 卖家昵称 */
210
+ seller_nick: string;
211
+ }
212
+
213
+ /** 出行人信息变更消息 */
214
+ interface PersonChanged {
215
+ /** 订单号 */
216
+ order_id: number;
217
+ }
218
+
219
+ /** 签证消息服务 */
220
+ interface VisaService {
221
+ /** 申请人id */
222
+ apply_id: string;
223
+ /** 是否是线下准备 true表示下线 false表示非下线 */
224
+ face_offline: boolean;
225
+ /** 申请表PDF链接 */
226
+ form_url: string;
227
+ /** 实人认证身份证号码 */
228
+ id_number: string;
229
+ /** 物流单号 */
230
+ logistics_numer: string;
231
+ /** 消息类型 */
232
+ message_type: string;
233
+ /** 订单id */
234
+ order_id: number;
235
+ /** 证件照url */
236
+ photo_url: string;
237
+ /** 物流公司code */
238
+ post_company_code: string;
239
+ /** 商家昵称 */
240
+ seller_nick: string;
241
+ /** 实人认证失败原因 */
242
+ verify_fail_msg: string;
243
+ /** 实人认证姓名 */
244
+ verify_name: string;
245
+ /** 实人认证状态 -1未认证 0认证中 1通过 2不通过 10失效 */
246
+ verify_status: number;
247
+ }
248
+ }
249
+
250
+ /** 航旅度假交易 */
251
+ declare namespace Alitrip.Tripticket {
252
+ /** 旅行机票交易创建 */
253
+ interface TravellerCreate {
254
+ /** 买家昵称 */
255
+ buyer_nick: string;
256
+ /** 扩展字段 */
257
+ ext: string;
258
+ /** 订单id */
259
+ oid: string;
260
+ /** 订单创建时间 */
261
+ order_create_time: Date;
262
+ /** 卖家昵称 */
263
+ seller_nick: string;
264
+ /** 提交出行人时间 */
265
+ traveler_input_time: Date;
266
+ }
267
+ }
268
+
269
+ /** 航旅度假交易 */
270
+ declare namespace Alitrip.Visa {
271
+ /** 在线签证交易完成消息 */
272
+ interface TradeDone {
273
+ /** 交易流水号 */
274
+ alipay_trade_id: string;
275
+ /** 申请人Id */
276
+ apply_id: string;
277
+ /** 国家信息 */
278
+ country: string;
279
+ /** 货币单位(现在只要RMB) */
280
+ currency_type: string;
281
+ /** 订单ID */
282
+ order_id: number;
283
+ /** 商家申请人Id */
284
+ outer_apply_id: string;
285
+ /** 支付方式(现在只有ALIPAY) */
286
+ payment_type: string;
287
+ /** 汇款方式 */
288
+ remit_type: string;
289
+ /** 商家ID */
290
+ seller_id: number;
291
+ /** 交易金额(单位分) */
292
+ total_amount: number;
293
+ /** 用户ID */
294
+ user_id: number;
295
+ /** 签证类型 */
296
+ visa_mode: string;
297
+ }
298
+ }
@@ -0,0 +1,10 @@
1
+ /** IOT-智能制造 */
2
+ declare namespace Aliyun.Iot {
3
+ /** 天天工厂采购单同步 */
4
+ interface OrderSync {
5
+ /** 采购单Id */
6
+ external_id: string;
7
+ /** 订单Id */
8
+ order_id: string;
9
+ }
10
+ }
@@ -0,0 +1,14 @@
1
+ /** 平台消息 */
2
+ declare namespace Banma.Right {
3
+ /** 斑马权益平台权益变更通知 */
4
+ interface TradeCreate {
5
+ /** 第三方返回信息 */
6
+ extra: string;
7
+ /** 实例code */
8
+ instance_code: string;
9
+ /** 实例状态 */
10
+ instance_state: string;
11
+ /** 订单编号 */
12
+ order_code: string;
13
+ }
14
+ }
@@ -0,0 +1,39 @@
1
+ /** 菜鸟发货工作台 */
2
+ declare namespace Cainiao.Consignplatform {
3
+ /** 发货工作台下发物流详情消息 */
4
+ interface LogisiticsDetail {
5
+ /** 快递公司code */
6
+ cp_code: string;
7
+ /** 快递公司名称 */
8
+ cp_name: string;
9
+ /** TMS_NOT_ACCEPT 已取号未揽收; TMS_ACCEPT 已揽收; TMS_DELIVERING 派件中;TMS_SIGN 妥投; TMS_FAILED 拒收; TMS_ERROR 配送异常; TMS_TRANSPORT 运输中; */
10
+ logistics_action: string;
11
+ /** lpCode */
12
+ lp_code: string;
13
+ /** 面单号 */
14
+ mail_no: string;
15
+ /** 事件发生时间 */
16
+ occur_time: Date;
17
+ /** 订单来源,比如 ”TMJL“ 代表天猫精灵 */
18
+ order_source: string;
19
+ /** 外部系统的业务id */
20
+ outer_order_id: string;
21
+ /** 外部子订单列表 */
22
+ outer_sub_order_ids: string[];
23
+ /** 商家id */
24
+ user_id: number;
25
+ }
26
+ }
27
+
28
+ /** IoT售后解决方案 */
29
+ declare namespace Cainiao.Iot {
30
+ /** IoT售后工单信息消息 */
31
+ interface AftersalesTicket {
32
+ /** 设备条码 */
33
+ device_bar_code: string;
34
+ /** 消息类型 */
35
+ tag: string;
36
+ /** 工单ID */
37
+ ticket_id: number;
38
+ }
39
+ }
@@ -0,0 +1,59 @@
1
+ /** 大麦第三方票务供应商接入 */
2
+ declare namespace Damai.Distribution {
3
+ /** 场次取消消息推送 */
4
+ interface PerformCancel {
5
+ /** 场次取消的场次id */
6
+ perform_id: number;
7
+ /** 场次取消的项目id */
8
+ project_id: number;
9
+ }
10
+
11
+ /** 场次状态变更推送 */
12
+ interface PerformStatus {
13
+ /** 是否可售 */
14
+ can_sale: boolean;
15
+ /** 场次id */
16
+ perform_id: number;
17
+ }
18
+
19
+ /** 预售改开票 */
20
+ interface PreSaleToNow {
21
+ /** 场次id */
22
+ perform_id: number;
23
+ /** 预售变为开票 */
24
+ pre_sale_2_now: boolean;
25
+ /** 项目id */
26
+ project_id: number;
27
+ }
28
+
29
+ /** 项目状态推送 */
30
+ interface ProjectStatus {
31
+ /** 是否可售 */
32
+ can_sale: boolean;
33
+ /** 项目id */
34
+ project_id: number;
35
+ }
36
+
37
+ /** 票品状态变更 */
38
+ interface TicketItemStatus {
39
+ /** 是否可售 */
40
+ can_sale: boolean;
41
+ /** 票品id */
42
+ ticket_item_id: number;
43
+ }
44
+ }
45
+
46
+ /** 大麦票单状态 */
47
+ declare namespace Damai.Trade {
48
+ /** 大麦票单状态推送 */
49
+ interface TicketStatusPush {
50
+ /** 订单号 */
51
+ order_id: number;
52
+ /** 票单状态:1:已出票;2:已验票;3:已退票 退票状态:100:审核通过;101:驳回(拒绝) */
53
+ status: number;
54
+ /** 1表示票单状态,2表示退票状态 */
55
+ status_type: number;
56
+ /** 子订单ID */
57
+ sub_order_id: number;
58
+ }
59
+ }