stackone_client 0.36.0 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +597 -3
  3. data/lib/stack_one/documents.rb +1 -1
  4. data/lib/stack_one/hris.rb +61 -59
  5. data/lib/stack_one/messaging.rb +1 -1
  6. data/lib/stack_one/models/operations/ats_download_application_document_response.rb +13 -5
  7. data/lib/stack_one/models/operations/ats_download_application_document_response.rbi +6 -2
  8. data/lib/stack_one/models/operations/documents_download_file_response.rb +6 -6
  9. data/lib/stack_one/models/operations/documents_download_file_response.rbi +2 -2
  10. data/lib/stack_one/models/operations/hris_download_employee_document_response.rb +12 -152
  11. data/lib/stack_one/models/operations/hris_download_employee_document_response.rbi +6 -76
  12. data/lib/stack_one/models/operations/messaging_download_messaging_attachment_response.rb +6 -6
  13. data/lib/stack_one/models/operations/messaging_download_messaging_attachment_response.rbi +2 -2
  14. data/lib/stack_one/models/operations/ticketing_download_ticketing_attachment_response.rb +6 -6
  15. data/lib/stack_one/models/operations/ticketing_download_ticketing_attachment_response.rbi +2 -2
  16. data/lib/stack_one/models/shared/customfieldoption.rb +2 -2
  17. data/lib/stack_one/models/shared/customfieldoption_4.rb +28 -0
  18. data/lib/stack_one/models/shared/customfieldoption_4.rbi +11 -0
  19. data/lib/stack_one/models/shared/customfieldoption_value.rb +28 -0
  20. data/lib/stack_one/models/shared/customfieldoption_value.rbi +11 -0
  21. data/lib/stack_one/models/shared/customfields.rb +2 -2
  22. data/lib/stack_one/models/shared/downloadapimodel.rb +37 -0
  23. data/lib/stack_one/models/shared/downloadapimodel.rbi +15 -0
  24. data/lib/stack_one/models/shared/downloadheadersapimodel.rb +53 -0
  25. data/lib/stack_one/models/shared/downloadheadersapimodel.rbi +23 -0
  26. data/lib/stack_one/models/shared.rb +4 -0
  27. data/lib/stack_one/sdkconfiguration.rb +3 -3
  28. data/lib/stack_one/ticketing.rb +1 -1
  29. metadata +10 -2
@@ -21,127 +21,22 @@ module StackOne
21
21
  field :status_code, ::Integer
22
22
  # Raw HTTP response; suitable for custom response parsing
23
23
  field :raw_response, ::Faraday::Response
24
+
25
+ field :body, Crystalline::Nilable.new(::String)
24
26
  # The document related to the employee with the given identifiers was retrieved.
