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
@@ -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 CompletionResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, ::StackOne::Shared::Completion, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
18
+
19
+
20
+ sig { params(data: ::StackOne::Shared::Completion, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
+ def initialize(data: nil, raw: nil)
22
+ @data = data
23
+ @raw = raw
24
+ end
25
+ end
26
+ end
27
+ 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
@@ -20,6 +20,5 @@ module StackOne
20
20
  STACKONE = new('stackone')
21
21
  end
22
22
  end
23
-
24
23
  end
25
24
  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
@@ -37,12 +37,14 @@ module StackOne
37
37
  field :remote_deal_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_deal_ids') } }
38
38
  # Provider's unique identifier
39
39
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
40
+ # Custom Unified Fields configured in your StackOne project
41
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
40
42
  # Timestamp when the contact was last updated
41
43
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
42
44
 
43
45
 
44
- sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::ContactsCustomFields]), deal_ids: T.nilable(T::Array[::String]), emails: T.nilable(T::Array[::String]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_account_ids: T.nilable(T::Array[::String]), remote_deal_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
45
- def initialize(account_ids: nil, company_name: nil, created_at: nil, custom_fields: nil, deal_ids: nil, emails: nil, first_name: nil, id: nil, last_name: nil, phone_numbers: nil, remote_account_ids: nil, remote_deal_ids: nil, remote_id: nil, updated_at: nil)
46
+ sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::ContactsCustomFields]), deal_ids: T.nilable(T::Array[::String]), emails: T.nilable(T::Array[::String]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_account_ids: T.nilable(T::Array[::String]), remote_deal_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
47
+ def initialize(account_ids: nil, company_name: nil, created_at: nil, custom_fields: nil, deal_ids: nil, emails: nil, first_name: nil, id: nil, last_name: nil, phone_numbers: nil, remote_account_ids: nil, remote_deal_ids: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil)
46
48
  @account_ids = account_ids
47
49
  @company_name = company_name
48
50
  @created_at = created_at
@@ -56,6 +58,7 @@ module StackOne
56
58
  @remote_account_ids = remote_account_ids
57
59
  @remote_deal_ids = remote_deal_ids
58
60
  @remote_id = remote_id
61
+ @unified_custom_fields = unified_custom_fields
59
62
  @updated_at = updated_at
60
63
  end
61
64
  end
@@ -1222,6 +1222,5 @@ module StackOne
1222
1222
  ICE = new('ice')
1223
1223
  end
1224
1224
  end
1225
-
1226
1225
  end
1227
1226
  end
@@ -16,6 +16,5 @@ module StackOne
16
16
  CODE_SNIPPET = new('code-snippet')
17
17
  end
18
18
  end
19
-
20
19
  end
21
20
  end
@@ -15,6 +15,5 @@ module StackOne
15
15
  ARCHIVED = new('archived')
16
16
  end
17
17
  end
18
-
19
18
  end
20
19
  end
@@ -415,6 +415,5 @@ module StackOne
415
415
  ZU_ZA = new('zu_ZA')
416
416
  end
417
417
  end
418
-
419
418
  end
420
419
  end
@@ -261,6 +261,5 @@ module StackOne
261
261
  UNMAPPED_VALUE = new('unmapped_value')
262
262
  end
263
263
  end
264
-
265
264
  end
266
265
  end
@@ -41,14 +41,16 @@ module StackOne
41
41
  field :skills, T.nilable(T::Array[::StackOne::Shared::Skills]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
42
42
  # The title of the course
43
43
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
44
+ # Custom Unified Fields configured in your StackOne project
45
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
44
46
  # The date on which the course was last updated.
45
47
  field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } }
46
48
  # The redirect URL of the course.
47
49
  field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
48
50
 
49
51
 
