stackone_client 0.36.1 → 0.37.0
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/actions.rb +627 -0
- data/lib/stack_one/ats.rb +865 -251
- data/lib/stack_one/mcp.rb +852 -0
- data/lib/stack_one/models/operations/ats_get_application_stage_request.rb +49 -0
- data/lib/stack_one/models/operations/ats_get_application_stage_request.rbi +21 -0
- data/lib/stack_one/models/operations/ats_get_application_stage_response.rb +49 -0
- data/lib/stack_one/models/operations/ats_get_application_stage_response.rbi +21 -0
- data/lib/stack_one/models/operations/ats_list_application_stages_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_application_stages_queryparam_filter.rbi +13 -0
- data/lib/stack_one/models/operations/ats_list_application_stages_request.rb +75 -0
- data/lib/stack_one/models/operations/ats_list_application_stages_request.rbi +31 -0
- data/lib/stack_one/models/operations/ats_list_application_stages_response.rb +61 -0
- data/lib/stack_one/models/operations/ats_list_application_stages_response.rbi +21 -0
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +1 -1
- data/lib/stack_one/models/operations/filter.rb +11 -71
- data/lib/stack_one/models/operations/filter.rbi +4 -34
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb +6 -6
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rbi +2 -2
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb +6 -6
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rbi +2 -2
- data/lib/stack_one/models/operations/include.rb +2 -3
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_status.rb +1 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_status.rb +1 -0
- data/lib/stack_one/models/operations/queryparam_filter.rb +20 -8
- data/lib/stack_one/models/operations/queryparam_filter.rbi +8 -2
- data/lib/stack_one/models/operations/queryparam_include.rb +1 -0
- data/lib/stack_one/models/operations/stackone_get_log_request.rb +2 -2
- data/lib/stack_one/models/operations/stackone_list_actions_meta_request.rb +55 -0
- data/lib/stack_one/models/operations/stackone_list_actions_meta_request.rbi +23 -0
- data/lib/stack_one/models/operations/stackone_list_actions_meta_response.rb +61 -0
- data/lib/stack_one/models/operations/stackone_list_actions_meta_response.rbi +21 -0
- data/lib/stack_one/models/operations/stackone_list_logs_queryparam_include.rb +21 -0
- data/lib/stack_one/models/operations/stackone_list_logs_queryparam_include.rbi +11 -0
- data/lib/stack_one/models/operations/stackone_list_logs_request.rb +3 -3
- data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_filter.rb +89 -0
- data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_filter.rbi +41 -0
- data/lib/stack_one/models/operations/stackone_list_platform_logs_request.rb +2 -2
- data/lib/stack_one/models/operations/stackone_mcp_delete_request.rb +37 -0
- data/lib/stack_one/models/operations/stackone_mcp_delete_request.rbi +15 -0
- data/lib/stack_one/models/operations/stackone_mcp_delete_response.rb +45 -0
- data/lib/stack_one/models/operations/stackone_mcp_delete_response.rbi +19 -0
- data/lib/stack_one/models/operations/stackone_mcp_delete_security.rb +37 -0
- data/lib/stack_one/models/operations/stackone_mcp_delete_security.rbi +15 -0
- data/lib/stack_one/models/operations/stackone_mcp_get_request.rb +37 -0
- data/lib/stack_one/models/operations/stackone_mcp_get_request.rbi +15 -0
- data/lib/stack_one/models/operations/stackone_mcp_get_response.rb +45 -0
- data/lib/stack_one/models/operations/stackone_mcp_get_response.rbi +19 -0
- data/lib/stack_one/models/operations/stackone_mcp_get_security.rb +37 -0
- data/lib/stack_one/models/operations/stackone_mcp_get_security.rbi +15 -0
- data/lib/stack_one/models/operations/stackone_mcp_post_request.rb +41 -0
- data/lib/stack_one/models/operations/stackone_mcp_post_request.rbi +17 -0
- data/lib/stack_one/models/operations/stackone_mcp_post_response.rb +45 -0
- data/lib/stack_one/models/operations/stackone_mcp_post_response.rbi +19 -0
- data/lib/stack_one/models/operations/stackone_mcp_post_security.rb +37 -0
- data/lib/stack_one/models/operations/stackone_mcp_post_security.rbi +15 -0
- data/lib/stack_one/models/operations/stackone_rpc_action_response.rb +49 -0
- data/lib/stack_one/models/operations/stackone_rpc_action_response.rbi +21 -0
- data/lib/stack_one/models/operations.rb +19 -0
- data/lib/stack_one/models/shared/actionmetaitem.rb +53 -0
- data/lib/stack_one/models/shared/actionmetaitem.rbi +23 -0
- data/lib/stack_one/models/shared/actionsmeta.rb +57 -0
- data/lib/stack_one/models/shared/actionsmeta.rbi +25 -0
- data/lib/stack_one/models/shared/actionsmetapaginated.rb +37 -0
- data/lib/stack_one/models/shared/actionsmetapaginated.rbi +15 -0
- data/lib/stack_one/models/shared/actionsrpcrequestdto.rb +37 -0
- data/lib/stack_one/models/shared/actionsrpcrequestdto.rbi +15 -0
- data/lib/stack_one/models/shared/actionsrpcresponse.rb +37 -0
- data/lib/stack_one/models/shared/actionsrpcresponse.rbi +15 -0
- data/lib/stack_one/models/shared/actionsrpcresponse_2.rb +28 -0
- data/lib/stack_one/models/shared/actionsrpcresponse_2.rbi +11 -0
- data/lib/stack_one/models/shared/actionsrpcresponse_data.rb +28 -0
- data/lib/stack_one/models/shared/actionsrpcresponse_data.rbi +11 -0
- data/lib/stack_one/models/shared/atsdocumentapimodel.rb +2 -6
- data/lib/stack_one/models/shared/atsdocumentapimodel.rbi +0 -2
- data/lib/stack_one/models/shared/authenticationmetaitem.rb +41 -0
- data/lib/stack_one/models/shared/authenticationmetaitem.rbi +17 -0
- data/lib/stack_one/models/shared/contract_type.rb +2 -2
- data/lib/stack_one/models/shared/createemploymentapimodel.rb +10 -2
- data/lib/stack_one/models/shared/createemploymentapimodel.rbi +4 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_contract_type.rb +37 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_contract_type.rbi +15 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_4.rb +28 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_value.rb +24 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type.rb +37 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type.rbi +15 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_4.rb +28 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_value.rb +37 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_type.rb +45 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_type.rbi +19 -0
- data/lib/stack_one/models/shared/document.rb +2 -6
- data/lib/stack_one/models/shared/document.rbi +0 -2
- data/lib/stack_one/models/shared/employment.rb +2 -2
- data/lib/stack_one/models/shared/employment_schemas_contract_type.rb +20 -12
- data/lib/stack_one/models/shared/employment_schemas_contract_type.rbi +8 -4
- data/lib/stack_one/models/shared/employment_schemas_contract_type_contract_type.rb +37 -0
- data/lib/stack_one/models/shared/employment_schemas_contract_type_contract_type.rbi +15 -0
- data/lib/stack_one/models/shared/file.rb +2 -6
- data/lib/stack_one/models/shared/file.rbi +0 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_contract_type.rb +45 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_contract_type.rbi +19 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment.rb +10 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment.rbi +4 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_contract_type.rb +37 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_contract_type.rbi +15 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_value.rb +24 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type.rb +37 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type.rbi +15 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_value.rb +37 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_type.rb +37 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_type.rbi +15 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb +20 -12
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rbi +8 -4
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto.rb +10 -2
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto.rbi +4 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_contract_type.rb +45 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_contract_type.rbi +19 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type.rb +37 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type.rbi +15 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_value.rb +24 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type.rb +37 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type.rbi +15 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_value.rb +37 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_type.rb +45 -0
- data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_type.rbi +19 -0
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +2 -6
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rbi +0 -2
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_contract_type.rb +45 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_contract_type.rbi +19 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment.rb +10 -2
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment.rbi +4 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_national_identity_number.rb +2 -2
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_contract_type.rb +37 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_contract_type.rbi +15 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_value.rb +24 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type.rb +37 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type.rbi +15 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_value.rb +37 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_type.rb +37 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_type.rbi +15 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_type.rb +20 -12
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_type.rbi +8 -4
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto.rb +10 -2
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto.rbi +4 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_contract_type.rb +45 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_contract_type.rbi +19 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type.rb +37 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type.rbi +15 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_value.rb +24 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type.rb +37 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type.rbi +15 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_4.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_source_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_value.rb +37 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_value.rbi +11 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_type.rb +45 -0
- data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_type.rbi +19 -0
- data/lib/stack_one/models/shared/iamuser_avatar.rb +2 -6
- data/lib/stack_one/models/shared/iamuser_avatar.rbi +0 -2
- data/lib/stack_one/models/shared/id.rb +28 -0
- data/lib/stack_one/models/shared/id.rbi +11 -0
- data/lib/stack_one/models/shared/input.rb +41 -0
- data/lib/stack_one/models/shared/input.rbi +17 -0
- data/lib/stack_one/models/shared/jobpostingcompensation.rb +12 -12
- data/lib/stack_one/models/shared/jobpostingcompensation.rbi +6 -6
- data/lib/stack_one/models/shared/jsonrpcmessagedto.rb +45 -0
- data/lib/stack_one/models/shared/jsonrpcmessagedto.rbi +19 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +5 -0
- data/lib/stack_one/models/shared/one.rb +28 -0
- data/lib/stack_one/models/shared/one.rbi +11 -0
- data/lib/stack_one/models/shared/params.rb +28 -0
- data/lib/stack_one/models/shared/params.rbi +11 -0
- data/lib/stack_one/models/shared/proxyrequestbody.rb +1 -1
- data/lib/stack_one/models/shared/schemebasic.rb +37 -0
- data/lib/stack_one/models/shared/schemebasic.rbi +15 -0
- data/lib/stack_one/models/shared/security.rb +4 -4
- data/lib/stack_one/models/shared/timeoff.rb +10 -10
- data/lib/stack_one/models/shared/timeoff.rbi +4 -4
- data/lib/stack_one/models/shared/workeligibility_document.rb +2 -6
- data/lib/stack_one/models/shared/workeligibility_document.rbi +0 -2
- data/lib/stack_one/models/shared.rb +64 -0
- data/lib/stack_one/request_logs.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- data/lib/stack_one/stackone.rb +3 -1
- data/lib/stackone_client.rb +2 -0
- metadata +170 -2
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AtsGetApplicationStageRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
|
+
field :fields_, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
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, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
25
|
+
field :raw, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
28
|
+
def initialize(id:, x_account_id:, fields_: nil, proxy: nil, raw: nil)
|
29
|
+
@id = id
|
30
|
+
@x_account_id = x_account_id
|
31
|
+
@fields_ = fields_
|
32
|
+
@proxy = proxy
|
33
|
+
@raw = raw
|
34
|
+
end
|
35
|
+
|
36
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @id == other.id
|
40
|
+
return false unless @x_account_id == other.x_account_id
|
41
|
+
return false unless @fields_ == other.fields_
|
42
|
+
return false unless @proxy == other.proxy
|
43
|
+
return false unless @raw == other.raw
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class StackOne::Models::Operations::AtsGetApplicationStageRequest
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class StackOne::Models::Operations::AtsGetApplicationStageRequest
|
11
|
+
def id(); end
|
12
|
+
def id=(str_); end
|
13
|
+
def x_account_id(); end
|
14
|
+
def x_account_id=(str_); end
|
15
|
+
def fields_(); end
|
16
|
+
def fields_=(str_); end
|
17
|
+
def proxy(); end
|
18
|
+
def proxy=(str_); end
|
19
|
+
def raw(); end
|
20
|
+
def raw=(str_); end
|
21
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AtsGetApplicationStageResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
20
|
+
# HTTP response status code for this operation
|
21
|
+
field :status_code, ::Integer
|
22
|
+
# Raw HTTP response; suitable for custom response parsing
|
23
|
+
field :raw_response, ::Faraday::Response
|
24
|
+
# The application-stage with the given identifier was retrieved.
|
25
|
+
field :interview_stage_result, Crystalline::Nilable.new(Models::Shared::InterviewStageResult)
|
26
|
+
|
27
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, interview_stage_result: T.nilable(Models::Shared::InterviewStageResult)).void }
|
28
|
+
def initialize(content_type:, headers:, status_code:, raw_response:, interview_stage_result: nil)
|
29
|
+
@content_type = content_type
|
30
|
+
@headers = headers
|
31
|
+
@status_code = status_code
|
32
|
+
@raw_response = raw_response
|
33
|
+
@interview_stage_result = interview_stage_result
|
34
|
+
end
|
35
|
+
|
36
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @status_code == other.status_code
|
42
|
+
return false unless @raw_response == other.raw_response
|
43
|
+
return false unless @interview_stage_result == other.interview_stage_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class StackOne::Models::Operations::AtsGetApplicationStageResponse
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class StackOne::Models::Operations::AtsGetApplicationStageResponse
|
11
|
+
def content_type(); end
|
12
|
+
def content_type=(str_); end
|
13
|
+
def headers(); end
|
14
|
+
def headers=(str_); end
|
15
|
+
def status_code(); end
|
16
|
+
def status_code=(str_); end
|
17
|
+
def raw_response(); end
|
18
|
+
def raw_response=(str_); end
|
19
|
+
def interview_stage_result(); end
|
20
|
+
def interview_stage_result=(str_); end
|
21
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# Filter parameters that allow greater customisation of the list response
|
12
|
+
class AtsListApplicationStagesQueryParamFilter
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# Use a string with a date to only select results updated after that given date
|
17
|
+
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after' } }
|
18
|
+
|
19
|
+
sig { params(updated_after: T.nilable(::DateTime)).void }
|
20
|
+
def initialize(updated_after: nil)
|
21
|
+
@updated_after = updated_after
|
22
|
+
end
|
23
|
+
|
24
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
25
|
+
def ==(other)
|
26
|
+
return false unless other.is_a? self.class
|
27
|
+
return false unless @updated_after == other.updated_after
|
28
|
+
true
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class StackOne::Models::Operations::AtsListApplicationStagesQueryParamFilter
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class StackOne::Models::Operations::AtsListApplicationStagesQueryParamFilter
|
11
|
+
def updated_after(); end
|
12
|
+
def updated_after=(str_); end
|
13
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AtsListApplicationStagesRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Filter parameters that allow greater customisation of the list response
|
21
|
+
field :filter, Crystalline::Nilable.new(Models::Operations::AtsListApplicationStagesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
22
|
+
# The unified cursor
|
23
|
+
field :next_, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
|
+
# The page number of the results to fetch
|
25
|
+
#
|
26
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
+
field :page, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
28
|
+
# The number of results per page (default value is 25)
|
29
|
+
field :page_size, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
30
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
31
|
+
field :proxy, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
32
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
33
|
+
field :raw, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
+
# The sync token to select the only updated results
|
35
|
+
#
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
+
field :sync_token, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
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.
|
41
|
+
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
42
|
+
|
43
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AtsListApplicationStagesQueryParamFilter), 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(::DateTime)).void }
|
44
|
+
def initialize(x_account_id:, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
45
|
+
@x_account_id = x_account_id
|
46
|
+
@fields_ = fields_
|
47
|
+
@filter = filter
|
48
|
+
@next_ = next_
|
49
|
+
@page = page
|
50
|
+
@page_size = page_size
|
51
|
+
@proxy = proxy
|
52
|
+
@raw = raw
|
53
|
+
@sync_token = sync_token
|
54
|
+
@updated_after = updated_after
|
55
|
+
end
|
56
|
+
|
57
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
58
|
+
def ==(other)
|
59
|
+
return false unless other.is_a? self.class
|
60
|
+
return false unless @x_account_id == other.x_account_id
|
61
|
+
return false unless @fields_ == other.fields_
|
62
|
+
return false unless @filter == other.filter
|
63
|
+
return false unless @next_ == other.next_
|
64
|
+
return false unless @page == other.page
|
65
|
+
return false unless @page_size == other.page_size
|
66
|
+
return false unless @proxy == other.proxy
|
67
|
+
return false unless @raw == other.raw
|
68
|
+
return false unless @sync_token == other.sync_token
|
69
|
+
return false unless @updated_after == other.updated_after
|
70
|
+
true
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class StackOne::Models::Operations::AtsListApplicationStagesRequest
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class StackOne::Models::Operations::AtsListApplicationStagesRequest
|
11
|
+
def x_account_id(); end
|
12
|
+
def x_account_id=(str_); end
|
13
|
+
def fields_(); end
|
14
|
+
def fields_=(str_); end
|
15
|
+
def filter(); end
|
16
|
+
def filter=(str_); end
|
17
|
+
def next_(); end
|
18
|
+
def next_=(str_); end
|
19
|
+
def page(); end
|
20
|
+
def page=(str_); end
|
21
|
+
def page_size(); end
|
22
|
+
def page_size=(str_); end
|
23
|
+
def proxy(); end
|
24
|
+
def proxy=(str_); end
|
25
|
+
def raw(); end
|
26
|
+
def raw=(str_); end
|
27
|
+
def sync_token(); end
|
28
|
+
def sync_token=(str_); end
|
29
|
+
def updated_after(); end
|
30
|
+
def updated_after=(str_); end
|
31
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AtsListApplicationStagesResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
sig { returns(T.proc.returns(T.nilable(AtsListApplicationStagesResponse))) }
|
16
|
+
attr_accessor :next_page
|
17
|
+
|
18
|
+
# HTTP response content type for this operation
|
19
|
+
field :content_type, ::String
|
20
|
+
|
21
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# Raw HTTP response; suitable for custom response parsing
|
25
|
+
field :raw_response, ::Faraday::Response
|
26
|
+
# The list of application stages was retrieved.
|
27
|
+
field :interview_stages_paginated, Crystalline::Nilable.new(Models::Shared::InterviewStagesPaginated)
|
28
|
+
|
29
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, interview_stages_paginated: T.nilable(Models::Shared::InterviewStagesPaginated)).void }
|
30
|
+
def initialize(content_type:, headers:, status_code:, raw_response:, interview_stages_paginated: nil)
|
31
|
+
@content_type = content_type
|
32
|
+
@headers = headers
|
33
|
+
@status_code = status_code
|
34
|
+
@raw_response = raw_response
|
35
|
+
@interview_stages_paginated = interview_stages_paginated
|
36
|
+
end
|
37
|
+
|
38
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
39
|
+
def ==(other)
|
40
|
+
return false unless other.is_a? self.class
|
41
|
+
return false unless @content_type == other.content_type
|
42
|
+
return false unless @headers == other.headers
|
43
|
+
return false unless @status_code == other.status_code
|
44
|
+
return false unless @raw_response == other.raw_response
|
45
|
+
return false unless @interview_stages_paginated == other.interview_stages_paginated
|
46
|
+
true
|
47
|
+
end
|
48
|
+
|
49
|
+
def each
|
50
|
+
page = self
|
51
|
+
loop do
|
52
|
+
yield page
|
53
|
+
next_page = page.next_page.call if page.next_page
|
54
|
+
break if next_page.nil?
|
55
|
+
page = T.must(next_page)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class StackOne::Models::Operations::AtsListApplicationStagesResponse
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class StackOne::Models::Operations::AtsListApplicationStagesResponse
|
11
|
+
def content_type(); end
|
12
|
+
def content_type=(str_); end
|
13
|
+
def headers(); end
|
14
|
+
def headers=(str_); end
|
15
|
+
def status_code(); end
|
16
|
+
def status_code=(str_); end
|
17
|
+
def raw_response(); end
|
18
|
+
def raw_response=(str_); end
|
19
|
+
def interview_stages_paginated(); end
|
20
|
+
def interview_stages_paginated=(str_); end
|
21
|
+
end
|
@@ -17,7 +17,7 @@ module StackOne
|
|
17
17
|
field :created_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'created_after' } }
|
18
18
|
# Filter to select applications by job_id
|
19
19
|
field :job_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'job_id' } }
|
20
|
-
# Filter to select applications by
|
20
|
+
# Filter to select applications by application_stage id
|
21
21
|
field :stage, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'stage' } }
|
22
22
|
# Use a string with a date to only select results updated after that given date
|
23
23
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after' } }
|
@@ -8,91 +8,31 @@ module StackOne
|
|
8
8
|
module Models
|
9
9
|
module Operations
|
10
10
|
|
11
|
-
#
|
11
|
+
# Actions Metadata filters
|
12
12
|
class Filter
|
13
13
|
extend T::Sig
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
16
|
# A comma-separated list of account IDs to filter the results by.
|
17
17
|
field :account_ids, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'account_ids' } }
|
18
|
-
#
|
19
|
-
field :
|
20
|
-
# A comma-separated list of
|
21
|
-
field :
|
22
|
-
# A ISO8601 date string to filter the results by end_date.
|
23
|
-
field :end_date, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'end_date' } }
|
24
|
-
# A comma-separated list of HTTP methods to filter the results by.
|
25
|
-
field :http_methods, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'http_methods' } }
|
26
|
-
# The field to order the results by.
|
27
|
-
field :order_by, Crystalline::Nilable.new(Models::Operations::QueryParamOrderBy), { 'query_param': { 'field_name': 'order_by' } }
|
28
|
-
# The direction to order the results by.
|
29
|
-
field :order_direction, Crystalline::Nilable.new(Models::Operations::QueryParamOrderDirection), { 'query_param': { 'field_name': 'order_direction' } }
|
30
|
-
# A comma-separated list of provider keys to filter the results by.
|
31
|
-
field :providers, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'providers' } }
|
32
|
-
# A comma-separated list of request IDs to filter the results by.
|
33
|
-
field :request_ids, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'request_ids' } }
|
34
|
-
# A comma-separated list of resources to filter the results by.
|
35
|
-
field :resources, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'resources' } }
|
36
|
-
# A comma-separated list of services to filter the results by.
|
37
|
-
field :services, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'services' } }
|
38
|
-
# A comma-separated list of source IDs to filter the results by.
|
39
|
-
field :source_ids, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'source_ids' } }
|
40
|
-
# A comma-separated list of source types to filter the results by.
|
41
|
-
field :source_types, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'source_types' } }
|
42
|
-
# A comma-separated list of source values to filter the results by.
|
43
|
-
field :source_values, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'source_values' } }
|
44
|
-
# A ISO8601 date string to filter the results by start_date.
|
45
|
-
field :start_date, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'start_date' } }
|
46
|
-
# A comma-separated list of status codes to filter the results by.
|
47
|
-
field :status_codes, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'status_codes' } }
|
48
|
-
# A comma-separated list of sub resources to filter the results by.
|
49
|
-
field :sub_resources, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'sub_resources' } }
|
50
|
-
# A boolean value to filter the results by success or failure.
|
51
|
-
field :success, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'success' } }
|
18
|
+
# The action key to filter the results by
|
19
|
+
field :action_key, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'action_key' } }
|
20
|
+
# A comma-separated list of connectors to filter the results by.
|
21
|
+
field :connectors, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'connectors' } }
|
52
22
|
|
53
|
-
sig { params(account_ids: T.nilable(::String),
|
54
|
-
def initialize(account_ids: nil,
|
23
|
+
sig { params(account_ids: T.nilable(::String), action_key: T.nilable(::String), connectors: T.nilable(::String)).void }
|
24
|
+
def initialize(account_ids: nil, action_key: nil, connectors: nil)
|
55
25
|
@account_ids = account_ids
|
56
|
-
@
|
57
|
-
@
|
58
|
-
@end_date = end_date
|
59
|
-
@http_methods = http_methods
|
60
|
-
@order_by = order_by
|
61
|
-
@order_direction = order_direction
|
62
|
-
@providers = providers
|
63
|
-
@request_ids = request_ids
|
64
|
-
@resources = resources
|
65
|
-
@services = services
|
66
|
-
@source_ids = source_ids
|
67
|
-
@source_types = source_types
|
68
|
-
@source_values = source_values
|
69
|
-
@start_date = start_date
|
70
|
-
@status_codes = status_codes
|
71
|
-
@sub_resources = sub_resources
|
72
|
-
@success = success
|
26
|
+
@action_key = action_key
|
27
|
+
@connectors = connectors
|
73
28
|
end
|
74
29
|
|
75
30
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
76
31
|
def ==(other)
|
77
32
|
return false unless other.is_a? self.class
|
78
33
|
return false unless @account_ids == other.account_ids
|
79
|
-
return false unless @
|
80
|
-
return false unless @
|
81
|
-
return false unless @end_date == other.end_date
|
82
|
-
return false unless @http_methods == other.http_methods
|
83
|
-
return false unless @order_by == other.order_by
|
84
|
-
return false unless @order_direction == other.order_direction
|
85
|
-
return false unless @providers == other.providers
|
86
|
-
return false unless @request_ids == other.request_ids
|
87
|
-
return false unless @resources == other.resources
|
88
|
-
return false unless @services == other.services
|
89
|
-
return false unless @source_ids == other.source_ids
|
90
|
-
return false unless @source_types == other.source_types
|
91
|
-
return false unless @source_values == other.source_values
|
92
|
-
return false unless @start_date == other.start_date
|
93
|
-
return false unless @status_codes == other.status_codes
|
94
|
-
return false unless @sub_resources == other.sub_resources
|
95
|
-
return false unless @success == other.success
|
34
|
+
return false unless @action_key == other.action_key
|
35
|
+
return false unless @connectors == other.connectors
|
96
36
|
true
|
97
37
|
end
|
98
38
|
end
|
@@ -10,38 +10,8 @@ end
|
|
10
10
|
class StackOne::Models::Operations::Filter
|
11
11
|
def account_ids(); end
|
12
12
|
def account_ids=(str_); end
|
13
|
-
def
|
14
|
-
def
|
15
|
-
def
|
16
|
-
def
|
17
|
-
def end_date(); end
|
18
|
-
def end_date=(str_); end
|
19
|
-
def http_methods(); end
|
20
|
-
def http_methods=(str_); end
|
21
|
-
def order_by(); end
|
22
|
-
def order_by=(str_); end
|
23
|
-
def order_direction(); end
|
24
|
-
def order_direction=(str_); end
|
25
|
-
def providers(); end
|
26
|
-
def providers=(str_); end
|
27
|
-
def request_ids(); end
|
28
|
-
def request_ids=(str_); end
|
29
|
-
def resources(); end
|
30
|
-
def resources=(str_); end
|
31
|
-
def services(); end
|
32
|
-
def services=(str_); end
|
33
|
-
def source_ids(); end
|
34
|
-
def source_ids=(str_); end
|
35
|
-
def source_types(); end
|
36
|
-
def source_types=(str_); end
|
37
|
-
def source_values(); end
|
38
|
-
def source_values=(str_); end
|
39
|
-
def start_date(); end
|
40
|
-
def start_date=(str_); end
|
41
|
-
def status_codes(); end
|
42
|
-
def status_codes=(str_); end
|
43
|
-
def sub_resources(); end
|
44
|
-
def sub_resources=(str_); end
|
45
|
-
def success(); end
|
46
|
-
def success=(str_); end
|
13
|
+
def action_key(); end
|
14
|
+
def action_key=(str_); end
|
15
|
+
def connectors(); end
|
16
|
+
def connectors=(str_); end
|
47
17
|
end
|
data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb
CHANGED
@@ -13,21 +13,21 @@ module StackOne
|
|
13
13
|
extend T::Sig
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
|
-
# List of time off
|
17
|
-
field :
|
16
|
+
# List of time off policy ids to filter by.
|
17
|
+
field :policy_ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'policy_ids' } }
|
18
18
|
# Use a string with a date to only select results updated after that given date
|
19
19
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after' } }
|
20
20
|
|
21
|
-
sig { params(
|
22
|
-
def initialize(
|
23
|
-
@
|
21
|
+
sig { params(policy_ids: T.nilable(T::Array[::String]), updated_after: T.nilable(::DateTime)).void }
|
22
|
+
def initialize(policy_ids: nil, updated_after: nil)
|
23
|
+
@policy_ids = policy_ids
|
24
24
|
@updated_after = updated_after
|
25
25
|
end
|
26
26
|
|
27
27
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
28
28
|
def ==(other)
|
29
29
|
return false unless other.is_a? self.class
|
30
|
-
return false unless @
|
30
|
+
return false unless @policy_ids == other.policy_ids
|
31
31
|
return false unless @updated_after == other.updated_after
|
32
32
|
true
|
33
33
|
end
|
data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rbi
CHANGED
@@ -8,8 +8,8 @@ end
|
|
8
8
|
|
9
9
|
|
10
10
|
class StackOne::Models::Operations::HrisListEmployeeTimeOffRequestsQueryParamFilter
|
11
|
-
def
|
12
|
-
def
|
11
|
+
def policy_ids(); end
|
12
|
+
def policy_ids=(str_); end
|
13
13
|
def updated_after(); end
|
14
14
|
def updated_after=(str_); end
|
15
15
|
end
|
@@ -13,21 +13,21 @@ module StackOne
|
|
13
13
|
extend T::Sig
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
|
-
# List of time off
|
17
|
-
field :
|
16
|
+
# List of time off policy ids to filter by.
|
17
|
+
field :policy_ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'policy_ids' } }
|
18
18
|
# Use a string with a date to only select results updated after that given date
|
19
19
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after' } }
|
20
20
|
|
21
|
-
sig { params(
|
22
|
-
def initialize(
|
23
|
-
@
|
21
|
+
sig { params(policy_ids: T.nilable(T::Array[::String]), updated_after: T.nilable(::DateTime)).void }
|
22
|
+
def initialize(policy_ids: nil, updated_after: nil)
|
23
|
+
@policy_ids = policy_ids
|
24
24
|
@updated_after = updated_after
|
25
25
|
end
|
26
26
|
|
27
27
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
28
28
|
def ==(other)
|
29
29
|
return false unless other.is_a? self.class
|
30
|
-
return false unless @
|
30
|
+
return false unless @policy_ids == other.policy_ids
|
31
31
|
return false unless @updated_after == other.updated_after
|
32
32
|
true
|
33
33
|
end
|
@@ -8,8 +8,8 @@ end
|
|
8
8
|
|
9
9
|
|
10
10
|
class StackOne::Models::Operations::HrisListTimeOffRequestsQueryParamFilter
|
11
|
-
def
|
12
|
-
def
|
11
|
+
def policy_ids(); end
|
12
|
+
def policy_ids=(str_); end
|
13
13
|
def updated_after(); end
|
14
14
|
def updated_after=(str_); end
|
15
15
|
end
|
@@ -8,13 +8,12 @@ module StackOne
|
|
8
8
|
module Models
|
9
9
|
module Operations
|
10
10
|
|
11
|
-
|
11
|
+
|
12
12
|
class Include < T::Enum
|
13
13
|
|
14
14
|
|
15
15
|
enums do
|
16
|
-
|
17
|
-
ADVANCED_LOGS = new('advanced_logs')
|
16
|
+
OPERATION_DETAILS = new('operation_details')
|
18
17
|
end
|
19
18
|
end
|
20
19
|
end
|