@eldev/business-central-api
Version:
A Dynamics 365 Business Central client for TypeScript
12 lines • 378 B
JavaScript
import { ApiPage } from "./api-page.js";
/** ApiQuery wraps an ApiPage and only exposes the list method. */
export class ApiQuery {
#apiPage;
constructor(client, endpoint, schema) {
this.#apiPage = new ApiPage(client, endpoint, schema);
}
list(query, pOpts) {
return this.#apiPage.list(query, pOpts);
}
}
//# sourceMappingURL=api-query.js.map