stackone_client 0.2.3 → 0.2.6
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/accounts.rb +2 -7
- data/lib/stack_one/ats.rb +43 -0
- data/lib/stack_one/hris.rb +43 -0
- data/lib/stack_one/models/operations/ats_download_application_document_request.rb +33 -0
- data/lib/stack_one/models/operations/ats_download_application_document_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_application_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_department_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_job_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_location_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_get_user_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +2 -2
- data/lib/stack_one/models/operations/ats_list_users_request.rb +2 -2
- data/lib/stack_one/models/operations/crm_get_account_request.rb +2 -2
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +2 -2
- data/lib/stack_one/models/operations/crm_get_list_request.rb +2 -2
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +2 -2
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +2 -2
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_download_employee_document_request.rb +33 -0
- data/lib/stack_one/models/operations/hris_download_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_company_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_location_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +2 -2
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +2 -2
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb +14 -2
- data/lib/stack_one/models/operations.rb +4 -62
- data/lib/stack_one/models/shared/account.rb +8 -8
- data/lib/stack_one/models/shared/content.rb +2 -2
- data/lib/stack_one/models/shared/{fileformatenum_value.rb → content_value.rb} +1 -1
- data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +3 -0
- data/lib/stack_one/models/shared/{fileformatenum.rb → file_format.rb} +4 -4
- data/lib/stack_one/models/shared/job.rb +3 -3
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +3 -0
- data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +3 -0
- data/lib/stack_one/models/shared/list.rb +8 -8
- data/lib/stack_one/models/shared/note.rb +5 -5
- data/lib/stack_one/models/shared/notecontentapimodel.rb +2 -2
- data/lib/stack_one/models/shared/proxyrequestbody.rb +3 -3
- data/lib/stack_one/models/shared/resultlink.rb +5 -5
- data/lib/stack_one/models/shared/user.rb +6 -6
- data/lib/stack_one/models/shared/userresult.rb +2 -2
- data/lib/stack_one/models/shared/userspaginated.rb +5 -5
- data/lib/stack_one/models/shared.rb +2 -5
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +8 -69
- data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_employee_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_benefits_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/operations/proxy.rb +0 -20
- data/lib/stack_one/models/operations/queryparam_proxy.rb +0 -20
- data/lib/stack_one/models/shared/body.rb +0 -20
- data/lib/stack_one/models/shared/headers.rb +0 -20
- data/lib/stack_one/models/shared/job_schemas_status.rb +0 -20
@@ -14,10 +14,6 @@ module StackOne
|
|
14
14
|
|
15
15
|
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
16
|
|
17
|
-
field :name, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
-
|
19
|
-
field :owner_id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('owner_id') } }
|
20
|
-
|
21
17
|
field :addresses, T.nilable(T::Array[::StackOne::Shared::AccountAddress]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('addresses') } }
|
22
18
|
|
23
19
|
field :annual_revenue, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('annual_revenue') } }
|
@@ -27,6 +23,10 @@ module StackOne
|
|
27
23
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
28
24
|
# Values of the industries
|
29
25
|
field :industries, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('industries') } }
|
26
|
+
|
27
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
|
+
|
29
|
+
field :owner_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('owner_id') } }
|
30
30
|
# List of account phone numbers
|
31
31
|
field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
32
32
|
# Timestamp when the account was last updated
|
@@ -35,16 +35,16 @@ module StackOne
|
|
35
35
|
field :website, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('website') } }
|
36
36
|
|
37
37
|
|
38
|
-
sig { params(id: ::String,
|
39
|
-
def initialize(id: nil,
|
38
|
+
sig { params(id: ::String, addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), industries: T.nilable(T::Array[::String]), name: T.nilable(::String), owner_id: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void }
|
39
|
+
def initialize(id: nil, addresses: nil, annual_revenue: nil, created_at: nil, description: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, updated_at: nil, website: nil)
|
40
40
|
@id = id
|
41
|
-
@name = name
|
42
|
-
@owner_id = owner_id
|
43
41
|
@addresses = addresses
|
44
42
|
@annual_revenue = annual_revenue
|
45
43
|
@created_at = created_at
|
46
44
|
@description = description
|
47
45
|
@industries = industries
|
46
|
+
@name = name
|
47
|
+
@owner_id = owner_id
|
48
48
|
@phone_numbers = phone_numbers
|
49
49
|
@updated_at = updated_at
|
50
50
|
@website = website
|
@@ -12,12 +12,12 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The file format of the file
|
15
|
-
field :file_format, T.nilable(::StackOne::Shared::
|
15
|
+
field :file_format, T.nilable(::StackOne::Shared::FileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
|
16
16
|
# URL where the file content is located
|
17
17
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(file_format: T.nilable(::StackOne::Shared::
|
20
|
+
sig { params(file_format: T.nilable(::StackOne::Shared::FileFormat), url: T.nilable(::String)).void }
|
21
21
|
def initialize(file_format: nil, url: nil)
|
22
22
|
@file_format = file_format
|
23
23
|
@url = url
|
@@ -15,9 +15,12 @@ module StackOne
|
|
15
15
|
WEEK = new('week')
|
16
16
|
EVERY_TWO_WEEKS = new('every_two_weeks')
|
17
17
|
MONTH = new('month')
|
18
|
+
TWICE_A_MONTH = new('twice_a_month')
|
19
|
+
EVERY_TWO_MONTHS = new('every_two_months')
|
18
20
|
QUARTER = new('quarter')
|
19
21
|
EVERY_SIX_MONTHS = new('every_six_months')
|
20
22
|
YEAR = new('year')
|
23
|
+
ONE_OFF = new('one_off')
|
21
24
|
NONE = new('none')
|
22
25
|
UNMAPPED_VALUE = new('unmapped_value')
|
23
26
|
end
|
@@ -7,17 +7,17 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
|
11
|
-
class
|
10
|
+
# The file format of the file
|
11
|
+
class FileFormat < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
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::ContentValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::ContentValue, 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::ContentValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -29,15 +29,15 @@ module StackOne
|
|
29
29
|
field :job_status, T.nilable(::StackOne::Shared::JobStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_status') } }
|
30
30
|
|
31
31
|
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
32
|
-
|
33
|
-
field :status, T.nilable(::
|
32
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
33
|
+
field :status, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
34
34
|
|
35
35
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
36
36
|
# Date of last update
|
37
37
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
38
|
|
39
39
|
|
40
|
-
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), status: T.nilable(::
|
40
|
+
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
41
41
|
def initialize(code: nil, confidential: nil, created_at: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, status: nil, title: nil, updated_at: nil)
|
42
42
|
@code = code
|
43
43
|
@confidential = confidential
|
@@ -12,6 +12,9 @@ module StackOne
|
|
12
12
|
enums do
|
13
13
|
LIVE = new('live')
|
14
14
|
DRAFT = new('draft')
|
15
|
+
PENDING = new('pending')
|
16
|
+
INTERNAL = new('internal')
|
17
|
+
REJECTED = new('rejected')
|
15
18
|
CLOSED = new('closed')
|
16
19
|
ARCHIVED = new('archived')
|
17
20
|
UNMAPPED_VALUE = new('unmapped_value')
|
@@ -15,9 +15,12 @@ module StackOne
|
|
15
15
|
WEEK = new('week')
|
16
16
|
EVERY_TWO_WEEKS = new('every_two_weeks')
|
17
17
|
MONTH = new('month')
|
18
|
+
TWICE_A_MONTH = new('twice_a_month')
|
19
|
+
EVERY_TWO_MONTHS = new('every_two_months')
|
18
20
|
QUARTER = new('quarter')
|
19
21
|
EVERY_SIX_MONTHS = new('every_six_months')
|
20
22
|
YEAR = new('year')
|
23
|
+
ONE_OFF = new('one_off')
|
21
24
|
NONE = new('none')
|
22
25
|
UNMAPPED_VALUE = new('unmapped_value')
|
23
26
|
end
|
@@ -11,26 +11,26 @@ module StackOne
|
|
11
11
|
class List < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
|
15
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
-
|
17
|
-
field :name, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
14
|
# Timestamp when the list was created
|
19
15
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
16
|
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
|
21
19
|
field :items, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } }
|
20
|
+
|
21
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
22
22
|
# The list type
|
23
23
|
field :type, T.nilable(::StackOne::Shared::ListType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
24
24
|
# Timestamp when the list was last updated
|
25
25
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
26
|
|
27
27
|
|
28
|
-
sig { params(
|
29
|
-
def initialize(
|
30
|
-
@id = id
|
31
|
-
@name = name
|
28
|
+
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), items: T.nilable(T::Array[::String]), name: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), updated_at: T.nilable(::DateTime)).void }
|
29
|
+
def initialize(created_at: nil, id: nil, items: nil, name: nil, type: nil, updated_at: nil)
|
32
30
|
@created_at = created_at
|
31
|
+
@id = id
|
33
32
|
@items = items
|
33
|
+
@name = name
|
34
34
|
@type = type
|
35
35
|
@updated_at = updated_at
|
36
36
|
end
|
@@ -11,8 +11,6 @@ module StackOne
|
|
11
11
|
class Note < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
|
15
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
14
|
# Unique identifier of the author
|
17
15
|
field :author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author_id') } }
|
18
16
|
|
@@ -21,19 +19,21 @@ module StackOne
|
|
21
19
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
20
|
# Date of Deletion
|
23
21
|
field :deleted_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('deleted_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
|
+
|
23
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
24
|
# Date of last update
|
25
25
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
26
|
# Visibility of the note
|
27
27
|
field :visibility, T.nilable(::StackOne::Shared::NoteVisibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
|
28
28
|
|
29
29
|
|
30
|
-
sig { params(
|
31
|
-
def initialize(
|
32
|
-
@id = id
|
30
|
+
sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), created_at: T.nilable(::DateTime), deleted_at: T.nilable(::DateTime), id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
|
31
|
+
def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, updated_at: nil, visibility: nil)
|
33
32
|
@author_id = author_id
|
34
33
|
@content = content
|
35
34
|
@created_at = created_at
|
36
35
|
@deleted_at = deleted_at
|
36
|
+
@id = id
|
37
37
|
@updated_at = updated_at
|
38
38
|
@visibility = visibility
|
39
39
|
end
|
@@ -12,10 +12,10 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# Body of the note
|
15
|
-
field :body, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
|
15
|
+
field :body, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
|
16
16
|
|
17
17
|
|
18
|
-
sig { params(body: ::String).void }
|
18
|
+
sig { params(body: T.nilable(::String)).void }
|
19
19
|
def initialize(body: nil)
|
20
20
|
@body = body
|
21
21
|
end
|
@@ -12,9 +12,9 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The body of the request
|
15
|
-
field :body, T.nilable(::
|
15
|
+
field :body, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
|
16
16
|
# The headers to send in the request
|
17
|
-
field :headers, T.nilable(::
|
17
|
+
field :headers, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('headers') } }
|
18
18
|
# The method of the request
|
19
19
|
field :method, T.nilable(::StackOne::Shared::Method), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('method'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Method, true) } }
|
20
20
|
# The path of the request including any query paramters
|
@@ -23,7 +23,7 @@ module StackOne
|
|
23
23
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
24
24
|
|
25
25
|
|
26
|
-
sig { params(body: T.nilable(::
|
26
|
+
sig { params(body: T.nilable(T::Hash[Symbol, ::Object]), headers: T.nilable(T::Hash[Symbol, ::Object]), method: T.nilable(::StackOne::Shared::Method), path: T.nilable(::String), url: T.nilable(::String)).void }
|
27
27
|
def initialize(body: nil, headers: nil, method: nil, path: nil, url: nil)
|
28
28
|
@body = body
|
29
29
|
@headers = headers
|
@@ -11,16 +11,16 @@ module StackOne
|
|
11
11
|
class ResultLink < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The URL of the result link.
|
15
|
-
field :url, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
16
14
|
# The label of the result link.
|
17
15
|
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
16
|
+
# The URL of the result link.
|
17
|
+
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(
|
21
|
-
def initialize(
|
22
|
-
@url = url
|
20
|
+
sig { params(label: T.nilable(::String), url: T.nilable(::String)).void }
|
21
|
+
def initialize(label: nil, url: nil)
|
23
22
|
@label = label
|
23
|
+
@url = url
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -12,12 +12,12 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :email, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
16
|
-
|
17
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
15
|
+
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
18
16
|
|
19
17
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
20
18
|
|
19
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
20
|
+
|
21
21
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
22
22
|
|
23
23
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
@@ -25,11 +25,11 @@ module StackOne
|
|
25
25
|
field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
26
26
|
|
27
27
|
|
28
|
-
sig { params(email: ::String,
|
29
|
-
def initialize(email: nil,
|
28
|
+
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String)).void }
|
29
|
+
def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil, phone: nil)
|
30
30
|
@email = email
|
31
|
-
@id = id
|
32
31
|
@first_name = first_name
|
32
|
+
@id = id
|
33
33
|
@last_name = last_name
|
34
34
|
@name = name
|
35
35
|
@phone = phone
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
|
15
15
|
field :data, ::StackOne::Shared::User, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
16
|
|
17
|
-
field :raw, T::Array[::StackOne::Shared::RawResponse], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
17
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(data: ::StackOne::Shared::User, raw: T::Array[::StackOne::Shared::RawResponse]).void }
|
20
|
+
sig { params(data: ::StackOne::Shared::User, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
21
21
|
def initialize(data: nil, raw: nil)
|
22
22
|
@data = data
|
23
23
|
@raw = raw
|
@@ -14,19 +14,19 @@ module StackOne
|
|
14
14
|
|
15
15
|
field :data, T::Array[::StackOne::Shared::User], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
16
|
|
17
|
-
field :raw, T::Array[::StackOne::Shared::RawResponse], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
|
-
|
19
17
|
field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
20
18
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
21
19
|
field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
|
22
20
|
|
21
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
22
|
+
|
23
23
|
|
24
|
-
sig { params(data: T::Array[::StackOne::Shared::User],
|
25
|
-
def initialize(data: nil,
|
24
|
+
sig { params(data: T::Array[::StackOne::Shared::User], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
25
|
+
def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
|
26
26
|
@data = data
|
27
|
-
@raw = raw
|
28
27
|
@next_ = next_
|
29
28
|
@next_page = next_page
|
29
|
+
@raw = raw
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -66,9 +66,9 @@ module StackOne
|
|
66
66
|
autoload :DocumentApiModelValue, 'stack_one/models/shared/documentapimodel_value.rb'
|
67
67
|
autoload :DocumentApiModelType, 'stack_one/models/shared/documentapimodel_type.rb'
|
68
68
|
autoload :DocumentApiModel, 'stack_one/models/shared/documentapimodel.rb'
|
69
|
+
autoload :ContentValue, 'stack_one/models/shared/content_value.rb'
|
70
|
+
autoload :FileFormat, 'stack_one/models/shared/file_format.rb'
|
69
71
|
autoload :Content, 'stack_one/models/shared/content.rb'
|
70
|
-
autoload :FileFormatEnumValue, 'stack_one/models/shared/fileformatenum_value.rb'
|
71
|
-
autoload :FileFormatEnum, 'stack_one/models/shared/fileformatenum.rb'
|
72
72
|
autoload :DocumentResult, 'stack_one/models/shared/documentresult.rb'
|
73
73
|
autoload :OffersResult, 'stack_one/models/shared/offersresult.rb'
|
74
74
|
autoload :OfferValue, 'stack_one/models/shared/offer_value.rb'
|
@@ -93,7 +93,6 @@ module StackOne
|
|
93
93
|
autoload :Confidential, 'stack_one/models/shared/confidential.rb'
|
94
94
|
autoload :JobValue, 'stack_one/models/shared/job_value.rb'
|
95
95
|
autoload :JobStatus, 'stack_one/models/shared/job_status.rb'
|
96
|
-
autoload :JobSchemasStatus, 'stack_one/models/shared/job_schemas_status.rb'
|
97
96
|
autoload :Job, 'stack_one/models/shared/job.rb'
|
98
97
|
autoload :JobHiringTeam, 'stack_one/models/shared/jobhiringteam.rb'
|
99
98
|
autoload :JobPostingResult, 'stack_one/models/shared/jobpostingresult.rb'
|
@@ -311,8 +310,6 @@ module StackOne
|
|
311
310
|
autoload :Template, 'stack_one/models/shared/template.rb'
|
312
311
|
autoload :CampaignsPaginated, 'stack_one/models/shared/campaignspaginated.rb'
|
313
312
|
autoload :TemplatesPaginated, 'stack_one/models/shared/templatespaginated.rb'
|
314
|
-
autoload :Body, 'stack_one/models/shared/body.rb'
|
315
|
-
autoload :Headers, 'stack_one/models/shared/headers.rb'
|
316
313
|
autoload :Method, 'stack_one/models/shared/method.rb'
|
317
314
|
autoload :ProxyRequestBody, 'stack_one/models/shared/proxyrequestbody.rb'
|
318
315
|
autoload :Security, 'stack_one/models/shared/security.rb'
|
@@ -38,9 +38,9 @@ module StackOne
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '1.0.0'
|
41
|
-
@sdk_version = '0.2.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.
|
41
|
+
@sdk_version = '0.2.6'
|
42
|
+
@gen_version = '2.281.2'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.6 2.281.2 1.0.0 stackone_client'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|