77 lines
4.5 KiB
JavaScript
77 lines
4.5 KiB
JavaScript
"use strict";
|
||
/* tslint:disable */
|
||
/* eslint-disable */
|
||
/**
|
||
* Документация Ozon Seller API
|
||
* По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. <aside class=\"warning\">Обновляем корневой TLS/SSL-сертификат GlobalSign — вместо него будем использовать <a href=\"https://app.harica.gr/\">HARICA</a>.<br><a href=\"https://dev.ozon.ru/news/775-Izmeneniia-v-Ozon-API-migratsiia-kornevogo-sertifikata-UTs-Ozon/\">Подробнее о переходе на HARICA на платформе разработчиков Ozon for dev</a></aside> > [Инструкции по работе с маркетплейсом](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.instanceOfGetSellerActionsV1ResponseAction = instanceOfGetSellerActionsV1ResponseAction;
|
||
exports.GetSellerActionsV1ResponseActionFromJSON = GetSellerActionsV1ResponseActionFromJSON;
|
||
exports.GetSellerActionsV1ResponseActionFromJSONTyped = GetSellerActionsV1ResponseActionFromJSONTyped;
|
||
exports.GetSellerActionsV1ResponseActionToJSON = GetSellerActionsV1ResponseActionToJSON;
|
||
/**
|
||
* Check if a given object implements the GetSellerActionsV1ResponseAction interface.
|
||
*/
|
||
function instanceOfGetSellerActionsV1ResponseAction(value) {
|
||
return true;
|
||
}
|
||
function GetSellerActionsV1ResponseActionFromJSON(json) {
|
||
return GetSellerActionsV1ResponseActionFromJSONTyped(json, false);
|
||
}
|
||
function GetSellerActionsV1ResponseActionFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'id': json['id'] == null ? undefined : json['id'],
|
||
'title': json['title'] == null ? undefined : json['title'],
|
||
'action_type': json['action_type'] == null ? undefined : json['action_type'],
|
||
'description': json['description'] == null ? undefined : json['description'],
|
||
'date_start': json['date_start'] == null ? undefined : json['date_start'],
|
||
'date_end': json['date_end'] == null ? undefined : json['date_end'],
|
||
'auto_add_dates': json['auto_add_dates'] == null ? undefined : json['auto_add_dates'],
|
||
'freeze_date': json['freeze_date'] == null ? undefined : json['freeze_date'],
|
||
'potential_products_count': json['potential_products_count'] == null ? undefined : json['potential_products_count'],
|
||
'participating_products_count': json['participating_products_count'] == null ? undefined : json['participating_products_count'],
|
||
'is_participating': json['is_participating'] == null ? undefined : json['is_participating'],
|
||
'is_voucher_action': json['is_voucher_action'] == null ? undefined : json['is_voucher_action'],
|
||
'banned_products_count': json['banned_products_count'] == null ? undefined : json['banned_products_count'],
|
||
'with_targeting': json['with_targeting'] == null ? undefined : json['with_targeting'],
|
||
'order_amount': json['order_amount'] == null ? undefined : json['order_amount'],
|
||
'discount_type': json['discount_type'] == null ? undefined : json['discount_type'],
|
||
'discount_value': json['discount_value'] == null ? undefined : json['discount_value'],
|
||
};
|
||
}
|
||
function GetSellerActionsV1ResponseActionToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'id': value['id'],
|
||
'title': value['title'],
|
||
'action_type': value['action_type'],
|
||
'description': value['description'],
|
||
'date_start': value['date_start'],
|
||
'date_end': value['date_end'],
|
||
'auto_add_dates': value['auto_add_dates'],
|
||
'freeze_date': value['freeze_date'],
|
||
'potential_products_count': value['potential_products_count'],
|
||
'participating_products_count': value['participating_products_count'],
|
||
'is_participating': value['is_participating'],
|
||
'is_voucher_action': value['is_voucher_action'],
|
||
'banned_products_count': value['banned_products_count'],
|
||
'with_targeting': value['with_targeting'],
|
||
'order_amount': value['order_amount'],
|
||
'discount_type': value['discount_type'],
|
||
'discount_value': value['discount_value'],
|
||
};
|
||
}
|