stackone_client 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stackone/models/operations/hris_get_company.rb +12 -2
  3. data/lib/stackone/models/operations/hris_get_employee.rb +12 -2
  4. data/lib/stackone/models/operations/hris_get_employee_document.rb +12 -2
  5. data/lib/stackone/models/operations/hris_get_employees_time_off_request.rb +12 -2
  6. data/lib/stackone/models/operations/hris_get_employment.rb +12 -2
  7. data/lib/stackone/models/operations/hris_get_location.rb +12 -2
  8. data/lib/stackone/models/operations/hris_get_time_off_request.rb +12 -2
  9. data/lib/stackone/models/operations/hris_list_companies.rb +12 -2
  10. data/lib/stackone/models/operations/hris_list_employee_documents.rb +12 -2
  11. data/lib/stackone/models/operations/hris_list_employee_time_off_requests.rb +12 -2
  12. data/lib/stackone/models/operations/hris_list_employees.rb +12 -2
  13. data/lib/stackone/models/operations/hris_list_employments.rb +12 -2
  14. data/lib/stackone/models/operations/hris_list_locations.rb +12 -2
  15. data/lib/stackone/models/operations/hris_list_time_off_requests.rb +12 -2
  16. data/lib/stackone/models/shared/connectsession.rb +5 -5
  17. data/lib/stackone/models/shared/connectsessiontoken.rb +5 -5
  18. data/lib/stackone/models/shared/content.rb +9 -8
  19. data/lib/stackone/models/shared/costcenters.rb +28 -0
  20. data/lib/stackone/models/shared/countrycodeenum.rb +6 -6
  21. data/lib/stackone/models/shared/createtimeoffresult.rb +4 -4
  22. data/lib/stackone/models/shared/documentapimodel.rb +8 -8
  23. data/lib/stackone/models/shared/documenttypeenum.rb +3 -3
  24. data/lib/stackone/models/shared/employee.rb +84 -54
  25. data/lib/stackone/models/shared/employeecustomfields.rb +6 -6
  26. data/lib/stackone/models/shared/employment.rb +36 -28
  27. data/lib/stackone/models/shared/fileformatenum.rb +52 -0
  28. data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +43 -36
  29. data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +9 -9
  30. data/lib/stackone/models/shared/hrislocation.rb +15 -15
  31. data/lib/stackone/models/shared/timeoff.rb +6 -6
  32. data/lib/stackone/models/shared/workeligibility.rb +101 -0
  33. data/lib/stackone/sdk.rb +1 -4
  34. data/lib/stackone/sdkconfiguration.rb +3 -3
  35. data/lib/stackone_client.rb +5 -155
  36. metadata +5 -155
  37. data/lib/stackone/ats.rb +0 -1289
  38. data/lib/stackone/crm.rb +0 -323
  39. data/lib/stackone/marketing.rb +0 -584
  40. data/lib/stackone/models/operations/ats_create_application.rb +0 -53
  41. data/lib/stackone/models/operations/ats_create_candidate.rb +0 -53
  42. data/lib/stackone/models/operations/ats_create_candidate_note.rb +0 -56
  43. data/lib/stackone/models/operations/ats_create_offer.rb +0 -53
  44. data/lib/stackone/models/operations/ats_get_application.rb +0 -78
  45. data/lib/stackone/models/operations/ats_get_application_offer.rb +0 -81
  46. data/lib/stackone/models/operations/ats_get_application_scorecard.rb +0 -81
  47. data/lib/stackone/models/operations/ats_get_candidate.rb +0 -78
  48. data/lib/stackone/models/operations/ats_get_candidate_note.rb +0 -81
  49. data/lib/stackone/models/operations/ats_get_department.rb +0 -78
  50. data/lib/stackone/models/operations/ats_get_interview.rb +0 -78
  51. data/lib/stackone/models/operations/ats_get_interview_stage.rb +0 -78
  52. data/lib/stackone/models/operations/ats_get_job.rb +0 -78
  53. data/lib/stackone/models/operations/ats_get_job_posting.rb +0 -81
  54. data/lib/stackone/models/operations/ats_get_location.rb +0 -78
  55. data/lib/stackone/models/operations/ats_get_offer.rb +0 -78
  56. data/lib/stackone/models/operations/ats_get_rejected_reason.rb +0 -78
  57. data/lib/stackone/models/operations/ats_get_user.rb +0 -78
  58. data/lib/stackone/models/operations/ats_list_application_scorecards.rb +0 -78
  59. data/lib/stackone/models/operations/ats_list_applications.rb +0 -75
  60. data/lib/stackone/models/operations/ats_list_applications_offers.rb +0 -78
  61. data/lib/stackone/models/operations/ats_list_candidate_notes.rb +0 -78
  62. data/lib/stackone/models/operations/ats_list_candidates.rb +0 -75
  63. data/lib/stackone/models/operations/ats_list_departments.rb +0 -75
  64. data/lib/stackone/models/operations/ats_list_interview_stages.rb +0 -75
  65. data/lib/stackone/models/operations/ats_list_interviews.rb +0 -75
  66. data/lib/stackone/models/operations/ats_list_job_postings.rb +0 -78
  67. data/lib/stackone/models/operations/ats_list_jobs.rb +0 -75
  68. data/lib/stackone/models/operations/ats_list_locations.rb +0 -75
  69. data/lib/stackone/models/operations/ats_list_offers.rb +0 -75
  70. data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +0 -75
  71. data/lib/stackone/models/operations/ats_list_users.rb +0 -75
  72. data/lib/stackone/models/operations/ats_update_application.rb +0 -56
  73. data/lib/stackone/models/operations/ats_update_candidate.rb +0 -56
  74. data/lib/stackone/models/operations/crm_create_contact.rb +0 -53
  75. data/lib/stackone/models/operations/crm_get_account.rb +0 -78
  76. data/lib/stackone/models/operations/crm_get_contact.rb +0 -78
  77. data/lib/stackone/models/operations/crm_get_list.rb +0 -78
  78. data/lib/stackone/models/operations/crm_list_accounts.rb +0 -75
  79. data/lib/stackone/models/operations/crm_list_contacts.rb +0 -75
  80. data/lib/stackone/models/operations/crm_list_lists.rb +0 -75
  81. data/lib/stackone/models/operations/crm_update_contact.rb +0 -56
  82. data/lib/stackone/models/operations/marketing_create_email_template.rb +0 -53
  83. data/lib/stackone/models/operations/marketing_create_omni_channel_template.rb +0 -53
  84. data/lib/stackone/models/operations/marketing_create_push_template.rb +0 -53
  85. data/lib/stackone/models/operations/marketing_get_campaign.rb +0 -78
  86. data/lib/stackone/models/operations/marketing_get_email_template.rb +0 -78
  87. data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +0 -78
  88. data/lib/stackone/models/operations/marketing_get_push_template.rb +0 -78
  89. data/lib/stackone/models/operations/marketing_list_campaigns.rb +0 -75
  90. data/lib/stackone/models/operations/marketing_list_email_templates.rb +0 -75
  91. data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +0 -75
  92. data/lib/stackone/models/operations/marketing_list_push_templates.rb +0 -75
  93. data/lib/stackone/models/operations/marketing_update_email_template.rb +0 -56
  94. data/lib/stackone/models/operations/marketing_update_omni_channel_template.rb +0 -56
  95. data/lib/stackone/models/operations/marketing_update_push_template.rb +0 -56
  96. data/lib/stackone/models/shared/account.rb +0 -55
  97. data/lib/stackone/models/shared/accountaddress.rb +0 -342
  98. data/lib/stackone/models/shared/accountresult.rb +0 -29
  99. data/lib/stackone/models/shared/accountspaginated.rb +0 -34
  100. data/lib/stackone/models/shared/answer.rb +0 -64
  101. data/lib/stackone/models/shared/application.rb +0 -75
  102. data/lib/stackone/models/shared/applicationattachment.rb +0 -63
  103. data/lib/stackone/models/shared/applicationcandidate.rb +0 -31
  104. data/lib/stackone/models/shared/applicationresult.rb +0 -29
  105. data/lib/stackone/models/shared/applicationspaginated.rb +0 -34
  106. data/lib/stackone/models/shared/applicationstatusenumapimodel.rb +0 -50
  107. data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +0 -45
  108. data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +0 -46
  109. data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +0 -57
  110. data/lib/stackone/models/shared/atscreateofferrequestdto.rb +0 -41
  111. data/lib/stackone/models/shared/atslocation.rb +0 -28
  112. data/lib/stackone/models/shared/atslocationresult.rb +0 -29
  113. data/lib/stackone/models/shared/atslocationspaginated.rb +0 -34
  114. data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +0 -48
  115. data/lib/stackone/models/shared/atsupdatecandidatesrequestdto.rb +0 -49
  116. data/lib/stackone/models/shared/attachmenttype.rb +0 -40
  117. data/lib/stackone/models/shared/campaign.rb +0 -120
  118. data/lib/stackone/models/shared/campaignresult.rb +0 -29
  119. data/lib/stackone/models/shared/campaignspaginated.rb +0 -34
  120. data/lib/stackone/models/shared/candidate.rb +0 -64
  121. data/lib/stackone/models/shared/candidateemail.rb +0 -28
  122. data/lib/stackone/models/shared/candidateresult.rb +0 -29
  123. data/lib/stackone/models/shared/candidatespaginated.rb +0 -34
  124. data/lib/stackone/models/shared/channelsenum.rb +0 -42
  125. data/lib/stackone/models/shared/compensation.rb +0 -149
  126. data/lib/stackone/models/shared/contact.rb +0 -52
  127. data/lib/stackone/models/shared/contactresult.rb +0 -29
  128. data/lib/stackone/models/shared/contactspaginated.rb +0 -34
  129. data/lib/stackone/models/shared/createcandidatenoteresult.rb +0 -31
  130. data/lib/stackone/models/shared/createofferresult.rb +0 -31
  131. data/lib/stackone/models/shared/createresult.rb +0 -31
  132. data/lib/stackone/models/shared/createtemplateresult.rb +0 -31
  133. data/lib/stackone/models/shared/crmcreatecontactrequestdto.rb +0 -43
  134. data/lib/stackone/models/shared/department.rb +0 -28
  135. data/lib/stackone/models/shared/departmentresult.rb +0 -29
  136. data/lib/stackone/models/shared/departmentspaginated.rb +0 -34
  137. data/lib/stackone/models/shared/emailmessages.rb +0 -93
  138. data/lib/stackone/models/shared/field.rb +0 -56
  139. data/lib/stackone/models/shared/hiringteam.rb +0 -37
  140. data/lib/stackone/models/shared/interview.rb +0 -91
  141. data/lib/stackone/models/shared/interviewer.rb +0 -37
  142. data/lib/stackone/models/shared/interviewpart.rb +0 -40
  143. data/lib/stackone/models/shared/interviewspaginated.rb +0 -34
  144. data/lib/stackone/models/shared/interviewsresult.rb +0 -29
  145. data/lib/stackone/models/shared/interviewstage.rb +0 -37
  146. data/lib/stackone/models/shared/interviewstageresult.rb +0 -29
  147. data/lib/stackone/models/shared/interviewstagespaginated.rb +0 -34
  148. data/lib/stackone/models/shared/job.rb +0 -65
  149. data/lib/stackone/models/shared/jobposting.rb +0 -182
  150. data/lib/stackone/models/shared/jobpostingresult.rb +0 -29
  151. data/lib/stackone/models/shared/jobpostingspaginated.rb +0 -34
  152. data/lib/stackone/models/shared/jobresult.rb +0 -29
  153. data/lib/stackone/models/shared/jobspaginated.rb +0 -34
  154. data/lib/stackone/models/shared/jobstatusenum.rb +0 -43
  155. data/lib/stackone/models/shared/list.rb +0 -67
  156. data/lib/stackone/models/shared/listresult.rb +0 -29
  157. data/lib/stackone/models/shared/listspaginated.rb +0 -34
  158. data/lib/stackone/models/shared/location.rb +0 -28
  159. data/lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb +0 -34
  160. data/lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb +0 -34
  161. data/lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb +0 -34
  162. data/lib/stackone/models/shared/message.rb +0 -50
  163. data/lib/stackone/models/shared/note.rb +0 -69
  164. data/lib/stackone/models/shared/notecontentapimodel.rb +0 -25
  165. data/lib/stackone/models/shared/noteresult.rb +0 -29
  166. data/lib/stackone/models/shared/notespaginated.rb +0 -34
  167. data/lib/stackone/models/shared/offer.rb +0 -50
  168. data/lib/stackone/models/shared/offerhistory.rb +0 -37
  169. data/lib/stackone/models/shared/offerspaginated.rb +0 -34
  170. data/lib/stackone/models/shared/offersresult.rb +0 -29
  171. data/lib/stackone/models/shared/offerstatusenum.rb +0 -43
  172. data/lib/stackone/models/shared/pushmessages.rb +0 -81
  173. data/lib/stackone/models/shared/questionnaire.rb +0 -28
  174. data/lib/stackone/models/shared/rejectedreason.rb +0 -32
  175. data/lib/stackone/models/shared/rejectedreasonresult.rb +0 -29
  176. data/lib/stackone/models/shared/rejectedreasonspaginated.rb +0 -34
  177. data/lib/stackone/models/shared/rejectedreasontypeenum.rb +0 -40
  178. data/lib/stackone/models/shared/resultlink.rb +0 -28
  179. data/lib/stackone/models/shared/scorecard.rb +0 -65
  180. data/lib/stackone/models/shared/scorecardsection.rb +0 -31
  181. data/lib/stackone/models/shared/scorecardspaginated.rb +0 -34
  182. data/lib/stackone/models/shared/sociallink.rb +0 -28
  183. data/lib/stackone/models/shared/template.rb +0 -37
  184. data/lib/stackone/models/shared/templateresult.rb +0 -29
  185. data/lib/stackone/models/shared/templatespaginated.rb +0 -34
  186. data/lib/stackone/models/shared/updateresult.rb +0 -31
  187. data/lib/stackone/models/shared/user.rb +0 -40
  188. data/lib/stackone/models/shared/userresult.rb +0 -29
  189. data/lib/stackone/models/shared/userspaginated.rb +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c46abfb76bb1392ea1bf16597150dee5ffaf45668a0fe559cbec95ef1f1428d
