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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/muffin_man/fulfillment_inbound/v20240320.rb +30 -0
- data/lib/muffin_man/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 819132411595a13de678f8dbbea39e22f4b6cfcf33416d33a8344361e5d3ae2c
|
4
|
+
data.tar.gz: 2b6c39ddf3d80cd0628d5d072471aa89bb7f8d45a62aaf442ac7ff897b0ffc6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/muffin_man/version.rb
CHANGED