UNPKG

@dodi-smart/nuki-graphql-api

Version:
64 lines 1.26 kB
import type { ObjectId } from './ObjectId'; export type AccountSubscription = { id: ObjectId; /** * The account id */ accountId: number; /** * The subscription id */ subscriptionId: number; /** * The actual period */ period: number; /** * The payment type */ paymentType: AccountSubscription.paymentType; /** * The quantity of authorizations */ quantity: number; /** * The optional gift article after first purchase */ giftArticle?: string; /** * The status */ status: AccountSubscription.status; /** * The start date */ startDate?: number; /** * The period end date */ periodEndDate?: number; /** * The next payment date */ nextPaymentDate?: number; }; export declare namespace AccountSubscription { /** * The payment type */ enum paymentType { FREE = "free", PAYPAL = "paypal", CARD = "card", ACCOUNT = "account" } /** * The status */ enum status { ACTIVE = "active", DEACTIVATED = "deactivated", FINISHED = "finished" } } //# sourceMappingURL=AccountSubscription.d.ts.map