stackone_client 0.5.1 → 0.5.2

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 (50) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +10 -5
  3. data/lib/stack_one/ats.rb +321 -62
  4. data/lib/stack_one/connect_sessions.rb +4 -2
  5. data/lib/stack_one/connectors.rb +4 -2
  6. data/lib/stack_one/crm.rb +20 -10
  7. data/lib/stack_one/hris.rb +93 -46
  8. data/lib/stack_one/iam.rb +16 -8
  9. data/lib/stack_one/lms.rb +52 -26
  10. data/lib/stack_one/marketing.rb +52 -26
  11. data/lib/stack_one/models/operations/ats_create_application_note_request.rb +30 -0
  12. data/lib/stack_one/models/operations/ats_create_application_note_response.rb +36 -0
  13. data/lib/stack_one/models/operations/ats_get_application_note_request.rb +39 -0
  14. data/lib/stack_one/models/operations/ats_get_application_note_response.rb +36 -0
  15. data/lib/stack_one/models/operations/ats_list_application_notes_queryparam_filter.rb +24 -0
  16. data/lib/stack_one/models/operations/ats_list_application_notes_request.rb +60 -0
  17. data/lib/stack_one/models/operations/ats_list_application_notes_response.rb +36 -0
  18. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +5 -2
  19. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb +5 -2
  20. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb +6 -3
  21. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb +6 -3
  23. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb +5 -2
  25. data/lib/stack_one/models/operations/ats_update_application_note_request.rb +33 -0
  26. data/lib/stack_one/models/operations/ats_update_application_note_response.rb +36 -0
  27. data/lib/stack_one/models/operations.rb +9 -0
  28. data/lib/stack_one/models/shared/atsupdatenotesrequestdto.rb +33 -0
  29. data/lib/stack_one/models/shared/atsupdatenotesrequestdto_value.rb +18 -0
  30. data/lib/stack_one/models/shared/atsupdatenotesrequestdto_visibility.rb +27 -0
  31. data/lib/stack_one/models/shared/category.rb +5 -2
  32. data/lib/stack_one/models/shared/category_schemas_value.rb +19 -0
  33. data/lib/stack_one/models/shared/category_value.rb +411 -4
  34. data/lib/stack_one/models/shared/course.rb +5 -2
  35. data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
  36. data/lib/stack_one/models/shared/createcategoriesapimodel_language.rb +27 -0
  37. data/lib/stack_one/models/shared/createcategoriesapimodel_level.rb +2 -2
  38. data/lib/stack_one/models/shared/createcategoriesapimodel_schemas_value.rb +19 -0
  39. data/lib/stack_one/models/shared/createcategoriesapimodel_value.rb +411 -4
  40. data/lib/stack_one/models/shared/language.rb +27 -0
  41. data/lib/stack_one/models/shared/level.rb +2 -2
  42. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
  43. data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -2
  44. data/lib/stack_one/models/shared/unifiedwarningapimodel.rb +24 -0
  45. data/lib/stack_one/models/shared/writeresultapimodel.rb +5 -2
  46. data/lib/stack_one/models/shared.rb +16 -8
  47. data/lib/stack_one/proxy.rb +3 -1
  48. data/lib/stack_one/sdkconfiguration.rb +3 -3
  49. data/lib/stack_one/webhooks.rb +2 -1
  50. metadata +19 -2
@@ -0,0 +1,39 @@
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 Operations
9
+
10
+
11
+ class AtsGetApplicationNoteRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+
17
+ field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', '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': 'deepObject', 'explode': true } }
24
+ # Indicates that the raw request result is returned
25
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
+
27
+
28
+ sig { params(id: ::String, sub_resource_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, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
30
+ @id = id
31
+ @sub_resource_id = sub_resource_id
32
+ @x_account_id = x_account_id
33
+ @fields_ = fields_
34
+ @proxy = proxy
35
+ @raw = raw
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,36 @@
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 Operations
9
+
10
+
11
+ class AtsGetApplicationNoteResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
18
+ # Raw HTTP response; suitable for custom response parsing
19
+ field :raw_response, ::Faraday::Response
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # The note with the given identifier related to the application with the given identifier was retrieved.
23
+ field :note_result, T.nilable(::StackOne::Shared::NoteResult)
24
+
25
+
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, note_result: T.nilable(::StackOne::Shared::NoteResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, note_result: nil)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @note_result = note_result
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Filter parameters that allow greater customisation of the list response
11
+ class AtsListApplicationNotesQueryParamFilter < ::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,60 @@
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 Operations
9
+
10
+
11
+ class AtsListApplicationNotesRequest < ::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
+ # Filter parameters that allow greater customisation of the list response
21
+ field :filter, T.nilable(::StackOne::Operations::AtsListApplicationNotesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', '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
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': 'deepObject', 'explode': true } }
32
+ # Indicates that the raw request result is returned
33
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
+ # The sync token to select the only updated results
35
+ #
36
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
+ field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
38
+ # Use a string with a date to only select results updated after that given date
39
+ #
40
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
41
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
42
+
43
+
44
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationNotesQueryParamFilter), 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), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
45
+ def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
46
+ @id = id
47
+ @x_account_id = x_account_id
48
+ @fields_ = fields_
49
+ @filter = filter
50
+ @next_ = next_
51
+ @page = page
52
+ @page_size = page_size
53
+ @proxy = proxy
54
+ @raw = raw
55
+ @sync_token = sync_token
56
+ @updated_after = updated_after
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,36 @@
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 Operations
9
+
10
+
11
+ class AtsListApplicationNotesResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
18
+ # Raw HTTP response; suitable for custom response parsing
19
+ field :raw_response, ::Faraday::Response
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # The notes related to the application with the given identifier was retrieved.
23
+ field :notes_paginated, T.nilable(::StackOne::Shared::NotesPaginated)
24
+
25
+
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, notes_paginated: T.nilable(::StackOne::Shared::NotesPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, notes_paginated: nil)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @notes_paginated = notes_paginated
33
+ end
34
+ end
35
+ end
36
+ end
@@ -11,6 +11,8 @@ module StackOne
11
11
  class AtsListApplicationsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Use a string with a date to only select results created after that given date
15
+ field :created_after, T.nilable(::String), { 'query_param': { 'field_name': 'created_after' } }
14
16
  # Filter to select applications by job_id
15
17
  field :job_id, T.nilable(::String), { 'query_param': { 'field_name': 'job_id' } }
16
18
  # Filter to select applications by stage and sub-stage
@@ -19,8 +21,9 @@ module StackOne
19
21
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
20
22
 
21
23
 
22
- sig { params(job_id: T.nilable(::String), stage: T.nilable(::String), updated_after: T.nilable(::String)).void }
23
- def initialize(job_id: nil, stage: nil, updated_after: nil)
24
+ sig { params(created_after: T.nilable(::String), job_id: T.nilable(::String), stage: T.nilable(::String), updated_after: T.nilable(::String)).void }
25
+ def initialize(created_after: nil, job_id: nil, stage: nil, updated_after: nil)
26
+ @created_after = created_after
24
27
  @job_id = job_id
25
28
  @stage = stage
26
29
  @updated_after = updated_after
@@ -11,14 +11,17 @@ module StackOne
11
11
  class AtsListCandidatesQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Use a string with a date to only select results created after that given date
15
+ field :created_after, T.nilable(::String), { 'query_param': { 'field_name': 'created_after' } }
14
16
  # Filter to select candidates by email
15
17
  field :email, T.nilable(::String), { 'query_param': { 'field_name': 'email' } }
16
18
  # Use a string with a date to only select results updated after that given date
17
19
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
18
20
 
19
21
 
20
- sig { params(email: T.nilable(::String), updated_after: T.nilable(::String)).void }
21
- def initialize(email: nil, updated_after: nil)
22
+ sig { params(created_after: T.nilable(::String), email: T.nilable(::String), updated_after: T.nilable(::String)).void }
23
+ def initialize(created_after: nil, email: nil, updated_after: nil)
24
+ @created_after = created_after
22
25
  @email = email
23
26
  @updated_after = updated_after
24
27
  end
@@ -7,16 +7,19 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Filter parameters that allow greater customisation of the list response
10
+ # ATS Interviews Filter
11
11
  class AtsListInterviewsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Use a string with a date to only select results created after that given date
15
+ field :created_after, T.nilable(::String), { 'query_param': { 'field_name': 'created_after' } }
14
16
  # Use a string with a date to only select results updated after that given date
15
17
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
18
 
17
19
 
18
- sig { params(updated_after: T.nilable(::String)).void }
19
- def initialize(updated_after: nil)
20
+ sig { params(created_after: T.nilable(::String), updated_after: T.nilable(::String)).void }
21
+ def initialize(created_after: nil, updated_after: nil)
22
+ @created_after = created_after
20
23
  @updated_after = updated_after
21
24
  end
22
25
  end
@@ -15,7 +15,7 @@ module StackOne
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
16
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
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
18
+ # ATS Interviews Filter
19
19
  field :filter, T.nilable(::StackOne::Operations::AtsListInterviewsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
@@ -7,16 +7,19 @@
7
7
  module StackOne
8
8
  module Operations
9
9
 
10
- # Filter parameters that allow greater customisation of the list response
10
+ # ATS Job Postings Filter
11
11
  class AtsListJobPostingsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Use a string with a date to only select results created after that given date
15
+ field :created_after, T.nilable(::String), { 'query_param': { 'field_name': 'created_after' } }
14
16
  # Use a string with a date to only select results updated after that given date
15
17
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
18
 
17
19
 
18
- sig { params(updated_after: T.nilable(::String)).void }
19
- def initialize(updated_after: nil)
20
+ sig { params(created_after: T.nilable(::String), updated_after: T.nilable(::String)).void }
21
+ def initialize(created_after: nil, updated_after: nil)
22
+ @created_after = created_after
20
23
  @updated_after = updated_after
21
24
  end
22
25
  end
@@ -15,7 +15,7 @@ module StackOne
15
15
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
16
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
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
18
+ # ATS Job Postings Filter
19
19
  field :filter, T.nilable(::StackOne::Operations::AtsListJobPostingsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
20
20
  # The comma separated list of fields that will be included in the response
21
21
  field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
@@ -11,6 +11,8 @@ module StackOne
11
11
  class AtsListJobsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # Use a string with a date to only select results created after that given date
15
+ field :created_after, T.nilable(::String), { 'query_param': { 'field_name': 'created_after' } }
14
16
  # The job_status of the job
15
17
  field :job_status, T.nilable(::StackOne::Operations::JobStatus), { 'query_param': { 'field_name': 'job_status' } }
16
18
  # The status of the job
@@ -21,8 +23,9 @@ module StackOne
21
23
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
22
24
 
23
25
 
24
- sig { params(job_status: T.nilable(::StackOne::Operations::JobStatus), status: T.nilable(::StackOne::Operations::Status), updated_after: T.nilable(::String)).void }
25
- def initialize(job_status: nil, status: nil, updated_after: nil)
26
+ sig { params(created_after: T.nilable(::String), job_status: T.nilable(::StackOne::Operations::JobStatus), status: T.nilable(::StackOne::Operations::Status), updated_after: T.nilable(::String)).void }
27
+ def initialize(created_after: nil, job_status: nil, status: nil, updated_after: nil)
28
+ @created_after = created_after
26
29
  @job_status = job_status
27
30
  @status = status
28
31
  @updated_after = updated_after
@@ -0,0 +1,33 @@
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 Operations
9
+
10
+
11
+ class AtsUpdateApplicationNoteRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :ats_update_notes_request_dto, ::StackOne::Shared::AtsUpdateNotesRequestDto, { 'request': { 'media_type': 'application/json' } }
16
+
17
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
+
19
+ field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
20
+ # The account identifier
21
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
22
+
23
+
24
+ sig { params(ats_update_notes_request_dto: ::StackOne::Shared::AtsUpdateNotesRequestDto, id: ::String, sub_resource_id: ::String, x_account_id: ::String).void }
25
+ def initialize(ats_update_notes_request_dto: nil, id: nil, sub_resource_id: nil, x_account_id: nil)
26
+ @ats_update_notes_request_dto = ats_update_notes_request_dto
27
+ @id = id
28
+ @sub_resource_id = sub_resource_id
29
+ @x_account_id = x_account_id
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,36 @@
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 Operations
9
+
10
+
11
+ class AtsUpdateApplicationNoteResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
18
+ # Raw HTTP response; suitable for custom response parsing
19
+ field :raw_response, ::Faraday::Response
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # Record updated successfully.
23
+ field :update_result, T.nilable(::StackOne::Shared::UpdateResult)
24
+
25
+
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, update_result: T.nilable(::StackOne::Shared::UpdateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, update_result: nil)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @update_result = update_result
33
+ end
34
+ end
35
+ end
36
+ end
@@ -23,6 +23,8 @@ module StackOne
23
23
  autoload :StackoneListConnectorsMetaResponse, 'stack_one/models/operations/stackone_list_connectors_meta_response.rb'
24
24
  autoload :AtsCreateApplicationRequest, 'stack_one/models/operations/ats_create_application_request.rb'
25
25
  autoload :AtsCreateApplicationResponse, 'stack_one/models/operations/ats_create_application_response.rb'
26
+ autoload :AtsCreateApplicationNoteRequest, 'stack_one/models/operations/ats_create_application_note_request.rb'
27
+ autoload :AtsCreateApplicationNoteResponse, 'stack_one/models/operations/ats_create_application_note_response.rb'
26
28
  autoload :AtsCreateBackgroundCheckPackageRequest, 'stack_one/models/operations/ats_create_background_check_package_request.rb'
27
29
  autoload :AtsCreateBackgroundCheckPackageResponse, 'stack_one/models/operations/ats_create_background_check_package_response.rb'
28
30
  autoload :AtsCreateCandidateRequest, 'stack_one/models/operations/ats_create_candidate_request.rb'
@@ -42,6 +44,8 @@ module StackOne
42
44
  autoload :AtsGetApplicationCustomFieldDefinitionResponse, 'stack_one/models/operations/ats_get_application_custom_field_definition_response.rb'
43
45
  autoload :AtsGetApplicationDocumentRequest, 'stack_one/models/operations/ats_get_application_document_request.rb'
44
46
  autoload :AtsGetApplicationDocumentResponse, 'stack_one/models/operations/ats_get_application_document_response.rb'
47
+ autoload :AtsGetApplicationNoteRequest, 'stack_one/models/operations/ats_get_application_note_request.rb'
48
+ autoload :AtsGetApplicationNoteResponse, 'stack_one/models/operations/ats_get_application_note_response.rb'
45
49
  autoload :AtsGetApplicationOfferRequest, 'stack_one/models/operations/ats_get_application_offer_request.rb'
46
50
  autoload :AtsGetApplicationOfferResponse, 'stack_one/models/operations/ats_get_application_offer_response.rb'
47
51
  autoload :AtsGetApplicationScheduledInterviewRequest, 'stack_one/models/operations/ats_get_application_scheduled_interview_request.rb'
@@ -96,6 +100,9 @@ module StackOne
96
100
  autoload :AtsListApplicationDocumentsQueryParamFilter, 'stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb'
97
101
  autoload :AtsListApplicationDocumentsRequest, 'stack_one/models/operations/ats_list_application_documents_request.rb'
98
102
  autoload :AtsListApplicationDocumentsResponse, 'stack_one/models/operations/ats_list_application_documents_response.rb'
103
+ autoload :AtsListApplicationNotesQueryParamFilter, 'stack_one/models/operations/ats_list_application_notes_queryparam_filter.rb'
104
+ autoload :AtsListApplicationNotesRequest, 'stack_one/models/operations/ats_list_application_notes_request.rb'
105
+ autoload :AtsListApplicationNotesResponse, 'stack_one/models/operations/ats_list_application_notes_response.rb'
99
106
  autoload :AtsListApplicationScorecardsQueryParamFilter, 'stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb'
100
107
  autoload :AtsListApplicationScorecardsRequest, 'stack_one/models/operations/ats_list_application_scorecards_request.rb'
101
108
  autoload :AtsListApplicationScorecardsResponse, 'stack_one/models/operations/ats_list_application_scorecards_response.rb'
@@ -167,6 +174,8 @@ module StackOne
167
174
  autoload :AtsRejectApplicationResponse, 'stack_one/models/operations/ats_reject_application_response.rb'
168
175
  autoload :AtsUpdateApplicationRequest, 'stack_one/models/operations/ats_update_application_request.rb'
169
176
  autoload :AtsUpdateApplicationResponse, 'stack_one/models/operations/ats_update_application_response.rb'
177
+ autoload :AtsUpdateApplicationNoteRequest, 'stack_one/models/operations/ats_update_application_note_request.rb'
178
+ autoload :AtsUpdateApplicationNoteResponse, 'stack_one/models/operations/ats_update_application_note_response.rb'
170
179
  autoload :AtsUpdateCandidateRequest, 'stack_one/models/operations/ats_update_candidate_request.rb'
171
180
  autoload :AtsUpdateCandidateResponse, 'stack_one/models/operations/ats_update_candidate_response.rb'
172
181
  autoload :AtsUpdateJobRequest, 'stack_one/models/operations/ats_update_job_request.rb'
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class AtsUpdateNotesRequestDto < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Unique identifier of the author
15
+ field :author_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author_id') } }
16
+
17
+ field :content, T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
18
+ # Value to pass through to the provider
19
+ field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
20
+ # Visibility of the note
21
+ field :visibility, T.nilable(::StackOne::Shared::AtsUpdateNotesRequestDtoVisibility), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('visibility') } }
22
+
23
+
24
+ sig { params(author_id: T.nilable(::String), content: T.nilable(T::Array[::StackOne::Shared::NoteContentApiModel]), passthrough: T.nilable(T::Hash[Symbol, ::Object]), visibility: T.nilable(::StackOne::Shared::AtsUpdateNotesRequestDtoVisibility)).void }
25
+ def initialize(author_id: nil, content: nil, passthrough: nil, visibility: nil)
26
+ @author_id = author_id
27
+ @content = content
28
+ @passthrough = passthrough
29
+ @visibility = visibility
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,18 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+ # AtsUpdateNotesRequestDtoValue - The visibility of the notes.
11
+ class AtsUpdateNotesRequestDtoValue < T::Enum
12
+ enums do
13
+ PRIVATE = new('private')
14
+ PUBLIC = new('public')
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+ # Visibility of the note
11
+ class AtsUpdateNotesRequestDtoVisibility < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The source value of the notes visibility.
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+ # The visibility of the notes.
17
+ field :value, T.nilable(::StackOne::Shared::AtsUpdateNotesRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsUpdateNotesRequestDtoValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AtsUpdateNotesRequestDtoValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -15,6 +15,8 @@ module StackOne
15
15
  field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
16
16
  # The ID associated with this category
17
17
  field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
+ # The language associated with this category
19
+ field :language, T.nilable(::StackOne::Shared::Language), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('language') } }
18
20
  # The hierarchal level of the category
19
21
  field :level, T.nilable(::StackOne::Shared::Level), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
20
22
  # The name associated with this category
@@ -25,10 +27,11 @@ module StackOne
25
27
  field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
26
28
 
27
29
 
28
- sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), level: T.nilable(::StackOne::Shared::Level), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
29
- def initialize(active: nil, id: nil, level: nil, name: nil, remote_id: nil, unified_custom_fields: nil)
30
+ sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), language: T.nilable(::StackOne::Shared::Language), level: T.nilable(::StackOne::Shared::Level), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
31
+ def initialize(active: nil, id: nil, language: nil, level: nil, name: nil, remote_id: nil, unified_custom_fields: nil)
30
32
  @active = active
31
33
  @id = id
34
+ @language = language
32
35
  @level = level
33
36
  @name = name
34
37
  @remote_id = remote_id
@@ -0,0 +1,19 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class CategorySchemasValue < T::Enum
12
+ enums do
13
+ PRIMARY = new('primary')
14
+ SECONDARY = new('secondary')
15
+ TERTIARY = new('tertiary')
16
+ end
17
+ end
18
+ end
19
+ end