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,7 +11,7 @@ require_relative '../shared/createtimeoffresult'
11
11
  module StackOne
12
12
  module Operations
13
13
 
14
- class HrisCreateTimeOffRequestRequest < StackOne::Utils::FieldAugmented
14
+ class HrisCreateTimeOffRequestRequest < ::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 HrisCreateTimeOffRequestResponse < StackOne::Utils::FieldAugmented
31
+ class HrisCreateTimeOffRequestResponse < ::StackOne::Utils::FieldAugmented
32
32
  extend T::Sig
33
33
 
34
34
  # HTTP response content type for this operation
@@ -9,18 +9,8 @@ require_relative '../shared/companyresult'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisGetCompanyQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisGetCompanyRequest < StackOne::Utils::FieldAugmented
13
+ class HrisGetCompanyRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
 
@@ -38,7 +28,7 @@ module StackOne
38
28
  # The number of results per page
39
29
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::HrisGetCompanyQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
31
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
32
  # Indicates that the raw request result is returned
43
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
34
  # The sync token to select the only updated results
@@ -47,7 +37,7 @@ module StackOne
47
37
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
38
 
49
39
 
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisGetCompanyQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
40
+ sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
41
  def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
42
  @id = id
53
43
  @x_account_id = x_account_id
@@ -63,7 +53,7 @@ module StackOne
63
53
  end
64
54
 
65
55
 
66
- class HrisGetCompanyResponse < StackOne::Utils::FieldAugmented
56
+ class HrisGetCompanyResponse < ::StackOne::Utils::FieldAugmented
67
57
  extend T::Sig
68
58
 
69
59
  # HTTP response content type for this operation
@@ -9,18 +9,8 @@ require_relative '../shared/employeeresult'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisGetEmployeeQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisGetEmployeeRequest < StackOne::Utils::FieldAugmented
13
+ class HrisGetEmployeeRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
 
@@ -42,7 +32,7 @@ module StackOne
42
32
  # The number of results per page
