@ken-all/kenall
    Preparing search index...

    Class KENALL

    Index
    • The constructor.

      Parameters

      • apikey: string

        The key string that you want to call the API with. The key is shown in the dashboard you will be navigated to right after signing in to the service.

      • config: Config = {}

        Specifies the configuration given by Config.

      Returns KENALL

    apibase: string
    apikey: string

    The key string that you want to call the API with. The key is shown in the dashboard you will be navigated to right after signing in to the service.

    timeout: number
    • Invokes "getAddress" API (endpoint: /postalcode/{postalcode}).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • postalCode: string

        The postal code to query with.

      • Optionalversion: string

        The version of the database that the query has to be performed against. Will default to the latest available version if not specified.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<AddressResolverResponseForVersion<T>>

      An AddressResolverResponse.

    • Invokes "getBank" API (endpoint: /bank/{bankCode}).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • bankCode: string

        The bank code to query with.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<BankResolverResponseForVersion<T>>

      A BankResolverResponse.

    • Invokes "getBankBranch" API (endpoint: /bank/{bankCode}/branches/{branchCode}).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • bankCode: string

        The bank code to query with.

      • branchCode: string

        The branch code to query with.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<BankBranchResolverResponseForVersion<T>>

      A BankBranchResolverResponse.

    • Invokes "getBankBranch" API (endpoint: /bank/{bankCode}/branches).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • bankCode: string

        The bank code to query with.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<BankBranchesResponseForVersion<T>>

      A BankBranchesResponse.

    • Invokes "getBanks" API (endpoint: /bank).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<BanksResponseForVersion<T>>

      A BanksResponse.

    • Invokes "getCities" API (endpoint: /cities/{prefectureCode}).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • prefectureCode: string

        The prefecture code to query with.

      • Optionalversion: string

        The version of the database that the query has to be performed against. Will default to the latest available version if not specified.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<CityResolverResponseForVersion<T>>

      A CityResolverResponse.

    • Invokes "getNTACorporateInfo" API (endpoint: /houjinbangou/{corporateNumber}).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • corporateNumber: string

        The corporate number to query with.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<NTACorporateInfoResolverResponseForVersion<T>>

      An NTACorporateInfoResolverResponse.

    • Invokes "getNTAQualifiedInvoiceIssuerInfo" API (endpoint: /invoice/{issuerNumber}).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • issuerNumber: string

        The qualified invoice issuer number to query with.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<NTAQualifiedInvoiceIssuerInfoResolverResponseForVersion<T>>

      An NTAQualifiedInvoiceIssuerInfoResolverResponse.

    • Parameters

      • endpoint: string
      • params: {} = {}
      • OptionalapiVersion: string

      Returns Promise<unknown>

    • Invokes "searchAddresses" API (endpoint: /postalcode/?...).

      Type Parameters

      • T extends
            | "2022-09-01"
            | "2022-11-01"
            | "2023-09-01"
            | "2024-01-01"
            | "2025-01-01"
            | undefined = undefined

      Parameters

      • options: v20221101.AddressSearcherOptions

        The query.

      • OptionalapiVersion: T

        The API version. The return type is determined based on this argument, and thus it cannot be a variable.

      Returns Promise<AddressSearcherResponseForVersion<T>>

      An AddressSearcherResponse.