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
@@ -203,7 +203,7 @@ module ShipEngine
203
203
  end
204
204
  end
205
205
  else # model
206
- OpenapiClient.const_get(type).build_from_hash(value)
206
+ ShipEngine.const_get(type).build_from_hash(value)
207
207
  end
208
208
  end
209
209
 
@@ -161,7 +161,7 @@ module ShipEngine
161
161
  end
162
162
  end
163
163
  else # model
164
- OpenapiClient.const_get(type).build_from_hash(value)
164
+ ShipEngine.const_get(type).build_from_hash(value)
165
165
  end
166
166
  end
167
167
 
@@ -161,7 +161,7 @@ module ShipEngine
161
161
  end
162
162
  end
163
163
  else # model
164
- OpenapiClient.const_get(type).build_from_hash(value)
164
+ ShipEngine.const_get(type).build_from_hash(value)
165
165
  end
166
166
  end
167
167
 
@@ -154,7 +154,7 @@ module ShipEngine
154
154
  end
155
155
  end
156
156
  else # model
157
- OpenapiClient.const_get(type).build_from_hash(value)
157
+ ShipEngine.const_get(type).build_from_hash(value)
158
158
  end
159
159
  end
160
160
 
@@ -154,7 +154,7 @@ module ShipEngine
154
154
  end
155
155
  end
156
156
  else # model
157
- OpenapiClient.const_get(type).build_from_hash(value)
157
+ ShipEngine.const_get(type).build_from_hash(value)
158
158
  end
159
159
  end
160
160
 
@@ -154,7 +154,7 @@ module ShipEngine
154
154
  end
155
155
  end
156
156
  else # model
157
- OpenapiClient.const_get(type).build_from_hash(value)
157
+ ShipEngine.const_get(type).build_from_hash(value)
158
158
  end
159
159
  end
160
160
 
@@ -219,7 +219,7 @@ module ShipEngine
219
219
  end
220
220
  end
221
221
  else # model
222
- OpenapiClient.const_get(type).build_from_hash(value)
222
+ ShipEngine.const_get(type).build_from_hash(value)
223
223
  end
224
224
  end
225
225
 
@@ -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
 
@@ -198,7 +198,7 @@ module ShipEngine
198
198
  end
199
199
  end
200
200
  else # model
201
- OpenapiClient.const_get(type).build_from_hash(value)
201
+ ShipEngine.const_get(type).build_from_hash(value)
202
202
  end
203
203
  end
204
204
 
@@ -244,7 +244,7 @@ module ShipEngine
244
244
  end
245
245
  end
246
246
  else # model
247
- OpenapiClient.const_get(type).build_from_hash(value)
247
+ ShipEngine.const_get(type).build_from_hash(value)
248
248
  end
249
249
  end
250
250
 
@@ -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
 
@@ -154,7 +154,7 @@ module ShipEngine
154
154
  end
155
155
  end
156
156
  else # model
157
- OpenapiClient.const_get(type).build_from_hash(value)
157
+ ShipEngine.const_get(type).build_from_hash(value)
158
158
  end
159
159
  end
160
160
 
@@ -294,7 +294,7 @@ module ShipEngine
294
294
  end
295
295
  end
296
296
  else # model
297
- OpenapiClient.const_get(type).build_from_hash(value)
297
+ ShipEngine.const_get(type).build_from_hash(value)
298
298
  end
299
299
  end
300
300
 
@@ -154,7 +154,7 @@ module ShipEngine
154
154
  end
155
155
  end
156
156
  else # model
157
- OpenapiClient.const_get(type).build_from_hash(value)
157
+ ShipEngine.const_get(type).build_from_hash(value)
158
158
  end
159
159
  end
160
160
 
@@ -204,7 +204,7 @@ module ShipEngine
204
204
  end
205
205
  end
206
206
  else # model
207
- OpenapiClient.const_get(type).build_from_hash(value)
207
+ ShipEngine.const_get(type).build_from_hash(value)
208
208
  end
209
209
  end
210
210
 
@@ -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
 
@@ -175,7 +175,7 @@ module ShipEngine
175
175
  end
176
176
  end
177
177
  else # model
178
- OpenapiClient.const_get(type).build_from_hash(value)
178
+ ShipEngine.const_get(type).build_from_hash(value)
179
179
  end
180
180
  end
181
181
 
@@ -449,7 +449,7 @@ module ShipEngine
449
449
  end
450
450
  end
451
451
  else # model
452
- OpenapiClient.const_get(type).build_from_hash(value)
452
+ ShipEngine.const_get(type).build_from_hash(value)
453
453
  end
454
454
  end
455
455
 
@@ -318,7 +318,7 @@ module ShipEngine
318
318
  end
319
319
  end
320
320
  else # model
321
- OpenapiClient.const_get(type).build_from_hash(value)
321
+ ShipEngine.const_get(type).build_from_hash(value)
322
322
  end
323
323
  end
324
324
 
@@ -170,7 +170,7 @@ module ShipEngine
170
170
  end
171
171
  end
172
172
  else # model
173
- OpenapiClient.const_get(type).build_from_hash(value)
173
+ ShipEngine.const_get(type).build_from_hash(value)
174
174
  end
175
175
  end
176
176
 
@@ -247,7 +247,7 @@ module ShipEngine
247
247
  return false if !@email.nil? && @email.to_s.length < 1
248
248
  _one_of_found = false
249
249
  self.class.openapi_one_of.each do |_class|
250
- _one_of = OpenapiClient.const_get(_class).build_from_hash(self.to_hash)
250
+ _one_of = ShipEngine.const_get(_class).build_from_hash(self.to_hash)
251
251
  if _one_of.valid?
252
252
  if _one_of_found
253
253
  return false
@@ -405,7 +405,7 @@ module ShipEngine
405
405
  end
406
406
  end
407
407
  else # model
408
- OpenapiClient.const_get(type).build_from_hash(value)
408
+ ShipEngine.const_get(type).build_from_hash(value)
409
409
  end
410
410
  end
411
411
 
@@ -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
 
@@ -163,7 +163,7 @@ module ShipEngine
163
163
  end
164
164
  end
165
165
  else # model
166
- OpenapiClient.const_get(type).build_from_hash(value)
166
+ ShipEngine.const_get(type).build_from_hash(value)
167
167
  end
168
168
  end
169
169
 
@@ -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
 
@@ -153,7 +153,7 @@ module ShipEngine
153
153
  end
154
154
  end
155
155
  else # model
156
- OpenapiClient.const_get(type).build_from_hash(value)
156
+ ShipEngine.const_get(type).build_from_hash(value)
157
157
  end
158
158
  end
159
159
 
@@ -416,7 +416,7 @@ module ShipEngine
416
416
  end
417
417
  end
418
418
  else # model
419
- OpenapiClient.const_get(type).build_from_hash(value)
419
+ ShipEngine.const_get(type).build_from_hash(value)
420
420
  end
421
421
  end
422
422
 
@@ -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
 
@@ -155,7 +155,7 @@ module ShipEngine
155
155
  end
156
156
  end
157
157
  else # model
158
- OpenapiClient.const_get(type).build_from_hash(value)
158
+ ShipEngine.const_get(type).build_from_hash(value)
159
159
  end
160
160
  end
161
161
 
@@ -308,7 +308,7 @@ module ShipEngine
308
308
  end
309
309
  end
310
310
  else # model
311
- OpenapiClient.const_get(type).build_from_hash(value)
311
+ ShipEngine.const_get(type).build_from_hash(value)
312
312
  end
313
313
  end
314
314
 
@@ -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
 
@@ -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
 
@@ -153,7 +153,7 @@ module ShipEngine
153
153
  end
154
154
  end
155
155
  else # model
156
- OpenapiClient.const_get(type).build_from_hash(value)
156
+ ShipEngine.const_get(type).build_from_hash(value)
157
157
  end
158
158
  end
159
159
 
@@ -193,7 +193,7 @@ module ShipEngine
193
193
  end
194
194
  end
195
195
  else # model
196
- OpenapiClient.const_get(type).build_from_hash(value)
196
+ ShipEngine.const_get(type).build_from_hash(value)
197
197
  end
198
198
  end
199
199
 
@@ -210,7 +210,7 @@ module ShipEngine
210
210
  end
211
211
  end
212
212
  else # model
213
- OpenapiClient.const_get(type).build_from_hash(value)
213
+ ShipEngine.const_get(type).build_from_hash(value)
214
214
  end
215
215
  end
216
216
 
@@ -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
 
@@ -193,7 +193,7 @@ module ShipEngine
193
193
  end
194
194
  end
195
195
  else # model
196
- OpenapiClient.const_get(type).build_from_hash(value)
196
+ ShipEngine.const_get(type).build_from_hash(value)
197
197
  end
198
198
  end
199
199
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module ShipEngine
14
- VERSION = '1.0.1'
14
+ VERSION = '1.0.2'
15
15
  end
Binary file
@@ -17,34 +17,34 @@ describe ShipEngine::ApiClient do
17
17
  context 'URL stuff' do
18
18
  context 'host' do
19
19
  it 'removes http from host' do
20
- OpenapiClient.configure { |c| c.host = 'http://example.com' }
20
+ ShipEngine.configure { |c| c.host = 'http://example.com' }
21
21
  expect(ShipEngine::Configuration.default.host).to eq('example.com')
22
22
  end
23
23
 
24
24
  it 'removes https from host' do
25
- OpenapiClient.configure { |c| c.host = 'https://wookiee.com' }
25
+ ShipEngine.configure { |c| c.host = 'https://wookiee.com' }
26
26
  expect(ShipEngine::ApiClient.default.config.host).to eq('wookiee.com')
27
27
  end
28
28
 
29
29
  it 'removes trailing path from host' do
30
- OpenapiClient.configure { |c| c.host = 'hobo.com/v4' }
30
+ ShipEngine.configure { |c| c.host = 'hobo.com/v4' }
31
31
  expect(ShipEngine::Configuration.default.host).to eq('hobo.com')
32
32
  end
33
33
  end
34
34
 
35
35
  context 'base_path' do
36
36
  it "prepends a slash to base_path" do
37
- OpenapiClient.configure { |c| c.base_path = 'v4/dog' }
37
+ ShipEngine.configure { |c| c.base_path = 'v4/dog' }
38
38
  expect(ShipEngine::Configuration.default.base_path).to eq('/v4/dog')
39
39
  end
40
40
 
41
41
  it "doesn't prepend a slash if one is already there" do
42
- OpenapiClient.configure { |c| c.base_path = '/v4/dog' }
42
+ ShipEngine.configure { |c| c.base_path = '/v4/dog' }
43
43
  expect(ShipEngine::Configuration.default.base_path).to eq('/v4/dog')
44
44
  end
45
45
 
46
46
  it "ends up as a blank string if nil" do
47
- OpenapiClient.configure { |c| c.base_path = nil }
47
+ ShipEngine.configure { |c| c.base_path = nil }
48
48
  expect(ShipEngine::Configuration.default.base_path).to eq('')
49
49
  end
50
50
  end