Skip to content

Commit e4a7acc

Browse files
committed
chore(assets): update application body [skip ci]
1 parent 1a892f7 commit e4a7acc

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

assets/application.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,93 @@
375375
}
376376
},
377377
"hide": true
378+
},
379+
"warehouses": {
380+
"schema": {
381+
"title": "Armazéns (multi CD)",
382+
"description": "Origens e destinos para cada centro de distribuição",
383+
"type": "array",
384+
"maxItems": 30,
385+
"items": {
386+
"title": "Centro de distribuição",
387+
"type": "object",
388+
"required": [
389+
"zip"
390+
],
391+
"additionalProperties": false,
392+
"properties": {
393+
"code": {
394+
"type": "string",
395+
"maxLength": 30,
396+
"pattern": "^[A-Za-z0-9-_]{2,30}$",
397+
"title": "Código do CD"
398+
},
399+
"doc": {
400+
"type": "string",
401+
"maxLength": 255,
402+
"title": "Documento da filial",
403+
"description": "CNPJ da filial associado à sua conta Jadlog"
404+
},
405+
"zip": {
406+
"type": "string",
407+
"maxLength": 9,
408+
"pattern": "^[0-9]{5}-?[0-9]{3}$",
409+
"title": "CEP de origem",
410+
"description": "Código postal do remetente para cálculo do frete"
411+
},
412+
"posting_deadline": {
413+
"title": "Prazo de envio do CD",
414+
"type": "object",
415+
"required": [
416+
"days"
417+
],
418+
"additionalProperties": false,
419+
"properties": {
420+
"days": {
421+
"type": "integer",
422+
"minimum": 0,
423+
"maximum": 999999,
424+
"title": "Número de dias",
425+
"description": "Dias de prazo para postar os produtos após a compra"
426+
},
427+
"working_days": {
428+
"type": "boolean",
429+
"default": true,
430+
"title": "Dias úteis"
431+
},
432+
"after_approval": {
433+
"type": "boolean",
434+
"default": true,
435+
"title": "Após aprovação do pagamento"
436+
}
437+
}
438+
},
439+
"zip_range": {
440+
"title": "Faixa de CEP atendida",
441+
"type": "object",
442+
"required": [
443+
"min",
444+
"max"
445+
],
446+
"properties": {
447+
"min": {
448+
"type": "integer",
449+
"minimum": 10000,
450+
"maximum": 999999999,
451+
"title": "CEP inicial"
452+
},
453+
"max": {
454+
"type": "integer",
455+
"minimum": 10000,
456+
"maximum": 999999999,
457+
"title": "CEP final"
458+
}
459+
}
460+
}
461+
}
462+
}
463+
},
464+
"hide": true
378465
}
379466
},
380467
"auth_callback_uri": "https://us-central1-ecom-jadlog.cloudfunctions.net/app/ecom/auth-callback",

0 commit comments

Comments
 (0)