diff --git a/package.json b/package.json index 2d7625f..a2ac824 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moysklad-api-model", - "version": "0.2.3", + "version": "0.2.4", "description": "Объектная модель API МойСклад для TypeScript проектов", "main": "build/src/index.js", "types": "build/src/index.d.ts", diff --git a/src/model/utils/Patch.ts b/src/model/utils/Patch.ts index 9600e79..43c0431 100644 --- a/src/model/utils/Patch.ts +++ b/src/model/utils/Patch.ts @@ -1,15 +1,15 @@ import type { AttributePatch, + CashInPatch, + CashOutPatch, CustomerOrderPatch, - EntityPatchRef, - MetaType, CustomerOrderPositionPatch, + EntityPatchRef, InvoiceInPatch, - InvoiceOutPatch + InvoiceOutPatch, + InvoicePositionPatch, + MetaType } from '..' -import type { CashInPatch } from '../CashIn' -import type { CashOutPatch } from '../CashOut' -import type { InvoicePosition } from '../InvoicePosition' export type PatchByMetaType = { customerorder: CustomerOrderPatch @@ -17,7 +17,7 @@ export type PatchByMetaType = { attributemetadata: AttributePatch invoicein: InvoiceInPatch invoiceout: InvoiceOutPatch - invoiceposition: InvoicePosition + invoiceposition: InvoicePositionPatch cashin: CashInPatch cashout: CashOutPatch }