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.
Files changed (431) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AddFundsToCarrierRequestBody.md +1 -1
  4. data/docs/AddFundsToCarrierResponseBody.md +1 -1
  5. data/docs/AddFundsToInsuranceRequestBody.md +1 -1
  6. data/docs/AddFundsToInsuranceResponseBody.md +1 -1
  7. data/docs/AddToBatchRequestBody.md +1 -1
  8. data/docs/Address.md +1 -1
  9. data/docs/AddressResidentialIndicator.md +1 -1
  10. data/docs/AddressToValidate.md +1 -1
  11. data/docs/AddressValidatingShipment.md +1 -1
  12. data/docs/AddressValidationCode.md +1 -1
  13. data/docs/AddressValidationDetailCode.md +1 -1
  14. data/docs/AddressValidationMessageType.md +1 -1
  15. data/docs/AddressValidationResult.md +1 -1
  16. data/docs/AddressValidationStatus.md +1 -1
  17. data/docs/AddressesApi.md +2 -2
  18. data/docs/AdvancedShipmentOptions.md +1 -1
  19. data/docs/AncillaryServiceEndorsement.md +1 -1
  20. data/docs/Batch.md +1 -1
  21. data/docs/BatchResponseError.md +1 -1
  22. data/docs/BatchStatus.md +1 -1
  23. data/docs/BatchesApi.md +10 -10
  24. data/docs/BatchesSortBy.md +1 -1
  25. data/docs/BillToParty.md +1 -1
  26. data/docs/BulkRate.md +1 -1
  27. data/docs/CalculateRatesRequestBody.md +1 -1
  28. data/docs/CalculateRatesResponseBody.md +1 -1
  29. data/docs/Carrier.md +1 -1
  30. data/docs/CarrierAccountsApi.md +4 -4
  31. data/docs/CarrierAdvancedOption.md +1 -1
  32. data/docs/CarrierName.md +1 -1
  33. data/docs/CarrierNameWithSettings.md +1 -1
  34. data/docs/CarriersApi.md +6 -6
  35. data/docs/CollectOnDelivery.md +1 -1
  36. data/docs/CollectOnDeliveryPaymentType.md +1 -1
  37. data/docs/CompareBulkRatesRequestBody.md +1 -1
  38. data/docs/ConnectAccessWorldwideRequestBody.md +1 -1
  39. data/docs/ConnectAmazonBuyShippingRequestBody.md +1 -1
  40. data/docs/ConnectApcRequestBody.md +1 -1
  41. data/docs/ConnectAsendiaRequestBody.md +1 -1
  42. data/docs/ConnectAustraliaPostRequestBody.md +1 -1
  43. data/docs/ConnectCanadaPostRequestBody.md +1 -1
  44. data/docs/ConnectCarrierRequestBody.md +1 -1
  45. data/docs/ConnectCarrierResponseBody.md +1 -1
  46. data/docs/ConnectDhlEcommerceRequestBody.md +1 -1
  47. data/docs/ConnectDhlExpressAuRequestBody.md +1 -1
  48. data/docs/ConnectDhlExpressCaRequestBody.md +1 -1
  49. data/docs/ConnectDhlExpressRequestBody.md +1 -1
  50. data/docs/ConnectDhlExpressUkRequestBody.md +1 -1
  51. data/docs/ConnectDpdRequestBody.md +1 -1
  52. data/docs/ConnectEndiciaRequestBody.md +1 -1
  53. data/docs/ConnectFedexRequestBody.md +1 -1
  54. data/docs/ConnectFedexUkRequestBody.md +1 -1
  55. data/docs/ConnectFirstmileRequestBody.md +1 -1
  56. data/docs/ConnectGlobegisticsRequestBody.md +1 -1
  57. data/docs/ConnectImexRequestBody.md +1 -1
  58. data/docs/ConnectInsurerRequestBody.md +1 -1
  59. data/docs/ConnectNewgisticsRequestBody.md +1 -1
  60. data/docs/ConnectOntracRequestBody.md +1 -1
  61. data/docs/ConnectPurolatorRequestBody.md +1 -1
  62. data/docs/ConnectRoyalMailRequestBody.md +1 -1
  63. data/docs/ConnectRrDonnelleyRequestBody.md +1 -1
  64. data/docs/ConnectSekoRequestBody.md +1 -1
  65. data/docs/ConnectSendleRequestBody.md +1 -1
  66. data/docs/ConnectStampsRequestBody.md +1 -1
  67. data/docs/ConnectUpsRequestBody.md +1 -1
  68. data/docs/CreateAndValidateShipment.md +1 -1
  69. data/docs/CreateBatchRequestBody.md +1 -1
  70. data/docs/CreateBatchResponseBody.md +1 -1
  71. data/docs/CreateLabelFromRateRequestBody.md +1 -1
  72. data/docs/CreateLabelFromRateResponseBody.md +1 -1
  73. data/docs/CreateLabelFromShipmentRequestBody.md +1 -1
  74. data/docs/CreateLabelFromShipmentResponseBody.md +1 -1
  75. data/docs/CreateLabelRequestBody.md +1 -1
  76. data/docs/CreateLabelResponseBody.md +1 -1
  77. data/docs/CreateManifestByObjectRequestBody.md +1 -1
  78. data/docs/CreateManifestLabelIdsRequestBody.md +1 -1
  79. data/docs/CreateManifestRequestBody.md +1 -1
  80. data/docs/CreateManifestResponseBody.md +1 -1
  81. data/docs/CreatePackageTypeRequestBody.md +1 -1
  82. data/docs/CreatePackageTypeResponseBody.md +1 -1
  83. data/docs/CreateReturnLabelRequestBody.md +1 -1
  84. data/docs/CreateReturnLabelResponseBody.md +1 -1
  85. data/docs/CreateShipmentResponseBodyFields.md +1 -1
  86. data/docs/CreateShipmentsRequestBody.md +1 -1
  87. data/docs/CreateShipmentsResponseBody.md +1 -1
  88. data/docs/CreateTagResponseBody.md +1 -1
  89. data/docs/CreateWarehouseRequestBody.md +1 -1
  90. data/docs/CreateWarehouseResponseBody.md +1 -1
  91. data/docs/CreateWebhookRequestBody.md +5 -7
  92. data/docs/CreateWebhookResponseBody.md +1 -1
  93. data/docs/Currency.md +1 -1
  94. data/docs/CustomsItem.md +1 -1
  95. data/docs/DeliveryConfirmation.md +1 -1
  96. data/docs/DeprecatedManifest.md +1 -1
  97. data/docs/DhlExpressAccountSettings.md +1 -1
  98. data/docs/DhlExpressSettingsResponseBody.md +1 -1
  99. data/docs/DimensionUnit.md +1 -1
  100. data/docs/Dimensions.md +1 -1
  101. data/docs/DownloadsApi.md +1 -1
  102. data/docs/Error.md +1 -1
  103. data/docs/ErrorCode.md +1 -1
  104. data/docs/ErrorResponseBody.md +1 -1
  105. data/docs/ErrorSource.md +1 -1
  106. data/docs/ErrorType.md +1 -1
  107. data/docs/EstimateRatesRequestBody.md +1 -1
  108. data/docs/FedexAccountSettings.md +1 -1
  109. data/docs/FedexAccountSettingsRequestBody.md +1 -1
  110. data/docs/FedexPickupType.md +1 -1
  111. data/docs/FedexSettingsResponseBody.md +1 -1
  112. data/docs/GetBatchByExternalIdResponseBody.md +1 -1
  113. data/docs/GetBatchByIdResponseBody.md +1 -1
  114. data/docs/GetCarrierByIdResponseBody.md +1 -1
  115. data/docs/GetCarrierOptionsResponseBody.md +1 -1
  116. data/docs/GetCarrierSettingsResponseBody.md +1 -1
  117. data/docs/GetCarriersResponseBody.md +1 -1
  118. data/docs/GetInsuranceBalanceResponseBody.md +1 -1
  119. data/docs/GetLabelByExternalShipmentIdResponseBody.md +1 -1
  120. data/docs/GetLabelByIdResponseBody.md +1 -1
  121. data/docs/GetManifestByIdResponseBody.md +1 -1
  122. data/docs/GetPackageTypeByIdResponseBody.md +1 -1
  123. data/docs/GetRateByIdResponseBody.md +1 -1
  124. data/docs/GetShipmentByExternalIdResponseBody.md +1 -1
  125. data/docs/GetShipmentByIdResponseBody.md +1 -1
  126. data/docs/GetTrackingLogFromLabelResponseBody.md +1 -1
  127. data/docs/GetTrackingLogResponseBody.md +1 -1
  128. data/docs/GetWarehouseByIdResponseBody.md +1 -1
  129. data/docs/GetWebhookByIdResponseBody.md +1 -1
  130. data/docs/InsuranceApi.md +4 -4
  131. data/docs/InsuranceProvider.md +1 -1
  132. data/docs/InternationalShipmentOptions.md +1 -1
  133. data/docs/Label.md +36 -38
  134. data/docs/LabelChargeEvent.md +1 -1
  135. data/docs/LabelDownload.md +1 -1
  136. data/docs/LabelDownloadType.md +1 -1
  137. data/docs/LabelFormat.md +1 -1
  138. data/docs/LabelLayout.md +1 -1
  139. data/docs/LabelMessages.md +1 -1
  140. data/docs/LabelStatus.md +1 -1
  141. data/docs/LabelsApi.md +9 -9
  142. data/docs/Link.md +1 -1
  143. data/docs/ListBatchErrorsResponseBody.md +1 -1
  144. data/docs/ListBatchesResponseBody.md +1 -1
  145. data/docs/ListCarrierPackageTypesResponseBody.md +1 -1
  146. data/docs/ListCarrierServicesResponseBody.md +1 -1
  147. data/docs/ListCarriersResponseBody.md +1 -1
  148. data/docs/ListLabelsResponseBody.md +1 -1
  149. data/docs/ListManifestsResponseBody.md +1 -1
  150. data/docs/ListPackageTypesResponseBody.md +1 -1
  151. data/docs/ListShipmentErrorsResponseBody.md +1 -1
  152. data/docs/ListShipmentRatesResponseBody.md +1 -1
  153. data/docs/ListShipmentsResponseBody.md +1 -1
  154. data/docs/ListTagsResponseBody.md +1 -1
  155. data/docs/ListWarehousesResponseBody.md +1 -1
  156. data/docs/Manifest.md +1 -1
  157. data/docs/ManifestDownload.md +1 -1
  158. data/docs/Manifests.md +1 -1
  159. data/docs/ManifestsApi.md +3 -3
  160. data/docs/ModifyBatch.md +1 -1
  161. data/docs/MonetaryValue.md +1 -1
  162. data/docs/NonDelivery.md +1 -1
  163. data/docs/OptionalLink.md +1 -1
  164. data/docs/OrderSourceName.md +1 -1
  165. data/docs/Package.md +1 -1
  166. data/docs/PackageContents.md +1 -1
  167. data/docs/PackageType.md +1 -1
  168. data/docs/PackageTypesApi.md +5 -5
  169. data/docs/PagedListResponseBody.md +1 -1
  170. data/docs/PaginationLink.md +1 -1
  171. data/docs/ParseAddressRequestBody.md +1 -1
  172. data/docs/ParseAddressResponseBody.md +1 -1
  173. data/docs/ParseShipmentRequestBody.md +1 -1
  174. data/docs/ParseShipmentResponseBody.md +1 -1
  175. data/docs/PartialAddress.md +1 -1
  176. data/docs/PartialShipment.md +1 -1
  177. data/docs/PaymentAmount.md +1 -1
  178. data/docs/ProcessBatchRequestBody.md +1 -1
  179. data/docs/PurchaseLabelWithoutShipment.md +1 -1
  180. data/docs/Rate.md +1 -1
  181. data/docs/RateEstimateByCarrierId.md +1 -1
  182. data/docs/RateEstimateByCarrierIds.md +4 -6
  183. data/docs/RateEstimateOptions.md +1 -1
  184. data/docs/RateRequestBody.md +1 -1
  185. data/docs/RateRequestByShipmentIds.md +1 -1
  186. data/docs/RateRequestByShipments.md +1 -1
  187. data/docs/RateRequestOptions.md +1 -1
  188. data/docs/RateRequestRateOptions.md +1 -1
  189. data/docs/RateResponse.md +1 -1
  190. data/docs/RateResponseStatus.md +1 -1
  191. data/docs/RateType.md +1 -1
  192. data/docs/RatesApi.md +4 -4
  193. data/docs/RatesInformation.md +1 -1
  194. data/docs/RecognizedEntity.md +1 -1
  195. data/docs/RemoveFromBatchRequestBody.md +1 -1
  196. data/docs/ResponseMessage.md +1 -1
  197. data/docs/Service.md +1 -1
  198. data/docs/Shipment.md +1 -1
  199. data/docs/ShipmentIdRequest.md +1 -1
  200. data/docs/ShipmentItem.md +1 -1
  201. data/docs/ShipmentRequest.md +1 -1
  202. data/docs/ShipmentResponseError.md +1 -1
  203. data/docs/ShipmentStatus.md +1 -1
  204. data/docs/ShipmentsApi.md +11 -11
  205. data/docs/ShipmentsSortBy.md +1 -1
  206. data/docs/SmartPostHub.md +1 -1
  207. data/docs/SortDir.md +1 -1
  208. data/docs/Tag.md +1 -1
  209. data/docs/TagShipmentResponseBody.md +1 -1
  210. data/docs/TagsApi.md +4 -4
  211. data/docs/TrackEvent.md +1 -1
  212. data/docs/TrackingApi.md +3 -3
  213. data/docs/TrackingInformation.md +1 -1
  214. data/docs/TrackingStatus.md +1 -1
  215. data/docs/UpdateAmazonBuyShippingRequestBody.md +4 -6
  216. data/docs/UpdateCarrierSettingsRequestBody.md +1 -1
  217. data/docs/UpdateDhlExpressSettingsRequestBody.md +1 -1
  218. data/docs/UpdateFedexSettingsRequestBody.md +1 -1
  219. data/docs/UpdateNewgisticsSettingsRequestBody.md +1 -1
  220. data/docs/UpdatePackageTypeRequestBody.md +1 -1
  221. data/docs/UpdateShipmentFields.md +1 -1
  222. data/docs/UpdateShipmentRequestBody.md +1 -1
  223. data/docs/UpdateShipmentResponseBody.md +1 -1
  224. data/docs/UpdateUpsSettingsRequestBody.md +1 -1
  225. data/docs/UpdateWarehouseRequestBody.md +1 -1
  226. data/docs/UpdateWebhookRequestBody.md +1 -1
  227. data/docs/UpsAccountSettings.md +1 -1
  228. data/docs/UpsInvoice.md +1 -1
  229. data/docs/UpsPickupType.md +1 -1
  230. data/docs/UpsSettingsResponseBody.md +1 -1
  231. data/docs/ValidateAddress.md +1 -1
  232. data/docs/ValidateShipmentFields.md +1 -1
  233. data/docs/ValidationStatus.md +1 -1
  234. data/docs/VoidLabelResponseBody.md +1 -1
  235. data/docs/Warehouse.md +1 -1
  236. data/docs/WarehousesApi.md +5 -5
  237. data/docs/Webhook.md +1 -1
  238. data/docs/WebhookEvent.md +1 -1
  239. data/docs/WebhooksApi.md +5 -5
  240. data/docs/Weight.md +1 -1
  241. data/docs/WeightUnit.md +1 -1
  242. data/lib/ship_engine/api_client.rb +1 -1
  243. data/lib/ship_engine/models/add_funds_to_carrier_request_body.rb +1 -1
  244. data/lib/ship_engine/models/add_funds_to_carrier_response_body.rb +1 -1
  245. data/lib/ship_engine/models/add_funds_to_insurance_request_body.rb +1 -1
  246. data/lib/ship_engine/models/add_funds_to_insurance_response_body.rb +1 -1
  247. data/lib/ship_engine/models/add_to_batch_request_body.rb +1 -1
  248. data/lib/ship_engine/models/address.rb +1 -1
  249. data/lib/ship_engine/models/address_to_validate.rb +1 -1
  250. data/lib/ship_engine/models/address_validating_shipment.rb +1 -1
  251. data/lib/ship_engine/models/address_validation_result.rb +1 -1
  252. data/lib/ship_engine/models/advanced_shipment_options.rb +1 -1
  253. data/lib/ship_engine/models/batch.rb +1 -1
  254. data/lib/ship_engine/models/batch_response_error.rb +1 -1
  255. data/lib/ship_engine/models/bulk_rate.rb +1 -1
  256. data/lib/ship_engine/models/calculate_rates_request_body.rb +2 -2
  257. data/lib/ship_engine/models/calculate_rates_response_body.rb +1 -1
  258. data/lib/ship_engine/models/carrier.rb +1 -1
  259. data/lib/ship_engine/models/carrier_advanced_option.rb +1 -1
  260. data/lib/ship_engine/models/collect_on_delivery.rb +1 -1
  261. data/lib/ship_engine/models/compare_bulk_rates_request_body.rb +2 -2
  262. data/lib/ship_engine/models/connect_access_worldwide_request_body.rb +1 -1
  263. data/lib/ship_engine/models/connect_amazon_buy_shipping_request_body.rb +1 -1
  264. data/lib/ship_engine/models/connect_apc_request_body.rb +1 -1
  265. data/lib/ship_engine/models/connect_asendia_request_body.rb +1 -1
  266. data/lib/ship_engine/models/connect_australia_post_request_body.rb +1 -1
  267. data/lib/ship_engine/models/connect_canada_post_request_body.rb +1 -1
  268. data/lib/ship_engine/models/connect_carrier_request_body.rb +2 -2
  269. data/lib/ship_engine/models/connect_carrier_response_body.rb +1 -1
  270. data/lib/ship_engine/models/connect_dhl_ecommerce_request_body.rb +1 -1
  271. data/lib/ship_engine/models/connect_dhl_express_au_request_body.rb +1 -1
  272. data/lib/ship_engine/models/connect_dhl_express_ca_request_body.rb +1 -1
  273. data/lib/ship_engine/models/connect_dhl_express_request_body.rb +1 -1
  274. data/lib/ship_engine/models/connect_dhl_express_uk_request_body.rb +1 -1
  275. data/lib/ship_engine/models/connect_dpd_request_body.rb +1 -1
  276. data/lib/ship_engine/models/connect_endicia_request_body.rb +1 -1
  277. data/lib/ship_engine/models/connect_fedex_request_body.rb +1 -1
  278. data/lib/ship_engine/models/connect_fedex_uk_request_body.rb +1 -1
  279. data/lib/ship_engine/models/connect_firstmile_request_body.rb +1 -1
  280. data/lib/ship_engine/models/connect_globegistics_request_body.rb +1 -1
  281. data/lib/ship_engine/models/connect_imex_request_body.rb +1 -1
  282. data/lib/ship_engine/models/connect_insurer_request_body.rb +1 -1
  283. data/lib/ship_engine/models/connect_newgistics_request_body.rb +1 -1
  284. data/lib/ship_engine/models/connect_ontrac_request_body.rb +1 -1
  285. data/lib/ship_engine/models/connect_purolator_request_body.rb +1 -1
  286. data/lib/ship_engine/models/connect_royal_mail_request_body.rb +1 -1
  287. data/lib/ship_engine/models/connect_rr_donnelley_request_body.rb +1 -1
  288. data/lib/ship_engine/models/connect_seko_request_body.rb +1 -1
  289. data/lib/ship_engine/models/connect_sendle_request_body.rb +1 -1
  290. data/lib/ship_engine/models/connect_stamps_request_body.rb +1 -1
  291. data/lib/ship_engine/models/connect_ups_request_body.rb +1 -1
  292. data/lib/ship_engine/models/create_and_validate_shipment.rb +1 -1
  293. data/lib/ship_engine/models/create_batch_request_body.rb +1 -1
  294. data/lib/ship_engine/models/create_batch_response_body.rb +1 -1
  295. data/lib/ship_engine/models/create_label_from_rate_request_body.rb +1 -1
  296. data/lib/ship_engine/models/create_label_from_rate_response_body.rb +1 -1
  297. data/lib/ship_engine/models/create_label_from_shipment_request_body.rb +1 -1
  298. data/lib/ship_engine/models/create_label_from_shipment_response_body.rb +1 -1
  299. data/lib/ship_engine/models/create_label_request_body.rb +1 -1
  300. data/lib/ship_engine/models/create_label_response_body.rb +1 -1
  301. data/lib/ship_engine/models/create_manifest_by_object_request_body.rb +1 -1
  302. data/lib/ship_engine/models/create_manifest_label_ids_request_body.rb +1 -1
  303. data/lib/ship_engine/models/create_manifest_request_body.rb +2 -2
  304. data/lib/ship_engine/models/create_manifest_response_body.rb +1 -1
  305. data/lib/ship_engine/models/create_package_type_request_body.rb +1 -1
  306. data/lib/ship_engine/models/create_package_type_response_body.rb +1 -1
  307. data/lib/ship_engine/models/create_return_label_request_body.rb +1 -1
  308. data/lib/ship_engine/models/create_return_label_response_body.rb +1 -1
  309. data/lib/ship_engine/models/create_shipment_response_body_fields.rb +1 -1
  310. data/lib/ship_engine/models/create_shipments_request_body.rb +1 -1
  311. data/lib/ship_engine/models/create_shipments_response_body.rb +1 -1
  312. data/lib/ship_engine/models/create_tag_response_body.rb +1 -1
  313. data/lib/ship_engine/models/create_warehouse_request_body.rb +1 -1
  314. data/lib/ship_engine/models/create_warehouse_response_body.rb +1 -1
  315. data/lib/ship_engine/models/create_webhook_request_body.rb +1 -1
  316. data/lib/ship_engine/models/create_webhook_response_body.rb +1 -1
  317. data/lib/ship_engine/models/customs_item.rb +1 -1
  318. data/lib/ship_engine/models/deprecated_manifest.rb +1 -1
  319. data/lib/ship_engine/models/dhl_express_account_settings.rb +1 -1
  320. data/lib/ship_engine/models/dhl_express_settings_response_body.rb +1 -1
  321. data/lib/ship_engine/models/dimensions.rb +1 -1
  322. data/lib/ship_engine/models/error.rb +1 -1
  323. data/lib/ship_engine/models/error_response_body.rb +1 -1
  324. data/lib/ship_engine/models/estimate_rates_request_body.rb +2 -2
  325. data/lib/ship_engine/models/fedex_account_settings.rb +1 -1
  326. data/lib/ship_engine/models/fedex_account_settings_request_body.rb +1 -1
  327. data/lib/ship_engine/models/fedex_settings_response_body.rb +1 -1
  328. data/lib/ship_engine/models/get_batch_by_external_id_response_body.rb +1 -1
  329. data/lib/ship_engine/models/get_batch_by_id_response_body.rb +1 -1
  330. data/lib/ship_engine/models/get_carrier_by_id_response_body.rb +1 -1
  331. data/lib/ship_engine/models/get_carrier_options_response_body.rb +1 -1
  332. data/lib/ship_engine/models/get_carrier_settings_response_body.rb +2 -2
  333. data/lib/ship_engine/models/get_carriers_response_body.rb +1 -1
  334. data/lib/ship_engine/models/get_insurance_balance_response_body.rb +1 -1
  335. data/lib/ship_engine/models/get_label_by_external_shipment_id_response_body.rb +1 -1
  336. data/lib/ship_engine/models/get_label_by_id_response_body.rb +1 -1
  337. data/lib/ship_engine/models/get_manifest_by_id_response_body.rb +1 -1
  338. data/lib/ship_engine/models/get_package_type_by_id_response_body.rb +1 -1
  339. data/lib/ship_engine/models/get_rate_by_id_response_body.rb +1 -1
  340. data/lib/ship_engine/models/get_shipment_by_external_id_response_body.rb +1 -1
  341. data/lib/ship_engine/models/get_shipment_by_id_response_body.rb +1 -1
  342. data/lib/ship_engine/models/get_tracking_log_from_label_response_body.rb +1 -1
  343. data/lib/ship_engine/models/get_tracking_log_response_body.rb +1 -1
  344. data/lib/ship_engine/models/get_warehouse_by_id_response_body.rb +1 -1
  345. data/lib/ship_engine/models/get_webhook_by_id_response_body.rb +1 -1
  346. data/lib/ship_engine/models/international_shipment_options.rb +1 -1
  347. data/lib/ship_engine/models/label.rb +1 -1
  348. data/lib/ship_engine/models/label_download.rb +1 -1
  349. data/lib/ship_engine/models/label_messages.rb +1 -1
  350. data/lib/ship_engine/models/link.rb +1 -1
  351. data/lib/ship_engine/models/list_batch_errors_response_body.rb +1 -1
  352. data/lib/ship_engine/models/list_batches_response_body.rb +1 -1
  353. data/lib/ship_engine/models/list_carrier_package_types_response_body.rb +1 -1
  354. data/lib/ship_engine/models/list_carrier_services_response_body.rb +1 -1
  355. data/lib/ship_engine/models/list_carriers_response_body.rb +1 -1
  356. data/lib/ship_engine/models/list_labels_response_body.rb +1 -1
  357. data/lib/ship_engine/models/list_manifests_response_body.rb +1 -1
  358. data/lib/ship_engine/models/list_package_types_response_body.rb +1 -1
  359. data/lib/ship_engine/models/list_shipment_errors_response_body.rb +1 -1
  360. data/lib/ship_engine/models/list_shipment_rates_response_body.rb +1 -1
  361. data/lib/ship_engine/models/list_shipments_response_body.rb +1 -1
  362. data/lib/ship_engine/models/list_tags_response_body.rb +1 -1
  363. data/lib/ship_engine/models/list_warehouses_response_body.rb +1 -1
  364. data/lib/ship_engine/models/manifest.rb +1 -1
  365. data/lib/ship_engine/models/manifest_download.rb +1 -1
  366. data/lib/ship_engine/models/manifests.rb +1 -1
  367. data/lib/ship_engine/models/modify_batch.rb +1 -1
  368. data/lib/ship_engine/models/monetary_value.rb +1 -1
  369. data/lib/ship_engine/models/optional_link.rb +1 -1
  370. data/lib/ship_engine/models/package.rb +1 -1
  371. data/lib/ship_engine/models/package_type.rb +1 -1
  372. data/lib/ship_engine/models/paged_list_response_body.rb +1 -1
  373. data/lib/ship_engine/models/pagination_link.rb +1 -1
  374. data/lib/ship_engine/models/parse_address_request_body.rb +1 -1
  375. data/lib/ship_engine/models/parse_address_response_body.rb +1 -1
  376. data/lib/ship_engine/models/parse_shipment_request_body.rb +1 -1
  377. data/lib/ship_engine/models/parse_shipment_response_body.rb +1 -1
  378. data/lib/ship_engine/models/partial_address.rb +1 -1
  379. data/lib/ship_engine/models/partial_shipment.rb +1 -1
  380. data/lib/ship_engine/models/payment_amount.rb +1 -1
  381. data/lib/ship_engine/models/process_batch_request_body.rb +1 -1
  382. data/lib/ship_engine/models/purchase_label_without_shipment.rb +1 -1
  383. data/lib/ship_engine/models/rate.rb +1 -1
  384. data/lib/ship_engine/models/rate_estimate_by_carrier_id.rb +1 -1
  385. data/lib/ship_engine/models/rate_estimate_by_carrier_ids.rb +1 -1
  386. data/lib/ship_engine/models/rate_estimate_options.rb +1 -1
  387. data/lib/ship_engine/models/rate_request_body.rb +1 -1
  388. data/lib/ship_engine/models/rate_request_by_shipment_ids.rb +1 -1
  389. data/lib/ship_engine/models/rate_request_by_shipments.rb +1 -1
  390. data/lib/ship_engine/models/rate_request_options.rb +1 -1
  391. data/lib/ship_engine/models/rate_request_rate_options.rb +1 -1
  392. data/lib/ship_engine/models/rate_response.rb +1 -1
  393. data/lib/ship_engine/models/rates_information.rb +1 -1
  394. data/lib/ship_engine/models/recognized_entity.rb +1 -1
  395. data/lib/ship_engine/models/remove_from_batch_request_body.rb +1 -1
  396. data/lib/ship_engine/models/response_message.rb +1 -1
  397. data/lib/ship_engine/models/service.rb +1 -1
  398. data/lib/ship_engine/models/shipment.rb +1 -1
  399. data/lib/ship_engine/models/shipment_id_request.rb +1 -1
  400. data/lib/ship_engine/models/shipment_item.rb +1 -1
  401. data/lib/ship_engine/models/shipment_request.rb +1 -1
  402. data/lib/ship_engine/models/shipment_response_error.rb +1 -1
  403. data/lib/ship_engine/models/tag.rb +1 -1
  404. data/lib/ship_engine/models/tag_shipment_response_body.rb +1 -1
  405. data/lib/ship_engine/models/track_event.rb +1 -1
  406. data/lib/ship_engine/models/tracking_information.rb +1 -1
  407. data/lib/ship_engine/models/update_amazon_buy_shipping_request_body.rb +1 -1
  408. data/lib/ship_engine/models/update_carrier_settings_request_body.rb +2 -2
  409. data/lib/ship_engine/models/update_dhl_express_settings_request_body.rb +1 -1
  410. data/lib/ship_engine/models/update_fedex_settings_request_body.rb +1 -1
  411. data/lib/ship_engine/models/update_newgistics_settings_request_body.rb +1 -1
  412. data/lib/ship_engine/models/update_package_type_request_body.rb +1 -1
  413. data/lib/ship_engine/models/update_shipment_fields.rb +1 -1
  414. data/lib/ship_engine/models/update_shipment_request_body.rb +1 -1
  415. data/lib/ship_engine/models/update_shipment_response_body.rb +1 -1
  416. data/lib/ship_engine/models/update_ups_settings_request_body.rb +1 -1
  417. data/lib/ship_engine/models/update_warehouse_request_body.rb +1 -1
  418. data/lib/ship_engine/models/update_webhook_request_body.rb +1 -1
  419. data/lib/ship_engine/models/ups_account_settings.rb +1 -1
  420. data/lib/ship_engine/models/ups_invoice.rb +1 -1
  421. data/lib/ship_engine/models/ups_settings_response_body.rb +1 -1
  422. data/lib/ship_engine/models/validate_shipment_fields.rb +1 -1
  423. data/lib/ship_engine/models/void_label_response_body.rb +1 -1
  424. data/lib/ship_engine/models/warehouse.rb +1 -1
  425. data/lib/ship_engine/models/webhook.rb +1 -1
  426. data/lib/ship_engine/models/weight.rb +1 -1
  427. data/lib/ship_engine/version.rb +1 -1
  428. data/ship_engine-1.0.1.gem +0 -0
  429. data/spec/api_client_spec.rb +6 -6
  430. data/spec/configuration_spec.rb +1 -1
  431. metadata +2 -1
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -214,7 +214,7 @@ module ShipEngine
214
214
  end