4
- data.tar.gz: 82d887736dfc704d9968bec9727fb34c908d49316cbaf5a1ca6f2429fabfb7b4
3
+ metadata.gz: 15ed9f67376f771d14979088ee92ec81d82128f1e68b80da1dd93b32c72473d8
4
+ data.tar.gz: f7f3273b82fecbf7ae86617defe7d654efbe38f9969a36fbae0c0e971948d6e6
5
5
  SHA512:
6
- metadata.gz: 490d3d2d21e4ae81449e5c4e5a19ed3d2716cec6ce9651eb575cd26d90150e132f1e0c1d203bbc5c770dea65b24fc67d6b8e9f71c01d471c3d4d8aa057e8f738
7
- data.tar.gz: 76571ef73a870d960103d28df1f3fe8fbc43e2335f1ff92af5565ef5446adb2d68a47a432edf15b2d90bb5603c98ea3ab66828168a1d582ea4afbbfda50fba9c
6
+ metadata.gz: d0b7564a8bae5fbda6aead499f945e7bc6e06c6c60baae4b9a5449c6ecbb20fad2b6652e96f6df5fa42fb352f5d6b3251a706e542b0e019f925c1598403b0177
7
+ data.tar.gz: f99eac64c65caaf52d034a4ee4988c5d07fbd6a4069b5139ab3710b7ebb64077050272d889490e10bec1d8aaad71e41cd5d39b1c633ba724a81dccfc9444b006
@@ -9,6 +9,16 @@ 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 Proxy < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+
12
22
 
