Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDL-19521-Add-new-fields-into-schemas. #102

Open
wants to merge 2 commits into
base: crest-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tap_xero/schemas/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@
"null",
"boolean"
]
},
"AddToWatchlist": {
"type": [
"null",
"boolean"
]
}
},
"additionalProperties": false
Expand Down
8 changes: 6 additions & 2 deletions tap_xero/schemas/bank_transactions.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"BankAccount": {
"$ref": "accounts"
},
"BatchPayment": {
"$ref": "batch_payment"
},
"IsReconciled": {
"type": [
"null",
Expand Down Expand Up @@ -159,7 +162,8 @@
"tap_schema_dependencies": [
"accounts",
"contacts",
"line_items"
"line_items",
"batch_payment"
],
"additionalProperties": false
}
}
18 changes: 18 additions & 0 deletions tap_xero/schemas/bank_transfers.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@
"string"
]
},
"FromIsReconciled ": {
"type": [
"null",
"boolean"
]
},
"ToIsReconciled ": {
"type": [
"null",
"boolean"
]
},
"Reference": {
"type": [
"null",
"string"
]
},
"HasAttachments": {
"type": [
"null",
Expand Down
72 changes: 72 additions & 0 deletions tap_xero/schemas/batch_payment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"type": [
"null",
"object"
],
"properties": {
"Account": {
"type": [
"null",
"object"
],
"properties": {
"AccountID": {
"type": [
"null",
"string"
]
}
}
},
"BatchPaymentID": {
"type": [
"null",
"string"
]
},
"Date": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"Type": {
"type": [
"null",
"string"
]
},
"Status": {
"type": [
"null",
"string"
]
},
"TotalAmount": {
"type": [
"null",
"number"
],
"minimum": -1e+33,
"maximum": 1e+33,
"multipleOf": 1e-06,
"exclusiveMinimum": true,
"exclusiveMaximum": true
},
"UpdatedDateUTC": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"IsReconciled": {
"type": [
"null",
"boolean"
]
}
},
"additionalProperties": false
}
11 changes: 11 additions & 0 deletions tap_xero/schemas/branding_themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@
"type": [
"string"
]
},
"LogoUrl": {
"type": [
"string"
]
},
"Type": {
"type": [
"null",
"string"
]
}
},
"additionalProperties": false
Expand Down
27 changes: 27 additions & 0 deletions tap_xero/schemas/contact_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,33 @@
"string"
]
},
"Contacts": {
"type": [
"null",
"array"
],
"items": {
"properties": {
"ContactID": {
"type": [
"null",
"string"
]
},
"Name": {
"type": [
"null",
"string"
]
}
},
"type": [
"null",
"object"
],
"additionalProperties": false
}
},
"HasValidationErrors": {
"type": [
"null",
Expand Down
24 changes: 24 additions & 0 deletions tap_xero/schemas/contacts.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,30 @@
"string"
]
},
"CompanyNumber":{
"type": [
"null",
"number"
]
},
"MergedToContactID ": {
"type": [
"null",
"string"
]
},
"SalesDefaultLineAmountType": {
"type": [
"null",
"string"
]
},
"PurchasesDefaultLineAmountType": {
"type": [
"null",
"string"
]
},
"Name": {
"type": [
"null",
Expand Down
1 change: 1 addition & 0 deletions tap_xero/schemas/credit_notes.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"exclusiveMinimum": true,
"exclusiveMaximum": true
},
"CISDeduction": {},
"UpdatedDateUTC": {
"format": "date-time",
"type": [
Expand Down
7 changes: 7 additions & 0 deletions tap_xero/schemas/invoices.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@
"boolean"
]
},
"RepeatingInvoiceID": {
"type": [
"null",
"string"
]
},
"CISDeduction": {},
"Payments": {
"type": [
"null",
Expand Down
18 changes: 18 additions & 0 deletions tap_xero/schemas/organisations.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@
"string"
]
},
"EmployerIdentificationNumber": {
"type": [
"null",
"string"
]
},
"TaxNumber": {
"type": [
"null",
Expand Down Expand Up @@ -156,6 +162,18 @@
"string"
]
},
"Edition": {
"type": [
"null",
"string"
]
},
"Class": {
"type": [
"null",
"string"
]
},
"LineOfBusiness": {
"type": [
"null",
Expand Down
6 changes: 5 additions & 1 deletion tap_xero/schemas/payments.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
"string"
]
},
"BatchPayment": {
"$ref": "batch_payment"
},
"HasAccount": {
"type": [
"null",
Expand All @@ -161,7 +164,8 @@
},
"tap_schema_dependencies": [
"accounts",
"nested_invoice"
"nested_invoice",
"batch_payment"
],
"additionalProperties": false
}