zaikio-mission_control 0.2.11 → 0.3.0

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: d37ae214eea010c6f67d7caeb2965a628e269aa9705fab4738ce7667e9a6dd2c
4
- data.tar.gz: ca133ae1af0f3c2bda1e923b88035c20d85273367cf1cff95c576566ff178657
3
+ metadata.gz: 270f5c69fda2e4596a2a41074385f786d4b510c7e103706dd85d64b4c2207fc1
4
+ data.tar.gz: 6e5823aa68f3275a253a4abee3e66e674df88bbd8f127090d3e8fb43c5f638c5
5
5
  SHA512:
6
- metadata.gz: f8b023396ee883f6f42e0e0a26fcdc3ce037cf9896a73139123833b0012e0207e2c964f5a61650a5626379501b19ca1df4430d0aa85485c3a154a4fbedbcbea7
7
- data.tar.gz: 7fd45fdefd87c6da86ba361b6d1890d1b0aa93c2aa594ffb80964fb1d92c28b3c6b8888b4fdf208fbe24ca44d6c2bdea2829abf1d7d73f31741f02720c4faf01
6
+ metadata.gz: 2b79af184c9c0ebb10d03c6e88ead260f411e592583220df92575988ddbec8395aa7d122e3ccc25109a17058856ea9288d9b7693714cdc2646755abfb337cdb3
7
+ data.tar.gz: e74b8f280659e421ad702858fb79973bb1e6423cc8bdce0438bd606cbb2d44482d04d4af2612b08a484c24d869802652cc41f340b00434071ed38cb94b9636a0
@@ -5,11 +5,11 @@ module Zaikio
5
5
  class Configuration < Zaikio::Client::Helpers::Configuration
6
6
  def self.hosts
7
7
  {
8
- development: "https://mc.zaikio.test/api/v1/",
9
- test: "https://mc.zaikio.test/api/v1/",
10
- staging: "https://mc.staging.zaikio.com/api/v1/",
11
- sandbox: "https://mc.sandbox.zaikio.com/api/v1/",
12
- production: "https://mc.zaikio.com/api/v1/"
8
+ development: "https://data.zaikio.test/api/v1/",
9
+ test: "https://data.zaikio.test/api/v1/",
10
+ staging: "https://data.staging.zaikio.com/api/v1/",
11
+ sandbox: "https://data.sandbox.zaikio.com/api/v1/",
12
+ production: "https://data.zaikio.com/api/v1/"
13
13
  }.freeze
14
14
  end
15
15
  end
@@ -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,5 +1,5 @@
1
1
  module Zaikio
2
2
  module MissionControl
3
- VERSION = "0.2.11".freeze
3
+ VERSION = "0.3.0".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.11
4
+ version: 0.3.0
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-13 00:00:00.000000000 Z
11
+ date: 2023-09-28 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