@tillhub/schemas 6.139.0 → 6.142.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,24 @@
1
+ # [6.142.0](https://github.com/tillhub/schemas/compare/v6.141.0...v6.142.0) (2022-06-01)
2
+
3
+
4
+ ### Features
5
+
6
+ * **dashboard:** dashboard configuration ([d9613ce](https://github.com/tillhub/schemas/commit/d9613ce))
7
+
8
+ # [6.141.0](https://github.com/tillhub/schemas/compare/v6.140.0...v6.141.0) (2022-05-30)
9
+
10
+
11
+ ### Features
12
+
13
+ * **configurations:** order_receipts ([f9d5f14](https://github.com/tillhub/schemas/commit/f9d5f14))
14
+
15
+ # [6.140.0](https://github.com/tillhub/schemas/compare/v6.139.0...v6.140.0) (2022-05-20)
16
+
17
+
18
+ ### Features
19
+
20
+ * **stocks:** Add delivery_note_refund value type column ([8a86607](https://github.com/tillhub/schemas/commit/8a86607))
21
+
1
22
  # [6.139.0](https://github.com/tillhub/schemas/compare/v6.138.0...v6.139.0) (2022-05-17)
2
23
 
3
24
 
@@ -36,6 +36,7 @@ module.exports = {
36
36
  anyOf: [
37
37
  {
38
38
  type: 'string',
39
+ description: 'The type of movement for the change in stock',
39
40
  'enum': [
40
41
  'goods_in',
41
42
  'goods_out',
@@ -44,6 +45,7 @@ module.exports = {
44
45
  'cancellation',
45
46
  'refund',
46
47
  'delivery_note',
48
+ 'delivery_note_refund',
47
49
  'delivery_note_cancellation'
48
50
  ]
49
51
  },
@@ -369,6 +369,14 @@ module.exports = oneOf({
369
369
  type: 'boolean',
370
370
  default: true
371
371
  },
372
+ size_type: oneOf({
373
+ type: 'string',
374
+ enum: [
375
+ 'regular',
376
+ 'large'
377
+ ],
378
+ default: 'large'
379
+ }),
372
380
  triggers: oneOf({
373
381
  type: 'object',
374
382
  additionalProperties: false,
@@ -615,34 +615,10 @@ module.exports = {
615
615
  type: 'object',
616
616
  additionalProperties: false,
617
617
  properties: {
618
- availability: {
619
- type: 'string',
620
- 'enum': [
621
- 'legacy', // only the legacy dashboard (url) is available
622
- 'new', // only the new dashboard (url_new) is available
623
- 'both' // both dashboards are available and the user is prompted for selection
624
- ],
625
- default: 'legacy'
626
- },
627
618
  url: {
628
- description: 'URL of this account\'s perferred LEGACY dashboard',
629
- type: 'string' // client default kDashboardUrlLegacy is 'https://dashboard.tillhub.de' or 'https://awsxstaging.tillhub.de'
630
- },
631
- url_new: {
632
- description: 'URL of this account\'s perferred NEW dashboard',
619
+ description: 'URL of this account\'s dashboard',
633
620
  type: 'string' // client default kDashboardUrl is 'https://dashboard.tillhub.com' or 'https://staging-dashboard.tillhub.com'
634
621
  },
635
- auth: {
636
- description: ' -- client reads but does not use this, please provide a proper description --',
637
- oneOf: [
638
- {
639
- type: 'string'
640
- },
641
- {
642
- type: 'null'
643
- }
644
- ]
645
- },
646
622
  navigation_after_creation: oneOf({
647
623
  type: 'string',
648
624
  enum: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.139.0",
3
+ "version": "6.142.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",