215
215
  end
216
216
  else # model
217
- OpenapiClient.const_get(type).build_from_hash(value)
217
+ ShipEngine.const_get(type).build_from_hash(value)
218
218
  end
219
219
  end
220
220
 
@@ -162,7 +162,7 @@ module ShipEngine
162
162
  end
163
163
  end
164
164
  else # model
165
- OpenapiClient.const_get(type).build_from_hash(value)
165
+ ShipEngine.const_get(type).build_from_hash(value)
166
166
  end
167
167
  end
168
168
 
@@ -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 = OpenapiClient.const_get(_class).build_from_hash(self.to_hash)
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
- OpenapiClient.const_get(type).build_from_hash(value)
245
+ ShipEngine.const_get(type).build_from_hash(value)
246
246
  end
247
247
  end
248
248
 
@@ -336,7 +336,7 @@ module ShipEngine
336
336
  end
337
337
  end
338
338
  else # model
339
- OpenapiClient.const_get(type).build_from_hash(value)
339
+ ShipEngine.const_get(type).build_from_hash(value)
340
340
  end
341
341
  end
342
342
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -195,7 +195,7 @@ module ShipEngine
195
195
  end
196
196
  end
197
197
  else # model
198
- OpenapiClient.const_get(type).build_from_hash(value)
198
+ ShipEngine.const_get(type).build_from_hash(value)
199
199
  end
