@shopby/shop-sdk 1.10.4 → 1.10.6

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 (38) hide show
  1. package/build/src/domain/order.d.ts +2 -2
  2. package/build/src/domain/order.js.map +1 -1
  3. package/build/src/index.d.ts +1 -1
  4. package/build/types/common/maps.d.ts +127 -34
  5. package/build/types/common/maps.js +127 -34
  6. package/build/types/common/maps.js.map +1 -1
  7. package/build/types/common/types/index.d.ts +1 -0
  8. package/build/types/common/types/index.js +1 -0
  9. package/build/types/common/types/index.js.map +1 -1
  10. package/build/types/common/types/literal.d.ts +8 -0
  11. package/build/types/common/types/util.d.ts +1 -0
  12. package/build/types/common/types/util.js +2 -0
  13. package/build/types/common/types/util.js.map +1 -0
  14. package/build/types/common/unions.d.ts +5 -13
  15. package/build/types/domain/claim/maps.d.ts +89 -0
  16. package/build/types/domain/claim/maps.js +90 -0
  17. package/build/types/domain/claim/maps.js.map +1 -0
  18. package/build/types/domain/claim/unions.d.ts +9 -0
  19. package/build/types/domain/claim/unions.js +2 -0
  20. package/build/types/domain/claim/unions.js.map +1 -0
  21. package/build/types/domain/order/index.d.ts +362 -2
  22. package/build/types/domain/order/index.js +1 -1
  23. package/build/types/domain/order/index.js.map +1 -1
  24. package/build/types/domain/order/maps.d.ts +120 -0
  25. package/build/types/domain/order/maps.js +121 -0
  26. package/build/types/domain/order/maps.js.map +1 -0
  27. package/build/types/domain/order/unions.d.ts +20 -0
  28. package/build/types/domain/order/unions.js +2 -0
  29. package/build/types/domain/order/unions.js.map +1 -0
  30. package/build/types/domain/product/core/index.d.ts +2 -1
  31. package/build/types/domain/product/delivery/index.d.ts +2 -2
  32. package/package.json +1 -1
  33. package/build/types/domain/product/delivery/maps/index.d.ts +0 -12
  34. package/build/types/domain/product/delivery/maps/index.js +0 -13
  35. package/build/types/domain/product/delivery/maps/index.js.map +0 -1
  36. package/build/types/domain/product/delivery/unions/index.d.ts +0 -3
  37. package/build/types/domain/product/delivery/unions/index.js +0 -2
  38. package/build/types/domain/product/delivery/unions/index.js.map +0 -1
@@ -0,0 +1,90 @@
1
+ export var NEXT_ACTION_TYPE_MAP = {
2
+ CANCEL_ALL: '주문취소',
3
+ CANCEL: '취소',
4
+ EXCHANGE: '교환',
5
+ RETURN: '반품',
6
+ WITHDRAW_CANCEL: '취소신청 취소',
7
+ WITHDRAW_EXCHANGE: '교환신청 취소',
8
+ WITHDRAW_RETURN: '반품신청 취소',
9
+ VIEW_CLAIM: '클레임 조회',
10
+ VIEW_DELIVERY: '배송조회',
11
+ DELIVERY_DONE: '수취확인',
12
+ CONFIRM_ORDER: '구매확정',
13
+ CHANGE_ADDRESS: '배송지변경',
14
+ WRITE_REVIEW: '상품평작성',
15
+ ISSUE_CASH_RECEIPT: '현금영수증 발행',
16
+ VIEW_RECEIPT: '현금영수증 조회'
17
+ };
18
+ export var CLAIM_CLASS_TYPE = {
19
+ LEGACY: '레거시',
20
+ ORDER_CANCEL: '전체취소',
21
+ OPTION_CANCEL: '부분취소',
22
+ RETURN_EXCHANGE: '출고 후 교환',
23
+ CANCEL_EXCHANGE: '출고 전 교환',
24
+ RETURN: '반품'
25
+ };
26
+ export var RESPONSIBLE_OBJECT_TYPE_MAP = {
27
+ BUYER: '구매자 귀책',
28
+ SELLER: '판매자 귀책',
29
+ };
30
+ export var CLAIM_REASON_TYPE_MAP = {
31
+ CHANGE_MIND: '단순변심(색상,사이즈 등)',
32
+ DEFECTIVE_PRODUCT: '상품불량/파손',
33
+ WRONG_DELIVERY: '배송누락/오배송',
34
+ OUT_OF_STOCK_SYSTEM: '재고부족(시스템)',
35
+ CANCEL_BEFORE_PAY: '입금전취소',
36
+ WRONG_PRODUCT_DETAIL: '상품상세 정보와 다름',
37
+ DELAY_DELIVERY: '판매자 배송 지연',
38
+ OUT_OF_STOCK: '상품 품절/재고 없음',
39
+ OTHERS_SELLER: '기타(판매자 귀책)',
40
+ OTHERS_BUYER: '기타(구매자 귀책)'
41
+ };
42
+ export var CLAIM_STATUS_TYPE_MAP = {
43
+ CANCEL_NO_REFUND: '취소완료[환불없음]',
44
+ CANCEL_REQUEST: '취소신청[승인대기]',
45
+ CANCEL_PROC_REQUEST_REFUND: '취소처리[환불보류]',
46
+ CANCEL_PROC_WAITING_REFUND: '취소처리[환불대기]',
47
+ CANCEL_DONE: '취소완료[환불완료]',
48
+ RETURN_REQUEST: '반품신청[승인대기]',
49
+ RETURN_REJECT_REQUEST: '반품신청[철회대기]',
50
+ RETURN_PROC_BEFORE_RECEIVE: '반품처리[수거진행]',
51
+ RETURN_PROC_REQUEST_REFUND: '반품처리[환불보류]',
52
+ RETURN_PROC_WAITING_REFUND: '반품처리[환불대기]',
53
+ RETURN_DONE: '반품완료[환불완료]',
54
+ RETURN_REFUND_AMT_ADJUST_REQUESTED: '반품처리[조정요청]',
55
+ RETURN_NO_REFUND: '반품완료[환불없음]',
56
+ EXCHANGE_REQUEST: '교환신청[승인대기]',
57
+ EXCHANGE_REJECT_REQUEST: '교환처리[철회대기]',
58
+ EXCHANGE_PROC_BEFORE_RECEIVE: '교환처리[수거진행]',
59
+ EXCHANGE_PROC_REQUEST_PAY: '교환처리[결제대기]',
60
+ EXCHANGE_PROC_REQUEST_REFUND: '교환처리[환불보류]',
61
+ EXCHANGE_PROC_WAITING: '교환처리[처리대기]',
62
+ EXCHANGE_DONE: '교환완료[차액없음]',
63
+ EXCHANGE_PROC_WAITING_PAY: '교환처리[입금처리대기]',
64
+ EXCHANGE_PROC_WAITING_REFUND: '교환처리[환불대기]',
65
+ EXCHANGE_DONE_PAY_DONE: '교환완료[결제완료]',
66
+ EXCHANGE_DONE_REFUND_DONE: '교환완료[환불완료]',
67
+ };
68
+ export var REFUND_TYPE_MAP = {
69
+ PG: 'PG 환불',
70
+ CANCEL_DEPOSIT: '입금 전 취소',
71
+ ACCOUNT: '무통장입금 환불',
72
+ ACCUMULATION: '적립금 환불',
73
+ ZERO_REFUND: '0원 환불',
74
+ CASH: '현금 환불',
75
+ PAYCO: '페이코 환불',
76
+ PAYPAL: 'PAYPAL 환불',
77
+ STRIPE: 'STRIPE 환불',
78
+ KCP: 'KCP 환불',
79
+ CREDIT_CARD: '신용카드 환불',
80
+ LIIVMATE: '리브메이트 환불',
81
+ INICIS: '이니시스 환불',
82
+ NAVER_EASY_PAY: '네이버페이(간펼결제) 환불',
83
+ KAKAO_PAY: '카카오페이 환불',
84
+ NAVER_PAY: '네이버(주문형) 환불',
85
+ LG_U_PLUS: '토스페이먼츠 환불',
86
+ TOSS_PAYMENTS: '토스페이먼츠 환불',
87
+ FORCE_REFUND: '강제 환불',
88
+ DUMMY: '없음',
89
+ };
90
+ //# sourceMappingURL=maps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maps.js","sourceRoot":"","sources":["../../../../types/domain/claim/maps.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,oBAAoB,GAAG;IAClC,UAAU,EAAE,MAAM;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,SAAS;IAC1B,iBAAiB,EAAE,SAAS;IAC5B,eAAe,EAAE,SAAS;IAC1B,UAAU,EAAE,QAAQ;IACpB,aAAa,EAAE,MAAM;IACrB,aAAa,EAAE,MAAM;IACrB,aAAa,EAAE,MAAM;IACrB,cAAc,EAAE,OAAO;IACvB,YAAY,EAAE,OAAO;IACrB,kBAAkB,EAAE,UAAU;IAC9B,YAAY,EAAE,UAAU;CACzB,CAAA;AAED,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,MAAM;IACpB,aAAa,EAAE,MAAM;IACrB,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,MAAM,EAAE,IAAI;CACb,CAAA;AAED,MAAM,CAAC,IAAM,2BAA2B,GAAG;IACzC,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,QAAQ;CACjB,CAAA;AAED,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACnC,WAAW,EAAE,gBAAgB;IAC7B,iBAAiB,EAAE,SAAS;IAC5B,cAAc,EAAE,UAAU;IAC1B,mBAAmB,EAAE,WAAW;IAChC,iBAAiB,EAAE,OAAO;IAC1B,oBAAoB,EAAE,aAAa;IACnC,cAAc,EAAE,WAAW;IAC3B,YAAY,EAAE,aAAa;IAC3B,aAAa,EAAE,YAAY;IAC3B,YAAY,EAAE,YAAY;CAClB,CAAA;AAEV,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACnC,gBAAgB,EAAE,YAAY;IAC9B,cAAc,EAAE,YAAY;IAC5B,0BAA0B,EAAE,YAAY;IACxC,0BAA0B,EAAE,YAAY;IACxC,WAAW,EAAE,YAAY;IACzB,cAAc,EAAE,YAAY;IAC5B,qBAAqB,EAAE,YAAY;IACnC,0BAA0B,EAAE,YAAY;IACxC,0BAA0B,EAAE,YAAY;IACxC,0BAA0B,EAAE,YAAY;IACxC,WAAW,EAAE,YAAY;IACzB,kCAAkC,EAAE,YAAY;IAChD,gBAAgB,EAAE,YAAY;IAC9B,gBAAgB,EAAE,YAAY;IAC9B,uBAAuB,EAAE,YAAY;IACrC,4BAA4B,EAAE,YAAY;IAC1C,yBAAyB,EAAE,YAAY;IACvC,4BAA4B,EAAE,YAAY;IAC1C,qBAAqB,EAAE,YAAY;IACnC,aAAa,EAAE,YAAY;IAC3B,yBAAyB,EAAE,cAAc;IACzC,4BAA4B,EAAE,YAAY;IAC1C,sBAAsB,EAAE,YAAY;IACpC,yBAAyB,EAAE,YAAY;CACxC,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,OAAO;IACX,cAAc,EAAE,SAAS;IACzB,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,QAAQ;IACtB,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,WAAW;IACnB,MAAM,EAAE,WAAW;IACnB,GAAG,EAAE,QAAQ;IACb,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,SAAS;IACjB,cAAc,EAAE,gBAAgB;IAChC,SAAS,EAAE,UAAU;IACrB,SAAS,EAAE,aAAa;IACxB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,WAAW;IAC1B,YAAY,EAAE,OAAO;IACrB,KAAK,EAAE,IAAI;CACZ,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { ValueOf } from 'types/common';
2
+ import { CLAIM_CLASS_TYPE, CLAIM_REASON_TYPE_MAP, CLAIM_STATUS_TYPE_MAP, NEXT_ACTION_TYPE_MAP, REFUND_TYPE_MAP, RESPONSIBLE_OBJECT_TYPE_MAP } from 'types/domain/claim/maps';
3
+ export declare type NextActionType = keyof typeof NEXT_ACTION_TYPE_MAP;
4
+ export declare type ClaimClassType = keyof typeof CLAIM_CLASS_TYPE;
5
+ export declare type ResponsibleObjectType = keyof typeof RESPONSIBLE_OBJECT_TYPE_MAP;
6
+ export declare type ClaimReasonType = keyof typeof CLAIM_REASON_TYPE_MAP;
7
+ export declare type ClaimReasonLabel = ValueOf<typeof CLAIM_REASON_TYPE_MAP>;
8
+ export declare type ClaimStatusType = keyof typeof CLAIM_STATUS_TYPE_MAP;
9
+ export declare type RefundType = keyof typeof REFUND_TYPE_MAP;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=unions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unions.js","sourceRoot":"","sources":["../../../../types/domain/claim/unions.ts"],"names":[],"mappings":""}
@@ -1,4 +1,7 @@
1
- import { AddressType, AgreementType, CashReceiptIssuePurposeType, CountryCode, Week, DeliveryConditionType, DeliveryPayType, GroupDeliveryAmtType, OptionType, OrderChannelType, PayType, PgType, RecurringCycle, RecurringCycleType, ShippingAreaType, Yn } from '../../common';
1
+ import { AgreementType, CountryCode, Week, Yn, Bank, BankLabel, DateYmdt, DateYmd, PhoneNumberString, NumberString, Card } from '../../common';
2
+ import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, ShippingAreaType, TaxType } from 'types/domain/order/unions';
3
+ import { ClaimClassType, ClaimReasonLabel, ClaimReasonType, ClaimStatusType, NextActionType, RefundType, ResponsibleObjectType } from 'types/domain/claim/unions';
4
+ export * from './maps';
2
5
  /**
3
6
  * path: /order-configs
4
7
  */
