ship_engine 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AddFundsToCarrierRequestBody.md +1 -1
- data/docs/AddFundsToCarrierResponseBody.md +1 -1
- data/docs/AddFundsToInsuranceRequestBody.md +1 -1
- data/docs/AddFundsToInsuranceResponseBody.md +1 -1
- data/docs/AddToBatchRequestBody.md +1 -1
- data/docs/Address.md +1 -1
- data/docs/AddressResidentialIndicator.md +1 -1
- data/docs/AddressToValidate.md +1 -1
- data/docs/AddressValidatingShipment.md +1 -1
- data/docs/AddressValidationCode.md +1 -1
- data/docs/AddressValidationDetailCode.md +1 -1
- data/docs/AddressValidationMessageType.md +1 -1
- data/docs/AddressValidationResult.md +1 -1
- data/docs/AddressValidationStatus.md +1 -1
- data/docs/AddressesApi.md +2 -2
- data/docs/AdvancedShipmentOptions.md +1 -1
- data/docs/AncillaryServiceEndorsement.md +1 -1
- data/docs/Batch.md +1 -1
- data/docs/BatchResponseError.md +1 -1
- data/docs/BatchStatus.md +1 -1
- data/docs/BatchesApi.md +10 -10
- data/docs/BatchesSortBy.md +1 -1
- data/docs/BillToParty.md +1 -1
- data/docs/BulkRate.md +1 -1
- data/docs/CalculateRatesRequestBody.md +1 -1
- data/docs/CalculateRatesResponseBody.md +1 -1
- data/docs/Carrier.md +1 -1
- data/docs/CarrierAccountsApi.md +4 -4
- data/docs/CarrierAdvancedOption.md +1 -1
- data/docs/CarrierName.md +1 -1
- data/docs/CarrierNameWithSettings.md +1 -1
- data/docs/CarriersApi.md +6 -6
- data/docs/CollectOnDelivery.md +1 -1
- data/docs/CollectOnDeliveryPaymentType.md +1 -1
- data/docs/CompareBulkRatesRequestBody.md +1 -1
- data/docs/ConnectAccessWorldwideRequestBody.md +1 -1
- data/docs/ConnectAmazonBuyShippingRequestBody.md +1 -1
- data/docs/ConnectApcRequestBody.md +1 -1
- data/docs/ConnectAsendiaRequestBody.md +1 -1
- data/docs/ConnectAustraliaPostRequestBody.md +1 -1
- data/docs/ConnectCanadaPostRequestBody.md +1 -1
- data/docs/ConnectCarrierRequestBody.md +1 -1
- data/docs/ConnectCarrierResponseBody.md +1 -1
- data/docs/ConnectDhlEcommerceRequestBody.md +1 -1
- data/docs/ConnectDhlExpressAuRequestBody.md +1 -1
- data/docs/ConnectDhlExpressCaRequestBody.md +1 -1
- data/docs/ConnectDhlExpressRequestBody.md +1 -1
- data/docs/ConnectDhlExpressUkRequestBody.md +1 -1
- data/docs/ConnectDpdRequestBody.md +1 -1
- data/docs/ConnectEndiciaRequestBody.md +1 -1
- data/docs/ConnectFedexRequestBody.md +1 -1
- data/docs/ConnectFedexUkRequestBody.md +1 -1
- data/docs/ConnectFirstmileRequestBody.md +1 -1
- data/docs/ConnectGlobegisticsRequestBody.md +1 -1
- data/docs/ConnectImexRequestBody.md +1 -1
- data/docs/ConnectInsurerRequestBody.md +1 -1
- data/docs/ConnectNewgisticsRequestBody.md +1 -1
- data/docs/ConnectOntracRequestBody.md +1 -1
- data/docs/ConnectPurolatorRequestBody.md +1 -1
- data/docs/ConnectRoyalMailRequestBody.md +1 -1
- data/docs/ConnectRrDonnelleyRequestBody.md +1 -1
- data/docs/ConnectSekoRequestBody.md +1 -1
- data/docs/ConnectSendleRequestBody.md +1 -1
- data/docs/ConnectStampsRequestBody.md +1 -1
- data/docs/ConnectUpsRequestBody.md +1 -1
- data/docs/CreateAndValidateShipment.md +1 -1
- data/docs/CreateBatchRequestBody.md +1 -1
- data/docs/CreateBatchResponseBody.md +1 -1
- data/docs/CreateLabelFromRateRequestBody.md +1 -1
- data/docs/CreateLabelFromRateResponseBody.md +1 -1
- data/docs/CreateLabelFromShipmentRequestBody.md +1 -1
- data/docs/CreateLabelFromShipmentResponseBody.md +1 -1
- data/docs/CreateLabelRequestBody.md +1 -1
- data/docs/CreateLabelResponseBody.md +1 -1
- data/docs/CreateManifestByObjectRequestBody.md +1 -1
- data/docs/CreateManifestLabelIdsRequestBody.md +1 -1
- data/docs/CreateManifestRequestBody.md +1 -1
- data/docs/CreateManifestResponseBody.md +1 -1
- data/docs/CreatePackageTypeRequestBody.md +1 -1
- data/docs/CreatePackageTypeResponseBody.md +1 -1
- data/docs/CreateReturnLabelRequestBody.md +1 -1
- data/docs/CreateReturnLabelResponseBody.md +1 -1
- data/docs/CreateShipmentResponseBodyFields.md +1 -1
- data/docs/CreateShipmentsRequestBody.md +1 -1
- data/docs/CreateShipmentsResponseBody.md +1 -1
- data/docs/CreateTagResponseBody.md +1 -1
- data/docs/CreateWarehouseRequestBody.md +1 -1
- data/docs/CreateWarehouseResponseBody.md +1 -1
- data/docs/CreateWebhookRequestBody.md +5 -7
- data/docs/CreateWebhookResponseBody.md +1 -1
- data/docs/Currency.md +1 -1
- data/docs/CustomsItem.md +1 -1
- data/docs/DeliveryConfirmation.md +1 -1
- data/docs/DeprecatedManifest.md +1 -1
- data/docs/DhlExpressAccountSettings.md +1 -1
- data/docs/DhlExpressSettingsResponseBody.md +1 -1
- data/docs/DimensionUnit.md +1 -1
- data/docs/Dimensions.md +1 -1
- data/docs/DownloadsApi.md +1 -1
- data/docs/Error.md +1 -1
- data/docs/ErrorCode.md +1 -1
- data/docs/ErrorResponseBody.md +1 -1
- data/docs/ErrorSource.md +1 -1
- data/docs/ErrorType.md +1 -1
- data/docs/EstimateRatesRequestBody.md +1 -1
- data/docs/FedexAccountSettings.md +1 -1
- data/docs/FedexAccountSettingsRequestBody.md +1 -1
- data/docs/FedexPickupType.md +1 -1
- data/docs/FedexSettingsResponseBody.md +1 -1
- data/docs/GetBatchByExternalIdResponseBody.md +1 -1
- data/docs/GetBatchByIdResponseBody.md +1 -1
- data/docs/GetCarrierByIdResponseBody.md +1 -1
- data/docs/GetCarrierOptionsResponseBody.md +1 -1
- data/docs/GetCarrierSettingsResponseBody.md +1 -1
- data/docs/GetCarriersResponseBody.md +1 -1
- data/docs/GetInsuranceBalanceResponseBody.md +1 -1
- data/docs/GetLabelByExternalShipmentIdResponseBody.md +1 -1
- data/docs/GetLabelByIdResponseBody.md +1 -1
- data/docs/GetManifestByIdResponseBody.md +1 -1
- data/docs/GetPackageTypeByIdResponseBody.md +1 -1
- data/docs/GetRateByIdResponseBody.md +1 -1
- data/docs/GetShipmentByExternalIdResponseBody.md +1 -1
- data/docs/GetShipmentByIdResponseBody.md +1 -1
- data/docs/GetTrackingLogFromLabelResponseBody.md +1 -1
- data/docs/GetTrackingLogResponseBody.md +1 -1
- data/docs/GetWarehouseByIdResponseBody.md +1 -1
- data/docs/GetWebhookByIdResponseBody.md +1 -1
- data/docs/InsuranceApi.md +4 -4
- data/docs/InsuranceProvider.md +1 -1
- data/docs/InternationalShipmentOptions.md +1 -1
- data/docs/Label.md +36 -38
- data/docs/LabelChargeEvent.md +1 -1
- data/docs/LabelDownload.md +1 -1
- data/docs/LabelDownloadType.md +1 -1
- data/docs/LabelFormat.md +1 -1
- data/docs/LabelLayout.md +1 -1
- data/docs/LabelMessages.md +1 -1
- data/docs/LabelStatus.md +1 -1
- data/docs/LabelsApi.md +9 -9
- data/docs/Link.md +1 -1
- data/docs/ListBatchErrorsResponseBody.md +1 -1
- data/docs/ListBatchesResponseBody.md +1 -1
- data/docs/ListCarrierPackageTypesResponseBody.md +1 -1
- data/docs/ListCarrierServicesResponseBody.md +1 -1
- data/docs/ListCarriersResponseBody.md +1 -1
- data/docs/ListLabelsResponseBody.md +1 -1
- data/docs/ListManifestsResponseBody.md +1 -1
- data/docs/ListPackageTypesResponseBody.md +1 -1
- data/docs/ListShipmentErrorsResponseBody.md +1 -1
- data/docs/ListShipmentRatesResponseBody.md +1 -1
- data/docs/ListShipmentsResponseBody.md +1 -1
- data/docs/ListTagsResponseBody.md +1 -1
- data/docs/ListWarehousesResponseBody.md +1 -1
- data/docs/Manifest.md +1 -1
- data/docs/ManifestDownload.md +1 -1
- data/docs/Manifests.md +1 -1
- data/docs/ManifestsApi.md +3 -3
- data/docs/ModifyBatch.md +1 -1
- data/docs/MonetaryValue.md +1 -1
- data/docs/NonDelivery.md +1 -1
- data/docs/OptionalLink.md +1 -1
- data/docs/OrderSourceName.md +1 -1
- data/docs/Package.md +1 -1
- data/docs/PackageContents.md +1 -1
- data/docs/PackageType.md +1 -1
- data/docs/PackageTypesApi.md +5 -5
- data/docs/PagedListResponseBody.md +1 -1
- data/docs/PaginationLink.md +1 -1
- data/docs/ParseAddressRequestBody.md +1 -1
- data/docs/ParseAddressResponseBody.md +1 -1
- data/docs/ParseShipmentRequestBody.md +1 -1
- data/docs/ParseShipmentResponseBody.md +1 -1
- data/docs/PartialAddress.md +1 -1
- data/docs/PartialShipment.md +1 -1
- data/docs/PaymentAmount.md +1 -1
- data/docs/ProcessBatchRequestBody.md +1 -1
- data/docs/PurchaseLabelWithoutShipment.md +1 -1
- data/docs/Rate.md +1 -1
- data/docs/RateEstimateByCarrierId.md +1 -1
- data/docs/RateEstimateByCarrierIds.md +4 -6
- data/docs/RateEstimateOptions.md +1 -1
- data/docs/RateRequestBody.md +1 -1
- data/docs/RateRequestByShipmentIds.md +1 -1
- data/docs/RateRequestByShipments.md +1 -1
- data/docs/RateRequestOptions.md +1 -1
- data/docs/RateRequestRateOptions.md +1 -1
- data/docs/RateResponse.md +1 -1
- data/docs/RateResponseStatus.md +1 -1
- data/docs/RateType.md +1 -1
- data/docs/RatesApi.md +4 -4
- data/docs/RatesInformation.md +1 -1
- data/docs/RecognizedEntity.md +1 -1
- data/docs/RemoveFromBatchRequestBody.md +1 -1
- data/docs/ResponseMessage.md +1 -1
- data/docs/Service.md +1 -1
- data/docs/Shipment.md +1 -1
- data/docs/ShipmentIdRequest.md +1 -1
- data/docs/ShipmentItem.md +1 -1
- data/docs/ShipmentRequest.md +1 -1
- data/docs/ShipmentResponseError.md +1 -1
- data/docs/ShipmentStatus.md +1 -1
- data/docs/ShipmentsApi.md +11 -11
- data/docs/ShipmentsSortBy.md +1 -1
- data/docs/SmartPostHub.md +1 -1
- data/docs/SortDir.md +1 -1
- data/docs/Tag.md +1 -1
- data/docs/TagShipmentResponseBody.md +1 -1
- data/docs/TagsApi.md +4 -4
- data/docs/TrackEvent.md +1 -1
- data/docs/TrackingApi.md +3 -3
- data/docs/TrackingInformation.md +1 -1
- data/docs/TrackingStatus.md +1 -1
- data/docs/UpdateAmazonBuyShippingRequestBody.md +4 -6
- data/docs/UpdateCarrierSettingsRequestBody.md +1 -1
- data/docs/UpdateDhlExpressSettingsRequestBody.md +1 -1
- data/docs/UpdateFedexSettingsRequestBody.md +1 -1
- data/docs/UpdateNewgisticsSettingsRequestBody.md +1 -1
- data/docs/UpdatePackageTypeRequestBody.md +1 -1
- data/docs/UpdateShipmentFields.md +1 -1
- data/docs/UpdateShipmentRequestBody.md +1 -1
- data/docs/UpdateShipmentResponseBody.md +1 -1
- data/docs/UpdateUpsSettingsRequestBody.md +1 -1
- data/docs/UpdateWarehouseRequestBody.md +1 -1
- data/docs/UpdateWebhookRequestBody.md +1 -1
- data/docs/UpsAccountSettings.md +1 -1
- data/docs/UpsInvoice.md +1 -1
- data/docs/UpsPickupType.md +1 -1
- data/docs/UpsSettingsResponseBody.md +1 -1
- data/docs/ValidateAddress.md +1 -1
- data/docs/ValidateShipmentFields.md +1 -1
- data/docs/ValidationStatus.md +1 -1
- data/docs/VoidLabelResponseBody.md +1 -1
- data/docs/Warehouse.md +1 -1
- data/docs/WarehousesApi.md +5 -5
- data/docs/Webhook.md +1 -1
- data/docs/WebhookEvent.md +1 -1
- data/docs/WebhooksApi.md +5 -5
- data/docs/Weight.md +1 -1
- data/docs/WeightUnit.md +1 -1
- data/lib/ship_engine/api_client.rb +1 -1
- data/lib/ship_engine/models/add_funds_to_carrier_request_body.rb +1 -1
- data/lib/ship_engine/models/add_funds_to_carrier_response_body.rb +1 -1
- data/lib/ship_engine/models/add_funds_to_insurance_request_body.rb +1 -1
- data/lib/ship_engine/models/add_funds_to_insurance_response_body.rb +1 -1
- data/lib/ship_engine/models/add_to_batch_request_body.rb +1 -1
- data/lib/ship_engine/models/address.rb +1 -1
- data/lib/ship_engine/models/address_to_validate.rb +1 -1
- data/lib/ship_engine/models/address_validating_shipment.rb +1 -1
- data/lib/ship_engine/models/address_validation_result.rb +1 -1
- data/lib/ship_engine/models/advanced_shipment_options.rb +1 -1
- data/lib/ship_engine/models/batch.rb +1 -1
- data/lib/ship_engine/models/batch_response_error.rb +1 -1
- data/lib/ship_engine/models/bulk_rate.rb +1 -1
- data/lib/ship_engine/models/calculate_rates_request_body.rb +2 -2
- data/lib/ship_engine/models/calculate_rates_response_body.rb +1 -1
- data/lib/ship_engine/models/carrier.rb +1 -1
- data/lib/ship_engine/models/carrier_advanced_option.rb +1 -1
- data/lib/ship_engine/models/collect_on_delivery.rb +1 -1
- data/lib/ship_engine/models/compare_bulk_rates_request_body.rb +2 -2
- data/lib/ship_engine/models/connect_access_worldwide_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_amazon_buy_shipping_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_apc_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_asendia_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_australia_post_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_canada_post_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_carrier_request_body.rb +2 -2
- data/lib/ship_engine/models/connect_carrier_response_body.rb +1 -1
- data/lib/ship_engine/models/connect_dhl_ecommerce_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_dhl_express_au_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_dhl_express_ca_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_dhl_express_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_dhl_express_uk_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_dpd_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_endicia_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_fedex_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_fedex_uk_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_firstmile_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_globegistics_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_imex_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_insurer_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_newgistics_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_ontrac_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_purolator_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_royal_mail_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_rr_donnelley_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_seko_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_sendle_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_stamps_request_body.rb +1 -1
- data/lib/ship_engine/models/connect_ups_request_body.rb +1 -1
- data/lib/ship_engine/models/create_and_validate_shipment.rb +1 -1
- data/lib/ship_engine/models/create_batch_request_body.rb +1 -1
- data/lib/ship_engine/models/create_batch_response_body.rb +1 -1
- data/lib/ship_engine/models/create_label_from_rate_request_body.rb +1 -1
- data/lib/ship_engine/models/create_label_from_rate_response_body.rb +1 -1
- data/lib/ship_engine/models/create_label_from_shipment_request_body.rb +1 -1
- data/lib/ship_engine/models/create_label_from_shipment_response_body.rb +1 -1
- data/lib/ship_engine/models/create_label_request_body.rb +1 -1
- data/lib/ship_engine/models/create_label_response_body.rb +1 -1
- data/lib/ship_engine/models/create_manifest_by_object_request_body.rb +1 -1
- data/lib/ship_engine/models/create_manifest_label_ids_request_body.rb +1 -1
- data/lib/ship_engine/models/create_manifest_request_body.rb +2 -2
- data/lib/ship_engine/models/create_manifest_response_body.rb +1 -1
- data/lib/ship_engine/models/create_package_type_request_body.rb +1 -1
- data/lib/ship_engine/models/create_package_type_response_body.rb +1 -1
- data/lib/ship_engine/models/create_return_label_request_body.rb +1 -1
- data/lib/ship_engine/models/create_return_label_response_body.rb +1 -1
- data/lib/ship_engine/models/create_shipment_response_body_fields.rb +1 -1
- data/lib/ship_engine/models/create_shipments_request_body.rb +1 -1
- data/lib/ship_engine/models/create_shipments_response_body.rb +1 -1
- data/lib/ship_engine/models/create_tag_response_body.rb +1 -1
- data/lib/ship_engine/models/create_warehouse_request_body.rb +1 -1
- data/lib/ship_engine/models/create_warehouse_response_body.rb +1 -1
- data/lib/ship_engine/models/create_webhook_request_body.rb +1 -1
- data/lib/ship_engine/models/create_webhook_response_body.rb +1 -1
- data/lib/ship_engine/models/customs_item.rb +1 -1
- data/lib/ship_engine/models/deprecated_manifest.rb +1 -1
- data/lib/ship_engine/models/dhl_express_account_settings.rb +1 -1
- data/lib/ship_engine/models/dhl_express_settings_response_body.rb +1 -1
- data/lib/ship_engine/models/dimensions.rb +1 -1
- data/lib/ship_engine/models/error.rb +1 -1
- data/lib/ship_engine/models/error_response_body.rb +1 -1
- data/lib/ship_engine/models/estimate_rates_request_body.rb +2 -2
- data/lib/ship_engine/models/fedex_account_settings.rb +1 -1
- data/lib/ship_engine/models/fedex_account_settings_request_body.rb +1 -1
- data/lib/ship_engine/models/fedex_settings_response_body.rb +1 -1
- data/lib/ship_engine/models/get_batch_by_external_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_batch_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_carrier_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_carrier_options_response_body.rb +1 -1
- data/lib/ship_engine/models/get_carrier_settings_response_body.rb +2 -2
- data/lib/ship_engine/models/get_carriers_response_body.rb +1 -1
- data/lib/ship_engine/models/get_insurance_balance_response_body.rb +1 -1
- data/lib/ship_engine/models/get_label_by_external_shipment_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_label_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_manifest_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_package_type_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_rate_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_shipment_by_external_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_shipment_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_tracking_log_from_label_response_body.rb +1 -1
- data/lib/ship_engine/models/get_tracking_log_response_body.rb +1 -1
- data/lib/ship_engine/models/get_warehouse_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/get_webhook_by_id_response_body.rb +1 -1
- data/lib/ship_engine/models/international_shipment_options.rb +1 -1
- data/lib/ship_engine/models/label.rb +1 -1
- data/lib/ship_engine/models/label_download.rb +1 -1
- data/lib/ship_engine/models/label_messages.rb +1 -1
- data/lib/ship_engine/models/link.rb +1 -1
- data/lib/ship_engine/models/list_batch_errors_response_body.rb +1 -1
- data/lib/ship_engine/models/list_batches_response_body.rb +1 -1
- data/lib/ship_engine/models/list_carrier_package_types_response_body.rb +1 -1
- data/lib/ship_engine/models/list_carrier_services_response_body.rb +1 -1
- data/lib/ship_engine/models/list_carriers_response_body.rb +1 -1
- data/lib/ship_engine/models/list_labels_response_body.rb +1 -1
- data/lib/ship_engine/models/list_manifests_response_body.rb +1 -1
- data/lib/ship_engine/models/list_package_types_response_body.rb +1 -1
- data/lib/ship_engine/models/list_shipment_errors_response_body.rb +1 -1
- data/lib/ship_engine/models/list_shipment_rates_response_body.rb +1 -1
- data/lib/ship_engine/models/list_shipments_response_body.rb +1 -1
- data/lib/ship_engine/models/list_tags_response_body.rb +1 -1
- data/lib/ship_engine/models/list_warehouses_response_body.rb +1 -1
- data/lib/ship_engine/models/manifest.rb +1 -1
- data/lib/ship_engine/models/manifest_download.rb +1 -1
- data/lib/ship_engine/models/manifests.rb +1 -1
- data/lib/ship_engine/models/modify_batch.rb +1 -1
- data/lib/ship_engine/models/monetary_value.rb +1 -1
- data/lib/ship_engine/models/optional_link.rb +1 -1
- data/lib/ship_engine/models/package.rb +1 -1
- data/lib/ship_engine/models/package_type.rb +1 -1
- data/lib/ship_engine/models/paged_list_response_body.rb +1 -1
- data/lib/ship_engine/models/pagination_link.rb +1 -1
- data/lib/ship_engine/models/parse_address_request_body.rb +1 -1
- data/lib/ship_engine/models/parse_address_response_body.rb +1 -1
- data/lib/ship_engine/models/parse_shipment_request_body.rb +1 -1
- data/lib/ship_engine/models/parse_shipment_response_body.rb +1 -1
- data/lib/ship_engine/models/partial_address.rb +1 -1
- data/lib/ship_engine/models/partial_shipment.rb +1 -1
- data/lib/ship_engine/models/payment_amount.rb +1 -1
- data/lib/ship_engine/models/process_batch_request_body.rb +1 -1
- data/lib/ship_engine/models/purchase_label_without_shipment.rb +1 -1
- data/lib/ship_engine/models/rate.rb +1 -1
- data/lib/ship_engine/models/rate_estimate_by_carrier_id.rb +1 -1
- data/lib/ship_engine/models/rate_estimate_by_carrier_ids.rb +1 -1
- data/lib/ship_engine/models/rate_estimate_options.rb +1 -1
- data/lib/ship_engine/models/rate_request_body.rb +1 -1
- data/lib/ship_engine/models/rate_request_by_shipment_ids.rb +1 -1
- data/lib/ship_engine/models/rate_request_by_shipments.rb +1 -1
- data/lib/ship_engine/models/rate_request_options.rb +1 -1
- data/lib/ship_engine/models/rate_request_rate_options.rb +1 -1
- data/lib/ship_engine/models/rate_response.rb +1 -1
- data/lib/ship_engine/models/rates_information.rb +1 -1
- data/lib/ship_engine/models/recognized_entity.rb +1 -1
- data/lib/ship_engine/models/remove_from_batch_request_body.rb +1 -1
- data/lib/ship_engine/models/response_message.rb +1 -1
- data/lib/ship_engine/models/service.rb +1 -1
- data/lib/ship_engine/models/shipment.rb +1 -1
- data/lib/ship_engine/models/shipment_id_request.rb +1 -1
- data/lib/ship_engine/models/shipment_item.rb +1 -1
- data/lib/ship_engine/models/shipment_request.rb +1 -1
- data/lib/ship_engine/models/shipment_response_error.rb +1 -1
- data/lib/ship_engine/models/tag.rb +1 -1
- data/lib/ship_engine/models/tag_shipment_response_body.rb +1 -1
- data/lib/ship_engine/models/track_event.rb +1 -1
- data/lib/ship_engine/models/tracking_information.rb +1 -1
- data/lib/ship_engine/models/update_amazon_buy_shipping_request_body.rb +1 -1
- data/lib/ship_engine/models/update_carrier_settings_request_body.rb +2 -2
- data/lib/ship_engine/models/update_dhl_express_settings_request_body.rb +1 -1
- data/lib/ship_engine/models/update_fedex_settings_request_body.rb +1 -1
- data/lib/ship_engine/models/update_newgistics_settings_request_body.rb +1 -1
- data/lib/ship_engine/models/update_package_type_request_body.rb +1 -1
- data/lib/ship_engine/models/update_shipment_fields.rb +1 -1
- data/lib/ship_engine/models/update_shipment_request_body.rb +1 -1
- data/lib/ship_engine/models/update_shipment_response_body.rb +1 -1
- data/lib/ship_engine/models/update_ups_settings_request_body.rb +1 -1
- data/lib/ship_engine/models/update_warehouse_request_body.rb +1 -1
- data/lib/ship_engine/models/update_webhook_request_body.rb +1 -1
- data/lib/ship_engine/models/ups_account_settings.rb +1 -1
- data/lib/ship_engine/models/ups_invoice.rb +1 -1
- data/lib/ship_engine/models/ups_settings_response_body.rb +1 -1
- data/lib/ship_engine/models/validate_shipment_fields.rb +1 -1
- data/lib/ship_engine/models/void_label_response_body.rb +1 -1
- data/lib/ship_engine/models/warehouse.rb +1 -1
- data/lib/ship_engine/models/webhook.rb +1 -1
- data/lib/ship_engine/models/weight.rb +1 -1
- data/lib/ship_engine/version.rb +1 -1
- data/ship_engine-1.0.1.gem +0 -0
- data/spec/api_client_spec.rb +6 -6
- data/spec/configuration_spec.rb +1 -1
- metadata +2 -1
@@ -137,7 +137,7 @@ module ShipEngine
|
|
137
137
|
return false if @ship_date.nil?
|
138
138
|
_one_of_found = false
|
139
139
|
self.class.openapi_one_of.each do |_class|
|
140
|
-
_one_of =
|
140
|
+
_one_of = ShipEngine.const_get(_class).build_from_hash(self.to_hash)
|
141
141
|
if _one_of.valid?
|
142
142
|
if _one_of_found
|
143
143
|
return false
|
@@ -242,7 +242,7 @@ module ShipEngine
|
|
242
242
|
end
|
243
243
|
end
|
244
244
|
else # model
|
245
|
-
|
245
|
+
ShipEngine.const_get(type).build_from_hash(value)
|
246
246
|
end
|
247
247
|
end
|
248
248
|
|
@@ -71,7 +71,7 @@ module ShipEngine
|
|
71
71
|
def valid?
|
72
72
|
_one_of_found = false
|
73
73
|
self.class.openapi_one_of.each do |_class|
|
74
|
-
_one_of =
|
74
|
+
_one_of = ShipEngine.const_get(_class).build_from_hash(self.to_hash)
|
75
75
|
if _one_of.valid?
|
76
76
|
if _one_of_found
|
77
77
|
return false
|
@@ -172,7 +172,7 @@ module ShipEngine
|
|
172
172
|
end
|
173
173
|
end
|
174
174
|
else # model
|
175
|
-
|
175
|
+
ShipEngine.const_get(type).build_from_hash(value)
|
176
176
|
end
|
177
177
|
end
|
178
178
|
|
@@ -215,7 +215,7 @@ module ShipEngine
|
|
215
215
|
return false if !@account_postal_code.nil? && @account_postal_code.to_s.length < 5
|
216
216
|
_one_of_found = false
|
217
217
|
self.class.openapi_one_of.each do |_class|
|
218
|
-
_one_of =
|
218
|
+
_one_of = ShipEngine.const_get(_class).build_from_hash(self.to_hash)
|
219
219
|
if _one_of.valid?
|
220
220
|
if _one_of_found
|
221
221
|
return false
|
@@ -360,7 +360,7 @@ module ShipEngine
|
|
360
360
|
end
|
361
361
|
end
|
362
362
|
else # model
|
363
|
-
|
363
|
+
ShipEngine.const_get(type).build_from_hash(value)
|
364
364
|
end
|
365
365
|
end
|
366
366
|
|