43
33
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
44
34
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
45
- field :proxy, T.nilable(Operations::HrisGetEmployeeQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
35
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
46
36
  # Indicates that the raw request result is returned
47
37
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
48
38
  # The sync token to select the only updated results
@@ -51,7 +41,7 @@ module StackOne
51
41
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
52
42
 
53
43
 
54
- sig { params(id: String, x_account_id: String, expand: T.nilable(String), fields: T.nilable(String), include: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisGetEmployeeQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
44
+ sig { params(id: String, x_account_id: String, expand: T.nilable(String), fields: T.nilable(String), include: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
55
45
  def initialize(id: nil, x_account_id: nil, expand: nil, fields: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
56
46
  @id = id
57
47
  @x_account_id = x_account_id
@@ -69,7 +59,7 @@ module StackOne
69
59
  end
70
60
 
71
61
 
72
- class HrisGetEmployeeResponse < StackOne::Utils::FieldAugmented
62
+ class HrisGetEmployeeResponse < ::StackOne::Utils::FieldAugmented
73
63
  extend T::Sig
74
64
 
75
65
  # HTTP response content type for this operation
@@ -0,0 +1,81 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ require 'sorbet-runtime'
7
+ require 'faraday'
8
+ require_relative '../shared/documentresult'
9
+
10
+ module StackOne
11
+ module Operations
12
+
13
+ class HrisGetEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+ field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
+
19
+ field :sub_resource_id, String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
20
+ # The account identifier
21
+ field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
22
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
23
+ field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
24
+ # The unified cursor
25
+ field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
26
+ # The page number of the results to fetch
27
+ #
28
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
29
+ field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
30
+ # The number of results per page
31
+ field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
32
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
33
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
34
+ # Indicates that the raw request result is returned
35
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
36
+ # The sync token to select the only updated results
37
+ field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
38
+ # Use a string with a date to only select results updated after that given date
39
+ field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
+
41
+
42
+ sig { params(id: String, sub_resource_id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
43
+ def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
44
+ @id = id
45
+ @sub_resource_id = sub_resource_id
46
+ @x_account_id = x_account_id
47
+ @fields = fields
48
+ @next_ = next_
49
+ @page = page
50
+ @page_size = page_size
51
+ @proxy = proxy
52
+ @raw = raw
53
+ @sync_token = sync_token
54
+ @updated_after = updated_after
55
+ end
56
+ end
57
+
58
+
59
+ class HrisGetEmployeeDocumentResponse < ::StackOne::Utils::FieldAugmented
60
+ extend T::Sig
61
+
62
+ # HTTP response content type for this operation
63
+ field :content_type, String
64
+ # Raw HTTP response; suitable for custom response parsing
65
+ field :raw_response, Faraday::Response
66
+ # HTTP response status code for this operation
67
+ field :status_code, Integer
68
+ # The document related to the employee with the given identifiers was retrieved.
69
+ field :document_result, T.nilable(Shared::DocumentResult)
70
+
71
+
72
+ sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, document_result: T.nilable(Shared::DocumentResult)).void }
73
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, document_result: nil)
74
+ @content_type = content_type
75
+ @raw_response = raw_response
76
+ @status_code = status_code
77
+ @document_result = document_result
78
+ end
79
+ end
80
+ end
81
+ end
@@ -9,18 +9,8 @@ require_relative '../shared/timeoffresult'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisGetEmployeesTimeOffRequestQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisGetEmployeesTimeOffRequestRequest < StackOne::Utils::FieldAugmented
13
+ class HrisGetEmployeesTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
 
@@ -40,7 +30,7 @@ module StackOne
40
30
  # The number of results per page
41
31
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
42
32
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
43
- field :proxy, T.nilable(Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
33
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
44
34
  # Indicates that the raw request result is returned
45
35
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
46
36
  # The sync token to select the only updated results
@@ -49,7 +39,7 @@ module StackOne
49
39
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
50
40
 
51
41
 
52
- sig { params(id: String, sub_resource_id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
42
+ sig { params(id: String, sub_resource_id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
53
43
  def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
54
44
  @id = id
55
45
  @sub_resource_id = sub_resource_id
@@ -66,7 +56,7 @@ module StackOne
66
56
  end
67
57
 
68
58
 
69
- class HrisGetEmployeesTimeOffRequestResponse < StackOne::Utils::FieldAugmented
59
+ class HrisGetEmployeesTimeOffRequestResponse < ::StackOne::Utils::FieldAugmented
70
60
  extend T::Sig
71
61
 
72
62
  # HTTP response content type for this operation
@@ -9,18 +9,8 @@ require_relative '../shared/employmentresult'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisGetEmploymentQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisGetEmploymentRequest < StackOne::Utils::FieldAugmented
13
+ class HrisGetEmploymentRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
 
@@ -38,7 +28,7 @@ module StackOne
38
28
  # The number of results per page
39
29
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::HrisGetEmploymentQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
31
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
32
  # Indicates that the raw request result is returned
43
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
34
  # The sync token to select the only updated results
@@ -47,7 +37,7 @@ module StackOne
47
37
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
38
 
49
39
 
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisGetEmploymentQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
40
+ sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
41
  def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
42
  @id = id
53
43
  @x_account_id = x_account_id
@@ -63,7 +53,7 @@ module StackOne
63
53
  end
64
54
 
65
55
 
66
- class HrisGetEmploymentResponse < StackOne::Utils::FieldAugmented
56
+ class HrisGetEmploymentResponse < ::StackOne::Utils::FieldAugmented
67
57
  extend T::Sig
68
58
 
69
59
  # HTTP response content type for this operation
@@ -9,18 +9,8 @@ require_relative '../shared/hrislocationresult'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisGetLocationQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisGetLocationRequest < StackOne::Utils::FieldAugmented
13
+ class HrisGetLocationRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
 
@@ -38,7 +28,7 @@ module StackOne
38
28
  # The number of results per page
39
29
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::HrisGetLocationQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
31
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
32
  # Indicates that the raw request result is returned
43
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
34
  # The sync token to select the only updated results
@@ -47,7 +37,7 @@ module StackOne
47
37
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
38
 
49
39
 
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisGetLocationQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
40
+ sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
41
  def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
42
  @id = id
53
43
  @x_account_id = x_account_id
@@ -63,7 +53,7 @@ module StackOne
63
53
  end
64
54
 
65
55
 
66
- class HrisGetLocationResponse < StackOne::Utils::FieldAugmented
56
+ class HrisGetLocationResponse < ::StackOne::Utils::FieldAugmented
67
57
  extend T::Sig
68
58
 
69
59
  # HTTP response content type for this operation
@@ -9,18 +9,8 @@ require_relative '../shared/timeoffresult'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisGetTimeOffRequestQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisGetTimeOffRequestRequest < StackOne::Utils::FieldAugmented
13
+ class HrisGetTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
 
@@ -38,7 +28,7 @@ module StackOne
38
28
  # The number of results per page
39
29
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::HrisGetTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
31
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
32
  # Indicates that the raw request result is returned
43
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
34
  # The sync token to select the only updated results
@@ -47,7 +37,7 @@ module StackOne
47
37
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
38
 
49
39
 
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisGetTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
40
+ sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
41
  def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
42
  @id = id
53
43
  @x_account_id = x_account_id
@@ -63,7 +53,7 @@ module StackOne
63
53
  end
64
54
 
65
55
 
66
- class HrisGetTimeOffRequestResponse < StackOne::Utils::FieldAugmented
56
+ class HrisGetTimeOffRequestResponse < ::StackOne::Utils::FieldAugmented
67
57
  extend T::Sig
68
58
 
69
59
  # HTTP response content type for this operation
@@ -9,18 +9,8 @@ require_relative '../shared/companiespaginated'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisListCompaniesQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisListCompaniesRequest < StackOne::Utils::FieldAugmented
13
+ class HrisListCompaniesRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
  # The account identifier
@@ -36,7 +26,7 @@ module StackOne
36
26
  # The number of results per page
37
27
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
38
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
39
- field :proxy, T.nilable(Operations::HrisListCompaniesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
29
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
40
30
  # Indicates that the raw request result is returned
41
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
42
32
  # The sync token to select the only updated results
@@ -45,7 +35,7 @@ module StackOne
45
35
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
46
36
 
47
37
 
48
- sig { params(x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisListCompaniesQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
38
+ sig { params(x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
49
39
  def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
50
40
  @x_account_id = x_account_id
51
41
  @fields = fields
@@ -60,7 +50,7 @@ module StackOne
60
50
  end
61
51
 
62
52
 
63
- class HrisListCompaniesResponse < StackOne::Utils::FieldAugmented
53
+ class HrisListCompaniesResponse < ::StackOne::Utils::FieldAugmented
64
54
  extend T::Sig
65
55
 
66
56
  # HTTP response content type for this operation
@@ -0,0 +1,78 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ require 'sorbet-runtime'
7
+ require 'faraday'
8
+ require_relative '../shared/documentspaginated'
9
+
10
+ module StackOne
11
+ module Operations
12
+
13
+ class HrisListEmployeeDocumentsRequest < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+ field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
+ # The account identifier
19
+ field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
21
+ field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
+ # The unified cursor
23
+ field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
+ # The page number of the results to fetch
25
+ #
26
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
+ field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
+ # The number of results per page
29
+ field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
31
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
+ # Indicates that the raw request result is returned
33
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
+ # The sync token to select the only updated results
35
+ field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
36
+ # Use a string with a date to only select results updated after that given date
37
+ field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
+
39
+
40
+ sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
41
+ def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
42
+ @id = id
43
+ @x_account_id = x_account_id
44
+ @fields = fields
45
+ @next_ = next_
46
+ @page = page
47
+ @page_size = page_size
48
+ @proxy = proxy
49
+ @raw = raw
50
+ @sync_token = sync_token
51
+ @updated_after = updated_after
52
+ end
53
+ end
54
+
55
+
56
+ class HrisListEmployeeDocumentsResponse < ::StackOne::Utils::FieldAugmented
57
+ extend T::Sig
58
+
59
+ # HTTP response content type for this operation
60
+ field :content_type, String
61
+ # Raw HTTP response; suitable for custom response parsing
62
+ field :raw_response, Faraday::Response
63
+ # HTTP response status code for this operation
64
+ field :status_code, Integer
65
+ # The documents related to the employee with the given identifier were retrieved.
66
+ field :documents_paginated, T.nilable(Shared::DocumentsPaginated)
67
+
68
+
69
+ sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, documents_paginated: T.nilable(Shared::DocumentsPaginated)).void }
70
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, documents_paginated: nil)
71
+ @content_type = content_type
72
+ @raw_response = raw_response
73
+ @status_code = status_code
74
+ @documents_paginated = documents_paginated
75
+ end
76
+ end
77
+ end
78
+ end
@@ -9,18 +9,8 @@ require_relative '../shared/timeoffpaginated'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisListEmployeeTimeOffRequestsQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisListEmployeeTimeOffRequestsRequest < StackOne::Utils::FieldAugmented
13
+ class HrisListEmployeeTimeOffRequestsRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
 
@@ -38,7 +28,7 @@ module StackOne
38
28
  # The number of results per page
39
29
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::HrisListEmployeeTimeOffRequestsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
31
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
32
  # Indicates that the raw request result is returned
43
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
34
  # The sync token to select the only updated results
@@ -47,7 +37,7 @@ module StackOne
47
37
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
38
 
49
39
 
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisListEmployeeTimeOffRequestsQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
40
+ sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
41
  def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
42
  @id = id
53
43
  @x_account_id = x_account_id
@@ -63,7 +53,7 @@ module StackOne
63
53
  end
64
54
 
65
55
 
66
- class HrisListEmployeeTimeOffRequestsResponse < StackOne::Utils::FieldAugmented
56
+ class HrisListEmployeeTimeOffRequestsResponse < ::StackOne::Utils::FieldAugmented
67
57
  extend T::Sig
68
58
 
69
59
  # HTTP response content type for this operation
@@ -9,18 +9,8 @@ require_relative '../shared/employeespaginated'
9
9
 
10
10
  module StackOne
11
11
  module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class HrisListEmployeesQueryParamProxy < StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
12
 
23
- class HrisListEmployeesRequest < StackOne::Utils::FieldAugmented
13
+ class HrisListEmployeesRequest < ::StackOne::Utils::FieldAugmented
24
14
  extend T::Sig
25
15
 
26
16
  # The account identifier
@@ -40,7 +30,7 @@ module StackOne
40
30
  # The number of results per page
41
31
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
42
32
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
43
- field :proxy, T.nilable(Operations::HrisListEmployeesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
33
+ field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
44
34
  # Indicates that the raw request result is returned
45
35
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
46
36
  # The sync token to select the only updated results
@@ -49,7 +39,7 @@ module StackOne
49
39
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
50
40
 
51
41
 
52
- sig { params(x_account_id: String, expand: T.nilable(String), fields: T.nilable(String), include: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::HrisListEmployeesQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
42
+ sig { params(x_account_id: String, expand: T.nilable(String), fields: T.nilable(String), include: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(T::Hash[Symbol, Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
53
43
  def initialize(x_account_id: nil, expand: nil, fields: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
54
44
  @x_account_id = x_account_id
55
45
  @expand = expand
@@ -66,7 +56,7 @@ module StackOne
66
56
  end
67
57
 
68
58
 
69
- class HrisListEmployeesResponse < StackOne::Utils::FieldAugmented
59
+ class HrisListEmployeesResponse < ::StackOne::Utils::FieldAugmented
70
60
  extend T::Sig
71
61
 
72
62
  # HTTP response content type for this operation