intrinio-sdk 1.1.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -8
  3. data/docs/ApiResponseCompaniesSearch.md +8 -0
  4. data/docs/ApiResponseDataTagsSearch.md +8 -0
  5. data/docs/ApiResponseEconomicIndicesSearch.md +8 -0
  6. data/docs/ApiResponseMunicipalities.md +9 -0
  7. data/docs/ApiResponseMunicipalitiyFinancials.md +9 -0
  8. data/docs/ApiResponseSICIndicesSearch.md +8 -0
  9. data/docs/ApiResponseSecuritiesSearch.md +8 -0
  10. data/docs/ApiResponseSecurityIntradayPrices.md +11 -0
  11. data/docs/ApiResponseStockMarketIndicesSearch.md +8 -0
  12. data/docs/CompanyApi.md +44 -115
  13. data/docs/DataTagApi.md +15 -51
  14. data/docs/FilingApi.md +19 -97
  15. data/docs/FundamentalSummary.md +1 -1
  16. data/docs/HistoricalDataApi.md +2 -0
  17. data/docs/IndexApi.md +33 -9
  18. data/docs/IntradayStockPrice.md +15 -0
  19. data/docs/Municipality.md +26 -0
  20. data/docs/MunicipalityApi.md +158 -0
  21. data/docs/MunicipalityFinancial.md +49 -0
  22. data/docs/RealtimeStockPrice.md +1 -1
  23. data/docs/SecurityApi.md +71 -4
  24. data/docs/StockExchangeApi.md +17 -42
  25. data/intrinio-sdk.gemspec +1 -1
  26. data/lib/intrinio-sdk.rb +14 -1
  27. data/lib/intrinio-sdk/api/company_api.rb +97 -154
  28. data/lib/intrinio-sdk/api/data_point_api.rb +1 -1
  29. data/lib/intrinio-sdk/api/data_tag_api.rb +27 -63
  30. data/lib/intrinio-sdk/api/filing_api.rb +42 -121
  31. data/lib/intrinio-sdk/api/fundamentals_api.rb +1 -1
  32. data/lib/intrinio-sdk/api/historical_data_api.rb +8 -1
  33. data/lib/intrinio-sdk/api/index_api.rb +73 -10
  34. data/lib/intrinio-sdk/api/municipality_api.rb +221 -0
  35. data/lib/intrinio-sdk/api/security_api.rb +117 -4
  36. data/lib/intrinio-sdk/api/stock_exchange_api.rb +45 -57
  37. data/lib/intrinio-sdk/api_client.rb +1 -1
  38. data/lib/intrinio-sdk/api_error.rb +1 -1
  39. data/lib/intrinio-sdk/configuration.rb +1 -1
  40. data/lib/intrinio-sdk/models/api_response_companies.rb +1 -1
  41. data/lib/intrinio-sdk/models/api_response_companies_search.rb +190 -0
  42. data/lib/intrinio-sdk/models/api_response_company_filings.rb +1 -1
  43. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +1 -1
  44. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +1 -1
  45. data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
  46. data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
  47. data/lib/intrinio-sdk/models/api_response_data_tags.rb +1 -1
  48. data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +190 -0
  49. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +1 -1
  50. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +1 -1
  51. data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +190 -0
  52. data/lib/intrinio-sdk/models/api_response_filing_notes.rb +1 -1
  53. data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +1 -1
  54. data/lib/intrinio-sdk/models/api_response_filings.rb +1 -1
  55. data/lib/intrinio-sdk/models/api_response_historical_data.rb +1 -1
  56. data/lib/intrinio-sdk/models/api_response_municipalities.rb +200 -0
  57. data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +199 -0
  58. data/lib/intrinio-sdk/models/api_response_news.rb +1 -1
  59. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +1 -1
  60. data/lib/intrinio-sdk/models/api_response_securities.rb +1 -1
  61. data/lib/intrinio-sdk/models/api_response_securities_search.rb +190 -0
  62. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +1 -1
  63. data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +254 -0
  64. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +1 -1
  65. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +1 -1
  66. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +1 -1
  67. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +1 -1
  68. data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +190 -0
  69. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +1 -1
  70. data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +1 -1
  71. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +1 -1
  72. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +1 -1
  73. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +1 -1
  74. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +1 -1
  75. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +1 -1
  76. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +1 -1
  77. data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +190 -0
  78. data/lib/intrinio-sdk/models/company.rb +1 -1
  79. data/lib/intrinio-sdk/models/company_filing.rb +1 -1
  80. data/lib/intrinio-sdk/models/company_news.rb +1 -1
  81. data/lib/intrinio-sdk/models/company_news_summary.rb +1 -1
  82. data/lib/intrinio-sdk/models/company_summary.rb +1 -1
  83. data/lib/intrinio-sdk/models/data_tag.rb +1 -1
  84. data/lib/intrinio-sdk/models/data_tag_summary.rb +1 -1
  85. data/lib/intrinio-sdk/models/dividend_record.rb +1 -1
  86. data/lib/intrinio-sdk/models/earnings_record.rb +1 -1
  87. data/lib/intrinio-sdk/models/economic_index.rb +1 -1
  88. data/lib/intrinio-sdk/models/economic_index_summary.rb +1 -1
  89. data/lib/intrinio-sdk/models/filing.rb +1 -1
  90. data/lib/intrinio-sdk/models/filing_note.rb +1 -1
  91. data/lib/intrinio-sdk/models/filing_note_filing.rb +1 -1
  92. data/lib/intrinio-sdk/models/filing_note_summary.rb +1 -1
  93. data/lib/intrinio-sdk/models/filing_summary.rb +1 -1
  94. data/lib/intrinio-sdk/models/fundamental.rb +1 -1
  95. data/lib/intrinio-sdk/models/fundamental_summary.rb +2 -2
  96. data/lib/intrinio-sdk/models/historical_data.rb +1 -1
  97. data/lib/intrinio-sdk/models/intraday_stock_price.rb +259 -0
  98. data/lib/intrinio-sdk/models/municipality.rb +369 -0
  99. data/lib/intrinio-sdk/models/municipality_financial.rb +599 -0
  100. data/lib/intrinio-sdk/models/realtime_stock_price.rb +2 -2
  101. data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +1 -1
  102. data/lib/intrinio-sdk/models/reported_financial.rb +1 -1
  103. data/lib/intrinio-sdk/models/reported_tag.rb +1 -1
  104. data/lib/intrinio-sdk/models/security.rb +1 -1
  105. data/lib/intrinio-sdk/models/security_screen_clause.rb +1 -1
  106. data/lib/intrinio-sdk/models/security_screen_group.rb +1 -1
  107. data/lib/intrinio-sdk/models/security_screen_result.rb +1 -1
  108. data/lib/intrinio-sdk/models/security_screen_result_data.rb +1 -1
  109. data/lib/intrinio-sdk/models/security_summary.rb +1 -1
  110. data/lib/intrinio-sdk/models/sic_index.rb +1 -1
  111. data/lib/intrinio-sdk/models/standardized_financial.rb +1 -1
  112. data/lib/intrinio-sdk/models/stock_exchange.rb +1 -1
  113. data/lib/intrinio-sdk/models/stock_market_index.rb +1 -1
  114. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +1 -1
  115. data/lib/intrinio-sdk/models/stock_price.rb +1 -1
  116. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +1 -1
  117. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +1 -1
  118. data/lib/intrinio-sdk/models/stock_price_summary.rb +1 -1
  119. data/lib/intrinio-sdk/version.rb +2 -2
  120. data/spec/api/company_api_spec.rb +37 -54
  121. data/spec/api/data_point_api_spec.rb +3 -3
  122. data/spec/api/data_tag_api_spec.rb +9 -19
  123. data/spec/api/filing_api_spec.rb +73 -12
  124. data/spec/api/fundamentals_api_spec.rb +6 -6
  125. data/spec/api/historical_data_api_spec.rb +3 -2
  126. data/spec/api/index_api_spec.rb +28 -19
  127. data/spec/api/municipality_api_spec.rb +84 -0
  128. data/spec/api/security_api_spec.rb +74 -13
  129. data/spec/api/stock_exchange_api_spec.rb +31 -23
  130. data/spec/api_client_spec.rb +1 -1
  131. data/spec/configuration_spec.rb +1 -1
  132. data/spec/models/api_response_companies_search_spec.rb +42 -0
  133. data/spec/models/api_response_companies_spec.rb +1 -1
  134. data/spec/models/api_response_company_filings_spec.rb +1 -1
  135. data/spec/models/api_response_company_fundamentals_spec.rb +1 -1
  136. data/spec/models/api_response_company_historical_data_spec.rb +1 -1
  137. data/spec/models/api_response_company_news_spec.rb +1 -1
  138. data/spec/models/api_response_company_securities_spec.rb +1 -1
  139. data/spec/models/api_response_data_tags_search_spec.rb +42 -0
  140. data/spec/models/api_response_data_tags_spec.rb +1 -1
  141. data/spec/models/api_response_economic_index_historical_data_spec.rb +1 -1
  142. data/spec/models/api_response_economic_indices_search_spec.rb +42 -0
  143. data/spec/models/api_response_economic_indices_spec.rb +1 -1
  144. data/spec/models/api_response_filings_spec.rb +1 -1
  145. data/spec/models/api_response_historical_data_spec.rb +1 -1
  146. data/spec/models/api_response_municipalities_spec.rb +48 -0
  147. data/spec/models/api_response_municipalitiy_financials_spec.rb +48 -0
  148. data/spec/models/api_response_news_spec.rb +1 -1
  149. data/spec/models/api_response_reported_financials_spec.rb +1 -1
  150. data/spec/models/api_response_securities_search_spec.rb +42 -0
  151. data/spec/models/api_response_securities_spec.rb +1 -1
  152. data/spec/models/api_response_security_historical_data_spec.rb +1 -1
  153. data/spec/models/api_response_security_intraday_prices_spec.rb +64 -0
  154. data/spec/models/api_response_security_stock_price_adjustments_spec.rb +1 -1
  155. data/spec/models/api_response_security_stock_prices_spec.rb +1 -1
  156. data/spec/models/api_response_sic_index_historical_data_spec.rb +1 -1
  157. data/spec/models/api_response_sic_indices_search_spec.rb +42 -0
  158. data/spec/models/api_response_sic_indices_spec.rb +1 -1
  159. data/spec/models/api_response_standardized_financials_spec.rb +1 -1
  160. data/spec/models/api_response_stock_exchange_securities_spec.rb +1 -1
  161. data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +1 -1
  162. data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +1 -1
  163. data/spec/models/api_response_stock_exchanges_spec.rb +1 -1
  164. data/spec/models/api_response_stock_market_index_historical_data_spec.rb +1 -1
  165. data/spec/models/api_response_stock_market_indices_search_spec.rb +42 -0
  166. data/spec/models/api_response_stock_market_indices_spec.rb +1 -1
  167. data/spec/models/company_filing_spec.rb +1 -1
  168. data/spec/models/company_news_spec.rb +1 -1
  169. data/spec/models/company_news_summary_spec.rb +1 -1
  170. data/spec/models/company_spec.rb +1 -1
  171. data/spec/models/company_summary_spec.rb +1 -1
  172. data/spec/models/data_tag_spec.rb +1 -1
  173. data/spec/models/data_tag_summary_spec.rb +1 -1
  174. data/spec/models/economic_index_spec.rb +1 -1
  175. data/spec/models/economic_index_summary_spec.rb +1 -1
  176. data/spec/models/filing_spec.rb +1 -1
  177. data/spec/models/filing_summary_spec.rb +1 -1
  178. data/spec/models/fundamental_spec.rb +1 -1
  179. data/spec/models/fundamental_summary_spec.rb +1 -1
  180. data/spec/models/historical_data_spec.rb +1 -1
  181. data/spec/models/intraday_stock_price_spec.rb +84 -0
  182. data/spec/models/municipality_financial_spec.rb +288 -0
  183. data/spec/models/municipality_spec.rb +150 -0
  184. data/spec/models/reported_financial_spec.rb +1 -1
  185. data/spec/models/reported_tag_spec.rb +1 -1
  186. data/spec/models/security_screen_clause_spec.rb +1 -1
  187. data/spec/models/security_screen_group_spec.rb +1 -1
  188. data/spec/models/security_screen_result_data_spec.rb +1 -1
  189. data/spec/models/security_screen_result_spec.rb +1 -1
  190. data/spec/models/security_spec.rb +1 -1
  191. data/spec/models/security_summary_spec.rb +1 -1
  192. data/spec/models/sic_index_spec.rb +1 -1
  193. data/spec/models/standardized_financial_spec.rb +1 -1
  194. data/spec/models/stock_exchange_spec.rb +1 -1
  195. data/spec/models/stock_market_index_spec.rb +1 -1
  196. data/spec/models/stock_market_index_summary_spec.rb +1 -1
  197. data/spec/models/stock_price_adjustment_spec.rb +7 -1
  198. data/spec/models/stock_price_adjustment_summary_spec.rb +1 -7
  199. data/spec/models/stock_price_spec.rb +1 -1
  200. data/spec/models/stock_price_summary_spec.rb +1 -1
  201. data/spec/spec_helper.rb +1 -1
  202. metadata +54 -3
  203. data/intrinio-sdk-1.1.0.gem +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
