"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.instanceOfV2PostingFBSActGetPostingsResult = instanceOfV2PostingFBSActGetPostingsResult; exports.V2PostingFBSActGetPostingsResultFromJSON = V2PostingFBSActGetPostingsResultFromJSON; exports.V2PostingFBSActGetPostingsResultFromJSONTyped = V2PostingFBSActGetPostingsResultFromJSONTyped; exports.V2PostingFBSActGetPostingsResultToJSON = V2PostingFBSActGetPostingsResultToJSON; const V2PostingFBSActGetProducts_1 = require("./V2PostingFBSActGetProducts"); /** * Check if a given object implements the V2PostingFBSActGetPostingsResult interface. */ function instanceOfV2PostingFBSActGetPostingsResult(value) { return true; } function V2PostingFBSActGetPostingsResultFromJSON(json) { return V2PostingFBSActGetPostingsResultFromJSONTyped(json, false); } function V2PostingFBSActGetPostingsResultFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'multi_box_qty': json['multi_box_qty'] == null ? undefined : json['multi_box_qty'], 'posting_number': json['posting_number'] == null ? undefined : json['posting_number'], 'status': json['status'] == null ? undefined : json['status'], 'seller_error': json['seller_error'] == null ? undefined : json['seller_error'], 'updated_at': json['updated_at'] == null ? undefined : json['updated_at'], 'created_at': json['created_at'] == null ? undefined : json['created_at'], 'products': json['products'] == null ? undefined : (json['products'].map(V2PostingFBSActGetProducts_1.V2PostingFBSActGetProductsFromJSON)), }; } function V2PostingFBSActGetPostingsResultToJSON(value) { if (value == null) { return value; } return { 'id': value['id'], 'multi_box_qty': value['multi_box_qty'], 'posting_number': value['posting_number'], 'status': value['status'], 'seller_error': value['seller_error'], 'updated_at': value['updated_at'], 'created_at': value['created_at'], 'products': value['products'] == null ? undefined : (value['products'].map(V2PostingFBSActGetProducts_1.V2PostingFBSActGetProductsToJSON)), }; }