stackone_client 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/createresult.rb +5 -2
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +27 -0
- 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/hrisgroup_value.rb +22 -0
- 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.rb +13 -11
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +14 -8
- 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
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module StackOne
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class HrisListGroupsRequest < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# The account identifier
|
|
15
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
17
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
18
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
20
|
+
# The unified cursor
|
|
21
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
22
|
+
# The page number of the results to fetch
|
|
23
|
+
#
|
|
24
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
25
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
|
+
# The number of results per page
|
|
27
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
+
# 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': 'deepObject', 'explode': true } }
|
|
30
|
+
# Indicates that the raw request result is returned
|
|
31
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
|
+
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
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 }
|
|
39
|
+
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)
|
|
40
|
+
@x_account_id = x_account_id
|
|
41
|
+
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
43
|
+
@next_ = next_
|
|
44
|
+
@page = page
|
|
45
|
+
@page_size = page_size
|
|
46
|
+
@proxy = proxy
|
|
47
|
+
@raw = raw
|
|
48
|
+
@updated_after = updated_after
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module StackOne
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class HrisListGroupsResponse < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# HTTP response content type for this operation
|
|
15
|
+
field :content_type, ::String
|
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
17
|
+
field :raw_response, ::Faraday::Response
|
|
18
|
+
# HTTP response status code for this operation
|
|
19
|
+
field :status_code, ::Integer
|
|
20
|
+
# The list of groups was retrieved.
|
|
21
|
+
field :hris_groups_paginated, T.nilable(::StackOne::Shared::HRISGroupsPaginated)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, hris_groups_paginated: T.nilable(::StackOne::Shared::HRISGroupsPaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_groups_paginated: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@hris_groups_paginated = hris_groups_paginated
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -15,6 +15,8 @@ module StackOne
|
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
16
16
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
18
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(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), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
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 }
|
|
39
|
+
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)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -15,6 +15,8 @@ module StackOne
|
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
16
16
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
18
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(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), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
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 }
|
|
39
|
+
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)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@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
|
# Record updated 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
|
# Record updated 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
|
# 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
|
# 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
|
# 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,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
|
|
|
@@ -15,6 +15,8 @@ module StackOne
|
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
16
16
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
18
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(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), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
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 }
|
|
39
|
+
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)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -15,6 +15,8 @@ module StackOne
|
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
16
16
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
18
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(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), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
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 }
|
|
39
|
+
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)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -15,6 +15,8 @@ module StackOne
|
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
16
16
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
18
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(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), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
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 }
|
|
39
|
+
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)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -15,6 +15,8 @@ module StackOne
|
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
16
16
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
18
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(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), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
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 }
|
|
39
|
+
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)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@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
|
# Record updated 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
|
# Record updated 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
|
# Record updated 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
|
|
@@ -135,6 +135,8 @@ module StackOne
|
|
|
135
135
|
autoload :HrisGetEmployeesWorkEligibilityResponse, 'stack_one/models/operations/hris_get_employees_work_eligibility_response.rb'
|
|
136
136
|
autoload :HrisGetEmploymentRequest, 'stack_one/models/operations/hris_get_employment_request.rb'
|
|
137
137
|
autoload :HrisGetEmploymentResponse, 'stack_one/models/operations/hris_get_employment_response.rb'
|
|
138
|
+
autoload :HrisGetGroupRequest, 'stack_one/models/operations/hris_get_group_request.rb'
|
|
139
|
+
autoload :HrisGetGroupResponse, 'stack_one/models/operations/hris_get_group_response.rb'
|
|
138
140
|
autoload :HrisGetLocationRequest, 'stack_one/models/operations/hris_get_location_request.rb'
|
|
139
141
|
autoload :HrisGetLocationResponse, 'stack_one/models/operations/hris_get_location_response.rb'
|
|
140
142
|
autoload :HrisGetTimeOffRequestRequest, 'stack_one/models/operations/hris_get_time_off_request_request.rb'
|
|
@@ -153,6 +155,8 @@ module StackOne
|
|
|
153
155
|
autoload :HrisListEmployeesResponse, 'stack_one/models/operations/hris_list_employees_response.rb'
|
|
154
156
|
autoload :HrisListEmploymentsRequest, 'stack_one/models/operations/hris_list_employments_request.rb'
|
|
155
157
|
autoload :HrisListEmploymentsResponse, 'stack_one/models/operations/hris_list_employments_response.rb'
|
|
158
|
+
autoload :HrisListGroupsRequest, 'stack_one/models/operations/hris_list_groups_request.rb'
|
|
159
|
+
autoload :HrisListGroupsResponse, 'stack_one/models/operations/hris_list_groups_response.rb'
|
|
156
160
|
autoload :HrisListLocationsRequest, 'stack_one/models/operations/hris_list_locations_request.rb'
|
|
157
161
|
autoload :HrisListLocationsResponse, 'stack_one/models/operations/hris_list_locations_response.rb'
|
|
158
162
|
autoload :HrisListTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_time_off_requests_request.rb'
|
|
@@ -24,6 +24,11 @@ module StackOne
|
|
|
24
24
|
REVIEW = new('review')
|
|
25
25
|
SCREEN = new('screen')
|
|
26
26
|
NEW = new('new')
|
|
27
|
+
ONBOARDING = new('onboarding')
|
|
28
|
+
CREATED = new('created')
|
|
29
|
+
ACCEPTED = new('accepted')
|
|
30
|
+
SHORT_LIST = new('short_list')
|
|
31
|
+
APPROVED = new('approved')
|
|
27
32
|
UNMAPPED_VALUE = new('unmapped_value')
|
|
28
33
|
end
|
|
29
34
|
end
|
|
@@ -24,6 +24,11 @@ module StackOne
|
|
|
24
24
|
REVIEW = new('review')
|
|
25
25
|
SCREEN = new('screen')
|
|
26
26
|
NEW = new('new')
|
|
27
|
+
ONBOARDING = new('onboarding')
|
|
28
|
+
CREATED = new('created')
|
|
29
|
+
ACCEPTED = new('accepted')
|
|
30
|
+
SHORT_LIST = new('short_list')
|
|
31
|
+
APPROVED = new('approved')
|
|
27
32
|
UNMAPPED_VALUE = new('unmapped_value')
|
|
28
33
|
end
|
|
29
34
|
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module StackOne
|
|
8
|
+
module Shared
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class AtsDocumentResult < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :data, ::StackOne::Shared::AtsDocumentApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
|
16
|
+
|
|
17
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
sig { params(data: ::StackOne::Shared::AtsDocumentApiModel, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
|
21
|
+
def initialize(data: nil, raw: nil)
|
|
22
|
+
@data = data
|
|
23
|
+
@raw = raw
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|