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.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stackone/hris.rb +74 -0
  3. data/lib/stackone/models/operations/ats_create_application.rb +2 -2
  4. data/lib/stackone/models/operations/ats_create_candidate.rb +2 -2
  5. data/lib/stackone/models/operations/ats_create_candidate_note.rb +2 -2
  6. data/lib/stackone/models/operations/ats_create_offer.rb +2 -2
  7. data/lib/stackone/models/operations/ats_get_application.rb +4 -14
  8. data/lib/stackone/models/operations/ats_get_application_offer.rb +4 -14
  9. data/lib/stackone/models/operations/ats_get_application_scorecard.rb +4 -14
  10. data/lib/stackone/models/operations/ats_get_candidate.rb +4 -14
  11. data/lib/stackone/models/operations/ats_get_candidate_note.rb +4 -14
  12. data/lib/stackone/models/operations/ats_get_department.rb +4 -14
  13. data/lib/stackone/models/operations/ats_get_interview.rb +4 -14
  14. data/lib/stackone/models/operations/ats_get_interview_stage.rb +4 -14
  15. data/lib/stackone/models/operations/ats_get_job.rb +4 -14
  16. data/lib/stackone/models/operations/ats_get_job_posting.rb +4 -14
  17. data/lib/stackone/models/operations/ats_get_location.rb +4 -14
  18. data/lib/stackone/models/operations/ats_get_offer.rb +4 -14
  19. data/lib/stackone/models/operations/ats_get_rejected_reason.rb +4 -14
  20. data/lib/stackone/models/operations/ats_get_user.rb +4 -14
  21. data/lib/stackone/models/operations/ats_list_application_scorecards.rb +4 -14
  22. data/lib/stackone/models/operations/ats_list_applications.rb +4 -14
  23. data/lib/stackone/models/operations/ats_list_applications_offers.rb +4 -14
  24. data/lib/stackone/models/operations/ats_list_candidate_notes.rb +4 -14
  25. data/lib/stackone/models/operations/ats_list_candidates.rb +4 -14
  26. data/lib/stackone/models/operations/ats_list_departments.rb +4 -14
  27. data/lib/stackone/models/operations/ats_list_interview_stages.rb +4 -14
  28. data/lib/stackone/models/operations/ats_list_interviews.rb +4 -14
  29. data/lib/stackone/models/operations/ats_list_job_postings.rb +4 -14
  30. data/lib/stackone/models/operations/ats_list_jobs.rb +4 -14
  31. data/lib/stackone/models/operations/ats_list_locations.rb +4 -14
  32. data/lib/stackone/models/operations/ats_list_offers.rb +4 -14
  33. data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +4 -14
  34. data/lib/stackone/models/operations/ats_list_users.rb +4 -14
  35. data/lib/stackone/models/operations/ats_update_application.rb +2 -2
  36. data/lib/stackone/models/operations/ats_update_candidate.rb +2 -2
  37. data/lib/stackone/models/operations/crm_create_contact.rb +2 -2
  38. data/lib/stackone/models/operations/crm_get_account.rb +4 -14
  39. data/lib/stackone/models/operations/crm_get_contact.rb +4 -14
  40. data/lib/stackone/models/operations/crm_get_list.rb +4 -14
  41. data/lib/stackone/models/operations/crm_list_accounts.rb +4 -14
  42. data/lib/stackone/models/operations/crm_list_contacts.rb +4 -14
  43. data/lib/stackone/models/operations/crm_list_lists.rb +4 -14
  44. data/lib/stackone/models/operations/crm_update_contact.rb +2 -2
  45. data/lib/stackone/models/operations/hris_create_employee.rb +2 -2
  46. data/lib/stackone/models/operations/hris_create_employee_time_off_request.rb +2 -2
  47. data/lib/stackone/models/operations/hris_create_time_off_request.rb +2 -2
  48. data/lib/stackone/models/operations/hris_get_company.rb +4 -14
  49. data/lib/stackone/models/operations/hris_get_employee.rb +4 -14
  50. data/lib/stackone/models/operations/hris_get_employee_document.rb +81 -0
  51. data/lib/stackone/models/operations/hris_get_employees_time_off_request.rb +4 -14
  52. data/lib/stackone/models/operations/hris_get_employment.rb +4 -14
  53. data/lib/stackone/models/operations/hris_get_location.rb +4 -14
  54. data/lib/stackone/models/operations/hris_get_time_off_request.rb +4 -14
  55. data/lib/stackone/models/operations/hris_list_companies.rb +4 -14
  56. data/lib/stackone/models/operations/hris_list_employee_documents.rb +78 -0
  57. data/lib/stackone/models/operations/hris_list_employee_time_off_requests.rb +4 -14
  58. data/lib/stackone/models/operations/hris_list_employees.rb +4 -14
  59. data/lib/stackone/models/operations/hris_list_employments.rb +4 -14
  60. data/lib/stackone/models/operations/hris_list_locations.rb +4 -14
  61. data/lib/stackone/models/operations/hris_list_time_off_requests.rb +4 -14
  62. data/lib/stackone/models/operations/hris_update_employee.rb +2 -2
  63. data/lib/stackone/models/operations/hris_update_time_off_request.rb +2 -2
  64. data/lib/stackone/models/operations/marketing_create_email_template.rb +2 -2
  65. data/lib/stackone/models/operations/marketing_create_omni_channel_template.rb +2 -2
  66. data/lib/stackone/models/operations/marketing_create_push_template.rb +2 -2
  67. data/lib/stackone/models/operations/marketing_get_campaign.rb +4 -14
  68. data/lib/stackone/models/operations/marketing_get_email_template.rb +4 -14
  69. data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +4 -14
  70. data/lib/stackone/models/operations/marketing_get_push_template.rb +4 -14
  71. data/lib/stackone/models/operations/marketing_list_campaigns.rb +4 -14
  72. data/lib/stackone/models/operations/marketing_list_email_templates.rb +4 -14
  73. data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +4 -14
  74. data/lib/stackone/models/operations/marketing_list_push_templates.rb +4 -14
  75. data/lib/stackone/models/operations/marketing_update_email_template.rb +2 -2
  76. data/lib/stackone/models/operations/marketing_update_omni_channel_template.rb +2 -2
  77. data/lib/stackone/models/operations/marketing_update_push_template.rb +2 -2
  78. data/lib/stackone/models/operations/stackone_authenticate_connect_session.rb +1 -1
  79. data/lib/stackone/models/operations/stackone_create_connect_session.rb +1 -1
  80. data/lib/stackone/models/operations/stackone_delete_account.rb +2 -2
  81. data/lib/stackone/models/operations/stackone_get_account.rb +2 -2
  82. data/lib/stackone/models/operations/stackone_get_account_meta_info.rb +2 -2
  83. data/lib/stackone/models/operations/stackone_get_connector_meta.rb +2 -2
  84. data/lib/stackone/models/operations/stackone_list_connectors_meta.rb +2 -2
  85. data/lib/stackone/models/operations/stackone_list_linked_accounts.rb +2 -2
  86. data/lib/stackone/models/operations/stackone_proxy_request.rb +2 -2
  87. data/lib/stackone/models/operations/stackone_update_account.rb +2 -2
  88. data/lib/stackone/models/shared/account.rb +12 -12
  89. data/lib/stackone/models/shared/accountaddress.rb +14 -14
  90. data/lib/stackone/models/shared/accountresult.rb +3 -3
  91. data/lib/stackone/models/shared/accountspaginated.rb +5 -5
  92. data/lib/stackone/models/shared/answer.rb +7 -7
  93. data/lib/stackone/models/shared/application.rb +18 -18
  94. data/lib/stackone/models/shared/applicationattachment.rb +9 -9
  95. data/lib/stackone/models/shared/applicationcandidate.rb +4 -4
  96. data/lib/stackone/models/shared/applicationresult.rb +3 -3
  97. data/lib/stackone/models/shared/applicationspaginated.rb +5 -5
  98. data/lib/stackone/models/shared/applicationstatusenumapimodel.rb +3 -3
  99. data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +8 -8
  100. data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +9 -9
  101. data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +7 -7
  102. data/lib/stackone/models/shared/atscreateofferrequestdto.rb +7 -7
  103. data/lib/stackone/models/shared/atslocation.rb +3 -3
  104. data/lib/stackone/models/shared/atslocationresult.rb +3 -3
  105. data/lib/stackone/models/shared/atslocationspaginated.rb +5 -5
  106. data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +9 -9
  107. data/lib/stackone/models/shared/atsupdatecandidatesrequestdto.rb +10 -10
  108. data/lib/stackone/models/shared/attachmenttype.rb +3 -3
  109. data/lib/stackone/models/shared/campaign.rb +21 -21
  110. data/lib/stackone/models/shared/campaignresult.rb +3 -3
  111. data/lib/stackone/models/shared/campaignspaginated.rb +5 -5
  112. data/lib/stackone/models/shared/candidate.rb +15 -15
  113. data/lib/stackone/models/shared/candidateemail.rb +3 -3
  114. data/lib/stackone/models/shared/candidateresult.rb +3 -3
  115. data/lib/stackone/models/shared/candidatespaginated.rb +5 -5
  116. data/lib/stackone/models/shared/channelsenum.rb +3 -3
  117. data/lib/stackone/models/shared/companiespaginated.rb +5 -5
  118. data/lib/stackone/models/shared/company.rb +6 -6
  119. data/lib/stackone/models/shared/companyresult.rb +3 -3
  120. data/lib/stackone/models/shared/compensation.rb +18 -18
  121. data/lib/stackone/models/shared/connectorsmeta.rb +29 -18
  122. data/lib/stackone/models/shared/connectsession.rb +13 -13
  123. data/lib/stackone/models/shared/connectsessionauthenticate.rb +2 -2
  124. data/lib/stackone/models/shared/connectsessioncreate.rb +16 -13
  125. data/lib/stackone/models/shared/connectsessiontoken.rb +14 -14
  126. data/lib/stackone/models/shared/contact.rb +11 -11
  127. data/lib/stackone/models/shared/contactresult.rb +3 -3
  128. data/lib/stackone/models/shared/contactspaginated.rb +5 -5
  129. data/lib/stackone/models/shared/content.rb +28 -0
  130. data/lib/stackone/models/shared/countrycodeenum.rb +3 -3
  131. data/lib/stackone/models/shared/createcandidatenoteresult.rb +4 -4
  132. data/lib/stackone/models/shared/createemployeeresult.rb +4 -4
  133. data/lib/stackone/models/shared/createofferresult.rb +4 -4
  134. data/lib/stackone/models/shared/createresult.rb +4 -4
  135. data/lib/stackone/models/shared/createtemplateresult.rb +4 -4
  136. data/lib/stackone/models/shared/createtimeoffresult.rb +4 -4
  137. data/lib/stackone/models/shared/crmcreatecontactrequestdto.rb +8 -8
  138. data/lib/stackone/models/shared/department.rb +3 -3
  139. data/lib/stackone/models/shared/departmentresult.rb +3 -3
  140. data/lib/stackone/models/shared/departmentspaginated.rb +5 -5
  141. data/lib/stackone/models/shared/documentapimodel.rb +44 -0
  142. data/lib/stackone/models/shared/documentresult.rb +29 -0
  143. data/lib/stackone/models/shared/documentspaginated.rb +34 -0
  144. data/lib/stackone/models/shared/documenttypeenum.rb +40 -0
  145. data/lib/stackone/models/shared/emailmessages.rb +14 -14
  146. data/lib/stackone/models/shared/employee.rb +97 -97
  147. data/lib/stackone/models/shared/employeecustomfields.rb +12 -12
  148. data/lib/stackone/models/shared/employeeresult.rb +3 -3
  149. data/lib/stackone/models/shared/employeespaginated.rb +5 -5
  150. data/lib/stackone/models/shared/employment.rb +25 -25
  151. data/lib/stackone/models/shared/employmentresult.rb +3 -3
  152. data/lib/stackone/models/shared/employmentspaginated.rb +5 -5
  153. data/lib/stackone/models/shared/field.rb +6 -6
  154. data/lib/stackone/models/shared/hiringteam.rb +6 -6
  155. data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +84 -84
  156. data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +13 -13
  157. data/lib/stackone/models/shared/hrislocation.rb +20 -20
  158. data/lib/stackone/models/shared/hrislocationresult.rb +3 -3
  159. data/lib/stackone/models/shared/hrislocationspaginated.rb +5 -5
  160. data/lib/stackone/models/shared/interview.rb +17 -17
  161. data/lib/stackone/models/shared/interviewer.rb +6 -6
  162. data/lib/stackone/models/shared/interviewpart.rb +7 -7
  163. data/lib/stackone/models/shared/interviewspaginated.rb +5 -5
  164. data/lib/stackone/models/shared/interviewsresult.rb +3 -3
  165. data/lib/stackone/models/shared/interviewstage.rb +6 -6
  166. data/lib/stackone/models/shared/interviewstageresult.rb +3 -3
  167. data/lib/stackone/models/shared/interviewstagespaginated.rb +5 -5
  168. data/lib/stackone/models/shared/job.rb +12 -12
  169. data/lib/stackone/models/shared/jobposting.rb +29 -29
  170. data/lib/stackone/models/shared/jobpostingresult.rb +3 -3
  171. data/lib/stackone/models/shared/jobpostingspaginated.rb +5 -5
  172. data/lib/stackone/models/shared/jobresult.rb +3 -3
  173. data/lib/stackone/models/shared/jobspaginated.rb +5 -5
  174. data/lib/stackone/models/shared/jobstatusenum.rb +3 -3
  175. data/lib/stackone/models/shared/linkedaccount.rb +14 -14
  176. data/lib/stackone/models/shared/linkedaccountmeta.rb +5 -15
  177. data/lib/stackone/models/shared/list.rb +10 -10
  178. data/lib/stackone/models/shared/listresult.rb +3 -3
  179. data/lib/stackone/models/shared/listspaginated.rb +5 -5
  180. data/lib/stackone/models/shared/location.rb +3 -3
  181. data/lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb +5 -5
  182. data/lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb +5 -5
  183. data/lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb +5 -5
  184. data/lib/stackone/models/shared/message.rb +5 -5
  185. data/lib/stackone/models/shared/note.rb +11 -11
  186. data/lib/stackone/models/shared/notecontentapimodel.rb +2 -2
  187. data/lib/stackone/models/shared/noteresult.rb +3 -3
  188. data/lib/stackone/models/shared/notespaginated.rb +5 -5
  189. data/lib/stackone/models/shared/offer.rb +10 -10
  190. data/lib/stackone/models/shared/offerhistory.rb +6 -6
  191. data/lib/stackone/models/shared/offerspaginated.rb +5 -5
  192. data/lib/stackone/models/shared/offersresult.rb +3 -3
  193. data/lib/stackone/models/shared/offerstatusenum.rb +3 -3
  194. data/lib/stackone/models/shared/patchaccountdto.rb +1 -1
  195. data/lib/stackone/models/shared/proxyrequestbody.rb +8 -8
  196. data/lib/stackone/models/shared/pushmessages.rb +10 -10
  197. data/lib/stackone/models/shared/questionnaire.rb +3 -3
  198. data/lib/stackone/models/shared/rawresponse.rb +6 -6
  199. data/lib/stackone/models/shared/rejectedreason.rb +4 -4
  200. data/lib/stackone/models/shared/rejectedreasonresult.rb +3 -3
  201. data/lib/stackone/models/shared/rejectedreasonspaginated.rb +5 -5
  202. data/lib/stackone/models/shared/rejectedreasontypeenum.rb +3 -3
  203. data/lib/stackone/models/shared/resultlink.rb +3 -3
  204. data/lib/stackone/models/shared/scorecard.rb +11 -11
  205. data/lib/stackone/models/shared/scorecardsection.rb +4 -4
  206. data/lib/stackone/models/shared/scorecardspaginated.rb +5 -5
  207. data/lib/stackone/models/shared/security.rb +1 -1
  208. data/lib/stackone/models/shared/sociallink.rb +3 -3
  209. data/lib/stackone/models/shared/template.rb +6 -6
  210. data/lib/stackone/models/shared/templateresult.rb +3 -3
  211. data/lib/stackone/models/shared/templatespaginated.rb +5 -5
  212. data/lib/stackone/models/shared/timeoff.rb +16 -16
  213. data/lib/stackone/models/shared/timeoffpaginated.rb +5 -5
  214. data/lib/stackone/models/shared/timeoffresult.rb +3 -3
  215. data/lib/stackone/models/shared/updateresult.rb +4 -4
  216. data/lib/stackone/models/shared/user.rb +7 -7
  217. data/lib/stackone/models/shared/userresult.rb +3 -3
  218. data/lib/stackone/models/shared/userspaginated.rb +5 -5
  219. data/lib/stackone/sdkconfiguration.rb +5 -5
  220. data/lib/stackone/utils/utils.rb +2 -2
  221. data/lib/stackone_client.rb +228 -221
  222. metadata +14 -7