13
23
  class HrisGetCompanyRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -28,7 +38,7 @@ module StackOne
28
38
  # The number of results per page
29
39
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
40
  # 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 } }
41
+ field :proxy, T.nilable(Operations::Proxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
42
  # Indicates that the raw request result is returned
33
43
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
44
  # The sync token to select the only updated results
@@ -37,7 +47,7 @@ module StackOne
37
47
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
48
 
39
49
 
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 }
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::Proxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
41
51
  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
52
  @id = id
43
53
  @x_account_id = x_account_id
@@ -9,6 +9,16 @@ 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 QueryParamProxy < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+
12
22
 
13
23
  class HrisGetEmployeeRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -32,7 +42,7 @@ module StackOne
32
42
  # The number of results per page
33
43
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
34
44
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
35
- field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
45
+ field :proxy, T.nilable(Operations::QueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
36
46
  # Indicates that the raw request result is returned
37
47
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
38
48
  # The sync token to select the only updated results
@@ -41,7 +51,7 @@ module StackOne
41
51
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
42
52
 
43
53
 
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 }
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::QueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
45
55
  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)
46
56
  @id = id
47
57
  @x_account_id = x_account_id
@@ -9,6 +9,16 @@ require_relative '../shared/documentresult'
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 HrisGetEmployeeDocumentQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+
12
22
 
