@tillhub/schemas 6.107.0 → 6.111.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,36 @@
|
|
|
1
|
+
# [6.111.0](https://github.com/tillhub/schemas/compare/v6.110.0...v6.111.0) (2022-01-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **discounts:** add branch_groups to discounts ([39cbd66](https://github.com/tillhub/schemas/commit/39cbd66))
|
|
7
|
+
|
|
8
|
+
# [6.110.0](https://github.com/tillhub/schemas/compare/v6.109.0...v6.110.0) (2022-01-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **abocard-systems:** add action name #API-1169 ([38e7d7f](https://github.com/tillhub/schemas/commit/38e7d7f)), closes [#API-1169](https://github.com/tillhub/schemas/issues/API-1169)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **carts:** customers ([07cf41e](https://github.com/tillhub/schemas/commit/07cf41e))
|
|
19
|
+
|
|
20
|
+
# [6.109.0](https://github.com/tillhub/schemas/compare/v6.108.0...v6.109.0) (2022-01-04)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **expense_accounts:** add branch_groups ([8c8cefc](https://github.com/tillhub/schemas/commit/8c8cefc))
|
|
26
|
+
|
|
27
|
+
# [6.108.0](https://github.com/tillhub/schemas/compare/v6.107.0...v6.108.0) (2021-12-22)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* **pricebooks:** Add Price Books to untrash ([#654](https://github.com/tillhub/schemas/issues/654)) ([d7850b5](https://github.com/tillhub/schemas/commit/d7850b5))
|
|
33
|
+
|
|
1
34
|
# [6.107.0](https://github.com/tillhub/schemas/compare/v6.106.0...v6.107.0) (2021-12-21)
|
|
2
35
|
|
|
3
36
|
|
package/lib/v0/discounts/base.js
CHANGED
|
@@ -364,6 +364,20 @@ module.exports = {
|
|
|
364
364
|
}
|
|
365
365
|
]
|
|
366
366
|
},
|
|
367
|
+
branch_groups: {
|
|
368
|
+
oneOf: [
|
|
369
|
+
{
|
|
370
|
+
type: 'array',
|
|
371
|
+
items: {
|
|
372
|
+
type: 'string',
|
|
373
|
+
format: 'uuid'
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
type: 'null'
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
},
|
|
367
381
|
order: {
|
|
368
382
|
oneOf: [
|
|
369
383
|
{
|
|
@@ -83,6 +83,20 @@ module.exports = {
|
|
|
83
83
|
}
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
|
+
branch_groups: {
|
|
87
|
+
oneOf: [
|
|
88
|
+
{
|
|
89
|
+
type: 'array',
|
|
90
|
+
items: {
|
|
91
|
+
type: 'string',
|
|
92
|
+
format: 'uuid'
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: 'null'
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
86
100
|
accepts_booking_from_safe: {
|
|
87
101
|
type: 'boolean',
|
|
88
102
|
default: false
|
|
@@ -34,6 +34,11 @@ const abocardAction = {
|
|
|
34
34
|
'sell'
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
|
+
name: {
|
|
38
|
+
description: 'The abocard action name (usually the same as linked product)',
|
|
39
|
+
type: 'string',
|
|
40
|
+
example: 'Brainwashing'
|
|
41
|
+
},
|
|
37
42
|
product: {
|
|
38
43
|
description: 'The product associated with this action. Product gets created automatically when creating a abocard system and based on "linked_product" vat and "system_revenue_account" field values.',
|
|
39
44
|
...oneOf({
|
package/lib/v0/trash/get.js
CHANGED
package/lib/v0/trash/update.js
CHANGED