25
- field :two_hundred_application_gzip_bytes, Crystalline::Nilable.new(::String)
26
- # The document related to the employee with the given identifiers was retrieved.
27
- field :two_hundred_application_json_bytes, Crystalline::Nilable.new(::String)
28
- # The document related to the employee with the given identifiers was retrieved.
29
- field :two_hundred_application_msword_bytes, Crystalline::Nilable.new(::String)
30
- # The document related to the employee with the given identifiers was retrieved.
31
- field :two_hundred_application_octet_stream_bytes, Crystalline::Nilable.new(::String)
32
- # The document related to the employee with the given identifiers was retrieved.
33
- field :two_hundred_application_pdf_bytes, Crystalline::Nilable.new(::String)
34
- # The document related to the employee with the given identifiers was retrieved.
35
- field :two_hundred_application_rtf_bytes, Crystalline::Nilable.new(::String)
36
- # The document related to the employee with the given identifiers was retrieved.
37
- field :two_hundred_application_vnd_ms_excel_bytes, Crystalline::Nilable.new(::String)
38
- # The document related to the employee with the given identifiers was retrieved.
39
- field :two_hundred_application_vnd_ms_outlook_bytes, Crystalline::Nilable.new(::String)
40
- # The document related to the employee with the given identifiers was retrieved.
41
- field :two_hundred_application_vnd_ms_powerpoint_bytes, Crystalline::Nilable.new(::String)
42
- # The document related to the employee with the given identifiers was retrieved.
43
- field :two_hundred_application_vnd_oasis_opendocument_presentation_bytes, Crystalline::Nilable.new(::String)
44
- # The document related to the employee with the given identifiers was retrieved.
45
- field :two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes, Crystalline::Nilable.new(::String)
46
- # The document related to the employee with the given identifiers was retrieved.
47
- field :two_hundred_application_vnd_oasis_opendocument_text_bytes, Crystalline::Nilable.new(::String)
48
- # The document related to the employee with the given identifiers was retrieved.
49
- field :two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes, Crystalline::Nilable.new(::String)
50
- # The document related to the employee with the given identifiers was retrieved.
51
- field :two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes, Crystalline::Nilable.new(::String)
52
- # The document related to the employee with the given identifiers was retrieved.
53
- field :two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes, Crystalline::Nilable.new(::String)
54
- # The document related to the employee with the given identifiers was retrieved.
55
- field :two_hundred_application_x_7z_compressed_bytes, Crystalline::Nilable.new(::String)
56
- # The document related to the employee with the given identifiers was retrieved.
57
- field :two_hundred_application_x_rar_compressed_bytes, Crystalline::Nilable.new(::String)
58
- # The document related to the employee with the given identifiers was retrieved.
59
- field :two_hundred_application_xml_bytes, Crystalline::Nilable.new(::String)
60
- # The document related to the employee with the given identifiers was retrieved.
61
- field :two_hundred_application_zip_bytes, Crystalline::Nilable.new(::String)
62
- # The document related to the employee with the given identifiers was retrieved.
63
- field :two_hundred_audio_mp4_bytes, Crystalline::Nilable.new(::String)
64
- # The document related to the employee with the given identifiers was retrieved.
65
- field :two_hundred_audio_mpeg_bytes, Crystalline::Nilable.new(::String)
66
- # The document related to the employee with the given identifiers was retrieved.
67
- field :two_hundred_audio_wav_bytes, Crystalline::Nilable.new(::String)
68
- # The document related to the employee with the given identifiers was retrieved.
69
- field :two_hundred_image_bmp_bytes, Crystalline::Nilable.new(::String)
70
- # The document related to the employee with the given identifiers was retrieved.
71
- field :two_hundred_image_gif_bytes, Crystalline::Nilable.new(::String)
72
- # The document related to the employee with the given identifiers was retrieved.
73
- field :two_hundred_image_heic_bytes, Crystalline::Nilable.new(::String)
74
- # The document related to the employee with the given identifiers was retrieved.
75
- field :two_hundred_image_jpeg_bytes, Crystalline::Nilable.new(::String)
76
- # The document related to the employee with the given identifiers was retrieved.
77
- field :two_hundred_image_png_bytes, Crystalline::Nilable.new(::String)
78
- # The document related to the employee with the given identifiers was retrieved.
79
- field :two_hundred_image_tiff_bytes, Crystalline::Nilable.new(::String)
80
- # The document related to the employee with the given identifiers was retrieved.
81
- field :two_hundred_image_webp_bytes, Crystalline::Nilable.new(::String)
82
- # The document related to the employee with the given identifiers was retrieved.
83
- field :two_hundred_message_rfc822_bytes, Crystalline::Nilable.new(::String)
84
- # The document related to the employee with the given identifiers was retrieved.
85
- field :two_hundred_text_csv_bytes, Crystalline::Nilable.new(::String)
86
- # The document related to the employee with the given identifiers was retrieved.
87
- field :two_hundred_text_html_bytes, Crystalline::Nilable.new(::String)
88
- # The document related to the employee with the given identifiers was retrieved.
89
- field :two_hundred_text_plain_bytes, Crystalline::Nilable.new(::String)
90
- # The document related to the employee with the given identifiers was retrieved.
91
- field :two_hundred_text_rtf_bytes, Crystalline::Nilable.new(::String)
92
- # The document related to the employee with the given identifiers was retrieved.
93
- field :two_hundred_video_avi_bytes, Crystalline::Nilable.new(::String)
94
- # The document related to the employee with the given identifiers was retrieved.
95
- field :two_hundred_video_mp4_bytes, Crystalline::Nilable.new(::String)
96
- # The document related to the employee with the given identifiers was retrieved.
97
- field :two_hundred_video_quicktime_bytes, Crystalline::Nilable.new(::String)
27
+ field :download_api_model, Crystalline::Nilable.new(Models::Shared::DownloadApiModel)
98
28
  # The document related to the employee with the given identifiers was retrieved.
99
- field :two_hundred_video_webm_bytes, Crystalline::Nilable.new(::String)
29
+ field :download_api_model1, Crystalline::Nilable.new(::String)
100
30
 