@@ -11,23 +11,23 @@ require_relative '../shared/applicationcandidate'
11
11
  module StackOne
12
12
  module Shared
13
13
 
14
- class AtsCreateApplicationRequestDto < StackOne::Utils::FieldAugmented
14
+ class AtsCreateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
15
15
  extend T::Sig
16
16
 
17
17
 
18
- field :application_status, Shared::ApplicationStatusEnumApiModel, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('application_status') } }
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': OpenApiSDK::Utils.field_name('candidate') } }
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': OpenApiSDK::Utils.field_name('attachments') } }
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': OpenApiSDK::Utils.field_name('candidate_id') } }
24
+ field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
25
25
  # Unique identifier of the job
26
- field :job_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('job_id') } }
26
+ field :job_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
27
27
  # Unique identifiers of the locations
28
- field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('location_ids') } }
28
+ field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
29
29
  # Questionnaires associated with the application
30
- field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('questionnaires') } }
30
+ field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
31
31
 
32
32
 
33
33
  sig { params(application_status: Shared::ApplicationStatusEnumApiModel, candidate: Shared::ApplicationCandidate, attachments: T.nilable(T::Array[Shared::ApplicationAttachment]), candidate_id: T.nilable(String), job_id: T.nilable(String), location_ids: T.nilable(T::Array[String]), questionnaires: T.nilable(T::Array[Shared::Questionnaire])).void }
