stackone_client 0.2.46 → 0.3.1
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/lms.rb +96 -45
- data/lib/stack_one/marketing.rb +18 -18
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +2 -7
- 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/crm_get_contact_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/crm_list_contact_custom_field_definitions_request.rb +2 -7
- 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_create_collection_request.rb +27 -0
- data/lib/stack_one/models/operations/{lms_delete_content_response.rb → lms_create_collection_response.rb} +6 -6
- data/lib/stack_one/models/operations/lms_update_collection_request.rb +30 -0
- data/lib/stack_one/models/operations/{lms_update_content_response.rb → lms_update_collection_response.rb} +2 -2
- data/lib/stack_one/models/operations/lms_upsert_course_request.rb +27 -0
- data/lib/stack_one/models/operations/{lms_create_content_response.rb → lms_upsert_course_response.rb} +2 -2
- data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +4 -4
- data/lib/stack_one/models/{shared/createcategoriesapimodel_value.rb → operations/status.rb} +5 -5
- data/lib/stack_one/models/operations.rb +9 -6
- 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/atscreateapplicationrequestdto_candidate.rb +2 -2
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atscreatejobrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atsupdatejobrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/candidate.rb +2 -2
- 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/{course_type.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/{course_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/contact.rb +2 -2
- data/lib/stack_one/models/shared/content_launch_method.rb +2 -2
- data/lib/stack_one/models/shared/contentblockresult.rb +27 -0
- data/lib/stack_one/models/shared/course.rb +5 -8
- 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/createmessage_value.rb +16 -8
- data/lib/stack_one/models/shared/createskillsapimodel.rb +30 -0
- data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/{jobcustomfields.rb → customfields.rb} +1 -1
- data/lib/stack_one/models/shared/emailmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/emailmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/emailtemplate.rb +36 -0
- data/lib/stack_one/models/shared/emailtemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/emailtemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/employee.rb +2 -2
- data/lib/stack_one/models/shared/employee_schemas_national_identity_number_type_value.rb +30 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_type_value.rb +30 -0
- data/lib/stack_one/models/shared/inappmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/inappmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/inapptemplate.rb +36 -0
- data/lib/stack_one/models/shared/inapptemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/inapptemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/{contentlanguageenum.rb → languageenum.rb} +3 -3
- data/lib/stack_one/models/shared/{contentlanguageenum_value.rb → languageenum_value.rb} +2 -2
- 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/lmscreatecollectionrequestdto.rb +51 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +8 -5
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +66 -0
- data/lib/stack_one/models/shared/message_message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_value.rb +16 -8
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/pushmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/pushtemplate.rb +36 -0
- data/lib/stack_one/models/shared/pushtemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/pushtemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/smsmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/smsmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/smstemplate.rb +36 -0
- data/lib/stack_one/models/shared/smstemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/smstemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared.rb +27 -22
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +40 -32
- data/lib/stack_one/models/operations/lms_create_content_request.rb +0 -27
- data/lib/stack_one/models/operations/lms_delete_content_request.rb +0 -27
- data/lib/stack_one/models/operations/lms_update_content_request.rb +0 -30
- data/lib/stack_one/models/shared/active.rb +0 -27
- data/lib/stack_one/models/shared/candidatecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/contactscustomfields.rb +0 -39
- data/lib/stack_one/models/shared/course_schemas_value.rb +0 -19
- data/lib/stack_one/models/shared/createcategoriesapimodel_level.rb +0 -27
- data/lib/stack_one/models/shared/deleteresult.rb +0 -30
- data/lib/stack_one/models/shared/employeecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +0 -63
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb +0 -27
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_schemas_value.rb +0 -19
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -18
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_launch_method.rb +0 -27
|
@@ -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 LmsCreateCollectionRequest < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :lms_create_collection_request_dto, ::StackOne::Shared::LmsCreateCollectionRequestDto, { '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_create_collection_request_dto: ::StackOne::Shared::LmsCreateCollectionRequestDto, x_account_id: ::String).void }
|
|
21
|
+
def initialize(lms_create_collection_request_dto: nil, x_account_id: nil)
|
|
22
|
+
@lms_create_collection_request_dto = lms_create_collection_request_dto
|
|
23
|
+
@x_account_id = x_account_id
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -8,7 +8,7 @@ module StackOne
|
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class LmsCreateCollectionResponse < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
14
|
# HTTP response content type for this operation
|
|
@@ -17,16 +17,16 @@ module StackOne
|
|
|
17
17
|
field :raw_response, ::Faraday::Response
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
|
-
# The
|
|
21
|
-
field :
|
|
20
|
+
# The collection was created successfully.
|
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
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
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@create_result = create_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module StackOne
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class LmsUpdateCollectionRequest < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
|
16
|
+
|
|
17
|
+
field :lms_create_collection_request_dto, ::StackOne::Shared::LmsCreateCollectionRequestDto, { 'request': { 'media_type': 'application/json' } }
|
|
18
|
+
# The account identifier
|
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
sig { params(id: ::String, lms_create_collection_request_dto: ::StackOne::Shared::LmsCreateCollectionRequestDto, x_account_id: ::String).void }
|
|
23
|
+
def initialize(id: nil, lms_create_collection_request_dto: nil, x_account_id: nil)
|
|
24
|
+
@id = id
|
|
25
|
+
@lms_create_collection_request_dto = lms_create_collection_request_dto
|
|
26
|
+
@x_account_id = x_account_id
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -8,7 +8,7 @@ module StackOne
|
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class LmsUpdateCollectionResponse < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
14
|
# HTTP response content type for this operation
|
|
@@ -17,7 +17,7 @@ module StackOne
|
|
|
17
17
|
field :raw_response, ::Faraday::Response
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
|
-
# The
|
|
20
|
+
# The collection was updated successfully.
|
|
21
21
|
field :update_result, T.nilable(::StackOne::Shared::UpdateResult)
|
|
22
22
|
|
|
23
23
|
|
|
@@ -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
|
|
@@ -8,7 +8,7 @@ module StackOne
|
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class LmsUpsertCourseResponse < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
14
14
|
# HTTP response content type for this operation
|
|
@@ -17,7 +17,7 @@ module StackOne
|
|
|
17
17
|
field :raw_response, ::Faraday::Response
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
|
-
# The
|
|
20
|
+
# The course was upserted successfully.
|
|
21
21
|
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
|
22
22
|
|
|
23
23
|
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The Content Block with the given identifier was retrieved
|
|
21
|
-
field :
|
|
21
|
+
field :content_block_result, T.nilable(::StackOne::Shared::ContentBlockResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, content_block_result: T.nilable(::StackOne::Shared::ContentBlockResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, content_block_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@content_block_result = content_block_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The email template with the given identifier was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :email_template_result, T.nilable(::StackOne::Shared::EmailTemplateResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, email_template_result: T.nilable(::StackOne::Shared::EmailTemplateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, email_template_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@email_template_result = email_template_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The in-app template with the given identifier was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :in_app_template_result, T.nilable(::StackOne::Shared::InAppTemplateResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, in_app_template_result: T.nilable(::StackOne::Shared::InAppTemplateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, in_app_template_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@in_app_template_result = in_app_template_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The push template with the given identifier was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :push_template_result, T.nilable(::StackOne::Shared::PushTemplateResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, push_template_result: T.nilable(::StackOne::Shared::PushTemplateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, push_template_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@push_template_result = push_template_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The SMS template with the given identifier was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :sms_template_result, T.nilable(::StackOne::Shared::SmsTemplateResult)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, sms_template_result: T.nilable(::StackOne::Shared::SmsTemplateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, sms_template_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@sms_template_result = sms_template_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The list of email templates was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :email_templates_paginated, T.nilable(::StackOne::Shared::EmailTemplatesPaginated)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, email_templates_paginated: T.nilable(::StackOne::Shared::EmailTemplatesPaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, email_templates_paginated: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@email_templates_paginated = email_templates_paginated
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The list of in-app templates was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :in_app_templates_paginated, T.nilable(::StackOne::Shared::InAppTemplatesPaginated)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, in_app_templates_paginated: T.nilable(::StackOne::Shared::InAppTemplatesPaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, in_app_templates_paginated: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@in_app_templates_paginated = in_app_templates_paginated
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The list of push templates was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :push_templates_paginated, T.nilable(::StackOne::Shared::PushTemplatesPaginated)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, push_templates_paginated: T.nilable(::StackOne::Shared::PushTemplatesPaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, push_templates_paginated: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@push_templates_paginated = push_templates_paginated
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The list of SMS templates was retrieved.
|
|
21
|
-
field :
|
|
21
|
+
field :sms_templates_paginated, T.nilable(::StackOne::Shared::SmsTemplatesPaginated)
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, sms_templates_paginated: T.nilable(::StackOne::Shared::SmsTemplatesPaginated)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, sms_templates_paginated: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@sms_templates_paginated = sms_templates_paginated
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
module StackOne
|
|
8
|
-
module
|
|
8
|
+
module Operations
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
class
|
|
10
|
+
# Status - The status of the job
|
|
11
|
+
class Status < T::Enum
|
|
12
12
|
enums do
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
OPEN = new('open')
|
|
14
|
+
DRAFT = new('draft')
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
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,12 +304,12 @@ 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'
|
|
306
|
-
autoload :
|
|
307
|
-
autoload :
|
|
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'
|
|
309
|
+
autoload :LmsCreateCollectionRequest, 'stack_one/models/operations/lms_create_collection_request.rb'
|
|
310
|
+
autoload :LmsCreateCollectionResponse, 'stack_one/models/operations/lms_create_collection_response.rb'
|
|
308
311
|
autoload :LmsCreateUserCompletionRequest, 'stack_one/models/operations/lms_create_user_completion_request.rb'
|
|
309
312
|
autoload :LmsCreateUserCompletionResponse, 'stack_one/models/operations/lms_create_user_completion_response.rb'
|
|
310
|
-
autoload :LmsDeleteContentRequest, 'stack_one/models/operations/lms_delete_content_request.rb'
|
|
311
|
-
autoload :LmsDeleteContentResponse, 'stack_one/models/operations/lms_delete_content_response.rb'
|
|
312
313
|
autoload :LmsGetAssignmentRequest, 'stack_one/models/operations/lms_get_assignment_request.rb'
|
|
313
314
|
autoload :LmsGetAssignmentResponse, 'stack_one/models/operations/lms_get_assignment_response.rb'
|
|
314
315
|
autoload :LmsGetCategoryRequest, 'stack_one/models/operations/lms_get_category_request.rb'
|
|
@@ -354,10 +355,12 @@ module StackOne
|
|
|
354
355
|
autoload :LmsListUsersQueryParamFilter, 'stack_one/models/operations/lms_list_users_queryparam_filter.rb'
|
|
355
356
|
autoload :LmsListUsersRequest, 'stack_one/models/operations/lms_list_users_request.rb'
|
|
356
357
|
autoload :LmsListUsersResponse, 'stack_one/models/operations/lms_list_users_response.rb'
|
|
357
|
-
autoload :
|
|
358
|
-
autoload :
|
|
358
|
+
autoload :LmsUpdateCollectionRequest, 'stack_one/models/operations/lms_update_collection_request.rb'
|
|
359
|
+
autoload :LmsUpdateCollectionResponse, 'stack_one/models/operations/lms_update_collection_response.rb'
|
|
359
360
|
autoload :LmsUpsertContentRequest, 'stack_one/models/operations/lms_upsert_content_request.rb'
|
|
360
361
|
autoload :LmsUpsertContentResponse, 'stack_one/models/operations/lms_upsert_content_response.rb'
|
|
362
|
+
autoload :LmsUpsertCourseRequest, 'stack_one/models/operations/lms_upsert_course_request.rb'
|
|
363
|
+
autoload :LmsUpsertCourseResponse, 'stack_one/models/operations/lms_upsert_course_response.rb'
|
|
361
364
|
autoload :MarketingCreateContentBlockRequest, 'stack_one/models/operations/marketing_create_content_block_request.rb'
|
|
362
365
|
autoload :MarketingCreateContentBlockResponse, 'stack_one/models/operations/marketing_create_content_block_response.rb'
|
|
363
366
|
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
|
|
@@ -16,7 +16,7 @@ module StackOne
|
|
|
16
16
|
# Candidate country
|
|
17
17
|
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
|
18
18
|
# The candidate custom fields
|
|
19
|
-
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::
|
|
19
|
+
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::CustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
|
20
20
|
# Candidate email
|
|
21
21
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
|
22
22
|
# Candidate first name
|
|
@@ -39,7 +39,7 @@ module StackOne
|
|
|
39
39
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
|
42
|
+
sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
|
43
43
|
def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil, unified_custom_fields: nil)
|
|
44
44
|
@company = company
|
|
45
45
|
@country = country
|
|
@@ -16,7 +16,7 @@ module StackOne
|
|
|
16
16
|
# Candidate country
|
|
17
17
|
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
|
18
18
|
# The candidate custom fields
|
|
19
|
-
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::
|
|
19
|
+
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::CustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
|
20
20
|
# Candidate email
|
|
21
21
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
|
22
22
|
# Candidate first name
|
|
@@ -39,7 +39,7 @@ module StackOne
|
|
|
39
39
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
|
42
|
+
sig { params(company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
|
43
43
|
def initialize(company: nil, country: nil, custom_fields: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, social_links: nil, title: nil, unified_custom_fields: nil)
|
|
44
44
|
@company = company
|
|
45
45
|
@country = country
|
|
@@ -16,7 +16,7 @@ module StackOne
|
|
|
16
16
|
# Confidential status of the job
|
|
17
17
|
field :confidential, T.nilable(::StackOne::Shared::Confidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Confidential, true) } }
|
|
18
18
|
# The job custom fields
|
|
19
|
-
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::
|
|
19
|
+
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::CustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
|
20
20
|
# Department ids of the job
|
|
21
21
|
field :department_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_ids') } }
|
|
22
22
|
# Hiring team for the job.
|
|
@@ -39,7 +39,7 @@ module StackOne
|
|
|
39
39
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
|
42
|
+
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), passthrough: T.nilable(T::Hash[Symbol, ::Object]), status: T.nilable(::String), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
|
43
43
|
def initialize(code: nil, confidential: nil, custom_fields: nil, department_ids: nil, hiring_team: nil, interview_stages: nil, job_status: nil, location_ids: nil, passthrough: nil, status: nil, title: nil, unified_custom_fields: nil)
|
|
44
44
|
@code = code
|
|
45
45
|
@confidential = confidential
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
|
18
18
|
# Candidate country
|
|
19
19
|
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
|
20
20
|
# The candidate custom fields
|
|
21
|
-
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::
|
|
21
|
+
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::CustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
|
22
22
|
# Candidate email
|
|
23
23
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
|
24
24
|
# List of candidate emails
|
|
@@ -47,7 +47,7 @@ module StackOne
|
|
|
47
47
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
|
50
|
+
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
|
51
51
|
def initialize(application_ids: nil, company: nil, country: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil, unified_custom_fields: nil)
|
|
52
52
|
@application_ids = application_ids
|
|
53
53
|
@company = company
|
|
@@ -16,7 +16,7 @@ module StackOne
|
|
|
16
16
|
# Confidential status of the job
|
|
17
17
|
field :confidential, T.nilable(::StackOne::Shared::AtsUpdateJobRequestDtoConfidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsUpdateJobRequestDtoConfidential, true) } }
|
|
18
18
|
# The job custom fields
|
|
19
|
-
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::
|
|
19
|
+
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::CustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
|
20
20
|
# Department ids of the job
|
|
21
21
|
field :department_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_ids') } }
|
|
22
22
|
# Hiring team for the job.
|
|
@@ -39,7 +39,7 @@ module StackOne
|
|
|
39
39
|
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::AtsUpdateJobRequestDtoConfidential), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
|
42
|
+
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::AtsUpdateJobRequestDtoConfidential), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::AtsUpdateJobRequestDtoJobStatus), location_ids: T.nilable(T::Array[::String]), passthrough: T.nilable(T::Hash[Symbol, ::Object]), status: T.nilable(::String), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
|
43
43
|
def initialize(code: nil, confidential: nil, custom_fields: nil, department_ids: nil, hiring_team: nil, interview_stages: nil, job_status: nil, location_ids: nil, passthrough: nil, status: nil, title: nil, unified_custom_fields: nil)
|
|
44
44
|
@code = code
|
|
45
45
|
@confidential = confidential
|