/** * Документация Ozon Seller API * По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. > [Инструкции по работе с маркетплейсом](https://seller-edu.ozon.ru) > [Информационная платформа и сообщество разработчиков Ozon for dev](https://dev.ozon.ru/) * * The version of the OpenAPI document: 2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ProtobufAny } from './ProtobufAny'; /** * * @export * @interface RpcStatusV1PolygonCreate */ export interface RpcStatusV1PolygonCreate { /** * Код ошибки. * @type {number} * @memberof RpcStatusV1PolygonCreate */ code?: number; /** * Информация об ошибке. * @type {Array} * @memberof RpcStatusV1PolygonCreate */ details?: Array; /** * Сообщение об ошибке: * * - `coordinates not provided` — координаты не переданы; * - `invalid coordinates, must have two points in coordinate` — в какой-то точке передана только широта или долгота, нужно передать две точки; * - `the first and last points in loop must be same` — первая и последняя точка не совпадают (по стандартным правилам geojson точки должны совпадать); * - `non-full loops must have at least 4 unique vertices for polygons` — для полигона передано менее четырех точек. * * @type {string} * @memberof RpcStatusV1PolygonCreate */ message?: string; } /** * Check if a given object implements the RpcStatusV1PolygonCreate interface. */ export declare function instanceOfRpcStatusV1PolygonCreate(value: object): value is RpcStatusV1PolygonCreate; export declare function RpcStatusV1PolygonCreateFromJSON(json: any): RpcStatusV1PolygonCreate; export declare function RpcStatusV1PolygonCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): RpcStatusV1PolygonCreate; export declare function RpcStatusV1PolygonCreateToJSON(value?: RpcStatusV1PolygonCreate | null): any;