stackone_client 0.2.21 → 0.2.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +5 -5
  3. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +5 -5
  4. data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb +24 -0
  5. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +5 -5
  6. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +27 -0
  7. data/lib/stack_one/models/operations/ats_list_applications_request.rb +5 -8
  8. data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb +24 -0
  9. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +5 -5
  10. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb +24 -0
  11. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +5 -5
  12. data/lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb +24 -0
  13. data/lib/stack_one/models/operations/ats_list_departments_request.rb +5 -5
  14. data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb +24 -0
  15. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +5 -5
  16. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb +24 -0
  17. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +5 -5
  18. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb +24 -0
  19. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +5 -5
  20. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb +24 -0
  21. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +5 -5
  22. data/lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb +24 -0
  23. data/lib/stack_one/models/operations/ats_list_locations_request.rb +5 -5
  24. data/lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb +24 -0
  25. data/lib/stack_one/models/operations/ats_list_offers_request.rb +5 -5
  26. data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb +24 -0
  27. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +5 -5
  28. data/lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb +24 -0
  29. data/lib/stack_one/models/operations/ats_list_users_request.rb +5 -5
  30. data/lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb +24 -0
  31. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +5 -5
  32. data/lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb +24 -0
  33. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +5 -5
  34. data/lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb +24 -0
  35. data/lib/stack_one/models/operations/crm_list_lists_request.rb +5 -5
  36. data/lib/stack_one/models/operations/filter.rb +24 -0
  37. data/lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb +24 -0
  38. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +5 -5
  39. data/lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb +24 -0
  40. data/lib/stack_one/models/operations/hris_list_companies_request.rb +5 -5
  41. data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb +24 -0
  42. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +5 -5
  43. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb +24 -0
  44. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +5 -5
  45. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb +24 -0
  46. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +5 -5
  47. data/lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb +27 -0
  48. data/lib/stack_one/models/operations/hris_list_employees_request.rb +5 -8
  49. data/lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb +24 -0
  50. data/lib/stack_one/models/operations/hris_list_employments_request.rb +5 -5
  51. data/lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb +24 -0
  52. data/lib/stack_one/models/operations/hris_list_groups_request.rb +5 -5
  53. data/lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb +24 -0
  54. data/lib/stack_one/models/operations/hris_list_locations_request.rb +5 -5
  55. data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb +24 -0
  56. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +5 -5
  57. data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb +24 -0
  58. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +5 -5
  59. data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb +24 -0
  60. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +5 -5
  61. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb +24 -0
  62. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +5 -5
  63. data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb +24 -0
  64. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +5 -5
  65. data/lib/stack_one/models/operations/queryparam_filter.rb +24 -0
  66. data/lib/stack_one/models/operations.rb +32 -0
  67. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -2
  68. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +5 -2
  69. data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +5 -2
  70. data/lib/stack_one/models/shared/atscreatenotesrequestdto.rb +5 -2
  71. data/lib/stack_one/models/shared/atscreateofferrequestdto.rb +5 -2
  72. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +8 -3
  73. data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +5 -8
  74. data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +5 -2
  75. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  76. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +5 -2
  77. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +5 -2
  78. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +5 -2
  79. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +5 -2
  80. data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +5 -8
  81. data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +5 -8
  82. data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +5 -8
  83. data/lib/stack_one/sdkconfiguration.rb +2 -2
  84. metadata +33 -1
@@ -61,34 +61,49 @@ module StackOne
61
61
  autoload :AtsGetRejectedReasonResponse, 'stack_one/models/operations/ats_get_rejected_reason_response.rb'
62
62
  autoload :AtsGetUserRequest, 'stack_one/models/operations/ats_get_user_request.rb'
63
63
  autoload :AtsGetUserResponse, 'stack_one/models/operations/ats_get_user_response.rb'
64
+ autoload :Filter, 'stack_one/models/operations/filter.rb'
64
65
  autoload :AtsListApplicationDocumentsRequest, 'stack_one/models/operations/ats_list_application_documents_request.rb'
65
66
  autoload :AtsListApplicationDocumentsResponse, 'stack_one/models/operations/ats_list_application_documents_response.rb'
67
+ autoload :QueryParamFilter, 'stack_one/models/operations/queryparam_filter.rb'
66
68
  autoload :AtsListApplicationScorecardsRequest, 'stack_one/models/operations/ats_list_application_scorecards_request.rb'