@@ -9,25 +9,25 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class AtsCreateCandidateRequestDto < StackOne::Utils::FieldAugmented
12
+ class AtsCreateCandidateRequestDto < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
  # List of candidate emails
16
- field :emails, T::Array[Shared::CandidateEmail], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('emails') } }
16
+ field :emails, T::Array[Shared::CandidateEmail], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
17
17
  # Candidate first name
18
- field :first_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('first_name') } }
18
+ field :first_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
19
19
  # Candidate last name
20
- field :last_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('last_name') } }
20
+ field :last_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
21
21
  # Candidate name
22
- field :name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
22
+ field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
23
23
  # Candidate title
24
- field :title, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('title') } }
24
+ field :title, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
25
25
  # List of candidate application IDs
26
- field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('application_ids') } }
26
+ field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
27
27
  # Candidate company
28
- field :company, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('company') } }
28
+ field :company, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
29
29
  # Candidate phone number
30
- field :phone, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('phone') } }
30
+ field :phone, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
31
31
 
32
32
 
33
33
  sig { params(emails: T::Array[Shared::CandidateEmail], first_name: String, last_name: String, name: String, title: String, application_ids: T.nilable(T::Array[String]), company: T.nilable(String), phone: T.nilable(String)).void }
@@ -18,13 +18,13 @@ module StackOne
18
18
 
