pharmaobservatory 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +269 -4
- data/docs/BrandCompaniesResponse.md +58 -0
- data/docs/BrandCompaniesRow.md +50 -0
- data/docs/BrandRevenueResponse.md +58 -0
- data/docs/BrandRevenueRow.md +60 -0
- data/docs/CatalystsResponse.md +58 -0
- data/docs/CatalystsRow.md +90 -0
- data/docs/CliaCertificatesResponse.md +58 -0
- data/docs/CliaCertificatesRow.md +80 -0
- data/docs/CompaniesApi.md +1675 -117
- data/docs/CompaniesRecordAttributes.md +3 -1
- data/docs/CompanyFundingEventsRow.md +2 -0
- data/docs/CompanyTrialGeographyResponse.md +58 -0
- data/docs/CompanyTrialGeographyRow.md +52 -0
- data/docs/CompanyTrialSitesResponse.md +58 -0
- data/docs/CompanyTrialSitesRow.md +52 -0
- data/docs/ConditionsApi.md +320 -0
- data/docs/CroFootprintResponse.md +58 -0
- data/docs/CroFootprintRow.md +34 -0
- data/docs/CroTrialsResponse.md +58 -0
- data/docs/CroTrialsRow.md +46 -0
- data/docs/DebarmentsResponse.md +58 -0
- data/docs/DebarmentsRow.md +44 -0
- data/docs/DrugApprovalsResponse.md +58 -0
- data/docs/DrugApprovalsRow.md +28 -0
- data/docs/DrugAspCodesResponse.md +58 -0
- data/docs/DrugAspCodesRow.md +28 -0
- data/docs/DrugBrandsResponse.md +58 -0
- data/docs/DrugBrandsRow.md +60 -0
- data/docs/DrugCombinationsResponse.md +58 -0
- data/docs/DrugCombinationsRow.md +32 -0
- data/docs/DrugDeclaredPatentsResponse.md +58 -0
- data/docs/DrugDeclaredPatentsRow.md +58 -0
- data/docs/DrugLabelSafetyResponse.md +58 -0
- data/docs/DrugLabelSafetyRow.md +32 -0
- data/docs/DrugMedicareSpendResponse.md +58 -0
- data/docs/DrugMedicareSpendRow.md +28 -0
- data/docs/DrugPatentCliffRow.md +3 -1
- data/docs/DrugPatentMentionsResponse.md +58 -0
- data/docs/DrugPatentMentionsRow.md +28 -0
- data/docs/DrugPatentOwnersResponse.md +58 -0
- data/docs/DrugPatentOwnersRow.md +42 -0
- data/docs/DrugPricingResponse.md +58 -0
- data/docs/DrugPricingRow.md +32 -0
- data/docs/DrugRecallsResponse.md +58 -0
- data/docs/DrugRecallsRow.md +34 -0
- data/docs/DrugRegulatoryResponse.md +58 -0
- data/docs/DrugRegulatoryRow.md +38 -0
- data/docs/DrugSitesResponse.md +58 -0
- data/docs/DrugSitesRow.md +28 -0
- data/docs/DrugTargetsResponse.md +58 -0
- data/docs/DrugTargetsRow.md +36 -0
- data/docs/DrugTrialConditionsResponse.md +58 -0
- data/docs/DrugTrialConditionsRow.md +30 -0
- data/docs/DrugTrialsResponse.md +58 -0
- data/docs/DrugTrialsRow.md +58 -0
- data/docs/DrugVariantsResponse.md +58 -0
- data/docs/DrugVariantsRow.md +38 -0
- data/docs/DrugsApi.md +2153 -0
- data/docs/DrugsRecord.md +38 -0
- data/docs/DrugsRecordAttributes.md +20 -0
- data/docs/DrugsResponse.md +58 -0
- data/docs/DrugsRow.md +82 -0
- data/docs/EnforcementEventsResponse.md +58 -0
- data/docs/EnforcementEventsRow.md +64 -0
- data/docs/GxpFacilitiesResponse.md +58 -0
- data/docs/GxpFacilitiesRow.md +152 -0
- data/docs/HospitalBedsYearlyResponse.md +58 -0
- data/docs/HospitalBedsYearlyRow.md +28 -0
- data/docs/HospitalFacilityChangesResponse.md +58 -0
- data/docs/HospitalFacilityChangesRow.md +30 -0
- data/docs/HospitalsApi.md +393 -0
- data/docs/HospitalsRecord.md +38 -0
- data/docs/HospitalsResponse.md +58 -0
- data/docs/HospitalsRow.md +40 -0
- data/docs/ImportRefusalsResponse.md +58 -0
- data/docs/ImportRefusalsRow.md +60 -0
- data/docs/InspectionFindingsResponse.md +58 -0
- data/docs/InspectionFindingsRow.md +48 -0
- data/docs/InspectionsResponse.md +58 -0
- data/docs/InspectionsRow.md +60 -0
- data/docs/InstitutionalQuarterTotalsResponse.md +58 -0
- data/docs/InstitutionalQuarterTotalsRow.md +58 -0
- data/docs/LegalEntitiesApi.md +1379 -179
- data/docs/LegalEntitiesRecordAttributes.md +2 -0
- data/docs/OrgRelationshipsRow.md +1 -1
- data/docs/OwnershipPercentagesResponse.md +58 -0
- data/docs/OwnershipPercentagesRow.md +74 -0
- data/docs/PdufaDatesRow.md +1 -1
- data/docs/ProgramLicensingCandidatesResponse.md +58 -0
- data/docs/ProgramLicensingCandidatesRow.md +58 -0
- data/docs/ProgramsResponse.md +58 -0
- data/docs/ProgramsRow.md +46 -0
- data/docs/RareDiseaseGenesResponse.md +58 -0
- data/docs/RareDiseaseGenesRow.md +50 -0
- data/docs/RareDiseaseHierarchyResponse.md +58 -0
- data/docs/RareDiseaseHierarchyRow.md +40 -0
- data/docs/RareDiseaseInvestigatorCoverageResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorCoverageRow.md +38 -0
- data/docs/RareDiseaseInvestigatorsResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorsRow.md +56 -0
- data/docs/RareDiseaseMappingsResponse.md +58 -0
- data/docs/RareDiseaseMappingsRow.md +44 -0
- data/docs/RareDiseaseOrganizationsResponse.md +58 -0
- data/docs/RareDiseaseOrganizationsRow.md +60 -0
- data/docs/RareDiseasePrevalenceResponse.md +58 -0
- data/docs/RareDiseasePrevalenceRow.md +62 -0
- data/docs/RareDiseaseRarityEvidenceResponse.md +58 -0
- data/docs/RareDiseaseRarityEvidenceRow.md +36 -0
- data/docs/RareDiseaseRarityResponse.md +58 -0
- data/docs/RareDiseaseRarityRow.md +54 -0
- data/docs/RareDiseaseReplacementsResponse.md +58 -0
- data/docs/RareDiseaseReplacementsRow.md +40 -0
- data/docs/RareDiseaseSiteCoverageResponse.md +58 -0
- data/docs/RareDiseaseSiteCoverageRow.md +54 -0
- data/docs/RareDiseaseSponsorsResponse.md +58 -0
- data/docs/RareDiseaseSponsorsRow.md +82 -0
- data/docs/RareDiseaseTrialCoverageResponse.md +58 -0
- data/docs/RareDiseaseTrialCoverageRow.md +58 -0
- data/docs/RareDiseaseTrialSitesResponse.md +58 -0
- data/docs/RareDiseaseTrialSitesRow.md +52 -0
- data/docs/RareDiseaseTrialsResponse.md +58 -0
- data/docs/RareDiseaseTrialsRow.md +90 -0
- data/docs/RareDiseasesApi.md +1353 -0
- data/docs/RareDiseasesRecord.md +38 -0
- data/docs/RareDiseasesRecordAttributes.md +22 -0
- data/docs/RareDiseasesResponse.md +58 -0
- data/docs/RareDiseasesRow.md +68 -0
- data/docs/RecallsResponse.md +58 -0
- data/docs/RecallsRow.md +54 -0
- data/docs/RwdCoverageResponse.md +58 -0
- data/docs/RwdCoverageRow.md +52 -0
- data/docs/RwdRegisterProvenanceResponse.md +58 -0
- data/docs/RwdRegisterProvenanceRow.md +74 -0
- data/docs/RwdRegistersApi.md +313 -0
- data/docs/RwdRegistersRecord.md +38 -0
- data/docs/RwdSourceAgeBandsResponse.md +58 -0
- data/docs/RwdSourceAgeBandsRow.md +40 -0
- data/docs/RwdSourceConditionsResponse.md +58 -0
- data/docs/RwdSourceConditionsRow.md +68 -0
- data/docs/RwdSourceEtlMappingsResponse.md +58 -0
- data/docs/RwdSourceEtlMappingsRow.md +44 -0
- data/docs/RwdSourceLinkagesResponse.md +58 -0
- data/docs/RwdSourceLinkagesRow.md +64 -0
- data/docs/RwdSourceTypesResponse.md +58 -0
- data/docs/RwdSourceTypesRow.md +34 -0
- data/docs/RwdSourceVocabulariesResponse.md +58 -0
- data/docs/RwdSourceVocabulariesRow.md +42 -0
- data/docs/RwdSourcesApi.md +713 -0
- data/docs/RwdSourcesRecord.md +38 -0
- data/docs/RwdSourcesResponse.md +58 -0
- data/docs/RwdSourcesRow.md +280 -0
- data/docs/RwdStudiesApi.md +473 -0
- data/docs/RwdStudiesRecord.md +38 -0
- data/docs/RwdStudiesResponse.md +58 -0
- data/docs/RwdStudiesRow.md +180 -0
- data/docs/RwdStudyConditionsResponse.md +58 -0
- data/docs/RwdStudyConditionsRow.md +54 -0
- data/docs/RwdStudyDataSourcesResponse.md +58 -0
- data/docs/RwdStudyDataSourcesRow.md +54 -0
- data/docs/RwdStudyDrugsResponse.md +58 -0
- data/docs/RwdStudyDrugsRow.md +50 -0
- data/docs/RwdStudyMilestonesResponse.md +58 -0
- data/docs/RwdStudyMilestonesRow.md +54 -0
- data/docs/RwdWithheldFieldsResponse.md +58 -0
- data/docs/RwdWithheldFieldsRow.md +36 -0
- data/docs/SecPdufaDatesResponse.md +58 -0
- data/docs/SecPdufaDatesRow.md +64 -0
- data/docs/TrialChangesRow.md +5 -1
- data/docs/TrialsApi.md +80 -0
- data/docs/TrialsRow.md +9 -1
- data/docs/UnmatchedProductRevenueResponse.md +58 -0
- data/docs/UnmatchedProductRevenueRow.md +80 -0
- data/docs/UntitledLettersResponse.md +58 -0
- data/docs/UntitledLettersRow.md +44 -0
- data/docs/WarningLettersResponse.md +58 -0
- data/docs/WarningLettersRow.md +50 -0
- data/lib/pharmaobservatory/api/companies_api.rb +1936 -207
- data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
- data/lib/pharmaobservatory/api/drugs_api.rb +2261 -0
- data/lib/pharmaobservatory/api/hospitals_api.rb +413 -0
- data/lib/pharmaobservatory/api/legal_entities_api.rb +1442 -182
- data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
- data/lib/pharmaobservatory/api/rwd_registers_api.rb +329 -0
- data/lib/pharmaobservatory/api/rwd_sources_api.rb +749 -0
- data/lib/pharmaobservatory/api/rwd_studies_api.rb +497 -0
- data/lib/pharmaobservatory/api/trials_api.rb +84 -0
- data/lib/pharmaobservatory/models/brand_companies_response.rb +478 -0
- data/lib/pharmaobservatory/models/brand_companies_row.rb +401 -0
- data/lib/pharmaobservatory/models/brand_revenue_response.rb +478 -0
- data/lib/pharmaobservatory/models/brand_revenue_row.rb +454 -0
- data/lib/pharmaobservatory/models/catalysts_response.rb +478 -0
- data/lib/pharmaobservatory/models/catalysts_row.rb +623 -0
- data/lib/pharmaobservatory/models/clia_certificates_response.rb +478 -0
- data/lib/pharmaobservatory/models/clia_certificates_row.rb +568 -0
- data/lib/pharmaobservatory/models/companies_record_attributes.rb +13 -4
- data/lib/pharmaobservatory/models/company_funding_events_row.rb +12 -1
- data/lib/pharmaobservatory/models/company_trial_geography_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_trial_geography_row.rb +410 -0
- data/lib/pharmaobservatory/models/company_trial_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_trial_sites_row.rb +410 -0
- data/lib/pharmaobservatory/models/cro_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/cro_footprint_row.rb +311 -0
- data/lib/pharmaobservatory/models/cro_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/cro_trials_row.rb +381 -0
- data/lib/pharmaobservatory/models/debarments_response.rb +478 -0
- data/lib/pharmaobservatory/models/debarments_row.rb +366 -0
- data/lib/pharmaobservatory/models/drug_approvals_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_approvals_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_asp_codes_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_asp_codes_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_brands_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_brands_row.rb +454 -0
- data/lib/pharmaobservatory/models/drug_combinations_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_combinations_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_declared_patents_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_declared_patents_row.rb +447 -0
- data/lib/pharmaobservatory/models/drug_label_safety_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_label_safety_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_medicare_spend_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_medicare_spend_row.rb +280 -0
- data/lib/pharmaobservatory/models/drug_patent_cliff_row.rb +13 -2
- data/lib/pharmaobservatory/models/drug_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_patent_mentions_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_patent_owners_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_patent_owners_row.rb +357 -0
- data/lib/pharmaobservatory/models/drug_pricing_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_pricing_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_recalls_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_recalls_row.rb +311 -0
- data/lib/pharmaobservatory/models/drug_regulatory_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_regulatory_row.rb +333 -0
- data/lib/pharmaobservatory/models/drug_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_sites_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_targets_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_targets_row.rb +324 -0
- data/lib/pharmaobservatory/models/drug_trial_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_trial_conditions_row.rb +289 -0
- data/lib/pharmaobservatory/models/drug_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_trials_row.rb +445 -0
- data/lib/pharmaobservatory/models/drug_variants_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_variants_row.rb +333 -0
- data/lib/pharmaobservatory/models/drugs_record.rb +385 -0
- data/lib/pharmaobservatory/models/drugs_record_attributes.rb +229 -0
- data/lib/pharmaobservatory/models/drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/drugs_row.rb +581 -0
- data/lib/pharmaobservatory/models/enforcement_events_response.rb +478 -0
- data/lib/pharmaobservatory/models/enforcement_events_row.rb +476 -0
- data/lib/pharmaobservatory/models/gxp_facilities_response.rb +478 -0
- data/lib/pharmaobservatory/models/gxp_facilities_row.rb +968 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_row.rb +278 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_row.rb +289 -0
- data/lib/pharmaobservatory/models/hospitals_record.rb +385 -0
- data/lib/pharmaobservatory/models/hospitals_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospitals_row.rb +344 -0
- data/lib/pharmaobservatory/models/import_refusals_response.rb +478 -0
- data/lib/pharmaobservatory/models/import_refusals_row.rb +454 -0
- data/lib/pharmaobservatory/models/inspection_findings_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspection_findings_row.rb +388 -0
- data/lib/pharmaobservatory/models/inspections_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspections_row.rb +454 -0
- data/lib/pharmaobservatory/models/institutional_quarter_totals_response.rb +478 -0
- data/lib/pharmaobservatory/models/institutional_quarter_totals_row.rb +443 -0
- data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +10 -1
- data/lib/pharmaobservatory/models/org_relationships_row.rb +1 -1
- data/lib/pharmaobservatory/models/ownership_percentages_response.rb +478 -0
- data/lib/pharmaobservatory/models/ownership_percentages_row.rb +531 -0
- data/lib/pharmaobservatory/models/pdufa_dates_row.rb +1 -1
- data/lib/pharmaobservatory/models/program_licensing_candidates_response.rb +478 -0
- data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +445 -0
- data/lib/pharmaobservatory/models/programs_response.rb +478 -0
- data/lib/pharmaobservatory/models/programs_row.rb +377 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_row.rb +399 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_row.rb +333 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_row.rb +436 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +454 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_row.rb +465 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_row.rb +322 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_row.rb +575 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_row.rb +449 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +412 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_row.rb +623 -0
- data/lib/pharmaobservatory/models/rare_diseases_record.rb +385 -0
- data/lib/pharmaobservatory/models/rare_diseases_record_attributes.rb +238 -0
- data/lib/pharmaobservatory/models/rare_diseases_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_diseases_row.rb +500 -0
- data/lib/pharmaobservatory/models/recalls_response.rb +478 -0
- data/lib/pharmaobservatory/models/recalls_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_coverage_row.rb +410 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_row.rb +531 -0
- data/lib/pharmaobservatory/models/rwd_registers_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_row.rb +344 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_row.rb +502 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_row.rb +476 -0
- data/lib/pharmaobservatory/models/rwd_source_types_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_types_row.rb +311 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_row.rb +355 -0
- data/lib/pharmaobservatory/models/rwd_sources_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_sources_row.rb +1674 -0
- data/lib/pharmaobservatory/models/rwd_studies_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_studies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_studies_row.rb +1138 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_row.rb +423 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_row.rb +401 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_row.rb +322 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_response.rb +478 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_row.rb +476 -0
- data/lib/pharmaobservatory/models/trial_changes_row.rb +24 -2
- data/lib/pharmaobservatory/models/trials_row.rb +47 -3
- data/lib/pharmaobservatory/models/unmatched_product_revenue_response.rb +478 -0
- data/lib/pharmaobservatory/models/unmatched_product_revenue_row.rb +564 -0
- data/lib/pharmaobservatory/models/untitled_letters_response.rb +478 -0
- data/lib/pharmaobservatory/models/untitled_letters_row.rb +366 -0
- data/lib/pharmaobservatory/models/warning_letters_response.rb +478 -0
- data/lib/pharmaobservatory/models/warning_letters_row.rb +399 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +164 -0
- metadata +330 -2
|
@@ -19,6 +19,174 @@ module PharmaObservatory
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
23
|
+
# @param id [String]
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
26
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
27
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
28
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
29
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
30
|
+
# @return [CatalystsResponse]
|
|
31
|
+
def legal_entities_catalysts(id, opts = {})
|
|
32
|
+
data, _status_code, _headers = legal_entities_catalysts_with_http_info(id, opts)
|
|
33
|
+
data
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
37
|
+
# @param id [String]
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
40
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
41
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
42
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
43
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
44
|
+
# @return [Array<(CatalystsResponse, Integer, Hash)>] CatalystsResponse data, response status code and response headers
|
|
45
|
+
def legal_entities_catalysts_with_http_info(id, opts = {})
|
|
46
|
+
if @api_client.config.debugging
|
|
47
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_catalysts ...'
|
|
48
|
+
end
|
|
49
|
+
# verify the required parameter 'id' is set
|
|
50
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_catalysts"
|
|
52
|
+
end
|
|
53
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
54
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_catalysts, must be smaller than or equal to 500.'
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
58
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_catalysts, must be greater than or equal to 1.'
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# resource path
|
|
62
|
+
local_var_path = '/api/v1/legal_entities/{id}/catalysts'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
63
|
+
|
|
64
|
+
# query parameters
|
|
65
|
+
query_params = opts[:query_params] || {}
|
|
66
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
67
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
68
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
69
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
70
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
71
|
+
|
|
72
|
+
# header parameters
|
|
73
|
+
header_params = opts[:header_params] || {}
|
|
74
|
+
# HTTP header 'Accept' (if needed)
|
|
75
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
76
|
+
|
|
77
|
+
# form parameters
|
|
78
|
+
form_params = opts[:form_params] || {}
|
|
79
|
+
|
|
80
|
+
# http body (model)
|
|
81
|
+
post_body = opts[:debug_body]
|
|
82
|
+
|
|
83
|
+
# return_type
|
|
84
|
+
return_type = opts[:debug_return_type] || 'CatalystsResponse'
|
|
85
|
+
|
|
86
|
+
# auth_names
|
|
87
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
88
|
+
|
|
89
|
+
new_options = opts.merge(
|
|
90
|
+
:operation => :"LegalEntitiesApi.legal_entities_catalysts",
|
|
91
|
+
:header_params => header_params,
|
|
92
|
+
:query_params => query_params,
|
|
93
|
+
:form_params => form_params,
|
|
94
|
+
:body => post_body,
|
|
95
|
+
:auth_names => auth_names,
|
|
96
|
+
:return_type => return_type
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
100
|
+
if @api_client.config.debugging
|
|
101
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_catalysts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
102
|
+
end
|
|
103
|
+
return data, status_code, headers
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# CLIA laboratory certificates
|
|
107
|
+
# @param id [String]
|
|
108
|
+
# @param [Hash] opts the optional parameters
|
|
109
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
110
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
111
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
112
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
113
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
114
|
+
# @return [CliaCertificatesResponse]
|
|
115
|
+
def legal_entities_clia_certificates(id, opts = {})
|
|
116
|
+
data, _status_code, _headers = legal_entities_clia_certificates_with_http_info(id, opts)
|
|
117
|
+
data
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# CLIA laboratory certificates
|
|
121
|
+
# @param id [String]
|
|
122
|
+
# @param [Hash] opts the optional parameters
|
|
123
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
124
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
125
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
126
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
127
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
128
|
+
# @return [Array<(CliaCertificatesResponse, Integer, Hash)>] CliaCertificatesResponse data, response status code and response headers
|
|
129
|
+
def legal_entities_clia_certificates_with_http_info(id, opts = {})
|
|
130
|
+
if @api_client.config.debugging
|
|
131
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_clia_certificates ...'
|
|
132
|
+
end
|
|
133
|
+
# verify the required parameter 'id' is set
|
|
134
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
135
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_clia_certificates"
|
|
136
|
+
end
|
|
137
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
138
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_clia_certificates, must be smaller than or equal to 500.'
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
142
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_clia_certificates, must be greater than or equal to 1.'
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# resource path
|
|
146
|
+
local_var_path = '/api/v1/legal_entities/{id}/clia_certificates'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
147
|
+
|
|
148
|
+
# query parameters
|
|
149
|
+
query_params = opts[:query_params] || {}
|
|
150
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
151
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
152
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
153
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
154
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
155
|
+
|
|
156
|
+
# header parameters
|
|
157
|
+
header_params = opts[:header_params] || {}
|
|
158
|
+
# HTTP header 'Accept' (if needed)
|
|
159
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
160
|
+
|
|
161
|
+
# form parameters
|
|
162
|
+
form_params = opts[:form_params] || {}
|
|
163
|
+
|
|
164
|
+
# http body (model)
|
|
165
|
+
post_body = opts[:debug_body]
|
|
166
|
+
|
|
167
|
+
# return_type
|
|
168
|
+
return_type = opts[:debug_return_type] || 'CliaCertificatesResponse'
|
|
169
|
+
|
|
170
|
+
# auth_names
|
|
171
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
172
|
+
|
|
173
|
+
new_options = opts.merge(
|
|
174
|
+
:operation => :"LegalEntitiesApi.legal_entities_clia_certificates",
|
|
175
|
+
:header_params => header_params,
|
|
176
|
+
:query_params => query_params,
|
|
177
|
+
:form_params => form_params,
|
|
178
|
+
:body => post_body,
|
|
179
|
+
:auth_names => auth_names,
|
|
180
|
+
:return_type => return_type
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
184
|
+
if @api_client.config.debugging
|
|
185
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_clia_certificates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
186
|
+
end
|
|
187
|
+
return data, status_code, headers
|
|
188
|
+
end
|
|
189
|
+
|
|
22
190
|
# Company assets (approved and marketed drugs)
|
|
23
191
|
# @param id [String]
|
|
24
192
|
# @param [Hash] opts the optional parameters
|
|
@@ -187,6 +355,90 @@ module PharmaObservatory
|
|
|
187
355
|
return data, status_code, headers
|
|
188
356
|
end
|
|
189
357
|
|
|
358
|
+
# FDA firm debarments
|
|
359
|
+
# @param id [String]
|
|
360
|
+
# @param [Hash] opts the optional parameters
|
|
361
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
362
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
363
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
364
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
365
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
366
|
+
# @return [DebarmentsResponse]
|
|
367
|
+
def legal_entities_debarments(id, opts = {})
|
|
368
|
+
data, _status_code, _headers = legal_entities_debarments_with_http_info(id, opts)
|
|
369
|
+
data
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# FDA firm debarments
|
|
373
|
+
# @param id [String]
|
|
374
|
+
# @param [Hash] opts the optional parameters
|
|
375
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
376
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
377
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
378
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
379
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
380
|
+
# @return [Array<(DebarmentsResponse, Integer, Hash)>] DebarmentsResponse data, response status code and response headers
|
|
381
|
+
def legal_entities_debarments_with_http_info(id, opts = {})
|
|
382
|
+
if @api_client.config.debugging
|
|
383
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_debarments ...'
|
|
384
|
+
end
|
|
385
|
+
# verify the required parameter 'id' is set
|
|
386
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
387
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_debarments"
|
|
388
|
+
end
|
|
389
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
390
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_debarments, must be smaller than or equal to 500.'
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
394
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_debarments, must be greater than or equal to 1.'
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
# resource path
|
|
398
|
+
local_var_path = '/api/v1/legal_entities/{id}/debarments'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
399
|
+
|
|
400
|
+
# query parameters
|
|
401
|
+
query_params = opts[:query_params] || {}
|
|
402
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
403
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
404
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
405
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
406
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
407
|
+
|
|
408
|
+
# header parameters
|
|
409
|
+
header_params = opts[:header_params] || {}
|
|
410
|
+
# HTTP header 'Accept' (if needed)
|
|
411
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
412
|
+
|
|
413
|
+
# form parameters
|
|
414
|
+
form_params = opts[:form_params] || {}
|
|
415
|
+
|
|
416
|
+
# http body (model)
|
|
417
|
+
post_body = opts[:debug_body]
|
|
418
|
+
|
|
419
|
+
# return_type
|
|
420
|
+
return_type = opts[:debug_return_type] || 'DebarmentsResponse'
|
|
421
|
+
|
|
422
|
+
# auth_names
|
|
423
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
424
|
+
|
|
425
|
+
new_options = opts.merge(
|
|
426
|
+
:operation => :"LegalEntitiesApi.legal_entities_debarments",
|
|
427
|
+
:header_params => header_params,
|
|
428
|
+
:query_params => query_params,
|
|
429
|
+
:form_params => form_params,
|
|
430
|
+
:body => post_body,
|
|
431
|
+
:auth_names => auth_names,
|
|
432
|
+
:return_type => return_type
|
|
433
|
+
)
|
|
434
|
+
|
|
435
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
436
|
+
if @api_client.config.debugging
|
|
437
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_debarments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
438
|
+
end
|
|
439
|
+
return data, status_code, headers
|
|
440
|
+
end
|
|
441
|
+
|
|
190
442
|
# Patent-cliff exposure
|
|
191
443
|
# @param id [String]
|
|
192
444
|
# @param [Hash] opts the optional parameters
|
|
@@ -271,32 +523,55 @@ module PharmaObservatory
|
|
|
271
523
|
return data, status_code, headers
|
|
272
524
|
end
|
|
273
525
|
|
|
274
|
-
#
|
|
526
|
+
# FDA enforcement events
|
|
275
527
|
# @param id [String]
|
|
276
528
|
# @param [Hash] opts the optional parameters
|
|
277
|
-
# @
|
|
278
|
-
|
|
279
|
-
|
|
529
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
530
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
531
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
532
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
533
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
534
|
+
# @return [EnforcementEventsResponse]
|
|
535
|
+
def legal_entities_enforcement_events(id, opts = {})
|
|
536
|
+
data, _status_code, _headers = legal_entities_enforcement_events_with_http_info(id, opts)
|
|
280
537
|
data
|
|
281
538
|
end
|
|
282
539
|
|
|
283
|
-
#
|
|
540
|
+
# FDA enforcement events
|
|
284
541
|
# @param id [String]
|
|
285
542
|
# @param [Hash] opts the optional parameters
|
|
286
|
-
# @
|
|
287
|
-
|
|
543
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
544
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
545
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
546
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
547
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
548
|
+
# @return [Array<(EnforcementEventsResponse, Integer, Hash)>] EnforcementEventsResponse data, response status code and response headers
|
|
549
|
+
def legal_entities_enforcement_events_with_http_info(id, opts = {})
|
|
288
550
|
if @api_client.config.debugging
|
|
289
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
551
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_enforcement_events ...'
|
|
290
552
|
end
|
|
291
553
|
# verify the required parameter 'id' is set
|
|
292
554
|
if @api_client.config.client_side_validation && id.nil?
|
|
293
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
555
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_enforcement_events"
|
|
556
|
+
end
|
|
557
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
558
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_enforcement_events, must be smaller than or equal to 500.'
|
|
294
559
|
end
|
|
560
|
+
|
|
561
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
562
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_enforcement_events, must be greater than or equal to 1.'
|
|
563
|
+
end
|
|
564
|
+
|
|
295
565
|
# resource path
|
|
296
|
-
local_var_path = '/api/v1/legal_entities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
566
|
+
local_var_path = '/api/v1/legal_entities/{id}/enforcement_events'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
297
567
|
|
|
298
568
|
# query parameters
|
|
299
569
|
query_params = opts[:query_params] || {}
|
|
570
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
571
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
572
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
573
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
574
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
300
575
|
|
|
301
576
|
# header parameters
|
|
302
577
|
header_params = opts[:header_params] || {}
|
|
@@ -310,13 +585,13 @@ module PharmaObservatory
|
|
|
310
585
|
post_body = opts[:debug_body]
|
|
311
586
|
|
|
312
587
|
# return_type
|
|
313
|
-
return_type = opts[:debug_return_type] || '
|
|
588
|
+
return_type = opts[:debug_return_type] || 'EnforcementEventsResponse'
|
|
314
589
|
|
|
315
590
|
# auth_names
|
|
316
591
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
317
592
|
|
|
318
593
|
new_options = opts.merge(
|
|
319
|
-
:operation => :"LegalEntitiesApi.
|
|
594
|
+
:operation => :"LegalEntitiesApi.legal_entities_enforcement_events",
|
|
320
595
|
:header_params => header_params,
|
|
321
596
|
:query_params => query_params,
|
|
322
597
|
:form_params => form_params,
|
|
@@ -327,26 +602,1005 @@ module PharmaObservatory
|
|
|
327
602
|
|
|
328
603
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
329
604
|
if @api_client.config.debugging
|
|
330
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
605
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_enforcement_events\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
331
606
|
end
|
|
332
607
|
return data, status_code, headers
|
|
333
608
|
end
|
|
334
609
|
|
|
335
|
-
#
|
|
610
|
+
# One legal entity
|
|
336
611
|
# @param id [String]
|
|
337
612
|
# @param [Hash] opts the optional parameters
|
|
338
|
-
# @
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
613
|
+
# @return [LegalEntitiesRecord]
|
|
614
|
+
def legal_entities_get(id, opts = {})
|
|
615
|
+
data, _status_code, _headers = legal_entities_get_with_http_info(id, opts)
|
|
616
|
+
data
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
# One legal entity
|
|
620
|
+
# @param id [String]
|
|
621
|
+
# @param [Hash] opts the optional parameters
|
|
622
|
+
# @return [Array<(LegalEntitiesRecord, Integer, Hash)>] LegalEntitiesRecord data, response status code and response headers
|
|
623
|
+
def legal_entities_get_with_http_info(id, opts = {})
|
|
624
|
+
if @api_client.config.debugging
|
|
625
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_get ...'
|
|
626
|
+
end
|
|
627
|
+
# verify the required parameter 'id' is set
|
|
628
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
629
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_get"
|
|
630
|
+
end
|
|
631
|
+
# resource path
|
|
632
|
+
local_var_path = '/api/v1/legal_entities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
633
|
+
|
|
634
|
+
# query parameters
|
|
635
|
+
query_params = opts[:query_params] || {}
|
|
636
|
+
|
|
637
|
+
# header parameters
|
|
638
|
+
header_params = opts[:header_params] || {}
|
|
639
|
+
# HTTP header 'Accept' (if needed)
|
|
640
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
641
|
+
|
|
642
|
+
# form parameters
|
|
643
|
+
form_params = opts[:form_params] || {}
|
|
644
|
+
|
|
645
|
+
# http body (model)
|
|
646
|
+
post_body = opts[:debug_body]
|
|
647
|
+
|
|
648
|
+
# return_type
|
|
649
|
+
return_type = opts[:debug_return_type] || 'LegalEntitiesRecord'
|
|
650
|
+
|
|
651
|
+
# auth_names
|
|
652
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
653
|
+
|
|
654
|
+
new_options = opts.merge(
|
|
655
|
+
:operation => :"LegalEntitiesApi.legal_entities_get",
|
|
656
|
+
:header_params => header_params,
|
|
657
|
+
:query_params => query_params,
|
|
658
|
+
:form_params => form_params,
|
|
659
|
+
:body => post_body,
|
|
660
|
+
:auth_names => auth_names,
|
|
661
|
+
:return_type => return_type
|
|
662
|
+
)
|
|
663
|
+
|
|
664
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
665
|
+
if @api_client.config.debugging
|
|
666
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
667
|
+
end
|
|
668
|
+
return data, status_code, headers
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# GxP facilities and quality signals
|
|
672
|
+
# @param id [String]
|
|
673
|
+
# @param [Hash] opts the optional parameters
|
|
674
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
675
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
676
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
677
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
678
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
679
|
+
# @return [GxpFacilitiesResponse]
|
|
680
|
+
def legal_entities_gxp_facilities(id, opts = {})
|
|
681
|
+
data, _status_code, _headers = legal_entities_gxp_facilities_with_http_info(id, opts)
|
|
682
|
+
data
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
# GxP facilities and quality signals
|
|
686
|
+
# @param id [String]
|
|
687
|
+
# @param [Hash] opts the optional parameters
|
|
688
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
689
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
690
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
691
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
692
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
693
|
+
# @return [Array<(GxpFacilitiesResponse, Integer, Hash)>] GxpFacilitiesResponse data, response status code and response headers
|
|
694
|
+
def legal_entities_gxp_facilities_with_http_info(id, opts = {})
|
|
695
|
+
if @api_client.config.debugging
|
|
696
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_gxp_facilities ...'
|
|
697
|
+
end
|
|
698
|
+
# verify the required parameter 'id' is set
|
|
699
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
700
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_gxp_facilities"
|
|
701
|
+
end
|
|
702
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
703
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_gxp_facilities, must be smaller than or equal to 500.'
|
|
704
|
+
end
|
|
705
|
+
|
|
706
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
707
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_gxp_facilities, must be greater than or equal to 1.'
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# resource path
|
|
711
|
+
local_var_path = '/api/v1/legal_entities/{id}/gxp_facilities'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
712
|
+
|
|
713
|
+
# query parameters
|
|
714
|
+
query_params = opts[:query_params] || {}
|
|
715
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
716
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
717
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
718
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
719
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
720
|
+
|
|
721
|
+
# header parameters
|
|
722
|
+
header_params = opts[:header_params] || {}
|
|
723
|
+
# HTTP header 'Accept' (if needed)
|
|
724
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
725
|
+
|
|
726
|
+
# form parameters
|
|
727
|
+
form_params = opts[:form_params] || {}
|
|
728
|
+
|
|
729
|
+
# http body (model)
|
|
730
|
+
post_body = opts[:debug_body]
|
|
731
|
+
|
|
732
|
+
# return_type
|
|
733
|
+
return_type = opts[:debug_return_type] || 'GxpFacilitiesResponse'
|
|
734
|
+
|
|
735
|
+
# auth_names
|
|
736
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
737
|
+
|
|
738
|
+
new_options = opts.merge(
|
|
739
|
+
:operation => :"LegalEntitiesApi.legal_entities_gxp_facilities",
|
|
740
|
+
:header_params => header_params,
|
|
741
|
+
:query_params => query_params,
|
|
742
|
+
:form_params => form_params,
|
|
743
|
+
:body => post_body,
|
|
744
|
+
:auth_names => auth_names,
|
|
745
|
+
:return_type => return_type
|
|
746
|
+
)
|
|
747
|
+
|
|
748
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
749
|
+
if @api_client.config.debugging
|
|
750
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_gxp_facilities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
751
|
+
end
|
|
752
|
+
return data, status_code, headers
|
|
753
|
+
end
|
|
754
|
+
|
|
755
|
+
# FDA import refusals
|
|
756
|
+
# @param id [String]
|
|
757
|
+
# @param [Hash] opts the optional parameters
|
|
758
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
759
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
760
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
761
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
762
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
763
|
+
# @return [ImportRefusalsResponse]
|
|
764
|
+
def legal_entities_import_refusals(id, opts = {})
|
|
765
|
+
data, _status_code, _headers = legal_entities_import_refusals_with_http_info(id, opts)
|
|
766
|
+
data
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
# FDA import refusals
|
|
770
|
+
# @param id [String]
|
|
771
|
+
# @param [Hash] opts the optional parameters
|
|
772
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
773
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
774
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
775
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
776
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
777
|
+
# @return [Array<(ImportRefusalsResponse, Integer, Hash)>] ImportRefusalsResponse data, response status code and response headers
|
|
778
|
+
def legal_entities_import_refusals_with_http_info(id, opts = {})
|
|
779
|
+
if @api_client.config.debugging
|
|
780
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_import_refusals ...'
|
|
781
|
+
end
|
|
782
|
+
# verify the required parameter 'id' is set
|
|
783
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
784
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_import_refusals"
|
|
785
|
+
end
|
|
786
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
787
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_import_refusals, must be smaller than or equal to 500.'
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
791
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_import_refusals, must be greater than or equal to 1.'
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
# resource path
|
|
795
|
+
local_var_path = '/api/v1/legal_entities/{id}/import_refusals'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
796
|
+
|
|
797
|
+
# query parameters
|
|
798
|
+
query_params = opts[:query_params] || {}
|
|
799
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
800
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
801
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
802
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
803
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
804
|
+
|
|
805
|
+
# header parameters
|
|
806
|
+
header_params = opts[:header_params] || {}
|
|
807
|
+
# HTTP header 'Accept' (if needed)
|
|
808
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
809
|
+
|
|
810
|
+
# form parameters
|
|
811
|
+
form_params = opts[:form_params] || {}
|
|
812
|
+
|
|
813
|
+
# http body (model)
|
|
814
|
+
post_body = opts[:debug_body]
|
|
815
|
+
|
|
816
|
+
# return_type
|
|
817
|
+
return_type = opts[:debug_return_type] || 'ImportRefusalsResponse'
|
|
818
|
+
|
|
819
|
+
# auth_names
|
|
820
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
821
|
+
|
|
822
|
+
new_options = opts.merge(
|
|
823
|
+
:operation => :"LegalEntitiesApi.legal_entities_import_refusals",
|
|
824
|
+
:header_params => header_params,
|
|
825
|
+
:query_params => query_params,
|
|
826
|
+
:form_params => form_params,
|
|
827
|
+
:body => post_body,
|
|
828
|
+
:auth_names => auth_names,
|
|
829
|
+
:return_type => return_type
|
|
830
|
+
)
|
|
831
|
+
|
|
832
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
833
|
+
if @api_client.config.debugging
|
|
834
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_import_refusals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
835
|
+
end
|
|
836
|
+
return data, status_code, headers
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
# FDA inspection findings
|
|
840
|
+
# @param id [String]
|
|
841
|
+
# @param [Hash] opts the optional parameters
|
|
842
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
843
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
844
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
845
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
846
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
847
|
+
# @return [InspectionFindingsResponse]
|
|
848
|
+
def legal_entities_inspection_findings(id, opts = {})
|
|
849
|
+
data, _status_code, _headers = legal_entities_inspection_findings_with_http_info(id, opts)
|
|
850
|
+
data
|
|
851
|
+
end
|
|
852
|
+
|
|
853
|
+
# FDA inspection findings
|
|
854
|
+
# @param id [String]
|
|
855
|
+
# @param [Hash] opts the optional parameters
|
|
856
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
857
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
858
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
859
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
860
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
861
|
+
# @return [Array<(InspectionFindingsResponse, Integer, Hash)>] InspectionFindingsResponse data, response status code and response headers
|
|
862
|
+
def legal_entities_inspection_findings_with_http_info(id, opts = {})
|
|
863
|
+
if @api_client.config.debugging
|
|
864
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_inspection_findings ...'
|
|
865
|
+
end
|
|
866
|
+
# verify the required parameter 'id' is set
|
|
867
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
868
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_inspection_findings"
|
|
869
|
+
end
|
|
870
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
871
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_inspection_findings, must be smaller than or equal to 500.'
|
|
872
|
+
end
|
|
873
|
+
|
|
874
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
875
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_inspection_findings, must be greater than or equal to 1.'
|
|
876
|
+
end
|
|
877
|
+
|
|
878
|
+
# resource path
|
|
879
|
+
local_var_path = '/api/v1/legal_entities/{id}/inspection_findings'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
880
|
+
|
|
881
|
+
# query parameters
|
|
882
|
+
query_params = opts[:query_params] || {}
|
|
883
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
884
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
885
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
886
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
887
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
888
|
+
|
|
889
|
+
# header parameters
|
|
890
|
+
header_params = opts[:header_params] || {}
|
|
891
|
+
# HTTP header 'Accept' (if needed)
|
|
892
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
893
|
+
|
|
894
|
+
# form parameters
|
|
895
|
+
form_params = opts[:form_params] || {}
|
|
896
|
+
|
|
897
|
+
# http body (model)
|
|
898
|
+
post_body = opts[:debug_body]
|
|
899
|
+
|
|
900
|
+
# return_type
|
|
901
|
+
return_type = opts[:debug_return_type] || 'InspectionFindingsResponse'
|
|
902
|
+
|
|
903
|
+
# auth_names
|
|
904
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
905
|
+
|
|
906
|
+
new_options = opts.merge(
|
|
907
|
+
:operation => :"LegalEntitiesApi.legal_entities_inspection_findings",
|
|
908
|
+
:header_params => header_params,
|
|
909
|
+
:query_params => query_params,
|
|
910
|
+
:form_params => form_params,
|
|
911
|
+
:body => post_body,
|
|
912
|
+
:auth_names => auth_names,
|
|
913
|
+
:return_type => return_type
|
|
914
|
+
)
|
|
915
|
+
|
|
916
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
917
|
+
if @api_client.config.debugging
|
|
918
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_inspection_findings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
919
|
+
end
|
|
920
|
+
return data, status_code, headers
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
# FDA inspections
|
|
924
|
+
# @param id [String]
|
|
925
|
+
# @param [Hash] opts the optional parameters
|
|
926
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
927
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
928
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
929
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
930
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
931
|
+
# @return [InspectionsResponse]
|
|
932
|
+
def legal_entities_inspections(id, opts = {})
|
|
933
|
+
data, _status_code, _headers = legal_entities_inspections_with_http_info(id, opts)
|
|
934
|
+
data
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
# FDA inspections
|
|
938
|
+
# @param id [String]
|
|
939
|
+
# @param [Hash] opts the optional parameters
|
|
940
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
941
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
942
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
943
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
944
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
945
|
+
# @return [Array<(InspectionsResponse, Integer, Hash)>] InspectionsResponse data, response status code and response headers
|
|
946
|
+
def legal_entities_inspections_with_http_info(id, opts = {})
|
|
947
|
+
if @api_client.config.debugging
|
|
948
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_inspections ...'
|
|
949
|
+
end
|
|
950
|
+
# verify the required parameter 'id' is set
|
|
951
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
952
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_inspections"
|
|
953
|
+
end
|
|
954
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
955
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_inspections, must be smaller than or equal to 500.'
|
|
956
|
+
end
|
|
957
|
+
|
|
958
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
959
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_inspections, must be greater than or equal to 1.'
|
|
960
|
+
end
|
|
961
|
+
|
|
962
|
+
# resource path
|
|
963
|
+
local_var_path = '/api/v1/legal_entities/{id}/inspections'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
964
|
+
|
|
965
|
+
# query parameters
|
|
966
|
+
query_params = opts[:query_params] || {}
|
|
967
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
968
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
969
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
970
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
971
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
972
|
+
|
|
973
|
+
# header parameters
|
|
974
|
+
header_params = opts[:header_params] || {}
|
|
975
|
+
# HTTP header 'Accept' (if needed)
|
|
976
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
977
|
+
|
|
978
|
+
# form parameters
|
|
979
|
+
form_params = opts[:form_params] || {}
|
|
980
|
+
|
|
981
|
+
# http body (model)
|
|
982
|
+
post_body = opts[:debug_body]
|
|
983
|
+
|
|
984
|
+
# return_type
|
|
985
|
+
return_type = opts[:debug_return_type] || 'InspectionsResponse'
|
|
986
|
+
|
|
987
|
+
# auth_names
|
|
988
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
989
|
+
|
|
990
|
+
new_options = opts.merge(
|
|
991
|
+
:operation => :"LegalEntitiesApi.legal_entities_inspections",
|
|
992
|
+
:header_params => header_params,
|
|
993
|
+
:query_params => query_params,
|
|
994
|
+
:form_params => form_params,
|
|
995
|
+
:body => post_body,
|
|
996
|
+
:auth_names => auth_names,
|
|
997
|
+
:return_type => return_type
|
|
998
|
+
)
|
|
999
|
+
|
|
1000
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1001
|
+
if @api_client.config.debugging
|
|
1002
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_inspections\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1003
|
+
end
|
|
1004
|
+
return data, status_code, headers
|
|
1005
|
+
end
|
|
1006
|
+
|
|
1007
|
+
# Institutional holdings (SEC Form 13F)
|
|
1008
|
+
# @param id [String]
|
|
1009
|
+
# @param [Hash] opts the optional parameters
|
|
1010
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1011
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1012
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1013
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1014
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1015
|
+
# @return [InstitutionalHoldingsResponse]
|
|
1016
|
+
def legal_entities_institutional_holdings(id, opts = {})
|
|
1017
|
+
data, _status_code, _headers = legal_entities_institutional_holdings_with_http_info(id, opts)
|
|
1018
|
+
data
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
# Institutional holdings (SEC Form 13F)
|
|
1022
|
+
# @param id [String]
|
|
1023
|
+
# @param [Hash] opts the optional parameters
|
|
1024
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1025
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1026
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1027
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1028
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1029
|
+
# @return [Array<(InstitutionalHoldingsResponse, Integer, Hash)>] InstitutionalHoldingsResponse data, response status code and response headers
|
|
1030
|
+
def legal_entities_institutional_holdings_with_http_info(id, opts = {})
|
|
1031
|
+
if @api_client.config.debugging
|
|
1032
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_institutional_holdings ...'
|
|
1033
|
+
end
|
|
1034
|
+
# verify the required parameter 'id' is set
|
|
1035
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1036
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_institutional_holdings"
|
|
1037
|
+
end
|
|
1038
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1039
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_institutional_holdings, must be smaller than or equal to 500.'
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1043
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_institutional_holdings, must be greater than or equal to 1.'
|
|
1044
|
+
end
|
|
1045
|
+
|
|
1046
|
+
# resource path
|
|
1047
|
+
local_var_path = '/api/v1/legal_entities/{id}/institutional_holdings'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1048
|
+
|
|
1049
|
+
# query parameters
|
|
1050
|
+
query_params = opts[:query_params] || {}
|
|
1051
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1052
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1053
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1054
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1055
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1056
|
+
|
|
1057
|
+
# header parameters
|
|
1058
|
+
header_params = opts[:header_params] || {}
|
|
1059
|
+
# HTTP header 'Accept' (if needed)
|
|
1060
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1061
|
+
|
|
1062
|
+
# form parameters
|
|
1063
|
+
form_params = opts[:form_params] || {}
|
|
1064
|
+
|
|
1065
|
+
# http body (model)
|
|
1066
|
+
post_body = opts[:debug_body]
|
|
1067
|
+
|
|
1068
|
+
# return_type
|
|
1069
|
+
return_type = opts[:debug_return_type] || 'InstitutionalHoldingsResponse'
|
|
1070
|
+
|
|
1071
|
+
# auth_names
|
|
1072
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1073
|
+
|
|
1074
|
+
new_options = opts.merge(
|
|
1075
|
+
:operation => :"LegalEntitiesApi.legal_entities_institutional_holdings",
|
|
1076
|
+
:header_params => header_params,
|
|
1077
|
+
:query_params => query_params,
|
|
1078
|
+
:form_params => form_params,
|
|
1079
|
+
:body => post_body,
|
|
1080
|
+
:auth_names => auth_names,
|
|
1081
|
+
:return_type => return_type
|
|
1082
|
+
)
|
|
1083
|
+
|
|
1084
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1085
|
+
if @api_client.config.debugging
|
|
1086
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_institutional_holdings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1087
|
+
end
|
|
1088
|
+
return data, status_code, headers
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1091
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
1092
|
+
# @param id [String]
|
|
1093
|
+
# @param [Hash] opts the optional parameters
|
|
1094
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1095
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1096
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1097
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1098
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1099
|
+
# @return [InstitutionalQuarterTotalsResponse]
|
|
1100
|
+
def legal_entities_institutional_quarter_totals(id, opts = {})
|
|
1101
|
+
data, _status_code, _headers = legal_entities_institutional_quarter_totals_with_http_info(id, opts)
|
|
1102
|
+
data
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
1106
|
+
# @param id [String]
|
|
1107
|
+
# @param [Hash] opts the optional parameters
|
|
1108
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1109
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1110
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1111
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1112
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1113
|
+
# @return [Array<(InstitutionalQuarterTotalsResponse, Integer, Hash)>] InstitutionalQuarterTotalsResponse data, response status code and response headers
|
|
1114
|
+
def legal_entities_institutional_quarter_totals_with_http_info(id, opts = {})
|
|
1115
|
+
if @api_client.config.debugging
|
|
1116
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_institutional_quarter_totals ...'
|
|
1117
|
+
end
|
|
1118
|
+
# verify the required parameter 'id' is set
|
|
1119
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1120
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_institutional_quarter_totals"
|
|
1121
|
+
end
|
|
1122
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1123
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_institutional_quarter_totals, must be smaller than or equal to 500.'
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1127
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_institutional_quarter_totals, must be greater than or equal to 1.'
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
# resource path
|
|
1131
|
+
local_var_path = '/api/v1/legal_entities/{id}/institutional_quarter_totals'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1132
|
+
|
|
1133
|
+
# query parameters
|
|
1134
|
+
query_params = opts[:query_params] || {}
|
|
1135
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1136
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1137
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1138
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1139
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1140
|
+
|
|
1141
|
+
# header parameters
|
|
1142
|
+
header_params = opts[:header_params] || {}
|
|
1143
|
+
# HTTP header 'Accept' (if needed)
|
|
1144
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1145
|
+
|
|
1146
|
+
# form parameters
|
|
1147
|
+
form_params = opts[:form_params] || {}
|
|
1148
|
+
|
|
1149
|
+
# http body (model)
|
|
1150
|
+
post_body = opts[:debug_body]
|
|
1151
|
+
|
|
1152
|
+
# return_type
|
|
1153
|
+
return_type = opts[:debug_return_type] || 'InstitutionalQuarterTotalsResponse'
|
|
1154
|
+
|
|
1155
|
+
# auth_names
|
|
1156
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1157
|
+
|
|
1158
|
+
new_options = opts.merge(
|
|
1159
|
+
:operation => :"LegalEntitiesApi.legal_entities_institutional_quarter_totals",
|
|
1160
|
+
:header_params => header_params,
|
|
1161
|
+
:query_params => query_params,
|
|
1162
|
+
:form_params => form_params,
|
|
1163
|
+
:body => post_body,
|
|
1164
|
+
:auth_names => auth_names,
|
|
1165
|
+
:return_type => return_type
|
|
1166
|
+
)
|
|
1167
|
+
|
|
1168
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1169
|
+
if @api_client.config.debugging
|
|
1170
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_institutional_quarter_totals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1171
|
+
end
|
|
1172
|
+
return data, status_code, headers
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
# List legal entities
|
|
1176
|
+
# @param [Hash] opts the optional parameters
|
|
1177
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1178
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1179
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1180
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1181
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1182
|
+
# @return [LegalEntitiesResponse]
|
|
1183
|
+
def legal_entities_list(opts = {})
|
|
1184
|
+
data, _status_code, _headers = legal_entities_list_with_http_info(opts)
|
|
1185
|
+
data
|
|
1186
|
+
end
|
|
1187
|
+
|
|
1188
|
+
# List legal entities
|
|
1189
|
+
# @param [Hash] opts the optional parameters
|
|
1190
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1191
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1192
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1193
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1194
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1195
|
+
# @return [Array<(LegalEntitiesResponse, Integer, Hash)>] LegalEntitiesResponse data, response status code and response headers
|
|
1196
|
+
def legal_entities_list_with_http_info(opts = {})
|
|
1197
|
+
if @api_client.config.debugging
|
|
1198
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_list ...'
|
|
1199
|
+
end
|
|
1200
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1201
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_list, must be smaller than or equal to 500.'
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1205
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_list, must be greater than or equal to 1.'
|
|
1206
|
+
end
|
|
1207
|
+
|
|
1208
|
+
# resource path
|
|
1209
|
+
local_var_path = '/api/v1/legal_entities'
|
|
1210
|
+
|
|
1211
|
+
# query parameters
|
|
1212
|
+
query_params = opts[:query_params] || {}
|
|
1213
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1214
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1215
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1216
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1217
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1218
|
+
|
|
1219
|
+
# header parameters
|
|
1220
|
+
header_params = opts[:header_params] || {}
|
|
1221
|
+
# HTTP header 'Accept' (if needed)
|
|
1222
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1223
|
+
|
|
1224
|
+
# form parameters
|
|
1225
|
+
form_params = opts[:form_params] || {}
|
|
1226
|
+
|
|
1227
|
+
# http body (model)
|
|
1228
|
+
post_body = opts[:debug_body]
|
|
1229
|
+
|
|
1230
|
+
# return_type
|
|
1231
|
+
return_type = opts[:debug_return_type] || 'LegalEntitiesResponse'
|
|
1232
|
+
|
|
1233
|
+
# auth_names
|
|
1234
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1235
|
+
|
|
1236
|
+
new_options = opts.merge(
|
|
1237
|
+
:operation => :"LegalEntitiesApi.legal_entities_list",
|
|
1238
|
+
:header_params => header_params,
|
|
1239
|
+
:query_params => query_params,
|
|
1240
|
+
:form_params => form_params,
|
|
1241
|
+
:body => post_body,
|
|
1242
|
+
:auth_names => auth_names,
|
|
1243
|
+
:return_type => return_type
|
|
1244
|
+
)
|
|
1245
|
+
|
|
1246
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1247
|
+
if @api_client.config.debugging
|
|
1248
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1249
|
+
end
|
|
1250
|
+
return data, status_code, headers
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
# Organization disclosures (climate and diversity)
|
|
1254
|
+
# @param id [String]
|
|
1255
|
+
# @param [Hash] opts the optional parameters
|
|
1256
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1257
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1258
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1259
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1260
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1261
|
+
# @return [OrgDisclosuresResponse]
|
|
1262
|
+
def legal_entities_org_disclosures(id, opts = {})
|
|
1263
|
+
data, _status_code, _headers = legal_entities_org_disclosures_with_http_info(id, opts)
|
|
1264
|
+
data
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1267
|
+
# Organization disclosures (climate and diversity)
|
|
1268
|
+
# @param id [String]
|
|
1269
|
+
# @param [Hash] opts the optional parameters
|
|
1270
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1271
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1272
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1273
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1274
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1275
|
+
# @return [Array<(OrgDisclosuresResponse, Integer, Hash)>] OrgDisclosuresResponse data, response status code and response headers
|
|
1276
|
+
def legal_entities_org_disclosures_with_http_info(id, opts = {})
|
|
1277
|
+
if @api_client.config.debugging
|
|
1278
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_org_disclosures ...'
|
|
1279
|
+
end
|
|
1280
|
+
# verify the required parameter 'id' is set
|
|
1281
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1282
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_org_disclosures"
|
|
1283
|
+
end
|
|
1284
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1285
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_org_disclosures, must be smaller than or equal to 500.'
|
|
1286
|
+
end
|
|
1287
|
+
|
|
1288
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1289
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_org_disclosures, must be greater than or equal to 1.'
|
|
1290
|
+
end
|
|
1291
|
+
|
|
1292
|
+
# resource path
|
|
1293
|
+
local_var_path = '/api/v1/legal_entities/{id}/org_disclosures'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1294
|
+
|
|
1295
|
+
# query parameters
|
|
1296
|
+
query_params = opts[:query_params] || {}
|
|
1297
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1298
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1299
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1300
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1301
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1302
|
+
|
|
1303
|
+
# header parameters
|
|
1304
|
+
header_params = opts[:header_params] || {}
|
|
1305
|
+
# HTTP header 'Accept' (if needed)
|
|
1306
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1307
|
+
|
|
1308
|
+
# form parameters
|
|
1309
|
+
form_params = opts[:form_params] || {}
|
|
1310
|
+
|
|
1311
|
+
# http body (model)
|
|
1312
|
+
post_body = opts[:debug_body]
|
|
1313
|
+
|
|
1314
|
+
# return_type
|
|
1315
|
+
return_type = opts[:debug_return_type] || 'OrgDisclosuresResponse'
|
|
1316
|
+
|
|
1317
|
+
# auth_names
|
|
1318
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1319
|
+
|
|
1320
|
+
new_options = opts.merge(
|
|
1321
|
+
:operation => :"LegalEntitiesApi.legal_entities_org_disclosures",
|
|
1322
|
+
:header_params => header_params,
|
|
1323
|
+
:query_params => query_params,
|
|
1324
|
+
:form_params => form_params,
|
|
1325
|
+
:body => post_body,
|
|
1326
|
+
:auth_names => auth_names,
|
|
1327
|
+
:return_type => return_type
|
|
1328
|
+
)
|
|
1329
|
+
|
|
1330
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1331
|
+
if @api_client.config.debugging
|
|
1332
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_org_disclosures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1333
|
+
end
|
|
1334
|
+
return data, status_code, headers
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
# Organization relationships
|
|
1338
|
+
# @param id [String]
|
|
1339
|
+
# @param [Hash] opts the optional parameters
|
|
1340
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1341
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1342
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1343
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1344
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1345
|
+
# @return [OrgRelationshipsResponse]
|
|
1346
|
+
def legal_entities_org_relationships(id, opts = {})
|
|
1347
|
+
data, _status_code, _headers = legal_entities_org_relationships_with_http_info(id, opts)
|
|
1348
|
+
data
|
|
1349
|
+
end
|
|
1350
|
+
|
|
1351
|
+
# Organization relationships
|
|
1352
|
+
# @param id [String]
|
|
1353
|
+
# @param [Hash] opts the optional parameters
|
|
1354
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1355
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1356
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1357
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1358
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1359
|
+
# @return [Array<(OrgRelationshipsResponse, Integer, Hash)>] OrgRelationshipsResponse data, response status code and response headers
|
|
1360
|
+
def legal_entities_org_relationships_with_http_info(id, opts = {})
|
|
1361
|
+
if @api_client.config.debugging
|
|
1362
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_org_relationships ...'
|
|
1363
|
+
end
|
|
1364
|
+
# verify the required parameter 'id' is set
|
|
1365
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1366
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_org_relationships"
|
|
1367
|
+
end
|
|
1368
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1369
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_org_relationships, must be smaller than or equal to 500.'
|
|
1370
|
+
end
|
|
1371
|
+
|
|
1372
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1373
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_org_relationships, must be greater than or equal to 1.'
|
|
1374
|
+
end
|
|
1375
|
+
|
|
1376
|
+
# resource path
|
|
1377
|
+
local_var_path = '/api/v1/legal_entities/{id}/org_relationships'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1378
|
+
|
|
1379
|
+
# query parameters
|
|
1380
|
+
query_params = opts[:query_params] || {}
|
|
1381
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1382
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1383
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1384
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1385
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1386
|
+
|
|
1387
|
+
# header parameters
|
|
1388
|
+
header_params = opts[:header_params] || {}
|
|
1389
|
+
# HTTP header 'Accept' (if needed)
|
|
1390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1391
|
+
|
|
1392
|
+
# form parameters
|
|
1393
|
+
form_params = opts[:form_params] || {}
|
|
1394
|
+
|
|
1395
|
+
# http body (model)
|
|
1396
|
+
post_body = opts[:debug_body]
|
|
1397
|
+
|
|
1398
|
+
# return_type
|
|
1399
|
+
return_type = opts[:debug_return_type] || 'OrgRelationshipsResponse'
|
|
1400
|
+
|
|
1401
|
+
# auth_names
|
|
1402
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1403
|
+
|
|
1404
|
+
new_options = opts.merge(
|
|
1405
|
+
:operation => :"LegalEntitiesApi.legal_entities_org_relationships",
|
|
1406
|
+
:header_params => header_params,
|
|
1407
|
+
:query_params => query_params,
|
|
1408
|
+
:form_params => form_params,
|
|
1409
|
+
:body => post_body,
|
|
1410
|
+
:auth_names => auth_names,
|
|
1411
|
+
:return_type => return_type
|
|
1412
|
+
)
|
|
1413
|
+
|
|
1414
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1415
|
+
if @api_client.config.debugging
|
|
1416
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_org_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1417
|
+
end
|
|
1418
|
+
return data, status_code, headers
|
|
1419
|
+
end
|
|
1420
|
+
|
|
1421
|
+
# Ownership percentages
|
|
1422
|
+
# @param id [String]
|
|
1423
|
+
# @param [Hash] opts the optional parameters
|
|
1424
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1425
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1426
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1427
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1428
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1429
|
+
# @return [OwnershipPercentagesResponse]
|
|
1430
|
+
def legal_entities_ownership_percentages(id, opts = {})
|
|
1431
|
+
data, _status_code, _headers = legal_entities_ownership_percentages_with_http_info(id, opts)
|
|
1432
|
+
data
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1435
|
+
# Ownership percentages
|
|
1436
|
+
# @param id [String]
|
|
1437
|
+
# @param [Hash] opts the optional parameters
|
|
1438
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1439
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1440
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1441
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1442
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1443
|
+
# @return [Array<(OwnershipPercentagesResponse, Integer, Hash)>] OwnershipPercentagesResponse data, response status code and response headers
|
|
1444
|
+
def legal_entities_ownership_percentages_with_http_info(id, opts = {})
|
|
1445
|
+
if @api_client.config.debugging
|
|
1446
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_ownership_percentages ...'
|
|
1447
|
+
end
|
|
1448
|
+
# verify the required parameter 'id' is set
|
|
1449
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1450
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_ownership_percentages"
|
|
1451
|
+
end
|
|
1452
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1453
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_ownership_percentages, must be smaller than or equal to 500.'
|
|
1454
|
+
end
|
|
1455
|
+
|
|
1456
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1457
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_ownership_percentages, must be greater than or equal to 1.'
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1460
|
+
# resource path
|
|
1461
|
+
local_var_path = '/api/v1/legal_entities/{id}/ownership_percentages'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1462
|
+
|
|
1463
|
+
# query parameters
|
|
1464
|
+
query_params = opts[:query_params] || {}
|
|
1465
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1466
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1467
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1468
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1469
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1470
|
+
|
|
1471
|
+
# header parameters
|
|
1472
|
+
header_params = opts[:header_params] || {}
|
|
1473
|
+
# HTTP header 'Accept' (if needed)
|
|
1474
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1475
|
+
|
|
1476
|
+
# form parameters
|
|
1477
|
+
form_params = opts[:form_params] || {}
|
|
1478
|
+
|
|
1479
|
+
# http body (model)
|
|
1480
|
+
post_body = opts[:debug_body]
|
|
1481
|
+
|
|
1482
|
+
# return_type
|
|
1483
|
+
return_type = opts[:debug_return_type] || 'OwnershipPercentagesResponse'
|
|
1484
|
+
|
|
1485
|
+
# auth_names
|
|
1486
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1487
|
+
|
|
1488
|
+
new_options = opts.merge(
|
|
1489
|
+
:operation => :"LegalEntitiesApi.legal_entities_ownership_percentages",
|
|
1490
|
+
:header_params => header_params,
|
|
1491
|
+
:query_params => query_params,
|
|
1492
|
+
:form_params => form_params,
|
|
1493
|
+
:body => post_body,
|
|
1494
|
+
:auth_names => auth_names,
|
|
1495
|
+
:return_type => return_type
|
|
1496
|
+
)
|
|
1497
|
+
|
|
1498
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1499
|
+
if @api_client.config.debugging
|
|
1500
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_ownership_percentages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1501
|
+
end
|
|
1502
|
+
return data, status_code, headers
|
|
1503
|
+
end
|
|
1504
|
+
|
|
1505
|
+
# Ownership and control positions
|
|
1506
|
+
# @param id [String]
|
|
1507
|
+
# @param [Hash] opts the optional parameters
|
|
1508
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1509
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1510
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1511
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1512
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1513
|
+
# @return [OwnershipPositionsResponse]
|
|
1514
|
+
def legal_entities_ownership_positions(id, opts = {})
|
|
1515
|
+
data, _status_code, _headers = legal_entities_ownership_positions_with_http_info(id, opts)
|
|
1516
|
+
data
|
|
1517
|
+
end
|
|
1518
|
+
|
|
1519
|
+
# Ownership and control positions
|
|
1520
|
+
# @param id [String]
|
|
1521
|
+
# @param [Hash] opts the optional parameters
|
|
1522
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1523
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1524
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1525
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1526
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1527
|
+
# @return [Array<(OwnershipPositionsResponse, Integer, Hash)>] OwnershipPositionsResponse data, response status code and response headers
|
|
1528
|
+
def legal_entities_ownership_positions_with_http_info(id, opts = {})
|
|
1529
|
+
if @api_client.config.debugging
|
|
1530
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_ownership_positions ...'
|
|
1531
|
+
end
|
|
1532
|
+
# verify the required parameter 'id' is set
|
|
1533
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1534
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_ownership_positions"
|
|
1535
|
+
end
|
|
1536
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1537
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_ownership_positions, must be smaller than or equal to 500.'
|
|
1538
|
+
end
|
|
1539
|
+
|
|
1540
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1541
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_ownership_positions, must be greater than or equal to 1.'
|
|
1542
|
+
end
|
|
1543
|
+
|
|
1544
|
+
# resource path
|
|
1545
|
+
local_var_path = '/api/v1/legal_entities/{id}/ownership_positions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1546
|
+
|
|
1547
|
+
# query parameters
|
|
1548
|
+
query_params = opts[:query_params] || {}
|
|
1549
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1550
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1551
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1552
|
+
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
1553
|
+
query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
|
|
1554
|
+
|
|
1555
|
+
# header parameters
|
|
1556
|
+
header_params = opts[:header_params] || {}
|
|
1557
|
+
# HTTP header 'Accept' (if needed)
|
|
1558
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1559
|
+
|
|
1560
|
+
# form parameters
|
|
1561
|
+
form_params = opts[:form_params] || {}
|
|
1562
|
+
|
|
1563
|
+
# http body (model)
|
|
1564
|
+
post_body = opts[:debug_body]
|
|
1565
|
+
|
|
1566
|
+
# return_type
|
|
1567
|
+
return_type = opts[:debug_return_type] || 'OwnershipPositionsResponse'
|
|
1568
|
+
|
|
1569
|
+
# auth_names
|
|
1570
|
+
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1571
|
+
|
|
1572
|
+
new_options = opts.merge(
|
|
1573
|
+
:operation => :"LegalEntitiesApi.legal_entities_ownership_positions",
|
|
1574
|
+
:header_params => header_params,
|
|
1575
|
+
:query_params => query_params,
|
|
1576
|
+
:form_params => form_params,
|
|
1577
|
+
:body => post_body,
|
|
1578
|
+
:auth_names => auth_names,
|
|
1579
|
+
:return_type => return_type
|
|
1580
|
+
)
|
|
1581
|
+
|
|
1582
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1583
|
+
if @api_client.config.debugging
|
|
1584
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_ownership_positions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1585
|
+
end
|
|
1586
|
+
return data, status_code, headers
|
|
1587
|
+
end
|
|
1588
|
+
|
|
1589
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
1590
|
+
# @param id [String]
|
|
1591
|
+
# @param [Hash] opts the optional parameters
|
|
1592
|
+
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1593
|
+
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
1594
|
+
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1595
|
+
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1596
|
+
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1597
|
+
# @return [PdufaDatesResponse]
|
|
1598
|
+
def legal_entities_pdufa_dates(id, opts = {})
|
|
1599
|
+
data, _status_code, _headers = legal_entities_pdufa_dates_with_http_info(id, opts)
|
|
346
1600
|
data
|
|
347
1601
|
end
|
|
348
1602
|
|
|
349
|
-
#
|
|
1603
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
350
1604
|
# @param id [String]
|
|
351
1605
|
# @param [Hash] opts the optional parameters
|
|
352
1606
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -354,25 +1608,25 @@ module PharmaObservatory
|
|
|
354
1608
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
355
1609
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
356
1610
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
357
|
-
# @return [Array<(
|
|
358
|
-
def
|
|
1611
|
+
# @return [Array<(PdufaDatesResponse, Integer, Hash)>] PdufaDatesResponse data, response status code and response headers
|
|
1612
|
+
def legal_entities_pdufa_dates_with_http_info(id, opts = {})
|
|
359
1613
|
if @api_client.config.debugging
|
|
360
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
1614
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_pdufa_dates ...'
|
|
361
1615
|
end
|
|
362
1616
|
# verify the required parameter 'id' is set
|
|
363
1617
|
if @api_client.config.client_side_validation && id.nil?
|
|
364
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
1618
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_pdufa_dates"
|
|
365
1619
|
end
|
|
366
1620
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
367
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1621
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_pdufa_dates, must be smaller than or equal to 500.'
|
|
368
1622
|
end
|
|
369
1623
|
|
|
370
1624
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
371
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1625
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_pdufa_dates, must be greater than or equal to 1.'
|
|
372
1626
|
end
|
|
373
1627
|
|
|
374
1628
|
# resource path
|
|
375
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
1629
|
+
local_var_path = '/api/v1/legal_entities/{id}/pdufa_dates'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
376
1630
|
|
|
377
1631
|
# query parameters
|
|
378
1632
|
query_params = opts[:query_params] || {}
|
|
@@ -394,13 +1648,13 @@ module PharmaObservatory
|
|
|
394
1648
|
post_body = opts[:debug_body]
|
|
395
1649
|
|
|
396
1650
|
# return_type
|
|
397
|
-
return_type = opts[:debug_return_type] || '
|
|
1651
|
+
return_type = opts[:debug_return_type] || 'PdufaDatesResponse'
|
|
398
1652
|
|
|
399
1653
|
# auth_names
|
|
400
1654
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
401
1655
|
|
|
402
1656
|
new_options = opts.merge(
|
|
403
|
-
:operation => :"LegalEntitiesApi.
|
|
1657
|
+
:operation => :"LegalEntitiesApi.legal_entities_pdufa_dates",
|
|
404
1658
|
:header_params => header_params,
|
|
405
1659
|
:query_params => query_params,
|
|
406
1660
|
:form_params => form_params,
|
|
@@ -411,46 +1665,52 @@ module PharmaObservatory
|
|
|
411
1665
|
|
|
412
1666
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
413
1667
|
if @api_client.config.debugging
|
|
414
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
1668
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_pdufa_dates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
415
1669
|
end
|
|
416
1670
|
return data, status_code, headers
|
|
417
1671
|
end
|
|
418
1672
|
|
|
419
|
-
#
|
|
1673
|
+
# Program licensing candidates
|
|
1674
|
+
# @param id [String]
|
|
420
1675
|
# @param [Hash] opts the optional parameters
|
|
421
1676
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
422
1677
|
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
423
1678
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
424
1679
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
425
1680
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
426
|
-
# @return [
|
|
427
|
-
def
|
|
428
|
-
data, _status_code, _headers =
|
|
1681
|
+
# @return [ProgramLicensingCandidatesResponse]
|
|
1682
|
+
def legal_entities_program_licensing_candidates(id, opts = {})
|
|
1683
|
+
data, _status_code, _headers = legal_entities_program_licensing_candidates_with_http_info(id, opts)
|
|
429
1684
|
data
|
|
430
1685
|
end
|
|
431
1686
|
|
|
432
|
-
#
|
|
1687
|
+
# Program licensing candidates
|
|
1688
|
+
# @param id [String]
|
|
433
1689
|
# @param [Hash] opts the optional parameters
|
|
434
1690
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
435
1691
|
# @option opts [Integer] :limit Rows per page, up to 500 (default 50).
|
|
436
1692
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
437
1693
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
438
1694
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
439
|
-
# @return [Array<(
|
|
440
|
-
def
|
|
1695
|
+
# @return [Array<(ProgramLicensingCandidatesResponse, Integer, Hash)>] ProgramLicensingCandidatesResponse data, response status code and response headers
|
|
1696
|
+
def legal_entities_program_licensing_candidates_with_http_info(id, opts = {})
|
|
441
1697
|
if @api_client.config.debugging
|
|
442
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
1698
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_program_licensing_candidates ...'
|
|
1699
|
+
end
|
|
1700
|
+
# verify the required parameter 'id' is set
|
|
1701
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1702
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_program_licensing_candidates"
|
|
443
1703
|
end
|
|
444
1704
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
445
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1705
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_program_licensing_candidates, must be smaller than or equal to 500.'
|
|
446
1706
|
end
|
|
447
1707
|
|
|
448
1708
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
449
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1709
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_program_licensing_candidates, must be greater than or equal to 1.'
|
|
450
1710
|
end
|
|
451
1711
|
|
|
452
1712
|
# resource path
|
|
453
|
-
local_var_path = '/api/v1/legal_entities'
|
|
1713
|
+
local_var_path = '/api/v1/legal_entities/{id}/program_licensing_candidates'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
454
1714
|
|
|
455
1715
|
# query parameters
|
|
456
1716
|
query_params = opts[:query_params] || {}
|
|
@@ -472,13 +1732,13 @@ module PharmaObservatory
|
|
|
472
1732
|
post_body = opts[:debug_body]
|
|
473
1733
|
|
|
474
1734
|
# return_type
|
|
475
|
-
return_type = opts[:debug_return_type] || '
|
|
1735
|
+
return_type = opts[:debug_return_type] || 'ProgramLicensingCandidatesResponse'
|
|
476
1736
|
|
|
477
1737
|
# auth_names
|
|
478
1738
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
479
1739
|
|
|
480
1740
|
new_options = opts.merge(
|
|
481
|
-
:operation => :"LegalEntitiesApi.
|
|
1741
|
+
:operation => :"LegalEntitiesApi.legal_entities_program_licensing_candidates",
|
|
482
1742
|
:header_params => header_params,
|
|
483
1743
|
:query_params => query_params,
|
|
484
1744
|
:form_params => form_params,
|
|
@@ -489,12 +1749,12 @@ module PharmaObservatory
|
|
|
489
1749
|
|
|
490
1750
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
491
1751
|
if @api_client.config.debugging
|
|
492
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
1752
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_program_licensing_candidates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
493
1753
|
end
|
|
494
1754
|
return data, status_code, headers
|
|
495
1755
|
end
|
|
496
1756
|
|
|
497
|
-
#
|
|
1757
|
+
# FDA recalls
|
|
498
1758
|
# @param id [String]
|
|
499
1759
|
# @param [Hash] opts the optional parameters
|
|
500
1760
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -502,13 +1762,13 @@ module PharmaObservatory
|
|
|
502
1762
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
503
1763
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
504
1764
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
505
|
-
# @return [
|
|
506
|
-
def
|
|
507
|
-
data, _status_code, _headers =
|
|
1765
|
+
# @return [RecallsResponse]
|
|
1766
|
+
def legal_entities_recalls(id, opts = {})
|
|
1767
|
+
data, _status_code, _headers = legal_entities_recalls_with_http_info(id, opts)
|
|
508
1768
|
data
|
|
509
1769
|
end
|
|
510
1770
|
|
|
511
|
-
#
|
|
1771
|
+
# FDA recalls
|
|
512
1772
|
# @param id [String]
|
|
513
1773
|
# @param [Hash] opts the optional parameters
|
|
514
1774
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -516,25 +1776,25 @@ module PharmaObservatory
|
|
|
516
1776
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
517
1777
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
518
1778
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
519
|
-
# @return [Array<(
|
|
520
|
-
def
|
|
1779
|
+
# @return [Array<(RecallsResponse, Integer, Hash)>] RecallsResponse data, response status code and response headers
|
|
1780
|
+
def legal_entities_recalls_with_http_info(id, opts = {})
|
|
521
1781
|
if @api_client.config.debugging
|
|
522
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
1782
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_recalls ...'
|
|
523
1783
|
end
|
|
524
1784
|
# verify the required parameter 'id' is set
|
|
525
1785
|
if @api_client.config.client_side_validation && id.nil?
|
|
526
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
1786
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_recalls"
|
|
527
1787
|
end
|
|
528
1788
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
529
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1789
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_recalls, must be smaller than or equal to 500.'
|
|
530
1790
|
end
|
|
531
1791
|
|
|
532
1792
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
533
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1793
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_recalls, must be greater than or equal to 1.'
|
|
534
1794
|
end
|
|
535
1795
|
|
|
536
1796
|
# resource path
|
|
537
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
1797
|
+
local_var_path = '/api/v1/legal_entities/{id}/recalls'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
538
1798
|
|
|
539
1799
|
# query parameters
|
|
540
1800
|
query_params = opts[:query_params] || {}
|
|
@@ -556,13 +1816,13 @@ module PharmaObservatory
|
|
|
556
1816
|
post_body = opts[:debug_body]
|
|
557
1817
|
|
|
558
1818
|
# return_type
|
|
559
|
-
return_type = opts[:debug_return_type] || '
|
|
1819
|
+
return_type = opts[:debug_return_type] || 'RecallsResponse'
|
|
560
1820
|
|
|
561
1821
|
# auth_names
|
|
562
1822
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
563
1823
|
|
|
564
1824
|
new_options = opts.merge(
|
|
565
|
-
:operation => :"LegalEntitiesApi.
|
|
1825
|
+
:operation => :"LegalEntitiesApi.legal_entities_recalls",
|
|
566
1826
|
:header_params => header_params,
|
|
567
1827
|
:query_params => query_params,
|
|
568
1828
|
:form_params => form_params,
|
|
@@ -573,12 +1833,12 @@ module PharmaObservatory
|
|
|
573
1833
|
|
|
574
1834
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
575
1835
|
if @api_client.config.debugging
|
|
576
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
1836
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_recalls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
577
1837
|
end
|
|
578
1838
|
return data, status_code, headers
|
|
579
1839
|
end
|
|
580
1840
|
|
|
581
|
-
#
|
|
1841
|
+
# Trial recruitment duration by sponsor and phase
|
|
582
1842
|
# @param id [String]
|
|
583
1843
|
# @param [Hash] opts the optional parameters
|
|
584
1844
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -586,13 +1846,13 @@ module PharmaObservatory
|
|
|
586
1846
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
587
1847
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
588
1848
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
589
|
-
# @return [
|
|
590
|
-
def
|
|
591
|
-
data, _status_code, _headers =
|
|
1849
|
+
# @return [SponsorRecruitmentByPhaseResponse]
|
|
1850
|
+
def legal_entities_sponsor_recruitment_by_phase(id, opts = {})
|
|
1851
|
+
data, _status_code, _headers = legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
|
|
592
1852
|
data
|
|
593
1853
|
end
|
|
594
1854
|
|
|
595
|
-
#
|
|
1855
|
+
# Trial recruitment duration by sponsor and phase
|
|
596
1856
|
# @param id [String]
|
|
597
1857
|
# @param [Hash] opts the optional parameters
|
|
598
1858
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -600,25 +1860,25 @@ module PharmaObservatory
|
|
|
600
1860
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
601
1861
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
602
1862
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
603
|
-
# @return [Array<(
|
|
604
|
-
def
|
|
1863
|
+
# @return [Array<(SponsorRecruitmentByPhaseResponse, Integer, Hash)>] SponsorRecruitmentByPhaseResponse data, response status code and response headers
|
|
1864
|
+
def legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts = {})
|
|
605
1865
|
if @api_client.config.debugging
|
|
606
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
1866
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_sponsor_recruitment_by_phase ...'
|
|
607
1867
|
end
|
|
608
1868
|
# verify the required parameter 'id' is set
|
|
609
1869
|
if @api_client.config.client_side_validation && id.nil?
|
|
610
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
1870
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_sponsor_recruitment_by_phase"
|
|
611
1871
|
end
|
|
612
1872
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
613
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1873
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_recruitment_by_phase, must be smaller than or equal to 500.'
|
|
614
1874
|
end
|
|
615
1875
|
|
|
616
1876
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
617
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1877
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_recruitment_by_phase, must be greater than or equal to 1.'
|
|
618
1878
|
end
|
|
619
1879
|
|
|
620
1880
|
# resource path
|
|
621
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
1881
|
+
local_var_path = '/api/v1/legal_entities/{id}/sponsor_recruitment_by_phase'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
622
1882
|
|
|
623
1883
|
# query parameters
|
|
624
1884
|
query_params = opts[:query_params] || {}
|
|
@@ -640,13 +1900,13 @@ module PharmaObservatory
|
|
|
640
1900
|
post_body = opts[:debug_body]
|
|
641
1901
|
|
|
642
1902
|
# return_type
|
|
643
|
-
return_type = opts[:debug_return_type] || '
|
|
1903
|
+
return_type = opts[:debug_return_type] || 'SponsorRecruitmentByPhaseResponse'
|
|
644
1904
|
|
|
645
1905
|
# auth_names
|
|
646
1906
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
647
1907
|
|
|
648
1908
|
new_options = opts.merge(
|
|
649
|
-
:operation => :"LegalEntitiesApi.
|
|
1909
|
+
:operation => :"LegalEntitiesApi.legal_entities_sponsor_recruitment_by_phase",
|
|
650
1910
|
:header_params => header_params,
|
|
651
1911
|
:query_params => query_params,
|
|
652
1912
|
:form_params => form_params,
|
|
@@ -657,12 +1917,12 @@ module PharmaObservatory
|
|
|
657
1917
|
|
|
658
1918
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
659
1919
|
if @api_client.config.debugging
|
|
660
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
1920
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_sponsor_recruitment_by_phase\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
661
1921
|
end
|
|
662
1922
|
return data, status_code, headers
|
|
663
1923
|
end
|
|
664
1924
|
|
|
665
|
-
#
|
|
1925
|
+
# Trial recruitment duration by sponsor
|
|
666
1926
|
# @param id [String]
|
|
667
1927
|
# @param [Hash] opts the optional parameters
|
|
668
1928
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -670,13 +1930,13 @@ module PharmaObservatory
|
|
|
670
1930
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
671
1931
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
672
1932
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
673
|
-
# @return [
|
|
674
|
-
def
|
|
675
|
-
data, _status_code, _headers =
|
|
1933
|
+
# @return [SponsorRecruitmentDurationResponse]
|
|
1934
|
+
def legal_entities_sponsor_recruitment_duration(id, opts = {})
|
|
1935
|
+
data, _status_code, _headers = legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
|
|
676
1936
|
data
|
|
677
1937
|
end
|
|
678
1938
|
|
|
679
|
-
#
|
|
1939
|
+
# Trial recruitment duration by sponsor
|
|
680
1940
|
# @param id [String]
|
|
681
1941
|
# @param [Hash] opts the optional parameters
|
|
682
1942
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -684,25 +1944,25 @@ module PharmaObservatory
|
|
|
684
1944
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
685
1945
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
686
1946
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
687
|
-
# @return [Array<(
|
|
688
|
-
def
|
|
1947
|
+
# @return [Array<(SponsorRecruitmentDurationResponse, Integer, Hash)>] SponsorRecruitmentDurationResponse data, response status code and response headers
|
|
1948
|
+
def legal_entities_sponsor_recruitment_duration_with_http_info(id, opts = {})
|
|
689
1949
|
if @api_client.config.debugging
|
|
690
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
1950
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_sponsor_recruitment_duration ...'
|
|
691
1951
|
end
|
|
692
1952
|
# verify the required parameter 'id' is set
|
|
693
1953
|
if @api_client.config.client_side_validation && id.nil?
|
|
694
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
1954
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_sponsor_recruitment_duration"
|
|
695
1955
|
end
|
|
696
1956
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
697
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1957
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_recruitment_duration, must be smaller than or equal to 500.'
|
|
698
1958
|
end
|
|
699
1959
|
|
|
700
1960
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
701
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
1961
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_recruitment_duration, must be greater than or equal to 1.'
|
|
702
1962
|
end
|
|
703
1963
|
|
|
704
1964
|
# resource path
|
|
705
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
1965
|
+
local_var_path = '/api/v1/legal_entities/{id}/sponsor_recruitment_duration'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
706
1966
|
|
|
707
1967
|
# query parameters
|
|
708
1968
|
query_params = opts[:query_params] || {}
|
|
@@ -724,13 +1984,13 @@ module PharmaObservatory
|
|
|
724
1984
|
post_body = opts[:debug_body]
|
|
725
1985
|
|
|
726
1986
|
# return_type
|
|
727
|
-
return_type = opts[:debug_return_type] || '
|
|
1987
|
+
return_type = opts[:debug_return_type] || 'SponsorRecruitmentDurationResponse'
|
|
728
1988
|
|
|
729
1989
|
# auth_names
|
|
730
1990
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
731
1991
|
|
|
732
1992
|
new_options = opts.merge(
|
|
733
|
-
:operation => :"LegalEntitiesApi.
|
|
1993
|
+
:operation => :"LegalEntitiesApi.legal_entities_sponsor_recruitment_duration",
|
|
734
1994
|
:header_params => header_params,
|
|
735
1995
|
:query_params => query_params,
|
|
736
1996
|
:form_params => form_params,
|
|
@@ -741,12 +2001,12 @@ module PharmaObservatory
|
|
|
741
2001
|
|
|
742
2002
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
743
2003
|
if @api_client.config.debugging
|
|
744
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
2004
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_sponsor_recruitment_duration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
745
2005
|
end
|
|
746
2006
|
return data, status_code, headers
|
|
747
2007
|
end
|
|
748
2008
|
|
|
749
|
-
#
|
|
2009
|
+
# Trial-start forecast by sponsor
|
|
750
2010
|
# @param id [String]
|
|
751
2011
|
# @param [Hash] opts the optional parameters
|
|
752
2012
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -754,13 +2014,13 @@ module PharmaObservatory
|
|
|
754
2014
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
755
2015
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
756
2016
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
757
|
-
# @return [
|
|
758
|
-
def
|
|
759
|
-
data, _status_code, _headers =
|
|
2017
|
+
# @return [SponsorTrialStartForecastResponse]
|
|
2018
|
+
def legal_entities_sponsor_trial_start_forecast(id, opts = {})
|
|
2019
|
+
data, _status_code, _headers = legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts)
|
|
760
2020
|
data
|
|
761
2021
|
end
|
|
762
2022
|
|
|
763
|
-
#
|
|
2023
|
+
# Trial-start forecast by sponsor
|
|
764
2024
|
# @param id [String]
|
|
765
2025
|
# @param [Hash] opts the optional parameters
|
|
766
2026
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -768,25 +2028,25 @@ module PharmaObservatory
|
|
|
768
2028
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
769
2029
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
770
2030
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
771
|
-
# @return [Array<(
|
|
772
|
-
def
|
|
2031
|
+
# @return [Array<(SponsorTrialStartForecastResponse, Integer, Hash)>] SponsorTrialStartForecastResponse data, response status code and response headers
|
|
2032
|
+
def legal_entities_sponsor_trial_start_forecast_with_http_info(id, opts = {})
|
|
773
2033
|
if @api_client.config.debugging
|
|
774
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
2034
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_sponsor_trial_start_forecast ...'
|
|
775
2035
|
end
|
|
776
2036
|
# verify the required parameter 'id' is set
|
|
777
2037
|
if @api_client.config.client_side_validation && id.nil?
|
|
778
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
2038
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_sponsor_trial_start_forecast"
|
|
779
2039
|
end
|
|
780
2040
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
781
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2041
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_trial_start_forecast, must be smaller than or equal to 500.'
|
|
782
2042
|
end
|
|
783
2043
|
|
|
784
2044
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
785
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2045
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_trial_start_forecast, must be greater than or equal to 1.'
|
|
786
2046
|
end
|
|
787
2047
|
|
|
788
2048
|
# resource path
|
|
789
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
2049
|
+
local_var_path = '/api/v1/legal_entities/{id}/sponsor_trial_start_forecast'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
790
2050
|
|
|
791
2051
|
# query parameters
|
|
792
2052
|
query_params = opts[:query_params] || {}
|
|
@@ -808,13 +2068,13 @@ module PharmaObservatory
|
|
|
808
2068
|
post_body = opts[:debug_body]
|
|
809
2069
|
|
|
810
2070
|
# return_type
|
|
811
|
-
return_type = opts[:debug_return_type] || '
|
|
2071
|
+
return_type = opts[:debug_return_type] || 'SponsorTrialStartForecastResponse'
|
|
812
2072
|
|
|
813
2073
|
# auth_names
|
|
814
2074
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
815
2075
|
|
|
816
2076
|
new_options = opts.merge(
|
|
817
|
-
:operation => :"LegalEntitiesApi.
|
|
2077
|
+
:operation => :"LegalEntitiesApi.legal_entities_sponsor_trial_start_forecast",
|
|
818
2078
|
:header_params => header_params,
|
|
819
2079
|
:query_params => query_params,
|
|
820
2080
|
:form_params => form_params,
|
|
@@ -825,12 +2085,12 @@ module PharmaObservatory
|
|
|
825
2085
|
|
|
826
2086
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
827
2087
|
if @api_client.config.debugging
|
|
828
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
2088
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_sponsor_trial_start_forecast\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
829
2089
|
end
|
|
830
2090
|
return data, status_code, headers
|
|
831
2091
|
end
|
|
832
2092
|
|
|
833
|
-
#
|
|
2093
|
+
# Sponsor trials
|
|
834
2094
|
# @param id [String]
|
|
835
2095
|
# @param [Hash] opts the optional parameters
|
|
836
2096
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -838,13 +2098,13 @@ module PharmaObservatory
|
|
|
838
2098
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
839
2099
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
840
2100
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
841
|
-
# @return [
|
|
842
|
-
def
|
|
843
|
-
data, _status_code, _headers =
|
|
2101
|
+
# @return [SponsorTrialsResponse]
|
|
2102
|
+
def legal_entities_sponsor_trials(id, opts = {})
|
|
2103
|
+
data, _status_code, _headers = legal_entities_sponsor_trials_with_http_info(id, opts)
|
|
844
2104
|
data
|
|
845
2105
|
end
|
|
846
2106
|
|
|
847
|
-
#
|
|
2107
|
+
# Sponsor trials
|
|
848
2108
|
# @param id [String]
|
|
849
2109
|
# @param [Hash] opts the optional parameters
|
|
850
2110
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -852,25 +2112,25 @@ module PharmaObservatory
|
|
|
852
2112
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
853
2113
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
854
2114
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
855
|
-
# @return [Array<(
|
|
856
|
-
def
|
|
2115
|
+
# @return [Array<(SponsorTrialsResponse, Integer, Hash)>] SponsorTrialsResponse data, response status code and response headers
|
|
2116
|
+
def legal_entities_sponsor_trials_with_http_info(id, opts = {})
|
|
857
2117
|
if @api_client.config.debugging
|
|
858
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
2118
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_sponsor_trials ...'
|
|
859
2119
|
end
|
|
860
2120
|
# verify the required parameter 'id' is set
|
|
861
2121
|
if @api_client.config.client_side_validation && id.nil?
|
|
862
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
2122
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_sponsor_trials"
|
|
863
2123
|
end
|
|
864
2124
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
865
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2125
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_trials, must be smaller than or equal to 500.'
|
|
866
2126
|
end
|
|
867
2127
|
|
|
868
2128
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
869
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2129
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_sponsor_trials, must be greater than or equal to 1.'
|
|
870
2130
|
end
|
|
871
2131
|
|
|
872
2132
|
# resource path
|
|
873
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
2133
|
+
local_var_path = '/api/v1/legal_entities/{id}/sponsor_trials'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
874
2134
|
|
|
875
2135
|
# query parameters
|
|
876
2136
|
query_params = opts[:query_params] || {}
|
|
@@ -892,13 +2152,13 @@ module PharmaObservatory
|
|
|
892
2152
|
post_body = opts[:debug_body]
|
|
893
2153
|
|
|
894
2154
|
# return_type
|
|
895
|
-
return_type = opts[:debug_return_type] || '
|
|
2155
|
+
return_type = opts[:debug_return_type] || 'SponsorTrialsResponse'
|
|
896
2156
|
|
|
897
2157
|
# auth_names
|
|
898
2158
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
899
2159
|
|
|
900
2160
|
new_options = opts.merge(
|
|
901
|
-
:operation => :"LegalEntitiesApi.
|
|
2161
|
+
:operation => :"LegalEntitiesApi.legal_entities_sponsor_trials",
|
|
902
2162
|
:header_params => header_params,
|
|
903
2163
|
:query_params => query_params,
|
|
904
2164
|
:form_params => form_params,
|
|
@@ -909,12 +2169,12 @@ module PharmaObservatory
|
|
|
909
2169
|
|
|
910
2170
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
911
2171
|
if @api_client.config.debugging
|
|
912
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
2172
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_sponsor_trials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
913
2173
|
end
|
|
914
2174
|
return data, status_code, headers
|
|
915
2175
|
end
|
|
916
2176
|
|
|
917
|
-
#
|
|
2177
|
+
# Supplier capability and ESG disclosure
|
|
918
2178
|
# @param id [String]
|
|
919
2179
|
# @param [Hash] opts the optional parameters
|
|
920
2180
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -922,13 +2182,13 @@ module PharmaObservatory
|
|
|
922
2182
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
923
2183
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
924
2184
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
925
|
-
# @return [
|
|
926
|
-
def
|
|
927
|
-
data, _status_code, _headers =
|
|
2185
|
+
# @return [SupplierCapabilityEsgResponse]
|
|
2186
|
+
def legal_entities_supplier_capability_esg(id, opts = {})
|
|
2187
|
+
data, _status_code, _headers = legal_entities_supplier_capability_esg_with_http_info(id, opts)
|
|
928
2188
|
data
|
|
929
2189
|
end
|
|
930
2190
|
|
|
931
|
-
#
|
|
2191
|
+
# Supplier capability and ESG disclosure
|
|
932
2192
|
# @param id [String]
|
|
933
2193
|
# @param [Hash] opts the optional parameters
|
|
934
2194
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -936,25 +2196,25 @@ module PharmaObservatory
|
|
|
936
2196
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
937
2197
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
938
2198
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
939
|
-
# @return [Array<(
|
|
940
|
-
def
|
|
2199
|
+
# @return [Array<(SupplierCapabilityEsgResponse, Integer, Hash)>] SupplierCapabilityEsgResponse data, response status code and response headers
|
|
2200
|
+
def legal_entities_supplier_capability_esg_with_http_info(id, opts = {})
|
|
941
2201
|
if @api_client.config.debugging
|
|
942
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
2202
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_supplier_capability_esg ...'
|
|
943
2203
|
end
|
|
944
2204
|
# verify the required parameter 'id' is set
|
|
945
2205
|
if @api_client.config.client_side_validation && id.nil?
|
|
946
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
2206
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_supplier_capability_esg"
|
|
947
2207
|
end
|
|
948
2208
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
949
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2209
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_supplier_capability_esg, must be smaller than or equal to 500.'
|
|
950
2210
|
end
|
|
951
2211
|
|
|
952
2212
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
953
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2213
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_supplier_capability_esg, must be greater than or equal to 1.'
|
|
954
2214
|
end
|
|
955
2215
|
|
|
956
2216
|
# resource path
|
|
957
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
2217
|
+
local_var_path = '/api/v1/legal_entities/{id}/supplier_capability_esg'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
958
2218
|
|
|
959
2219
|
# query parameters
|
|
960
2220
|
query_params = opts[:query_params] || {}
|
|
@@ -976,13 +2236,13 @@ module PharmaObservatory
|
|
|
976
2236
|
post_body = opts[:debug_body]
|
|
977
2237
|
|
|
978
2238
|
# return_type
|
|
979
|
-
return_type = opts[:debug_return_type] || '
|
|
2239
|
+
return_type = opts[:debug_return_type] || 'SupplierCapabilityEsgResponse'
|
|
980
2240
|
|
|
981
2241
|
# auth_names
|
|
982
2242
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
983
2243
|
|
|
984
2244
|
new_options = opts.merge(
|
|
985
|
-
:operation => :"LegalEntitiesApi.
|
|
2245
|
+
:operation => :"LegalEntitiesApi.legal_entities_supplier_capability_esg",
|
|
986
2246
|
:header_params => header_params,
|
|
987
2247
|
:query_params => query_params,
|
|
988
2248
|
:form_params => form_params,
|
|
@@ -993,12 +2253,12 @@ module PharmaObservatory
|
|
|
993
2253
|
|
|
994
2254
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
995
2255
|
if @api_client.config.debugging
|
|
996
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
2256
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_supplier_capability_esg\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
997
2257
|
end
|
|
998
2258
|
return data, status_code, headers
|
|
999
2259
|
end
|
|
1000
2260
|
|
|
1001
|
-
#
|
|
2261
|
+
# Unmatched product revenue
|
|
1002
2262
|
# @param id [String]
|
|
1003
2263
|
# @param [Hash] opts the optional parameters
|
|
1004
2264
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -1006,13 +2266,13 @@ module PharmaObservatory
|
|
|
1006
2266
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1007
2267
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1008
2268
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1009
|
-
# @return [
|
|
1010
|
-
def
|
|
1011
|
-
data, _status_code, _headers =
|
|
2269
|
+
# @return [UnmatchedProductRevenueResponse]
|
|
2270
|
+
def legal_entities_unmatched_product_revenue(id, opts = {})
|
|
2271
|
+
data, _status_code, _headers = legal_entities_unmatched_product_revenue_with_http_info(id, opts)
|
|
1012
2272
|
data
|
|
1013
2273
|
end
|
|
1014
2274
|
|
|
1015
|
-
#
|
|
2275
|
+
# Unmatched product revenue
|
|
1016
2276
|
# @param id [String]
|
|
1017
2277
|
# @param [Hash] opts the optional parameters
|
|
1018
2278
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -1020,25 +2280,25 @@ module PharmaObservatory
|
|
|
1020
2280
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1021
2281
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1022
2282
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1023
|
-
# @return [Array<(
|
|
1024
|
-
def
|
|
2283
|
+
# @return [Array<(UnmatchedProductRevenueResponse, Integer, Hash)>] UnmatchedProductRevenueResponse data, response status code and response headers
|
|
2284
|
+
def legal_entities_unmatched_product_revenue_with_http_info(id, opts = {})
|
|
1025
2285
|
if @api_client.config.debugging
|
|
1026
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
2286
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_unmatched_product_revenue ...'
|
|
1027
2287
|
end
|
|
1028
2288
|
# verify the required parameter 'id' is set
|
|
1029
2289
|
if @api_client.config.client_side_validation && id.nil?
|
|
1030
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
2290
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_unmatched_product_revenue"
|
|
1031
2291
|
end
|
|
1032
2292
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1033
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2293
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_unmatched_product_revenue, must be smaller than or equal to 500.'
|
|
1034
2294
|
end
|
|
1035
2295
|
|
|
1036
2296
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1037
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2297
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_unmatched_product_revenue, must be greater than or equal to 1.'
|
|
1038
2298
|
end
|
|
1039
2299
|
|
|
1040
2300
|
# resource path
|
|
1041
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
2301
|
+
local_var_path = '/api/v1/legal_entities/{id}/unmatched_product_revenue'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1042
2302
|
|
|
1043
2303
|
# query parameters
|
|
1044
2304
|
query_params = opts[:query_params] || {}
|
|
@@ -1060,13 +2320,13 @@ module PharmaObservatory
|
|
|
1060
2320
|
post_body = opts[:debug_body]
|
|
1061
2321
|
|
|
1062
2322
|
# return_type
|
|
1063
|
-
return_type = opts[:debug_return_type] || '
|
|
2323
|
+
return_type = opts[:debug_return_type] || 'UnmatchedProductRevenueResponse'
|
|
1064
2324
|
|
|
1065
2325
|
# auth_names
|
|
1066
2326
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1067
2327
|
|
|
1068
2328
|
new_options = opts.merge(
|
|
1069
|
-
:operation => :"LegalEntitiesApi.
|
|
2329
|
+
:operation => :"LegalEntitiesApi.legal_entities_unmatched_product_revenue",
|
|
1070
2330
|
:header_params => header_params,
|
|
1071
2331
|
:query_params => query_params,
|
|
1072
2332
|
:form_params => form_params,
|
|
@@ -1077,12 +2337,12 @@ module PharmaObservatory
|
|
|
1077
2337
|
|
|
1078
2338
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1079
2339
|
if @api_client.config.debugging
|
|
1080
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
2340
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_unmatched_product_revenue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1081
2341
|
end
|
|
1082
2342
|
return data, status_code, headers
|
|
1083
2343
|
end
|
|
1084
2344
|
|
|
1085
|
-
#
|
|
2345
|
+
# FDA untitled letters
|
|
1086
2346
|
# @param id [String]
|
|
1087
2347
|
# @param [Hash] opts the optional parameters
|
|
1088
2348
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -1090,13 +2350,13 @@ module PharmaObservatory
|
|
|
1090
2350
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1091
2351
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1092
2352
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1093
|
-
# @return [
|
|
1094
|
-
def
|
|
1095
|
-
data, _status_code, _headers =
|
|
2353
|
+
# @return [UntitledLettersResponse]
|
|
2354
|
+
def legal_entities_untitled_letters(id, opts = {})
|
|
2355
|
+
data, _status_code, _headers = legal_entities_untitled_letters_with_http_info(id, opts)
|
|
1096
2356
|
data
|
|
1097
2357
|
end
|
|
1098
2358
|
|
|
1099
|
-
#
|
|
2359
|
+
# FDA untitled letters
|
|
1100
2360
|
# @param id [String]
|
|
1101
2361
|
# @param [Hash] opts the optional parameters
|
|
1102
2362
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -1104,25 +2364,25 @@ module PharmaObservatory
|
|
|
1104
2364
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1105
2365
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1106
2366
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1107
|
-
# @return [Array<(
|
|
1108
|
-
def
|
|
2367
|
+
# @return [Array<(UntitledLettersResponse, Integer, Hash)>] UntitledLettersResponse data, response status code and response headers
|
|
2368
|
+
def legal_entities_untitled_letters_with_http_info(id, opts = {})
|
|
1109
2369
|
if @api_client.config.debugging
|
|
1110
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
2370
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_untitled_letters ...'
|
|
1111
2371
|
end
|
|
1112
2372
|
# verify the required parameter 'id' is set
|
|
1113
2373
|
if @api_client.config.client_side_validation && id.nil?
|
|
1114
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
2374
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_untitled_letters"
|
|
1115
2375
|
end
|
|
1116
2376
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1117
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2377
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_untitled_letters, must be smaller than or equal to 500.'
|
|
1118
2378
|
end
|
|
1119
2379
|
|
|
1120
2380
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1121
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2381
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_untitled_letters, must be greater than or equal to 1.'
|
|
1122
2382
|
end
|
|
1123
2383
|
|
|
1124
2384
|
# resource path
|
|
1125
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
2385
|
+
local_var_path = '/api/v1/legal_entities/{id}/untitled_letters'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1126
2386
|
|
|
1127
2387
|
# query parameters
|
|
1128
2388
|
query_params = opts[:query_params] || {}
|
|
@@ -1144,13 +2404,13 @@ module PharmaObservatory
|
|
|
1144
2404
|
post_body = opts[:debug_body]
|
|
1145
2405
|
|
|
1146
2406
|
# return_type
|
|
1147
|
-
return_type = opts[:debug_return_type] || '
|
|
2407
|
+
return_type = opts[:debug_return_type] || 'UntitledLettersResponse'
|
|
1148
2408
|
|
|
1149
2409
|
# auth_names
|
|
1150
2410
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1151
2411
|
|
|
1152
2412
|
new_options = opts.merge(
|
|
1153
|
-
:operation => :"LegalEntitiesApi.
|
|
2413
|
+
:operation => :"LegalEntitiesApi.legal_entities_untitled_letters",
|
|
1154
2414
|
:header_params => header_params,
|
|
1155
2415
|
:query_params => query_params,
|
|
1156
2416
|
:form_params => form_params,
|
|
@@ -1161,12 +2421,12 @@ module PharmaObservatory
|
|
|
1161
2421
|
|
|
1162
2422
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1163
2423
|
if @api_client.config.debugging
|
|
1164
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
2424
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_untitled_letters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1165
2425
|
end
|
|
1166
2426
|
return data, status_code, headers
|
|
1167
2427
|
end
|
|
1168
2428
|
|
|
1169
|
-
#
|
|
2429
|
+
# FDA warning letters
|
|
1170
2430
|
# @param id [String]
|
|
1171
2431
|
# @param [Hash] opts the optional parameters
|
|
1172
2432
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -1174,13 +2434,13 @@ module PharmaObservatory
|
|
|
1174
2434
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1175
2435
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1176
2436
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1177
|
-
# @return [
|
|
1178
|
-
def
|
|
1179
|
-
data, _status_code, _headers =
|
|
2437
|
+
# @return [WarningLettersResponse]
|
|
2438
|
+
def legal_entities_warning_letters(id, opts = {})
|
|
2439
|
+
data, _status_code, _headers = legal_entities_warning_letters_with_http_info(id, opts)
|
|
1180
2440
|
data
|
|
1181
2441
|
end
|
|
1182
2442
|
|
|
1183
|
-
#
|
|
2443
|
+
# FDA warning letters
|
|
1184
2444
|
# @param id [String]
|
|
1185
2445
|
# @param [Hash] opts the optional parameters
|
|
1186
2446
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -1188,25 +2448,25 @@ module PharmaObservatory
|
|
|
1188
2448
|
# @option opts [String] :sort Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1189
2449
|
# @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
|
|
1190
2450
|
# @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1191
|
-
# @return [Array<(
|
|
1192
|
-
def
|
|
2451
|
+
# @return [Array<(WarningLettersResponse, Integer, Hash)>] WarningLettersResponse data, response status code and response headers
|
|
2452
|
+
def legal_entities_warning_letters_with_http_info(id, opts = {})
|
|
1193
2453
|
if @api_client.config.debugging
|
|
1194
|
-
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.
|
|
2454
|
+
@api_client.config.logger.debug 'Calling API: LegalEntitiesApi.legal_entities_warning_letters ...'
|
|
1195
2455
|
end
|
|
1196
2456
|
# verify the required parameter 'id' is set
|
|
1197
2457
|
if @api_client.config.client_side_validation && id.nil?
|
|
1198
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.
|
|
2458
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling LegalEntitiesApi.legal_entities_warning_letters"
|
|
1199
2459
|
end
|
|
1200
2460
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
1201
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2461
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_warning_letters, must be smaller than or equal to 500.'
|
|
1202
2462
|
end
|
|
1203
2463
|
|
|
1204
2464
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1205
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.
|
|
2465
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LegalEntitiesApi.legal_entities_warning_letters, must be greater than or equal to 1.'
|
|
1206
2466
|
end
|
|
1207
2467
|
|
|
1208
2468
|
# resource path
|
|
1209
|
-
local_var_path = '/api/v1/legal_entities/{id}/
|
|
2469
|
+
local_var_path = '/api/v1/legal_entities/{id}/warning_letters'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1210
2470
|
|
|
1211
2471
|
# query parameters
|
|
1212
2472
|
query_params = opts[:query_params] || {}
|
|
@@ -1228,13 +2488,13 @@ module PharmaObservatory
|
|
|
1228
2488
|
post_body = opts[:debug_body]
|
|
1229
2489
|
|
|
1230
2490
|
# return_type
|
|
1231
|
-
return_type = opts[:debug_return_type] || '
|
|
2491
|
+
return_type = opts[:debug_return_type] || 'WarningLettersResponse'
|
|
1232
2492
|
|
|
1233
2493
|
# auth_names
|
|
1234
2494
|
auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
|
|
1235
2495
|
|
|
1236
2496
|
new_options = opts.merge(
|
|
1237
|
-
:operation => :"LegalEntitiesApi.
|
|
2497
|
+
:operation => :"LegalEntitiesApi.legal_entities_warning_letters",
|
|
1238
2498
|
:header_params => header_params,
|
|
1239
2499
|
:query_params => query_params,
|
|
1240
2500
|
:form_params => form_params,
|
|
@@ -1245,7 +2505,7 @@ module PharmaObservatory
|
|
|
1245
2505
|
|
|
1246
2506
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1247
2507
|
if @api_client.config.debugging
|
|
1248
|
-
@api_client.config.logger.debug "API called: LegalEntitiesApi#
|
|
2508
|
+
@api_client.config.logger.debug "API called: LegalEntitiesApi#legal_entities_warning_letters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1249
2509
|
end
|
|
1250
2510
|
return data, status_code, headers
|
|
1251
2511
|
end
|