stackone_client 0.2.37 → 0.2.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +176 -1
  3. data/lib/stack_one/hris.rb +53 -1
  4. data/lib/stack_one/lms.rb +328 -31
  5. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb +24 -0
  6. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +60 -0
  7. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb +33 -0
  8. data/lib/stack_one/models/operations/ats_get_job_request.rb +5 -2
  9. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb +24 -0
  10. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +57 -0
  11. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb +33 -0
  12. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +5 -2
  13. data/lib/stack_one/models/operations/ats_move_application_request.rb +30 -0
  14. data/lib/stack_one/models/operations/ats_move_application_response.rb +33 -0
  15. data/lib/stack_one/models/operations/ats_reject_application_request.rb +30 -0
  16. data/lib/stack_one/models/operations/ats_reject_application_response.rb +33 -0
  17. data/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb +30 -0
  18. data/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb +33 -0
  19. data/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb +27 -0
  20. data/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb +33 -0
  21. data/lib/stack_one/models/operations/{lms_create_completion_request.rb → lms_create_user_completion_request.rb} +1 -1
  22. data/lib/stack_one/models/operations/{lms_create_completion_response.rb → lms_create_user_completion_response.rb} +1 -1
  23. data/lib/stack_one/models/operations/lms_get_assignment_request.rb +2 -5
  24. data/lib/stack_one/models/operations/lms_get_assignment_response.rb +1 -1
  25. data/lib/stack_one/models/operations/lms_get_completion_request.rb +36 -0
  26. data/lib/stack_one/models/operations/lms_get_completion_response.rb +33 -0
  27. data/lib/stack_one/models/operations/lms_get_skill_request.rb +36 -0
  28. data/lib/stack_one/models/operations/lms_get_skill_response.rb +33 -0
  29. data/lib/stack_one/models/operations/lms_get_user_assignment_request.rb +39 -0
  30. data/lib/stack_one/models/operations/lms_get_user_assignment_response.rb +33 -0
  31. data/lib/stack_one/models/operations/lms_get_user_completion_request.rb +39 -0
  32. data/lib/stack_one/models/operations/lms_get_user_completion_response.rb +33 -0
  33. data/lib/stack_one/models/operations/lms_list_assignments_request.rb +8 -5
  34. data/lib/stack_one/models/operations/lms_list_assignments_response.rb +1 -1
  35. data/lib/stack_one/models/operations/lms_list_completions_request.rb +10 -7
  36. data/lib/stack_one/models/operations/lms_list_completions_response.rb +1 -1
  37. data/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb +24 -0
  38. data/lib/stack_one/models/operations/lms_list_skills_request.rb +52 -0
  39. data/lib/stack_one/models/operations/lms_list_skills_response.rb +33 -0
  40. data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb +24 -0
  41. data/lib/stack_one/models/operations/lms_list_user_assignments_request.rb +61 -0
  42. data/lib/stack_one/models/operations/lms_list_user_assignments_response.rb +33 -0
  43. data/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb +24 -0
  44. data/lib/stack_one/models/operations/lms_list_user_completions_request.rb +61 -0
  45. data/lib/stack_one/models/operations/lms_list_user_completions_response.rb +33 -0
  46. data/lib/stack_one/models/operations.rb +33 -2
  47. data/lib/stack_one/models/shared/account.rb +5 -2
  48. data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +0 -1
  49. data/lib/stack_one/models/shared/accountaddress_value.rb +0 -1
  50. data/lib/stack_one/models/shared/answer_value.rb +0 -1
  51. data/lib/stack_one/models/shared/application.rb +5 -2
  52. data/lib/stack_one/models/shared/application_interview_stage.rb +5 -2
  53. data/lib/stack_one/models/shared/application_value.rb +0 -1
  54. data/lib/stack_one/models/shared/applicationattachment_value.rb +0 -1
  55. data/lib/stack_one/models/shared/assessmentspackages_type.rb +2 -2
  56. data/lib/stack_one/models/shared/assessmentspackages_value.rb +4 -7
  57. data/lib/stack_one/models/shared/assessmentsresults_schemas_value.rb +0 -1
  58. data/lib/stack_one/models/shared/assessmentsresults_value.rb +0 -1
  59. data/lib/stack_one/models/shared/assignment.rb +5 -11
  60. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +5 -2
  61. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +0 -1
  62. data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +5 -2
  63. data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +0 -1
  64. data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +0 -1
  65. data/lib/stack_one/models/shared/atsdocumentapimodel.rb +5 -2
  66. data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +0 -1
  67. data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +0 -1
  68. data/lib/stack_one/models/shared/atslocation.rb +5 -2
  69. data/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb +27 -0
  70. data/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb +27 -0
  71. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -1
  72. data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +5 -2
  73. data/lib/stack_one/models/shared/batchresultapimodel.rb +33 -0
  74. data/lib/stack_one/models/shared/campaign_schemas_value.rb +0 -1
  75. data/lib/stack_one/models/shared/campaign_value.rb +0 -1
  76. data/lib/stack_one/models/shared/candidate.rb +5 -2
  77. data/lib/stack_one/models/shared/categories.rb +0 -1
  78. data/lib/stack_one/models/shared/category.rb +5 -2
  79. data/lib/stack_one/models/shared/channelsenum_value.rb +0 -1
  80. data/lib/stack_one/models/shared/company.rb +5 -2
  81. data/lib/stack_one/models/shared/completion.rb +9 -6
  82. data/lib/stack_one/models/shared/{completion_result.rb → completion_schemas_result.rb} +1 -1
  83. data/lib/stack_one/models/shared/completion_value.rb +0 -1
  84. data/lib/stack_one/models/shared/completionresult.rb +27 -0
  85. data/lib/stack_one/models/shared/connectorsmeta_category.rb +0 -1
  86. data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +0 -1
  87. data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +0 -1
  88. data/lib/stack_one/models/shared/contact.rb +5 -2
  89. data/lib/stack_one/models/shared/content_value.rb +0 -1
  90. data/lib/stack_one/models/shared/contentblock_schemas_value.rb +0 -1
  91. data/lib/stack_one/models/shared/contentblock_value.rb +0 -1
  92. data/lib/stack_one/models/shared/contentlanguageenum_value.rb +0 -1
  93. data/lib/stack_one/models/shared/countrycodeenum_value.rb +0 -1
  94. data/lib/stack_one/models/shared/course.rb +5 -2
  95. data/lib/stack_one/models/shared/course_schemas_value.rb +0 -1
  96. data/lib/stack_one/models/shared/course_value.rb +0 -1
  97. data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
  98. data/lib/stack_one/models/shared/createresultdataapimodel.rb +5 -2
  99. data/lib/stack_one/models/shared/customfielddefinition_value.rb +0 -1
  100. data/lib/stack_one/models/shared/department.rb +5 -2
  101. data/lib/stack_one/models/shared/employee.rb +11 -2
  102. data/lib/stack_one/models/shared/employee_company.rb +5 -2
  103. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -1
  104. data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +0 -1
  105. data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +0 -1
  106. data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +0 -1
  107. data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +0 -1
  108. data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +0 -1
  109. data/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +0 -1
  110. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +0 -1
  111. data/lib/stack_one/models/shared/employee_schemas_value.rb +0 -1
  112. data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +0 -1
  113. data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +0 -1
  114. data/lib/stack_one/models/shared/employee_value.rb +0 -1
  115. data/lib/stack_one/models/shared/employment.rb +5 -2
  116. data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +0 -1
  117. data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +0 -1
  118. data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -1
  119. data/lib/stack_one/models/shared/employment_value.rb +0 -1
  120. data/lib/stack_one/models/shared/field_type.rb +0 -1
  121. data/lib/stack_one/models/shared/home_location.rb +5 -2
  122. data/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb +24 -0
  123. data/lib/stack_one/models/shared/hrisbenefit_value.rb +0 -1
  124. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +8 -2
  125. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb +27 -0
  126. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -1
  127. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +0 -1
  128. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +0 -1
  129. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +0 -1
  130. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +0 -1
  131. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +0 -1
  132. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb +21 -0
  133. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +0 -1
  134. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +0 -1
  135. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +0 -1
  136. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +0 -1
  137. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb +27 -0
  138. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +0 -1
  139. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +0 -1
  140. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +0 -1
  141. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +0 -1
  142. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +0 -1
  143. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +0 -1
  144. data/lib/stack_one/models/shared/hrisdepartment.rb +5 -2
  145. data/lib/stack_one/models/shared/hrisdepartment_value.rb +0 -1
  146. data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +5 -2
  147. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +0 -1
  148. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +0 -1
  149. data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +0 -1
  150. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +0 -1
  151. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +0 -1
  152. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +0 -1
  153. data/lib/stack_one/models/shared/hrisgroup.rb +5 -2
  154. data/lib/stack_one/models/shared/hrisgroup_value.rb +0 -1
  155. data/lib/stack_one/models/shared/hrislocation.rb +5 -2
  156. data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +0 -1
  157. data/lib/stack_one/models/shared/hrislocation_value.rb +0 -1
  158. data/lib/stack_one/models/shared/iamgroup_value.rb +0 -1
  159. data/lib/stack_one/models/shared/iammfatypeenum_value.rb +0 -1
  160. data/lib/stack_one/models/shared/iampermission_value.rb +0 -1
  161. data/lib/stack_one/models/shared/iamresource_value.rb +0 -1
  162. data/lib/stack_one/models/shared/iamrole_value.rb +0 -1
  163. data/lib/stack_one/models/shared/iamuser.rb +5 -2
  164. data/lib/stack_one/models/shared/iamuser_schemas_value.rb +0 -1
  165. data/lib/stack_one/models/shared/iamuser_value.rb +0 -1
  166. data/lib/stack_one/models/shared/internal.rb +0 -1
  167. data/lib/stack_one/models/shared/interview.rb +5 -2
  168. data/lib/stack_one/models/shared/interview_interview_stage.rb +5 -2
  169. data/lib/stack_one/models/shared/interview_value.rb +0 -1
  170. data/lib/stack_one/models/shared/interviewpart_value.rb +0 -1
  171. data/lib/stack_one/models/shared/interviewstage.rb +5 -2
  172. data/lib/stack_one/models/shared/job.rb +8 -2
  173. data/lib/stack_one/models/shared/job_confidential.rb +0 -1
  174. data/lib/stack_one/models/shared/job_value.rb +0 -1
  175. data/lib/stack_one/models/shared/jobcustomfields.rb +39 -0
  176. data/lib/stack_one/models/shared/jobposting.rb +5 -2
  177. data/lib/stack_one/models/shared/jobposting_content.rb +4 -4
  178. data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +0 -1
  179. data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -1
  180. data/lib/stack_one/models/shared/jobposting_value.rb +0 -1
  181. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +0 -1
  182. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +0 -1
  183. data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +0 -1
  184. data/lib/stack_one/models/shared/jobpostingcontentsection.rb +36 -0
  185. data/lib/stack_one/models/shared/jobpostingcontentsection_type.rb +27 -0
  186. data/lib/stack_one/models/shared/jobpostingcontentsection_value.rb +19 -0
  187. data/lib/stack_one/models/shared/linkedaccount_status.rb +0 -1
  188. data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +0 -1
  189. data/lib/stack_one/models/shared/list.rb +5 -2
  190. data/lib/stack_one/models/shared/list_value.rb +0 -1
  191. data/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb +24 -0
  192. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +5 -2
  193. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +0 -1
  194. data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +5 -2
  195. data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -1
  196. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
  197. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +0 -1
  198. data/lib/stack_one/models/shared/lmsuser.rb +8 -2
  199. data/lib/stack_one/models/shared/method.rb +0 -1
  200. data/lib/stack_one/models/shared/moveapplicationresult.rb +33 -0
  201. data/lib/stack_one/models/shared/note.rb +5 -2
  202. data/lib/stack_one/models/shared/note_value.rb +0 -1
  203. data/lib/stack_one/models/shared/offer.rb +5 -2
  204. data/lib/stack_one/models/shared/offer_value.rb +0 -1
  205. data/lib/stack_one/models/shared/overall_recommendation.rb +0 -1
  206. data/lib/stack_one/models/shared/phonenumber_type.rb +0 -1
  207. data/lib/stack_one/models/shared/question_value.rb +0 -1
  208. data/lib/stack_one/models/shared/rejectapplicationresult.rb +33 -0
  209. data/lib/stack_one/models/shared/rejectedreason.rb +5 -2
  210. data/lib/stack_one/models/shared/rejectedreason_value.rb +0 -1
  211. data/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb +5 -2
  212. data/lib/stack_one/models/shared/scheduledinterview_value.rb +0 -1
  213. data/lib/stack_one/models/shared/skillresult.rb +27 -0
  214. data/lib/stack_one/models/shared/skills.rb +3 -3
  215. data/lib/stack_one/models/shared/skillspaginated.rb +30 -0
  216. data/lib/stack_one/models/shared/timeoff_schemas_value.rb +0 -1
  217. data/lib/stack_one/models/shared/timeoff_value.rb +0 -1
  218. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +0 -1
  219. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +0 -1
  220. data/lib/stack_one/models/shared/value.rb +0 -1
  221. data/lib/stack_one/models/shared/work_location.rb +5 -2
  222. data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +0 -1
  223. data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +0 -1
  224. data/lib/stack_one/models/shared/workeligibility_value.rb +0 -1
  225. data/lib/stack_one/models/shared.rb +36 -19
  226. data/lib/stack_one/sdkconfiguration.rb +3 -3
  227. metadata +53 -5