13
23
  class HrisGetEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -30,7 +40,7 @@ module StackOne
30
40
  # The number of results per page
31
41
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
32
42
  # 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 } }
43
+ field :proxy, T.nilable(Operations::HrisGetEmployeeDocumentQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
34
44
  # Indicates that the raw request result is returned
35
45
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
36
46
  # The sync token to select the only updated results
@@ -39,7 +49,7 @@ module StackOne
39
49
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
50
 
41
51
 
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 }
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::HrisGetEmployeeDocumentQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
43
53
  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
54
  @id = id
45
55
  @sub_resource_id = sub_resource_id
@@ -9,6 +9,16 @@ 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
+
12
22
 
13
23
  class HrisGetEmployeesTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -30,7 +40,7 @@ module StackOne
30
40
  # The number of results per page
31
41
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
32
42
  # 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 } }
43
+ field :proxy, T.nilable(Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
34
44
  # Indicates that the raw request result is returned
35
45
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
36
46
  # The sync token to select the only updated results
@@ -39,7 +49,7 @@ module StackOne
39
49
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
50
 
41
51
 
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 }
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 }
43
53
  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
54
  @id = id
45
55
  @sub_resource_id = sub_resource_id
@@ -9,6 +9,16 @@ 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
+
12
22
 
13
23
  class HrisGetEmploymentRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -28,7 +38,7 @@ module StackOne
