@tillhub/schemas 6.341.0 → 6.342.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [6.342.0](https://github.com/tillhub/schemas/compare/v6.341.1...v6.342.0) (2024-09-26)
2
+
3
+
4
+ ### Features
5
+
6
+ * **appointment-reminder:** add 'sms_reminder_notification' as a feature flag ([#1005](https://github.com/tillhub/schemas/issues/1005)) ([c07be71](https://github.com/tillhub/schemas/commit/c07be71))
7
+
8
+ ## [6.341.1](https://github.com/tillhub/schemas/compare/v6.341.0...v6.341.1) (2024-09-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **stock update:** added mandatory location to the schema ([8408202](https://github.com/tillhub/schemas/commit/8408202))
14
+
1
15
  # [6.341.0](https://github.com/tillhub/schemas/compare/v6.340.1...v6.341.0) (2024-09-17)
2
16
 
3
17
 
@@ -94,5 +94,9 @@ module.exports = {
94
94
  reservations_online_payments: {
95
95
  type: 'boolean',
96
96
  default: false
97
+ },
98
+ sms_reminder_notification: {
99
+ type: 'boolean',
100
+ default: false
97
101
  }
98
102
  }
@@ -9,7 +9,8 @@ module.exports.request = {
9
9
  additionalProperties: false,
10
10
  type: 'object',
11
11
  required: [
12
- 'qty'
12
+ 'qty',
13
+ 'location'
13
14
  ],
14
15
  properties: {
15
16
  qty: {
@@ -51,7 +52,12 @@ module.exports.request = {
51
52
  type: 'string',
52
53
  minLength: 1,
53
54
  maxLength: 2048
54
- })
55
+ }),
56
+ location: {
57
+ description: 'Alphanumeric uuid of the location, e.g. branch uuid or warehouse uuid',
58
+ type: 'string',
59
+ format: 'uuid'
60
+ }
55
61
  }
56
62
  }
57
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.341.0",
3
+ "version": "6.342.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",