stackone_client 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/lms.rb +17 -58
- 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/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/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 +4 -6
- 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/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 +6 -9
- data/lib/stack_one/models/shared/createmessage_value.rb +16 -8
- 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/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/lmscreatecollectionrequestdto.rb +51 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +4 -4
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -8
- 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 +22 -21
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +23 -24
- 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_delete_content_response.rb +0 -33
- 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/course_type.rb +0 -27
- data/lib/stack_one/models/shared/course_value.rb +0 -19
- 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 -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/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 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
|
@@ -306,12 +306,10 @@ module StackOne
|
|
306
306
|
autoload :LmsBatchUpsertContentResponse, 'stack_one/models/operations/lms_batch_upsert_content_response.rb'
|
307
307
|
autoload :LmsBatchUpsertCourseRequest, 'stack_one/models/operations/lms_batch_upsert_course_request.rb'
|
308
308
|
autoload :LmsBatchUpsertCourseResponse, 'stack_one/models/operations/lms_batch_upsert_course_response.rb'
|
309
|
-
autoload :
|
310
|
-
autoload :
|
309
|
+
autoload :LmsCreateCollectionRequest, 'stack_one/models/operations/lms_create_collection_request.rb'
|
310
|
+
autoload :LmsCreateCollectionResponse, 'stack_one/models/operations/lms_create_collection_response.rb'
|
311
311
|
autoload :LmsCreateUserCompletionRequest, 'stack_one/models/operations/lms_create_user_completion_request.rb'
|
312
312
|
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
313
|
autoload :LmsGetAssignmentRequest, 'stack_one/models/operations/lms_get_assignment_request.rb'
|
316
314
|
autoload :LmsGetAssignmentResponse, 'stack_one/models/operations/lms_get_assignment_response.rb'
|
317
315
|
autoload :LmsGetCategoryRequest, 'stack_one/models/operations/lms_get_category_request.rb'
|
@@ -357,8 +355,8 @@ module StackOne
|
|
357
355
|
autoload :LmsListUsersQueryParamFilter, 'stack_one/models/operations/lms_list_users_queryparam_filter.rb'
|
358
356
|
autoload :LmsListUsersRequest, 'stack_one/models/operations/lms_list_users_request.rb'
|
359
357
|
autoload :LmsListUsersResponse, 'stack_one/models/operations/lms_list_users_response.rb'
|
360
|
-
autoload :
|
361
|
-
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'
|
362
360
|
autoload :LmsUpsertContentRequest, 'stack_one/models/operations/lms_upsert_content_request.rb'
|
363
361
|
autoload :LmsUpsertContentResponse, 'stack_one/models/operations/lms_upsert_content_response.rb'
|
364
362
|
autoload :LmsUpsertCourseRequest, 'stack_one/models/operations/lms_upsert_course_request.rb'
|
@@ -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
|
@@ -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
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::LmsUpsertContentRequestDtoValue, true) } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -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
|
@@ -7,14 +7,22 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
# The unified message type.
|
11
|
-
class CreateMessageValue < ::
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
10
|
+
# CreateMessageValue - The unified message type.
|
11
|
+
class CreateMessageValue < T::Enum
|
12
|
+
enums do
|
13
|
+
EMAIL = new('email')
|
14
|
+
SMS = new('sms')
|
15
|
+
PUSH = new('push')
|
16
|
+
WEB_PUSH = new('web_push')
|
17
|
+
IOS_PUSH = new('ios_push')
|
18
|
+
ANDROID_PUSH = new('android_push')
|
19
|
+
APP_PUSH = new('app_push')
|
20
|
+
OMNI_CHANNEL = new('omni_channel')
|
21
|
+
CONTENT_BLOCK = new('content_block')
|
22
|
+
IN_APP = new('in_app')
|
23
|
+
UNKNOWN = new('unknown')
|
24
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
25
|
+
end
|
18
26
|
end
|
19
27
|
end
|
20
28
|
end
|
@@ -16,7 +16,7 @@ module StackOne
|
|
16
16
|
# The contact company name
|
17
17
|
field :company_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company_name') } }
|
18
18
|
# Contact 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
|
# List of associated deal IDs
|
21
21
|
field :deal_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('deal_ids') } }
|
22
22
|
# List of contact email addresses
|
@@ -31,7 +31,7 @@ module StackOne
|
|
31
31
|
field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
32
32
|
|
33
33
|
|
34
|
-
sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::
|
34
|
+
sig { params(account_ids: T.nilable(T::Array[::String]), company_name: T.nilable(::String), 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), last_name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), phone_numbers: T.nilable(T::Array[::String])).void }
|
35
35
|
def initialize(account_ids: nil, company_name: nil, custom_fields: nil, deal_ids: nil, emails: nil, first_name: nil, last_name: nil, passthrough: nil, phone_numbers: nil)
|
36
36
|
@account_ids = account_ids
|
37
37
|
@company_name = company_name
|
@@ -14,7 +14,7 @@ module StackOne
|
|
14
14
|
# The original value from the provider used to derive the unified message type.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The unified message type.
|
17
|
-
field :value, T.nilable(::StackOne::Shared::EmailMessagesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmailMessagesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmailMessagesValue, true) } }
|
18
18
|
|
19
19
|
|
20
20
|
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmailMessagesValue)).void }
|
@@ -7,14 +7,22 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
# The unified message type.
|
11
|
-
class EmailMessagesValue < ::
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
10
|
+
# EmailMessagesValue - The unified message type.
|
11
|
+
class EmailMessagesValue < T::Enum
|
12
|
+
enums do
|
13
|
+
EMAIL = new('email')
|
14
|
+
SMS = new('sms')
|
15
|
+
PUSH = new('push')
|
16
|
+
WEB_PUSH = new('web_push')
|
17
|
+
IOS_PUSH = new('ios_push')
|
18
|
+
ANDROID_PUSH = new('android_push')
|
19
|
+
APP_PUSH = new('app_push')
|
20
|
+
OMNI_CHANNEL = new('omni_channel')
|
21
|
+
CONTENT_BLOCK = new('content_block')
|
22
|
+
IN_APP = new('in_app')
|
23
|
+
UNKNOWN = new('unknown')
|
24
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
25
|
+
end
|
18
26
|
end
|
19
27
|
end
|
20
28
|
end
|
@@ -0,0 +1,36 @@
|
|
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 EmailTemplate < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
|
17
|
+
field :messages, T.nilable(T::Array[::StackOne::Shared::EmailMessages]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
|
18
|
+
|
19
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
# Provider's unique identifier
|
21
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
|
+
|
23
|
+
field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(id: T.nilable(::String), messages: T.nilable(T::Array[::StackOne::Shared::EmailMessages]), name: T.nilable(::String), remote_id: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
27
|
+
def initialize(id: nil, messages: nil, name: nil, remote_id: nil, tags: nil)
|
28
|
+
@id = id
|
29
|
+
@messages = messages
|
30
|
+
@name = name
|
31
|
+
@remote_id = remote_id
|
32
|
+
@tags = tags
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
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 Shared
|
9
|
+
|
10
|
+
|
11
|
+
class EmailTemplateResult < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::EmailTemplate, { '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::EmailTemplate, 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
|