stackone_client 0.2.6 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +5 -2
  3. data/lib/stack_one/ats.rb +1 -1
  4. data/lib/stack_one/hris.rb +50 -0
  5. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +3 -22
  6. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +3 -22
  7. data/lib/stack_one/models/operations/ats_get_application_request.rb +3 -22
  8. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +3 -22
  9. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +3 -22
  10. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +3 -22
  11. data/lib/stack_one/models/operations/ats_get_department_request.rb +3 -22
  12. data/lib/stack_one/models/operations/ats_get_interview_request.rb +3 -22
  13. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +3 -22
  14. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +3 -22
  15. data/lib/stack_one/models/operations/ats_get_job_request.rb +3 -22
  16. data/lib/stack_one/models/operations/ats_get_location_request.rb +3 -22
  17. data/lib/stack_one/models/operations/ats_get_offer_request.rb +3 -22
  18. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +3 -22
  19. data/lib/stack_one/models/operations/ats_get_user_request.rb +3 -22
  20. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  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_request.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  34. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  35. data/lib/stack_one/models/operations/crm_get_account_request.rb +3 -17
  36. data/lib/stack_one/models/operations/crm_get_contact_request.rb +3 -17
  37. data/lib/stack_one/models/operations/crm_get_list_request.rb +3 -17
  38. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
  39. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
  40. data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
  41. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +3 -17
  42. data/lib/stack_one/models/operations/hris_get_company_request.rb +3 -17
  43. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +3 -17
  44. data/lib/stack_one/models/operations/hris_get_employee_request.rb +3 -17
  45. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +3 -17
  46. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +3 -17
  47. data/lib/stack_one/models/operations/hris_get_employment_request.rb +3 -17
  48. data/lib/stack_one/models/operations/hris_get_location_request.rb +3 -17
  49. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +3 -17
  50. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
  51. data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
  52. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
  53. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
  54. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +1 -1
  55. data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
  56. data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
  57. data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
  58. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
  59. data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +30 -0
  60. data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
  61. data/lib/stack_one/models/operations/stackone_get_account_request.rb +5 -2
  62. data/lib/stack_one/models/operations.rb +2 -0
  63. data/lib/stack_one/models/shared/account.rb +8 -5
  64. data/lib/stack_one/models/shared/answer.rb +6 -3
  65. data/lib/stack_one/models/shared/application.rb +6 -3
  66. data/lib/stack_one/models/shared/application_interview_stage.rb +6 -3
  67. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
  68. data/lib/stack_one/models/shared/atslocation.rb +6 -3
  69. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +8 -28
  70. data/lib/stack_one/models/shared/campaign.rb +6 -3
  71. data/lib/stack_one/models/shared/candidate.rb +8 -5
  72. data/lib/stack_one/models/shared/company.rb +6 -3
  73. data/lib/stack_one/models/shared/contact.rb +6 -3
  74. data/lib/stack_one/models/shared/content.rb +5 -2
  75. data/lib/stack_one/models/shared/department.rb +6 -3
  76. data/lib/stack_one/models/shared/document.rb +6 -3
  77. data/lib/stack_one/models/shared/documentapimodel.rb +6 -3
  78. data/lib/stack_one/models/shared/emailmessages.rb +6 -3
  79. data/lib/stack_one/models/shared/employee.rb +9 -3
  80. data/lib/stack_one/models/shared/employee_company.rb +6 -3
  81. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
  82. data/lib/stack_one/models/shared/employeecustomfields.rb +6 -3
  83. data/lib/stack_one/models/shared/employment.rb +6 -3
  84. data/lib/stack_one/models/shared/field.rb +6 -3
  85. data/lib/stack_one/models/shared/home_location.rb +6 -3
  86. data/lib/stack_one/models/shared/hrisbenefit.rb +6 -3
  87. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  88. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +27 -0
  89. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +115 -0
  90. data/lib/stack_one/models/shared/hrislocation.rb +6 -3
  91. data/lib/stack_one/models/shared/interview.rb +8 -5
  92. data/lib/stack_one/models/shared/interview_interview_stage.rb +6 -3
  93. data/lib/stack_one/models/shared/interviewer.rb +6 -3
  94. data/lib/stack_one/models/shared/interviewpart.rb +12 -3
  95. data/lib/stack_one/models/shared/interviewstage.rb +6 -3
  96. data/lib/stack_one/models/shared/job.rb +6 -3
  97. data/lib/stack_one/models/shared/jobposting.rb +8 -5
  98. data/lib/stack_one/models/shared/jobpostinglocation.rb +6 -3
  99. data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +6 -3
  100. data/lib/stack_one/models/shared/list.rb +6 -3
  101. data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +6 -3
  102. data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +6 -3
  103. data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +6 -3
  104. data/lib/stack_one/models/shared/message.rb +6 -3
  105. data/lib/stack_one/models/shared/note.rb +6 -3
  106. data/lib/stack_one/models/shared/offer.rb +6 -3
  107. data/lib/stack_one/models/shared/preferred_language.rb +27 -0
  108. data/lib/stack_one/models/shared/pushmessages.rb +6 -3
  109. data/lib/stack_one/models/shared/question.rb +6 -3
  110. data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +6 -3
  111. data/lib/stack_one/models/shared/questionnaire.rb +6 -3
  112. data/lib/stack_one/models/shared/rejectedreason.rb +6 -3
  113. data/lib/stack_one/models/shared/scorecard.rb +6 -3
  114. data/lib/stack_one/models/shared/scorecardsection.rb +6 -3
  115. data/lib/stack_one/models/shared/template.rb +6 -3
  116. data/lib/stack_one/models/shared/timeoff.rb +6 -3
  117. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +59 -0
  118. data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +27 -0
  119. data/lib/stack_one/models/shared/{atsupdateapplicationrequestdto_application_status.rb → unifieduploadrequestdto_file_format.rb} +6 -6
  120. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1226 -0
  121. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +19 -0
  122. data/lib/stack_one/models/shared/user.rb +6 -3
  123. data/lib/stack_one/models/shared/work_location.rb +6 -3
  124. data/lib/stack_one/models/shared/workeligibility.rb +6 -3
  125. data/lib/stack_one/models/shared/workeligibility_document.rb +6 -3
  126. data/lib/stack_one/models/shared.rb +12 -6
  127. data/lib/stack_one/sdkconfiguration.rb +3 -3
  128. data/lib/stack_one/utils/utils.rb +4 -3
  129. metadata +13 -5
  130. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +0 -30
  131. 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: 51e0f99df5575b32036bf503c8396ad235bc0c62453da9b4b209569e89b0f545
4
+ data.tar.gz: 14e0310e191befb78f5963d6e5b9889af6ab8a346cfc2f04d0d1d5c943c3746d
5
5
  SHA512:
6
- metadata.gz: b6b2c75f6249cc151f0d0eb929d920a0b52ff6b4b5f5a99bf8242038673454649b97f408b8ece679fd1496d58137f0a4166a6676147a850b657a893876083525
7
- data.tar.gz: ccc9a6b49a0cfbb861c909c7068d29df13fc5e4f67c95bd2728d7405a5850b1df57c43ceec1b7d04909aabecc42afb4ec6b4c1766a8d918fe0302321c27edd64
6
+ metadata.gz: db653a859342e52f3365d6f96b6ff29fa3dd37bda639568389452dccc62cafd174ff4fe4555859365a14fcc7a14829a437993f30d5dd35dfd36b1a919b591e9a
7
+ data.tar.gz: 130cccafb8ef94745016055683d1794bf8d1b01595d09600bc0280cb4661202dd16918f3cc8d24474286b6600f8240f6d2e3d41a1dfd2622f887e87706c1b8a1
@@ -59,11 +59,12 @@ module StackOne
59
59
  end
60
60
 
61
61
 
62
- sig { params(id: ::String).returns(::StackOne::Operations::StackoneGetAccountResponse) }
63
- def get_account(id)
62
+ sig { params(expand_info: ::String, id: ::String).returns(::StackOne::Operations::StackoneGetAccountResponse) }
63
+ def get_account(expand_info, id)
64
64
  # get_account - Get Account
65
65
  request = ::StackOne::Operations::StackoneGetAccountRequest.new(
66
66
 
67
+ expand_info: expand_info,
67
68
  id: id
68
69
  )
69
70
  url, params = @sdk_configuration.get_server_details
@@ -75,11 +76,13 @@ module StackOne
75
76
  request
76
77
  )
77
78
  headers = {}
79
+ query_params = Utils.get_query_params(::StackOne::Operations::StackoneGetAccountRequest, request)
78
80
  headers['Accept'] = 'application/json'
79
81
  headers['user-agent'] = @sdk_configuration.user_agent
80
82
 
81
83
  r = @sdk_configuration.client.get(url) do |req|
82
84
  req.headers = headers
85
+ req.params = query_params
83
86
  Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
84
87
  end
85
88
 
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