7
7
 
8
- OpenAPI spec version: 2.1.0
8
+ OpenAPI spec version: 2.1.1
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.3.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
5
 
6
- OpenAPI spec version: 2.1.0
6
+ OpenAPI spec version: 2.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.0-SNAPSHOT
@@ -18,24 +18,32 @@ require 'intrinio-sdk/configuration'
18
18
 
19
19
  # Models
20
20
  require 'intrinio-sdk/models/api_response_companies'
21
+ require 'intrinio-sdk/models/api_response_companies_search'
21
22
  require 'intrinio-sdk/models/api_response_company_filings'
22
23
  require 'intrinio-sdk/models/api_response_company_fundamentals'
23
24
  require 'intrinio-sdk/models/api_response_company_historical_data'
24
25
  require 'intrinio-sdk/models/api_response_company_news'
25
26
  require 'intrinio-sdk/models/api_response_company_securities'
26
27
  require 'intrinio-sdk/models/api_response_data_tags'
28
+ require 'intrinio-sdk/models/api_response_data_tags_search'
27
29
  require 'intrinio-sdk/models/api_response_economic_index_historical_data'
28
30
  require 'intrinio-sdk/models/api_response_economic_indices'
31
+ require 'intrinio-sdk/models/api_response_economic_indices_search'
29
32
  require 'intrinio-sdk/models/api_response_filing_notes'
