pharmaobservatory 0.1.20 → 0.1.22
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 +40 -4
- data/docs/BiomarkersApi.md +160 -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/ProviderBiomarkerCapabilitySummaryResponse.md +58 -0
- data/docs/ProviderBiomarkerCapabilitySummaryRow.md +70 -0
- data/docs/ProviderCliaLicensureResponse.md +58 -0
- data/docs/ProviderCliaLicensureRow.md +80 -0
- data/docs/ProviderRwdDeliveryResponse.md +58 -0
- data/docs/ProviderRwdDeliveryRow.md +74 -0
- data/docs/ProviderRwdDeliveryStudyResponse.md +58 -0
- data/docs/ProviderRwdDeliveryStudyRow.md +58 -0
- data/docs/ProviderRwdFootprintResponse.md +58 -0
- data/docs/ProviderRwdFootprintRow.md +72 -0
- data/docs/RwdInstitutionsApi.md +80 -0
- data/docs/SuppliersApi.md +480 -0
- data/lib/pharmaobservatory/api/biomarkers_api.rb +168 -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/rwd_institutions_api.rb +84 -0
- data/lib/pharmaobservatory/api/suppliers_api.rb +504 -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_biomarker_capability_summary_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_biomarker_capability_summary_row.rb +509 -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/models/provider_rwd_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_row.rb +535 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_study_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_delivery_study_row.rb +443 -0
- data/lib/pharmaobservatory/models/provider_rwd_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/provider_rwd_footprint_row.rb +528 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +18 -0
- metadata +38 -2
|
@@ -3720,6 +3720,279 @@ module PharmaObservatory
|
|
|
3720
3720
|
return data, status_code, headers
|
|
3721
3721
|
end
|
|
3722
3722
|
|
|
3723
|
+
# Investment graph edges
|
|
3724
|
+
# @param id [String]
|
|
3725
|
+
# @param [Hash] opts the optional parameters
|
|
3726
|
+
# @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.
|
|
3727
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
3728
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3729
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
3730
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3731
|
+
# @option opts [String] :scope company (this company only) or group (its corporate group).
|
|
3732
|
+
# @return [InvestmentGraphEdgesResponse]
|
|
3733
|
+
def companies_investment_graph_edges(id, opts = {})
|
|
3734
|
+
data, _status_code, _headers = companies_investment_graph_edges_with_http_info(id, opts)
|
|
3735
|
+
data
|
|
3736
|
+
end
|
|
3737
|
+
|
|
3738
|
+
# Investment graph edges
|
|
3739
|
+
# @param id [String]
|
|
3740
|
+
# @param [Hash] opts the optional parameters
|
|
3741
|
+
# @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.
|
|
3742
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
3743
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3744
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
3745
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3746
|
+
# @option opts [String] :scope company (this company only) or group (its corporate group).
|
|
3747
|
+
# @return [Array<(InvestmentGraphEdgesResponse, Integer, Hash)>] InvestmentGraphEdgesResponse data, response status code and response headers
|
|
3748
|
+
def companies_investment_graph_edges_with_http_info(id, opts = {})
|
|
3749
|
+
if @api_client.config.debugging
|
|
3750
|
+
@api_client.config.logger.debug 'Calling API: CompaniesApi.companies_investment_graph_edges ...'
|
|
3751
|
+
end
|
|
3752
|
+
# verify the required parameter 'id' is set
|
|
3753
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
3754
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CompaniesApi.companies_investment_graph_edges"
|
|
3755
|
+
end
|
|
3756
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
3757
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CompaniesApi.companies_investment_graph_edges, must be smaller than or equal to 500.'
|
|
3758
|
+
end
|
|
3759
|
+
|
|
3760
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
3761
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CompaniesApi.companies_investment_graph_edges, must be greater than or equal to 1.'
|
|
3762
|
+
end
|
|
3763
|
+
|
|
3764
|
+
allowable_values = ["company", "group"]
|
|
3765
|
+
if @api_client.config.client_side_validation && opts[:'scope'] && !allowable_values.include?(opts[:'scope'])
|
|
3766
|
+
fail ArgumentError, "invalid value for \"scope\", must be one of #{allowable_values}"
|
|
3767
|
+
end
|
|
3768
|
+
# resource path
|
|
3769
|
+
local_var_path = '/api/v1/companies/{id}/investment_graph_edges'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
3770
|
+
|
|
3771
|
+
# query parameters
|
|
3772
|
+
query_params = opts[:query_params] || {}
|
|
3773
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
3774
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
3775
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
3776
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
3777
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
3778
|
+
query_params[:'scope'] = opts[:'scope'] if !opts[:'scope'].nil?
|
|
3779
|
+
|
|
3780
|
+
# header parameters
|
|
3781
|
+
header_params = opts[:header_params] || {}
|
|
3782
|
+
# HTTP header 'Accept' (if needed)
|
|
3783
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3784
|
+
|
|
3785
|
+
# form parameters
|
|
3786
|
+
form_params = opts[:form_params] || {}
|
|
3787
|
+
|
|
3788
|
+
# http body (model)
|
|
3789
|
+
post_body = opts[:debug_body]
|
|
3790
|
+
|
|
3791
|
+
# return_type
|
|
3792
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphEdgesResponse'
|
|
3793
|
+
|
|
3794
|
+
# auth_names
|
|
3795
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
3796
|
+
|
|
3797
|
+
new_options = opts.merge(
|
|
3798
|
+
:operation => :"CompaniesApi.companies_investment_graph_edges",
|
|
3799
|
+
:header_params => header_params,
|
|
3800
|
+
:query_params => query_params,
|
|
3801
|
+
:form_params => form_params,
|
|
3802
|
+
:body => post_body,
|
|
3803
|
+
:auth_names => auth_names,
|
|
3804
|
+
:return_type => return_type
|
|
3805
|
+
)
|
|
3806
|
+
|
|
3807
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3808
|
+
if @api_client.config.debugging
|
|
3809
|
+
@api_client.config.logger.debug "API called: CompaniesApi#companies_investment_graph_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3810
|
+
end
|
|
3811
|
+
return data, status_code, headers
|
|
3812
|
+
end
|
|
3813
|
+
|
|
3814
|
+
# Investment graph edges by node (one row per endpoint)
|
|
3815
|
+
# @param id [String]
|
|
3816
|
+
# @param [Hash] opts the optional parameters
|
|
3817
|
+
# @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.
|
|
3818
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
3819
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3820
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
3821
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3822
|
+
# @option opts [String] :scope company (this company only) or group (its corporate group).
|
|
3823
|
+
# @return [InvestmentGraphNodeEdgesResponse]
|
|
3824
|
+
def companies_investment_graph_node_edges(id, opts = {})
|
|
3825
|
+
data, _status_code, _headers = companies_investment_graph_node_edges_with_http_info(id, opts)
|
|
3826
|
+
data
|
|
3827
|
+
end
|
|
3828
|
+
|
|
3829
|
+
# Investment graph edges by node (one row per endpoint)
|
|
3830
|
+
# @param id [String]
|
|
3831
|
+
# @param [Hash] opts the optional parameters
|
|
3832
|
+
# @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.
|
|
3833
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
3834
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3835
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
3836
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3837
|
+
# @option opts [String] :scope company (this company only) or group (its corporate group).
|
|
3838
|
+
# @return [Array<(InvestmentGraphNodeEdgesResponse, Integer, Hash)>] InvestmentGraphNodeEdgesResponse data, response status code and response headers
|
|
3839
|
+
def companies_investment_graph_node_edges_with_http_info(id, opts = {})
|
|
3840
|
+
if @api_client.config.debugging
|
|
3841
|
+
@api_client.config.logger.debug 'Calling API: CompaniesApi.companies_investment_graph_node_edges ...'
|
|
3842
|
+
end
|
|
3843
|
+
# verify the required parameter 'id' is set
|
|
3844
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
3845
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CompaniesApi.companies_investment_graph_node_edges"
|
|
3846
|
+
end
|
|
3847
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
3848
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CompaniesApi.companies_investment_graph_node_edges, must be smaller than or equal to 500.'
|
|
3849
|
+
end
|
|
3850
|
+
|
|
3851
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
3852
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CompaniesApi.companies_investment_graph_node_edges, must be greater than or equal to 1.'
|
|
3853
|
+
end
|
|
3854
|
+
|
|
3855
|
+
allowable_values = ["company", "group"]
|
|
3856
|
+
if @api_client.config.client_side_validation && opts[:'scope'] && !allowable_values.include?(opts[:'scope'])
|
|
3857
|
+
fail ArgumentError, "invalid value for \"scope\", must be one of #{allowable_values}"
|
|
3858
|
+
end
|
|
3859
|
+
# resource path
|
|
3860
|
+
local_var_path = '/api/v1/companies/{id}/investment_graph_node_edges'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
3861
|
+
|
|
3862
|
+
# query parameters
|
|
3863
|
+
query_params = opts[:query_params] || {}
|
|
3864
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
3865
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
3866
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
3867
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
3868
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
3869
|
+
query_params[:'scope'] = opts[:'scope'] if !opts[:'scope'].nil?
|
|
3870
|
+
|
|
3871
|
+
# header parameters
|
|
3872
|
+
header_params = opts[:header_params] || {}
|
|
3873
|
+
# HTTP header 'Accept' (if needed)
|
|
3874
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3875
|
+
|
|
3876
|
+
# form parameters
|
|
3877
|
+
form_params = opts[:form_params] || {}
|
|
3878
|
+
|
|
3879
|
+
# http body (model)
|
|
3880
|
+
post_body = opts[:debug_body]
|
|
3881
|
+
|
|
3882
|
+
# return_type
|
|
3883
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphNodeEdgesResponse'
|
|
3884
|
+
|
|
3885
|
+
# auth_names
|
|
3886
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
3887
|
+
|
|
3888
|
+
new_options = opts.merge(
|
|
3889
|
+
:operation => :"CompaniesApi.companies_investment_graph_node_edges",
|
|
3890
|
+
:header_params => header_params,
|
|
3891
|
+
:query_params => query_params,
|
|
3892
|
+
:form_params => form_params,
|
|
3893
|
+
:body => post_body,
|
|
3894
|
+
:auth_names => auth_names,
|
|
3895
|
+
:return_type => return_type
|
|
3896
|
+
)
|
|
3897
|
+
|
|
3898
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3899
|
+
if @api_client.config.debugging
|
|
3900
|
+
@api_client.config.logger.debug "API called: CompaniesApi#companies_investment_graph_node_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3901
|
+
end
|
|
3902
|
+
return data, status_code, headers
|
|
3903
|
+
end
|
|
3904
|
+
|
|
3905
|
+
# Investment graph nodes
|
|
3906
|
+
# @param id [String]
|
|
3907
|
+
# @param [Hash] opts the optional parameters
|
|
3908
|
+
# @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.
|
|
3909
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
3910
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3911
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
3912
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3913
|
+
# @option opts [String] :scope company (this company only) or group (its corporate group).
|
|
3914
|
+
# @return [InvestmentGraphNodesResponse]
|
|
3915
|
+
def companies_investment_graph_nodes(id, opts = {})
|
|
3916
|
+
data, _status_code, _headers = companies_investment_graph_nodes_with_http_info(id, opts)
|
|
3917
|
+
data
|
|
3918
|
+
end
|
|
3919
|
+
|
|
3920
|
+
# Investment graph nodes
|
|
3921
|
+
# @param id [String]
|
|
3922
|
+
# @param [Hash] opts the optional parameters
|
|
3923
|
+
# @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.
|
|
3924
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
3925
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3926
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
3927
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3928
|
+
# @option opts [String] :scope company (this company only) or group (its corporate group).
|
|
3929
|
+
# @return [Array<(InvestmentGraphNodesResponse, Integer, Hash)>] InvestmentGraphNodesResponse data, response status code and response headers
|
|
3930
|
+
def companies_investment_graph_nodes_with_http_info(id, opts = {})
|
|
3931
|
+
if @api_client.config.debugging
|
|
3932
|
+
@api_client.config.logger.debug 'Calling API: CompaniesApi.companies_investment_graph_nodes ...'
|
|
3933
|
+
end
|
|
3934
|
+
# verify the required parameter 'id' is set
|
|
3935
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
3936
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CompaniesApi.companies_investment_graph_nodes"
|
|
3937
|
+
end
|
|
3938
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
3939
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CompaniesApi.companies_investment_graph_nodes, must be smaller than or equal to 500.'
|
|
3940
|
+
end
|
|
3941
|
+
|
|
3942
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
3943
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling CompaniesApi.companies_investment_graph_nodes, must be greater than or equal to 1.'
|
|
3944
|
+
end
|
|
3945
|
+
|
|
3946
|
+
allowable_values = ["company", "group"]
|
|
3947
|
+
if @api_client.config.client_side_validation && opts[:'scope'] && !allowable_values.include?(opts[:'scope'])
|
|
3948
|
+
fail ArgumentError, "invalid value for \"scope\", must be one of #{allowable_values}"
|
|
3949
|
+
end
|
|
3950
|
+
# resource path
|
|
3951
|
+
local_var_path = '/api/v1/companies/{id}/investment_graph_nodes'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
3952
|
+
|
|
3953
|
+
# query parameters
|
|
3954
|
+
query_params = opts[:query_params] || {}
|
|
3955
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
3956
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
3957
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
3958
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
3959
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
3960
|
+
query_params[:'scope'] = opts[:'scope'] if !opts[:'scope'].nil?
|
|
3961
|
+
|
|
3962
|
+
# header parameters
|
|
3963
|
+
header_params = opts[:header_params] || {}
|
|
3964
|
+
# HTTP header 'Accept' (if needed)
|
|
3965
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3966
|
+
|
|
3967
|
+
# form parameters
|
|
3968
|
+
form_params = opts[:form_params] || {}
|
|
3969
|
+
|
|
3970
|
+
# http body (model)
|
|
3971
|
+
post_body = opts[:debug_body]
|
|
3972
|
+
|
|
3973
|
+
# return_type
|
|
3974
|
+
return_type = opts[:debug_return_type] || 'InvestmentGraphNodesResponse'
|
|
3975
|
+
|
|
3976
|
+
# auth_names
|
|
3977
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
3978
|
+
|
|
3979
|
+
new_options = opts.merge(
|
|
3980
|
+
:operation => :"CompaniesApi.companies_investment_graph_nodes",
|
|
3981
|
+
:header_params => header_params,
|
|
3982
|
+
:query_params => query_params,
|
|
3983
|
+
:form_params => form_params,
|
|
3984
|
+
:body => post_body,
|
|
3985
|
+
:auth_names => auth_names,
|
|
3986
|
+
:return_type => return_type
|
|
3987
|
+
)
|
|
3988
|
+
|
|
3989
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3990
|
+
if @api_client.config.debugging
|
|
3991
|
+
@api_client.config.logger.debug "API called: CompaniesApi#companies_investment_graph_nodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3992
|
+
end
|
|
3993
|
+
return data, status_code, headers
|
|
3994
|
+
end
|
|
3995
|
+
|
|
3723
3996
|
# Investor portfolio (offering filings and investor websites)
|
|
3724
3997
|
# @param id [String]
|
|
3725
3998
|
# @param [Hash] opts the optional parameters
|
|
@@ -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
|