stackone_client 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stackone/models/operations/hris_get_company.rb +3 -3
- data/lib/stackone/models/operations/hris_get_employee.rb +3 -3
- data/lib/stackone/models/shared/content.rb +4 -4
- data/lib/stackone/models/shared/costcenters.rb +5 -2
- data/lib/stackone/models/shared/countrycodeenum.rb +4 -4
- data/lib/stackone/models/shared/documentapimodel.rb +8 -8
- data/lib/stackone/models/shared/employee.rb +39 -22
- data/lib/stackone/models/shared/employeecustomfields.rb +3 -3
- data/lib/stackone/models/shared/employment.rb +11 -10
- data/lib/stackone/models/shared/{documentfileformatenum.rb → fileformatenum.rb} +16 -4
- data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +3 -3
- data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +3 -3
- data/lib/stackone/models/shared/hrislocation.rb +8 -8
- data/lib/stackone/models/shared/workeligibility.rb +101 -0
- data/lib/stackone/sdk.rb +1 -4
- data/lib/stackone/sdkconfiguration.rb +3 -3
- data/lib/stackone_client.rb +4 -154
- metadata +3 -153
- data/lib/stackone/ats.rb +0 -1289
- data/lib/stackone/crm.rb +0 -323
- data/lib/stackone/marketing.rb +0 -584
- data/lib/stackone/models/operations/ats_create_application.rb +0 -53
- data/lib/stackone/models/operations/ats_create_candidate.rb +0 -53
- data/lib/stackone/models/operations/ats_create_candidate_note.rb +0 -56
- data/lib/stackone/models/operations/ats_create_offer.rb +0 -53
- data/lib/stackone/models/operations/ats_get_application.rb +0 -88
- data/lib/stackone/models/operations/ats_get_application_offer.rb +0 -91
- data/lib/stackone/models/operations/ats_get_application_scorecard.rb +0 -91
- data/lib/stackone/models/operations/ats_get_candidate.rb +0 -88
- data/lib/stackone/models/operations/ats_get_candidate_note.rb +0 -91
- data/lib/stackone/models/operations/ats_get_department.rb +0 -88
- data/lib/stackone/models/operations/ats_get_interview.rb +0 -88
- data/lib/stackone/models/operations/ats_get_interview_stage.rb +0 -88
- data/lib/stackone/models/operations/ats_get_job.rb +0 -88
- data/lib/stackone/models/operations/ats_get_job_posting.rb +0 -91
- data/lib/stackone/models/operations/ats_get_location.rb +0 -88
- data/lib/stackone/models/operations/ats_get_offer.rb +0 -88
- data/lib/stackone/models/operations/ats_get_rejected_reason.rb +0 -88
- data/lib/stackone/models/operations/ats_get_user.rb +0 -88
- data/lib/stackone/models/operations/ats_list_application_scorecards.rb +0 -88
- data/lib/stackone/models/operations/ats_list_applications.rb +0 -85
- data/lib/stackone/models/operations/ats_list_applications_offers.rb +0 -88
- data/lib/stackone/models/operations/ats_list_candidate_notes.rb +0 -88
- data/lib/stackone/models/operations/ats_list_candidates.rb +0 -85
- data/lib/stackone/models/operations/ats_list_departments.rb +0 -85
- data/lib/stackone/models/operations/ats_list_interview_stages.rb +0 -85
- data/lib/stackone/models/operations/ats_list_interviews.rb +0 -85
- data/lib/stackone/models/operations/ats_list_job_postings.rb +0 -88
- data/lib/stackone/models/operations/ats_list_jobs.rb +0 -85
- data/lib/stackone/models/operations/ats_list_locations.rb +0 -85
- data/lib/stackone/models/operations/ats_list_offers.rb +0 -85
- data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +0 -85
- data/lib/stackone/models/operations/ats_list_users.rb +0 -85
- data/lib/stackone/models/operations/ats_update_application.rb +0 -56
- data/lib/stackone/models/operations/ats_update_candidate.rb +0 -56
- data/lib/stackone/models/operations/crm_create_contact.rb +0 -53
- data/lib/stackone/models/operations/crm_get_account.rb +0 -88
- data/lib/stackone/models/operations/crm_get_contact.rb +0 -88
- data/lib/stackone/models/operations/crm_get_list.rb +0 -88
- data/lib/stackone/models/operations/crm_list_accounts.rb +0 -85
- data/lib/stackone/models/operations/crm_list_contacts.rb +0 -85
- data/lib/stackone/models/operations/crm_list_lists.rb +0 -85
- data/lib/stackone/models/operations/crm_update_contact.rb +0 -56
- data/lib/stackone/models/operations/marketing_create_email_template.rb +0 -53
- data/lib/stackone/models/operations/marketing_create_omni_channel_template.rb +0 -53
- data/lib/stackone/models/operations/marketing_create_push_template.rb +0 -53
- data/lib/stackone/models/operations/marketing_get_campaign.rb +0 -88
- data/lib/stackone/models/operations/marketing_get_email_template.rb +0 -88
- data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +0 -88
- data/lib/stackone/models/operations/marketing_get_push_template.rb +0 -88
- data/lib/stackone/models/operations/marketing_list_campaigns.rb +0 -85
- data/lib/stackone/models/operations/marketing_list_email_templates.rb +0 -85
- data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +0 -85
- data/lib/stackone/models/operations/marketing_list_push_templates.rb +0 -85
- data/lib/stackone/models/operations/marketing_update_email_template.rb +0 -56
- data/lib/stackone/models/operations/marketing_update_omni_channel_template.rb +0 -56
- data/lib/stackone/models/operations/marketing_update_push_template.rb +0 -56
- data/lib/stackone/models/shared/account.rb +0 -55
- data/lib/stackone/models/shared/accountaddress.rb +0 -342
- data/lib/stackone/models/shared/accountresult.rb +0 -29
- data/lib/stackone/models/shared/accountspaginated.rb +0 -34
- data/lib/stackone/models/shared/answer.rb +0 -64
- data/lib/stackone/models/shared/application.rb +0 -158
- data/lib/stackone/models/shared/applicationattachment.rb +0 -63
- data/lib/stackone/models/shared/applicationresult.rb +0 -29
- data/lib/stackone/models/shared/applicationspaginated.rb +0 -34
- data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +0 -102
- data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +0 -46
- data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +0 -57
- data/lib/stackone/models/shared/atscreateofferrequestdto.rb +0 -72
- data/lib/stackone/models/shared/atslocation.rb +0 -28
- data/lib/stackone/models/shared/atslocationresult.rb +0 -29
- data/lib/stackone/models/shared/atslocationspaginated.rb +0 -34
- data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +0 -105
- data/lib/stackone/models/shared/atsupdatecandidatesrequestdto.rb +0 -49
- data/lib/stackone/models/shared/attachmenttype.rb +0 -40
- data/lib/stackone/models/shared/campaign.rb +0 -120
- data/lib/stackone/models/shared/campaignresult.rb +0 -29
- data/lib/stackone/models/shared/campaignspaginated.rb +0 -34
- data/lib/stackone/models/shared/candidate.rb +0 -64
- data/lib/stackone/models/shared/candidateemail.rb +0 -28
- data/lib/stackone/models/shared/candidateresult.rb +0 -29
- data/lib/stackone/models/shared/candidatespaginated.rb +0 -34
- data/lib/stackone/models/shared/channelsenum.rb +0 -42
- data/lib/stackone/models/shared/contact.rb +0 -52
- data/lib/stackone/models/shared/contactresult.rb +0 -29
- data/lib/stackone/models/shared/contactspaginated.rb +0 -34
- data/lib/stackone/models/shared/createcandidatenoteresult.rb +0 -31
- data/lib/stackone/models/shared/createofferresult.rb +0 -31
- data/lib/stackone/models/shared/createresult.rb +0 -31
- data/lib/stackone/models/shared/createtemplateresult.rb +0 -31
- data/lib/stackone/models/shared/crmcreatecontactrequestdto.rb +0 -43
- data/lib/stackone/models/shared/department.rb +0 -28
- data/lib/stackone/models/shared/departmentresult.rb +0 -29
- data/lib/stackone/models/shared/departmentspaginated.rb +0 -34
- data/lib/stackone/models/shared/emailmessages.rb +0 -93
- data/lib/stackone/models/shared/field.rb +0 -56
- data/lib/stackone/models/shared/interview.rb +0 -117
- data/lib/stackone/models/shared/interviewer.rb +0 -37
- data/lib/stackone/models/shared/interviewpart.rb +0 -40
- data/lib/stackone/models/shared/interviewspaginated.rb +0 -34
- data/lib/stackone/models/shared/interviewsresult.rb +0 -29
- data/lib/stackone/models/shared/interviewstage.rb +0 -37
- data/lib/stackone/models/shared/interviewstageresult.rb +0 -29
- data/lib/stackone/models/shared/interviewstagespaginated.rb +0 -34
- data/lib/stackone/models/shared/job.rb +0 -96
- data/lib/stackone/models/shared/jobhiringteam.rb +0 -37
- data/lib/stackone/models/shared/jobposting.rb +0 -189
- data/lib/stackone/models/shared/jobpostingcompensation.rb +0 -149
- data/lib/stackone/models/shared/jobpostinglocation.rb +0 -28
- data/lib/stackone/models/shared/jobpostingquestionnaire.rb +0 -34
- data/lib/stackone/models/shared/jobpostingresult.rb +0 -29
- data/lib/stackone/models/shared/jobpostingspaginated.rb +0 -34
- data/lib/stackone/models/shared/jobresult.rb +0 -29
- data/lib/stackone/models/shared/jobspaginated.rb +0 -34
- data/lib/stackone/models/shared/list.rb +0 -67
- data/lib/stackone/models/shared/listresult.rb +0 -29
- data/lib/stackone/models/shared/listspaginated.rb +0 -34
- data/lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb +0 -34
- data/lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb +0 -34
- data/lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb +0 -34
- data/lib/stackone/models/shared/message.rb +0 -50
- data/lib/stackone/models/shared/note.rb +0 -69
- data/lib/stackone/models/shared/notecontentapimodel.rb +0 -25
- data/lib/stackone/models/shared/noteresult.rb +0 -29
- data/lib/stackone/models/shared/notespaginated.rb +0 -34
- data/lib/stackone/models/shared/offer.rb +0 -81
- data/lib/stackone/models/shared/offerhistory.rb +0 -37
- data/lib/stackone/models/shared/offerspaginated.rb +0 -34
- data/lib/stackone/models/shared/offersresult.rb +0 -29
- data/lib/stackone/models/shared/pushmessages.rb +0 -81
- data/lib/stackone/models/shared/question.rb +0 -73
- data/lib/stackone/models/shared/questionmultiplechoiceanswers.rb +0 -28
- data/lib/stackone/models/shared/questionnaire.rb +0 -28
- data/lib/stackone/models/shared/rejectedreason.rb +0 -60
- data/lib/stackone/models/shared/rejectedreasonresult.rb +0 -29
- data/lib/stackone/models/shared/rejectedreasonspaginated.rb +0 -34
- data/lib/stackone/models/shared/resultlink.rb +0 -28
- data/lib/stackone/models/shared/scorecard.rb +0 -65
- data/lib/stackone/models/shared/scorecardsection.rb +0 -31
- data/lib/stackone/models/shared/scorecardspaginated.rb +0 -34
- data/lib/stackone/models/shared/sociallink.rb +0 -28
- data/lib/stackone/models/shared/template.rb +0 -37
- data/lib/stackone/models/shared/templateresult.rb +0 -29
- data/lib/stackone/models/shared/templatespaginated.rb +0 -34
- data/lib/stackone/models/shared/updateresult.rb +0 -31
- data/lib/stackone/models/shared/user.rb +0 -40
- data/lib/stackone/models/shared/userresult.rb +0 -29
- data/lib/stackone/models/shared/userspaginated.rb +0 -34
@@ -1,63 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# ApplicationAttachmentValue - The content type of the attachment.
|
12
|
-
class ApplicationAttachmentValue < T::Enum
|
13
|
-
enums do
|
14
|
-
TEXT = new('text')
|
15
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
class ContentType < ::StackOne::Utils::FieldAugmented
|
22
|
-
extend T::Sig
|
23
|
-
|
24
|
-
# The source value of the content type.
|
25
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
26
|
-
# The content type of the attachment.
|
27
|
-
field :value, T.nilable(Shared::ApplicationAttachmentValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::ApplicationAttachmentValue, true) } }
|
28
|
-
|
29
|
-
|
30
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::ApplicationAttachmentValue)).void }
|
31
|
-
def initialize(source_value: nil, value: nil)
|
32
|
-
@source_value = source_value
|
33
|
-
@value = value
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
|
38
|
-
class ApplicationAttachment < ::StackOne::Utils::FieldAugmented
|
39
|
-
extend T::Sig
|
40
|
-
|
41
|
-
# The content of the attachment.
|
42
|
-
field :content, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
43
|
-
|
44
|
-
field :content_type, T.nilable(Shared::ContentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_type') } }
|
45
|
-
# The file name of the attachment.
|
46
|
-
field :file_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_name') } }
|
47
|
-
|
48
|
-
field :type, T.nilable(T::Array[Shared::AttachmentType]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
49
|
-
# The URL of the attachment.
|
50
|
-
field :url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
51
|
-
|
52
|
-
|
53
|
-
sig { params(content: T.nilable(String), content_type: T.nilable(Shared::ContentType), file_name: T.nilable(String), type: T.nilable(T::Array[Shared::AttachmentType]), url: T.nilable(String)).void }
|
54
|
-
def initialize(content: nil, content_type: nil, file_name: nil, type: nil, url: nil)
|
55
|
-
@content = content
|
56
|
-
@content_type = content_type
|
57
|
-
@file_name = file_name
|
58
|
-
@type = type
|
59
|
-
@url = url
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/application'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Shared
|
12
|
-
|
13
|
-
class ApplicationResult < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :data, Shared::Application, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
18
|
-
|
19
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(data: Shared::Application, raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
23
|
-
def initialize(data: nil, raw: nil)
|
24
|
-
@data = data
|
25
|
-
@raw = raw
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
|
12
|
-
class ApplicationsPaginated < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :data, T::Array[Shared::Application], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
17
|
-
|
18
|
-
field :next_, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
19
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
20
|
-
field :next_page, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
21
|
-
|
22
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
23
|
-
|
24
|
-
|
25
|
-
sig { params(data: T::Array[Shared::Application], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
26
|
-
def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
|
27
|
-
@data = data
|
28
|
-
@next_ = next_
|
29
|
-
@next_page = next_page
|
30
|
-
@raw = raw
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,102 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# AtsCreateApplicationRequestDtoValue - The status of the application.
|
12
|
-
class AtsCreateApplicationRequestDtoValue < T::Enum
|
13
|
-
enums do
|
14
|
-
ACTIVE = new('active')
|
15
|
-
ASSESSMENT = new('assessment')
|
16
|
-
BACKGROUND_CHECK = new('background_check')
|
17
|
-
CONVERTED = new('converted')
|
18
|
-
DECLINED_BY_CANDIDATE = new('declined_by_candidate')
|
19
|
-
HIRED = new('hired')
|
20
|
-
INTERVIEW = new('interview')
|
21
|
-
LEAD = new('lead')
|
22
|
-
OFFER = new('offer')
|
23
|
-
REFERENCE_CHECK = new('reference_check')
|
24
|
-
REJECTED = new('rejected')
|
25
|
-
REVIEW = new('review')
|
26
|
-
SCREEN = new('screen')
|
27
|
-
NEW = new('new')
|
28
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
class AtsCreateApplicationRequestDtoApplicationStatus < ::StackOne::Utils::FieldAugmented
|
35
|
-
extend T::Sig
|
36
|
-
|
37
|
-
# The source value of the application status.
|
38
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
39
|
-
# The status of the application.
|
40
|
-
field :value, T.nilable(Shared::AtsCreateApplicationRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AtsCreateApplicationRequestDtoValue, true) } }
|
41
|
-
|
42
|
-
|
43
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::AtsCreateApplicationRequestDtoValue)).void }
|
44
|
-
def initialize(source_value: nil, value: nil)
|
45
|
-
@source_value = source_value
|
46
|
-
@value = value
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
|
51
|
-
class AtsCreateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmented
|
52
|
-
extend T::Sig
|
53
|
-
|
54
|
-
# Email of the candidate
|
55
|
-
field :email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
56
|
-
# First name of the candidate
|
57
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
58
|
-
# Last name of the candidate
|
59
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
60
|
-
|
61
|
-
|
62
|
-
sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String)).void }
|
63
|
-
def initialize(email: nil, first_name: nil, last_name: nil)
|
64
|
-
@email = email
|
65
|
-
@first_name = first_name
|
66
|
-
@last_name = last_name
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
|
71
|
-
class AtsCreateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
|
72
|
-
extend T::Sig
|
73
|
-
|
74
|
-
|
75
|
-
field :application_status, T.nilable(Shared::AtsCreateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
76
|
-
|
77
|
-
field :attachments, T.nilable(T::Array[Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
78
|
-
|
79
|
-
field :candidate, T.nilable(Shared::AtsCreateApplicationRequestDtoCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
|
80
|
-
# Unique identifier of the candidate
|
81
|
-
field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
|
82
|
-
# Unique identifier of the job
|
83
|
-
field :job_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
84
|
-
# Unique identifiers of the locations
|
85
|
-
field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
86
|
-
# Questionnaires associated with the application
|
87
|
-
field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
88
|
-
|
89
|
-
|
90
|
-
sig { params(application_status: T.nilable(Shared::AtsCreateApplicationRequestDtoApplicationStatus), attachments: T.nilable(T::Array[Shared::ApplicationAttachment]), candidate: T.nilable(Shared::AtsCreateApplicationRequestDtoCandidate), candidate_id: T.nilable(String), job_id: T.nilable(String), location_ids: T.nilable(T::Array[String]), questionnaires: T.nilable(T::Array[Shared::Questionnaire])).void }
|
91
|
-
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, job_id: nil, location_ids: nil, questionnaires: nil)
|
92
|
-
@application_status = application_status
|
93
|
-
@attachments = attachments
|
94
|
-
@candidate = candidate
|
95
|
-
@candidate_id = candidate_id
|
96
|
-
@job_id = job_id
|
97
|
-
@location_ids = location_ids
|
98
|
-
@questionnaires = questionnaires
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
|
12
|
-
class AtsCreateCandidateRequestDto < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
# List of candidate application IDs
|
16
|
-
field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
|
17
|
-
# Candidate company
|
18
|
-
field :company, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
19
|
-
# List of candidate emails
|
20
|
-
field :emails, T.nilable(T::Array[Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
|
21
|
-
# Candidate first name
|
22
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
23
|
-
# Candidate last name
|
24
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
25
|
-
# Candidate name
|
26
|
-
field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
27
|
-
# Candidate phone number
|
28
|
-
field :phone, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
29
|
-
# Candidate title
|
30
|
-
field :title, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
31
|
-
|
32
|
-
|
33
|
-
sig { params(application_ids: T.nilable(T::Array[String]), company: T.nilable(String), emails: T.nilable(T::Array[Shared::CandidateEmail]), first_name: T.nilable(String), last_name: T.nilable(String), name: T.nilable(String), phone: T.nilable(String), title: T.nilable(String)).void }
|
34
|
-
def initialize(application_ids: nil, company: nil, emails: nil, first_name: nil, last_name: nil, name: nil, phone: nil, title: nil)
|
35
|
-
@application_ids = application_ids
|
36
|
-
@company = company
|
37
|
-
@emails = emails
|
38
|
-
@first_name = first_name
|
39
|
-
@last_name = last_name
|
40
|
-
@name = name
|
41
|
-
@phone = phone
|
42
|
-
@title = title
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
@@ -1,57 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# AtsCreateNotesRequestDtoValue - The visibility of the notes.
|
12
|
-
class AtsCreateNotesRequestDtoValue < T::Enum
|
13
|
-
enums do
|
14
|
-
PRIVATE = new('private')
|
15
|
-
PUBLIC = new('public')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
# Visibility of the note
|
21
|
-
class Visibility < ::StackOne::Utils::FieldAugmented
|
22
|
-
extend T::Sig
|
23
|
-
|
24
|
-
# The source value of the notes visibility.
|
25
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
26
|
-
# The visibility of the notes.
|
27
|
-
field :value, T.nilable(Shared::AtsCreateNotesRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AtsCreateNotesRequestDtoValue, true) } }
|
28
|
-
|
29
|
-
|
30
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::AtsCreateNotesRequestDtoValue)).void }
|
31
|
-
def initialize(source_value: nil, value: nil)
|
32
|
-
@source_value = source_value
|
33
|
-
@value = value
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
|
38
|
-
class AtsCreateNotesRequestDto < ::StackOne::Utils::FieldAugmented
|
39
|
-
extend T::Sig
|
40
|
-
|
41
|
-
# Unique identifier of the author
|
42
|
-
field :author_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author_id') } }
|
43
|
-
|
44
|
-
field :content, T.nilable(T::Array[Shared::NoteContentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
45
|
-
# Visibility of the note
|
46
|
-
field :visibility, T.nilable(Shared::Visibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
|
47
|
-
|
48
|
-
|
49
|
-
sig { params(author_id: T.nilable(String), content: T.nilable(T::Array[Shared::NoteContentApiModel]), visibility: T.nilable(Shared::Visibility)).void }
|
50
|
-
def initialize(author_id: nil, content: nil, visibility: nil)
|
51
|
-
@author_id = author_id
|
52
|
-
@content = content
|
53
|
-
@visibility = visibility
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
@@ -1,72 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# AtsCreateOfferRequestDtoValue - The status of the offer.
|
12
|
-
class AtsCreateOfferRequestDtoValue < T::Enum
|
13
|
-
enums do
|
14
|
-
PENDING = new('pending')
|
15
|
-
RETRACTED = new('retracted')
|
16
|
-
ACCEPTED = new('accepted')
|
17
|
-
REJECTED = new('rejected')
|
18
|
-
CREATED = new('created')
|
19
|
-
APPROVED = new('approved')
|
20
|
-
NOT_APPROVED = new('not_approved')
|
21
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
class OfferStatus < ::StackOne::Utils::FieldAugmented
|
28
|
-
extend T::Sig
|
29
|
-
|
30
|
-
# The source value of the offer status.
|
31
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
32
|
-
# The status of the offer.
|
33
|
-
field :value, T.nilable(Shared::AtsCreateOfferRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AtsCreateOfferRequestDtoValue, true) } }
|
34
|
-
|
35
|
-
|
36
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::AtsCreateOfferRequestDtoValue)).void }
|
37
|
-
def initialize(source_value: nil, value: nil)
|
38
|
-
@source_value = source_value
|
39
|
-
@value = value
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
|
44
|
-
class AtsCreateOfferRequestDto < ::StackOne::Utils::FieldAugmented
|
45
|
-
extend T::Sig
|
46
|
-
|
47
|
-
|
48
|
-
field :application_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
|
49
|
-
|
50
|
-
field :currency, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('currency') } }
|
51
|
-
|
52
|
-
field :offer_history, T.nilable(T::Array[Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } }
|
53
|
-
|
54
|
-
field :offer_status, T.nilable(Shared::OfferStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } }
|
55
|
-
|
56
|
-
field :salary, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
|
57
|
-
# Date of creation
|
58
|
-
field :start_date, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
59
|
-
|
60
|
-
|
61
|
-
sig { params(application_id: T.nilable(String), currency: T.nilable(String), offer_history: T.nilable(T::Array[Shared::OfferHistory]), offer_status: T.nilable(Shared::OfferStatus), salary: T.nilable(Float), start_date: T.nilable(DateTime)).void }
|
62
|
-
def initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, salary: nil, start_date: nil)
|
63
|
-
@application_id = application_id
|
64
|
-
@currency = currency
|
65
|
-
@offer_history = offer_history
|
66
|
-
@offer_status = offer_status
|
67
|
-
@salary = salary
|
68
|
-
@start_date = start_date
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
|
12
|
-
class ATSLocation < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
17
|
-
|
18
|
-
field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
19
|
-
|
20
|
-
|
21
|
-
sig { params(id: T.nilable(String), name: T.nilable(String)).void }
|
22
|
-
def initialize(id: nil, name: nil)
|
23
|
-
@id = id
|
24
|
-
@name = name
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/atslocation'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Shared
|
12
|
-
|
13
|
-
class ATSLocationResult < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :data, Shared::ATSLocation, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
18
|
-
|
19
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(data: Shared::ATSLocation, raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
23
|
-
def initialize(data: nil, raw: nil)
|
24
|
-
@data = data
|
25
|
-
@raw = raw
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
|
12
|
-
class ATSLocationsPaginated < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :data, T::Array[Shared::ATSLocation], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
17
|
-
|
18
|
-
field :next_, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
19
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
20
|
-
field :next_page, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
21
|
-
|
22
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
23
|
-
|
24
|
-
|
25
|
-
sig { params(data: T::Array[Shared::ATSLocation], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
26
|
-
def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
|
27
|
-
@data = data
|
28
|
-
@next_ = next_
|
29
|
-
@next_page = next_page
|
30
|
-
@raw = raw
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,105 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
# AtsUpdateApplicationRequestDtoValue - The status of the application.
|
12
|
-
class AtsUpdateApplicationRequestDtoValue < T::Enum
|
13
|
-
enums do
|
14
|
-
ACTIVE = new('active')
|
15
|
-
ASSESSMENT = new('assessment')
|
16
|
-
BACKGROUND_CHECK = new('background_check')
|
17
|
-
CONVERTED = new('converted')
|
18
|
-
DECLINED_BY_CANDIDATE = new('declined_by_candidate')
|
19
|
-
HIRED = new('hired')
|
20
|
-
INTERVIEW = new('interview')
|
21
|
-
LEAD = new('lead')
|
22
|
-
OFFER = new('offer')
|
23
|
-
REFERENCE_CHECK = new('reference_check')
|
24
|
-
REJECTED = new('rejected')
|
25
|
-
REVIEW = new('review')
|
26
|
-
SCREEN = new('screen')
|
27
|
-
NEW = new('new')
|
28
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
class AtsUpdateApplicationRequestDtoApplicationStatus < ::StackOne::Utils::FieldAugmented
|
35
|
-
extend T::Sig
|
36
|
-
|
37
|
-
# The source value of the application status.
|
38
|
-
field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
39
|
-
# The status of the application.
|
40
|
-
field :value, T.nilable(Shared::AtsUpdateApplicationRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AtsUpdateApplicationRequestDtoValue, true) } }
|
41
|
-
|
42
|
-
|
43
|
-
sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::AtsUpdateApplicationRequestDtoValue)).void }
|
44
|
-
def initialize(source_value: nil, value: nil)
|
45
|
-
@source_value = source_value
|
46
|
-
@value = value
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
|
51
|
-
class AtsUpdateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmented
|
52
|
-
extend T::Sig
|
53
|
-
|
54
|
-
# Email of the candidate
|
55
|
-
field :email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
56
|
-
# First name of the candidate
|
57
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
58
|
-
# Last name of the candidate
|
59
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
60
|
-
|
61
|
-
|
62
|
-
sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String)).void }
|
63
|
-
def initialize(email: nil, first_name: nil, last_name: nil)
|
64
|
-
@email = email
|
65
|
-
@first_name = first_name
|
66
|
-
@last_name = last_name
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
|
71
|
-
class AtsUpdateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
|
72
|
-
extend T::Sig
|
73
|
-
|
74
|
-
|
75
|
-
field :application_status, T.nilable(Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
76
|
-
|
77
|
-
field :attachments, T.nilable(T::Array[Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
78
|
-
|
79
|
-
field :candidate, T.nilable(Shared::AtsUpdateApplicationRequestDtoCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
|
80
|
-
# Unique identifier of the candidate
|
81
|
-
field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
|
82
|
-
# The ID of the application to update.
|
83
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
84
|
-
# Unique identifier of the job
|
85
|
-
field :job_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
86
|
-
# Unique identifiers of the locations
|
87
|
-
field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
88
|
-
# Questionnaires associated with the application
|
89
|
-
field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
90
|
-
|
91
|
-
|
92
|
-
sig { params(application_status: T.nilable(Shared::AtsUpdateApplicationRequestDtoApplicationStatus), attachments: T.nilable(T::Array[Shared::ApplicationAttachment]), candidate: T.nilable(Shared::AtsUpdateApplicationRequestDtoCandidate), candidate_id: T.nilable(String), id: T.nilable(String), job_id: T.nilable(String), location_ids: T.nilable(T::Array[String]), questionnaires: T.nilable(T::Array[Shared::Questionnaire])).void }
|
93
|
-
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, id: nil, job_id: nil, location_ids: nil, questionnaires: nil)
|
94
|
-
@application_status = application_status
|
95
|
-
@attachments = attachments
|
96
|
-
@candidate = candidate
|
97
|
-
@candidate_id = candidate_id
|
98
|
-
@id = id
|
99
|
-
@job_id = job_id
|
100
|
-
@location_ids = location_ids
|
101
|
-
@questionnaires = questionnaires
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
|
9
|
-
module StackOne
|
10
|
-
module Shared
|
11
|
-
|
12
|
-
class AtsUpdateCandidatesRequestDto < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
# List of candidate application IDs
|
16
|
-
field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
|
17
|
-
# Candidate company
|
18
|
-
field :company, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
19
|
-
# List of candidate emails
|
20
|
-
field :emails, T.nilable(T::Array[Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
|
21
|
-
# Candidate first name
|
22
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
23
|
-
# The ID of the candidate to update.
|
24
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
25
|
-
# Candidate last name
|
26
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
27
|
-
# Candidate name
|
28
|
-
field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
29
|
-
# Candidate phone number
|
30
|
-
field :phone, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
31
|
-
# Candidate title
|
32
|
-
field :title, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
33
|
-
|
34
|
-
|
35
|
-
sig { params(application_ids: T.nilable(T::Array[String]), company: T.nilable(String), emails: T.nilable(T::Array[Shared::CandidateEmail]), first_name: T.nilable(String), id: T.nilable(String), last_name: T.nilable(String), name: T.nilable(String), phone: T.nilable(String), title: T.nilable(String)).void }
|
36
|
-
def initialize(application_ids: nil, company: nil, emails: nil, first_name: nil, id: nil, last_name: nil, name: nil, phone: nil, title: nil)
|
37
|
-
@application_ids = application_ids
|
38
|
-
@company = company
|
39
|
-
@emails = emails
|
40
|
-
@first_name = first_name
|
41
|
-
@id = id
|
42
|
-
@last_name = last_name
|
43
|
-
@name = name
|
44
|
-
@phone = phone
|
45
|
-
@title = title
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|