muffin_man 2.4.3 → 2.4.5
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/.github/workflows/ci.yml +1 -0
- data/CHANGELOG.md +6 -1
- data/lib/muffin_man/fulfillment_inbound/v20240320.rb +21 -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: 746f41e9f47c24e2e8454e6f117b2ca592db016aecfd372991350e5b0ac35d7c
|
4
|
+
data.tar.gz: 19747d26e92b6704474e03eb5b69ad989e4c4d993a7bcafe19fa02bdabc84c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94b105ea80fd17f88749996e0c0b07337371e7de7b7742894ac83e43afe56e6b076b00f9c3a1331e86288a8af04831525b34f6cc94b07218f16af74d8a0a4069
|
7
|
+
data.tar.gz: 2ec760d43798dd4e1a7f85c8e2796848af0b269188ed95bc6a95a8bc3da03756f58bc6979e34a07b3bb2c82d3f04e80a2df69e7e0892497b74b5b125dd125b2d
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
# 2.4.5 [#74](https://github.com/patterninc/muffin_man/pull/74)
|
2
|
+
|
3
|
+
- Support for FulfillmentInbound listShipmentItems [#74](https://github.com/patterninc/muffin_man/pull/74)
|
4
|
+
# 2.4.4 [#78](https://github.com/patterninc/muffin_man/pull/78)
|
5
|
+
|
6
|
+
- Support for more Fulfillment Inbound API v2024-03-30 endpoints
|
1
7
|
# 2.4.1 [#73](https://github.com/patterninc/muffin_man/pull/73)
|
2
8
|
|
3
|
-
- Support for Listings Restrictions API v2021-08-01
|
4
9
|
# 2.4.0 [#72](https://github.com/patterninc/muffin_man/pull/72)
|
5
10
|
|
6
11
|
- Support for the following:
|
@@ -38,6 +38,15 @@ module MuffinMan
|
|
38
38
|
call_api
|
39
39
|
end
|
40
40
|
|
41
|
+
def list_shipment_items(inbound_plan_id, shipment_id, page_size: nil, pagination_token: nil)
|
42
|
+
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/items"
|
43
|
+
@query_params = {}
|
44
|
+
@query_params["pageSize"] = page_size if page_size
|
45
|
+
@query_params["paginationToken"] = pagination_token if pagination_token
|
46
|
+
@request_type = "GET"
|
47
|
+
call_api
|
48
|
+
end
|
49
|
+
|
41
50
|
def list_shipment_boxes(inbound_plan_id, shipment_id, page_size: nil, pagination_token: nil)
|
42
51
|
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/boxes"
|
43
52
|
@query_params = {}
|
@@ -112,6 +121,18 @@ module MuffinMan
|
|
112
121
|
call_api
|
113
122
|
end
|
114
123
|
|
124
|
+
def confirm_placement_option(inbound_plan_id, placement_option_id)
|
125
|
+
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/placementOptions/#{placement_option_id}/confirmation" # rubocop:disable Layout/LineLength
|
126
|
+
@request_type = "POST"
|
127
|
+
call_api
|
128
|
+
end
|
129
|
+
|
130
|
+
def cancel_inbound_plan(inbound_plan_id)
|
131
|
+
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/cancellation"
|
132
|
+
@request_type = "POST"
|
133
|
+
call_api
|
134
|
+
end
|
135
|
+
|
115
136
|
def get_inbound_operation_status(operation_id)
|
116
137
|
@local_var_path = "#{INBOUND_PATH}/operations/#{operation_id}"
|
117
138
|
@request_type = "GET"
|
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: 2.4.
|
4
|
+
version: 2.4.5
|
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: 2024-10-
|
13
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|