stackone_client 0.2.6 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +5 -2
  3. data/lib/stack_one/ats.rb +1 -1
  4. data/lib/stack_one/hris.rb +50 -0
  5. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +3 -22
  6. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +3 -22
  7. data/lib/stack_one/models/operations/ats_get_application_request.rb +3 -22
  8. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +3 -22
  9. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +3 -22
  10. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +3 -22
  11. data/lib/stack_one/models/operations/ats_get_department_request.rb +3 -22
  12. data/lib/stack_one/models/operations/ats_get_interview_request.rb +3 -22
  13. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +3 -22
  14. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +3 -22
  15. data/lib/stack_one/models/operations/ats_get_job_request.rb +3 -22
  16. data/lib/stack_one/models/operations/ats_get_location_request.rb +3 -22
  17. data/lib/stack_one/models/operations/ats_get_offer_request.rb +3 -22
  18. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +3 -22
  19. data/lib/stack_one/models/operations/ats_get_user_request.rb +3 -22
  20. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  34. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  35. data/lib/stack_one/models/operations/crm_get_account_request.rb +3 -17
  36. data/lib/stack_one/models/operations/crm_get_contact_request.rb +3 -17
  37. data/lib/stack_one/models/operations/crm_get_list_request.rb +3 -17
  38. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
  39. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
  40. data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
  41. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +3 -17
  42. data/lib/stack_one/models/operations/hris_get_company_request.rb +3 -17
  43. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +3 -17
  44. data/lib/stack_one/models/operations/hris_get_employee_request.rb +3 -17
  45. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +3 -17
  46. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +3 -17
  47. data/lib/stack_one/models/operations/hris_get_employment_request.rb +3 -17
  48. data/lib/stack_one/models/operations/hris_get_location_request.rb +3 -17
  49. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +3 -17
  50. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
  51. data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
  52. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
  53. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
  54. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +1 -1
  55. data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
  56. data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
  57. data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
  58. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
  59. data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +30 -0
  60. data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
  61. data/lib/stack_one/models/operations/stackone_get_account_request.rb +5 -2
  62. data/lib/stack_one/models/operations.rb +2 -0
  63. data/lib/stack_one/models/shared/account.rb +8 -5
  64. data/lib/stack_one/models/shared/answer.rb +6 -3
  65. data/lib/stack_one/models/shared/application.rb +6 -3
  66. data/lib/stack_one/models/shared/application_interview_stage.rb +6 -3
  67. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
  68. data/lib/stack_one/models/shared/atslocation.rb +6 -3
  69. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +8 -28
  70. data/lib/stack_one/models/shared/campaign.rb +6 -3
  71. data/lib/stack_one/models/shared/candidate.rb +8 -5
  72. data/lib/stack_one/models/shared/company.rb +6 -3
  73. data/lib/stack_one/models/shared/contact.rb +6 -3
  74. data/lib/stack_one/models/shared/content.rb +5 -2
  75. data/lib/stack_one/models/shared/department.rb +6 -3
  76. data/lib/stack_one/models/shared/document.rb +6 -3
  77. data/lib/stack_one/models/shared/documentapimodel.rb +6 -3
  78. data/lib/stack_one/models/shared/emailmessages.rb +6 -3
  79. data/lib/stack_one/models/shared/employee.rb +9 -3
  80. data/lib/stack_one/models/shared/employee_company.rb +6 -3
  81. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
  82. data/lib/stack_one/models/shared/employeecustomfields.rb +6 -3
  83. data/lib/stack_one/models/shared/employment.rb +6 -3
  84. data/lib/stack_one/models/shared/field.rb +6 -3
  85. data/lib/stack_one/models/shared/home_location.rb +6 -3
  86. data/lib/stack_one/models/shared/hrisbenefit.rb +6 -3
  87. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  88. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +27 -0
  89. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +115 -0
  90. data/lib/stack_one/models/shared/hrislocation.rb +6 -3
  91. data/lib/stack_one/models/shared/interview.rb +8 -5
  92. data/lib/stack_one/models/shared/interview_interview_stage.rb +6 -3
  93. data/lib/stack_one/models/shared/interviewer.rb +6 -3
  94. data/lib/stack_one/models/shared/interviewpart.rb +12 -3
  95. data/lib/stack_one/models/shared/interviewstage.rb +6 -3
  96. data/lib/stack_one/models/shared/job.rb +6 -3
  97. data/lib/stack_one/models/shared/jobposting.rb +8 -5
  98. data/lib/stack_one/models/shared/jobpostinglocation.rb +6 -3
  99. data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +6 -3
  100. data/lib/stack_one/models/shared/list.rb +6 -3
  101. data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +6 -3
  102. data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +6 -3
  103. data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +6 -3
  104. data/lib/stack_one/models/shared/message.rb +6 -3
  105. data/lib/stack_one/models/shared/note.rb +6 -3
  106. data/lib/stack_one/models/shared/offer.rb +6 -3
  107. data/lib/stack_one/models/shared/preferred_language.rb +27 -0
  108. data/lib/stack_one/models/shared/pushmessages.rb +6 -3
  109. data/lib/stack_one/models/shared/question.rb +6 -3
  110. data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +6 -3
  111. data/lib/stack_one/models/shared/questionnaire.rb +6 -3
  112. data/lib/stack_one/models/shared/rejectedreason.rb +6 -3
  113. data/lib/stack_one/models/shared/scorecard.rb +6 -3
  114. data/lib/stack_one/models/shared/scorecardsection.rb +6 -3
  115. data/lib/stack_one/models/shared/template.rb +6 -3
  116. data/lib/stack_one/models/shared/timeoff.rb +6 -3
  117. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +59 -0
  118. data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +27 -0
  119. data/lib/stack_one/models/shared/{atsupdateapplicationrequestdto_application_status.rb → unifieduploadrequestdto_file_format.rb} +6 -6
  120. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1226 -0
  121. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +19 -0
  122. data/lib/stack_one/models/shared/user.rb +6 -3
  123. data/lib/stack_one/models/shared/work_location.rb +6 -3
  124. data/lib/stack_one/models/shared/workeligibility.rb +6 -3
  125. data/lib/stack_one/models/shared/workeligibility_document.rb +6 -3
  126. data/lib/stack_one/models/shared.rb +12 -6
  127. data/lib/stack_one/sdkconfiguration.rb +3 -3
  128. data/lib/stack_one/utils/utils.rb +4 -3
  129. metadata +13 -5
  130. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +0 -30
  131. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -32
