/**
 * Gets an organization by ID.
 *
 * @param client - Account Manager Organizations client
 * @param orgId - Organization ID
 * @returns Organization details
 * @throws {Error} If the organization is not found (404), authentication fails (401), permission is denied (403), or other request failures occur
 */
export async function getOrg(client, orgId) {
    return client.getOrg(orgId);
}
/**
 * Gets an organization by name (performs case-sensitive prefix search using startsWith, filters to exact match if multiple results are found, throws if ambiguous).
 *
 * @param client - Account Manager Organizations client
 * @param name - Organization name
 * @returns Organization details
 * @throws {Error} If the organization is not found or if multiple organizations match the name
 */
export async function getOrgByName(client, name) {
    return client.getOrgByName(name);
}
/**
 * Lists organizations with pagination.
 *
 * @param client - Account Manager Organizations client
 * @param options - Pagination options. Set `all: true` to retrieve all organizations using the max page size of 5000
 * @returns {OrganizationCollection} Paginated organization collection with pagination metadata (totalElements, totalPages, number, size)
 */
export async function listOrgs(client, options) {
    return client.listOrgs(options);
}
//# sourceMappingURL=index.js.map