sales-frontend-api 0.0.53 → 0.0.55
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.cjs +83 -20
- package/dist/method.cjs.map +1 -1
- package/dist/method.d.cts +123 -1
- package/dist/method.d.ts +123 -1
- package/dist/method.js +80 -21
- package/dist/method.js.map +1 -1
- package/package.json +8 -8
package/dist/method.d.cts
CHANGED
|
@@ -839,6 +839,41 @@ declare const getDspCustomerListMethod: (params: PersonalCustomerProfileRequestD
|
|
|
839
839
|
|
|
840
840
|
declare const useSearchDspCustomerListQuery: (params: PersonalCustomerProfileRequestDto, options?: CustomQueryOptions<DspResponseListPersonalCustomerProfileResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseListPersonalCustomerProfileResponseDto, axios.AxiosError<unknown, any>>;
|
|
841
841
|
|
|
842
|
+
interface DspResponseVisaStatusListResponseDto {
|
|
843
|
+
/** @description 성공여부 */
|
|
844
|
+
isSuccess?: boolean;
|
|
845
|
+
/** @description 코드 */
|
|
846
|
+
code?: string;
|
|
847
|
+
/** @description 메시지 */
|
|
848
|
+
message?: string;
|
|
849
|
+
data?: VisaStatusListResponseDto;
|
|
850
|
+
pagination?: Pagination$1;
|
|
851
|
+
}
|
|
852
|
+
interface VisaStatusListResponseDto {
|
|
853
|
+
visaStatusList?: VisaStatusResponseDto[];
|
|
854
|
+
}
|
|
855
|
+
interface VisaStatusResponseDto {
|
|
856
|
+
/** @description 통합코드ID */
|
|
857
|
+
integrationCodeId?: string;
|
|
858
|
+
/** @description 통합코드명 */
|
|
859
|
+
integrationCodeName?: string;
|
|
860
|
+
/** @description 통합코드값 */
|
|
861
|
+
integrationCodeValue?: string;
|
|
862
|
+
/** @description 통합코드값명 */
|
|
863
|
+
integrationCodeValueName?: string;
|
|
864
|
+
/**
|
|
865
|
+
* Format: int32
|
|
866
|
+
* @description 출력순서
|
|
867
|
+
*/
|
|
868
|
+
outputOrder?: number;
|
|
869
|
+
/** @description 설명내용 */
|
|
870
|
+
explanationContent?: string;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
declare const getVisaListMethod: (config?: AxiosRequestConfig) => Promise<DspResponseVisaStatusListResponseDto>;
|
|
874
|
+
|
|
875
|
+
declare const useSearchVisaQuery: (options?: CustomQueryOptions<DspResponseVisaStatusListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseVisaStatusListResponseDto, axios.AxiosError<unknown, any>>;
|
|
876
|
+
|
|
842
877
|
interface FpLoginData {
|
|
843
878
|
tokenType: string;
|
|
844
879
|
accessToken: string;
|
|
@@ -1026,4 +1061,91 @@ declare const getRemoteIdentityVerificationSystemToken: (params: RemoteIdentityV
|
|
|
1026
1061
|
*/
|
|
1027
1062
|
declare const confirmRemoteIdentityVerificationSystemIdentificationCard: (params: RemoteIdentityVerificationSystemIdentificationCardRequestDto, axiosConfig?: ApiConfig) => Promise<RemoteIdentityVerificationSystemIdentificationCardResponseDto>;
|
|
1028
1063
|
|
|
1029
|
-
|
|
1064
|
+
/**
|
|
1065
|
+
* @description Common Code 요청에 대한 DTO
|
|
1066
|
+
*/
|
|
1067
|
+
interface CommonCodeRequestDto {
|
|
1068
|
+
/**
|
|
1069
|
+
* @description 통합코드ID
|
|
1070
|
+
* INTG_ELCT_APPN_CODE: 전자청약모든코드(AS-IS에서 쓰인 모든 코드, 초기진입시 가지고 있으려면 한번만 호출)
|
|
1071
|
+
*
|
|
1072
|
+
* BANK_ORGN_DVSN_CODE: 금융기관코드(은행)
|
|
1073
|
+
*
|
|
1074
|
+
* PREM_DPST_MTHD_CODE: 초회보험료입금방법코드
|
|
1075
|
+
*
|
|
1076
|
+
* ISRN_TERM_DVSN_CODE: 보험기간구분코드
|
|
1077
|
+
*
|
|
1078
|
+
* PAYM_TERM_DVSN_CODE: 납입기간구분코드
|
|
1079
|
+
*
|
|
1080
|
+
* ATMT_PAYM_CTNB_CODE: 자동납입차수코드
|
|
1081
|
+
*/
|
|
1082
|
+
commonCodeId: 'INTG_ELCT_APPN_CODE' | 'BANK_ORGN_DVSN_CODE' | 'PREM_DPST_MTHD_CODE' | 'ISRN_TERM_DVSN_CODE' | 'PAYM_TERM_DVSN_CODE' | 'ATMT_PAYM_CTNB_CODE';
|
|
1083
|
+
}
|
|
1084
|
+
interface DspResponseCommonCodeResponseDto {
|
|
1085
|
+
/**
|
|
1086
|
+
* @description 성공여부
|
|
1087
|
+
*/
|
|
1088
|
+
isSuccess?: boolean;
|
|
1089
|
+
/**
|
|
1090
|
+
* @description 코드
|
|
1091
|
+
*/
|
|
1092
|
+
code?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* @description 메시지
|
|
1095
|
+
*/
|
|
1096
|
+
message?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* @description 데이터
|
|
1099
|
+
*/
|
|
1100
|
+
data?: CommonCodeResponseDto;
|
|
1101
|
+
/**
|
|
1102
|
+
* @description 페이지네이션
|
|
1103
|
+
*/
|
|
1104
|
+
pagination?: Pagination$1;
|
|
1105
|
+
}
|
|
1106
|
+
interface CommonCodeResponseDto {
|
|
1107
|
+
/**
|
|
1108
|
+
* @description 공통코드리스트
|
|
1109
|
+
* @example "공통코드 Object List"
|
|
1110
|
+
*/
|
|
1111
|
+
commonCodeList?: CommonCodeDto[];
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* @description 공통코드리스트
|
|
1115
|
+
* @example "공통코드 Object List"
|
|
1116
|
+
*/
|
|
1117
|
+
interface CommonCodeDto {
|
|
1118
|
+
/**
|
|
1119
|
+
* @description 공통코드ID
|
|
1120
|
+
* @example "PAYM_TERM_DVSN_CODE"
|
|
1121
|
+
*/
|
|
1122
|
+
commonCodeId?: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* @description 공통코드명
|
|
1125
|
+
* @example "납입기간구분코드"
|
|
1126
|
+
*/
|
|
1127
|
+
commonCodeName?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* @description 코드리스트
|
|
1130
|
+
* @example "코드 Object List"
|
|
1131
|
+
*/
|
|
1132
|
+
codeList?: CodeDto[];
|
|
1133
|
+
}
|
|
1134
|
+
interface CodeDto {
|
|
1135
|
+
/**
|
|
1136
|
+
* @description 코드값
|
|
1137
|
+
* @example "M"
|
|
1138
|
+
*/
|
|
1139
|
+
codeVal?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* @description 코드명
|
|
1142
|
+
* @example "월납"
|
|
1143
|
+
*/
|
|
1144
|
+
codeName?: string;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
declare const getCommonCodeListMethod: (param: CommonCodeRequestDto, config?: AxiosRequestConfig) => Promise<DspResponseCommonCodeResponseDto>;
|
|
1148
|
+
|
|
1149
|
+
declare const useSearchCommonCodeQuery: (param: CommonCodeRequestDto, options?: CustomQueryOptions<DspResponseCommonCodeResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseCommonCodeResponseDto, axios.AxiosError<unknown, any>>;
|
|
1150
|
+
|
|
1151
|
+
export { type AddressListRequestDto, type AddressListResponseDto, type AddressPostalCodeDto, type AddressPostalCodeRequestDto, type AddressPostalCodeResponseDto, type AddressResponseDto, type AddressStandardizationListRequestDto, type AddressStandardizationListResponseDto, type AddressStandardizationResponseDto, type ApiConfig, type CodeDto, type CommonCodeDto, type CommonCodeRequestDto, type CommonCodeResponseDto, type CustomMutationOptions, type CustomQueryOptions, type CustomSuspenseOptions, type CustomerDto, type CustomerListRequestDto, type CustomerListResponseDto, type CustomerSearchProps, type DspResponse, type DspResponseAddressListResponseDto, type DspResponseAddressPostalCodeResponseDto, type DspResponseAddressStandardizationListResponseDto, type DspResponseCommonCodeResponseDto, type DspResponseCustomerListResponseDto, type DspResponseEmployeeProfileResponseDto, type DspResponseListEmployeeProfileResponseDto, type DspResponseListOrganizationProfileResponse, type DspResponseListPersonalCustomerProfileResponseDto, type DspResponseNationalityListResponseDto, type DspResponseOccupationDetailResponseDto, type DspResponseOccupationListResponseDto, type DspResponseOrganizationProfileResponse, type DspResponseRemoteIdentityVerificationSystemTokenResponseDto, type DspResponseRiskGradeResponseDto, type DspResponseVehicleTypeListResponseDto, type DspResponseVisaStatusListResponseDto, type EmployeeDivisionCodeType, type EmployeeProfileRequestDto, type EmployeeProfileResponseDto, type EmployeeProfileSearchRequestDto, type FpLoginData, type FpLoginResponseDto, type NationalityListResponseDto, type NationalityResponseDto, type NationalitySearchRequestDto, type OccupationDetailRequestDto, type OccupationDetailResponseDto, type OccupationListRequestDto, type OccupationListResponseDto, type OccupationResponseDto, type OrganizationProfileRequest, type OrganizationProfileResponse, type OrganizationSearchRequestDto, type Pagination$1 as Pagination, type PersonalCustomerProfileRequestDto, type PersonalCustomerProfileResponseDto, type RemoteIdentityVerificationSystemIdentificationCardRequestDto, type RemoteIdentityVerificationSystemIdentificationCardResponseDto, type RemoteIdentityVerificationSystemTokenRequestDto, type RemoteIdentityVerificationSystemTokenResponseDto, type RiskGradeRequestDto, type RiskGradeResponseDto, type TenureOfOfficeDivisionCodeType, type TestResponse, type VehicleTypeListResponseDto, type VehicleTypeResponseDto, type VisaStatusListResponseDto, type VisaStatusResponseDto, confirmRemoteIdentityVerificationSystemIdentificationCard, getAddressListMethod, getAddressPostalCodeMethod, getAddressStandardizationListMethod, getCommonCodeListMethod, getCustomerListMethod, getDspCustomerListMethod, getEmployeeProfileListMethod, getNationalityListMethod, getOccupationDetailMethod, getOccupationListMethod, getOrganizationProfileListMethod, getRemoteIdentityVerificationSystemToken, getRiskGradeMethod, getTestMethod, getVehicleListMethod, getVisaListMethod, postLoginMethod, useSearchAddressQuery, useSearchAddressStandardizationQuery, useSearchCommonCodeQuery, useSearchCustomerListQuery, useSearchDspCustomerListQuery, useSearchEmployeeProfileQuery, useSearchNationalityQuery, useSearchOccupationDetailQuery, useSearchOccupationQuery, useSearchOrganizationQuery, useSearchPostalCodeQuery, useSearchRiskGradeQuery, useSearchVehicleQuery, useSearchVisaQuery };
|
package/dist/method.d.ts
CHANGED
|
@@ -839,6 +839,41 @@ declare const getDspCustomerListMethod: (params: PersonalCustomerProfileRequestD
|
|
|
839
839
|
|
|
840
840
|
declare const useSearchDspCustomerListQuery: (params: PersonalCustomerProfileRequestDto, options?: CustomQueryOptions<DspResponseListPersonalCustomerProfileResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseListPersonalCustomerProfileResponseDto, axios.AxiosError<unknown, any>>;
|
|
841
841
|
|
|
842
|
+
interface DspResponseVisaStatusListResponseDto {
|
|
843
|
+
/** @description 성공여부 */
|
|
844
|
+
isSuccess?: boolean;
|
|
845
|
+
/** @description 코드 */
|
|
846
|
+
code?: string;
|
|
847
|
+
/** @description 메시지 */
|
|
848
|
+
message?: string;
|
|
849
|
+
data?: VisaStatusListResponseDto;
|
|
850
|
+
pagination?: Pagination$1;
|
|
851
|
+
}
|
|
852
|
+
interface VisaStatusListResponseDto {
|
|
853
|
+
visaStatusList?: VisaStatusResponseDto[];
|
|
854
|
+
}
|
|
855
|
+
interface VisaStatusResponseDto {
|
|
856
|
+
/** @description 통합코드ID */
|
|
857
|
+
integrationCodeId?: string;
|
|
858
|
+
/** @description 통합코드명 */
|
|
859
|
+
integrationCodeName?: string;
|
|
860
|
+
/** @description 통합코드값 */
|
|
861
|
+
integrationCodeValue?: string;
|
|
862
|
+
/** @description 통합코드값명 */
|
|
863
|
+
integrationCodeValueName?: string;
|
|
864
|
+
/**
|
|
865
|
+
* Format: int32
|
|
866
|
+
* @description 출력순서
|
|
867
|
+
*/
|
|
868
|
+
outputOrder?: number;
|
|
869
|
+
/** @description 설명내용 */
|
|
870
|
+
explanationContent?: string;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
declare const getVisaListMethod: (config?: AxiosRequestConfig) => Promise<DspResponseVisaStatusListResponseDto>;
|
|
874
|
+
|
|
875
|
+
declare const useSearchVisaQuery: (options?: CustomQueryOptions<DspResponseVisaStatusListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseVisaStatusListResponseDto, axios.AxiosError<unknown, any>>;
|
|
876
|
+
|
|
842
877
|
interface FpLoginData {
|
|
843
878
|
tokenType: string;
|
|
844
879
|
accessToken: string;
|
|
@@ -1026,4 +1061,91 @@ declare const getRemoteIdentityVerificationSystemToken: (params: RemoteIdentityV
|
|
|
1026
1061
|
*/
|
|
1027
1062
|
declare const confirmRemoteIdentityVerificationSystemIdentificationCard: (params: RemoteIdentityVerificationSystemIdentificationCardRequestDto, axiosConfig?: ApiConfig) => Promise<RemoteIdentityVerificationSystemIdentificationCardResponseDto>;
|
|
1028
1063
|
|
|
1029
|
-
|
|
1064
|
+
/**
|
|
1065
|
+
* @description Common Code 요청에 대한 DTO
|
|
1066
|
+
*/
|
|
1067
|
+
interface CommonCodeRequestDto {
|
|
1068
|
+
/**
|
|
1069
|
+
* @description 통합코드ID
|
|
1070
|
+
* INTG_ELCT_APPN_CODE: 전자청약모든코드(AS-IS에서 쓰인 모든 코드, 초기진입시 가지고 있으려면 한번만 호출)
|
|
1071
|
+
*
|
|
1072
|
+
* BANK_ORGN_DVSN_CODE: 금융기관코드(은행)
|
|
1073
|
+
*
|
|
1074
|
+
* PREM_DPST_MTHD_CODE: 초회보험료입금방법코드
|
|
1075
|
+
*
|
|
1076
|
+
* ISRN_TERM_DVSN_CODE: 보험기간구분코드
|
|
1077
|
+
*
|
|
1078
|
+
* PAYM_TERM_DVSN_CODE: 납입기간구분코드
|
|
1079
|
+
*
|
|
1080
|
+
* ATMT_PAYM_CTNB_CODE: 자동납입차수코드
|
|
1081
|
+
*/
|
|
1082
|
+
commonCodeId: 'INTG_ELCT_APPN_CODE' | 'BANK_ORGN_DVSN_CODE' | 'PREM_DPST_MTHD_CODE' | 'ISRN_TERM_DVSN_CODE' | 'PAYM_TERM_DVSN_CODE' | 'ATMT_PAYM_CTNB_CODE';
|
|
1083
|
+
}
|
|
1084
|
+
interface DspResponseCommonCodeResponseDto {
|
|
1085
|
+
/**
|
|
1086
|
+
* @description 성공여부
|
|
1087
|
+
*/
|
|
1088
|
+
isSuccess?: boolean;
|
|
1089
|
+
/**
|
|
1090
|
+
* @description 코드
|
|
1091
|
+
*/
|
|
1092
|
+
code?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* @description 메시지
|
|
1095
|
+
*/
|
|
1096
|
+
message?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* @description 데이터
|
|
1099
|
+
*/
|
|
1100
|
+
data?: CommonCodeResponseDto;
|
|
1101
|
+
/**
|
|
1102
|
+
* @description 페이지네이션
|
|
1103
|
+
*/
|
|
1104
|
+
pagination?: Pagination$1;
|
|
1105
|
+
}
|
|
1106
|
+
interface CommonCodeResponseDto {
|
|
1107
|
+
/**
|
|
1108
|
+
* @description 공통코드리스트
|
|
1109
|
+
* @example "공통코드 Object List"
|
|
1110
|
+
*/
|
|
1111
|
+
commonCodeList?: CommonCodeDto[];
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* @description 공통코드리스트
|
|
1115
|
+
* @example "공통코드 Object List"
|
|
1116
|
+
*/
|
|
1117
|
+
interface CommonCodeDto {
|
|
1118
|
+
/**
|
|
1119
|
+
* @description 공통코드ID
|
|
1120
|
+
* @example "PAYM_TERM_DVSN_CODE"
|
|
1121
|
+
*/
|
|
1122
|
+
commonCodeId?: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* @description 공통코드명
|
|
1125
|
+
* @example "납입기간구분코드"
|
|
1126
|
+
*/
|
|
1127
|
+
commonCodeName?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* @description 코드리스트
|
|
1130
|
+
* @example "코드 Object List"
|
|
1131
|
+
*/
|
|
1132
|
+
codeList?: CodeDto[];
|
|
1133
|
+
}
|
|
1134
|
+
interface CodeDto {
|
|
1135
|
+
/**
|
|
1136
|
+
* @description 코드값
|
|
1137
|
+
* @example "M"
|
|
1138
|
+
*/
|
|
1139
|
+
codeVal?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* @description 코드명
|
|
1142
|
+
* @example "월납"
|
|
1143
|
+
*/
|
|
1144
|
+
codeName?: string;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
declare const getCommonCodeListMethod: (param: CommonCodeRequestDto, config?: AxiosRequestConfig) => Promise<DspResponseCommonCodeResponseDto>;
|
|
1148
|
+
|
|
1149
|
+
declare const useSearchCommonCodeQuery: (param: CommonCodeRequestDto, options?: CustomQueryOptions<DspResponseCommonCodeResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseCommonCodeResponseDto, axios.AxiosError<unknown, any>>;
|
|
1150
|
+
|
|
1151
|
+
export { type AddressListRequestDto, type AddressListResponseDto, type AddressPostalCodeDto, type AddressPostalCodeRequestDto, type AddressPostalCodeResponseDto, type AddressResponseDto, type AddressStandardizationListRequestDto, type AddressStandardizationListResponseDto, type AddressStandardizationResponseDto, type ApiConfig, type CodeDto, type CommonCodeDto, type CommonCodeRequestDto, type CommonCodeResponseDto, type CustomMutationOptions, type CustomQueryOptions, type CustomSuspenseOptions, type CustomerDto, type CustomerListRequestDto, type CustomerListResponseDto, type CustomerSearchProps, type DspResponse, type DspResponseAddressListResponseDto, type DspResponseAddressPostalCodeResponseDto, type DspResponseAddressStandardizationListResponseDto, type DspResponseCommonCodeResponseDto, type DspResponseCustomerListResponseDto, type DspResponseEmployeeProfileResponseDto, type DspResponseListEmployeeProfileResponseDto, type DspResponseListOrganizationProfileResponse, type DspResponseListPersonalCustomerProfileResponseDto, type DspResponseNationalityListResponseDto, type DspResponseOccupationDetailResponseDto, type DspResponseOccupationListResponseDto, type DspResponseOrganizationProfileResponse, type DspResponseRemoteIdentityVerificationSystemTokenResponseDto, type DspResponseRiskGradeResponseDto, type DspResponseVehicleTypeListResponseDto, type DspResponseVisaStatusListResponseDto, type EmployeeDivisionCodeType, type EmployeeProfileRequestDto, type EmployeeProfileResponseDto, type EmployeeProfileSearchRequestDto, type FpLoginData, type FpLoginResponseDto, type NationalityListResponseDto, type NationalityResponseDto, type NationalitySearchRequestDto, type OccupationDetailRequestDto, type OccupationDetailResponseDto, type OccupationListRequestDto, type OccupationListResponseDto, type OccupationResponseDto, type OrganizationProfileRequest, type OrganizationProfileResponse, type OrganizationSearchRequestDto, type Pagination$1 as Pagination, type PersonalCustomerProfileRequestDto, type PersonalCustomerProfileResponseDto, type RemoteIdentityVerificationSystemIdentificationCardRequestDto, type RemoteIdentityVerificationSystemIdentificationCardResponseDto, type RemoteIdentityVerificationSystemTokenRequestDto, type RemoteIdentityVerificationSystemTokenResponseDto, type RiskGradeRequestDto, type RiskGradeResponseDto, type TenureOfOfficeDivisionCodeType, type TestResponse, type VehicleTypeListResponseDto, type VehicleTypeResponseDto, type VisaStatusListResponseDto, type VisaStatusResponseDto, confirmRemoteIdentityVerificationSystemIdentificationCard, getAddressListMethod, getAddressPostalCodeMethod, getAddressStandardizationListMethod, getCommonCodeListMethod, getCustomerListMethod, getDspCustomerListMethod, getEmployeeProfileListMethod, getNationalityListMethod, getOccupationDetailMethod, getOccupationListMethod, getOrganizationProfileListMethod, getRemoteIdentityVerificationSystemToken, getRiskGradeMethod, getTestMethod, getVehicleListMethod, getVisaListMethod, postLoginMethod, useSearchAddressQuery, useSearchAddressStandardizationQuery, useSearchCommonCodeQuery, useSearchCustomerListQuery, useSearchDspCustomerListQuery, useSearchEmployeeProfileQuery, useSearchNationalityQuery, useSearchOccupationDetailQuery, useSearchOccupationQuery, useSearchOrganizationQuery, useSearchPostalCodeQuery, useSearchRiskGradeQuery, useSearchVehicleQuery, useSearchVisaQuery };
|
package/dist/method.js
CHANGED
|
@@ -273,9 +273,19 @@ var getTestMethod = async ({ id, config, setupFn }) => {
|
|
|
273
273
|
return res.data;
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
+
// src/http-methods/method-util.ts
|
|
277
|
+
var getServiceCode = () => {
|
|
278
|
+
if (typeof window.isStorybookEnv === "boolean") {
|
|
279
|
+
return "";
|
|
280
|
+
} else {
|
|
281
|
+
return `/${location.pathname.split("/")[1]}`;
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
|
|
276
285
|
// src/http-methods/search-modal/address/address-search.service.ts
|
|
277
286
|
var getAddressListMethod = async (params, config) => {
|
|
278
|
-
const
|
|
287
|
+
const serviceCode = getServiceCode();
|
|
288
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/address-list`;
|
|
279
289
|
const httpClient = new HttpClientAxios(config);
|
|
280
290
|
const res = await httpClient.api.post(apiUrl, params);
|
|
281
291
|
return res.data;
|
|
@@ -294,7 +304,8 @@ var useSearchAddressQuery = (params, options, config) => {
|
|
|
294
304
|
|
|
295
305
|
// src/http-methods/search-modal/address/postal-code.service.ts
|
|
296
306
|
var getAddressPostalCodeMethod = async (params, config) => {
|
|
297
|
-
const
|
|
307
|
+
const serviceCode = getServiceCode();
|
|
308
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/address/postal-code`;
|
|
298
309
|
const httpClient = new HttpClientAxios(config);
|
|
299
310
|
const res = await httpClient.api.post(apiUrl, params);
|
|
300
311
|
return res.data;
|
|
@@ -313,7 +324,8 @@ var useSearchPostalCodeQuery = (params, options, config) => {
|
|
|
313
324
|
|
|
314
325
|
// src/http-methods/search-modal/address/address-standardization.service.ts
|
|
315
326
|
var getAddressStandardizationListMethod = async (params, config) => {
|
|
316
|
-
const
|
|
327
|
+
const serviceCode = getServiceCode();
|
|
328
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/address-standardization-list`;
|
|
317
329
|
const httpClient = new HttpClientAxios(config);
|
|
318
330
|
const res = await httpClient.api.post(apiUrl, params);
|
|
319
331
|
return res.data;
|
|
@@ -332,13 +344,15 @@ var useSearchAddressStandardizationQuery = (params, options, config) => {
|
|
|
332
344
|
|
|
333
345
|
// src/http-methods/search-modal/occupation/occupation-search.service.ts
|
|
334
346
|
var getOccupationListMethod = async (params, config) => {
|
|
335
|
-
const
|
|
347
|
+
const serviceCode = getServiceCode();
|
|
348
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/occupation-list`;
|
|
336
349
|
const httpClient = new HttpClientAxios(config);
|
|
337
350
|
const res = await httpClient.api.post(apiUrl, params);
|
|
338
351
|
return res.data;
|
|
339
352
|
};
|
|
340
353
|
var getOccupationDetailMethod = async (params, config) => {
|
|
341
|
-
const
|
|
354
|
+
const serviceCode = getServiceCode();
|
|
355
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/occupation/detail`;
|
|
342
356
|
const httpClient = new HttpClientAxios(config);
|
|
343
357
|
const res = await httpClient.api.post(apiUrl, params);
|
|
344
358
|
return res.data;
|
|
@@ -368,7 +382,8 @@ var useSearchOccupationDetailQuery = (params, options, config) => {
|
|
|
368
382
|
|
|
369
383
|
// src/http-methods/search-modal/vehicle/vehicle-search.service.ts
|
|
370
384
|
var getVehicleListMethod = async (config) => {
|
|
371
|
-
const
|
|
385
|
+
const serviceCode = getServiceCode();
|
|
386
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/vehicle-type-list`;
|
|
372
387
|
const httpClient = new HttpClientAxios(config);
|
|
373
388
|
const res = await httpClient.api.post(apiUrl);
|
|
374
389
|
return res.data;
|
|
@@ -387,7 +402,8 @@ var useSearchVehicleQuery = (options, config) => {
|
|
|
387
402
|
|
|
388
403
|
// src/http-methods/search-modal/employee/employee-search.service.ts
|
|
389
404
|
var getEmployeeProfileListMethod = async (params, config) => {
|
|
390
|
-
const
|
|
405
|
+
const serviceCode = getServiceCode();
|
|
406
|
+
const apiUrl = `${serviceCode}/api/dea/v1/get/participant/profile/employee`;
|
|
391
407
|
const httpClient = new HttpClientAxios(config);
|
|
392
408
|
const res = await httpClient.api.post(apiUrl, params);
|
|
393
409
|
return res.data;
|
|
@@ -406,7 +422,8 @@ var useSearchEmployeeProfileQuery = (params, options, config) => {
|
|
|
406
422
|
|
|
407
423
|
// src/http-methods/search-modal/organization/organization-search.service.ts
|
|
408
424
|
var getOrganizationProfileListMethod = async (params, config) => {
|
|
409
|
-
const
|
|
425
|
+
const serviceCode = getServiceCode();
|
|
426
|
+
const apiUrl = `${serviceCode}/api/dea/v1/get/participant/profile/organization`;
|
|
410
427
|
const httpClient = new HttpClientAxios(config);
|
|
411
428
|
const res = await httpClient.api.post(apiUrl, params);
|
|
412
429
|
return res.data;
|
|
@@ -425,7 +442,8 @@ var useSearchOrganizationQuery = (params, options, config) => {
|
|
|
425
442
|
|
|
426
443
|
// src/http-methods/search-modal/nationality/nationality-search.service.ts
|
|
427
444
|
var getNationalityListMethod = async (params, config) => {
|
|
428
|
-
const
|
|
445
|
+
const serviceCode = getServiceCode();
|
|
446
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/nationality-list`;
|
|
429
447
|
const httpClient = new HttpClientAxios(config);
|
|
430
448
|
const res = await httpClient.api.post(apiUrl, params);
|
|
431
449
|
return res.data;
|
|
@@ -445,7 +463,8 @@ var useSearchNationalityQuery = (params, options, config) => {
|
|
|
445
463
|
|
|
446
464
|
// src/http-methods/search-modal/customer-list/customer-list-search.service.ts
|
|
447
465
|
var getCustomerListMethod = async (params, config) => {
|
|
448
|
-
const
|
|
466
|
+
const serviceCode = getServiceCode();
|
|
467
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/customer-list`;
|
|
449
468
|
const httpClient = new HttpClientAxios(config);
|
|
450
469
|
const res = await httpClient.api.post(apiUrl, params);
|
|
451
470
|
return res.data;
|
|
@@ -464,7 +483,8 @@ var useSearchCustomerListQuery = (params, options, config) => {
|
|
|
464
483
|
|
|
465
484
|
// src/http-methods/search-modal/risk-grade/risk-grade-search.service.ts
|
|
466
485
|
var getRiskGradeMethod = async (params, config) => {
|
|
467
|
-
const
|
|
486
|
+
const serviceCode = getServiceCode();
|
|
487
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/risk-grade`;
|
|
468
488
|
const httpClient = new HttpClientAxios(config);
|
|
469
489
|
const res = await httpClient.api.post(apiUrl, params);
|
|
470
490
|
return res.data;
|
|
@@ -483,7 +503,8 @@ var useSearchRiskGradeQuery = (params, options, config) => {
|
|
|
483
503
|
|
|
484
504
|
// src/http-methods/search-modal/dea-customer-list/dea-customer-list-search.service.ts
|
|
485
505
|
var getDspCustomerListMethod = async (params, config) => {
|
|
486
|
-
const
|
|
506
|
+
const serviceCode = getServiceCode();
|
|
507
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/customer-list`;
|
|
487
508
|
const httpClient = new HttpClientAxios(config);
|
|
488
509
|
const res = await httpClient.api.post(apiUrl, params);
|
|
489
510
|
return res.data;
|
|
@@ -500,6 +521,26 @@ var useSearchDspCustomerListQuery = (params, options, config) => {
|
|
|
500
521
|
});
|
|
501
522
|
};
|
|
502
523
|
|
|
524
|
+
// src/http-methods/search-modal/visa/visa-search.service.ts
|
|
525
|
+
var getVisaListMethod = async (config) => {
|
|
526
|
+
const serviceCode = getServiceCode();
|
|
527
|
+
const apiUrl = `${serviceCode}/api/dis/v1/get/codes/visa-status-list`;
|
|
528
|
+
const httpClient = new HttpClientAxios(config);
|
|
529
|
+
const res = await httpClient.api.post(apiUrl);
|
|
530
|
+
return res.data;
|
|
531
|
+
};
|
|
532
|
+
var useSearchVisaQuery = (options, config) => {
|
|
533
|
+
return useQuery({
|
|
534
|
+
enabled: true,
|
|
535
|
+
retry: false,
|
|
536
|
+
queryKey: ["searchVisa"],
|
|
537
|
+
queryFn: () => {
|
|
538
|
+
return getVisaListMethod(config);
|
|
539
|
+
},
|
|
540
|
+
...options
|
|
541
|
+
});
|
|
542
|
+
};
|
|
543
|
+
|
|
503
544
|
// src/http-methods/fp-login/login-dsp.service.ts
|
|
504
545
|
var postLoginMethod = async (userId) => {
|
|
505
546
|
console.log("userId", userId);
|
|
@@ -518,24 +559,42 @@ var postLoginMethod = async (userId) => {
|
|
|
518
559
|
|
|
519
560
|
// src/http-methods/remote-identity-verification/remote-identity-verification.service.ts
|
|
520
561
|
var getRemoteIdentityVerificationSystemToken = async (params, axiosConfig) => {
|
|
521
|
-
const
|
|
522
|
-
const
|
|
562
|
+
const serviceCode = getServiceCode();
|
|
563
|
+
const apiUrl = `${serviceCode}/api/dea/v1/post/participant/remote-identity-verification-system/token`;
|
|
523
564
|
const response = await new HttpClientAxios({
|
|
524
|
-
baseURL,
|
|
525
565
|
...axiosConfig
|
|
526
|
-
}).api.post(
|
|
566
|
+
}).api.post(apiUrl, params);
|
|
527
567
|
return response.data;
|
|
528
568
|
};
|
|
529
569
|
var confirmRemoteIdentityVerificationSystemIdentificationCard = async (params, axiosConfig) => {
|
|
530
|
-
const
|
|
531
|
-
const
|
|
570
|
+
const serviceCode = getServiceCode();
|
|
571
|
+
const apiUrl = `${serviceCode}/api/dea/v1/post/participant/remote-identity-verification-system/identification-card/confirm`;
|
|
532
572
|
const response = await new HttpClientAxios({
|
|
533
|
-
baseURL,
|
|
534
573
|
...axiosConfig
|
|
535
|
-
}).api.post(
|
|
574
|
+
}).api.post(apiUrl, params);
|
|
536
575
|
return response.data;
|
|
537
576
|
};
|
|
538
577
|
|
|
539
|
-
|
|
578
|
+
// src/http-methods/common-code/common-code-search.service.ts
|
|
579
|
+
var getCommonCodeListMethod = async (param, config) => {
|
|
580
|
+
const serviceCode = getServiceCode();
|
|
581
|
+
const apiUrl = `${serviceCode}/api/dea/v1/get/common-code/list`;
|
|
582
|
+
const httpClient = new HttpClientAxios(config);
|
|
583
|
+
const res = await httpClient.api.post(apiUrl, param);
|
|
584
|
+
return res.data;
|
|
585
|
+
};
|
|
586
|
+
var useSearchCommonCodeQuery = (param, options, config) => {
|
|
587
|
+
return useQuery({
|
|
588
|
+
enabled: !!param.commonCodeId,
|
|
589
|
+
retry: false,
|
|
590
|
+
queryKey: ["searchCommonCode", param.commonCodeId],
|
|
591
|
+
queryFn: () => {
|
|
592
|
+
return getCommonCodeListMethod(param, config);
|
|
593
|
+
},
|
|
594
|
+
...options
|
|
595
|
+
});
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
export { confirmRemoteIdentityVerificationSystemIdentificationCard, getAddressListMethod, getAddressPostalCodeMethod, getAddressStandardizationListMethod, getCommonCodeListMethod, getCustomerListMethod, getDspCustomerListMethod, getEmployeeProfileListMethod, getNationalityListMethod, getOccupationDetailMethod, getOccupationListMethod, getOrganizationProfileListMethod, getRemoteIdentityVerificationSystemToken, getRiskGradeMethod, getTestMethod, getVehicleListMethod, getVisaListMethod, postLoginMethod, useSearchAddressQuery, useSearchAddressStandardizationQuery, useSearchCommonCodeQuery, useSearchCustomerListQuery, useSearchDspCustomerListQuery, useSearchEmployeeProfileQuery, useSearchNationalityQuery, useSearchOccupationDetailQuery, useSearchOccupationQuery, useSearchOrganizationQuery, useSearchPostalCodeQuery, useSearchRiskGradeQuery, useSearchVehicleQuery, useSearchVisaQuery };
|
|
540
599
|
//# sourceMappingURL=method.js.map
|
|
541
600
|
//# sourceMappingURL=method.js.map
|