kiotviet-client-sdk - v0.3.4
    Preparing search index...

    Class BranchHandler

    Index

    Constructors

    Methods

    • Create a new branch

      Parameters

      • branchData: BranchCreateParams

        The branch data to create

      Returns Promise<Branch>

    • Delete a branch

      Parameters

      • branchId: number

        The ID of the branch to delete

      Returns Promise<void>

    • Get a branch by its ID

      Parameters

      • branchId: number

        The ID of the branch to retrieve

      Returns Promise<Branch>

    • List branches with optional filtering and pagination

      Parameters

      • params: BranchListParams = {}

        Filter and pagination parameters

      Returns Promise<BranchListResponse>

    • Update an existing branch

      Parameters

      • branchId: number

        The ID of the branch to update

      • branchData: Partial<BranchUpdateParams>

        The branch data to update

      Returns Promise<Branch>