@tillhub/schemas 6.422.0 → 6.424.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.424.0](https://github.com/tillhub/schemas/compare/v6.423.0...v6.424.0) (2026-02-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add unzer_installment and unzer_invoice payment types ([732a74d](https://github.com/tillhub/schemas/commit/732a74d))
|
|
7
|
+
|
|
8
|
+
# [6.423.0](https://github.com/tillhub/schemas/compare/v6.422.0...v6.423.0) (2026-02-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **UNTIL-18714:** add staff export module and schema ([#1112](https://github.com/tillhub/schemas/issues/1112)) ([79c0006](https://github.com/tillhub/schemas/commit/79c0006))
|
|
14
|
+
|
|
1
15
|
# [6.422.0](https://github.com/tillhub/schemas/compare/v6.421.0...v6.422.0) (2026-02-11)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -3,5 +3,6 @@ module.exports = {
|
|
|
3
3
|
payment_options: require('./payment_options'),
|
|
4
4
|
payments: require('./payments'),
|
|
5
5
|
vat: require('./vat'),
|
|
6
|
-
cashier_counting_protocols: require('./cashier_counting_protocols')
|
|
6
|
+
cashier_counting_protocols: require('./cashier_counting_protocols'),
|
|
7
|
+
staff: require('./staff')
|
|
7
8
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
module.exports.request = {
|
|
2
|
+
$id: 'https://schemas.tillhub.com/v0/analytics.reports.staff.export.request.schema.json',
|
|
3
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
4
|
+
type: 'object',
|
|
5
|
+
additionalProperties: true,
|
|
6
|
+
required: ['format', 'documentType', 'email'],
|
|
7
|
+
properties: {
|
|
8
|
+
start: { type: 'string', format: 'date-time' },
|
|
9
|
+
end: { type: 'string', format: 'date-time' },
|
|
10
|
+
branch: { type: 'string' },
|
|
11
|
+
branch_group: {
|
|
12
|
+
anyOf: [
|
|
13
|
+
{ type: 'string', minLength: 1, maxLength: 64 },
|
|
14
|
+
{ type: 'array', items: { type: 'string', minLength: 1, maxLength: 64 } }
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
staff_number: { type: 'string' },
|
|
18
|
+
filename_prefix: { type: 'string' },
|
|
19
|
+
timezone: { type: 'string' },
|
|
20
|
+
limit: { type: 'string', maxLength: 10 },
|
|
21
|
+
offset: { type: 'string', maxLength: 10 },
|
|
22
|
+
page: { type: 'string', maxLength: 10 },
|
|
23
|
+
size: { type: 'string', maxLength: 10 },
|
|
24
|
+
pageSize: { type: 'string', maxLength: 10 },
|
|
25
|
+
|
|
26
|
+
format: { type: 'string', enum: ['csv', 'xls'] },
|
|
27
|
+
delimiter: { type: 'string', enum: ['comma', 'semicolon'] },
|
|
28
|
+
enclosure: { type: 'string', enum: ['single', 'double'] },
|
|
29
|
+
show_column_name: { type: 'string', enum: ['true', 'false'] },
|
|
30
|
+
column_selection: { type: 'array', items: { type: 'string' } },
|
|
31
|
+
|
|
32
|
+
documentType: { type: 'string', enum: ['StaffExport'] },
|
|
33
|
+
email: { type: 'string', minLength: 5 },
|
|
34
|
+
lang: { type: 'string' },
|
|
35
|
+
scheduled_id: { type: 'string', minLength: 1, maxLength: 64 },
|
|
36
|
+
existingId: { type: 'string', format: 'uuid' },
|
|
37
|
+
correlationId: { type: 'string', format: 'uuid' }
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -72,7 +72,9 @@ module.exports = {
|
|
|
72
72
|
'card_adyen', // deprecated -> use 'card'
|
|
73
73
|
'card',
|
|
74
74
|
'terminal_gift_card', // e.g. Adyen Gift Card
|
|
75
|
-
'buy_now_pay_later' // Unzer: Buy-Now-Pay-Later
|
|
75
|
+
'buy_now_pay_later', // Unzer: Buy-Now-Pay-Later
|
|
76
|
+
'unzer_installment', // Unzer: TH LinkPay installments
|
|
77
|
+
'unzer_invoice' // Unzer: TH LinkPay invoice
|
|
76
78
|
],
|
|
77
79
|
description: 'Payment option type'
|
|
78
80
|
})
|
|
@@ -193,7 +195,9 @@ module.exports = {
|
|
|
193
195
|
'card_concardis', // legacy, deprecated
|
|
194
196
|
'card_adyen', // legacy, deprecated
|
|
195
197
|
'card_tim', // legacy, deprecated
|
|
196
|
-
'buy_now_pay_later' // Unzer: Buy-Now-Pay-Later
|
|
198
|
+
'buy_now_pay_later', // Unzer: Buy-Now-Pay-Later
|
|
199
|
+
'unzer_installment', // Unzer: TH LinkPay installments
|
|
200
|
+
'unzer_invoice' // Unzer: TH LinkPay invoice
|
|
197
201
|
]
|
|
198
202
|
}),
|
|
199
203
|
_context: {
|