101
- sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, two_hundred_application_gzip_bytes: T.nilable(::String), two_hundred_application_json_bytes: T.nilable(::String), two_hundred_application_msword_bytes: T.nilable(::String), two_hundred_application_octet_stream_bytes: T.nilable(::String), two_hundred_application_pdf_bytes: T.nilable(::String), two_hundred_application_rtf_bytes: T.nilable(::String), two_hundred_application_vnd_ms_excel_bytes: T.nilable(::String), two_hundred_application_vnd_ms_outlook_bytes: T.nilable(::String), two_hundred_application_vnd_ms_powerpoint_bytes: T.nilable(::String), two_hundred_application_vnd_oasis_opendocument_presentation_bytes: T.nilable(::String), two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes: T.nilable(::String), two_hundred_application_vnd_oasis_opendocument_text_bytes: T.nilable(::String), two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes: T.nilable(::String), two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes: T.nilable(::String), two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes: T.nilable(::String), two_hundred_application_x_7z_compressed_bytes: T.nilable(::String), two_hundred_application_x_rar_compressed_bytes: T.nilable(::String), two_hundred_application_xml_bytes: T.nilable(::String), two_hundred_application_zip_bytes: T.nilable(::String), two_hundred_audio_mp4_bytes: T.nilable(::String), two_hundred_audio_mpeg_bytes: T.nilable(::String), two_hundred_audio_wav_bytes: T.nilable(::String), two_hundred_image_bmp_bytes: T.nilable(::String), two_hundred_image_gif_bytes: T.nilable(::String), two_hundred_image_heic_bytes: T.nilable(::String), two_hundred_image_jpeg_bytes: T.nilable(::String), two_hundred_image_png_bytes: T.nilable(::String), two_hundred_image_tiff_bytes: T.nilable(::String), two_hundred_image_webp_bytes: T.nilable(::String), two_hundred_message_rfc822_bytes: T.nilable(::String), two_hundred_text_csv_bytes: T.nilable(::String), two_hundred_text_html_bytes: T.nilable(::String), two_hundred_text_plain_bytes: T.nilable(::String), two_hundred_text_rtf_bytes: T.nilable(::String), two_hundred_video_avi_bytes: T.nilable(::String), two_hundred_video_mp4_bytes: T.nilable(::String), two_hundred_video_quicktime_bytes: T.nilable(::String), two_hundred_video_webm_bytes: T.nilable(::String)).void }
102
- def initialize(content_type:, headers:, status_code:, raw_response:, two_hundred_application_gzip_bytes: nil, two_hundred_application_json_bytes: nil, two_hundred_application_msword_bytes: nil, two_hundred_application_octet_stream_bytes: nil, two_hundred_application_pdf_bytes: nil, two_hundred_application_rtf_bytes: nil, two_hundred_application_vnd_ms_excel_bytes: nil, two_hundred_application_vnd_ms_outlook_bytes: nil, two_hundred_application_vnd_ms_powerpoint_bytes: nil, two_hundred_application_vnd_oasis_opendocument_presentation_bytes: nil, two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes: nil, two_hundred_application_vnd_oasis_opendocument_text_bytes: nil, two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes: nil, two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes: nil, two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes: nil, two_hundred_application_x_7z_compressed_bytes: nil, two_hundred_application_x_rar_compressed_bytes: nil, two_hundred_application_xml_bytes: nil, two_hundred_application_zip_bytes: nil, two_hundred_audio_mp4_bytes: nil, two_hundred_audio_mpeg_bytes: nil, two_hundred_audio_wav_bytes: nil, two_hundred_image_bmp_bytes: nil, two_hundred_image_gif_bytes: nil, two_hundred_image_heic_bytes: nil, two_hundred_image_jpeg_bytes: nil, two_hundred_image_png_bytes: nil, two_hundred_image_tiff_bytes: nil, two_hundred_image_webp_bytes: nil, two_hundred_message_rfc822_bytes: nil, two_hundred_text_csv_bytes: nil, two_hundred_text_html_bytes: nil, two_hundred_text_plain_bytes: nil, two_hundred_text_rtf_bytes: nil, two_hundred_video_avi_bytes: nil, two_hundred_video_mp4_bytes: nil, two_hundred_video_quicktime_bytes: nil, two_hundred_video_webm_bytes: nil)
31
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, body: T.nilable(::String), download_api_model: T.nilable(Models::Shared::DownloadApiModel), download_api_model1: T.nilable(::String)).void }
32
+ def initialize(content_type:, headers:, status_code:, raw_response:, body: nil, download_api_model: nil, download_api_model1: nil)
103
33
  @content_type = content_type
104
34
  @headers = headers
105
35
  @status_code = status_code
106
36
  @raw_response = raw_response
