stackone_client 0.3.0 → 0.3.2
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/hris.rb +142 -0
- data/lib/stack_one/lms.rb +21 -62
- 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/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/hris_get_employee_custom_field_definition_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_get_employee_custom_field_definition_request.rb +55 -0
- data/lib/stack_one/models/operations/hris_get_employee_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_time_off_type_request.rb +36 -0
- data/lib/stack_one/models/operations/{lms_delete_content_response.rb → hris_get_time_off_type_response.rb} +6 -6
- data/lib/stack_one/models/operations/hris_list_employee_custom_field_definitions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_employee_custom_field_definitions_request.rb +52 -0
- data/lib/stack_one/models/operations/hris_list_employee_custom_field_definitions_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb +6 -3
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb +5 -2
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb +6 -3
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_types_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_time_off_types_request.rb +52 -0
- data/lib/stack_one/models/operations/hris_list_time_off_types_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_create_collection_request.rb +27 -0
- data/lib/stack_one/models/operations/{lms_create_content_response.rb → lms_create_collection_response.rb} +2 -2
- 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_content_response.rb +4 -4
- data/lib/stack_one/models/operations/lms_upsert_course_response.rb +4 -4
- 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/operations.rb +15 -6
- data/lib/stack_one/models/shared/assessmentspackages_value.rb +3 -0
- data/lib/stack_one/models/shared/assignment.rb +4 -0
- 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/completion.rb +14 -0
- data/lib/stack_one/models/shared/contact.rb +2 -2
- data/lib/stack_one/models/shared/contentblockresult.rb +27 -0
- data/lib/stack_one/models/shared/course.rb +6 -9
- data/lib/stack_one/models/shared/createmessage_value.rb +16 -8
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +2 -5
- 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/hriscreateemployeerequestdto.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +4 -4
- 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/jobpostingcontentsection_value.rb +3 -0
- 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/lmscreatecollectionrequestdto.rb +51 -0
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +14 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +4 -7
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb +2 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +3 -2
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -14
- 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/{deleteresult.rb → upsertresult.rb} +6 -3
- data/lib/stack_one/models/shared/upsertresultdataexternalreferencemodel.rb +30 -0
- data/lib/stack_one/models/shared/workeligibility_type.rb +4 -4
- data/lib/stack_one/models/shared.rb +23 -22
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +36 -26
- 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/candidatecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/contactscustomfields.rb +0 -39
- data/lib/stack_one/models/shared/content_launch_method.rb +0 -27
- data/lib/stack_one/models/shared/course_type.rb +0 -27
- data/lib/stack_one/models/shared/course_value.rb +0 -19
- data/lib/stack_one/models/shared/employeecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +0 -66
- 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
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_schemas_value.rb +0 -19
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb +0 -27
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto_value.rb +0 -19
@@ -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 was upserted successfully.
|
21
|
-
field :
|
21
|
+
field :upsert_result, T.nilable(::StackOne::Shared::UpsertResult)
|
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, upsert_result: T.nilable(::StackOne::Shared::UpsertResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, upsert_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@upsert_result = upsert_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 course was upserted successfully.
|
21
|
-
field :
|
21
|
+
field :upsert_result, T.nilable(::StackOne::Shared::UpsertResult)
|
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, upsert_result: T.nilable(::StackOne::Shared::UpsertResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, upsert_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@upsert_result = upsert_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 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
|
@@ -207,6 +207,9 @@ module StackOne
|
|
207
207
|
autoload :HrisGetDepartmentGroupResponse, 'stack_one/models/operations/hris_get_department_group_response.rb'
|
208
208
|
autoload :HrisGetEmployeeRequest, 'stack_one/models/operations/hris_get_employee_request.rb'
|
209
209
|
autoload :HrisGetEmployeeResponse, 'stack_one/models/operations/hris_get_employee_response.rb'
|
210
|
+
autoload :HrisGetEmployeeCustomFieldDefinitionQueryParamFilter, 'stack_one/models/operations/hris_get_employee_custom_field_definition_queryparam_filter.rb'
|
211
|
+
autoload :HrisGetEmployeeCustomFieldDefinitionRequest, 'stack_one/models/operations/hris_get_employee_custom_field_definition_request.rb'
|
212
|
+
autoload :HrisGetEmployeeCustomFieldDefinitionResponse, 'stack_one/models/operations/hris_get_employee_custom_field_definition_response.rb'
|
210
213
|
autoload :HrisGetEmployeeDocumentRequest, 'stack_one/models/operations/hris_get_employee_document_request.rb'
|
211
214
|
autoload :HrisGetEmployeeDocumentResponse, 'stack_one/models/operations/hris_get_employee_document_response.rb'
|
212
215
|
autoload :HrisGetEmployeeDocumentCategoryRequest, 'stack_one/models/operations/hris_get_employee_document_category_request.rb'
|
@@ -227,6 +230,8 @@ module StackOne
|
|
227
230
|
autoload :HrisGetLocationResponse, 'stack_one/models/operations/hris_get_location_response.rb'
|
228
231
|
autoload :HrisGetTimeOffRequestRequest, 'stack_one/models/operations/hris_get_time_off_request_request.rb'
|
229
232
|
autoload :HrisGetTimeOffRequestResponse, 'stack_one/models/operations/hris_get_time_off_request_response.rb'
|
233
|
+
autoload :HrisGetTimeOffTypeRequest, 'stack_one/models/operations/hris_get_time_off_type_request.rb'
|
234
|
+
autoload :HrisGetTimeOffTypeResponse, 'stack_one/models/operations/hris_get_time_off_type_response.rb'
|
230
235
|
autoload :HrisListBenefitsQueryParamFilter, 'stack_one/models/operations/hris_list_benefits_queryparam_filter.rb'
|
231
236
|
autoload :HrisListBenefitsRequest, 'stack_one/models/operations/hris_list_benefits_request.rb'
|
232
237
|
autoload :HrisListBenefitsResponse, 'stack_one/models/operations/hris_list_benefits_response.rb'
|
@@ -242,6 +247,9 @@ module StackOne
|
|
242
247
|
autoload :HrisListEmployeeCategoriesQueryParamFilter, 'stack_one/models/operations/hris_list_employee_categories_queryparam_filter.rb'
|
243
248
|
autoload :HrisListEmployeeCategoriesRequest, 'stack_one/models/operations/hris_list_employee_categories_request.rb'
|
244
249
|
autoload :HrisListEmployeeCategoriesResponse, 'stack_one/models/operations/hris_list_employee_categories_response.rb'
|
250
|
+
autoload :HrisListEmployeeCustomFieldDefinitionsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_custom_field_definitions_queryparam_filter.rb'
|
251
|
+
autoload :HrisListEmployeeCustomFieldDefinitionsRequest, 'stack_one/models/operations/hris_list_employee_custom_field_definitions_request.rb'
|
252
|
+
autoload :HrisListEmployeeCustomFieldDefinitionsResponse, 'stack_one/models/operations/hris_list_employee_custom_field_definitions_response.rb'
|
245
253
|
autoload :HrisListEmployeeDocumentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb'
|
246
254
|
autoload :HrisListEmployeeDocumentsRequest, 'stack_one/models/operations/hris_list_employee_documents_request.rb'
|
247
255
|
autoload :HrisListEmployeeDocumentsResponse, 'stack_one/models/operations/hris_list_employee_documents_response.rb'
|
@@ -272,6 +280,9 @@ module StackOne
|
|
272
280
|
autoload :HrisListTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb'
|
273
281
|
autoload :HrisListTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_time_off_requests_request.rb'
|
274
282
|
autoload :HrisListTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_time_off_requests_response.rb'
|
283
|
+
autoload :HrisListTimeOffTypesQueryParamFilter, 'stack_one/models/operations/hris_list_time_off_types_queryparam_filter.rb'
|
284
|
+
autoload :HrisListTimeOffTypesRequest, 'stack_one/models/operations/hris_list_time_off_types_request.rb'
|
285
|
+
autoload :HrisListTimeOffTypesResponse, 'stack_one/models/operations/hris_list_time_off_types_response.rb'
|
275
286
|
autoload :HrisUpdateEmployeeRequest, 'stack_one/models/operations/hris_update_employee_request.rb'
|
276
287
|
autoload :HrisUpdateEmployeeResponse, 'stack_one/models/operations/hris_update_employee_response.rb'
|
277
288
|
autoload :HrisUpdateEmployeeEmploymentRequest, 'stack_one/models/operations/hris_update_employee_employment_request.rb'
|
@@ -306,12 +317,10 @@ module StackOne
|
|
306
317
|
autoload :LmsBatchUpsertContentResponse, 'stack_one/models/operations/lms_batch_upsert_content_response.rb'
|
307
318
|
autoload :LmsBatchUpsertCourseRequest, 'stack_one/models/operations/lms_batch_upsert_course_request.rb'
|
308
319
|
autoload :LmsBatchUpsertCourseResponse, 'stack_one/models/operations/lms_batch_upsert_course_response.rb'
|
309
|
-
autoload :
|
310
|
-
autoload :
|
320
|
+
autoload :LmsCreateCollectionRequest, 'stack_one/models/operations/lms_create_collection_request.rb'
|
321
|
+
autoload :LmsCreateCollectionResponse, 'stack_one/models/operations/lms_create_collection_response.rb'
|
311
322
|
autoload :LmsCreateUserCompletionRequest, 'stack_one/models/operations/lms_create_user_completion_request.rb'
|
312
323
|
autoload :LmsCreateUserCompletionResponse, 'stack_one/models/operations/lms_create_user_completion_response.rb'
|
313
|
-
autoload :LmsDeleteContentRequest, 'stack_one/models/operations/lms_delete_content_request.rb'
|
314
|
-
autoload :LmsDeleteContentResponse, 'stack_one/models/operations/lms_delete_content_response.rb'
|
315
324
|
autoload :LmsGetAssignmentRequest, 'stack_one/models/operations/lms_get_assignment_request.rb'
|
316
325
|
autoload :LmsGetAssignmentResponse, 'stack_one/models/operations/lms_get_assignment_response.rb'
|
317
326
|
autoload :LmsGetCategoryRequest, 'stack_one/models/operations/lms_get_category_request.rb'
|
@@ -357,8 +366,8 @@ module StackOne
|
|
357
366
|
autoload :LmsListUsersQueryParamFilter, 'stack_one/models/operations/lms_list_users_queryparam_filter.rb'
|
358
367
|
autoload :LmsListUsersRequest, 'stack_one/models/operations/lms_list_users_request.rb'
|
359
368
|
autoload :LmsListUsersResponse, 'stack_one/models/operations/lms_list_users_response.rb'
|
360
|
-
autoload :
|
361
|
-
autoload :
|
369
|
+
autoload :LmsUpdateCollectionRequest, 'stack_one/models/operations/lms_update_collection_request.rb'
|
370
|
+
autoload :LmsUpdateCollectionResponse, 'stack_one/models/operations/lms_update_collection_response.rb'
|
362
371
|
autoload :LmsUpsertContentRequest, 'stack_one/models/operations/lms_upsert_content_request.rb'
|
363
372
|
autoload :LmsUpsertContentResponse, 'stack_one/models/operations/lms_upsert_content_response.rb'
|
364
373
|
autoload :LmsUpsertCourseRequest, 'stack_one/models/operations/lms_upsert_course_request.rb'
|
@@ -12,6 +12,8 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The course ID associated with this assignment
|
15
|
+
#
|
16
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
15
17
|
field :course_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('course_id') } }
|
16
18
|
# The date the assignment was created
|
17
19
|
field :created_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at') } }
|
@@ -28,6 +30,8 @@ module StackOne
|
|
28
30
|
# The progress associated with this assigment
|
29
31
|
field :progress, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('progress') } }
|
30
32
|
# Provider's unique identifier of the course related to the assignment
|
33
|
+
#
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
31
35
|
field :remote_course_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_course_id') } }
|
32
36
|
# Provider's unique identifier
|
33
37
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
@@ -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
|
@@ -20,7 +20,7 @@ module StackOne
|
|
20
20
|
# Candidate created date
|
21
21
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
22
|
# The candidate custom fields
|
23
|
-
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::
|
23
|
+
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::CustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
24
24
|
# Candidate email
|
25
25
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
26
26
|
# List of candidate emails
|
@@ -55,7 +55,7 @@ module StackOne
|
|
55
55
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
56
56
|
|
57
57
|
|
58
|
-
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
58
|
+
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), created_at: T.nilable(::DateTime), 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), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_application_ids: T.nilable(T::Array[::String]), remote_id: 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]), updated_at: T.nilable(::DateTime)).void }
|
59
59
|
def initialize(application_ids: nil, company: nil, country: nil, created_at: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_application_ids: nil, remote_id: nil, social_links: nil, title: nil, unified_custom_fields: nil, updated_at: nil)
|
60
60
|
@application_ids = application_ids
|
61
61
|
@company = company
|
@@ -14,14 +14,22 @@ module StackOne
|
|
14
14
|
# The date the content was completed
|
15
15
|
field :completed_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('completed_at') } }
|
16
16
|
# The external reference associated with this content
|
17
|
+
#
|
18
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
17
19
|
field :content_external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_external_reference') } }
|
18
20
|
# The content ID associated with this completion
|
21
|
+
#
|
22
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
19
23
|
field :content_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_id') } }
|
20
24
|
# The course ID associated with this completion
|
25
|
+
#
|
26
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
21
27
|
field :course_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('course_id') } }
|
22
28
|
# The created date of the completion
|
23
29
|
field :created_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at') } }
|
24
30
|
# The external ID associated with this completion
|
31
|
+
#
|
32
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
33
|
field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_id') } }
|
26
34
|
# The ID associated with this completion
|
27
35
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
@@ -32,10 +40,16 @@ module StackOne
|
|
32
40
|
# The learning object type of the assignment
|
33
41
|
field :learning_object_type, T.nilable(::StackOne::Shared::CompletionLearningObjectType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('learning_object_type') } }
|
34
42
|
# Provider's unique identifier of the content associated with the completion
|
43
|
+
#
|
44
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
45
|
field :remote_content_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_content_id') } }
|
36
46
|
# Provider's unique identifier of the course associated with the completion
|
47
|
+
#
|
48
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
49
|
field :remote_course_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_course_id') } }
|
38
50
|
# Provider's unique identifier of the content external reference
|
51
|
+
#
|
52
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
53
|
field :remote_external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_external_id') } }
|
40
54
|
# Provider's unique identifier
|
41
55
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
@@ -18,7 +18,7 @@ module StackOne
|
|
18
18
|
# Timestamp when the contact was created
|
19
19
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
20
|
# Contact 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
|
# List of associated deal IDs
|
23
23
|
field :deal_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('deal_ids') } }
|
24
24
|
# List of contact email addresses
|
@@ -43,7 +43,7 @@ module StackOne
|
|
43
43
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
44
44
|
|
45
45
|
|
46
|
-
sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
46
|
+
sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]), deal_ids: T.nilable(T::Array[::String]), emails: T.nilable(T::Array[::String]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_account_ids: T.nilable(T::Array[::String]), remote_deal_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
|
47
47
|
def initialize(account_ids: nil, company_name: nil, created_at: nil, custom_fields: nil, deal_ids: nil, emails: nil, first_name: nil, id: nil, last_name: nil, phone_numbers: nil, remote_account_ids: nil, remote_deal_ids: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil)
|
48
48
|
@account_ids = account_ids
|
49
49
|
@company_name = company_name
|
@@ -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 Shared
|
9
|
+
|
10
|
+
|
11
|
+
class ContentBlockResult < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::ContentBlock, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
|
+
|
17
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(data: ::StackOne::Shared::ContentBlock, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
21
|
+
def initialize(data: nil, raw: nil)
|
22
|
+
@data = data
|
23
|
+
@raw = raw
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -11,14 +11,12 @@ 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.
|
15
|
+
field :active, T.nilable(T::Boolean), { '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
|
19
19
|
field :content_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_ids') } }
|
20
|
-
# The media type for the course
|
21
|
-
field :course_type, T.nilable(::StackOne::Shared::CourseType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('course_type') } }
|
22
20
|
# The URL of the thumbnail image associated with the course.
|
23
21
|
field :cover_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('cover_url') } }
|
24
22
|
# The date on which the course was created.
|
@@ -29,10 +27,10 @@ module StackOne
|
|
29
27
|
field :duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
30
28
|
# The external ID associated with this course
|
31
29
|
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
32
|
-
#
|
30
|
+
# Unique identifier
|
33
31
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
34
32
|
# The languages associated with this course
|
35
|
-
field :languages, T.nilable(T::Array[::StackOne::Shared::
|
33
|
+
field :languages, T.nilable(T::Array[::StackOne::Shared::LanguageEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('languages') } }
|
36
34
|
# Provider's unique identifier of the child content IDs associated with this course
|
37
35
|
field :remote_content_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_content_ids') } }
|
38
36
|
# Provider's unique identifier
|
@@ -49,12 +47,11 @@ module StackOne
|
|
49
47
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
50
48
|
|
51
49
|
|
52
|
-
sig { params(active: T.nilable(::
|
53
|
-
def initialize(active: nil, categories: nil, content_ids: nil,
|
50
|
+
sig { params(active: T.nilable(T::Boolean), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), 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::LanguageEnum]), 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 }
|
51
|
+
def initialize(active: nil, categories: nil, content_ids: 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
52
|
@active = active
|
55
53
|
@categories = categories
|
56
54
|
@content_ids = content_ids
|
57
|
-
@course_type = course_type
|
58
55
|
@cover_url = cover_url
|
59
56
|
@created_at = created_at
|
60
57
|
@description = description
|