import BaseResource from '../../BaseResource.js'; import type * as ApiTypes from '../ApiTypes.js'; import type * as RawApiTypes from '../RawApiTypes.js'; export default class OrganizationMandate extends BaseResource { static readonly TYPE: "organization_mandate"; /** * Update an organization mandate * * @throws {ApiError} * @throws {TimeoutError} */ update(organizationMandateId: string | ApiTypes.OrganizationMandateData, body: ApiTypes.OrganizationMandateUpdateSchema): Promise; /** * Update an organization mandate * * @throws {ApiError} * @throws {TimeoutError} */ rawUpdate(organizationMandateId: string, body: RawApiTypes.OrganizationMandateUpdateSchema): Promise; /** * List all mandates that the organization has approved * * @throws {ApiError} * @throws {TimeoutError} */ approvedList(): Promise; /** * List all mandates that the organization has approved * * @throws {ApiError} * @throws {TimeoutError} */ rawApprovedList(): Promise; /** * List all mandates that the organization has been given * * @throws {ApiError} * @throws {TimeoutError} */ givenList(queryParams?: ApiTypes.OrganizationMandateGivenInstancesHrefSchema): Promise; /** * List all mandates that the organization has been given * * @throws {ApiError} * @throws {TimeoutError} */ rawGivenList(queryParams?: RawApiTypes.OrganizationMandateGivenInstancesHrefSchema): Promise; /** * Cancel an organization mandate * * @throws {ApiError} * @throws {TimeoutError} */ destroy(organizationMandateId: string | ApiTypes.OrganizationMandateData): Promise; /** * Cancel an organization mandate * * @throws {ApiError} * @throws {TimeoutError} */ rawDestroy(organizationMandateId: string): Promise; }