107
- @two_hundred_application_gzip_bytes = two_hundred_application_gzip_bytes
108
- @two_hundred_application_json_bytes = two_hundred_application_json_bytes
109
- @two_hundred_application_msword_bytes = two_hundred_application_msword_bytes
110
- @two_hundred_application_octet_stream_bytes = two_hundred_application_octet_stream_bytes
111
- @two_hundred_application_pdf_bytes = two_hundred_application_pdf_bytes
112
- @two_hundred_application_rtf_bytes = two_hundred_application_rtf_bytes
113
- @two_hundred_application_vnd_ms_excel_bytes = two_hundred_application_vnd_ms_excel_bytes
114
- @two_hundred_application_vnd_ms_outlook_bytes = two_hundred_application_vnd_ms_outlook_bytes
115
- @two_hundred_application_vnd_ms_powerpoint_bytes = two_hundred_application_vnd_ms_powerpoint_bytes
116
- @two_hundred_application_vnd_oasis_opendocument_presentation_bytes = two_hundred_application_vnd_oasis_opendocument_presentation_bytes
117
- @two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes = two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes
118
- @two_hundred_application_vnd_oasis_opendocument_text_bytes = two_hundred_application_vnd_oasis_opendocument_text_bytes
119
- @two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes = two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes
120
- @two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes = two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes
121
- @two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes = two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes
122
- @two_hundred_application_x_7z_compressed_bytes = two_hundred_application_x_7z_compressed_bytes
123
- @two_hundred_application_x_rar_compressed_bytes = two_hundred_application_x_rar_compressed_bytes
124
- @two_hundred_application_xml_bytes = two_hundred_application_xml_bytes
125
- @two_hundred_application_zip_bytes = two_hundred_application_zip_bytes
126
- @two_hundred_audio_mp4_bytes = two_hundred_audio_mp4_bytes
127
- @two_hundred_audio_mpeg_bytes = two_hundred_audio_mpeg_bytes
128
- @two_hundred_audio_wav_bytes = two_hundred_audio_wav_bytes
129
- @two_hundred_image_bmp_bytes = two_hundred_image_bmp_bytes
130
- @two_hundred_image_gif_bytes = two_hundred_image_gif_bytes
131
- @two_hundred_image_heic_bytes = two_hundred_image_heic_bytes
132
- @two_hundred_image_jpeg_bytes = two_hundred_image_jpeg_bytes
133
- @two_hundred_image_png_bytes = two_hundred_image_png_bytes
134
- @two_hundred_image_tiff_bytes = two_hundred_image_tiff_bytes
135
- @two_hundred_image_webp_bytes = two_hundred_image_webp_bytes
136
- @two_hundred_message_rfc822_bytes = two_hundred_message_rfc822_bytes
137
- @two_hundred_text_csv_bytes = two_hundred_text_csv_bytes
138
- @two_hundred_text_html_bytes = two_hundred_text_html_bytes
139
- @two_hundred_text_plain_bytes = two_hundred_text_plain_bytes
140
- @two_hundred_text_rtf_bytes = two_hundred_text_rtf_bytes
141
- @two_hundred_video_avi_bytes = two_hundred_video_avi_bytes
142
- @two_hundred_video_mp4_bytes = two_hundred_video_mp4_bytes
143
- @two_hundred_video_quicktime_bytes = two_hundred_video_quicktime_bytes
144
- @two_hundred_video_webm_bytes = two_hundred_video_webm_bytes
37
+ @body = body
38
+ @download_api_model = download_api_model
39
+ @download_api_model1 = download_api_model1
145
40
  end
146
41
 
147
42
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -151,44 +46,9 @@ module StackOne
151
46
  return false unless @headers == other.headers
152
47
  return false unless @status_code == other.status_code
153
48
  return false unless @raw_response == other.raw_response
