stackone_client 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +5 -5
  3. data/lib/stack_one/ats.rb +37 -37
  4. data/lib/stack_one/connect_sessions.rb +2 -2
  5. data/lib/stack_one/connectors.rb +2 -2
  6. data/lib/stack_one/crm.rb +12 -12
  7. data/lib/stack_one/hris.rb +248 -21
  8. data/lib/stack_one/marketing.rb +16 -16
  9. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
  10. data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +1 -1
  11. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
  12. data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
  13. data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +1 -1
  14. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
  15. data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +1 -1
  16. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
  17. data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +1 -1
  18. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
  19. data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +1 -1
  34. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
  35. data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +1 -1
  36. data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
  37. data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +1 -1
  38. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  39. data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +1 -1
  40. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  41. data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +1 -1
  42. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  43. data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +1 -1
  44. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  45. data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +1 -1
  46. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  47. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +1 -1
  48. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  49. data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +1 -1
  50. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  51. data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +1 -1
  52. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  53. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +1 -1
  54. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  55. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +1 -1
  56. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  57. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +1 -1
  58. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  59. data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +1 -1
  60. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  61. data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +1 -1
  62. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  63. data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +1 -1
  64. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  65. data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +1 -1
  66. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  67. data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +1 -1
  68. data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
  69. data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +1 -1
  70. data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
  71. data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +1 -1
  72. data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
  73. data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +1 -1
  74. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
  75. data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +1 -1
  76. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
  77. data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +1 -1
  78. data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
  79. data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +30 -0
  80. data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +33 -0
  81. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +30 -0
  82. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +33 -0
  83. data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +1 -1
  84. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
  85. data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +1 -1
  86. data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
  87. data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb +1 -1
  88. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
  89. data/lib/stack_one/models/operations/hris_get_employee_queryparam_proxy.rb +1 -1
  90. data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
  91. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb +1 -1
  92. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
  93. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_queryparam_proxy.rb +20 -0
  94. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +53 -0
  95. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +33 -0
  96. data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +1 -1
  97. data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
  98. data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +1 -1
  99. data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
  100. data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb +1 -1
  101. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
  102. data/lib/stack_one/models/operations/hris_list_benefits_queryparam_proxy.rb +1 -1
  103. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
  104. data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +1 -1
  105. data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
  106. data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb +1 -1
  107. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
  108. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb +1 -1
  109. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
  110. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_proxy.rb +20 -0
  111. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +50 -0
  112. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +33 -0
  113. data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +1 -1
  114. data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
  115. data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +1 -1
  116. data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
  117. data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +1 -1
  118. data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
  119. data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb +1 -1
  120. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
  121. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb +33 -0
  122. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +30 -0
  123. data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +1 -1
  124. data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
  125. data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +1 -1
  126. data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
  127. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +1 -1
  128. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
  129. data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +1 -1
  130. data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
  131. data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +1 -1
  132. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
  133. data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +1 -1
  134. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
  135. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +1 -1
  136. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
  137. data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +1 -1
  138. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
  139. data/lib/stack_one/models/operations/proxy.rb +1 -1
  140. data/lib/stack_one/models/operations/queryparam_proxy.rb +1 -1
  141. data/lib/stack_one/models/operations.rb +12 -0
  142. data/lib/stack_one/models/shared/categories.rb +1 -0
  143. data/lib/stack_one/models/shared/category.rb +1 -0
  144. data/lib/stack_one/models/shared/company.rb +3 -3
  145. data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
  146. data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
  147. data/lib/stack_one/models/shared/createdocumentresult.rb +30 -0
  148. data/lib/stack_one/models/shared/createworkeligibilityresult.rb +30 -0
  149. data/lib/stack_one/models/shared/emailmessages_value.rb +20 -0
  150. data/lib/stack_one/models/shared/employee.rb +8 -5
  151. data/lib/stack_one/models/shared/employee_company.rb +36 -0
  152. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -2
  153. data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -2
  154. data/lib/stack_one/models/shared/hrisbenefit.rb +3 -3
  155. data/lib/stack_one/models/shared/hrisbenefit_value.rb +4 -0
  156. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +33 -0
  157. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb +27 -0
  158. data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb +28 -0
  159. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  160. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -2
  161. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +8 -0
  162. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +3 -0
  163. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +42 -0
  164. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +22 -0
  165. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +27 -0
  166. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +266 -0
  167. data/lib/stack_one/models/shared/issued_by.rb +27 -0
  168. data/lib/stack_one/models/shared/job.rb +2 -2
  169. data/lib/stack_one/models/shared/{response.rb → job_schemas_status.rb} +1 -1
  170. data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -0
  171. data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -2
  172. data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
  173. data/lib/stack_one/models/shared/message_message_type.rb +2 -2
  174. data/lib/stack_one/models/shared/message_type.rb +2 -2
  175. data/lib/stack_one/models/shared/message_value.rb +20 -0
  176. data/lib/stack_one/models/shared/pushmessages_message_type.rb +2 -2
  177. data/lib/stack_one/models/shared/pushmessages_value.rb +20 -0
  178. data/lib/stack_one/models/shared/rawresponse.rb +2 -2
  179. data/lib/stack_one/models/shared/timeoff_schemas_value.rb +8 -0
  180. data/lib/stack_one/models/shared/timeoff_value.rb +3 -0
  181. data/lib/stack_one/models/shared/workeligibility.rb +8 -5
  182. data/lib/stack_one/models/shared/workeligibility_document.rb +39 -0
  183. data/lib/stack_one/models/shared/workeligibility_issued_by.rb +27 -0
  184. data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +22 -0
  185. data/lib/stack_one/models/shared/workeligibility_type.rb +2 -2
  186. data/lib/stack_one/models/shared/workeligibility_value.rb +250 -6
  187. data/lib/stack_one/models/shared/workeligibilitypaginated.rb +33 -0
  188. data/lib/stack_one/models/shared/workeligibilityresult.rb +27 -0
  189. data/lib/stack_one/models/shared.rb +27 -8
  190. data/lib/stack_one/proxy.rb +1 -1
  191. data/lib/stack_one/sdkconfiguration.rb +10 -11
  192. data/lib/stack_one/stackone.rb +21 -20
  193. data/lib/stack_one/utils/metadata_fields.rb +8 -12
  194. data/lib/stack_one/utils/t.rb +59 -0
  195. data/lib/stack_one/utils/utils.rb +8 -13
  196. data/lib/stackone_client.rb +5 -3
  197. metadata +35 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4783e2ccb6e74aa1a3fbb0c1cce660a6e2b18d37da0435e12a1491b10d747c4e
