From 1fb8ebdee6fc48db419f66268e30fecd4888afe2 Mon Sep 17 00:00:00 2001 From: Codat Pipeline Bot Date: Wed, 31 Jan 2024 14:09:40 +0000 Subject: [PATCH] Latest Open API Specification --- static/oas/Codat-Accounting.json | 42 +++++++++++++++++--------- static/oas/Codat-Bank-Feeds.json | 3 +- static/oas/Codat-Lending.json | 3 +- static/oas/Codat-Platform.json | 39 ++++++++++++------------ static/oas/Codat-Sync-Commerce-v1.json | 34 ++++++++++++--------- static/oas/Codat-Sync-Commerce.json | 34 ++++++++++++--------- static/oas/Codat-Sync-Expenses-v1.json | 3 +- static/oas/Codat-Sync-Expenses.json | 3 +- static/oas/Codat-Sync-Payables.json | 3 +- static/oas/Codat-Sync-Payroll.json | 3 +- 10 files changed, 97 insertions(+), 70 deletions(-) diff --git a/static/oas/Codat-Accounting.json b/static/oas/Codat-Accounting.json index eb41906f6..1349152ce 100644 --- a/static/oas/Codat-Accounting.json +++ b/static/oas/Codat-Accounting.json @@ -143170,7 +143170,33 @@ "id": { "type": "string", "description": "Identifier for the item that is unique to a company in the accounting platform." - }, + } + } + }, + { + "$ref": "#/components/schemas/Item/definitions/itemPrototype" + }, + { + "properties": { + "metadata": { + "$ref": "#/components/schemas/Metadata" + } + } + }, + { + "$ref": "#/components/schemas/ModifiedDates" + } + ], + "required": [ + "itemStatus", + "type", + "isBillItem", + "isInvoiceItem" + ], + "definitions": { + "itemPrototype": { + "type": "object", + "properties": { "name": { "type": "string", "nullable": true, @@ -143201,25 +143227,11 @@ "invoiceItem": { "$ref": "#/components/schemas/Item/definitions/invoiceItem" }, - "metadata": { - "$ref": "#/components/schemas/Metadata" - }, "supplementalData": { "$ref": "#/components/schemas/SupplementalData" } } }, - { - "$ref": "#/components/schemas/ModifiedDates" - } - ], - "required": [ - "itemStatus", - "type", - "isBillItem", - "isInvoiceItem" - ], - "definitions": { "itemRef": { "title": "Item reference", "type": "object", diff --git a/static/oas/Codat-Bank-Feeds.json b/static/oas/Codat-Bank-Feeds.json index aa54a67c8..333e6ae48 100644 --- a/static/oas/Codat-Bank-Feeds.json +++ b/static/oas/Codat-Bank-Feeds.json @@ -4969,7 +4969,6 @@ }, "sourceType": { "title": "Source Type", - "x-internal": true, "description": "The type of platform of the connection.", "type": "string", "enum": [ @@ -5067,7 +5066,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], diff --git a/static/oas/Codat-Lending.json b/static/oas/Codat-Lending.json index 05321b204..b623abf08 100644 --- a/static/oas/Codat-Lending.json +++ b/static/oas/Codat-Lending.json @@ -116412,7 +116412,6 @@ }, "sourceType": { "title": "Source Type", - "x-internal": true, "description": "The type of platform of the connection.", "type": "string", "enum": [ @@ -116510,7 +116509,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], diff --git a/static/oas/Codat-Platform.json b/static/oas/Codat-Platform.json index e2d66851f..d09c9b3e7 100644 --- a/static/oas/Codat-Platform.json +++ b/static/oas/Codat-Platform.json @@ -3974,7 +3974,7 @@ "$ref": "#/components/schemas/Branding/properties/sourceId" }, "sourceType": { - "$ref": "#/components/schemas/SourceType" + "$ref": "#/components/schemas/Integration/definitions/sourceType" }, "platformName": { "type": "string", @@ -4060,7 +4060,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], @@ -4807,7 +4809,7 @@ "$ref": "#/components/schemas/Branding/properties/sourceId" }, "sourceType": { - "$ref": "#/components/schemas/SourceType" + "$ref": "#/components/schemas/Integration/definitions/sourceType" }, "integrationId": { "$ref": "#/components/schemas/Connection/properties/integrationId" @@ -4838,6 +4840,21 @@ "enabled" ], "definitions": { + "sourceType": { + "title": "Source Type", + "description": "The type of platform of the connection.", + "type": "string", + "enum": [ + "Accounting", + "Banking", + "BankFeed", + "Commerce", + "Expense", + "Other", + "Unknown" + ], + "example": "Accounting" + }, "dataTypeFeature": { "title": "Data type feature", "description": "Describes support for a given datatype and associated operations", @@ -4983,7 +5000,7 @@ "description": "Name of company whose connection has changed." }, "sourceType": { - "$ref": "#/components/schemas/SourceType", + "$ref": "#/components/schemas/Integration/definitions/sourceType", "nullable": true } } @@ -5809,22 +5826,6 @@ } } }, - "SourceType": { - "title": "Source Type", - "x-internal": true, - "description": "The type of platform of the connection.", - "type": "string", - "enum": [ - "Accounting", - "Banking", - "BankFeed", - "Commerce", - "Expense", - "Other", - "Unknown" - ], - "example": "Accounting" - }, "SupplementalDataConfiguration": { "description": "", "title": "Supplemental data configuration", diff --git a/static/oas/Codat-Sync-Commerce-v1.json b/static/oas/Codat-Sync-Commerce-v1.json index 3772876de..2b1abbb30 100644 --- a/static/oas/Codat-Sync-Commerce-v1.json +++ b/static/oas/Codat-Sync-Commerce-v1.json @@ -17049,20 +17049,7 @@ "$ref": "#/components/schemas/Branding/properties/sourceId" }, "sourceType": { - "title": "Source Type", - "x-internal": true, - "description": "The type of platform of the connection.", - "type": "string", - "enum": [ - "Accounting", - "Banking", - "BankFeed", - "Commerce", - "Expense", - "Other", - "Unknown" - ], - "example": "Accounting" + "$ref": "#/components/schemas/Integration/definitions/sourceType" }, "platformName": { "type": "string", @@ -17148,7 +17135,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], @@ -17631,7 +17620,7 @@ "$ref": "#/components/schemas/Branding/properties/sourceId" }, "sourceType": { - "$ref": "#/components/schemas/Connection/properties/sourceType" + "$ref": "#/components/schemas/Integration/definitions/sourceType" }, "integrationId": { "$ref": "#/components/schemas/Connection/properties/integrationId" @@ -17662,6 +17651,21 @@ "enabled" ], "definitions": { + "sourceType": { + "title": "Source Type", + "description": "The type of platform of the connection.", + "type": "string", + "enum": [ + "Accounting", + "Banking", + "BankFeed", + "Commerce", + "Expense", + "Other", + "Unknown" + ], + "example": "Accounting" + }, "dataTypeFeature": { "title": "Data type feature", "description": "Describes support for a given datatype and associated operations", diff --git a/static/oas/Codat-Sync-Commerce.json b/static/oas/Codat-Sync-Commerce.json index eae22649c..5c66dcd5e 100644 --- a/static/oas/Codat-Sync-Commerce.json +++ b/static/oas/Codat-Sync-Commerce.json @@ -1942,20 +1942,7 @@ "$ref": "#/components/schemas/Branding/properties/sourceId" }, "sourceType": { - "title": "Source Type", - "x-internal": true, - "description": "The type of platform of the connection.", - "type": "string", - "enum": [ - "Accounting", - "Banking", - "BankFeed", - "Commerce", - "Expense", - "Other", - "Unknown" - ], - "example": "Accounting" + "$ref": "#/components/schemas/Integration/definitions/sourceType" }, "platformName": { "type": "string", @@ -2041,7 +2028,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], @@ -2303,7 +2292,7 @@ "$ref": "#/components/schemas/Branding/properties/sourceId" }, "sourceType": { - "$ref": "#/components/schemas/Connection/properties/sourceType" + "$ref": "#/components/schemas/Integration/definitions/sourceType" }, "integrationId": { "$ref": "#/components/schemas/Connection/properties/integrationId" @@ -2334,6 +2323,21 @@ "enabled" ], "definitions": { + "sourceType": { + "title": "Source Type", + "description": "The type of platform of the connection.", + "type": "string", + "enum": [ + "Accounting", + "Banking", + "BankFeed", + "Commerce", + "Expense", + "Other", + "Unknown" + ], + "example": "Accounting" + }, "dataTypeFeature": { "title": "Data type feature", "description": "Describes support for a given datatype and associated operations", diff --git a/static/oas/Codat-Sync-Expenses-v1.json b/static/oas/Codat-Sync-Expenses-v1.json index 4c3a316d2..25229640e 100644 --- a/static/oas/Codat-Sync-Expenses-v1.json +++ b/static/oas/Codat-Sync-Expenses-v1.json @@ -2366,7 +2366,6 @@ }, "sourceType": { "title": "Source Type", - "x-internal": true, "description": "The type of platform of the connection.", "type": "string", "enum": [ @@ -2464,7 +2463,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], diff --git a/static/oas/Codat-Sync-Expenses.json b/static/oas/Codat-Sync-Expenses.json index 0e3dcd8d5..d3d3e1c4e 100644 --- a/static/oas/Codat-Sync-Expenses.json +++ b/static/oas/Codat-Sync-Expenses.json @@ -12852,7 +12852,6 @@ }, "sourceType": { "title": "Source Type", - "x-internal": true, "description": "The type of platform of the connection.", "type": "string", "enum": [ @@ -12950,7 +12949,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], diff --git a/static/oas/Codat-Sync-Payables.json b/static/oas/Codat-Sync-Payables.json index 59b9479f4..116ad4c2c 100644 --- a/static/oas/Codat-Sync-Payables.json +++ b/static/oas/Codat-Sync-Payables.json @@ -45629,7 +45629,6 @@ }, "sourceType": { "title": "Source Type", - "x-internal": true, "description": "The type of platform of the connection.", "type": "string", "enum": [ @@ -45727,7 +45726,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ], diff --git a/static/oas/Codat-Sync-Payroll.json b/static/oas/Codat-Sync-Payroll.json index de5106bb0..c14808b76 100644 --- a/static/oas/Codat-Sync-Payroll.json +++ b/static/oas/Codat-Sync-Payroll.json @@ -14578,7 +14578,6 @@ }, "sourceType": { "title": "Source Type", - "x-internal": true, "description": "The type of platform of the connection.", "type": "string", "enum": [ @@ -14676,7 +14675,9 @@ "enum": [ "Accounting", "Banking", + "BankFeed", "Commerce", + "Expense", "Other", "Unknown" ],