@@ -14,6 +14,5 @@ module StackOne
14
14
  FALSE = new('false')
15
15
  end
16
16
  end
17
-
18
17
  end
19
18
  end
@@ -21,6 +21,5 @@ module StackOne
21
21
  UNMAPPED_VALUE = new('unmapped_value')
22
22
  end
23
23
  end
24
-
25
24
  end
26
25
  end
@@ -0,0 +1,39 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class JobCustomFields < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Unique identifier
15
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
+ # The name of the custom field.
17
+ field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
18
+ # Provider's unique identifier
19
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
+ # Provider's unique identifier for the value of the custom field.
21
+ field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
22
+ # The value associated with the custom field.
23
+ field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
24
+ # The unique identifier for the value of the custom field.
25
+ field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
26
+
27
+
28
+ sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
29
+ def initialize(id: nil, name: nil, remote_id: nil, remote_value_id: nil, value: nil, value_id: nil)
30
+ @id = id
31
+ @name = name
32
+ @remote_id = remote_id
33
+ @remote_value_id = remote_value_id
34
+ @value = value
35
+ @value_id = value_id
36
+ end
37
+ end
38
+ end
39
+ end
@@ -43,12 +43,14 @@ module StackOne
43
43
  field :status, T.nilable(::StackOne::Shared::JobPostingStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
44
44
 
45
45
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
46
+ # Custom Unified Fields configured in your StackOne project
47
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
46
48
  # Date of last update
47
49
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
48
50
 
49
51
 
50
- sig { params(compensation: T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), content: T.nilable(::StackOne::Shared::JobPostingContent), created_at: T.nilable(::DateTime), employment_contract_type: T.nilable(::StackOne::Shared::JobPostingEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::JobPostingEmploymentType), external_apply_url: T.nilable(::String), external_url: T.nilable(::String), id: T.nilable(::String), internal: T.nilable(::StackOne::Shared::Internal), job_id: T.nilable(::String), locations: T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), questionnaires: T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), remote_id: T.nilable(::String), remote_job_posting_id: T.nilable(::String), status: T.nilable(::StackOne::Shared::JobPostingStatus), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
51
- def initialize(compensation: nil, content: nil, created_at: nil, employment_contract_type: nil, employment_type: nil, external_apply_url: nil, external_url: nil, id: nil, internal: nil, job_id: nil, locations: nil, questionnaires: nil, remote_id: nil, remote_job_posting_id: nil, status: nil, title: nil, updated_at: nil)
52
+ sig { params(compensation: T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), content: T.nilable(::StackOne::Shared::JobPostingContent), created_at: T.nilable(::DateTime), employment_contract_type: T.nilable(::StackOne::Shared::JobPostingEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::JobPostingEmploymentType), external_apply_url: T.nilable(::String), external_url: T.nilable(::String), id: T.nilable(::String), internal: T.nilable(::StackOne::Shared::Internal), job_id: T.nilable(::String), locations: T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), questionnaires: T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), remote_id: T.nilable(::String), remote_job_posting_id: T.nilable(::String), status: T.nilable(::StackOne::Shared::JobPostingStatus), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
53
+ def initialize(compensation: nil, content: nil, created_at: nil, employment_contract_type: nil, employment_type: nil, external_apply_url: nil, external_url: nil, id: nil, internal: nil, job_id: nil, locations: nil, questionnaires: nil, remote_id: nil, remote_job_posting_id: nil, status: nil, title: nil, unified_custom_fields: nil, updated_at: nil)
52
54
  @compensation = compensation
