Skip to content

Commit

Permalink
feat(ecom-config): mapping status
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Jan 17, 2024
1 parent d037e68 commit d8f66d5
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions functions/ecom.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,56 @@ const app = {
},
hide: true
},
tiny_map_status: {
schema: {
title: 'Mapeamento de Status',
type: 'array',
maxItems: 30,
items: {
title: 'Relacionar status',
description: 'Escolha a equivalência de um status tiny para um status ecomplus',
type: 'object',
properties: {
ecom_status: {
type: 'string',
enum: [
'Pendente',
'Em análise',
'Autorizado',
'Pago',
'Em disputa',
'Devolvido',
'Cancelado',
'Em produção',
'Em separação',
'NF emitida',
'Pronto para envio',
'Enviado',
'Entregue',
'Aguardando troca',
'Devolvido',
'Retorno e troca'
],
title: 'Status E-Com Plus'
},
tiny_status: {
type: 'string',
enum: [
'Em aberto',
'Aprovado',
'Preparando envio',
'Faturado',
'Pronto para envio',
'Enviado',
'Entregue'
],
title: 'Status Tiny'
}
}
}
},
hide: false
},
logs: {
schema: {
title: 'Logs',
Expand Down

0 comments on commit d8f66d5

Please sign in to comment.