67
69
  autoload :AtsListApplicationScorecardsResponse, 'stack_one/models/operations/ats_list_application_scorecards_response.rb'
70
+ autoload :AtsListApplicationsQueryParamFilter, 'stack_one/models/operations/ats_list_applications_queryparam_filter.rb'
68
71
  autoload :AtsListApplicationsRequest, 'stack_one/models/operations/ats_list_applications_request.rb'
69
72
  autoload :AtsListApplicationsResponse, 'stack_one/models/operations/ats_list_applications_response.rb'
73
+ autoload :AtsListApplicationsOffersQueryParamFilter, 'stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb'
70
74
  autoload :AtsListApplicationsOffersRequest, 'stack_one/models/operations/ats_list_applications_offers_request.rb'
71
75
  autoload :AtsListApplicationsOffersResponse, 'stack_one/models/operations/ats_list_applications_offers_response.rb'
76
+ autoload :AtsListCandidateNotesQueryParamFilter, 'stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb'
72
77
  autoload :AtsListCandidateNotesRequest, 'stack_one/models/operations/ats_list_candidate_notes_request.rb'
73
78
  autoload :AtsListCandidateNotesResponse, 'stack_one/models/operations/ats_list_candidate_notes_response.rb'
79
+ autoload :AtsListCandidatesQueryParamFilter, 'stack_one/models/operations/ats_list_candidates_queryparam_filter.rb'
74
80
  autoload :AtsListCandidatesRequest, 'stack_one/models/operations/ats_list_candidates_request.rb'
75
81
  autoload :AtsListCandidatesResponse, 'stack_one/models/operations/ats_list_candidates_response.rb'
82
+ autoload :AtsListDepartmentsQueryParamFilter, 'stack_one/models/operations/ats_list_departments_queryparam_filter.rb'
76
83
  autoload :AtsListDepartmentsRequest, 'stack_one/models/operations/ats_list_departments_request.rb'
77
84
  autoload :AtsListDepartmentsResponse, 'stack_one/models/operations/ats_list_departments_response.rb'
85
+ autoload :AtsListInterviewStagesQueryParamFilter, 'stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb'
78
86
  autoload :AtsListInterviewStagesRequest, 'stack_one/models/operations/ats_list_interview_stages_request.rb'
79
87
  autoload :AtsListInterviewStagesResponse, 'stack_one/models/operations/ats_list_interview_stages_response.rb'
88
+ autoload :AtsListInterviewsQueryParamFilter, 'stack_one/models/operations/ats_list_interviews_queryparam_filter.rb'
80
89
  autoload :AtsListInterviewsRequest, 'stack_one/models/operations/ats_list_interviews_request.rb'
81
90
  autoload :AtsListInterviewsResponse, 'stack_one/models/operations/ats_list_interviews_response.rb'
91
+ autoload :AtsListJobPostingsQueryParamFilter, 'stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb'
82
92
  autoload :AtsListJobPostingsRequest, 'stack_one/models/operations/ats_list_job_postings_request.rb'
83
93
  autoload :AtsListJobPostingsResponse, 'stack_one/models/operations/ats_list_job_postings_response.rb'
94
+ autoload :AtsListJobsQueryParamFilter, 'stack_one/models/operations/ats_list_jobs_queryparam_filter.rb'
84
95
  autoload :AtsListJobsRequest, 'stack_one/models/operations/ats_list_jobs_request.rb'
85
96
  autoload :AtsListJobsResponse, 'stack_one/models/operations/ats_list_jobs_response.rb'
97
+ autoload :AtsListLocationsQueryParamFilter, 'stack_one/models/operations/ats_list_locations_queryparam_filter.rb'
86
98
  autoload :AtsListLocationsRequest, 'stack_one/models/operations/ats_list_locations_request.rb'
87
99
  autoload :AtsListLocationsResponse, 'stack_one/models/operations/ats_list_locations_response.rb'
100
+ autoload :AtsListOffersQueryParamFilter, 'stack_one/models/operations/ats_list_offers_queryparam_filter.rb'
88
101
  autoload :AtsListOffersRequest, 'stack_one/models/operations/ats_list_offers_request.rb'
89
102
  autoload :AtsListOffersResponse, 'stack_one/models/operations/ats_list_offers_response.rb'
103
+ autoload :AtsListRejectedReasonsQueryParamFilter, 'stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb'
90
104
  autoload :AtsListRejectedReasonsRequest, 'stack_one/models/operations/ats_list_rejected_reasons_request.rb'
91
105
  autoload :AtsListRejectedReasonsResponse, 'stack_one/models/operations/ats_list_rejected_reasons_response.rb'
106
+ autoload :AtsListUsersQueryParamFilter, 'stack_one/models/operations/ats_list_users_queryparam_filter.rb'
92
107
  autoload :AtsListUsersRequest, 'stack_one/models/operations/ats_list_users_request.rb'
93
108
  autoload :AtsListUsersResponse, 'stack_one/models/operations/ats_list_users_response.rb'
94
109
  autoload :AtsUpdateApplicationRequest, 'stack_one/models/operations/ats_update_application_request.rb'
@@ -105,10 +120,13 @@ module StackOne
105
120
  autoload :CrmGetContactResponse, 'stack_one/models/operations/crm_get_contact_response.rb'
106
121
  autoload :CrmGetListRequest, 'stack_one/models/operations/crm_get_list_request.rb'
107
122
  autoload :CrmGetListResponse, 'stack_one/models/operations/crm_get_list_response.rb'
123
+ autoload :CrmListAccountsQueryParamFilter, 'stack_one/models/operations/crm_list_accounts_queryparam_filter.rb'
108
124
  autoload :CrmListAccountsRequest, 'stack_one/models/operations/crm_list_accounts_request.rb'
109
125
  autoload :CrmListAccountsResponse, 'stack_one/models/operations/crm_list_accounts_response.rb'
126
+ autoload :CrmListContactsQueryParamFilter, 'stack_one/models/operations/crm_list_contacts_queryparam_filter.rb'
110
127
  autoload :CrmListContactsRequest, 'stack_one/models/operations/crm_list_contacts_request.rb'
111
128
  autoload :CrmListContactsResponse, 'stack_one/models/operations/crm_list_contacts_response.rb'
129
+ autoload :CrmListListsQueryParamFilter, 'stack_one/models/operations/crm_list_lists_queryparam_filter.rb'
112
130
  autoload :CrmListListsRequest, 'stack_one/models/operations/crm_list_lists_request.rb'
113
131
  autoload :CrmListListsResponse, 'stack_one/models/operations/crm_list_lists_response.rb'
114
132
  autoload :CrmUpdateContactRequest, 'stack_one/models/operations/crm_update_contact_request.rb'
@@ -143,24 +161,34 @@ module StackOne
143
161
  autoload :HrisGetLocationResponse, 'stack_one/models/operations/hris_get_location_response.rb'
144
162
  autoload :HrisGetTimeOffRequestRequest, 'stack_one/models/operations/hris_get_time_off_request_request.rb'
145
163
  autoload :HrisGetTimeOffRequestResponse, 'stack_one/models/operations/hris_get_time_off_request_response.rb'
164
+ autoload :HrisListBenefitsQueryParamFilter, 'stack_one/models/operations/hris_list_benefits_queryparam_filter.rb'
146
165
  autoload :HrisListBenefitsRequest, 'stack_one/models/operations/hris_list_benefits_request.rb'
147
166
  autoload :HrisListBenefitsResponse, 'stack_one/models/operations/hris_list_benefits_response.rb'
167
+ autoload :HrisListCompaniesQueryParamFilter, 'stack_one/models/operations/hris_list_companies_queryparam_filter.rb'
148
168
  autoload :HrisListCompaniesRequest, 'stack_one/models/operations/hris_list_companies_request.rb'
149
169
  autoload :HrisListCompaniesResponse, 'stack_one/models/operations/hris_list_companies_response.rb'
170
+ autoload :HrisListEmployeeDocumentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb'
150
171
  autoload :HrisListEmployeeDocumentsRequest, 'stack_one/models/operations/hris_list_employee_documents_request.rb'
151
172
  autoload :HrisListEmployeeDocumentsResponse, 'stack_one/models/operations/hris_list_employee_documents_response.rb'
173
+ autoload :HrisListEmployeeTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb'
152
174
  autoload :HrisListEmployeeTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_employee_time_off_requests_request.rb'
153
175
  autoload :HrisListEmployeeTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_employee_time_off_requests_response.rb'
