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,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 User < ::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 :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
19
|
-
|
20
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
21
|
-
|
22
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
23
|
-
|
24
|
-
field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
25
|
-
|
26
|
-
field :phone, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
27
|
-
|
28
|
-
|
29
|
-
sig { params(email: String, id: String, first_name: T.nilable(String), last_name: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void }
|
30
|
-
def initialize(email: nil, id: nil, first_name: nil, last_name: nil, name: nil, phone: nil)
|
31
|
-
@email = email
|
32
|
-
@id = id
|
33
|
-
@first_name = first_name
|
34
|
-
@last_name = last_name
|
35
|
-
@name = name
|
36
|
-
@phone = phone
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
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/user'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Shared
|
12
|
-
|
13
|
-
class UserResult < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :data, Shared::User, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
18
|
-
|
19
|
-
field :raw, T::Array[Shared::RawResponse], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(data: Shared::User, raw: 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 UsersPaginated < ::StackOne::Utils::FieldAugmented
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
field :data, T::Array[Shared::User], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
17
|
-
|
18
|
-
field :raw, T::Array[Shared::RawResponse], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
19
|
-
|
20
|
-
field :next_, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
21
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
22
|
-
field :next_page, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
23
|
-
|
24
|
-
|
25
|
-
sig { params(data: T::Array[Shared::User], raw: T::Array[Shared::RawResponse], next_: T.nilable(String), next_page: T.nilable(String)).void }
|
26
|
-
def initialize(data: nil, raw: nil, next_: nil, next_page: nil)
|
27
|
-
@data = data
|
28
|
-
@raw = raw
|
29
|
-
@next_ = next_
|
30
|
-
@next_page = next_page
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|