stackone_client 0.2.37 → 0.2.38
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/ats.rb +176 -1
- data/lib/stack_one/hris.rb +53 -1
- data/lib/stack_one/lms.rb +328 -31
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +60 -0
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_job_request.rb +5 -2
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +57 -0
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +5 -2
- data/lib/stack_one/models/operations/ats_move_application_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_move_application_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_reject_application_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_reject_application_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb +27 -0
- data/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb +33 -0
- data/lib/stack_one/models/operations/{lms_create_completion_request.rb → lms_create_user_completion_request.rb} +1 -1
- data/lib/stack_one/models/operations/{lms_create_completion_response.rb → lms_create_user_completion_response.rb} +1 -1
- data/lib/stack_one/models/operations/lms_get_assignment_request.rb +2 -5
- data/lib/stack_one/models/operations/lms_get_assignment_response.rb +1 -1
- data/lib/stack_one/models/operations/lms_get_completion_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_completion_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_skill_request.rb +36 -0
- data/lib/stack_one/models/operations/lms_get_skill_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_user_assignment_request.rb +39 -0
- data/lib/stack_one/models/operations/lms_get_user_assignment_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_get_user_completion_request.rb +39 -0
- data/lib/stack_one/models/operations/lms_get_user_completion_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_assignments_request.rb +8 -5
- data/lib/stack_one/models/operations/lms_list_assignments_response.rb +1 -1
- data/lib/stack_one/models/operations/lms_list_completions_request.rb +10 -7
- data/lib/stack_one/models/operations/lms_list_completions_response.rb +1 -1
- data/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_skills_request.rb +52 -0
- data/lib/stack_one/models/operations/lms_list_skills_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_request.rb +61 -0
- data/lib/stack_one/models/operations/lms_list_user_assignments_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_request.rb +61 -0
- data/lib/stack_one/models/operations/lms_list_user_completions_response.rb +33 -0
- data/lib/stack_one/models/operations.rb +33 -2
- data/lib/stack_one/models/shared/account.rb +5 -2
- data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/accountaddress_value.rb +0 -1
- data/lib/stack_one/models/shared/answer_value.rb +0 -1
- data/lib/stack_one/models/shared/application.rb +5 -2
- data/lib/stack_one/models/shared/application_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/application_value.rb +0 -1
- data/lib/stack_one/models/shared/applicationattachment_value.rb +0 -1
- data/lib/stack_one/models/shared/assessmentspackages_type.rb +2 -2
- data/lib/stack_one/models/shared/assessmentspackages_value.rb +4 -7
- data/lib/stack_one/models/shared/assessmentsresults_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/assessmentsresults_value.rb +0 -1
- data/lib/stack_one/models/shared/assignment.rb +5 -11
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +5 -2
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +5 -2
- data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +0 -1
- data/lib/stack_one/models/shared/atslocation.rb +5 -2
- data/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb +27 -0
- data/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb +27 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +5 -2
- data/lib/stack_one/models/shared/batchresultapimodel.rb +33 -0
- data/lib/stack_one/models/shared/campaign_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/campaign_value.rb +0 -1
- data/lib/stack_one/models/shared/candidate.rb +5 -2
- data/lib/stack_one/models/shared/categories.rb +0 -1
- data/lib/stack_one/models/shared/category.rb +5 -2
- data/lib/stack_one/models/shared/channelsenum_value.rb +0 -1
- data/lib/stack_one/models/shared/company.rb +5 -2
- data/lib/stack_one/models/shared/completion.rb +9 -6
- data/lib/stack_one/models/shared/{completion_result.rb → completion_schemas_result.rb} +1 -1
- data/lib/stack_one/models/shared/completion_value.rb +0 -1
- data/lib/stack_one/models/shared/completionresult.rb +27 -0
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +0 -1
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +0 -1
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +0 -1
- data/lib/stack_one/models/shared/contact.rb +5 -2
- data/lib/stack_one/models/shared/content_value.rb +0 -1
- data/lib/stack_one/models/shared/contentblock_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/contentblock_value.rb +0 -1
- data/lib/stack_one/models/shared/contentlanguageenum_value.rb +0 -1
- data/lib/stack_one/models/shared/countrycodeenum_value.rb +0 -1
- data/lib/stack_one/models/shared/course.rb +5 -2
- data/lib/stack_one/models/shared/course_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/course_value.rb +0 -1
- data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +5 -2
- data/lib/stack_one/models/shared/customfielddefinition_value.rb +0 -1
- data/lib/stack_one/models/shared/department.rb +5 -2
- data/lib/stack_one/models/shared/employee.rb +11 -2
- data/lib/stack_one/models/shared/employee_company.rb +5 -2
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +0 -1
- data/lib/stack_one/models/shared/employee_value.rb +0 -1
- data/lib/stack_one/models/shared/employment.rb +5 -2
- data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/employment_value.rb +0 -1
- data/lib/stack_one/models/shared/field_type.rb +0 -1
- data/lib/stack_one/models/shared/home_location.rb +5 -2
- data/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb +24 -0
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +8 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb +21 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdepartment.rb +5 -2
- data/lib/stack_one/models/shared/hrisdepartment_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/hrisgroup.rb +5 -2
- data/lib/stack_one/models/shared/hrisgroup_value.rb +0 -1
- data/lib/stack_one/models/shared/hrislocation.rb +5 -2
- data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/hrislocation_value.rb +0 -1
- data/lib/stack_one/models/shared/iamgroup_value.rb +0 -1
- data/lib/stack_one/models/shared/iammfatypeenum_value.rb +0 -1
- data/lib/stack_one/models/shared/iampermission_value.rb +0 -1
- data/lib/stack_one/models/shared/iamresource_value.rb +0 -1
- data/lib/stack_one/models/shared/iamrole_value.rb +0 -1
- data/lib/stack_one/models/shared/iamuser.rb +5 -2
- data/lib/stack_one/models/shared/iamuser_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/iamuser_value.rb +0 -1
- data/lib/stack_one/models/shared/internal.rb +0 -1
- data/lib/stack_one/models/shared/interview.rb +5 -2
- data/lib/stack_one/models/shared/interview_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/interview_value.rb +0 -1
- data/lib/stack_one/models/shared/interviewpart_value.rb +0 -1
- data/lib/stack_one/models/shared/interviewstage.rb +5 -2
- data/lib/stack_one/models/shared/job.rb +8 -2
- data/lib/stack_one/models/shared/job_confidential.rb +0 -1
- data/lib/stack_one/models/shared/job_value.rb +0 -1
- data/lib/stack_one/models/shared/jobcustomfields.rb +39 -0
- data/lib/stack_one/models/shared/jobposting.rb +5 -2
- data/lib/stack_one/models/shared/jobposting_content.rb +4 -4
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +0 -1
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/jobposting_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +0 -1
- data/lib/stack_one/models/shared/jobpostingcontentsection.rb +36 -0
- data/lib/stack_one/models/shared/jobpostingcontentsection_type.rb +27 -0
- data/lib/stack_one/models/shared/jobpostingcontentsection_value.rb +19 -0
- data/lib/stack_one/models/shared/linkedaccount_status.rb +0 -1
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +0 -1
- data/lib/stack_one/models/shared/list.rb +5 -2
- data/lib/stack_one/models/shared/list_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb +24 -0
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/lmsuser.rb +8 -2
- data/lib/stack_one/models/shared/method.rb +0 -1
- data/lib/stack_one/models/shared/moveapplicationresult.rb +33 -0
- data/lib/stack_one/models/shared/note.rb +5 -2
- data/lib/stack_one/models/shared/note_value.rb +0 -1
- data/lib/stack_one/models/shared/offer.rb +5 -2
- data/lib/stack_one/models/shared/offer_value.rb +0 -1
- data/lib/stack_one/models/shared/overall_recommendation.rb +0 -1
- data/lib/stack_one/models/shared/phonenumber_type.rb +0 -1
- data/lib/stack_one/models/shared/question_value.rb +0 -1
- data/lib/stack_one/models/shared/rejectapplicationresult.rb +33 -0
- data/lib/stack_one/models/shared/rejectedreason.rb +5 -2
- data/lib/stack_one/models/shared/rejectedreason_value.rb +0 -1
- data/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb +5 -2
- data/lib/stack_one/models/shared/scheduledinterview_value.rb +0 -1
- data/lib/stack_one/models/shared/skillresult.rb +27 -0
- data/lib/stack_one/models/shared/skills.rb +3 -3
- data/lib/stack_one/models/shared/skillspaginated.rb +30 -0
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/timeoff_value.rb +0 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +0 -1
- data/lib/stack_one/models/shared/value.rb +0 -1
- data/lib/stack_one/models/shared/work_location.rb +5 -2
- data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +0 -1
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +0 -1
- data/lib/stack_one/models/shared/workeligibility_value.rb +0 -1
- data/lib/stack_one/models/shared.rb +36 -19
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +53 -5
@@ -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 CompletionResult < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::Completion, { '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::Completion, 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
|
@@ -37,12 +37,14 @@ module StackOne
|
|
37
37
|
field :remote_deal_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_deal_ids') } }
|
38
38
|
# Provider's unique identifier
|
39
39
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
40
|
+
# Custom Unified Fields configured in your StackOne project
|
41
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
40
42
|
# Timestamp when the contact was last updated
|
41
43
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
44
|
|
43
45
|
|
44
|
-
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::ContactsCustomFields]), 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), updated_at: T.nilable(::DateTime)).void }
|
45
|
-
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, updated_at: nil)
|
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::ContactsCustomFields]), 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
|
+
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)
|
46
48
|
@account_ids = account_ids
|
47
49
|
@company_name = company_name
|
48
50
|
@created_at = created_at
|
@@ -56,6 +58,7 @@ module StackOne
|
|
56
58
|
@remote_account_ids = remote_account_ids
|
57
59
|
@remote_deal_ids = remote_deal_ids
|
58
60
|
@remote_id = remote_id
|
61
|
+
@unified_custom_fields = unified_custom_fields
|
59
62
|
@updated_at = updated_at
|
60
63
|
end
|
61
64
|
end
|
@@ -41,14 +41,16 @@ module StackOne
|
|
41
41
|
field :skills, T.nilable(T::Array[::StackOne::Shared::Skills]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
42
42
|
# The title of the course
|
43
43
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
44
|
+
# Custom Unified Fields configured in your StackOne project
|
45
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
44
46
|
# The date on which the course was last updated.
|
45
47
|
field :updated_at, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at') } }
|
46
48
|
# The redirect URL of the course.
|
47
49
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
48
50
|
|
49
51
|
|
50
|
-
sig { params(active: T.nilable(::StackOne::Shared::Active), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::CourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
|
51
|
-
def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, updated_at: nil, url: nil)
|
52
|
+
sig { params(active: T.nilable(::StackOne::Shared::Active), categories: T.nilable(T::Array[::StackOne::Shared::Category]), content_ids: T.nilable(T::Array[::String]), course_type: T.nilable(::StackOne::Shared::CourseType), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
|
53
|
+
def initialize(active: nil, categories: nil, content_ids: nil, course_type: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, unified_custom_fields: nil, updated_at: nil, url: nil)
|
52
54
|
@active = active
|
53
55
|
@categories = categories
|
54
56
|
@content_ids = content_ids
|
@@ -64,6 +66,7 @@ module StackOne
|
|
64
66
|
@remote_id = remote_id
|
65
67
|
@skills = skills
|
66
68
|
@title = title
|
69
|
+
@unified_custom_fields = unified_custom_fields
|
67
70
|
@updated_at = updated_at
|
68
71
|
@url = url
|
69
72
|
end
|
@@ -15,12 +15,15 @@ module StackOne
|
|
15
15
|
field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
16
16
|
# The name associated with this category
|
17
17
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Custom Unified Fields configured in your StackOne project
|
19
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String)).void }
|
21
|
-
def initialize(active: nil, name: nil)
|
22
|
+
sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
23
|
+
def initialize(active: nil, name: nil, unified_custom_fields: nil)
|
22
24
|
@active = active
|
23
25
|
@name = name
|
26
|
+
@unified_custom_fields = unified_custom_fields
|
24
27
|
end
|
25
28
|
end
|
26
29
|
end
|
@@ -11,14 +11,17 @@ module StackOne
|
|
11
11
|
class CreateResultDataApiModel < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# The external identifier
|
15
|
+
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
14
16
|
# Unique identifier
|
15
17
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
18
|
# Provider's unique identifier
|
17
19
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(id: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
21
|
-
def initialize(id: nil, remote_id: nil)
|
22
|
+
sig { params(external_reference: T.nilable(::String), id: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(external_reference: nil, id: nil, remote_id: nil)
|
24
|
+
@external_reference = external_reference
|
22
25
|
@id = id
|
23
26
|
@remote_id = remote_id
|
24
27
|
end
|
@@ -17,13 +17,16 @@ module StackOne
|
|
17
17
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
18
|
# Provider's unique identifier
|
19
19
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
# Custom Unified Fields configured in your StackOne project
|
21
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
20
22
|
|
21
23
|
|
22
|
-
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
-
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
25
|
+
def initialize(id: nil, name: nil, remote_id: nil, unified_custom_fields: nil)
|
24
26
|
@id = id
|
25
27
|
@name = name
|
26
28
|
@remote_id = remote_id
|
29
|
+
@unified_custom_fields = unified_custom_fields
|
27
30
|
end
|
28
31
|
end
|
29
32
|
end
|
@@ -35,6 +35,8 @@ module StackOne
|
|
35
35
|
field :date_of_birth, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
36
36
|
# The employee department
|
37
37
|
field :department, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } }
|
38
|
+
# The employee department id
|
39
|
+
field :department_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_id') } }
|
38
40
|
# The employee display name
|
39
41
|
field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
|
40
42
|
# The assigned employee number
|
@@ -63,6 +65,8 @@ module StackOne
|
|
63
65
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
64
66
|
# The employee job description
|
65
67
|
field :job_description, T.nilable(::StackOne::Shared::JobDescription), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_description') } }
|
68
|
+
# The employee job id
|
69
|
+
field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
66
70
|
# The employee job title
|
67
71
|
field :job_title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } }
|
68
72
|
# The employee last name
|
@@ -91,6 +95,8 @@ module StackOne
|
|
91
95
|
field :tenure, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tenure') } }
|
92
96
|
# The employee termination date
|
93
97
|
field :termination_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('termination_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
98
|
+
# Custom Unified Fields configured in your StackOne project
|
99
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
94
100
|
# The updated_at date
|
95
101
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
96
102
|
# The employee work anniversary
|
@@ -103,8 +109,8 @@ module StackOne
|
|
103
109
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
104
110
|
|
105
111
|
|
106
|
-
sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), groups: T.nilable(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
|
107
|
-
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, groups: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
112
|
+
sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), groups: T.nilable(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
|
113
|
+
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, groups: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, start_date: nil, tenure: nil, termination_date: nil, unified_custom_fields: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
108
114
|
@avatar = avatar
|
109
115
|
@avatar_url = avatar_url
|
110
116
|
@benefits = benefits
|
@@ -117,6 +123,7 @@ module StackOne
|
|
117
123
|
@custom_fields = custom_fields
|
118
124
|
@date_of_birth = date_of_birth
|
119
125
|
@department = department
|
126
|
+
@department_id = department_id
|
120
127
|
@display_name = display_name
|
121
128
|
@employee_number = employee_number
|
122
129
|
@employment_contract_type = employment_contract_type
|
@@ -131,6 +138,7 @@ module StackOne
|
|
131
138
|
@home_location = home_location
|
132
139
|
@id = id
|
133
140
|
@job_description = job_description
|
141
|
+
@job_id = job_id
|
134
142
|
@job_title = job_title
|
135
143
|
@last_name = last_name
|
136
144
|
@manager_id = manager_id
|
@@ -145,6 +153,7 @@ module StackOne
|
|
145
153
|
@start_date = start_date
|
146
154
|
@tenure = tenure
|
147
155
|
@termination_date = termination_date
|
156
|
+
@unified_custom_fields = unified_custom_fields
|
148
157
|
@updated_at = updated_at
|
149
158
|
@work_anniversary = work_anniversary
|
150
159
|
@work_email = work_email
|
@@ -21,17 +21,20 @@ module StackOne
|
|
21
21
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
22
22
|
# Provider's unique identifier
|
23
23
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
24
|
+
# Custom Unified Fields configured in your StackOne project
|
25
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
24
26
|
# The updated_at date
|
25
27
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
28
|
|
27
29
|
|
28
|
-
sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
29
|
-
def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, updated_at: nil)
|
30
|
+
sig { params(created_at: T.nilable(::DateTime), display_name: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
|
31
|
+
def initialize(created_at: nil, display_name: nil, id: nil, name: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil)
|
30
32
|
@created_at = created_at
|
31
33
|
@display_name = display_name
|
32
34
|
@id = id
|
33
35
|
@name = name
|
34
36
|
@remote_id = remote_id
|
37
|
+
@unified_custom_fields = unified_custom_fields
|
35
38
|
@updated_at = updated_at
|
36
39
|
end
|
37
40
|
end
|
@@ -37,12 +37,14 @@ module StackOne
|
|
37
37
|
field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } }
|
38
38
|
# Provider's unique identifier
|
39
39
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
40
|
+
# Custom Unified Fields configured in your StackOne project
|
41
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
40
42
|
# The updated_at date
|
41
43
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
44
|
|
43
45
|
|
44
|
-
sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
45
|
-
def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, remote_employee_id: nil, remote_id: nil, updated_at: nil)
|
46
|
+
sig { params(created_at: T.nilable(::DateTime), effective_date: T.nilable(::DateTime), employee_id: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::EmploymentEmploymentType), id: T.nilable(::String), job_title: T.nilable(::String), pay_currency: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::PayFrequency), pay_period: T.nilable(::StackOne::Shared::PayPeriod), pay_rate: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
|
47
|
+
def initialize(created_at: nil, effective_date: nil, employee_id: nil, employment_contract_type: nil, employment_type: nil, id: nil, job_title: nil, pay_currency: nil, pay_frequency: nil, pay_period: nil, pay_rate: nil, remote_employee_id: nil, remote_id: nil, unified_custom_fields: nil, updated_at: nil)
|
46
48
|
@created_at = created_at
|
47
49
|
@effective_date = effective_date
|
48
50
|
@employee_id = employee_id
|
@@ -56,6 +58,7 @@ module StackOne
|
|
56
58
|
@pay_rate = pay_rate
|
57
59
|
@remote_employee_id = remote_employee_id
|
58
60
|
@remote_id = remote_id
|
61
|
+
@unified_custom_fields = unified_custom_fields
|
59
62
|
@updated_at = updated_at
|
60
63
|
end
|
61
64
|
end
|
@@ -37,14 +37,16 @@ module StackOne
|
|
37
37
|
field :street_1, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } }
|
38
38
|
# The second line of the address
|
39
39
|
field :street_2, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } }
|
40
|
+
# Custom Unified Fields configured in your StackOne project
|
41
|
+
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
40
42
|
# The updated_at date
|
41
43
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
44
|
# The ZIP code/Postal code of the location
|
43
45
|
field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
44
46
|
|
45
47
|
|
46
|
-
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
|
47
|
-
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
48
|
+
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeLocationType), name: T.nilable(::String), phone_number: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), state: T.nilable(::String), street_1: T.nilable(::String), street_2: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime), zip_code: T.nilable(::String)).void }
|
49
|
+
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_employee_id: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, unified_custom_fields: nil, updated_at: nil, zip_code: nil)
|
48
50
|
@city = city
|
49
51
|
@country = country
|
50
52
|
@created_at = created_at
|
@@ -58,6 +60,7 @@ module StackOne
|
|
58
60
|
@state = state
|
59
61
|
@street_1 = street_1
|
60
62
|
@street_2 = street_2
|
63
|
+
@unified_custom_fields = unified_custom_fields
|
61
64
|
@updated_at = updated_at
|
62
65
|
@zip_code = zip_code
|
63
66
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class HrisBatchDocumentUploadRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The batch of items to create
|
15
|
+
field :items, T::Array[::StackOne::Shared::HrisDocumentsUploadRequestDto], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(items: T::Array[::StackOne::Shared::HrisDocumentsUploadRequestDto]).void }
|
19
|
+
def initialize(items: nil)
|
20
|
+
@items = items
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -29,6 +29,8 @@ module StackOne
|
|
29
29
|
field :date_of_birth, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
30
|
# The employee department
|
31
31
|
field :department, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } }
|
32
|
+
# The employee department id
|
33
|
+
field :department_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_id') } }
|
32
34
|
# The employee display name
|
33
35
|
field :display_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
|
34
36
|
# The employment work schedule type (e.g., full-time, part-time)
|
@@ -61,6 +63,8 @@ module StackOne
|
|
61
63
|
field :marital_status, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('marital_status') } }
|
62
64
|
# The employee name
|
63
65
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
66
|
+
# The national identity number
|
67
|
+
field :national_identity_number, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('national_identity_number') } }
|
64
68
|
# Value to pass through to the provider
|
65
69
|
field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
|
66
70
|
# The employee personal email
|
@@ -85,8 +89,8 @@ module StackOne
|
|
85
89
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
86
90
|
|
87
91
|
|
88
|
-
sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
|
89
|
-
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
92
|
+
sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
|
93
|
+
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
90
94
|
@avatar = avatar
|
91
95
|
@avatar_url = avatar_url
|
92
96
|
@benefits = benefits
|
@@ -96,6 +100,7 @@ module StackOne
|
|
96
100
|
@custom_fields = custom_fields
|
97
101
|
@date_of_birth = date_of_birth
|
98
102
|
@department = department
|
103
|
+
@department_id = department_id
|
99
104
|
@display_name = display_name
|
100
105
|
@employment_contract_type = employment_contract_type
|
101
106
|
@employment_status = employment_status
|
@@ -112,6 +117,7 @@ module StackOne
|
|
112
117
|
@manager_id = manager_id
|
113
118
|
@marital_status = marital_status
|
114
119
|
@name = name
|
120
|
+
@national_identity_number = national_identity_number
|
115
121
|
@passthrough = passthrough
|
116
122
|
@personal_email = personal_email
|
117
123
|
@personal_phone_number = personal_phone_number
|