/** Types generated for queries found in "src/modules/documents/providers/issued-documents.provider.ts" */
export type currency = 'AUD' | 'CAD' | 'ETH' | 'EUR' | 'GBP' | 'GRT' | 'ILS' | 'JPY' | 'SEK' | 'USD' | 'USDC';
export type document_status = 'CANCELLED' | 'CANCELLED_BY_OTHER_DOC' | 'CLOSED' | 'MANUALLY_CLOSED' | 'OPEN';
export type document_type = 'CREDIT_INVOICE' | 'INVOICE' | 'INVOICE_RECEIPT' | 'OTHER' | 'PROFORMA' | 'RECEIPT' | 'UNPROCESSED';
export type NumberOrString = number | string;
export type stringArray = (string)[];
/** 'GetAllIssuedDocuments' parameters type */
export type IGetAllIssuedDocumentsParams = void;
/** 'GetAllIssuedDocuments' return type */
export interface IGetAllIssuedDocumentsResult {
    external_id: string;
    id: string;
    linked_document_ids: stringArray | null;
    owner_id: string;
    status: document_status;
}
/** 'GetAllIssuedDocuments' query type */
export interface IGetAllIssuedDocumentsQuery {
    params: IGetAllIssuedDocumentsParams;
    result: IGetAllIssuedDocumentsResult;
}
/** 'GetIssuedDocumentsByIds' parameters type */
export interface IGetIssuedDocumentsByIdsParams {
    Ids: readonly (string | null | void)[];
}
/** 'GetIssuedDocumentsByIds' return type */
export interface IGetIssuedDocumentsByIdsResult {
    external_id: string;
    id: string;
    linked_document_ids: stringArray | null;
    owner_id: string;
    status: document_status;
}
/** 'GetIssuedDocumentsByIds' query type */
export interface IGetIssuedDocumentsByIdsQuery {
    params: IGetIssuedDocumentsByIdsParams;
    result: IGetIssuedDocumentsByIdsResult;
}
/** 'GetIssuedDocumentsByExternalIds' parameters type */
export interface IGetIssuedDocumentsByExternalIdsParams {
    externalIds: readonly (string | null | void)[];
}
/** 'GetIssuedDocumentsByExternalIds' return type */
export interface IGetIssuedDocumentsByExternalIdsResult {
    external_id: string;
    id: string;
    linked_document_ids: stringArray | null;
    owner_id: string;
    status: document_status;
}
/** 'GetIssuedDocumentsByExternalIds' query type */
export interface IGetIssuedDocumentsByExternalIdsQuery {
    params: IGetIssuedDocumentsByExternalIdsParams;
    result: IGetIssuedDocumentsByExternalIdsResult;
}
/** 'GetIssuedDocumentsByClientIds' parameters type */
export interface IGetIssuedDocumentsByClientIdsParams {
    clientIds: readonly (string | null | void)[];
}
/** 'GetIssuedDocumentsByClientIds' return type */
export interface IGetIssuedDocumentsByClientIdsResult {
    allocation_number: string | null;
    charge_id: string | null;
    created_at: Date;
    creditor_id: string | null;
    currency_code: currency | null;
    date: Date | null;
    debtor_id: string | null;
    description: string | null;
    exchange_rate_override: string | null;
    external_id: string;
    file_hash: string | null;
    file_url: string | null;
    id: string;
    image_url: string | null;
    is_reviewed: boolean;
    linked_document_ids: stringArray | null;
    no_vat_amount: string | null;
    owner_id: string;
    remarks: string | null;
    serial_number: string | null;
    status: document_status;
    total_amount: number | null;
    type: document_type;
    updated_at: Date;
    vat_amount: number | null;
    vat_report_date_override: Date | null;
}
/** 'GetIssuedDocumentsByClientIds' query type */
export interface IGetIssuedDocumentsByClientIdsQuery {
    params: IGetIssuedDocumentsByClientIdsParams;
    result: IGetIssuedDocumentsByClientIdsResult;
}
/** 'GetIssuedDocumentsStatusByChargeIds' parameters type */
export interface IGetIssuedDocumentsStatusByChargeIdsParams {
    chargeIds: readonly (string | null | void)[];
}
/** 'GetIssuedDocumentsStatusByChargeIds' return type */
export interface IGetIssuedDocumentsStatusByChargeIdsResult {
    charge_id: string | null;
    open_docs_flag: boolean | null;
}
/** 'GetIssuedDocumentsStatusByChargeIds' query type */
export interface IGetIssuedDocumentsStatusByChargeIdsQuery {
    params: IGetIssuedDocumentsStatusByChargeIdsParams;
    result: IGetIssuedDocumentsStatusByChargeIdsResult;
}
/** 'GetIssuedDocumentsByType' parameters type */
export interface IGetIssuedDocumentsByTypeParams {
    limit?: NumberOrString | null | void;
    type?: document_type | null | void;
}
/** 'GetIssuedDocumentsByType' return type */
export interface IGetIssuedDocumentsByTypeResult {
    allocation_number: string | null;
    charge_id: string | null;
    created_at: Date;
    creditor_id: string | null;
    currency_code: currency | null;
    date: Date | null;
    debtor_id: string | null;
    description: string | null;
    exchange_rate_override: string | null;
    external_id: string;
    file_hash: string | null;
    file_url: string | null;
    id: string;
    image_url: string | null;
    is_reviewed: boolean;
    linked_document_ids: stringArray | null;
    no_vat_amount: string | null;
    owner_id: string;
    remarks: string | null;
    serial_number: string | null;
    status: document_status;
    total_amount: number | null;
    type: document_type;
    updated_at: Date;
    vat_amount: number | null;
    vat_report_date_override: Date | null;
}
/** 'GetIssuedDocumentsByType' query type */
export interface IGetIssuedDocumentsByTypeQuery {
    params: IGetIssuedDocumentsByTypeParams;
    result: IGetIssuedDocumentsByTypeResult;
}
/** 'UpdateIssuedDocument' parameters type */
export interface IUpdateIssuedDocumentParams {
    documentId?: string | null | void;
    externalId?: string | null | void;
    linkedDocumentIds?: stringArray | null | void;
    status?: document_status | null | void;
}
/** 'UpdateIssuedDocument' return type */
export interface IUpdateIssuedDocumentResult {
    external_id: string;
    id: string;
    linked_document_ids: stringArray | null;
    owner_id: string;
    status: document_status;
}
/** 'UpdateIssuedDocument' query type */
export interface IUpdateIssuedDocumentQuery {
    params: IUpdateIssuedDocumentParams;
    result: IUpdateIssuedDocumentResult;
}
/** 'UpdateIssuedDocumentByExternalId' parameters type */
export interface IUpdateIssuedDocumentByExternalIdParams {
    documentId?: string | null | void;
    externalId?: string | null | void;
    linkedDocumentIds?: stringArray | null | void;
    status?: document_status | null | void;
}
/** 'UpdateIssuedDocumentByExternalId' return type */
export interface IUpdateIssuedDocumentByExternalIdResult {
    external_id: string;
    id: string;
    linked_document_ids: stringArray | null;
    owner_id: string;
    status: document_status;
}
/** 'UpdateIssuedDocumentByExternalId' query type */
export interface IUpdateIssuedDocumentByExternalIdQuery {
    params: IUpdateIssuedDocumentByExternalIdParams;
    result: IUpdateIssuedDocumentByExternalIdResult;
}
/** 'DeleteIssuedDocument' parameters type */
export interface IDeleteIssuedDocumentParams {
    documentId?: string | null | void;
}
/** 'DeleteIssuedDocument' return type */
export interface IDeleteIssuedDocumentResult {
    id: string;
}
/** 'DeleteIssuedDocument' query type */
export interface IDeleteIssuedDocumentQuery {
    params: IDeleteIssuedDocumentParams;
    result: IDeleteIssuedDocumentResult;
}
/** 'InsertIssuedDocuments' parameters type */
export interface IInsertIssuedDocumentsParams {
    issuedDocuments: readonly ({
        id: string | null | void;
        externalId: string | null | void;
        status: document_status | null | void;
        linkedDocumentIds: stringArray | null | void;
        ownerId: string | null | void;
    })[];
}
/** 'InsertIssuedDocuments' return type */
export interface IInsertIssuedDocumentsResult {
    external_id: string;
    id: string;
    linked_document_ids: stringArray | null;
    owner_id: string;
    status: document_status;
}
/** 'InsertIssuedDocuments' query type */
export interface IInsertIssuedDocumentsQuery {
    params: IInsertIssuedDocumentsParams;
    result: IInsertIssuedDocumentsResult;
}
