moysklad-api-model
Version:
Объектная модель API МойСклад для TypeScript проектов
11 lines (10 loc) • 371 B
TypeScript
import type { Entity } from '.';
export type CustomEntityFields = {
updated: string;
name: string;
code?: string;
externalCode?: string;
description?: string;
};
export type CustomEntity = Entity<'customentity'> & CustomEntityFields;
export type CustomEntityPatch = Partial<Pick<CustomEntityFields, 'code' | 'description' | 'externalCode' | 'name'>>;