czech_post_b2b_client 1.2.6 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -1
- data/CHANGELOG.md +9 -0
- data/README.md +6 -0
- data/lib/czech_post_b2b_client/b2b_errors.rb +4 -2
- data/lib/czech_post_b2b_client/configuration.rb +1 -1
- data/lib/czech_post_b2b_client/post_services.rb +3 -2
- data/lib/czech_post_b2b_client/printing_templates.rb +39 -36
- data/lib/czech_post_b2b_client/request_builders/base_builder.rb +1 -0
- data/lib/czech_post_b2b_client/request_builders/get_parcel_state_builder.rb +1 -0
- data/lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb +1 -0
- data/lib/czech_post_b2b_client/request_builders/get_result_parcels_builder.rb +1 -0
- data/lib/czech_post_b2b_client/request_builders/get_stats_builder.rb +1 -0
- data/lib/czech_post_b2b_client/request_builders/parcel_service_sync_builder.rb +5 -4
- data/lib/czech_post_b2b_client/request_builders/send_parcels_builder.rb +6 -7
- data/lib/czech_post_b2b_client/response_codes.rb +43 -0
- data/lib/czech_post_b2b_client/response_parsers/base_parser.rb +14 -13
- data/lib/czech_post_b2b_client/response_parsers/get_parcel_state_parser.rb +1 -1
- data/lib/czech_post_b2b_client/response_parsers/get_parcels_printing_parser.rb +27 -15
- data/lib/czech_post_b2b_client/response_parsers/get_result_parcels_parser.rb +2 -2
- data/lib/czech_post_b2b_client/response_parsers/get_stats_parser.rb +5 -8
- data/lib/czech_post_b2b_client/response_parsers/parcel_service_sync_parser.rb +4 -4
- data/lib/czech_post_b2b_client/response_parsers/send_parcels_parser.rb +2 -2
- data/lib/czech_post_b2b_client/services/address_sheets_generator.rb +7 -3
- data/lib/czech_post_b2b_client/services/api_caller.rb +7 -4
- data/lib/czech_post_b2b_client/services/delivering_inspector.rb +1 -0
- data/lib/czech_post_b2b_client/services/orchestrator.rb +1 -1
- data/lib/czech_post_b2b_client/services/parcels_async_sender.rb +5 -2
- data/lib/czech_post_b2b_client/services/parcels_send_process_updater.rb +8 -3
- data/lib/czech_post_b2b_client/services/parcels_submission_closer.rb +1 -1
- data/lib/czech_post_b2b_client/services/parcels_sync_sender.rb +9 -4
- data/lib/czech_post_b2b_client/services/time_period_statisticator.rb +10 -4
- data/lib/czech_post_b2b_client/services/xsds_downloader.rb +3 -1
- data/lib/czech_post_b2b_client/version.rb +1 -1
- metadata +5 -462
- data/doc/CzechPostB2bClient/B2BErrors/BadRequestError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/BaseError.html +0 -411
- data/doc/CzechPostB2bClient/B2BErrors/CustomerRequestsCountOverflowError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/InternalB2BServerError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/InternalBackendServerError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/InternalDataPersistenceServerError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/ProcessingUnfinishedYetError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/ServiceBusyError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/UnauthorizedContractAccessError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors/UnauthorizedRoleAccessError.html +0 -145
- data/doc/CzechPostB2bClient/B2BErrors.html +0 -255
- data/doc/CzechPostB2bClient/Configuration.html +0 -1013
- data/doc/CzechPostB2bClient/Error.html +0 -128
- data/doc/CzechPostB2bClient/PostServices/AddreseeVerification.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalByEmail.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalBySms.html +0 -140
- data/doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalBySmsAndEmail.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/AddresseeVerificationOnDelivery.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/AfternoonDelivery.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/Base.html +0 -351
- data/doc/CzechPostB2bClient/PostServices/CashOnDeliveryByPKA.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/CashOnDeliveryByPKC.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/CashOnDeliveryInternational.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/CertificateOfDelivery.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/CertificateOfDeliveryWithDeliverToAdresseeOnly.html +0 -140
- data/doc/CzechPostB2bClient/PostServices/CertificateOfDeliveryWithDeliverToAdresseePersonOnly.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/CompanyRegisteredMail.html +0 -141
- data/doc/CzechPostB2bClient/PostServices/CompleteDelivery.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/Consignment.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/CumbersomeParcel.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DeliverToAdresseeOnly.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DeliverToAdresseePersonOnly.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DeliverToCompany.html +0 -147
- data/doc/CzechPostB2bClient/PostServices/DepositFor10Days.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DepositFor10WorkingDays.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DepositFor3Days.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DepositFor7Days.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DepositFor90Days.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DepositIfAdresseeIsUnreachable.html +0 -141
- data/doc/CzechPostB2bClient/PostServices/DiscountForCollectiveShippment.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DiscountForOnlinePosting.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DoNotDeposit.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DoNotExtendCollectionTime.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/DoNotPutIntoMailbox.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DoNotResend.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DoNotReturnLeaveItInMailbox.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DoNotReturnToSender.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/Document.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/DocumentlessCashOnDelivery.html +0 -147
- data/doc/CzechPostB2bClient/PostServices/DocumentsSignedAtDelivery.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/EAlertOfDeliveryEmail.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/EAlertOfDeliverySms.html +0 -140
- data/doc/CzechPostB2bClient/PostServices/EAlertOfDeliverySmsAndEmail.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/EconomyDelivery.html +0 -140
- data/doc/CzechPostB2bClient/PostServices/ExtendedCollectionTime.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ForenoonDelivery.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/Fragile.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/GiftOrNonCommercialGoods.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/GoodsWithExportDocumentsProcessed.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeAtSaturday.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeAtWeekend.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeTo2PM.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/HeavyParcelDeliveryToHand.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/InformSenderAboutDelivery.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/InternationalMail.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/InternationalMailForBlinds.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/InternationalPrintedMatterBag.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/InternationalRegisteredMail.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/InternationalRegisteredMailForBlinds.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/InternationalRegisteredPrintedMatterBag.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ListedPrice.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/Missed.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/Missive.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/MissiveStandard.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/MultiParcelShippment.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/MultiParcelShippmentBig.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/NonStandardPackage.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/OldApplianceRemoval.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/OnPalette.html +0 -140
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeL.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeM.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeS.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeXL.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/PickupByThirdPerson.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/PosteRestante.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/PreprocessedBySorting.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/PrioritaireByAir.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/RegisteredMail.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/RegisteredMailForBlinds.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/RegisteredMailStandard.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ResendToOtherAddress.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ResponseEnvelope.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ResponseShipment.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ReturnByAir.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ReturnEconomically.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ReturnOfGoods.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ReturnToSenderAfterXDays.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/ReturnToSenderImmediately.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/SaveKey.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/SubmissionByPostbox.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/SubmissionReceiptCopy.html +0 -129
- data/doc/CzechPostB2bClient/PostServices/ThisSideUp.html +0 -148
- data/doc/CzechPostB2bClient/PostServices/ValuableContent.html +0 -129
- data/doc/CzechPostB2bClient/PostServices.html +0 -197
- data/doc/CzechPostB2bClient/PrintingTemplates/AddressData3x8.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Blank.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Blank4OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/BlankLandscape.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS2x4.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/HarmonizedLabel.html +0 -141
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/HarmonizedLabel4OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard2OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard4OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable4OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage.html +0 -115
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Simple.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/SimpleWithCODVoucherA.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel.html +0 -117
- data/doc/CzechPostB2bClient/PrintingTemplates/Base.html +0 -279
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherA.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherA3OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherC.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherForCSOB.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN224OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22WithCK.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22WithCK4OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN23.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration.html +0 -115
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclarationCN22.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclarationCN23.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/DeliveryTicket.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeB4.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeC5.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeC6.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeDL.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope.html +0 -115
- data/doc/CzechPostB2bClient/PrintingTemplates/HarmonizedLabel.html +0 -141
- data/doc/CzechPostB2bClient/PrintingTemplates/HarmonizedLabel4OnPage.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/IntegratedDocument.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates/RRLabels3x8.html +0 -129
- data/doc/CzechPostB2bClient/PrintingTemplates.html +0 -199
- data/doc/CzechPostB2bClient/RequestBuilders/BaseBuilder.html +0 -396
- data/doc/CzechPostB2bClient/RequestBuilders/GetParcelStateBuilder.html +0 -329
- data/doc/CzechPostB2bClient/RequestBuilders/GetParcelsPrintingBuilder.html +0 -470
- data/doc/CzechPostB2bClient/RequestBuilders/GetResultParcelsBuilder.html +0 -329
- data/doc/CzechPostB2bClient/RequestBuilders/GetStatsBuilder.html +0 -403
- data/doc/CzechPostB2bClient/RequestBuilders/ParcelServiceSyncBuilder.html +0 -414
- data/doc/CzechPostB2bClient/RequestBuilders/SendParcelsBuilder.html +0 -414
- data/doc/CzechPostB2bClient/RequestBuilders.html +0 -117
- data/doc/CzechPostB2bClient/ResponseCodes/AddressAllowedForBalikovnaOnly.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/AddressIsNotValidForSubject.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/AddressNeedsPhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/AddressSuitableForLocalDelivery.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/AddressValidOnlyForNaPostu.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/AddressValidOnlyForNaPostuDuplicate.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/AddresseeCityRequired.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/AlreadyAssignedOrderNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadAddressee.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadCODAmount.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadFormatReturnNumberDays.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadHeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadLength.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrefix.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrefixForAddress.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrice.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadVariableSymbol.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadWeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BadWidth.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BaseCode.html +0 -640
- data/doc/CzechPostB2bClient/ResponseCodes/BatchClosed.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BatchInvalid.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/BatchUnfinished.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/CODAmountOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/CODAmountTooBig.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/CanceledOrderNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/CustomGoodQuantityOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/CustomerIDNotInAccordanceWithParcelCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/DensityOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateDuplicateParcelCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateParcel.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateParcelCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicitParcelCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/FullSequence.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/FullSequenceDuplicate.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/IllegalCombinationOfServices.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddRequiredService75.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1A.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1B.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1D.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService9.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddressWasModified.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddresseeToLong.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelCustCardNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelCustCardNumberAddresseeDocument.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelHeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelLength.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelMobilePhoneOrEmailAddresseeDocument.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelPalettsNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelPersonalIdentificationNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AB.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1ABForService40.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AForPostCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AForService40.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AWith1B.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1B.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BAddService1A.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BForPostCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BWith1A.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1D.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1E.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1V.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService25.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService27.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService29.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService30.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService31.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService34.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService34InvalidPhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService45.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService45InvalidPhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService46.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService47.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5B.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5BAnd5C.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5BAnd5D.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5C.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5CAnd5D.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5D.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService9.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelVSVoucher.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelWidth.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCityChanged.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInexactAddress.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidAccount.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidBankCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidBirthDay.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidCODAmount.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidCategoryCustomDecalaration.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidEmail.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidMobilePhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPrefixAccount.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPrice.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidSpecificSymbol.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidTelephoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidWeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoMissingPartCityServiceDeliveryOnSundayOrHolidayMayNotBeRealized.html +0 -145
- data/doc/CzechPostB2bClient/ResponseCodes/InfoPriceIsNotNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoPriceIsTooBig.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoService29And47.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InfoSpecialPackagingRequest.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InternalApplicationError.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentForParcelType.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentObjectNotFound.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentWrongCity.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForBalikovna.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForBigPackage.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForCODAmountOver20000.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForParcelType.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressee.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmount.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmountCurrency.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmountType.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODAmount.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODCurrency.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODCurrencyAccordance.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCategoryCustomDecalaration.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidContentCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCurrencyCustomDecalaration.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomGoodNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomerCardNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomerId.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidDensity.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidEmail.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidHeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidHsCodeCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidIsoCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidIsoCustomGoodFormat.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidLength.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidLocation.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidMRNCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidMRNCodeControl.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidNumberClosure.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidOrderNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelBarcode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelBarcodeDuplicate.html +0 -145
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelCodeControl.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelResponseCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelTypeForID.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPartnerCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPayday.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPostCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixAccordance.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixCombination.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixForDimensionsAndFragile.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrice.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCurrency.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCurrencyAccordance.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidQuantityCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidResponsibleConsignmentNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidReturnNumberDays.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidService18.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidService19.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidServiceCombination.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidServicesForDimensions.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidSignNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidSubisoCountry.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTareWeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTiming.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTransmissionDate.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTypePrefix.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService36.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService37.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService38.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightCustomGoodSummary.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightForService11.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWidth.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidZPROOrderNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidZPROOrderNumberFormat.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidostCodeOrCity.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MIssingParcelCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddressee.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeCity.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeStreet.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeZipCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCODAmount.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCODAmountType.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCategoryCustomDecalaration.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCompanyName.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingContentCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCurrencyCustomDeclaration.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHandlingInstructions.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHeight.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHsCodeCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingIsoCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingLength.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPalettsNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingParcelCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingParcelCustomGoods.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPrefix.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPrice.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPriceCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingQuantityCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeDocument.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeDocumentDuplicate.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeEmail.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredEmail.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredFirstNameAddresseeDocument.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMRNCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMobileNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMobileNumberOrEmail.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredParcelCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPayday.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumberOrEmail.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumberOrWhat.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPrice.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService10.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService1AB.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService1X.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService2X.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService3X.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService3XTrinity.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4X.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4x.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredVoucherPrice.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredZPROOrderNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingReturnInstructions.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingReturnNumberDays.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSenderEmail.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSizeCategory.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSurname.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingVariableSymbol.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingVariableSymbolDuplicate.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingWeightCustomGood.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/MissingWidth.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/NfoCancelService9.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/NoContractService41.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/NoContractServiceReturnReceipt.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/NotExistingOrderNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/Ok.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/OverenoVecerniDorucovani.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/PalettsNumberOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelCodeNotAllowed.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelCodeNotInAssignedRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelDoesNotMeetTheRequirementsForm.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/PriceAndCODAmountTooBig.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/PriceOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/PriceTooBig.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/PriceTooLow.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/ResponsibleConsignmentNumberCannotBeImported.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/ResponsibleConsignmentNumberOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/ServicesCombinationNotAllowed.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionAlreadyClosed.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionNotExists.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionOpened.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionUnfinished.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/UnauthorizedAccess.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownAddresseeCity.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownAddresseePostCode.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownPrefix.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/VariableSymbolIsNotNumber.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/WeightCustomGoodOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/WeightIsOutOfRange.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes/WeightIsOutOfRangeDuplicate.html +0 -134
- data/doc/CzechPostB2bClient/ResponseCodes.html +0 -266
- data/doc/CzechPostB2bClient/ResponseParsers/BaseParser.html +0 -283
- data/doc/CzechPostB2bClient/ResponseParsers/GetParcelStateParser.html +0 -548
- data/doc/CzechPostB2bClient/ResponseParsers/GetParcelsPrintingParser.html +0 -463
- data/doc/CzechPostB2bClient/ResponseParsers/GetResultParcelsParser.html +0 -631
- data/doc/CzechPostB2bClient/ResponseParsers/GetStatsParser.html +0 -347
- data/doc/CzechPostB2bClient/ResponseParsers/ParcelServiceSyncParser.html +0 -805
- data/doc/CzechPostB2bClient/ResponseParsers/SendParcelsParser.html +0 -374
- data/doc/CzechPostB2bClient/ResponseParsers.html +0 -117
- data/doc/CzechPostB2bClient/Services/AddressSheetsGenerator.html +0 -451
- data/doc/CzechPostB2bClient/Services/ApiCaller.html +0 -311
- data/doc/CzechPostB2bClient/Services/Communicator.html +0 -220
- data/doc/CzechPostB2bClient/Services/DeliveringInspector.html +0 -324
- data/doc/CzechPostB2bClient/Services/Orchestrator.html +0 -143
- data/doc/CzechPostB2bClient/Services/ParcelsAsyncSender.html +0 -402
- data/doc/CzechPostB2bClient/Services/ParcelsSendProcessUpdater.html +0 -377
- data/doc/CzechPostB2bClient/Services/ParcelsSender.html +0 -190
- data/doc/CzechPostB2bClient/Services/ParcelsSubmissionCloser.html +0 -337
- data/doc/CzechPostB2bClient/Services/ParcelsSyncSender.html +0 -464
- data/doc/CzechPostB2bClient/Services/TimePeriodStatisticator.html +0 -398
- data/doc/CzechPostB2bClient/Services/XsdsDownloader.html +0 -289
- data/doc/CzechPostB2bClient/Services.html +0 -117
- data/doc/CzechPostB2bClient.html +0 -475
- data/doc/SteppedService/Base.html +0 -706
- data/doc/SteppedService/Errors.html +0 -365
- data/doc/SteppedService.html +0 -225
- data/doc/_index.html +0 -3323
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.README.html +0 -382
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -382
- data/doc/js/app.js +0 -314
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1131
- data/doc/top-level-namespace.html +0 -110
@@ -7,8 +7,8 @@ module CzechPostB2bClient
|
|
7
7
|
super
|
8
8
|
|
9
9
|
@result[:async_result] = {
|
10
|
-
transaction_id: response_header
|
11
|
-
processing_end_expected_at: parse_time_with_correction(response_header
|
10
|
+
transaction_id: response_header['idTransaction'],
|
11
|
+
processing_end_expected_at: parse_time_with_correction(response_header['timeStampProcessing'])
|
12
12
|
}
|
13
13
|
end
|
14
14
|
|
@@ -5,7 +5,10 @@ module CzechPostB2bClient
|
|
5
5
|
class AddressSheetsGenerator < CzechPostB2bClient::Services::Communicator
|
6
6
|
attr_reader :parcel_codes, :options
|
7
7
|
|
8
|
+
AddressSheetsGeneratorResult = Struct.new(:pdf_content, :zpl_content, :state_text, :state_code, keyword_init: true)
|
9
|
+
|
8
10
|
def initialize(parcel_codes:, options: {})
|
11
|
+
super()
|
9
12
|
@parcel_codes = parcel_codes
|
10
13
|
@options = options
|
11
14
|
end
|
@@ -37,9 +40,10 @@ module CzechPostB2bClient
|
|
37
40
|
end
|
38
41
|
|
39
42
|
def build_result_from(response_hash)
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
+
AddressSheetsGeneratorResult.new(pdf_content: response_hash.dig(:printings, :pdf_content),
|
44
|
+
zpl_content: response_hash.dig(:printings, :zpl_content),
|
45
|
+
state_text: response_hash.dig(:response, :state, :text),
|
46
|
+
state_code: response_hash.dig(:response, :state, :code))
|
43
47
|
end
|
44
48
|
|
45
49
|
def check_for_state_errors
|
@@ -18,7 +18,10 @@ module CzechPostB2bClient
|
|
18
18
|
Net::ProtocolError
|
19
19
|
].freeze
|
20
20
|
|
21
|
+
ApiCallerResult = Struct.new(:code, :xml, keyword_init: true)
|
22
|
+
|
21
23
|
def initialize(endpoint_path:, xml:)
|
24
|
+
super()
|
22
25
|
@endpoint_path = endpoint_path
|
23
26
|
@request_xml = xml
|
24
27
|
end
|
@@ -40,7 +43,7 @@ module CzechPostB2bClient
|
|
40
43
|
def handle_response
|
41
44
|
CzechPostB2bClient.logger.debug("CzechPost B2B RESPONSE: #{response} with body:\n#{response.body}")
|
42
45
|
|
43
|
-
@result =
|
46
|
+
@result = ApiCallerResult.new(code: response.code.to_i, xml: response.body)
|
44
47
|
return unless b2b_error?
|
45
48
|
|
46
49
|
errors.add(:b2b, b2b_error_text)
|
@@ -102,12 +105,12 @@ module CzechPostB2bClient
|
|
102
105
|
end
|
103
106
|
|
104
107
|
def b2b_error_text
|
105
|
-
err_code_without_namespace_regexp = %r{<(?:\w
|
108
|
+
err_code_without_namespace_regexp = %r{<(?:\w+:)?errorCode>(\d+)</(?:\w+:)?errorCode>}
|
106
109
|
error_match = result.xml.match(err_code_without_namespace_regexp)
|
107
110
|
return 'error code not found in XML' unless error_match
|
108
111
|
|
109
112
|
error_code = error_match[1].to_i
|
110
|
-
error_details = result.xml.match(%r{<(?:\w
|
113
|
+
error_details = result.xml.match(%r{<(?:\w+:)?errorDescription>(.*)</(?:\w+:)?errorDescription>})
|
111
114
|
error = CzechPostB2bClient::B2BErrors.new_by_code(error_code, error_details[1])
|
112
115
|
return "error code [#{error_code}] is unknown" unless error
|
113
116
|
|
@@ -115,7 +118,7 @@ module CzechPostB2bClient
|
|
115
118
|
end
|
116
119
|
|
117
120
|
def handle_connection_error(error)
|
118
|
-
@result =
|
121
|
+
@result = ApiCallerResult.new(code: 500, xml: '')
|
119
122
|
errors.add(:connection, "#{error.class} > #{service_uri} - #{error}")
|
120
123
|
fail!
|
121
124
|
end
|
@@ -11,7 +11,7 @@ module CzechPostB2bClient
|
|
11
11
|
service = service_class.call(service_hash.values.first)
|
12
12
|
|
13
13
|
if service.failed?
|
14
|
-
errors.add_from_hash(
|
14
|
+
errors.add_from_hash({ service_name => service.errors.full_messages })
|
15
15
|
fail!
|
16
16
|
end
|
17
17
|
|
@@ -5,7 +5,10 @@ module CzechPostB2bClient
|
|
5
5
|
class ParcelsAsyncSender < CzechPostB2bClient::Services::Communicator
|
6
6
|
attr_reader :sending_data, :parcels
|
7
7
|
|
8
|
+
ParcelsAsyncSenderResult = Struct.new(:transaction_id, :processing_end_expected_at, keyword_init: true)
|
9
|
+
|
8
10
|
def initialize(sending_data:, parcels:)
|
11
|
+
super()
|
9
12
|
@sending_data = sending_data
|
10
13
|
@parcels = parcels
|
11
14
|
end
|
@@ -45,8 +48,8 @@ module CzechPostB2bClient
|
|
45
48
|
end
|
46
49
|
|
47
50
|
def build_result_from(response_hash)
|
48
|
-
|
49
|
-
|
51
|
+
ParcelsAsyncSenderResult.new(transaction_id: response_hash.dig(:async_result, :transaction_id),
|
52
|
+
processing_end_expected_at: response_hash.dig(:async_result, :processing_end_expected_at))
|
50
53
|
end
|
51
54
|
end
|
52
55
|
end
|
@@ -5,7 +5,10 @@ module CzechPostB2bClient
|
|
5
5
|
class ParcelsSendProcessUpdater < CzechPostB2bClient::Services::Communicator
|
6
6
|
attr_reader :transaction_id
|
7
7
|
|
8
|
+
ParcelsSendProcessUpdaterResult = Struct.new(:parcels_hash, :state_text, :state_code, keyword_init: true)
|
9
|
+
|
8
10
|
def initialize(transaction_id:)
|
11
|
+
super()
|
9
12
|
@transaction_id = transaction_id
|
10
13
|
end
|
11
14
|
|
@@ -36,9 +39,11 @@ module CzechPostB2bClient
|
|
36
39
|
end
|
37
40
|
|
38
41
|
def build_result_from(response_hash)
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
+
ParcelsSendProcessUpdaterResult.new(
|
43
|
+
parcels_hash: response_hash[:parcels],
|
44
|
+
state_text: response_hash.dig(:response, :state, :text),
|
45
|
+
state_code: response_hash.dig(:response, :state, :code)
|
46
|
+
)
|
42
47
|
end
|
43
48
|
|
44
49
|
def check_for_state_errors
|
@@ -8,7 +8,10 @@ module CzechPostB2bClient
|
|
8
8
|
class ParcelsSyncSender < CzechPostB2bClient::Services::Communicator
|
9
9
|
attr_reader :sending_data, :parcels
|
10
10
|
|
11
|
+
ParcelsSyncSenderResult = Struct.new(:parcels_hash, :state_text, :state_code, :pdf_content, keyword_init: true)
|
12
|
+
|
11
13
|
def initialize(sending_data:, parcels:)
|
14
|
+
super()
|
12
15
|
@sending_data = sending_data
|
13
16
|
@parcels = parcels
|
14
17
|
end
|
@@ -52,10 +55,12 @@ module CzechPostB2bClient
|
|
52
55
|
end
|
53
56
|
|
54
57
|
def build_result_from(response_hash)
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
58
|
+
ParcelsSyncSenderResult.new(
|
59
|
+
parcels_hash: response_hash[:parcel],
|
60
|
+
pdf_content: response_hash[:parcel].values.first.dig(:printings, :pdf_content),
|
61
|
+
state_text: response_hash.dig(:response, :state, :text),
|
62
|
+
state_code: response_hash.dig(:response, :state, :code)
|
63
|
+
)
|
59
64
|
end
|
60
65
|
|
61
66
|
def check_for_state_errors
|
@@ -5,7 +5,11 @@ module CzechPostB2bClient
|
|
5
5
|
class TimePeriodStatisticator < CzechPostB2bClient::Services::Communicator
|
6
6
|
attr_reader :from_date, :to_date
|
7
7
|
|
8
|
+
TimePeriodStatisticatorResult = Struct.new(:requests, :imported_parcels, keyword_init: true)
|
9
|
+
TimePeriodStatisticatorRequestsResult = Struct.new(:total, :with_errors, :successful, keyword_init: true)
|
10
|
+
|
8
11
|
def initialize(from_date:, to_date:)
|
12
|
+
super()
|
9
13
|
@from_date = from_date
|
10
14
|
@to_date = to_date
|
11
15
|
end
|
@@ -34,10 +38,12 @@ module CzechPostB2bClient
|
|
34
38
|
|
35
39
|
def build_result_from(response_hash)
|
36
40
|
imports = response_hash[:imports]
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
+
TimePeriodStatisticatorResult.new(
|
42
|
+
requests: TimePeriodStatisticatorRequestsResult.new(total: imports[:requested],
|
43
|
+
with_errors: imports[:with_errors],
|
44
|
+
successful: imports[:successful]),
|
45
|
+
imported_parcels: imports[:imported_parcels]
|
46
|
+
)
|
41
47
|
end
|
42
48
|
end
|
43
49
|
end
|