moysklad-api-model
Version:
Объектная модель API МойСклад для TypeScript проектов
8 lines (7 loc) • 392 B
TypeScript
import type { EntityRef, Invoice, InvoicePatch } from '.';
import type { OptionalNullablePartial } from '../tools';
export type InvoiceOutFields = {
customerOrder?: EntityRef<'customerorder'>;
};
export type InvoiceOut = Invoice<'invoiceout'> & InvoiceOutFields;
export type InvoiceOutPatch = InvoicePatch<'invoiceout'> & OptionalNullablePartial<Pick<InvoiceOutFields, 'customerOrder'>>;