Skip to content

Commit

Permalink
chore(assets): update application body [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 14, 2024
1 parent 0537125 commit 80d017d
Showing 1 changed file with 89 additions and 1 deletion.
90 changes: 89 additions & 1 deletion assets/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,96 @@
"description": "Insira a lista de IDs separados por vírgula de transportadoras que serão removidas do cálculo"
},
"hide": true
},
"warehouses": {
"schema": {
"title": "Armazéns (multi CD)",
"description": "Origens e destinos para cada centro de distribuição",
"type": "array",
"maxItems": 30,
"items": {
"title": "Centro de distribuição",
"type": "object",
"required": [
"code",
"zip"
],
"additionalProperties": false,
"properties": {
"code": {
"type": "string",
"maxLength": 30,
"pattern": "^[A-Za-z0-9-_]{2,30}$",
"title": "Código do CD"
},
"api_key": {
"type": "string",
"maxLength": 600,
"title": "Api Key",
"description": "Api Key da Frete Click específica para o CD, se houver"
},
"zip": {
"type": "string",
"maxLength": 9,
"pattern": "^[0-9]{5}-?[0-9]{3}$",
"title": "CEP de origem",
"description": "Código postal do remetente para cálculo do frete"
},
"posting_deadline": {
"title": "Prazo de envio do CD",
"type": "object",
"required": [
"days"
],
"additionalProperties": false,
"properties": {
"days": {
"type": "integer",
"minimum": 0,
"maximum": 999999,
"title": "Número de dias",
"description": "Dias de prazo para postar os produtos após a compra"
},
"working_days": {
"type": "boolean",
"default": true,
"title": "Dias úteis"
},
"after_approval": {
"type": "boolean",
"default": true,
"title": "Após aprovação do pagamento"
}
}
},
"zip_range": {
"title": "Faixa de CEP atendida",
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"min": {
"type": "integer",
"minimum": 10000,
"maximum": 999999999,
"title": "CEP inicial"
},
"max": {
"type": "integer",
"minimum": 10000,
"maximum": 999999999,
"title": "CEP final"
}
}
}
}
}
},
"hide": true
}
},
"auth_callback_uri": "https://us-central1-ecom-freteclick.cloudfunctions.net/app/ecom/auth-callback",
"version": "1.0.0"
"version": "1.1.0"
}

0 comments on commit 80d017d

Please sign in to comment.