@be-link/pos-cli-nodejs 0.0.1 → 0.0.2

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/types.d.ts ADDED
@@ -0,0 +1,722 @@
1
+ export declare namespace POS {
2
+ /** 常量枚举 */
3
+ namespace Constants {
4
+ /** 状态枚举 */
5
+ enum TradeOrderStatusEnum {
6
+ /** 未支付 */
7
+ NOT_PAID = "NOT_PAID",
8
+ /** 支付失败 */
9
+ PAY_FAILED = "PAY_FAILED",
10
+ /** 支付成功 */
11
+ PAY_SUCCEED = "PAY_SUCCEED",
12
+ /** 待确认 */
13
+ PENDING = "PENDING",
14
+ /** 待供应商确认 */
15
+ PENDING_FOR_SUPPLIER = "PENDING_FOR_SUPPLIER",
16
+ /** 待履约 */
17
+ READY_TO_FULFILL = "READY_TO_FULFILL",
18
+ /** 履约中 */
19
+ FULFILLING = "FULFILLING",
20
+ /** 完结 */
21
+ SUCCEED = "SUCCEED",
22
+ /** 关闭 */
23
+ CLOSED = "CLOSED",
24
+ /** 供应商拒单 */
25
+ SUPPLIER_REJECTED = "SUPPLIER_REJECTED"
26
+ }
27
+ /** 订单操作角色枚举 */
28
+ enum TradeOperatorRoleEnum {
29
+ /** 用户 */
30
+ USER = "USER",
31
+ /** 员工 */
32
+ STAFF = "STAFF",
33
+ /** 系统 */
34
+ SYSTEM = "SYSTEM",
35
+ /** 供应商 */
36
+ SUPPLIER = "SUPPLIER"
37
+ }
38
+ /** 备注操作人角色枚举 */
39
+ enum OperatorRoleEnum {
40
+ /** 用户 */
41
+ USER = "USER",
42
+ /** 系统 */
43
+ SYSTEM = "SYSTEM",
44
+ /** 企微 */
45
+ QW = "QW",
46
+ /**飞书 */
47
+ FEISHU = "FEISHU",
48
+ /** 员工 */
49
+ STAFF = "STAFF",
50
+ /** 商家 */
51
+ MERCHANT = "MERCHANT"
52
+ }
53
+ /** 备注类型枚举 */
54
+ enum NoteStatusEnum {
55
+ /** 未完成 */
56
+ UNFINISHED = "UNFINISHED",
57
+ /** 已完成 */
58
+ FINISHED = "FINISHED"
59
+ }
60
+ /** 备注状态修改人角色枚举 */
61
+ enum ModifyOperatorRoleEnum {
62
+ /** 企微 */
63
+ QW = "QW",
64
+ /** 系统 */
65
+ SYSTEM = "SYSTEM",
66
+ /** 用户 */
67
+ USER = "USER",
68
+ /** 飞书 */
69
+ FEISHU = "FEISHU",
70
+ /** 员工 */
71
+ STAFF = "STAFF",
72
+ /** 商家 */
73
+ MERCHANT = "MERCHANT"
74
+ }
75
+ /** 备注类型枚举 */
76
+ enum NoteTypeEnum {
77
+ /** 用户 */
78
+ USER = "USER",
79
+ /** 商家 */
80
+ MERCHANT = "MERCHANT",
81
+ /** 系统 */
82
+ SYSTEM = "SYSTEM",
83
+ /** 企微 */
84
+ QW = "QW",
85
+ /** 员工 */
86
+ STAFF = "STAFF"
87
+ }
88
+ /** 支付方式 */
89
+ enum PaymentTypeEnum {
90
+ /** 一次性支付 */
91
+ SINGLE_PAYMENT = "SINGLE_PAYMENT",
92
+ /** 预定金额 */
93
+ DEPOSIT = "DEPOSIT",
94
+ /** 尾款支付 */
95
+ FINAL = "FINAL",
96
+ /** 金币抵扣 */
97
+ CREDIT = "CREDIT"
98
+ }
99
+ /** 支付工具类型 */
100
+ enum PayToolEnum {
101
+ /** 微信支付 */
102
+ WX_PAY = "WX_PAY",
103
+ /** 金币抵扣 */
104
+ CREDIT = "CREDIT"
105
+ }
106
+ /** 优惠工具 */
107
+ enum PromotionTypeEnum {
108
+ /** 优惠券 */
109
+ COUPON = "COUPON",
110
+ /** 会员价 */
111
+ MEMBER_REDUCE = "MEMBER_REDUCE"
112
+ }
113
+ /** 购买sku状态枚举 */
114
+ enum PurchaseSkuStatusEnum {
115
+ /** 有效 */
116
+ VALID = "VALID",
117
+ /** 无效 */
118
+ INVALID = "INVALID"
119
+ }
120
+ /** 使用人群枚举 */
121
+ enum ApplicablePeopleEnum {
122
+ /** 成人 */
123
+ ADULT = "ADULT",
124
+ /** 儿童 */
125
+ CHILDREN = "CHILDREN",
126
+ /** 单房差 */
127
+ SUPPLEMENT_SINGLE_ROOM = "SUPPLEMENT_SINGLE_ROOM"
128
+ }
129
+ /** 旅游行程类型枚举 */
130
+ enum ItineraryTypeEnum {
131
+ /** 去程 */
132
+ DEPARTURE = "DEPARTURE",
133
+ /** 返程 */
134
+ RETURN = "RETURN"
135
+ }
136
+ /** 交通方式枚举 */
137
+ enum TransportationTypeEnum {
138
+ /** 飞机 */
139
+ AIRPLANE = "AIRPLANE",
140
+ /** 火车 */
141
+ TRAIN = "TRAIN",
142
+ /** 动车 */
143
+ BULLET_TRAIN = "BULLET_TRAIN",
144
+ /** 高铁 */
145
+ HIGH_SPEED_RAIL = "HIGH_SPEED_RAIL",
146
+ /** 大巴 */
147
+ BUS = "BUS",
148
+ /** 无 */
149
+ ABSENT = "ABSENT"
150
+ }
151
+ /** 班车类型枚举 */
152
+ enum ShuttleTypeEnum {
153
+ /** 去程 */
154
+ DEPARTURE = "DEPARTURE",
155
+ /** 返程 */
156
+ RETURN = "RETURN"
157
+ }
158
+ }
159
+ namespace DTO {
160
+ /**
161
+ * 订单正向结构
162
+ */
163
+ interface IPositiveOrder {
164
+ /** 快照:订单ID */
165
+ id: string;
166
+ /** 快照:创建时间 */
167
+ createdAt: number;
168
+ /** 更新时间 */
169
+ updatedAt: number;
170
+ /** 订单状态 */
171
+ status: Constants.TradeOrderStatusEnum;
172
+ /** 快照:支付时间 */
173
+ paidAt: number;
174
+ /** 订单履约时间 */
175
+ fulfillAt: number;
176
+ /** 履约结束时间: endOfDay(fulfillAt + T - 1) 回团日期当天的最后一秒 */
177
+ fulfillEndAt: number;
178
+ /** 快照:订单完结时间 */
179
+ completedAt: number;
180
+ /** 快照:订单应付金额(商品总价) */
181
+ originalFee: number;
182
+ /** 快照:订单实付金额(优惠后金额) */
183
+ actuallyPaidFee: number;
184
+ /** 订单剩余金额 */
185
+ remainFee: number;
186
+ /** 快照:归属用户unionId */
187
+ unionId: string;
188
+ /** 快照:归属用户openId */
189
+ openId: string;
190
+ /** 快照:来源用户unionId */
191
+ fromUnionId: string;
192
+ /** 快照:来源用户角色 */
193
+ fromUserRole: string;
194
+ /** 快照:交易主商品一级类目 */
195
+ categoryOne: string;
196
+ /** 快照:交易主商品二级类目 */
197
+ categoryTwo: string;
198
+ /** 快照:商品归属门店ID */
199
+ storeId: string;
200
+ /** 快照:交易主商品ID */
201
+ itemId: string;
202
+ /** 交易主SKUID(改期场景会更新该字段) */
203
+ skuId: string;
204
+ /** 快照:关联主单ID */
205
+ rootOrderId: string;
206
+ /** 快照:下单场景信息 */
207
+ sceneInfo: {
208
+ /** 一级场景 */
209
+ scene1?: string;
210
+ /** 二级场景 */
211
+ scene2?: string;
212
+ /** 小程序场景值 */
213
+ appScene: number;
214
+ };
215
+ }
216
+ interface IPositiveAttributes {
217
+ /** 订单ID */
218
+ id: string;
219
+ /** 下单时是否是会员 */
220
+ isMemberOrder: boolean;
221
+ /** 是否为首次交易 */
222
+ isFirstTrade: boolean;
223
+ /** 是否合并过其它订单 */
224
+ hasMergedOrder: boolean;
225
+ /** 是否合并到了其它订单 */
226
+ isMerged: boolean;
227
+ /** 是否修改过餐食 */
228
+ isMealInfoModified: boolean;
229
+ /** 是否确认餐食信息 */
230
+ isMealInfoConfirmed: boolean;
231
+ /** 是否购买过保险 */
232
+ isPurchasedInsurance: boolean;
233
+ /** 服务通知是否已读 */
234
+ buyerWxNotificationIsRead: boolean;
235
+ /** 服务通知是否发送 */
236
+ hasSentWXNotification: boolean;
237
+ /** 是否授权服务通知 */
238
+ isAuthSendItineraryInfoSubscribeMessage: boolean;
239
+ /** 出行人是否填写完整 */
240
+ isTouristsCompletely: boolean;
241
+ }
242
+ interface CostInclusionJson {
243
+ /** 标题 */
244
+ title: string;
245
+ /** 值 */
246
+ value: string;
247
+ }
248
+ interface CreditInfo {
249
+ /** 抵扣金币 */
250
+ deductRate: number;
251
+ }
252
+ interface ItinerarySchedule {
253
+ /** 描述 */
254
+ description: any[];
255
+ /** 图片列表 */
256
+ pics: string[];
257
+ /** 标题 */
258
+ title: string;
259
+ }
260
+ interface Content {
261
+ /** 类型 */
262
+ type: string;
263
+ /** 值 */
264
+ value: string;
265
+ }
266
+ interface ProductDetail {
267
+ /** 内容 */
268
+ content: Content[];
269
+ /** 标题 */
270
+ title: string;
271
+ }
272
+ interface SubContent {
273
+ /** 类型 */
274
+ type: string;
275
+ /** 值 */
276
+ value: string;
277
+ }
278
+ interface PurchasingInstruction {
279
+ /** 内容 */
280
+ content: SubContent[];
281
+ /** 标题 */
282
+ title: string;
283
+ }
284
+ /**
285
+ * 订单商品快照
286
+ */
287
+ interface IPositiveItemInfo {
288
+ /** 商品ID */
289
+ id: string;
290
+ /** 取消政策 */
291
+ cancellationPolicy: string;
292
+ /** 一级类目 */
293
+ categoryOne: string;
294
+ /** 二级类目 */
295
+ categoryTwo: string;
296
+ /** 费用不包含 */
297
+ costExclusion: string;
298
+ /** 费用包含 */
299
+ costInclusion: any;
300
+ /** 费用说明 */
301
+ costInclusionJson: CostInclusionJson[];
302
+ /** 金币信息 */
303
+ creditInfo: CreditInfo;
304
+ /** 地接社 */
305
+ domesticTourOperator: string;
306
+ /** 产品特色 */
307
+ featuredTags: string[];
308
+ /** 门店id */
309
+ storeId?: string;
310
+ /** 头图 */
311
+ headPics: string[];
312
+ /** 视频 */
313
+ headVideo: string;
314
+ /** 是否仅员工可见 */
315
+ isOnlyStaffCanSee: number;
316
+ /** 是否自组团 */
317
+ isSelfLead: number;
318
+ /** 行程安排 */
319
+ itinerarySchedule: ItinerarySchedule[];
320
+ /** 最低市场价 */
321
+ minMarketPrice: number;
322
+ /** 最低会员价 */
323
+ minMemberPrice: number;
324
+ /** 最低价 */
325
+ minPrice: number;
326
+ /** 名称 */
327
+ name: string;
328
+ /** 商品详情 */
329
+ productDetails: ProductDetail[];
330
+ /** 购买须知 */
331
+ purchasingInstruction: PurchasingInstruction[];
332
+ /** 销量 */
333
+ saleCount: number;
334
+ /** 商品状态 */
335
+ status: string;
336
+ /** 出发地 */
337
+ tourBeginPlace: string;
338
+ /** 行程天数 */
339
+ tourDays: number;
340
+ /** 目的地 */
341
+ tourEndPlace: string;
342
+ /** 旅游供应商 */
343
+ tourWholesaler: any;
344
+ /** 浏览次数 */
345
+ viewCount: number;
346
+ /** 视频号feedId */
347
+ wxFeedId: string;
348
+ /** 视频号FinderUserName */
349
+ wxFinderUserName: string;
350
+ /** 合作方 */
351
+ cooperator: string;
352
+ /** 酒店供应商 */
353
+ hotelSupplier: string;
354
+ /** 酒店班车供应商 */
355
+ shuttleBusSupplier: string;
356
+ /** 酒店班车供应商ID */
357
+ shuttleBusSupplierIds: string[];
358
+ /** 酒店班车结算价 */
359
+ shuttleBusSettlementPrice: number;
360
+ /** 旅游负责人 */
361
+ tourPrincipal: string | null;
362
+ /** 设施 */
363
+ facilities: any[];
364
+ /** 提前预定天数(0~255) */
365
+ bookingDays?: number;
366
+ /** 预定须知描述 */
367
+ bookingTip?: string;
368
+ /** 有效期开始时间 */
369
+ periodStartTime?: number;
370
+ /** 有效期结束时间 */
371
+ periodEndTime?: number;
372
+ /** 是否可以修改餐食 */
373
+ canUpdateMealInfo: number | boolean;
374
+ }
375
+ interface IPositiveSkuInfo {
376
+ /** SKU ID */
377
+ id: string;
378
+ /** SKU 适用人群类型 */
379
+ applicablePeople: Constants.ApplicablePeopleEnum;
380
+ /** SKU 套餐 */
381
+ combo?: string;
382
+ /** SKU 费用天数 */
383
+ costDays?: number;
384
+ /** SKU 出发日期 */
385
+ departureDate: number;
386
+ /** SKU 显示出发日期 */
387
+ displayDepartureDate?: string;
388
+ /** SKU 团信息 */
389
+ groupInfo?: {
390
+ /** 团编号 */
391
+ groupIdx?: number;
392
+ /** 车牌号 */
393
+ carNo?: string;
394
+ /** 领队手机号 */
395
+ leaderMobile?: string;
396
+ /** 领队姓名 */
397
+ leaderName?: string;
398
+ /** 团二维码 */
399
+ wxQrCode?: string;
400
+ /** 返程交通(废弃,兼容历史数据) */
401
+ outboundTraffic?: string;
402
+ /** 去程交通(废弃,兼容历史数据) */
403
+ returnTraffic?: string;
404
+ /** 志愿者姓名 */
405
+ volunteerName?: string;
406
+ /** 志愿者手机号 */
407
+ volunteerMobile?: string;
408
+ /** 提示 */
409
+ tips?: string;
410
+ /** 合同 */
411
+ contract?: any;
412
+ /** 保险 */
413
+ certificateOfInsurance?: any;
414
+ };
415
+ /** SKU 所属商品 ID */
416
+ itemId: string;
417
+ /** SKU 市场价 */
418
+ marketPrice: number;
419
+ /** SKU 会员价 */
420
+ memberPrice?: number;
421
+ /** SKU 会员价限制次数 */
422
+ memberPriceLimitTimes?: number;
423
+ /** SKU 最小订单数量 */
424
+ minOrderQuantity: number;
425
+ /** SKU 计划库存 */
426
+ planStock: number;
427
+ /** SKU 数量 */
428
+ quantity: number;
429
+ /** SKU 相关 SKU */
430
+ relatedSku: string;
431
+ /** SKU 开售时间 */
432
+ saleBeginTime: number;
433
+ /** SKU 结束时间 */
434
+ saleEndTime: number;
435
+ /** SKU 售价 */
436
+ salePrice: number;
437
+ /** SKU 状态 */
438
+ status: string;
439
+ /** SKU 剩余库存 */
440
+ surplus: number;
441
+ /** SKU 结算价 */
442
+ settlementPrice: number;
443
+ /** 酒店 SKU 额外信息 */
444
+ hotelExtraInfo?: {
445
+ /** SKU ID */
446
+ _id: string;
447
+ /** SKU 所属商品 ID */
448
+ itemId: string;
449
+ /** SKU 餐饮信息 */
450
+ mealInfo: string;
451
+ /** SKU 是否有下午茶 */
452
+ hasAfternoonTea: number;
453
+ /** SKU 是否有班车 */
454
+ hasShuttleBus: number;
455
+ };
456
+ }
457
+ interface IWxPaymentInfo {
458
+ appId: string;
459
+ nonceStr: string;
460
+ package: string;
461
+ paySign: string;
462
+ signType: string;
463
+ timeStamp: string;
464
+ }
465
+ interface IPositivePaymentInfo {
466
+ /** 支付关联的交易订单ID */
467
+ tradeOrderId: string;
468
+ /** 支付类型 */
469
+ type: Constants.PaymentTypeEnum;
470
+ /** 支付工具 */
471
+ payTool: Constants.PayToolEnum;
472
+ /** 支付总金额 */
473
+ totalFee: number;
474
+ /** 外部系统中的支付交易ID */
475
+ outBizId: string;
476
+ /** 支付交易的预支付ID */
477
+ prepayId: string;
478
+ /** 支付关联的子商户ID */
479
+ subMchId?: string;
480
+ /** 支付交易状态 */
481
+ tradeState: string;
482
+ /** 支付交易状态描述 */
483
+ tradeStateDesc: string;
484
+ /** 支付交易的额外信息 */
485
+ extraInfo?: {
486
+ /** 微信支付交易信息 */
487
+ wxPaymentInfo?: IWxPaymentInfo;
488
+ };
489
+ }
490
+ interface CouponSnapShotInfo {
491
+ /** 优惠券Id */
492
+ id: string;
493
+ /** 优惠券的基本信息。 */
494
+ basicInfo: any;
495
+ /** 优惠券的折扣规则。 */
496
+ discountRule: {
497
+ level: string;
498
+ };
499
+ /** 与优惠券相关的任何额外信息。 */
500
+ extraInfo: any;
501
+ /** 优惠券可以提供的授权类型。 */
502
+ grantType: string[];
503
+ /** 优惠券的使用范围。 */
504
+ scope: {
505
+ type: string;
506
+ value: string[];
507
+ }[];
508
+ /** 优惠券的使用限制。 */
509
+ usageLimit: any;
510
+ }
511
+ interface IPositivePromotionInfo {
512
+ /** 营销记录Id */
513
+ id: string;
514
+ /** 订单Id */
515
+ tradeOrderId: string;
516
+ /** 与营销关联的业务的唯一标识符。 */
517
+ bizId: string;
518
+ /** 营销类型。 */
519
+ type: Constants.PromotionTypeEnum;
520
+ /** 与营销关联的 SKU 列表。 */
521
+ skuIdList: string[];
522
+ /** 营销价格。 */
523
+ price: number;
524
+ /** 营销应用的减免金额。 */
525
+ reduce: number;
526
+ /** 与营销关联的优惠券的快照信息。 */
527
+ snapShotInfo: CouponSnapShotInfo;
528
+ }
529
+ interface IPositiveItineraryInfo {
530
+ /** 行程 ID */
531
+ id: string;
532
+ /** 人员姓名 */
533
+ name: string;
534
+ /** 人员电话 */
535
+ phone: string;
536
+ /** 人员身份证号 */
537
+ idCard: string;
538
+ /** 行程类型 */
539
+ type: Constants.ItineraryTypeEnum;
540
+ /** 交通工具类型 */
541
+ transportationType: Constants.TransportationTypeEnum;
542
+ /** 出发站 */
543
+ departureStation: string;
544
+ /** 集合时间 */
545
+ assemblyTime: number;
546
+ /** 交通工具出发时间 */
547
+ transportationDepartureTime: number;
548
+ /** 交通工具编号 */
549
+ serialNumber: string;
550
+ /** 行程备注 */
551
+ remark: string;
552
+ /** 座位号 */
553
+ seatNumber: string;
554
+ /** 司机电话 */
555
+ driverPhone: string;
556
+ /** 交易订单 ID */
557
+ tradeOrderId: string;
558
+ /** 商品 ID */
559
+ itemId: string;
560
+ /** SKU ID */
561
+ skuId: string;
562
+ /** 出行人 ID */
563
+ touristId: string;
564
+ }
565
+ interface ContactInfo {
566
+ /** 联系人姓名 */
567
+ name: string;
568
+ /** 联系人电话 */
569
+ mobile: string;
570
+ /** 联系人身份证号 */
571
+ idCard?: string;
572
+ }
573
+ interface TouristInfo {
574
+ /** 出行人Id */
575
+ id: string;
576
+ /** 填写人Id */
577
+ fillerUserId?: string;
578
+ /** 性别 */
579
+ gender: number;
580
+ /** 身份证 */
581
+ idCard: string;
582
+ /** 是否自己 */
583
+ isSelf: number;
584
+ /** 电话号码 */
585
+ mobile: string;
586
+ /** 姓名 */
587
+ name: string;
588
+ /** unionId */
589
+ unionId: string;
590
+ /** 是否已通知 */
591
+ hasNotified?: boolean;
592
+ /** skuId */
593
+ skuId?: string;
594
+ /** 是否发送语音消息 */
595
+ isVoiceSucceed?: boolean;
596
+ /** 是否发送短信 */
597
+ isSmsSucceed?: boolean;
598
+ }
599
+ /** 旅游出行信息,已不再适用,兼容旧数据 */
600
+ interface ItineraryInfo {
601
+ /** 集合时间 */
602
+ assemblyTime: number;
603
+ /** 出发时间 */
604
+ departureTime: number;
605
+ /** 集合点 */
606
+ location: string;
607
+ /** 座位号 */
608
+ seatNo?: string[];
609
+ /** 去程座位号 */
610
+ outboundSeatInfoDesc: string;
611
+ /** 返程座位号 */
612
+ returnSeatInfoDesc: string;
613
+ /** 行程备注 */
614
+ itineraryInfoNote: string;
615
+ }
616
+ interface IPositiveTouristInfo {
617
+ /** 订单 ID。 */
618
+ id: string;
619
+ /** 联系人 */
620
+ contactInfo: ContactInfo;
621
+ /** 出行人列表 */
622
+ tourists: TouristInfo[];
623
+ /** 行程信息。 */
624
+ itineraryInfo: ItineraryInfo;
625
+ /** 行程单已读列表 */
626
+ travelFormReadList: string[];
627
+ }
628
+ interface IPositiveFulfillmentInfo {
629
+ /** 订单 ID */
630
+ positiveOrderId: string;
631
+ /** 房间信息。 */
632
+ roomInfo: {
633
+ /** 房间单人床数量。 */
634
+ singleBed: number;
635
+ /** 房间双人床数量。 */
636
+ doubleBed: number;
637
+ };
638
+ /** 定制餐食信息。 */
639
+ customMealInfo: string;
640
+ }
641
+ interface TradeOrderMergeRecordResource {
642
+ /** 资源类型 */
643
+ type: string;
644
+ /** 合并前 */
645
+ before: Record<string, any>;
646
+ /** 合并后 */
647
+ after: Record<string, any>;
648
+ }
649
+ interface IPositiveMergeRecord {
650
+ /** 订单Id */
651
+ targetId: string;
652
+ /** 资源 */
653
+ resources: TradeOrderMergeRecordResource[];
654
+ }
655
+ interface IShuttleInfo {
656
+ /** 班车记录Id */
657
+ id: string;
658
+ /** 班车类型 */
659
+ type: Constants.ShuttleTypeEnum;
660
+ /** 车牌号 */
661
+ carNo: string;
662
+ /** 出发站 */
663
+ station: string;
664
+ /** 上车时间 */
665
+ pickupTime: string;
666
+ /** 司机电话 */
667
+ driverPhone: string;
668
+ /** 座位号列表 */
669
+ seatNumbers: number[];
670
+ /** 订单Id */
671
+ tradeOrderId: string;
672
+ /** 是否发送短信 */
673
+ isSendSms: number;
674
+ /** 是否发送语音消息 */
675
+ isSendVoice: number;
676
+ /** 班车供应商id */
677
+ shuttleBusId: string;
678
+ }
679
+ interface IPositiveNoteInfo {
680
+ /** 备注Id */
681
+ id: string;
682
+ /** 订单Id */
683
+ tradeOrderId: string;
684
+ /** 操作人角色 */
685
+ operatorRole: Constants.OperatorRoleEnum;
686
+ /** 操作人 */
687
+ operatorUser: string;
688
+ /** 内容 */
689
+ content: string;
690
+ /** 备注状态 */
691
+ status: Constants.NoteStatusEnum;
692
+ /** 修改人角色 */
693
+ modifyOperatorRole?: Constants.ModifyOperatorRoleEnum;
694
+ /** 修改人 */
695
+ modifyOperatorUser?: string;
696
+ /** 备注类型 */
697
+ type: Constants.OperatorRoleEnum;
698
+ }
699
+ interface IPositiveChangeSkuRecord {
700
+ /** 变更记录Id */
701
+ id: string;
702
+ /** 订单id */
703
+ orderId: string;
704
+ /** 操作人 */
705
+ operator: string;
706
+ /** 变更原因类型 */
707
+ reasonType: string;
708
+ /** 变更原因描述内容(手写) */
709
+ reasonDesc: string;
710
+ /** 原skuId */
711
+ originalSkuId: string;
712
+ /** 原sku出行日期 */
713
+ originalDepartureDate: number;
714
+ /** 目标skuID */
715
+ targetSkuId: string;
716
+ /** 目标sku出行日期 */
717
+ targetDepartureDate: number;
718
+ /** 附件文件的URL列表 */
719
+ attachment: string[];
720
+ }
721
+ }
722
+ }