50
- sig { params(active: T.nilable(::StackOne::Shared::Active), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::CourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
51
- def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, updated_at: nil, url: nil)
52
+ sig { params(active: T.nilable(::StackOne::Shared::Active), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::CourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
53
+ def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, unified_custom_fields: nil, updated_at: nil, url: nil)
52
54
  @active = active
53
55
  @categories = categories
54
56
  @content_ids = content_ids
@@ -64,6 +66,7 @@ module StackOne
64
66
  @remote_id = remote_id
65
67
  @skills = skills
66
68
  @title = title
69
+ @unified_custom_fields = unified_custom_fields
67
70
  @updated_at = updated_at
68
71
  @url = url
69
72
  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
@@ -14,6 +14,5 @@ module StackOne
14
14
  INACTIVE = new('INACTIVE')
15
15
  end
16
16
  end
17
-
18
17
  end
19
18
  end
@@ -15,12 +15,15 @@ module StackOne
15
15
  field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
16
16
  # The name associated with this category
17
17
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
18
+ # Custom Unified Fields configured in your StackOne project
19
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
18
20
 
19
21
 
20
- sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String)).void }
21
- def initialize(active: nil, name: nil)
22
+ sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
23
+ def initialize(active: nil, name: nil, unified_custom_fields: nil)
22
24
  @active = active
23
25
  @name = name
26
+ @unified_custom_fields = unified_custom_fields
24
27
  end
25
28
  end
26
29
  end
@@ -11,14 +11,17 @@ module StackOne
11
11
  class CreateResultDataApiModel < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # The external identifier
15
+ field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
14
16
  # Unique identifier
15
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
18
  # Provider's unique identifier
17
19
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
18
20
 
19
21
 
20
- sig { params(id: T.nilable(::String), remote_id: T.nilable(::String)).void }
21
- def initialize(id: nil, remote_id: nil)
22
+ sig { params(external_reference: T.nilable(::String), id: T.nilable(::String), remote_id: T.nilable(::String)).void }
23
+ def initialize(external_reference: nil, id: nil, remote_id: nil)
24
+ @external_reference = external_reference
22
25
  @id = id
23
26
  @remote_id = remote_id
24
27
  end
@@ -23,6 +23,5 @@ module StackOne
23
23
  OTHER = new('other')
24
24
  end
25
25
  end
26
-
27
26
  end
28
27
  end
@@ -17,13 +17,16 @@ module StackOne
17
17
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
18
18
  # Provider's unique identifier
19
19
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
+ # Custom Unified Fields configured in your StackOne project
21
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
20
22
 
21
23
 
22
- sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
23
- def initialize(id: nil, name: nil, remote_id: nil)
24
+ sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
25
+ def initialize(id: nil, name: nil, remote_id: nil, unified_custom_fields: nil)
24
26
  @id = id
25
27
  @name = name
26
28
  @remote_id = remote_id
29
+ @unified_custom_fields = unified_custom_fields
27
30
  end
28
31
  end
29
32
  end
@@ -35,6 +35,8 @@ module StackOne
35
35
  field :date_of_birth, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } }
36
36
  # The employee department
37
37
  field :department, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } }
38
+ # The employee department id
39
+ field :department_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_id') } }
38
40
  # The employee display name
39
41
  field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
40
42
  # The assigned employee number
@@ -63,6 +65,8 @@ module StackOne
63
65
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
64
66
  # The employee job description
65
67
  field :job_description, T.nilable(::StackOne::Shared::JobDescription), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_description') } }
68
+ # The employee job id
69
+ field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
66
70
  # The employee job title
67
71
  field :job_title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } }
68
72
  # The employee last name
@@ -91,6 +95,8 @@ module StackOne
91
95
  field :tenure, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tenure') } }
92
96
  # The employee termination date
