IOutput: {
    marketplaceOpenWriteoffDraft?: undefined | {
        authorized_at?: null | string;
        coopname: string;
        created_at: string;
        cycle_started_at: string;
        decided_by_account?: null | string;
        decision_id?: null | number;
        decision_log: {
            action: string;
            actor: string;
            at: string;
        }[];
        executed_at?: null | string;
        id: string;
        items: {
            amount: string;
            asset_title: string;
            braname: string;
            branch_name?: null | string;
            executed: boolean;
            inventory_ids: string[];
            package_size?: null | number;
            quantity: string;
            reason: string;
            unit_of_measure?: null | MarketplaceUnitOfMeasure;
        }[];
        proposal_hash: string;
        proposed_by_account?: null | string;
        reject_reason?: null | string;
        rejected_at?: null | string;
        status: MarketplaceWriteoffProposalStatus;
        submitted_at?: null | string;
        total_amount: string;
        trigger: MarketplaceWriteoffProposalTrigger;
        updated_at: string;
    };
}

Type declaration

  • Optional marketplaceOpenWriteoffDraft?: undefined | {
        authorized_at?: null | string;
        coopname: string;
        created_at: string;
        cycle_started_at: string;
        decided_by_account?: null | string;
        decision_id?: null | number;
        decision_log: {
            action: string;
            actor: string;
            at: string;
        }[];
        executed_at?: null | string;
        id: string;
        items: {
            amount: string;
            asset_title: string;
            braname: string;
            branch_name?: null | string;
            executed: boolean;
            inventory_ids: string[];
            package_size?: null | number;
            quantity: string;
            reason: string;
            unit_of_measure?: null | MarketplaceUnitOfMeasure;
        }[];
        proposal_hash: string;
        proposed_by_account?: null | string;
        reject_reason?: null | string;
        rejected_at?: null | string;
        status: MarketplaceWriteoffProposalStatus;
        submitted_at?: null | string;
        total_amount: string;
        trigger: MarketplaceWriteoffProposalTrigger;
        updated_at: string;
    }

    Открытый черновик проекта списания (если есть). Один на кооператив.