@@ -25,7 +25,7 @@ module StackOne
25
25
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
26
26
  # The documents attached to this application (eg. resume, cover letter etc.)
27
27
  field :documents, T.nilable(T::Array[::StackOne::Shared::DocumentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('documents') } }
28
- # Unique identifier of the application
28
+ # Unique identifier
29
29
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
30
30
 
31
31
  field :interview_stage, T.nilable(::StackOne::Shared::ApplicationInterviewStage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
@@ -45,14 +45,16 @@ module StackOne
45
45
  field :rejected_reason_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_ids') } }
46
46
 
47
47
  field :rejected_reasons, T.nilable(T::Array[::StackOne::Shared::RejectedReason]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reasons') } }
48
+ # Provider's unique identifier
49
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
48
50
 
49
51
  field :result_links, T.nilable(T::Array[::StackOne::Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } }
50
52
  # Date of last update
51
53
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
52
54
 
53
55
 
54
- sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::DocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), updated_at: T.nilable(::DateTime)).void }
55
- def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, result_links: nil, updated_at: nil)
56
+ sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::DocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_id: T.nilable(::String), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), updated_at: T.nilable(::DateTime)).void }
57
+ def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_id: nil, result_links: nil, updated_at: nil)
56
58
  @application_status = application_status
57
59
  @attachments = attachments
58
60
  @candidate = candidate
@@ -69,6 +71,7 @@ module StackOne
69
71
  @rejected_at = rejected_at
70
72
  @rejected_reason_ids = rejected_reason_ids
71
73
  @rejected_reasons = rejected_reasons
74
+ @remote_id = remote_id
72
75
  @result_links = result_links
73
76
  @updated_at = updated_at
74
77
  end
@@ -13,22 +13,25 @@ module StackOne
13
13
 
14
14
  # Interview Stage created date
15
15
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
16
-
16
+ # Unique identifier
17
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
18
 
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
20
 
21
21
  field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
22
+ # Provider's unique identifier
23
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
22
24
  # Interview Stage updated date