93
97
  field :termination_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('termination_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
98
+ # Custom Unified Fields configured in your StackOne project
99
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
94
100
  # The updated_at date
95
101
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
96
102
  # The employee work anniversary
@@ -103,8 +109,8 @@ module StackOne
103
109
  field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
104
110
 
105
111
 
106
- sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), groups: T.nilable(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
107
- def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, groups: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
112
+ sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), groups: T.nilable(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
113
+ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, groups: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, start_date: nil, tenure: nil, termination_date: nil, unified_custom_fields: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
108
114
  @avatar = avatar
109
115
  @avatar_url = avatar_url
110
116
  @benefits = benefits
@@ -117,6 +123,7 @@ module StackOne
117
123
  @custom_fields = custom_fields
118
124
  @date_of_birth = date_of_birth
119
125
  @department = department
126
+ @department_id = department_id
120
127
  @display_name = display_name
121
128
  @employee_number = employee_number
122
129
  @employment_contract_type = employment_contract_type
@@ -131,6 +138,7 @@ module StackOne
131
138
  @home_location = home_location
132
139
  @id = id
133
140
  @job_description = job_description
141
+ @job_id = job_id
134
142
  @job_title = job_title
135
143
  @last_name = last_name
136
144
  @manager_id = manager_id
@@ -145,6 +153,7 @@ module StackOne
145
153
  @start_date = start_date
146
154
  @tenure = tenure
147
155
  @termination_date = termination_date
156
+ @unified_custom_fields = unified_custom_fields
148
157
  @updated_at = updated_at
149
158
  @work_anniversary = work_anniversary
150
159
  @work_email = work_email
@@ -21,17 +21,20 @@ module StackOne
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
22
  # Provider's unique identifier
23
23
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
+ # Custom Unified Fields configured in your StackOne project
25
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
24
26
  # The updated_at date
25
27
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
26
28
 
27
29
 
28
- sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
29
- def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, updated_at: nil)
30
+ sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
31
+ def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil)
30
32
  @created_at = created_at
31
33
  @display_name = display_name
32
34
  @id = id
33
35
  @name = name
34
36
  @remote_id = remote_id
37
+ @unified_custom_fields = unified_custom_fields
35
38
  @updated_at = updated_at
36
39
  end
37
40
  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
@@ -22,6 +22,5 @@ module StackOne
22
22
  UNMAPPED_VALUE = new('unmapped_value')
23
23
  end
24
24
  end
25
-
26
25
  end
27
26
  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
@@ -15,6 +15,5 @@ module StackOne
15
15
  UNMAPPED_VALUE = new('unmapped_value')
16
16
  end
17
17
  end
18
-
19
18
  end
20
19
  end
@@ -261,6 +261,5 @@ module StackOne
261
261
  UNMAPPED_VALUE = new('unmapped_value')
262
262
  end
263
263
  end
264
-
265
264
  end
266
265
  end
@@ -22,6 +22,5 @@ module StackOne
22
22
  UNMAPPED_VALUE = new('unmapped_value')
23
23
  end
24
24
  end
25
-
26
25
  end
27
26
  end
@@ -17,6 +17,5 @@ module StackOne
17
17
  UNKNOWN = new('unknown')
18
18
  end
19
19
  end
20
-
21
20
  end
22
21
  end
@@ -110,6 +110,5 @@ module StackOne
110
110
  UNMAPPED_VALUE = new('unmapped_value')
111
111
  end
112
112
  end
113
-
114
113
  end
115
114
  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
@@ -15,6 +15,5 @@ module StackOne
15
15
  UNMAPPED_VALUE = new('unmapped_value')
16
16
  end
17
17
  end
18
-
19
18
  end
20
19
  end
@@ -261,6 +261,5 @@ module StackOne
261
261
  UNMAPPED_VALUE = new('unmapped_value')
262
262
  end
263
263
  end
264
-
265
264
  end
266
265
  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
@@ -37,12 +37,14 @@ module StackOne
37
37
  field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } }
38
38
  # Provider's unique identifier
39
39
  field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
40
+ # Custom Unified Fields configured in your StackOne project
41
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
40
42
  # The updated_at date
41
43
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
42
44
 
43
45
 
44
- sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
45
- def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, remote_employee_id: nil, remote_id: nil, updated_at: nil)
46
+ sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
47
+ def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, remote_employee_id: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil)
46
48
  @created_at = created_at
