stackone_client 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +5 -5
  3. data/lib/stack_one/ats.rb +37 -37
  4. data/lib/stack_one/connect_sessions.rb +2 -2
  5. data/lib/stack_one/connectors.rb +2 -2
  6. data/lib/stack_one/crm.rb +12 -12
  7. data/lib/stack_one/hris.rb +248 -21
  8. data/lib/stack_one/marketing.rb +16 -16
  9. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
  10. data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +1 -1
  11. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
  12. data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
  13. data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +1 -1
  14. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
  15. data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +1 -1
  16. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
  17. data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +1 -1
  18. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
  19. data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +1 -1
  34. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
  35. data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +1 -1
  36. data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
  37. data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +1 -1
  38. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  39. data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +1 -1
  40. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  41. data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +1 -1
  42. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  43. data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +1 -1
  44. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  45. data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +1 -1
  46. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  47. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +1 -1
  48. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  49. data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +1 -1
  50. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  51. data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +1 -1
  52. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  53. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +1 -1
  54. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  55. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +1 -1
  56. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  57. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +1 -1
  58. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  59. data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +1 -1
  60. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  61. data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +1 -1
  62. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  63. data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +1 -1
  64. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  65. data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +1 -1
  66. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  67. data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +1 -1
  68. data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
  69. data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +1 -1
  70. data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
  71. data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +1 -1
  72. data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
  73. data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +1 -1
  74. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
  75. data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +1 -1
  76. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
  77. data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +1 -1
  78. data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
  79. data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +30 -0
  80. data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +33 -0
  81. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +30 -0
  82. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +33 -0
  83. data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +1 -1
  84. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
  85. data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +1 -1
  86. data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
  87. data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb +1 -1
  88. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
  89. data/lib/stack_one/models/operations/hris_get_employee_queryparam_proxy.rb +1 -1
  90. data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
  91. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb +1 -1
  92. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
  93. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_queryparam_proxy.rb +20 -0
  94. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +53 -0
  95. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +33 -0
  96. data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +1 -1
  97. data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
  98. data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +1 -1
  99. data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
  100. data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb +1 -1
  101. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
  102. data/lib/stack_one/models/operations/hris_list_benefits_queryparam_proxy.rb +1 -1
  103. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
  104. data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +1 -1
  105. data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
  106. data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb +1 -1
  107. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
  108. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb +1 -1
  109. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
  110. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_proxy.rb +20 -0
  111. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +50 -0
  112. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +33 -0
  113. data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +1 -1
  114. data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
  115. data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +1 -1
  116. data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
  117. data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +1 -1
  118. data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
  119. data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb +1 -1
  120. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
  121. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb +33 -0
  122. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +30 -0
  123. data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +1 -1
  124. data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
  125. data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +1 -1
  126. data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
  127. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +1 -1
  128. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
  129. data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +1 -1
  130. data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
  131. data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +1 -1
  132. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
  133. data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +1 -1
  134. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
  135. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +1 -1
  136. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
  137. data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +1 -1
  138. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
  139. data/lib/stack_one/models/operations/proxy.rb +1 -1
  140. data/lib/stack_one/models/operations/queryparam_proxy.rb +1 -1
  141. data/lib/stack_one/models/operations.rb +12 -0
  142. data/lib/stack_one/models/shared/categories.rb +1 -0
  143. data/lib/stack_one/models/shared/category.rb +1 -0
  144. data/lib/stack_one/models/shared/company.rb +3 -3
  145. data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
  146. data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
  147. data/lib/stack_one/models/shared/createdocumentresult.rb +30 -0
  148. data/lib/stack_one/models/shared/createworkeligibilityresult.rb +30 -0
  149. data/lib/stack_one/models/shared/emailmessages_value.rb +20 -0
  150. data/lib/stack_one/models/shared/employee.rb +8 -5
  151. data/lib/stack_one/models/shared/employee_company.rb +36 -0
  152. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -2
  153. data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -2
  154. data/lib/stack_one/models/shared/hrisbenefit.rb +3 -3
  155. data/lib/stack_one/models/shared/hrisbenefit_value.rb +4 -0
  156. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +33 -0
  157. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb +27 -0
  158. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb +28 -0
  159. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  160. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -2
  161. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +8 -0
  162. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +3 -0
  163. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +42 -0
  164. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +22 -0
  165. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +27 -0
  166. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +266 -0
  167. data/lib/stack_one/models/shared/issued_by.rb +27 -0
  168. data/lib/stack_one/models/shared/job.rb +2 -2
  169. data/lib/stack_one/models/shared/{response.rb → job_schemas_status.rb} +1 -1
  170. data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -0
  171. data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -2
  172. data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
  173. data/lib/stack_one/models/shared/message_message_type.rb +2 -2
  174. data/lib/stack_one/models/shared/message_type.rb +2 -2
  175. data/lib/stack_one/models/shared/message_value.rb +20 -0
  176. data/lib/stack_one/models/shared/pushmessages_message_type.rb +2 -2
  177. data/lib/stack_one/models/shared/pushmessages_value.rb +20 -0
  178. data/lib/stack_one/models/shared/rawresponse.rb +2 -2
  179. data/lib/stack_one/models/shared/timeoff_schemas_value.rb +8 -0
  180. data/lib/stack_one/models/shared/timeoff_value.rb +3 -0
  181. data/lib/stack_one/models/shared/workeligibility.rb +8 -5
  182. data/lib/stack_one/models/shared/workeligibility_document.rb +39 -0
  183. data/lib/stack_one/models/shared/workeligibility_issued_by.rb +27 -0
  184. data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +22 -0
  185. data/lib/stack_one/models/shared/workeligibility_type.rb +2 -2
  186. data/lib/stack_one/models/shared/workeligibility_value.rb +250 -6
  187. data/lib/stack_one/models/shared/workeligibilitypaginated.rb +33 -0
  188. data/lib/stack_one/models/shared/workeligibilityresult.rb +27 -0
  189. data/lib/stack_one/models/shared.rb +27 -8
  190. data/lib/stack_one/proxy.rb +1 -1
  191. data/lib/stack_one/sdkconfiguration.rb +10 -11
  192. data/lib/stack_one/stackone.rb +21 -20
  193. data/lib/stack_one/utils/metadata_fields.rb +8 -12
  194. data/lib/stack_one/utils/t.rb +59 -0
  195. data/lib/stack_one/utils/utils.rb +8 -13
  196. data/lib/stackone_client.rb +5 -3
  197. metadata +35 -3
