@shopby/shop-sdk 1.13.0 → 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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/claim/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
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;
@@ -491,7 +491,7 @@ export interface GetProductsProductNoInquiresResponse {
491
491
  export interface ProductsProductNoInquiresItem {
492
492
  productManagementCd: string;
493
493
  replied: boolean;
494
- answers?: ProductsProductNoInquiresAnswer[];
494
+ answers?: ProductsProductNoInquiresAnswer;
495
495
  type: ProductInquiryType;
496
496
  title: string;
497
497
  productName: string;
@@ -555,7 +555,7 @@ export interface GetProductsProductNoInquiresInquiryNoRequest {
555
555
  export interface GetProductsProductNoInquiresInquiryNoResponse {
556
556
  productManagementCd: string;
557
557
  replied: boolean;
558
- answers: ProductsProductNoInquiresInquiryNoAnswer[];
558
+ answers: ProductsProductNoInquiresInquiryNoAnswer;
559
559
  type: ProductInquiryType;
560
560
  title: string;
561
561
  productName: string;
@@ -612,7 +612,7 @@ export interface GetProfileProductInquiriesResponse {
612
612
  export interface ProfileProductInquiriesItem {
613
613
  productManagementCd: string;
614
614
  replied: boolean;
615
- answers?: ProfileProductInquiriesAnswer[];
615
+ answers?: ProfileProductInquiriesAnswer;
616
616
  type: ProductInquiryType;
617
617
  title: string;
618
618
  productName: string;
@@ -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, ClaimType, NextActionType, RefundType, ResponsibleObjectType } from '../claim/unions';
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: 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":"AA2CA,cAAc,UAAU,CAAC"}
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: 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 ReturnWarehouse {
34
+ export interface ProductReturnWarehouse {
35
35
  warehouseAddressType: 'ADDRESS' | 'SUBSTITUTION';
36
36
  partnerNo: number;
37
37
  addressStr: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",