muffin_man 1.4.12 → 1.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56a11750c6d7476f8ec76a10d48af26c4a08950925441d27711614db8f4a461d
4
- data.tar.gz: 54ad3a2010e6e8740faeb3c99f56b3a03b0eaf16764a3ddc332dc6a5d66f417e
3
+ metadata.gz: 7a42ef0ba984b7f8a4cb0c0dd4f57df1fee295f9b7e0419a98aaf2aa8c91d9d0
4
+ data.tar.gz: f9b47bfc74b0914f7ea0135fc2f3e9bea4b1297fdebc3e72efa9e70a6295cbee
5
5
  SHA512:
6
- metadata.gz: '0839c14a32a23c9c5116e67579d0c972635075f3f552c62700d5ead90b9b74685b9dfc638856d9018c24380f5ca3ed3527c940b30763607318c2068612e700e1'
7
- data.tar.gz: ad67a79ef140ddbd2c5d01d8ea70c5e00c0ff8037ae13de6f864b411b1a6105d3e3338ce505459587b74801c5612030447908a416da8c84b7b8f4dd4080cf89a
6
+ metadata.gz: 6da1096325d7b5dca43d48f41f703771e90e5d73e1ab1e10578bba159b20bd5bdc345fc06e89c7fddf4670702dfdba51861adf825b49a252979568b75ac5a795
7
+ data.tar.gz: de6ea25f3a1ccaee93304e39c2f340aa4468289ca43e8b4a4f48c8c0d6f9b8e5dd2759a5c2e49d0588aaa6153fe00ed3d02755fd20a974d0736ca142c11ea767
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
+ # 1.4.13
2
+
3
+ - Support for updateInboundShipment [#28](https://github.com/patterninc/muffin_man/pull/28)
4
+
1
5
  # 1.4.12
2
6
 
3
- - Support for getLabels [#30](https://github.com/patterninc/muffin_man/pull/30)
7
+ - Support for getShipmentItemsByShipmentId [#30](https://github.com/patterninc/muffin_man/pull/30)
4
8
 
5
9
  # 1.4.11
6
10
 
@@ -8,7 +12,7 @@
8
12
 
9
13
  # 1.4.10
10
14
 
11
- - Fix to override global AWS config with credentials that are passed [#27](https://github.com/patterninc/muffin_man/pull/27)
15
+ - Support for getShipments [#27](https://github.com/patterninc/muffin_man/pull/27)
12
16
 
13
17
  # 1.4.9
14
18
 
@@ -52,6 +52,17 @@ module MuffinMan
52
52
  call_api
53
53
  end
54
54
 
55
+ def update_inbound_shipment(shipment_id, marketplace_id, inbound_shipment_header, inbound_shipment_items)
56
+ @local_var_path = "/fba/inbound/v0/shipments/#{shipment_id}"
57
+ @request_body = {
58
+ "MarketplaceId": marketplace_id,
59
+ "InboundShipmentHeader": inbound_shipment_header,
60
+ "InboundShipmentItems": inbound_shipment_items,
61
+ }
62
+ @request_type = "PUT"
63
+ call_api
64
+ end
65
+
55
66
  def get_labels(shipment_id, page_type, label_type, number_of_packages: nil, package_labels_to_print: [], number_of_pallets: nil, page_size: nil, page_start_index: nil)
56
67
  @local_var_path = "/fba/inbound/v0/shipments/#{shipment_id}/labels"
57
68
  @query_params = {
@@ -76,6 +87,18 @@ module MuffinMan
76
87
  @request_type = "GET"
77
88
  call_api
78
89
  end
90
+
91
+ def put_transport_details(shipment_id, is_partnered, shipment_type, transport_details)
92
+ @local_var_path = "/fba/inbound/v0/shipments/#{shipment_id}/transport"
93
+ @request_body = {
94
+ "shipmentId": shipment_id,
95
+ "IsPartnered": is_partnered,
96
+ "ShipmentType": shipment_type,
97
+ "TransportDetails": transport_details,
98
+ }
99
+ @request_type = "PUT"
100
+ call_api
101
+ end
79
102
  end
80
103
  end
81
104
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuffinMan
4
- VERSION = "1.4.12"
4
+ VERSION = "1.4.13"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muffin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.12
4
+ version: 1.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2022-10-03 00:00:00.000000000 Z
13
+ date: 2022-10-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec