stackone_client 0.2.7 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +5 -2
  3. data/lib/stack_one/models/operations/crm_get_account_request.rb +3 -17
  4. data/lib/stack_one/models/operations/crm_get_contact_request.rb +3 -17
  5. data/lib/stack_one/models/operations/crm_get_list_request.rb +3 -17
  6. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
  7. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
  8. data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
  9. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +3 -17
  10. data/lib/stack_one/models/operations/hris_get_company_request.rb +3 -17
  11. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +3 -17
  12. data/lib/stack_one/models/operations/hris_get_employee_request.rb +3 -17
  13. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +3 -17
  14. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +3 -17
  15. data/lib/stack_one/models/operations/hris_get_employment_request.rb +3 -17
  16. data/lib/stack_one/models/operations/hris_get_location_request.rb +3 -17
  17. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +3 -17
  18. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
  19. data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
  20. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
  21. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
  22. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +1 -1
  23. data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
  24. data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
  25. data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
  26. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
  27. data/lib/stack_one/models/operations/stackone_get_account_request.rb +5 -2
  28. data/lib/stack_one/models/shared/account.rb +8 -5
  29. data/lib/stack_one/models/shared/answer.rb +6 -3
  30. data/lib/stack_one/models/shared/application.rb +6 -3
  31. data/lib/stack_one/models/shared/application_interview_stage.rb +6 -3
  32. data/lib/stack_one/models/shared/atslocation.rb +6 -3
  33. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -2
  34. data/lib/stack_one/models/shared/campaign.rb +6 -3
  35. data/lib/stack_one/models/shared/candidate.rb +8 -5
  36. data/lib/stack_one/models/shared/company.rb +6 -3
  37. data/lib/stack_one/models/shared/contact.rb +6 -3
  38. data/lib/stack_one/models/shared/department.rb +6 -3
  39. data/lib/stack_one/models/shared/document.rb +6 -3
  40. data/lib/stack_one/models/shared/documentapimodel.rb +6 -3
  41. data/lib/stack_one/models/shared/emailmessages.rb +6 -3
  42. data/lib/stack_one/models/shared/employee.rb +6 -3
  43. data/lib/stack_one/models/shared/employee_company.rb +6 -3
  44. data/lib/stack_one/models/shared/employeecustomfields.rb +6 -3
  45. data/lib/stack_one/models/shared/employment.rb +6 -3
  46. data/lib/stack_one/models/shared/field.rb +6 -3
  47. data/lib/stack_one/models/shared/home_location.rb +6 -3
  48. data/lib/stack_one/models/shared/hrisbenefit.rb +6 -3
  49. data/lib/stack_one/models/shared/hrislocation.rb +6 -3
  50. data/lib/stack_one/models/shared/interview.rb +8 -5
  51. data/lib/stack_one/models/shared/interview_interview_stage.rb +6 -3
  52. data/lib/stack_one/models/shared/interviewer.rb +6 -3
  53. data/lib/stack_one/models/shared/interviewpart.rb +12 -3
  54. data/lib/stack_one/models/shared/interviewstage.rb +6 -3
  55. data/lib/stack_one/models/shared/job.rb +6 -3
  56. data/lib/stack_one/models/shared/jobposting.rb +8 -5
  57. data/lib/stack_one/models/shared/jobpostinglocation.rb +6 -3
  58. data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +6 -3
  59. data/lib/stack_one/models/shared/list.rb +6 -3
  60. data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +6 -3
  61. data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +6 -3
  62. data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +6 -3
  63. data/lib/stack_one/models/shared/message.rb +6 -3
  64. data/lib/stack_one/models/shared/note.rb +6 -3
  65. data/lib/stack_one/models/shared/offer.rb +6 -3
  66. data/lib/stack_one/models/shared/pushmessages.rb +6 -3
  67. data/lib/stack_one/models/shared/question.rb +6 -3
  68. data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +6 -3
  69. data/lib/stack_one/models/shared/questionnaire.rb +6 -3
  70. data/lib/stack_one/models/shared/rejectedreason.rb +6 -3
  71. data/lib/stack_one/models/shared/scorecard.rb +6 -3
  72. data/lib/stack_one/models/shared/scorecardsection.rb +6 -3
  73. data/lib/stack_one/models/shared/template.rb +6 -3
  74. data/lib/stack_one/models/shared/timeoff.rb +6 -3
  75. data/lib/stack_one/models/shared/user.rb +6 -3
  76. data/lib/stack_one/models/shared/work_location.rb +6 -3
  77. data/lib/stack_one/models/shared/workeligibility.rb +6 -3
  78. data/lib/stack_one/models/shared/workeligibility_document.rb +6 -3
  79. data/lib/stack_one/sdkconfiguration.rb +3 -3
  80. data/lib/stack_one/utils/utils.rb +4 -3
  81. metadata +2 -2
@@ -15,7 +15,7 @@ module StackOne
15
15
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
16
  # The account identifier
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
18
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
@@ -15,7 +15,7 @@ module StackOne
15
15
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
16
  # The account identifier
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
18
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
@@ -15,7 +15,7 @@ module StackOne
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
16
  # The comma separated list of fields that will be expanded in the response
