stackone_client 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +1 -1
- data/lib/stack_one/ats.rb +276 -0
- data/lib/stack_one/connect_sessions.rb +1 -1
- data/lib/stack_one/connectors.rb +1 -1
- data/lib/stack_one/hris.rb +812 -265
- data/lib/stack_one/lms.rb +291 -1441
- data/lib/stack_one/models/operations/ats_list_application_changes_queryparam_filter.rb +37 -0
- data/lib/stack_one/models/operations/ats_list_application_changes_request.rb +61 -0
- data/lib/stack_one/models/operations/{lms_batch_upsert_course_response.rb → ats_list_application_changes_response.rb} +7 -7
- data/lib/stack_one/models/operations/change_type.rb +22 -0
- data/lib/stack_one/models/operations/hris_get_position_request.rb +49 -0
- data/lib/stack_one/models/operations/{lms_update_collection_response.rb → hris_get_position_response.rb} +7 -7
- data/lib/stack_one/models/operations/hris_list_positions_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_positions_request.rb +73 -0
- data/lib/stack_one/models/operations/{lms_upsert_course_response.rb → hris_list_positions_response.rb} +7 -7
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +2 -2
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_status.rb +21 -0
- data/lib/stack_one/models/operations/queryparam_status.rb +5 -4
- data/lib/stack_one/models/operations.rb +10 -8
- data/lib/stack_one/models/shared/active.rb +1 -1
- data/lib/stack_one/models/shared/actor.rb +37 -0
- data/lib/stack_one/models/shared/applicationchanges.rb +57 -0
- data/lib/stack_one/models/shared/{customfielddefinition_schemas_4.rb → applicationchanges_4.rb} +1 -1
- data/lib/stack_one/models/shared/applicationchanges_source_value.rb +28 -0
- data/lib/stack_one/models/shared/applicationchanges_value.rb +22 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel.rb +41 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_4.rb +28 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_application_status.rb +37 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_source_value.rb +28 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_value.rb +38 -0
- data/lib/stack_one/models/shared/applicationchangespaginated.rb +41 -0
- data/lib/stack_one/models/shared/categories.rb +1 -0
- data/lib/stack_one/models/shared/category.rb +2 -2
- data/lib/stack_one/models/shared/category_2.rb +20 -0
- data/lib/stack_one/models/shared/change_type.rb +37 -0
- 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/connectsessiontokenauthlink_categories.rb +1 -0
- data/lib/stack_one/models/shared/course.rb +2 -2
- data/lib/stack_one/models/shared/course_2.rb +20 -0
- data/lib/stack_one/models/shared/course_active.rb +28 -0
- data/lib/stack_one/models/shared/customfielddefinition.rb +2 -2
- data/lib/stack_one/models/shared/customfielddefinition_type.rb +2 -2
- data/lib/stack_one/models/shared/customfieldoption.rb +37 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +6 -2
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_2.rb +20 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_active.rb +28 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_2.rb +20 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_active.rb +28 -0
- data/lib/stack_one/models/shared/lmsuser.rb +2 -2
- data/lib/stack_one/models/shared/lmsuser_2.rb +20 -0
- data/lib/stack_one/models/shared/lmsuser_active.rb +28 -0
- data/lib/stack_one/models/shared/position.rb +69 -0
- data/lib/stack_one/models/shared/{options.rb → position_4.rb} +1 -1
- data/lib/stack_one/models/shared/position_source_value.rb +28 -0
- data/lib/stack_one/models/shared/position_status.rb +37 -0
- data/lib/stack_one/models/shared/position_value.rb +22 -0
- data/lib/stack_one/models/shared/positionresult.rb +37 -0
- data/lib/stack_one/models/shared/positionspaginated.rb +45 -0
- data/lib/stack_one/models/shared/reference_active.rb +28 -0
- data/lib/stack_one/models/shared/skills.rb +2 -2
- data/lib/stack_one/models/shared/skills_2.rb +20 -0
- data/lib/stack_one/models/shared/skills_active.rb +28 -0
- data/lib/stack_one/models/shared/timeoff.rb +6 -2
- data/lib/stack_one/models/shared.rb +32 -6
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/request_logs.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +2 -2
- metadata +44 -16
- data/lib/stack_one/models/operations/lms_batch_upsert_course_request.rb +0 -37
- data/lib/stack_one/models/operations/lms_create_collection_request.rb +0 -37
- data/lib/stack_one/models/operations/lms_create_collection_response.rb +0 -49
- data/lib/stack_one/models/operations/lms_update_collection_request.rb +0 -41
- data/lib/stack_one/models/operations/lms_upsert_course_request.rb +0 -37
- data/lib/stack_one/models/shared/createcontentapimodel.rb +0 -53
- data/lib/stack_one/models/shared/lmsbatchupsertcourserequestdto.rb +0 -33
- data/lib/stack_one/models/shared/lmscreatecollectionrequestdto.rb +0 -69
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +0 -81
@@ -1,53 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Models
|
9
|
-
module Shared
|
10
|
-
|
11
|
-
|
12
|
-
class CreateContentApiModel
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# The external URL of the content
|
17
|
-
field :content_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_url') } }
|
18
|
-
# The description of the content
|
19
|
-
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
20
|
-
# The external ID associated with this content
|
21
|
-
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
22
|
-
# The mobile friendly URL of the content
|
23
|
-
field :mobile_launch_content_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('mobile_launch_content_url') } }
|
24
|
-
# The order of the individual content within a content grouping. This is not applicable for pushing individual content.
|
25
|
-
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
26
|
-
# The title of the content
|
27
|
-
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
28
|
-
|
29
|
-
|
30
|
-
sig { params(content_url: T.nilable(::String), description: T.nilable(::String), external_reference: T.nilable(::String), mobile_launch_content_url: T.nilable(::String), order: T.nilable(::Float), title: T.nilable(::String)).void }
|
31
|
-
def initialize(content_url: nil, description: nil, external_reference: nil, mobile_launch_content_url: nil, order: nil, title: nil)
|
32
|
-
@content_url = content_url
|
33
|
-
@description = description
|
34
|
-
@external_reference = external_reference
|
35
|
-
@mobile_launch_content_url = mobile_launch_content_url
|
36
|
-
@order = order
|
37
|
-
@title = title
|
38
|
-
end
|
39
|
-
|
40
|
-
def ==(other)
|
41
|
-
return false unless other.is_a? self.class
|
42
|
-
return false unless @content_url == other.content_url
|
43
|
-
return false unless @description == other.description
|
44
|
-
return false unless @external_reference == other.external_reference
|
45
|
-
return false unless @mobile_launch_content_url == other.mobile_launch_content_url
|
46
|
-
return false unless @order == other.order
|
47
|
-
return false unless @title == other.title
|
48
|
-
true
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Models
|
9
|
-
module Shared
|
10
|
-
|
11
|
-
|
12
|
-
class LmsBatchUpsertCourseRequestDto
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# The batch of items to upsert
|
17
|
-
field :items, T::Array[Models::Shared::LmsUpsertCourseRequestDto], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(items: T::Array[Models::Shared::LmsUpsertCourseRequestDto]).void }
|
21
|
-
def initialize(items: nil)
|
22
|
-
@items = items
|
23
|
-
end
|
24
|
-
|
25
|
-
def ==(other)
|
26
|
-
return false unless other.is_a? self.class
|
27
|
-
return false unless @items == other.items
|
28
|
-
true
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
@@ -1,69 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Models
|
9
|
-
module Shared
|
10
|
-
|
11
|
-
|
12
|
-
class LmsCreateCollectionRequestDto
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# The categories associated with this content
|
17
|
-
field :categories, T.nilable(T::Array[Models::Shared::CreateCategoriesApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
18
|
-
# The URL of the thumbnail image associated with the collection.
|
19
|
-
field :cover_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('cover_url') } }
|
20
|
-
# The description of the collection
|
21
|
-
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
22
|
-
# The external ID associated with this collection
|
23
|
-
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
24
|
-
# The languages associated with this collection
|
25
|
-
field :languages, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('languages') } }
|
26
|
-
# The child ID/IDs associated with this collection
|
27
|
-
field :learning_object_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('learning_object_ids') } }
|
28
|
-
# Provider's unique identifiers of the child ID/IDs associated with this collection
|
29
|
-
field :remote_learning_object_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_learning_object_ids') } }
|
30
|
-
# The skills associated with this content
|
31
|
-
field :skills, T.nilable(T::Array[Models::Shared::CreateSkillsApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
32
|
-
# The title of the collection
|
33
|
-
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
34
|
-
# Custom Unified Fields configured in your StackOne project
|
35
|
-
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
36
|
-
|
37
|
-
|
38
|
-
sig { params(categories: T.nilable(T::Array[Models::Shared::CreateCategoriesApiModel]), cover_url: T.nilable(::String), description: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::String]), learning_object_ids: T.nilable(T::Array[::String]), remote_learning_object_ids: T.nilable(T::Array[::String]), skills: T.nilable(T::Array[Models::Shared::CreateSkillsApiModel]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
39
|
-
def initialize(categories: nil, cover_url: nil, description: nil, external_reference: nil, languages: nil, learning_object_ids: nil, remote_learning_object_ids: nil, skills: nil, title: nil, unified_custom_fields: nil)
|
40
|
-
@categories = categories
|
41
|
-
@cover_url = cover_url
|
42
|
-
@description = description
|
43
|
-
@external_reference = external_reference
|
44
|
-
@languages = languages
|
45
|
-
@learning_object_ids = learning_object_ids
|
46
|
-
@remote_learning_object_ids = remote_learning_object_ids
|
47
|
-
@skills = skills
|
48
|
-
@title = title
|
49
|
-
@unified_custom_fields = unified_custom_fields
|
50
|
-
end
|
51
|
-
|
52
|
-
def ==(other)
|
53
|
-
return false unless other.is_a? self.class
|
54
|
-
return false unless @categories == other.categories
|
55
|
-
return false unless @cover_url == other.cover_url
|
56
|
-
return false unless @description == other.description
|
57
|
-
return false unless @external_reference == other.external_reference
|
58
|
-
return false unless @languages == other.languages
|
59
|
-
return false unless @learning_object_ids == other.learning_object_ids
|
60
|
-
return false unless @remote_learning_object_ids == other.remote_learning_object_ids
|
61
|
-
return false unless @skills == other.skills
|
62
|
-
return false unless @title == other.title
|
63
|
-
return false unless @unified_custom_fields == other.unified_custom_fields
|
64
|
-
true
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
@@ -1,81 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Models
|
9
|
-
module Shared
|
10
|
-
|
11
|
-
|
12
|
-
class LmsUpsertCourseRequestDto
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# Whether the course is active and available for users.
|
17
|
-
field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
18
|
-
# The categories associated with this content
|
19
|
-
field :categories, T.nilable(T::Array[Models::Shared::CreateCategoriesApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
20
|
-
# The content associated with this course
|
21
|
-
field :content, T.nilable(T::Array[Models::Shared::CreateContentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
22
|
-
# The URL of the thumbnail image associated with the course.
|
23
|
-
field :cover_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('cover_url') } }
|
24
|
-
# The description of the course
|
25
|
-
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
26
|
-
# 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
|
27
|
-
field :duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
28
|
-
# The external ID associated with this course
|
29
|
-
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
30
|
-
# The languages associated with this course
|
31
|
-
field :languages, T.nilable(T::Array[Models::Shared::LanguageEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('languages') } }
|
32
|
-
# The localization data for this course
|
33
|
-
field :localizations, T.nilable(T::Array[Models::Shared::LocalizationModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('localizations') } }
|
34
|
-
# The skills associated with this content
|
35
|
-
field :skills, T.nilable(T::Array[Models::Shared::CreateSkillsApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
36
|
-
# The title of the course
|
37
|
-
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
38
|
-
# Custom Unified Fields configured in your StackOne project
|
39
|
-
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
40
|
-
# The redirect URL of the course.
|
41
|
-
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
42
|
-
|
43
|
-
|
44
|
-
sig { params(active: T.nilable(T::Boolean), categories: T.nilable(T::Array[Models::Shared::CreateCategoriesApiModel]), content: T.nilable(T::Array[Models::Shared::CreateContentApiModel]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[Models::Shared::LanguageEnum]), localizations: T.nilable(T::Array[Models::Shared::LocalizationModel]), skills: T.nilable(T::Array[Models::Shared::CreateSkillsApiModel]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), url: T.nilable(::String)).void }
|
45
|
-
def initialize(active: nil, categories: nil, content: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, localizations: nil, skills: nil, title: nil, unified_custom_fields: nil, url: nil)
|
46
|
-
@active = active
|
47
|
-
@categories = categories
|
48
|
-
@content = content
|
49
|
-
@cover_url = cover_url
|
50
|
-
@description = description
|
51
|
-
@duration = duration
|
52
|
-
@external_reference = external_reference
|
53
|
-
@languages = languages
|
54
|
-
@localizations = localizations
|
55
|
-
@skills = skills
|
56
|
-
@title = title
|
57
|
-
@unified_custom_fields = unified_custom_fields
|
58
|
-
@url = url
|
59
|
-
end
|
60
|
-
|
61
|
-
def ==(other)
|
62
|
-
return false unless other.is_a? self.class
|
63
|
-
return false unless @active == other.active
|
64
|
-
return false unless @categories == other.categories
|
65
|
-
return false unless @content == other.content
|
66
|
-
return false unless @cover_url == other.cover_url
|
67
|
-
return false unless @description == other.description
|
68
|
-
return false unless @duration == other.duration
|
69
|
-
return false unless @external_reference == other.external_reference
|
70
|
-
return false unless @languages == other.languages
|
71
|
-
return false unless @localizations == other.localizations
|
72
|
-
return false unless @skills == other.skills
|
73
|
-
return false unless @title == other.title
|
74
|
-
return false unless @unified_custom_fields == other.unified_custom_fields
|
75
|
-
return false unless @url == other.url
|
76
|
-
true
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|