import { IAuthorizeProductOfferResult } from '../chevre/transaction/placeOrder/factory'; import * as factory from '../factory'; import { ISearchResult, Service } from '../service'; export interface IPurpose { typeOf: factory.transactionType; id: string; } interface ISearchConditions { limit?: number; page?: number; id?: { /** * IDリストを最大10件まで指定可能 */ $in?: string[]; }; } /** * オファーサービス */ export declare class OfferService extends Service { /** * オファー検索 */ search(params: ISearchConditions): Promise>; /** * 入金オファー承認 */ authorizeMoneyTransfer(params: { object: factory.action.authorize.offer.moneyTransfer.IObject; purpose: factory.action.authorize.offer.moneyTransfer.IPurpose; }): Promise; /** * プロダクトオファー承認 */ authorizeProduct(params: { object: factory.action.authorize.offer.product.IObjectWithoutDetail; purpose: factory.action.authorize.offer.product.IPurpose; }): Promise; /** * オファー承認取消 */ voidAuthorization(params: { /** * 承認アクションID */ id: string; object: { itemOffered: { typeOf: factory.actionType.MoneyTransfer | factory.product.ProductType; }; }; purpose: IPurpose; }): Promise; } export {};