@tillhub/schemas 6.301.0 → 6.303.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.303.0](https://github.com/tillhub/schemas/compare/v6.302.0...v6.303.0) (2024-04-18)
2
+
3
+
4
+ ### Features
5
+
6
+ * **feature_flags:** add online payments feature flag ([#936](https://github.com/tillhub/schemas/issues/936)) ([a8f36d3](https://github.com/tillhub/schemas/commit/a8f36d3))
7
+
8
+ # [6.302.0](https://github.com/tillhub/schemas/compare/v6.301.0...v6.302.0) (2024-04-17)
9
+
10
+
11
+ ### Features
12
+
13
+ * **branches:** change double backlashes to single ([#935](https://github.com/tillhub/schemas/issues/935)) ([a232a9a](https://github.com/tillhub/schemas/commit/a232a9a))
14
+
1
15
  # [6.301.0](https://github.com/tillhub/schemas/compare/v6.300.0...v6.301.0) (2024-04-11)
2
16
 
3
17
 
@@ -372,7 +372,7 @@ module.exports = {
372
372
  reservations_google_maps_address: {
373
373
  description: 'The location of the branch on Google Maps',
374
374
  example: 'https://maps.app.goo.gl/tpF7EMsEC7Wy5hmd6',
375
- pattern: '^https:\\/\\/maps\\.app\\.goo\\.gl\\/[A-Za-z]*$',
375
+ pattern: '^https:\\/\\/maps\\.app\\.goo\\.gl\\/[A-Za-z0-9]*$',
376
376
  oneOf: [
377
377
  {
378
378
  type: 'string'
@@ -90,5 +90,9 @@ module.exports = {
90
90
  reservations: {
91
91
  type: 'boolean',
92
92
  default: false
93
+ },
94
+ reservations_online_payments: {
95
+ type: 'boolean',
96
+ default: false
93
97
  }
94
98
  }
@@ -87,6 +87,13 @@ module.exports = {
87
87
  },
88
88
  reservation_frequency_minutes: {
89
89
  type: 'number'
90
+ },
91
+ payment_options: {
92
+ type: 'array',
93
+ items: {
94
+ enum: ['in-store', 'online']
95
+ },
96
+ default: ['in-store']
90
97
  }
91
98
  }
92
99
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.301.0",
3
+ "version": "6.303.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",