154
- return false unless @two_hundred_application_gzip_bytes == other.two_hundred_application_gzip_bytes
155
- return false unless @two_hundred_application_json_bytes == other.two_hundred_application_json_bytes
156
- return false unless @two_hundred_application_msword_bytes == other.two_hundred_application_msword_bytes
157
- return false unless @two_hundred_application_octet_stream_bytes == other.two_hundred_application_octet_stream_bytes
158
- return false unless @two_hundred_application_pdf_bytes == other.two_hundred_application_pdf_bytes
159
- return false unless @two_hundred_application_rtf_bytes == other.two_hundred_application_rtf_bytes
160
- return false unless @two_hundred_application_vnd_ms_excel_bytes == other.two_hundred_application_vnd_ms_excel_bytes
161
- return false unless @two_hundred_application_vnd_ms_outlook_bytes == other.two_hundred_application_vnd_ms_outlook_bytes
162
- return false unless @two_hundred_application_vnd_ms_powerpoint_bytes == other.two_hundred_application_vnd_ms_powerpoint_bytes
163
- return false unless @two_hundred_application_vnd_oasis_opendocument_presentation_bytes == other.two_hundred_application_vnd_oasis_opendocument_presentation_bytes
164
- return false unless @two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes == other.two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes
165
- return false unless @two_hundred_application_vnd_oasis_opendocument_text_bytes == other.two_hundred_application_vnd_oasis_opendocument_text_bytes
166
- return false unless @two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes == other.two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes
167
- return false unless @two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes == other.two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes
168
- return false unless @two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes == other.two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes
169
- return false unless @two_hundred_application_x_7z_compressed_bytes == other.two_hundred_application_x_7z_compressed_bytes
170
- return false unless @two_hundred_application_x_rar_compressed_bytes == other.two_hundred_application_x_rar_compressed_bytes
171
- return false unless @two_hundred_application_xml_bytes == other.two_hundred_application_xml_bytes
172
- return false unless @two_hundred_application_zip_bytes == other.two_hundred_application_zip_bytes
173
- return false unless @two_hundred_audio_mp4_bytes == other.two_hundred_audio_mp4_bytes
174
- return false unless @two_hundred_audio_mpeg_bytes == other.two_hundred_audio_mpeg_bytes
175
- return false unless @two_hundred_audio_wav_bytes == other.two_hundred_audio_wav_bytes
176
- return false unless @two_hundred_image_bmp_bytes == other.two_hundred_image_bmp_bytes
177
- return false unless @two_hundred_image_gif_bytes == other.two_hundred_image_gif_bytes
178
- return false unless @two_hundred_image_heic_bytes == other.two_hundred_image_heic_bytes
179
- return false unless @two_hundred_image_jpeg_bytes == other.two_hundred_image_jpeg_bytes
180
- return false unless @two_hundred_image_png_bytes == other.two_hundred_image_png_bytes
181
- return false unless @two_hundred_image_tiff_bytes == other.two_hundred_image_tiff_bytes
182
- return false unless @two_hundred_image_webp_bytes == other.two_hundred_image_webp_bytes
183
- return false unless @two_hundred_message_rfc822_bytes == other.two_hundred_message_rfc822_bytes
184
- return false unless @two_hundred_text_csv_bytes == other.two_hundred_text_csv_bytes
185
- return false unless @two_hundred_text_html_bytes == other.two_hundred_text_html_bytes
186
- return false unless @two_hundred_text_plain_bytes == other.two_hundred_text_plain_bytes
187
- return false unless @two_hundred_text_rtf_bytes == other.two_hundred_text_rtf_bytes
188
- return false unless @two_hundred_video_avi_bytes == other.two_hundred_video_avi_bytes
189
- return false unless @two_hundred_video_mp4_bytes == other.two_hundred_video_mp4_bytes
190
- return false unless @two_hundred_video_quicktime_bytes == other.two_hundred_video_quicktime_bytes
191
- return false unless @two_hundred_video_webm_bytes == other.two_hundred_video_webm_bytes
49
+ return false unless @body == other.body
50
+ return false unless @download_api_model == other.download_api_model
51
+ return false unless @download_api_model1 == other.download_api_model1
192
52
  true
193
53
  end
194
54
  end
@@ -16,80 +16,10 @@ class StackOne::Models::Operations::HrisDownloadEmployeeDocumentResponse
16
16
  def status_code=(str_); end
17
17
  def raw_response(); end
18
18
  def raw_response=(str_); end