@@ -220,7 +223,7 @@ export interface OrderProductOption {
220
223
  orderCnt: number;
221
224
  optionInputs: OptionInput[];
222
225
  soldOut: boolean;
223
- optionType: OptionType;
226
+ optionType: OrderOptionType;
224
227
  price: OrderProductOptionPrice;
225
228
  imageUrl: string;
226
229
  setOptions: SetOption[];
@@ -404,6 +407,363 @@ export interface ShippingAddressesItem {
404
407
  shippingInfoLaterInputContact?: string;
405
408
  saveAddressBook?: boolean;
406
409
  }
410
+ /**
411
+ * path: /profile/orders/{orderNo}
412
+ */
413
+ export interface GetProfileOrdersOrderNoRequest {
414
+ pathVariable: {
415
+ orderNo: string;
416
+ orderRequestType?: OrderRequestType;
417
+ };
418
+ queryString: {
419
+ orderRequestType?: string;
420
+ };
421
+ }
422
+ export interface GetProfileOrdersOrderNoResponse {
423
+ extraData?: any;
424
+ accumulationAmtWhenBuyConfirm: number;
425
+ defaultOrderStatusType: DefaultOrderStatusType;
426
+ pgMallKey: string;
427
+ memo: string;
428
+ firstOrderAmount: FirstOrderAmount;
429
+ orderMemo?: string;
430
+ requireCustomsIdNumber: boolean;
431
+ refundType: RefundType;
432
+ receiptInfos: ReceiptInfo[];
433
+ exchangePayInfos: ExchangePayInfo[];
434
+ payType?: PayType;
435
+ member: boolean;
436
+ nextActions: OrderNextAction[];
437
+ escrow: boolean;
438
+ availableBanks: BankCdAndLabel[];
439
+ guestToken?: string;
440
+ refundTypeLabel: string;
441
+ pgType: PgType;
442
+ orderNo: string;
443
+ lastOrderAmount: LastOrderAmount;
444
+ refundInfos: RefundInfo[];
445
+ additionalPayInfos: AdditionalPayInfo[];
446
+ deliveryMemo: string;
447
+ refundPayType: RefundType;
448
+ claimReasonTypes: ClaimReasonTypeInfo[];
449
+ orderer: Orderer;
450
+ pgOrderNo?: string;
451
+ orderOptionsGroupByPartner: OrderOptionsGroupByPartnerItem[];
452
+ shippingAddress: ShippingAddress;
453
+ orderYmdt: DateYmdt;
454
+ billingAddress: ShippingAddress;
455
+ payTypeLabel: string;
456
+ payInfo: PayInfo;
457
+ }
458
+ export interface PayInfo {
459
+ mobileInfo: MobileInfo;
460
+ bankInfo: BankInfo;
461
+ cardInfo: CardInfo;
462
+ }
463
+ export interface CardInfo {
464
+ cardApprovalNumber: NumberString;
465
+ cardName: string;
466
+ installmentPeriod: number;
467
+ cardCode: string;
468
+ approveYmdt: DateYmdt;
469
+ cardAmt: number;
470
+ cardNo: NumberString;
471
+ cardCompany: Card;
472
+ noInterest: boolean;
473
+ tradeNo?: NumberString;
474
+ pgCouponAmt?: number;
475
+ cardCouponAmt?: number;
476
+ naverPayInfo: NaverPayInfo;
477
+ sellerCouponAmt?: number;
478
+ cashNo: NumberString;
479
+ cashAuthNo: NumberString;
480
+ payAmt?: number;
481
+ pointAmt?: number;
482
+ payType: PayType;
483
+ escrowYn: Yn;
484
+ taxType?: TaxType;
485
+ }
486
+ export interface NaverPayInfo {
487
+ neverMileagePaymentAmount: number;
488
+ orderType: string;
489
+ paymentDueDate: DateYmdt;
490
+ generalPaymentAmount: number;
491
+ paymentMeans: string;
492
+ chargeAmountPaymentAmount: number;
493
+ paymentCoreType: string;
494
+ checkoutAccumulationPaymentAmount: number;
495
+ orderDiscountAmount: number;
496
+ paymentNumber?: NumberString;
497
+ payLocationType: 'PC' | 'MOBILE';
498
+ }
499
+ export interface BankInfo {
500
+ depositorName: string;
501
+ bankCode: string;
502
+ bank: Bank;
503
+ bankAmt: number;
504
+ depositYmdt: DateYmdt;
505
+ bankName: BankLabel;
506
+ remitterName: string;
507
+ depositAmt: number;
508
+ paymentExpirationYmdt: DateYmdt;
509
+ account: NumberString;
510
+ }
511
+ export interface MobileInfo {
512
+ mobileCompany: string;
513
+ mobileNo: PhoneNumberString;
514
+ }
515
+ export interface OrderOptionsGroupByPartnerItem {
516
+ partnerNo: number;
517
+ orderOptionsGroupByDelivery: OrderOptionsGroupByDeliveryItem[];
518
+ partnerName: string;
519
+ }
520
+ export interface OrderOptionsGroupByDeliveryItem {
521
+ deliveryPayType: DeliveryPayType;
522
+ requestShippingDate?: DateYmd;
523
+ frontDisplayText?: string;
524
+ usesShippingInfoLaterInput?: boolean;
525
+ receiverZipCd: string;
526
+ retrieveInvoiceUrl?: string;
527
+ partnerNo: number;
528
+ shippingMethodLabel?: string;
529
+ invoiceNo: string;
530
+ receiverContact1: string;
531
+ receiverContact2: string;
532
+ receiverJibunAddress?: string;
533
+ orderOptions: OrderOption[];
534
+ partnerName: string;
535
+ receiverName: string;
536
+ deliveryCompanyTypeLabel?: string;
537
+ deliveryType?: DeliveryType;
538
+ deliveryNo: number;
539
+ shippingAreaType: ShippingAreaType;
540
+ deliveryCompanyType?: DeliveryCompanyType;
541
+ remoteDeliveryAmt: number;
542
+ receiverDetailAddress: string;
543
+ deliveryMemo?: string;
544
+ receiverAddress: string;
545
+ deliveryAmt: number;
546
+ returnDeliveryAmt: number;
547
+ shippingMethodType?: string;
548
+ }
549
+ export interface OrderOption {
550
+ reservationDeliveryYmdt?: DateYmdt;
551
+ claimNo?: number;
552
+ orderStatusTypeLabel: string;
553
+ isFreeGift: boolean;
554
+ inputs: OptionInput[];
555
+ deliverable: boolean;
556
+ optionUsed: boolean;
557
+ isRecurringPayment?: boolean;
558
+ claimStatusTypeLabel?: string;
559
+ productName: string;
560
+ claimStatusType?: ClaimStatusType;
561
+ additionalProductNo: number;
562
+ optionType: OrderOptionType;
563
+ deliveryInternationalYn: boolean;
564
+ price: OrderOptionPrice;
565
+ imageUrl: string;
566
+ member: boolean;
567
+ setOptions: SetOption[];
568
+ reservation: boolean;
569
+ nextActions: OrderNextAction[];
570
+ refundable: boolean;
571
+ optionNo: number;
572
+ brandNo?: number;
573
+ orderOptionNo: number;
574
+ productNo: number;
575
+ delivery: OrderOptionDeliveryInfo;
576
+ optionTitle: string;
577
+ brandName?: string;
578
+ orderNo: string;
579
+ orderStatusType: DefaultOrderStatusType;
580
+ optionValue: string;
581
+ holdDelivery?: boolean;
582
+ orderCnt: number;
583
+ exchangeYn: Yn;
584
+ accumulationAmt: number;
585
+ orderStatusDate: OrderStatusDate;
586
+ brandNameEn?: string;
587
+ productNameEn: string;
588
+ optionManagementCd?: string;
589
+ optionName: string;
590
+ }
591
+ export interface OrderStatusDate {
592
+ reviewableYmdt: DateYmdt;
593
+ buyConfirmYmdt: DateYmdt;
594
+ registerYmdt: DateYmdt;
595
+ }
596
+ export interface OrderOptionDeliveryInfo {
597
+ usesShippingInfoLaterInput: boolean;
598
+ deliveryCompanyTypeLabel?: string;
599
+ deliveryType?: DeliveryType;
600
+ deliveryCompanyType?: string;
601
+ retrieveInvoiceUrl?: string;
602
+ invoiceNo?: string;
603
+ }
604
+ export interface OrderOptionPrice {
605
+ buyPrice: number;
606
+ buyAmt: number;
607
+ immediateDiscountedAmt: number;
608
+ additionalDiscountAmt: number;
609
+ immediateDiscountAmt: number;
610
+ salePrice: number;
611
+ standardAmt: number;
612
+ immediateDiscountedPrice: number;
613
+ addPrice: number;
614
+ standardPrice: number;
615
+ accumulationRate: number;
616
+ }
617
+ export interface ClaimReasonTypeInfo {
618
+ responsibleObjectType: ResponsibleObjectType;
619
+ claimReasonType: ClaimReasonType;
620
+ label: ClaimReasonLabel;
621
+ }
622
+ export interface AdditionalPayInfo {
623
+ bankAccount: BankAccountInfo;
624
+ exchangePayAmt: number;
625
+ claimNo: number;
626
+ deliveryAmtInfo: DeliveryAmtInfo;
627
+ remitter: string;
628
+ returnWayType: string;
629
+ claimImageUrls: string[];
630
+ returnAddress: ClaimAddress;
631
+ productAmtInfo: ProductAmtInfo;
632
+ subtractionAmtInfo: SubtractionAmtInfo;
633
+ returnInvoiceNo: string;
634
+ payType: PayType;
635
+ exchangeAddress: ClaimAddress;
636
+ returnDeliveryCompanyTypeLabel?: string;
637
+ claimClassType?: ClaimClassType;
638
+ exchangeOrderOption: ExchangeOrderOption;
639
+ }
640
+ export interface RefundInfo {
641
+ refundMainPayAmt: number;
642
+ refundTypeLabel: string;
643
+ claimNo: number;
644
+ deliveryAmtInfo: DeliveryAmtInfo;
645
+ returnWayType: string;
646
+ claimImageUrls: string[];
647
+ refundPayType: PayType;
648
+ returnAddress: ClaimAddress;
649
+ productAmtInfo: ProductAmtInfo;
650
+ subtractionAmtInfo: SubtractionAmtInfo;
651
+ returnInvoiceNo: string;
652
+ refundType: RefundType;
653
+ exchangeAddress: ClaimAddress;
654
+ refundSubPayAmt: number;
655
+ returnDeliveryCompanyTypeLabel?: string;
656
+ claimClassType?: ClaimClassType;
657
+ exchangeOrderOption: ExchangeOrderOption;
658
+ refundPayAmt: number;
659
+ refundBankAccount: BankAccountInfo;
660
+ }
661
+ export interface ExchangeOrderOption {
662
+ imageUrl: string;
663
+ userInputText?: string;
664
+ optionValue?: string;
665
+ orderCnt?: number;
666
+ optionName?: string;
667
+ productName?: string;
668
+ }
669
+ export interface SubtractionAmtInfo {
670
+ totalAmt: number;
671
+ deliveryCouponAmt: number;
672
+ refundAdjustReason: string;
673
+ refundAdjustAmt: number;
674
+ cartCouponAmt: number;
675
+ }
676
+ export interface ProductAmtInfo {
677
+ discountAmt: number;
678
+ totalAmt: number;
679
+ exchangeImmediateDiscountedPrice: number;
680
+ additionalDiscountAmt: number;
681
+ immediateDiscountAmt: number;
682
+ immediateDiscountedPrice: number;
683
+ exchangeAdjustAmt: number;
684
+ standardPrice: number;
685
+ returnImmediateDiscountedPrice: number;
686
+ productCouponDiscountAmt: number;
687
+ exchangeDiscountAmt: number;
688
+ }
689
+ export interface ClaimAddress {
690
+ note: string;
691
+ addressStr: string;
692
+ address: string;
693
+ customsIdNumber?: string;
694
+ name: string;
695
+ detailAddress?: string;
696
+ jibunAddress?: string;
697
+ zipCd: string;
698
+ contact1: string;
699
+ contact2?: string;
700
+ }
701
+ export interface DeliveryAmtInfo {
702
+ afterDeliveryAmt: number;
703
+ beforeDeliveryAmt: number;
704
+ totalAmt: number;
705
+ exchangeDeliveryAmt: number;
706
+ buyerReturn: boolean;
707
+ returnDeliveryAmt: number;
708
+ payOnDelivery: boolean;
709
+ exchangeAdjustAmt: number;
710
+ sellerFault: boolean;
711
+ refundDeliveryAmt: number;
712
+ returnAdjustAmt: number;
713
+ }
714
+ export interface LastOrderAmount {
715
+ totalProductAmt: number;
716
+ additionalDiscountAmt: number;
717
+ immediateDiscountAmt: number;
718
+ chargeAmt: number;
719
+ deliveryAmt: number;
720
+ deliveryCouponDiscountAmt: number;
721
+ standardAmt: number;
722
+ remoteDeliveryAmt: number;
723
+ cartCouponDiscountAmt: number;
724
+ productCouponDiscountAmt: number;
725
+ subPayAmt: number;
726
+ payAmt: number;
727
+ }
728
+ export interface BankCdAndLabel {
729
+ bank: Bank;
730
+ label: BankLabel;
731
+ }
732
+ export interface OrderNextAction {
733
+ actionGroupType: ActionGroupType;
734
+ nextActionType: NextActionType;
735
+ uri: string;
736
+ }
737
+ export interface ExchangePayInfo {
738
+ bankAccount: BankAccountInfo;
739
+ exchangePayAmt: number;
740
+ payType: PayType;
741
+ remitter: string;
742
+ }
743
+ export interface BankAccountInfo {
744
+ bankAccount?: string;
745
+ bankDepositorName?: string;
746
+ bank: Bank;
747
+ bankName: BankLabel;
748
+ }
749
+ export interface ReceiptInfo {
750
+ receiptType: ReceiptType;
751
+ url: `http://${string}`;
752
+ }
753
+ export interface FirstOrderAmount {
754
+ totalProductAmt: number;
755
+ additionalDiscountAmt: number;
756
+ immediateDiscountAmt: number;
757
+ chargeAmt: number;
758
+ deliveryAmt: number;
759
+ deliveryCouponDiscountAmt: number;
760
+ standardAmt: number;
761
+ remoteDeliveryAmt: number;
762
+ cartCouponDiscountAmt: number;
763
+ productCouponDiscountAmt: number;
764
+ subPayAmt: number;
765
+ payAmt: number;
766
+ }
407
767
  /**
408
768
  * path: /profile/shipping-addresses
409
769
  */
@@ -1,2 +1,2 @@
1
- export {};
1
+ export * from './maps';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":"AAqCA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,120 @@
1
+ export declare const DEFAULT_ORDER_STATUS_TYPE_MAP: {
2
+ DEPOSIT_WAIT: string;
3
+ PAY_DONE: string;
4
+ PRODUCT_PREPARE: string;
5
+ DELIVERY_PREPARE: string;
6
+ DELIVERY_ING: string;
7
+ DELIVERY_DONE: string;
8
+ BUY_CONFIRM: string;
9
+ CANCEL_DONE: string;
10
+ RETURN_DONE: string;
11
+ EXCHANGE_DONE: string;
12
+ PAY_WAIT: string;
13
+ PAY_CANCEL: string;
14
+ PAY_FAIL: string;
15
+ DELETE: string;
16
+ EXCHANGE_WAIT: string;
17
+ REFUND_DONE: string;
18
+ };
19
+ export declare const RECEIPT_TYPE_MAP: {
20
+ SALE_STATEMENT: string;
21
+ TRADE_STATEMENT: string;
22
+ CASH_RECEIPT: string;
23
+ };
24
+ export declare const ORDER_OPTION_TYPE_MAP: {
25
+ PRODUCT_ONLY: string;
26
+ NORMAL_OPTION: string;
27
+ ADDITIONAL_PRODUCT: string;
28
+ };
29
+ export declare const CASH_RECEIPT_ISSUE_PURPOSE_TYPE_MAP: {
30
+ INCOME_TAX_DEDUCTION: string;
31
+ PROOF_EXPENDITURE: string;
32
+ };
33
+ export declare const ADDRESS_TYPE_MAP: {
34
+ BOOK: string;
35
+ RECENT: string;
36
+ RECURRING_PAYMENT: string;
37
+ };
38
+ export declare const DELIVERY_PAY_TYPE_MAP: {
39
+ PREPAID_DELIVERY: string;
40
+ PAY_ON_DELIVERY: string;
41
+ };
42
+ export declare const DELIVERY_CONDITION_TYPE_MAP: {
43
+ FREE: string;
44
+ CONDITIONAL: string;
45
+ FIXED_FEE: string;
46
+ QUANTITY_PROPOSITIONAL_FEE: string;
47
+ PRICE_FEE: string;
48
+ QUANTITY_FEE: string;
49
+ };
50
+ export declare const DELIVERY_TYPE_MAP: {
51
+ PARCEL_DELIVERY: string;
52
+ DIRECT_DELIVERY: string;
53
+ NONE: string;
54
+ };
55
+ export declare const GROUP_DELIVERY_AMT_TYPE_MAP: {
56
+ MAXIMUM_SELECTED: string;
57
+ MINIMUM_SELECTED: string;
58
+ };
59
+ export declare const SHIPPING_AREA_TYPE_MAP: {
60
+ PARTNER_SHIPPING_AREA: string;
61
+ MALL_SHIPPING_AREA: string;
62
+ };
63
+ export declare const DELIVERY_COMPANY_TYPE_MAP: {
64
+ CJ: string;
65
+ POST: string;
66
+ HANJIN: string;
67
+ GTX: string;
68
+ LOTTE: string;
69
+ KGB: string;
70
+ LOGEN: string;
71
+ CJHBL: string;
72
+ GSI: string;
73
+ KGL: string;
74
+ INTRAS: string;
75
+ UPS: string;
76
+ CHUNIL: string;
77
+ KDEXP: string;
78
+ HDEXP: string;
79
+ ILYANG: string;
80
+ POST_EMS: string;
81
+ KYOUNGDONG: string;
82
+ DAESIN: string;
83
+ CVS: string;
84
+ DHL: string;
85
+ FEDEX: string;
86
+ GSM: string;
87
+ WARPEX: string;
88
+ WIZWA: string;
89
+ ACI: string;
90
+ PANTOS: string;
91
+ CJ_INTERNATIONAL: string;
92
+ TNT: string;
93
+ CU: string;
94
+ KUNYOUNG: string;
95
+ LOTTE_INTERNATIONAL: string;
96
+ HONAM: string;
97
+ HANIPS: string;
98
+ IPARCEL: string;
99
+ SLX: string;
100
+ USPS: string;
101
+ WONDERS: string;
102
+ REGISTPOST: string;
103
+ DHLDE: string;
104
+ EZUSA: string;
105
+ SWGEXP: string;
106
+ DAEWOON: string;
107
+ DODOFLEX: string;
108
+ NH_LOGIS: string;
109
+ ETC: string;
110
+ };
111
+ export declare const TAX_TYPE_MAP: {
112
+ DUTY: string;
113
+ DUTYFREE: string;
114
+ SMALL: string;
115
+ };
116
+ export declare const ORDER_REQUEST_TYPE_MAP: {
117
+ ALL: string;
118
+ CLAIM: string;
119
+ NORMAL: string;
120
+ };