erp_integration 0.43.0 → 0.44.0

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: 03c877636aaa2a654dbf7f748a0a411d97f2d6e961c08da57f1893efa7db643d
4
- data.tar.gz: c32f7e20a1e36b4b9588ccab455c235cf21f08080d94351929a628ef878a90e2
3
+ metadata.gz: 3cdd4ce00f835ca16fc82dc61b1f39ea0d41ad70739d867fe512c3bb10cd2f28
4
+ data.tar.gz: 262bbf4aa723cba1050d5f5ba6caf41889027ca06fb76a3b8a2d9169d910c48e
5
5
  SHA512:
6
- metadata.gz: 41b171b6dbd5fbd0bb2f1cd009f4fa5deb8e0efeb7e13c9f83441c36c188cd686acb5e24fd4d3b5839d725eba989480548c7b97cce3835406ddb3e0f1ea03875
7
- data.tar.gz: ec7f08c47be10585f7f7cc9d96f28bf6b3f2caa240278f8f33cbef2a5c2d9961e710fe26f1e0eaba09fffd203b7c7797c88e6701f83a5455565559287518ce8f
6
+ metadata.gz: fe3b583efdc0992247a5918a746be2f3bb02a324c3b1914b5547dde742838168cd4b9cf6f9a1f7ad1d4bde2ef39f26c40413bb2eb1b9f080ea8e5fea9a58ca9b
7
+ data.tar.gz: 926ff526f0a60f52ec52dda46a08b3aa45d954d10911411c3d602d6448ba56e5d9ee012201919b2888057d5cd04f14574653101848a92e83b4e55c77c9c974ba
@@ -28,5 +28,9 @@ module ErpIntegration
28
28
  :tpl_status, :tracking_export_status, :tracking_number, :tracking_number_blurb, :tsv,
29
29
  :ups_saturday_delivery, :warehouse, :warehouse_output, :warehouse_storage, :weight, :weight_digits,
30
30
  :weight_uom, :weight_uom_symbol, :write_date, :write_uid
31
+
32
+ def split(options)
33
+ self.class.adapter.split(id, options)
34
+ end
31
35
  end
32
36
  end
@@ -7,6 +7,14 @@ module ErpIntegration
7
7
  module Resources
8
8
  class CustomerShipment < ApiResource
9
9
  self.model_name = 'stock.shipment.out'
10
+
11
+ # Split a CustomerShipment in Fulfil
12
+ #
13
+ # @param id [Integer, String] The ID of the Customer Shipment
14
+ # @param options [Hash] The attributes needed for the split.
15
+ def split(id, options)
16
+ client.put("model/stock.shipment.out/#{id}/split", options)
17
+ end
10
18
  end
11
19
  end
12
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ErpIntegration
4
- VERSION = '0.43.0'
4
+ VERSION = '0.44.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_integration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Vermaas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -359,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
359
359
  - !ruby/object:Gem::Version
360
360
  version: '0'
361
361
  requirements: []
362
- rubygems_version: 3.2.22
362
+ rubygems_version: 3.4.10
363
363
  signing_key:
364
364
  specification_version: 4
365
365
  summary: Connects Mejuri with third-party ERP vendors