19
- def two_hundred_application_gzip_bytes(); end
20
- def two_hundred_application_gzip_bytes=(str_); end
21
- def two_hundred_application_json_bytes(); end
22
- def two_hundred_application_json_bytes=(str_); end
23
- def two_hundred_application_msword_bytes(); end
24
- def two_hundred_application_msword_bytes=(str_); end
25
- def two_hundred_application_octet_stream_bytes(); end
26
- def two_hundred_application_octet_stream_bytes=(str_); end
27
- def two_hundred_application_pdf_bytes(); end
28
- def two_hundred_application_pdf_bytes=(str_); end
29
- def two_hundred_application_rtf_bytes(); end
30
- def two_hundred_application_rtf_bytes=(str_); end
31
- def two_hundred_application_vnd_ms_excel_bytes(); end
32
- def two_hundred_application_vnd_ms_excel_bytes=(str_); end
33
- def two_hundred_application_vnd_ms_outlook_bytes(); end
34
- def two_hundred_application_vnd_ms_outlook_bytes=(str_); end
35
- def two_hundred_application_vnd_ms_powerpoint_bytes(); end
36
- def two_hundred_application_vnd_ms_powerpoint_bytes=(str_); end
37
- def two_hundred_application_vnd_oasis_opendocument_presentation_bytes(); end
38
- def two_hundred_application_vnd_oasis_opendocument_presentation_bytes=(str_); end
39
- def two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes(); end
40
- def two_hundred_application_vnd_oasis_opendocument_spreadsheet_bytes=(str_); end
41
- def two_hundred_application_vnd_oasis_opendocument_text_bytes(); end
42
- def two_hundred_application_vnd_oasis_opendocument_text_bytes=(str_); end
43
- def two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes(); end
44
- def two_hundred_application_vnd_openxmlformats_officedocument_presentationml_presentation_bytes=(str_); end
45
- def two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes(); end
46
- def two_hundred_application_vnd_openxmlformats_officedocument_spreadsheetml_sheet_bytes=(str_); end
47
- def two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes(); end
48
- def two_hundred_application_vnd_openxmlformats_officedocument_wordprocessingml_document_bytes=(str_); end
49
- def two_hundred_application_x_7z_compressed_bytes(); end
50
- def two_hundred_application_x_7z_compressed_bytes=(str_); end
51
- def two_hundred_application_x_rar_compressed_bytes(); end
52
- def two_hundred_application_x_rar_compressed_bytes=(str_); end
53
- def two_hundred_application_xml_bytes(); end
54
- def two_hundred_application_xml_bytes=(str_); end
55
- def two_hundred_application_zip_bytes(); end
56
- def two_hundred_application_zip_bytes=(str_); end
57
- def two_hundred_audio_mp4_bytes(); end
58
- def two_hundred_audio_mp4_bytes=(str_); end
59
- def two_hundred_audio_mpeg_bytes(); end
60
- def two_hundred_audio_mpeg_bytes=(str_); end
61
- def two_hundred_audio_wav_bytes(); end
62
- def two_hundred_audio_wav_bytes=(str_); end
63
- def two_hundred_image_bmp_bytes(); end
64
- def two_hundred_image_bmp_bytes=(str_); end
65
- def two_hundred_image_gif_bytes(); end
66
- def two_hundred_image_gif_bytes=(str_); end
67
- def two_hundred_image_heic_bytes(); end
68
- def two_hundred_image_heic_bytes=(str_); end
69
- def two_hundred_image_jpeg_bytes(); end
70
- def two_hundred_image_jpeg_bytes=(str_); end
71
- def two_hundred_image_png_bytes(); end
72
- def two_hundred_image_png_bytes=(str_); end
73
- def two_hundred_image_tiff_bytes(); end
74
- def two_hundred_image_tiff_bytes=(str_); end
75
- def two_hundred_image_webp_bytes(); end
76
- def two_hundred_image_webp_bytes=(str_); end
77
- def two_hundred_message_rfc822_bytes(); end
78
- def two_hundred_message_rfc822_bytes=(str_); end
79
- def two_hundred_text_csv_bytes(); end
80
- def two_hundred_text_csv_bytes=(str_); end
81
- def two_hundred_text_html_bytes(); end
82
- def two_hundred_text_html_bytes=(str_); end
83
- def two_hundred_text_plain_bytes(); end
84
- def two_hundred_text_plain_bytes=(str_); end
85
- def two_hundred_text_rtf_bytes(); end
86
- def two_hundred_text_rtf_bytes=(str_); end
87
- def two_hundred_video_avi_bytes(); end
88
- def two_hundred_video_avi_bytes=(str_); end
89
- def two_hundred_video_mp4_bytes(); end
90
- def two_hundred_video_mp4_bytes=(str_); end
91
- def two_hundred_video_quicktime_bytes(); end
92
- def two_hundred_video_quicktime_bytes=(str_); end
93
- def two_hundred_video_webm_bytes(); end
94
- def two_hundred_video_webm_bytes=(str_); end
19
+ def body(); end
20
+ def body=(str_); end
21
+ def download_api_model(); end
22
+ def download_api_model=(str_); end
23
+ def download_api_model1(); end
24
+ def download_api_model1=(str_); end
95
25
  end
@@ -21,16 +21,16 @@ module StackOne
21
21
  field :status_code, ::Integer
22
22
  # Raw HTTP response; suitable for custom response parsing
23
23
  field :raw_response, ::Faraday::Response
24
- # The attachment file was downloaded successfully.
25
- field :bytes, Crystalline::Nilable.new(::String)
26
24
 
27
- sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, bytes: T.nilable(::String)).void }
28
- def initialize(content_type:, headers:, status_code:, raw_response:, bytes: nil)
25
+ field :body, Crystalline::Nilable.new(::String)
26
+
27
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, body: T.nilable(::String)).void }
28
+ def initialize(content_type:, headers:, status_code:, raw_response:, body: nil)
29
29
  @content_type = content_type
30
30
  @headers = headers
31
31
  @status_code = status_code
32
32
  @raw_response = raw_response
33
- @bytes = bytes
33
+ @body = body
34
34
  end
35
35
 
36
36
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -40,7 +40,7 @@ module StackOne
40
40
  return false unless @headers == other.headers
41
41
  return false unless @status_code == other.status_code
42
42
  return false unless @raw_response == other.raw_response
43
- return false unless @bytes == other.bytes
43
+ return false unless @body == other.body
44
44
  true
45
45
  end
46
46
  end
@@ -16,6 +16,6 @@ class StackOne::Models::Operations::MessagingDownloadMessagingAttachmentResponse
16
16
  def status_code=(str_); end
17
17
  def raw_response(); end
18
18
  def raw_response=(str_); end
19
- def bytes(); end
20
- def bytes=(str_); end
19
+ def body(); end
20
+ def body=(str_); end
21
21
  end
@@ -21,16 +21,16 @@ module StackOne
21
21
  field :status_code, ::Integer
22
22
  # Raw HTTP response; suitable for custom response parsing