176
+ autoload :HrisListEmployeeWorkEligibilityQueryParamFilter, 'stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb'
154
177
  autoload :HrisListEmployeeWorkEligibilityRequest, 'stack_one/models/operations/hris_list_employee_work_eligibility_request.rb'
155
178
  autoload :HrisListEmployeeWorkEligibilityResponse, 'stack_one/models/operations/hris_list_employee_work_eligibility_response.rb'
179
+ autoload :HrisListEmployeesQueryParamFilter, 'stack_one/models/operations/hris_list_employees_queryparam_filter.rb'
156
180
  autoload :HrisListEmployeesRequest, 'stack_one/models/operations/hris_list_employees_request.rb'
157
181
  autoload :HrisListEmployeesResponse, 'stack_one/models/operations/hris_list_employees_response.rb'
182
+ autoload :HrisListEmploymentsQueryParamFilter, 'stack_one/models/operations/hris_list_employments_queryparam_filter.rb'
158
183
  autoload :HrisListEmploymentsRequest, 'stack_one/models/operations/hris_list_employments_request.rb'
159
184
  autoload :HrisListEmploymentsResponse, 'stack_one/models/operations/hris_list_employments_response.rb'
185
+ autoload :HrisListGroupsQueryParamFilter, 'stack_one/models/operations/hris_list_groups_queryparam_filter.rb'
160
186
  autoload :HrisListGroupsRequest, 'stack_one/models/operations/hris_list_groups_request.rb'
161
187
  autoload :HrisListGroupsResponse, 'stack_one/models/operations/hris_list_groups_response.rb'
188
+ autoload :HrisListLocationsQueryParamFilter, 'stack_one/models/operations/hris_list_locations_queryparam_filter.rb'
162
189
  autoload :HrisListLocationsRequest, 'stack_one/models/operations/hris_list_locations_request.rb'
163
190
  autoload :HrisListLocationsResponse, 'stack_one/models/operations/hris_list_locations_response.rb'
191
+ autoload :HrisListTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb'
164
192
  autoload :HrisListTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_time_off_requests_request.rb'
165
193
  autoload :HrisListTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_time_off_requests_response.rb'
166
194
  autoload :HrisUpdateEmployeeRequest, 'stack_one/models/operations/hris_update_employee_request.rb'
@@ -185,12 +213,16 @@ module StackOne
185
213
  autoload :MarketingGetOmniChannelTemplateResponse, 'stack_one/models/operations/marketing_get_omni_channel_template_response.rb'
186
214
  autoload :MarketingGetPushTemplateRequest, 'stack_one/models/operations/marketing_get_push_template_request.rb'
187
215
  autoload :MarketingGetPushTemplateResponse, 'stack_one/models/operations/marketing_get_push_template_response.rb'
216
+ autoload :MarketingListCampaignsQueryParamFilter, 'stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb'
188
217
  autoload :MarketingListCampaignsRequest, 'stack_one/models/operations/marketing_list_campaigns_request.rb'
189
218
  autoload :MarketingListCampaignsResponse, 'stack_one/models/operations/marketing_list_campaigns_response.rb'
219
+ autoload :MarketingListEmailTemplatesQueryParamFilter, 'stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb'
190
220
  autoload :MarketingListEmailTemplatesRequest, 'stack_one/models/operations/marketing_list_email_templates_request.rb'
191
221
  autoload :MarketingListEmailTemplatesResponse, 'stack_one/models/operations/marketing_list_email_templates_response.rb'
222
+ autoload :MarketingListOmniChannelTemplatesQueryParamFilter, 'stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb'
192
223
  autoload :MarketingListOmniChannelTemplatesRequest, 'stack_one/models/operations/marketing_list_omni_channel_templates_request.rb'
193
224
  autoload :MarketingListOmniChannelTemplatesResponse, 'stack_one/models/operations/marketing_list_omni_channel_templates_response.rb'
225
+ autoload :MarketingListPushTemplatesQueryParamFilter, 'stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb'
194
226
  autoload :MarketingListPushTemplatesRequest, 'stack_one/models/operations/marketing_list_push_templates_request.rb'
195
227
  autoload :MarketingListPushTemplatesResponse, 'stack_one/models/operations/marketing_list_push_templates_response.rb'
196
228
  autoload :MarketingUpdateEmailTemplateRequest, 'stack_one/models/operations/marketing_update_email_template_request.rb'
@@ -21,19 +21,22 @@ module StackOne
21
21
  field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
