File tree 1 file changed +83
-0
lines changed
1 file changed +83
-0
lines changed Original file line number Diff line number Diff line change @@ -475,6 +475,89 @@ const app = {
475
475
}
476
476
} ,
477
477
hide : true
478
+ } ,
479
+ warehouses : {
480
+ schema : {
481
+ title : 'Armazéns (multi CD)' ,
482
+ description : 'Origens e destinos para cada centro de distribuição' ,
483
+ type : 'array' ,
484
+ maxItems : 30 ,
485
+ items : {
486
+ title : 'Centro de distribuição' ,
487
+ type : 'object' ,
488
+ required : [ 'zip' ] ,
489
+ additionalProperties : false ,
490
+ properties : {
491
+ code : {
492
+ type : 'string' ,
493
+ maxLength : 30 ,
494
+ pattern : '^[A-Za-z0-9-_]{2,30}$' ,
495
+ title : 'Código do CD'
496
+ } ,
497
+ doc : {
498
+ type : 'string' ,
499
+ maxLength : 255 ,
500
+ title : 'Documento da filial' ,
501
+ description : 'CNPJ da filial associado à sua conta Jadlog'
502
+ } ,
503
+ zip : {
504
+ type : 'string' ,
505
+ maxLength : 9 ,
506
+ pattern : '^[0-9]{5}-?[0-9]{3}$' ,
507
+ title : 'CEP de origem' ,
508
+ description : 'Código postal do remetente para cálculo do frete'
509
+ } ,
510
+ posting_deadline : {
511
+ title : 'Prazo de envio do CD' ,
512
+ type : 'object' ,
513
+ required : [ 'days' ] ,
514
+ additionalProperties : false ,
515
+ properties : {
516
+ days : {
517
+ type : 'integer' ,
518
+ minimum : 0 ,
519
+ maximum : 999999 ,
520
+ title : 'Número de dias' ,
521
+ description : 'Dias de prazo para postar os produtos após a compra'
522
+ } ,
523
+ working_days : {
524
+ type : 'boolean' ,
525
+ default : true ,
526
+ title : 'Dias úteis'
527
+ } ,
528
+ after_approval : {
529
+ type : 'boolean' ,
530
+ default : true ,
531
+ title : 'Após aprovação do pagamento'
532
+ }
533
+ }
534
+ } ,
535
+ zip_range : {
536
+ title : 'Faixa de CEP atendida' ,
537
+ type : 'object' ,
538
+ required : [
539
+ 'min' ,
540
+ 'max'
541
+ ] ,
542
+ properties : {
543
+ min : {
544
+ type : 'integer' ,
545
+ minimum : 10000 ,
546
+ maximum : 999999999 ,
547
+ title : 'CEP inicial'
548
+ } ,
549
+ max : {
550
+ type : 'integer' ,
551
+ minimum : 10000 ,
552
+ maximum : 999999999 ,
553
+ title : 'CEP final'
554
+ }
555
+ }
556
+ }
557
+ }
558
+ }
559
+ } ,
560
+ hide : true
478
561
}
479
562
}
480
563
}
You can’t perform that action at this time.
0 commit comments