import BaseResource from '../../BaseResource.js'; import type * as ApiTypes from '../ApiTypes.js'; import type * as RawApiTypes from '../RawApiTypes.js'; export default class OrganizationMandateRequest extends BaseResource { static readonly TYPE: "organization_mandate_request"; /** * Request a new mandate * * @throws {ApiError} * @throws {TimeoutError} */ create(body: ApiTypes.OrganizationMandateRequestCreateSchema, queryParams?: ApiTypes.OrganizationMandateRequestCreateHrefSchema): Promise; /** * Request a new mandate * * @throws {ApiError} * @throws {TimeoutError} */ rawCreate(body: RawApiTypes.OrganizationMandateRequestCreateSchema, queryParams?: RawApiTypes.OrganizationMandateRequestCreateHrefSchema): Promise; /** * List all pending mandate requests * * @throws {ApiError} * @throws {TimeoutError} */ pendingList(): Promise; /** * List all pending mandate requests * * @throws {ApiError} * @throws {TimeoutError} */ rawPendingList(): Promise; /** * List all requested mandates * * @throws {ApiError} * @throws {TimeoutError} */ requestedList(): Promise; /** * List all requested mandates * * @throws {ApiError} * @throws {TimeoutError} */ rawRequestedList(): Promise; /** * Delete a mandate request * * @throws {ApiError} * @throws {TimeoutError} */ destroy(organizationMandateRequestId: string | ApiTypes.OrganizationMandateRequestData): Promise; /** * Delete a mandate request * * @throws {ApiError} * @throws {TimeoutError} */ rawDestroy(organizationMandateRequestId: string): Promise; /** * Approve a mandate request * * @throws {ApiError} * @throws {TimeoutError} */ approve(organizationMandateRequestId: string | ApiTypes.OrganizationMandateRequestData): Promise; /** * Approve a mandate request * * @throws {ApiError} * @throws {TimeoutError} */ rawApprove(organizationMandateRequestId: string): Promise; /** * Reject a mandate request * * @throws {ApiError} * @throws {TimeoutError} */ reject(organizationMandateRequestId: string | ApiTypes.OrganizationMandateRequestData): Promise; /** * Reject a mandate request * * @throws {ApiError} * @throws {TimeoutError} */ rawReject(organizationMandateRequestId: string): Promise; }