@tillhub/schemas 6.297.0 → 6.299.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.299.0](https://github.com/tillhub/schemas/compare/v6.298.0...v6.299.0) (2024-04-09)
2
+
3
+
4
+ ### Features
5
+
6
+ * **staffs:** add branch id to time ranges ([#931](https://github.com/tillhub/schemas/issues/931)) ([78bb4db](https://github.com/tillhub/schemas/commit/78bb4db))
7
+
8
+ # [6.298.0](https://github.com/tillhub/schemas/compare/v6.297.0...v6.298.0) (2024-04-06)
9
+
10
+
11
+ ### Features
12
+
13
+ * **products:** removed min_order_qty as it should be per supplier ([0289ad5](https://github.com/tillhub/schemas/commit/0289ad5))
14
+
1
15
  # [6.297.0](https://github.com/tillhub/schemas/compare/v6.296.0...v6.297.0) (2024-03-28)
2
16
 
3
17
 
@@ -549,6 +549,11 @@ module.exports = {
549
549
  end: {
550
550
  description: 'The end time of this range.',
551
551
  type: 'string'
552
+ },
553
+ branch_id: {
554
+ description: 'The branch at which the staff member will be during this range.',
555
+ type: 'string',
556
+ format: 'uuid'
552
557
  }
553
558
  }
554
559
  }
@@ -224,32 +224,6 @@ const request = {
224
224
  }
225
225
  ]
226
226
  },
227
- min_order_qty: {
228
- description: 'The minimum order quantity',
229
- oneOf: [
230
- {
231
- type: 'array',
232
- items: {
233
- type: 'object',
234
- additionalProperties: false,
235
- properties: {
236
- location: {
237
- description: 'Alphanumerical uuid of the location, e.g. branch or warehouse',
238
- type: 'string',
239
- format: 'uuid'
240
- },
241
- qty: {
242
- description: 'The min order qty',
243
- type: 'number'
244
- }
245
- }
246
- }
247
- },
248
- {
249
- type: 'null'
250
- }
251
- ]
252
- },
253
227
  sellable: {
254
228
  description: 'Define whether a product should be sellable (appears in use cases which assume sale)',
255
229
  type: 'boolean',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.297.0",
3
+ "version": "6.299.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",