28
38
  # The number of results per page
29
39
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
40
  # 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 } }
41
+ field :proxy, T.nilable(Operations::HrisGetEmploymentQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
42
  # Indicates that the raw request result is returned
33
43
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
44
  # The sync token to select the only updated results
@@ -37,7 +47,7 @@ module StackOne
37
47
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
48
 
39
49
 
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 }
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 }
41
51
  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
52
  @id = id
43
53
  @x_account_id = x_account_id
@@ -9,6 +9,16 @@ 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
+
12
22
 
13
23
  class HrisGetLocationRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -28,7 +38,7 @@ module StackOne
28
38
  # The number of results per page
29
39
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
40
  # 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 } }
41
+ field :proxy, T.nilable(Operations::HrisGetLocationQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
42
  # Indicates that the raw request result is returned
33
43
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
44
  # The sync token to select the only updated results
@@ -37,7 +47,7 @@ module StackOne
37
47
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
48
 
39
49
 
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 }
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 }
41
51
  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
52
  @id = id
43
53
  @x_account_id = x_account_id
@@ -9,6 +9,16 @@ 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
+
12
22
 
13
23
  class HrisGetTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -28,7 +38,7 @@ module StackOne
28
38
  # The number of results per page
29
39
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
40
  # 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 } }
41
+ field :proxy, T.nilable(Operations::HrisGetTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
42
  # Indicates that the raw request result is returned
33
43
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
44
  # The sync token to select the only updated results
@@ -37,7 +47,7 @@ module StackOne
37
47
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
48
 
39
49
 
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 }
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 }
41
51
  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
52
  @id = id
43
53
  @x_account_id = x_account_id
@@ -9,6 +9,16 @@ 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
+
12
22
 
13
23
  class HrisListCompaniesRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -26,7 +36,7 @@ module StackOne
26
36
  # The number of results per page
27
37
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
38
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
29
- field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
39
+ field :proxy, T.nilable(Operations::HrisListCompaniesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
40
  # Indicates that the raw request result is returned
31
41
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
42
  # The sync token to select the only updated results
@@ -35,7 +45,7 @@ module StackOne
35
45
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
46
 
37
47
 
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 }
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 }
39
49
  def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
40
50
  @x_account_id = x_account_id
41
51
  @fields = fields
@@ -9,6 +9,16 @@ require_relative '../shared/documentspaginated'
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 HrisListEmployeeDocumentsQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+
12
22
 
13
23
  class HrisListEmployeeDocumentsRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -28,7 +38,7 @@ module StackOne
28
38
  # The number of results per page
29
39
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
40
  # 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 } }
41
+ field :proxy, T.nilable(Operations::HrisListEmployeeDocumentsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
42
  # Indicates that the raw request result is returned
33
43
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
44
  # The sync token to select the only updated results
@@ -37,7 +47,7 @@ module StackOne
37
47
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
48
 
39
49
 
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 }
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::HrisListEmployeeDocumentsQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
41
51
  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
