@tillhub/schemas 6.165.0 → 6.167.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.167.0](https://github.com/tillhub/schemas/compare/v6.166.0...v6.167.0) (2022-11-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * **features:** add webhooks ([ea6a091](https://github.com/tillhub/schemas/commit/ea6a091))
7
+
8
+ # [6.166.0](https://github.com/tillhub/schemas/compare/v6.165.0...v6.166.0) (2022-10-31)
9
+
10
+
11
+ ### Features
12
+
13
+ * **staff_sync:** sync staff per branch ([9963673](https://github.com/tillhub/schemas/commit/9963673))
14
+
1
15
  # [6.165.0](https://github.com/tillhub/schemas/compare/v6.164.0...v6.165.0) (2022-10-20)
2
16
 
3
17
 
@@ -74,5 +74,9 @@ module.exports = {
74
74
  cash_book: {
75
75
  type: 'boolean',
76
76
  default: false
77
+ },
78
+ webhooks: {
79
+ type: 'boolean',
80
+ default: false
77
81
  }
78
82
  }
@@ -32,6 +32,13 @@ module.exports = {
32
32
  'default': false
33
33
  })
34
34
  },
35
+ staff_per_branch: {
36
+ 'description': 'If true, staff will be synchronized per branch by sending it branch UUID as a request parameter',
37
+ ...oneOf({
38
+ 'type': 'boolean',
39
+ 'default': false
40
+ })
41
+ },
35
42
  cashier_pin_logout_enabled: {
36
43
  'description': 'If true, a cashier is allowed to logout on a mandatory PIN request.',
37
44
  ...oneOf({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.165.0",
3
+ "version": "6.167.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",