czech_post_b2b_client 1.0.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -1
- data/CHANGELOG.md +27 -2
- data/README.md +227 -199
- data/doc/CzechPostB2bClient.html +31 -35
- data/doc/CzechPostB2bClient/B2BErrors.html +26 -13
- data/doc/CzechPostB2bClient/B2BErrors/BadRequestError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/BaseError.html +75 -40
- data/doc/CzechPostB2bClient/B2BErrors/CustomerRequestsCountOverflowError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/InternalB2BServerError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/InternalBackendServerError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/InternalDataPersistenceServerError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/ProcessingUnfinishedYetError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/ServiceBusyError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/UnauthorizedContractAccessError.html +7 -7
- data/doc/CzechPostB2bClient/B2BErrors/UnauthorizedRoleAccessError.html +7 -7
- data/doc/CzechPostB2bClient/Configuration.html +33 -25
- data/doc/CzechPostB2bClient/Error.html +6 -6
- data/doc/CzechPostB2bClient/PostServices.html +197 -0
- data/doc/CzechPostB2bClient/PostServices/AddreseeVerification.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalByEmail.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalBySms.html +140 -0
- data/doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalBySmsAndEmail.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/AddresseeVerificationOnDelivery.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/AfternoonDelivery.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/Base.html +351 -0
- data/doc/CzechPostB2bClient/PostServices/CashOnDeliveryByPKA.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/CashOnDeliveryByPKC.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/CashOnDeliveryInternational.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/CertificateOfDelivery.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/CertificateOfDeliveryWithDeliverToAdresseeOnly.html +140 -0
- data/doc/CzechPostB2bClient/PostServices/CertificateOfDeliveryWithDeliverToAdresseePersonOnly.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/CompanyRegisteredMail.html +141 -0
- data/doc/CzechPostB2bClient/PostServices/CompleteDelivery.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/Consignment.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/CumbersomeParcel.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DeliverToAdresseeOnly.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DeliverToAdresseePersonOnly.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DeliverToCompany.html +147 -0
- data/doc/CzechPostB2bClient/PostServices/DepositFor10Days.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DepositFor10WorkingDays.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DepositFor3Days.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DepositFor7Days.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DepositFor90Days.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DepositIfAdresseeIsUnreachable.html +141 -0
- data/doc/CzechPostB2bClient/PostServices/DiscountForCollectiveShippment.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DiscountForOnlinePosting.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DoNotDeposit.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DoNotExtendCollectionTime.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/DoNotPutIntoMailbox.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DoNotResend.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DoNotReturnLeaveItInMailbox.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DoNotReturnToSender.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/Document.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/DocumentlessCashOnDelivery.html +147 -0
- data/doc/CzechPostB2bClient/PostServices/DocumentsSignedAtDelivery.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/EAlertOfDeliveryEmail.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/EAlertOfDeliverySms.html +140 -0
- data/doc/CzechPostB2bClient/PostServices/EAlertOfDeliverySmsAndEmail.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/EconomyDelivery.html +140 -0
- data/doc/CzechPostB2bClient/PostServices/ExtendedCollectionTime.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ForenoonDelivery.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/Fragile.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/GiftOrNonCommercialGoods.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/GoodsWithExportDocumentsProcessed.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeAtSaturday.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeAtWeekend.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeTo2PM.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/HeavyParcelDeliveryToHand.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/InformSenderAboutDelivery.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/InternationalMail.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/InternationalMailForBlinds.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/InternationalPrintedMatterBag.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/InternationalRegisteredMail.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/InternationalRegisteredMailForBlinds.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/InternationalRegisteredPrintedMatterBag.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ListedPrice.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/Missed.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/Missive.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/MissiveStandard.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/MultiParcelShippment.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/MultiParcelShippmentBig.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/NonStandardPackage.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/OldApplianceRemoval.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/OnPalette.html +140 -0
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeL.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeM.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeS.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ParcelSizeXL.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/PickupByThirdPerson.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/PosteRestante.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/PreprocessedBySorting.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/PrioritaireByAir.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/RegisteredMail.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/RegisteredMailForBlinds.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/RegisteredMailStandard.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ResendToOtherAddress.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ResponseEnvelope.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ResponseShipment.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ReturnByAir.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ReturnEconomically.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ReturnOfGoods.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ReturnToSenderAfterXDays.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/ReturnToSenderImmediately.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/SaveKey.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/SubmissionByPostbox.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/SubmissionReceiptCopy.html +129 -0
- data/doc/CzechPostB2bClient/PostServices/ThisSideUp.html +148 -0
- data/doc/CzechPostB2bClient/PostServices/ValuableContent.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates.html +16 -16
- data/doc/CzechPostB2bClient/PrintingTemplates/AddressData3x8.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Blank.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Blank4OnPage.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/BlankLandscape.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage.html +7 -7
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS2x4.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/HarmonizedLabel.html +141 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/HarmonizedLabel4OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard2OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable4OnPage.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/Simple.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/SimpleWithCODVoucherA.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/Base.html +16 -16
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherA.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherA3OnPage.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherC.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/CODVoucherForCSOB.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration.html +115 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN224OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22WithCK.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22WithCK4OnPage.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN23.html +129 -0
- data/doc/CzechPostB2bClient/PrintingTemplates/DeliveryTicket.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeB4.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeC5.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeC6.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/Envelope/EnvelopeDL.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/IntegratedDocument.html +6 -6
- data/doc/CzechPostB2bClient/PrintingTemplates/RRLabels3x8.html +6 -6
- data/doc/CzechPostB2bClient/RequestBuilders.html +8 -8
- data/doc/CzechPostB2bClient/RequestBuilders/BaseBuilder.html +9 -9
- data/doc/CzechPostB2bClient/RequestBuilders/GetParcelStateBuilder.html +8 -8
- data/doc/CzechPostB2bClient/RequestBuilders/GetParcelsPrintingBuilder.html +26 -26
- data/doc/CzechPostB2bClient/RequestBuilders/GetResultParcelsBuilder.html +8 -8
- data/doc/CzechPostB2bClient/RequestBuilders/GetStatsBuilder.html +9 -9
- data/doc/CzechPostB2bClient/RequestBuilders/ParcelServiceSyncBuilder.html +414 -0
- data/doc/CzechPostB2bClient/RequestBuilders/SendParcelsBuilder.html +32 -21
- data/doc/CzechPostB2bClient/ResponseCodes.html +51 -27
- data/doc/CzechPostB2bClient/ResponseCodes/AddressAllowedForBalikovnaOnly.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/AddressIsNotValidForSubject.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/AddressNeedsPhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/AddressSuitableForLocalDelivery.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/AddressValidOnlyForNaPostu.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/AddressValidOnlyForNaPostuDuplicate.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/AddresseeCityRequired.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/AlreadyAssignedOrderNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadAddressee.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadCODAmount.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadFormatReturnNumberDays.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadHeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadLength.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrefix.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrefixForAddress.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadPrice.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadVariableSymbol.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadWeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BadWidth.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BaseCode.html +211 -121
- data/doc/CzechPostB2bClient/ResponseCodes/BatchClosed.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BatchInvalid.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/BatchUnfinished.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/CODAmountOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/CODAmountTooBig.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/CanceledOrderNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/CustomGoodQuantityOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/CustomerIDNotInAccordanceWithParcelCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/DensityOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateDuplicateParcelCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateParcel.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicateParcelCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/DuplicitParcelCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/FullSequence.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/FullSequenceDuplicate.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/IllegalCombinationOfServices.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddRequiredService75.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1A.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1B.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService1D.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddService9.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddressWasModified.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoAddresseeToLong.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelCustCardNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelCustCardNumberAddresseeDocument.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelHeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelLength.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelMobilePhoneOrEmailAddresseeDocument.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelPalettsNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelPersonalIdentificationNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AB.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1ABForService40.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AForPostCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AForService40.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1AWith1B.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1B.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BAddService1A.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BForPostCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1BWith1A.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1D.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1E.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService1V.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService25.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService27.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService29.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService30.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService31.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService34.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService34InvalidPhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService45.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService45InvalidPhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService46.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService47.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5B.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5BAnd5C.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5BAnd5D.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5C.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5CAnd5D.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5D.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelService9.html +134 -0
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelVSVoucher.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCancelWidth.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoCityChanged.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInexactAddress.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidAccount.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidBankCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidBirthDay.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidCODAmount.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidCategoryCustomDecalaration.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidEmail.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidMobilePhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPrefixAccount.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidPrice.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidSpecificSymbol.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidTelephoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoInvalidWeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoMissingPartCityServiceDeliveryOnSundayOrHolidayMayNotBeRealized.html +18 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoPriceIsNotNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoPriceIsTooBig.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoService29And47.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InfoSpecialPackagingRequest.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InternalApplicationError.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentForParcelType.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentObjectNotFound.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressAddresseeDocumentWrongCity.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForBalikovna.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForBigPackage.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForCODAmountOver20000.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressForParcelType.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAddressee.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmount.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmountCurrency.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidAmountType.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODAmount.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODCurrency.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCODCurrencyAccordance.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCategoryCustomDecalaration.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidContentCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCurrencyCustomDecalaration.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomGoodNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomerCardNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidCustomerId.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidDensity.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidEmail.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidHeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidHsCodeCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidIsoCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidIsoCustomGoodFormat.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidLength.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidLocation.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidMRNCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidMRNCodeControl.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidNumberClosure.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidOrderNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelBarcode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelBarcodeDuplicate.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelCodeControl.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelResponseCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidParcelTypeForID.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPartnerCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPayday.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPostCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixAccordance.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixCombination.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrefixForDimensionsAndFragile.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPrice.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCurrency.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCurrencyAccordance.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidPriceCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidQuantityCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidResponsibleConsignmentNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidReturnNumberDays.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidService18.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidService19.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidServiceCombination.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidServicesForDimensions.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidSignNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidSubisoCountry.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTareWeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTiming.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTransmissionDate.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidTypePrefix.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService36.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService37.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidUseOfService38.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightCustomGoodSummary.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWeightForService11.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidWidth.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidZPROOrderNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidZPROOrderNumberFormat.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/InvalidostCodeOrCity.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MIssingParcelCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddressee.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeCity.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeStreet.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingAddresseeZipCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCODAmount.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCODAmountType.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCategoryCustomDecalaration.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCompanyName.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingContentCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingCurrencyCustomDeclaration.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHandlingInstructions.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHeight.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingHsCodeCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingIsoCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingLength.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPalettsNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingParcelCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingParcelCustomGoods.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPrefix.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPrice.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingPriceCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingQuantityCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeDocument.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeDocumentDuplicate.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredAddresseeEmail.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredEmail.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredFirstNameAddresseeDocument.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMRNCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMobileNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredMobileNumberOrEmail.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredParcelCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPayday.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumberOrEmail.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPhoneNumberOrWhat.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredPrice.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService10.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService1AB.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService1X.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService2X.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService3X.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService3XTrinity.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4X.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredService4x.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredVoucherPrice.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingRequiredZPROOrderNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingReturnInstructions.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingReturnNumberDays.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSenderEmail.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSizeCategory.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingSurname.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingVariableSymbol.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingVariableSymbolDuplicate.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingWeightCustomGood.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/MissingWidth.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/NoContractService41.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/NoContractServiceReturnReceipt.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/NotExistingOrderNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/Ok.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/OverenoVecerniDorucovani.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/PalettsNumberOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelCodeNotAllowed.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelCodeNotInAssignedRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/ParcelDoesNotMeetTheRequirementsForm.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/PriceAndCODAmountTooBig.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/PriceOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/PriceTooBig.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/PriceTooLow.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/ResponsibleConsignmentNumberCannotBeImported.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/ResponsibleConsignmentNumberOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/ServicesCombinationNotAllowed.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionAlreadyClosed.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionNotExists.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionOpened.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/TransmissionUnfinished.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/UnauthorizedAccess.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownAddresseeCity.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownAddresseePostCode.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/UnknownPrefix.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/VariableSymbolIsNotNumber.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/WeightCustomGoodOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/WeightIsOutOfRange.html +7 -7
- data/doc/CzechPostB2bClient/ResponseCodes/WeightIsOutOfRangeDuplicate.html +7 -7
- data/doc/CzechPostB2bClient/ResponseParsers.html +8 -8
- data/doc/CzechPostB2bClient/ResponseParsers/BaseParser.html +8 -8
- data/doc/CzechPostB2bClient/ResponseParsers/GetParcelStateParser.html +31 -16
- data/doc/CzechPostB2bClient/ResponseParsers/GetParcelsPrintingParser.html +21 -21
- data/doc/CzechPostB2bClient/ResponseParsers/GetResultParcelsParser.html +18 -12
- data/doc/CzechPostB2bClient/ResponseParsers/GetStatsParser.html +6 -6
- data/doc/CzechPostB2bClient/ResponseParsers/ParcelServiceSyncParser.html +805 -0
- data/doc/CzechPostB2bClient/ResponseParsers/SendParcelsParser.html +153 -10
- data/doc/CzechPostB2bClient/Services.html +8 -8
- data/doc/CzechPostB2bClient/Services/AddressSheetsGenerator.html +9 -9
- data/doc/CzechPostB2bClient/Services/ApiCaller.html +11 -7
- data/doc/CzechPostB2bClient/Services/Communicator.html +7 -7
- data/doc/CzechPostB2bClient/Services/DeliveringInspector.html +8 -8
- data/doc/CzechPostB2bClient/Services/Orchestrator.html +6 -6
- data/doc/CzechPostB2bClient/Services/ParcelsAsyncSender.html +402 -0
- data/doc/CzechPostB2bClient/Services/ParcelsSendProcessUpdater.html +8 -8
- data/doc/CzechPostB2bClient/Services/ParcelsSender.html +21 -233
- data/doc/CzechPostB2bClient/Services/ParcelsSubmissionCloser.html +12 -12
- data/doc/CzechPostB2bClient/Services/ParcelsSyncSender.html +464 -0
- data/doc/CzechPostB2bClient/Services/TimePeriodStatisticator.html +10 -10
- data/doc/CzechPostB2bClient/Services/XsdsDownloader.html +289 -0
- data/doc/SteppedService.html +8 -7
- data/doc/SteppedService/Base.html +31 -31
- data/doc/SteppedService/Errors.html +6 -6
- data/doc/_index.html +739 -23
- data/doc/class_list.html +3 -3
- data/doc/css/style.css +2 -2
- data/doc/file.README.html +219 -194
- data/doc/file_list.html +2 -2
- data/doc/frames.html +2 -2
- data/doc/index.html +219 -194
- data/doc/js/app.js +14 -3
- data/doc/method_list.html +278 -70
- data/doc/top-level-namespace.html +6 -6
- data/lib/czech_post_b2b_client/b2b_errors.rb +6 -7
- data/lib/czech_post_b2b_client/configuration.rb +12 -7
- data/lib/czech_post_b2b_client/post_services.rb +22 -12
- data/lib/czech_post_b2b_client/printing_templates.rb +143 -41
- data/lib/czech_post_b2b_client/request_builders.rb +1 -0
- data/lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb +6 -2
- data/lib/czech_post_b2b_client/request_builders/parcel_service_sync_builder.rb +286 -0
- data/lib/czech_post_b2b_client/request_builders/send_parcels_builder.rb +46 -20
- data/lib/czech_post_b2b_client/response_codes.rb +19 -16
- data/lib/czech_post_b2b_client/response_parsers.rb +1 -0
- data/lib/czech_post_b2b_client/response_parsers/base_parser.rb +7 -1
- data/lib/czech_post_b2b_client/response_parsers/get_parcel_state_parser.rb +4 -3
- data/lib/czech_post_b2b_client/response_parsers/get_result_parcels_parser.rb +4 -3
- data/lib/czech_post_b2b_client/response_parsers/parcel_service_sync_parser.rb +82 -0
- data/lib/czech_post_b2b_client/response_parsers/send_parcels_parser.rb +24 -2
- data/lib/czech_post_b2b_client/services.rb +4 -2
- data/lib/czech_post_b2b_client/services/api_caller.rb +25 -9
- data/lib/czech_post_b2b_client/services/delivering_inspector.rb +0 -2
- data/lib/czech_post_b2b_client/services/parcels_async_sender.rb +53 -0
- data/lib/czech_post_b2b_client/services/parcels_send_process_updater.rb +1 -1
- data/lib/czech_post_b2b_client/services/parcels_sender.rb +4 -45
- data/lib/czech_post_b2b_client/services/parcels_submission_closer.rb +1 -1
- data/lib/czech_post_b2b_client/services/{parcels_immediate_sender.rb → parcels_sync_sender.rb} +10 -9
- data/lib/czech_post_b2b_client/services/xsds_downloader.rb +61 -0
- data/lib/czech_post_b2b_client/version.rb +1 -1
- data/lib/stepped_service/base.rb +2 -1
- metadata +117 -7
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module CzechPostB2bClient
|
4
4
|
module Services
|
5
|
-
class ParcelsSubmissionCloser < CzechPostB2bClient::Services::
|
5
|
+
class ParcelsSubmissionCloser < CzechPostB2bClient::Services::ParcelsAsyncSender
|
6
6
|
attr_reader :sending_data
|
7
7
|
|
8
8
|
def initialize(sending_data:)
|
data/lib/czech_post_b2b_client/services/{parcels_immediate_sender.rb → parcels_sync_sender.rb}
RENAMED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
module CzechPostB2bClient
|
4
4
|
module Services
|
5
|
-
# Combination of
|
6
|
-
# It accept
|
5
|
+
# Combination of ParcelsAsyncSender + ParcelsSendProcessUpdater for fast SYNC registering parcel at CPOST
|
6
|
+
# It accept only one parcel!
|
7
7
|
# It should be used for instant one parcel registration.
|
8
|
-
class
|
8
|
+
class ParcelsSyncSender < CzechPostB2bClient::Services::Communicator
|
9
9
|
attr_reader :sending_data, :parcels
|
10
10
|
|
11
11
|
def initialize(sending_data:, parcels:)
|
@@ -20,11 +20,11 @@ module CzechPostB2bClient
|
|
20
20
|
private
|
21
21
|
|
22
22
|
def request_builder_args
|
23
|
-
{ common_data: common_data,
|
23
|
+
{ common_data: common_data, parcel: parcels.first }
|
24
24
|
end
|
25
25
|
|
26
26
|
def request_builder_class
|
27
|
-
CzechPostB2bClient::RequestBuilders::
|
27
|
+
CzechPostB2bClient::RequestBuilders::ParcelServiceSyncBuilder
|
28
28
|
end
|
29
29
|
|
30
30
|
def api_caller_class
|
@@ -32,7 +32,7 @@ module CzechPostB2bClient
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def response_parser_class
|
35
|
-
CzechPostB2bClient::ResponseParsers::
|
35
|
+
CzechPostB2bClient::ResponseParsers::ParcelServiceSyncParser
|
36
36
|
end
|
37
37
|
|
38
38
|
def common_data
|
@@ -48,11 +48,12 @@ module CzechPostB2bClient
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def endpoint_path
|
51
|
-
'/
|
51
|
+
'/parcelServiceSync'
|
52
52
|
end
|
53
53
|
|
54
54
|
def build_result_from(response_hash)
|
55
|
-
OpenStruct.new(parcels_hash: response_hash[:
|
55
|
+
OpenStruct.new(parcels_hash: response_hash[:parcel],
|
56
|
+
pdf_content: response_hash[:parcel].values.first.dig(:printings, :pdf_content),
|
56
57
|
state_text: response_hash.dig(:response, :state, :text),
|
57
58
|
state_code: response_hash.dig(:response, :state, :code))
|
58
59
|
end
|
@@ -79,7 +80,7 @@ module CzechPostB2bClient
|
|
79
80
|
response_code = response_state[:code]
|
80
81
|
next if response_code == CzechPostB2bClient::ResponseCodes::Ok.code
|
81
82
|
|
82
|
-
errors.add(:parcels, "Parcel[#{parcel_id}] => #{CzechPostB2bClient::ResponseCodes.new_by_code(response_code)}")
|
83
|
+
errors.add(:parcels, "Parcel[#{parcel_id}] => #{CzechPostB2bClient::ResponseCodes.new_by_code(response_code)}") # rubocop:disable Layout/LineLength
|
83
84
|
end
|
84
85
|
end
|
85
86
|
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'openssl'
|
4
|
+
require 'net/http'
|
5
|
+
|
6
|
+
module CzechPostB2bClient
|
7
|
+
module Services
|
8
|
+
class XsdsDownloader < ApiCaller
|
9
|
+
def initialize(_anything); end
|
10
|
+
|
11
|
+
def steps
|
12
|
+
%i[download_xsds]
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
attr_reader :xsd_uri
|
18
|
+
|
19
|
+
def download_xsds
|
20
|
+
xsd_uris = configuration.namespaces.values
|
21
|
+
xsd_uris.each do |uri|
|
22
|
+
# check for `.xsd` at end?
|
23
|
+
@xsd_uri = URI.parse(uri)
|
24
|
+
download
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def download # rubocop:disable Metrics/AbcSize
|
29
|
+
self.response = https_conn.request(request)
|
30
|
+
|
31
|
+
debug_msg = "CzechPost XSD REQUEST: #{request} to #{xsd_uri} with body:\n#{request.body} => #{response.code}"
|
32
|
+
CzechPostB2bClient.logger.debug(debug_msg)
|
33
|
+
|
34
|
+
raise "Error in downloading #{xsd_uri} => #{response}" unless response.code.to_i == 200
|
35
|
+
|
36
|
+
save_response_to_file
|
37
|
+
rescue *KNOWN_CONNECTION_ERRORS => e
|
38
|
+
raise "Error in downloading #{xsd_uri} => #{e.message}"
|
39
|
+
end
|
40
|
+
|
41
|
+
def https_conn
|
42
|
+
Net::HTTP.start(xsd_uri.host, xsd_uri.port, connection_options)
|
43
|
+
end
|
44
|
+
|
45
|
+
def request
|
46
|
+
Net::HTTP::Get.new xsd_uri.request_uri, headers
|
47
|
+
end
|
48
|
+
|
49
|
+
def save_response_to_file
|
50
|
+
filename = xsd_uri.request_uri.split('/').last
|
51
|
+
filename += '.xsd' if filename.split('.').last.downcase != 'xsd'
|
52
|
+
|
53
|
+
File.write(filename, response.body)
|
54
|
+
end
|
55
|
+
|
56
|
+
def headers
|
57
|
+
{}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
data/lib/stepped_service/base.rb
CHANGED
@@ -43,7 +43,8 @@
|
|
43
43
|
# def put_tea_bags_into_kettle
|
44
44
|
# self.teabags = get_teabags(tea_type, bags_into_kettle)
|
45
45
|
# if teabags.empty?
|
46
|
-
# errors.add(:teabags, "There is no #{bags_into_kettle} #{tea_type} tea teabags in storage,
|
46
|
+
# errors.add(:teabags, "There is no #{bags_into_kettle} #{tea_type} tea teabags in storage," \
|
47
|
+
# " using fruit tea teabags.")
|
47
48
|
# self.teabags = get_teabags(:fruit, bags_into_kettle)
|
48
49
|
# if teabags.empty?
|
49
50
|
# errors.add(:teabags, "There is no #{bags_into_kettle} fruit tea teabags in storage either!")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: czech_post_b2b_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petr Mlčoch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ox
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,6 +168,97 @@ files:
|
|
168
168
|
- doc/CzechPostB2bClient/B2BErrors/UnauthorizedRoleAccessError.html
|
169
169
|
- doc/CzechPostB2bClient/Configuration.html
|
170
170
|
- doc/CzechPostB2bClient/Error.html
|
171
|
+
- doc/CzechPostB2bClient/PostServices.html
|
172
|
+
- doc/CzechPostB2bClient/PostServices/AddreseeVerification.html
|
173
|
+
- doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalByEmail.html
|
174
|
+
- doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalBySms.html
|
175
|
+
- doc/CzechPostB2bClient/PostServices/AddresseeAlertOfArrivalBySmsAndEmail.html
|
176
|
+
- doc/CzechPostB2bClient/PostServices/AddresseeVerificationOnDelivery.html
|
177
|
+
- doc/CzechPostB2bClient/PostServices/AfternoonDelivery.html
|
178
|
+
- doc/CzechPostB2bClient/PostServices/Base.html
|
179
|
+
- doc/CzechPostB2bClient/PostServices/CashOnDeliveryByPKA.html
|
180
|
+
- doc/CzechPostB2bClient/PostServices/CashOnDeliveryByPKC.html
|
181
|
+
- doc/CzechPostB2bClient/PostServices/CashOnDeliveryInternational.html
|
182
|
+
- doc/CzechPostB2bClient/PostServices/CertificateOfDelivery.html
|
183
|
+
- doc/CzechPostB2bClient/PostServices/CertificateOfDeliveryWithDeliverToAdresseeOnly.html
|
184
|
+
- doc/CzechPostB2bClient/PostServices/CertificateOfDeliveryWithDeliverToAdresseePersonOnly.html
|
185
|
+
- doc/CzechPostB2bClient/PostServices/CompanyRegisteredMail.html
|
186
|
+
- doc/CzechPostB2bClient/PostServices/CompleteDelivery.html
|
187
|
+
- doc/CzechPostB2bClient/PostServices/Consignment.html
|
188
|
+
- doc/CzechPostB2bClient/PostServices/CumbersomeParcel.html
|
189
|
+
- doc/CzechPostB2bClient/PostServices/DeliverToAdresseeOnly.html
|
190
|
+
- doc/CzechPostB2bClient/PostServices/DeliverToAdresseePersonOnly.html
|
191
|
+
- doc/CzechPostB2bClient/PostServices/DeliverToCompany.html
|
192
|
+
- doc/CzechPostB2bClient/PostServices/DepositFor10Days.html
|
193
|
+
- doc/CzechPostB2bClient/PostServices/DepositFor10WorkingDays.html
|
194
|
+
- doc/CzechPostB2bClient/PostServices/DepositFor3Days.html
|
195
|
+
- doc/CzechPostB2bClient/PostServices/DepositFor7Days.html
|
196
|
+
- doc/CzechPostB2bClient/PostServices/DepositFor90Days.html
|
197
|
+
- doc/CzechPostB2bClient/PostServices/DepositIfAdresseeIsUnreachable.html
|
198
|
+
- doc/CzechPostB2bClient/PostServices/DiscountForCollectiveShippment.html
|
199
|
+
- doc/CzechPostB2bClient/PostServices/DiscountForOnlinePosting.html
|
200
|
+
- doc/CzechPostB2bClient/PostServices/DoNotDeposit.html
|
201
|
+
- doc/CzechPostB2bClient/PostServices/DoNotExtendCollectionTime.html
|
202
|
+
- doc/CzechPostB2bClient/PostServices/DoNotPutIntoMailbox.html
|
203
|
+
- doc/CzechPostB2bClient/PostServices/DoNotResend.html
|
204
|
+
- doc/CzechPostB2bClient/PostServices/DoNotReturnLeaveItInMailbox.html
|
205
|
+
- doc/CzechPostB2bClient/PostServices/DoNotReturnToSender.html
|
206
|
+
- doc/CzechPostB2bClient/PostServices/Document.html
|
207
|
+
- doc/CzechPostB2bClient/PostServices/DocumentlessCashOnDelivery.html
|
208
|
+
- doc/CzechPostB2bClient/PostServices/DocumentsSignedAtDelivery.html
|
209
|
+
- doc/CzechPostB2bClient/PostServices/EAlertOfDeliveryEmail.html
|
210
|
+
- doc/CzechPostB2bClient/PostServices/EAlertOfDeliverySms.html
|
211
|
+
- doc/CzechPostB2bClient/PostServices/EAlertOfDeliverySmsAndEmail.html
|
212
|
+
- doc/CzechPostB2bClient/PostServices/EconomyDelivery.html
|
213
|
+
- doc/CzechPostB2bClient/PostServices/ExtendedCollectionTime.html
|
214
|
+
- doc/CzechPostB2bClient/PostServices/ForenoonDelivery.html
|
215
|
+
- doc/CzechPostB2bClient/PostServices/Fragile.html
|
216
|
+
- doc/CzechPostB2bClient/PostServices/GiftOrNonCommercialGoods.html
|
217
|
+
- doc/CzechPostB2bClient/PostServices/GoodsWithExportDocumentsProcessed.html
|
218
|
+
- doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeAtSaturday.html
|
219
|
+
- doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeAtWeekend.html
|
220
|
+
- doc/CzechPostB2bClient/PostServices/GuaranteedDeliveryTimeTo2PM.html
|
221
|
+
- doc/CzechPostB2bClient/PostServices/HeavyParcelDeliveryToHand.html
|
222
|
+
- doc/CzechPostB2bClient/PostServices/InformSenderAboutDelivery.html
|
223
|
+
- doc/CzechPostB2bClient/PostServices/InternationalMail.html
|
224
|
+
- doc/CzechPostB2bClient/PostServices/InternationalMailForBlinds.html
|
225
|
+
- doc/CzechPostB2bClient/PostServices/InternationalPrintedMatterBag.html
|
226
|
+
- doc/CzechPostB2bClient/PostServices/InternationalRegisteredMail.html
|
227
|
+
- doc/CzechPostB2bClient/PostServices/InternationalRegisteredMailForBlinds.html
|
228
|
+
- doc/CzechPostB2bClient/PostServices/InternationalRegisteredPrintedMatterBag.html
|
229
|
+
- doc/CzechPostB2bClient/PostServices/ListedPrice.html
|
230
|
+
- doc/CzechPostB2bClient/PostServices/Missed.html
|
231
|
+
- doc/CzechPostB2bClient/PostServices/Missive.html
|
232
|
+
- doc/CzechPostB2bClient/PostServices/MissiveStandard.html
|
233
|
+
- doc/CzechPostB2bClient/PostServices/MultiParcelShippment.html
|
234
|
+
- doc/CzechPostB2bClient/PostServices/MultiParcelShippmentBig.html
|
235
|
+
- doc/CzechPostB2bClient/PostServices/NonStandardPackage.html
|
236
|
+
- doc/CzechPostB2bClient/PostServices/OldApplianceRemoval.html
|
237
|
+
- doc/CzechPostB2bClient/PostServices/OnPalette.html
|
238
|
+
- doc/CzechPostB2bClient/PostServices/ParcelSizeL.html
|
239
|
+
- doc/CzechPostB2bClient/PostServices/ParcelSizeM.html
|
240
|
+
- doc/CzechPostB2bClient/PostServices/ParcelSizeS.html
|
241
|
+
- doc/CzechPostB2bClient/PostServices/ParcelSizeXL.html
|
242
|
+
- doc/CzechPostB2bClient/PostServices/PickupByThirdPerson.html
|
243
|
+
- doc/CzechPostB2bClient/PostServices/PosteRestante.html
|
244
|
+
- doc/CzechPostB2bClient/PostServices/PreprocessedBySorting.html
|
245
|
+
- doc/CzechPostB2bClient/PostServices/PrioritaireByAir.html
|
246
|
+
- doc/CzechPostB2bClient/PostServices/RegisteredMail.html
|
247
|
+
- doc/CzechPostB2bClient/PostServices/RegisteredMailForBlinds.html
|
248
|
+
- doc/CzechPostB2bClient/PostServices/RegisteredMailStandard.html
|
249
|
+
- doc/CzechPostB2bClient/PostServices/ResendToOtherAddress.html
|
250
|
+
- doc/CzechPostB2bClient/PostServices/ResponseEnvelope.html
|
251
|
+
- doc/CzechPostB2bClient/PostServices/ResponseShipment.html
|
252
|
+
- doc/CzechPostB2bClient/PostServices/ReturnByAir.html
|
253
|
+
- doc/CzechPostB2bClient/PostServices/ReturnEconomically.html
|
254
|
+
- doc/CzechPostB2bClient/PostServices/ReturnOfGoods.html
|
255
|
+
- doc/CzechPostB2bClient/PostServices/ReturnToSenderAfterXDays.html
|
256
|
+
- doc/CzechPostB2bClient/PostServices/ReturnToSenderImmediately.html
|
257
|
+
- doc/CzechPostB2bClient/PostServices/SaveKey.html
|
258
|
+
- doc/CzechPostB2bClient/PostServices/SubmissionByPostbox.html
|
259
|
+
- doc/CzechPostB2bClient/PostServices/SubmissionReceiptCopy.html
|
260
|
+
- doc/CzechPostB2bClient/PostServices/ThisSideUp.html
|
261
|
+
- doc/CzechPostB2bClient/PostServices/ValuableContent.html
|
171
262
|
- doc/CzechPostB2bClient/PrintingTemplates.html
|
172
263
|
- doc/CzechPostB2bClient/PrintingTemplates/AddressData3x8.html
|
173
264
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel.html
|
@@ -177,7 +268,10 @@ files:
|
|
177
268
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage.html
|
178
269
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS.html
|
179
270
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/EMS2x4.html
|
271
|
+
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/HarmonizedLabel.html
|
272
|
+
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/HarmonizedLabel4OnPage.html
|
180
273
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard.html
|
274
|
+
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard2OnPage.html
|
181
275
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Standard4OnPage.html
|
182
276
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable.html
|
183
277
|
- doc/CzechPostB2bClient/PrintingTemplates/AdressLabel/ForeignPackage/Valuable4OnPage.html
|
@@ -188,6 +282,12 @@ files:
|
|
188
282
|
- doc/CzechPostB2bClient/PrintingTemplates/CODVoucherA3OnPage.html
|
189
283
|
- doc/CzechPostB2bClient/PrintingTemplates/CODVoucherC.html
|
190
284
|
- doc/CzechPostB2bClient/PrintingTemplates/CODVoucherForCSOB.html
|
285
|
+
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration.html
|
286
|
+
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22.html
|
287
|
+
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN224OnPage.html
|
288
|
+
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22WithCK.html
|
289
|
+
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN22WithCK4OnPage.html
|
290
|
+
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclaration/CN23.html
|
191
291
|
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclarationCN22.html
|
192
292
|
- doc/CzechPostB2bClient/PrintingTemplates/CustomDeclarationCN23.html
|
193
293
|
- doc/CzechPostB2bClient/PrintingTemplates/DeliveryTicket.html
|
@@ -206,6 +306,7 @@ files:
|
|
206
306
|
- doc/CzechPostB2bClient/RequestBuilders/GetParcelsPrintingBuilder.html
|
207
307
|
- doc/CzechPostB2bClient/RequestBuilders/GetResultParcelsBuilder.html
|
208
308
|
- doc/CzechPostB2bClient/RequestBuilders/GetStatsBuilder.html
|
309
|
+
- doc/CzechPostB2bClient/RequestBuilders/ParcelServiceSyncBuilder.html
|
209
310
|
- doc/CzechPostB2bClient/RequestBuilders/SendParcelsBuilder.html
|
210
311
|
- doc/CzechPostB2bClient/ResponseCodes.html
|
211
312
|
- doc/CzechPostB2bClient/ResponseCodes/AddressAllowedForBalikovnaOnly.html
|
@@ -287,6 +388,7 @@ files:
|
|
287
388
|
- doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5C.html
|
288
389
|
- doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5CAnd5D.html
|
289
390
|
- doc/CzechPostB2bClient/ResponseCodes/InfoCancelService5D.html
|
391
|
+
- doc/CzechPostB2bClient/ResponseCodes/InfoCancelService9.html
|
290
392
|
- doc/CzechPostB2bClient/ResponseCodes/InfoCancelVSVoucher.html
|
291
393
|
- doc/CzechPostB2bClient/ResponseCodes/InfoCancelWidth.html
|
292
394
|
- doc/CzechPostB2bClient/ResponseCodes/InfoCityChanged.html
|
@@ -477,6 +579,7 @@ files:
|
|
477
579
|
- doc/CzechPostB2bClient/ResponseParsers/GetParcelsPrintingParser.html
|
478
580
|
- doc/CzechPostB2bClient/ResponseParsers/GetResultParcelsParser.html
|
479
581
|
- doc/CzechPostB2bClient/ResponseParsers/GetStatsParser.html
|
582
|
+
- doc/CzechPostB2bClient/ResponseParsers/ParcelServiceSyncParser.html
|
480
583
|
- doc/CzechPostB2bClient/ResponseParsers/SendParcelsParser.html
|
481
584
|
- doc/CzechPostB2bClient/Services.html
|
482
585
|
- doc/CzechPostB2bClient/Services/AddressSheetsGenerator.html
|
@@ -484,10 +587,13 @@ files:
|
|
484
587
|
- doc/CzechPostB2bClient/Services/Communicator.html
|
485
588
|
- doc/CzechPostB2bClient/Services/DeliveringInspector.html
|
486
589
|
- doc/CzechPostB2bClient/Services/Orchestrator.html
|
590
|
+
- doc/CzechPostB2bClient/Services/ParcelsAsyncSender.html
|
487
591
|
- doc/CzechPostB2bClient/Services/ParcelsSendProcessUpdater.html
|
488
592
|
- doc/CzechPostB2bClient/Services/ParcelsSender.html
|
489
593
|
- doc/CzechPostB2bClient/Services/ParcelsSubmissionCloser.html
|
594
|
+
- doc/CzechPostB2bClient/Services/ParcelsSyncSender.html
|
490
595
|
- doc/CzechPostB2bClient/Services/TimePeriodStatisticator.html
|
596
|
+
- doc/CzechPostB2bClient/Services/XsdsDownloader.html
|
491
597
|
- doc/SteppedService.html
|
492
598
|
- doc/SteppedService/Base.html
|
493
599
|
- doc/SteppedService/Errors.html
|
@@ -516,6 +622,7 @@ files:
|
|
516
622
|
- lib/czech_post_b2b_client/request_builders/get_parcels_printing_builder.rb
|
517
623
|
- lib/czech_post_b2b_client/request_builders/get_result_parcels_builder.rb
|
518
624
|
- lib/czech_post_b2b_client/request_builders/get_stats_builder.rb
|
625
|
+
- lib/czech_post_b2b_client/request_builders/parcel_service_sync_builder.rb
|
519
626
|
- lib/czech_post_b2b_client/request_builders/send_parcels_builder.rb
|
520
627
|
- lib/czech_post_b2b_client/response_codes.rb
|
521
628
|
- lib/czech_post_b2b_client/response_parsers.rb
|
@@ -524,6 +631,7 @@ files:
|
|
524
631
|
- lib/czech_post_b2b_client/response_parsers/get_parcels_printing_parser.rb
|
525
632
|
- lib/czech_post_b2b_client/response_parsers/get_result_parcels_parser.rb
|
526
633
|
- lib/czech_post_b2b_client/response_parsers/get_stats_parser.rb
|
634
|
+
- lib/czech_post_b2b_client/response_parsers/parcel_service_sync_parser.rb
|
527
635
|
- lib/czech_post_b2b_client/response_parsers/send_parcels_parser.rb
|
528
636
|
- lib/czech_post_b2b_client/services.rb
|
529
637
|
- lib/czech_post_b2b_client/services/address_sheets_generator.rb
|
@@ -531,11 +639,13 @@ files:
|
|
531
639
|
- lib/czech_post_b2b_client/services/communicator.rb
|
532
640
|
- lib/czech_post_b2b_client/services/delivering_inspector.rb
|
533
641
|
- lib/czech_post_b2b_client/services/orchestrator.rb
|
534
|
-
- lib/czech_post_b2b_client/services/
|
642
|
+
- lib/czech_post_b2b_client/services/parcels_async_sender.rb
|
535
643
|
- lib/czech_post_b2b_client/services/parcels_send_process_updater.rb
|
536
644
|
- lib/czech_post_b2b_client/services/parcels_sender.rb
|
537
645
|
- lib/czech_post_b2b_client/services/parcels_submission_closer.rb
|
646
|
+
- lib/czech_post_b2b_client/services/parcels_sync_sender.rb
|
538
647
|
- lib/czech_post_b2b_client/services/time_period_statisticator.rb
|
648
|
+
- lib/czech_post_b2b_client/services/xsds_downloader.rb
|
539
649
|
- lib/czech_post_b2b_client/version.rb
|
540
650
|
- lib/stepped_service.rb
|
541
651
|
- lib/stepped_service/base.rb
|