"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.instanceOfCargoesV2CargoesGetResponseSuppliesLimits = instanceOfCargoesV2CargoesGetResponseSuppliesLimits; exports.CargoesV2CargoesGetResponseSuppliesLimitsFromJSON = CargoesV2CargoesGetResponseSuppliesLimitsFromJSON; exports.CargoesV2CargoesGetResponseSuppliesLimitsFromJSONTyped = CargoesV2CargoesGetResponseSuppliesLimitsFromJSONTyped; exports.CargoesV2CargoesGetResponseSuppliesLimitsToJSON = CargoesV2CargoesGetResponseSuppliesLimitsToJSON; /** * Check if a given object implements the CargoesV2CargoesGetResponseSuppliesLimits interface. */ function instanceOfCargoesV2CargoesGetResponseSuppliesLimits(value) { return true; } function CargoesV2CargoesGetResponseSuppliesLimitsFromJSON(json) { return CargoesV2CargoesGetResponseSuppliesLimitsFromJSONTyped(json, false); } function CargoesV2CargoesGetResponseSuppliesLimitsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'max_box_count': json['max_box_count'] == null ? undefined : json['max_box_count'], 'max_box_sku_count': json['max_box_sku_count'] == null ? undefined : json['max_box_sku_count'], 'max_pallet_count': json['max_pallet_count'] == null ? undefined : json['max_pallet_count'], 'max_transport_pallet_count': json['max_transport_pallet_count'] == null ? undefined : json['max_transport_pallet_count'], }; } function CargoesV2CargoesGetResponseSuppliesLimitsToJSON(value) { if (value == null) { return value; } return { 'max_box_count': value['max_box_count'], 'max_box_sku_count': value['max_box_sku_count'], 'max_pallet_count': value['max_pallet_count'], 'max_transport_pallet_count': value['max_transport_pallet_count'], }; }