UNPKG

chinese-unique-identification-code

Version:
82 lines (79 loc) 3.55 kB
/** * 法人和其他组织统一社会信用代码编码规则校验器返回值类型 * The Unified Social Credit Identifier Checker Type */ declare type TheUnifiedSocialCreditIdentifierCheckerType = [boolean, string]; /** * 法人和其他组织统一社会信用代码编码规则校验器 * The Unified Social Credit Identifier Checker * * @param {string} identifier 统一社会信用代码 * @returns * * @description 标准号: GB 32100-2015 * @link http://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=24691C25985C1073D3A7C85629378AC0 */ declare const TheUnifiedSocialCreditIdentifierChecker: (identifier: string) => TheUnifiedSocialCreditIdentifierCheckerType; declare const RegistrationDepartmentNames: string[]; declare const RegistrationDepartmentCodes: string[]; declare const OrganizationCategories: string[][]; declare type TheUnifiedSocialCreditIdentifierInformationExtractorDetailsType = [ string, string, string, string, string ]; declare type TheUnifiedSocialCreditIdentifierInformationExtractorType = [ boolean, TheUnifiedSocialCreditIdentifierInformationExtractorDetailsType ]; /** * 法人和其他组织统一社会信用代码编码规则信息提取器 * The Unified Social Credit Identifier Information Extractor * * @param {string} identifier 统一社会信用代码 * @returns * * @description 标准号: GB 32100-2015 * @link http://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=24691C25985C1073D3A7C85629378AC0 */ declare const TheUnifiedSocialCreditIdentifierInformationExtractor: (identifier: string) => TheUnifiedSocialCreditIdentifierInformationExtractorType; /** * 公民身份号码校验器返回值类型 * Citizen Identification Number Checker Type */ declare type CitizenIdentificationNumberCheckerType = [boolean, string]; /** * 公民身份号码校验器 * Citizen Identification Number Checker * * @param {string} id 公民身份号码 * @returns * * @description 标准号: GB 11643-1999 * @link http://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=080D6FBF2BB468F9007657F26D60013E */ declare const CitizenIdentificationNumberChecker: (id: string) => CitizenIdentificationNumberCheckerType; declare type CitizenIdentificationNumberInformationExtractorDetailsType = [ string, string, string, string ]; declare type CitizenIdentificationNumberInformationExtractorType = [ boolean, CitizenIdentificationNumberInformationExtractorDetailsType ]; /** * 公民身份号码信息提取器 * Citizen Identification Number Checker * * @param {string} id 公民身份号码 * @returns * * @description 标准号: GB 11643-1999 * @link http://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=080D6FBF2BB468F9007657F26D60013E */ declare const CitizenIdentificationNumberInformationExtractor: (id: string) => CitizenIdentificationNumberInformationExtractorType; export { CitizenIdentificationNumberChecker, CitizenIdentificationNumberCheckerType, CitizenIdentificationNumberInformationExtractor, CitizenIdentificationNumberInformationExtractorDetailsType, CitizenIdentificationNumberInformationExtractorType, OrganizationCategories, RegistrationDepartmentCodes, RegistrationDepartmentNames, TheUnifiedSocialCreditIdentifierChecker, TheUnifiedSocialCreditIdentifierCheckerType, TheUnifiedSocialCreditIdentifierInformationExtractor, TheUnifiedSocialCreditIdentifierInformationExtractorDetailsType, TheUnifiedSocialCreditIdentifierInformationExtractorType };