UNPKG

xero-node

Version:

Xero NodeJS OAuth 2.0 client for xero-node

106 lines (105 loc) 2.83 kB
/** * Accounting API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * Contact: api@xero.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 { Contact } from './contact'; import { CurrencyCode } from './currencyCode'; import { LineAmountTypes } from './lineAmountTypes'; import { LineItem } from './lineItem'; import { QuoteStatusCodes } from './quoteStatusCodes'; export declare class Quote { /** * Xero generated unique identifier for quote */ 'quoteID'?: string; /** * Unique alpha numeric code identifying quote (when missing will auto-generate from your Organisation Invoice Settings) */ 'quoteNumber'?: string; /** * Additional reference number */ 'reference'?: string; /** * Terms of the quote */ 'terms'?: string; 'contact': Contact; /** * See LineItems */ 'lineItems'?: Array<LineItem>; /** * Date quote was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation */ 'date'?: string; /** * Date the quote was issued (YYYY-MM-DD) */ 'dateString'?: string; /** * Date the quote expires – YYYY-MM-DD. */ 'expiryDate'?: string; /** * Date the quote expires – YYYY-MM-DD. */ 'expiryDateString'?: string; 'status'?: QuoteStatusCodes; 'currencyCode'?: CurrencyCode; /** * The currency rate for a multicurrency quote. If no rate is specified, the XE.com day rate is used. */ 'currencyRate'?: number; /** * Total of quote excluding taxes. */ 'subTotal'?: number; /** * Total tax on quote */ 'totalTax'?: number; /** * Total of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts */ 'total'?: number; /** * Total of discounts applied on the quote line items */ 'totalDiscount'?: number; /** * Title text for the quote */ 'title'?: string; /** * Summary text for the quote */ 'summary'?: string; /** * See BrandingThemes */ 'brandingThemeID'?: string; /** * Last modified date UTC format */ 'updatedDateUTC'?: Date; 'lineAmountTypes'?: LineAmountTypes; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; }