194 lines
18 KiB
TypeScript
194 lines
18 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 * as runtime from '../runtime';
|
||
import type { ReviewV2ReviewChangeStatusV2Request, ReviewV2ReviewCommentDeleteV2Request, ReviewV2ReviewCountV2Response, ReviewV2ReviewInfoV2Request, ReviewV2ReviewInfoV2Response, ReviewV2ReviewListV2Request, ReviewV2ReviewListV2Response, V1CommentCreateRequest, V1CommentCreateResponse, V1CommentDeleteRequest, V1CommentListRequest, V1CommentListResponse, V1ReviewChangeStatusRequest, V1ReviewCountResponse, V1ReviewInfoRequest, V1ReviewInfoResponse, V1ReviewListRequest, V1ReviewListResponse } from '../models/index';
|
||
export interface ReviewAPICommentCreateRequest {
|
||
v1CommentCreateRequest: V1CommentCreateRequest;
|
||
}
|
||
export interface ReviewAPICommentDeleteRequest {
|
||
v1CommentDeleteRequest: V1CommentDeleteRequest;
|
||
}
|
||
export interface ReviewAPICommentListRequest {
|
||
v1CommentListRequest: V1CommentListRequest | null;
|
||
}
|
||
export interface ReviewAPIReviewChangeStatusRequest {
|
||
v1ReviewChangeStatusRequest: V1ReviewChangeStatusRequest;
|
||
}
|
||
export interface ReviewAPIReviewCountRequest {
|
||
body: object;
|
||
}
|
||
export interface ReviewAPIReviewInfoRequest {
|
||
v1ReviewInfoRequest: V1ReviewInfoRequest;
|
||
}
|
||
export interface ReviewAPIReviewListRequest {
|
||
v1ReviewListRequest: V1ReviewListRequest;
|
||
}
|
||
export interface ReviewChangeStatusV2Request {
|
||
clientId: string;
|
||
apiKey: string;
|
||
reviewV2ReviewChangeStatusV2Request: ReviewV2ReviewChangeStatusV2Request;
|
||
}
|
||
export interface ReviewCommentDeleteV2Request {
|
||
clientId: string;
|
||
apiKey: string;
|
||
reviewV2ReviewCommentDeleteV2Request: ReviewV2ReviewCommentDeleteV2Request;
|
||
}
|
||
export interface ReviewCountV2Request {
|
||
clientId: string;
|
||
apiKey: string;
|
||
}
|
||
export interface ReviewInfoV2Request {
|
||
clientId: string;
|
||
apiKey: string;
|
||
reviewV2ReviewInfoV2Request: ReviewV2ReviewInfoV2Request;
|
||
}
|
||
export interface ReviewListV2Request {
|
||
clientId: string;
|
||
apiKey: string;
|
||
reviewV2ReviewListV2Request: ReviewV2ReviewListV2Request;
|
||
}
|
||
/**
|
||
*
|
||
*/
|
||
export declare class ReviewAPI extends runtime.BaseAPI {
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Оставить комментарий на отзыв
|
||
*/
|
||
reviewAPICommentCreateRaw(requestParameters: ReviewAPICommentCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1CommentCreateResponse>>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Оставить комментарий на отзыв
|
||
*/
|
||
reviewAPICommentCreate(v1CommentCreateRequest: V1CommentCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1CommentCreateResponse>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewCommentDeleteV2\">/v2/review/comment/delete</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Удалить комментарий на отзыв
|
||
* @deprecated
|
||
*/
|
||
reviewAPICommentDeleteRaw(requestParameters: ReviewAPICommentDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewCommentDeleteV2\">/v2/review/comment/delete</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Удалить комментарий на отзыв
|
||
* @deprecated
|
||
*/
|
||
reviewAPICommentDelete(v1CommentDeleteRequest: V1CommentDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro). Метод возвращает информацию по комментариям на отзывы, которые прошли модерацию.
|
||
* Получить список комментариев на отзыв
|
||
*/
|
||
reviewAPICommentListRaw(requestParameters: ReviewAPICommentListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1CommentListResponse>>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro). Метод возвращает информацию по комментариям на отзывы, которые прошли модерацию.
|
||
* Получить список комментариев на отзыв
|
||
*/
|
||
reviewAPICommentList(v1CommentListRequest: V1CommentListRequest | null, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1CommentListResponse>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewChangeStatusV2\">/v2/review/change-status</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Изменить статус отзывов
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewChangeStatusRaw(requestParameters: ReviewAPIReviewChangeStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewChangeStatusV2\">/v2/review/change-status</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Изменить статус отзывов
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewChangeStatus(v1ReviewChangeStatusRequest: V1ReviewChangeStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewCountV2\">/v2/review/count</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Количество отзывов по статусам
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewCountRaw(requestParameters: ReviewAPIReviewCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1ReviewCountResponse>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewCountV2\">/v2/review/count</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Количество отзывов по статусам
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewCount(body: object, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1ReviewCountResponse>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewInfoV2\">/v2/review/info</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить информацию об отзыве
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewInfoRaw(requestParameters: ReviewAPIReviewInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1ReviewInfoResponse>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewInfoV2\">/v2/review/info</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить информацию об отзыве
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewInfo(v1ReviewInfoRequest: V1ReviewInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1ReviewInfoResponse>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewListV2\">/v2/review/list</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro). Метод не возвращает параметры «Достоинства» и «Недостатки», если они есть в отзывах на товар. Эти параметры устарели, в новых отзывах их нет.
|
||
* Получить список отзывов
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewListRaw(requestParameters: ReviewAPIReviewListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1ReviewListResponse>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод устаревает. Переключитесь на <a href=\"#operation/ReviewListV2\">/v2/review/list</a>. </aside> Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro). Метод не возвращает параметры «Достоинства» и «Недостатки», если они есть в отзывах на товар. Эти параметры устарели, в новых отзывах их нет.
|
||
* Получить список отзывов
|
||
* @deprecated
|
||
*/
|
||
reviewAPIReviewList(v1ReviewListRequest: V1ReviewListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1ReviewListResponse>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Изменить статус отзывов
|
||
*/
|
||
reviewChangeStatusV2Raw(requestParameters: ReviewChangeStatusV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Изменить статус отзывов
|
||
*/
|
||
reviewChangeStatusV2(clientId: string, apiKey: string, reviewV2ReviewChangeStatusV2Request: ReviewV2ReviewChangeStatusV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Удалить комментарий на отзыв
|
||
*/
|
||
reviewCommentDeleteV2Raw(requestParameters: ReviewCommentDeleteV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Удалить комментарий на отзыв
|
||
*/
|
||
reviewCommentDeleteV2(clientId: string, apiKey: string, reviewV2ReviewCommentDeleteV2Request: ReviewV2ReviewCommentDeleteV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить количество отзывов по статусам
|
||
*/
|
||
reviewCountV2Raw(requestParameters: ReviewCountV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReviewV2ReviewCountV2Response>>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить количество отзывов по статусам
|
||
*/
|
||
reviewCountV2(clientId: string, apiKey: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReviewV2ReviewCountV2Response>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить информацию по отзыву
|
||
*/
|
||
reviewInfoV2Raw(requestParameters: ReviewInfoV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReviewV2ReviewInfoV2Response>>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить информацию по отзыву
|
||
*/
|
||
reviewInfoV2(clientId: string, apiKey: string, reviewV2ReviewInfoV2Request: ReviewV2ReviewInfoV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReviewV2ReviewInfoV2Response>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить список отзывов
|
||
*/
|
||
reviewListV2Raw(requestParameters: ReviewListV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReviewV2ReviewListV2Response>>;
|
||
/**
|
||
* Доступно для продавцов с подпиской [Управление отзывами](https://seller-edu.ozon.ru/libra/seller-rating/podpiska-upravlenie-otzyvami) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro).
|
||
* Получить список отзывов
|
||
*/
|
||
reviewListV2(clientId: string, apiKey: string, reviewV2ReviewListV2Request: ReviewV2ReviewListV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReviewV2ReviewListV2Response>;
|
||
}
|