message: drop pdf in an xpath
diff: @@ -8058,7 +8058,7 @@ export class AccountingApi {
  * @param contentType The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
  */
  public async getInvoiceAsPdf (xeroTenantId: string, invoiceID: string, contentType: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
  - const localVarPath = this.basePath + '/Invoices/{InvoiceID}/pdf'
  + const localVarPath = this.basePath + '/Invoices/{InvoiceID}'
  .replace('{' + 'InvoiceID' + '}', encodeURIComponent(String(invoiceID)));
  let localVarQueryParameters: any = {};
  let localVarHeaderParams: any = (<any>Object).assign({}, this.defaultHeaders);
  