4
- data.tar.gz: '089ed4573125a88fe5a136cb8fbd3c21a183c30e08d899b9f33c3e6873e2a341'
3
+ metadata.gz: e2fcc728cb7f68d1a29e5c873236a4242b1b2133656458005658c88a7895f5bc
4
+ data.tar.gz: e2176ae14ff0f3db08b83f4461fe9e12d57573cbf1a18eea310e7065ce47d985
5
5
  SHA512:
6
- metadata.gz: fb2c2b8ad2cbf17ffa8025e56443c00f2b4bda4148a976fc75ac0a2fc292317653d6889cc4ec9d20975c0a97562c059d0ad9836c1ddbb85cb3bf9db527c5bc5d
7
- data.tar.gz: 3dfe6445a801a94f9c667d88e6ee8a65d102500f734d563defb8d62c1a34bba5bdfdedcdf0f0b7cf46d15bc6ee2706de4400557b245f7fbe5b674927e837dbdb
6
+ metadata.gz: 64f057cf66fe0d920133d598f6df515bffb2e04aea1203d4318c5651d2327e4b1a3d969770c57ec4c6c930b6f5320a5551aa9ae23fbdacb994be776540cfefbc
7
+ data.tar.gz: 4d14bfb4f7ffe912d06b1436c03c3f9f92363f9edc7235cd3f28c6495d9583a72da7a0642696e2a412908682ad1bd458eef3f680a8a9b08d1d3ea8e309709a14
@@ -19,7 +19,7 @@ module StackOne
19
19
  end
20
20
 
21
21
 
22
- sig { params(id: ::String).returns(Utils::FieldAugmented) }
22
+ sig { params(id: ::String).returns(::StackOne::Operations::StackoneDeleteAccountResponse) }
23
23
  def delete_account(id)
24
24
  # delete_account - Delete Account
