stackone_client 0.2.6 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +5 -2
- data/lib/stack_one/ats.rb +1 -1
- data/lib/stack_one/hris.rb +50 -0
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_application_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_department_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_job_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_location_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_user_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_request.rb +3 -17
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +3 -17
- data/lib/stack_one/models/operations/crm_get_list_request.rb +3 -17
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_company_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_location_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_get_account_request.rb +5 -2
- data/lib/stack_one/models/operations.rb +2 -0
- data/lib/stack_one/models/shared/account.rb +8 -5
- data/lib/stack_one/models/shared/answer.rb +6 -3
- data/lib/stack_one/models/shared/application.rb +6 -3
- data/lib/stack_one/models/shared/application_interview_stage.rb +6 -3
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
- data/lib/stack_one/models/shared/atslocation.rb +6 -3
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +8 -28
- data/lib/stack_one/models/shared/campaign.rb +6 -3
- data/lib/stack_one/models/shared/candidate.rb +8 -5
- data/lib/stack_one/models/shared/company.rb +6 -3
- data/lib/stack_one/models/shared/contact.rb +6 -3
- data/lib/stack_one/models/shared/content.rb +5 -2
- data/lib/stack_one/models/shared/department.rb +6 -3
- data/lib/stack_one/models/shared/document.rb +6 -3
- data/lib/stack_one/models/shared/documentapimodel.rb +6 -3
- data/lib/stack_one/models/shared/emailmessages.rb +6 -3
- data/lib/stack_one/models/shared/employee.rb +9 -3
- data/lib/stack_one/models/shared/employee_company.rb +6 -3
- data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
- data/lib/stack_one/models/shared/employeecustomfields.rb +6 -3
- data/lib/stack_one/models/shared/employment.rb +6 -3
- data/lib/stack_one/models/shared/field.rb +6 -3
- data/lib/stack_one/models/shared/home_location.rb +6 -3
- data/lib/stack_one/models/shared/hrisbenefit.rb +6 -3
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +115 -0
- data/lib/stack_one/models/shared/hrislocation.rb +6 -3
- data/lib/stack_one/models/shared/interview.rb +8 -5
- data/lib/stack_one/models/shared/interview_interview_stage.rb +6 -3
- data/lib/stack_one/models/shared/interviewer.rb +6 -3
- data/lib/stack_one/models/shared/interviewpart.rb +12 -3
- data/lib/stack_one/models/shared/interviewstage.rb +6 -3
- data/lib/stack_one/models/shared/job.rb +6 -3
- data/lib/stack_one/models/shared/jobposting.rb +8 -5
- data/lib/stack_one/models/shared/jobpostinglocation.rb +6 -3
- data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +6 -3
- data/lib/stack_one/models/shared/list.rb +6 -3
- data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/message.rb +6 -3
- data/lib/stack_one/models/shared/note.rb +6 -3
- data/lib/stack_one/models/shared/offer.rb +6 -3
- data/lib/stack_one/models/shared/preferred_language.rb +27 -0
- data/lib/stack_one/models/shared/pushmessages.rb +6 -3
- data/lib/stack_one/models/shared/question.rb +6 -3
- data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +6 -3
- data/lib/stack_one/models/shared/questionnaire.rb +6 -3
- data/lib/stack_one/models/shared/rejectedreason.rb +6 -3
- data/lib/stack_one/models/shared/scorecard.rb +6 -3
- data/lib/stack_one/models/shared/scorecardsection.rb +6 -3
- data/lib/stack_one/models/shared/template.rb +6 -3
- data/lib/stack_one/models/shared/timeoff.rb +6 -3
- data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +59 -0
- data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +27 -0
- data/lib/stack_one/models/shared/{atsupdateapplicationrequestdto_application_status.rb → unifieduploadrequestdto_file_format.rb} +6 -6
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1226 -0
- data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +19 -0
- data/lib/stack_one/models/shared/user.rb +6 -3
- data/lib/stack_one/models/shared/work_location.rb +6 -3
- data/lib/stack_one/models/shared/workeligibility.rb +6 -3
- data/lib/stack_one/models/shared/workeligibility_document.rb +6 -3
- data/lib/stack_one/models/shared.rb +12 -6
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- data/lib/stack_one/utils/utils.rb +4 -3
- metadata +13 -5
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +0 -30
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -32
@@ -0,0 +1,115 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# EmployeeSchemasPreferredLanguageValue - The ISO639-2 Code of the language
|
11
|
+
class EmployeeSchemasPreferredLanguageValue < T::Enum
|
12
|
+
enums do
|
13
|
+
AAR = new('aar')
|
14
|
+
AFR = new('afr')
|
15
|
+
AMH = new('amh')
|
16
|
+
ARA = new('ara')
|
17
|
+
AYM = new('aym')
|
18
|
+
AZE = new('aze')
|
19
|
+
BEL = new('bel')
|
20
|
+
BUL = new('bul')
|
21
|
+
BIS = new('bis')
|
22
|
+
BEN = new('ben')
|
23
|
+
BOS = new('bos')
|
24
|
+
BYN = new('byn')
|
25
|
+
CAT = new('cat')
|
26
|
+
CHA = new('cha')
|
27
|
+
CES = new('ces')
|
28
|
+
DEU = new('deu')
|
29
|
+
DIV = new('div')
|
30
|
+
DZO = new('dzo')
|
31
|
+
ELL = new('ell')
|
32
|
+
ENG = new('eng')
|
33
|
+
SPA = new('spa')
|
34
|
+
EST = new('est')
|
35
|
+
FAS = new('fas')
|
36
|
+
FAN = new('fan')
|
37
|
+
FUL = new('ful')
|
38
|
+
FIN = new('fin')
|
39
|
+
FIJ = new('fij')
|
40
|
+
FAO = new('fao')
|
41
|
+
FRA = new('fra')
|
42
|
+
GLE = new('gle')
|
43
|
+
GRN = new('grn')
|
44
|
+
GLV = new('glv')
|
45
|
+
HEB = new('heb')
|
46
|
+
HIN = new('hin')
|
47
|
+
HRV = new('hrv')
|
48
|
+
HAT = new('hat')
|
49
|
+
HUN = new('hun')
|
50
|
+
HYE = new('hye')
|
51
|
+
IND = new('ind')
|
52
|
+
ISL = new('isl')
|
53
|
+
ITA = new('ita')
|
54
|
+
JPN = new('jpn')
|
55
|
+
KAT = new('kat')
|
56
|
+
KON = new('kon')
|
57
|
+
KAZ = new('kaz')
|
58
|
+
KAL = new('kal')
|
59
|
+
KHM = new('khm')
|
60
|
+
KOR = new('kor')
|
61
|
+
KUR = new('kur')
|
62
|
+
KIR = new('kir')
|
63
|
+
LAT = new('lat')
|
64
|
+
LTZ = new('ltz')
|
65
|
+
LIN = new('lin')
|
66
|
+
LAO = new('lao')
|
67
|
+
LIT = new('lit')
|
68
|
+
LUB = new('lub')
|
69
|
+
LAV = new('lav')
|
70
|
+
MLG = new('mlg')
|
71
|
+
MAH = new('mah')
|
72
|
+
MRI = new('mri')
|
73
|
+
MKD = new('mkd')
|
74
|
+
MSA = new('msa')
|
75
|
+
MLT = new('mlt')
|
76
|
+
MYA = new('mya')
|
77
|
+
NOB = new('nob')
|
78
|
+
NEP = new('nep')
|
79
|
+
NLD = new('nld')
|
80
|
+
NNO = new('nno')
|
81
|
+
NOR = new('nor')
|
82
|
+
NBL = new('nbl')
|
83
|
+
NYA = new('nya')
|
84
|
+
PAN = new('pan')
|
85
|
+
POL = new('pol')
|
86
|
+
PUS = new('pus')
|
87
|
+
POR = new('por')
|
88
|
+
RAR = new('rar')
|
89
|
+
ROH = new('roh')
|
90
|
+
RUP = new('rup')
|
91
|
+
RON = new('ron')
|
92
|
+
RUS = new('rus')
|
93
|
+
KIN = new('kin')
|
94
|
+
SAG = new('sag')
|
95
|
+
SIN = new('sin')
|
96
|
+
SLK = new('slk')
|
97
|
+
SMO = new('smo')
|
98
|
+
SNA = new('sna')
|
99
|
+
SOM = new('som')
|
100
|
+
SQI = new('sqi')
|
101
|
+
SRP = new('srp')
|
102
|
+
SSW = new('ssw')
|
103
|
+
SWE = new('swe')
|
104
|
+
SWA = new('swa')
|
105
|
+
TAM = new('tam')
|
106
|
+
TGK = new('tgk')
|
107
|
+
THA = new('tha')
|
108
|
+
TIR = new('tir')
|
109
|
+
TIG = new('tig')
|
110
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
115
|
+
end
|
@@ -13,12 +13,14 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The description of the custom field.
|
15
15
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
16
|
-
#
|
16
|
+
# Unique identifier
|
17
17
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
18
|
# The name of the custom field.
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
20
|
# An array of possible options for the custom field.
|
21
21
|
field :options, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
|
22
|
+
# Provider's unique identifier
|
23
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
24
|
# The type of the custom field.
|
23
25
|
field :type, T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
24
26
|
# The value associated with the custom field.
|
@@ -27,12 +29,13 @@ module StackOne
|
|
27
29
|
field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), value_id: T.nilable(::String)).void }
|
31
|
-
def initialize(description: nil, id: nil, name: nil, options: nil, type: nil, value: nil, value_id: nil)
|
32
|
+
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), value_id: T.nilable(::String)).void }
|
33
|
+
def initialize(description: nil, id: nil, name: nil, options: nil, remote_id: nil, type: nil, value: nil, value_id: nil)
|
32
34
|
@description = description
|
33
35
|
@id = id
|
34
36
|
@name = name
|
35
37
|
@options = options
|
38
|
+
@remote_id = remote_id
|
36
39
|
@type = type
|
37
40
|
@value = value
|
38
41
|
@value_id = value_id
|
@@ -21,7 +21,7 @@ module StackOne
|
|
21
21
|
field :employment_contract_type, T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_contract_type') } }
|
22
22
|
# The type of employment (e.g., contractor, permanent)
|
23
23
|
field :employment_type, T.nilable(::StackOne::Shared::EmploymentEmploymentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_type') } }
|
24
|
-
#
|
24
|
+
# Unique identifier
|
25
25
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
26
26
|
# The job title of the employee
|
27
27
|
field :job_title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } }
|
@@ -33,12 +33,14 @@ module StackOne
|
|
33
33
|
field :pay_period, T.nilable(::StackOne::Shared::PayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
|
34
34
|
# The pay rate for the employee
|
35
35
|
field :pay_rate, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
|
36
|
+
# Provider's unique identifier
|
37
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
36
38
|
# The updated_at date
|
37
39
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
40
|
|
39
41
|
|
40
|
-
sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
41
|
-
def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, updated_at: nil)
|
42
|
+
sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
43
|
+
def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, remote_id: nil, updated_at: nil)
|
42
44
|
@created_at = created_at
|
43
45
|
@effective_date = effective_date
|
44
46
|
@employee_id = employee_id
|
@@ -50,6 +52,7 @@ module StackOne
|
|
50
52
|
@pay_frequency = pay_frequency
|
51
53
|
@pay_period = pay_period
|
52
54
|
@pay_rate = pay_rate
|
55
|
+
@remote_id = remote_id
|
53
56
|
@updated_at = updated_at
|
54
57
|
end
|
55
58
|
end
|
@@ -11,10 +11,12 @@ module StackOne
|
|
11
11
|
class Field < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
#
|
14
|
+
# Unique identifier
|
15
15
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
16
|
# The label of the field
|
17
17
|
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
18
20
|
# Indicates if the field is required
|
19
21
|
field :required, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('required') } }
|
20
22
|
# The type of the field
|
@@ -23,10 +25,11 @@ module StackOne
|
|
23
25
|
field :values, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }
|
24
26
|
|
25
27
|
|
26
|
-
sig { params(id: T.nilable(::String), label: T.nilable(::String), required: T.nilable(T::Boolean), type: T.nilable(::StackOne::Shared::FieldType), values: T.nilable(T::Array[::String])).void }
|
27
|
-
def initialize(id: nil, label: nil, required: nil, type: nil, values: nil)
|
28
|
+
sig { params(id: T.nilable(::String), label: T.nilable(::String), remote_id: T.nilable(::String), required: T.nilable(T::Boolean), type: T.nilable(::StackOne::Shared::FieldType), values: T.nilable(T::Array[::String])).void }
|
29
|
+
def initialize(id: nil, label: nil, remote_id: nil, required: nil, type: nil, values: nil)
|
28
30
|
@id = id
|
29
31
|
@label = label
|
32
|
+
@remote_id = remote_id
|
30
33
|
@required = required
|
31
34
|
@type = type
|
32
35
|
@values = values
|
@@ -19,7 +19,7 @@ module StackOne
|
|
19
19
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
20
|
# The employee ID
|
21
21
|
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
22
|
-
#
|
22
|
+
# Unique identifier
|
23
23
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
24
|
# The location type
|
25
25
|
field :location_type, T.nilable(::StackOne::Shared::EmployeeLocationType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_type') } }
|
@@ -27,6 +27,8 @@ module StackOne
|
|
27
27
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
28
|
# The phone number of the location
|
29
29
|
field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
|
30
|
+
# Provider's unique identifier
|
31
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
30
32
|
# The state where the location is situated
|
31
33
|
field :state, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('state') } }
|
32
34
|
# The first line of the address
|
@@ -39,8 +41,8 @@ module StackOne
|
|
39
41
|
field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
40
42
|
|
41
43
|
|
42
|
-
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
|
43
|
-
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
44
|
+
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
|
45
|
+
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
44
46
|
@city = city
|
45
47
|
@country = country
|
46
48
|
@created_at = created_at
|
@@ -49,6 +51,7 @@ module StackOne
|
|
49
51
|
@location_type = location_type
|
50
52
|
@name = name
|
51
53
|
@phone_number = phone_number
|
54
|
+
@remote_id = remote_id
|
52
55
|
@state = state
|
53
56
|
@street_1 = street_1
|
54
57
|
@street_2 = street_2
|
@@ -17,24 +17,27 @@ module StackOne
|
|
17
17
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
18
|
# The description of the benefit
|
19
19
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
20
|
-
#
|
20
|
+
# Unique identifier
|
21
21
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
22
22
|
# The name of the benefit
|
23
23
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
24
24
|
# The provider of the benefit
|
25
25
|
field :provider, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
|
26
|
+
# Provider's unique identifier
|
27
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
26
28
|
# The date and time the benefit was last updated
|
27
29
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(benefit_type: T.nilable(::StackOne::Shared::BenefitType), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), provider: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
31
|
-
def initialize(benefit_type: nil, created_at: nil, description: nil, id: nil, name: nil, provider: nil, updated_at: nil)
|
32
|
+
sig { params(benefit_type: T.nilable(::StackOne::Shared::BenefitType), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), provider: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
33
|
+
def initialize(benefit_type: nil, created_at: nil, description: nil, id: nil, name: nil, provider: nil, remote_id: nil, updated_at: nil)
|
32
34
|
@benefit_type = benefit_type
|
33
35
|
@created_at = created_at
|
34
36
|
@description = description
|
35
37
|
@id = id
|
36
38
|
@name = name
|
37
39
|
@provider = provider
|
40
|
+
@remote_id = remote_id
|
38
41
|
@updated_at = updated_at
|
39
42
|
end
|
40
43
|
end
|
@@ -63,6 +63,8 @@ module StackOne
|
|
63
63
|
field :personal_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } }
|
64
64
|
# The employee personal phone number
|
65
65
|
field :personal_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_phone_number') } }
|
66
|
+
# The employee preferred language
|
67
|
+
field :preferred_language, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('preferred_language') } }
|
66
68
|
# The employee start date
|
67
69
|
field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
68
70
|
# The employee tenure
|
@@ -79,8 +81,8 @@ module StackOne
|
|
79
81
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
80
82
|
|
81
83
|
|
82
|
-
sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
|
83
|
-
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
84
|
+
sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
|
85
|
+
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
84
86
|
@avatar = avatar
|
85
87
|
@avatar_url = avatar_url
|
86
88
|
@benefits = benefits
|
@@ -107,6 +109,7 @@ module StackOne
|
|
107
109
|
@name = name
|
108
110
|
@personal_email = personal_email
|
109
111
|
@personal_phone_number = personal_phone_number
|
112
|
+
@preferred_language = preferred_language
|
110
113
|
@start_date = start_date
|
111
114
|
@tenure = tenure
|
112
115
|
@termination_date = termination_date
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The employee preferred language
|
11
|
+
class HrisCreateEmployeeRequestDtoPreferredLanguage < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The ISO639-2 Code of the language
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue - The ISO639-2 Code of the language
|
11
|
+
class HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue < T::Enum
|
12
|
+
enums do
|
13
|
+
AAR = new('aar')
|
14
|
+
AFR = new('afr')
|
15
|
+
AMH = new('amh')
|
16
|
+
ARA = new('ara')
|
17
|
+
AYM = new('aym')
|
18
|
+
AZE = new('aze')
|
19
|
+
BEL = new('bel')
|
20
|
+
BUL = new('bul')
|
21
|
+
BIS = new('bis')
|
22
|
+
BEN = new('ben')
|
23
|
+
BOS = new('bos')
|
24
|
+
BYN = new('byn')
|
25
|
+
CAT = new('cat')
|
26
|
+
CHA = new('cha')
|
27
|
+
CES = new('ces')
|
28
|
+
DEU = new('deu')
|
29
|
+
DIV = new('div')
|
30
|
+
DZO = new('dzo')
|
31
|
+
ELL = new('ell')
|
32
|
+
ENG = new('eng')
|
33
|
+
SPA = new('spa')
|
34
|
+
EST = new('est')
|
35
|
+
FAS = new('fas')
|
36
|
+
FAN = new('fan')
|
37
|
+
FUL = new('ful')
|
38
|
+
FIN = new('fin')
|
39
|
+
FIJ = new('fij')
|
40
|
+
FAO = new('fao')
|
41
|
+
FRA = new('fra')
|
42
|
+
GLE = new('gle')
|
43
|
+
GRN = new('grn')
|
44
|
+
GLV = new('glv')
|
45
|
+
HEB = new('heb')
|
46
|
+
HIN = new('hin')
|
47
|
+
HRV = new('hrv')
|
48
|
+
HAT = new('hat')
|
49
|
+
HUN = new('hun')
|
50
|
+
HYE = new('hye')
|
51
|
+
IND = new('ind')
|
52
|
+
ISL = new('isl')
|
53
|
+
ITA = new('ita')
|
54
|
+
JPN = new('jpn')
|
55
|
+
KAT = new('kat')
|
56
|
+
KON = new('kon')
|
57
|
+
KAZ = new('kaz')
|
58
|
+
KAL = new('kal')
|
59
|
+
KHM = new('khm')
|
60
|
+
KOR = new('kor')
|
61
|
+
KUR = new('kur')
|
62
|
+
KIR = new('kir')
|
63
|
+
LAT = new('lat')
|
64
|
+
LTZ = new('ltz')
|
65
|
+
LIN = new('lin')
|
66
|
+
LAO = new('lao')
|
67
|
+
LIT = new('lit')
|
68
|
+
LUB = new('lub')
|
69
|
+
LAV = new('lav')
|
70
|
+
MLG = new('mlg')
|
71
|
+
MAH = new('mah')
|
72
|
+
MRI = new('mri')
|
73
|
+
MKD = new('mkd')
|
74
|
+
MSA = new('msa')
|
75
|
+
MLT = new('mlt')
|
76
|
+
MYA = new('mya')
|
77
|
+
NOB = new('nob')
|
78
|
+
NEP = new('nep')
|
79
|
+
NLD = new('nld')
|
80
|
+
NNO = new('nno')
|
81
|
+
NOR = new('nor')
|
82
|
+
NBL = new('nbl')
|
83
|
+
NYA = new('nya')
|
84
|
+
PAN = new('pan')
|
85
|
+
POL = new('pol')
|
86
|
+
PUS = new('pus')
|
87
|
+
POR = new('por')
|
88
|
+
RAR = new('rar')
|
89
|
+
ROH = new('roh')
|
90
|
+
RUP = new('rup')
|
91
|
+
RON = new('ron')
|
92
|
+
RUS = new('rus')
|
93
|
+
KIN = new('kin')
|
94
|
+
SAG = new('sag')
|
95
|
+
SIN = new('sin')
|
96
|
+
SLK = new('slk')
|
97
|
+
SMO = new('smo')
|
98
|
+
SNA = new('sna')
|
99
|
+
SOM = new('som')
|
100
|
+
SQI = new('sqi')
|
101
|
+
SRP = new('srp')
|
102
|
+
SSW = new('ssw')
|
103
|
+
SWE = new('swe')
|
104
|
+
SWA = new('swa')
|
105
|
+
TAM = new('tam')
|
106
|
+
TGK = new('tgk')
|
107
|
+
THA = new('tha')
|
108
|
+
TIR = new('tir')
|
109
|
+
TIG = new('tig')
|
110
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
115
|
+
end
|
@@ -19,7 +19,7 @@ module StackOne
|
|
19
19
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
20
|
# The employee ID
|
21
21
|
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
22
|
-
#
|
22
|
+
# Unique identifier
|
23
23
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
24
|
# The location type
|
25
25
|
field :location_type, T.nilable(::StackOne::Shared::HRISLocationLocationType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_type') } }
|
@@ -27,6 +27,8 @@ module StackOne
|
|
27
27
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
28
|
# The phone number of the location
|
29
29
|
field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
|
30
|
+
# Provider's unique identifier
|
31
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
30
32
|
# The state where the location is situated
|
31
33
|
field :state, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('state') } }
|
32
34
|
# The first line of the address
|
@@ -39,8 +41,8 @@ module StackOne
|
|
39
41
|
field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
40
42
|
|
41
43
|
|
42
|
-
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HRISLocationCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::HRISLocationLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
|
43
|
-
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
44
|
+
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HRISLocationCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::HRISLocationLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
|
45
|
+
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
44
46
|
@city = city
|
45
47
|
@country = country
|
46
48
|
@created_at = created_at
|
@@ -49,6 +51,7 @@ module StackOne
|
|
49
51
|
@location_type = location_type
|
50
52
|
@name = name
|
51
53
|
@phone_number = phone_number
|
54
|
+
@remote_id = remote_id
|
52
55
|
@state = state
|
53
56
|
@street_1 = street_1
|
54
57
|
@street_2 = street_2
|
@@ -12,13 +12,13 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
-
|
17
15
|
field :application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
|
18
16
|
# Interview created date
|
19
17
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
18
|
# Interview end date
|
21
19
|
field :end_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
|
+
# Unique identifier
|
21
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
22
22
|
|
23
23
|
field :interview_parts, T.nilable(T::Array[::StackOne::Shared::InterviewPart]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_parts') } }
|
24
24
|
|
@@ -33,18 +33,20 @@ module StackOne
|
|
33
33
|
field :interviewers, T.nilable(T::Array[::StackOne::Shared::Interviewer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewers') } }
|
34
34
|
|
35
35
|
field :meeting_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
36
|
+
# Provider's unique identifier
|
37
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
36
38
|
# Interview start date
|
37
39
|
field :start_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
40
|
# Interview updated date
|
39
41
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
40
42
|
|
41
43
|
|
42
|
-
sig { params(
|
43
|
-
def initialize(
|
44
|
-
@id = id
|
44
|
+
sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interview_parts: T.nilable(T::Array[::StackOne::Shared::InterviewPart]), interview_stage: T.nilable(::StackOne::Shared::InterviewInterviewStage), interview_stage_id: T.nilable(::String), interview_status: T.nilable(::StackOne::Shared::InterviewStatus), interviewer_ids: T.nilable(T::Array[::String]), interviewers: T.nilable(T::Array[::StackOne::Shared::Interviewer]), meeting_url: T.nilable(::String), remote_id: T.nilable(::String), start_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
45
|
+
def initialize(application_id: nil, created_at: nil, end_at: nil, id: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, remote_id: nil, start_at: nil, updated_at: nil)
|
45
46
|
@application_id = application_id
|
46
47
|
@created_at = created_at
|
47
48
|
@end_at = end_at
|
49
|
+
@id = id
|
48
50
|
@interview_parts = interview_parts
|
49
51
|
@interview_stage = interview_stage
|
50
52
|
@interview_stage_id = interview_stage_id
|
@@ -52,6 +54,7 @@ module StackOne
|
|
52
54
|
@interviewer_ids = interviewer_ids
|
53
55
|
@interviewers = interviewers
|
54
56
|
@meeting_url = meeting_url
|
57
|
+
@remote_id = remote_id
|
55
58
|
@start_at = start_at
|
56
59
|
@updated_at = updated_at
|
57
60
|
end
|
@@ -13,22 +13,25 @@ module StackOne
|
|
13
13
|
|
14
14
|
# Interview Stage created date
|
15
15
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
16
|
-
|
16
|
+
# Unique identifier
|
17
17
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
18
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
20
|
|
21
21
|
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
22
|
+
# Provider's unique identifier
|
23
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
24
|
# Interview Stage updated date
|
23
25
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
26
|
|
25
27
|
|
26
|
-
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), updated_at: T.nilable(::DateTime)).void }
|
27
|
-
def initialize(created_at: nil, id: nil, name: nil, order: nil, updated_at: nil)
|
28
|
+
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
29
|
+
def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil)
|
28
30
|
@created_at = created_at
|
29
31
|
@id = id
|
30
32
|
@name = name
|
31
33
|
@order = order
|
34
|
+
@remote_id = remote_id
|
32
35
|
@updated_at = updated_at
|
33
36
|
end
|
34
37
|
end
|
@@ -15,21 +15,24 @@ module StackOne
|
|
15
15
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
16
16
|
|
17
17
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
18
|
-
|
18
|
+
# Unique identifier
|
19
19
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
20
20
|
|
21
21
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
22
22
|
|
23
23
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
24
|
+
# Provider's unique identifier
|
25
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
24
26
|
|
25
27
|
|
26
|
-
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String)).void }
|
27
|
-
def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil)
|
28
|
+
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
29
|
+
def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil, remote_id: nil)
|
28
30
|
@email = email
|
29
31
|
@first_name = first_name
|
30
32
|
@id = id
|
31
33
|
@last_name = last_name
|
32
34
|
@name = name
|
35
|
+
@remote_id = remote_id
|
33
36
|
end
|
34
37
|
end
|
35
38
|
end
|