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 +4 -4
- data/.github/workflows/ci.yml +1 -0
- data/CHANGELOG.md +7 -2
- data/lib/muffin_man/fulfillment_inbound/v20240320.rb +39 -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/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,14 @@
|
|
1
|
-
# 2.4.
|
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
|
data/lib/muffin_man/version.rb
CHANGED