22
22
  # Unique identifier of the location
23
23
  field :location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
24
+ # Value to pass through to the provider
25
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
24
26
  # Questionnaires associated with the application
25
27
  field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
26
28
  # Source of the application
27
29
  field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
28
30
 
29
31
 
30
- sig { params(application_status: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), candidate: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), source: T.nilable(::String)).void }
31
- def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, questionnaires: nil, source: nil)
32
+ sig { params(application_status: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), candidate: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), source: T.nilable(::String)).void }
33
+ def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, passthrough: nil, questionnaires: nil, source: nil)
32
34
  @application_status = application_status
33
35
  @candidate = candidate
34
36
  @candidate_id = candidate_id
35
37
  @job_id = job_id
36
38
  @location_id = location_id
39
+ @passthrough = passthrough
37
40
  @questionnaires = questionnaires
38
41
  @source = source
39
42
  end
@@ -25,6 +25,8 @@ module StackOne
25
25
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
26
26
  # Candidate name
27
27
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
28
+ # Value to pass through to the provider
29
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
28
30
  # The candidate personal phone number
29
31
  field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
30
32
  # List of candidate social links
@@ -33,8 +35,8 @@ module StackOne
33
35
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
34
36
 
35
37
 
36
- sig { params(company: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
37
- def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, phone_number: nil, social_links: nil, title: nil)
38
+ sig { params(company: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
39
+ def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil)
38
40
  @company = company
39
41
  @country = country
40
42
  @email = email
@@ -42,6 +44,7 @@ module StackOne
42
44
  @hired_at = hired_at
43
45
  @last_name = last_name
44
46
  @name = name
47
+ @passthrough = passthrough
45
48
  @phone_number = phone_number
46
49
  @social_links = social_links
47
50
  @title = title
@@ -25,6 +25,8 @@ module StackOne
25
25
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
26
26
  # Candidate name
27
27
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
28
+ # Value to pass through to the provider
29
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
28
30
  # The candidate personal phone number
29
31
  field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
30
32
  # List of candidate social links
@@ -33,8 +35,8 @@ module StackOne
33
35
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
34
36
 
35
37
 
36
- sig { params(company: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
37
- def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, phone_number: nil, social_links: nil, title: nil)
38
+ sig { params(company: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
39
+ def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil)
38
40
  @company = company
39
41
  @country = country
40
42
  @email = email
@@ -42,6 +44,7 @@ module StackOne
42
44
  @hired_at = hired_at
43
45
  @last_name = last_name
44
46
  @name = name
47
+ @passthrough = passthrough
45
48
  @phone_number = phone_number
46
49
  @social_links = social_links
47
50
  @title = title
@@ -15,14 +15,17 @@ module StackOne
15
15
  field :author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author_id') } }
16
16
 
17
17
  field :content, T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
18
+ # Value to pass through to the provider
19
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
18
20
  # Visibility of the note
19
21
  field :visibility, T.nilable(::StackOne::Shared::Visibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
20
22
 
21
23
 
22
- sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), visibility: T.nilable(::StackOne::Shared::Visibility)).void }
23
- def initialize(author_id: nil, content: nil, visibility: nil)
24
+ sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), passthrough: T.nilable(T::Hash[Symbol, ::Object]), visibility: T.nilable(::StackOne::Shared::Visibility)).void }
25
+ def initialize(author_id: nil, content: nil, passthrough: nil, visibility: nil)
24
26
  @author_id = author_id
25
27
  @content = content
28
+ @passthrough = passthrough
26
29
  @visibility = visibility
27
30
  end
28
31
  end
@@ -19,18 +19,21 @@ module StackOne
19
19
  field :offer_history, T.nilable(T::Array[::StackOne::Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } }
20
20
 
21
21
  field :offer_status, T.nilable(::StackOne::Shared::OfferStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } }
22
+ # Value to pass through to the provider
23
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
22
24
 
23
25
  field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
24
26
  # Date of creation
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
 
27
29
 
28
- sig { params(application_id: T.nilable(::String), currency: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferStatus), salary: T.nilable(::Float), start_date: T.nilable(::DateTime)).void }
29
- def initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, salary: nil, start_date: nil)
30
+ sig { params(application_id: T.nilable(::String), currency: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferStatus), passthrough: T.nilable(T::Hash[Symbol, ::Object]), salary: T.nilable(::Float), start_date: T.nilable(::DateTime)).void }
31
+ def initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, passthrough: nil, salary: nil, start_date: nil)
30
32
  @application_id = application_id
