sales-frontend-api 0.0.46 → 0.0.48

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
@@ -63,7 +63,7 @@ type CustomSuspenseOptions<QueryFnReturnType, SelectReturnType = QueryFnReturnTy
63
63
  * MutationFnReturnType 뮤테이션 함수 실행 성공시, 반환하는 데이터 타입
64
64
  */
65
65
  type CustomMutationOptions<MutationFnReturnType, TVariables = void, TContext = unknown> = Omit<UseMutationOptions<MutationFnReturnType, AxiosError, TVariables, TContext>, 'mutationFn'>;
66
- interface Pagination {
66
+ interface Pagination$1 {
67
67
  /**
68
68
  * Format: int32
69
69
  * @description 현재 페이지 번호
@@ -131,7 +131,7 @@ interface DspResponseAddressListResponseDto {
131
131
  /** @description 메시지 */
132
132
  message: string;
133
133
  data: AddressListResponseDto;
134
- pagination: Pagination;
134
+ pagination: Pagination$1;
135
135
  }
136
136
  interface AddressListResponseDto {
137
137
  /** @description 주소 목록 */
@@ -191,7 +191,7 @@ interface DspResponseAddressPostalCodeResponseDto {
191
191
  /** @description 메시지 */
192
192
  message: string;
193
193
  data: AddressPostalCodeResponseDto;
194
- pagination: Pagination;
194
+ pagination: Pagination$1;
195
195
  }
196
196
  interface AddressPostalCodeResponseDto {
197
197
  /** @description 우편번호 리스트 */
@@ -263,7 +263,7 @@ interface DspResponseAddressStandardizationListResponseDto {
263
263
  /** @description 메시지 */
264
264
  message: string;
265
265
  data: AddressStandardizationListResponseDto;
266
- pagination: Pagination;
266
+ pagination: Pagination$1;
267
267
  }
268
268
  interface AddressStandardizationListResponseDto {
269
269
  /** @description 주소 목록 */
@@ -322,7 +322,7 @@ interface DspResponseOccupationListResponseDto {
322
322
  /** @description 직종 목록 */
323
323
  data: OccupationListResponseDto;
324
324
  /** 페이징 */
325
- pagination?: Pagination;
325
+ pagination?: Pagination$1;
326
326
  }
327
327
  /** @description 직종 목록 */
328
328
  interface OccupationListResponseDto {
@@ -342,10 +342,63 @@ interface OccupationResponseDto {
342
342
  */
343
343
  historySequence: number;
344
344
  }
345
+ /**
346
+ * 직종 상세조회 파라미터
347
+ */
348
+ interface OccupationDetailRequestDto {
349
+ /**
350
+ * @description 직종업종구분코드
351
+ * @example 1
352
+ */
353
+ occupationIndustryTypeCode?: string;
354
+ /**
355
+ * @description 직종업종코드
356
+ * @example 400101
357
+ */
358
+ occupationIndustryCode?: string;
359
+ }
360
+ /**
361
+ * 직종 상세 조회 응답
362
+ */
363
+ interface DspResponseOccupationDetailResponseDto {
364
+ /** @description 성공여부 */
365
+ isSuccess?: boolean;
366
+ /** @description 코드 */
367
+ code?: string;
368
+ /** @description 메시지 */
369
+ message?: string;
370
+ data?: OccupationDetailResponseDto;
371
+ pagination?: Pagination$1;
372
+ }
373
+ /**
374
+ * 직종 상세
375
+ */
376
+ interface OccupationDetailResponseDto {
377
+ /** @description 직종해설내용 */
378
+ occupationExplanationContent?: string;
379
+ /** @description 직업예시명 */
380
+ occupationExampleName?: string;
381
+ /** @description 위험등급명 */
382
+ riskGradeName?: string;
383
+ /** @description 위험등급코드 */
384
+ riskGradeCode?: string;
385
+ /** @description 상해위험등급코드명 */
386
+ injuryRiskGradeCodeName?: string;
387
+ /** @description 상해위험등급코드 */
388
+ injuryRiskGradeCode?: string;
389
+ /** @description 입원등급코드명 */
390
+ hospitalizationGradeCodeName?: string;
391
+ /** @description 입원등급코드 */
392
+ hospitalizationGradeCode?: string;
393
+ /** @description 상해직종코드 */
394
+ injuryOccupationCode?: string;
395
+ }
345
396
 
346
397
  declare const getOccupationListMethod: (params: OccupationListRequestDto, config?: AxiosRequestConfig) => Promise<DspResponseOccupationListResponseDto>;
398
+ declare const getOccupationDetailMethod: (params: OccupationDetailRequestDto, config?: AxiosRequestConfig) => Promise<DspResponseOccupationDetailResponseDto>;
347
399
 
348
400
  declare const useSearchOccupationQuery: (params: OccupationListRequestDto, options?: CustomQueryOptions<DspResponseOccupationListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseOccupationListResponseDto, axios.AxiosError<unknown, any>>;
401
+ declare const useSearchOccupationDetailQuery: (params: OccupationDetailRequestDto, options?: CustomQueryOptions<DspResponseOccupationDetailResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseOccupationDetailResponseDto, axios.AxiosError<unknown, any>>;
349
402
 
350
403
  interface DspResponseVehicleTypeListResponseDto {
351
404
  /** @description 성공여부 */
@@ -355,7 +408,7 @@ interface DspResponseVehicleTypeListResponseDto {
355
408
  /** @description 메시지 */
356
409
  message?: string;
357
410
  data?: VehicleTypeListResponseDto;
358
- pagination?: Pagination;
411
+ pagination?: Pagination$1;
359
412
  }
360
413
  interface VehicleTypeListResponseDto {
361
414
  /** @description 운전차종 목록 */
@@ -393,7 +446,7 @@ interface DspResponseEmployeeProfileResponseDto {
393
446
  code: string;
394
447
  message: string;
395
448
  data: EmployeeProfileResponseDto[];
396
- pagination?: Pagination;
449
+ pagination?: Pagination$1;
397
450
  }
398
451
  /**
399
452
  * @description 사원구분
@@ -441,7 +494,7 @@ interface DspResponseListEmployeeProfileResponseDto {
441
494
  /**
442
495
  * @description 페이지네이션
443
496
  */
444
- pagination?: Pagination;
497
+ pagination?: Pagination$1;
445
498
  }
446
499
  /**
447
500
  * @description 사원 검색 응답
@@ -486,7 +539,7 @@ interface DspResponseOrganizationProfileResponse {
486
539
  code: string;
487
540
  message: string;
488
541
  data: OrganizationProfileResponse[];
489
- pagination?: Pagination;
542
+ pagination?: Pagination$1;
490
543
  }
491
544
  /**
492
545
  * @description 기관 검색 요청
@@ -523,7 +576,7 @@ interface DspResponseListOrganizationProfileResponse {
523
576
  /**
524
577
  * @description 페이지네이션
525
578
  */
526
- pagination?: Pagination;
579
+ pagination?: Pagination$1;
527
580
  }
528
581
  /**
529
582
  * @description 기관 검색 응답
@@ -559,7 +612,7 @@ interface DspResponseNationalityListResponseDto {
559
612
  /** @description 메시지 */
560
613
  message: string;
561
614
  data: NationalityListResponseDto;
562
- pagination: Pagination;
615
+ pagination: Pagination$1;
563
616
  }
564
617
  /**
565
618
  * 국적 검색 data
@@ -586,6 +639,61 @@ declare const getNationalityListMethod: (params: NationalitySearchRequestDto, co
586
639
 
587
640
  declare const useSearchNationalityQuery: (params: NationalitySearchRequestDto, options?: CustomQueryOptions<DspResponseNationalityListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseNationalityListResponseDto, axios.AxiosError<unknown, any>>;
588
641
 
642
+ interface DspResponseCustomerListResponseDto {
643
+ /** @description 성공여부 */
644
+ isSuccess?: boolean;
645
+ /** @description 코드 */
646
+ code?: string;
647
+ /** @description 메시지 */
648
+ message?: string;
649
+ data?: CustomerListResponseDto;
650
+ pagination?: Pagination$1;
651
+ }
652
+ interface CustomerListResponseDto {
653
+ /** @description 고객목록 */
654
+ custList?: CustomerDto[];
655
+ /** @description 총 건수 */
656
+ totalCount?: string;
657
+ }
658
+ /** @description 고객정보 */
659
+ interface CustomerDto {
660
+ /** @description 고객ID */
661
+ customerId?: string;
662
+ /** @description 고객명 */
663
+ customerName?: string;
664
+ /** @description 기본주소 */
665
+ baseAddress?: string;
666
+ /** @description 상세주소 */
667
+ detailAddress?: string;
668
+ /** @description 생년월일(YYYYMMDD) */
669
+ birthDate?: string;
670
+ /** @description 성별코드 */
671
+ genderCode?: string;
672
+ }
673
+ interface CustomerSearchProps {
674
+ onSelect?: (customer: CustomerDto) => void;
675
+ }
676
+ interface CustomerListRequestDto {
677
+ /** @description 고객명 */
678
+ customerName?: string;
679
+ /**
680
+ * Format: int32
681
+ * @description 페이지번호
682
+ * @example 1
683
+ */
684
+ pageNumber?: number;
685
+ /**
686
+ * Format: int32
687
+ * @description 페이지크기
688
+ * @example 20
689
+ */
690
+ pageSize?: number;
691
+ }
692
+
693
+ declare const getCustomerListMethod: (params: CustomerListRequestDto, config?: AxiosRequestConfig) => Promise<DspResponseCustomerListResponseDto>;
694
+
695
+ declare const useSearchCustomerListQuery: (params: CustomerListRequestDto, options?: CustomQueryOptions<DspResponseCustomerListResponseDto>, config?: AxiosRequestConfig) => _tanstack_react_query.UseQueryResult<DspResponseCustomerListResponseDto, axios.AxiosError<unknown, any>>;
696
+
589
697
  interface FpLoginData {
590
698
  tokenType: string;
591
699
  accessToken: string;
@@ -599,10 +707,178 @@ interface FpLoginResponseDto {
599
707
  }
600
708
 
601
709
  /**
602
- *
603
710
  * @param userId 사번
604
- * @returns FpLoginResponseDto
605
711
  */
606
712
  declare const postLoginMethod: (userId: number) => Promise<FpLoginResponseDto>;
607
713
 
608
- export { type AddressListRequestDto, type AddressListResponseDto, type AddressPostalCodeDto, type AddressPostalCodeRequestDto, type AddressPostalCodeResponseDto, type AddressResponseDto, type AddressStandardizationListRequestDto, type AddressStandardizationListResponseDto, type AddressStandardizationResponseDto, type CustomMutationOptions, type CustomQueryOptions, type CustomSuspenseOptions, type DspResponseAddressListResponseDto, type DspResponseAddressPostalCodeResponseDto, type DspResponseAddressStandardizationListResponseDto, type DspResponseEmployeeProfileResponseDto, type DspResponseListEmployeeProfileResponseDto, type DspResponseListOrganizationProfileResponse, type DspResponseNationalityListResponseDto, type DspResponseOccupationListResponseDto, type DspResponseOrganizationProfileResponse, type DspResponseVehicleTypeListResponseDto, type EmployeeDivisionCodeType, type EmployeeProfileRequestDto, type EmployeeProfileResponseDto, type EmployeeProfileSearchRequestDto, type FpLoginData, type FpLoginResponseDto, type NationalityListResponseDto, type NationalityResponseDto, type NationalitySearchRequestDto, type OccupationListRequestDto, type OccupationListResponseDto, type OccupationResponseDto, type OrganizationProfileRequest, type OrganizationProfileResponse, type OrganizationSearchRequestDto, type Pagination, type TenureOfOfficeDivisionCodeType, type TestResponse, type VehicleTypeListResponseDto, type VehicleTypeResponseDto, getAddressListMethod, getAddressPostalCodeMethod, getAddressStandardizationListMethod, getEmployeeProfileListMethod, getNationalityListMethod, getOccupationListMethod, getOrganizationProfileListMethod, getTestMethod, getVehicleListMethod, postLoginMethod, useSearchAddressQuery, useSearchAddressStandardizationQuery, useSearchEmployeeProfileQuery, useSearchNationalityQuery, useSearchOccupationQuery, useSearchOrganizationQuery, useSearchPostalCodeQuery, useSearchVehicleQuery };
714
+ interface DspResponse<T> {
715
+ /** 성공여부 */
716
+ isSuccess: boolean;
717
+ /** 코드 */
718
+ code: string;
719
+ /** 메시지 */
720
+ message: string;
721
+ /** 데이터 */
722
+ data: T;
723
+ pagination?: Pagination;
724
+ }
725
+ /** 페이징 정보 */
726
+ interface Pagination {
727
+ /** 전체 항목 수 */
728
+ totalCount: number;
729
+ /** 현재 페이지 */
730
+ page: number;
731
+ /** 페이지당 항목 수 */
732
+ size: number;
733
+ }
734
+ type ApiConfig = AxiosRequestConfig & {
735
+ url: string;
736
+ };
737
+
738
+ /**
739
+ * 비대면 인증 시스템 토큰 발급 요청 DTO
740
+ */
741
+ interface RemoteIdentityVerificationSystemTokenRequestDto {
742
+ /**
743
+ * 업무구분코드
744
+ * @required
745
+ * @maxLength 3
746
+ * @example 'DEA'
747
+ */
748
+ bswrDvsnCode: string;
749
+ /**
750
+ * 고객ID
751
+ * @required
752
+ * @maxLength 20
753
+ */
754
+ rivsCustIdnrId: string;
755
+ /**
756
+ * 증번
757
+ * @maxLength 10
758
+ */
759
+ rivsImgeIdnrId?: string;
760
+ /**
761
+ * 요청부서코드
762
+ * @maxLength 10
763
+ * @example '00373'
764
+ */
765
+ rqstDeptCode?: string;
766
+ /**
767
+ * 요청사원번호
768
+ * @maxLength 10
769
+ * @example '1484752'
770
+ */
771
+ rqstEmnb?: string;
772
+ /**
773
+ * 채널리다이렉트주소
774
+ * @maxLength 50
775
+ * @example 'https://fmw.hanwhalife.com'
776
+ */
777
+ chnlRedrctAddr?: string;
778
+ /**
779
+ * API방식ID
780
+ * @required
781
+ * @maxLength 10
782
+ * @example 'WEBVIEW'
783
+ */
784
+ rivsApiMthoId: string;
785
+ /**
786
+ * 서식코드
787
+ * @maxLength 10
788
+ * @example 'NC202001' (일반) / 'NC020048' (외국인등록증)
789
+ */
790
+ rivsDcfmCode?: string;
791
+ /**
792
+ * 문서유형코드
793
+ * @maxLength 10
794
+ * @example 'IT148' (일반) / 'IT321' (외국인등록증)
795
+ */
796
+ rivsDcmtTypeCode?: string;
797
+ /**
798
+ * 대면비대면여부
799
+ * @required
800
+ * @maxLength 10
801
+ * @example '11' (비대면)
802
+ */
803
+ faceDvsnCode: string;
804
+ }
805
+ interface RemoteIdentityVerificationSystemTokenResponseDto {
806
+ /** 인증토큰값 */
807
+ accessToken: string;
808
+ /** 비대면인증시스템요청ID */
809
+ remoteIdentityVerificationSystemRequestId: string;
810
+ }
811
+ /**
812
+ * 비대면 인증 시스템 토큰 발급 응답 DTO
813
+ */
814
+ interface DspResponseRemoteIdentityVerificationSystemTokenResponseDto extends DspResponse<RemoteIdentityVerificationSystemTokenResponseDto> {
815
+ }
816
+ /**
817
+ * 비대면 인증 시스템 신분증 진위확인 요청 DTO
818
+ */
819
+ interface RemoteIdentityVerificationSystemIdentificationCardRequestDto {
820
+ /**
821
+ * 비대면인증시스템요청ID
822
+ * @required
823
+ * @maxLength 20
824
+ */
825
+ rivsRqstId: string;
826
+ }
827
+ /**
828
+ * 비대면 인증 시스템 신분증 진위 확인 응답 DTO
829
+ */
830
+ interface RemoteIdentityVerificationSystemIdentificationCardResponseDto {
831
+ /** 금융결제원성공여부 */
832
+ kftcAppSucsYn?: string;
833
+ /** 금융결제원결과코드 */
834
+ kftcAppRsltCode?: string;
835
+ /** 금융결제원결과메시지내용 */
836
+ kftcAppRsltMsgeCntn?: string;
837
+ /** 고객식별자ID */
838
+ rivsCustIdnrId?: string;
839
+ /** 파일ID */
840
+ fileId?: string;
841
+ /** 이미지식별자ID */
842
+ rivsImgeIdnrId?: string;
843
+ /** 신분증종류구분코드 */
844
+ rivsIdcdKindDvsnCode?: string;
845
+ /** 주민등록번호 */
846
+ residentNumber?: string;
847
+ /** 운전면허번호 */
848
+ drivingLicenseNumber?: string;
849
+ /** 발급일자 */
850
+ issuanceDate?: string;
851
+ /** 고객명 */
852
+ customerName?: string;
853
+ /** 발급기관 */
854
+ issuanceOrganization?: string;
855
+ /** 거래고유번호 */
856
+ transactionUniqueNumber?: string;
857
+ /** 안면인식사용여부 */
858
+ faceRecoUseYn?: string;
859
+ /** 안면인식성공여부 */
860
+ faceRecoSucsYn?: string;
861
+ /** 비대면인증성공여부 */
862
+ rivSucsYn?: string;
863
+ /** 신분증크롭이미지Base64 */
864
+ idcdImge?: string;
865
+ /** 신분증뒷면이미지Base64 */
866
+ idcdBackImge?: string;
867
+ }
868
+
869
+ /**
870
+ * 토큰 발급 API
871
+ * @param params
872
+ * @param axiosConfig
873
+ * @returns
874
+ */
875
+ declare const getRemoteIdentityVerificationSystemToken: (params: RemoteIdentityVerificationSystemTokenRequestDto, axiosConfig?: ApiConfig) => Promise<DspResponseRemoteIdentityVerificationSystemTokenResponseDto>;
876
+ /**
877
+ * 비대면 인증 시스템 신분증 진위확인 API
878
+ * @param params 진위확인 요청 파라미터
879
+ * @param axiosConfig API 설정
880
+ * @returns 신분증 진위확인 응답 데이터
881
+ */
882
+ declare const confirmRemoteIdentityVerificationSystemIdentificationCard: (params: RemoteIdentityVerificationSystemIdentificationCardRequestDto, axiosConfig?: ApiConfig) => Promise<RemoteIdentityVerificationSystemIdentificationCardResponseDto>;
883
+
884
+ export { type AddressListRequestDto, type AddressListResponseDto, type AddressPostalCodeDto, type AddressPostalCodeRequestDto, type AddressPostalCodeResponseDto, type AddressResponseDto, type AddressStandardizationListRequestDto, type AddressStandardizationListResponseDto, type AddressStandardizationResponseDto, type ApiConfig, type CustomMutationOptions, type CustomQueryOptions, type CustomSuspenseOptions, type CustomerDto, type CustomerListRequestDto, type CustomerListResponseDto, type CustomerSearchProps, type DspResponse, type DspResponseAddressListResponseDto, type DspResponseAddressPostalCodeResponseDto, type DspResponseAddressStandardizationListResponseDto, type DspResponseCustomerListResponseDto, type DspResponseEmployeeProfileResponseDto, type DspResponseListEmployeeProfileResponseDto, type DspResponseListOrganizationProfileResponse, type DspResponseNationalityListResponseDto, type DspResponseOccupationDetailResponseDto, type DspResponseOccupationListResponseDto, type DspResponseOrganizationProfileResponse, type DspResponseRemoteIdentityVerificationSystemTokenResponseDto, type DspResponseVehicleTypeListResponseDto, 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 RemoteIdentityVerificationSystemIdentificationCardRequestDto, type RemoteIdentityVerificationSystemIdentificationCardResponseDto, type RemoteIdentityVerificationSystemTokenRequestDto, type RemoteIdentityVerificationSystemTokenResponseDto, type TenureOfOfficeDivisionCodeType, type TestResponse, type VehicleTypeListResponseDto, type VehicleTypeResponseDto, confirmRemoteIdentityVerificationSystemIdentificationCard, getAddressListMethod, getAddressPostalCodeMethod, getAddressStandardizationListMethod, getCustomerListMethod, getEmployeeProfileListMethod, getNationalityListMethod, getOccupationDetailMethod, getOccupationListMethod, getOrganizationProfileListMethod, getRemoteIdentityVerificationSystemToken, getTestMethod, getVehicleListMethod, postLoginMethod, useSearchAddressQuery, useSearchAddressStandardizationQuery, useSearchCustomerListQuery, useSearchEmployeeProfileQuery, useSearchNationalityQuery, useSearchOccupationDetailQuery, useSearchOccupationQuery, useSearchOrganizationQuery, useSearchPostalCodeQuery, useSearchVehicleQuery };