142 lines
5.2 KiB
TypeScript
142 lines
5.2 KiB
TypeScript
/**
|
||
* Документация 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.
|
||
*/
|
||
import type { ParameterAutoStopActionReasonEnum } from './ParameterAutoStopActionReasonEnum';
|
||
import type { SellerActionsListRequestStatusEnum } from './SellerActionsListRequestStatusEnum';
|
||
import type { ParameterDiscountLevels } from './ParameterDiscountLevels';
|
||
import type { ActionParameterDiscountTypeEnum } from './ActionParameterDiscountTypeEnum';
|
||
import type { ParameterPickedSegment } from './ParameterPickedSegment';
|
||
import type { SellerActionsListRequestActionTypeEnum } from './SellerActionsListRequestActionTypeEnum';
|
||
import type { ActionParameterVoucherParameter } from './ActionParameterVoucherParameter';
|
||
/**
|
||
* Параметры акции.
|
||
* @export
|
||
* @interface ActionParameter
|
||
*/
|
||
export interface ActionParameter {
|
||
/**
|
||
* Список адресов.
|
||
* @type {Array<string>}
|
||
* @memberof ActionParameter
|
||
*/
|
||
addresses?: Array<string>;
|
||
/**
|
||
*
|
||
* @type {ParameterAutoStopActionReasonEnum}
|
||
* @memberof ActionParameter
|
||
*/
|
||
auto_stop_action_reason?: ParameterAutoStopActionReasonEnum;
|
||
/**
|
||
* Бюджет акции. Если бюджет закончится, акция остановится.
|
||
* @type {number}
|
||
* @memberof ActionParameter
|
||
*/
|
||
budget?: number;
|
||
/**
|
||
* Расходы бюджета акции.
|
||
* @type {number}
|
||
* @memberof ActionParameter
|
||
*/
|
||
budget_spent?: number;
|
||
/**
|
||
* Дата и время окончания акции.
|
||
* @type {string}
|
||
* @memberof ActionParameter
|
||
*/
|
||
date_end?: string;
|
||
/**
|
||
* Дата и время начала акции.
|
||
* @type {string}
|
||
* @memberof ActionParameter
|
||
*/
|
||
date_start?: string;
|
||
/**
|
||
* Уровни скидки.
|
||
* @type {Array<ParameterDiscountLevels>}
|
||
* @memberof ActionParameter
|
||
*/
|
||
discount_levels?: Array<ParameterDiscountLevels>;
|
||
/**
|
||
*
|
||
* @type {ActionParameterDiscountTypeEnum}
|
||
* @memberof ActionParameter
|
||
*/
|
||
discount_type?: ActionParameterDiscountTypeEnum;
|
||
/**
|
||
* Размер скидки. Если механика акции «Беспроцентная рассрочка», вернётся период рассрочки.
|
||
* @type {number}
|
||
* @memberof ActionParameter
|
||
*/
|
||
discount_value?: number;
|
||
/**
|
||
* `true`, если акция для юридических лиц.
|
||
*
|
||
* @type {boolean}
|
||
* @memberof ActionParameter
|
||
*/
|
||
is_legal_entities_segment?: boolean;
|
||
/**
|
||
* Минимальный процент скидки.
|
||
* @type {number}
|
||
* @memberof ActionParameter
|
||
*/
|
||
min_action_percent?: number;
|
||
/**
|
||
* Сумма заказа, с которой действует скидка.
|
||
* @type {number}
|
||
* @memberof ActionParameter
|
||
*/
|
||
min_order_amount?: number;
|
||
/**
|
||
* Список сегментов аудиторий.
|
||
* @type {Array<ParameterPickedSegment>}
|
||
* @memberof ActionParameter
|
||
*/
|
||
picked_segments?: Array<ParameterPickedSegment>;
|
||
/**
|
||
*
|
||
* @type {SellerActionsListRequestStatusEnum}
|
||
* @memberof ActionParameter
|
||
*/
|
||
status?: SellerActionsListRequestStatusEnum;
|
||
/**
|
||
* Название акции.
|
||
* @type {string}
|
||
* @memberof ActionParameter
|
||
*/
|
||
title?: string;
|
||
/**
|
||
*
|
||
* @type {SellerActionsListRequestActionTypeEnum}
|
||
* @memberof ActionParameter
|
||
*/
|
||
type?: SellerActionsListRequestActionTypeEnum;
|
||
/**
|
||
*
|
||
* @type {ActionParameterVoucherParameter}
|
||
* @memberof ActionParameter
|
||
*/
|
||
voucher_parameters?: ActionParameterVoucherParameter;
|
||
/**
|
||
* Список складов.
|
||
* @type {Array<string>}
|
||
* @memberof ActionParameter
|
||
*/
|
||
warehouses?: Array<string>;
|
||
}
|
||
/**
|
||
* Check if a given object implements the ActionParameter interface.
|
||
*/
|
||
export declare function instanceOfActionParameter(value: object): value is ActionParameter;
|
||
export declare function ActionParameterFromJSON(json: any): ActionParameter;
|
||
export declare function ActionParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionParameter;
|
||
export declare function ActionParameterToJSON(value?: ActionParameter | null): any;
|