From df2e30bb40dee7d2b247e71c0226b770ebe2a009 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 16 May 2024 09:10:21 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.291.0 --- .speakeasy/gen.lock | 70 ++- .speakeasy/workflow.lock | 8 +- README.md | 4 +- RELEASES.md | 12 +- USAGE.md | 4 +- codeSamples.yaml | 586 +++++++++--------- .../atslistapplicationdocumentsrequest.md | 2 +- .../atslistapplicationscorecardsrequest.md | 2 +- ...slistapplicationsoffersqueryparamfilter.md | 10 + .../atslistapplicationsoffersrequest.md | 2 +- .../atslistapplicationsqueryparamfilter.md | 11 + .../operations/atslistapplicationsrequest.md | 3 +- .../atslistcandidatenotesqueryparamfilter.md | 10 + .../atslistcandidatenotesrequest.md | 2 +- .../atslistcandidatesqueryparamfilter.md | 10 + .../operations/atslistcandidatesrequest.md | 2 +- .../atslistdepartmentsqueryparamfilter.md | 10 + .../operations/atslistdepartmentsrequest.md | 2 +- .../atslistinterviewsqueryparamfilter.md | 10 + .../operations/atslistinterviewsrequest.md | 2 +- .../atslistinterviewstagesqueryparamfilter.md | 10 + .../atslistinterviewstagesrequest.md | 2 +- .../atslistjobpostingsqueryparamfilter.md | 10 + .../operations/atslistjobpostingsrequest.md | 2 +- .../operations/atslistjobsqueryparamfilter.md | 10 + docs/models/operations/atslistjobsrequest.md | 2 +- .../atslistlocationsqueryparamfilter.md | 10 + .../operations/atslistlocationsrequest.md | 2 +- .../atslistoffersqueryparamfilter.md | 10 + .../models/operations/atslistoffersrequest.md | 2 +- .../atslistrejectedreasonsqueryparamfilter.md | 10 + .../atslistrejectedreasonsrequest.md | 2 +- .../atslistusersqueryparamfilter.md | 10 + docs/models/operations/atslistusersrequest.md | 2 +- .../crmlistaccountsqueryparamfilter.md | 10 + .../operations/crmlistaccountsrequest.md | 2 +- .../crmlistcontactsqueryparamfilter.md | 10 + .../operations/crmlistcontactsrequest.md | 2 +- .../crmlistlistsqueryparamfilter.md | 10 + docs/models/operations/crmlistlistsrequest.md | 2 +- docs/models/operations/filter.md | 10 + .../hrislistbenefitsqueryparamfilter.md | 10 + .../operations/hrislistbenefitsrequest.md | 2 +- .../hrislistcompaniesqueryparamfilter.md | 10 + .../operations/hrislistcompaniesrequest.md | 2 +- ...islistemployeedocumentsqueryparamfilter.md | 10 + .../hrislistemployeedocumentsrequest.md | 2 +- .../hrislistemployeesqueryparamfilter.md | 11 + .../operations/hrislistemployeesrequest.md | 3 +- ...employeetimeoffrequestsqueryparamfilter.md | 10 + .../hrislistemployeetimeoffrequestsrequest.md | 2 +- ...employeeworkeligibilityqueryparamfilter.md | 10 + .../hrislistemployeeworkeligibilityrequest.md | 2 +- .../hrislistemploymentsqueryparamfilter.md | 10 + .../operations/hrislistemploymentsrequest.md | 2 +- .../hrislistgroupsqueryparamfilter.md | 10 + .../operations/hrislistgroupsrequest.md | 2 +- .../hrislistlocationsqueryparamfilter.md | 10 + .../operations/hrislistlocationsrequest.md | 2 +- ...hrislisttimeoffrequestsqueryparamfilter.md | 10 + .../hrislisttimeoffrequestsrequest.md | 2 +- .../marketinglistcampaignsqueryparamfilter.md | 10 + .../marketinglistcampaignsrequest.md | 2 +- ...etinglistemailtemplatesqueryparamfilter.md | 10 + .../marketinglistemailtemplatesrequest.md | 2 +- ...istomnichanneltemplatesqueryparamfilter.md | 10 + ...arketinglistomnichanneltemplatesrequest.md | 2 +- ...ketinglistpushtemplatesqueryparamfilter.md | 10 + .../marketinglistpushtemplatesrequest.md | 2 +- docs/models/operations/queryparamfilter.md | 10 + .../shared/atscreateapplicationrequestdto.md | 3 +- ...atscreateapplicationrequestdtocandidate.md | 1 + .../shared/atscreatecandidaterequestdto.md | 1 + .../models/shared/atscreatenotesrequestdto.md | 1 + .../models/shared/atscreateofferrequestdto.md | 1 + .../shared/atsupdateapplicationrequestdto.md | 13 +- .../shared/atsupdatecandidaterequestdto.md | 3 +- .../shared/crmcreatecontactrequestdto.md | 19 +- .../shared/hriscreateemployeerequestdto.md | 1 + ...riscreateemployeerequestdtohomelocation.md | 1 + ...riscreateemployeerequestdtoworklocation.md | 1 + .../shared/hriscreatetimeoffrequestdto.md | 1 + .../hriscreateworkeligibilityrequestdto.md | 1 + .../marketingcreateemailtemplaterequestdto.md | 3 +- .../marketingcreatepushtemplaterequestdto.md | 3 +- .../marketingcreatetemplaterequestdto.md | 3 +- docs/sdks/ats/README.md | 84 ++- docs/sdks/crm/README.md | 18 +- docs/sdks/hris/README.md | 73 ++- docs/sdks/marketing/README.md | 46 +- gen.yaml | 2 +- lib/stack_one/models/operations.rb | 32 + .../ats_list_application_documents_request.rb | 10 +- ...ats_list_application_scorecards_request.rb | 10 +- ...t_applications_offers_queryparam_filter.rb | 24 + .../ats_list_applications_offers_request.rb | 10 +- ...ats_list_applications_queryparam_filter.rb | 27 + .../ats_list_applications_request.rb | 13 +- ..._list_candidate_notes_queryparam_filter.rb | 24 + .../ats_list_candidate_notes_request.rb | 10 +- .../ats_list_candidates_queryparam_filter.rb | 24 + .../operations/ats_list_candidates_request.rb | 10 +- .../ats_list_departments_queryparam_filter.rb | 24 + .../ats_list_departments_request.rb | 10 +- ...list_interview_stages_queryparam_filter.rb | 24 + .../ats_list_interview_stages_request.rb | 10 +- .../ats_list_interviews_queryparam_filter.rb | 24 + .../operations/ats_list_interviews_request.rb | 10 +- ...ats_list_job_postings_queryparam_filter.rb | 24 + .../ats_list_job_postings_request.rb | 10 +- .../ats_list_jobs_queryparam_filter.rb | 24 + .../operations/ats_list_jobs_request.rb | 10 +- .../ats_list_locations_queryparam_filter.rb | 24 + .../operations/ats_list_locations_request.rb | 10 +- .../ats_list_offers_queryparam_filter.rb | 24 + .../operations/ats_list_offers_request.rb | 10 +- ...list_rejected_reasons_queryparam_filter.rb | 24 + .../ats_list_rejected_reasons_request.rb | 10 +- .../ats_list_users_queryparam_filter.rb | 24 + .../operations/ats_list_users_request.rb | 10 +- .../crm_list_accounts_queryparam_filter.rb | 24 + .../operations/crm_list_accounts_request.rb | 10 +- .../crm_list_contacts_queryparam_filter.rb | 24 + .../operations/crm_list_contacts_request.rb | 10 +- .../crm_list_lists_queryparam_filter.rb | 24 + .../operations/crm_list_lists_request.rb | 10 +- lib/stack_one/models/operations/filter.rb | 24 + .../hris_list_benefits_queryparam_filter.rb | 24 + .../operations/hris_list_benefits_request.rb | 10 +- .../hris_list_companies_queryparam_filter.rb | 24 + .../operations/hris_list_companies_request.rb | 10 +- ...st_employee_documents_queryparam_filter.rb | 24 + .../hris_list_employee_documents_request.rb | 10 +- ...yee_time_off_requests_queryparam_filter.rb | 24 + ...list_employee_time_off_requests_request.rb | 10 +- ...oyee_work_eligibility_queryparam_filter.rb | 24 + ..._list_employee_work_eligibility_request.rb | 10 +- .../hris_list_employees_queryparam_filter.rb | 27 + .../operations/hris_list_employees_request.rb | 13 +- ...hris_list_employments_queryparam_filter.rb | 24 + .../hris_list_employments_request.rb | 10 +- .../hris_list_groups_queryparam_filter.rb | 24 + .../operations/hris_list_groups_request.rb | 10 +- .../hris_list_locations_queryparam_filter.rb | 24 + .../operations/hris_list_locations_request.rb | 10 +- ...ist_time_off_requests_queryparam_filter.rb | 24 + .../hris_list_time_off_requests_request.rb | 10 +- ...keting_list_campaigns_queryparam_filter.rb | 24 + .../marketing_list_campaigns_request.rb | 10 +- ..._list_email_templates_queryparam_filter.rb | 24 + .../marketing_list_email_templates_request.rb | 10 +- ...mni_channel_templates_queryparam_filter.rb | 24 + ...ing_list_omni_channel_templates_request.rb | 10 +- ...g_list_push_templates_queryparam_filter.rb | 24 + .../marketing_list_push_templates_request.rb | 10 +- .../models/operations/queryparam_filter.rb | 24 + .../shared/atscreateapplicationrequestdto.rb | 7 +- ...tscreateapplicationrequestdto_candidate.rb | 7 +- .../shared/atscreatecandidaterequestdto.rb | 7 +- .../models/shared/atscreatenotesrequestdto.rb | 7 +- .../models/shared/atscreateofferrequestdto.rb | 7 +- .../shared/atsupdateapplicationrequestdto.rb | 11 +- .../shared/atsupdatecandidaterequestdto.rb | 13 +- .../shared/crmcreatecontactrequestdto.rb | 7 +- .../shared/hriscreateemployeerequestdto.rb | 7 +- ...screateemployeerequestdto_home_location.rb | 7 +- ...screateemployeerequestdto_work_location.rb | 7 +- .../shared/hriscreatetimeoffrequestdto.rb | 7 +- .../hriscreateworkeligibilityrequestdto.rb | 7 +- .../marketingcreateemailtemplaterequestdto.rb | 13 +- .../marketingcreatepushtemplaterequestdto.rb | 13 +- .../marketingcreatetemplaterequestdto.rb | 13 +- lib/stack_one/sdkconfiguration.rb | 4 +- stackone_client.gemspec | 2 +- 174 files changed, 1994 insertions(+), 635 deletions(-) create mode 100644 docs/models/operations/atslistapplicationsoffersqueryparamfilter.md create mode 100644 docs/models/operations/atslistapplicationsqueryparamfilter.md create mode 100644 docs/models/operations/atslistcandidatenotesqueryparamfilter.md create mode 100644 docs/models/operations/atslistcandidatesqueryparamfilter.md create mode 100644 docs/models/operations/atslistdepartmentsqueryparamfilter.md create mode 100644 docs/models/operations/atslistinterviewsqueryparamfilter.md create mode 100644 docs/models/operations/atslistinterviewstagesqueryparamfilter.md create mode 100644 docs/models/operations/atslistjobpostingsqueryparamfilter.md create mode 100644 docs/models/operations/atslistjobsqueryparamfilter.md create mode 100644 docs/models/operations/atslistlocationsqueryparamfilter.md create mode 100644 docs/models/operations/atslistoffersqueryparamfilter.md create mode 100644 docs/models/operations/atslistrejectedreasonsqueryparamfilter.md create mode 100644 docs/models/operations/atslistusersqueryparamfilter.md create mode 100644 docs/models/operations/crmlistaccountsqueryparamfilter.md create mode 100644 docs/models/operations/crmlistcontactsqueryparamfilter.md create mode 100644 docs/models/operations/crmlistlistsqueryparamfilter.md create mode 100644 docs/models/operations/filter.md create mode 100644 docs/models/operations/hrislistbenefitsqueryparamfilter.md create mode 100644 docs/models/operations/hrislistcompaniesqueryparamfilter.md create mode 100644 docs/models/operations/hrislistemployeedocumentsqueryparamfilter.md create mode 100644 docs/models/operations/hrislistemployeesqueryparamfilter.md create mode 100644 docs/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md create mode 100644 docs/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md create mode 100644 docs/models/operations/hrislistemploymentsqueryparamfilter.md create mode 100644 docs/models/operations/hrislistgroupsqueryparamfilter.md create mode 100644 docs/models/operations/hrislistlocationsqueryparamfilter.md create mode 100644 docs/models/operations/hrislisttimeoffrequestsqueryparamfilter.md create mode 100644 docs/models/operations/marketinglistcampaignsqueryparamfilter.md create mode 100644 docs/models/operations/marketinglistemailtemplatesqueryparamfilter.md create mode 100644 docs/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md create mode 100644 docs/models/operations/marketinglistpushtemplatesqueryparamfilter.md create mode 100644 docs/models/operations/queryparamfilter.md create mode 100644 lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb create mode 100644 lib/stack_one/models/operations/queryparam_filter.rb diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 532dbe77..e67daf3b 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 482384cc-3b98-4ced-bd0b-14aa8b3e0053 management: - docChecksum: 42d860ed3ffce136a76fb3a21aedb586 + docChecksum: 6ce08d391f4a149959ac2bb51b967564 docVersion: 1.0.0 speakeasyVersion: 1.291.0 generationVersion: 2.332.4 - releaseVersion: 0.2.21 - configChecksum: 73b31578940cc1f6ae29f26a563f05b1 + releaseVersion: 0.2.22 + configChecksum: f9ed470ea16aac46e6ddbef2dc33defe repoURL: https://github.com/StackOneHQ/stackone-client-ruby.git repoSubDirectory: . installationURL: https://github.com/StackOneHQ/stackone-client-ruby @@ -136,34 +136,49 @@ generatedFiles: - lib/stack_one/models/operations/ats_get_rejected_reason_response.rb - lib/stack_one/models/operations/ats_get_user_request.rb - lib/stack_one/models/operations/ats_get_user_response.rb + - lib/stack_one/models/operations/filter.rb - lib/stack_one/models/operations/ats_list_application_documents_request.rb - lib/stack_one/models/operations/ats_list_application_documents_response.rb + - lib/stack_one/models/operations/queryparam_filter.rb - lib/stack_one/models/operations/ats_list_application_scorecards_request.rb - lib/stack_one/models/operations/ats_list_application_scorecards_response.rb + - lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_applications_request.rb - lib/stack_one/models/operations/ats_list_applications_response.rb + - lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_applications_offers_request.rb - lib/stack_one/models/operations/ats_list_applications_offers_response.rb + - lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_candidate_notes_request.rb - lib/stack_one/models/operations/ats_list_candidate_notes_response.rb + - lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_candidates_request.rb - lib/stack_one/models/operations/ats_list_candidates_response.rb + - lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_departments_request.rb - lib/stack_one/models/operations/ats_list_departments_response.rb + - lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_interview_stages_request.rb - lib/stack_one/models/operations/ats_list_interview_stages_response.rb + - lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_interviews_request.rb - lib/stack_one/models/operations/ats_list_interviews_response.rb + - lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_job_postings_request.rb - lib/stack_one/models/operations/ats_list_job_postings_response.rb + - lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_jobs_request.rb - lib/stack_one/models/operations/ats_list_jobs_response.rb + - lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_locations_request.rb - lib/stack_one/models/operations/ats_list_locations_response.rb + - lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_offers_request.rb - lib/stack_one/models/operations/ats_list_offers_response.rb + - lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb - lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb + - lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb - lib/stack_one/models/operations/ats_list_users_request.rb - lib/stack_one/models/operations/ats_list_users_response.rb - lib/stack_one/models/operations/ats_update_application_request.rb @@ -180,10 +195,13 @@ generatedFiles: - lib/stack_one/models/operations/crm_get_contact_response.rb - lib/stack_one/models/operations/crm_get_list_request.rb - lib/stack_one/models/operations/crm_get_list_response.rb + - lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb - lib/stack_one/models/operations/crm_list_accounts_request.rb - lib/stack_one/models/operations/crm_list_accounts_response.rb + - lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb - lib/stack_one/models/operations/crm_list_contacts_request.rb - lib/stack_one/models/operations/crm_list_contacts_response.rb + - lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb - lib/stack_one/models/operations/crm_list_lists_request.rb - lib/stack_one/models/operations/crm_list_lists_response.rb - lib/stack_one/models/operations/crm_update_contact_request.rb @@ -218,24 +236,34 @@ generatedFiles: - lib/stack_one/models/operations/hris_get_location_response.rb - lib/stack_one/models/operations/hris_get_time_off_request_request.rb - lib/stack_one/models/operations/hris_get_time_off_request_response.rb + - lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_benefits_request.rb - lib/stack_one/models/operations/hris_list_benefits_response.rb + - lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_companies_request.rb - lib/stack_one/models/operations/hris_list_companies_response.rb + - lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_employee_documents_request.rb - lib/stack_one/models/operations/hris_list_employee_documents_response.rb + - lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb - lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb + - lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb - lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb + - lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_employees_request.rb - lib/stack_one/models/operations/hris_list_employees_response.rb + - lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_employments_request.rb - lib/stack_one/models/operations/hris_list_employments_response.rb + - lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_groups_request.rb - lib/stack_one/models/operations/hris_list_groups_response.rb + - lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_locations_request.rb - lib/stack_one/models/operations/hris_list_locations_response.rb + - lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb - lib/stack_one/models/operations/hris_list_time_off_requests_request.rb - lib/stack_one/models/operations/hris_list_time_off_requests_response.rb - lib/stack_one/models/operations/hris_update_employee_request.rb @@ -260,12 +288,16 @@ generatedFiles: - lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb - lib/stack_one/models/operations/marketing_get_push_template_request.rb - lib/stack_one/models/operations/marketing_get_push_template_response.rb + - lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb - lib/stack_one/models/operations/marketing_list_campaigns_request.rb - lib/stack_one/models/operations/marketing_list_campaigns_response.rb + - lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb - lib/stack_one/models/operations/marketing_list_email_templates_request.rb - lib/stack_one/models/operations/marketing_list_email_templates_response.rb + - lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb - lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb - lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb + - lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb - lib/stack_one/models/operations/marketing_list_push_templates_request.rb - lib/stack_one/models/operations/marketing_list_push_templates_response.rb - lib/stack_one/models/operations/marketing_update_email_template_request.rb @@ -675,34 +707,49 @@ generatedFiles: - docs/models/operations/atsgetrejectedreasonresponse.md - docs/models/operations/atsgetuserrequest.md - docs/models/operations/atsgetuserresponse.md + - docs/models/operations/filter.md - docs/models/operations/atslistapplicationdocumentsrequest.md - docs/models/operations/atslistapplicationdocumentsresponse.md + - docs/models/operations/queryparamfilter.md - docs/models/operations/atslistapplicationscorecardsrequest.md - docs/models/operations/atslistapplicationscorecardsresponse.md + - docs/models/operations/atslistapplicationsqueryparamfilter.md - docs/models/operations/atslistapplicationsrequest.md - docs/models/operations/atslistapplicationsresponse.md + - docs/models/operations/atslistapplicationsoffersqueryparamfilter.md - docs/models/operations/atslistapplicationsoffersrequest.md - docs/models/operations/atslistapplicationsoffersresponse.md + - docs/models/operations/atslistcandidatenotesqueryparamfilter.md - docs/models/operations/atslistcandidatenotesrequest.md - docs/models/operations/atslistcandidatenotesresponse.md + - docs/models/operations/atslistcandidatesqueryparamfilter.md - docs/models/operations/atslistcandidatesrequest.md - docs/models/operations/atslistcandidatesresponse.md + - docs/models/operations/atslistdepartmentsqueryparamfilter.md - docs/models/operations/atslistdepartmentsrequest.md - docs/models/operations/atslistdepartmentsresponse.md + - docs/models/operations/atslistinterviewstagesqueryparamfilter.md - docs/models/operations/atslistinterviewstagesrequest.md - docs/models/operations/atslistinterviewstagesresponse.md + - docs/models/operations/atslistinterviewsqueryparamfilter.md - docs/models/operations/atslistinterviewsrequest.md - docs/models/operations/atslistinterviewsresponse.md + - docs/models/operations/atslistjobpostingsqueryparamfilter.md - docs/models/operations/atslistjobpostingsrequest.md - docs/models/operations/atslistjobpostingsresponse.md + - docs/models/operations/atslistjobsqueryparamfilter.md - docs/models/operations/atslistjobsrequest.md - docs/models/operations/atslistjobsresponse.md + - docs/models/operations/atslistlocationsqueryparamfilter.md - docs/models/operations/atslistlocationsrequest.md - docs/models/operations/atslistlocationsresponse.md + - docs/models/operations/atslistoffersqueryparamfilter.md - docs/models/operations/atslistoffersrequest.md - docs/models/operations/atslistoffersresponse.md + - docs/models/operations/atslistrejectedreasonsqueryparamfilter.md - docs/models/operations/atslistrejectedreasonsrequest.md - docs/models/operations/atslistrejectedreasonsresponse.md + - docs/models/operations/atslistusersqueryparamfilter.md - docs/models/operations/atslistusersrequest.md - docs/models/operations/atslistusersresponse.md - docs/models/operations/atsupdateapplicationrequest.md @@ -719,10 +766,13 @@ generatedFiles: - docs/models/operations/crmgetcontactresponse.md - docs/models/operations/crmgetlistrequest.md - docs/models/operations/crmgetlistresponse.md + - docs/models/operations/crmlistaccountsqueryparamfilter.md - docs/models/operations/crmlistaccountsrequest.md - docs/models/operations/crmlistaccountsresponse.md + - docs/models/operations/crmlistcontactsqueryparamfilter.md - docs/models/operations/crmlistcontactsrequest.md - docs/models/operations/crmlistcontactsresponse.md + - docs/models/operations/crmlistlistsqueryparamfilter.md - docs/models/operations/crmlistlistsrequest.md - docs/models/operations/crmlistlistsresponse.md - docs/models/operations/crmupdatecontactrequest.md @@ -757,24 +807,34 @@ generatedFiles: - docs/models/operations/hrisgetlocationresponse.md - docs/models/operations/hrisgettimeoffrequestrequest.md - docs/models/operations/hrisgettimeoffrequestresponse.md + - docs/models/operations/hrislistbenefitsqueryparamfilter.md - docs/models/operations/hrislistbenefitsrequest.md - docs/models/operations/hrislistbenefitsresponse.md + - docs/models/operations/hrislistcompaniesqueryparamfilter.md - docs/models/operations/hrislistcompaniesrequest.md - docs/models/operations/hrislistcompaniesresponse.md + - docs/models/operations/hrislistemployeedocumentsqueryparamfilter.md - docs/models/operations/hrislistemployeedocumentsrequest.md - docs/models/operations/hrislistemployeedocumentsresponse.md + - docs/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md - docs/models/operations/hrislistemployeetimeoffrequestsrequest.md - docs/models/operations/hrislistemployeetimeoffrequestsresponse.md + - docs/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md - docs/models/operations/hrislistemployeeworkeligibilityrequest.md - docs/models/operations/hrislistemployeeworkeligibilityresponse.md + - docs/models/operations/hrislistemployeesqueryparamfilter.md - docs/models/operations/hrislistemployeesrequest.md - docs/models/operations/hrislistemployeesresponse.md + - docs/models/operations/hrislistemploymentsqueryparamfilter.md - docs/models/operations/hrislistemploymentsrequest.md - docs/models/operations/hrislistemploymentsresponse.md + - docs/models/operations/hrislistgroupsqueryparamfilter.md - docs/models/operations/hrislistgroupsrequest.md - docs/models/operations/hrislistgroupsresponse.md + - docs/models/operations/hrislistlocationsqueryparamfilter.md - docs/models/operations/hrislistlocationsrequest.md - docs/models/operations/hrislistlocationsresponse.md + - docs/models/operations/hrislisttimeoffrequestsqueryparamfilter.md - docs/models/operations/hrislisttimeoffrequestsrequest.md - docs/models/operations/hrislisttimeoffrequestsresponse.md - docs/models/operations/hrisupdateemployeerequest.md @@ -799,12 +859,16 @@ generatedFiles: - docs/models/operations/marketinggetomnichanneltemplateresponse.md - docs/models/operations/marketinggetpushtemplaterequest.md - docs/models/operations/marketinggetpushtemplateresponse.md + - docs/models/operations/marketinglistcampaignsqueryparamfilter.md - docs/models/operations/marketinglistcampaignsrequest.md - docs/models/operations/marketinglistcampaignsresponse.md + - docs/models/operations/marketinglistemailtemplatesqueryparamfilter.md - docs/models/operations/marketinglistemailtemplatesrequest.md - docs/models/operations/marketinglistemailtemplatesresponse.md + - docs/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md - docs/models/operations/marketinglistomnichanneltemplatesrequest.md - docs/models/operations/marketinglistomnichanneltemplatesresponse.md + - docs/models/operations/marketinglistpushtemplatesqueryparamfilter.md - docs/models/operations/marketinglistpushtemplatesrequest.md - docs/models/operations/marketinglistpushtemplatesresponse.md - docs/models/operations/marketingupdateemailtemplaterequest.md diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 700e035a..1ac310fc 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.291.0 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:c9927a9283ec35f24344e36dac8ad0c7f72d515166e703d94addebb44e35ff06 - sourceBlobDigest: sha256:c6c9282d82ec7b0a4f656e3a493889f03b05c2a1a21245b3eb65d2d6b928d333 + sourceRevisionDigest: sha256:ffabc956a4198b4966439ec59d15ccecb6a3dcf245dfff55aaa4d87fc93ea354 + sourceBlobDigest: sha256:9f0ab4ca3a40f1326ed63346131f3f1af10590d26896237f329233b4c16e7533 tags: - latest - main @@ -11,8 +11,8 @@ targets: StackOneRubyClient: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:c9927a9283ec35f24344e36dac8ad0c7f72d515166e703d94addebb44e35ff06 - sourceBlobDigest: sha256:c6c9282d82ec7b0a4f656e3a493889f03b05c2a1a21245b3eb65d2d6b928d333 + sourceRevisionDigest: sha256:ffabc956a4198b4966439ec59d15ccecb6a3dcf245dfff55aaa4d87fc93ea354 + sourceBlobDigest: sha256:9f0ab4ca3a40f1326ed63346131f3f1af10590d26896237f329233b4c16e7533 outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/README.md b/README.md index 51096a62..ec2dc721 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,9 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeesRequest.new( expand: "company,employments,work_location,home_location,custom_fields,groups", fields_: "id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListEmployeesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), include: "avatar_url,avatar,custom_fields,job_description,benefits", x_account_id: "", ) diff --git a/RELEASES.md b/RELEASES.md index c75f4245..1da3c3ae 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -288,4 +288,14 @@ Based on: ### Generated - [ruby v0.2.21] . ### Releases -- [Ruby Gems v0.2.21] https://rubygems.org/gems/stackone_client/versions/0.2.21 - . \ No newline at end of file +- [Ruby Gems v0.2.21] https://rubygems.org/gems/stackone_client/versions/0.2.21 - . + +## 2024-05-16 09:09:00 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.291.0 (2.332.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.22] . +### Releases +- [Ruby Gems v0.2.22] https://rubygems.org/gems/stackone_client/versions/0.2.22 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index e8162b45..8fb2cbcd 100644 --- a/USAGE.md +++ b/USAGE.md @@ -16,7 +16,9 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeesRequest.new( expand: "company,employments,work_location,home_location,custom_fields,groups", fields_: "id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListEmployeesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), include: "avatar_url,avatar,custom_fields,job_description,benefits", x_account_id: "", ) diff --git a/codeSamples.yaml b/codeSamples.yaml index 6e14f89b..f99409b4 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -3,597 +3,597 @@ info: title: CodeSamples overlay for ruby target version: 0.0.0 actions: - - target: $["paths"]["/unified/ats/candidates/{id}"]["patch"] + - target: $["paths"]["/unified/ats/applications/{id}/documents/upload"]["post"] update: x-codeSamples: - lang: ruby - label: ats_update_candidate - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_candidate(id=\"\", x_account_id=\"\", ats_update_candidate_request_dto=::StackOne::Shared::AtsUpdateCandidateRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n emails: [\n ::StackOne::Shared::CandidateEmail.new(\n type: \"personal\",\n value: \"sestier.romain123@gmail.com\",\n ),\n ],\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n phone_numbers: [\n ::StackOne::Shared::PhoneNumber.new(\n phone: \"+447700112233\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n application_ids: [\n \"\",\n ],\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/contacts/{id}"]["get"] + label: ats_upload_application_document + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.upload_application_document(id=\"\", x_account_id=\"\", unified_upload_request_dto=::StackOne::Shared::UnifiedUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::UnifiedUploadRequestDtoFileFormat.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::UnifiedUploadRequestDtoCategory.new(\n value: \"reports, resumes\",\n source_value: \"550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME\",\n ),\n confidential: ::StackOne::Shared::UnifiedUploadRequestDtoConfidential.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue::TRUE,\n source_value: \"public\",\n ),\n ))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/departments"]["get"] update: x-codeSamples: - lang: ruby - label: crm_get_contact - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmGetContactRequest.new(\n id: \"\",\n fields_: \"id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,account_ids,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.get_contact(req)\n\nif ! res.contact_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/campaigns"]["get"] + label: ats_list_departments + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListDepartmentsRequest.new(\n fields_: \"id,name\",\n filter: ::StackOne::Operations::AtsListDepartmentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_departments(req)\n\nif ! res.departments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["post"] update: x-codeSamples: - lang: ruby - label: marketing_list_campaigns - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListCampaignsRequest.new(\n fields_: \"id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_campaigns(req)\n\nif ! res.campaigns_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/connect_sessions"]["post"] + label: hris_create_employee_work_eligibility_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_employee_work_eligibility_request(id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n contents: [\n ::StackOne::Shared::Content.new(\n url: \"https://example.com/file.pdf\",\n unified_url: \"https://api.stackone.com/unified/hris/employees/12345/documents/67890/download\",\n file_format: ::StackOne::Shared::ContentFileFormat.new(\n value: ::StackOne::Shared::ContentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n ],\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n passthrough: {\n \"green\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/benefits/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_create_connect_session - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Shared::ConnectSessionCreate.new(\n categories: [\n ::StackOne::Shared::Categories::HRIS_LEGACY,\n ],\n origin_owner_id: \"\",\n origin_owner_name: \"\",\n)\n \nres = s.create_connect_session(req)\n\nif ! res.connect_session_token.nil?\n # handle response\nend" - - target: $["paths"]["/connectors/meta/{provider}"]["get"] + label: hris_get_benefit + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetBenefitRequest.new(\n id: \"\",\n fields_: \"id,name,benefit_type,provider,description,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_benefit(req)\n\nif ! res.hris_benefit_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/groups"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_get_connector_meta - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.get_connector_meta(provider=\"\", include=\"field_path,unmapped_fields,resources,inactive\")\n\nif ! res.connectors_meta.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents/upload"]["post"] + label: hris_list_groups + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListGroupsRequest.new(\n fields_: \"id,name,type,parent_ids,owner_ids\",\n filter: ::StackOne::Operations::HrisListGroupsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_groups(req)\n\nif ! res.hris_groups_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/locations"]["get"] update: x-codeSamples: - lang: ruby - label: hris_upload_employee_document - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.upload_employee_document(id=\"\", x_account_id=\"\", hris_documents_upload_request_dto=::StackOne::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::FileFormat.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::UNMAPPED_VALUE,\n source_value: \"550e8400-e29b-41d4-a716-446655440000\",\n ),\n confidential: ::StackOne::Shared::Confidential.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasConfidentialValue::TRUE,\n source_value: \"public\",\n ),\n ))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/groups/{id}"]["get"] + label: ats_list_locations + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListLocationsRequest.new(\n fields_: \"id,name\",\n filter: ::StackOne::Operations::AtsListLocationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_locations(req)\n\nif ! res.ats_locations_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/offers"]["post"] update: x-codeSamples: - lang: ruby - label: hris_get_group - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetGroupRequest.new(\n id: \"\",\n fields_: \"id,name,type,parent_ids,owner_ids\",\n x_account_id: \"\",\n)\n \nres = s.get_group(req)\n\nif ! res.hris_groups_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/accounts/{id}"]["get"] + label: ats_create_offer + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_offer(x_account_id=\"\", ats_create_offer_request_dto=::StackOne::Shared::AtsCreateOfferRequestDto.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n offer_status: ::StackOne::Shared::AtsCreateOfferRequestDtoOfferStatus.new(\n value: ::StackOne::Shared::AtsCreateOfferRequestDtoValue::PENDING,\n source_value: \"Pending\",\n ),\n offer_history: [\n ::StackOne::Shared::OfferHistory.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n passthrough: {\n \"quas\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/accounts"]["get"] update: x-codeSamples: - lang: ruby - label: crm_get_account - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmGetAccountRequest.new(\n id: \"\",\n fields_: \"id,owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_account(req)\n\nif ! res.account_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/companies"]["get"] + label: crm_list_accounts + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmListAccountsRequest.new(\n fields_: \"id,owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter: ::StackOne::Operations::CrmListAccountsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_accounts(req)\n\nif ! res.accounts_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: hris_list_companies - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListCompaniesRequest.new(\n fields_: \"id,name,full_name,display_name,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_companies(req)\n\nif ! res.companies_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["get"] + label: hris_update_employee + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_employee(id=\"\", x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_title: \"Physicist\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n employee_id: \"1687-3\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n description: \"The completion status of the employee's training.\",\n type: ::StackOne::Shared::Type.new(),\n value: \"Completed\",\n value_id: \"value_456\",\n options: [\n \"\",\n ],\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n passthrough: {\n \"solid\": \"\",\n },\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n passthrough: {\n \"Northeast\": \"\",\n },\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n passthrough: {\n \"International\": \"\",\n },\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: hris_get_employees_work_eligibility - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeesWorkEligibilityRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n x_account_id: \"\",\n)\n \nres = s.get_employees_work_eligibility(req)\n\nif ! res.work_eligibility_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employments"]["get"] + label: ats_update_application + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_application(id=\"\", x_account_id=\"\", ats_update_application_request_dto=::StackOne::Shared::AtsUpdateApplicationRequestDto.new(\n interview_stage_id: \"18bcbb1b-3cbc-4198-a999-460861d19480\",\n application_status: ::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsUpdateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n source: \"LinkedIn\",\n passthrough: {\n \"Licensed\": \"\",\n },\n ))\n\nif ! res.update_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employments - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmploymentsRequest.new(\n fields_: \"id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.list_employments(req)\n\nif ! res.employments_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/job_postings/{id}"]["get"] + label: ats_list_candidates + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListCandidatesRequest.new(\n fields_: \"id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,hired_at,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListCandidatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_candidates(req)\n\nif ! res.candidates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/scorecards/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_job_posting - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetJobPostingRequest.new(\n id: \"\",\n fields_: \"id,title,locations,internal,status,job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.get_job_posting(req)\n\nif ! res.job_posting_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/lists/{id}"]["get"] + label: ats_get_application_scorecard + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationScorecardRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,sections,label,candidate_id,application_id,interview_id,author_id,overall_recommendation,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_application_scorecard(req)\n\nif ! res.scorecards_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: crm_get_list - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmGetListRequest.new(\n id: \"\",\n fields_: \"id,name,created_at,updated_at,items,type\",\n x_account_id: \"\",\n)\n \nres = s.get_list(req)\n\nif ! res.list_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/companies/{id}"]["get"] + label: ats_update_candidate + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_candidate(id=\"\", x_account_id=\"\", ats_update_candidate_request_dto=::StackOne::Shared::AtsUpdateCandidateRequestDto.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n emails: [\n ::StackOne::Shared::CandidateEmail.new(\n type: \"personal\",\n value: \"sestier.romain123@gmail.com\",\n ),\n ],\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n phone_numbers: [\n ::StackOne::Shared::PhoneNumber.new(\n phone: \"+447700112233\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n application_ids: [\n \"\",\n ],\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n passthrough: {\n \"Extended\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}/notes/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_company - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetCompanyRequest.new(\n id: \"\",\n fields_: \"id,name,full_name,display_name,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_company(req)\n\nif ! res.company_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off/{id}"]["get"] + label: ats_get_candidate_note + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetCandidateNoteRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,content,author_id,visibility,created_at,updated_at,deleted_at\",\n x_account_id: \"\",\n)\n \nres = s.get_candidate_note(req)\n\nif ! res.note_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/interview_stages/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_time_off_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetTimeOffRequestRequest.new(\n id: \"\",\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/interviews/{id}"]["get"] + label: ats_get_interview_stage + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetInterviewStageRequest.new(\n id: \"\",\n fields_: \"id,name,order,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_interview_stage(req)\n\nif ! res.interview_stage_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push"]["post"] update: x-codeSamples: - lang: ruby - label: ats_get_interview - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetInterviewRequest.new(\n id: \"\",\n fields_: \"id,application_id,interview_stage_id,interview_stage,status,interview_status,interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_interview(req)\n\nif ! res.interviews_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/offers/{id}"]["get"] + label: marketing_create_push_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_push_template(x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"turban\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_offer - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetOfferRequest.new(\n id: \"\",\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.get_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/offers"]["post"] + label: stackone_get_account + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.get_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}"]["delete"] update: x-codeSamples: - lang: ruby - label: ats_create_offer - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_offer(x_account_id=\"\", ats_create_offer_request_dto=::StackOne::Shared::AtsCreateOfferRequestDto.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n offer_status: ::StackOne::Shared::AtsCreateOfferRequestDtoOfferStatus.new(\n value: ::StackOne::Shared::AtsCreateOfferRequestDtoValue::PENDING,\n source_value: \"Pending\",\n ),\n offer_history: [\n ::StackOne::Shared::OfferHistory.new(\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["get"] + label: stackone_delete_account + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.delete_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/time_off/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_omni_channel_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetOmniChannelTemplateRequest.new(\n id: \"\",\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.get_omni_channel_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}"]["patch"] + label: hris_get_time_off_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetTimeOffRequestRequest.new(\n id: \"\",\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: stackone_update_account - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_account(id=\"\", patch_account_dto=::StackOne::Shared::PatchAccountDto.new())\n\nif ! res.linked_account.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}/download"]["get"] + label: marketing_update_push_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_push_template(id=\"\", x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"tightly\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents"]["get"] update: x-codeSamples: - lang: ruby - label: hris_download_employee_document - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.download_employee_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}"]["get"] + label: hris_list_employee_documents + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeeDocumentsRequest.new(\n id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListEmployeeDocumentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_employee_documents(req)\n\nif ! res.hris_documents_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/groups/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationRequest.new(\n id: \"\",\n fields_: \"id,candidate_id,job_id,interview_stage,interview_stage_id,rejected_reason,rejected_reason_id,rejected_reason_ids,rejected_reasons,rejected_at,location_id,location_ids,status,application_status,questionnaires,attachments,result_links,created_at,updated_at,documents,candidate\",\n expand: \"documents\",\n x_account_id: \"\",\n)\n \nres = s.get_application(req)\n\nif ! res.application_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/interview_stages"]["get"] + label: hris_get_group + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetGroupRequest.new(\n id: \"\",\n fields_: \"id,name,type,parent_ids,owner_ids\",\n x_account_id: \"\",\n)\n \nres = s.get_group(req)\n\nif ! res.hris_groups_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_interview_stages - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListInterviewStagesRequest.new(\n fields_: \"id,name,order,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_interview_stages(req)\n\nif ! res.interview_stages_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/benefits/{id}"]["get"] + label: marketing_list_push_templates + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListPushTemplatesRequest.new(\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListPushTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_push_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_benefit - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetBenefitRequest.new(\n id: \"\",\n fields_: \"id,name,benefit_type,provider,description,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_benefit(req)\n\nif ! res.hris_benefit_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/locations/{id}"]["get"] + label: ats_get_application + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationRequest.new(\n id: \"\",\n fields_: \"id,candidate_id,job_id,interview_stage,interview_stage_id,rejected_reason,rejected_reason_id,rejected_reason_ids,rejected_reasons,rejected_at,location_id,location_ids,status,application_status,questionnaires,attachments,result_links,created_at,updated_at,documents,candidate\",\n expand: \"documents\",\n x_account_id: \"\",\n)\n \nres = s.get_application(req)\n\nif ! res.application_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_location - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetLocationRequest.new(\n id: \"\",\n fields_: \"id,name\",\n x_account_id: \"\",\n)\n \nres = s.get_location(req)\n\nif ! res.ats_location_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/offers"]["get"] + label: ats_get_application_document + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_application_document(req)\n\nif ! res.ats_document_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/departments/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_offers - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListOffersRequest.new(\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/contacts/{id}"]["patch"] + label: ats_get_department + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetDepartmentRequest.new(\n id: \"\",\n fields_: \"id,name\",\n x_account_id: \"\",\n)\n \nres = s.get_department(req)\n\nif ! res.department_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/rejected_reasons"]["get"] update: x-codeSamples: - lang: ruby - label: crm_update_contact - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_contact(id=\"\", x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"\",\n ],\n phone_numbers: [\n \"\",\n ],\n deal_ids: [\n \"\",\n ],\n account_ids: [\n \"\",\n ],\n ))\n\nif ! res.contact_result.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}"]["get"] + label: ats_list_rejected_reasons + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListRejectedReasonsRequest.new(\n fields_: \"id,label,type,rejected_reason_type\",\n filter: ::StackOne::Operations::AtsListRejectedReasonsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_rejected_reasons(req)\n\nif ! res.rejected_reasons_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/users"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_get_account - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.get_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" - - target: $["paths"]["/unified/proxy"]["post"] + label: ats_list_users + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListUsersRequest.new(\n fields_: \"id,first_name,last_name,name,email\",\n filter: ::StackOne::Operations::AtsListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}/download"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_proxy_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.proxy_request(x_account_id=\"\", proxy_request_body=::StackOne::Shared::ProxyRequestBody.new(\n url: \"https://api.sample-integration.com/v1\",\n path: \"/employees/directory\",\n headers: {\n \"Car\": \"\",\n },\n ))\n\nif res.status_code == 200\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}"]["patch"] + label: hris_download_employee_document + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.download_employee_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employments"]["get"] update: x-codeSamples: - lang: ruby - label: hris_update_employee - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_employee(id=\"\", x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_title: \"Physicist\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n employee_id: \"1687-3\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n description: \"The completion status of the employee's training.\",\n type: ::StackOne::Shared::Type.new(),\n value: \"Completed\",\n value_id: \"value_456\",\n options: [\n \"\",\n ],\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["get"] + label: hris_list_employments + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmploymentsRequest.new(\n fields_: \"id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListEmploymentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.list_employments(req)\n\nif ! res.employments_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications"]["post"] update: x-codeSamples: - lang: ruby - label: hris_list_employee_work_eligibility - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeeWorkEligibilityRequest.new(\n id: \"\",\n fields_: \"id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_employee_work_eligibility(req)\n\nif ! res.work_eligibility_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push"]["get"] + label: ats_create_application + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_application(x_account_id=\"\", ats_create_application_request_dto=::StackOne::Shared::AtsCreateApplicationRequestDto.new(\n job_id: \"4071538b-3cac-4fbf-ac76-f78ed250ffdd\",\n location_id: \"dd8d41d1-5eb8-4408-9c87-9ba44604eae4\",\n application_status: ::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsCreateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n questionnaires: [\n ::StackOne::Shared::Questionnaire.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n answers: [\n ::StackOne::Shared::Answer.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n type: ::StackOne::Shared::AnswerType.new(\n value: ::StackOne::Shared::AnswerValue::SHORT_TEXT,\n source_value: \"Short Text\",\n ),\n values: [\n \"\",\n ],\n ),\n ],\n ),\n ],\n source: \"LinkedIn\",\n candidate_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n candidate: ::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n passthrough: {\n \"synthesize\": \"\",\n },\n phone_number: \"+1234567890\",\n ),\n passthrough: {\n \"Global\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/campaigns"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_list_push_templates - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListPushTemplatesRequest.new(\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_push_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push/{id}"]["get"] + label: marketing_list_campaigns + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListCampaignsRequest.new(\n fields_: \"id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter: ::StackOne::Operations::MarketingListCampaignsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_campaigns(req)\n\nif ! res.campaigns_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/job_postings/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_push_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetPushTemplateRequest.new(\n id: \"\",\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.get_push_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/time_off/{subResourceId}"]["get"] + label: ats_get_job_posting + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetJobPostingRequest.new(\n id: \"\",\n fields_: \"id,title,locations,internal,status,job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.get_job_posting(req)\n\nif ! res.job_posting_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/offers"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employees_time_off_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeesTimeOffRequestRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_employees_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" + label: ats_list_offers + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListOffersRequest.new(\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: ::StackOne::Operations::AtsListOffersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/lists/{id}"]["get"] + update: + x-codeSamples: + - lang: ruby + label: crm_get_list + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmGetListRequest.new(\n id: \"\",\n fields_: \"id,name,created_at,updated_at,items,type\",\n x_account_id: \"\",\n)\n \nres = s.get_list(req)\n\nif ! res.list_result.nil?\n # handle response\nend" - target: $["paths"]["/unified/hris/benefits"]["get"] update: x-codeSamples: - lang: ruby label: hris_list_benefits - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListBenefitsRequest.new(\n fields_: \"id,name,benefit_type,provider,description,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_benefits(req)\n\nif ! res.hris_benefits_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}"]["get"] + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListBenefitsRequest.new(\n fields_: \"id,name,benefit_type,provider,description,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListBenefitsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_benefits(req)\n\nif ! res.hris_benefits_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates"]["post"] update: x-codeSamples: - lang: ruby - label: ats_get_candidate - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetCandidateRequest.new(\n id: \"\",\n fields_: \"id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,hired_at,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_candidate(req)\n\nif ! res.candidate_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["get"] + label: ats_create_candidate + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_candidate(x_account_id=\"\", ats_create_candidate_request_dto=::StackOne::Shared::AtsCreateCandidateRequestDto.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n passthrough: {\n \"discrete\": \"\",\n },\n phone_number: \"+1234567890\",\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_candidate_notes - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListCandidateNotesRequest.new(\n id: \"\",\n fields_: \"id,content,author_id,visibility,created_at,updated_at,deleted_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_candidate_notes(req)\n\nif ! res.notes_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/contacts"]["get"] + label: marketing_get_omni_channel_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetOmniChannelTemplateRequest.new(\n id: \"\",\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.get_omni_channel_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/proxy"]["post"] update: x-codeSamples: - lang: ruby - label: crm_list_contacts - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmListContactsRequest.new(\n fields_: \"id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,account_ids,custom_fields,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.list_contacts(req)\n\nif ! res.contacts_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/lists"]["get"] + label: stackone_proxy_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.proxy_request(x_account_id=\"\", proxy_request_body=::StackOne::Shared::ProxyRequestBody.new(\n url: \"https://api.sample-integration.com/v1\",\n path: \"/employees/directory\",\n headers: {\n \"Car\": \"\",\n },\n ))\n\nif res.status_code == 200\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees"]["post"] update: x-codeSamples: - lang: ruby - label: crm_list_lists - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmListListsRequest.new(\n fields_: \"id,name,created_at,updated_at,items,type\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_lists(req)\n\nif ! res.lists_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}"]["delete"] + label: hris_create_employee + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_employee(x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_title: \"Physicist\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n employee_id: \"1687-3\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n description: \"The completion status of the employee's training.\",\n type: ::StackOne::Shared::Type.new(),\n value: \"Completed\",\n value_id: \"value_456\",\n options: [\n \"\",\n ],\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n passthrough: {\n \"Cheese\": \"\",\n },\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n passthrough: {\n \"Bugatti\": \"\",\n },\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n passthrough: {\n \"underneath\": \"\",\n },\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"] update: x-codeSamples: - lang: ruby - label: stackone_delete_account - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.delete_account(id=\"\")\n\nif ! res.linked_account.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["get"] + label: hris_create_employee_time_off_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_employee_time_off_request(id=\"\", x_account_id=\"\", hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n passthrough: {\n \"Passenger\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/campaigns/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employee_time_off_requests - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeeTimeOffRequestsRequest.new(\n id: \"\",\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_employee_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/offers/{subResourceId}"]["get"] + label: marketing_get_campaign + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetCampaignRequest.new(\n id: \"\",\n fields_: \"id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n x_account_id: \"\",\n)\n \nres = s.get_campaign(req)\n\nif ! res.campaign_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/rejected_reasons/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_offer - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationOfferRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.get_application_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents/upload"]["post"] + label: ats_get_rejected_reason + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetRejectedReasonRequest.new(\n id: \"\",\n fields_: \"id,label,type,rejected_reason_type\",\n x_account_id: \"\",\n)\n \nres = s.get_rejected_reason(req)\n\nif ! res.rejected_reason_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/job_postings"]["get"] update: x-codeSamples: - lang: ruby - label: ats_upload_application_document - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.upload_application_document(id=\"\", x_account_id=\"\", unified_upload_request_dto=::StackOne::Shared::UnifiedUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::UnifiedUploadRequestDtoFileFormat.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::UnifiedUploadRequestDtoCategory.new(\n value: \"reports, resumes\",\n source_value: \"550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME\",\n ),\n confidential: ::StackOne::Shared::UnifiedUploadRequestDtoConfidential.new(\n value: ::StackOne::Shared::UnifiedUploadRequestDtoSchemasValue::TRUE,\n source_value: \"public\",\n ),\n ))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/scorecards"]["get"] + label: ats_list_job_postings + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListJobPostingsRequest.new(\n fields_: \"id,title,locations,internal,status,job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n filter: ::StackOne::Operations::AtsListJobPostingsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.list_job_postings(req)\n\nif ! res.job_postings_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/offers/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_application_scorecards - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationScorecardsRequest.new(\n id: \"\",\n fields_: \"id,sections,label,candidate_id,application_id,interview_id,author_id,overall_recommendation,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_application_scorecards(req)\n\nif ! res.scorecards_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/email/{id}"]["get"] + label: ats_get_offer + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetOfferRequest.new(\n id: \"\",\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.get_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_email_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetEmailTemplateRequest.new(\n id: \"\",\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.get_email_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/email/{id}"]["patch"] + label: hris_list_employees + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeesRequest.new(\n fields_: \"id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number\",\n filter: ::StackOne::Operations::QueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.list_employees(req)\n\nif ! res.employees_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_update_email_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_email_template(id=\"\", x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/campaigns/{id}"]["get"] + label: hris_list_employee_work_eligibility + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeeWorkEligibilityRequest.new(\n id: \"\",\n fields_: \"id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n filter: ::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_employee_work_eligibility(req)\n\nif ! res.work_eligibility_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_get_campaign - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetCampaignRequest.new(\n id: \"\",\n fields_: \"id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n x_account_id: \"\",\n)\n \nres = s.get_campaign(req)\n\nif ! res.campaign_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}"]["get"] + label: ats_list_applications + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationsRequest.new(\n fields_: \"id,candidate_id,job_id,interview_stage,interview_stage_id,rejected_reason,rejected_reason_id,rejected_reason_ids,rejected_reasons,rejected_at,location_id,location_ids,status,application_status,questionnaires,attachments,result_links,created_at,updated_at,documents,candidate\",\n filter: ::StackOne::Operations::AtsListApplicationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"documents\",\n x_account_id: \"\",\n)\n \nres = s.list_applications(req)\n\nif ! res.applications_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["post"] update: x-codeSamples: - lang: ruby - label: hris_get_employee - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeeRequest.new(\n id: \"\",\n fields_: \"id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number\",\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.get_employee(req)\n\nif ! res.employee_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off"]["get"] + label: ats_create_candidate_note + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_candidate_note(id=\"\", x_account_id=\"\", ats_create_notes_request_dto=::StackOne::Shared::AtsCreateNotesRequestDto.new(\n content: [\n ::StackOne::Shared::NoteContentApiModel.new(\n body: \"This candidate seems like a good fit for the role\",\n ),\n ],\n author_id: \"1234567890\",\n visibility: ::StackOne::Shared::AtsCreateNotesRequestDtoVisibility.new(\n value: ::StackOne::Shared::AtsCreateNotesRequestDtoValue::PUBLIC,\n source_value: \"Public\",\n ),\n passthrough: {\n \"Freeway\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/connect_sessions"]["post"] update: x-codeSamples: - lang: ruby - label: hris_list_time_off_requests - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListTimeOffRequestsRequest.new(\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}/notes/{subResourceId}"]["get"] + label: stackone_create_connect_session + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Shared::ConnectSessionCreate.new(\n categories: [\n ::StackOne::Shared::Categories::HRIS_LEGACY,\n ],\n origin_owner_id: \"\",\n origin_owner_name: \"\",\n)\n \nres = s.create_connect_session(req)\n\nif ! res.connect_session_token.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}/meta"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_candidate_note - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetCandidateNoteRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,content,author_id,visibility,created_at,updated_at,deleted_at\",\n x_account_id: \"\",\n)\n \nres = s.get_candidate_note(req)\n\nif ! res.note_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/accounts"]["get"] + label: stackone_get_account_meta_info + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.get_account_meta_info(id=\"\")\n\nif ! res.linked_account_meta.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents/upload"]["post"] update: x-codeSamples: - lang: ruby - label: crm_list_accounts - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmListAccountsRequest.new(\n fields_: \"id,owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_accounts(req)\n\nif ! res.accounts_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/interview_stages/{id}"]["get"] + label: hris_upload_employee_document + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.upload_employee_document(id=\"\", x_account_id=\"\", hris_documents_upload_request_dto=::StackOne::Shared::HrisDocumentsUploadRequestDto.new(\n name: \"weather-forecast\",\n file_format: ::StackOne::Shared::FileFormat.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoValue::PDF,\n source_value: \"abc\",\n ),\n content: \"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue::UNMAPPED_VALUE,\n source_value: \"550e8400-e29b-41d4-a716-446655440000\",\n ),\n confidential: ::StackOne::Shared::Confidential.new(\n value: ::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasConfidentialValue::TRUE,\n source_value: \"public\",\n ),\n ))\n\nif ! res.write_result_api_model.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/time_off/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_get_interview_stage - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetInterviewStageRequest.new(\n id: \"\",\n fields_: \"id,name,order,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_interview_stage(req)\n\nif ! res.interview_stage_result.nil?\n # handle response\nend" - - target: $["paths"]["/accounts"]["get"] + label: hris_update_time_off_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_time_off_request(id=\"\", x_account_id=\"\", hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n passthrough: {\n \"Sports\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/offers"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_list_linked_accounts - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::StackoneListLinkedAccountsRequest.new()\n \nres = s.list_linked_accounts(req)\n\nif ! res.linked_accounts.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/locations/{id}"]["get"] + label: ats_list_applications_offers + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationsOffersRequest.new(\n id: \"\",\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: ::StackOne::Operations::AtsListApplicationsOffersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_applications_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/scorecards"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_location - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetLocationRequest.new(\n id: \"\",\n fields_: \"id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_location(req)\n\nif ! res.hris_location_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off/{id}"]["patch"] + label: ats_list_application_scorecards + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationScorecardsRequest.new(\n id: \"\",\n fields_: \"id,sections,label,candidate_id,application_id,interview_id,author_id,overall_recommendation,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListApplicationScorecardsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_application_scorecards(req)\n\nif ! res.scorecards_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/jobs"]["get"] update: x-codeSamples: - lang: ruby - label: hris_update_time_off_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_time_off_request(id=\"\", x_account_id=\"\", hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications"]["post"] + label: ats_list_jobs + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListJobsRequest.new(\n fields_: \"id,code,title,status,job_status,department_ids,location_ids,hiring_team,interview_stages,confidential,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListJobsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n expand: \"job_postings,interview_stages\",\n x_account_id: \"\",\n)\n \nres = s.list_jobs(req)\n\nif ! res.jobs_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/jobs/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_create_application - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_application(x_account_id=\"\", ats_create_application_request_dto=::StackOne::Shared::AtsCreateApplicationRequestDto.new(\n job_id: \"4071538b-3cac-4fbf-ac76-f78ed250ffdd\",\n candidate_id: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n location_id: \"dd8d41d1-5eb8-4408-9c87-9ba44604eae4\",\n application_status: ::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsCreateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n questionnaires: [\n ::StackOne::Shared::Questionnaire.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n answers: [\n ::StackOne::Shared::Answer.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n type: ::StackOne::Shared::AnswerType.new(\n value: ::StackOne::Shared::AnswerValue::SHORT_TEXT,\n source_value: \"Short Text\",\n ),\n values: [\n \"\",\n ],\n ),\n ],\n ),\n ],\n candidate: ::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n phone_number: \"+1234567890\",\n ),\n source: \"LinkedIn\",\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["patch"] + label: ats_get_job + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetJobRequest.new(\n id: \"\",\n fields_: \"id,code,title,status,job_status,department_ids,location_ids,hiring_team,interview_stages,confidential,created_at,updated_at\",\n expand: \"job_postings,interview_stages\",\n x_account_id: \"\",\n)\n \nres = s.get_job(req)\n\nif ! res.job_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_update_omni_channel_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_omni_channel_template(id=\"\", x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push/{id}"]["patch"] + label: hris_list_employee_time_off_requests + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeeTimeOffRequestsRequest.new(\n id: \"\",\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_employee_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["patch"] update: x-codeSamples: - lang: ruby - label: marketing_update_push_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_push_template(id=\"\", x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications"]["get"] + label: hris_update_employee_work_eligibility_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_employee_work_eligibility_request(id=\"\", sub_resource_id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n contents: [\n ::StackOne::Shared::Content.new(\n url: \"https://example.com/file.pdf\",\n unified_url: \"https://api.stackone.com/unified/hris/employees/12345/documents/67890/download\",\n file_format: ::StackOne::Shared::ContentFileFormat.new(\n value: ::StackOne::Shared::ContentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n ],\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n passthrough: {\n \"evolve\": \"\",\n },\n ))\n\nif res.status_code == 200\n # handle response\nend" + - target: $["paths"]["/unified/hris/employments/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_applications - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationsRequest.new(\n fields_: \"id,candidate_id,job_id,interview_stage,interview_stage_id,rejected_reason,rejected_reason_id,rejected_reason_ids,rejected_reasons,rejected_at,location_id,location_ids,status,application_status,questionnaires,attachments,result_links,created_at,updated_at,documents,candidate\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n expand: \"documents\",\n x_account_id: \"\",\n)\n \nres = s.list_applications(req)\n\nif ! res.applications_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}"]["patch"] + label: hris_get_employment + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmploymentRequest.new(\n id: \"\",\n fields_: \"id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.get_employment(req)\n\nif ! res.employment_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/email/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_update_application - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_application(id=\"\", x_account_id=\"\", ats_update_application_request_dto=::StackOne::Shared::AtsUpdateApplicationRequestDto.new(\n rejected_reason_id: \"f223d7f6-908b-48f0-9237-b201c307f609\",\n interview_stage_id: \"18bcbb1b-3cbc-4198-a999-460861d19480\",\n application_status: ::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus.new(\n value: ::StackOne::Shared::AtsUpdateApplicationRequestDtoValue::HIRED,\n source_value: \"Hired\",\n ),\n source: \"LinkedIn\",\n ))\n\nif ! res.update_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/crm/contacts"]["post"] + label: marketing_get_email_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetEmailTemplateRequest.new(\n id: \"\",\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.get_email_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/connect_sessions/authenticate"]["post"] update: x-codeSamples: - lang: ruby - label: crm_create_contact - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_contact(x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"\",\n ],\n phone_numbers: [\n \"\",\n ],\n deal_ids: [\n \"\",\n ],\n account_ids: [\n \"\",\n ],\n ))\n\nif ! res.contact_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel"]["post"] + label: stackone_authenticate_connect_session + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Shared::ConnectSessionAuthenticate.new(\n token: \"\",\n)\n \nres = s.authenticate_connect_session(req)\n\nif ! res.connect_session.nil?\n # handle response\nend" + - target: $["paths"]["/accounts"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_omni_channel_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_omni_channel_template(x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/rejected_reasons/{id}"]["get"] + label: stackone_list_linked_accounts + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::StackoneListLinkedAccountsRequest.new()\n \nres = s.list_linked_accounts(req)\n\nif ! res.linked_accounts.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/email/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_get_rejected_reason - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetRejectedReasonRequest.new(\n id: \"\",\n fields_: \"id,label,type,rejected_reason_type\",\n x_account_id: \"\",\n)\n \nres = s.get_rejected_reason(req)\n\nif ! res.rejected_reason_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/job_postings"]["get"] + label: marketing_update_email_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_email_template(id=\"\", x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"strategize\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/omni_channel/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_list_job_postings - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListJobPostingsRequest.new(\n fields_: \"id,title,locations,internal,status,job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n include: \"questionnaires\",\n x_account_id: \"\",\n)\n \nres = s.list_job_postings(req)\n\nif ! res.job_postings_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/omni_channel"]["get"] + label: marketing_update_omni_channel_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_omni_channel_template(id=\"\", x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Edina\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/connectors/meta"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_list_omni_channel_templates - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListOmniChannelTemplatesRequest.new(\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_omni_channel_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/offers"]["get"] + label: stackone_list_connectors_meta + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.list_connectors_meta(include=\"field_path,unmapped_fields,resources,inactive\")\n\nif ! res.connectors_metas.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_applications_offers - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationsOffersRequest.new(\n id: \"\",\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_applications_offers(req)\n\nif ! res.offers_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}/download"]["get"] + label: ats_list_candidate_notes + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListCandidateNotesRequest.new(\n id: \"\",\n fields_: \"id,content,author_id,visibility,created_at,updated_at,deleted_at\",\n filter: ::StackOne::Operations::AtsListCandidateNotesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_candidate_notes(req)\n\nif ! res.notes_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/interviews/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_download_application_document - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.download_application_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}"]["get"] + label: ats_get_interview + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetInterviewRequest.new(\n id: \"\",\n fields_: \"id,application_id,interview_stage_id,interview_stage,status,interview_status,interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_interview(req)\n\nif ! res.interviews_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_document - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_application_document(req)\n\nif ! res.ats_document_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/interviews"]["get"] + label: hris_get_employee_document + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeeDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_employee_document(req)\n\nif ! res.hris_document_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/time_off"]["post"] update: x-codeSamples: - lang: ruby - label: ats_list_interviews - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListInterviewsRequest.new(\n fields_: \"id,application_id,interview_stage_id,interview_stage,status,interview_status,interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_interviews(req)\n\nif ! res.interviews_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}"]["get"] + label: hris_create_time_off_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_time_off_request(x_account_id=\"\", hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n passthrough: {\n \"Bicycle\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}/download"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employee_document - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeeDocumentRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_employee_document(req)\n\nif ! res.hris_document_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["post"] + label: ats_download_application_document + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.download_application_document(id=\"\", sub_resource_id=\"\", x_account_id=\"\", format=\"base64\")\n\nif ! res.bytes.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/documents"]["get"] update: x-codeSamples: - lang: ruby - label: hris_create_employee_work_eligibility_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_employee_work_eligibility_request(id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n contents: [\n ::StackOne::Shared::Content.new(\n url: \"https://example.com/file.pdf\",\n unified_url: \"https://api.stackone.com/unified/hris/employees/12345/documents/67890/download\",\n file_format: ::StackOne::Shared::ContentFileFormat.new(\n value: ::StackOne::Shared::ContentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n ],\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/groups"]["get"] + label: ats_list_application_documents + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationDocumentsRequest.new(\n id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListApplicationDocumentsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_application_documents(req)\n\nif ! res.ats_documents_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/candidates/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_groups - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListGroupsRequest.new(\n fields_: \"id,name,type,parent_ids,owner_ids\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_groups(req)\n\nif ! res.hris_groups_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/jobs"]["get"] + label: ats_get_candidate + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetCandidateRequest.new(\n id: \"\",\n fields_: \"id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,hired_at,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_candidate(req)\n\nif ! res.candidate_result.nil?\n # handle response\nend" + - target: $["paths"]["/accounts/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: ats_list_jobs - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListJobsRequest.new(\n fields_: \"id,code,title,status,job_status,department_ids,location_ids,hiring_team,interview_stages,confidential,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n expand: \"job_postings,interview_stages\",\n x_account_id: \"\",\n)\n \nres = s.list_jobs(req)\n\nif ! res.jobs_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees"]["get"] + label: stackone_update_account + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_account(id=\"\", patch_account_dto=::StackOne::Shared::PatchAccountDto.new())\n\nif ! res.linked_account.nil?\n # handle response\nend" + - target: $["paths"]["/connectors/meta/{provider}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employees - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeesRequest.new(\n fields_: \"id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.list_employees(req)\n\nif ! res.employees_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/connect_sessions/authenticate"]["post"] + label: stackone_get_connector_meta + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.get_connector_meta(provider=\"\", include=\"field_path,unmapped_fields,resources,inactive\")\n\nif ! res.connectors_meta.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_authenticate_connect_session - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Shared::ConnectSessionAuthenticate.new(\n token: \"\",\n)\n \nres = s.authenticate_connect_session(req)\n\nif ! res.connect_session.nil?\n # handle response\nend" - - target: $["paths"]["/accounts/{id}/meta"]["get"] + label: hris_get_employee + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeeRequest.new(\n id: \"\",\n fields_: \"id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number\",\n expand: \"company,employments,work_location,home_location,custom_fields,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n x_account_id: \"\",\n)\n \nres = s.get_employee(req)\n\nif ! res.employee_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/contacts/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_get_account_meta_info - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.get_account_meta_info(id=\"\")\n\nif ! res.linked_account_meta.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees"]["post"] + label: crm_get_contact + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmGetContactRequest.new(\n id: \"\",\n fields_: \"id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,account_ids,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.get_contact(req)\n\nif ! res.contact_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/contacts/{id}"]["patch"] update: x-codeSamples: - lang: ruby - label: hris_create_employee - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_employee(x_account_id=\"\", hris_create_employee_request_dto=::StackOne::Shared::HrisCreateEmployeeRequestDto.new(\n first_name: \"Issac\",\n last_name: \"Newton\",\n name: \"Issac Newton\",\n display_name: \"Sir Issac Newton\",\n avatar_url: \"https://example.com/avatar.png\",\n personal_email: \"isaac.newton@example.com\",\n personal_phone_number: \"+1234567890\",\n work_email: \"newton@example.com\",\n work_phone_number: \"+1234567890\",\n job_title: \"Physicist\",\n department: \"Physics\",\n manager_id: \"67890\",\n gender: ::StackOne::Shared::HrisCreateEmployeeRequestDtoGender.new(),\n preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasValue::ENG,\n ),\n ethnicity: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity.new(),\n date_of_birth: DateTime.iso8601('1990-01-01T00:00.000Z'),\n birthday: DateTime.iso8601('2021-01-01T00:00:00Z'),\n marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(),\n avatar: ::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar.new(),\n hire_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n start_date: DateTime.iso8601('2021-01-01T00:00.000Z'),\n tenure: 2.0,\n work_anniversary: DateTime.iso8601('2021-01-01T00:00:00Z'),\n employment_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType.new(),\n employment_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus.new(),\n termination_date: DateTime.iso8601('2021-01-01T00:00:00Z'),\n company_name: \"Example Corp\",\n citizenships: [\n ::StackOne::Shared::CountryCodeEnum.new(\n value: ::StackOne::Shared::Value::US,\n ),\n ],\n employments: [\n ::StackOne::Shared::Employment.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n employee_id: \"1687-3\",\n job_title: \"Software Engineer\",\n pay_rate: \"40.00\",\n pay_period: ::StackOne::Shared::PayPeriod.new(\n value: ::StackOne::Shared::EmploymentValue::HOUR,\n source_value: \"Hour\",\n ),\n pay_frequency: ::StackOne::Shared::PayFrequency.new(\n value: ::StackOne::Shared::EmploymentSchemasValue::HOURLY,\n source_value: \"Hourly\",\n ),\n pay_currency: \"USD\",\n effective_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n employment_type: ::StackOne::Shared::EmploymentEmploymentType.new(\n value: ::StackOne::Shared::EmploymentSchemasEmploymentTypeValue::PERMANENT,\n source_value: \"Permanent\",\n ),\n employment_contract_type: ::StackOne::Shared::EmploymentEmploymentContractType.new(),\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ),\n ],\n custom_fields: [\n ::StackOne::Shared::EmployeeCustomFields.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n description: \"The completion status of the employee's training.\",\n type: ::StackOne::Shared::Type.new(),\n value: \"Completed\",\n value_id: \"value_456\",\n options: [\n \"\",\n ],\n ),\n ],\n benefits: [\n ::StackOne::Shared::HRISBenefit.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n created_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n updated_at: DateTime.iso8601('2021-01-01T00:00:00Z'),\n ),\n ],\n home_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US,\n ),\n state: ::StackOne::Shared::State.new(),\n ),\n work_location: ::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation.new(\n name: \"Woolsthorpe Manor\",\n phone_number: \"+44 1476 860 364\",\n street_1: \"Water Lane\",\n street_2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zip_code: \"NG33 5NR\",\n country: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry.new(\n value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US,\n ),\n state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(),\n ),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + label: crm_update_contact + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_contact(id=\"\", x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"\",\n ],\n phone_numbers: [\n \"\",\n ],\n deal_ids: [\n \"\",\n ],\n account_ids: [\n \"\",\n ],\n passthrough: {\n \"West\": \"\",\n },\n ))\n\nif ! res.contact_result.nil?\n # handle response\nend" - target: $["paths"]["/unified/marketing/templates/email"]["get"] update: x-codeSamples: - lang: ruby label: marketing_list_email_templates - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListEmailTemplatesRequest.new(\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_email_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/time_off"]["post"] - update: - x-codeSamples: - - lang: ruby - label: hris_create_time_off_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_time_off_request(x_account_id=\"\", hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates"]["get"] + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListEmailTemplatesRequest.new(\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListEmailTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_email_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/email"]["post"] update: x-codeSamples: - lang: ruby - label: ats_list_candidates - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListCandidatesRequest.new(\n fields_: \"id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,hired_at,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_candidates(req)\n\nif ! res.candidates_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["post"] + label: marketing_create_email_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_email_template(x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Non\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/locations/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_create_candidate_note - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_candidate_note(id=\"\", x_account_id=\"\", ats_create_notes_request_dto=::StackOne::Shared::AtsCreateNotesRequestDto.new(\n content: [\n ::StackOne::Shared::NoteContentApiModel.new(\n body: \"This candidate seems like a good fit for the role\",\n ),\n ],\n author_id: \"1234567890\",\n visibility: ::StackOne::Shared::AtsCreateNotesRequestDtoVisibility.new(\n value: ::StackOne::Shared::AtsCreateNotesRequestDtoValue::PUBLIC,\n source_value: \"Public\",\n ),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/jobs/{id}"]["get"] + label: ats_get_location + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetLocationRequest.new(\n id: \"\",\n fields_: \"id,name\",\n x_account_id: \"\",\n)\n \nres = s.get_location(req)\n\nif ! res.ats_location_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/contacts"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_job - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetJobRequest.new(\n id: \"\",\n fields_: \"id,code,title,status,job_status,department_ids,location_ids,hiring_team,interview_stages,confidential,created_at,updated_at\",\n expand: \"job_postings,interview_stages\",\n x_account_id: \"\",\n)\n \nres = s.get_job(req)\n\nif ! res.job_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/rejected_reasons"]["get"] + label: crm_list_contacts + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmListContactsRequest.new(\n fields_: \"id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,account_ids,custom_fields,created_at,updated_at\",\n filter: ::StackOne::Operations::CrmListContactsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n include: \"custom_fields\",\n x_account_id: \"\",\n)\n \nres = s.list_contacts(req)\n\nif ! res.contacts_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/contacts"]["post"] update: x-codeSamples: - lang: ruby - label: ats_list_rejected_reasons - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListRejectedReasonsRequest.new(\n fields_: \"id,label,type,rejected_reason_type\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_rejected_reasons(req)\n\nif ! res.rejected_reasons_paginated.nil?\n # handle response\nend" + label: crm_create_contact + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_contact(x_account_id=\"\", crm_create_contact_request_dto=::StackOne::Shared::CrmCreateContactRequestDto.new(\n first_name: \"Steve\",\n last_name: \"Wozniak\",\n company_name: \"Apple Inc.\",\n emails: [\n \"\",\n ],\n phone_numbers: [\n \"\",\n ],\n deal_ids: [\n \"\",\n ],\n account_ids: [\n \"\",\n ],\n passthrough: {\n \"Electric\": \"\",\n },\n ))\n\nif ! res.contact_result.nil?\n # handle response\nend" - target: $["paths"]["/unified/ats/users/{id}"]["get"] update: x-codeSamples: - lang: ruby label: ats_get_user source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetUserRequest.new(\n id: \"\",\n fields_: \"id,first_name,last_name,name,email\",\n x_account_id: \"\",\n)\n \nres = s.get_user(req)\n\nif ! res.user_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"] + - target: $["paths"]["/unified/marketing/templates/omni_channel"]["post"] update: x-codeSamples: - lang: ruby - label: hris_create_employee_time_off_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_employee_time_off_request(id=\"\", x_account_id=\"\", hris_create_time_off_request_dto=::StackOne::Shared::HrisCreateTimeOffRequestDto.new(\n employee_id: \"1687-3\",\n approver_id: \"1687-4\",\n start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/locations"]["get"] + label: marketing_create_omni_channel_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_omni_channel_template(x_account_id=\"\", marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new(\n messages: [\n ::StackOne::Shared::Message.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n passthrough: {\n \"Cargo\": \"\",\n },\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/push/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_locations - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListLocationsRequest.new(\n fields_: \"id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_locations(req)\n\nif ! res.hris_locations_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/documents"]["get"] + label: marketing_get_push_template + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingGetPushTemplateRequest.new(\n id: \"\",\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n x_account_id: \"\",\n)\n \nres = s.get_push_template(req)\n\nif ! res.template_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/companies"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_application_documents - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListApplicationDocumentsRequest.new(\n id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_application_documents(req)\n\nif ! res.ats_documents_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/locations"]["get"] + label: hris_list_companies + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListCompaniesRequest.new(\n fields_: \"id,name,full_name,display_name,created_at,updated_at\",\n filter: ::StackOne::Operations::Filter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_companies(req)\n\nif ! res.companies_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_locations - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListLocationsRequest.new(\n fields_: \"id,name\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_locations(req)\n\nif ! res.ats_locations_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/applications/{id}/scorecards/{subResourceId}"]["get"] + label: hris_get_employees_work_eligibility + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeesWorkEligibilityRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n x_account_id: \"\",\n)\n \nres = s.get_employees_work_eligibility(req)\n\nif ! res.work_eligibility_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/interviews"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_application_scorecard - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationScorecardRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,sections,label,candidate_id,application_id,interview_id,author_id,overall_recommendation,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_application_scorecard(req)\n\nif ! res.scorecards_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/candidates"]["post"] + label: ats_list_interviews + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListInterviewsRequest.new(\n fields_: \"id,application_id,interview_stage_id,interview_stage,status,interview_status,interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListInterviewsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_interviews(req)\n\nif ! res.interviews_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/applications/{id}/offers/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_create_candidate - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_candidate(x_account_id=\"\", ats_create_candidate_request_dto=::StackOne::Shared::AtsCreateCandidateRequestDto.new(\n name: \"Romain Sestier\",\n first_name: \"Romain\",\n last_name: \"Sestier\",\n email: \"sestier.romain123@gmail.com\",\n social_links: [\n ::StackOne::Shared::SocialLink.new(\n type: \"linkedin\",\n url: \"https://www.linkedin.com/in/romainsestier/\",\n ),\n ],\n company: \"Company Inc.\",\n title: \"Software Engineer\",\n hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n country: \"United States\",\n phone_number: \"+1234567890\",\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/departments"]["get"] + label: ats_get_application_offer + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetApplicationOfferRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n x_account_id: \"\",\n)\n \nres = s.get_application_offer(req)\n\nif ! res.offers_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/accounts/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_departments - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListDepartmentsRequest.new(\n fields_: \"id,name\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_departments(req)\n\nif ! res.departments_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/departments/{id}"]["get"] + label: crm_get_account + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmGetAccountRequest.new(\n id: \"\",\n fields_: \"id,owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_account(req)\n\nif ! res.account_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/crm/lists"]["get"] update: x-codeSamples: - lang: ruby - label: ats_get_department - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsGetDepartmentRequest.new(\n id: \"\",\n fields_: \"id,name\",\n x_account_id: \"\",\n)\n \nres = s.get_department(req)\n\nif ! res.department_result.nil?\n # handle response\nend" - - target: $["paths"]["/connectors/meta"]["get"] + label: crm_list_lists + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::CrmListListsRequest.new(\n fields_: \"id,name,created_at,updated_at,items,type\",\n filter: ::StackOne::Operations::CrmListListsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_lists(req)\n\nif ! res.lists_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/marketing/templates/omni_channel"]["get"] update: x-codeSamples: - lang: ruby - label: stackone_list_connectors_meta - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.list_connectors_meta(include=\"field_path,unmapped_fields,resources,inactive\")\n\nif ! res.connectors_metas.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/documents"]["get"] + label: marketing_list_omni_channel_templates + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::MarketingListOmniChannelTemplatesRequest.new(\n fields_: \"id,name,messages,created_at,updated_at,tags\",\n filter: ::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_omni_channel_templates(req)\n\nif ! res.templates_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/companies/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_list_employee_documents - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListEmployeeDocumentsRequest.new(\n id: \"\",\n fields_: \"id,name,path,type,category,contents,created_at,updated_at\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_employee_documents(req)\n\nif ! res.hris_documents_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["patch"] + label: hris_get_company + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetCompanyRequest.new(\n id: \"\",\n fields_: \"id,name,full_name,display_name,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_company(req)\n\nif ! res.company_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/employees/{id}/time_off/{subResourceId}"]["get"] update: x-codeSamples: - lang: ruby - label: hris_update_employee_work_eligibility_request - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.update_employee_work_eligibility_request(id=\"\", sub_resource_id=\"\", x_account_id=\"\", hris_create_work_eligibility_request_dto=::StackOne::Shared::HrisCreateWorkEligibilityRequestDto.new(\n type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(),\n sub_type: \"H1B\",\n document: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoDocument.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"My Document\",\n path: \"/path/to/file\",\n category: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoCategory.new(),\n contents: [\n ::StackOne::Shared::Content.new(\n url: \"https://example.com/file.pdf\",\n unified_url: \"https://api.stackone.com/unified/hris/employees/12345/documents/67890/download\",\n file_format: ::StackOne::Shared::ContentFileFormat.new(\n value: ::StackOne::Shared::ContentValue::PDF,\n source_value: \"abc\",\n ),\n ),\n ],\n created_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'),\n updated_at: DateTime.iso8601('2021-01-02T01:01:01.000Z'),\n ),\n valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'),\n valid_to: DateTime.iso8601('2021-01-01T00:00.000Z'),\n issued_by: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoIssuedBy.new(\n value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoSchemasValue::US,\n ),\n number: \"1234567890\",\n ))\n\nif res.status_code == 200\n # handle response\nend" - - target: $["paths"]["/unified/hris/employments/{id}"]["get"] + label: hris_get_employees_time_off_request + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmployeesTimeOffRequestRequest.new(\n id: \"\",\n sub_resource_id: \"\",\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_employees_time_off_request(req)\n\nif ! res.time_off_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/time_off"]["get"] update: x-codeSamples: - lang: ruby - label: hris_get_employment - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetEmploymentRequest.new(\n id: \"\",\n fields_: \"id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at\",\n expand: \"groups\",\n x_account_id: \"\",\n)\n \nres = s.get_employment(req)\n\nif ! res.employment_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/ats/users"]["get"] + label: hris_list_time_off_requests + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListTimeOffRequestsRequest.new(\n fields_: \"id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListTimeOffRequestsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_time_off_requests(req)\n\nif ! res.time_off_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/locations"]["get"] update: x-codeSamples: - lang: ruby - label: ats_list_users - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListUsersRequest.new(\n fields_: \"id,first_name,last_name,name,email\",\n filter_updated_after: \"2020-01-01T00:00:00.000Z\",\n x_account_id: \"\",\n)\n \nres = s.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/email"]["post"] + label: hris_list_locations + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisListLocationsRequest.new(\n fields_: \"id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter: ::StackOne::Operations::HrisListLocationsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_locations(req)\n\nif ! res.hris_locations_paginated.nil?\n # handle response\nend" + - target: $["paths"]["/unified/hris/locations/{id}"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_email_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_email_template(x_account_id=\"\", marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n messages: [\n ::StackOne::Shared::EmailMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::MessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" - - target: $["paths"]["/unified/marketing/templates/push"]["post"] + label: hris_get_location + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::HrisGetLocationRequest.new(\n id: \"\",\n fields_: \"id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n x_account_id: \"\",\n)\n \nres = s.get_location(req)\n\nif ! res.hris_location_result.nil?\n # handle response\nend" + - target: $["paths"]["/unified/ats/interview_stages"]["get"] update: x-codeSamples: - lang: ruby - label: marketing_create_push_template - source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n \nres = s.create_push_template(x_account_id=\"\", marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n messages: [\n ::StackOne::Shared::PushMessages.new(\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n message_type: ::StackOne::Shared::PushMessagesMessageType.new(\n source_value: \"Email\",\n ),\n ),\n ],\n ))\n\nif ! res.create_result.nil?\n # handle response\nend" + label: ats_list_interview_stages + source: "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n )\n)\n\n\nreq = ::StackOne::Operations::AtsListInterviewStagesRequest.new(\n fields_: \"id,name,order,created_at,updated_at\",\n filter: ::StackOne::Operations::AtsListInterviewStagesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"\",\n)\n \nres = s.list_interview_stages(req)\n\nif ! res.interview_stages_paginated.nil?\n # handle response\nend" diff --git a/docs/models/operations/atslistapplicationdocumentsrequest.md b/docs/models/operations/atslistapplicationdocumentsrequest.md index b09b0bb4..6e8dcf90 100644 --- a/docs/models/operations/atslistapplicationdocumentsrequest.md +++ b/docs/models/operations/atslistapplicationdocumentsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,path,type,category,contents,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::Filter)](../../models/operations/filter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/atslistapplicationscorecardsrequest.md b/docs/models/operations/atslistapplicationscorecardsrequest.md index 8268e4d0..47b86013 100644 --- a/docs/models/operations/atslistapplicationscorecardsrequest.md +++ b/docs/models/operations/atslistapplicationscorecardsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,sections,label,candidate_id,application_id,interview_id,author_id,overall_recommendation,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::QueryParamFilter)](../../models/operations/queryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/atslistapplicationsoffersqueryparamfilter.md b/docs/models/operations/atslistapplicationsoffersqueryparamfilter.md new file mode 100644 index 00000000..1d6fd9b1 --- /dev/null +++ b/docs/models/operations/atslistapplicationsoffersqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListApplicationsOffersQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistapplicationsoffersrequest.md b/docs/models/operations/atslistapplicationsoffersrequest.md index 647e05eb..e062b403 100644 --- a/docs/models/operations/atslistapplicationsoffersrequest.md +++ b/docs/models/operations/atslistapplicationsoffersrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListApplicationsOffersQueryParamFilter)](../../models/operations/atslistapplicationsoffersqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/atslistapplicationsqueryparamfilter.md b/docs/models/operations/atslistapplicationsqueryparamfilter.md new file mode 100644 index 00000000..706ca2b3 --- /dev/null +++ b/docs/models/operations/atslistapplicationsqueryparamfilter.md @@ -0,0 +1,11 @@ +# AtsListApplicationsQueryParamFilter + +ATS Application Filter + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `job_id` | *T.nilable(::String)* | :heavy_minus_sign: | Filter to select applications by job_id | | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistapplicationsrequest.md b/docs/models/operations/atslistapplicationsrequest.md index 54ec0791..1d0213a6 100644 --- a/docs/models/operations/atslistapplicationsrequest.md +++ b/docs/models/operations/atslistapplicationsrequest.md @@ -7,8 +7,7 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | documents | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,candidate_id,job_id,interview_stage,interview_stage_id,rejected_reason,rejected_reason_id,rejected_reason_ids,rejected_reasons,rejected_at,location_id,location_ids,status,application_status,questionnaires,attachments,result_links,created_at,updated_at,documents,candidate | -| `filter_job_id` | *T.nilable(::String)* | :heavy_minus_sign: | Filter to select applications by job_id | | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListApplicationsQueryParamFilter)](../../models/operations/atslistapplicationsqueryparamfilter.md) | :heavy_minus_sign: | ATS Application Filter | | | ~~`job_id`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Filter for job ID to retrieve a list of applications related to this job | cxQiyiuasdFKfdsYfer | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/atslistcandidatenotesqueryparamfilter.md b/docs/models/operations/atslistcandidatenotesqueryparamfilter.md new file mode 100644 index 00000000..bb77db34 --- /dev/null +++ b/docs/models/operations/atslistcandidatenotesqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListCandidateNotesQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistcandidatenotesrequest.md b/docs/models/operations/atslistcandidatenotesrequest.md index 148f0ef6..f2f4fade 100644 --- a/docs/models/operations/atslistcandidatenotesrequest.md +++ b/docs/models/operations/atslistcandidatenotesrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,content,author_id,visibility,created_at,updated_at,deleted_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListCandidateNotesQueryParamFilter)](../../models/operations/atslistcandidatenotesqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/atslistcandidatesqueryparamfilter.md b/docs/models/operations/atslistcandidatesqueryparamfilter.md new file mode 100644 index 00000000..eeb17919 --- /dev/null +++ b/docs/models/operations/atslistcandidatesqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListCandidatesQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistcandidatesrequest.md b/docs/models/operations/atslistcandidatesrequest.md index e9ffae40..6f60d998 100644 --- a/docs/models/operations/atslistcandidatesrequest.md +++ b/docs/models/operations/atslistcandidatesrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,hired_at,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListCandidatesQueryParamFilter)](../../models/operations/atslistcandidatesqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistdepartmentsqueryparamfilter.md b/docs/models/operations/atslistdepartmentsqueryparamfilter.md new file mode 100644 index 00000000..d7d69914 --- /dev/null +++ b/docs/models/operations/atslistdepartmentsqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListDepartmentsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistdepartmentsrequest.md b/docs/models/operations/atslistdepartmentsrequest.md index 8036d6b0..62bdca77 100644 --- a/docs/models/operations/atslistdepartmentsrequest.md +++ b/docs/models/operations/atslistdepartmentsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListDepartmentsQueryParamFilter)](../../models/operations/atslistdepartmentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistinterviewsqueryparamfilter.md b/docs/models/operations/atslistinterviewsqueryparamfilter.md new file mode 100644 index 00000000..cf39b0ef --- /dev/null +++ b/docs/models/operations/atslistinterviewsqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListInterviewsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistinterviewsrequest.md b/docs/models/operations/atslistinterviewsrequest.md index 856eeed6..bbc8d9ea 100644 --- a/docs/models/operations/atslistinterviewsrequest.md +++ b/docs/models/operations/atslistinterviewsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,application_id,interview_stage_id,interview_stage,status,interview_status,interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListInterviewsQueryParamFilter)](../../models/operations/atslistinterviewsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistinterviewstagesqueryparamfilter.md b/docs/models/operations/atslistinterviewstagesqueryparamfilter.md new file mode 100644 index 00000000..12151e99 --- /dev/null +++ b/docs/models/operations/atslistinterviewstagesqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListInterviewStagesQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistinterviewstagesrequest.md b/docs/models/operations/atslistinterviewstagesrequest.md index df088fde..958601af 100644 --- a/docs/models/operations/atslistinterviewstagesrequest.md +++ b/docs/models/operations/atslistinterviewstagesrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,order,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListInterviewStagesQueryParamFilter)](../../models/operations/atslistinterviewstagesqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistjobpostingsqueryparamfilter.md b/docs/models/operations/atslistjobpostingsqueryparamfilter.md new file mode 100644 index 00000000..729e6426 --- /dev/null +++ b/docs/models/operations/atslistjobpostingsqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListJobPostingsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistjobpostingsrequest.md b/docs/models/operations/atslistjobpostingsrequest.md index 822ea93f..ec59d6bf 100644 --- a/docs/models/operations/atslistjobpostingsrequest.md +++ b/docs/models/operations/atslistjobpostingsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,title,locations,internal,status,job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListJobPostingsQueryParamFilter)](../../models/operations/atslistjobpostingsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | questionnaires | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/atslistjobsqueryparamfilter.md b/docs/models/operations/atslistjobsqueryparamfilter.md new file mode 100644 index 00000000..7d3b135f --- /dev/null +++ b/docs/models/operations/atslistjobsqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListJobsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistjobsrequest.md b/docs/models/operations/atslistjobsrequest.md index f53fc06e..198d73a2 100644 --- a/docs/models/operations/atslistjobsrequest.md +++ b/docs/models/operations/atslistjobsrequest.md @@ -7,7 +7,7 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | job_postings,interview_stages | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,code,title,status,job_status,department_ids,location_ids,hiring_team,interview_stages,confidential,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter)](../../models/operations/atslistjobsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistlocationsqueryparamfilter.md b/docs/models/operations/atslistlocationsqueryparamfilter.md new file mode 100644 index 00000000..65c11c68 --- /dev/null +++ b/docs/models/operations/atslistlocationsqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListLocationsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistlocationsrequest.md b/docs/models/operations/atslistlocationsrequest.md index eea30836..239d3e47 100644 --- a/docs/models/operations/atslistlocationsrequest.md +++ b/docs/models/operations/atslistlocationsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListLocationsQueryParamFilter)](../../models/operations/atslistlocationsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistoffersqueryparamfilter.md b/docs/models/operations/atslistoffersqueryparamfilter.md new file mode 100644 index 00000000..18ddedb6 --- /dev/null +++ b/docs/models/operations/atslistoffersqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListOffersQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistoffersrequest.md b/docs/models/operations/atslistoffersrequest.md index 25c4a3b7..95dc66e2 100644 --- a/docs/models/operations/atslistoffersrequest.md +++ b/docs/models/operations/atslistoffersrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListOffersQueryParamFilter)](../../models/operations/atslistoffersqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistrejectedreasonsqueryparamfilter.md b/docs/models/operations/atslistrejectedreasonsqueryparamfilter.md new file mode 100644 index 00000000..135eb854 --- /dev/null +++ b/docs/models/operations/atslistrejectedreasonsqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListRejectedReasonsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistrejectedreasonsrequest.md b/docs/models/operations/atslistrejectedreasonsrequest.md index 61d938f5..a8936e55 100644 --- a/docs/models/operations/atslistrejectedreasonsrequest.md +++ b/docs/models/operations/atslistrejectedreasonsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,label,type,rejected_reason_type | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListRejectedReasonsQueryParamFilter)](../../models/operations/atslistrejectedreasonsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/atslistusersqueryparamfilter.md b/docs/models/operations/atslistusersqueryparamfilter.md new file mode 100644 index 00000000..05b7727c --- /dev/null +++ b/docs/models/operations/atslistusersqueryparamfilter.md @@ -0,0 +1,10 @@ +# AtsListUsersQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/atslistusersrequest.md b/docs/models/operations/atslistusersrequest.md index aebd155d..7f84d1dd 100644 --- a/docs/models/operations/atslistusersrequest.md +++ b/docs/models/operations/atslistusersrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,first_name,last_name,name,email | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::AtsListUsersQueryParamFilter)](../../models/operations/atslistusersqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/crmlistaccountsqueryparamfilter.md b/docs/models/operations/crmlistaccountsqueryparamfilter.md new file mode 100644 index 00000000..0279c2cf --- /dev/null +++ b/docs/models/operations/crmlistaccountsqueryparamfilter.md @@ -0,0 +1,10 @@ +# CrmListAccountsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/crmlistaccountsrequest.md b/docs/models/operations/crmlistaccountsrequest.md index 14db6119..435fa15a 100644 --- a/docs/models/operations/crmlistaccountsrequest.md +++ b/docs/models/operations/crmlistaccountsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::CrmListAccountsQueryParamFilter)](../../models/operations/crmlistaccountsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/crmlistcontactsqueryparamfilter.md b/docs/models/operations/crmlistcontactsqueryparamfilter.md new file mode 100644 index 00000000..a0b665fa --- /dev/null +++ b/docs/models/operations/crmlistcontactsqueryparamfilter.md @@ -0,0 +1,10 @@ +# CrmListContactsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/crmlistcontactsrequest.md b/docs/models/operations/crmlistcontactsrequest.md index 18060869..60baf198 100644 --- a/docs/models/operations/crmlistcontactsrequest.md +++ b/docs/models/operations/crmlistcontactsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,account_ids,custom_fields,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::CrmListContactsQueryParamFilter)](../../models/operations/crmlistcontactsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | custom_fields | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/crmlistlistsqueryparamfilter.md b/docs/models/operations/crmlistlistsqueryparamfilter.md new file mode 100644 index 00000000..eb9e237b --- /dev/null +++ b/docs/models/operations/crmlistlistsqueryparamfilter.md @@ -0,0 +1,10 @@ +# CrmListListsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/crmlistlistsrequest.md b/docs/models/operations/crmlistlistsrequest.md index aa85b55e..c57ab899 100644 --- a/docs/models/operations/crmlistlistsrequest.md +++ b/docs/models/operations/crmlistlistsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,created_at,updated_at,items,type | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::CrmListListsQueryParamFilter)](../../models/operations/crmlistlistsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/filter.md b/docs/models/operations/filter.md new file mode 100644 index 00000000..9c080def --- /dev/null +++ b/docs/models/operations/filter.md @@ -0,0 +1,10 @@ +# Filter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistbenefitsqueryparamfilter.md b/docs/models/operations/hrislistbenefitsqueryparamfilter.md new file mode 100644 index 00000000..1ee76470 --- /dev/null +++ b/docs/models/operations/hrislistbenefitsqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListBenefitsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistbenefitsrequest.md b/docs/models/operations/hrislistbenefitsrequest.md index 62790a76..04805877 100644 --- a/docs/models/operations/hrislistbenefitsrequest.md +++ b/docs/models/operations/hrislistbenefitsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,benefit_type,provider,description,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListBenefitsQueryParamFilter)](../../models/operations/hrislistbenefitsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/hrislistcompaniesqueryparamfilter.md b/docs/models/operations/hrislistcompaniesqueryparamfilter.md new file mode 100644 index 00000000..c7eb266c --- /dev/null +++ b/docs/models/operations/hrislistcompaniesqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListCompaniesQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistcompaniesrequest.md b/docs/models/operations/hrislistcompaniesrequest.md index ba2751c1..369e8e9e 100644 --- a/docs/models/operations/hrislistcompaniesrequest.md +++ b/docs/models/operations/hrislistcompaniesrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,full_name,display_name,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListCompaniesQueryParamFilter)](../../models/operations/hrislistcompaniesqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/hrislistemployeedocumentsqueryparamfilter.md b/docs/models/operations/hrislistemployeedocumentsqueryparamfilter.md new file mode 100644 index 00000000..96f3c19f --- /dev/null +++ b/docs/models/operations/hrislistemployeedocumentsqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListEmployeeDocumentsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistemployeedocumentsrequest.md b/docs/models/operations/hrislistemployeedocumentsrequest.md index bcf39044..fd1ee706 100644 --- a/docs/models/operations/hrislistemployeedocumentsrequest.md +++ b/docs/models/operations/hrislistemployeedocumentsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,path,type,category,contents,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListEmployeeDocumentsQueryParamFilter)](../../models/operations/hrislistemployeedocumentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/hrislistemployeesqueryparamfilter.md b/docs/models/operations/hrislistemployeesqueryparamfilter.md new file mode 100644 index 00000000..40af9200 --- /dev/null +++ b/docs/models/operations/hrislistemployeesqueryparamfilter.md @@ -0,0 +1,11 @@ +# HrisListEmployeesQueryParamFilter + +HRIS Employees filters + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `employee_number` | *T.nilable(::String)* | :heavy_minus_sign: | Filter to select employees by employee_number | | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistemployeesrequest.md b/docs/models/operations/hrislistemployeesrequest.md index 984f02fa..c0685c10 100644 --- a/docs/models/operations/hrislistemployeesrequest.md +++ b/docs/models/operations/hrislistemployeesrequest.md @@ -7,8 +7,7 @@ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,custom_fields,groups | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number | -| `filter_employee_number` | *T.nilable(::String)* | :heavy_minus_sign: | Filter to select employees by employee_number | | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamFilter)](../../models/operations/hrislistemployeesqueryparamfilter.md) | :heavy_minus_sign: | HRIS Employees filters | | | `include` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md b/docs/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md new file mode 100644 index 00000000..1f1d2b18 --- /dev/null +++ b/docs/models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListEmployeeTimeOffRequestsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistemployeetimeoffrequestsrequest.md b/docs/models/operations/hrislistemployeetimeoffrequestsrequest.md index 50b1bb3a..7699e244 100644 --- a/docs/models/operations/hrislistemployeetimeoffrequestsrequest.md +++ b/docs/models/operations/hrislistemployeetimeoffrequestsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter)](../../models/operations/hrislistemployeetimeoffrequestsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md b/docs/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md new file mode 100644 index 00000000..6abadf50 --- /dev/null +++ b/docs/models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListEmployeeWorkEligibilityQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistemployeeworkeligibilityrequest.md b/docs/models/operations/hrislistemployeeworkeligibilityrequest.md index 477aa231..11f5a8c8 100644 --- a/docs/models/operations/hrislistemployeeworkeligibilityrequest.md +++ b/docs/models/operations/hrislistemployeeworkeligibilityrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,type,sub_type,document,valid_from,valid_to,issued_by,number | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamFilter)](../../models/operations/hrislistemployeeworkeligibilityqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `id` | *::String* | :heavy_check_mark: | N/A | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | diff --git a/docs/models/operations/hrislistemploymentsqueryparamfilter.md b/docs/models/operations/hrislistemploymentsqueryparamfilter.md new file mode 100644 index 00000000..ca20d9f4 --- /dev/null +++ b/docs/models/operations/hrislistemploymentsqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListEmploymentsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistemploymentsrequest.md b/docs/models/operations/hrislistemploymentsrequest.md index 3a21f3fc..381c3921 100644 --- a/docs/models/operations/hrislistemploymentsrequest.md +++ b/docs/models/operations/hrislistemploymentsrequest.md @@ -7,7 +7,7 @@ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListEmploymentsQueryParamFilter)](../../models/operations/hrislistemploymentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/hrislistgroupsqueryparamfilter.md b/docs/models/operations/hrislistgroupsqueryparamfilter.md new file mode 100644 index 00000000..74a03e42 --- /dev/null +++ b/docs/models/operations/hrislistgroupsqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListGroupsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistgroupsrequest.md b/docs/models/operations/hrislistgroupsrequest.md index e491fbe8..aadb8b42 100644 --- a/docs/models/operations/hrislistgroupsrequest.md +++ b/docs/models/operations/hrislistgroupsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,type,parent_ids,owner_ids | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListGroupsQueryParamFilter)](../../models/operations/hrislistgroupsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/hrislistlocationsqueryparamfilter.md b/docs/models/operations/hrislistlocationsqueryparamfilter.md new file mode 100644 index 00000000..5edb66d5 --- /dev/null +++ b/docs/models/operations/hrislistlocationsqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListLocationsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislistlocationsrequest.md b/docs/models/operations/hrislistlocationsrequest.md index b1242c62..c64e9c48 100644 --- a/docs/models/operations/hrislistlocationsrequest.md +++ b/docs/models/operations/hrislistlocationsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListLocationsQueryParamFilter)](../../models/operations/hrislistlocationsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/hrislisttimeoffrequestsqueryparamfilter.md b/docs/models/operations/hrislisttimeoffrequestsqueryparamfilter.md new file mode 100644 index 00000000..b58d683b --- /dev/null +++ b/docs/models/operations/hrislisttimeoffrequestsqueryparamfilter.md @@ -0,0 +1,10 @@ +# HrisListTimeOffRequestsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/hrislisttimeoffrequestsrequest.md b/docs/models/operations/hrislisttimeoffrequestsrequest.md index 9ac9e9a7..541de30a 100644 --- a/docs/models/operations/hrislisttimeoffrequestsrequest.md +++ b/docs/models/operations/hrislisttimeoffrequestsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::HrisListTimeOffRequestsQueryParamFilter)](../../models/operations/hrislisttimeoffrequestsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/marketinglistcampaignsqueryparamfilter.md b/docs/models/operations/marketinglistcampaignsqueryparamfilter.md new file mode 100644 index 00000000..929b0e19 --- /dev/null +++ b/docs/models/operations/marketinglistcampaignsqueryparamfilter.md @@ -0,0 +1,10 @@ +# MarketingListCampaignsQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/marketinglistcampaignsrequest.md b/docs/models/operations/marketinglistcampaignsrequest.md index 782f26d2..6e5c1188 100644 --- a/docs/models/operations/marketinglistcampaignsrequest.md +++ b/docs/models/operations/marketinglistcampaignsrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::MarketingListCampaignsQueryParamFilter)](../../models/operations/marketinglistcampaignsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/marketinglistemailtemplatesqueryparamfilter.md b/docs/models/operations/marketinglistemailtemplatesqueryparamfilter.md new file mode 100644 index 00000000..5a735dab --- /dev/null +++ b/docs/models/operations/marketinglistemailtemplatesqueryparamfilter.md @@ -0,0 +1,10 @@ +# MarketingListEmailTemplatesQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/marketinglistemailtemplatesrequest.md b/docs/models/operations/marketinglistemailtemplatesrequest.md index 53de58e6..7eab1690 100644 --- a/docs/models/operations/marketinglistemailtemplatesrequest.md +++ b/docs/models/operations/marketinglistemailtemplatesrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,messages,created_at,updated_at,tags | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::MarketingListEmailTemplatesQueryParamFilter)](../../models/operations/marketinglistemailtemplatesqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md b/docs/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md new file mode 100644 index 00000000..1b259b52 --- /dev/null +++ b/docs/models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md @@ -0,0 +1,10 @@ +# MarketingListOmniChannelTemplatesQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/marketinglistomnichanneltemplatesrequest.md b/docs/models/operations/marketinglistomnichanneltemplatesrequest.md index decab200..5ce42d89 100644 --- a/docs/models/operations/marketinglistomnichanneltemplatesrequest.md +++ b/docs/models/operations/marketinglistomnichanneltemplatesrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,messages,created_at,updated_at,tags | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamFilter)](../../models/operations/marketinglistomnichanneltemplatesqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/marketinglistpushtemplatesqueryparamfilter.md b/docs/models/operations/marketinglistpushtemplatesqueryparamfilter.md new file mode 100644 index 00000000..561529ca --- /dev/null +++ b/docs/models/operations/marketinglistpushtemplatesqueryparamfilter.md @@ -0,0 +1,10 @@ +# MarketingListPushTemplatesQueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/operations/marketinglistpushtemplatesrequest.md b/docs/models/operations/marketinglistpushtemplatesrequest.md index cedb4876..e481d9df 100644 --- a/docs/models/operations/marketinglistpushtemplatesrequest.md +++ b/docs/models/operations/marketinglistpushtemplatesrequest.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,name,messages,created_at,updated_at,tags | -| `filter_updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `filter` | [T.nilable(::StackOne::Operations::MarketingListPushTemplatesQueryParamFilter)](../../models/operations/marketinglistpushtemplatesqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | | `next_` | *T.nilable(::String)* | :heavy_minus_sign: | The unified cursor | | | ~~`page`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | | `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | | diff --git a/docs/models/operations/queryparamfilter.md b/docs/models/operations/queryparamfilter.md new file mode 100644 index 00000000..a33dbb73 --- /dev/null +++ b/docs/models/operations/queryparamfilter.md @@ -0,0 +1,10 @@ +# QueryParamFilter + +Filter parameters that allow greater customisation of the list response + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/shared/atscreateapplicationrequestdto.md b/docs/models/shared/atscreateapplicationrequestdto.md index 4ee44062..f4bca3ab 100644 --- a/docs/models/shared/atscreateapplicationrequestdto.md +++ b/docs/models/shared/atscreateapplicationrequestdto.md @@ -10,5 +10,6 @@ | `candidate_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the candidate. Provide this OR candidate, but not both. | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | | `job_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the job | 4071538b-3cac-4fbf-ac76-f78ed250ffdd | | `location_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the location | dd8d41d1-5eb8-4408-9c87-9ba44604eae4 | -| `questionnaires` | T::Array<[::StackOne::Shared::Questionnaire](../../models/shared/questionnaire.md)> | :heavy_minus_sign: | Questionnaires associated with the application | | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | +| `questionnaires` | T::Array<[::StackOne::Shared::Questionnaire](../../models/shared/questionnaire.md)> | :heavy_minus_sign: | Questionnaires associated with the application | {
"id": "right_to_work",
"answers": [
{
"id": "answer1",
"type": "text",
"values": [
"Yes"
]
}
]
} | | `source` | *T.nilable(::String)* | :heavy_minus_sign: | Source of the application | LinkedIn | \ No newline at end of file diff --git a/docs/models/shared/atscreateapplicationrequestdtocandidate.md b/docs/models/shared/atscreateapplicationrequestdtocandidate.md index 5c567685..1a20d824 100644 --- a/docs/models/shared/atscreateapplicationrequestdtocandidate.md +++ b/docs/models/shared/atscreateapplicationrequestdtocandidate.md @@ -14,6 +14,7 @@ Candidate Properties. Provide this OR candidate_id, but not both. Providing this | `hired_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Candidate hired date | 2021-01-01T01:01:01.000Z | | `last_name` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate last name | Sestier | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate name | Romain Sestier | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The candidate personal phone number | +1234567890 | | `social_links` | T::Array<[::StackOne::Shared::SocialLink](../../models/shared/sociallink.md)> | :heavy_minus_sign: | List of candidate social links | | | `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | \ No newline at end of file diff --git a/docs/models/shared/atscreatecandidaterequestdto.md b/docs/models/shared/atscreatecandidaterequestdto.md index ac809764..6009b60c 100644 --- a/docs/models/shared/atscreatecandidaterequestdto.md +++ b/docs/models/shared/atscreatecandidaterequestdto.md @@ -12,6 +12,7 @@ | `hired_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Candidate hired date | 2021-01-01T01:01:01.000Z | | `last_name` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate last name | Sestier | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate name | Romain Sestier | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The candidate personal phone number | +1234567890 | | `social_links` | T::Array<[::StackOne::Shared::SocialLink](../../models/shared/sociallink.md)> | :heavy_minus_sign: | List of candidate social links | | | `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | \ No newline at end of file diff --git a/docs/models/shared/atscreatenotesrequestdto.md b/docs/models/shared/atscreatenotesrequestdto.md index 9fc921b0..7cd8c96e 100644 --- a/docs/models/shared/atscreatenotesrequestdto.md +++ b/docs/models/shared/atscreatenotesrequestdto.md @@ -7,4 +7,5 @@ | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | `author_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the author | 1234567890 | | `content` | T::Array<[::StackOne::Shared::NoteContentApiModel](../../models/shared/notecontentapimodel.md)> | :heavy_minus_sign: | N/A | | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `visibility` | [T.nilable(::StackOne::Shared::Visibility)](../../models/shared/visibility.md) | :heavy_minus_sign: | Visibility of the note | public | \ No newline at end of file diff --git a/docs/models/shared/atscreateofferrequestdto.md b/docs/models/shared/atscreateofferrequestdto.md index 781fec93..f788439c 100644 --- a/docs/models/shared/atscreateofferrequestdto.md +++ b/docs/models/shared/atscreateofferrequestdto.md @@ -9,5 +9,6 @@ | `currency` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | | `offer_history` | T::Array<[::StackOne::Shared::OfferHistory](../../models/shared/offerhistory.md)> | :heavy_minus_sign: | N/A | | | `offer_status` | [T.nilable(::StackOne::Shared::OfferStatus)](../../models/shared/offerstatus.md) | :heavy_minus_sign: | N/A | | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `salary` | *T.nilable(::Float)* | :heavy_minus_sign: | N/A | | | `start_date` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/shared/atsupdateapplicationrequestdto.md b/docs/models/shared/atsupdateapplicationrequestdto.md index 8a43acf0..3a731681 100644 --- a/docs/models/shared/atsupdateapplicationrequestdto.md +++ b/docs/models/shared/atsupdateapplicationrequestdto.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `application_status` | [T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus)](../../models/shared/atsupdateapplicationrequestdtoapplicationstatus.md) | :heavy_minus_sign: | N/A | | -| `interview_stage_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | -| `rejected_reason_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the rejection reason | f223d7f6-908b-48f0-9237-b201c307f609 | -| `source` | *T.nilable(::String)* | :heavy_minus_sign: | Source of the application | LinkedIn | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `application_status` | [T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus)](../../models/shared/atsupdateapplicationrequestdtoapplicationstatus.md) | :heavy_minus_sign: | N/A | | +| `interview_stage_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | +| ~~`rejected_reason_id`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Unique identifier of the rejection reason, used only for write operations | f223d7f6-908b-48f0-9237-b201c307f609 | +| `source` | *T.nilable(::String)* | :heavy_minus_sign: | Source of the application | LinkedIn | \ No newline at end of file diff --git a/docs/models/shared/atsupdatecandidaterequestdto.md b/docs/models/shared/atsupdatecandidaterequestdto.md index 5727a376..cc9f94db 100644 --- a/docs/models/shared/atsupdatecandidaterequestdto.md +++ b/docs/models/shared/atsupdatecandidaterequestdto.md @@ -12,11 +12,10 @@ | `emails` | T::Array<[::StackOne::Shared::CandidateEmail](../../models/shared/candidateemail.md)> | :heavy_minus_sign: | List of candidate emails | | | `first_name` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate first name | Romain | | `hired_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Candidate hired date | 2021-01-01T01:01:01.000Z | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `last_name` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate last name | Sestier | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate name | Romain Sestier | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | ~~`phone`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Candidate phone number | +16178294093 | | `phone_numbers` | T::Array<[::StackOne::Shared::PhoneNumber](../../models/shared/phonenumber.md)> | :heavy_minus_sign: | List of candidate phone numbers including the type of the number when available | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `social_links` | T::Array<[::StackOne::Shared::SocialLink](../../models/shared/sociallink.md)> | :heavy_minus_sign: | List of candidate social links | | | `title` | *T.nilable(::String)* | :heavy_minus_sign: | Candidate title | Software Engineer | \ No newline at end of file diff --git a/docs/models/shared/crmcreatecontactrequestdto.md b/docs/models/shared/crmcreatecontactrequestdto.md index c48058dc..bd7c147d 100644 --- a/docs/models/shared/crmcreatecontactrequestdto.md +++ b/docs/models/shared/crmcreatecontactrequestdto.md @@ -3,12 +3,13 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `account_ids` | T::Array<*::String*> | :heavy_minus_sign: | List of associated account IDs | [
"account-123",
"account-456"
] | -| `company_name` | *T.nilable(::String)* | :heavy_minus_sign: | The contact company name | Apple Inc. | -| `deal_ids` | T::Array<*::String*> | :heavy_minus_sign: | List of associated deal IDs | [
"deal-001",
"deal-002"
] | -| `emails` | T::Array<*::String*> | :heavy_minus_sign: | List of contact email addresses | [
"steve@apple.com"
] | -| `first_name` | *T.nilable(::String)* | :heavy_minus_sign: | The contact first name | Steve | -| `last_name` | *T.nilable(::String)* | :heavy_minus_sign: | The contact last name | Wozniak | -| `phone_numbers` | T::Array<*::String*> | :heavy_minus_sign: | List of contact phone numbers | [
"123-456-7890"
] | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `account_ids` | T::Array<*::String*> | :heavy_minus_sign: | List of associated account IDs | [
"account-123",
"account-456"
] | +| `company_name` | *T.nilable(::String)* | :heavy_minus_sign: | The contact company name | Apple Inc. | +| `deal_ids` | T::Array<*::String*> | :heavy_minus_sign: | List of associated deal IDs | [
"deal-001",
"deal-002"
] | +| `emails` | T::Array<*::String*> | :heavy_minus_sign: | List of contact email addresses | [
"steve@apple.com"
] | +| `first_name` | *T.nilable(::String)* | :heavy_minus_sign: | The contact first name | Steve | +| `last_name` | *T.nilable(::String)* | :heavy_minus_sign: | The contact last name | Wozniak | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | +| `phone_numbers` | T::Array<*::String*> | :heavy_minus_sign: | List of contact phone numbers | [
"123-456-7890"
] | \ No newline at end of file diff --git a/docs/models/shared/hriscreateemployeerequestdto.md b/docs/models/shared/hriscreateemployeerequestdto.md index 2b46ad26..e20079d1 100644 --- a/docs/models/shared/hriscreateemployeerequestdto.md +++ b/docs/models/shared/hriscreateemployeerequestdto.md @@ -29,6 +29,7 @@ | `manager_id` | *T.nilable(::String)* | :heavy_minus_sign: | The employee manager ID | 67890 | | `marital_status` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus)](../../models/shared/hriscreateemployeerequestdtomaritalstatus.md) | :heavy_minus_sign: | The employee marital status | single | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | The employee name | Issac Newton | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `personal_email` | *T.nilable(::String)* | :heavy_minus_sign: | The employee personal email | isaac.newton@example.com | | `personal_phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The employee personal phone number | +1234567890 | | `preferred_language` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage)](../../models/shared/hriscreateemployeerequestdtopreferredlanguage.md) | :heavy_minus_sign: | The employee preferred language | en_US | diff --git a/docs/models/shared/hriscreateemployeerequestdtohomelocation.md b/docs/models/shared/hriscreateemployeerequestdtohomelocation.md index 7ee85d23..5625d013 100644 --- a/docs/models/shared/hriscreateemployeerequestdtohomelocation.md +++ b/docs/models/shared/hriscreateemployeerequestdtohomelocation.md @@ -10,6 +10,7 @@ The employee home location | `city` | *T.nilable(::String)* | :heavy_minus_sign: | The city where the location is situated | Grantham | | `country` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry)](../../models/shared/hriscreateemployeerequestdtocountry.md) | :heavy_minus_sign: | The country code | | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the location | Woolsthorpe Manor | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The phone number of the location | +44 1476 860 364 | | `state` | [T.nilable(::StackOne::Shared::State)](../../models/shared/state.md) | :heavy_minus_sign: | The ISO3166-2 sub division where the location is situated | GB-LIN | | `street_1` | *T.nilable(::String)* | :heavy_minus_sign: | The first line of the address | Water Lane | diff --git a/docs/models/shared/hriscreateemployeerequestdtoworklocation.md b/docs/models/shared/hriscreateemployeerequestdtoworklocation.md index 70d481c5..3933a191 100644 --- a/docs/models/shared/hriscreateemployeerequestdtoworklocation.md +++ b/docs/models/shared/hriscreateemployeerequestdtoworklocation.md @@ -10,6 +10,7 @@ The employee work location | `city` | *T.nilable(::String)* | :heavy_minus_sign: | The city where the location is situated | Grantham | | `country` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry)](../../models/shared/hriscreateemployeerequestdtoschemascountry.md) | :heavy_minus_sign: | The country code | | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the location | Woolsthorpe Manor | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `phone_number` | *T.nilable(::String)* | :heavy_minus_sign: | The phone number of the location | +44 1476 860 364 | | `state` | [T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoState)](../../models/shared/hriscreateemployeerequestdtostate.md) | :heavy_minus_sign: | The ISO3166-2 sub division where the location is situated | GB-LIN | | `street_1` | *T.nilable(::String)* | :heavy_minus_sign: | The first line of the address | Water Lane | diff --git a/docs/models/shared/hriscreatetimeoffrequestdto.md b/docs/models/shared/hriscreatetimeoffrequestdto.md index d829f6a5..47a3f0d9 100644 --- a/docs/models/shared/hriscreatetimeoffrequestdto.md +++ b/docs/models/shared/hriscreatetimeoffrequestdto.md @@ -8,6 +8,7 @@ | `approver_id` | *T.nilable(::String)* | :heavy_minus_sign: | The approver ID | 1687-4 | | `employee_id` | *T.nilable(::String)* | :heavy_minus_sign: | The employee ID | 1687-3 | | `end_date` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The end date of the time off request | 2021-01-01T01:01:01.000Z | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `start_date` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | The start date of the time off request | 2021-01-01T01:01:01.000Z | | `status` | [T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoStatus)](../../models/shared/hriscreatetimeoffrequestdtostatus.md) | :heavy_minus_sign: | The status of the time off request | | | `type` | [T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType)](../../models/shared/hriscreatetimeoffrequestdtotype.md) | :heavy_minus_sign: | The type of the time off request | | \ No newline at end of file diff --git a/docs/models/shared/hriscreateworkeligibilityrequestdto.md b/docs/models/shared/hriscreateworkeligibilityrequestdto.md index 4bdf1437..0ab3aa93 100644 --- a/docs/models/shared/hriscreateworkeligibilityrequestdto.md +++ b/docs/models/shared/hriscreateworkeligibilityrequestdto.md @@ -8,6 +8,7 @@ | `document` | [T.nilable(::StackOne::Shared::Document)](../../models/shared/document.md) | :heavy_minus_sign: | N/A | | | `issued_by` | [T.nilable(::StackOne::Shared::IssuedBy)](../../models/shared/issuedby.md) | :heavy_minus_sign: | The country code of the issued by authority | | | `number` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | 1234567890 | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `sub_type` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | H1B | | `type` | [T.nilable(::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType)](../../models/shared/hriscreateworkeligibilityrequestdtotype.md) | :heavy_minus_sign: | N/A | visa | | `valid_from` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A | 2021-01-01T00:00.000Z | diff --git a/docs/models/shared/marketingcreateemailtemplaterequestdto.md b/docs/models/shared/marketingcreateemailtemplaterequestdto.md index 0fc75bdb..b0872b14 100644 --- a/docs/models/shared/marketingcreateemailtemplaterequestdto.md +++ b/docs/models/shared/marketingcreateemailtemplaterequestdto.md @@ -5,8 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `messages` | T::Array<[::StackOne::Shared::EmailMessages](../../models/shared/emailmessages.md)> | :heavy_minus_sign: | N/A | | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `tags` | T::Array<*::String*> | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/marketingcreatepushtemplaterequestdto.md b/docs/models/shared/marketingcreatepushtemplaterequestdto.md index d9bc9809..ff3897eb 100644 --- a/docs/models/shared/marketingcreatepushtemplaterequestdto.md +++ b/docs/models/shared/marketingcreatepushtemplaterequestdto.md @@ -5,8 +5,7 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `messages` | T::Array<[::StackOne::Shared::PushMessages](../../models/shared/pushmessages.md)> | :heavy_minus_sign: | N/A | | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `tags` | T::Array<*::String*> | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/shared/marketingcreatetemplaterequestdto.md b/docs/models/shared/marketingcreatetemplaterequestdto.md index e6d78693..ddb50d0b 100644 --- a/docs/models/shared/marketingcreatetemplaterequestdto.md +++ b/docs/models/shared/marketingcreatetemplaterequestdto.md @@ -5,8 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | | `messages` | T::Array<[::StackOne::Shared::Message](../../models/shared/message.md)> | :heavy_minus_sign: | N/A | | | `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | -| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `passthrough` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Value to pass through to the provider | {"other_known_names": "John Doe"} | | `tags` | T::Array<*::String*> | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/sdks/ats/README.md b/docs/sdks/ats/README.md index 2370f77f..e03e331b 100644 --- a/docs/sdks/ats/README.md +++ b/docs/sdks/ats/README.md @@ -73,6 +73,9 @@ res = s.ats.create_application(ats_create_application_request_dto=::StackOne::Sh hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), last_name: "Sestier", name: "Romain Sestier", + passthrough: { + "synthesize": "", + }, phone_number: "+1234567890", social_links: [ ::StackOne::Shared::SocialLink.new( @@ -85,6 +88,9 @@ res = s.ats.create_application(ats_create_application_request_dto=::StackOne::Sh candidate_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", job_id: "4071538b-3cac-4fbf-ac76-f78ed250ffdd", location_id: "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", + passthrough: { + "Global": "", + }, questionnaires: [ ::StackOne::Shared::Questionnaire.new( answers: [ @@ -152,6 +158,9 @@ res = s.ats.create_candidate(ats_create_candidate_request_dto=::StackOne::Shared hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), last_name: "Sestier", name: "Romain Sestier", + passthrough: { + "discrete": "", + }, phone_number: "+1234567890", social_links: [ ::StackOne::Shared::SocialLink.new( @@ -206,6 +215,9 @@ res = s.ats.create_candidate_note(ats_create_notes_request_dto=::StackOne::Share body: "This candidate seems like a good fit for the role", ), ], + passthrough: { + "Freeway": "", + }, visibility: ::StackOne::Shared::Visibility.new( source_value: "Public", value: ::StackOne::Shared::AtsCreateNotesRequestDtoValue::PUBLIC, @@ -262,6 +274,9 @@ res = s.ats.create_offer(ats_create_offer_request_dto=::StackOne::Shared::AtsCre source_value: "Pending", value: ::StackOne::Shared::AtsCreateOfferRequestDtoValue::PENDING, ), + passthrough: { + "quas": "", + }, start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), ), x_account_id="") @@ -1012,7 +1027,9 @@ s.config_security( req = ::StackOne::Operations::AtsListApplicationDocumentsRequest.new( fields_: "id,name,path,type,category,contents,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::Filter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), id: "", x_account_id: "", ) @@ -1057,7 +1074,9 @@ s.config_security( req = ::StackOne::Operations::AtsListApplicationScorecardsRequest.new( fields_: "id,sections,label,candidate_id,application_id,interview_id,author_id,overall_recommendation,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::QueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), id: "", x_account_id: "", ) @@ -1103,7 +1122,9 @@ s.config_security( req = ::StackOne::Operations::AtsListApplicationsRequest.new( expand: "documents", fields_: "id,candidate_id,job_id,interview_stage,interview_stage_id,rejected_reason,rejected_reason_id,rejected_reason_ids,rejected_reasons,rejected_at,location_id,location_ids,status,application_status,questionnaires,attachments,result_links,created_at,updated_at,documents,candidate", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListApplicationsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1147,7 +1168,9 @@ s.config_security( req = ::StackOne::Operations::AtsListApplicationsOffersRequest.new( fields_: "id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListApplicationsOffersQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), id: "", x_account_id: "", ) @@ -1192,7 +1215,9 @@ s.config_security( req = ::StackOne::Operations::AtsListCandidateNotesRequest.new( fields_: "id,content,author_id,visibility,created_at,updated_at,deleted_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListCandidateNotesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), id: "", x_account_id: "", ) @@ -1237,7 +1262,9 @@ s.config_security( req = ::StackOne::Operations::AtsListCandidatesRequest.new( fields_: "id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,title,application_ids,hired_at,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListCandidatesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1281,7 +1308,9 @@ s.config_security( req = ::StackOne::Operations::AtsListDepartmentsRequest.new( fields_: "id,name", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListDepartmentsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1325,7 +1354,9 @@ s.config_security( req = ::StackOne::Operations::AtsListInterviewStagesRequest.new( fields_: "id,name,order,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListInterviewStagesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1369,7 +1400,9 @@ s.config_security( req = ::StackOne::Operations::AtsListInterviewsRequest.new( fields_: "id,application_id,interview_stage_id,interview_stage,status,interview_status,interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListInterviewsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1413,7 +1446,9 @@ s.config_security( req = ::StackOne::Operations::AtsListJobPostingsRequest.new( fields_: "id,title,locations,internal,status,job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListJobPostingsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), include: "questionnaires", x_account_id: "", ) @@ -1459,7 +1494,9 @@ s.config_security( req = ::StackOne::Operations::AtsListJobsRequest.new( expand: "job_postings,interview_stages", fields_: "id,code,title,status,job_status,department_ids,location_ids,hiring_team,interview_stages,confidential,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListJobsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1503,7 +1540,9 @@ s.config_security( req = ::StackOne::Operations::AtsListLocationsRequest.new( fields_: "id,name", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListLocationsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1547,7 +1586,9 @@ s.config_security( req = ::StackOne::Operations::AtsListOffersRequest.new( fields_: "id,application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListOffersQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1591,7 +1632,9 @@ s.config_security( req = ::StackOne::Operations::AtsListRejectedReasonsRequest.new( fields_: "id,label,type,rejected_reason_type", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListRejectedReasonsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1635,7 +1678,9 @@ s.config_security( req = ::StackOne::Operations::AtsListUsersRequest.new( fields_: "id,first_name,last_name,name,email", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::AtsListUsersQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1683,7 +1728,9 @@ res = s.ats.update_application(ats_update_application_request_dto=::StackOne::Sh value: ::StackOne::Shared::AtsUpdateApplicationRequestDtoValue::HIRED, ), interview_stage_id: "18bcbb1b-3cbc-4198-a999-460861d19480", - rejected_reason_id: "f223d7f6-908b-48f0-9237-b201c307f609", + passthrough: { + "Licensed": "", + }, source: "LinkedIn", ), id="", x_account_id="") @@ -1740,15 +1787,16 @@ res = s.ats.update_candidate(ats_update_candidate_request_dto=::StackOne::Shared ], first_name: "Romain", hired_at: DateTime.iso8601('2021-01-01T01:01:01.000Z'), - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", last_name: "Sestier", name: "Romain Sestier", + passthrough: { + "Extended": "", + }, phone_numbers: [ ::StackOne::Shared::PhoneNumber.new( phone: "+447700112233", ), ], - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", social_links: [ ::StackOne::Shared::SocialLink.new( type: "linkedin", diff --git a/docs/sdks/crm/README.md b/docs/sdks/crm/README.md index 54f60c72..c3870889 100644 --- a/docs/sdks/crm/README.md +++ b/docs/sdks/crm/README.md @@ -43,6 +43,9 @@ res = s.crm.create_contact(crm_create_contact_request_dto=::StackOne::Shared::Cr ], first_name: "Steve", last_name: "Wozniak", + passthrough: { + "Electric": "", + }, phone_numbers: [ "", ], @@ -220,7 +223,9 @@ s.config_security( req = ::StackOne::Operations::CrmListAccountsRequest.new( fields_: "id,owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::CrmListAccountsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -264,7 +269,9 @@ s.config_security( req = ::StackOne::Operations::CrmListContactsRequest.new( fields_: "id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,account_ids,custom_fields,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::CrmListContactsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), include: "custom_fields", x_account_id: "", ) @@ -309,7 +316,9 @@ s.config_security( req = ::StackOne::Operations::CrmListListsRequest.new( fields_: "id,name,created_at,updated_at,items,type", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::CrmListListsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -364,6 +373,9 @@ res = s.crm.update_contact(crm_create_contact_request_dto=::StackOne::Shared::Cr ], first_name: "Steve", last_name: "Wozniak", + passthrough: { + "West": "", + }, phone_numbers: [ "", ], diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md index 1699f28f..ad67361b 100644 --- a/docs/sdks/hris/README.md +++ b/docs/sdks/hris/README.md @@ -131,6 +131,9 @@ res = s.hris.create_employee(hris_create_employee_request_dto=::StackOne::Shared value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US, ), name: "Woolsthorpe Manor", + passthrough: { + "Cheese": "", + }, phone_number: "+44 1476 860 364", state: ::StackOne::Shared::State.new(), street_1: "Water Lane", @@ -142,6 +145,9 @@ res = s.hris.create_employee(hris_create_employee_request_dto=::StackOne::Shared manager_id: "67890", marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(), name: "Issac Newton", + passthrough: { + "Bugatti": "", + }, personal_email: "isaac.newton@example.com", personal_phone_number: "+1234567890", preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new( @@ -158,6 +164,9 @@ res = s.hris.create_employee(hris_create_employee_request_dto=::StackOne::Shared value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US, ), name: "Woolsthorpe Manor", + passthrough: { + "underneath": "", + }, phone_number: "+44 1476 860 364", state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(), street_1: "Water Lane", @@ -208,6 +217,9 @@ res = s.hris.create_employee_time_off_request(hris_create_time_off_request_dto=: approver_id: "1687-4", employee_id: "1687-3", end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + passthrough: { + "Passenger": "", + }, start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), ), id="", x_account_id="") @@ -273,6 +285,9 @@ res = s.hris.create_employee_work_eligibility_request(hris_create_work_eligibili value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue::US, ), number: "1234567890", + passthrough: { + "green": "", + }, sub_type: "H1B", type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(), valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'), @@ -321,6 +336,9 @@ res = s.hris.create_time_off_request(hris_create_time_off_request_dto=::StackOne approver_id: "1687-4", employee_id: "1687-3", end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + passthrough: { + "Bicycle": "", + }, start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), ), x_account_id="") @@ -850,7 +868,9 @@ s.config_security( req = ::StackOne::Operations::HrisListBenefitsRequest.new( fields_: "id,name,benefit_type,provider,description,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListBenefitsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -894,7 +914,9 @@ s.config_security( req = ::StackOne::Operations::HrisListCompaniesRequest.new( fields_: "id,name,full_name,display_name,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListCompaniesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -938,7 +960,9 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeeDocumentsRequest.new( fields_: "id,name,path,type,category,contents,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListEmployeeDocumentsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), id: "", x_account_id: "", ) @@ -983,7 +1007,9 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeeTimeOffRequestsRequest.new( fields_: "id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), id: "", x_account_id: "", ) @@ -1028,7 +1054,9 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeeWorkEligibilityRequest.new( fields_: "id,type,sub_type,document,valid_from,valid_to,issued_by,number", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), id: "", x_account_id: "", ) @@ -1074,7 +1102,9 @@ s.config_security( req = ::StackOne::Operations::HrisListEmployeesRequest.new( expand: "company,employments,work_location,home_location,custom_fields,groups", fields_: "id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_title,job_description,department,cost_centers,benefits,manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListEmployeesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), include: "avatar_url,avatar,custom_fields,job_description,benefits", x_account_id: "", ) @@ -1120,7 +1150,9 @@ s.config_security( req = ::StackOne::Operations::HrisListEmploymentsRequest.new( expand: "groups", fields_: "id,employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListEmploymentsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1164,7 +1196,9 @@ s.config_security( req = ::StackOne::Operations::HrisListGroupsRequest.new( fields_: "id,name,type,parent_ids,owner_ids", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListGroupsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1208,7 +1242,9 @@ s.config_security( req = ::StackOne::Operations::HrisListLocationsRequest.new( fields_: "id,employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListLocationsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1252,7 +1288,9 @@ s.config_security( req = ::StackOne::Operations::HrisListTimeOffRequestsRequest.new( fields_: "id,employee_id,approver_id,status,type,start_date,end_date,created_at,updated_at", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::HrisListTimeOffRequestsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -1374,6 +1412,9 @@ res = s.hris.update_employee(hris_create_employee_request_dto=::StackOne::Shared value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue::US, ), name: "Woolsthorpe Manor", + passthrough: { + "solid": "", + }, phone_number: "+44 1476 860 364", state: ::StackOne::Shared::State.new(), street_1: "Water Lane", @@ -1385,6 +1426,9 @@ res = s.hris.update_employee(hris_create_employee_request_dto=::StackOne::Shared manager_id: "67890", marital_status: ::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus.new(), name: "Issac Newton", + passthrough: { + "Northeast": "", + }, personal_email: "isaac.newton@example.com", personal_phone_number: "+1234567890", preferred_language: ::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage.new( @@ -1401,6 +1445,9 @@ res = s.hris.update_employee(hris_create_employee_request_dto=::StackOne::Shared value: ::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue::US, ), name: "Woolsthorpe Manor", + passthrough: { + "International": "", + }, phone_number: "+44 1476 860 364", state: ::StackOne::Shared::HrisCreateEmployeeRequestDtoState.new(), street_1: "Water Lane", @@ -1472,6 +1519,9 @@ res = s.hris.update_employee_work_eligibility_request(hris_create_work_eligibili value: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoValue::US, ), number: "1234567890", + passthrough: { + "evolve": "", + }, sub_type: "H1B", type: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDtoType.new(), valid_from: DateTime.iso8601('2021-01-01T00:00.000Z'), @@ -1521,6 +1571,9 @@ res = s.hris.update_time_off_request(hris_create_time_off_request_dto=::StackOne approver_id: "1687-4", employee_id: "1687-3", end_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), + passthrough: { + "Sports": "", + }, start_date: DateTime.iso8601('2021-01-01T01:01:01.000Z'), ), id="", x_account_id="") diff --git a/docs/sdks/marketing/README.md b/docs/sdks/marketing/README.md index e93d16af..e7786e32 100644 --- a/docs/sdks/marketing/README.md +++ b/docs/sdks/marketing/README.md @@ -37,7 +37,6 @@ s.config_security( res = s.marketing.create_email_template(marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", messages: [ ::StackOne::Shared::EmailMessages.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", @@ -47,7 +46,9 @@ res = s.marketing.create_email_template(marketing_create_email_template_request_ remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", ), ], - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "Non": "", + }, ), x_account_id="") if ! res.create_result.nil? @@ -88,7 +89,6 @@ s.config_security( res = s.marketing.create_omni_channel_template(marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", messages: [ ::StackOne::Shared::Message.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", @@ -98,7 +98,9 @@ res = s.marketing.create_omni_channel_template(marketing_create_template_request remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", ), ], - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "Cargo": "", + }, ), x_account_id="") if ! res.create_result.nil? @@ -139,7 +141,6 @@ s.config_security( res = s.marketing.create_push_template(marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", messages: [ ::StackOne::Shared::PushMessages.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", @@ -149,7 +150,9 @@ res = s.marketing.create_push_template(marketing_create_push_template_request_dt remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", ), ], - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "turban": "", + }, ), x_account_id="") if ! res.create_result.nil? @@ -367,7 +370,9 @@ s.config_security( req = ::StackOne::Operations::MarketingListCampaignsRequest.new( fields_: "id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::MarketingListCampaignsQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -411,7 +416,9 @@ s.config_security( req = ::StackOne::Operations::MarketingListEmailTemplatesRequest.new( fields_: "id,name,messages,created_at,updated_at,tags", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::MarketingListEmailTemplatesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -455,7 +462,9 @@ s.config_security( req = ::StackOne::Operations::MarketingListOmniChannelTemplatesRequest.new( fields_: "id,name,messages,created_at,updated_at,tags", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -499,7 +508,9 @@ s.config_security( req = ::StackOne::Operations::MarketingListPushTemplatesRequest.new( fields_: "id,name,messages,created_at,updated_at,tags", - filter_updated_after: "2020-01-01T00:00:00.000Z", + filter: ::StackOne::Operations::MarketingListPushTemplatesQueryParamFilter.new( + updated_after: "2020-01-01T00:00:00.000Z", + ), x_account_id: "", ) @@ -542,7 +553,6 @@ s.config_security( res = s.marketing.update_email_template(marketing_create_email_template_request_dto=::StackOne::Shared::MarketingCreateEmailTemplateRequestDto.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", messages: [ ::StackOne::Shared::EmailMessages.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", @@ -552,7 +562,9 @@ res = s.marketing.update_email_template(marketing_create_email_template_request_ remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", ), ], - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "strategize": "", + }, ), id="", x_account_id="") if ! res.create_result.nil? @@ -594,7 +606,6 @@ s.config_security( res = s.marketing.update_omni_channel_template(marketing_create_template_request_dto=::StackOne::Shared::MarketingCreateTemplateRequestDto.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", messages: [ ::StackOne::Shared::Message.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", @@ -604,7 +615,9 @@ res = s.marketing.update_omni_channel_template(marketing_create_template_request remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", ), ], - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "Edina": "", + }, ), id="", x_account_id="") if ! res.create_result.nil? @@ -646,7 +659,6 @@ s.config_security( res = s.marketing.update_push_template(marketing_create_push_template_request_dto=::StackOne::Shared::MarketingCreatePushTemplateRequestDto.new( - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", messages: [ ::StackOne::Shared::PushMessages.new( id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", @@ -656,7 +668,9 @@ res = s.marketing.update_push_template(marketing_create_push_template_request_dt remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", ), ], - remote_id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "tightly": "", + }, ), id="", x_account_id="") if ! res.create_result.nil? diff --git a/gen.yaml b/gen.yaml index 7fd80d1c..c2f820ce 100644 --- a/gen.yaml +++ b/gen.yaml @@ -11,7 +11,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false ruby: - version: 0.2.21 + version: 0.2.22 author: StackOne description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/lib/stack_one/models/operations.rb b/lib/stack_one/models/operations.rb index b894b033..58bf4dd2 100644 --- a/lib/stack_one/models/operations.rb +++ b/lib/stack_one/models/operations.rb @@ -61,34 +61,49 @@ module Operations autoload :AtsGetRejectedReasonResponse, 'stack_one/models/operations/ats_get_rejected_reason_response.rb' autoload :AtsGetUserRequest, 'stack_one/models/operations/ats_get_user_request.rb' autoload :AtsGetUserResponse, 'stack_one/models/operations/ats_get_user_response.rb' + autoload :Filter, 'stack_one/models/operations/filter.rb' autoload :AtsListApplicationDocumentsRequest, 'stack_one/models/operations/ats_list_application_documents_request.rb' autoload :AtsListApplicationDocumentsResponse, 'stack_one/models/operations/ats_list_application_documents_response.rb' + autoload :QueryParamFilter, 'stack_one/models/operations/queryparam_filter.rb' autoload :AtsListApplicationScorecardsRequest, 'stack_one/models/operations/ats_list_application_scorecards_request.rb' autoload :AtsListApplicationScorecardsResponse, 'stack_one/models/operations/ats_list_application_scorecards_response.rb' + autoload :AtsListApplicationsQueryParamFilter, 'stack_one/models/operations/ats_list_applications_queryparam_filter.rb' autoload :AtsListApplicationsRequest, 'stack_one/models/operations/ats_list_applications_request.rb' autoload :AtsListApplicationsResponse, 'stack_one/models/operations/ats_list_applications_response.rb' + autoload :AtsListApplicationsOffersQueryParamFilter, 'stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb' autoload :AtsListApplicationsOffersRequest, 'stack_one/models/operations/ats_list_applications_offers_request.rb' autoload :AtsListApplicationsOffersResponse, 'stack_one/models/operations/ats_list_applications_offers_response.rb' + autoload :AtsListCandidateNotesQueryParamFilter, 'stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb' autoload :AtsListCandidateNotesRequest, 'stack_one/models/operations/ats_list_candidate_notes_request.rb' autoload :AtsListCandidateNotesResponse, 'stack_one/models/operations/ats_list_candidate_notes_response.rb' + autoload :AtsListCandidatesQueryParamFilter, 'stack_one/models/operations/ats_list_candidates_queryparam_filter.rb' autoload :AtsListCandidatesRequest, 'stack_one/models/operations/ats_list_candidates_request.rb' autoload :AtsListCandidatesResponse, 'stack_one/models/operations/ats_list_candidates_response.rb' + autoload :AtsListDepartmentsQueryParamFilter, 'stack_one/models/operations/ats_list_departments_queryparam_filter.rb' autoload :AtsListDepartmentsRequest, 'stack_one/models/operations/ats_list_departments_request.rb' autoload :AtsListDepartmentsResponse, 'stack_one/models/operations/ats_list_departments_response.rb' + autoload :AtsListInterviewStagesQueryParamFilter, 'stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb' autoload :AtsListInterviewStagesRequest, 'stack_one/models/operations/ats_list_interview_stages_request.rb' autoload :AtsListInterviewStagesResponse, 'stack_one/models/operations/ats_list_interview_stages_response.rb' + autoload :AtsListInterviewsQueryParamFilter, 'stack_one/models/operations/ats_list_interviews_queryparam_filter.rb' autoload :AtsListInterviewsRequest, 'stack_one/models/operations/ats_list_interviews_request.rb' autoload :AtsListInterviewsResponse, 'stack_one/models/operations/ats_list_interviews_response.rb' + autoload :AtsListJobPostingsQueryParamFilter, 'stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb' autoload :AtsListJobPostingsRequest, 'stack_one/models/operations/ats_list_job_postings_request.rb' autoload :AtsListJobPostingsResponse, 'stack_one/models/operations/ats_list_job_postings_response.rb' + autoload :AtsListJobsQueryParamFilter, 'stack_one/models/operations/ats_list_jobs_queryparam_filter.rb' autoload :AtsListJobsRequest, 'stack_one/models/operations/ats_list_jobs_request.rb' autoload :AtsListJobsResponse, 'stack_one/models/operations/ats_list_jobs_response.rb' + autoload :AtsListLocationsQueryParamFilter, 'stack_one/models/operations/ats_list_locations_queryparam_filter.rb' autoload :AtsListLocationsRequest, 'stack_one/models/operations/ats_list_locations_request.rb' autoload :AtsListLocationsResponse, 'stack_one/models/operations/ats_list_locations_response.rb' + autoload :AtsListOffersQueryParamFilter, 'stack_one/models/operations/ats_list_offers_queryparam_filter.rb' autoload :AtsListOffersRequest, 'stack_one/models/operations/ats_list_offers_request.rb' autoload :AtsListOffersResponse, 'stack_one/models/operations/ats_list_offers_response.rb' + autoload :AtsListRejectedReasonsQueryParamFilter, 'stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb' autoload :AtsListRejectedReasonsRequest, 'stack_one/models/operations/ats_list_rejected_reasons_request.rb' autoload :AtsListRejectedReasonsResponse, 'stack_one/models/operations/ats_list_rejected_reasons_response.rb' + autoload :AtsListUsersQueryParamFilter, 'stack_one/models/operations/ats_list_users_queryparam_filter.rb' autoload :AtsListUsersRequest, 'stack_one/models/operations/ats_list_users_request.rb' autoload :AtsListUsersResponse, 'stack_one/models/operations/ats_list_users_response.rb' autoload :AtsUpdateApplicationRequest, 'stack_one/models/operations/ats_update_application_request.rb' @@ -105,10 +120,13 @@ module Operations autoload :CrmGetContactResponse, 'stack_one/models/operations/crm_get_contact_response.rb' autoload :CrmGetListRequest, 'stack_one/models/operations/crm_get_list_request.rb' autoload :CrmGetListResponse, 'stack_one/models/operations/crm_get_list_response.rb' + autoload :CrmListAccountsQueryParamFilter, 'stack_one/models/operations/crm_list_accounts_queryparam_filter.rb' autoload :CrmListAccountsRequest, 'stack_one/models/operations/crm_list_accounts_request.rb' autoload :CrmListAccountsResponse, 'stack_one/models/operations/crm_list_accounts_response.rb' + autoload :CrmListContactsQueryParamFilter, 'stack_one/models/operations/crm_list_contacts_queryparam_filter.rb' autoload :CrmListContactsRequest, 'stack_one/models/operations/crm_list_contacts_request.rb' autoload :CrmListContactsResponse, 'stack_one/models/operations/crm_list_contacts_response.rb' + autoload :CrmListListsQueryParamFilter, 'stack_one/models/operations/crm_list_lists_queryparam_filter.rb' autoload :CrmListListsRequest, 'stack_one/models/operations/crm_list_lists_request.rb' autoload :CrmListListsResponse, 'stack_one/models/operations/crm_list_lists_response.rb' autoload :CrmUpdateContactRequest, 'stack_one/models/operations/crm_update_contact_request.rb' @@ -143,24 +161,34 @@ module Operations autoload :HrisGetLocationResponse, 'stack_one/models/operations/hris_get_location_response.rb' autoload :HrisGetTimeOffRequestRequest, 'stack_one/models/operations/hris_get_time_off_request_request.rb' autoload :HrisGetTimeOffRequestResponse, 'stack_one/models/operations/hris_get_time_off_request_response.rb' + autoload :HrisListBenefitsQueryParamFilter, 'stack_one/models/operations/hris_list_benefits_queryparam_filter.rb' autoload :HrisListBenefitsRequest, 'stack_one/models/operations/hris_list_benefits_request.rb' autoload :HrisListBenefitsResponse, 'stack_one/models/operations/hris_list_benefits_response.rb' + autoload :HrisListCompaniesQueryParamFilter, 'stack_one/models/operations/hris_list_companies_queryparam_filter.rb' autoload :HrisListCompaniesRequest, 'stack_one/models/operations/hris_list_companies_request.rb' autoload :HrisListCompaniesResponse, 'stack_one/models/operations/hris_list_companies_response.rb' + autoload :HrisListEmployeeDocumentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb' autoload :HrisListEmployeeDocumentsRequest, 'stack_one/models/operations/hris_list_employee_documents_request.rb' autoload :HrisListEmployeeDocumentsResponse, 'stack_one/models/operations/hris_list_employee_documents_response.rb' + autoload :HrisListEmployeeTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb' autoload :HrisListEmployeeTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_employee_time_off_requests_request.rb' autoload :HrisListEmployeeTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_employee_time_off_requests_response.rb' + autoload :HrisListEmployeeWorkEligibilityQueryParamFilter, 'stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb' autoload :HrisListEmployeeWorkEligibilityRequest, 'stack_one/models/operations/hris_list_employee_work_eligibility_request.rb' autoload :HrisListEmployeeWorkEligibilityResponse, 'stack_one/models/operations/hris_list_employee_work_eligibility_response.rb' + autoload :HrisListEmployeesQueryParamFilter, 'stack_one/models/operations/hris_list_employees_queryparam_filter.rb' autoload :HrisListEmployeesRequest, 'stack_one/models/operations/hris_list_employees_request.rb' autoload :HrisListEmployeesResponse, 'stack_one/models/operations/hris_list_employees_response.rb' + autoload :HrisListEmploymentsQueryParamFilter, 'stack_one/models/operations/hris_list_employments_queryparam_filter.rb' autoload :HrisListEmploymentsRequest, 'stack_one/models/operations/hris_list_employments_request.rb' autoload :HrisListEmploymentsResponse, 'stack_one/models/operations/hris_list_employments_response.rb' + autoload :HrisListGroupsQueryParamFilter, 'stack_one/models/operations/hris_list_groups_queryparam_filter.rb' autoload :HrisListGroupsRequest, 'stack_one/models/operations/hris_list_groups_request.rb' autoload :HrisListGroupsResponse, 'stack_one/models/operations/hris_list_groups_response.rb' + autoload :HrisListLocationsQueryParamFilter, 'stack_one/models/operations/hris_list_locations_queryparam_filter.rb' autoload :HrisListLocationsRequest, 'stack_one/models/operations/hris_list_locations_request.rb' autoload :HrisListLocationsResponse, 'stack_one/models/operations/hris_list_locations_response.rb' + autoload :HrisListTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb' autoload :HrisListTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_time_off_requests_request.rb' autoload :HrisListTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_time_off_requests_response.rb' autoload :HrisUpdateEmployeeRequest, 'stack_one/models/operations/hris_update_employee_request.rb' @@ -185,12 +213,16 @@ module Operations autoload :MarketingGetOmniChannelTemplateResponse, 'stack_one/models/operations/marketing_get_omni_channel_template_response.rb' autoload :MarketingGetPushTemplateRequest, 'stack_one/models/operations/marketing_get_push_template_request.rb' autoload :MarketingGetPushTemplateResponse, 'stack_one/models/operations/marketing_get_push_template_response.rb' + autoload :MarketingListCampaignsQueryParamFilter, 'stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb' autoload :MarketingListCampaignsRequest, 'stack_one/models/operations/marketing_list_campaigns_request.rb' autoload :MarketingListCampaignsResponse, 'stack_one/models/operations/marketing_list_campaigns_response.rb' + autoload :MarketingListEmailTemplatesQueryParamFilter, 'stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb' autoload :MarketingListEmailTemplatesRequest, 'stack_one/models/operations/marketing_list_email_templates_request.rb' autoload :MarketingListEmailTemplatesResponse, 'stack_one/models/operations/marketing_list_email_templates_response.rb' + autoload :MarketingListOmniChannelTemplatesQueryParamFilter, 'stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb' autoload :MarketingListOmniChannelTemplatesRequest, 'stack_one/models/operations/marketing_list_omni_channel_templates_request.rb' autoload :MarketingListOmniChannelTemplatesResponse, 'stack_one/models/operations/marketing_list_omni_channel_templates_response.rb' + autoload :MarketingListPushTemplatesQueryParamFilter, 'stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb' autoload :MarketingListPushTemplatesRequest, 'stack_one/models/operations/marketing_list_push_templates_request.rb' autoload :MarketingListPushTemplatesResponse, 'stack_one/models/operations/marketing_list_push_templates_response.rb' autoload :MarketingUpdateEmailTemplateRequest, 'stack_one/models/operations/marketing_update_email_template_request.rb' diff --git a/lib/stack_one/models/operations/ats_list_application_documents_request.rb b/lib/stack_one/models/operations/ats_list_application_documents_request.rb index 6752ee19..94c65fb6 100644 --- a/lib/stack_one/models/operations/ats_list_application_documents_request.rb +++ b/lib/stack_one/models/operations/ats_list_application_documents_request.rb @@ -17,8 +17,8 @@ class AtsListApplicationDocumentsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::Filter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -41,12 +41,12 @@ class AtsListApplicationDocumentsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::Filter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @id = id @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb b/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb index 1378f3bf..f1a54179 100644 --- a/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +++ b/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb @@ -17,8 +17,8 @@ class AtsListApplicationScorecardsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::QueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -41,12 +41,12 @@ class AtsListApplicationScorecardsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::QueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @id = id @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb new file mode 100644 index 00000000..de6a85da --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListApplicationsOffersQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_applications_offers_request.rb b/lib/stack_one/models/operations/ats_list_applications_offers_request.rb index e97fbcfc..08a3e039 100644 --- a/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +++ b/lib/stack_one/models/operations/ats_list_applications_offers_request.rb @@ -17,8 +17,8 @@ class AtsListApplicationsOffersRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListApplicationsOffersQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -41,12 +41,12 @@ class AtsListApplicationsOffersRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationsOffersQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @id = id @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb new file mode 100644 index 00000000..cf246523 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # ATS Application Filter + class AtsListApplicationsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Filter to select applications by job_id + field :job_id, T.nilable(::String), { 'query_param': { 'field_name': 'job_id' } } + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(job_id: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(job_id: nil, updated_after: nil) + @job_id = job_id + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_applications_request.rb b/lib/stack_one/models/operations/ats_list_applications_request.rb index e2d8f823..32a4fcaf 100644 --- a/lib/stack_one/models/operations/ats_list_applications_request.rb +++ b/lib/stack_one/models/operations/ats_list_applications_request.rb @@ -17,10 +17,8 @@ class AtsListApplicationsRequest < ::StackOne::Utils::FieldAugmented field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Filter to select applications by job_id - field :filter_job_id, T.nilable(::String), { 'query_param': { 'field_name': 'filter[job_id]', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # ATS Application Filter + field :filter, T.nilable(::StackOne::Operations::AtsListApplicationsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # Filter for job ID to retrieve a list of applications related to this job # # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. @@ -47,13 +45,12 @@ class AtsListApplicationsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter_job_id: T.nilable(::String), filter_updated_after: T.nilable(::String), job_id: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, expand: nil, fields_: nil, filter_job_id: nil, filter_updated_after: nil, job_id: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationsQueryParamFilter), job_id: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, job_id: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @expand = expand @fields_ = fields_ - @filter_job_id = filter_job_id - @filter_updated_after = filter_updated_after + @filter = filter @job_id = job_id @next_ = next_ @page = page diff --git a/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb new file mode 100644 index 00000000..f29bbff3 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListCandidateNotesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb b/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb index 88964cab..8d0a1753 100644 --- a/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +++ b/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb @@ -17,8 +17,8 @@ class AtsListCandidateNotesRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListCandidateNotesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -41,12 +41,12 @@ class AtsListCandidateNotesRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListCandidateNotesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @id = id @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb new file mode 100644 index 00000000..56c55ffa --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListCandidatesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_candidates_request.rb b/lib/stack_one/models/operations/ats_list_candidates_request.rb index 04b11489..65afe8d5 100644 --- a/lib/stack_one/models/operations/ats_list_candidates_request.rb +++ b/lib/stack_one/models/operations/ats_list_candidates_request.rb @@ -15,8 +15,8 @@ class AtsListCandidatesRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListCandidatesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListCandidatesRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListCandidatesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb new file mode 100644 index 00000000..90906889 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListDepartmentsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_departments_request.rb b/lib/stack_one/models/operations/ats_list_departments_request.rb index f37a198b..1f6e2861 100644 --- a/lib/stack_one/models/operations/ats_list_departments_request.rb +++ b/lib/stack_one/models/operations/ats_list_departments_request.rb @@ -15,8 +15,8 @@ class AtsListDepartmentsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListDepartmentsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListDepartmentsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListDepartmentsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb new file mode 100644 index 00000000..66d4c4cc --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListInterviewStagesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_interview_stages_request.rb b/lib/stack_one/models/operations/ats_list_interview_stages_request.rb index bdd230a2..9b0913a8 100644 --- a/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +++ b/lib/stack_one/models/operations/ats_list_interview_stages_request.rb @@ -15,8 +15,8 @@ class AtsListInterviewStagesRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListInterviewStagesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListInterviewStagesRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListInterviewStagesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb new file mode 100644 index 00000000..843f1f82 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListInterviewsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_interviews_request.rb b/lib/stack_one/models/operations/ats_list_interviews_request.rb index ba8220c3..afa66f02 100644 --- a/lib/stack_one/models/operations/ats_list_interviews_request.rb +++ b/lib/stack_one/models/operations/ats_list_interviews_request.rb @@ -15,8 +15,8 @@ class AtsListInterviewsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListInterviewsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListInterviewsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListInterviewsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb new file mode 100644 index 00000000..daa03ab8 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListJobPostingsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_job_postings_request.rb b/lib/stack_one/models/operations/ats_list_job_postings_request.rb index 9394250b..f69342e2 100644 --- a/lib/stack_one/models/operations/ats_list_job_postings_request.rb +++ b/lib/stack_one/models/operations/ats_list_job_postings_request.rb @@ -15,8 +15,8 @@ class AtsListJobPostingsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListJobPostingsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The comma separated list of fields that will be included in the response field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } } # The unified cursor @@ -41,11 +41,11 @@ class AtsListJobPostingsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobPostingsQueryParamFilter), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @include = include @next_ = next_ @page = page diff --git a/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb new file mode 100644 index 00000000..a06b4b06 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListJobsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_jobs_request.rb b/lib/stack_one/models/operations/ats_list_jobs_request.rb index 03d86ff9..7168b147 100644 --- a/lib/stack_one/models/operations/ats_list_jobs_request.rb +++ b/lib/stack_one/models/operations/ats_list_jobs_request.rb @@ -17,8 +17,8 @@ class AtsListJobsRequest < ::StackOne::Utils::FieldAugmented field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -41,12 +41,12 @@ class AtsListJobsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, expand: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @expand = expand @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb new file mode 100644 index 00000000..2e3ec478 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListLocationsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_locations_request.rb b/lib/stack_one/models/operations/ats_list_locations_request.rb index 724fbf76..e1b411cc 100644 --- a/lib/stack_one/models/operations/ats_list_locations_request.rb +++ b/lib/stack_one/models/operations/ats_list_locations_request.rb @@ -15,8 +15,8 @@ class AtsListLocationsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListLocationsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListLocationsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListLocationsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb new file mode 100644 index 00000000..c3d6b5ae --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListOffersQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_offers_request.rb b/lib/stack_one/models/operations/ats_list_offers_request.rb index a351291a..64226466 100644 --- a/lib/stack_one/models/operations/ats_list_offers_request.rb +++ b/lib/stack_one/models/operations/ats_list_offers_request.rb @@ -15,8 +15,8 @@ class AtsListOffersRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListOffersQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListOffersRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListOffersQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb new file mode 100644 index 00000000..3d5a8217 --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListRejectedReasonsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb b/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb index c5147656..178a3250 100644 --- a/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +++ b/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb @@ -15,8 +15,8 @@ class AtsListRejectedReasonsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListRejectedReasonsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListRejectedReasonsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListRejectedReasonsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb b/lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb new file mode 100644 index 00000000..0e9110ab --- /dev/null +++ b/lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class AtsListUsersQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/ats_list_users_request.rb b/lib/stack_one/models/operations/ats_list_users_request.rb index c200e7f1..f969ec5e 100644 --- a/lib/stack_one/models/operations/ats_list_users_request.rb +++ b/lib/stack_one/models/operations/ats_list_users_request.rb @@ -15,8 +15,8 @@ class AtsListUsersRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::AtsListUsersQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -39,11 +39,11 @@ class AtsListUsersRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListUsersQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb b/lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb new file mode 100644 index 00000000..99113f33 --- /dev/null +++ b/lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class CrmListAccountsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/crm_list_accounts_request.rb b/lib/stack_one/models/operations/crm_list_accounts_request.rb index 7a1907fc..ea01e1b5 100644 --- a/lib/stack_one/models/operations/crm_list_accounts_request.rb +++ b/lib/stack_one/models/operations/crm_list_accounts_request.rb @@ -15,8 +15,8 @@ class CrmListAccountsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::CrmListAccountsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class CrmListAccountsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::CrmListAccountsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb b/lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb new file mode 100644 index 00000000..617799b2 --- /dev/null +++ b/lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class CrmListContactsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/crm_list_contacts_request.rb b/lib/stack_one/models/operations/crm_list_contacts_request.rb index 076f2f24..a7196768 100644 --- a/lib/stack_one/models/operations/crm_list_contacts_request.rb +++ b/lib/stack_one/models/operations/crm_list_contacts_request.rb @@ -15,8 +15,8 @@ class CrmListContactsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::CrmListContactsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The comma separated list of fields that will be included in the response field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } } # The unified cursor @@ -37,11 +37,11 @@ class CrmListContactsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::CrmListContactsQueryParamFilter), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @include = include @next_ = next_ @page = page diff --git a/lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb b/lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb new file mode 100644 index 00000000..17a6093f --- /dev/null +++ b/lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class CrmListListsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/crm_list_lists_request.rb b/lib/stack_one/models/operations/crm_list_lists_request.rb index 4d49c76b..0f47df93 100644 --- a/lib/stack_one/models/operations/crm_list_lists_request.rb +++ b/lib/stack_one/models/operations/crm_list_lists_request.rb @@ -15,8 +15,8 @@ class CrmListListsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::CrmListListsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class CrmListListsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::CrmListListsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/filter.rb b/lib/stack_one/models/operations/filter.rb new file mode 100644 index 00000000..180448a5 --- /dev/null +++ b/lib/stack_one/models/operations/filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class Filter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb new file mode 100644 index 00000000..46349773 --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListBenefitsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_benefits_request.rb b/lib/stack_one/models/operations/hris_list_benefits_request.rb index e48a81ae..ea3b32fc 100644 --- a/lib/stack_one/models/operations/hris_list_benefits_request.rb +++ b/lib/stack_one/models/operations/hris_list_benefits_request.rb @@ -15,8 +15,8 @@ class HrisListBenefitsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListBenefitsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class HrisListBenefitsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListBenefitsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb new file mode 100644 index 00000000..e8cb9d81 --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListCompaniesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_companies_request.rb b/lib/stack_one/models/operations/hris_list_companies_request.rb index 00fee36b..fd3073b8 100644 --- a/lib/stack_one/models/operations/hris_list_companies_request.rb +++ b/lib/stack_one/models/operations/hris_list_companies_request.rb @@ -15,8 +15,8 @@ class HrisListCompaniesRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListCompaniesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class HrisListCompaniesRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListCompaniesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb new file mode 100644 index 00000000..96de0a11 --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListEmployeeDocumentsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_employee_documents_request.rb b/lib/stack_one/models/operations/hris_list_employee_documents_request.rb index a479af22..0dcb35cc 100644 --- a/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +++ b/lib/stack_one/models/operations/hris_list_employee_documents_request.rb @@ -17,8 +17,8 @@ class HrisListEmployeeDocumentsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListEmployeeDocumentsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -37,12 +37,12 @@ class HrisListEmployeeDocumentsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmployeeDocumentsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @id = id @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb new file mode 100644 index 00000000..a3073614 --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListEmployeeTimeOffRequestsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb b/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb index 9e7d3c15..a6007607 100644 --- a/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +++ b/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb @@ -17,8 +17,8 @@ class HrisListEmployeeTimeOffRequestsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -37,12 +37,12 @@ class HrisListEmployeeTimeOffRequestsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @id = id @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb new file mode 100644 index 00000000..dbf24d2e --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListEmployeeWorkEligibilityQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb b/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb index 32722117..c9e6c836 100644 --- a/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +++ b/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb @@ -17,8 +17,8 @@ class HrisListEmployeeWorkEligibilityRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -37,12 +37,12 @@ class HrisListEmployeeWorkEligibilityRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmployeeWorkEligibilityQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @id = id @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb new file mode 100644 index 00000000..9906be59 --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb @@ -0,0 +1,27 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # HRIS Employees filters + class HrisListEmployeesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Filter to select employees by employee_number + field :employee_number, T.nilable(::String), { 'query_param': { 'field_name': 'employee_number' } } + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(employee_number: T.nilable(::String), updated_after: T.nilable(::String)).void } + def initialize(employee_number: nil, updated_after: nil) + @employee_number = employee_number + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_employees_request.rb b/lib/stack_one/models/operations/hris_list_employees_request.rb index af550d73..3db69ffd 100644 --- a/lib/stack_one/models/operations/hris_list_employees_request.rb +++ b/lib/stack_one/models/operations/hris_list_employees_request.rb @@ -17,10 +17,8 @@ class HrisListEmployeesRequest < ::StackOne::Utils::FieldAugmented field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Filter to select employees by employee_number - field :filter_employee_number, T.nilable(::String), { 'query_param': { 'field_name': 'filter[employee_number]', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # HRIS Employees filters + field :filter, T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The comma separated list of fields that will be included in the response field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } } # The unified cursor @@ -41,13 +39,12 @@ class HrisListEmployeesRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter_employee_number: T.nilable(::String), filter_updated_after: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, expand: nil, fields_: nil, filter_employee_number: nil, filter_updated_after: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmployeesQueryParamFilter), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @expand = expand @fields_ = fields_ - @filter_employee_number = filter_employee_number - @filter_updated_after = filter_updated_after + @filter = filter @include = include @next_ = next_ @page = page diff --git a/lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb new file mode 100644 index 00000000..f0124f5e --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListEmploymentsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_employments_request.rb b/lib/stack_one/models/operations/hris_list_employments_request.rb index 3fba075a..20ebbc37 100644 --- a/lib/stack_one/models/operations/hris_list_employments_request.rb +++ b/lib/stack_one/models/operations/hris_list_employments_request.rb @@ -17,8 +17,8 @@ class HrisListEmploymentsRequest < ::StackOne::Utils::FieldAugmented field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListEmploymentsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -37,12 +37,12 @@ class HrisListEmploymentsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, expand: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmploymentsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @expand = expand @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb new file mode 100644 index 00000000..bd9ee82e --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListGroupsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_groups_request.rb b/lib/stack_one/models/operations/hris_list_groups_request.rb index a43a2dd1..e2f1ecbd 100644 --- a/lib/stack_one/models/operations/hris_list_groups_request.rb +++ b/lib/stack_one/models/operations/hris_list_groups_request.rb @@ -15,8 +15,8 @@ class HrisListGroupsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListGroupsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class HrisListGroupsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListGroupsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb new file mode 100644 index 00000000..f304c432 --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListLocationsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_locations_request.rb b/lib/stack_one/models/operations/hris_list_locations_request.rb index 77c7e9f5..6ec01042 100644 --- a/lib/stack_one/models/operations/hris_list_locations_request.rb +++ b/lib/stack_one/models/operations/hris_list_locations_request.rb @@ -15,8 +15,8 @@ class HrisListLocationsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListLocationsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class HrisListLocationsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListLocationsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb b/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb new file mode 100644 index 00000000..bad9fa2c --- /dev/null +++ b/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class HrisListTimeOffRequestsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb b/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb index e904bdd6..a7371766 100644 --- a/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +++ b/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb @@ -15,8 +15,8 @@ class HrisListTimeOffRequestsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::HrisListTimeOffRequestsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class HrisListTimeOffRequestsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListTimeOffRequestsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb b/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb new file mode 100644 index 00000000..bb90e8f8 --- /dev/null +++ b/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class MarketingListCampaignsQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/marketing_list_campaigns_request.rb b/lib/stack_one/models/operations/marketing_list_campaigns_request.rb index 289de670..38a6ff26 100644 --- a/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +++ b/lib/stack_one/models/operations/marketing_list_campaigns_request.rb @@ -15,8 +15,8 @@ class MarketingListCampaignsRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::MarketingListCampaignsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class MarketingListCampaignsRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::MarketingListCampaignsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb b/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb new file mode 100644 index 00000000..b321e5aa --- /dev/null +++ b/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class MarketingListEmailTemplatesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/marketing_list_email_templates_request.rb b/lib/stack_one/models/operations/marketing_list_email_templates_request.rb index 33ec4008..2285de09 100644 --- a/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +++ b/lib/stack_one/models/operations/marketing_list_email_templates_request.rb @@ -15,8 +15,8 @@ class MarketingListEmailTemplatesRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::MarketingListEmailTemplatesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class MarketingListEmailTemplatesRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::MarketingListEmailTemplatesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb b/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb new file mode 100644 index 00000000..fdfdc8e9 --- /dev/null +++ b/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class MarketingListOmniChannelTemplatesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb b/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb index 9e82f469..e634bb5e 100644 --- a/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +++ b/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb @@ -15,8 +15,8 @@ class MarketingListOmniChannelTemplatesRequest < ::StackOne::Utils::FieldAugment field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class MarketingListOmniChannelTemplatesRequest < ::StackOne::Utils::FieldAugment field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::MarketingListOmniChannelTemplatesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb b/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb new file mode 100644 index 00000000..08fb9d0a --- /dev/null +++ b/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class MarketingListPushTemplatesQueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/operations/marketing_list_push_templates_request.rb b/lib/stack_one/models/operations/marketing_list_push_templates_request.rb index 3ce6d627..93e10571 100644 --- a/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +++ b/lib/stack_one/models/operations/marketing_list_push_templates_request.rb @@ -15,8 +15,8 @@ class MarketingListPushTemplatesRequest < ::StackOne::Utils::FieldAugmented field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } } # The comma separated list of fields that will be returned in the response (if empty, all fields are returned) field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } } - # Use a string with a date to only select results updated after that given date - field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } } + # Filter parameters that allow greater customisation of the list response + field :filter, T.nilable(::StackOne::Operations::MarketingListPushTemplatesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } } # The unified cursor field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } } # The page number of the results to fetch @@ -35,11 +35,11 @@ class MarketingListPushTemplatesRequest < ::StackOne::Utils::FieldAugmented field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } } - sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } - def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) + sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::MarketingListPushTemplatesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void } + def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil) @x_account_id = x_account_id @fields_ = fields_ - @filter_updated_after = filter_updated_after + @filter = filter @next_ = next_ @page = page @page_size = page_size diff --git a/lib/stack_one/models/operations/queryparam_filter.rb b/lib/stack_one/models/operations/queryparam_filter.rb new file mode 100644 index 00000000..d951880a --- /dev/null +++ b/lib/stack_one/models/operations/queryparam_filter.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module StackOne + module Operations + + # Filter parameters that allow greater customisation of the list response + class QueryParamFilter < ::StackOne::Utils::FieldAugmented + extend T::Sig + + # Use a string with a date to only select results updated after that given date + field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } } + + + sig { params(updated_after: T.nilable(::String)).void } + def initialize(updated_after: nil) + @updated_after = updated_after + end + end + end +end diff --git a/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb b/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb index f56f6f39..b3d24e1c 100644 --- a/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +++ b/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb @@ -21,19 +21,22 @@ class AtsCreateApplicationRequestDto < ::StackOne::Utils::FieldAugmented field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } } # Unique identifier of the location field :location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # Questionnaires associated with the application field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } } # Source of the application field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } } - 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 } - def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, questionnaires: nil, source: nil) + 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 } + def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, passthrough: nil, questionnaires: nil, source: nil) @application_status = application_status @candidate = candidate @candidate_id = candidate_id @job_id = job_id @location_id = location_id + @passthrough = passthrough @questionnaires = questionnaires @source = source end diff --git a/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb b/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb index 8b1dcb33..acf7a92a 100644 --- a/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +++ b/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb @@ -25,6 +25,8 @@ class AtsCreateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmente field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } } # Candidate name field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # The candidate personal phone number field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } } # List of candidate social links @@ -33,8 +35,8 @@ class AtsCreateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmente field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } - 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 } - 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) + 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 } + 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) @company = company @country = country @email = email @@ -42,6 +44,7 @@ def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at @hired_at = hired_at @last_name = last_name @name = name + @passthrough = passthrough @phone_number = phone_number @social_links = social_links @title = title diff --git a/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb b/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb index a0881659..f1434fa6 100644 --- a/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +++ b/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb @@ -25,6 +25,8 @@ class AtsCreateCandidateRequestDto < ::StackOne::Utils::FieldAugmented field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } } # Candidate name field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # The candidate personal phone number field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } } # List of candidate social links @@ -33,8 +35,8 @@ class AtsCreateCandidateRequestDto < ::StackOne::Utils::FieldAugmented field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } - 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 } - 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) + 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 } + 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) @company = company @country = country @email = email @@ -42,6 +44,7 @@ def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at @hired_at = hired_at @last_name = last_name @name = name + @passthrough = passthrough @phone_number = phone_number @social_links = social_links @title = title diff --git a/lib/stack_one/models/shared/atscreatenotesrequestdto.rb b/lib/stack_one/models/shared/atscreatenotesrequestdto.rb index 54455053..4521c3f8 100644 --- a/lib/stack_one/models/shared/atscreatenotesrequestdto.rb +++ b/lib/stack_one/models/shared/atscreatenotesrequestdto.rb @@ -15,14 +15,17 @@ class AtsCreateNotesRequestDto < ::StackOne::Utils::FieldAugmented field :author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author_id') } } field :content, T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # Visibility of the note field :visibility, T.nilable(::StackOne::Shared::Visibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } } - sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), visibility: T.nilable(::StackOne::Shared::Visibility)).void } - def initialize(author_id: nil, content: nil, visibility: nil) + 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 } + def initialize(author_id: nil, content: nil, passthrough: nil, visibility: nil) @author_id = author_id @content = content + @passthrough = passthrough @visibility = visibility end end diff --git a/lib/stack_one/models/shared/atscreateofferrequestdto.rb b/lib/stack_one/models/shared/atscreateofferrequestdto.rb index 6ec0bf9e..c397d960 100644 --- a/lib/stack_one/models/shared/atscreateofferrequestdto.rb +++ b/lib/stack_one/models/shared/atscreateofferrequestdto.rb @@ -19,18 +19,21 @@ class AtsCreateOfferRequestDto < ::StackOne::Utils::FieldAugmented field :offer_history, T.nilable(T::Array[::StackOne::Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } } field :offer_status, T.nilable(::StackOne::Shared::OfferStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } } # Date of creation field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } } - 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 } - def initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, salary: nil, start_date: nil) + 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 } + def initialize(application_id: nil, currency: nil, offer_history: nil, offer_status: nil, passthrough: nil, salary: nil, start_date: nil) @application_id = application_id @currency = currency @offer_history = offer_history @offer_status = offer_status + @passthrough = passthrough @salary = salary @start_date = start_date end diff --git a/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb b/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb index 0dc6709d..ef978ed1 100644 --- a/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +++ b/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb @@ -15,16 +15,21 @@ class AtsUpdateApplicationRequestDto < ::StackOne::Utils::FieldAugmented field :application_status, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } } # Unique identifier of the interview stage field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } } - # Unique identifier of the rejection reason + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } + # Unique identifier of the rejection reason, used only for write operations + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } } # Source of the application field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } } - 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 } - def initialize(application_status: nil, interview_stage_id: nil, rejected_reason_id: nil, source: nil) + 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 } + def initialize(application_status: nil, interview_stage_id: nil, passthrough: nil, rejected_reason_id: nil, source: nil) @application_status = application_status @interview_stage_id = interview_stage_id + @passthrough = passthrough @rejected_reason_id = rejected_reason_id @source = source end diff --git a/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb b/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb index beaa3a34..2d34f382 100644 --- a/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +++ b/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb @@ -25,28 +25,26 @@ class AtsUpdateCandidateRequestDto < ::StackOne::Utils::FieldAugmented field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } } # Candidate hired date field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - # Unique identifier - field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # Candidate last name field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } } # Candidate name field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # Candidate phone number # # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } } # List of candidate phone numbers including the type of the number when available field :phone_numbers, T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } } - # Provider's unique identifier - field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } # List of candidate social links field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } } # Candidate title field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } } - 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 } - 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) + 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 } + 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) @application_ids = application_ids @company = company @country = country @@ -54,12 +52,11 @@ def initialize(application_ids: nil, company: nil, country: nil, email: nil, ema @emails = emails @first_name = first_name @hired_at = hired_at - @id = id @last_name = last_name @name = name + @passthrough = passthrough @phone = phone @phone_numbers = phone_numbers - @remote_id = remote_id @social_links = social_links @title = title end diff --git a/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb b/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb index 1cc92e31..1b4d991c 100644 --- a/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +++ b/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb @@ -23,18 +23,21 @@ class CrmCreateContactRequestDto < ::StackOne::Utils::FieldAugmented field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } } # The contact last name field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # List of contact phone numbers field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } } - 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 } - def initialize(account_ids: nil, company_name: nil, deal_ids: nil, emails: nil, first_name: nil, last_name: nil, phone_numbers: nil) + 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 } + def initialize(account_ids: nil, company_name: nil, deal_ids: nil, emails: nil, first_name: nil, last_name: nil, passthrough: nil, phone_numbers: nil) @account_ids = account_ids @company_name = company_name @deal_ids = deal_ids @emails = emails @first_name = first_name @last_name = last_name + @passthrough = passthrough @phone_numbers = phone_numbers end end diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb index 357c0534..5e6c91c9 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb @@ -59,6 +59,8 @@ class HrisCreateEmployeeRequestDto < ::StackOne::Utils::FieldAugmented field :marital_status, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('marital_status') } } # The employee name field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # The employee personal email field :personal_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } } # The employee personal phone number @@ -81,8 +83,8 @@ class HrisCreateEmployeeRequestDto < ::StackOne::Utils::FieldAugmented field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } } - 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 } - 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) + 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 } + 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) @avatar = avatar @avatar_url = avatar_url @benefits = benefits @@ -107,6 +109,7 @@ def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citiz @manager_id = manager_id @marital_status = marital_status @name = name + @passthrough = passthrough @personal_email = personal_email @personal_phone_number = personal_phone_number @preferred_language = preferred_language diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb index ac1392cf..6b79ae80 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb @@ -17,6 +17,8 @@ class HrisCreateEmployeeRequestDtoHomeLocation < ::StackOne::Utils::FieldAugment field :country, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoCountry), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } } # The name of the location field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # The phone number of the location field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } } # The ISO3166-2 sub division where the location is situated @@ -29,11 +31,12 @@ class HrisCreateEmployeeRequestDtoHomeLocation < ::StackOne::Utils::FieldAugment field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } } - 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 } - def initialize(city: nil, country: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil) + 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 } + def initialize(city: nil, country: nil, name: nil, passthrough: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil) @city = city @country = country @name = name + @passthrough = passthrough @phone_number = phone_number @state = state @street_1 = street_1 diff --git a/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb b/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb index a51ba64d..75f7940f 100644 --- a/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +++ b/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb @@ -17,6 +17,8 @@ class HrisCreateEmployeeRequestDtoWorkLocation < ::StackOne::Utils::FieldAugment field :country, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasCountry), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } } # The name of the location field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # The phone number of the location field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } } # The ISO3166-2 sub division where the location is situated @@ -29,11 +31,12 @@ class HrisCreateEmployeeRequestDtoWorkLocation < ::StackOne::Utils::FieldAugment field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } } - 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 } - def initialize(city: nil, country: nil, name: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil) + 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 } + def initialize(city: nil, country: nil, name: nil, passthrough: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil) @city = city @country = country @name = name + @passthrough = passthrough @phone_number = phone_number @state = state @street_1 = street_1 diff --git a/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb b/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb index 6cedaca9..478b6135 100644 --- a/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +++ b/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb @@ -17,6 +17,8 @@ class HrisCreateTimeOffRequestDto < ::StackOne::Utils::FieldAugmented field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } } # The end date of the time off request field :end_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_date'), 'decoder': Utils.datetime_from_iso_format(true) } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } # The start date of the time off request field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } } # The status of the time off request @@ -25,11 +27,12 @@ class HrisCreateTimeOffRequestDto < ::StackOne::Utils::FieldAugmented field :type, T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } - 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 } - def initialize(approver_id: nil, employee_id: nil, end_date: nil, start_date: nil, status: nil, type: nil) + 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 } + def initialize(approver_id: nil, employee_id: nil, end_date: nil, passthrough: nil, start_date: nil, status: nil, type: nil) @approver_id = approver_id @employee_id = employee_id @end_date = end_date + @passthrough = passthrough @start_date = start_date @status = status @type = type diff --git a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb index cafc9f3f..64f2752a 100644 --- a/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +++ b/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb @@ -17,6 +17,8 @@ class HrisCreateWorkEligibilityRequestDto < ::StackOne::Utils::FieldAugmented field :issued_by, T.nilable(::StackOne::Shared::IssuedBy), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('issued_by') } } field :number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('number') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } field :sub_type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('sub_type') } } @@ -27,11 +29,12 @@ class HrisCreateWorkEligibilityRequestDto < ::StackOne::Utils::FieldAugmented field :valid_to, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('valid_to'), 'decoder': Utils.datetime_from_iso_format(true) } } - 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 } - def initialize(document: nil, issued_by: nil, number: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil) + 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 } + def initialize(document: nil, issued_by: nil, number: nil, passthrough: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil) @document = document @issued_by = issued_by @number = number + @passthrough = passthrough @sub_type = sub_type @type = type @valid_from = valid_from diff --git a/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb b/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb index d28c99b4..d9c3e3ea 100644 --- a/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +++ b/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb @@ -11,24 +11,21 @@ module Shared class MarketingCreateEmailTemplateRequestDto < ::StackOne::Utils::FieldAugmented extend T::Sig - # Unique identifier - field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } field :messages, T.nilable(T::Array[::StackOne::Shared::EmailMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } } field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } - # Provider's unique identifier - field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } } - 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 } - def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil) - @id = id + 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 } + def initialize(messages: nil, name: nil, passthrough: nil, tags: nil) @messages = messages @name = name - @remote_id = remote_id + @passthrough = passthrough @tags = tags end end diff --git a/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb b/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb index 79903c79..969278bb 100644 --- a/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +++ b/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb @@ -11,24 +11,21 @@ module Shared class MarketingCreatePushTemplateRequestDto < ::StackOne::Utils::FieldAugmented extend T::Sig - # Unique identifier - field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } field :messages, T.nilable(T::Array[::StackOne::Shared::PushMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } } field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } - # Provider's unique identifier - field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } } - 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 } - def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil) - @id = id + 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 } + def initialize(messages: nil, name: nil, passthrough: nil, tags: nil) @messages = messages @name = name - @remote_id = remote_id + @passthrough = passthrough @tags = tags end end diff --git a/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb b/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb index 3a36d604..1d27c9e2 100644 --- a/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +++ b/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb @@ -11,24 +11,21 @@ module Shared class MarketingCreateTemplateRequestDto < ::StackOne::Utils::FieldAugmented extend T::Sig - # Unique identifier - field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } field :messages, T.nilable(T::Array[::StackOne::Shared::Message]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } } field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } - # Provider's unique identifier - field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } + # Value to pass through to the provider + field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } } field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } } - 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 } - def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil) - @id = id + 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 } + def initialize(messages: nil, name: nil, passthrough: nil, tags: nil) @messages = messages @name = name - @remote_id = remote_id + @passthrough = passthrough @tags = tags end end diff --git a/lib/stack_one/sdkconfiguration.rb b/lib/stack_one/sdkconfiguration.rb index 270b8b66..314f8808 100644 --- a/lib/stack_one/sdkconfiguration.rb +++ b/lib/stack_one/sdkconfiguration.rb @@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx) @security = security @language = 'ruby' @openapi_doc_version = '1.0.0' - @sdk_version = '0.2.21' + @sdk_version = '0.2.22' @gen_version = '2.332.4' - @user_agent = 'speakeasy-sdk/ruby 0.2.21 2.332.4 1.0.0 stackone_client' + @user_agent = 'speakeasy-sdk/ruby 0.2.22 2.332.4 1.0.0 stackone_client' end sig { returns([String, T::Hash[Symbol, String]]) } diff --git a/stackone_client.gemspec b/stackone_client.gemspec index 71e662d8..5e710659 100644 --- a/stackone_client.gemspec +++ b/stackone_client.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'stackone_client' - s.version = '0.2.21' + s.version = '0.2.22' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = ''