zaikio-mission_control 0.2.10 → 0.2.12

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: 98c904ea815fe62e01daf9c992a6c82f51e34d8667474de89d016d81f882516e
4
- data.tar.gz: 84c10dee50e6ce1f8ab67127903715baa5701de3cfa1ef85149574ab1091861d
3
+ metadata.gz: a7eb4a5c061ff33c7921513054217e3707279080b32e19f1503b0d837b112619
4
+ data.tar.gz: 0ef123da30d916912d018fd682e782c84c950f29f378065adebe4e4e0d206c52
5
5
  SHA512:
6
- metadata.gz: f377f32988710e0d4d2695de781da0a38d19c6dffa00cf01a1e64ae295866150a0979f2c19e1b35516ddbf72d29374c046536e9595a1e6677e0f0cc8859b2b72
7
- data.tar.gz: a6828e227ae884fb892297fb77a0f876d9e8c367b6b413df1562c0ae87d4d7205e844d68653f08efa590a5ad128e79a8cdcd9ad7c2ea608d9a34a6e66ee32deb
6
+ metadata.gz: 87e0bf4d6c933bc7fdc24c40849f41534c707af4dbfa37c9d18becd1bdd5d39a36f53e51e0e125dcddbeb6a0cbe9a277e9349a0ea6539fdb09ee00a381d991eb
7
+ data.tar.gz: 3f850ae85484d91f3741fd9b6ef48e68249633620d3df04b0ee378f3ef278a5c5c721c957f52bbef85a9f06e29567976c6d016d3960824f3e8d3fbdeb1b9b0c4
@@ -0,0 +1,7 @@
1
+ module Zaikio
2
+ module MissionControl
3
+ class Contact < Base
4
+ attributes :id, :display_name, :role, :email, :phone, :created_at, :updated_at
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ module Zaikio
2
+ module MissionControl
3
+ class Customer < Base
4
+ attributes :id, :name, :text_identifier, :references, :created_at, :updated_at
5
+ end
6
+ end
7
+ end
@@ -7,6 +7,8 @@ module Zaikio
7
7
  # Associations
8
8
  has_many :line_items, class_name: "Zaikio::MissionControl::OrderLineItem", uri: nil
9
9
  has_many :shipping_options, class_name: "Zaikio::MissionControl::ShippingOption", uri: nil
10
+ has_many :contacts, class_name: "Zaikio::MissionControl::Contact", uri: nil
11
+ has_one :customer, class_name: "Zaikio::MissionControl::Customer", uri: nil
10
12
  end
11
13
  end
12
14
  end
@@ -1,6 +1,8 @@
1
1
  module Zaikio
2
2
  module MissionControl
3
3
  class OrderLineItem < Base
4
+ include_root_in_json :execution
5
+
4
6
  attributes :id, :references, :kind, :job_id, :quantity, :unit, :description, :net_price, :net_total_price,
5
7
  :gross_price, :gross_total_price, :order_number, :taxes, :tax_rate, :created_at, :updated_at, :shipping_option_id
6
8
  end
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module MissionControl
3
- VERSION = "0.2.10".freeze
3
+ VERSION = "0.2.12".freeze
4
4
  end
5
5
  end
@@ -80,6 +80,8 @@ require "zaikio/mission_control/finishings/thread_sewing"
80
80
  require "zaikio/mission_control/job"
81
81
  require "zaikio/mission_control/part"
82
82
  require "zaikio/mission_control/color"
83
+ require "zaikio/mission_control/contact"
84
+ require "zaikio/mission_control/customer"
83
85
  require "zaikio/mission_control/desired_substrate"
84
86
  require "zaikio/mission_control/execution"
85
87
  require "zaikio/mission_control/finishing_application"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-mission_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zaikio GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-12 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -110,6 +110,8 @@ files:
110
110
  - lib/zaikio/mission_control/base.rb
111
111
  - lib/zaikio/mission_control/color.rb
112
112
  - lib/zaikio/mission_control/configuration.rb
113
+ - lib/zaikio/mission_control/contact.rb
114
+ - lib/zaikio/mission_control/customer.rb
113
115
  - lib/zaikio/mission_control/desired_substrate.rb
114
116
  - lib/zaikio/mission_control/execution.rb
115
117
  - lib/zaikio/mission_control/file_reference.rb