stackone_client 0.2.37 → 0.2.39
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 +176 -1
- data/lib/stack_one/hris.rb +53 -1
- data/lib/stack_one/lms.rb +328 -31
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +60 -0
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_job_request.rb +5 -2
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +57 -0
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +5 -2
- data/lib/stack_one/models/operations/ats_move_application_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_move_application_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_reject_application_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_reject_application_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb +33 -0
- data/lib/stack_one/models/operations/{lms_create_completion_request.rb → lms_create_user_completion_request.rb} +1 -1
- data/lib/stack_one/models/operations/{lms_create_completion_response.rb → lms_create_user_completion_response.rb} +1 -1
- data/lib/stack_one/models/operations/lms_get_assignment_request.rb +2 -5
- data/lib/stack_one/models/operations/lms_get_assignment_response.rb +1 -1
- data/lib/stack_one/models/operations/lms_get_completion_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_completion_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_skill_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_skill_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_user_assignment_request.rb +39 -0
- data/lib/stack_one/models/operations/lms_get_user_assignment_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_user_completion_request.rb +39 -0
- data/lib/stack_one/models/operations/lms_get_user_completion_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_assignments_request.rb +8 -5
- data/lib/stack_one/models/operations/lms_list_assignments_response.rb +1 -1
- data/lib/stack_one/models/operations/lms_list_completions_request.rb +10 -7
- data/lib/stack_one/models/operations/lms_list_completions_response.rb +1 -1
- data/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_skills_request.rb +52 -0
- data/lib/stack_one/models/operations/lms_list_skills_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_request.rb +61 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_request.rb +61 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb +2 -0
- data/lib/stack_one/models/operations.rb +33 -2
- data/lib/stack_one/models/shared/account.rb +5 -2
- data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/accountaddress_value.rb +0 -1
- data/lib/stack_one/models/shared/answer_value.rb +0 -1
- data/lib/stack_one/models/shared/application.rb +5 -2
- data/lib/stack_one/models/shared/application_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/application_value.rb +0 -1
- data/lib/stack_one/models/shared/applicationattachment_value.rb +0 -1
- data/lib/stack_one/models/shared/assessmentspackages_type.rb +2 -2
- data/lib/stack_one/models/shared/assessmentspackages_value.rb +4 -7
- data/lib/stack_one/models/shared/assessmentsresults_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/assessmentsresults_value.rb +0 -1
- data/lib/stack_one/models/shared/assignment.rb +5 -11
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +5 -2
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +5 -2
- data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +0 -1
- data/lib/stack_one/models/shared/atslocation.rb +5 -2
- data/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb +27 -0
- data/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb +27 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +5 -2
- data/lib/stack_one/models/shared/batchresultapimodel.rb +33 -0
- data/lib/stack_one/models/shared/campaign_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/campaign_value.rb +0 -1
- data/lib/stack_one/models/shared/candidate.rb +5 -2
- data/lib/stack_one/models/shared/categories.rb +0 -1
- data/lib/stack_one/models/shared/category.rb +5 -2
- data/lib/stack_one/models/shared/channelsenum_value.rb +0 -1
- data/lib/stack_one/models/shared/company.rb +5 -2
- data/lib/stack_one/models/shared/completion.rb +9 -6
- data/lib/stack_one/models/shared/{completion_result.rb → completion_schemas_result.rb} +1 -1
- data/lib/stack_one/models/shared/completion_value.rb +0 -1
- data/lib/stack_one/models/shared/completionresult.rb +27 -0
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +0 -1
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +0 -1
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +0 -1
- data/lib/stack_one/models/shared/contact.rb +5 -2
- data/lib/stack_one/models/shared/content_value.rb +0 -1
- data/lib/stack_one/models/shared/contentblock_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/contentblock_value.rb +0 -1
- data/lib/stack_one/models/shared/contentlanguageenum_value.rb +0 -1
- data/lib/stack_one/models/shared/countrycodeenum_value.rb +0 -1
- data/lib/stack_one/models/shared/course.rb +5 -2
- data/lib/stack_one/models/shared/course_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/course_value.rb +0 -1
- data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +5 -2
- data/lib/stack_one/models/shared/customfielddefinition_value.rb +0 -1
- data/lib/stack_one/models/shared/department.rb +5 -2
- data/lib/stack_one/models/shared/employee.rb +11 -2
- data/lib/stack_one/models/shared/employee_company.rb +5 -2
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_value.rb +0 -1
- data/lib/stack_one/models/shared/employment.rb +5 -2
- data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_value.rb +0 -1
- data/lib/stack_one/models/shared/field_type.rb +0 -1
- data/lib/stack_one/models/shared/home_location.rb +5 -2
- data/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb +24 -0
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +8 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb +21 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdepartment.rb +5 -2
- data/lib/stack_one/models/shared/hrisdepartment_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisgroup.rb +5 -2
- data/lib/stack_one/models/shared/hrisgroup_value.rb +0 -1
- data/lib/stack_one/models/shared/hrislocation.rb +5 -2
- data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrislocation_value.rb +0 -1
- data/lib/stack_one/models/shared/iamgroup_value.rb +0 -1
- data/lib/stack_one/models/shared/iammfatypeenum_value.rb +0 -1
- data/lib/stack_one/models/shared/iampermission_value.rb +0 -1
- data/lib/stack_one/models/shared/iamresource_value.rb +0 -1
- data/lib/stack_one/models/shared/iamrole_value.rb +0 -1
- data/lib/stack_one/models/shared/iamuser.rb +5 -2
- data/lib/stack_one/models/shared/iamuser_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/iamuser_value.rb +0 -1
- data/lib/stack_one/models/shared/internal.rb +0 -1
- data/lib/stack_one/models/shared/interview.rb +5 -2
- data/lib/stack_one/models/shared/interview_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/interview_value.rb +0 -1
- data/lib/stack_one/models/shared/interviewpart_value.rb +0 -1
- data/lib/stack_one/models/shared/interviewstage.rb +5 -2
- data/lib/stack_one/models/shared/job.rb +8 -2
- data/lib/stack_one/models/shared/job_confidential.rb +0 -1
- data/lib/stack_one/models/shared/job_value.rb +0 -1
- data/lib/stack_one/models/shared/jobcustomfields.rb +39 -0
- data/lib/stack_one/models/shared/jobposting.rb +5 -2
- data/lib/stack_one/models/shared/jobposting_content.rb +4 -4
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +0 -1
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/jobposting_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcontentsection.rb +36 -0
- data/lib/stack_one/models/shared/jobpostingcontentsection_type.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingcontentsection_value.rb +19 -0
- data/lib/stack_one/models/shared/linkedaccount_status.rb +0 -1
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +0 -1
- data/lib/stack_one/models/shared/list.rb +5 -2
- data/lib/stack_one/models/shared/list_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb +24 -0
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsuser.rb +11 -2
- data/lib/stack_one/models/shared/method.rb +0 -1
- data/lib/stack_one/models/shared/moveapplicationresult.rb +33 -0
- data/lib/stack_one/models/shared/note.rb +5 -2
- data/lib/stack_one/models/shared/note_value.rb +0 -1
- data/lib/stack_one/models/shared/offer.rb +5 -2
- data/lib/stack_one/models/shared/offer_value.rb +0 -1
- data/lib/stack_one/models/shared/overall_recommendation.rb +0 -1
- data/lib/stack_one/models/shared/phonenumber_type.rb +0 -1
- data/lib/stack_one/models/shared/question_value.rb +0 -1
- data/lib/stack_one/models/shared/rejectapplicationresult.rb +33 -0
- data/lib/stack_one/models/shared/rejectedreason.rb +5 -2
- data/lib/stack_one/models/shared/rejectedreason_value.rb +0 -1
- data/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/scheduledinterview_value.rb +0 -1
- data/lib/stack_one/models/shared/skillresult.rb +27 -0
- data/lib/stack_one/models/shared/skills.rb +3 -3
- data/lib/stack_one/models/shared/skillspaginated.rb +30 -0
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/timeoff_value.rb +0 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/value.rb +0 -1
- data/lib/stack_one/models/shared/work_location.rb +5 -2
- data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +0 -1
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/workeligibility_value.rb +0 -1
- data/lib/stack_one/models/shared.rb +36 -19
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +53 -5
@@ -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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsListJobCustomFieldDefinitionsResponse < ::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 job custom field definitions was retrieved.
|
21
|
+
field :custom_field_definitions_paginated, T.nilable(::StackOne::Shared::CustomFieldDefinitionsPaginated)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, custom_field_definitions_paginated: T.nilable(::StackOne::Shared::CustomFieldDefinitionsPaginated)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, custom_field_definitions_paginated: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@custom_field_definitions_paginated = custom_field_definitions_paginated
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -19,6 +19,8 @@ module StackOne
|
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# Filter parameters that allow greater customisation of the list response
|
21
21
|
field :filter, T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
22
|
+
# The comma separated list of fields that will be included in the response
|
23
|
+
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
22
24
|
# The unified cursor
|
23
25
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
26
|
# The page number of the results to fetch
|
@@ -41,12 +43,13 @@ module StackOne
|
|
41
43
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
42
44
|
|
43
45
|
|
44
|
-
sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
|
45
|
-
def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
46
|
+
sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
|
47
|
+
def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
46
48
|
@x_account_id = x_account_id
|
47
49
|
@expand = expand
|
48
50
|
@fields_ = fields_
|
49
51
|
@filter = filter
|
52
|
+
@include = include
|
50
53
|
@next_ = next_
|
51
54
|
@page = page
|
52
55
|
@page_size = page_size
|
@@ -0,0 +1,30 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsMoveApplicationRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :ats_move_application_request_dto, ::StackOne::Shared::AtsMoveApplicationRequestDto, { 'request': { 'media_type': 'application/json' } }
|
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
|
+
|
21
|
+
|
22
|
+
sig { params(ats_move_application_request_dto: ::StackOne::Shared::AtsMoveApplicationRequestDto, id: ::String, x_account_id: ::String).void }
|
23
|
+
def initialize(ats_move_application_request_dto: nil, id: nil, x_account_id: nil)
|
24
|
+
@ats_move_application_request_dto = ats_move_application_request_dto
|
25
|
+
@id = id
|
26
|
+
@x_account_id = x_account_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsMoveApplicationResponse < ::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 application was moved successfully.
|
21
|
+
field :move_application_result, T.nilable(::StackOne::Shared::MoveApplicationResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, move_application_result: T.nilable(::StackOne::Shared::MoveApplicationResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, move_application_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@move_application_result = move_application_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,30 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsRejectApplicationRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :ats_reject_application_request_dto, ::StackOne::Shared::AtsRejectApplicationRequestDto, { 'request': { 'media_type': 'application/json' } }
|
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
|
+
|
21
|
+
|
22
|
+
sig { params(ats_reject_application_request_dto: ::StackOne::Shared::AtsRejectApplicationRequestDto, id: ::String, x_account_id: ::String).void }
|
23
|
+
def initialize(ats_reject_application_request_dto: nil, id: nil, x_account_id: nil)
|
24
|
+
@ats_reject_application_request_dto = ats_reject_application_request_dto
|
25
|
+
@id = id
|
26
|
+
@x_account_id = x_account_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsRejectApplicationResponse < ::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 application was rejected successfully.
|
21
|
+
field :reject_application_result, T.nilable(::StackOne::Shared::RejectApplicationResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, reject_application_result: T.nilable(::StackOne::Shared::RejectApplicationResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, reject_application_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@reject_application_result = reject_application_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,30 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisBatchUploadEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :hris_batch_document_upload_request_dto, ::StackOne::Shared::HrisBatchDocumentUploadRequestDto, { 'request': { 'media_type': 'application/json' } }
|
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
|
+
|
21
|
+
|
22
|
+
sig { params(hris_batch_document_upload_request_dto: ::StackOne::Shared::HrisBatchDocumentUploadRequestDto, id: ::String, x_account_id: ::String).void }
|
23
|
+
def initialize(hris_batch_document_upload_request_dto: nil, id: nil, x_account_id: nil)
|
24
|
+
@hris_batch_document_upload_request_dto = hris_batch_document_upload_request_dto
|
25
|
+
@id = id
|
26
|
+
@x_account_id = x_account_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisBatchUploadEmployeeDocumentResponse < ::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
|
+
# Batch operation accepted
|
21
|
+
field :batch_result_api_model, T.nilable(::StackOne::Shared::BatchResultApiModel)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, batch_result_api_model: T.nilable(::StackOne::Shared::BatchResultApiModel)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, batch_result_api_model: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@batch_result_api_model = batch_result_api_model
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,27 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsBatchUpsertContentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :lms_batch_upsert_content_request_dto, ::StackOne::Shared::LmsBatchUpsertContentRequestDto, { 'request': { 'media_type': 'application/json' } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(lms_batch_upsert_content_request_dto: ::StackOne::Shared::LmsBatchUpsertContentRequestDto, x_account_id: ::String).void }
|
21
|
+
def initialize(lms_batch_upsert_content_request_dto: nil, x_account_id: nil)
|
22
|
+
@lms_batch_upsert_content_request_dto = lms_batch_upsert_content_request_dto
|
23
|
+
@x_account_id = x_account_id
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsBatchUpsertContentResponse < ::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
|
+
# Batch operation accepted
|
21
|
+
field :batch_result_api_model, T.nilable(::StackOne::Shared::BatchResultApiModel)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, batch_result_api_model: T.nilable(::StackOne::Shared::BatchResultApiModel)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, batch_result_api_model: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@batch_result_api_model = batch_result_api_model
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -13,8 +13,6 @@ module StackOne
|
|
13
13
|
|
14
14
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
-
|
17
|
-
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
18
16
|
# The account identifier
|
19
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
18
|
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
@@ -25,10 +23,9 @@ module StackOne
|
|
25
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
24
|
|
27
25
|
|
28
|
-
sig { params(id: ::String,
|
29
|
-
def initialize(id: nil,
|
26
|
+
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 }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
30
28
|
@id = id
|
31
|
-
@sub_resource_id = sub_resource_id
|
32
29
|
@x_account_id = x_account_id
|
33
30
|
@fields_ = fields_
|
34
31
|
@proxy = proxy
|
@@ -17,7 +17,7 @@ module StackOne
|
|
17
17
|
field :raw_response, ::Faraday::Response
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
|
-
# The
|
20
|
+
# The assignment with the given identifier was retrieved.
|
21
21
|
field :assignment_result, T.nilable(::StackOne::Shared::AssignmentResult)
|
22
22
|
|
23
23
|
|
@@ -0,0 +1,36 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetCompletionRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
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 to return in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
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': 'form', 'explode': true } }
|
22
|
+
# Indicates that the raw request result is returned
|
23
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
|
+
|
25
|
+
|
26
|
+
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 }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
28
|
+
@id = id
|
29
|
+
@x_account_id = x_account_id
|
30
|
+
@fields_ = fields_
|
31
|
+
@proxy = proxy
|
32
|
+
@raw = raw
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetCompletionResponse < ::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 completion with the given identifier was retrieved.
|
21
|
+
field :completion_result, T.nilable(::StackOne::Shared::CompletionResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, completion_result: T.nilable(::StackOne::Shared::CompletionResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, completion_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@completion_result = completion_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,36 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetSkillRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
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_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
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': 'form', 'explode': true } }
|
22
|
+
# Indicates that the raw request result is returned
|
23
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
|
+
|
25
|
+
|
26
|
+
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 }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
28
|
+
@id = id
|
29
|
+
@x_account_id = x_account_id
|
30
|
+
@fields_ = fields_
|
31
|
+
@proxy = proxy
|
32
|
+
@raw = raw
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetSkillResponse < ::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 skill with the given identifier was retrieved.
|
21
|
+
field :skill_result, T.nilable(::StackOne::Shared::SkillResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, skill_result: T.nilable(::StackOne::Shared::SkillResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, skill_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@skill_result = skill_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetUserAssignmentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', '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 to return in the response (if empty, all fields are returned)
|
21
|
+
field :fields_, T.nilable(::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, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# Indicates that the raw request result is returned
|
25
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
29
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
30
|
+
@id = id
|
31
|
+
@sub_resource_id = sub_resource_id
|
32
|
+
@x_account_id = x_account_id
|
33
|
+
@fields_ = fields_
|
34
|
+
@proxy = proxy
|
35
|
+
@raw = raw
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetUserAssignmentResponse < ::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 assignment with the given identifier was retrieved.
|
21
|
+
field :assignment_result, T.nilable(::StackOne::Shared::AssignmentResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assignment_result: T.nilable(::StackOne::Shared::AssignmentResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, assignment_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@assignment_result = assignment_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class LmsGetUserCompletionRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', '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 to return in the response (if empty, all fields are returned)
|
21
|
+
field :fields_, T.nilable(::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, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# Indicates that the raw request result is returned
|
25
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
29
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
30
|
+
@id = id
|
31
|
+
@sub_resource_id = sub_resource_id
|
32
|
+
@x_account_id = x_account_id
|
33
|
+
@fields_ = fields_
|
34
|
+
@proxy = proxy
|
35
|
+
@raw = raw
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|