@tillhub/schemas 6.281.0 → 6.283.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.283.0](https://github.com/tillhub/schemas/compare/v6.282.0...v6.283.0) (2024-01-30)
2
+
3
+
4
+ ### Features
5
+
6
+ * **pricelist:** response ([ab5d278](https://github.com/tillhub/schemas/commit/ab5d278))
7
+
8
+ # [6.282.0](https://github.com/tillhub/schemas/compare/v6.281.0...v6.282.0) (2024-01-29)
9
+
10
+
11
+ ### Features
12
+
13
+ * **services:** add locations to services ([#915](https://github.com/tillhub/schemas/issues/915)) ([a759f43](https://github.com/tillhub/schemas/commit/a759f43))
14
+
1
15
  # [6.281.0](https://github.com/tillhub/schemas/compare/v6.280.0...v6.281.0) (2024-01-28)
2
16
 
3
17
 
@@ -28,7 +28,15 @@ module.exports = {
28
28
  type: 'string',
29
29
  format: 'uuid',
30
30
  example: '05297f58-3408-44d0-8bf4-125d4e86c08a'
31
- }
31
+ },
32
+ locations: oneOf({
33
+ description: 'list of branch UUIDs the service can be performed at',
34
+ type: 'array',
35
+ items: {
36
+ type: 'string',
37
+ format: 'uuid'
38
+ }
39
+ })
32
40
  },
33
41
  required: ['name', 'duration', 'linked_product'],
34
42
  $id: 'https://schemas.tillhub.com/v0/services.create.request.schema.json',
@@ -28,7 +28,15 @@ module.exports = {
28
28
  type: 'string',
29
29
  format: 'uuid',
30
30
  example: '05297f58-3408-44d0-8bf4-125d4e86c08a'
31
- }
31
+ },
32
+ locations: oneOf({
33
+ description: 'list of branch UUIDs the service can be performed at',
34
+ type: 'array',
35
+ items: {
36
+ type: 'string',
37
+ format: 'uuid'
38
+ }
39
+ })
32
40
  },
33
41
  required: [],
34
42
  $id: 'https://schemas.tillhub.com/v0/services.update.request.schema.json',
@@ -21,6 +21,12 @@ module.exports = {
21
21
  ],
22
22
  example: 'scaled'
23
23
  },
24
+ branch: {
25
+ type: 'string',
26
+ format: 'uuid',
27
+ example: 'f2ac2cae-97ff-42a1-967b-0a35222ab6d1',
28
+ description: 'The Tillhub branch location ID which is part of the request path.'
29
+ },
24
30
  price_book_type: oneOf({
25
31
  description: 'The price book type',
26
32
  type: 'string',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.281.0",
3
+ "version": "6.283.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",