Files
ozon-seller-typescript/dist/models/RpcStatusV1PolygonCreate.d.ts
2026-08-21 12:19:50 +00:00

51 lines
2.9 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* Документация Ozon Seller API
* По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. <aside class=\"warning\">Обновляем корневой TLS/SSL-сертификат GlobalSign — вместо него будем использовать <a href=\"https://app.harica.gr/\">HARICA</a>.<br><a href=\"https://dev.ozon.ru/news/775-Izmeneniia-v-Ozon-API-migratsiia-kornevogo-sertifikata-UTs-Ozon/\">Подробнее о переходе на HARICA на платформе разработчиков Ozon for dev</a></aside> > [Инструкции по работе с маркетплейсом](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<ProtobufAny>}
* @memberof RpcStatusV1PolygonCreate
*/
details?: Array<ProtobufAny>;
/**
* Сообщение об ошибке:
*
* - `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;