From 15329c3a7193253034e321f34252f469de178265 Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Mon, 22 Jul 2024 13:39:29 +0530 Subject: [PATCH 1/2] Fix 478 | Model Syntax issue | PHP --- xero-app-store.yaml | 2 +- xero-finance.yaml | 2 +- xero-identity.yaml | 2 +- xero-payroll-au.yaml | 25 +++++++------- xero-payroll-nz.yaml | 2 +- xero-payroll-uk.yaml | 2 +- xero-projects.yaml | 2 +- xero_accounting.yaml | 81 ++++++++++++++++++++++---------------------- xero_assets.yaml | 2 +- xero_bankfeeds.yaml | 2 +- xero_files.yaml | 2 +- 11 files changed, 63 insertions(+), 61 deletions(-) diff --git a/xero-app-store.yaml b/xero-app-store.yaml index ff8e3cf0d..79e3c2331 100644 --- a/xero-app-store.yaml +++ b/xero-app-store.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: Xero AppStore API description: These endpoints are for Xero Partners to interact with the App Store Billing platform termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-finance.yaml b/xero-finance.yaml index 32a3a8f9d..240827c76 100644 --- a/xero-finance.yaml +++ b/xero-finance.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: Xero Finance API description: The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital. termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-identity.yaml b/xero-identity.yaml index 43929fb16..0a58d8bac 100644 --- a/xero-identity.yaml +++ b/xero-identity.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: Xero OAuth 2 Identity Service API description: These endpoints are related to managing authentication tokens and identity for Xero API termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-payroll-au.yaml b/xero-payroll-au.yaml index 917ff1b04..35a55add3 100644 --- a/xero-payroll-au.yaml +++ b/xero-payroll-au.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: 'Xero Payroll AU API' description: 'This is the Xero Payroll API for orgs in Australia region.' termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" @@ -3616,7 +3616,7 @@ components: schemas: Employees: type: object - x-isObjectArray: true + x-objectArrayKey: employees properties: Employees: type: array @@ -3788,7 +3788,7 @@ components: $ref: '#/components/schemas/ValidationError' LeaveApplications: type: object - x-isObjectArray: true + x-objectArrayKey: leave_applications properties: LeaveApplications: type: array @@ -3883,7 +3883,7 @@ components: - REJECTED PayItems: type: object - x-isObjectArray: true + x-objectArrayKey: pay_items properties: PayItems: $ref: '#/components/schemas/PayItem' @@ -3908,7 +3908,7 @@ components: $ref: '#/components/schemas/ReimbursementType' PayrollCalendars: type: object - x-isObjectArray: true + x-objectArrayKey: payroll_calendars properties: PayrollCalendars: type: array @@ -3956,7 +3956,7 @@ components: $ref: '#/components/schemas/ValidationError' Timesheets: type: object - x-isObjectArray: true + x-objectArrayKey: timesheets properties: Timesheets: type: array @@ -4048,7 +4048,7 @@ components: example: '/Date(1583967733054+0000)/' PayRuns: type: object - x-isObjectArray: true + x-objectArrayKey: pay_runs properties: PayRuns: type: array @@ -4251,7 +4251,7 @@ components: $ref: '#/components/schemas/Payslip' Payslips: type: object - x-isObjectArray: true + x-objectArrayKey: payslips properties: Payslips: type: array @@ -4514,7 +4514,7 @@ components: example: true SuperFunds: type: object - x-isObjectArray: true + x-objectArrayKey: super_funds properties: SuperFunds: type: array @@ -4581,7 +4581,7 @@ components: $ref: '#/components/schemas/ValidationError' SuperFundProducts: type: object - x-isObjectArray: true + x-objectArrayKey: super_fund_products properties: SuperFundProducts: type: array @@ -5113,7 +5113,8 @@ components: example: 10.00 ReimbursementLines: type: object - x-isObjectArray: true + + x-objectArrayKey: reimbursement_lines description: The reimbursement type lines properties: ReimbursementLines: @@ -5145,7 +5146,7 @@ components: example: 420 LeaveLines: type: object - x-isObjectArray: true + x-objectArrayKey: employee description: The leave type lines properties: Employee: diff --git a/xero-payroll-nz.yaml b/xero-payroll-nz.yaml index cac95978d..803a43550 100644 --- a/xero-payroll-nz.yaml +++ b/xero-payroll-nz.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: 'Xero Payroll NZ' description: 'This is the Xero Payroll API for orgs in the NZ region.' termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-payroll-uk.yaml b/xero-payroll-uk.yaml index bf8236464..ff152e415 100644 --- a/xero-payroll-uk.yaml +++ b/xero-payroll-uk.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: 'Xero Payroll UK' description: 'This is the Xero Payroll API for orgs in the UK region.' termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero-projects.yaml b/xero-projects.yaml index 8694964a0..e12c81a2a 100644 --- a/xero-projects.yaml +++ b/xero-projects.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: Xero Projects API description: This is the Xero Projects API termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero_accounting.yaml b/xero_accounting.yaml index ff1dc926a..f7afab4b0 100644 --- a/xero_accounting.yaml +++ b/xero_accounting.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: title: Xero Accounting API - version: "6.0.0" + version: "6.0.1" termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" contact: name: "Xero Platform Team" @@ -23976,7 +23976,7 @@ components: type: object Accounts: type: object - x-isObjectArray: true + x-objectArrayKey: accounts properties: Accounts: type: array @@ -24133,7 +24133,7 @@ components: - PAYG Attachments: type: object - x-isObjectArray: true + x-objectArrayKey: attachments properties: Attachments: type: array @@ -24169,7 +24169,7 @@ components: type: boolean BankTransactions: type: object - x-isObjectArray: true + x-objectArrayKey: bank_transactions properties: pagination: $ref: '#/components/schemas/Pagination' @@ -24417,7 +24417,7 @@ components: type: object BankTransfers: type: object - x-isObjectArray: true + x-objectArrayKey: bank_transfers properties: BankTransfers: type: array @@ -24498,7 +24498,7 @@ components: type: object BatchPayments: type: object - x-isObjectArray: true + x-objectArrayKey: batch_payments properties: BatchPayments: type: array @@ -24644,7 +24644,7 @@ components: type: object BrandingThemes: type: object - x-isObjectArray: true + x-objectArrayKey: branding_themes properties: BrandingThemes: type: array @@ -24681,7 +24681,7 @@ components: type: object PaymentServices: type: object - x-isObjectArray: true + x-objectArrayKey: payment_services properties: PaymentServices: type: array @@ -24714,7 +24714,7 @@ components: $ref: '#/components/schemas/ValidationError' Contacts: type: object - x-isObjectArray: true + x-objectArrayKey: contacts properties: pagination: $ref: '#/components/schemas/Pagination' @@ -24916,7 +24916,7 @@ components: type: object Budgets: type: object - x-isObjectArray: true + x-objectArrayKey: budgets properties: Budgets: type: array @@ -25027,7 +25027,7 @@ components: x-is-money: true CISSettings: type: object - x-isObjectArray: true + x-objectArrayKey: cis_settings properties: CISSettings: type: array @@ -25048,7 +25048,7 @@ components: x-is-money: true CISOrgSettings: type: object - x-isObjectArray: true + x-objectArrayKey: cis_settings properties: CISSettings: type: array @@ -25090,7 +25090,8 @@ components: type: object ContactGroups: type: object - x-isObjectArray: true + + x-objectArrayKey: contact_groups properties: ContactGroups: type: array @@ -25132,7 +25133,7 @@ components: type: object CreditNotes: type: object - x-isObjectArray: true + x-objectArrayKey: credit_notes properties: pagination: $ref: '#/components/schemas/Pagination' @@ -25293,7 +25294,7 @@ components: type: object Allocations: type: object - x-isObjectArray: true + x-objectArrayKey: allocations properties: Allocations: type: array @@ -25343,7 +25344,7 @@ components: type: object Currencies: type: object - x-isObjectArray: true + x-objectArrayKey: currencies properties: Currencies: type: array @@ -25704,7 +25705,7 @@ components: - ZWD Employees: type: object - x-isObjectArray: true + x-objectArrayKey: employees properties: Employees: type: array @@ -25753,7 +25754,7 @@ components: type: object ExpenseClaims: type: object - x-isObjectArray: true + x-objectArrayKey: expense_claims properties: ExpenseClaims: type: array @@ -25828,7 +25829,7 @@ components: type: object HistoryRecords: type: object - x-isObjectArray: true + x-objectArrayKey: history_records properties: HistoryRecords: type: array @@ -25856,7 +25857,7 @@ components: type: object Invoices: type: object - x-isObjectArray: true + x-objectArrayKey: invoices properties: pagination: $ref: '#/components/schemas/Pagination' @@ -26081,7 +26082,7 @@ components: type: object OnlineInvoices: type: object - x-isObjectArray: true + x-objectArrayKey: online_invoices properties: OnlineInvoices: type: array @@ -26097,7 +26098,7 @@ components: type: object InvoiceReminders: type: object - x-isObjectArray: true + x-objectArrayKey: invoice_reminders properties: InvoiceReminders: type: array @@ -26113,7 +26114,7 @@ components: type: object Items: type: object - x-isObjectArray: true + x-objectArrayKey: items properties: Items: type: array @@ -26220,7 +26221,7 @@ components: type: object Journals: type: object - x-isObjectArray: true + x-objectArrayKey: journals properties: Journals: type: array @@ -26353,7 +26354,7 @@ components: type: object LinkedTransactions: type: object - x-isObjectArray: true + x-objectArrayKey: linked_Transactions properties: LinkedTransactions: type: array @@ -26430,7 +26431,7 @@ components: type: object ManualJournals: type: object - x-isObjectArray: true + x-objectArrayKey: manual_journals properties: pagination: $ref: '#/components/schemas/Pagination' @@ -26554,7 +26555,7 @@ components: type: object Actions: type: object - x-isObjectArray: true + x-objectArrayKey: actions properties: Actions: type: array @@ -26576,7 +26577,7 @@ components: - NOT-ALLOWED Organisations: type: object - x-isObjectArray: true + x-objectArrayKey: organisations properties: Organisations: type: array @@ -27227,7 +27228,7 @@ components: type: object Overpayments: type: object - x-isObjectArray: true + x-objectArrayKey: overpayments properties: pagination: $ref: '#/components/schemas/Pagination' @@ -27335,7 +27336,7 @@ components: type: object Payments: type: object - x-isObjectArray: true + x-objectArrayKey: payments properties: pagination: $ref: '#/components/schemas/Pagination' @@ -27476,7 +27477,7 @@ components: type: object Prepayments: type: object - x-isObjectArray: true + x-objectArrayKey: prepayments properties: pagination: $ref: '#/components/schemas/Pagination' @@ -27589,7 +27590,7 @@ components: type: object PurchaseOrders: type: object - x-isObjectArray: true + x-objectArrayKey: purchase_orders properties: pagination: $ref: '#/components/schemas/Pagination' @@ -27741,7 +27742,7 @@ components: type: integer Quotes: type: object - x-isObjectArray: true + x-objectArrayKey: quotes properties: Quotes: type: array @@ -27873,7 +27874,7 @@ components: - DELETED Receipts: type: object - x-isObjectArray: true + x-objectArrayKey: receipts properties: Receipts: type: array @@ -27967,7 +27968,7 @@ components: type: object RepeatingInvoices: type: object - x-isObjectArray: true + x-objectArrayKey: repeating_invoices properties: RepeatingInvoices: type: array @@ -28174,7 +28175,7 @@ components: type: string Reports: type: object - x-isObjectArray: true + x-objectArrayKey: reports properties: Reports: type: array @@ -28362,7 +28363,7 @@ components: type: object TaxRates: type: object - x-isObjectArray: true + x-objectArrayKey: tax_rates properties: TaxRates: type: array @@ -28793,7 +28794,7 @@ components: type: object TrackingCategories: type: object - x-isObjectArray: true + x-objectArrayKey: tracking_categories properties: TrackingCategories: type: array @@ -28836,7 +28837,7 @@ components: type: object TrackingOptions: type: object - x-isObjectArray: true + x-objectArrayKey: options properties: Options: type: array @@ -28880,7 +28881,7 @@ components: type: object Users: type: object - x-isObjectArray: true + x-objectArrayKey: users properties: Users: type: array diff --git a/xero_assets.yaml b/xero_assets.yaml index 84f8b20b8..219970473 100644 --- a/xero_assets.yaml +++ b/xero_assets.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: Xero Assets API description: The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc. termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" diff --git a/xero_bankfeeds.yaml b/xero_bankfeeds.yaml index ade264477..1b2492df1 100644 --- a/xero_bankfeeds.yaml +++ b/xero_bankfeeds.yaml @@ -1,6 +1,6 @@ openapi: 3.0.0 info: - version: "6.0.0" + version: "6.0.1" title: Xero Bank Feeds API description: The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. diff --git a/xero_files.yaml b/xero_files.yaml index 178d524b3..b01bf66a6 100644 --- a/xero_files.yaml +++ b/xero_files.yaml @@ -4,7 +4,7 @@ servers: url: https://api.xero.com/files.xro/1.0/ info: title: Xero Files API - version: "6.0.0" + version: "6.0.1" description: "These endpoints are specific to Xero Files API" termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/" contact: From 5f3c2aef7b91e61a503d9811680542131ff19da9 Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Mon, 22 Jul 2024 15:07:29 +0530 Subject: [PATCH 2/2] typo fix --- xero_accounting.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xero_accounting.yaml b/xero_accounting.yaml index f7afab4b0..6b13f13d5 100644 --- a/xero_accounting.yaml +++ b/xero_accounting.yaml @@ -26354,7 +26354,7 @@ components: type: object LinkedTransactions: type: object - x-objectArrayKey: linked_Transactions + x-objectArrayKey: linked_transactions properties: LinkedTransactions: type: array