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 +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/muffin_man/fulfillment_inbound/v0.rb +23 -0
- data/lib/muffin_man/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7a42ef0ba984b7f8a4cb0c0dd4f57df1fee295f9b7e0419a98aaf2aa8c91d9d0
|
|
4
|
+
data.tar.gz: f9b47bfc74b0914f7ea0135fc2f3e9bea4b1297fdebc3e72efa9e70a6295cbee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
-
-
|
|
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
|
data/lib/muffin_man/version.rb
CHANGED
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.
|
|
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-
|
|
13
|
+
date: 2022-10-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|