UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

260 lines (253 loc) 6.82 kB
/** * Onshape REST API * The Onshape REST API consumed by all clients. * * OpenAPI spec version: 1.93 * Contact: api-support@onshape.zendesk.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { BTAPIApplicationSummaryInfo } from './bTAPIApplicationSummaryInfo'; import { BTBillingPlanInfo } from './bTBillingPlanInfo'; import { BTCardInfo } from './bTCardInfo'; import { BTPlanSubscriberInfo } from './bTPlanSubscriberInfo'; import { NextCharge } from './nextCharge'; import { ProratedCharges } from './proratedCharges'; import { Subscription } from './subscription'; export class BTPurchaseInfo { 'state'?: number; 'lastModified'?: Date; 'subscriptionFields'?: Subscription; 'purchaseDate'?: Date; 'subscribers'?: Array<BTPlanSubscriberInfo>; 'pendingCancelation'?: boolean; 'nextCharge'?: NextCharge; 'proratedCharges'?: Array<ProratedCharges>; 'proratedTotal'?: number; 'couponAmountOff'?: number; 'durationMonths'?: number; 'group'?: string; 'duration'?: number; 'currency'?: string; 'lightSeats'?: number; 'accountId'?: string; 'planId'?: string; 'plan'?: BTBillingPlanInfo; 'seats'?: number; 'subscriptionBeginAt'?: Date; 'subscriptionEndAt'?: Date; 'subscriptionId'?: string; 'application'?: BTAPIApplicationSummaryInfo; 'clientId'?: string; 'paymentType'?: number; 'amountCents'?: number; 'planType'?: number; 'card'?: BTCardInfo; 'canceledAt'?: Date; 'couponPercentOff'?: number; 'planName'?: string; 'actualAmountPaidCents'?: number; 'resellerName'?: string; 'trialEnd'?: Date; 'name'?: string; 'id'?: string; 'href'?: string; 'viewRef'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "state", "baseName": "state", "type": "number" }, { "name": "lastModified", "baseName": "lastModified", "type": "Date" }, { "name": "subscriptionFields", "baseName": "subscriptionFields", "type": "Subscription" }, { "name": "purchaseDate", "baseName": "purchaseDate", "type": "Date" }, { "name": "subscribers", "baseName": "subscribers", "type": "Array<BTPlanSubscriberInfo>" }, { "name": "pendingCancelation", "baseName": "pendingCancelation", "type": "boolean" }, { "name": "nextCharge", "baseName": "nextCharge", "type": "NextCharge" }, { "name": "proratedCharges", "baseName": "proratedCharges", "type": "Array<ProratedCharges>" }, { "name": "proratedTotal", "baseName": "proratedTotal", "type": "number" }, { "name": "couponAmountOff", "baseName": "couponAmountOff", "type": "number" }, { "name": "durationMonths", "baseName": "durationMonths", "type": "number" }, { "name": "group", "baseName": "group", "type": "string" }, { "name": "duration", "baseName": "duration", "type": "number" }, { "name": "currency", "baseName": "currency", "type": "string" }, { "name": "lightSeats", "baseName": "lightSeats", "type": "number" }, { "name": "accountId", "baseName": "accountId", "type": "string" }, { "name": "planId", "baseName": "planId", "type": "string" }, { "name": "plan", "baseName": "plan", "type": "BTBillingPlanInfo" }, { "name": "seats", "baseName": "seats", "type": "number" }, { "name": "subscriptionBeginAt", "baseName": "subscriptionBeginAt", "type": "Date" }, { "name": "subscriptionEndAt", "baseName": "subscriptionEndAt", "type": "Date" }, { "name": "subscriptionId", "baseName": "subscriptionId", "type": "string" }, { "name": "application", "baseName": "application", "type": "BTAPIApplicationSummaryInfo" }, { "name": "clientId", "baseName": "clientId", "type": "string" }, { "name": "paymentType", "baseName": "paymentType", "type": "number" }, { "name": "amountCents", "baseName": "amountCents", "type": "number" }, { "name": "planType", "baseName": "planType", "type": "number" }, { "name": "card", "baseName": "card", "type": "BTCardInfo" }, { "name": "canceledAt", "baseName": "canceledAt", "type": "Date" }, { "name": "couponPercentOff", "baseName": "couponPercentOff", "type": "number" }, { "name": "planName", "baseName": "planName", "type": "string" }, { "name": "actualAmountPaidCents", "baseName": "actualAmountPaidCents", "type": "number" }, { "name": "resellerName", "baseName": "resellerName", "type": "string" }, { "name": "trialEnd", "baseName": "trialEnd", "type": "Date" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "href", "baseName": "href", "type": "string" }, { "name": "viewRef", "baseName": "viewRef", "type": "string" } ]; static getAttributeTypeMap() { return BTPurchaseInfo.attributeTypeMap; } }