workstream_protocol 0.3.0 → 0.4.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: ec136152f94ece0ead5a018fd2168ced593a32e4fa98322bca3d91b084716fe4
4
- data.tar.gz: 149ceda9fb8613de44fff28388a56f192c4752c24ac05e3711c29cbff5ce79f1
3
+ metadata.gz: 83c207e8c3213fcab7301122c7c1686c6fe52b36c2572e93f2b4459b80cdc91b
4
+ data.tar.gz: 282672056df05bbdc540266fe5c9b835ff6ea8053e478adc5a9153d91f9de8de
5
5
  SHA512:
6
- metadata.gz: 22d94fb6a89576c5ea0d32a195bec764958337c470a2a28e48a975a71197e443e36f2cd3bc924891fbed61795d107fb41e4259a213b54945c23046928aeec675
7
- data.tar.gz: c8d4690f136efda38e1c389bd898f4f96001a9e446fe397fbfc8b464925dd360b4af19c500932c4c0553d2ae89af99c5ad48444edea99e31bf9532dbe09088bb
6
+ metadata.gz: a7f630e3e063062d3c61f300bb7e396dd23332a569afbf34655fb224a9d8d0593c66d11d09b0cdb938a2b91cea7ec1e1342d725c3c3afe0e68423b400d88fff6
7
+ data.tar.gz: ab35329fa0b0528bca4d802922b2a4a708d94e40a1ecc990f2cd298cb9a15feae5899f390866ceb7ad5e6d0b1968b4423e0e02a90060d6aa3971557c1971204b
data/bin/console CHANGED
@@ -11,8 +11,8 @@ require "pry"
11
11
  # Pry.start
12
12
 
13
13
  # AWS stuffs
14
- require 'aws'
15
- require 'aws-sdk-sns'
14
+ # require 'aws'
15
+ # require 'aws-sdk-sns'
16
16
 
17
17
  require "irb"
18
18
  IRB.start(__FILE__)
@@ -3,17 +3,16 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'Common/CountryCode_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
7
  add_file("Common/Address.proto", :syntax => :proto3) do
9
8
  add_message "Workstream.Protocol.Common.Address" do
10
- optional :address1, :string, 1
11
- optional :address2, :string, 2
9
+ optional :line_one, :string, 1
10
+ optional :line_two, :string, 2
12
11
  optional :city, :string, 3
13
12
  optional :county, :string, 4
14
- optional :zip, :string, 20
15
- optional :country_sub_division_code, :string, 19
16
- optional :country_code, :enum, 21, "Workstream.Protocol.Common.CountryCode"
13
+ optional :postal_code, :string, 5
14
+ optional :country_subdivision, :string, 6
15
+ optional :country, :string, 7
17
16
  end
18
17
  end
19
18
  end
@@ -9,20 +9,20 @@ require 'google/protobuf/timestamp_pb'
9
9
  require 'Common/Date_pb'
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("Onboarding.proto", :syntax => :proto3) do
12
- add_message "Workstream.Protocol.Onboarding.OnboardingEvent" do
13
- optional :id, :int64, 1
14
- optional :uuid, :string, 2
12
+ add_message "Workstream.Protocol.Onboarding.EmployeeOnboardingEvent" do
13
+ optional :id, :string, 1
15
14
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
16
15
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
17
16
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
18
- optional :company_uuid, :string, 6
19
- optional :employee_uuid, :string, 7
17
+ optional :company_id, :string, 6
18
+ optional :employee_id, :string, 7
20
19
  optional :app_name, :string, 8
21
- optional :configuration_uuid, :string, 9
20
+ optional :app_version, :string, 9
21
+ optional :configuration_id, :string, 10
22
+ optional :configuration_snapshot, :string, 11
22
23
  end
23
24
  add_message "Workstream.Protocol.Onboarding.CompanyEvent" do
24
- optional :id, :int64, 1
25
- optional :uuid, :string, 2
25
+ optional :id, :string, 1
26
26
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
27
27
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
28
28
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
@@ -30,25 +30,32 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
30
  optional :status, :string, 7
31
31
  end
32
32
  add_message "Workstream.Protocol.Onboarding.EmployeeEvent" do
33
- optional :id, :int64, 1
34
- optional :uuid, :string, 2
33
+ optional :id, :string, 1
35
34
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
36
35
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
37
36
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
38
- optional :company_uuid, :string, 6
37
+ optional :company_id, :string, 6
39
38
  end
40
39
  add_message "Workstream.Protocol.Onboarding.CompanyStaffEvent" do