200
200
  end
201
201
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -166,7 +166,7 @@ module ShipEngine
166
166
  end
167
167
  end
168
168
  else # model
169
- OpenapiClient.const_get(type).build_from_hash(value)
169
+ ShipEngine.const_get(type).build_from_hash(value)
170
170
  end
171
171
  end
172
172
 
@@ -162,7 +162,7 @@ module ShipEngine
162
162
  end
163
163
  end
164
164
  else # model
165
- OpenapiClient.const_get(type).build_from_hash(value)
165
+ ShipEngine.const_get(type).build_from_hash(value)
166
166
  end
167
167
  end
168
168
 
@@ -179,7 +179,7 @@ module ShipEngine
179
179
  end
180
180
  end
181
181
  else # model
182
- OpenapiClient.const_get(type).build_from_hash(value)
182
+ ShipEngine.const_get(type).build_from_hash(value)
183
183
  end
184
184
  end
185
185
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -174,7 +174,7 @@ module ShipEngine
174
174
  end
175
175
  end
176
176
  else # model
177
- OpenapiClient.const_get(type).build_from_hash(value)
177
+ ShipEngine.const_get(type).build_from_hash(value)
178
178
  end
179
179
  end
180
180
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -281,7 +281,7 @@ module ShipEngine
281
281
  end