25
25
  request = ::StackOne::Operations::StackoneDeleteAccountRequest.new(
@@ -59,7 +59,7 @@ module StackOne
59
59
  end
60
60
 
61
61
 
62
- sig { params(id: ::String).returns(Utils::FieldAugmented) }
62
+ sig { params(id: ::String).returns(::StackOne::Operations::StackoneGetAccountResponse) }
63
63
  def get_account(id)
64
64
  # get_account - Get Account
65
65
  request = ::StackOne::Operations::StackoneGetAccountRequest.new(
@@ -99,7 +99,7 @@ module StackOne
99
99
  end
100
100
 
101
101
 
102
- sig { params(id: ::String).returns(Utils::FieldAugmented) }
102
+ sig { params(id: ::String).returns(::StackOne::Operations::StackoneGetAccountMetaInfoResponse) }
103
103
  def get_account_meta_info(id)
104
104
  # get_account_meta_info - Get meta information of the account
105
105
  request = ::StackOne::Operations::StackoneGetAccountMetaInfoRequest.new(
@@ -139,7 +139,7 @@ module StackOne
139
139
  end
140
140
 
141
141
 
142
- sig { params(origin_owner_id: T.nilable(::String), provider: T.nilable(::String)).returns(Utils::FieldAugmented) }
142
+ sig { params(origin_owner_id: T.nilable(::String), provider: T.nilable(::String)).returns(::StackOne::Operations::StackoneListLinkedAccountsResponse) }
143
143
  def list_linked_accounts(origin_owner_id = nil, provider = nil)
144
144
  # list_linked_accounts - List Accounts
145
145
  request = ::StackOne::Operations::StackoneListLinkedAccountsRequest.new(
@@ -177,7 +177,7 @@ module StackOne
177
177
  end
178
178
 
179
179
 
180
- sig { params(patch_account_dto: ::StackOne::Shared::PatchAccountDto, id: ::String).returns(Utils::FieldAugmented) }
180
+ sig { params(patch_account_dto: ::StackOne::Shared::PatchAccountDto, id: ::String).returns(::StackOne::Operations::StackoneUpdateAccountResponse) }
181
181
  def update_account(patch_account_dto, id)
182
182
  # update_account - Update Account
183
183
  request = ::StackOne::Operations::StackoneUpdateAccountRequest.new(
data/lib/stack_one/ats.rb CHANGED
@@ -19,7 +19,7 @@ module StackOne
19
19
  end
20
20
 
21
21
 
22
- sig { params(ats_create_application_request_dto: ::StackOne::Shared::AtsCreateApplicationRequestDto, x_account_id: ::String).returns(Utils::FieldAugmented) }
22
+ sig { params(ats_create_application_request_dto: ::StackOne::Shared::AtsCreateApplicationRequestDto, x_account_id: ::String).returns(::StackOne::Operations::AtsCreateApplicationResponse) }
23
23
  def create_application(ats_create_application_request_dto, x_account_id)
24
24
  # create_application - Create Application
25
25
  request = ::StackOne::Operations::AtsCreateApplicationRequest.new(
@@ -65,7 +65,7 @@ module StackOne
65
65
  end
66
66
 
67
67
 
68
- sig { params(ats_create_candidate_request_dto: ::StackOne::Shared::AtsCreateCandidateRequestDto, x_account_id: ::String).returns(Utils::FieldAugmented) }
68
+ sig { params(ats_create_candidate_request_dto: ::StackOne::Shared::AtsCreateCandidateRequestDto, x_account_id: ::String).returns(::StackOne::Operations::AtsCreateCandidateResponse) }
69
69
  def create_candidate(ats_create_candidate_request_dto, x_account_id)
70
70
  # create_candidate - Create Candidate (early access)
71
71
  request = ::StackOne::Operations::AtsCreateCandidateRequest.new(
@@ -111,7 +111,7 @@ module StackOne
111
111
  end
112
112
 
113
113
 
114
- sig { params(ats_create_notes_request_dto: ::StackOne::Shared::AtsCreateNotesRequestDto, id: ::String, x_account_id: ::String).returns(Utils::FieldAugmented) }
114
+ sig { params(ats_create_notes_request_dto: ::StackOne::Shared::AtsCreateNotesRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsCreateCandidateNoteResponse) }
115
115
  def create_candidate_note(ats_create_notes_request_dto, id, x_account_id)
116
116
  # create_candidate_note - Create Candidate Note
117
117
  request = ::StackOne::Operations::AtsCreateCandidateNoteRequest.new(
@@ -163,7 +163,7 @@ module StackOne
163
163
  end
164
164
 
165
165
 
166
- sig { params(ats_create_offer_request_dto: ::StackOne::Shared::AtsCreateOfferRequestDto, x_account_id: ::String).returns(Utils::FieldAugmented) }
166
+ sig { params(ats_create_offer_request_dto: ::StackOne::Shared::AtsCreateOfferRequestDto, x_account_id: ::String).returns(::StackOne::Operations::AtsCreateOfferResponse) }
167
167
  def create_offer(ats_create_offer_request_dto, x_account_id)
168
168
  # create_offer - Creates an offer
169
169
  request = ::StackOne::Operations::AtsCreateOfferRequest.new(
@@ -209,7 +209,7 @@ module StackOne
209
209
  end
210
210
 
211
211
 
212
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationRequest)).returns(Utils::FieldAugmented) }
212
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationRequest)).returns(::StackOne::Operations::AtsGetApplicationResponse) }
213
213
  def get_application(request)
214
214
  # get_application - Get Application
215
215
  url, params = @sdk_configuration.get_server_details
@@ -247,7 +247,7 @@ module StackOne
247
247
  end
248
248
 
249
249
 
250
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationDocumentRequest)).returns(Utils::FieldAugmented) }
250
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationDocumentRequest)).returns(::StackOne::Operations::AtsGetApplicationDocumentResponse) }
251
251
  def get_application_document(request)