23
25
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
24
26
 
25
27
 
26
- sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), updated_at: T.nilable(::DateTime)).void }
27
- def initialize(created_at: nil, id: nil, name: nil, order: nil, updated_at: nil)
28
+ sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
29
+ def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil)
28
30
  @created_at = created_at
29
31
  @id = id
30
32
  @name = name
31
33
  @order = order
34
+ @remote_id = remote_id
32
35
  @updated_at = updated_at
33
36
  end
34
37
  end
@@ -13,30 +13,25 @@ module StackOne
13
13
 
14
14
 
15
15
  field :application_status, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
16
- # Use `documents` expand instead
17
- #
18
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
- field :attachments, T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
20
16
 
21
17
  field :candidate, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
22
18
  # Unique identifier of the candidate
23
19
  field :candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
24
20
  # Unique identifier of the job
25
21
  field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
26
- # Unique identifiers of the locations
27
- field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
22
+ # Unique identifier of the location
23
+ field :location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
28
24
  # Questionnaires associated with the application
29
25
  field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
30
26
 
31
27
 
32
- sig { params(application_status: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), job_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire])).void }
33
- def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, job_id: nil, location_ids: nil, questionnaires: nil)
28
+ sig { params(application_status: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), candidate: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire])).void }
29
+ def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, questionnaires: nil)
34
30
  @application_status = application_status
35
- @attachments = attachments
36
31
  @candidate = candidate
37
32
  @candidate_id = candidate_id
38
33
  @job_id = job_id
39
- @location_ids = location_ids
34
+ @location_id = location_id
40
35
  @questionnaires = questionnaires
41
36
  end
42
37
  end
@@ -11,16 +11,19 @@ module StackOne
11
11
  class ATSLocation < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
14
+ # Unique identifier
15
15
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
16
 
17
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') } }
18
20
 
19
21
 
20
- sig { params(id: T.nilable(::String), name: T.nilable(::String)).void }
21
- def initialize(id: nil, name: nil)
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)
22
24
  @id = id
23
25
  @name = name
26
+ @remote_id = remote_id
24
27
  end
25
28
  end
26
29
  end
@@ -11,36 +11,16 @@ module StackOne
11
11
  class AtsUpdateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Unique identifier of the interview stage
15
+ field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
16
+ # Unique identifier of the rejection reason
17
+ field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
14
18
 
15
- field :application_status, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
16
- # Use `documents` expand instead
17
- #
18
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
- field :attachments, T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
20
19
 
21
- field :candidate, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
22
- # Unique identifier of the candidate
23
- field :candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
24
- # The ID of the application to update.
25
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
26
- # Unique identifier of the job
27
- field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
28
- # Unique identifiers of the locations
29
- field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
30
- # Questionnaires associated with the application
31
- field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
32
-
33
-
34
- sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), id: T.nilable(::String), job_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire])).void }
35
- def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, id: nil, job_id: nil, location_ids: nil, questionnaires: nil)
36
- @application_status = application_status
37
- @attachments = attachments
38
- @candidate = candidate
39
- @candidate_id = candidate_id
40
- @id = id
41
- @job_id = job_id
42
- @location_ids = location_ids
43
- @questionnaires = questionnaires
20
+ sig { params(interview_stage_id: T.nilable(::String), rejected_reason_id: T.nilable(::String)).void }
21
+ def initialize(interview_stage_id: nil, rejected_reason_id: nil)
22
+ @interview_stage_id = interview_stage_id
23
+ @rejected_reason_id = rejected_reason_id
44
24
  end
45
25
  end
46
26
  end
@@ -23,7 +23,7 @@ module StackOne
23
23
  field :draft, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('draft') } }
24
24
  # The first_sent_at date
25
25
  field :first_sent_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
26
-
26
+ # Unique identifier
27
27
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
28
28
  # The last_sent_at date
29
29
  field :last_sent_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_sent_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
@@ -31,6 +31,8 @@ module StackOne
31
31
  field :messages, T.nilable(T::Array[::StackOne::Shared::Message]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
32
32
 
33
33
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
34
+ # Provider's unique identifier
35
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
34
36
  # The schedule type
35
37
  field :schedule_type, T.nilable(::StackOne::Shared::ScheduleType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('schedule_type') } }
36
38
  # Status of the Campaign