282
282
  end
283
283
  else # model
284
- OpenapiClient.const_get(type).build_from_hash(value)
284
+ ShipEngine.const_get(type).build_from_hash(value)
285
285
  end
286
286
  end
287
287
 
@@ -264,7 +264,7 @@ module ShipEngine
264
264
  end
265
265
  end
266
266
  else # model
267
- OpenapiClient.const_get(type).build_from_hash(value)
267
+ ShipEngine.const_get(type).build_from_hash(value)
268
268
  end
269
269
  end
270
270
 
@@ -190,7 +190,7 @@ module ShipEngine
190
190
  end
191
191
  end
192
192
  else # model
193
- OpenapiClient.const_get(type).build_from_hash(value)
193
+ ShipEngine.const_get(type).build_from_hash(value)
194
194
  end
195
195
  end
196
196
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -267,7 +267,7 @@ module ShipEngine
267
267
  end
268
268
  end
269
269
  else # model
270
- OpenapiClient.const_get(type).build_from_hash(value)
270
+ ShipEngine.const_get(type).build_from_hash(value)
271
271
  end
272
272
  end
273
273
 
@@ -221,7 +221,7 @@ module ShipEngine
221
221
  end
222
222
  end
223
223
  else # model
224
- OpenapiClient.const_get(type).build_from_hash(value)
224
+ ShipEngine.const_get(type).build_from_hash(value)
225
225
  end
