"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.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestCutInEnum = exports.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestCourierCutoffEnum = void 0; exports.instanceOfV1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequest = instanceOfV1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequest; exports.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestFromJSON = V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestFromJSON; exports.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestFromJSONTyped = V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestFromJSONTyped; exports.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestToJSON = V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestToJSON; const V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestReturnSettings_1 = require("./V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestReturnSettings"); /** * @export */ exports.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestCourierCutoffEnum = { NUMBER_5: 5, NUMBER_10: 10, NUMBER_15: 15, NUMBER_20: 20, NUMBER_25: 25, NUMBER_30: 30, NUMBER_35: 35, NUMBER_40: 40, NUMBER_45: 45 }; /** * @export */ exports.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestCutInEnum = { NUMBER_15: 15, NUMBER_30: 30, NUMBER_60: 60, NUMBER_120: 120, NUMBER_180: 180, NUMBER_240: 240, NUMBER_300: 300, NUMBER_360: 360, NUMBER_420: 420, NUMBER_480: 480 }; /** * Check if a given object implements the V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequest interface. */ function instanceOfV1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequest(value) { if (!('courier_cutoff' in value) || value['courier_cutoff'] === undefined) return false; if (!('cut_in' in value) || value['cut_in'] === undefined) return false; if (!('delivery_method_id' in value) || value['delivery_method_id'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; if (!('return_settings' in value) || value['return_settings'] === undefined) return false; if (!('warehouse_id' in value) || value['warehouse_id'] === undefined) return false; return true; } function V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestFromJSON(json) { return V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestFromJSONTyped(json, false); } function V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'courier_cutoff': json['courier_cutoff'], 'cut_in': json['cut_in'], 'delivery_method_id': json['delivery_method_id'], 'name': json['name'], 'return_settings': (0, V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestReturnSettings_1.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestReturnSettingsFromJSON)(json['return_settings']), 'warehouse_id': json['warehouse_id'], }; } function V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestToJSON(value) { if (value == null) { return value; } return { 'courier_cutoff': value['courier_cutoff'], 'cut_in': value['cut_in'], 'delivery_method_id': value['delivery_method_id'], 'name': value['name'], 'return_settings': (0, V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestReturnSettings_1.V1WarehouseERFBSNonIntegratedDeliveryMethodUpdateRequestReturnSettingsToJSON)(value['return_settings']), 'warehouse_id': value['warehouse_id'], }; }