@@ -41,8 +43,8 @@ module StackOne
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(archived: T.nilable(T::Boolean), channels: T.nilable(T::Array[::StackOne::Shared::ChannelsEnum]), created_at: T.nilable(::DateTime), description: T.nilable(::String), draft: T.nilable(T::Boolean), first_sent_at: T.nilable(::DateTime), id: T.nilable(::String), last_sent_at: T.nilable(::DateTime), messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), schedule_type: T.nilable(::StackOne::Shared::ScheduleType), status: T.nilable(::StackOne::Shared::Status), tags: T.nilable(T::Array[::String]), updated_at: T.nilable(::DateTime)).void }
45
- def initialize(archived: nil, channels: nil, created_at: nil, description: nil, draft: nil, first_sent_at: nil, id: nil, last_sent_at: nil, messages: nil, name: nil, schedule_type: nil, status: nil, tags: nil, updated_at: nil)
46
+ sig { params(archived: T.nilable(T::Boolean), channels: T.nilable(T::Array[::StackOne::Shared::ChannelsEnum]), created_at: T.nilable(::DateTime), description: T.nilable(::String), draft: T.nilable(T::Boolean), first_sent_at: T.nilable(::DateTime), id: T.nilable(::String), last_sent_at: T.nilable(::DateTime), messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), remote_id: T.nilable(::String), schedule_type: T.nilable(::StackOne::Shared::ScheduleType), status: T.nilable(::StackOne::Shared::Status), tags: T.nilable(T::Array[::String]), updated_at: T.nilable(::DateTime)).void }
47
+ def initialize(archived: nil, channels: nil, created_at: nil, description: nil, draft: nil, first_sent_at: nil, id: nil, last_sent_at: nil, messages: nil, name: nil, remote_id: nil, schedule_type: nil, status: nil, tags: nil, updated_at: nil)
46
48
  @archived = archived
47
49
  @channels = channels
48
50
  @created_at = created_at
@@ -53,6 +55,7 @@ module StackOne
53
55
  @last_sent_at = last_sent_at
54
56
  @messages = messages
55
57
  @name = name
58
+ @remote_id = remote_id
56
59
  @schedule_type = schedule_type
57
60
  @status = status
58
61
  @tags = tags
@@ -11,8 +11,6 @@ module StackOne
11
11
  class Candidate < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # Candidate ID
15
- field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
14
  # List of candidate application IDs
17
15
  field :application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
18
16
  # Candidate company
@@ -27,6 +25,8 @@ module StackOne
27
25
  field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
28
26
  # Candidate hired date
29
27
  field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
28
+ # Unique identifier
29
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
30
30
  # Candidate last name
31
31
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
32
32
  # Candidate name
@@ -37,6 +37,8 @@ module StackOne
37
37
  field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
38
38
  # List of candidate phone numbers including the type of the number when available
39
39
  field :phone_numbers, T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
40
+ # Provider's unique identifier
41
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
40
42
  # List of candidate social links
41
43
  field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
42
44
  # Candidate title
@@ -45,9 +47,8 @@ module StackOne
45
47
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
46
48
 
47
49
 
48
- sig { params(id: ::String, application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), created_at: T.nilable(::DateTime), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
49
- def initialize(id: nil, application_ids: nil, company: nil, created_at: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil, updated_at: nil)
50
- @id = id
50
+ sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), created_at: T.nilable(::DateTime), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
51
+ def initialize(application_ids: nil, company: nil, created_at: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_id: nil, social_links: nil, title: nil, updated_at: nil)
51
52
  @application_ids = application_ids
52
53
  @company = company
53
54
  @created_at = created_at
@@ -55,10 +56,12 @@ module StackOne
55
56
  @emails = emails
56
57
  @first_name = first_name
57
58
  @hired_at = hired_at
59
+ @id = id
58
60
  @last_name = last_name
59
61
  @name = name
60
62
  @phone = phone
61
63
  @phone_numbers = phone_numbers
64
+ @remote_id = remote_id
62
65
  @social_links = social_links
63
66
  @title = title
64
67
  @updated_at = updated_at
@@ -15,20 +15,23 @@ 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 display name of the company
17
17
  field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
18
- # The identifier of the company
18
+ # Unique identifier
19
19
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
20
  # The name of the company
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
+ # Provider's unique identifier
23
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
22
24
  # The updated_at date