252
252
  # get_application_document - Get Application Document
253
253
  url, params = @sdk_configuration.get_server_details
@@ -285,7 +285,7 @@ module StackOne
285
285
  end
286
286
 
287
287
 
288
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationOfferRequest)).returns(Utils::FieldAugmented) }
288
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationOfferRequest)).returns(::StackOne::Operations::AtsGetApplicationOfferResponse) }
289
289
  def get_application_offer(request)
290
290
  # get_application_offer - Get Application Offer
291
291
  url, params = @sdk_configuration.get_server_details
@@ -323,7 +323,7 @@ module StackOne
323
323
  end
324
324
 
325
325
 
326
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationScorecardRequest)).returns(Utils::FieldAugmented) }
326
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetApplicationScorecardRequest)).returns(::StackOne::Operations::AtsGetApplicationScorecardResponse) }
327
327
  def get_application_scorecard(request)
328
328
  # get_application_scorecard - Get Application Scorecard
329
329
  url, params = @sdk_configuration.get_server_details
@@ -361,7 +361,7 @@ module StackOne
361
361
  end
362
362
 
363
363
 
364
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetCandidateRequest)).returns(Utils::FieldAugmented) }
364
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetCandidateRequest)).returns(::StackOne::Operations::AtsGetCandidateResponse) }
365
365
  def get_candidate(request)
366
366
  # get_candidate - Get Candidate
367
367
  url, params = @sdk_configuration.get_server_details
@@ -399,7 +399,7 @@ module StackOne
399
399
  end
400
400
 
401
401
 
402
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetCandidateNoteRequest)).returns(Utils::FieldAugmented) }
402
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetCandidateNoteRequest)).returns(::StackOne::Operations::AtsGetCandidateNoteResponse) }
403
403
  def get_candidate_note(request)
404
404
  # get_candidate_note - Get Candidate Note
405
405
  url, params = @sdk_configuration.get_server_details
@@ -431,13 +431,13 @@ module StackOne
431
431
  out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::NoteResult)
432
432
  res.note_result = out
433
433
  end
434
- elsif [400, 403, 429, 500, 501].include?(r.status)
434
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
435
435
  end
436
436
  res
437
437
  end
438
438
 
439
439
 
440
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetDepartmentRequest)).returns(Utils::FieldAugmented) }
440
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetDepartmentRequest)).returns(::StackOne::Operations::AtsGetDepartmentResponse) }
441
441
  def get_department(request)
442
442
  # get_department - Get Department
443
443
  url, params = @sdk_configuration.get_server_details
@@ -475,7 +475,7 @@ module StackOne
475
475
  end
476
476
 
477
477
 
478
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetInterviewRequest)).returns(Utils::FieldAugmented) }
478
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetInterviewRequest)).returns(::StackOne::Operations::AtsGetInterviewResponse) }
479
479
  def get_interview(request)
480
480
  # get_interview - Get Interview
481
481
  url, params = @sdk_configuration.get_server_details
@@ -513,7 +513,7 @@ module StackOne
513
513
  end
514
514
 
515
515
 
516
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetInterviewStageRequest)).returns(Utils::FieldAugmented) }
516
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetInterviewStageRequest)).returns(::StackOne::Operations::AtsGetInterviewStageResponse) }
517
517
  def get_interview_stage(request)
518
518
  # get_interview_stage - Get Interview Stage
519
519
  url, params = @sdk_configuration.get_server_details
@@ -551,7 +551,7 @@ module StackOne
551
551
  end
552
552
 
553
553
 
554
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetJobRequest)).returns(Utils::FieldAugmented) }
554
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetJobRequest)).returns(::StackOne::Operations::AtsGetJobResponse) }
555
555
  def get_job(request)
556
556
  # get_job - Get Job
557
557
  url, params = @sdk_configuration.get_server_details
@@ -589,7 +589,7 @@ module StackOne
589
589
  end
590
590
 
591
591
 
592
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetJobPostingRequest)).returns(Utils::FieldAugmented) }
592
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetJobPostingRequest)).returns(::StackOne::Operations::AtsGetJobPostingResponse) }
593
593
  def get_job_posting(request)
594
594
  # get_job_posting - Get Job Posting
595
595
  url, params = @sdk_configuration.get_server_details
@@ -627,7 +627,7 @@ module StackOne
627
627
  end
