From 235891d0f990811f4f9aaf8cb5bffecfcf8ab5d6 Mon Sep 17 00:00:00 2001 From: Rett Behrens Date: Tue, 1 Nov 2022 16:30:40 -0600 Subject: [PATCH 1/2] generate xero-node 4.29.0 from OAS 2.31.0 --- docs/accounting/index.html | 6 +- docs/appstore/index.html | 505 +++++++++++++++++++- docs/assets/index.html | 2 +- docs/bankfeeds/index.html | 2 +- docs/files/index.html | 2 +- docs/finance/index.html | 2 +- docs/payroll-au/index.html | 2 +- docs/payroll-nz/index.html | 2 +- docs/payroll-uk/index.html | 2 +- docs/projects/index.html | 2 +- package.json | 8 +- src/gen/api/accountingApi.ts | 4 +- src/gen/api/appStoreApi.ts | 217 ++++++++- src/gen/api/assetApi.ts | 4 +- src/gen/api/bankfeedsApi.ts | 4 +- src/gen/api/filesApi.ts | 4 +- src/gen/api/financeApi.ts | 4 +- src/gen/api/payrollAUApi.ts | 4 +- src/gen/api/payrollNZApi.ts | 4 +- src/gen/api/payrollUKApi.ts | 4 +- src/gen/api/projectApi.ts | 4 +- src/gen/model/accounting/lineItem.ts | 4 +- src/gen/model/appstore/createUsageRecord.ts | 33 ++ src/gen/model/appstore/models.ts | 12 + src/gen/model/appstore/updateUsageRecord.ts | 24 + src/gen/model/appstore/usageRecord.ts | 84 ++++ src/gen/model/appstore/usageRecordsList.ts | 25 + 27 files changed, 932 insertions(+), 38 deletions(-) create mode 100644 src/gen/model/appstore/createUsageRecord.ts create mode 100644 src/gen/model/appstore/updateUsageRecord.ts create mode 100644 src/gen/model/appstore/usageRecord.ts create mode 100644 src/gen/model/appstore/usageRecordsList.ts diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 39d256d7..b2fab574 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -3577,7 +3577,7 @@ }, "LineAmount" : { "type" : "number", - "description" : "If you wish to omit either of the or you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100)", + "description" : "If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount", "format" : "double", "x-is-money" : true }, @@ -3596,7 +3596,7 @@ }, "DiscountAmount" : { "type" : "number", - "description" : "Discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts.", + "description" : "Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.", "format" : "double", "x-is-money" : true }, @@ -6070,7 +6070,7 @@