19
19
 
20
20
  # Visibility of the note
21
- class Visibility < StackOne::Utils::FieldAugmented
21
+ class Visibility < ::StackOne::Utils::FieldAugmented
22
22
  extend T::Sig
23
23
 
24
24
  # The source value of the notes visibility.
25
- field :source_value, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
25
+ field :source_value, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
26
26
  # The visibility of the notes.
27
- field :value, T.nilable(Shared::AtsCreateNotesRequestDtoValue), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AtsCreateNotesRequestDtoValue, true) } }
27
+ field :value, T.nilable(Shared::AtsCreateNotesRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AtsCreateNotesRequestDtoValue, true) } }
28
28
 
29
29
 
30
30
  sig { params(source_value: T.nilable(String), value: T.nilable(Shared::AtsCreateNotesRequestDtoValue)).void }
@@ -35,15 +35,15 @@ module StackOne
35
35
  end
36
36
 
37
37
 
38
- class AtsCreateNotesRequestDto < StackOne::Utils::FieldAugmented
38
+ class AtsCreateNotesRequestDto < ::StackOne::Utils::FieldAugmented
39
39
  extend T::Sig
40
40
 
41
41
 
42
- field :content, T::Array[Shared::NoteContentApiModel], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('content') } }
42
+ field :content, T::Array[Shared::NoteContentApiModel], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
43
43
  # Unique identifier of the author
