pharmaobservatory 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +269 -4
  3. data/docs/BrandCompaniesResponse.md +58 -0
  4. data/docs/BrandCompaniesRow.md +50 -0
  5. data/docs/BrandRevenueResponse.md +58 -0
  6. data/docs/BrandRevenueRow.md +60 -0
  7. data/docs/CatalystsResponse.md +58 -0
  8. data/docs/CatalystsRow.md +90 -0
  9. data/docs/CliaCertificatesResponse.md +58 -0
  10. data/docs/CliaCertificatesRow.md +80 -0
  11. data/docs/CompaniesApi.md +1675 -117
  12. data/docs/CompaniesRecordAttributes.md +3 -1
  13. data/docs/CompanyFundingEventsRow.md +2 -0
  14. data/docs/CompanyTrialGeographyResponse.md +58 -0
  15. data/docs/CompanyTrialGeographyRow.md +52 -0
  16. data/docs/CompanyTrialSitesResponse.md +58 -0
  17. data/docs/CompanyTrialSitesRow.md +52 -0
  18. data/docs/ConditionsApi.md +320 -0
  19. data/docs/CroFootprintResponse.md +58 -0
  20. data/docs/CroFootprintRow.md +34 -0
  21. data/docs/CroTrialsResponse.md +58 -0
  22. data/docs/CroTrialsRow.md +46 -0
  23. data/docs/DebarmentsResponse.md +58 -0
  24. data/docs/DebarmentsRow.md +44 -0
  25. data/docs/DrugApprovalsResponse.md +58 -0
  26. data/docs/DrugApprovalsRow.md +28 -0
  27. data/docs/DrugAspCodesResponse.md +58 -0
  28. data/docs/DrugAspCodesRow.md +28 -0
  29. data/docs/DrugBrandsResponse.md +58 -0
  30. data/docs/DrugBrandsRow.md +60 -0
  31. data/docs/DrugCombinationsResponse.md +58 -0
  32. data/docs/DrugCombinationsRow.md +32 -0
  33. data/docs/DrugDeclaredPatentsResponse.md +58 -0
  34. data/docs/DrugDeclaredPatentsRow.md +58 -0
  35. data/docs/DrugLabelSafetyResponse.md +58 -0
  36. data/docs/DrugLabelSafetyRow.md +32 -0
  37. data/docs/DrugMedicareSpendResponse.md +58 -0
  38. data/docs/DrugMedicareSpendRow.md +28 -0
  39. data/docs/DrugPatentCliffRow.md +3 -1
  40. data/docs/DrugPatentMentionsResponse.md +58 -0
  41. data/docs/DrugPatentMentionsRow.md +28 -0
  42. data/docs/DrugPatentOwnersResponse.md +58 -0
  43. data/docs/DrugPatentOwnersRow.md +42 -0
  44. data/docs/DrugPricingResponse.md +58 -0
  45. data/docs/DrugPricingRow.md +32 -0
  46. data/docs/DrugRecallsResponse.md +58 -0
  47. data/docs/DrugRecallsRow.md +34 -0
  48. data/docs/DrugRegulatoryResponse.md +58 -0
  49. data/docs/DrugRegulatoryRow.md +38 -0
  50. data/docs/DrugSitesResponse.md +58 -0
  51. data/docs/DrugSitesRow.md +28 -0
  52. data/docs/DrugTargetsResponse.md +58 -0
  53. data/docs/DrugTargetsRow.md +36 -0
  54. data/docs/DrugTrialConditionsResponse.md +58 -0
  55. data/docs/DrugTrialConditionsRow.md +30 -0
  56. data/docs/DrugTrialsResponse.md +58 -0
  57. data/docs/DrugTrialsRow.md +58 -0
  58. data/docs/DrugVariantsResponse.md +58 -0
  59. data/docs/DrugVariantsRow.md +38 -0
  60. data/docs/DrugsApi.md +2153 -0
  61. data/docs/DrugsRecord.md +38 -0
  62. data/docs/DrugsRecordAttributes.md +20 -0
  63. data/docs/DrugsResponse.md +58 -0
  64. data/docs/DrugsRow.md +82 -0
  65. data/docs/EnforcementEventsResponse.md +58 -0
  66. data/docs/EnforcementEventsRow.md +64 -0
  67. data/docs/GxpFacilitiesResponse.md +58 -0
  68. data/docs/GxpFacilitiesRow.md +152 -0
  69. data/docs/HospitalBedsYearlyResponse.md +58 -0
  70. data/docs/HospitalBedsYearlyRow.md +28 -0
  71. data/docs/HospitalFacilityChangesResponse.md +58 -0
  72. data/docs/HospitalFacilityChangesRow.md +30 -0
  73. data/docs/HospitalsApi.md +393 -0
  74. data/docs/HospitalsRecord.md +38 -0
  75. data/docs/HospitalsResponse.md +58 -0
  76. data/docs/HospitalsRow.md +40 -0
  77. data/docs/ImportRefusalsResponse.md +58 -0
  78. data/docs/ImportRefusalsRow.md +60 -0
  79. data/docs/InspectionFindingsResponse.md +58 -0
  80. data/docs/InspectionFindingsRow.md +48 -0
  81. data/docs/InspectionsResponse.md +58 -0
  82. data/docs/InspectionsRow.md +60 -0
  83. data/docs/InstitutionalQuarterTotalsResponse.md +58 -0
  84. data/docs/InstitutionalQuarterTotalsRow.md +58 -0
  85. data/docs/LegalEntitiesApi.md +1379 -179
  86. data/docs/LegalEntitiesRecordAttributes.md +2 -0
  87. data/docs/OrgRelationshipsRow.md +1 -1
  88. data/docs/OwnershipPercentagesResponse.md +58 -0
  89. data/docs/OwnershipPercentagesRow.md +74 -0
  90. data/docs/PdufaDatesRow.md +1 -1
  91. data/docs/ProgramLicensingCandidatesResponse.md +58 -0
  92. data/docs/ProgramLicensingCandidatesRow.md +58 -0
  93. data/docs/ProgramsResponse.md +58 -0
  94. data/docs/ProgramsRow.md +46 -0
  95. data/docs/RareDiseaseGenesResponse.md +58 -0
  96. data/docs/RareDiseaseGenesRow.md +50 -0
  97. data/docs/RareDiseaseHierarchyResponse.md +58 -0
  98. data/docs/RareDiseaseHierarchyRow.md +40 -0
  99. data/docs/RareDiseaseInvestigatorCoverageResponse.md +58 -0
  100. data/docs/RareDiseaseInvestigatorCoverageRow.md +38 -0
  101. data/docs/RareDiseaseInvestigatorsResponse.md +58 -0
  102. data/docs/RareDiseaseInvestigatorsRow.md +56 -0
  103. data/docs/RareDiseaseMappingsResponse.md +58 -0
  104. data/docs/RareDiseaseMappingsRow.md +44 -0
  105. data/docs/RareDiseaseOrganizationsResponse.md +58 -0
  106. data/docs/RareDiseaseOrganizationsRow.md +60 -0
  107. data/docs/RareDiseasePrevalenceResponse.md +58 -0
  108. data/docs/RareDiseasePrevalenceRow.md +62 -0
  109. data/docs/RareDiseaseRarityEvidenceResponse.md +58 -0
  110. data/docs/RareDiseaseRarityEvidenceRow.md +36 -0
  111. data/docs/RareDiseaseRarityResponse.md +58 -0
  112. data/docs/RareDiseaseRarityRow.md +54 -0
  113. data/docs/RareDiseaseReplacementsResponse.md +58 -0
  114. data/docs/RareDiseaseReplacementsRow.md +40 -0
  115. data/docs/RareDiseaseSiteCoverageResponse.md +58 -0
  116. data/docs/RareDiseaseSiteCoverageRow.md +54 -0
  117. data/docs/RareDiseaseSponsorsResponse.md +58 -0
  118. data/docs/RareDiseaseSponsorsRow.md +82 -0
  119. data/docs/RareDiseaseTrialCoverageResponse.md +58 -0
  120. data/docs/RareDiseaseTrialCoverageRow.md +58 -0
  121. data/docs/RareDiseaseTrialSitesResponse.md +58 -0
  122. data/docs/RareDiseaseTrialSitesRow.md +52 -0
  123. data/docs/RareDiseaseTrialsResponse.md +58 -0
  124. data/docs/RareDiseaseTrialsRow.md +90 -0
  125. data/docs/RareDiseasesApi.md +1353 -0
  126. data/docs/RareDiseasesRecord.md +38 -0
  127. data/docs/RareDiseasesRecordAttributes.md +22 -0
  128. data/docs/RareDiseasesResponse.md +58 -0
  129. data/docs/RareDiseasesRow.md +68 -0
  130. data/docs/RecallsResponse.md +58 -0
  131. data/docs/RecallsRow.md +54 -0
  132. data/docs/RwdCoverageResponse.md +58 -0
  133. data/docs/RwdCoverageRow.md +52 -0
  134. data/docs/RwdRegisterProvenanceResponse.md +58 -0
  135. data/docs/RwdRegisterProvenanceRow.md +74 -0
  136. data/docs/RwdRegistersApi.md +313 -0
  137. data/docs/RwdRegistersRecord.md +38 -0
  138. data/docs/RwdSourceAgeBandsResponse.md +58 -0
  139. data/docs/RwdSourceAgeBandsRow.md +40 -0
  140. data/docs/RwdSourceConditionsResponse.md +58 -0
  141. data/docs/RwdSourceConditionsRow.md +68 -0
  142. data/docs/RwdSourceEtlMappingsResponse.md +58 -0
  143. data/docs/RwdSourceEtlMappingsRow.md +44 -0
  144. data/docs/RwdSourceLinkagesResponse.md +58 -0
  145. data/docs/RwdSourceLinkagesRow.md +64 -0
  146. data/docs/RwdSourceTypesResponse.md +58 -0
  147. data/docs/RwdSourceTypesRow.md +34 -0
  148. data/docs/RwdSourceVocabulariesResponse.md +58 -0
  149. data/docs/RwdSourceVocabulariesRow.md +42 -0
  150. data/docs/RwdSourcesApi.md +713 -0
  151. data/docs/RwdSourcesRecord.md +38 -0
  152. data/docs/RwdSourcesResponse.md +58 -0
  153. data/docs/RwdSourcesRow.md +280 -0
  154. data/docs/RwdStudiesApi.md +473 -0
  155. data/docs/RwdStudiesRecord.md +38 -0
  156. data/docs/RwdStudiesResponse.md +58 -0
  157. data/docs/RwdStudiesRow.md +180 -0
  158. data/docs/RwdStudyConditionsResponse.md +58 -0
  159. data/docs/RwdStudyConditionsRow.md +54 -0
  160. data/docs/RwdStudyDataSourcesResponse.md +58 -0
  161. data/docs/RwdStudyDataSourcesRow.md +54 -0
  162. data/docs/RwdStudyDrugsResponse.md +58 -0
  163. data/docs/RwdStudyDrugsRow.md +50 -0
  164. data/docs/RwdStudyMilestonesResponse.md +58 -0
  165. data/docs/RwdStudyMilestonesRow.md +54 -0
  166. data/docs/RwdWithheldFieldsResponse.md +58 -0
  167. data/docs/RwdWithheldFieldsRow.md +36 -0
  168. data/docs/SecPdufaDatesResponse.md +58 -0
  169. data/docs/SecPdufaDatesRow.md +64 -0
  170. data/docs/TrialChangesRow.md +5 -1
  171. data/docs/TrialsApi.md +80 -0
  172. data/docs/TrialsRow.md +9 -1
  173. data/docs/UnmatchedProductRevenueResponse.md +58 -0
  174. data/docs/UnmatchedProductRevenueRow.md +80 -0
  175. data/docs/UntitledLettersResponse.md +58 -0
  176. data/docs/UntitledLettersRow.md +44 -0
  177. data/docs/WarningLettersResponse.md +58 -0
  178. data/docs/WarningLettersRow.md +50 -0
  179. data/lib/pharmaobservatory/api/companies_api.rb +1936 -207
  180. data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
  181. data/lib/pharmaobservatory/api/drugs_api.rb +2261 -0
  182. data/lib/pharmaobservatory/api/hospitals_api.rb +413 -0
  183. data/lib/pharmaobservatory/api/legal_entities_api.rb +1442 -182
  184. data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
  185. data/lib/pharmaobservatory/api/rwd_registers_api.rb +329 -0
  186. data/lib/pharmaobservatory/api/rwd_sources_api.rb +749 -0
  187. data/lib/pharmaobservatory/api/rwd_studies_api.rb +497 -0
  188. data/lib/pharmaobservatory/api/trials_api.rb +84 -0
  189. data/lib/pharmaobservatory/models/brand_companies_response.rb +478 -0
  190. data/lib/pharmaobservatory/models/brand_companies_row.rb +401 -0
  191. data/lib/pharmaobservatory/models/brand_revenue_response.rb +478 -0
  192. data/lib/pharmaobservatory/models/brand_revenue_row.rb +454 -0
  193. data/lib/pharmaobservatory/models/catalysts_response.rb +478 -0
  194. data/lib/pharmaobservatory/models/catalysts_row.rb +623 -0
  195. data/lib/pharmaobservatory/models/clia_certificates_response.rb +478 -0
  196. data/lib/pharmaobservatory/models/clia_certificates_row.rb +568 -0
  197. data/lib/pharmaobservatory/models/companies_record_attributes.rb +13 -4
  198. data/lib/pharmaobservatory/models/company_funding_events_row.rb +12 -1
  199. data/lib/pharmaobservatory/models/company_trial_geography_response.rb +478 -0
  200. data/lib/pharmaobservatory/models/company_trial_geography_row.rb +410 -0
  201. data/lib/pharmaobservatory/models/company_trial_sites_response.rb +478 -0
  202. data/lib/pharmaobservatory/models/company_trial_sites_row.rb +410 -0
  203. data/lib/pharmaobservatory/models/cro_footprint_response.rb +478 -0
  204. data/lib/pharmaobservatory/models/cro_footprint_row.rb +311 -0
  205. data/lib/pharmaobservatory/models/cro_trials_response.rb +478 -0
  206. data/lib/pharmaobservatory/models/cro_trials_row.rb +381 -0
  207. data/lib/pharmaobservatory/models/debarments_response.rb +478 -0
  208. data/lib/pharmaobservatory/models/debarments_row.rb +366 -0
  209. data/lib/pharmaobservatory/models/drug_approvals_response.rb +478 -0
  210. data/lib/pharmaobservatory/models/drug_approvals_row.rb +278 -0
  211. data/lib/pharmaobservatory/models/drug_asp_codes_response.rb +478 -0
  212. data/lib/pharmaobservatory/models/drug_asp_codes_row.rb +278 -0
  213. data/lib/pharmaobservatory/models/drug_brands_response.rb +478 -0
  214. data/lib/pharmaobservatory/models/drug_brands_row.rb +454 -0
  215. data/lib/pharmaobservatory/models/drug_combinations_response.rb +478 -0
  216. data/lib/pharmaobservatory/models/drug_combinations_row.rb +300 -0
  217. data/lib/pharmaobservatory/models/drug_declared_patents_response.rb +478 -0
  218. data/lib/pharmaobservatory/models/drug_declared_patents_row.rb +447 -0
  219. data/lib/pharmaobservatory/models/drug_label_safety_response.rb +478 -0
  220. data/lib/pharmaobservatory/models/drug_label_safety_row.rb +300 -0
  221. data/lib/pharmaobservatory/models/drug_medicare_spend_response.rb +478 -0
  222. data/lib/pharmaobservatory/models/drug_medicare_spend_row.rb +280 -0
  223. data/lib/pharmaobservatory/models/drug_patent_cliff_row.rb +13 -2
  224. data/lib/pharmaobservatory/models/drug_patent_mentions_response.rb +478 -0
  225. data/lib/pharmaobservatory/models/drug_patent_mentions_row.rb +278 -0
  226. data/lib/pharmaobservatory/models/drug_patent_owners_response.rb +478 -0
  227. data/lib/pharmaobservatory/models/drug_patent_owners_row.rb +357 -0
  228. data/lib/pharmaobservatory/models/drug_pricing_response.rb +478 -0
  229. data/lib/pharmaobservatory/models/drug_pricing_row.rb +300 -0
  230. data/lib/pharmaobservatory/models/drug_recalls_response.rb +478 -0
  231. data/lib/pharmaobservatory/models/drug_recalls_row.rb +311 -0
  232. data/lib/pharmaobservatory/models/drug_regulatory_response.rb +478 -0
  233. data/lib/pharmaobservatory/models/drug_regulatory_row.rb +333 -0
  234. data/lib/pharmaobservatory/models/drug_sites_response.rb +478 -0
  235. data/lib/pharmaobservatory/models/drug_sites_row.rb +278 -0
  236. data/lib/pharmaobservatory/models/drug_targets_response.rb +478 -0
  237. data/lib/pharmaobservatory/models/drug_targets_row.rb +324 -0
  238. data/lib/pharmaobservatory/models/drug_trial_conditions_response.rb +478 -0
  239. data/lib/pharmaobservatory/models/drug_trial_conditions_row.rb +289 -0
  240. data/lib/pharmaobservatory/models/drug_trials_response.rb +478 -0
  241. data/lib/pharmaobservatory/models/drug_trials_row.rb +445 -0
  242. data/lib/pharmaobservatory/models/drug_variants_response.rb +478 -0
  243. data/lib/pharmaobservatory/models/drug_variants_row.rb +333 -0
  244. data/lib/pharmaobservatory/models/drugs_record.rb +385 -0
  245. data/lib/pharmaobservatory/models/drugs_record_attributes.rb +229 -0
  246. data/lib/pharmaobservatory/models/drugs_response.rb +478 -0
  247. data/lib/pharmaobservatory/models/drugs_row.rb +581 -0
  248. data/lib/pharmaobservatory/models/enforcement_events_response.rb +478 -0
  249. data/lib/pharmaobservatory/models/enforcement_events_row.rb +476 -0
  250. data/lib/pharmaobservatory/models/gxp_facilities_response.rb +478 -0
  251. data/lib/pharmaobservatory/models/gxp_facilities_row.rb +968 -0
  252. data/lib/pharmaobservatory/models/hospital_beds_yearly_response.rb +478 -0
  253. data/lib/pharmaobservatory/models/hospital_beds_yearly_row.rb +278 -0
  254. data/lib/pharmaobservatory/models/hospital_facility_changes_response.rb +478 -0
  255. data/lib/pharmaobservatory/models/hospital_facility_changes_row.rb +289 -0
  256. data/lib/pharmaobservatory/models/hospitals_record.rb +385 -0
  257. data/lib/pharmaobservatory/models/hospitals_response.rb +478 -0
  258. data/lib/pharmaobservatory/models/hospitals_row.rb +344 -0
  259. data/lib/pharmaobservatory/models/import_refusals_response.rb +478 -0
  260. data/lib/pharmaobservatory/models/import_refusals_row.rb +454 -0
  261. data/lib/pharmaobservatory/models/inspection_findings_response.rb +478 -0
  262. data/lib/pharmaobservatory/models/inspection_findings_row.rb +388 -0
  263. data/lib/pharmaobservatory/models/inspections_response.rb +478 -0
  264. data/lib/pharmaobservatory/models/inspections_row.rb +454 -0
  265. data/lib/pharmaobservatory/models/institutional_quarter_totals_response.rb +478 -0
  266. data/lib/pharmaobservatory/models/institutional_quarter_totals_row.rb +443 -0
  267. data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +10 -1
  268. data/lib/pharmaobservatory/models/org_relationships_row.rb +1 -1
  269. data/lib/pharmaobservatory/models/ownership_percentages_response.rb +478 -0
  270. data/lib/pharmaobservatory/models/ownership_percentages_row.rb +531 -0
  271. data/lib/pharmaobservatory/models/pdufa_dates_row.rb +1 -1
  272. data/lib/pharmaobservatory/models/program_licensing_candidates_response.rb +478 -0
  273. data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +445 -0
  274. data/lib/pharmaobservatory/models/programs_response.rb +478 -0
  275. data/lib/pharmaobservatory/models/programs_row.rb +377 -0
  276. data/lib/pharmaobservatory/models/rare_disease_genes_response.rb +478 -0
  277. data/lib/pharmaobservatory/models/rare_disease_genes_row.rb +399 -0
  278. data/lib/pharmaobservatory/models/rare_disease_hierarchy_response.rb +478 -0
  279. data/lib/pharmaobservatory/models/rare_disease_hierarchy_row.rb +344 -0
  280. data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_response.rb +478 -0
  281. data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_row.rb +333 -0
  282. data/lib/pharmaobservatory/models/rare_disease_investigators_response.rb +478 -0
  283. data/lib/pharmaobservatory/models/rare_disease_investigators_row.rb +436 -0
  284. data/lib/pharmaobservatory/models/rare_disease_mappings_response.rb +478 -0
  285. data/lib/pharmaobservatory/models/rare_disease_mappings_row.rb +366 -0
  286. data/lib/pharmaobservatory/models/rare_disease_organizations_response.rb +478 -0
  287. data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +454 -0
  288. data/lib/pharmaobservatory/models/rare_disease_prevalence_response.rb +478 -0
  289. data/lib/pharmaobservatory/models/rare_disease_prevalence_row.rb +465 -0
  290. data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_response.rb +478 -0
  291. data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_row.rb +322 -0
  292. data/lib/pharmaobservatory/models/rare_disease_rarity_response.rb +478 -0
  293. data/lib/pharmaobservatory/models/rare_disease_rarity_row.rb +421 -0
  294. data/lib/pharmaobservatory/models/rare_disease_replacements_response.rb +478 -0
  295. data/lib/pharmaobservatory/models/rare_disease_replacements_row.rb +344 -0
  296. data/lib/pharmaobservatory/models/rare_disease_site_coverage_response.rb +478 -0
  297. data/lib/pharmaobservatory/models/rare_disease_site_coverage_row.rb +421 -0
  298. data/lib/pharmaobservatory/models/rare_disease_sponsors_response.rb +478 -0
  299. data/lib/pharmaobservatory/models/rare_disease_sponsors_row.rb +575 -0
  300. data/lib/pharmaobservatory/models/rare_disease_trial_coverage_response.rb +478 -0
  301. data/lib/pharmaobservatory/models/rare_disease_trial_coverage_row.rb +449 -0
  302. data/lib/pharmaobservatory/models/rare_disease_trial_sites_response.rb +478 -0
  303. data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +412 -0
  304. data/lib/pharmaobservatory/models/rare_disease_trials_response.rb +478 -0
  305. data/lib/pharmaobservatory/models/rare_disease_trials_row.rb +623 -0
  306. data/lib/pharmaobservatory/models/rare_diseases_record.rb +385 -0
  307. data/lib/pharmaobservatory/models/rare_diseases_record_attributes.rb +238 -0
  308. data/lib/pharmaobservatory/models/rare_diseases_response.rb +478 -0
  309. data/lib/pharmaobservatory/models/rare_diseases_row.rb +500 -0
  310. data/lib/pharmaobservatory/models/recalls_response.rb +478 -0
  311. data/lib/pharmaobservatory/models/recalls_row.rb +421 -0
  312. data/lib/pharmaobservatory/models/rwd_coverage_response.rb +478 -0
  313. data/lib/pharmaobservatory/models/rwd_coverage_row.rb +410 -0
  314. data/lib/pharmaobservatory/models/rwd_register_provenance_response.rb +478 -0
  315. data/lib/pharmaobservatory/models/rwd_register_provenance_row.rb +531 -0
  316. data/lib/pharmaobservatory/models/rwd_registers_record.rb +385 -0
  317. data/lib/pharmaobservatory/models/rwd_source_age_bands_response.rb +478 -0
  318. data/lib/pharmaobservatory/models/rwd_source_age_bands_row.rb +344 -0
  319. data/lib/pharmaobservatory/models/rwd_source_conditions_response.rb +478 -0
  320. data/lib/pharmaobservatory/models/rwd_source_conditions_row.rb +502 -0
  321. data/lib/pharmaobservatory/models/rwd_source_etl_mappings_response.rb +478 -0
  322. data/lib/pharmaobservatory/models/rwd_source_etl_mappings_row.rb +366 -0
  323. data/lib/pharmaobservatory/models/rwd_source_linkages_response.rb +478 -0
  324. data/lib/pharmaobservatory/models/rwd_source_linkages_row.rb +476 -0
  325. data/lib/pharmaobservatory/models/rwd_source_types_response.rb +478 -0
  326. data/lib/pharmaobservatory/models/rwd_source_types_row.rb +311 -0
  327. data/lib/pharmaobservatory/models/rwd_source_vocabularies_response.rb +478 -0
  328. data/lib/pharmaobservatory/models/rwd_source_vocabularies_row.rb +355 -0
  329. data/lib/pharmaobservatory/models/rwd_sources_record.rb +385 -0
  330. data/lib/pharmaobservatory/models/rwd_sources_response.rb +478 -0
  331. data/lib/pharmaobservatory/models/rwd_sources_row.rb +1674 -0
  332. data/lib/pharmaobservatory/models/rwd_studies_record.rb +385 -0
  333. data/lib/pharmaobservatory/models/rwd_studies_response.rb +478 -0
  334. data/lib/pharmaobservatory/models/rwd_studies_row.rb +1138 -0
  335. data/lib/pharmaobservatory/models/rwd_study_conditions_response.rb +478 -0
  336. data/lib/pharmaobservatory/models/rwd_study_conditions_row.rb +421 -0
  337. data/lib/pharmaobservatory/models/rwd_study_data_sources_response.rb +478 -0
  338. data/lib/pharmaobservatory/models/rwd_study_data_sources_row.rb +423 -0
  339. data/lib/pharmaobservatory/models/rwd_study_drugs_response.rb +478 -0
  340. data/lib/pharmaobservatory/models/rwd_study_drugs_row.rb +401 -0
  341. data/lib/pharmaobservatory/models/rwd_study_milestones_response.rb +478 -0
  342. data/lib/pharmaobservatory/models/rwd_study_milestones_row.rb +421 -0
  343. data/lib/pharmaobservatory/models/rwd_withheld_fields_response.rb +478 -0
  344. data/lib/pharmaobservatory/models/rwd_withheld_fields_row.rb +322 -0
  345. data/lib/pharmaobservatory/models/sec_pdufa_dates_response.rb +478 -0
  346. data/lib/pharmaobservatory/models/sec_pdufa_dates_row.rb +476 -0
  347. data/lib/pharmaobservatory/models/trial_changes_row.rb +24 -2
  348. data/lib/pharmaobservatory/models/trials_row.rb +47 -3
  349. data/lib/pharmaobservatory/models/unmatched_product_revenue_response.rb +478 -0
  350. data/lib/pharmaobservatory/models/unmatched_product_revenue_row.rb +564 -0
  351. data/lib/pharmaobservatory/models/untitled_letters_response.rb +478 -0
  352. data/lib/pharmaobservatory/models/untitled_letters_row.rb +366 -0
  353. data/lib/pharmaobservatory/models/warning_letters_response.rb +478 -0
  354. data/lib/pharmaobservatory/models/warning_letters_row.rb +399 -0
  355. data/lib/pharmaobservatory/version.rb +1 -1
  356. data/lib/pharmaobservatory.rb +164 -0
  357. metadata +330 -2
