stackone_client 0.2.13 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/ats.rb +8 -8
- data/lib/stack_one/hris.rb +83 -12
- data/lib/stack_one/marketing.rb +12 -12
- data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_create_offer_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_document_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +13 -3
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_users_request.rb +8 -3
- data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +8 -3
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +8 -3
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_create_employee_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_group_request.rb +36 -0
- data/lib/stack_one/models/operations/hris_get_group_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +11 -3
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_groups_request.rb +52 -0
- data/lib/stack_one/models/operations/hris_list_groups_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_update_employee_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +4 -4
- data/lib/stack_one/models/operations.rb +4 -0
- data/lib/stack_one/models/shared/application_value.rb +5 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +5 -0
- data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +2 -0
- data/lib/stack_one/models/shared/atsdocumentresult.rb +27 -0
- data/lib/stack_one/models/shared/atsdocumentspaginated.rb +33 -0
- data/lib/stack_one/models/shared/confidential.rb +1 -1
- data/lib/stack_one/models/shared/content_value.rb +1 -0
- data/lib/stack_one/models/shared/createresult.rb +5 -2
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +27 -0
- data/lib/stack_one/models/shared/employeecustomfields.rb +3 -3
- data/lib/stack_one/models/shared/employeecustomfields_type.rb +2 -2
- data/lib/stack_one/models/shared/employeecustomfields_value.rb +10 -7
- data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +16 -7
- data/lib/stack_one/models/shared/hrisgroup.rb +36 -0
- data/lib/stack_one/models/shared/hrisgroup_type.rb +27 -0
- data/lib/stack_one/models/shared/{employeecustomfields_schemas_value.rb → hrisgroup_value.rb} +5 -6
- data/lib/stack_one/models/shared/hrisgroupspaginated.rb +33 -0
- data/lib/stack_one/models/shared/hrisgroupsresult.rb +27 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/jobresult.rb +4 -4
- data/lib/stack_one/models/shared/linkedaccount.rb +2 -5
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1 -0
- data/lib/stack_one/models/shared.rb +14 -13
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +14 -9
- data/lib/stack_one/models/shared/createcandidatenoteresult.rb +0 -30
- data/lib/stack_one/models/shared/createemployeeresult.rb +0 -30
- data/lib/stack_one/models/shared/createofferresult.rb +0 -30
- data/lib/stack_one/models/shared/createtemplateresult.rb +0 -30
- data/lib/stack_one/models/shared/createtimeoffresult.rb +0 -30
- data/lib/stack_one/models/shared/createworkeligibilityresult.rb +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 809215b59c20f45a26abd8696774aa50590a5b812620ec6d60c81ef05534af2a
|
4
|
+
data.tar.gz: 54e245697f54b76c941b034376c685cfa236f67e5032640823efa60c82ce2715
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4a3352cfad52f9ca565a1b6f84e38f7e4553452a23f7a4dd0612cfc844fd160a8b6da5b27ef64a3c8579c6072611c46ceb091e10cf00889bfa9587d906b0a36
|
7
|
+
data.tar.gz: f04854a874109174c018dbb62430ab7c79a2d02a72e7931fa47e501965f9706e3593e55a7220afbc3912238bcedb287760475d0f71f8c394765f83dc90fa75bb
|
data/lib/stack_one/ats.rb
CHANGED
@@ -154,8 +154,8 @@ module StackOne
|
|
154
154
|
)
|
155
155
|
if r.status == 201
|
156
156
|
if Utils.match_content_type(content_type, 'application/json')
|
157
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
158
|
-
res.
|
157
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
158
|
+
res.create_result = out
|
159
159
|
end
|
160
160
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
161
161
|
end
|
@@ -200,8 +200,8 @@ module StackOne
|
|
200
200
|
)
|
201
201
|
if r.status == 200
|
202
202
|
if Utils.match_content_type(content_type, 'application/json')
|
203
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
204
|
-
res.
|
203
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
204
|
+
res.create_result = out
|
205
205
|
end
|
206
206
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
207
207
|
end
|
@@ -319,8 +319,8 @@ module StackOne
|
|
319
319
|
)
|
320
320
|
if r.status == 200
|
321
321
|
if Utils.match_content_type(content_type, 'application/json')
|
322
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
323
|
-
res.
|
322
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::AtsDocumentResult)
|
323
|
+
res.ats_document_result = out
|
324
324
|
end
|
325
325
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
326
326
|
end
|
@@ -851,8 +851,8 @@ module StackOne
|
|
851
851
|
)
|
852
852
|
if r.status == 200
|
853
853
|
if Utils.match_content_type(content_type, 'application/json')
|
854
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
855
|
-
res.
|
854
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::AtsDocumentsPaginated)
|
855
|
+
res.ats_documents_paginated = out
|
856
856
|
end
|
857
857
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
858
858
|
end
|
data/lib/stack_one/hris.rb
CHANGED
@@ -56,8 +56,8 @@ module StackOne
|
|
56
56
|
)
|
57
57
|
if r.status == 201
|
58
58
|
if Utils.match_content_type(content_type, 'application/json')
|
59
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
60
|
-
res.
|
59
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
60
|
+
res.create_result = out
|
61
61
|
end
|
62
62
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
63
63
|
end
|
@@ -108,8 +108,8 @@ module StackOne
|
|
108
108
|
)
|
109
109
|
if r.status == 201
|
110
110
|
if Utils.match_content_type(content_type, 'application/json')
|
111
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
112
|
-
res.
|
111
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
112
|
+
res.create_result = out
|
113
113
|
end
|
114
114
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
115
115
|
end
|
@@ -160,8 +160,8 @@ module StackOne
|
|
160
160
|
)
|
161
161
|
if r.status == 201
|
162
162
|
if Utils.match_content_type(content_type, 'application/json')
|
163
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
164
|
-
res.
|
163
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
164
|
+
res.create_result = out
|
165
165
|
end
|
166
166
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
167
167
|
end
|
@@ -206,8 +206,8 @@ module StackOne
|
|
206
206
|
)
|
207
207
|
if r.status == 201
|
208
208
|
if Utils.match_content_type(content_type, 'application/json')
|
209
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
210
|
-
res.
|
209
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
210
|
+
res.create_result = out
|
211
211
|
end
|
212
212
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
213
213
|
end
|
@@ -524,6 +524,44 @@ module StackOne
|
|
524
524
|
end
|
525
525
|
|
526
526
|
|
527
|
+
sig { params(request: T.nilable(::StackOne::Operations::HrisGetGroupRequest)).returns(::StackOne::Operations::HrisGetGroupResponse) }
|
528
|
+
def get_group(request)
|
529
|
+
# get_group - Get Group
|
530
|
+
url, params = @sdk_configuration.get_server_details
|
531
|
+
base_url = Utils.template_url(url, params)
|
532
|
+
url = Utils.generate_url(
|
533
|
+
::StackOne::Operations::HrisGetGroupRequest,
|
534
|
+
base_url,
|
535
|
+
'/unified/hris/groups/{id}',
|
536
|
+
request
|
537
|
+
)
|
538
|
+
headers = Utils.get_headers(request)
|
539
|
+
query_params = Utils.get_query_params(::StackOne::Operations::HrisGetGroupRequest, request)
|
540
|
+
headers['Accept'] = 'application/json'
|
541
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
542
|
+
|
543
|
+
r = @sdk_configuration.client.get(url) do |req|
|
544
|
+
req.headers = headers
|
545
|
+
req.params = query_params
|
546
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
547
|
+
end
|
548
|
+
|
549
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
550
|
+
|
551
|
+
res = ::StackOne::Operations::HrisGetGroupResponse.new(
|
552
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
553
|
+
)
|
554
|
+
if r.status == 200
|
555
|
+
if Utils.match_content_type(content_type, 'application/json')
|
556
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::HRISGroupsResult)
|
557
|
+
res.hris_groups_result = out
|
558
|
+
end
|
559
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
560
|
+
end
|
561
|
+
res
|
562
|
+
end
|
563
|
+
|
564
|
+
|
527
565
|
sig { params(request: T.nilable(::StackOne::Operations::HrisGetLocationRequest)).returns(::StackOne::Operations::HrisGetLocationResponse) }
|
528
566
|
def get_location(request)
|
529
567
|
# get_location - Get Location
|
@@ -846,6 +884,39 @@ module StackOne
|
|
846
884
|
end
|
847
885
|
|
848
886
|
|
887
|
+
sig { params(request: T.nilable(::StackOne::Operations::HrisListGroupsRequest)).returns(::StackOne::Operations::HrisListGroupsResponse) }
|
888
|
+
def list_groups(request)
|
889
|
+
# list_groups - List Groups
|
890
|
+
url, params = @sdk_configuration.get_server_details
|
891
|
+
base_url = Utils.template_url(url, params)
|
892
|
+
url = "#{base_url}/unified/hris/groups"
|
893
|
+
headers = Utils.get_headers(request)
|
894
|
+
query_params = Utils.get_query_params(::StackOne::Operations::HrisListGroupsRequest, request)
|
895
|
+
headers['Accept'] = 'application/json'
|
896
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
897
|
+
|
898
|
+
r = @sdk_configuration.client.get(url) do |req|
|
899
|
+
req.headers = headers
|
900
|
+
req.params = query_params
|
901
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
902
|
+
end
|
903
|
+
|
904
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
905
|
+
|
906
|
+
res = ::StackOne::Operations::HrisListGroupsResponse.new(
|
907
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
908
|
+
)
|
909
|
+
if r.status == 200
|
910
|
+
if Utils.match_content_type(content_type, 'application/json')
|
911
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::HRISGroupsPaginated)
|
912
|
+
res.hris_groups_paginated = out
|
913
|
+
end
|
914
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
915
|
+
end
|
916
|
+
res
|
917
|
+
end
|
918
|
+
|
919
|
+
|
849
920
|
sig { params(request: T.nilable(::StackOne::Operations::HrisListLocationsRequest)).returns(::StackOne::Operations::HrisListLocationsResponse) }
|
850
921
|
def list_locations(request)
|
851
922
|
# list_locations - List locations
|
@@ -955,8 +1026,8 @@ module StackOne
|
|
955
1026
|
)
|
956
1027
|
if r.status == 200
|
957
1028
|
if Utils.match_content_type(content_type, 'application/json')
|
958
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
959
|
-
res.
|
1029
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
1030
|
+
res.create_result = out
|
960
1031
|
end
|
961
1032
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
962
1033
|
end
|
@@ -1054,8 +1125,8 @@ module StackOne
|
|
1054
1125
|
)
|
1055
1126
|
if r.status == 200
|
1056
1127
|
if Utils.match_content_type(content_type, 'application/json')
|
1057
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
1058
|
-
res.
|
1128
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
1129
|
+
res.create_result = out
|
1059
1130
|
end
|
1060
1131
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1061
1132
|
end
|
data/lib/stack_one/marketing.rb
CHANGED
@@ -56,8 +56,8 @@ module StackOne
|
|
56
56
|
)
|
57
57
|
if r.status == 201
|
58
58
|
if Utils.match_content_type(content_type, 'application/json')
|
59
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
60
|
-
res.
|
59
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
60
|
+
res.create_result = out
|
61
61
|
end
|
62
62
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
63
63
|
end
|
@@ -102,8 +102,8 @@ module StackOne
|
|
102
102
|
)
|
103
103
|
if r.status == 201
|
104
104
|
if Utils.match_content_type(content_type, 'application/json')
|
105
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
106
|
-
res.
|
105
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
106
|
+
res.create_result = out
|
107
107
|
end
|
108
108
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
109
109
|
end
|
@@ -148,8 +148,8 @@ module StackOne
|
|
148
148
|
)
|
149
149
|
if r.status == 201
|
150
150
|
if Utils.match_content_type(content_type, 'application/json')
|
151
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
152
|
-
res.
|
151
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
152
|
+
res.create_result = out
|
153
153
|
end
|
154
154
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
155
155
|
end
|
@@ -484,8 +484,8 @@ module StackOne
|
|
484
484
|
)
|
485
485
|
if r.status == 200
|
486
486
|
if Utils.match_content_type(content_type, 'application/json')
|
487
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
488
|
-
res.
|
487
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
488
|
+
res.create_result = out
|
489
489
|
end
|
490
490
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
491
491
|
end
|
@@ -536,8 +536,8 @@ module StackOne
|
|
536
536
|
)
|
537
537
|
if r.status == 200
|
538
538
|
if Utils.match_content_type(content_type, 'application/json')
|
539
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
540
|
-
res.
|
539
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
540
|
+
res.create_result = out
|
541
541
|
end
|
542
542
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
543
543
|
end
|
@@ -588,8 +588,8 @@ module StackOne
|
|
588
588
|
)
|
589
589
|
if r.status == 200
|
590
590
|
if Utils.match_content_type(content_type, 'application/json')
|
591
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
592
|
-
res.
|
591
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
592
|
+
res.create_result = out
|
593
593
|
end
|
594
594
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
595
595
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# Record created successfully.
|
21
|
-
field :
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@create_result = create_result
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The offer was created successfully.
|
21
|
-
field :
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@create_result = create_result
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
21
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
24
|
# Indicates that the raw request result is returned
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
26
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The document related to the application with the given identifiers was retrieved.
|
21
|
-
field :
|
21
|
+
field :ats_document_result, T.nilable(::StackOne::Shared::AtsDocumentResult)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, ats_document_result: T.nilable(::StackOne::Shared::AtsDocumentResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, ats_document_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@ats_document_result = ats_document_result
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
21
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
24
|
# Indicates that the raw request result is returned
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
26
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
21
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
24
|
# Indicates that the raw request result is returned
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
26
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
21
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
24
|
# Indicates that the raw request result is returned
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
26
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
21
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
24
|
# Indicates that the raw request result is returned
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
26
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# The comma separated list of fields that will be included in the response
|
21
21
|
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
22
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
24
|
# Indicates that the raw request result is returned
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
26
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
21
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
24
|
# Indicates that the raw request result is returned
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
26
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# Indicates that the raw request result is returned
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
24
|
|
@@ -17,6 +17,8 @@ module StackOne
|
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Use a string with a date to only select results updated after that given date
|
21
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
20
22
|
# The unified cursor
|
21
23
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
24
|
# The page number of the results to fetch
|
@@ -26,7 +28,7 @@ module StackOne
|
|
26
28
|
# The number of results per page
|
27
29
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
30
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
31
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
30
32
|
# Indicates that the raw request result is returned
|
31
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
34
|
# The sync token to select the only updated results
|
@@ -34,14 +36,17 @@ module StackOne
|
|
34
36
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
37
|
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
38
|
# Use a string with a date to only select results updated after that given date
|
39
|
+
#
|
40
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
41
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
42
|
|
39
43
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: 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 }
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
44
|
+
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 }
|
45
|
+
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)
|
42
46
|
@id = id
|
43
47
|
@x_account_id = x_account_id
|
44
48
|
@fields_ = fields_
|
49
|
+
@filter_updated_after = filter_updated_after
|
45
50
|
@next_ = next_
|
46
51
|
@page = page
|
47
52
|
@page_size = page_size
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The documents related to the application with the given identifier were retrieved.
|
21
|
-
field :
|
21
|
+
field :ats_documents_paginated, T.nilable(::StackOne::Shared::AtsDocumentsPaginated)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, ats_documents_paginated: T.nilable(::StackOne::Shared::AtsDocumentsPaginated)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, ats_documents_paginated: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@ats_documents_paginated = ats_documents_paginated
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -17,6 +17,8 @@ module StackOne
|
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Use a string with a date to only select results updated after that given date
|
21
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
20
22
|
# The unified cursor
|
21
23
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
24
|
# The page number of the results to fetch
|
@@ -26,7 +28,7 @@ module StackOne
|
|
26
28
|
# The number of results per page
|
27
29
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
30
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
31
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
30
32
|
# Indicates that the raw request result is returned
|
31
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
34
|
# The sync token to select the only updated results
|
@@ -34,14 +36,17 @@ module StackOne
|
|
34
36
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
37
|
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
38
|
# Use a string with a date to only select results updated after that given date
|
39
|
+
#
|
40
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
41
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
42
|
|
39
43
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: 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 }
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
44
|
+
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 }
|
45
|
+
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)
|
42
46
|
@id = id
|
43
47
|
@x_account_id = x_account_id
|
44
48
|
@fields_ = fields_
|
49
|
+
@filter_updated_after = filter_updated_after
|
45
50
|
@next_ = next_
|
46
51
|
@page = page
|
47
52
|
@page_size = page_size
|