30
33
  require 'intrinio-sdk/models/api_response_filing_notes_search'
31
34
  require 'intrinio-sdk/models/api_response_filings'
32
35
  require 'intrinio-sdk/models/api_response_historical_data'
36
+ require 'intrinio-sdk/models/api_response_municipalities'
37
+ require 'intrinio-sdk/models/api_response_municipalitiy_financials'
33
38
  require 'intrinio-sdk/models/api_response_news'
34
39
  require 'intrinio-sdk/models/api_response_reported_financials'
35
40
  require 'intrinio-sdk/models/api_response_sic_index_historical_data'
36
41
  require 'intrinio-sdk/models/api_response_sic_indices'
42
+ require 'intrinio-sdk/models/api_response_sic_indices_search'
37
43
  require 'intrinio-sdk/models/api_response_securities'
44
+ require 'intrinio-sdk/models/api_response_securities_search'
38
45
  require 'intrinio-sdk/models/api_response_security_historical_data'
46
+ require 'intrinio-sdk/models/api_response_security_intraday_prices'
39
47
  require 'intrinio-sdk/models/api_response_security_stock_price_adjustments'
40
48
  require 'intrinio-sdk/models/api_response_security_stock_prices'
41
49
  require 'intrinio-sdk/models/api_response_standardized_financials'
