Skip to content

Commit

Permalink
feat(configurations): settings
Browse files Browse the repository at this point in the history
add epson tse state update rules

https://tillhub.atlassian.net/browse/TM-7214
  • Loading branch information
alghanor committed Aug 21, 2020
1 parent a7e5baa commit 6bb2dc3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lib/v1/configurations/items/settings.js
Expand Up @@ -80,6 +80,30 @@ module.exports = {
}
}
}),
epson_tse_state_update: oneOf({
description: 'defines epson tse state updates (local retrieval plus upload)',
type: 'object',
properties: {
trigger: {
type: 'string',
description: 'defines when the conditions (transactions, minutes) will be checked (can be at rather irregular times)',
enum: [
'never',
'new_sale' // after pressing 'new sale' the printer should not be that busy
]
},
transactions: {
type: 'integer',
description: 'If more transactions have been done since the last update - a new update will be tried',
default: 50
},
minutes: {
type: 'integer',
description: 'If more minutes have passed since the last update - a new update will be tried',
default: 120
}
}
}),
default_currency: {
type: 'string',
minLength: 3,
Expand Down

0 comments on commit 6bb2dc3

Please sign in to comment.