23
23
  field :raw_response, ::Faraday::Response
24
- # The document related to the application with the given identifiers was retrieved.
25
- field :bytes, Crystalline::Nilable.new(::String)
26
24
 
27
- sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, bytes: T.nilable(::String)).void }
28
- def initialize(content_type:, headers:, status_code:, raw_response:, bytes: nil)
25
+ field :body, Crystalline::Nilable.new(::String)
26
+
27
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, body: T.nilable(::String)).void }
28
+ def initialize(content_type:, headers:, status_code:, raw_response:, body: nil)
29
29
  @content_type = content_type
30
30
  @headers = headers
31
31
  @status_code = status_code
32
32
  @raw_response = raw_response
33
- @bytes = bytes
33
+ @body = body
34
34
  end
35
35
 
36
36
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -40,7 +40,7 @@ module StackOne
40
40
  return false unless @headers == other.headers
41
41
  return false unless @status_code == other.status_code
42
42
  return false unless @raw_response == other.raw_response
43
- return false unless @bytes == other.bytes
43
+ return false unless @body == other.body
44
44
  true
45
45
  end
46
46
  end
@@ -16,6 +16,6 @@ class StackOne::Models::Operations::TicketingDownloadTicketingAttachmentResponse
16
16
  def status_code=(str_); end
17
17
  def raw_response(); end
18
18
  def raw_response=(str_); end
19
- def bytes(); end
20
- def bytes=(str_); end
19
+ def body(); end
20
+ def body=(str_); end
21
21
  end
@@ -16,9 +16,9 @@ module StackOne
16
16
  # The unique identifier for the option to be used when updating the custom field
17
17
  field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id'), required: true } }
18
18
  # The human readable value of the option
19
- field :value, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), required: true } }
19
+ field :value, Crystalline::Union.new(::String, ::Float, Crystalline::Boolean.new, Models::Shared::CustomFieldOption4, Crystalline::Array.new(::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), required: true } }
20
20
 
21
- sig { params(id: ::String, value: ::String).void }
21
+ sig { params(id: ::String, value: T.any(::String, ::Float, T::Boolean, Models::Shared::CustomFieldOption4, T::Array[::Object])).void }
22
22
  def initialize(id:, value:)
23
23
  @id = id
24
24
  @value = value
@@ -0,0 +1,28 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Models
9
+ module Shared
10
+
11
+
12
+ class CustomFieldOption4
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+
17
+
18
+ def initialize; end
19
+
20
+ sig { params(other: T.untyped).returns(T::Boolean) }
21
+ def ==(other)
22
+ return false unless other.is_a? self.class
23
+ true
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Shared::CustomFieldOption4
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Shared::CustomFieldOption4
11
+ end
@@ -0,0 +1,28 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Models
9
+ module Shared
10
+
11
+ # The human readable value of the option
12
+ class CustomFieldOptionValue
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+
17
+
18
+ def initialize; end
19
+
20
+ sig { params(other: T.untyped).returns(T::Boolean) }
21
+ def ==(other)
22
+ return false unless other.is_a? self.class
23
+ true
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Shared::CustomFieldOptionValue
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Shared::CustomFieldOptionValue
11
+ end
@@ -22,11 +22,11 @@ module StackOne
22
22
  # Provider's unique identifier for the value of the custom field.
23
23
  field :remote_value_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
24
24
  # The value associated with the custom field.
25
- field :value, Crystalline::Nilable.new(Crystalline::Union.new(::String, ::Float, Crystalline::Boolean.new, Models::Shared::CustomFields4, Crystalline::Array.new(::Object))), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
25
+ field :value, Crystalline::Nilable.new(Crystalline::Union.new(::String, ::Float, Crystalline::Boolean.new, Models::Shared::CustomFields4, Crystalline::Array.new(::Object), ::DateTime)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
26
26
  # The unique identifier for the value of the custom field.
27
27
  field :value_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
28
28
 
29
- sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(T.any(::String, ::Float, T::Boolean, Models::Shared::CustomFields4, T::Array[::Object])), value_id: T.nilable(::String)).void }
29
+ sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(T.any(::String, ::Float, T::Boolean, Models::Shared::CustomFields4, T::Array[::Object], ::DateTime)), value_id: T.nilable(::String)).void }
30
30
  def initialize(id: nil, name: nil, remote_id: nil, remote_value_id: nil, value: nil, value_id: nil)
31
31
  @id = id
32
32
  @name = name