31
33
  @currency = currency
32
34
  @offer_history = offer_history
33
35
  @offer_status = offer_status
36
+ @passthrough = passthrough
34
37
  @salary = salary
35
38
  @start_date = start_date
36
39
  end
@@ -15,16 +15,21 @@ module StackOne
15
15
  field :application_status, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
16
16
  # Unique identifier of the interview stage
17
17
  field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
18
- # Unique identifier of the rejection reason
18
+ # Value to pass through to the provider
19
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
20
+ # Unique identifier of the rejection reason, used only for write operations
21
+ #
22
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
23
  field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
20
24
  # Source of the application
21
25
  field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
22
26
 
23
27
 
24
- sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), interview_stage_id: T.nilable(::String), rejected_reason_id: T.nilable(::String), source: T.nilable(::String)).void }
25
- def initialize(application_status: nil, interview_stage_id: nil, rejected_reason_id: nil, source: nil)
28
+ sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), interview_stage_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), rejected_reason_id: T.nilable(::String), source: T.nilable(::String)).void }
29
+ def initialize(application_status: nil, interview_stage_id: nil, passthrough: nil, rejected_reason_id: nil, source: nil)
26
30
  @application_status = application_status
27
31
  @interview_stage_id = interview_stage_id
32
+ @passthrough = passthrough
28
33
  @rejected_reason_id = rejected_reason_id
29
34
  @source = source
30
35
  end
@@ -25,28 +25,26 @@ module StackOne
25
25
  field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
26
26
  # Candidate hired date
27
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
28
  # Candidate last name
31
29
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
32
30
  # Candidate name
33
31
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
32
+ # Value to pass through to the provider
33
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
34
34
  # Candidate phone number
35
35
  #
36
36
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
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') } }
42
40
  # List of candidate social links
43
41
  field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
44
42
  # Candidate title
45
43
  field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
46
44
 
47
45
 
48
- sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), 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)).void }
49
- def initialize(application_ids: nil, company: nil, country: 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)
46
+ sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), 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), passthrough: T.nilable(T::Hash[Symbol, ::Object]), 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)).void }
47
+ def initialize(application_ids: nil, company: nil, country: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil)
50
48
  @application_ids = application_ids
51
49
  @company = company
52
50
  @country = country
@@ -54,12 +52,11 @@ module StackOne
54
52
  @emails = emails
55
53
  @first_name = first_name
56
54
  @hired_at = hired_at
57
- @id = id
58
55
  @last_name = last_name
59
56
  @name = name
57
+ @passthrough = passthrough
60
58
  @phone = phone
61
59
  @phone_numbers = phone_numbers
62
- @remote_id = remote_id
63
60
  @social_links = social_links
64
61
  @title = title
65
62
  end
@@ -23,18 +23,21 @@ module StackOne
23
23
  field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
24
24
  # The contact last name
25
25
  field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
26
+ # Value to pass through to the provider
27
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
26
28
  # List of contact phone numbers
27
29
  field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
28
30
 
29
31
 
30
- sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), deal_ids: T.nilable(T::Array[::String]), emails: T.nilable(T::Array[::String]), first_name: T.nilable(::String), last_name: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String])).void }
31
- def initialize(account_ids: nil, company_name: nil, deal_ids: nil, emails: nil, first_name: nil, last_name: nil, phone_numbers: nil)
32
+ sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), deal_ids: T.nilable(T::Array[::String]), emails: T.nilable(T::Array[::String]), first_name: T.nilable(::String), last_name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_numbers: T.nilable(T::Array[::String])).void }
33
+ def initialize(account_ids: nil, company_name: nil, deal_ids: nil, emails: nil, first_name: nil, last_name: nil, passthrough: nil, phone_numbers: nil)
32
34
  @account_ids = account_ids
33
35
  @company_name = company_name
34
36
  @deal_ids = deal_ids
35
37
  @emails = emails
36
38
  @first_name = first_name
37
39
  @last_name = last_name
40
+ @passthrough = passthrough
38
41
  @phone_numbers = phone_numbers
39
42
  end
40
43
  end
@@ -59,6 +59,8 @@ module StackOne
59
59
  field :marital_status, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('marital_status') } }