@@ -0,0 +1,50 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisListEmployeeWorkEligibilityRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # The unified cursor
21
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
+ # The page number of the results to fetch
23
+ #
24
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
+ # The number of results per page
27
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
+ field :proxy, T.nilable(::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
+ # Indicates that the raw request result is returned
31
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
+ # Use a string with a date to only select results updated after that given date
33
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
+
35
+
36
+ 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(::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
+ @id = id
39
+ @x_account_id = x_account_id
40
+ @fields_ = fields_
41
+ @next_ = next_
42
+ @page = page
43
+ @page_size = page_size
44
+ @proxy = proxy
45
+ @raw = raw
46
+ @updated_after = updated_after
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisListEmployeeWorkEligibilityResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The work eligibility of the employee with the given identifier were retrieved.
21
+ field :work_eligibility_paginated, T.nilable(::StackOne::Shared::WorkEligibilityPaginated)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, work_eligibility_paginated: T.nilable(::StackOne::Shared::WorkEligibilityPaginated)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, work_eligibility_paginated: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @work_eligibility_paginated = work_eligibility_paginated
30
+ end
31
+ end
32
+ end
33
+ end
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class HrisListEmployeesQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -27,7 +27,7 @@ module StackOne
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
28
  # The number of results per page
29
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
30
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
32
  # Indicates that the raw request result is returned
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class HrisListEmploymentsQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
24
  # The number of results per page
25
25
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
27
27
  field :proxy, T.nilable(::StackOne::Operations::HrisListEmploymentsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
28
  # Indicates that the raw request result is returned
29
29
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class HrisListLocationsQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
24
  # The number of results per page
25
25
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
27
27
  field :proxy, T.nilable(::StackOne::Operations::HrisListLocationsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
28
  # Indicates that the raw request result is returned
29
29
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class HrisListTimeOffRequestsQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
24
  # The number of results per page
25
25
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
27
27
  field :proxy, T.nilable(::StackOne::Operations::HrisListTimeOffRequestsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
28
  # Indicates that the raw request result is returned
29
29
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisUpdateEmployeeWorkEligibilityRequestRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :hris_create_work_eligibility_request_dto, ::StackOne::Shared::HrisCreateWorkEligibilityRequestDto, { 'request': { 'media_type': 'application/json' } }
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
+
23
+
24
+ sig { params(hris_create_work_eligibility_request_dto: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDto, id: ::String, sub_resource_id: ::String, x_account_id: ::String).void }
25
+ def initialize(hris_create_work_eligibility_request_dto: nil, id: nil, sub_resource_id: nil, x_account_id: nil)
26
+ @hris_create_work_eligibility_request_dto = hris_create_work_eligibility_request_dto
27
+ @id = id
28
+ @sub_resource_id = sub_resource_id
29
+ @x_account_id = x_account_id
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisUpdateEmployeeWorkEligibilityRequestResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+
21
+
22
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer).void }
23
+ def initialize(content_type: nil, raw_response: nil, status_code: nil)
24
+ @content_type = content_type
25
+ @raw_response = raw_response
26
+ @status_code = status_code
27
+ end
28
+ end
29
+ end
30
+ end
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingGetCampaignQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -25,7 +25,7 @@ module StackOne
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
26
  # The number of results per page
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(::StackOne::Operations::MarketingGetCampaignQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingGetEmailTemplateQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -25,7 +25,7 @@ module StackOne
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
26
  # The number of results per page
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(::StackOne::Operations::MarketingGetEmailTemplateQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingGetOmniChannelTemplateQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -25,7 +25,7 @@ module StackOne
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
26
  # The number of results per page
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(::StackOne::Operations::MarketingGetOmniChannelTemplateQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingGetPushTemplateQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -25,7 +25,7 @@ module StackOne
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
26
  # The number of results per page
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(::StackOne::Operations::MarketingGetPushTemplateQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingListCampaignsQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
24
  # The number of results per page
25
25
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
27
27
  field :proxy, T.nilable(::StackOne::Operations::MarketingListCampaignsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
28
  # Indicates that the raw request result is returned
29
29
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingListEmailTemplatesQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
24
  # The number of results per page
25
25
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
27
27
  field :proxy, T.nilable(::StackOne::Operations::MarketingListEmailTemplatesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
28
  # Indicates that the raw request result is returned
29
29
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingListOmniChannelTemplatesQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
24
  # The number of results per page
25
25
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
27
27
  field :proxy, T.nilable(::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
28
  # Indicates that the raw request result is returned
29
29
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class MarketingListPushTemplatesQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
24
  # The number of results per page
25
25
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
27
27
  field :proxy, T.nilable(::StackOne::Operations::MarketingListPushTemplatesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
28
  # Indicates that the raw request result is returned
29
29
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class Proxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
11
11
  class QueryParamProxy < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
@@ -147,8 +147,12 @@ module StackOne
147
147
  autoload :CrmUpdateContactResponse, 'stack_one/models/operations/crm_update_contact_response.rb'
148
148
  autoload :HrisCreateEmployeeRequest, 'stack_one/models/operations/hris_create_employee_request.rb'
149
149
  autoload :HrisCreateEmployeeResponse, 'stack_one/models/operations/hris_create_employee_response.rb'
150
+ autoload :HrisCreateEmployeeDocumentRequest, 'stack_one/models/operations/hris_create_employee_document_request.rb'
151
+ autoload :HrisCreateEmployeeDocumentResponse, 'stack_one/models/operations/hris_create_employee_document_response.rb'
150
152
  autoload :HrisCreateEmployeeTimeOffRequestRequest, 'stack_one/models/operations/hris_create_employee_time_off_request_request.rb'
151
153
  autoload :HrisCreateEmployeeTimeOffRequestResponse, 'stack_one/models/operations/hris_create_employee_time_off_request_response.rb'
154
+ autoload :HrisCreateEmployeeWorkEligibilityRequestRequest, 'stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb'
155
+ autoload :HrisCreateEmployeeWorkEligibilityRequestResponse, 'stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb'
152
156
  autoload :HrisCreateTimeOffRequestRequest, 'stack_one/models/operations/hris_create_time_off_request_request.rb'
153
157
  autoload :HrisCreateTimeOffRequestResponse, 'stack_one/models/operations/hris_create_time_off_request_response.rb'
154
158
  autoload :HrisGetBenefitQueryParamProxy, 'stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb'
@@ -166,6 +170,9 @@ module StackOne
166
170
  autoload :HrisGetEmployeesTimeOffRequestQueryParamProxy, 'stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb'
167
171
  autoload :HrisGetEmployeesTimeOffRequestRequest, 'stack_one/models/operations/hris_get_employees_time_off_request_request.rb'
168
172
  autoload :HrisGetEmployeesTimeOffRequestResponse, 'stack_one/models/operations/hris_get_employees_time_off_request_response.rb'
173
+ autoload :HrisGetEmployeesWorkEligibilityQueryParamProxy, 'stack_one/models/operations/hris_get_employees_work_eligibility_queryparam_proxy.rb'
174
+ autoload :HrisGetEmployeesWorkEligibilityRequest, 'stack_one/models/operations/hris_get_employees_work_eligibility_request.rb'
175
+ autoload :HrisGetEmployeesWorkEligibilityResponse, 'stack_one/models/operations/hris_get_employees_work_eligibility_response.rb'
169
176
  autoload :HrisGetEmploymentQueryParamProxy, 'stack_one/models/operations/hris_get_employment_queryparam_proxy.rb'
170
177
  autoload :HrisGetEmploymentRequest, 'stack_one/models/operations/hris_get_employment_request.rb'
171
178
  autoload :HrisGetEmploymentResponse, 'stack_one/models/operations/hris_get_employment_response.rb'
@@ -187,6 +194,9 @@ module StackOne
187
194
  autoload :HrisListEmployeeTimeOffRequestsQueryParamProxy, 'stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb'
188
195
  autoload :HrisListEmployeeTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_employee_time_off_requests_request.rb'
189
196
  autoload :HrisListEmployeeTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_employee_time_off_requests_response.rb'
197
+ autoload :HrisListEmployeeWorkEligibilityQueryParamProxy, 'stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_proxy.rb'
198
+ autoload :HrisListEmployeeWorkEligibilityRequest, 'stack_one/models/operations/hris_list_employee_work_eligibility_request.rb'
199
+ autoload :HrisListEmployeeWorkEligibilityResponse, 'stack_one/models/operations/hris_list_employee_work_eligibility_response.rb'
190
200
  autoload :HrisListEmployeesQueryParamProxy, 'stack_one/models/operations/hris_list_employees_queryparam_proxy.rb'
191
201
  autoload :HrisListEmployeesRequest, 'stack_one/models/operations/hris_list_employees_request.rb'
192
202
  autoload :HrisListEmployeesResponse, 'stack_one/models/operations/hris_list_employees_response.rb'
@@ -201,6 +211,8 @@ module StackOne
201
211
  autoload :HrisListTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_time_off_requests_response.rb'
202
212
  autoload :HrisUpdateEmployeeRequest, 'stack_one/models/operations/hris_update_employee_request.rb'
203
213
  autoload :HrisUpdateEmployeeResponse, 'stack_one/models/operations/hris_update_employee_response.rb'
214
+ autoload :HrisUpdateEmployeeWorkEligibilityRequestRequest, 'stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb'
215
+ autoload :HrisUpdateEmployeeWorkEligibilityRequestResponse, 'stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb'
204
216
  autoload :HrisUpdateTimeOffRequestRequest, 'stack_one/models/operations/hris_update_time_off_request_request.rb'
205
217
  autoload :HrisUpdateTimeOffRequestResponse, 'stack_one/models/operations/hris_update_time_off_request_response.rb'
206
218
  autoload :MarketingCreateEmailTemplateRequest, 'stack_one/models/operations/marketing_create_email_template_request.rb'
@@ -14,6 +14,7 @@ module StackOne
14
14
  HRIS = new('hris')
15
15
  HRIS_LEGACY = new('hris-legacy')
16
16
  CRM = new('crm')
17
+ IAM = new('iam')
17
18
  MARKETING = new('marketing')
18
19
  STACKONE = new('stackone')
19
20
  end
@@ -14,6 +14,7 @@ module StackOne
14
14
  HRIS = new('hris')
15
15
  HRIS_LEGACY = new('hris-legacy')
16
16
  CRM = new('crm')
17
+ IAM = new('iam')
17
18
  MARKETING = new('marketing')
18
19
  STACKONE = new('stackone')
19
20
  end
@@ -13,11 +13,11 @@ module StackOne
13
13
 
14
14
  # The created_at date
15
15
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
16
-
16
+ # The display name of the company
17
17
  field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
18
-
18
+ # The identifier of the company
19
19
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
-
20
+ # The name of the company
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
22
  # The updated_at date
23
23
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
@@ -14,6 +14,7 @@ module StackOne
14
14
  HRIS = new('hris')
15
15
  HRIS_LEGACY = new('hris-legacy')
16
16
  CRM = new('crm')
17
+ IAM = new('iam')
17
18
  MARKETING = new('marketing')
18
19
  STACKONE = new('stackone')
19
20
  end
@@ -14,6 +14,7 @@ module StackOne
14
14
  HRIS = new('hris')
15
15
  HRIS_LEGACY = new('hris-legacy')
16
16
  CRM = new('crm')
17
+ IAM = new('iam')
17
18
  MARKETING = new('marketing')
18
19
  STACKONE = new('stackone')
19
20
  end
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class CreateDocumentResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
+
17
+ field :status_code, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
18
+
19
+ field :timestamp, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
+
21
+
22
+ sig { params(message: T.nilable(::String), status_code: T.nilable(::Float), timestamp: T.nilable(::DateTime)).void }
23
+ def initialize(message: nil, status_code: nil, timestamp: nil)
24
+ @message = message
25
+ @status_code = status_code
26
+ @timestamp = timestamp
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class CreateWorkEligibilityResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
+
17
+ field :status_code, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
18
+
19
+ field :timestamp, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
+
21
+
22
+ sig { params(message: T.nilable(::String), status_code: T.nilable(::Float), timestamp: T.nilable(::DateTime)).void }
23
+ def initialize(message: nil, status_code: nil, timestamp: nil)
24
+ @message = message
25
+ @status_code = status_code
26
+ @timestamp = timestamp
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+ # The unified message type.
11
+ class EmailMessagesValue < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end