sales-frontend-api 0.0.33 → 0.0.35
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/client.cjs +5 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +5 -2
- package/dist/client.js.map +1 -1
- package/dist/method.cjs +51 -4560
- package/dist/method.cjs.map +1 -1
- package/dist/method.d.cts +142 -2
- package/dist/method.d.ts +142 -2
- package/dist/method.js +47 -4560
- package/dist/method.js.map +1 -1
- package/package.json +9 -9
package/dist/method.d.cts
CHANGED
|
@@ -75,11 +75,151 @@ declare const getAddressMethod: ({ searchKeyword, config }: AddressSearchParam)
|
|
|
75
75
|
* string[] 쿼리 키 배열
|
|
76
76
|
*/
|
|
77
77
|
type CustomQueryOptions<QueryFnReturnType, SelectReturnType = QueryFnReturnType> = Omit<UseQueryOptions<QueryFnReturnType, AxiosError, SelectReturnType, string[]>, 'queryKey' | 'queryFn'>;
|
|
78
|
+
interface Pagination {
|
|
79
|
+
/**
|
|
80
|
+
* Format: int32
|
|
81
|
+
* @description 현재 페이지 번호
|
|
82
|
+
* @example 1
|
|
83
|
+
*/
|
|
84
|
+
pageNum: number;
|
|
85
|
+
/**
|
|
86
|
+
* Format: int32
|
|
87
|
+
* @description 한 페이지에 표시될 아이템 수
|
|
88
|
+
* @example 10
|
|
89
|
+
*/
|
|
90
|
+
pageSize: number;
|
|
91
|
+
/**
|
|
92
|
+
* Format: int64
|
|
93
|
+
* @description 전체 아이템 개수
|
|
94
|
+
*/
|
|
95
|
+
totalElements: number;
|
|
96
|
+
/**
|
|
97
|
+
* Format: int32
|
|
98
|
+
* @description 표시될 페이지네이션 개수
|
|
99
|
+
* @example 5
|
|
100
|
+
*/
|
|
101
|
+
pageNumbersToShow: number;
|
|
102
|
+
/**
|
|
103
|
+
* Format: int32
|
|
104
|
+
* @description 전체 페이지 개수
|
|
105
|
+
*/
|
|
106
|
+
totalPages: number;
|
|
107
|
+
/**
|
|
108
|
+
* Format: int32
|
|
109
|
+
* @description 페이지네이션 시작번호
|
|
110
|
+
*/
|
|
111
|
+
startPage: number;
|
|
112
|
+
/**
|
|
113
|
+
* Format: int32
|
|
114
|
+
* @description 페이지네이션 종료번호
|
|
115
|
+
*/
|
|
116
|
+
endPage: number;
|
|
117
|
+
/**
|
|
118
|
+
* Format: int32
|
|
119
|
+
* @description 이전 블럭 페이지 번호
|
|
120
|
+
*/
|
|
121
|
+
prevPage: number;
|
|
122
|
+
/**
|
|
123
|
+
* Format: int32
|
|
124
|
+
* @description 다음 블럭 페이지 번호
|
|
125
|
+
*/
|
|
126
|
+
nextPage: number;
|
|
127
|
+
prev: boolean;
|
|
128
|
+
next: boolean;
|
|
129
|
+
}
|
|
78
130
|
|
|
79
131
|
declare const useSearchModalAddressQuery: (params: {
|
|
80
132
|
searchKeyword: string;
|
|
81
133
|
}, options?: CustomQueryOptions<Address[]>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<Address[], axios.AxiosError<unknown, any>>;
|
|
82
134
|
|
|
135
|
+
interface OccupationListRequestDto {
|
|
136
|
+
/**
|
|
137
|
+
* @description 직종조회구분코드
|
|
138
|
+
* @example 4
|
|
139
|
+
*/
|
|
140
|
+
occupationSearchTypeCode: string;
|
|
141
|
+
/** @description 직종대분류코드 */
|
|
142
|
+
occupationMajorCategoryCode: string;
|
|
143
|
+
/** @description 직종중분류코드 */
|
|
144
|
+
occupationSubCategoryCode: string;
|
|
145
|
+
/**
|
|
146
|
+
* @description 검색직종업종명
|
|
147
|
+
* @example 사무
|
|
148
|
+
*/
|
|
149
|
+
searchOccupationIndustryName: string;
|
|
150
|
+
}
|
|
151
|
+
interface DspResponseOccupationListResponseDto {
|
|
152
|
+
/** @description 성공여부 */
|
|
153
|
+
isSuccess: boolean;
|
|
154
|
+
/** @description 코드 */
|
|
155
|
+
code: string;
|
|
156
|
+
/** @description 메시지 */
|
|
157
|
+
message: string;
|
|
158
|
+
/** @description 직종 목록 */
|
|
159
|
+
data: OccupationListResponseDto;
|
|
160
|
+
/** 페이징 */
|
|
161
|
+
pagination?: Pagination;
|
|
162
|
+
}
|
|
163
|
+
/** @description 직종 목록 */
|
|
164
|
+
interface OccupationListResponseDto {
|
|
165
|
+
/** @description 직종 목록 */
|
|
166
|
+
occupationList: OccupationResponseDto[];
|
|
167
|
+
}
|
|
168
|
+
interface OccupationResponseDto {
|
|
169
|
+
/** @description 직종업종코드 */
|
|
170
|
+
occupationIndustryCode: string;
|
|
171
|
+
/** @description 직종업종명 */
|
|
172
|
+
occupationIndustryName: string;
|
|
173
|
+
/** @description 직종구분코드 */
|
|
174
|
+
occupationTypeCode: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* Format: int64
|
|
177
|
+
* @description 이력일련번호
|
|
178
|
+
*/
|
|
179
|
+
historySequence: number;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare const getOccupationListMethod: (params: OccupationListRequestDto, config?: AxiosRequestConfig) => Promise<DspResponseOccupationListResponseDto>;
|
|
183
|
+
|
|
184
|
+
declare const useSearchOccupationQuery: (params: OccupationListRequestDto, options?: CustomQueryOptions<DspResponseOccupationListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseOccupationListResponseDto, axios.AxiosError<unknown, any>>;
|
|
185
|
+
|
|
186
|
+
interface DspResponseVehicleTypeListResponseDto {
|
|
187
|
+
/** @description 성공여부 */
|
|
188
|
+
isSuccess?: boolean;
|
|
189
|
+
/** @description 코드 */
|
|
190
|
+
code?: string;
|
|
191
|
+
/** @description 메시지 */
|
|
192
|
+
message?: string;
|
|
193
|
+
data?: VehicleTypeListResponseDto;
|
|
194
|
+
pagination?: Pagination;
|
|
195
|
+
}
|
|
196
|
+
interface VehicleTypeListResponseDto {
|
|
197
|
+
/** @description 운전차종 목록 */
|
|
198
|
+
vehicleTypeList?: VehicleTypeResponseDto[];
|
|
199
|
+
}
|
|
200
|
+
/** @description 운전차종 */
|
|
201
|
+
interface VehicleTypeResponseDto {
|
|
202
|
+
/** @description 통합코드ID */
|
|
203
|
+
integrationCodeId?: string;
|
|
204
|
+
/** @description 통합코드명 */
|
|
205
|
+
integrationCodeName?: string;
|
|
206
|
+
/** @description 통합코드값 */
|
|
207
|
+
integrationCodeValue?: string;
|
|
208
|
+
/** @description 통합코드값명 */
|
|
209
|
+
integrationCodeValueName?: string;
|
|
210
|
+
/**
|
|
211
|
+
* Format: int32
|
|
212
|
+
* @description 출력순서
|
|
213
|
+
*/
|
|
214
|
+
outputOrder?: number;
|
|
215
|
+
/** @description 설명내용 */
|
|
216
|
+
explanationContent?: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare const getVehicleListMethod: (config?: AxiosRequestConfig) => Promise<DspResponseVehicleTypeListResponseDto>;
|
|
220
|
+
|
|
221
|
+
declare const useSearchVehicleQuery: (options?: CustomQueryOptions<DspResponseVehicleTypeListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseVehicleTypeListResponseDto, axios.AxiosError<unknown, any>>;
|
|
222
|
+
|
|
83
223
|
interface FpLoginData {
|
|
84
224
|
tokenType: string;
|
|
85
225
|
accessToken: string;
|
|
@@ -97,6 +237,6 @@ interface FpLoginResponseDto {
|
|
|
97
237
|
* @param userId 사번
|
|
98
238
|
* @returns FpLoginResponseDto
|
|
99
239
|
*/
|
|
100
|
-
declare const
|
|
240
|
+
declare const postLoginMethod: (userId: number) => Promise<FpLoginResponseDto>;
|
|
101
241
|
|
|
102
|
-
export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type FpLoginData, type FpLoginResponseDto, type FullAddress, type SelectedAddressProps, type Step, type TestResponse, getAddressMethod,
|
|
242
|
+
export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type DspResponseOccupationListResponseDto, type DspResponseVehicleTypeListResponseDto, type FpLoginData, type FpLoginResponseDto, type FullAddress, type OccupationListRequestDto, type OccupationListResponseDto, type OccupationResponseDto, type SelectedAddressProps, type Step, type TestResponse, type VehicleTypeListResponseDto, type VehicleTypeResponseDto, getAddressMethod, getOccupationListMethod, getTestMethod, getVehicleListMethod, postLoginMethod, useSearchModalAddressQuery, useSearchOccupationQuery, useSearchVehicleQuery };
|
package/dist/method.d.ts
CHANGED
|
@@ -75,11 +75,151 @@ declare const getAddressMethod: ({ searchKeyword, config }: AddressSearchParam)
|
|
|
75
75
|
* string[] 쿼리 키 배열
|
|
76
76
|
*/
|
|
77
77
|
type CustomQueryOptions<QueryFnReturnType, SelectReturnType = QueryFnReturnType> = Omit<UseQueryOptions<QueryFnReturnType, AxiosError, SelectReturnType, string[]>, 'queryKey' | 'queryFn'>;
|
|
78
|
+
interface Pagination {
|
|
79
|
+
/**
|
|
80
|
+
* Format: int32
|
|
81
|
+
* @description 현재 페이지 번호
|
|
82
|
+
* @example 1
|
|
83
|
+
*/
|
|
84
|
+
pageNum: number;
|
|
85
|
+
/**
|
|
86
|
+
* Format: int32
|
|
87
|
+
* @description 한 페이지에 표시될 아이템 수
|
|
88
|
+
* @example 10
|
|
89
|
+
*/
|
|
90
|
+
pageSize: number;
|
|
91
|
+
/**
|
|
92
|
+
* Format: int64
|
|
93
|
+
* @description 전체 아이템 개수
|
|
94
|
+
*/
|
|
95
|
+
totalElements: number;
|
|
96
|
+
/**
|
|
97
|
+
* Format: int32
|
|
98
|
+
* @description 표시될 페이지네이션 개수
|
|
99
|
+
* @example 5
|
|
100
|
+
*/
|
|
101
|
+
pageNumbersToShow: number;
|
|
102
|
+
/**
|
|
103
|
+
* Format: int32
|
|
104
|
+
* @description 전체 페이지 개수
|
|
105
|
+
*/
|
|
106
|
+
totalPages: number;
|
|
107
|
+
/**
|
|
108
|
+
* Format: int32
|
|
109
|
+
* @description 페이지네이션 시작번호
|
|
110
|
+
*/
|
|
111
|
+
startPage: number;
|
|
112
|
+
/**
|
|
113
|
+
* Format: int32
|
|
114
|
+
* @description 페이지네이션 종료번호
|
|
115
|
+
*/
|
|
116
|
+
endPage: number;
|
|
117
|
+
/**
|
|
118
|
+
* Format: int32
|
|
119
|
+
* @description 이전 블럭 페이지 번호
|
|
120
|
+
*/
|
|
121
|
+
prevPage: number;
|
|
122
|
+
/**
|
|
123
|
+
* Format: int32
|
|
124
|
+
* @description 다음 블럭 페이지 번호
|
|
125
|
+
*/
|
|
126
|
+
nextPage: number;
|
|
127
|
+
prev: boolean;
|
|
128
|
+
next: boolean;
|
|
129
|
+
}
|
|
78
130
|
|
|
79
131
|
declare const useSearchModalAddressQuery: (params: {
|
|
80
132
|
searchKeyword: string;
|
|
81
133
|
}, options?: CustomQueryOptions<Address[]>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<Address[], axios.AxiosError<unknown, any>>;
|
|
82
134
|
|
|
135
|
+
interface OccupationListRequestDto {
|
|
136
|
+
/**
|
|
137
|
+
* @description 직종조회구분코드
|
|
138
|
+
* @example 4
|
|
139
|
+
*/
|
|
140
|
+
occupationSearchTypeCode: string;
|
|
141
|
+
/** @description 직종대분류코드 */
|
|
142
|
+
occupationMajorCategoryCode: string;
|
|
143
|
+
/** @description 직종중분류코드 */
|
|
144
|
+
occupationSubCategoryCode: string;
|
|
145
|
+
/**
|
|
146
|
+
* @description 검색직종업종명
|
|
147
|
+
* @example 사무
|
|
148
|
+
*/
|
|
149
|
+
searchOccupationIndustryName: string;
|
|
150
|
+
}
|
|
151
|
+
interface DspResponseOccupationListResponseDto {
|
|
152
|
+
/** @description 성공여부 */
|
|
153
|
+
isSuccess: boolean;
|
|
154
|
+
/** @description 코드 */
|
|
155
|
+
code: string;
|
|
156
|
+
/** @description 메시지 */
|
|
157
|
+
message: string;
|
|
158
|
+
/** @description 직종 목록 */
|
|
159
|
+
data: OccupationListResponseDto;
|
|
160
|
+
/** 페이징 */
|
|
161
|
+
pagination?: Pagination;
|
|
162
|
+
}
|
|
163
|
+
/** @description 직종 목록 */
|
|
164
|
+
interface OccupationListResponseDto {
|
|
165
|
+
/** @description 직종 목록 */
|
|
166
|
+
occupationList: OccupationResponseDto[];
|
|
167
|
+
}
|
|
168
|
+
interface OccupationResponseDto {
|
|
169
|
+
/** @description 직종업종코드 */
|
|
170
|
+
occupationIndustryCode: string;
|
|
171
|
+
/** @description 직종업종명 */
|
|
172
|
+
occupationIndustryName: string;
|
|
173
|
+
/** @description 직종구분코드 */
|
|
174
|
+
occupationTypeCode: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* Format: int64
|
|
177
|
+
* @description 이력일련번호
|
|
178
|
+
*/
|
|
179
|
+
historySequence: number;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare const getOccupationListMethod: (params: OccupationListRequestDto, config?: AxiosRequestConfig) => Promise<DspResponseOccupationListResponseDto>;
|
|
183
|
+
|
|
184
|
+
declare const useSearchOccupationQuery: (params: OccupationListRequestDto, options?: CustomQueryOptions<DspResponseOccupationListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseOccupationListResponseDto, axios.AxiosError<unknown, any>>;
|
|
185
|
+
|
|
186
|
+
interface DspResponseVehicleTypeListResponseDto {
|
|
187
|
+
/** @description 성공여부 */
|
|
188
|
+
isSuccess?: boolean;
|
|
189
|
+
/** @description 코드 */
|
|
190
|
+
code?: string;
|
|
191
|
+
/** @description 메시지 */
|
|
192
|
+
message?: string;
|
|
193
|
+
data?: VehicleTypeListResponseDto;
|
|
194
|
+
pagination?: Pagination;
|
|
195
|
+
}
|
|
196
|
+
interface VehicleTypeListResponseDto {
|
|
197
|
+
/** @description 운전차종 목록 */
|
|
198
|
+
vehicleTypeList?: VehicleTypeResponseDto[];
|
|
199
|
+
}
|
|
200
|
+
/** @description 운전차종 */
|
|
201
|
+
interface VehicleTypeResponseDto {
|
|
202
|
+
/** @description 통합코드ID */
|
|
203
|
+
integrationCodeId?: string;
|
|
204
|
+
/** @description 통합코드명 */
|
|
205
|
+
integrationCodeName?: string;
|
|
206
|
+
/** @description 통합코드값 */
|
|
207
|
+
integrationCodeValue?: string;
|
|
208
|
+
/** @description 통합코드값명 */
|
|
209
|
+
integrationCodeValueName?: string;
|
|
210
|
+
/**
|
|
211
|
+
* Format: int32
|
|
212
|
+
* @description 출력순서
|
|
213
|
+
*/
|
|
214
|
+
outputOrder?: number;
|
|
215
|
+
/** @description 설명내용 */
|
|
216
|
+
explanationContent?: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare const getVehicleListMethod: (config?: AxiosRequestConfig) => Promise<DspResponseVehicleTypeListResponseDto>;
|
|
220
|
+
|
|
221
|
+
declare const useSearchVehicleQuery: (options?: CustomQueryOptions<DspResponseVehicleTypeListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseVehicleTypeListResponseDto, axios.AxiosError<unknown, any>>;
|
|
222
|
+
|
|
83
223
|
interface FpLoginData {
|
|
84
224
|
tokenType: string;
|
|
85
225
|
accessToken: string;
|
|
@@ -97,6 +237,6 @@ interface FpLoginResponseDto {
|
|
|
97
237
|
* @param userId 사번
|
|
98
238
|
* @returns FpLoginResponseDto
|
|
99
239
|
*/
|
|
100
|
-
declare const
|
|
240
|
+
declare const postLoginMethod: (userId: number) => Promise<FpLoginResponseDto>;
|
|
101
241
|
|
|
102
|
-
export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type FpLoginData, type FpLoginResponseDto, type FullAddress, type SelectedAddressProps, type Step, type TestResponse, getAddressMethod,
|
|
242
|
+
export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type DspResponseOccupationListResponseDto, type DspResponseVehicleTypeListResponseDto, type FpLoginData, type FpLoginResponseDto, type FullAddress, type OccupationListRequestDto, type OccupationListResponseDto, type OccupationResponseDto, type SelectedAddressProps, type Step, type TestResponse, type VehicleTypeListResponseDto, type VehicleTypeResponseDto, getAddressMethod, getOccupationListMethod, getTestMethod, getVehicleListMethod, postLoginMethod, useSearchModalAddressQuery, useSearchOccupationQuery, useSearchVehicleQuery };
|