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
@@ -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
|
@@ -11,21 +11,24 @@ module StackOne
|
|
11
11
|
class MarketingCreateEmailTemplateRequestDto < ::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 :messages, T.nilable(T::Array[::StackOne::Shared::EmailMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
|
18
18
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
# Provider's unique identifier
|
21
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
22
|
|
21
23
|
field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::EmailMessages]), name: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
25
|
-
def initialize(id: nil, messages: nil, name: nil, tags: nil)
|
26
|
+
sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::EmailMessages]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
27
|
+
def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
|
26
28
|
@id = id
|
27
29
|
@messages = messages
|
28
30
|
@name = name
|
31
|
+
@remote_id = remote_id
|
29
32
|
@tags = tags
|
30
33
|
end
|
31
34
|
end
|
@@ -11,21 +11,24 @@ module StackOne
|
|
11
11
|
class MarketingCreatePushTemplateRequestDto < ::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 :messages, T.nilable(T::Array[::StackOne::Shared::PushMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
|
18
18
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
# Provider's unique identifier
|
21
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
22
|
|
21
23
|
field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::PushMessages]), name: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
25
|
-
def initialize(id: nil, messages: nil, name: nil, tags: nil)
|
26
|
+
sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::PushMessages]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
27
|
+
def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
|
26
28
|
@id = id
|
27
29
|
@messages = messages
|
28
30
|
@name = name
|
31
|
+
@remote_id = remote_id
|
29
32
|
@tags = tags
|
30
33
|
end
|
31
34
|
end
|
@@ -11,21 +11,24 @@ module StackOne
|
|
11
11
|
class MarketingCreateTemplateRequestDto < ::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 :messages, T.nilable(T::Array[::StackOne::Shared::Message]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
|
18
18
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
# Provider's unique identifier
|
21
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
22
|
|
21
23
|
field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
25
|
-
def initialize(id: nil, messages: nil, name: nil, tags: nil)
|
26
|
+
sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
27
|
+
def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
|
26
28
|
@id = id
|
27
29
|
@messages = messages
|
28
30
|
@name = name
|
31
|
+
@remote_id = remote_id
|
29
32
|
@tags = tags
|
30
33
|
end
|
31
34
|
end
|
@@ -11,7 +11,7 @@ module StackOne
|
|
11
11
|
class Message < ::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 :message_content, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_content') } }
|
@@ -19,14 +19,17 @@ module StackOne
|
|
19
19
|
field :message_type, T.nilable(::StackOne::Shared::MessageMessageType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_type') } }
|
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
|
|
23
25
|
|
24
|
-
sig { params(id: T.nilable(::String), message_content: T.nilable(::Object), message_type: T.nilable(::StackOne::Shared::MessageMessageType), name: T.nilable(::String)).void }
|
25
|
-
def initialize(id: nil, message_content: nil, message_type: nil, name: nil)
|
26
|
+
sig { params(id: T.nilable(::String), message_content: T.nilable(::Object), message_type: T.nilable(::StackOne::Shared::MessageMessageType), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
27
|
+
def initialize(id: nil, message_content: nil, message_type: nil, name: nil, remote_id: nil)
|
26
28
|
@id = id
|
27
29
|
@message_content = message_content
|
28
30
|
@message_type = message_type
|
29
31
|
@name = name
|
32
|
+
@remote_id = remote_id
|
30
33
|
end
|
31
34
|
end
|
32
35
|
end
|
@@ -19,21 +19,24 @@ 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
|
# Date of Deletion
|
21
21
|
field :deleted_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('deleted_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
|
-
|
22
|
+
# Unique identifier
|
23
23
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
|
+
# Provider's unique identifier
|
25
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
24
26
|
# Date of last update
|
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
|
# Visibility of the note
|
27
29
|
field :visibility, T.nilable(::StackOne::Shared::NoteVisibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
|
31
|
-
def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, updated_at: nil, visibility: nil)
|
32
|
+
sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
|
33
|
+
def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_id: nil, updated_at: nil, visibility: nil)
|
32
34
|
@author_id = author_id
|
33
35
|
@content = content
|
34
36
|
@created_at = created_at
|
35
37
|
@deleted_at = deleted_at
|
36
38
|
@id = id
|
39
|
+
@remote_id = remote_id
|
37
40
|
@updated_at = updated_at
|
38
41
|
@visibility = visibility
|
39
42
|
end
|
@@ -17,12 +17,14 @@ 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
|
|
19
19
|
field :currency, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('currency') } }
|
20
|
-
|
20
|
+
# Unique identifier
|
21
21
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
22
22
|
|
23
23
|
field :offer_history, T.nilable(T::Array[::StackOne::Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } }
|
24
24
|
|
25
25
|
field :offer_status, T.nilable(::StackOne::Shared::OfferOfferStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } }
|
26
|
+
# Provider's unique identifier
|
27
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
26
28
|
|
27
29
|
field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
|
28
30
|
# Date of creation
|
@@ -31,14 +33,15 @@ module StackOne
|
|
31
33
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
32
34
|
|
33
35
|
|
34
|
-
sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
35
|
-
def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, salary: nil, start_date: nil, updated_at: nil)
|
36
|
+
sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
37
|
+
def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_id: nil, salary: nil, start_date: nil, updated_at: nil)
|
36
38
|
@application_id = application_id
|
37
39
|
@created_at = created_at
|
38
40
|
@currency = currency
|
39
41
|
@id = id
|
40
42
|
@offer_history = offer_history
|
41
43
|
@offer_status = offer_status
|
44
|
+
@remote_id = remote_id
|
42
45
|
@salary = salary
|
43
46
|
@start_date = start_date
|
44
47
|
@updated_at = updated_at
|
@@ -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 PreferredLanguage < ::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::EmployeeSchemasPreferredLanguageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasPreferredLanguageValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasPreferredLanguageValue)).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
|
@@ -11,7 +11,7 @@ module StackOne
|
|
11
11
|
class PushMessages < ::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 :message_content, T.nilable(::StackOne::Shared::PushMessagesMessageContent), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_content') } }
|
@@ -19,14 +19,17 @@ module StackOne
|
|
19
19
|
field :message_type, T.nilable(::StackOne::Shared::PushMessagesMessageType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_type') } }
|
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
|
|
23
25
|
|
24
|
-
sig { params(id: T.nilable(::String), message_content: T.nilable(::StackOne::Shared::PushMessagesMessageContent), message_type: T.nilable(::StackOne::Shared::PushMessagesMessageType), name: T.nilable(::String)).void }
|
25
|
-
def initialize(id: nil, message_content: nil, message_type: nil, name: nil)
|
26
|
+
sig { params(id: T.nilable(::String), message_content: T.nilable(::StackOne::Shared::PushMessagesMessageContent), message_type: T.nilable(::StackOne::Shared::PushMessagesMessageType), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
27
|
+
def initialize(id: nil, message_content: nil, message_type: nil, name: nil, remote_id: nil)
|
26
28
|
@id = id
|
27
29
|
@message_content = message_content
|
28
30
|
@message_type = message_type
|
29
31
|
@name = name
|
32
|
+
@remote_id = remote_id
|
30
33
|
end
|
31
34
|
end
|
32
35
|
end
|
@@ -11,12 +11,14 @@ module StackOne
|
|
11
11
|
class Question < ::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 :multiple_choice_answers, T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('multiple_choice_answers') } }
|
18
18
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
# Provider's unique identifier
|
21
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
22
|
|
21
23
|
field :required, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('required') } }
|
22
24
|
|
@@ -25,11 +27,12 @@ module StackOne
|
|
25
27
|
field :type, T.nilable(::StackOne::Shared::QuestionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
28
|
|
27
29
|
|
28
|
-
sig { params(id: T.nilable(::String), multiple_choice_answers: T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), name: T.nilable(::String), required: T.nilable(T::Boolean), text: T.nilable(::String), type: T.nilable(::StackOne::Shared::QuestionType)).void }
|
29
|
-
def initialize(id: nil, multiple_choice_answers: nil, name: nil, required: nil, text: nil, type: nil)
|
30
|
+
sig { params(id: T.nilable(::String), multiple_choice_answers: T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), name: T.nilable(::String), remote_id: T.nilable(::String), required: T.nilable(T::Boolean), text: T.nilable(::String), type: T.nilable(::StackOne::Shared::QuestionType)).void }
|
31
|
+
def initialize(id: nil, multiple_choice_answers: nil, name: nil, remote_id: nil, required: nil, text: nil, type: nil)
|
30
32
|
@id = id
|
31
33
|
@multiple_choice_answers = multiple_choice_answers
|
32
34
|
@name = name
|
35
|
+
@remote_id = remote_id
|
33
36
|
@required = required
|
34
37
|
@text = text
|
35
38
|
@type = type
|
@@ -11,15 +11,18 @@ module StackOne
|
|
11
11
|
class QuestionMultipleChoiceAnswers < ::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
|
+
# Provider's unique identifier
|
17
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
16
18
|
|
17
19
|
field :text, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('text') } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(id: T.nilable(::String), text: T.nilable(::String)).void }
|
21
|
-
def initialize(id: nil, text: nil)
|
22
|
+
sig { params(id: T.nilable(::String), remote_id: T.nilable(::String), text: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, remote_id: nil, text: nil)
|
22
24
|
@id = id
|
25
|
+
@remote_id = remote_id
|
23
26
|
@text = text
|
24
27
|
end
|
25
28
|
end
|
@@ -13,14 +13,17 @@ module StackOne
|
|
13
13
|
|
14
14
|
|
15
15
|
field :answers, T.nilable(T::Array[::StackOne::Shared::Answer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('answers') } }
|
16
|
-
# Unique identifier
|
16
|
+
# Unique identifier
|
17
17
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
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(answers: T.nilable(T::Array[::StackOne::Shared::Answer]), id: T.nilable(::String)).void }
|
21
|
-
def initialize(answers: nil, id: nil)
|
22
|
+
sig { params(answers: T.nilable(T::Array[::StackOne::Shared::Answer]), id: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(answers: nil, id: nil, remote_id: nil)
|
22
24
|
@answers = answers
|
23
25
|
@id = id
|
26
|
+
@remote_id = remote_id
|
24
27
|
end
|
25
28
|
end
|
26
29
|
end
|
@@ -11,21 +11,24 @@ module StackOne
|
|
11
11
|
class RejectedReason < ::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 rejected reason.
|
17
17
|
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
18
18
|
|
19
19
|
field :rejected_reason_type, T.nilable(::StackOne::Shared::RejectedReasonType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } }
|
20
|
+
# Provider's unique identifier
|
21
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
22
|
# The string type of the rejected reason.
|
21
23
|
field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), type: T.nilable(::String)).void }
|
25
|
-
def initialize(id: nil, label: nil, rejected_reason_type: nil, type: nil)
|
26
|
+
sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), remote_id: T.nilable(::String), type: T.nilable(::String)).void }
|
27
|
+
def initialize(id: nil, label: nil, rejected_reason_type: nil, remote_id: nil, type: nil)
|
26
28
|
@id = id
|
27
29
|
@label = label
|
28
30
|
@rejected_reason_type = rejected_reason_type
|
31
|
+
@remote_id = remote_id
|
29
32
|
@type = type
|
30
33
|
end
|
31
34
|
end
|