"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.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum = void 0; exports.instanceOfV1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum = instanceOfV1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum; exports.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumFromJSON = V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumFromJSON; exports.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumFromJSONTyped = V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumFromJSONTyped; exports.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumToJSON = V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumToJSON; /** * Тип промокода: * - `ONE` — промокод для всех покупателей на 1 заказ; * - `MULTIPLE` — промокод для всех покупателей на любое количество заказов; * - `UNIQUE` — промокод для 1 покупателя на 1 заказ. * * @export */ exports.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum = { ONE: 'ONE', MULTIPLE: 'MULTIPLE', UNIQUE: 'UNIQUE' }; function instanceOfV1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum(value) { for (const key in exports.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum) { if (Object.prototype.hasOwnProperty.call(exports.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum, key)) { if (exports.V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnum[key] === value) { return true; } } } return false; } function V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumFromJSON(json) { return V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumFromJSONTyped(json, false); } function V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumFromJSONTyped(json, ignoreDiscriminator) { return json; } function V1SellerActionsCreateVoucherRequestVoucherParameterTypeEnumToJSON(value) { return value; }