stackone_client 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stackone/hris.rb +74 -0
- data/lib/stackone/models/operations/ats_create_application.rb +2 -2
- data/lib/stackone/models/operations/ats_create_candidate.rb +2 -2
- data/lib/stackone/models/operations/ats_create_candidate_note.rb +2 -2
- data/lib/stackone/models/operations/ats_create_offer.rb +2 -2
- data/lib/stackone/models/operations/ats_get_application.rb +4 -14
- data/lib/stackone/models/operations/ats_get_application_offer.rb +4 -14
- data/lib/stackone/models/operations/ats_get_application_scorecard.rb +4 -14
- data/lib/stackone/models/operations/ats_get_candidate.rb +4 -14
- data/lib/stackone/models/operations/ats_get_candidate_note.rb +4 -14
- data/lib/stackone/models/operations/ats_get_department.rb +4 -14
- data/lib/stackone/models/operations/ats_get_interview.rb +4 -14
- data/lib/stackone/models/operations/ats_get_interview_stage.rb +4 -14
- data/lib/stackone/models/operations/ats_get_job.rb +4 -14
- data/lib/stackone/models/operations/ats_get_job_posting.rb +4 -14
- data/lib/stackone/models/operations/ats_get_location.rb +4 -14
- data/lib/stackone/models/operations/ats_get_offer.rb +4 -14
- data/lib/stackone/models/operations/ats_get_rejected_reason.rb +4 -14
- data/lib/stackone/models/operations/ats_get_user.rb +4 -14
- data/lib/stackone/models/operations/ats_list_application_scorecards.rb +4 -14
- data/lib/stackone/models/operations/ats_list_applications.rb +4 -14
- data/lib/stackone/models/operations/ats_list_applications_offers.rb +4 -14
- data/lib/stackone/models/operations/ats_list_candidate_notes.rb +4 -14
- data/lib/stackone/models/operations/ats_list_candidates.rb +4 -14
- data/lib/stackone/models/operations/ats_list_departments.rb +4 -14
- data/lib/stackone/models/operations/ats_list_interview_stages.rb +4 -14
- data/lib/stackone/models/operations/ats_list_interviews.rb +4 -14
- data/lib/stackone/models/operations/ats_list_job_postings.rb +4 -14
- data/lib/stackone/models/operations/ats_list_jobs.rb +4 -14
- data/lib/stackone/models/operations/ats_list_locations.rb +4 -14
- data/lib/stackone/models/operations/ats_list_offers.rb +4 -14
- data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +4 -14
- data/lib/stackone/models/operations/ats_list_users.rb +4 -14
- data/lib/stackone/models/operations/ats_update_application.rb +2 -2
- data/lib/stackone/models/operations/ats_update_candidate.rb +2 -2
- data/lib/stackone/models/operations/crm_create_contact.rb +2 -2
- data/lib/stackone/models/operations/crm_get_account.rb +4 -14
- data/lib/stackone/models/operations/crm_get_contact.rb +4 -14
- data/lib/stackone/models/operations/crm_get_list.rb +4 -14
- data/lib/stackone/models/operations/crm_list_accounts.rb +4 -14
- data/lib/stackone/models/operations/crm_list_contacts.rb +4 -14
- data/lib/stackone/models/operations/crm_list_lists.rb +4 -14
- data/lib/stackone/models/operations/crm_update_contact.rb +2 -2
- data/lib/stackone/models/operations/hris_create_employee.rb +2 -2
- data/lib/stackone/models/operations/hris_create_employee_time_off_request.rb +2 -2
- data/lib/stackone/models/operations/hris_create_time_off_request.rb +2 -2
- data/lib/stackone/models/operations/hris_get_company.rb +4 -14
- data/lib/stackone/models/operations/hris_get_employee.rb +4 -14
- data/lib/stackone/models/operations/hris_get_employee_document.rb +81 -0
- data/lib/stackone/models/operations/hris_get_employees_time_off_request.rb +4 -14
- data/lib/stackone/models/operations/hris_get_employment.rb +4 -14
- data/lib/stackone/models/operations/hris_get_location.rb +4 -14
- data/lib/stackone/models/operations/hris_get_time_off_request.rb +4 -14
- data/lib/stackone/models/operations/hris_list_companies.rb +4 -14
- data/lib/stackone/models/operations/hris_list_employee_documents.rb +78 -0
- data/lib/stackone/models/operations/hris_list_employee_time_off_requests.rb +4 -14
- data/lib/stackone/models/operations/hris_list_employees.rb +4 -14
- data/lib/stackone/models/operations/hris_list_employments.rb +4 -14
- data/lib/stackone/models/operations/hris_list_locations.rb +4 -14
- data/lib/stackone/models/operations/hris_list_time_off_requests.rb +4 -14
- data/lib/stackone/models/operations/hris_update_employee.rb +2 -2
- data/lib/stackone/models/operations/hris_update_time_off_request.rb +2 -2
- data/lib/stackone/models/operations/marketing_create_email_template.rb +2 -2
- data/lib/stackone/models/operations/marketing_create_omni_channel_template.rb +2 -2
- data/lib/stackone/models/operations/marketing_create_push_template.rb +2 -2
- data/lib/stackone/models/operations/marketing_get_campaign.rb +4 -14
- data/lib/stackone/models/operations/marketing_get_email_template.rb +4 -14
- data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +4 -14
- data/lib/stackone/models/operations/marketing_get_push_template.rb +4 -14
- data/lib/stackone/models/operations/marketing_list_campaigns.rb +4 -14
- data/lib/stackone/models/operations/marketing_list_email_templates.rb +4 -14
- data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +4 -14
- data/lib/stackone/models/operations/marketing_list_push_templates.rb +4 -14
- data/lib/stackone/models/operations/marketing_update_email_template.rb +2 -2
- data/lib/stackone/models/operations/marketing_update_omni_channel_template.rb +2 -2
- data/lib/stackone/models/operations/marketing_update_push_template.rb +2 -2
- data/lib/stackone/models/operations/stackone_authenticate_connect_session.rb +1 -1
- data/lib/stackone/models/operations/stackone_create_connect_session.rb +1 -1
- data/lib/stackone/models/operations/stackone_delete_account.rb +2 -2
- data/lib/stackone/models/operations/stackone_get_account.rb +2 -2
- data/lib/stackone/models/operations/stackone_get_account_meta_info.rb +2 -2
- data/lib/stackone/models/operations/stackone_get_connector_meta.rb +2 -2
- data/lib/stackone/models/operations/stackone_list_connectors_meta.rb +2 -2
- data/lib/stackone/models/operations/stackone_list_linked_accounts.rb +2 -2
- data/lib/stackone/models/operations/stackone_proxy_request.rb +2 -2
- data/lib/stackone/models/operations/stackone_update_account.rb +2 -2
- data/lib/stackone/models/shared/account.rb +12 -12
- data/lib/stackone/models/shared/accountaddress.rb +14 -14
- data/lib/stackone/models/shared/accountresult.rb +3 -3
- data/lib/stackone/models/shared/accountspaginated.rb +5 -5
- data/lib/stackone/models/shared/answer.rb +7 -7
- data/lib/stackone/models/shared/application.rb +18 -18
- data/lib/stackone/models/shared/applicationattachment.rb +9 -9
- data/lib/stackone/models/shared/applicationcandidate.rb +4 -4
- data/lib/stackone/models/shared/applicationresult.rb +3 -3
- data/lib/stackone/models/shared/applicationspaginated.rb +5 -5
- data/lib/stackone/models/shared/applicationstatusenumapimodel.rb +3 -3
- data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +8 -8
- data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +9 -9
- data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +7 -7
- data/lib/stackone/models/shared/atscreateofferrequestdto.rb +7 -7
- data/lib/stackone/models/shared/atslocation.rb +3 -3
- data/lib/stackone/models/shared/atslocationresult.rb +3 -3
- data/lib/stackone/models/shared/atslocationspaginated.rb +5 -5
- data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +9 -9
- data/lib/stackone/models/shared/atsupdatecandidatesrequestdto.rb +10 -10
- data/lib/stackone/models/shared/attachmenttype.rb +3 -3
- data/lib/stackone/models/shared/campaign.rb +21 -21
- data/lib/stackone/models/shared/campaignresult.rb +3 -3
- data/lib/stackone/models/shared/campaignspaginated.rb +5 -5
- data/lib/stackone/models/shared/candidate.rb +15 -15
- data/lib/stackone/models/shared/candidateemail.rb +3 -3
- data/lib/stackone/models/shared/candidateresult.rb +3 -3
- data/lib/stackone/models/shared/candidatespaginated.rb +5 -5
- data/lib/stackone/models/shared/channelsenum.rb +3 -3
- data/lib/stackone/models/shared/companiespaginated.rb +5 -5
- data/lib/stackone/models/shared/company.rb +6 -6
- data/lib/stackone/models/shared/companyresult.rb +3 -3
- data/lib/stackone/models/shared/compensation.rb +18 -18
- data/lib/stackone/models/shared/connectorsmeta.rb +29 -18
- data/lib/stackone/models/shared/connectsession.rb +13 -13
- data/lib/stackone/models/shared/connectsessionauthenticate.rb +2 -2
- data/lib/stackone/models/shared/connectsessioncreate.rb +16 -13
- data/lib/stackone/models/shared/connectsessiontoken.rb +14 -14
- data/lib/stackone/models/shared/contact.rb +11 -11
- data/lib/stackone/models/shared/contactresult.rb +3 -3
- data/lib/stackone/models/shared/contactspaginated.rb +5 -5
- data/lib/stackone/models/shared/content.rb +28 -0
- data/lib/stackone/models/shared/countrycodeenum.rb +3 -3
- data/lib/stackone/models/shared/createcandidatenoteresult.rb +4 -4
- data/lib/stackone/models/shared/createemployeeresult.rb +4 -4
- data/lib/stackone/models/shared/createofferresult.rb +4 -4
- data/lib/stackone/models/shared/createresult.rb +4 -4
- data/lib/stackone/models/shared/createtemplateresult.rb +4 -4
- data/lib/stackone/models/shared/createtimeoffresult.rb +4 -4
- data/lib/stackone/models/shared/crmcreatecontactrequestdto.rb +8 -8
- data/lib/stackone/models/shared/department.rb +3 -3
- data/lib/stackone/models/shared/departmentresult.rb +3 -3
- data/lib/stackone/models/shared/departmentspaginated.rb +5 -5
- data/lib/stackone/models/shared/documentapimodel.rb +44 -0
- data/lib/stackone/models/shared/documentresult.rb +29 -0
- data/lib/stackone/models/shared/documentspaginated.rb +34 -0
- data/lib/stackone/models/shared/documenttypeenum.rb +40 -0
- data/lib/stackone/models/shared/emailmessages.rb +14 -14
- data/lib/stackone/models/shared/employee.rb +97 -97
- data/lib/stackone/models/shared/employeecustomfields.rb +12 -12
- data/lib/stackone/models/shared/employeeresult.rb +3 -3
- data/lib/stackone/models/shared/employeespaginated.rb +5 -5
- data/lib/stackone/models/shared/employment.rb +25 -25
- data/lib/stackone/models/shared/employmentresult.rb +3 -3
- data/lib/stackone/models/shared/employmentspaginated.rb +5 -5
- data/lib/stackone/models/shared/field.rb +6 -6
- data/lib/stackone/models/shared/hiringteam.rb +6 -6
- data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +84 -84
- data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +13 -13
- data/lib/stackone/models/shared/hrislocation.rb +20 -20
- data/lib/stackone/models/shared/hrislocationresult.rb +3 -3
- data/lib/stackone/models/shared/hrislocationspaginated.rb +5 -5
- data/lib/stackone/models/shared/interview.rb +17 -17
- data/lib/stackone/models/shared/interviewer.rb +6 -6
- data/lib/stackone/models/shared/interviewpart.rb +7 -7
- data/lib/stackone/models/shared/interviewspaginated.rb +5 -5
- data/lib/stackone/models/shared/interviewsresult.rb +3 -3
- data/lib/stackone/models/shared/interviewstage.rb +6 -6
- data/lib/stackone/models/shared/interviewstageresult.rb +3 -3
- data/lib/stackone/models/shared/interviewstagespaginated.rb +5 -5
- data/lib/stackone/models/shared/job.rb +12 -12
- data/lib/stackone/models/shared/jobposting.rb +29 -29
- data/lib/stackone/models/shared/jobpostingresult.rb +3 -3
- data/lib/stackone/models/shared/jobpostingspaginated.rb +5 -5
- data/lib/stackone/models/shared/jobresult.rb +3 -3
- data/lib/stackone/models/shared/jobspaginated.rb +5 -5
- data/lib/stackone/models/shared/jobstatusenum.rb +3 -3
- data/lib/stackone/models/shared/linkedaccount.rb +14 -14
- data/lib/stackone/models/shared/linkedaccountmeta.rb +5 -15
- data/lib/stackone/models/shared/list.rb +10 -10
- data/lib/stackone/models/shared/listresult.rb +3 -3
- data/lib/stackone/models/shared/listspaginated.rb +5 -5
- data/lib/stackone/models/shared/location.rb +3 -3
- data/lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb +5 -5
- data/lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb +5 -5
- data/lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb +5 -5
- data/lib/stackone/models/shared/message.rb +5 -5
- data/lib/stackone/models/shared/note.rb +11 -11
- data/lib/stackone/models/shared/notecontentapimodel.rb +2 -2
- data/lib/stackone/models/shared/noteresult.rb +3 -3
- data/lib/stackone/models/shared/notespaginated.rb +5 -5
- data/lib/stackone/models/shared/offer.rb +10 -10
- data/lib/stackone/models/shared/offerhistory.rb +6 -6
- data/lib/stackone/models/shared/offerspaginated.rb +5 -5
- data/lib/stackone/models/shared/offersresult.rb +3 -3
- data/lib/stackone/models/shared/offerstatusenum.rb +3 -3
- data/lib/stackone/models/shared/patchaccountdto.rb +1 -1
- data/lib/stackone/models/shared/proxyrequestbody.rb +8 -8
- data/lib/stackone/models/shared/pushmessages.rb +10 -10
- data/lib/stackone/models/shared/questionnaire.rb +3 -3
- data/lib/stackone/models/shared/rawresponse.rb +6 -6
- data/lib/stackone/models/shared/rejectedreason.rb +4 -4
- data/lib/stackone/models/shared/rejectedreasonresult.rb +3 -3
- data/lib/stackone/models/shared/rejectedreasonspaginated.rb +5 -5
- data/lib/stackone/models/shared/rejectedreasontypeenum.rb +3 -3
- data/lib/stackone/models/shared/resultlink.rb +3 -3
- data/lib/stackone/models/shared/scorecard.rb +11 -11
- data/lib/stackone/models/shared/scorecardsection.rb +4 -4
- data/lib/stackone/models/shared/scorecardspaginated.rb +5 -5
- data/lib/stackone/models/shared/security.rb +1 -1
- data/lib/stackone/models/shared/sociallink.rb +3 -3
- data/lib/stackone/models/shared/template.rb +6 -6
- data/lib/stackone/models/shared/templateresult.rb +3 -3
- data/lib/stackone/models/shared/templatespaginated.rb +5 -5
- data/lib/stackone/models/shared/timeoff.rb +16 -16
- data/lib/stackone/models/shared/timeoffpaginated.rb +5 -5
- data/lib/stackone/models/shared/timeoffresult.rb +3 -3
- data/lib/stackone/models/shared/updateresult.rb +4 -4
- data/lib/stackone/models/shared/user.rb +7 -7
- data/lib/stackone/models/shared/userresult.rb +3 -3
- data/lib/stackone/models/shared/userspaginated.rb +5 -5
- data/lib/stackone/sdkconfiguration.rb +5 -5
- data/lib/stackone/utils/utils.rb +2 -2
- data/lib/stackone_client.rb +228 -221
- metadata +14 -7
@@ -11,7 +11,7 @@ require_relative '../shared/createtemplateresult'
|
|
11
11
|
module StackOne
|
12
12
|
module Operations
|
13
13
|
|
14
|
-
class MarketingUpdateOmniChannelTemplateRequest < StackOne::Utils::FieldAugmented
|
14
|
+
class MarketingUpdateOmniChannelTemplateRequest < ::StackOne::Utils::FieldAugmented
|
15
15
|
extend T::Sig
|
16
16
|
|
17
17
|
|
@@ -31,7 +31,7 @@ module StackOne
|
|
31
31
|
end
|
32
32
|
|
33
33
|
|
34
|
-
class MarketingUpdateOmniChannelTemplateResponse < StackOne::Utils::FieldAugmented
|
34
|
+
class MarketingUpdateOmniChannelTemplateResponse < ::StackOne::Utils::FieldAugmented
|
35
35
|
extend T::Sig
|
36
36
|
|
37
37
|
# HTTP response content type for this operation
|
@@ -11,7 +11,7 @@ require_relative '../shared/createtemplateresult'
|
|
11
11
|
module StackOne
|
12
12
|
module Operations
|
13
13
|
|
14
|
-
class MarketingUpdatePushTemplateRequest < StackOne::Utils::FieldAugmented
|
14
|
+
class MarketingUpdatePushTemplateRequest < ::StackOne::Utils::FieldAugmented
|
15
15
|
extend T::Sig
|
16
16
|
|
17
17
|
|
@@ -31,7 +31,7 @@ module StackOne
|
|
31
31
|
end
|
32
32
|
|
33
33
|
|
34
|
-
class MarketingUpdatePushTemplateResponse < StackOne::Utils::FieldAugmented
|
34
|
+
class MarketingUpdatePushTemplateResponse < ::StackOne::Utils::FieldAugmented
|
35
35
|
extend T::Sig
|
36
36
|
|
37
37
|
# HTTP response content type for this operation
|
@@ -10,7 +10,7 @@ require_relative '../shared/connectsession'
|
|
10
10
|
module StackOne
|
11
11
|
module Operations
|
12
12
|
|
13
|
-
class StackoneAuthenticateConnectSessionResponse < StackOne::Utils::FieldAugmented
|
13
|
+
class StackoneAuthenticateConnectSessionResponse < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
# HTTP response content type for this operation
|
@@ -10,7 +10,7 @@ require_relative '../shared/connectsessiontoken'
|
|
10
10
|
module StackOne
|
11
11
|
module Operations
|
12
12
|
|
13
|
-
class StackoneCreateConnectSessionResponse < StackOne::Utils::FieldAugmented
|
13
|
+
class StackoneCreateConnectSessionResponse < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
# HTTP response content type for this operation
|
@@ -10,7 +10,7 @@ require_relative '../shared/linkedaccount'
|
|
10
10
|
module StackOne
|
11
11
|
module Operations
|
12
12
|
|
13
|
-
class StackoneDeleteAccountRequest < StackOne::Utils::FieldAugmented
|
13
|
+
class StackoneDeleteAccountRequest < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
|
@@ -24,7 +24,7 @@ module StackOne
|
|
24
24
|
end
|
25
25
|
|
26
26
|
|
27
|
-
class StackoneDeleteAccountResponse < StackOne::Utils::FieldAugmented
|
27
|
+
class StackoneDeleteAccountResponse < ::StackOne::Utils::FieldAugmented
|
28
28
|
extend T::Sig
|
29
29
|
|
30
30
|
# HTTP response content type for this operation
|
@@ -10,7 +10,7 @@ require_relative '../shared/linkedaccount'
|
|
10
10
|
module StackOne
|
11
11
|
module Operations
|
12
12
|
|
13
|
-
class StackoneGetAccountRequest < StackOne::Utils::FieldAugmented
|
13
|
+
class StackoneGetAccountRequest < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
|
@@ -24,7 +24,7 @@ module StackOne
|
|
24
24
|
end
|
25
25
|
|
26
26
|
|
27
|
-
class StackoneGetAccountResponse < StackOne::Utils::FieldAugmented
|
27
|
+
class StackoneGetAccountResponse < ::StackOne::Utils::FieldAugmented
|
28
28
|
extend T::Sig
|
29
29
|
|
30
30
|
# HTTP response content type for this operation
|
@@ -10,7 +10,7 @@ require_relative '../shared/linkedaccountmeta'
|
|
10
10
|
module StackOne
|
11
11
|
module Operations
|
12
12
|
|
13
|
-
class StackoneGetAccountMetaInfoRequest < StackOne::Utils::FieldAugmented
|
13
|
+
class StackoneGetAccountMetaInfoRequest < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
|
@@ -24,7 +24,7 @@ module StackOne
|
|
24
24
|
end
|
25
25
|
|
26
26
|
|
27
|
-
class StackoneGetAccountMetaInfoResponse < StackOne::Utils::FieldAugmented
|
27
|
+
class StackoneGetAccountMetaInfoResponse < ::StackOne::Utils::FieldAugmented
|
28
28
|
extend T::Sig
|
29
29
|
|
30
30
|
# HTTP response content type for this operation
|
@@ -10,7 +10,7 @@ require_relative '../shared/connectorsmeta'
|
|
10
10
|
module StackOne
|
11
11
|
module Operations
|
12
12
|
|
13
|
-
class StackoneGetConnectorMetaRequest < StackOne::Utils::FieldAugmented
|
13
|
+
class StackoneGetConnectorMetaRequest < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
|
@@ -27,7 +27,7 @@ module StackOne
|
|
27
27
|
end
|
28
28
|
|
29
29
|
|
30
|
-
class StackoneGetConnectorMetaResponse < StackOne::Utils::FieldAugmented
|
30
|
+
class StackoneGetConnectorMetaResponse < ::StackOne::Utils::FieldAugmented
|
31
31
|
extend T::Sig
|
32
32
|
|
33
33
|
# HTTP response content type for this operation
|
@@ -9,7 +9,7 @@ require 'faraday'
|
|
9
9
|
module StackOne
|
10
10
|
module Operations
|
11
11
|
|
12
|
-
class StackoneListConnectorsMetaRequest < StackOne::Utils::FieldAugmented
|
12
|
+
class StackoneListConnectorsMetaRequest < ::StackOne::Utils::FieldAugmented
|
13
13
|
extend T::Sig
|
14
14
|
|
15
15
|
# The comma separated list of data that will be included in the response
|
@@ -23,7 +23,7 @@ module StackOne
|
|
23
23
|
end
|
24
24
|
|
25
25
|
|
26
|
-
class StackoneListConnectorsMetaResponse < StackOne::Utils::FieldAugmented
|
26
|
+
class StackoneListConnectorsMetaResponse < ::StackOne::Utils::FieldAugmented
|
27
27
|
extend T::Sig
|
28
28
|
|
29
29
|
# HTTP response content type for this operation
|
@@ -9,7 +9,7 @@ require 'faraday'
|
|
9
9
|
module StackOne
|
10
10
|
module Operations
|
11
11
|
|
12
|
-
class StackoneListLinkedAccountsRequest < StackOne::Utils::FieldAugmented
|
12
|
+
class StackoneListLinkedAccountsRequest < ::StackOne::Utils::FieldAugmented
|
13
13
|
extend T::Sig
|
14
14
|
|
15
15
|
# The origin owner identifier of the results to fetch
|
@@ -26,7 +26,7 @@ module StackOne
|
|
26
26
|
end
|
27
27
|
|
28
28
|
|
29
|
-
class StackoneListLinkedAccountsResponse < StackOne::Utils::FieldAugmented
|
29
|
+
class StackoneListLinkedAccountsResponse < ::StackOne::Utils::FieldAugmented
|
30
30
|
extend T::Sig
|
31
31
|
|
32
32
|
# HTTP response content type for this operation
|
@@ -10,7 +10,7 @@ require_relative '../shared/proxyrequestbody'
|
|
10
10
|
module StackOne
|
11
11
|
module Operations
|
12
12
|
|
13
|
-
class StackoneProxyRequestRequest < StackOne::Utils::FieldAugmented
|
13
|
+
class StackoneProxyRequestRequest < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
# The request body
|
@@ -27,7 +27,7 @@ module StackOne
|
|
27
27
|
end
|
28
28
|
|
29
29
|
|
30
|
-
class StackoneProxyRequestResponse < StackOne::Utils::FieldAugmented
|
30
|
+
class StackoneProxyRequestResponse < ::StackOne::Utils::FieldAugmented
|
31
31
|
extend T::Sig
|
32
32
|
|
33
33
|
# HTTP response content type for this operation
|
@@ -11,7 +11,7 @@ require_relative '../shared/linkedaccount'
|
|
11
11
|
module StackOne
|
12
12
|
module Operations
|
13
13
|
|
14
|
-
class StackoneUpdateAccountRequest < StackOne::Utils::FieldAugmented
|
14
|
+
class StackoneUpdateAccountRequest < ::StackOne::Utils::FieldAugmented
|
15
15
|
extend T::Sig
|
16
16
|
|
17
17
|
|
@@ -28,7 +28,7 @@ module StackOne
|
|
28
28
|
end
|
29
29
|
|
30
30
|
|
31
|
-
class StackoneUpdateAccountResponse < StackOne::Utils::FieldAugmented
|
31
|
+
class StackoneUpdateAccountResponse < ::StackOne::Utils::FieldAugmented
|
32
32
|
extend T::Sig
|
33
33
|
|
34
34
|
# HTTP response content type for this operation
|
@@ -9,31 +9,31 @@ require 'faraday'
|
|
9
9
|
module StackOne
|
10
10
|
module Shared
|
11
11
|
|
12
|
-
class Account < StackOne::Utils::FieldAugmented
|
12
|
+
class Account < ::StackOne::Utils::FieldAugmented
|
13
13
|
extend T::Sig
|
14
14
|
|
15
15
|
|
16
|
-
field :id, String, { 'format_json': { 'letter_case':
|
16
|
+
field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
17
17
|
|
18
|
-
field :name, String, { 'format_json': { 'letter_case':
|
18
|
+
field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
19
19
|
|
20
|
-
field :owner_id, String, { 'format_json': { 'letter_case':
|
20
|
+
field :owner_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('owner_id') } }
|
21
21
|
|
22
|
-
field :addresses, T.nilable(T::Array[Shared::AccountAddress]), { 'format_json': { 'letter_case':
|
22
|
+
field :addresses, T.nilable(T::Array[Shared::AccountAddress]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('addresses') } }
|
23
23
|
|
24
|
-
field :annual_revenue, T.nilable(String), { 'format_json': { 'letter_case':
|
24
|
+
field :annual_revenue, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('annual_revenue') } }
|
25
25
|
# Timestamp when the account was created
|
26
|
-
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case':
|
26
|
+
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
27
27
|
|
28
|
-
field :description, T.nilable(String), { 'format_json': { 'letter_case':
|
28
|
+
field :description, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
29
29
|
# Values of the industries
|
30
|
-
field :industries, T.nilable(T::Array[String]), { 'format_json': { 'letter_case':
|
30
|
+
field :industries, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('industries') } }
|
31
31
|
# List of account phone numbers
|
32
|
-
field :phone_numbers, T.nilable(T::Array[String]), { 'format_json': { 'letter_case':
|
32
|
+
field :phone_numbers, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
33
33
|
# Timestamp when the account was last updated
|
34
|
-
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case':
|
34
|
+
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
35
35
|
|
36
|
-
field :website, T.nilable(String), { 'format_json': { 'letter_case':
|
36
|
+
field :website, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('website') } }
|
37
37
|
|
38
38
|
|
39
39
|
sig { params(id: String, name: String, owner_id: String, addresses: T.nilable(T::Array[Shared::AccountAddress]), annual_revenue: T.nilable(String), created_at: T.nilable(DateTime), description: T.nilable(String), industries: T.nilable(T::Array[String]), phone_numbers: T.nilable(T::Array[String]), updated_at: T.nilable(DateTime), website: T.nilable(String)).void }
|
@@ -264,13 +264,13 @@ module StackOne
|
|
264
264
|
|
265
265
|
|
266
266
|
# The country code
|
267
|
-
class Country < StackOne::Utils::FieldAugmented
|
267
|
+
class Country < ::StackOne::Utils::FieldAugmented
|
268
268
|
extend T::Sig
|
269
269
|
|
270
270
|
# The source value of the ISO 3166-1 alpha-2 code of the country.
|
271
|
-
field :source_value, String, { 'format_json': { 'letter_case':
|
271
|
+
field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
272
272
|
# The ISO 3166-1 alpha-2 code of the country.
|
273
|
-
field :value, Shared::AccountAddressSchemasValue, { 'format_json': { 'letter_case':
|
273
|
+
field :value, Shared::AccountAddressSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AccountAddressSchemasValue, false) } }
|
274
274
|
|
275
275
|
|
276
276
|
sig { params(source_value: String, value: Shared::AccountAddressSchemasValue).void }
|
@@ -291,13 +291,13 @@ module StackOne
|
|
291
291
|
|
292
292
|
|
293
293
|
# The location type
|
294
|
-
class LocationType < StackOne::Utils::FieldAugmented
|
294
|
+
class LocationType < ::StackOne::Utils::FieldAugmented
|
295
295
|
extend T::Sig
|
296
296
|
|
297
297
|
# The source value of the location type.
|
298
|
-
field :source_value, String, { 'format_json': { 'letter_case':
|
298
|
+
field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
299
299
|
# The type of the location.
|
300
|
-
field :value, Shared::AccountAddressValue, { 'format_json': { 'letter_case':
|
300
|
+
field :value, Shared::AccountAddressValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AccountAddressValue, false) } }
|
301
301
|
|
302
302
|
|
303
303
|
sig { params(source_value: String, value: Shared::AccountAddressValue).void }
|
@@ -308,23 +308,23 @@ module StackOne
|
|
308
308
|
end
|
309
309
|
|
310
310
|
|
311
|
-
class AccountAddress < StackOne::Utils::FieldAugmented
|
311
|
+
class AccountAddress < ::StackOne::Utils::FieldAugmented
|
312
312
|
extend T::Sig
|
313
313
|
|
314
314
|
|
315
|
-
field :city, T.nilable(String), { 'format_json': { 'letter_case':
|
315
|
+
field :city, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('city') } }
|
316
316
|
# The country code
|
317
|
-
field :country, T.nilable(Shared::Country), { 'format_json': { 'letter_case':
|
317
|
+
field :country, T.nilable(Shared::Country), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
318
318
|
# The location type
|
319
|
-
field :location_type, T.nilable(Shared::LocationType), { 'format_json': { 'letter_case':
|
319
|
+
field :location_type, T.nilable(Shared::LocationType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_type') } }
|
320
320
|
|
321
|
-
field :state, T.nilable(String), { 'format_json': { 'letter_case':
|
321
|
+
field :state, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('state') } }
|
322
322
|
|
323
|
-
field :street_1, T.nilable(String), { 'format_json': { 'letter_case':
|
323
|
+
field :street_1, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } }
|
324
324
|
|
325
|
-
field :street_2, T.nilable(String), { 'format_json': { 'letter_case':
|
325
|
+
field :street_2, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } }
|
326
326
|
|
327
|
-
field :zip_code, T.nilable(String), { 'format_json': { 'letter_case':
|
327
|
+
field :zip_code, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
328
328
|
|
329
329
|
|
330
330
|
sig { params(city: T.nilable(String), country: T.nilable(Shared::Country), location_type: T.nilable(Shared::LocationType), state: T.nilable(String), street_1: T.nilable(String), street_2: T.nilable(String), zip_code: T.nilable(String)).void }
|
@@ -10,13 +10,13 @@ require_relative '../shared/account'
|
|
10
10
|
module StackOne
|
11
11
|
module Shared
|
12
12
|
|
13
|
-
class AccountResult < StackOne::Utils::FieldAugmented
|
13
|
+
class AccountResult < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
|
17
|
-
field :data, Shared::Account, { 'format_json': { 'letter_case':
|
17
|
+
field :data, Shared::Account, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
18
18
|
|
19
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case':
|
19
|
+
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
20
20
|
|
21
21
|
|
22
22
|
sig { params(data: Shared::Account, raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
@@ -9,17 +9,17 @@ require 'faraday'
|
|
9
9
|
module StackOne
|
10
10
|
module Shared
|
11
11
|
|
12
|
-
class AccountsPaginated < StackOne::Utils::FieldAugmented
|
12
|
+
class AccountsPaginated < ::StackOne::Utils::FieldAugmented
|
13
13
|
extend T::Sig
|
14
14
|
|
15
15
|
|
16
|
-
field :data, T::Array[Shared::Account], { 'format_json': { 'letter_case':
|
16
|
+
field :data, T::Array[Shared::Account], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
17
17
|
|
18
|
-
field :next_, T.nilable(String), { 'format_json': { 'letter_case':
|
18
|
+
field :next_, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
19
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':
|
20
|
+
field :next_page, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
21
21
|
|
22
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case':
|
22
|
+
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
23
23
|
|
24
24
|
|
25
25
|
sig { params(data: T::Array[Shared::Account], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
@@ -25,13 +25,13 @@ module StackOne
|
|
25
25
|
|
26
26
|
|
27
27
|
# Type of the answer
|
28
|
-
class Type < StackOne::Utils::FieldAugmented
|
28
|
+
class Type < ::StackOne::Utils::FieldAugmented
|
29
29
|
extend T::Sig
|
30
30
|
|
31
31
|
# The source value of the answer type.
|
32
|
-
field :source_value, T.nilable(String), { 'format_json': { 'letter_case':
|
32
|
+
field :source_value, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
33
33
|
# The type of the answer.
|
34
|
-
field :value, T.nilable(Shared::AnswerValue), { 'format_json': { 'letter_case':
|
34
|
+
field :value, T.nilable(Shared::AnswerValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AnswerValue, true) } }
|
35
35
|
|
36
36
|
|
37
37
|
sig { params(source_value: T.nilable(String), value: T.nilable(Shared::AnswerValue)).void }
|
@@ -42,15 +42,15 @@ module StackOne
|
|
42
42
|
end
|
43
43
|
|
44
44
|
|
45
|
-
class Answer < StackOne::Utils::FieldAugmented
|
45
|
+
class Answer < ::StackOne::Utils::FieldAugmented
|
46
46
|
extend T::Sig
|
47
47
|
|
48
48
|
# Values of the answer
|
49
|
-
field :values, T::Array[String], { 'format_json': { 'letter_case':
|
49
|
+
field :values, T::Array[String], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }
|
50
50
|
# Unique identifier of the answer
|
51
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case':
|
51
|
+
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
52
52
|
# Type of the answer
|
53
|
-
field :type, T.nilable(Shared::Type), { 'format_json': { 'letter_case':
|
53
|
+
field :type, T.nilable(Shared::Type), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
54
54
|
|
55
55
|
|
56
56
|
sig { params(values: T::Array[String], id: T.nilable(String), type: T.nilable(Shared::Type)).void }
|
@@ -11,43 +11,43 @@ require_relative '../shared/applicationcandidate'
|
|
11
11
|
module StackOne
|
12
12
|
module Shared
|
13
13
|
|
14
|
-
class Application < StackOne::Utils::FieldAugmented
|
14
|
+
class Application < ::StackOne::Utils::FieldAugmented
|
15
15
|
extend T::Sig
|
16
16
|
|
17
17
|
|
18
|
-
field :application_status, Shared::ApplicationStatusEnumApiModel, { 'format_json': { 'letter_case':
|
18
|
+
field :application_status, Shared::ApplicationStatusEnumApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
19
19
|
|
20
|
-
field :candidate, Shared::ApplicationCandidate, { 'format_json': { 'letter_case':
|
20
|
+
field :candidate, Shared::ApplicationCandidate, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
|
21
21
|
|
22
|
-
field :attachments, T.nilable(T::Array[Shared::ApplicationAttachment]), { 'format_json': { 'letter_case':
|
22
|
+
field :attachments, T.nilable(T::Array[Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
23
23
|
# Unique identifier of the candidate
|
24
|
-
field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case':
|
24
|
+
field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
|
25
25
|
# Date of creation
|
26
|
-
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case':
|
26
|
+
field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
27
27
|
# Unique identifier of the application
|
28
|
-
field :id, T.nilable(String), { 'format_json': { 'letter_case':
|
28
|
+
field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
29
29
|
|
30
|
-
field :interview_stage, T.nilable(T::Array[Shared::InterviewStage]), { 'format_json': { 'letter_case':
|
30
|
+
field :interview_stage, T.nilable(T::Array[Shared::InterviewStage]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
|
31
31
|
# Unique identifier of the interview stage
|
32
|
-
field :interview_stage_id, T.nilable(String), { 'format_json': { 'letter_case':
|
32
|
+
field :interview_stage_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
|
33
33
|
# Unique identifier of the job
|
34
|
-
field :job_id, T.nilable(String), { 'format_json': { 'letter_case':
|
34
|
+
field :job_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
35
35
|
# Unique identifier of the location
|
36
|
-
field :location_id, T.nilable(String), { 'format_json': { 'letter_case':
|
36
|
+
field :location_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
37
37
|
# Unique identifiers of the locations
|
38
|
-
field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case':
|
38
|
+
field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
39
39
|
# Questionnaires associated with the application
|
40
|
-
field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case':
|
40
|
+
field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
41
41
|
# Date of rejection
|
42
|
-
field :rejected_at, T.nilable(DateTime), { 'format_json': { 'letter_case':
|
42
|
+
field :rejected_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
43
43
|
# Unique identifiers of the rejection reasons
|
44
|
-
field :rejected_reason_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case':
|
44
|
+
field :rejected_reason_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_ids') } }
|
45
45
|
|
46
|
-
field :rejected_reasons, T.nilable(T::Array[Shared::RejectedReason]), { 'format_json': { 'letter_case':
|
46
|
+
field :rejected_reasons, T.nilable(T::Array[Shared::RejectedReason]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reasons') } }
|
47
47
|
|
48
|
-
field :result_links, T.nilable(T::Array[Shared::ResultLink]), { 'format_json': { 'letter_case':
|
48
|
+
field :result_links, T.nilable(T::Array[Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } }
|
49
49
|
# Date of last update
|
50
|
-
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case':
|
50
|
+
field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
51
51
|
|
52
52
|
|
53
53
|
sig { params(application_status: Shared::ApplicationStatusEnumApiModel, candidate: Shared::ApplicationCandidate, attachments: T.nilable(T::Array[Shared::ApplicationAttachment]), candidate_id: T.nilable(String), created_at: T.nilable(DateTime), id: T.nilable(String), interview_stage: T.nilable(T::Array[Shared::InterviewStage]), interview_stage_id: T.nilable(String), job_id: T.nilable(String), location_id: T.nilable(String), location_ids: T.nilable(T::Array[String]), questionnaires: T.nilable(T::Array[Shared::Questionnaire]), rejected_at: T.nilable(DateTime), rejected_reason_ids: T.nilable(T::Array[String]), rejected_reasons: T.nilable(T::Array[Shared::RejectedReason]), result_links: T.nilable(T::Array[Shared::ResultLink]), updated_at: T.nilable(DateTime)).void }
|
@@ -18,13 +18,13 @@ module StackOne
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
class ContentType < StackOne::Utils::FieldAugmented
|
21
|
+
class ContentType < ::StackOne::Utils::FieldAugmented
|
22
22
|
extend T::Sig
|
23
23
|
|
24
24
|
# The source value of the content type.
|
25
|
-
field :source_value, T.nilable(String), { 'format_json': { 'letter_case':
|
25
|
+
field :source_value, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
26
26
|
# The content type of the attachment.
|
27
|
-
field :value, T.nilable(Shared::ApplicationAttachmentValue), { 'format_json': { 'letter_case':
|
27
|
+
field :value, T.nilable(Shared::ApplicationAttachmentValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::ApplicationAttachmentValue, true) } }
|
28
28
|
|
29
29
|
|
30
30
|
sig { params(source_value: T.nilable(String), value: T.nilable(Shared::ApplicationAttachmentValue)).void }
|
@@ -35,19 +35,19 @@ module StackOne
|
|
35
35
|
end
|
36
36
|
|
37
37
|
|
38
|
-
class ApplicationAttachment < StackOne::Utils::FieldAugmented
|
38
|
+
class ApplicationAttachment < ::StackOne::Utils::FieldAugmented
|
39
39
|
extend T::Sig
|
40
40
|
|
41
41
|
# The content of the attachment.
|
42
|
-
field :content, T.nilable(String), { 'format_json': { 'letter_case':
|
42
|
+
field :content, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
43
43
|
|
44
|
-
field :content_type, T.nilable(Shared::ContentType), { 'format_json': { 'letter_case':
|
44
|
+
field :content_type, T.nilable(Shared::ContentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_type') } }
|
45
45
|
# The file name of the attachment.
|
46
|
-
field :file_name, T.nilable(String), { 'format_json': { 'letter_case':
|
46
|
+
field :file_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_name') } }
|
47
47
|
|
48
|
-
field :type, T.nilable(T::Array[Shared::AttachmentType]), { 'format_json': { 'letter_case':
|
48
|
+
field :type, T.nilable(T::Array[Shared::AttachmentType]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
49
49
|
# The URL of the attachment.
|
50
|
-
field :url, T.nilable(String), { 'format_json': { 'letter_case':
|
50
|
+
field :url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
51
51
|
|
52
52
|
|
53
53
|
sig { params(content: T.nilable(String), content_type: T.nilable(Shared::ContentType), file_name: T.nilable(String), type: T.nilable(T::Array[Shared::AttachmentType]), url: T.nilable(String)).void }
|
@@ -9,15 +9,15 @@ require 'faraday'
|
|
9
9
|
module StackOne
|
10
10
|
module Shared
|
11
11
|
|
12
|
-
class ApplicationCandidate < StackOne::Utils::FieldAugmented
|
12
|
+
class ApplicationCandidate < ::StackOne::Utils::FieldAugmented
|
13
13
|
extend T::Sig
|
14
14
|
|
15
15
|
# Email of the candidate
|
16
|
-
field :email, T.nilable(String), { 'format_json': { 'letter_case':
|
16
|
+
field :email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
17
17
|
# First name of the candidate
|
18
|
-
field :first_name, T.nilable(String), { 'format_json': { 'letter_case':
|
18
|
+
field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
19
19
|
# Last name of the candidate
|
20
|
-
field :last_name, T.nilable(String), { 'format_json': { 'letter_case':
|
20
|
+
field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
21
21
|
|
22
22
|
|
23
23
|
sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String)).void }
|
@@ -10,13 +10,13 @@ require_relative '../shared/application'
|
|
10
10
|
module StackOne
|
11
11
|
module Shared
|
12
12
|
|
13
|
-
class ApplicationResult < StackOne::Utils::FieldAugmented
|
13
|
+
class ApplicationResult < ::StackOne::Utils::FieldAugmented
|
14
14
|
extend T::Sig
|
15
15
|
|
16
16
|
|
17
|
-
field :data, Shared::Application, { 'format_json': { 'letter_case':
|
17
|
+
field :data, Shared::Application, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
18
18
|
|
19
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case':
|
19
|
+
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
20
20
|
|
21
21
|
|
22
22
|
sig { params(data: Shared::Application, raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
@@ -9,17 +9,17 @@ require 'faraday'
|
|
9
9
|
module StackOne
|
10
10
|
module Shared
|
11
11
|
|
12
|
-
class ApplicationsPaginated < StackOne::Utils::FieldAugmented
|
12
|
+
class ApplicationsPaginated < ::StackOne::Utils::FieldAugmented
|
13
13
|
extend T::Sig
|
14
14
|
|
15
15
|
|
16
|
-
field :data, T::Array[Shared::Application], { 'format_json': { 'letter_case':
|
16
|
+
field :data, T::Array[Shared::Application], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
17
17
|
|
18
|
-
field :next_, T.nilable(String), { 'format_json': { 'letter_case':
|
18
|
+
field :next_, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
19
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':
|
20
|
+
field :next_page, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
21
21
|
|
22
|
-
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case':
|
22
|
+
field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
23
23
|
|
24
24
|
|
25
25
|
sig { params(data: T::Array[Shared::Application], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
|
@@ -31,13 +31,13 @@ module StackOne
|
|
31
31
|
|
32
32
|
|
33
33
|
|
34
|
-
class ApplicationStatusEnumApiModel < StackOne::Utils::FieldAugmented
|
34
|
+
class ApplicationStatusEnumApiModel < ::StackOne::Utils::FieldAugmented
|
35
35
|
extend T::Sig
|
36
36
|
|
37
37
|
# The source value of the application status.
|
38
|
-
field :source_value, String, { 'format_json': { 'letter_case':
|
38
|
+
field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
39
39
|
# The status of the application.
|
40
|
-
field :value, Shared::Value, { 'format_json': { 'letter_case':
|
40
|
+
field :value, Shared::Value, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::Value, false) } }
|
41
41
|
|
42
42
|
|
43
43
|
sig { params(source_value: String, value: Shared::Value).void }
|