stackone_client 0.2.7 → 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/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/stackone_get_account_request.rb +5 -2
- 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/atslocation.rb +6 -3
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -2
- 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/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 +6 -3
- data/lib/stack_one/models/shared/employee_company.rb +6 -3
- 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/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/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/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/sdkconfiguration.rb +3 -3
- data/lib/stack_one/utils/utils.rb +4 -3
- metadata +2 -2
@@ -15,20 +15,23 @@ module StackOne
|
|
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
|
# The display name of the company
|
17
17
|
field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
|
18
|
-
#
|
18
|
+
# Unique identifier
|
19
19
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
20
20
|
# The name of the company
|
21
21
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
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 updated_at 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), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
27
|
-
def initialize(created_at: nil, display_name: nil, id: nil, name: nil, updated_at: nil)
|
28
|
+
sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
29
|
+
def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, updated_at: nil)
|
28
30
|
@created_at = created_at
|
29
31
|
@display_name = display_name
|
30
32
|
@id = id
|
31
33
|
@name = name
|
34
|
+
@remote_id = remote_id
|
32
35
|
@updated_at = updated_at
|
33
36
|
end
|
34
37
|
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
|
@@ -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
|
@@ -13,7 +13,9 @@ module StackOne
|
|
13
13
|
|
14
14
|
# Interview part 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
|
+
# The specific interview part's end date
|
17
|
+
field :end_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
|
+
# Unique identifier
|
17
19
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
20
|
|
19
21
|
field :interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
|
@@ -21,17 +23,24 @@ module StackOne
|
|
21
23
|
field :meeting_provider, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_provider') } }
|
22
24
|
|
23
25
|
field :meeting_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
26
|
+
# Provider's unique identifier
|
27
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
28
|
+
# The specific interview part's start date
|
29
|
+
field :start_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
30
|
# Interview part updated date
|
25
31
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
32
|
|
27
33
|
|
28
|
-
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), interviewer_ids: T.nilable(T::Array[::String]), meeting_provider: T.nilable(::String), meeting_url: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
29
|
-
def initialize(created_at: nil, id: nil, interviewer_ids: nil, meeting_provider: nil, meeting_url: nil, updated_at: nil)
|
34
|
+
sig { params(created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interviewer_ids: T.nilable(T::Array[::String]), meeting_provider: T.nilable(::String), meeting_url: T.nilable(::String), remote_id: T.nilable(::String), start_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
35
|
+
def initialize(created_at: nil, end_at: nil, id: nil, interviewer_ids: nil, meeting_provider: nil, meeting_url: nil, remote_id: nil, start_at: nil, updated_at: nil)
|
30
36
|
@created_at = created_at
|
37
|
+
@end_at = end_at
|
31
38
|
@id = id
|
32
39
|
@interviewer_ids = interviewer_ids
|
33
40
|
@meeting_provider = meeting_provider
|
34
41
|
@meeting_url = meeting_url
|
42
|
+
@remote_id = remote_id
|
43
|
+
@start_at = start_at
|
35
44
|
@updated_at = updated_at
|
36
45
|
end
|
37
46
|
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
|
@@ -21,7 +21,7 @@ module StackOne
|
|
21
21
|
field :department_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_ids') } }
|
22
22
|
|
23
23
|
field :hiring_team, T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hiring_team') } }
|
24
|
-
|
24
|
+
# Unique identifier
|
25
25
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
26
26
|
# Interview stages for the job.
|
27
27
|
field :interview_stages, T.nilable(T::Array[::StackOne::Shared::InterviewStage]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stages') } }
|
@@ -29,6 +29,8 @@ module StackOne
|
|
29
29
|
field :job_status, T.nilable(::StackOne::Shared::JobStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_status') } }
|
30
30
|
|
31
31
|
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
32
|
+
# Provider's unique identifier
|
33
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
32
34
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
33
35
|
field :status, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
34
36
|
|
@@ -37,8 +39,8 @@ module StackOne
|
|
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(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
41
|
-
def initialize(code: nil, confidential: nil, created_at: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, status: nil, title: nil, updated_at: nil)
|
42
|
+
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
43
|
+
def initialize(code: nil, confidential: nil, created_at: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, remote_id: nil, status: nil, title: nil, updated_at: nil)
|
42
44
|
@code = code
|
43
45
|
@confidential = confidential
|
44
46
|
@created_at = created_at
|
@@ -48,6 +50,7 @@ module StackOne
|
|
48
50
|
@interview_stages = interview_stages
|
49
51
|
@job_status = job_status
|
50
52
|
@location_ids = location_ids
|
53
|
+
@remote_id = remote_id
|
51
54
|
@status = status
|
52
55
|
@title = title
|
53
56
|
@updated_at = updated_at
|
@@ -12,8 +12,6 @@ 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 :compensation, T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('compensation') } }
|
18
16
|
|
19
17
|
field :content, T.nilable(::StackOne::Shared::JobPostingContent), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
@@ -27,6 +25,8 @@ module StackOne
|
|
27
25
|
field :external_apply_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_apply_url') } }
|
28
26
|
|
29
27
|
field :external_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_url') } }
|
28
|
+
# Unique identifier
|
29
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
30
30
|
|
31
31
|
field :internal, T.nilable(::StackOne::Shared::Internal), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('internal'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Internal, true) } }
|
32
32
|
|
@@ -35,6 +35,8 @@ module StackOne
|
|
35
35
|
field :locations, T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('locations') } }
|
36
36
|
|
37
37
|
field :questionnaires, T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
38
|
+
# Provider's unique identifier
|
39
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
38
40
|
|
39
41
|
field :status, T.nilable(::StackOne::Shared::JobPostingStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
40
42
|
|
@@ -43,9 +45,8 @@ module StackOne
|
|
43
45
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
44
46
|
|
45
47
|
|
46
|
-
sig { params(
|
47
|
-
def initialize(
|
48
|
-
@id = id
|
48
|
+
sig { params(compensation: T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), content: T.nilable(::StackOne::Shared::JobPostingContent), created_at: T.nilable(::DateTime), employment_contract_type: T.nilable(::StackOne::Shared::JobPostingEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::JobPostingEmploymentType), external_apply_url: T.nilable(::String), external_url: T.nilable(::String), id: T.nilable(::String), internal: T.nilable(::StackOne::Shared::Internal), job_id: T.nilable(::String), locations: T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), questionnaires: T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), remote_id: T.nilable(::String), status: T.nilable(::StackOne::Shared::JobPostingStatus), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
49
|
+
def initialize(compensation: nil, content: nil, created_at: nil, employment_contract_type: nil, employment_type: nil, external_apply_url: nil, external_url: nil, id: nil, internal: nil, job_id: nil, locations: nil, questionnaires: nil, remote_id: nil, status: nil, title: nil, updated_at: nil)
|
49
50
|
@compensation = compensation
|
50
51
|
@content = content
|
51
52
|
@created_at = created_at
|
@@ -53,10 +54,12 @@ module StackOne
|
|
53
54
|
@employment_type = employment_type
|
54
55
|
@external_apply_url = external_apply_url
|
55
56
|
@external_url = external_url
|
57
|
+
@id = id
|
56
58
|
@internal = internal
|
57
59
|
@job_id = job_id
|
58
60
|
@locations = locations
|
59
61
|
@questionnaires = questionnaires
|
62
|
+
@remote_id = remote_id
|
60
63
|
@status = status
|
61
64
|
@title = title
|
62
65
|
@updated_at = updated_at
|
@@ -11,16 +11,19 @@ module StackOne
|
|
11
11
|
class JobPostingLocation < ::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
|
|
17
17
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(id: T.nilable(::String), name: T.nilable(::String)).void }
|
21
|
-
def initialize(id: nil, name: nil)
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
22
24
|
@id = id
|
23
25
|
@name = name
|
26
|
+
@remote_id = remote_id
|
24
27
|
end
|
25
28
|
end
|
26
29
|
end
|
@@ -11,7 +11,7 @@ module StackOne
|
|
11
11
|
class JobPostingQuestionnaire < ::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
|
|
17
17
|
field :internal, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('internal') } }
|
@@ -19,14 +19,17 @@ module StackOne
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
20
|
|
21
21
|
field :questions, T.nilable(T::Array[::StackOne::Shared::Question]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questions') } }
|
22
|
+
# Provider's unique identifier
|
23
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(id: T.nilable(::String), internal: T.nilable(T::Boolean), name: T.nilable(::String), questions: T.nilable(T::Array[::StackOne::Shared::Question])).void }
|
25
|
-
def initialize(id: nil, internal: nil, name: nil, questions: nil)
|
26
|
+
sig { params(id: T.nilable(::String), internal: T.nilable(T::Boolean), name: T.nilable(::String), questions: T.nilable(T::Array[::StackOne::Shared::Question]), remote_id: T.nilable(::String)).void }
|
27
|
+
def initialize(id: nil, internal: nil, name: nil, questions: nil, remote_id: nil)
|
26
28
|
@id = id
|
27
29
|
@internal = internal
|
28
30
|
@name = name
|
29
31
|
@questions = questions
|
32
|
+
@remote_id = remote_id
|
30
33
|
end
|
31
34
|
end
|
32
35
|
end
|
@@ -13,24 +13,27 @@ module StackOne
|
|
13
13
|
|
14
14
|
# Timestamp when the list was created
|
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 :items, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } }
|
20
20
|
|
21
21
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
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 list type
|
23
25
|
field :type, T.nilable(::StackOne::Shared::ListType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
24
26
|
# Timestamp when the list was last updated
|
25
27
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
28
|
|
27
29
|
|
28
|
-
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), items: T.nilable(T::Array[::String]), name: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), updated_at: T.nilable(::DateTime)).void }
|
29
|
-
def initialize(created_at: nil, id: nil, items: nil, name: nil, type: nil, updated_at: nil)
|
30
|
+
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), items: T.nilable(T::Array[::String]), name: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), updated_at: T.nilable(::DateTime)).void }
|
31
|
+
def initialize(created_at: nil, id: nil, items: nil, name: nil, remote_id: nil, type: nil, updated_at: nil)
|
30
32
|
@created_at = created_at
|
31
33
|
@id = id
|
32
34
|
@items = items
|
33
35
|
@name = name
|
36
|
+
@remote_id = remote_id
|
34
37
|
@type = type
|
35
38
|
@updated_at = updated_at
|
36
39
|
end
|