UNPKG

moysklad-api-model

Version:

Объектная модель API МойСклад для TypeScript проектов

8 lines (7 loc) 367 B
import type { EntityRef, Invoice, InvoicePatch } from '.'; import type { OptionalNullablePartial } from '../tools'; export type InvoiceInFields = { purchaseOrder?: EntityRef<'purchaseorder'>; }; export type InvoiceIn = Invoice<'invoicein'>; export type InvoiceInPatch = InvoicePatch<'invoicein'> & OptionalNullablePartial<Pick<InvoiceInFields, 'purchaseOrder'>>;