pharmaobservatory 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +83 -4
  3. data/docs/BiomarkerAlleleFrequenciesResponse.md +58 -0
  4. data/docs/BiomarkerAlleleFrequenciesRow.md +62 -0
  5. data/docs/BiomarkerAssayProvidersResponse.md +58 -0
  6. data/docs/BiomarkerAssayProvidersRow.md +72 -0
  7. data/docs/BiomarkerEvidenceByYearResponse.md +58 -0
  8. data/docs/BiomarkerEvidenceByYearRow.md +32 -0
  9. data/docs/BiomarkerTraversalStatusResponse.md +58 -0
  10. data/docs/BiomarkerTraversalStatusRow.md +36 -0
  11. data/docs/BiomarkersApi.md +320 -0
  12. data/docs/CompaniesApi.md +1001 -99
  13. data/docs/CompanyAssetsRow.md +5 -1
  14. data/docs/CompanyBiomarkerCapabilityResponse.md +58 -0
  15. data/docs/CompanyBiomarkerCapabilityRow.md +68 -0
  16. data/docs/CompanyProgramsRow.md +5 -1
  17. data/docs/CompanyRareDiseaseDeclarationsResponse.md +58 -0
  18. data/docs/CompanyRareDiseaseDeclarationsRow.md +52 -0
  19. data/docs/GxpFacilitiesRow.md +22 -0
  20. data/docs/LegalEntitiesApi.md +981 -101
  21. data/docs/LegalEntitiesRecordAttributes.md +6 -0
  22. data/docs/LegalEntitySecFilingsResponse.md +58 -0
  23. data/docs/LegalEntitySecFilingsRow.md +44 -0
  24. data/docs/OrgDisclosureTrendResponse.md +58 -0
  25. data/docs/OrgDisclosureTrendRow.md +62 -0
  26. data/docs/OwnershipSourceCoverageResponse.md +58 -0
  27. data/docs/OwnershipSourceCoverageRow.md +62 -0
  28. data/docs/ProgramLicensingCandidatesRow.md +5 -1
  29. data/docs/ProgramsRow.md +1 -1
  30. data/docs/RwdConductorDeliveryResponse.md +58 -0
  31. data/docs/RwdConductorDeliveryRow.md +74 -0
  32. data/docs/RwdConductorFootprintResponse.md +58 -0
  33. data/docs/RwdConductorFootprintRow.md +40 -0
  34. data/docs/RwdConductorStudiesResponse.md +58 -0
  35. data/docs/RwdConductorStudiesRow.md +42 -0
  36. data/docs/RwdConductorsApi.md +393 -0
  37. data/docs/RwdConductorsRecord.md +38 -0
  38. data/docs/RwdConductorsResponse.md +58 -0
  39. data/docs/RwdConductorsRow.md +72 -0
  40. data/docs/RwdInstitutionsApi.md +153 -0
  41. data/docs/RwdInstitutionsRecord.md +38 -0
  42. data/docs/RwdInstitutionsResponse.md +58 -0
  43. data/docs/RwdInstitutionsRow.md +154 -0
  44. data/docs/RwdNetworksApi.md +153 -0
  45. data/docs/RwdNetworksRecord.md +38 -0
  46. data/docs/RwdNetworksResponse.md +58 -0
  47. data/docs/RwdNetworksRow.md +110 -0
  48. data/docs/RwdStudiesApi.md +80 -0
  49. data/docs/SbtiCrosscheckResponse.md +58 -0
  50. data/docs/SbtiCrosscheckRow.md +48 -0
  51. data/docs/SponsorDeliveryResponse.md +58 -0
  52. data/docs/SponsorDeliveryRow.md +52 -0
  53. data/docs/SponsorPatentMentionsResponse.md +58 -0
  54. data/docs/SponsorPatentMentionsRow.md +42 -0
  55. data/docs/SponsorTrialConditionsResponse.md +58 -0
  56. data/docs/SponsorTrialConditionsRow.md +36 -0
  57. data/docs/SponsorTrialDrugsResponse.md +58 -0
  58. data/docs/SponsorTrialDrugsRow.md +34 -0
  59. data/lib/pharmaobservatory/api/biomarkers_api.rb +336 -0
  60. data/lib/pharmaobservatory/api/companies_api.rb +1131 -130
  61. data/lib/pharmaobservatory/api/legal_entities_api.rb +1047 -123
  62. data/lib/pharmaobservatory/api/rwd_conductors_api.rb +413 -0
  63. data/lib/pharmaobservatory/api/rwd_institutions_api.rb +161 -0
  64. data/lib/pharmaobservatory/api/rwd_networks_api.rb +161 -0
  65. data/lib/pharmaobservatory/api/rwd_studies_api.rb +84 -0
  66. data/lib/pharmaobservatory/models/biomarker_allele_frequencies_response.rb +478 -0
  67. data/lib/pharmaobservatory/models/biomarker_allele_frequencies_row.rb +465 -0
  68. data/lib/pharmaobservatory/models/biomarker_assay_providers_response.rb +478 -0
  69. data/lib/pharmaobservatory/models/biomarker_assay_providers_row.rb +520 -0
  70. data/lib/pharmaobservatory/models/biomarker_evidence_by_year_response.rb +478 -0
  71. data/lib/pharmaobservatory/models/biomarker_evidence_by_year_row.rb +300 -0
  72. data/lib/pharmaobservatory/models/biomarker_traversal_status_response.rb +478 -0
  73. data/lib/pharmaobservatory/models/biomarker_traversal_status_row.rb +322 -0
  74. data/lib/pharmaobservatory/models/company_assets_row.rb +24 -2
  75. data/lib/pharmaobservatory/models/company_biomarker_capability_response.rb +478 -0
  76. data/lib/pharmaobservatory/models/company_biomarker_capability_row.rb +498 -0
  77. data/lib/pharmaobservatory/models/company_programs_row.rb +24 -2
  78. data/lib/pharmaobservatory/models/company_rare_disease_declarations_response.rb +478 -0
  79. data/lib/pharmaobservatory/models/company_rare_disease_declarations_row.rb +410 -0
  80. data/lib/pharmaobservatory/models/gxp_facilities_row.rb +122 -1
  81. data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +28 -1
  82. data/lib/pharmaobservatory/models/legal_entity_sec_filings_response.rb +478 -0
  83. data/lib/pharmaobservatory/models/legal_entity_sec_filings_row.rb +370 -0
  84. data/lib/pharmaobservatory/models/org_disclosure_trend_response.rb +478 -0
  85. data/lib/pharmaobservatory/models/org_disclosure_trend_row.rb +465 -0
  86. data/lib/pharmaobservatory/models/ownership_source_coverage_response.rb +478 -0
  87. data/lib/pharmaobservatory/models/ownership_source_coverage_row.rb +465 -0
  88. data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +24 -2
  89. data/lib/pharmaobservatory/models/programs_row.rb +1 -1
  90. data/lib/pharmaobservatory/models/rwd_conductor_delivery_response.rb +478 -0
  91. data/lib/pharmaobservatory/models/rwd_conductor_delivery_row.rb +537 -0
  92. data/lib/pharmaobservatory/models/rwd_conductor_footprint_response.rb +478 -0
  93. data/lib/pharmaobservatory/models/rwd_conductor_footprint_row.rb +346 -0
  94. data/lib/pharmaobservatory/models/rwd_conductor_studies_response.rb +478 -0
  95. data/lib/pharmaobservatory/models/rwd_conductor_studies_row.rb +355 -0
  96. data/lib/pharmaobservatory/models/rwd_conductors_record.rb +385 -0
  97. data/lib/pharmaobservatory/models/rwd_conductors_response.rb +478 -0
  98. data/lib/pharmaobservatory/models/rwd_conductors_row.rb +526 -0
  99. data/lib/pharmaobservatory/models/rwd_institutions_record.rb +385 -0
  100. data/lib/pharmaobservatory/models/rwd_institutions_response.rb +478 -0
  101. data/lib/pharmaobservatory/models/rwd_institutions_row.rb +981 -0
  102. data/lib/pharmaobservatory/models/rwd_networks_record.rb +385 -0
  103. data/lib/pharmaobservatory/models/rwd_networks_response.rb +478 -0
  104. data/lib/pharmaobservatory/models/rwd_networks_row.rb +733 -0
  105. data/lib/pharmaobservatory/models/sbti_crosscheck_response.rb +478 -0
  106. data/lib/pharmaobservatory/models/sbti_crosscheck_row.rb +388 -0
  107. data/lib/pharmaobservatory/models/sponsor_delivery_response.rb +478 -0
  108. data/lib/pharmaobservatory/models/sponsor_delivery_row.rb +410 -0
  109. data/lib/pharmaobservatory/models/sponsor_patent_mentions_response.rb +478 -0
  110. data/lib/pharmaobservatory/models/sponsor_patent_mentions_row.rb +355 -0
  111. data/lib/pharmaobservatory/models/sponsor_trial_conditions_response.rb +478 -0
  112. data/lib/pharmaobservatory/models/sponsor_trial_conditions_row.rb +322 -0
  113. data/lib/pharmaobservatory/models/sponsor_trial_drugs_response.rb +478 -0
  114. data/lib/pharmaobservatory/models/sponsor_trial_drugs_row.rb +311 -0
  115. data/lib/pharmaobservatory/version.rb +1 -1
  116. data/lib/pharmaobservatory.rb +46 -0
  117. metadata +94 -2