@@ -46,6 +54,7 @@ require 'intrinio-sdk/models/api_response_stock_exchange_stock_prices'
46
54
  require 'intrinio-sdk/models/api_response_stock_exchanges'
47
55
  require 'intrinio-sdk/models/api_response_stock_market_index_historical_data'
48
56
  require 'intrinio-sdk/models/api_response_stock_market_indices'
57
+ require 'intrinio-sdk/models/api_response_stock_market_indices_search'
49
58
  require 'intrinio-sdk/models/company'
50
59
  require 'intrinio-sdk/models/company_filing'
51
60
  require 'intrinio-sdk/models/company_news'
@@ -65,6 +74,9 @@ require 'intrinio-sdk/models/filing_summary'
65
74
  require 'intrinio-sdk/models/fundamental'
66
75
  require 'intrinio-sdk/models/fundamental_summary'
67
76
  require 'intrinio-sdk/models/historical_data'
77
+ require 'intrinio-sdk/models/intraday_stock_price'
78
+ require 'intrinio-sdk/models/municipality'
79
+ require 'intrinio-sdk/models/municipality_financial'
68
80
  require 'intrinio-sdk/models/realtime_stock_price'
69
81
  require 'intrinio-sdk/models/realtime_stock_price_security'
70
82
  require 'intrinio-sdk/models/reported_financial'
@@ -93,6 +105,7 @@ require 'intrinio-sdk/api/filing_api'
93
105
  require 'intrinio-sdk/api/fundamentals_api'
94
106
  require 'intrinio-sdk/api/historical_data_api'
95
107
  require 'intrinio-sdk/api/index_api'
108
+ require 'intrinio-sdk/api/municipality_api'
96
109
  require 'intrinio-sdk/api/security_api'
97
110
  require 'intrinio-sdk/api/stock_exchange_api'
98
111
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
5
 
6
- OpenAPI spec version: 2.1.0
6
+ OpenAPI spec version: 2.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.0-SNAPSHOT
@@ -20,187 +20,58 @@ module Intrinio
20
20
  @api_client = api_client
21
21
  end
22
22
 
23
- # Filter Companies
24
- # Returns Companies matching the specified filters
23
+ # All Companies
24
+ # Returns all Companies. When parameters are specified, returns matching companies.
25
25
  # @param [Hash] opts the optional parameters
26
- # @option opts [Date] :last_filing_date Last filing date
26
+ # @option opts [Date] :latest_filing_date Last filing date
27
27
  # @option opts [String] :sic Standard Industrial Classification code
28
28
  # @option opts [String] :template Template
29
29
  # @option opts [String] :sector Industry sector
30
30
  # @option opts [String] :industry_category Industry category
31
31
  # @option opts [String] :industry_group Industry group
32
+ # @option opts [Float] :page_size The number of results to return (default to 100)
32
33
  # @option opts [String] :next_page Gets the next page of data from a previous API call
33
34
  # @return [ApiResponseCompanies]
34
- def filter_companies(opts = {})
35
- data, _status_code, _headers = filter_companies_with_http_info(opts)
35
+ def get_all_companies(opts = {})
36
+ data, _status_code, _headers = get_all_companies_with_http_info(opts)
36
37
  return data
37
38
  end
38
39
 
39
- # Filter Companies
40
- # Returns Companies matching the specified filters
40
+ # All Companies
41
+ # Returns all Companies. When parameters are specified, returns matching companies.
41
42
  # @param [Hash] opts the optional parameters
42
- # @option opts [Date] :last_filing_date Last filing date
43
+ # @option opts [Date] :latest_filing_date Last filing date
43
44
  # @option opts [String] :sic Standard Industrial Classification code
44
45
  # @option opts [String] :template Template
45
46
  # @option opts [String] :sector Industry sector
46
47
  # @option opts [String] :industry_category Industry category
47
48
  # @option opts [String] :industry_group Industry group
49
+ # @option opts [Float] :page_size The number of results to return
48
50
  # @option opts [String] :next_page Gets the next page of data from a previous API call
49
51
  # @return [Array<(ApiResponseCompanies, Fixnum, Hash)>] ApiResponseCompanies data, response status code and response headers
50
- def filter_companies_with_http_info(opts = {})
52
+ def get_all_companies_with_http_info(opts = {})
51
53
  if @api_client.config.debugging
52
- @api_client.config.logger.debug "Calling API: CompanyApi.filter_companies ..."
54
+ @api_client.config.logger.debug "Calling API: CompanyApi.get_all_companies ..."
53
55
  end
54
56
  if @api_client.config.client_side_validation && opts[:'template'] && !['industrial', 'financial'].include?(opts[:'template'])
55
57
  fail ArgumentError, 'invalid value for "template", must be one of industrial, financial'
56
58
  end
59
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
60
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling CompanyApi.get_all_companies, must be smaller than or equal to 10000.'
61
+ end
62
+
57
63
  # resource path
58
- local_var_path = "/companies/filter"
64
+ local_var_path = "/companies"
59
65
 
60
66
  # query parameters
61
67
  query_params = {}
