stackone_client 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +1 -1
  3. data/lib/stack_one/hris.rb +50 -0
  4. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +3 -22
  5. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +3 -22
  6. data/lib/stack_one/models/operations/ats_get_application_request.rb +3 -22
  7. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +3 -22
  8. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +3 -22
  9. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +3 -22
  10. data/lib/stack_one/models/operations/ats_get_department_request.rb +3 -22
  11. data/lib/stack_one/models/operations/ats_get_interview_request.rb +3 -22
  12. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +3 -22
  13. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +3 -22
  14. data/lib/stack_one/models/operations/ats_get_job_request.rb +3 -22
  15. data/lib/stack_one/models/operations/ats_get_location_request.rb +3 -22
  16. data/lib/stack_one/models/operations/ats_get_offer_request.rb +3 -22
  17. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +3 -22
  18. data/lib/stack_one/models/operations/ats_get_user_request.rb +3 -22
  19. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  34. data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +30 -0
  35. data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
  36. data/lib/stack_one/models/operations.rb +2 -0
  37. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
  38. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -28
  39. data/lib/stack_one/models/shared/content.rb +5 -2
  40. data/lib/stack_one/models/shared/employee.rb +5 -2
  41. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
  42. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  43. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +27 -0
  44. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +115 -0
  45. data/lib/stack_one/models/shared/preferred_language.rb +27 -0
  46. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +59 -0
  47. data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +27 -0
  48. data/lib/stack_one/models/shared/{atsupdateapplicationrequestdto_application_status.rb → unifieduploadrequestdto_file_format.rb} +6 -6
  49. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1226 -0
  50. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +19 -0
  51. data/lib/stack_one/models/shared.rb +12 -6
  52. data/lib/stack_one/sdkconfiguration.rb +3 -3
  53. metadata +13 -5
  54. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +0 -30
  55. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 504d6ecfd00326ec7819b00a1618be22983c05881a23c458bbf4bba9efeabf6e
4
- data.tar.gz: b14dc3ffe05e8d7b77c3db8ac8f9e0a12f28415709fdd537653e66a9d2f9faf2
3
+ metadata.gz: aabe8abf79f3151c8a0749321f389b77959b486b4da285d2cd93baec06000223
4
+ data.tar.gz: 36886287dde7d2a89c5051d5d679d5b3718a43bd3d7f6d1a021202d0b9478355
5
5
  SHA512:
6
- metadata.gz: b6b2c75f6249cc151f0d0eb929d920a0b52ff6b4b5f5a99bf8242038673454649b97f408b8ece679fd1496d58137f0a4166a6676147a850b657a893876083525
7
- data.tar.gz: ccc9a6b49a0cfbb861c909c7068d29df13fc5e4f67c95bd2728d7405a5850b1df57c43ceec1b7d04909aabecc42afb4ec6b4c1766a8d918fe0302321c27edd64
6
+ metadata.gz: 76877cd3d90b042b78903d7c8c94c7bb86b6dc0bd9526b741516c22628f129e1ec1477be7f9b0d22c3ea6308ca2d7ca68f5e7d0640195090136583c1ace7ea27
7
+ data.tar.gz: f35c01e5d0c7eab4f3f831205f298229d05c5e9ee4aa8182fd7e21f34c9dea64fbbc38e019a5f3f78abe6f3698ffaabf6f3b0651fb3ec265883c56f319161d68
data/lib/stack_one/ats.rb CHANGED
@@ -1339,7 +1339,7 @@ module StackOne
1339
1339
 
1340
1340
  sig { params(ats_update_application_request_dto: ::StackOne::Shared::AtsUpdateApplicationRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsUpdateApplicationResponse) }
1341
1341
  def update_application(ats_update_application_request_dto, id, x_account_id)