226
226
  end
227
227
 
@@ -177,7 +177,7 @@ module ShipEngine
177
177
  end
178
178
  end
179
179
  else # model
180
- OpenapiClient.const_get(type).build_from_hash(value)
180
+ ShipEngine.const_get(type).build_from_hash(value)
181
181
  end
182
182
  end
183
183
 
@@ -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 = OpenapiClient.const_get(_class).build_from_hash(self.to_hash)
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
- OpenapiClient.const_get(type).build_from_hash(value)
175
+ ShipEngine.const_get(type).build_from_hash(value)
176
176
  end
177
177
  end
178
178
 
@@ -206,7 +206,7 @@ module ShipEngine
206
206
  end
207
207
  end
208
208
  else # model
209
- OpenapiClient.const_get(type).build_from_hash(value)
209
+ ShipEngine.const_get(type).build_from_hash(value)
210
210
  end
211
211
  end
212
212
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -157,7 +157,7 @@ module ShipEngine
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ ShipEngine.const_get(type).build_from_hash(value)
161
161
  end
162
162
  end
163
163
 
@@ -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 = OpenapiClient.const_get(_class).build_from_hash(self.to_hash)
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
- OpenapiClient.const_get(type).build_from_hash(value)
363
+ ShipEngine.const_get(type).build_from_hash(value)
364
364
  end
365
365
  end
366
366
 
@@ -201,7 +201,7 @@ module ShipEngine
201
201
  end
202
202
  end
203
203
  else # model
204
- OpenapiClient.const_get(type).build_from_hash(value)
204
+ ShipEngine.const_get(type).build_from_hash(value)
205
205
  end
206
206
  end
207
207
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162
 
@@ -156,7 +156,7 @@ module ShipEngine
156
156
  end
157
157
  end
158
158
  else # model
159
- OpenapiClient.const_get(type).build_from_hash(value)
159
+ ShipEngine.const_get(type).build_from_hash(value)
160
160
  end
161
161
  end
162
162