47
49
  @effective_date = effective_date
48
50
  @employee_id = employee_id
@@ -56,6 +58,7 @@ module StackOne
56
58
  @pay_rate = pay_rate
57
59
  @remote_employee_id = remote_employee_id
58
60
  @remote_id = remote_id
61
+ @unified_custom_fields = unified_custom_fields
59
62
  @updated_at = updated_at
60
63
  end
61
64
  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
@@ -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
@@ -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
@@ -24,6 +24,5 @@ module StackOne
24
24
  UNMAPPED_VALUE = new('unmapped_value')
25
25
  end
26
26
  end
27
-
28
27
  end
29
28
  end
@@ -37,14 +37,16 @@ module StackOne
37
37
  field :street_1, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } }
38
38
  # The second line of the address
39
39
  field :street_2, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } }
40
+ # Custom Unified Fields configured in your StackOne project
41
+ field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
40
42
  # The updated_at date
41
43
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
42
44
  # The ZIP code/Postal code of the location
43
45
  field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
44
46
 
45
47
 
46
- sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
47
- def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
48
+ sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
49
+ def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, unified_custom_fields: nil, updated_at: nil, zip_code: nil)
48
50
  @city = city
49
51
  @country = country
50
52
  @created_at = created_at
@@ -58,6 +60,7 @@ module StackOne
58
60
  @state = state
59
61
  @street_1 = street_1
60
62
  @street_2 = street_2
63
+ @unified_custom_fields = unified_custom_fields
61
64
  @updated_at = updated_at
62
65
  @zip_code = zip_code
63
66
  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 HrisBatchDocumentUploadRequestDto < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The batch of items to create
15
+ field :items, T::Array[::StackOne::Shared::HrisDocumentsUploadRequestDto], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } }
16
+
17
+
18
+ sig { params(items: T::Array[::StackOne::Shared::HrisDocumentsUploadRequestDto]).void }
19
+ def initialize(items: nil)
20
+ @items = items
21
+ end
22
+ end
23
+ end
24
+ end
@@ -17,6 +17,5 @@ module StackOne
17
17
  INSURANCE = new('insurance')
18
18
  end
19
19
  end
20
-
21
20
  end
22
21
  end
@@ -29,6 +29,8 @@ module StackOne
29
29
  field :date_of_birth, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } }
30
30
  # The employee department
31
31
  field :department, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } }
32
+ # The employee department id
33
+ field :department_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_id') } }
32
34
  # The employee display name
33
35
  field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
34
36
  # The employment work schedule type (e.g., full-time, part-time)
@@ -61,6 +63,8 @@ module StackOne
61
63
  field :marital_status, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('marital_status') } }
62
64
  # The employee name
63
65
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
66
+ # The national identity number
67
+ field :national_identity_number, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('national_identity_number') } }
64
68
  # Value to pass through to the provider
65
69
  field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
66
70
  # The employee personal email
@@ -85,8 +89,8 @@ module StackOne
85
89
  field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
86
90
 
87
91
 
88
- sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
89
- def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
92
+ sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
93
+ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
90
94
  @avatar = avatar
91
95
  @avatar_url = avatar_url
92
96
  @benefits = benefits
@@ -96,6 +100,7 @@ module StackOne
96
100
  @custom_fields = custom_fields
97
101
  @date_of_birth = date_of_birth
98
102
  @department = department
103
+ @department_id = department_id
99
104
  @display_name = display_name
100
105
  @employment_contract_type = employment_contract_type
101
106
  @employment_status = employment_status
@@ -112,6 +117,7 @@ module StackOne
112
117
  @manager_id = manager_id
113
118
  @marital_status = marital_status
114
119
  @name = name
120
+ @national_identity_number = national_identity_number
115
121
  @passthrough = passthrough
116
122
  @personal_email = personal_email
117
123
  @personal_phone_number = personal_phone_number