53
55
  @content = content
54
56
  @created_at = created_at
@@ -65,6 +67,7 @@ module StackOne
65
67
  @remote_job_posting_id = remote_job_posting_id
66
68
  @status = status
67
69
  @title = title
70
+ @unified_custom_fields = unified_custom_fields
68
71
  @updated_at = updated_at
69
72
  end
70
73
  end
@@ -16,14 +16,14 @@ module StackOne
16
16
 
17
17
  field :plain, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('plain') } }
18
18
 
19
- field :section, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('section') } }
19
+ field :sections, T.nilable(T::Array[::StackOne::Shared::JobPostingContentSection]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('sections') } }
20
20
 
21
21
 
22
- sig { params(html: T.nilable(::String), plain: T.nilable(::String), section: T.nilable(T::Array[::String])).void }
23
- def initialize(html: nil, plain: nil, section: nil)
22
+ sig { params(html: T.nilable(::String), plain: T.nilable(::String), sections: T.nilable(T::Array[::StackOne::Shared::JobPostingContentSection])).void }
23
+ def initialize(html: nil, plain: nil, sections: nil)
24
24
  @html = html
25
25
  @plain = plain
26
- @section = section
26
+ @sections = sections
27
27
  end
28
28
  end
29
29
  end
@@ -20,6 +20,5 @@ module StackOne
20
20
  UNMAPPED_VALUE = new('unmapped_value')