@@ -7,7 +7,9 @@ All URIs are relative to *https://pharmaobservatory.com*
7
7
  | [**legal_entities_catalysts**](LegalEntitiesApi.md#legal_entities_catalysts) | **GET** /api/v1/legal_entities/{id}/catalysts | Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events |
8
8
  | [**legal_entities_clia_certificates**](LegalEntitiesApi.md#legal_entities_clia_certificates) | **GET** /api/v1/legal_entities/{id}/clia_certificates | CLIA laboratory certificates |
9
9
  | [**legal_entities_company_assets**](LegalEntitiesApi.md#legal_entities_company_assets) | **GET** /api/v1/legal_entities/{id}/company_assets | Company assets (approved and marketed drugs) |
10
+ | [**legal_entities_company_biomarker_capability**](LegalEntitiesApi.md#legal_entities_company_biomarker_capability) | **GET** /api/v1/legal_entities/{id}/company_biomarker_capability | Company biomarker capability |
10
11
  | [**legal_entities_company_programs**](LegalEntitiesApi.md#legal_entities_company_programs) | **GET** /api/v1/legal_entities/{id}/company_programs | Company programs |
12
+ | [**legal_entities_company_rare_disease_declarations**](LegalEntitiesApi.md#legal_entities_company_rare_disease_declarations) | **GET** /api/v1/legal_entities/{id}/company_rare_disease_declarations | Organization-wide rare disease declarations |
11
13
  | [**legal_entities_debarments**](LegalEntitiesApi.md#legal_entities_debarments) | **GET** /api/v1/legal_entities/{id}/debarments | FDA firm debarments |
12
14
  | [**legal_entities_drug_patent_cliff**](LegalEntitiesApi.md#legal_entities_drug_patent_cliff) | **GET** /api/v1/legal_entities/{id}/drug_patent_cliff | Patent-cliff exposure |
13
15
  | [**legal_entities_enforcement_events**](LegalEntitiesApi.md#legal_entities_enforcement_events) | **GET** /api/v1/legal_entities/{id}/enforcement_events | FDA enforcement events |
@@ -18,16 +20,25 @@ All URIs are relative to *https://pharmaobservatory.com*
18
20
  | [**legal_entities_inspections**](LegalEntitiesApi.md#legal_entities_inspections) | **GET** /api/v1/legal_entities/{id}/inspections | FDA inspections |
19
21
  | [**legal_entities_institutional_holdings**](LegalEntitiesApi.md#legal_entities_institutional_holdings) | **GET** /api/v1/legal_entities/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
20
22
  | [**legal_entities_institutional_quarter_totals**](LegalEntitiesApi.md#legal_entities_institutional_quarter_totals) | **GET** /api/v1/legal_entities/{id}/institutional_quarter_totals | Institutional quarter totals (SEC Form 13F) |
23
+ | [**legal_entities_legal_entity_sec_filings**](LegalEntitiesApi.md#legal_entities_legal_entity_sec_filings) | **GET** /api/v1/legal_entities/{id}/legal_entity_sec_filings | SEC filer records |
21
24
  | [**legal_entities_list**](LegalEntitiesApi.md#legal_entities_list) | **GET** /api/v1/legal_entities | List legal entities |
25
+ | [**legal_entities_org_disclosure_trend**](LegalEntitiesApi.md#legal_entities_org_disclosure_trend) | **GET** /api/v1/legal_entities/{id}/org_disclosure_trend | Organization disclosure trend |
22
26
  | [**legal_entities_org_disclosures**](LegalEntitiesApi.md#legal_entities_org_disclosures) | **GET** /api/v1/legal_entities/{id}/org_disclosures | Organization disclosures (climate and diversity) |
23
27
  | [**legal_entities_org_relationships**](LegalEntitiesApi.md#legal_entities_org_relationships) | **GET** /api/v1/legal_entities/{id}/org_relationships | Organization relationships |
24
28
  | [**legal_entities_ownership_percentages**](LegalEntitiesApi.md#legal_entities_ownership_percentages) | **GET** /api/v1/legal_entities/{id}/ownership_percentages | Ownership percentages |
25
29
  | [**legal_entities_ownership_positions**](LegalEntitiesApi.md#legal_entities_ownership_positions) | **GET** /api/v1/legal_entities/{id}/ownership_positions | Ownership and control positions |
30
+ | [**legal_entities_ownership_source_coverage**](LegalEntitiesApi.md#legal_entities_ownership_source_coverage) | **GET** /api/v1/legal_entities/{id}/ownership_source_coverage | Ownership source coverage |
26
31
  | [**legal_entities_pdufa_dates**](LegalEntitiesApi.md#legal_entities_pdufa_dates) | **GET** /api/v1/legal_entities/{id}/pdufa_dates | FDA decision dates (PDUFA) and catalysts |
27
32
  | [**legal_entities_program_licensing_candidates**](LegalEntitiesApi.md#legal_entities_program_licensing_candidates) | **GET** /api/v1/legal_entities/{id}/program_licensing_candidates | Program licensing candidates |
28
33
  | [**legal_entities_recalls**](LegalEntitiesApi.md#legal_entities_recalls) | **GET** /api/v1/legal_entities/{id}/recalls | FDA recalls |
34
+ | [**legal_entities_sbti_crosscheck**](LegalEntitiesApi.md#legal_entities_sbti_crosscheck) | **GET** /api/v1/legal_entities/{id}/sbti_crosscheck | SBTi cross-check |
35
+ | [**legal_entities_sec_pdufa_dates**](LegalEntitiesApi.md#legal_entities_sec_pdufa_dates) | **GET** /api/v1/legal_entities/{id}/sec_pdufa_dates | FDA dates disclosed in SEC filings |
36
+ | [**legal_entities_sponsor_delivery**](LegalEntitiesApi.md#legal_entities_sponsor_delivery) | **GET** /api/v1/legal_entities/{id}/sponsor_delivery | Sponsor delivery reliability |
37
+ | [**legal_entities_sponsor_patent_mentions**](LegalEntitiesApi.md#legal_entities_sponsor_patent_mentions) | **GET** /api/v1/legal_entities/{id}/sponsor_patent_mentions | Sponsor patent mentions |
29
38
  | [**legal_entities_sponsor_recruitment_by_phase**](LegalEntitiesApi.md#legal_entities_sponsor_recruitment_by_phase) | **GET** /api/v1/legal_entities/{id}/sponsor_recruitment_by_phase | Trial recruitment duration by sponsor and phase |
30
39
  | [**legal_entities_sponsor_recruitment_duration**](LegalEntitiesApi.md#legal_entities_sponsor_recruitment_duration) | **GET** /api/v1/legal_entities/{id}/sponsor_recruitment_duration | Trial recruitment duration by sponsor |
40
+ | [**legal_entities_sponsor_trial_conditions**](LegalEntitiesApi.md#legal_entities_sponsor_trial_conditions) | **GET** /api/v1/legal_entities/{id}/sponsor_trial_conditions | Sponsor trial conditions |
41
+ | [**legal_entities_sponsor_trial_drugs**](LegalEntitiesApi.md#legal_entities_sponsor_trial_drugs) | **GET** /api/v1/legal_entities/{id}/sponsor_trial_drugs | Sponsor trial drugs |
31
42
  | [**legal_entities_sponsor_trial_start_forecast**](LegalEntitiesApi.md#legal_entities_sponsor_trial_start_forecast) | **GET** /api/v1/legal_entities/{id}/sponsor_trial_start_forecast | Trial-start forecast by sponsor |
32
43
  | [**legal_entities_sponsor_trials**](LegalEntitiesApi.md#legal_entities_sponsor_trials) | **GET** /api/v1/legal_entities/{id}/sponsor_trials | Sponsor trials |
33
44
  | [**legal_entities_supplier_capability_esg**](LegalEntitiesApi.md#legal_entities_supplier_capability_esg) | **GET** /api/v1/legal_entities/{id}/supplier_capability_esg | Supplier capability and ESG disclosure |
@@ -273,6 +284,85 @@ end
273
284
  - **Accept**: application/json
274
285
 
275
286
 
287
+ ## legal_entities_company_biomarker_capability
288
+
289
+ > <CompanyBiomarkerCapabilityResponse> legal_entities_company_biomarker_capability(id, opts)
290
+
291
+ Company biomarker capability
292
+
293
+ ### Examples
294
+
295
+ ```ruby
296
+ require 'time'
297
+ require 'pharmaobservatory'
298
+ # setup authorization
299
+ PharmaObservatory.configure do |config|
300
+ # Configure Bearer authorization (JWT): ApiBearerJwt
301
+ config.access_token = 'YOUR_BEARER_TOKEN'
302
+ end
303
+
304
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
305
+ id = 'edgar:0001114448' # String |
306
+ opts = {
307
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
308
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
309
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
310
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
311
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
312
+ }
313
+
314
+ begin
315
+ # Company biomarker capability
316
+ result = api_instance.legal_entities_company_biomarker_capability(id, opts)
317
+ p result
318
+ rescue PharmaObservatory::ApiError => e
319
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_biomarker_capability: #{e}"
320
+ end
321
+ ```
322
+
323
+ #### Using the legal_entities_company_biomarker_capability_with_http_info variant
324
+
325
+ This returns an Array which contains the response data, status code and headers.
326
+
327
+ > <Array(<CompanyBiomarkerCapabilityResponse>, Integer, Hash)> legal_entities_company_biomarker_capability_with_http_info(id, opts)
328
+
329
+ ```ruby
330
+ begin
331
+ # Company biomarker capability
332
+ data, status_code, headers = api_instance.legal_entities_company_biomarker_capability_with_http_info(id, opts)
333
+ p status_code # => 2xx
334
+ p headers # => { ... }
335
+ p data # => <CompanyBiomarkerCapabilityResponse>
336
+ rescue PharmaObservatory::ApiError => e
337
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_biomarker_capability_with_http_info: #{e}"
338
+ end
339
+ ```
340
+
341
+ ### Parameters
342
+
343
+ | Name | Type | Description | Notes |
344
+ | ---- | ---- | ----------- | ----- |
345
+ | **id** | **String** | | |
346
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
347
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
348
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
349
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
350
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
351
+
352
+ ### Return type
353
+
354
+ [**CompanyBiomarkerCapabilityResponse**](CompanyBiomarkerCapabilityResponse.md)
355
+
356
+ ### Authorization
357
+
358
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
359
+
360
+ ### HTTP request headers
361
+
362
+ - **Content-Type**: Not defined
363
+ - **Accept**: application/json
364
+
365
+
276
366
  ## legal_entities_company_programs
277
367
 
278
368
  > <CompanyProgramsResponse> legal_entities_company_programs(id, opts)
@@ -352,6 +442,85 @@ end
352
442
  - **Accept**: application/json
353
443
 
354
444
 
445
+ ## legal_entities_company_rare_disease_declarations
446
+
447
+ > <CompanyRareDiseaseDeclarationsResponse> legal_entities_company_rare_disease_declarations(id, opts)
448
+
449
+ Organization-wide rare disease declarations
450
+
451
+ ### Examples
452
+
453
+ ```ruby
454
+ require 'time'
455
+ require 'pharmaobservatory'
456
+ # setup authorization
457
+ PharmaObservatory.configure do |config|
458
+ # Configure Bearer authorization (JWT): ApiBearerJwt
459
+ config.access_token = 'YOUR_BEARER_TOKEN'
460
+ end
461
+
462
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
463
+ id = 'edgar:0001114448' # String |
464
+ opts = {
465
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
466
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
467
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
468
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
469
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
470
+ }
471
+
472
+ begin
473
+ # Organization-wide rare disease declarations
474
+ result = api_instance.legal_entities_company_rare_disease_declarations(id, opts)
475
+ p result
476
+ rescue PharmaObservatory::ApiError => e
477
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_rare_disease_declarations: #{e}"
478
+ end
479
+ ```
480
+
481
+ #### Using the legal_entities_company_rare_disease_declarations_with_http_info variant
482
+
483
+ This returns an Array which contains the response data, status code and headers.
484
+
485
+ > <Array(<CompanyRareDiseaseDeclarationsResponse>, Integer, Hash)> legal_entities_company_rare_disease_declarations_with_http_info(id, opts)
486
+
487
+ ```ruby
488
+ begin
489
+ # Organization-wide rare disease declarations
490
+ data, status_code, headers = api_instance.legal_entities_company_rare_disease_declarations_with_http_info(id, opts)
491
+ p status_code # => 2xx
492
+ p headers # => { ... }
493
+ p data # => <CompanyRareDiseaseDeclarationsResponse>
494
+ rescue PharmaObservatory::ApiError => e
495
+ puts "Error when calling LegalEntitiesApi->legal_entities_company_rare_disease_declarations_with_http_info: #{e}"
496
+ end
497
+ ```
498
+
499
+ ### Parameters
500
+
501
+ | Name | Type | Description | Notes |
502
+ | ---- | ---- | ----------- | ----- |
503
+ | **id** | **String** | | |
504
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
505
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
506
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
507
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
508
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
509
+
510
+ ### Return type
511
+
512
+ [**CompanyRareDiseaseDeclarationsResponse**](CompanyRareDiseaseDeclarationsResponse.md)
513
+
514
+ ### Authorization
515
+
516
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
517
+
518
+ ### HTTP request headers
519
+
520
+ - **Content-Type**: Not defined
521
+ - **Accept**: application/json
522
+
523
+
355
524
  ## legal_entities_debarments
356
525
 
357
526
  > <DebarmentsResponse> legal_entities_debarments(id, opts)
@@ -1130,11 +1299,11 @@ end
1130
1299
  - **Accept**: application/json
1131
1300
 
1132
1301
 
1133
- ## legal_entities_list
1302
+ ## legal_entities_legal_entity_sec_filings
1134
1303
 
1135
- > <LegalEntitiesResponse> legal_entities_list(opts)
1304
+ > <LegalEntitySecFilingsResponse> legal_entities_legal_entity_sec_filings(id, opts)
1136
1305
 
1137
- List legal entities
1306
+ SEC filer records
1138
1307
 
1139
1308
  ### Examples
1140
1309
 
@@ -1148,6 +1317,7 @@ PharmaObservatory.configure do |config|
1148
1317
  end
1149
1318
 
1150
1319
  api_instance = PharmaObservatory::LegalEntitiesApi.new
1320
+ id = 'edgar:0001114448' # String |
1151
1321
  opts = {
1152
1322
  cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1153
1323
  limit: 56, # Integer | Rows per page, up to 500 (default 50).
@@ -1157,29 +1327,29 @@ opts = {
1157
1327
  }
1158
1328
 
1159
1329
  begin
1160
- # List legal entities
1161
- result = api_instance.legal_entities_list(opts)
1330
+ # SEC filer records
1331
+ result = api_instance.legal_entities_legal_entity_sec_filings(id, opts)
1162
1332
  p result
1163
1333
  rescue PharmaObservatory::ApiError => e
1164
- puts "Error when calling LegalEntitiesApi->legal_entities_list: #{e}"
1334
+ puts "Error when calling LegalEntitiesApi->legal_entities_legal_entity_sec_filings: #{e}"
1165
1335
  end
1166
1336
  ```
1167
1337
 
1168
- #### Using the legal_entities_list_with_http_info variant
1338
+ #### Using the legal_entities_legal_entity_sec_filings_with_http_info variant
1169
1339
 
1170
1340
  This returns an Array which contains the response data, status code and headers.
1171
1341
 
1172
- > <Array(<LegalEntitiesResponse>, Integer, Hash)> legal_entities_list_with_http_info(opts)
1342
+ > <Array(<LegalEntitySecFilingsResponse>, Integer, Hash)> legal_entities_legal_entity_sec_filings_with_http_info(id, opts)
1173
1343
 
1174
1344
  ```ruby
1175
1345
  begin
1176
- # List legal entities
1177
- data, status_code, headers = api_instance.legal_entities_list_with_http_info(opts)
1346
+ # SEC filer records
1347
+ data, status_code, headers = api_instance.legal_entities_legal_entity_sec_filings_with_http_info(id, opts)
1178
1348
  p status_code # => 2xx
1179
1349
  p headers # => { ... }
1180
- p data # => <LegalEntitiesResponse>
1350
+ p data # => <LegalEntitySecFilingsResponse>
1181
1351
  rescue PharmaObservatory::ApiError => e
1182
- puts "Error when calling LegalEntitiesApi->legal_entities_list_with_http_info: #{e}"
1352
+ puts "Error when calling LegalEntitiesApi->legal_entities_legal_entity_sec_filings_with_http_info: #{e}"
1183
1353
  end
1184
1354
  ```
1185
1355
 
@@ -1187,6 +1357,7 @@ end
1187
1357
 
1188
1358
  | Name | Type | Description | Notes |
1189
1359
  | ---- | ---- | ----------- | ----- |
1360
+ | **id** | **String** | | |
1190
1361
  | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1191
1362
  | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1192
1363
  | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
@@ -1195,7 +1366,7 @@ end
1195
1366
 
1196
1367
  ### Return type
1197
1368
 
1198
- [**LegalEntitiesResponse**](LegalEntitiesResponse.md)
1369
+ [**LegalEntitySecFilingsResponse**](LegalEntitySecFilingsResponse.md)
1199
1370
 
1200
1371
  ### Authorization
1201
1372
 
@@ -1207,11 +1378,11 @@ end
1207
1378
  - **Accept**: application/json
1208
1379
 
1209
1380
 
1210
- ## legal_entities_org_disclosures
1381
+ ## legal_entities_list
1211
1382
 
1212
- > <OrgDisclosuresResponse> legal_entities_org_disclosures(id, opts)
1383
+ > <LegalEntitiesResponse> legal_entities_list(opts)
1213
1384
 
1214
- Organization disclosures (climate and diversity)
1385
+ List legal entities
1215
1386
 
1216
1387
  ### Examples
1217
1388
 
@@ -1225,7 +1396,6 @@ PharmaObservatory.configure do |config|
1225
1396
  end
1226
1397
 
1227
1398
  api_instance = PharmaObservatory::LegalEntitiesApi.new
1228
- id = 'edgar:0001114448' # String |
1229
1399
  opts = {
1230
1400
  cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1231
1401
  limit: 56, # Integer | Rows per page, up to 500 (default 50).
@@ -1235,29 +1405,29 @@ opts = {
1235
1405
  }
1236
1406
 
1237
1407
  begin
1238
- # Organization disclosures (climate and diversity)
1239
- result = api_instance.legal_entities_org_disclosures(id, opts)
1408
+ # List legal entities
1409
+ result = api_instance.legal_entities_list(opts)
1240
1410
  p result
1241
1411
  rescue PharmaObservatory::ApiError => e
1242
- puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures: #{e}"
1412
+ puts "Error when calling LegalEntitiesApi->legal_entities_list: #{e}"
1243
1413
  end
1244
1414
  ```
1245
1415
 
1246
- #### Using the legal_entities_org_disclosures_with_http_info variant
1416
+ #### Using the legal_entities_list_with_http_info variant
1247
1417
 
1248
1418
  This returns an Array which contains the response data, status code and headers.
1249
1419
 
1250
- > <Array(<OrgDisclosuresResponse>, Integer, Hash)> legal_entities_org_disclosures_with_http_info(id, opts)
1420
+ > <Array(<LegalEntitiesResponse>, Integer, Hash)> legal_entities_list_with_http_info(opts)
1251
1421
 
1252
1422
  ```ruby
1253
1423
  begin
1254
- # Organization disclosures (climate and diversity)
1255
- data, status_code, headers = api_instance.legal_entities_org_disclosures_with_http_info(id, opts)
1424
+ # List legal entities
1425
+ data, status_code, headers = api_instance.legal_entities_list_with_http_info(opts)
1256
1426
  p status_code # => 2xx
1257
1427
  p headers # => { ... }
1258
- p data # => <OrgDisclosuresResponse>
1428
+ p data # => <LegalEntitiesResponse>
1259
1429
  rescue PharmaObservatory::ApiError => e
1260
- puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures_with_http_info: #{e}"
1430
+ puts "Error when calling LegalEntitiesApi->legal_entities_list_with_http_info: #{e}"
1261
1431
  end
1262
1432
  ```
1263
1433
 
@@ -1265,7 +1435,6 @@ end
1265
1435
 
1266
1436
  | Name | Type | Description | Notes |
1267
1437
  | ---- | ---- | ----------- | ----- |
1268
- | **id** | **String** | | |
1269
1438
  | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1270
1439
  | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1271
1440
  | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
@@ -1274,7 +1443,7 @@ end
1274
1443
 
1275
1444
  ### Return type
1276
1445
 
1277
- [**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
1446
+ [**LegalEntitiesResponse**](LegalEntitiesResponse.md)
1278
1447
 
1279
1448
  ### Authorization
1280
1449
 
@@ -1286,11 +1455,11 @@ end
1286
1455
  - **Accept**: application/json
1287
1456
 
1288
1457
 
1289
- ## legal_entities_org_relationships
1458
+ ## legal_entities_org_disclosure_trend
1290
1459
 
1291
- > <OrgRelationshipsResponse> legal_entities_org_relationships(id, opts)
1460
+ > <OrgDisclosureTrendResponse> legal_entities_org_disclosure_trend(id, opts)
1292
1461
 
1293
- Organization relationships
1462
+ Organization disclosure trend
1294
1463
 
1295
1464
  ### Examples
1296
1465
 
@@ -1314,29 +1483,29 @@ opts = {
1314
1483
  }
1315
1484
 
1316
1485
  begin
1317
- # Organization relationships
1318
- result = api_instance.legal_entities_org_relationships(id, opts)
1486
+ # Organization disclosure trend
1487
+ result = api_instance.legal_entities_org_disclosure_trend(id, opts)
1319
1488
  p result
1320
1489
  rescue PharmaObservatory::ApiError => e
1321
- puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships: #{e}"
1490
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosure_trend: #{e}"
1322
1491
  end
1323
1492
  ```
1324
1493
 
1325
- #### Using the legal_entities_org_relationships_with_http_info variant
1494
+ #### Using the legal_entities_org_disclosure_trend_with_http_info variant
1326
1495
 
1327
1496
  This returns an Array which contains the response data, status code and headers.
1328
1497
 
1329
- > <Array(<OrgRelationshipsResponse>, Integer, Hash)> legal_entities_org_relationships_with_http_info(id, opts)
1498
+ > <Array(<OrgDisclosureTrendResponse>, Integer, Hash)> legal_entities_org_disclosure_trend_with_http_info(id, opts)
1330
1499
 
1331
1500
  ```ruby
1332
1501
  begin
1333
- # Organization relationships
1334
- data, status_code, headers = api_instance.legal_entities_org_relationships_with_http_info(id, opts)
1502
+ # Organization disclosure trend
1503
+ data, status_code, headers = api_instance.legal_entities_org_disclosure_trend_with_http_info(id, opts)
1335
1504
  p status_code # => 2xx
1336
1505
  p headers # => { ... }
1337
- p data # => <OrgRelationshipsResponse>
1506
+ p data # => <OrgDisclosureTrendResponse>
1338
1507
  rescue PharmaObservatory::ApiError => e
1339
- puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships_with_http_info: #{e}"
1508
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosure_trend_with_http_info: #{e}"
1340
1509
  end
1341
1510
  ```
1342
1511
 
@@ -1353,7 +1522,7 @@ end
1353
1522
 
1354
1523
  ### Return type
1355
1524
 
1356
- [**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
1525
+ [**OrgDisclosureTrendResponse**](OrgDisclosureTrendResponse.md)
1357
1526
 
1358
1527
  ### Authorization
1359
1528
 
@@ -1365,11 +1534,11 @@ end
1365
1534
  - **Accept**: application/json
1366
1535
 
1367
1536
 
1368
- ## legal_entities_ownership_percentages
1537
+ ## legal_entities_org_disclosures
1369
1538
 
1370
- > <OwnershipPercentagesResponse> legal_entities_ownership_percentages(id, opts)
1539
+ > <OrgDisclosuresResponse> legal_entities_org_disclosures(id, opts)
1371
1540
 
1372
- Ownership percentages
1541
+ Organization disclosures (climate and diversity)
1373
1542
 
1374
1543
  ### Examples
1375
1544
 
@@ -1393,29 +1562,29 @@ opts = {
1393
1562
  }
1394
1563
 
1395
1564
  begin
1396
- # Ownership percentages
1397
- result = api_instance.legal_entities_ownership_percentages(id, opts)
1565
+ # Organization disclosures (climate and diversity)
1566
+ result = api_instance.legal_entities_org_disclosures(id, opts)
1398
1567
  p result
1399
1568
  rescue PharmaObservatory::ApiError => e
1400
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages: #{e}"
1569
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures: #{e}"
1401
1570
  end
1402
1571
  ```
1403
1572
 
1404
- #### Using the legal_entities_ownership_percentages_with_http_info variant
1573
+ #### Using the legal_entities_org_disclosures_with_http_info variant
1405
1574
 
1406
1575
  This returns an Array which contains the response data, status code and headers.
1407
1576
 
1408
- > <Array(<OwnershipPercentagesResponse>, Integer, Hash)> legal_entities_ownership_percentages_with_http_info(id, opts)
1577
+ > <Array(<OrgDisclosuresResponse>, Integer, Hash)> legal_entities_org_disclosures_with_http_info(id, opts)
1409
1578
 
1410
1579
  ```ruby
1411
1580
  begin
1412
- # Ownership percentages
1413
- data, status_code, headers = api_instance.legal_entities_ownership_percentages_with_http_info(id, opts)
1581
+ # Organization disclosures (climate and diversity)
1582
+ data, status_code, headers = api_instance.legal_entities_org_disclosures_with_http_info(id, opts)
1414
1583
  p status_code # => 2xx
1415
1584
  p headers # => { ... }
1416
- p data # => <OwnershipPercentagesResponse>
1585
+ p data # => <OrgDisclosuresResponse>
1417
1586
  rescue PharmaObservatory::ApiError => e
1418
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages_with_http_info: #{e}"
1587
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_disclosures_with_http_info: #{e}"
1419
1588
  end
1420
1589
  ```
1421
1590
 
@@ -1432,7 +1601,7 @@ end
1432
1601
 
1433
1602
  ### Return type
1434
1603
 
1435
- [**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
1604
+ [**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
1436
1605
 
1437
1606
  ### Authorization
1438
1607
 
@@ -1444,11 +1613,11 @@ end
1444
1613
  - **Accept**: application/json
1445
1614
 
1446
1615
 
1447
- ## legal_entities_ownership_positions
1616
+ ## legal_entities_org_relationships
1448
1617
 
1449
- > <OwnershipPositionsResponse> legal_entities_ownership_positions(id, opts)
1618
+ > <OrgRelationshipsResponse> legal_entities_org_relationships(id, opts)
1450
1619
 
1451
- Ownership and control positions
1620
+ Organization relationships
1452
1621
 
1453
1622
  ### Examples
1454
1623
 
@@ -1472,29 +1641,29 @@ opts = {
1472
1641
  }
1473
1642
 
1474
1643
  begin
1475
- # Ownership and control positions
1476
- result = api_instance.legal_entities_ownership_positions(id, opts)
1644
+ # Organization relationships
1645
+ result = api_instance.legal_entities_org_relationships(id, opts)
1477
1646
  p result
1478
1647
  rescue PharmaObservatory::ApiError => e
1479
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions: #{e}"
1648
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships: #{e}"
1480
1649
  end
1481
1650
  ```
1482
1651
 
1483
- #### Using the legal_entities_ownership_positions_with_http_info variant
1652
+ #### Using the legal_entities_org_relationships_with_http_info variant
1484
1653
 
1485
1654
  This returns an Array which contains the response data, status code and headers.
1486
1655
 
1487
- > <Array(<OwnershipPositionsResponse>, Integer, Hash)> legal_entities_ownership_positions_with_http_info(id, opts)
1656
+ > <Array(<OrgRelationshipsResponse>, Integer, Hash)> legal_entities_org_relationships_with_http_info(id, opts)
1488
1657
 
1489
1658
  ```ruby
1490
1659
  begin
1491
- # Ownership and control positions
1492
- data, status_code, headers = api_instance.legal_entities_ownership_positions_with_http_info(id, opts)
1660
+ # Organization relationships
1661
+ data, status_code, headers = api_instance.legal_entities_org_relationships_with_http_info(id, opts)
1493
1662
  p status_code # => 2xx
1494
1663
  p headers # => { ... }
1495
- p data # => <OwnershipPositionsResponse>
1664
+ p data # => <OrgRelationshipsResponse>
1496
1665
  rescue PharmaObservatory::ApiError => e
1497
- puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions_with_http_info: #{e}"
1666
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_relationships_with_http_info: #{e}"
1498
1667
  end
1499
1668
  ```
1500
1669
 
@@ -1511,7 +1680,7 @@ end
1511
1680
 
1512
1681
  ### Return type
1513
1682
 
1514
- [**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
1683
+ [**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
1515
1684
 
1516
1685
  ### Authorization
1517
1686
 
@@ -1523,11 +1692,11 @@ end
1523
1692
  - **Accept**: application/json
1524
1693
 
1525
1694
 
1526
- ## legal_entities_pdufa_dates
1695
+ ## legal_entities_ownership_percentages
1527
1696
 
1528
- > <PdufaDatesResponse> legal_entities_pdufa_dates(id, opts)
1697
+ > <OwnershipPercentagesResponse> legal_entities_ownership_percentages(id, opts)
1529
1698
 
1530
- FDA decision dates (PDUFA) and catalysts
1699
+ Ownership percentages
1531
1700
 
1532
1701
  ### Examples
1533
1702
 
@@ -1551,19 +1720,256 @@ opts = {
1551
1720
  }
1552
1721
 
1553
1722
  begin
1554
- # FDA decision dates (PDUFA) and catalysts
1555
- result = api_instance.legal_entities_pdufa_dates(id, opts)
1723
+ # Ownership percentages
1724
+ result = api_instance.legal_entities_ownership_percentages(id, opts)
1556
1725
  p result
1557
1726
  rescue PharmaObservatory::ApiError => e
1558
- puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates: #{e}"
1727
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages: #{e}"
1559
1728
  end
1560
1729
  ```
1561
1730
 
1562
- #### Using the legal_entities_pdufa_dates_with_http_info variant
1731
+ #### Using the legal_entities_ownership_percentages_with_http_info variant
1563
1732
 
1564
1733
  This returns an Array which contains the response data, status code and headers.
1565
1734
 
1566
- > <Array(<PdufaDatesResponse>, Integer, Hash)> legal_entities_pdufa_dates_with_http_info(id, opts)
1735
+ > <Array(<OwnershipPercentagesResponse>, Integer, Hash)> legal_entities_ownership_percentages_with_http_info(id, opts)
1736
+
1737
+ ```ruby
1738
+ begin
1739
+ # Ownership percentages
1740
+ data, status_code, headers = api_instance.legal_entities_ownership_percentages_with_http_info(id, opts)
1741
+ p status_code # => 2xx
1742
+ p headers # => { ... }
1743
+ p data # => <OwnershipPercentagesResponse>
1744
+ rescue PharmaObservatory::ApiError => e
1745
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_percentages_with_http_info: #{e}"
1746
+ end
1747
+ ```
1748
+
1749
+ ### Parameters
1750
+
1751
+ | Name | Type | Description | Notes |
1752
+ | ---- | ---- | ----------- | ----- |
1753
+ | **id** | **String** | | |
1754
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1755
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1756
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1757
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1758
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1759
+
1760
+ ### Return type
1761
+
1762
+ [**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
1763
+
1764
+ ### Authorization
1765
+
1766
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1767
+
1768
+ ### HTTP request headers
1769
+
1770
+ - **Content-Type**: Not defined
1771
+ - **Accept**: application/json
1772
+
1773
+
1774
+ ## legal_entities_ownership_positions
1775
+
1776
+ > <OwnershipPositionsResponse> legal_entities_ownership_positions(id, opts)
1777
+
1778
+ Ownership and control positions
1779
+
1780
+ ### Examples
1781
+
1782
+ ```ruby
1783
+ require 'time'
1784
+ require 'pharmaobservatory'
1785
+ # setup authorization
1786
+ PharmaObservatory.configure do |config|
1787
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1788
+ config.access_token = 'YOUR_BEARER_TOKEN'
1789
+ end
1790
+
1791
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1792
+ id = 'edgar:0001114448' # String |
1793
+ opts = {
1794
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1795
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1796
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1797
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1798
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1799
+ }
1800
+
1801
+ begin
1802
+ # Ownership and control positions
1803
+ result = api_instance.legal_entities_ownership_positions(id, opts)
1804
+ p result
1805
+ rescue PharmaObservatory::ApiError => e
1806
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions: #{e}"
1807
+ end
1808
+ ```
1809
+
1810
+ #### Using the legal_entities_ownership_positions_with_http_info variant
1811
+
1812
+ This returns an Array which contains the response data, status code and headers.
1813
+
1814
+ > <Array(<OwnershipPositionsResponse>, Integer, Hash)> legal_entities_ownership_positions_with_http_info(id, opts)
1815
+
1816
+ ```ruby
1817
+ begin
1818
+ # Ownership and control positions
1819
+ data, status_code, headers = api_instance.legal_entities_ownership_positions_with_http_info(id, opts)
1820
+ p status_code # => 2xx
1821
+ p headers # => { ... }
1822
+ p data # => <OwnershipPositionsResponse>
1823
+ rescue PharmaObservatory::ApiError => e
1824
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_positions_with_http_info: #{e}"
1825
+ end
1826
+ ```
1827
+
1828
+ ### Parameters
1829
+
1830
+ | Name | Type | Description | Notes |
1831
+ | ---- | ---- | ----------- | ----- |
1832
+ | **id** | **String** | | |
1833
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1834
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1835
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1836
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1837
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1838
+
1839
+ ### Return type
1840
+
1841
+ [**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
1842
+
1843
+ ### Authorization
1844
+
1845
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1846
+
1847
+ ### HTTP request headers
1848
+
1849
+ - **Content-Type**: Not defined
1850
+ - **Accept**: application/json
1851
+
1852
+
1853
+ ## legal_entities_ownership_source_coverage
1854
+
1855
+ > <OwnershipSourceCoverageResponse> legal_entities_ownership_source_coverage(id, opts)
1856
+
1857
+ Ownership source coverage
1858
+
1859
+ ### Examples
1860
+
1861
+ ```ruby
1862
+ require 'time'
1863
+ require 'pharmaobservatory'
1864
+ # setup authorization
1865
+ PharmaObservatory.configure do |config|
1866
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1867
+ config.access_token = 'YOUR_BEARER_TOKEN'
1868
+ end
1869
+
1870
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1871
+ id = 'edgar:0001114448' # String |
1872
+ opts = {
1873
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1874
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1875
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1876
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1877
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1878
+ }
1879
+
1880
+ begin
1881
+ # Ownership source coverage
1882
+ result = api_instance.legal_entities_ownership_source_coverage(id, opts)
1883
+ p result
1884
+ rescue PharmaObservatory::ApiError => e
1885
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_source_coverage: #{e}"
1886
+ end
1887
+ ```
1888
+
1889
+ #### Using the legal_entities_ownership_source_coverage_with_http_info variant
1890
+
1891
+ This returns an Array which contains the response data, status code and headers.
1892
+
1893
+ > <Array(<OwnershipSourceCoverageResponse>, Integer, Hash)> legal_entities_ownership_source_coverage_with_http_info(id, opts)
1894
+
1895
+ ```ruby
1896
+ begin
1897
+ # Ownership source coverage
1898
+ data, status_code, headers = api_instance.legal_entities_ownership_source_coverage_with_http_info(id, opts)
1899
+ p status_code # => 2xx
1900
+ p headers # => { ... }
1901
+ p data # => <OwnershipSourceCoverageResponse>
1902
+ rescue PharmaObservatory::ApiError => e
1903
+ puts "Error when calling LegalEntitiesApi->legal_entities_ownership_source_coverage_with_http_info: #{e}"
1904
+ end
1905
+ ```
1906
+
1907
+ ### Parameters
1908
+
1909
+ | Name | Type | Description | Notes |
1910
+ | ---- | ---- | ----------- | ----- |
1911
+ | **id** | **String** | | |
1912
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1913
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1914
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1915
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1916
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1917
+
1918
+ ### Return type
1919
+
1920
+ [**OwnershipSourceCoverageResponse**](OwnershipSourceCoverageResponse.md)
1921
+
1922
+ ### Authorization
1923
+
1924
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1925
+
1926
+ ### HTTP request headers
1927
+
1928
+ - **Content-Type**: Not defined
1929
+ - **Accept**: application/json
1930
+
1931
+
1932
+ ## legal_entities_pdufa_dates
1933
+
1934
+ > <PdufaDatesResponse> legal_entities_pdufa_dates(id, opts)
1935
+
1936
+ FDA decision dates (PDUFA) and catalysts
1937
+
1938
+ ### Examples
1939
+
1940
+ ```ruby
1941
+ require 'time'
1942
+ require 'pharmaobservatory'
1943
+ # setup authorization
1944
+ PharmaObservatory.configure do |config|
1945
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1946
+ config.access_token = 'YOUR_BEARER_TOKEN'
1947
+ end
1948
+
1949
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1950
+ id = 'edgar:0001114448' # String |
1951
+ opts = {
1952
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1953
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1954
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1955
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1956
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1957
+ }
1958
+
1959
+ begin
1960
+ # FDA decision dates (PDUFA) and catalysts
1961
+ result = api_instance.legal_entities_pdufa_dates(id, opts)
1962
+ p result
1963
+ rescue PharmaObservatory::ApiError => e
1964
+ puts "Error when calling LegalEntitiesApi->legal_entities_pdufa_dates: #{e}"
1965
+ end
1966
+ ```
1967
+
1968
+ #### Using the legal_entities_pdufa_dates_with_http_info variant
1969
+
1970
+ This returns an Array which contains the response data, status code and headers.
1971
+
1972
+ > <Array(<PdufaDatesResponse>, Integer, Hash)> legal_entities_pdufa_dates_with_http_info(id, opts)
1567
1973
 
1568
1974
  ```ruby
1569
1975
  begin
@@ -1760,11 +2166,11 @@ end
1760
2166
  - **Accept**: application/json
1761
2167
 
1762
2168
 
1763
- ## legal_entities_sponsor_recruitment_by_phase
2169
+ ## legal_entities_sbti_crosscheck
1764
2170
 
1765
- > <SponsorRecruitmentByPhaseResponse> legal_entities_sponsor_recruitment_by_phase(id, opts)
2171
+ > <SbtiCrosscheckResponse> legal_entities_sbti_crosscheck(id, opts)
1766
2172
 
1767
- Trial recruitment duration by sponsor and phase
2173
+ SBTi cross-check
1768
2174
 
1769
2175
  ### Examples
1770
2176
 
@@ -1788,29 +2194,29 @@ opts = {
1788
2194
  }
1789
2195
 
1790
2196
  begin
1791
- # Trial recruitment duration by sponsor and phase
1792
- result = api_instance.legal_entities_sponsor_recruitment_by_phase(id, opts)
2197
+ # SBTi cross-check
2198
+ result = api_instance.legal_entities_sbti_crosscheck(id, opts)
1793
2199
  p result
1794
2200
  rescue PharmaObservatory::ApiError => e
1795
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase: #{e}"
2201
+ puts "Error when calling LegalEntitiesApi->legal_entities_sbti_crosscheck: #{e}"
1796
2202
  end
1797
2203
  ```
1798
2204
 
1799
- #### Using the legal_entities_sponsor_recruitment_by_phase_with_http_info variant
2205
+ #### Using the legal_entities_sbti_crosscheck_with_http_info variant
1800
2206
 
1801
2207
  This returns an Array which contains the response data, status code and headers.
1802
2208
 
1803
- > <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
2209
+ > <Array(<SbtiCrosscheckResponse>, Integer, Hash)> legal_entities_sbti_crosscheck_with_http_info(id, opts)
1804
2210
 
1805
2211
  ```ruby
1806
2212
  begin
1807
- # Trial recruitment duration by sponsor and phase
1808
- data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
2213
+ # SBTi cross-check
2214
+ data, status_code, headers = api_instance.legal_entities_sbti_crosscheck_with_http_info(id, opts)
1809
2215
  p status_code # => 2xx
1810
2216
  p headers # => { ... }
1811
- p data # => <SponsorRecruitmentByPhaseResponse>
2217
+ p data # => <SbtiCrosscheckResponse>
1812
2218
  rescue PharmaObservatory::ApiError => e
1813
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase_with_http_info: #{e}"
2219
+ puts "Error when calling LegalEntitiesApi->legal_entities_sbti_crosscheck_with_http_info: #{e}"
1814
2220
  end
1815
2221
  ```
1816
2222
 
@@ -1827,7 +2233,7 @@ end
1827
2233
 
1828
2234
  ### Return type
1829
2235
 
1830
- [**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
2236
+ [**SbtiCrosscheckResponse**](SbtiCrosscheckResponse.md)
1831
2237
 
1832
2238
  ### Authorization
1833
2239
 
@@ -1839,11 +2245,11 @@ end
1839
2245
  - **Accept**: application/json
1840
2246
 
1841
2247
 
1842
- ## legal_entities_sponsor_recruitment_duration
2248
+ ## legal_entities_sec_pdufa_dates
1843
2249
 
1844
- > <SponsorRecruitmentDurationResponse> legal_entities_sponsor_recruitment_duration(id, opts)
2250
+ > <SecPdufaDatesResponse> legal_entities_sec_pdufa_dates(id, opts)
1845
2251
 
1846
- Trial recruitment duration by sponsor
2252
+ FDA dates disclosed in SEC filings
1847
2253
 
1848
2254
  ### Examples
1849
2255
 
@@ -1867,29 +2273,29 @@ opts = {
1867
2273
  }
1868
2274
 
1869
2275
  begin
1870
- # Trial recruitment duration by sponsor
1871
- result = api_instance.legal_entities_sponsor_recruitment_duration(id, opts)
2276
+ # FDA dates disclosed in SEC filings
2277
+ result = api_instance.legal_entities_sec_pdufa_dates(id, opts)
1872
2278
  p result
1873
2279
  rescue PharmaObservatory::ApiError => e
1874
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration: #{e}"
2280
+ puts "Error when calling LegalEntitiesApi->legal_entities_sec_pdufa_dates: #{e}"
1875
2281
  end
1876
2282
  ```
1877
2283
 
1878
- #### Using the legal_entities_sponsor_recruitment_duration_with_http_info variant
2284
+ #### Using the legal_entities_sec_pdufa_dates_with_http_info variant
1879
2285
 
1880
2286
  This returns an Array which contains the response data, status code and headers.
1881
2287
 
1882
- > <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
2288
+ > <Array(<SecPdufaDatesResponse>, Integer, Hash)> legal_entities_sec_pdufa_dates_with_http_info(id, opts)
1883
2289
 
1884
2290
  ```ruby
1885
2291
  begin
1886
- # Trial recruitment duration by sponsor
1887
- data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
2292
+ # FDA dates disclosed in SEC filings
2293
+ data, status_code, headers = api_instance.legal_entities_sec_pdufa_dates_with_http_info(id, opts)
1888
2294
  p status_code # => 2xx
1889
2295
  p headers # => { ... }
1890
- p data # => <SponsorRecruitmentDurationResponse>
2296
+ p data # => <SecPdufaDatesResponse>
1891
2297
  rescue PharmaObservatory::ApiError => e
1892
- puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration_with_http_info: #{e}"
2298
+ puts "Error when calling LegalEntitiesApi->legal_entities_sec_pdufa_dates_with_http_info: #{e}"
1893
2299
  end
1894
2300
  ```
1895
2301
 
@@ -1906,7 +2312,481 @@ end
1906
2312
 
1907
2313
  ### Return type
1908
2314
 
1909
- [**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
2315
+ [**SecPdufaDatesResponse**](SecPdufaDatesResponse.md)
2316
+
2317
+ ### Authorization
2318
+
2319
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2320
+
2321
+ ### HTTP request headers
2322
+
2323
+ - **Content-Type**: Not defined
2324
+ - **Accept**: application/json
2325
+
2326
+
2327
+ ## legal_entities_sponsor_delivery
2328
+
2329
+ > <SponsorDeliveryResponse> legal_entities_sponsor_delivery(id, opts)
2330
+
2331
+ Sponsor delivery reliability
2332
+
2333
+ ### Examples
2334
+
2335
+ ```ruby
2336
+ require 'time'
2337
+ require 'pharmaobservatory'
2338
+ # setup authorization
2339
+ PharmaObservatory.configure do |config|
2340
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2341
+ config.access_token = 'YOUR_BEARER_TOKEN'
2342
+ end
2343
+
2344
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2345
+ id = 'edgar:0001114448' # String |
2346
+ opts = {
2347
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2348
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2349
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2350
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2351
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2352
+ }
2353
+
2354
+ begin
2355
+ # Sponsor delivery reliability
2356
+ result = api_instance.legal_entities_sponsor_delivery(id, opts)
2357
+ p result
2358
+ rescue PharmaObservatory::ApiError => e
2359
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_delivery: #{e}"
2360
+ end
2361
+ ```
2362
+
2363
+ #### Using the legal_entities_sponsor_delivery_with_http_info variant
2364
+
2365
+ This returns an Array which contains the response data, status code and headers.
2366
+
2367
+ > <Array(<SponsorDeliveryResponse>, Integer, Hash)> legal_entities_sponsor_delivery_with_http_info(id, opts)
2368
+
2369
+ ```ruby
2370
+ begin
2371
+ # Sponsor delivery reliability
2372
+ data, status_code, headers = api_instance.legal_entities_sponsor_delivery_with_http_info(id, opts)
2373
+ p status_code # => 2xx
2374
+ p headers # => { ... }
2375
+ p data # => <SponsorDeliveryResponse>
2376
+ rescue PharmaObservatory::ApiError => e
2377
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_delivery_with_http_info: #{e}"
2378
+ end
2379
+ ```
2380
+
2381
+ ### Parameters
2382
+
2383
+ | Name | Type | Description | Notes |
2384
+ | ---- | ---- | ----------- | ----- |
2385
+ | **id** | **String** | | |
2386
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2387
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2388
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2389
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2390
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2391
+
2392
+ ### Return type
2393
+
2394
+ [**SponsorDeliveryResponse**](SponsorDeliveryResponse.md)
2395
+
2396
+ ### Authorization
2397
+
2398
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2399
+
2400
+ ### HTTP request headers
2401
+
2402
+ - **Content-Type**: Not defined
2403
+ - **Accept**: application/json
2404
+
2405
+
2406
+ ## legal_entities_sponsor_patent_mentions
2407
+
2408
+ > <SponsorPatentMentionsResponse> legal_entities_sponsor_patent_mentions(id, opts)
2409
+
2410
+ Sponsor patent mentions
2411
+
2412
+ ### Examples
2413
+
2414
+ ```ruby
2415
+ require 'time'
2416
+ require 'pharmaobservatory'
2417
+ # setup authorization
2418
+ PharmaObservatory.configure do |config|
2419
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2420
+ config.access_token = 'YOUR_BEARER_TOKEN'
2421
+ end
2422
+
2423
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2424
+ id = 'edgar:0001114448' # String |
2425
+ opts = {
2426
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2427
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2428
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2429
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2430
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2431
+ }
2432
+
2433
+ begin
2434
+ # Sponsor patent mentions
2435
+ result = api_instance.legal_entities_sponsor_patent_mentions(id, opts)
2436
+ p result
2437
+ rescue PharmaObservatory::ApiError => e
2438
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_patent_mentions: #{e}"
2439
+ end
2440
+ ```
2441
+
2442
+ #### Using the legal_entities_sponsor_patent_mentions_with_http_info variant
2443
+
2444
+ This returns an Array which contains the response data, status code and headers.
2445
+
2446
+ > <Array(<SponsorPatentMentionsResponse>, Integer, Hash)> legal_entities_sponsor_patent_mentions_with_http_info(id, opts)
2447
+
2448
+ ```ruby
2449
+ begin
2450
+ # Sponsor patent mentions
2451
+ data, status_code, headers = api_instance.legal_entities_sponsor_patent_mentions_with_http_info(id, opts)
2452
+ p status_code # => 2xx
2453
+ p headers # => { ... }
2454
+ p data # => <SponsorPatentMentionsResponse>
2455
+ rescue PharmaObservatory::ApiError => e
2456
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_patent_mentions_with_http_info: #{e}"
2457
+ end
2458
+ ```
2459
+
2460
+ ### Parameters
2461
+
2462
+ | Name | Type | Description | Notes |
2463
+ | ---- | ---- | ----------- | ----- |
2464
+ | **id** | **String** | | |
2465
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2466
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2467
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2468
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2469
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2470
+
2471
+ ### Return type
2472
+
2473
+ [**SponsorPatentMentionsResponse**](SponsorPatentMentionsResponse.md)
2474
+
2475
+ ### Authorization
2476
+
2477
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2478
+
2479
+ ### HTTP request headers
2480
+
2481
+ - **Content-Type**: Not defined
2482
+ - **Accept**: application/json
2483
+
2484
+
2485
+ ## legal_entities_sponsor_recruitment_by_phase
2486
+
2487
+ > <SponsorRecruitmentByPhaseResponse> legal_entities_sponsor_recruitment_by_phase(id, opts)
2488
+
2489
+ Trial recruitment duration by sponsor and phase
2490
+
2491
+ ### Examples
2492
+
2493
+ ```ruby
2494
+ require 'time'
2495
+ require 'pharmaobservatory'
2496
+ # setup authorization
2497
+ PharmaObservatory.configure do |config|
2498
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2499
+ config.access_token = 'YOUR_BEARER_TOKEN'
2500
+ end
2501
+
2502
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2503
+ id = 'edgar:0001114448' # String |
2504
+ opts = {
2505
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2506
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2507
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2508
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2509
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2510
+ }
2511
+
2512
+ begin
2513
+ # Trial recruitment duration by sponsor and phase
2514
+ result = api_instance.legal_entities_sponsor_recruitment_by_phase(id, opts)
2515
+ p result
2516
+ rescue PharmaObservatory::ApiError => e
2517
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase: #{e}"
2518
+ end
2519
+ ```
2520
+
2521
+ #### Using the legal_entities_sponsor_recruitment_by_phase_with_http_info variant
2522
+
2523
+ This returns an Array which contains the response data, status code and headers.
2524
+
2525
+ > <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
2526
+
2527
+ ```ruby
2528
+ begin
2529
+ # Trial recruitment duration by sponsor and phase
2530
+ data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_by_phase_with_http_info(id, opts)
2531
+ p status_code # => 2xx
2532
+ p headers # => { ... }
2533
+ p data # => <SponsorRecruitmentByPhaseResponse>
2534
+ rescue PharmaObservatory::ApiError => e
2535
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_by_phase_with_http_info: #{e}"
2536
+ end
2537
+ ```
2538
+
2539
+ ### Parameters
2540
+
2541
+ | Name | Type | Description | Notes |
2542
+ | ---- | ---- | ----------- | ----- |
2543
+ | **id** | **String** | | |
2544
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2545
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2546
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2547
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2548
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2549
+
2550
+ ### Return type
2551
+
2552
+ [**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
2553
+
2554
+ ### Authorization
2555
+
2556
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2557
+
2558
+ ### HTTP request headers
2559
+
2560
+ - **Content-Type**: Not defined
2561
+ - **Accept**: application/json
2562
+
2563
+
2564
+ ## legal_entities_sponsor_recruitment_duration
2565
+
2566
+ > <SponsorRecruitmentDurationResponse> legal_entities_sponsor_recruitment_duration(id, opts)
2567
+
2568
+ Trial recruitment duration by sponsor
2569
+
2570
+ ### Examples
2571
+
2572
+ ```ruby
2573
+ require 'time'
2574
+ require 'pharmaobservatory'
2575
+ # setup authorization
2576
+ PharmaObservatory.configure do |config|
2577
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2578
+ config.access_token = 'YOUR_BEARER_TOKEN'
2579
+ end
2580
+
2581
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2582
+ id = 'edgar:0001114448' # String |
2583
+ opts = {
2584
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2585
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2586
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2587
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2588
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2589
+ }
2590
+
2591
+ begin
2592
+ # Trial recruitment duration by sponsor
2593
+ result = api_instance.legal_entities_sponsor_recruitment_duration(id, opts)
2594
+ p result
2595
+ rescue PharmaObservatory::ApiError => e
2596
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration: #{e}"
2597
+ end
2598
+ ```
2599
+
2600
+ #### Using the legal_entities_sponsor_recruitment_duration_with_http_info variant
2601
+
2602
+ This returns an Array which contains the response data, status code and headers.
2603
+
2604
+ > <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
2605
+
2606
+ ```ruby
2607
+ begin
2608
+ # Trial recruitment duration by sponsor
2609
+ data, status_code, headers = api_instance.legal_entities_sponsor_recruitment_duration_with_http_info(id, opts)
2610
+ p status_code # => 2xx
2611
+ p headers # => { ... }
2612
+ p data # => <SponsorRecruitmentDurationResponse>
2613
+ rescue PharmaObservatory::ApiError => e
2614
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_recruitment_duration_with_http_info: #{e}"
2615
+ end
2616
+ ```
2617
+
2618
+ ### Parameters
2619
+
2620
+ | Name | Type | Description | Notes |
2621
+ | ---- | ---- | ----------- | ----- |
2622
+ | **id** | **String** | | |
2623
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2624
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2625
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2626
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2627
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2628
+
2629
+ ### Return type
2630
+
2631
+ [**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
2632
+
2633
+ ### Authorization
2634
+
2635
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2636
+
2637
+ ### HTTP request headers
2638
+
2639
+ - **Content-Type**: Not defined
2640
+ - **Accept**: application/json
2641
+
2642
+
2643
+ ## legal_entities_sponsor_trial_conditions
2644
+
2645
+ > <SponsorTrialConditionsResponse> legal_entities_sponsor_trial_conditions(id, opts)
2646
+
2647
+ Sponsor trial conditions
2648
+
2649
+ ### Examples
2650
+
2651
+ ```ruby
2652
+ require 'time'
2653
+ require 'pharmaobservatory'
2654
+ # setup authorization
2655
+ PharmaObservatory.configure do |config|
2656
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2657
+ config.access_token = 'YOUR_BEARER_TOKEN'
2658
+ end
2659
+
2660
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2661
+ id = 'edgar:0001114448' # String |
2662
+ opts = {
2663
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2664
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2665
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2666
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2667
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2668
+ }
2669
+
2670
+ begin
2671
+ # Sponsor trial conditions
2672
+ result = api_instance.legal_entities_sponsor_trial_conditions(id, opts)
2673
+ p result
2674
+ rescue PharmaObservatory::ApiError => e
2675
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_conditions: #{e}"
2676
+ end
2677
+ ```
2678
+
2679
+ #### Using the legal_entities_sponsor_trial_conditions_with_http_info variant
2680
+
2681
+ This returns an Array which contains the response data, status code and headers.
2682
+
2683
+ > <Array(<SponsorTrialConditionsResponse>, Integer, Hash)> legal_entities_sponsor_trial_conditions_with_http_info(id, opts)
2684
+
2685
+ ```ruby
2686
+ begin
2687
+ # Sponsor trial conditions
2688
+ data, status_code, headers = api_instance.legal_entities_sponsor_trial_conditions_with_http_info(id, opts)
2689
+ p status_code # => 2xx
2690
+ p headers # => { ... }
2691
+ p data # => <SponsorTrialConditionsResponse>
2692
+ rescue PharmaObservatory::ApiError => e
2693
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_conditions_with_http_info: #{e}"
2694
+ end
2695
+ ```
2696
+
2697
+ ### Parameters
2698
+
2699
+ | Name | Type | Description | Notes |
2700
+ | ---- | ---- | ----------- | ----- |
2701
+ | **id** | **String** | | |
2702
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2703
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2704
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2705
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2706
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2707
+
2708
+ ### Return type
2709
+
2710
+ [**SponsorTrialConditionsResponse**](SponsorTrialConditionsResponse.md)
2711
+
2712
+ ### Authorization
2713
+
2714
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2715
+
2716
+ ### HTTP request headers
2717
+
2718
+ - **Content-Type**: Not defined
2719
+ - **Accept**: application/json
2720
+
2721
+
2722
+ ## legal_entities_sponsor_trial_drugs
2723
+
2724
+ > <SponsorTrialDrugsResponse> legal_entities_sponsor_trial_drugs(id, opts)
2725
+
2726
+ Sponsor trial drugs
2727
+
2728
+ ### Examples
2729
+
2730
+ ```ruby
2731
+ require 'time'
2732
+ require 'pharmaobservatory'
2733
+ # setup authorization
2734
+ PharmaObservatory.configure do |config|
2735
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2736
+ config.access_token = 'YOUR_BEARER_TOKEN'
2737
+ end
2738
+
2739
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2740
+ id = 'edgar:0001114448' # String |
2741
+ opts = {
2742
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
2743
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2744
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2745
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2746
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2747
+ }
2748
+
2749
+ begin
2750
+ # Sponsor trial drugs
2751
+ result = api_instance.legal_entities_sponsor_trial_drugs(id, opts)
2752
+ p result
2753
+ rescue PharmaObservatory::ApiError => e
2754
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_drugs: #{e}"
2755
+ end
2756
+ ```
2757
+
2758
+ #### Using the legal_entities_sponsor_trial_drugs_with_http_info variant
2759
+
2760
+ This returns an Array which contains the response data, status code and headers.
2761
+
2762
+ > <Array(<SponsorTrialDrugsResponse>, Integer, Hash)> legal_entities_sponsor_trial_drugs_with_http_info(id, opts)
2763
+
2764
+ ```ruby
2765
+ begin
2766
+ # Sponsor trial drugs
2767
+ data, status_code, headers = api_instance.legal_entities_sponsor_trial_drugs_with_http_info(id, opts)
2768
+ p status_code # => 2xx
2769
+ p headers # => { ... }
2770
+ p data # => <SponsorTrialDrugsResponse>
2771
+ rescue PharmaObservatory::ApiError => e
2772
+ puts "Error when calling LegalEntitiesApi->legal_entities_sponsor_trial_drugs_with_http_info: #{e}"
2773
+ end
2774
+ ```
2775
+
2776
+ ### Parameters
2777
+
2778
+ | Name | Type | Description | Notes |
2779
+ | ---- | ---- | ----------- | ----- |
2780
+ | **id** | **String** | | |
2781
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2782
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2783
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2784
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2785
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2786
+
2787
+ ### Return type
2788
+
2789
+ [**SponsorTrialDrugsResponse**](SponsorTrialDrugsResponse.md)
1910
2790
 
1911
2791
  ### Authorization
1912
2792