stackone_client 0.2.36 → 0.2.37
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/accounts.rb +4 -4
- data/lib/stack_one/ats.rb +78 -2
- data/lib/stack_one/hris.rb +76 -0
- data/lib/stack_one/lms.rb +175 -22
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +60 -0
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_assessments_result_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +60 -0
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +5 -2
- data/lib/stack_one/models/operations/hris_get_employee_employment_request.rb +42 -0
- data/lib/stack_one/models/operations/hris_get_employee_employment_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_employee_employments_request.rb +58 -0
- data/lib/stack_one/models/operations/hris_list_employee_employments_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_create_completion_request.rb +5 -2
- data/lib/stack_one/models/operations/lms_get_assignment_request.rb +39 -0
- data/lib/stack_one/models/operations/{lms_get_completion_response.rb → lms_get_assignment_response.rb} +6 -6
- data/lib/stack_one/models/operations/{lms_get_completion_request.rb → lms_get_course_request.rb} +2 -2
- data/lib/stack_one/models/operations/lms_get_course_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_assignments_request.rb +55 -0
- data/lib/stack_one/models/operations/lms_list_assignments_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_completions_request.rb +55 -0
- data/lib/stack_one/models/operations/lms_list_completions_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_courses_request.rb +52 -0
- data/lib/stack_one/models/operations/lms_list_courses_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_update_account_request.rb +4 -4
- data/lib/stack_one/models/operations.rb +26 -4
- data/lib/stack_one/models/shared/{contactscustomfields_type.rb → active.rb} +4 -4
- data/lib/stack_one/models/shared/applicationcustomfields.rb +2 -11
- data/lib/stack_one/models/shared/assessmentsresults.rb +7 -7
- data/lib/stack_one/models/shared/assessmentsresults_candidate.rb +8 -5
- data/lib/stack_one/models/shared/assessmentsresults_content_type.rb +2 -2
- data/lib/stack_one/models/shared/{employeecustomfields_value.rb → assessmentsresults_schemas_value.rb} +3 -7
- data/lib/stack_one/models/shared/assessmentsresults_value.rb +5 -3
- data/lib/stack_one/models/shared/assignment.rb +54 -0
- data/lib/stack_one/models/shared/{completionresult.rb → assignmentresult.rb} +3 -3
- data/lib/stack_one/models/shared/assignmentspaginated.rb +30 -0
- data/lib/stack_one/models/shared/{employeecustomfields_type.rb → assignmentstatusenum.rb} +4 -4
- data/lib/stack_one/models/shared/atsdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/campaign.rb +2 -2
- data/lib/stack_one/models/shared/candidatecustomfields.rb +2 -11
- data/lib/stack_one/models/shared/channelsenum.rb +2 -2
- data/lib/stack_one/models/shared/channelsenum_value.rb +24 -0
- data/lib/stack_one/models/shared/completion.rb +4 -10
- data/lib/stack_one/models/shared/{candidatecustomfields_type.rb → completion_result.rb} +4 -4
- data/lib/stack_one/models/shared/completionspaginated.rb +30 -0
- data/lib/stack_one/models/shared/contactscustomfields.rb +2 -11
- data/lib/stack_one/models/shared/contentblock_schemas_value.rb +3 -0
- data/lib/stack_one/models/shared/contentblock_value.rb +3 -1
- data/lib/stack_one/models/shared/course.rb +72 -0
- data/lib/stack_one/models/shared/course_schemas_value.rb +20 -0
- data/lib/stack_one/models/shared/{applicationcustomfields_type.rb → course_type.rb} +4 -4
- data/lib/stack_one/models/shared/course_value.rb +19 -0
- data/lib/stack_one/models/shared/coursepaginated.rb +33 -0
- data/lib/stack_one/models/shared/courseresult.rb +27 -0
- data/lib/stack_one/models/shared/customfielddefinition_value.rb +5 -0
- data/lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb +27 -0
- data/lib/stack_one/models/shared/customfielddefinitionspaginated.rb +2 -2
- data/lib/stack_one/models/shared/document.rb +5 -2
- data/lib/stack_one/models/shared/employeecustomfields.rb +2 -11
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +5 -2
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/iamuser_avatar.rb +5 -2
- data/lib/stack_one/models/shared/job.rb +3 -3
- data/lib/stack_one/models/shared/jobposting_content.rb +5 -2
- data/lib/stack_one/models/shared/{patchaccountdto.rb → label.rb} +1 -1
- data/lib/stack_one/models/shared/linkedaccount.rb +2 -2
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +2 -11
- data/lib/stack_one/models/shared/patchaccountexternaldto.rb +51 -0
- data/lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb +20 -0
- data/lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb +20 -0
- data/lib/stack_one/models/shared/result.rb +5 -5
- data/lib/stack_one/models/shared/secrets.rb +20 -0
- data/lib/stack_one/models/shared/skills.rb +33 -0
- data/lib/stack_one/models/shared/status.rb +14 -9
- data/lib/stack_one/models/shared/statusreason.rb +30 -0
- data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/value.rb +4 -8
- data/lib/stack_one/models/shared/workeligibility_document.rb +5 -2
- data/lib/stack_one/models/shared.rb +34 -23
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +49 -16
- data/lib/stack_one/models/shared/applicationcustomfields_value.rb +0 -23
- data/lib/stack_one/models/shared/campaign_status.rb +0 -27
- data/lib/stack_one/models/shared/candidatecustomfields_value.rb +0 -23
- data/lib/stack_one/models/shared/contactscustomfields_value.rb +0 -23
- data/lib/stack_one/models/shared/user.rb +0 -42
|
@@ -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 LmsListAssignmentsResponse < ::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 assignments related to the employee with the given identifier were retrieved.
|
|
21
|
+
field :assignments_paginated, T.nilable(::StackOne::Shared::AssignmentsPaginated)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assignments_paginated: T.nilable(::StackOne::Shared::AssignmentsPaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, assignments_paginated: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@assignments_paginated = assignments_paginated
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
# Filter parameters that allow greater customisation of the list response
|
|
11
|
+
class LmsListCompletionsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# Use a string with a date to only select results updated after that given date
|
|
15
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
|
19
|
+
def initialize(updated_after: nil)
|
|
20
|
+
@updated_after = updated_after
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
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 LmsListCompletionsRequest < ::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
|
+
# Filter parameters that allow greater customisation of the list response
|
|
21
|
+
field :filter, T.nilable(::StackOne::Operations::LmsListCompletionsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } }
|
|
22
|
+
# The unified cursor
|
|
23
|
+
field :next_, T.nilable(::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, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
28
|
+
# The number of results per page
|
|
29
|
+
field :page_size, T.nilable(::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, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
32
|
+
# Indicates that the raw request result is returned
|
|
33
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
34
|
+
# Use a string with a date to only select results updated after that given date
|
|
35
|
+
#
|
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
37
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::LmsListCompletionsQueryParamFilter), 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 }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
42
|
+
@id = id
|
|
43
|
+
@x_account_id = x_account_id
|
|
44
|
+
@fields_ = fields_
|
|
45
|
+
@filter = filter
|
|
46
|
+
@next_ = next_
|
|
47
|
+
@page = page
|
|
48
|
+
@page_size = page_size
|
|
49
|
+
@proxy = proxy
|
|
50
|
+
@raw = raw
|
|
51
|
+
@updated_after = updated_after
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
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 LmsListCompletionsResponse < ::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 completions with for the users with the given identifier were retrieved.
|
|
21
|
+
field :completions_paginated, T.nilable(::StackOne::Shared::CompletionsPaginated)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, completions_paginated: T.nilable(::StackOne::Shared::CompletionsPaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, completions_paginated: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@completions_paginated = completions_paginated
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
# Filter parameters that allow greater customisation of the list response
|
|
11
|
+
class LmsListCoursesQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# Use a string with a date to only select results updated after that given date
|
|
15
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
|
19
|
+
def initialize(updated_after: nil)
|
|
20
|
+
@updated_after = updated_after
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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 LmsListCoursesRequest < ::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
|
+
# Filter parameters that allow greater customisation of the list response
|
|
19
|
+
field :filter, T.nilable(::StackOne::Operations::LmsListCoursesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', '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: T.nilable(::StackOne::Operations::LmsListCoursesQueryParamFilter), 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: 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 = filter
|
|
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://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 LmsListCoursesResponse < ::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 courses was retrieved.
|
|
21
|
+
field :course_paginated, T.nilable(::StackOne::Shared::CoursePaginated)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, course_paginated: T.nilable(::StackOne::Shared::CoursePaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, course_paginated: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@course_paginated = course_paginated
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -14,13 +14,13 @@ module StackOne
|
|
|
14
14
|
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
|
16
16
|
|
|
17
|
-
field :
|
|
17
|
+
field :patch_account_external_dto, ::StackOne::Shared::PatchAccountExternalDto, { 'request': { 'media_type': 'application/json' } }
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
sig { params(id: ::String,
|
|
21
|
-
def initialize(id: nil,
|
|
20
|
+
sig { params(id: ::String, patch_account_external_dto: ::StackOne::Shared::PatchAccountExternalDto).void }
|
|
21
|
+
def initialize(id: nil, patch_account_external_dto: nil)
|
|
22
22
|
@id = id
|
|
23
|
-
@
|
|
23
|
+
@patch_account_external_dto = patch_account_external_dto
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
26
|
end
|
|
@@ -33,6 +33,9 @@ module StackOne
|
|
|
33
33
|
autoload :AtsDownloadApplicationDocumentResponse, 'stack_one/models/operations/ats_download_application_document_response.rb'
|
|
34
34
|
autoload :AtsGetApplicationRequest, 'stack_one/models/operations/ats_get_application_request.rb'
|
|
35
35
|
autoload :AtsGetApplicationResponse, 'stack_one/models/operations/ats_get_application_response.rb'
|
|
36
|
+
autoload :Filter, 'stack_one/models/operations/filter.rb'
|
|
37
|
+
autoload :AtsGetApplicationCustomFieldDefinitionRequest, 'stack_one/models/operations/ats_get_application_custom_field_definition_request.rb'
|
|
38
|
+
autoload :AtsGetApplicationCustomFieldDefinitionResponse, 'stack_one/models/operations/ats_get_application_custom_field_definition_response.rb'
|
|
36
39
|
autoload :AtsGetApplicationDocumentRequest, 'stack_one/models/operations/ats_get_application_document_request.rb'
|
|
37
40
|
autoload :AtsGetApplicationDocumentResponse, 'stack_one/models/operations/ats_get_application_document_response.rb'
|
|
38
41
|
autoload :AtsGetApplicationOfferRequest, 'stack_one/models/operations/ats_get_application_offer_request.rb'
|
|
@@ -49,6 +52,9 @@ module StackOne
|
|
|
49
52
|
autoload :AtsGetAssessmentsResultResponse, 'stack_one/models/operations/ats_get_assessments_result_response.rb'
|
|
50
53
|
autoload :AtsGetCandidateRequest, 'stack_one/models/operations/ats_get_candidate_request.rb'
|
|
51
54
|
autoload :AtsGetCandidateResponse, 'stack_one/models/operations/ats_get_candidate_response.rb'
|
|
55
|
+
autoload :QueryParamFilter, 'stack_one/models/operations/queryparam_filter.rb'
|
|
56
|
+
autoload :AtsGetCandidateCustomFieldDefinitionRequest, 'stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb'
|
|
57
|
+
autoload :AtsGetCandidateCustomFieldDefinitionResponse, 'stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb'
|
|
52
58
|
autoload :AtsGetCandidateNoteRequest, 'stack_one/models/operations/ats_get_candidate_note_request.rb'
|
|
53
59
|
autoload :AtsGetCandidateNoteResponse, 'stack_one/models/operations/ats_get_candidate_note_response.rb'
|
|
54
60
|
autoload :AtsGetDepartmentRequest, 'stack_one/models/operations/ats_get_department_request.rb'
|
|
@@ -71,10 +77,10 @@ module StackOne
|
|
|
71
77
|
autoload :AtsGetRejectedReasonResponse, 'stack_one/models/operations/ats_get_rejected_reason_response.rb'
|
|
72
78
|
autoload :AtsGetUserRequest, 'stack_one/models/operations/ats_get_user_request.rb'
|
|
73
79
|
autoload :AtsGetUserResponse, 'stack_one/models/operations/ats_get_user_response.rb'
|
|
74
|
-
autoload :
|
|
80
|
+
autoload :AtsListApplicationCustomFieldDefinitionsQueryParamFilter, 'stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb'
|
|
75
81
|
autoload :AtsListApplicationCustomFieldDefinitionsRequest, 'stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb'
|
|
76
82
|
autoload :AtsListApplicationCustomFieldDefinitionsResponse, 'stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb'
|
|
77
|
-
autoload :
|
|
83
|
+
autoload :AtsListApplicationDocumentsQueryParamFilter, 'stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb'
|
|
78
84
|
autoload :AtsListApplicationDocumentsRequest, 'stack_one/models/operations/ats_list_application_documents_request.rb'
|
|
79
85
|
autoload :AtsListApplicationDocumentsResponse, 'stack_one/models/operations/ats_list_application_documents_response.rb'
|
|
80
86
|
autoload :AtsListApplicationScorecardsQueryParamFilter, 'stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb'
|
|
@@ -178,6 +184,8 @@ module StackOne
|
|
|
178
184
|
autoload :HrisGetEmployeeDocumentResponse, 'stack_one/models/operations/hris_get_employee_document_response.rb'
|
|
179
185
|
autoload :HrisGetEmployeeDocumentCategoryRequest, 'stack_one/models/operations/hris_get_employee_document_category_request.rb'
|
|
180
186
|
autoload :HrisGetEmployeeDocumentCategoryResponse, 'stack_one/models/operations/hris_get_employee_document_category_response.rb'
|
|
187
|
+
autoload :HrisGetEmployeeEmploymentRequest, 'stack_one/models/operations/hris_get_employee_employment_request.rb'
|
|
188
|
+
autoload :HrisGetEmployeeEmploymentResponse, 'stack_one/models/operations/hris_get_employee_employment_response.rb'
|
|
181
189
|
autoload :HrisGetEmployeesTimeOffRequestRequest, 'stack_one/models/operations/hris_get_employees_time_off_request_request.rb'
|
|
182
190
|
autoload :HrisGetEmployeesTimeOffRequestResponse, 'stack_one/models/operations/hris_get_employees_time_off_request_response.rb'
|
|
183
191
|
autoload :HrisGetEmployeesWorkEligibilityRequest, 'stack_one/models/operations/hris_get_employees_work_eligibility_request.rb'
|
|
@@ -207,6 +215,9 @@ module StackOne
|
|
|
207
215
|
autoload :HrisListEmployeeDocumentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb'
|
|
208
216
|
autoload :HrisListEmployeeDocumentsRequest, 'stack_one/models/operations/hris_list_employee_documents_request.rb'
|
|
209
217
|
autoload :HrisListEmployeeDocumentsResponse, 'stack_one/models/operations/hris_list_employee_documents_response.rb'
|
|
218
|
+
autoload :HrisListEmployeeEmploymentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb'
|
|
219
|
+
autoload :HrisListEmployeeEmploymentsRequest, 'stack_one/models/operations/hris_list_employee_employments_request.rb'
|
|
220
|
+
autoload :HrisListEmployeeEmploymentsResponse, 'stack_one/models/operations/hris_list_employee_employments_response.rb'
|
|
210
221
|
autoload :HrisListEmployeeTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb'
|
|
211
222
|
autoload :HrisListEmployeeTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_employee_time_off_requests_request.rb'
|
|
212
223
|
autoload :HrisListEmployeeTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_employee_time_off_requests_response.rb'
|
|
@@ -263,20 +274,31 @@ module StackOne
|
|
|
263
274
|
autoload :LmsCreateCompletionResponse, 'stack_one/models/operations/lms_create_completion_response.rb'
|
|
264
275
|
autoload :LmsCreateContentRequest, 'stack_one/models/operations/lms_create_content_request.rb'
|
|
265
276
|
autoload :LmsCreateContentResponse, 'stack_one/models/operations/lms_create_content_response.rb'
|
|
277
|
+
autoload :LmsGetAssignmentRequest, 'stack_one/models/operations/lms_get_assignment_request.rb'
|
|
278
|
+
autoload :LmsGetAssignmentResponse, 'stack_one/models/operations/lms_get_assignment_response.rb'
|
|
266
279
|
autoload :LmsGetCategoryRequest, 'stack_one/models/operations/lms_get_category_request.rb'
|
|
267
280
|
autoload :LmsGetCategoryResponse, 'stack_one/models/operations/lms_get_category_response.rb'
|
|
268
|
-
autoload :LmsGetCompletionRequest, 'stack_one/models/operations/lms_get_completion_request.rb'
|
|
269
|
-
autoload :LmsGetCompletionResponse, 'stack_one/models/operations/lms_get_completion_response.rb'
|
|
270
281
|
autoload :LmsGetContentRequest, 'stack_one/models/operations/lms_get_content_request.rb'
|
|
271
282
|
autoload :LmsGetContentResponse, 'stack_one/models/operations/lms_get_content_response.rb'
|
|
283
|
+
autoload :LmsGetCourseRequest, 'stack_one/models/operations/lms_get_course_request.rb'
|
|
284
|
+
autoload :LmsGetCourseResponse, 'stack_one/models/operations/lms_get_course_response.rb'
|
|
272
285
|
autoload :LmsGetUserRequest, 'stack_one/models/operations/lms_get_user_request.rb'
|
|
273
286
|
autoload :LmsGetUserResponse, 'stack_one/models/operations/lms_get_user_response.rb'
|
|
287
|
+
autoload :LmsListAssignmentsQueryParamFilter, 'stack_one/models/operations/lms_list_assignments_queryparam_filter.rb'
|
|
288
|
+
autoload :LmsListAssignmentsRequest, 'stack_one/models/operations/lms_list_assignments_request.rb'
|
|
289
|
+
autoload :LmsListAssignmentsResponse, 'stack_one/models/operations/lms_list_assignments_response.rb'
|
|
274
290
|
autoload :LmsListCategoriesQueryParamFilter, 'stack_one/models/operations/lms_list_categories_queryparam_filter.rb'
|
|
275
291
|
autoload :LmsListCategoriesRequest, 'stack_one/models/operations/lms_list_categories_request.rb'
|
|
276
292
|
autoload :LmsListCategoriesResponse, 'stack_one/models/operations/lms_list_categories_response.rb'
|
|
293
|
+
autoload :LmsListCompletionsQueryParamFilter, 'stack_one/models/operations/lms_list_completions_queryparam_filter.rb'
|
|
294
|
+
autoload :LmsListCompletionsRequest, 'stack_one/models/operations/lms_list_completions_request.rb'
|
|
295
|
+
autoload :LmsListCompletionsResponse, 'stack_one/models/operations/lms_list_completions_response.rb'
|
|
277
296
|
autoload :LmsListContentQueryParamFilter, 'stack_one/models/operations/lms_list_content_queryparam_filter.rb'
|
|
278
297
|
autoload :LmsListContentRequest, 'stack_one/models/operations/lms_list_content_request.rb'
|
|
279
298
|
autoload :LmsListContentResponse, 'stack_one/models/operations/lms_list_content_response.rb'
|
|
299
|
+
autoload :LmsListCoursesQueryParamFilter, 'stack_one/models/operations/lms_list_courses_queryparam_filter.rb'
|
|
300
|
+
autoload :LmsListCoursesRequest, 'stack_one/models/operations/lms_list_courses_request.rb'
|
|
301
|
+
autoload :LmsListCoursesResponse, 'stack_one/models/operations/lms_list_courses_response.rb'
|
|
280
302
|
autoload :LmsListUsersQueryParamFilter, 'stack_one/models/operations/lms_list_users_queryparam_filter.rb'
|
|
281
303
|
autoload :LmsListUsersRequest, 'stack_one/models/operations/lms_list_users_request.rb'
|
|
282
304
|
autoload :LmsListUsersResponse, 'stack_one/models/operations/lms_list_users_response.rb'
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Shared
|
|
9
9
|
|
|
10
|
-
#
|
|
11
|
-
class
|
|
10
|
+
# Whether the course is active and available for users.
|
|
11
|
+
class Active < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
|
16
16
|
|
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
|
17
|
+
field :value, T.nilable(::StackOne::Shared::CourseValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CourseValue, true) } }
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::
|
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::CourseValue)).void }
|
|
21
21
|
def initialize(source_value: nil, value: nil)
|
|
22
22
|
@source_value = source_value
|
|
23
23
|
@value = value
|
|
@@ -11,35 +11,26 @@ module StackOne
|
|
|
11
11
|
class ApplicationCustomFields < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
|
-
# The description of the custom field.
|
|
15
|
-
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
|
16
14
|
# Unique identifier
|
|
17
15
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
|
18
16
|
# The name of the custom field.
|
|
19
17
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
|
20
|
-
# An array of possible options for the custom field.
|
|
21
|
-
field :options, T.nilable(T::Array[::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
|
|
22
18
|
# Provider's unique identifier
|
|
23
19
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
|
24
20
|
# Provider's unique identifier for the value of the custom field.
|
|
25
21
|
field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
|
|
26
|
-
# The type of the custom field.
|
|
27
|
-
field :type, T.nilable(::StackOne::Shared::ApplicationCustomFieldsType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
|
28
22
|
# The value associated with the custom field.
|
|
29
23
|
field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
|
30
24
|
# The unique identifier for the value of the custom field.
|
|
31
25
|
field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
|
|
32
26
|
|
|
33
27
|
|
|
34
|
-
sig { params(
|
|
35
|
-
def initialize(
|
|
36
|
-
@description = description
|
|
28
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
|
|
29
|
+
def initialize(id: nil, name: nil, remote_id: nil, remote_value_id: nil, value: nil, value_id: nil)
|
|
37
30
|
@id = id
|
|
38
31
|
@name = name
|
|
39
|
-
@options = options
|
|
40
32
|
@remote_id = remote_id
|
|
41
33
|
@remote_value_id = remote_value_id
|
|
42
|
-
@type = type
|
|
43
34
|
@value = value
|
|
44
35
|
@value_id = value_id
|
|
45
36
|
end
|
|
@@ -23,20 +23,20 @@ module StackOne
|
|
|
23
23
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
|
24
24
|
# Provider's unique identifier
|
|
25
25
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
|
26
|
-
|
|
27
|
-
field :result, T.nilable(::
|
|
26
|
+
|
|
27
|
+
field :result, T.nilable(::StackOne::Shared::Result), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result') } }
|
|
28
|
+
# The assessment`s result url
|
|
29
|
+
field :result_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_url') } }
|
|
28
30
|
|
|
29
31
|
field :score, T.nilable(::StackOne::Shared::Score), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('score') } }
|
|
30
|
-
# The status of the candidates assessment.
|
|
31
|
-
field :status, T.nilable(::StackOne::Shared::Status), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Status, true) } }
|
|
32
32
|
# The submission date of the candidate assessment
|
|
33
33
|
field :submission_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('submission_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
|
34
34
|
# The summary about the result of the assessments
|
|
35
35
|
field :summary, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('summary') } }
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
sig { params(assessment_date: T.nilable(::DateTime), assessment_id: T.nilable(::String), attachments: T.nilable(::StackOne::Shared::Attachments), candidate: T.nilable(::StackOne::Shared::AssessmentsResultsCandidate), id: T.nilable(::String), remote_id: T.nilable(::String), result: T.nilable(::
|
|
39
|
-
def initialize(assessment_date: nil, assessment_id: nil, attachments: nil, candidate: nil, id: nil, remote_id: nil, result: nil,
|
|
38
|
+
sig { params(assessment_date: T.nilable(::DateTime), assessment_id: T.nilable(::String), attachments: T.nilable(::StackOne::Shared::Attachments), candidate: T.nilable(::StackOne::Shared::AssessmentsResultsCandidate), id: T.nilable(::String), remote_id: T.nilable(::String), result: T.nilable(::StackOne::Shared::Result), result_url: T.nilable(::String), score: T.nilable(::StackOne::Shared::Score), submission_date: T.nilable(::DateTime), summary: T.nilable(::String)).void }
|
|
39
|
+
def initialize(assessment_date: nil, assessment_id: nil, attachments: nil, candidate: nil, id: nil, remote_id: nil, result: nil, result_url: nil, score: nil, submission_date: nil, summary: nil)
|
|
40
40
|
@assessment_date = assessment_date
|
|
41
41
|
@assessment_id = assessment_id
|
|
42
42
|
@attachments = attachments
|
|
@@ -44,8 +44,8 @@ module StackOne
|
|
|
44
44
|
@id = id
|
|
45
45
|
@remote_id = remote_id
|
|
46
46
|
@result = result
|
|
47
|
+
@result_url = result_url
|
|
47
48
|
@score = score
|
|
48
|
-
@status = status
|
|
49
49
|
@submission_date = submission_date
|
|
50
50
|
@summary = summary
|
|
51
51
|
end
|
|
@@ -11,13 +11,16 @@ module StackOne
|
|
|
11
11
|
class AssessmentsResultsCandidate < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
|
-
#
|
|
15
|
-
field :
|
|
14
|
+
# Unique identifier
|
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
|
16
|
+
# Candidate profile url
|
|
17
|
+
field :profile_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('profile_url') } }
|
|
16
18
|
|
|
17
19
|
|
|
18
|
-
sig { params(
|
|
19
|
-
def initialize(
|
|
20
|
-
@
|
|
20
|
+
sig { params(id: T.nilable(::String), profile_url: T.nilable(::String)).void }
|
|
21
|
+
def initialize(id: nil, profile_url: nil)
|
|
22
|
+
@id = id
|
|
23
|
+
@profile_url = profile_url
|
|
21
24
|
end
|
|
22
25
|
end
|
|
23
26
|
end
|
|
@@ -14,10 +14,10 @@ module StackOne
|
|
|
14
14
|
# The source value of the content type.
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
|
16
16
|
# The content type of the attachment.
|
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
|
17
|
+
field :value, T.nilable(::StackOne::Shared::AssessmentsResultsSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AssessmentsResultsSchemasValue, true) } }
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::
|
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AssessmentsResultsSchemasValue)).void }
|
|
21
21
|
def initialize(source_value: nil, value: nil)
|
|
22
22
|
@source_value = source_value
|
|
23
23
|
@value = value
|
|
@@ -7,15 +7,11 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Shared
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
class
|
|
10
|
+
# AssessmentsResultsSchemasValue - The content type of the attachment.
|
|
11
|
+
class AssessmentsResultsSchemasValue < T::Enum
|
|
12
12
|
enums do
|
|
13
|
-
DATE = new('date')
|
|
14
|
-
FLOAT = new('float')
|
|
15
|
-
INTEGER = new('integer')
|
|
16
|
-
LIST = new('list')
|
|
17
|
-
CHECKBOX = new('checkbox')
|
|
18
13
|
TEXT = new('text')
|
|
14
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
|
19
15
|
end
|
|
20
16
|
end
|
|
21
17
|
|
|
@@ -7,11 +7,13 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Shared
|
|
9
9
|
|
|
10
|
-
# AssessmentsResultsValue - The
|
|
10
|
+
# AssessmentsResultsValue - The result of the assessment.
|
|
11
11
|
class AssessmentsResultsValue < T::Enum
|
|
12
12
|
enums do
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
CANCELLED = new('cancelled')
|
|
14
|
+
EXPIRED = new('expired')
|
|
15
|
+
FAILED = new('failed')
|
|
16
|
+
PASSED = new('passed')
|
|
15
17
|
end
|
|
16
18
|
end
|
|
17
19
|
|
|
@@ -0,0 +1,54 @@
|
|
|
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 Shared
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Assignment < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# The course ID associated with this assignment
|
|
15
|
+
field :course_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('course_id') } }
|
|
16
|
+
# The date the assignment was created
|
|
17
|
+
field :created_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at') } }
|
|
18
|
+
# The date the assignment is due to be completed
|
|
19
|
+
field :due_date, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('due_date') } }
|
|
20
|
+
# The external ID associated with this assignment
|
|
21
|
+
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_id') } }
|
|
22
|
+
# The ID associated with this assignment
|
|
23
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
|
24
|
+
# Value to pass through to the provider
|
|
25
|
+
field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
|
|
26
|
+
# Provider's unique identifier of the course related to the assignment
|
|
27
|
+
field :remote_course_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_course_id') } }
|
|
28
|
+
# Provider's unique identifier of the assignment
|
|
29
|
+
field :remote_external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_external_id') } }
|
|
30
|
+
# Provider's unique identifier
|
|
31
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
|
32
|
+
# The status of the assignment
|
|
33
|
+
field :status, T.nilable(T::Array[::StackOne::Shared::AssignmentStatusEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
|
34
|
+
# The date the assignment was last updated
|
|
35
|
+
field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } }
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
sig { params(course_id: T.nilable(::String), created_at: T.nilable(::String), due_date: T.nilable(::String), external_id: T.nilable(::String), id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), remote_course_id: T.nilable(::String), remote_external_id: T.nilable(::String), remote_id: T.nilable(::String), status: T.nilable(T::Array[::StackOne::Shared::AssignmentStatusEnum]), updated_at: T.nilable(::String)).void }
|
|
39
|
+
def initialize(course_id: nil, created_at: nil, due_date: nil, external_id: nil, id: nil, passthrough: nil, remote_course_id: nil, remote_external_id: nil, remote_id: nil, status: nil, updated_at: nil)
|
|
40
|
+
@course_id = course_id
|
|
41
|
+
@created_at = created_at
|
|
42
|
+
@due_date = due_date
|
|
43
|
+
@external_id = external_id
|
|
44
|
+
@id = id
|
|
45
|
+
@passthrough = passthrough
|
|
46
|
+
@remote_course_id = remote_course_id
|
|
47
|
+
@remote_external_id = remote_external_id
|
|
48
|
+
@remote_id = remote_id
|
|
49
|
+
@status = status
|
|
50
|
+
@updated_at = updated_at
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -8,16 +8,16 @@ module StackOne
|
|
|
8
8
|
module Shared
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class AssignmentResult < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
field :data, ::StackOne::Shared::
|
|
15
|
+
field :data, ::StackOne::Shared::Assignment, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
|
16
16
|
|
|
17
17
|
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
sig { params(data: ::StackOne::Shared::
|
|
20
|
+
sig { params(data: ::StackOne::Shared::Assignment, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
|
21
21
|
def initialize(data: nil, raw: nil)
|
|
22
22
|
@data = data
|
|
23
23
|
@raw = raw
|