@lemoncloud/ssocio-kiosk-api 0.25.902 → 0.25.903

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.
@@ -12,9 +12,10 @@
12
12
  */
13
13
  import { CoreModel } from 'lemon-model';
14
14
  import { ModelType } from '../../service/backend-types';
15
- import { OptionStereo, OptionType } from './types';
15
+ import { OptionStereo } from './types';
16
16
  import { StockModel } from '../stock/model';
17
17
  import { CurrencyType, PriceInfo } from '../../lib/currency-types';
18
+ import { OptionCategoryType } from './options-types';
18
19
  export { ModelType };
19
20
  /**
20
21
  * type: `Model`: common model
@@ -93,9 +94,9 @@ export interface OptionModel extends Model, OptionHead {
93
94
  */
94
95
  stereo?: OptionStereo;
95
96
  /**
96
- * 옵션 상품 타입
97
+ * 옵션 상품 분류 항목
97
98
  */
98
- optionType?: OptionType;
99
+ category?: OptionCategoryType;
99
100
  /**
100
101
  * parent-id (:= id of option-group)
101
102
  */
@@ -60,6 +60,10 @@ export declare const $OptionLUT: {
60
60
  category: string;
61
61
  /** 요일별 */
62
62
  day: string;
63
+ /** 구역별 */
64
+ zone: string;
65
+ /** 상품별 */
66
+ product: string;
63
67
  };
64
68
  };
65
69
  /**
@@ -12,6 +12,7 @@
12
12
  */
13
13
  import { SimpleSet } from 'lemon-model';
14
14
  import { PaginateParam } from '../../cores/types';
15
+ import { OptionCategoryType } from './options-types';
15
16
  export { SimpleSet };
16
17
  /**
17
18
  * type: boolean style number.
@@ -86,22 +87,19 @@ export declare const $LUT: {
86
87
  /** 토요일 */
87
88
  sat: string;
88
89
  };
89
- /** 옵션 구분 타입 */
90
- OptionType: {
91
- /** 상품형 */
92
- product: string;
93
- /** 구역형 */
94
- zone: string;
90
+ /** OptionCategoryType */
91
+ OptionCategoryType: {
92
+ '': string;
93
+ category: string;
94
+ day: string;
95
+ zone: string; /** tue (Tuesday): 2 */
96
+ product: string; /** wed (Wednesday): 3 */
95
97
  };
96
98
  };
97
99
  /**
98
100
  * type: `OptionStereo`
99
101
  */
100
102
  export declare type OptionStereo = keyof typeof $LUT.OptionStereo;
101
- /**
102
- * type: `OptionType`
103
- */
104
- export declare type OptionType = keyof typeof $LUT.OptionType;
105
103
  /**
106
104
  * type: `WeekDayNumType`
107
105
  */
@@ -118,6 +116,8 @@ export interface OptionListParam extends PaginateParam {
118
116
  sort?: 'latest' | 'popular' | 'lowPrice' | 'highPrice' | 'ranking' | 'order';
119
117
  /** stereo */
120
118
  stereo?: string | OptionStereo;
119
+ /** category */
120
+ category?: string | OptionCategoryType;
121
121
  }
122
122
  /** must export $LUT as default */
123
123
  export default $LUT;
@@ -35,10 +35,12 @@ declare const $LUT: {
35
35
  * SourceType
36
36
  */
37
37
  SourceType: {
38
- /** ticket model */
39
38
  '': string;
40
39
  group: string;
41
40
  type: string;
41
+ /**
42
+ * type: `StockSourceType`
43
+ */
42
44
  name: string;
43
45
  unit: string;
44
46
  input: string;