muffin_man 2.4.4 → 2.4.6

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: 498fdf4e286f370a279ccfb70bab4cb33fec07815d7123320f2da0c8addd340b
4
- data.tar.gz: bcca2ae669373511f2b1b0f7cf6013a2e71e3272645fed420e9c9a5c743cde38
3
+ metadata.gz: 819132411595a13de678f8dbbea39e22f4b6cfcf33416d33a8344361e5d3ae2c
4
+ data.tar.gz: 2b6c39ddf3d80cd0628d5d072471aa89bb7f8d45a62aaf442ac7ff897b0ffc6a
5
5
  SHA512:
6
- metadata.gz: 66c2eb1f4f7a8b68f9cb2fefa1cac9dba6184ba0eb5150cc626518beff799ab3944064c893c9b9c1cbadfab0bb61a08efb583fe6c2a1cf2503d29393cd17c9ef
7
- data.tar.gz: 587889acfff2acabfb2013593a5c6bfaa1b15aed223ebc5be3a025e9c00cbc40417ef6795fca3d8a85a75984a89bb76fc65ffbbf99a5bd3c4aae8e891ffefdc2
6
+ metadata.gz: ebcc4f00ba63f750a2a35fe4c698df7890264c436787e454e1496408e0ee4d79400d90cad9f90d41d4ade4ab5aa8e5e2e1dbee058816d429be3ba48b83440512
7
+ data.tar.gz: 5f9da08eb4f8a0d403ef50ab7ff22e96445e3a32dd91d3325039a5983c1da40239172677323d27e7c6bbef3e1e23b1e241f4729a13299a44d6e87b74ff8a8be4
@@ -26,6 +26,7 @@ jobs:
26
26
  uses: ruby/setup-ruby@v1
27
27
  with:
28
28
  ruby-version: ${{ matrix.ruby-version }}
29
+ bundler-cache: true
29
30
  - name: Install dependencies
30
31
  run: bundle install
31
32
  - name: Run RSpec
data/CHANGELOG.md CHANGED
@@ -1,9 +1,14 @@
1
- # 2.4.4 [#73](https://github.com/patterninc/muffin_man/pull/73)
1
+ # 2.4.6 [#79](https://github.com/patterninc/muffin_man/pull/79)
2
+
3
+ - Support for FulfillmentInbound delivery window options and listInboundPlanBoxes [#79](https://github.com/patterninc/muffin_man/pull/79)
4
+ # 2.4.5 [#74](https://github.com/patterninc/muffin_man/pull/74)
5
+
6
+ - Support for FulfillmentInbound listShipmentItems [#74](https://github.com/patterninc/muffin_man/pull/74)
7
+ # 2.4.4 [#78](https://github.com/patterninc/muffin_man/pull/78)
2
8
 
3
9
  - Support for more Fulfillment Inbound API v2024-03-30 endpoints
4
10
  # 2.4.1 [#73](https://github.com/patterninc/muffin_man/pull/73)
5
11
 
6
- - Support for Listings Restrictions API v2021-08-01
7
12
  # 2.4.0 [#72](https://github.com/patterninc/muffin_man/pull/72)
8
13
 
9
14
  - 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 = {}
@@ -256,6 +265,36 @@ module MuffinMan
256
265
  @request_type = "GET"
257
266
  call_api
258
267
  end
268
+
269
+ def generate_delivery_window_options(inbound_plan_id, shipment_id)
270
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/deliveryWindowOptions" # rubocop:disable Layout/LineLength
271
+ @request_type = "POST"
272
+ call_api
273
+ end
274
+
275
+ def list_delivery_window_options(inbound_plan_id, shipment_id, page_size: nil, pagination_token: nil)
276
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/deliveryWindowOptions" # rubocop:disable Layout/LineLength
277
+ @query_params = {}
278
+ @query_params["pageSize"] = page_size if page_size
279
+ @query_params["paginationToken"] = pagination_token if pagination_token
280
+ @request_type = "GET"
281
+ call_api
282
+ end
283
+
284
+ def confirm_delivery_window_options(inbound_plan_id, shipment_id, delivery_window_option_id)
285
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/deliveryWindowOptions/#{delivery_window_option_id}/confirmation" # rubocop:disable Layout/LineLength
286
+ @request_type = "POST"
287
+ call_api
288
+ end
289
+
290
+ def list_inbound_plan_boxes(inbound_plan_id, page_size: nil, pagination_token: nil)
291
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/boxes"
292
+ @query_params = {}
293
+ @query_params["pageSize"] = page_size if page_size
294
+ @query_params["paginationToken"] = pagination_token if pagination_token
295
+ @request_type = "GET"
296
+ call_api
297
+ end
259
298
  end
260
299
  end
261
300
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuffinMan
4
- VERSION = "2.4.4"
4
+ VERSION = "2.4.6"
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: 2.4.4
4
+ version: 2.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin