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,78 +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/scorecardspaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListApplicationScorecardsRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The account identifier
|
19
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
21
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
-
# The unified cursor
|
23
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
|
-
# The page number of the results to fetch
|
25
|
-
#
|
26
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
28
|
-
# The number of results per page
|
29
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
30
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
31
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
32
|
-
# Indicates that the raw request result is returned
|
33
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
-
# The sync token to select the only updated results
|
35
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
|
-
# Use a string with a date to only select results updated after that given date
|
37
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
|
-
|
39
|
-
|
40
|
-
sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
42
|
-
@id = id
|
43
|
-
@x_account_id = x_account_id
|
44
|
-
@fields = fields
|
45
|
-
@next_ = next_
|
46
|
-
@page = page
|
47
|
-
@page_size = page_size
|
48
|
-
@proxy = proxy
|
49
|
-
@raw = raw
|
50
|
-
@sync_token = sync_token
|
51
|
-
@updated_after = updated_after
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
|
56
|
-
class AtsListApplicationScorecardsResponse < ::StackOne::Utils::FieldAugmented
|
57
|
-
extend T::Sig
|
58
|
-
|
59
|
-
# HTTP response content type for this operation
|
60
|
-
field :content_type, String
|
61
|
-
# Raw HTTP response; suitable for custom response parsing
|
62
|
-
field :raw_response, Faraday::Response
|
63
|
-
# HTTP response status code for this operation
|
64
|
-
field :status_code, Integer
|
65
|
-
# The scorecards related to the application with the given identifier were retrieved.
|
66
|
-
field :scorecards_paginated, T.nilable(Shared::ScorecardsPaginated)
|
67
|
-
|
68
|
-
|
69
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, scorecards_paginated: T.nilable(Shared::ScorecardsPaginated)).void }
|
70
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, scorecards_paginated: nil)
|
71
|
-
@content_type = content_type
|
72
|
-
@raw_response = raw_response
|
73
|
-
@status_code = status_code
|
74
|
-
@scorecards_paginated = scorecards_paginated
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
@@ -1,75 +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/applicationspaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListApplicationsRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The account identifier
|
17
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
19
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
|
-
# Indicates that the raw request result is returned
|
31
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
34
|
-
# Use a string with a date to only select results updated after that given date
|
35
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
|
-
|
37
|
-
|
38
|
-
sig { params(x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
39
|
-
def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
40
|
-
@x_account_id = x_account_id
|
41
|
-
@fields = fields
|
42
|
-
@next_ = next_
|
43
|
-
@page = page
|
44
|
-
@page_size = page_size
|
45
|
-
@proxy = proxy
|
46
|
-
@raw = raw
|
47
|
-
@sync_token = sync_token
|
48
|
-
@updated_after = updated_after
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
|
53
|
-
class AtsListApplicationsResponse < ::StackOne::Utils::FieldAugmented
|
54
|
-
extend T::Sig
|
55
|
-
|
56
|
-
# HTTP response content type for this operation
|
57
|
-
field :content_type, String
|
58
|
-
# Raw HTTP response; suitable for custom response parsing
|
59
|
-
field :raw_response, Faraday::Response
|
60
|
-
# HTTP response status code for this operation
|
61
|
-
field :status_code, Integer
|
62
|
-
# The list of applications was retrieved.
|
63
|
-
field :applications_paginated, T.nilable(Shared::ApplicationsPaginated)
|
64
|
-
|
65
|
-
|
66
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, applications_paginated: T.nilable(Shared::ApplicationsPaginated)).void }
|
67
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, applications_paginated: nil)
|
68
|
-
@content_type = content_type
|
69
|
-
@raw_response = raw_response
|
70
|
-
@status_code = status_code
|
71
|
-
@applications_paginated = applications_paginated
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
@@ -1,78 +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/offerspaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListApplicationsOffersRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The account identifier
|
19
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
21
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
-
# The unified cursor
|
23
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
|
-
# The page number of the results to fetch
|
25
|
-
#
|
26
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
28
|
-
# The number of results per page
|
29
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
30
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
31
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
32
|
-
# Indicates that the raw request result is returned
|
33
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
-
# The sync token to select the only updated results
|
35
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
|
-
# Use a string with a date to only select results updated after that given date
|
37
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
|
-
|
39
|
-
|
40
|
-
sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
42
|
-
@id = id
|
43
|
-
@x_account_id = x_account_id
|
44
|
-
@fields = fields
|
45
|
-
@next_ = next_
|
46
|
-
@page = page
|
47
|
-
@page_size = page_size
|
48
|
-
@proxy = proxy
|
49
|
-
@raw = raw
|
50
|
-
@sync_token = sync_token
|
51
|
-
@updated_after = updated_after
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
|
56
|
-
class AtsListApplicationsOffersResponse < ::StackOne::Utils::FieldAugmented
|
57
|
-
extend T::Sig
|
58
|
-
|
59
|
-
# HTTP response content type for this operation
|
60
|
-
field :content_type, String
|
61
|
-
# Raw HTTP response; suitable for custom response parsing
|
62
|
-
field :raw_response, Faraday::Response
|
63
|
-
# HTTP response status code for this operation
|
64
|
-
field :status_code, Integer
|
65
|
-
# The offers related to the application with the given identifier were retrieved.
|
66
|
-
field :offers_paginated, T.nilable(Shared::OffersPaginated)
|
67
|
-
|
68
|
-
|
69
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, offers_paginated: T.nilable(Shared::OffersPaginated)).void }
|
70
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, offers_paginated: nil)
|
71
|
-
@content_type = content_type
|
72
|
-
@raw_response = raw_response
|
73
|
-
@status_code = status_code
|
74
|
-
@offers_paginated = offers_paginated
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
@@ -1,78 +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/notespaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListCandidateNotesRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The account identifier
|
19
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
21
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
-
# The unified cursor
|
23
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
|
-
# The page number of the results to fetch
|
25
|
-
#
|
26
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
28
|
-
# The number of results per page
|
29
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
30
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
31
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
32
|
-
# Indicates that the raw request result is returned
|
33
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
-
# The sync token to select the only updated results
|
35
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
|
-
# Use a string with a date to only select results updated after that given date
|
37
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
|
-
|
39
|
-
|
40
|
-
sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
42
|
-
@id = id
|
43
|
-
@x_account_id = x_account_id
|
44
|
-
@fields = fields
|
45
|
-
@next_ = next_
|
46
|
-
@page = page
|
47
|
-
@page_size = page_size
|
48
|
-
@proxy = proxy
|
49
|
-
@raw = raw
|
50
|
-
@sync_token = sync_token
|
51
|
-
@updated_after = updated_after
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
|
56
|
-
class AtsListCandidateNotesResponse < ::StackOne::Utils::FieldAugmented
|
57
|
-
extend T::Sig
|
58
|
-
|
59
|
-
# HTTP response content type for this operation
|
60
|
-
field :content_type, String
|
61
|
-
# Raw HTTP response; suitable for custom response parsing
|
62
|
-
field :raw_response, Faraday::Response
|
63
|
-
# HTTP response status code for this operation
|
64
|
-
field :status_code, Integer
|
65
|
-
# The notes related to the candidate with the given identifier was retrieved.
|
66
|
-
field :notes_paginated, T.nilable(Shared::NotesPaginated)
|
67
|
-
|
68
|
-
|
69
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, notes_paginated: T.nilable(Shared::NotesPaginated)).void }
|
70
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, notes_paginated: nil)
|
71
|
-
@content_type = content_type
|
72
|
-
@raw_response = raw_response
|
73
|
-
@status_code = status_code
|
74
|
-
@notes_paginated = notes_paginated
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
@@ -1,75 +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/candidatespaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListCandidatesRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The account identifier
|
17
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
19
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
|
-
# Indicates that the raw request result is returned
|
31
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
34
|
-
# Use a string with a date to only select results updated after that given date
|
35
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
|
-
|
37
|
-
|
38
|
-
sig { params(x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
39
|
-
def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
40
|
-
@x_account_id = x_account_id
|
41
|
-
@fields = fields
|
42
|
-
@next_ = next_
|
43
|
-
@page = page
|
44
|
-
@page_size = page_size
|
45
|
-
@proxy = proxy
|
46
|
-
@raw = raw
|
47
|
-
@sync_token = sync_token
|
48
|
-
@updated_after = updated_after
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
|
53
|
-
class AtsListCandidatesResponse < ::StackOne::Utils::FieldAugmented
|
54
|
-
extend T::Sig
|
55
|
-
|
56
|
-
# HTTP response content type for this operation
|
57
|
-
field :content_type, String
|
58
|
-
# Raw HTTP response; suitable for custom response parsing
|
59
|
-
field :raw_response, Faraday::Response
|
60
|
-
# HTTP response status code for this operation
|
61
|
-
field :status_code, Integer
|
62
|
-
# The list of candidates was retrieved.
|
63
|
-
field :candidates_paginated, T.nilable(Shared::CandidatesPaginated)
|
64
|
-
|
65
|
-
|
66
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, candidates_paginated: T.nilable(Shared::CandidatesPaginated)).void }
|
67
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, candidates_paginated: nil)
|
68
|
-
@content_type = content_type
|
69
|
-
@raw_response = raw_response
|
70
|
-
@status_code = status_code
|
71
|
-
@candidates_paginated = candidates_paginated
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
@@ -1,75 +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/departmentspaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListDepartmentsRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The account identifier
|
17
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
19
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
|
-
# Indicates that the raw request result is returned
|
31
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
34
|
-
# Use a string with a date to only select results updated after that given date
|
35
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
|
-
|
37
|
-
|
38
|
-
sig { params(x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
39
|
-
def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
40
|
-
@x_account_id = x_account_id
|
41
|
-
@fields = fields
|
42
|
-
@next_ = next_
|
43
|
-
@page = page
|
44
|
-
@page_size = page_size
|
45
|
-
@proxy = proxy
|
46
|
-
@raw = raw
|
47
|
-
@sync_token = sync_token
|
48
|
-
@updated_after = updated_after
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
|
53
|
-
class AtsListDepartmentsResponse < ::StackOne::Utils::FieldAugmented
|
54
|
-
extend T::Sig
|
55
|
-
|
56
|
-
# HTTP response content type for this operation
|
57
|
-
field :content_type, String
|
58
|
-
# Raw HTTP response; suitable for custom response parsing
|
59
|
-
field :raw_response, Faraday::Response
|
60
|
-
# HTTP response status code for this operation
|
61
|
-
field :status_code, Integer
|
62
|
-
# The list of departments was retrieved.
|
63
|
-
field :departments_paginated, T.nilable(Shared::DepartmentsPaginated)
|
64
|
-
|
65
|
-
|
66
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, departments_paginated: T.nilable(Shared::DepartmentsPaginated)).void }
|
67
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, departments_paginated: nil)
|
68
|
-
@content_type = content_type
|
69
|
-
@raw_response = raw_response
|
70
|
-
@status_code = status_code
|
71
|
-
@departments_paginated = departments_paginated
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
@@ -1,75 +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/interviewstagespaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListInterviewStagesRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The account identifier
|
17
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
19
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
|
-
# Indicates that the raw request result is returned
|
31
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
34
|
-
# Use a string with a date to only select results updated after that given date
|
35
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
|
-
|
37
|
-
|
38
|
-
sig { params(x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
39
|
-
def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
40
|
-
@x_account_id = x_account_id
|
41
|
-
@fields = fields
|
42
|
-
@next_ = next_
|
43
|
-
@page = page
|
44
|
-
@page_size = page_size
|
45
|
-
@proxy = proxy
|
46
|
-
@raw = raw
|
47
|
-
@sync_token = sync_token
|
48
|
-
@updated_after = updated_after
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
|
53
|
-
class AtsListInterviewStagesResponse < ::StackOne::Utils::FieldAugmented
|
54
|
-
extend T::Sig
|
55
|
-
|
56
|
-
# HTTP response content type for this operation
|
57
|
-
field :content_type, String
|
58
|
-
# Raw HTTP response; suitable for custom response parsing
|
59
|
-
field :raw_response, Faraday::Response
|
60
|
-
# HTTP response status code for this operation
|
61
|
-
field :status_code, Integer
|
62
|
-
# The list of interview-stages was retrieved.
|
63
|
-
field :interview_stages_paginated, T.nilable(Shared::InterviewStagesPaginated)
|
64
|
-
|
65
|
-
|
66
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, interview_stages_paginated: T.nilable(Shared::InterviewStagesPaginated)).void }
|
67
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, interview_stages_paginated: nil)
|
68
|
-
@content_type = content_type
|
69
|
-
@raw_response = raw_response
|
70
|
-
@status_code = status_code
|
71
|
-
@interview_stages_paginated = interview_stages_paginated
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
@@ -1,75 +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/interviewspaginated'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class AtsListInterviewsRequest < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The account identifier
|
17
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
19
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
|
-
# Indicates that the raw request result is returned
|
31
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
34
|
-
# Use a string with a date to only select results updated after that given date
|
35
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
|
-
|
37
|
-
|
38
|
-
sig { params(x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
39
|
-
def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
40
|
-
@x_account_id = x_account_id
|
41
|
-
@fields = fields
|
42
|
-
@next_ = next_
|
43
|
-
@page = page
|
44
|
-
@page_size = page_size
|
45
|
-
@proxy = proxy
|
46
|
-
@raw = raw
|
47
|
-
@sync_token = sync_token
|
48
|
-
@updated_after = updated_after
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
|
53
|
-
class AtsListInterviewsResponse < ::StackOne::Utils::FieldAugmented
|
54
|
-
extend T::Sig
|
55
|
-
|
56
|
-
# HTTP response content type for this operation
|
57
|
-
field :content_type, String
|
58
|
-
# Raw HTTP response; suitable for custom response parsing
|
59
|
-
field :raw_response, Faraday::Response
|
60
|
-
# HTTP response status code for this operation
|
61
|
-
field :status_code, Integer
|
62
|
-
# The list of interviews was retrieved.
|
63
|
-
field :interviews_paginated, T.nilable(Shared::InterviewsPaginated)
|
64
|
-
|
65
|
-
|
66
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, interviews_paginated: T.nilable(Shared::InterviewsPaginated)).void }
|
67
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, interviews_paginated: nil)
|
68
|
-
@content_type = content_type
|
69
|
-
@raw_response = raw_response
|
70
|
-
@status_code = status_code
|
71
|
-
@interviews_paginated = interviews_paginated
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|