41
- optional :id, :int64, 1
42
- optional :uuid, :string, 2
40
+ optional :id, :string, 1
43
41
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
44
42
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
45
43
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
46
- optional :company_uuid, :string, 6
44
+ optional :company_id, :string, 6
47
45
  optional :status, :string, 7
48
46
  optional :name, :string, 8
49
47
  optional :email, :string, 9
50
48
  optional :phone, :message, 10, "Workstream.Protocol.Common.Phone"
51
49
  end
50
+ add_message "Workstream.Protocol.Onboarding.CompanyRoleEvent" do
51
+ optional :id, :string, 1
52
+ optional :name, :string, 2
53
+ optional :status, :string, 3
54
+ optional :company_id, :string, 4
55
+ optional :created_at, :message, 5, "google.protobuf.Timestamp"
56
+ optional :updated_at, :message, 6, "google.protobuf.Timestamp"
57
+ optional :deleted_at, :message, 7, "google.protobuf.Timestamp"
58
+ end
52
59
  add_message "Workstream.Protocol.Onboarding.EmergencyContact" do
53
60
  optional :relationship, :string, 1
54
61
  optional :first_name, :string, 2
@@ -59,25 +66,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
66
  optional :address, :message, 7, "Workstream.Protocol.Common.Address"
60
67
  end
61
68
  add_message "Workstream.Protocol.Onboarding.EmployeeInformationEvent" do
62
- optional :id, :int64, 1
63
- optional :uuid, :string, 2
69
+ optional :id, :string, 1
64
70
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
65
71
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
66
72
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
67
- optional :first_name, :string, 8
68
- optional :middle_name, :string, 9
69
- optional :last_name, :string, 10
70
- optional :prior_last_name, :string, 11
71
- optional :preferred_name, :string, 12
72
- optional :salutation, :string, 13
73
- optional :ethnicity, :string, 14
74
- optional :gender, :string, 15
75
- optional :marital_status, :string, 16
76
- optional :ssn, :string, 17
77
- optional :smoker, :bool, 18
78
- optional :nationality, :string, 19
79
- optional :date_of_birth, :message, 20, "Workstream.Protocol.Common.Date"
80
- optional :middle_initial, :string, 21
73
+ optional :company_id, :string, 6
74
+ optional :employee_id, :string, 8
75
+ optional :first_name, :string, 11
76
+ optional :middle_name, :string, 12
77
+ optional :last_name, :string, 13
78
+ optional :prior_last_name, :string, 14
79
+ optional :preferred_name, :string, 15
80
+ optional :salutation, :string, 16
81
+ optional :ethnicity, :string, 17
82
+ optional :gender, :string, 18
83
+ optional :marital_status, :string, 19
84
+ optional :ssn, :string, 20
85
+ optional :smoker, :bool, 21
86
+ optional :nationality, :string, 22
87
+ optional :date_of_birth, :message, 23, "Workstream.Protocol.Common.Date"
88
+ optional :middle_initial, :string, 24
81
89
  optional :home_email, :string, 31
82
90
  optional :home_phone, :message, 32, "Workstream.Protocol.Common.Phone"
83
91
  optional :home_address, :message, 33, "Workstream.Protocol.Common.Address"
@@ -94,12 +102,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
94
102
  optional :department_name, :string, 57
95
103
  end
96
104
  add_message "Workstream.Protocol.Onboarding.EmployeeInitialStateEvent" do
97
- optional :id, :int64, 1
98
- optional :uuid, :string, 2
105
+ optional :id, :string, 1
99
106
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
100
107
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
101
108
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
102
- optional :employee_uuid, :string, 6
109
+ optional :employee_id, :string, 6
103
110
  optional :first_name, :string, 7
104
111
  optional :last_name, :string, 8
105
112
  end
@@ -109,10 +116,11 @@ end
109
116
  module Workstream
110
117
  module Protocol
111
118
  module Onboarding
112
- OnboardingEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.OnboardingEvent").msgclass
119
+ EmployeeOnboardingEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeOnboardingEvent").msgclass
113
120
  CompanyEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.CompanyEvent").msgclass
114
121
  EmployeeEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeEvent").msgclass
115
122
  CompanyStaffEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.CompanyStaffEvent").msgclass
123
+ CompanyRoleEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.CompanyRoleEvent").msgclass
116
124
  EmergencyContact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmergencyContact").msgclass
117
125
  EmployeeInformationEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeInformationEvent").msgclass
118
126
  EmployeeInitialStateEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeInitialStateEvent").msgclass
@@ -1,3 +1,3 @@
1
1
  module WorkstreamProtocol
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workstream_protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Lv
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-06 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubygems_version: 3.0.8
105
+ rubygems_version: 3.1.6
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Ruby SDK of Workstream message Specification