@lemoncloud/clipbiz-goods-api 0.25.1027 → 0.25.1125
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/dist/modules/ai/model.d.ts +136 -0
- package/dist/modules/ai/types.d.ts +80 -0
- package/dist/modules/ai/views.d.ts +70 -0
- package/dist/modules/contracts/model.d.ts +157 -0
- package/dist/modules/contracts/types.d.ts +88 -0
- package/dist/modules/contracts/views.d.ts +45 -0
- package/dist/modules/deals/model.d.ts +31 -3
- package/dist/modules/deals/types.d.ts +127 -14
- package/dist/modules/exams/model.d.ts +2 -0
- package/dist/modules/goods/model.d.ts +12 -3
- package/dist/service/backend-types.d.ts +8 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/view/types.d.ts +17 -0
- package/package.json +1 -1
|
@@ -27,20 +27,87 @@ declare const $LUT: {
|
|
|
27
27
|
DealStatus: {
|
|
28
28
|
/** 상태없음 */
|
|
29
29
|
'': string;
|
|
30
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* 승인 대기
|
|
32
|
+
* @deprecated 기획 변경에 따른 타입 수정. 제거 필요함
|
|
33
|
+
*/
|
|
31
34
|
pending: string;
|
|
32
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* 준비 단계
|
|
37
|
+
* @deprecated 기획 변경에 따른 타입 수정. 제거 필요함
|
|
38
|
+
*/
|
|
33
39
|
preparing: string;
|
|
34
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* 진행 단계
|
|
42
|
+
* @deprecated 기획 변경에 따른 타입 수정. 제거 필요함
|
|
43
|
+
*/
|
|
35
44
|
inProgress: string;
|
|
36
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* 완료
|
|
47
|
+
* @deprecated 기획 변경에 따른 타입 수정. 제거 필요함
|
|
48
|
+
*/
|
|
37
49
|
completed: string;
|
|
38
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* 반려 (재신청 가능)
|
|
52
|
+
* @deprecated 기획 변경에 따른 타입 수정. 제거 필요함
|
|
53
|
+
*/
|
|
39
54
|
rejected: string;
|
|
40
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* 취소 (재신청 가능)
|
|
57
|
+
* @deprecated 기획 변경에 따른 타입 수정. 제거 필요함
|
|
58
|
+
*/
|
|
41
59
|
cancelled: string;
|
|
42
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* 취소요청
|
|
62
|
+
* @deprecated 기획 변경에 따른 타입 수정. 제거 필요함
|
|
63
|
+
*/
|
|
43
64
|
toCancel: string;
|
|
65
|
+
/** [step1] 우수사업장 선정 */
|
|
66
|
+
select: string;
|
|
67
|
+
/** [step2] 품목 매핑 */
|
|
68
|
+
mapping: string;
|
|
69
|
+
/** [step3] 사용부서 협의 */
|
|
70
|
+
agreement: string;
|
|
71
|
+
/** [step4] 업체평 (선택) */
|
|
72
|
+
review: string;
|
|
73
|
+
/** [step5] 샘플 테스트 */
|
|
74
|
+
sample: string;
|
|
75
|
+
/** [step6] 업체 등록 */
|
|
76
|
+
register: string;
|
|
77
|
+
/** [step7] 단가 계약 */
|
|
78
|
+
contract: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* DealWorkflowState
|
|
82
|
+
*/
|
|
83
|
+
DealWorkflowState: {
|
|
84
|
+
/** 상태없음 */
|
|
85
|
+
'': string;
|
|
86
|
+
/** 초기상태 */
|
|
87
|
+
init: string;
|
|
88
|
+
/** 처리중(진행중) */
|
|
89
|
+
busy: string;
|
|
90
|
+
/** 완료 */
|
|
91
|
+
completed: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* DealStatusOrder
|
|
95
|
+
*/
|
|
96
|
+
DealStatusOrder: {
|
|
97
|
+
/** [step1] 우수사업장 선정 */
|
|
98
|
+
select: number;
|
|
99
|
+
/** [step2] 품목 매핑 */
|
|
100
|
+
mapping: number;
|
|
101
|
+
/** [step3] 사용부서 협의 */
|
|
102
|
+
agreement: number;
|
|
103
|
+
/** [step4] 업체평 (선택) */
|
|
104
|
+
review: number;
|
|
105
|
+
/** [step5] 샘플 테스트 */
|
|
106
|
+
sample: number;
|
|
107
|
+
/** [step6] 업체 등록 */
|
|
108
|
+
register: number;
|
|
109
|
+
/** [step7] 단가 계약 */
|
|
110
|
+
contract: number;
|
|
44
111
|
};
|
|
45
112
|
};
|
|
46
113
|
/**
|
|
@@ -51,32 +118,58 @@ export declare type DealStereo = keyof typeof $LUT.DealStereo;
|
|
|
51
118
|
* type: `DealStatus`
|
|
52
119
|
*/
|
|
53
120
|
export declare type DealStatus = keyof typeof $LUT.DealStatus;
|
|
121
|
+
/**
|
|
122
|
+
* type: `DealWorkflowState`
|
|
123
|
+
*/
|
|
124
|
+
export declare type DealWorkflowState = keyof typeof $LUT.DealWorkflowState;
|
|
125
|
+
/**
|
|
126
|
+
* type: `DealStatusOrder`
|
|
127
|
+
*/
|
|
128
|
+
export declare type DealStatusOrder = keyof typeof $LUT.DealStatusOrder;
|
|
54
129
|
/**
|
|
55
130
|
* interface: `DealStatusSet`
|
|
56
131
|
* - 상태 세트
|
|
57
132
|
*/
|
|
58
|
-
export interface DealStatusSet {
|
|
59
|
-
/**
|
|
133
|
+
export interface DealStatusSet extends DealWorkflowSet {
|
|
134
|
+
/**
|
|
135
|
+
* 신청 정보
|
|
136
|
+
* @deprecated don't use it anymore.
|
|
137
|
+
*/
|
|
60
138
|
requestedAt?: number;
|
|
61
139
|
requestedBy?: string;
|
|
62
140
|
requestMemo?: string;
|
|
63
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* 승인 정보
|
|
143
|
+
* @deprecated don't use it anymore.
|
|
144
|
+
*/
|
|
64
145
|
approvedAt?: number;
|
|
65
146
|
approvedBy?: string;
|
|
66
147
|
approvalMemo?: string;
|
|
67
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* 진행 정보
|
|
150
|
+
* @deprecated don't use it anymore.
|
|
151
|
+
*/
|
|
68
152
|
progressedAt?: number;
|
|
69
153
|
progressedBy?: string;
|
|
70
154
|
progressedMemo?: string;
|
|
71
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* 완료 정보
|
|
157
|
+
* @deprecated don't use it anymore.
|
|
158
|
+
*/
|
|
72
159
|
completedAt?: number;
|
|
73
160
|
completedBy?: string;
|
|
74
161
|
completedMemo?: string;
|
|
75
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* 반려 정보
|
|
164
|
+
* @deprecated don't use it anymore.
|
|
165
|
+
*/
|
|
76
166
|
rejectedAt?: number;
|
|
77
167
|
rejectedBy?: string;
|
|
78
168
|
rejectionReason?: string;
|
|
79
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* 취소 정보
|
|
171
|
+
* @deprecated don't use it anymore.
|
|
172
|
+
*/
|
|
80
173
|
cancelledAt?: number;
|
|
81
174
|
cancelledBy?: string;
|
|
82
175
|
cancelReason?: string;
|
|
@@ -85,5 +178,25 @@ export interface DealStatusSet {
|
|
|
85
178
|
/** (internal) last udpated time */
|
|
86
179
|
updatedAt?: number;
|
|
87
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* type: `DealWorkflowSet`
|
|
183
|
+
* - 매칭상품의 진행 상태를 관리함
|
|
184
|
+
*/
|
|
185
|
+
export interface DealWorkflowSet {
|
|
186
|
+
/** [step1] 우수사업장 선정 */
|
|
187
|
+
select?: DealWorkflowState;
|
|
188
|
+
/** [step2] 품목 매핑 */
|
|
189
|
+
mapping?: DealWorkflowState;
|
|
190
|
+
/** [step3] 사용부서 협의 */
|
|
191
|
+
agreement?: DealWorkflowState;
|
|
192
|
+
/** [step4] 업체평 (선택) */
|
|
193
|
+
review?: DealWorkflowState;
|
|
194
|
+
/** [step5] 샘플 테스트 */
|
|
195
|
+
sample?: DealWorkflowState;
|
|
196
|
+
/** [step6] 업체 등록 */
|
|
197
|
+
register?: DealWorkflowState;
|
|
198
|
+
/** [step7] 단가 계약 */
|
|
199
|
+
contract?: DealWorkflowState;
|
|
200
|
+
}
|
|
88
201
|
/** must export $LUT as default */
|
|
89
202
|
export default $LUT;
|
|
@@ -65,6 +65,8 @@ export interface ExamModel extends ExamHead, Model {
|
|
|
65
65
|
operationalCapability?: number;
|
|
66
66
|
/** 종합점수 */
|
|
67
67
|
totalScore?: number;
|
|
68
|
+
/** last message-id */
|
|
69
|
+
mid?: string;
|
|
68
70
|
}
|
|
69
71
|
export declare const filterFields: (fields: string[], base?: string[]) => string[];
|
|
70
72
|
export declare const $HEAD: {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
11
11
|
*/
|
|
12
|
-
import { CoreModel } from 'lemon-model';
|
|
12
|
+
import { CoreModel, Cores } from 'lemon-model';
|
|
13
13
|
import $LUT, { ItemStereo, ItemUnitType, ProdStereo } from './types';
|
|
14
14
|
/**
|
|
15
15
|
* type: boolean style number.
|
|
@@ -22,9 +22,18 @@ import { SiteHead } from '../sites/model';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare type ModelType = keyof typeof $LUT.ModelType;
|
|
24
24
|
/**
|
|
25
|
-
* type: `Model`: common model
|
|
25
|
+
* type: `Model`: common model interface
|
|
26
|
+
* - modifier 정보 저장을 위해 확장됨 @251124
|
|
27
|
+
*
|
|
28
|
+
* TODO [Steve] 아래의 `$` 부분은 추후 `lemon-model` 쪽으로 이전 검토 필요. @251124
|
|
26
29
|
*/
|
|
27
|
-
export
|
|
30
|
+
export interface Model extends CoreModel<ModelType> {
|
|
31
|
+
/**
|
|
32
|
+
* the modifier information
|
|
33
|
+
* - can't update manually.
|
|
34
|
+
*/
|
|
35
|
+
readonly $?: Cores;
|
|
36
|
+
}
|
|
28
37
|
/**
|
|
29
38
|
* interface: `ItemHead`
|
|
30
39
|
* - common head of item-model.
|
|
@@ -24,11 +24,19 @@ declare const $LUT: {
|
|
|
24
24
|
callback: string;
|
|
25
25
|
category: string;
|
|
26
26
|
site: string;
|
|
27
|
+
/**
|
|
28
|
+
* Lookup Table
|
|
29
|
+
*
|
|
30
|
+
* WARN! DO NOT EXPORT AS `$LUT`. use default export instead.
|
|
31
|
+
*/
|
|
27
32
|
user: string;
|
|
28
33
|
exam: string;
|
|
34
|
+
contract: string;
|
|
35
|
+
delivery: string;
|
|
29
36
|
deal: string;
|
|
30
37
|
item: string;
|
|
31
38
|
prod: string;
|
|
39
|
+
recommend: string;
|
|
32
40
|
};
|
|
33
41
|
/**
|
|
34
42
|
* Possible type of language.
|