60
60
  # The employee name
61
61
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
62
+ # Value to pass through to the provider
63
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
62
64
  # The employee personal email
63
65
  field :personal_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } }
64
66
  # The employee personal phone number
@@ -81,8 +83,8 @@ module StackOne
81
83
  field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
82
84
 
83
85
 
84
- sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
85
- def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_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, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
86
+ sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
87
+ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
86
88
  @avatar = avatar
87
89
  @avatar_url = avatar_url
88
90
  @benefits = benefits
@@ -107,6 +109,7 @@ module StackOne
107
109
  @manager_id = manager_id
108
110
  @marital_status = marital_status
109
111
  @name = name
112
+ @passthrough = passthrough
110
113
  @personal_email = personal_email
111
114
  @personal_phone_number = personal_phone_number
112
115
  @preferred_language = preferred_language
@@ -17,6 +17,8 @@ module StackOne
17
17
  field :country, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
18
18
  # The name of the location
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+ # Value to pass through to the provider
21
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
20
22
  # The phone number of the location
21
23
  field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
22
24
  # The ISO3166-2 sub division where the location is situated
@@ -29,11 +31,12 @@ module StackOne
29
31
  field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
30
32
 
31
33
 
32
- sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry), name: T.nilable(::String), phone_number: T.nilable(::String), state: T.nilable(::StackOne::Shared::State), street_1: T.nilable(::String), street_2: T.nilable(::String), zip_code: T.nilable(::String)).void }
33
- def initialize(city: nil, country: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil)
34
+ sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), state: T.nilable(::StackOne::Shared::State), street_1: T.nilable(::String), street_2: T.nilable(::String), zip_code: T.nilable(::String)).void }
35
+ def initialize(city: nil, country: nil, name: nil, passthrough: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil)
34
36
  @city = city
35
37
  @country = country
36
38
  @name = name
39
+ @passthrough = passthrough
37
40
  @phone_number = phone_number
38
41
  @state = state
39
42
  @street_1 = street_1
@@ -17,6 +17,8 @@ module StackOne
17
17
  field :country, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
18
18
  # The name of the location
19
19
  field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
20
+ # Value to pass through to the provider
21
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
20
22
  # The phone number of the location
21
23
  field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
22
24
  # The ISO3166-2 sub division where the location is situated
@@ -29,11 +31,12 @@ module StackOne
29
31
  field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
30
32
 
31
33
 
32
- sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry), name: T.nilable(::String), phone_number: T.nilable(::String), state: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoState), street_1: T.nilable(::String), street_2: T.nilable(::String), zip_code: T.nilable(::String)).void }
33
- def initialize(city: nil, country: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil)
34
+ sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), state: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoState), street_1: T.nilable(::String), street_2: T.nilable(::String), zip_code: T.nilable(::String)).void }
35
+ def initialize(city: nil, country: nil, name: nil, passthrough: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil)
34
36
  @city = city
35
37
  @country = country
36
38
  @name = name
39
+ @passthrough = passthrough
37
40
  @phone_number = phone_number
38
41
  @state = state
39
42
  @street_1 = street_1
@@ -17,6 +17,8 @@ module StackOne
17
17
  field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
18
18
  # The end date of the time off request
19
19
  field :end_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
+ # Value to pass through to the provider
21
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
20
22
  # The start date of the time off request
21
23
  field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
22
24
  # The status of the time off request
@@ -25,11 +27,12 @@ module StackOne
25
27
  field :type, T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
26
28
 
27
29
 
28
- sig { params(approver_id: T.nilable(::String), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), start_date: T.nilable(::DateTime), status: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoStatus), type: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType)).void }
29
- def initialize(approver_id: nil, employee_id: nil, end_date: nil, start_date: nil, status: nil, type: nil)
30
+ sig { params(approver_id: T.nilable(::String), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), passthrough: T.nilable(T::Hash[Symbol, ::Object]), start_date: T.nilable(::DateTime), status: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoStatus), type: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType)).void }
31
+ def initialize(approver_id: nil, employee_id: nil, end_date: nil, passthrough: nil, start_date: nil, status: nil, type: nil)
30
32
  @approver_id = approver_id
31
33
  @employee_id = employee_id
32
34
  @end_date = end_date
35
+ @passthrough = passthrough
33
36
  @start_date = start_date
34
37
  @status = status
35
38
  @type = type
