@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
    • "getAddress" API (エンドポイント: /postalcode/{postalcode}) を呼び出します。

      Type Parameters

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

      Parameters

      • postalCode: string

        "getAddress" API (エンドポイント: /postalcode/{postalcode}) を呼び出します。

      • Optionalversion: string

        "getAddress" API (エンドポイント: /postalcode/{postalcode}) を呼び出します。

      • OptionalapiVersion: T

        "getAddress" API (エンドポイント: /postalcode/{postalcode}) を呼び出します。

      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"
            | "2026-08-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"
            | "2026-08-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"
            | "2026-08-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"
            | "2026-08-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.

    • "getCities" API (エンドポイント: /cities/{prefectureCode}) を呼び出します。

      Type Parameters

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

      Parameters

      • prefectureCode: string

        "getCities" API (エンドポイント: /cities/{prefectureCode}) を呼び出します。

      • Optionalversion: string

        "getCities" API (エンドポイント: /cities/{prefectureCode}) を呼び出します。

      • OptionalapiVersion: T

        "getCities" API (エンドポイント: /cities/{prefectureCode}) を呼び出します。

      Returns Promise<CityResolverResponseForVersion<T>>

      A CityResolverResponse.

    • "getNTACorporateInfo" API (エンドポイント: /houjinbangou/{corporateNumber}) を呼び出します。

      Type Parameters

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

      Parameters

      • corporateNumber: string

        "getNTACorporateInfo" API (エンドポイント: /houjinbangou/{corporateNumber}) を呼び出します。

      • OptionalapiVersion: T

        "getNTACorporateInfo" API (エンドポイント: /houjinbangou/{corporateNumber}) を呼び出します。

      Returns Promise<NTACorporateInfoResolverResponseForVersion<T>>

      An NTACorporateInfoResolverResponse.

    • "getNTAQualifiedInvoiceIssuerInfo" API (エンドポイント: /invoice/{issuerNumber}) を呼び出します。

      Type Parameters

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

      Parameters

      • issuerNumber: string

        "getNTAQualifiedInvoiceIssuerInfo" API (エンドポイント: /invoice/{issuerNumber}) を呼び出します。

      • OptionalapiVersion: T

        "getNTAQualifiedInvoiceIssuerInfo" API (エンドポイント: /invoice/{issuerNumber}) を呼び出します。

      Returns Promise<NTAQualifiedInvoiceIssuerInfoResolverResponseForVersion<T>>

      An NTAQualifiedInvoiceIssuerInfoResolverResponse.

    • "getSchool" API (エンドポイント: /school/{schoolCode}) を呼び出します。

      このAPIはバージョン管理されていません。

      Parameters

      • schoolCode: string

        "getSchool" API (エンドポイント: /school/{schoolCode}) を呼び出します。

        このAPIはバージョン管理されていません。

      Returns Promise<v20250101.SchoolResolverResponse>

      A SchoolResolverResponse.

    • Parameters

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

      Returns Promise<unknown>

    • "searchAddresses" API (エンドポイント: /postalcode/?...) を呼び出します。

      Type Parameters

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

      Parameters

      • options: v20221101.AddressSearcherOptions

        "searchAddresses" API (エンドポイント: /postalcode/?...) を呼び出します。

      • OptionalapiVersion: T

        "searchAddresses" API (エンドポイント: /postalcode/?...) を呼び出します。

      Returns Promise<AddressSearcherResponseForVersion<T>>

      An AddressSearcherResponse.

    • Invokes "getBankBranches" API with a set of search parameters (endpoint: /bank/{bankCode}/branches?...).

      Unlike getBankBranches, an empty result is not an error here: as long as q is given and the bank itself exists, the API responds with a 200 and an empty branches instead of a 404.

      The search parameters were introduced in the 2026-08-01 API version; earlier versions ignore them and return every branch, which is why apiVersion cannot be an older one.

      Type Parameters

      • T extends "2026-08-01" | undefined = undefined

      Parameters

      • bankCode: string

        The bank code to query with.

      • options: v20260801.BankBranchSearcherOptions = {}

        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<BankBranchesResponseForVersion<T>>

      A BankBranchesResponse.

    • Invokes "getBanks" API with a set of search parameters (endpoint: /bank?...).

      Unlike getBanks, an empty result is not an error here: as long as q or type is given, the API responds with a 200 and an empty data instead of a 404.

      The search parameters were introduced in the 2026-08-01 API version; earlier versions ignore them and return the whole set, which is why apiVersion cannot be an older one.

      Type Parameters

      • T extends "2026-08-01" | undefined = undefined

      Parameters

      • options: v20260801.BankSearcherOptions = {}

        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<BanksResponseForVersion<T>>

      A BanksResponse.

    • "searchNTACorporateInfo" API (エンドポイント: /houjinbangou?...) を呼び出します。

      Type Parameters

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

      Parameters

      • options: v20221101.NTACorporateInfoSearcherOptions

        "searchNTACorporateInfo" API (エンドポイント: /houjinbangou?...) を呼び出します。

      • OptionalapiVersion: T

        "searchNTACorporateInfo" API (エンドポイント: /houjinbangou?...) を呼び出します。

      Returns Promise<NTACorporateInfoSearcherResponseForVersion<T>>

      An NTACorporateInfoSearcherResponse.