stackone_client 0.5.1 → 0.5.3

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 (124) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +10 -5
  3. data/lib/stack_one/ats.rb +421 -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 +172 -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/{create_response.rb → ats_create_application_note_response.rb} +6 -6
  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_get_assessments_package_request.rb +1 -1
  16. data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +1 -1
  17. data/lib/stack_one/models/operations/ats_get_background_check_package_request.rb +1 -1
  18. data/lib/stack_one/models/operations/ats_get_background_check_request_request.rb +1 -1
  19. data/lib/stack_one/models/operations/ats_list_application_notes_queryparam_filter.rb +24 -0
  20. data/lib/stack_one/models/operations/ats_list_application_notes_request.rb +60 -0
  21. data/lib/stack_one/models/operations/ats_list_application_notes_response.rb +36 -0
  22. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +5 -2
  23. data/lib/stack_one/models/operations/ats_list_assessments_packages_request.rb +2 -2
  24. data/lib/stack_one/models/operations/ats_list_background_check_packages_request.rb +2 -2
  25. data/lib/stack_one/models/operations/ats_list_background_check_request_request.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb +5 -2
  27. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb +6 -3
  28. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb +6 -3
  30. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb +5 -2
  32. data/lib/stack_one/models/operations/ats_order_assessments_request_request.rb +27 -0
  33. data/lib/stack_one/models/operations/ats_order_assessments_request_response.rb +36 -0
  34. data/lib/stack_one/models/operations/ats_order_background_check_request_request.rb +27 -0
  35. data/lib/stack_one/models/operations/ats_order_background_check_request_response.rb +36 -0
  36. data/lib/stack_one/models/operations/ats_update_application_note_request.rb +33 -0
  37. data/lib/stack_one/models/operations/ats_update_application_note_response.rb +36 -0
  38. data/lib/stack_one/models/operations/hris_get_time_entries_request.rb +36 -0
  39. data/lib/stack_one/models/operations/hris_get_time_entries_response.rb +36 -0
  40. data/lib/stack_one/models/operations/hris_list_time_entries_queryparam_filter.rb +33 -0
  41. data/lib/stack_one/models/operations/hris_list_time_entries_request.rb +52 -0
  42. data/lib/stack_one/models/operations/hris_list_time_entries_response.rb +36 -0
  43. data/lib/stack_one/models/operations.rb +18 -2
  44. data/lib/stack_one/models/shared/additionaldata.rb +30 -0
  45. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto.rb +48 -0
  46. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_application.rb +33 -0
  47. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_application_status.rb +27 -0
  48. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_candidate.rb +42 -0
  49. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_job.rb +36 -0
  50. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_package.rb +36 -0
  51. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_requester.rb +39 -0
  52. data/lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_value.rb +36 -0
  53. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto.rb +45 -0
  54. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto_application.rb +33 -0
  55. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto_application_status.rb +27 -0
  56. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto_candidate.rb +42 -0
  57. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto_job.rb +36 -0
  58. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto_package.rb +33 -0
  59. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto_requester.rb +39 -0
  60. data/lib/stack_one/models/shared/atscreatecandidatesassessmentsrequestdto_value.rb +36 -0
  61. data/lib/stack_one/models/shared/atsupdatenotesrequestdto.rb +33 -0
  62. data/lib/stack_one/models/shared/atsupdatenotesrequestdto_value.rb +18 -0
  63. data/lib/stack_one/models/shared/atsupdatenotesrequestdto_visibility.rb +27 -0
  64. data/lib/stack_one/models/shared/category.rb +5 -2
  65. data/lib/stack_one/models/shared/category_schemas_value.rb +19 -0
  66. data/lib/stack_one/models/shared/category_value.rb +411 -4
  67. data/lib/stack_one/models/shared/channelsenum.rb +2 -2
  68. data/lib/stack_one/models/shared/channelsenum_value.rb +23 -0
  69. data/lib/stack_one/models/shared/contract_type.rb +33 -0
  70. data/lib/stack_one/models/shared/cost_center.rb +45 -0
  71. data/lib/stack_one/models/shared/course.rb +5 -2
  72. data/lib/stack_one/models/shared/createassessmentorderresult.rb +30 -0
  73. data/lib/stack_one/models/shared/createbackgroundcheckorderresult.rb +30 -0
  74. data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
  75. data/lib/stack_one/models/shared/createcategoriesapimodel_language.rb +27 -0
  76. data/lib/stack_one/models/shared/createcategoriesapimodel_level.rb +2 -2
  77. data/lib/stack_one/models/shared/createcategoriesapimodel_schemas_value.rb +19 -0
  78. data/lib/stack_one/models/shared/createcategoriesapimodel_value.rb +411 -4
  79. data/lib/stack_one/models/shared/description.rb +24 -0
  80. data/lib/stack_one/models/shared/division.rb +45 -0
  81. data/lib/stack_one/models/shared/employee.rb +20 -0
  82. data/lib/stack_one/models/shared/employee_employment_contract_type.rb +2 -0
  83. data/lib/stack_one/models/shared/employee_employment_type.rb +2 -0
  84. data/lib/stack_one/models/shared/employment.rb +38 -2
  85. data/lib/stack_one/models/shared/employment_department.rb +45 -0
  86. data/lib/stack_one/models/shared/employment_employment_contract_type.rb +2 -0
  87. data/lib/stack_one/models/shared/employment_employment_type.rb +2 -0
  88. data/lib/stack_one/models/shared/employment_job.rb +39 -0
  89. data/lib/stack_one/models/shared/employment_schemas_contract_type.rb +27 -0
  90. data/lib/stack_one/models/shared/employment_schemas_contract_type_value.rb +20 -0
  91. data/lib/stack_one/models/shared/employment_schemas_type.rb +33 -0
  92. data/lib/stack_one/models/shared/employment_schemas_type_type.rb +27 -0
  93. data/lib/stack_one/models/shared/employment_schemas_type_value.rb +33 -0
  94. data/lib/stack_one/models/shared/employmentmanagerapimodel.rb +30 -0
  95. data/lib/stack_one/models/shared/employmentmanagerapimodel_value.rb +24 -0
  96. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto.rb +2 -5
  97. data/lib/stack_one/models/shared/job_description.rb +2 -0
  98. data/lib/stack_one/models/shared/labor_type.rb +24 -0
  99. data/lib/stack_one/models/shared/language.rb +27 -0
  100. data/lib/stack_one/models/shared/level.rb +2 -2
  101. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +10 -2
  102. data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -2
  103. data/lib/stack_one/models/shared/location.rb +33 -0
  104. data/lib/stack_one/models/shared/role.rb +33 -0
  105. data/lib/stack_one/models/shared/role_type.rb +27 -0
  106. data/lib/stack_one/models/shared/timeentries.rb +63 -0
  107. data/lib/stack_one/models/shared/timeentries_status.rb +27 -0
  108. data/lib/stack_one/models/shared/timeentries_value.rb +18 -0
  109. data/lib/stack_one/models/shared/timeentriespaginated.rb +33 -0
  110. data/lib/stack_one/models/shared/timeentriesresult.rb +27 -0
  111. data/lib/stack_one/models/shared/unifiedwarningapimodel.rb +24 -0
  112. data/lib/stack_one/models/shared/updateemployeeapimodel.rb +2 -5
  113. data/lib/stack_one/models/shared/value.rb +8 -11
  114. data/lib/stack_one/models/shared/writeresultapimodel.rb +5 -2
  115. data/lib/stack_one/models/shared.rb +59 -11
  116. data/lib/stack_one/proxy.rb +3 -1
  117. data/lib/stack_one/sdkconfiguration.rb +3 -3
  118. data/lib/stack_one/stackone.rb +1 -2
  119. data/lib/stackone_client.rb +0 -1
  120. metadata +70 -7
  121. data/lib/stack_one/models/operations/create_request.rb +0 -30
  122. data/lib/stack_one/models/shared/createevent.rb +0 -27
  123. data/lib/stack_one/models/shared/createeventresponse.rb +0 -33
  124. data/lib/stack_one/webhooks.rb +0 -76
@@ -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
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The comma separated list of fields to return in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
21
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
22
  # Indicates that the raw request result is returned
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
21
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
22
  # Indicates that the raw request result is returned
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
21
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
22
  # Indicates that the raw request result is returned
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
21
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
22
  # Indicates that the raw request result is returned
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
@@ -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
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The comma separated list of fields to return 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
18
  # Filter parameters that allow greater customisation of the list response
19
- field :filter, T.nilable(::StackOne::Operations::AtsListAssessmentsPackagesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
19
+ field :filter, T.nilable(::StackOne::Operations::AtsListAssessmentsPackagesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -26,7 +26,7 @@ module StackOne
26
26
  # The number of results per page
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
29
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
@@ -16,7 +16,7 @@ module StackOne
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
18
  # Filter parameters that allow greater customisation of the list response
19
- field :filter, T.nilable(::StackOne::Operations::AtsListBackgroundCheckPackagesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
19
+ field :filter, T.nilable(::StackOne::Operations::AtsListBackgroundCheckPackagesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -26,7 +26,7 @@ module StackOne
26
26
  # The number of results per page
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
29
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
@@ -26,7 +26,7 @@ module StackOne
26
26
  # The number of results per page
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
- field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
29
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
@@ -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,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 Operations
9
+
10
+
11
+ class AtsOrderAssessmentsRequestRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :ats_create_candidates_assessments_request_dto, ::StackOne::Shared::AtsCreateCandidatesAssessmentsRequestDto, { 'request': { 'media_type': 'application/json' } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+
19
+
20
+ sig { params(ats_create_candidates_assessments_request_dto: ::StackOne::Shared::AtsCreateCandidatesAssessmentsRequestDto, x_account_id: ::String).void }
21
+ def initialize(ats_create_candidates_assessments_request_dto: nil, x_account_id: nil)
22
+ @ats_create_candidates_assessments_request_dto = ats_create_candidates_assessments_request_dto
23
+ @x_account_id = x_account_id
24
+ end
25
+ end
26
+ end
27
+ 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 AtsOrderAssessmentsRequestResponse < ::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 order request of the assessment for candidate.
23
+ field :create_assessment_order_result, T.nilable(::StackOne::Shared::CreateAssessmentOrderResult)
24
+
25
+
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_assessment_order_result: T.nilable(::StackOne::Shared::CreateAssessmentOrderResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_assessment_order_result: nil)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @create_assessment_order_result = create_assessment_order_result
33
+ end
34
+ end
35
+ end
36
+ 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 Operations
9
+
10
+
11
+ class AtsOrderBackgroundCheckRequestRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :ats_create_background_check_order_request_dto, ::StackOne::Shared::AtsCreateBackgroundCheckOrderRequestDto, { 'request': { 'media_type': 'application/json' } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+
19
+
20
+ sig { params(ats_create_background_check_order_request_dto: ::StackOne::Shared::AtsCreateBackgroundCheckOrderRequestDto, x_account_id: ::String).void }
21
+ def initialize(ats_create_background_check_order_request_dto: nil, x_account_id: nil)
22
+ @ats_create_background_check_order_request_dto = ats_create_background_check_order_request_dto
23
+ @x_account_id = x_account_id
24
+ end
25
+ end
26
+ end
27
+ 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 AtsOrderBackgroundCheckRequestResponse < ::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 order request of the background check for candidate.
23
+ field :create_background_check_order_result, T.nilable(::StackOne::Shared::CreateBackgroundCheckOrderResult)
24
+
25
+
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_background_check_order_result: T.nilable(::StackOne::Shared::CreateBackgroundCheckOrderResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_background_check_order_result: nil)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @create_background_check_order_result = create_background_check_order_result
33
+ end
34
+ end
35
+ end
36
+ end
@@ -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