1342
- # update_application - Update Application
1342
+ # update_application - Update an Application
1343
1343
  request = ::StackOne::Operations::AtsUpdateApplicationRequest.new(
1344
1344
 
1345
1345
  ats_update_application_request_dto: ats_update_application_request_dto,
@@ -1113,5 +1113,55 @@ module StackOne
1113
1113
  end
1114
1114
  res
1115
1115
  end
1116
+
1117
+
1118
+ sig { params(unified_upload_request_dto: ::StackOne::Shared::UnifiedUploadRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::HrisUploadEmployeeDocumentResponse) }
1119
+ def upload_employee_document(unified_upload_request_dto, id, x_account_id)
1120
+ # upload_employee_document - Upload Employee Document
1121
+ request = ::StackOne::Operations::HrisUploadEmployeeDocumentRequest.new(
1122
+
1123
+ unified_upload_request_dto: unified_upload_request_dto,
1124
+ id: id,
1125
+ x_account_id: x_account_id
1126
+ )
1127
+ url, params = @sdk_configuration.get_server_details
1128
+ base_url = Utils.template_url(url, params)
1129
+ url = Utils.generate_url(
1130
+ ::StackOne::Operations::HrisUploadEmployeeDocumentRequest,
1131
+ base_url,
1132
+ '/unified/hris/employees/{id}/documents/upload',
1133
+ request
1134
+ )
1135
+ headers = Utils.get_headers(request)
1136
+ req_content_type, data, form = Utils.serialize_request_body(request, :unified_upload_request_dto, :json)
1137
+ headers['content-type'] = req_content_type
1138
+ raise StandardError, 'request body is required' if data.nil? && form.nil?
1139
+ headers['Accept'] = 'application/json'
1140
+ headers['user-agent'] = @sdk_configuration.user_agent
1141
+
1142
+ r = @sdk_configuration.client.post(url) do |req|
1143
+ req.headers = headers
1144
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
1145
+ if form
1146
+ req.body = Utils.encode_form(form)
1147
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
1148
+ req.body = URI.encode_www_form(data)
1149
+ else
1150
+ req.body = data
1151
+ end
1152
+ end
1153
+
1154
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
1155
+
1156
+ res = ::StackOne::Operations::HrisUploadEmployeeDocumentResponse.new(
1157
+ status_code: r.status, content_type: content_type, raw_response: r
1158
+ )
1159
+ if r.status == 200
1160
+ res.bytes = r.env.response_body if Utils.match_content_type(content_type, 'application/json')
1161
+
1162
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
1163
+ end
1164
+ res
1165
+ end
1116
1166
  end
1117
1167
  end
@@ -17,41 +17,22 @@ module StackOne
17
17
  field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
18
18
  # The account identifier
19
19
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
20
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # The unified cursor
23
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
- # The page number of the results to fetch
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
29
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
24
  # Indicates that the raw request result is returned
33
25
  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
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
26
 
41
27
 
42
- sig { params(id: ::String, sub_resource_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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
- def initialize(id: nil, sub_resource_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)
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)
44
30
  @id = id
45
31
  @sub_resource_id = sub_resource_id
46
32
  @x_account_id = x_account_id
47
33
  @fields_ = fields_
48
- @next_ = next_
49
- @page = page
50
- @page_size = page_size
51
34
  @proxy = proxy
52
35
  @raw = raw
53
- @sync_token = sync_token
54
- @updated_after = updated_after
55
36
  end
56
37
  end
57
38
  end
@@ -17,41 +17,22 @@ module StackOne
17
17
  field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
18
18
  # The account identifier
19
19
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
20
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # The unified cursor
23
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
- # The page number of the results to fetch
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
29
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
24
  # Indicates that the raw request result is returned
33
25
  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
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
26
 
41
27
 
42
- sig { params(id: ::String, sub_resource_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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
- def initialize(id: nil, sub_resource_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)
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)
44
30
  @id = id
45
31
  @sub_resource_id = sub_resource_id
46
32
  @x_account_id = x_account_id
47
33
  @fields_ = fields_
48
- @next_ = next_
49
- @page = page
50
- @page_size = page_size
51
34
  @proxy = proxy
52
35
  @raw = raw
53
- @sync_token = sync_token
54
- @updated_after = updated_after
55
36
  end
56
37
  end
57
38
  end
@@ -17,41 +17,22 @@ module StackOne
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
18
  # The comma separated list of fields that will be expanded in the response
19
19
  field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
20
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
20
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # The unified cursor
23
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
- # The page number of the results to fetch
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
29
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
24
  # Indicates that the raw request result is returned
33
25
  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
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
26
 
41
27
 
42
- sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), 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 }
43
- def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
28
+ sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
29
+ def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, proxy: nil, raw: nil)
44
30
  @id = id
