Skip to content

Commit

Permalink
generating ZPL sheets, bump to version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
foton committed Apr 7, 2022
1 parent ee3e7a8 commit 29abfd5
Show file tree
Hide file tree
Showing 37 changed files with 2,618 additions and 5,765 deletions.
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ AllCops:
- "**/*.jb"
Exclude:
- "bin/*"
Documentation:
- "documents/**/*"
- "test/fixtures/**/*"

Style/Documentation:
Enabled: false
Layout/LineLength:
Max: 140
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@

All changes to the gem are documented here.

## [1.3.0] - 2022-04-07
- checked currently available Print Templates codes
- enhanced address sheet printing with ability to print ZPL sheets (templates 200, 201 and 202).
Result of `AddressSheetGenerator` now have `pdf_content` and `zpl_content`.
- found new(?) API from Czech Post , see `documents/B2B-ZSKService-1.4.0.yaml` and https://www.ceskaposta.cz/napi/b2b.

## [1.2.8] - 2022-03-22
- added new response codes
- added new response codes

## [1.2.6] - 2020-10-27

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
czech_post_b2b_client (1.2.8)
czech_post_b2b_client (1.3.0)
ox (~> 2.11)

GEM
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@

# FRESH NEWS
7.4.2022
Finally there is some online documentation about nAPI of Czech post (https://www.ceskaposta.cz/napi/b2b)
Not yet checked if this is the same api we use or new one. Seems that authorization is different.


26.8.2020
After full usage in production (vyvolej.to, squared.one), we found that Czech POst have trouble with `parcelServiceSync` (maybe `sendParcels` too). When You try to register package with `:customs_documents`, you get `INVALID_BATCH` response with no error, but with `parcelCode`:
```
<?xml version="1.0" encoding="UTF-8"?>
Expand Down
Binary file added documents/API_dokumentace.docx
Binary file not shown.
Loading

0 comments on commit 29abfd5

Please sign in to comment.