52
  @id = id
43
53
  @x_account_id = x_account_id
@@ -9,6 +9,16 @@ 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
+
12
22
 
13
23
  class HrisListEmployeeTimeOffRequestsRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -28,7 +38,7 @@ module StackOne
28
38
  # The number of results per page
29
39
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
40
  # 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 } }
41
+ field :proxy, T.nilable(Operations::HrisListEmployeeTimeOffRequestsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
42
  # Indicates that the raw request result is returned
33
43
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
44
  # The sync token to select the only updated results
@@ -37,7 +47,7 @@ module StackOne
37
47
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
48
 
39
49
 
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 }
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 }
41
51
  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
52
  @id = id
43
53
  @x_account_id = x_account_id
@@ -9,6 +9,16 @@ 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
+
12
22
 
13
23
  class HrisListEmployeesRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -30,7 +40,7 @@ module StackOne
30
40
  # The number of results per page
31
41
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
32
42
  # 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 } }
43
+ field :proxy, T.nilable(Operations::HrisListEmployeesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
34
44
  # Indicates that the raw request result is returned
35
45
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
36
46
  # The sync token to select the only updated results
@@ -39,7 +49,7 @@ module StackOne
39
49
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
50
 
41
51
 
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 }
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 }
43
53
  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)
44
54
  @x_account_id = x_account_id
45
55
  @expand = expand
@@ -9,6 +9,16 @@ require_relative '../shared/employmentspaginated'
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 HrisListEmploymentsQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+
12
22
 
13
23
  class HrisListEmploymentsRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -26,7 +36,7 @@ module StackOne
26
36
  # The number of results per page
27
37
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
38
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
29
- field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
39
+ field :proxy, T.nilable(Operations::HrisListEmploymentsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
40
  # Indicates that the raw request result is returned
31
41
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
42
  # The sync token to select the only updated results
@@ -35,7 +45,7 @@ module StackOne
35
45
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
46
 
37
47
 
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 }
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::HrisListEmploymentsQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
39
49
  def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
40
50
  @x_account_id = x_account_id
41
51
  @fields = fields
@@ -9,6 +9,16 @@ require_relative '../shared/hrislocationspaginated'
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 HrisListLocationsQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+
12
22
 
13
23
  class HrisListLocationsRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -26,7 +36,7 @@ module StackOne
26
36
  # The number of results per page
27
37
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
38
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
29
- field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
39
+ field :proxy, T.nilable(Operations::HrisListLocationsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
40
  # Indicates that the raw request result is returned
31
41
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
42
  # The sync token to select the only updated results
@@ -35,7 +45,7 @@ module StackOne
35
45
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
46
 
37
47
 
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 }
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::HrisListLocationsQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
39
49
  def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
40
50
  @x_account_id = x_account_id
41
51
  @fields = fields
@@ -9,6 +9,16 @@ 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 HrisListTimeOffRequestsQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+
12
22
 
13
23
  class HrisListTimeOffRequestsRequest < ::StackOne::Utils::FieldAugmented
14
24
  extend T::Sig
@@ -26,7 +36,7 @@ module StackOne
26
36
  # The number of results per page
27
37
  field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
38
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
29
- field :proxy, T.nilable(T::Hash[Symbol, Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
39
+ field :proxy, T.nilable(Operations::HrisListTimeOffRequestsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
40
  # Indicates that the raw request result is returned
31
41
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
42
  # The sync token to select the only updated results
@@ -35,7 +45,7 @@ module StackOne
35
45
  field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
36
46
 
37
47
 
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 }
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::HrisListTimeOffRequestsQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
39
49
  def initialize(x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
40
50
  @x_account_id = x_account_id
41
51
  @fields = fields
@@ -38,8 +38,6 @@ module StackOne
38
38
 
39
39
  field :project_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('project_id') } }
40
40
 
41
- field :provider, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
42
-
43
41
  field :account_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('account_id') } }
44
42
 
