import { IOrganization } from './organization'; import { IProject } from './project'; import { IPropertyValue } from './propertyValue'; import { IService as IPaymentService, PaymentServiceType } from './service/paymentService'; export declare enum PermitType { Permit = "Permit" } /** * メンバーシップ出力決済サービス(対面決済IF) */ export interface IIssuedThroughAsFaceToFace { id?: never; typeOf: PaymentServiceType.FaceToFace; } /** * メンバーシップ出力決済サービス(クレジットカードIF) */ export type IIssuedThroughAsCreditCard = Pick & { /** * 決済サービスID */ id: string; serviceType?: never; typeOf: PaymentServiceType.CreditCard; }; export type IIssuedThrough = IIssuedThroughAsFaceToFace | IIssuedThroughAsCreditCard; export type IIssuedBy = Pick; /** * A permit issued by an organization, e.g. a parking pass. * {@link https://schema.org/Permit} */ export interface IPermit { name?: string; project: Pick; typeOf: PermitType; identifier?: string; accessCode?: string; additionalProperty?: IPropertyValue[]; dateIssued?: Date; /** * The organization issuing the ticket or permit. */ issuedBy?: IIssuedBy; /** * The service through with the permit was granted. */ issuedThrough?: IIssuedThrough; /** * The target audience for this permit. */ /** * The duration of validity of a permit or similar thing. */ validFor?: string; /** * The date when the item becomes valid. */ validFrom?: Date; /** * The geographic area where a permit or similar thing is valid. */ /** * The date when the item is no longer valid. */ validUntil?: Date; }