@lemoncloud/ssocio-kiosk-api 0.25.903 → 0.25.915

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.
@@ -84,6 +84,10 @@ export interface CartModel extends CartHead, Model {
84
84
  discount?: number;
85
85
  /** (optional) 상품 할인 타입 */
86
86
  discountMethod?: DiscountMethod;
87
+ /** (optional) 이 상품군의 부가세 전체 금액 */
88
+ vatPrice$?: PriceInfo;
89
+ /** (optional) 이 상품군의 과세 물품 가액 (price - vatPrice) */
90
+ supplyPrice$?: PriceInfo;
87
91
  /** count of product */
88
92
  count?: number;
89
93
  /** unit-price (single) of this cart */
@@ -73,6 +73,12 @@ export interface CartView extends View, Omit<Partial<CartModel>, 'isHidden' | 'i
73
73
  * (float)형식의 배송비 (see `deliveryPrice$`)
74
74
  */
75
75
  deliveryPrice?: number;
76
+ /**
77
+ * (float)형식의 부가세 금액 (see `vatPrice$`)
78
+ */
79
+ vatPrice?: number;
80
+ /** (float)형식의 과세 물품 가액 (see `supplyPrice$`) */
81
+ supplyPrice?: number;
76
82
  /** (internal) the linked category-model */
77
83
  readonly category$?: CategoryView;
78
84
  /** (internal) the linked delivery-model */
@@ -178,6 +178,10 @@ export interface ProductModel extends Model, ProductHead {
178
178
  * - 장바구니 소유자의 type에 대한 할인
179
179
  */
180
180
  targetDiscount$?: TargetDiscount;
181
+ /** 과세 비율 (%) */
182
+ taxRate?: number;
183
+ /** 면세 여부 */
184
+ isTaxExempt?: BoolFlag;
181
185
  /**
182
186
  * (internal) the linked cancel model.
183
187
  */
@@ -308,6 +308,8 @@ export interface ProdListParam extends PaginateParam {
308
308
  optionId?: string;
309
309
  /** filter `isDisplay` condition (default true) */
310
310
  display?: boolean | '' | 'true' | 'false';
311
+ /** filter `isOwn` condition (default false) */
312
+ own?: boolean | '' | 'true' | 'false';
311
313
  /**
312
314
  * where to view
313
315
  * - main에서는 `priceSale`이 `isSale`과 상관없이 최종 구매가로 설정되도록 (false일때 `price`와 동일)
@@ -49,7 +49,7 @@ export interface BrandBody extends Body, Partial<Omit<BrandView, 'parentName'>>
49
49
  /**
50
50
  * type: `ProductView`
51
51
  */
52
- export interface ProductView extends View, Partial<Omit<ProductModel, 'isHidden' | 'isDisplay' | 'isOwn' | 'isDisable' | 'usePriceRange' | 'notices' | 'deliveries' | 'policies' | 'guides' | 'useStock' | 'sales$' | 'agreed$' | 'cancel$' | 'display$' | 'catalog$' | 'category$' | 'brand$' | 'notice$' | 'delivery$' | 'policy$' | 'guide$' | 'stock$' | '$options' | 'validPeriod'>> {
52
+ export interface ProductView extends View, Partial<Omit<ProductModel, 'isHidden' | 'isDisplay' | 'isOwn' | 'isDisable' | 'usePriceRange' | 'notices' | 'deliveries' | 'policies' | 'guides' | 'useStock' | 'sales$' | 'agreed$' | 'cancel$' | 'display$' | 'catalog$' | 'category$' | 'brand$' | 'notice$' | 'delivery$' | 'policy$' | 'guide$' | 'stock$' | '$options' | 'validPeriod' | 'isTaxExempt'>> {
53
53
  /**
54
54
  * unique id of this type
55
55
  */
@@ -115,6 +115,8 @@ export interface ProductView extends View, Partial<Omit<ProductModel, 'isHidden'
115
115
  guides?: InputElementView[];
116
116
  /** 사용 가능 기간 정보 */
117
117
  validPeriod?: PeriodInfo;
118
+ /** 비과세 여부 */
119
+ isTaxExempt?: boolean;
118
120
  /** (internal) the linked catalog-model */
119
121
  readonly catalog$?: CatalogView;
120
122
  /** (internal) the linked category-model */
@@ -42,6 +42,8 @@ export interface StoreHead {
42
42
  email?: string;
43
43
  /** 결제 방식 */
44
44
  paymentMethods?: PaymentMethodType[];
45
+ /** 면세 여부 */
46
+ isTaxExempt?: BoolFlag;
45
47
  }
46
48
  /**
47
49
  * type: `StoreModel` (매장)
@@ -166,6 +168,8 @@ export interface OrderSettingModel extends Model, OrderSettingHead {
166
168
  landingScreen?: string;
167
169
  /** 메인 화면 (url) */
168
170
  mainScreen?: string;
171
+ /** 일 마감 시간 (HH:MM) */
172
+ deadlineTime?: string;
169
173
  }
170
174
  /**
171
175
  * type: `PrintHead`
@@ -17,7 +17,9 @@ import $LUT from './types';
17
17
  export default $LUT;
18
18
  /**!SECTION */
19
19
  /** type: `StoreView` */
20
- export interface StoreView extends View, Partial<Omit<StoreModel, 'devices$' | 'orderSetting$' | 'prints$'>> {
20
+ export interface StoreView extends View, Partial<Omit<StoreModel, 'devices$' | 'orderSetting$' | 'prints$' | 'isTaxExempt'>> {
21
+ /** 면세 여부 */
22
+ isTaxExempt?: boolean;
21
23
  /** (internal) the linked device-model */
22
24
  readonly devices$?: DeviceView[];
23
25
  /** (internal) the linked order-setting-model */
@@ -29,7 +31,7 @@ export interface StoreView extends View, Partial<Omit<StoreModel, 'devices$' | '
29
31
  export interface StoreBody extends Body, Partial<StoreView> {
30
32
  }
31
33
  /** type: `DeviceView` */
32
- export interface DeviceView extends View, Partial<Omit<DeviceModel, 'useReceipt' | 'print$'>> {
34
+ export interface DeviceView extends View, Partial<Omit<DeviceModel, 'useReceipt' | 'print$' | 'store$' | 'orderSetting$'>> {
33
35
  /** 영수증 출력 (0: 선택, 1: 필수 ) */
34
36
  useReceipt?: boolean;
35
37
  /** (internal) the linked print-model */