21
21
  end
22
22
  end
23
-
24
23
  end
25
24
  end
@@ -29,6 +29,5 @@ module StackOne
29
29
  UNMAPPED_VALUE = new('unmapped_value')
30
30
  end
31
31
  end
32
-
33
32
  end
34
33
  end
@@ -16,6 +16,5 @@ module StackOne
16
16
  UNMAPPED_VALUE = new('unmapped_value')
17
17
  end
18
18
  end
19
-
20
19
  end
21
20
  end
@@ -19,6 +19,5 @@ module StackOne
19
19
  UNMAPPED_VALUE = new('unmapped_value')
20
20
  end
21
21
  end
22
-
23
22
  end
24
23
  end
@@ -25,6 +25,5 @@ module StackOne
25
25
  UNMAPPED_VALUE = new('unmapped_value')
26
26
  end
27
27
  end
28
-
29
28
  end
30
29
  end
@@ -27,6 +27,5 @@ module StackOne
27
27
  DAILY = new('daily')
28
28
  end
29
29
  end
30
-
31
30
  end
32
31
  end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class JobPostingContentSection < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
16
+ # Unique identifier
17
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
+
19
+ field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
22
+
23
+ field :type, T.nilable(::StackOne::Shared::JobPostingContentSectionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
24
+
25
+
26
+ sig { params(content: T.nilable(::String), id: T.nilable(::String), label: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::JobPostingContentSectionType)).void }
27
+ def initialize(content: nil, id: nil, label: nil, remote_id: nil, type: nil)
28
+ @content = content
29
+ @id = id
30
+ @label = label
31
+ @remote_id = remote_id
32
+ @type = type
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class JobPostingContentSectionType < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The source value of the description type.
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+ # The type of the description.
17
+ field :value, T.nilable(::StackOne::Shared::JobPostingContentSectionValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::JobPostingContentSectionValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::JobPostingContentSectionValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,19 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+ # JobPostingContentSectionValue - The type of the description.
11
+ class JobPostingContentSectionValue < T::Enum
12
+ enums do
13
+ RESPONSIBILITIES = new('responsibilities')
14
+ SKILLS = new('skills')
15
+ BENEFITS = new('benefits')
16
+ end
17
+ end
18
+ end
19
+ end
@@ -15,6 +15,5 @@ module StackOne
15
15
  ERROR = new('error')
16
16
  end
17
17
  end
18
-
19
18
  end
20
19
  end
@@ -20,6 +20,5 @@ module StackOne
20
20
  STACKONE = new('stackone')
21
21
  end
22
22
  end
23
-
24
23
  end
25
24
  end
@@ -23,18 +23,21 @@ module StackOne
23
23
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
24
  # The list type
25
25
  field :type, T.nilable(::StackOne::Shared::ListType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
26
+ # Custom Unified Fields configured in your StackOne project
27
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
26
28
  # Timestamp when the list was last updated
27
29
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
28
30
 
29
31
 
30
- sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), items: T.nilable(T::Array[::StackOne::Shared::ListItem]), name: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), updated_at: T.nilable(::DateTime)).void }
31
- def initialize(created_at: nil, id: nil, items: nil, name: nil, remote_id: nil, type: nil, updated_at: nil)
32
+ sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), items: T.nilable(T::Array[::StackOne::Shared::ListItem]), name: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
33
+ def initialize(created_at: nil, id: nil, items: nil, name: nil, remote_id: nil, type: nil, unified_custom_fields: nil, updated_at: nil)
32
34
  @created_at = created_at
33
35
  @id = id
34
36
  @items = items
35
37
  @name = name
36
38
  @remote_id = remote_id
37
39
  @type = type
40
+ @unified_custom_fields = unified_custom_fields
38
41
  @updated_at = updated_at
39
42
  end
40
43
  end
@@ -16,6 +16,5 @@ module StackOne
16
16
  UNMAPPED_VALUE = new('unmapped_value')
17
17
  end
18
18
  end
19
-
20
19
  end
21
20
  end
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class LmsBatchUpsertContentRequestDto < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The batch of items to upsert
15
+ field :items, T::Array[::StackOne::Shared::LmsUpsertContentRequestDto], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } }
16
+
17
+
18
+ sig { params(items: T::Array[::StackOne::Shared::LmsUpsertContentRequestDto]).void }
19
+ def initialize(items: nil)
20
+ @items = items
21
+ end
22
+ end
23
+ end
24
+ end
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # The date the content was completed
15
15
  field :completed_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('completed_at') } }
16
+ # The external ID associated with this content
17
+ field :content_external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_external_reference') } }
16
18
  # The content ID associated with this completion
17
19
  field :content_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_id') } }
18
20
  # The external ID associated with this completion
@@ -23,9 +25,10 @@ module StackOne
23
25
  field :result, T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result') } }
