"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.instanceOfPostingV1GetFbpPostingResponsePosting = instanceOfPostingV1GetFbpPostingResponsePosting; exports.PostingV1GetFbpPostingResponsePostingFromJSON = PostingV1GetFbpPostingResponsePostingFromJSON; exports.PostingV1GetFbpPostingResponsePostingFromJSONTyped = PostingV1GetFbpPostingResponsePostingFromJSONTyped; exports.PostingV1GetFbpPostingResponsePostingToJSON = PostingV1GetFbpPostingResponsePostingToJSON; const PostingV1GetFbpPostingResponsePostingFinancialData_1 = require("./PostingV1GetFbpPostingResponsePostingFinancialData"); const PostingV1GetFbpPostingResponsePostingAnalyticsData_1 = require("./PostingV1GetFbpPostingResponsePostingAnalyticsData"); const PostingV1GetFbpPostingResponsePostingCancellation_1 = require("./PostingV1GetFbpPostingResponsePostingCancellation"); const PostingV1GetFbpPostingResponsePostingProducts_1 = require("./PostingV1GetFbpPostingResponsePostingProducts"); /** * Check if a given object implements the PostingV1GetFbpPostingResponsePosting interface. */ function instanceOfPostingV1GetFbpPostingResponsePosting(value) { return true; } function PostingV1GetFbpPostingResponsePostingFromJSON(json) { return PostingV1GetFbpPostingResponsePostingFromJSONTyped(json, false); } function PostingV1GetFbpPostingResponsePostingFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'analytics_data': json['analytics_data'] == null ? undefined : (0, PostingV1GetFbpPostingResponsePostingAnalyticsData_1.PostingV1GetFbpPostingResponsePostingAnalyticsDataFromJSON)(json['analytics_data']), 'cancellation': json['cancellation'] == null ? undefined : (0, PostingV1GetFbpPostingResponsePostingCancellation_1.PostingV1GetFbpPostingResponsePostingCancellationFromJSON)(json['cancellation']), 'financial_data': json['financial_data'] == null ? undefined : (0, PostingV1GetFbpPostingResponsePostingFinancialData_1.PostingV1GetFbpPostingResponsePostingFinancialDataFromJSON)(json['financial_data']), 'in_process_at': json['in_process_at'] == null ? undefined : json['in_process_at'], 'order_date': json['order_date'] == null ? undefined : json['order_date'], 'order_id': json['order_id'] == null ? undefined : json['order_id'], 'order_number': json['order_number'] == null ? undefined : json['order_number'], 'posting_number': json['posting_number'] == null ? undefined : json['posting_number'], 'products': json['products'] == null ? undefined : (json['products'].map(PostingV1GetFbpPostingResponsePostingProducts_1.PostingV1GetFbpPostingResponsePostingProductsFromJSON)), 'status': json['status'] == null ? undefined : json['status'], 'substatus': json['substatus'] == null ? undefined : json['substatus'], 'tpl_provider_id': json['tpl_provider_id'] == null ? undefined : json['tpl_provider_id'], }; } function PostingV1GetFbpPostingResponsePostingToJSON(value) { if (value == null) { return value; } return { 'analytics_data': (0, PostingV1GetFbpPostingResponsePostingAnalyticsData_1.PostingV1GetFbpPostingResponsePostingAnalyticsDataToJSON)(value['analytics_data']), 'cancellation': (0, PostingV1GetFbpPostingResponsePostingCancellation_1.PostingV1GetFbpPostingResponsePostingCancellationToJSON)(value['cancellation']), 'financial_data': (0, PostingV1GetFbpPostingResponsePostingFinancialData_1.PostingV1GetFbpPostingResponsePostingFinancialDataToJSON)(value['financial_data']), 'in_process_at': value['in_process_at'], 'order_date': value['order_date'], 'order_id': value['order_id'], 'order_number': value['order_number'], 'posting_number': value['posting_number'], 'products': value['products'] == null ? undefined : (value['products'].map(PostingV1GetFbpPostingResponsePostingProducts_1.PostingV1GetFbpPostingResponsePostingProductsToJSON)), 'status': value['status'], 'substatus': value['substatus'], 'tpl_provider_id': value['tpl_provider_id'], }; }