@shopby/shop-sdk 1.78.1 → 1.78.3
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.78.3](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.78.2...v1.78.3) (2024-10-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 쿠폰 선택 타입 필드 추가 ([2c4c1e9](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/2c4c1e9237ff1569ba5047f536aea259d053d9ce))
|
|
11
|
+
|
|
12
|
+
### [1.78.2](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.78.1...v1.78.2) (2024-10-23)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 쿠폰 응답 타입 추가 ([46ca155](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/46ca15533cd7100196662f4ec6c5634f1e5baa32))
|
|
18
|
+
|
|
5
19
|
### [1.78.1](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.78.0...v1.78.1) (2024-10-22)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgreementType, CountryCode, Week, Yn, DateYmdt, DateYmd, PhoneNumberString, NumberString, Nullable, PartiallyRequired } from '../../common';
|
|
2
|
-
import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, ShippingAreaType, TaxType, Bank, BankLabel, Card, CouponTargetType, CouponType, PreviousOrderSearchType } from './unions';
|
|
2
|
+
import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, ShippingAreaType, TaxType, Bank, BankLabel, Card, CouponTargetType, CouponType, PreviousOrderSearchType, CouponSubType } from './unions';
|
|
3
3
|
import { ClaimClassType, ClaimStatusType, ClaimTypeWithNone, NextActionType, RefundType, ReturnWayType } from '../claim/unions';
|
|
4
4
|
import { ClaimAddress, ClaimReasonTypeInfo, ExchangePayInfo } from '../../domain/claim';
|
|
5
5
|
import { OptionalAccessTokenRequest, ResponseData } from '../../http';
|
|
@@ -489,6 +489,7 @@ export interface CouponRequest {
|
|
|
489
489
|
cartCouponIssueNo: number;
|
|
490
490
|
promotionCode: string;
|
|
491
491
|
channelType?: string;
|
|
492
|
+
couponSubType?: CouponSubType;
|
|
492
493
|
}
|
|
493
494
|
/**
|
|
494
495
|
* path: /order-sheets/{orderSheetNo}/coupons
|
|
@@ -536,6 +537,7 @@ export interface OrderSheetCoupon {
|
|
|
536
537
|
maximum: boolean;
|
|
537
538
|
fixedAmountDiscount: boolean;
|
|
538
539
|
selected: boolean;
|
|
540
|
+
couponSubType: CouponSubType;
|
|
539
541
|
}
|
|
540
542
|
export interface ProductInfoForCoupon {
|
|
541
543
|
productCoupons: OrderSheetCoupon[];
|
|
@@ -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":"AA4DA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
@@ -25,4 +25,5 @@ export declare type BankLabel = ValueOf<typeof BANK_MAP>;
|
|
|
25
25
|
export declare type Card = keyof typeof CARD_MAP;
|
|
26
26
|
export declare type CouponTargetType = 'ALL_PRODUCT' | 'PRODUCT' | 'BRAND' | 'CATEGORY' | 'PARTNER' | 'EVENT';
|
|
27
27
|
export declare type CouponType = keyof typeof COUPON_TYPE_MAP;
|
|
28
|
+
export declare type CouponSubType = 'CART' | 'DELIVERY_DEFAULT' | 'DELIVERY_ALL' | 'NONE';
|
|
28
29
|
export declare type PreviousOrderSearchType = keyof typeof PREVIOUS_ORDER_SEARCH_TYPE_MAP;
|