24
26
 
25
27
 
26
- sig { params(completed_at: T.nilable(::String), content_id: T.nilable(::String), external_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), result: T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult)).void }
27
- def initialize(completed_at: nil, content_id: nil, external_id: nil, passthrough: nil, result: nil)
28
+ sig { params(completed_at: T.nilable(::String), content_external_reference: T.nilable(::String), content_id: T.nilable(::String), external_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), result: T.nilable(::StackOne::Shared::LmsCreateCompletionRequestDtoResult)).void }
29
+ def initialize(completed_at: nil, content_external_reference: nil, content_id: nil, external_id: nil, passthrough: nil, result: nil)
28
30
  @completed_at = completed_at
31
+ @content_external_reference = content_external_reference
29
32
  @content_id = content_id
30
33
  @external_id = external_id
31
34
  @passthrough = passthrough
@@ -14,6 +14,5 @@ module StackOne
14
14
  FAIL = new('Fail')
15
15
  end
16
16
  end
17
-
18
17
  end
19
18
  end
@@ -35,10 +35,12 @@ module StackOne
35
35
  field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
36
36
  # The title of the content
37
37
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
38
+ # Custom Unified Fields configured in your StackOne project
39
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
38
40
 
39
41
 
40
- sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String)).void }
41
- def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil)
42
+ sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
43
+ def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil, unified_custom_fields: nil)
42
44
  @active = active
