import { type CreateCustomerBankAccount, type CustomerBankAccount } from '../../../../models/index.js'; import { type WithCustomerBankAccountItemRequestBuilder } from './item/index.js'; import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /v2/customers/{customerId}/bankaccounts */ export interface BankaccountsRequestBuilder extends BaseRequestBuilder { /** * Gets an item from the JtlErpApi.v2.customers.item.bankaccounts.item collection * @param customerBankAccountId The id of the customer bank account. * @returns {WithCustomerBankAccountItemRequestBuilder} */ byCustomerBankAccountId(customerBankAccountId: Guid): WithCustomerBankAccountItemRequestBuilder; /** * Query all bank accounts for a specific customer * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ErrorResponse} error when the service returns a 404 status code */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Create a new bank account for a specific customer * @param body Model Class: CreateCustomerBankAccount * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ErrorResponse} error when the service returns a 400 status code */ post(body: CreateCustomerBankAccount, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Query all bank accounts for a specific customer * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Create a new bank account for a specific customer * @param body Model Class: CreateCustomerBankAccount * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: CreateCustomerBankAccount, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const BankaccountsRequestBuilderUriTemplate = "{+baseurl}/v2/customers/{customerId}/bankaccounts"; /** * Metadata for all the navigation properties in the request builder. */ export declare const BankaccountsRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const BankaccountsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map