44
- field :author_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('author_id') } }
44
+ field :author_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author_id') } }
45
45
  # Visibility of the note
46
- field :visibility, T.nilable(Shared::Visibility), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('visibility') } }
46
+ field :visibility, T.nilable(Shared::Visibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
47
47
 
48
48
 
49
49
  sig { params(content: T::Array[Shared::NoteContentApiModel], author_id: T.nilable(String), visibility: T.nilable(Shared::Visibility)).void }
@@ -10,21 +10,21 @@ require_relative '../shared/offerstatusenum'
10
10
  module StackOne
11
11
  module Shared
12
12
 
13
- class AtsCreateOfferRequestDto < StackOne::Utils::FieldAugmented
13
+ class AtsCreateOfferRequestDto < ::StackOne::Utils::FieldAugmented
14
14
  extend T::Sig
15
15
 
16
16
 
17
- field :application_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('application_id') } }
17
+ field :application_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
18
18
 
19
- field :offer_status, Shared::OfferStatusEnum, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('offer_status') } }
19
+ field :offer_status, Shared::OfferStatusEnum, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } }
20
20
  # Date of creation
21
- field :start_date, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(false) } }
21
+ field :start_date, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(false) } }
22
22
 
23
- field :currency, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('currency') } }
23
+ field :currency, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('currency') } }
24
24
 
25
- field :offer_history, T.nilable(T::Array[Shared::OfferHistory]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('offer_history') } }
25
+ field :offer_history, T.nilable(T::Array[Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } }
26
26
 
27
- field :salary, T.nilable(Float), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('salary') } }
27
+ field :salary, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
28
28
 
29
29
 
30
30
  sig { params(application_id: String, offer_status: Shared::OfferStatusEnum, start_date: DateTime, currency: T.nilable(String), offer_history: T.nilable(T::Array[Shared::OfferHistory]), salary: T.nilable(Float)).void }
@@ -9,13 +9,13 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class ATSLocation < StackOne::Utils::FieldAugmented
12
+ class ATSLocation < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
16
+ field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
17
17
 
18
- field :name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
18
+ field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
19
19
 
20
20
 
21
21
  sig { params(id: String, name: String).void }
@@ -10,13 +10,13 @@ require_relative '../shared/atslocation'
10
10
  module StackOne
11
11
  module Shared
12
12
 
