UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

55 lines (54 loc) 1.14 kB
import { Connection } from 'mongoose'; /** * 販売者対応決済方法リポジトリ */ export declare class SellerPaymentAcceptedRepo { private readonly sellerModel; constructor(connection: Connection); search(params: { limit?: number; page?: number; seller?: { id?: { $eq?: string; }; }; project?: { id?: { $eq?: string; }; }; codeValue?: { $eq?: string; }; }): Promise<{ codeValue: string; seller: { id: string; }; }[]>; create(params: { codeValue: string; project: { id: string; }; seller: { id: string; }; }): Promise<void>; deleteOne(params: { codeValue: string; project: { id: string; }; seller: { id: string; }; }): Promise<void>; isAcceptedBySeller(params: { seller: { id: string; }; codeValue: string; }): Promise<boolean>; }