@@ -0,0 +1,37 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Models
9
+ module Shared
10
+
11
+
12
+ class DownloadApiModel
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # The file data in binary format
17
+ field :data, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data'), required: true } }
18
+ # Headers related to the download
19
+ field :headers, Models::Shared::DownloadHeadersApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('headers'), required: true } }
20
+
21
+ sig { params(data: ::String, headers: Models::Shared::DownloadHeadersApiModel).void }
22
+ def initialize(data:, headers:)
23
+ @data = data
24
+ @headers = headers
25
+ end
26
+
27
+ sig { params(other: T.untyped).returns(T::Boolean) }
28
+ def ==(other)
29
+ return false unless other.is_a? self.class
30
+ return false unless @data == other.data
31
+ return false unless @headers == other.headers
32
+ true
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Shared::DownloadApiModel
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Shared::DownloadApiModel
11
+ def data(); end
12
+ def data=(str_); end
13
+ def headers(); end
14
+ def headers=(str_); end
15
+ end
@@ -0,0 +1,53 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Models
9
+ module Shared
10
+
11
+
12
+ class DownloadHeadersApiModel
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # Value of the Content-Disposition header
17
+ field :content_disposition, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content-disposition') } }
18
+ # Encoding of the content
19
+ field :content_encoding, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content-encoding') } }
20
+ # Size of the content in bytes
21
+ field :content_length, Crystalline::Nilable.new(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content-length') } }
22
+ # Range of the content being sent
23
+ field :content_range, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content-range') } }
24
+ # MIME type of the file
25
+ field :content_type, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content-type') } }
26
+ # Transfer encoding type
27
+ field :transfer_encoding, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('transfer-encoding') } }
28
+
29
+ sig { params(content_disposition: T.nilable(::String), content_encoding: T.nilable(::String), content_length: T.nilable(::Float), content_range: T.nilable(::String), content_type: T.nilable(::String), transfer_encoding: T.nilable(::String)).void }
30
+ def initialize(content_disposition: nil, content_encoding: nil, content_length: nil, content_range: nil, content_type: nil, transfer_encoding: nil)
31
+ @content_disposition = content_disposition
32
+ @content_encoding = content_encoding
33
+ @content_length = content_length
34
+ @content_range = content_range
35
+ @content_type = content_type
36
+ @transfer_encoding = transfer_encoding
37
+ end
38
+
39
+ sig { params(other: T.untyped).returns(T::Boolean) }
40
+ def ==(other)
41
+ return false unless other.is_a? self.class
42
+ return false unless @content_disposition == other.content_disposition
43
+ return false unless @content_encoding == other.content_encoding
44
+ return false unless @content_length == other.content_length
45
+ return false unless @content_range == other.content_range
46
+ return false unless @content_type == other.content_type
47
+ return false unless @transfer_encoding == other.transfer_encoding
48
+ true
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,23 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Shared::DownloadHeadersApiModel
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Shared::DownloadHeadersApiModel
11
+ def content_disposition(); end
12
+ def content_disposition=(str_); end
13
+ def content_encoding(); end
14
+ def content_encoding=(str_); end
15
+ def content_length(); end
16
+ def content_length=(str_); end
17
+ def content_range(); end
18
+ def content_range=(str_); end
19
+ def content_type(); end
20
+ def content_type=(str_); end
21
+ def transfer_encoding(); end
22
+ def transfer_encoding=(str_); end
23
+ end
@@ -394,6 +394,8 @@ module StackOne
394
394
  autoload :CustomFieldDefinitionValue, 'stack_one/models/shared/customfielddefinition_value.rb'
395
395
  autoload :CustomFieldDefinitionsPaginated, 'stack_one/models/shared/customfielddefinitionspaginated.rb'
396
396
  autoload :CustomFieldOption, 'stack_one/models/shared/customfieldoption.rb'
397
+ autoload :CustomFieldOption4, 'stack_one/models/shared/customfieldoption_4.rb'
398
+ autoload :CustomFieldOptionValue, 'stack_one/models/shared/customfieldoption_value.rb'
397
399
  autoload :CustomFields, 'stack_one/models/shared/customfields.rb'
398
400
  autoload :CustomFields4, 'stack_one/models/shared/customfields_4.rb'
399
401
  autoload :CustomFieldsValue, 'stack_one/models/shared/customfields_value.rb'
@@ -402,6 +404,8 @@ module StackOne
402
404
  autoload :Department, 'stack_one/models/shared/department.rb'
403
405
  autoload :DepartmentResult, 'stack_one/models/shared/departmentresult.rb'
404
406
  autoload :DepartmentsPaginated, 'stack_one/models/shared/departmentspaginated.rb'
407
+ autoload :DownloadApiModel, 'stack_one/models/shared/downloadapimodel.rb'
408
+ autoload :DownloadHeadersApiModel, 'stack_one/models/shared/downloadheadersapimodel.rb'
405
409
  autoload :DriveResult, 'stack_one/models/shared/driveresult.rb'
406
410
  autoload :Drives, 'stack_one/models/shared/drives.rb'
407
411
  autoload :DrivesPaginated, 'stack_one/models/shared/drivespaginated.rb'