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.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +5 -5
- data/lib/stack_one/ats.rb +37 -37
- data/lib/stack_one/connect_sessions.rb +2 -2
- data/lib/stack_one/connectors.rb +2 -2
- data/lib/stack_one/crm.rb +12 -12
- data/lib/stack_one/hris.rb +248 -21
- data/lib/stack_one/marketing.rb +16 -16
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb +33 -0
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +30 -0
- data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/proxy.rb +1 -1
- data/lib/stack_one/models/operations/queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations.rb +12 -0
- data/lib/stack_one/models/shared/categories.rb +1 -0
- data/lib/stack_one/models/shared/category.rb +1 -0
- data/lib/stack_one/models/shared/company.rb +3 -3
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
- data/lib/stack_one/models/shared/createdocumentresult.rb +30 -0
- data/lib/stack_one/models/shared/createworkeligibilityresult.rb +30 -0
- data/lib/stack_one/models/shared/emailmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/employee.rb +8 -5
- data/lib/stack_one/models/shared/employee_company.rb +36 -0
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -2
- data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -2
- data/lib/stack_one/models/shared/hrisbenefit.rb +3 -3
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +4 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +33 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +3 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +42 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +266 -0
- data/lib/stack_one/models/shared/issued_by.rb +27 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/{response.rb → job_schemas_status.rb} +1 -1
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -0
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -2
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/message_message_type.rb +2 -2
- data/lib/stack_one/models/shared/message_type.rb +2 -2
- data/lib/stack_one/models/shared/message_value.rb +20 -0
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +2 -2
- data/lib/stack_one/models/shared/pushmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/rawresponse.rb +2 -2
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/timeoff_value.rb +3 -0
- data/lib/stack_one/models/shared/workeligibility.rb +8 -5
- data/lib/stack_one/models/shared/workeligibility_document.rb +39 -0
- data/lib/stack_one/models/shared/workeligibility_issued_by.rb +27 -0
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/workeligibility_type.rb +2 -2
- data/lib/stack_one/models/shared/workeligibility_value.rb +250 -6
- data/lib/stack_one/models/shared/workeligibilitypaginated.rb +33 -0
- data/lib/stack_one/models/shared/workeligibilityresult.rb +27 -0
- data/lib/stack_one/models/shared.rb +27 -8
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +10 -11
- data/lib/stack_one/stackone.rb +21 -20
- data/lib/stack_one/utils/metadata_fields.rb +8 -12
- data/lib/stack_one/utils/t.rb +59 -0
- data/lib/stack_one/utils/utils.rb +8 -13
- data/lib/stackone_client.rb +5 -3
- metadata +35 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2fcc728cb7f68d1a29e5c873236a4242b1b2133656458005658c88a7895f5bc
|
4
|
+
data.tar.gz: e2176ae14ff0f3db08b83f4461fe9e12d57573cbf1a18eea310e7065ce47d985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64f057cf66fe0d920133d598f6df515bffb2e04aea1203d4318c5651d2327e4b1a3d969770c57ec4c6c930b6f5320a5551aa9ae23fbdacb994be776540cfefbc
|
7
|
+
data.tar.gz: 4d14bfb4f7ffe912d06b1436c03c3f9f92363f9edc7235cd3f28c6495d9583a72da7a0642696e2a412908682ad1bd458eef3f680a8a9b08d1d3ea8e309709a14
|
data/lib/stack_one/accounts.rb
CHANGED
@@ -19,7 +19,7 @@ module StackOne
|
|
19
19
|
end
|
20
20
|
|
21
21
|
|
22
|
-
sig { params(id: ::String).returns(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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
|
data/lib/stack_one/connectors.rb
CHANGED
@@ -19,7 +19,7 @@ module StackOne
|
|
19
19
|
end
|
20
20
|
|
21
21
|
|
22
|
-
sig { params(provider: ::String, include: T.nilable(::String)).returns(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|
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(
|