pharmaobservatory 0.1.20 → 0.1.21
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.
- checksums.yaml +4 -4
- data/README.md +26 -4
- data/docs/BiomarkersApi.md +80 -0
- data/docs/CompaniesApi.md +246 -0
- data/docs/HospitalsRow.md +11 -1
- data/docs/InvestmentGraphEdgesResponse.md +58 -0
- data/docs/InvestmentGraphEdgesRow.md +90 -0
- data/docs/InvestmentGraphNodeEdgesResponse.md +58 -0
- data/docs/InvestmentGraphNodeEdgesRow.md +88 -0
- data/docs/InvestmentGraphNodesResponse.md +58 -0
- data/docs/InvestmentGraphNodesRow.md +52 -0
- data/docs/InvestorsApi.md +240 -0
- data/docs/LegalEntitiesApi.md +240 -0
- data/docs/ProviderBiomarkerCapabilityResponse.md +58 -0
- data/docs/ProviderBiomarkerCapabilityRow.md +86 -0
- data/docs/ProviderCliaLicensureResponse.md +58 -0
- data/docs/ProviderCliaLicensureRow.md +80 -0
- data/docs/SuppliersApi.md +160 -0
- data/lib/pharmaobservatory/api/biomarkers_api.rb +84 -0
- data/lib/pharmaobservatory/api/companies_api.rb +273 -0
- data/lib/pharmaobservatory/api/investors_api.rb +252 -0
- data/lib/pharmaobservatory/api/legal_entities_api.rb +252 -0
- data/lib/pharmaobservatory/api/suppliers_api.rb +168 -0
- data/lib/pharmaobservatory/models/hospitals_row.rb +60 -5
- data/lib/pharmaobservatory/models/investment_graph_edges_response.rb +478 -0
- data/lib/pharmaobservatory/models/investment_graph_edges_row.rb +619 -0
- data/lib/pharmaobservatory/models/investment_graph_node_edges_response.rb +478 -0
- data/lib/pharmaobservatory/models/investment_graph_node_edges_row.rb +608 -0
- data/lib/pharmaobservatory/models/investment_graph_nodes_response.rb +478 -0
- data/lib/pharmaobservatory/models/investment_graph_nodes_row.rb +412 -0
- data/lib/pharmaobservatory/models/provider_biomarker_capability_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_biomarker_capability_row.rb +601 -0
- data/lib/pharmaobservatory/models/provider_clia_licensure_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_clia_licensure_row.rb +568 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +10 -0
- metadata +22 -2
|
@@ -164,6 +164,258 @@ module PharmaObservatory
|
|
|
164
164
|
return data, status_code, headers
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
+
# Investment graph edges
|
|
168
|
+
# @param id [String]
|
|
169
|
+
# @param [Hash] opts the optional parameters
|
|
170
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
171
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
172
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
173
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
174
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
175
|
+
# @return [InvestmentGraphEdgesResponse]
|
|
176
|
+
def investors_investment_graph_edges(id, opts = {})
|
|
177
|
+
data, _status_code, _headers = investors_investment_graph_edges_with_http_info(id, opts)
|
|
178
|
+
data
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Investment graph edges
|
|
182
|
+
# @param id [String]
|
|
183
|
+
# @param [Hash] opts the optional parameters
|
|
184
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
185
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
186
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
187
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
188
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
189
|
+
# @return [Array<(InvestmentGraphEdgesResponse, Integer, Hash)>] InvestmentGraphEdgesResponse data, response status code and response headers
|
|
190
|
+
def investors_investment_graph_edges_with_http_info(id, opts = {})
|
|
191
|
+
if @api_client.config.debugging
|
|
192
|
+
@api_client.config.logger.debug 'Calling API: InvestorsApi.investors_investment_graph_edges ...'
|
|
193
|
+
end
|
|
194
|
+
# verify the required parameter 'id' is set
|
|
195
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
196
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestorsApi.investors_investment_graph_edges"
|
|
197
|
+
end
|
|
198
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
199
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestorsApi.investors_investment_graph_edges, must be smaller than or equal to 500.'
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
203
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestorsApi.investors_investment_graph_edges, must be greater than or equal to 1.'
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# resource path
|
|
207
|
+
local_var_path = '/api/v1/investors/{id}/investment_graph_edges'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
208
|
+
|
|
209
|
+
# query parameters
|
|
210
|
+
query_params = opts[:query_params] || {}
|
|
211
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
212
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
213
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
214
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
215
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
216
|
+
|
|
217
|
+
# header parameters
|
|
218
|
+
header_params = opts[:header_params] || {}
|
|
219
|
+
# HTTP header 'Accept' (if needed)
|
|
220
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
221
|
+
|
|
222
|
+
# form parameters
|
|
223
|
+
form_params = opts[:form_params] || {}
|
|
224
|
+
|
|
225
|
+
# http body (model)
|
|
226
|
+
post_body = opts[:debug_body]
|
|
227
|
+
|
|
228
|
+
# return_type
|
|
229
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphEdgesResponse'
|
|
230
|
+
|
|
231
|
+
# auth_names
|
|
232
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
233
|
+
|
|
234
|
+
new_options = opts.merge(
|
|
235
|
+
:operation => :"InvestorsApi.investors_investment_graph_edges",
|
|
236
|
+
:header_params => header_params,
|
|
237
|
+
:query_params => query_params,
|
|
238
|
+
:form_params => form_params,
|
|
239
|
+
:body => post_body,
|
|
240
|
+
:auth_names => auth_names,
|
|
241
|
+
:return_type => return_type
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
245
|
+
if @api_client.config.debugging
|
|
246
|
+
@api_client.config.logger.debug "API called: InvestorsApi#investors_investment_graph_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
247
|
+
end
|
|
248
|
+
return data, status_code, headers
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Investment graph edges by node (one row per endpoint)
|
|
252
|
+
# @param id [String]
|
|
253
|
+
# @param [Hash] opts the optional parameters
|
|
254
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
255
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
256
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
257
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
258
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
259
|
+
# @return [InvestmentGraphNodeEdgesResponse]
|
|
260
|
+
def investors_investment_graph_node_edges(id, opts = {})
|
|
261
|
+
data, _status_code, _headers = investors_investment_graph_node_edges_with_http_info(id, opts)
|
|
262
|
+
data
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# Investment graph edges by node (one row per endpoint)
|
|
266
|
+
# @param id [String]
|
|
267
|
+
# @param [Hash] opts the optional parameters
|
|
268
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
269
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
270
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
271
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
272
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
273
|
+
# @return [Array<(InvestmentGraphNodeEdgesResponse, Integer, Hash)>] InvestmentGraphNodeEdgesResponse data, response status code and response headers
|
|
274
|
+
def investors_investment_graph_node_edges_with_http_info(id, opts = {})
|
|
275
|
+
if @api_client.config.debugging
|
|
276
|
+
@api_client.config.logger.debug 'Calling API: InvestorsApi.investors_investment_graph_node_edges ...'
|
|
277
|
+
end
|
|
278
|
+
# verify the required parameter 'id' is set
|
|
279
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
280
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestorsApi.investors_investment_graph_node_edges"
|
|
281
|
+
end
|
|
282
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
283
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestorsApi.investors_investment_graph_node_edges, must be smaller than or equal to 500.'
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
287
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestorsApi.investors_investment_graph_node_edges, must be greater than or equal to 1.'
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# resource path
|
|
291
|
+
local_var_path = '/api/v1/investors/{id}/investment_graph_node_edges'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
292
|
+
|
|
293
|
+
# query parameters
|
|
294
|
+
query_params = opts[:query_params] || {}
|
|
295
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
296
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
297
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
298
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
299
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
300
|
+
|
|
301
|
+
# header parameters
|
|
302
|
+
header_params = opts[:header_params] || {}
|
|
303
|
+
# HTTP header 'Accept' (if needed)
|
|
304
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
305
|
+
|
|
306
|
+
# form parameters
|
|
307
|
+
form_params = opts[:form_params] || {}
|
|
308
|
+
|
|
309
|
+
# http body (model)
|
|
310
|
+
post_body = opts[:debug_body]
|
|
311
|
+
|
|
312
|
+
# return_type
|
|
313
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphNodeEdgesResponse'
|
|
314
|
+
|
|
315
|
+
# auth_names
|
|
316
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
317
|
+
|
|
318
|
+
new_options = opts.merge(
|
|
319
|
+
:operation => :"InvestorsApi.investors_investment_graph_node_edges",
|
|
320
|
+
:header_params => header_params,
|
|
321
|
+
:query_params => query_params,
|
|
322
|
+
:form_params => form_params,
|
|
323
|
+
:body => post_body,
|
|
324
|
+
:auth_names => auth_names,
|
|
325
|
+
:return_type => return_type
|
|
326
|
+
)
|
|
327
|
+
|
|
328
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
329
|
+
if @api_client.config.debugging
|
|
330
|
+
@api_client.config.logger.debug "API called: InvestorsApi#investors_investment_graph_node_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
331
|
+
end
|
|
332
|
+
return data, status_code, headers
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
# Investment graph nodes
|
|
336
|
+
# @param id [String]
|
|
337
|
+
# @param [Hash] opts the optional parameters
|
|
338
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
339
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
340
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
341
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
342
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
343
|
+
# @return [InvestmentGraphNodesResponse]
|
|
344
|
+
def investors_investment_graph_nodes(id, opts = {})
|
|
345
|
+
data, _status_code, _headers = investors_investment_graph_nodes_with_http_info(id, opts)
|
|
346
|
+
data
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
# Investment graph nodes
|
|
350
|
+
# @param id [String]
|
|
351
|
+
# @param [Hash] opts the optional parameters
|
|
352
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
353
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
354
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
355
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
356
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
357
|
+
# @return [Array<(InvestmentGraphNodesResponse, Integer, Hash)>] InvestmentGraphNodesResponse data, response status code and response headers
|
|
358
|
+
def investors_investment_graph_nodes_with_http_info(id, opts = {})
|
|
359
|
+
if @api_client.config.debugging
|
|
360
|
+
@api_client.config.logger.debug 'Calling API: InvestorsApi.investors_investment_graph_nodes ...'
|
|
361
|
+
end
|
|
362
|
+
# verify the required parameter 'id' is set
|
|
363
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
364
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling InvestorsApi.investors_investment_graph_nodes"
|
|
365
|
+
end
|
|
366
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
367
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestorsApi.investors_investment_graph_nodes, must be smaller than or equal to 500.'
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
371
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling InvestorsApi.investors_investment_graph_nodes, must be greater than or equal to 1.'
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# resource path
|
|
375
|
+
local_var_path = '/api/v1/investors/{id}/investment_graph_nodes'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
376
|
+
|
|
377
|
+
# query parameters
|
|
378
|
+
query_params = opts[:query_params] || {}
|
|
379
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
380
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
381
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
382
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
383
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
384
|
+
|
|
385
|
+
# header parameters
|
|
386
|
+
header_params = opts[:header_params] || {}
|
|
387
|
+
# HTTP header 'Accept' (if needed)
|
|
388
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
389
|
+
|
|
390
|
+
# form parameters
|
|
391
|
+
form_params = opts[:form_params] || {}
|
|
392
|
+
|
|
393
|
+
# http body (model)
|
|
394
|
+
post_body = opts[:debug_body]
|
|
395
|
+
|
|
396
|
+
# return_type
|
|
397
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphNodesResponse'
|
|
398
|
+
|
|
399
|
+
# auth_names
|
|
400
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
401
|
+
|
|
402
|
+
new_options = opts.merge(
|
|
403
|
+
:operation => :"InvestorsApi.investors_investment_graph_nodes",
|
|
404
|
+
:header_params => header_params,
|
|
405
|
+
:query_params => query_params,
|
|
406
|
+
:form_params => form_params,
|
|
407
|
+
:body => post_body,
|
|
408
|
+
:auth_names => auth_names,
|
|
409
|
+
:return_type => return_type
|
|
410
|
+
)
|
|
411
|
+
|
|
412
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
413
|
+
if @api_client.config.debugging
|
|
414
|
+
@api_client.config.logger.debug "API called: InvestorsApi#investors_investment_graph_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
415
|
+
end
|
|
416
|
+
return data, status_code, headers
|
|
417
|
+
end
|
|
418
|
+
|
|
167
419
|
# Investor private funds by type
|
|
168
420
|
# @param id [String]
|
|
169
421
|
# @param [Hash] opts the optional parameters
|
|
@@ -1508,6 +1508,258 @@ module PharmaObservatory
|
|
|
1508
1508
|
return data, status_code, headers
|
|
1509
1509
|
end
|
|
1510
1510
|
|
|
1511
|
+
# Investment graph edges
|
|
1512
|
+
# @param id [String]
|
|
1513
|
+
# @param [Hash] opts the optional parameters
|
|
1514
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1515
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1516
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1517
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1518
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1519
|
+
# @return [InvestmentGraphEdgesResponse]
|
|
1520
|
+
def legal_entities_investment_graph_edges(id, opts = {})
|
|
1521
|
+
data, _status_code, _headers = legal_entities_investment_graph_edges_with_http_info(id, opts)
|
|
1522
|
+
data
|
|
1523
|
+
end
|
|
1524
|
+
|
|
1525
|
+
# Investment graph edges
|
|
1526
|
+
# @param id [String]
|
|
1527
|
+
# @param [Hash] opts the optional parameters
|
|
1528
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1529
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1530
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1531
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1532
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1533
|
+
# @return [Array<(InvestmentGraphEdgesResponse, Integer, Hash)>] InvestmentGraphEdgesResponse data, response status code and response headers
|
|
1534
|
+
def legal_entities_investment_graph_edges_with_http_info(id, opts = {})
|
|
1535
|
+
if @api_client.config.debugging
|
|
1536
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_investment_graph_edges ...'
|
|
1537
|
+
end
|
|
1538
|
+
# verify the required parameter 'id' is set
|
|
1539
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1540
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_investment_graph_edges"
|
|
1541
|
+
end
|
|
1542
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1543
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_investment_graph_edges, must be smaller than or equal to 500.'
|
|
1544
|
+
end
|
|
1545
|
+
|
|
1546
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1547
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_investment_graph_edges, must be greater than or equal to 1.'
|
|
1548
|
+
end
|
|
1549
|
+
|
|
1550
|
+
# resource path
|
|
1551
|
+
local_var_path = '/api/v1/legal_entities/{id}/investment_graph_edges'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1552
|
+
|
|
1553
|
+
# query parameters
|
|
1554
|
+
query_params = opts[:query_params] || {}
|
|
1555
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1556
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1557
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1558
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1559
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1560
|
+
|
|
1561
|
+
# header parameters
|
|
1562
|
+
header_params = opts[:header_params] || {}
|
|
1563
|
+
# HTTP header 'Accept' (if needed)
|
|
1564
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1565
|
+
|
|
1566
|
+
# form parameters
|
|
1567
|
+
form_params = opts[:form_params] || {}
|
|
1568
|
+
|
|
1569
|
+
# http body (model)
|
|
1570
|
+
post_body = opts[:debug_body]
|
|
1571
|
+
|
|
1572
|
+
# return_type
|
|
1573
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphEdgesResponse'
|
|
1574
|
+
|
|
1575
|
+
# auth_names
|
|
1576
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1577
|
+
|
|
1578
|
+
new_options = opts.merge(
|
|
1579
|
+
:operation => :"LegalEntitiesApi.legal_entities_investment_graph_edges",
|
|
1580
|
+
:header_params => header_params,
|
|
1581
|
+
:query_params => query_params,
|
|
1582
|
+
:form_params => form_params,
|
|
1583
|
+
:body => post_body,
|
|
1584
|
+
:auth_names => auth_names,
|
|
1585
|
+
:return_type => return_type
|
|
1586
|
+
)
|
|
1587
|
+
|
|
1588
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1589
|
+
if @api_client.config.debugging
|
|
1590
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_investment_graph_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1591
|
+
end
|
|
1592
|
+
return data, status_code, headers
|
|
1593
|
+
end
|
|
1594
|
+
|
|
1595
|
+
# Investment graph edges by node (one row per endpoint)
|
|
1596
|
+
# @param id [String]
|
|
1597
|
+
# @param [Hash] opts the optional parameters
|
|
1598
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1599
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1600
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1601
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1602
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1603
|
+
# @return [InvestmentGraphNodeEdgesResponse]
|
|
1604
|
+
def legal_entities_investment_graph_node_edges(id, opts = {})
|
|
1605
|
+
data, _status_code, _headers = legal_entities_investment_graph_node_edges_with_http_info(id, opts)
|
|
1606
|
+
data
|
|
1607
|
+
end
|
|
1608
|
+
|
|
1609
|
+
# Investment graph edges by node (one row per endpoint)
|
|
1610
|
+
# @param id [String]
|
|
1611
|
+
# @param [Hash] opts the optional parameters
|
|
1612
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1613
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1614
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1615
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1616
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1617
|
+
# @return [Array<(InvestmentGraphNodeEdgesResponse, Integer, Hash)>] InvestmentGraphNodeEdgesResponse data, response status code and response headers
|
|
1618
|
+
def legal_entities_investment_graph_node_edges_with_http_info(id, opts = {})
|
|
1619
|
+
if @api_client.config.debugging
|
|
1620
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_investment_graph_node_edges ...'
|
|
1621
|
+
end
|
|
1622
|
+
# verify the required parameter 'id' is set
|
|
1623
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1624
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_investment_graph_node_edges"
|
|
1625
|
+
end
|
|
1626
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1627
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_investment_graph_node_edges, must be smaller than or equal to 500.'
|
|
1628
|
+
end
|
|
1629
|
+
|
|
1630
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1631
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_investment_graph_node_edges, must be greater than or equal to 1.'
|
|
1632
|
+
end
|
|
1633
|
+
|
|
1634
|
+
# resource path
|
|
1635
|
+
local_var_path = '/api/v1/legal_entities/{id}/investment_graph_node_edges'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1636
|
+
|
|
1637
|
+
# query parameters
|
|
1638
|
+
query_params = opts[:query_params] || {}
|
|
1639
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1640
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1641
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1642
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1643
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1644
|
+
|
|
1645
|
+
# header parameters
|
|
1646
|
+
header_params = opts[:header_params] || {}
|
|
1647
|
+
# HTTP header 'Accept' (if needed)
|
|
1648
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1649
|
+
|
|
1650
|
+
# form parameters
|
|
1651
|
+
form_params = opts[:form_params] || {}
|
|
1652
|
+
|
|
1653
|
+
# http body (model)
|
|
1654
|
+
post_body = opts[:debug_body]
|
|
1655
|
+
|
|
1656
|
+
# return_type
|
|
1657
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphNodeEdgesResponse'
|
|
1658
|
+
|
|
1659
|
+
# auth_names
|
|
1660
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1661
|
+
|
|
1662
|
+
new_options = opts.merge(
|
|
1663
|
+
:operation => :"LegalEntitiesApi.legal_entities_investment_graph_node_edges",
|
|
1664
|
+
:header_params => header_params,
|
|
1665
|
+
:query_params => query_params,
|
|
1666
|
+
:form_params => form_params,
|
|
1667
|
+
:body => post_body,
|
|
1668
|
+
:auth_names => auth_names,
|
|
1669
|
+
:return_type => return_type
|
|
1670
|
+
)
|
|
1671
|
+
|
|
1672
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1673
|
+
if @api_client.config.debugging
|
|
1674
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_investment_graph_node_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1675
|
+
end
|
|
1676
|
+
return data, status_code, headers
|
|
1677
|
+
end
|
|
1678
|
+
|
|
1679
|
+
# Investment graph nodes
|
|
1680
|
+
# @param id [String]
|
|
1681
|
+
# @param [Hash] opts the optional parameters
|
|
1682
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1683
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1684
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1685
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1686
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1687
|
+
# @return [InvestmentGraphNodesResponse]
|
|
1688
|
+
def legal_entities_investment_graph_nodes(id, opts = {})
|
|
1689
|
+
data, _status_code, _headers = legal_entities_investment_graph_nodes_with_http_info(id, opts)
|
|
1690
|
+
data
|
|
1691
|
+
end
|
|
1692
|
+
|
|
1693
|
+
# Investment graph nodes
|
|
1694
|
+
# @param id [String]
|
|
1695
|
+
# @param [Hash] opts the optional parameters
|
|
1696
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1697
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1698
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1699
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1700
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1701
|
+
# @return [Array<(InvestmentGraphNodesResponse, Integer, Hash)>] InvestmentGraphNodesResponse data, response status code and response headers
|
|
1702
|
+
def legal_entities_investment_graph_nodes_with_http_info(id, opts = {})
|
|
1703
|
+
if @api_client.config.debugging
|
|
1704
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_investment_graph_nodes ...'
|
|
1705
|
+
end
|
|
1706
|
+
# verify the required parameter 'id' is set
|
|
1707
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1708
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_investment_graph_nodes"
|
|
1709
|
+
end
|
|
1710
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1711
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_investment_graph_nodes, must be smaller than or equal to 500.'
|
|
1712
|
+
end
|
|
1713
|
+
|
|
1714
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1715
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_investment_graph_nodes, must be greater than or equal to 1.'
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# resource path
|
|
1719
|
+
local_var_path = '/api/v1/legal_entities/{id}/investment_graph_nodes'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1720
|
+
|
|
1721
|
+
# query parameters
|
|
1722
|
+
query_params = opts[:query_params] || {}
|
|
1723
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1724
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1725
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1726
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1727
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1728
|
+
|
|
1729
|
+
# header parameters
|
|
1730
|
+
header_params = opts[:header_params] || {}
|
|
1731
|
+
# HTTP header 'Accept' (if needed)
|
|
1732
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1733
|
+
|
|
1734
|
+
# form parameters
|
|
1735
|
+
form_params = opts[:form_params] || {}
|
|
1736
|
+
|
|
1737
|
+
# http body (model)
|
|
1738
|
+
post_body = opts[:debug_body]
|
|
1739
|
+
|
|
1740
|
+
# return_type
|
|
1741
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphNodesResponse'
|
|
1742
|
+
|
|
1743
|
+
# auth_names
|
|
1744
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1745
|
+
|
|
1746
|
+
new_options = opts.merge(
|
|
1747
|
+
:operation => :"LegalEntitiesApi.legal_entities_investment_graph_nodes",
|
|
1748
|
+
:header_params => header_params,
|
|
1749
|
+
:query_params => query_params,
|
|
1750
|
+
:form_params => form_params,
|
|
1751
|
+
:body => post_body,
|
|
1752
|
+
:auth_names => auth_names,
|
|
1753
|
+
:return_type => return_type
|
|
1754
|
+
)
|
|
1755
|
+
|
|
1756
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1757
|
+
if @api_client.config.debugging
|
|
1758
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_investment_graph_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1759
|
+
end
|
|
1760
|
+
return data, status_code, headers
|
|
1761
|
+
end
|
|
1762
|
+
|
|
1511
1763
|
# Investor portfolio (offering filings and investor websites)
|
|
1512
1764
|
# @param id [String]
|
|
1513
1765
|
# @param [Hash] opts the optional parameters
|