13
- class ATSLocationResult < StackOne::Utils::FieldAugmented
13
+ class ATSLocationResult < ::StackOne::Utils::FieldAugmented
14
14
  extend T::Sig
15
15
 
16
16
 
17
- field :data, Shared::ATSLocation, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
17
+ field :data, Shared::ATSLocation, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
18
18
 
19
- field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('raw') } }
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::ATSLocation, 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 ATSLocationsPaginated < StackOne::Utils::FieldAugmented
12
+ class ATSLocationsPaginated < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :data, T::Array[Shared::ATSLocation], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
16
+ field :data, T::Array[Shared::ATSLocation], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
17
17
 
18
- field :next_, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('next') } }
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': OpenApiSDK::Utils.field_name('next_page') } }
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': OpenApiSDK::Utils.field_name('raw') } }
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::ATSLocation], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
@@ -11,25 +11,25 @@ require_relative '../shared/applicationcandidate'
11
11
  module StackOne
12
12
  module Shared
13
13
 
14
- class AtsUpdateApplicationRequestDto < StackOne::Utils::FieldAugmented
14
+ class AtsUpdateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
15
15
  extend T::Sig
16
16
 
17
17
 
18
- field :application_status, T.nilable(Shared::ApplicationStatusEnumApiModel), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('application_status') } }
18
+ field :application_status, T.nilable(Shared::ApplicationStatusEnumApiModel), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
19
19
 
20
- field :attachments, T.nilable(T::Array[Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('attachments') } }
20
+ field :attachments, T.nilable(T::Array[Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
21
21
 
22
- field :candidate, T.nilable(Shared::ApplicationCandidate), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('candidate') } }
22
+ field :candidate, T.nilable(Shared::ApplicationCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
23
23
  # Unique identifier of the candidate
24
- field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('candidate_id') } }
24
+ field :candidate_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
25
25
  # The ID of the application to update.
26
- field :id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
26
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
27
27
  # Unique identifier of the job
28
- field :job_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('job_id') } }
28
+ field :job_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
29
29
  # Unique identifiers of the locations
30
- field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('location_ids') } }
30
+ field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
31
31
  # Questionnaires associated with the application
32
- field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('questionnaires') } }
32
+ field :questionnaires, T.nilable(T::Array[Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
33
33
 
34
34
 
35
35
  sig { params(application_status: T.nilable(Shared::ApplicationStatusEnumApiModel), attachments: T.nilable(T::Array[Shared::ApplicationAttachment]), candidate: T.nilable(Shared::ApplicationCandidate), candidate_id: T.nilable(String), id: T.nilable(String), job_id: T.nilable(String), location_ids: T.nilable(T::Array[String]), questionnaires: T.nilable(T::Array[Shared::Questionnaire])).void }
@@ -9,27 +9,27 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class AtsUpdateCandidatesRequestDto < StackOne::Utils::FieldAugmented
12
+ class AtsUpdateCandidatesRequestDto < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
  # List of candidate application IDs
16
- field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('application_ids') } }
16
+ field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
17
17
  # Candidate company
18
- field :company, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('company') } }
18
+ field :company, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
19
19
  # List of candidate emails
20
- field :emails, T.nilable(T::Array[Shared::CandidateEmail]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('emails') } }
20
+ field :emails, T.nilable(T::Array[Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
21
21
  # Candidate first name
22
- field :first_name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('first_name') } }
22
+ field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
23
23
  # The ID of the candidate to update.
24
- field :id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
24
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
25
25
  # Candidate last name
26
- field :last_name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('last_name') } }
26
+ field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
27
27
  # Candidate name
28
- field :name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
28
+ field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
29
29
  # Candidate phone number
30
- field :phone, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('phone') } }
30
+ field :phone, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
31
31
  # Candidate title
32
- field :title, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('title') } }
32
+ field :title, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
33
33
 
34
34
 
35
35
  sig { params(application_ids: T.nilable(T::Array[String]), company: T.nilable(String), emails: T.nilable(T::Array[Shared::CandidateEmail]), first_name: T.nilable(String), id: T.nilable(String), last_name: T.nilable(String), name: T.nilable(String), phone: T.nilable(String), title: T.nilable(String)).void }
@@ -21,13 +21,13 @@ module StackOne
21
21
 
22
22
 
23
23
 
24
- class AttachmentType < StackOne::Utils::FieldAugmented
24
+ class AttachmentType < ::StackOne::Utils::FieldAugmented
25
25
  extend T::Sig
26
26
 
27
27
  # The source value of the attachment type.
28
- field :source_value, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
28
+ field :source_value, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
29
29
  # The type of the attachment.
30
- field :value, T.nilable(Shared::AttachmentTypeValue), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AttachmentTypeValue, true) } }
30
+ field :value, T.nilable(Shared::AttachmentTypeValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::AttachmentTypeValue, true) } }
31
31
 
