Skip to content

Commit

Permalink
Merge pull request #1340 from codatio/oas-sync
Browse files Browse the repository at this point in the history
Automated PR created by OAS bot
  • Loading branch information
dcoplowe authored Sep 16, 2024
2 parents 8557a4c + 2af18e6 commit d8e4765
Show file tree
Hide file tree
Showing 11 changed files with 173 additions and 1 deletion.
7 changes: 7 additions & 0 deletions static/oas/Codat-Bank-Feeds.json
Original file line number Diff line number Diff line change
Expand Up @@ -4962,6 +4962,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Lending.json
Original file line number Diff line number Diff line change
Expand Up @@ -117481,6 +117481,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
104 changes: 103 additions & 1 deletion static/oas/Codat-Platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,86 @@
}
}
},
"/companies/{companyId}/products/{productIdentifier}": {
"parameters": [
{
"$ref": "#/components/parameters/companyId"
},
{
"$ref": "#/components/parameters/productIdentifier"
}
],
"put": {
"summary": "Add product",
"operationId": "add-product",
"x-speakeasy-name-override": "add-product",
"description": "Use the *Add product* endpoint to enable a product for the company specified by `companyId`.\n\n> Note: This feature is currently in alpha and available only to participants in the development program.",
"tags": [
"Companies"
],
"responses": {
"204": {
"description": "OK"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"402": {
"$ref": "#/components/responses/Payment-Required"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"404": {
"$ref": "#/components/responses/Not-Found"
},
"429": {
"$ref": "#/components/responses/Too-Many-Requests"
},
"500": {
"$ref": "#/components/responses/Internal-Server-Error"
},
"503": {
"$ref": "#/components/responses/Service-Unavailable"
}
}
},
"delete": {
"summary": "Remove product",
"operationId": "remove-product",
"x-speakeasy-name-override": "remove-product",
"description": "Use the *Remove product* endpoint to disable a product for the company specified by `companyId`.\n\n> Note: This feature is currently in alpha and available only to participants in the development program.",
"tags": [
"Companies"
],
"responses": {
"204": {
"description": "OK"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"402": {
"$ref": "#/components/responses/Payment-Required"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"404": {
"$ref": "#/components/responses/Not-Found"
},
"429": {
"$ref": "#/components/responses/Too-Many-Requests"
},
"500": {
"$ref": "#/components/responses/Internal-Server-Error"
},
"503": {
"$ref": "#/components/responses/Service-Unavailable"
}
}
}
},
"/companies/{companyId}/connections": {
"get": {
"summary": "List connections",
Expand Down Expand Up @@ -4748,6 +4828,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down Expand Up @@ -7865,6 +7952,21 @@
},
"description": "Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging)."
},
"productIdentifier": {
"name": "productIdentifier",
"in": "path",
"required": true,
"schema": {
"type": "string",
"examples": [
"bank-feeds",
"lending",
"payables",
"expenses"
]
},
"description": "Human-readable product identifier for a product."
},
"query": {
"name": "query",
"in": "query",
Expand All @@ -7887,7 +7989,7 @@
},
"dataType": {
"name": "dataType",
"description": "The key of a Codat data type",
"description": "The key of a Codat data type.",
"in": "path",
"required": true,
"schema": {
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Sync-Commerce-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -17376,6 +17376,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Sync-Commerce.json
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Sync-Expenses-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2122,6 +2122,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Sync-Expenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -15151,6 +15151,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Sync-Payables-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -46048,6 +46048,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Sync-Payables.json
Original file line number Diff line number Diff line change
Expand Up @@ -3272,6 +3272,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Codat-Sync-Payroll.json
Original file line number Diff line number Diff line change
Expand Up @@ -14891,6 +14891,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down
7 changes: 7 additions & 0 deletions static/oas/Webhooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,13 @@
"description": "Name of user that created the company in Codat.",
"nullable": true
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of products that are currently enabled for the company."
},
"tags": {
"type": "object",
"maxProperties": 10,
Expand Down

0 comments on commit d8e4765

Please sign in to comment.