/** * Документация 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 { CancellationAllowabilityCanNotCancelSupplyReasonEnum } from './CancellationAllowabilityCanNotCancelSupplyReasonEnum'; /** * Возможность отмены. * @export * @interface SupplyCancellationAllowability */ export interface SupplyCancellationAllowability { /** * Причина, почему нельзя отменить поставку: * - `UNSPECIFIED` — не определена; * - `INVALID_SUPPLY_STATE` — некорректный статус поставки; * - `SUPPLY_IS_VIRTUAL` — поставка виртуальная; * - `SUPPLY_HAS_ACTIVE_UTD` — у поставки есть активный УПД; * - `SUPPLY_DOES_NOT_BELONG_TO_COMPANY` — поставка не принадлежит продавцу; * - `PICKUP_SUPPLY_IS_LOCKED_DOWN` — заблокировано редактирование поставки; * - `UNDEFINED` — неизвестная. * * @type {Array} * @memberof SupplyCancellationAllowability */ can_not_set_reasons?: Array; /** * `true`, если поставку можно отменить. * * @type {boolean} * @memberof SupplyCancellationAllowability */ can_set?: boolean; } /** * Check if a given object implements the SupplyCancellationAllowability interface. */ export declare function instanceOfSupplyCancellationAllowability(value: object): value is SupplyCancellationAllowability; export declare function SupplyCancellationAllowabilityFromJSON(json: any): SupplyCancellationAllowability; export declare function SupplyCancellationAllowabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplyCancellationAllowability; export declare function SupplyCancellationAllowabilityToJSON(value?: SupplyCancellationAllowability | null): any;