stackone_client 0.2.46 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/lms.rb +92 -0
- data/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb +6 -3
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
- data/lib/stack_one/models/operations/lms_batch_upsert_course_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_course_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_upsert_course_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_upsert_course_response.rb +33 -0
- data/lib/stack_one/models/operations/status.rb +18 -0
- data/lib/stack_one/models/operations.rb +5 -0
- data/lib/stack_one/models/shared/assignment.rb +2 -2
- data/lib/stack_one/models/shared/{learningobjecttypeenum_value.rb → assignment_value.rb} +1 -1
- data/lib/stack_one/models/shared/categories.rb +1 -0
- data/lib/stack_one/models/shared/completion.rb +14 -2
- data/lib/stack_one/models/shared/{active.rb → completion_learning_object_type.rb} +4 -4
- data/lib/stack_one/models/shared/completion_schemas_result.rb +2 -2
- data/lib/stack_one/models/shared/{createcategoriesapimodel_value.rb → completion_schemas_value.rb} +3 -3
- data/lib/stack_one/models/shared/completion_value.rb +3 -2
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
- data/lib/stack_one/models/shared/course.rb +3 -3
- data/lib/stack_one/models/shared/course_type.rb +2 -2
- data/lib/stack_one/models/shared/course_value.rb +3 -2
- data/lib/stack_one/models/shared/createcategoriesapimodel.rb +2 -8
- data/lib/stack_one/models/shared/createcontentapimodel.rb +33 -0
- data/lib/stack_one/models/shared/createskillsapimodel.rb +30 -0
- data/lib/stack_one/models/shared/employee_schemas_national_identity_number_type_value.rb +30 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_type_value.rb +30 -0
- data/lib/stack_one/models/shared/{learningobjecttypeenum.rb → learning_object_type.rb} +4 -4
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/lmsbatchupsertcourserequestdto.rb +24 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +69 -0
- data/lib/stack_one/models/shared/{createcategoriesapimodel_level.rb → lmsupsertcourserequestdto_course_type.rb} +4 -4
- data/lib/stack_one/models/shared/{course_schemas_value.rb → lmsupsertcourserequestdto_value.rb} +1 -1
- data/lib/stack_one/models/shared.rb +13 -9
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +21 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f7cc7e78aff988a64ebea9f5fcf4396e110ac42c6652f18bb2f51bfdfe905ca
|
4
|
+
data.tar.gz: 569f17630065417b262f32ae2c02ee621e1c4af9ad5a0096bf36c0b1f51ea525
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d66f7e48abc53c478aaeba07ca43642eaab1016ee491b6b27fd3b5feb79d235d173ccea46e99aa7eeb2b5e4afb6d13bc0dcd3ce41ea195ba0042169673faa356
|
7
|
+
data.tar.gz: 3458b5787299193bb5c61fd415f70bb4e232d16854bdfdf29ccdf26026f72270d15a2d0c1efd97debbd2f4ca8505e07ff78f500ce2e7ce5690902af7f54c4dbc
|
data/lib/stack_one/lms.rb
CHANGED
@@ -65,6 +65,52 @@ module StackOne
|
|
65
65
|
end
|
66
66
|
|
67
67
|
|
68
|
+
sig { params(lms_batch_upsert_course_request_dto: ::StackOne::Shared::LmsBatchUpsertCourseRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsBatchUpsertCourseResponse) }
|
69
|
+
def batch_upsert_course(lms_batch_upsert_course_request_dto, x_account_id)
|
70
|
+
# batch_upsert_course - Batch Upsert Course
|
71
|
+
request = ::StackOne::Operations::LmsBatchUpsertCourseRequest.new(
|
72
|
+
|
73
|
+
lms_batch_upsert_course_request_dto: lms_batch_upsert_course_request_dto,
|
74
|
+
x_account_id: x_account_id
|
75
|
+
)
|
76
|
+
url, params = @sdk_configuration.get_server_details
|
77
|
+
base_url = Utils.template_url(url, params)
|
78
|
+
url = "#{base_url}/unified/lms/courses/batch"
|
79
|
+
headers = Utils.get_headers(request)
|
80
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_batch_upsert_course_request_dto, :json)
|
81
|
+
headers['content-type'] = req_content_type
|
82
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
83
|
+
headers['Accept'] = 'application/json'
|
84
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
85
|
+
|
86
|
+
r = @sdk_configuration.client.post(url) do |req|
|
87
|
+
req.headers = headers
|
88
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
89
|
+
if form
|
90
|
+
req.body = Utils.encode_form(form)
|
91
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
92
|
+
req.body = URI.encode_www_form(data)
|
93
|
+
else
|
94
|
+
req.body = data
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
99
|
+
|
100
|
+
res = ::StackOne::Operations::LmsBatchUpsertCourseResponse.new(
|
101
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
102
|
+
)
|
103
|
+
if r.status == 202
|
104
|
+
if Utils.match_content_type(content_type, 'application/json')
|
105
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::BatchResultApiModel)
|
106
|
+
res.batch_result_api_model = out
|
107
|
+
end
|
108
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
109
|
+
end
|
110
|
+
res
|
111
|
+
end
|
112
|
+
|
113
|
+
|
68
114
|
sig { params(lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateContentResponse) }
|
69
115
|
def create_content(lms_create_content_request_dto, x_account_id)
|
70
116
|
# create_content - Create Content
|
@@ -949,5 +995,51 @@ module StackOne
|
|
949
995
|
end
|
950
996
|
res
|
951
997
|
end
|
998
|
+
|
999
|
+
|
1000
|
+
sig { params(lms_upsert_course_request_dto: ::StackOne::Shared::LmsUpsertCourseRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsUpsertCourseResponse) }
|
1001
|
+
def upsert_course(lms_upsert_course_request_dto, x_account_id)
|
1002
|
+
# upsert_course - Upsert Course
|
1003
|
+
request = ::StackOne::Operations::LmsUpsertCourseRequest.new(
|
1004
|
+
|
1005
|
+
lms_upsert_course_request_dto: lms_upsert_course_request_dto,
|
1006
|
+
x_account_id: x_account_id
|
1007
|
+
)
|
1008
|
+
url, params = @sdk_configuration.get_server_details
|
1009
|
+
base_url = Utils.template_url(url, params)
|
1010
|
+
url = "#{base_url}/unified/lms/courses"
|
1011
|
+
headers = Utils.get_headers(request)
|
1012
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :lms_upsert_course_request_dto, :json)
|
1013
|
+
headers['content-type'] = req_content_type
|
1014
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
1015
|
+
headers['Accept'] = 'application/json'
|
1016
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
1017
|
+
|
1018
|
+
r = @sdk_configuration.client.put(url) do |req|
|
1019
|
+
req.headers = headers
|
1020
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
1021
|
+
if form
|
1022
|
+
req.body = Utils.encode_form(form)
|
1023
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
1024
|
+
req.body = URI.encode_www_form(data)
|
1025
|
+
else
|
1026
|
+
req.body = data
|
1027
|
+
end
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
1031
|
+
|
1032
|
+
res = ::StackOne::Operations::LmsUpsertCourseResponse.new(
|
1033
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
1034
|
+
)
|
1035
|
+
if r.status == 201
|
1036
|
+
if Utils.match_content_type(content_type, 'application/json')
|
1037
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
1038
|
+
res.create_result = out
|
1039
|
+
end
|
1040
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1041
|
+
end
|
1042
|
+
res
|
1043
|
+
end
|
952
1044
|
end
|
953
1045
|
end
|
@@ -7,16 +7,19 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Operations
|
9
9
|
|
10
|
-
#
|
10
|
+
# ATS Jobs filters
|
11
11
|
class AtsListJobsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# The status of the job
|
15
|
+
field :status, T.nilable(::StackOne::Operations::Status), { 'query_param': { 'field_name': 'status' } }
|
14
16
|
# Use a string with a date to only select results updated after that given date
|
15
17
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
16
18
|
|
17
19
|
|
18
|
-
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
-
def initialize(updated_after: nil)
|
20
|
+
sig { params(status: T.nilable(::StackOne::Operations::Status), updated_after: T.nilable(::String)).void }
|
21
|
+
def initialize(status: nil, updated_after: nil)
|
22
|
+
@status = status
|
20
23
|
@updated_after = updated_after
|
21
24
|
end
|
22
25
|
end
|
@@ -17,7 +17,7 @@ module StackOne
|
|
17
17
|
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
18
18
|
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
#
|
20
|
+
# ATS Jobs filters
|
21
21
|
field :filter, T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
22
22
|
# The comma separated list of fields that will be included in the response
|
23
23
|
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
@@ -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 LmsBatchUpsertCourseRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :lms_batch_upsert_course_request_dto, ::StackOne::Shared::LmsBatchUpsertCourseRequestDto, { '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_course_request_dto: ::StackOne::Shared::LmsBatchUpsertCourseRequestDto, x_account_id: ::String).void }
|
21
|
+
def initialize(lms_batch_upsert_course_request_dto: nil, x_account_id: nil)
|
22
|
+
@lms_batch_upsert_course_request_dto = lms_batch_upsert_course_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 LmsBatchUpsertCourseResponse < ::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 LmsUpsertCourseRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :lms_upsert_course_request_dto, ::StackOne::Shared::LmsUpsertCourseRequestDto, { '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_upsert_course_request_dto: ::StackOne::Shared::LmsUpsertCourseRequestDto, x_account_id: ::String).void }
|
21
|
+
def initialize(lms_upsert_course_request_dto: nil, x_account_id: nil)
|
22
|
+
@lms_upsert_course_request_dto = lms_upsert_course_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 LmsUpsertCourseResponse < ::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 course was upserted successfully.
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@create_result = create_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,18 @@
|
|
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
|
+
# Status - The status of the job
|
11
|
+
class Status < T::Enum
|
12
|
+
enums do
|
13
|
+
OPEN = new('open')
|
14
|
+
DRAFT = new('draft')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -127,6 +127,7 @@ module StackOne
|
|
127
127
|
autoload :AtsListJobPostingsQueryParamFilter, 'stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb'
|
128
128
|
autoload :AtsListJobPostingsRequest, 'stack_one/models/operations/ats_list_job_postings_request.rb'
|
129
129
|
autoload :AtsListJobPostingsResponse, 'stack_one/models/operations/ats_list_job_postings_response.rb'
|
130
|
+
autoload :Status, 'stack_one/models/operations/status.rb'
|
130
131
|
autoload :AtsListJobsQueryParamFilter, 'stack_one/models/operations/ats_list_jobs_queryparam_filter.rb'
|
131
132
|
autoload :AtsListJobsRequest, 'stack_one/models/operations/ats_list_jobs_request.rb'
|
132
133
|
autoload :AtsListJobsResponse, 'stack_one/models/operations/ats_list_jobs_response.rb'
|
@@ -303,6 +304,8 @@ module StackOne
|
|
303
304
|
autoload :IamListUsersResponse, 'stack_one/models/operations/iam_list_users_response.rb'
|
304
305
|
autoload :LmsBatchUpsertContentRequest, 'stack_one/models/operations/lms_batch_upsert_content_request.rb'
|
305
306
|
autoload :LmsBatchUpsertContentResponse, 'stack_one/models/operations/lms_batch_upsert_content_response.rb'
|
307
|
+
autoload :LmsBatchUpsertCourseRequest, 'stack_one/models/operations/lms_batch_upsert_course_request.rb'
|
308
|
+
autoload :LmsBatchUpsertCourseResponse, 'stack_one/models/operations/lms_batch_upsert_course_response.rb'
|
306
309
|
autoload :LmsCreateContentRequest, 'stack_one/models/operations/lms_create_content_request.rb'
|
307
310
|
autoload :LmsCreateContentResponse, 'stack_one/models/operations/lms_create_content_response.rb'
|
308
311
|
autoload :LmsCreateUserCompletionRequest, 'stack_one/models/operations/lms_create_user_completion_request.rb'
|
@@ -358,6 +361,8 @@ module StackOne
|
|
358
361
|
autoload :LmsUpdateContentResponse, 'stack_one/models/operations/lms_update_content_response.rb'
|
359
362
|
autoload :LmsUpsertContentRequest, 'stack_one/models/operations/lms_upsert_content_request.rb'
|
360
363
|
autoload :LmsUpsertContentResponse, 'stack_one/models/operations/lms_upsert_content_response.rb'
|
364
|
+
autoload :LmsUpsertCourseRequest, 'stack_one/models/operations/lms_upsert_course_request.rb'
|
365
|
+
autoload :LmsUpsertCourseResponse, 'stack_one/models/operations/lms_upsert_course_response.rb'
|
361
366
|
autoload :MarketingCreateContentBlockRequest, 'stack_one/models/operations/marketing_create_content_block_request.rb'
|
362
367
|
autoload :MarketingCreateContentBlockResponse, 'stack_one/models/operations/marketing_create_content_block_response.rb'
|
363
368
|
autoload :MarketingCreateEmailTemplateRequest, 'stack_one/models/operations/marketing_create_email_template_request.rb'
|
@@ -24,7 +24,7 @@ module StackOne
|
|
24
24
|
# The learning_object_id associated with this assignment
|
25
25
|
field :learning_object_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('learning_object_id') } }
|
26
26
|
# The learning object type of the assignment
|
27
|
-
field :learning_object_type, T.nilable(
|
27
|
+
field :learning_object_type, T.nilable(::StackOne::Shared::LearningObjectType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('learning_object_type') } }
|
28
28
|
# The progress associated with this assigment
|
29
29
|
field :progress, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('progress') } }
|
30
30
|
# Provider's unique identifier of the course related to the assignment
|
@@ -45,7 +45,7 @@ module StackOne
|
|
45
45
|
field :user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user_id') } }
|
46
46
|
|
47
47
|
|
48
|
-
sig { params(course_id: T.nilable(::String), created_at: T.nilable(::String), due_date: T.nilable(::String), id: T.nilable(::String), learning_object_external_reference: T.nilable(::String), learning_object_id: T.nilable(::String), learning_object_type: T.nilable(
|
48
|
+
sig { params(course_id: T.nilable(::String), created_at: T.nilable(::String), due_date: T.nilable(::String), id: T.nilable(::String), learning_object_external_reference: T.nilable(::String), learning_object_id: T.nilable(::String), learning_object_type: T.nilable(::StackOne::Shared::LearningObjectType), progress: T.nilable(::Float), remote_course_id: T.nilable(::String), remote_id: T.nilable(::String), remote_learning_object_id: T.nilable(::String), remote_user_id: T.nilable(::String), status: T.nilable(T::Array[::StackOne::Shared::AssignmentStatusEnum]), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), user_id: T.nilable(::String)).void }
|
49
49
|
def initialize(course_id: nil, created_at: nil, due_date: nil, id: nil, learning_object_external_reference: nil, learning_object_id: nil, learning_object_type: nil, progress: nil, remote_course_id: nil, remote_id: nil, remote_learning_object_id: nil, remote_user_id: nil, status: nil, unified_custom_fields: nil, updated_at: nil, user_id: nil)
|
50
50
|
@course_id = course_id
|
51
51
|
@created_at = created_at
|
@@ -25,6 +25,12 @@ module StackOne
|
|
25
25
|
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_id') } }
|
26
26
|
# The ID associated with this completion
|
27
27
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
28
|
+
# The learning_object_external_reference associated with this assignment
|
29
|
+
field :learning_object_external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('learning_object_external_reference') } }
|
30
|
+
# The learning_object_id associated with this assignment
|
31
|
+
field :learning_object_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('learning_object_id') } }
|
32
|
+
# The learning object type of the assignment
|
33
|
+
field :learning_object_type, T.nilable(::StackOne::Shared::CompletionLearningObjectType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('learning_object_type') } }
|
28
34
|
# Provider's unique identifier of the content associated with the completion
|
29
35
|
field :remote_content_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_content_id') } }
|
30
36
|
# Provider's unique identifier of the course associated with the completion
|
@@ -33,6 +39,8 @@ module StackOne
|
|
33
39
|
field :remote_external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_external_id') } }
|
34
40
|
# Provider's unique identifier
|
35
41
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
42
|
+
# Provider's unique identifier of the learning object related to the assignment
|
43
|
+
field :remote_learning_object_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_learning_object_id') } }
|
36
44
|
# Provider's unique identifier of the user related to the completion
|
37
45
|
field :remote_user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_user_id') } }
|
38
46
|
# The result of the completion
|
@@ -45,8 +53,8 @@ module StackOne
|
|
45
53
|
field :user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user_id') } }
|
46
54
|
|
47
55
|
|
48
|
-
sig { params(completed_at: T.nilable(::String), content_external_reference: T.nilable(::String), content_id: T.nilable(::String), course_id: T.nilable(::String), created_at: T.nilable(::String), external_id: T.nilable(::String), id: T.nilable(::String), remote_content_id: T.nilable(::String), remote_course_id: T.nilable(::String), remote_external_id: T.nilable(::String), remote_id: T.nilable(::String), remote_user_id: T.nilable(::String), result: T.nilable(::StackOne::Shared::CompletionSchemasResult), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), user_id: T.nilable(::String)).void }
|
49
|
-
def initialize(completed_at: nil, content_external_reference: nil, content_id: nil, course_id: nil, created_at: nil, external_id: nil, id: nil, remote_content_id: nil, remote_course_id: nil, remote_external_id: nil, remote_id: nil, remote_user_id: nil, result: nil, unified_custom_fields: nil, updated_at: nil, user_id: nil)
|
56
|
+
sig { params(completed_at: T.nilable(::String), content_external_reference: T.nilable(::String), content_id: T.nilable(::String), course_id: T.nilable(::String), created_at: T.nilable(::String), external_id: T.nilable(::String), id: T.nilable(::String), learning_object_external_reference: T.nilable(::String), learning_object_id: T.nilable(::String), learning_object_type: T.nilable(::StackOne::Shared::CompletionLearningObjectType), remote_content_id: T.nilable(::String), remote_course_id: T.nilable(::String), remote_external_id: T.nilable(::String), remote_id: T.nilable(::String), remote_learning_object_id: T.nilable(::String), remote_user_id: T.nilable(::String), result: T.nilable(::StackOne::Shared::CompletionSchemasResult), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), user_id: T.nilable(::String)).void }
|
57
|
+
def initialize(completed_at: nil, content_external_reference: nil, content_id: nil, course_id: nil, created_at: nil, external_id: nil, id: nil, learning_object_external_reference: nil, learning_object_id: nil, learning_object_type: nil, remote_content_id: nil, remote_course_id: nil, remote_external_id: nil, remote_id: nil, remote_learning_object_id: nil, remote_user_id: nil, result: nil, unified_custom_fields: nil, updated_at: nil, user_id: nil)
|
50
58
|
@completed_at = completed_at
|
51
59
|
@content_external_reference = content_external_reference
|
52
60
|
@content_id = content_id
|
@@ -54,10 +62,14 @@ module StackOne
|
|
54
62
|
@created_at = created_at
|
55
63
|
@external_id = external_id
|
56
64
|
@id = id
|
65
|
+
@learning_object_external_reference = learning_object_external_reference
|
66
|
+
@learning_object_id = learning_object_id
|
67
|
+
@learning_object_type = learning_object_type
|
57
68
|
@remote_content_id = remote_content_id
|
58
69
|
@remote_course_id = remote_course_id
|
59
70
|
@remote_external_id = remote_external_id
|
60
71
|
@remote_id = remote_id
|
72
|
+
@remote_learning_object_id = remote_learning_object_id
|
61
73
|
@remote_user_id = remote_user_id
|
62
74
|
@result = result
|
63
75
|
@unified_custom_fields = unified_custom_fields
|
@@ -7,17 +7,17 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
#
|
11
|
-
class
|
10
|
+
# The learning object type of the assignment
|
11
|
+
class CompletionLearningObjectType < ::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::CompletionValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CompletionValue, 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::CompletionValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -14,10 +14,10 @@ module StackOne
|
|
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::CompletionSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CompletionSchemasValue, 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::CompletionSchemasValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
data/lib/stack_one/models/shared/{createcategoriesapimodel_value.rb → completion_schemas_value.rb}
RENAMED
@@ -8,10 +8,10 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class CompletionSchemasValue < T::Enum
|
12
12
|
enums do
|
13
|
-
|
14
|
-
|
13
|
+
PASS = new('Pass')
|
14
|
+
FAIL = new('Fail')
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
@@ -11,8 +11,8 @@ module StackOne
|
|
11
11
|
class Course < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# Whether the course is active and available for users.
|
15
|
-
field :active, T.nilable(::
|
14
|
+
# Whether the course is active and available for users. When using string type, only lowercase "true" or "false" values are accepted.
|
15
|
+
field :active, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
16
16
|
# The categories associated with this course
|
17
17
|
field :categories, T.nilable(T::Array[::StackOne::Shared::Category]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
18
18
|
# The child ID/IDs associated with this course
|
@@ -49,7 +49,7 @@ module StackOne
|
|
49
49
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
50
50
|
|
51
51
|
|
52
|
-
sig { params(active: T.nilable(::
|
52
|
+
sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::CourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
|
53
53
|
def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, unified_custom_fields: nil, updated_at: nil, url: nil)
|
54
54
|
@active = active
|
55
55
|
@categories = categories
|
@@ -14,10 +14,10 @@ module StackOne
|
|
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,20 +11,14 @@ module StackOne
|
|
11
11
|
class CreateCategoriesApiModel < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# Whether the category is active and therefore available for use
|
15
|
-
field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
16
|
-
# The hierarchal level of the category
|
17
|
-
field :level, T.nilable(::StackOne::Shared::CreateCategoriesApiModelLevel), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
|
18
14
|
# The name associated with this category
|
19
15
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
16
|
# Custom Unified Fields configured in your StackOne project
|
21
17
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
22
18
|
|
23
19
|
|
24
|
-
sig { params(
|
25
|
-
def initialize(
|
26
|
-
@active = active
|
27
|
-
@level = level
|
20
|
+
sig { params(name: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
21
|
+
def initialize(name: nil, unified_custom_fields: nil)
|
28
22
|
@name = name
|
29
23
|
@unified_custom_fields = unified_custom_fields
|
30
24
|
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 Shared
|
9
|
+
|
10
|
+
|
11
|
+
class CreateContentApiModel < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The external URL of the content
|
15
|
+
field :content_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_url') } }
|
16
|
+
# The description of the content
|
17
|
+
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
18
|
+
# The order of the individual content within a content grouping. This is not applicable for pushing individual content.
|
19
|
+
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
20
|
+
# The title of the content
|
21
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_url: T.nilable(::String), description: T.nilable(::String), order: T.nilable(::Float), title: T.nilable(::String)).void }
|
25
|
+
def initialize(content_url: nil, description: nil, order: nil, title: nil)
|
26
|
+
@content_url = content_url
|
27
|
+
@description = description
|
28
|
+
@order = order
|
29
|
+
@title = title
|
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 Shared
|
9
|
+
|
10
|
+
|
11
|
+
class CreateSkillsApiModel < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The ID associated with this skill
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The name associated with this skill
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
26
|
+
@remote_id = remote_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -15,6 +15,7 @@ module StackOne
|
|
15
15
|
SIN = new('sin')
|
16
16
|
NID = new('nid')
|
17
17
|
PIN = new('pin')
|
18
|
+
PN = new('pn')
|
18
19
|
UMCN = new('umcn')
|
19
20
|
PIC = new('pic')
|
20
21
|
RIC = new('ric')
|
@@ -25,6 +26,7 @@ module StackOne
|
|
25
26
|
AADHAAR = new('aadhaar')
|
26
27
|
EPIC = new('epic')
|
27
28
|
PTN = new('ptn')
|
29
|
+
ITIN = new('itin')
|
28
30
|
TIN = new('tin')
|
29
31
|
UPRC = new('uprc')
|
30
32
|
PCODE = new('pcode')
|
@@ -120,6 +122,34 @@ module StackOne
|
|
120
122
|
PEID = new('peid')
|
121
123
|
ASMENS = new('asmens')
|
122
124
|
PVM = new('pvm')
|
125
|
+
CTPS = new('ctps')
|
126
|
+
VRN = new('vrn')
|
127
|
+
VTK = new('vtk')
|
128
|
+
INT = new('int')
|
129
|
+
TK = new('tk')
|
130
|
+
PAS = new('pas')
|
131
|
+
RNE = new('rne')
|
132
|
+
RG = new('rg')
|
133
|
+
NCI = new('nci')
|
134
|
+
CRNM = new('crnm')
|
135
|
+
PIS = new('pis')
|
136
|
+
INSEE = new('insee')
|
137
|
+
TAX = new('tax')
|
138
|
+
MPF = new('mpf')
|
139
|
+
EPFO = new('epfo')
|
140
|
+
ESI = new('esi')
|
141
|
+
PRAN = new('pran')
|
142
|
+
UAN = new('uan')
|
143
|
+
IDK = new('idk')
|
144
|
+
BSN = new('bsn')
|
145
|
+
MID = new('mid')
|
146
|
+
SSS = new('sss')
|
147
|
+
NIE = new('nie')
|
148
|
+
NSS = new('nss')
|
149
|
+
ARC = new('arc')
|
150
|
+
CURP = new('curp')
|
151
|
+
IMSS = new('imss')
|
152
|
+
RFC = new('rfc')
|
123
153
|
OTHER = new('other')
|
124
154
|
UNKNOWN = new('unknown')
|
125
155
|
end
|
@@ -15,6 +15,7 @@ module StackOne
|
|
15
15
|
SIN = new('sin')
|
16
16
|
NID = new('nid')
|
17
17
|
PIN = new('pin')
|
18
|
+
PN = new('pn')
|
18
19
|
UMCN = new('umcn')
|
19
20
|
PIC = new('pic')
|
20
21
|
RIC = new('ric')
|
@@ -25,6 +26,7 @@ module StackOne
|
|
25
26
|
AADHAAR = new('aadhaar')
|
26
27
|
EPIC = new('epic')
|
27
28
|
PTN = new('ptn')
|
29
|
+
ITIN = new('itin')
|
28
30
|
TIN = new('tin')
|
29
31
|
UPRC = new('uprc')
|
30
32
|
PCODE = new('pcode')
|
@@ -120,6 +122,34 @@ module StackOne
|
|
120
122
|
PEID = new('peid')
|
121
123
|
ASMENS = new('asmens')
|
122
124
|
PVM = new('pvm')
|
125
|
+
CTPS = new('ctps')
|
126
|
+
VRN = new('vrn')
|
127
|
+
VTK = new('vtk')
|
128
|
+
INT = new('int')
|
129
|
+
TK = new('tk')
|
130
|
+
PAS = new('pas')
|
131
|
+
RNE = new('rne')
|
132
|
+
RG = new('rg')
|
133
|
+
NCI = new('nci')
|
134
|
+
CRNM = new('crnm')
|
135
|
+
PIS = new('pis')
|
136
|
+
INSEE = new('insee')
|
137
|
+
TAX = new('tax')
|
138
|
+
MPF = new('mpf')
|
139
|
+
EPFO = new('epfo')
|
140
|
+
ESI = new('esi')
|
141
|
+
PRAN = new('pran')
|
142
|
+
UAN = new('uan')
|
143
|
+
IDK = new('idk')
|
144
|
+
BSN = new('bsn')
|
145
|
+
MID = new('mid')
|
146
|
+
SSS = new('sss')
|
147
|
+
NIE = new('nie')
|
148
|
+
NSS = new('nss')
|
149
|
+
ARC = new('arc')
|
150
|
+
CURP = new('curp')
|
151
|
+
IMSS = new('imss')
|
152
|
+
RFC = new('rfc')
|
123
153
|
OTHER = new('other')
|
124
154
|
UNKNOWN = new('unknown')
|
125
155
|
end
|
@@ -7,17 +7,17 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
|
11
|
-
class
|
10
|
+
# The learning object type of the assignment
|
11
|
+
class LearningObjectType < ::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::AssignmentValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AssignmentValue, 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::AssignmentValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -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 Shared
|
9
|
+
|
10
|
+
|
11
|
+
class LmsBatchUpsertCourseRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The batch of items to upsert
|
15
|
+
field :items, T::Array[::StackOne::Shared::LmsUpsertCourseRequestDto], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(items: T::Array[::StackOne::Shared::LmsUpsertCourseRequestDto]).void }
|
19
|
+
def initialize(items: nil)
|
20
|
+
@items = items
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -35,14 +35,16 @@ module StackOne
|
|
35
35
|
field :languages, T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('languages') } }
|
36
36
|
# The order of the individual content within a content grouping. This is not applicable for pushing individual content.
|
37
37
|
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
38
|
+
# The skills associated with this course
|
39
|
+
field :skills, T.nilable(T::Array[::StackOne::Shared::Skills]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
38
40
|
# The title of the content
|
39
41
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
40
42
|
# Custom Unified Fields configured in your StackOne project
|
41
43
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
42
44
|
|
43
45
|
|
44
|
-
sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_launch_method: T.nilable(::StackOne::Shared::ContentLaunchMethod), content_type: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
45
|
-
def initialize(active: nil, categories: nil, content_launch_method: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil, unified_custom_fields: nil)
|
46
|
+
sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_launch_method: T.nilable(::StackOne::Shared::ContentLaunchMethod), content_type: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
47
|
+
def initialize(active: nil, categories: nil, content_launch_method: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, skills: nil, title: nil, unified_custom_fields: nil)
|
46
48
|
@active = active
|
47
49
|
@categories = categories
|
48
50
|
@content_launch_method = content_launch_method
|
@@ -55,6 +57,7 @@ module StackOne
|
|
55
57
|
@external_reference = external_reference
|
56
58
|
@languages = languages
|
57
59
|
@order = order
|
60
|
+
@skills = skills
|
58
61
|
@title = title
|
59
62
|
@unified_custom_fields = unified_custom_fields
|
60
63
|
end
|
@@ -35,14 +35,16 @@ module StackOne
|
|
35
35
|
field :languages, T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('languages') } }
|
36
36
|
# The order of the individual content within a content grouping. This is not applicable for pushing individual content.
|
37
37
|
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
38
|
+
# The skills associated with this content
|
39
|
+
field :skills, T.nilable(T::Array[::StackOne::Shared::CreateSkillsApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
38
40
|
# The title of the content
|
39
41
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
40
42
|
# Custom Unified Fields configured in your StackOne project
|
41
43
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
42
44
|
|
43
45
|
|
44
|
-
sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_launch_method: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentLaunchMethod), content_type: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
45
|
-
def initialize(active: nil, categories: nil, content_launch_method: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, title: nil, unified_custom_fields: nil)
|
46
|
+
sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_launch_method: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentLaunchMethod), content_type: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), skills: T.nilable(T::Array[::StackOne::Shared::CreateSkillsApiModel]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
47
|
+
def initialize(active: nil, categories: nil, content_launch_method: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, skills: nil, title: nil, unified_custom_fields: nil)
|
46
48
|
@active = active
|
47
49
|
@categories = categories
|
48
50
|
@content_launch_method = content_launch_method
|
@@ -55,6 +57,7 @@ module StackOne
|
|
55
57
|
@external_reference = external_reference
|
56
58
|
@languages = languages
|
57
59
|
@order = order
|
60
|
+
@skills = skills
|
58
61
|
@title = title
|
59
62
|
@unified_custom_fields = unified_custom_fields
|
60
63
|
end
|
@@ -0,0 +1,69 @@
|
|
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 LmsUpsertCourseRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Whether the course is active and available for users. When using string type, only lowercase "true" or "false" values are accepted.
|
15
|
+
field :active, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
16
|
+
# The categories associated with this course
|
17
|
+
field :categories, T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
18
|
+
# The content associated with this course
|
19
|
+
field :content, T.nilable(T::Array[::StackOne::Shared::CreateContentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
20
|
+
# The child IDs associated with this course
|
21
|
+
field :content_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_ids') } }
|
22
|
+
# The media type for the course
|
23
|
+
field :course_type, T.nilable(::StackOne::Shared::LmsUpsertCourseRequestDtoCourseType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('course_type') } }
|
24
|
+
# The URL of the thumbnail image associated with the course.
|
25
|
+
field :cover_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('cover_url') } }
|
26
|
+
# The date on which the course was created.
|
27
|
+
field :created_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at') } }
|
28
|
+
# The description of the course
|
29
|
+
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
30
|
+
# The duration of the course following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string
|
31
|
+
field :duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
32
|
+
# The external ID associated with this course
|
33
|
+
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
34
|
+
# The languages associated with this course
|
35
|
+
field :languages, T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('languages') } }
|
36
|
+
# The skills associated with this course
|
37
|
+
field :skills, T.nilable(T::Array[::StackOne::Shared::CreateSkillsApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
38
|
+
# The title of the course
|
39
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
40
|
+
# Custom Unified Fields configured in your StackOne project
|
41
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
42
|
+
# The date on which the course was last updated.
|
43
|
+
field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } }
|
44
|
+
# The redirect URL of the course.
|
45
|
+
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
46
|
+
|
47
|
+
|
48
|
+
sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content: T.nilable(T::Array[::StackOne::Shared::CreateContentApiModel]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::LmsUpsertCourseRequestDtoCourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), skills: T.nilable(T::Array[::StackOne::Shared::CreateSkillsApiModel]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
|
49
|
+
def initialize(active: nil, categories: nil, content: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, languages: nil, skills: nil, title: nil, unified_custom_fields: nil, updated_at: nil, url: nil)
|
50
|
+
@active = active
|
51
|
+
@categories = categories
|
52
|
+
@content = content
|
53
|
+
@content_ids = content_ids
|
54
|
+
@course_type = course_type
|
55
|
+
@cover_url = cover_url
|
56
|
+
@created_at = created_at
|
57
|
+
@description = description
|
58
|
+
@duration = duration
|
59
|
+
@external_reference = external_reference
|
60
|
+
@languages = languages
|
61
|
+
@skills = skills
|
62
|
+
@title = title
|
63
|
+
@unified_custom_fields = unified_custom_fields
|
64
|
+
@updated_at = updated_at
|
65
|
+
@url = url
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -7,17 +7,17 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
# The
|
11
|
-
class
|
10
|
+
# The media type for the course
|
11
|
+
class LmsUpsertCourseRequestDtoCourseType < ::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::LmsUpsertCourseRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::LmsUpsertCourseRequestDtoValue, 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::LmsUpsertCourseRequestDtoValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -458,44 +458,48 @@ module StackOne
|
|
458
458
|
autoload :LmsUpsertContentRequestDtoSchemasValue, 'stack_one/models/shared/lmsupsertcontentrequestdto_schemas_value.rb'
|
459
459
|
autoload :LmsUpsertContentRequestDtoContentType, 'stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb'
|
460
460
|
autoload :LmsUpsertContentRequestDto, 'stack_one/models/shared/lmsupsertcontentrequestdto.rb'
|
461
|
+
autoload :CreateSkillsApiModel, 'stack_one/models/shared/createskillsapimodel.rb'
|
461
462
|
autoload :ContentLanguageEnumValue, 'stack_one/models/shared/contentlanguageenum_value.rb'
|
462
463
|
autoload :ContentLanguageEnum, 'stack_one/models/shared/contentlanguageenum.rb'
|
463
|
-
autoload :CreateCategoriesApiModelValue, 'stack_one/models/shared/createcategoriesapimodel_value.rb'
|
464
|
-
autoload :CreateCategoriesApiModelLevel, 'stack_one/models/shared/createcategoriesapimodel_level.rb'
|
465
464
|
autoload :CreateCategoriesApiModel, 'stack_one/models/shared/createcategoriesapimodel.rb'
|
465
|
+
autoload :LmsBatchUpsertCourseRequestDto, 'stack_one/models/shared/lmsbatchupsertcourserequestdto.rb'
|
466
|
+
autoload :LmsUpsertCourseRequestDtoValue, 'stack_one/models/shared/lmsupsertcourserequestdto_value.rb'
|
467
|
+
autoload :LmsUpsertCourseRequestDtoCourseType, 'stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb'
|
468
|
+
autoload :LmsUpsertCourseRequestDto, 'stack_one/models/shared/lmsupsertcourserequestdto.rb'
|
469
|
+
autoload :CreateContentApiModel, 'stack_one/models/shared/createcontentapimodel.rb'
|
466
470
|
autoload :LmsCreateContentRequestDtoValue, 'stack_one/models/shared/lmscreatecontentrequestdto_value.rb'
|
467
471
|
autoload :ContentLaunchMethod, 'stack_one/models/shared/content_launch_method.rb'
|
468
472
|
autoload :LmsCreateContentRequestDtoSchemasValue, 'stack_one/models/shared/lmscreatecontentrequestdto_schemas_value.rb'
|
469
473
|
autoload :LmsCreateContentRequestDtoContentType, 'stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb'
|
470
474
|
autoload :LmsCreateContentRequestDto, 'stack_one/models/shared/lmscreatecontentrequestdto.rb'
|
475
|
+
autoload :SkillsValue, 'stack_one/models/shared/skills_value.rb'
|
476
|
+
autoload :SkillsLevel, 'stack_one/models/shared/skills_level.rb'
|
477
|
+
autoload :Skills, 'stack_one/models/shared/skills.rb'
|
471
478
|
autoload :LmsCreateCompletionRequestDtoValue, 'stack_one/models/shared/lmscreatecompletionrequestdto_value.rb'
|
472
479
|
autoload :LmsCreateCompletionRequestDtoResult, 'stack_one/models/shared/lmscreatecompletionrequestdto_result.rb'
|
473
480
|
autoload :LmsCreateCompletionRequestDto, 'stack_one/models/shared/lmscreatecompletionrequestdto.rb'
|
474
481
|
autoload :DeleteResult, 'stack_one/models/shared/deleteresult.rb'
|
475
482
|
autoload :AssignmentResult, 'stack_one/models/shared/assignmentresult.rb'
|
483
|
+
autoload :AssignmentValue, 'stack_one/models/shared/assignment_value.rb'
|
484
|
+
autoload :LearningObjectType, 'stack_one/models/shared/learning_object_type.rb'
|
476
485
|
autoload :Assignment, 'stack_one/models/shared/assignment.rb'
|
477
486
|
autoload :Value, 'stack_one/models/shared/value.rb'
|
478
487
|
autoload :AssignmentStatusEnum, 'stack_one/models/shared/assignmentstatusenum.rb'
|
479
|
-
autoload :LearningObjectTypeEnumValue, 'stack_one/models/shared/learningobjecttypeenum_value.rb'
|
480
|
-
autoload :LearningObjectTypeEnum, 'stack_one/models/shared/learningobjecttypeenum.rb'
|
481
488
|
autoload :CategoryResult, 'stack_one/models/shared/categoryresult.rb'
|
482
489
|
autoload :CategoryValue, 'stack_one/models/shared/category_value.rb'
|
483
490
|
autoload :Level, 'stack_one/models/shared/level.rb'
|
484
491
|
autoload :Category, 'stack_one/models/shared/category.rb'
|
485
492
|
autoload :CompletionResult, 'stack_one/models/shared/completionresult.rb'
|
486
493
|
autoload :CompletionValue, 'stack_one/models/shared/completion_value.rb'
|
494
|
+
autoload :CompletionLearningObjectType, 'stack_one/models/shared/completion_learning_object_type.rb'
|
495
|
+
autoload :CompletionSchemasValue, 'stack_one/models/shared/completion_schemas_value.rb'
|
487
496
|
autoload :CompletionSchemasResult, 'stack_one/models/shared/completion_schemas_result.rb'
|
488
497
|
autoload :Completion, 'stack_one/models/shared/completion.rb'
|
489
498
|
autoload :ContentResult, 'stack_one/models/shared/contentresult.rb'
|
490
499
|
autoload :CourseResult, 'stack_one/models/shared/courseresult.rb'
|
491
500
|
autoload :CourseValue, 'stack_one/models/shared/course_value.rb'
|
492
|
-
autoload :Active, 'stack_one/models/shared/active.rb'
|
493
|
-
autoload :CourseSchemasValue, 'stack_one/models/shared/course_schemas_value.rb'
|
494
501
|
autoload :CourseType, 'stack_one/models/shared/course_type.rb'
|
495
502
|
autoload :Course, 'stack_one/models/shared/course.rb'
|
496
|
-
autoload :SkillsValue, 'stack_one/models/shared/skills_value.rb'
|
497
|
-
autoload :SkillsLevel, 'stack_one/models/shared/skills_level.rb'
|
498
|
-
autoload :Skills, 'stack_one/models/shared/skills.rb'
|
499
503
|
autoload :SkillResult, 'stack_one/models/shared/skillresult.rb'
|
500
504
|
autoload :AssignmentsPaginated, 'stack_one/models/shared/assignmentspaginated.rb'
|
501
505
|
autoload :CategoriesPaginated, 'stack_one/models/shared/categoriespaginated.rb'
|
@@ -38,9 +38,9 @@ module StackOne
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '1.0.0'
|
41
|
-
@sdk_version = '0.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.
|
41
|
+
@sdk_version = '0.3.0'
|
42
|
+
@gen_version = '2.451.0'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.3.0 2.451.0 1.0.0 stackone_client'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackone_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 1.60.2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 1.60.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sorbet-runtime
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -435,6 +435,8 @@ files:
|
|
435
435
|
- lib/stack_one/models/operations/iam_list_users_response.rb
|
436
436
|
- lib/stack_one/models/operations/lms_batch_upsert_content_request.rb
|
437
437
|
- lib/stack_one/models/operations/lms_batch_upsert_content_response.rb
|
438
|
+
- lib/stack_one/models/operations/lms_batch_upsert_course_request.rb
|
439
|
+
- lib/stack_one/models/operations/lms_batch_upsert_course_response.rb
|
438
440
|
- lib/stack_one/models/operations/lms_create_content_request.rb
|
439
441
|
- lib/stack_one/models/operations/lms_create_content_response.rb
|
440
442
|
- lib/stack_one/models/operations/lms_create_user_completion_request.rb
|
@@ -490,6 +492,8 @@ files:
|
|
490
492
|
- lib/stack_one/models/operations/lms_update_content_response.rb
|
491
493
|
- lib/stack_one/models/operations/lms_upsert_content_request.rb
|
492
494
|
- lib/stack_one/models/operations/lms_upsert_content_response.rb
|
495
|
+
- lib/stack_one/models/operations/lms_upsert_course_request.rb
|
496
|
+
- lib/stack_one/models/operations/lms_upsert_course_response.rb
|
493
497
|
- lib/stack_one/models/operations/marketing_create_content_block_request.rb
|
494
498
|
- lib/stack_one/models/operations/marketing_create_content_block_response.rb
|
495
499
|
- lib/stack_one/models/operations/marketing_create_email_template_request.rb
|
@@ -568,6 +572,7 @@ files:
|
|
568
572
|
- lib/stack_one/models/operations/stackone_proxy_request_response.rb
|
569
573
|
- lib/stack_one/models/operations/stackone_update_account_request.rb
|
570
574
|
- lib/stack_one/models/operations/stackone_update_account_response.rb
|
575
|
+
- lib/stack_one/models/operations/status.rb
|
571
576
|
- lib/stack_one/models/shared.rb
|
572
577
|
- lib/stack_one/models/shared/account.rb
|
573
578
|
- lib/stack_one/models/shared/accountaddress.rb
|
@@ -575,7 +580,6 @@ files:
|
|
575
580
|
- lib/stack_one/models/shared/accountaddress_value.rb
|
576
581
|
- lib/stack_one/models/shared/accountresult.rb
|
577
582
|
- lib/stack_one/models/shared/accountspaginated.rb
|
578
|
-
- lib/stack_one/models/shared/active.rb
|
579
583
|
- lib/stack_one/models/shared/answer.rb
|
580
584
|
- lib/stack_one/models/shared/answer_value.rb
|
581
585
|
- lib/stack_one/models/shared/application.rb
|
@@ -600,6 +604,7 @@ files:
|
|
600
604
|
- lib/stack_one/models/shared/assessmentsresults_value.rb
|
601
605
|
- lib/stack_one/models/shared/assessmentsresultsresult.rb
|
602
606
|
- lib/stack_one/models/shared/assignment.rb
|
607
|
+
- lib/stack_one/models/shared/assignment_value.rb
|
603
608
|
- lib/stack_one/models/shared/assignmentresult.rb
|
604
609
|
- lib/stack_one/models/shared/assignmentspaginated.rb
|
605
610
|
- lib/stack_one/models/shared/assignmentstatusenum.rb
|
@@ -661,7 +666,9 @@ files:
|
|
661
666
|
- lib/stack_one/models/shared/company.rb
|
662
667
|
- lib/stack_one/models/shared/companyresult.rb
|
663
668
|
- lib/stack_one/models/shared/completion.rb
|
669
|
+
- lib/stack_one/models/shared/completion_learning_object_type.rb
|
664
670
|
- lib/stack_one/models/shared/completion_schemas_result.rb
|
671
|
+
- lib/stack_one/models/shared/completion_schemas_value.rb
|
665
672
|
- lib/stack_one/models/shared/completion_value.rb
|
666
673
|
- lib/stack_one/models/shared/completionresult.rb
|
667
674
|
- lib/stack_one/models/shared/completionspaginated.rb
|
@@ -698,7 +705,6 @@ files:
|
|
698
705
|
- lib/stack_one/models/shared/countrycodeenum.rb
|
699
706
|
- lib/stack_one/models/shared/countrycodeenum_value.rb
|
700
707
|
- lib/stack_one/models/shared/course.rb
|
701
|
-
- lib/stack_one/models/shared/course_schemas_value.rb
|
702
708
|
- lib/stack_one/models/shared/course_type.rb
|
703
709
|
- lib/stack_one/models/shared/course_value.rb
|
704
710
|
- lib/stack_one/models/shared/coursepaginated.rb
|
@@ -707,8 +713,7 @@ files:
|
|
707
713
|
- lib/stack_one/models/shared/createanswer_type.rb
|
708
714
|
- lib/stack_one/models/shared/createanswer_value.rb
|
709
715
|
- lib/stack_one/models/shared/createcategoriesapimodel.rb
|
710
|
-
- lib/stack_one/models/shared/
|
711
|
-
- lib/stack_one/models/shared/createcategoriesapimodel_value.rb
|
716
|
+
- lib/stack_one/models/shared/createcontentapimodel.rb
|
712
717
|
- lib/stack_one/models/shared/createemploymentapimodel.rb
|
713
718
|
- lib/stack_one/models/shared/createemploymentapimodel_schemas_pay_frequency_value.rb
|
714
719
|
- lib/stack_one/models/shared/createemploymentapimodel_schemas_pay_period_value.rb
|
@@ -723,6 +728,7 @@ files:
|
|
723
728
|
- lib/stack_one/models/shared/createquestionnaire.rb
|
724
729
|
- lib/stack_one/models/shared/createresult.rb
|
725
730
|
- lib/stack_one/models/shared/createresultdataapimodel.rb
|
731
|
+
- lib/stack_one/models/shared/createskillsapimodel.rb
|
726
732
|
- lib/stack_one/models/shared/credentials.rb
|
727
733
|
- lib/stack_one/models/shared/crmcreatecontactrequestdto.rb
|
728
734
|
- lib/stack_one/models/shared/customfielddefinition.rb
|
@@ -963,8 +969,7 @@ files:
|
|
963
969
|
- lib/stack_one/models/shared/jobresult.rb
|
964
970
|
- lib/stack_one/models/shared/jobspaginated.rb
|
965
971
|
- lib/stack_one/models/shared/label.rb
|
966
|
-
- lib/stack_one/models/shared/
|
967
|
-
- lib/stack_one/models/shared/learningobjecttypeenum_value.rb
|
972
|
+
- lib/stack_one/models/shared/learning_object_type.rb
|
968
973
|
- lib/stack_one/models/shared/level.rb
|
969
974
|
- lib/stack_one/models/shared/linkedaccount.rb
|
970
975
|
- lib/stack_one/models/shared/linkedaccount_status.rb
|
@@ -977,6 +982,7 @@ files:
|
|
977
982
|
- lib/stack_one/models/shared/listresult.rb
|
978
983
|
- lib/stack_one/models/shared/listspaginated.rb
|
979
984
|
- lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb
|
985
|
+
- lib/stack_one/models/shared/lmsbatchupsertcourserequestdto.rb
|
980
986
|
- lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb
|
981
987
|
- lib/stack_one/models/shared/lmscreatecompletionrequestdto_result.rb
|
982
988
|
- lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb
|
@@ -989,6 +995,9 @@ files:
|
|
989
995
|
- lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb
|
990
996
|
- lib/stack_one/models/shared/lmsupsertcontentrequestdto_schemas_value.rb
|
991
997
|
- lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb
|
998
|
+
- lib/stack_one/models/shared/lmsupsertcourserequestdto.rb
|
999
|
+
- lib/stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb
|
1000
|
+
- lib/stack_one/models/shared/lmsupsertcourserequestdto_value.rb
|
992
1001
|
- lib/stack_one/models/shared/lmsuser.rb
|
993
1002
|
- lib/stack_one/models/shared/location_type.rb
|
994
1003
|
- lib/stack_one/models/shared/marital_status.rb
|