32
32
 
33
33
  sig { params(source_value: T.nilable(String), value: T.nilable(Shared::AttachmentTypeValue)).void }
@@ -21,13 +21,13 @@ module StackOne
21
21
 
22
22
 
23
23
  # The schedule type
24
- class ScheduleType < StackOne::Utils::FieldAugmented
24
+ class ScheduleType < ::StackOne::Utils::FieldAugmented
25
25
  extend T::Sig
26
26
 
27
27
  # The source value of the schedule type.
28
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
28
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
29
29
  # The schedule type of the campaign.
30
- field :value, Shared::CampaignValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::CampaignValue, false) } }
30
+ field :value, Shared::CampaignValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::CampaignValue, false) } }
31
31
 
32
32
 
33
33
  sig { params(source_value: String, value: Shared::CampaignValue).void }
@@ -48,13 +48,13 @@ module StackOne
48
48
 
49
49
 
50
50
  # Status of the Campaign
51
- class Status < StackOne::Utils::FieldAugmented
51
+ class Status < ::StackOne::Utils::FieldAugmented
52
52
  extend T::Sig
53
53
 
54
54
  # The source value of the Status.
55
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
55
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
56
56
  # The Status of the campaign.
57
- field :value, Shared::CampaignSchemasValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::CampaignSchemasValue, false) } }
57
+ field :value, Shared::CampaignSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::CampaignSchemasValue, false) } }
58
58
 
59
59
 
60
60
  sig { params(source_value: String, value: Shared::CampaignSchemasValue).void }
@@ -65,37 +65,37 @@ module StackOne
65
65
  end
66
66
 
67
67
 
68
- class Campaign < StackOne::Utils::FieldAugmented
68
+ class Campaign < ::StackOne::Utils::FieldAugmented
69
69
  extend T::Sig
70
70
 
71
71
 
72
- field :name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
72
+ field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
73
73
 
74
- field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('archived') } }
74
+ field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('archived') } }
75
75
  # channels of the Campaign
76
- field :channels, T.nilable(T::Array[Shared::ChannelsEnum]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('channels') } }
76
+ field :channels, T.nilable(T::Array[Shared::ChannelsEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('channels') } }
77
77
  # The created_at date
78
- field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
78
+ field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
79
79
 
80
- field :description, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('description') } }
80
+ field :description, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
81
81
 
82
- field :draft, T.nilable(T::Boolean), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('draft') } }
82
+ field :draft, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('draft') } }
83
83
  # The first_sent_at date
84
- field :first_sent_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('first_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
84
+ field :first_sent_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
85
85
 
86
- field :id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
86
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
87
87
  # The last_sent_at date
88
- field :last_sent_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('last_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
88
+ field :last_sent_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
89
89
 
90
- field :messages, T.nilable(T::Array[Shared::Message]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('messages') } }
90
+ field :messages, T.nilable(T::Array[Shared::Message]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
91
91
  # The schedule type
92
- field :schedule_type, T.nilable(Shared::ScheduleType), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('schedule_type') } }
92
+ field :schedule_type, T.nilable(Shared::ScheduleType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('schedule_type') } }
93
93
  # Status of the Campaign
94
- field :status, T.nilable(Shared::Status), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('status') } }
94
+ field :status, T.nilable(Shared::Status), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
95
95
 
96
- field :tags, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('tags') } }
96
+ field :tags, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
97
97
  # The updated_at date
98
- field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
98
+ field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
99
99
 
100
100
 
101
101
  sig { params(name: String, archived: T.nilable(T::Boolean), channels: T.nilable(T::Array[Shared::ChannelsEnum]), created_at: T.nilable(DateTime), description: T.nilable(String), draft: T.nilable(T::Boolean), first_sent_at: T.nilable(DateTime), id: T.nilable(String), last_sent_at: T.nilable(DateTime), messages: T.nilable(T::Array[Shared::Message]), schedule_type: T.nilable(Shared::ScheduleType), status: T.nilable(Shared::Status), tags: T.nilable(T::Array[String]), updated_at: T.nilable(DateTime)).void }
@@ -10,13 +10,13 @@ require_relative '../shared/campaign'
10
10
  module StackOne
11
11
  module Shared
12
12
 
13
- class CampaignResult < StackOne::Utils::FieldAugmented
13
+ class CampaignResult < ::StackOne::Utils::FieldAugmented
14
14
  extend T::Sig
15
15
 
16
16
 
17
- field :data, Shared::Campaign, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
17
+ field :data, Shared::Campaign, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
18
18
 
19
- field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('raw') } }
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::Campaign, 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 CampaignsPaginated < StackOne::Utils::FieldAugmented
12
+ class CampaignsPaginated < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :data, T::Array[Shared::Campaign], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
16
+ field :data, T::Array[Shared::Campaign], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
17
17
 