62
- query_params[:'last_filing_date'] = opts[:'last_filing_date'] if !opts[:'last_filing_date'].nil?
68
+ query_params[:'latest_filing_date'] = opts[:'latest_filing_date'] if !opts[:'latest_filing_date'].nil?
63
69
  query_params[:'sic'] = opts[:'sic'] if !opts[:'sic'].nil?
64
70
  query_params[:'template'] = opts[:'template'] if !opts[:'template'].nil?
65
71
  query_params[:'sector'] = opts[:'sector'] if !opts[:'sector'].nil?
66
72
  query_params[:'industry_category'] = opts[:'industry_category'] if !opts[:'industry_category'].nil?
67
73
  query_params[:'industry_group'] = opts[:'industry_group'] if !opts[:'industry_group'].nil?
68
- query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
69
-
70
- # header parameters
71
- header_params = {}
72
- # HTTP header 'Accept' (if needed)
73
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
74
-
75
- # form parameters
76
- form_params = {}
77
-
78
- # http body (model)
79
- post_body = nil
80
- auth_names = ['ApiKeyAuth']
81
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
82
- :header_params => header_params,
83
- :query_params => query_params,
84
- :form_params => form_params,
85
- :body => post_body,
86
- :auth_names => auth_names,
87
- :return_type => 'ApiResponseCompanies')
88
- if @api_client.config.debugging
89
- @api_client.config.logger.debug "API called: CompanyApi#filter_companies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
- end
91
- return data, status_code, headers
92
- end
93
-
94
- # Filter Fundamentals by Company
95
- # Returns Fundamentals for the Company with the given `identifier` and matching the specified filters
96
- # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
97
- # @param [Hash] opts the optional parameters
98
- # @option opts [Date] :filed_after Filed on or after this date
99
- # @option opts [Date] :filed_before Filed on or before this date
100
- # @option opts [BOOLEAN] :reported_only Only as-reported fundamentals
101
- # @option opts [Integer] :fiscal_year Only for the given fiscal year
102
- # @option opts [String] :statement_code Only of the given statement code
103
- # @option opts [String] :type Only of the given type
104
- # @option opts [Date] :start_date Only on or after the given date
105
- # @option opts [Date] :end_date Only on or before the given date
106
- # @option opts [String] :next_page Gets the next page of data from a previous API call
107
- # @return [ApiResponseCompanyFundamentals]
108
- def filter_company_fundamentals(identifier, opts = {})
109
- data, _status_code, _headers = filter_company_fundamentals_with_http_info(identifier, opts)
110
- return data
111
- end
112
-
113
- # Filter Fundamentals by Company
114
- # Returns Fundamentals for the Company with the given &#x60;identifier&#x60; and matching the specified filters
115
- # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
116
- # @param [Hash] opts the optional parameters
117
- # @option opts [Date] :filed_after Filed on or after this date
118
- # @option opts [Date] :filed_before Filed on or before this date
119
- # @option opts [BOOLEAN] :reported_only Only as-reported fundamentals
120
- # @option opts [Integer] :fiscal_year Only for the given fiscal year
121
- # @option opts [String] :statement_code Only of the given statement code
122
- # @option opts [String] :type Only of the given type
123
- # @option opts [Date] :start_date Only on or after the given date
124
- # @option opts [Date] :end_date Only on or before the given date
125
- # @option opts [String] :next_page Gets the next page of data from a previous API call
126
- # @return [Array<(ApiResponseCompanyFundamentals, Fixnum, Hash)>] ApiResponseCompanyFundamentals data, response status code and response headers
127
- def filter_company_fundamentals_with_http_info(identifier, opts = {})
128
- if @api_client.config.debugging
129
- @api_client.config.logger.debug "Calling API: CompanyApi.filter_company_fundamentals ..."
130
- end
131
- # verify the required parameter 'identifier' is set
132
- if @api_client.config.client_side_validation && identifier.nil?
133
- fail ArgumentError, "Missing the required parameter 'identifier' when calling CompanyApi.filter_company_fundamentals"
134
- end
135
- if @api_client.config.client_side_validation && opts[:'statement_code'] && !['income_statement', 'balance_sheet_statement', 'cash_flow_statement', 'calculations'].include?(opts[:'statement_code'])
136
- fail ArgumentError, 'invalid value for "statement_code", must be one of income_statement, balance_sheet_statement, cash_flow_statement, calculations'
137
- end
138
- if @api_client.config.client_side_validation && opts[:'type'] && !['QTR', 'YTD', 'FY', 'TTM'].include?(opts[:'type'])
139
- fail ArgumentError, 'invalid value for "type", must be one of QTR, YTD, FY, TTM'
140
- end
141
- # resource path
142
- local_var_path = "/companies/{identifier}/fundamentals/filter".sub('{' + 'identifier' + '}', identifier.to_s)
143
-
144
- # query parameters
145
- query_params = {}
146
- query_params[:'filed_after'] = opts[:'filed_after'] if !opts[:'filed_after'].nil?
147
- query_params[:'filed_before'] = opts[:'filed_before'] if !opts[:'filed_before'].nil?
148
- query_params[:'reported_only'] = opts[:'reported_only'] if !opts[:'reported_only'].nil?
149
- query_params[:'fiscal_year'] = opts[:'fiscal_year'] if !opts[:'fiscal_year'].nil?
150
- query_params[:'statement_code'] = opts[:'statement_code'] if !opts[:'statement_code'].nil?
151
- query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
152
- query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
153
- query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
154
- query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
155
-
156
- # header parameters
157
- header_params = {}
158
- # HTTP header 'Accept' (if needed)
159
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
160
-
161
- # form parameters
162
- form_params = {}
163
-
164
- # http body (model)
165
- post_body = nil
166
- auth_names = ['ApiKeyAuth']
167
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
168
- :header_params => header_params,
169
- :query_params => query_params,
170
- :form_params => form_params,
171
- :body => post_body,
172
- :auth_names => auth_names,
173
- :return_type => 'ApiResponseCompanyFundamentals')
174
- if @api_client.config.debugging
175
- @api_client.config.logger.debug "API called: CompanyApi#filter_company_fundamentals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
176
- end
177
- return data, status_code, headers
178
- end
179
-
180
- # All Companies
181
- # Returns all Companies
182
- # @param [Hash] opts the optional parameters
183
- # @option opts [String] :next_page Gets the next page of data from a previous API call
184
- # @return [ApiResponseCompanies]
185
- def get_all_companies(opts = {})
186
- data, _status_code, _headers = get_all_companies_with_http_info(opts)
187
- return data
188
- end
189
-
190
- # All Companies
191
- # Returns all Companies
192
- # @param [Hash] opts the optional parameters
193
- # @option opts [String] :next_page Gets the next page of data from a previous API call
194
- # @return [Array<(ApiResponseCompanies, Fixnum, Hash)>] ApiResponseCompanies data, response status code and response headers
195
- def get_all_companies_with_http_info(opts = {})
196
- if @api_client.config.debugging
197
- @api_client.config.logger.debug "Calling API: CompanyApi.get_all_companies ..."
198
- end
199
- # resource path
200
- local_var_path = "/companies"
201
-
202
- # query parameters
203
- query_params = {}
74
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
204
75
  query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
