sales-frontend-api 0.0.27 → 0.0.29
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 +4 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +18 -1
- package/dist/client.d.ts +18 -1
- package/dist/client.js +5 -5
- package/dist/client.js.map +1 -1
- package/dist/method.cjs +4572 -5
- package/dist/method.cjs.map +1 -1
- package/dist/method.d.cts +20 -1
- package/dist/method.d.ts +20 -1
- package/dist/method.js +4572 -6
- package/dist/method.js.map +1 -1
- package/package.json +9 -9
package/dist/method.d.cts
CHANGED
|
@@ -80,4 +80,23 @@ declare const useSearchModalAddressQuery: (params: {
|
|
|
80
80
|
searchKeyword: string;
|
|
81
81
|
}, options?: CustomQueryOptions<Address[]>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<Address[], axios.AxiosError<unknown, any>>;
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
interface FpLoginData {
|
|
84
|
+
tokenType: string;
|
|
85
|
+
accessToken: string;
|
|
86
|
+
refreshToken: string;
|
|
87
|
+
expiresIn: number;
|
|
88
|
+
fpLoginInfo: null;
|
|
89
|
+
}
|
|
90
|
+
interface FpLoginResponseDto {
|
|
91
|
+
isSuccess: true;
|
|
92
|
+
data: FpLoginData;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @param userId 사번
|
|
98
|
+
* @returns FpLoginResponseDto
|
|
99
|
+
*/
|
|
100
|
+
declare const getLoginMethod: (userId: number) => Promise<FpLoginResponseDto>;
|
|
101
|
+
|
|
102
|
+
export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type FpLoginData, type FpLoginResponseDto, type FullAddress, type SelectedAddressProps, type Step, type TestResponse, getAddressMethod, getLoginMethod, getTestMethod, useSearchModalAddressQuery };
|
package/dist/method.d.ts
CHANGED
|
@@ -80,4 +80,23 @@ declare const useSearchModalAddressQuery: (params: {
|
|
|
80
80
|
searchKeyword: string;
|
|
81
81
|
}, options?: CustomQueryOptions<Address[]>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<Address[], axios.AxiosError<unknown, any>>;
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
interface FpLoginData {
|
|
84
|
+
tokenType: string;
|
|
85
|
+
accessToken: string;
|
|
86
|
+
refreshToken: string;
|
|
87
|
+
expiresIn: number;
|
|
88
|
+
fpLoginInfo: null;
|
|
89
|
+
}
|
|
90
|
+
interface FpLoginResponseDto {
|
|
91
|
+
isSuccess: true;
|
|
92
|
+
data: FpLoginData;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @param userId 사번
|
|
98
|
+
* @returns FpLoginResponseDto
|
|
99
|
+
*/
|
|
100
|
+
declare const getLoginMethod: (userId: number) => Promise<FpLoginResponseDto>;
|
|
101
|
+
|
|
102
|
+
export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type FpLoginData, type FpLoginResponseDto, type FullAddress, type SelectedAddressProps, type Step, type TestResponse, getAddressMethod, getLoginMethod, getTestMethod, useSearchModalAddressQuery };
|