From ecdb1acc76a4104cb71aa582b3a4a7e05eb27258 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 26 Apr 2024 15:02:16 +0000 Subject: [PATCH] chore(release): 6.306.2 [skip ci] ## [6.306.2](https://github.com/tillhub/schemas/compare/v6.306.1...v6.306.2) (2024-04-26) ### Bug Fixes * **full-receipts:** add the dynamic footer feature ([#943](https://github.com/tillhub/schemas/issues/943)) ([76bfa38](https://github.com/tillhub/schemas/commit/76bfa38)) --- CHANGELOG.md | 7 ++ dist/index.json | 12 +-- dist/v0/customers.create.event.schema.json | 2 +- dist/v0/customers.delete.event.schema.json | 2 +- dist/v0/customers.update.event.schema.json | 2 +- dist/v0/stocks-book.create.event.schema.json | 2 +- .../balances.legacy.create.event.schema.json | 2 +- dist/v1/products.create.event.schema.json | 2 +- dist/v1/products.update.event.schema.json | 2 +- dist/v1/templates.put.request.schema.json | 96 +++++++++++++++++++ ...ansactions.legacy.create.event.schema.json | 2 +- package-lock.json | 4 +- package.json | 2 +- 13 files changed, 120 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e22fa90..de13ef97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [6.306.2](https://github.com/tillhub/schemas/compare/v6.306.1...v6.306.2) (2024-04-26) + + +### Bug Fixes + +* **full-receipts:** add the dynamic footer feature ([#943](https://github.com/tillhub/schemas/issues/943)) ([76bfa38](https://github.com/tillhub/schemas/commit/76bfa38)) + ## [6.306.1](https://github.com/tillhub/schemas/compare/v6.306.0...v6.306.1) (2024-04-26) diff --git a/dist/index.json b/dist/index.json index 2f9893aa..93a79f7d 100644 --- a/dist/index.json +++ b/dist/index.json @@ -1,13 +1,13 @@ [ "/index.json", + "/custom_properties.definition.schema.json", "/currency.available.schema.json", "/patch.request.schema.json", - "/custom_properties.definition.schema.json", "/timezone.schema.json", "/analytics.reports.transactions.overview.response.schema.json", "/balances.create.request.schema.json", - "/balances.get-all.response.schema.json", "/balances.get-one.response.schema.json", + "/balances.get-all.response.schema.json", "/balances.legacy.create.event.schema.json", "/balances.legacy.create.request.schema.json", "/balances.legacy.create.response.schema.json", @@ -306,8 +306,8 @@ "/seasons.create.request.schema.json", "/seasons.update.request.schema.json", "/service_categories.create.request.schema.json", - "/service_categories.create.response.schema.json", "/service_categories.update.request.schema.json", + "/service_categories.create.response.schema.json", "/service_categories.update.response.schema.json", "/services.create.request.schema.json", "/services.create.response.schema.json", @@ -384,9 +384,9 @@ "/warehouses.update.request.schema.json", "/webhooks.create.request.schema.json", "/webhooks.update.request.schema.json", + "/configurations.create.request.schema.json", + "/configurations.update.request.schema.json", "/profile.create.request.schema.json", "/profile.update.request.schema.json", - "/support.create.request.schema.json", - "/configurations.update.request.schema.json", - "/configurations.create.request.schema.json" + "/support.create.request.schema.json" ] diff --git a/dist/v0/customers.create.event.schema.json b/dist/v0/customers.create.event.schema.json index a41864e2..54959d05 100644 --- a/dist/v0/customers.create.event.schema.json +++ b/dist/v0/customers.create.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.481Z", + "example": "2024-04-26T15:02:03.944Z", "type": "string", "format": "date-time" }, diff --git a/dist/v0/customers.delete.event.schema.json b/dist/v0/customers.delete.event.schema.json index a28782fe..9c3fb111 100644 --- a/dist/v0/customers.delete.event.schema.json +++ b/dist/v0/customers.delete.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.482Z", + "example": "2024-04-26T15:02:03.945Z", "type": "string", "format": "date-time" }, diff --git a/dist/v0/customers.update.event.schema.json b/dist/v0/customers.update.event.schema.json index 12698d27..fcc89c43 100644 --- a/dist/v0/customers.update.event.schema.json +++ b/dist/v0/customers.update.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.481Z", + "example": "2024-04-26T15:02:03.945Z", "type": "string", "format": "date-time" }, diff --git a/dist/v0/stocks-book.create.event.schema.json b/dist/v0/stocks-book.create.event.schema.json index dfef45d2..3af55e53 100644 --- a/dist/v0/stocks-book.create.event.schema.json +++ b/dist/v0/stocks-book.create.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.524Z", + "example": "2024-04-26T15:02:03.989Z", "type": "string", "format": "date-time" }, diff --git a/dist/v1/balances.legacy.create.event.schema.json b/dist/v1/balances.legacy.create.event.schema.json index 0c563929..ff8d0e21 100644 --- a/dist/v1/balances.legacy.create.event.schema.json +++ b/dist/v1/balances.legacy.create.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.613Z", + "example": "2024-04-26T15:02:04.077Z", "type": "string", "format": "date-time" }, diff --git a/dist/v1/products.create.event.schema.json b/dist/v1/products.create.event.schema.json index f342a5d8..0f244c3d 100644 --- a/dist/v1/products.create.event.schema.json +++ b/dist/v1/products.create.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.642Z", + "example": "2024-04-26T15:02:04.107Z", "type": "string", "format": "date-time" }, diff --git a/dist/v1/products.update.event.schema.json b/dist/v1/products.update.event.schema.json index 04ddc392..9d918789 100644 --- a/dist/v1/products.update.event.schema.json +++ b/dist/v1/products.update.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.643Z", + "example": "2024-04-26T15:02:04.108Z", "type": "string", "format": "date-time" }, diff --git a/dist/v1/templates.put.request.schema.json b/dist/v1/templates.put.request.schema.json index 7b222d38..f7869f1b 100644 --- a/dist/v1/templates.put.request.schema.json +++ b/dist/v1/templates.put.request.schema.json @@ -2020,6 +2020,102 @@ } } }, + "footer_items": { + "type": "object", + "additionalProperties": false, + "properties": { + "location_and_date": { + "type": "object", + "additionalProperties": false, + "properties": { + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "custom": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "show": { + "type": "boolean", + "default": true + } + } + }, + "signature": { + "type": "object", + "additionalProperties": false, + "properties": { + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "custom": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "show": { + "type": "boolean", + "default": true + } + } + }, + "amount_received": { + "type": "object", + "additionalProperties": false, + "properties": { + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "custom": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "show": { + "type": "boolean", + "default": true + } + } + } + } + }, "location_and_date": { "type": "string", "maxLength": 32 diff --git a/dist/v1/transactions.legacy.create.event.schema.json b/dist/v1/transactions.legacy.create.event.schema.json index 3864c479..98d5ec5b 100644 --- a/dist/v1/transactions.legacy.create.event.schema.json +++ b/dist/v1/transactions.legacy.create.event.schema.json @@ -40,7 +40,7 @@ }, "timestamp": { "description": "The date and time event was received by webhooks service", - "example": "2024-04-26T09:31:26.662Z", + "example": "2024-04-26T15:02:04.126Z", "type": "string", "format": "date-time" }, diff --git a/package-lock.json b/package-lock.json index 267f4deb..a9b79dce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tillhub/schemas", - "version": "6.306.1", + "version": "6.306.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@tillhub/schemas", - "version": "6.306.0", + "version": "6.306.1", "license": "Apache-2.0", "dependencies": { "ajv": "^6.12.4", diff --git a/package.json b/package.json index 1cef1dd4..f6392fa7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tillhub/schemas", - "version": "6.306.1", + "version": "6.306.2", "private": false, "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.", "main": "./lib/index.js",