muffin_man 2.4.2 → 2.4.3

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: d6ce4c06aa97acdef0dd6d1a1959a89b038fd99dfbdc718e07cd119338137db7
4
- data.tar.gz: 0bac02da9b9af7875324101073e30e0012215fe8f02bd17c0d53a645528924d6
3
+ metadata.gz: 21a20dfe78a4888f4520142fb9244b320a33e9bc6a14d7a7370b844f21b93f06
4
+ data.tar.gz: b11f73554d50353fb1d4f6e3f6381331dc4b6071e720761760f205cff46b6fa9
5
5
  SHA512:
6
- metadata.gz: d7e3add57e41ca34546a36d24a9006a08d059482dc6d9b25b7a9b91d8d4095a89cb19a35a5c3f4b0ea4d6d4d7a30c2c26f4ef32461654598ddf9dbd183c51fdf
7
- data.tar.gz: 3862fc6c73824469f13ce291e5eb50ddd58d9f07cdc6f6ad9490977e527642a54889003863a84b5d39b15d3aa19bdd9af05ad6c150f846335a8212e04da4e358
6
+ metadata.gz: afe3648eec9e7ea3806e5bbc4aa048d922a9f108d42c99a91182a0a518a9037df6edb12eed37c71c5c29734c4da20c8939e5e22a67f087dc2ea6536911eafe0e
7
+ data.tar.gz: ecc2b68344f43b7587d68bd1f020234159a3af50672ea9d66bf09b60d3660f6bc20b6ac6d2269d13321eba2aa69ccda3dcf677986fc614e09bf75aaf0c51c42e
@@ -216,6 +216,34 @@ module MuffinMan
216
216
  @request_type = "POST"
217
217
  call_api
218
218
  end
219
+
220
+ def generate_shipment_content_update_previews(inbound_plan_id, shipment_id, body)
221
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews" # rubocop:disable Layout/LineLength
222
+ @request_body = body
223
+ @request_type = "POST"
224
+ call_api
225
+ end
226
+
227
+ def get_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id)
228
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews/#{content_update_preview_id}" # rubocop:disable Layout/LineLength
229
+ @request_type = "GET"
230
+ call_api
231
+ end
232
+
233
+ def confirm_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id)
234
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews/#{content_update_preview_id}/confirmation" # rubocop:disable Layout/LineLength
235
+ @request_type = "POST"
236
+ call_api
237
+ end
238
+
239
+ def list_shipment_content_update_previews(inbound_plan_id, shipment_id, page_size: nil, pagination_token: nil)
240
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews" # rubocop:disable Layout/LineLength
241
+ @query_params = {}
242
+ @query_params["pageSize"] = page_size if page_size
243
+ @query_params["paginationToken"] = pagination_token if pagination_token
244
+ @request_type = "GET"
245
+ call_api
246
+ end
219
247
  end
220
248
  end
221
249
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuffinMan
4
- VERSION = "2.4.2"
4
+ VERSION = "2.4.3"
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.2
4
+ version: 2.4.3
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-23 00:00:00.000000000 Z
13
+ date: 2024-10-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec