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
@@ -11,21 +11,24 @@ module StackOne
11
11
  class MarketingCreateEmailTemplateRequestDto < ::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 :messages, T.nilable(T::Array[::StackOne::Shared::EmailMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
18
18
 
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
22
 
21
23
  field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
22
24
 
23
25
 
24
- sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::EmailMessages]), name: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
25
- def initialize(id: nil, messages: nil, name: nil, tags: nil)
26
+ sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::EmailMessages]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
27
+ def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
26
28
  @id = id
27
29
  @messages = messages
28
30
  @name = name
31
+ @remote_id = remote_id
29
32
  @tags = tags
30
33
  end
31
34
  end
@@ -11,21 +11,24 @@ module StackOne
11
11
  class MarketingCreatePushTemplateRequestDto < ::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 :messages, T.nilable(T::Array[::StackOne::Shared::PushMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
18
18
 
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
22
 
21
23
  field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
22
24
 
23
25
 
24
- sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::PushMessages]), name: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
25
- def initialize(id: nil, messages: nil, name: nil, tags: nil)
26
+ sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::PushMessages]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
27
+ def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
26
28
  @id = id
27
29
  @messages = messages
28
30
  @name = name
31
+ @remote_id = remote_id
29
32
  @tags = tags
30
33
  end
31
34
  end
@@ -11,21 +11,24 @@ module StackOne
11
11
  class MarketingCreateTemplateRequestDto < ::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 :messages, T.nilable(T::Array[::StackOne::Shared::Message]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
18
18
 
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
22
 
21
23
  field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
22
24
 
23
25
 
24
- sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
25
- def initialize(id: nil, messages: nil, name: nil, tags: nil)
26
+ sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
27
+ def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
26
28
  @id = id
27
29
  @messages = messages
28
30
  @name = name
31
+ @remote_id = remote_id
29
32
  @tags = tags
30
33
  end
31
34
  end
@@ -11,7 +11,7 @@ module StackOne
11
11
  class Message < ::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(::Object), { '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::MessageMessageType), { '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(::Object), message_type: T.nilable(::StackOne::Shared::MessageMessageType), 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(::Object), message_type: T.nilable(::StackOne::Shared::MessageMessageType), 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
@@ -19,21 +19,24 @@ module StackOne
19
19
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
20
  # Date of Deletion
21
21
  field :deleted_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('deleted_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
22
-
22
+ # Unique identifier
23
23
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
24
+ # Provider's unique identifier
25
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
26
  # Date of last update
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
  # Visibility of the note
27
29
  field :visibility, T.nilable(::StackOne::Shared::NoteVisibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
28
30
 
29
31
 
30
- sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
31
- def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, updated_at: nil, visibility: nil)
32
+ sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
33
+ def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_id: nil, updated_at: nil, visibility: nil)
32
34
  @author_id = author_id
33
35
  @content = content
34
36
  @created_at = created_at
35
37
  @deleted_at = deleted_at
36
38
  @id = id
39
+ @remote_id = remote_id
37
40
  @updated_at = updated_at
38
41
  @visibility = visibility
39
42
  end
@@ -17,12 +17,14 @@ module StackOne
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
18
 
19
19
  field :currency, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('currency') } }
20
-
20
+ # Unique identifier
21
21
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
22
22
 
23
23
  field :offer_history, T.nilable(T::Array[::StackOne::Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } }
24
24
 
25
25
  field :offer_status, T.nilable(::StackOne::Shared::OfferOfferStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } }
26
+ # Provider's unique identifier
27
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
26
28
 
27
29
  field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
28
30
  # Date of creation
@@ -31,14 +33,15 @@ module StackOne
31
33
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
32
34
 
33
35
 
34
- sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
35
- def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, salary: nil, start_date: nil, updated_at: nil)
36
+ sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
37
+ def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_id: nil, salary: nil, start_date: nil, updated_at: nil)
36
38
  @application_id = application_id
37
39
  @created_at = created_at
38
40
  @currency = currency
39
41
  @id = id
40
42
  @offer_history = offer_history
41
43
  @offer_status = offer_status
44
+ @remote_id = remote_id
42
45
  @salary = salary
43
46
  @start_date = start_date
44
47
  @updated_at = updated_at
@@ -11,7 +11,7 @@ module StackOne
11
11
  class PushMessages < ::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::PushMessagesMessageContent), { '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::PushMessagesMessageType), { '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::PushMessagesMessageContent), message_type: T.nilable(::StackOne::Shared::PushMessagesMessageType), 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::PushMessagesMessageContent), message_type: T.nilable(::StackOne::Shared::PushMessagesMessageType), 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
@@ -11,12 +11,14 @@ module StackOne
11
11
  class Question < ::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 :multiple_choice_answers, T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('multiple_choice_answers') } }
18
18
 
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
22
 
21
23
  field :required, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('required') } }
22
24
 
@@ -25,11 +27,12 @@ module StackOne
25
27
  field :type, T.nilable(::StackOne::Shared::QuestionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
26
28
 
27
29
 
28
- sig { params(id: T.nilable(::String), multiple_choice_answers: T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), name: T.nilable(::String), required: T.nilable(T::Boolean), text: T.nilable(::String), type: T.nilable(::StackOne::Shared::QuestionType)).void }
29
- def initialize(id: nil, multiple_choice_answers: nil, name: nil, required: nil, text: nil, type: nil)
30
+ sig { params(id: T.nilable(::String), multiple_choice_answers: T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), name: T.nilable(::String), remote_id: T.nilable(::String), required: T.nilable(T::Boolean), text: T.nilable(::String), type: T.nilable(::StackOne::Shared::QuestionType)).void }
31
+ def initialize(id: nil, multiple_choice_answers: nil, name: nil, remote_id: nil, required: nil, text: nil, type: nil)
30
32
  @id = id
31
33
  @multiple_choice_answers = multiple_choice_answers
32
34
  @name = name
35
+ @remote_id = remote_id
33
36
  @required = required
34
37
  @text = text
35
38
  @type = type
@@ -11,15 +11,18 @@ module StackOne
11
11
  class QuestionMultipleChoiceAnswers < ::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
+ # Provider's unique identifier
17
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
16
18
 
17
19
  field :text, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('text') } }
18
20
 
19
21
 
20
- sig { params(id: T.nilable(::String), text: T.nilable(::String)).void }
21
- def initialize(id: nil, text: nil)
22
+ sig { params(id: T.nilable(::String), remote_id: T.nilable(::String), text: T.nilable(::String)).void }
23
+ def initialize(id: nil, remote_id: nil, text: nil)
22
24
  @id = id
25
+ @remote_id = remote_id
23
26
  @text = text
24
27
  end
25
28
  end
@@ -13,14 +13,17 @@ module StackOne
13
13
 
14
14
 
15
15
  field :answers, T.nilable(T::Array[::StackOne::Shared::Answer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('answers') } }
16
- # Unique identifier of the questionnaire
16
+ # Unique identifier
17
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
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(answers: T.nilable(T::Array[::StackOne::Shared::Answer]), id: T.nilable(::String)).void }
21
- def initialize(answers: nil, id: nil)
22
+ sig { params(answers: T.nilable(T::Array[::StackOne::Shared::Answer]), id: T.nilable(::String), remote_id: T.nilable(::String)).void }
23
+ def initialize(answers: nil, id: nil, remote_id: nil)
22
24
  @answers = answers
23
25
  @id = id
26
+ @remote_id = remote_id
24
27
  end
25
28
  end
26
29
  end
@@ -11,21 +11,24 @@ module StackOne
11
11
  class RejectedReason < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # The ID of the rejected reason.
14
+ # Unique identifier
15
15
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
16
  # The label of the rejected reason.
17
17
  field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
18
18
 
19
19
  field :rejected_reason_type, T.nilable(::StackOne::Shared::RejectedReasonType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
22
  # The string type of the rejected reason.
21
23
  field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
22
24
 
23
25
 
24
- sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), type: T.nilable(::String)).void }
25
- def initialize(id: nil, label: nil, rejected_reason_type: nil, type: nil)
26
+ sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), remote_id: T.nilable(::String), type: T.nilable(::String)).void }
27
+ def initialize(id: nil, label: nil, rejected_reason_type: nil, remote_id: nil, type: nil)
26
28
  @id = id
27
29
  @label = label
28
30
  @rejected_reason_type = rejected_reason_type
31
+ @remote_id = remote_id
29
32
  @type = type
30
33
  end
31
34
  end
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
20
20
  # The creation date of the scorecard
21
21
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
22
- # The scorecard ID
22
+ # Unique identifier
23
23
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
24
24
  # The interview ID associated with the scorecard
25
25
  field :interview_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_id') } }
@@ -27,14 +27,16 @@ module StackOne
27
27
  field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
28
28
  # The overall recommendation
29
29
  field :overall_recommendation, T.nilable(::StackOne::Shared::OverallRecommendation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('overall_recommendation'), 'decoder': Utils.enum_from_string(::StackOne::Shared::OverallRecommendation, true) } }
30
+ # Provider's unique identifier
31
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
30
32
  # The sections in the scorecard
31
33
  field :sections, T.nilable(T::Array[::StackOne::Shared::ScorecardSection]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('sections') } }
32
34
  # The update date of the scorecard
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(application_id: T.nilable(::String), author_id: T.nilable(::String), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), id: T.nilable(::String), interview_id: T.nilable(::String), label: T.nilable(::String), overall_recommendation: T.nilable(::StackOne::Shared::OverallRecommendation), sections: T.nilable(T::Array[::StackOne::Shared::ScorecardSection]), updated_at: T.nilable(::DateTime)).void }
37
- def initialize(application_id: nil, author_id: nil, candidate_id: nil, created_at: nil, id: nil, interview_id: nil, label: nil, overall_recommendation: nil, sections: nil, updated_at: nil)
38
+ sig { params(application_id: T.nilable(::String), author_id: T.nilable(::String), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), id: T.nilable(::String), interview_id: T.nilable(::String), label: T.nilable(::String), overall_recommendation: T.nilable(::StackOne::Shared::OverallRecommendation), remote_id: T.nilable(::String), sections: T.nilable(T::Array[::StackOne::Shared::ScorecardSection]), updated_at: T.nilable(::DateTime)).void }
39
+ def initialize(application_id: nil, author_id: nil, candidate_id: nil, created_at: nil, id: nil, interview_id: nil, label: nil, overall_recommendation: nil, remote_id: nil, sections: nil, updated_at: nil)
38
40
  @application_id = application_id
39
41
  @author_id = author_id
40
42
  @candidate_id = candidate_id
@@ -43,6 +45,7 @@ module StackOne
43
45
  @interview_id = interview_id
44
46
  @label = label
45
47
  @overall_recommendation = overall_recommendation
48
+ @remote_id = remote_id
46
49
  @sections = sections
47
50
  @updated_at = updated_at
48
51
  end
@@ -13,17 +13,20 @@ module StackOne
13
13
 
14
14
  # The fields within the section
15
15
  field :fields_, T.nilable(T::Array[::StackOne::Shared::Field]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('fields') } }
16
- # The ID of the section
16
+ # Unique identifier
17
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
18
  # The label of the section
19
19
  field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
22
 
21
23
 
22
- sig { params(fields_: T.nilable(T::Array[::StackOne::Shared::Field]), id: T.nilable(::String), label: T.nilable(::String)).void }
23
- def initialize(fields_: nil, id: nil, label: nil)
24
+ sig { params(fields_: T.nilable(T::Array[::StackOne::Shared::Field]), id: T.nilable(::String), label: T.nilable(::String), remote_id: T.nilable(::String)).void }
25
+ def initialize(fields_: nil, id: nil, label: nil, remote_id: nil)
24
26
  @fields_ = fields_
25
27
  @id = id
26
28
  @label = label
29
+ @remote_id = remote_id
27
30
  end
28
31
  end
29
32
  end
@@ -13,21 +13,24 @@ module StackOne
13
13
 
14
14
  # Date of creation
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
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
20
22
 
21
23
  field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
22
24
  # Date of last update
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), tags: T.nilable(T::Array[::String]), updated_at: T.nilable(::DateTime)).void }
27
- def initialize(created_at: nil, id: nil, name: nil, tags: nil, updated_at: nil)
28
+ sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String]), updated_at: T.nilable(::DateTime)).void }
29
+ def initialize(created_at: nil, id: nil, name: nil, remote_id: nil, tags: nil, updated_at: nil)
28
30
  @created_at = created_at
29
31
  @id = id
30
32
  @name = name
33
+ @remote_id = remote_id
31
34
  @tags = tags
32
35
  @updated_at = updated_at
33
36
  end
@@ -19,8 +19,10 @@ module StackOne
19
19
  field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
20
20
  # The end date of the time off request
21
21
  field :end_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
22
- # The unique ID of the time off request
22
+ # Unique identifier
23
23
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
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 start date of the time off request
25
27
  field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
26
28
  # The status of the time off request
@@ -31,13 +33,14 @@ module StackOne
31
33
  field :updated_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
32
34
 
33
35
 
34
- sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), id: T.nilable(::String), start_date: T.nilable(::DateTime), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
35
- def initialize(approver_id: nil, created_date: nil, employee_id: nil, end_date: nil, id: nil, start_date: nil, status: nil, type: nil, updated_date: nil)
36
+ sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
37
+ def initialize(approver_id: nil, created_date: nil, employee_id: nil, end_date: nil, id: nil, remote_id: nil, start_date: nil, status: nil, type: nil, updated_date: nil)
36
38
  @approver_id = approver_id
37
39
  @created_date = created_date
38
40
  @employee_id = employee_id
39
41
  @end_date = end_date
40
42
  @id = id
43
+ @remote_id = remote_id
41
44
  @start_date = start_date
42
45
  @status = status
43
46
  @type = type
@@ -15,7 +15,7 @@ module StackOne
15
15
  field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
16
16
 
17
17
  field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
18
-
18
+ # Unique identifier
19
19
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
20
 
21
21
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
@@ -23,16 +23,19 @@ module StackOne
23
23
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
24
24
 
25
25
  field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
26
+ # Provider's unique identifier
27
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
26
28
 
27
29
 
28
- sig { params(email: T.nilable(::String), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String)).void }
29
- def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil, phone: nil)
30
+ sig { params(email: T.nilable(::String), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), remote_id: T.nilable(::String)).void }
31
+ def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil, phone: nil, remote_id: nil)
30
32
  @email = email
31
33
  @first_name = first_name
32
34
  @id = id
33
35
  @last_name = last_name
34
36
  @name = name
35
37
  @phone = phone
38
+ @remote_id = remote_id
36
39
  end
37
40
  end
38
41
  end
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
20
  # The employee ID
21
21
  field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
22
- # The unique ID of the location
22
+ # Unique identifier
23
23
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
24
24
  # The location type
25
25
  field :location_type, T.nilable(::StackOne::Shared::EmployeeSchemasLocationType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_type') } }
@@ -27,6 +27,8 @@ module StackOne
27
27
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
28
28
  # The phone number of the location
29
29
  field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
30
+ # Provider's unique identifier
31
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
30
32
  # The state where the location is situated
31
33
  field :state, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('state') } }
32
34
  # The first line of the address
@@ -39,8 +41,8 @@ module StackOne
39
41
  field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
40
42
 
41
43
 
