stackone_client 0.21.0 → 0.23.0

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +264 -1087
  3. data/lib/stack_one/models/operations.rb +0 -7
  4. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto.rb +2 -2
  5. data/lib/stack_one/models/shared/completion.rb +6 -2
  6. data/lib/stack_one/models/shared/connectsession.rb +6 -2
  7. data/lib/stack_one/models/shared/connectsession_type.rb +21 -0
  8. data/lib/stack_one/models/shared/connectsessioncreate.rb +6 -2
  9. data/lib/stack_one/models/shared/connectsessioncreate_type.rb +20 -0
  10. data/lib/stack_one/models/shared/connectsessiontokenauthlink.rb +6 -2
  11. data/lib/stack_one/models/shared/connectsessiontokenauthlink_type.rb +21 -0
  12. data/lib/stack_one/models/shared/linkedaccount.rb +6 -2
  13. data/lib/stack_one/models/shared/linkedaccount_type.rb +21 -0
  14. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +6 -2
  15. data/lib/stack_one/models/shared/patchaccountexternaldto.rb +6 -2
  16. data/lib/stack_one/models/shared/patchaccountexternaldto_type.rb +20 -0
  17. data/lib/stack_one/models/shared.rb +5 -23
  18. data/lib/stack_one/sdkconfiguration.rb +2 -2
  19. metadata +7 -32
  20. data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +0 -49
  21. data/lib/stack_one/models/operations/ats_get_assessments_request_response.rb +0 -49
  22. data/lib/stack_one/models/operations/ats_get_background_check_request_request.rb +0 -49
  23. data/lib/stack_one/models/operations/ats_get_background_check_request_response.rb +0 -49
  24. data/lib/stack_one/models/operations/ats_list_background_check_request_queryparam_filter.rb +0 -33
  25. data/lib/stack_one/models/operations/ats_list_background_check_request_request.rb +0 -69
  26. data/lib/stack_one/models/operations/ats_list_background_check_request_response.rb +0 -49
  27. data/lib/stack_one/models/shared/assessmentorder.rb +0 -61
  28. data/lib/stack_one/models/shared/assessmentorder_4.rb +0 -28
  29. data/lib/stack_one/models/shared/assessmentorder_application.rb +0 -45
  30. data/lib/stack_one/models/shared/assessmentorder_application_status.rb +0 -37
  31. data/lib/stack_one/models/shared/assessmentorder_candidate.rb +0 -57
  32. data/lib/stack_one/models/shared/assessmentorder_job.rb +0 -49
  33. data/lib/stack_one/models/shared/assessmentorder_package.rb +0 -45
  34. data/lib/stack_one/models/shared/assessmentorder_source_value.rb +0 -28
  35. data/lib/stack_one/models/shared/assessmentorder_value.rb +0 -38
  36. data/lib/stack_one/models/shared/assessmentorderresult.rb +0 -37
  37. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_requester.rb +0 -53
  38. data/lib/stack_one/models/shared/backgroundcheckorder.rb +0 -61
  39. data/lib/stack_one/models/shared/backgroundcheckorder_4.rb +0 -28
  40. data/lib/stack_one/models/shared/backgroundcheckorder_application.rb +0 -45
  41. data/lib/stack_one/models/shared/backgroundcheckorder_application_status.rb +0 -37
  42. data/lib/stack_one/models/shared/backgroundcheckorder_candidate.rb +0 -57
  43. data/lib/stack_one/models/shared/backgroundcheckorder_job.rb +0 -49
  44. data/lib/stack_one/models/shared/backgroundcheckorder_package.rb +0 -49
  45. data/lib/stack_one/models/shared/backgroundcheckorder_requester.rb +0 -53
  46. data/lib/stack_one/models/shared/backgroundcheckorder_source_value.rb +0 -28
  47. data/lib/stack_one/models/shared/backgroundcheckorder_value.rb +0 -38
  48. data/lib/stack_one/models/shared/backgroundcheckorderpaginated.rb +0 -45
  49. data/lib/stack_one/models/shared/backgroundcheckorderresult.rb +0 -37
@@ -1,49 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Operations
10
-
11
-
12
- class AtsGetAssessmentsRequestRequest
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
- field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
- # The account identifier
19
- field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
- # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
- field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
24
- # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
25
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
-
27
-
28
- 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 }
29
- def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
30
- @id = id
31
- @x_account_id = x_account_id
32
- @fields_ = fields_
33
- @proxy = proxy
34
- @raw = raw
35
- end
36
-
37
- def ==(other)
38
- return false unless other.is_a? self.class
39
- return false unless @id == other.id
40
- return false unless @x_account_id == other.x_account_id
41
- return false unless @fields_ == other.fields_
42
- return false unless @proxy == other.proxy
43
- return false unless @raw == other.raw
44
- true
45
- end
46
- end
47
- end
48
- end
49
- end
@@ -1,49 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Operations
10
-
11
-
12
- class AtsGetAssessmentsRequestResponse
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
- # HTTP response content type for this operation
17
- field :content_type, ::String
18
-
19
- field :headers, T::Hash[Symbol, T::Array[::String]]
20
- # Raw HTTP response; suitable for custom response parsing
21
- field :raw_response, ::Faraday::Response
22
- # HTTP response status code for this operation
23
- field :status_code, ::Integer
24
- # The assessments order with the given identifier was retrieved.
25
- field :assessment_order_result, T.nilable(Models::Shared::AssessmentOrderResult)
26
-
27
-
28
- sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, assessment_order_result: T.nilable(Models::Shared::AssessmentOrderResult)).void }
29
- def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, assessment_order_result: nil)
30
- @content_type = content_type
31
- @headers = headers
32
- @raw_response = raw_response
33
- @status_code = status_code
34
- @assessment_order_result = assessment_order_result
35
- end
36
-
37
- def ==(other)
38
- return false unless other.is_a? self.class
39
- return false unless @content_type == other.content_type
40
- return false unless @headers == other.headers
41
- return false unless @raw_response == other.raw_response
42
- return false unless @status_code == other.status_code
43
- return false unless @assessment_order_result == other.assessment_order_result
44
- true
45
- end
46
- end
47
- end
48
- end
49
- end
@@ -1,49 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Operations
10
-
11
-
12
- class AtsGetBackgroundCheckRequestRequest
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
- field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
- # The account identifier
19
- field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
- # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
- field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
24
- # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
25
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
-
27
-
28
- 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 }
29
- def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
30
- @id = id
31
- @x_account_id = x_account_id
32
- @fields_ = fields_
33
- @proxy = proxy
34
- @raw = raw
35
- end
36
-
37
- def ==(other)
38
- return false unless other.is_a? self.class
39
- return false unless @id == other.id
40
- return false unless @x_account_id == other.x_account_id
41
- return false unless @fields_ == other.fields_
42
- return false unless @proxy == other.proxy
43
- return false unless @raw == other.raw
44
- true
45
- end
46
- end
47
- end
48
- end
49
- end
@@ -1,49 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Operations
10
-
11
-
12
- class AtsGetBackgroundCheckRequestResponse
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
- # HTTP response content type for this operation
17
- field :content_type, ::String
18
-
19
- field :headers, T::Hash[Symbol, T::Array[::String]]
20
- # Raw HTTP response; suitable for custom response parsing
21
- field :raw_response, ::Faraday::Response
22
- # HTTP response status code for this operation
23
- field :status_code, ::Integer
24
- # The background check order with the given identifier was retrieved.
25
- field :background_check_order_result, T.nilable(Models::Shared::BackgroundCheckOrderResult)
26
-
27
-
28
- sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, background_check_order_result: T.nilable(Models::Shared::BackgroundCheckOrderResult)).void }
29
- def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, background_check_order_result: nil)
30
- @content_type = content_type
31
- @headers = headers
32
- @raw_response = raw_response
33
- @status_code = status_code
34
- @background_check_order_result = background_check_order_result
35
- end
36
-
37
- def ==(other)
38
- return false unless other.is_a? self.class
39
- return false unless @content_type == other.content_type
40
- return false unless @headers == other.headers
41
- return false unless @raw_response == other.raw_response
42
- return false unless @status_code == other.status_code
43
- return false unless @background_check_order_result == other.background_check_order_result
44
- true
45
- end
46
- end
47
- end
48
- end
49
- end
@@ -1,33 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Operations
10
-
11
- # Filter parameters that allow greater customisation of the list response
12
- class AtsListBackgroundCheckRequestQueryParamFilter
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
- # Use a string with a date to only select results updated after that given date
17
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
18
-
19
-
20
- sig { params(updated_after: T.nilable(::String)).void }
21
- def initialize(updated_after: nil)
22
- @updated_after = updated_after
23
- end
24
-
25
- def ==(other)
26
- return false unless other.is_a? self.class
27
- return false unless @updated_after == other.updated_after
28
- true
29
- end
30
- end
31
- end
32
- end
33
- end
@@ -1,69 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Operations
10
-
11
-
12
- class AtsListBackgroundCheckRequestRequest
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
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
- # Filter parameters that allow greater customisation of the list response
21
- field :filter, T.nilable(Models::Operations::AtsListBackgroundCheckRequestQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } }
22
- # The unified cursor
23
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
- # The page number of the results to fetch
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page (default value is 25)
29
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
- # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
- # Use a string with a date to only select results updated after that given date
35
- #
36
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
-
39
-
40
- sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AtsListBackgroundCheckRequestQueryParamFilter), 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 }
41
- def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
42
- @x_account_id = x_account_id
43
- @fields_ = fields_
44
- @filter = filter
45
- @next_ = next_
46
- @page = page
47
- @page_size = page_size
48
- @proxy = proxy
49
- @raw = raw
50
- @updated_after = updated_after
51
- end
52
-
53
- def ==(other)
54
- return false unless other.is_a? self.class
55
- return false unless @x_account_id == other.x_account_id
56
- return false unless @fields_ == other.fields_
57
- return false unless @filter == other.filter
58
- return false unless @next_ == other.next_
59
- return false unless @page == other.page
60
- return false unless @page_size == other.page_size
61
- return false unless @proxy == other.proxy
62
- return false unless @raw == other.raw
63
- return false unless @updated_after == other.updated_after
64
- true
65
- end
66
- end
67
- end
68
- end
69
- end
@@ -1,49 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Operations
10
-
11
-
12
- class AtsListBackgroundCheckRequestResponse
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
- # HTTP response content type for this operation
17
- field :content_type, ::String
18
-
19
- field :headers, T::Hash[Symbol, T::Array[::String]]
20
- # Raw HTTP response; suitable for custom response parsing
21
- field :raw_response, ::Faraday::Response
22
- # HTTP response status code for this operation
23
- field :status_code, ::Integer
24
- # The list of background check requests was retrieved.
25
- field :background_check_order_paginated, T.nilable(Models::Shared::BackgroundCheckOrderPaginated)
26
-
27
-
28
- sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, background_check_order_paginated: T.nilable(Models::Shared::BackgroundCheckOrderPaginated)).void }
29
- def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, background_check_order_paginated: nil)
30
- @content_type = content_type
31
- @headers = headers
32
- @raw_response = raw_response
33
- @status_code = status_code
34
- @background_check_order_paginated = background_check_order_paginated
35
- end
36
-
37
- def ==(other)
38
- return false unless other.is_a? self.class
39
- return false unless @content_type == other.content_type
40
- return false unless @headers == other.headers
41
- return false unless @raw_response == other.raw_response
42
- return false unless @status_code == other.status_code
43
- return false unless @background_check_order_paginated == other.background_check_order_paginated
44
- true
45
- end
46
- end
47
- end
48
- end
49
- end
@@ -1,61 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Shared
10
-
11
-
12
- class AssessmentOrder
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
- field :application, T.nilable(Models::Shared::AssessmentOrderApplication), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application') } }
18
-
19
- field :candidate, T.nilable(Models::Shared::AssessmentOrderCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
20
- # Unique identifier
21
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
22
-
23
- field :job, T.nilable(Models::Shared::AssessmentOrderJob), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job') } }
24
-
25
- field :package, T.nilable(Models::Shared::AssessmentOrderPackage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('package') } }
26
- # Provider's unique identifier
27
- field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
28
-
29
- field :requester, T.nilable(Models::Shared::Requester), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('requester') } }
30
- # Results update url
31
- field :results_update_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('results_update_url') } }
32
-
33
-
34
- sig { params(application: T.nilable(Models::Shared::AssessmentOrderApplication), candidate: T.nilable(Models::Shared::AssessmentOrderCandidate), id: T.nilable(::String), job: T.nilable(Models::Shared::AssessmentOrderJob), package: T.nilable(Models::Shared::AssessmentOrderPackage), remote_id: T.nilable(::String), requester: T.nilable(Models::Shared::Requester), results_update_url: T.nilable(::String)).void }
35
- def initialize(application: nil, candidate: nil, id: nil, job: nil, package: nil, remote_id: nil, requester: nil, results_update_url: nil)
36
- @application = application
37
- @candidate = candidate
38
- @id = id
39
- @job = job
40
- @package = package
41
- @remote_id = remote_id
42
- @requester = requester
43
- @results_update_url = results_update_url
44
- end
45
-
46
- def ==(other)
47
- return false unless other.is_a? self.class
48
- return false unless @application == other.application
49
- return false unless @candidate == other.candidate
50
- return false unless @id == other.id
51
- return false unless @job == other.job
52
- return false unless @package == other.package
53
- return false unless @remote_id == other.remote_id
54
- return false unless @requester == other.requester
55
- return false unless @results_update_url == other.results_update_url
56
- true
57
- end
58
- end
59
- end
60
- end
61
- end
@@ -1,28 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Shared
10
-
11
-
12
- class AssessmentOrder4
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
-
19
- def initialize; end
20
-
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,45 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Shared
10
-
11
-
12
- class AssessmentOrderApplication
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
- field :application_status, T.nilable(Models::Shared::AssessmentOrderApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
18
- # Unique identifier
19
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
- # Value to pass through to the provider
21
- field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
22
- # Provider's unique identifier
23
- field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
-
25
-
26
- sig { params(application_status: T.nilable(Models::Shared::AssessmentOrderApplicationStatus), id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), remote_id: T.nilable(::String)).void }
27
- def initialize(application_status: nil, id: nil, passthrough: nil, remote_id: nil)
28
- @application_status = application_status
29
- @id = id
30
- @passthrough = passthrough
31
- @remote_id = remote_id
32
- end
33
-
34
- def ==(other)
35
- return false unless other.is_a? self.class
36
- return false unless @application_status == other.application_status
37
- return false unless @id == other.id
38
- return false unless @passthrough == other.passthrough
39
- return false unless @remote_id == other.remote_id
40
- true
41
- end
42
- end
43
- end
44
- end
45
- end
@@ -1,37 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Shared
10
-
11
-
12
- class AssessmentOrderApplicationStatus
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
- # The source value of the application status.
17
- field :source_value, T.nilable(T.any(::String, ::Float, T::Boolean, Models::Shared::AssessmentOrder4, T::Array[::Object])), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
18
- # The status of the application.
19
- field :value, T.nilable(Models::Shared::AssessmentOrderValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Models::Shared::AssessmentOrderValue, true) } }
20
-
21
-
22
- sig { params(source_value: T.nilable(T.any(::String, ::Float, T::Boolean, Models::Shared::AssessmentOrder4, T::Array[::Object])), value: T.nilable(Models::Shared::AssessmentOrderValue)).void }
23
- def initialize(source_value: nil, value: nil)
24
- @source_value = source_value
25
- @value = value
26
- end
27
-
28
- def ==(other)
29
- return false unless other.is_a? self.class
30
- return false unless @source_value == other.source_value
31
- return false unless @value == other.value
32
- true
33
- end
34
- end
35
- end
36
- end
37
- end
@@ -1,57 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Shared
10
-
11
-
12
- class AssessmentOrderCandidate
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
- # List of candidate emails
17
- field :emails, T.nilable(T::Array[Models::Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
18
- # Candidate first name
19
- field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
20
- # Unique identifier
21
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
22
- # Candidate last name
23
- field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
24
- # Value to pass through to the provider
25
- field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
26
- # Candidate profile url
27
- field :profile_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('profile_url') } }
28
- # Provider's unique identifier
29
- field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
30
-
31
-
32
- sig { params(emails: T.nilable(T::Array[Models::Shared::CandidateEmail]), first_name: T.nilable(::String), id: T.nilable(::String), last_name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), profile_url: T.nilable(::String), remote_id: T.nilable(::String)).void }
33
- def initialize(emails: nil, first_name: nil, id: nil, last_name: nil, passthrough: nil, profile_url: nil, remote_id: nil)
34
- @emails = emails
35
- @first_name = first_name
36
- @id = id
37
- @last_name = last_name
38
- @passthrough = passthrough
39
- @profile_url = profile_url
40
- @remote_id = remote_id
41
- end
42
-
43
- def ==(other)
44
- return false unless other.is_a? self.class
45
- return false unless @emails == other.emails
46
- return false unless @first_name == other.first_name
47
- return false unless @id == other.id
48
- return false unless @last_name == other.last_name
49
- return false unless @passthrough == other.passthrough
50
- return false unless @profile_url == other.profile_url
51
- return false unless @remote_id == other.remote_id
52
- true
53
- end
54
- end
55
- end
56
- end
57
- end
@@ -1,49 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Models
9
- module Shared
10
-
11
-
12
- class AssessmentOrderJob
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
- # Hiring team for the job.
17
- field :hiring_team, T.nilable(T::Array[Models::Shared::JobHiringTeam]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hiring_team') } }
18
- # Unique identifier
19
- field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
- # Value to pass through to the provider
21
- field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
22
- # Provider's unique identifier
23
- field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
24
- # Title of the job
25
- field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
26
-
27
-
28
- sig { params(hiring_team: T.nilable(T::Array[Models::Shared::JobHiringTeam]), id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), remote_id: T.nilable(::String), title: T.nilable(::String)).void }
29
- def initialize(hiring_team: nil, id: nil, passthrough: nil, remote_id: nil, title: nil)
30
- @hiring_team = hiring_team
31
- @id = id
32
- @passthrough = passthrough
33
- @remote_id = remote_id
34
- @title = title
35
- end
36
-
37
- def ==(other)
38
- return false unless other.is_a? self.class
39
- return false unless @hiring_team == other.hiring_team
40
- return false unless @id == other.id
41
- return false unless @passthrough == other.passthrough
42
- return false unless @remote_id == other.remote_id
43
- return false unless @title == other.title
44
- true
45
- end
46
- end
47
- end
48
- end
49
- end