17
17
  field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
18
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # The comma separated list of fields that will be included in the response
21
21
  field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
@@ -13,7 +13,7 @@ module StackOne
13
13
 
14
14
  # The account identifier
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
16
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
17
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # The unified cursor
19
19
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
@@ -13,7 +13,7 @@ module StackOne
13
13
 
14
14
  # The account identifier
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
16
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
17
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # The unified cursor
19
19
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
@@ -13,7 +13,7 @@ module StackOne
13
13
 
14
14
  # The account identifier
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
16
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
17
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # The unified cursor
19
19
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
@@ -12,11 +12,14 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
+ field :expand_info, ::String, { 'query_param': { 'field_name': 'expand_info', 'style': 'form', 'explode': true } }
16
+
15
17
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
18
 
17
19
 
18
- sig { params(id: ::String).void }
19
- def initialize(id: nil)
20
+ sig { params(expand_info: ::String, id: ::String).void }
21
+ def initialize(expand_info: nil, id: nil)
22
+ @expand_info = expand_info
20
23
  @id = id
21
24
  end
22
25
  end
@@ -12,8 +12,6 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
-
17
15
  field :addresses, T.nilable(T::Array[::StackOne::Shared::AccountAddress]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('addresses') } }
18
16
 
19
17
  field :annual_revenue, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('annual_revenue') } }
@@ -21,6 +19,8 @@ module StackOne
21
19
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
22
20
 
23
21
  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
22
+ # Unique identifier
23
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
24
24
  # Values of the industries
25
25
  field :industries, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('industries') } }
26
26
 
@@ -29,23 +29,26 @@ module StackOne
29
29
  field :owner_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('owner_id') } }
30
30
  # List of account 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 account 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
  field :website, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('website') } }
36
38
 
37
39
 
38
- sig { params(id: ::String, addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), industries: T.nilable(T::Array[::String]), name: T.nilable(::String), owner_id: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void }
39
- def initialize(id: nil, addresses: nil, annual_revenue: nil, created_at: nil, description: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, updated_at: nil, website: nil)
40
- @id = id
40
+ sig { params(addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), industries: T.nilable(T::Array[::String]), name: T.nilable(::String), owner_id: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void }
41
+ def initialize(addresses: nil, annual_revenue: nil, created_at: nil, description: nil, id: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, remote_id: nil, updated_at: nil, website: nil)
41
42
  @addresses = addresses
42
43
  @annual_revenue = annual_revenue
43
44
  @created_at = created_at
44
45
  @description = description
46
+ @id = id
45
47
  @industries = industries
46
48
  @name = name
47
49
  @owner_id = owner_id
48
50
  @phone_numbers = phone_numbers
51
+ @remote_id = remote_id
49
52
  @updated_at = updated_at
50
53
  @website = website
51
54
  end
@@ -11,17 +11,20 @@ module StackOne
11
11
  class Answer < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # Unique identifier of the answer
14
+ # Unique identifier
15
15
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
+ # Provider's unique identifier
17
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
16
18
  # Type of the answer
17
19
  field :type, T.nilable(::StackOne::Shared::Type), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
18
20
  # Values of the answer
19
21
  field :values, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }
20
22
 
21
23
 
22
- sig { params(id: T.nilable(::String), type: T.nilable(::StackOne::Shared::Type), values: T.nilable(T::Array[::String])).void }
23
- def initialize(id: nil, type: nil, values: nil)
24
+ sig { params(id: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::Type), values: T.nilable(T::Array[::String])).void }
25
+ def initialize(id: nil, remote_id: nil, type: nil, values: nil)
24
26
  @id = id
27
+ @remote_id = remote_id
25
28
  @type = type
26
29
  @values = values
27
30
  end
@@ -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
@@ -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,12 +11,15 @@ 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') } }
14
16
  # Unique identifier of the rejection reason
15
17
  field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
16
18
 
17
19
 
18
- sig { params(rejected_reason_id: T.nilable(::String)).void }
19
- def initialize(rejected_reason_id: nil)
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
20
23
  @rejected_reason_id = rejected_reason_id
21
24
  end
22
25
  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
@@ -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') } }
@@ -75,6 +75,8 @@ module StackOne
75
75
  field :personal_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_phone_number') } }
76
76
  # The employee preferred language
77
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') } }
78
80
  # The employee start date
79
81
  field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
80
82
  # The employee tenure
@@ -93,8 +95,8 @@ module StackOne
93
95
  field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
94
96
 
95
97
 
96
- 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), 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 }
97
- 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, 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)
98
100
  @avatar = avatar
99
101
  @avatar_url = avatar_url
100
102
  @benefits = benefits
@@ -127,6 +129,7 @@ module StackOne
127
129
  @personal_email = personal_email
128
130
  @personal_phone_number = personal_phone_number
129
131
  @preferred_language = preferred_language
132
+ @remote_id = remote_id
130
133
  @start_date = start_date
131
134
  @tenure = tenure
132
135
  @termination_date = termination_date