@@ -4,28 +4,43 @@ All URIs are relative to *https://pharmaobservatory.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
+ | [**legal_entities_catalysts**](LegalEntitiesApi.md#legal_entities_catalysts) | **GET** /api/v1/legal_entities/{id}/catalysts | Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events |
8
+ | [**legal_entities_clia_certificates**](LegalEntitiesApi.md#legal_entities_clia_certificates) | **GET** /api/v1/legal_entities/{id}/clia_certificates | CLIA laboratory certificates |
7
9
  | [**legal_entities_company_assets**](LegalEntitiesApi.md#legal_entities_company_assets) | **GET** /api/v1/legal_entities/{id}/company_assets | Company assets (approved and marketed drugs) |
8
10
  | [**legal_entities_company_programs**](LegalEntitiesApi.md#legal_entities_company_programs) | **GET** /api/v1/legal_entities/{id}/company_programs | Company programs |
11
+ | [**legal_entities_debarments**](LegalEntitiesApi.md#legal_entities_debarments) | **GET** /api/v1/legal_entities/{id}/debarments | FDA firm debarments |
9
12
  | [**legal_entities_drug_patent_cliff**](LegalEntitiesApi.md#legal_entities_drug_patent_cliff) | **GET** /api/v1/legal_entities/{id}/drug_patent_cliff | Patent-cliff exposure |
13
+ | [**legal_entities_enforcement_events**](LegalEntitiesApi.md#legal_entities_enforcement_events) | **GET** /api/v1/legal_entities/{id}/enforcement_events | FDA enforcement events |
10
14
  | [**legal_entities_get**](LegalEntitiesApi.md#legal_entities_get) | **GET** /api/v1/legal_entities/{id} | One legal entity |
15
+ | [**legal_entities_gxp_facilities**](LegalEntitiesApi.md#legal_entities_gxp_facilities) | **GET** /api/v1/legal_entities/{id}/gxp_facilities | GxP facilities and quality signals |
16
+ | [**legal_entities_import_refusals**](LegalEntitiesApi.md#legal_entities_import_refusals) | **GET** /api/v1/legal_entities/{id}/import_refusals | FDA import refusals |
17
+ | [**legal_entities_inspection_findings**](LegalEntitiesApi.md#legal_entities_inspection_findings) | **GET** /api/v1/legal_entities/{id}/inspection_findings | FDA inspection findings |
18
+ | [**legal_entities_inspections**](LegalEntitiesApi.md#legal_entities_inspections) | **GET** /api/v1/legal_entities/{id}/inspections | FDA inspections |
11
19
  | [**legal_entities_institutional_holdings**](LegalEntitiesApi.md#legal_entities_institutional_holdings) | **GET** /api/v1/legal_entities/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
20
+ | [**legal_entities_institutional_quarter_totals**](LegalEntitiesApi.md#legal_entities_institutional_quarter_totals) | **GET** /api/v1/legal_entities/{id}/institutional_quarter_totals | Institutional quarter totals (SEC Form 13F) |
12
21
  | [**legal_entities_list**](LegalEntitiesApi.md#legal_entities_list) | **GET** /api/v1/legal_entities | List legal entities |
13
22
  | [**legal_entities_org_disclosures**](LegalEntitiesApi.md#legal_entities_org_disclosures) | **GET** /api/v1/legal_entities/{id}/org_disclosures | Organization disclosures (climate and diversity) |
14
23
  | [**legal_entities_org_relationships**](LegalEntitiesApi.md#legal_entities_org_relationships) | **GET** /api/v1/legal_entities/{id}/org_relationships | Organization relationships |
24
+ | [**legal_entities_ownership_percentages**](LegalEntitiesApi.md#legal_entities_ownership_percentages) | **GET** /api/v1/legal_entities/{id}/ownership_percentages | Ownership percentages |
15
25
  | [**legal_entities_ownership_positions**](LegalEntitiesApi.md#legal_entities_ownership_positions) | **GET** /api/v1/legal_entities/{id}/ownership_positions | Ownership and control positions |
16
26
  | [**legal_entities_pdufa_dates**](LegalEntitiesApi.md#legal_entities_pdufa_dates) | **GET** /api/v1/legal_entities/{id}/pdufa_dates | FDA decision dates (PDUFA) and catalysts |
27
+ | [**legal_entities_program_licensing_candidates**](LegalEntitiesApi.md#legal_entities_program_licensing_candidates) | **GET** /api/v1/legal_entities/{id}/program_licensing_candidates | Program licensing candidates |
28
+ | [**legal_entities_recalls**](LegalEntitiesApi.md#legal_entities_recalls) | **GET** /api/v1/legal_entities/{id}/recalls | FDA recalls |
17
29
  | [**legal_entities_sponsor_recruitment_by_phase**](LegalEntitiesApi.md#legal_entities_sponsor_recruitment_by_phase) | **GET** /api/v1/legal_entities/{id}/sponsor_recruitment_by_phase | Trial recruitment duration by sponsor and phase |
18
30
  | [**legal_entities_sponsor_recruitment_duration**](LegalEntitiesApi.md#legal_entities_sponsor_recruitment_duration) | **GET** /api/v1/legal_entities/{id}/sponsor_recruitment_duration | Trial recruitment duration by sponsor |
19
31
  | [**legal_entities_sponsor_trial_start_forecast**](LegalEntitiesApi.md#legal_entities_sponsor_trial_start_forecast) | **GET** /api/v1/legal_entities/{id}/sponsor_trial_start_forecast | Trial-start forecast by sponsor |
20
32
  | [**legal_entities_sponsor_trials**](LegalEntitiesApi.md#legal_entities_sponsor_trials) | **GET** /api/v1/legal_entities/{id}/sponsor_trials | Sponsor trials |
21
33
  | [**legal_entities_supplier_capability_esg**](LegalEntitiesApi.md#legal_entities_supplier_capability_esg) | **GET** /api/v1/legal_entities/{id}/supplier_capability_esg | Supplier capability and ESG disclosure |
34
+ | [**legal_entities_unmatched_product_revenue**](LegalEntitiesApi.md#legal_entities_unmatched_product_revenue) | **GET** /api/v1/legal_entities/{id}/unmatched_product_revenue | Unmatched product revenue |
35
+ | [**legal_entities_untitled_letters**](LegalEntitiesApi.md#legal_entities_untitled_letters) | **GET** /api/v1/legal_entities/{id}/untitled_letters | FDA untitled letters |
36
+ | [**legal_entities_warning_letters**](LegalEntitiesApi.md#legal_entities_warning_letters) | **GET** /api/v1/legal_entities/{id}/warning_letters | FDA warning letters |
22
37
 
23
38
 
24
- ## legal_entities_company_assets
39
+ ## legal_entities_catalysts
25
40
 
26
- > <CompanyAssetsResponse> legal_entities_company_assets(id, opts)
41
+ > <CatalystsResponse> legal_entities_catalysts(id, opts)
27
42
 
28
- Company assets (approved and marketed drugs)
43
+ Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
29
44
 
30
45
  ### Examples
31
46
 
@@ -49,29 +64,29 @@ opts = {
49
64
  }
50
65
 
51
66
  begin
52
- # Company assets (approved and marketed drugs)
53
- result = api_instance.legal_entities_company_assets(id, opts)
67
+ # Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
68
+ result = api_instance.legal_entities_catalysts(id, opts)
54
69
  p result
55
70
  rescue PharmaObservatory::ApiError => e
56
- puts "Error when calling LegalEntitiesApi->legal_entities_company_assets: #{e}"
71
+ puts "Error when calling LegalEntitiesApi->legal_entities_catalysts: #{e}"
57
72
  end
58
73
  ```
59
74
 
60
- #### Using the legal_entities_company_assets_with_http_info variant
75
+ #### Using the legal_entities_catalysts_with_http_info variant
61
76
 
62
77
  This returns an Array which contains the response data, status code and headers.
63
78
 
64
- > <Array(<CompanyAssetsResponse>, Integer, Hash)> legal_entities_company_assets_with_http_info(id, opts)
79
+ > <Array(<CatalystsResponse>, Integer, Hash)> legal_entities_catalysts_with_http_info(id, opts)
65
80
 
66
81
  ```ruby
67
82
  begin
68
- # Company assets (approved and marketed drugs)
69
- data, status_code, headers = api_instance.legal_entities_company_assets_with_http_info(id, opts)
83
+ # Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
84
+ data, status_code, headers = api_instance.legal_entities_catalysts_with_http_info(id, opts)
70
85
  p status_code # => 2xx
71
86
  p headers # => { ... }
72
- p data # => <CompanyAssetsResponse>
87
+ p data # => <CatalystsResponse>
73
88
  rescue PharmaObservatory::ApiError => e
74
- puts "Error when calling LegalEntitiesApi->legal_entities_company_assets_with_http_info: #{e}"
89
+ puts "Error when calling LegalEntitiesApi->legal_entities_catalysts_with_http_info: #{e}"
75
90
  end
76
91
  ```
77
92
 
@@ -88,7 +103,7 @@ end
88
103
 
89
104
  ### Return type
90
105
 
91
- [**CompanyAssetsResponse**](CompanyAssetsResponse.md)
106
+ [**CatalystsResponse**](CatalystsResponse.md)
92
107
 
93
108
  ### Authorization
94
109
 
@@ -100,11 +115,11 @@ end
100
115
  - **Accept**: application/json
101
116
 
102
117
 
103
- ## legal_entities_company_programs
118
+ ## legal_entities_clia_certificates
104
119
 
105
- > <CompanyProgramsResponse> legal_entities_company_programs(id, opts)
120
+ > <CliaCertificatesResponse> legal_entities_clia_certificates(id, opts)
106
121
 
107
- Company programs
122
+ CLIA laboratory certificates
108
123
 
109
124
  ### Examples
110
125
 
@@ -128,29 +143,29 @@ opts = {
128
143
  }
129
144
 
130
145
  begin
131
- # Company programs
132
- result = api_instance.legal_entities_company_programs(id, opts)
146
+ # CLIA laboratory certificates
147
+ result = api_instance.legal_entities_clia_certificates(id, opts)
133
148
  p result
134
149
  rescue PharmaObservatory::ApiError => e
135
- puts "Error when calling LegalEntitiesApi->legal_entities_company_programs: #{e}"
150
+ puts "Error when calling LegalEntitiesApi->legal_entities_clia_certificates: #{e}"
136
151
  end
137
152
  ```
138
153
 
139
- #### Using the legal_entities_company_programs_with_http_info variant
154
+ #### Using the legal_entities_clia_certificates_with_http_info variant
140
155
 
141
156
  This returns an Array which contains the response data, status code and headers.
142
157
 
143
- > <Array(<CompanyProgramsResponse>, Integer, Hash)> legal_entities_company_programs_with_http_info(id, opts)
158
+ > <Array(<CliaCertificatesResponse>, Integer, Hash)> legal_entities_clia_certificates_with_http_info(id, opts)
144
159
 
145
160
  ```ruby
146
161
  begin
147
- # Company programs
148
- data, status_code, headers = api_instance.legal_entities_company_programs_with_http_info(id, opts)
162
+ # CLIA laboratory certificates
163
+ data, status_code, headers = api_instance.legal_entities_clia_certificates_with_http_info(id, opts)
149
164
  p status_code # => 2xx
150
165
  p headers # => { ... }
151
- p data # => <CompanyProgramsResponse>
166
+ p data # => <CliaCertificatesResponse>
152
167
  rescue PharmaObservatory::ApiError => e
153
- puts "Error when calling LegalEntitiesApi->legal_entities_company_programs_with_http_info: #{e}"
168
+ puts "Error when calling LegalEntitiesApi->legal_entities_clia_certificates_with_http_info: #{e}"
154
169
  end
155
170
  ```
156
171
 
@@ -167,7 +182,7 @@ end
167
182
 
168
183
  ### Return type
169
184
 
170
- [**CompanyProgramsResponse**](CompanyProgramsResponse.md)
185
+ [**CliaCertificatesResponse**](CliaCertificatesResponse.md)
171
186
 
172
187
  ### Authorization
173
188
 
@@ -179,11 +194,11 @@ end
179
194
  - **Accept**: application/json
180
195
 
181
196
 
182
- ## legal_entities_drug_patent_cliff
197
+ ## legal_entities_company_assets
183
198
 
184
- > <DrugPatentCliffResponse> legal_entities_drug_patent_cliff(id, opts)
199
+ > <CompanyAssetsResponse> legal_entities_company_assets(id, opts)
185
200
 
186
- Patent-cliff exposure
201
+ Company assets (approved and marketed drugs)
187
202
 
188
203
  ### Examples
189
204
 
@@ -207,29 +222,29 @@ opts = {
207
222
  }
208
223
 
209
224
  begin
210
- # Patent-cliff exposure
211
- result = api_instance.legal_entities_drug_patent_cliff(id, opts)
225
+ # Company assets (approved and marketed drugs)
226
+ result = api_instance.legal_entities_company_assets(id, opts)
212
227
  p result
213
228
  rescue PharmaObservatory::ApiError => e
214
- puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff: #{e}"
229
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_assets: #{e}"
215
230
  end
216
231
  ```
217
232
 
218
- #### Using the legal_entities_drug_patent_cliff_with_http_info variant
233
+ #### Using the legal_entities_company_assets_with_http_info variant
219
234
 
220
235
  This returns an Array which contains the response data, status code and headers.
221
236
 
222
- > <Array(<DrugPatentCliffResponse>, Integer, Hash)> legal_entities_drug_patent_cliff_with_http_info(id, opts)
237
+ > <Array(<CompanyAssetsResponse>, Integer, Hash)> legal_entities_company_assets_with_http_info(id, opts)
223
238
 
224
239
  ```ruby
225
240
  begin
226
- # Patent-cliff exposure
227
- data, status_code, headers = api_instance.legal_entities_drug_patent_cliff_with_http_info(id, opts)
241
+ # Company assets (approved and marketed drugs)
242
+ data, status_code, headers = api_instance.legal_entities_company_assets_with_http_info(id, opts)
228
243
  p status_code # => 2xx
229
244
  p headers # => { ... }
230
- p data # => <DrugPatentCliffResponse>
245
+ p data # => <CompanyAssetsResponse>
231
246
  rescue PharmaObservatory::ApiError => e
232
- puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff_with_http_info: #{e}"
247
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_assets_with_http_info: #{e}"
233
248
  end
234
249
  ```
235
250
 
@@ -246,7 +261,7 @@ end
246
261
 
247
262
  ### Return type
248
263
 
249
- [**DrugPatentCliffResponse**](DrugPatentCliffResponse.md)
264
+ [**CompanyAssetsResponse**](CompanyAssetsResponse.md)
250
265
 
251
266
  ### Authorization
252
267
 
@@ -258,11 +273,11 @@ end
258
273
  - **Accept**: application/json
259
274
 
260
275
 
261
- ## legal_entities_get
276
+ ## legal_entities_company_programs
262
277
 
263
- > <LegalEntitiesRecord> legal_entities_get(id)
278
+ > <CompanyProgramsResponse> legal_entities_company_programs(id, opts)
264
279
 
265
- One legal entity
280
+ Company programs
266
281
 
267
282
  ### Examples
268
283
 
@@ -277,31 +292,38 @@ end
277
292
 
278
293
  api_instance = PharmaObservatory::LegalEntitiesApi.new
279
294
  id = 'edgar:0001114448' # String |
295
+ opts = {
296
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
297
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
298
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
299
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
300
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
301
+ }
280
302
 
281
303
  begin
282
- # One legal entity
283
- result = api_instance.legal_entities_get(id)
304
+ # Company programs
305
+ result = api_instance.legal_entities_company_programs(id, opts)
284
306
  p result
285
307
  rescue PharmaObservatory::ApiError => e
286
- puts "Error when calling LegalEntitiesApi->legal_entities_get: #{e}"
308
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_programs: #{e}"
287
309
  end
288
310
  ```
289
311
 
290
- #### Using the legal_entities_get_with_http_info variant
312
+ #### Using the legal_entities_company_programs_with_http_info variant
291
313
 
292
314
  This returns an Array which contains the response data, status code and headers.
293
315
 
294
- > <Array(<LegalEntitiesRecord>, Integer, Hash)> legal_entities_get_with_http_info(id)
316
+ > <Array(<CompanyProgramsResponse>, Integer, Hash)> legal_entities_company_programs_with_http_info(id, opts)
295
317
 
296
318
  ```ruby
297
319
  begin
298
- # One legal entity
299
- data, status_code, headers = api_instance.legal_entities_get_with_http_info(id)
320
+ # Company programs
321
+ data, status_code, headers = api_instance.legal_entities_company_programs_with_http_info(id, opts)
300
322
  p status_code # => 2xx
301
323
  p headers # => { ... }
302
- p data # => <LegalEntitiesRecord>
324
+ p data # => <CompanyProgramsResponse>
303
325
  rescue PharmaObservatory::ApiError => e
304
- puts "Error when calling LegalEntitiesApi->legal_entities_get_with_http_info: #{e}"
326
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_programs_with_http_info: #{e}"
305
327
  end
306
328
  ```
307
329
 
@@ -310,10 +332,15 @@ end
310
332
  | Name | Type | Description | Notes |
311
333
  | ---- | ---- | ----------- | ----- |
312
334
  | **id** | **String** | | |
335
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
336
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
337
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
338
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
339
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
313
340
 
314
341
  ### Return type
315
342
 
316
- [**LegalEntitiesRecord**](LegalEntitiesRecord.md)
343
+ [**CompanyProgramsResponse**](CompanyProgramsResponse.md)
317
344
 
318
345
  ### Authorization
319
346
 
@@ -325,11 +352,11 @@ end
325
352
  - **Accept**: application/json
326
353
 
327
354
 
328
- ## legal_entities_institutional_holdings
355
+ ## legal_entities_debarments
329
356
 
330
- > <InstitutionalHoldingsResponse> legal_entities_institutional_holdings(id, opts)
357
+ > <DebarmentsResponse> legal_entities_debarments(id, opts)
331
358
 
332
- Institutional holdings (SEC Form 13F)
359
+ FDA firm debarments
333
360
 
334
361
  ### Examples
335
362
 
@@ -353,29 +380,29 @@ opts = {
353
380
  }
354
381
 
355
382
  begin
356
- # Institutional holdings (SEC Form 13F)
357
- result = api_instance.legal_entities_institutional_holdings(id, opts)
383
+ # FDA firm debarments
384
+ result = api_instance.legal_entities_debarments(id, opts)
358
385
  p result
359
386
  rescue PharmaObservatory::ApiError => e
360
- puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings: #{e}"
387
+ puts "Error when calling LegalEntitiesApi->legal_entities_debarments: #{e}"
361
388
  end
362
389
  ```
363
390
 
364
- #### Using the legal_entities_institutional_holdings_with_http_info variant
391
+ #### Using the legal_entities_debarments_with_http_info variant
365
392
 
366
393
  This returns an Array which contains the response data, status code and headers.
367
394
 
368
- > <Array(<InstitutionalHoldingsResponse>, Integer, Hash)> legal_entities_institutional_holdings_with_http_info(id, opts)
395
+ > <Array(<DebarmentsResponse>, Integer, Hash)> legal_entities_debarments_with_http_info(id, opts)
369
396
 
370
397
  ```ruby
371
398
  begin
372
- # Institutional holdings (SEC Form 13F)
373
- data, status_code, headers = api_instance.legal_entities_institutional_holdings_with_http_info(id, opts)
399
+ # FDA firm debarments
400
+ data, status_code, headers = api_instance.legal_entities_debarments_with_http_info(id, opts)
374
401
  p status_code # => 2xx
375
402
  p headers # => { ... }
376
- p data # => <InstitutionalHoldingsResponse>
403
+ p data # => <DebarmentsResponse>
377
404
  rescue PharmaObservatory::ApiError => e
378
- puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings_with_http_info: #{e}"
405
+ puts "Error when calling LegalEntitiesApi->legal_entities_debarments_with_http_info: #{e}"
379
406
  end
380
407
  ```
381
408
 
@@ -392,7 +419,7 @@ end
392
419
 
393
420
  ### Return type
394
421
 
395
- [**InstitutionalHoldingsResponse**](InstitutionalHoldingsResponse.md)
422
+ [**DebarmentsResponse**](DebarmentsResponse.md)
396
423
 
397
424
  ### Authorization
398
425
 
@@ -404,11 +431,11 @@ end
404
431
  - **Accept**: application/json
405
432
 
406
433
 
407
- ## legal_entities_list
434
+ ## legal_entities_drug_patent_cliff
408
435
 
409
- > <LegalEntitiesResponse> legal_entities_list(opts)
436
+ > <DrugPatentCliffResponse> legal_entities_drug_patent_cliff(id, opts)
410
437
 
411
- List legal entities
438
+ Patent-cliff exposure
412
439
 
413
440
  ### Examples
414
441
 
@@ -422,6 +449,7 @@ PharmaObservatory.configure do |config|
422
449
  end
423
450
 
424
451
  api_instance = PharmaObservatory::LegalEntitiesApi.new
452
+ id = 'edgar:0001114448' # String |
425
453
  opts = {
426
454
  cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
427
455
  limit: 56, # Integer | Rows per page, up to 500 (default 50).
@@ -431,29 +459,29 @@ opts = {
431
459
  }
432
460
 
433
461
  begin
434
- # List legal entities
435
- result = api_instance.legal_entities_list(opts)
462
+ # Patent-cliff exposure
463
+ result = api_instance.legal_entities_drug_patent_cliff(id, opts)
436
464
  p result
437
465
  rescue PharmaObservatory::ApiError => e
438
- puts "Error when calling LegalEntitiesApi->legal_entities_list: #{e}"
466
+ puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff: #{e}"
439
467
  end
440
468
  ```
441
469
 
442
- #### Using the legal_entities_list_with_http_info variant
470
+ #### Using the legal_entities_drug_patent_cliff_with_http_info variant
443
471
 
444
472
  This returns an Array which contains the response data, status code and headers.
445
473
 
446
- > <Array(<LegalEntitiesResponse>, Integer, Hash)> legal_entities_list_with_http_info(opts)
474
+ > <Array(<DrugPatentCliffResponse>, Integer, Hash)> legal_entities_drug_patent_cliff_with_http_info(id, opts)
447
475
 
448
476
  ```ruby
449
477
  begin
450
- # List legal entities
451
- data, status_code, headers = api_instance.legal_entities_list_with_http_info(opts)
478
+ # Patent-cliff exposure
479
+ data, status_code, headers = api_instance.legal_entities_drug_patent_cliff_with_http_info(id, opts)
452
480
  p status_code # => 2xx
453
481
  p headers # => { ... }
454
- p data # => <LegalEntitiesResponse>
482
+ p data # => <DrugPatentCliffResponse>
455
483
  rescue PharmaObservatory::ApiError => e
456
- puts "Error when calling LegalEntitiesApi->legal_entities_list_with_http_info: #{e}"
484
+ puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff_with_http_info: #{e}"
457
485
  end
458
486
  ```
459
487
 
@@ -461,6 +489,7 @@ end
461
489
 
462
490
  | Name | Type | Description | Notes |
463
491
  | ---- | ---- | ----------- | ----- |
492
+ | **id** | **String** | | |
464
493
  | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
465
494
  | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
466
495
  | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
@@ -469,7 +498,7 @@ end
469
498
 
470
499
  ### Return type
471
500
 
472
- [**LegalEntitiesResponse**](LegalEntitiesResponse.md)
501
+ [**DrugPatentCliffResponse**](DrugPatentCliffResponse.md)
473
502
 
474
503
  ### Authorization
475
504
 
@@ -481,11 +510,11 @@ end
481
510
  - **Accept**: application/json
482
511
 
483
512
 
484
- ## legal_entities_org_disclosures
513
+ ## legal_entities_enforcement_events
485
514
 
486
- > <OrgDisclosuresResponse> legal_entities_org_disclosures(id, opts)
515
+ > <EnforcementEventsResponse> legal_entities_enforcement_events(id, opts)
487
516
 
488
- Organization disclosures (climate and diversity)
517
+ FDA enforcement events
489
518
 
490
519
  ### Examples
491
520
 
@@ -509,29 +538,29 @@ opts = {
509
538
  }
510
539
 
511
540
  begin
512
- # Organization disclosures (climate and diversity)
513
- result = api_instance.legal_entities_org_disclosures(id, opts)
541
+ # FDA enforcement events
542
+ result = api_instance.legal_entities_enforcement_events(id, opts)
514
543
  p result
515
544
  rescue PharmaObservatory::ApiError => e
516
- puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures: #{e}"
545
+ puts "Error when calling LegalEntitiesApi->legal_entities_enforcement_events: #{e}"
517
546
  end
518
547
  ```
519
548
 
520
- #### Using the legal_entities_org_disclosures_with_http_info variant
549
+ #### Using the legal_entities_enforcement_events_with_http_info variant
521
550
 
522
551
  This returns an Array which contains the response data, status code and headers.
523
552
 
524
- > <Array(<OrgDisclosuresResponse>, Integer, Hash)> legal_entities_org_disclosures_with_http_info(id, opts)
553
+ > <Array(<EnforcementEventsResponse>, Integer, Hash)> legal_entities_enforcement_events_with_http_info(id, opts)
525
554
 
526
555
  ```ruby
527
556
  begin
528
- # Organization disclosures (climate and diversity)
529
- data, status_code, headers = api_instance.legal_entities_org_disclosures_with_http_info(id, opts)
557
+ # FDA enforcement events
558
+ data, status_code, headers = api_instance.legal_entities_enforcement_events_with_http_info(id, opts)
530
559
  p status_code # => 2xx
531
560
  p headers # => { ... }
532
- p data # => <OrgDisclosuresResponse>
561
+ p data # => <EnforcementEventsResponse>
533
562
  rescue PharmaObservatory::ApiError => e
534
- puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures_with_http_info: #{e}"
563
+ puts "Error when calling LegalEntitiesApi->legal_entities_enforcement_events_with_http_info: #{e}"
535
564
  end
536
565
  ```
537
566
 
@@ -548,7 +577,7 @@ end
548
577
 
549
578
  ### Return type
550
579
 
551
- [**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
580
+ [**EnforcementEventsResponse**](EnforcementEventsResponse.md)
552
581
 
553
582
  ### Authorization
554
583
 
@@ -560,11 +589,11 @@ end
560
589
  - **Accept**: application/json
561
590
 
562
591
 
563
- ## legal_entities_org_relationships
592
+ ## legal_entities_get
564
593
 
565
- > <OrgRelationshipsResponse> legal_entities_org_relationships(id, opts)
594
+ > <LegalEntitiesRecord> legal_entities_get(id)
566
595
 
567
- Organization relationships
596
+ One legal entity
568
597
 
569
598
  ### Examples
570
599
 
@@ -579,38 +608,31 @@ end
579
608
 
580
609
  api_instance = PharmaObservatory::LegalEntitiesApi.new
581
610
  id = 'edgar:0001114448' # String |
582
- opts = {
583
- cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
584
- limit: 56, # Integer | Rows per page, up to 500 (default 50).
585
- sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
586
- group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
587
- measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
588
- }
589
611
 
590
612
  begin
591
- # Organization relationships
592
- result = api_instance.legal_entities_org_relationships(id, opts)
613
+ # One legal entity
614
+ result = api_instance.legal_entities_get(id)
593
615
  p result
594
616
  rescue PharmaObservatory::ApiError => e
595
- puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships: #{e}"
617
+ puts "Error when calling LegalEntitiesApi->legal_entities_get: #{e}"
596
618
  end
597
619
  ```
598
620
 
599
- #### Using the legal_entities_org_relationships_with_http_info variant
621
+ #### Using the legal_entities_get_with_http_info variant
600
622
 
601
623
  This returns an Array which contains the response data, status code and headers.
602
624
 
603
- > <Array(<OrgRelationshipsResponse>, Integer, Hash)> legal_entities_org_relationships_with_http_info(id, opts)
625
+ > <Array(<LegalEntitiesRecord>, Integer, Hash)> legal_entities_get_with_http_info(id)
604
626
 
605
627
  ```ruby
606
628
  begin
607
- # Organization relationships
608
- data, status_code, headers = api_instance.legal_entities_org_relationships_with_http_info(id, opts)
629
+ # One legal entity
630
+ data, status_code, headers = api_instance.legal_entities_get_with_http_info(id)
609
631
  p status_code # => 2xx
610
632
  p headers # => { ... }
611
- p data # => <OrgRelationshipsResponse>
633
+ p data # => <LegalEntitiesRecord>
612
634
  rescue PharmaObservatory::ApiError => e
613
- puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships_with_http_info: #{e}"
635
+ puts "Error when calling LegalEntitiesApi->legal_entities_get_with_http_info: #{e}"
614
636
  end
615
637
  ```
616
638
 
@@ -619,15 +641,10 @@ end
619
641
  | Name | Type | Description | Notes |
620
642
  | ---- | ---- | ----------- | ----- |
621
643
  | **id** | **String** | | |
622
- | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
623
- | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
624
- | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
625
- | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
626
- | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
627
644
 
628
645
  ### Return type
629
646
 
630
- [**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
647
+ [**LegalEntitiesRecord**](LegalEntitiesRecord.md)
631
648
 
632
649
  ### Authorization
633
650
 
@@ -639,11 +656,11 @@ end
639
656
  - **Accept**: application/json
640
657
 
641
658
 
642
- ## legal_entities_ownership_positions
659
+ ## legal_entities_gxp_facilities
643
660
 
644
- > <OwnershipPositionsResponse> legal_entities_ownership_positions(id, opts)
661
+ > <GxpFacilitiesResponse> legal_entities_gxp_facilities(id, opts)
645
662
 
646
- Ownership and control positions
663
+ GxP facilities and quality signals
647
664
 
648
665
  ### Examples
649
666
 
@@ -667,29 +684,29 @@ opts = {
667
684
  }
668
685
 
669
686
  begin
670
- # Ownership and control positions
671
- result = api_instance.legal_entities_ownership_positions(id, opts)
687
+ # GxP facilities and quality signals
688
+ result = api_instance.legal_entities_gxp_facilities(id, opts)
672
689
  p result
673
690
  rescue PharmaObservatory::ApiError => e
674
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions: #{e}"
691
+ puts "Error when calling LegalEntitiesApi->legal_entities_gxp_facilities: #{e}"
675
692
  end
676
693
  ```
677
694
 
678
- #### Using the legal_entities_ownership_positions_with_http_info variant
695
+ #### Using the legal_entities_gxp_facilities_with_http_info variant
679
696
 
680
697
  This returns an Array which contains the response data, status code and headers.
681
698
 
682
- > <Array(<OwnershipPositionsResponse>, Integer, Hash)> legal_entities_ownership_positions_with_http_info(id, opts)
699
+ > <Array(<GxpFacilitiesResponse>, Integer, Hash)> legal_entities_gxp_facilities_with_http_info(id, opts)
683
700
 
684
701
  ```ruby
685
702
  begin
686
- # Ownership and control positions
687
- data, status_code, headers = api_instance.legal_entities_ownership_positions_with_http_info(id, opts)
703
+ # GxP facilities and quality signals
704
+ data, status_code, headers = api_instance.legal_entities_gxp_facilities_with_http_info(id, opts)
688
705
  p status_code # => 2xx
689
706
  p headers # => { ... }
690
- p data # => <OwnershipPositionsResponse>
707
+ p data # => <GxpFacilitiesResponse>
691
708
  rescue PharmaObservatory::ApiError => e
692
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions_with_http_info: #{e}"
709
+ puts "Error when calling LegalEntitiesApi->legal_entities_gxp_facilities_with_http_info: #{e}"
693
710
  end
694
711
  ```
695
712
 
@@ -706,7 +723,7 @@ end
706
723
 
707
724
  ### Return type
708
725
 
709
- [**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
726
+ [**GxpFacilitiesResponse**](GxpFacilitiesResponse.md)
710
727
 
711
728
  ### Authorization
712
729
 
@@ -718,11 +735,11 @@ end
718
735
  - **Accept**: application/json
719
736
 
720
737
 
721
- ## legal_entities_pdufa_dates
738
+ ## legal_entities_import_refusals
722
739
 
723
- > <PdufaDatesResponse> legal_entities_pdufa_dates(id, opts)
740
+ > <ImportRefusalsResponse> legal_entities_import_refusals(id, opts)
724
741
 
725
- FDA decision dates (PDUFA) and catalysts
742
+ FDA import refusals
726
743
 
727
744
  ### Examples
728
745
 
@@ -746,29 +763,29 @@ opts = {
746
763
  }
747
764
 
748
765
  begin
749
- # FDA decision dates (PDUFA) and catalysts
750
- result = api_instance.legal_entities_pdufa_dates(id, opts)
766
+ # FDA import refusals
767
+ result = api_instance.legal_entities_import_refusals(id, opts)
751
768
  p result
752
769
  rescue PharmaObservatory::ApiError => e
753
- puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates: #{e}"
770
+ puts "Error when calling LegalEntitiesApi->legal_entities_import_refusals: #{e}"
754
771
  end
755
772
  ```
756
773
 
757
- #### Using the legal_entities_pdufa_dates_with_http_info variant
774
+ #### Using the legal_entities_import_refusals_with_http_info variant
758
775
 
759
776
  This returns an Array which contains the response data, status code and headers.
760
777
 
761
- > <Array(<PdufaDatesResponse>, Integer, Hash)> legal_entities_pdufa_dates_with_http_info(id, opts)
778
+ > <Array(<ImportRefusalsResponse>, Integer, Hash)> legal_entities_import_refusals_with_http_info(id, opts)
762
779
 
763
780
  ```ruby
764
781
  begin
765
- # FDA decision dates (PDUFA) and catalysts
766
- data, status_code, headers = api_instance.legal_entities_pdufa_dates_with_http_info(id, opts)
782
+ # FDA import refusals
783
+ data, status_code, headers = api_instance.legal_entities_import_refusals_with_http_info(id, opts)
767
784
  p status_code # => 2xx
768
785
  p headers # => { ... }
769
- p data # => <PdufaDatesResponse>
786
+ p data # => <ImportRefusalsResponse>
770
787
  rescue PharmaObservatory::ApiError => e
771
- puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates_with_http_info: #{e}"
788
+ puts "Error when calling LegalEntitiesApi->legal_entities_import_refusals_with_http_info: #{e}"
772
789
  end
773
790
  ```
774
791
 
@@ -785,7 +802,7 @@ end
785
802
 
786
803
  ### Return type
787
804
 
788
- [**PdufaDatesResponse**](PdufaDatesResponse.md)
805
+ [**ImportRefusalsResponse**](ImportRefusalsResponse.md)
789
806
 
790
807
  ### Authorization
791
808
 
@@ -797,11 +814,11 @@ end
797
814
  - **Accept**: application/json
798
815
 
799
816
 
800
- ## legal_entities_sponsor_recruitment_by_phase
817
+ ## legal_entities_inspection_findings
801
818
 
802
- > <SponsorRecruitmentByPhaseResponse> legal_entities_sponsor_recruitment_by_phase(id, opts)
819
+ > <InspectionFindingsResponse> legal_entities_inspection_findings(id, opts)
803
820
 
804
- Trial recruitment duration by sponsor and phase
821
+ FDA inspection findings
805
822
 
806
823
  ### Examples
807
824
 
@@ -825,29 +842,29 @@ opts = {
825
842
  }
826
843
 
827
844
  begin
828
- # Trial recruitment duration by sponsor and phase
829
- result = api_instance.legal_entities_sponsor_recruitment_by_phase(id, opts)
845
+ # FDA inspection findings
846
+ result = api_instance.legal_entities_inspection_findings(id, opts)
830
847
  p result
831
848
  rescue PharmaObservatory::ApiError => e
832
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase: #{e}"
849
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspection_findings: #{e}"
833
850
  end
834
851
  ```
835
852
 
836
- #### Using the legal_entities_sponsor_recruitment_by_phase_with_http_info variant
853
+ #### Using the legal_entities_inspection_findings_with_http_info variant
837
854
 
838
855
  This returns an Array which contains the response data, status code and headers.
839
856
 
840
- > <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
857
+ > <Array(<InspectionFindingsResponse>, Integer, Hash)> legal_entities_inspection_findings_with_http_info(id, opts)
841
858
 
842
859
  ```ruby
843
860
  begin
844
- # Trial recruitment duration by sponsor and phase
845
- data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
861
+ # FDA inspection findings
862
+ data, status_code, headers = api_instance.legal_entities_inspection_findings_with_http_info(id, opts)
846
863
  p status_code # => 2xx
847
864
  p headers # => { ... }
848
- p data # => <SponsorRecruitmentByPhaseResponse>
865
+ p data # => <InspectionFindingsResponse>
849
866
  rescue PharmaObservatory::ApiError => e
850
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase_with_http_info: #{e}"
867
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspection_findings_with_http_info: #{e}"
851
868
  end
852
869
  ```
853
870
 
@@ -864,7 +881,7 @@ end
864
881
 
865
882
  ### Return type
866
883
 
867
- [**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
884
+ [**InspectionFindingsResponse**](InspectionFindingsResponse.md)
868
885
 
869
886
  ### Authorization
870
887
 
@@ -876,11 +893,11 @@ end
876
893
  - **Accept**: application/json
877
894
 
878
895
 
879
- ## legal_entities_sponsor_recruitment_duration
896
+ ## legal_entities_inspections
880
897
 
881
- > <SponsorRecruitmentDurationResponse> legal_entities_sponsor_recruitment_duration(id, opts)
898
+ > <InspectionsResponse> legal_entities_inspections(id, opts)
882
899
 
883
- Trial recruitment duration by sponsor
900
+ FDA inspections
884
901
 
885
902
  ### Examples
886
903
 
@@ -904,29 +921,29 @@ opts = {
904
921
  }
905
922
 
906
923
  begin
907
- # Trial recruitment duration by sponsor
908
- result = api_instance.legal_entities_sponsor_recruitment_duration(id, opts)
924
+ # FDA inspections
925
+ result = api_instance.legal_entities_inspections(id, opts)
909
926
  p result
910
927
  rescue PharmaObservatory::ApiError => e
911
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration: #{e}"
928
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspections: #{e}"
912
929
  end
913
930
  ```
914
931
 
915
- #### Using the legal_entities_sponsor_recruitment_duration_with_http_info variant
932
+ #### Using the legal_entities_inspections_with_http_info variant
916
933
 
917
934
  This returns an Array which contains the response data, status code and headers.
918
935
 
919
- > <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
936
+ > <Array(<InspectionsResponse>, Integer, Hash)> legal_entities_inspections_with_http_info(id, opts)
920
937
 
921
938
  ```ruby
922
939
  begin
923
- # Trial recruitment duration by sponsor
924
- data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
940
+ # FDA inspections
941
+ data, status_code, headers = api_instance.legal_entities_inspections_with_http_info(id, opts)
925
942
  p status_code # => 2xx
926
943
  p headers # => { ... }
927
- p data # => <SponsorRecruitmentDurationResponse>
944
+ p data # => <InspectionsResponse>
928
945
  rescue PharmaObservatory::ApiError => e
929
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration_with_http_info: #{e}"
946
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspections_with_http_info: #{e}"
930
947
  end
931
948
  ```
932
949
 
@@ -943,7 +960,7 @@ end
943
960
 
944
961
  ### Return type
945
962
 
946
- [**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
963
+ [**InspectionsResponse**](InspectionsResponse.md)
947
964
 
948
965
  ### Authorization
949
966
 
@@ -955,11 +972,11 @@ end
955
972
  - **Accept**: application/json
956
973
 
957
974
 
958
- ## legal_entities_sponsor_trial_start_forecast
975
+ ## legal_entities_institutional_holdings
959
976
 
960
- > <SponsorTrialStartForecastResponse> legal_entities_sponsor_trial_start_forecast(id, opts)
977
+ > <InstitutionalHoldingsResponse> legal_entities_institutional_holdings(id, opts)
961
978
 
962
- Trial-start forecast by sponsor
979
+ Institutional holdings (SEC Form 13F)
963
980
 
964
981
  ### Examples
965
982
 
@@ -983,27 +1000,973 @@ opts = {
983
1000
  }
984
1001
 
985
1002
  begin
986
- # Trial-start forecast by sponsor
987
- result = api_instance.legal_entities_sponsor_trial_start_forecast(id, opts)
1003
+ # Institutional holdings (SEC Form 13F)
1004
+ result = api_instance.legal_entities_institutional_holdings(id, opts)
988
1005
  p result
989
1006
  rescue PharmaObservatory::ApiError => e
990
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_start_forecast: #{e}"
1007
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings: #{e}"
991
1008
  end
992
1009
  ```
993
1010
 
994
- #### Using the legal_entities_sponsor_trial_start_forecast_with_http_info variant
1011
+ #### Using the legal_entities_institutional_holdings_with_http_info variant
995
1012
 
996
1013
  This returns an Array which contains the response data, status code and headers.
997
1014
 
998
- > <Array(<SponsorTrialStartForecastResponse>, Integer, Hash)> legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
1015
+ > <Array(<InstitutionalHoldingsResponse>, Integer, Hash)> legal_entities_institutional_holdings_with_http_info(id, opts)
999
1016
 
1000
1017
  ```ruby
1001
1018
  begin
1002
- # Trial-start forecast by sponsor
1003
- data, status_code, headers = api_instance.legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
1019
+ # Institutional holdings (SEC Form 13F)
1020
+ data, status_code, headers = api_instance.legal_entities_institutional_holdings_with_http_info(id, opts)
1004
1021
  p status_code # => 2xx
1005
1022
  p headers # => { ... }
1006
- p data # => <SponsorTrialStartForecastResponse>
1023
+ p data # => <InstitutionalHoldingsResponse>
1024
+ rescue PharmaObservatory::ApiError => e
1025
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings_with_http_info: #{e}"
1026
+ end
1027
+ ```
1028
+
1029
+ ### Parameters
1030
+
1031
+ | Name | Type | Description | Notes |
1032
+ | ---- | ---- | ----------- | ----- |
1033
+ | **id** | **String** | | |
1034
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1035
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1036
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1037
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1038
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1039
+
1040
+ ### Return type
1041
+
1042
+ [**InstitutionalHoldingsResponse**](InstitutionalHoldingsResponse.md)
1043
+
1044
+ ### Authorization
1045
+
1046
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1047
+
1048
+ ### HTTP request headers
1049
+
1050
+ - **Content-Type**: Not defined
1051
+ - **Accept**: application/json
1052
+
1053
+
1054
+ ## legal_entities_institutional_quarter_totals
1055
+
1056
+ > <InstitutionalQuarterTotalsResponse> legal_entities_institutional_quarter_totals(id, opts)
1057
+
1058
+ Institutional quarter totals (SEC Form 13F)
1059
+
1060
+ ### Examples
1061
+
1062
+ ```ruby
1063
+ require 'time'
1064
+ require 'pharmaobservatory'
1065
+ # setup authorization
1066
+ PharmaObservatory.configure do |config|
1067
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1068
+ config.access_token = 'YOUR_BEARER_TOKEN'
1069
+ end
1070
+
1071
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1072
+ id = 'edgar:0001114448' # String |
1073
+ opts = {
1074
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1075
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1076
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1077
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1078
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1079
+ }
1080
+
1081
+ begin
1082
+ # Institutional quarter totals (SEC Form 13F)
1083
+ result = api_instance.legal_entities_institutional_quarter_totals(id, opts)
1084
+ p result
1085
+ rescue PharmaObservatory::ApiError => e
1086
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_quarter_totals: #{e}"
1087
+ end
1088
+ ```
1089
+
1090
+ #### Using the legal_entities_institutional_quarter_totals_with_http_info variant
1091
+
1092
+ This returns an Array which contains the response data, status code and headers.
1093
+
1094
+ > <Array(<InstitutionalQuarterTotalsResponse>, Integer, Hash)> legal_entities_institutional_quarter_totals_with_http_info(id, opts)
1095
+
1096
+ ```ruby
1097
+ begin
1098
+ # Institutional quarter totals (SEC Form 13F)
1099
+ data, status_code, headers = api_instance.legal_entities_institutional_quarter_totals_with_http_info(id, opts)
1100
+ p status_code # => 2xx
1101
+ p headers # => { ... }
1102
+ p data # => <InstitutionalQuarterTotalsResponse>
1103
+ rescue PharmaObservatory::ApiError => e
1104
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_quarter_totals_with_http_info: #{e}"
1105
+ end
1106
+ ```
1107
+
1108
+ ### Parameters
1109
+
1110
+ | Name | Type | Description | Notes |
1111
+ | ---- | ---- | ----------- | ----- |
1112
+ | **id** | **String** | | |
1113
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1114
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1115
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1116
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1117
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1118
+
1119
+ ### Return type
1120
+
1121
+ [**InstitutionalQuarterTotalsResponse**](InstitutionalQuarterTotalsResponse.md)
1122
+
1123
+ ### Authorization
1124
+
1125
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1126
+
1127
+ ### HTTP request headers
1128
+
1129
+ - **Content-Type**: Not defined
1130
+ - **Accept**: application/json
1131
+
1132
+
1133
+ ## legal_entities_list
1134
+
1135
+ > <LegalEntitiesResponse> legal_entities_list(opts)
1136
+
1137
+ List legal entities
1138
+
1139
+ ### Examples
1140
+
1141
+ ```ruby
1142
+ require 'time'
1143
+ require 'pharmaobservatory'
1144
+ # setup authorization
1145
+ PharmaObservatory.configure do |config|
1146
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1147
+ config.access_token = 'YOUR_BEARER_TOKEN'
1148
+ end
1149
+
1150
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1151
+ opts = {
1152
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1153
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1154
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1155
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1156
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1157
+ }
1158
+
1159
+ begin
1160
+ # List legal entities
1161
+ result = api_instance.legal_entities_list(opts)
1162
+ p result
1163
+ rescue PharmaObservatory::ApiError => e
1164
+ puts "Error when calling LegalEntitiesApi->legal_entities_list: #{e}"
1165
+ end
1166
+ ```
1167
+
1168
+ #### Using the legal_entities_list_with_http_info variant
1169
+
1170
+ This returns an Array which contains the response data, status code and headers.
1171
+
1172
+ > <Array(<LegalEntitiesResponse>, Integer, Hash)> legal_entities_list_with_http_info(opts)
1173
+
1174
+ ```ruby
1175
+ begin
1176
+ # List legal entities
1177
+ data, status_code, headers = api_instance.legal_entities_list_with_http_info(opts)
1178
+ p status_code # => 2xx
1179
+ p headers # => { ... }
1180
+ p data # => <LegalEntitiesResponse>
1181
+ rescue PharmaObservatory::ApiError => e
1182
+ puts "Error when calling LegalEntitiesApi->legal_entities_list_with_http_info: #{e}"
1183
+ end
1184
+ ```
1185
+
1186
+ ### Parameters
1187
+
1188
+ | Name | Type | Description | Notes |
1189
+ | ---- | ---- | ----------- | ----- |
1190
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1191
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1192
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1193
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1194
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1195
+
1196
+ ### Return type
1197
+
1198
+ [**LegalEntitiesResponse**](LegalEntitiesResponse.md)
1199
+
1200
+ ### Authorization
1201
+
1202
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1203
+
1204
+ ### HTTP request headers
1205
+
1206
+ - **Content-Type**: Not defined
1207
+ - **Accept**: application/json
1208
+
1209
+
1210
+ ## legal_entities_org_disclosures
1211
+
1212
+ > <OrgDisclosuresResponse> legal_entities_org_disclosures(id, opts)
1213
+
1214
+ Organization disclosures (climate and diversity)
1215
+
1216
+ ### Examples
1217
+
1218
+ ```ruby
1219
+ require 'time'
1220
+ require 'pharmaobservatory'
1221
+ # setup authorization
1222
+ PharmaObservatory.configure do |config|
1223
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1224
+ config.access_token = 'YOUR_BEARER_TOKEN'
1225
+ end
1226
+
1227
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1228
+ id = 'edgar:0001114448' # String |
1229
+ opts = {
1230
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1231
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1232
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1233
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1234
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1235
+ }
1236
+
1237
+ begin
1238
+ # Organization disclosures (climate and diversity)
1239
+ result = api_instance.legal_entities_org_disclosures(id, opts)
1240
+ p result
1241
+ rescue PharmaObservatory::ApiError => e
1242
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures: #{e}"
1243
+ end
1244
+ ```
1245
+
1246
+ #### Using the legal_entities_org_disclosures_with_http_info variant
1247
+
1248
+ This returns an Array which contains the response data, status code and headers.
1249
+
1250
+ > <Array(<OrgDisclosuresResponse>, Integer, Hash)> legal_entities_org_disclosures_with_http_info(id, opts)
1251
+
1252
+ ```ruby
1253
+ begin
1254
+ # Organization disclosures (climate and diversity)
1255
+ data, status_code, headers = api_instance.legal_entities_org_disclosures_with_http_info(id, opts)
1256
+ p status_code # => 2xx
1257
+ p headers # => { ... }
1258
+ p data # => <OrgDisclosuresResponse>
1259
+ rescue PharmaObservatory::ApiError => e
1260
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures_with_http_info: #{e}"
1261
+ end
1262
+ ```
1263
+
1264
+ ### Parameters
1265
+
1266
+ | Name | Type | Description | Notes |
1267
+ | ---- | ---- | ----------- | ----- |
1268
+ | **id** | **String** | | |
1269
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1270
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1271
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1272
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1273
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1274
+
1275
+ ### Return type
1276
+
1277
+ [**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
1278
+
1279
+ ### Authorization
1280
+
1281
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1282
+
1283
+ ### HTTP request headers
1284
+
1285
+ - **Content-Type**: Not defined
1286
+ - **Accept**: application/json
1287
+
1288
+
1289
+ ## legal_entities_org_relationships
1290
+
1291
+ > <OrgRelationshipsResponse> legal_entities_org_relationships(id, opts)
1292
+
1293
+ Organization relationships
1294
+
1295
+ ### Examples
1296
+
1297
+ ```ruby
1298
+ require 'time'
1299
+ require 'pharmaobservatory'
1300
+ # setup authorization
1301
+ PharmaObservatory.configure do |config|
1302
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1303
+ config.access_token = 'YOUR_BEARER_TOKEN'
1304
+ end
1305
+
1306
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1307
+ id = 'edgar:0001114448' # String |
1308
+ opts = {
1309
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1310
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1311
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1312
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1313
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1314
+ }
1315
+
1316
+ begin
1317
+ # Organization relationships
1318
+ result = api_instance.legal_entities_org_relationships(id, opts)
1319
+ p result
1320
+ rescue PharmaObservatory::ApiError => e
1321
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships: #{e}"
1322
+ end
1323
+ ```
1324
+
1325
+ #### Using the legal_entities_org_relationships_with_http_info variant
1326
+
1327
+ This returns an Array which contains the response data, status code and headers.
1328
+
1329
+ > <Array(<OrgRelationshipsResponse>, Integer, Hash)> legal_entities_org_relationships_with_http_info(id, opts)
1330
+
1331
+ ```ruby
1332
+ begin
1333
+ # Organization relationships
1334
+ data, status_code, headers = api_instance.legal_entities_org_relationships_with_http_info(id, opts)
1335
+ p status_code # => 2xx
1336
+ p headers # => { ... }
1337
+ p data # => <OrgRelationshipsResponse>
1338
+ rescue PharmaObservatory::ApiError => e
1339
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships_with_http_info: #{e}"
1340
+ end
1341
+ ```
1342
+
1343
+ ### Parameters
1344
+
1345
+ | Name | Type | Description | Notes |
1346
+ | ---- | ---- | ----------- | ----- |
1347
+ | **id** | **String** | | |
1348
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1349
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1350
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1351
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1352
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1353
+
1354
+ ### Return type
1355
+
1356
+ [**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
1357
+
1358
+ ### Authorization
1359
+
1360
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1361
+
1362
+ ### HTTP request headers
1363
+
1364
+ - **Content-Type**: Not defined
1365
+ - **Accept**: application/json
1366
+
1367
+
1368
+ ## legal_entities_ownership_percentages
1369
+
1370
+ > <OwnershipPercentagesResponse> legal_entities_ownership_percentages(id, opts)
1371
+
1372
+ Ownership percentages
1373
+
1374
+ ### Examples
1375
+
1376
+ ```ruby
1377
+ require 'time'
1378
+ require 'pharmaobservatory'
1379
+ # setup authorization
1380
+ PharmaObservatory.configure do |config|
1381
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1382
+ config.access_token = 'YOUR_BEARER_TOKEN'
1383
+ end
1384
+
1385
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1386
+ id = 'edgar:0001114448' # String |
1387
+ opts = {
1388
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1389
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1390
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1391
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1392
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1393
+ }
1394
+
1395
+ begin
1396
+ # Ownership percentages
1397
+ result = api_instance.legal_entities_ownership_percentages(id, opts)
1398
+ p result
1399
+ rescue PharmaObservatory::ApiError => e
1400
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages: #{e}"
1401
+ end
1402
+ ```
1403
+
1404
+ #### Using the legal_entities_ownership_percentages_with_http_info variant
1405
+
1406
+ This returns an Array which contains the response data, status code and headers.
1407
+
1408
+ > <Array(<OwnershipPercentagesResponse>, Integer, Hash)> legal_entities_ownership_percentages_with_http_info(id, opts)
1409
+
1410
+ ```ruby
1411
+ begin
1412
+ # Ownership percentages
1413
+ data, status_code, headers = api_instance.legal_entities_ownership_percentages_with_http_info(id, opts)
1414
+ p status_code # => 2xx
1415
+ p headers # => { ... }
1416
+ p data # => <OwnershipPercentagesResponse>
1417
+ rescue PharmaObservatory::ApiError => e
1418
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages_with_http_info: #{e}"
1419
+ end
1420
+ ```
1421
+
1422
+ ### Parameters
1423
+
1424
+ | Name | Type | Description | Notes |
1425
+ | ---- | ---- | ----------- | ----- |
1426
+ | **id** | **String** | | |
1427
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1428
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1429
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1430
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1431
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1432
+
1433
+ ### Return type
1434
+
1435
+ [**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
1436
+
1437
+ ### Authorization
1438
+
1439
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1440
+
1441
+ ### HTTP request headers
1442
+
1443
+ - **Content-Type**: Not defined
1444
+ - **Accept**: application/json
1445
+
1446
+
1447
+ ## legal_entities_ownership_positions
1448
+
1449
+ > <OwnershipPositionsResponse> legal_entities_ownership_positions(id, opts)
1450
+
1451
+ Ownership and control positions
1452
+
1453
+ ### Examples
1454
+
1455
+ ```ruby
1456
+ require 'time'
1457
+ require 'pharmaobservatory'
1458
+ # setup authorization
1459
+ PharmaObservatory.configure do |config|
1460
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1461
+ config.access_token = 'YOUR_BEARER_TOKEN'
1462
+ end
1463
+
1464
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1465
+ id = 'edgar:0001114448' # String |
1466
+ opts = {
1467
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1468
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1469
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1470
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1471
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1472
+ }
1473
+
1474
+ begin
1475
+ # Ownership and control positions
1476
+ result = api_instance.legal_entities_ownership_positions(id, opts)
1477
+ p result
1478
+ rescue PharmaObservatory::ApiError => e
1479
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions: #{e}"
1480
+ end
1481
+ ```
1482
+
1483
+ #### Using the legal_entities_ownership_positions_with_http_info variant
1484
+
1485
+ This returns an Array which contains the response data, status code and headers.
1486
+
1487
+ > <Array(<OwnershipPositionsResponse>, Integer, Hash)> legal_entities_ownership_positions_with_http_info(id, opts)
1488
+
1489
+ ```ruby
1490
+ begin
1491
+ # Ownership and control positions
1492
+ data, status_code, headers = api_instance.legal_entities_ownership_positions_with_http_info(id, opts)
1493
+ p status_code # => 2xx
1494
+ p headers # => { ... }
1495
+ p data # => <OwnershipPositionsResponse>
1496
+ rescue PharmaObservatory::ApiError => e
1497
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions_with_http_info: #{e}"
1498
+ end
1499
+ ```
1500
+
1501
+ ### Parameters
1502
+
1503
+ | Name | Type | Description | Notes |
1504
+ | ---- | ---- | ----------- | ----- |
1505
+ | **id** | **String** | | |
1506
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1507
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1508
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1509
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1510
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1511
+
1512
+ ### Return type
1513
+
1514
+ [**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
1515
+
1516
+ ### Authorization
1517
+
1518
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1519
+
1520
+ ### HTTP request headers
1521
+
1522
+ - **Content-Type**: Not defined
1523
+ - **Accept**: application/json
1524
+
1525
+
1526
+ ## legal_entities_pdufa_dates
1527
+
1528
+ > <PdufaDatesResponse> legal_entities_pdufa_dates(id, opts)
1529
+
1530
+ FDA decision dates (PDUFA) and catalysts
1531
+
1532
+ ### Examples
1533
+
1534
+ ```ruby
1535
+ require 'time'
1536
+ require 'pharmaobservatory'
1537
+ # setup authorization
1538
+ PharmaObservatory.configure do |config|
1539
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1540
+ config.access_token = 'YOUR_BEARER_TOKEN'
1541
+ end
1542
+
1543
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1544
+ id = 'edgar:0001114448' # String |
1545
+ opts = {
1546
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1547
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1548
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1549
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1550
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1551
+ }
1552
+
1553
+ begin
1554
+ # FDA decision dates (PDUFA) and catalysts
1555
+ result = api_instance.legal_entities_pdufa_dates(id, opts)
1556
+ p result
1557
+ rescue PharmaObservatory::ApiError => e
1558
+ puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates: #{e}"
1559
+ end
1560
+ ```
1561
+
1562
+ #### Using the legal_entities_pdufa_dates_with_http_info variant
1563
+
1564
+ This returns an Array which contains the response data, status code and headers.
1565
+
1566
+ > <Array(<PdufaDatesResponse>, Integer, Hash)> legal_entities_pdufa_dates_with_http_info(id, opts)
1567
+
1568
+ ```ruby
1569
+ begin
1570
+ # FDA decision dates (PDUFA) and catalysts
1571
+ data, status_code, headers = api_instance.legal_entities_pdufa_dates_with_http_info(id, opts)
1572
+ p status_code # => 2xx
1573
+ p headers # => { ... }
1574
+ p data # => <PdufaDatesResponse>
1575
+ rescue PharmaObservatory::ApiError => e
1576
+ puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates_with_http_info: #{e}"
1577
+ end
1578
+ ```
1579
+
1580
+ ### Parameters
1581
+
1582
+ | Name | Type | Description | Notes |
1583
+ | ---- | ---- | ----------- | ----- |
1584
+ | **id** | **String** | | |
1585
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1586
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1587
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1588
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1589
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1590
+
1591
+ ### Return type
1592
+
1593
+ [**PdufaDatesResponse**](PdufaDatesResponse.md)
1594
+
1595
+ ### Authorization
1596
+
1597
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1598
+
1599
+ ### HTTP request headers
1600
+
1601
+ - **Content-Type**: Not defined
1602
+ - **Accept**: application/json
1603
+
1604
+
1605
+ ## legal_entities_program_licensing_candidates
1606
+
1607
+ > <ProgramLicensingCandidatesResponse> legal_entities_program_licensing_candidates(id, opts)
1608
+
1609
+ Program licensing candidates
1610
+
1611
+ ### Examples
1612
+
1613
+ ```ruby
1614
+ require 'time'
1615
+ require 'pharmaobservatory'
1616
+ # setup authorization
1617
+ PharmaObservatory.configure do |config|
1618
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1619
+ config.access_token = 'YOUR_BEARER_TOKEN'
1620
+ end
1621
+
1622
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1623
+ id = 'edgar:0001114448' # String |
1624
+ opts = {
1625
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1626
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1627
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1628
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1629
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1630
+ }
1631
+
1632
+ begin
1633
+ # Program licensing candidates
1634
+ result = api_instance.legal_entities_program_licensing_candidates(id, opts)
1635
+ p result
1636
+ rescue PharmaObservatory::ApiError => e
1637
+ puts "Error when calling LegalEntitiesApi->legal_entities_program_licensing_candidates: #{e}"
1638
+ end
1639
+ ```
1640
+
1641
+ #### Using the legal_entities_program_licensing_candidates_with_http_info variant
1642
+
1643
+ This returns an Array which contains the response data, status code and headers.
1644
+
1645
+ > <Array(<ProgramLicensingCandidatesResponse>, Integer, Hash)> legal_entities_program_licensing_candidates_with_http_info(id, opts)
1646
+
1647
+ ```ruby
1648
+ begin
1649
+ # Program licensing candidates
1650
+ data, status_code, headers = api_instance.legal_entities_program_licensing_candidates_with_http_info(id, opts)
1651
+ p status_code # => 2xx
1652
+ p headers # => { ... }
1653
+ p data # => <ProgramLicensingCandidatesResponse>
1654
+ rescue PharmaObservatory::ApiError => e
1655
+ puts "Error when calling LegalEntitiesApi->legal_entities_program_licensing_candidates_with_http_info: #{e}"
1656
+ end
1657
+ ```
1658
+
1659
+ ### Parameters
1660
+
1661
+ | Name | Type | Description | Notes |
1662
+ | ---- | ---- | ----------- | ----- |
1663
+ | **id** | **String** | | |
1664
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1665
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1666
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1667
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1668
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1669
+
1670
+ ### Return type
1671
+
1672
+ [**ProgramLicensingCandidatesResponse**](ProgramLicensingCandidatesResponse.md)
1673
+
1674
+ ### Authorization
1675
+
1676
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1677
+
1678
+ ### HTTP request headers
1679
+
1680
+ - **Content-Type**: Not defined
1681
+ - **Accept**: application/json
1682
+
1683
+
1684
+ ## legal_entities_recalls
1685
+
1686
+ > <RecallsResponse> legal_entities_recalls(id, opts)
1687
+
1688
+ FDA recalls
1689
+
1690
+ ### Examples
1691
+
1692
+ ```ruby
1693
+ require 'time'
1694
+ require 'pharmaobservatory'
1695
+ # setup authorization
1696
+ PharmaObservatory.configure do |config|
1697
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1698
+ config.access_token = 'YOUR_BEARER_TOKEN'
1699
+ end
1700
+
1701
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1702
+ id = 'edgar:0001114448' # String |
1703
+ opts = {
1704
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1705
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1706
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1707
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1708
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1709
+ }
1710
+
1711
+ begin
1712
+ # FDA recalls
1713
+ result = api_instance.legal_entities_recalls(id, opts)
1714
+ p result
1715
+ rescue PharmaObservatory::ApiError => e
1716
+ puts "Error when calling LegalEntitiesApi->legal_entities_recalls: #{e}"
1717
+ end
1718
+ ```
1719
+
1720
+ #### Using the legal_entities_recalls_with_http_info variant
1721
+
1722
+ This returns an Array which contains the response data, status code and headers.
1723
+
1724
+ > <Array(<RecallsResponse>, Integer, Hash)> legal_entities_recalls_with_http_info(id, opts)
1725
+
1726
+ ```ruby
1727
+ begin
1728
+ # FDA recalls
1729
+ data, status_code, headers = api_instance.legal_entities_recalls_with_http_info(id, opts)
1730
+ p status_code # => 2xx
1731
+ p headers # => { ... }
1732
+ p data # => <RecallsResponse>
1733
+ rescue PharmaObservatory::ApiError => e
1734
+ puts "Error when calling LegalEntitiesApi->legal_entities_recalls_with_http_info: #{e}"
1735
+ end
1736
+ ```
1737
+
1738
+ ### Parameters
1739
+
1740
+ | Name | Type | Description | Notes |
1741
+ | ---- | ---- | ----------- | ----- |
1742
+ | **id** | **String** | | |
1743
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1744
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1745
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1746
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1747
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1748
+
1749
+ ### Return type
1750
+
1751
+ [**RecallsResponse**](RecallsResponse.md)
1752
+
1753
+ ### Authorization
1754
+
1755
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1756
+
1757
+ ### HTTP request headers
1758
+
1759
+ - **Content-Type**: Not defined
1760
+ - **Accept**: application/json
1761
+
1762
+
1763
+ ## legal_entities_sponsor_recruitment_by_phase
1764
+
1765
+ > <SponsorRecruitmentByPhaseResponse> legal_entities_sponsor_recruitment_by_phase(id, opts)
1766
+
1767
+ Trial recruitment duration by sponsor and phase
1768
+
1769
+ ### Examples
1770
+
1771
+ ```ruby
1772
+ require 'time'
1773
+ require 'pharmaobservatory'
1774
+ # setup authorization
1775
+ PharmaObservatory.configure do |config|
1776
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1777
+ config.access_token = 'YOUR_BEARER_TOKEN'
1778
+ end
1779
+
1780
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1781
+ id = 'edgar:0001114448' # String |
1782
+ opts = {
1783
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1784
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1785
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1786
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1787
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1788
+ }
1789
+
1790
+ begin
1791
+ # Trial recruitment duration by sponsor and phase
1792
+ result = api_instance.legal_entities_sponsor_recruitment_by_phase(id, opts)
1793
+ p result
1794
+ rescue PharmaObservatory::ApiError => e
1795
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase: #{e}"
1796
+ end
1797
+ ```
1798
+
1799
+ #### Using the legal_entities_sponsor_recruitment_by_phase_with_http_info variant
1800
+
1801
+ This returns an Array which contains the response data, status code and headers.
1802
+
1803
+ > <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
1804
+
1805
+ ```ruby
1806
+ begin
1807
+ # Trial recruitment duration by sponsor and phase
1808
+ data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
1809
+ p status_code # => 2xx
1810
+ p headers # => { ... }
1811
+ p data # => <SponsorRecruitmentByPhaseResponse>
1812
+ rescue PharmaObservatory::ApiError => e
1813
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase_with_http_info: #{e}"
1814
+ end
1815
+ ```
1816
+
1817
+ ### Parameters
1818
+
1819
+ | Name | Type | Description | Notes |
1820
+ | ---- | ---- | ----------- | ----- |
1821
+ | **id** | **String** | | |
1822
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1823
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1824
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1825
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1826
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1827
+
1828
+ ### Return type
1829
+
1830
+ [**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
1831
+
1832
+ ### Authorization
1833
+
1834
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1835
+
1836
+ ### HTTP request headers
1837
+
1838
+ - **Content-Type**: Not defined
1839
+ - **Accept**: application/json
1840
+
1841
+
1842
+ ## legal_entities_sponsor_recruitment_duration
1843
+
1844
+ > <SponsorRecruitmentDurationResponse> legal_entities_sponsor_recruitment_duration(id, opts)
1845
+
1846
+ Trial recruitment duration by sponsor
1847
+
1848
+ ### Examples
1849
+
1850
+ ```ruby
1851
+ require 'time'
1852
+ require 'pharmaobservatory'
1853
+ # setup authorization
1854
+ PharmaObservatory.configure do |config|
1855
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1856
+ config.access_token = 'YOUR_BEARER_TOKEN'
1857
+ end
1858
+
1859
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1860
+ id = 'edgar:0001114448' # String |
1861
+ opts = {
1862
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1863
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1864
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1865
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1866
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1867
+ }
1868
+
1869
+ begin
1870
+ # Trial recruitment duration by sponsor
1871
+ result = api_instance.legal_entities_sponsor_recruitment_duration(id, opts)
1872
+ p result
1873
+ rescue PharmaObservatory::ApiError => e
1874
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration: #{e}"
1875
+ end
1876
+ ```
1877
+
1878
+ #### Using the legal_entities_sponsor_recruitment_duration_with_http_info variant
1879
+
1880
+ This returns an Array which contains the response data, status code and headers.
1881
+
1882
+ > <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
1883
+
1884
+ ```ruby
1885
+ begin
1886
+ # Trial recruitment duration by sponsor
1887
+ data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
1888
+ p status_code # => 2xx
1889
+ p headers # => { ... }
1890
+ p data # => <SponsorRecruitmentDurationResponse>
1891
+ rescue PharmaObservatory::ApiError => e
1892
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration_with_http_info: #{e}"
1893
+ end
1894
+ ```
1895
+
1896
+ ### Parameters
1897
+
1898
+ | Name | Type | Description | Notes |
1899
+ | ---- | ---- | ----------- | ----- |
1900
+ | **id** | **String** | | |
1901
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1902
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1903
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1904
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1905
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1906
+
1907
+ ### Return type
1908
+
1909
+ [**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
1910
+
1911
+ ### Authorization
1912
+
1913
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1914
+
1915
+ ### HTTP request headers
1916
+
1917
+ - **Content-Type**: Not defined
1918
+ - **Accept**: application/json
1919
+
1920
+
1921
+ ## legal_entities_sponsor_trial_start_forecast
1922
+
1923
+ > <SponsorTrialStartForecastResponse> legal_entities_sponsor_trial_start_forecast(id, opts)
1924
+
1925
+ Trial-start forecast by sponsor
1926
+
1927
+ ### Examples
1928
+
1929
+ ```ruby
1930
+ require 'time'
1931
+ require 'pharmaobservatory'
1932
+ # setup authorization
1933
+ PharmaObservatory.configure do |config|
1934
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1935
+ config.access_token = 'YOUR_BEARER_TOKEN'
1936
+ end
1937
+
1938
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1939
+ id = 'edgar:0001114448' # String |
1940
+ opts = {
1941
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1942
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1943
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1944
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1945
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1946
+ }
1947
+
1948
+ begin
1949
+ # Trial-start forecast by sponsor
1950
+ result = api_instance.legal_entities_sponsor_trial_start_forecast(id, opts)
1951
+ p result
1952
+ rescue PharmaObservatory::ApiError => e
1953
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_start_forecast: #{e}"
1954
+ end
1955
+ ```
1956
+
1957
+ #### Using the legal_entities_sponsor_trial_start_forecast_with_http_info variant
1958
+
1959
+ This returns an Array which contains the response data, status code and headers.
1960
+
1961
+ > <Array(<SponsorTrialStartForecastResponse>, Integer, Hash)> legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
1962
+
1963
+ ```ruby
1964
+ begin
1965
+ # Trial-start forecast by sponsor
1966
+ data, status_code, headers = api_instance.legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
1967
+ p status_code # => 2xx
1968
+ p headers # => { ... }
1969
+ p data # => <SponsorTrialStartForecastResponse>
1007
1970
  rescue PharmaObservatory::ApiError => e
1008
1971
  puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_start_forecast_with_http_info: #{e}"
1009
1972
  end
@@ -1191,3 +2154,240 @@ end
1191
2154
  - **Content-Type**: Not defined
1192
2155
  - **Accept**: application/json
1193
2156
 
2157
+
2158
+ ## legal_entities_unmatched_product_revenue
2159
+
2160
+ > <UnmatchedProductRevenueResponse> legal_entities_unmatched_product_revenue(id, opts)
2161
+
2162
+ Unmatched product revenue
2163
+
2164
+ ### Examples
2165
+
2166
+ ```ruby
2167
+ require 'time'
2168
+ require 'pharmaobservatory'
2169
+ # setup authorization
2170
+ PharmaObservatory.configure do |config|
2171
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2172
+ config.access_token = 'YOUR_BEARER_TOKEN'
2173
+ end
2174
+
2175
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2176
+ id = 'edgar:0001114448' # String |
2177
+ opts = {
2178
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2179
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2180
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2181
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2182
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2183
+ }
2184
+
2185
+ begin
2186
+ # Unmatched product revenue
2187
+ result = api_instance.legal_entities_unmatched_product_revenue(id, opts)
2188
+ p result
2189
+ rescue PharmaObservatory::ApiError => e
2190
+ puts "Error when calling LegalEntitiesApi->legal_entities_unmatched_product_revenue: #{e}"
2191
+ end
2192
+ ```
2193
+
2194
+ #### Using the legal_entities_unmatched_product_revenue_with_http_info variant
2195
+
2196
+ This returns an Array which contains the response data, status code and headers.
2197
+
2198
+ > <Array(<UnmatchedProductRevenueResponse>, Integer, Hash)> legal_entities_unmatched_product_revenue_with_http_info(id, opts)
2199
+
2200
+ ```ruby
2201
+ begin
2202
+ # Unmatched product revenue
2203
+ data, status_code, headers = api_instance.legal_entities_unmatched_product_revenue_with_http_info(id, opts)
2204
+ p status_code # => 2xx
2205
+ p headers # => { ... }
2206
+ p data # => <UnmatchedProductRevenueResponse>
2207
+ rescue PharmaObservatory::ApiError => e
2208
+ puts "Error when calling LegalEntitiesApi->legal_entities_unmatched_product_revenue_with_http_info: #{e}"
2209
+ end
2210
+ ```
2211
+
2212
+ ### Parameters
2213
+
2214
+ | Name | Type | Description | Notes |
2215
+ | ---- | ---- | ----------- | ----- |
2216
+ | **id** | **String** | | |
2217
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2218
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2219
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2220
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2221
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2222
+
2223
+ ### Return type
2224
+
2225
+ [**UnmatchedProductRevenueResponse**](UnmatchedProductRevenueResponse.md)
2226
+
2227
+ ### Authorization
2228
+
2229
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2230
+
2231
+ ### HTTP request headers
2232
+
2233
+ - **Content-Type**: Not defined
2234
+ - **Accept**: application/json
2235
+
2236
+
2237
+ ## legal_entities_untitled_letters
2238
+
2239
+ > <UntitledLettersResponse> legal_entities_untitled_letters(id, opts)
2240
+
2241
+ FDA untitled letters
2242
+
2243
+ ### Examples
2244
+
2245
+ ```ruby
2246
+ require 'time'
2247
+ require 'pharmaobservatory'
2248
+ # setup authorization
2249
+ PharmaObservatory.configure do |config|
2250
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2251
+ config.access_token = 'YOUR_BEARER_TOKEN'
2252
+ end
2253
+
2254
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2255
+ id = 'edgar:0001114448' # String |
2256
+ opts = {
2257
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2258
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2259
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2260
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2261
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2262
+ }
2263
+
2264
+ begin
2265
+ # FDA untitled letters
2266
+ result = api_instance.legal_entities_untitled_letters(id, opts)
2267
+ p result
2268
+ rescue PharmaObservatory::ApiError => e
2269
+ puts "Error when calling LegalEntitiesApi->legal_entities_untitled_letters: #{e}"
2270
+ end
2271
+ ```
2272
+
2273
+ #### Using the legal_entities_untitled_letters_with_http_info variant
2274
+
2275
+ This returns an Array which contains the response data, status code and headers.
2276
+
2277
+ > <Array(<UntitledLettersResponse>, Integer, Hash)> legal_entities_untitled_letters_with_http_info(id, opts)
2278
+
2279
+ ```ruby
2280
+ begin
2281
+ # FDA untitled letters
2282
+ data, status_code, headers = api_instance.legal_entities_untitled_letters_with_http_info(id, opts)
2283
+ p status_code # => 2xx
2284
+ p headers # => { ... }
2285
+ p data # => <UntitledLettersResponse>
2286
+ rescue PharmaObservatory::ApiError => e
2287
+ puts "Error when calling LegalEntitiesApi->legal_entities_untitled_letters_with_http_info: #{e}"
2288
+ end
2289
+ ```
2290
+
2291
+ ### Parameters
2292
+
2293
+ | Name | Type | Description | Notes |
2294
+ | ---- | ---- | ----------- | ----- |
2295
+ | **id** | **String** | | |
2296
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2297
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2298
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2299
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2300
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2301
+
2302
+ ### Return type
2303
+
2304
+ [**UntitledLettersResponse**](UntitledLettersResponse.md)
2305
+
2306
+ ### Authorization
2307
+
2308
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2309
+
2310
+ ### HTTP request headers
2311
+
2312
+ - **Content-Type**: Not defined
2313
+ - **Accept**: application/json
2314
+
2315
+
2316
+ ## legal_entities_warning_letters
2317
+
2318
+ > <WarningLettersResponse> legal_entities_warning_letters(id, opts)
2319
+
2320
+ FDA warning letters
2321
+
2322
+ ### Examples
2323
+
2324
+ ```ruby
2325
+ require 'time'
2326
+ require 'pharmaobservatory'
2327
+ # setup authorization
2328
+ PharmaObservatory.configure do |config|
2329
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2330
+ config.access_token = 'YOUR_BEARER_TOKEN'
2331
+ end
2332
+
2333
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2334
+ id = 'edgar:0001114448' # String |
2335
+ opts = {
2336
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2337
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2338
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2339
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2340
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2341
+ }
2342
+
2343
+ begin
2344
+ # FDA warning letters
2345
+ result = api_instance.legal_entities_warning_letters(id, opts)
2346
+ p result
2347
+ rescue PharmaObservatory::ApiError => e
2348
+ puts "Error when calling LegalEntitiesApi->legal_entities_warning_letters: #{e}"
2349
+ end
2350
+ ```
2351
+
2352
+ #### Using the legal_entities_warning_letters_with_http_info variant
2353
+
2354
+ This returns an Array which contains the response data, status code and headers.
2355
+
2356
+ > <Array(<WarningLettersResponse>, Integer, Hash)> legal_entities_warning_letters_with_http_info(id, opts)
2357
+
2358
+ ```ruby
2359
+ begin
2360
+ # FDA warning letters
2361
+ data, status_code, headers = api_instance.legal_entities_warning_letters_with_http_info(id, opts)
2362
+ p status_code # => 2xx
2363
+ p headers # => { ... }
2364
+ p data # => <WarningLettersResponse>
2365
+ rescue PharmaObservatory::ApiError => e
2366
+ puts "Error when calling LegalEntitiesApi->legal_entities_warning_letters_with_http_info: #{e}"
2367
+ end
2368
+ ```
2369
+
2370
+ ### Parameters
2371
+
2372
+ | Name | Type | Description | Notes |
2373
+ | ---- | ---- | ----------- | ----- |
2374
+ | **id** | **String** | | |
2375
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2376
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2377
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2378
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2379
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2380
+
2381
+ ### Return type
2382
+
2383
+ [**WarningLettersResponse**](WarningLettersResponse.md)
2384
+
2385
+ ### Authorization
2386
+
2387
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2388
+
2389
+ ### HTTP request headers
2390
+
2391
+ - **Content-Type**: Not defined
2392
+ - **Accept**: application/json
2393
+