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/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
- export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type FullAddress, type SelectedAddressProps, type Step, type TestResponse, getAddressMethod, getTestMethod, useSearchModalAddressQuery };
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
- export { type Address, type AddressSearchDetailInputProps, type AddressSearchResultProps, type FullAddress, type SelectedAddressProps, type Step, type TestResponse, getAddressMethod, getTestMethod, useSearchModalAddressQuery };
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 };