@shopby/shop-sdk 1.13.2 → 1.14.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.
- package/build/src/domain/claim/index.d.ts +30 -28
- package/build/src/domain/claim/index.js +15 -0
- package/build/src/domain/claim/index.js.map +1 -1
- package/build/src/domain/claim/maps/index.d.ts +47 -24
- package/build/src/domain/claim/maps/index.js +23 -0
- package/build/src/domain/claim/maps/index.js.map +1 -1
- package/build/src/domain/order/maps/delivery.d.ts +46 -46
- package/build/src/domain/order/maps/delivery.js.map +1 -1
- package/build/src/index.d.ts +28 -28
- package/build/types/domain/claim/index.d.ts +331 -632
- package/build/types/domain/claim/index.js.map +1 -1
- package/build/types/domain/claim/unions.d.ts +7 -1
- package/build/types/domain/order/index.d.ts +3 -20
- package/build/types/domain/order/index.js.map +1 -1
- package/build/types/domain/order/unions.d.ts +2 -0
- package/build/types/domain/product/delivery/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/claim/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/claim/index.ts"],"names":[],"mappings":"AAwBA,cAAc,UAAU,CAAC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { ValueOf } from 'types/common';
|
|
2
|
-
import { CLAIM_CLASS_TYPE_MAP, CLAIM_REASON_TYPE_MAP, CLAIM_STATUS_TYPE_MAP, CLAIM_TYPE_MAP, NEXT_ACTION_TYPE_MAP, REFUND_TYPE_MAP, RESPONSIBLE_OBJECT_TYPE_MAP } from '../../../src';
|
|
2
|
+
import { CLAIM_CLASS_TYPE_MAP, CLAIM_OPTION_TYPE_MAP, CLAIM_REASON_TYPE_MAP, CLAIM_STATUS_TYPE_MAP, CLAIM_TYPE_MAP, CLAIM_TYPE_WITH_NONE_MAP, CLAIM_WITHDRAW_VALIDATION_TYPE_MAP, EXCHANGE_PAY_INFO_PAY_TYPE_MAP, NEXT_ACTION_TYPE_MAP, REFUND_TYPE_MAP, RESPONSIBLE_OBJECT_TYPE_MAP, RETURN_WAY_TYPE_MAP } from '../../../src';
|
|
3
3
|
export declare type NextActionType = keyof typeof NEXT_ACTION_TYPE_MAP;
|
|
4
4
|
export declare type ClaimType = keyof typeof CLAIM_TYPE_MAP;
|
|
5
|
+
export declare type ClaimTypeWithNone = keyof typeof CLAIM_TYPE_WITH_NONE_MAP;
|
|
5
6
|
export declare type ClaimClassType = keyof typeof CLAIM_CLASS_TYPE_MAP;
|
|
6
7
|
export declare type ResponsibleObjectType = keyof typeof RESPONSIBLE_OBJECT_TYPE_MAP;
|
|
7
8
|
export declare type ClaimReasonType = keyof typeof CLAIM_REASON_TYPE_MAP;
|
|
8
9
|
export declare type ClaimReasonLabel = ValueOf<typeof CLAIM_REASON_TYPE_MAP>;
|
|
9
10
|
export declare type ClaimStatusType = keyof typeof CLAIM_STATUS_TYPE_MAP;
|
|
11
|
+
export declare type ClaimStatusTypeLabel = ValueOf<typeof CLAIM_STATUS_TYPE_MAP>;
|
|
10
12
|
export declare type RefundType = keyof typeof REFUND_TYPE_MAP;
|
|
13
|
+
export declare type ReturnWayType = keyof typeof RETURN_WAY_TYPE_MAP;
|
|
14
|
+
export declare type ClaimWithdrawValidationType = keyof typeof CLAIM_WITHDRAW_VALIDATION_TYPE_MAP;
|
|
15
|
+
export declare type ClaimOptionType = keyof typeof CLAIM_OPTION_TYPE_MAP;
|
|
16
|
+
export declare type ExchangePayInfoPayType = keyof typeof EXCHANGE_PAY_INFO_PAY_TYPE_MAP;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AgreementType, CountryCode, Week, Yn, Bank, BankLabel, DateYmdt, DateYmd, PhoneNumberString, NumberString, Card } from '../../common';
|
|
2
2
|
import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, ShippingAreaType, TaxType } from './unions';
|
|
3
|
-
import { ClaimClassType, ClaimReasonLabel, ClaimReasonType, ClaimStatusType,
|
|
3
|
+
import { ClaimClassType, ClaimReasonLabel, ClaimReasonType, ClaimStatusType, ClaimTypeWithNone, NextActionType, RefundType, ResponsibleObjectType } from '../claim/unions';
|
|
4
|
+
import { ClaimAddress, ExchangePayInfo } from '../../domain/claim';
|
|
4
5
|
export * from './unions';
|
|
5
6
|
/**
|
|
6
7
|
* path: /order-configs
|
|
@@ -735,18 +736,6 @@ export interface ProductAmtInfo {
|
|
|
735
736
|
productCouponDiscountAmt: number;
|
|
736
737
|
exchangeDiscountAmt: number;
|
|
737
738
|
}
|
|
738
|
-
export interface ClaimAddress {
|
|
739
|
-
note: string;
|
|
740
|
-
addressStr: string;
|
|
741
|
-
address: string;
|
|
742
|
-
customsIdNumber?: string;
|
|
743
|
-
name: string;
|
|
744
|
-
detailAddress?: string;
|
|
745
|
-
jibunAddress?: string;
|
|
746
|
-
zipCd: string;
|
|
747
|
-
contact1: string;
|
|
748
|
-
contact2?: string;
|
|
749
|
-
}
|
|
750
739
|
export interface DeliveryAmtInfo {
|
|
751
740
|
afterDeliveryAmt: number;
|
|
752
741
|
beforeDeliveryAmt: number;
|
|
@@ -783,12 +772,6 @@ export interface OrderNextAction {
|
|
|
783
772
|
nextActionType: NextActionType;
|
|
784
773
|
uri: string;
|
|
785
774
|
}
|
|
786
|
-
export interface ExchangePayInfo {
|
|
787
|
-
bankAccount: BankAccountInfo;
|
|
788
|
-
exchangePayAmt: number;
|
|
789
|
-
payType: PayType;
|
|
790
|
-
remitter: string;
|
|
791
|
-
}
|
|
792
775
|
export interface BankAccountInfo {
|
|
793
776
|
bankAccount?: string;
|
|
794
777
|
bankDepositorName?: string;
|
|
@@ -901,7 +884,7 @@ export interface GetProfileOrdersOrderNoClaimRequest {
|
|
|
901
884
|
orderNo: string;
|
|
902
885
|
};
|
|
903
886
|
queryString: {
|
|
904
|
-
claimType:
|
|
887
|
+
claimType: ClaimTypeWithNone;
|
|
905
888
|
orderRequestType?: OrderRequestType;
|
|
906
889
|
};
|
|
907
890
|
}
|
|
@@ -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":"AA4CA,cAAc,UAAU,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ADDRESS_TYPE_MAP, CASH_RECEIPT_ISSUE_PURPOSE_TYPE_MAP, DEFAULT_ORDER_STATUS_TYPE_MAP, DELIVERY_COMPANY_TYPE_MAP, DELIVERY_CONDITION_TYPE_MAP, DELIVERY_PAY_TYPE_MAP, DELIVERY_TYPE_MAP, GROUP_DELIVERY_AMT_TYPE_MAP, ORDER_OPTION_TYPE_MAP, ORDER_REQUEST_TYPE_MAP, PAY_TYPE_MAP, RECEIPT_TYPE_MAP, SHIPPING_AREA_TYPE_MAP, TAX_TYPE_MAP } from '../../../src';
|
|
2
|
+
import { ValueOf } from '../../common';
|
|
2
3
|
export declare type PayType = keyof typeof PAY_TYPE_MAP;
|
|
3
4
|
export declare type PgType = 'DUMMY' | 'PAYCO' | 'PAYPAL' | 'STRIPE' | 'KCP' | 'INICIS' | 'NONE' | 'KCP_MOBILE' | 'KCP_APP' | 'NAVER_PAY' | 'LIIVMATE' | 'PAYPALPRO' | 'ATHOR_NET' | 'KAKAO_PAY' | 'NAVER_EASY_PAY' | 'LG_U_PLUS' | 'VERITRANS' | 'TOSS_PAYMENTS' | 'CHAI' | 'SMARTRO_PAY';
|
|
4
5
|
export declare type RecurringCycleType = 'MONTH' | 'WEEK';
|
|
@@ -17,4 +18,5 @@ export declare type DeliveryType = keyof typeof DELIVERY_TYPE_MAP;
|
|
|
17
18
|
export declare type GroupDeliveryAmtType = keyof typeof GROUP_DELIVERY_AMT_TYPE_MAP;
|
|
18
19
|
export declare type ShippingAreaType = keyof typeof SHIPPING_AREA_TYPE_MAP;
|
|
19
20
|
export declare type DeliveryCompanyType = keyof typeof DELIVERY_COMPANY_TYPE_MAP;
|
|
21
|
+
export declare type DeliveryCompanyTypeLabel = ValueOf<typeof DELIVERY_COMPANY_TYPE_MAP>;
|
|
20
22
|
export declare type TaxType = keyof typeof TAX_TYPE_MAP;
|
|
@@ -20,7 +20,7 @@ export interface ProductDeliveryFee {
|
|
|
20
20
|
perOrderCnt: number;
|
|
21
21
|
deliveryCustomerInfo: string;
|
|
22
22
|
returnDeliveryAmt: number;
|
|
23
|
-
returnWarehouse:
|
|
23
|
+
returnWarehouse: ProductReturnWarehouse;
|
|
24
24
|
}
|
|
25
25
|
export interface RemoteDeliveryAreaFees {
|
|
26
26
|
address: string;
|
|
@@ -31,7 +31,7 @@ export interface DeliveryConditionDetail {
|
|
|
31
31
|
below: number;
|
|
32
32
|
aboveOrEqual: number;
|
|
33
33
|
}
|
|
34
|
-
export interface
|
|
34
|
+
export interface ProductReturnWarehouse {
|
|
35
35
|
warehouseAddressType: 'ADDRESS' | 'SUBSTITUTION';
|
|
36
36
|
partnerNo: number;
|
|
37
37
|
addressStr: string;
|