628
628
 
629
629
 
630
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetLocationRequest)).returns(Utils::FieldAugmented) }
630
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetLocationRequest)).returns(::StackOne::Operations::AtsGetLocationResponse) }
631
631
  def get_location(request)
632
632
  # get_location - Get Location
633
633
  url, params = @sdk_configuration.get_server_details
@@ -665,7 +665,7 @@ module StackOne
665
665
  end
666
666
 
667
667
 
668
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetOfferRequest)).returns(Utils::FieldAugmented) }
668
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetOfferRequest)).returns(::StackOne::Operations::AtsGetOfferResponse) }
669
669
  def get_offer(request)
670
670
  # get_offer - Get Offer
671
671
  url, params = @sdk_configuration.get_server_details
@@ -703,7 +703,7 @@ module StackOne
703
703
  end
704
704
 
705
705
 
706
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetRejectedReasonRequest)).returns(Utils::FieldAugmented) }
706
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetRejectedReasonRequest)).returns(::StackOne::Operations::AtsGetRejectedReasonResponse) }
707
707
  def get_rejected_reason(request)
708
708
  # get_rejected_reason - Get Rejected Reason
709
709
  url, params = @sdk_configuration.get_server_details
@@ -741,7 +741,7 @@ module StackOne
741
741
  end
742
742
 
743
743
 
744
- sig { params(request: T.nilable(::StackOne::Operations::AtsGetUserRequest)).returns(Utils::FieldAugmented) }
744
+ sig { params(request: T.nilable(::StackOne::Operations::AtsGetUserRequest)).returns(::StackOne::Operations::AtsGetUserResponse) }
745
745
  def get_user(request)
746
746
  # get_user - Get User
747
747
  url, params = @sdk_configuration.get_server_details
@@ -779,7 +779,7 @@ module StackOne
779
779
  end
780
780
 
781
781
 
782
- sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationDocumentsRequest)).returns(Utils::FieldAugmented) }
782
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationDocumentsRequest)).returns(::StackOne::Operations::AtsListApplicationDocumentsResponse) }
783
783
  def list_application_documents(request)
784
784
  # list_application_documents - List Application Documents
785
785
  url, params = @sdk_configuration.get_server_details
@@ -817,7 +817,7 @@ module StackOne
817
817
  end
818
818
 
819
819
 
820
- sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationScorecardsRequest)).returns(Utils::FieldAugmented) }
820
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationScorecardsRequest)).returns(::StackOne::Operations::AtsListApplicationScorecardsResponse) }
821
821
  def list_application_scorecards(request)
822
822
  # list_application_scorecards - List Application Scorecards
823
823
  url, params = @sdk_configuration.get_server_details
@@ -855,7 +855,7 @@ module StackOne
855
855
  end
856
856
 
857
857
 
858
- sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationsRequest)).returns(Utils::FieldAugmented) }
858
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationsRequest)).returns(::StackOne::Operations::AtsListApplicationsResponse) }
859
859
  def list_applications(request)
860
860
  # list_applications - List Applications
861
861
  url, params = @sdk_configuration.get_server_details
@@ -888,7 +888,7 @@ module StackOne
888
888
  end
889
889
 
890
890
 
891
- sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationsOffersRequest)).returns(Utils::FieldAugmented) }
891
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListApplicationsOffersRequest)).returns(::StackOne::Operations::AtsListApplicationsOffersResponse) }
892
892
  def list_applications_offers(request)
893
893
  # list_applications_offers - List Application Offers
894
894
  url, params = @sdk_configuration.get_server_details
@@ -926,7 +926,7 @@ module StackOne
926
926
  end
927
927
 
928
928
 
929
- sig { params(request: T.nilable(::StackOne::Operations::AtsListCandidateNotesRequest)).returns(Utils::FieldAugmented) }
929
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListCandidateNotesRequest)).returns(::StackOne::Operations::AtsListCandidateNotesResponse) }
930
930
  def list_candidate_notes(request)
931
931
  # list_candidate_notes - List Candidate Notes
932
932
  url, params = @sdk_configuration.get_server_details
@@ -964,7 +964,7 @@ module StackOne
964
964
  end
965
965
 
966
966
 
967
- sig { params(request: T.nilable(::StackOne::Operations::AtsListCandidatesRequest)).returns(Utils::FieldAugmented) }
967
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListCandidatesRequest)).returns(::StackOne::Operations::AtsListCandidatesResponse) }
968
968
  def list_candidates(request)
969
969
  # list_candidates - List Candidates
970
970
  url, params = @sdk_configuration.get_server_details
@@ -997,7 +997,7 @@ module StackOne
997
997
  end
998
998
 
999
999
 