43
45
  @categories = categories
44
46
  @content_type = content_type
@@ -51,6 +53,7 @@ module StackOne
51
53
  @languages = languages
52
54
  @order = order
53
55
  @title = title
56
+ @unified_custom_fields = unified_custom_fields
54
57
  end
55
58
  end
56
59
  end
@@ -15,6 +15,5 @@ module StackOne
15
15
  DOCUMENT = new('document')
16
16
  end
17
17
  end
18
-
19
18
  end
20
19
  end
@@ -35,10 +35,12 @@ module StackOne
35
35
  field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
36
36
  # The title of the content
37
37
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
38
+ # Custom Unified Fields configured in your StackOne project
39
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
38
40
 
39
41
 
40
- sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String)).void }
41
- def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil)
42
+ sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_type: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
43
+ def initialize(active: nil, categories: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil, unified_custom_fields: nil)
42
44
  @active = active
43
45
  @categories = categories
44
46
  @content_type = content_type
@@ -51,6 +53,7 @@ module StackOne
51
53
  @languages = languages
52
54
  @order = order
53
55
  @title = title
56
+ @unified_custom_fields = unified_custom_fields
54
57
  end
55
58
  end
56
59
  end
@@ -15,6 +15,5 @@ module StackOne
15
15
  DOCUMENT = new('document')
16
16
  end
17
17
  end
18
-
19
18
  end
20
19
  end
@@ -15,6 +15,8 @@ module StackOne
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 user email
17
17
  field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
18
+ # The external ID associated with this user
19
+ field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
18
20
  # Unique identifier
19
21
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
22
  # The user name
@@ -23,18 +25,22 @@ module StackOne
23
25
  field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
24
26
  # Provider's unique identifier
25
27
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
28
+ # Custom Unified Fields configured in your StackOne project
29
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
26
30
  # The updated_at date
27
31
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
28
32
 
29
33
 
30
- sig { params(created_at: T.nilable(::DateTime), email: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
31
- def initialize(created_at: nil, email: nil, id: nil, name: nil, phone_number: nil, remote_id: nil, updated_at: nil)
34
+ sig { params(created_at: T.nilable(::DateTime), email: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
35
+ def initialize(created_at: nil, email: nil, external_reference: nil, id: nil, name: nil, phone_number: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil)
32
36
  @created_at = created_at
33
37
  @email = email
38
+ @external_reference = external_reference
34
39
  @id = id
35
40
  @name = name
36
41
  @phone_number = phone_number
37
42
  @remote_id = remote_id
43
+ @unified_custom_fields = unified_custom_fields
38
44
  @updated_at = updated_at
39
45
  end
40
46
  end
@@ -17,6 +17,5 @@ module StackOne
17
17
  PATCH = new('patch')
18
18
  end
19
19
  end
20
-
21
20
  end
22
21
  end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class MoveApplicationResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, ::StackOne::Shared::CreateResultDataApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
18
+
19
+ field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
20
+
21
+ field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
22
+
23
+
24
+ sig { params(data: ::StackOne::Shared::CreateResultDataApiModel, message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
25
+ def initialize(data: nil, message: nil, status_code: nil, timestamp: nil)
26
+ @data = data
27
+ @message = message
28
+ @status_code = status_code
29
+ @timestamp = timestamp
30
+ end
31
+ end
32
+ end
33
+ end
@@ -25,14 +25,16 @@ module StackOne
25
25
  field :remote_author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_author_id') } }
26
26
  # Provider's unique identifier
27
27
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
28
+ # Custom Unified Fields configured in your StackOne project
29
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
28
30
  # Date of last update
29
31
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
30
32
  # Visibility of the note
31
33
  field :visibility, T.nilable(::StackOne::Shared::NoteVisibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
32
34
 
33
35
 
34
- sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), remote_author_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
35
- def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_author_id: nil, remote_id: nil, updated_at: nil, visibility: nil)
36
+ sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), remote_author_id: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
37
+ def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_author_id: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil, visibility: nil)
36
38
  @author_id = author_id
37
39
  @content = content
38
40
  @created_at = created_at
@@ -40,6 +42,7 @@ module StackOne
40
42
  @id = id
41
43
  @remote_author_id = remote_author_id
42
44
  @remote_id = remote_id
45
+ @unified_custom_fields = unified_custom_fields
43
46
  @updated_at = updated_at
44
47
  @visibility = visibility
45
48
  end
@@ -14,6 +14,5 @@ module StackOne
14
14
  PUBLIC = new('public')
15
15
  end
16
16
  end
17
-
18
17
  end
19
18
  end
@@ -31,12 +31,14 @@ module StackOne
31
31
  field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
32
32
  # Date of creation
33
33
  field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
34
+ # Custom Unified Fields configured in your StackOne project
35
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
34
36
  # Date of last update
35
37
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
36
38
 
37
39
 
38
- sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
39
- def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_application_id: nil, remote_id: nil, salary: nil, start_date: nil, updated_at: nil)
40
+ sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
41
+ def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_application_id: nil, remote_id: nil, salary: nil, start_date: nil, unified_custom_fields: nil, updated_at: nil)
40
42
  @application_id = application_id
41
43
  @created_at = created_at
42
44
  @currency = currency
@@ -47,6 +49,7 @@ module StackOne
47
49
  @remote_id = remote_id
48
50
  @salary = salary
49
51
  @start_date = start_date
52
+ @unified_custom_fields = unified_custom_fields
50
53
  @updated_at = updated_at
51
54
  end
52
55
  end
@@ -20,6 +20,5 @@ module StackOne
20
20
  UNMAPPED_VALUE = new('unmapped_value')
21
21
  end
22
22
  end
23
-
24
23
  end
25
24
  end
@@ -18,6 +18,5 @@ module StackOne
18
18
  UNMAPPED_VALUE = new('unmapped_value')
19
19
  end
20
20
  end
21
-
22
21
  end
23
22
  end
@@ -18,6 +18,5 @@ module StackOne
18
18
  OTHER = new('other')
19
19
  end
20
20
  end
21
-
22
21
  end
23
22
  end
@@ -21,6 +21,5 @@ module StackOne
21
21
  VIDEO = new('video')
22
22
  end
23
23
  end
24
-
25
24
  end
26
25
  end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class RejectApplicationResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, ::StackOne::Shared::CreateResultDataApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
18
+
19
+ field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
20
+
21
+ field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
22
+
23
+
24
+ sig { params(data: ::StackOne::Shared::CreateResultDataApiModel, message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
25
+ def initialize(data: nil, message: nil, status_code: nil, timestamp: nil)
26
+ @data = data
27
+ @message = message
28
+ @status_code = status_code
29
+ @timestamp = timestamp
30
+ end
31
+ end
32
+ end
33
+ end