Skip to content

Commit

Permalink
Merge pull request #524 from XeroAPI/OAS-2.33.0
Browse files Browse the repository at this point in the history
update createbrandingthemepaymentservices method and bump version
  • Loading branch information
RettBehrens authored Nov 16, 2022
2 parents 2b4e8fb + a4e9840 commit 4608993
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 21 deletions.
2 changes: 1 addition & 1 deletion xero-app-store.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.32.0"
version: "2.33.0"
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/"
Expand Down
2 changes: 1 addition & 1 deletion xero-finance.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.32.0"
version: "2.33.0"
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/"
Expand Down
2 changes: 1 addition & 1 deletion xero-identity.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.32.0"
version: "2.33.0"
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/"
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-au.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: '2.32.0'
version: '2.33.0'
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/"
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-nz.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: '2.32.0'
version: '2.33.0'
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/"
Expand Down
2 changes: 1 addition & 1 deletion xero-payroll-uk.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: '2.32.0'
version: '2.33.0'
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/"
Expand Down
2 changes: 1 addition & 1 deletion xero-projects.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.32.0"
version: "2.33.0"
title: Xero Projects API
description: This is the Xero Projects API
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
Expand Down
39 changes: 28 additions & 11 deletions xero_accounting.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: Xero Accounting API
version: "2.32.0"
version: "2.33.0"
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
contact:
name: "Xero Platform Team"
Expand Down Expand Up @@ -3413,6 +3413,18 @@ paths:
keySnake: pay_now_text
default: Pay Now
object: paymentService
- paymentServices:
is_object: true
key: paymentServices
keyPascal: PaymentServices
- add_paymentService:
is_last: true
is_array_add: true
key: paymentServices
keyPascal: PaymentServices
java: PaymentServices
csharp: PaymentService
object: paymentService
parameters:
- $ref: '#/components/parameters/BrandingThemeID'
responses:
Expand Down Expand Up @@ -3441,17 +3453,22 @@ paths:
$ref: '#/components/responses/400Error'
requestBody:
required: true
description: PaymentService object in body of request
description: PaymentServices array with PaymentService object in body of request
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentService'
example: '{
"PaymentServiceID": "00000000-0000-0000-0000-000000000000",
"PaymentServiceName": "Payments Service",
"PaymentServiceUrl": "https://www.paymentservice.com/",
"PayNowText": "Pay Now"
}'
application/json:
schema:
$ref: '#/components/schemas/PaymentServices'
example: '{
"PaymentServices": [
{
"PaymentServiceID": "54b3b4f6-0443-4fba-bcd1-61ec0c35ca55",
"PaymentServiceName": "PayUpNow",
"PaymentServiceUrl": "https://www.payupnow.com/",
"PaymentServiceType": "Custom",
"PayNowText": "Time To Pay"
}
]
}'
'/Budgets':
parameters:
- $ref: '#/components/parameters/requiredHeader'
Expand Down
2 changes: 1 addition & 1 deletion xero_assets.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.32.0"
version: "2.33.0"
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/"
Expand Down
2 changes: 1 addition & 1 deletion xero_bankfeeds.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: "2.32.0"
version: "2.33.0"
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.
Expand Down
2 changes: 1 addition & 1 deletion xero_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ servers:
url: https://api.xero.com/files.xro/1.0/
info:
title: Xero Files API
version: "2.32.0"
version: "2.33.0"
description: "These endpoints are specific to Xero Files API"
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
contact:
Expand Down

0 comments on commit 4608993

Please sign in to comment.