kombo 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kombo/assessment.rb +20 -14
- data/lib/kombo/general.rb +3 -1
- data/lib/kombo/models/operations/{getassessmentordersopen_request.rb → getassessmentorders_request.rb} +15 -3
- data/lib/kombo/models/operations/getassessmentorders_request.rbi +23 -0
- data/lib/kombo/models/operations/{getassessmentordersopen_response.rb → getassessmentorders_response.rb} +8 -8
- data/lib/kombo/models/operations/{getassessmentordersopen_response.rbi → getassessmentorders_response.rbi} +4 -4
- data/lib/kombo/models/operations/getatsapplications_request.rb +11 -7
- data/lib/kombo/models/operations/getatscandidates_request.rb +9 -6
- data/lib/kombo/models/operations/getatsinterviews_request.rb +9 -6
- data/lib/kombo/models/operations/getatsjobs_request.rb +9 -9
- data/lib/kombo/models/operations/getatsoffers_request.rb +8 -4
- data/lib/kombo/models/operations/getatsusers_request.rb +6 -3
- data/lib/kombo/models/operations/gethrisabsences_request.rb +6 -2
- data/lib/kombo/models/operations/gethrisemployees_request.rb +11 -8
- data/lib/kombo/models/operations/gethrisperformancereviews_request.rb +8 -4
- data/lib/kombo/models/operations/gethrisstaffingentities_request.rb +8 -7
- data/lib/kombo/models/operations/gethristimeoffbalances_request.rb +6 -2
- data/lib/kombo/models/operations.rb +2 -2
- data/lib/kombo/models/shared/assessmentorderreceivedwebhookpayload_application.rb +1 -1
- data/lib/kombo/models/shared/assessmentorderreceivedwebhookpayload_candidate.rb +4 -4
- data/lib/kombo/models/shared/assessmentorderreceivedwebhookpayload_job.rb +5 -5
- data/lib/kombo/models/shared/assessmentorderreceivedwebhookpayload_location.rb +18 -18
- data/lib/kombo/models/shared/assessmentorderreceivedwebhookpayload_location.rbi +8 -8
- data/lib/kombo/models/shared/deletehrisabsencesabsenceidpositiveresponse_data.rb +12 -2
- data/lib/kombo/models/shared/deletehrisabsencesabsenceidpositiveresponse_data.rbi +4 -0
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse.rb → getassessmentorderspositiveresponse.rb} +3 -3
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse.rbi → getassessmentorderspositiveresponse.rbi} +2 -2
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_application.rb → getassessmentorderspositiveresponse_application.rb} +2 -2
- data/lib/kombo/models/shared/getassessmentorderspositiveresponse_application.rbi +13 -0
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_candidate.rb → getassessmentorderspositiveresponse_candidate.rb} +5 -5
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_candidate.rbi → getassessmentorderspositiveresponse_candidate.rbi} +2 -2
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_data.rb → getassessmentorderspositiveresponse_data.rb} +3 -3
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_data.rbi → getassessmentorderspositiveresponse_data.rbi} +2 -2
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_hiring_team.rb → getassessmentorderspositiveresponse_hiring_team.rb} +3 -3
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_hiring_team.rbi → getassessmentorderspositiveresponse_hiring_team.rbi} +2 -2
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_hiring_team_role.rb → getassessmentorderspositiveresponse_hiring_team_role.rb} +1 -1
- data/lib/kombo/models/shared/getassessmentorderspositiveresponse_hiring_team_role.rbi +11 -0
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_job.rb → getassessmentorderspositiveresponse_job.rb} +8 -8
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_job.rbi → getassessmentorderspositiveresponse_job.rbi} +2 -2
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_location.rb → getassessmentorderspositiveresponse_location.rb} +19 -19
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_location.rbi → getassessmentorderspositiveresponse_location.rbi} +10 -10
- data/lib/kombo/models/shared/getassessmentorderspositiveresponse_result.rb +52 -0
- data/lib/kombo/models/shared/{getassessmentordersopenpositiveresponse_result.rbi → getassessmentorderspositiveresponse_result.rbi} +4 -2
- data/lib/kombo/models/shared/getassessmentorderspositiveresponse_status.rb +23 -0
- data/lib/kombo/models/shared/getassessmentorderspositiveresponse_status.rbi +11 -0
- data/lib/kombo/models/shared/gethrisabsencespositiveresponse_result.rb +12 -2
- data/lib/kombo/models/shared/gethrisabsencespositiveresponse_result.rbi +4 -0
- data/lib/kombo/models/shared/inlineassessmentorderreceivedwebhookpayload_application.rb +1 -1
- data/lib/kombo/models/shared/inlineassessmentorderreceivedwebhookpayload_candidate.rb +4 -4
- data/lib/kombo/models/shared/inlineassessmentorderreceivedwebhookpayload_job.rb +5 -5
- data/lib/kombo/models/shared/inlineassessmentorderreceivedwebhookpayload_location.rb +18 -18
- data/lib/kombo/models/shared/inlineassessmentorderreceivedwebhookpayload_location.rbi +8 -8
- data/lib/kombo/models/shared/integration_tool.rb +2 -0
- data/lib/kombo/models/shared/posthrisabsencespositiveresponse_data.rb +12 -2
- data/lib/kombo/models/shared/posthrisabsencespositiveresponse_data.rbi +4 -0
- data/lib/kombo/models/shared.rb +10 -9
- data/lib/kombo/sdkconfiguration.rb +2 -2
- metadata +26 -24
- data/lib/kombo/models/operations/getassessmentordersopen_request.rbi +0 -17
- data/lib/kombo/models/shared/getassessmentordersopenpositiveresponse_application.rbi +0 -13
- data/lib/kombo/models/shared/getassessmentordersopenpositiveresponse_hiring_team_role.rbi +0 -11
- data/lib/kombo/models/shared/getassessmentordersopenpositiveresponse_result.rb +0 -48
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 489b82c395af2d1a4b4ed897487007f2ce8768513efc9b429b475693b268e096
|
|
4
|
+
data.tar.gz: bc9c3a38883c220aa9b7e98ae5af7037e5062fcca6e473ac36fac2d36c317218
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ad5869fe7933d611df9b3498ee17b00a1a8ae3ef3aafa1ac10cf868a3836271710be7e08938da1bb644a249e58806b438b174c3473f55e80bde0a54f25dba46
|
|
7
|
+
data.tar.gz: 73babbc5b9cb1f9e66ef6cbf850d9422c7673f405f82ae381ac01627e00e739507934f1780a13d25dbd6a862f5b3ad5fd3f7a010bb302e6e06b9ceed16833a8d
|
data/lib/kombo/assessment.rb
CHANGED
|
@@ -310,21 +310,24 @@ module Kombo
|
|
|
310
310
|
end
|
|
311
311
|
|
|
312
312
|
|
|
313
|
-
sig { params(integration_id: T.nilable(::String), cursor: T.nilable(::String), page_size: T.nilable(::Integer), timeout_ms: T.nilable(Integer)).returns(Models::Operations::
|
|
314
|
-
def
|
|
315
|
-
#
|
|
316
|
-
# Get all
|
|
317
|
-
request = Models::Operations::
|
|
313
|
+
sig { params(integration_id: T.nilable(::String), cursor: T.nilable(::String), page_size: T.nilable(::Integer), ids: T.nilable(T::Array[::String]), statuses: T.nilable(T::Array[::String]), created_after: T.nilable(::DateTime), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetAssessmentOrdersResponse) }
|
|
314
|
+
def get_assessment_orders(integration_id: nil, cursor: nil, page_size: nil, ids: nil, statuses: nil, created_after: nil, timeout_ms: nil)
|
|
315
|
+
# get_assessment_orders - Get orders
|
|
316
|
+
# Get all assessment and background check orders of an integration.
|
|
317
|
+
request = Models::Operations::GetAssessmentOrdersRequest.new(
|
|
318
318
|
integration_id: integration_id,
|
|
319
319
|
cursor: cursor,
|
|
320
|
-
page_size: page_size
|
|
320
|
+
page_size: page_size,
|
|
321
|
+
ids: ids,
|
|
322
|
+
statuses: statuses,
|
|
323
|
+
created_after: created_after
|
|
321
324
|
)
|
|
322
325
|
url, params = @sdk_configuration.get_server_details
|
|
323
326
|
base_url = Utils.template_url(url, params)
|
|
324
|
-
url = "#{base_url}/assessment/orders
|
|
327
|
+
url = "#{base_url}/assessment/orders"
|
|
325
328
|
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
|
326
329
|
headers = T.cast(headers, T::Hash[String, String])
|
|
327
|
-
query_params = Utils.get_query_params(Models::Operations::
|
|
330
|
+
query_params = Utils.get_query_params(Models::Operations::GetAssessmentOrdersRequest, request, nil, @sdk_configuration.globals)
|
|
328
331
|
headers['Accept'] = 'application/json'
|
|
329
332
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
330
333
|
|
|
@@ -340,7 +343,7 @@ module Kombo
|
|
|
340
343
|
config: @sdk_configuration,
|
|
341
344
|
base_url: base_url,
|
|
342
345
|
oauth2_scopes: nil,
|
|
343
|
-
operation_id: '
|
|
346
|
+
operation_id: 'GetAssessmentOrders',
|
|
344
347
|
security_source: @sdk_configuration.security_source
|
|
345
348
|
)
|
|
346
349
|
|
|
@@ -398,12 +401,12 @@ module Kombo
|
|
|
398
401
|
response: http_response
|
|
399
402
|
)
|
|
400
403
|
response_data = http_response.env.response_body
|
|
401
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::
|
|
402
|
-
response = Models::Operations::
|
|
404
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::GetAssessmentOrdersPositiveResponse)
|
|
405
|
+
response = Models::Operations::GetAssessmentOrdersResponse.new(
|
|
403
406
|
status_code: http_response.status,
|
|
404
407
|
content_type: content_type,
|
|
405
408
|
raw_response: http_response,
|
|
406
|
-
|
|
409
|
+
get_assessment_orders_positive_response: T.unsafe(obj)
|
|
407
410
|
)
|
|
408
411
|
sdk = self
|
|
409
412
|
|
|
@@ -418,10 +421,13 @@ module Kombo
|
|
|
418
421
|
end
|
|
419
422
|
end
|
|
420
423
|
|
|
421
|
-
sdk.
|
|
424
|
+
sdk.get_assessment_orders(
|
|
422
425
|
integration_id: integration_id,
|
|
423
426
|
cursor: next_cursor,
|
|
424
|
-
page_size: page_size
|
|
427
|
+
page_size: page_size,
|
|
428
|
+
ids: ids,
|
|
429
|
+
statuses: statuses,
|
|
430
|
+
created_after: created_after
|
|
425
431
|
)
|
|
426
432
|
end
|
|
427
433
|
|
data/lib/kombo/general.rb
CHANGED
|
@@ -333,6 +333,7 @@ module Kombo
|
|
|
333
333
|
# |d.vinci admin|`dvinciadmin/rest-api`|[DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html).|
|
|
334
334
|
# |d.vinci|`dvinci/apply-api`|The [DVinci Apply API](https://static.dvinci-easy.com/files/d.vinci%20application-apply-api.html). All requests are authenticated by Kombo and use `https://\{dvinci_domain\}/p/\{portal_path\}/` as the base URL.|
|
|
335
335
|
# |d.vinci|`dvinci/rest-api`|The [DVinci REST API](https://static.dvinci-easy.com/files/d.vinci%20rest-api.html). All requests are authenticated by Kombo and use `https://\{dvinci_domain\}/restApi/` as the base URL.|
|
|
336
|
+
# |DATEV LAUDS|`datevlauds/lauds`|DATEV's [hr-exchange](https://developer.datev.de/de/product-detail/hr-exchange/1.0.0/overview). We automatically authenticate all requests and use `https://hr-exchange.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}` as the base URL.|
|
|
336
337
|
# |DATEV LODAS|`datev/eau`|DATEV's [eau](https://developer.datev.de/en/product-detail/eau-api/1.0.0/overview) API. We automatically authenticate all requests and use `https://eau.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
|
|
337
338
|
# |DATEV|`datevhr/eau`|DATEV's [eau](https://developer.datev.de/en/product-detail/eau-api/1.0.0/overview) API. We automatically authenticate all requests and use `https://eau.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}/` as the base URL.|
|
|
338
339
|
# |DATEV|`datevhr/hr-exports`|DATEV's [hr-exports](https://developer.datev.de/en/product-detail/hr-exports/1.0.0/overview). We automatically authenticate all requests and use `https://hr-exports.api.datev.de/\{platform|platform-sandbox\}/v1/clients/\{client-id\}` as the base URL.|
|
|
@@ -342,7 +343,7 @@ module Kombo
|
|
|
342
343
|
# |Digital Recruiters|`digitalrecruiters/api`|Cegid Digital Recruiters [Talent Acquisition API](https://cegid-hr-developers.talentsoft.net/docs/tutorial-basics/Talent%20Acquisition/Getting%20Started). We automatically authenticate all requests by replacing `:token` in the request URL with your configured access token and use your configured Digital Recruiters domain as the base URL.|
|
|
343
344
|
# |Eightfold|`eightfold/api`|Eightfold's [API](https://apidocs.eightfold.ai/). We automatically authenticate all requests and use `https://apiv2.\{region\}/api/v2/core/` as the base URL.|
|
|
344
345
|
# |Employment Hero|`employmenthero/default`|EmploymentHero [API](https://developer.employmenthero.com/api-references/#icon-book-open-introduction). We automatically authenticate all requests using the credentials supplied by the customer and use `https://api.employmenthero.com/api` as the base URL.|
|
|
345
|
-
# |Eploy|`eploy/api`|Eploy's [API](https://www.eploy.com/resources/developers/api-documentation/). We automatically authenticate all requests
|
|
346
|
+
# |Eploy|`eploy/api`|Eploy's [API](https://www.eploy.com/resources/developers/api-documentation/). We automatically authenticate all requests. The base URL is `https://\{hostname\}/api`, where `\{hostname\}` is either `\{subdomain\}.eploy.net` or your full custom hostname when applicable.|
|
|
346
347
|
# |eRecruiter|`erecruiter/api`|[eRecruiter's API](https://api.erecruiter.net/swagger/ui/index). We automatically authenticate all requests and use `https://\{domain\}/Api` as the base URL.|
|
|
347
348
|
# |Eurécia|`eurecia/api`|Eurécia [REST API](https://api.eurecia.com/eurecia/fw/swagger/index.html#/) We automatically authenticate all requests and use `https://\{domain\}/eurecia/rest` as the base URL.|
|
|
348
349
|
# |Factorial|`factorial/api`|Factorial's [API](https://apidoc.factorialhr.com/). We automatically authenticate all requests and use `https://api.factorialhr.com/api` or `https://api.demo.factorial.dev/api` as the base URL, depending on the connected instance.|
|
|
@@ -398,6 +399,7 @@ module Kombo
|
|
|
398
399
|
# |MHR People First|`peoplefirst/v1`|MHR People First [v1 API](https://docs.people-first.com/api/api-docs/api-docs.html). We automatically authenticate all requests using the access token and tenant/environment codes. For default environments, we use `https://\{tenant_code\}.people-first.com/api/v1` as the base URL. For non-default environments, we use `https://\{tenant_code\}-\{environment_code\}.people-first.com/api/v1`.|
|
|
399
400
|
# |Microsoft Azure AD|`azuread/v1`|[AzureAD's API](https://learn.microsoft.com/en-us/graph/api/resources/identity-network-access-overview?view=graph-rest-1.0). We automatically authenticate all requests.|
|
|
400
401
|
# |Microsoft Entra ID|`entraid/v1`|[AzureAD's API](https://learn.microsoft.com/en-us/graph/api/resources/identity-network-access-overview?view=graph-rest-1.0). We automatically authenticate all requests.|
|
|
402
|
+
# |Moodle|`moodle/rest`|Moodle REST Web Services API. All calls go to `/webservice/rest/server.php` with `wsfunction` and `wstoken` parameters. We automatically handle authentication and use `\{site_url\}/webservice/rest/server.php` as the base URL. |
|
|
401
403
|
# |Mysolution|`mysolution/default`|[Mysolution's API](https://swagger.mysolution.nl/). We automatically authenticate all requests and use the customer's domain as base URL.|
|
|
402
404
|
# |Nmbrs|`nmbrs/soap`|[Nmbrs SOAP API](https://api.nmbrs.nl/soap/v3/). We automatically authenticate all requests and use `https://api.nmbrs.nl/soap/v3/` as the base URL. Set `data` to your raw XML string (the content that will be placed inside the `\<soap:Body\>` tag). Use `/` as your `path`, as we will always send requests to `https://api.nmbrs.nl/soap/v3/\{service_name\}.asmx`. Set your `method` to `POST`. You need to specify the `api_options` object and set `service_name` to the name of the service you want to call. Available services include `EmployeeService` and `CompanyService`.|
|
|
403
405
|
# |Odoo|`odoo/json2`|Odoo's [JSON-2 API](https://www.odoo.com/documentation/19.0/developer/reference/external_api.html). We automatically authenticate all requests and use `https://\{domain\}.odoo.com/json/2` as the base URL. Odoo JSON-2 requests are always `POST` requests and use paths like `/\{model\}/\{method\}` (e.g. `/res.partner/search_read`).|
|
|
@@ -8,7 +8,7 @@ module Kombo
|
|
|
8
8
|
module Models
|
|
9
9
|
module Operations
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class GetAssessmentOrdersRequest
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
@@ -16,13 +16,22 @@ module Kombo
|
|
|
16
16
|
field :integration_id, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Integration-Id', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
|
|
18
18
|
field :cursor, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'cursor', 'style': 'form', 'explode': true } }
|
|
19
|
+
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
20
|
+
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
21
|
+
# Filter by a comma-separated list of statuses such as `OPEN,COMPLETED`.
|
|
22
|
+
field :statuses, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'statuses', 'style': 'form', 'explode': false } }
|
|
23
|
+
# Filter orders by their creation date. Only orders created on or after this date will be returned.
|
|
24
|
+
field :created_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'created_after', 'style': 'form', 'explode': true } }
|
|
19
25
|
# The number of results to return per page. Maximum is 250.
|
|
20
26
|
field :page_size, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
21
27
|
|
|
22
|
-
sig { params(integration_id: T.nilable(::String), cursor: T.nilable(::String), page_size: T.nilable(::Integer)).void }
|
|
23
|
-
def initialize(integration_id: nil, cursor: nil, page_size: 100)
|
|
28
|
+
sig { params(integration_id: T.nilable(::String), cursor: T.nilable(::String), ids: T.nilable(T::Array[::String]), statuses: T.nilable(T::Array[::String]), created_after: T.nilable(::DateTime), page_size: T.nilable(::Integer)).void }
|
|
29
|
+
def initialize(integration_id: nil, cursor: nil, ids: nil, statuses: nil, created_after: nil, page_size: 100)
|
|
24
30
|
@integration_id = integration_id
|
|
25
31
|
@cursor = cursor
|
|
32
|
+
@ids = ids
|
|
33
|
+
@statuses = statuses
|
|
34
|
+
@created_after = created_after
|
|
26
35
|
@page_size = page_size
|
|
27
36
|
end
|
|
28
37
|
|
|
@@ -31,6 +40,9 @@ module Kombo
|
|
|
31
40
|
return false unless other.is_a? self.class
|
|
32
41
|
return false unless @integration_id == other.integration_id
|
|
33
42
|
return false unless @cursor == other.cursor
|
|
43
|
+
return false unless @ids == other.ids
|
|
44
|
+
return false unless @statuses == other.statuses
|
|
45
|
+
return false unless @created_after == other.created_after
|
|
34
46
|
return false unless @page_size == other.page_size
|
|
35
47
|
true
|
|
36
48
|
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Kombo::Models::Operations::GetAssessmentOrdersRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Kombo::Models::Operations::GetAssessmentOrdersRequest
|
|
11
|
+
def integration_id(); end
|
|
12
|
+
def integration_id=(str_); end
|
|
13
|
+
def cursor(); end
|
|
14
|
+
def cursor=(str_); end
|
|
15
|
+
def ids(); end
|
|
16
|
+
def ids=(str_); end
|
|
17
|
+
def statuses(); end
|
|
18
|
+
def statuses=(str_); end
|
|
19
|
+
def created_after(); end
|
|
20
|
+
def created_after=(str_); end
|
|
21
|
+
def page_size(); end
|
|
22
|
+
def page_size=(str_); end
|
|
23
|
+
end
|
|
@@ -8,10 +8,10 @@ module Kombo
|
|
|
8
8
|
module Models
|
|
9
9
|
module Operations
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class GetAssessmentOrdersResponse
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
|
-
sig { returns(T.proc.returns(T.nilable(
|
|
14
|
+
sig { returns(T.proc.returns(T.nilable(GetAssessmentOrdersResponse))) }
|
|
15
15
|
attr_accessor :next_page
|
|
16
16
|
|
|
17
17
|
# HTTP response content type for this operation
|
|
@@ -20,15 +20,15 @@ module Kombo
|
|
|
20
20
|
field :status_code, ::Integer
|
|
21
21
|
# Raw HTTP response; suitable for custom response parsing
|
|
22
22
|
field :raw_response, ::Faraday::Response
|
|
23
|
-
# GET /assessment/orders
|
|
24
|
-
field :
|
|
23
|
+
# GET /assessment/orders Positive response
|
|
24
|
+
field :get_assessment_orders_positive_response, Crystalline::Nilable.new(Models::Shared::GetAssessmentOrdersPositiveResponse)
|
|
25
25
|
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response,
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:,
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, get_assessment_orders_positive_response: T.nilable(Models::Shared::GetAssessmentOrdersPositiveResponse)).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, get_assessment_orders_positive_response: nil)
|
|
28
28
|
@content_type = content_type
|
|
29
29
|
@status_code = status_code
|
|
30
30
|
@raw_response = raw_response
|
|
31
|
-
@
|
|
31
|
+
@get_assessment_orders_positive_response = get_assessment_orders_positive_response
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -37,7 +37,7 @@ module Kombo
|
|
|
37
37
|
return false unless @content_type == other.content_type
|
|
38
38
|
return false unless @status_code == other.status_code
|
|
39
39
|
return false unless @raw_response == other.raw_response
|
|
40
|
-
return false unless @
|
|
40
|
+
return false unless @get_assessment_orders_positive_response == other.get_assessment_orders_positive_response
|
|
41
41
|
true
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class Kombo::Models::Operations::
|
|
5
|
+
class Kombo::Models::Operations::GetAssessmentOrdersResponse
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class Kombo::Models::Operations::
|
|
10
|
+
class Kombo::Models::Operations::GetAssessmentOrdersResponse
|
|
11
11
|
def content_type(); end
|
|
12
12
|
def content_type=(str_); end
|
|
13
13
|
def status_code(); end
|
|
14
14
|
def status_code=(str_); end
|
|
15
15
|
def raw_response(); end
|
|
16
16
|
def raw_response=(str_); end
|
|
17
|
-
def
|
|
18
|
-
def
|
|
17
|
+
def get_assessment_orders_positive_response(); end
|
|
18
|
+
def get_assessment_orders_positive_response=(str_); end
|
|
19
19
|
end
|
|
@@ -22,14 +22,18 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `candidate` | n/a | ✓ Yes |
|
|
30
|
+
# | `candidate` → `tags` | ✗ No | ✗ No |
|
|
31
|
+
# | `current_stage` | n/a | ✓ Yes |
|
|
32
|
+
# | `job` | ✗ No | ✗ No |
|
|
33
|
+
# | `interviews` | ✓ Yes | ✓ Yes |
|
|
34
|
+
# | `offers` | ✓ Yes | ✓ Yes |
|
|
35
|
+
#
|
|
36
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
33
37
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
34
38
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
35
39
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,13 +22,16 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `applications` | ✓ Yes | ✓ Yes |
|
|
30
|
+
# | `applications` → `current_stage` | ✗ No | ✗ No |
|
|
31
|
+
# | `applications` → `job` | ✗ No | ✗ No |
|
|
32
|
+
# | `tags` | ✓ Yes | ✗ No |
|
|
33
|
+
#
|
|
34
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
32
35
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
33
36
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
34
37
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,13 +22,16 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `interviewers` | ✓ Yes | ✗ No |
|
|
30
|
+
# | `application` | n/a | ✓ Yes |
|
|
31
|
+
# | `application` → `candidate` | ✗ No | ✗ No |
|
|
32
|
+
# | `application` → `job` | ✗ No | ✗ No |
|
|
33
|
+
#
|
|
34
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
32
35
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
33
36
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
34
37
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,16 +22,16 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `stages` | ✓ Yes | ✗ No |
|
|
30
|
+
# | `screening_questions` | ✓ Yes | ✗ No |
|
|
31
|
+
# | `job_postings` | ✓ Yes | ✓ Yes |
|
|
32
|
+
# | `hiring_team` | ✓ Yes | ✗ No |
|
|
33
|
+
#
|
|
34
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
35
35
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
36
36
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
37
37
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,11 +22,15 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `application` | n/a | ✓ Yes |
|
|
30
|
+
# | `application` → `candidate` | ✗ No | ✗ No |
|
|
31
|
+
# | `application` → `job` | ✗ No | ✗ No |
|
|
32
|
+
#
|
|
33
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
30
34
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
31
35
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
32
36
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,10 +22,13 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `system_role_assignment` | ✓ Yes | ✓ Yes |
|
|
30
|
+
#
|
|
31
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
29
32
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
30
33
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
31
34
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,9 +22,13 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `type` | n/a | ✓ Yes |
|
|
30
|
+
#
|
|
31
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
28
32
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
29
33
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
30
34
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,15 +22,18 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `employments` | ✓ Yes | ✓ Yes |
|
|
30
|
+
# | `time_off_balances` | ✓ Yes | ✓ Yes |
|
|
31
|
+
# | `manager` | n/a | ✓ Yes |
|
|
32
|
+
# | `group_memberships` | ✓ Yes | ✗ No |
|
|
33
|
+
# | `legal_entity` | n/a | ✓ Yes |
|
|
34
|
+
# | `work_location` | n/a | ✓ Yes |
|
|
35
|
+
#
|
|
36
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
34
37
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
35
38
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
36
39
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,11 +22,15 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `review_cycle` | n/a | ✓ Yes |
|
|
30
|
+
# | `reviewee` | n/a | ✓ Yes |
|
|
31
|
+
# | `reviewer` | n/a | ✓ Yes |
|
|
32
|
+
#
|
|
33
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
30
34
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
31
35
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
32
36
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,14 +22,15 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `locations` | ✓ Yes | ✓ Yes |
|
|
30
|
+
# | `legal_entities` | ✓ Yes | ✓ Yes |
|
|
31
|
+
# | `groups` | ✓ Yes | ✓ Yes |
|
|
32
|
+
#
|
|
33
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
33
34
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
34
35
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
35
36
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -22,9 +22,13 @@ module Kombo
|
|
|
22
22
|
#
|
|
23
23
|
# For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
24
24
|
#
|
|
25
|
-
# For this endpoint, `updated_after`
|
|
25
|
+
# For this endpoint, `updated_after` matches when the returned record changed, or when related data changed as described below.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
27
|
+
# | Path | Relationship | Target Record |
|
|
28
|
+
# | --- | --- | --- |
|
|
29
|
+
# | `type` | n/a | ✓ Yes |
|
|
30
|
+
#
|
|
31
|
+
# _**Relationship**: Whether adding or removing entries from this list triggers an update (n/a for single references that are not lists). **Target Record**: Whether changes to the linked record itself trigger an update._
|
|
28
32
|
field :updated_after, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
29
33
|
# Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
30
34
|
field :ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'ids', 'style': 'form', 'explode': false } }
|
|
@@ -12,8 +12,8 @@ module Kombo
|
|
|
12
12
|
autoload :DeleteHrisAbsencesAbsenceIdResponse, 'kombo/models/operations/deletehrisabsencesabsenceid_response.rb'
|
|
13
13
|
autoload :DeleteIntegrationsIntegrationIdRequest, 'kombo/models/operations/deleteintegrationsintegrationid_request.rb'
|
|
14
14
|
autoload :DeleteIntegrationsIntegrationIdResponse, 'kombo/models/operations/deleteintegrationsintegrationid_response.rb'
|
|
15
|
-
autoload :
|
|
16
|
-
autoload :
|
|
15
|
+
autoload :GetAssessmentOrdersRequest, 'kombo/models/operations/getassessmentorders_request.rb'
|
|
16
|
+
autoload :GetAssessmentOrdersResponse, 'kombo/models/operations/getassessmentorders_response.rb'
|
|
17
17
|
autoload :GetAssessmentPackagesRequest, 'kombo/models/operations/getassessmentpackages_request.rb'
|
|
18
18
|
autoload :GetAssessmentPackagesResponse, 'kombo/models/operations/getassessmentpackages_response.rb'
|
|
19
19
|
autoload :GetAtsApplicationStagesRequest, 'kombo/models/operations/getatsapplicationstages_request.rb'
|
|
@@ -13,7 +13,7 @@ module Kombo
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
# The application's identifier in the integrated system.
|
|
16
|
-
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('remote_id') } }
|
|
16
|
+
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('remote_id'), required: true } }
|
|
17
17
|
|
|
18
18
|
sig { params(remote_id: T.nilable(::String)).void }
|
|
19
19
|
def initialize(remote_id: nil)
|
|
@@ -15,13 +15,13 @@ module Kombo
|
|
|
15
15
|
# The candidate's email address.
|
|
16
16
|
field :email, ::String, { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('email'), required: true } }
|
|
17
17
|
# The candidate's identifier in the integrated system.
|
|
18
|
-
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('remote_id') } }
|
|
18
|
+
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('remote_id'), required: true } }
|
|
19
19
|
# The candidate's first name.
|
|
20
|
-
field :first_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('first_name') } }
|
|
20
|
+
field :first_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('first_name'), required: true } }
|
|
21
21
|
# The candidate's last name.
|
|
22
|
-
field :last_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('last_name') } }
|
|
22
|
+
field :last_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('last_name'), required: true } }
|
|
23
23
|
# The candidate's phone number.
|
|
24
|
-
field :phone, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('phone') } }
|
|
24
|
+
field :phone, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('phone'), required: true } }
|
|
25
25
|
|
|
26
26
|
sig { params(email: ::String, remote_id: T.nilable(::String), first_name: T.nilable(::String), last_name: T.nilable(::String), phone: T.nilable(::String)).void }
|
|
27
27
|
def initialize(email:, remote_id: nil, first_name: nil, last_name: nil, phone: nil)
|
|
@@ -15,15 +15,15 @@ module Kombo
|
|
|
15
15
|
# The hiring team allows you to provision users into your system who can access the job and its applications.
|
|
16
16
|
field :hiring_team, Crystalline::Array.new(Models::Shared::AssessmentOrderReceivedWebhookPayloadHiringTeam), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('hiring_team'), required: true } }
|
|
17
17
|
# The job's identifier in the integrated system.
|
|
18
|
-
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('remote_id') } }
|
|
18
|
+
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('remote_id'), required: true } }
|
|
19
19
|
# The job title.
|
|
20
|
-
field :name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('name') } }
|
|
20
|
+
field :name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('name'), required: true } }
|
|
21
21
|
# The human readable job code. Some systems expose this as the Requisition Code/ID.
|
|
22
|
-
field :job_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('job_code') } }
|
|
22
|
+
field :job_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('job_code'), required: true } }
|
|
23
23
|
# Description of the job. This field is usually returned as HTML.
|
|
24
|
-
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('description') } }
|
|
24
|
+
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('description'), required: true } }
|
|
25
25
|
# The job location information.
|
|
26
|
-
field :location, Crystalline::Nilable.new(Models::Shared::AssessmentOrderReceivedWebhookPayloadLocation), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('location') } }
|
|
26
|
+
field :location, Crystalline::Nilable.new(Models::Shared::AssessmentOrderReceivedWebhookPayloadLocation), { 'format_json': { 'letter_case': ::Kombo::Utils.field_name('location'), required: true } }
|
|
27
27
|
|
|
28
28
|
sig { params(hiring_team: T::Array[Models::Shared::AssessmentOrderReceivedWebhookPayloadHiringTeam], remote_id: T.nilable(::String), name: T.nilable(::String), job_code: T.nilable(::String), description: T.nilable(::String), location: T.nilable(Models::Shared::AssessmentOrderReceivedWebhookPayloadLocation)).void }
|
|
29
29
|
def initialize(hiring_team:, remote_id: nil, name: nil, job_code: nil, description: nil, location: nil)
|