workstream_protocol 0.2.2 → 0.3.6

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: c1de469c41d073757727b09e786bd6d6f93678d8c448bd45caf14ad549c6621f
4
- data.tar.gz: 06d1f68821b58e160832555b645e52459fb3a0c486820a4246ef5545f7e6a72d
3
+ metadata.gz: 77bce4e61c5440800b01cc6281bc38a22b2cfc7c9992a525c30daf1e0240a8eb
4
+ data.tar.gz: 7ac8853ec5c3044572747fc8bf808824b4b20f45fde507fd72493f338af5e63f
5
5
  SHA512:
6
- metadata.gz: f3524b96e1267f0dd6a66b5f71f69e05efef269bcc9e3d50bf5bf61cbe38aa02b4f1107e8eed1abc1eb4e12b51774a071597dbbb509f77ea1cf3bd2448684832
7
- data.tar.gz: c7556003a50d391bf05c7da64098d64d2a46fdce61d3bbb84e5688a368a157a78d2ed836c6910de43458666131930f6c9c265fbdbfde92d7999cd0cd094f4791
6
+ metadata.gz: 0d65ff0287854a4a8e73ef11d3434257cc15bf74eba2a9cf95a2b2c678904fd501f23264ee7e64bc2bf52ede77b1c8553c807706e372742f3166ed92e0a50fe2
7
+ data.tar.gz: 80eeb74d2eaf927f7e1ea3931587b51303fb70a467d5e0c033ff26d2afc7d1e87450bcfec2ebe5b1311d3e5312dcb534a2fca28283e8621a66179222e85f344e
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__)
@@ -9,31 +9,52 @@ 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.EmployeeOnboardingEvent" do
13
+ optional :id, :string, 1
14
+ optional :created_at, :message, 3, "google.protobuf.Timestamp"
15
+ optional :updated_at, :message, 4, "google.protobuf.Timestamp"
16
+ optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
17
+ optional :company_id, :string, 6
18
+ optional :employee_id, :string, 7
19
+ optional :app_name, :string, 8
20
+ optional :app_version, :string, 9
21
+ optional :configuration_id, :string, 10
22
+ optional :configuration_snapshot, :string, 11
23
+ end
12
24
  add_message "Workstream.Protocol.Onboarding.CompanyEvent" do
13
- optional :uuid, :string, 1
14
- optional :created_at, :message, 2, "google.protobuf.Timestamp"
15
- optional :updated_at, :message, 3, "google.protobuf.Timestamp"
16
- optional :deleted_at, :message, 4, "google.protobuf.Timestamp"
17
- optional :name, :string, 5
18
- optional :status, :string, 6
25
+ optional :id, :string, 1
26
+ optional :created_at, :message, 3, "google.protobuf.Timestamp"
27
+ optional :updated_at, :message, 4, "google.protobuf.Timestamp"
28
+ optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
29
+ optional :name, :string, 6
30
+ optional :status, :string, 7
19
31
  end
20
32
  add_message "Workstream.Protocol.Onboarding.EmployeeEvent" do
21
- optional :uuid, :string, 1
22
- optional :company_uuid, :string, 2
33
+ optional :id, :string, 1
23
34
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
24
35
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
25
36
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
37
+ optional :company_id, :string, 6
26
38
  end
27
39
  add_message "Workstream.Protocol.Onboarding.CompanyStaffEvent" do
28
- optional :uuid, :string, 1
29
- optional :company_uuid, :string, 2
40
+ optional :id, :string, 1
30
41
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
31
42
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
32
43
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
33
- optional :status, :string, 6
34
- optional :name, :string, 7
35
- optional :email, :string, 8
36
- optional :phone, :message, 9, "Workstream.Protocol.Common.Phone"
44
+ optional :company_id, :string, 6
45
+ optional :status, :string, 7
46
+ optional :name, :string, 8
47
+ optional :email, :string, 9
48
+ optional :phone, :message, 10, "Workstream.Protocol.Common.Phone"
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"
37
58
  end
38
59
  add_message "Workstream.Protocol.Onboarding.EmergencyContact" do
39
60
  optional :relationship, :string, 1