18
- field :next_, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('next') } }
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': OpenApiSDK::Utils.field_name('next_page') } }
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': OpenApiSDK::Utils.field_name('raw') } }
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::Campaign], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
@@ -9,37 +9,37 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class Candidate < StackOne::Utils::FieldAugmented
12
+ class Candidate < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
  # Candidate created date
16
- field :created_at, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
16
+ field :created_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
17
17
  # Candidate email
18
- field :email, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('email') } }
18
+ field :email, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
19
19
  # List of candidate emails
20
- field :emails, T::Array[Shared::CandidateEmail], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('emails') } }
20
+ field :emails, T::Array[Shared::CandidateEmail], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
21
21
  # Candidate first name
22
- field :first_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('first_name') } }
22
+ field :first_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
23
23
  # Candidate ID
24
- field :id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
24
+ field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
25
25
  # Candidate last name
26
- field :last_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('last_name') } }
26
+ field :last_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
27
27
  # Candidate name
28
- field :name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
28
+ field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
29
29
  # List of candidate social links
30
- field :social_links, T::Array[Shared::SocialLink], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('social_links') } }
30
+ field :social_links, T::Array[Shared::SocialLink], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
31
31
  # Candidate title
32
- field :title, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('title') } }
32
+ field :title, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
33
33
  # Candidate updated date
34
- field :updated_at, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
34
+ field :updated_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
35
35
  # List of candidate application IDs
36
- field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('application_ids') } }
36
+ field :application_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
37
37
  # Candidate company
38
- field :company, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('company') } }
38
+ field :company, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
39
39
  # Candidate hired date
40
- field :hired_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
40
+ field :hired_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
41
41
  # Candidate phone number
42
- field :phone, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('phone') } }
42
+ field :phone, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
43
43
 
44
44
 
45
45
  sig { params(created_at: DateTime, email: String, emails: T::Array[Shared::CandidateEmail], first_name: String, id: String, last_name: String, name: String, social_links: T::Array[Shared::SocialLink], title: String, updated_at: DateTime, application_ids: T.nilable(T::Array[String]), company: T.nilable(String), hired_at: T.nilable(DateTime), phone: T.nilable(String)).void }
@@ -9,13 +9,13 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class CandidateEmail < StackOne::Utils::FieldAugmented
12
+ class CandidateEmail < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
  # Type of the email
16
- field :type, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('type') } }
16
+ field :type, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
17
17
  # Email value
18
- field :value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value') } }
18
+ field :value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
19
19
 
20
20
 
21
21
  sig { params(type: String, value: String).void }
@@ -10,13 +10,13 @@ require_relative '../shared/candidate'
10
10
  module StackOne
11
11
  module Shared
12
12
 
13
- class CandidateResult < StackOne::Utils::FieldAugmented
13
+ class CandidateResult < ::StackOne::Utils::FieldAugmented
14
14
  extend T::Sig
15
15
 
16
16
 
17
- field :data, Shared::Candidate, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
17
+ field :data, Shared::Candidate, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
18
18
 
19
- field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('raw') } }
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::Candidate, 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 CandidatesPaginated < StackOne::Utils::FieldAugmented
12
+ class CandidatesPaginated < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :data, T::Array[Shared::Candidate], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
16
+ field :data, T::Array[Shared::Candidate], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
17
17
 
18
- field :next_, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('next') } }
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': OpenApiSDK::Utils.field_name('next_page') } }
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': OpenApiSDK::Utils.field_name('raw') } }
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::Candidate], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
@@ -23,13 +23,13 @@ module StackOne
23
23
 
24
24
 
25
25
 
26
- class ChannelsEnum < StackOne::Utils::FieldAugmented
26
+ class ChannelsEnum < ::StackOne::Utils::FieldAugmented
27
27
  extend T::Sig
28
28
 
29
29
  # The source value of the Channels.
30
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
30
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
31
31
  # The Channels of the campaign.
32
- field :value, Shared::ChannelsEnumValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::ChannelsEnumValue, false) } }
32
+ field :value, Shared::ChannelsEnumValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::ChannelsEnumValue, false) } }
33
33
 
34
34
 
35
35
  sig { params(source_value: String, value: Shared::ChannelsEnumValue).void }
@@ -9,17 +9,17 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class CompaniesPaginated < StackOne::Utils::FieldAugmented
12
+ class CompaniesPaginated < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :data, T::Array[Shared::Company], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
16
+ field :data, T::Array[Shared::Company], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
17
17
 
18
- field :next_, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('next') } }
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': OpenApiSDK::Utils.field_name('next_page') } }
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': OpenApiSDK::Utils.field_name('raw') } }
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::Company], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }