stackone_client 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stackone/models/operations/hris_get_company.rb +3 -3
  3. data/lib/stackone/models/operations/hris_get_employee.rb +3 -3
  4. data/lib/stackone/models/shared/content.rb +4 -4
  5. data/lib/stackone/models/shared/costcenters.rb +5 -2
  6. data/lib/stackone/models/shared/countrycodeenum.rb +4 -4
  7. data/lib/stackone/models/shared/documentapimodel.rb +8 -8
  8. data/lib/stackone/models/shared/employee.rb +39 -22
  9. data/lib/stackone/models/shared/employeecustomfields.rb +3 -3
  10. data/lib/stackone/models/shared/employment.rb +11 -10
  11. data/lib/stackone/models/shared/{documentfileformatenum.rb → fileformatenum.rb} +16 -4
  12. data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +3 -3
  13. data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +3 -3
  14. data/lib/stackone/models/shared/hrislocation.rb +8 -8
  15. data/lib/stackone/models/shared/workeligibility.rb +101 -0
  16. data/lib/stackone/sdk.rb +1 -4
  17. data/lib/stackone/sdkconfiguration.rb +3 -3
  18. data/lib/stackone_client.rb +4 -154
  19. metadata +3 -153
  20. data/lib/stackone/ats.rb +0 -1289
  21. data/lib/stackone/crm.rb +0 -323
  22. data/lib/stackone/marketing.rb +0 -584
  23. data/lib/stackone/models/operations/ats_create_application.rb +0 -53
  24. data/lib/stackone/models/operations/ats_create_candidate.rb +0 -53
  25. data/lib/stackone/models/operations/ats_create_candidate_note.rb +0 -56
  26. data/lib/stackone/models/operations/ats_create_offer.rb +0 -53
  27. data/lib/stackone/models/operations/ats_get_application.rb +0 -88
  28. data/lib/stackone/models/operations/ats_get_application_offer.rb +0 -91
  29. data/lib/stackone/models/operations/ats_get_application_scorecard.rb +0 -91
  30. data/lib/stackone/models/operations/ats_get_candidate.rb +0 -88
  31. data/lib/stackone/models/operations/ats_get_candidate_note.rb +0 -91
  32. data/lib/stackone/models/operations/ats_get_department.rb +0 -88
  33. data/lib/stackone/models/operations/ats_get_interview.rb +0 -88
  34. data/lib/stackone/models/operations/ats_get_interview_stage.rb +0 -88
  35. data/lib/stackone/models/operations/ats_get_job.rb +0 -88
  36. data/lib/stackone/models/operations/ats_get_job_posting.rb +0 -91
  37. data/lib/stackone/models/operations/ats_get_location.rb +0 -88
  38. data/lib/stackone/models/operations/ats_get_offer.rb +0 -88
  39. data/lib/stackone/models/operations/ats_get_rejected_reason.rb +0 -88
  40. data/lib/stackone/models/operations/ats_get_user.rb +0 -88
  41. data/lib/stackone/models/operations/ats_list_application_scorecards.rb +0 -88
  42. data/lib/stackone/models/operations/ats_list_applications.rb +0 -85
  43. data/lib/stackone/models/operations/ats_list_applications_offers.rb +0 -88
  44. data/lib/stackone/models/operations/ats_list_candidate_notes.rb +0 -88
  45. data/lib/stackone/models/operations/ats_list_candidates.rb +0 -85
  46. data/lib/stackone/models/operations/ats_list_departments.rb +0 -85
  47. data/lib/stackone/models/operations/ats_list_interview_stages.rb +0 -85
  48. data/lib/stackone/models/operations/ats_list_interviews.rb +0 -85
  49. data/lib/stackone/models/operations/ats_list_job_postings.rb +0 -88
  50. data/lib/stackone/models/operations/ats_list_jobs.rb +0 -85
  51. data/lib/stackone/models/operations/ats_list_locations.rb +0 -85
  52. data/lib/stackone/models/operations/ats_list_offers.rb +0 -85
  53. data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +0 -85
  54. data/lib/stackone/models/operations/ats_list_users.rb +0 -85
  55. data/lib/stackone/models/operations/ats_update_application.rb +0 -56
  56. data/lib/stackone/models/operations/ats_update_candidate.rb +0 -56
  57. data/lib/stackone/models/operations/crm_create_contact.rb +0 -53
  58. data/lib/stackone/models/operations/crm_get_account.rb +0 -88
  59. data/lib/stackone/models/operations/crm_get_contact.rb +0 -88
  60. data/lib/stackone/models/operations/crm_get_list.rb +0 -88
  61. data/lib/stackone/models/operations/crm_list_accounts.rb +0 -85
  62. data/lib/stackone/models/operations/crm_list_contacts.rb +0 -85
  63. data/lib/stackone/models/operations/crm_list_lists.rb +0 -85
  64. data/lib/stackone/models/operations/crm_update_contact.rb +0 -56
  65. data/lib/stackone/models/operations/marketing_create_email_template.rb +0 -53
  66. data/lib/stackone/models/operations/marketing_create_omni_channel_template.rb +0 -53
  67. data/lib/stackone/models/operations/marketing_create_push_template.rb +0 -53
  68. data/lib/stackone/models/operations/marketing_get_campaign.rb +0 -88
  69. data/lib/stackone/models/operations/marketing_get_email_template.rb +0 -88
  70. data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +0 -88
  71. data/lib/stackone/models/operations/marketing_get_push_template.rb +0 -88
  72. data/lib/stackone/models/operations/marketing_list_campaigns.rb +0 -85
  73. data/lib/stackone/models/operations/marketing_list_email_templates.rb +0 -85
  74. data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +0 -85
  75. data/lib/stackone/models/operations/marketing_list_push_templates.rb +0 -85
  76. data/lib/stackone/models/operations/marketing_update_email_template.rb +0 -56
  77. data/lib/stackone/models/operations/marketing_update_omni_channel_template.rb +0 -56
  78. data/lib/stackone/models/operations/marketing_update_push_template.rb +0 -56
  79. data/lib/stackone/models/shared/account.rb +0 -55
  80. data/lib/stackone/models/shared/accountaddress.rb +0 -342
  81. data/lib/stackone/models/shared/accountresult.rb +0 -29
  82. data/lib/stackone/models/shared/accountspaginated.rb +0 -34
  83. data/lib/stackone/models/shared/answer.rb +0 -64
  84. data/lib/stackone/models/shared/application.rb +0 -158
  85. data/lib/stackone/models/shared/applicationattachment.rb +0 -63
  86. data/lib/stackone/models/shared/applicationresult.rb +0 -29
  87. data/lib/stackone/models/shared/applicationspaginated.rb +0 -34
  88. data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +0 -102
  89. data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +0 -46
  90. data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +0 -57
  91. data/lib/stackone/models/shared/atscreateofferrequestdto.rb +0 -72
  92. data/lib/stackone/models/shared/atslocation.rb +0 -28
  93. data/lib/stackone/models/shared/atslocationresult.rb +0 -29
  94. data/lib/stackone/models/shared/atslocationspaginated.rb +0 -34
  95. data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +0 -105
  96. data/lib/stackone/models/shared/atsupdatecandidatesrequestdto.rb +0 -49
  97. data/lib/stackone/models/shared/attachmenttype.rb +0 -40
  98. data/lib/stackone/models/shared/campaign.rb +0 -120
  99. data/lib/stackone/models/shared/campaignresult.rb +0 -29
  100. data/lib/stackone/models/shared/campaignspaginated.rb +0 -34
  101. data/lib/stackone/models/shared/candidate.rb +0 -64
  102. data/lib/stackone/models/shared/candidateemail.rb +0 -28
  103. data/lib/stackone/models/shared/candidateresult.rb +0 -29
  104. data/lib/stackone/models/shared/candidatespaginated.rb +0 -34
  105. data/lib/stackone/models/shared/channelsenum.rb +0 -42
  106. data/lib/stackone/models/shared/contact.rb +0 -52
  107. data/lib/stackone/models/shared/contactresult.rb +0 -29
  108. data/lib/stackone/models/shared/contactspaginated.rb +0 -34
  109. data/lib/stackone/models/shared/createcandidatenoteresult.rb +0 -31
  110. data/lib/stackone/models/shared/createofferresult.rb +0 -31
  111. data/lib/stackone/models/shared/createresult.rb +0 -31
  112. data/lib/stackone/models/shared/createtemplateresult.rb +0 -31
  113. data/lib/stackone/models/shared/crmcreatecontactrequestdto.rb +0 -43
  114. data/lib/stackone/models/shared/department.rb +0 -28
  115. data/lib/stackone/models/shared/departmentresult.rb +0 -29
  116. data/lib/stackone/models/shared/departmentspaginated.rb +0 -34
  117. data/lib/stackone/models/shared/emailmessages.rb +0 -93
  118. data/lib/stackone/models/shared/field.rb +0 -56
  119. data/lib/stackone/models/shared/interview.rb +0 -117
  120. data/lib/stackone/models/shared/interviewer.rb +0 -37
  121. data/lib/stackone/models/shared/interviewpart.rb +0 -40
  122. data/lib/stackone/models/shared/interviewspaginated.rb +0 -34
  123. data/lib/stackone/models/shared/interviewsresult.rb +0 -29
  124. data/lib/stackone/models/shared/interviewstage.rb +0 -37
  125. data/lib/stackone/models/shared/interviewstageresult.rb +0 -29
  126. data/lib/stackone/models/shared/interviewstagespaginated.rb +0 -34
  127. data/lib/stackone/models/shared/job.rb +0 -96
  128. data/lib/stackone/models/shared/jobhiringteam.rb +0 -37
  129. data/lib/stackone/models/shared/jobposting.rb +0 -189
  130. data/lib/stackone/models/shared/jobpostingcompensation.rb +0 -149
  131. data/lib/stackone/models/shared/jobpostinglocation.rb +0 -28
  132. data/lib/stackone/models/shared/jobpostingquestionnaire.rb +0 -34
  133. data/lib/stackone/models/shared/jobpostingresult.rb +0 -29
  134. data/lib/stackone/models/shared/jobpostingspaginated.rb +0 -34
  135. data/lib/stackone/models/shared/jobresult.rb +0 -29
  136. data/lib/stackone/models/shared/jobspaginated.rb +0 -34
  137. data/lib/stackone/models/shared/list.rb +0 -67
  138. data/lib/stackone/models/shared/listresult.rb +0 -29
  139. data/lib/stackone/models/shared/listspaginated.rb +0 -34
  140. data/lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb +0 -34
  141. data/lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb +0 -34
  142. data/lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb +0 -34
  143. data/lib/stackone/models/shared/message.rb +0 -50
  144. data/lib/stackone/models/shared/note.rb +0 -69
  145. data/lib/stackone/models/shared/notecontentapimodel.rb +0 -25
  146. data/lib/stackone/models/shared/noteresult.rb +0 -29
  147. data/lib/stackone/models/shared/notespaginated.rb +0 -34
  148. data/lib/stackone/models/shared/offer.rb +0 -81
  149. data/lib/stackone/models/shared/offerhistory.rb +0 -37
  150. data/lib/stackone/models/shared/offerspaginated.rb +0 -34
  151. data/lib/stackone/models/shared/offersresult.rb +0 -29
  152. data/lib/stackone/models/shared/pushmessages.rb +0 -81
  153. data/lib/stackone/models/shared/question.rb +0 -73
  154. data/lib/stackone/models/shared/questionmultiplechoiceanswers.rb +0 -28
  155. data/lib/stackone/models/shared/questionnaire.rb +0 -28
  156. data/lib/stackone/models/shared/rejectedreason.rb +0 -60
  157. data/lib/stackone/models/shared/rejectedreasonresult.rb +0 -29
  158. data/lib/stackone/models/shared/rejectedreasonspaginated.rb +0 -34
  159. data/lib/stackone/models/shared/resultlink.rb +0 -28
  160. data/lib/stackone/models/shared/scorecard.rb +0 -65
  161. data/lib/stackone/models/shared/scorecardsection.rb +0 -31
  162. data/lib/stackone/models/shared/scorecardspaginated.rb +0 -34
  163. data/lib/stackone/models/shared/sociallink.rb +0 -28
  164. data/lib/stackone/models/shared/template.rb +0 -37
  165. data/lib/stackone/models/shared/templateresult.rb +0 -29
  166. data/lib/stackone/models/shared/templatespaginated.rb +0 -34
  167. data/lib/stackone/models/shared/updateresult.rb +0 -31
  168. data/lib/stackone/models/shared/user.rb +0 -40
  169. data/lib/stackone/models/shared/userresult.rb +0 -29
  170. data/lib/stackone/models/shared/userspaginated.rb +0 -34
@@ -1,88 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/interviewsresult'
9
-
10
- module StackOne
11
- module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class AtsGetInterviewQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
-
23
- class AtsGetInterviewRequest < ::StackOne::Utils::FieldAugmented
24
- extend T::Sig
25
-
26
-
27
- field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
28
- # The account identifier
29
- field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
30
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
31
- field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
32
- # The unified cursor
33
- field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
34
- # The page number of the results to fetch
35
- #
36
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
- field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
38
- # The number of results per page
39
- field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::AtsGetInterviewQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
- # Indicates that the raw request result is returned
43
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
- # The sync token to select the only updated results
45
- field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
46
- # Use a string with a date to only select results updated after that given date
47
- field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
-
49
-
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::AtsGetInterviewQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
- @id = id
53
- @x_account_id = x_account_id
54
- @fields = fields
55
- @next_ = next_
56
- @page = page
57
- @page_size = page_size
58
- @proxy = proxy
59
- @raw = raw
60
- @sync_token = sync_token
61
- @updated_after = updated_after
62
- end
63
- end
64
-
65
-
66
- class AtsGetInterviewResponse < ::StackOne::Utils::FieldAugmented
67
- extend T::Sig
68
-
69
- # HTTP response content type for this operation
70
- field :content_type, String
71
- # Raw HTTP response; suitable for custom response parsing
72
- field :raw_response, Faraday::Response
73
- # HTTP response status code for this operation
74
- field :status_code, Integer
75
- # The interview with the given identifier was retrieved.
76
- field :interviews_result, T.nilable(Shared::InterviewsResult)
77
-
78
-
79
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, interviews_result: T.nilable(Shared::InterviewsResult)).void }
80
- def initialize(content_type: nil, raw_response: nil, status_code: nil, interviews_result: nil)
81
- @content_type = content_type
82
- @raw_response = raw_response
83
- @status_code = status_code
84
- @interviews_result = interviews_result
85
- end
86
- end
87
- end
88
- end
@@ -1,88 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/interviewstageresult'
9
-
10
- module StackOne
11
- module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class AtsGetInterviewStageQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
-
23
- class AtsGetInterviewStageRequest < ::StackOne::Utils::FieldAugmented
24
- extend T::Sig
25
-
26
-
27
- field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
28
- # The account identifier
29
- field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
30
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
31
- field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
32
- # The unified cursor
33
- field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
34
- # The page number of the results to fetch
35
- #
36
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
- field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
38
- # The number of results per page
39
- field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::AtsGetInterviewStageQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
- # Indicates that the raw request result is returned
43
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
- # The sync token to select the only updated results
45
- field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
46
- # Use a string with a date to only select results updated after that given date
47
- field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
-
49
-
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::AtsGetInterviewStageQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
- @id = id
53
- @x_account_id = x_account_id
54
- @fields = fields
55
- @next_ = next_
56
- @page = page
57
- @page_size = page_size
58
- @proxy = proxy
59
- @raw = raw
60
- @sync_token = sync_token
61
- @updated_after = updated_after
62
- end
63
- end
64
-
65
-
66
- class AtsGetInterviewStageResponse < ::StackOne::Utils::FieldAugmented
67
- extend T::Sig
68
-
69
- # HTTP response content type for this operation
70
- field :content_type, String
71
- # Raw HTTP response; suitable for custom response parsing
72
- field :raw_response, Faraday::Response
73
- # HTTP response status code for this operation
74
- field :status_code, Integer
75
- # The interview-stage with the given identifier was retrieved.
76
- field :interview_stage_result, T.nilable(Shared::InterviewStageResult)
77
-
78
-
79
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, interview_stage_result: T.nilable(Shared::InterviewStageResult)).void }
80
- def initialize(content_type: nil, raw_response: nil, status_code: nil, interview_stage_result: nil)
81
- @content_type = content_type
82
- @raw_response = raw_response
83
- @status_code = status_code
84
- @interview_stage_result = interview_stage_result
85
- end
86
- end
87
- end
88
- end
@@ -1,88 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/jobresult'
9
-
10
- module StackOne
11
- module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class AtsGetJobQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
-
23
- class AtsGetJobRequest < ::StackOne::Utils::FieldAugmented
24
- extend T::Sig
25
-
26
-
27
- field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
28
- # The account identifier
29
- field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
30
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
31
- field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
32
- # The unified cursor
33
- field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
34
- # The page number of the results to fetch
35
- #
36
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
- field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
38
- # The number of results per page
39
- field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::AtsGetJobQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
- # Indicates that the raw request result is returned
43
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
- # The sync token to select the only updated results
45
- field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
46
- # Use a string with a date to only select results updated after that given date
47
- field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
-
49
-
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::AtsGetJobQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
- @id = id
53
- @x_account_id = x_account_id
54
- @fields = fields
55
- @next_ = next_
56
- @page = page
57
- @page_size = page_size
58
- @proxy = proxy
59
- @raw = raw
60
- @sync_token = sync_token
61
- @updated_after = updated_after
62
- end
63
- end
64
-
65
-
66
- class AtsGetJobResponse < ::StackOne::Utils::FieldAugmented
67
- extend T::Sig
68
-
69
- # HTTP response content type for this operation
70
- field :content_type, String
71
- # Raw HTTP response; suitable for custom response parsing
72
- field :raw_response, Faraday::Response
73
- # HTTP response status code for this operation
74
- field :status_code, Integer
75
- # The job with the given identifier was retrieved.
76
- field :job_result, T.nilable(Shared::JobResult)
77
-
78
-
79
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, job_result: T.nilable(Shared::JobResult)).void }
80
- def initialize(content_type: nil, raw_response: nil, status_code: nil, job_result: nil)
81
- @content_type = content_type
82
- @raw_response = raw_response
83
- @status_code = status_code
84
- @job_result = job_result
85
- end
86
- end
87
- end
88
- end
@@ -1,91 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/jobpostingresult'
9
-
10
- module StackOne
11
- module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class AtsGetJobPostingQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
-
23
- class AtsGetJobPostingRequest < ::StackOne::Utils::FieldAugmented
24
- extend T::Sig
25
-
26
-
27
- field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
28
- # The account identifier
29
- field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
30
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
31
- field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
32
- # The comma separated list of fields that will be included in the response
33
- field :include, T.nilable(String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
34
- # The unified cursor
35
- field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
36
- # The page number of the results to fetch
37
- #
38
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
39
- field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
40
- # The number of results per page
41
- field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
42
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
43
- field :proxy, T.nilable(Operations::AtsGetJobPostingQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
44
- # Indicates that the raw request result is returned
45
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
46
- # The sync token to select the only updated results
47
- field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
48
- # Use a string with a date to only select results updated after that given date
49
- field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
50
-
51
-
52
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), include: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::AtsGetJobPostingQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
53
- def initialize(id: nil, x_account_id: nil, fields: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
54
- @id = id
55
- @x_account_id = x_account_id
56
- @fields = fields
57
- @include = include
58
- @next_ = next_
59
- @page = page
60
- @page_size = page_size
61
- @proxy = proxy
62
- @raw = raw
63
- @sync_token = sync_token
64
- @updated_after = updated_after
65
- end
66
- end
67
-
68
-
69
- class AtsGetJobPostingResponse < ::StackOne::Utils::FieldAugmented
70
- extend T::Sig
71
-
72
- # HTTP response content type for this operation
73
- field :content_type, String
74
- # Raw HTTP response; suitable for custom response parsing
75
- field :raw_response, Faraday::Response
76
- # HTTP response status code for this operation
77
- field :status_code, Integer
78
- # The job with the given identifier was retrieved.
79
- field :job_posting_result, T.nilable(Shared::JobPostingResult)
80
-
81
-
82
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, job_posting_result: T.nilable(Shared::JobPostingResult)).void }
83
- def initialize(content_type: nil, raw_response: nil, status_code: nil, job_posting_result: nil)
84
- @content_type = content_type
85
- @raw_response = raw_response
86
- @status_code = status_code
87
- @job_posting_result = job_posting_result
88
- end
89
- end
90
- end
91
- end
@@ -1,88 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/atslocationresult'
9
-
10
- module StackOne
11
- module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class AtsGetLocationQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
-
23
- class AtsGetLocationRequest < ::StackOne::Utils::FieldAugmented
24
- extend T::Sig
25
-
26
-
27
- field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
28
- # The account identifier
29
- field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
30
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
31
- field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
32
- # The unified cursor
33
- field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
34
- # The page number of the results to fetch
35
- #
36
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
- field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
38
- # The number of results per page
39
- field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::AtsGetLocationQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
- # Indicates that the raw request result is returned
43
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
- # The sync token to select the only updated results
45
- field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
46
- # Use a string with a date to only select results updated after that given date
47
- field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
-
49
-
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::AtsGetLocationQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
- @id = id
53
- @x_account_id = x_account_id
54
- @fields = fields
55
- @next_ = next_
56
- @page = page
57
- @page_size = page_size
58
- @proxy = proxy
59
- @raw = raw
60
- @sync_token = sync_token
61
- @updated_after = updated_after
62
- end
63
- end
64
-
65
-
66
- class AtsGetLocationResponse < ::StackOne::Utils::FieldAugmented
67
- extend T::Sig
68
-
69
- # HTTP response content type for this operation
70
- field :content_type, String
71
- # Raw HTTP response; suitable for custom response parsing
72
- field :raw_response, Faraday::Response
73
- # HTTP response status code for this operation
74
- field :status_code, Integer
75
- # The location with the given identifier was retrieved.
76
- field :ats_location_result, T.nilable(Shared::ATSLocationResult)
77
-
78
-
79
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, ats_location_result: T.nilable(Shared::ATSLocationResult)).void }
80
- def initialize(content_type: nil, raw_response: nil, status_code: nil, ats_location_result: nil)
81
- @content_type = content_type
82
- @raw_response = raw_response
83
- @status_code = status_code
84
- @ats_location_result = ats_location_result
85
- end
86
- end
87
- end
88
- end
@@ -1,88 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/offersresult'
9
-
10
- module StackOne
11
- module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class AtsGetOfferQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
-
23
- class AtsGetOfferRequest < ::StackOne::Utils::FieldAugmented
24
- extend T::Sig
25
-
26
-
27
- field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
28
- # The account identifier
29
- field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
30
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
31
- field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
32
- # The unified cursor
33
- field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
34
- # The page number of the results to fetch
35
- #
36
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
- field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
38
- # The number of results per page
39
- field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::AtsGetOfferQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
- # Indicates that the raw request result is returned
43
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
- # The sync token to select the only updated results
45
- field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
46
- # Use a string with a date to only select results updated after that given date
47
- field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
-
49
-
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::AtsGetOfferQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
- @id = id
53
- @x_account_id = x_account_id
54
- @fields = fields
55
- @next_ = next_
56
- @page = page
57
- @page_size = page_size
58
- @proxy = proxy
59
- @raw = raw
60
- @sync_token = sync_token
61
- @updated_after = updated_after
62
- end
63
- end
64
-
65
-
66
- class AtsGetOfferResponse < ::StackOne::Utils::FieldAugmented
67
- extend T::Sig
68
-
69
- # HTTP response content type for this operation
70
- field :content_type, String
71
- # Raw HTTP response; suitable for custom response parsing
72
- field :raw_response, Faraday::Response
73
- # HTTP response status code for this operation
74
- field :status_code, Integer
75
- # The offer with the given identifier was retrieved.
76
- field :offers_result, T.nilable(Shared::OffersResult)
77
-
78
-
79
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, offers_result: T.nilable(Shared::OffersResult)).void }
80
- def initialize(content_type: nil, raw_response: nil, status_code: nil, offers_result: nil)
81
- @content_type = content_type
82
- @raw_response = raw_response
83
- @status_code = status_code
84
- @offers_result = offers_result
85
- end
86
- end
87
- end
88
- end
@@ -1,88 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/rejectedreasonresult'
9
-
10
- module StackOne
11
- module Operations
12
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
13
- class AtsGetRejectedReasonQueryParamProxy < ::StackOne::Utils::FieldAugmented
14
- extend T::Sig
15
-
16
-
17
-
18
-
19
- def initialize; end
20
- end
21
-
22
-
23
- class AtsGetRejectedReasonRequest < ::StackOne::Utils::FieldAugmented
24
- extend T::Sig
25
-
26
-
27
- field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
28
- # The account identifier
29
- field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
30
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
31
- field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
32
- # The unified cursor
33
- field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
34
- # The page number of the results to fetch
35
- #
36
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
- field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
38
- # The number of results per page
39
- field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
40
- # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
41
- field :proxy, T.nilable(Operations::AtsGetRejectedReasonQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
42
- # Indicates that the raw request result is returned
43
- field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
44
- # The sync token to select the only updated results
45
- field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
46
- # Use a string with a date to only select results updated after that given date
47
- field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
48
-
49
-
50
- sig { params(id: String, x_account_id: String, fields: T.nilable(String), next_: T.nilable(String), page: T.nilable(String), page_size: T.nilable(String), proxy: T.nilable(Operations::AtsGetRejectedReasonQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
51
- def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
52
- @id = id
53
- @x_account_id = x_account_id
54
- @fields = fields
55
- @next_ = next_
56
- @page = page
57
- @page_size = page_size
58
- @proxy = proxy
59
- @raw = raw
60
- @sync_token = sync_token
61
- @updated_after = updated_after
62
- end
63
- end
64
-
65
-
66
- class AtsGetRejectedReasonResponse < ::StackOne::Utils::FieldAugmented
67
- extend T::Sig
68
-
69
- # HTTP response content type for this operation
70
- field :content_type, String
71
- # Raw HTTP response; suitable for custom response parsing
72
- field :raw_response, Faraday::Response
73
- # HTTP response status code for this operation
74
- field :status_code, Integer
75
- # The rejected reason with the given identifier was retrieved.
76
- field :rejected_reason_result, T.nilable(Shared::RejectedReasonResult)
77
-
78
-
79
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, rejected_reason_result: T.nilable(Shared::RejectedReasonResult)).void }
80
- def initialize(content_type: nil, raw_response: nil, status_code: nil, rejected_reason_result: nil)
81
- @content_type = content_type
82
- @raw_response = raw_response
83
- @status_code = status_code
84
- @rejected_reason_result = rejected_reason_result
85
- end
86
- end
87
- end
88
- end