1000
- sig { params(request: T.nilable(::StackOne::Operations::AtsListDepartmentsRequest)).returns(Utils::FieldAugmented) }
1000
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListDepartmentsRequest)).returns(::StackOne::Operations::AtsListDepartmentsResponse) }
1001
1001
  def list_departments(request)
1002
1002
  # list_departments - List Departments
1003
1003
  url, params = @sdk_configuration.get_server_details
@@ -1030,7 +1030,7 @@ module StackOne
1030
1030
  end
1031
1031
 
1032
1032
 
1033
- sig { params(request: T.nilable(::StackOne::Operations::AtsListInterviewStagesRequest)).returns(Utils::FieldAugmented) }
1033
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListInterviewStagesRequest)).returns(::StackOne::Operations::AtsListInterviewStagesResponse) }
1034
1034
  def list_interview_stages(request)
1035
1035
  # list_interview_stages - List Interview Stages
1036
1036
  url, params = @sdk_configuration.get_server_details
@@ -1063,7 +1063,7 @@ module StackOne
1063
1063
  end
1064
1064
 
1065
1065
 
1066
- sig { params(request: T.nilable(::StackOne::Operations::AtsListInterviewsRequest)).returns(Utils::FieldAugmented) }
1066
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListInterviewsRequest)).returns(::StackOne::Operations::AtsListInterviewsResponse) }
1067
1067
  def list_interviews(request)
1068
1068
  # list_interviews - List Interviews
1069
1069
  url, params = @sdk_configuration.get_server_details
@@ -1096,7 +1096,7 @@ module StackOne
1096
1096
  end
1097
1097
 
1098
1098
 
1099
- sig { params(request: T.nilable(::StackOne::Operations::AtsListJobPostingsRequest)).returns(Utils::FieldAugmented) }
1099
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListJobPostingsRequest)).returns(::StackOne::Operations::AtsListJobPostingsResponse) }
1100
1100
  def list_job_postings(request)
1101
1101
  # list_job_postings - List Job Postings
1102
1102
  url, params = @sdk_configuration.get_server_details
@@ -1129,7 +1129,7 @@ module StackOne
1129
1129
  end
1130
1130
 
1131
1131
 
1132
- sig { params(request: T.nilable(::StackOne::Operations::AtsListJobsRequest)).returns(Utils::FieldAugmented) }
1132
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListJobsRequest)).returns(::StackOne::Operations::AtsListJobsResponse) }
1133
1133
  def list_jobs(request)
1134
1134
  # list_jobs - List Jobs
1135
1135
  url, params = @sdk_configuration.get_server_details
@@ -1162,7 +1162,7 @@ module StackOne
1162
1162
  end
1163
1163
 
1164
1164
 
1165
- sig { params(request: T.nilable(::StackOne::Operations::AtsListLocationsRequest)).returns(Utils::FieldAugmented) }
1165
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListLocationsRequest)).returns(::StackOne::Operations::AtsListLocationsResponse) }
1166
1166
  def list_locations(request)
1167
1167
  # list_locations - List locations
1168
1168
  url, params = @sdk_configuration.get_server_details
@@ -1195,7 +1195,7 @@ module StackOne
1195
1195
  end
1196
1196
 
1197
1197
 
1198
- sig { params(request: T.nilable(::StackOne::Operations::AtsListOffersRequest)).returns(Utils::FieldAugmented) }
1198
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListOffersRequest)).returns(::StackOne::Operations::AtsListOffersResponse) }
1199
1199
  def list_offers(request)
1200
1200
  # list_offers - List Offers
1201
1201
  url, params = @sdk_configuration.get_server_details
@@ -1228,7 +1228,7 @@ module StackOne
1228
1228
  end
1229
1229
 
1230
1230
 
1231
- sig { params(request: T.nilable(::StackOne::Operations::AtsListRejectedReasonsRequest)).returns(Utils::FieldAugmented) }
1231
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListRejectedReasonsRequest)).returns(::StackOne::Operations::AtsListRejectedReasonsResponse) }
1232
1232
  def list_rejected_reasons(request)
1233
1233
  # list_rejected_reasons - List Rejected Reasons
1234
1234
  url, params = @sdk_configuration.get_server_details
@@ -1261,7 +1261,7 @@ module StackOne
1261
1261
  end
1262
1262
 
1263
1263
 
1264
- sig { params(request: T.nilable(::StackOne::Operations::AtsListUsersRequest)).returns(Utils::FieldAugmented) }
1264
+ sig { params(request: T.nilable(::StackOne::Operations::AtsListUsersRequest)).returns(::StackOne::Operations::AtsListUsersResponse) }
1265
1265
  def list_users(request)
