muffin_man 2.4.5 → 2.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 746f41e9f47c24e2e8454e6f117b2ca592db016aecfd372991350e5b0ac35d7c
4
- data.tar.gz: 19747d26e92b6704474e03eb5b69ad989e4c4d993a7bcafe19fa02bdabc84c2d
3
+ metadata.gz: 819132411595a13de678f8dbbea39e22f4b6cfcf33416d33a8344361e5d3ae2c
4
+ data.tar.gz: 2b6c39ddf3d80cd0628d5d072471aa89bb7f8d45a62aaf442ac7ff897b0ffc6a
5
5
  SHA512:
6
- metadata.gz: 94b105ea80fd17f88749996e0c0b07337371e7de7b7742894ac83e43afe56e6b076b00f9c3a1331e86288a8af04831525b34f6cc94b07218f16af74d8a0a4069
7
- data.tar.gz: 2ec760d43798dd4e1a7f85c8e2796848af0b269188ed95bc6a95a8bc3da03756f58bc6979e34a07b3bb2c82d3f04e80a2df69e7e0892497b74b5b125dd125b2d
6
+ metadata.gz: ebcc4f00ba63f750a2a35fe4c698df7890264c436787e454e1496408e0ee4d79400d90cad9f90d41d4ade4ab5aa8e5e2e1dbee058816d429be3ba48b83440512
7
+ data.tar.gz: 5f9da08eb4f8a0d403ef50ab7ff22e96445e3a32dd91d3325039a5983c1da40239172677323d27e7c6bbef3e1e23b1e241f4729a13299a44d6e87b74ff8a8be4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
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)
1
4
  # 2.4.5 [#74](https://github.com/patterninc/muffin_man/pull/74)
2
5
 
3
6
  - Support for FulfillmentInbound listShipmentItems [#74](https://github.com/patterninc/muffin_man/pull/74)
@@ -265,6 +265,36 @@ module MuffinMan
265
265
  @request_type = "GET"
266
266
  call_api
267
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
268
298
  end
269
299
  end
270
300
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuffinMan
4
- VERSION = "2.4.5"
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.5
4
+ version: 2.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin