2896-route_tickets_refactor + transactions + unitest + e2e #623

Merged
joan merged 16 commits from 2896-route_tickets_refactor into dev 2021-05-17 10:32:45 +00:00
1 changed files with 29 additions and 20 deletions
Showing only changes of commit d4eedc69e1 - Show all commits

View File

@ -10,58 +10,67 @@ module.exports = Self => {
accepts: [
{
arg: 'filter',
type: 'Object',
type: 'object',
description: 'Filter defining where, order, offset, and limit - must be a JSON-encoded string',
http: {source: 'query'}
}, {
},
{
arg: 'search',
type: 'String',
type: 'string',
description: 'Searchs the route by id',
http: {source: 'query'}
}, {
},
{
arg: 'workerFk',
type: 'Integer',
type: 'integer',
description: 'The worker id',
http: {source: 'query'}
}, {
},
{
arg: 'agencyModeFk',
type: 'Integer',
type: 'integer',
description: 'The agencyMode id',
http: {source: 'query'}
}, {
},
{
arg: 'to',
type: 'Date',
type: 'date',
description: 'The to date filter',
http: {source: 'query'}
}, {
},
{
arg: 'from',
type: 'Date',
type: 'date',
description: 'The to date filter',
http: {source: 'query'}
}, {
},
{
arg: 'vehicleFk',
type: 'Integer',
type: 'integer',
description: 'The vehicle id',
http: {source: 'query'}
}, {
},
{
arg: 'm3',
type: 'Number',
type: 'number',
description: 'The m3 filter',
http: {source: 'query'}
}, {
},
{
arg: 'warehouseFk',
type: 'Number',
type: 'number',
description: 'The warehouse filter',
http: {source: 'query'}
}, {
},
{
arg: 'description',
type: 'String',
type: 'string',
description: 'The description filter',
http: {source: 'query'}
}
],
returns: {
type: ['Object'],
type: ['object'],
root: true
},
http: {