45
31
  @x_account_id = x_account_id
46
32
  @expand = expand
47
33
  @fields_ = fields_
48
- @next_ = next_
49
- @page = page
50
- @page_size = page_size
51
34
  @proxy = proxy
52
35
  @raw = raw
53
- @sync_token = sync_token
54
- @updated_after = updated_after
55
36
  end
56
37
  end
57
38
  end
@@ -17,41 +17,22 @@ module StackOne
17
17
  field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
18
18
  # The account identifier
19
19
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
20
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # The unified cursor
23
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
- # The page number of the results to fetch
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
29
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
24
  # Indicates that the raw request result is returned
33
25
  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
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
26
 
41
27
 
42
- sig { params(id: ::String, sub_resource_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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
- def initialize(id: nil, sub_resource_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)
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)
44
30
  @id = id
45
31
  @sub_resource_id = sub_resource_id
46
32
  @x_account_id = x_account_id
47
33
  @fields_ = fields_
48
- @next_ = next_
49
- @page = page
50
- @page_size = page_size
51
34
  @proxy = proxy
52
35
  @raw = raw
53
- @sync_token = sync_token
54
- @updated_after = updated_after
55
36
  end
56
37
  end
57
38
  end
@@ -17,41 +17,22 @@ module StackOne
17
17
  field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
18
18
  # The account identifier
19
19
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
20
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # The unified cursor
23
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
- # The page number of the results to fetch
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
29
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
24
  # Indicates that the raw request result is returned
33
25
  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
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
26
 
41
27
 
42
- sig { params(id: ::String, sub_resource_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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
- def initialize(id: nil, sub_resource_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)
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)
44
30
  @id = id
45
31
  @sub_resource_id = sub_resource_id
46
32
  @x_account_id = x_account_id
47
33
  @fields_ = fields_
48
- @next_ = next_
49
- @page = page
50
- @page_size = page_size
51
34
  @proxy = proxy
52
35
  @raw = raw
53
- @sync_token = sync_token
54
- @updated_after = updated_after
55
36
  end
56
37
  end
57
38
  end
@@ -15,40 +15,21 @@ module StackOne
15
15
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
16
  # The account identifier
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
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
- # The unified cursor
21
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
- # The page number of the results to fetch
23
- #
24
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
27
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
22
  # Indicates that the raw request result is returned
31
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
- # The sync token to select the only updated results
33
- #
34
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
35
- field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
36
- # Use a string with a date to only select results updated after that given date
37
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
24
 
39
25
 
40
- 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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
41
- 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)
26
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
27
+ def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
42
28
  @id = id
43
29
  @x_account_id = x_account_id
44
30
  @fields_ = fields_
45
- @next_ = next_
46
- @page = page
47
- @page_size = page_size
48
31
  @proxy = proxy
49
32
  @raw = raw
50
- @sync_token = sync_token
51
- @updated_after = updated_after
52
33
  end
53
34
  end
54
35
  end
@@ -15,40 +15,21 @@ module StackOne
15
15
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
16
  # The account identifier
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
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
- # The unified cursor
21
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
- # The page number of the results to fetch
23
- #
24
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
27
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
22
  # Indicates that the raw request result is returned
31
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
- # The sync token to select the only updated results
33
- #
34
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
35
- field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
36
- # Use a string with a date to only select results updated after that given date
37
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
24
 
39
25
 
40
- 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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
41
- 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)
26
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
27
+ def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
42
28
  @id = id
43
29
  @x_account_id = x_account_id
44
30
  @fields_ = fields_
45
- @next_ = next_
46
- @page = page
47
- @page_size = page_size
48
31
  @proxy = proxy
49
32
  @raw = raw
50
- @sync_token = sync_token
51
- @updated_after = updated_after
52
33
  end
53
34
  end
54
35
  end
@@ -15,40 +15,21 @@ module StackOne
15
15
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
16
  # The account identifier
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
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
- # The unified cursor
21
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
- # The page number of the results to fetch
23
- #
24
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
27
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
22
  # Indicates that the raw request result is returned
31
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
- # The sync token to select the only updated results
33
- #
34
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
35
- field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
36
- # Use a string with a date to only select results updated after that given date
37
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
24
 
39
25
 
40
- 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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
41
- 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)
26
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
27
+ def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
42
28
  @id = id
43
29
  @x_account_id = x_account_id
44
30
  @fields_ = fields_
45
- @next_ = next_
46
- @page = page
47
- @page_size = page_size
48
31
  @proxy = proxy
49
32
  @raw = raw
50
- @sync_token = sync_token
51
- @updated_after = updated_after
52
33
  end
53
34
  end
54
35
  end
@@ -15,40 +15,21 @@ module StackOne
15
15
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
16
  # The account identifier
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
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
- # The unified cursor
21
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
- # The page number of the results to fetch
23
- #
24
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
27
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
22
  # Indicates that the raw request result is returned
31
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
- # The sync token to select the only updated results
33
- #
34
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
35
- field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
36
- # Use a string with a date to only select results updated after that given date
37
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
38
24
 
39
25
 
40
- 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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
41
- 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)
26
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
27
+ def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
42
28
  @id = id
43
29
  @x_account_id = x_account_id
44
30
  @fields_ = fields_
45
- @next_ = next_
46
- @page = page
47
- @page_size = page_size
48
31
  @proxy = proxy
49
32
  @raw = raw
50
- @sync_token = sync_token
51
- @updated_after = updated_after
52
33
  end
53
34
  end
54
35
  end
@@ -15,43 +15,24 @@ module StackOne
15
15
  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
16
  # The account identifier
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
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
  # 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 } }
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
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
24
  # Indicates that the raw request result is returned
33
25
  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
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
26
 
41
27
 
42
- 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(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
- 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)
28
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), include: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
29
+ def initialize(id: nil, x_account_id: nil, fields_: nil, include: nil, proxy: nil, raw: nil)
44
30
  @id = id
45
31
  @x_account_id = x_account_id
46
32
  @fields_ = fields_
47
33
  @include = include
48
- @next_ = next_
49
- @page = page
50
- @page_size = page_size
51
34
  @proxy = proxy
52
35
  @raw = raw
53
- @sync_token = sync_token
54
- @updated_after = updated_after
55
36
  end
56
37
  end
57
38
  end
@@ -17,41 +17,22 @@ module StackOne
17
17
  field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
18
  # The comma separated list of fields that will be expanded in the response
19
19
  field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
20
- # The comma separated list of fields to return in the response (if empty, all fields are returned)
20
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
- # The unified cursor
23
- field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
- # The page number of the results to fetch
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
- field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
29
- field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
32
24
  # Indicates that the raw request result is returned
33
25
  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
- field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
26
 
41
27
 
42
- sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), 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 }
43
- def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
28
+ sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
29
+ def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, proxy: nil, raw: nil)
44
30
  @id = id
45
31
  @x_account_id = x_account_id
46
32
  @expand = expand
47
33
  @fields_ = fields_
48
- @next_ = next_
49
- @page = page
50
- @page_size = page_size
51
34
  @proxy = proxy
52
35
  @raw = raw
53
- @sync_token = sync_token
54
- @updated_after = updated_after
55
36
  end
56
37
  end
57
38
  end