import * as factory from '../../factory'; import { ISearchResult, Service } from '../../service'; export declare type IPermitWithAccountDetails = Omit & { paymentAccount?: factory.permit.IPaymentAccountWithDetail; }; export declare type ICreditCard = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardRaw | factory.paymentMethod.paymentCard.creditCard.IUncheckedCardTokenized; export declare type IOwnershipInfoWithDetail = Omit, 'acquiredFrom' | 'identifier' | 'ownedBy'>; export declare type IMembershipOwnershipInfoWithDetail = Omit, 'acquiredFrom' | 'identifier' | 'ownedBy'>; export declare type IPaymentCardOwnershipInfoWithDetail = Omit, 'acquiredFrom' | 'identifier' | 'ownedBy'>; export declare type IReservationOwnershipInfoWithDetail = Omit, 'acquiredFrom' | 'identifier' | 'ownedBy'>; export interface ICodeResponse { code: string; } /** * ユーザー所有権サービス */ export declare class PersonOwnershipInfoService extends Service { /** * クレジットカード追加 */ addCreditCard(params: { /** * 未指定の場合`me`がセットされます */ id?: string; /** * クレジットカード情報 * 情報の渡し方にはいくつかパターンがあるので、型を参照すること */ creditCard: ICreditCard; }): Promise; /** * クレジットカード検索 */ searchCreditCards(params: { /** * 未指定の場合`me`がセットされます */ id?: string; iss: string; }): Promise; /** * クレジットカード削除 */ deleteCreditCard(params: { /** * 未指定の場合`me`がセットされます */ id?: string; /** * カード連番 */ cardSeq: string; iss: string; }): Promise; /** * ペイメントカード所有権削除 */ /** * 口座取引履歴検索 */ searchAccountMoneyTransferActions(params: { limit?: number; page?: number; accountNumber: string; /** * 未指定の場合`me`がセットされます */ id?: string; }): Promise>; /** * マイメンバーシップ検索 */ searchMyMemberships(params: { limit?: number; page?: number; sort?: factory.ownershipInfo.ISortOrder; ownedFrom?: Date; ownedThrough?: Date; iss: string; }): Promise>; /** * マイペイメントカード検索 */ searchMyPaymentCards(params: { limit?: number; page?: number; sort?: factory.ownershipInfo.ISortOrder; ownedFrom?: Date; ownedThrough?: Date; iss: string; }): Promise>; /** * マイ予約検索 */ searchMyReservations(params: { limit?: number; page?: number; sort?: factory.ownershipInfo.ISortOrder; ownedFrom?: Date; ownedThrough?: Date; iss: string; }): Promise>; /** * 所有権検索 */ search(params: factory.ownershipInfo.ISearchConditions & { /** * 未指定の場合`me`がセットされます */ id?: string; iss: string; }): Promise>; /** * 所有権に対して承認コードを発行する */ authorize(params: { /** * 未指定の場合`me`がセットされます */ id?: string; ownershipInfoId: string; }): Promise; /** * 会員所有権削除 */ deleteOwnershipInfoById(params: { /** * 未指定の場合`me`がセットされます */ id?: string; ownershipInfoId: string; }): Promise; }