Files
ozon-seller-typescript/dist/models/V1SellerActionsCreateVoucherRequest.d.ts
2026-08-21 12:19:50 +00:00

76 lines
3.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* Документация 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 { V1SellerActionsCreateVoucherRequestDiscountTypeEnum } from './V1SellerActionsCreateVoucherRequestDiscountTypeEnum';
import type { V1SellerActionsCreateVoucherRequestVoucherParameter } from './V1SellerActionsCreateVoucherRequestVoucherParameter';
/**
*
* @export
* @interface V1SellerActionsCreateVoucherRequest
*/
export interface V1SellerActionsCreateVoucherRequest {
/**
* Бюджет акции. Если бюджет закончится, акция остановится.
* @type {number}
* @memberof V1SellerActionsCreateVoucherRequest
*/
budget: number;
/**
* Дата и время окончания акции.
* @type {string}
* @memberof V1SellerActionsCreateVoucherRequest
*/
date_end: string;
/**
* Дата и время начала акции.
* @type {string}
* @memberof V1SellerActionsCreateVoucherRequest
*/
date_start: string;
/**
*
* @type {V1SellerActionsCreateVoucherRequestDiscountTypeEnum}
* @memberof V1SellerActionsCreateVoucherRequest
*/
discount_type: V1SellerActionsCreateVoucherRequestDiscountTypeEnum;
/**
* Размер скидки.
* @type {number}
* @memberof V1SellerActionsCreateVoucherRequest
*/
discount_value: number;
/**
* Название акции.
* @type {string}
* @memberof V1SellerActionsCreateVoucherRequest
*/
title: string;
/**
* Идентификаторы пользователей, которым доступен промокод.
* @type {Array<string>}
* @memberof V1SellerActionsCreateVoucherRequest
*/
user_ids?: Array<string>;
/**
*
* @type {V1SellerActionsCreateVoucherRequestVoucherParameter}
* @memberof V1SellerActionsCreateVoucherRequest
*/
voucher_parameters: V1SellerActionsCreateVoucherRequestVoucherParameter;
}
/**
* Check if a given object implements the V1SellerActionsCreateVoucherRequest interface.
*/
export declare function instanceOfV1SellerActionsCreateVoucherRequest(value: object): value is V1SellerActionsCreateVoucherRequest;
export declare function V1SellerActionsCreateVoucherRequestFromJSON(json: any): V1SellerActionsCreateVoucherRequest;
export declare function V1SellerActionsCreateVoucherRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1SellerActionsCreateVoucherRequest;
export declare function V1SellerActionsCreateVoucherRequestToJSON(value?: V1SellerActionsCreateVoucherRequest | null): any;