1266
1266
  # list_users - List Users
1267
1267
  url, params = @sdk_configuration.get_server_details
@@ -1294,7 +1294,7 @@ module StackOne
1294
1294
  end
1295
1295
 
1296
1296
 
1297
- sig { params(ats_update_application_request_dto: ::StackOne::Shared::AtsUpdateApplicationRequestDto, id: ::String, x_account_id: ::String).returns(Utils::FieldAugmented) }
1297
+ sig { params(ats_update_application_request_dto: ::StackOne::Shared::AtsUpdateApplicationRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsUpdateApplicationResponse) }
1298
1298
  def update_application(ats_update_application_request_dto, id, x_account_id)
1299
1299
  # update_application - Update Application
1300
1300
  request = ::StackOne::Operations::AtsUpdateApplicationRequest.new(
@@ -1346,7 +1346,7 @@ module StackOne
1346
1346
  end
1347
1347
 
1348
1348
 
1349
- sig { params(ats_update_candidates_request_dto: ::StackOne::Shared::AtsUpdateCandidatesRequestDto, id: ::String, x_account_id: ::String).returns(Utils::FieldAugmented) }
1349
+ sig { params(ats_update_candidates_request_dto: ::StackOne::Shared::AtsUpdateCandidatesRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsUpdateCandidateResponse) }
1350
1350
  def update_candidate(ats_update_candidates_request_dto, id, x_account_id)
1351
1351
  # update_candidate - Update Candidate (early access)
1352
1352
  request = ::StackOne::Operations::AtsUpdateCandidateRequest.new(
@@ -19,7 +19,7 @@ module StackOne
19
19
  end
20
20
 
21
21
 
22
- sig { params(request: ::StackOne::Shared::ConnectSessionAuthenticate).returns(Utils::FieldAugmented) }
22
+ sig { params(request: ::StackOne::Shared::ConnectSessionAuthenticate).returns(::StackOne::Operations::StackoneAuthenticateConnectSessionResponse) }
23
23
  def authenticate_connect_session(request)
24
24
  # authenticate_connect_session - Authenticate Connect Session
25
25
  url, params = @sdk_configuration.get_server_details
@@ -60,7 +60,7 @@ module StackOne
60
60
  end
61
61
 
62
62
 
63
- sig { params(request: ::StackOne::Shared::ConnectSessionCreate).returns(Utils::FieldAugmented) }
63
+ sig { params(request: ::StackOne::Shared::ConnectSessionCreate).returns(::StackOne::Operations::StackoneCreateConnectSessionResponse) }
64
64
  def create_connect_session(request)
65
65
  # create_connect_session - Create Connect Session
66
66
  url, params = @sdk_configuration.get_server_details
@@ -19,7 +19,7 @@ module StackOne
19
19
  end
20
20
 
21
21
 
22
- sig { params(provider: ::String, include: T.nilable(::String)).returns(Utils::FieldAugmented) }
22
+ sig { params(provider: ::String, include: T.nilable(::String)).returns(::StackOne::Operations::StackoneGetConnectorMetaResponse) }
23
23
  def get_connector_meta(provider, include = nil)
24
24
  # get_connector_meta - Get Connector Meta information for the given provider key
25
25
  request = ::StackOne::Operations::StackoneGetConnectorMetaRequest.new(
@@ -62,7 +62,7 @@ module StackOne
62
62
  end
63
63
 
64
64
 
65
- sig { params(include: T.nilable(::String)).returns(Utils::FieldAugmented) }
65
+ sig { params(include: T.nilable(::String)).returns(::StackOne::Operations::StackoneListConnectorsMetaResponse) }
66
66
  def list_connectors_meta(include = nil)
67
67
  # list_connectors_meta - List Connectors Meta Information for all providers
68
68
  request = ::StackOne::Operations::StackoneListConnectorsMetaRequest.new(
data/lib/stack_one/crm.rb CHANGED
@@ -19,7 +19,7 @@ module StackOne
19
19
  end
20
20
 
21
21
 
22
- sig { params(crm_create_contact_request_dto: ::StackOne::Shared::CrmCreateContactRequestDto, x_account_id: ::String).returns(Utils::FieldAugmented) }
22
+ sig { params(crm_create_contact_request_dto: ::StackOne::Shared::CrmCreateContactRequestDto, x_account_id: ::String).returns(::StackOne::Operations::CrmCreateContactResponse) }
23
23
  def create_contact(crm_create_contact_request_dto, x_account_id)
24
24
  # create_contact - Creates a new Contact
25
25
  request = ::StackOne::Operations::CrmCreateContactRequest.new(
@@ -65,7 +65,7 @@ module StackOne
65
65
  end
66
66
 
67
67
 
68
- sig { params(request: T.nilable(::StackOne::Operations::CrmGetAccountRequest)).returns(Utils::FieldAugmented) }
68
+ sig { params(request: T.nilable(::StackOne::Operations::CrmGetAccountRequest)).returns(::StackOne::Operations::CrmGetAccountResponse) }
69
69
  def get_account(request)
70
70
  # get_account - Get Account
71
71
  url, params = @sdk_configuration.get_server_details
@@ -97,13 +97,13 @@ module StackOne
97
97
  out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::AccountResult)
98
98
  res.account_result = out
99
99
  end
100
- elsif [400, 403, 429, 500, 501].include?(r.status)
100
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
101
101
  end
102
102
  res
103
103
  end
104
104
 
105
105
 
106
- sig { params(request: T.nilable(::StackOne::Operations::CrmGetContactRequest)).returns(Utils::FieldAugmented) }
106
+ sig { params(request: T.nilable(::StackOne::Operations::CrmGetContactRequest)).returns(::StackOne::Operations::CrmGetContactResponse) }
107
107
  def get_contact(request)
108
108
  # get_contact - Get Contact
109
109
  url, params = @sdk_configuration.get_server_details
@@ -141,7 +141,7 @@ module StackOne
141
141
  end
142
142
 
143
143
 
144
- sig { params(request: T.nilable(::StackOne::Operations::CrmGetListRequest)).returns(Utils::FieldAugmented) }
144
+ sig { params(request: T.nilable(::StackOne::Operations::CrmGetListRequest)).returns(::StackOne::Operations::CrmGetListResponse) }
145
145
  def get_list(request)
146
146
  # get_list - Get List
147
147
  url, params = @sdk_configuration.get_server_details
@@ -179,7 +179,7 @@ module StackOne
179
179
  end
180
180
 
181
181
 
182
- sig { params(request: T.nilable(::StackOne::Operations::CrmListAccountsRequest)).returns(Utils::FieldAugmented) }
182
+ sig { params(request: T.nilable(::StackOne::Operations::CrmListAccountsRequest)).returns(::StackOne::Operations::CrmListAccountsResponse) }
183
183
  def list_accounts(request)
184
184
  # list_accounts - List Accounts
185
185
  url, params = @sdk_configuration.get_server_details
@@ -206,13 +206,13 @@ module StackOne
206
206
  out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::AccountsPaginated)
207
207
  res.accounts_paginated = out
208
208
  end
209
- elsif [400, 403, 429, 500, 501].include?(r.status)
209
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
210
210
  end
211
211
  res
212
212
  end
213
213
 
214
214
 
215
- sig { params(request: T.nilable(::StackOne::Operations::CrmListContactsRequest)).returns(Utils::FieldAugmented) }
215
+ sig { params(request: T.nilable(::StackOne::Operations::CrmListContactsRequest)).returns(::StackOne::Operations::CrmListContactsResponse) }
216
216
  def list_contacts(request)
217
217
  # list_contacts - List Contacts
218
218
  url, params = @sdk_configuration.get_server_details
@@ -239,13 +239,13 @@ module StackOne
239
239
  out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ContactsPaginated)
240
240
  res.contacts_paginated = out
241
241
  end
242
- elsif [400, 403, 429, 500, 501].include?(r.status)
242
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
243
243
  end
244
244
  res
245
245
  end
246
246
 
247
247
 
248
- sig { params(request: T.nilable(::StackOne::Operations::CrmListListsRequest)).returns(Utils::FieldAugmented) }
248
+ sig { params(request: T.nilable(::StackOne::Operations::CrmListListsRequest)).returns(::StackOne::Operations::CrmListListsResponse) }
249
249
  def list_lists(request)
250
250
  # list_lists - Get all Lists
251
251
  url, params = @sdk_configuration.get_server_details
@@ -272,13 +272,13 @@ module StackOne
272
272
  out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ListsPaginated)
273
273
  res.lists_paginated = out
274
274
  end
275
- elsif [400, 403, 429, 500, 501].include?(r.status)
275
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
276
276
  end
277
277
  res
278
278
  end
279
279
 
280
280
 
281
- sig { params(crm_create_contact_request_dto: ::StackOne::Shared::CrmCreateContactRequestDto, id: ::String, x_account_id: ::String).returns(Utils::FieldAugmented) }
281
+ sig { params(crm_create_contact_request_dto: ::StackOne::Shared::CrmCreateContactRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::CrmUpdateContactResponse) }
282
282
  def update_contact(crm_create_contact_request_dto, id, x_account_id)
283
283
  # update_contact - Update Contact (early access)
284
284
  request = ::StackOne::Operations::CrmUpdateContactRequest.new(