205
76
 
206
77
  # header parameters
@@ -230,6 +101,7 @@ module Intrinio
230
101
  # All News
231
102
  # Returns all News for all Companies
232
103
  # @param [Hash] opts the optional parameters
104
+ # @option opts [Float] :page_size The number of results to return (default to 100)
233
105
  # @option opts [String] :next_page Gets the next page of data from a previous API call
234
106
  # @return [ApiResponseNews]
235
107
  def get_all_company_news(opts = {})
@@ -240,17 +112,23 @@ module Intrinio
240
112
  # All News
241
113
  # Returns all News for all Companies
242
114
  # @param [Hash] opts the optional parameters
115
+ # @option opts [Float] :page_size The number of results to return
243
116
  # @option opts [String] :next_page Gets the next page of data from a previous API call
244
117
  # @return [Array<(ApiResponseNews, Fixnum, Hash)>] ApiResponseNews data, response status code and response headers
245
118
  def get_all_company_news_with_http_info(opts = {})
246
119
  if @api_client.config.debugging
247
120
  @api_client.config.logger.debug "Calling API: CompanyApi.get_all_company_news ..."
248
121
  end
122
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
123
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling CompanyApi.get_all_company_news, must be smaller than or equal to 10000.'
124
+ end
125
+
249
126
  # resource path
250
127
  local_var_path = "/companies/news"
251
128
 
252
129
  # query parameters
253
130
  query_params = {}
131
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
254
132
  query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
255
133
 
256
134
  # header parameters
@@ -452,6 +330,7 @@ module Intrinio
452
330
  # Returns a complete list of SEC filings for the Company with the given `identifier`
453
331
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
454
332
  # @param [Hash] opts the optional parameters
333
+ # @option opts [Float] :page_size The number of results to return (default to 100)
455
334
  # @option opts [String] :next_page Gets the next page of data from a previous API call
456
335
  # @return [ApiResponseCompanyFilings]
457
336
  def get_company_filings(identifier, opts = {})
@@ -463,6 +342,7 @@ module Intrinio
463
342
  # Returns a complete list of SEC filings for the Company with the given &#x60;identifier&#x60;
464
343
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
465
344
  # @param [Hash] opts the optional parameters
345
+ # @option opts [Float] :page_size The number of results to return
466
346
  # @option opts [String] :next_page Gets the next page of data from a previous API call
467
347
  # @return [Array<(ApiResponseCompanyFilings, Fixnum, Hash)>] ApiResponseCompanyFilings data, response status code and response headers
468
348
  def get_company_filings_with_http_info(identifier, opts = {})
@@ -473,11 +353,16 @@ module Intrinio
473
353
  if @api_client.config.client_side_validation && identifier.nil?
474
354
  fail ArgumentError, "Missing the required parameter 'identifier' when calling CompanyApi.get_company_filings"
475
355
  end
356
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
357
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling CompanyApi.get_company_filings, must be smaller than or equal to 10000.'
358
+ end
359
+
476
360
  # resource path
477
361
  local_var_path = "/companies/{identifier}/filings".sub('{' + 'identifier' + '}', identifier.to_s)
478
362
 
479
363
  # query parameters
480
364
  query_params = {}
365
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
481
366
  query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
482
367
 
483
368
  # header parameters
@@ -505,9 +390,18 @@ module Intrinio
505
390
  end
506
391
 
507
392
  # All Fundamentals by Company
508
- # Returns all Fundamentals for the Company with the given `identifier`
393
+ # Returns all Fundamentals for the Company with the given `identifier`. Returns Fundamentals matching parameters when supplied.
509
394
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
510
395
  # @param [Hash] opts the optional parameters
396
+ # @option opts [Date] :filed_after Filed on or after this date
397
+ # @option opts [Date] :filed_before Filed on or before this date
398
+ # @option opts [BOOLEAN] :reported_only Only as-reported fundamentals
399
+ # @option opts [Integer] :fiscal_year Only for the given fiscal year
400
+ # @option opts [String] :statement_code Only of the given statement code
401
+ # @option opts [String] :type Only of the given type
402
+ # @option opts [Date] :start_date Only on or after the given date
403
+ # @option opts [Date] :end_date Only on or before the given date
404
+ # @option opts [Float] :page_size The number of results to return (default to 100)
511
405
  # @option opts [String] :next_page Gets the next page of data from a previous API call
512
406
  # @return [ApiResponseCompanyFundamentals]
513
407
  def get_company_fundamentals(identifier, opts = {})
@@ -516,9 +410,18 @@ module Intrinio
516
410
  end
517
411
 
518
412
  # All Fundamentals by Company
519
- # Returns all Fundamentals for the Company with the given &#x60;identifier&#x60;
413
+ # Returns all Fundamentals for the Company with the given &#x60;identifier&#x60;. Returns Fundamentals matching parameters when supplied.
520
414
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
521
415
  # @param [Hash] opts the optional parameters
416
+ # @option opts [Date] :filed_after Filed on or after this date
417
+ # @option opts [Date] :filed_before Filed on or before this date
418
+ # @option opts [BOOLEAN] :reported_only Only as-reported fundamentals
419
+ # @option opts [Integer] :fiscal_year Only for the given fiscal year
420
+ # @option opts [String] :statement_code Only of the given statement code
421
+ # @option opts [String] :type Only of the given type
422
+ # @option opts [Date] :start_date Only on or after the given date
423
+ # @option opts [Date] :end_date Only on or before the given date
424
+ # @option opts [Float] :page_size The number of results to return
522
425
  # @option opts [String] :next_page Gets the next page of data from a previous API call
523
426
  # @return [Array<(ApiResponseCompanyFundamentals, Fixnum, Hash)>] ApiResponseCompanyFundamentals data, response status code and response headers
524
427
  def get_company_fundamentals_with_http_info(identifier, opts = {})
@@ -529,11 +432,30 @@ module Intrinio
529
432
  if @api_client.config.client_side_validation && identifier.nil?
530
433
  fail ArgumentError, "Missing the required parameter 'identifier' when calling CompanyApi.get_company_fundamentals"
531
434
  end
435
+ if @api_client.config.client_side_validation && opts[:'statement_code'] && !['income_statement', 'balance_sheet_statement', 'cash_flow_statement', 'calculations'].include?(opts[:'statement_code'])
436
+ fail ArgumentError, 'invalid value for "statement_code", must be one of income_statement, balance_sheet_statement, cash_flow_statement, calculations'
437
+ end
438
+ if @api_client.config.client_side_validation && opts[:'type'] && !['QTR', 'YTD', 'FY', 'TTM'].include?(opts[:'type'])
439
+ fail ArgumentError, 'invalid value for "type", must be one of QTR, YTD, FY, TTM'
440
+ end
441
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
442
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling CompanyApi.get_company_fundamentals, must be smaller than or equal to 10000.'
443
+ end
444
+
532
445
  # resource path
533
446
  local_var_path = "/companies/{identifier}/fundamentals".sub('{' + 'identifier' + '}', identifier.to_s)
534
447
 
535
448
  # query parameters
536
449
  query_params = {}
450
+ query_params[:'filed_after'] = opts[:'filed_after'] if !opts[:'filed_after'].nil?
451
+ query_params[:'filed_before'] = opts[:'filed_before'] if !opts[:'filed_before'].nil?
452
+ query_params[:'reported_only'] = opts[:'reported_only'] if !opts[:'reported_only'].nil?
453
+ query_params[:'fiscal_year'] = opts[:'fiscal_year'] if !opts[:'fiscal_year'].nil?
454
+ query_params[:'statement_code'] = opts[:'statement_code'] if !opts[:'statement_code'].nil?
455
+ query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
456
+ query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
457
+ query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
458
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
537
459
  query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
538
460
 
539
461
  # header parameters
@@ -570,6 +492,7 @@ module Intrinio
570
492
  # @option opts [Date] :start_date Get historical data on or after this date
571
493
  # @option opts [Date] :end_date Get historical data on or before this date
572
494
  # @option opts [String] :sort_order Sort by date &#x60;asc&#x60; or &#x60;desc&#x60; (default to desc)
495
+ # @option opts [Float] :page_size The number of results to return (default to 100)
573
496
  # @option opts [String] :next_page Gets the next page of data from a previous API call
574
497
  # @return [ApiResponseCompanyHistoricalData]
575
498
  def get_company_historical_data(identifier, tag, opts = {})
@@ -587,6 +510,7 @@ module Intrinio
587
510
  # @option opts [Date] :start_date Get historical data on or after this date
588
511
  # @option opts [Date] :end_date Get historical data on or before this date
589
512
  # @option opts [String] :sort_order Sort by date &#x60;asc&#x60; or &#x60;desc&#x60;
513
+ # @option opts [Float] :page_size The number of results to return
590
514
  # @option opts [String] :next_page Gets the next page of data from a previous API call
