release 0.1.0
This commit is contained in:
63
dist/apis/ChatAPI.d.ts
vendored
Normal file
63
dist/apis/ChatAPI.d.ts
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* Документация 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 { ChatChatSendFileRequest, ChatChatSendFileResponse, V3ChatHistoryRequest, V3ChatHistoryResponse, V3ChatList, V3ChatListResponse } from '../models/index';
|
||||
export interface ChatAPIChatHistoryV3Request {
|
||||
clientId: string;
|
||||
apiKey: string;
|
||||
v3ChatHistoryRequest: V3ChatHistoryRequest;
|
||||
}
|
||||
export interface ChatAPIChatListV3Request {
|
||||
clientId: string;
|
||||
apiKey: string;
|
||||
v3ChatList: V3ChatList;
|
||||
}
|
||||
export interface ChatAPIChatSendFileRequest {
|
||||
clientId: string;
|
||||
apiKey: string;
|
||||
chatChatSendFileRequest: ChatChatSendFileRequest;
|
||||
}
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export declare class ChatAPI extends runtime.BaseAPI {
|
||||
/**
|
||||
* Возвращает историю сообщений чата. По умолчанию от самого нового сообщения к старым. <br><br> Получите список чатов с покупателем `chats.chat.chat_type=\"Buyer_Seller\"` в ответе метода [/v3/chat/list](#operation/ChatAPI_ChatListV3).
|
||||
* История чата
|
||||
*/
|
||||
chatAPIChatHistoryV3Raw(requestParameters: ChatAPIChatHistoryV3Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V3ChatHistoryResponse>>;
|
||||
/**
|
||||
* Возвращает историю сообщений чата. По умолчанию от самого нового сообщения к старым. <br><br> Получите список чатов с покупателем `chats.chat.chat_type=\"Buyer_Seller\"` в ответе метода [/v3/chat/list](#operation/ChatAPI_ChatListV3).
|
||||
* История чата
|
||||
*/
|
||||
chatAPIChatHistoryV3(clientId: string, apiKey: string, v3ChatHistoryRequest: V3ChatHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V3ChatHistoryResponse>;
|
||||
/**
|
||||
* Возвращает информацию о чатах по указанным фильтрам.
|
||||
* Список чатов
|
||||
*/
|
||||
chatAPIChatListV3Raw(requestParameters: ChatAPIChatListV3Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V3ChatListResponse>>;
|
||||
/**
|
||||
* Возвращает информацию о чатах по указанным фильтрам.
|
||||
* Список чатов
|
||||
*/
|
||||
chatAPIChatListV3(clientId: string, apiKey: string, v3ChatList: V3ChatList, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V3ChatListResponse>;
|
||||
/**
|
||||
* Отправляет файл в существующий чат по его идентификатору. <br><br> Отправить файл в чат с покупателем могут только продавцы с подпиской [Premium Plus](https://seller-edu.ozon.ru/seller-rating/about-rating/subscription-premium-plus) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro). Получите список чатов с покупателем `chats.chat.chat_type=\"Buyer_Seller\"` в ответе метода [/v3/chat/list](#operation/ChatAPI_ChatListV3). Для отправлений: - FBO — вы можете отправить файл в течение 48 часов с момента получения последнего сообщения от покупателя. - FBS или rFBS — вы можете отправить файл покупателю после оплаты и в течение 72 часов после доставки отправления. После этого вы можете только отвечать на сообщения в течение 48 часов с момента получения последнего сообщения от покупателя.
|
||||
* Отправить файл
|
||||
*/
|
||||
chatAPIChatSendFileRaw(requestParameters: ChatAPIChatSendFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ChatChatSendFileResponse>>;
|
||||
/**
|
||||
* Отправляет файл в существующий чат по его идентификатору. <br><br> Отправить файл в чат с покупателем могут только продавцы с подпиской [Premium Plus](https://seller-edu.ozon.ru/seller-rating/about-rating/subscription-premium-plus) или [Premium Pro](https://seller-edu.ozon.ru/seller-rating/about-rating/podpiska-premium-pro). Получите список чатов с покупателем `chats.chat.chat_type=\"Buyer_Seller\"` в ответе метода [/v3/chat/list](#operation/ChatAPI_ChatListV3). Для отправлений: - FBO — вы можете отправить файл в течение 48 часов с момента получения последнего сообщения от покупателя. - FBS или rFBS — вы можете отправить файл покупателю после оплаты и в течение 72 часов после доставки отправления. После этого вы можете только отвечать на сообщения в течение 48 часов с момента получения последнего сообщения от покупателя.
|
||||
* Отправить файл
|
||||
*/
|
||||
chatAPIChatSendFile(clientId: string, apiKey: string, chatChatSendFileRequest: ChatChatSendFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChatChatSendFileResponse>;
|
||||
}
|
||||
Reference in New Issue
Block a user