69 lines
4.7 KiB
TypeScript
69 lines
4.7 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 { V1GetReceiptRequest, V1GetReceiptResponse, V1ReceiptsSellerListRequest, V1ReceiptsSellerListResponse, V1UploadReceiptRequestTypeEnum, V1UploadReceiptResponse } from '../models/index';
|
||
export interface GetReceiptRequest {
|
||
clientId: string;
|
||
apiKey: string;
|
||
v1GetReceiptRequest?: V1GetReceiptRequest;
|
||
}
|
||
export interface ReceiptsSellerListRequest {
|
||
clientId: string;
|
||
apiKey: string;
|
||
v1ReceiptsSellerListRequest?: V1ReceiptsSellerListRequest;
|
||
}
|
||
export interface UploadReceiptRequest {
|
||
clientId: string;
|
||
apiKey: string;
|
||
content: string;
|
||
operationType: string;
|
||
postingNumbers: Array<string>;
|
||
receiptNumber: string;
|
||
type: V1UploadReceiptRequestTypeEnum;
|
||
parentReceiptId?: string;
|
||
}
|
||
/**
|
||
*
|
||
*/
|
||
export declare class Receipt extends runtime.BaseAPI {
|
||
/**
|
||
* <aside class=\"warning\"> Метод доступен продавцам, которые заключили договор с ТОО «ОЗОН Маркетплейс Казахстан». </aside>
|
||
* Получить чек в формате PDF
|
||
*/
|
||
getReceiptRaw(requestParameters: GetReceiptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1GetReceiptResponse>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод доступен продавцам, которые заключили договор с ТОО «ОЗОН Маркетплейс Казахстан». </aside>
|
||
* Получить чек в формате PDF
|
||
*/
|
||
getReceipt(clientId: string, apiKey: string, v1GetReceiptRequest?: V1GetReceiptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1GetReceiptResponse>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод доступен продавцам, которые заключили договор с ТОО «ОЗОН Маркетплейс Казахстан». </aside>
|
||
* Получить список чеков продавца
|
||
*/
|
||
receiptsSellerListRaw(requestParameters: ReceiptsSellerListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1ReceiptsSellerListResponse>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод доступен продавцам, которые заключили договор с ТОО «ОЗОН Маркетплейс Казахстан». </aside>
|
||
* Получить список чеков продавца
|
||
*/
|
||
receiptsSellerList(clientId: string, apiKey: string, v1ReceiptsSellerListRequest?: V1ReceiptsSellerListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1ReceiptsSellerListResponse>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод доступен продавцам, которые заключили договор с ТОО «ОЗОН Маркетплейс Казахстан». </aside>
|
||
* Загрузить чек
|
||
*/
|
||
uploadReceiptRaw(requestParameters: UploadReceiptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1UploadReceiptResponse>>;
|
||
/**
|
||
* <aside class=\"warning\"> Метод доступен продавцам, которые заключили договор с ТОО «ОЗОН Маркетплейс Казахстан». </aside>
|
||
* Загрузить чек
|
||
*/
|
||
uploadReceipt(clientId: string, apiKey: string, content: string, operationType: string, postingNumbers: Array<string>, receiptNumber: string, type: V1UploadReceiptRequestTypeEnum, parentReceiptId?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1UploadReceiptResponse>;
|
||
}
|