23
25
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
24
26
 
25
27
 
26
- sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
27
- def initialize(created_at: nil, display_name: nil, id: nil, name: nil, updated_at: nil)
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)
28
30
  @created_at = created_at
29
31
  @display_name = display_name
30
32
  @id = id
31
33
  @name = name
34
+ @remote_id = remote_id
32
35
  @updated_at = updated_at
33
36
  end
34
37
  end
@@ -23,18 +23,20 @@ module StackOne
23
23
  field :emails, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
24
24
  # The contact first name
25
25
  field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
26
- # The contact ID
26
+ # Unique identifier
27
27
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
28
28
  # The contact last name
29
29
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
30
30
  # List of contact phone numbers
31
31
  field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
32
+ # Provider's unique identifier
33
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
32
34
  # Timestamp when the contact was last updated
33
35
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
34
36
 
35
37
 
36
- sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), 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]), updated_at: T.nilable(::DateTime)).void }
37
- def initialize(account_ids: nil, company_name: nil, created_at: nil, deal_ids: nil, emails: nil, first_name: nil, id: nil, last_name: nil, phone_numbers: nil, updated_at: nil)
38
+ sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), 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_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
39
+ def initialize(account_ids: nil, company_name: nil, created_at: nil, deal_ids: nil, emails: nil, first_name: nil, id: nil, last_name: nil, phone_numbers: nil, remote_id: nil, updated_at: nil)
38
40
  @account_ids = account_ids
39
41
  @company_name = company_name
40
42
  @created_at = created_at
@@ -44,6 +46,7 @@ module StackOne
44
46
  @id = id
45
47
  @last_name = last_name
46
48
  @phone_numbers = phone_numbers
49
+ @remote_id = remote_id
47
50
  @updated_at = updated_at
48
51
  end
49
52
  end
@@ -13,13 +13,16 @@ module StackOne
13
13
 
14
14
  # The file format of the file
15
15
  field :file_format, T.nilable(::StackOne::Shared::FileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
16
+ # Unified URL where the file content is located
17
+ field :unified_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_url') } }
16
18
  # URL where the file content is located
17
19
  field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
18
20
 
19
21
 
20
- sig { params(file_format: T.nilable(::StackOne::Shared::FileFormat), url: T.nilable(::String)).void }
21
- def initialize(file_format: nil, url: nil)
22
+ sig { params(file_format: T.nilable(::StackOne::Shared::FileFormat), unified_url: T.nilable(::String), url: T.nilable(::String)).void }
23
+ def initialize(file_format: nil, unified_url: nil, url: nil)
22
24
  @file_format = file_format
25
+ @unified_url = unified_url
23
26
  @url = url
24
27
  end
25
28
  end
@@ -11,16 +11,19 @@ module StackOne
11
11
  class Department < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
14
+ # Unique identifier
15
15
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
16
 
17
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') } }
18
20
 
19
21
 
20
- sig { params(id: T.nilable(::String), name: T.nilable(::String)).void }
21
- def initialize(id: nil, name: nil)
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)
22
24
  @id = id
23
25
  @name = name
26
+ @remote_id = remote_id
24
27
  end
25
28
  end
26
29
  end
@@ -15,23 +15,26 @@ module StackOne
15
15
  field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
16
16
  # The creation date of the file
17
17
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
18
- # The unique ID of the file
18
+ # Unique identifier
19
19
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
20
  # The name of the file
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
22
  # The path where the file is stored
23
23
  field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
24
+ # Provider's unique identifier
25
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
26
  # The update date of the file
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(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
29
- def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, updated_at: nil)
30
+ sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
31
+ def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, updated_at: nil)
30
32
  @contents = contents
31
33
  @created_at = created_at
32
34
  @id = id
33
35
  @name = name
34
36
  @path = path
37
+ @remote_id = remote_id
35
38
  @updated_at = updated_at
36
39
  end
37
40
  end
@@ -15,25 +15,28 @@ module StackOne
15
15
  field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
16
16
  # The creation date of the file
17
17
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
18
- # The unique ID of the file
18
+ # Unique identifier
19
19
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
20
  # The name of the file
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
22
  # The path where the file is stored
23
23
  field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