@@ -45,26 +66,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
45
66
  optional :address, :message, 7, "Workstream.Protocol.Common.Address"
46
67
  end
47
68
  add_message "Workstream.Protocol.Onboarding.EmployeeInformationEvent" do
48
- optional :uuid, :string, 1
49
- optional :employee_uuid, :string, 2
50
- optional :company_uuid, :string, 3
51
- optional :created_at, :message, 4, "google.protobuf.Timestamp"
52
- optional :updated_at, :message, 5, "google.protobuf.Timestamp"
53
- optional :deleted_at, :message, 6, "google.protobuf.Timestamp"
54
- optional :first_name, :string, 7
55
- optional :middle_name, :string, 8
56
- optional :last_name, :string, 9
57
- optional :prior_last_name, :string, 10
58
- optional :preferred_name, :string, 11
59
- optional :salutation, :string, 12
60
- optional :ethnicity, :string, 13
61
- optional :gender, :string, 14
62
- optional :marital_status, :string, 15
63
- optional :ssn, :string, 16
64
- optional :smoker, :bool, 17
65
- optional :nationality, :string, 18
66
- optional :date_of_birth, :message, 19, "Workstream.Protocol.Common.Date"
67
- optional :middle_initial, :string, 20
69
+ optional :id, :string, 1
70
+ optional :created_at, :message, 3, "google.protobuf.Timestamp"
71
+ optional :updated_at, :message, 4, "google.protobuf.Timestamp"
72
+ optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
73
+ optional :employee_id, :string, 8
74
+ optional :first_name, :string, 11
75
+ optional :middle_name, :string, 12
76
+ optional :last_name, :string, 13
77
+ optional :prior_last_name, :string, 14
78
+ optional :preferred_name, :string, 15
79
+ optional :salutation, :string, 16
80
+ optional :ethnicity, :string, 17
81
+ optional :gender, :string, 18
82
+ optional :marital_status, :string, 19
83
+ optional :ssn, :string, 20
84
+ optional :smoker, :bool, 21
85
+ optional :nationality, :string, 22
86
+ optional :date_of_birth, :message, 23, "Workstream.Protocol.Common.Date"
87
+ optional :middle_initial, :string, 24
68
88
  optional :home_email, :string, 31
69
89
  optional :home_phone, :message, 32, "Workstream.Protocol.Common.Phone"
70
90
  optional :home_address, :message, 33, "Workstream.Protocol.Common.Address"
@@ -81,12 +101,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
81
101
  optional :department_name, :string, 57
82
102
  end
83
103
  add_message "Workstream.Protocol.Onboarding.EmployeeInitialStateEvent" do
84
- optional :uuid, :string, 1
85
- optional :id, :int64, 2
104
+ optional :id, :string, 1
86
105
  optional :created_at, :message, 3, "google.protobuf.Timestamp"
87
106
  optional :updated_at, :message, 4, "google.protobuf.Timestamp"
88
107
  optional :deleted_at, :message, 5, "google.protobuf.Timestamp"
89
- optional :employee_uuid, :string, 6
108
+ optional :employee_id, :string, 6
90
109
  optional :first_name, :string, 7
91
110
  optional :last_name, :string, 8
92
111
  end
@@ -96,9 +115,11 @@ end
96
115
  module Workstream
97
116
  module Protocol
98
117
  module Onboarding
118
+ EmployeeOnboardingEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeOnboardingEvent").msgclass
99
119
  CompanyEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.CompanyEvent").msgclass
100
120
  EmployeeEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeEvent").msgclass
101
121
  CompanyStaffEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.CompanyStaffEvent").msgclass
122
+ CompanyRoleEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.CompanyRoleEvent").msgclass
102
123
  EmergencyContact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmergencyContact").msgclass
103
124
  EmployeeInformationEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeInformationEvent").msgclass
104
125
  EmployeeInitialStateEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Workstream.Protocol.Onboarding.EmployeeInitialStateEvent").msgclass
@@ -1,3 +1,3 @@
1
1
  module WorkstreamProtocol
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.6"
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.2.2
4
+ version: 0.3.6
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-03-29 00:00:00.000000000 Z
11
+ date: 2021-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf