stackone_client 0.2.25 → 0.2.27
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 +71 -0
- data/lib/stack_one/models/operations/ats_get_list_request.rb +36 -0
- data/lib/stack_one/models/operations/ats_get_list_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_lists_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/ats_list_lists_request.rb +52 -0
- data/lib/stack_one/models/operations/ats_list_lists_response.rb +33 -0
- data/lib/stack_one/models/operations.rb +5 -0
- data/lib/stack_one/models/shared/account.rb +5 -2
- data/lib/stack_one/models/shared/application.rb +20 -2
- data/lib/stack_one/models/shared/candidate.rb +5 -2
- data/lib/stack_one/models/shared/contact.rb +8 -2
- data/lib/stack_one/models/shared/contactscustomfields.rb +5 -2
- data/lib/stack_one/models/shared/contactscustomfields_value.rb +4 -0
- data/lib/stack_one/models/shared/employee.rb +5 -2
- data/lib/stack_one/models/shared/employeecustomfields.rb +5 -2
- data/lib/stack_one/models/shared/employment.rb +5 -2
- data/lib/stack_one/models/shared/groups.rb +5 -2
- data/lib/stack_one/models/shared/home_location.rb +5 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +1 -0
- data/lib/stack_one/models/shared/hrisgroup.rb +5 -2
- data/lib/stack_one/models/shared/hrislocation.rb +5 -2
- data/lib/stack_one/models/shared/interview.rb +11 -2
- data/lib/stack_one/models/shared/interviewpart.rb +5 -2
- data/lib/stack_one/models/shared/job.rb +8 -2
- data/lib/stack_one/models/shared/jobhiringteam.rb +5 -2
- data/lib/stack_one/models/shared/jobposting.rb +5 -2
- data/lib/stack_one/models/shared/note.rb +5 -2
- data/lib/stack_one/models/shared/offer.rb +5 -2
- data/lib/stack_one/models/shared/scorecard.rb +14 -2
- data/lib/stack_one/models/shared/timeoff.rb +10 -4
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +1 -0
- data/lib/stack_one/models/shared/work_location.rb +5 -2
- data/lib/stack_one/models/shared.rb +5 -5
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 814ed37fc0d4294e89d4ce28d5ffd2d6acc3e0fdcdda1ff6d68971a713f93024
|
4
|
+
data.tar.gz: ca8bf7d3f5c6c2bb8a752b631b5b6ede457fa5b9ef74699e9ce63be216b2d445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 000d29722c0ca453e718893117fc13dff5a85c672fa2b5e2bc797595462ba119943e505eb2bc13295d0607142e725af671d3534d5662973ccec8bb6e0532fa61
|
7
|
+
data.tar.gz: a27d77be2f8ae38b04c0ac96162eeddc560d5a059b590e4f7cac24e7d0016adfb2eda41bbbfeb78d426e086cefc833c9da09d09c529c9164ccec71f9c83131b5
|
data/lib/stack_one/ats.rb
CHANGED
@@ -670,6 +670,44 @@ module StackOne
|
|
670
670
|
end
|
671
671
|
|
672
672
|
|
673
|
+
sig { params(request: T.nilable(::StackOne::Operations::AtsGetListRequest)).returns(::StackOne::Operations::AtsGetListResponse) }
|
674
|
+
def get_list(request)
|
675
|
+
# get_list - Get List
|
676
|
+
url, params = @sdk_configuration.get_server_details
|
677
|
+
base_url = Utils.template_url(url, params)
|
678
|
+
url = Utils.generate_url(
|
679
|
+
::StackOne::Operations::AtsGetListRequest,
|
680
|
+
base_url,
|
681
|
+
'/unified/ats/lists/{id}',
|
682
|
+
request
|
683
|
+
)
|
684
|
+
headers = Utils.get_headers(request)
|
685
|
+
query_params = Utils.get_query_params(::StackOne::Operations::AtsGetListRequest, request)
|
686
|
+
headers['Accept'] = 'application/json'
|
687
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
688
|
+
|
689
|
+
r = @sdk_configuration.client.get(url) do |req|
|
690
|
+
req.headers = headers
|
691
|
+
req.params = query_params
|
692
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
693
|
+
end
|
694
|
+
|
695
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
696
|
+
|
697
|
+
res = ::StackOne::Operations::AtsGetListResponse.new(
|
698
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
699
|
+
)
|
700
|
+
if r.status == 200
|
701
|
+
if Utils.match_content_type(content_type, 'application/json')
|
702
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ListResult)
|
703
|
+
res.list_result = out
|
704
|
+
end
|
705
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
706
|
+
end
|
707
|
+
res
|
708
|
+
end
|
709
|
+
|
710
|
+
|
673
711
|
sig { params(request: T.nilable(::StackOne::Operations::AtsGetLocationRequest)).returns(::StackOne::Operations::AtsGetLocationResponse) }
|
674
712
|
def get_location(request)
|
675
713
|
# get_location - Get Location
|
@@ -1205,6 +1243,39 @@ module StackOne
|
|
1205
1243
|
end
|
1206
1244
|
|
1207
1245
|
|
1246
|
+
sig { params(request: T.nilable(::StackOne::Operations::AtsListListsRequest)).returns(::StackOne::Operations::AtsListListsResponse) }
|
1247
|
+
def list_lists(request)
|
1248
|
+
# list_lists - Get all Lists
|
1249
|
+
url, params = @sdk_configuration.get_server_details
|
1250
|
+
base_url = Utils.template_url(url, params)
|
1251
|
+
url = "#{base_url}/unified/ats/lists"
|
1252
|
+
headers = Utils.get_headers(request)
|
1253
|
+
query_params = Utils.get_query_params(::StackOne::Operations::AtsListListsRequest, request)
|
1254
|
+
headers['Accept'] = 'application/json'
|
1255
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
1256
|
+
|
1257
|
+
r = @sdk_configuration.client.get(url) do |req|
|
1258
|
+
req.headers = headers
|
1259
|
+
req.params = query_params
|
1260
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
1264
|
+
|
1265
|
+
res = ::StackOne::Operations::AtsListListsResponse.new(
|
1266
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
1267
|
+
)
|
1268
|
+
if r.status == 200
|
1269
|
+
if Utils.match_content_type(content_type, 'application/json')
|
1270
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ListsPaginated)
|
1271
|
+
res.lists_paginated = out
|
1272
|
+
end
|
1273
|
+
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1274
|
+
end
|
1275
|
+
res
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
|
1208
1279
|
sig { params(request: T.nilable(::StackOne::Operations::AtsListLocationsRequest)).returns(::StackOne::Operations::AtsListLocationsResponse) }
|
1209
1280
|
def list_locations(request)
|
1210
1281
|
# list_locations - List locations
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsGetListRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
22
|
+
# Indicates that the raw request result is returned
|
23
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
28
|
+
@id = id
|
29
|
+
@x_account_id = x_account_id
|
30
|
+
@fields_ = fields_
|
31
|
+
@proxy = proxy
|
32
|
+
@raw = raw
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsGetListResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The list with the given identifier was retrieved.
|
21
|
+
field :list_result, T.nilable(::StackOne::Shared::ListResult)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, list_result: T.nilable(::StackOne::Shared::ListResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, list_result: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@list_result = list_result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
# Filter parameters that allow greater customisation of the list response
|
11
|
+
class AtsListListsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Use a string with a date to only select results updated after that given date
|
15
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
+
def initialize(updated_after: nil)
|
20
|
+
@updated_after = updated_after
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsListListsRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The account identifier
|
15
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
|
+
# Filter parameters that allow greater customisation of the list response
|
19
|
+
field :filter, T.nilable(::StackOne::Operations::AtsListListsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
20
|
+
# The unified cursor
|
21
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
+
# The page number of the results to fetch
|
23
|
+
#
|
24
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
+
# The number of results per page
|
27
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
30
|
+
# Indicates that the raw request result is returned
|
31
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
+
# Use a string with a date to only select results updated after that given date
|
33
|
+
#
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
|
+
|
37
|
+
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListListsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
40
|
+
@x_account_id = x_account_id
|
41
|
+
@fields_ = fields_
|
42
|
+
@filter = filter
|
43
|
+
@next_ = next_
|
44
|
+
@page = page
|
45
|
+
@page_size = page_size
|
46
|
+
@proxy = proxy
|
47
|
+
@raw = raw
|
48
|
+
@updated_after = updated_after
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsListListsResponse < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
17
|
+
field :raw_response, ::Faraday::Response
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# The collection of lists was retrieved.
|
21
|
+
field :lists_paginated, T.nilable(::StackOne::Shared::ListsPaginated)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, lists_paginated: T.nilable(::StackOne::Shared::ListsPaginated)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, lists_paginated: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@lists_paginated = lists_paginated
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -53,6 +53,8 @@ module StackOne
|
|
53
53
|
autoload :AtsGetJobResponse, 'stack_one/models/operations/ats_get_job_response.rb'
|
54
54
|
autoload :AtsGetJobPostingRequest, 'stack_one/models/operations/ats_get_job_posting_request.rb'
|
55
55
|
autoload :AtsGetJobPostingResponse, 'stack_one/models/operations/ats_get_job_posting_response.rb'
|
56
|
+
autoload :AtsGetListRequest, 'stack_one/models/operations/ats_get_list_request.rb'
|
57
|
+
autoload :AtsGetListResponse, 'stack_one/models/operations/ats_get_list_response.rb'
|
56
58
|
autoload :AtsGetLocationRequest, 'stack_one/models/operations/ats_get_location_request.rb'
|
57
59
|
autoload :AtsGetLocationResponse, 'stack_one/models/operations/ats_get_location_response.rb'
|
58
60
|
autoload :AtsGetOfferRequest, 'stack_one/models/operations/ats_get_offer_request.rb'
|
@@ -94,6 +96,9 @@ module StackOne
|
|
94
96
|
autoload :AtsListJobsQueryParamFilter, 'stack_one/models/operations/ats_list_jobs_queryparam_filter.rb'
|
95
97
|
autoload :AtsListJobsRequest, 'stack_one/models/operations/ats_list_jobs_request.rb'
|
96
98
|
autoload :AtsListJobsResponse, 'stack_one/models/operations/ats_list_jobs_response.rb'
|
99
|
+
autoload :AtsListListsQueryParamFilter, 'stack_one/models/operations/ats_list_lists_queryparam_filter.rb'
|
100
|
+
autoload :AtsListListsRequest, 'stack_one/models/operations/ats_list_lists_request.rb'
|
101
|
+
autoload :AtsListListsResponse, 'stack_one/models/operations/ats_list_lists_response.rb'
|
97
102
|
autoload :AtsListLocationsQueryParamFilter, 'stack_one/models/operations/ats_list_locations_queryparam_filter.rb'
|
98
103
|
autoload :AtsListLocationsRequest, 'stack_one/models/operations/ats_list_locations_request.rb'
|
99
104
|
autoload :AtsListLocationsResponse, 'stack_one/models/operations/ats_list_locations_response.rb'
|
@@ -31,14 +31,16 @@ module StackOne
|
|
31
31
|
field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
32
32
|
# Provider's unique identifier
|
33
33
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
34
|
+
# Provider's unique identifier of the owner
|
35
|
+
field :remote_owner_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_owner_id') } }
|
34
36
|
# Timestamp when the account was last updated
|
35
37
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
36
38
|
|
37
39
|
field :website, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('website') } }
|
38
40
|
|
39
41
|
|
40
|
-
sig { params(addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: 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]), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void }
|
41
|
-
def initialize(addresses: nil, annual_revenue: nil, created_at: nil, description: nil, id: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, remote_id: nil, updated_at: nil, website: nil)
|
42
|
+
sig { params(addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: 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]), remote_id: T.nilable(::String), remote_owner_id: T.nilable(::String), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void }
|
43
|
+
def initialize(addresses: nil, annual_revenue: nil, created_at: nil, description: nil, id: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, remote_id: nil, remote_owner_id: nil, updated_at: nil, website: nil)
|
42
44
|
@addresses = addresses
|
43
45
|
@annual_revenue = annual_revenue
|
44
46
|
@created_at = created_at
|
@@ -49,6 +51,7 @@ module StackOne
|
|
49
51
|
@owner_id = owner_id
|
50
52
|
@phone_numbers = phone_numbers
|
51
53
|
@remote_id = remote_id
|
54
|
+
@remote_owner_id = remote_owner_id
|
52
55
|
@updated_at = updated_at
|
53
56
|
@website = website
|
54
57
|
end
|
@@ -45,8 +45,20 @@ module StackOne
|
|
45
45
|
field :rejected_reason_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_ids') } }
|
46
46
|
|
47
47
|
field :rejected_reasons, T.nilable(T::Array[::StackOne::Shared::RejectedReason]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reasons') } }
|
48
|
+
# Provider's unique identifier of the candidate
|
49
|
+
field :remote_candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_candidate_id') } }
|
48
50
|
# Provider's unique identifier
|
49
51
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
52
|
+
# Provider's unique identifier of the interview stage
|
53
|
+
field :remote_interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interview_stage_id') } }
|
54
|
+
# Provider's unique identifier of the job
|
55
|
+
field :remote_job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_job_id') } }
|
56
|
+
# Provider's unique identifier of the location
|
57
|
+
field :remote_location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_location_id') } }
|
58
|
+
# Remote's unique identifiers of the locations
|
59
|
+
field :remote_location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_location_ids') } }
|
60
|
+
# Provider's unique identifiers of the rejection reasons
|
61
|
+
field :remote_rejected_reason_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_rejected_reason_ids') } }
|
50
62
|
|
51
63
|
field :result_links, T.nilable(T::Array[::StackOne::Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } }
|
52
64
|
|
@@ -55,8 +67,8 @@ module StackOne
|
|
55
67
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
56
68
|
|
57
69
|
|
58
|
-
sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_id: T.nilable(::String), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::StackOne::Shared::Source), updated_at: T.nilable(::DateTime)).void }
|
59
|
-
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_id: nil, result_links: nil, source: nil, updated_at: nil)
|
70
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_candidate_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_stage_id: T.nilable(::String), remote_job_id: T.nilable(::String), remote_location_id: T.nilable(::String), remote_location_ids: T.nilable(T::Array[::String]), remote_rejected_reason_ids: T.nilable(T::Array[::String]), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::StackOne::Shared::Source), updated_at: T.nilable(::DateTime)).void }
|
71
|
+
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_candidate_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_job_id: nil, remote_location_id: nil, remote_location_ids: nil, remote_rejected_reason_ids: nil, result_links: nil, source: nil, updated_at: nil)
|
60
72
|
@application_status = application_status
|
61
73
|
@attachments = attachments
|
62
74
|
@candidate = candidate
|
@@ -73,7 +85,13 @@ module StackOne
|
|
73
85
|
@rejected_at = rejected_at
|
74
86
|
@rejected_reason_ids = rejected_reason_ids
|
75
87
|
@rejected_reasons = rejected_reasons
|
88
|
+
@remote_candidate_id = remote_candidate_id
|
76
89
|
@remote_id = remote_id
|
90
|
+
@remote_interview_stage_id = remote_interview_stage_id
|
91
|
+
@remote_job_id = remote_job_id
|
92
|
+
@remote_location_id = remote_location_id
|
93
|
+
@remote_location_ids = remote_location_ids
|
94
|
+
@remote_rejected_reason_ids = remote_rejected_reason_ids
|
77
95
|
@result_links = result_links
|
78
96
|
@source = source
|
79
97
|
@updated_at = updated_at
|
@@ -39,6 +39,8 @@ module StackOne
|
|
39
39
|
field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
40
40
|
# List of candidate phone numbers including the type of the number when available
|
41
41
|
field :phone_numbers, T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
42
|
+
# Provider's list of candidate application IDs
|
43
|
+
field :remote_application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_application_ids') } }
|
42
44
|
# Provider's unique identifier
|
43
45
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
44
46
|
# List of candidate social links
|
@@ -49,8 +51,8 @@ module StackOne
|
|
49
51
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
50
52
|
|
51
53
|
|
52
|
-
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), created_at: T.nilable(::DateTime), 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_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
53
|
-
def initialize(application_ids: nil, company: nil, country: nil, created_at: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_id: nil, social_links: nil, title: nil, updated_at: nil)
|
54
|
+
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), created_at: T.nilable(::DateTime), 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), updated_at: T.nilable(::DateTime)).void }
|
55
|
+
def initialize(application_ids: nil, company: nil, country: nil, created_at: 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, updated_at: nil)
|
54
56
|
@application_ids = application_ids
|
55
57
|
@company = company
|
56
58
|
@country = country
|
@@ -64,6 +66,7 @@ module StackOne
|
|
64
66
|
@name = name
|
65
67
|
@phone = phone
|
66
68
|
@phone_numbers = phone_numbers
|
69
|
+
@remote_application_ids = remote_application_ids
|
67
70
|
@remote_id = remote_id
|
68
71
|
@social_links = social_links
|
69
72
|
@title = title
|
@@ -31,14 +31,18 @@ module StackOne
|
|
31
31
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
32
32
|
# List of contact phone numbers
|
33
33
|
field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
34
|
+
# Provider's list of associated account IDs
|
35
|
+
field :remote_account_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_account_ids') } }
|
36
|
+
# Provider's list of associated deal IDs
|
37
|
+
field :remote_deal_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_deal_ids') } }
|
34
38
|
# Provider's unique identifier
|
35
39
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
36
40
|
# Timestamp when the contact was last updated
|
37
41
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
42
|
|
39
43
|
|
40
|
-
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_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
41
|
-
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_id: nil, updated_at: nil)
|
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)
|
42
46
|
@account_ids = account_ids
|
43
47
|
@company_name = company_name
|
44
48
|
@created_at = created_at
|
@@ -49,6 +53,8 @@ module StackOne
|
|
49
53
|
@id = id
|
50
54
|
@last_name = last_name
|
51
55
|
@phone_numbers = phone_numbers
|
56
|
+
@remote_account_ids = remote_account_ids
|
57
|
+
@remote_deal_ids = remote_deal_ids
|
52
58
|
@remote_id = remote_id
|
53
59
|
@updated_at = updated_at
|
54
60
|
end
|
@@ -21,6 +21,8 @@ module StackOne
|
|
21
21
|
field :options, T.nilable(T::Array[::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
|
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
|
+
# Provider's unique identifier of the value of the custom field
|
25
|
+
field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
|
24
26
|
# The type of the custom field.
|
25
27
|
field :type, T.nilable(::StackOne::Shared::ContactsCustomFieldsType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
28
|
# The value associated with the custom field.
|
@@ -29,13 +31,14 @@ module StackOne
|
|
29
31
|
field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
|
30
32
|
|
31
33
|
|
32
|
-
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::Object]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::ContactsCustomFieldsType), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
|
33
|
-
def initialize(description: nil, id: nil, name: nil, options: nil, remote_id: nil, type: nil, value: nil, value_id: nil)
|
34
|
+
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::Object]), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::ContactsCustomFieldsType), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
|
35
|
+
def initialize(description: nil, id: nil, name: nil, options: nil, remote_id: nil, remote_value_id: nil, type: nil, value: nil, value_id: nil)
|
34
36
|
@description = description
|
35
37
|
@id = id
|
36
38
|
@name = name
|
37
39
|
@options = options
|
38
40
|
@remote_id = remote_id
|
41
|
+
@remote_value_id = remote_value_id
|
39
42
|
@type = type
|
40
43
|
@value = value
|
41
44
|
@value_id = value_id
|
@@ -81,6 +81,8 @@ module StackOne
|
|
81
81
|
field :preferred_language, T.nilable(::StackOne::Shared::PreferredLanguage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('preferred_language') } }
|
82
82
|
# Provider's unique identifier
|
83
83
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
84
|
+
# Provider's unique identifier of the manager
|
85
|
+
field :remote_manager_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_manager_id') } }
|
84
86
|
# The employee start date
|
85
87
|
field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
86
88
|
# The employee tenure
|
@@ -99,8 +101,8 @@ module StackOne
|
|
99
101
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
100
102
|
|
101
103
|
|
102
|
-
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(::StackOne::Shared::Groups), 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), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_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 }
|
103
|
-
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, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_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)
|
104
|
+
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(::StackOne::Shared::Groups), 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), 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 }
|
105
|
+
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, 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)
|
104
106
|
@avatar = avatar
|
105
107
|
@avatar_url = avatar_url
|
106
108
|
@benefits = benefits
|
@@ -136,6 +138,7 @@ module StackOne
|
|
136
138
|
@personal_phone_number = personal_phone_number
|
137
139
|
@preferred_language = preferred_language
|
138
140
|
@remote_id = remote_id
|
141
|
+
@remote_manager_id = remote_manager_id
|
139
142
|
@start_date = start_date
|
140
143
|
@tenure = tenure
|
141
144
|
@termination_date = termination_date
|
@@ -21,6 +21,8 @@ module StackOne
|
|
21
21
|
field :options, T.nilable(T::Array[::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
|
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
|
+
# Provider's unique identifier for the value of the custom field.
|
25
|
+
field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
|
24
26
|
# The type of the custom field.
|
25
27
|
field :type, T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
28
|
# The value associated with the custom field.
|
@@ -29,13 +31,14 @@ module StackOne
|
|
29
31
|
field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
|
30
32
|
|
31
33
|
|
32
|
-
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::Object]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
|
33
|
-
def initialize(description: nil, id: nil, name: nil, options: nil, remote_id: nil, type: nil, value: nil, value_id: nil)
|
34
|
+
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::Object]), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
|
35
|
+
def initialize(description: nil, id: nil, name: nil, options: nil, remote_id: nil, remote_value_id: nil, type: nil, value: nil, value_id: nil)
|
34
36
|
@description = description
|
35
37
|
@id = id
|
36
38
|
@name = name
|
37
39
|
@options = options
|
38
40
|
@remote_id = remote_id
|
41
|
+
@remote_value_id = remote_value_id
|
39
42
|
@type = type
|
40
43
|
@value = value
|
41
44
|
@value_id = value_id
|
@@ -33,14 +33,16 @@ module StackOne
|
|
33
33
|
field :pay_period, T.nilable(::StackOne::Shared::PayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
|
34
34
|
# The pay rate for the employee
|
35
35
|
field :pay_rate, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
|
36
|
+
# Provider's unique identifier of the employee associated with this employment
|
37
|
+
field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } }
|
36
38
|
# Provider's unique identifier
|
37
39
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
38
40
|
# The updated_at date
|
39
41
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
40
42
|
|
41
43
|
|
42
|
-
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_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
43
|
-
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_id: nil, updated_at: nil)
|
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)
|
44
46
|
@created_at = created_at
|
45
47
|
@effective_date = effective_date
|
46
48
|
@employee_id = employee_id
|
@@ -52,6 +54,7 @@ module StackOne
|
|
52
54
|
@pay_frequency = pay_frequency
|
53
55
|
@pay_period = pay_period
|
54
56
|
@pay_rate = pay_rate
|
57
|
+
@remote_employee_id = remote_employee_id
|
55
58
|
@remote_id = remote_id
|
56
59
|
@updated_at = updated_at
|
57
60
|
end
|
@@ -21,17 +21,20 @@ module StackOne
|
|
21
21
|
field :parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('parent_ids') } }
|
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
|
+
# Provider's list of parent group ids of the given group
|
25
|
+
field :remote_parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_parent_ids') } }
|
24
26
|
# The type of the group
|
25
27
|
field :type, T.nilable(::StackOne::Shared::EmployeeType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
28
|
|
27
29
|
|
28
|
-
sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeType)).void }
|
29
|
-
def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, type: nil)
|
30
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_parent_ids: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::EmployeeType)).void }
|
31
|
+
def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, remote_parent_ids: nil, type: nil)
|
30
32
|
@id = id
|
31
33
|
@name = name
|
32
34
|
@owner_ids = owner_ids
|
33
35
|
@parent_ids = parent_ids
|
34
36
|
@remote_id = remote_id
|
37
|
+
@remote_parent_ids = remote_parent_ids
|
35
38
|
@type = type
|
36
39
|
end
|
37
40
|
end
|
@@ -27,6 +27,8 @@ module StackOne
|
|
27
27
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
28
|
# The phone number of the location
|
29
29
|
field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
|
30
|
+
# Provider's unique identifier of the employee
|
31
|
+
field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } }
|
30
32
|
# Provider's unique identifier
|
31
33
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
32
34
|
# The state where the location is situated
|
@@ -41,8 +43,8 @@ module StackOne
|
|
41
43
|
field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
42
44
|
|
43
45
|
|
44
|
-
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_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 }
|
45
|
-
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
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)
|
46
48
|
@city = city
|
47
49
|
@country = country
|
48
50
|
@created_at = created_at
|
@@ -51,6 +53,7 @@ module StackOne
|
|
51
53
|
@location_type = location_type
|
52
54
|
@name = name
|
53
55
|
@phone_number = phone_number
|
56
|
+
@remote_employee_id = remote_employee_id
|
54
57
|
@remote_id = remote_id
|
55
58
|
@state = state
|
56
59
|
@street_1 = street_1
|
@@ -21,17 +21,20 @@ module StackOne
|
|
21
21
|
field :parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('parent_ids') } }
|
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
|
+
# Provider's list of parent group ids of the given group
|
25
|
+
field :remote_parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_parent_ids') } }
|
24
26
|
# The type of the group
|
25
27
|
field :type, T.nilable(::StackOne::Shared::HRISGroupType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
28
|
|
27
29
|
|
28
|
-
sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::HRISGroupType)).void }
|
29
|
-
def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, type: nil)
|
30
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_parent_ids: T.nilable(T::Array[::String]), type: T.nilable(::StackOne::Shared::HRISGroupType)).void }
|
31
|
+
def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, remote_parent_ids: nil, type: nil)
|
30
32
|
@id = id
|
31
33
|
@name = name
|
32
34
|
@owner_ids = owner_ids
|
33
35
|
@parent_ids = parent_ids
|
34
36
|
@remote_id = remote_id
|
37
|
+
@remote_parent_ids = remote_parent_ids
|
35
38
|
@type = type
|
36
39
|
end
|
37
40
|
end
|
@@ -27,6 +27,8 @@ module StackOne
|
|
27
27
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
28
|
# The phone number of the location
|
29
29
|
field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
|
30
|
+
# Provider's unique identifier of the employee
|
31
|
+
field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } }
|
30
32
|
# Provider's unique identifier
|
31
33
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
32
34
|
# The state where the location is situated
|
@@ -41,8 +43,8 @@ module StackOne
|
|
41
43
|
field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
42
44
|
|
43
45
|
|
44
|
-
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HRISLocationCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::HRISLocationLocationType), name: T.nilable(::String), phone_number: 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 }
|
45
|
-
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
46
|
+
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::HRISLocationCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::HRISLocationLocationType), 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)
|
46
48
|
@city = city
|
47
49
|
@country = country
|
48
50
|
@created_at = created_at
|
@@ -51,6 +53,7 @@ module StackOne
|
|
51
53
|
@location_type = location_type
|
52
54
|
@name = name
|
53
55
|
@phone_number = phone_number
|
56
|
+
@remote_employee_id = remote_employee_id
|
54
57
|
@remote_id = remote_id
|
55
58
|
@state = state
|
56
59
|
@street_1 = street_1
|
@@ -33,16 +33,22 @@ module StackOne
|
|
33
33
|
field :interviewers, T.nilable(T::Array[::StackOne::Shared::Interviewer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewers') } }
|
34
34
|
|
35
35
|
field :meeting_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
36
|
+
# Provider's unique identifier of the application
|
37
|
+
field :remote_application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_application_id') } }
|
36
38
|
# Provider's unique identifier
|
37
39
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
40
|
+
# Provider's unique identifier of the interview stage
|
41
|
+
field :remote_interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interview_stage_id') } }
|
42
|
+
# Provider's unique identifiers of the interviewers
|
43
|
+
field :remote_interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interviewer_ids') } }
|
38
44
|
# Interview start date
|
39
45
|
field :start_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
40
46
|
# Interview updated date
|
41
47
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
48
|
|
43
49
|
|
44
|
-
sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interview_parts: T.nilable(T::Array[::StackOne::Shared::InterviewPart]), interview_stage: T.nilable(::StackOne::Shared::InterviewInterviewStage), interview_stage_id: T.nilable(::String), interview_status: T.nilable(::StackOne::Shared::InterviewStatus), interviewer_ids: T.nilable(T::Array[::String]), interviewers: T.nilable(T::Array[::StackOne::Shared::Interviewer]), meeting_url: T.nilable(::String), remote_id: T.nilable(::String), start_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
45
|
-
def initialize(application_id: nil, created_at: nil, end_at: nil, id: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, remote_id: nil, start_at: nil, updated_at: nil)
|
50
|
+
sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interview_parts: T.nilable(T::Array[::StackOne::Shared::InterviewPart]), interview_stage: T.nilable(::StackOne::Shared::InterviewInterviewStage), interview_stage_id: T.nilable(::String), interview_status: T.nilable(::StackOne::Shared::InterviewStatus), interviewer_ids: T.nilable(T::Array[::String]), interviewers: T.nilable(T::Array[::StackOne::Shared::Interviewer]), meeting_url: T.nilable(::String), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_stage_id: T.nilable(::String), remote_interviewer_ids: T.nilable(T::Array[::String]), start_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
51
|
+
def initialize(application_id: nil, created_at: nil, end_at: nil, id: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, remote_application_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_interviewer_ids: nil, start_at: nil, updated_at: nil)
|
46
52
|
@application_id = application_id
|
47
53
|
@created_at = created_at
|
48
54
|
@end_at = end_at
|
@@ -54,7 +60,10 @@ module StackOne
|
|
54
60
|
@interviewer_ids = interviewer_ids
|
55
61
|
@interviewers = interviewers
|
56
62
|
@meeting_url = meeting_url
|
63
|
+
@remote_application_id = remote_application_id
|
57
64
|
@remote_id = remote_id
|
65
|
+
@remote_interview_stage_id = remote_interview_stage_id
|
66
|
+
@remote_interviewer_ids = remote_interviewer_ids
|
58
67
|
@start_at = start_at
|
59
68
|
@updated_at = updated_at
|
60
69
|
end
|
@@ -25,6 +25,8 @@ module StackOne
|
|
25
25
|
field :meeting_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
|
26
26
|
# Provider's unique identifier
|
27
27
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
28
|
+
# Provider's user (interviewer) IDs taking part in this specific interview.
|
29
|
+
field :remote_interviewer_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interviewer_ids') } }
|
28
30
|
# The specific interview part's start date
|
29
31
|
field :start_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
32
|
# The title of interview, usually corresponding to the title of an associated calendar event
|
@@ -35,8 +37,8 @@ module StackOne
|
|
35
37
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
36
38
|
|
37
39
|
|
38
|
-
sig { params(created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interviewer_ids: T.nilable(T::Array[::String]), meeting_provider: T.nilable(::String), meeting_url: T.nilable(::String), remote_id: T.nilable(::String), start_at: T.nilable(::DateTime), title: T.nilable(::String), type: T.nilable(::StackOne::Shared::InterviewPartType), updated_at: T.nilable(::DateTime)).void }
|
39
|
-
def initialize(created_at: nil, end_at: nil, id: nil, interviewer_ids: nil, meeting_provider: nil, meeting_url: nil, remote_id: nil, start_at: nil, title: nil, type: nil, updated_at: nil)
|
40
|
+
sig { params(created_at: T.nilable(::DateTime), end_at: T.nilable(::DateTime), id: T.nilable(::String), interviewer_ids: T.nilable(T::Array[::String]), meeting_provider: T.nilable(::String), meeting_url: T.nilable(::String), remote_id: T.nilable(::String), remote_interviewer_ids: T.nilable(T::Array[::String]), start_at: T.nilable(::DateTime), title: T.nilable(::String), type: T.nilable(::StackOne::Shared::InterviewPartType), updated_at: T.nilable(::DateTime)).void }
|
41
|
+
def initialize(created_at: nil, end_at: nil, id: nil, interviewer_ids: nil, meeting_provider: nil, meeting_url: nil, remote_id: nil, remote_interviewer_ids: nil, start_at: nil, title: nil, type: nil, updated_at: nil)
|
40
42
|
@created_at = created_at
|
41
43
|
@end_at = end_at
|
42
44
|
@id = id
|
@@ -44,6 +46,7 @@ module StackOne
|
|
44
46
|
@meeting_provider = meeting_provider
|
45
47
|
@meeting_url = meeting_url
|
46
48
|
@remote_id = remote_id
|
49
|
+
@remote_interviewer_ids = remote_interviewer_ids
|
47
50
|
@start_at = start_at
|
48
51
|
@title = title
|
49
52
|
@type = type
|
@@ -29,8 +29,12 @@ module StackOne
|
|
29
29
|
field :job_status, T.nilable(::StackOne::Shared::JobStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_status') } }
|
30
30
|
# Location ids of the job
|
31
31
|
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
32
|
+
# Provider's department ids of the job
|
33
|
+
field :remote_department_ids, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_department_ids') } }
|
32
34
|
# Provider's unique identifier
|
33
35
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
36
|
+
# Provider's location ids of the job
|
37
|
+
field :remote_location_ids, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_location_ids') } }
|
34
38
|
# Status of the job
|
35
39
|
#
|
36
40
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
@@ -41,8 +45,8 @@ module StackOne
|
|
41
45
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
46
|
|
43
47
|
|
44
|
-
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::JobConfidential), 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]), remote_id: T.nilable(::String), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
45
|
-
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, remote_id: nil, status: nil, title: nil, updated_at: nil)
|
48
|
+
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::JobConfidential), 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]), remote_department_ids: T.nilable(::String), remote_id: T.nilable(::String), remote_location_ids: T.nilable(::String), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
49
|
+
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, remote_department_ids: nil, remote_id: nil, remote_location_ids: nil, status: nil, title: nil, updated_at: nil)
|
46
50
|
@code = code
|
47
51
|
@confidential = confidential
|
48
52
|
@created_at = created_at
|
@@ -52,7 +56,9 @@ module StackOne
|
|
52
56
|
@interview_stages = interview_stages
|
53
57
|
@job_status = job_status
|
54
58
|
@location_ids = location_ids
|
59
|
+
@remote_department_ids = remote_department_ids
|
55
60
|
@remote_id = remote_id
|
61
|
+
@remote_location_ids = remote_location_ids
|
56
62
|
@status = status
|
57
63
|
@title = title
|
58
64
|
@updated_at = updated_at
|
@@ -17,17 +17,20 @@ module StackOne
|
|
17
17
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
18
18
|
# Last name of the hiring team member.
|
19
19
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
20
|
+
# Provider's unique identifier of the user
|
21
|
+
field :remote_user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_user_id') } }
|
20
22
|
# Role of the hiring team member.
|
21
23
|
field :role, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('role') } }
|
22
24
|
# User ID of the hiring team member.
|
23
25
|
field :user_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user_id') } }
|
24
26
|
|
25
27
|
|
26
|
-
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), last_name: T.nilable(::String), role: T.nilable(::String), user_id: T.nilable(::String)).void }
|
27
|
-
def initialize(email: nil, first_name: nil, last_name: nil, role: nil, user_id: nil)
|
28
|
+
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), last_name: T.nilable(::String), remote_user_id: T.nilable(::String), role: T.nilable(::String), user_id: T.nilable(::String)).void }
|
29
|
+
def initialize(email: nil, first_name: nil, last_name: nil, remote_user_id: nil, role: nil, user_id: nil)
|
28
30
|
@email = email
|
29
31
|
@first_name = first_name
|
30
32
|
@last_name = last_name
|
33
|
+
@remote_user_id = remote_user_id
|
31
34
|
@role = role
|
32
35
|
@user_id = user_id
|
33
36
|
end
|
@@ -37,6 +37,8 @@ module StackOne
|
|
37
37
|
field :questionnaires, T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
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
|
+
# Provider's unique identifier of the job posting
|
41
|
+
field :remote_job_posting_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_job_posting_id') } }
|
40
42
|
|
41
43
|
field :status, T.nilable(::StackOne::Shared::JobPostingStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
42
44
|
|
@@ -45,8 +47,8 @@ module StackOne
|
|
45
47
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
46
48
|
|
47
49
|
|
48
|
-
sig { params(compensation: T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), content: T.nilable(::StackOne::Shared::JobPostingContent), created_at: T.nilable(::DateTime), employment_contract_type: T.nilable(::StackOne::Shared::JobPostingEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::JobPostingEmploymentType), external_apply_url: T.nilable(::String), external_url: T.nilable(::String), id: T.nilable(::String), internal: T.nilable(::StackOne::Shared::Internal), job_id: T.nilable(::String), locations: T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), questionnaires: T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), remote_id: T.nilable(::String), status: T.nilable(::StackOne::Shared::JobPostingStatus), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
49
|
-
def initialize(compensation: nil, content: nil, created_at: nil, employment_contract_type: nil, employment_type: nil, external_apply_url: nil, external_url: nil, id: nil, internal: nil, job_id: nil, locations: nil, questionnaires: nil, remote_id: nil, status: nil, title: nil, updated_at: nil)
|
50
|
+
sig { params(compensation: T.nilable(T::Array[::StackOne::Shared::JobPostingCompensation]), content: T.nilable(::StackOne::Shared::JobPostingContent), created_at: T.nilable(::DateTime), employment_contract_type: T.nilable(::StackOne::Shared::JobPostingEmploymentContractType), employment_type: T.nilable(::StackOne::Shared::JobPostingEmploymentType), external_apply_url: T.nilable(::String), external_url: T.nilable(::String), id: T.nilable(::String), internal: T.nilable(::StackOne::Shared::Internal), job_id: T.nilable(::String), locations: T.nilable(T::Array[::StackOne::Shared::JobPostingLocation]), questionnaires: T.nilable(T::Array[::StackOne::Shared::JobPostingQuestionnaire]), remote_id: T.nilable(::String), remote_job_posting_id: T.nilable(::String), status: T.nilable(::StackOne::Shared::JobPostingStatus), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
51
|
+
def initialize(compensation: nil, content: nil, created_at: nil, employment_contract_type: nil, employment_type: nil, external_apply_url: nil, external_url: nil, id: nil, internal: nil, job_id: nil, locations: nil, questionnaires: nil, remote_id: nil, remote_job_posting_id: nil, status: nil, title: nil, updated_at: nil)
|
50
52
|
@compensation = compensation
|
51
53
|
@content = content
|
52
54
|
@created_at = created_at
|
@@ -60,6 +62,7 @@ module StackOne
|
|
60
62
|
@locations = locations
|
61
63
|
@questionnaires = questionnaires
|
62
64
|
@remote_id = remote_id
|
65
|
+
@remote_job_posting_id = remote_job_posting_id
|
63
66
|
@status = status
|
64
67
|
@title = title
|
65
68
|
@updated_at = updated_at
|
@@ -21,6 +21,8 @@ module StackOne
|
|
21
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
22
|
# Unique identifier
|
23
23
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
|
+
# Provider's unique identifier of the author
|
25
|
+
field :remote_author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_author_id') } }
|
24
26
|
# Provider's unique identifier
|
25
27
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
26
28
|
# Date of last update
|
@@ -29,13 +31,14 @@ module StackOne
|
|
29
31
|
field :visibility, T.nilable(::StackOne::Shared::NoteVisibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
|
30
32
|
|
31
33
|
|
32
|
-
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), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
|
33
|
-
def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_id: nil, updated_at: nil, visibility: nil)
|
34
|
+
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), remote_author_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), visibility: T.nilable(::StackOne::Shared::NoteVisibility)).void }
|
35
|
+
def initialize(author_id: nil, content: nil, created_at: nil, deleted_at: nil, id: nil, remote_author_id: nil, remote_id: nil, updated_at: nil, visibility: nil)
|
34
36
|
@author_id = author_id
|
35
37
|
@content = content
|
36
38
|
@created_at = created_at
|
37
39
|
@deleted_at = deleted_at
|
38
40
|
@id = id
|
41
|
+
@remote_author_id = remote_author_id
|
39
42
|
@remote_id = remote_id
|
40
43
|
@updated_at = updated_at
|
41
44
|
@visibility = visibility
|
@@ -23,6 +23,8 @@ module StackOne
|
|
23
23
|
field :offer_history, T.nilable(T::Array[::StackOne::Shared::OfferHistory]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_history') } }
|
24
24
|
|
25
25
|
field :offer_status, T.nilable(::StackOne::Shared::OfferOfferStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('offer_status') } }
|
26
|
+
# Provider's unique identifier of the application
|
27
|
+
field :remote_application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_application_id') } }
|
26
28
|
# Provider's unique identifier
|
27
29
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
28
30
|
|
@@ -33,14 +35,15 @@ module StackOne
|
|
33
35
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
34
36
|
|
35
37
|
|
36
|
-
sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
37
|
-
def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_id: nil, salary: nil, start_date: nil, updated_at: nil)
|
38
|
+
sig { params(application_id: T.nilable(::String), created_at: T.nilable(::DateTime), currency: T.nilable(::String), id: T.nilable(::String), offer_history: T.nilable(T::Array[::StackOne::Shared::OfferHistory]), offer_status: T.nilable(::StackOne::Shared::OfferOfferStatus), remote_application_id: T.nilable(::String), remote_id: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
39
|
+
def initialize(application_id: nil, created_at: nil, currency: nil, id: nil, offer_history: nil, offer_status: nil, remote_application_id: nil, remote_id: nil, salary: nil, start_date: nil, updated_at: nil)
|
38
40
|
@application_id = application_id
|
39
41
|
@created_at = created_at
|
40
42
|
@currency = currency
|
41
43
|
@id = id
|
42
44
|
@offer_history = offer_history
|
43
45
|
@offer_status = offer_status
|
46
|
+
@remote_application_id = remote_application_id
|
44
47
|
@remote_id = remote_id
|
45
48
|
@salary = salary
|
46
49
|
@start_date = start_date
|
@@ -27,16 +27,24 @@ module StackOne
|
|
27
27
|
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
28
28
|
# The overall recommendation
|
29
29
|
field :overall_recommendation, T.nilable(::StackOne::Shared::OverallRecommendation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('overall_recommendation'), 'decoder': Utils.enum_from_string(::StackOne::Shared::OverallRecommendation, true) } }
|
30
|
+
# Provider's unique identifier of the application
|
31
|
+
field :remote_application_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_application_id') } }
|
32
|
+
# Provider's unique identifier of the author
|
33
|
+
field :remote_author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_author_id') } }
|
34
|
+
# Provider's unique identifier of the candidate
|
35
|
+
field :remote_candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_candidate_id') } }
|
30
36
|
# Provider's unique identifier
|
31
37
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
38
|
+
# Provider's unique identifier of the interview
|
39
|
+
field :remote_interview_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_interview_id') } }
|
32
40
|
# The sections in the scorecard
|
33
41
|
field :sections, T.nilable(T::Array[::StackOne::Shared::ScorecardSection]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('sections') } }
|
34
42
|
# The update date of the scorecard
|
35
43
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
36
44
|
|
37
45
|
|
38
|
-
sig { params(application_id: T.nilable(::String), author_id: T.nilable(::String), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), id: T.nilable(::String), interview_id: T.nilable(::String), label: T.nilable(::String), overall_recommendation: T.nilable(::StackOne::Shared::OverallRecommendation), remote_id: T.nilable(::String), sections: T.nilable(T::Array[::StackOne::Shared::ScorecardSection]), updated_at: T.nilable(::DateTime)).void }
|
39
|
-
def initialize(application_id: nil, author_id: nil, candidate_id: nil, created_at: nil, id: nil, interview_id: nil, label: nil, overall_recommendation: nil, remote_id: nil, sections: nil, updated_at: nil)
|
46
|
+
sig { params(application_id: T.nilable(::String), author_id: T.nilable(::String), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), id: T.nilable(::String), interview_id: T.nilable(::String), label: T.nilable(::String), overall_recommendation: T.nilable(::StackOne::Shared::OverallRecommendation), remote_application_id: T.nilable(::String), remote_author_id: T.nilable(::String), remote_candidate_id: T.nilable(::String), remote_id: T.nilable(::String), remote_interview_id: T.nilable(::String), sections: T.nilable(T::Array[::StackOne::Shared::ScorecardSection]), updated_at: T.nilable(::DateTime)).void }
|
47
|
+
def initialize(application_id: nil, author_id: nil, candidate_id: nil, created_at: nil, id: nil, interview_id: nil, label: nil, overall_recommendation: nil, remote_application_id: nil, remote_author_id: nil, remote_candidate_id: nil, remote_id: nil, remote_interview_id: nil, sections: nil, updated_at: nil)
|
40
48
|
@application_id = application_id
|
41
49
|
@author_id = author_id
|
42
50
|
@candidate_id = candidate_id
|
@@ -45,7 +53,11 @@ module StackOne
|
|
45
53
|
@interview_id = interview_id
|
46
54
|
@label = label
|
47
55
|
@overall_recommendation = overall_recommendation
|
56
|
+
@remote_application_id = remote_application_id
|
57
|
+
@remote_author_id = remote_author_id
|
58
|
+
@remote_candidate_id = remote_candidate_id
|
48
59
|
@remote_id = remote_id
|
60
|
+
@remote_interview_id = remote_interview_id
|
49
61
|
@sections = sections
|
50
62
|
@updated_at = updated_at
|
51
63
|
end
|
@@ -15,8 +15,8 @@ module StackOne
|
|
15
15
|
field :approver_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('approver_id') } }
|
16
16
|
# The created date of the time off request
|
17
17
|
field :created_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
|
-
# The duration of the time off request
|
19
|
-
field :duration, T.nilable(::
|
18
|
+
# The duration of the time off request
|
19
|
+
field :duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
20
20
|
# The employee ID
|
21
21
|
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
22
22
|
# The end date of the time off request
|
@@ -25,6 +25,10 @@ module StackOne
|
|
25
25
|
field :end_half_day, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_half_day') } }
|
26
26
|
# Unique identifier
|
27
27
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
28
|
+
# Provider's unique identifier of the approver
|
29
|
+
field :remote_approver_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_approver_id') } }
|
30
|
+
# Provider's unique identifier of the employee
|
31
|
+
field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } }
|
28
32
|
# Provider's unique identifier
|
29
33
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
30
34
|
# The start date of the time off request
|
@@ -39,8 +43,8 @@ module StackOne
|
|
39
43
|
field :updated_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
40
44
|
|
41
45
|
|
42
|
-
sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), duration: T.nilable(::
|
43
|
-
def initialize(approver_id: nil, created_date: nil, duration: nil, employee_id: nil, end_date: nil, end_half_day: nil, id: nil, remote_id: nil, start_date: nil, start_half_day: nil, status: nil, type: nil, updated_date: nil)
|
46
|
+
sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), duration: T.nilable(::String), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), end_half_day: T.nilable(T::Boolean), id: T.nilable(::String), remote_approver_id: T.nilable(::String), remote_employee_id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), start_half_day: T.nilable(T::Boolean), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
|
47
|
+
def initialize(approver_id: nil, created_date: nil, duration: nil, employee_id: nil, end_date: nil, end_half_day: nil, id: nil, remote_approver_id: nil, remote_employee_id: nil, remote_id: nil, start_date: nil, start_half_day: nil, status: nil, type: nil, updated_date: nil)
|
44
48
|
@approver_id = approver_id
|
45
49
|
@created_date = created_date
|
46
50
|
@duration = duration
|
@@ -48,6 +52,8 @@ module StackOne
|
|
48
52
|
@end_date = end_date
|
49
53
|
@end_half_day = end_half_day
|
50
54
|
@id = id
|
55
|
+
@remote_approver_id = remote_approver_id
|
56
|
+
@remote_employee_id = remote_employee_id
|
51
57
|
@remote_id = remote_id
|
52
58
|
@start_date = start_date
|
53
59
|
@start_half_day = start_half_day
|
@@ -27,6 +27,8 @@ module StackOne
|
|
27
27
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
28
|
# The phone number of the location
|
29
29
|
field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
|
30
|
+
# Provider's unique identifier of the employee
|
31
|
+
field :remote_employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_employee_id') } }
|
30
32
|
# Provider's unique identifier
|
31
33
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
32
34
|
# The state where the location is situated
|
@@ -41,8 +43,8 @@ module StackOne
|
|
41
43
|
field :zip_code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
|
42
44
|
|
43
45
|
|
44
|
-
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeSchemasCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeSchemasLocationType), name: T.nilable(::String), phone_number: 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 }
|
45
|
-
def initialize(city: nil, country: nil, created_at: nil, employee_id: nil, id: nil, location_type: nil, name: nil, phone_number: nil, remote_id: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, zip_code: nil)
|
46
|
+
sig { params(city: T.nilable(::String), country: T.nilable(::StackOne::Shared::EmployeeSchemasCountry), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), id: T.nilable(::String), location_type: T.nilable(::StackOne::Shared::EmployeeSchemasLocationType), 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)
|
46
48
|
@city = city
|
47
49
|
@country = country
|
48
50
|
@created_at = created_at
|
@@ -51,6 +53,7 @@ module StackOne
|
|
51
53
|
@location_type = location_type
|
52
54
|
@name = name
|
53
55
|
@phone_number = phone_number
|
56
|
+
@remote_employee_id = remote_employee_id
|
54
57
|
@remote_id = remote_id
|
55
58
|
@state = state
|
56
59
|
@street_1 = street_1
|
@@ -131,6 +131,10 @@ module StackOne
|
|
131
131
|
autoload :JobPostingCompensationSchemasTypeValue, 'stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb'
|
132
132
|
autoload :JobPostingCompensationType, 'stack_one/models/shared/jobpostingcompensation_type.rb'
|
133
133
|
autoload :JobPostingCompensation, 'stack_one/models/shared/jobpostingcompensation.rb'
|
134
|
+
autoload :ListResult, 'stack_one/models/shared/listresult.rb'
|
135
|
+
autoload :ListValue, 'stack_one/models/shared/list_value.rb'
|
136
|
+
autoload :ListType, 'stack_one/models/shared/list_type.rb'
|
137
|
+
autoload :List, 'stack_one/models/shared/list.rb'
|
134
138
|
autoload :ATSLocationResult, 'stack_one/models/shared/atslocationresult.rb'
|
135
139
|
autoload :ATSLocation, 'stack_one/models/shared/atslocation.rb'
|
136
140
|
autoload :RejectedReasonResult, 'stack_one/models/shared/rejectedreasonresult.rb'
|
@@ -147,6 +151,7 @@ module StackOne
|
|
147
151
|
autoload :InterviewsPaginated, 'stack_one/models/shared/interviewspaginated.rb'
|
148
152
|
autoload :JobPostingsPaginated, 'stack_one/models/shared/jobpostingspaginated.rb'
|
149
153
|
autoload :JobsPaginated, 'stack_one/models/shared/jobspaginated.rb'
|
154
|
+
autoload :ListsPaginated, 'stack_one/models/shared/listspaginated.rb'
|
150
155
|
autoload :ATSLocationsPaginated, 'stack_one/models/shared/atslocationspaginated.rb'
|
151
156
|
autoload :RejectedReasonsPaginated, 'stack_one/models/shared/rejectedreasonspaginated.rb'
|
152
157
|
autoload :UsersPaginated, 'stack_one/models/shared/userspaginated.rb'
|
@@ -179,13 +184,8 @@ module StackOne
|
|
179
184
|
autoload :AccountAddressValue, 'stack_one/models/shared/accountaddress_value.rb'
|
180
185
|
autoload :LocationType, 'stack_one/models/shared/location_type.rb'
|
181
186
|
autoload :AccountAddress, 'stack_one/models/shared/accountaddress.rb'
|
182
|
-
autoload :ListResult, 'stack_one/models/shared/listresult.rb'
|
183
|
-
autoload :ListValue, 'stack_one/models/shared/list_value.rb'
|
184
|
-
autoload :ListType, 'stack_one/models/shared/list_type.rb'
|
185
|
-
autoload :List, 'stack_one/models/shared/list.rb'
|
186
187
|
autoload :AccountsPaginated, 'stack_one/models/shared/accountspaginated.rb'
|
187
188
|
autoload :ContactsPaginated, 'stack_one/models/shared/contactspaginated.rb'
|
188
|
-
autoload :ListsPaginated, 'stack_one/models/shared/listspaginated.rb'
|
189
189
|
autoload :HrisCreateEmployeeRequestDtoAvatar, 'stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb'
|
190
190
|
autoload :HrisCreateEmployeeRequestDtoValue, 'stack_one/models/shared/hriscreateemployeerequestdto_value.rb'
|
191
191
|
autoload :HrisCreateEmployeeRequestDtoEmploymentContractType, 'stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.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.27'
|
42
|
+
@gen_version = '2.339.1'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.27 2.339.1 1.0.0 stackone_client'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackone_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -182,6 +182,8 @@ files:
|
|
182
182
|
- lib/stack_one/models/operations/ats_get_job_posting_response.rb
|
183
183
|
- lib/stack_one/models/operations/ats_get_job_request.rb
|
184
184
|
- lib/stack_one/models/operations/ats_get_job_response.rb
|
185
|
+
- lib/stack_one/models/operations/ats_get_list_request.rb
|
186
|
+
- lib/stack_one/models/operations/ats_get_list_response.rb
|
185
187
|
- lib/stack_one/models/operations/ats_get_location_request.rb
|
186
188
|
- lib/stack_one/models/operations/ats_get_location_response.rb
|
187
189
|
- lib/stack_one/models/operations/ats_get_offer_request.rb
|
@@ -221,6 +223,9 @@ files:
|
|
221
223
|
- lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb
|
222
224
|
- lib/stack_one/models/operations/ats_list_jobs_request.rb
|
223
225
|
- lib/stack_one/models/operations/ats_list_jobs_response.rb
|
226
|
+
- lib/stack_one/models/operations/ats_list_lists_queryparam_filter.rb
|
227
|
+
- lib/stack_one/models/operations/ats_list_lists_request.rb
|
228
|
+
- lib/stack_one/models/operations/ats_list_lists_response.rb
|
224
229
|
- lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb
|
225
230
|
- lib/stack_one/models/operations/ats_list_locations_request.rb
|
226
231
|
- lib/stack_one/models/operations/ats_list_locations_response.rb
|