"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Документация 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ActionParameterVoucherParameterTypeEnum = void 0; exports.instanceOfActionParameterVoucherParameterTypeEnum = instanceOfActionParameterVoucherParameterTypeEnum; exports.ActionParameterVoucherParameterTypeEnumFromJSON = ActionParameterVoucherParameterTypeEnumFromJSON; exports.ActionParameterVoucherParameterTypeEnumFromJSONTyped = ActionParameterVoucherParameterTypeEnumFromJSONTyped; exports.ActionParameterVoucherParameterTypeEnumToJSON = ActionParameterVoucherParameterTypeEnumToJSON; /** * Тип промокода: * - `UNSPECIFIED` — не определён; * - `ONE` — промокод для всех покупателей на 1 заказ; * - `MULTIPLE` — промокод для всех покупателей на любое количество заказов; * - `UNIQUE` — промокод для 1 покупателя на 1 заказ. * * @export */ exports.ActionParameterVoucherParameterTypeEnum = { UNSPECIFIED: 'UNSPECIFIED', ONE: 'ONE', MULTIPLE: 'MULTIPLE', UNIQUE: 'UNIQUE' }; function instanceOfActionParameterVoucherParameterTypeEnum(value) { for (const key in exports.ActionParameterVoucherParameterTypeEnum) { if (Object.prototype.hasOwnProperty.call(exports.ActionParameterVoucherParameterTypeEnum, key)) { if (exports.ActionParameterVoucherParameterTypeEnum[key] === value) { return true; } } } return false; } function ActionParameterVoucherParameterTypeEnumFromJSON(json) { return ActionParameterVoucherParameterTypeEnumFromJSONTyped(json, false); } function ActionParameterVoucherParameterTypeEnumFromJSONTyped(json, ignoreDiscriminator) { return json; } function ActionParameterVoucherParameterTypeEnumToJSON(value) { return value; }