@@ -17,6 +17,8 @@ module StackOne
17
17
  field :issued_by, T.nilable(::StackOne::Shared::IssuedBy), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('issued_by') } }
18
18
 
19
19
  field :number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('number') } }
20
+ # Value to pass through to the provider
21
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
20
22
 
21
23
  field :sub_type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('sub_type') } }
22
24
 
@@ -27,11 +29,12 @@ module StackOne
27
29
  field :valid_to, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('valid_to'), 'decoder': Utils.datetime_from_iso_format(true) } }
28
30
 
29
31
 
30
- sig { params(document: T.nilable(::StackOne::Shared::Document), issued_by: T.nilable(::StackOne::Shared::IssuedBy), number: T.nilable(::String), sub_type: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType), valid_from: T.nilable(::DateTime), valid_to: T.nilable(::DateTime)).void }
31
- def initialize(document: nil, issued_by: nil, number: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil)
32
+ sig { params(document: T.nilable(::StackOne::Shared::Document), issued_by: T.nilable(::StackOne::Shared::IssuedBy), number: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), sub_type: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType), valid_from: T.nilable(::DateTime), valid_to: T.nilable(::DateTime)).void }
33
+ def initialize(document: nil, issued_by: nil, number: nil, passthrough: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil)
32
34
  @document = document
33
35
  @issued_by = issued_by
34
36
  @number = number
37
+ @passthrough = passthrough
35
38
  @sub_type = sub_type
36
39
  @type = type
37
40
  @valid_from = valid_from
@@ -11,24 +11,21 @@ module StackOne
11
11
  class MarketingCreateEmailTemplateRequestDto < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # Unique identifier
15
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
14
 
17
15
  field :messages, T.nilable(T::Array[::StackOne::Shared::EmailMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
18
16
 
19
17
  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') } }
18
+ # Value to pass through to the provider
19
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
22
20
 
23
21
  field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
24
22
 
25
23
 
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)
28
- @id = id
24
+ sig { params(messages: T.nilable(T::Array[::StackOne::Shared::EmailMessages]), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), tags: T.nilable(T::Array[::String])).void }
25
+ def initialize(messages: nil, name: nil, passthrough: nil, tags: nil)
29
26
  @messages = messages
30
27
  @name = name
31
- @remote_id = remote_id
28
+ @passthrough = passthrough
32
29
  @tags = tags
33
30
  end
34
31
  end
@@ -11,24 +11,21 @@ module StackOne
11
11
  class MarketingCreatePushTemplateRequestDto < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # Unique identifier
15
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
14
 
17
15
  field :messages, T.nilable(T::Array[::StackOne::Shared::PushMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
18
16
 
19
17
  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') } }
18
+ # Value to pass through to the provider
19
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
22
20
 
23
21
  field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
24
22
 
25
23
 
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)
28
- @id = id
24
+ sig { params(messages: T.nilable(T::Array[::StackOne::Shared::PushMessages]), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), tags: T.nilable(T::Array[::String])).void }
25
+ def initialize(messages: nil, name: nil, passthrough: nil, tags: nil)
29
26
  @messages = messages
30
27
  @name = name
31
- @remote_id = remote_id
28
+ @passthrough = passthrough
32
29
  @tags = tags
33
30
  end
34
31
  end
@@ -11,24 +11,21 @@ module StackOne
11
11
  class MarketingCreateTemplateRequestDto < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # Unique identifier
15
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
14
 
17
15
  field :messages, T.nilable(T::Array[::StackOne::Shared::Message]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
18
16
 
19
17
  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') } }
18
+ # Value to pass through to the provider
19
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
22
20
 
23
21
  field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
24
22
 
25
23
 
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)
28
- @id = id
24
+ sig { params(messages: T.nilable(T::Array[::StackOne::Shared::Message]), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), tags: T.nilable(T::Array[::String])).void }
25
+ def initialize(messages: nil, name: nil, passthrough: nil, tags: nil)
29
26
  @messages = messages
30
27
  @name = name
31
- @remote_id = remote_id
28
+ @passthrough = passthrough
32
29
  @tags = tags
33
30
  end
34
31
  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.21'
41
+ @sdk_version = '0.2.22'
42
42
  @gen_version = '2.332.4'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.21 2.332.4 1.0.0 stackone_client'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.22 2.332.4 1.0.0 stackone_client'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }