pharmaobservatory 0.1.6 → 0.1.8

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 (455) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +348 -4
  3. data/docs/BiomarkerAlleleFrequenciesResponse.md +58 -0
  4. data/docs/BiomarkerAlleleFrequenciesRow.md +62 -0
  5. data/docs/BiomarkerAssayProvidersResponse.md +58 -0
  6. data/docs/BiomarkerAssayProvidersRow.md +72 -0
  7. data/docs/BiomarkerEvidenceByYearResponse.md +58 -0
  8. data/docs/BiomarkerEvidenceByYearRow.md +32 -0
  9. data/docs/BiomarkerTraversalStatusResponse.md +58 -0
  10. data/docs/BiomarkerTraversalStatusRow.md +36 -0
  11. data/docs/BiomarkersApi.md +320 -0
  12. data/docs/BrandCompaniesResponse.md +58 -0
  13. data/docs/BrandCompaniesRow.md +50 -0
  14. data/docs/BrandRevenueResponse.md +58 -0
  15. data/docs/BrandRevenueRow.md +60 -0
  16. data/docs/CatalystsResponse.md +58 -0
  17. data/docs/CatalystsRow.md +90 -0
  18. data/docs/CliaCertificatesResponse.md +58 -0
  19. data/docs/CliaCertificatesRow.md +80 -0
  20. data/docs/CompaniesApi.md +2656 -196
  21. data/docs/CompaniesRecordAttributes.md +3 -1
  22. data/docs/CompanyAssetsRow.md +5 -1
  23. data/docs/CompanyBiomarkerCapabilityResponse.md +58 -0
  24. data/docs/CompanyBiomarkerCapabilityRow.md +68 -0
  25. data/docs/CompanyFundingEventsRow.md +2 -0
  26. data/docs/CompanyProgramsRow.md +5 -1
  27. data/docs/CompanyRareDiseaseDeclarationsResponse.md +58 -0
  28. data/docs/CompanyRareDiseaseDeclarationsRow.md +52 -0
  29. data/docs/CompanyTrialGeographyResponse.md +58 -0
  30. data/docs/CompanyTrialGeographyRow.md +52 -0
  31. data/docs/CompanyTrialSitesResponse.md +58 -0
  32. data/docs/CompanyTrialSitesRow.md +52 -0
  33. data/docs/ConditionsApi.md +320 -0
  34. data/docs/CroFootprintResponse.md +58 -0
  35. data/docs/CroFootprintRow.md +34 -0
  36. data/docs/CroTrialsResponse.md +58 -0
  37. data/docs/CroTrialsRow.md +46 -0
  38. data/docs/DebarmentsResponse.md +58 -0
  39. data/docs/DebarmentsRow.md +44 -0
  40. data/docs/DrugApprovalsResponse.md +58 -0
  41. data/docs/DrugApprovalsRow.md +28 -0
  42. data/docs/DrugAspCodesResponse.md +58 -0
  43. data/docs/DrugAspCodesRow.md +28 -0
  44. data/docs/DrugBrandsResponse.md +58 -0
  45. data/docs/DrugBrandsRow.md +60 -0
  46. data/docs/DrugCombinationsResponse.md +58 -0
  47. data/docs/DrugCombinationsRow.md +32 -0
  48. data/docs/DrugDeclaredPatentsResponse.md +58 -0
  49. data/docs/DrugDeclaredPatentsRow.md +58 -0
  50. data/docs/DrugLabelSafetyResponse.md +58 -0
  51. data/docs/DrugLabelSafetyRow.md +32 -0
  52. data/docs/DrugMedicareSpendResponse.md +58 -0
  53. data/docs/DrugMedicareSpendRow.md +28 -0
  54. data/docs/DrugPatentCliffRow.md +3 -1
  55. data/docs/DrugPatentMentionsResponse.md +58 -0
  56. data/docs/DrugPatentMentionsRow.md +28 -0
  57. data/docs/DrugPatentOwnersResponse.md +58 -0
  58. data/docs/DrugPatentOwnersRow.md +42 -0
  59. data/docs/DrugPricingResponse.md +58 -0
  60. data/docs/DrugPricingRow.md +32 -0
  61. data/docs/DrugRecallsResponse.md +58 -0
  62. data/docs/DrugRecallsRow.md +34 -0
  63. data/docs/DrugRegulatoryResponse.md +58 -0
  64. data/docs/DrugRegulatoryRow.md +38 -0
  65. data/docs/DrugSitesResponse.md +58 -0
  66. data/docs/DrugSitesRow.md +28 -0
  67. data/docs/DrugTargetsResponse.md +58 -0
  68. data/docs/DrugTargetsRow.md +36 -0
  69. data/docs/DrugTrialConditionsResponse.md +58 -0
  70. data/docs/DrugTrialConditionsRow.md +30 -0
  71. data/docs/DrugTrialsResponse.md +58 -0
  72. data/docs/DrugTrialsRow.md +58 -0
  73. data/docs/DrugVariantsResponse.md +58 -0
  74. data/docs/DrugVariantsRow.md +38 -0
  75. data/docs/DrugsApi.md +2153 -0
  76. data/docs/DrugsRecord.md +38 -0
  77. data/docs/DrugsRecordAttributes.md +20 -0
  78. data/docs/DrugsResponse.md +58 -0
  79. data/docs/DrugsRow.md +82 -0
  80. data/docs/EnforcementEventsResponse.md +58 -0
  81. data/docs/EnforcementEventsRow.md +64 -0
  82. data/docs/GxpFacilitiesResponse.md +58 -0
  83. data/docs/GxpFacilitiesRow.md +174 -0
  84. data/docs/HospitalBedsYearlyResponse.md +58 -0
  85. data/docs/HospitalBedsYearlyRow.md +28 -0
  86. data/docs/HospitalFacilityChangesResponse.md +58 -0
  87. data/docs/HospitalFacilityChangesRow.md +30 -0
  88. data/docs/HospitalsApi.md +393 -0
  89. data/docs/HospitalsRecord.md +38 -0
  90. data/docs/HospitalsResponse.md +58 -0
  91. data/docs/HospitalsRow.md +40 -0
  92. data/docs/ImportRefusalsResponse.md +58 -0
  93. data/docs/ImportRefusalsRow.md +60 -0
  94. data/docs/InspectionFindingsResponse.md +58 -0
  95. data/docs/InspectionFindingsRow.md +48 -0
  96. data/docs/InspectionsResponse.md +58 -0
  97. data/docs/InspectionsRow.md +60 -0
  98. data/docs/InstitutionalQuarterTotalsResponse.md +58 -0
  99. data/docs/InstitutionalQuarterTotalsRow.md +58 -0
  100. data/docs/LegalEntitiesApi.md +2257 -177
  101. data/docs/LegalEntitiesRecordAttributes.md +8 -0
  102. data/docs/LegalEntitySecFilingsResponse.md +58 -0
  103. data/docs/LegalEntitySecFilingsRow.md +44 -0
  104. data/docs/OrgDisclosureTrendResponse.md +58 -0
  105. data/docs/OrgDisclosureTrendRow.md +62 -0
  106. data/docs/OrgRelationshipsRow.md +1 -1
  107. data/docs/OwnershipPercentagesResponse.md +58 -0
  108. data/docs/OwnershipPercentagesRow.md +74 -0
  109. data/docs/OwnershipSourceCoverageResponse.md +58 -0
  110. data/docs/OwnershipSourceCoverageRow.md +62 -0
  111. data/docs/PdufaDatesRow.md +1 -1
  112. data/docs/ProgramLicensingCandidatesResponse.md +58 -0
  113. data/docs/ProgramLicensingCandidatesRow.md +62 -0
  114. data/docs/ProgramsResponse.md +58 -0
  115. data/docs/ProgramsRow.md +46 -0
  116. data/docs/RareDiseaseGenesResponse.md +58 -0
  117. data/docs/RareDiseaseGenesRow.md +50 -0
  118. data/docs/RareDiseaseHierarchyResponse.md +58 -0
  119. data/docs/RareDiseaseHierarchyRow.md +40 -0
  120. data/docs/RareDiseaseInvestigatorCoverageResponse.md +58 -0
  121. data/docs/RareDiseaseInvestigatorCoverageRow.md +38 -0
  122. data/docs/RareDiseaseInvestigatorsResponse.md +58 -0
  123. data/docs/RareDiseaseInvestigatorsRow.md +56 -0
  124. data/docs/RareDiseaseMappingsResponse.md +58 -0
  125. data/docs/RareDiseaseMappingsRow.md +44 -0
  126. data/docs/RareDiseaseOrganizationsResponse.md +58 -0
  127. data/docs/RareDiseaseOrganizationsRow.md +60 -0
  128. data/docs/RareDiseasePrevalenceResponse.md +58 -0
  129. data/docs/RareDiseasePrevalenceRow.md +62 -0
  130. data/docs/RareDiseaseRarityEvidenceResponse.md +58 -0
  131. data/docs/RareDiseaseRarityEvidenceRow.md +36 -0
  132. data/docs/RareDiseaseRarityResponse.md +58 -0
  133. data/docs/RareDiseaseRarityRow.md +54 -0
  134. data/docs/RareDiseaseReplacementsResponse.md +58 -0
  135. data/docs/RareDiseaseReplacementsRow.md +40 -0
  136. data/docs/RareDiseaseSiteCoverageResponse.md +58 -0
  137. data/docs/RareDiseaseSiteCoverageRow.md +54 -0
  138. data/docs/RareDiseaseSponsorsResponse.md +58 -0
  139. data/docs/RareDiseaseSponsorsRow.md +82 -0
  140. data/docs/RareDiseaseTrialCoverageResponse.md +58 -0
  141. data/docs/RareDiseaseTrialCoverageRow.md +58 -0
  142. data/docs/RareDiseaseTrialSitesResponse.md +58 -0
  143. data/docs/RareDiseaseTrialSitesRow.md +52 -0
  144. data/docs/RareDiseaseTrialsResponse.md +58 -0
  145. data/docs/RareDiseaseTrialsRow.md +90 -0
  146. data/docs/RareDiseasesApi.md +1353 -0
  147. data/docs/RareDiseasesRecord.md +38 -0
  148. data/docs/RareDiseasesRecordAttributes.md +22 -0
  149. data/docs/RareDiseasesResponse.md +58 -0
  150. data/docs/RareDiseasesRow.md +68 -0
  151. data/docs/RecallsResponse.md +58 -0
  152. data/docs/RecallsRow.md +54 -0
  153. data/docs/RwdConductorDeliveryResponse.md +58 -0
  154. data/docs/RwdConductorDeliveryRow.md +74 -0
  155. data/docs/RwdConductorFootprintResponse.md +58 -0
  156. data/docs/RwdConductorFootprintRow.md +40 -0
  157. data/docs/RwdConductorStudiesResponse.md +58 -0
  158. data/docs/RwdConductorStudiesRow.md +42 -0
  159. data/docs/RwdConductorsApi.md +393 -0
  160. data/docs/RwdConductorsRecord.md +38 -0
  161. data/docs/RwdConductorsResponse.md +58 -0
  162. data/docs/RwdConductorsRow.md +72 -0
  163. data/docs/RwdCoverageResponse.md +58 -0
  164. data/docs/RwdCoverageRow.md +52 -0
  165. data/docs/RwdInstitutionsApi.md +153 -0
  166. data/docs/RwdInstitutionsRecord.md +38 -0
  167. data/docs/RwdInstitutionsResponse.md +58 -0
  168. data/docs/RwdInstitutionsRow.md +154 -0
  169. data/docs/RwdNetworksApi.md +153 -0
  170. data/docs/RwdNetworksRecord.md +38 -0
  171. data/docs/RwdNetworksResponse.md +58 -0
  172. data/docs/RwdNetworksRow.md +110 -0
  173. data/docs/RwdRegisterProvenanceResponse.md +58 -0
  174. data/docs/RwdRegisterProvenanceRow.md +74 -0
  175. data/docs/RwdRegistersApi.md +313 -0
  176. data/docs/RwdRegistersRecord.md +38 -0
  177. data/docs/RwdSourceAgeBandsResponse.md +58 -0
  178. data/docs/RwdSourceAgeBandsRow.md +40 -0
  179. data/docs/RwdSourceConditionsResponse.md +58 -0
  180. data/docs/RwdSourceConditionsRow.md +68 -0
  181. data/docs/RwdSourceEtlMappingsResponse.md +58 -0
  182. data/docs/RwdSourceEtlMappingsRow.md +44 -0
  183. data/docs/RwdSourceLinkagesResponse.md +58 -0
  184. data/docs/RwdSourceLinkagesRow.md +64 -0
  185. data/docs/RwdSourceTypesResponse.md +58 -0
  186. data/docs/RwdSourceTypesRow.md +34 -0
  187. data/docs/RwdSourceVocabulariesResponse.md +58 -0
  188. data/docs/RwdSourceVocabulariesRow.md +42 -0
  189. data/docs/RwdSourcesApi.md +713 -0
  190. data/docs/RwdSourcesRecord.md +38 -0
  191. data/docs/RwdSourcesResponse.md +58 -0
  192. data/docs/RwdSourcesRow.md +280 -0
  193. data/docs/RwdStudiesApi.md +553 -0
  194. data/docs/RwdStudiesRecord.md +38 -0
  195. data/docs/RwdStudiesResponse.md +58 -0
  196. data/docs/RwdStudiesRow.md +180 -0
  197. data/docs/RwdStudyConditionsResponse.md +58 -0
  198. data/docs/RwdStudyConditionsRow.md +54 -0
  199. data/docs/RwdStudyDataSourcesResponse.md +58 -0
  200. data/docs/RwdStudyDataSourcesRow.md +54 -0
  201. data/docs/RwdStudyDrugsResponse.md +58 -0
  202. data/docs/RwdStudyDrugsRow.md +50 -0
  203. data/docs/RwdStudyMilestonesResponse.md +58 -0
  204. data/docs/RwdStudyMilestonesRow.md +54 -0
  205. data/docs/RwdWithheldFieldsResponse.md +58 -0
  206. data/docs/RwdWithheldFieldsRow.md +36 -0
  207. data/docs/SbtiCrosscheckResponse.md +58 -0
  208. data/docs/SbtiCrosscheckRow.md +48 -0
  209. data/docs/SecPdufaDatesResponse.md +58 -0
  210. data/docs/SecPdufaDatesRow.md +64 -0
  211. data/docs/SponsorDeliveryResponse.md +58 -0
  212. data/docs/SponsorDeliveryRow.md +52 -0
  213. data/docs/SponsorPatentMentionsResponse.md +58 -0
  214. data/docs/SponsorPatentMentionsRow.md +42 -0
  215. data/docs/SponsorTrialConditionsResponse.md +58 -0
  216. data/docs/SponsorTrialConditionsRow.md +36 -0
  217. data/docs/SponsorTrialDrugsResponse.md +58 -0
  218. data/docs/SponsorTrialDrugsRow.md +34 -0
  219. data/docs/TrialChangesRow.md +5 -1
  220. data/docs/TrialsApi.md +80 -0
  221. data/docs/TrialsRow.md +9 -1
  222. data/docs/UnmatchedProductRevenueResponse.md +58 -0
  223. data/docs/UnmatchedProductRevenueRow.md +80 -0
  224. data/docs/UntitledLettersResponse.md +58 -0
  225. data/docs/UntitledLettersRow.md +44 -0
  226. data/docs/WarningLettersResponse.md +58 -0
  227. data/docs/WarningLettersRow.md +50 -0
  228. data/lib/pharmaobservatory/api/biomarkers_api.rb +336 -0
  229. data/lib/pharmaobservatory/api/companies_api.rb +3026 -296
  230. data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
  231. data/lib/pharmaobservatory/api/drugs_api.rb +2261 -0
  232. data/lib/pharmaobservatory/api/hospitals_api.rb +413 -0
  233. data/lib/pharmaobservatory/api/legal_entities_api.rb +2376 -192
  234. data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
  235. data/lib/pharmaobservatory/api/rwd_conductors_api.rb +413 -0
  236. data/lib/pharmaobservatory/api/rwd_institutions_api.rb +161 -0
  237. data/lib/pharmaobservatory/api/rwd_networks_api.rb +161 -0
  238. data/lib/pharmaobservatory/api/rwd_registers_api.rb +329 -0
  239. data/lib/pharmaobservatory/api/rwd_sources_api.rb +749 -0
  240. data/lib/pharmaobservatory/api/rwd_studies_api.rb +581 -0
  241. data/lib/pharmaobservatory/api/trials_api.rb +84 -0
  242. data/lib/pharmaobservatory/models/biomarker_allele_frequencies_response.rb +478 -0
  243. data/lib/pharmaobservatory/models/biomarker_allele_frequencies_row.rb +465 -0
  244. data/lib/pharmaobservatory/models/biomarker_assay_providers_response.rb +478 -0
  245. data/lib/pharmaobservatory/models/biomarker_assay_providers_row.rb +520 -0
  246. data/lib/pharmaobservatory/models/biomarker_evidence_by_year_response.rb +478 -0
  247. data/lib/pharmaobservatory/models/biomarker_evidence_by_year_row.rb +300 -0
  248. data/lib/pharmaobservatory/models/biomarker_traversal_status_response.rb +478 -0
  249. data/lib/pharmaobservatory/models/biomarker_traversal_status_row.rb +322 -0
  250. data/lib/pharmaobservatory/models/brand_companies_response.rb +478 -0
  251. data/lib/pharmaobservatory/models/brand_companies_row.rb +401 -0
  252. data/lib/pharmaobservatory/models/brand_revenue_response.rb +478 -0
  253. data/lib/pharmaobservatory/models/brand_revenue_row.rb +454 -0
  254. data/lib/pharmaobservatory/models/catalysts_response.rb +478 -0
  255. data/lib/pharmaobservatory/models/catalysts_row.rb +623 -0
  256. data/lib/pharmaobservatory/models/clia_certificates_response.rb +478 -0
  257. data/lib/pharmaobservatory/models/clia_certificates_row.rb +568 -0
  258. data/lib/pharmaobservatory/models/companies_record_attributes.rb +13 -4
  259. data/lib/pharmaobservatory/models/company_assets_row.rb +24 -2
  260. data/lib/pharmaobservatory/models/company_biomarker_capability_response.rb +478 -0
  261. data/lib/pharmaobservatory/models/company_biomarker_capability_row.rb +498 -0
  262. data/lib/pharmaobservatory/models/company_funding_events_row.rb +12 -1
  263. data/lib/pharmaobservatory/models/company_programs_row.rb +24 -2
  264. data/lib/pharmaobservatory/models/company_rare_disease_declarations_response.rb +478 -0
  265. data/lib/pharmaobservatory/models/company_rare_disease_declarations_row.rb +410 -0
  266. data/lib/pharmaobservatory/models/company_trial_geography_response.rb +478 -0
  267. data/lib/pharmaobservatory/models/company_trial_geography_row.rb +410 -0
  268. data/lib/pharmaobservatory/models/company_trial_sites_response.rb +478 -0
  269. data/lib/pharmaobservatory/models/company_trial_sites_row.rb +410 -0
  270. data/lib/pharmaobservatory/models/cro_footprint_response.rb +478 -0
  271. data/lib/pharmaobservatory/models/cro_footprint_row.rb +311 -0
  272. data/lib/pharmaobservatory/models/cro_trials_response.rb +478 -0
  273. data/lib/pharmaobservatory/models/cro_trials_row.rb +381 -0
  274. data/lib/pharmaobservatory/models/debarments_response.rb +478 -0
  275. data/lib/pharmaobservatory/models/debarments_row.rb +366 -0
  276. data/lib/pharmaobservatory/models/drug_approvals_response.rb +478 -0
  277. data/lib/pharmaobservatory/models/drug_approvals_row.rb +278 -0
  278. data/lib/pharmaobservatory/models/drug_asp_codes_response.rb +478 -0
  279. data/lib/pharmaobservatory/models/drug_asp_codes_row.rb +278 -0
  280. data/lib/pharmaobservatory/models/drug_brands_response.rb +478 -0
  281. data/lib/pharmaobservatory/models/drug_brands_row.rb +454 -0
  282. data/lib/pharmaobservatory/models/drug_combinations_response.rb +478 -0
  283. data/lib/pharmaobservatory/models/drug_combinations_row.rb +300 -0
  284. data/lib/pharmaobservatory/models/drug_declared_patents_response.rb +478 -0
  285. data/lib/pharmaobservatory/models/drug_declared_patents_row.rb +447 -0
  286. data/lib/pharmaobservatory/models/drug_label_safety_response.rb +478 -0
  287. data/lib/pharmaobservatory/models/drug_label_safety_row.rb +300 -0
  288. data/lib/pharmaobservatory/models/drug_medicare_spend_response.rb +478 -0
  289. data/lib/pharmaobservatory/models/drug_medicare_spend_row.rb +280 -0
  290. data/lib/pharmaobservatory/models/drug_patent_cliff_row.rb +13 -2
  291. data/lib/pharmaobservatory/models/drug_patent_mentions_response.rb +478 -0
  292. data/lib/pharmaobservatory/models/drug_patent_mentions_row.rb +278 -0
  293. data/lib/pharmaobservatory/models/drug_patent_owners_response.rb +478 -0
  294. data/lib/pharmaobservatory/models/drug_patent_owners_row.rb +357 -0
  295. data/lib/pharmaobservatory/models/drug_pricing_response.rb +478 -0
  296. data/lib/pharmaobservatory/models/drug_pricing_row.rb +300 -0
  297. data/lib/pharmaobservatory/models/drug_recalls_response.rb +478 -0
  298. data/lib/pharmaobservatory/models/drug_recalls_row.rb +311 -0
  299. data/lib/pharmaobservatory/models/drug_regulatory_response.rb +478 -0
  300. data/lib/pharmaobservatory/models/drug_regulatory_row.rb +333 -0
  301. data/lib/pharmaobservatory/models/drug_sites_response.rb +478 -0
  302. data/lib/pharmaobservatory/models/drug_sites_row.rb +278 -0
  303. data/lib/pharmaobservatory/models/drug_targets_response.rb +478 -0
  304. data/lib/pharmaobservatory/models/drug_targets_row.rb +324 -0
  305. data/lib/pharmaobservatory/models/drug_trial_conditions_response.rb +478 -0
  306. data/lib/pharmaobservatory/models/drug_trial_conditions_row.rb +289 -0
  307. data/lib/pharmaobservatory/models/drug_trials_response.rb +478 -0
  308. data/lib/pharmaobservatory/models/drug_trials_row.rb +445 -0
  309. data/lib/pharmaobservatory/models/drug_variants_response.rb +478 -0
  310. data/lib/pharmaobservatory/models/drug_variants_row.rb +333 -0
  311. data/lib/pharmaobservatory/models/drugs_record.rb +385 -0
  312. data/lib/pharmaobservatory/models/drugs_record_attributes.rb +229 -0
  313. data/lib/pharmaobservatory/models/drugs_response.rb +478 -0
  314. data/lib/pharmaobservatory/models/drugs_row.rb +581 -0
  315. data/lib/pharmaobservatory/models/enforcement_events_response.rb +478 -0
  316. data/lib/pharmaobservatory/models/enforcement_events_row.rb +476 -0
  317. data/lib/pharmaobservatory/models/gxp_facilities_response.rb +478 -0
  318. data/lib/pharmaobservatory/models/gxp_facilities_row.rb +1089 -0
  319. data/lib/pharmaobservatory/models/hospital_beds_yearly_response.rb +478 -0
  320. data/lib/pharmaobservatory/models/hospital_beds_yearly_row.rb +278 -0
  321. data/lib/pharmaobservatory/models/hospital_facility_changes_response.rb +478 -0
  322. data/lib/pharmaobservatory/models/hospital_facility_changes_row.rb +289 -0
  323. data/lib/pharmaobservatory/models/hospitals_record.rb +385 -0
  324. data/lib/pharmaobservatory/models/hospitals_response.rb +478 -0
  325. data/lib/pharmaobservatory/models/hospitals_row.rb +344 -0
  326. data/lib/pharmaobservatory/models/import_refusals_response.rb +478 -0
  327. data/lib/pharmaobservatory/models/import_refusals_row.rb +454 -0
  328. data/lib/pharmaobservatory/models/inspection_findings_response.rb +478 -0
  329. data/lib/pharmaobservatory/models/inspection_findings_row.rb +388 -0
  330. data/lib/pharmaobservatory/models/inspections_response.rb +478 -0
  331. data/lib/pharmaobservatory/models/inspections_row.rb +454 -0
  332. data/lib/pharmaobservatory/models/institutional_quarter_totals_response.rb +478 -0
  333. data/lib/pharmaobservatory/models/institutional_quarter_totals_row.rb +443 -0
  334. data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +37 -1
  335. data/lib/pharmaobservatory/models/legal_entity_sec_filings_response.rb +478 -0
  336. data/lib/pharmaobservatory/models/legal_entity_sec_filings_row.rb +370 -0
  337. data/lib/pharmaobservatory/models/org_disclosure_trend_response.rb +478 -0
  338. data/lib/pharmaobservatory/models/org_disclosure_trend_row.rb +465 -0
  339. data/lib/pharmaobservatory/models/org_relationships_row.rb +1 -1
  340. data/lib/pharmaobservatory/models/ownership_percentages_response.rb +478 -0
  341. data/lib/pharmaobservatory/models/ownership_percentages_row.rb +531 -0
  342. data/lib/pharmaobservatory/models/ownership_source_coverage_response.rb +478 -0
  343. data/lib/pharmaobservatory/models/ownership_source_coverage_row.rb +465 -0
  344. data/lib/pharmaobservatory/models/pdufa_dates_row.rb +1 -1
  345. data/lib/pharmaobservatory/models/program_licensing_candidates_response.rb +478 -0
  346. data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +467 -0
  347. data/lib/pharmaobservatory/models/programs_response.rb +478 -0
  348. data/lib/pharmaobservatory/models/programs_row.rb +377 -0
  349. data/lib/pharmaobservatory/models/rare_disease_genes_response.rb +478 -0
  350. data/lib/pharmaobservatory/models/rare_disease_genes_row.rb +399 -0
  351. data/lib/pharmaobservatory/models/rare_disease_hierarchy_response.rb +478 -0
  352. data/lib/pharmaobservatory/models/rare_disease_hierarchy_row.rb +344 -0
  353. data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_response.rb +478 -0
  354. data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_row.rb +333 -0
  355. data/lib/pharmaobservatory/models/rare_disease_investigators_response.rb +478 -0
  356. data/lib/pharmaobservatory/models/rare_disease_investigators_row.rb +436 -0
  357. data/lib/pharmaobservatory/models/rare_disease_mappings_response.rb +478 -0
  358. data/lib/pharmaobservatory/models/rare_disease_mappings_row.rb +366 -0
  359. data/lib/pharmaobservatory/models/rare_disease_organizations_response.rb +478 -0
  360. data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +454 -0
  361. data/lib/pharmaobservatory/models/rare_disease_prevalence_response.rb +478 -0
  362. data/lib/pharmaobservatory/models/rare_disease_prevalence_row.rb +465 -0
  363. data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_response.rb +478 -0
  364. data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_row.rb +322 -0
  365. data/lib/pharmaobservatory/models/rare_disease_rarity_response.rb +478 -0
  366. data/lib/pharmaobservatory/models/rare_disease_rarity_row.rb +421 -0
  367. data/lib/pharmaobservatory/models/rare_disease_replacements_response.rb +478 -0
  368. data/lib/pharmaobservatory/models/rare_disease_replacements_row.rb +344 -0
  369. data/lib/pharmaobservatory/models/rare_disease_site_coverage_response.rb +478 -0
  370. data/lib/pharmaobservatory/models/rare_disease_site_coverage_row.rb +421 -0
  371. data/lib/pharmaobservatory/models/rare_disease_sponsors_response.rb +478 -0
  372. data/lib/pharmaobservatory/models/rare_disease_sponsors_row.rb +575 -0
  373. data/lib/pharmaobservatory/models/rare_disease_trial_coverage_response.rb +478 -0
  374. data/lib/pharmaobservatory/models/rare_disease_trial_coverage_row.rb +449 -0
  375. data/lib/pharmaobservatory/models/rare_disease_trial_sites_response.rb +478 -0
  376. data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +412 -0
  377. data/lib/pharmaobservatory/models/rare_disease_trials_response.rb +478 -0
  378. data/lib/pharmaobservatory/models/rare_disease_trials_row.rb +623 -0
  379. data/lib/pharmaobservatory/models/rare_diseases_record.rb +385 -0
  380. data/lib/pharmaobservatory/models/rare_diseases_record_attributes.rb +238 -0
  381. data/lib/pharmaobservatory/models/rare_diseases_response.rb +478 -0
  382. data/lib/pharmaobservatory/models/rare_diseases_row.rb +500 -0
  383. data/lib/pharmaobservatory/models/recalls_response.rb +478 -0
  384. data/lib/pharmaobservatory/models/recalls_row.rb +421 -0
  385. data/lib/pharmaobservatory/models/rwd_conductor_delivery_response.rb +478 -0
  386. data/lib/pharmaobservatory/models/rwd_conductor_delivery_row.rb +537 -0
  387. data/lib/pharmaobservatory/models/rwd_conductor_footprint_response.rb +478 -0
  388. data/lib/pharmaobservatory/models/rwd_conductor_footprint_row.rb +346 -0
  389. data/lib/pharmaobservatory/models/rwd_conductor_studies_response.rb +478 -0
  390. data/lib/pharmaobservatory/models/rwd_conductor_studies_row.rb +355 -0
  391. data/lib/pharmaobservatory/models/rwd_conductors_record.rb +385 -0
  392. data/lib/pharmaobservatory/models/rwd_conductors_response.rb +478 -0
  393. data/lib/pharmaobservatory/models/rwd_conductors_row.rb +526 -0
  394. data/lib/pharmaobservatory/models/rwd_coverage_response.rb +478 -0
  395. data/lib/pharmaobservatory/models/rwd_coverage_row.rb +410 -0
  396. data/lib/pharmaobservatory/models/rwd_institutions_record.rb +385 -0
  397. data/lib/pharmaobservatory/models/rwd_institutions_response.rb +478 -0
  398. data/lib/pharmaobservatory/models/rwd_institutions_row.rb +981 -0
  399. data/lib/pharmaobservatory/models/rwd_networks_record.rb +385 -0
  400. data/lib/pharmaobservatory/models/rwd_networks_response.rb +478 -0
  401. data/lib/pharmaobservatory/models/rwd_networks_row.rb +733 -0
  402. data/lib/pharmaobservatory/models/rwd_register_provenance_response.rb +478 -0
  403. data/lib/pharmaobservatory/models/rwd_register_provenance_row.rb +531 -0
  404. data/lib/pharmaobservatory/models/rwd_registers_record.rb +385 -0
  405. data/lib/pharmaobservatory/models/rwd_source_age_bands_response.rb +478 -0
  406. data/lib/pharmaobservatory/models/rwd_source_age_bands_row.rb +344 -0
  407. data/lib/pharmaobservatory/models/rwd_source_conditions_response.rb +478 -0
  408. data/lib/pharmaobservatory/models/rwd_source_conditions_row.rb +502 -0
  409. data/lib/pharmaobservatory/models/rwd_source_etl_mappings_response.rb +478 -0
  410. data/lib/pharmaobservatory/models/rwd_source_etl_mappings_row.rb +366 -0
  411. data/lib/pharmaobservatory/models/rwd_source_linkages_response.rb +478 -0
  412. data/lib/pharmaobservatory/models/rwd_source_linkages_row.rb +476 -0
  413. data/lib/pharmaobservatory/models/rwd_source_types_response.rb +478 -0
  414. data/lib/pharmaobservatory/models/rwd_source_types_row.rb +311 -0
  415. data/lib/pharmaobservatory/models/rwd_source_vocabularies_response.rb +478 -0
  416. data/lib/pharmaobservatory/models/rwd_source_vocabularies_row.rb +355 -0
  417. data/lib/pharmaobservatory/models/rwd_sources_record.rb +385 -0
  418. data/lib/pharmaobservatory/models/rwd_sources_response.rb +478 -0
  419. data/lib/pharmaobservatory/models/rwd_sources_row.rb +1674 -0
  420. data/lib/pharmaobservatory/models/rwd_studies_record.rb +385 -0
  421. data/lib/pharmaobservatory/models/rwd_studies_response.rb +478 -0
  422. data/lib/pharmaobservatory/models/rwd_studies_row.rb +1138 -0
  423. data/lib/pharmaobservatory/models/rwd_study_conditions_response.rb +478 -0
  424. data/lib/pharmaobservatory/models/rwd_study_conditions_row.rb +421 -0
  425. data/lib/pharmaobservatory/models/rwd_study_data_sources_response.rb +478 -0
  426. data/lib/pharmaobservatory/models/rwd_study_data_sources_row.rb +423 -0
  427. data/lib/pharmaobservatory/models/rwd_study_drugs_response.rb +478 -0
  428. data/lib/pharmaobservatory/models/rwd_study_drugs_row.rb +401 -0
  429. data/lib/pharmaobservatory/models/rwd_study_milestones_response.rb +478 -0
  430. data/lib/pharmaobservatory/models/rwd_study_milestones_row.rb +421 -0
  431. data/lib/pharmaobservatory/models/rwd_withheld_fields_response.rb +478 -0
  432. data/lib/pharmaobservatory/models/rwd_withheld_fields_row.rb +322 -0
  433. data/lib/pharmaobservatory/models/sbti_crosscheck_response.rb +478 -0
  434. data/lib/pharmaobservatory/models/sbti_crosscheck_row.rb +388 -0
  435. data/lib/pharmaobservatory/models/sec_pdufa_dates_response.rb +478 -0
  436. data/lib/pharmaobservatory/models/sec_pdufa_dates_row.rb +476 -0
  437. data/lib/pharmaobservatory/models/sponsor_delivery_response.rb +478 -0
  438. data/lib/pharmaobservatory/models/sponsor_delivery_row.rb +410 -0
  439. data/lib/pharmaobservatory/models/sponsor_patent_mentions_response.rb +478 -0
  440. data/lib/pharmaobservatory/models/sponsor_patent_mentions_row.rb +355 -0
  441. data/lib/pharmaobservatory/models/sponsor_trial_conditions_response.rb +478 -0
  442. data/lib/pharmaobservatory/models/sponsor_trial_conditions_row.rb +322 -0
  443. data/lib/pharmaobservatory/models/sponsor_trial_drugs_response.rb +478 -0
  444. data/lib/pharmaobservatory/models/sponsor_trial_drugs_row.rb +311 -0
  445. data/lib/pharmaobservatory/models/trial_changes_row.rb +24 -2
  446. data/lib/pharmaobservatory/models/trials_row.rb +47 -3
  447. data/lib/pharmaobservatory/models/unmatched_product_revenue_response.rb +478 -0
  448. data/lib/pharmaobservatory/models/unmatched_product_revenue_row.rb +564 -0
  449. data/lib/pharmaobservatory/models/untitled_letters_response.rb +478 -0
  450. data/lib/pharmaobservatory/models/untitled_letters_row.rb +366 -0
  451. data/lib/pharmaobservatory/models/warning_letters_response.rb +478 -0
  452. data/lib/pharmaobservatory/models/warning_letters_row.rb +399 -0
  453. data/lib/pharmaobservatory/version.rb +1 -1
  454. data/lib/pharmaobservatory.rb +210 -0
  455. metadata +422 -2
@@ -4,21 +4,205 @@ 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) |
10
+ | [**legal_entities_company_biomarker_capability**](LegalEntitiesApi.md#legal_entities_company_biomarker_capability) | **GET** /api/v1/legal_entities/{id}/company_biomarker_capability | Company biomarker capability |
8
11
  | [**legal_entities_company_programs**](LegalEntitiesApi.md#legal_entities_company_programs) | **GET** /api/v1/legal_entities/{id}/company_programs | Company programs |
12
+ | [**legal_entities_company_rare_disease_declarations**](LegalEntitiesApi.md#legal_entities_company_rare_disease_declarations) | **GET** /api/v1/legal_entities/{id}/company_rare_disease_declarations | Organization-wide rare disease declarations |
13
+ | [**legal_entities_debarments**](LegalEntitiesApi.md#legal_entities_debarments) | **GET** /api/v1/legal_entities/{id}/debarments | FDA firm debarments |
9
14
  | [**legal_entities_drug_patent_cliff**](LegalEntitiesApi.md#legal_entities_drug_patent_cliff) | **GET** /api/v1/legal_entities/{id}/drug_patent_cliff | Patent-cliff exposure |
15
+ | [**legal_entities_enforcement_events**](LegalEntitiesApi.md#legal_entities_enforcement_events) | **GET** /api/v1/legal_entities/{id}/enforcement_events | FDA enforcement events |
10
16
  | [**legal_entities_get**](LegalEntitiesApi.md#legal_entities_get) | **GET** /api/v1/legal_entities/{id} | One legal entity |
17
+ | [**legal_entities_gxp_facilities**](LegalEntitiesApi.md#legal_entities_gxp_facilities) | **GET** /api/v1/legal_entities/{id}/gxp_facilities | GxP facilities and quality signals |
18
+ | [**legal_entities_import_refusals**](LegalEntitiesApi.md#legal_entities_import_refusals) | **GET** /api/v1/legal_entities/{id}/import_refusals | FDA import refusals |
19
+ | [**legal_entities_inspection_findings**](LegalEntitiesApi.md#legal_entities_inspection_findings) | **GET** /api/v1/legal_entities/{id}/inspection_findings | FDA inspection findings |
20
+ | [**legal_entities_inspections**](LegalEntitiesApi.md#legal_entities_inspections) | **GET** /api/v1/legal_entities/{id}/inspections | FDA inspections |
11
21
  | [**legal_entities_institutional_holdings**](LegalEntitiesApi.md#legal_entities_institutional_holdings) | **GET** /api/v1/legal_entities/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
22
+ | [**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) |
23
+ | [**legal_entities_legal_entity_sec_filings**](LegalEntitiesApi.md#legal_entities_legal_entity_sec_filings) | **GET** /api/v1/legal_entities/{id}/legal_entity_sec_filings | SEC filer records |
12
24
  | [**legal_entities_list**](LegalEntitiesApi.md#legal_entities_list) | **GET** /api/v1/legal_entities | List legal entities |
25
+ | [**legal_entities_org_disclosure_trend**](LegalEntitiesApi.md#legal_entities_org_disclosure_trend) | **GET** /api/v1/legal_entities/{id}/org_disclosure_trend | Organization disclosure trend |
13
26
  | [**legal_entities_org_disclosures**](LegalEntitiesApi.md#legal_entities_org_disclosures) | **GET** /api/v1/legal_entities/{id}/org_disclosures | Organization disclosures (climate and diversity) |
14
27
  | [**legal_entities_org_relationships**](LegalEntitiesApi.md#legal_entities_org_relationships) | **GET** /api/v1/legal_entities/{id}/org_relationships | Organization relationships |
28
+ | [**legal_entities_ownership_percentages**](LegalEntitiesApi.md#legal_entities_ownership_percentages) | **GET** /api/v1/legal_entities/{id}/ownership_percentages | Ownership percentages |
15
29
  | [**legal_entities_ownership_positions**](LegalEntitiesApi.md#legal_entities_ownership_positions) | **GET** /api/v1/legal_entities/{id}/ownership_positions | Ownership and control positions |
30
+ | [**legal_entities_ownership_source_coverage**](LegalEntitiesApi.md#legal_entities_ownership_source_coverage) | **GET** /api/v1/legal_entities/{id}/ownership_source_coverage | Ownership source coverage |
16
31
  | [**legal_entities_pdufa_dates**](LegalEntitiesApi.md#legal_entities_pdufa_dates) | **GET** /api/v1/legal_entities/{id}/pdufa_dates | FDA decision dates (PDUFA) and catalysts |
32
+ | [**legal_entities_program_licensing_candidates**](LegalEntitiesApi.md#legal_entities_program_licensing_candidates) | **GET** /api/v1/legal_entities/{id}/program_licensing_candidates | Program licensing candidates |
33
+ | [**legal_entities_recalls**](LegalEntitiesApi.md#legal_entities_recalls) | **GET** /api/v1/legal_entities/{id}/recalls | FDA recalls |
34
+ | [**legal_entities_sbti_crosscheck**](LegalEntitiesApi.md#legal_entities_sbti_crosscheck) | **GET** /api/v1/legal_entities/{id}/sbti_crosscheck | SBTi cross-check |
35
+ | [**legal_entities_sec_pdufa_dates**](LegalEntitiesApi.md#legal_entities_sec_pdufa_dates) | **GET** /api/v1/legal_entities/{id}/sec_pdufa_dates | FDA dates disclosed in SEC filings |
36
+ | [**legal_entities_sponsor_delivery**](LegalEntitiesApi.md#legal_entities_sponsor_delivery) | **GET** /api/v1/legal_entities/{id}/sponsor_delivery | Sponsor delivery reliability |
37
+ | [**legal_entities_sponsor_patent_mentions**](LegalEntitiesApi.md#legal_entities_sponsor_patent_mentions) | **GET** /api/v1/legal_entities/{id}/sponsor_patent_mentions | Sponsor patent mentions |
17
38
  | [**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
39
  | [**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 |
40
+ | [**legal_entities_sponsor_trial_conditions**](LegalEntitiesApi.md#legal_entities_sponsor_trial_conditions) | **GET** /api/v1/legal_entities/{id}/sponsor_trial_conditions | Sponsor trial conditions |
41
+ | [**legal_entities_sponsor_trial_drugs**](LegalEntitiesApi.md#legal_entities_sponsor_trial_drugs) | **GET** /api/v1/legal_entities/{id}/sponsor_trial_drugs | Sponsor trial drugs |
19
42
  | [**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
43
  | [**legal_entities_sponsor_trials**](LegalEntitiesApi.md#legal_entities_sponsor_trials) | **GET** /api/v1/legal_entities/{id}/sponsor_trials | Sponsor trials |
21
44
  | [**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 |
45
+ | [**legal_entities_unmatched_product_revenue**](LegalEntitiesApi.md#legal_entities_unmatched_product_revenue) | **GET** /api/v1/legal_entities/{id}/unmatched_product_revenue | Unmatched product revenue |
46
+ | [**legal_entities_untitled_letters**](LegalEntitiesApi.md#legal_entities_untitled_letters) | **GET** /api/v1/legal_entities/{id}/untitled_letters | FDA untitled letters |
47
+ | [**legal_entities_warning_letters**](LegalEntitiesApi.md#legal_entities_warning_letters) | **GET** /api/v1/legal_entities/{id}/warning_letters | FDA warning letters |
48
+
49
+
50
+ ## legal_entities_catalysts
51
+
52
+ > <CatalystsResponse> legal_entities_catalysts(id, opts)
53
+
54
+ Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
55
+
56
+ ### Examples
57
+
58
+ ```ruby
59
+ require 'time'
60
+ require 'pharmaobservatory'
61
+ # setup authorization
62
+ PharmaObservatory.configure do |config|
63
+ # Configure Bearer authorization (JWT): ApiBearerJwt
64
+ config.access_token = 'YOUR_BEARER_TOKEN'
65
+ end
66
+
67
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
68
+ id = 'edgar:0001114448' # String |
69
+ opts = {
70
+ 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.
71
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
72
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
73
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
74
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
75
+ }
76
+
77
+ begin
78
+ # Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
79
+ result = api_instance.legal_entities_catalysts(id, opts)
80
+ p result
81
+ rescue PharmaObservatory::ApiError => e
82
+ puts "Error when calling LegalEntitiesApi->legal_entities_catalysts: #{e}"
83
+ end
84
+ ```
85
+
86
+ #### Using the legal_entities_catalysts_with_http_info variant
87
+
88
+ This returns an Array which contains the response data, status code and headers.
89
+
90
+ > <Array(<CatalystsResponse>, Integer, Hash)> legal_entities_catalysts_with_http_info(id, opts)
91
+
92
+ ```ruby
93
+ begin
94
+ # Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
95
+ data, status_code, headers = api_instance.legal_entities_catalysts_with_http_info(id, opts)
96
+ p status_code # => 2xx
97
+ p headers # => { ... }
98
+ p data # => <CatalystsResponse>
99
+ rescue PharmaObservatory::ApiError => e
100
+ puts "Error when calling LegalEntitiesApi->legal_entities_catalysts_with_http_info: #{e}"
101
+ end
102
+ ```
103
+
104
+ ### Parameters
105
+
106
+ | Name | Type | Description | Notes |
107
+ | ---- | ---- | ----------- | ----- |
108
+ | **id** | **String** | | |
109
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
110
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
111
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
112
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
113
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
114
+
115
+ ### Return type
116
+
117
+ [**CatalystsResponse**](CatalystsResponse.md)
118
+
119
+ ### Authorization
120
+
121
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
122
+
123
+ ### HTTP request headers
124
+
125
+ - **Content-Type**: Not defined
126
+ - **Accept**: application/json
127
+
128
+
129
+ ## legal_entities_clia_certificates
130
+
131
+ > <CliaCertificatesResponse> legal_entities_clia_certificates(id, opts)
132
+
133
+ CLIA laboratory certificates
134
+
135
+ ### Examples
136
+
137
+ ```ruby
138
+ require 'time'
139
+ require 'pharmaobservatory'
140
+ # setup authorization
141
+ PharmaObservatory.configure do |config|
142
+ # Configure Bearer authorization (JWT): ApiBearerJwt
143
+ config.access_token = 'YOUR_BEARER_TOKEN'
144
+ end
145
+
146
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
147
+ id = 'edgar:0001114448' # String |
148
+ opts = {
149
+ 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.
150
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
151
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
152
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
153
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
154
+ }
155
+
156
+ begin
157
+ # CLIA laboratory certificates
158
+ result = api_instance.legal_entities_clia_certificates(id, opts)
159
+ p result
160
+ rescue PharmaObservatory::ApiError => e
161
+ puts "Error when calling LegalEntitiesApi->legal_entities_clia_certificates: #{e}"
162
+ end
163
+ ```
164
+
165
+ #### Using the legal_entities_clia_certificates_with_http_info variant
166
+
167
+ This returns an Array which contains the response data, status code and headers.
168
+
169
+ > <Array(<CliaCertificatesResponse>, Integer, Hash)> legal_entities_clia_certificates_with_http_info(id, opts)
170
+
171
+ ```ruby
172
+ begin
173
+ # CLIA laboratory certificates
174
+ data, status_code, headers = api_instance.legal_entities_clia_certificates_with_http_info(id, opts)
175
+ p status_code # => 2xx
176
+ p headers # => { ... }
177
+ p data # => <CliaCertificatesResponse>
178
+ rescue PharmaObservatory::ApiError => e
179
+ puts "Error when calling LegalEntitiesApi->legal_entities_clia_certificates_with_http_info: #{e}"
180
+ end
181
+ ```
182
+
183
+ ### Parameters
184
+
185
+ | Name | Type | Description | Notes |
186
+ | ---- | ---- | ----------- | ----- |
187
+ | **id** | **String** | | |
188
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
189
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
190
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
191
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
192
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
193
+
194
+ ### Return type
195
+
196
+ [**CliaCertificatesResponse**](CliaCertificatesResponse.md)
197
+
198
+ ### Authorization
199
+
200
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
201
+
202
+ ### HTTP request headers
203
+
204
+ - **Content-Type**: Not defined
205
+ - **Accept**: application/json
22
206
 
23
207
 
24
208
  ## legal_entities_company_assets
@@ -100,6 +284,85 @@ end
100
284
  - **Accept**: application/json
101
285
 
102
286
 
287
+ ## legal_entities_company_biomarker_capability
288
+
289
+ > <CompanyBiomarkerCapabilityResponse> legal_entities_company_biomarker_capability(id, opts)
290
+
291
+ Company biomarker capability
292
+
293
+ ### Examples
294
+
295
+ ```ruby
296
+ require 'time'
297
+ require 'pharmaobservatory'
298
+ # setup authorization
299
+ PharmaObservatory.configure do |config|
300
+ # Configure Bearer authorization (JWT): ApiBearerJwt
301
+ config.access_token = 'YOUR_BEARER_TOKEN'
302
+ end
303
+
304
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
305
+ id = 'edgar:0001114448' # String |
306
+ opts = {
307
+ 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.
308
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
309
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
310
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
311
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
312
+ }
313
+
314
+ begin
315
+ # Company biomarker capability
316
+ result = api_instance.legal_entities_company_biomarker_capability(id, opts)
317
+ p result
318
+ rescue PharmaObservatory::ApiError => e
319
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_biomarker_capability: #{e}"
320
+ end
321
+ ```
322
+
323
+ #### Using the legal_entities_company_biomarker_capability_with_http_info variant
324
+
325
+ This returns an Array which contains the response data, status code and headers.
326
+
327
+ > <Array(<CompanyBiomarkerCapabilityResponse>, Integer, Hash)> legal_entities_company_biomarker_capability_with_http_info(id, opts)
328
+
329
+ ```ruby
330
+ begin
331
+ # Company biomarker capability
332
+ data, status_code, headers = api_instance.legal_entities_company_biomarker_capability_with_http_info(id, opts)
333
+ p status_code # => 2xx
334
+ p headers # => { ... }
335
+ p data # => <CompanyBiomarkerCapabilityResponse>
336
+ rescue PharmaObservatory::ApiError => e
337
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_biomarker_capability_with_http_info: #{e}"
338
+ end
339
+ ```
340
+
341
+ ### Parameters
342
+
343
+ | Name | Type | Description | Notes |
344
+ | ---- | ---- | ----------- | ----- |
345
+ | **id** | **String** | | |
346
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
347
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
348
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
349
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
350
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
351
+
352
+ ### Return type
353
+
354
+ [**CompanyBiomarkerCapabilityResponse**](CompanyBiomarkerCapabilityResponse.md)
355
+
356
+ ### Authorization
357
+
358
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
359
+
360
+ ### HTTP request headers
361
+
362
+ - **Content-Type**: Not defined
363
+ - **Accept**: application/json
364
+
365
+
103
366
  ## legal_entities_company_programs
104
367
 
105
368
  > <CompanyProgramsResponse> legal_entities_company_programs(id, opts)
@@ -132,25 +395,1828 @@ begin
132
395
  result = api_instance.legal_entities_company_programs(id, opts)
133
396
  p result
134
397
  rescue PharmaObservatory::ApiError => e
135
- puts "Error when calling LegalEntitiesApi->legal_entities_company_programs: #{e}"
398
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_programs: #{e}"
399
+ end
400
+ ```
401
+
402
+ #### Using the legal_entities_company_programs_with_http_info variant
403
+
404
+ This returns an Array which contains the response data, status code and headers.
405
+
406
+ > <Array(<CompanyProgramsResponse>, Integer, Hash)> legal_entities_company_programs_with_http_info(id, opts)
407
+
408
+ ```ruby
409
+ begin
410
+ # Company programs
411
+ data, status_code, headers = api_instance.legal_entities_company_programs_with_http_info(id, opts)
412
+ p status_code # => 2xx
413
+ p headers # => { ... }
414
+ p data # => <CompanyProgramsResponse>
415
+ rescue PharmaObservatory::ApiError => e
416
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_programs_with_http_info: #{e}"
417
+ end
418
+ ```
419
+
420
+ ### Parameters
421
+
422
+ | Name | Type | Description | Notes |
423
+ | ---- | ---- | ----------- | ----- |
424
+ | **id** | **String** | | |
425
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
426
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
427
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
428
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
429
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
430
+
431
+ ### Return type
432
+
433
+ [**CompanyProgramsResponse**](CompanyProgramsResponse.md)
434
+
435
+ ### Authorization
436
+
437
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
438
+
439
+ ### HTTP request headers
440
+
441
+ - **Content-Type**: Not defined
442
+ - **Accept**: application/json
443
+
444
+
445
+ ## legal_entities_company_rare_disease_declarations
446
+
447
+ > <CompanyRareDiseaseDeclarationsResponse> legal_entities_company_rare_disease_declarations(id, opts)
448
+
449
+ Organization-wide rare disease declarations
450
+
451
+ ### Examples
452
+
453
+ ```ruby
454
+ require 'time'
455
+ require 'pharmaobservatory'
456
+ # setup authorization
457
+ PharmaObservatory.configure do |config|
458
+ # Configure Bearer authorization (JWT): ApiBearerJwt
459
+ config.access_token = 'YOUR_BEARER_TOKEN'
460
+ end
461
+
462
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
463
+ id = 'edgar:0001114448' # String |
464
+ opts = {
465
+ 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.
466
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
467
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
468
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
469
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
470
+ }
471
+
472
+ begin
473
+ # Organization-wide rare disease declarations
474
+ result = api_instance.legal_entities_company_rare_disease_declarations(id, opts)
475
+ p result
476
+ rescue PharmaObservatory::ApiError => e
477
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_rare_disease_declarations: #{e}"
478
+ end
479
+ ```
480
+
481
+ #### Using the legal_entities_company_rare_disease_declarations_with_http_info variant
482
+
483
+ This returns an Array which contains the response data, status code and headers.
484
+
485
+ > <Array(<CompanyRareDiseaseDeclarationsResponse>, Integer, Hash)> legal_entities_company_rare_disease_declarations_with_http_info(id, opts)
486
+
487
+ ```ruby
488
+ begin
489
+ # Organization-wide rare disease declarations
490
+ data, status_code, headers = api_instance.legal_entities_company_rare_disease_declarations_with_http_info(id, opts)
491
+ p status_code # => 2xx
492
+ p headers # => { ... }
493
+ p data # => <CompanyRareDiseaseDeclarationsResponse>
494
+ rescue PharmaObservatory::ApiError => e
495
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_rare_disease_declarations_with_http_info: #{e}"
496
+ end
497
+ ```
498
+
499
+ ### Parameters
500
+
501
+ | Name | Type | Description | Notes |
502
+ | ---- | ---- | ----------- | ----- |
503
+ | **id** | **String** | | |
504
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
505
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
506
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
507
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
508
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
509
+
510
+ ### Return type
511
+
512
+ [**CompanyRareDiseaseDeclarationsResponse**](CompanyRareDiseaseDeclarationsResponse.md)
513
+
514
+ ### Authorization
515
+
516
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
517
+
518
+ ### HTTP request headers
519
+
520
+ - **Content-Type**: Not defined
521
+ - **Accept**: application/json
522
+
523
+
524
+ ## legal_entities_debarments
525
+
526
+ > <DebarmentsResponse> legal_entities_debarments(id, opts)
527
+
528
+ FDA firm debarments
529
+
530
+ ### Examples
531
+
532
+ ```ruby
533
+ require 'time'
534
+ require 'pharmaobservatory'
535
+ # setup authorization
536
+ PharmaObservatory.configure do |config|
537
+ # Configure Bearer authorization (JWT): ApiBearerJwt
538
+ config.access_token = 'YOUR_BEARER_TOKEN'
539
+ end
540
+
541
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
542
+ id = 'edgar:0001114448' # String |
543
+ opts = {
544
+ 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.
545
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
546
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
547
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
548
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
549
+ }
550
+
551
+ begin
552
+ # FDA firm debarments
553
+ result = api_instance.legal_entities_debarments(id, opts)
554
+ p result
555
+ rescue PharmaObservatory::ApiError => e
556
+ puts "Error when calling LegalEntitiesApi->legal_entities_debarments: #{e}"
557
+ end
558
+ ```
559
+
560
+ #### Using the legal_entities_debarments_with_http_info variant
561
+
562
+ This returns an Array which contains the response data, status code and headers.
563
+
564
+ > <Array(<DebarmentsResponse>, Integer, Hash)> legal_entities_debarments_with_http_info(id, opts)
565
+
566
+ ```ruby
567
+ begin
568
+ # FDA firm debarments
569
+ data, status_code, headers = api_instance.legal_entities_debarments_with_http_info(id, opts)
570
+ p status_code # => 2xx
571
+ p headers # => { ... }
572
+ p data # => <DebarmentsResponse>
573
+ rescue PharmaObservatory::ApiError => e
574
+ puts "Error when calling LegalEntitiesApi->legal_entities_debarments_with_http_info: #{e}"
575
+ end
576
+ ```
577
+
578
+ ### Parameters
579
+
580
+ | Name | Type | Description | Notes |
581
+ | ---- | ---- | ----------- | ----- |
582
+ | **id** | **String** | | |
583
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
584
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
585
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
586
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
587
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
588
+
589
+ ### Return type
590
+
591
+ [**DebarmentsResponse**](DebarmentsResponse.md)
592
+
593
+ ### Authorization
594
+
595
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
596
+
597
+ ### HTTP request headers
598
+
599
+ - **Content-Type**: Not defined
600
+ - **Accept**: application/json
601
+
602
+
603
+ ## legal_entities_drug_patent_cliff
604
+
605
+ > <DrugPatentCliffResponse> legal_entities_drug_patent_cliff(id, opts)
606
+
607
+ Patent-cliff exposure
608
+
609
+ ### Examples
610
+
611
+ ```ruby
612
+ require 'time'
613
+ require 'pharmaobservatory'
614
+ # setup authorization
615
+ PharmaObservatory.configure do |config|
616
+ # Configure Bearer authorization (JWT): ApiBearerJwt
617
+ config.access_token = 'YOUR_BEARER_TOKEN'
618
+ end
619
+
620
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
621
+ id = 'edgar:0001114448' # String |
622
+ opts = {
623
+ 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.
624
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
625
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
626
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
627
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
628
+ }
629
+
630
+ begin
631
+ # Patent-cliff exposure
632
+ result = api_instance.legal_entities_drug_patent_cliff(id, opts)
633
+ p result
634
+ rescue PharmaObservatory::ApiError => e
635
+ puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff: #{e}"
636
+ end
637
+ ```
638
+
639
+ #### Using the legal_entities_drug_patent_cliff_with_http_info variant
640
+
641
+ This returns an Array which contains the response data, status code and headers.
642
+
643
+ > <Array(<DrugPatentCliffResponse>, Integer, Hash)> legal_entities_drug_patent_cliff_with_http_info(id, opts)
644
+
645
+ ```ruby
646
+ begin
647
+ # Patent-cliff exposure
648
+ data, status_code, headers = api_instance.legal_entities_drug_patent_cliff_with_http_info(id, opts)
649
+ p status_code # => 2xx
650
+ p headers # => { ... }
651
+ p data # => <DrugPatentCliffResponse>
652
+ rescue PharmaObservatory::ApiError => e
653
+ puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff_with_http_info: #{e}"
654
+ end
655
+ ```
656
+
657
+ ### Parameters
658
+
659
+ | Name | Type | Description | Notes |
660
+ | ---- | ---- | ----------- | ----- |
661
+ | **id** | **String** | | |
662
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
663
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
664
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
665
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
666
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
667
+
668
+ ### Return type
669
+
670
+ [**DrugPatentCliffResponse**](DrugPatentCliffResponse.md)
671
+
672
+ ### Authorization
673
+
674
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
675
+
676
+ ### HTTP request headers
677
+
678
+ - **Content-Type**: Not defined
679
+ - **Accept**: application/json
680
+
681
+
682
+ ## legal_entities_enforcement_events
683
+
684
+ > <EnforcementEventsResponse> legal_entities_enforcement_events(id, opts)
685
+
686
+ FDA enforcement events
687
+
688
+ ### Examples
689
+
690
+ ```ruby
691
+ require 'time'
692
+ require 'pharmaobservatory'
693
+ # setup authorization
694
+ PharmaObservatory.configure do |config|
695
+ # Configure Bearer authorization (JWT): ApiBearerJwt
696
+ config.access_token = 'YOUR_BEARER_TOKEN'
697
+ end
698
+
699
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
700
+ id = 'edgar:0001114448' # String |
701
+ opts = {
702
+ 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.
703
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
704
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
705
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
706
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
707
+ }
708
+
709
+ begin
710
+ # FDA enforcement events
711
+ result = api_instance.legal_entities_enforcement_events(id, opts)
712
+ p result
713
+ rescue PharmaObservatory::ApiError => e
714
+ puts "Error when calling LegalEntitiesApi->legal_entities_enforcement_events: #{e}"
715
+ end
716
+ ```
717
+
718
+ #### Using the legal_entities_enforcement_events_with_http_info variant
719
+
720
+ This returns an Array which contains the response data, status code and headers.
721
+
722
+ > <Array(<EnforcementEventsResponse>, Integer, Hash)> legal_entities_enforcement_events_with_http_info(id, opts)
723
+
724
+ ```ruby
725
+ begin
726
+ # FDA enforcement events
727
+ data, status_code, headers = api_instance.legal_entities_enforcement_events_with_http_info(id, opts)
728
+ p status_code # => 2xx
729
+ p headers # => { ... }
730
+ p data # => <EnforcementEventsResponse>
731
+ rescue PharmaObservatory::ApiError => e
732
+ puts "Error when calling LegalEntitiesApi->legal_entities_enforcement_events_with_http_info: #{e}"
733
+ end
734
+ ```
735
+
736
+ ### Parameters
737
+
738
+ | Name | Type | Description | Notes |
739
+ | ---- | ---- | ----------- | ----- |
740
+ | **id** | **String** | | |
741
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
742
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
743
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
744
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
745
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
746
+
747
+ ### Return type
748
+
749
+ [**EnforcementEventsResponse**](EnforcementEventsResponse.md)
750
+
751
+ ### Authorization
752
+
753
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
754
+
755
+ ### HTTP request headers
756
+
757
+ - **Content-Type**: Not defined
758
+ - **Accept**: application/json
759
+
760
+
761
+ ## legal_entities_get
762
+
763
+ > <LegalEntitiesRecord> legal_entities_get(id)
764
+
765
+ One legal entity
766
+
767
+ ### Examples
768
+
769
+ ```ruby
770
+ require 'time'
771
+ require 'pharmaobservatory'
772
+ # setup authorization
773
+ PharmaObservatory.configure do |config|
774
+ # Configure Bearer authorization (JWT): ApiBearerJwt
775
+ config.access_token = 'YOUR_BEARER_TOKEN'
776
+ end
777
+
778
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
779
+ id = 'edgar:0001114448' # String |
780
+
781
+ begin
782
+ # One legal entity
783
+ result = api_instance.legal_entities_get(id)
784
+ p result
785
+ rescue PharmaObservatory::ApiError => e
786
+ puts "Error when calling LegalEntitiesApi->legal_entities_get: #{e}"
787
+ end
788
+ ```
789
+
790
+ #### Using the legal_entities_get_with_http_info variant
791
+
792
+ This returns an Array which contains the response data, status code and headers.
793
+
794
+ > <Array(<LegalEntitiesRecord>, Integer, Hash)> legal_entities_get_with_http_info(id)
795
+
796
+ ```ruby
797
+ begin
798
+ # One legal entity
799
+ data, status_code, headers = api_instance.legal_entities_get_with_http_info(id)
800
+ p status_code # => 2xx
801
+ p headers # => { ... }
802
+ p data # => <LegalEntitiesRecord>
803
+ rescue PharmaObservatory::ApiError => e
804
+ puts "Error when calling LegalEntitiesApi->legal_entities_get_with_http_info: #{e}"
805
+ end
806
+ ```
807
+
808
+ ### Parameters
809
+
810
+ | Name | Type | Description | Notes |
811
+ | ---- | ---- | ----------- | ----- |
812
+ | **id** | **String** | | |
813
+
814
+ ### Return type
815
+
816
+ [**LegalEntitiesRecord**](LegalEntitiesRecord.md)
817
+
818
+ ### Authorization
819
+
820
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
821
+
822
+ ### HTTP request headers
823
+
824
+ - **Content-Type**: Not defined
825
+ - **Accept**: application/json
826
+
827
+
828
+ ## legal_entities_gxp_facilities
829
+
830
+ > <GxpFacilitiesResponse> legal_entities_gxp_facilities(id, opts)
831
+
832
+ GxP facilities and quality signals
833
+
834
+ ### Examples
835
+
836
+ ```ruby
837
+ require 'time'
838
+ require 'pharmaobservatory'
839
+ # setup authorization
840
+ PharmaObservatory.configure do |config|
841
+ # Configure Bearer authorization (JWT): ApiBearerJwt
842
+ config.access_token = 'YOUR_BEARER_TOKEN'
843
+ end
844
+
845
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
846
+ id = 'edgar:0001114448' # String |
847
+ opts = {
848
+ 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.
849
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
850
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
851
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
852
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
853
+ }
854
+
855
+ begin
856
+ # GxP facilities and quality signals
857
+ result = api_instance.legal_entities_gxp_facilities(id, opts)
858
+ p result
859
+ rescue PharmaObservatory::ApiError => e
860
+ puts "Error when calling LegalEntitiesApi->legal_entities_gxp_facilities: #{e}"
861
+ end
862
+ ```
863
+
864
+ #### Using the legal_entities_gxp_facilities_with_http_info variant
865
+
866
+ This returns an Array which contains the response data, status code and headers.
867
+
868
+ > <Array(<GxpFacilitiesResponse>, Integer, Hash)> legal_entities_gxp_facilities_with_http_info(id, opts)
869
+
870
+ ```ruby
871
+ begin
872
+ # GxP facilities and quality signals
873
+ data, status_code, headers = api_instance.legal_entities_gxp_facilities_with_http_info(id, opts)
874
+ p status_code # => 2xx
875
+ p headers # => { ... }
876
+ p data # => <GxpFacilitiesResponse>
877
+ rescue PharmaObservatory::ApiError => e
878
+ puts "Error when calling LegalEntitiesApi->legal_entities_gxp_facilities_with_http_info: #{e}"
879
+ end
880
+ ```
881
+
882
+ ### Parameters
883
+
884
+ | Name | Type | Description | Notes |
885
+ | ---- | ---- | ----------- | ----- |
886
+ | **id** | **String** | | |
887
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
888
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
889
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
890
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
891
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
892
+
893
+ ### Return type
894
+
895
+ [**GxpFacilitiesResponse**](GxpFacilitiesResponse.md)
896
+
897
+ ### Authorization
898
+
899
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
900
+
901
+ ### HTTP request headers
902
+
903
+ - **Content-Type**: Not defined
904
+ - **Accept**: application/json
905
+
906
+
907
+ ## legal_entities_import_refusals
908
+
909
+ > <ImportRefusalsResponse> legal_entities_import_refusals(id, opts)
910
+
911
+ FDA import refusals
912
+
913
+ ### Examples
914
+
915
+ ```ruby
916
+ require 'time'
917
+ require 'pharmaobservatory'
918
+ # setup authorization
919
+ PharmaObservatory.configure do |config|
920
+ # Configure Bearer authorization (JWT): ApiBearerJwt
921
+ config.access_token = 'YOUR_BEARER_TOKEN'
922
+ end
923
+
924
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
925
+ id = 'edgar:0001114448' # String |
926
+ opts = {
927
+ 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.
928
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
929
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
930
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
931
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
932
+ }
933
+
934
+ begin
935
+ # FDA import refusals
936
+ result = api_instance.legal_entities_import_refusals(id, opts)
937
+ p result
938
+ rescue PharmaObservatory::ApiError => e
939
+ puts "Error when calling LegalEntitiesApi->legal_entities_import_refusals: #{e}"
940
+ end
941
+ ```
942
+
943
+ #### Using the legal_entities_import_refusals_with_http_info variant
944
+
945
+ This returns an Array which contains the response data, status code and headers.
946
+
947
+ > <Array(<ImportRefusalsResponse>, Integer, Hash)> legal_entities_import_refusals_with_http_info(id, opts)
948
+
949
+ ```ruby
950
+ begin
951
+ # FDA import refusals
952
+ data, status_code, headers = api_instance.legal_entities_import_refusals_with_http_info(id, opts)
953
+ p status_code # => 2xx
954
+ p headers # => { ... }
955
+ p data # => <ImportRefusalsResponse>
956
+ rescue PharmaObservatory::ApiError => e
957
+ puts "Error when calling LegalEntitiesApi->legal_entities_import_refusals_with_http_info: #{e}"
958
+ end
959
+ ```
960
+
961
+ ### Parameters
962
+
963
+ | Name | Type | Description | Notes |
964
+ | ---- | ---- | ----------- | ----- |
965
+ | **id** | **String** | | |
966
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
967
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
968
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
969
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
970
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
971
+
972
+ ### Return type
973
+
974
+ [**ImportRefusalsResponse**](ImportRefusalsResponse.md)
975
+
976
+ ### Authorization
977
+
978
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
979
+
980
+ ### HTTP request headers
981
+
982
+ - **Content-Type**: Not defined
983
+ - **Accept**: application/json
984
+
985
+
986
+ ## legal_entities_inspection_findings
987
+
988
+ > <InspectionFindingsResponse> legal_entities_inspection_findings(id, opts)
989
+
990
+ FDA inspection findings
991
+
992
+ ### Examples
993
+
994
+ ```ruby
995
+ require 'time'
996
+ require 'pharmaobservatory'
997
+ # setup authorization
998
+ PharmaObservatory.configure do |config|
999
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1000
+ config.access_token = 'YOUR_BEARER_TOKEN'
1001
+ end
1002
+
1003
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1004
+ id = 'edgar:0001114448' # String |
1005
+ opts = {
1006
+ 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.
1007
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1008
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1009
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1010
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1011
+ }
1012
+
1013
+ begin
1014
+ # FDA inspection findings
1015
+ result = api_instance.legal_entities_inspection_findings(id, opts)
1016
+ p result
1017
+ rescue PharmaObservatory::ApiError => e
1018
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspection_findings: #{e}"
1019
+ end
1020
+ ```
1021
+
1022
+ #### Using the legal_entities_inspection_findings_with_http_info variant
1023
+
1024
+ This returns an Array which contains the response data, status code and headers.
1025
+
1026
+ > <Array(<InspectionFindingsResponse>, Integer, Hash)> legal_entities_inspection_findings_with_http_info(id, opts)
1027
+
1028
+ ```ruby
1029
+ begin
1030
+ # FDA inspection findings
1031
+ data, status_code, headers = api_instance.legal_entities_inspection_findings_with_http_info(id, opts)
1032
+ p status_code # => 2xx
1033
+ p headers # => { ... }
1034
+ p data # => <InspectionFindingsResponse>
1035
+ rescue PharmaObservatory::ApiError => e
1036
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspection_findings_with_http_info: #{e}"
1037
+ end
1038
+ ```
1039
+
1040
+ ### Parameters
1041
+
1042
+ | Name | Type | Description | Notes |
1043
+ | ---- | ---- | ----------- | ----- |
1044
+ | **id** | **String** | | |
1045
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1046
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1047
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1048
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1049
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1050
+
1051
+ ### Return type
1052
+
1053
+ [**InspectionFindingsResponse**](InspectionFindingsResponse.md)
1054
+
1055
+ ### Authorization
1056
+
1057
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1058
+
1059
+ ### HTTP request headers
1060
+
1061
+ - **Content-Type**: Not defined
1062
+ - **Accept**: application/json
1063
+
1064
+
1065
+ ## legal_entities_inspections
1066
+
1067
+ > <InspectionsResponse> legal_entities_inspections(id, opts)
1068
+
1069
+ FDA inspections
1070
+
1071
+ ### Examples
1072
+
1073
+ ```ruby
1074
+ require 'time'
1075
+ require 'pharmaobservatory'
1076
+ # setup authorization
1077
+ PharmaObservatory.configure do |config|
1078
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1079
+ config.access_token = 'YOUR_BEARER_TOKEN'
1080
+ end
1081
+
1082
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1083
+ id = 'edgar:0001114448' # String |
1084
+ opts = {
1085
+ 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.
1086
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1087
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1088
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1089
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1090
+ }
1091
+
1092
+ begin
1093
+ # FDA inspections
1094
+ result = api_instance.legal_entities_inspections(id, opts)
1095
+ p result
1096
+ rescue PharmaObservatory::ApiError => e
1097
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspections: #{e}"
1098
+ end
1099
+ ```
1100
+
1101
+ #### Using the legal_entities_inspections_with_http_info variant
1102
+
1103
+ This returns an Array which contains the response data, status code and headers.
1104
+
1105
+ > <Array(<InspectionsResponse>, Integer, Hash)> legal_entities_inspections_with_http_info(id, opts)
1106
+
1107
+ ```ruby
1108
+ begin
1109
+ # FDA inspections
1110
+ data, status_code, headers = api_instance.legal_entities_inspections_with_http_info(id, opts)
1111
+ p status_code # => 2xx
1112
+ p headers # => { ... }
1113
+ p data # => <InspectionsResponse>
1114
+ rescue PharmaObservatory::ApiError => e
1115
+ puts "Error when calling LegalEntitiesApi->legal_entities_inspections_with_http_info: #{e}"
1116
+ end
1117
+ ```
1118
+
1119
+ ### Parameters
1120
+
1121
+ | Name | Type | Description | Notes |
1122
+ | ---- | ---- | ----------- | ----- |
1123
+ | **id** | **String** | | |
1124
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1125
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1126
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1127
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1128
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1129
+
1130
+ ### Return type
1131
+
1132
+ [**InspectionsResponse**](InspectionsResponse.md)
1133
+
1134
+ ### Authorization
1135
+
1136
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1137
+
1138
+ ### HTTP request headers
1139
+
1140
+ - **Content-Type**: Not defined
1141
+ - **Accept**: application/json
1142
+
1143
+
1144
+ ## legal_entities_institutional_holdings
1145
+
1146
+ > <InstitutionalHoldingsResponse> legal_entities_institutional_holdings(id, opts)
1147
+
1148
+ Institutional holdings (SEC Form 13F)
1149
+
1150
+ ### Examples
1151
+
1152
+ ```ruby
1153
+ require 'time'
1154
+ require 'pharmaobservatory'
1155
+ # setup authorization
1156
+ PharmaObservatory.configure do |config|
1157
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1158
+ config.access_token = 'YOUR_BEARER_TOKEN'
1159
+ end
1160
+
1161
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1162
+ id = 'edgar:0001114448' # String |
1163
+ opts = {
1164
+ 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.
1165
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1166
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1167
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1168
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1169
+ }
1170
+
1171
+ begin
1172
+ # Institutional holdings (SEC Form 13F)
1173
+ result = api_instance.legal_entities_institutional_holdings(id, opts)
1174
+ p result
1175
+ rescue PharmaObservatory::ApiError => e
1176
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings: #{e}"
1177
+ end
1178
+ ```
1179
+
1180
+ #### Using the legal_entities_institutional_holdings_with_http_info variant
1181
+
1182
+ This returns an Array which contains the response data, status code and headers.
1183
+
1184
+ > <Array(<InstitutionalHoldingsResponse>, Integer, Hash)> legal_entities_institutional_holdings_with_http_info(id, opts)
1185
+
1186
+ ```ruby
1187
+ begin
1188
+ # Institutional holdings (SEC Form 13F)
1189
+ data, status_code, headers = api_instance.legal_entities_institutional_holdings_with_http_info(id, opts)
1190
+ p status_code # => 2xx
1191
+ p headers # => { ... }
1192
+ p data # => <InstitutionalHoldingsResponse>
1193
+ rescue PharmaObservatory::ApiError => e
1194
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings_with_http_info: #{e}"
1195
+ end
1196
+ ```
1197
+
1198
+ ### Parameters
1199
+
1200
+ | Name | Type | Description | Notes |
1201
+ | ---- | ---- | ----------- | ----- |
1202
+ | **id** | **String** | | |
1203
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1204
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1205
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1206
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1207
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1208
+
1209
+ ### Return type
1210
+
1211
+ [**InstitutionalHoldingsResponse**](InstitutionalHoldingsResponse.md)
1212
+
1213
+ ### Authorization
1214
+
1215
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1216
+
1217
+ ### HTTP request headers
1218
+
1219
+ - **Content-Type**: Not defined
1220
+ - **Accept**: application/json
1221
+
1222
+
1223
+ ## legal_entities_institutional_quarter_totals
1224
+
1225
+ > <InstitutionalQuarterTotalsResponse> legal_entities_institutional_quarter_totals(id, opts)
1226
+
1227
+ Institutional quarter totals (SEC Form 13F)
1228
+
1229
+ ### Examples
1230
+
1231
+ ```ruby
1232
+ require 'time'
1233
+ require 'pharmaobservatory'
1234
+ # setup authorization
1235
+ PharmaObservatory.configure do |config|
1236
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1237
+ config.access_token = 'YOUR_BEARER_TOKEN'
1238
+ end
1239
+
1240
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1241
+ id = 'edgar:0001114448' # String |
1242
+ opts = {
1243
+ 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.
1244
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1245
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1246
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1247
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1248
+ }
1249
+
1250
+ begin
1251
+ # Institutional quarter totals (SEC Form 13F)
1252
+ result = api_instance.legal_entities_institutional_quarter_totals(id, opts)
1253
+ p result
1254
+ rescue PharmaObservatory::ApiError => e
1255
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_quarter_totals: #{e}"
1256
+ end
1257
+ ```
1258
+
1259
+ #### Using the legal_entities_institutional_quarter_totals_with_http_info variant
1260
+
1261
+ This returns an Array which contains the response data, status code and headers.
1262
+
1263
+ > <Array(<InstitutionalQuarterTotalsResponse>, Integer, Hash)> legal_entities_institutional_quarter_totals_with_http_info(id, opts)
1264
+
1265
+ ```ruby
1266
+ begin
1267
+ # Institutional quarter totals (SEC Form 13F)
1268
+ data, status_code, headers = api_instance.legal_entities_institutional_quarter_totals_with_http_info(id, opts)
1269
+ p status_code # => 2xx
1270
+ p headers # => { ... }
1271
+ p data # => <InstitutionalQuarterTotalsResponse>
1272
+ rescue PharmaObservatory::ApiError => e
1273
+ puts "Error when calling LegalEntitiesApi->legal_entities_institutional_quarter_totals_with_http_info: #{e}"
1274
+ end
1275
+ ```
1276
+
1277
+ ### Parameters
1278
+
1279
+ | Name | Type | Description | Notes |
1280
+ | ---- | ---- | ----------- | ----- |
1281
+ | **id** | **String** | | |
1282
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1283
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1284
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1285
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1286
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1287
+
1288
+ ### Return type
1289
+
1290
+ [**InstitutionalQuarterTotalsResponse**](InstitutionalQuarterTotalsResponse.md)
1291
+
1292
+ ### Authorization
1293
+
1294
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1295
+
1296
+ ### HTTP request headers
1297
+
1298
+ - **Content-Type**: Not defined
1299
+ - **Accept**: application/json
1300
+
1301
+
1302
+ ## legal_entities_legal_entity_sec_filings
1303
+
1304
+ > <LegalEntitySecFilingsResponse> legal_entities_legal_entity_sec_filings(id, opts)
1305
+
1306
+ SEC filer records
1307
+
1308
+ ### Examples
1309
+
1310
+ ```ruby
1311
+ require 'time'
1312
+ require 'pharmaobservatory'
1313
+ # setup authorization
1314
+ PharmaObservatory.configure do |config|
1315
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1316
+ config.access_token = 'YOUR_BEARER_TOKEN'
1317
+ end
1318
+
1319
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1320
+ id = 'edgar:0001114448' # String |
1321
+ opts = {
1322
+ 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.
1323
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1324
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1325
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1326
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1327
+ }
1328
+
1329
+ begin
1330
+ # SEC filer records
1331
+ result = api_instance.legal_entities_legal_entity_sec_filings(id, opts)
1332
+ p result
1333
+ rescue PharmaObservatory::ApiError => e
1334
+ puts "Error when calling LegalEntitiesApi->legal_entities_legal_entity_sec_filings: #{e}"
1335
+ end
1336
+ ```
1337
+
1338
+ #### Using the legal_entities_legal_entity_sec_filings_with_http_info variant
1339
+
1340
+ This returns an Array which contains the response data, status code and headers.
1341
+
1342
+ > <Array(<LegalEntitySecFilingsResponse>, Integer, Hash)> legal_entities_legal_entity_sec_filings_with_http_info(id, opts)
1343
+
1344
+ ```ruby
1345
+ begin
1346
+ # SEC filer records
1347
+ data, status_code, headers = api_instance.legal_entities_legal_entity_sec_filings_with_http_info(id, opts)
1348
+ p status_code # => 2xx
1349
+ p headers # => { ... }
1350
+ p data # => <LegalEntitySecFilingsResponse>
1351
+ rescue PharmaObservatory::ApiError => e
1352
+ puts "Error when calling LegalEntitiesApi->legal_entities_legal_entity_sec_filings_with_http_info: #{e}"
1353
+ end
1354
+ ```
1355
+
1356
+ ### Parameters
1357
+
1358
+ | Name | Type | Description | Notes |
1359
+ | ---- | ---- | ----------- | ----- |
1360
+ | **id** | **String** | | |
1361
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1362
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1363
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1364
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1365
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1366
+
1367
+ ### Return type
1368
+
1369
+ [**LegalEntitySecFilingsResponse**](LegalEntitySecFilingsResponse.md)
1370
+
1371
+ ### Authorization
1372
+
1373
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1374
+
1375
+ ### HTTP request headers
1376
+
1377
+ - **Content-Type**: Not defined
1378
+ - **Accept**: application/json
1379
+
1380
+
1381
+ ## legal_entities_list
1382
+
1383
+ > <LegalEntitiesResponse> legal_entities_list(opts)
1384
+
1385
+ List legal entities
1386
+
1387
+ ### Examples
1388
+
1389
+ ```ruby
1390
+ require 'time'
1391
+ require 'pharmaobservatory'
1392
+ # setup authorization
1393
+ PharmaObservatory.configure do |config|
1394
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1395
+ config.access_token = 'YOUR_BEARER_TOKEN'
1396
+ end
1397
+
1398
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1399
+ opts = {
1400
+ 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.
1401
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1402
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1403
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1404
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1405
+ }
1406
+
1407
+ begin
1408
+ # List legal entities
1409
+ result = api_instance.legal_entities_list(opts)
1410
+ p result
1411
+ rescue PharmaObservatory::ApiError => e
1412
+ puts "Error when calling LegalEntitiesApi->legal_entities_list: #{e}"
1413
+ end
1414
+ ```
1415
+
1416
+ #### Using the legal_entities_list_with_http_info variant
1417
+
1418
+ This returns an Array which contains the response data, status code and headers.
1419
+
1420
+ > <Array(<LegalEntitiesResponse>, Integer, Hash)> legal_entities_list_with_http_info(opts)
1421
+
1422
+ ```ruby
1423
+ begin
1424
+ # List legal entities
1425
+ data, status_code, headers = api_instance.legal_entities_list_with_http_info(opts)
1426
+ p status_code # => 2xx
1427
+ p headers # => { ... }
1428
+ p data # => <LegalEntitiesResponse>
1429
+ rescue PharmaObservatory::ApiError => e
1430
+ puts "Error when calling LegalEntitiesApi->legal_entities_list_with_http_info: #{e}"
1431
+ end
1432
+ ```
1433
+
1434
+ ### Parameters
1435
+
1436
+ | Name | Type | Description | Notes |
1437
+ | ---- | ---- | ----------- | ----- |
1438
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1439
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1440
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1441
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1442
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1443
+
1444
+ ### Return type
1445
+
1446
+ [**LegalEntitiesResponse**](LegalEntitiesResponse.md)
1447
+
1448
+ ### Authorization
1449
+
1450
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1451
+
1452
+ ### HTTP request headers
1453
+
1454
+ - **Content-Type**: Not defined
1455
+ - **Accept**: application/json
1456
+
1457
+
1458
+ ## legal_entities_org_disclosure_trend
1459
+
1460
+ > <OrgDisclosureTrendResponse> legal_entities_org_disclosure_trend(id, opts)
1461
+
1462
+ Organization disclosure trend
1463
+
1464
+ ### Examples
1465
+
1466
+ ```ruby
1467
+ require 'time'
1468
+ require 'pharmaobservatory'
1469
+ # setup authorization
1470
+ PharmaObservatory.configure do |config|
1471
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1472
+ config.access_token = 'YOUR_BEARER_TOKEN'
1473
+ end
1474
+
1475
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1476
+ id = 'edgar:0001114448' # String |
1477
+ opts = {
1478
+ 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.
1479
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1480
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1481
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1482
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1483
+ }
1484
+
1485
+ begin
1486
+ # Organization disclosure trend
1487
+ result = api_instance.legal_entities_org_disclosure_trend(id, opts)
1488
+ p result
1489
+ rescue PharmaObservatory::ApiError => e
1490
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosure_trend: #{e}"
1491
+ end
1492
+ ```
1493
+
1494
+ #### Using the legal_entities_org_disclosure_trend_with_http_info variant
1495
+
1496
+ This returns an Array which contains the response data, status code and headers.
1497
+
1498
+ > <Array(<OrgDisclosureTrendResponse>, Integer, Hash)> legal_entities_org_disclosure_trend_with_http_info(id, opts)
1499
+
1500
+ ```ruby
1501
+ begin
1502
+ # Organization disclosure trend
1503
+ data, status_code, headers = api_instance.legal_entities_org_disclosure_trend_with_http_info(id, opts)
1504
+ p status_code # => 2xx
1505
+ p headers # => { ... }
1506
+ p data # => <OrgDisclosureTrendResponse>
1507
+ rescue PharmaObservatory::ApiError => e
1508
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosure_trend_with_http_info: #{e}"
1509
+ end
1510
+ ```
1511
+
1512
+ ### Parameters
1513
+
1514
+ | Name | Type | Description | Notes |
1515
+ | ---- | ---- | ----------- | ----- |
1516
+ | **id** | **String** | | |
1517
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1518
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1519
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1520
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1521
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1522
+
1523
+ ### Return type
1524
+
1525
+ [**OrgDisclosureTrendResponse**](OrgDisclosureTrendResponse.md)
1526
+
1527
+ ### Authorization
1528
+
1529
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1530
+
1531
+ ### HTTP request headers
1532
+
1533
+ - **Content-Type**: Not defined
1534
+ - **Accept**: application/json
1535
+
1536
+
1537
+ ## legal_entities_org_disclosures
1538
+
1539
+ > <OrgDisclosuresResponse> legal_entities_org_disclosures(id, opts)
1540
+
1541
+ Organization disclosures (climate and diversity)
1542
+
1543
+ ### Examples
1544
+
1545
+ ```ruby
1546
+ require 'time'
1547
+ require 'pharmaobservatory'
1548
+ # setup authorization
1549
+ PharmaObservatory.configure do |config|
1550
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1551
+ config.access_token = 'YOUR_BEARER_TOKEN'
1552
+ end
1553
+
1554
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1555
+ id = 'edgar:0001114448' # String |
1556
+ opts = {
1557
+ 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.
1558
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1559
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1560
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1561
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1562
+ }
1563
+
1564
+ begin
1565
+ # Organization disclosures (climate and diversity)
1566
+ result = api_instance.legal_entities_org_disclosures(id, opts)
1567
+ p result
1568
+ rescue PharmaObservatory::ApiError => e
1569
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures: #{e}"
1570
+ end
1571
+ ```
1572
+
1573
+ #### Using the legal_entities_org_disclosures_with_http_info variant
1574
+
1575
+ This returns an Array which contains the response data, status code and headers.
1576
+
1577
+ > <Array(<OrgDisclosuresResponse>, Integer, Hash)> legal_entities_org_disclosures_with_http_info(id, opts)
1578
+
1579
+ ```ruby
1580
+ begin
1581
+ # Organization disclosures (climate and diversity)
1582
+ data, status_code, headers = api_instance.legal_entities_org_disclosures_with_http_info(id, opts)
1583
+ p status_code # => 2xx
1584
+ p headers # => { ... }
1585
+ p data # => <OrgDisclosuresResponse>
1586
+ rescue PharmaObservatory::ApiError => e
1587
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures_with_http_info: #{e}"
1588
+ end
1589
+ ```
1590
+
1591
+ ### Parameters
1592
+
1593
+ | Name | Type | Description | Notes |
1594
+ | ---- | ---- | ----------- | ----- |
1595
+ | **id** | **String** | | |
1596
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1597
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1598
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1599
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1600
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1601
+
1602
+ ### Return type
1603
+
1604
+ [**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
1605
+
1606
+ ### Authorization
1607
+
1608
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1609
+
1610
+ ### HTTP request headers
1611
+
1612
+ - **Content-Type**: Not defined
1613
+ - **Accept**: application/json
1614
+
1615
+
1616
+ ## legal_entities_org_relationships
1617
+
1618
+ > <OrgRelationshipsResponse> legal_entities_org_relationships(id, opts)
1619
+
1620
+ Organization relationships
1621
+
1622
+ ### Examples
1623
+
1624
+ ```ruby
1625
+ require 'time'
1626
+ require 'pharmaobservatory'
1627
+ # setup authorization
1628
+ PharmaObservatory.configure do |config|
1629
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1630
+ config.access_token = 'YOUR_BEARER_TOKEN'
1631
+ end
1632
+
1633
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1634
+ id = 'edgar:0001114448' # String |
1635
+ opts = {
1636
+ 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.
1637
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1638
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1639
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1640
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1641
+ }
1642
+
1643
+ begin
1644
+ # Organization relationships
1645
+ result = api_instance.legal_entities_org_relationships(id, opts)
1646
+ p result
1647
+ rescue PharmaObservatory::ApiError => e
1648
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships: #{e}"
1649
+ end
1650
+ ```
1651
+
1652
+ #### Using the legal_entities_org_relationships_with_http_info variant
1653
+
1654
+ This returns an Array which contains the response data, status code and headers.
1655
+
1656
+ > <Array(<OrgRelationshipsResponse>, Integer, Hash)> legal_entities_org_relationships_with_http_info(id, opts)
1657
+
1658
+ ```ruby
1659
+ begin
1660
+ # Organization relationships
1661
+ data, status_code, headers = api_instance.legal_entities_org_relationships_with_http_info(id, opts)
1662
+ p status_code # => 2xx
1663
+ p headers # => { ... }
1664
+ p data # => <OrgRelationshipsResponse>
1665
+ rescue PharmaObservatory::ApiError => e
1666
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships_with_http_info: #{e}"
1667
+ end
1668
+ ```
1669
+
1670
+ ### Parameters
1671
+
1672
+ | Name | Type | Description | Notes |
1673
+ | ---- | ---- | ----------- | ----- |
1674
+ | **id** | **String** | | |
1675
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1676
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1677
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1678
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1679
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1680
+
1681
+ ### Return type
1682
+
1683
+ [**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
1684
+
1685
+ ### Authorization
1686
+
1687
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1688
+
1689
+ ### HTTP request headers
1690
+
1691
+ - **Content-Type**: Not defined
1692
+ - **Accept**: application/json
1693
+
1694
+
1695
+ ## legal_entities_ownership_percentages
1696
+
1697
+ > <OwnershipPercentagesResponse> legal_entities_ownership_percentages(id, opts)
1698
+
1699
+ Ownership percentages
1700
+
1701
+ ### Examples
1702
+
1703
+ ```ruby
1704
+ require 'time'
1705
+ require 'pharmaobservatory'
1706
+ # setup authorization
1707
+ PharmaObservatory.configure do |config|
1708
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1709
+ config.access_token = 'YOUR_BEARER_TOKEN'
1710
+ end
1711
+
1712
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1713
+ id = 'edgar:0001114448' # String |
1714
+ opts = {
1715
+ 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.
1716
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1717
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1718
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1719
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1720
+ }
1721
+
1722
+ begin
1723
+ # Ownership percentages
1724
+ result = api_instance.legal_entities_ownership_percentages(id, opts)
1725
+ p result
1726
+ rescue PharmaObservatory::ApiError => e
1727
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages: #{e}"
1728
+ end
1729
+ ```
1730
+
1731
+ #### Using the legal_entities_ownership_percentages_with_http_info variant
1732
+
1733
+ This returns an Array which contains the response data, status code and headers.
1734
+
1735
+ > <Array(<OwnershipPercentagesResponse>, Integer, Hash)> legal_entities_ownership_percentages_with_http_info(id, opts)
1736
+
1737
+ ```ruby
1738
+ begin
1739
+ # Ownership percentages
1740
+ data, status_code, headers = api_instance.legal_entities_ownership_percentages_with_http_info(id, opts)
1741
+ p status_code # => 2xx
1742
+ p headers # => { ... }
1743
+ p data # => <OwnershipPercentagesResponse>
1744
+ rescue PharmaObservatory::ApiError => e
1745
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages_with_http_info: #{e}"
1746
+ end
1747
+ ```
1748
+
1749
+ ### Parameters
1750
+
1751
+ | Name | Type | Description | Notes |
1752
+ | ---- | ---- | ----------- | ----- |
1753
+ | **id** | **String** | | |
1754
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1755
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1756
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1757
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1758
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1759
+
1760
+ ### Return type
1761
+
1762
+ [**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
1763
+
1764
+ ### Authorization
1765
+
1766
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1767
+
1768
+ ### HTTP request headers
1769
+
1770
+ - **Content-Type**: Not defined
1771
+ - **Accept**: application/json
1772
+
1773
+
1774
+ ## legal_entities_ownership_positions
1775
+
1776
+ > <OwnershipPositionsResponse> legal_entities_ownership_positions(id, opts)
1777
+
1778
+ Ownership and control positions
1779
+
1780
+ ### Examples
1781
+
1782
+ ```ruby
1783
+ require 'time'
1784
+ require 'pharmaobservatory'
1785
+ # setup authorization
1786
+ PharmaObservatory.configure do |config|
1787
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1788
+ config.access_token = 'YOUR_BEARER_TOKEN'
1789
+ end
1790
+
1791
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1792
+ id = 'edgar:0001114448' # String |
1793
+ opts = {
1794
+ 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.
1795
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1796
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1797
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1798
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1799
+ }
1800
+
1801
+ begin
1802
+ # Ownership and control positions
1803
+ result = api_instance.legal_entities_ownership_positions(id, opts)
1804
+ p result
1805
+ rescue PharmaObservatory::ApiError => e
1806
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions: #{e}"
1807
+ end
1808
+ ```
1809
+
1810
+ #### Using the legal_entities_ownership_positions_with_http_info variant
1811
+
1812
+ This returns an Array which contains the response data, status code and headers.
1813
+
1814
+ > <Array(<OwnershipPositionsResponse>, Integer, Hash)> legal_entities_ownership_positions_with_http_info(id, opts)
1815
+
1816
+ ```ruby
1817
+ begin
1818
+ # Ownership and control positions
1819
+ data, status_code, headers = api_instance.legal_entities_ownership_positions_with_http_info(id, opts)
1820
+ p status_code # => 2xx
1821
+ p headers # => { ... }
1822
+ p data # => <OwnershipPositionsResponse>
1823
+ rescue PharmaObservatory::ApiError => e
1824
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions_with_http_info: #{e}"
1825
+ end
1826
+ ```
1827
+
1828
+ ### Parameters
1829
+
1830
+ | Name | Type | Description | Notes |
1831
+ | ---- | ---- | ----------- | ----- |
1832
+ | **id** | **String** | | |
1833
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1834
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1835
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1836
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1837
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1838
+
1839
+ ### Return type
1840
+
1841
+ [**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
1842
+
1843
+ ### Authorization
1844
+
1845
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1846
+
1847
+ ### HTTP request headers
1848
+
1849
+ - **Content-Type**: Not defined
1850
+ - **Accept**: application/json
1851
+
1852
+
1853
+ ## legal_entities_ownership_source_coverage
1854
+
1855
+ > <OwnershipSourceCoverageResponse> legal_entities_ownership_source_coverage(id, opts)
1856
+
1857
+ Ownership source coverage
1858
+
1859
+ ### Examples
1860
+
1861
+ ```ruby
1862
+ require 'time'
1863
+ require 'pharmaobservatory'
1864
+ # setup authorization
1865
+ PharmaObservatory.configure do |config|
1866
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1867
+ config.access_token = 'YOUR_BEARER_TOKEN'
1868
+ end
1869
+
1870
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1871
+ id = 'edgar:0001114448' # String |
1872
+ opts = {
1873
+ 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.
1874
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1875
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1876
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1877
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1878
+ }
1879
+
1880
+ begin
1881
+ # Ownership source coverage
1882
+ result = api_instance.legal_entities_ownership_source_coverage(id, opts)
1883
+ p result
1884
+ rescue PharmaObservatory::ApiError => e
1885
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_source_coverage: #{e}"
1886
+ end
1887
+ ```
1888
+
1889
+ #### Using the legal_entities_ownership_source_coverage_with_http_info variant
1890
+
1891
+ This returns an Array which contains the response data, status code and headers.
1892
+
1893
+ > <Array(<OwnershipSourceCoverageResponse>, Integer, Hash)> legal_entities_ownership_source_coverage_with_http_info(id, opts)
1894
+
1895
+ ```ruby
1896
+ begin
1897
+ # Ownership source coverage
1898
+ data, status_code, headers = api_instance.legal_entities_ownership_source_coverage_with_http_info(id, opts)
1899
+ p status_code # => 2xx
1900
+ p headers # => { ... }
1901
+ p data # => <OwnershipSourceCoverageResponse>
1902
+ rescue PharmaObservatory::ApiError => e
1903
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_source_coverage_with_http_info: #{e}"
1904
+ end
1905
+ ```
1906
+
1907
+ ### Parameters
1908
+
1909
+ | Name | Type | Description | Notes |
1910
+ | ---- | ---- | ----------- | ----- |
1911
+ | **id** | **String** | | |
1912
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1913
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1914
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1915
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1916
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1917
+
1918
+ ### Return type
1919
+
1920
+ [**OwnershipSourceCoverageResponse**](OwnershipSourceCoverageResponse.md)
1921
+
1922
+ ### Authorization
1923
+
1924
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1925
+
1926
+ ### HTTP request headers
1927
+
1928
+ - **Content-Type**: Not defined
1929
+ - **Accept**: application/json
1930
+
1931
+
1932
+ ## legal_entities_pdufa_dates
1933
+
1934
+ > <PdufaDatesResponse> legal_entities_pdufa_dates(id, opts)
1935
+
1936
+ FDA decision dates (PDUFA) and catalysts
1937
+
1938
+ ### Examples
1939
+
1940
+ ```ruby
1941
+ require 'time'
1942
+ require 'pharmaobservatory'
1943
+ # setup authorization
1944
+ PharmaObservatory.configure do |config|
1945
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1946
+ config.access_token = 'YOUR_BEARER_TOKEN'
1947
+ end
1948
+
1949
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1950
+ id = 'edgar:0001114448' # String |
1951
+ opts = {
1952
+ 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.
1953
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1954
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1955
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1956
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1957
+ }
1958
+
1959
+ begin
1960
+ # FDA decision dates (PDUFA) and catalysts
1961
+ result = api_instance.legal_entities_pdufa_dates(id, opts)
1962
+ p result
1963
+ rescue PharmaObservatory::ApiError => e
1964
+ puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates: #{e}"
1965
+ end
1966
+ ```
1967
+
1968
+ #### Using the legal_entities_pdufa_dates_with_http_info variant
1969
+
1970
+ This returns an Array which contains the response data, status code and headers.
1971
+
1972
+ > <Array(<PdufaDatesResponse>, Integer, Hash)> legal_entities_pdufa_dates_with_http_info(id, opts)
1973
+
1974
+ ```ruby
1975
+ begin
1976
+ # FDA decision dates (PDUFA) and catalysts
1977
+ data, status_code, headers = api_instance.legal_entities_pdufa_dates_with_http_info(id, opts)
1978
+ p status_code # => 2xx
1979
+ p headers # => { ... }
1980
+ p data # => <PdufaDatesResponse>
1981
+ rescue PharmaObservatory::ApiError => e
1982
+ puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates_with_http_info: #{e}"
1983
+ end
1984
+ ```
1985
+
1986
+ ### Parameters
1987
+
1988
+ | Name | Type | Description | Notes |
1989
+ | ---- | ---- | ----------- | ----- |
1990
+ | **id** | **String** | | |
1991
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1992
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1993
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1994
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1995
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1996
+
1997
+ ### Return type
1998
+
1999
+ [**PdufaDatesResponse**](PdufaDatesResponse.md)
2000
+
2001
+ ### Authorization
2002
+
2003
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2004
+
2005
+ ### HTTP request headers
2006
+
2007
+ - **Content-Type**: Not defined
2008
+ - **Accept**: application/json
2009
+
2010
+
2011
+ ## legal_entities_program_licensing_candidates
2012
+
2013
+ > <ProgramLicensingCandidatesResponse> legal_entities_program_licensing_candidates(id, opts)
2014
+
2015
+ Program licensing candidates
2016
+
2017
+ ### Examples
2018
+
2019
+ ```ruby
2020
+ require 'time'
2021
+ require 'pharmaobservatory'
2022
+ # setup authorization
2023
+ PharmaObservatory.configure do |config|
2024
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2025
+ config.access_token = 'YOUR_BEARER_TOKEN'
2026
+ end
2027
+
2028
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2029
+ id = 'edgar:0001114448' # String |
2030
+ opts = {
2031
+ 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.
2032
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2033
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2034
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2035
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2036
+ }
2037
+
2038
+ begin
2039
+ # Program licensing candidates
2040
+ result = api_instance.legal_entities_program_licensing_candidates(id, opts)
2041
+ p result
2042
+ rescue PharmaObservatory::ApiError => e
2043
+ puts "Error when calling LegalEntitiesApi->legal_entities_program_licensing_candidates: #{e}"
2044
+ end
2045
+ ```
2046
+
2047
+ #### Using the legal_entities_program_licensing_candidates_with_http_info variant
2048
+
2049
+ This returns an Array which contains the response data, status code and headers.
2050
+
2051
+ > <Array(<ProgramLicensingCandidatesResponse>, Integer, Hash)> legal_entities_program_licensing_candidates_with_http_info(id, opts)
2052
+
2053
+ ```ruby
2054
+ begin
2055
+ # Program licensing candidates
2056
+ data, status_code, headers = api_instance.legal_entities_program_licensing_candidates_with_http_info(id, opts)
2057
+ p status_code # => 2xx
2058
+ p headers # => { ... }
2059
+ p data # => <ProgramLicensingCandidatesResponse>
2060
+ rescue PharmaObservatory::ApiError => e
2061
+ puts "Error when calling LegalEntitiesApi->legal_entities_program_licensing_candidates_with_http_info: #{e}"
2062
+ end
2063
+ ```
2064
+
2065
+ ### Parameters
2066
+
2067
+ | Name | Type | Description | Notes |
2068
+ | ---- | ---- | ----------- | ----- |
2069
+ | **id** | **String** | | |
2070
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2071
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2072
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2073
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2074
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2075
+
2076
+ ### Return type
2077
+
2078
+ [**ProgramLicensingCandidatesResponse**](ProgramLicensingCandidatesResponse.md)
2079
+
2080
+ ### Authorization
2081
+
2082
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2083
+
2084
+ ### HTTP request headers
2085
+
2086
+ - **Content-Type**: Not defined
2087
+ - **Accept**: application/json
2088
+
2089
+
2090
+ ## legal_entities_recalls
2091
+
2092
+ > <RecallsResponse> legal_entities_recalls(id, opts)
2093
+
2094
+ FDA recalls
2095
+
2096
+ ### Examples
2097
+
2098
+ ```ruby
2099
+ require 'time'
2100
+ require 'pharmaobservatory'
2101
+ # setup authorization
2102
+ PharmaObservatory.configure do |config|
2103
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2104
+ config.access_token = 'YOUR_BEARER_TOKEN'
2105
+ end
2106
+
2107
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2108
+ id = 'edgar:0001114448' # String |
2109
+ opts = {
2110
+ 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.
2111
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2112
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2113
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2114
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2115
+ }
2116
+
2117
+ begin
2118
+ # FDA recalls
2119
+ result = api_instance.legal_entities_recalls(id, opts)
2120
+ p result
2121
+ rescue PharmaObservatory::ApiError => e
2122
+ puts "Error when calling LegalEntitiesApi->legal_entities_recalls: #{e}"
2123
+ end
2124
+ ```
2125
+
2126
+ #### Using the legal_entities_recalls_with_http_info variant
2127
+
2128
+ This returns an Array which contains the response data, status code and headers.
2129
+
2130
+ > <Array(<RecallsResponse>, Integer, Hash)> legal_entities_recalls_with_http_info(id, opts)
2131
+
2132
+ ```ruby
2133
+ begin
2134
+ # FDA recalls
2135
+ data, status_code, headers = api_instance.legal_entities_recalls_with_http_info(id, opts)
2136
+ p status_code # => 2xx
2137
+ p headers # => { ... }
2138
+ p data # => <RecallsResponse>
2139
+ rescue PharmaObservatory::ApiError => e
2140
+ puts "Error when calling LegalEntitiesApi->legal_entities_recalls_with_http_info: #{e}"
2141
+ end
2142
+ ```
2143
+
2144
+ ### Parameters
2145
+
2146
+ | Name | Type | Description | Notes |
2147
+ | ---- | ---- | ----------- | ----- |
2148
+ | **id** | **String** | | |
2149
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2150
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2151
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2152
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2153
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2154
+
2155
+ ### Return type
2156
+
2157
+ [**RecallsResponse**](RecallsResponse.md)
2158
+
2159
+ ### Authorization
2160
+
2161
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2162
+
2163
+ ### HTTP request headers
2164
+
2165
+ - **Content-Type**: Not defined
2166
+ - **Accept**: application/json
2167
+
2168
+
2169
+ ## legal_entities_sbti_crosscheck
2170
+
2171
+ > <SbtiCrosscheckResponse> legal_entities_sbti_crosscheck(id, opts)
2172
+
2173
+ SBTi cross-check
2174
+
2175
+ ### Examples
2176
+
2177
+ ```ruby
2178
+ require 'time'
2179
+ require 'pharmaobservatory'
2180
+ # setup authorization
2181
+ PharmaObservatory.configure do |config|
2182
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2183
+ config.access_token = 'YOUR_BEARER_TOKEN'
2184
+ end
2185
+
2186
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2187
+ id = 'edgar:0001114448' # String |
2188
+ opts = {
2189
+ 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.
2190
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2191
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2192
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2193
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2194
+ }
2195
+
2196
+ begin
2197
+ # SBTi cross-check
2198
+ result = api_instance.legal_entities_sbti_crosscheck(id, opts)
2199
+ p result
2200
+ rescue PharmaObservatory::ApiError => e
2201
+ puts "Error when calling LegalEntitiesApi->legal_entities_sbti_crosscheck: #{e}"
136
2202
  end
137
2203
  ```
138
2204
 
139
- #### Using the legal_entities_company_programs_with_http_info variant
2205
+ #### Using the legal_entities_sbti_crosscheck_with_http_info variant
140
2206
 
141
2207
  This returns an Array which contains the response data, status code and headers.
142
2208
 
143
- > <Array(<CompanyProgramsResponse>, Integer, Hash)> legal_entities_company_programs_with_http_info(id, opts)
2209
+ > <Array(<SbtiCrosscheckResponse>, Integer, Hash)> legal_entities_sbti_crosscheck_with_http_info(id, opts)
144
2210
 
145
2211
  ```ruby
146
2212
  begin
147
- # Company programs
148
- data, status_code, headers = api_instance.legal_entities_company_programs_with_http_info(id, opts)
2213
+ # SBTi cross-check
2214
+ data, status_code, headers = api_instance.legal_entities_sbti_crosscheck_with_http_info(id, opts)
149
2215
  p status_code # => 2xx
150
2216
  p headers # => { ... }
151
- p data # => <CompanyProgramsResponse>
2217
+ p data # => <SbtiCrosscheckResponse>
152
2218
  rescue PharmaObservatory::ApiError => e
153
- puts "Error when calling LegalEntitiesApi->legal_entities_company_programs_with_http_info: #{e}"
2219
+ puts "Error when calling LegalEntitiesApi->legal_entities_sbti_crosscheck_with_http_info: #{e}"
154
2220
  end
155
2221
  ```
156
2222
 
@@ -167,7 +2233,7 @@ end
167
2233
 
168
2234
  ### Return type
169
2235
 
170
- [**CompanyProgramsResponse**](CompanyProgramsResponse.md)
2236
+ [**SbtiCrosscheckResponse**](SbtiCrosscheckResponse.md)
171
2237
 
172
2238
  ### Authorization
173
2239
 
@@ -179,11 +2245,11 @@ end
179
2245
  - **Accept**: application/json
180
2246
 
181
2247
 
182
- ## legal_entities_drug_patent_cliff
2248
+ ## legal_entities_sec_pdufa_dates
183
2249
 
184
- > <DrugPatentCliffResponse> legal_entities_drug_patent_cliff(id, opts)
2250
+ > <SecPdufaDatesResponse> legal_entities_sec_pdufa_dates(id, opts)
185
2251
 
186
- Patent-cliff exposure
2252
+ FDA dates disclosed in SEC filings
187
2253
 
188
2254
  ### Examples
189
2255
 
@@ -207,29 +2273,29 @@ opts = {
207
2273
  }
208
2274
 
209
2275
  begin
210
- # Patent-cliff exposure
211
- result = api_instance.legal_entities_drug_patent_cliff(id, opts)
2276
+ # FDA dates disclosed in SEC filings
2277
+ result = api_instance.legal_entities_sec_pdufa_dates(id, opts)
212
2278
  p result
213
2279
  rescue PharmaObservatory::ApiError => e
214
- puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff: #{e}"
2280
+ puts "Error when calling LegalEntitiesApi->legal_entities_sec_pdufa_dates: #{e}"
215
2281
  end
216
2282
  ```
217
2283
 
218
- #### Using the legal_entities_drug_patent_cliff_with_http_info variant
2284
+ #### Using the legal_entities_sec_pdufa_dates_with_http_info variant
219
2285
 
220
2286
  This returns an Array which contains the response data, status code and headers.
221
2287
 
222
- > <Array(<DrugPatentCliffResponse>, Integer, Hash)> legal_entities_drug_patent_cliff_with_http_info(id, opts)
2288
+ > <Array(<SecPdufaDatesResponse>, Integer, Hash)> legal_entities_sec_pdufa_dates_with_http_info(id, opts)
223
2289
 
224
2290
  ```ruby
225
2291
  begin
226
- # Patent-cliff exposure
227
- data, status_code, headers = api_instance.legal_entities_drug_patent_cliff_with_http_info(id, opts)
2292
+ # FDA dates disclosed in SEC filings
2293
+ data, status_code, headers = api_instance.legal_entities_sec_pdufa_dates_with_http_info(id, opts)
228
2294
  p status_code # => 2xx
229
2295
  p headers # => { ... }
230
- p data # => <DrugPatentCliffResponse>
2296
+ p data # => <SecPdufaDatesResponse>
231
2297
  rescue PharmaObservatory::ApiError => e
232
- puts "Error when calling LegalEntitiesApi->legal_entities_drug_patent_cliff_with_http_info: #{e}"
2298
+ puts "Error when calling LegalEntitiesApi->legal_entities_sec_pdufa_dates_with_http_info: #{e}"
233
2299
  end
234
2300
  ```
235
2301
 
@@ -246,7 +2312,7 @@ end
246
2312
 
247
2313
  ### Return type
248
2314
 
249
- [**DrugPatentCliffResponse**](DrugPatentCliffResponse.md)
2315
+ [**SecPdufaDatesResponse**](SecPdufaDatesResponse.md)
250
2316
 
251
2317
  ### Authorization
252
2318
 
@@ -258,11 +2324,11 @@ end
258
2324
  - **Accept**: application/json
259
2325
 
260
2326
 
261
- ## legal_entities_get
2327
+ ## legal_entities_sponsor_delivery
262
2328
 
263
- > <LegalEntitiesRecord> legal_entities_get(id)
2329
+ > <SponsorDeliveryResponse> legal_entities_sponsor_delivery(id, opts)
264
2330
 
265
- One legal entity
2331
+ Sponsor delivery reliability
266
2332
 
267
2333
  ### Examples
268
2334
 
@@ -277,31 +2343,38 @@ end
277
2343
 
278
2344
  api_instance = PharmaObservatory::LegalEntitiesApi.new
279
2345
  id = 'edgar:0001114448' # String |
2346
+ opts = {
2347
+ 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.
2348
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2349
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2350
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2351
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2352
+ }
280
2353
 
281
2354
  begin
282
- # One legal entity
283
- result = api_instance.legal_entities_get(id)
2355
+ # Sponsor delivery reliability
2356
+ result = api_instance.legal_entities_sponsor_delivery(id, opts)
284
2357
  p result
285
2358
  rescue PharmaObservatory::ApiError => e
286
- puts "Error when calling LegalEntitiesApi->legal_entities_get: #{e}"
2359
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_delivery: #{e}"
287
2360
  end
288
2361
  ```
289
2362
 
290
- #### Using the legal_entities_get_with_http_info variant
2363
+ #### Using the legal_entities_sponsor_delivery_with_http_info variant
291
2364
 
292
2365
  This returns an Array which contains the response data, status code and headers.
293
2366
 
294
- > <Array(<LegalEntitiesRecord>, Integer, Hash)> legal_entities_get_with_http_info(id)
2367
+ > <Array(<SponsorDeliveryResponse>, Integer, Hash)> legal_entities_sponsor_delivery_with_http_info(id, opts)
295
2368
 
296
2369
  ```ruby
297
2370
  begin
298
- # One legal entity
299
- data, status_code, headers = api_instance.legal_entities_get_with_http_info(id)
2371
+ # Sponsor delivery reliability
2372
+ data, status_code, headers = api_instance.legal_entities_sponsor_delivery_with_http_info(id, opts)
300
2373
  p status_code # => 2xx
301
2374
  p headers # => { ... }
302
- p data # => <LegalEntitiesRecord>
2375
+ p data # => <SponsorDeliveryResponse>
303
2376
  rescue PharmaObservatory::ApiError => e
304
- puts "Error when calling LegalEntitiesApi->legal_entities_get_with_http_info: #{e}"
2377
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_delivery_with_http_info: #{e}"
305
2378
  end
306
2379
  ```
307
2380
 
@@ -310,10 +2383,15 @@ end
310
2383
  | Name | Type | Description | Notes |
311
2384
  | ---- | ---- | ----------- | ----- |
312
2385
  | **id** | **String** | | |
2386
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2387
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2388
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2389
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2390
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
313
2391
 
314
2392
  ### Return type
315
2393
 
316
- [**LegalEntitiesRecord**](LegalEntitiesRecord.md)
2394
+ [**SponsorDeliveryResponse**](SponsorDeliveryResponse.md)
317
2395
 
318
2396
  ### Authorization
319
2397
 
@@ -325,11 +2403,11 @@ end
325
2403
  - **Accept**: application/json
326
2404
 
327
2405
 
328
- ## legal_entities_institutional_holdings
2406
+ ## legal_entities_sponsor_patent_mentions
329
2407
 
330
- > <InstitutionalHoldingsResponse> legal_entities_institutional_holdings(id, opts)
2408
+ > <SponsorPatentMentionsResponse> legal_entities_sponsor_patent_mentions(id, opts)
331
2409
 
332
- Institutional holdings (SEC Form 13F)
2410
+ Sponsor patent mentions
333
2411
 
334
2412
  ### Examples
335
2413
 
@@ -353,29 +2431,29 @@ opts = {
353
2431
  }
354
2432
 
355
2433
  begin
356
- # Institutional holdings (SEC Form 13F)
357
- result = api_instance.legal_entities_institutional_holdings(id, opts)
2434
+ # Sponsor patent mentions
2435
+ result = api_instance.legal_entities_sponsor_patent_mentions(id, opts)
358
2436
  p result
359
2437
  rescue PharmaObservatory::ApiError => e
360
- puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings: #{e}"
2438
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_patent_mentions: #{e}"
361
2439
  end
362
2440
  ```
363
2441
 
364
- #### Using the legal_entities_institutional_holdings_with_http_info variant
2442
+ #### Using the legal_entities_sponsor_patent_mentions_with_http_info variant
365
2443
 
366
2444
  This returns an Array which contains the response data, status code and headers.
367
2445
 
368
- > <Array(<InstitutionalHoldingsResponse>, Integer, Hash)> legal_entities_institutional_holdings_with_http_info(id, opts)
2446
+ > <Array(<SponsorPatentMentionsResponse>, Integer, Hash)> legal_entities_sponsor_patent_mentions_with_http_info(id, opts)
369
2447
 
370
2448
  ```ruby
371
2449
  begin
372
- # Institutional holdings (SEC Form 13F)
373
- data, status_code, headers = api_instance.legal_entities_institutional_holdings_with_http_info(id, opts)
2450
+ # Sponsor patent mentions
2451
+ data, status_code, headers = api_instance.legal_entities_sponsor_patent_mentions_with_http_info(id, opts)
374
2452
  p status_code # => 2xx
375
2453
  p headers # => { ... }
376
- p data # => <InstitutionalHoldingsResponse>
2454
+ p data # => <SponsorPatentMentionsResponse>
377
2455
  rescue PharmaObservatory::ApiError => e
378
- puts "Error when calling LegalEntitiesApi->legal_entities_institutional_holdings_with_http_info: #{e}"
2456
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_patent_mentions_with_http_info: #{e}"
379
2457
  end
380
2458
  ```
381
2459
 
@@ -392,7 +2470,7 @@ end
392
2470
 
393
2471
  ### Return type
394
2472
 
395
- [**InstitutionalHoldingsResponse**](InstitutionalHoldingsResponse.md)
2473
+ [**SponsorPatentMentionsResponse**](SponsorPatentMentionsResponse.md)
396
2474
 
397
2475
  ### Authorization
398
2476
 
@@ -404,11 +2482,11 @@ end
404
2482
  - **Accept**: application/json
405
2483
 
406
2484
 
407
- ## legal_entities_list
2485
+ ## legal_entities_sponsor_recruitment_by_phase
408
2486
 
409
- > <LegalEntitiesResponse> legal_entities_list(opts)
2487
+ > <SponsorRecruitmentByPhaseResponse> legal_entities_sponsor_recruitment_by_phase(id, opts)
410
2488
 
411
- List legal entities
2489
+ Trial recruitment duration by sponsor and phase
412
2490
 
413
2491
  ### Examples
414
2492
 
@@ -422,6 +2500,7 @@ PharmaObservatory.configure do |config|
422
2500
  end
423
2501
 
424
2502
  api_instance = PharmaObservatory::LegalEntitiesApi.new
2503
+ id = 'edgar:0001114448' # String |
425
2504
  opts = {
426
2505
  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
2506
  limit: 56, # Integer | Rows per page, up to 500 (default 50).
@@ -431,29 +2510,29 @@ opts = {
431
2510
  }
432
2511
 
433
2512
  begin
434
- # List legal entities
435
- result = api_instance.legal_entities_list(opts)
2513
+ # Trial recruitment duration by sponsor and phase
2514
+ result = api_instance.legal_entities_sponsor_recruitment_by_phase(id, opts)
436
2515
  p result
437
2516
  rescue PharmaObservatory::ApiError => e
438
- puts "Error when calling LegalEntitiesApi->legal_entities_list: #{e}"
2517
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase: #{e}"
439
2518
  end
440
2519
  ```
441
2520
 
442
- #### Using the legal_entities_list_with_http_info variant
2521
+ #### Using the legal_entities_sponsor_recruitment_by_phase_with_http_info variant
443
2522
 
444
2523
  This returns an Array which contains the response data, status code and headers.
445
2524
 
446
- > <Array(<LegalEntitiesResponse>, Integer, Hash)> legal_entities_list_with_http_info(opts)
2525
+ > <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
447
2526
 
448
2527
  ```ruby
449
2528
  begin
450
- # List legal entities
451
- data, status_code, headers = api_instance.legal_entities_list_with_http_info(opts)
2529
+ # Trial recruitment duration by sponsor and phase
2530
+ data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
452
2531
  p status_code # => 2xx
453
2532
  p headers # => { ... }
454
- p data # => <LegalEntitiesResponse>
2533
+ p data # => <SponsorRecruitmentByPhaseResponse>
455
2534
  rescue PharmaObservatory::ApiError => e
456
- puts "Error when calling LegalEntitiesApi->legal_entities_list_with_http_info: #{e}"
2535
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase_with_http_info: #{e}"
457
2536
  end
458
2537
  ```
459
2538
 
@@ -461,6 +2540,7 @@ end
461
2540
 
462
2541
  | Name | Type | Description | Notes |
463
2542
  | ---- | ---- | ----------- | ----- |
2543
+ | **id** | **String** | | |
464
2544
  | **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
2545
  | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
466
2546
  | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
@@ -469,7 +2549,7 @@ end
469
2549
 
470
2550
  ### Return type
471
2551
 
472
- [**LegalEntitiesResponse**](LegalEntitiesResponse.md)
2552
+ [**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
473
2553
 
474
2554
  ### Authorization
475
2555
 
@@ -481,11 +2561,11 @@ end
481
2561
  - **Accept**: application/json
482
2562
 
483
2563
 
484
- ## legal_entities_org_disclosures
2564
+ ## legal_entities_sponsor_recruitment_duration
485
2565
 
486
- > <OrgDisclosuresResponse> legal_entities_org_disclosures(id, opts)
2566
+ > <SponsorRecruitmentDurationResponse> legal_entities_sponsor_recruitment_duration(id, opts)
487
2567
 
488
- Organization disclosures (climate and diversity)
2568
+ Trial recruitment duration by sponsor
489
2569
 
490
2570
  ### Examples
491
2571
 
@@ -509,29 +2589,29 @@ opts = {
509
2589
  }
510
2590
 
511
2591
  begin
512
- # Organization disclosures (climate and diversity)
513
- result = api_instance.legal_entities_org_disclosures(id, opts)
2592
+ # Trial recruitment duration by sponsor
2593
+ result = api_instance.legal_entities_sponsor_recruitment_duration(id, opts)
514
2594
  p result
515
2595
  rescue PharmaObservatory::ApiError => e
516
- puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures: #{e}"
2596
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration: #{e}"
517
2597
  end
518
2598
  ```
519
2599
 
520
- #### Using the legal_entities_org_disclosures_with_http_info variant
2600
+ #### Using the legal_entities_sponsor_recruitment_duration_with_http_info variant
521
2601
 
522
2602
  This returns an Array which contains the response data, status code and headers.
523
2603
 
524
- > <Array(<OrgDisclosuresResponse>, Integer, Hash)> legal_entities_org_disclosures_with_http_info(id, opts)
2604
+ > <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
525
2605
 
526
2606
  ```ruby
527
2607
  begin
528
- # Organization disclosures (climate and diversity)
529
- data, status_code, headers = api_instance.legal_entities_org_disclosures_with_http_info(id, opts)
2608
+ # Trial recruitment duration by sponsor
2609
+ data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
530
2610
  p status_code # => 2xx
531
2611
  p headers # => { ... }
532
- p data # => <OrgDisclosuresResponse>
2612
+ p data # => <SponsorRecruitmentDurationResponse>
533
2613
  rescue PharmaObservatory::ApiError => e
534
- puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures_with_http_info: #{e}"
2614
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration_with_http_info: #{e}"
535
2615
  end
536
2616
  ```
537
2617
 
@@ -548,7 +2628,7 @@ end
548
2628
 
549
2629
  ### Return type
550
2630
 
551
- [**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
2631
+ [**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
552
2632
 
553
2633
  ### Authorization
554
2634
 
@@ -560,11 +2640,11 @@ end
560
2640
  - **Accept**: application/json
561
2641
 
562
2642
 
563
- ## legal_entities_org_relationships
2643
+ ## legal_entities_sponsor_trial_conditions
564
2644
 
565
- > <OrgRelationshipsResponse> legal_entities_org_relationships(id, opts)
2645
+ > <SponsorTrialConditionsResponse> legal_entities_sponsor_trial_conditions(id, opts)
566
2646
 
567
- Organization relationships
2647
+ Sponsor trial conditions
568
2648
 
569
2649
  ### Examples
570
2650
 
@@ -588,29 +2668,29 @@ opts = {
588
2668
  }
589
2669
 
590
2670
  begin
591
- # Organization relationships
592
- result = api_instance.legal_entities_org_relationships(id, opts)
2671
+ # Sponsor trial conditions
2672
+ result = api_instance.legal_entities_sponsor_trial_conditions(id, opts)
593
2673
  p result
594
2674
  rescue PharmaObservatory::ApiError => e
595
- puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships: #{e}"
2675
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_conditions: #{e}"
596
2676
  end
597
2677
  ```
598
2678
 
599
- #### Using the legal_entities_org_relationships_with_http_info variant
2679
+ #### Using the legal_entities_sponsor_trial_conditions_with_http_info variant
600
2680
 
601
2681
  This returns an Array which contains the response data, status code and headers.
602
2682
 
603
- > <Array(<OrgRelationshipsResponse>, Integer, Hash)> legal_entities_org_relationships_with_http_info(id, opts)
2683
+ > <Array(<SponsorTrialConditionsResponse>, Integer, Hash)> legal_entities_sponsor_trial_conditions_with_http_info(id, opts)
604
2684
 
605
2685
  ```ruby
606
2686
  begin
607
- # Organization relationships
608
- data, status_code, headers = api_instance.legal_entities_org_relationships_with_http_info(id, opts)
2687
+ # Sponsor trial conditions
2688
+ data, status_code, headers = api_instance.legal_entities_sponsor_trial_conditions_with_http_info(id, opts)
609
2689
  p status_code # => 2xx
610
2690
  p headers # => { ... }
611
- p data # => <OrgRelationshipsResponse>
2691
+ p data # => <SponsorTrialConditionsResponse>
612
2692
  rescue PharmaObservatory::ApiError => e
613
- puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships_with_http_info: #{e}"
2693
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_conditions_with_http_info: #{e}"
614
2694
  end
615
2695
  ```
616
2696
 
@@ -627,7 +2707,7 @@ end
627
2707
 
628
2708
  ### Return type
629
2709
 
630
- [**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
2710
+ [**SponsorTrialConditionsResponse**](SponsorTrialConditionsResponse.md)
631
2711
 
632
2712
  ### Authorization
633
2713
 
@@ -639,11 +2719,11 @@ end
639
2719
  - **Accept**: application/json
640
2720
 
641
2721
 
642
- ## legal_entities_ownership_positions
2722
+ ## legal_entities_sponsor_trial_drugs
643
2723
 
644
- > <OwnershipPositionsResponse> legal_entities_ownership_positions(id, opts)
2724
+ > <SponsorTrialDrugsResponse> legal_entities_sponsor_trial_drugs(id, opts)
645
2725
 
646
- Ownership and control positions
2726
+ Sponsor trial drugs
647
2727
 
648
2728
  ### Examples
649
2729
 
@@ -667,29 +2747,29 @@ opts = {
667
2747
  }
668
2748
 
669
2749
  begin
670
- # Ownership and control positions
671
- result = api_instance.legal_entities_ownership_positions(id, opts)
2750
+ # Sponsor trial drugs
2751
+ result = api_instance.legal_entities_sponsor_trial_drugs(id, opts)
672
2752
  p result
673
2753
  rescue PharmaObservatory::ApiError => e
674
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions: #{e}"
2754
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_drugs: #{e}"
675
2755
  end
676
2756
  ```
677
2757
 
678
- #### Using the legal_entities_ownership_positions_with_http_info variant
2758
+ #### Using the legal_entities_sponsor_trial_drugs_with_http_info variant
679
2759
 
680
2760
  This returns an Array which contains the response data, status code and headers.
681
2761
 
682
- > <Array(<OwnershipPositionsResponse>, Integer, Hash)> legal_entities_ownership_positions_with_http_info(id, opts)
2762
+ > <Array(<SponsorTrialDrugsResponse>, Integer, Hash)> legal_entities_sponsor_trial_drugs_with_http_info(id, opts)
683
2763
 
684
2764
  ```ruby
685
2765
  begin
686
- # Ownership and control positions
687
- data, status_code, headers = api_instance.legal_entities_ownership_positions_with_http_info(id, opts)
2766
+ # Sponsor trial drugs
2767
+ data, status_code, headers = api_instance.legal_entities_sponsor_trial_drugs_with_http_info(id, opts)
688
2768
  p status_code # => 2xx
689
2769
  p headers # => { ... }
690
- p data # => <OwnershipPositionsResponse>
2770
+ p data # => <SponsorTrialDrugsResponse>
691
2771
  rescue PharmaObservatory::ApiError => e
692
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions_with_http_info: #{e}"
2772
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_drugs_with_http_info: #{e}"
693
2773
  end
694
2774
  ```
695
2775
 
@@ -706,7 +2786,7 @@ end
706
2786
 
707
2787
  ### Return type
708
2788
 
709
- [**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
2789
+ [**SponsorTrialDrugsResponse**](SponsorTrialDrugsResponse.md)
710
2790
 
711
2791
  ### Authorization
712
2792
 
@@ -718,11 +2798,11 @@ end
718
2798
  - **Accept**: application/json
719
2799
 
720
2800
 
721
- ## legal_entities_pdufa_dates
2801
+ ## legal_entities_sponsor_trial_start_forecast
722
2802
 
723
- > <PdufaDatesResponse> legal_entities_pdufa_dates(id, opts)
2803
+ > <SponsorTrialStartForecastResponse> legal_entities_sponsor_trial_start_forecast(id, opts)
724
2804
 
725
- FDA decision dates (PDUFA) and catalysts
2805
+ Trial-start forecast by sponsor
726
2806
 
727
2807
  ### Examples
728
2808
 
@@ -746,29 +2826,29 @@ opts = {
746
2826
  }
747
2827
 
748
2828
  begin
749
- # FDA decision dates (PDUFA) and catalysts
750
- result = api_instance.legal_entities_pdufa_dates(id, opts)
2829
+ # Trial-start forecast by sponsor
2830
+ result = api_instance.legal_entities_sponsor_trial_start_forecast(id, opts)
751
2831
  p result
752
2832
  rescue PharmaObservatory::ApiError => e
753
- puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates: #{e}"
2833
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_start_forecast: #{e}"
754
2834
  end
755
2835
  ```
756
2836
 
757
- #### Using the legal_entities_pdufa_dates_with_http_info variant
2837
+ #### Using the legal_entities_sponsor_trial_start_forecast_with_http_info variant
758
2838
 
759
2839
  This returns an Array which contains the response data, status code and headers.
760
2840
 
761
- > <Array(<PdufaDatesResponse>, Integer, Hash)> legal_entities_pdufa_dates_with_http_info(id, opts)
2841
+ > <Array(<SponsorTrialStartForecastResponse>, Integer, Hash)> legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
762
2842
 
763
2843
  ```ruby
764
2844
  begin
765
- # FDA decision dates (PDUFA) and catalysts
766
- data, status_code, headers = api_instance.legal_entities_pdufa_dates_with_http_info(id, opts)
2845
+ # Trial-start forecast by sponsor
2846
+ data, status_code, headers = api_instance.legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
767
2847
  p status_code # => 2xx
768
2848
  p headers # => { ... }
769
- p data # => <PdufaDatesResponse>
2849
+ p data # => <SponsorTrialStartForecastResponse>
770
2850
  rescue PharmaObservatory::ApiError => e
771
- puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates_with_http_info: #{e}"
2851
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_start_forecast_with_http_info: #{e}"
772
2852
  end
773
2853
  ```
774
2854
 
@@ -785,7 +2865,7 @@ end
785
2865
 
786
2866
  ### Return type
787
2867
 
788
- [**PdufaDatesResponse**](PdufaDatesResponse.md)
2868
+ [**SponsorTrialStartForecastResponse**](SponsorTrialStartForecastResponse.md)
789
2869
 
790
2870
  ### Authorization
791
2871
 
@@ -797,11 +2877,11 @@ end
797
2877
  - **Accept**: application/json
798
2878
 
799
2879
 
800
- ## legal_entities_sponsor_recruitment_by_phase
2880
+ ## legal_entities_sponsor_trials
801
2881
 
802
- > <SponsorRecruitmentByPhaseResponse> legal_entities_sponsor_recruitment_by_phase(id, opts)
2882
+ > <SponsorTrialsResponse> legal_entities_sponsor_trials(id, opts)
803
2883
 
804
- Trial recruitment duration by sponsor and phase
2884
+ Sponsor trials
805
2885
 
806
2886
  ### Examples
807
2887
 
@@ -825,29 +2905,29 @@ opts = {
825
2905
  }
826
2906
 
827
2907
  begin
828
- # Trial recruitment duration by sponsor and phase
829
- result = api_instance.legal_entities_sponsor_recruitment_by_phase(id, opts)
2908
+ # Sponsor trials
2909
+ result = api_instance.legal_entities_sponsor_trials(id, opts)
830
2910
  p result
831
2911
  rescue PharmaObservatory::ApiError => e
832
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase: #{e}"
2912
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trials: #{e}"
833
2913
  end
834
2914
  ```
835
2915
 
836
- #### Using the legal_entities_sponsor_recruitment_by_phase_with_http_info variant
2916
+ #### Using the legal_entities_sponsor_trials_with_http_info variant
837
2917
 
838
2918
  This returns an Array which contains the response data, status code and headers.
839
2919
 
840
- > <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
2920
+ > <Array(<SponsorTrialsResponse>, Integer, Hash)> legal_entities_sponsor_trials_with_http_info(id, opts)
841
2921
 
842
2922
  ```ruby
843
2923
  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)
2924
+ # Sponsor trials
2925
+ data, status_code, headers = api_instance.legal_entities_sponsor_trials_with_http_info(id, opts)
846
2926
  p status_code # => 2xx
847
2927
  p headers # => { ... }
848
- p data # => <SponsorRecruitmentByPhaseResponse>
2928
+ p data # => <SponsorTrialsResponse>
849
2929
  rescue PharmaObservatory::ApiError => e
850
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase_with_http_info: #{e}"
2930
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trials_with_http_info: #{e}"
851
2931
  end
852
2932
  ```
853
2933
 
@@ -864,7 +2944,7 @@ end
864
2944
 
865
2945
  ### Return type
866
2946
 
867
- [**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
2947
+ [**SponsorTrialsResponse**](SponsorTrialsResponse.md)
868
2948
 
869
2949
  ### Authorization
870
2950
 
@@ -876,11 +2956,11 @@ end
876
2956
  - **Accept**: application/json
877
2957
 
878
2958
 
879
- ## legal_entities_sponsor_recruitment_duration
2959
+ ## legal_entities_supplier_capability_esg
880
2960
 
881
- > <SponsorRecruitmentDurationResponse> legal_entities_sponsor_recruitment_duration(id, opts)
2961
+ > <SupplierCapabilityEsgResponse> legal_entities_supplier_capability_esg(id, opts)
882
2962
 
883
- Trial recruitment duration by sponsor
2963
+ Supplier capability and ESG disclosure
884
2964
 
885
2965
  ### Examples
886
2966
 
@@ -904,29 +2984,29 @@ opts = {
904
2984
  }
905
2985
 
906
2986
  begin
907
- # Trial recruitment duration by sponsor
908
- result = api_instance.legal_entities_sponsor_recruitment_duration(id, opts)
2987
+ # Supplier capability and ESG disclosure
2988
+ result = api_instance.legal_entities_supplier_capability_esg(id, opts)
909
2989
  p result
910
2990
  rescue PharmaObservatory::ApiError => e
911
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration: #{e}"
2991
+ puts "Error when calling LegalEntitiesApi->legal_entities_supplier_capability_esg: #{e}"
912
2992
  end
913
2993
  ```
914
2994
 
915
- #### Using the legal_entities_sponsor_recruitment_duration_with_http_info variant
2995
+ #### Using the legal_entities_supplier_capability_esg_with_http_info variant
916
2996
 
917
2997
  This returns an Array which contains the response data, status code and headers.
918
2998
 
919
- > <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
2999
+ > <Array(<SupplierCapabilityEsgResponse>, Integer, Hash)> legal_entities_supplier_capability_esg_with_http_info(id, opts)
920
3000
 
921
3001
  ```ruby
922
3002
  begin
923
- # Trial recruitment duration by sponsor
924
- data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
3003
+ # Supplier capability and ESG disclosure
3004
+ data, status_code, headers = api_instance.legal_entities_supplier_capability_esg_with_http_info(id, opts)
925
3005
  p status_code # => 2xx
926
3006
  p headers # => { ... }
927
- p data # => <SponsorRecruitmentDurationResponse>
3007
+ p data # => <SupplierCapabilityEsgResponse>
928
3008
  rescue PharmaObservatory::ApiError => e
929
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration_with_http_info: #{e}"
3009
+ puts "Error when calling LegalEntitiesApi->legal_entities_supplier_capability_esg_with_http_info: #{e}"
930
3010
  end
931
3011
  ```
932
3012
 
@@ -943,7 +3023,7 @@ end
943
3023
 
944
3024
  ### Return type
945
3025
 
946
- [**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
3026
+ [**SupplierCapabilityEsgResponse**](SupplierCapabilityEsgResponse.md)
947
3027
 
948
3028
  ### Authorization
949
3029
 
@@ -955,11 +3035,11 @@ end
955
3035
  - **Accept**: application/json
956
3036
 
957
3037
 
958
- ## legal_entities_sponsor_trial_start_forecast
3038
+ ## legal_entities_unmatched_product_revenue
959
3039
 
960
- > <SponsorTrialStartForecastResponse> legal_entities_sponsor_trial_start_forecast(id, opts)
3040
+ > <UnmatchedProductRevenueResponse> legal_entities_unmatched_product_revenue(id, opts)
961
3041
 
962
- Trial-start forecast by sponsor
3042
+ Unmatched product revenue
963
3043
 
964
3044
  ### Examples
965
3045
 
@@ -983,29 +3063,29 @@ opts = {
983
3063
  }
984
3064
 
985
3065
  begin
986
- # Trial-start forecast by sponsor
987
- result = api_instance.legal_entities_sponsor_trial_start_forecast(id, opts)
3066
+ # Unmatched product revenue
3067
+ result = api_instance.legal_entities_unmatched_product_revenue(id, opts)
988
3068
  p result
989
3069
  rescue PharmaObservatory::ApiError => e
990
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_start_forecast: #{e}"
3070
+ puts "Error when calling LegalEntitiesApi->legal_entities_unmatched_product_revenue: #{e}"
991
3071
  end
992
3072
  ```
993
3073
 
994
- #### Using the legal_entities_sponsor_trial_start_forecast_with_http_info variant
3074
+ #### Using the legal_entities_unmatched_product_revenue_with_http_info variant
995
3075
 
996
3076
  This returns an Array which contains the response data, status code and headers.
997
3077
 
998
- > <Array(<SponsorTrialStartForecastResponse>, Integer, Hash)> legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
3078
+ > <Array(<UnmatchedProductRevenueResponse>, Integer, Hash)> legal_entities_unmatched_product_revenue_with_http_info(id, opts)
999
3079
 
1000
3080
  ```ruby
1001
3081
  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)
3082
+ # Unmatched product revenue
3083
+ data, status_code, headers = api_instance.legal_entities_unmatched_product_revenue_with_http_info(id, opts)
1004
3084
  p status_code # => 2xx
1005
3085
  p headers # => { ... }
1006
- p data # => <SponsorTrialStartForecastResponse>
3086
+ p data # => <UnmatchedProductRevenueResponse>
1007
3087
  rescue PharmaObservatory::ApiError => e
1008
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_start_forecast_with_http_info: #{e}"
3088
+ puts "Error when calling LegalEntitiesApi->legal_entities_unmatched_product_revenue_with_http_info: #{e}"
1009
3089
  end
1010
3090
  ```
1011
3091
 
@@ -1022,7 +3102,7 @@ end
1022
3102
 
1023
3103
  ### Return type
1024
3104
 
1025
- [**SponsorTrialStartForecastResponse**](SponsorTrialStartForecastResponse.md)
3105
+ [**UnmatchedProductRevenueResponse**](UnmatchedProductRevenueResponse.md)
1026
3106
 
1027
3107
  ### Authorization
1028
3108
 
@@ -1034,11 +3114,11 @@ end
1034
3114
  - **Accept**: application/json
1035
3115
 
1036
3116
 
1037
- ## legal_entities_sponsor_trials
3117
+ ## legal_entities_untitled_letters
1038
3118
 
1039
- > <SponsorTrialsResponse> legal_entities_sponsor_trials(id, opts)
3119
+ > <UntitledLettersResponse> legal_entities_untitled_letters(id, opts)
1040
3120
 
1041
- Sponsor trials
3121
+ FDA untitled letters
1042
3122
 
1043
3123
  ### Examples
1044
3124
 
@@ -1062,29 +3142,29 @@ opts = {
1062
3142
  }
1063
3143
 
1064
3144
  begin
1065
- # Sponsor trials
1066
- result = api_instance.legal_entities_sponsor_trials(id, opts)
3145
+ # FDA untitled letters
3146
+ result = api_instance.legal_entities_untitled_letters(id, opts)
1067
3147
  p result
1068
3148
  rescue PharmaObservatory::ApiError => e
1069
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trials: #{e}"
3149
+ puts "Error when calling LegalEntitiesApi->legal_entities_untitled_letters: #{e}"
1070
3150
  end
1071
3151
  ```
1072
3152
 
1073
- #### Using the legal_entities_sponsor_trials_with_http_info variant
3153
+ #### Using the legal_entities_untitled_letters_with_http_info variant
1074
3154
 
1075
3155
  This returns an Array which contains the response data, status code and headers.
1076
3156
 
1077
- > <Array(<SponsorTrialsResponse>, Integer, Hash)> legal_entities_sponsor_trials_with_http_info(id, opts)
3157
+ > <Array(<UntitledLettersResponse>, Integer, Hash)> legal_entities_untitled_letters_with_http_info(id, opts)
1078
3158
 
1079
3159
  ```ruby
1080
3160
  begin
1081
- # Sponsor trials
1082
- data, status_code, headers = api_instance.legal_entities_sponsor_trials_with_http_info(id, opts)
3161
+ # FDA untitled letters
3162
+ data, status_code, headers = api_instance.legal_entities_untitled_letters_with_http_info(id, opts)
1083
3163
  p status_code # => 2xx
1084
3164
  p headers # => { ... }
1085
- p data # => <SponsorTrialsResponse>
3165
+ p data # => <UntitledLettersResponse>
1086
3166
  rescue PharmaObservatory::ApiError => e
1087
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trials_with_http_info: #{e}"
3167
+ puts "Error when calling LegalEntitiesApi->legal_entities_untitled_letters_with_http_info: #{e}"
1088
3168
  end
1089
3169
  ```
1090
3170
 
@@ -1101,7 +3181,7 @@ end
1101
3181
 
1102
3182
  ### Return type
1103
3183
 
1104
- [**SponsorTrialsResponse**](SponsorTrialsResponse.md)
3184
+ [**UntitledLettersResponse**](UntitledLettersResponse.md)
1105
3185
 
1106
3186
  ### Authorization
1107
3187
 
@@ -1113,11 +3193,11 @@ end
1113
3193
  - **Accept**: application/json
1114
3194
 
1115
3195
 
1116
- ## legal_entities_supplier_capability_esg
3196
+ ## legal_entities_warning_letters
1117
3197
 
1118
- > <SupplierCapabilityEsgResponse> legal_entities_supplier_capability_esg(id, opts)
3198
+ > <WarningLettersResponse> legal_entities_warning_letters(id, opts)
1119
3199
 
1120
- Supplier capability and ESG disclosure
3200
+ FDA warning letters
1121
3201
 
1122
3202
  ### Examples
1123
3203
 
@@ -1141,29 +3221,29 @@ opts = {
1141
3221
  }
1142
3222
 
1143
3223
  begin
1144
- # Supplier capability and ESG disclosure
1145
- result = api_instance.legal_entities_supplier_capability_esg(id, opts)
3224
+ # FDA warning letters
3225
+ result = api_instance.legal_entities_warning_letters(id, opts)
1146
3226
  p result
1147
3227
  rescue PharmaObservatory::ApiError => e
1148
- puts "Error when calling LegalEntitiesApi->legal_entities_supplier_capability_esg: #{e}"
3228
+ puts "Error when calling LegalEntitiesApi->legal_entities_warning_letters: #{e}"
1149
3229
  end
1150
3230
  ```
1151
3231
 
1152
- #### Using the legal_entities_supplier_capability_esg_with_http_info variant
3232
+ #### Using the legal_entities_warning_letters_with_http_info variant
1153
3233
 
1154
3234
  This returns an Array which contains the response data, status code and headers.
1155
3235
 
1156
- > <Array(<SupplierCapabilityEsgResponse>, Integer, Hash)> legal_entities_supplier_capability_esg_with_http_info(id, opts)
3236
+ > <Array(<WarningLettersResponse>, Integer, Hash)> legal_entities_warning_letters_with_http_info(id, opts)
1157
3237
 
1158
3238
  ```ruby
1159
3239
  begin
1160
- # Supplier capability and ESG disclosure
1161
- data, status_code, headers = api_instance.legal_entities_supplier_capability_esg_with_http_info(id, opts)
3240
+ # FDA warning letters
3241
+ data, status_code, headers = api_instance.legal_entities_warning_letters_with_http_info(id, opts)
1162
3242
  p status_code # => 2xx
1163
3243
  p headers # => { ... }
1164
- p data # => <SupplierCapabilityEsgResponse>
3244
+ p data # => <WarningLettersResponse>
1165
3245
  rescue PharmaObservatory::ApiError => e
1166
- puts "Error when calling LegalEntitiesApi->legal_entities_supplier_capability_esg_with_http_info: #{e}"
3246
+ puts "Error when calling LegalEntitiesApi->legal_entities_warning_letters_with_http_info: #{e}"
1167
3247
  end
1168
3248
  ```
1169
3249
 
@@ -1180,7 +3260,7 @@ end
1180
3260
 
1181
3261
  ### Return type
1182
3262
 
1183
- [**SupplierCapabilityEsgResponse**](SupplierCapabilityEsgResponse.md)
3263
+ [**WarningLettersResponse**](WarningLettersResponse.md)
1184
3264
 
1185
3265
  ### Authorization
1186
3266