Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update label formats #263

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 52 additions & 20 deletions _data/carriers/dhl_express.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,58 @@
"key": "one_day_early"
}
],
"package_types": [{
"display_name": "Parcel",
"key": "parcel"
}],
"additional_services": [{
"display_name": "Saturday delivery",
"key": "saturday_delivery"
}],
"label_formats": [{
"pdf": [
{
"display_name": "DIN A5",
"key": "pdf_a5"
},
{
"display_name": "DIN A6",
"key": "pdf_a6"
}
]
}],
"package_types": [
{
"display_name": "Parcel",
"key": "parcel"
}
],
"additional_services": [
{
"display_name": "Saturday delivery",
"key": "saturday_delivery"
}
],
"label_formats": [
{
"pdf": [
{
"display_name": "DIN A5",
"key": "pdf_a5"
},
{
"display_name": "DIN A6",
"key": "pdf_a6"
}
],
"zpl": [
{
"display_name": "ZPL2 a6 203dpi",
"key": "zpl2_a6_203dpi"
},
{
"display_name": "ZPL2 a6 300dpi",
"key": "zpl2_a6_300dpi"
},
{
"display_name": "ZPL2 4x6in 203dpi",
"key": "zpl2_4x6in_203dpi"
},
{
"display_name": "ZPL2 4x6in 300dpi",
"key": "zpl2_4x6in_300dpi"
},
{
"display_name": "ZPL2 4x8in 203dpi",
"key": "zpl2_4x8in_203dpi"
},
{
"display_name": "ZPL2 4x8in 300dpi",
"key": "zpl2_4x8in_300dpi"
}
]
}
],
"field_lengths": {
"shipments": {
"company": "2 - 35 characters",
Expand Down
64 changes: 42 additions & 22 deletions _data/carriers/dpag.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"display_name": "DPAG one click for app v3",
"implementations": {
"shipcloud": {
"services": [{
"services": [
{
"display_name": "Standard",
"key": "standard"
},
Expand All @@ -24,7 +25,8 @@
"key": "dpag_warenpost_signature"
}
],
"package_types": [{
"package_types": [
{
"display_name": "Letter",
"key": "letter"
},
Expand All @@ -37,26 +39,44 @@
"key": "books"
}
],
"other_attributes": [{
"display_name": "Customs declaration",
"key": "customs_declaration"
},
{
"display_name": "Packstation",
"key": "packstation"
}],
"label_formats": [{
"pdf": [
{
"display_name": "DIN A5",
"key": "pdf_a5"
},
{
"display_name": "DIN A6",
"key": "pdf_a6"
}
]
}]
"other_attributes": [
{
"display_name": "Customs declaration",
"key": "customs_declaration"
},
{
"display_name": "Packstation",
"key": "packstation"
}
],
"label_formats": [
{
"pdf": [
{
"display_name": "DIN A5",
"key": "pdf_a5"
},
{
"display_name": "DIN A6",
"key": "pdf_a6"
}
],
"zpl": [
{
"display_name": "ZPL2 4x6in 203dpi",
"key": "zpl2_4x6in_203dpi"
},
{
"display_name": "ZPL2 4x6in 300dpi",
"key": "zpl2_4x6in_300dpi"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure we support this format for DPAG? I cannot find it

},
{
"display_name": "ZPL2 4x6in 300dpi td",
"key": "zpl2_4x6in_203dpi_td"
}
]
}
]
}
}
}
Expand Down
49 changes: 34 additions & 15 deletions _data/carriers/dpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"display_name": "Shipment Service V4.3",
"implementations": {
"shipcloud": {
"services": [{
"services": [
{
"display_name": "Standard",
"key": "standard"
},
Expand All @@ -24,7 +25,8 @@
"key": "one_day_early"
}
],
"package_types": [{
"package_types": [
{
"display_name": "Parcel",
"key": "parcel"
},
Expand All @@ -33,7 +35,8 @@
"key": "parcel_letter"
}
],
"additional_services": [{
"additional_services": [
{
"display_name": "Drop authorization",
"key": "drop_authorization"
},
Expand All @@ -60,18 +63,34 @@
"key": "trackers"
}
],
"label_formats": [{
"pdf": [
{
"display_name": "DIN A5",
"key": "pdf_a5"
},
{
"display_name": "DIN A6",
"key": "pdf_a6"
}
]
}],
"label_formats": [
{
"pdf": [
{
"display_name": "DIN A5",
"key": "pdf_a5"
},
{
"display_name": "DIN A6",
"key": "pdf_a6"
}
],
"zpl": [
{
"display_name": "ZPL2 4x6in 203dpi",
"key": "zpl2_4x6in_203dpi"
},
{
"display_name": "ZPL2 4x6in 300dpi",
"key": "zpl2_4x6in_300dpi"
},
{
"display_name": "ZPL2 4x6in 300dpi td",
"key": "zpl2_4x6in_203dpi_td"
}
]
}
],
"field_lengths": {
"shipments": {
"company": "1 - 35 characters",
Expand Down