42
- sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeSchemasCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeSchemasLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
43
- def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
44
+ sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeSchemasCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeSchemasLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
45
+ def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
44
46
  @city = city
45
47
  @country = country
46
48
  @created_at = created_at
@@ -49,6 +51,7 @@ module StackOne
49
51
  @location_type = location_type
50
52
  @name = name
51
53
  @phone_number = phone_number
54
+ @remote_id = remote_id
52
55
  @state = state
53
56
  @street_1 = street_1
54
57
  @street_2 = street_2
@@ -13,12 +13,14 @@ module StackOne
13
13
 
14
14
 
15
15
  field :document, T.nilable(::StackOne::Shared::WorkEligibilityDocument), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('document') } }
16
- # ID of Visa
16
+ # Unique identifier
17
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
18
  # The country code of the issued by authority
19
19
  field :issued_by, T.nilable(::StackOne::Shared::WorkEligibilityIssuedBy), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('issued_by') } }
20
20
 
21
21
  field :number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('number') } }
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
  field :sub_type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('sub_type') } }
24
26
 
@@ -29,12 +31,13 @@ module StackOne
29
31
  field :valid_to, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('valid_to'), 'decoder': Utils.datetime_from_iso_format(true) } }
30
32
 
31
33
 
32
- sig { params(document: T.nilable(::StackOne::Shared::WorkEligibilityDocument), id: T.nilable(::String), issued_by: T.nilable(::StackOne::Shared::WorkEligibilityIssuedBy), number: T.nilable(::String), sub_type: T.nilable(::String), type: T.nilable(::StackOne::Shared::WorkEligibilityType), valid_from: T.nilable(::DateTime), valid_to: T.nilable(::DateTime)).void }
33
- def initialize(document: nil, id: nil, issued_by: nil, number: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil)
34
+ sig { params(document: T.nilable(::StackOne::Shared::WorkEligibilityDocument), id: T.nilable(::String), issued_by: T.nilable(::StackOne::Shared::WorkEligibilityIssuedBy), number: T.nilable(::String), remote_id: T.nilable(::String), sub_type: T.nilable(::String), type: T.nilable(::StackOne::Shared::WorkEligibilityType), valid_from: T.nilable(::DateTime), valid_to: T.nilable(::DateTime)).void }
35
+ def initialize(document: nil, id: nil, issued_by: nil, number: nil, remote_id: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil)
34
36
  @document = document
35
37
  @id = id
36
38
  @issued_by = issued_by
37
39
  @number = number
40
+ @remote_id = remote_id
38
41
  @sub_type = sub_type
39
42
  @type = type
40
43
  @valid_from = valid_from
@@ -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
@@ -38,9 +38,9 @@ module StackOne
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '1.0.0'
41
- @sdk_version = '0.2.7'
42
- @gen_version = '2.287.0'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.7 2.287.0 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.9'
42
+ @gen_version = '2.296.0'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.9 2.296.0 1.0.0 stackone_client'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -29,8 +29,8 @@ module StackOne
29
29
  end
30
30
  end
31
31
 
32
- sig { params(headers_params: FieldAugmented).returns(T::Hash[Symbol, String]) }
33
- def self.get_headers(headers_params)
32
+ sig { params(headers_params: FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(T::Hash[Symbol, String]) }
33
+ def self.get_headers(headers_params, gbls = nil)
34
34
  return {} if headers_params.nil?
35
35
 
36
36
  headers = {}
@@ -39,7 +39,8 @@ module StackOne
39
39
  metadata = f.metadata[:header]
40
40
  next if metadata.nil?
41
41
 
42
- value = _serialize_header(metadata.fetch(:explode, false), headers_params.send(f.name))
42
+ value = _populate_from_globals(f.name, headers_params&.send(f.name), 'header', gbls)
43
+ value = _serialize_header(metadata.fetch(:explode, false), value)
43
44
  headers[metadata.fetch(:field_name, f.name)] = value if !value.empty?
44
45
  end
45
46
  headers