24
+ # Provider's unique identifier
25
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
26
  # The content type of the document
25
27
  field :type, T.nilable(::StackOne::Shared::DocumentApiModelType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
26
28
  # The update date of the file
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(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), type: T.nilable(::StackOne::Shared::DocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
31
- def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, type: nil, updated_at: nil)
32
+ sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::DocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
33
+ def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
32
34
  @contents = contents
33
35
  @created_at = created_at
34
36
  @id = id
35
37
  @name = name
36
38
  @path = path
39
+ @remote_id = remote_id
37
40
  @type = type
38
41
  @updated_at = updated_at
39
42
  end
@@ -11,7 +11,7 @@ module StackOne
11
11
  class EmailMessages < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
14
+ # Unique identifier
15
15
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
16
 
17
17
  field :message_content, T.nilable(::StackOne::Shared::MessageContent), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_content') } }
@@ -19,14 +19,17 @@ module StackOne
19
19
  field :message_type, T.nilable(::StackOne::Shared::MessageType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_type') } }
20
20
 
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
+ # Provider's unique identifier
23
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
22
24
 
23
25
 
24
- sig { params(id: T.nilable(::String), message_content: T.nilable(::StackOne::Shared::MessageContent), message_type: T.nilable(::StackOne::Shared::MessageType), name: T.nilable(::String)).void }
25
- def initialize(id: nil, message_content: nil, message_type: nil, name: nil)
26
+ sig { params(id: T.nilable(::String), message_content: T.nilable(::StackOne::Shared::MessageContent), message_type: T.nilable(::StackOne::Shared::MessageType), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
27
+ def initialize(id: nil, message_content: nil, message_type: nil, name: nil, remote_id: nil)
26
28
  @id = id
27
29
  @message_content = message_content
28
30
  @message_type = message_type
29
31
  @name = name
32
+ @remote_id = remote_id
30
33
  end
31
34
  end
32
35
  end
@@ -55,7 +55,7 @@ module StackOne
55
55
  field :hire_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hire_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
56
56
  # The employee home location
57
57
  field :home_location, T.nilable(::StackOne::Shared::HomeLocation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('home_location') } }
58
- # The employee ID
58
+ # Unique identifier
59
59
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
60
60
  # The employee job description
61
61
  field :job_description, T.nilable(::StackOne::Shared::JobDescription), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_description') } }
@@ -73,6 +73,10 @@ module StackOne
73
73
  field :personal_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } }
74
74
  # The employee personal phone number
75
75
  field :personal_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_phone_number') } }
76
+ # The employee preferred language
77
+ field :preferred_language, T.nilable(::StackOne::Shared::PreferredLanguage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('preferred_language') } }
78
+ # Provider's unique identifier
79
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
76
80
  # The employee start date
77
81
  field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
78
82
  # The employee tenure
@@ -91,8 +95,8 @@ module StackOne
91
95
  field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
92
96
 
93
97
 
94
- 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), 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), 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), personal_email: T.nilable(::String), personal_phone_number: 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 }
95
- 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, 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, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: 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)
98
+ 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), 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), 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), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_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 }
99
+ 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, 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, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_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)
96
100
  @avatar = avatar
97
101
  @avatar_url = avatar_url
98
102
  @benefits = benefits
@@ -124,6 +128,8 @@ module StackOne
124
128
  @name = name
125
129
  @personal_email = personal_email
126
130
  @personal_phone_number = personal_phone_number
131
+ @preferred_language = preferred_language
132
+ @remote_id = remote_id
127
133
  @start_date = start_date
128
134
  @tenure = tenure
129
135
  @termination_date = termination_date
@@ -15,20 +15,23 @@ 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 display name of the company
17
17
  field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
18
- # The identifier of the company
18
+ # Unique identifier
19
19
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
20
  # The name of the company
21
21
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
22
+ # Provider's unique identifier
23
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
22
24
  # The updated_at date
23
25
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
24
26
 
25
27
 
26
- sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
27
- def initialize(created_at: nil, display_name: nil, id: nil, name: nil, updated_at: nil)
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)
28
30
  @created_at = created_at
29
31
  @display_name = display_name
30
32
  @id = id
31
33
  @name = name
34
+ @remote_id = remote_id
32
35
  @updated_at = updated_at
33
36
  end
34
37
  end