Skip to content

Commit b542c91

Browse files
committed
Add new service codes in Dict
1 parent 62f8876 commit b542c91

1 file changed

Lines changed: 69 additions & 25 deletions

File tree

correios/models/data.py

Lines changed: 69 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -480,27 +480,71 @@
480480
'category': 'CARTA_REGISTRADA',
481481
'display_name': 'Carta Comercial',
482482
},
483-
"04812": {
484-
"id": 124899,
485-
"description": "PAC CONTRATO - UO",
486-
"category": "PAC",
487-
"display_name": "PAC",
488-
"max_weight": 30000,
489-
"symbol": "standard",
490-
"default_extra_services": [EXTRA_SERVICE_RR],
491-
"min_declared_value": Decimal("19.50"),
492-
"max_declared_value": Decimal("3000.00"),
483+
'04812': {
484+
'id': 124899,
485+
'description': 'PAC CONTRATO - UO',
486+
'category': 'PAC',
487+
'display_name': 'PAC',
488+
'max_weight': 30000,
489+
'symbol': 'standard',
490+
'default_extra_services': [EXTRA_SERVICE_RR],
491+
'min_declared_value': Decimal('19.50'),
492+
'max_declared_value': Decimal('3000.00'),
493+
},
494+
'04316': {
495+
'id': 124900,
496+
'description': 'SEDEX CONTRATO - UO',
497+
'category': 'SEDEX',
498+
'max_weight': 30000,
499+
'display_name': 'SEDEX',
500+
'symbol': 'express',
501+
'default_extra_services': [EXTRA_SERVICE_RR],
502+
'min_declared_value': Decimal('19.50'),
503+
'max_declared_value': Decimal('10000.00'),
504+
},
505+
'03298': {
506+
'id': 124884,
507+
'description': 'PAC',
508+
'category': 'PAC',
509+
'display_name': 'PAC',
510+
'max_weight': 30000,
511+
'symbol': "standard",
512+
'default_extra_services': [EXTRA_SERVICE_RR],
513+
'min_declared_value': Decimal("18.00"),
514+
'max_declared_value': Decimal("3000.00"),
493515
},
494-
"04316": {
495-
"id": 124900,
496-
"description": "SEDEX CONTRATO - UO",
497-
"category": "SEDEX",
498-
"max_weight": 30000,
499-
"display_name": "SEDEX",
500-
"symbol": "express",
501-
"default_extra_services": [EXTRA_SERVICE_RR],
502-
"min_declared_value": Decimal("19.50"),
503-
"max_declared_value": Decimal("10000.00"),
516+
'03220': {
517+
'id': 124849,
518+
'description': 'SEDEX CONTRATO AGENCIA',
519+
'category': 'SEDEX',
520+
'max_weight': 30000,
521+
'display_name': 'SEDEX',
522+
'symbol': "express",
523+
'default_extra_services': [EXTRA_SERVICE_RR],
524+
'min_declared_value': Decimal("18.00"),
525+
'max_declared_value': Decimal("10000.00"),
526+
},
527+
'03336': {
528+
'id': 124899,
529+
'description': 'PAC CONTRATO - UO',
530+
'category': 'PAC',
531+
'display_name': 'PAC',
532+
'max_weight': 30000,
533+
'symbol': 'standard',
534+
'default_extra_services': [EXTRA_SERVICE_RR],
535+
'min_declared_value': Decimal('19.50'),
536+
'max_declared_value': Decimal('3000.00'),
537+
},
538+
'03280': {
539+
'id': 124900,
540+
'description': 'SEDEX CONTRATO - UO',
541+
'category': 'SEDEX',
542+
'max_weight': 30000,
543+
'display_name': 'SEDEX',
544+
'symbol': 'express',
545+
'default_extra_services': [EXTRA_SERVICE_RR],
546+
'min_declared_value': Decimal('19.50'),
547+
'max_declared_value': Decimal('10000.00'),
504548
},
505549
} # type: Dict[str, dict]
506550

@@ -509,12 +553,12 @@
509553
SERVICE_SEDEX10 = '40215'
510554
SERVICE_SEDEX12 = '40169'
511555
SERVICE_E_SEDEX = '81019'
512-
SERVICE_PAC_INDUSTRIAL = "04812"
513-
SERVICE_SEDEX_INDUSTRIAL = "04316"
556+
SERVICE_PAC_INDUSTRIAL = '04812'
557+
SERVICE_SEDEX_INDUSTRIAL = '04316'
514558

515-
INSURANCE_VALUE_THRESHOLD_PAC = Decimal("50.00") # R$
516-
INSURANCE_VALUE_THRESHOLD_SEDEX = Decimal("75.00") # R$
517-
INSURANCE_PERCENTUAL_COST = Decimal("0.007") # 0.7%
559+
INSURANCE_VALUE_THRESHOLD_PAC = Decimal('50.00') # R$
560+
INSURANCE_VALUE_THRESHOLD_SEDEX = Decimal('75.00') # R$
561+
INSURANCE_PERCENTUAL_COST = Decimal('0.007') # 0.7%
518562

519563
REGIONAL_DIRECTIONS = {
520564
1: {'code': "AC", 'name': "AC - ADMINISTRAÇAO CENTRAL"},

0 commit comments

Comments
 (0)