"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.instanceOfV1FbpDraftDirectSellerDlvEditResponse = instanceOfV1FbpDraftDirectSellerDlvEditResponse; exports.V1FbpDraftDirectSellerDlvEditResponseFromJSON = V1FbpDraftDirectSellerDlvEditResponseFromJSON; exports.V1FbpDraftDirectSellerDlvEditResponseFromJSONTyped = V1FbpDraftDirectSellerDlvEditResponseFromJSONTyped; exports.V1FbpDraftDirectSellerDlvEditResponseToJSON = V1FbpDraftDirectSellerDlvEditResponseToJSON; const V1OrderDraftValidationError_1 = require("./V1OrderDraftValidationError"); /** * Check if a given object implements the V1FbpDraftDirectSellerDlvEditResponse interface. */ function instanceOfV1FbpDraftDirectSellerDlvEditResponse(value) { return true; } function V1FbpDraftDirectSellerDlvEditResponseFromJSON(json) { return V1FbpDraftDirectSellerDlvEditResponseFromJSONTyped(json, false); } function V1FbpDraftDirectSellerDlvEditResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'error': json['error'] == null ? undefined : (0, V1OrderDraftValidationError_1.V1OrderDraftValidationErrorFromJSON)(json['error']), 'is_error': json['is_error'] == null ? undefined : json['is_error'], 'row_version': json['row_version'] == null ? undefined : json['row_version'], }; } function V1FbpDraftDirectSellerDlvEditResponseToJSON(value) { if (value == null) { return value; } return { 'error': (0, V1OrderDraftValidationError_1.V1OrderDraftValidationErrorToJSON)(value['error']), 'is_error': value['is_error'], 'row_version': value['row_version'], }; }