stackone_client 0.0.2 → 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 +12 -2
- data/lib/stackone/models/operations/hris_get_employee.rb +12 -2
- data/lib/stackone/models/operations/hris_get_employee_document.rb +12 -2
- data/lib/stackone/models/operations/hris_get_employees_time_off_request.rb +12 -2
- data/lib/stackone/models/operations/hris_get_employment.rb +12 -2
- data/lib/stackone/models/operations/hris_get_location.rb +12 -2
- data/lib/stackone/models/operations/hris_get_time_off_request.rb +12 -2
- data/lib/stackone/models/operations/hris_list_companies.rb +12 -2
- data/lib/stackone/models/operations/hris_list_employee_documents.rb +12 -2
- data/lib/stackone/models/operations/hris_list_employee_time_off_requests.rb +12 -2
- data/lib/stackone/models/operations/hris_list_employees.rb +12 -2
- data/lib/stackone/models/operations/hris_list_employments.rb +12 -2
- data/lib/stackone/models/operations/hris_list_locations.rb +12 -2
- data/lib/stackone/models/operations/hris_list_time_off_requests.rb +12 -2
- data/lib/stackone/models/shared/connectsession.rb +5 -5
- data/lib/stackone/models/shared/connectsessiontoken.rb +5 -5
- data/lib/stackone/models/shared/content.rb +9 -8
- data/lib/stackone/models/shared/costcenters.rb +28 -0
- data/lib/stackone/models/shared/countrycodeenum.rb +6 -6
- data/lib/stackone/models/shared/createtimeoffresult.rb +4 -4
- data/lib/stackone/models/shared/documentapimodel.rb +8 -8
- data/lib/stackone/models/shared/documenttypeenum.rb +3 -3
- data/lib/stackone/models/shared/employee.rb +84 -54
- data/lib/stackone/models/shared/employeecustomfields.rb +6 -6
- data/lib/stackone/models/shared/employment.rb +36 -28
- data/lib/stackone/models/shared/fileformatenum.rb +52 -0
- data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +43 -36
- data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +9 -9
- data/lib/stackone/models/shared/hrislocation.rb +15 -15
- data/lib/stackone/models/shared/timeoff.rb +6 -6
- 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 +5 -155
- metadata +5 -155
- 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 -78
- data/lib/stackone/models/operations/ats_get_application_offer.rb +0 -81
- data/lib/stackone/models/operations/ats_get_application_scorecard.rb +0 -81
- data/lib/stackone/models/operations/ats_get_candidate.rb +0 -78
- data/lib/stackone/models/operations/ats_get_candidate_note.rb +0 -81
- data/lib/stackone/models/operations/ats_get_department.rb +0 -78
- data/lib/stackone/models/operations/ats_get_interview.rb +0 -78
- data/lib/stackone/models/operations/ats_get_interview_stage.rb +0 -78
- data/lib/stackone/models/operations/ats_get_job.rb +0 -78
- data/lib/stackone/models/operations/ats_get_job_posting.rb +0 -81
- data/lib/stackone/models/operations/ats_get_location.rb +0 -78
- data/lib/stackone/models/operations/ats_get_offer.rb +0 -78
- data/lib/stackone/models/operations/ats_get_rejected_reason.rb +0 -78
- data/lib/stackone/models/operations/ats_get_user.rb +0 -78
- data/lib/stackone/models/operations/ats_list_application_scorecards.rb +0 -78
- data/lib/stackone/models/operations/ats_list_applications.rb +0 -75
- data/lib/stackone/models/operations/ats_list_applications_offers.rb +0 -78
- data/lib/stackone/models/operations/ats_list_candidate_notes.rb +0 -78
- data/lib/stackone/models/operations/ats_list_candidates.rb +0 -75
- data/lib/stackone/models/operations/ats_list_departments.rb +0 -75
- data/lib/stackone/models/operations/ats_list_interview_stages.rb +0 -75
- data/lib/stackone/models/operations/ats_list_interviews.rb +0 -75
- data/lib/stackone/models/operations/ats_list_job_postings.rb +0 -78
- data/lib/stackone/models/operations/ats_list_jobs.rb +0 -75
- data/lib/stackone/models/operations/ats_list_locations.rb +0 -75
- data/lib/stackone/models/operations/ats_list_offers.rb +0 -75
- data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +0 -75
- data/lib/stackone/models/operations/ats_list_users.rb +0 -75
- 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 -78
- data/lib/stackone/models/operations/crm_get_contact.rb +0 -78
- data/lib/stackone/models/operations/crm_get_list.rb +0 -78
- data/lib/stackone/models/operations/crm_list_accounts.rb +0 -75
- data/lib/stackone/models/operations/crm_list_contacts.rb +0 -75
- data/lib/stackone/models/operations/crm_list_lists.rb +0 -75
- 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 -78
- data/lib/stackone/models/operations/marketing_get_email_template.rb +0 -78
- data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +0 -78
- data/lib/stackone/models/operations/marketing_get_push_template.rb +0 -78
- data/lib/stackone/models/operations/marketing_list_campaigns.rb +0 -75
- data/lib/stackone/models/operations/marketing_list_email_templates.rb +0 -75
- data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +0 -75
- data/lib/stackone/models/operations/marketing_list_push_templates.rb +0 -75
- 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 -75
- data/lib/stackone/models/shared/applicationattachment.rb +0 -63
- data/lib/stackone/models/shared/applicationcandidate.rb +0 -31
- data/lib/stackone/models/shared/applicationresult.rb +0 -29
- data/lib/stackone/models/shared/applicationspaginated.rb +0 -34
- data/lib/stackone/models/shared/applicationstatusenumapimodel.rb +0 -50
- data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +0 -45
- 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 -41
- 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 -48
- 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/compensation.rb +0 -149
- 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/hiringteam.rb +0 -37
- data/lib/stackone/models/shared/interview.rb +0 -91
- 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 -65
- data/lib/stackone/models/shared/jobposting.rb +0 -182
- 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/jobstatusenum.rb +0 -43
- 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/location.rb +0 -28
- 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 -50
- 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/offerstatusenum.rb +0 -43
- data/lib/stackone/models/shared/pushmessages.rb +0 -81
- data/lib/stackone/models/shared/questionnaire.rb +0 -28
- data/lib/stackone/models/shared/rejectedreason.rb +0 -32
- data/lib/stackone/models/shared/rejectedreasonresult.rb +0 -29
- data/lib/stackone/models/shared/rejectedreasonspaginated.rb +0 -34
- data/lib/stackone/models/shared/rejectedreasontypeenum.rb +0 -40
- 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,56 +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
|
-
# FieldType - The type of the field
|
12
|
-
class FieldType < T::Enum
|
13
|
-
enums do
|
14
|
-
SHORT_TEXT = new('short_text')
|
15
|
-
LONG_TEXT = new('long_text')
|
16
|
-
MULTI_SELECT = new('multi_select')
|
17
|
-
SINGLE_SELECT = new('single_select')
|
18
|
-
BOOLEAN = new('boolean')
|
19
|
-
NUMBER = new('number')
|
20
|
-
DATE = new('date')
|
21
|
-
PHONE = new('phone')
|
22
|
-
EMAIL = new('email')
|
23
|
-
SCORE = new('score')
|
24
|
-
LOCATION = new('location')
|
25
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
class Field < ::StackOne::Utils::FieldAugmented
|
32
|
-
extend T::Sig
|
33
|
-
|
34
|
-
# The ID of the field
|
35
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
36
|
-
# The label of the field
|
37
|
-
field :label, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
38
|
-
# Indicates if the field is required
|
39
|
-
field :required, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('required') } }
|
40
|
-
# The type of the field
|
41
|
-
field :type, T.nilable(Shared::FieldType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type'), 'decoder': Utils.enum_from_string(Shared::FieldType, true) } }
|
42
|
-
# The possible values for the field
|
43
|
-
field :values, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }
|
44
|
-
|
45
|
-
|
46
|
-
sig { params(id: T.nilable(String), label: T.nilable(String), required: T.nilable(T::Boolean), type: T.nilable(Shared::FieldType), values: T.nilable(T::Array[String])).void }
|
47
|
-
def initialize(id: nil, label: nil, required: nil, type: nil, values: nil)
|
48
|
-
@id = id
|
49
|
-
@label = label
|
50
|
-
@required = required
|
51
|
-
@type = type
|
52
|
-
@values = values
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,37 +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 HiringTeam < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
17
|
-
|
18
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
19
|
-
|
20
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
21
|
-
|
22
|
-
field :role, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('role') } }
|
23
|
-
|
24
|
-
field :user_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user_id') } }
|
25
|
-
|
26
|
-
|
27
|
-
sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String), role: T.nilable(String), user_id: T.nilable(String)).void }
|
28
|
-
def initialize(email: nil, first_name: nil, last_name: nil, role: nil, user_id: nil)
|
29
|
-
@email = email
|
30
|
-
@first_name = first_name
|
31
|
-
@last_name = last_name
|
32
|
-
@role = role
|
33
|
-
@user_id = user_id
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
@@ -1,91 +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
|
-
# InterviewValue - The status of the interview.
|
12
|
-
class InterviewValue < T::Enum
|
13
|
-
enums do
|
14
|
-
UNSCHEDULED = new('unscheduled')
|
15
|
-
SCHEDULED = new('scheduled')
|
16
|
-
COMPLETED = new('completed')
|
17
|
-
CANCELLED = new('cancelled')
|
18
|
-
PENDING_FEEDBACK = new('pending_feedback')
|
19
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
class InterviewStatus < ::StackOne::Utils::FieldAugmented
|
26
|
-
extend T::Sig
|
27
|
-
|
28
|
-
# The source value of the interview status.
|
29
|
-
field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
30
|
-
# The status of the interview.
|
31
|
-
field :value, Shared::InterviewValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::InterviewValue, false) } }
|
32
|
-
|
33
|
-
|
34
|
-
sig { params(source_value: String, value: Shared::InterviewValue).void }
|
35
|
-
def initialize(source_value: nil, value: nil)
|
36
|
-
@source_value = source_value
|
37
|
-
@value = value
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
|
42
|
-
class Interview < ::StackOne::Utils::FieldAugmented
|
43
|
-
extend T::Sig
|
44
|
-
|
45
|
-
|
46
|
-
field :application_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
|
47
|
-
# Interview end date
|
48
|
-
field :end_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
49
|
-
|
50
|
-
field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
51
|
-
|
52
|
-
field :interview_stage_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
|
53
|
-
|
54
|
-
field :interviewer_ids, T::Array[String], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
|
55
|
-
# Interview start date
|
56
|
-
field :start_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
57
|
-
# Interview created date
|
58
|
-
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
59
|
-
|
60
|
-
field :interview_parts, T.nilable(T::Array[Shared::InterviewPart]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_parts') } }
|
61
|
-
|
62
|
-
field :interview_stage, T.nilable(T::Array[Shared::InterviewStage]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
|
63
|
-
|
64
|
-
field :interview_status, T.nilable(Shared::InterviewStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_status') } }
|
65
|
-
|
66
|
-
field :interviewers, T.nilable(T::Array[Shared::Interviewer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewers') } }
|
67
|
-
|
68
|
-
field :meeting_url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
69
|
-
# Interview updated date
|
70
|
-
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
71
|
-
|
72
|
-
|
73
|
-
sig { params(application_id: String, end_at: DateTime, id: String, interview_stage_id: String, interviewer_ids: T::Array[String], start_at: DateTime, created_at: T.nilable(DateTime), interview_parts: T.nilable(T::Array[Shared::InterviewPart]), interview_stage: T.nilable(T::Array[Shared::InterviewStage]), interview_status: T.nilable(Shared::InterviewStatus), interviewers: T.nilable(T::Array[Shared::Interviewer]), meeting_url: T.nilable(String), updated_at: T.nilable(DateTime)).void }
|
74
|
-
def initialize(application_id: nil, end_at: nil, id: nil, interview_stage_id: nil, interviewer_ids: nil, start_at: nil, created_at: nil, interview_parts: nil, interview_stage: nil, interview_status: nil, interviewers: nil, meeting_url: nil, updated_at: nil)
|
75
|
-
@application_id = application_id
|
76
|
-
@end_at = end_at
|
77
|
-
@id = id
|
78
|
-
@interview_stage_id = interview_stage_id
|
79
|
-
@interviewer_ids = interviewer_ids
|
80
|
-
@start_at = start_at
|
81
|
-
@created_at = created_at
|
82
|
-
@interview_parts = interview_parts
|
83
|
-
@interview_stage = interview_stage
|
84
|
-
@interview_status = interview_status
|
85
|
-
@interviewers = interviewers
|
86
|
-
@meeting_url = meeting_url
|
87
|
-
@updated_at = updated_at
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
@@ -1,37 +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 Interviewer < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :email, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
17
|
-
|
18
|
-
field :first_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
19
|
-
|
20
|
-
field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
21
|
-
|
22
|
-
field :last_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
23
|
-
|
24
|
-
field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
25
|
-
|
26
|
-
|
27
|
-
sig { params(email: String, first_name: String, id: String, last_name: String, name: String).void }
|
28
|
-
def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil)
|
29
|
-
@email = email
|
30
|
-
@first_name = first_name
|
31
|
-
@id = id
|
32
|
-
@last_name = last_name
|
33
|
-
@name = name
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
@@ -1,40 +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 InterviewPart < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
# Interview part created date
|
16
|
-
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
17
|
-
|
18
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
19
|
-
|
20
|
-
field :interviewer_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
|
21
|
-
|
22
|
-
field :meeting_provider, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_provider') } }
|
23
|
-
|
24
|
-
field :meeting_url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
25
|
-
# Interview part updated date
|
26
|
-
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
27
|
-
|
28
|
-
|
29
|
-
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 }
|
30
|
-
def initialize(created_at: nil, id: nil, interviewer_ids: nil, meeting_provider: nil, meeting_url: nil, updated_at: nil)
|
31
|
-
@created_at = created_at
|
32
|
-
@id = id
|
33
|
-
@interviewer_ids = interviewer_ids
|
34
|
-
@meeting_provider = meeting_provider
|
35
|
-
@meeting_url = meeting_url
|
36
|
-
@updated_at = updated_at
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
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 InterviewsPaginated < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :data, T::Array[Shared::Interview], { '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::Interview], 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,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/interview'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Shared
|
12
|
-
|
13
|
-
class InterviewsResult < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :data, Shared::Interview, { '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::Interview, 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,37 +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 InterviewStage < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
17
|
-
|
18
|
-
field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
19
|
-
# Interview Stage created date
|
20
|
-
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
21
|
-
|
22
|
-
field :order, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
23
|
-
# Interview Stage updated date
|
24
|
-
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
25
|
-
|
26
|
-
|
27
|
-
sig { params(id: String, name: String, created_at: T.nilable(DateTime), order: T.nilable(Float), updated_at: T.nilable(DateTime)).void }
|
28
|
-
def initialize(id: nil, name: nil, created_at: nil, order: nil, updated_at: nil)
|
29
|
-
@id = id
|
30
|
-
@name = name
|
31
|
-
@created_at = created_at
|
32
|
-
@order = order
|
33
|
-
@updated_at = updated_at
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
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/interviewstage'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Shared
|
12
|
-
|
13
|
-
class InterviewStageResult < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :data, Shared::InterviewStage, { '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::InterviewStage, 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 InterviewStagesPaginated < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :data, T::Array[Shared::InterviewStage], { '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::InterviewStage], 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,65 +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/jobstatusenum'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Shared
|
12
|
-
|
13
|
-
class Confidential < T::Enum
|
14
|
-
enums do
|
15
|
-
TRUE = new('true')
|
16
|
-
FALSE = new('false')
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
class Job < ::StackOne::Utils::FieldAugmented
|
23
|
-
extend T::Sig
|
24
|
-
|
25
|
-
|
26
|
-
field :code, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('code') } }
|
27
|
-
|
28
|
-
field :company_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company_id') } }
|
29
|
-
# Date of creation
|
30
|
-
field :created_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
31
|
-
|
32
|
-
field :department_ids, T::Array[String], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_ids') } }
|
33
|
-
|
34
|
-
field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
35
|
-
|
36
|
-
field :job_status, Shared::JobStatusEnum, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_status') } }
|
37
|
-
|
38
|
-
field :location_ids, T::Array[String], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
39
|
-
|
40
|
-
field :title, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
41
|
-
# Date of last update
|
42
|
-
field :updated_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
43
|
-
|
44
|
-
field :confidential, T.nilable(Shared::Confidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential'), 'decoder': Utils.enum_from_string(Shared::Confidential, true) } }
|
45
|
-
|
46
|
-
field :hiring_team, T.nilable(T::Array[Shared::HiringTeam]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hiring_team') } }
|
47
|
-
|
48
|
-
|
49
|
-
sig { params(code: String, company_id: String, created_at: DateTime, department_ids: T::Array[String], id: String, job_status: Shared::JobStatusEnum, location_ids: T::Array[String], title: String, updated_at: DateTime, confidential: T.nilable(Shared::Confidential), hiring_team: T.nilable(T::Array[Shared::HiringTeam])).void }
|
50
|
-
def initialize(code: nil, company_id: nil, created_at: nil, department_ids: nil, id: nil, job_status: nil, location_ids: nil, title: nil, updated_at: nil, confidential: nil, hiring_team: nil)
|
51
|
-
@code = code
|
52
|
-
@company_id = company_id
|
53
|
-
@created_at = created_at
|
54
|
-
@department_ids = department_ids
|
55
|
-
@id = id
|
56
|
-
@job_status = job_status
|
57
|
-
@location_ids = location_ids
|
58
|
-
@title = title
|
59
|
-
@updated_at = updated_at
|
60
|
-
@confidential = confidential
|
61
|
-
@hiring_team = hiring_team
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|