45
43
  field :categories, T.nilable(T::Array[Shared::Categories]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
@@ -48,20 +46,22 @@ module StackOne
48
46
 
49
47
  field :origin_username, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_username') } }
50
48
 
49
+ field :provider, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
50
+
51
51
 
52
- sig { params(created_at: DateTime, id: Float, organization_id: Float, origin_owner_id: String, origin_owner_name: String, project_id: String, provider: String, account_id: T.nilable(String), categories: T.nilable(T::Array[Shared::Categories]), label: T.nilable(String), origin_username: T.nilable(String)).void }
53
- def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, provider: nil, account_id: nil, categories: nil, label: nil, origin_username: nil)
52
+ sig { params(created_at: DateTime, id: Float, organization_id: Float, origin_owner_id: String, origin_owner_name: String, project_id: String, account_id: T.nilable(String), categories: T.nilable(T::Array[Shared::Categories]), label: T.nilable(String), origin_username: T.nilable(String), provider: T.nilable(String)).void }
53
+ def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, account_id: nil, categories: nil, label: nil, origin_username: nil, provider: nil)
54
54
  @created_at = created_at
55
55
  @id = id
56
56
  @organization_id = organization_id
57
57
  @origin_owner_id = origin_owner_id
58
58
  @origin_owner_name = origin_owner_name
59
59
  @project_id = project_id
60
- @provider = provider
61
60
  @account_id = account_id
62
61
  @categories = categories
63
62
  @label = label
64
63
  @origin_username = origin_username
64
+ @provider = provider
65
65
  end
66
66
  end
67
67
  end
@@ -38,8 +38,6 @@ module StackOne
38
38
 
39
39
  field :project_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('project_id') } }
40
40
 
41
- field :provider, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
42
-
43
41
  field :token, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('token') } }
44
42
 
45
43
  field :account_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('account_id') } }
@@ -50,21 +48,23 @@ module StackOne
50
48
 
51
49
  field :origin_username, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_username') } }
52
50
 
51
+ field :provider, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
52
+
53
53
 
54
- sig { params(created_at: DateTime, id: Float, organization_id: Float, origin_owner_id: String, origin_owner_name: String, project_id: String, provider: String, token: String, account_id: T.nilable(String), categories: T.nilable(T::Array[Shared::ConnectSessionTokenCategories]), label: T.nilable(String), origin_username: T.nilable(String)).void }
55
- def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, provider: nil, token: nil, account_id: nil, categories: nil, label: nil, origin_username: nil)
54
+ sig { params(created_at: DateTime, id: Float, organization_id: Float, origin_owner_id: String, origin_owner_name: String, project_id: String, token: String, account_id: T.nilable(String), categories: T.nilable(T::Array[Shared::ConnectSessionTokenCategories]), label: T.nilable(String), origin_username: T.nilable(String), provider: T.nilable(String)).void }
55
+ def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, token: nil, account_id: nil, categories: nil, label: nil, origin_username: nil, provider: nil)
56
56
  @created_at = created_at
57
57
  @id = id
58
58
  @organization_id = organization_id
59
59
  @origin_owner_id = origin_owner_id
60
60
  @origin_owner_name = origin_owner_name
61
61
  @project_id = project_id
62
- @provider = provider
63
62
  @token = token
64
63
  @account_id = account_id
65
64
  @categories = categories
66
65
  @label = label
67
66
  @origin_username = origin_username
67
+ @provider = provider
68
68
  end
69
69
  end
70
70
  end
@@ -5,6 +5,7 @@
5
5
 
6
6
  require 'sorbet-runtime'
7
7
  require 'faraday'
8
+ require_relative '../shared/fileformatenum'
8
9
 
9
10
  module StackOne
10
11
  module Shared
@@ -12,16 +13,16 @@ module StackOne
12
13
  class Content < ::StackOne::Utils::FieldAugmented
13
14
  extend T::Sig
14
15
 
16
+ # The file format of the file
17
+ field :file_format, T.nilable(Shared::FileFormatEnum), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
18
+ # URL where the file content is located
19
+ field :url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
15
20
 
16
- field :html, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('html') } }
17
21
 
18
- field :plain, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('plain') } }
19
-
20
-
21
- sig { params(html: T.nilable(String), plain: T.nilable(String)).void }
22
- def initialize(html: nil, plain: nil)
23
- @html = html
24
- @plain = plain
22
+ sig { params(file_format: T.nilable(Shared::FileFormatEnum), url: T.nilable(String)).void }
23
+ def initialize(file_format: nil, url: nil)
24
+ @file_format = file_format
25
+ @url = url
25
26
  end
26
27
  end
27
28
  end