591
515
  # @return [Array<(ApiResponseCompanyHistoricalData, Fixnum, Hash)>] ApiResponseCompanyHistoricalData data, response status code and response headers
592
516
  def get_company_historical_data_with_http_info(identifier, tag, opts = {})
@@ -607,6 +531,10 @@ module Intrinio
607
531
  if @api_client.config.client_side_validation && opts[:'sort_order'] && !['asc', 'desc'].include?(opts[:'sort_order'])
608
532
  fail ArgumentError, 'invalid value for "sort_order", must be one of asc, desc'
609
533
  end
534
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
535
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling CompanyApi.get_company_historical_data, must be smaller than or equal to 10000.'
536
+ end
537
+
610
538
  # resource path
611
539
  local_var_path = "/companies/{identifier}/historical_data/{tag}".sub('{' + 'identifier' + '}', identifier.to_s).sub('{' + 'tag' + '}', tag.to_s)
612
540
 
@@ -617,6 +545,7 @@ module Intrinio
617
545
  query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
618
546
  query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
619
547
  query_params[:'sort_order'] = opts[:'sort_order'] if !opts[:'sort_order'].nil?
548
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
620
549
  query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
621
550
 
622
551
  # header parameters
@@ -647,6 +576,7 @@ module Intrinio
647
576
  # Returns news for the Company with the given `identifier`
648
577
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
649
578
  # @param [Hash] opts the optional parameters
579
+ # @option opts [Float] :page_size The number of results to return (default to 100)
650
580
  # @option opts [String] :next_page Gets the next page of data from a previous API call
651
581
  # @return [ApiResponseCompanyNews]
652
582
  def get_company_news(identifier, opts = {})
@@ -658,6 +588,7 @@ module Intrinio
658
588
  # Returns news for the Company with the given &#x60;identifier&#x60;
659
589
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
660
590
  # @param [Hash] opts the optional parameters
591
+ # @option opts [Float] :page_size The number of results to return
661
592
  # @option opts [String] :next_page Gets the next page of data from a previous API call
662
593
  # @return [Array<(ApiResponseCompanyNews, Fixnum, Hash)>] ApiResponseCompanyNews data, response status code and response headers
663
594
  def get_company_news_with_http_info(identifier, opts = {})
@@ -668,11 +599,16 @@ module Intrinio
668
599
  if @api_client.config.client_side_validation && identifier.nil?
669
600
  fail ArgumentError, "Missing the required parameter 'identifier' when calling CompanyApi.get_company_news"
670
601
  end
602
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
603
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling CompanyApi.get_company_news, must be smaller than or equal to 10000.'
604
+ end
605
+
671
606
  # resource path
672
607
  local_var_path = "/companies/{identifier}/news".sub('{' + 'identifier' + '}', identifier.to_s)
673
608
 
674
609
  # query parameters
675
610
  query_params = {}
611
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
676
612
  query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
677
613
 
678
614
  # header parameters
@@ -838,7 +774,8 @@ module Intrinio
838
774
  # Searches for Companies matching the text `query`
839
775
  # @param query Search parameters
840
776
  # @param [Hash] opts the optional parameters
841
- # @return [ApiResponseCompanies]
777
+ # @option opts [Float] :page_size The number of results to return (default to 100)
778
+ # @return [ApiResponseCompaniesSearch]
842
779
  def search_companies(query, opts = {})
843
780
  data, _status_code, _headers = search_companies_with_http_info(query, opts)
844
781
  return data
@@ -848,7 +785,8 @@ module Intrinio
848
785
  # Searches for Companies matching the text &#x60;query&#x60;
849
786
  # @param query Search parameters
850
787
  # @param [Hash] opts the optional parameters
851
- # @return [Array<(ApiResponseCompanies, Fixnum, Hash)>] ApiResponseCompanies data, response status code and response headers
788
+ # @option opts [Float] :page_size The number of results to return
789
+ # @return [Array<(ApiResponseCompaniesSearch, Fixnum, Hash)>] ApiResponseCompaniesSearch data, response status code and response headers
852
790
  def search_companies_with_http_info(query, opts = {})
853
791
  if @api_client.config.debugging
854
792
  @api_client.config.logger.debug "Calling API: CompanyApi.search_companies ..."
@@ -857,12 +795,17 @@ module Intrinio
857
795
  if @api_client.config.client_side_validation && query.nil?
858
796
  fail ArgumentError, "Missing the required parameter 'query' when calling CompanyApi.search_companies"
859
797
  end
798
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
799
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling CompanyApi.search_companies, must be smaller than or equal to 10000.'
800
+ end
801
+
860
802
  # resource path
861
803
  local_var_path = "/companies/search"
862
804
 
863
805
  # query parameters
864
806
  query_params = {}
865
807
  query_params[:'query'] = query
808
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
866
809
 
867
810
  # header parameters
868
811
  header_params = {}
@@ -881,7 +824,7 @@ module Intrinio
881
824
  :form_params => form_params,
882
825
  :body => post_body,
883
826
  :auth_names => auth_names,
884
- :return_type => 'ApiResponseCompanies')
827
+ :return_type => 'ApiResponseCompaniesSearch')
885
828
  if @api_client.config.debugging
886
829
  @api_client.config.logger.debug "API called: CompanyApi#search_companies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
887
830
  end